<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0-alpha1/dist/css/bootstrap.min.css" rel="stylesheet"
        integrity="sha384-GLhlTQ8iRABdZLl6O3oVMWSktQOp6b7In1Zl3/Jr59b6EGGoI1aFkw7cmDA6j6gD" crossorigin="anonymous">
    <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.3.0/css/all.min.css"
        integrity="sha512-SzlrxWUlpfuzQ+pcUCosxcglQRNAq/DZjVsC0lE40xsADsfeQoEypE+enwcOiGjk/bSuGGKHEyjSoQ1zVisanQ=="
        crossorigin="anonymous" referrerpolicy="no-referrer" />
</head>
</html>

fQ  c               @   s  d  Z  d d l Z d d l Z d d d g Z d j Z d j Z d j Z Gd	 d   d e  Z	 e j
 e j d
 Z i d d 6d d 6d d 6d d 6d d 6d d 6d d 6d d 6d d 6d d 6d d  6d! d" 6d# d$ 6d% d& 6d' d( 6d) d* 6d+ d, 6d- d. 6d/ d0 6d1 d2 6d3 d4 6d5 d6 6d7 d8 6d9 d: 6d; d< 6d= d> 6d? d@ 6dA dB 6dC dD 6dE dF 6dG dH 6dI dJ 6dK dL 6dM dN 6dO dP 6dQ dR 6dS dT 6dU dV 6dW dX 6dY dZ 6d[ d\ 6d] d^ 6d_ d` 6da db 6dc dd 6de df 6dg dh 6di dj 6dk dl 6dm dn 6do dp 6dq dr 6ds dt 6du dv 6dw dx 6dy dz 6d{ d| 6d} d~ 6d d 6d d 6d d 6d d 6d d 6d d 6d d 6d d 6d d 6d d 6d d 6d d 6d d 6d d 6d d 6d d 6d d 6d d 6d d 6d d 6d d 6d d 6d d 6d d 6d d 6d d 6d d 6d d 6d d 6d d 6d d 6d d 6d d 6d d 6d d 6d d 6d d 6d d 6d d 6d d 6d d 6d d 6d d 6d d 6d d 6d d 6d d 6d d 6d d 6d d 6d d 6d d 6d d 6d d 6d d 6d d 6d d 6d d 6d d 6d d 6d d 6d d 6d d 6d d 6d d 6dd6dd6dd6dd6d	d
6dd6dd6dd6dd6dd6dd6dd6dd6dd6dd6dd 6d!d"6d#d$6d%d&6d'd(6d)d*6d+d,6d-d.6d/d06d1d26d3d46d5d66d7d86d9d:6d;d<6d=d>6d?d@6dAdB6dCdD6dEdF6dGdH6dIdJ6dKdL6dMdN6dOdP6dQdR6dSdT6Z e dUdV Z e j dW Z e j dX Z dYdZ  Z d[d\d]d^d_d`dag Z d dbdcdddedfdgdhdidjdkdldmg Z d e e dndo Z Gdpdq  dqe  Z drZ e dsZ e j dte due dve j  Z Gdwd   d e  Z Gdxd   d e  Z d S(y  u.
  
Here's a sample session to show how to use this module.
At the moment, this is the only documentation.

The Basics
----------

Importing is easy...

   >>> from http import cookies

Most of the time you start by creating a cookie.

   >>> C = cookies.SimpleCookie()

Once you've created your Cookie, you can add values just as if it were
a dictionary.

   >>> C = cookies.SimpleCookie()
   >>> C["fig"] = "newton"
   >>> C["sugar"] = "wafer"
   >>> C.output()
   'Set-Cookie: fig=newton\r\nSet-Cookie: sugar=wafer'

Notice that the printable representation of a Cookie is the
appropriate format for a Set-Cookie: header.  This is the
default behavior.  You can change the header and printed
attributes by using the .output() function

   >>> C = cookies.SimpleCookie()
   >>> C["rocky"] = "road"
   >>> C["rocky"]["path"] = "/cookie"
   >>> print(C.output(header="Cookie:"))
   Cookie: rocky=road; Path=/cookie
   >>> print(C.output(attrs=[], header="Cookie:"))
   Cookie: rocky=road

