§
    %P„j67  ã                  ó
  — 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 ddlmZmZ d	d
lmZ d	dlmZ erddlmZ ej        dk    rdd„ZnddlmZ  G d„ de¦  «        Z G d„ dee¦  «        Zdd„Zdd„ZdgZdS ) zUnix.é    )ÚannotationsN)ÚConfigParser)Úcached_property)ÚPath)Ú
gettempdir)ÚTYPE_CHECKINGÚNoReturné   )ÚXDGMixin)ÚPlatformDirsABC)ÚIteratorÚwin32Úreturnr	   c                 ó$   — d} t          | ¦  «        ‚)Nzshould only be used on Unix)ÚRuntimeError)Úmsgs    úV/root/disk_3tb/conda_envs/Huy-visual/lib/python3.11/site-packages/platformdirs/unix.pyÚgetuidr      s   € Ø+ˆÝ˜3ÑÔÐó    )r   c                  óB  — e Zd ZdZed/d„¦   «         Zed0d„¦   «         Zed1d„¦   «         Zed0d	„¦   «         Z	ed1d
„¦   «         Z
ed0d„¦   «         Zed0d„¦   «         Zed0d„¦   «         Zed0d„¦   «         Zed0d„¦   «         Zed0d„¦   «         Zed0d„¦   «         Zed0d„¦   «         Zed0d„¦   «         Zed0d„¦   «         Zed0d„¦   «         Zed0d„¦   «         Zed0d„¦   «         Zed0d„¦   «         Zed0d„¦   «         Zed0d„¦   «         Zed0d„¦   «         Zed0d„¦   «         Zed0d„¦   «         Zed0d„¦   «         Zed1d„¦   «         Zed0d „¦   «         Z ed0d!„¦   «         Z!ed0d"„¦   «         Z"ed2d$„¦   «         Z#ed2d%„¦   «         Z$ed2d&„¦   «         Z%d3d(„Z&d3d)„Z'd3d*„Z(d3d+„Z)d3d,„Z*d3d-„Z+d.S )4Ú_UnixDefaultszžDefault directories for Unix/Linux without XDG environment variable overrides.

    The XDG env var handling is in :class:`~platformdirs._xdg.XDGMixin`.

    r   Úboolc                ó4   — | j         ot          ¦   «         dk    S )Nr   )Úuse_site_for_rootr   ©Úselfs    r   Ú	_use_sitez_UnixDefaults._use_site$   s   € àÔ%Ð7­&©(¬(°aª-Ð7r   Ústrc                óf   — |                       t          j                             d¦  «        ¦  «        S )zsData directory tied to the user, e.g. ``~/.local/share/$appname/$version`` or ``$XDG_DATA_HOME/$appname/$version``.ú~/.local/share©Ú_append_app_name_and_versionÚosÚpathÚ
expanduserr   s    r   Úuser_data_dirz_UnixDefaults.user_data_dir(   ó)   € ð ×0Ò0µ´×1CÒ1CÐDTÑ1UÔ1UÑVÔVÐVr   ú	list[str]c                óV   — |                       d¦  «        |                       d¦  «        gS )Nú/usr/local/shareú
/usr/share©r"   r   s    r   Ú_site_data_dirsz_UnixDefaults._site_data_dirs-   s+   € à×1Ò1Ð2DÑEÔEÀt×GhÒGhÐiuÑGvÔGvÐwÐwr   c                óf   — |                       t          j                             d¦  «        ¦  «        S )zrConfig directory tied to the user, e.g. ``~/.config/$appname/$version`` or ``$XDG_CONFIG_HOME/$appname/$version``.ú	~/.configr!   r   s    r   Úuser_config_dirz_UnixDefaults.user_config_dir1   s(   € ð ×0Ò0µ´×1CÒ1CÀKÑ1PÔ1PÑQÔQÐQr   c                ó.   — |                       d¦  «        gS )Nz/etc/xdgr,   r   s    r   Ú_site_config_dirsz_UnixDefaults._site_config_dirs6   s   € à×1Ò1°*Ñ=Ô=Ð>Ð>r   c                óf   — |                       t          j                             d¦  «        ¦  «        S )zoCache directory tied to the user, e.g. ``~/.cache/$appname/$version`` or ``$XDG_CACHE_HOME/$appname/$version``.z~/.cacher!   r   s    r   Úuser_cache_dirz_UnixDefaults.user_cache_dir:   s(   € ð ×0Ò0µ´×1CÒ1CÀJÑ1OÔ1OÑPÔPÐPr   c                ó,   — |                       d¦  «        S )zGCache directory shared by users, e.g. ``/var/cache/$appname/$version``.z
/var/cacher,   r   s    r   Úsite_cache_dirz_UnixDefaults.site_cache_dir?   s   € ð ×0Ò0°Ñ>Ô>Ð>r   c                óf   — |                       t          j                             d¦  «        ¦  «        S )zuState directory tied to the user, e.g. ``~/.local/state/$appname/$version`` or ``$XDG_STATE_HOME/$appname/$version``.z~/.local/stater!   r   s    r   Úuser_state_dirz_UnixDefaults.user_state_dirD   r'   r   c                ó,   — |                       d¦  «        S )zEState directory shared by users, e.g. ``/var/lib/$appname/$version``.z/var/libr,   r   s    r   Úsite_state_dirz_UnixDefaults.site_state_dirI   s   € ð ×0Ò0°Ñ<Ô<Ð<r   c                óŒ   — | j         }| j        r5t          j                             |d¦  «        }|                      |¦  «         |S )z_Log directory tied to the user, same as `user_state_dir` if not opinionated else ``log`` in it.Úlog)r8   Úopinionr#   r$   ÚjoinÚ_optionally_create_directory©r   r$   s     r   Úuser_log_dirz_UnixDefaults.user_log_dirN   sD   € ð Ô"ˆØŒ<ð 	4Ý”7—<’<  eÑ,Ô,ˆDØ×-Ò-¨dÑ3Ô3Ð3Øˆr   c                ó,   — |                       d¦  «        S )z¹Log directory shared by users, e.g. ``/var/log/$appname/$version``.

        Unlike `user_log_dir`, ``opinion`` has no effect since ``/var/log`` is inherently a log directory.

        z/var/logr,   r   s    r   Úsite_log_dirz_UnixDefaults.site_log_dirW   s   € ð ×0Ò0°Ñ<Ô<Ð<r   c                ó"   — t          dd¦  «        S )z;Documents directory tied to the user, e.g. ``~/Documents``.ÚXDG_DOCUMENTS_DIRz~/Documents©Ú_get_user_media_dirr   s    r   Úuser_documents_dirz _UnixDefaults.user_documents_dir`   ó   € õ #Ð#6¸ÑFÔFÐFr   c                ó"   — t          dd¦  «        S )z;Downloads directory tied to the user, e.g. ``~/Downloads``.ÚXDG_DOWNLOAD_DIRz~/DownloadsrF   r   s    r   Úuser_downloads_dirz _UnixDefaults.user_downloads_dire   s   € õ #Ð#5°}ÑEÔEÐEr   c                ó"   — t          dd¦  «        S )z9Pictures directory tied to the user, e.g. ``~/Pictures``.ÚXDG_PICTURES_DIRz
