+
    <j                         R t ^ RIt^ RIt^ RIt^ RIHt ^ RIHtHtH	t	H
t
 ^ RIHt ^ RIHtHt ^ RIHt R R ltR	 R
 ltR R ltR# )zALogic that powers autocompletion installed by ``pip completion``.N)chain)AnyIterableListOptional)create_main_parser)commands_dictcreate_command)get_default_environmentc                    V ^8  d   QhRR/# )   returnN )formats   "U/opt/headortail/venv/lib/python3.14/site-packages/pip/_internal/cli/autocompletion.py__annotate__r      s     j jd j    c            
     
   R\         P                  9  d   R# \         P                  P                  R4      '       d&   \         P                  P                  R4      '       g   R# \         P                  R,          P                  4       R,          p \	        \         P                  R,          4      p W^,
          ,          p\        4       p\        \        4      p. pRpV  F  pWt9   g   K  Tp M	  VEe   VR8X  d   \        P                  ! ^4       VP                  R4      '       * ;'       d    VR9   pV'       d   \        4       p	VP                  4       p
V	P                  R	R
7       Uu. uFL  pVP                  P                  V
4      '       g   K&  VP                  V R,          9  g   K@  VP                  NKN  	  ppV'       d+   V F  p\!        V4       K  	  \        P                  ! ^4       VP                  R4      '       * ;'       d    VR8H  pV'       d5   \#        VR4       F  p\!        V4       K  	  \        P                  ! ^4       \%        V4      pVP&                  P(                   Fd  pVP*                  \,        P.                  8w  g   K$  TVP0                  VP2                  ,            Uu. uF  pVVP4                  3NK  	  up,          pKf  	  V ^V^,
            Uu. uF  pVP                  R4      ^ ,          NK  	  ppV UUu. uF  w  ppVV9  g   K  VV3NK  	  pppV UUu. uF#  w  ppVP                  V4      '       g   K  VV3NK%  	  ppp\7        V VVP&                  P(                  4      pV'       d   \#        VV4      pV Uu. uF  q^ 3NK  	  ppV FD  pV^ ,          pV^,          '       d   V^ ,          R,          R8X  d
   VR,          p\!        V4       KF  	  EM(VP8                   Uu. uF  pVP:                  NK  	  ppVP=                  VP:                  4       \>        P@                  ! V4      pVP                  R4      '       dP   V FH  pVP*                  \,        P.                  8w  g   K$  VVP0                  VP2                  ,           ,          pKJ  	  M)\7        WV4      pV'       d   \        \#        VV4      4      p\!        RPC                  V Uu. uF  pVP                  V4      '       g   K  VNK   	  up4      4       \        P                  ! ^4       R#   \
         d    Rp ELi ; iu upi u upi u upi u uppi u uppi u upi u upi u upi )z:Entry Point for completion of main and subcommand options.PIP_AUTO_COMPLETEN
COMP_WORDS
COMP_CWORD:   NN help-T)
local_onlyinstallpath=:Nr   Nz-- )show	uninstall)"osenvirongetsplitint
IndexErrorr   listr   sysexit
startswithr
   loweriter_installed_distributionscanonical_nameprintauto_complete_pathsr	   parseroption_list_allr   optparseSUPPRESS_HELP
_long_opts_short_optsnargsget_path_completion_typeoption_groupsoption_listappendr   from_iterablejoin)cwordscwordcurrentr1   subcommandsoptionssubcommand_namewordshould_list_installedenvlcdist	installedshould_list_installablesr   
subcommandoptopt_strx	prev_optsvkcompletion_typepathsoption	opt_labelioptsflattened_optss                                r   autocompleterY      sr    "**, ::>>,''rzz~~l/K/KZZ%++-b1F

<()E#  !F}%KG &*O"O 
 "f$HHQK$+$6$6s$; ; !
 !
 T
 A
 !)+CB  <<<MMD&&11"5 $ ''vbz9 $##M   %D$K & ""3''HHOy,H 	! $+GV<d =HHQK#O4