The load() method of a Cookie extracts cookies from a string.  In a
CGI script, you would use this method to extract the cookies from the
HTTP_COOKIE environment variable.

   >>> C = cookies.SimpleCookie()
   >>> C.load("chips=ahoy; vienna=finger")
   >>> C.output()
   'Set-Cookie: chips=ahoy\r\nSet-Cookie: vienna=finger'

The load() method is darn-tootin smart about identifying cookies
within a string.  Escaped quotation marks, nested semicolons, and other
such trickeries do not confuse it.

   >>> C = cookies.SimpleCookie()
   >>> C.load('keebler="E=everybody; L=\\"Loves\\"; fudge=\\012;";')
   >>> print(C)
   Set-Cookie: keebler="E=everybody; L=\"Loves\"; fudge=\012;"

Each element of the Cookie also supports all of the RFC 2109
Cookie attributes.  Here's an example which sets the Path
attribute.

   >>> C = cookies.SimpleCookie()
   >>> C["oreo"] = "doublestuff"
   >>> C["oreo"]["path"] = "/"
   >>> print(C)
   Set-Cookie: oreo=doublestuff; Path=/

Each dictionary element has a 'value' attribute, which gives you
back the value associated with the key.

   >>> C = cookies.SimpleCookie()
   >>> C["twix"] = "none for you"
   >>> C["twix"].value
   'none for you'

The SimpleCookie expects that all values should be standard strings.
Just to be sure, SimpleCookie invokes the str() builtin to convert
the value to a string, when the values are set dictionary-style.

   >>> C = cookies.SimpleCookie()
   >>> C["number"] = 7
   >>> C["string"] = "seven"
   >>> C["number"].value
   '7'
   >>> C["string"].value
   'seven'
   >>> C.output()
   'Set-Cookie: number=7\r\nSet-Cookie: string=seven'

