UNPKG

4.9 kBJavaScriptView Raw
1(function webpackUniversalModuleDefinition(root, factory) {
2 if(typeof exports === 'object' && typeof module === 'object')
3 module.exports = factory();
4 else if(typeof define === 'function' && define.amd)
5 define([], factory);
6 else if(typeof exports === 'object')
7 exports["gitHubNames"] = factory();
8 else
9 root["gitHubNames"] = factory();
10})(this, function() {
11return /******/ (function(modules) { // webpackBootstrap
12/******/ // The module cache
13/******/ var installedModules = {};
14/******/
15/******/ // The require function
16/******/ function __webpack_require__(moduleId) {
17/******/
18/******/ // Check if module is in cache
19/******/ if(installedModules[moduleId])
20/******/ return installedModules[moduleId].exports;
21/******/
22/******/ // Create a new module (and put it into the cache)
23/******/ var module = installedModules[moduleId] = {
24/******/ exports: {},
25/******/ id: moduleId,
26/******/ loaded: false
27/******/ };
28/******/
29/******/ // Execute the module function
30/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__);
31/******/
32/******/ // Flag the module as loaded
33/******/ module.loaded = true;
34/******/
35/******/ // Return the exports of the module
36/******/ return module.exports;
37/******/ }
38/******/
39/******/
40/******/ // expose the modules object (__webpack_modules__)
41/******/ __webpack_require__.m = modules;
42/******/
43/******/ // expose the module cache
44/******/ __webpack_require__.c = installedModules;
45/******/
46/******/ // __webpack_public_path__
47/******/ __webpack_require__.p = "";
48/******/
49/******/ // Load entry module and return exports
50/******/ return __webpack_require__(0);
51/******/ })
52/************************************************************************/
53/******/ ([
54/* 0 */
55/***/ function(module, exports, __webpack_require__) {
56
57 'use strict';
58
59 Object.defineProperty(exports, "__esModule", {
60 value: true
61 });
62
63 var _uniqueRandomArray = __webpack_require__(1);
64
65 var _uniqueRandomArray2 = _interopRequireDefault(_uniqueRandomArray);
66
67 function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
68
69 var githubNames = __webpack_require__(3);
70
71 var mainExport = {
72 all: githubNames,
73 random: (0, _uniqueRandomArray2.default)(githubNames)
74 };
75
76 exports.default = mainExport;
77
78 module.exports = mainExport; // for CommonJS compatibility
79
80/***/ },
81/* 1 */
82/***/ function(module, exports, __webpack_require__) {
83
84 'use strict';
85 var uniqueRandom = __webpack_require__(2);
86
87 module.exports = function (arr) {
88 var rand = uniqueRandom(0, arr.length - 1);
89
90 return function () {
91 return arr[rand()];
92 };
93 };
94
95
96/***/ },
97/* 2 */
98/***/ function(module, exports) {
99
100 'use strict';
101 module.exports = function (min, max) {
102 var prev;
103 return function rand() {
104 var num = Math.floor(Math.random() * (max - min + 1) + min);
105 return prev = num === prev && min !== max ? rand() : num;
106 };
107 };
108
109
110/***/ },
111/* 3 */
112/***/ function(module, exports) {
113
114 module.exports = [
115 "aeimbbmzyrzupnyffuttprpfaxqeae",
116 "fnivdbewuxnvwcbfutgmrrpvgajtan",
117 "cvwezdyjvpxqtqhnjmzfjjwnidmear",
118 "fepxphpnkzbfbcnhrxugixqrvunyer",
119 "wxjxdcfrmppthpcrezgnawabdgqikc",
120 "izfxexxmwbvwxxpbfcixgrztpbkhey",
121 "igugekzvqcximfyddvuwpfwpbatbgt",
122 "dmxaxxgafrrdaugtvgyixtwxihhfea",
123 "nwcjjbvhgncgytzhrjkxdjxmkcrwjf",
124 "fcdpayecaftpayaktpgpamvbmyrwit",
125 "hgzkiahdzqppfxzrxubmmyjebwfjff",
126 "rmxhryhgwpkpphcgcftcbmugjgfzuz",
127 "ebriibfrvcmcrfcnhxuttruydhbjbu",
128 "jerrubatimcymqgbgrrigitqjpvcye",
129 "gmpuuyiugjcnvitqxtpemkhqfkhvxc",
130 "ebthfdaxyvjtdnzpgaxcmapqanbjfh",
131 "xagkwvwftfndztiaxwbhwdxeehibmj",
132 "hkathdhuyurkypmpjnmamizzcctani",
133 "hfgpudgrymvadpmwxciccyjiknrafd",
134 "hafmnahhghdnyxuikqvcihkgqmpidq",
135 "kkhbnpadapqwyrrftiunwbgybkikjv",
136 "pcugbrgyzfvnbdhkvkeiqdzrhyefcn",
137 "urifgefigwapwacheaemzcawxezybv",
138 "darqqiazrdcvkdebegyndmtgekvkxy",
139 "vvuzqpzytmyqfcqbikpnyqbzbffxcp",
140 "xkdphgyincarcqxmaybmrhvkrwjchh",
141 "jbvxwinhyrdxdeetfhrqyimwfvapbe",
142 "jzmqkkdyeydttmgdrqbhpzzeptecur",
143 "bnwuyefzyymfzaipmtwxzzzyrjmihc",
144 "mccjdibdgzpxyrmjewxvmjkkkufzci",
145 "aydyxfddfdeuydabcbucatacwemrhy",
146 "tnzkfryncarhptxjgecqqmiegcmzrr",
147 "vkkvkxqdwaduwjtxdvqrjajnetxibk",
148 "pzxjbtcfutkznjyretfrbdrgevgyaa",
149 "thehtfuvzafenabjpyazntpeefjyqf",
150 "hvypmtravjqpmqebjbemtdruwprbvf",
151 "jyxmpjebjykcpzfqrrmzwxzhfirkvd",
152 "jzmfemugwqqipxphamxgrzabgfwkej",
153 "wygxgirjmnmubaaigipezpnrmrnzdy",
154 "fhgmuffaptbgcwhbcbiegnzuxykvvg",
155 "fjhzwehmppcywwnqxcbymtrvkfzthy",
156 "exbkkkvxhafjjrnibrtnyrdncywjvg",
157 "xzpwvidxetdhfkpxunuwwehhwyigqz",
158 "jneiukcpteeqqwngfmzpxabkzxkrav",
159 "rvxiyadycahxudjxicehnpxyhzpugv",
160 "fdqkqjzqhgcbybzypkgtktmnpyevgf",
161 "aqupgwhpenbnadzrckvtkbfvdkygui",
162 "azzttnwyfzkkqjchmvaazggpuvtqym",
163 "grvfmjwdhqtqdbpucexkghepzcyahy",
164 "fbgdaqvkjrwckgwfjgvvrvrttvrtak"
165 ];
166
167/***/ }
168/******/ ])
169});
170;
171//# sourceMappingURL=index.umd.js.map
\No newline at end of file