§
    ïyIfÑV  ã                  óŠ  — d Z ddlmZ ddlZddlZddlmZ ddlmZ ddl	m
Z
 ddl	mZ erdd	lmZ dd
lmZ d=d„Z e¦   «         ZeZ	 	 	 	 	 d>d?d„Z	 	 	 	 	 d>d@d„Z	 	 	 	 	 d>d?d„Z	 	 	 	 	 d>d@d„Z	 	 	 	 	 dAdBd„Z	 	 	 	 	 dAdBd „Z	 	 	 	 	 d>d?d!„Z	 	 	 	 	 dAdBd"„ZdCd#„ZdCd$„ZdCd%„ZdCd&„ZdCd'„ZdCd(„Z 	 	 	 	 	 dAdBd)„Z!	 	 	 	 	 dAdBd*„Z"	 	 	 	 	 d>dDd,„Z#	 	 	 	 	 d>dEd-„Z$	 	 	 	 	 d>dDd.„Z%	 	 	 	 	 d>dEd/„Z&	 	 	 	 	 dAdFd0„Z'	 	 	 	 	 dAdFd1„Z(	 	 	 	 	 d>dDd2„Z)	 	 	 	 	 dAdFd3„Z*dGd4„Z+dGd5„Z,dGd6„Z-dGd7„Z.dGd8„Z/dGd9„Z0	 	 	 	 	 dAdFd:„Z1	 	 	 	 	 dAdFd;„Z2g d<¢Z3dS )Hz‚
Utilities for determining application-specific dirs.

See <https://github.com/platformdirs/platformdirs> for details and usage.

