From f53095325a61ca662895837b23597da3a069da5f Mon Sep 17 00:00:00 2001 From: gh-actions Date: Sun, 3 Dec 2023 20:44:20 +0000 Subject: [PATCH] Deploy website - based on 44afd195c76e9a797b994e9bd13417af92d1b434 --- 404.html | 4 ++-- api/emojibase/function/appendSkinToneIndex/index.html | 4 ++-- api/emojibase/function/fetchEmojis/index.html | 4 ++-- api/emojibase/function/fetchFromCDN/index.html | 4 ++-- api/emojibase/function/fetchMessages/index.html | 4 ++-- api/emojibase/function/fetchShortcodes/index.html | 4 ++-- api/emojibase/function/flattenEmojiData/index.html | 4 ++-- api/emojibase/function/fromCodepointToUnicode/index.html | 4 ++-- api/emojibase/function/fromHexcodeToCodepoint/index.html | 4 ++-- api/emojibase/function/fromUnicodeToHexcode/index.html | 4 ++-- .../function/generateEmoticonPermutations/index.html | 4 ++-- api/emojibase/function/joinShortcodes/index.html | 4 ++-- api/emojibase/function/joinShortcodesToEmoji/index.html | 4 ++-- api/emojibase/function/stripHexcode/index.html | 4 ++-- api/emojibase/index.html | 4 ++-- api/emojibase/interface/CompactEmoji/index.html | 4 ++-- api/emojibase/interface/Emoji/index.html | 4 ++-- api/emojibase/interface/EmojiLike/index.html | 4 ++-- .../interface/FetchEmojisExpandedOptions/index.html | 4 ++-- api/emojibase/interface/FetchEmojisOptions/index.html | 4 ++-- api/emojibase/interface/FetchFromCDNOptions/index.html | 4 ++-- api/emojibase/interface/GroupDataset/index.html | 4 ++-- api/emojibase/interface/GroupMessage/index.html | 4 ++-- api/emojibase/interface/MessagesDataset/index.html | 4 ++-- api/emojibase/interface/PermutationOptions/index.html | 4 ++-- api/emojibase/interface/SkinToneMessage/index.html | 4 ++-- api/emojibase/interface/SubgroupMessage/index.html | 4 ++-- assets/js/{39759924.83fc9a7f.js => 39759924.2c706449.js} | 2 +- assets/js/46d74525.25d635a7.js | 1 - assets/js/46d74525.a4ebbe64.js | 1 + .../{runtime~main.fd861f83.js => runtime~main.21b96140.js} | 2 +- docs/datasets/index.html | 6 +++--- docs/emoticons/index.html | 4 ++-- docs/index.html | 4 ++-- docs/regex/index.html | 6 +++--- docs/shortcodes/index.html | 4 ++-- docs/spec/index.html | 4 ++-- docs/translations/index.html | 4 ++-- docs/typescript/index.html | 4 ++-- emojis/index.html | 4 ++-- index.html | 4 ++-- search/index.html | 4 ++-- shortcodes/index.html | 4 ++-- 43 files changed, 83 insertions(+), 83 deletions(-) rename assets/js/{39759924.83fc9a7f.js => 39759924.2c706449.js} (91%) delete mode 100644 assets/js/46d74525.25d635a7.js create mode 100644 assets/js/46d74525.a4ebbe64.js rename assets/js/{runtime~main.fd861f83.js => runtime~main.21b96140.js} (98%) diff --git a/404.html b/404.html index 9596aa93..95757d5d 100644 --- a/404.html +++ b/404.html @@ -4,13 +4,13 @@ Page Not Found | Emojibase - +
Skip to main content

Page Not Found

We could not find what you were looking for.

Please contact the owner of the site that linked you to the original URL and let them know their link is broken.

- + \ No newline at end of file diff --git a/api/emojibase/function/appendSkinToneIndex/index.html b/api/emojibase/function/appendSkinToneIndex/index.html index bf97cd72..a9f33b47 100644 --- a/api/emojibase/function/appendSkinToneIndex/index.html +++ b/api/emojibase/function/appendSkinToneIndex/index.html @@ -4,13 +4,13 @@ appendSkinToneIndex | API | Emojibase - +
- + \ No newline at end of file diff --git a/api/emojibase/function/fetchEmojis/index.html b/api/emojibase/function/fetchEmojis/index.html index 04035fd1..7692b0bf 100644 --- a/api/emojibase/function/fetchEmojis/index.html +++ b/api/emojibase/function/fetchEmojis/index.html @@ -4,7 +4,7 @@ fetchEmojis | API | Emojibase - + @@ -19,7 +19,7 @@ example.

await fetchEmojis('ja', {
shortcodes: ['cldr', 'en/cldr'],
});
- + \ No newline at end of file diff --git a/api/emojibase/function/fetchFromCDN/index.html b/api/emojibase/function/fetchFromCDN/index.html index c7a4d3f2..5434d16d 100644 --- a/api/emojibase/function/fetchFromCDN/index.html +++ b/api/emojibase/function/fetchFromCDN/index.html @@ -4,7 +4,7 @@ fetchFromCDN | API | Emojibase - + @@ -14,7 +14,7 @@ as the 1st argument and an optional object of options as the 2rd argument.

import { fetchFromCDN } from 'emojibase';

await fetchFromCDN('ja/compact.json', { version: '2.1.3' });
await fetchFromCDN('ja/compact.json', { cdnUrl: 'https://example.com/cdn/emojidata/latest' });
await fetchFromCDN('ja/compact.json', {
cdnUrl: (path: string, version: string) => {
return `https://example.com/cdn/emojidata/${version}/${path}`;
}
});

Type parameters

- + \ No newline at end of file diff --git a/api/emojibase/function/fetchMessages/index.html b/api/emojibase/function/fetchMessages/index.html index 9f68c05a..242f1375 100644 --- a/api/emojibase/function/fetchMessages/index.html +++ b/api/emojibase/function/fetchMessages/index.html @@ -4,7 +4,7 @@ fetchMessages | API | Emojibase - + @@ -13,7 +13,7 @@ Uses fetchFromCDN under the hood.

import { fetchMessages } from 'emojibase';

await fetchMessages('zh', { version: '2.1.3' });
- + \ No newline at end of file diff --git a/api/emojibase/function/fetchShortcodes/index.html b/api/emojibase/function/fetchShortcodes/index.html index 482d8208..dfa7363e 100644 --- a/api/emojibase/function/fetchShortcodes/index.html +++ b/api/emojibase/function/fetchShortcodes/index.html @@ -4,7 +4,7 @@ fetchShortcodes | API | Emojibase - + @@ -14,7 +14,7 @@ Uses fetchFromCDN under the hood.

import { fetchShortcodes } from 'emojibase';

await fetchShortcodes('ja', 'cldr', { version: '2.1.3' });
- + \ No newline at end of file diff --git a/api/emojibase/function/flattenEmojiData/index.html b/api/emojibase/function/flattenEmojiData/index.html index 6afe1294..7da4a2ee 100644 --- a/api/emojibase/function/flattenEmojiData/index.html +++ b/api/emojibase/function/flattenEmojiData/index.html @@ -4,7 +4,7 @@ flattenEmojiData | API | Emojibase - + @@ -16,7 +16,7 @@ joinShortcodesToEmoji.

Tags from the parent emoji will be passed down to the skin modifications.

- + \ No newline at end of file diff --git a/api/emojibase/function/fromCodepointToUnicode/index.html b/api/emojibase/function/fromCodepointToUnicode/index.html index c84d759d..1d28dd18 100644 --- a/api/emojibase/function/fromCodepointToUnicode/index.html +++ b/api/emojibase/function/fromCodepointToUnicode/index.html @@ -4,7 +4,7 @@ fromCodepointToUnicode | API | Emojibase - + @@ -12,7 +12,7 @@
Skip to main content

fromCodepointToUnicode

Callable

  • fromCodepointToUnicode(codepoint: number[]): Unicode

  • This function will convert an array of numerical codepoints to a literal emoji Unicode character.

    import { fromCodepointToUnicode } from 'emojibase';

    fromCodepointToUnicode([128104, 8205, 128105, 8205, 128103, 8205, 128102]); // 👨‍👩‍👧‍👦
- + \ No newline at end of file diff --git a/api/emojibase/function/fromHexcodeToCodepoint/index.html b/api/emojibase/function/fromHexcodeToCodepoint/index.html index fcf015be..a1db3b43 100644 --- a/api/emojibase/function/fromHexcodeToCodepoint/index.html +++ b/api/emojibase/function/fromHexcodeToCodepoint/index.html @@ -4,7 +4,7 @@ fromHexcodeToCodepoint | API | Emojibase - + @@ -13,7 +13,7 @@ By default, it will split the hexcode using a dash, but can be customized with the 2nd argument.

import { fromHexcodeToCodepoint } from 'emojibase';

fromHexcodeToCodepoint('270A-1F3FC'); // [9994, 127996]
fromHexcodeToCodepoint('270A 1F3FC', ' '); // [9994, 127996]
- + \ No newline at end of file diff --git a/api/emojibase/function/fromUnicodeToHexcode/index.html b/api/emojibase/function/fromUnicodeToHexcode/index.html index dda193de..62eb3c3e 100644 --- a/api/emojibase/function/fromUnicodeToHexcode/index.html +++ b/api/emojibase/function/fromUnicodeToHexcode/index.html @@ -4,7 +4,7 @@ fromUnicodeToHexcode | API | Emojibase - + @@ -14,7 +14,7 @@ joiner’s and variation selectors are removed.

import { fromUnicodeToHexcode } from 'emojibase';

fromUnicodeToHexcode('👨‍👩‍👧‍👦'); // 1F468-1F469-1F467-1F466
fromUnicodeToHexcode('👨‍👩‍👧‍👦', false); // 1F468-200D-1F469-200D-1F467-200D-1F466
- + \ No newline at end of file diff --git a/api/emojibase/function/generateEmoticonPermutations/index.html b/api/emojibase/function/generateEmoticonPermutations/index.html index 73d4beb3..ade040b5 100644 --- a/api/emojibase/function/generateEmoticonPermutations/index.html +++ b/api/emojibase/function/generateEmoticonPermutations/index.html @@ -4,7 +4,7 @@ generateEmoticonPermutations | API | Emojibase - + @@ -22,7 +22,7 @@
generateEmoticonPermutations(':)', { withNose: false }); // =}, =], =), :}, :], :)
generateEmoticonPermutations('\\m/', { isFace: false }); // \m/, \M/
- + \ No newline at end of file diff --git a/api/emojibase/function/joinShortcodes/index.html b/api/emojibase/function/joinShortcodes/index.html index d790d983..42eb71c0 100644 --- a/api/emojibase/function/joinShortcodes/index.html +++ b/api/emojibase/function/joinShortcodes/index.html @@ -4,13 +4,13 @@ joinShortcodes | API | Emojibase - +
- + \ No newline at end of file diff --git a/api/emojibase/function/joinShortcodesToEmoji/index.html b/api/emojibase/function/joinShortcodesToEmoji/index.html index 33f538a0..123a5ae1 100644 --- a/api/emojibase/function/joinShortcodesToEmoji/index.html +++ b/api/emojibase/function/joinShortcodesToEmoji/index.html @@ -4,14 +4,14 @@ joinShortcodesToEmoji | API | Emojibase - +
- + \ No newline at end of file diff --git a/api/emojibase/function/stripHexcode/index.html b/api/emojibase/function/stripHexcode/index.html index 74a68323..80dd4d5b 100644 --- a/api/emojibase/function/stripHexcode/index.html +++ b/api/emojibase/function/stripHexcode/index.html @@ -4,7 +4,7 @@ stripHexcode | API | Emojibase - + @@ -13,7 +13,7 @@ (FE0E, FE0F) from a hexadecimal codepoint.

import { stripHexcode } from 'emojibase';

