File: //usr/lib/python3/dist-packages/sphinx/domains/__pycache__/citation.cpython-310.pyc
o
�$�a� � @ s d Z ddlmZmZmZmZmZmZmZm Z ddl
mZ ddlm
Z
ddlmZ ddlmZ ddlmZ ddlmZ dd lmZ dd
lmZmZ er\ddlmZ ddlmZ dd
lm Z e�!e"�Z#G dd� de�Z$G dd� de�Z%G dd� de�Z&dddee'ef fdd�Z(dS )z�
sphinx.domains.citation
~~~~~~~~~~~~~~~~~~~~~~~
The citation domain.
:copyright: Copyright 2007-2021 by the Sphinx team, see AUTHORS.
:license: BSD, see LICENSE for details.
� )�
TYPE_CHECKING�Any�Dict�List�Optional�Set�Tuple�cast)�nodes)�Element)�pending_xref)�Domain)�__)�SphinxTransform)�logging)�copy_source_info�make_refnode)�Sphinx)�Builder)�BuildEnvironmentc @ s e Zd ZdZdZdZddiZedee e
e e ef f fdd��Zedee e
e f fdd ��Zd
e ddfdd
�Zdee deddfdd�Zdejddfdd�Zdeddfdd�Zd%dd�Zddde ddde de ded edee fd!d"�Zddde ddde ded edee
e ef fd#d$�ZdS )&�CitationDomainzDomain for citations.�citation�refzcitation not found: %(target)s�returnc C � | j �di �S )N� citations��data�
setdefault��self� r! �9/usr/lib/python3/dist-packages/sphinx/domains/citation.pyr * � zCitationDomain.citationsc C r )N�
citation_refsr r r! r! r"