
    ;3h|                       d dl mZ d dlZd dlZd dlZd dlZd dlZd dlmZ d dl	m
Z
 d dlZd dlZd dlmZ d dlmZ d dlmZmZmZmZmZ d dlmZ  G d	 d
      Z edddddd       G d de             Zy)    )annotationsN)Iterable)Path)document)CommitOperationAdd)colorsfontsget_matching_versionget_theme_assetssizes)README_CONTENTc                      e Zd Zd Zd ZdddZd Zedd       Zedd       Z	ddZ
eddd	       Zedd
       Ze	 	 	 	 	 	 dd       Z	 	 	 	 	 	 d	 	 	 	 	 	 	 	 	 	 	 	 	 ddZy)
ThemeClassc                .    g | _         d | _        g | _        y N)_stylesheetsname	_font_css)selfs    R/var/www/html/audio-gradio/venv/lib/python3.12/site-packages/gradio/themes/base.py__init__zThemeClass.__init__   s    	    c                (   i }i }| j                   j                         D ]  \  j                  d      r)j                  d      r	d |d d <   4t	        d d      t              d}fd}t        j                  ||      j                  dd      j                  d	      rd d |<   |<    |j                         D ]  \  |vs|<    d
dj                  |j                         D cg c]  \  }}d| d| d c}}      z   dz   }ddj                  |j                         D cg c]  \  }}d| d| d c}}      z   dz   }dj                  | j                        }	|	 d| d| S c c}}w c c}}w )N__darkzCannot set 'z1' to None - only dark mode variables can be None.(\*)([\w_]+)(\b)c                ^   | j                  d      }|j                  d      r#|j                  d      rt        d d d      j                  d      r.|j                  d      rd d |dd  k(  rt        d d d	      | j                  d
      }|j	                  dd      }d| dS )Nr   *r   zCannot refer 'z' to 'zz' - dark variable references are automatically used for dark mode attributes, so do not use the _dark suffix in the value.r      zN' - if dark and light mode values are the same, set dark mode version to None.   r   -zvar(--))group
startswithendswith
ValueErrorreplace)match
full_matchwordattrvals      r   	repl_funcz,ThemeClass._get_theme_css.<locals>.repl_func2   s    "[[^
((-*2E2Eg2N$(fSE  :t  u  MM'*"--c2Sb	Z^3$(fSE  :H  I  {{1~||C-vQ''r   r"   z-darkz:root {

z  --z: ;z
}z
:root .dark {
)__dict__itemsr%   r&   r'   strresubr(   joinr   )
r   cssdark_csspatternr.   r,   r-   css_codedark_css_codefont_csss
        ``   r   _get_theme_csszThemeClass._get_theme_css    s   ,,. )	 ID#s#{==)*.HT#2Y'$&tf,]^  c(C)G(& &&)S1C<<S)D}}W%CRy!$D	S)	 V  	%ID#8#!$	%
 ii		L944vRuA.LMN 	  ii@PQ944vRuA.QRS 	 99T^^,2hZr-99 M
 Rs   FFc           
         d}|kD  rt        j                  d d       yj                  d      }|rt         t         d d d            }nt         d      }d} fdt	        j
                  |fd	|      }|S )
Nd   zCannot resolve 'z ' - circular reference detected. r   r   r   c                    | j                  d      }j                  d      rdnd}j                  ||z   |dz         S )Nr!   r   r@   r    )r$   r&   _get_computed_value)r)   depthr+   dark_suffixpropertyr   s       r   r.   z1ThemeClass._get_computed_value.<locals>.repl_funcp   s@    ;;q>D%-%6%6w%?'RK++D;,>	JJr   c                     |       S r    )r)   rC   r.   s    r   <lambda>z0ThemeClass._get_computed_value.<locals>.<lambda>v   s    9UE#: r   )warningswarnr&   getattrr4   r5   )	r   rE   rC   	max_depthis_dark	set_valuer9   computed_valuer.   s	   ```     @r   rB   zThemeClass._get_computed_valueb   s    	9MM,XJ6VWX##G,hhsmR @I  h3I%	K
 :I
 r   c                    di i}t        |       D ]\  }|j                  d      r|j                  d      s|dv s*t        t        | |      t        t
        f      sKt        | |      |d   |<   ^ |S )z+Convert the theme into a python dictionary.themer   _font)r   r   )dirr%   
isinstancerK   listr3   )r   schemaprops      r   to_dictzThemeClass.to_dictz   sp    2I 	<DOOC(??7+33WT404+>(/d(;w%	< r   c                    t        |d      5 }| j                  t        j                  |t        j
                              cddd       S # 1 sw Y   yxY w)zdLoad a theme from a json file.

        Parameters:
            path: The filepath to read.
        zutf-8)encoding)object_hookN)open	from_dictjsonloadr	   as_font)clspathfps      r   r_   zThemeClass.load   sD     $) 	KR==25==!IJ	K 	K 	Ks   4AAc           	         |        }|d   j                         D ]  \  }}t        |||        t               }|j                  D ]8  }|j	                  d      rt        ||      r"t        ||t        ||             : |S )zCreate a theme instance from a dictionary representation.

        Parameters:
            theme: The dictionary representation of the theme.
        rQ   r   )r2   setattrBaser1   r%   hasattrrK   )ra   rQ   	new_themerW   valuebaser,   s          r   r]   zThemeClass.from_dict   s     E	 >//1 	,KD%ItU+	, vMM 	>D??3'	40H	4t)<=	> r   c                    t        |      j                  t        j                  | j	                         t
        j                               y)zsWrite the theme to a json file.

        Parameters:
            filename: The path to write the theme too
        ra   N)r   
write_textr^   dumpsrX   r	   FontEncoder)r   filenames     r   dumpzThemeClass.dump   s-     	X!!$**T\\^ARAR"STr   Nc           	        d|vr|d}}n|j                  d      \  }}t        j                  |      }	 |j                  |      }t        |      }t        ||      }	|	s)t        d| d|D 
cg c]  }
|
j                   c}
       t        j                  |dd	|	j                   d
      }| j                  |      }||_        |S # t        j                  j
                  $ r}t        d| d      |d}~ww xY wc c}
w )a  Load a theme from the hub.

        This DOES NOT require a HuggingFace account for downloading publicly available themes.

        Parameters:
            repo_name: string of the form <author>/<theme-name>@<semantic-version-expression>.  If a semantic version expression is omitted, the latest version will be fetched.
            hf_token: HuggingFace Token. Only needed to download private themes.
        @Ntoken
The space z does not existz.Cannot find a matching version for expression z from files spacethemes/theme_schema@.json)repo_id	repo_typerp   )splithuggingface_hubHfApi
space_infoutilsRepositoryNotFoundErrorr'   r   r
   rp   hf_hub_downloadversionr_   r   )ra   	repo_namehf_tokenr   r   apir   eassetsmatching_versionf
theme_filerQ   s                r   from_hubzThemeClass.from_hub   s    i%t'D%OOC0MD'##(3	H-J "*-/@@	 J39:aqzz:;= 
 %44+,<,D,D+EUK


 $
' $$<< 	Hz$?@aG	H ;s   C ,C=C:%C55C:c                z    t        |       }t        |d       j                  }t        |j	                               S )Nc                    | j                   S r   )r   )assets    r   rH   z.ThemeClass._get_next_version.<locals>.<lambda>   s
    u}} r   )key)r   maxr   r3   
next_patch)r   r   latest_versions      r   _get_next_versionzThemeClass._get_next_version   s3    !*-V)DEMM>,,.//r   c                B    t        |       }t        fd|D              S )Nc              3  b   K   | ]&  }|j                   t        j                        k(   ( y wr   )r   semverVersion).0ar   s     r   	<genexpr>z3ThemeClass._theme_version_exists.<locals>.<genexpr>   s#     HA199w 77Hs   ,/)r   any)r   r   r   s    ` r   _theme_version_existsz ThemeClass._theme_version_exists   s      "*-HHHHr   c           	     b   ddl m} t        j                         }	|s	 t        j                         d   }
nt        j                  |      d   }
|xs |
 d| }	 |	j                  |      }|du}|s|r| j                  |      nd}nt        j                  |      }|r'| j                  ||      rt        d	| d
