+
    {h  c                   s   R t ^ RIt^ RIt^ RIt^ RIt^ RIt^ RIt^ RItRtRt	Rt
]P                  ! ] ]P                  R7      t]P                  RRRR	R
7       ]P                  RRR7       ]P                  RRR	R
7       ]P                  ! ]4       RsR tR tR tR tR tR tR tR tRR ltR tR tR tR t]R8X  d   ]P>                  ! ]! 4       4       R# R# )zm
Activate the generic bash-completion script or zsh completion autoload function for the argcomplete module.
Nzargcomplete.scriptsz_
# Begin added by argcomplete
fpath=( {zsh_fpath} "${{fpath[@]}}" )
# End added by argcomplete
zN
# Begin added by argcomplete
source "{activator}"
# End added by argcomplete
)ZdescriptionZformatter_classz-yz--yesz*automatically answer yes for all questionsZ
store_true)helpZactionz--destzQSpecify the shell completion modules directory to install into, or "-" for stdout)r    z--userzInstall into user directoryc                  s     \         P                  ! R R.4      P                  4       P                  4       #   \        \         P
                  3 d     R# i ; i)Zbrewz--prefixz
/usr/local)
subprocesscheck_outputdecodeZstripFileNotFoundErrorCalledProcessError     [/usr/lib/python3.14/site-packages/argcomplete/scripts/activate_global_python_argcomplete.pyget_local_dirr	   *   sL    &&
';<CCEKKMMz<<= s   36 AAc                  s    \        4        R 2# )z/share/zsh/site-functions)r	   r   r   r   get_zsh_system_dirr
   1   s    o788r   c                  s    R \         P                  9   d   \         P                  R ,          # \        P                  R8X  d   \	        4        R2# R# )ZBASH_COMPLETION_COMPAT_DIRZdarwinz/etc/bash_completion.d)osenvironsysZplatformr	   r   r   r   get_bash_system_dirr   5   s>    #rzz1zz677		!/""899'r   c                  s    \         P                  P                  \         P                  P                  \         P                  P	                  \
        P                  4      4      R 4      # )zbash_completion.d)r   pathjoinZabspathdirnameargcomplete__file__r   r   r   get_activator_dirr   >   s8    77<<8L8L(MNPcddr   c                  sR    \         P                  P                  \        4       R 4      # )z_python-argcomplete)r   r   r   r   r   r   r   get_activator_pathr   B   s    77<<)+-BCCr   c                 s   \        4       pV R 8X  dL   \        V4      ;_uu_ 4       p\        P                  P	                  VP                  4       4       RRR4       R# \        P                  P                  V 4      p\        P                  P                  V4      '       g    \        P                  ! VRR7        \        RV RV  R	2\        P                  R
7       \         P"                  ! W4       \        R\        P                  R
7       R#   + '       g   i     R# ; i  \         d'   p\        P                  RT RT R24        Rp?LRp?ii ; i  \         d(   p\        P                  RT  RT R24        Rp?R# Rp?ii ; i)-NT)Zexist_okzpath z* does not exist and could not be created: zE. Please run this command using sudo, or see --help for more options.zInstalling z to ...Zfilez
Installed.zwhile installing to z: )r   openr   Zstdoutwritereadr   r   r   existsZmakedirsZ	ExceptionparsererrorprintstderrshutilZcopy)dest	activatorfhZdestdirZes   &    r   install_to_destinationr%   F   s-   "$Is{)__JJRWWY' ggood#G77>>'""	KK$/

I;d4&43::FI$l, _
  	LLy J1#  NS  T 	  
"4&1#-rs	
 	

s<   .D"D$ ;AE D!	$E/EEF
#FF
c                  s    \         P                  R J d   R #  \        R4      p V P                  4       R9  d   \	        R\
        P                  R7       K>  V P                  4       R9   d   R # R# )TzOK to proceed? [y/n] zPlease answer "yes" or "no".r   F>   ZnyZnoyes>   r&   r'   )argsr'   ZinputZlowerr   r   r    )Zres    r   get_consentr*   ^   sQ    xx4
