+
    yj                     >    ^ RI Ht ^ RIHt ^ RIHt  ! R R4      tR# )    )i18n)WebobInputWrapper)	clean_keyc                   h   a  ] tR t^t o RtR tR tR tRtRt	Rt
RtRtR tRtR	t/ tR
 tR tRtV tR# )DefaultMetaz
This is the default Meta class which defines all the default values and
therefore also the 'API' of the class Meta interface.
c                *    VP                   ! RRV/VB # )aF  
bind_field allows potential customization of how fields are bound.

The default implementation simply passes the options to
:meth:`UnboundField.bind`.

:param form: The form.
:param unbound_field: The unbound field.
:param options:
    A dictionary of options which are typically passed to the field.

:return: A bound field
form )bind)selfr	   unbound_fieldoptionss   &&&&@/var/www/html/2rare/lib/python3.14/site-packages/wtforms/meta.py
bind_fieldDefaultMeta.bind_field   s     !!7t7w77    c                    Ve;   \        VR4      '       g)   \        VR4      '       d   \        V4      # \        R4      hV# )a"  
wrap_formdata allows doing custom wrappers of WTForms formdata.

The default implementation detects webob-style multidicts and wraps
them, otherwise passes formdata back un-changed.

:param form: The form.
:param formdata: Form data.
:return: A form-input wrapper compatible with WTForms.
getlistgetallzNformdata should be a multidict-type wrapper that supports the 'getlist' method)hasattrr   	TypeError)r   r	   formdatas   &&&r   wrap_formdataDefaultMeta.wrap_formdata   sG     )(D(Dx**(225  r   c                .   VP                  4        UUu/ uF  w  r4\        V4      VbK  	  ppp\        VRR4      pVe:   VP                  4        UUu/ uF  w  r4\        V4      VbK  	  ppp\        V3/ VB pVP                  ! V3/ VB # u uppi u uppi )z
render_field allows customization of how widget rendering is done.

The default implementation calls ``field.widget(field, **render_kw)``
	render_kwN)itemsr   getattrdictwidget)r   fieldr   kvother_kws   &&&   r   render_fieldDefaultMeta.render_field3   s     2;1BC1BYq\1_1B	C5+t44<NN4DE4DDA	!a4DHEX33I||E/Y// D Fs   BBF
csrf_tokenNc                X    V P                   e   V P                  4       # ^ RIHp V! 4       # )aW  
Build a CSRF implementation. This is called once per form instance.

The default implementation builds the class referenced to by
:attr:`csrf_class` with zero arguments. If `csrf_class` is ``None``,
will instead use the default implementation
:class:`wtforms.csrf.session.SessionCSRF`.

:param form: The form.
:return: A CSRF implementation.
)SessionCSRF)
csrf_classwtforms.csrf.sessionr)   )r   r	   r)   s   && r   
build_csrfDefaultMeta.build_csrfJ   s&     ??&??$$4}r   Tc                .   V P                   pVRJ d   R# V P                  '       d[   V'       d   \        V4      MRpV P                  P	                  V4      pVf%   \
        P                  ! V4      ;q0P                  V&   V# \
        P                  ! V4      # )z
Override in subclasses to provide alternate translations factory.
See the i18n documentation for more.

:param form: The form.
:return: An object that provides gettext() and ngettext() methods.
FN)localescache_translationstupletranslations_cachegetr   get_translations)r   r	   r/   translationss   &&  r   r4   DefaultMeta.get_translationsc   s     ,,e"""(/eGnTG2266w?L#BFBWBWC 66w?  $$W--r   c                P    VP                  4        F  w  r#\        WV4       K  	  R# )zF
Given a dictionary of values, update values on this `Meta` instance.
N)r   setattr)r   valueskeyvalues   &&  r   update_valuesDefaultMeta.update_values   s      !,,.JCDu% )r   r
   )__name__
__module____qualname____firstlineno____doc__r   r   r%   csrfcsrf_field_namecsrf_secretcsrf_contextr*   r,   r/   r0   r2   r4   r<   __static_attributes____classdictcell__)__classdict__s   @r   r   r      s[     8 *0" D"OKLJ* G.8& &r   r   N)wtformsr   wtforms.utilsr   wtforms.widgets.corer   r   r
   r   r   <module>rM      s     + *~& ~&r   