~/PicturesrF   r   s    r   Úuser_pictures_dirz_UnixDefaults.user_pictures_dirj   ó   € õ #Ð#5°|ÑDÔDÐDr   c                ó"   — t          dd¦  «        S )z5Videos directory tied to the user, e.g. ``~/Videos``.ÚXDG_VIDEOS_DIRz~/VideosrF   r   s    r   Úuser_videos_dirz_UnixDefaults.user_videos_diro   s   € õ #Ð#3°ZÑ@Ô@Ð@r   c                ó"   — t          dd¦  «        S )z3Music directory tied to the user, e.g. ``~/Music``.ÚXDG_MUSIC_DIRz~/MusicrF   r   s    r   Úuser_music_dirz_UnixDefaults.user_music_dirt   s   € õ # ?°IÑ>Ô>Ð>r   c                ó"   — t          dd¦  «        S )z7Desktop directory tied to the user, e.g. ``~/Desktop``.ÚXDG_DESKTOP_DIRz	~/DesktoprF   r   s    r   Úuser_desktop_dirz_UnixDefaults.user_desktop_diry   s   € õ #Ð#4°kÑBÔBÐBr   c                ó"   — t          dd¦  «        S )z9Projects directory tied to the user, e.g. ``~/Projects``.ÚXDG_PROJECTS_DIRz
~/ProjectsrF   r   s    r   Úuser_projects_dirz_UnixDefaults.user_projects_dir~   rP   r   c                ó"   — t          dd¦  «        S )z;Public share directory tied to the user, e.g. ``~/Public``.ÚXDG_PUBLICSHARE_DIRz~/PublicrF   r   s    r   Úuser_publicshare_dirz"_UnixDefaults.user_publicshare_dirƒ   s   € õ #Ð#8¸*ÑEÔEÐEr   c                ó"   — t          dd¦  «        S )z;Templates directory tied to the user, e.g. ``~/Templates``.ÚXDG_TEMPLATES_DIRz~/TemplatesrF   r   s    r   Úuser_templates_dirz _UnixDefaults.user_templates_dirˆ   rI   r   c                óF   — t           j                             d¦  «        › d�S )z@Fonts directory tied to the user, e.g. ``~/.local/share/fonts``.r    z/fonts©r#   r$   r%   r   s    r   Úuser_fonts_dirz_UnixDefaults.user_fonts_dir�   s$   € õ ”'×$Ò$Ð%5Ñ6Ô6Ð>Ð>Ð>Ð>r   c                ó   — | j         S )zCPreference directory tied to the user, same as ``user_config_dir``.)r0   r   s    r   Úuser_preference_dirz!_UnixDefaults.user_preference_dir’   s   € ð Ô#Ð#r   c                ó@   — t           j                             d¦  «        S )z6Bin directory tied to the user, e.g. ``~/.local/bin``.z~/.local/binrd   r   s    r   Úuser_bin_dirz_UnixDefaults.user_bin_dir—   s   € õ Œw×!Ò! .Ñ1Ô1Ð1r   c                ó   — dS )z7Bin directory shared by users, e.g. ``/usr/local/bin``.z/usr/local/bin© r   s    r   Úsite_bin_dirz_UnixDefaults.site_bin_dirœ   s
   € ð  Ðr   c                ó|   — t           j                             t           j                             d¦  «        d¦  «        S )zNApplications directory tied to the user, e.g. ``~/.local/share/applications``.r    Úapplications)r#   r$   r>   r%   r   s    r   Úuser_applications_dirz#_UnixDefaults.user_applications_dir¡   s+   € õ Œw�|Š|�BœG×.Ò.Ð/?Ñ@Ô@À.ÑQÔQÐQr   c                ó   — d„ dD ¦   «         S )Nc                óN   — g | ]"}t           j                             |d ¦  «        ‘Œ#S )rn   )r#   r$   r>   )Ú.0Úps     r   ú