é    )ÚannotationsN)ÚTYPE_CHECKINGé   )ÚPlatformDirsABC)Ú__version__)Ú__version_tuple__)ÚPath)ÚLiteralÚreturnútype[PlatformDirsABC]c                 óR  — t           j        dk    rddlm}  nt           j        dk    rddlm}  nddlm}  t          j	        d¦  «        dk    rZt          j	        d	¦  «        d
k    rBt          j	        d¦  «        st          j	        d¦  «        r| S ddl
m}  |¦   «         �ddl
m} |S | S )NÚwin32r   )ÚWindowsÚdarwin)ÚMacOS)ÚUnixÚANDROID_DATAz/dataÚANDROID_ROOTz/systemÚSHELLÚPREFIX)Ú_android_folder)ÚAndroid)ÚsysÚplatformÚplatformdirs.windowsr   Úplatformdirs.macosr   Úplatformdirs.unixr   ÚosÚgetenvÚplatformdirs.androidr   r   )ÚResultr   r   s      úI/var/www/piapp/venv/lib/python3.11/site-packages/platformdirs/__init__.pyÚ_set_platform_dir_classr#      så   € Ý
„|�wÒÐØ:Ð:Ð:Ð:Ð:Ð:Ð:Ý	Œ˜Ò	!Ð	!Ø6Ð6Ð6Ð6Ð6Ð6Ð6à4Ð4Ð4Ð4Ð4Ð4å	„y�Ñ Ô  GÒ+Ð+µ´	¸.Ñ0IÔ0IÈYÒ0VÐ0VÝŒ9�WÑÔð 	¥¤¨8Ñ!4Ô!4ð 	ØˆMà8Ð8Ð8Ð8Ð8Ð8àˆ?ÑÔÐ(Ø4Ð4Ð4Ð4Ð4Ð4àˆNà€Mó    FÚappnameú
str | NoneÚ	appauthorústr | None | Literal[False]ÚversionÚroamingÚboolÚensure_existsÚstrc                ó4   — t          | ||||¬¦  «        j        S )aÑ  
    :param appname: See `appname <platformdirs.api.PlatformDirsABC.appname>`.
    :param appauthor: See `appauthor <platformdirs.api.PlatformDirsABC.appauthor>`.
    :param version: See `version <platformdirs.api.PlatformDirsABC.version>`.
    :param roaming: See `roaming <platformdirs.api.PlatformDirsABC.roaming>`.
    :param ensure_exists: See `ensure_exists <platformdirs.api.PlatformDirsABC.ensure_exists>`.
    :returns: data directory tied to the user
    ©r%   r'   r)   r*   r,   )ÚPlatformDirsÚuser_data_dirr/   s        r"   r1   r1   1   ó/   € õ ØØØØØ#ðñ ô ô ðr$   Ú	multipathc                ó4   — t          | ||||¬¦  «        j        S )aÔ  
    :param appname: See `appname <platformdirs.api.PlatformDirsABC.appname>`.
    :param appauthor: See `appauthor <platformdirs.api.PlatformDirsABC.appauthor>`.
    :param version: See `version <platformdirs.api.PlatformDirsABC.version>`.
    :param multipath: See `roaming <platformdirs.api.PlatformDirsABC.multipath>`.
    :param ensure_exists: See `ensure_exists <platformdirs.api.PlatformDirsABC.ensure_exists>`.
    :returns: data directory shared by users
    ©r%   r'   r)   r3   r,   )r0   Úsite_data_dirr5   s        r"   r6   r6   I   s/   € õ ØØØØØ#ðñ ô ô ðr$   c                ó4   — t          | ||||¬¦  «        j        S )aÓ  
    :param appname: See `appname <platformdirs.api.PlatformDirsABC.appname>`.
    :param appauthor: See `appauthor <platformdirs.api.PlatformDirsABC.appauthor>`.
    :param version: See `version <platformdirs.api.PlatformDirsABC.version>`.
    :param roaming: See `roaming <platformdirs.api.PlatformDirsABC.roaming>`.
    :param ensure_exists: See `ensure_exists <platformdirs.api.PlatformDirsABC.ensure_exists>`.
    :returns: config directory tied to the user
    r/   )r0   Úuser_config_dirr/   s        r"   r8   r8   a   ó/   € õ ØØØØØ#ðñ ô ô ðr$   c                ó4   — t          | ||||¬¦  «        j        S )aÚ  
    :param appname: See `appname <platformdirs.api.PlatformDirsABC.appname>`.
    :param appauthor: See `appauthor <platformdirs.api.PlatformDirsABC.appauthor>`.
    :param version: See `version <platformdirs.api.PlatformDirsABC.version>`.
    :param multipath: See `roaming <platformdirs.api.PlatformDirsABC.multipath>`.
    :param ensure_exists: See `ensure_exists <platformdirs.api.PlatformDirsABC.ensure_exists>`.
    :returns: config directory shared by the users
    r5   )r0   Úsite_config_dirr5   s        r"   r;   r;   y   s/   € õ ØØØØØ#ðñ ô ô ðr$   TÚopinionc                ó4   — t          | ||||¬¦  «        j        S )aÒ  
    :param appname: See `appname <platformdirs.api.PlatformDirsABC.appname>`.
    :param appauthor: See `appauthor <platformdirs.api.PlatformDirsABC.appauthor>`.
    :param version: See `version <platformdirs.api.PlatformDirsABC.version>`.
    :param opinion: See `roaming <platformdirs.api.PlatformDirsABC.opinion>`.
    :param ensure_exists: See `ensure_exists <platformdirs.api.PlatformDirsABC.ensure_exists>`.
    :returns: cache directory tied to the user
    ©r%   r'   r)   r<   r,   )r0   Úuser_cache_dirr>   s        r"   r?   r?   ‘   ó/   € õ ØØØØØ#ðñ ô ô ðr$   c                ó4   — t          | ||||¬¦  «        j        S ©aÒ  
    :param appname: See `appname <platformdirs.api.PlatformDirsABC.appname>`.
    :param appauthor: See `appauthor <platformdirs.api.PlatformDirsABC.appauthor>`.
    :param version: See `version <platformdirs.api.PlatformDirsABC.version>`.
    :param opinion: See `opinion <platformdirs.api.PlatformDirsABC.opinion>`.
    :param ensure_exists: See `ensure_exists <platformdirs.api.PlatformDirsABC.ensure_exists>`.
    :returns: cache directory tied to the user
    r>   )r0   Úsite_cache_dirr>   s        r"   rC   rC   ©   r@   r$   c                ó4   — t          | ||||¬¦  «        j        S )aÒ  
    :param appname: See `appname <platformdirs.api.PlatformDirsABC.appname>`.
    :param appauthor: See `appauthor <platformdirs.api.PlatformDirsABC.appauthor>`.
    :param version: See `version <platformdirs.api.PlatformDirsABC.version>`.
    :param roaming: See `roaming <platformdirs.api.PlatformDirsABC.roaming>`.
    :param ensure_exists: See `ensure_exists <platformdirs.api.PlatformDirsABC.ensure_exists>`.
    :returns: state directory tied to the user
    r/   )r0   Úuser_state_dirr/   s        r"   rE   rE   Á   r@   r$   c                ó4   — t          | ||||¬¦  «        j        S )aÐ  
    :param appname: See `appname <platformdirs.api.PlatformDirsABC.appname>`.
    :param appauthor: See `appauthor <platformdirs.api.PlatformDirsABC.appauthor>`.
    :param version: See `version <platformdirs.api.PlatformDirsABC.version>`.
    :param opinion: See `roaming <platformdirs.api.PlatformDirsABC.opinion>`.
    :param ensure_exists: See `ensure_exists <platformdirs.api.PlatformDirsABC.ensure_exists>`.
    :returns: log directory tied to the user
    r>   )r0   Úuser_log_dirr>   s        r"   rG   rG   Ù   s/   € õ ØØØØØ#ðñ ô ô ðr$   c                 ó(   — t          ¦   «         j        S )z.:returns: documents directory tied to the user)r0   Úuser_documents_dir© r$   r"   rI   rI   ñ   ó   € å‰>Œ>Ô,Ð,r$   c                 ó(   — t          ¦   «         j        S )z.:returns: downloads directory tied to the user)r0   Úuser_downloads_dirrJ   r$   r"   rM   rM   ö   rK   r$   c                 ó(   — t          ¦   «         j        S )z-:returns: pictures directory tied to the user)r0   Úuser_pictures_dirrJ   r$   r"   rO   rO   û   ó   € å‰>Œ>Ô+Ð+r$   c                 ó(   — t          ¦   «         j        S )z+:returns: videos directory tied to the user)r0   Úuser_videos_dirrJ   r$   r"   rR   rR      ó   € å‰>Œ>Ô)Ð)r$   c                 ó(   — t          ¦   «         j        S )z*:returns: music directory tied to the user)r0   Úuser_music_dirrJ   r$   r"   rU   rU     s   € å‰>Œ>Ô(Ð(r$   c                 ó(   — t          ¦   «         j        S )z,:returns: desktop directory tied to the user)r0   Úuser_desktop_dirrJ   r$   r"   rW   rW   
  ó   € å‰>Œ>Ô*Ð*r$   c                ó4   — t          | ||||¬¦  «        j        S )aÔ  
    :param appname: See `appname <platformdirs.api.PlatformDirsABC.appname>`.
    :param appauthor: See `appauthor <platformdirs.api.PlatformDirsABC.appauthor>`.
    :param version: See `version <platformdirs.api.PlatformDirsABC.version>`.
    :param opinion: See `opinion <platformdirs.api.PlatformDirsABC.opinion>`.
    :param ensure_exists: See `ensure_exists <platformdirs.api.PlatformDirsABC.ensure_exists>`.
    :returns: runtime directory tied to the user
    r>   )r0   Úuser_runtime_dirr>   s        r"   rZ   rZ     ó/   € õ ØØØØØ#ðñ ô ô ðr$   c                ó4   — t          | ||||¬¦  «        j        S )aÓ  
    :param appname: See `appname <platformdirs.api.PlatformDirsABC.appname>`.
    :param appauthor: See `appauthor <platformdirs.api.PlatformDirsABC.appauthor>`.
    :param version: See `version <platformdirs.api.PlatformDirsABC.version>`.
    :param opinion: See `opinion <platformdirs.api.PlatformDirsABC.opinion>`.
    :param ensure_exists: See `ensure_exists <platformdirs.api.PlatformDirsABC.ensure_exists>`.
    :returns: runtime directory shared by users
    r>   )r0   Úsite_runtime_dirr>   s        r"   r]   r]   '  r[   r$   r	   c                ó4   — t          | ||||¬¦  «        j        S )aÌ  
    :param appname: See `appname <platformdirs.api.PlatformDirsABC.appname>`.
    :param appauthor: See `appauthor <platformdirs.api.PlatformDirsABC.appauthor>`.
    :param version: See `version <platformdirs.api.PlatformDirsABC.version>`.
    :param roaming: See `roaming <platformdirs.api.PlatformDirsABC.roaming>`.
    :param ensure_exists: See `ensure_exists <platformdirs.api.PlatformDirsABC.ensure_exists>`.
    :returns: data path tied to the user
    r/   )r0   Úuser_data_pathr/   s        r"   r_   r_   ?  r@   r$   c                ó4   — t          | ||||¬¦  «        j        S )aÑ  
    :param appname: See `appname <platformdirs.api.PlatformDirsABC.appname>`.
    :param appauthor: See `appauthor <platformdirs.api.PlatformDirsABC.appauthor>`.
    :param version: See `version <platformdirs.api.PlatformDirsABC.version>`.
    :param multipath: See `multipath <platformdirs.api.PlatformDirsABC.multipath>`.
    :param ensure_exists: See `ensure_exists <platformdirs.api.PlatformDirsABC.ensure_exists>`.
    :returns: data path shared by users
    r5   )r0   Úsite_data_pathr5   s        r"   ra   ra   W  s/   € õ ØØØØØ#ðñ ô ô ðr$   c                ó4   — t          | ||||¬¦  «        j        S )aÎ  
    :param appname: See `appname <platformdirs.api.PlatformDirsABC.appname>`.
    :param appauthor: See `appauthor <platformdirs.api.PlatformDirsABC.appauthor>`.
    :param version: See `version <platformdirs.api.PlatformDirsABC.version>`.
    :param roaming: See `roaming <platformdirs.api.PlatformDirsABC.roaming>`.
    :param ensure_exists: See `ensure_exists <platformdirs.api.PlatformDirsABC.ensure_exists>`.
    :returns: config path tied to the user
    r/   )r0   Úuser_config_pathr/   s        r"   rc   rc   o  r[   r$   c                ó4   — t          | ||||¬¦  «        j        S )aÕ  
    :param appname: See `appname <platformdirs.api.PlatformDirsABC.appname>`.
    :param appauthor: See `appauthor <platformdirs.api.PlatformDirsABC.appauthor>`.
    :param version: See `version <platformdirs.api.PlatformDirsABC.version>`.
    :param multipath: See `roaming <platformdirs.api.PlatformDirsABC.multipath>`.
    :param ensure_exists: See `ensure_exists <platformdirs.api.PlatformDirsABC.ensure_exists>`.
    :returns: config path shared by the users
    r5   )r0   Úsite_config_pathr5   s        r"   re   re   ‡  s/   € õ ØØØØØ#ðñ ô ô ðr$   c                ó4   — t          | ||||¬¦  «        j        S rB   )r0   Úsite_cache_pathr>   s        r"   rg   rg   Ÿ  r9   r$   c                ó4   — t          | ||||¬¦  «        j        S )aÍ  
    :param appname: See `appname <platformdirs.api.PlatformDirsABC.appname>`.
    :param appauthor: See `appauthor <platformdirs.api.PlatformDirsABC.appauthor>`.
    :param version: See `version <platformdirs.api.PlatformDirsABC.version>`.
    :param opinion: See `roaming <platformdirs.api.PlatformDirsABC.opinion>`.
    :param ensure_exists: See `ensure_exists <platformdirs.api.PlatformDirsABC.ensure_exists>`.
    :returns: cache path tied to the user
    r>   )r0   Úuser_cache_pathr>   s        r"   ri   ri   ·  r9   r$   c                ó4   — t          | ||||¬¦  «        j        S )aÍ  
    :param appname: See `appname <platformdirs.api.PlatformDirsABC.appname>`.
    :param appauthor: See `appauthor <platformdirs.api.PlatformDirsABC.appauthor>`.
    :param version: See `version <platformdirs.api.PlatformDirsABC.version>`.
    :param roaming: See `roaming <platformdirs.api.PlatformDirsABC.roaming>`.
    :param ensure_exists: See `ensure_exists <platformdirs.api.PlatformDirsABC.ensure_exists>`.
    :returns: state path tied to the user
    r/   )r0   Úuser_state_pathr/   s        r"   rk   rk   Ï  r9   r$   c                ó4   — t          | ||||¬¦  «        j        S )aË  
    :param appname: See `appname <platformdirs.api.PlatformDirsABC.appname>`.
    :param appauthor: See `appauthor <platformdirs.api.PlatformDirsABC.appauthor>`.
    :param version: See `version <platformdirs.api.PlatformDirsABC.version>`.
    :param opinion: See `roaming <platformdirs.api.PlatformDirsABC.opinion>`.
    :param ensure_exists: See `ensure_exists <platformdirs.api.PlatformDirsABC.ensure_exists>`.
    :returns: log path tied to the user
    r>   )r0   Úuser_log_pathr>   s        r"   rm   rm   ç  r2   r$   c                 ó(   — t          ¦   «         j        S )z+:returns: documents a path tied to the user)r0   Úuser_documents_pathrJ   r$   r"   ro   ro   ÿ  ó   € å‰>Œ>Ô-Ð-r$   c                 ó(   — t          ¦   «         j        S )z):returns: downloads path tied to the user)r0   Úuser_downloads_pathrJ   r$   r"   rr   rr     rp   r$   c                 ó(   — t          ¦   «         j        S )z(:returns: pictures path tied to the user)r0   Úuser_pictures_pathrJ   r$   r"   rt   rt   	  rK   r$   c                 ó(   — t          ¦   «         j        S )z&:returns: videos path tied to the user)r0   Úuser_videos_pathrJ   r$   r"   rv   rv     rX   r$   c                 ó(   — t          ¦   «         j        S )z%:returns: music path tied to the user)r0   Úuser_music_pathrJ   r$   r"   rx   rx     rS   r$   c                 ó(   — t          ¦   «         j        S )z':returns: desktop path tied to the user)r0   Úuser_desktop_pathrJ   r$   r"   rz   rz     rP   r$   c                ó4   — t          | ||||¬¦  «        j        S )aÏ  
    :param appname: See `appname <platformdirs.api.PlatformDirsABC.appname>`.
    :param appauthor: See `appauthor <platformdirs.api.PlatformDirsABC.appauthor>`.
    :param version: See `version <platformdirs.api.PlatformDirsABC.version>`.
    :param opinion: See `opinion <platformdirs.api.PlatformDirsABC.opinion>`.
    :param ensure_exists: See `ensure_exists <platformdirs.api.PlatformDirsABC.ensure_exists>`.
    :returns: runtime path tied to the user
    r>   )r0   Úuser_runtime_pathr>   s        r"   r|   r|     ó/   € õ ØØØØØ#ðñ ô ô ðr$   c                ó4   — t          | ||||¬¦  «        j        S )aÎ  
    :param appname: See `appname <platformdirs.api.PlatformDirsABC.appname>`.
    :param appauthor: See `appauthor <platformdirs.api.PlatformDirsABC.appauthor>`.
    :param version: See `version <platformdirs.api.PlatformDirsABC.version>`.
    :param opinion: See `opinion <platformdirs.api.PlatformDirsABC.opinion>`.
    :param ensure_exists: See `ensure_exists <platformdirs.api.PlatformDirsABC.ensure_exists>`.
    :returns: runtime path shared by users
    r>   )r0   Úsite_runtime_pathr>   s        r"   r   r   5  r}   r$   )%ÚAppDirsr0   r   r   Ú__version_info__rC   rg   r;   re   r6   ra   r]   r   r?   ri   r8   rc   r1   r_   rW   rz   rI   ro   rM   rr   rG   rm   rU   rx   rO   rt   rZ   r|   rE   rk   rR   rv   )r   r   )NNNFF)r%   r&   r'   r(   r)   r&   r*   r+   r,   r+   r   r-   )r%   r&   r'   r(   r)   r&   r3   r+   r,   r+   r   r-   )NNNTF)r%   r&   r'   r(   r)   r&   r<   r+   r,   r+   r   r-   )r   r-   )r%   r&   r'   r(   r)   r&   r*   r+   r,   r+   r   r	   )r%   r&   r'   r(   r)   r&   r3   r+   r,   r+   r   r	   )r%   r&   r'   r(   r)   r&   r<   r+   r,   r+   r   r	   )r   r	   )4Ú__doc__Ú