Finis.
i    Nu   CookieErroru
   BaseCookieu   SimpleCookieu    u   ; u    c             B   s   |  Ee  Z d  Z d S(   u   CookieErrorN(   u   __name__u
   __module__u   __qualname__(   u
   __locals__(    (    u1   /opt/alt/python33/lib64/python3.3/http/cookies.pyu   CookieError   s   u   !#$%&'*+-.^_`|~:u   \000u    u   \001u   u   \002u   u   \003u   u   \004u   u   \005u   u   \006u   u   \007u   u   \010u   u   \011u   	u   \012u   
u   \013u   u   \014u   u   \015u   u   \016u   u   \017u   u   \020u   u   \021u   u   \022u   u   \023u   u   \024u   u   \025u   u   \026u   u   \027u   u   \030u   u   \031u   u   \032u   u   \033u   u   \034u   u   \035u   u   \036u   u   \037u   u   \054u   ,u   \073u   ;u   \"u   "u   \\u   \u   \177u   u   \200u   u   \201u   u   \202u   u   \203u   u   \204u   u   \205u   u   \206u   u   \207u   u   \210u   u   \211u   u   \212u   u   \213u   u   \214u   u   \215u   u   \216u   u   \217u   u   \220u   u   \221u   u   \222u   u   \223u   u   \224u   u   \225u   u   \226u   u   \227u   u   \230u   u   \231u   u   \232u   u   \233u   u   \234u   u   \235u   u   \236u   u   \237u   u   \240u    u   \241u   ¡u   \242u   ¢u   \243u   £u   \244u   ¤u   \245u   ¥u   \246u   ¦u   \247u   §u   \250u   ¨u   \251u   ©u   \252u   ªu   \253u   «u   \254u   ¬u   \255u   ­u   \256u   ®u   \257u   ¯u   \260u   °u   \261u   ±u   \262u   ²u   \263u   ³u   \264u   ´u   \265u   µu   \266u   ¶u   \267u   ·u   \270u   ¸u   \271u   ¹u   \272u   ºu   \273u   »u   \274u   ¼u   \275u   ½u   \276u   ¾u   \277u   ¿u   \300u   Àu   \301u   Áu   \302u   Âu   \303u   Ãu   \304u   Äu   \305u   Åu   \306u   Æu   \307u   Çu   \310u   Èu   \311u   Éu   \312u   Êu   \313u   Ëu   \314u   Ìu   \315u   Íu   \316u   Îu   \317u   Ïu   \320u   Ðu   \321u   Ñu   \322u   Òu   \323u   Óu   \324u   Ôu   \325u   Õu   \326u   Öu   \327u   ×u   \330u   Øu   \331u   Ùu   \332u   Úu   \333u   Ûu   \334u   Üu   \335u   Ýu   \336u   Þu   \337u   ßu   \340u   àu   \341u   áu   \342u   âu   \343u   ãu   \344u   äu   \345u   åu   \346u   æu   \347u   çu   \350u   èu   \351u   éu   \352u   êu   \353u   ëu   \354u   ìu   \355u   íu   \356u   îu   \357u   ïu   \360u   ðu   \361u   ñu   \362u   òu   \363u   óu   \364u   ôu   \365u   õu   \366u   öu   \367u   ÷u   \370u   øu   \371u   ùu   \372u   úu   \373u   ûu   \374u   üu   \375u   ýu   \376u   þu   \377u   ÿc                sF   t    f d d   |  D  r# |  Sd t d d   |  D  d Sd S(   u   Quote a string for use in a cookie header.

    If the string does not need to be double-quoted, then just return the
    string.  Otherwise, surround the string in doublequotes and quote
    (with a \) special characters.
    c             3   s   |  ] } |   k Vq d  S(   N(    (   u   .0u   c(   u
   LegalChars(    u1   /opt/alt/python33/lib64/python3.3/http/cookies.pyu	   <genexpr>   s    u   _quote.<locals>.<genexpr>u   "c             s   s!   |  ] } t  j | |  Vq d  S(   N(   u   _Translatoru   get(   u   .0u   s(    (    u1   /opt/alt/python33/lib64/python3.3/http/cookies.pyu	   <genexpr>   s    N(   u   allu	   _nulljoin(   u   stru
   LegalChars(    (   u
   LegalCharsu1   /opt/alt/python33/lib64/python3.3/http/cookies.pyu   _quote   s    u   _quoteu   \\[0-3][0-7][0-7]u   [\\].c             C   s  t  |   d k  r |  S|  d d k s6 |  d d k r: |  S|  d d  }  d } t  |   } g  } xHd | k o| | k  n rt j |  |  } t j |  |  } | r | r | j |  | d    Pn  d	 } } | r | j d  } n  | r| j d  } n  | rZ| s!| | k  rZ| j |  | |   | j |  | d  | d } qe | j |  | |   | j t t |  | d | d  d    | d } qe Wt |  S(
   Ni   i    u   "i   i   i   iii(	   u   lenu
   _OctalPattu   searchu
   _QuotePattu   appendu   startu   chru   intu	   _nulljoin(   u   stru   iu   nu   resu   o_matchu   q_matchu   ju   k(    (    u1   /opt/alt/python33/lib64/python3.3/http/cookies.pyu   _unquote   s6     
.u   _unquoteu   Monu   Tueu   Wedu   Thuu   Friu   Satu   Sunu   Janu   Febu   Maru   Apru   Mayu   Junu   Julu   Augu   Sepu   Octu   Novu   Decc          	   C   so   d d l  m } m  } |   } | | |   \	 } } } }	 }
 } } } } d | | | | | | |	 |
 | f S(   Ni    (   u   gmtimeu   timeu#   %s, %02d %3s %4d %02d:%02d:%02d GMT(   u   timeu   gmtime(   u   futureu   weekdaynameu	   monthnameu   gmtimeu   timeu   nowu   yearu   monthu   dayu   hhu   mmu   ssu   wdu   yu   z(    (    u1   /opt/alt/python33/lib64/python3.3/http/cookies.pyu   _getdate)  s
    	+u   _getdatec             B   s   |  Ee  Z d  Z d Z i d d 6d d 6d d 6d d 6d	 d
 6d d 6d d 6d d 6Z d d h Z d d   Z d d   Z d d   Z e	 d d  Z
 d  d d d  Z e Z d d   Z d  d d  Z d  d d  Z d  S(!   u   Morselu  A class to hold ONE (key, value) pair.

    In a cookie, each such pair may have several attributes, so this class is
    used to keep the attributes associated with the appropriate key,value pair.
    This class also includes a coded_value attribute, which is used to hold
    the network representation of the value.  This is most useful when Python
    objects are pickled for network transit.
    u   expiresu   Pathu   pathu   Commentu   commentu   Domainu   domainu   Max-Ageu   max-ageu   secureu   httponlyu   Versionu   versionc             C   sB   d  |  _ |  _ |  _ x$ |  j D] } t j |  | d  q! Wd  S(   Nu    (   u   Noneu   keyu   valueu   coded_valueu	   _reservedu   dictu   __setitem__(   u   selfu   key(    (    u1   /opt/alt/python33/lib64/python3.3/http/cookies.pyu   __init__T  s    u   Morsel.__init__c             C   sE   | j    } | |  j k r. t d |   n  t j |  | |  d  S(   Nu   Invalid Attribute %s(   u   loweru	   _reservedu   CookieErroru   dictu   __setitem__(   u   selfu   Ku   V(    (    u1   /opt/alt/python33/lib64/python3.3/http/cookies.pyu   __setitem__\  s    u   Morsel.__setitem__c             C   s   | j    |  j k S(   N(   u   loweru	   _reserved(   u   selfu   K(    (    u1   /opt/alt/python33/lib64/python3.3/http/cookies.pyu   isReservedKeyb  s    u   Morsel.isReservedKeyc                sy   | j    |  j k r( t d |   n  t   f d d   | D  rZ t d |   n  | |  _ | |  _ | |  _ d  S(   Nu!   Attempt to set a reserved key: %sc             3   s   |  ] } |   k Vq d  S(   N(    (   u   .0u   c(   u
   LegalChars(    u1   /opt/alt/python33/lib64/python3.3/http/cookies.pyu	   <genexpr>j  s    u   Morsel.set.<locals>.<genexpr>u   Illegal key value: %s(   u   loweru	   _reservedu   CookieErroru   anyu   keyu   valueu   coded_value(   u   selfu   keyu   valu	   coded_valu
   LegalChars(    (   u
   LegalCharsu1   /opt/alt/python33/lib64/python3.3/http/cookies.pyu   sete  s    		u
   Morsel.setu   Set-Cookie:c             C   s   d | |  j  |  f S(   Nu   %s %s(   u   OutputString(   u   selfu   attrsu   header(    (    u1   /opt/alt/python33/lib64/python3.3/http/cookies.pyu   outputr  s    u   Morsel.outputc             C   s#   d |  j  j |  j t |  j  f S(   Nu   <%s: %s=%s>(   u	   __class__u   __name__u   keyu   repru   value(   u   self(    (    u1   /opt/alt/python33/lib64/python3.3/http/cookies.pyu   __repr__w  s    u   Morsel.__repr__c             C   s   d |  j  |  j d d  S(   Nu   
        <script type="text/javascript">
        <!-- begin hiding
        document.cookie = "%s";
        // end hiding -->
        </script>
        u   "u   \"(   u   OutputStringu   replace(   u   selfu   attrs(    (    u1   /opt/alt/python33/lib64/python3.3/http/cookies.pyu	   js_output{  s    u   Morsel.js_outputc             C   sw  g  } | j  } | d |  j |  j f  | d  k rA |  j } n  t |  j    } x| D]\ } } | d k rx qZ n  | | k r qZ n  | d k r t | t  r | d |  j | t	 |  f  qZ | d k rt | t  r| d |  j | | f  qZ | d k r(| t
 |  j |   qZ | d k rN| t
 |  j |   qZ | d |  j | | f  qZ Wt |  S(   Nu   %s=%su    u   expiresu   max-ageu   %s=%du   secureu   httponly(   u   appendu   keyu   coded_valueu   Noneu	   _reservedu   sortedu   itemsu
   isinstanceu   intu   _getdateu   stru   _semispacejoin(   u   selfu   attrsu   resultu   appendu   itemsu   keyu   value(    (    u1   /opt/alt/python33/lib64/python3.3/http/cookies.pyu   OutputString  s*    	$u   Morsel.OutputStringN(   u   __name__u
   __module__u   __qualname__u   __doc__u	   _reservedu   _flagsu   __init__u   __setitem__u   isReservedKeyu   _LegalCharsu   setu   Noneu   outputu   __str__u   __repr__u	   js_outputu   OutputString(   u
   __locals__(    (    u1   /opt/alt/python33/lib64/python3.3/http/cookies.pyu   Morsel1  s(   

u   Morselu,   \w\d!#%&'~_`><@,:/\$\*\+\-\.\^\|\)\(\?\}\{\=u   \[\]u   
    (?x)                           # This is a verbose pattern
    \s*                            # Optional whitespace at start of cookie
    (?P<key>                       # Start of group 'key'
    [u	  ]+?   # Any word of at least one letter
    )                              # End of group 'key'
    (                              # Optional group: there may not be a value.
    \s*=\s*                          # Equal Sign
    (?P<val>                         # Start of group 'val'
    "(?:[^\\"]|\\.)*"                  # Any doublequoted string
    |                                  # or
    \w{3},\s[\w\d\s-]{9,11}\s[\d:]{8}\sGMT  # Special case for "expires" attr
    |                                  # or
    [u-  ]*      # Any word or empty string
    )                                # End of group 'val'
    )?                             # End of optional value group
    \s*                            # Any number of spaces.
    (\s+|;|$)                      # Ending either at space, semicolon, or EOS.
    c             B   s   |  Ee  Z d  Z d Z d d   Z d d   Z d d d  Z d d	   Z d
 d   Z	 d d d d d  Z
 e
 Z d d   Z d d d  Z d d   Z e d d  Z d S(   u
   BaseCookieu'   A container class for a set of Morsels.c             C   s
   | | f S(   u
  real_value, coded_value = value_decode(STRING)
        Called prior to setting a cookie's value from the network
        representation.  The VALUE is the value read from HTTP
        header.
        Override this function to modify the behavior of cookies.
        (    (   u   selfu   val(    (    u1   /opt/alt/python33/lib64/python3.3/http/cookies.pyu   value_decode  s    u   BaseCookie.value_decodec             C   s   t  |  } | | f S(   u   real_value, coded_value = value_encode(VALUE)
        Called prior to setting a cookie's value from the dictionary
        representation.  The VALUE is the value being assigned.
        Override this function to modify the behavior of cookies.
        (   u   str(   u   selfu   valu   strval(    (    u1   /opt/alt/python33/lib64/python3.3/http/cookies.pyu   value_encode  s    u   BaseCookie.value_encodec             C   s   | r |  j  |  n  d  S(   N(   u   load(   u   selfu   input(    (    u1   /opt/alt/python33/lib64/python3.3/http/cookies.pyu   __init__  s    u   BaseCookie.__init__c             C   s?   |  j  | t    } | j | | |  t j |  | |  d S(   u+   Private method for setting a cookie's valueN(   u   getu   Morselu   setu   dictu   __setitem__(   u   selfu   keyu
   real_valueu   coded_valueu   M(    (    u1   /opt/alt/python33/lib64/python3.3/http/cookies.pyu   __set  s    u   BaseCookie.__setc             C   s,   |  j  |  \ } } |  j | | |  d S(   u   Dictionary style assignment.N(   u   value_encodeu   _BaseCookie__set(   u   selfu   keyu   valueu   rvalu   cval(    (    u1   /opt/alt/python33/lib64/python3.3/http/cookies.pyu   __setitem__  s    u   BaseCookie.__setitem__u   Set-Cookie:u   
c             C   sU   g  } t  |  j    } x- | D]% \ } } | j | j | |   q W| j |  S(   u"   Return a string suitable for HTTP.(   u   sortedu   itemsu   appendu   outputu   join(   u   selfu   attrsu   headeru   sepu   resultu   itemsu   keyu   value(    (    u1   /opt/alt/python33/lib64/python3.3/http/cookies.pyu   output  s
    u   BaseCookie.outputc             C   si   g  } t  |  j    } x4 | D], \ } } | j d | t | j  f  q Wd |  j j t |  f S(   Nu   %s=%su   <%s: %s>(   u   sortedu   itemsu   appendu   repru   valueu	   __class__u   __name__u
   _spacejoin(   u   selfu   lu   itemsu   keyu   value(    (    u1   /opt/alt/python33/lib64/python3.3/http/cookies.pyu   __repr__  s
    $u   BaseCookie.__repr__c             C   sO   g  } t  |  j    } x* | D]" \ } } | j | j |   q Wt |  S(   u(   Return a string suitable for JavaScript.(   u   sortedu   itemsu   appendu	   js_outputu	   _nulljoin(   u   selfu   attrsu   resultu   itemsu   keyu   value(    (    u1   /opt/alt/python33/lib64/python3.3/http/cookies.pyu	   js_output  s
    u   BaseCookie.js_outputc             C   sJ   t  | t  r |  j |  n' x$ | j   D] \ } } | |  | <q, Wd S(   u   Load cookies from a string (presumably HTTP_COOKIE) or
        from a dictionary.  Loading cookies from a dictionary 'd'
        is equivalent to calling:
            map(Cookie.__setitem__, d.keys(), d.values())
        N(   u
   isinstanceu   stru   _BaseCookie__parse_stringu   items(   u   selfu   rawdatau   keyu   value(    (    u1   /opt/alt/python33/lib64/python3.3/http/cookies.pyu   load  s
    u   BaseCookie.loadc             C   s\  d } t  |  } d  } x=d | k o2 | k  n rW| j | |  } | sS Pn  | j d  | j d  } } | j d  } | d d k r | rT| | | d d   <qTq | j   t j k r| rT| d  k r | j   t j k rd | | <qqt
 |  | | <qTq | d  k	 r |  j |  \ }	 }
 |  j | |	 |
  |  | } q q Wd  S(   Ni    u   keyu   valu   $i   T(   u   lenu   Noneu   matchu   groupu   endu   loweru   Morselu	   _reservedu   _flagsu   Trueu   _unquoteu   value_decodeu   _BaseCookie__set(   u   selfu   stru   pattu   iu   nu   Mu   matchu   keyu   valueu   rvalu   cval(    (    u1   /opt/alt/python33/lib64/python3.3/http/cookies.pyu   __parse_string  s,    u   BaseCookie.__parse_stringN(   u   __name__u
   __module__u   __qualname__u   __doc__u   value_decodeu   value_encodeu   Noneu   __init__u   _BaseCookie__setu   __setitem__u   outputu   __str__u   __repr__u	   js_outputu   loadu   _CookiePatternu   _BaseCookie__parse_string(   u
   __locals__(    (    u1   /opt/alt/python33/lib64/python3.3/http/cookies.pyu
   BaseCookie  s   		c             B   s2   |  Ee  Z d  Z d Z d d   Z d d   Z d S(   u   SimpleCookieu   
    SimpleCookie supports strings as cookie values.  When setting
    the value using the dictionary assignment notation, SimpleCookie
    calls the builtin str() to convert the value to a string.  Values
    received from HTTP are kept as strings.
    c             C   s   t  |  | f S(   N(   u   _unquote(   u   selfu   val(    (    u1   /opt/alt/python33/lib64/python3.3/http/cookies.pyu   value_decode>  s    u   SimpleCookie.value_decodec             C   s   t  |  } | t |  f S(   N(   u   stru   _quote(   u   selfu   valu   strval(    (    u1   /opt/alt/python33/lib64/python3.3/http/cookies.pyu   value_encodeA  s    u   SimpleCookie.value_encodeN(   u   __name__u
   __module__u   __qualname__u   __doc__u   value_decodeu   value_encode(   u
   __locals__(    (    u1   /opt/alt/python33/lib64/python3.3/http/cookies.pyu   SimpleCookie7  s   (   u   __doc__u   reu   stringu   __all__u   joinu	   _nulljoinu   _semispacejoinu
   _spacejoinu	   Exceptionu   CookieErroru   ascii_lettersu   digitsu   _LegalCharsu   _Translatoru   _quoteu   compileu
   _OctalPattu
   _QuotePattu   _unquoteu   _weekdaynameu   Noneu
   _monthnameu   _getdateu   dictu   Morselu   _LegalKeyCharsu   _LegalValueCharsu   ASCIIu   _CookiePatternu
   BaseCookieu   SimpleCookie(    (    (    u1   /opt/alt/python33/lib64/python3.3/http/cookies.pyu   <module>   s   			2~
n