ó
    †(phû  ã                   ó    • S SK Jr   " S S5      r " S S\5      r " S S\5      r " S S	\5      r " S
 S\5      r " S S\5      r\\\\\/rg)é    )Ú	ProtoTypec                   ó4   • \ rS rSrSrSS.S\4S jjrS rSrg)	ÚStringyNumberRuleé   a)  A marshal between certain numeric types and strings

This is a necessary hack to allow round trip conversion
from messages to dicts back to messages.

See https://github.com/protocolbuffers/protobuf/issues/2679
and
https://developers.google.com/protocol-buffers/docs/proto3#json
for more details.
N)Úabsentr   c                ó   • U$ ©N© )ÚselfÚvaluer   s      ÚV/var/www/html/venv/lib/python3.13/site-packages/proto/marshal/rules/stringy_numbers.pyÚ	to_pythonÚStringyNumberRule.to_python   s   € Øˆó    c                 ó,   • Ub  U R                  U5      $ g r	   )Ú_python_type)r   r   s     r   Úto_protoÚStringyNumberRule.to_proto!   s   € ØÑØ×$Ñ$ UÓ+Ð+àr   r
   )	Ú__name__Ú
__module__Ú__qualname__Ú__firstlineno__Ú__doc__Úboolr   r   Ú__static_attributes__r
   r   r   r   r      s   † ñ	ð 26ò ¨$õ õr   r   c                   ó0   • \ rS rSr\r\R                  rSr	g)Ú	Int64Ruleé(   r
   N)
r   r   r   r   Úintr   r   ÚINT64Ú_proto_typer   r
   r   r   r   r   (   s   † Ø€LØ—/‘/ƒKr   r   c                   ó0   • \ rS rSr\r\R                  rSr	g)Ú
UInt64Ruleé-   r
   N)
r   r   r   r   r   r   r   ÚUINT64r!   r   r
   r   r   r#   r#   -   ó   † Ø€LØ×"Ñ"ƒKr   r#   c                   ó0   • \ rS rSr\r\R                  rSr	g)Ú
SInt64Ruleé2   r
   N)
r   r   r   r   r   r   r   ÚSINT64r!   r   r
   r   r   r(   r(   2   r&   r   r(   c                   ó0   • \ rS rSr\r\R                  rSr	g)ÚFixed64Ruleé7   r
   N)
r   r   r   r   r   r   r   ÚFIXED64r!   r   r
   r   r   r,   r,   7   s   † Ø€LØ×#Ñ#ƒKr   r,   c                   ó0   • \ rS rSr\r\R                  rSr	g)ÚSFixed64Ruleé<   r
   N)
r   r   r   r   r   r   r   ÚSFIXED64r!   r   r
   r   r   r0   r0   <   s   † Ø€LØ×$Ñ$ƒKr   r0   N)	Úproto.primitivesr   r   r   r#   r(   r,   r0   ÚSTRINGY_NUMBER_RULESr
   r   r   Ú<module>r5      sn   ðõ '÷ñ ô,"Ð!ô "ô
#Ð"ô #ô
#Ð"ô #ô
$Ð#ô $ô
%Ð$ô %ð ØØØØðÑ r   