<commit_before><?php

/**
 * This file contains all the deprecated functions
 */

function kirki_sanitize_hex( $color ) {
	Kirki_Color::sanitize_hex( $color );
}

function kirki_get_rgb( $hex, $implode = false ) {
	Kirki_Color::get_rgb( $hex, $implode );
}

function kirki_get_rgba( $hex = '#fff', $opacity = 100 ) {
	Kirki_Color::get_rgba( $hex, $opacity );
}

function kirki_get_brightness( $hex ) {
	Kirki_Color::get_brightness( $hex );
}<commit_msg>add Kirki_Fonts class for compatibility purposes<commit_after><?php

/**
 * This file contains all the deprecated functions
 */

function kirki_sanitize_hex( $color ) {
	Kirki_Color::sanitize_hex( $color );
}

function kirki_get_rgb( $hex, $implode = false ) {
	Kirki_Color::get_rgb( $hex, $implode );
}

function kirki_get_rgba( $hex = '#fff', $opacity = 100 ) {
	Kirki_Color::get_rgba( $hex, $opacity );
}

function kirki_get_brightness( $hex ) {
	Kirki_Color::get_brightness( $hex );
}

if ( ! class_exists( 'Kirki_Fonts' ) ) {
	class Kirki_Fonts {

		public static function get_all_fonts() {
			$font_registry = new Kirki\Fonts\FontRegistry();
			return $font_registry->get_all_fonts();
		}

		public static function get_font_choices() {
			$font_registry = new Kirki\Fonts\FontRegistry();
			return $font_registry->get_font_choices();
		}

		public static function is_google_font( $font ) {
			$font_registry = new Kirki\Fonts\FontRegistry();
			return $font_registray->is_google_font( $font );
		}

		public static function get_google_font_uri( $fonts, $weight = 400, $subset = 'all' ) {
			$font_registry = new Kirki\Fonts\FontRegistry();
			return $font_registry->get_google_font_uri( $fonts, $weight, $subset );
		}

		public static function get_google_font_subsets() {
			$font_registry = new Kirki\Fonts\FontRegistry();
			return $font_registry->get_google_font_subsets();
		}

		public static function choose_google_font_variants( $font, $variants = array() ) {
			$font_registry = new Kirki\Fonts\FontRegistry();
			return $font_registry->choose_google_font_variants( $font, $variants );
		}

		public static function get_standard_fonts() {
			$font_registry = new Kirki\Fonts\FontRegistry();
			return $font_registry->get_standard_fonts();
		}

		public static function get_font_stack( $font ) {
			$font_registry = new Kirki\Fonts\FontRegistry();
			return $font_registry->get_font_stack( $font );
		}

		public static function sanitize_font_choice( $value ) {
			$font_registry = new Kirki\Fonts\FontRegistry();
			return $font_registry->sanitize_font_choice( $value );
		}

		public static function get_google_fonts() {
			$font_registry = new Kirki\Fonts\FontRegistry();
			return $font_registry->get_google_fonts();
		}

	}
}
{'fraction_non_alphanumeric': 0.12903225806451613, 'fraction_numerical': 0.0033370411568409346, 'mean_word_length': 4.955849889624724, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 13, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5663949', 'n_tokens_mistral': 1036, 'n_tokens_neox': 946, 'n_words': 189}