§
    ¬	Êju!  ã            	      óÄ  — U d Z ddlmZ ddlmZ ddlmZmZ ddl	m
Z
mZmZ  e¦   «         Zej        Zded<   ej        Zded	<   ej        Zded
<   ej        Zded<   ej        Zded<   ej        Zded<    e¦   «         Zded<   de› d�Zded<   d                     e                     d¦  «        dd…         ¦  «        Z ded<   de › de › �Z!ded<   dZ"ded<   dZ#ded<   dZ$ded <    G d!„ d"e¦  «        Z% e%d#d$d%d&¬'¦  «         e%d(d)d*d&¬'¦  «         e%d+d,d-d&¬'¦  «         e%d.d/d0d&¬'¦  «        d1œZ&d2ed3<   dAd7„Z' e(e
¦  «        Z)d8Z*d9Z+ded:<   d;Z,ded<<   d=Z-ded><   d?Z.ded@<   dS )BaÍ  Constants. Everything that describes the engine is a projection of the seal.

No engine fact is hand-edited here. BINARY_VERSION and FIREFOX_UPSTREAM_VERSION
used to be two literals that had to move together, which is how a tag and a base
version could disagree inside one published commit. They, BUILD_ID, CONTRACT_N,
SEAL_DIGEST, SOURCE_COMMIT and everything computed from them (BINARY_BASENAME,
UA_VERSION, USER_AGENT, and ARCHIVE_NAME, which returns the sealed asset name
verbatim whenever the seal has assets) come out of seal.json, which CI generated
from the archives it published, so they cannot disagree with each other or with
the engine.

What IS hand-written, because no seal carries it: the "firefox-" / "-stealth"
affixes and the per-platform archive suffixes that surround the sealed version
in BINARY_BASENAME / ARCHIVE_NAME, RELEASE_URL_TEMPLATE (the repo that hosts the
releases), BINARY_ENTRY_REL (seal.DEFAULT_ENTRY_REL, the executable path inside
each archive), and the four GEOIP_* constants (a third-party repo, its asset
name and its download URL). Those move only when the hosting repo, the archive
layout or the upstream GeoIP project moves.

The NAMES are the binary/wrapper contract and never change.
é    )Úannotations)Ú
NamedTupleé   )ÚCORE_REVISIONÚ__version__)ÚDEFAULT_ENTRY_RELÚactive_sealÚnormalize_archÚstrÚBINARY_VERSIONÚFIREFOX_UPSTREAM_VERSIONÚBUILD_IDÚintÚ
CONTRACT_NÚSEAL_DIGESTÚSOURCE_COMMITzfrozenset[str]ÚBROKEN_VERSIONSzfirefox-z-stealthÚBINARY_BASENAMEú.Né   Ú
UA_VERSIONz-Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:z) Gecko/20100101 Firefox/Ú
USER_AGENTÚWin32ÚPLATFORM_OVERRIDEzWindows NT 10.0; Win64; x64ÚOSCPU_OVERRIDEé0   Ú
TASKBAR_PXc                  ó<   — e Zd ZU dZded<   ded<   ded<   ded<   dS )ÚWindowFramezOThe window frame of Windows Firefox at one display scale, in DEVICE
    pixels.r   ÚborderÚmaximized_uiÚpopup_uiÚpopup_positionN)Ú__name__Ú
__module__Ú__qualname__Ú__doc__Ú__annotations__© ó    úHC:\Projects\Muse2API\.venv\Lib\site-packages\invisible_core/constants.pyr   r   M   sJ   € € € € € € ðð ð
 €K€K�Kð ÐÐÑà€M€M�MàÐÐÑÐÐr*   r   é   éU   éH   é   )r    r!   r"   r#   é	   ék   éZ   é   é   éj   é   é©   é‹   )g      ð?g      ô?g      ø?g       @ÚdictÚWINDOW_FRAME_BY_DPRÚplatform_keyÚmachineÚreturnc                ó  — |                       ¦   «         }t          |¦  «        }t          j        s t                               ||¦  «        j        S |dk    rt          › d|› d�S |dk    rt          › d|› d�S t          d| › �¦  «        ‚)z¸The platform-specific archive filename, taken from the seal when it has
    assets (the sealed name is the published name, by construction) and
    reconstructed only for a local seal.Úwin32z-win-z.zipÚlinuxz-linux-z.tar.gzzunsupported platform: )Úlowerr
   Ú_SEALÚis_localÚ	asset_forÚnamer   ÚNotImplementedError)r;   r<   ÚpkÚarchs       r+   ÚARCHIVE_NAMErI   w   sœ   € ð 
