
    %h                    $    S SK Jr   " S S5      rg)    )annotationsc                      \ rS rSr% SrSrS\S'    SrS\S'    SrS\S'    Sr	S\S'    SS	 jr
SS
 jrSS jrSS jrSS jrSrg)	UserAgent   a  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.
Nz
str | Noneplatformbrowserversionlanguagec                    Xl         g Nstring)selfr   s     K/var/www/auris/envauris/lib/python3.13/site-packages/werkzeug/user_agent.py__init__UserAgent.__init__    s
    !(    c                h    S[        U 5      R                   SU R                   SU R                   S3$ )N< />)type__name__r   r	   r   s    r   __repr__UserAgent.__repr__$   s0    4:&&'qa~QGGr   c                    U R                   $ r   r   r   s    r   __str__UserAgent.__str__'   s    {{r   c                ,    [        U R                  5      $ r   )boolr   r   s    r   __bool__UserAgent.__bool__*   s    DLL!!r   c                    U R                   $ )zConvert to a header value.r   r   s    r   	to_headerUserAgent.to_header-   s    {{r   r   )r   strreturnNone)r)   r(   )r)   r"   )r   
__module____qualname____firstlineno____doc__r   __annotations__r   r	   r
   r   r   r   r#   r&   __static_attributes__ r   r   r   r      sW      Hj=GZBGZEHjF)H"r   r   N)
__future__r   r   r1   r   r   <module>r3      s    "+ +r   