$$44Cxx81118;8X8XWWcii(8X  5 /5Q.CD.CQWWS\!__.C	D(/Ffq!1I3E6Aq6F&-Ggdag1F6Aq6gG2--
 'AE-23UTayUG3Fq	IayyVAYr]d2S 	)  (.';';<';!';<F&&',,T2c""%88x5553>>COO#CCK &
 7vnUO"#6w#PQchh;H;a!,,w2G;HIJHHQK{  40
 EFG 4 = Is`   1T/ +#UU-U5U'!UU U0UUU=U#(U(U(/U ?U c          	          V ^8  d   QhR\         \        ,          R\        R\        \        ,          R\
        \        ,          /# )r   r>   r?   rW   r   )r   strr&   r   r   r   )r   s   "r   r   r   {   s8      I!)1#c]r   c                n   V^8  g%   W^,
          ,          P                  R4      '       g   R# V EF   pVP                  \        P                  8X  d   K%  \	        V4      P                  R4       F  pW^,
          ,          P                  R4      ^ ,          V8X  g   K/  VP                  '       do   \        ;QJ d5    R VP                  P                  R4       4       F  '       g   K   RM*	  RM&! R VP                  P                  R4       4       4      '       g   K  VP                  u u # 	  EK  	  R# )a8  Get the type of path completion (``file``, ``dir``, ``path`` or None)

:param cwords: same as the environmental variable ``COMP_WORDS``
:param cword: same as the environmental variable ``COMP_CWORD``
:param opts: The available options to check
:return: path completion type (``file``, ``dir``, ``path`` or None)
r   N/r   c              3   *   "   T F	  qR9   x  K  	  R# 5i)r   N)r   filedirr   ).0rN   s   & r   	<genexpr>+get_path_completion_type.<locals>.<genexpr>   s      *:PQ00:Ps   TF)r+   r   r3   r4   r[   r%   metavarany)r>   r?   rW   rL   os   &&&  r   r8   r8   {   s     qyqy)44S9988x---S$Aai &&s+A.!3{{{cc *:=++:K:KC:P*ccc *:=++:K:KC:P* ' ' ;;& %  r   c                R    V ^8  d   QhR\         R\         R\        \         ,          /# )r   r@   rR   r   )r[   r   )r   s   "r   r   r      s%     . . .s .x} .r   c              #  (  a"   \         P                  P                  V 4      w  po\         P                  P                  V4      p\         P                  ! V\         P
                  4      '       g   R# \         P                  P                  S4      oV3R l\         P                  ! V4       4       pV F  p\         P                  P                  W54      p\         P                  P                  \         P                  P                  W%4      4      pVR8w  d,   \         P                  P                  V4      '       d   Vx  K  \         P                  P                  V4      '       g   K  \         P                  P                  VR4      x  K  	  R# 5i)a\  If ``completion_type`` is ``file`` or ``path``, list all regular files
and directories starting with ``current``; otherwise only list directories
starting with ``current``.

:param current: The word to be completed
:param completion_type: path completion type(``file``, ``path`` or ``dir``)
:return: A generator of regular files and/or directories
Nc              3      <"   T F=  p\         P                  P                  V4      P                  S4      '       g   K9  Vx  K?  	  R # 5i)N)r"   r   normcaser+   )ra   rN   filenames   & r   rb   &auto_complete_paths.<locals>.<genexpr>   s3      +arww/?/?/B/M/Mh/W+s
   6A
Ar`   r   )r"   r   r%   abspathaccessR_OKrj   listdirr=   isfileisdir)	r@   rR   	directorycurrent_path	file_listfrL   	comp_filerk   s	   &&      @r   r0   r0      s      ''--0Ix77??9-L99\277++ww)H::l+I ggll<+GG$$RWW\\)%?@	 e#s(;(;OWW]]3'',,y"-- s   D9F=(F*(F)__doc__r3   r"   r)   	itertoolsr   typingr   r   r   r   pip._internal.cli.main_parserr   pip._internal.commandsr   r	   pip._internal.metadatar
   rY   r8   r0   r   r   r   <module>r~      s4    G  	 
  0 0 < @ :jZ0.r   