×	Ò	Ñ	Ô	€BÝ˜'Ñ"Ô"€DÝŒ>ð 1Ý�Š˜r 7Ñ+Ô+Ô0Ð0Ø	ˆW‚}€}Ý!Ð2Ð2¨Ð2Ð2Ð2Ð2Ø	ˆW‚}€}Ý!Ð7Ð7¨$Ð7Ð7Ð7Ð7õ ÐE°|ÐEÐEÑ
FÔ
FÐFr*   zThttps://github.com/feder-cr/firefox_antidetect_patch/releases/download/{tag}/{asset}zdaijro/geoip-all-in-oneÚ
GEOIP_REPOzgeoip-aio-all.mmdb.zipÚGEOIP_ASSETzgeoip-aio-all.mmdbÚGEOIP_MMDB_NAMEzJhttps://github.com/daijro/geoip-all-in-one/releases/download/{tag}/{asset}ÚGEOIP_RELEASE_URL_TEMPLATE)r;   r   r<   r   r=   r   )/r'   Ú
__future__r   Útypingr   Ú_versionr   r   ÚPKG_VERSIONÚsealr   r	   r
   rB   Útagr   r(   Úupstream_versionr   Úbuild_idr   Ú
contract_nr   Údigestr   Úsource_commitr   Ú	frozensetr   r   ÚjoinÚsplitr   r   r   r   r   r   r:   rI   r9   ÚBINARY_ENTRY_RELÚRELEASE_URL_TEMPLATErJ   rK   rL   rM   r)   r*   r+   ú<module>r^      s  ððð ð ð* #Ð "Ð "Ð "Ð "Ð "à Ð Ð Ð Ð Ð à ?Ð ?Ð ?Ð ?Ð ?Ð ?Ð ?Ð ?Ø @Ð @Ð @Ð @Ð @Ð @Ð @Ð @Ð @Ð @àˆ‰Œ€à”i€Ð Ð Ð Ñ Ø %Ô 6Ð Ð 6Ð 6Ð 6Ñ 6ð
 ”€Ð Ð Ð Ñ ØÔ"€
Ð "Ð "Ð "Ñ "Ø”<€Ð Ð Ð Ñ ØÔ(€Ð (Ð (Ð (Ñ (ð
 #, )¡+¤+€Ð -Ð -Ð -Ñ -àDÐ":ÐDÐDÐD€Ð DÐ DÐ DÑ Dð —(’(Ð3×9Ò9¸#Ñ>Ô>¸rÀ¸rÔBÑCÔC€
Ð CÐ CÐ CÑ Cð+°Jð +ð +Ø(ð+ð +ð ð ð ð ñ ð !Ð Ð  Ð  Ð  Ñ  Ø3€Ð 3Ð 3Ð 3Ñ 3ð €
Ð Ð Ð Ñ ðð ð ð ð �*ñ ô ð ðD 
ˆ˜A¨B¸ÈAÐ	NÑ	NÔ	NØ
ˆ+˜Q¨S¸2ÈaÐ
PÑ
PÔ
PØ	ˆ˜B¨S¸3ÈqÐ	QÑ	QÔ	QØ	ˆ˜B¨S¸3ÈqÐ	QÑ	QÔ	Qð	ð Ð ð ð ð ñ ðGð Gð Gð Gð$ �4Ð)Ñ*Ô*Ð ð [ð ð ,€
Ð +Ð +Ð +Ñ +Ø+€Ð +Ð +Ð +Ñ +Ø+€Ð +Ð +Ð +Ñ +àPð ð ð ð ñ ð ð r*   