+,99;550szzBYY[L(r   c                 s"   \         P                  P                  V 4      '       d   \        V R 4      ;_uu_ 4       pWP	                  4       9   d+   \        RV  R2\        P                  R7        RRR4       R#  RRR4       \        RV  R2\        P                  R7       VP                  4        F  p\        RV\        P                  R7       K!  	  \        4       '       g   \        R\        P                  R7       R# \        R	V  R
2\        P                  R7       \        V R4      ;_uu_ 4       pVP                  V4       RRR4       \        R\        P                  R7       R#   + '       g   i     L; i  + '       g   i     L@; i)Zrz$The code already exists in the file Z.r   Nz(argcomplete needs to append to the file z&. The following code will be appended:Z>z
Not added.zAdding shellcode to r   ZazAdded.)r   r   r   r   r   r   r   r    
splitlinesr*   r   )r   Z	shellcoder$   Zlines   &&  r   append_to_config_filer,   l   s   	ww~~d$__GGI%<TF!D3::V _%  	8>delolvlvw((*D#t#**- +}},SZZ0	 c
*<	dCB
 
	($ _ 
s   5E+4E>+E;	>F	c                 s    \         P                  P                  \         P                  P                  \         P                  P                  R R4      4      R4      p\        T\        P                  T ;'       g    \        4       R7      4       R# )ZZDOTDIRZ~z.zshenv	zsh_fpathN)
r   r   r   
expanduserr   getr,   zsh_shellcodeformatr   )r.   Z
zsh_rcfiles   & r   link_zsh_user_rcfiler3   ~   sY    bgg00	31OPR[\J*m&:&:YEeEeRcRe&:&fgr   c                  s    \         P                  P                  R 4      p \        V \        P                  \        4       R7      4       R# )z~/.bash_completion)r#   N)r   r   r/   r,   bash_shellcoder2   r   )Zbash_completion_user_filer)   r   link_bash_user_rcfiler5      s5     " 2 23G H3^5J5JUgUi5J5jkr   c                  s.    \        4        \        4        R # N)r3   r5   r   r   r   link_user_rcfilesr7      s    r   c                  s~   R \         P                  P                  RR4      9  d   R#  \        4       p \        P
                  ! \         P                  R,          RR.4      pVP                  4       P                  4        F  pW 8X  g   K   R# 	  \        V R7       R#   \        \        P                  3 d     R# i ; i)ZzshZSHELLZ Nz-czprintf "%s
" "${fpath[@]}"r-   )r   r   r0   r
   r   r   r   r+   r3   r   r   )Zzsh_system_dirZfpath_outputZfpaths      r   $add_zsh_system_dir_to_fpath_for_userr8      s    BJJNN7B//+-!..

70CTKh/ij!((*557E& 8 	~6z<<= s   AB 
B B B<;B<c                  s|   \         P                  4       s. p \        P                  '       d   \        P                  R 8w  d[   \        P
                  P                  \        P                  4      '       g(   \         P                  R\        P                   R24       V P                  \        P                  4       EM2\        P                  '       d`   \        P                  '       dJ   \        P                  \        P                  9   d'   \        R\        P                   R7       \#        4        M\        P$                  \        P&                  8w  d'   \        R\        P                   R7       \#        4        Mt\        P(                  '       d   \#        4        MS\        R\        P                   R7       V P                  \+        4        R24       V P                  \-        4        R24       V  F  p\/        V4       K  	  \1        4        \        P                  f   \        R
\        P                   R7       R	# R	# )r   z
directory z0 was specified via --dest, but it does not existz\Argcomplete was installed in the user site local directory. Defaulting to user installation.r   zTArgcomplete was installed in a virtual environment. Defaulting to user installation.z'Defaulting to system-wide installation.z/_python-argcompletez/python-argcompleteNzFPlease restart your shell or source the installed file to activate it.)r   Z
parse_argsr(   r"   r   r   r   r   ZappendsiteZENABLE_USER_SITEZ	USER_SITEr   r   r   r   r    r7   ZprefixZbase_prefixZuserr
   r   r%   r8   )ZdestinationsZdestinations     r   mainr:      sb   DLyyy99BGGNN499$=$=LL:dii[0`abDII&				4>>>dnnH\H\6\j	
 		s	&dknkukuv	7cjjI1344HIJ2455HIJ#{+ $ )*yyV]`]g]gh r   Z__main__r6   ) Z__doc__Zargparser   r!   r9   r   r   r   Z__package__r1   r4   ZArgumentParserZRawDescriptionHelpFormatterr   Zadd_argumentZautocompleter(   r	   r
   r   r   r   r%   r*   r,   r3   r5   r7   r8   r:   Z__name__Zexitr   r   r   <module>r;      s
    	    
  $ 
	 	 WhFjFj	k   D'(T]i  j   H#v  w   H#@  V     9(eD
0%$h
l
 iF zHHTV r   