1 |
|
2 |
|
3 |
|
4 |
|
5 |
|
6 |
|
7 |
|
8 | parcelRequire = (function (modules, cache, entry, globalName) {
|
9 |
|
10 | var previousRequire = typeof parcelRequire === 'function' && parcelRequire;
|
11 | var nodeRequire = typeof require === 'function' && require;
|
12 |
|
13 | function newRequire(name, jumped) {
|
14 | if (!cache[name]) {
|
15 | if (!modules[name]) {
|
16 |
|
17 |
|
18 |
|
19 | var currentRequire = typeof parcelRequire === 'function' && parcelRequire;
|
20 | if (!jumped && currentRequire) {
|
21 | return currentRequire(name, true);
|
22 | }
|
23 |
|
24 |
|
25 |
|
26 |
|
27 |
|
28 | if (previousRequire) {
|
29 | return previousRequire(name, true);
|
30 | }
|
31 |
|
32 |
|
33 | if (nodeRequire && typeof name === 'string') {
|
34 | return nodeRequire(name);
|
35 | }
|
36 |
|
37 | var err = new Error('Cannot find module \'' + name + '\'');
|
38 | err.code = 'MODULE_NOT_FOUND';
|
39 | throw err;
|
40 | }
|
41 |
|
42 | localRequire.resolve = resolve;
|
43 | localRequire.cache = {};
|
44 |
|
45 | var module = cache[name] = new newRequire.Module(name);
|
46 |
|
47 | modules[name][0].call(module.exports, localRequire, module, module.exports, this);
|
48 | }
|
49 |
|
50 | return cache[name].exports;
|
51 |
|
52 | function localRequire(x){
|
53 | return newRequire(localRequire.resolve(x));
|
54 | }
|
55 |
|
56 | function resolve(x){
|
57 | return modules[name][1][x] || x;
|
58 | }
|
59 | }
|
60 |
|
61 | function Module(moduleName) {
|
62 | this.id = moduleName;
|
63 | this.bundle = newRequire;
|
64 | this.exports = {};
|
65 | }
|
66 |
|
67 | newRequire.isParcelRequire = true;
|
68 | newRequire.Module = Module;
|
69 | newRequire.modules = modules;
|
70 | newRequire.cache = cache;
|
71 | newRequire.parent = previousRequire;
|
72 | newRequire.register = function (id, exports) {
|
73 | modules[id] = [function (require, module) {
|
74 | module.exports = exports;
|
75 | }, {}];
|
76 | };
|
77 |
|
78 | var error;
|
79 | for (var i = 0; i < entry.length; i++) {
|
80 | try {
|
81 | newRequire(entry[i]);
|
82 | } catch (e) {
|
83 |
|
84 | if (!error) {
|
85 | error = e;
|
86 | }
|
87 | }
|
88 | }
|
89 |
|
90 | if (entry.length) {
|
91 |
|
92 |
|
93 | var mainExports = newRequire(entry[entry.length - 1]);
|
94 |
|
95 |
|
96 | if (typeof exports === "object" && typeof module !== "undefined") {
|
97 | module.exports = mainExports;
|
98 |
|
99 |
|
100 | } else if (typeof define === "function" && define.amd) {
|
101 | define(function () {
|
102 | return mainExports;
|
103 | });
|
104 |
|
105 |
|
106 | } else if (globalName) {
|
107 | this[globalName] = mainExports;
|
108 | }
|
109 | }
|
110 |
|
111 |
|
112 | parcelRequire = newRequire;
|
113 |
|
114 | if (error) {
|
115 |
|
116 | throw error;
|
117 | }
|
118 |
|
119 | return newRequire;
|
120 | })
|