
    2Bf                          d dl Z G d d      Zy)    Nc                       e Zd ZU dZdZej                  e   ed<   	 dZ	ej                  e   ed<   	 dZ
ej                  e   ed<   	 dZej                  e   ed<   	 deddfd	Zdefd
ZdefdZdefdZdefdZy)	UserAgenta  Represents a parsed user agent header value.

    The default implementation does no parsing, only the :attr:`string`
    attribute is set. A subclass may parse the string to set the
    common attributes or expose other information. Set
    :attr:`werkzeug.wrappers.Request.user_agent_class` to use a
    subclass.

    :param string: The header value to parse.

    .. versionadded:: 2.0
        This replaces the previous ``useragents`` module, but does not
        provide a built-in parser.
    Nplatformbrowserversionlanguagestringreturnc                     || _         y Nr	   )selfr	   s     S/var/www/highfloat_scraper/venv/lib/python3.12/site-packages/werkzeug/user_agent.py__init__zUserAgent.__init__    s    !(    c                 h    dt        |       j                   d| j                   d| j                   dS )N< />)type__name__r   r   r   s    r   __repr__zUserAgent.__repr__$   s0    4:&&'qa~QGGr   c                     | j                   S r   r   r   s    r   __str__zUserAgent.__str__'   s    {{r   c                 ,    t        | j                        S r   )boolr   r   s    r   __bool__zUserAgent.__bool__*   s    DLL!!r   c                     | j                   S )zConvert to a header value.r   r   s    r   	to_headerzUserAgent.to_header-   s    {{r   )r   
__module____qualname____doc__r   tOptionalstr__annotations__r   r   r   r   r   r   r   r   r!    r   r   r   r      s     !%Hajjo$=#GQZZ_#B#GQZZ_#E $Hajjo$F)s )t )H# H "$ "3 r   r   )typingr%   r   r)   r   r   <module>r+      s    + +r   