<listcomp>z9_UnixDefaults._site_applications_dirs.<locals>.<listcomp>¨   s(   € Ð\Ð\Ð\°A•”—’˜Q Ñ/Ô/Ð\Ð\Ð\r   )r*   r+   rk   r   s    r   Ú_site_applications_dirsz%_UnixDefaults._site_applications_dirs¦   s   € à\Ð\Ð9[Ð\Ñ\Ô\Ð\r   c                ól   — | j         }| j        rt          j                             |¦  «        n|d         S )zIApplications directory shared by users, e.g. ``/usr/share/applications``.r   )ru   Ú	multipathr#   Úpathsepr>   )r   Údirss     r   Úsite_applications_dirz#_UnixDefaults.site_applications_dirª   s0   € ð Ô+ˆØ(,¬ÐC�rŒz�Š˜tÑ$Ô$Ð$¸DÀ¼GÐCr   c                óŽ  — t           j                             d¦  «        rdt          ¦   «         › �}nBt           j                             d¦  «        rdt          ¦   «         › �}ndt          ¦   «         › �}t	          j        |t          j        ¦  «        st          ¦   «         › dt          ¦   «         › �}|                      |¦  «        S )an  Runtime directory tied to the user, e.g. ``$XDG_RUNTIME_DIR/$appname/$version``.

        If ``$XDG_RUNTIME_DIR`` is unset, tries the platform default (``/tmp/run/user/$(id -u)`` on OpenBSD,
        ``/var/run/user/$(id -u)`` on FreeBSD/NetBSD, ``/run/user/$(id -u)`` otherwise). If the default is not writable,
        falls back to a temporary directory.

        Úopenbsdz/tmp/run/user/)ÚfreebsdÚnetbsdz/var/run/user/z