| d| d      |xs |}t        j                  ddd      5 }| j                         }d|i|d<   t!        j"                  ||t$        j&                         ddd       t        j                  dd      5 }t)        j*                  ||xs d|
|      }|j-                  t/        j0                  |             ddd       t        j                  dd      5 }t3        t4              j6                  dz  j9                         }t;        j<                  dd| d|      }t;        j<                  d|xs ||      }t;        j<                  d|xs |
|      }t;        j<                  d||      }|j-                  |       ddd       t?        d| dj@                        t?        dj@                        t?        dj@                        g}t        jB                  |d d!|d"|#       |	jE                  |d$d ||%       d&| }tG        d'|        |S # t
        $ r}t        d      |d}~ww xY w# t        $ r d}Y w xY w# 1 sw Y   xY w# 1 sw Y   xY w# 1 sw Y   xY w)(u  Upload a theme to the HuggingFace hub.

        This requires a HuggingFace account.

        Parameters:
            repo_name: The name of the repository to store the theme assets, e.g. 'my_theme' or 'sunset'.
            org_name: The name of the org to save the space in. If None (the default), the username corresponding to the logged in user, or hƒ_token is used.
            version: A semantic version tag for theme. Bumping the version tag lets you publish updates to a theme without changing the look of applications that already loaded your theme.
            hf_token: API token for your HuggingFace account
            theme_name: Name for the name. If None, defaults to repo_name
            description: A long form description to your theme.
        r   )__version__r   zIn order to push to hub, log in via `huggingface-cli login` or provide a theme_token to push_to_hub. For more information see https://huggingface.co/docs/huggingface_hub/quick-start#loginNrt   /z0.0.1rv   z" already has a theme with version z. See: themes/theme_schema@zE.json. To manually override this version, use the HuggingFace hub UI.wFry   )modedeletesuffixr   rl   )r   r   z%Add a description of this theme here!)
theme_namedescriptionauthorgradio_versionzapp.pyztheme=gr.themes.Default\(\)ztheme=''z{THEME}z{AUTHOR}z{SPACE_NAME}rx   )path_in_repopath_or_fileobjz	README.mdrw   gradioT)r{   	space_sdkru   exist_okprivatezUpdating theme)rz   commit_messager{   
operationsru   zhttps://huggingface.co/spaces/zSee your theme here! )$r   r   r}   r~   whoamiOSErrorr'   r   	Exceptionr   r   r   r   tempfileNamedTemporaryFilerX   r^   rq   r	   ro   r   formatwritetextwrapdedentr   __file__parent	read_textr4   r5   r   r   create_repocreate_commitprint)r   r   org_namer   r   r   r   r   r   r   r   r   space_idr   space_existsr   css_filecontentsreadme_filereadme_contentapp_filer   urls                          r   push_to_hubzThemeClass.push_to_hub   s^   . 	'##%(//1&9 %++(;FCF(&)9+6	1J "- <Hd,,Z8gGw'AD66z7KXJ '&&-Y.I' SQQ   ,9
((U7
 	A||~H#,g"6HYIIhe.?.?@	A ((c%@ 	?K+22%'R+R*	N hoon=>	? ((c%@ 
	%HX--8CCEHvv.(1%H
 vvj**A	8LHvvk8+=vxHHvvoy(CHNN8$
	% 3G9EB ( (+:J:J HhmmT	

 	##	
 	+! 	 	
 /xj9%cU+,
q   X 	  	J	(	A 	A	? 	?
	% 
	%sO   K K9 $>LAL"B$L%	K6%K11K69LLLL"%L.)r   )rE   r3   returnr3   )rb   r3   r   r   )rQ   zdict[str, dict[str, str]]r   r   )rp   r3   r   )r   r3   r   
str | None)r    huggingface_hub.hf_api.SpaceInfor   r3   )r   r   r   r3   r   bool)NNNNNF)r   r3   r   r   r   r   r   r   r   r   r   r   r   r   )__name__
__module____qualname__r   r=   rB   rX   classmethodr_   r]   rq   r   staticmethodr   r   r   rG   r   r   r   r      s   
@:D0
 K K  $U % %N 0 0
 I4I?BI	I I  $"#!%"&vv v 	v
 v v  v vr   r   r   r   r_   rq   r]   rX   c                    e Zd Zej                  ej                  ej
                  ej                  ej                  ej                   e
j                  d      dddf e
j                  d      dddfd		 	 	 	 	 	 	 	 	 	 	 	 	 	 	 dd
Zddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddd 	 ddZy)rf   zIBM Plex Sanszui-sans-serifz	system-uiz
sans-serifzIBM Plex Monozui-monospaceConsolas	monospace)primary_huesecondary_hueneutral_hue	text_sizespacing_sizeradius_sizefont	font_monoc                  d| _         g | _        dd}	 |	|d      } |	|d      } |	|d      } |	|dd      } |	|dd	      } |	|dd
      }|j                  | _        |j                  | _        |j                  | _        |j                  | _	        |j                  | _        |j                  | _        |j                  | _        |j                   | _        |j$                  | _        |j(                  | _        |j,                  | _        |j                  | _        |j                  | _        |j                  | _        |j                  | _        |j                  | _        |j                  | _        |j                  | _        |j                   | _        |j$                  | _         |j(                  | _!        |j,                  | _"        |j                  | _#        |j                  | _$        |j                  | _%        |j                  | _&        |j                  | _'        |j                  | _(        |j                  | _)        |j                   | _*        |j$                  | _+        |j(                  | _,        |j,                  | _-        |j\                  | _/        |j`                  | _1        |jd                  | _3        |jh                  | _5        |jl                  | _7        |jp                  | _9        |jt                  | _;        |j\                  | _<        |j`                  | _=        |jd                  | _>        |jh                  | _?        |jl                  | _@        |jp                  | _A        |jt                  | _B        |j\                  | _C        |j`                  | _D        |jd                  | _E        |jh                  | _F        |jl                  | _G        |jp                  | _H        |jt                  | _I        t        |t        j                  t        f      r|g}|D 
cg c]3  }
t        |
t        j                        r|
nt        j                  |
      5 c}
| _O        t        |t        j                  t        f      r|g}|D 
cg c]3  }
t        |
t        j                        r|
nt        j                  |
      5 c}
| _P        dj                  d | j                  D              | _R        dj                  d | j                  D              | _S        g | _T        g | _        | j                  | j                  z   D ]  }|j                         }t        |t              r| j                  j                  |       ?t        |t              sP|d   r| j                  j                  |d          t|d   sz| j                  j                  |d           | j                          yc c}
w c c}
w )a
  
        Parameters:
            primary_hue: The primary hue of the theme. Load a preset, like gradio.themes.colors.green (or just the string "green"), or pass your own gradio.themes.utils.Color object.
            secondary_hue: The secondary hue of the theme. Load a preset, like gradio.themes.colors.green (or just the string "green"), or pass your own gradio.themes.utils.Color object.
            neutral_hue: The neutral hue of the theme, used . Load a preset, like gradio.themes.colors.green (or just the string "green"), or pass your own gradio.themes.utils.Color object.
            text_size: The size of the text. Load a preset, like gradio.themes.sizes.text_sm (or just the string "sm"), or pass your own gradio.themes.utils.Size object.
            spacing_size: The size of the spacing. Load a preset, like gradio.themes.sizes.spacing_sm (or just the string "sm"), or pass your own gradio.themes.utils.Size object.
            radius_size: The radius size of corners. Load a preset, like gradio.themes.sizes.radius_sm (or just the string "sm"), or pass your own gradio.themes.utils.Size object.
            font: The primary font to use for the theme. Pass a string for a system font, or a gradio.themes.font.GoogleFont object to load a font from Google Fonts. Pass a list of fonts for fallbacks.
            font_mono: The monospace font to use for the theme, applies to code. Pass a string for a system font, or a gradio.themes.font.GoogleFont object to load a font from Google Fonts. Pass a list of fonts for fallbacks.
        rj   colorNc                J   t        | t              s| S |dk(  rAt        j                  j                  D ]  }|j
                  | k(  s|c S  t        d|  d      |dk(  rFt        j                  j                  D ]  }|j
                  | d|  k(  s|c S  t        d|  d      y )Nr   zColor shortcut z not found.sizer   zSize shortcut )	rT   r3   r   Colorallr   r'   r   Size)shortcutr   prefixr   r   s        r   expand_shortcutz&Base.__init__.<locals>.expand_shortcut  s    h,w#\\-- %EzzX-$% !?8*K!HII!JJNN $Dyyvhaz$::#$ !>(;!GHH	  r   )r   r   text)r   r   spacingradiusz, c              3  2   K   | ]  }t        |        y wr   r3   r   r   s     r   r   z Base.__init__.<locals>.<genexpr>  s     ?Dc$i?   c              3  2   K   | ]  }t        |        y wr   r   r   s     r   r   z Base.__init__.<locals>.<genexpr>  s     "I3t9"Ir   r   r7   )r   N)Yr   r   c50
