+
    P(iM                     T    ^ RI t ^ RIHt ^ RIHt ^ RIHt ^ RIHt R tR	R ltR t	R# )
    N)
json_loads)
to_unicode)urlsafe_b64decode)DecodeErrorc                    \        V 4      R 8  d   \        R4      h\        WR4      p \        VP	                  R4      4      p\        T\        4      '       g	   T! R4      hT#   \         d   pT! RT 24      ThRp?ii ; i)  zValue of header is too longheaderzutf-8zInvalid header string: NzHeader must be a json object)len
ValueErrorextract_segmentr   decode
isinstancedict)header_segment	error_clsheader_datar	   es   &&   W/Users/agent/.openclaw/workspace/venv/lib/python3.14/site-packages/authlib/jose/util.pyextract_headerr   	   s    
>V#677!.XFK>K..w78 fd##677M  >1!56A=>s   A# #A?.A::A?c                     \        V 4      R 8  d   \        RV R24      h \        V 4      #   \        \        P
                  3 d   pRT R2pT! T4      ThRp?ii ; i)r   z	Value of z is too longInvalid z paddingN)r
   r   r   	TypeErrorbinasciiError)segmentr   nameexcmsgs   &&&  r   r   r      se    
7|f9TF,788& ))x~~& &h'n#%&s   
, AAAc                     \        V \        4      '       g    \        \        V 4      4      p \        V \        4      '       g   \        R V 24      hV #   \        \
        3 d   p\        R T 24      ThRp?ii ; i)r   N)r   r   r   r   r   r   r   )sstructure_namer   s   && r   ensure_dictr"   $   sx    a	D:a=)A aH^$4566H I& 	D(89:C	Ds   A A7#A22A7)payload)
r   authlib.common.encodingr   r   r   authlib.jose.errorsr   r   r   r"        r   <module>r(      s#     . . 5 + &
r'   