hyb
2025-12-31 6cdcd01f77e11b72c323603e27ebdb85b15223c9
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
Ë
hñúhèZã ó—ddlZddlZddlZddlZddlZddlmZddlm    Z    ddl
m Z ddl m Z ddlmZmZmZddlmZmZddlmZdd    lmZ    dd
lmZej:e«Zej@jCejDd «ej@jCejDd «ej@jCejDd «ej@jCejDdd«ej@jCejDdd«ej@jCejDdd«ej@jCejDdd«gZ#Gd„de «Z$y#e$rdZYŒ1wxYw)éN)Úlog)Ú SplashWriter)Úsplash_templates)ÚTarget)Ú_check_guts_eqÚ_check_guts_tocÚmisc)Úis_aixÚ    is_darwin)Ú    bindepend)Ú
tcltk_info)ÚImageú license.termsztext.tclztk.tclÚttkzttk.tclz    fonts.tclz cursors.tclz    utils.tclcó¾—eZdZdZd„Zdefdefdefdefdefdefd    efd
efd efd efd efdefdefdefdefdefdefdefdeffZd„Zd„Z    e
d„«Z d„Z e
d„«Z y)ÚSplasha
    Bundles the required resources for the splash screen into a file, which will be included in the CArchive.
 
    A Splash has two outputs, one is itself and one is stored in splash.binaries. Both need to be passed to other
    build targets in order to enable the splash screen.
    c ó