primary_50c100primary_100c200primary_200c300primary_300c400primary_400c500primary_500c600primary_600c700primary_700c800primary_800c900primary_900c950primary_950secondary_50secondary_100secondary_200secondary_300secondary_400secondary_500secondary_600secondary_700secondary_800secondary_900secondary_950
neutral_50neutral_100neutral_200neutral_300neutral_400neutral_500neutral_600neutral_700neutral_800neutral_900neutral_950xxsspacing_xxsxs
spacing_xssm
spacing_smmd
spacing_mdlg
spacing_lgxl
spacing_xlxxlspacing_xxl
radius_xxs	radius_xs	radius_sm	radius_md	radius_lg	radius_xl
radius_xxltext_xxstext_xstext_smtext_mdtext_lgtext_xltext_xxlrT   r	   Fontr3   	LocalFontrR   
_font_monor6   r   r   r   
stylesheetappenddictset)r   r   r   r   r   r   r   r   r   r   fontfamfont_stylesheets               r   r   zBase.__init__[  s   D 		I &k@'GD%k@#IF6J	&|&S%kxP &//&++&++&++&++&++&++&++&++&++&++)--*//*//*//*//*//*//*//*//*//*//%//&++&++&++&++&++&++&++&++&++&++ (++&//&//&//&//&//'++%//$$$$$%//! || || || || ||! dUZZ-.6D  
 "'5::6GEOOG<TT

 i%**c!23"I %
 "'5::6GEOOG<TT
 II?DJJ??	"I"IIJJ0 	BD"oo/O/3/!!((9OT2"5)%%,,_U-CD$U+NN))/%*@A	B 	
3

