[+ AutoGen5 template h +]
/*
 * Copyright (C) 2026 UBports Foundation.
 *
 * SPDX-License-Identifier: Unicode-DFS-2016
 *
 * This file was generated from Unicode CLDR data.
 */

#ifndef EMOJIDATA_H
#define EMOJIDATA_H

#include <QStringList>
#include <QMap>

namespace GeneratedData {

inline QStringList emojiBasesList()
{
    return {[+ FOR variants "," +]"[+ base[0] . text +]"[+ ENDFOR base +]};
}

inline QMap<QString, QStringList> emojiVariantsList()
{
    QMap<QString, QStringList> result;
    [+ FOR variants +][+ IF (< 1 (count "variant")) +][+
        FOR variant +]
        result[QStringLiteral("[+ base[0] . text +]")].append(QStringLiteral("[+ text +]"));[+
        ENDFOR variant +][+
    ENDIF +][+ ENDFOR variants +]
    return result;
}

inline QMap<QString, int> emojiCategories()
{
    return {[+ FOR category ","+]
        {"[+ name +]", [+ start +]}[+
    ENDFOR category +]};
}

}

#endif // EMOJIDATA_H