‡‡—ddlm}tj‰«tr t d«‚t js t d«‚tjd«‰j«tjj|«s#tjj|d|«}tjj|«}tjj!|«st#d|z«‚|‰_|j'dd    «‰_|j'd
d «‰_|j'd d «‰_|j'd d«‰_|j'dd«‰_|j'dd «‰_|j'dd«‰_|j'dd«‰_|j'dd«‰_|j'dd«‰_|j'dd«‰_tjj?‰j@«d}‰j*€
|dz‰_‰j,€
|dz‰_t jB‰_"‰jG‰jD|«‰_$tjKd‰jH«‰jM«‰_'t jP‰_)t jT‰_+‰jR€J‚‰jV€J‚tjKd‰jR«tjKd ‰jV«tYtjj[‰jR«tjj[‰jV«gt\¢«‰_.tjd!«t j^}‰j(r"‰j\jad"„|D««‰jR‰jVfDcgc]$}tjj[|«|d#f‘Œ&}    }tcjd|    «‰_3‰j\jad$„‰jfD««‰jHs$‰jfjiˆfd%„|D««tYd&„||z‰jfzD««Šˆfd'„}
tYtk|
‰j\««‰_.tjKd(‰j\«tlrÀtjj?‰jR«\} } | d)k(r/t jn\} }‰xjRd*| ›d+|›d,z c_)tjj?‰jV«\} } | d)k(r/t jp\}}‰xjVd-|›d+|›d,z c_+‰js«y cc}w).a×
        :param str image_file:
            A path-like object to the image to be used. Only the PNG file format is supported.
 
            .. note:: If a different file format is supplied and PIL (Pillow) is installed, the file will be converted
                automatically.
 
            .. note:: *Windows*: The color ``'magenta'`` / ``'#ff00ff'`` must not be used in the image or text, as it is
                used by splash screen to indicate transparent areas. Use a similar color (e.g., ``'#ff00fe'``) instead.
 
            .. note:: If PIL (Pillow) is installed and the image is bigger than max_img_size, the image will be resized
                to fit into the specified area.
        :param list binaries:
            The TOC list of binaries the Analysis build target found. This TOC includes all extension modules and their
            binary dependencies. This is required to determine whether the user's program uses `tkinter`.
        :param list datas:
            The TOC list of data the Analysis build target found. This TOC includes all data-file dependencies of the
            modules. This is required to check if all splash screen requirements can be bundled.
 
        :keyword text_pos:
            An optional two-integer tuple that represents the origin of the text on the splash screen image. The
            origin of the text is its lower left corner. A unit in the respective coordinate system is a pixel of the
            image, its origin lies in the top left corner of the image. This parameter also acts like a switch for
            the text feature. If omitted, no text will be displayed on the splash screen. This text will be used to
            show textual progress in onefile mode.
        :type text_pos: Tuple[int, int]
        :keyword text_size:
            The desired size of the font. If the size argument is a positive number, it is interpreted as a size in
            points. If size is a negative number, its absolute value is interpreted as a size in pixels. Default: ``12``
        :type text_size: int
        :keyword text_font:
            An optional name of a font for the text. This font must be installed on the user system, otherwise the
            system default font is used. If this parameter is omitted, the default font is also used.
        :keyword text_color:
            An optional color for the text. HTML color codes (``'#40e0d0'``) and color names (``'turquoise'``) are
            supported. Default: ``'black'``
            (Windows: the color ``'magenta'`` / ``'#ff00ff'`` is used to indicate transparency, and should not be used)
        :type text_color: str
        :keyword text_default:
            The default text which will be displayed before the extraction starts. Default: ``"Initializing"``
        :type text_default: str
        :keyword full_tk:
            By default Splash bundles only the necessary files for the splash screen (some tk components). This
            options enables adding full tk and making it a requirement, meaning all tk files will be unpacked before
            the splash screen can be started. This is useful during development of the splash screen script.
            Default: ``False``
        :type full_tk: bool
        :keyword minify_script:
            The splash screen is created by executing an Tcl/Tk script. This option enables minimizing the script,
            meaning removing all non essential parts from the script. Default: ``True``
        :keyword name:
            An optional alternative filename for the .res file. If not specified, a name is generated.
        :type name: str
        :keyword script_name:
            An optional alternative filename for the Tcl script, that will be generated. If not specified, a name is
            generated.
        :type script_name: str
        :keyword max_img_size:
            Maximum size of the splash screen image as a tuple. If the supplied image exceeds this limit, it will be
            resized to fit the maximum width (to keep the original aspect ratio). This option can be disabled by
            setting it to None. Default: ``(760, 480)``
        :type max_img_size: Tuple[int, int]
        :keyword always_on_top:
            Force the splashscreen to be always on top of other windows. If disabled, other windows (e.g., from other
            applications) can cover the splash screen by user bringing them to front. This might be useful for
            frozen applications with long startup times. Default: ``True``
        :type always_on_top: bool
        é)ÚCONFz/ERROR: Splash screen is not supported on macOS.z†ERROR: Your platform does not support the splash screen feature, since tkinter is not installed. Please install tkinter and try again.z>Verifying Tcl/Tk compatibility with splash screen requirementsÚspecpathzImage file '%s' not foundÚfull_tkFÚnameNÚ script_nameÚ minify_scriptTÚ max_img_size)iøiàÚtext_posÚ    text_sizeé Ú    text_fontÚ TkDefaultFontÚ