s   8W68WN(   body_background_fillbody_background_fill_darkbody_text_colorbody_text_color_darkbody_text_sizebody_text_color_subduedbody_text_color_subdued_darkbody_text_weightembed_radiusbackground_fill_primarybackground_fill_primary_darkbackground_fill_secondarybackground_fill_secondary_darkborder_color_accentborder_color_accent_darkborder_color_accent_subdued border_color_accent_subdued_darkborder_color_primaryborder_color_primary_darkcolor_accentcolor_accent_softcolor_accent_soft_darklink_text_colorlink_text_color_darklink_text_color_activelink_text_color_active_darklink_text_color_hoverlink_text_color_hover_darklink_text_color_visitedlink_text_color_visited_darkprose_text_sizeprose_text_weightprose_header_text_weightcode_background_fillcode_background_fill_darkshadow_dropshadow_drop_lgshadow_insetshadow_spreadshadow_spread_darkblock_background_fillblock_background_fill_darkblock_border_colorblock_border_color_darkblock_border_widthblock_border_width_darkblock_info_text_colorblock_info_text_color_darkblock_info_text_sizeblock_info_text_weightblock_label_background_fill block_label_background_fill_darkblock_label_border_colorblock_label_border_color_darkblock_label_border_widthblock_label_border_width_darkblock_label_shadowblock_label_text_colorblock_label_text_color_darkblock_label_marginblock_label_paddingblock_label_radiusblock_label_right_radiusblock_label_text_sizeblock_label_text_weightblock_paddingblock_radiusblock_shadowblock_shadow_darkblock_title_background_fill block_title_background_fill_darkblock_title_border_colorblock_title_border_color_darkblock_title_border_widthblock_title_border_width_darkblock_title_text_colorblock_title_text_color_darkblock_title_paddingblock_title_radiusblock_title_text_sizeblock_title_text_weightcontainer_radiusform_gap_width
layout_gappanel_background_fillpanel_background_fill_darkpanel_border_colorpanel_border_color_darkpanel_border_widthpanel_border_width_darksection_header_text_sizesection_header_text_weightaccordion_text_coloraccordion_text_color_darktable_text_colortable_text_color_darkcheckbox_background_colorchatbot_text_sizecheckbox_background_color_darkcheckbox_background_color_focus$checkbox_background_color_focus_darkcheckbox_background_color_hover$checkbox_background_color_hover_dark"checkbox_background_color_selected'checkbox_background_color_selected_darkcheckbox_border_colorcheckbox_border_color_darkcheckbox_border_color_focus checkbox_border_color_focus_darkcheckbox_border_color_hover checkbox_border_color_hover_darkcheckbox_border_color_selected#checkbox_border_color_selected_darkcheckbox_border_radiuscheckbox_border_widthcheckbox_border_width_darkcheckbox_checkradio_circlecheckbox_shadowcheckbox_label_background_fill#checkbox_label_background_fill_dark$checkbox_label_background_fill_hover)checkbox_label_background_fill_hover_dark'checkbox_label_background_fill_selected,checkbox_label_background_fill_selected_darkcheckbox_label_border_color checkbox_label_border_color_dark!checkbox_label_border_color_hover&checkbox_label_border_color_hover_dark$checkbox_label_border_color_selected)checkbox_label_border_color_selected_darkcheckbox_label_border_width checkbox_label_border_width_darkcheckbox_label_gapcheckbox_label_paddingcheckbox_label_shadowcheckbox_label_text_sizecheckbox_label_text_weightcheckbox_label_text_colorcheckbox_label_text_color_dark"checkbox_label_text_color_selected'checkbox_label_text_color_selected_darkerror_background_fillerror_background_fill_darkerror_border_colorerror_border_color_darkerror_border_widtherror_border_width_darkerror_text_colorerror_text_color_darkerror_icon_colorerror_icon_color_darkinput_background_fillinput_background_fill_darkinput_background_fill_focus input_background_fill_focus_darkinput_background_fill_hover input_background_fill_hover_darkinput_border_colorinput_border_color_darkinput_border_color_focusinput_border_color_focus_darkinput_border_color_hoverinput_border_color_hover_darkinput_border_widthinput_border_width_darkinput_paddinginput_placeholder_colorinput_placeholder_color_darkinput_radiusinput_shadowinput_shadow_darkinput_shadow_focusinput_shadow_focus_darkinput_text_sizeinput_text_weightloader_colorloader_color_darkslider_colorslider_color_darkstat_background_fillstat_background_fill_darktable_border_colortable_border_color_darktable_even_background_filltable_even_background_fill_darktable_odd_background_filltable_odd_background_fill_darktable_radiustable_row_focustable_row_focus_darkbutton_border_widthbutton_border_width_darkbutton_transform_hoverbutton_transform_activebutton_transitionbutton_large_paddingbutton_large_radiusbutton_large_text_sizebutton_large_text_weightbutton_small_paddingbutton_small_radiusbutton_small_text_sizebutton_small_text_weightbutton_medium_paddingbutton_medium_radiusbutton_medium_text_sizebutton_medium_text_weightbutton_primary_background_fill#button_primary_background_fill_dark$button_primary_background_fill_hover)button_primary_background_fill_hover_darkbutton_primary_border_color button_primary_border_color_dark!button_primary_border_color_hover&button_primary_border_color_hover_darkbutton_primary_text_colorbutton_primary_text_color_darkbutton_primary_text_color_hover$button_primary_text_color_hover_darkbutton_primary_shadowbutton_primary_shadow_hoverbutton_primary_shadow_activebutton_primary_shadow_dark button_primary_shadow_hover_dark!button_primary_shadow_active_dark button_secondary_background_fill%button_secondary_background_fill_dark&button_secondary_background_fill_hover+button_secondary_background_fill_hover_darkbutton_secondary_border_color"button_secondary_border_color_dark#button_secondary_border_color_hover(button_secondary_border_color_hover_darkbutton_secondary_text_color button_secondary_text_color_dark!button_secondary_text_color_hover&button_secondary_text_color_hover_darkbutton_secondary_shadowbutton_secondary_shadow_hoverbutton_secondary_shadow_activebutton_secondary_shadow_dark"button_secondary_shadow_hover_dark#button_secondary_shadow_active_darkbutton_cancel_background_fill"button_cancel_background_fill_dark#button_cancel_background_fill_hover(button_cancel_background_fill_hover_darkbutton_cancel_border_colorbutton_cancel_border_color_dark button_cancel_border_color_hover%button_cancel_border_color_hover_darkbutton_cancel_text_colorbutton_cancel_text_color_darkbutton_cancel_text_color_hover#button_cancel_text_color_hover_darkc               N.   |xs t        | dd      | _        |xs t        | dd      | _        |xs t        | dd      | _        |xs t        | dd      | _        |xs t        | dd	      | _        |xs t        | d
d      | _        |	xs t        | dd      | _        |xs t        | dd      | _        |xs t        | dd      | _	        |xs t        | dd      | _
        |
xs t        | dd      | _        |xs t        | dd      | _        |xs t        | dd      | _        |xs t        | dd      | _        |xs t        | dd      | _        |xs t        | dd      | _        |xs t        | d d!      | _        |xs t        | d"d      | _        |xs t        | d#d$      | _        |xs t        | d%d$      | _        |xs t        | d&d'      | _        |xs t        | d(d'      | _        |xs t        | d)d*      | _        |xs t        | d+d,      | _        |xs t        | d-d'      | _        |xs t        | d.d$      | _        |xs t        | d/d0      | _        |xs t        | d1d0      | _        ]xs t        | d2d3      | _        ^xs t        | d4d3      | _        _xs t        | d5d3      | _        `xs t        | d6d3      | _         |$xs t        | d7d8      | _!        |%xs t        | d9d:      | _"        |&xs t        | d;d<      | _#        |'xs t        | d=d>      | _$        |(xs t        | d?d@      | _%        |)xs t        | dAd      | _&        |*xs t        | dBd      | _'        |+xs t        | dCdD      | _(        |,xs t        | dEdD      | _)        |-xs t        | dFd@      | _*        |.xs t        | dGdH      | _+        |/xs t        | dIdJ      | _,        |0xs t        | dKdJ      | _-        |1xs t        | dLdM      | _.        |2xs t        | dNd      | _/        |3xs t        | dOd      | _0        |4xs t        | dPdQ      | _1        |5xs t        | dRdD      | _2        |6xs t        | dSdD      | _3        |7xs t        | dTd@      | _4        |8xs t        | dUdH      | _5        |9xs t        | dVdW      | _6        |:xs t        | dXdY      | _7        |;xs t        | dZd!      | _8        |<xs t        | d[d\      | _9        |=xs t        | d]d^      | _:        |>xs t        | d_d`      | _;        |?xs t        | dadb      | _<        @xs t        | dcdM      | _=        Axs t        | ddd      | _>        Bxs t        | dedf      | _?        Cxs t        | dgd      | _@        Dxs t        | dhdi      | _A        Exs t        | djdH      | _B        Fxs t        | dkdi      | _C        Gxs t        | dldH      | _D        Hxs t        | dmdi      | _E        Ixs t        | dndH      | _F        Jxs t        | dodp      | _G        Kxs t        | dqdH      | _H        Lxs t        | drdY      | _I        Mxs t        | dsd!      | _J        Nxs t        | dtd\      | _K        Oxs t        | dudi      | _L        Pxs t        | dvd	      | _M        Qxs t        | dwd      | _N        Rxs t        | dxd      | _O        Sxs t        | dydp      | _P        Txs t        | dzd{      | _Q        Uxs t        | d|dQ      | _R        Vxs t        | d}dQ      | _S        Wxs t        | d~dD      | _T        Xxs t        | ddD      | _U        Yxs t        | dd\      | _V        Zxs t        | ddH      | _W        [xs t        | dd	      | _X        \xs t        | dd      | _Y        |xs t        | dd      | _Z        |xs t        | dd      | _[        |"xs t        | dd      | _\        |#xs t        | dd      | _]        bxs t        | dd      | _^        axs t        | dd      | __        cxs t        | dd      | _`        dxs t        | dd      | _a        exs t        | dd      | _b        fxs t        | dd      | _c        gxs t        | dd      | _d        hxs t        | dd      | _e        ixs t        | dd      | _f        jxs t        | dd      | _g        kxs t        | dd      | _h        lxs t        | dd      | _i        mxs t        | dd      | _j        nxs t        | dd      | _k        oxs t        | dd      | _l        pxs t        | dd      | _m        qxs t        | dd      | _n        rxs t        | dd      | _o        sxs t        | dd      | _p        txs t        | dd      | _q        xxs t        | dd      | _r        yxs t        | dd      | _s        zxs t        | dd      | _t        {xs t        | dd      | _u        |xs t        | dd      | _v        }xs t        | dd      | _w        ~xs t        | ddD      | _x        xs t        | ddD      | _y        xs t        | dd      | _z        xs t        | dd      | _{        xs t        | dd      | _|        xs t        | dd      | _}        xs t        | dd      | _~        xs t        | dd      | _        xs t        | dd      | _        xs t        | dd      | _        xs t        | ddi      | _        xs t        | dd	      | _        xs t        | dd      | _        uxs t        | dd      | _        vxs t        | dd      | _        wxs t        | dd      | _        xs t        | dd3      | _        xs t        | dd3      | _        xs t        | ddī      | _        xs t        | ddī      | _        xs( t        | dƐt        j                  j                        | _        xs t        | dd      | _        xs( t        | dȐt        j                  j"                        | _        xs( t        | dɐt        j                  j&                        | _        xs t        | dd@      | _        xs t        | ddH      | _        xs( t        | d̐t        j                  j"                        | _        xs( t        | d͐t        j                  j                        | _        xs( t        | dΐt        j                  j"                        | _        xs( t        | dϐt        j                  j&                        | _        xs t        | dd      | _        xs t        | dd      | _        xs t        | ddӫ      | _        xs t        | ddH      | _        xs t        | ddӫ      | _        xs t        | ddӫ      | _        xs t        | ddD      | _        xs t        | ddD      | _        xs t        | ddګ      | _        xs t        | dd      | _        xs t        | ddݫ      | _        xs t        | ddݫ      | _        xs t        | ddp      | _        xs t        | ddH      | _        xs t        | dd      | _        xs t        | dd0      | _        xs t        | ddY      | _        xs t        | dd      | _        xs t        | ddi      | _        xs t        | ddH      | _        xs t        | dd      | _        xs t        | ddH      | _        xs t        | dd	      | _        xs t        | dd      | _        xs t        | dd      | _        xs t        | ddH      | _        |xs t        | dd	      | _        | xs t        | dd      | _        |!xs t        | dd      | _        xs t        | dd      | _        xs t        | ddH      | _        xs t        | dd      | _        xs t        | dd      | _        xs t        | dd      | _        xs t        | dd      | _        xs t        | dd      | _        xs t        | dd      | _        xs t        | dd      | _        xs t        | dd      | _        xs t        | dd      | _        xs t        | dd      | _        xs t        | dd      | _        xs t        | d d      | _        xs t        | ddH      | _        xs t        | dd      | _        xs t        | dd      | _        xs t        | dd      | _        xs t        | dd      | _        xs t        | dd      | _        xs t        | dd      | _        xs t        | d	d
      | _        xs t        | dd
      | _        xs t        | dd      | _        xs t        | dd      | _        xs t        | dd      | _         xs t        | dd      | _        xs t        | ddi      | _        xs t        | ddi      | _        xs t        | dd      | _        xs t        | dd      | _        xs t        | dd      | _        xs t        | dd      | _        xs t        | dd      | _        xs t        | dd      | _        xs t        | dd      | _        xs t        | dd      | _        xs t        | d d!      | _        xs t        | d"d      | _        xs t        | d#d      | _        xs t        | d$d      | _        xs t        | d%d      | _        xs t        | d&d      | _        xs t        | d'd      | _        xs t        | d(d)      | _        xs t        | d*d)      | _        xs t        | d+di      | _        xs t        | d,d-      | _        xs t        | d.d-      | _        xs t        | d/dH      | _        xs t        | d0d-      | _        xs t        | d1d-      | _        xs t        | d2d!      | _        xs t        | d3d      | _        xs t        | d4d      | _        xs t        | d5d      | _        xs t        | d6d!      | _        xs t        | d7d      | _        xs t        | d8d!      | _        xs t        | d9dY      | _        xs t        | d:d;      | _        xs t        | d<d      | _        xs t        | d=d      | _        xs t        | d>d      | _        xs t        | d?d-      | _        xs t        | d@dA      | _        xs t        | dBdA      | _        xs t        | dCdH      | _        xs t        | dDdA      | _        xs t        | dEdA      | _        xs t        | dFdG      | _        xs t        | dHd      | _        xs t        | dIdM      | _         xs t        | dJd      | _        xs t        | dKd      | _        xs t        | dLd      | _        xs t        | dMd	      | _        xs t        | dNd      | _        | S (O  aB`  
        Parameters:
            body_background_fill: The background of the entire app.
            body_background_fill_dark: The background of the entire app in dark mode.
            body_text_color: The default text color.
            body_text_color_dark: The default text color in dark mode.
            body_text_size: The default text size.
            body_text_color_subdued: The text color used for softer, less important text.
            body_text_color_subdued_dark: The text color used for softer, less important text in dark mode.
            body_text_weight: The default text weight.
            embed_radius: The corner radius used for embedding when the app is embedded within a page.
            background_fill_primary: The background primarily used for items placed directly on the page.
            background_fill_primary_dark: The background primarily used for items placed directly on the page in dark mode.
            background_fill_secondary: The background primarily used for items placed on top of another item.
            background_fill_secondary_dark: The background primarily used for items placed on top of another item in dark mode.
            border_color_accent: The border color used for accented items.
            border_color_accent_dark: The border color used for accented items in dark mode.
            border_color_accent_subdued: The subdued border color for accented items.
            border_color_accent_subdued_dark: The subdued border color for accented items in dark mode.
            border_color_primary: The border color primarily used for items placed directly on the page.
            border_color_primary_dark: The border color primarily used for items placed directly on the page in dark mode.
            color_accent: The color used for accented items.
            color_accent_soft: The softer color used for accented items.
            color_accent_soft_dark: The softer color used for accented items in dark mode.
            link_text_color: The text color used for links.
            link_text_color_dark: The text color used for links in dark mode.
            link_text_color_active: The text color used for links when they are active.
            link_text_color_active_dark: The text color used for links when they are active in dark mode.
            link_text_color_hover: The text color used for links when they are hovered over.
            link_text_color_hover_dark: The text color used for links when they are hovered over in dark mode.
            link_text_color_visited: The text color used for links when they have been visited.
            link_text_color_visited_dark: The text color used for links when they have been visited in dark mode.
            prose_text_size: The text size used for markdown and other prose.
            prose_text_weight: The text weight used for markdown and other prose.
            prose_header_text_weight: The text weight of a header used for markdown and other prose.
            code_background_fill: The background color of code blocks.
            code_background_fill_dark: The background color of code blocks in dark mode.
            shadow_drop: Drop shadow used by other shadowed items.
            shadow_drop_lg: Larger drop shadow used by other shadowed items.
            shadow_inset: Inset shadow used by other shadowed items.
            shadow_spread: Size of shadow spread used by shadowed items.
            shadow_spread_dark: Size of shadow spread used by shadowed items in dark mode.
            block_background_fill: The background around an item.
            block_background_fill_dark: The background around an item in dark mode.
            block_border_color: The border color around an item.
            block_border_color_dark: The border color around an item in dark mode.
            block_border_width: The border width around an item.
            block_border_width_dark: The border width around an item in dark mode.
            block_info_text_color: The color of the info text.
            block_info_text_color_dark: The color of the info text in dark mode.
            block_info_text_size: The size of the info text.
            block_info_text_weight: The weight of the info text.
            block_label_background_fill: The background of the title label of a media element (e.g. image).
            block_label_background_fill_dark: The background of the title label of a media element (e.g. image) in dark mode.
            block_label_border_color: The border color of the title label of a media element (e.g. image).
            block_label_border_color_dark: The border color of the title label of a media element (e.g. image) in dark mode.
            block_label_border_width: The border width of the title label of a media element (e.g. image).
            block_label_border_width_dark: The border width of the title label of a media element (e.g. image) in dark mode.
            block_label_shadow: The shadow of the title label of a media element (e.g. image).
            block_label_text_color: The text color of the title label of a media element (e.g. image).
            block_label_text_color_dark: The text color of the title label of a media element (e.g. image) in dark mode.
            block_label_margin: The margin of the title label of a media element (e.g. image) from its surrounding container.
            block_label_padding: The padding of the title label of a media element (e.g. image).
            block_label_radius: The corner radius of the title label of a media element (e.g. image).
            block_label_right_radius: The corner radius of a right-aligned helper label.
            block_label_text_size: The text size of the title label of a media element (e.g. image).
            block_label_text_weight: The text weight of the title label of a media element (e.g. image).
            block_padding: The padding around an item.
            block_radius: The corner radius around an item.
            block_shadow: The shadow under an item.
            block_shadow_dark: The shadow under an item in dark mode.
            block_title_background_fill: The background of the title of a form element (e.g. textbox).
            block_title_background_fill_dark: The background of the title of a form element (e.g. textbox) in dark mode.
            block_title_border_color: The border color of the title of a form element (e.g. textbox).
            block_title_border_color_dark: The border color of the title of a form element (e.g. textbox) in dark mode.
            block_title_border_width: The border width of the title of a form element (e.g. textbox).
            block_title_border_width_dark: The border width of the title of a form element (e.g. textbox) in dark mode.
            block_title_text_color: The text color of the title of a form element (e.g. textbox).
            block_title_text_color_dark: The text color of the title of a form element (e.g. textbox) in dark mode.
            block_title_padding: The padding of the title of a form element (e.g. textbox).
            block_title_radius: The corner radius of the title of a form element (e.g. textbox).
            block_title_text_size: The text size of the title of a form element (e.g. textbox).
            block_title_text_weight: The text weight of the title of a form element (e.g. textbox).
            container_radius: The corner radius of a layout component that holds other content.
            form_gap_width: The border gap between form elements, (e.g. consecutive textboxes).
            layout_gap: The gap between items within a row or column.
            panel_background_fill: The background of a panel.
            panel_background_fill_dark: The background of a panel in dark mode.
            panel_border_color: The border color of a panel.
            panel_border_color_dark: The border color of a panel in dark mode.
            panel_border_width: The border width of a panel.
            panel_border_width_dark: The border width of a panel in dark mode.
            accordion_text_color: The body text color in the accordion.
            accordion_text_color_dark: The body text color in the accordion in dark mode.
            table_text_color: The body text color in the table.
            table_text_color_dark: The body text color in the table in dark mode.
            section_header_text_size: The text size of a section header (e.g. tab name).
            section_header_text_weight: The text weight of a section header (e.g. tab name).
            chatbot_text_size: The text size of the chatbot text.
            checkbox_background_color: The background of a checkbox square or radio circle.
            checkbox_background_color_dark: The background of a checkbox square or radio circle in dark mode.
            checkbox_background_color_focus: The background of a checkbox square or radio circle when focused.
            checkbox_background_color_focus_dark: The background of a checkbox square or radio circle when focused in dark mode.
            checkbox_background_color_hover: The background of a checkbox square or radio circle when hovered over.
            checkbox_background_color_hover_dark: The background of a checkbox square or radio circle when hovered over in dark mode.
            checkbox_background_color_selected: The background of a checkbox square or radio circle when selected.
            checkbox_background_color_selected_dark: The background of a checkbox square or radio circle when selected in dark mode.
            checkbox_border_color: The border color of a checkbox square or radio circle.
            checkbox_border_color_dark: The border color of a checkbox square or radio circle in dark mode.
            checkbox_border_color_focus: The border color of a checkbox square or radio circle when focused.
            checkbox_border_color_focus_dark: The border color of a checkbox square or radio circle when focused in dark mode.
            checkbox_border_color_hover: The border color of a checkbox square or radio circle when hovered over.
            checkbox_border_color_hover_dark: The border color of a checkbox square or radio circle when hovered over in dark mode.
            checkbox_border_color_selected: The border color of a checkbox square or radio circle when selected.
            checkbox_border_color_selected_dark: The border color of a checkbox square or radio circle when selected in dark mode.
            checkbox_border_radius: The corner radius of a checkbox square.
            checkbox_border_width: The border width of a checkbox square or radio circle.
            checkbox_border_width_dark: The border width of a checkbox square or radio circle in dark mode.
            checkbox_check: The checkmark visual of a checkbox square.
            radio_circle: The circle visual of a radio circle.
            checkbox_shadow: The shadow of a checkbox square or radio circle.
            checkbox_label_background_fill: The background of the surrounding button of a checkbox or radio element.
            checkbox_label_background_fill_dark: The background of the surrounding button of a checkbox or radio element in dark mode.
            checkbox_label_background_fill_hover: The background of the surrounding button of a checkbox or radio element when hovered over.
            checkbox_label_background_fill_hover_dark: The background of the surrounding button of a checkbox or radio element when hovered over in dark mode.
            checkbox_label_background_fill_selected: The background of the surrounding button of a checkbox or radio element when selected.
            checkbox_label_background_fill_selected_dark: The background of the surrounding button of a checkbox or radio element when selected in dark mode.
            checkbox_label_border_color: The border color of the surrounding button of a checkbox or radio element.
            checkbox_label_border_color_dark: The border color of the surrounding button of a checkbox or radio element in dark mode.
            checkbox_label_border_color_hover: The border color of the surrounding button of a checkbox or radio element when hovered over.
            checkbox_label_border_color_hover_dark: The border color of the surrounding button of a checkbox or radio element when hovered over in dark mode.
            checkbox_label_border_color_selected: The border color of the surrounding button of a checkbox or radio element when selected.
            checkbox_label_border_color_selected_dark: The border color of the surrounding button of a checkbox or radio element when selected in dark mode.
            checkbox_label_border_width: The border width of the surrounding button of a checkbox or radio element.
            checkbox_label_border_width_dark: The border width of the surrounding button of a checkbox or radio element in dark mode.
            checkbox_label_gap: The gap consecutive checkbox or radio elements.
            checkbox_label_padding: The padding of the surrounding button of a checkbox or radio element.
            checkbox_label_shadow: The shadow of the surrounding button of a checkbox or radio element.
            checkbox_label_text_size: The text size of the label accompanying a checkbox or radio element.
            checkbox_label_text_weight: The text weight of the label accompanying a checkbox or radio element.
            checkbox_label_text_color: The text color of the label accompanying a checkbox or radio element.
            checkbox_label_text_color_dark: The text color of the label accompanying a checkbox or radio element in dark mode.
            checkbox_label_text_color_selected: The text color of the label accompanying a checkbox or radio element when selected.
            checkbox_label_text_color_selected_dark: The text color of the label accompanying a checkbox or radio element when selected in dark mode.
            error_background_fill: The background of an error message.
            error_background_fill_dark: The background of an error message in dark mode.
            error_border_color: The border color of an error message.
            error_border_color_dark: The border color of an error message in dark mode.
            error_border_width: The border width of an error message.
            error_border_width_dark: The border width of an error message in dark mode.
            error_text_color: The text color of an error message.
            error_text_color_dark: The text color of an error message in dark mode.
            input_background_fill: The background of an input field.
            input_background_fill_dark: The background of an input field in dark mode.
            input_background_fill_focus: The background of an input field when focused.
            input_background_fill_focus_dark: The background of an input field when focused in dark mode.
            input_background_fill_hover: The background of an input field when hovered over.
            input_background_fill_hover_dark: The background of an input field when hovered over in dark mode.
            input_border_color: The border color of an input field.
            input_border_color_dark: The border color of an input field in dark mode.
            input_border_color_focus: The border color of an input field when focused.
            input_border_color_focus_dark: The border color of an input field when focused in dark mode.
            input_border_color_hover: The border color of an input field when hovered over.
            input_border_color_hover_dark: The border color of an input field when hovered over in dark mode.
            input_border_width: The border width of an input field.
            input_border_width_dark: The border width of an input field in dark mode.
            input_padding: The padding of an input field.
            input_placeholder_color: The placeholder text color of an input field.
            input_placeholder_color_dark: The placeholder text color of an input field in dark mode.
            input_radius: The corner radius of an input field.
            input_shadow: The shadow of an input field.
            input_shadow_dark: The shadow of an input field in dark mode.
            input_shadow_focus: The shadow of an input field when focused.
            input_shadow_focus_dark: The shadow of an input field when focused in dark mode.
            input_text_size: The text size of an input field.
            input_text_weight: The text weight of an input field.
            loader_color: The color of the loading animation while a request is pending.
            loader_color_dark: The color of the loading animation while a request is pending in dark mode.
            slider_color: The color of the slider in a range element.
            slider_color_dark: The color of the slider in a range element in dark mode.
            stat_background_fill: The background used for stats visuals (e.g. confidence bars in label).
            stat_background_fill_dark: The background used for stats visuals (e.g. confidence bars in label) in dark mode.
            table_border_color: The border color of a table.
            table_border_color_dark: The border color of a table in dark mode.
            table_even_background_fill: The background of even rows in a table.
            table_even_background_fill_dark: The background of even rows in a table in dark mode.
            table_odd_background_fill: The background of odd rows in a table.
            table_odd_background_fill_dark: The background of odd rows in a table in dark mode.
            table_radius: The corner radius of a table.
            table_row_focus: The background of a focused row in a table.
            table_row_focus_dark: The background of a focused row in a table in dark mode.
            button_border_width: The border width of a button.
            button_border_width_dark: The border width of a button in dark mode.
            button_cancel_background_fill: The background of a button of "cancel" variant.
            button_cancel_background_fill_dark: The background of a button of "cancel" variant in dark mode.
            button_cancel_background_fill_hover: The background of a button of "cancel" variant when hovered over.
            button_cancel_background_fill_hover_dark: The background of a button of "cancel" variant when hovered over in dark mode.
            button_cancel_border_color: The border color of a button of "cancel" variant.
            button_cancel_border_color_dark: The border color of a button of "cancel" variant in dark mode.
            button_cancel_border_color_hover: The border color of a button of "cancel" variant when hovered over.
            button_cancel_border_color_hover_dark: The border color of a button of "cancel" variant when hovered over in dark mode.
            button_cancel_text_color: The text color of a button of "cancel" variant.
            button_cancel_text_color_dark: The text color of a button of "cancel" variant in dark mode.
            button_cancel_text_color_hover: The text color of a button of "cancel" variant when hovered over.
            button_cancel_text_color_hover_dark: The text color of a button of "cancel" variant when hovered over in dark mode.
            button_large_padding: The padding of a button with the default "large" size.
            button_large_radius: The corner radius of a button with the default "large" size.
            button_large_text_size: The text size of a button with the default "large" size.
            button_large_text_weight: The text weight of a button with the default "large" size.
            button_primary_background_fill: The background of a button of "primary" variant.
            button_primary_background_fill_dark: The background of a button of "primary" variant in dark mode.
            button_primary_background_fill_hover: The background of a button of "primary" variant when hovered over.
            button_primary_background_fill_hover_dark: The background of a button of "primary" variant when hovered over in dark mode.
            button_primary_border_color: The border color of a button of "primary" variant.
            button_primary_border_color_dark: The border color of a button of "primary" variant in dark mode.
            button_primary_border_color_hover: The border color of a button of "primary" variant when hovered over.
            button_primary_border_color_hover_dark: The border color of a button of "primary" variant when hovered over in dark mode.
            button_primary_text_color: The text color of a button of "primary" variant.
            button_primary_text_color_dark: The text color of a button of "primary" variant in dark mode.
            button_primary_text_color_hover: The text color of a button of "primary" variant when hovered over.
            button_primary_text_color_hover_dark: The text color of a button of "primary" variant when hovered over in dark mode.
            button_primary_shadow: The shadow under a primary button.
            button_primary_shadow_active: The shadow under a primary button when pressed.
            button_primary_shadow_hover: The shadow under a primary button when hovered over.
            button_primary_shadow_dark: The shadow under a primary button in dark mode.
            button_primary_shadow_active_dark: The shadow under a primary button when pressed in dark mode.
            button_primary_shadow_hover_dark: The shadow under a primary button when hovered over in dark mode.
            button_secondary_background_fill: The background of a button of default "secondary" variant.
            button_secondary_background_fill_dark: The background of a button of default "secondary" variant in dark mode.
            button_secondary_background_fill_hover: The background of a button of default "secondary" variant when hovered over.
            button_secondary_background_fill_hover_dark: The background of a button of default "secondary" variant when hovered over in dark mode.
            button_secondary_border_color: The border color of a button of default "secondary" variant.
            button_secondary_border_color_dark: The border color of a button of default "secondary" variant in dark mode.
            button_secondary_border_color_hover: The border color of a button of default "secondary" variant when hovered over.
            button_secondary_border_color_hover_dark: The border color of a button of default "secondary" variant when hovered over in dark mode.
            button_secondary_text_color: The text color of a button of default "secondary" variant.
            button_secondary_text_color_dark: The text color of a button of default "secondary" variant in dark mode.
            button_secondary_text_color_hover: The text color of a button of default "secondary" variant when hovered over.
            button_secondary_text_color_hover_dark: The text color of a button of default "secondary" variant when hovered over in dark mode.
            button_secondary_shadow: The shadow under a secondary button.
            button_secondary_shadow_active: The shadow under a secondary button when pressed.
            button_secondary_shadow_hover: The shadow under a secondary button when hovered over.
            button_secondary_shadow_dark: The shadow under a secondary button in dark mode.
            button_secondary_shadow_active_dark: The shadow under a secondary button when pressed in dark mode.
            button_secondary_shadow_hover_dark: The shadow under a secondary button when hovered over in dark mode.
            button_small_padding: The padding of a button set to "small" size.
            button_small_radius: The corner radius of a button set to "small" size.
            button_small_text_size: The text size of a button set to "small" size.
            button_small_text_weight: The text weight of a button set to "small" size.
            button_medium_padding: The padding of a button set to "medium" size.
            button_medium_radius: The corner radius of a button set to "medium" size.
            button_medium_text_size: The text size of a button set to "medium" size.
            button_medium_text_weight: The text weight of a button set to "medium" size.
            button_transition: The transition animation duration of a button between regular, hover, and focused states.
            button_transform_hover: The transform animation of a button on hover.
            button_transform_active: The transform animation of a button when pressed.
        rB  z*background_fill_primaryrC  rD  z*neutral_800rE  z*neutral_100rF  z*text_mdrI  400rJ  z
*radius_smrU  z*primary_500rV  z*primary_50rW  z*neutral_700background_primarywhitebackground_primary_darkz*neutral_950background_secondaryz*neutral_50background_secondary_darkz*neutral_900rO  z*primary_300rP  z*neutral_600rS  z*neutral_200rT  rX  z*secondary_600rZ  r[  z*secondary_500rY  r\  z*secondary_700r]  z*secondary_400r^  r_  rG  z*neutral_400rH  r  z*body_text_colorr  r  r  re  z rgba(0,0,0,0.05) 0px 1px 2px 0pxrf  z=0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1)rg  z&rgba(0,0,0,0.05) 0px 2px 4px 0px insetrh  3pxri  1pxrj  rk  rl  z*border_color_primaryrm  rn  ro  Nrp  z*body_text_color_subduedrq  rr  z*text_smrs  rt  ru  z*background_fill_secondaryrv  rw  rx  ry  rz  z*block_shadowr{  z*neutral_500r|  r}  0r~  z*spacing_sm *spacing_lgr  z1calc(*radius_sm - 1px) 0 calc(*radius_sm - 1px) 0r  z10 calc(*radius_sm - 1px) 0 calc(*radius_sm - 1px)r  r  r  z#*spacing_xl calc(*spacing_xl + 2px)r  r  noner  r  r  r  r  r  0pxr  r  r  r  r  r  r  r  r  r  z*spacing_xxlr  r  r  r  r  r  r  r  rQ  z*border_color_accentrR  rc  rd  r  z*text_lgr  r  r  z*checkbox_background_colorr  r  r  r  z*color_accentr  r  z*neutral_300r  r  r  r  r  r  r  r  r  z*input_border_widthr  r  z!*button_secondary_background_fillr  r  z'*button_secondary_background_fill_hoverr  r  z*checkbox_label_background_fillr  r  r  r  z*checkbox_label_border_colorr  r  r  r  r  r  z*spacing_lgr  z!*spacing_md calc(2 * *spacing_md)r  r  r  r  zurl("data:image/svg+xml,%3csvg viewBox='0 0 16 16' fill='white' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M12.207 4.793a1 1 0 010 1.414l-5 5a1 1 0 01-1.414 0l-2-2a1 1 0 011.414-1.414L6.5 9.086l4.293-4.293a1 1 0 011.414 0z'/%3e%3c/svg%3e")r  zurl("data:image/svg+xml,%3csvg viewBox='0 0 16 16' fill='white' xmlns='http://www.w3.org/2000/svg'%3e%3ccircle cx='8' cy='8' r='3'/%3e%3c/svg%3e")r  z*input_shadowr  r  r  z*checkbox_label_text_colorr  r  r  r  r  r  r  r  r  r  r  r  r  r  z*input_background_fillr  r  r  r  r  r  z*secondary_300r  r  z*input_border_colorr  r  r  r  z*spacing_xlr  r  r  r  r  r  r  r  r  r  r  r`  ra  rb  600r  r  r  r  r  r  r  r  r  r  r  r  z*color_accent_softr   r  r  r6  r7  r8  r9  r:  z*button_secondary_border_colorr;  r<  z$*button_secondary_border_color_hoverr=  r>  z*button_secondary_text_colorr?  r@  z"*button_secondary_text_color_hoverrA  r  r  r  zall 0.2s easer  z!*spacing_lg calc(2 * *spacing_lg)r  z
*radius_mdr  r	  r  r  z*primary_600r  r  z*primary_700r  r  r  r  r  r  r  z*button_primary_text_colorr  r  r  z*button_primary_shadowr   r!  r"  r#  r$  r%  r&  r'  r(  r)  r*  r+  r,  blackr-  r.  r/  r0  r1  z*button_secondary_shadowr2  r3  r4  r5  r
  z#*spacing_sm calc(1.5 * *spacing_sm)r  r  r  r  r  r  r  (  rK   rB  rC  rD  rE  rF  rI  rJ  rU  rV  rW  rK  rL  rM  rN  rO  rP  rS  rT  rX  rZ  r[  rY  r\  r]  r^  r_  rG  rH  r  r  r  r  re  rf  rg  rh  ri  rj  rk  rl  rm  rn  ro  rp  rq  rr  rs  rt  ru  rv  rw  rx  ry  rz  r{  r|  r}  r~  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  rQ  rR  rc  rd  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r   redr   r  r  r   r  r   r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r`  ra  rb  r  r  r  r  r  r  r  r  r  r  r  r  r   r  r  r6  r7  r8  r9  r:  r;  r<  r=  r>  r?  r@  rA  r  r  r  r  r  r  r	  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r   r!  r"  r#  r$  r%  r&  r'  r(  r)  r*  r+  r,  r-  r.  r/  r0  r1  r2  r3  r4  r5  r
  r  r  r  r  r  r  r  (  r   rB  rC  rD  rE  rF  rG  rH  rI  rJ  rK  rL  rM  rN  rO  rP  rQ  rR  rS  rT  rU  rV  rW  rX  rY  rZ  r[  r\  r]  r^  r_  r`  ra  rb  rc  rd  re  rf  rg  rh  ri  rj  rk  rl  rm  rn  ro  rp  rq  rr  rs  rt  ru  rv  rw  rx  ry  rz  r{  r|  r}  r~  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r   r  r  r  r  r  r  r  r  r	  r
  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r   r!  r"  r#  r$  r%  r&  r'  r(  r)  r*  r+  r,  r-  r.  r/  r0  r1  r2  r3  r4  r5  r6  r7  r8  r9  r:  r;  r<  r=  r>  r?  r@  rA  s                                                                                                                                                                                                                                                                   r   r?  zBase.set  s   \ %9 %
G(*D=
! *C *
g-/IG
&  /  
'#^3
 %9 %
G(.=
! - 
"J1
 !1 !
G$e5
 )WGD.,,W( 
G..-
 "3 "
g%}7
 '= '
*NA
# (? (
'&C
$ -I -
G+^M
) *C *
g(-G
& /M /
PW-~Q
+ $7 $
'';
  )A )
G,nE
% %9 %
G(.=
! *C *
g-~G
&  /  
'#%53
 '= '
*,<A
# ,G ,
'/1AK
( %9 %
G(*:=
! &; &
g)+;?
" +E +
.0@I
' (? (
'+-=C
$ -I -
G02BM
) (? (
'+^C
$ -I -
G0.M
) %9 %
G(*<=
! *C *
g-/AG
& !1 !
G$&85
 &; &
g)+=?
" ' 
'-!C+
 - 
K1

 ) 
G."J-
 +SgdOU.S"4 #
&9
 &; &
g)+E?
" +E +
.I
' #5 #
&(?9
 (? (
'+-DC
$ #5 #
&9
 (? (
'+TC
$ &; &
g)+E?
" +E +
.0JI
' %9 %
G(*=
! '= '
*EA
# ,G ,
'/1KK
( - 8:V 	- )A )
G,.EE
% .K .
g13JO
* )A )
G,eE
% .K .
g14O
* #5 #
&9
 '= '
*NA
# ,G ,
'/K
( #5 #
&9
 $7 $
'')B;
  #5 #
 ?9

 )A )
G&?E
%
 &; &
g):?
" (? (
'+UC
$ + 
g/#H/
 )WGD.,,W(QGD.&,Q!2 "
g%t7
 ,G ,
'/K
( - Gt?F 	- )A )
G,fE
% .K .
g14O
* )A )
G,eE
% .K .
g14O
* '= '
*NA
# ,G ,
'/K
( $7 $
'';
  #5 #
&9
 &; &
g):?
" (? (
'+UC
$ !1 !
G$l5
 -V>NPU0V$SlN(S%: &
g)+G?
" +E +
.0LI
' #5 #
&(?9
 (? (
'+-DC
$ #5 #
&9
 (? (
'+TC
$ )A )
G,jE
% +E +
.I
' ,G ,
'/1GK
( - Yt?AWX 	-
 %9 %
G(.=
! *C *
g-~G
& "3 "
g%z7
 *C *
g-/IG
& /M /
PW2NQ
+ , 79U 	, 1 6, 	1 , 79U 	, 1 6, 	1 / TtA?S 	/
 4 YtFX 	4 &; &
g)>?
" +E +
.I
' ,G ,
'/K
( - Rt?Q 	- ,G ,
'/K
( - Qt?P 	- /M /
PW2OQ
+ 0 UtBOT 	0 '= '
*LA
# &; &
g)+@?
" +E +
.0EI
' /M /
PW24WQ
+ 0 53 	0 1 69 	1 6 ;9 	6 4 91 	4 9 >1 	9 ,G ,
'/1HK
( - 8:Q 	- . 3. 	. 3 8. 	3 1 6. 	1 6 ;. 	6 ,G ,
'/1FK
( - Xt?AVW 	- #5 #
&9
 '= '
*,OA
# &; &
g)6?
" )A )
G,jE
% +E +
.I
' - 
 G1

 ) 
G e-

  /  
'#_3
 *C *
g-/AG
& /M /
PW24FQ
+ / :<X 	/ 4 9, 	4 &; &
g)6::>>?
" +E +
.0JI
' #5 #
&

9
 (? (
'+VZZ__C
$ #5 #
&9
 (? (
'+TC
$ !1 !
G$fjjoo5
 &; &
g)6::>>?
" !1 !
G$fjjoo5
 &; &
g)6::???
" &; &
g)>?
" +E +
.I
' ,G ,
'/1IK
( - Gt?F 	- ,G ,
'/1IK
( - 8:R 	- #5 #
&(?9
 (? (
'+-DC
$ )A )
G,.>E
% .K .
g1>O
* )A )
G,.CE
% .K .
g13HO
* #5 #
&9
 (? (
'+TC
$ + 
g/=/
 (? (
'+^C
$ -I -
G0.M
) )WGD.,,W(QGD.&,Q!2 "
g%t7
 #5 #
&9
 (? (
'+TC
$  /  
'#Z3
 "3 "
g%u7
 ) 
G./-
 "3 "
g%t7
  /  
'#Z3
 "3 "
g%u7
 )A )
G,eE
% ) 
G./-
 "3 "
g%t7
 %9 %
G(.=
! *C *
g-~G
& #5 #
&9
 (? (
'+^C
$ +E +
.I
' , Pt>O 	, *C *
g-}G
& /M /
PW2NQ
+ )WGD.,,W.  
'#%93
 %9 %
G(*>=
! $7 $
'')>;
  )A )
G,dE
% .K .
g13VO
* / 43 	/ 0 59 	0 5 :9 	5 +E +
.0PI
' , 10 	, - 26 	- 2 76 	2 )A )
G,.LE
% .K .
g13QO
* /M /
PW24XQ
+ 0 MtBGL 	0
 '= '
*FA
# (? (
'+VC
$ "3 "
g%7
 %9 %
G(*M=
! $7 $
'';
  '= '
*JA
# )A )
G,eE
% /M /
PW2NQ
+ 0 TtBNS 	0
 1 UtC^T 	1
 6 ; 	6 ,G ,
'/K
( - Qt?P 	-
 . 3 	. 3 8 	3 *C *
g-wG
& /M /
PW2GQ
+ , 79U 	, 1 6, 	1 &; &
g)6?
" ,G ,
'/1IK
( -I -
G02JM
) +E +
.I
' - 8:R 	- . 9;S 	. - Qt?P 	-
 2 VtDnU 	2
 3 WtE~V 	3
 8 C^ 	8 .K .
g1>O
* / StA>R 	/
 0 5 	0 5 : 	5 ,G ,
'/K
( - Jt?I 	-
 . 3. 	. 3 8. 	3 (? (
'+-EC
$ .K .
g13MO
* /M /
PW24NQ
+ -I -
G0$M
) / :<V 	/ 0 ;=W 	0 %9 %
G(*O=
! $7 $
'';
  '= '
*JA
# )A )
G,eE
% &; &
g)+N?
" %9 %
G(,=
! (? (
'+ZC
$ *C *
g-uG
& r   )r   colors.Color | strr   rQ  r   rQ  r   sizes.Size | strr   rR  r   rR  r   -fonts.Font | str | Iterable[fonts.Font | str]r   rS  )r   rf   )r   r   r   r   bluezincr   r5  r$  r.  r	   r:  r   r?  rG   r   r   rf   rf   Y  s   
 +1++,2KK*0++&+mm).)9)9(-EOOO,	?
 EOOO,	D
T (T *	T
 (T $T 'T &T <T ATt ""&! $%) $%)"&'+ !%$()-!"&#!#$("#' $%)!%!"&"#' $ $"#'!#$()-!%&*!%&*#$( !%" $$()-!%&*!%&*#$( " $"#' $ $!%#'!"&""&'+(,-1(,-1+/04"#'$()-$()-'+,0#"#''+,0-1260459$()-*./3-126$()-#"!%#'"&'++/04"#' $ $"""#'$()-$()- $!%&*!%&* $ $%) $!"& $#'(,"&'+! !%# $! #!%! #!%"! $"&'+,0-126$()-*./3"&'+(,-1"$(%)#')-*.)-.2/348&*+/,015$()-*./3 $&*'+%)+/,0&*+/,015#'(,)-.2!%&*'+,0SKT 
UKr   rf   )
__future__r   r^   r4   r   r   rI   collections.abcr   pathlibr   r}   semantic_versionr   gradio_client.documentationr   r   gradio.themes.utilsr   r	   r
   r   r   "gradio.themes.utils.readme_contentr   r   rf   rG   r   r   <module>r]     ss    "  	    $   ! 0 .  >| |~	 
-VV[)Lb: b Mbr   