ó
    Eñií  ã                  óÖ   • S SK Jr  SSKJrJr  SSKJr  S
S jr " S S\R                  5      r	\R                  " \	R                  \	\5        \R                  " \	R                  S5        g	)é    )Úannotationsé   )ÚImageÚ	ImageFile)Úi32bec                óv   • [        U 5      S:¬  =(       a%    [        U S5      S:¬  =(       a    [        U S5      S;   $ )Né   r   é   é   ©r   é   )ÚlenÚi32)Úprefixs    ÚO/home/mande/repo/quber/.venv/lib/python3.13/site-packages/PIL/GbrImagePlugin.pyÚ_acceptr       s1   € Üˆv‹;˜!Ñ×Q¤ F¨A£°"Ñ 4×Q¼¸VÀQ»È6Ñ9QÐQó    c                  ó0   • \ rS rSrSrSrSS jrS	S jrSrg)
ÚGbrImageFileé(   ÚGBRzGIMP brush filec                ó  • U R                   c   e[        U R                   R                  S5      5      nUS:  a  Sn[        U5      e[        U R                   R                  S5      5      nUS;  a  SU 3n[        U5      e[        U R                   R                  S5      5      n[        U R                   R                  S5      5      n[        U R                   R                  S5      5      nUS:X  d  US:X  a  Sn[        U5      eUS;  a  SU 3n[        U5      eUS	:X  a  US-
  nOdUS
-
  nU R                   R                  S5      nUS:w  a  Sn[        U5      e[        U R                   R                  S5      5      U R                  S'   U R                   R                  U5      S S U R                  S'   US	:X  a  SU l        OSU l        XE4U l        [        R                  " U R                  5        XE-  U-  U l
        g )Nr   r
   znot a GIMP brushr   z Unsupported GIMP brush version: r   )r   r   z$Unsupported GIMP brush color depth: r   é   s   GIMPz"not a GIMP brush, bad magic numberÚspacingéÿÿÿÿÚcommentÚLÚRGBA)Úfpr   ÚreadÚSyntaxErrorÚinfoÚ_modeÚ_sizer   Ú_decompression_bomb_checkÚsizeÚ
_data_size)	ÚselfÚheader_sizeÚmsgÚversionÚwidthÚheightÚcolor_depthÚcomment_lengthÚmagic_numbers	            r   Ú_openÚGbrImageFile._open,   s»  € Ø�w‰wÑ"Ð"Ð"Ü˜$Ÿ'™'Ÿ,™, q›/Ó*ˆØ˜ÓØ$ˆCÜ˜cÓ"Ð"Ü�d—g‘g—l‘l 1“oÓ&ˆØ˜&Ó Ø4°W°IÐ>ˆCÜ˜cÓ"Ð"ä�D—G‘G—L‘L “OÓ$ˆÜ�T—W‘W—\‘\ !“_Ó%ˆÜ˜$Ÿ'™'Ÿ,™, q›/Ó*ˆØ�A‹:˜ 1›Ø$ˆCÜ˜cÓ"Ð"Ø˜fÓ$Ø8¸¸ÐFˆCÜ˜cÓ"Ð"à�a‹<Ø(¨2Ñ-‰Nà(¨2Ñ-ˆNØŸ7™7Ÿ<™<¨›?ˆLØ˜wÓ&Ø:�Ü! #Ó&Ð&Ü#& t§w¡w§|¡|°A£Ó#7ˆD�I‰I�iÑ à#Ÿw™wŸ|™|¨NÓ;¸C¸RÐ@ˆ�	‰	�)Ñà˜!ÓØˆD�JàˆDŒJà�]ˆŒ
ô 	×'Ò'¨¯	©	Ô2ð  ™.¨;Ñ6ˆ�r   c                óR  • U R                   c|  U R                  c   e[        R                  R	                  U R
                  U R                  5      U l        U R                  U R                  R                  U R                  5      5        [        R                  R                  U 5      $ )N)Ú_imr   r   ÚcoreÚnewÚmoder&   ÚimÚ	frombytesr    r'   Úload)r(   s    r   r:   ÚGbrImageFile.loadZ   sl   € Ø�8‰8ÑØ—7‘7Ñ&Ð&Ð&Ü—j‘j—n‘n T§Y¡Y°·	±	Ó:ˆDŒGØ�N‰N˜4Ÿ7™7Ÿ<™<¨¯©Ó8Ô9Ü�{‰{×Ñ Ó%Ð%r   )r'   r#   r$   r8   N)ÚreturnÚNone)r<   zImage.core.PixelAccess | None)	Ú__name__Ú
__module__Ú__qualname__Ú__firstlineno__ÚformatÚformat_descriptionr1   r:   Ú__static_attributes__© r   r   r   r   (   s   † Ø€FØ*Ðô,7÷\&r   r   z.gbrN)r   Úbytesr<   Úbool)Ú
__future__r   Ú r   r   Ú_binaryr   r   r   r   Úregister_openrB   Úregister_extensionrE   r   r   Ú<module>rM      sY   ðõ4 #ç Ý !ôRô7&�9×&Ñ&ô 7&ð| × Ò �L×'Ñ'¨°wÔ ?Ø × Ò ˜×,Ñ,¨fÕ 5r   