Dashboard sipadu mbip
您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

123456789101112131415161718
  1. "use strict";
  2. Object.defineProperty(exports, "__esModule", {
  3. value: true
  4. });
  5. exports.default = getMatchFactory;
  6. function getMatchFactory(map) {
  7. return function getMatch(args) {
  8. const match = args.reduce((list, arg, i) => {
  9. return list.filter(keyword => keyword[1][i] === arg);
  10. }, map);
  11. if (match.length) {
  12. return match[0][0];
  13. }
  14. return false;
  15. };
  16. }
  17. module.exports = exports["default"];