/run/user/z	/runtime-)	ÚsysÚplatformÚ
startswithr   r#   ÚaccessÚW_OKr   r"   r@   s     r   Úuser_runtime_dirz_UnixDefaults.user_runtime_dir°   s±   € õ Œ<×"Ò" 9Ñ-Ô-ð 	+Ø.¥F¡H¤HÐ.Ð.ˆDˆDÝŒ\×$Ò$Ð%:Ñ;Ô;ð 	+Ø.¥F¡H¤HÐ.Ð.ˆDˆDà*¥¡¤Ð*Ð*ˆDÝŒy˜�rœwÑ'Ô'ð 	8Ý ‘l”lÐ7Ð7­V©X¬XÐ7Ð7ˆDØ×0Ò0°Ñ6Ô6Ð6r   c                ót   — t           j                             d¦  «        rd}nd}|                      |¦  «        S )aT  Runtime directory shared by users, e.g. ``/run/$appname/$version`` or ``$XDG_RUNTIME_DIR/$appname/$version``.

        Note that this behaves almost exactly like `user_runtime_dir` if ``$XDG_RUNTIME_DIR`` is set, but will fall back
        to paths associated to the root user instead of a regular logged-in user if it's not set.

        If you wish to ensure that a logged-in root user path is returned e.g. ``/run/user/0``, use `user_runtime_dir`
        instead.

        For FreeBSD/OpenBSD/NetBSD, it would return ``/var/run/$appname/$version`` if ``$XDG_RUNTIME_DIR`` is not set.

        )r}   r|   r~   z/var/runz/run)r   r€   r�   r"   r@   s     r   Úsite_runtime_dirz_UnixDefaults.site_runtime_dirÃ   s=   € õ Œ<×"Ò"Ð#CÑDÔDð 	ØˆDˆDàˆDØ×0Ò0°Ñ6Ô6Ð6r   r   c                ó6   — |                       | j        ¦  «        S )z`Data path shared by users. Only return the first item, even if ``multipath`` is set to ``True``.)Ú _first_item_as_path_if_multipathÚsite_data_dirr   s    r   Úsite_data_pathz_UnixDefaults.site_data_pathÖ   s   € ð ×4Ò4°TÔ5GÑHÔHÐHr   c                ó6   — |                       | j        ¦  «        S )z^Config path shared by users, returns the first item, even if ``multipath`` is set to ``True``.)rˆ   Úsite_config_dirr   s    r   Úsite_config_pathz_UnixDefaults.site_config_pathÛ   s   € ð ×4Ò4°TÔ5IÑJÔJÐJr   c                ó6   — |                       | j        ¦  «        S )zaCache path shared by users. Only return the first item, even if ``multipath`` is set to ``True``.)rˆ   r6   r   s    r   Úsite_cache_pathz_UnixDefaults.site_cache_pathà   s   € ð ×4Ò4°TÔ5HÑIÔIÐIr   úIterator[str]c              #  óD   K  — | j         s	| j        V — | j        E d{V —† dS )z4:yield: all user and site configuration directories.N)r   r0   r2   r   s    r   Úiter_config_dirsz_UnixDefaults.iter_config_dirså   s@   è è € àŒ~ð 	'ØÔ&Ð&Ð&Ð&ØÔ)Ð)Ð)Ð)Ð)Ð)Ð)Ð)Ð)Ð)r   c              #  óD   K  — | j         s	| j        V — | j        E d{V —† dS )z+:yield: all user and site data directories.N)r   r&   r-   r   s    r   Úiter_data_dirsz_UnixDefaults.iter_data_dirsë   s@   è è € àŒ~ð 	%ØÔ$Ð$Ð$Ð$ØÔ'Ð'Ð'Ð'Ð'Ð'Ð'Ð'Ð'Ð'r   c              #  ó<   K  — | j         s	| j        V — | j        V — dS )z,:yield: all user and site cache directories.N)r   r4   r6   r   s    r   Úiter_cache_dirsz_UnixDefaults.iter_cache_dirsñ   ó4   è è € àŒ~ð 	&ØÔ%Ð%Ð%Ð%ØÔ!Ð!Ð!Ð!Ð!Ð!r   c              #  ó<   K  — | j         s	| j        V — | j        V — dS )z,:yield: all user and site state directories.N)r   r8   r:   r   s    r   Úiter_state_dirsz_UnixDefaults.iter_state_dirs÷   r—   r   c              #  ó<   K  — | j         s	| j        V — | j        V — dS )z*:yield: all user and site log directories.N)r   rA   rC   r   s    r   Úiter_log_dirsz_UnixDefaults.iter_log_dirsý   s4   è è € àŒ~ð 	$ØÔ#Ð#Ð#Ð#ØÔÐÐÐÐÐr   c              #  ó<   K  — | j         s	| j        V — | j        V — dS )z.:yield: all user and site runtime directories.N)r   r„   r†   r   s    r   Úiter_runtime_dirsz_UnixDefaults.iter_runtime_dirs  s4   è è € àŒ~ð 	(ØÔ'Ð'Ð'Ð'ØÔ#Ð#Ð#Ð#Ð#Ð#r   N)r   r   ©r   r   )r   r(   )r   r   )r   r�   ),Ú__name__Ú
