Ë
    sPêjà	  ã                   ó¦  — U g d ¢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e«      5 Z e ee«      j!                  dg «      «      Zee   ed	<   d
d
d
«        ee«      dkD  sJ d«       ‚eD � ci c]  } | j+                  «       | “Œ c} Zeeef   ed<    e«       Zded<   dedefd„Zdedee   fd„Zdedefd„Zy
# 1 sw Y   ŒlxY wc c} w ))Úis_supported_idÚfixup_idÚis_expressioné    )Úload)ÚTYPE_CHECKINGÚOptional)Úget_spdx_licensingé   )Ú	SPDX_JSON)Ú	LicensingÚenumÚ__IDSNz&known SPDX-IDs should be non-empty setÚ__IDS_LOWER_MAPr   Ú__SPDX_EXPRESSION_LICENSINGÚvalueÚreturnc                 ó   — | t         v S )z+Validate SPDX-ID according to current spec.)r   ©r   s    úS/home/oem/CyberBrain26-unified/.venv/lib/python3.12/site-packages/cyclonedx/spdx.pyr   r   1   s   € à”Eˆ>Ðó    c                 óH   — t         j                  | j                  «       «      S )z`Fixup SPDX-ID.

    :returns: repaired value string, or `None` if fixup was unable to help.
    )r   ÚgetÚlowerr   s    r   r   r   6   s   € ô
 ×Ñ˜uŸ{™{›}Ó-Ð-r   c                 ó|   — 	 t         j                  | «      }dt        |j                  «      k(  S # t        $ r Y yw xY w)a  Validate SPDX license expression.

    .. note::
        Utilizes `license-expression library`_ to
        validate SPDX compound expression according to `SPDX license expression spec`_.

    .. _SPDX license expression spec: https://spdx.github.io/spdx-spec/v3.0.1/annexes/spdx-license-expressions/
    .. _license-expression library: https://github.com/nexB/license-expression
    Fr   )r   ÚvalidateÚ	ExceptionÚlenÚerrors)r   Úress     r   r   r   >   s@   € ðÜ)×2Ñ2°5Ó9ˆð ”�C—J‘J“ÑÐøô ò áðús   ‚/ ¯	;º;)Ú__all__Újsonr   Ú	json_loadÚtypingr   r   Úlicense_expressionr	   Úschema._resr   Ú__SPDX_JSON_SCHEMAr   ÚopenÚschemaÚsetr   r   ÚstrÚ__annotations__r   r   r   Údictr   Úboolr   r   r   )Úid_s   0r   ú<module>r/      sú   ðð&ò €õ
 #ß *å 1å 8áÝ,ñ 
Ð
Óð = Ù™) FÓ+×/Ñ/°¸Ó;Ó<€Eˆ3ˆs‰8Ó<÷=á
ˆ5ƒz�A‚~Ð ?Ð?Ó ?€~à?DÖ"E¸ 3§9¡9£;°Ñ#3Ò"E€��c˜3�h‘Ó Eá+=Ó+?Ð ˜[Ó ?ð
˜3ð  4ó ð
.�Cð .˜H S™Mó .ð ˜ð   ô  ÷1=ð =üò #Fs   °'CÁ5CÃC