text_colorÚblackÚ text_defaultÚ InitializingÚ always_on_toprz.resz _script.tclzProgram uses tkinter: %rzUsing Tcl shared library: %rzUsing Tk shared library: %rz/Collect Tcl/Tk data files for the splash screenc3ó&K—|]    }|d–—Œ y­w©rN©©Ú.0Úentrys  úNH:\Change_password\venv_build\Lib\site-packages\PyInstaller/building/splash.pyú    <genexpr>z"Splash.__init__.<locals>.<genexpr>Ïsèø€Ò+M¸¨E°!­HÑ+Mùó‚ÚBINARYc3ó&K—|]    }|d–—Œ y­wr'r(r)s  r,r-z"Splash.__init__.<locals>.<genexpr>Úsèø€Ò'L°U¨¨a­Ñ'Lùr.c3óF•K—|]}|d‰jvsŒ|–—Œy­wr')Úsplash_requirements)r*r+Úselfs  €r,r-z"Splash.__init__.<locals>.<genexpr>ßs"øèø€Ò g¨5À%ÈÁ(Èd×NfÑNfÒBf¤Ñ gùsƒ!š!c3ó&K—|]    }|d–—Œ y­wr'r(r)s  r,r-z"Splash.__init__.<locals>.<genexpr>âsèø€ÒW¨5˜e AhÑWùr.có‚•—|‰vr:tjj|«dk(rytj    d|«yy)NrFz†The local Tcl/Tk installation is missing the file %s. The behavior of the splash screen is therefore undefined and may be unsupported.T)ÚosÚpathÚbasenameÚloggerÚwarning)ÚfilenameÚcollected_filess €r,Ú_filter_requirementz,Splash.__init__.<locals>._filter_requirementäsDø€Ø˜Ñ.ô—7‘7×#Ñ# HÓ-°Ò@Ø ä—‘ðBØCKôðØózSplash Requirements: %sz.az (libtcl.so.ú.ú)z
(libtk.so.):ÚconfigrrÚ__init__r Ú
SystemExitr Ú    availabler9ÚinfoÚ_check_tcl_tk_compatibilityr6r7ÚisabsÚjoinÚnormpathÚexistsÚ
ValueErrorÚ
image_fileÚgetrrrrrrrrr!r#r%ÚsplitextÚ tocfilenameÚtkinter_extension_fileÚ _tkinter_fileÚ _uses_tkinterÚ uses_tkinterÚdebugÚgenerate_scriptÚscriptÚtcl_shared_libraryÚtcl_libÚtk_shared_libraryÚtk_libÚsetr8r2Ú
data_filesÚupdater Úbinary_dependency_analysisÚbinariesÚextendÚfilterr
Ú tcl_versionÚ
tk_versionÚ __postinit__)r3rLr_ÚdatasÚkwargsrÚrootÚ
tcltk_treeÚsrc_nameÚ
tcltk_libsr=Ú_ÚextÚ    tcl_majorÚ    tcl_minorÚtk_majorÚtk_minorr<s`                @r,rBzSplash.__init__:s¿ù€õJ    "܏‰˜Ôõ ÜÐNÓOÐ Oô×#Ò#Üð8óð ô      ‰ ÐTÔUØ ×(Ñ(Ô*ôw‰w}‰}˜ZÔ(ÜŸ™Ÿ™ d¨:Ñ&6¸
ÓCˆJÜ—W‘W×%Ñ% jÓ1ˆ
܏w‰w~‰~˜jÔ)ÜÐ8¸:ÑEÓFÐ Fð%ˆŒØ—z‘z )¨UÓ3ˆŒ Ø—J‘J˜v tÓ,ˆŒ    Ø!Ÿ:™: m°TÓ:ˆÔØ#ŸZ™Z¨¸Ó>ˆÔØ"ŸJ™J ~°zÓBˆÔðŸ
™
 :¨tÓ4ˆŒ ØŸ™ K°Ó4ˆŒØŸ™ K°ÓAˆŒØ Ÿ*™* \°7Ó;ˆŒØ"ŸJ™J ~°~ÓFˆÔð$ŸZ™Z¨¸Ó>ˆÔôw‰w×Ñ × 0Ñ 0Ó1°!Ñ4ˆØ 9‰9Рؘv™ ˆDŒIØ × Ñ Ð #Ø# mÑ3ˆDÔ ô(×>Ñ>ˆÔð!×.Ñ.¨t×/AÑ/AÀ8ÓLˆÔ܏ ‰ Ð/°×1BÑ1BÔCØ×*Ñ*Ó,ˆŒ Ü!×4Ñ4ˆŒ Ü ×2Ñ2ˆŒ à|‰|Ð'Ð'Ð'؏{‰{Ð&Ð&Ð&ä ‰ Ð3°T·\±\ÔB܏ ‰ Ð2°D·K±KÔ@ä#&ô G‰G× Ñ ˜TŸ\™\Ó *Ü G‰G× Ñ ˜TŸ[™[Ó )ð    (
ô
!ð (
ó$ ˆÔ ô     ‰ ÐEÔFÜ×*Ñ*ˆ
Ø <Š<à × $Ñ $× +Ñ +Ñ+MÀ*Ô+MÔ MðY]×XdÑXdÐfj×fqÑfqÐWrÖsÈ8”r—w‘w×'Ñ'¨Ó1°8¸XÒFÐsˆ
ÐsÜ!×<Ñ<¸ZÓHˆŒ ð     × Ñ ×'Ñ'Ñ'L¸d¿m¹mÔ'LÔLð× Ò Ø M‰M×  Ñ  Ó g°JÔ gÔ gôÑW°XÀÑ5EÈÏ É Ñ5UÔWÓWˆô     ô $'¤vÐ.AÀ4×C[ÑC[Ó'\Ó#]ˆÔ ä ‰ Ð.°×0HÑ0HÔIõ Ü—W‘W×%Ñ% d§l¡lÓ3‰FˆAˆsؐdŠ{Ü'1×'=Ñ'=Ñ$    ˜9Ø— ’  +¨i¨[¸¸)¸ÀAРFÑF• Ü—W‘W×%Ñ% d§k¡kÓ2‰FˆAˆsؐdŠ{Ü%/×%:Ñ%:Ñ"˜(Ø— ’  ¨H¨:°Q°x°jÀÐBÑB• à ×ÑÕùòctsÐ)XrLrrrrrr!r#r%rrrrSrVrXrZr2r_rQcóЗtj|||«rytj|j«|kDr,t
j d|j|j«yy)NTz#Building %s because file %s changedF)rÚ _check_gutsr    ÚmtimerLr9rEÚ tocbasename)r3ÚdataÚ
last_builds   r,rrzSplash._check_guts$sR€Ü × Ñ ˜d D¨*Ô 5Øô :‰:d—o‘oÓ &¨Ò 3Ü K‰KÐ=¸t×?OÑ?OÐQU×Q`ÑQ`Ô aØàr>c    óà‡—tjd‰j«ˆfd„}t‰jd«}|j d«dk(r®|j d«tjd|j d««d    tjd|j d««d    f}|‰jkDr|‰j|«}nÿtjj‰j«}nÕtr¶tj‰jd
¬ «}|j‰jkDr|||j«}nGtj «}|j#|d ¬ «|j%«|j'«}tjd‰j«nt)d‰j›d«‚|j%«t+‰j‰j,tjj/‰j0«tjj/‰j2«t4j6|‰j8«y)NzBuilding Splash %scóÒ•—tr.|\}}‰
jd|z }|dkrt||z«}‰
jd}‰
jd|z }|dkrt||z«}‰
jd}t|tj«r|}ntj
|«}|j ||f«}tj«}|j|d¬«|j«|j«|j«}    tjd‰
j|||«|    Std|d|d‰
jd‰
jdfz«‚)NréÚPNG©Úformatz/Resized image %s from dimensions %r to (%d, %d)zíThe splash image dimensions (w: %d, h: %d) exceed max_img_size (w: %d, h:%d), but the image cannot be resized due to missing PIL.Image! Either install the Pillow package, adjust the max_img_size, or use an image of compatible dimensions.)ÚPILImagerÚintÚ
isinstancerÚopenÚresizeÚioÚBytesIOÚsaveÚcloseÚgetvaluer9rErLrK) Ú_imageÚ
_orig_sizeÚ_wÚ_hÚ_ratio_wÚ_ratio_hÚ_imgÚ _img_resizedÚ _image_streamÚ _image_datar3s           €r,Ú _resize_imagez&Splash.assemble.<locals>._resize_image3scø€ÞØ#‘BØ×,Ñ,¨QÑ/°"Ñ4Ø˜a’<ä˜R (™]Ó+BØ×*Ñ*¨1Ñ-Bà×,Ñ,¨QÑ/°"Ñ4Ø˜a’<ä˜R (™]Ó+BØ×*Ñ*¨1Ñ-Bô˜f¤h§n¡nÔ5Ø!‘Dä#Ÿ=™=¨Ó0DØ#Ÿ{™{¨B°¨8Ó4 ô!#§
¡
£  Ø×!Ñ! -¸Ð!Ô>Ø—
‘
” Ø×"Ñ"Ô$Ø+×4Ñ4Ó6 Ü— ‘ ÐMÈtÏÉÐ`jÐlnÐprÔsØ"Ð"ä ðNð  ‘] J¨q¡M°4×3DÑ3DÀQÑ3GÈ×IZÑIZÐ[\ÑI]Ð^ñ_óðr>Úrbés‰PNG
 
