Ë
    ��hÊ  ã                   óx   — d dl Z d dlZd dlmZ d dlmZ d dlmZ d dlm	Z	 d dl
mZ dZdd	d
ddœZ G d„ de«      Zy)é    N)ÚValues)ÚList)ÚCommand)ÚSUCCESS)Úget_progzD
# pip {shell} completion start{script}# pip {shell} completion end
a  
        _pip_completion()
        {{
            COMPREPLY=( $( COMP_WORDS="${{COMP_WORDS[*]}}" \
                           COMP_CWORD=$COMP_CWORD \
                           PIP_AUTO_COMPLETE=1 $1 2>/dev/null ) )
        }}
        complete -o default -F _pip_completion {prog}
    aë  
        #compdef -P pip[0-9.]#
        __pip() {{
          compadd $( COMP_WORDS="$words[*]" \
                     COMP_CWORD=$((CURRENT-1)) \
                     PIP_AUTO_COMPLETE=1 $words[1] 2>/dev/null )
        }}
        if [[ $zsh_eval_context[-1] == loadautofunc ]]; then
          # autoload from fpath, call function directly
          __pip "$@"
        else
          # eval/source/. command, register function for later
          compdef __pip -P 'pip[0-9.]#'
        fi
    a€  
        function __fish_complete_pip
            set -lx COMP_WORDS \
                (commandline --current-process --tokenize --cut-at-cursor) \
                (commandline --current-token --cut-at-cursor)
            set -lx COMP_CWORD (math (count $COMP_WORDS) - 1)
            set -lx PIP_AUTO_COMPLETE 1
            set -l completions
            if string match -q '2.*' $version
                set completions (eval $COMP_WORDS[1])
            else
                set completions ($COMP_WORDS[1])
            end
            string split \  -- $completions
        end
        complete -fa "(__fish_complete_pip)" -c {prog}
    a‡  
        if ((Test-Path Function:\TabExpansion) -and -not `
            (Test-Path Function:\_pip_completeBackup)) {{
            Rename-Item Function:\TabExpansion _pip_completeBackup
        }}
        function TabExpansion($line, $lastWord) {{
            $lastBlock = [regex]::Split($line, '[|;]')[-1].TrimStart()
            if ($lastBlock.StartsWith("{prog} ")) {{
                $Env:COMP_WORDS=$lastBlock
                $Env:COMP_CWORD=$lastBlock.Split().Length - 1
                $Env:PIP_AUTO_COMPLETE=1
                (& {prog}).Split()
                Remove-Item Env:COMP_WORDS
                Remove-Item Env:COMP_CWORD
                Remove-Item Env:PIP_AUTO_COMPLETE
            }}
            elseif (Test-Path Function:\_pip_completeBackup) {{
                # Fall back on existing tab expansion
                _pip_completeBackup $line $lastWord
            }}
        }}
    )ÚbashÚzshÚfishÚ
powershellc                   ó6   — e Zd ZdZdZd	d„Zdedee   de	fd„Z
y)
ÚCompletionCommandz3A helper command to be used for command completion.TÚreturnNc                 óX  — | j                   j                  dddddd¬«       | j                   j                  dd	dd
dd¬«       | j                   j                  dddddd¬«       | j                   j                  dddddd¬«       | j                  j                  d| j                   «       y )Nz--bashz-bÚstore_constr   ÚshellzEmit completion code for bash)ÚactionÚconstÚdestÚhelpz--zshz-zr	   zEmit completion code for zshz--fishz-fr
   zEmit completion code for fishz--powershellz-pr   z#Emit completion code for powershellr   )Úcmd_optsÚ
add_optionÚparserÚinsert_option_group)Úselfs    ú_/var/www/skyplay_api_hub/venv/lib/python3.12/site-packages/pip/_internal/commands/completion.pyÚadd_optionszCompletionCommand.add_optionsV   sÆ   € Ø�‰× Ñ ØØØ ØØØ0ð 	!ô 	
ð 	�‰× Ñ ØØØ ØØØ/ð 	!ô 	
ð 	�‰× Ñ ØØØ ØØØ0ð 	!ô 	
ð 	�‰× Ñ ØØØ ØØØ6ð 	!ô 	
ð 	�‰×'Ñ'¨¨4¯=©=Õ9ó    ÚoptionsÚargsc                 ó  — t         j                  «       }t        |«      D �cg c]  }d|z   ‘Œ	 }}|j                  |v r{t	        j
                  t         j                  |j                  d«      j                  t        «       ¬«      «      }t        t        j                  ||j                  ¬«      «       t        S t        j                  j                  dj                  dj                  |«      «      «       t        S c c}w )z-Prints the completion code of the given shellz--Ú )Úprog)Úscriptr   zERROR: You must pass {}
z or )ÚCOMPLETION_SCRIPTSÚkeysÚsortedr   ÚtextwrapÚdedentÚgetÚformatr   ÚprintÚBASE_COMPLETIONr   ÚsysÚstderrÚwriteÚjoin)r   r   r   Úshellsr   Úshell_optionsr#   s          r   ÚrunzCompletionCommand.runz   sÂ   € ä#×(Ñ(Ó*ˆÜ39¸&³>ÖB¨%˜ ›ÐBˆÐBØ�=‰=˜FÑ"Ü—_‘_Ü"×&Ñ& w§}¡}°bÓ9×@Ñ@ÄhÃjÐ@ÓQóˆFô ”/×(Ñ(°¸g¿m¹mÐ(ÓLÔMÜˆNä�J‰J×ÑØ+×2Ñ2°6·;±;¸}Ó3MÓNôô ˆNùò Cs   ¢C<)r   N)Ú__name__Ú
__module__Ú__qualname__Ú__doc__Úignore_require_venvr   r   r   ÚstrÚintr3   © r   r   r   r   Q   s/   „ Ù=àÐó":ðH˜6ð ¨¨c©ð °sô r   r   )r-   r'   Úoptparser   Útypingr   Úpip._internal.cli.base_commandr   Úpip._internal.cli.status_codesr   Úpip._internal.utils.miscr   r,   r$   r   r;   r   r   ú<module>rA      sL   ðÛ 
Û Ý Ý å 2Ý 2Ý -ð€ð
ððð"ñU@Ð ôF7˜õ 7r   