https://t.me/AnonymousX5
Server : Apache
System : Linux cvar2.toservers.com 3.10.0-962.3.2.lve1.5.73.el7.x86_64 #1 SMP Wed Aug 24 21:31:23 UTC 2022 x86_64
User : njnconst ( 1116)
PHP Version : 8.4.18
Disable Function : NONE
Directory :  /usr/lib/python2.7/site-packages/werkzeug/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : //usr/lib/python2.7/site-packages/werkzeug/useragents.pyc
�
./�_c@sBdZddlZdefd��YZdefd��YZdS(s
    werkzeug.useragents
    ~~~~~~~~~~~~~~~~~~~

    This module provides a helper to inspect user agent strings.  This module
    is far from complete but should work for most of the currently available
    browsers.


    :copyright: 2007 Pallets
    :license: BSD-3-Clause
i����NtUserAgentParsercBs�eZdZdHdIdJdKdLdMdNdOdPdQdRdSdTdUdVdWdXdYdZd[d\fZd]d^d_d`dadbdcdddedfdgdhdidjdkdldmdndodpdqdrdsfZdDZejdE�ZdF�Z	dG�Z
RS(ts5A simple user agent parser.  Used by the `UserAgent`.s cros tchromeoss
iphone|iostiphonetipadsdarwin|mac|os\s*xtmacostwintwindowstandroidtnetbsdtopenbsdtfreebsdt	dragonflytdragonflybsds(sun|i86)ostsolarissx11|lin(\b|ux)?tlinuxsnintendo\s+wiitwiitirixshp-?uxthpuxtaixssco|unix_svtscotbsdtamigasblackberry|playbookt
blackberrytsymbiant	googlebottgoogletmsnbottmsntyahoos
ask jeevestasksaol|america\s+online\s+browsertaols	opera|oprtoperatedgeschrome|criostchromet	seamonkeys"firefox|firebird|phoenix|iceweaseltfirefoxtgaleonssafari|versiontsafaritwebkittcaminot	konquerorsk-meleontkmeleontnetscapes4msie|microsoft\s+internet\s+explorer|trident/.+? rv:tmsietlynxtlinkstBaiduspidertbaidutbingbottbingtmozillas(?:%s)[/\sa-z(]*(\d+[.\da-z]+)?sa(?:;\s*|\s+)(\b\w{2}\b(?:-\b\w{2}\b)?)\s*;|(?:\(|\[|;)\s*(\b\w{2}\b(?:-\b\w{2}\b)?)\s*(?:\]|\)|;)cCsg|jD]'\}}|tj|tj�f^q
|_g|jD].\}}|tj|j|tj�f^qD|_dS(N(t	platformstretcompiletItbrowserst_browser_version_re(tselftatb((s7/tmp/pip-install-sTXtzD/Werkzeug/werkzeug/useragents.pyt__init__Ks:cCs�x<|jD]+\}}|j|�}|dk	r
Pq
q
Wd}xO|jD]:\}}|j|�}|dk	rI|jd�}PqIqIWd}}|jj|�}|dk	r�|jd�p�|jd�}nd}||||fS(Nii(R3tsearchtNoneR7tgroupt_language_re(R9t
user_agenttplatformtregextmatchtbrowsertversiontlanguage((s7/tmp/pip-install-sTXtzD/Werkzeug/werkzeug/useragents.pyt__call__Rs 
!(s cros R(s
iphone|iosR(RR(sdarwin|mac|os\s*xR(RR(RR(RR(R	R	(R
R
(RR(s(sun|i86)osssolaris(sx11|lin(\b|ux)?slinux(snintendo\s+wiiR(sirixsirix(shp-?uxR(saixsaix(ssco|unix_svR(RR(RR(sblackberry|playbookR(RR(Rsgoogle(RR(RR(s
ask jeevessask(saol|america\s+online\s+browserR(s	opera|oprR(R R (schrome|criosR!(R"R"(s"firefox|firebird|phoenix|iceweaselR#(R$R$(ssafari|versionR%(R&R&(R'R'(R(R((sk-meleonR)(snetscapesnetscape(s4msie|microsoft\s+internet\s+explorer|trident/.+? rv:R+(R,R,(slinksslinks(R.R/(R0R1(R2R2(t__name__t
__module__t__doc__R3R7R8R4R5R@R<RH(((s7/tmp/pip-install-sTXtzD/Werkzeug/werkzeug/useragents.pyRsd				t	UserAgentcBsJeZdZe�Zd�Zd�Zd�Zd�ZeZ	d�Z
RS(s�Represents a user agent.  Pass it a WSGI environment or a user agent
    string and you can inspect some of the details from the user agent
    string via the attributes.  The following attributes exist:

    .. attribute:: string

       the raw user agent string

    .. attribute:: platform

       the browser platform. ``None`` if not recognized.
       The following platforms are currently recognized:

       -   `aix`
       -   `amiga`
       -   `android`
       -   `blackberry`
       -   `bsd`
       -   `chromeos`
       -   `dragonflybsd`
       -   `freebsd`
       -   `hpux`
       -   `ipad`
       -   `iphone`
       -   `irix`
       -   `linux`
       -   `macos`
       -   `netbsd`
       -   `openbsd`
       -   `sco`
       -   `solaris`
       -   `symbian`
       -   `wii`
       -   `windows`

    .. attribute:: browser

        the name of the browser. ``None`` if not recognized.
        The following browsers are currently recognized:

        -   `aol` *
        -   `ask` *
        -   `baidu` *
        -   `bing` *
        -   `camino`
        -   `chrome`
        -   `edge`
        -   `firefox`
        -   `galeon`
        -   `google` *
        -   `kmeleon`
        -   `konqueror`
        -   `links`
        -   `lynx`
        -   `mozilla`
        -   `msie`
        -   `msn`
        -   `netscape`
        -   `opera`
        -   `safari`
        -   `seamonkey`
        -   `webkit`
        -   `yahoo` *

        (Browsers marked with a star (``*``) are crawlers.)

    .. attribute:: version

        the version of the browser. ``None`` if not recognized.

    .. attribute:: language

        the language of the browser. ``None`` if not recognized.
    cCsXt|t�r$|jdd�}n||_|j|�\|_|_|_|_dS(NtHTTP_USER_AGENTt(	t
isinstancetdicttgettstringt_parserRBRERFRG(R9tenviron_or_string((s7/tmp/pip-install-sTXtzD/Werkzeug/werkzeug/useragents.pyR<�s
	cCs|jS(N(RR(R9((s7/tmp/pip-install-sTXtzD/Werkzeug/werkzeug/useragents.pyt	to_header�scCs|jS(N(RR(R9((s7/tmp/pip-install-sTXtzD/Werkzeug/werkzeug/useragents.pyt__str__�scCs
t|j�S(N(tboolRE(R9((s7/tmp/pip-install-sTXtzD/Werkzeug/werkzeug/useragents.pyt__nonzero__�scCsd|jj|j|jfS(Ns
<%s %r/%s>(t	__class__RIRERF(R9((s7/tmp/pip-install-sTXtzD/Werkzeug/werkzeug/useragents.pyt__repr__�s(RIRJRKRRSR<RURVRXt__bool__RZ(((s7/tmp/pip-install-sTXtzD/Werkzeug/werkzeug/useragents.pyRLhsJ					(RKR4tobjectRRL(((s7/tmp/pip-install-sTXtzD/Werkzeug/werkzeug/useragents.pyt<module>
sW

https://t.me/AnonymousX5 - 2025