éz!IérÚr)Úmoderzr{z Converted image %s to PNG formatz
The image z’ needs to be converted to a PNG file, but PIL.Image is not available! Either install the Pillow package, or use a PNG image for you splash screen.)r9rErr€rLÚreadÚseekÚstructÚunpackrr6r7Úabspathr}Úsizer‚rƒr„r…r†rKrr2r8rXrZr Ú TK_ROOTNAMErV)r3r‘rLÚimg_sizeÚimageÚimgÚ
image_datas`      r,ÚassemblezSplash.assemble/sÁø€Ü ‰ Ð(¨$¯)©)Ô4ô$    ôN˜$Ÿ/™/¨4Ó0ˆ
ð ?‰?˜1Ó Ð!5Ò 5à O‰O˜BÔ ÜŸ ™  d¨J¯O©O¸AÓ,>Ó?ÀÑBÄFÇMÁMÐRVÐXb×XgÑXgÐhiÓXjÓDkÐlmÑDnÐoˆHà˜$×+Ñ+Ò+á% d§o¡o°xÓ@‘䟙Ÿ™¨¯©Ó8‘Ý ä—-‘- §¡°cÔ:ˆCàx‰x˜$×+Ñ+Ò+Ù% c¨3¯8©8Ó4‘äŸZ™Z›\
Ø—‘˜¨EÔ2Ø—    ‘    ” Ø"×+Ñ+Ó-Ü K‰KÐ:¸D¿O¹OÕ LåàOSÏËðaóð ð
    ×ÑÔäØ I‰IØ × $Ñ $Ü G‰G× Ñ ˜TŸ\™\Ó *Ü G‰G× Ñ ˜TŸ[™[Ó )Ü × "Ñ "Ø Ø K‰Kõ    
r>có¾—tj}tj}trtjr t d«‚|dks|dkrt jdg|¢|¢­Ž||k7rt jdg|¢|¢­Žtjs t d«‚tjtj€"d}tjs|dz }t |«‚y)Nz[ERROR: The splash screen feature does not support macOS system framework version of Tcl/Tk.)r“éz‘The installed Tcl/Tk (%d.%d / %d.%d) version might not work with the splash screen feature of the bootloader, which was tested against Tcl/Tk 8.6zqThe installed version of Tcl (%d.%d) and Tk (%d.%d) do not match. PyInstaller is tested against matching versionszqERROR: The installed Tcl version is not threaded. PyInstaller only supports the splash screen using threaded Tcl.zjERROR: Could not determine the path to Tcl and/or Tk shared library, which are required for splash screen.z§ The _tkinter module appears to be a built-in, which likely means that python was built with statically-linked Tcl/Tk libraries and is incompatible with splash screen.) r rbrcr Úis_macos_system_frameworkrCr9r:Ú tcl_threadedrWrYrP)rbrcÚmessages   r,rFz"Splash._check_tcl_tk_compatibility…sÿ€ä ×,Ñ,ˆ Ü×*Ñ*ˆ
å œ×=Ò=äØmóð ð
˜Ò  :°Ò#6Ü N‰NðBð àDOð àR\ó ð ˜*Ò $Ü N‰Nð$ð à&1ð à4>ó ô ×&Ò&äð&óð ô × (Ñ (Ð 0´J×4PÑ4PÐ4Xð8ð ô×4Ò4Øðañô˜WÓ%Ð %ð5Yr>c    óh—i}|jotjd«|j|jd|jd|j|j
|j |jdœ«tj||j¬«}|jrHdjd„td    „|j««D««}tj d
d |«}t#|j$d d ¬«5}|j'|«ddd«|S#1swY|SxYw)z†
        Generate the script for the splash screen.
 
        If minify_script is True, all unnecessary parts will be removed.
        Nz!Add text support to splash screenrry)Úpad_xÚpad_yÚcolorÚfontÚ    font_sizeÚ default_text)Ú text_optionsr%ú
c3óFK—|]}|jd«s|r|–—Œy­w)ú#N)Ú
startswith)r*Úlines  r,r-z)Splash.generate_script.<locals>.<genexpr>Çs'èø€òØØ—‘ sÔ+Ùôñùs‚!có"—|j«S)N)Ústrip)rµs r,ú<lambda>z(Splash.generate_script.<locals>.<lambda>Ès €°$·*±*³,€r>z +ú Úwzutf-8)Úencoding)rr9rTr]r!rrr#rÚ build_scriptr%rrHÚmapÚ
splitlinesÚreÚsubr€rÚwrite)r3ÚdrVÚ script_files    r,rUzSplash.generate_script²s€ð ˆØ =‰=Ð $Ü L‰LÐ<Ô =Ø H‰HØŸ™ qÑ)ØŸ™ qÑ)ØŸ™ØŸ™Ø!Ÿ^™^Ø $× 1Ñ 1ñ ô ô"×.Ñ.¸AÈT×M_ÑM_Ô`ˆà × Ò à—Y‘YñÜ!$Ñ%>À×@QÑ@QÓ@SÓ!TôóˆFô —V‘V˜D # vÓ.ˆFô$×"Ñ" C°'Ô :ð    &¸kØ × Ñ ˜fÔ %÷    &àˆ ÷    &àˆ ús Ä D'Ä'D1cóx—tj|«}|D] \}}}tj|«|k(sŒ yy)NTF)ÚpathlibÚPurePath)Ú tkinter_filer_Ú    dest_nameriÚtypecodes     r,rRzSplash._uses_tkinterÔsE€ô×'Ñ'¨ Ó5ˆ Ø-5ò    Ñ )ˆIx Ü×Ñ Ó)¨\Ó9Ùð    ðr>N)Ú__name__Ú
__module__Ú __qualname__Ú__doc__rBrrÚ_GUTSrrr£Ú staticmethodrFrUrRr(r>r,rr3sì„ñò Mðb
~Ð&Ø    Ð Ø    ˜Ð'Ø    ^Ð$Ø    nÐ%Ø    nÐ%Ø    ~Ð&Ø    ˜Ð(Ø    ˜.Ð)Ø    NÐ#Ø    ˜.Ð)Ø    ˜Ð(à    ˜Ð(Ø    >Ð"Ø    NÐ#Ø    >Ð"Ø     Ð/Ø    _Ð%ð
˜.Ð)ð1 €Eò6    òT
ðlñ*&óð*&òX ðDñóñr>r)%r‚r6r¿ršrÅÚ PyInstallerrÚloggingÚPyInstaller.archive.writersrÚPyInstaller.buildingrÚPyInstaller.building.datastructrÚPyInstaller.building.utilsrrr    ÚPyInstaller.compatr
r ÚPyInstaller.dependr ÚPyInstaller.utils.hooks.tcl_tkr ÚPILrr}Ú ImportErrorÚ    getLoggerrÊr9r7rHržr2rr(r>r,ú<module>rÜs+ðó
Û    Û    Û Ûå&Ý4Ý1Ý2ßLÑLß0Ý(Ý5ðÝ%ð
ˆ×    Ñ    ˜8Ó    $€ð‡GG‡LL×'Ñ'¨Ó9؇GG‡LL×'Ñ'¨Ó4؇GG‡LL×'Ñ'¨Ó2à‡GG‡LL×'Ñ'¨°    Ó:؇GG‡LL×'Ñ'¨° Ó<؇GG‡LL×'Ñ'¨° Ó>؇GG‡LL×'Ñ'¨° Ó<ð
ÐôiˆVõiøð/ò؃HðúsÁ E9Å9FÆF