stripHexcode('1F468-200D-2695-FE0F'); // 1F468-2695
- + \ No newline at end of file diff --git a/api/emojibase/index.html b/api/emojibase/index.html index 57b5ce02..19f94058 100644 --- a/api/emojibase/index.html +++ b/api/emojibase/index.html @@ -4,7 +4,7 @@ emojibase | API | Emojibase - + @@ -17,7 +17,7 @@ Unicode 15.1, and CLDR 44 release versions
  • Built directly from the emoji data source files
  • Based on the official Unicode Technical Standard #51
  • With localization provided by Unicode Technical Standard #35
  • Documentation

    https://emojibase.dev

    Index

    Type Aliases

    CDNUrlFn

    CDNUrlFn: (path: string, version: string) => string

    CodePoint

    CodePoint: number

    Emoticon

    Emoticon: string

    FlatCompactEmoji

    FlatCompactEmoji: Omit<CompactEmoji, skins>

    FlatEmoji

    FlatEmoji: Omit<Emoji, skins>

    Gender

    Gender: 0 | 1

    GenderKey

    GenderKey: female | male

    Group

    Group: number

    GroupKey

    GroupKey: activities | animals-nature | component | flags | food-drink | objects | people-body | smileys-emotion | symbols | travel-places

    Hexcode

    Hexcode: string

    HexcodesDataset

    HexcodesDataset: Record<Hexcode, Record<Hexcode, Qualifier>>

    Locale

    Locale: bn | da | de | en-gb | en | es-mx | es | et | fi | fr | hi | hu | it | ja | ko | lt | ms | nb | nl | pl | pt | ru | sv | th | uk | zh-hant | zh

    LocalizedShortcodePreset

    LocalizedShortcodePreset: `${Locale}/${ShortcodePreset}`

    Presentation

    Presentation: 0 | 1

    PresentationKey

    PresentationKey: emoji | text

    Qualifier

    Qualifier: 0 | 1 | 2

    Shortcode

    Shortcode: string

    ShortcodePreset

    ShortcodePreset: cldr-native | cldr | discord | emojibase-legacy | emojibase-native | emojibase | github | iamcal | joypixels | slack

    ShortcodesDataset

    ShortcodesDataset: Record<Hexcode, string[] | string>

    SkinTone

    SkinTone: 1 | 2 | 3 | 4 | 5

    SkinToneKey

    SkinToneKey: dark | light | medium-dark | medium-light | medium

    Subgroup

    Subgroup: number

    SubgroupKey

    SubgroupKey: alphanum | animal-amphibian | animal-bird | animal-bug | animal-mammal | animal-marine | animal-reptile | arrow | arts-crafts | av-symbol | award-medal | body-parts | book-paper | cat-face | clothing | computer | country-flag | currency | dishware | drink | emotion | event | face-affection | face-concerned | face-costume | face-glasses | face-hand | face-hat | face-negative | face-neutral-skeptical | face-sleepy | face-smiling | face-tongue | face-unwell | family | flag | food-asian | food-fruit | food-marine | food-prepared | food-sweet | food-vegetable | game | gender | geometric | hair-style | hand-fingers-closed | hand-fingers-open | hand-fingers-partial | hand-prop | hand-single-finger | hands | heart | hotel | household | keycap | light-video | lock | mail | math | medical | money | monkey-face | music | musical-instrument | office | other-object | other-symbol | person-activity | person-fantasy | person-gesture | person-resting | person-role | person-sport | person-symbol | person | phone | place-building | place-geographic | place-map | place-other | place-religious | plant-flower | plant-other | punctuation | religion | science | skin-tone | sky-weather | sound | sport | subdivision-flag | time | tool | transport-air | transport-ground | transport-sign | transport-water | warning | writing | zodiac

    Unicode

    Unicode: string

    VersionDataset

    VersionDataset: Record<string, string[]>

    Variables

    constDARK_SKIN

    DARK_SKIN: SkinTone = 5

    constEMOJI

    EMOJI: Presentation = 1

    constEMOJI_VERSIONS

    EMOJI_VERSIONS: string[] = ...

    constEMOTICON_OPTIONS

    EMOTICON_OPTIONS: Record<string, PermutationOptions> = ...

    constFEMALE

    FEMALE: Gender = 0

    constFIRST_UNICODE_EMOJI_VERSION

    FIRST_UNICODE_EMOJI_VERSION: 6.0.0 = '6.0.0'

    constFULLY_QUALIFIED

    FULLY_QUALIFIED: Qualifier = 0

    constGROUP_KEY_ACTIVITIES

    GROUP_KEY_ACTIVITIES: GroupKey = 'activities'

    constGROUP_KEY_ANIMALS_NATURE

    GROUP_KEY_ANIMALS_NATURE: GroupKey = 'animals-nature'

    constGROUP_KEY_COMPONENT

    GROUP_KEY_COMPONENT: GroupKey = 'component'

    constGROUP_KEY_FLAGS

    GROUP_KEY_FLAGS: GroupKey = 'flags'

    constGROUP_KEY_FOOD_DRINK

    GROUP_KEY_FOOD_DRINK: GroupKey = 'food-drink'

    constGROUP_KEY_OBJECTS

    GROUP_KEY_OBJECTS: GroupKey = 'objects'

    constGROUP_KEY_PEOPLE_BODY

    GROUP_KEY_PEOPLE_BODY: GroupKey = 'people-body'

    constGROUP_KEY_SMILEYS_EMOTION

    GROUP_KEY_SMILEYS_EMOTION: GroupKey = 'smileys-emotion'

    constGROUP_KEY_SYMBOLS

    GROUP_KEY_SYMBOLS: GroupKey = 'symbols'

    constGROUP_KEY_TRAVEL_PLACES

    GROUP_KEY_TRAVEL_PLACES: GroupKey = 'travel-places'

    constLATEST_CLDR_VERSION

    LATEST_CLDR_VERSION: 44 = '44'

    constLATEST_EMOJI_VERSION

    LATEST_EMOJI_VERSION: 15.1 = '15.1'

    constLATEST_UNICODE_VERSION

    LATEST_UNICODE_VERSION: 15.1.0 = '15.1.0'

    constLIGHT_SKIN

    LIGHT_SKIN: SkinTone = 1

    constMALE

    MALE: Gender = 1

    constMEDIUM_DARK_SKIN

    MEDIUM_DARK_SKIN: SkinTone = 4

    constMEDIUM_LIGHT_SKIN

    MEDIUM_LIGHT_SKIN: SkinTone = 2

    constMEDIUM_SKIN

    MEDIUM_SKIN: SkinTone = 3

    constMINIMALLY_QUALIFIED

    MINIMALLY_QUALIFIED: Qualifier = 1

    constSEQUENCE_REMOVAL_PATTERN

    SEQUENCE_REMOVAL_PATTERN: RegExp = ...

    constSKIN_KEY_DARK

    SKIN_KEY_DARK: SkinToneKey = 'dark'

    constSKIN_KEY_LIGHT

    SKIN_KEY_LIGHT: SkinToneKey = 'light'

    constSKIN_KEY_MEDIUM

    SKIN_KEY_MEDIUM: SkinToneKey = 'medium'

    constSKIN_KEY_MEDIUM_DARK

    SKIN_KEY_MEDIUM_DARK: SkinToneKey = 'medium-dark'

    constSKIN_KEY_MEDIUM_LIGHT

    SKIN_KEY_MEDIUM_LIGHT: SkinToneKey = 'medium-light'

    constSUPPORTED_LOCALES

    SUPPORTED_LOCALES: Locale[] = ...

    constTEXT

    TEXT: Presentation = 0

    constUNICODE_VERSIONS

    UNICODE_VERSIONS: string[] = ...

    constUNQUALIFIED

    UNQUALIFIED: Qualifier = 2
    - + \ No newline at end of file diff --git a/api/emojibase/interface/CompactEmoji/index.html b/api/emojibase/interface/CompactEmoji/index.html index 0a8f39aa..1fe127e6 100644 --- a/api/emojibase/interface/CompactEmoji/index.html +++ b/api/emojibase/interface/CompactEmoji/index.html @@ -4,7 +4,7 @@ CompactEmoji | API | Emojibase - + @@ -13,7 +13,7 @@ emoji and text variations, the hexcode will not include the variation selector. If a multi-person, multi-gender, or skin tone variation, the hexcode will include zero width joiners and variation selectors.

    label

    label: string

    A localized description, provided by CLDR, primarily used for text-to-speech (TTS) and accessibility.

    optionalorder

    order?: number

    The order in which emoji should be displayed on a device, through a keyboard or emoji picker. Undefined for unordered emojis.

    optionalshortcodes

    shortcodes?: string[]

    List of shortcodes without surrounding colons.

    optionalskins

    skins?: CompactEmoji[]

    List of skin tones as emoji objects.

    optionaltags

    tags?: string[]

    An array of localized keywords, provided by CLDR, to use for searching and filtering.

    unicode

    unicode: string

    Either the emoji or text presentation Unicode character.

    - + \ No newline at end of file diff --git a/api/emojibase/interface/Emoji/index.html b/api/emojibase/interface/Emoji/index.html index 34cf0500..a8f91fdc 100644 --- a/api/emojibase/interface/Emoji/index.html +++ b/api/emojibase/interface/Emoji/index.html @@ -4,7 +4,7 @@ Emoji | API | Emojibase - + @@ -15,7 +15,7 @@ joiners and variation selectors.

    label

    label: string

    A localized description, provided by CLDR, primarily used for text-to-speech (TTS) and accessibility.

    optionalorder

    order?: number

    The order in which emoji should be displayed on a device, through a keyboard or emoji picker. Undefined for unordered emojis.

    optionalshortcodes

    shortcodes?: string[]

    List of shortcodes without surrounding colons.

    optionalskins

    skins?: Emoji[]

    If applicable, an array of emoji objects for each skin tone modification, starting at light skin, and ending with dark skin. Also includes multi-skin tones.

    optionalsubgroup

    subgroup?: number

    The categorical subgroup the emoji belongs to. Undefined for uncategorized emojis.

    optionaltags

    tags?: string[]

    An array of localized keywords, provided by CLDR, to use for searching and filtering.

    text

    text: string

    Text presentation unicode character.

    optionaltone

    tone?: SkinTone | SkinTone[]

    If applicable, the skin tone of the emoji character. 1 for light skin, 2 for medium-light skin, 3 for medium skin, 4 for medium-dark skin, and 5 for dark skin. Multi-person skin tones will be an array of values.

    type

    The default presentation of the emoji character. 0 for text, 1 for emoji.

    version

    version: number

    Version the emoji was added.

    - + \ No newline at end of file diff --git a/api/emojibase/interface/EmojiLike/index.html b/api/emojibase/interface/EmojiLike/index.html index a245740c..f9f76762 100644 --- a/api/emojibase/interface/EmojiLike/index.html +++ b/api/emojibase/interface/EmojiLike/index.html @@ -4,13 +4,13 @@ EmojiLike | API | Emojibase - +
    - + \ No newline at end of file diff --git a/api/emojibase/interface/FetchEmojisExpandedOptions/index.html b/api/emojibase/interface/FetchEmojisExpandedOptions/index.html index 259656e6..faa886bc 100644 --- a/api/emojibase/interface/FetchEmojisExpandedOptions/index.html +++ b/api/emojibase/interface/FetchEmojisExpandedOptions/index.html @@ -4,13 +4,13 @@ FetchEmojisExpandedOptions | API | Emojibase - +
    Skip to main content

    FetchEmojisExpandedOptions

    Hierarchy

    Index

    Properties

    optionalcdnUrl

    cdnUrl?: string | CDNUrlFn

    The url from which to load the JSON files

    optionalcompact

    compact?: boolean

    Load the compact dataset instead of the full dataset. Defaults to false.

    optionalflat

    flat?: boolean

    Flatten the dataset (moving skin tones to the root). Defaults to false.

    optionallocal

    local?: boolean

    Cache the response in local storage instead of session storage. Defaults to false.

    optionalshortcodes

    shortcodes?: (ShortcodePreset | bn/cldr-native | bn/cldr | bn/discord | bn/emojibase-legacy | bn/emojibase-native | bn/emojibase | bn/github | bn/iamcal | bn/joypixels | bn/slack | da/cldr-native | da/cldr | da/discord | da/emojibase-legacy | da/emojibase-native | da/emojibase | da/github | da/iamcal | da/joypixels | da/slack | de/cldr-native | de/cldr | de/discord | de/emojibase-legacy | de/emojibase-native | de/emojibase | de/github | de/iamcal | de/joypixels | de/slack | en-gb/cldr-native | en-gb/cldr | en-gb/discord | en-gb/emojibase-legacy | en-gb/emojibase-native | en-gb/emojibase | en-gb/github | en-gb/iamcal | en-gb/joypixels | en-gb/slack | en/cldr-native | en/cldr | en/discord | en/emojibase-legacy | en/emojibase-native | en/emojibase | en/github | en/iamcal | en/joypixels | en/slack | es-mx/cldr-native | es-mx/cldr | es-mx/discord | es-mx/emojibase-legacy | es-mx/emojibase-native | es-mx/emojibase | es-mx/github | es-mx/iamcal | es-mx/joypixels | es-mx/slack | es/cldr-native | es/cldr | es/discord | es/emojibase-legacy | es/emojibase-native | es/emojibase | es/github | es/iamcal | es/joypixels | es/slack | et/cldr-native | et/cldr | et/discord | et/emojibase-legacy | et/emojibase-native | et/emojibase | et/github | et/iamcal | et/joypixels | et/slack | fi/cldr-native | fi/cldr | fi/discord | fi/emojibase-legacy | fi/emojibase-native | fi/emojibase | fi/github | fi/iamcal | fi/joypixels | fi/slack | fr/cldr-native | fr/cldr | fr/discord | fr/emojibase-legacy | fr/emojibase-native | fr/emojibase | fr/github | fr/iamcal | fr/joypixels | fr/slack | hi/cldr-native | hi/cldr | hi/discord | hi/emojibase-legacy | hi/emojibase-native | hi/emojibase | hi/github | hi/iamcal | hi/joypixels | hi/slack | hu/cldr-native | hu/cldr | hu/discord | hu/emojibase-legacy | hu/emojibase-native | hu/emojibase | hu/github | hu/iamcal | hu/joypixels | hu/slack | it/cldr-native | it/cldr | it/discord | it/emojibase-legacy | it/emojibase-native | it/emojibase | it/github | it/iamcal | it/joypixels | it/slack | ja/cldr-native | ja/cldr | ja/discord | ja/emojibase-legacy | ja/emojibase-native | ja/emojibase | ja/github | ja/iamcal | ja/joypixels | ja/slack | ko/cldr-native | ko/cldr | ko/discord | ko/emojibase-legacy | ko/emojibase-native | ko/emojibase | ko/github | ko/iamcal | ko/joypixels | ko/slack | lt/cldr-native | lt/cldr | lt/discord | lt/emojibase-legacy | lt/emojibase-native | lt/emojibase | lt/github | lt/iamcal | lt/joypixels | lt/slack | ms/cldr-native | ms/cldr | ms/discord | ms/emojibase-legacy | ms/emojibase-native | ms/emojibase | ms/github | ms/iamcal | ms/joypixels | ms/slack | nb/cldr-native | nb/cldr | nb/discord | nb/emojibase-legacy | nb/emojibase-native | nb/emojibase | nb/github | nb/iamcal | nb/joypixels | nb/slack | nl/cldr-native | nl/cldr | nl/discord | nl/emojibase-legacy | nl/emojibase-native | nl/emojibase | nl/github | nl/iamcal | nl/joypixels | nl/slack | pl/cldr-native | pl/cldr | pl/discord | pl/emojibase-legacy | pl/emojibase-native | pl/emojibase | pl/github | pl/iamcal | pl/joypixels | pl/slack | pt/cldr-native | pt/cldr | pt/discord | pt/emojibase-legacy | pt/emojibase-native | pt/emojibase | pt/github | pt/iamcal | pt/joypixels | pt/slack | ru/cldr-native | ru/cldr | ru/discord | ru/emojibase-legacy | ru/emojibase-native | ru/emojibase | ru/github | ru/iamcal | ru/joypixels | ru/slack | sv/cldr-native | sv/cldr | sv/discord | sv/emojibase-legacy | sv/emojibase-native | sv/emojibase | sv/github | sv/iamcal | sv/joypixels | sv/slack | th/cldr-native | th/cldr | th/discord | th/emojibase-legacy | th/emojibase-native | th/emojibase | th/github | th/iamcal | th/joypixels | th/slack | uk/cldr-native | uk/cldr | uk/discord | uk/emojibase-legacy | uk/emojibase-native | uk/emojibase | uk/github | uk/iamcal | uk/joypixels | uk/slack | zh-hant/cldr-native | zh-hant/cldr | zh-hant/discord | zh-hant/emojibase-legacy | zh-hant/emojibase-native | zh-hant/emojibase | zh-hant/github | zh-hant/iamcal | zh-hant/joypixels | zh-hant/slack | zh/cldr-native | zh/cldr | zh/discord | zh/emojibase-legacy | zh/emojibase-native | zh/emojibase | zh/github | zh/iamcal | zh/joypixels | zh/slack)[]

    List of shortcode presets to load and merge into the emojis dataset. Defaults to an empty list.

    optionalversion

    version?: string

    The release version to fetch. Defaults to latest.

    - + \ No newline at end of file diff --git a/api/emojibase/interface/FetchEmojisOptions/index.html b/api/emojibase/interface/FetchEmojisOptions/index.html index eb6b71b3..bd075c57 100644 --- a/api/emojibase/interface/FetchEmojisOptions/index.html +++ b/api/emojibase/interface/FetchEmojisOptions/index.html @@ -4,13 +4,13 @@ FetchEmojisOptions | API | Emojibase - +
    Skip to main content

    FetchEmojisOptions

    Hierarchy

    Index

    Properties

    optionalcdnUrl

    cdnUrl?: string | CDNUrlFn

    The url from which to load the JSON files

    optionallocal

    local?: boolean

    Cache the response in local storage instead of session storage. Defaults to false.

    optionalshortcodes

    shortcodes?: (ShortcodePreset | bn/cldr-native | bn/cldr | bn/discord | bn/emojibase-legacy | bn/emojibase-native | bn/emojibase | bn/github | bn/iamcal | bn/joypixels | bn/slack | da/cldr-native | da/cldr | da/discord | da/emojibase-legacy | da/emojibase-native | da/emojibase | da/github | da/iamcal | da/joypixels | da/slack | de/cldr-native | de/cldr | de/discord | de/emojibase-legacy | de/emojibase-native | de/emojibase | de/github | de/iamcal | de/joypixels | de/slack | en-gb/cldr-native | en-gb/cldr | en-gb/discord | en-gb/emojibase-legacy | en-gb/emojibase-native | en-gb/emojibase | en-gb/github | en-gb/iamcal | en-gb/joypixels | en-gb/slack | en/cldr-native | en/cldr | en/discord | en/emojibase-legacy | en/emojibase-native | en/emojibase | en/github | en/iamcal | en/joypixels | en/slack | es-mx/cldr-native | es-mx/cldr | es-mx/discord | es-mx/emojibase-legacy | es-mx/emojibase-native | es-mx/emojibase | es-mx/github | es-mx/iamcal | es-mx/joypixels | es-mx/slack | es/cldr-native | es/cldr | es/discord | es/emojibase-legacy | es/emojibase-native | es/emojibase | es/github | es/iamcal | es/joypixels | es/slack | et/cldr-native | et/cldr | et/discord | et/emojibase-legacy | et/emojibase-native | et/emojibase | et/github | et/iamcal | et/joypixels | et/slack | fi/cldr-native | fi/cldr | fi/discord | fi/emojibase-legacy | fi/emojibase-native | fi/emojibase | fi/github | fi/iamcal | fi/joypixels | fi/slack | fr/cldr-native | fr/cldr | fr/discord | fr/emojibase-legacy | fr/emojibase-native | fr/emojibase | fr/github | fr/iamcal | fr/joypixels | fr/slack | hi/cldr-native | hi/cldr | hi/discord | hi/emojibase-legacy | hi/emojibase-native | hi/emojibase | hi/github | hi/iamcal | hi/joypixels | hi/slack | hu/cldr-native | hu/cldr | hu/discord | hu/emojibase-legacy | hu/emojibase-native | hu/emojibase | hu/github | hu/iamcal | hu/joypixels | hu/slack | it/cldr-native | it/cldr | it/discord | it/emojibase-legacy | it/emojibase-native | it/emojibase | it/github | it/iamcal | it/joypixels | it/slack | ja/cldr-native | ja/cldr | ja/discord | ja/emojibase-legacy | ja/emojibase-native | ja/emojibase | ja/github | ja/iamcal | ja/joypixels | ja/slack | ko/cldr-native | ko/cldr | ko/discord | ko/emojibase-legacy | ko/emojibase-native | ko/emojibase | ko/github | ko/iamcal | ko/joypixels | ko/slack | lt/cldr-native | lt/cldr | lt/discord | lt/emojibase-legacy | lt/emojibase-native | lt/emojibase | lt/github | lt/iamcal | lt/joypixels | lt/slack | ms/cldr-native | ms/cldr | ms/discord | ms/emojibase-legacy | ms/emojibase-native | ms/emojibase | ms/github | ms/iamcal | ms/joypixels | ms/slack | nb/cldr-native | nb/cldr | nb/discord | nb/emojibase-legacy | nb/emojibase-native | nb/emojibase | nb/github | nb/iamcal | nb/joypixels | nb/slack | nl/cldr-native | nl/cldr | nl/discord | nl/emojibase-legacy | nl/emojibase-native | nl/emojibase | nl/github | nl/iamcal | nl/joypixels | nl/slack | pl/cldr-native | pl/cldr | pl/discord | pl/emojibase-legacy | pl/emojibase-native | pl/emojibase | pl/github | pl/iamcal | pl/joypixels | pl/slack | pt/cldr-native | pt/cldr | pt/discord | pt/emojibase-legacy | pt/emojibase-native | pt/emojibase | pt/github | pt/iamcal | pt/joypixels | pt/slack | ru/cldr-native | ru/cldr | ru/discord | ru/emojibase-legacy | ru/emojibase-native | ru/emojibase | ru/github | ru/iamcal | ru/joypixels | ru/slack | sv/cldr-native | sv/cldr | sv/discord | sv/emojibase-legacy | sv/emojibase-native | sv/emojibase | sv/github | sv/iamcal | sv/joypixels | sv/slack | th/cldr-native | th/cldr | th/discord | th/emojibase-legacy | th/emojibase-native | th/emojibase | th/github | th/iamcal | th/joypixels | th/slack | uk/cldr-native | uk/cldr | uk/discord | uk/emojibase-legacy | uk/emojibase-native | uk/emojibase | uk/github | uk/iamcal | uk/joypixels | uk/slack | zh-hant/cldr-native | zh-hant/cldr | zh-hant/discord | zh-hant/emojibase-legacy | zh-hant/emojibase-native | zh-hant/emojibase | zh-hant/github | zh-hant/iamcal | zh-hant/joypixels | zh-hant/slack | zh/cldr-native | zh/cldr | zh/discord | zh/emojibase-legacy | zh/emojibase-native | zh/emojibase | zh/github | zh/iamcal | zh/joypixels | zh/slack)[]

    List of shortcode presets to load and merge into the emojis dataset. Defaults to an empty list.

    optionalversion

    version?: string

    The release version to fetch. Defaults to latest.

    - + \ No newline at end of file diff --git a/api/emojibase/interface/FetchFromCDNOptions/index.html b/api/emojibase/interface/FetchFromCDNOptions/index.html index dd980746..6b04de3a 100644 --- a/api/emojibase/interface/FetchFromCDNOptions/index.html +++ b/api/emojibase/interface/FetchFromCDNOptions/index.html @@ -4,13 +4,13 @@ FetchFromCDNOptions | API | Emojibase - +
    Skip to main content

    FetchFromCDNOptions

    Hierarchy

    Index

    Properties

    optionalcdnUrl

    cdnUrl?: string | CDNUrlFn

    The url from which to load the JSON files

    optionallocal

    local?: boolean

    Cache the response in local storage instead of session storage. Defaults to false.

    optionalversion

    version?: string

    The release version to fetch. Defaults to latest.

    - + \ No newline at end of file diff --git a/api/emojibase/interface/GroupDataset/index.html b/api/emojibase/interface/GroupDataset/index.html index 0c286475..5ad1264f 100644 --- a/api/emojibase/interface/GroupDataset/index.html +++ b/api/emojibase/interface/GroupDataset/index.html @@ -4,13 +4,13 @@ GroupDataset | API | Emojibase - +
    - + \ No newline at end of file diff --git a/api/emojibase/interface/GroupMessage/index.html b/api/emojibase/interface/GroupMessage/index.html index 7fe6ff69..cbb5baa4 100644 --- a/api/emojibase/interface/GroupMessage/index.html +++ b/api/emojibase/interface/GroupMessage/index.html @@ -4,13 +4,13 @@ GroupMessage | API | Emojibase - +
    - + \ No newline at end of file diff --git a/api/emojibase/interface/MessagesDataset/index.html b/api/emojibase/interface/MessagesDataset/index.html index 25985822..4f792cf6 100644 --- a/api/emojibase/interface/MessagesDataset/index.html +++ b/api/emojibase/interface/MessagesDataset/index.html @@ -4,13 +4,13 @@ MessagesDataset | API | Emojibase - +
    - + \ No newline at end of file diff --git a/api/emojibase/interface/PermutationOptions/index.html b/api/emojibase/interface/PermutationOptions/index.html index b3e95930..acc0d475 100644 --- a/api/emojibase/interface/PermutationOptions/index.html +++ b/api/emojibase/interface/PermutationOptions/index.html @@ -4,13 +4,13 @@ PermutationOptions | API | Emojibase - +
    - + \ No newline at end of file diff --git a/api/emojibase/interface/SkinToneMessage/index.html b/api/emojibase/interface/SkinToneMessage/index.html index c6d8ea3c..593513d3 100644 --- a/api/emojibase/interface/SkinToneMessage/index.html +++ b/api/emojibase/interface/SkinToneMessage/index.html @@ -4,13 +4,13 @@ SkinToneMessage | API | Emojibase - +
    - + \ No newline at end of file diff --git a/api/emojibase/interface/SubgroupMessage/index.html b/api/emojibase/interface/SubgroupMessage/index.html index cf36c1f9..93f15bc6 100644 --- a/api/emojibase/interface/SubgroupMessage/index.html +++ b/api/emojibase/interface/SubgroupMessage/index.html @@ -4,13 +4,13 @@ SubgroupMessage | API | Emojibase - +
    - + \ No newline at end of file diff --git a/assets/js/39759924.83fc9a7f.js b/assets/js/39759924.2c706449.js similarity index 91% rename from assets/js/39759924.83fc9a7f.js rename to assets/js/39759924.2c706449.js index 8f7eb8c8..cdf8730a 100644 --- a/assets/js/39759924.83fc9a7f.js +++ b/assets/js/39759924.2c706449.js @@ -1 +1 @@ -"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[158],{5318:function(e,t,r){r.d(t,{Zo:function(){return p},kt:function(){return m}});var n=r(7378);function a(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function i(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function o(e){for(var t=1;t=0||(a[r]=e[r]);return a}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(a[r]=e[r])}return a}var u=n.createContext({}),s=function(e){var t=n.useContext(u),r=t;return e&&(r="function"==typeof e?e(t):o(o({},t),e)),r},p=function(e){var t=s(e.components);return n.createElement(u.Provider,{value:t},e.children)},c={inlineCode:"code",wrapper:function(e){var t=e.children;return n.createElement(n.Fragment,{},t)}},d=n.forwardRef((function(e,t){var r=e.components,a=e.mdxType,i=e.originalType,u=e.parentName,p=l(e,["components","mdxType","originalType","parentName"]),d=s(r),m=a,g=d["".concat(u,".").concat(m)]||d[m]||c[m]||i;return r?n.createElement(g,o(o({ref:t},p),{},{components:r})):n.createElement(g,o({ref:t},p))}));function m(e,t){var r=arguments,a=t&&t.mdxType;if("string"==typeof e||a){var i=r.length,o=new Array(i);o[0]=d;var l={};for(var u in t)hasOwnProperty.call(t,u)&&(l[u]=t[u]);l.originalType=e,l.mdxType="string"==typeof e?e:a,o[1]=l;for(var s=2;s child <"+("string"==typeof e.type?e.type:e.type.name)+'>: all children of the component should be , and every should have a unique "value" prop.')})))?void 0:r.filter(Boolean))?t:[]}(e).map((function(e){var t=e.props;return{value:t.value,label:t.label,attributes:t.attributes,default:t.default}}))}function s(e){var t=e.values,r=e.children;return(0,n.useMemo)((function(){var e=null!=t?t:u(r);return function(e){var t=(0,o.l)(e,(function(e,t){return e.value===t.value}));if(t.length>0)throw new Error('Docusaurus error: Duplicate values "'+t.map((function(e){return e.value})).join(", ")+'" found in . Every value needs to be unique.')}(e),e}),[t,r])}function p(e){var t=e.value;return e.tabValues.some((function(e){return e.value===t}))}function c(e){var t=e.queryString,r=void 0!==t&&t,o=e.groupId,l=(0,a.k6)(),u=function(e){var t=e.queryString,r=void 0!==t&&t,n=e.groupId;if("string"==typeof r)return r;if(!1===r)return null;if(!0===r&&!n)throw new Error('Docusaurus error: The component groupId prop is required if queryString=true, because this value is used as the search param name. You can also provide an explicit value such as queryString="my-search-param".');return null!=n?n:null}({queryString:r,groupId:o});return[(0,i._X)(u),(0,n.useCallback)((function(e){if(u){var t=new URLSearchParams(l.location.search);t.set(u,e),l.replace(Object.assign({},l.location,{search:t.toString()}))}}),[u,l])]}function d(e){var t,r,a,i,o=e.defaultValue,u=e.queryString,d=void 0!==u&&u,m=e.groupId,g=s(e),k=(0,n.useState)((function(){return function(e){var t,r=e.defaultValue,n=e.tabValues;if(0===n.length)throw new Error("Docusaurus error: the component requires at least one children component");if(r){if(!p({value:r,tabValues:n}))throw new Error('Docusaurus error: The has a defaultValue "'+r+'" but none of its children has the corresponding value. Available values are: '+n.map((function(e){return e.value})).join(", ")+". If you intend to show no default tab, use defaultValue={null} instead.");return r}var a=null!=(t=n.find((function(e){return e.default})))?t:n[0];if(!a)throw new Error("Unexpected error: 0 tabValues");return a.value}({defaultValue:o,tabValues:g})})),h=k[0],f=k[1],b=c({queryString:d,groupId:m}),N=b[0],v=b[1],y=(t=function(e){return e?"docusaurus.tab."+e:null}({groupId:m}.groupId),r=(0,l.Nk)(t),a=r[0],i=r[1],[a,(0,n.useCallback)((function(e){t&&i.set(e)}),[t,i])]),E=y[0],x=y[1],j=function(){var e=null!=N?N:E;return p({value:e,tabValues:g})?e:null}();return(0,n.useLayoutEffect)((function(){j&&f(j)}),[j]),{selectedValue:h,selectValue:(0,n.useCallback)((function(e){if(!p({value:e,tabValues:g}))throw new Error("Can't select invalid tab value="+e);f(e),v(e),x(e)}),[v,x,g]),tabValues:g}}},2954:function(e,t,r){r.r(t),r.d(t,{assets:function(){return d},contentTitle:function(){return p},default:function(){return k},frontMatter:function(){return s},metadata:function(){return c},toc:function(){return m}});var n=r(5773),a=r(808),i=(r(7378),r(5318)),o=r(3337),l=r(9798),u=["components"],s={title:"Regex patterns"},p=void 0,c={unversionedId:"regex",id:"regex",title:"Regex patterns",description:"Matching emoji characters within a string can be difficult, as multiple codepoints, surrogate pairs,",source:"@site/docs/regex.mdx",sourceDirName:".",slug:"/regex",permalink:"/docs/regex",draft:!1,editUrl:"https://github.com/milesj/emojibase/edit/master/website/docs/regex.mdx",tags:[],version:"current",frontMatter:{title:"Regex patterns"},sidebar:"docs",previous:{title:"Datasets",permalink:"/docs/datasets"},next:{title:"Shortcodes",permalink:"/docs/shortcodes"}},d={},m=[{value:"Usage",id:"usage",level:2},{value:"Unicode codepoint support",id:"unicode-codepoint-support",level:2},{value:"Unicode property support",id:"unicode-property-support",level:2},{value:"Filesizes",id:"filesizes",level:2}],g={toc:m};function k(e){var t=e.components,r=(0,a.Z)(e,u);return(0,i.kt)("wrapper",(0,n.Z)({},g,r,{components:t,mdxType:"MDXLayout"}),(0,i.kt)("p",null,"Matching emoji characters within a string can be difficult, as multiple codepoints, surrogate pairs,\nvariation selectors, zero width joiners, so on and so forth, must be taken into account. To make\nthis whole process easier, pre-built regex patterns are available in the ",(0,i.kt)("inlineCode",{parentName:"p"},"emojibase-regex")," package."),(0,i.kt)(o.Z,{groupId:"package-manager",defaultValue:"yarn",values:[{label:"Yarn",value:"yarn"},{label:"NPM",value:"npm"}],mdxType:"Tabs"},(0,i.kt)(l.Z,{value:"yarn",mdxType:"TabItem"},(0,i.kt)("pre",null,(0,i.kt)("code",{parentName:"pre",className:"language-bash"},"yarn add emojibase-regex\n"))),(0,i.kt)(l.Z,{value:"npm",mdxType:"TabItem"},(0,i.kt)("pre",null,(0,i.kt)("code",{parentName:"pre",className:"language-bash"},"npm install emojibase-regex\n")))),(0,i.kt)("h2",{id:"usage"},"Usage"),(0,i.kt)("p",null,"As stated, there are 7 regex patterns. One for matching emoji presentation characters, one for\nmatching text presentation characters, one for matching both types of characters, and the last for\nmatching shortcodes or emoticons."),(0,i.kt)("ul",null,(0,i.kt)("li",{parentName:"ul"},(0,i.kt)("inlineCode",{parentName:"li"},"emojibase-regex")," - Matches both emoji and text presentation characters."),(0,i.kt)("li",{parentName:"ul"},(0,i.kt)("inlineCode",{parentName:"li"},"emojibase-regex/emoji")," - Matches only emoji presentation characters."),(0,i.kt)("li",{parentName:"ul"},(0,i.kt)("inlineCode",{parentName:"li"},"emojibase-regex/emoji-loose")," - Like the above but also includes characters without ",(0,i.kt)("inlineCode",{parentName:"li"},"FE0F"),"."),(0,i.kt)("li",{parentName:"ul"},(0,i.kt)("inlineCode",{parentName:"li"},"emojibase-regex/text")," - Matches only text presentation characters."),(0,i.kt)("li",{parentName:"ul"},(0,i.kt)("inlineCode",{parentName:"li"},"emojibase-regex/text-loose")," - Like the above but also includes characters without ",(0,i.kt)("inlineCode",{parentName:"li"},"FE0E"),"."),(0,i.kt)("li",{parentName:"ul"},(0,i.kt)("inlineCode",{parentName:"li"},"emojibase-regex/emoticon")," - Matches supported emoticons and their permutations."),(0,i.kt)("li",{parentName:"ul"},(0,i.kt)("inlineCode",{parentName:"li"},"emojibase-regex/shortcode")," - Matches supported shortcodes."),(0,i.kt)("li",{parentName:"ul"},(0,i.kt)("inlineCode",{parentName:"li"},"emojibase-regex/shortcode-native")," - Matches supported shortcodes in their native language\n(",(0,i.kt)("inlineCode",{parentName:"li"},"cldr-native"),").")),(0,i.kt)("p",null,"Each of these imports return a ",(0,i.kt)("inlineCode",{parentName:"p"},"RegExp")," instance with no flags defined."),(0,i.kt)("pre",null,(0,i.kt)("code",{parentName:"pre",className:"language-ts"},"import EMOJI_REGEX from 'emojibase-regex';\nimport EMOTICON_REGEX from 'emojibase-regex/emoticon';\nimport SHORTCODE_REGEX from 'emojibase-regex/shortcode';\nimport SHORTCODE_NATIVE_REGEX from 'emojibase-regex/shortcode-native';\n\n`\ud83d\ude42`.match(EMOJI_REGEX);\n':)'.match(EMOTICON_REGEX);\n':pleased:'.match(SHORTCODE_REGEX);\n':\u0433\u0432\u0438\u043d\u0435\u044f:'.match(SHORTCODE_NATIVE_REGEX);\n")),(0,i.kt)("blockquote",null,(0,i.kt)("p",{parentName:"blockquote"},"The ",(0,i.kt)("inlineCode",{parentName:"p"},"u")," (unicode) and ",(0,i.kt)("inlineCode",{parentName:"p"},"g")," (global) flags are not defined on these patterns.")),(0,i.kt)("blockquote",null,(0,i.kt)("p",{parentName:"blockquote"},"The emoticon regex does not include word boundaries.")),(0,i.kt)("h2",{id:"unicode-codepoint-support"},"Unicode codepoint support"),(0,i.kt)("p",null,"By default, regex patterns are generated using hexadecimal Unicode ranges. If desired, ES2015+\nUnicode codepoint aware regex patterns can be used, which can be found in the ",(0,i.kt)("inlineCode",{parentName:"p"},"codepoint")," directory."),(0,i.kt)("pre",null,(0,i.kt)("code",{parentName:"pre",className:"language-ts"},"import CODEPOINT_EMOJI_REGEX from 'emojibase-regex/codepoint';\n")),(0,i.kt)("blockquote",null,(0,i.kt)("p",{parentName:"blockquote"},"The ",(0,i.kt)("inlineCode",{parentName:"p"},"u")," (unicode) flag is required (defined by default) when using these patterns.")),(0,i.kt)("blockquote",null,(0,i.kt)("p",{parentName:"blockquote"},"Codepoint regex patterns are only supported in Node.js and modern browsers.")),(0,i.kt)("h2",{id:"unicode-property-support"},"Unicode property support"),(0,i.kt)("p",null,"An ",(0,i.kt)("a",{parentName:"p",href:"https://github.com/tc39/proposal-regexp-unicode-property-escapes"},"ECMAScript proposal")," to\nsupport Unicode property escapes within regex is currently in the works. This proposal, if passed,\nwould enable regex patterns like the following: ",(0,i.kt)("inlineCode",{parentName:"p"},"/\\p{Emoji}/"),". This feature would greatly reduce the\nfilesize of our regex patterns while being more accurate to the Unicode standard."),(0,i.kt)("p",null,"These patterns can be found in the ",(0,i.kt)("inlineCode",{parentName:"p"},"property")," directory, but use at your own risk!"),(0,i.kt)("pre",null,(0,i.kt)("code",{parentName:"pre",className:"language-ts"},"import PROPERTY_EMOJI_REGEX from 'emojibase-regex/property';\n")),(0,i.kt)("h2",{id:"filesizes"},"Filesizes"),(0,i.kt)("table",null,(0,i.kt)("thead",{parentName:"table"},(0,i.kt)("tr",{parentName:"thead"},(0,i.kt)("th",{parentName:"tr",align:null},"File"),(0,i.kt)("th",{parentName:"tr",align:"right"},"Size"),(0,i.kt)("th",{parentName:"tr",align:"right"},"Gzipped"))),(0,i.kt)("tbody",{parentName:"table"},(0,i.kt)("tr",{parentName:"tbody"},(0,i.kt)("td",{parentName:"tr",align:null},"shortcode.js"),(0,i.kt)("td",{parentName:"tr",align:"right"},"34 B"),(0,i.kt)("td",{parentName:"tr",align:"right"},"54 B")),(0,i.kt)("tr",{parentName:"tbody"},(0,i.kt)("td",{parentName:"tr",align:null},"property/text.js"),(0,i.kt)("td",{parentName:"tr",align:"right"},"60 B"),(0,i.kt)("td",{parentName:"tr",align:"right"},"76 B")),(0,i.kt)("tr",{parentName:"tbody"},(0,i.kt)("td",{parentName:"tr",align:null},"property/emoji.js"),(0,i.kt)("td",{parentName:"tr",align:"right"},"103 B"),(0,i.kt)("td",{parentName:"tr",align:"right"},"93 B")),(0,i.kt)("tr",{parentName:"tbody"},(0,i.kt)("td",{parentName:"tr",align:null},"property/index.js"),(0,i.kt)("td",{parentName:"tr",align:"right"},"115 B"),(0,i.kt)("td",{parentName:"tr",align:"right"},"102 B")),(0,i.kt)("tr",{parentName:"tbody"},(0,i.kt)("td",{parentName:"tr",align:null},"emoticon.js"),(0,i.kt)("td",{parentName:"tr",align:"right"},"463 B"),(0,i.kt)("td",{parentName:"tr",align:"right"},"249 B")),(0,i.kt)("tr",{parentName:"tbody"},(0,i.kt)("td",{parentName:"tr",align:null},"shortcode-native.js"),(0,i.kt)("td",{parentName:"tr",align:"right"},"652 B"),(0,i.kt)("td",{parentName:"tr",align:"right"},"402 B")),(0,i.kt)("tr",{parentName:"tbody"},(0,i.kt)("td",{parentName:"tr",align:null},"text.js"),(0,i.kt)("td",{parentName:"tr",align:"right"},"1.52 kB"),(0,i.kt)("td",{parentName:"tr",align:"right"},"609 B")),(0,i.kt)("tr",{parentName:"tbody"},(0,i.kt)("td",{parentName:"tr",align:null},"codepoint/text.js"),(0,i.kt)("td",{parentName:"tr",align:"right"},"1.87 kB"),(0,i.kt)("td",{parentName:"tr",align:"right"},"639 B")),(0,i.kt)("tr",{parentName:"tbody"},(0,i.kt)("td",{parentName:"tr",align:null},"emoji.js"),(0,i.kt)("td",{parentName:"tr",align:"right"},"10.55 kB"),(0,i.kt)("td",{parentName:"tr",align:"right"},"2.26 kB")),(0,i.kt)("tr",{parentName:"tbody"},(0,i.kt)("td",{parentName:"tr",align:null},"emoji-loose.js"),(0,i.kt)("td",{parentName:"tr",align:"right"},"10.82 kB"),(0,i.kt)("td",{parentName:"tr",align:"right"},"2.06 kB")),(0,i.kt)("tr",{parentName:"tbody"},(0,i.kt)("td",{parentName:"tr",align:null},"text-loose.js"),(0,i.kt)("td",{parentName:"tr",align:"right"},"10.82 kB"),(0,i.kt)("td",{parentName:"tr",align:"right"},"2.07 kB")),(0,i.kt)("tr",{parentName:"tbody"},(0,i.kt)("td",{parentName:"tr",align:null},"codepoint/emoji.js"),(0,i.kt)("td",{parentName:"tr",align:"right"},"11.29 kB"),(0,i.kt)("td",{parentName:"tr",align:"right"},"2.32 kB")),(0,i.kt)("tr",{parentName:"tbody"},(0,i.kt)("td",{parentName:"tr",align:null},"codepoint/emoji-loose.js"),(0,i.kt)("td",{parentName:"tr",align:"right"},"11.39 kB"),(0,i.kt)("td",{parentName:"tr",align:"right"},"2.11 kB")),(0,i.kt)("tr",{parentName:"tbody"},(0,i.kt)("td",{parentName:"tr",align:null},"codepoint/text-loose.js"),(0,i.kt)("td",{parentName:"tr",align:"right"},"11.39 kB"),(0,i.kt)("td",{parentName:"tr",align:"right"},"2.12 kB")),(0,i.kt)("tr",{parentName:"tbody"},(0,i.kt)("td",{parentName:"tr",align:null},"index.js"),(0,i.kt)("td",{parentName:"tr",align:"right"},"13.37 kB"),(0,i.kt)("td",{parentName:"tr",align:"right"},"2.22 kB")),(0,i.kt)("tr",{parentName:"tbody"},(0,i.kt)("td",{parentName:"tr",align:null},"codepoint/index.js"),(0,i.kt)("td",{parentName:"tr",align:"right"},"13.8 kB"),(0,i.kt)("td",{parentName:"tr",align:"right"},"2.26 kB")))))}k.isMDXComponent=!0}}]); \ No newline at end of file +"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[158],{5318:function(e,t,r){r.d(t,{Zo:function(){return p},kt:function(){return m}});var n=r(7378);function a(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function i(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function o(e){for(var t=1;t=0||(a[r]=e[r]);return a}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(a[r]=e[r])}return a}var u=n.createContext({}),s=function(e){var t=n.useContext(u),r=t;return e&&(r="function"==typeof e?e(t):o(o({},t),e)),r},p=function(e){var t=s(e.components);return n.createElement(u.Provider,{value:t},e.children)},c={inlineCode:"code",wrapper:function(e){var t=e.children;return n.createElement(n.Fragment,{},t)}},d=n.forwardRef((function(e,t){var r=e.components,a=e.mdxType,i=e.originalType,u=e.parentName,p=l(e,["components","mdxType","originalType","parentName"]),d=s(r),m=a,g=d["".concat(u,".").concat(m)]||d[m]||c[m]||i;return r?n.createElement(g,o(o({ref:t},p),{},{components:r})):n.createElement(g,o({ref:t},p))}));function m(e,t){var r=arguments,a=t&&t.mdxType;if("string"==typeof e||a){var i=r.length,o=new Array(i);o[0]=d;var l={};for(var u in t)hasOwnProperty.call(t,u)&&(l[u]=t[u]);l.originalType=e,l.mdxType="string"==typeof e?e:a,o[1]=l;for(var s=2;s child <"+("string"==typeof e.type?e.type:e.type.name)+'>: all children of the component should be , and every should have a unique "value" prop.')})))?void 0:r.filter(Boolean))?t:[]}(e).map((function(e){var t=e.props;return{value:t.value,label:t.label,attributes:t.attributes,default:t.default}}))}function s(e){var t=e.values,r=e.children;return(0,n.useMemo)((function(){var e=null!=t?t:u(r);return function(e){var t=(0,o.l)(e,(function(e,t){return e.value===t.value}));if(t.length>0)throw new Error('Docusaurus error: Duplicate values "'+t.map((function(e){return e.value})).join(", ")+'" found in . Every value needs to be unique.')}(e),e}),[t,r])}function p(e){var t=e.value;return e.tabValues.some((function(e){return e.value===t}))}function c(e){var t=e.queryString,r=void 0!==t&&t,o=e.groupId,l=(0,a.k6)(),u=function(e){var t=e.queryString,r=void 0!==t&&t,n=e.groupId;if("string"==typeof r)return r;if(!1===r)return null;if(!0===r&&!n)throw new Error('Docusaurus error: The component groupId prop is required if queryString=true, because this value is used as the search param name. You can also provide an explicit value such as queryString="my-search-param".');return null!=n?n:null}({queryString:r,groupId:o});return[(0,i._X)(u),(0,n.useCallback)((function(e){if(u){var t=new URLSearchParams(l.location.search);t.set(u,e),l.replace(Object.assign({},l.location,{search:t.toString()}))}}),[u,l])]}function d(e){var t,r,a,i,o=e.defaultValue,u=e.queryString,d=void 0!==u&&u,m=e.groupId,g=s(e),k=(0,n.useState)((function(){return function(e){var t,r=e.defaultValue,n=e.tabValues;if(0===n.length)throw new Error("Docusaurus error: the component requires at least one children component");if(r){if(!p({value:r,tabValues:n}))throw new Error('Docusaurus error: The has a defaultValue "'+r+'" but none of its children has the corresponding value. Available values are: '+n.map((function(e){return e.value})).join(", ")+". If you intend to show no default tab, use defaultValue={null} instead.");return r}var a=null!=(t=n.find((function(e){return e.default})))?t:n[0];if(!a)throw new Error("Unexpected error: 0 tabValues");return a.value}({defaultValue:o,tabValues:g})})),h=k[0],f=k[1],b=c({queryString:d,groupId:m}),N=b[0],v=b[1],y=(t=function(e){return e?"docusaurus.tab."+e:null}({groupId:m}.groupId),r=(0,l.Nk)(t),a=r[0],i=r[1],[a,(0,n.useCallback)((function(e){t&&i.set(e)}),[t,i])]),E=y[0],x=y[1],j=function(){var e=null!=N?N:E;return p({value:e,tabValues:g})?e:null}();return(0,n.useLayoutEffect)((function(){j&&f(j)}),[j]),{selectedValue:h,selectValue:(0,n.useCallback)((function(e){if(!p({value:e,tabValues:g}))throw new Error("Can't select invalid tab value="+e);f(e),v(e),x(e)}),[v,x,g]),tabValues:g}}},2954:function(e,t,r){r.r(t),r.d(t,{assets:function(){return d},contentTitle:function(){return p},default:function(){return k},frontMatter:function(){return s},metadata:function(){return c},toc:function(){return m}});var n=r(5773),a=r(808),i=(r(7378),r(5318)),o=r(3337),l=r(9798),u=["components"],s={title:"Regex patterns"},p=void 0,c={unversionedId:"regex",id:"regex",title:"Regex patterns",description:"Matching emoji characters within a string can be difficult, as multiple codepoints, surrogate pairs,",source:"@site/docs/regex.mdx",sourceDirName:".",slug:"/regex",permalink:"/docs/regex",draft:!1,editUrl:"https://github.com/milesj/emojibase/edit/master/website/docs/regex.mdx",tags:[],version:"current",frontMatter:{title:"Regex patterns"},sidebar:"docs",previous:{title:"Datasets",permalink:"/docs/datasets"},next:{title:"Shortcodes",permalink:"/docs/shortcodes"}},d={},m=[{value:"Usage",id:"usage",level:2},{value:"Unicode codepoint support",id:"unicode-codepoint-support",level:2},{value:"Unicode property support",id:"unicode-property-support",level:2},{value:"Filesizes",id:"filesizes",level:2}],g={toc:m};function k(e){var t=e.components,r=(0,a.Z)(e,u);return(0,i.kt)("wrapper",(0,n.Z)({},g,r,{components:t,mdxType:"MDXLayout"}),(0,i.kt)("p",null,"Matching emoji characters within a string can be difficult, as multiple codepoints, surrogate pairs,\nvariation selectors, zero width joiners, so on and so forth, must be taken into account. To make\nthis whole process easier, pre-built regex patterns are available in the ",(0,i.kt)("inlineCode",{parentName:"p"},"emojibase-regex")," package."),(0,i.kt)(o.Z,{groupId:"package-manager",defaultValue:"yarn",values:[{label:"Yarn",value:"yarn"},{label:"NPM",value:"npm"}],mdxType:"Tabs"},(0,i.kt)(l.Z,{value:"yarn",mdxType:"TabItem"},(0,i.kt)("pre",null,(0,i.kt)("code",{parentName:"pre",className:"language-bash"},"yarn add emojibase-regex\n"))),(0,i.kt)(l.Z,{value:"npm",mdxType:"TabItem"},(0,i.kt)("pre",null,(0,i.kt)("code",{parentName:"pre",className:"language-bash"},"npm install emojibase-regex\n")))),(0,i.kt)("h2",{id:"usage"},"Usage"),(0,i.kt)("p",null,"As stated, there are 7 regex patterns. One for matching emoji presentation characters, one for\nmatching text presentation characters, one for matching both types of characters, and the last for\nmatching shortcodes or emoticons."),(0,i.kt)("ul",null,(0,i.kt)("li",{parentName:"ul"},(0,i.kt)("inlineCode",{parentName:"li"},"emojibase-regex")," - Matches both emoji and text presentation characters."),(0,i.kt)("li",{parentName:"ul"},(0,i.kt)("inlineCode",{parentName:"li"},"emojibase-regex/emoji")," - Matches only emoji presentation characters."),(0,i.kt)("li",{parentName:"ul"},(0,i.kt)("inlineCode",{parentName:"li"},"emojibase-regex/emoji-loose")," - Like the above but also includes characters without ",(0,i.kt)("inlineCode",{parentName:"li"},"FE0F"),"."),(0,i.kt)("li",{parentName:"ul"},(0,i.kt)("inlineCode",{parentName:"li"},"emojibase-regex/text")," - Matches only text presentation characters."),(0,i.kt)("li",{parentName:"ul"},(0,i.kt)("inlineCode",{parentName:"li"},"emojibase-regex/text-loose")," - Like the above but also includes characters without ",(0,i.kt)("inlineCode",{parentName:"li"},"FE0E"),"."),(0,i.kt)("li",{parentName:"ul"},(0,i.kt)("inlineCode",{parentName:"li"},"emojibase-regex/emoticon")," - Matches supported emoticons and their permutations."),(0,i.kt)("li",{parentName:"ul"},(0,i.kt)("inlineCode",{parentName:"li"},"emojibase-regex/shortcode")," - Matches supported shortcodes."),(0,i.kt)("li",{parentName:"ul"},(0,i.kt)("inlineCode",{parentName:"li"},"emojibase-regex/shortcode-native")," - Matches supported shortcodes in their native language\n(",(0,i.kt)("inlineCode",{parentName:"li"},"cldr-native"),").")),(0,i.kt)("p",null,"Each of these imports return a ",(0,i.kt)("inlineCode",{parentName:"p"},"RegExp")," instance with no flags defined."),(0,i.kt)("pre",null,(0,i.kt)("code",{parentName:"pre",className:"language-ts"},"import EMOJI_REGEX from 'emojibase-regex';\nimport EMOTICON_REGEX from 'emojibase-regex/emoticon';\nimport SHORTCODE_REGEX from 'emojibase-regex/shortcode';\nimport SHORTCODE_NATIVE_REGEX from 'emojibase-regex/shortcode-native';\n\n`\ud83d\ude42`.match(EMOJI_REGEX);\n':)'.match(EMOTICON_REGEX);\n':pleased:'.match(SHORTCODE_REGEX);\n':\u0433\u0432\u0438\u043d\u0435\u044f:'.match(SHORTCODE_NATIVE_REGEX);\n")),(0,i.kt)("blockquote",null,(0,i.kt)("p",{parentName:"blockquote"},"The ",(0,i.kt)("inlineCode",{parentName:"p"},"u")," (unicode) and ",(0,i.kt)("inlineCode",{parentName:"p"},"g")," (global) flags are not defined on these patterns.")),(0,i.kt)("blockquote",null,(0,i.kt)("p",{parentName:"blockquote"},"The emoticon regex does not include word boundaries.")),(0,i.kt)("h2",{id:"unicode-codepoint-support"},"Unicode codepoint support"),(0,i.kt)("p",null,"By default, regex patterns are generated using hexadecimal Unicode ranges. If desired, ES2015+\nUnicode codepoint aware regex patterns can be used, which can be found in the ",(0,i.kt)("inlineCode",{parentName:"p"},"codepoint")," directory."),(0,i.kt)("pre",null,(0,i.kt)("code",{parentName:"pre",className:"language-ts"},"import CODEPOINT_EMOJI_REGEX from 'emojibase-regex/codepoint';\n")),(0,i.kt)("blockquote",null,(0,i.kt)("p",{parentName:"blockquote"},"The ",(0,i.kt)("inlineCode",{parentName:"p"},"u")," (unicode) flag is required (defined by default) when using these patterns.")),(0,i.kt)("blockquote",null,(0,i.kt)("p",{parentName:"blockquote"},"Codepoint regex patterns are only supported in Node.js and modern browsers.")),(0,i.kt)("h2",{id:"unicode-property-support"},"Unicode property support"),(0,i.kt)("p",null,"An ",(0,i.kt)("a",{parentName:"p",href:"https://github.com/tc39/proposal-regexp-unicode-property-escapes"},"ECMAScript proposal")," to\nsupport Unicode property escapes within regex is currently in the works. This proposal, if passed,\nwould enable regex patterns like the following: ",(0,i.kt)("inlineCode",{parentName:"p"},"/\\p{Emoji}/"),". This feature would greatly reduce the\nfilesize of our regex patterns while being more accurate to the Unicode standard."),(0,i.kt)("p",null,"These patterns can be found in the ",(0,i.kt)("inlineCode",{parentName:"p"},"property")," directory, but use at your own risk!"),(0,i.kt)("pre",null,(0,i.kt)("code",{parentName:"pre",className:"language-ts"},"import PROPERTY_EMOJI_REGEX from 'emojibase-regex/property';\n")),(0,i.kt)("h2",{id:"filesizes"},"Filesizes"),(0,i.kt)("table",null,(0,i.kt)("thead",{parentName:"table"},(0,i.kt)("tr",{parentName:"thead"},(0,i.kt)("th",{parentName:"tr",align:null},"File"),(0,i.kt)("th",{parentName:"tr",align:"right"},"Size"),(0,i.kt)("th",{parentName:"tr",align:"right"},"Gzipped"))),(0,i.kt)("tbody",{parentName:"table"},(0,i.kt)("tr",{parentName:"tbody"},(0,i.kt)("td",{parentName:"tr",align:null},"shortcode.js"),(0,i.kt)("td",{parentName:"tr",align:"right"},"34 B"),(0,i.kt)("td",{parentName:"tr",align:"right"},"54 B")),(0,i.kt)("tr",{parentName:"tbody"},(0,i.kt)("td",{parentName:"tr",align:null},"property/text.js"),(0,i.kt)("td",{parentName:"tr",align:"right"},"60 B"),(0,i.kt)("td",{parentName:"tr",align:"right"},"76 B")),(0,i.kt)("tr",{parentName:"tbody"},(0,i.kt)("td",{parentName:"tr",align:null},"property/emoji.js"),(0,i.kt)("td",{parentName:"tr",align:"right"},"103 B"),(0,i.kt)("td",{parentName:"tr",align:"right"},"93 B")),(0,i.kt)("tr",{parentName:"tbody"},(0,i.kt)("td",{parentName:"tr",align:null},"property/index.js"),(0,i.kt)("td",{parentName:"tr",align:"right"},"115 B"),(0,i.kt)("td",{parentName:"tr",align:"right"},"102 B")),(0,i.kt)("tr",{parentName:"tbody"},(0,i.kt)("td",{parentName:"tr",align:null},"emoticon.js"),(0,i.kt)("td",{parentName:"tr",align:"right"},"463 B"),(0,i.kt)("td",{parentName:"tr",align:"right"},"244 B")),(0,i.kt)("tr",{parentName:"tbody"},(0,i.kt)("td",{parentName:"tr",align:null},"shortcode-native.js"),(0,i.kt)("td",{parentName:"tr",align:"right"},"652 B"),(0,i.kt)("td",{parentName:"tr",align:"right"},"411 B")),(0,i.kt)("tr",{parentName:"tbody"},(0,i.kt)("td",{parentName:"tr",align:null},"text.js"),(0,i.kt)("td",{parentName:"tr",align:"right"},"1.55 kB"),(0,i.kt)("td",{parentName:"tr",align:"right"},"627 B")),(0,i.kt)("tr",{parentName:"tbody"},(0,i.kt)("td",{parentName:"tr",align:null},"codepoint/text.js"),(0,i.kt)("td",{parentName:"tr",align:"right"},"1.89 kB"),(0,i.kt)("td",{parentName:"tr",align:"right"},"648 B")),(0,i.kt)("tr",{parentName:"tbody"},(0,i.kt)("td",{parentName:"tr",align:null},"emoji.js"),(0,i.kt)("td",{parentName:"tr",align:"right"},"11.89 kB"),(0,i.kt)("td",{parentName:"tr",align:"right"},"2.41 kB")),(0,i.kt)("tr",{parentName:"tbody"},(0,i.kt)("td",{parentName:"tr",align:null},"emoji-loose.js"),(0,i.kt)("td",{parentName:"tr",align:"right"},"12.26 kB"),(0,i.kt)("td",{parentName:"tr",align:"right"},"2.21 kB")),(0,i.kt)("tr",{parentName:"tbody"},(0,i.kt)("td",{parentName:"tr",align:null},"text-loose.js"),(0,i.kt)("td",{parentName:"tr",align:"right"},"12.26 kB"),(0,i.kt)("td",{parentName:"tr",align:"right"},"2.21 kB")),(0,i.kt)("tr",{parentName:"tbody"},(0,i.kt)("td",{parentName:"tr",align:null},"codepoint/emoji.js"),(0,i.kt)("td",{parentName:"tr",align:"right"},"12.46 kB"),(0,i.kt)("td",{parentName:"tr",align:"right"},"2.45 kB")),(0,i.kt)("tr",{parentName:"tbody"},(0,i.kt)("td",{parentName:"tr",align:null},"codepoint/emoji-loose.js"),(0,i.kt)("td",{parentName:"tr",align:"right"},"12.66 kB"),(0,i.kt)("td",{parentName:"tr",align:"right"},"2.25 kB")),(0,i.kt)("tr",{parentName:"tbody"},(0,i.kt)("td",{parentName:"tr",align:null},"codepoint/text-loose.js"),(0,i.kt)("td",{parentName:"tr",align:"right"},"12.66 kB"),(0,i.kt)("td",{parentName:"tr",align:"right"},"2.25 kB")),(0,i.kt)("tr",{parentName:"tbody"},(0,i.kt)("td",{parentName:"tr",align:null},"index.js"),(0,i.kt)("td",{parentName:"tr",align:"right"},"16.02 kB"),(0,i.kt)("td",{parentName:"tr",align:"right"},"2.43 kB")),(0,i.kt)("tr",{parentName:"tbody"},(0,i.kt)("td",{parentName:"tr",align:null},"codepoint/index.js"),(0,i.kt)("td",{parentName:"tr",align:"right"},"16.13 kB"),(0,i.kt)("td",{parentName:"tr",align:"right"},"2.47 kB")))))}k.isMDXComponent=!0}}]); \ No newline at end of file diff --git a/assets/js/46d74525.25d635a7.js b/assets/js/46d74525.25d635a7.js deleted file mode 100644 index c5eae082..00000000 --- a/assets/js/46d74525.25d635a7.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[85],{5318:function(t,e,a){a.d(e,{Zo:function(){return k},kt:function(){return g}});var n=a(7378);function r(t,e,a){return e in t?Object.defineProperty(t,e,{value:a,enumerable:!0,configurable:!0,writable:!0}):t[e]=a,t}function i(t,e){var a=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),a.push.apply(a,n)}return a}function l(t){for(var e=1;e=0||(r[a]=t[a]);return r}(t,e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(t,a)&&(r[a]=t[a])}return r}var d=n.createContext({}),m=function(t){var e=n.useContext(d),a=e;return t&&(a="function"==typeof t?t(e):l(l({},e),t)),a},k=function(t){var e=m(t.components);return n.createElement(d.Provider,{value:e},t.children)},p={inlineCode:"code",wrapper:function(t){var e=t.children;return n.createElement(n.Fragment,{},e)}},s=n.forwardRef((function(t,e){var a=t.components,r=t.mdxType,i=t.originalType,d=t.parentName,k=o(t,["components","mdxType","originalType","parentName"]),s=m(a),g=r,N=s["".concat(d,".").concat(g)]||s[g]||p[g]||i;return a?n.createElement(N,l(l({ref:e},k),{},{components:a})):n.createElement(N,l({ref:e},k))}));function g(t,e){var a=arguments,r=e&&e.mdxType;if("string"==typeof t||r){var i=a.length,l=new Array(i);l[0]=s;var o={};for(var d in e)hasOwnProperty.call(e,d)&&(o[d]=e[d]);o.originalType=t,o.mdxType="string"==typeof t?t:r,l[1]=o;for(var m=2;m child <"+("string"==typeof t.type?t.type:t.type.name)+'>: all children of the component should be , and every should have a unique "value" prop.')})))?void 0:a.filter(Boolean))?e:[]}(t).map((function(t){var e=t.props;return{value:e.value,label:e.label,attributes:e.attributes,default:e.default}}))}function m(t){var e=t.values,a=t.children;return(0,n.useMemo)((function(){var t=null!=e?e:d(a);return function(t){var e=(0,l.l)(t,(function(t,e){return t.value===e.value}));if(e.length>0)throw new Error('Docusaurus error: Duplicate values "'+e.map((function(t){return t.value})).join(", ")+'" found in . Every value needs to be unique.')}(t),t}),[e,a])}function k(t){var e=t.value;return t.tabValues.some((function(t){return t.value===e}))}function p(t){var e=t.queryString,a=void 0!==e&&e,l=t.groupId,o=(0,r.k6)(),d=function(t){var e=t.queryString,a=void 0!==e&&e,n=t.groupId;if("string"==typeof a)return a;if(!1===a)return null;if(!0===a&&!n)throw new Error('Docusaurus error: The component groupId prop is required if queryString=true, because this value is used as the search param name. You can also provide an explicit value such as queryString="my-search-param".');return null!=n?n:null}({queryString:a,groupId:l});return[(0,i._X)(d),(0,n.useCallback)((function(t){if(d){var e=new URLSearchParams(o.location.search);e.set(d,t),o.replace(Object.assign({},o.location,{search:e.toString()}))}}),[d,o])]}function s(t){var e,a,r,i,l=t.defaultValue,d=t.queryString,s=void 0!==d&&d,g=t.groupId,N=m(t),h=(0,n.useState)((function(){return function(t){var e,a=t.defaultValue,n=t.tabValues;if(0===n.length)throw new Error("Docusaurus error: the component requires at least one children component");if(a){if(!k({value:a,tabValues:n}))throw new Error('Docusaurus error: The has a defaultValue "'+a+'" but none of its children has the corresponding value. Available values are: '+n.map((function(t){return t.value})).join(", ")+". If you intend to show no default tab, use defaultValue={null} instead.");return a}var r=null!=(e=n.find((function(t){return t.default})))?e:n[0];if(!r)throw new Error("Unexpected error: 0 tabValues");return r.value}({defaultValue:l,tabValues:N})})),u=h[0],c=h[1],b=p({queryString:s,groupId:g}),B=b[0],f=b[1],j=(e=function(t){return t?"docusaurus.tab."+t:null}({groupId:g}.groupId),a=(0,o.Nk)(e),r=a[0],i=a[1],[r,(0,n.useCallback)((function(t){e&&i.set(t)}),[e,i])]),y=j[0],v=j[1],C=function(){var t=null!=B?B:y;return k({value:t,tabValues:N})?t:null}();return(0,n.useLayoutEffect)((function(){C&&c(C)}),[C]),{selectedValue:u,selectValue:(0,n.useCallback)((function(t){if(!k({value:t,tabValues:N}))throw new Error("Can't select invalid tab value="+t);c(t),f(t),v(t)}),[f,v,N]),tabValues:N}}},3019:function(t,e,a){a.r(e),a.d(e,{assets:function(){return s},contentTitle:function(){return k},default:function(){return h},frontMatter:function(){return m},metadata:function(){return p},toc:function(){return g}});var n=a(5773),r=a(808),i=(a(7378),a(5318)),l=a(3337),o=a(9798),d=["components"],m={title:"Datasets"},k=void 0,p={unversionedId:"datasets",id:"datasets",title:"Datasets",description:"Emoji's are generated into JSON files called datasets, with each dataset being grouped into one of",source:"@site/docs/datasets.mdx",sourceDirName:".",slug:"/datasets",permalink:"/docs/datasets",draft:!1,editUrl:"https://github.com/milesj/emojibase/edit/master/website/docs/datasets.mdx",tags:[],version:"current",frontMatter:{title:"Datasets"},sidebar:"docs",previous:{title:"Introduction",permalink:"/docs/"},next:{title:"Regex patterns",permalink:"/docs/regex"}},s={},g=[{value:"Usage",id:"usage",level:2},{value:"Data structure",id:"data-structure",level:2},{value:"Compact format",id:"compact-format",level:3},{value:"Messages format",id:"messages-format",level:3},{value:"Fetching from a CDN",id:"fetching-from-a-cdn",level:2},{value:"Fetching from your own CDN",id:"fetching-from-your-own-cdn",level:2},{value:"Supported locales",id:"supported-locales",level:2},{value:"Filesizes",id:"filesizes",level:2}],N={toc:g};function h(t){var e=t.components,a=(0,r.Z)(t,d);return(0,i.kt)("wrapper",(0,n.Z)({},N,a,{components:e,mdxType:"MDXLayout"}),(0,i.kt)("p",null,"Emoji's are generated into JSON files called datasets, with each dataset being grouped into one of\nthe following: localized data, versioned data, and metadata. These datasets can be found within the\n",(0,i.kt)("inlineCode",{parentName:"p"},"emojibase-data")," package, or ",(0,i.kt)("a",{parentName:"p",href:"#fetching-from-a-cdn"},"loaded from a CDN"),"."),(0,i.kt)(l.Z,{groupId:"package-manager",defaultValue:"yarn",values:[{label:"Yarn",value:"yarn"},{label:"NPM",value:"npm"}],mdxType:"Tabs"},(0,i.kt)(o.Z,{value:"yarn",mdxType:"TabItem"},(0,i.kt)("pre",null,(0,i.kt)("code",{parentName:"pre",className:"language-bash"},"yarn add emojibase-data\n"))),(0,i.kt)(o.Z,{value:"npm",mdxType:"TabItem"},(0,i.kt)("pre",null,(0,i.kt)("code",{parentName:"pre",className:"language-bash"},"npm install emojibase-data\n")))),(0,i.kt)("blockquote",null,(0,i.kt)("p",{parentName:"blockquote"},"JSON files will need to be parsed manually unless handled by a build/bundle process.")),(0,i.kt)("h2",{id:"usage"},"Usage"),(0,i.kt)("p",null,"As stated, there are 3 groups of datasets, each serving a specific purpose. The first group,\nlocalized data, is exactly that, datasets with localization provided by ",(0,i.kt)("a",{parentName:"p",href:"http://cldr.unicode.org/index/downloads/cldr-42"},"CLDR"),"\n(",(0,i.kt)("a",{parentName:"p",href:"#supported-locales"},"view supported locales"),"). These datasets return an array of emoji objects that\nadhere to the defined ",(0,i.kt)("a",{parentName:"p",href:"#data-structure"},"data structure"),"."),(0,i.kt)("pre",null,(0,i.kt)("code",{parentName:"pre",className:"language-ts"},"import emojis from 'emojibase-data//data.json';\nimport compactEmojis from 'emojibase-data//compact.json';\nimport groupsSubgroups from 'emojibase-data//messages.json';\n")),(0,i.kt)("p",null,"The second group, versioned data, provides datasets for emoji and Unicode release versions. These\ndatasets return a map, with the key being the version, and the value being an array of emoji\nhexcodes included in the associated release version."),(0,i.kt)("ul",null,(0,i.kt)("li",{parentName:"ul"},(0,i.kt)("inlineCode",{parentName:"li"},"emojibase-data/versions/emoji.json")," - Emoji characters grouped by emoji version."),(0,i.kt)("li",{parentName:"ul"},(0,i.kt)("inlineCode",{parentName:"li"},"emojibase-data/versions/unicode.json")," - Emoji characters grouped by Unicode version.")),(0,i.kt)("pre",null,(0,i.kt)("code",{parentName:"pre",className:"language-ts"},"import unicodeVersions from 'emojibase-data/versions/unicode.json';\n")),(0,i.kt)("p",null,"The third and last group, metadata, provides specialized datasets for unique use cases."),(0,i.kt)("ul",null,(0,i.kt)("li",{parentName:"ul"},(0,i.kt)("inlineCode",{parentName:"li"},"emojibase-data/meta/groups.json")," - A map of non-localized emoji groups (Smileys & People),\nsubgroups (Sky & Weather), and hierarchy, according to the official Unicode data files."),(0,i.kt)("li",{parentName:"ul"},(0,i.kt)("inlineCode",{parentName:"li"},"emojibase-data/meta/hexcodes.json")," - A map of emoji hexcodes (hexadecimal codepoints) to an\nobject of hexcodes with different qualified status: fully qualified, minimally qualified, and\nunqualified."),(0,i.kt)("li",{parentName:"ul"},(0,i.kt)("inlineCode",{parentName:"li"},"emojibase-data/meta/unicode.json")," - An array of all emoji unicode characters, including text and\nemoji presentation characters."),(0,i.kt)("li",{parentName:"ul"},(0,i.kt)("inlineCode",{parentName:"li"},"emojibase-data/meta/unicode-names.json")," - A map of hexcodes to official Unicode names for each\nemoji.")),(0,i.kt)("pre",null,(0,i.kt)("code",{parentName:"pre",className:"language-ts"},"import { groups, subgroups, hierarchy } from 'emojibase-data/meta/groups.json';\n")),(0,i.kt)("h2",{id:"data-structure"},"Data structure"),(0,i.kt)("p",null,"Each emoji character found within the pre-generated datasets are represented by an object composed\nof the properties listed below. In an effort to reduce the overall dataset filesize, most property\nvalues have been implemented using integers,\n",(0,i.kt)("a",{parentName:"p",href:"https://github.com/milesj/emojibase/blob/master/packages/core/src/constants.ts"},"with associated constants"),".\nView the ",(0,i.kt)("a",{parentName:"p",href:"/api/emojibase/interface/Emoji"},(0,i.kt)("inlineCode",{parentName:"a"},"Emoji"))," object for a list of all available fields."),(0,i.kt)("blockquote",null,(0,i.kt)("p",{parentName:"blockquote"},"Not all properties will be found in the emoji object, as properties without an applicable value\nare omitted from the emoji object. This helps to reduce the filesize!")),(0,i.kt)("pre",null,(0,i.kt)("code",{parentName:"pre",className:"language-js"},"{\n annotation: 'man lifting weights',\n emoji: '\ud83c\udfcb\ufe0f\u200d\u2642\ufe0f',\n gender: 1,\n group: 0,\n hexcode: '1F3CB-FE0F-200D-2642-FE0F',\n order: 1518,\n shortcodes: [\n 'man_lifting_weights',\n ],\n subgroup: 0,\n tags: [\n 'weight lifter',\n 'man',\n ],\n type: 1,\n version: 4,\n skins: [\n {\n annotation: 'man lifting weights: light skin tone',\n emoji: '\ud83c\udfcb\ud83c\udffb\u200d\u2642\ufe0f',\n gender: 1,\n group: 0,\n hexcode: '1F3CB-1F3FB-200D-2642-FE0F',\n order: 1522,\n shortcodes: [\n 'man_lifting_weights_tone1',\n ],\n subgroup: 0,\n type: 1,\n tone: 1,\n version: 4,\n },\n // ...\n ],\n},\n")),(0,i.kt)("h3",{id:"compact-format"},"Compact format"),(0,i.kt)("p",null,"While the emoji data is pretty thorough, not all of it may be required, and as such, a compact\ndataset is supported. View the ",(0,i.kt)("a",{parentName:"p",href:"/api/emojibase/interface/CompactEmoji"},(0,i.kt)("inlineCode",{parentName:"a"},"CompactEmoji"))," object for a\nlist of all available fields."),(0,i.kt)("p",null,"To use a compact dataset, replace ",(0,i.kt)("inlineCode",{parentName:"p"},"data.json")," with ",(0,i.kt)("inlineCode",{parentName:"p"},"compact.json"),"."),(0,i.kt)("pre",null,(0,i.kt)("code",{parentName:"pre",className:"language-ts"},"import data from 'emojibase-data/en/compact.json';\n")),(0,i.kt)("pre",null,(0,i.kt)("code",{parentName:"pre",className:"language-js"},"{\n annotation: 'man lifting weights',\n group: 0,\n hexcode: '1F3CB-FE0F-200D-2642-FE0F',\n order: 1518,\n shortcodes: [\n 'man_lifting_weights',\n ],\n tags: [\n 'weight lifter',\n 'man',\n ],\n unicode: '\ud83c\udfcb\ufe0f\u200d\u2642\ufe0f',\n skins: [\n {\n annotation: 'man lifting weights: light skin tone',\n group: 0,\n hexcode: '1F3CB-1F3FB-200D-2642-FE0F',\n order: 1522,\n shortcodes: [\n 'man_lifting_weights_tone1',\n ],\n unicode: '\ud83c\udfcb\ud83c\udffb\u200d\u2642\ufe0f',\n },\n // ...\n ],\n},\n")),(0,i.kt)("h3",{id:"messages-format"},"Messages format"),(0,i.kt)("p",null,"The messages format is a special dataset that provides translations for groups, sub-groups, and any\nother related emoji metadata. The ",(0,i.kt)("inlineCode",{parentName:"p"},"key")," in each message lines up with a defined TypeScript type\nalias."),(0,i.kt)("pre",null,(0,i.kt)("code",{parentName:"pre",className:"language-ts"},"import data from 'emojibase-data/en/messages.json';\n")),(0,i.kt)("pre",null,(0,i.kt)("code",{parentName:"pre",className:"language-js"},"{\n groups: [\n {\n key: 'smileys-emotion',\n message: 'smileys & emotion',\n order: 0,\n },\n // ...\n ],\n subgroups: [\n {\n key: 'face-smiling',\n message: 'smiling',\n order: 0,\n },\n // ...\n ],\n skinTones: [\n {\n key: 'light',\n message: 'light skin tone',\n },\n // ...\n ],\n};\n")),(0,i.kt)("h2",{id:"fetching-from-a-cdn"},"Fetching from a CDN"),(0,i.kt)("p",null,"If you prefer to not inflate your bundle size with these large JSON datasets, you can fetch them\nfrom our CDN (",(0,i.kt)("a",{parentName:"p",href:"https://cdn.jsdelivr.net/npm/emojibase-data@latest/"},"provided by jsdelivr.com"),") using\n",(0,i.kt)("a",{parentName:"p",href:"/api/emojibase/function/fetchFromCDN"},(0,i.kt)("inlineCode",{parentName:"a"},"fetchFromCDN()")),",\n",(0,i.kt)("a",{parentName:"p",href:"/api/emojibase/function/fetchEmojis"},(0,i.kt)("inlineCode",{parentName:"a"},"fetchEmojis()")),", or\n",(0,i.kt)("a",{parentName:"p",href:"/api/emojibase/function/fetchShortcodes"},(0,i.kt)("inlineCode",{parentName:"a"},"fetchShortcodes()")),"."),(0,i.kt)("pre",null,(0,i.kt)("code",{parentName:"pre",className:"language-ts"},"import { fetchFromCDN, fetchEmojis, fetchMessages, fetchShortcodes } from 'emojibase';\n\nconst englishEmojis = await fetchFromCDN('en/data.json', { shortcodes: ['github'] });\nconst japaneseCompactEmojis = await fetchEmojis('ja', { compact: true });\nconst germanCldrShortcodes = await fetchShortcodes('de', 'cldr');\nconst chineseTranslations = await fetchMessages('zh');\n")),(0,i.kt)("h2",{id:"fetching-from-your-own-cdn"},"Fetching from your own CDN"),(0,i.kt)("p",null,"If you want to load the JSON datasets from your own CDN, you can customize the ",(0,i.kt)("inlineCode",{parentName:"p"},"cdnUrl")," using the\noptions object."),(0,i.kt)("p",null,"When ",(0,i.kt)("inlineCode",{parentName:"p"},"cdnUrl")," is a string, ",(0,i.kt)("inlineCode",{parentName:"p"},"fetchFromCDN")," will append ",(0,i.kt)("inlineCode",{parentName:"p"},"'/${path}'")," to the url. Make sure to include\nthe ",(0,i.kt)("inlineCode",{parentName:"p"},"version")," within the ",(0,i.kt)("inlineCode",{parentName:"p"},"cdnUrl")," yourself, it's not added automatically to give you control over\nits placement."),(0,i.kt)("pre",null,(0,i.kt)("code",{parentName:"pre",className:"language-ts"},"import { fetchFromCDN, fetchEmojis, fetchMessages, fetchShortcodes } from 'emojibase';\n\nconst cdnUrl = 'https://example.com/cdn/emojidata/latest';\n\nconst englishEmojis = await fetchFromCDN('en/data.json', { shortcodes: ['github'], cdnUrl });\nconst japaneseCompactEmojis = await fetchEmojis('ja', { compact: true, cdnUrl });\nconst germanCldrShortcodes = await fetchShortcodes('de', 'cldr', { cdnUrl });\nconst chineseTranslations = await fetchMessages('zh', { cdnUrl });\n")),(0,i.kt)("p",null,(0,i.kt)("inlineCode",{parentName:"p"},"cdnUrl")," can also be a function, so you have complete control over the format of the url. This\nfunction receives ",(0,i.kt)("inlineCode",{parentName:"p"},"path")," and ",(0,i.kt)("inlineCode",{parentName:"p"},"version")," as parameters. Version will be what you pass in within the\noptions object, or it will default to ",(0,i.kt)("inlineCode",{parentName:"p"},"latest"),". Note that ",(0,i.kt)("inlineCode",{parentName:"p"},"version")," is also used for the cache key,\nso it's advised to set the option and not hard-code it in the ",(0,i.kt)("inlineCode",{parentName:"p"},"cdnUrl")," function."),(0,i.kt)("pre",null,(0,i.kt)("code",{parentName:"pre",className:"language-ts"},"import { fetchFromCDN, fetchEmojis, fetchMessages, fetchShortcodes } from 'emojibase';\n\nfunction cdnUrl(path: string, version: string): string {\n return `https://example.com/cdn/emojidata/${version}/${path}`;\n}\n\nconst englishEmojis = await fetchFromCDN('en/data.json', { shortcodes: ['github'], cdnUrl });\nconst japaneseCompactEmojis = await fetchEmojis('ja', { compact: true, cdnUrl });\nconst germanCldrShortcodes = await fetchShortcodes('de', 'cldr', { cdnUrl });\nconst chineseTranslations = await fetchMessages('zh', { cdnUrl });\n")),(0,i.kt)("h2",{id:"supported-locales"},"Supported locales"),(0,i.kt)("p",null,"Follow locales are supported for both full and compact datasets."),(0,i.kt)("ul",null,(0,i.kt)("li",{parentName:"ul"},"Bengali (",(0,i.kt)("inlineCode",{parentName:"li"},"bu"),")"),(0,i.kt)("li",{parentName:"ul"},"Chinese (",(0,i.kt)("inlineCode",{parentName:"li"},"zh"),")"),(0,i.kt)("li",{parentName:"ul"},"Chinese, Traditional (",(0,i.kt)("inlineCode",{parentName:"li"},"zh-hant"),")"),(0,i.kt)("li",{parentName:"ul"},"Danish (",(0,i.kt)("inlineCode",{parentName:"li"},"da"),")"),(0,i.kt)("li",{parentName:"ul"},"Dutch (",(0,i.kt)("inlineCode",{parentName:"li"},"nl"),")"),(0,i.kt)("li",{parentName:"ul"},"English (",(0,i.kt)("inlineCode",{parentName:"li"},"en"),")"),(0,i.kt)("li",{parentName:"ul"},"English, Great Britain (",(0,i.kt)("inlineCode",{parentName:"li"},"en-gb"),")"),(0,i.kt)("li",{parentName:"ul"},"Estonian (",(0,i.kt)("inlineCode",{parentName:"li"},"et"),")"),(0,i.kt)("li",{parentName:"ul"},"Finnish (",(0,i.kt)("inlineCode",{parentName:"li"},"fi"),")"),(0,i.kt)("li",{parentName:"ul"},"French (",(0,i.kt)("inlineCode",{parentName:"li"},"fr"),")"),(0,i.kt)("li",{parentName:"ul"},"German (",(0,i.kt)("inlineCode",{parentName:"li"},"de"),")"),(0,i.kt)("li",{parentName:"ul"},"Hindu (",(0,i.kt)("inlineCode",{parentName:"li"},"hi"),")"),(0,i.kt)("li",{parentName:"ul"},"Hungarian (",(0,i.kt)("inlineCode",{parentName:"li"},"hu"),")"),(0,i.kt)("li",{parentName:"ul"},"Italian (",(0,i.kt)("inlineCode",{parentName:"li"},"it"),")"),(0,i.kt)("li",{parentName:"ul"},"Japanese (",(0,i.kt)("inlineCode",{parentName:"li"},"ja"),")"),(0,i.kt)("li",{parentName:"ul"},"Korean (",(0,i.kt)("inlineCode",{parentName:"li"},"ko"),")"),(0,i.kt)("li",{parentName:"ul"},"Lithuanian (",(0,i.kt)("inlineCode",{parentName:"li"},"lt"),")"),(0,i.kt)("li",{parentName:"ul"},"Malay (",(0,i.kt)("inlineCode",{parentName:"li"},"ms"),")"),(0,i.kt)("li",{parentName:"ul"},"Norwegian (",(0,i.kt)("inlineCode",{parentName:"li"},"nb"),")"),(0,i.kt)("li",{parentName:"ul"},"Polish (",(0,i.kt)("inlineCode",{parentName:"li"},"pl"),")"),(0,i.kt)("li",{parentName:"ul"},"Portuguese (",(0,i.kt)("inlineCode",{parentName:"li"},"pt"),")"),(0,i.kt)("li",{parentName:"ul"},"Russian (",(0,i.kt)("inlineCode",{parentName:"li"},"ru"),")"),(0,i.kt)("li",{parentName:"ul"},"Spanish (",(0,i.kt)("inlineCode",{parentName:"li"},"es"),")"),(0,i.kt)("li",{parentName:"ul"},"Spanish, Mexico (",(0,i.kt)("inlineCode",{parentName:"li"},"es-mx"),")"),(0,i.kt)("li",{parentName:"ul"},"Swedish (",(0,i.kt)("inlineCode",{parentName:"li"},"sv"),")"),(0,i.kt)("li",{parentName:"ul"},"Thai (",(0,i.kt)("inlineCode",{parentName:"li"},"th"),")"),(0,i.kt)("li",{parentName:"ul"},"Ukrainian (",(0,i.kt)("inlineCode",{parentName:"li"},"uk"),")")),(0,i.kt)("h2",{id:"filesizes"},"Filesizes"),(0,i.kt)("p",null,"Sorted by original size in ascending order."),(0,i.kt)(l.Z,{groupId:"filesizes",defaultValue:"data",values:[{label:"Emojis",value:"data"},{label:"Emojis (compact)",value:"compact"},{label:"Shortcodes",value:"shortcodes"},{label:"Messages",value:"messages"},{label:"Other",value:"other"}],mdxType:"Tabs"},(0,i.kt)(o.Z,{value:"data",mdxType:"TabItem"},(0,i.kt)("table",null,(0,i.kt)("thead",{parentName:"table"},(0,i.kt)("tr",{parentName:"thead"},(0,i.kt)("th",{parentName:"tr",align:null},"File"),(0,i.kt)("th",{parentName:"tr",align:"right"},"Size"),(0,i.kt)("th",{parentName:"tr",align:"right"},"Gzipped"))),(0,i.kt)("tbody",{parentName:"table"},(0,i.kt)("tr",{parentName:"tbody"},(0,i.kt)("td",{parentName:"tr",align:null},"zh-hant/data.json"),(0,i.kt)("td",{parentName:"tr",align:"right"},"623.94 kB"),(0,i.kt)("td",{parentName:"tr",align:"right"},"71.93 kB")),(0,i.kt)("tr",{parentName:"tbody"},(0,i.kt)("td",{parentName:"tr",align:null},"zh/data.json"),(0,i.kt)("td",{parentName:"tr",align:"right"},"649.54 kB"),(0,i.kt)("td",{parentName:"tr",align:"right"},"78.48 kB")),(0,i.kt)("tr",{parentName:"tbody"},(0,i.kt)("td",{parentName:"tr",align:null},"sv/data.json"),(0,i.kt)("td",{parentName:"tr",align:"right"},"661.26 kB"),(0,i.kt)("td",{parentName:"tr",align:"right"},"77.51 kB")),(0,i.kt)("tr",{parentName:"tbody"},(0,i.kt)("td",{parentName:"tr",align:null},"nb/data.json"),(0,i.kt)("td",{parentName:"tr",align:"right"},"662.25 kB"),(0,i.kt)("td",{parentName:"tr",align:"right"},"77.91 kB")),(0,i.kt)("tr",{parentName:"tbody"},(0,i.kt)("td",{parentName:"tr",align:null},"da/data.json"),(0,i.kt)("td",{parentName:"tr",align:"right"},"667.38 kB"),(0,i.kt)("td",{parentName:"tr",align:"right"},"77.6 kB")),(0,i.kt)("tr",{parentName:"tbody"},(0,i.kt)("td",{parentName:"tr",align:null},"en/data.json"),(0,i.kt)("td",{parentName:"tr",align:"right"},"669.13 kB"),(0,i.kt)("td",{parentName:"tr",align:"right"},"76.21 kB")),(0,i.kt)("tr",{parentName:"tbody"},(0,i.kt)("td",{parentName:"tr",align:null},"en-gb/data.json"),(0,i.kt)("td",{parentName:"tr",align:"right"},"669.13 kB"),(0,i.kt)("td",{parentName:"tr",align:"right"},"76.21 kB")),(0,i.kt)("tr",{parentName:"tbody"},(0,i.kt)("td",{parentName:"tr",align:null},"et/data.json"),(0,i.kt)("td",{parentName:"tr",align:"right"},"674.23 kB"),(0,i.kt)("td",{parentName:"tr",align:"right"},"76.97 kB")),(0,i.kt)("tr",{parentName:"tbody"},(0,i.kt)("td",{parentName:"tr",align:null},"fi/data.json"),(0,i.kt)("td",{parentName:"tr",align:"right"},"678.06 kB"),(0,i.kt)("td",{parentName:"tr",align:"right"},"80.86 kB")),(0,i.kt)("tr",{parentName:"tbody"},(0,i.kt)("td",{parentName:"tr",align:null},"fr/data.json"),(0,i.kt)("td",{parentName:"tr",align:"right"},"681.72 kB"),(0,i.kt)("td",{parentName:"tr",align:"right"},"77.14 kB")),(0,i.kt)("tr",{parentName:"tbody"},(0,i.kt)("td",{parentName:"tr",align:null},"ko/data.json"),(0,i.kt)("td",{parentName:"tr",align:"right"},"682.58 kB"),(0,i.kt)("td",{parentName:"tr",align:"right"},"81.21 kB")),(0,i.kt)("tr",{parentName:"tbody"},(0,i.kt)("td",{parentName:"tr",align:null},"nl/data.json"),(0,i.kt)("td",{parentName:"tr",align:"right"},"682.76 kB"),(0,i.kt)("td",{parentName:"tr",align:"right"},"77.89 kB")),(0,i.kt)("tr",{parentName:"tbody"},(0,i.kt)("td",{parentName:"tr",align:null},"lt/data.json"),(0,i.kt)("td",{parentName:"tr",align:"right"},"683.25 kB"),(0,i.kt)("td",{parentName:"tr",align:"right"},"80.51 kB")),(0,i.kt)("tr",{parentName:"tbody"},(0,i.kt)("td",{parentName:"tr",align:null},"pt/data.json"),(0,i.kt)("td",{parentName:"tr",align:"right"},"683.99 kB"),(0,i.kt)("td",{parentName:"tr",align:"right"},"80.14 kB")),(0,i.kt)("tr",{parentName:"tbody"},(0,i.kt)("td",{parentName:"tr",align:null},"ja/data.json"),(0,i.kt)("td",{parentName:"tr",align:"right"},"688.5 kB"),(0,i.kt)("td",{parentName:"tr",align:"right"},"81.74 kB")),(0,i.kt)("tr",{parentName:"tbody"},(0,i.kt)("td",{parentName:"tr",align:null},"ms/data.json"),(0,i.kt)("td",{parentName:"tr",align:"right"},"693.49 kB"),(0,i.kt)("td",{parentName:"tr",align:"right"},"77.7 kB")),(0,i.kt)("tr",{parentName:"tbody"},(0,i.kt)("td",{parentName:"tr",align:null},"hu/data.json"),(0,i.kt)("td",{parentName:"tr",align:"right"},"694.91 kB"),(0,i.kt)("td",{parentName:"tr",align:"right"},"80.44 kB")),(0,i.kt)("tr",{parentName:"tbody"},(0,i.kt)("td",{parentName:"tr",align:null},"es/data.json"),(0,i.kt)("td",{parentName:"tr",align:"right"},"701.52 kB"),(0,i.kt)("td",{parentName:"tr",align:"right"},"80.37 kB")),(0,i.kt)("tr",{parentName:"tbody"},(0,i.kt)("td",{parentName:"tr",align:null},"pl/data.json"),(0,i.kt)("td",{parentName:"tr",align:"right"},"703.05 kB"),(0,i.kt)("td",{parentName:"tr",align:"right"},"84.31 kB")),(0,i.kt)("tr",{parentName:"tbody"},(0,i.kt)("td",{parentName:"tr",align:null},"es-mx/data.json"),(0,i.kt)("td",{parentName:"tr",align:"right"},"703.21 kB"),(0,i.kt)("td",{parentName:"tr",align:"right"},"80.9 kB")),(0,i.kt)("tr",{parentName:"tbody"},(0,i.kt)("td",{parentName:"tr",align:null},"it/data.json"),(0,i.kt)("td",{parentName:"tr",align:"right"},"705.65 kB"),(0,i.kt)("td",{parentName:"tr",align:"right"},"82.21 kB")),(0,i.kt)("tr",{parentName:"tbody"},(0,i.kt)("td",{parentName:"tr",align:null},"de/data.json"),(0,i.kt)("td",{parentName:"tr",align:"right"},"707.7 kB"),(0,i.kt)("td",{parentName:"tr",align:"right"},"85.53 kB")),(0,i.kt)("tr",{parentName:"tbody"},(0,i.kt)("td",{parentName:"tr",align:null},"ru/data.json"),(0,i.kt)("td",{parentName:"tr",align:"right"},"820.21 kB"),(0,i.kt)("td",{parentName:"tr",align:"right"},"91.16 kB")),(0,i.kt)("tr",{parentName:"tbody"},(0,i.kt)("td",{parentName:"tr",align:null},"th/data.json"),(0,i.kt)("td",{parentName:"tr",align:"right"},"837.09 kB"),(0,i.kt)("td",{parentName:"tr",align:"right"},"82.18 kB")),(0,i.kt)("tr",{parentName:"tbody"},(0,i.kt)("td",{parentName:"tr",align:null},"uk/data.json"),(0,i.kt)("td",{parentName:"tr",align:"right"},"838.77 kB"),(0,i.kt)("td",{parentName:"tr",align:"right"},"90.47 kB")),(0,i.kt)("tr",{parentName:"tbody"},(0,i.kt)("td",{parentName:"tr",align:null},"hi/data.json"),(0,i.kt)("td",{parentName:"tr",align:"right"},"881.21 kB"),(0,i.kt)("td",{parentName:"tr",align:"right"},"89.27 kB")),(0,i.kt)("tr",{parentName:"tbody"},(0,i.kt)("td",{parentName:"tr",align:null},"bn/data.json"),(0,i.kt)("td",{parentName:"tr",align:"right"},"901.45 kB"),(0,i.kt)("td",{parentName:"tr",align:"right"},"86.81 kB"))))),(0,i.kt)(o.Z,{value:"compact",mdxType:"TabItem"},(0,i.kt)("table",null,(0,i.kt)("thead",{parentName:"table"},(0,i.kt)("tr",{parentName:"thead"},(0,i.kt)("th",{parentName:"tr",align:null},"File"),(0,i.kt)("th",{parentName:"tr",align:"right"},"Size"),(0,i.kt)("th",{parentName:"tr",align:"right"},"Gzipped"))),(0,i.kt)("tbody",{parentName:"table"},(0,i.kt)("tr",{parentName:"tbody"},(0,i.kt)("td",{parentName:"tr",align:null},"zh-hant/compact.json"),(0,i.kt)("td",{parentName:"tr",align:"right"},"436.57 kB"),(0,i.kt)("td",{parentName:"tr",align:"right"},"63.09 kB")),(0,i.kt)("tr",{parentName:"tbody"},(0,i.kt)("td",{parentName:"tr",align:null},"zh/compact.json"),(0,i.kt)("td",{parentName:"tr",align:"right"},"462.18 kB"),(0,i.kt)("td",{parentName:"tr",align:"right"},"69.27 kB")),(0,i.kt)("tr",{parentName:"tbody"},(0,i.kt)("td",{parentName:"tr",align:null},"sv/compact.json"),(0,i.kt)("td",{parentName:"tr",align:"right"},"473.9 kB"),(0,i.kt)("td",{parentName:"tr",align:"right"},"68.4 kB")),(0,i.kt)("tr",{parentName:"tbody"},(0,i.kt)("td",{parentName:"tr",align:null},"nb/compact.json"),(0,i.kt)("td",{parentName:"tr",align:"right"},"474.89 kB"),(0,i.kt)("td",{parentName:"tr",align:"right"},"70.08 kB")),(0,i.kt)("tr",{parentName:"tbody"},(0,i.kt)("td",{parentName:"tr",align:null},"da/compact.json"),(0,i.kt)("td",{parentName:"tr",align:"right"},"480.01 kB"),(0,i.kt)("td",{parentName:"tr",align:"right"},"68.59 kB")),(0,i.kt)("tr",{parentName:"tbody"},(0,i.kt)("td",{parentName:"tr",align:null},"en/compact.json"),(0,i.kt)("td",{parentName:"tr",align:"right"},"481.76 kB"),(0,i.kt)("td",{parentName:"tr",align:"right"},"67.39 kB")),(0,i.kt)("tr",{parentName:"tbody"},(0,i.kt)("td",{parentName:"tr",align:null},"en-gb/compact.json"),(0,i.kt)("td",{parentName:"tr",align:"right"},"481.76 kB"),(0,i.kt)("td",{parentName:"tr",align:"right"},"67.39 kB")),(0,i.kt)("tr",{parentName:"tbody"},(0,i.kt)("td",{parentName:"tr",align:null},"et/compact.json"),(0,i.kt)("td",{parentName:"tr",align:"right"},"486.86 kB"),(0,i.kt)("td",{parentName:"tr",align:"right"},"67.94 kB")),(0,i.kt)("tr",{parentName:"tbody"},(0,i.kt)("td",{parentName:"tr",align:null},"fi/compact.json"),(0,i.kt)("td",{parentName:"tr",align:"right"},"490.69 kB"),(0,i.kt)("td",{parentName:"tr",align:"right"},"71.4 kB")),(0,i.kt)("tr",{parentName:"tbody"},(0,i.kt)("td",{parentName:"tr",align:null},"fr/compact.json"),(0,i.kt)("td",{parentName:"tr",align:"right"},"494.35 kB"),(0,i.kt)("td",{parentName:"tr",align:"right"},"68.11 kB")),(0,i.kt)("tr",{parentName:"tbody"},(0,i.kt)("td",{parentName:"tr",align:null},"ko/compact.json"),(0,i.kt)("td",{parentName:"tr",align:"right"},"495.21 kB"),(0,i.kt)("td",{parentName:"tr",align:"right"},"71.43 kB")),(0,i.kt)("tr",{parentName:"tbody"},(0,i.kt)("td",{parentName:"tr",align:null},"nl/compact.json"),(0,i.kt)("td",{parentName:"tr",align:"right"},"495.4 kB"),(0,i.kt)("td",{parentName:"tr",align:"right"},"68.77 kB")),(0,i.kt)("tr",{parentName:"tbody"},(0,i.kt)("td",{parentName:"tr",align:null},"lt/compact.json"),(0,i.kt)("td",{parentName:"tr",align:"right"},"495.88 kB"),(0,i.kt)("td",{parentName:"tr",align:"right"},"71 kB")),(0,i.kt)("tr",{parentName:"tbody"},(0,i.kt)("td",{parentName:"tr",align:null},"pt/compact.json"),(0,i.kt)("td",{parentName:"tr",align:"right"},"496.62 kB"),(0,i.kt)("td",{parentName:"tr",align:"right"},"71.1 kB")),(0,i.kt)("tr",{parentName:"tbody"},(0,i.kt)("td",{parentName:"tr",align:null},"ja/compact.json"),(0,i.kt)("td",{parentName:"tr",align:"right"},"501.13 kB"),(0,i.kt)("td",{parentName:"tr",align:"right"},"72.02 kB")),(0,i.kt)("tr",{parentName:"tbody"},(0,i.kt)("td",{parentName:"tr",align:null},"ms/compact.json"),(0,i.kt)("td",{parentName:"tr",align:"right"},"506.13 kB"),(0,i.kt)("td",{parentName:"tr",align:"right"},"68.78 kB")),(0,i.kt)("tr",{parentName:"tbody"},(0,i.kt)("td",{parentName:"tr",align:null},"hu/compact.json"),(0,i.kt)("td",{parentName:"tr",align:"right"},"507.55 kB"),(0,i.kt)("td",{parentName:"tr",align:"right"},"70.81 kB")),(0,i.kt)("tr",{parentName:"tbody"},(0,i.kt)("td",{parentName:"tr",align:null},"es/compact.json"),(0,i.kt)("td",{parentName:"tr",align:"right"},"514.15 kB"),(0,i.kt)("td",{parentName:"tr",align:"right"},"71.38 kB")),(0,i.kt)("tr",{parentName:"tbody"},(0,i.kt)("td",{parentName:"tr",align:null},"pl/compact.json"),(0,i.kt)("td",{parentName:"tr",align:"right"},"515.68 kB"),(0,i.kt)("td",{parentName:"tr",align:"right"},"75 kB")),(0,i.kt)("tr",{parentName:"tbody"},(0,i.kt)("td",{parentName:"tr",align:null},"es-mx/compact.json"),(0,i.kt)("td",{parentName:"tr",align:"right"},"515.84 kB"),(0,i.kt)("td",{parentName:"tr",align:"right"},"71.84 kB")),(0,i.kt)("tr",{parentName:"tbody"},(0,i.kt)("td",{parentName:"tr",align:null},"it/compact.json"),(0,i.kt)("td",{parentName:"tr",align:"right"},"518.28 kB"),(0,i.kt)("td",{parentName:"tr",align:"right"},"73.11 kB")),(0,i.kt)("tr",{parentName:"tbody"},(0,i.kt)("td",{parentName:"tr",align:null},"de/compact.json"),(0,i.kt)("td",{parentName:"tr",align:"right"},"520.33 kB"),(0,i.kt)("td",{parentName:"tr",align:"right"},"75.84 kB")),(0,i.kt)("tr",{parentName:"tbody"},(0,i.kt)("td",{parentName:"tr",align:null},"ru/compact.json"),(0,i.kt)("td",{parentName:"tr",align:"right"},"632.84 kB"),(0,i.kt)("td",{parentName:"tr",align:"right"},"81.53 kB")),(0,i.kt)("tr",{parentName:"tbody"},(0,i.kt)("td",{parentName:"tr",align:null},"th/compact.json"),(0,i.kt)("td",{parentName:"tr",align:"right"},"649.72 kB"),(0,i.kt)("td",{parentName:"tr",align:"right"},"72.93 kB")),(0,i.kt)("tr",{parentName:"tbody"},(0,i.kt)("td",{parentName:"tr",align:null},"uk/compact.json"),(0,i.kt)("td",{parentName:"tr",align:"right"},"651.41 kB"),(0,i.kt)("td",{parentName:"tr",align:"right"},"80.7 kB")),(0,i.kt)("tr",{parentName:"tbody"},(0,i.kt)("td",{parentName:"tr",align:null},"hi/compact.json"),(0,i.kt)("td",{parentName:"tr",align:"right"},"693.85 kB"),(0,i.kt)("td",{parentName:"tr",align:"right"},"79.46 kB")),(0,i.kt)("tr",{parentName:"tbody"},(0,i.kt)("td",{parentName:"tr",align:null},"bn/compact.json"),(0,i.kt)("td",{parentName:"tr",align:"right"},"714.08 kB"),(0,i.kt)("td",{parentName:"tr",align:"right"},"77.18 kB"))))),(0,i.kt)(o.Z,{value:"shortcodes",mdxType:"TabItem"},(0,i.kt)("table",null,(0,i.kt)("thead",{parentName:"table"},(0,i.kt)("tr",{parentName:"thead"},(0,i.kt)("th",{parentName:"tr",align:null},"File"),(0,i.kt)("th",{parentName:"tr",align:"right"},"Size"),(0,i.kt)("th",{parentName:"tr",align:"right"},"Gzipped"))),(0,i.kt)("tbody",{parentName:"table"},(0,i.kt)("tr",{parentName:"tbody"},(0,i.kt)("td",{parentName:"tr",align:null},"fr/shortcodes/emojibase.json"),(0,i.kt)("td",{parentName:"tr",align:"right"},"42 B"),(0,i.kt)("td",{parentName:"tr",align:"right"},"61 B")),(0,i.kt)("tr",{parentName:"tbody"},(0,i.kt)("td",{parentName:"tr",align:null},"en/shortcodes/cldr-native.json"),(0,i.kt)("td",{parentName:"tr",align:"right"},"258 B"),(0,i.kt)("td",{parentName:"tr",align:"right"},"184 B")),(0,i.kt)("tr",{parentName:"tbody"},(0,i.kt)("td",{parentName:"tr",align:null},"en-gb/shortcodes/cldr-native.json"),(0,i.kt)("td",{parentName:"tr",align:"right"},"258 B"),(0,i.kt)("td",{parentName:"tr",align:"right"},"184 B")),(0,i.kt)("tr",{parentName:"tbody"},(0,i.kt)("td",{parentName:"tr",align:null},"zh/shortcodes/emojibase-native.json"),(0,i.kt)("td",{parentName:"tr",align:"right"},"298 B"),(0,i.kt)("td",{parentName:"tr",align:"right"},"201 B")),(0,i.kt)("tr",{parentName:"tbody"},(0,i.kt)("td",{parentName:"tr",align:null},"zh/shortcodes/emojibase.json"),(0,i.kt)("td",{parentName:"tr",align:"right"},"347 B"),(0,i.kt)("td",{parentName:"tr",align:"right"},"187 B")),(0,i.kt)("tr",{parentName:"tbody"},(0,i.kt)("td",{parentName:"tr",align:null},"ja/shortcodes/emojibase.json"),(0,i.kt)("td",{parentName:"tr",align:"right"},"1.02 kB"),(0,i.kt)("td",{parentName:"tr",align:"right"},"471 B")),(0,i.kt)("tr",{parentName:"tbody"},(0,i.kt)("td",{parentName:"tr",align:null},"ja/shortcodes/emojibase-native.json"),(0,i.kt)("td",{parentName:"tr",align:"right"},"1.09 kB"),(0,i.kt)("td",{parentName:"tr",align:"right"},"569 B")),(0,i.kt)("tr",{parentName:"tbody"},(0,i.kt)("td",{parentName:"tr",align:null},"it/shortcodes/cldr-native.json"),(0,i.kt)("td",{parentName:"tr",align:"right"},"1.18 kB"),(0,i.kt)("td",{parentName:"tr",align:"right"},"496 B")),(0,i.kt)("tr",{parentName:"tbody"},(0,i.kt)("td",{parentName:"tr",align:null},"nl/shortcodes/cldr-native.json"),(0,i.kt)("td",{parentName:"tr",align:"right"},"2.44 kB"),(0,i.kt)("td",{parentName:"tr",align:"right"},"753 B")),(0,i.kt)("tr",{parentName:"tbody"},(0,i.kt)("td",{parentName:"tr",align:null},"ru/shortcodes/emojibase.json"),(0,i.kt)("td",{parentName:"tr",align:"right"},"19.23 kB"),(0,i.kt)("td",{parentName:"tr",align:"right"},"5.93 kB")),(0,i.kt)("tr",{parentName:"tbody"},(0,i.kt)("td",{parentName:"tr",align:null},"ru/shortcodes/emojibase-native.json"),(0,i.kt)("td",{parentName:"tr",align:"right"},"25.23 kB"),(0,i.kt)("td",{parentName:"tr",align:"right"},"6.56 kB")),(0,i.kt)("tr",{parentName:"tbody"},(0,i.kt)("td",{parentName:"tr",align:null},"nb/shortcodes/cldr-native.json"),(0,i.kt)("td",{parentName:"tr",align:"right"},"35.13 kB"),(0,i.kt)("td",{parentName:"tr",align:"right"},"6.66 kB")),(0,i.kt)("tr",{parentName:"tbody"},(0,i.kt)("td",{parentName:"tr",align:null},"da/shortcodes/emojibase-native.json"),(0,i.kt)("td",{parentName:"tr",align:"right"},"36.68 kB"),(0,i.kt)("td",{parentName:"tr",align:"right"},"6.69 kB")),(0,i.kt)("tr",{parentName:"tbody"},(0,i.kt)("td",{parentName:"tr",align:null},"es-mx/shortcodes/cldr-native.json"),(0,i.kt)("td",{parentName:"tr",align:"right"},"38.87 kB"),(0,i.kt)("td",{parentName:"tr",align:"right"},"8.1 kB")),(0,i.kt)("tr",{parentName:"tbody"},(0,i.kt)("td",{parentName:"tr",align:null},"es/shortcodes/cldr-native.json"),(0,i.kt)("td",{parentName:"tr",align:"right"},"39.03 kB"),(0,i.kt)("td",{parentName:"tr",align:"right"},"8.05 kB")),(0,i.kt)("tr",{parentName:"tbody"},(0,i.kt)("td",{parentName:"tr",align:null},"de/shortcodes/cldr-native.json"),(0,i.kt)("td",{parentName:"tr",align:"right"},"41.96 kB"),(0,i.kt)("td",{parentName:"tr",align:"right"},"6.68 kB")),(0,i.kt)("tr",{parentName:"tbody"},(0,i.kt)("td",{parentName:"tr",align:null},"en/shortcodes/github.json"),(0,i.kt)("td",{parentName:"tr",align:"right"},"43.94 kB"),(0,i.kt)("td",{parentName:"tr",align:"right"},"15.13 kB")),(0,i.kt)("tr",{parentName:"tbody"},(0,i.kt)("td",{parentName:"tr",align:null},"en/shortcodes/iamcal.json"),(0,i.kt)("td",{parentName:"tr",align:"right"},"46.14 kB"),(0,i.kt)("td",{parentName:"tr",align:"right"},"14.89 kB")),(0,i.kt)("tr",{parentName:"tbody"},(0,i.kt)("td",{parentName:"tr",align:null},"da/shortcodes/cldr-native.json"),(0,i.kt)("td",{parentName:"tr",align:"right"},"48.37 kB"),(0,i.kt)("td",{parentName:"tr",align:"right"},"8.35 kB")),(0,i.kt)("tr",{parentName:"tbody"},(0,i.kt)("td",{parentName:"tr",align:null},"fr/shortcodes/cldr-native.json"),(0,i.kt)("td",{parentName:"tr",align:"right"},"52.57 kB"),(0,i.kt)("td",{parentName:"tr",align:"right"},"10.05 kB")),(0,i.kt)("tr",{parentName:"tbody"},(0,i.kt)("td",{parentName:"tr",align:null},"pt/shortcodes/cldr-native.json"),(0,i.kt)("td",{parentName:"tr",align:"right"},"52.67 kB"),(0,i.kt)("td",{parentName:"tr",align:"right"},"10.38 kB")),(0,i.kt)("tr",{parentName:"tbody"},(0,i.kt)("td",{parentName:"tr",align:null},"sv/shortcodes/emojibase-native.json"),(0,i.kt)("td",{parentName:"tr",align:"right"},"54.62 kB"),(0,i.kt)("td",{parentName:"tr",align:"right"},"10.11 kB")),(0,i.kt)("tr",{parentName:"tbody"},(0,i.kt)("td",{parentName:"tr",align:null},"sv/shortcodes/cldr-native.json"),(0,i.kt)("td",{parentName:"tr",align:"right"},"64.07 kB"),(0,i.kt)("td",{parentName:"tr",align:"right"},"11.15 kB")),(0,i.kt)("tr",{parentName:"tbody"},(0,i.kt)("td",{parentName:"tr",align:null},"fi/shortcodes/cldr-native.json"),(0,i.kt)("td",{parentName:"tr",align:"right"},"64.69 kB"),(0,i.kt)("td",{parentName:"tr",align:"right"},"10.26 kB")),(0,i.kt)("tr",{parentName:"tbody"},(0,i.kt)("td",{parentName:"tr",align:null},"et/shortcodes/cldr-native.json"),(0,i.kt)("td",{parentName:"tr",align:"right"},"67.85 kB"),(0,i.kt)("td",{parentName:"tr",align:"right"},"11.75 kB")),(0,i.kt)("tr",{parentName:"tbody"},(0,i.kt)("td",{parentName:"tr",align:null},"lt/shortcodes/cldr-native.json"),(0,i.kt)("td",{parentName:"tr",align:"right"},"109.64 kB"),(0,i.kt)("td",{parentName:"tr",align:"right"},"19.74 kB")),(0,i.kt)("tr",{parentName:"tbody"},(0,i.kt)("td",{parentName:"tr",align:null},"pl/shortcodes/cldr-native.json"),(0,i.kt)("td",{parentName:"tr",align:"right"},"114.4 kB"),(0,i.kt)("td",{parentName:"tr",align:"right"},"18.08 kB")),(0,i.kt)("tr",{parentName:"tbody"},(0,i.kt)("td",{parentName:"tr",align:null},"en/shortcodes/emojibase-legacy.json"),(0,i.kt)("td",{parentName:"tr",align:"right"},"129.02 kB"),(0,i.kt)("td",{parentName:"tr",align:"right"},"24.36 kB")),(0,i.kt)("tr",{parentName:"tbody"},(0,i.kt)("td",{parentName:"tr",align:null},"zh-hant/shortcodes/cldr-native.json"),(0,i.kt)("td",{parentName:"tr",align:"right"},"132.12 kB"),(0,i.kt)("td",{parentName:"tr",align:"right"},"26.37 kB")),(0,i.kt)("tr",{parentName:"tbody"},(0,i.kt)("td",{parentName:"tr",align:null},"zh/shortcodes/cldr-native.json"),(0,i.kt)("td",{parentName:"tr",align:"right"},"135.28 kB"),(0,i.kt)("td",{parentName:"tr",align:"right"},"26.75 kB")),(0,i.kt)("tr",{parentName:"tbody"},(0,i.kt)("td",{parentName:"tr",align:null},"sv/shortcodes/emojibase.json"),(0,i.kt)("td",{parentName:"tr",align:"right"},"137.61 kB"),(0,i.kt)("td",{parentName:"tr",align:"right"},"27.45 kB")),(0,i.kt)("tr",{parentName:"tbody"},(0,i.kt)("td",{parentName:"tr",align:null},"hu/shortcodes/cldr.json"),(0,i.kt)("td",{parentName:"tr",align:"right"},"138.47 kB"),(0,i.kt)("td",{parentName:"tr",align:"right"},"26.67 kB")),(0,i.kt)("tr",{parentName:"tbody"},(0,i.kt)("td",{parentName:"tr",align:null},"hu/shortcodes/cldr-native.json"),(0,i.kt)("td",{parentName:"tr",align:"right"},"138.6 kB"),(0,i.kt)("td",{parentName:"tr",align:"right"},"24.86 kB")),(0,i.kt)("tr",{parentName:"tbody"},(0,i.kt)("td",{parentName:"tr",align:null},"ja/shortcodes/cldr.json"),(0,i.kt)("td",{parentName:"tr",align:"right"},"139.03 kB"),(0,i.kt)("td",{parentName:"tr",align:"right"},"25.45 kB")),(0,i.kt)("tr",{parentName:"tbody"},(0,i.kt)("td",{parentName:"tr",align:null},"en/shortcodes/cldr.json"),(0,i.kt)("td",{parentName:"tr",align:"right"},"139.66 kB"),(0,i.kt)("td",{parentName:"tr",align:"right"},"26.14 kB")),(0,i.kt)("tr",{parentName:"tbody"},(0,i.kt)("td",{parentName:"tr",align:null},"en-gb/shortcodes/cldr.json"),(0,i.kt)("td",{parentName:"tr",align:"right"},"139.66 kB"),(0,i.kt)("td",{parentName:"tr",align:"right"},"26.14 kB")),(0,i.kt)("tr",{parentName:"tbody"},(0,i.kt)("td",{parentName:"tr",align:null},"zh-hant/shortcodes/cldr.json"),(0,i.kt)("td",{parentName:"tr",align:"right"},"140.96 kB"),(0,i.kt)("td",{parentName:"tr",align:"right"},"24.4 kB")),(0,i.kt)("tr",{parentName:"tbody"},(0,i.kt)("td",{parentName:"tr",align:null},"nb/shortcodes/cldr.json"),(0,i.kt)("td",{parentName:"tr",align:"right"},"141.93 kB"),(0,i.kt)("td",{parentName:"tr",align:"right"},"26.08 kB")),(0,i.kt)("tr",{parentName:"tbody"},(0,i.kt)("td",{parentName:"tr",align:null},"th/shortcodes/cldr.json"),(0,i.kt)("td",{parentName:"tr",align:"right"},"142.09 kB"),(0,i.kt)("td",{parentName:"tr",align:"right"},"26.38 kB")),(0,i.kt)("tr",{parentName:"tbody"},(0,i.kt)("td",{parentName:"tr",align:null},"sv/shortcodes/cldr.json"),(0,i.kt)("td",{parentName:"tr",align:"right"},"142.43 kB"),(0,i.kt)("td",{parentName:"tr",align:"right"},"26.47 kB")),(0,i.kt)("tr",{parentName:"tbody"},(0,i.kt)("td",{parentName:"tr",align:null},"et/shortcodes/cldr.json"),(0,i.kt)("td",{parentName:"tr",align:"right"},"142.76 kB"),(0,i.kt)("td",{parentName:"tr",align:"right"},"26.43 kB")),(0,i.kt)("tr",{parentName:"tbody"},(0,i.kt)("td",{parentName:"tr",align:null},"da/shortcodes/cldr.json"),(0,i.kt)("td",{parentName:"tr",align:"right"},"143.09 kB"),(0,i.kt)("td",{parentName:"tr",align:"right"},"26.15 kB")),(0,i.kt)("tr",{parentName:"tbody"},(0,i.kt)("td",{parentName:"tr",align:null},"fi/shortcodes/cldr.json"),(0,i.kt)("td",{parentName:"tr",align:"right"},"144.43 kB"),(0,i.kt)("td",{parentName:"tr",align:"right"},"26.77 kB")),(0,i.kt)("tr",{parentName:"tbody"},(0,i.kt)("td",{parentName:"tr",align:null},"nl/shortcodes/cldr.json"),(0,i.kt)("td",{parentName:"tr",align:"right"},"147.05 kB"),(0,i.kt)("td",{parentName:"tr",align:"right"},"26.84 kB")),(0,i.kt)("tr",{parentName:"tbody"},(0,i.kt)("td",{parentName:"tr",align:null},"zh/shortcodes/cldr.json"),(0,i.kt)("td",{parentName:"tr",align:"right"},"147.37 kB"),(0,i.kt)("td",{parentName:"tr",align:"right"},"24.83 kB")),(0,i.kt)("tr",{parentName:"tbody"},(0,i.kt)("td",{parentName:"tr",align:null},"ru/shortcodes/cldr.json"),(0,i.kt)("td",{parentName:"tr",align:"right"},"147.76 kB"),(0,i.kt)("td",{parentName:"tr",align:"right"},"27.41 kB")),(0,i.kt)("tr",{parentName:"tbody"},(0,i.kt)("td",{parentName:"tr",align:null},"pt/shortcodes/cldr.json"),(0,i.kt)("td",{parentName:"tr",align:"right"},"147.81 kB"),(0,i.kt)("td",{parentName:"tr",align:"right"},"27.03 kB")),(0,i.kt)("tr",{parentName:"tbody"},(0,i.kt)("td",{parentName:"tr",align:null},"de/shortcodes/cldr.json"),(0,i.kt)("td",{parentName:"tr",align:"right"},"148.09 kB"),(0,i.kt)("td",{parentName:"tr",align:"right"},"27.02 kB")),(0,i.kt)("tr",{parentName:"tbody"},(0,i.kt)("td",{parentName:"tr",align:null},"ja/shortcodes/cldr-native.json"),(0,i.kt)("td",{parentName:"tr",align:"right"},"148.39 kB"),(0,i.kt)("td",{parentName:"tr",align:"right"},"27.98 kB")),(0,i.kt)("tr",{parentName:"tbody"},(0,i.kt)("td",{parentName:"tr",align:null},"en-gb/shortcodes/emojibase.json"),(0,i.kt)("td",{parentName:"tr",align:"right"},"148.6 kB"),(0,i.kt)("td",{parentName:"tr",align:"right"},"29.3 kB")),(0,i.kt)("tr",{parentName:"tbody"},(0,i.kt)("td",{parentName:"tr",align:null},"en/shortcodes/emojibase.json"),(0,i.kt)("td",{parentName:"tr",align:"right"},"149.51 kB"),(0,i.kt)("td",{parentName:"tr",align:"right"},"29.52 kB")),(0,i.kt)("tr",{parentName:"tbody"},(0,i.kt)("td",{parentName:"tr",align:null},"da/shortcodes/emojibase.json"),(0,i.kt)("td",{parentName:"tr",align:"right"},"150.69 kB"),(0,i.kt)("td",{parentName:"tr",align:"right"},"30.24 kB")),(0,i.kt)("tr",{parentName:"tbody"},(0,i.kt)("td",{parentName:"tr",align:null},"bn/shortcodes/cldr.json"),(0,i.kt)("td",{parentName:"tr",align:"right"},"150.97 kB"),(0,i.kt)("td",{parentName:"tr",align:"right"},"27.69 kB")),(0,i.kt)("tr",{parentName:"tbody"},(0,i.kt)("td",{parentName:"tr",align:null},"hi/shortcodes/cldr.json"),(0,i.kt)("td",{parentName:"tr",align:"right"},"153.73 kB"),(0,i.kt)("td",{parentName:"tr",align:"right"},"28.42 kB")),(0,i.kt)("tr",{parentName:"tbody"},(0,i.kt)("td",{parentName:"tr",align:null},"ms/shortcodes/cldr.json"),(0,i.kt)("td",{parentName:"tr",align:"right"},"154.59 kB"),(0,i.kt)("td",{parentName:"tr",align:"right"},"27.13 kB")),(0,i.kt)("tr",{parentName:"tbody"},(0,i.kt)("td",{parentName:"tr",align:null},"lt/shortcodes/cldr.json"),(0,i.kt)("td",{parentName:"tr",align:"right"},"154.8 kB"),(0,i.kt)("td",{parentName:"tr",align:"right"},"27.92 kB")),(0,i.kt)("tr",{parentName:"tbody"},(0,i.kt)("td",{parentName:"tr",align:null},"pl/shortcodes/cldr.json"),(0,i.kt)("td",{parentName:"tr",align:"right"},"154.82 kB"),(0,i.kt)("td",{parentName:"tr",align:"right"},"27.99 kB")),(0,i.kt)("tr",{parentName:"tbody"},(0,i.kt)("td",{parentName:"tr",align:null},"ko/shortcodes/cldr-native.json"),(0,i.kt)("td",{parentName:"tr",align:"right"},"155.07 kB"),(0,i.kt)("td",{parentName:"tr",align:"right"},"28.43 kB")),(0,i.kt)("tr",{parentName:"tbody"},(0,i.kt)("td",{parentName:"tr",align:null},"ko/shortcodes/cldr.json"),(0,i.kt)("td",{parentName:"tr",align:"right"},"155.24 kB"),(0,i.kt)("td",{parentName:"tr",align:"right"},"26.67 kB")),(0,i.kt)("tr",{parentName:"tbody"},(0,i.kt)("td",{parentName:"tr",align:null},"es-mx/shortcodes/cldr.json"),(0,i.kt)("td",{parentName:"tr",align:"right"},"155.5 kB"),(0,i.kt)("td",{parentName:"tr",align:"right"},"27.38 kB")),(0,i.kt)("tr",{parentName:"tbody"},(0,i.kt)("td",{parentName:"tr",align:null},"it/shortcodes/cldr.json"),(0,i.kt)("td",{parentName:"tr",align:"right"},"155.76 kB"),(0,i.kt)("td",{parentName:"tr",align:"right"},"27.67 kB")),(0,i.kt)("tr",{parentName:"tbody"},(0,i.kt)("td",{parentName:"tr",align:null},"fr/shortcodes/cldr.json"),(0,i.kt)("td",{parentName:"tr",align:"right"},"155.83 kB"),(0,i.kt)("td",{parentName:"tr",align:"right"},"27.38 kB")),(0,i.kt)("tr",{parentName:"tbody"},(0,i.kt)("td",{parentName:"tr",align:null},"es/shortcodes/cldr.json"),(0,i.kt)("td",{parentName:"tr",align:"right"},"155.91 kB"),(0,i.kt)("td",{parentName:"tr",align:"right"},"27.36 kB")),(0,i.kt)("tr",{parentName:"tbody"},(0,i.kt)("td",{parentName:"tr",align:null},"uk/shortcodes/cldr.json"),(0,i.kt)("td",{parentName:"tr",align:"right"},"162.67 kB"),(0,i.kt)("td",{parentName:"tr",align:"right"},"28.79 kB")),(0,i.kt)("tr",{parentName:"tbody"},(0,i.kt)("td",{parentName:"tr",align:null},"ru/shortcodes/cldr-native.json"),(0,i.kt)("td",{parentName:"tr",align:"right"},"197.39 kB"),(0,i.kt)("td",{parentName:"tr",align:"right"},"30.16 kB")),(0,i.kt)("tr",{parentName:"tbody"},(0,i.kt)("td",{parentName:"tr",align:null},"en/shortcodes/joypixels.json"),(0,i.kt)("td",{parentName:"tr",align:"right"},"207.8 kB"),(0,i.kt)("td",{parentName:"tr",align:"right"},"33.35 kB")),(0,i.kt)("tr",{parentName:"tbody"},(0,i.kt)("td",{parentName:"tr",align:null},"th/shortcodes/cldr-native.json"),(0,i.kt)("td",{parentName:"tr",align:"right"},"221.23 kB"),(0,i.kt)("td",{parentName:"tr",align:"right"},"30.44 kB")),(0,i.kt)("tr",{parentName:"tbody"},(0,i.kt)("td",{parentName:"tr",align:null},"uk/shortcodes/cldr-native.json"),(0,i.kt)("td",{parentName:"tr",align:"right"},"223.98 kB"),(0,i.kt)("td",{parentName:"tr",align:"right"},"32.08 kB")),(0,i.kt)("tr",{parentName:"tbody"},(0,i.kt)("td",{parentName:"tr",align:null},"hi/shortcodes/cldr-native.json"),(0,i.kt)("td",{parentName:"tr",align:"right"},"251.03 kB"),(0,i.kt)("td",{parentName:"tr",align:"right"},"32.39 kB")),(0,i.kt)("tr",{parentName:"tbody"},(0,i.kt)("td",{parentName:"tr",align:null},"bn/shortcodes/cldr-native.json"),(0,i.kt)("td",{parentName:"tr",align:"right"},"261.02 kB"),(0,i.kt)("td",{parentName:"tr",align:"right"},"31.61 kB"))))),(0,i.kt)(o.Z,{value:"messages",mdxType:"TabItem"},(0,i.kt)("table",null,(0,i.kt)("thead",{parentName:"table"},(0,i.kt)("tr",{parentName:"thead"},(0,i.kt)("th",{parentName:"tr",align:null},"File"),(0,i.kt)("th",{parentName:"tr",align:"right"},"Size"),(0,i.kt)("th",{parentName:"tr",align:"right"},"Gzipped"))),(0,i.kt)("tbody",{parentName:"table"},(0,i.kt)("tr",{parentName:"tbody"},(0,i.kt)("td",{parentName:"tr",align:null},"zh/messages.json"),(0,i.kt)("td",{parentName:"tr",align:"right"},"6.16 kB"),(0,i.kt)("td",{parentName:"tr",align:"right"},"1.91 kB")),(0,i.kt)("tr",{parentName:"tbody"},(0,i.kt)("td",{parentName:"tr",align:null},"zh-hant/messages.json"),(0,i.kt)("td",{parentName:"tr",align:"right"},"6.16 kB"),(0,i.kt)("td",{parentName:"tr",align:"right"},"1.91 kB")),(0,i.kt)("tr",{parentName:"tbody"},(0,i.kt)("td",{parentName:"tr",align:null},"en/messages.json"),(0,i.kt)("td",{parentName:"tr",align:"right"},"6.45 kB"),(0,i.kt)("td",{parentName:"tr",align:"right"},"1.59 kB")),(0,i.kt)("tr",{parentName:"tbody"},(0,i.kt)("td",{parentName:"tr",align:null},"en-gb/messages.json"),(0,i.kt)("td",{parentName:"tr",align:"right"},"6.46 kB"),(0,i.kt)("td",{parentName:"tr",align:"right"},"1.6 kB")),(0,i.kt)("tr",{parentName:"tbody"},(0,i.kt)("td",{parentName:"tr",align:null},"da/messages.json"),(0,i.kt)("td",{parentName:"tr",align:"right"},"6.46 kB"),(0,i.kt)("td",{parentName:"tr",align:"right"},"1.79 kB")),(0,i.kt)("tr",{parentName:"tbody"},(0,i.kt)("td",{parentName:"tr",align:null},"sv/messages.json"),(0,i.kt)("td",{parentName:"tr",align:"right"},"6.47 kB"),(0,i.kt)("td",{parentName:"tr",align:"right"},"1.81 kB")),(0,i.kt)("tr",{parentName:"tbody"},(0,i.kt)("td",{parentName:"tr",align:null},"ms/messages.json"),(0,i.kt)("td",{parentName:"tr",align:"right"},"6.5 kB"),(0,i.kt)("td",{parentName:"tr",align:"right"},"1.82 kB")),(0,i.kt)("tr",{parentName:"tbody"},(0,i.kt)("td",{parentName:"tr",align:null},"nb/messages.json"),(0,i.kt)("td",{parentName:"tr",align:"right"},"6.51 kB"),(0,i.kt)("td",{parentName:"tr",align:"right"},"1.81 kB")),(0,i.kt)("tr",{parentName:"tbody"},(0,i.kt)("td",{parentName:"tr",align:null},"ko/messages.json"),(0,i.kt)("td",{parentName:"tr",align:"right"},"6.53 kB"),(0,i.kt)("td",{parentName:"tr",align:"right"},"2.07 kB")),(0,i.kt)("tr",{parentName:"tbody"},(0,i.kt)("td",{parentName:"tr",align:null},"et/messages.json"),(0,i.kt)("td",{parentName:"tr",align:"right"},"6.56 kB"),(0,i.kt)("td",{parentName:"tr",align:"right"},"1.86 kB")),(0,i.kt)("tr",{parentName:"tbody"},(0,i.kt)("td",{parentName:"tr",align:null},"nl/messages.json"),(0,i.kt)("td",{parentName:"tr",align:"right"},"6.59 kB"),(0,i.kt)("td",{parentName:"tr",align:"right"},"1.83 kB")),(0,i.kt)("tr",{parentName:"tbody"},(0,i.kt)("td",{parentName:"tr",align:null},"de/messages.json"),(0,i.kt)("td",{parentName:"tr",align:"right"},"6.6 kB"),(0,i.kt)("td",{parentName:"tr",align:"right"},"1.91 kB")),(0,i.kt)("tr",{parentName:"tbody"},(0,i.kt)("td",{parentName:"tr",align:null},"it/messages.json"),(0,i.kt)("td",{parentName:"tr",align:"right"},"6.61 kB"),(0,i.kt)("td",{parentName:"tr",align:"right"},"1.84 kB")),(0,i.kt)("tr",{parentName:"tbody"},(0,i.kt)("td",{parentName:"tr",align:null},"fi/messages.json"),(0,i.kt)("td",{parentName:"tr",align:"right"},"6.61 kB"),(0,i.kt)("td",{parentName:"tr",align:"right"},"1.9 kB")),(0,i.kt)("tr",{parentName:"tbody"},(0,i.kt)("td",{parentName:"tr",align:null},"pl/messages.json"),(0,i.kt)("td",{parentName:"tr",align:"right"},"6.62 kB"),(0,i.kt)("td",{parentName:"tr",align:"right"},"1.99 kB")),(0,i.kt)("tr",{parentName:"tbody"},(0,i.kt)("td",{parentName:"tr",align:null},"pt/messages.json"),(0,i.kt)("td",{parentName:"tr",align:"right"},"6.69 kB"),(0,i.kt)("td",{parentName:"tr",align:"right"},"1.91 kB")),(0,i.kt)("tr",{parentName:"tbody"},(0,i.kt)("td",{parentName:"tr",align:null},"es-mx/messages.json"),(0,i.kt)("td",{parentName:"tr",align:"right"},"6.72 kB"),(0,i.kt)("td",{parentName:"tr",align:"right"},"1.91 kB")),(0,i.kt)("tr",{parentName:"tbody"},(0,i.kt)("td",{parentName:"tr",align:null},"es/messages.json"),(0,i.kt)("td",{parentName:"tr",align:"right"},"6.72 kB"),(0,i.kt)("td",{parentName:"tr",align:"right"},"1.91 kB")),(0,i.kt)("tr",{parentName:"tbody"},(0,i.kt)("td",{parentName:"tr",align:null},"ja/messages.json"),(0,i.kt)("td",{parentName:"tr",align:"right"},"6.73 kB"),(0,i.kt)("td",{parentName:"tr",align:"right"},"2.21 kB")),(0,i.kt)("tr",{parentName:"tbody"},(0,i.kt)("td",{parentName:"tr",align:null},"fr/messages.json"),(0,i.kt)("td",{parentName:"tr",align:"right"},"6.74 kB"),(0,i.kt)("td",{parentName:"tr",align:"right"},"1.92 kB")),(0,i.kt)("tr",{parentName:"tbody"},(0,i.kt)("td",{parentName:"tr",align:null},"hu/messages.json"),(0,i.kt)("td",{parentName:"tr",align:"right"},"6.76 kB"),(0,i.kt)("td",{parentName:"tr",align:"right"},"2 kB")),(0,i.kt)("tr",{parentName:"tbody"},(0,i.kt)("td",{parentName:"tr",align:null},"lt/messages.json"),(0,i.kt)("td",{parentName:"tr",align:"right"},"6.8 kB"),(0,i.kt)("td",{parentName:"tr",align:"right"},"1.97 kB")),(0,i.kt)("tr",{parentName:"tbody"},(0,i.kt)("td",{parentName:"tr",align:null},"ru/messages.json"),(0,i.kt)("td",{parentName:"tr",align:"right"},"7.79 kB"),(0,i.kt)("td",{parentName:"tr",align:"right"},"2.31 kB")),(0,i.kt)("tr",{parentName:"tbody"},(0,i.kt)("td",{parentName:"tr",align:null},"uk/messages.json"),(0,i.kt)("td",{parentName:"tr",align:"right"},"7.86 kB"),(0,i.kt)("td",{parentName:"tr",align:"right"},"2.35 kB")),(0,i.kt)("tr",{parentName:"tbody"},(0,i.kt)("td",{parentName:"tr",align:null},"hi/messages.json"),(0,i.kt)("td",{parentName:"tr",align:"right"},"8.46 kB"),(0,i.kt)("td",{parentName:"tr",align:"right"},"2.29 kB")),(0,i.kt)("tr",{parentName:"tbody"},(0,i.kt)("td",{parentName:"tr",align:null},"bn/messages.json"),(0,i.kt)("td",{parentName:"tr",align:"right"},"8.6 kB"),(0,i.kt)("td",{parentName:"tr",align:"right"},"2.31 kB")),(0,i.kt)("tr",{parentName:"tbody"},(0,i.kt)("td",{parentName:"tr",align:null},"th/messages.json"),(0,i.kt)("td",{parentName:"tr",align:"right"},"9.05 kB"),(0,i.kt)("td",{parentName:"tr",align:"right"},"2.4 kB"))))),(0,i.kt)(o.Z,{value:"other",mdxType:"TabItem"},(0,i.kt)("table",null,(0,i.kt)("thead",{parentName:"table"},(0,i.kt)("tr",{parentName:"thead"},(0,i.kt)("th",{parentName:"tr",align:null},"File"),(0,i.kt)("th",{parentName:"tr",align:"right"},"Size"),(0,i.kt)("th",{parentName:"tr",align:"right"},"Gzipped"))),(0,i.kt)("tbody",{parentName:"table"},(0,i.kt)("tr",{parentName:"tbody"},(0,i.kt)("td",{parentName:"tr",align:null},"meta/groups.json"),(0,i.kt)("td",{parentName:"tr",align:"right"},"3.9 kB"),(0,i.kt)("td",{parentName:"tr",align:"right"},"1.26 kB")),(0,i.kt)("tr",{parentName:"tbody"},(0,i.kt)("td",{parentName:"tr",align:null},"meta/unicode.json"),(0,i.kt)("td",{parentName:"tr",align:"right"},"68.74 kB"),(0,i.kt)("td",{parentName:"tr",align:"right"},"12.12 kB")),(0,i.kt)("tr",{parentName:"tbody"},(0,i.kt)("td",{parentName:"tr",align:null},"versions/unicode.json"),(0,i.kt)("td",{parentName:"tr",align:"right"},"89.95 kB"),(0,i.kt)("td",{parentName:"tr",align:"right"},"11.54 kB")),(0,i.kt)("tr",{parentName:"tbody"},(0,i.kt)("td",{parentName:"tr",align:null},"versions/emoji.json"),(0,i.kt)("td",{parentName:"tr",align:"right"},"89.99 kB"),(0,i.kt)("td",{parentName:"tr",align:"right"},"11.65 kB")),(0,i.kt)("tr",{parentName:"tbody"},(0,i.kt)("td",{parentName:"tr",align:null},"meta/unicode-names.json"),(0,i.kt)("td",{parentName:"tr",align:"right"},"223.66 kB"),(0,i.kt)("td",{parentName:"tr",align:"right"},"27.88 kB")),(0,i.kt)("tr",{parentName:"tbody"},(0,i.kt)("td",{parentName:"tr",align:null},"meta/hexcodes.json"),(0,i.kt)("td",{parentName:"tr",align:"right"},"239.23 kB"),(0,i.kt)("td",{parentName:"tr",align:"right"},"27.06 kB")))))))}h.isMDXComponent=!0}}]); \ No newline at end of file diff --git a/assets/js/46d74525.a4ebbe64.js b/assets/js/46d74525.a4ebbe64.js new file mode 100644 index 00000000..6892bcc4 --- /dev/null +++ b/assets/js/46d74525.a4ebbe64.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[85],{5318:function(t,e,a){a.d(e,{Zo:function(){return k},kt:function(){return g}});var n=a(7378);function r(t,e,a){return e in t?Object.defineProperty(t,e,{value:a,enumerable:!0,configurable:!0,writable:!0}):t[e]=a,t}function i(t,e){var a=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),a.push.apply(a,n)}return a}function l(t){for(var e=1;e=0||(r[a]=t[a]);return r}(t,e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(t,a)&&(r[a]=t[a])}return r}var d=n.createContext({}),m=function(t){var e=n.useContext(d),a=e;return t&&(a="function"==typeof t?t(e):l(l({},e),t)),a},k=function(t){var e=m(t.components);return n.createElement(d.Provider,{value:e},t.children)},p={inlineCode:"code",wrapper:function(t){var e=t.children;return n.createElement(n.Fragment,{},e)}},s=n.forwardRef((function(t,e){var a=t.components,r=t.mdxType,i=t.originalType,d=t.parentName,k=o(t,["components","mdxType","originalType","parentName"]),s=m(a),g=r,N=s["".concat(d,".").concat(g)]||s[g]||p[g]||i;return a?n.createElement(N,l(l({ref:e},k),{},{components:a})):n.createElement(N,l({ref:e},k))}));function g(t,e){var a=arguments,r=e&&e.mdxType;if("string"==typeof t||r){var i=a.length,l=new Array(i);l[0]=s;var o={};for(var d in e)hasOwnProperty.call(e,d)&&(o[d]=e[d]);o.originalType=t,o.mdxType="string"==typeof t?t:r,l[1]=o;for(var m=2;m child <"+("string"==typeof t.type?t.type:t.type.name)+'>: all children of the component should be , and every should have a unique "value" prop.')})))?void 0:a.filter(Boolean))?e:[]}(t).map((function(t){var e=t.props;return{value:e.value,label:e.label,attributes:e.attributes,default:e.default}}))}function m(t){var e=t.values,a=t.children;return(0,n.useMemo)((function(){var t=null!=e?e:d(a);return function(t){var e=(0,l.l)(t,(function(t,e){return t.value===e.value}));if(e.length>0)throw new Error('Docusaurus error: Duplicate values "'+e.map((function(t){return t.value})).join(", ")+'" found in . Every value needs to be unique.')}(t),t}),[e,a])}function k(t){var e=t.value;return t.tabValues.some((function(t){return t.value===e}))}function p(t){var e=t.queryString,a=void 0!==e&&e,l=t.groupId,o=(0,r.k6)(),d=function(t){var e=t.queryString,a=void 0!==e&&e,n=t.groupId;if("string"==typeof a)return a;if(!1===a)return null;if(!0===a&&!n)throw new Error('Docusaurus error: The component groupId prop is required if queryString=true, because this value is used as the search param name. You can also provide an explicit value such as queryString="my-search-param".');return null!=n?n:null}({queryString:a,groupId:l});return[(0,i._X)(d),(0,n.useCallback)((function(t){if(d){var e=new URLSearchParams(o.location.search);e.set(d,t),o.replace(Object.assign({},o.location,{search:e.toString()}))}}),[d,o])]}function s(t){var e,a,r,i,l=t.defaultValue,d=t.queryString,s=void 0!==d&&d,g=t.groupId,N=m(t),h=(0,n.useState)((function(){return function(t){var e,a=t.defaultValue,n=t.tabValues;if(0===n.length)throw new Error("Docusaurus error: the component requires at least one children component");if(a){if(!k({value:a,tabValues:n}))throw new Error('Docusaurus error: The has a defaultValue "'+a+'" but none of its children has the corresponding value. Available values are: '+n.map((function(t){return t.value})).join(", ")+". If you intend to show no default tab, use defaultValue={null} instead.");return a}var r=null!=(e=n.find((function(t){return t.default})))?e:n[0];if(!r)throw new Error("Unexpected error: 0 tabValues");return r.value}({defaultValue:l,tabValues:N})})),u=h[0],c=h[1],b=p({queryString:s,groupId:g}),B=b[0],f=b[1],j=(e=function(t){return t?"docusaurus.tab."+t:null}({groupId:g}.groupId),a=(0,o.Nk)(e),r=a[0],i=a[1],[r,(0,n.useCallback)((function(t){e&&i.set(t)}),[e,i])]),y=j[0],v=j[1],C=function(){var t=null!=B?B:y;return k({value:t,tabValues:N})?t:null}();return(0,n.useLayoutEffect)((function(){C&&c(C)}),[C]),{selectedValue:u,selectValue:(0,n.useCallback)((function(t){if(!k({value:t,tabValues:N}))throw new Error("Can't select invalid tab value="+t);c(t),f(t),v(t)}),[f,v,N]),tabValues:N}}},3019:function(t,e,a){a.r(e),a.d(e,{assets:function(){return s},contentTitle:function(){return k},default:function(){return h},frontMatter:function(){return m},metadata:function(){return p},toc:function(){return g}});var n=a(5773),r=a(808),i=(a(7378),a(5318)),l=a(3337),o=a(9798),d=["components"],m={title:"Datasets"},k=void 0,p={unversionedId:"datasets",id:"datasets",title:"Datasets",description:"Emoji's are generated into JSON files called datasets, with each dataset being grouped into one of",source:"@site/docs/datasets.mdx",sourceDirName:".",slug:"/datasets",permalink:"/docs/datasets",draft:!1,editUrl:"https://github.com/milesj/emojibase/edit/master/website/docs/datasets.mdx",tags:[],version:"current",frontMatter:{title:"Datasets"},sidebar:"docs",previous:{title:"Introduction",permalink:"/docs/"},next:{title:"Regex patterns",permalink:"/docs/regex"}},s={},g=[{value:"Usage",id:"usage",level:2},{value:"Data structure",id:"data-structure",level:2},{value:"Compact format",id:"compact-format",level:3},{value:"Messages format",id:"messages-format",level:3},{value:"Fetching from a CDN",id:"fetching-from-a-cdn",level:2},{value:"Fetching from your own CDN",id:"fetching-from-your-own-cdn",level:2},{value:"Supported locales",id:"supported-locales",level:2},{value:"Filesizes",id:"filesizes",level:2}],N={toc:g};function h(t){var e=t.components,a=(0,r.Z)(t,d);return(0,i.kt)("wrapper",(0,n.Z)({},N,a,{components:e,mdxType:"MDXLayout"}),(0,i.kt)("p",null,"Emoji's are generated into JSON files called datasets, with each dataset being grouped into one of\nthe following: localized data, versioned data, and metadata. These datasets can be found within the\n",(0,i.kt)("inlineCode",{parentName:"p"},"emojibase-data")," package, or ",(0,i.kt)("a",{parentName:"p",href:"#fetching-from-a-cdn"},"loaded from a CDN"),"."),(0,i.kt)(l.Z,{groupId:"package-manager",defaultValue:"yarn",values:[{label:"Yarn",value:"yarn"},{label:"NPM",value:"npm"}],mdxType:"Tabs"},(0,i.kt)(o.Z,{value:"yarn",mdxType:"TabItem"},(0,i.kt)("pre",null,(0,i.kt)("code",{parentName:"pre",className:"language-bash"},"yarn add emojibase-data\n"))),(0,i.kt)(o.Z,{value:"npm",mdxType:"TabItem"},(0,i.kt)("pre",null,(0,i.kt)("code",{parentName:"pre",className:"language-bash"},"npm install emojibase-data\n")))),(0,i.kt)("blockquote",null,(0,i.kt)("p",{parentName:"blockquote"},"JSON files will need to be parsed manually unless handled by a build/bundle process.")),(0,i.kt)("h2",{id:"usage"},"Usage"),(0,i.kt)("p",null,"As stated, there are 3 groups of datasets, each serving a specific purpose. The first group,\nlocalized data, is exactly that, datasets with localization provided by ",(0,i.kt)("a",{parentName:"p",href:"http://cldr.unicode.org/index/downloads/cldr-42"},"CLDR"),"\n(",(0,i.kt)("a",{parentName:"p",href:"#supported-locales"},"view supported locales"),"). These datasets return an array of emoji objects that\nadhere to the defined ",(0,i.kt)("a",{parentName:"p",href:"#data-structure"},"data structure"),"."),(0,i.kt)("pre",null,(0,i.kt)("code",{parentName:"pre",className:"language-ts"},"import emojis from 'emojibase-data//data.json';\nimport compactEmojis from 'emojibase-data//compact.json';\nimport groupsSubgroups from 'emojibase-data//messages.json';\n")),(0,i.kt)("p",null,"The second group, versioned data, provides datasets for emoji and Unicode release versions. These\ndatasets return a map, with the key being the version, and the value being an array of emoji\nhexcodes included in the associated release version."),(0,i.kt)("ul",null,(0,i.kt)("li",{parentName:"ul"},(0,i.kt)("inlineCode",{parentName:"li"},"emojibase-data/versions/emoji.json")," - Emoji characters grouped by emoji version."),(0,i.kt)("li",{parentName:"ul"},(0,i.kt)("inlineCode",{parentName:"li"},"emojibase-data/versions/unicode.json")," - Emoji characters grouped by Unicode version.")),(0,i.kt)("pre",null,(0,i.kt)("code",{parentName:"pre",className:"language-ts"},"import unicodeVersions from 'emojibase-data/versions/unicode.json';\n")),(0,i.kt)("p",null,"The third and last group, metadata, provides specialized datasets for unique use cases."),(0,i.kt)("ul",null,(0,i.kt)("li",{parentName:"ul"},(0,i.kt)("inlineCode",{parentName:"li"},"emojibase-data/meta/groups.json")," - A map of non-localized emoji groups (Smileys & People),\nsubgroups (Sky & Weather), and hierarchy, according to the official Unicode data files."),(0,i.kt)("li",{parentName:"ul"},(0,i.kt)("inlineCode",{parentName:"li"},"emojibase-data/meta/hexcodes.json")," - A map of emoji hexcodes (hexadecimal codepoints) to an\nobject of hexcodes with different qualified status: fully qualified, minimally qualified, and\nunqualified."),(0,i.kt)("li",{parentName:"ul"},(0,i.kt)("inlineCode",{parentName:"li"},"emojibase-data/meta/unicode.json")," - An array of all emoji unicode characters, including text and\nemoji presentation characters."),(0,i.kt)("li",{parentName:"ul"},(0,i.kt)("inlineCode",{parentName:"li"},"emojibase-data/meta/unicode-names.json")," - A map of hexcodes to official Unicode names for each\nemoji.")),(0,i.kt)("pre",null,(0,i.kt)("code",{parentName:"pre",className:"language-ts"},"import { groups, subgroups, hierarchy } from 'emojibase-data/meta/groups.json';\n")),(0,i.kt)("h2",{id:"data-structure"},"Data structure"),(0,i.kt)("p",null,"Each emoji character found within the pre-generated datasets are represented by an object composed\nof the properties listed below. In an effort to reduce the overall dataset filesize, most property\nvalues have been implemented using integers,\n",(0,i.kt)("a",{parentName:"p",href:"https://github.com/milesj/emojibase/blob/master/packages/core/src/constants.ts"},"with associated constants"),".\nView the ",(0,i.kt)("a",{parentName:"p",href:"/api/emojibase/interface/Emoji"},(0,i.kt)("inlineCode",{parentName:"a"},"Emoji"))," object for a list of all available fields."),(0,i.kt)("blockquote",null,(0,i.kt)("p",{parentName:"blockquote"},"Not all properties will be found in the emoji object, as properties without an applicable value\nare omitted from the emoji object. This helps to reduce the filesize!")),(0,i.kt)("pre",null,(0,i.kt)("code",{parentName:"pre",className:"language-js"},"{\n annotation: 'man lifting weights',\n emoji: '\ud83c\udfcb\ufe0f\u200d\u2642\ufe0f',\n gender: 1,\n group: 0,\n hexcode: '1F3CB-FE0F-200D-2642-FE0F',\n order: 1518,\n shortcodes: [\n 'man_lifting_weights',\n ],\n subgroup: 0,\n tags: [\n 'weight lifter',\n 'man',\n ],\n type: 1,\n version: 4,\n skins: [\n {\n annotation: 'man lifting weights: light skin tone',\n emoji: '\ud83c\udfcb\ud83c\udffb\u200d\u2642\ufe0f',\n gender: 1,\n group: 0,\n hexcode: '1F3CB-1F3FB-200D-2642-FE0F',\n order: 1522,\n shortcodes: [\n 'man_lifting_weights_tone1',\n ],\n subgroup: 0,\n type: 1,\n tone: 1,\n version: 4,\n },\n // ...\n ],\n},\n")),(0,i.kt)("h3",{id:"compact-format"},"Compact format"),(0,i.kt)("p",null,"While the emoji data is pretty thorough, not all of it may be required, and as such, a compact\ndataset is supported. View the ",(0,i.kt)("a",{parentName:"p",href:"/api/emojibase/interface/CompactEmoji"},(0,i.kt)("inlineCode",{parentName:"a"},"CompactEmoji"))," object for a\nlist of all available fields."),(0,i.kt)("p",null,"To use a compact dataset, replace ",(0,i.kt)("inlineCode",{parentName:"p"},"data.json")," with ",(0,i.kt)("inlineCode",{parentName:"p"},"compact.json"),"."),(0,i.kt)("pre",null,(0,i.kt)("code",{parentName:"pre",className:"language-ts"},"import data from 'emojibase-data/en/compact.json';\n")),(0,i.kt)("pre",null,(0,i.kt)("code",{parentName:"pre",className:"language-js"},"{\n annotation: 'man lifting weights',\n group: 0,\n hexcode: '1F3CB-FE0F-200D-2642-FE0F',\n order: 1518,\n shortcodes: [\n 'man_lifting_weights',\n ],\n tags: [\n 'weight lifter',\n 'man',\n ],\n unicode: '\ud83c\udfcb\ufe0f\u200d\u2642\ufe0f',\n skins: [\n {\n annotation: 'man lifting weights: light skin tone',\n group: 0,\n hexcode: '1F3CB-1F3FB-200D-2642-FE0F',\n order: 1522,\n shortcodes: [\n 'man_lifting_weights_tone1',\n ],\n unicode: '\ud83c\udfcb\ud83c\udffb\u200d\u2642\ufe0f',\n },\n // ...\n ],\n},\n")),(0,i.kt)("h3",{id:"messages-format"},"Messages format"),(0,i.kt)("p",null,"The messages format is a special dataset that provides translations for groups, sub-groups, and any\nother related emoji metadata. The ",(0,i.kt)("inlineCode",{parentName:"p"},"key")," in each message lines up with a defined TypeScript type\nalias."),(0,i.kt)("pre",null,(0,i.kt)("code",{parentName:"pre",className:"language-ts"},"import data from 'emojibase-data/en/messages.json';\n")),(0,i.kt)("pre",null,(0,i.kt)("code",{parentName:"pre",className:"language-js"},"{\n groups: [\n {\n key: 'smileys-emotion',\n message: 'smileys & emotion',\n order: 0,\n },\n // ...\n ],\n subgroups: [\n {\n key: 'face-smiling',\n message: 'smiling',\n order: 0,\n },\n // ...\n ],\n skinTones: [\n {\n key: 'light',\n message: 'light skin tone',\n },\n // ...\n ],\n};\n")),(0,i.kt)("h2",{id:"fetching-from-a-cdn"},"Fetching from a CDN"),(0,i.kt)("p",null,"If you prefer to not inflate your bundle size with these large JSON datasets, you can fetch them\nfrom our CDN (",(0,i.kt)("a",{parentName:"p",href:"https://cdn.jsdelivr.net/npm/emojibase-data@latest/"},"provided by jsdelivr.com"),") using\n",(0,i.kt)("a",{parentName:"p",href:"/api/emojibase/function/fetchFromCDN"},(0,i.kt)("inlineCode",{parentName:"a"},"fetchFromCDN()")),",\n",(0,i.kt)("a",{parentName:"p",href:"/api/emojibase/function/fetchEmojis"},(0,i.kt)("inlineCode",{parentName:"a"},"fetchEmojis()")),", or\n",(0,i.kt)("a",{parentName:"p",href:"/api/emojibase/function/fetchShortcodes"},(0,i.kt)("inlineCode",{parentName:"a"},"fetchShortcodes()")),"."),(0,i.kt)("pre",null,(0,i.kt)("code",{parentName:"pre",className:"language-ts"},"import { fetchFromCDN, fetchEmojis, fetchMessages, fetchShortcodes } from 'emojibase';\n\nconst englishEmojis = await fetchFromCDN('en/data.json', { shortcodes: ['github'] });\nconst japaneseCompactEmojis = await fetchEmojis('ja', { compact: true });\nconst germanCldrShortcodes = await fetchShortcodes('de', 'cldr');\nconst chineseTranslations = await fetchMessages('zh');\n")),(0,i.kt)("h2",{id:"fetching-from-your-own-cdn"},"Fetching from your own CDN"),(0,i.kt)("p",null,"If you want to load the JSON datasets from your own CDN, you can customize the ",(0,i.kt)("inlineCode",{parentName:"p"},"cdnUrl")," using the\noptions object."),(0,i.kt)("p",null,"When ",(0,i.kt)("inlineCode",{parentName:"p"},"cdnUrl")," is a string, ",(0,i.kt)("inlineCode",{parentName:"p"},"fetchFromCDN")," will append ",(0,i.kt)("inlineCode",{parentName:"p"},"'/${path}'")," to the url. Make sure to include\nthe ",(0,i.kt)("inlineCode",{parentName:"p"},"version")," within the ",(0,i.kt)("inlineCode",{parentName:"p"},"cdnUrl")," yourself, it's not added automatically to give you control over\nits placement."),(0,i.kt)("pre",null,(0,i.kt)("code",{parentName:"pre",className:"language-ts"},"import { fetchFromCDN, fetchEmojis, fetchMessages, fetchShortcodes } from 'emojibase';\n\nconst cdnUrl = 'https://example.com/cdn/emojidata/latest';\n\nconst englishEmojis = await fetchFromCDN('en/data.json', { shortcodes: ['github'], cdnUrl });\nconst japaneseCompactEmojis = await fetchEmojis('ja', { compact: true, cdnUrl });\nconst germanCldrShortcodes = await fetchShortcodes('de', 'cldr', { cdnUrl });\nconst chineseTranslations = await fetchMessages('zh', { cdnUrl });\n")),(0,i.kt)("p",null,(0,i.kt)("inlineCode",{parentName:"p"},"cdnUrl")," can also be a function, so you have complete control over the format of the url. This\nfunction receives ",(0,i.kt)("inlineCode",{parentName:"p"},"path")," and ",(0,i.kt)("inlineCode",{parentName:"p"},"version")," as parameters. Version will be what you pass in within the\noptions object, or it will default to ",(0,i.kt)("inlineCode",{parentName:"p"},"latest"),". Note that ",(0,i.kt)("inlineCode",{parentName:"p"},"version")," is also used for the cache key,\nso it's advised to set the option and not hard-code it in the ",(0,i.kt)("inlineCode",{parentName:"p"},"cdnUrl")," function."),(0,i.kt)("pre",null,(0,i.kt)("code",{parentName:"pre",className:"language-ts"},"import { fetchFromCDN, fetchEmojis, fetchMessages, fetchShortcodes } from 'emojibase';\n\nfunction cdnUrl(path: string, version: string): string {\n return `https://example.com/cdn/emojidata/${version}/${path}`;\n}\n\nconst englishEmojis = await fetchFromCDN('en/data.json', { shortcodes: ['github'], cdnUrl });\nconst japaneseCompactEmojis = await fetchEmojis('ja', { compact: true, cdnUrl });\nconst germanCldrShortcodes = await fetchShortcodes('de', 'cldr', { cdnUrl });\nconst chineseTranslations = await fetchMessages('zh', { cdnUrl });\n")),(0,i.kt)("h2",{id:"supported-locales"},"Supported locales"),(0,i.kt)("p",null,"Follow locales are supported for both full and compact datasets."),(0,i.kt)("ul",null,(0,i.kt)("li",{parentName:"ul"},"Bengali (",(0,i.kt)("inlineCode",{parentName:"li"},"bu"),")"),(0,i.kt)("li",{parentName:"ul"},"Chinese (",(0,i.kt)("inlineCode",{parentName:"li"},"zh"),")"),(0,i.kt)("li",{parentName:"ul"},"Chinese, Traditional (",(0,i.kt)("inlineCode",{parentName:"li"},"zh-hant"),")"),(0,i.kt)("li",{parentName:"ul"},"Danish (",(0,i.kt)("inlineCode",{parentName:"li"},"da"),")"),(0,i.kt)("li",{parentName:"ul"},"Dutch (",(0,i.kt)("inlineCode",{parentName:"li"},"nl"),")"),(0,i.kt)("li",{parentName:"ul"},"English (",(0,i.kt)("inlineCode",{parentName:"li"},"en"),")"),(0,i.kt)("li",{parentName:"ul"},"English, Great Britain (",(0,i.kt)("inlineCode",{parentName:"li"},"en-gb"),")"),(0,i.kt)("li",{parentName:"ul"},"Estonian (",(0,i.kt)("inlineCode",{parentName:"li"},"et"),")"),(0,i.kt)("li",{parentName:"ul"},"Finnish (",(0,i.kt)("inlineCode",{parentName:"li"},"fi"),")"),(0,i.kt)("li",{parentName:"ul"},"French (",(0,i.kt)("inlineCode",{parentName:"li"},"fr"),")"),(0,i.kt)("li",{parentName:"ul"},"German (",(0,i.kt)("inlineCode",{parentName:"li"},"de"),")"),(0,i.kt)("li",{parentName:"ul"},"Hindu (",(0,i.kt)("inlineCode",{parentName:"li"},"hi"),")"),(0,i.kt)("li",{parentName:"ul"},"Hungarian (",(0,i.kt)("inlineCode",{parentName:"li"},"hu"),")"),(0,i.kt)("li",{parentName:"ul"},"Italian (",(0,i.kt)("inlineCode",{parentName:"li"},"it"),")"),(0,i.kt)("li",{parentName:"ul"},"Japanese (",(0,i.kt)("inlineCode",{parentName:"li"},"ja"),")"),(0,i.kt)("li",{parentName:"ul"},"Korean (",(0,i.kt)("inlineCode",{parentName:"li"},"ko"),")"),(0,i.kt)("li",{parentName:"ul"},"Lithuanian (",(0,i.kt)("inlineCode",{parentName:"li"},"lt"),")"),(0,i.kt)("li",{parentName:"ul"},"Malay (",(0,i.kt)("inlineCode",{parentName:"li"},"ms"),")"),(0,i.kt)("li",{parentName:"ul"},"Norwegian (",(0,i.kt)("inlineCode",{parentName:"li"},"nb"),")"),(0,i.kt)("li",{parentName:"ul"},"Polish (",(0,i.kt)("inlineCode",{parentName:"li"},"pl"),")"),(0,i.kt)("li",{parentName:"ul"},"Portuguese (",(0,i.kt)("inlineCode",{parentName:"li"},"pt"),")"),(0,i.kt)("li",{parentName:"ul"},"Russian (",(0,i.kt)("inlineCode",{parentName:"li"},"ru"),")"),(0,i.kt)("li",{parentName:"ul"},"Spanish (",(0,i.kt)("inlineCode",{parentName:"li"},"es"),")"),(0,i.kt)("li",{parentName:"ul"},"Spanish, Mexico (",(0,i.kt)("inlineCode",{parentName:"li"},"es-mx"),")"),(0,i.kt)("li",{parentName:"ul"},"Swedish (",(0,i.kt)("inlineCode",{parentName:"li"},"sv"),")"),(0,i.kt)("li",{parentName:"ul"},"Thai (",(0,i.kt)("inlineCode",{parentName:"li"},"th"),")"),(0,i.kt)("li",{parentName:"ul"},"Ukrainian (",(0,i.kt)("inlineCode",{parentName:"li"},"uk"),")")),(0,i.kt)("h2",{id:"filesizes"},"Filesizes"),(0,i.kt)("p",null,"Sorted by original size in ascending order."),(0,i.kt)(l.Z,{groupId:"filesizes",defaultValue:"data",values:[{label:"Emojis",value:"data"},{label:"Emojis (compact)",value:"compact"},{label:"Shortcodes",value:"shortcodes"},{label:"Messages",value:"messages"},{label:"Other",value:"other"}],mdxType:"Tabs"},(0,i.kt)(o.Z,{value:"data",mdxType:"TabItem"},(0,i.kt)("table",null,(0,i.kt)("thead",{parentName:"table"},(0,i.kt)("tr",{parentName:"thead"},(0,i.kt)("th",{parentName:"tr",align:null},"File"),(0,i.kt)("th",{parentName:"tr",align:"right"},"Size"),(0,i.kt)("th",{parentName:"tr",align:"right"},"Gzipped"))),(0,i.kt)("tbody",{parentName:"table"},(0,i.kt)("tr",{parentName:"tbody"},(0,i.kt)("td",{parentName:"tr",align:null},"zh-hant/data.json"),(0,i.kt)("td",{parentName:"tr",align:"right"},"652.4 kB"),(0,i.kt)("td",{parentName:"tr",align:"right"},"74.51 kB")),(0,i.kt)("tr",{parentName:"tbody"},(0,i.kt)("td",{parentName:"tr",align:null},"zh/data.json"),(0,i.kt)("td",{parentName:"tr",align:"right"},"677.53 kB"),(0,i.kt)("td",{parentName:"tr",align:"right"},"81.19 kB")),(0,i.kt)("tr",{parentName:"tbody"},(0,i.kt)("td",{parentName:"tr",align:null},"da/data.json"),(0,i.kt)("td",{parentName:"tr",align:"right"},"693.39 kB"),(0,i.kt)("td",{parentName:"tr",align:"right"},"80.1 kB")),(0,i.kt)("tr",{parentName:"tbody"},(0,i.kt)("td",{parentName:"tr",align:null},"sv/data.json"),(0,i.kt)("td",{parentName:"tr",align:"right"},"694.83 kB"),(0,i.kt)("td",{parentName:"tr",align:"right"},"81.18 kB")),(0,i.kt)("tr",{parentName:"tbody"},(0,i.kt)("td",{parentName:"tr",align:null},"nb/data.json"),(0,i.kt)("td",{parentName:"tr",align:"right"},"696.11 kB"),(0,i.kt)("td",{parentName:"tr",align:"right"},"81.41 kB")),(0,i.kt)("tr",{parentName:"tbody"},(0,i.kt)("td",{parentName:"tr",align:null},"en/data.json"),(0,i.kt)("td",{parentName:"tr",align:"right"},"703.04 kB"),(0,i.kt)("td",{parentName:"tr",align:"right"},"79.88 kB")),(0,i.kt)("tr",{parentName:"tbody"},(0,i.kt)("td",{parentName:"tr",align:null},"en-gb/data.json"),(0,i.kt)("td",{parentName:"tr",align:"right"},"703.06 kB"),(0,i.kt)("td",{parentName:"tr",align:"right"},"79.88 kB")),(0,i.kt)("tr",{parentName:"tbody"},(0,i.kt)("td",{parentName:"tr",align:null},"et/data.json"),(0,i.kt)("td",{parentName:"tr",align:"right"},"708.59 kB"),(0,i.kt)("td",{parentName:"tr",align:"right"},"80.58 kB")),(0,i.kt)("tr",{parentName:"tbody"},(0,i.kt)("td",{parentName:"tr",align:null},"ko/data.json"),(0,i.kt)("td",{parentName:"tr",align:"right"},"712.47 kB"),(0,i.kt)("td",{parentName:"tr",align:"right"},"83.49 kB")),(0,i.kt)("tr",{parentName:"tbody"},(0,i.kt)("td",{parentName:"tr",align:null},"fi/data.json"),(0,i.kt)("td",{parentName:"tr",align:"right"},"713.38 kB"),(0,i.kt)("td",{parentName:"tr",align:"right"},"84.6 kB")),(0,i.kt)("tr",{parentName:"tbody"},(0,i.kt)("td",{parentName:"tr",align:null},"ja/data.json"),(0,i.kt)("td",{parentName:"tr",align:"right"},"717.15 kB"),(0,i.kt)("td",{parentName:"tr",align:"right"},"84.29 kB")),(0,i.kt)("tr",{parentName:"tbody"},(0,i.kt)("td",{parentName:"tr",align:null},"nl/data.json"),(0,i.kt)("td",{parentName:"tr",align:"right"},"717.6 kB"),(0,i.kt)("td",{parentName:"tr",align:"right"},"81.56 kB")),(0,i.kt)("tr",{parentName:"tbody"},(0,i.kt)("td",{parentName:"tr",align:null},"fr/data.json"),(0,i.kt)("td",{parentName:"tr",align:"right"},"718.26 kB"),(0,i.kt)("td",{parentName:"tr",align:"right"},"80.97 kB")),(0,i.kt)("tr",{parentName:"tbody"},(0,i.kt)("td",{parentName:"tr",align:null},"lt/data.json"),(0,i.kt)("td",{parentName:"tr",align:"right"},"720.83 kB"),(0,i.kt)("td",{parentName:"tr",align:"right"},"84.39 kB")),(0,i.kt)("tr",{parentName:"tbody"},(0,i.kt)("td",{parentName:"tr",align:null},"pt/data.json"),(0,i.kt)("td",{parentName:"tr",align:"right"},"721.24 kB"),(0,i.kt)("td",{parentName:"tr",align:"right"},"83.97 kB")),(0,i.kt)("tr",{parentName:"tbody"},(0,i.kt)("td",{parentName:"tr",align:null},"ms/data.json"),(0,i.kt)("td",{parentName:"tr",align:"right"},"729.53 kB"),(0,i.kt)("td",{parentName:"tr",align:"right"},"81.53 kB")),(0,i.kt)("tr",{parentName:"tbody"},(0,i.kt)("td",{parentName:"tr",align:null},"hu/data.json"),(0,i.kt)("td",{parentName:"tr",align:"right"},"731.32 kB"),(0,i.kt)("td",{parentName:"tr",align:"right"},"84.24 kB")),(0,i.kt)("tr",{parentName:"tbody"},(0,i.kt)("td",{parentName:"tr",align:null},"es/data.json"),(0,i.kt)("td",{parentName:"tr",align:"right"},"738.22 kB"),(0,i.kt)("td",{parentName:"tr",align:"right"},"84.2 kB")),(0,i.kt)("tr",{parentName:"tbody"},(0,i.kt)("td",{parentName:"tr",align:null},"pl/data.json"),(0,i.kt)("td",{parentName:"tr",align:"right"},"739.01 kB"),(0,i.kt)("td",{parentName:"tr",align:"right"},"87.87 kB")),(0,i.kt)("tr",{parentName:"tbody"},(0,i.kt)("td",{parentName:"tr",align:null},"es-mx/data.json"),(0,i.kt)("td",{parentName:"tr",align:"right"},"739.11 kB"),(0,i.kt)("td",{parentName:"tr",align:"right"},"84.44 kB")),(0,i.kt)("tr",{parentName:"tbody"},(0,i.kt)("td",{parentName:"tr",align:null},"it/data.json"),(0,i.kt)("td",{parentName:"tr",align:"right"},"742.89 kB"),(0,i.kt)("td",{parentName:"tr",align:"right"},"86.02 kB")),(0,i.kt)("tr",{parentName:"tbody"},(0,i.kt)("td",{parentName:"tr",align:null},"de/data.json"),(0,i.kt)("td",{parentName:"tr",align:"right"},"745.33 kB"),(0,i.kt)("td",{parentName:"tr",align:"right"},"89.42 kB")),(0,i.kt)("tr",{parentName:"tbody"},(0,i.kt)("td",{parentName:"tr",align:null},"ru/data.json"),(0,i.kt)("td",{parentName:"tr",align:"right"},"867.72 kB"),(0,i.kt)("td",{parentName:"tr",align:"right"},"95.25 kB")),(0,i.kt)("tr",{parentName:"tbody"},(0,i.kt)("td",{parentName:"tr",align:null},"th/data.json"),(0,i.kt)("td",{parentName:"tr",align:"right"},"876.41 kB"),(0,i.kt)("td",{parentName:"tr",align:"right"},"84.88 kB")),(0,i.kt)("tr",{parentName:"tbody"},(0,i.kt)("td",{parentName:"tr",align:null},"uk/data.json"),(0,i.kt)("td",{parentName:"tr",align:"right"},"893.5 kB"),(0,i.kt)("td",{parentName:"tr",align:"right"},"95.08 kB")),(0,i.kt)("tr",{parentName:"tbody"},(0,i.kt)("td",{parentName:"tr",align:null},"hi/data.json"),(0,i.kt)("td",{parentName:"tr",align:"right"},"922.76 kB"),(0,i.kt)("td",{parentName:"tr",align:"right"},"91.73 kB")),(0,i.kt)("tr",{parentName:"tbody"},(0,i.kt)("td",{parentName:"tr",align:null},"bn/data.json"),(0,i.kt)("td",{parentName:"tr",align:"right"},"945.98 kB"),(0,i.kt)("td",{parentName:"tr",align:"right"},"89.5 kB"))))),(0,i.kt)(o.Z,{value:"compact",mdxType:"TabItem"},(0,i.kt)("table",null,(0,i.kt)("thead",{parentName:"table"},(0,i.kt)("tr",{parentName:"thead"},(0,i.kt)("th",{parentName:"tr",align:null},"File"),(0,i.kt)("th",{parentName:"tr",align:"right"},"Size"),(0,i.kt)("th",{parentName:"tr",align:"right"},"Gzipped"))),(0,i.kt)("tbody",{parentName:"table"},(0,i.kt)("tr",{parentName:"tbody"},(0,i.kt)("td",{parentName:"tr",align:null},"zh-hant/compact.json"),(0,i.kt)("td",{parentName:"tr",align:"right"},"458.3 kB"),(0,i.kt)("td",{parentName:"tr",align:"right"},"65.51 kB")),(0,i.kt)("tr",{parentName:"tbody"},(0,i.kt)("td",{parentName:"tr",align:null},"zh/compact.json"),(0,i.kt)("td",{parentName:"tr",align:"right"},"483.43 kB"),(0,i.kt)("td",{parentName:"tr",align:"right"},"71.71 kB")),(0,i.kt)("tr",{parentName:"tbody"},(0,i.kt)("td",{parentName:"tr",align:null},"da/compact.json"),(0,i.kt)("td",{parentName:"tr",align:"right"},"499.28 kB"),(0,i.kt)("td",{parentName:"tr",align:"right"},"70.71 kB")),(0,i.kt)("tr",{parentName:"tbody"},(0,i.kt)("td",{parentName:"tr",align:null},"sv/compact.json"),(0,i.kt)("td",{parentName:"tr",align:"right"},"500.73 kB"),(0,i.kt)("td",{parentName:"tr",align:"right"},"71.89 kB")),(0,i.kt)("tr",{parentName:"tbody"},(0,i.kt)("td",{parentName:"tr",align:null},"nb/compact.json"),(0,i.kt)("td",{parentName:"tr",align:"right"},"502.01 kB"),(0,i.kt)("td",{parentName:"tr",align:"right"},"73.37 kB")),(0,i.kt)("tr",{parentName:"tbody"},(0,i.kt)("td",{parentName:"tr",align:null},"en/compact.json"),(0,i.kt)("td",{parentName:"tr",align:"right"},"508.94 kB"),(0,i.kt)("td",{parentName:"tr",align:"right"},"70.85 kB")),(0,i.kt)("tr",{parentName:"tbody"},(0,i.kt)("td",{parentName:"tr",align:null},"en-gb/compact.json"),(0,i.kt)("td",{parentName:"tr",align:"right"},"508.96 kB"),(0,i.kt)("td",{parentName:"tr",align:"right"},"70.86 kB")),(0,i.kt)("tr",{parentName:"tbody"},(0,i.kt)("td",{parentName:"tr",align:null},"et/compact.json"),(0,i.kt)("td",{parentName:"tr",align:"right"},"514.49 kB"),(0,i.kt)("td",{parentName:"tr",align:"right"},"71.39 kB")),(0,i.kt)("tr",{parentName:"tbody"},(0,i.kt)("td",{parentName:"tr",align:null},"ko/compact.json"),(0,i.kt)("td",{parentName:"tr",align:"right"},"518.36 kB"),(0,i.kt)("td",{parentName:"tr",align:"right"},"73.59 kB")),(0,i.kt)("tr",{parentName:"tbody"},(0,i.kt)("td",{parentName:"tr",align:null},"fi/compact.json"),(0,i.kt)("td",{parentName:"tr",align:"right"},"519.28 kB"),(0,i.kt)("td",{parentName:"tr",align:"right"},"74.79 kB")),(0,i.kt)("tr",{parentName:"tbody"},(0,i.kt)("td",{parentName:"tr",align:null},"ja/compact.json"),(0,i.kt)("td",{parentName:"tr",align:"right"},"523.05 kB"),(0,i.kt)("td",{parentName:"tr",align:"right"},"74.26 kB")),(0,i.kt)("tr",{parentName:"tbody"},(0,i.kt)("td",{parentName:"tr",align:null},"nl/compact.json"),(0,i.kt)("td",{parentName:"tr",align:"right"},"523.5 kB"),(0,i.kt)("td",{parentName:"tr",align:"right"},"72.14 kB")),(0,i.kt)("tr",{parentName:"tbody"},(0,i.kt)("td",{parentName:"tr",align:null},"fr/compact.json"),(0,i.kt)("td",{parentName:"tr",align:"right"},"524.16 kB"),(0,i.kt)("td",{parentName:"tr",align:"right"},"71.61 kB")),(0,i.kt)("tr",{parentName:"tbody"},(0,i.kt)("td",{parentName:"tr",align:null},"lt/compact.json"),(0,i.kt)("td",{parentName:"tr",align:"right"},"526.73 kB"),(0,i.kt)("td",{parentName:"tr",align:"right"},"74.62 kB")),(0,i.kt)("tr",{parentName:"tbody"},(0,i.kt)("td",{parentName:"tr",align:null},"pt/compact.json"),(0,i.kt)("td",{parentName:"tr",align:"right"},"527.13 kB"),(0,i.kt)("td",{parentName:"tr",align:"right"},"74.62 kB")),(0,i.kt)("tr",{parentName:"tbody"},(0,i.kt)("td",{parentName:"tr",align:null},"ms/compact.json"),(0,i.kt)("td",{parentName:"tr",align:"right"},"535.42 kB"),(0,i.kt)("td",{parentName:"tr",align:"right"},"72.37 kB")),(0,i.kt)("tr",{parentName:"tbody"},(0,i.kt)("td",{parentName:"tr",align:null},"hu/compact.json"),(0,i.kt)("td",{parentName:"tr",align:"right"},"537.22 kB"),(0,i.kt)("td",{parentName:"tr",align:"right"},"74.42 kB")),(0,i.kt)("tr",{parentName:"tbody"},(0,i.kt)("td",{parentName:"tr",align:null},"es/compact.json"),(0,i.kt)("td",{parentName:"tr",align:"right"},"544.12 kB"),(0,i.kt)("td",{parentName:"tr",align:"right"},"74.88 kB")),(0,i.kt)("tr",{parentName:"tbody"},(0,i.kt)("td",{parentName:"tr",align:null},"pl/compact.json"),(0,i.kt)("td",{parentName:"tr",align:"right"},"544.9 kB"),(0,i.kt)("td",{parentName:"tr",align:"right"},"78.4 kB")),(0,i.kt)("tr",{parentName:"tbody"},(0,i.kt)("td",{parentName:"tr",align:null},"es-mx/compact.json"),(0,i.kt)("td",{parentName:"tr",align:"right"},"545 kB"),(0,i.kt)("td",{parentName:"tr",align:"right"},"75.05 kB")),(0,i.kt)("tr",{parentName:"tbody"},(0,i.kt)("td",{parentName:"tr",align:null},"it/compact.json"),(0,i.kt)("td",{parentName:"tr",align:"right"},"548.79 kB"),(0,i.kt)("td",{parentName:"tr",align:"right"},"76.54 kB")),(0,i.kt)("tr",{parentName:"tbody"},(0,i.kt)("td",{parentName:"tr",align:null},"de/compact.json"),(0,i.kt)("td",{parentName:"tr",align:"right"},"551.23 kB"),(0,i.kt)("td",{parentName:"tr",align:"right"},"79.48 kB")),(0,i.kt)("tr",{parentName:"tbody"},(0,i.kt)("td",{parentName:"tr",align:null},"ru/compact.json"),(0,i.kt)("td",{parentName:"tr",align:"right"},"673.62 kB"),(0,i.kt)("td",{parentName:"tr",align:"right"},"85.24 kB")),(0,i.kt)("tr",{parentName:"tbody"},(0,i.kt)("td",{parentName:"tr",align:null},"th/compact.json"),(0,i.kt)("td",{parentName:"tr",align:"right"},"682.31 kB"),(0,i.kt)("td",{parentName:"tr",align:"right"},"75.31 kB")),(0,i.kt)("tr",{parentName:"tbody"},(0,i.kt)("td",{parentName:"tr",align:null},"uk/compact.json"),(0,i.kt)("td",{parentName:"tr",align:"right"},"699.39 kB"),(0,i.kt)("td",{parentName:"tr",align:"right"},"84.95 kB")),(0,i.kt)("tr",{parentName:"tbody"},(0,i.kt)("td",{parentName:"tr",align:null},"hi/compact.json"),(0,i.kt)("td",{parentName:"tr",align:"right"},"728.66 kB"),(0,i.kt)("td",{parentName:"tr",align:"right"},"81.62 kB")),(0,i.kt)("tr",{parentName:"tbody"},(0,i.kt)("td",{parentName:"tr",align:null},"bn/compact.json"),(0,i.kt)("td",{parentName:"tr",align:"right"},"751.88 kB"),(0,i.kt)("td",{parentName:"tr",align:"right"},"79.55 kB"))))),(0,i.kt)(o.Z,{value:"shortcodes",mdxType:"TabItem"},(0,i.kt)("table",null,(0,i.kt)("thead",{parentName:"table"},(0,i.kt)("tr",{parentName:"thead"},(0,i.kt)("th",{parentName:"tr",align:null},"File"),(0,i.kt)("th",{parentName:"tr",align:"right"},"Size"),(0,i.kt)("th",{parentName:"tr",align:"right"},"Gzipped"))),(0,i.kt)("tbody",{parentName:"table"},(0,i.kt)("tr",{parentName:"tbody"},(0,i.kt)("td",{parentName:"tr",align:null},"fr/shortcodes/emojibase.json"),(0,i.kt)("td",{parentName:"tr",align:"right"},"42 B"),(0,i.kt)("td",{parentName:"tr",align:"right"},"62 B")),(0,i.kt)("tr",{parentName:"tbody"},(0,i.kt)("td",{parentName:"tr",align:null},"en/shortcodes/cldr-native.json"),(0,i.kt)("td",{parentName:"tr",align:"right"},"258 B"),(0,i.kt)("td",{parentName:"tr",align:"right"},"184 B")),(0,i.kt)("tr",{parentName:"tbody"},(0,i.kt)("td",{parentName:"tr",align:null},"en-gb/shortcodes/cldr-native.json"),(0,i.kt)("td",{parentName:"tr",align:"right"},"258 B"),(0,i.kt)("td",{parentName:"tr",align:"right"},"184 B")),(0,i.kt)("tr",{parentName:"tbody"},(0,i.kt)("td",{parentName:"tr",align:null},"zh/shortcodes/emojibase-native.json"),(0,i.kt)("td",{parentName:"tr",align:"right"},"298 B"),(0,i.kt)("td",{parentName:"tr",align:"right"},"202 B")),(0,i.kt)("tr",{parentName:"tbody"},(0,i.kt)("td",{parentName:"tr",align:null},"zh/shortcodes/emojibase.json"),(0,i.kt)("td",{parentName:"tr",align:"right"},"347 B"),(0,i.kt)("td",{parentName:"tr",align:"right"},"186 B")),(0,i.kt)("tr",{parentName:"tbody"},(0,i.kt)("td",{parentName:"tr",align:null},"ja/shortcodes/emojibase.json"),(0,i.kt)("td",{parentName:"tr",align:"right"},"1.02 kB"),(0,i.kt)("td",{parentName:"tr",align:"right"},"472 B")),(0,i.kt)("tr",{parentName:"tbody"},(0,i.kt)("td",{parentName:"tr",align:null},"ja/shortcodes/emojibase-native.json"),(0,i.kt)("td",{parentName:"tr",align:"right"},"1.09 kB"),(0,i.kt)("td",{parentName:"tr",align:"right"},"571 B")),(0,i.kt)("tr",{parentName:"tbody"},(0,i.kt)("td",{parentName:"tr",align:null},"it/shortcodes/cldr-native.json"),(0,i.kt)("td",{parentName:"tr",align:"right"},"1.18 kB"),(0,i.kt)("td",{parentName:"tr",align:"right"},"496 B")),(0,i.kt)("tr",{parentName:"tbody"},(0,i.kt)("td",{parentName:"tr",align:null},"nl/shortcodes/cldr-native.json"),(0,i.kt)("td",{parentName:"tr",align:"right"},"2.39 kB"),(0,i.kt)("td",{parentName:"tr",align:"right"},"725 B")),(0,i.kt)("tr",{parentName:"tbody"},(0,i.kt)("td",{parentName:"tr",align:null},"ru/shortcodes/emojibase.json"),(0,i.kt)("td",{parentName:"tr",align:"right"},"19.23 kB"),(0,i.kt)("td",{parentName:"tr",align:"right"},"5.9 kB")),(0,i.kt)("tr",{parentName:"tbody"},(0,i.kt)("td",{parentName:"tr",align:null},"ru/shortcodes/emojibase-native.json"),(0,i.kt)("td",{parentName:"tr",align:"right"},"25.23 kB"),(0,i.kt)("td",{parentName:"tr",align:"right"},"6.59 kB")),(0,i.kt)("tr",{parentName:"tbody"},(0,i.kt)("td",{parentName:"tr",align:null},"da/shortcodes/emojibase-native.json"),(0,i.kt)("td",{parentName:"tr",align:"right"},"36.68 kB"),(0,i.kt)("td",{parentName:"tr",align:"right"},"6.7 kB")),(0,i.kt)("tr",{parentName:"tbody"},(0,i.kt)("td",{parentName:"tr",align:null},"es/shortcodes/cldr-native.json"),(0,i.kt)("td",{parentName:"tr",align:"right"},"42.67 kB"),(0,i.kt)("td",{parentName:"tr",align:"right"},"8.35 kB")),(0,i.kt)("tr",{parentName:"tbody"},(0,i.kt)("td",{parentName:"tr",align:null},"es-mx/shortcodes/cldr-native.json"),(0,i.kt)("td",{parentName:"tr",align:"right"},"42.71 kB"),(0,i.kt)("td",{parentName:"tr",align:"right"},"8.44 kB")),(0,i.kt)("tr",{parentName:"tbody"},(0,i.kt)("td",{parentName:"tr",align:null},"de/shortcodes/cldr-native.json"),(0,i.kt)("td",{parentName:"tr",align:"right"},"43.31 kB"),(0,i.kt)("td",{parentName:"tr",align:"right"},"6.83 kB")),(0,i.kt)("tr",{parentName:"tbody"},(0,i.kt)("td",{parentName:"tr",align:null},"en/shortcodes/github.json"),(0,i.kt)("td",{parentName:"tr",align:"right"},"43.94 kB"),(0,i.kt)("td",{parentName:"tr",align:"right"},"15.12 kB")),(0,i.kt)("tr",{parentName:"tbody"},(0,i.kt)("td",{parentName:"tr",align:null},"nb/shortcodes/cldr-native.json"),(0,i.kt)("td",{parentName:"tr",align:"right"},"44.25 kB"),(0,i.kt)("td",{parentName:"tr",align:"right"},"7.37 kB")),(0,i.kt)("tr",{parentName:"tbody"},(0,i.kt)("td",{parentName:"tr",align:null},"en/shortcodes/iamcal.json"),(0,i.kt)("td",{parentName:"tr",align:"right"},"46.14 kB"),(0,i.kt)("td",{parentName:"tr",align:"right"},"14.83 kB")),(0,i.kt)("tr",{parentName:"tbody"},(0,i.kt)("td",{parentName:"tr",align:null},"pt/shortcodes/cldr-native.json"),(0,i.kt)("td",{parentName:"tr",align:"right"},"53.12 kB"),(0,i.kt)("td",{parentName:"tr",align:"right"},"10.48 kB")),(0,i.kt)("tr",{parentName:"tbody"},(0,i.kt)("td",{parentName:"tr",align:null},"sv/shortcodes/emojibase-native.json"),(0,i.kt)("td",{parentName:"tr",align:"right"},"54.62 kB"),(0,i.kt)("td",{parentName:"tr",align:"right"},"10.14 kB")),(0,i.kt)("tr",{parentName:"tbody"},(0,i.kt)("td",{parentName:"tr",align:null},"fr/shortcodes/cldr-native.json"),(0,i.kt)("td",{parentName:"tr",align:"right"},"55.84 kB"),(0,i.kt)("td",{parentName:"tr",align:"right"},"10.38 kB")),(0,i.kt)("tr",{parentName:"tbody"},(0,i.kt)("td",{parentName:"tr",align:null},"da/shortcodes/cldr-native.json"),(0,i.kt)("td",{parentName:"tr",align:"right"},"56.7 kB"),(0,i.kt)("td",{parentName:"tr",align:"right"},"9.08 kB")),(0,i.kt)("tr",{parentName:"tbody"},(0,i.kt)("td",{parentName:"tr",align:null},"fi/shortcodes/cldr-native.json"),(0,i.kt)("td",{parentName:"tr",align:"right"},"69.93 kB"),(0,i.kt)("td",{parentName:"tr",align:"right"},"10.62 kB")),(0,i.kt)("tr",{parentName:"tbody"},(0,i.kt)("td",{parentName:"tr",align:null},"et/shortcodes/cldr-native.json"),(0,i.kt)("td",{parentName:"tr",align:"right"},"70.97 kB"),(0,i.kt)("td",{parentName:"tr",align:"right"},"12.03 kB")),(0,i.kt)("tr",{parentName:"tbody"},(0,i.kt)("td",{parentName:"tr",align:null},"sv/shortcodes/cldr-native.json"),(0,i.kt)("td",{parentName:"tr",align:"right"},"72.3 kB"),(0,i.kt)("td",{parentName:"tr",align:"right"},"11.93 kB")),(0,i.kt)("tr",{parentName:"tbody"},(0,i.kt)("td",{parentName:"tr",align:null},"lt/shortcodes/cldr-native.json"),(0,i.kt)("td",{parentName:"tr",align:"right"},"120.26 kB"),(0,i.kt)("td",{parentName:"tr",align:"right"},"20.53 kB")),(0,i.kt)("tr",{parentName:"tbody"},(0,i.kt)("td",{parentName:"tr",align:null},"pl/shortcodes/cldr-native.json"),(0,i.kt)("td",{parentName:"tr",align:"right"},"124.57 kB"),(0,i.kt)("td",{parentName:"tr",align:"right"},"18.88 kB")),(0,i.kt)("tr",{parentName:"tbody"},(0,i.kt)("td",{parentName:"tr",align:null},"en/shortcodes/emojibase-legacy.json"),(0,i.kt)("td",{parentName:"tr",align:"right"},"129.02 kB"),(0,i.kt)("td",{parentName:"tr",align:"right"},"24.32 kB")),(0,i.kt)("tr",{parentName:"tbody"},(0,i.kt)("td",{parentName:"tr",align:null},"sv/shortcodes/emojibase.json"),(0,i.kt)("td",{parentName:"tr",align:"right"},"137.61 kB"),(0,i.kt)("td",{parentName:"tr",align:"right"},"27.25 kB")),(0,i.kt)("tr",{parentName:"tbody"},(0,i.kt)("td",{parentName:"tr",align:null},"zh-hant/shortcodes/cldr-native.json"),(0,i.kt)("td",{parentName:"tr",align:"right"},"139.67 kB"),(0,i.kt)("td",{parentName:"tr",align:"right"},"27.09 kB")),(0,i.kt)("tr",{parentName:"tbody"},(0,i.kt)("td",{parentName:"tr",align:null},"zh/shortcodes/cldr-native.json"),(0,i.kt)("td",{parentName:"tr",align:"right"},"143.91 kB"),(0,i.kt)("td",{parentName:"tr",align:"right"},"27.44 kB")),(0,i.kt)("tr",{parentName:"tbody"},(0,i.kt)("td",{parentName:"tr",align:null},"hu/shortcodes/cldr.json"),(0,i.kt)("td",{parentName:"tr",align:"right"},"147.05 kB"),(0,i.kt)("td",{parentName:"tr",align:"right"},"27.09 kB")),(0,i.kt)("tr",{parentName:"tbody"},(0,i.kt)("td",{parentName:"tr",align:null},"ja/shortcodes/cldr.json"),(0,i.kt)("td",{parentName:"tr",align:"right"},"147.46 kB"),(0,i.kt)("td",{parentName:"tr",align:"right"},"26.18 kB")),(0,i.kt)("tr",{parentName:"tbody"},(0,i.kt)("td",{parentName:"tr",align:null},"hu/shortcodes/cldr-native.json"),(0,i.kt)("td",{parentName:"tr",align:"right"},"147.71 kB"),(0,i.kt)("td",{parentName:"tr",align:"right"},"25.6 kB")),(0,i.kt)("tr",{parentName:"tbody"},(0,i.kt)("td",{parentName:"tr",align:null},"en/shortcodes/cldr.json"),(0,i.kt)("td",{parentName:"tr",align:"right"},"148.59 kB"),(0,i.kt)("td",{parentName:"tr",align:"right"},"26.77 kB")),(0,i.kt)("tr",{parentName:"tbody"},(0,i.kt)("td",{parentName:"tr",align:null},"en-gb/shortcodes/cldr.json"),(0,i.kt)("td",{parentName:"tr",align:"right"},"148.59 kB"),(0,i.kt)("td",{parentName:"tr",align:"right"},"26.77 kB")),(0,i.kt)("tr",{parentName:"tbody"},(0,i.kt)("td",{parentName:"tr",align:null},"en-gb/shortcodes/emojibase.json"),(0,i.kt)("td",{parentName:"tr",align:"right"},"148.6 kB"),(0,i.kt)("td",{parentName:"tr",align:"right"},"29.07 kB")),(0,i.kt)("tr",{parentName:"tbody"},(0,i.kt)("td",{parentName:"tr",align:null},"zh-hant/shortcodes/cldr.json"),(0,i.kt)("td",{parentName:"tr",align:"right"},"149.1 kB"),(0,i.kt)("td",{parentName:"tr",align:"right"},"25.15 kB")),(0,i.kt)("tr",{parentName:"tbody"},(0,i.kt)("td",{parentName:"tr",align:null},"da/shortcodes/cldr.json"),(0,i.kt)("td",{parentName:"tr",align:"right"},"150.09 kB"),(0,i.kt)("td",{parentName:"tr",align:"right"},"26.7 kB")),(0,i.kt)("tr",{parentName:"tbody"},(0,i.kt)("td",{parentName:"tr",align:null},"da/shortcodes/emojibase.json"),(0,i.kt)("td",{parentName:"tr",align:"right"},"150.69 kB"),(0,i.kt)("td",{parentName:"tr",align:"right"},"29.99 kB")),(0,i.kt)("tr",{parentName:"tbody"},(0,i.kt)("td",{parentName:"tr",align:null},"sv/shortcodes/cldr.json"),(0,i.kt)("td",{parentName:"tr",align:"right"},"150.76 kB"),(0,i.kt)("td",{parentName:"tr",align:"right"},"26.99 kB")),(0,i.kt)("tr",{parentName:"tbody"},(0,i.kt)("td",{parentName:"tr",align:null},"th/shortcodes/cldr.json"),(0,i.kt)("td",{parentName:"tr",align:"right"},"150.83 kB"),(0,i.kt)("td",{parentName:"tr",align:"right"},"27.05 kB")),(0,i.kt)("tr",{parentName:"tbody"},(0,i.kt)("td",{parentName:"tr",align:null},"nb/shortcodes/cldr.json"),(0,i.kt)("td",{parentName:"tr",align:"right"},"151.32 kB"),(0,i.kt)("td",{parentName:"tr",align:"right"},"26.72 kB")),(0,i.kt)("tr",{parentName:"tbody"},(0,i.kt)("td",{parentName:"tr",align:null},"et/shortcodes/cldr.json"),(0,i.kt)("td",{parentName:"tr",align:"right"},"152.19 kB"),(0,i.kt)("td",{parentName:"tr",align:"right"},"26.95 kB")),(0,i.kt)("tr",{parentName:"tbody"},(0,i.kt)("td",{parentName:"tr",align:null},"fi/shortcodes/cldr.json"),(0,i.kt)("td",{parentName:"tr",align:"right"},"153.84 kB"),(0,i.kt)("td",{parentName:"tr",align:"right"},"27.36 kB")),(0,i.kt)("tr",{parentName:"tbody"},(0,i.kt)("td",{parentName:"tr",align:null},"nl/shortcodes/cldr.json"),(0,i.kt)("td",{parentName:"tr",align:"right"},"156.69 kB"),(0,i.kt)("td",{parentName:"tr",align:"right"},"27.42 kB")),(0,i.kt)("tr",{parentName:"tbody"},(0,i.kt)("td",{parentName:"tr",align:null},"ja/shortcodes/cldr-native.json"),(0,i.kt)("td",{parentName:"tr",align:"right"},"156.8 kB"),(0,i.kt)("td",{parentName:"tr",align:"right"},"28.76 kB")),(0,i.kt)("tr",{parentName:"tbody"},(0,i.kt)("td",{parentName:"tr",align:null},"de/shortcodes/cldr.json"),(0,i.kt)("td",{parentName:"tr",align:"right"},"157.25 kB"),(0,i.kt)("td",{parentName:"tr",align:"right"},"27.57 kB")),(0,i.kt)("tr",{parentName:"tbody"},(0,i.kt)("td",{parentName:"tr",align:null},"zh/shortcodes/cldr.json"),(0,i.kt)("td",{parentName:"tr",align:"right"},"157.43 kB"),(0,i.kt)("td",{parentName:"tr",align:"right"},"25.65 kB")),(0,i.kt)("tr",{parentName:"tbody"},(0,i.kt)("td",{parentName:"tr",align:null},"en/shortcodes/emojibase.json"),(0,i.kt)("td",{parentName:"tr",align:"right"},"157.64 kB"),(0,i.kt)("td",{parentName:"tr",align:"right"},"29.96 kB")),(0,i.kt)("tr",{parentName:"tbody"},(0,i.kt)("td",{parentName:"tr",align:null},"ru/shortcodes/cldr.json"),(0,i.kt)("td",{parentName:"tr",align:"right"},"158.31 kB"),(0,i.kt)("td",{parentName:"tr",align:"right"},"27.93 kB")),(0,i.kt)("tr",{parentName:"tbody"},(0,i.kt)("td",{parentName:"tr",align:null},"pt/shortcodes/cldr.json"),(0,i.kt)("td",{parentName:"tr",align:"right"},"158.5 kB"),(0,i.kt)("td",{parentName:"tr",align:"right"},"27.64 kB")),(0,i.kt)("tr",{parentName:"tbody"},(0,i.kt)("td",{parentName:"tr",align:null},"bn/shortcodes/cldr.json"),(0,i.kt)("td",{parentName:"tr",align:"right"},"161.44 kB"),(0,i.kt)("td",{parentName:"tr",align:"right"},"28.32 kB")),(0,i.kt)("tr",{parentName:"tbody"},(0,i.kt)("td",{parentName:"tr",align:null},"ms/shortcodes/cldr.json"),(0,i.kt)("td",{parentName:"tr",align:"right"},"164.41 kB"),(0,i.kt)("td",{parentName:"tr",align:"right"},"27.74 kB")),(0,i.kt)("tr",{parentName:"tbody"},(0,i.kt)("td",{parentName:"tr",align:null},"hi/shortcodes/cldr.json"),(0,i.kt)("td",{parentName:"tr",align:"right"},"164.64 kB"),(0,i.kt)("td",{parentName:"tr",align:"right"},"29.03 kB")),(0,i.kt)("tr",{parentName:"tbody"},(0,i.kt)("td",{parentName:"tr",align:null},"pl/shortcodes/cldr.json"),(0,i.kt)("td",{parentName:"tr",align:"right"},"164.69 kB"),(0,i.kt)("td",{parentName:"tr",align:"right"},"28.49 kB")),(0,i.kt)("tr",{parentName:"tbody"},(0,i.kt)("td",{parentName:"tr",align:null},"lt/shortcodes/cldr.json"),(0,i.kt)("td",{parentName:"tr",align:"right"},"164.91 kB"),(0,i.kt)("td",{parentName:"tr",align:"right"},"28.47 kB")),(0,i.kt)("tr",{parentName:"tbody"},(0,i.kt)("td",{parentName:"tr",align:null},"it/shortcodes/cldr.json"),(0,i.kt)("td",{parentName:"tr",align:"right"},"165.26 kB"),(0,i.kt)("td",{parentName:"tr",align:"right"},"28.21 kB")),(0,i.kt)("tr",{parentName:"tbody"},(0,i.kt)("td",{parentName:"tr",align:null},"ko/shortcodes/cldr-native.json"),(0,i.kt)("td",{parentName:"tr",align:"right"},"165.27 kB"),(0,i.kt)("td",{parentName:"tr",align:"right"},"29.15 kB")),(0,i.kt)("tr",{parentName:"tbody"},(0,i.kt)("td",{parentName:"tr",align:null},"es-mx/shortcodes/cldr.json"),(0,i.kt)("td",{parentName:"tr",align:"right"},"165.38 kB"),(0,i.kt)("td",{parentName:"tr",align:"right"},"27.96 kB")),(0,i.kt)("tr",{parentName:"tbody"},(0,i.kt)("td",{parentName:"tr",align:null},"fr/shortcodes/cldr.json"),(0,i.kt)("td",{parentName:"tr",align:"right"},"165.65 kB"),(0,i.kt)("td",{parentName:"tr",align:"right"},"27.97 kB")),(0,i.kt)("tr",{parentName:"tbody"},(0,i.kt)("td",{parentName:"tr",align:null},"es/shortcodes/cldr.json"),(0,i.kt)("td",{parentName:"tr",align:"right"},"165.71 kB"),(0,i.kt)("td",{parentName:"tr",align:"right"},"27.93 kB")),(0,i.kt)("tr",{parentName:"tbody"},(0,i.kt)("td",{parentName:"tr",align:null},"ko/shortcodes/cldr.json"),(0,i.kt)("td",{parentName:"tr",align:"right"},"165.82 kB"),(0,i.kt)("td",{parentName:"tr",align:"right"},"27.37 kB")),(0,i.kt)("tr",{parentName:"tbody"},(0,i.kt)("td",{parentName:"tr",align:null},"uk/shortcodes/cldr.json"),(0,i.kt)("td",{parentName:"tr",align:"right"},"172.68 kB"),(0,i.kt)("td",{parentName:"tr",align:"right"},"29.23 kB")),(0,i.kt)("tr",{parentName:"tbody"},(0,i.kt)("td",{parentName:"tr",align:null},"en/shortcodes/joypixels.json"),(0,i.kt)("td",{parentName:"tr",align:"right"},"209.17 kB"),(0,i.kt)("td",{parentName:"tr",align:"right"},"33.55 kB")),(0,i.kt)("tr",{parentName:"tbody"},(0,i.kt)("td",{parentName:"tr",align:null},"ru/shortcodes/cldr-native.json"),(0,i.kt)("td",{parentName:"tr",align:"right"},"212.34 kB"),(0,i.kt)("td",{parentName:"tr",align:"right"},"31.05 kB")),(0,i.kt)("tr",{parentName:"tbody"},(0,i.kt)("td",{parentName:"tr",align:null},"th/shortcodes/cldr-native.json"),(0,i.kt)("td",{parentName:"tr",align:"right"},"234.76 kB"),(0,i.kt)("td",{parentName:"tr",align:"right"},"31.25 kB")),(0,i.kt)("tr",{parentName:"tbody"},(0,i.kt)("td",{parentName:"tr",align:null},"uk/shortcodes/cldr-native.json"),(0,i.kt)("td",{parentName:"tr",align:"right"},"238.16 kB"),(0,i.kt)("td",{parentName:"tr",align:"right"},"32.88 kB")),(0,i.kt)("tr",{parentName:"tbody"},(0,i.kt)("td",{parentName:"tr",align:null},"hi/shortcodes/cldr-native.json"),(0,i.kt)("td",{parentName:"tr",align:"right"},"269.37 kB"),(0,i.kt)("td",{parentName:"tr",align:"right"},"33.3 kB")),(0,i.kt)("tr",{parentName:"tbody"},(0,i.kt)("td",{parentName:"tr",align:null},"bn/shortcodes/cldr-native.json"),(0,i.kt)("td",{parentName:"tr",align:"right"},"279.02 kB"),(0,i.kt)("td",{parentName:"tr",align:"right"},"32.5 kB"))))),(0,i.kt)(o.Z,{value:"messages",mdxType:"TabItem"},(0,i.kt)("table",null,(0,i.kt)("thead",{parentName:"table"},(0,i.kt)("tr",{parentName:"thead"},(0,i.kt)("th",{parentName:"tr",align:null},"File"),(0,i.kt)("th",{parentName:"tr",align:"right"},"Size"),(0,i.kt)("th",{parentName:"tr",align:"right"},"Gzipped"))),(0,i.kt)("tbody",{parentName:"table"},(0,i.kt)("tr",{parentName:"tbody"},(0,i.kt)("td",{parentName:"tr",align:null},"zh/messages.json"),(0,i.kt)("td",{parentName:"tr",align:"right"},"6.16 kB"),(0,i.kt)("td",{parentName:"tr",align:"right"},"1.92 kB")),(0,i.kt)("tr",{parentName:"tbody"},(0,i.kt)("td",{parentName:"tr",align:null},"zh-hant/messages.json"),(0,i.kt)("td",{parentName:"tr",align:"right"},"6.16 kB"),(0,i.kt)("td",{parentName:"tr",align:"right"},"1.92 kB")),(0,i.kt)("tr",{parentName:"tbody"},(0,i.kt)("td",{parentName:"tr",align:null},"en/messages.json"),(0,i.kt)("td",{parentName:"tr",align:"right"},"6.45 kB"),(0,i.kt)("td",{parentName:"tr",align:"right"},"1.58 kB")),(0,i.kt)("tr",{parentName:"tbody"},(0,i.kt)("td",{parentName:"tr",align:null},"en-gb/messages.json"),(0,i.kt)("td",{parentName:"tr",align:"right"},"6.46 kB"),(0,i.kt)("td",{parentName:"tr",align:"right"},"1.59 kB")),(0,i.kt)("tr",{parentName:"tbody"},(0,i.kt)("td",{parentName:"tr",align:null},"da/messages.json"),(0,i.kt)("td",{parentName:"tr",align:"right"},"6.46 kB"),(0,i.kt)("td",{parentName:"tr",align:"right"},"1.77 kB")),(0,i.kt)("tr",{parentName:"tbody"},(0,i.kt)("td",{parentName:"tr",align:null},"sv/messages.json"),(0,i.kt)("td",{parentName:"tr",align:"right"},"6.47 kB"),(0,i.kt)("td",{parentName:"tr",align:"right"},"1.78 kB")),(0,i.kt)("tr",{parentName:"tbody"},(0,i.kt)("td",{parentName:"tr",align:null},"ms/messages.json"),(0,i.kt)("td",{parentName:"tr",align:"right"},"6.5 kB"),(0,i.kt)("td",{parentName:"tr",align:"right"},"1.79 kB")),(0,i.kt)("tr",{parentName:"tbody"},(0,i.kt)("td",{parentName:"tr",align:null},"nb/messages.json"),(0,i.kt)("td",{parentName:"tr",align:"right"},"6.51 kB"),(0,i.kt)("td",{parentName:"tr",align:"right"},"1.78 kB")),(0,i.kt)("tr",{parentName:"tbody"},(0,i.kt)("td",{parentName:"tr",align:null},"ko/messages.json"),(0,i.kt)("td",{parentName:"tr",align:"right"},"6.53 kB"),(0,i.kt)("td",{parentName:"tr",align:"right"},"2.08 kB")),(0,i.kt)("tr",{parentName:"tbody"},(0,i.kt)("td",{parentName:"tr",align:null},"et/messages.json"),(0,i.kt)("td",{parentName:"tr",align:"right"},"6.56 kB"),(0,i.kt)("td",{parentName:"tr",align:"right"},"1.83 kB")),(0,i.kt)("tr",{parentName:"tbody"},(0,i.kt)("td",{parentName:"tr",align:null},"nl/messages.json"),(0,i.kt)("td",{parentName:"tr",align:"right"},"6.59 kB"),(0,i.kt)("td",{parentName:"tr",align:"right"},"1.8 kB")),(0,i.kt)("tr",{parentName:"tbody"},(0,i.kt)("td",{parentName:"tr",align:null},"de/messages.json"),(0,i.kt)("td",{parentName:"tr",align:"right"},"6.6 kB"),(0,i.kt)("td",{parentName:"tr",align:"right"},"1.89 kB")),(0,i.kt)("tr",{parentName:"tbody"},(0,i.kt)("td",{parentName:"tr",align:null},"it/messages.json"),(0,i.kt)("td",{parentName:"tr",align:"right"},"6.61 kB"),(0,i.kt)("td",{parentName:"tr",align:"right"},"1.81 kB")),(0,i.kt)("tr",{parentName:"tbody"},(0,i.kt)("td",{parentName:"tr",align:null},"fi/messages.json"),(0,i.kt)("td",{parentName:"tr",align:"right"},"6.61 kB"),(0,i.kt)("td",{parentName:"tr",align:"right"},"1.86 kB")),(0,i.kt)("tr",{parentName:"tbody"},(0,i.kt)("td",{parentName:"tr",align:null},"pl/messages.json"),(0,i.kt)("td",{parentName:"tr",align:"right"},"6.62 kB"),(0,i.kt)("td",{parentName:"tr",align:"right"},"1.98 kB")),(0,i.kt)("tr",{parentName:"tbody"},(0,i.kt)("td",{parentName:"tr",align:null},"pt/messages.json"),(0,i.kt)("td",{parentName:"tr",align:"right"},"6.69 kB"),(0,i.kt)("td",{parentName:"tr",align:"right"},"1.88 kB")),(0,i.kt)("tr",{parentName:"tbody"},(0,i.kt)("td",{parentName:"tr",align:null},"es-mx/messages.json"),(0,i.kt)("td",{parentName:"tr",align:"right"},"6.72 kB"),(0,i.kt)("td",{parentName:"tr",align:"right"},"1.88 kB")),(0,i.kt)("tr",{parentName:"tbody"},(0,i.kt)("td",{parentName:"tr",align:null},"es/messages.json"),(0,i.kt)("td",{parentName:"tr",align:"right"},"6.72 kB"),(0,i.kt)("td",{parentName:"tr",align:"right"},"1.88 kB")),(0,i.kt)("tr",{parentName:"tbody"},(0,i.kt)("td",{parentName:"tr",align:null},"ja/messages.json"),(0,i.kt)("td",{parentName:"tr",align:"right"},"6.73 kB"),(0,i.kt)("td",{parentName:"tr",align:"right"},"2.22 kB")),(0,i.kt)("tr",{parentName:"tbody"},(0,i.kt)("td",{parentName:"tr",align:null},"fr/messages.json"),(0,i.kt)("td",{parentName:"tr",align:"right"},"6.74 kB"),(0,i.kt)("td",{parentName:"tr",align:"right"},"1.9 kB")),(0,i.kt)("tr",{parentName:"tbody"},(0,i.kt)("td",{parentName:"tr",align:null},"hu/messages.json"),(0,i.kt)("td",{parentName:"tr",align:"right"},"6.76 kB"),(0,i.kt)("td",{parentName:"tr",align:"right"},"1.98 kB")),(0,i.kt)("tr",{parentName:"tbody"},(0,i.kt)("td",{parentName:"tr",align:null},"lt/messages.json"),(0,i.kt)("td",{parentName:"tr",align:"right"},"6.8 kB"),(0,i.kt)("td",{parentName:"tr",align:"right"},"1.93 kB")),(0,i.kt)("tr",{parentName:"tbody"},(0,i.kt)("td",{parentName:"tr",align:null},"ru/messages.json"),(0,i.kt)("td",{parentName:"tr",align:"right"},"7.79 kB"),(0,i.kt)("td",{parentName:"tr",align:"right"},"2.31 kB")),(0,i.kt)("tr",{parentName:"tbody"},(0,i.kt)("td",{parentName:"tr",align:null},"uk/messages.json"),(0,i.kt)("td",{parentName:"tr",align:"right"},"7.86 kB"),(0,i.kt)("td",{parentName:"tr",align:"right"},"2.36 kB")),(0,i.kt)("tr",{parentName:"tbody"},(0,i.kt)("td",{parentName:"tr",align:null},"hi/messages.json"),(0,i.kt)("td",{parentName:"tr",align:"right"},"8.46 kB"),(0,i.kt)("td",{parentName:"tr",align:"right"},"2.3 kB")),(0,i.kt)("tr",{parentName:"tbody"},(0,i.kt)("td",{parentName:"tr",align:null},"bn/messages.json"),(0,i.kt)("td",{parentName:"tr",align:"right"},"8.6 kB"),(0,i.kt)("td",{parentName:"tr",align:"right"},"2.31 kB")),(0,i.kt)("tr",{parentName:"tbody"},(0,i.kt)("td",{parentName:"tr",align:null},"th/messages.json"),(0,i.kt)("td",{parentName:"tr",align:"right"},"9.05 kB"),(0,i.kt)("td",{parentName:"tr",align:"right"},"2.41 kB"))))),(0,i.kt)(o.Z,{value:"other",mdxType:"TabItem"},(0,i.kt)("table",null,(0,i.kt)("thead",{parentName:"table"},(0,i.kt)("tr",{parentName:"thead"},(0,i.kt)("th",{parentName:"tr",align:null},"File"),(0,i.kt)("th",{parentName:"tr",align:"right"},"Size"),(0,i.kt)("th",{parentName:"tr",align:"right"},"Gzipped"))),(0,i.kt)("tbody",{parentName:"table"},(0,i.kt)("tr",{parentName:"tbody"},(0,i.kt)("td",{parentName:"tr",align:null},"meta/groups.json"),(0,i.kt)("td",{parentName:"tr",align:"right"},"3.9 kB"),(0,i.kt)("td",{parentName:"tr",align:"right"},"1.25 kB")),(0,i.kt)("tr",{parentName:"tbody"},(0,i.kt)("td",{parentName:"tr",align:null},"meta/unicode.json"),(0,i.kt)("td",{parentName:"tr",align:"right"},"72.47 kB"),(0,i.kt)("td",{parentName:"tr",align:"right"},"12.61 kB")),(0,i.kt)("tr",{parentName:"tbody"},(0,i.kt)("td",{parentName:"tr",align:null},"versions/unicode.json"),(0,i.kt)("td",{parentName:"tr",align:"right"},"94.96 kB"),(0,i.kt)("td",{parentName:"tr",align:"right"},"11.95 kB")),(0,i.kt)("tr",{parentName:"tbody"},(0,i.kt)("td",{parentName:"tr",align:null},"versions/emoji.json"),(0,i.kt)("td",{parentName:"tr",align:"right"},"95 kB"),(0,i.kt)("td",{parentName:"tr",align:"right"},"12.05 kB")),(0,i.kt)("tr",{parentName:"tbody"},(0,i.kt)("td",{parentName:"tr",align:null},"meta/unicode-names.json"),(0,i.kt)("td",{parentName:"tr",align:"right"},"237.12 kB"),(0,i.kt)("td",{parentName:"tr",align:"right"},"28.41 kB")),(0,i.kt)("tr",{parentName:"tbody"},(0,i.kt)("td",{parentName:"tr",align:null},"meta/hexcodes.json"),(0,i.kt)("td",{parentName:"tr",align:"right"},"258.42 kB"),(0,i.kt)("td",{parentName:"tr",align:"right"},"28.47 kB")))))))}h.isMDXComponent=!0}}]); \ No newline at end of file diff --git a/assets/js/runtime~main.fd861f83.js b/assets/js/runtime~main.21b96140.js similarity index 98% rename from assets/js/runtime~main.fd861f83.js rename to assets/js/runtime~main.21b96140.js index 3ba31330..7f9bb602 100644 --- a/assets/js/runtime~main.fd861f83.js +++ b/assets/js/runtime~main.21b96140.js @@ -1 +1 @@ -!function(){"use strict";var e,t,n,r,o,f={},a={};function c(e){var t=a[e];if(void 0!==t)return t.exports;var n=a[e]={id:e,loaded:!1,exports:{}};return f[e].call(n.exports,n,n.exports,c),n.loaded=!0,n.exports}c.m=f,c.c=a,e=[],c.O=function(t,n,r,o){if(!n){var f=1/0;for(b=0;b=o)&&Object.keys(c.O).every((function(e){return c.O[e](n[u])}))?n.splice(u--,1):(a=!1,o0&&e[b-1][2]>o;b--)e[b]=e[b-1];e[b]=[n,r,o]},c.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return c.d(t,{a:t}),t},n=Object.getPrototypeOf?function(e){return Object.getPrototypeOf(e)}:function(e){return e.__proto__},c.t=function(e,r){if(1&r&&(e=this(e)),8&r)return e;if("object"==typeof e&&e){if(4&r&&e.__esModule)return e;if(16&r&&"function"==typeof e.then)return e}var o=Object.create(null);c.r(o);var f={};t=t||[null,n({}),n([]),n(n)];for(var a=2&r&&e;"object"==typeof a&&!~t.indexOf(a);a=n(a))Object.getOwnPropertyNames(a).forEach((function(t){f[t]=function(){return e[t]}}));return f.default=function(){return e},c.d(o,f),o},c.d=function(e,t){for(var n in t)c.o(t,n)&&!c.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},c.f={},c.e=function(e){return Promise.all(Object.keys(c.f).reduce((function(t,n){return c.f[n](e,t),t}),[]))},c.u=function(e){return"assets/js/"+({53:"935f2afb",85:"46d74525",158:"39759924",198:"40b0e6fe",237:"1df93b7f",256:"cff62da1",369:"6cfa923f",377:"1be6b01a",423:"7f46a007",450:"8f9520ab",514:"1be78505",595:"77805fe8",597:"55489dec",647:"beb8c2f8",724:"c5e36b27",742:"b352d564",773:"ed2af83c",805:"b6766646",859:"bbe96576",885:"9c50676b",918:"17896441",919:"d5386c13",920:"1a4e3797",971:"c377a04b",977:"05e4f5e0"}[e]||e)+"."+{53:"846030bd",85:"25d635a7",127:"dbaa747f",158:"83fc9a7f",198:"c557063a",237:"88997c57",256:"bc4a62ef",369:"1ae2ac82",377:"159da129",378:"4ef8dca6",423:"53462ca5",450:"fe1b4e8f",514:"b36df5ef",595:"1937ecd3",597:"636e81f1",647:"41468d5f",670:"e84cd561",724:"23186c93",742:"7ae30bdf",773:"094e17de",777:"ddd0fbf3",805:"8d5f7af5",859:"506d3e3d",885:"d1d991c3",893:"358ff630",918:"46e34c15",919:"53ed29d7",920:"aed24cf6",971:"1154b7aa",977:"4c9c8cad",985:"a9b57fa3"}[e]+".js"},c.miniCssF=function(e){},c.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),c.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r={},o="website:",c.l=function(e,t,n,f){if(r[e])r[e].push(t);else{var a,u;if(void 0!==n)for(var i=document.getElementsByTagName("script"),b=0;b=o)&&Object.keys(c.O).every((function(e){return c.O[e](n[u])}))?n.splice(u--,1):(a=!1,o0&&e[b-1][2]>o;b--)e[b]=e[b-1];e[b]=[n,r,o]},c.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return c.d(t,{a:t}),t},n=Object.getPrototypeOf?function(e){return Object.getPrototypeOf(e)}:function(e){return e.__proto__},c.t=function(e,r){if(1&r&&(e=this(e)),8&r)return e;if("object"==typeof e&&e){if(4&r&&e.__esModule)return e;if(16&r&&"function"==typeof e.then)return e}var o=Object.create(null);c.r(o);var f={};t=t||[null,n({}),n([]),n(n)];for(var a=2&r&&e;"object"==typeof a&&!~t.indexOf(a);a=n(a))Object.getOwnPropertyNames(a).forEach((function(t){f[t]=function(){return e[t]}}));return f.default=function(){return e},c.d(o,f),o},c.d=function(e,t){for(var n in t)c.o(t,n)&&!c.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},c.f={},c.e=function(e){return Promise.all(Object.keys(c.f).reduce((function(t,n){return c.f[n](e,t),t}),[]))},c.u=function(e){return"assets/js/"+({53:"935f2afb",85:"46d74525",158:"39759924",198:"40b0e6fe",237:"1df93b7f",256:"cff62da1",369:"6cfa923f",377:"1be6b01a",423:"7f46a007",450:"8f9520ab",514:"1be78505",595:"77805fe8",597:"55489dec",647:"beb8c2f8",724:"c5e36b27",742:"b352d564",773:"ed2af83c",805:"b6766646",859:"bbe96576",885:"9c50676b",918:"17896441",919:"d5386c13",920:"1a4e3797",971:"c377a04b",977:"05e4f5e0"}[e]||e)+"."+{53:"846030bd",85:"a4ebbe64",127:"dbaa747f",158:"2c706449",198:"c557063a",237:"88997c57",256:"bc4a62ef",369:"1ae2ac82",377:"159da129",378:"4ef8dca6",423:"53462ca5",450:"fe1b4e8f",514:"b36df5ef",595:"1937ecd3",597:"636e81f1",647:"41468d5f",670:"e84cd561",724:"23186c93",742:"7ae30bdf",773:"094e17de",777:"ddd0fbf3",805:"8d5f7af5",859:"506d3e3d",885:"d1d991c3",893:"358ff630",918:"46e34c15",919:"53ed29d7",920:"aed24cf6",971:"1154b7aa",977:"4c9c8cad",985:"a9b57fa3"}[e]+".js"},c.miniCssF=function(e){},c.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),c.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r={},o="website:",c.l=function(e,t,n,f){if(r[e])r[e].push(t);else{var a,u;if(void 0!==n)for(var i=document.getElementsByTagName("script"),b=0;b Datasets | Emojibase - + @@ -40,8 +40,8 @@ its placement.

    import { fetchFromCDN, fetchEmojis, fetchMessages, fetchShortcodes } from 'emojibase';

    const cdnUrl = 'https://example.com/cdn/emojidata/latest';

    const englishEmojis = await fetchFromCDN('en/data.json', { shortcodes: ['github'], cdnUrl });
    const japaneseCompactEmojis = await fetchEmojis('ja', { compact: true, cdnUrl });
    const germanCldrShortcodes = await fetchShortcodes('de', 'cldr', { cdnUrl });
    const chineseTranslations = await fetchMessages('zh', { cdnUrl });

    cdnUrl can also be a function, so you have complete control over the format of the url. This function receives path and version as parameters. Version will be what you pass in within the options object, or it will default to latest. Note that version is also used for the cache key, -so it's advised to set the option and not hard-code it in the cdnUrl function.

    import { fetchFromCDN, fetchEmojis, fetchMessages, fetchShortcodes } from 'emojibase';

    function cdnUrl(path: string, version: string): string {
    return `https://example.com/cdn/emojidata/${version}/${path}`;
    }

    const englishEmojis = await fetchFromCDN('en/data.json', { shortcodes: ['github'], cdnUrl });
    const japaneseCompactEmojis = await fetchEmojis('ja', { compact: true, cdnUrl });
    const germanCldrShortcodes = await fetchShortcodes('de', 'cldr', { cdnUrl });
    const chineseTranslations = await fetchMessages('zh', { cdnUrl });

    Supported locales

    Follow locales are supported for both full and compact datasets.

    • Bengali (bu)
    • Chinese (zh)
    • Chinese, Traditional (zh-hant)
    • Danish (da)
    • Dutch (nl)
    • English (en)
    • English, Great Britain (en-gb)
    • Estonian (et)
    • Finnish (fi)
    • French (fr)
    • German (de)
    • Hindu (hi)
    • Hungarian (hu)
    • Italian (it)
    • Japanese (ja)
    • Korean (ko)
    • Lithuanian (lt)
    • Malay (ms)
    • Norwegian (nb)
    • Polish (pl)
    • Portuguese (pt)
    • Russian (ru)
    • Spanish (es)
    • Spanish, Mexico (es-mx)
    • Swedish (sv)
    • Thai (th)
    • Ukrainian (uk)

    Filesizes

    Sorted by original size in ascending order.

    FileSizeGzipped
    zh-hant/data.json623.94 kB71.93 kB
    zh/data.json649.54 kB78.48 kB
    sv/data.json661.26 kB77.51 kB
    nb/data.json662.25 kB77.91 kB
    da/data.json667.38 kB77.6 kB
    en/data.json669.13 kB76.21 kB
    en-gb/data.json669.13 kB76.21 kB
    et/data.json674.23 kB76.97 kB
    fi/data.json678.06 kB80.86 kB
    fr/data.json681.72 kB77.14 kB
    ko/data.json682.58 kB81.21 kB
    nl/data.json682.76 kB77.89 kB
    lt/data.json683.25 kB80.51 kB
    pt/data.json683.99 kB80.14 kB
    ja/data.json688.5 kB81.74 kB
    ms/data.json693.49 kB77.7 kB
    hu/data.json694.91 kB80.44 kB
    es/data.json701.52 kB80.37 kB
    pl/data.json703.05 kB84.31 kB
    es-mx/data.json703.21 kB80.9 kB
    it/data.json705.65 kB82.21 kB
    de/data.json707.7 kB85.53 kB
    ru/data.json820.21 kB91.16 kB
    th/data.json837.09 kB82.18 kB
    uk/data.json838.77 kB90.47 kB
    hi/data.json881.21 kB89.27 kB
    bn/data.json901.45 kB86.81 kB
    - +so it's advised to set the option and not hard-code it in the cdnUrl function.

    import { fetchFromCDN, fetchEmojis, fetchMessages, fetchShortcodes } from 'emojibase';

    function cdnUrl(path: string, version: string): string {
    return `https://example.com/cdn/emojidata/${version}/${path}`;
    }

    const englishEmojis = await fetchFromCDN('en/data.json', { shortcodes: ['github'], cdnUrl });
    const japaneseCompactEmojis = await fetchEmojis('ja', { compact: true, cdnUrl });
    const germanCldrShortcodes = await fetchShortcodes('de', 'cldr', { cdnUrl });
    const chineseTranslations = await fetchMessages('zh', { cdnUrl });

    Supported locales

    Follow locales are supported for both full and compact datasets.

    • Bengali (bu)
    • Chinese (zh)
    • Chinese, Traditional (zh-hant)
    • Danish (da)
    • Dutch (nl)
    • English (en)
    • English, Great Britain (en-gb)
    • Estonian (et)
    • Finnish (fi)
    • French (fr)
    • German (de)
    • Hindu (hi)
    • Hungarian (hu)
    • Italian (it)
    • Japanese (ja)
    • Korean (ko)
    • Lithuanian (lt)
    • Malay (ms)
    • Norwegian (nb)
    • Polish (pl)
    • Portuguese (pt)
    • Russian (ru)
    • Spanish (es)
    • Spanish, Mexico (es-mx)
    • Swedish (sv)
    • Thai (th)
    • Ukrainian (uk)

    Filesizes

    Sorted by original size in ascending order.

    FileSizeGzipped
    zh-hant/data.json652.4 kB74.51 kB
    zh/data.json677.53 kB81.19 kB
    da/data.json693.39 kB80.1 kB
    sv/data.json694.83 kB81.18 kB
    nb/data.json696.11 kB81.41 kB
    en/data.json703.04 kB79.88 kB
    en-gb/data.json703.06 kB79.88 kB
    et/data.json708.59 kB80.58 kB
    ko/data.json712.47 kB83.49 kB
    fi/data.json713.38 kB84.6 kB
    ja/data.json717.15 kB84.29 kB
    nl/data.json717.6 kB81.56 kB
    fr/data.json718.26 kB80.97 kB
    lt/data.json720.83 kB84.39 kB
    pt/data.json721.24 kB83.97 kB
    ms/data.json729.53 kB81.53 kB
    hu/data.json731.32 kB84.24 kB
    es/data.json738.22 kB84.2 kB
    pl/data.json739.01 kB87.87 kB
    es-mx/data.json739.11 kB84.44 kB
    it/data.json742.89 kB86.02 kB
    de/data.json745.33 kB89.42 kB
    ru/data.json867.72 kB95.25 kB
    th/data.json876.41 kB84.88 kB
    uk/data.json893.5 kB95.08 kB
    hi/data.json922.76 kB91.73 kB
    bn/data.json945.98 kB89.5 kB
    + \ No newline at end of file diff --git a/docs/emoticons/index.html b/docs/emoticons/index.html index 5725845f..e64aa91a 100644 --- a/docs/emoticons/index.html +++ b/docs/emoticons/index.html @@ -4,7 +4,7 @@ Emoticons | Emojibase - + @@ -15,7 +15,7 @@ support : or = for eyes? What about ), ], or } for mouths? Or maybe a nose with -?

    Emojibase solves this with a set of naming guidelines and the ability to generate emoticon permutations. With this in place, a single emoticon can be defined per emoji, reducing the overall filesize and maintenance overhead.

    Only western styled emoticons are currently supported.

    - + \ No newline at end of file diff --git a/docs/index.html b/docs/index.html index bb4b7e58..f8606415 100644 --- a/docs/index.html +++ b/docs/index.html @@ -4,7 +4,7 @@ Introduction | Emojibase - + @@ -14,7 +14,7 @@ Unicode 15.1, and CLDR 44 release versions
  • Built directly from the emoji data source files
  • Based on the official Unicode Technical Standard #51
  • With localization provided by Unicode Technical Standard #35
  • - + \ No newline at end of file diff --git a/docs/regex/index.html b/docs/regex/index.html index a17653a0..f382754c 100644 --- a/docs/regex/index.html +++ b/docs/regex/index.html @@ -4,7 +4,7 @@ Regex patterns | Emojibase - + @@ -18,8 +18,8 @@ Unicode codepoint aware regex patterns can be used, which can be found in the codepoint directory.

    import CODEPOINT_EMOJI_REGEX from 'emojibase-regex/codepoint';

    The u (unicode) flag is required (defined by default) when using these patterns.

    Codepoint regex patterns are only supported in Node.js and modern browsers.

    Unicode property support

    An ECMAScript proposal to support Unicode property escapes within regex is currently in the works. This proposal, if passed, would enable regex patterns like the following: /\p{Emoji}/. This feature would greatly reduce the -filesize of our regex patterns while being more accurate to the Unicode standard.

    These patterns can be found in the property directory, but use at your own risk!

    import PROPERTY_EMOJI_REGEX from 'emojibase-regex/property';

    Filesizes

    FileSizeGzipped
    shortcode.js34 B54 B
    property/text.js60 B76 B
    property/emoji.js103 B93 B
    property/index.js115 B102 B
    emoticon.js463 B249 B
    shortcode-native.js652 B402 B
    text.js1.52 kB609 B
    codepoint/text.js1.87 kB639 B
    emoji.js10.55 kB2.26 kB
    emoji-loose.js10.82 kB2.06 kB
    text-loose.js10.82 kB2.07 kB
    codepoint/emoji.js11.29 kB2.32 kB
    codepoint/emoji-loose.js11.39 kB2.11 kB
    codepoint/text-loose.js11.39 kB2.12 kB
    index.js13.37 kB2.22 kB
    codepoint/index.js13.8 kB2.26 kB
    - +filesize of our regex patterns while being more accurate to the Unicode standard.

    These patterns can be found in the property directory, but use at your own risk!

    import PROPERTY_EMOJI_REGEX from 'emojibase-regex/property';

    Filesizes

    FileSizeGzipped
    shortcode.js34 B54 B
    property/text.js60 B76 B
    property/emoji.js103 B93 B
    property/index.js115 B102 B
    emoticon.js463 B244 B
    shortcode-native.js652 B411 B
    text.js1.55 kB627 B
    codepoint/text.js1.89 kB648 B
    emoji.js11.89 kB2.41 kB
    emoji-loose.js12.26 kB2.21 kB
    text-loose.js12.26 kB2.21 kB
    codepoint/emoji.js12.46 kB2.45 kB
    codepoint/emoji-loose.js12.66 kB2.25 kB
    codepoint/text-loose.js12.66 kB2.25 kB
    index.js16.02 kB2.43 kB
    codepoint/index.js16.13 kB2.47 kB
    + \ No newline at end of file diff --git a/docs/shortcodes/index.html b/docs/shortcodes/index.html index 81487ad5..848d9fab 100644 --- a/docs/shortcodes/index.html +++ b/docs/shortcodes/index.html @@ -4,7 +4,7 @@ Shortcodes | Emojibase - + @@ -34,7 +34,7 @@ v13 specification.

    joypixels

    Emoji shortcodes provided by the emoji-toolkit library, owned and maintained by JoyPixels (formerly EmojiOne).

    slack

    An alias for the iamcal preset.

    This preset may not be accurate as Slack does not provide an official implementation for its shortcodes. If you would like to improve this solution, please create an issue!

    Localization

    Localecldrcldr-nativeemojibaseemojibase-legacygithubiamcaljoypixels
    Bengali (bn)✴️
    Chinese (zh)✴️
    Chinese, Trad. (zh-hant)✴️
    Danish (da)✴️
    Dutch (nl)✴️
    English (en)
    English, GB (en-gb)✴️
    Estonian (et)✴️
    Finnish (fi)✴️
    French (fr)✴️
    German (de)✴️
    Hindu (hi)✴️
    Hungarian (hu)✴️
    Italian (it)✴️
    Japanese (ja)✴️
    Korean (ko)✴️
    Lithuanian (lt)✴️
    Malay (ms)✴️
    Norwegian (nb)✴️
    Polish (pl)✴️
    Portuguese (pt)✴️
    Russian (ru)✴️
    Spanish (es)✴️
    Spanish, Mexico (es-mx)✴️
    Swedish (sv)✴️
    Thai (th)✴️
    Ukrainian (uk)✴️
    • ✅ Fully translated and released
    • ✳️ Partially translated and released
    • ✴️ In progress but not released

    Submitting translations

    Caveats

    Some caveats to be aware of when using shortcodes.

    • Shortcodes are non-standard and the names/terminology will differ between presets.
    • Some emojis may be missing shortcodes depending on the preset.
    • There may be duplicate and/or conflicting shortcodes when using multiple presets.
    • Presets may not provide shortcodes for the latest emoji/Unicode specifications.
    - + \ No newline at end of file diff --git a/docs/spec/index.html b/docs/spec/index.html index 643be75e..85cb5ebd 100644 --- a/docs/spec/index.html +++ b/docs/spec/index.html @@ -4,7 +4,7 @@ Specification alignment | Emojibase - + @@ -27,7 +27,7 @@ each with their own hexcodes.

    {
    "label": "person in steamy room",
    "hexcode": "1F9D6"
    // ...
    },
    {
    "label": "man in steamy room",
    "hexcode": "1F9D6-200D-2642-FE0F"
    // ...
    },
    {
    "label": "woman in steamy room",
    "hexcode": "1F9D6-200D-2640-FE0F"
    // ...
    },

    The men and women variants always refer back to the people variant through a shared hexcode (1F9D6 in the example above).

    Combination genders

    Single emojis that support multiple genders are also represented as unique emojis with their own hexcodes.

    {
    "label": "kiss",
    "hexcode": "1F48F"
    // ...
    },
    {
    "label": "kiss: woman, man",
    "hexcode": "1F469-200D-2764-FE0F-200D-1F48B-200D-1F468"
    // ...
    },
    {
    "label": "kiss: man, man",
    "hexcode": "1F468-200D-2764-FE0F-200D-1F48B-200D-1F468",
    // ...
    },
    {
    "label": "kiss: woman, woman",
    "hexcode": "1F469-200D-2764-FE0F-200D-1F48B-200D-1F469",
    // ...
    },

    The men and women variants do not share a hexcode with the people emoji.

    - + \ No newline at end of file diff --git a/docs/translations/index.html b/docs/translations/index.html index 06faaefd..f41e2190 100644 --- a/docs/translations/index.html +++ b/docs/translations/index.html @@ -4,7 +4,7 @@ Translations | Emojibase - + @@ -21,7 +21,7 @@ non-modification emoji character. Seeing as how these messages are shortcodes, the translation should match the msgid as close as possible, including using underscores (no spaces), and in all lowercase.

    Each message breaks down to the following:

    • #: The emoji hexcode (without zero-width joiners and variation selectors).
    • msgctxt: Contextul information. The emoji character and official Unicode annotation.
    • msgid: English message to translate.
    • msgstr: Localized translation.
    # 1F40D
    msgctxt "EMOJI: 🐍 snake"
    msgid "snake"
    msgstr "змея"

    Most locales have not translated their shortcodes yet. Contributions are welcome!

    - + \ No newline at end of file diff --git a/docs/typescript/index.html b/docs/typescript/index.html index 6f968b45..3ef2a18e 100644 --- a/docs/typescript/index.html +++ b/docs/typescript/index.html @@ -4,7 +4,7 @@ TypeScript support | Emojibase - + @@ -12,7 +12,7 @@

    TypeScript support

    Emojibase is written in TypeScript, so feel free to utilize our types! All types are available as named imports from the index of emojibase! View the available types in the API.

    import { Emoji, Emoticon, Shortcode } from 'emojibase';

    The 2 most important types are Emoji and CompactEmoji, which represent the data.json and compact.json dataset structures.

    - + \ No newline at end of file diff --git a/emojis/index.html b/emojis/index.html index 1daaaadf..ee7a223e 100644 --- a/emojis/index.html +++ b/emojis/index.html @@ -4,13 +4,13 @@ Emoji table | Emojibase - +

    Emoji table


    Display

    Shortcode presets

    AnnotationShortcodesTags
    0 emojis
    - + \ No newline at end of file diff --git a/index.html b/index.html index 5b2b1780..c14fe4f9 100644 --- a/index.html +++ b/index.html @@ -4,13 +4,13 @@ Spec compliant emoji datasets | Emojibase - +

    Emojibase

    A collection of lightweight, up-to-date, pre-generated, specification compliant, localized emoji JSON datasets, regex patterns, and more.

    📑 Specification compliant

    With data being derived from the official Unicode data files, and aligned with Unicode Technical Standard's #51 and #35, we can ensure a specification compliant solution.

    🇺🇳 Localized datasets

    Easily internationalize your emoji integration with one of our 27 supported languages and growing. Is your language not supported? Just ask!

    📜 Historical information

    Whether it's skin tone variations, genders, multi-person, or Unicode versioning, we capture and persist all historical information for reusability.

    - + \ No newline at end of file diff --git a/search/index.html b/search/index.html index 0a539f47..10b639bf 100644 --- a/search/index.html +++ b/search/index.html @@ -4,13 +4,13 @@ Search the documentation | Emojibase - + - + \ No newline at end of file diff --git a/shortcodes/index.html b/shortcodes/index.html index 0b65a557..4d8a2694 100644 --- a/shortcodes/index.html +++ b/shortcodes/index.html @@ -4,13 +4,13 @@ Shortcodes table | Emojibase - +

    Shortcodes table


    Display

    Shortcode presets

    CLDREmojibaseGitHubIamCal (Slack)JoyPixels (Discord)
    0 emojis
    - + \ No newline at end of file