text: /**
   * Desc: 表情包数据源
   *
   * Created by WangGanxin on 2018/1/31
   * Email: mail@wangganxin.me
   */
  
  //符号(固定长度5，且唯一)->图片路径
  export const EMOTIONS_DATA = {
    '/{weixiao}': require('./emotions/weixiao.png'), /* 微笑 */
    '/{piezui}': require('./emotions/piezui.png'), /* 撇嘴 */
    '/{se}': require('./emotions/se.png'), /* 色 */
    '/{fadai}': require('./emotions/fadai.png'), /* 发呆 */
    '/{deyi}': require('./emotions/deyi.png'), /* 得意 */
    '/{liulei}': require('./emotions/liulei.png'), /* 流泪 */
    '/{haixiu}': require('./emotions/haixiu.png'), /* 害羞 */
    '/{bizui}': require('./emotions/bizui.png'), /* 闭嘴 */
    '/{shui}': require('./emotions/shui.png'), /* 睡 */
    '/{daku}': require('./emotions/daku.png'), /* 大哭 */
    '/{ganga}': require('./emotions/ganga.png'), /* 尴尬 */
    '/{fanu}': require('./emotions/fanu.png'), /* 发怒 */
    '/{tiaopi}': require('./emotions/tiaopi.png'), /* 调皮 */
    '/{ziya}': require('./emotions/ziya.png'), /* 龇牙 */
    '/{jinya}': require('./emotions/jinya.png'), /* 惊讶 */
    '/{jiong}': require('./emotions/jiong.png'), /* 囧 */
    '/{nanguo}': require('./emotions/nanguo.png'), /* 难过 */
    '/{zhuakuang}': require('./emotions/zhuakuang.png'), /* 抓狂 */
    '/{tu}': require('./emotions/tu.png'), /* 吐 */
    '/{faxiao}': require('./emotions/faxiao.png'), /* 发笑 */
  
    '/{yukuai}': require('./emotions/yukuai.png'), /* 愉快 */
    '/{baiyan}': require('./emotions/baiyan.png'), /* 白眼 */
    '/{aoman}': require('./emotions/aoman.png'), /* 傲慢 */
    '/{kun}': require('./emotions/kun.png'), /* 困 */
    '/{jinkong}': require('./emotions/jinkong.png'), /* 惊恐 */
    '/{liuhan}': require('./emotions/liuhan.png'), /* 流汗 */
    '/{hanxiao}': require('./emotions/hanxiao.png'), /* 憨笑 */
    '/{youxian}': require('./emotions/youxian.png'), /* 悠闲 */
    '/{fendou}': require('./emotions/fendou.png'), /* 奋斗 */
    '/{zhouma}': require('./emotions/zhouma.png'), /* 咒骂 */
    '/{yiwen}': require('./emotions/yiwen.png'), /* 疑问 */
    '/{xu}': require('./emotions/xu.png'), /* 嘘 */
    '/{yun}': require('./emotions/yun.png'), /* 晕 */
    '/{shuai}': require('./emotions/shuai.png'), /* 衰 */
    '/{kulu}': require('./emotions/kulu.png'), /* 骷髅 */
    '/{qiaoda}': require('./emotions/qiaoda.png'), /* 敲打 */
    '/{zaijian}': require('./emotions/zaijian.png'), /* 再见 */
    '/{cahan}': require('./emotions/cahan.png'), /* 擦汗 */
    '/{koubi}': require('./emotions/koubi.png'), /* 抠鼻 */
    '/{guzhang}': require('./emotions/guzhang.png'), /* 鼓掌 */
  
    '/{huaixiao}': require('./emotions/huaixiao.png'), /* 坏笑 */
    '/{zuohengheng}': require('./emotions/zuohengheng.png'),/* 左哼哼 */
    '/{youhengheng}': require('./emotions/youhengheng.png'),/* 右哼哼 */
    '/{haqian}': require('./emotions/haqian.png'),/* 哈欠 */
    '/{bishi}': require('./emotions/bishi.png'),/* 鄙视 */
    '/{weiqu}': require('./emotions/weiqu.png'),/* 委屈 */
    '/{kuaikule}': require('./emotions/kuaikule.png'),/* 快哭了 */
    '/{yinxian}': require('./emotions/yinxian.png'),/* 阴险 */
    '/{qinqin}': require('./emotions/qinqin.png'),/* 亲亲 */
    '/{kelian}': require('./emotions/kelian.png'),/* 可怜 */
    '/{caidao}': require('./emotions/caidao.png'),/* 菜单 */
    '/{xigua}': require('./emotions/xigua.png'),/* 西瓜 */
    '/{pijiu}': require('./emotions/pijiu.png'),/* 啤酒 */
    '/{kafei}': require('./emotions/kafei.png'),/* 咖啡 */
    '/{zhutou}': require('./emotions/zhutou.png'),/* 猪头 */
    '/{meigui}}': require('./emotions/meigui.png'),/* 玫瑰 */
    '/{diaoxie}': require('./emotions/diaoxie.png'),/* 凋谢 */
    '/{zuichun}': require('./emotions/zuichun.png'),/* 嘴唇 */
    '/{aixin}': require('./emotions/aixin.png'),/* 爱心 */
    '/{xinsui}': require('./emotions/xinsui.png'),/* 心碎 */
  
    '/{dangao}': require('./emotions/dangao.png'),/* 蛋糕 */
    '/{zhadan}': require('./emotions/zhadan.png'),/* 炸弹 */
    '/{bianbian}': require('./emotions/bianbian.png'),/* 便便 */
    '/{yueliang}': require('./emotions/yueliang.png'),/* 月亮 */
    '/{taiyang}': require('./emotions/taiyang.png'),/* 太阳 */
    '/{yongbao}': require('./emotions/yongbao.png'),/* 拥抱 */
    '/{qiang}': require('./emotions/qiang.png'),/* 强 */
    '/{ruo}': require('./emotions/ruo.png'),/* 弱 */
    '/{woshou}': require('./emotions/woshou.png'),/* 握手 */
    '/{shengli}': require('./emotions/shengli.png'),/* 胜利 */
    '/{baoquan}': require('./emotions/baoquan.png'),/* 抱拳 */
    '/{gouying}': require('./emotions/gouying.png'),/* 勾引 */
    '/{quantou}': require('./emotions/quantou.png'),/* 拳头 */
    '/{ok}': require('./emotions/ok.png'),/* OK */
    '/{tiaotiao}': require('./emotions/tiaotiao.png'),/* 跳跳 */
    '/{fadou}': require('./emotions/fadou.png'),/* 发抖 */
    '/{aohuo}': require('./emotions/aohuo.png'),/* 怄火 */
    '/{zhuanquan}': require('./emotions/zhuanquan.png'),/* 转圈 */
    '/{gaoxing}': require('./emotions/gaoxing.png'),/* 高兴 */
    '/{kouzhao}': require('./emotions/kouzhao.png'),/* 口罩 */
  
    '/{xiaoku}': require('./emotions/xiaoku.png'),/* 笑哭 */
    '/{tushetou}': require('./emotions/tushetou.png'),/* 吐舌头 */
    '/{shadai}': require('./emotions/shadai.png'),/* 傻呆 */
    '/{kongju}': require('./emotions/kongju.png'),/* 恐惧 */
    '/{beishang}': require('./emotions/beishang.png'),/* 悲伤 */
    '/{buxie}': require('./emotions/buxie.png'),/* 不屑 */
    '/{heiha}': require('./emotions/heiha.png'),/* 嘿哈 */
    '/{wulian}': require('./emotions/wulian.png'),/* 捂脸 */
    '/{jianxiao}': require('./emotions/jianxiao.png'),/* 奸笑 */
    '/{jizhi}': require('./emotions/jizhi.png'),/* 机智 */
    '/{zhoumei}': require('./emotions/zhoumei.png'),/* 皱眉 */
    '/{ye}': require('./emotions/ye.png'),/* 耶 */
    '/{guilian}': require('./emotions/guilian.png'),/* 鬼脸 */
    '/{heshi}': require('./emotions/heshi.png'),/* 合十 */
    '/{jiayou}': require('./emotions/jiayou.png'),/* 加油 */
    '/{qingzhu}': require('./emotions/qingzhu.png'),/* 庆祝 */
    '/{liwu}': require('./emotions/liwu.png'),/* 礼物 */
    '/{hongbao}': require('./emotions/hongbao.png'),/* 红包 */
    '/{fa}': require('./emotions/fa.png'),/* 发 */
    '/{ji}': require('./emotions/ji.png'),/* 鸡 */
  
  };
  
  //符号->中文
  export const EMOTIONS_ZHCN = {
  
    '/{weixiao}':'[微笑]',
    '/{piezui}': '[撇嘴]',
    '/{se}': '[色]',
    '/{fadai}': '[发呆]',
    '/{deyi}': '[得意]',
    '/{liulei}': '[流泪]',
    '/{haixiu}': '[害羞]',
    '/{bizui}': '[闭嘴]',
    '/{shui}': '[睡]',
    '/{daku}': '[大哭]',
    '/{ganga}': '[尴尬]',
    '/{fanu}': '[发怒]',
    '/{tiaopi}': '[调皮]',
    '/{ziya}': '[龇牙]',
    '/{jinya}': '[惊讶]',
    '/{jiong}': '[囧]',
    '/{nanguo}': '[难过]',
    '/{zhuakuang}': '[抓狂]',
    '/{tu}': '[吐]',
    '/{faxiao}': '[发笑]',
  
    '/{yukuai}': '[愉快]',
    '/{baiyan}': '[白眼]',
    '/{aoman}': '[傲慢]',
    '/{kun}': '[困]',
    '/{jinkong}': '[惊恐]',
    '/{liuhan}': '[流汗]',
    '/{hanxiao}': '[憨笑]',
    '/{youxian}': '[悠闲]',
    '/{fendou}': '[奋斗]',
    '/{zhouma}': '[咒骂]',
    '/{yiwen}': '[疑问]',
    '/{xu}': '[嘘]',
    '/{yun}': '[晕]',
    '/{shuai}': '[衰]',
    '/{kulu}': '[骷髅]',
    '/{qiaoda}': '[敲打]',
    '/{zaijian}': '[再见]',
    '/{cahan}': '[擦汗]',
    '/{koubi}': '[抠鼻]',
    '/{guzhang}': '[鼓掌]',
  
    '/{huaixiao}': '[坏笑]',
    '/{zuohengheng}': '[左哼哼]',
    '/{youhengheng}': '[右哼哼]',
    '/{haqian}': '[哈欠]',
    '/{bishi}': '[鄙视]',
    '/{weiqu}': '[委屈]',
    '/{kuaikule}': '[快哭了]',
    '/{yinxian}': '[阴险]',
    '/{qinqin}': '[亲亲]',
    '/{kelian}': '[可怜]',
    '/{caidao}': '[菜单]',
    '/{xigua}':'[西瓜]',
    '/{pijiu}': '[啤酒]',
    '/{kafei}': '[咖啡]',
    '/{zhutou}': '[猪头]',
    '/{meigui}': '[玫瑰]',
    '/{diaoxie}': '[凋谢]',
    '/{zuichun}': '[嘴唇]',
    '/{aixin}': '[爱心]',
    '/{xinsui}': '[心碎]',
  
    '/{dangao}': '[蛋糕]',
    '/{zhadan}': '[炸弹]',
    '/{bianbian}': '[便便]',
    '/{yueliang}': '[月亮]',
    '/{taiyang}': '[太阳]',
    '/{yongbao}': '[拥抱]',
    '/{qiang}': '[强]',
    '/{ruo}': '[弱]',
    '/{woshou}': '[握手]',
    '/{shengli}':'[胜利]',
    '/{baoquan}': '[抱拳]',
    '/{gouying}': '[勾引]',
    '/{quantou}': '[拳头]',
    '/{ok}': '[OK]',
    '/{tiaotiao}': '[跳跳]',
    '/{fadou}': '[发抖]',
    '/{aohuo}': '[怄火]',
    '/{zhuanquan}': '[转圈]',
    '/{gaoxing}': '[高兴]',
    '/{kouzhao}': '[口罩]',
  
    '/{xiaoku}':  '[笑哭]',
    '/{tushetou}':  '[吐舌头]',
    '/{shadai}':  '[傻呆]',
    '/{kongju}':  '[恐惧]',
    '/{beishang}':  '[悲伤]',
    '/{buxie}': '[不屑]',
    '/{heiha}':  '[嘿哈]',
    '/{wulian}':  '[捂脸]',
    '/{jianxiao}':  '[奸笑]',
    '/{jizhi}':  '[机智]',
    '/{zhoumei}':  '[皱眉]',
    '/{ye}':  '[耶]',
    '/{guilian}':  '[鬼脸]',
    '/{heshi}':  '[合十]',
    '/{jiayou}':  '[加油 ]',
    '/{qingzhu}':  '[庆祝]',
    '/{liwu}':  '[礼物]',
    '/{hongbao}':  '[红包]',
    '/{fa}':  '[发]',
    '/{ji}':  '[鸡]',
  
  };
  
  //反转对象的键值
  export const invertKeyValues = obj =>
    Object.keys(obj).reduce((acc, key) => {
      acc[obj[key]] = key;
      return acc;
    }, {});
  
  