__module__Ú__qualname__Ú__doc__r   r   Úpropertyr&   r-   r0   r2   r4   r6   r8   r:   rA   rC   rH   rL   rO   rS   rV   rY   r\   r_   rb   re   rg   ri   rl   ro   ru   rz   r„   r†   rŠ   r�   r�   r’   r”   r–   r™   r›   r�   rk   r   r   r   r      sâ  € € € € € ðð ð ð8ð 8ð 8ñ „_ð8ð ðWð Wð Wñ „XðWð ðxð xð xñ „Xðxð ðRð Rð Rñ „XðRð ð?ð ?ð ?ñ „Xð?ð ðQð Qð Qñ „XðQð ð?ð ?ð ?ñ „Xð?ð ðWð Wð Wñ „XðWð ð=ð =ð =ñ „Xð=ð ðð ð ñ „Xðð ð=ð =ð =ñ „Xð=ð ðGð Gð Gñ „XðGð ðFð Fð Fñ „XðFð ðEð Eð Eñ „XðEð ðAð Að Añ „XðAð ð?ð ?ð ?ñ „Xð?ð ðCð Cð Cñ „XðCð ðEð Eð Eñ „XðEð ðFð Fð Fñ „XðFð ðGð Gð Gñ „XðGð ð?ð ?ð ?ñ „Xð?ð ð$ð $ð $ñ „Xð$ð ð2ð 2ð 2ñ „Xð2ð ð ð  ð  ñ „Xð ð ðRð Rð Rñ „XðRð ð]ð ]ð ]ñ „Xð]ð ðDð Dð Dñ „XðDð
 ð7ð 7ð 7ñ „Xð7ð$ ð7ð 7ð 7ñ „Xð7ð$ ðIð Ið Iñ „XðIð ðKð Kð Kñ „XðKð ðJð Jð Jñ „XðJð*ð *ð *ð *ð(ð (ð (ð (ð"ð "ð "ð "ð"ð "ð "ð "ð ð  ð  ð  ð$ð $ð $ð $ð $ð $r   r   c                  óø   ‡ — e Zd ZdZedˆ fd„¦   «         Zedˆ fd„¦   «         Zedˆ fd„¦   «         Zedˆ fd„¦   «         Zedˆ fd„¦   «         Z	edˆ fd	„¦   «         Z
edˆ fd
„¦   «         Zedˆ fd„¦   «         Zˆ xZS )ÚUnixaf  On Unix/Linux, we follow the `XDG Basedir Spec <https://specifications.freedesktop.org/basedir/latest/>`_.

    The spec allows overriding directories with environment variables. The examples shown are the default values,
    alongside the name of the environment variable that overrides them. Makes use of the `appname
    <platformdirs.api.PlatformDirsABC.appname>`, `version <platformdirs.api.PlatformDirsABC.version>`, `multipath
    <platformdirs.api.PlatformDirsABC.multipath>`, `opinion <platformdirs.api.PlatformDirsABC.opinion>`, `ensure_exists
    <platformdirs.api.PlatformDirsABC.ensure_exists>`.

    r   r   c                óF   •— | j         r| j        nt          ¦   «         j        S )zYData directory tied to the user, or site equivalent when root with ``use_site_for_root``.)r   r‰   Úsuperr&   ©r   Ú	__class__s    €r   r&   zUnix.user_data_dir  s!   ø€ ð &*¤^ÐNˆtÔ!Ð!½¹¼Ô9NÐNr   c                óF   •— | j         r| j        nt          ¦   «         j        S )z[Config directory tied to the user, or site equivalent when root with ``use_site_for_root``.)r   rŒ   r§   r0   r¨   s    €r   r0   zUnix.user_config_dir  s!   ø€ ð (,¤~ÐRˆtÔ#Ð#½5¹7¼7Ô;RÐRr   c                óF   •— | j         r| j        nt          ¦   «         j        S )zZCache directory tied to the user, or site equivalent when root with ``use_site_for_root``.)r   r6   r§   r4   r¨   s    €r   r4   zUnix.user_cache_dir  ó!   ø€ ð '+¤nÐPˆtÔ"Ð"½%¹'¼'Ô:PÐPr   c                óF   •— | j         r| j        nt          ¦   «         j        S )zZState directory tied to the user, or site equivalent when root with ``use_site_for_root``.)r   r:   r§   r8   r¨   s    €r   r8   zUnix.user_state_dir$  r¬   r   c                óF   •— | j         r| j        nt          ¦   «         j        S )zXLog directory tied to the user, or site equivalent when root with ``use_site_for_root``.)r   rC   r§   rA   r¨   s    €r   rA   zUnix.user_log_dir)  ó!   ø€ ð %)¤NÐLˆtÔ Ð ½¹¼Ô8LÐLr   c                óF   •— | j         r| j        nt          ¦   «         j        S )zaApplications directory tied to the user, or site equivalent when root with ``use_site_for_root``.)r   rz   r§   ro   r¨   s    €r   ro   zUnix.user_applications_dir.  s!   ø€ ð .2¬^Ð^ˆtÔ)Ð)ÅÁÄÔA^Ð^r   c                óF   •— | j         r| j        nt          ¦   «         j        S )z\Runtime directory tied to the user, or site equivalent when root with ``use_site_for_root``.)r   r†   r§   r„   r¨   s    €r   r„   zUnix.user_runtime_dir3  s!   ø€ ð )-¬ÐTˆtÔ$Ð$½E¹G¼GÔ<TÐTr   c                óF   •— | j         r| j        nt          ¦   «         j        S )zXBin directory tied to the user, or site equivalent when root with ``use_site_for_root``.)r   rl   r§   ri   r¨   s    €r   ri   zUnix.user_bin_dir8  r¯   r   rž   )rŸ   r    r¡   r¢   r£   r&   r0   r4   r8   rA   ro   r„   ri   Ú__classcell__)r©   s   @r   r¥   r¥   
  s­  ø€ € € € € ðð ð ðOð Oð Oð Oð Oñ „XðOð ðSð Sð Sð Sð Sñ „XðSð ðQð Qð Qð Qð Qñ „XðQð ðQð Qð Qð Qð Qñ „XðQð ðMð Mð Mð Mð Mñ „XðMð ð_ð _ð _ð _ð _ñ „Xð_ð ðUð Uð Uð Uð Uñ „XðUð ðMð Mð Mð Mð Mñ „XðMð Mð Mð Mð Mr   r¥   Úenv_varr   Úfallback_tilde_pathc                óf   — t          | ¦  «        x}r|S t          j                             |¦  «        S )N)Ú_get_user_dirs_folderr#   r$   r%   )r´   rµ   Ú	media_dirs      r   rG   rG   >  s4   € Ý)¨'Ñ2Ô2Ð2€yð ØÐÝŒ7×ÒÐ1Ñ2Ô2Ð2r   Úkeyú
