ÿØÿà JFIF      ÿÛ C      

!"$"$ÿÛ C  ÿÂ p " ÿÄ              ÿÄ             ÿÚ    ÕÔË®
(%	aA*‚XYD¡(J„¡E¢RE,P€XYae )(E¤²€B¤R¥	BQ¤¢ X«)X…€¤   @  

  ..............................................................................................................................................................................
.............................................................................                                                  
                                                                                                                                                                                     ÿØÿà JFIF      ÿÛ C      

!"$"$ÿÛ C  ÿÂ p " ÿÄ              ÿÄ             ÿÚ    ÕÔË®
(%	aA*‚XYD¡(J„¡E¢RE,P€XYae )(E¤²€B¤R¥	BQ¤¢ X«)X…€¤   @  

  ..............................................................................................................................................................................
.............................................................................                                                  
                                                                                                                                                                                     
;;Wgc           @   s  d  d l  Z  d  d l Z d  d l Z d  d l m Z e j d  Z d Z e e d  Z	 d   Z
 d   Z d   Z d	 e j f d
     YZ d e j f d     YZ d e j f d     YZ d e e j f d     YZ d e e j f d     YZ d   Z d S(   iN(   t	   ucd_3_2_0u   [.。．｡]s   xn--t   asciic         C   s  g  } x9 |  D]1 } t  j |  r( q n  | j t  j |   q Wd j |  }  t j d |   }  x |  D] } t  j |  s t  j |  s t  j	 |  s t  j
 |  s t  j |  s t  j |  s t  j |  s t  j |  s t  j |  rj t d |   qj qj Wt t  j |   } x] | D]U } | r't t  j |   rTt d   n  | d sj| d r|t d   q|q'q'W|  S(   Nu    t   NFKCs   Invalid character %rs   Violation of BIDI requirement 2i    is   Violation of BIDI requirement 3(   t
   stringprept   in_table_b1t   appendt   map_table_b2t   joint   unicodedatat	   normalizet   in_table_c12t   in_table_c22t   in_table_c3t   in_table_c4t   in_table_c5t   in_table_c6t   in_table_c7t   in_table_c8t   in_table_c9t   UnicodeErrort   mapt   in_table_d1t   filtert   in_table_d2(   t   labelt   newlabelt   ct   RandAL(    (    s$   /usr/lib/python2.7/encodings/idna.pyt   nameprep   s4    c         C   s+  y |  j  d  }  Wn t k
 r& n3 Xd t |   k  oD d k  n rM |  St d   t |   }  y |  j  d  }  Wn t k
 r n3 Xd t |   k  o d k  n r |  St d   |  j t  r t d   n  |  j  d  }  t |  }  d t |   k  od k  n r|  St d   d  S(   NR   i    i@   s   label empty or too longs   Label starts with ACE prefixt   punycode(   t   encodeR   t   lenR   t
   startswitht   uace_prefixt
   ace_prefix(   R   (    (    s$   /usr/lib/python2.7/encodings/idna.pyt   ToASCII>   s,    ""
"c         C   s  t  |  t  r t } n3 y |  j d  }  t } Wn t k
 rJ t } n X| s t |   }  y |  j d  }  Wq t k
 r t d   q Xn  |  j t  s t	 |  d  S|  t
 t  } | j d  } t |  } |  j   | k rt d |  |   n  | S(   NR   s   Invalid character in IDN labelR   s   IDNA does not round-trip(   t
   isinstancet   strt   TrueR   R   t   FalseR   R    R"   t   unicodeR   t   decodeR#   t   lower(   R   t
   pure_asciit   label1t   resultt   label2(    (    s$   /usr/lib/python2.7/encodings/idna.pyt	   ToUnicodei   s*    	

t   Codecc           B   s    e  Z d  d  Z d  d  Z RS(   t   strictc         C   s   | d k r t  d |   n  | s) d Sg  } t j |  } | rj t | d  d k rj d } | d =n d } x! | D] } | j t |   qw Wd j |  | t |  f S(   NR1   s   unsupported error handling t    i    it   .(   R2   i    (   R   t   dotst   splitR   R   R#   R   (   t   selft   inputt   errorsR-   t   labelst   trailing_dotR   (    (    s$   /usr/lib/python2.7/encodings/idna.pyR      s    
c         C   s   | d k r t  d |   n  | s) d	 St | t  rJ t j |  } n( t |  } t | d  | j d  } | r t | d  d k r d } | d =n d } g  } x! | D] } | j t |   q Wd j	 |  | t |  f S(
   NR1   s   Unsupported error handling u    i    R   R3   iu   .(   u    i    (
   R   R$   R(   R4   R5   R%   R   R   R/   R   (   R6   R7   R8   R9   R:   R-   R   (    (    s$   /usr/lib/python2.7/encodings/idna.pyR)      s"    
(   t   __name__t
   __module__R   R)   (    (    (    s$   /usr/lib/python2.7/encodings/idna.pyR0      s   t   IncrementalEncoderc           B   s   e  Z d    Z RS(   c   	      C   s   | d k r t  d |   n  | s) d	 St j |  } d } | r | d s^ d } | d =q | s | d =| r} d } q} q n  g  } d } xD | D]< } | j t |   | r | d 7} n  | t |  7} q Wd j |  | } | t |  7} | | f S(
   NR1   s   unsupported error handling R2   i    u    iR3   i   (   R2   i    (   R   R4   R5   R   R#   R   R   (	   R6   R7   R8   t   finalR9   R:   R-   t   sizeR   (    (    s$   /usr/lib/python2.7/encodings/idna.pyt   _buffer_encode   s0    

(   R;   R<   R@   (    (    (    s$   /usr/lib/python2.7/encodings/idna.pyR=      s   t   IncrementalDecoderc           B   s   e  Z d    Z RS(   c   	      C   s:  | d k r t  d |   n  | s) d
 St | t  rJ t j |  } n( t |  } t | d  | j d  } d } | r | d s d } | d =q | s | d =| r d } q q n  g  } d } xD | D]< } | j t |   | r | d	 7} n  | t |  7} q Wd j	 |  | } | t |  7} | | f S(   NR1   s   Unsupported error handling u    i    R   R3   iu   .i   (   u    i    (
   R   R$   R(   R4   R5   R%   R   R/   R   R   (	   R6   R7   R8   R>   R9   R:   R-   R?   R   (    (    s$   /usr/lib/python2.7/encodings/idna.pyt   _buffer_decode   s8    

(   R;   R<   RB   (    (    (    s$   /usr/lib/python2.7/encodings/idna.pyRA      s   t   StreamWriterc           B   s   e  Z RS(    (   R;   R<   (    (    (    s$   /usr/lib/python2.7/encodings/idna.pyRC     s   t   StreamReaderc           B   s   e  Z RS(    (   R;   R<   (    (    (    s$   /usr/lib/python2.7/encodings/idna.pyRD     s   c           C   s@   t  j d d d t   j d t   j d t d t d t d t  S(	   Nt   namet   idnaR   R)   t   incrementalencodert   incrementaldecodert   streamwritert   streamreader(	   t   codecst	   CodecInfoR0   R   R)   R=   RA   RC   RD   (    (    (    s$   /usr/lib/python2.7/encodings/idna.pyt   getregentry  s    	(   R   t   reRK   R   R    t   compileR4   R"   R(   R!   R   R#   R/   R0   t   BufferedIncrementalEncoderR=   t   BufferedIncrementalDecoderRA   RC   RD   RM   (    (    (    s$   /usr/lib/python2.7/encodings/idna.pyt   <module>   s   $	0	+	)3"(