
    SAiw              	       @   % S r S/rSSKrSSKrSSKJrJr  SSKJr  \R                  \R                  \R                  \R                  \R                  \R                  \R                  \R                   \R"                  4	r\\\/\4   S4   \S'   SS\S	\S
\4S jjrg)z&An implementation of RFC4013 SASLprep.saslprep    N)CallableTuple)PDFValueError._PROHIBITEDdataprohibit_unassigned_code_pointsreturnc                 d  ^ U(       a  [         [        R                  4-   nO[         n[        R                  n[        R                  nSR                  U  Vs/ s H#  nU" U5      (       a  M  U" U5      (       a  SOUPM%     sn5      n [        R                  R                  SU 5      n [        R                  nU" U S   5      (       a0  U" U S   5      (       d  [        S5      eU[        R                  4-   nOX&4-   nU  H(  m[        U4S jU 5       5      (       d  M  [        S5      e   U $ s  snf )	a  An implementation of RFC4013 SASLprep.
:param data:
    The string to SASLprep.
:param prohibit_unassigned_code_points:
    RFC 3454 and RFCs for various SASL mechanisms distinguish between
    `queries` (unassigned code points allowed) and
    `stored strings` (unassigned code points prohibited). Defaults
    to ``True`` (unassigned code points are prohibited).
:return: The SASLprep'ed version of `data`.
  NFKCr   z$SASLprep: failed bidirectional checkc              3   2   >#    U  H  o" T5      v   M     g 7f)N ).0in_tablechars     N/var/www/html/land-ocr/venv/lib/python3.13/site-packages/pdfminer/_saslprep.py	<genexpr>saslprep.<locals>.<genexpr>b   s     9j(x~~js   z+SASLprep: failed prohibited character check)r   
stringprepin_table_a1in_table_c12in_table_b1joinunicodedata	ucd_3_2_0	normalizein_table_d1r   in_table_d2any)r   r	   
prohibitedr   r   eltr    r   s          @r   r   r   .   s$    ' J$:$:#<<
 
 **L((K77 	
s# 3S))Hs2	
D   **648D((K4748$$   FGG  :#9#9";;

  .0
 9j999 MNN  KA	
s   D-,D-)T)__doc____all__r   r   typingr   r   pdfminer.pdfexceptionsr   r   in_table_c21_c22in_table_c3in_table_c4in_table_c5in_table_c6in_table_c7in_table_c8in_table_c9r   strbool__annotations__r   r       r   <module>r5      s   & -,   " 0 2U8SE4K(#-.  73 7 7 7r4   