+
    `åµje  ã                   óÄ   € ^ RI t ^ RIHtHtHtHt ^ RIHt ]'       d	   ^ RIH	t	H
t
 ]]]]],          ]]]3,          3,          3,          t ! R R4      t ! R R]4      tR# )	é    N)ÚTYPE_CHECKINGÚAnyÚOptionalÚUnion©ÚQRModuleDrawer)ÚActiveWithNeighborsÚQRCodec                   ó  a € ] tR t^t o RtRtRtRtRtRt	R t
]P                  R 4       tV 3R lR ltR	 t]P                  RR
 l4       tR t]P                  V 3R lR l4       tR tR tRR ltV 3R lR ltV 3R ltRtV tR# )Ú	BaseImagez!
Base QRCode image output class.
NFTc                ó  € Wn         W n        W0n        V P                  V P                   ^,          ,           V P                  ,          V n        VP	                  R4      V n        V P                  ! R/ VB V n        V P                  4        R# )é   Úqrcode_modulesN© )	ÚborderÚwidthÚbox_sizeÚ
pixel_sizeÚpopÚmodulesÚ	new_imageÚ_imgÚinit_new_image)Úselfr   r   r   ÚargsÚkwargss   &&&&*,ÚL/var/www/html/bestweb/venv/lib/python3.14/site-packages/qrcode/image/base.pyÚ__init__ÚBaseImage.__init__   sb   € ØŒØŒ
Ø ŒØŸ:™:¨¯©°a­Õ7¸4¿=¹=ÕHˆŒØ—z‘zÐ"2Ó3ˆŒØ—N’NÑ, VÑ,ˆŒ	Ø×ÑÖó    c                ó   € R# )z)
Draw a single rectangle of the QR code.
Nr   ©r   ÚrowÚcols   &&&r   ÚdrawrectÚBaseImage.drawrect!   ó   ‚ r    c                ó*   <€ V ^8„  d   QhRS[ RS[ RR/# ©r   r#   r$   Úqrr
   ©Úint)ÚformatÚ__classdict__s   "€r   Ú__annotate__ÚBaseImage.__annotate__'   s'   ø€ ÷ @ñ @¡Cð @©cð @°xñ @r    c                ó   € \        R4      h)zF
Draw a single rectangle of the QR code given the surrounding context
zBaseImage.drawrect_context©ÚNotImplementedError)r   r#   r$   r*   s   &&&&r   Údrawrect_contextÚBaseImage.drawrect_context'   s   € ô "Ð">Ó?Ð?r    c                ó   € \        R4      h)z$
Processes QR code after completion
zBaseImage.drawimager2   ©r   s   &r   ÚprocessÚBaseImage.process-   s   € ô "Ð"7Ó8Ð8r    c                ó   € R# )z
Save the image file.
Nr   )r   ÚstreamÚkinds   &&&r   ÚsaveÚBaseImage.save3   r'   r    c                óø   € W P                   ,           V P                  ,          pWP                   ,           V P                  ,          pW43W0P                  ,           ^,
          W@P                  ,           ^,
          33# )zo
A helper method for pixel-based image generators that specifies the
four pixel coordinates for a single rect.
)r   r   )r   r#   r$   ÚxÚys   &&&  r   Ú	pixel_boxÚBaseImage.pixel_box9   s]   € ð
 —;‘;Õ $§-¡-Õ/ˆØ—;‘;Õ $§-¡-Õ/ˆàˆFØ—‘Õ Õ" A¯©Õ$5¸Õ$9Ð:ð
ð 	
r    c                ó    <€ V ^8„  d   QhRS[ /# ©r   Úreturn)r   )r-   r.   s   "€r   r/   r0   F   s   ø€ ÷ ñ ¡Sñ r    c                ó   € R# )zD
Build the image class. Subclasses should return the class created.
Nr   ©r   r   s   &,r   r   ÚBaseImage.new_imageE   r'   r    c                ó   € R # ©Nr   r7   s   &r   r   ÚBaseImage.init_new_imageK   s   € Ùr    c                ó   € V P                   # )z0
Return the image class for further processing.
)r   rH   s   &,r   Ú	get_imageÚBaseImage.get_imageN   s   € ð �y‰yÐr    c                ó  € Vf   V P                   pV P                  '       * ;'       g    WP                  9   pV'       d   V! V4      pV'       g   WP                  9   pV'       g%   \        R\        V 4      P                   RV 24      hV# )z
Get the image type.
zCannot set z	 type to )r<   Úallowed_kindsÚ
ValueErrorÚtypeÚ__name__)r   r<   Ú	transformÚalloweds   &&& r   Ú
check_kindÚBaseImage.check_kindT   sy   € ð Š<Ø—9‘9ˆDØ×(Ñ(Ô(×FÐF¨D×4FÑ4FÑ,FˆßÙ˜T“?ˆDßØ×"4Ñ"4Ñ4�ßÜ˜{¬4°«:×+>Ñ+>Ð*?¸yÈÈÐOÓPÐPØˆr    c                ó&   <€ V ^8„  d   QhRS[ RS[ /# )r   r#   r$   r+   )r-   r.   s   "€r   r/   r0   c   s   ø€ ÷ 
ñ 
™#ð 
¡Cñ 
r    c                óÒ   € V^8  ;'       d    V^8  ;'       gO    V^8  ;'       d    V P                   V,
          ^8  ;'       g$    V P                   V,
          ^8  ;'       d    V^8  # )z2
Find whether the referenced module is in an eye.
)r   r"   s   &&&r   Úis_eyeÚBaseImage.is_eyec   sj   € ð
 �1‰W× Ð ˜˜q™÷ 2ð 2Ø�a‘×0Ð0˜DŸJ™J¨Õ,¨qÑ0÷2ð 2à—
‘
˜SÕ  1Ñ$×0Ð0¨¨q©ð	
r    c                ób   <€ V ^8„  d   Qh/ S[ S[,          ;R&   S[ S[S[,          ,          ;R&   # )r   r<   rQ   )r   ÚstrÚtuple)r-   r.   s   "€r   r/   r0      s,   ø‡ ‚ ñ
 ‘3�-Ññ ñ ™E¡#�JÕ'Ñ.ò r    )r   r   r   r   r   r   rK   )rT   Ú
__module__Ú__qualname__Ú__firstlineno__Ú__doc__r<   rQ   Úneeds_contextÚneeds_processingÚneeds_drawrectr   ÚabcÚabstractmethodr%   r4   r8   r=   rB   r   r   rN   rW   r[   Ú__annotate_func__Ú__static_attributes__Ú__classdictcell__)r.   s   @r   r   r      s°   ø‡ € ñð €DØ*.€MØ€MØÐØ€Nòð 	×Ññó ð÷
@ð @ò9ð 	×Ñóó ðò


ð 	×Ñ÷ó ðò
òô÷
ð 
÷m ƒ r    r   c                   ó²   a a€ ] tR t^nt o/ tV3R lR ltV3R lR ltRtRRRR/V3R	 lV 3R
 llltV3R lR lt	V 3R lt
V3R lR ltV3R ltRtVtV ;t# )ÚBaseImageWithDrawerc                ó    <€ V ^8„  d   QhRS[ /# rE   r   )r-   r.   s   "€r   r/   Ú BaseImageWithDrawer.__annotate__r   s   ø€ ÷ +ñ +©>ñ +r    c                ó"   € V P                  4       # rK   ©Údefault_drawer_classr7   s   &r   Úget_default_module_drawerÚ-BaseImageWithDrawer.get_default_module_drawerr   ó   € Ø×(Ñ(Ó*Ð*r    c                ó    <€ V ^8„  d   QhRS[ /# rE   r   )r-   r.   s   "€r   r/   ro   u   s   ø€ ÷ +ñ +©ñ +r    c                ó"   € V P                  4       # rK   rq   r7   s   &r   Úget_default_eye_drawerÚ*BaseImageWithDrawer.get_default_eye_draweru   ru   r    TÚmodule_drawerNÚ
eye_drawerc                óV   <€ V ^8„  d   QhRS[ S[S[R3,          RS[ S[S[R3,          /# )r   rz   Nr{   )r   r   r^   )r-   r.   s   "€r   r/   ro   }   s9   ø€ ÷ *ñ *ñ ™^©S°$Ð6Õ7ð*ñ ™.©#¨tÐ3Õ4ñ	*r    c               óà   <€ V P                  V4      ;'       g    V P                  4       V n        V P                  V4      ;'       g    V P                  4       V n        \
        SV `  ! V/ VB  R # rK   )Ú
