
    @OOf                        d dl Z d dlZ ej                   e j                  de j                              Z ej                  e ej                  d      z   ej                  d      z        j                         Z
dedefdZdedefd	Zy)
    Nz
            "[^"]*(?:"|$)  # double-quoted string that ends with double quote or EOF
            |
            '[^']*(?:'|$)  # single-quoted string that ends with double quote or EOF
        z 
	'" 
	valreturnc                       rt         fddD              r S d vrd  dS d vrd  dS d j                  dd      z   dz   S )Nc              3   &   K   | ]  }|v 
 y w)N ).0charr   s     X/var/www/premiumrankchecker/venv/lib/python3.12/site-packages/mitmproxy/command_lexer.py	<genexpr>zquote.<locals>.<genexpr>   s     <t4s?<s   r   "'z\x22)allreplace)r   s   `r   quoter      s]    
s<|<<

#~3%qz
#~3%qzS'**S00    xc                 P    t        |       dkD  r| d   dv r| d   | d   k(  r| dd S | S )N   r   z'")len)r   s    r   unquoter   %   s5    
1vzadem!"2wr   )re	pyparsingRegexcompileVERBOSEPartialQuotedString
ZeroOrMoreWord
CharsNotInleaveWhitespaceexprstrr   r   r   r   r   <module>r%      s    	  &iooBJJ	
 	

	  yinnY i?+, /	 1s 1s 1s s r   