File: //usr/lib/python3/dist-packages/sphinx/__pycache__/versioning.cpython-310.pyc
o
�$�a@ � @ s> d Z ddlZddlmZmZ ddlmZ ddlmZ ddl m
Z
mZmZm
Z
ddlmZ ddlmZ dd lmZ e
r@dd
lmZ zddlZdZW n eyS dZY nw d
Zdedede
e fdd�Zdededede
e fdd�Zdededefdd�Zdededefdd�Z G dd� de�Z!dd deeef fd!d"�Z"dS )#z�
sphinx.versioning
~~~~~~~~~~~~~~~~~
Implements the low-level algorithms Sphinx uses for the versioning of
doctrees.
:copyright: Copyright 2007-2021 by the Sphinx team, see AUTHORS.
:license: BSD, see LICENSE for details.
� N)�product�zip_longest)�
itemgetter)�path)�
TYPE_CHECKING�Any�Dict�Iterator)�uuid4)�Node)�SphinxTransform)�SphinxTF�A �doctree� condition�returnc c s&