get_drawerrs   rz   rx   r{   Úsuperr   )r   rz   r{   r   r   Ú	__class__s   &$$*,€r   r   ÚBaseImageWithDrawer.__init__}   s_   ø€ ð �O‰O˜MÓ*×NÐN¨d×.LÑ.LÓ.Nð 	Ôð Ÿ/™/¨*Ó5×VÐV¸×9TÑ9TÓ9VˆŒÜ‰Ò˜$Ð) &Ô)r    c                óN   <€ V ^8„  d   QhRS[ S[S[R3,          RS[S[,          /# )r   ÚdrawerNrF   )r   r   r^   r   )r-   r.   s   "€r   r/   ro   �   s.   ø€ ÷ $ñ $Ù™N©C°Ð5Õ6ð$á	‘.Õ	!ñ$r    c                ól   € \        V\        4      '       g   V# V P                  V,          w  r#V! R/ VB # )Nr   )Ú
isinstancer^   Údrawer_aliases)r   rƒ   Ú
drawer_clsr   s   &&  r   r~   ÚBaseImageWithDrawer.get_drawer�   s7   € ô ˜&¤#×&Ò&ØˆMØ!×0Ñ0°Õ8Ñˆ
ÙÑ#˜FÑ#Ð#r    c                ó�   <€ V P                   P                  V R 7       V P                  P                  V R 7       \        SV `  4       # ))Úimg)rz   Ú
initializer{   r   r   )r   r€   s   &€r   r   Ú"BaseImageWithDrawer.init_new_image•   s=   ø€ Ø×Ñ×%Ñ%¨$Ð%Ô/Ø�‰×"Ñ" tÐ"Ô,ä‰wÑ%Ó'Ð'r    c                ó*   <€ V ^8„  d   QhRS[ RS[ RR/# r)   r+   )r-   r.   s   "€r   r/   ro   ›   s"   ø€ ÷ 	(ñ 	(¡Cð 	(©cð 	(°xñ 	(r    c                ó4  € V P                  W4      pV P                  W4      '       d   V P                  MV P                  pVP                  '       d   VP                  W4      M"\        VP                  V,          V,          4      pVP                  WF4       R # rK   )	rB   r[   r{   rz   Úneeds_neighborsÚactive_with_neighborsÚboolr   r%   )r   r#   r$   r*   Úboxrƒ   Ú	is_actives   &&&&   r   r4   Ú$BaseImageWithDrawer.drawrect_context›   su   € Ø�n‰n˜SÓ&ˆØ$(§K¡K°×$9Ò$9�—’¸t×?QÑ?Qˆð ×%×%Ð%ð ×$Ñ$ SÔ.ä�b—j‘j •o cÕ*Ó+ð 	ð 	�‰˜Ö'r    c                óV   <€ V ^8„  d   Qh/ S[ S[,          ;R&   S[;R&   R;R&   R;R&   # )r   rr   r†   r   rz   r{   )rS   r   ÚDrawerAliases)r-   r.   s   "€r   r/   ro   n   s:   ø‡ ‚ Ù™~Õ.Ñ.ñ á!Ñ&ñ ð $Ñ#ñ ð !Ñ ò r    )r{   rz   )rT   r`   ra   rb   r†   rs   rx   rd   r   r~   r   r4   ri   rj   rk   Ú__classcell__)r€   r.   s   @@r   rm   rm   n   sd   ù‡ € à$&€N÷+ð +÷+ð +ð €Mð
*ð ;?ð*ð 8<÷	*õ *÷ $ð $õ(÷	(ð 	(÷[ … r    rm   )rg   Útypingr   r   r   r   Ú&qrcode.image.styles.moduledrawers.baser   Úqrcode.mainr	   r
   Údictr^   r_   rS   r–   r   rm   r   r    r   Ú<module>rœ      sX   ðÛ 
ß 6Ó 6å Açß7ð �S˜%  ^Õ 4°d¸3À¸8µnÐ DÕEÐEÕF€÷^
ñ ^
ôB6(˜)ö 6(r    