__future__r   r   r   Útypingr   Úapir   r)   r   r   r�   Úpathlibr	   r
   r#   r0   r€   r1   r6   r8   r;   r?   rC   rE   rG   rI   rM   rO   rR   rU   rW   rZ   r]   r_   ra   rc   re   rg   ri   rk   rm   ro   rr   rt   rv   rx   rz   r|   r   Ú__all__rJ   r$   r"   ú<module>rˆ      s  ððð ð #Ð "Ð "Ð "Ð "Ð "à 	€	€	€	Ø 
€
€
€
Ø  Ð  Ð  Ð  Ð  Ð  à  Ð  Ð  Ð  Ð  Ð  Ø  Ð  Ð  Ð  Ð  Ð  Ø :Ð :Ð :Ð :Ð :Ð :àð ØÐÐÐÐÐØÐÐÐÐÐðð ð ð ð, 'Ð&Ñ(Ô(€Ø
€ð Ø-1ØØØðð ð ð ð ð2 Ø-1ØØØðð ð ð ð ð2 Ø-1ØØØðð ð ð ð ð2 Ø-1ØØØðð ð ð ð ð2 Ø-1ØØØðð ð ð ð ð2 Ø-1ØØØðð ð ð ð ð2 Ø-1ØØØðð ð ð ð ð2 Ø-1ØØØðð ð ð ð ð0-ð -ð -ð -ð
-ð -ð -ð -ð
,ð ,ð ,ð ,ð
*ð *ð *ð *ð
)ð )ð )ð )ð
+ð +ð +ð +ð Ø-1ØØØðð ð ð ð ð2 Ø-1ØØØðð ð ð ð ð2 Ø-1ØØØðð ð ð ð ð2 Ø-1ØØØðð ð ð ð ð2 Ø-1ØØØðð ð ð ð ð2 Ø-1ØØØðð ð ð ð ð2 Ø-1ØØØðð ð ð ð ð2 Ø-1ØØØðð ð ð ð ð2 Ø-1ØØØðð ð ð ð ð2 Ø-1ØØØðð ð ð ð ð0.ð .ð .ð .ð
.ð .ð .ð .ð
-ð -ð -ð -ð
+ð +ð +ð +ð
*ð *ð *ð *ð
,ð ,ð ,ð ,ð Ø-1ØØØðð ð ð ð ð2 Ø-1ØØØðð ð ð ð ð0&ð &ð &€€€r$   