str | Nonec                ó|  — t           j                             dd¦  «                             ¦   «         pt           j                             d¦  «        }t          |¦  «        dz  }|                     ¦   «         rÄt          ¦   «         }| 	                    ¦   «         5 }| 
                    d|                     ¦   «         › �¦  «         ddd¦  «         n# 1 swxY w Y   | |d         vrdS |d         |                               d¦  «        }|                     d	t           j                             d
¦  «        ¦  «        S dS )zvReturn directory from user-dirs.dirs config file.

    See https://freedesktop.org/wiki/Software/xdg-user-dirs/.

    ÚXDG_CONFIG_HOMEÚ r/   zuser-dirs.dirsz[top]
NÚtopú"z$HOMEú~)r#   ÚenvironÚgetÚstripr$   r%   r   Úexistsr   ÚopenÚread_stringÚreadÚreplace)r¹   Úconfig_homeÚuser_dirs_config_pathÚparserÚstreamr$   s         r   r·   r·   D  sQ  € õ ”*—.’.Ð!2°BÑ7Ô7×=Ò=Ñ?Ô?ÐbÅ2Ä7×CUÒCUÐVaÑCbÔCb€KÝ  Ñ-Ô-Ð0@Ñ@ÐØ×#Ò#Ñ%Ô%ð 
>Ý‘”ˆà"×'Ò'Ñ)Ô)ð 	:¨VØ×ÒÐ8¨¯ª©¬Ð8Ð8Ñ9Ô9Ð9ð	:ð 	:ð 	:ñ 	:ô 	:ð 	:ð 	:ð 	:ð 	:ð 	:ð 	:øøøð 	:ð 	:ð 	:ð 	:ð �f˜U”mÐ#Ð#Ø�4à�eŒ}˜SÔ!×'Ò'¨Ñ,Ô,ˆØ�|Š|˜G¥R¤W×%7Ò%7¸Ñ%<Ô%<Ñ=Ô=Ð=àˆ4s   Â+CÃCÃC)r   r	   )r´   r   rµ   r   r   r   )r¹   r   r   rº   )r¢   Ú
__future__r   r#   r   Úconfigparserr   Ú	functoolsr   Úpathlibr   Útempfiler   Útypingr   r	   Ú_xdgr   Úapir   Úcollections.abcr   r€   r   r   r¥   rG   r·   Ú__all__rk   r   r   ú<module>r×      s¦  ðØ €à "Ð "Ð "Ð "Ð "Ð "à 	€	€	€	Ø 
€
€
€
Ø %Ð %Ð %Ð %Ð %Ð %Ø %Ð %Ð %Ð %Ð %Ð %Ø Ð Ð Ð Ð Ð Ø Ð Ð Ð Ð Ð Ø *Ð *Ð *Ð *Ð *Ð *Ð *Ð *à Ð Ð Ð Ð Ð Ø  Ð  Ð  Ð  Ð  Ð  àð )Ø(Ð(Ð(Ð(Ð(Ð(à„<�7ÒÐð ð  ð  ð  ð  ð
 ÐÐÐÐÐðj$ð j$ð j$ð j$ð j$�Oñ j$ô j$ð j$ðZ1Mð 1Mð 1Mð 1Mð 1Mˆ8�]ñ 1Mô 1Mð 1Mðh3ð 3ð 3ð 3ðð ð ð ð0 ð€€€r   