--- .gitignore
+++ .gitignore
... | ... | @@ -1,2 +1,4 @@ |
1 | 1 |
client/build/ |
2 |
-server/logs/(파일 끝에 줄바꿈 문자 없음) |
|
2 |
+server/logs/ |
|
3 |
+node_modules |
|
4 |
+ |
--- Global.js
+++ Global.js
... | ... | @@ -3,7 +3,7 @@ |
3 | 3 |
const BASE_DIR = __dirname; |
4 | 4 |
const LOG_BASE_DIR = `${__dirname}/server/logs`; |
5 | 5 |
const SERVICE_STATUS = process.env.NODE_ENV;//development, production |
6 |
-const PORT = 80; |
|
6 |
+const PORT = 8000; |
|
7 | 7 |
|
8 | 8 |
module.exports = { |
9 | 9 |
PROJECT_NAME, |
--- node_modules/.package-lock.json
+++ node_modules/.package-lock.json
This diff is too big to display. |
--- node_modules/@babel/runtime/helpers/AsyncGenerator.js
+++ node_modules/@babel/runtime/helpers/AsyncGenerator.js
... | ... | @@ -1,20 +1,17 @@ |
1 | 1 |
var OverloadYield = require("./OverloadYield.js"); |
2 |
- |
|
3 | 2 |
function AsyncGenerator(gen) { |
4 | 3 |
var front, back; |
5 |
- |
|
6 | 4 |
function resume(key, arg) { |
7 | 5 |
try { |
8 | 6 |
var result = gen[key](arg), |
9 |
- value = result.value, |
|
10 |
- overloaded = value instanceof OverloadYield; |
|
7 |
+ value = result.value, |
|
8 |
+ overloaded = value instanceof OverloadYield; |
|
11 | 9 |
Promise.resolve(overloaded ? value.v : value).then(function (arg) { |
12 | 10 |
if (overloaded) { |
13 | 11 |
var nextKey = "return" === key ? "return" : "next"; |
14 | 12 |
if (!value.k || arg.done) return resume(nextKey, arg); |
15 | 13 |
arg = gen[nextKey](arg).value; |
16 | 14 |
} |
17 |
- |
|
18 | 15 |
settle(result.done ? "return" : "normal", arg); |
19 | 16 |
}, function (err) { |
20 | 17 |
resume("throw", err); |
... | ... | @@ -23,7 +20,6 @@ |
23 | 20 |
settle("throw", err); |
24 | 21 |
} |
25 | 22 |
} |
26 |
- |
|
27 | 23 |
function settle(type, value) { |
28 | 24 |
switch (type) { |
29 | 25 |
case "return": |
... | ... | @@ -32,21 +28,17 @@ |
32 | 28 |
done: !0 |
33 | 29 |
}); |
34 | 30 |
break; |
35 |
- |
|
36 | 31 |
case "throw": |
37 | 32 |
front.reject(value); |
38 | 33 |
break; |
39 |
- |
|
40 | 34 |
default: |
41 | 35 |
front.resolve({ |
42 | 36 |
value: value, |
43 | 37 |
done: !1 |
44 | 38 |
}); |
45 | 39 |
} |
46 |
- |
|
47 | 40 |
(front = front.next) ? resume(front.key, front.arg) : back = null; |
48 | 41 |
} |
49 |
- |
|
50 | 42 |
this._invoke = function (key, arg) { |
51 | 43 |
return new Promise(function (resolve, reject) { |
52 | 44 |
var request = { |
... | ... | @@ -60,7 +52,6 @@ |
60 | 52 |
}); |
61 | 53 |
}, "function" != typeof gen["return"] && (this["return"] = void 0); |
62 | 54 |
} |
63 |
- |
|
64 | 55 |
AsyncGenerator.prototype["function" == typeof Symbol && Symbol.asyncIterator || "@@asyncIterator"] = function () { |
65 | 56 |
return this; |
66 | 57 |
}, AsyncGenerator.prototype.next = function (arg) { |
--- node_modules/@babel/runtime/helpers/AwaitValue.js
+++ node_modules/@babel/runtime/helpers/AwaitValue.js
... | ... | @@ -1,5 +1,4 @@ |
1 | 1 |
function _AwaitValue(value) { |
2 | 2 |
this.wrapped = value; |
3 | 3 |
} |
4 |
- |
|
5 | 4 |
module.exports = _AwaitValue, module.exports.__esModule = true, module.exports["default"] = module.exports;(파일 끝에 줄바꿈 문자 없음) |
--- node_modules/@babel/runtime/helpers/OverloadYield.js
+++ node_modules/@babel/runtime/helpers/OverloadYield.js
... | ... | @@ -1,5 +1,4 @@ |
1 | 1 |
function _OverloadYield(value, kind) { |
2 | 2 |
this.v = value, this.k = kind; |
3 | 3 |
} |
4 |
- |
|
5 | 4 |
module.exports = _OverloadYield, module.exports.__esModule = true, module.exports["default"] = module.exports;(파일 끝에 줄바꿈 문자 없음) |
--- node_modules/@babel/runtime/helpers/applyDecoratedDescriptor.js
+++ node_modules/@babel/runtime/helpers/applyDecoratedDescriptor.js
... | ... | @@ -5,26 +5,20 @@ |
5 | 5 |
}); |
6 | 6 |
desc.enumerable = !!desc.enumerable; |
7 | 7 |
desc.configurable = !!desc.configurable; |
8 |
- |
|
9 | 8 |
if ('value' in desc || desc.initializer) { |
10 | 9 |
desc.writable = true; |
11 | 10 |
} |
12 |
- |
|
13 | 11 |
desc = decorators.slice().reverse().reduce(function (desc, decorator) { |
14 | 12 |
return decorator(target, property, desc) || desc; |
15 | 13 |
}, desc); |
16 |
- |
|
17 | 14 |
if (context && desc.initializer !== void 0) { |
18 | 15 |
desc.value = desc.initializer ? desc.initializer.call(context) : void 0; |
19 | 16 |
desc.initializer = undefined; |
20 | 17 |
} |
21 |
- |
|
22 | 18 |
if (desc.initializer === void 0) { |
23 | 19 |
Object.defineProperty(target, property, desc); |
24 | 20 |
desc = null; |
25 | 21 |
} |
26 |
- |
|
27 | 22 |
return desc; |
28 | 23 |
} |
29 |
- |
|
30 | 24 |
module.exports = _applyDecoratedDescriptor, module.exports.__esModule = true, module.exports["default"] = module.exports;(파일 끝에 줄바꿈 문자 없음) |
--- node_modules/@babel/runtime/helpers/applyDecs.js
+++ node_modules/@babel/runtime/helpers/applyDecs.js
... | ... | @@ -1,5 +1,4 @@ |
1 | 1 |
var _typeof = require("./typeof.js")["default"]; |
2 |
- |
|
3 | 2 |
function old_createMetadataMethodsForProperty(metadataMap, kind, property, decoratorFinishedRef) { |
4 | 3 |
return { |
5 | 4 |
getMetadata: function getMetadata(key) { |
... | ... | @@ -16,7 +15,6 @@ |
16 | 15 |
setMetadata: function setMetadata(key, value) { |
17 | 16 |
old_assertNotFinished(decoratorFinishedRef, "setMetadata"), old_assertMetadataKey(key); |
18 | 17 |
var metadataForKey = metadataMap[key]; |
19 |
- |
|
20 | 18 |
if (void 0 === metadataForKey && (metadataForKey = metadataMap[key] = {}), 1 === kind) { |
21 | 19 |
var pub = metadataForKey["public"]; |
22 | 20 |
void 0 === pub && (pub = metadataForKey["public"] = {}), pub[property] = value; |
... | ... | @@ -27,76 +25,62 @@ |
27 | 25 |
} |
28 | 26 |
}; |
29 | 27 |
} |
30 |
- |
|
31 | 28 |
function old_convertMetadataMapToFinal(obj, metadataMap) { |
32 | 29 |
var parentMetadataMap = obj[Symbol.metadata || Symbol["for"]("Symbol.metadata")], |
33 |
- metadataKeys = Object.getOwnPropertySymbols(metadataMap); |
|
34 |
- |
|
30 |
+ metadataKeys = Object.getOwnPropertySymbols(metadataMap); |
|
35 | 31 |
if (0 !== metadataKeys.length) { |
36 | 32 |
for (var i = 0; i < metadataKeys.length; i++) { |
37 | 33 |
var key = metadataKeys[i], |
38 |
- metaForKey = metadataMap[key], |
|
39 |
- parentMetaForKey = parentMetadataMap ? parentMetadataMap[key] : null, |
|
40 |
- pub = metaForKey["public"], |
|
41 |
- parentPub = parentMetaForKey ? parentMetaForKey["public"] : null; |
|
34 |
+ metaForKey = metadataMap[key], |
|
35 |
+ parentMetaForKey = parentMetadataMap ? parentMetadataMap[key] : null, |
|
36 |
+ pub = metaForKey["public"], |
|
37 |
+ parentPub = parentMetaForKey ? parentMetaForKey["public"] : null; |
|
42 | 38 |
pub && parentPub && Object.setPrototypeOf(pub, parentPub); |
43 | 39 |
var priv = metaForKey["private"]; |
44 |
- |
|
45 | 40 |
if (priv) { |
46 | 41 |
var privArr = Array.from(priv.values()), |
47 |
- parentPriv = parentMetaForKey ? parentMetaForKey["private"] : null; |
|
42 |
+ parentPriv = parentMetaForKey ? parentMetaForKey["private"] : null; |
|
48 | 43 |
parentPriv && (privArr = privArr.concat(parentPriv)), metaForKey["private"] = privArr; |
49 | 44 |
} |
50 |
- |
|
51 | 45 |
parentMetaForKey && Object.setPrototypeOf(metaForKey, parentMetaForKey); |
52 | 46 |
} |
53 |
- |
|
54 | 47 |
parentMetadataMap && Object.setPrototypeOf(metadataMap, parentMetadataMap), obj[Symbol.metadata || Symbol["for"]("Symbol.metadata")] = metadataMap; |
55 | 48 |
} |
56 | 49 |
} |
57 |
- |
|
58 | 50 |
function old_createAddInitializerMethod(initializers, decoratorFinishedRef) { |
59 | 51 |
return function (initializer) { |
60 | 52 |
old_assertNotFinished(decoratorFinishedRef, "addInitializer"), old_assertCallable(initializer, "An initializer"), initializers.push(initializer); |
61 | 53 |
}; |
62 | 54 |
} |
63 |
- |
|
64 | 55 |
function old_memberDec(dec, name, desc, metadataMap, initializers, kind, isStatic, isPrivate, value) { |
65 | 56 |
var kindStr; |
66 |
- |
|
67 | 57 |
switch (kind) { |
68 | 58 |
case 1: |
69 | 59 |
kindStr = "accessor"; |
70 | 60 |
break; |
71 |
- |
|
72 | 61 |
case 2: |
73 | 62 |
kindStr = "method"; |
74 | 63 |
break; |
75 |
- |
|
76 | 64 |
case 3: |
77 | 65 |
kindStr = "getter"; |
78 | 66 |
break; |
79 |
- |
|
80 | 67 |
case 4: |
81 | 68 |
kindStr = "setter"; |
82 | 69 |
break; |
83 |
- |
|
84 | 70 |
default: |
85 | 71 |
kindStr = "field"; |
86 | 72 |
} |
87 |
- |
|
88 | 73 |
var metadataKind, |
89 |
- metadataName, |
|
90 |
- ctx = { |
|
91 |
- kind: kindStr, |
|
92 |
- name: isPrivate ? "#" + name : name, |
|
93 |
- isStatic: isStatic, |
|
94 |
- isPrivate: isPrivate |
|
95 |
- }, |
|
96 |
- decoratorFinishedRef = { |
|
97 |
- v: !1 |
|
98 |
- }; |
|
99 |
- |
|
74 |
+ metadataName, |
|
75 |
+ ctx = { |
|
76 |
+ kind: kindStr, |
|
77 |
+ name: isPrivate ? "#" + name : name, |
|
78 |
+ isStatic: isStatic, |
|
79 |
+ isPrivate: isPrivate |
|
80 |
+ }, |
|
81 |
+ decoratorFinishedRef = { |
|
82 |
+ v: !1 |
|
83 |
+ }; |
|
100 | 84 |
if (0 !== kind && (ctx.addInitializer = old_createAddInitializerMethod(initializers, decoratorFinishedRef)), isPrivate) { |
101 | 85 |
metadataKind = 2, metadataName = Symbol(name); |
102 | 86 |
var access = {}; |
... | ... | @@ -108,29 +92,23 @@ |
108 | 92 |
desc.set.call(this, v); |
109 | 93 |
})), ctx.access = access; |
110 | 94 |
} else metadataKind = 1, metadataName = name; |
111 |
- |
|
112 | 95 |
try { |
113 | 96 |
return dec(value, Object.assign(ctx, old_createMetadataMethodsForProperty(metadataMap, metadataKind, metadataName, decoratorFinishedRef))); |
114 | 97 |
} finally { |
115 | 98 |
decoratorFinishedRef.v = !0; |
116 | 99 |
} |
117 | 100 |
} |
118 |
- |
|
119 | 101 |
function old_assertNotFinished(decoratorFinishedRef, fnName) { |
120 | 102 |
if (decoratorFinishedRef.v) throw new Error("attempted to call " + fnName + " after decoration was finished"); |
121 | 103 |
} |
122 |
- |
|
123 | 104 |
function old_assertMetadataKey(key) { |
124 | 105 |
if ("symbol" != _typeof(key)) throw new TypeError("Metadata keys must be symbols, received: " + key); |
125 | 106 |
} |
126 |
- |
|
127 | 107 |
function old_assertCallable(fn, hint) { |
128 | 108 |
if ("function" != typeof fn) throw new TypeError(hint + " must be a function"); |
129 | 109 |
} |
130 |
- |
|
131 | 110 |
function old_assertValidReturnValue(kind, value) { |
132 | 111 |
var type = _typeof(value); |
133 |
- |
|
134 | 112 |
if (1 === kind) { |
135 | 113 |
if ("object" !== type || null === value) throw new TypeError("accessor decorators must return an object with get, set, or init properties or void 0"); |
136 | 114 |
void 0 !== value.get && old_assertCallable(value.get, "accessor.get"), void 0 !== value.set && old_assertCallable(value.set, "accessor.set"), void 0 !== value.init && old_assertCallable(value.init, "accessor.init"), void 0 !== value.initializer && old_assertCallable(value.initializer, "accessor.initializer"); |
... | ... | @@ -139,20 +117,18 @@ |
139 | 117 |
throw hint = 0 === kind ? "field" : 10 === kind ? "class" : "method", new TypeError(hint + " decorators must return a function or void 0"); |
140 | 118 |
} |
141 | 119 |
} |
142 |
- |
|
143 | 120 |
function old_getInit(desc) { |
144 | 121 |
var initializer; |
145 | 122 |
return null == (initializer = desc.init) && (initializer = desc.initializer) && "undefined" != typeof console && console.warn(".initializer has been renamed to .init as of March 2022"), initializer; |
146 | 123 |
} |
147 |
- |
|
148 | 124 |
function old_applyMemberDec(ret, base, decInfo, name, kind, isStatic, isPrivate, metadataMap, initializers) { |
149 | 125 |
var desc, |
150 |
- initializer, |
|
151 |
- value, |
|
152 |
- newValue, |
|
153 |
- get, |
|
154 |
- set, |
|
155 |
- decs = decInfo[0]; |
|
126 |
+ initializer, |
|
127 |
+ value, |
|
128 |
+ newValue, |
|
129 |
+ get, |
|
130 |
+ set, |
|
131 |
+ decs = decInfo[0]; |
|
156 | 132 |
if (isPrivate ? desc = 0 === kind || 1 === kind ? { |
157 | 133 |
get: decInfo[3], |
158 | 134 |
set: decInfo[4] |
... | ... | @@ -175,30 +151,25 @@ |
175 | 151 |
set: set |
176 | 152 |
}) : value = newValue, void 0 !== newInit && (void 0 === initializer ? initializer = newInit : "function" == typeof initializer ? initializer = [initializer, newInit] : initializer.push(newInit)); |
177 | 153 |
} |
178 |
- |
|
179 | 154 |
if (0 === kind || 1 === kind) { |
180 | 155 |
if (void 0 === initializer) initializer = function initializer(instance, init) { |
181 | 156 |
return init; |
182 | 157 |
};else if ("function" != typeof initializer) { |
183 | 158 |
var ownInitializers = initializer; |
184 |
- |
|
185 | 159 |
initializer = function initializer(instance, init) { |
186 | 160 |
for (var value = init, i = 0; i < ownInitializers.length; i++) { |
187 | 161 |
value = ownInitializers[i].call(instance, value); |
188 | 162 |
} |
189 |
- |
|
190 | 163 |
return value; |
191 | 164 |
}; |
192 | 165 |
} else { |
193 | 166 |
var originalInitializer = initializer; |
194 |
- |
|
195 | 167 |
initializer = function initializer(instance, init) { |
196 | 168 |
return originalInitializer.call(instance, init); |
197 | 169 |
}; |
198 | 170 |
} |
199 | 171 |
ret.push(initializer); |
200 | 172 |
} |
201 |
- |
|
202 | 173 |
0 !== kind && (1 === kind ? (desc.get = value.get, desc.set = value.set) : 2 === kind ? desc.value = value : 3 === kind ? desc.get = value : 4 === kind && (desc.set = value), isPrivate ? 1 === kind ? (ret.push(function (instance, args) { |
203 | 174 |
return value.get.call(instance, args); |
204 | 175 |
}), ret.push(function (instance, args) { |
... | ... | @@ -207,65 +178,54 @@ |
207 | 178 |
return value.call(instance, args); |
208 | 179 |
}) : Object.defineProperty(base, name, desc)); |
209 | 180 |
} |
210 |
- |
|
211 | 181 |
function old_applyMemberDecs(ret, Class, protoMetadataMap, staticMetadataMap, decInfos) { |
212 | 182 |
for (var protoInitializers, staticInitializers, existingProtoNonFields = new Map(), existingStaticNonFields = new Map(), i = 0; i < decInfos.length; i++) { |
213 | 183 |
var decInfo = decInfos[i]; |
214 |
- |
|
215 | 184 |
if (Array.isArray(decInfo)) { |
216 | 185 |
var base, |
217 |
- metadataMap, |
|
218 |
- initializers, |
|
219 |
- kind = decInfo[1], |
|
220 |
- name = decInfo[2], |
|
221 |
- isPrivate = decInfo.length > 3, |
|
222 |
- isStatic = kind >= 5; |
|
223 |
- |
|
186 |
+ metadataMap, |
|
187 |
+ initializers, |
|
188 |
+ kind = decInfo[1], |
|
189 |
+ name = decInfo[2], |
|
190 |
+ isPrivate = decInfo.length > 3, |
|
191 |
+ isStatic = kind >= 5; |
|
224 | 192 |
if (isStatic ? (base = Class, metadataMap = staticMetadataMap, 0 !== (kind -= 5) && (initializers = staticInitializers = staticInitializers || [])) : (base = Class.prototype, metadataMap = protoMetadataMap, 0 !== kind && (initializers = protoInitializers = protoInitializers || [])), 0 !== kind && !isPrivate) { |
225 | 193 |
var existingNonFields = isStatic ? existingStaticNonFields : existingProtoNonFields, |
226 |
- existingKind = existingNonFields.get(name) || 0; |
|
194 |
+ existingKind = existingNonFields.get(name) || 0; |
|
227 | 195 |
if (!0 === existingKind || 3 === existingKind && 4 !== kind || 4 === existingKind && 3 !== kind) throw new Error("Attempted to decorate a public method/accessor that has the same name as a previously decorated public method/accessor. This is not currently supported by the decorators plugin. Property name was: " + name); |
228 | 196 |
!existingKind && kind > 2 ? existingNonFields.set(name, kind) : existingNonFields.set(name, !0); |
229 | 197 |
} |
230 |
- |
|
231 | 198 |
old_applyMemberDec(ret, base, decInfo, name, kind, isStatic, isPrivate, metadataMap, initializers); |
232 | 199 |
} |
233 | 200 |
} |
234 |
- |
|
235 | 201 |
old_pushInitializers(ret, protoInitializers), old_pushInitializers(ret, staticInitializers); |
236 | 202 |
} |
237 |
- |
|
238 | 203 |
function old_pushInitializers(ret, initializers) { |
239 | 204 |
initializers && ret.push(function (instance) { |
240 | 205 |
for (var i = 0; i < initializers.length; i++) { |
241 | 206 |
initializers[i].call(instance); |
242 | 207 |
} |
243 |
- |
|
244 | 208 |
return instance; |
245 | 209 |
}); |
246 | 210 |
} |
247 |
- |
|
248 | 211 |
function old_applyClassDecs(ret, targetClass, metadataMap, classDecs) { |
249 | 212 |
if (classDecs.length > 0) { |
250 | 213 |
for (var initializers = [], newClass = targetClass, name = targetClass.name, i = classDecs.length - 1; i >= 0; i--) { |
251 | 214 |
var decoratorFinishedRef = { |
252 | 215 |
v: !1 |
253 | 216 |
}; |
254 |
- |
|
255 | 217 |
try { |
256 | 218 |
var ctx = Object.assign({ |
257 |
- kind: "class", |
|
258 |
- name: name, |
|
259 |
- addInitializer: old_createAddInitializerMethod(initializers, decoratorFinishedRef) |
|
260 |
- }, old_createMetadataMethodsForProperty(metadataMap, 0, name, decoratorFinishedRef)), |
|
261 |
- nextNewClass = classDecs[i](newClass, ctx); |
|
219 |
+ kind: "class", |
|
220 |
+ name: name, |
|
221 |
+ addInitializer: old_createAddInitializerMethod(initializers, decoratorFinishedRef) |
|
222 |
+ }, old_createMetadataMethodsForProperty(metadataMap, 0, name, decoratorFinishedRef)), |
|
223 |
+ nextNewClass = classDecs[i](newClass, ctx); |
|
262 | 224 |
} finally { |
263 | 225 |
decoratorFinishedRef.v = !0; |
264 | 226 |
} |
265 |
- |
|
266 | 227 |
void 0 !== nextNewClass && (old_assertValidReturnValue(10, nextNewClass), newClass = nextNewClass); |
267 | 228 |
} |
268 |
- |
|
269 | 229 |
ret.push(newClass, function () { |
270 | 230 |
for (var i = 0; i < initializers.length; i++) { |
271 | 231 |
initializers[i].call(newClass); |
... | ... | @@ -273,12 +233,10 @@ |
273 | 233 |
}); |
274 | 234 |
} |
275 | 235 |
} |
276 |
- |
|
277 | 236 |
function applyDecs(targetClass, memberDecs, classDecs) { |
278 | 237 |
var ret = [], |
279 |
- staticMetadataMap = {}, |
|
280 |
- protoMetadataMap = {}; |
|
238 |
+ staticMetadataMap = {}, |
|
239 |
+ protoMetadataMap = {}; |
|
281 | 240 |
return old_applyMemberDecs(ret, targetClass, protoMetadataMap, staticMetadataMap, memberDecs), old_convertMetadataMapToFinal(targetClass.prototype, protoMetadataMap), old_applyClassDecs(ret, targetClass, staticMetadataMap, classDecs), old_convertMetadataMapToFinal(targetClass, staticMetadataMap), ret; |
282 | 241 |
} |
283 |
- |
|
284 | 242 |
module.exports = applyDecs, module.exports.__esModule = true, module.exports["default"] = module.exports;(파일 끝에 줄바꿈 문자 없음) |
--- node_modules/@babel/runtime/helpers/applyDecs2203.js
+++ node_modules/@babel/runtime/helpers/applyDecs2203.js
... | ... | @@ -1,46 +1,38 @@ |
1 | 1 |
var _typeof = require("./typeof.js")["default"]; |
2 |
- |
|
3 | 2 |
function createAddInitializerMethod(initializers, decoratorFinishedRef) { |
4 | 3 |
return function (initializer) { |
5 | 4 |
assertNotFinished(decoratorFinishedRef, "addInitializer"), assertCallable(initializer, "An initializer"), initializers.push(initializer); |
6 | 5 |
}; |
7 | 6 |
} |
8 |
- |
|
9 | 7 |
function memberDec(dec, name, desc, initializers, kind, isStatic, isPrivate, value) { |
10 | 8 |
var kindStr; |
11 |
- |
|
12 | 9 |
switch (kind) { |
13 | 10 |
case 1: |
14 | 11 |
kindStr = "accessor"; |
15 | 12 |
break; |
16 |
- |
|
17 | 13 |
case 2: |
18 | 14 |
kindStr = "method"; |
19 | 15 |
break; |
20 |
- |
|
21 | 16 |
case 3: |
22 | 17 |
kindStr = "getter"; |
23 | 18 |
break; |
24 |
- |
|
25 | 19 |
case 4: |
26 | 20 |
kindStr = "setter"; |
27 | 21 |
break; |
28 |
- |
|
29 | 22 |
default: |
30 | 23 |
kindStr = "field"; |
31 | 24 |
} |
32 |
- |
|
33 | 25 |
var get, |
34 |
- set, |
|
35 |
- ctx = { |
|
36 |
- kind: kindStr, |
|
37 |
- name: isPrivate ? "#" + name : name, |
|
38 |
- "static": isStatic, |
|
39 |
- "private": isPrivate |
|
40 |
- }, |
|
41 |
- decoratorFinishedRef = { |
|
42 |
- v: !1 |
|
43 |
- }; |
|
26 |
+ set, |
|
27 |
+ ctx = { |
|
28 |
+ kind: kindStr, |
|
29 |
+ name: isPrivate ? "#" + name : name, |
|
30 |
+ "static": isStatic, |
|
31 |
+ "private": isPrivate |
|
32 |
+ }, |
|
33 |
+ decoratorFinishedRef = { |
|
34 |
+ v: !1 |
|
35 |
+ }; |
|
44 | 36 |
0 !== kind && (ctx.addInitializer = createAddInitializerMethod(initializers, decoratorFinishedRef)), 0 === kind ? isPrivate ? (get = desc.get, set = desc.set) : (get = function get() { |
45 | 37 |
return this[name]; |
46 | 38 |
}, set = function set(v) { |
... | ... | @@ -59,25 +51,20 @@ |
59 | 51 |
} : { |
60 | 52 |
set: set |
61 | 53 |
}; |
62 |
- |
|
63 | 54 |
try { |
64 | 55 |
return dec(value, ctx); |
65 | 56 |
} finally { |
66 | 57 |
decoratorFinishedRef.v = !0; |
67 | 58 |
} |
68 | 59 |
} |
69 |
- |
|
70 | 60 |
function assertNotFinished(decoratorFinishedRef, fnName) { |
71 | 61 |
if (decoratorFinishedRef.v) throw new Error("attempted to call " + fnName + " after decoration was finished"); |
72 | 62 |
} |
73 |
- |
|
74 | 63 |
function assertCallable(fn, hint) { |
75 | 64 |
if ("function" != typeof fn) throw new TypeError(hint + " must be a function"); |
76 | 65 |
} |
77 |
- |
|
78 | 66 |
function assertValidReturnValue(kind, value) { |
79 | 67 |
var type = _typeof(value); |
80 |
- |
|
81 | 68 |
if (1 === kind) { |
82 | 69 |
if ("object" !== type || null === value) throw new TypeError("accessor decorators must return an object with get, set, or init properties or void 0"); |
83 | 70 |
void 0 !== value.get && assertCallable(value.get, "accessor.get"), void 0 !== value.set && assertCallable(value.set, "accessor.set"), void 0 !== value.init && assertCallable(value.init, "accessor.init"); |
... | ... | @@ -86,15 +73,14 @@ |
86 | 73 |
throw hint = 0 === kind ? "field" : 10 === kind ? "class" : "method", new TypeError(hint + " decorators must return a function or void 0"); |
87 | 74 |
} |
88 | 75 |
} |
89 |
- |
|
90 | 76 |
function applyMemberDec(ret, base, decInfo, name, kind, isStatic, isPrivate, initializers) { |
91 | 77 |
var desc, |
92 |
- init, |
|
93 |
- value, |
|
94 |
- newValue, |
|
95 |
- get, |
|
96 |
- set, |
|
97 |
- decs = decInfo[0]; |
|
78 |
+ init, |
|
79 |
+ value, |
|
80 |
+ newValue, |
|
81 |
+ get, |
|
82 |
+ set, |
|
83 |
+ decs = decInfo[0]; |
|
98 | 84 |
if (isPrivate ? desc = 0 === kind || 1 === kind ? { |
99 | 85 |
get: decInfo[3], |
100 | 86 |
set: decInfo[4] |
... | ... | @@ -117,30 +103,25 @@ |
117 | 103 |
set: set |
118 | 104 |
}) : value = newValue, void 0 !== newInit && (void 0 === init ? init = newInit : "function" == typeof init ? init = [init, newInit] : init.push(newInit)); |
119 | 105 |
} |
120 |
- |
|
121 | 106 |
if (0 === kind || 1 === kind) { |
122 | 107 |
if (void 0 === init) init = function init(instance, _init) { |
123 | 108 |
return _init; |
124 | 109 |
};else if ("function" != typeof init) { |
125 | 110 |
var ownInitializers = init; |
126 |
- |
|
127 | 111 |
init = function init(instance, _init2) { |
128 | 112 |
for (var value = _init2, i = 0; i < ownInitializers.length; i++) { |
129 | 113 |
value = ownInitializers[i].call(instance, value); |
130 | 114 |
} |
131 |
- |
|
132 | 115 |
return value; |
133 | 116 |
}; |
134 | 117 |
} else { |
135 | 118 |
var originalInitializer = init; |
136 |
- |
|
137 | 119 |
init = function init(instance, _init3) { |
138 | 120 |
return originalInitializer.call(instance, _init3); |
139 | 121 |
}; |
140 | 122 |
} |
141 | 123 |
ret.push(init); |
142 | 124 |
} |
143 |
- |
|
144 | 125 |
0 !== kind && (1 === kind ? (desc.get = value.get, desc.set = value.set) : 2 === kind ? desc.value = value : 3 === kind ? desc.get = value : 4 === kind && (desc.set = value), isPrivate ? 1 === kind ? (ret.push(function (instance, args) { |
145 | 126 |
return value.get.call(instance, args); |
146 | 127 |
}), ret.push(function (instance, args) { |
... | ... | @@ -149,50 +130,41 @@ |
149 | 130 |
return value.call(instance, args); |
150 | 131 |
}) : Object.defineProperty(base, name, desc)); |
151 | 132 |
} |
152 |
- |
|
153 | 133 |
function applyMemberDecs(ret, Class, decInfos) { |
154 | 134 |
for (var protoInitializers, staticInitializers, existingProtoNonFields = new Map(), existingStaticNonFields = new Map(), i = 0; i < decInfos.length; i++) { |
155 | 135 |
var decInfo = decInfos[i]; |
156 |
- |
|
157 | 136 |
if (Array.isArray(decInfo)) { |
158 | 137 |
var base, |
159 |
- initializers, |
|
160 |
- kind = decInfo[1], |
|
161 |
- name = decInfo[2], |
|
162 |
- isPrivate = decInfo.length > 3, |
|
163 |
- isStatic = kind >= 5; |
|
164 |
- |
|
138 |
+ initializers, |
|
139 |
+ kind = decInfo[1], |
|
140 |
+ name = decInfo[2], |
|
141 |
+ isPrivate = decInfo.length > 3, |
|
142 |
+ isStatic = kind >= 5; |
|
165 | 143 |
if (isStatic ? (base = Class, 0 !== (kind -= 5) && (initializers = staticInitializers = staticInitializers || [])) : (base = Class.prototype, 0 !== kind && (initializers = protoInitializers = protoInitializers || [])), 0 !== kind && !isPrivate) { |
166 | 144 |
var existingNonFields = isStatic ? existingStaticNonFields : existingProtoNonFields, |
167 |
- existingKind = existingNonFields.get(name) || 0; |
|
145 |
+ existingKind = existingNonFields.get(name) || 0; |
|
168 | 146 |
if (!0 === existingKind || 3 === existingKind && 4 !== kind || 4 === existingKind && 3 !== kind) throw new Error("Attempted to decorate a public method/accessor that has the same name as a previously decorated public method/accessor. This is not currently supported by the decorators plugin. Property name was: " + name); |
169 | 147 |
!existingKind && kind > 2 ? existingNonFields.set(name, kind) : existingNonFields.set(name, !0); |
170 | 148 |
} |
171 |
- |
|
172 | 149 |
applyMemberDec(ret, base, decInfo, name, kind, isStatic, isPrivate, initializers); |
173 | 150 |
} |
174 | 151 |
} |
175 |
- |
|
176 | 152 |
pushInitializers(ret, protoInitializers), pushInitializers(ret, staticInitializers); |
177 | 153 |
} |
178 |
- |
|
179 | 154 |
function pushInitializers(ret, initializers) { |
180 | 155 |
initializers && ret.push(function (instance) { |
181 | 156 |
for (var i = 0; i < initializers.length; i++) { |
182 | 157 |
initializers[i].call(instance); |
183 | 158 |
} |
184 |
- |
|
185 | 159 |
return instance; |
186 | 160 |
}); |
187 | 161 |
} |
188 |
- |
|
189 | 162 |
function applyClassDecs(ret, targetClass, classDecs) { |
190 | 163 |
if (classDecs.length > 0) { |
191 | 164 |
for (var initializers = [], newClass = targetClass, name = targetClass.name, i = classDecs.length - 1; i >= 0; i--) { |
192 | 165 |
var decoratorFinishedRef = { |
193 | 166 |
v: !1 |
194 | 167 |
}; |
195 |
- |
|
196 | 168 |
try { |
197 | 169 |
var nextNewClass = classDecs[i](newClass, { |
198 | 170 |
kind: "class", |
... | ... | @@ -202,10 +174,8 @@ |
202 | 174 |
} finally { |
203 | 175 |
decoratorFinishedRef.v = !0; |
204 | 176 |
} |
205 |
- |
|
206 | 177 |
void 0 !== nextNewClass && (assertValidReturnValue(10, nextNewClass), newClass = nextNewClass); |
207 | 178 |
} |
208 |
- |
|
209 | 179 |
ret.push(newClass, function () { |
210 | 180 |
for (var i = 0; i < initializers.length; i++) { |
211 | 181 |
initializers[i].call(newClass); |
... | ... | @@ -213,10 +183,8 @@ |
213 | 183 |
}); |
214 | 184 |
} |
215 | 185 |
} |
216 |
- |
|
217 | 186 |
function applyDecs2203(targetClass, memberDecs, classDecs) { |
218 | 187 |
var ret = []; |
219 | 188 |
return applyMemberDecs(ret, targetClass, memberDecs), applyClassDecs(ret, targetClass, classDecs), ret; |
220 | 189 |
} |
221 |
- |
|
222 | 190 |
module.exports = applyDecs2203, module.exports.__esModule = true, module.exports["default"] = module.exports;(파일 끝에 줄바꿈 문자 없음) |
--- node_modules/@babel/runtime/helpers/arrayLikeToArray.js
+++ node_modules/@babel/runtime/helpers/arrayLikeToArray.js
... | ... | @@ -1,11 +1,8 @@ |
1 | 1 |
function _arrayLikeToArray(arr, len) { |
2 | 2 |
if (len == null || len > arr.length) len = arr.length; |
3 |
- |
|
4 | 3 |
for (var i = 0, arr2 = new Array(len); i < len; i++) { |
5 | 4 |
arr2[i] = arr[i]; |
6 | 5 |
} |
7 |
- |
|
8 | 6 |
return arr2; |
9 | 7 |
} |
10 |
- |
|
11 | 8 |
module.exports = _arrayLikeToArray, module.exports.__esModule = true, module.exports["default"] = module.exports;(파일 끝에 줄바꿈 문자 없음) |
--- node_modules/@babel/runtime/helpers/arrayWithHoles.js
+++ node_modules/@babel/runtime/helpers/arrayWithHoles.js
... | ... | @@ -1,5 +1,4 @@ |
1 | 1 |
function _arrayWithHoles(arr) { |
2 | 2 |
if (Array.isArray(arr)) return arr; |
3 | 3 |
} |
4 |
- |
|
5 | 4 |
module.exports = _arrayWithHoles, module.exports.__esModule = true, module.exports["default"] = module.exports;(파일 끝에 줄바꿈 문자 없음) |
--- node_modules/@babel/runtime/helpers/arrayWithoutHoles.js
+++ node_modules/@babel/runtime/helpers/arrayWithoutHoles.js
... | ... | @@ -1,7 +1,5 @@ |
1 | 1 |
var arrayLikeToArray = require("./arrayLikeToArray.js"); |
2 |
- |
|
3 | 2 |
function _arrayWithoutHoles(arr) { |
4 | 3 |
if (Array.isArray(arr)) return arrayLikeToArray(arr); |
5 | 4 |
} |
6 |
- |
|
7 | 5 |
module.exports = _arrayWithoutHoles, module.exports.__esModule = true, module.exports["default"] = module.exports;(파일 끝에 줄바꿈 문자 없음) |
--- node_modules/@babel/runtime/helpers/assertThisInitialized.js
+++ node_modules/@babel/runtime/helpers/assertThisInitialized.js
... | ... | @@ -2,8 +2,6 @@ |
2 | 2 |
if (self === void 0) { |
3 | 3 |
throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); |
4 | 4 |
} |
5 |
- |
|
6 | 5 |
return self; |
7 | 6 |
} |
8 |
- |
|
9 | 7 |
module.exports = _assertThisInitialized, module.exports.__esModule = true, module.exports["default"] = module.exports;(파일 끝에 줄바꿈 문자 없음) |
--- node_modules/@babel/runtime/helpers/asyncGeneratorDelegate.js
+++ node_modules/@babel/runtime/helpers/asyncGeneratorDelegate.js
... | ... | @@ -1,9 +1,7 @@ |
1 | 1 |
var OverloadYield = require("./OverloadYield.js"); |
2 |
- |
|
3 | 2 |
function _asyncGeneratorDelegate(inner) { |
4 | 3 |
var iter = {}, |
5 |
- waiting = !1; |
|
6 |
- |
|
4 |
+ waiting = !1; |
|
7 | 5 |
function pump(key, value) { |
8 | 6 |
return waiting = !0, value = new Promise(function (resolve) { |
9 | 7 |
resolve(inner[key](value)); |
... | ... | @@ -12,7 +10,6 @@ |
12 | 10 |
value: new OverloadYield(value, 1) |
13 | 11 |
}; |
14 | 12 |
} |
15 |
- |
|
16 | 13 |
return iter["undefined" != typeof Symbol && Symbol.iterator || "@@iterator"] = function () { |
17 | 14 |
return this; |
18 | 15 |
}, iter.next = function (value) { |
... | ... | @@ -24,5 +21,4 @@ |
24 | 21 |
return waiting ? (waiting = !1, value) : pump("return", value); |
25 | 22 |
}), iter; |
26 | 23 |
} |
27 |
- |
|
28 | 24 |
module.exports = _asyncGeneratorDelegate, module.exports.__esModule = true, module.exports["default"] = module.exports;(파일 끝에 줄바꿈 문자 없음) |
--- node_modules/@babel/runtime/helpers/asyncIterator.js
+++ node_modules/@babel/runtime/helpers/asyncIterator.js
... | ... | @@ -1,18 +1,15 @@ |
1 | 1 |
function _asyncIterator(iterable) { |
2 | 2 |
var method, |
3 |
- async, |
|
4 |
- sync, |
|
5 |
- retry = 2; |
|
6 |
- |
|
3 |
+ async, |
|
4 |
+ sync, |
|
5 |
+ retry = 2; |
|
7 | 6 |
for ("undefined" != typeof Symbol && (async = Symbol.asyncIterator, sync = Symbol.iterator); retry--;) { |
8 | 7 |
if (async && null != (method = iterable[async])) return method.call(iterable); |
9 | 8 |
if (sync && null != (method = iterable[sync])) return new AsyncFromSyncIterator(method.call(iterable)); |
10 | 9 |
async = "@@asyncIterator", sync = "@@iterator"; |
11 | 10 |
} |
12 |
- |
|
13 | 11 |
throw new TypeError("Object is not async iterable"); |
14 | 12 |
} |
15 |
- |
|
16 | 13 |
function AsyncFromSyncIterator(s) { |
17 | 14 |
function AsyncFromSyncIteratorContinuation(r) { |
18 | 15 |
if (Object(r) !== r) return Promise.reject(new TypeError(r + " is not an object.")); |
... | ... | @@ -24,7 +21,6 @@ |
24 | 21 |
}; |
25 | 22 |
}); |
26 | 23 |
} |
27 |
- |
|
28 | 24 |
return AsyncFromSyncIterator = function AsyncFromSyncIterator(s) { |
29 | 25 |
this.s = s, this.n = s.next; |
30 | 26 |
}, AsyncFromSyncIterator.prototype = { |
... | ... | @@ -46,5 +42,4 @@ |
46 | 42 |
} |
47 | 43 |
}, new AsyncFromSyncIterator(s); |
48 | 44 |
} |
49 |
- |
|
50 | 45 |
module.exports = _asyncIterator, module.exports.__esModule = true, module.exports["default"] = module.exports;(파일 끝에 줄바꿈 문자 없음) |
--- node_modules/@babel/runtime/helpers/asyncToGenerator.js
+++ node_modules/@babel/runtime/helpers/asyncToGenerator.js
... | ... | @@ -6,32 +6,26 @@ |
6 | 6 |
reject(error); |
7 | 7 |
return; |
8 | 8 |
} |
9 |
- |
|
10 | 9 |
if (info.done) { |
11 | 10 |
resolve(value); |
12 | 11 |
} else { |
13 | 12 |
Promise.resolve(value).then(_next, _throw); |
14 | 13 |
} |
15 | 14 |
} |
16 |
- |
|
17 | 15 |
function _asyncToGenerator(fn) { |
18 | 16 |
return function () { |
19 | 17 |
var self = this, |
20 |
- args = arguments; |
|
18 |
+ args = arguments; |
|
21 | 19 |
return new Promise(function (resolve, reject) { |
22 | 20 |
var gen = fn.apply(self, args); |
23 |
- |
|
24 | 21 |
function _next(value) { |
25 | 22 |
asyncGeneratorStep(gen, resolve, reject, _next, _throw, "next", value); |
26 | 23 |
} |
27 |
- |
|
28 | 24 |
function _throw(err) { |
29 | 25 |
asyncGeneratorStep(gen, resolve, reject, _next, _throw, "throw", err); |
30 | 26 |
} |
31 |
- |
|
32 | 27 |
_next(undefined); |
33 | 28 |
}); |
34 | 29 |
}; |
35 | 30 |
} |
36 |
- |
|
37 | 31 |
module.exports = _asyncToGenerator, module.exports.__esModule = true, module.exports["default"] = module.exports;(파일 끝에 줄바꿈 문자 없음) |
--- node_modules/@babel/runtime/helpers/awaitAsyncGenerator.js
+++ node_modules/@babel/runtime/helpers/awaitAsyncGenerator.js
... | ... | @@ -1,7 +1,5 @@ |
1 | 1 |
var OverloadYield = require("./OverloadYield.js"); |
2 |
- |
|
3 | 2 |
function _awaitAsyncGenerator(value) { |
4 | 3 |
return new OverloadYield(value, 0); |
5 | 4 |
} |
6 |
- |
|
7 | 5 |
module.exports = _awaitAsyncGenerator, module.exports.__esModule = true, module.exports["default"] = module.exports;(파일 끝에 줄바꿈 문자 없음) |
--- node_modules/@babel/runtime/helpers/checkPrivateRedeclaration.js
+++ node_modules/@babel/runtime/helpers/checkPrivateRedeclaration.js
... | ... | @@ -3,5 +3,4 @@ |
3 | 3 |
throw new TypeError("Cannot initialize the same private elements twice on an object"); |
4 | 4 |
} |
5 | 5 |
} |
6 |
- |
|
7 | 6 |
module.exports = _checkPrivateRedeclaration, module.exports.__esModule = true, module.exports["default"] = module.exports;(파일 끝에 줄바꿈 문자 없음) |
--- node_modules/@babel/runtime/helpers/classApplyDescriptorDestructureSet.js
+++ node_modules/@babel/runtime/helpers/classApplyDescriptorDestructureSet.js
... | ... | @@ -5,18 +5,14 @@ |
5 | 5 |
set value(v) { |
6 | 6 |
descriptor.set.call(receiver, v); |
7 | 7 |
} |
8 |
- |
|
9 | 8 |
}; |
10 | 9 |
} |
11 |
- |
|
12 | 10 |
return descriptor.__destrObj; |
13 | 11 |
} else { |
14 | 12 |
if (!descriptor.writable) { |
15 | 13 |
throw new TypeError("attempted to set read only private field"); |
16 | 14 |
} |
17 |
- |
|
18 | 15 |
return descriptor; |
19 | 16 |
} |
20 | 17 |
} |
21 |
- |
|
22 | 18 |
module.exports = _classApplyDescriptorDestructureSet, module.exports.__esModule = true, module.exports["default"] = module.exports;(파일 끝에 줄바꿈 문자 없음) |
--- node_modules/@babel/runtime/helpers/classApplyDescriptorGet.js
+++ node_modules/@babel/runtime/helpers/classApplyDescriptorGet.js
... | ... | @@ -2,8 +2,6 @@ |
2 | 2 |
if (descriptor.get) { |
3 | 3 |
return descriptor.get.call(receiver); |
4 | 4 |
} |
5 |
- |
|
6 | 5 |
return descriptor.value; |
7 | 6 |
} |
8 |
- |
|
9 | 7 |
module.exports = _classApplyDescriptorGet, module.exports.__esModule = true, module.exports["default"] = module.exports;(파일 끝에 줄바꿈 문자 없음) |
--- node_modules/@babel/runtime/helpers/classApplyDescriptorSet.js
+++ node_modules/@babel/runtime/helpers/classApplyDescriptorSet.js
... | ... | @@ -5,9 +5,7 @@ |
5 | 5 |
if (!descriptor.writable) { |
6 | 6 |
throw new TypeError("attempted to set read only private field"); |
7 | 7 |
} |
8 |
- |
|
9 | 8 |
descriptor.value = value; |
10 | 9 |
} |
11 | 10 |
} |
12 |
- |
|
13 | 11 |
module.exports = _classApplyDescriptorSet, module.exports.__esModule = true, module.exports["default"] = module.exports;(파일 끝에 줄바꿈 문자 없음) |
--- node_modules/@babel/runtime/helpers/classCallCheck.js
+++ node_modules/@babel/runtime/helpers/classCallCheck.js
... | ... | @@ -3,5 +3,4 @@ |
3 | 3 |
throw new TypeError("Cannot call a class as a function"); |
4 | 4 |
} |
5 | 5 |
} |
6 |
- |
|
7 | 6 |
module.exports = _classCallCheck, module.exports.__esModule = true, module.exports["default"] = module.exports;(파일 끝에 줄바꿈 문자 없음) |
--- node_modules/@babel/runtime/helpers/classCheckPrivateStaticAccess.js
+++ node_modules/@babel/runtime/helpers/classCheckPrivateStaticAccess.js
... | ... | @@ -3,5 +3,4 @@ |
3 | 3 |
throw new TypeError("Private static access of wrong provenance"); |
4 | 4 |
} |
5 | 5 |
} |
6 |
- |
|
7 | 6 |
module.exports = _classCheckPrivateStaticAccess, module.exports.__esModule = true, module.exports["default"] = module.exports;(파일 끝에 줄바꿈 문자 없음) |
--- node_modules/@babel/runtime/helpers/classCheckPrivateStaticFieldDescriptor.js
+++ node_modules/@babel/runtime/helpers/classCheckPrivateStaticFieldDescriptor.js
... | ... | @@ -3,5 +3,4 @@ |
3 | 3 |
throw new TypeError("attempted to " + action + " private static field before its declaration"); |
4 | 4 |
} |
5 | 5 |
} |
6 |
- |
|
7 | 6 |
module.exports = _classCheckPrivateStaticFieldDescriptor, module.exports.__esModule = true, module.exports["default"] = module.exports;(파일 끝에 줄바꿈 문자 없음) |
--- node_modules/@babel/runtime/helpers/classExtractFieldDescriptor.js
+++ node_modules/@babel/runtime/helpers/classExtractFieldDescriptor.js
... | ... | @@ -2,8 +2,6 @@ |
2 | 2 |
if (!privateMap.has(receiver)) { |
3 | 3 |
throw new TypeError("attempted to " + action + " private field on non-instance"); |
4 | 4 |
} |
5 |
- |
|
6 | 5 |
return privateMap.get(receiver); |
7 | 6 |
} |
8 |
- |
|
9 | 7 |
module.exports = _classExtractFieldDescriptor, module.exports.__esModule = true, module.exports["default"] = module.exports;(파일 끝에 줄바꿈 문자 없음) |
--- node_modules/@babel/runtime/helpers/classNameTDZError.js
+++ node_modules/@babel/runtime/helpers/classNameTDZError.js
... | ... | @@ -1,5 +1,4 @@ |
1 | 1 |
function _classNameTDZError(name) { |
2 | 2 |
throw new Error("Class \"" + name + "\" cannot be referenced in computed property keys."); |
3 | 3 |
} |
4 |
- |
|
5 | 4 |
module.exports = _classNameTDZError, module.exports.__esModule = true, module.exports["default"] = module.exports;(파일 끝에 줄바꿈 문자 없음) |
--- node_modules/@babel/runtime/helpers/classPrivateFieldDestructureSet.js
+++ node_modules/@babel/runtime/helpers/classPrivateFieldDestructureSet.js
... | ... | @@ -1,10 +1,7 @@ |
1 | 1 |
var classApplyDescriptorDestructureSet = require("./classApplyDescriptorDestructureSet.js"); |
2 |
- |
|
3 | 2 |
var classExtractFieldDescriptor = require("./classExtractFieldDescriptor.js"); |
4 |
- |
|
5 | 3 |
function _classPrivateFieldDestructureSet(receiver, privateMap) { |
6 | 4 |
var descriptor = classExtractFieldDescriptor(receiver, privateMap, "set"); |
7 | 5 |
return classApplyDescriptorDestructureSet(receiver, descriptor); |
8 | 6 |
} |
9 |
- |
|
10 | 7 |
module.exports = _classPrivateFieldDestructureSet, module.exports.__esModule = true, module.exports["default"] = module.exports;(파일 끝에 줄바꿈 문자 없음) |
--- node_modules/@babel/runtime/helpers/classPrivateFieldGet.js
+++ node_modules/@babel/runtime/helpers/classPrivateFieldGet.js
... | ... | @@ -1,10 +1,7 @@ |
1 | 1 |
var classApplyDescriptorGet = require("./classApplyDescriptorGet.js"); |
2 |
- |
|
3 | 2 |
var classExtractFieldDescriptor = require("./classExtractFieldDescriptor.js"); |
4 |
- |
|
5 | 3 |
function _classPrivateFieldGet(receiver, privateMap) { |
6 | 4 |
var descriptor = classExtractFieldDescriptor(receiver, privateMap, "get"); |
7 | 5 |
return classApplyDescriptorGet(receiver, descriptor); |
8 | 6 |
} |
9 |
- |
|
10 | 7 |
module.exports = _classPrivateFieldGet, module.exports.__esModule = true, module.exports["default"] = module.exports;(파일 끝에 줄바꿈 문자 없음) |
--- node_modules/@babel/runtime/helpers/classPrivateFieldInitSpec.js
+++ node_modules/@babel/runtime/helpers/classPrivateFieldInitSpec.js
... | ... | @@ -1,8 +1,6 @@ |
1 | 1 |
var checkPrivateRedeclaration = require("./checkPrivateRedeclaration.js"); |
2 |
- |
|
3 | 2 |
function _classPrivateFieldInitSpec(obj, privateMap, value) { |
4 | 3 |
checkPrivateRedeclaration(obj, privateMap); |
5 | 4 |
privateMap.set(obj, value); |
6 | 5 |
} |
7 |
- |
|
8 | 6 |
module.exports = _classPrivateFieldInitSpec, module.exports.__esModule = true, module.exports["default"] = module.exports;(파일 끝에 줄바꿈 문자 없음) |
--- node_modules/@babel/runtime/helpers/classPrivateFieldLooseBase.js
+++ node_modules/@babel/runtime/helpers/classPrivateFieldLooseBase.js
... | ... | @@ -2,8 +2,6 @@ |
2 | 2 |
if (!Object.prototype.hasOwnProperty.call(receiver, privateKey)) { |
3 | 3 |
throw new TypeError("attempted to use private field on non-instance"); |
4 | 4 |
} |
5 |
- |
|
6 | 5 |
return receiver; |
7 | 6 |
} |
8 |
- |
|
9 | 7 |
module.exports = _classPrivateFieldBase, module.exports.__esModule = true, module.exports["default"] = module.exports;(파일 끝에 줄바꿈 문자 없음) |
--- node_modules/@babel/runtime/helpers/classPrivateFieldLooseKey.js
+++ node_modules/@babel/runtime/helpers/classPrivateFieldLooseKey.js
... | ... | @@ -1,7 +1,5 @@ |
1 | 1 |
var id = 0; |
2 |
- |
|
3 | 2 |
function _classPrivateFieldKey(name) { |
4 | 3 |
return "__private_" + id++ + "_" + name; |
5 | 4 |
} |
6 |
- |
|
7 | 5 |
module.exports = _classPrivateFieldKey, module.exports.__esModule = true, module.exports["default"] = module.exports;(파일 끝에 줄바꿈 문자 없음) |
--- node_modules/@babel/runtime/helpers/classPrivateFieldSet.js
+++ node_modules/@babel/runtime/helpers/classPrivateFieldSet.js
... | ... | @@ -1,11 +1,8 @@ |
1 | 1 |
var classApplyDescriptorSet = require("./classApplyDescriptorSet.js"); |
2 |
- |
|
3 | 2 |
var classExtractFieldDescriptor = require("./classExtractFieldDescriptor.js"); |
4 |
- |
|
5 | 3 |
function _classPrivateFieldSet(receiver, privateMap, value) { |
6 | 4 |
var descriptor = classExtractFieldDescriptor(receiver, privateMap, "set"); |
7 | 5 |
classApplyDescriptorSet(receiver, descriptor, value); |
8 | 6 |
return value; |
9 | 7 |
} |
10 |
- |
|
11 | 8 |
module.exports = _classPrivateFieldSet, module.exports.__esModule = true, module.exports["default"] = module.exports;(파일 끝에 줄바꿈 문자 없음) |
--- node_modules/@babel/runtime/helpers/classPrivateMethodGet.js
+++ node_modules/@babel/runtime/helpers/classPrivateMethodGet.js
... | ... | @@ -2,8 +2,6 @@ |
2 | 2 |
if (!privateSet.has(receiver)) { |
3 | 3 |
throw new TypeError("attempted to get private field on non-instance"); |
4 | 4 |
} |
5 |
- |
|
6 | 5 |
return fn; |
7 | 6 |
} |
8 |
- |
|
9 | 7 |
module.exports = _classPrivateMethodGet, module.exports.__esModule = true, module.exports["default"] = module.exports;(파일 끝에 줄바꿈 문자 없음) |
--- node_modules/@babel/runtime/helpers/classPrivateMethodInitSpec.js
+++ node_modules/@babel/runtime/helpers/classPrivateMethodInitSpec.js
... | ... | @@ -1,8 +1,6 @@ |
1 | 1 |
var checkPrivateRedeclaration = require("./checkPrivateRedeclaration.js"); |
2 |
- |
|
3 | 2 |
function _classPrivateMethodInitSpec(obj, privateSet) { |
4 | 3 |
checkPrivateRedeclaration(obj, privateSet); |
5 | 4 |
privateSet.add(obj); |
6 | 5 |
} |
7 |
- |
|
8 | 6 |
module.exports = _classPrivateMethodInitSpec, module.exports.__esModule = true, module.exports["default"] = module.exports;(파일 끝에 줄바꿈 문자 없음) |
--- node_modules/@babel/runtime/helpers/classPrivateMethodSet.js
+++ node_modules/@babel/runtime/helpers/classPrivateMethodSet.js
... | ... | @@ -1,5 +1,4 @@ |
1 | 1 |
function _classPrivateMethodSet() { |
2 | 2 |
throw new TypeError("attempted to reassign private method"); |
3 | 3 |
} |
4 |
- |
|
5 | 4 |
module.exports = _classPrivateMethodSet, module.exports.__esModule = true, module.exports["default"] = module.exports;(파일 끝에 줄바꿈 문자 없음) |
--- node_modules/@babel/runtime/helpers/classStaticPrivateFieldDestructureSet.js
+++ node_modules/@babel/runtime/helpers/classStaticPrivateFieldDestructureSet.js
... | ... | @@ -1,13 +1,9 @@ |
1 | 1 |
var classApplyDescriptorDestructureSet = require("./classApplyDescriptorDestructureSet.js"); |
2 |
- |
|
3 | 2 |
var classCheckPrivateStaticAccess = require("./classCheckPrivateStaticAccess.js"); |
4 |
- |
|
5 | 3 |
var classCheckPrivateStaticFieldDescriptor = require("./classCheckPrivateStaticFieldDescriptor.js"); |
6 |
- |
|
7 | 4 |
function _classStaticPrivateFieldDestructureSet(receiver, classConstructor, descriptor) { |
8 | 5 |
classCheckPrivateStaticAccess(receiver, classConstructor); |
9 | 6 |
classCheckPrivateStaticFieldDescriptor(descriptor, "set"); |
10 | 7 |
return classApplyDescriptorDestructureSet(receiver, descriptor); |
11 | 8 |
} |
12 |
- |
|
13 | 9 |
module.exports = _classStaticPrivateFieldDestructureSet, module.exports.__esModule = true, module.exports["default"] = module.exports;(파일 끝에 줄바꿈 문자 없음) |
--- node_modules/@babel/runtime/helpers/classStaticPrivateFieldSpecGet.js
+++ node_modules/@babel/runtime/helpers/classStaticPrivateFieldSpecGet.js
... | ... | @@ -1,13 +1,9 @@ |
1 | 1 |
var classApplyDescriptorGet = require("./classApplyDescriptorGet.js"); |
2 |
- |
|
3 | 2 |
var classCheckPrivateStaticAccess = require("./classCheckPrivateStaticAccess.js"); |
4 |
- |
|
5 | 3 |
var classCheckPrivateStaticFieldDescriptor = require("./classCheckPrivateStaticFieldDescriptor.js"); |
6 |
- |
|
7 | 4 |
function _classStaticPrivateFieldSpecGet(receiver, classConstructor, descriptor) { |
8 | 5 |
classCheckPrivateStaticAccess(receiver, classConstructor); |
9 | 6 |
classCheckPrivateStaticFieldDescriptor(descriptor, "get"); |
10 | 7 |
return classApplyDescriptorGet(receiver, descriptor); |
11 | 8 |
} |
12 |
- |
|
13 | 9 |
module.exports = _classStaticPrivateFieldSpecGet, module.exports.__esModule = true, module.exports["default"] = module.exports;(파일 끝에 줄바꿈 문자 없음) |
--- node_modules/@babel/runtime/helpers/classStaticPrivateFieldSpecSet.js
+++ node_modules/@babel/runtime/helpers/classStaticPrivateFieldSpecSet.js
... | ... | @@ -1,14 +1,10 @@ |
1 | 1 |
var classApplyDescriptorSet = require("./classApplyDescriptorSet.js"); |
2 |
- |
|
3 | 2 |
var classCheckPrivateStaticAccess = require("./classCheckPrivateStaticAccess.js"); |
4 |
- |
|
5 | 3 |
var classCheckPrivateStaticFieldDescriptor = require("./classCheckPrivateStaticFieldDescriptor.js"); |
6 |
- |
|
7 | 4 |
function _classStaticPrivateFieldSpecSet(receiver, classConstructor, descriptor, value) { |
8 | 5 |
classCheckPrivateStaticAccess(receiver, classConstructor); |
9 | 6 |
classCheckPrivateStaticFieldDescriptor(descriptor, "set"); |
10 | 7 |
classApplyDescriptorSet(receiver, descriptor, value); |
11 | 8 |
return value; |
12 | 9 |
} |
13 |
- |
|
14 | 10 |
module.exports = _classStaticPrivateFieldSpecSet, module.exports.__esModule = true, module.exports["default"] = module.exports;(파일 끝에 줄바꿈 문자 없음) |
--- node_modules/@babel/runtime/helpers/classStaticPrivateMethodGet.js
+++ node_modules/@babel/runtime/helpers/classStaticPrivateMethodGet.js
... | ... | @@ -1,8 +1,6 @@ |
1 | 1 |
var classCheckPrivateStaticAccess = require("./classCheckPrivateStaticAccess.js"); |
2 |
- |
|
3 | 2 |
function _classStaticPrivateMethodGet(receiver, classConstructor, method) { |
4 | 3 |
classCheckPrivateStaticAccess(receiver, classConstructor); |
5 | 4 |
return method; |
6 | 5 |
} |
7 |
- |
|
8 | 6 |
module.exports = _classStaticPrivateMethodGet, module.exports.__esModule = true, module.exports["default"] = module.exports;(파일 끝에 줄바꿈 문자 없음) |
--- node_modules/@babel/runtime/helpers/classStaticPrivateMethodSet.js
+++ node_modules/@babel/runtime/helpers/classStaticPrivateMethodSet.js
... | ... | @@ -1,5 +1,4 @@ |
1 | 1 |
function _classStaticPrivateMethodSet() { |
2 | 2 |
throw new TypeError("attempted to set read only static private field"); |
3 | 3 |
} |
4 |
- |
|
5 | 4 |
module.exports = _classStaticPrivateMethodSet, module.exports.__esModule = true, module.exports["default"] = module.exports;(파일 끝에 줄바꿈 문자 없음) |
--- node_modules/@babel/runtime/helpers/construct.js
+++ node_modules/@babel/runtime/helpers/construct.js
... | ... | @@ -1,7 +1,5 @@ |
1 | 1 |
var setPrototypeOf = require("./setPrototypeOf.js"); |
2 |
- |
|
3 | 2 |
var isNativeReflectConstruct = require("./isNativeReflectConstruct.js"); |
4 |
- |
|
5 | 3 |
function _construct(Parent, args, Class) { |
6 | 4 |
if (isNativeReflectConstruct()) { |
7 | 5 |
module.exports = _construct = Reflect.construct.bind(), module.exports.__esModule = true, module.exports["default"] = module.exports; |
... | ... | @@ -15,8 +13,6 @@ |
15 | 13 |
return instance; |
16 | 14 |
}, module.exports.__esModule = true, module.exports["default"] = module.exports; |
17 | 15 |
} |
18 |
- |
|
19 | 16 |
return _construct.apply(null, arguments); |
20 | 17 |
} |
21 |
- |
|
22 | 18 |
module.exports = _construct, module.exports.__esModule = true, module.exports["default"] = module.exports;(파일 끝에 줄바꿈 문자 없음) |
--- node_modules/@babel/runtime/helpers/createClass.js
+++ node_modules/@babel/runtime/helpers/createClass.js
... | ... | @@ -1,13 +1,13 @@ |
1 |
+var toPropertyKey = require("./toPropertyKey.js"); |
|
1 | 2 |
function _defineProperties(target, props) { |
2 | 3 |
for (var i = 0; i < props.length; i++) { |
3 | 4 |
var descriptor = props[i]; |
4 | 5 |
descriptor.enumerable = descriptor.enumerable || false; |
5 | 6 |
descriptor.configurable = true; |
6 | 7 |
if ("value" in descriptor) descriptor.writable = true; |
7 |
- Object.defineProperty(target, descriptor.key, descriptor); |
|
8 |
+ Object.defineProperty(target, toPropertyKey(descriptor.key), descriptor); |
|
8 | 9 |
} |
9 | 10 |
} |
10 |
- |
|
11 | 11 |
function _createClass(Constructor, protoProps, staticProps) { |
12 | 12 |
if (protoProps) _defineProperties(Constructor.prototype, protoProps); |
13 | 13 |
if (staticProps) _defineProperties(Constructor, staticProps); |
... | ... | @@ -16,5 +16,4 @@ |
16 | 16 |
}); |
17 | 17 |
return Constructor; |
18 | 18 |
} |
19 |
- |
|
20 | 19 |
module.exports = _createClass, module.exports.__esModule = true, module.exports["default"] = module.exports;(파일 끝에 줄바꿈 문자 없음) |
--- node_modules/@babel/runtime/helpers/createForOfIteratorHelper.js
+++ node_modules/@babel/runtime/helpers/createForOfIteratorHelper.js
... | ... | @@ -1,15 +1,11 @@ |
1 | 1 |
var unsupportedIterableToArray = require("./unsupportedIterableToArray.js"); |
2 |
- |
|
3 | 2 |
function _createForOfIteratorHelper(o, allowArrayLike) { |
4 | 3 |
var it = typeof Symbol !== "undefined" && o[Symbol.iterator] || o["@@iterator"]; |
5 |
- |
|
6 | 4 |
if (!it) { |
7 | 5 |
if (Array.isArray(o) || (it = unsupportedIterableToArray(o)) || allowArrayLike && o && typeof o.length === "number") { |
8 | 6 |
if (it) o = it; |
9 | 7 |
var i = 0; |
10 |
- |
|
11 | 8 |
var F = function F() {}; |
12 |
- |
|
13 | 9 |
return { |
14 | 10 |
s: F, |
15 | 11 |
n: function n() { |
... | ... | @@ -27,13 +23,11 @@ |
27 | 23 |
f: F |
28 | 24 |
}; |
29 | 25 |
} |
30 |
- |
|
31 | 26 |
throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); |
32 | 27 |
} |
33 |
- |
|
34 | 28 |
var normalCompletion = true, |
35 |
- didErr = false, |
|
36 |
- err; |
|
29 |
+ didErr = false, |
|
30 |
+ err; |
|
37 | 31 |
return { |
38 | 32 |
s: function s() { |
39 | 33 |
it = it.call(o); |
... | ... | @@ -56,5 +50,4 @@ |
56 | 50 |
} |
57 | 51 |
}; |
58 | 52 |
} |
59 |
- |
|
60 | 53 |
module.exports = _createForOfIteratorHelper, module.exports.__esModule = true, module.exports["default"] = module.exports;(파일 끝에 줄바꿈 문자 없음) |
--- node_modules/@babel/runtime/helpers/createForOfIteratorHelperLoose.js
+++ node_modules/@babel/runtime/helpers/createForOfIteratorHelperLoose.js
... | ... | @@ -1,9 +1,7 @@ |
1 | 1 |
var unsupportedIterableToArray = require("./unsupportedIterableToArray.js"); |
2 |
- |
|
3 | 2 |
function _createForOfIteratorHelperLoose(o, allowArrayLike) { |
4 | 3 |
var it = typeof Symbol !== "undefined" && o[Symbol.iterator] || o["@@iterator"]; |
5 | 4 |
if (it) return (it = it.call(o)).next.bind(it); |
6 |
- |
|
7 | 5 |
if (Array.isArray(o) || (it = unsupportedIterableToArray(o)) || allowArrayLike && o && typeof o.length === "number") { |
8 | 6 |
if (it) o = it; |
9 | 7 |
var i = 0; |
... | ... | @@ -17,8 +15,6 @@ |
17 | 15 |
}; |
18 | 16 |
}; |
19 | 17 |
} |
20 |
- |
|
21 | 18 |
throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); |
22 | 19 |
} |
23 |
- |
|
24 | 20 |
module.exports = _createForOfIteratorHelperLoose, module.exports.__esModule = true, module.exports["default"] = module.exports;(파일 끝에 줄바꿈 문자 없음) |
--- node_modules/@babel/runtime/helpers/createSuper.js
+++ node_modules/@babel/runtime/helpers/createSuper.js
... | ... | @@ -1,24 +1,18 @@ |
1 | 1 |
var getPrototypeOf = require("./getPrototypeOf.js"); |
2 |
- |
|
3 | 2 |
var isNativeReflectConstruct = require("./isNativeReflectConstruct.js"); |
4 |
- |
|
5 | 3 |
var possibleConstructorReturn = require("./possibleConstructorReturn.js"); |
6 |
- |
|
7 | 4 |
function _createSuper(Derived) { |
8 | 5 |
var hasNativeReflectConstruct = isNativeReflectConstruct(); |
9 | 6 |
return function _createSuperInternal() { |
10 | 7 |
var Super = getPrototypeOf(Derived), |
11 |
- result; |
|
12 |
- |
|
8 |
+ result; |
|
13 | 9 |
if (hasNativeReflectConstruct) { |
14 | 10 |
var NewTarget = getPrototypeOf(this).constructor; |
15 | 11 |
result = Reflect.construct(Super, arguments, NewTarget); |
16 | 12 |
} else { |
17 | 13 |
result = Super.apply(this, arguments); |
18 | 14 |
} |
19 |
- |
|
20 | 15 |
return possibleConstructorReturn(this, result); |
21 | 16 |
}; |
22 | 17 |
} |
23 |
- |
|
24 | 18 |
module.exports = _createSuper, module.exports.__esModule = true, module.exports["default"] = module.exports;(파일 끝에 줄바꿈 문자 없음) |
--- node_modules/@babel/runtime/helpers/decorate.js
+++ node_modules/@babel/runtime/helpers/decorate.js
... | ... | @@ -1,16 +1,12 @@ |
1 | 1 |
var toArray = require("./toArray.js"); |
2 |
- |
|
3 | 2 |
var toPropertyKey = require("./toPropertyKey.js"); |
4 |
- |
|
5 | 3 |
function _decorate(decorators, factory, superClass, mixins) { |
6 | 4 |
var api = _getDecoratorsApi(); |
7 |
- |
|
8 | 5 |
if (mixins) { |
9 | 6 |
for (var i = 0; i < mixins.length; i++) { |
10 | 7 |
api = mixins[i](api); |
11 | 8 |
} |
12 | 9 |
} |
13 |
- |
|
14 | 10 |
var r = factory(function initialize(O) { |
15 | 11 |
api.initializeInstanceElements(O, decorated.elements); |
16 | 12 |
}, superClass); |
... | ... | @@ -18,12 +14,10 @@ |
18 | 14 |
api.initializeClassElements(r.F, decorated.elements); |
19 | 15 |
return api.runClassFinishers(r.F, decorated.finishers); |
20 | 16 |
} |
21 |
- |
|
22 | 17 |
function _getDecoratorsApi() { |
23 | 18 |
_getDecoratorsApi = function _getDecoratorsApi() { |
24 | 19 |
return api; |
25 | 20 |
}; |
26 |
- |
|
27 | 21 |
var api = { |
28 | 22 |
elementsDefinitionOrder: [["method"], ["field"]], |
29 | 23 |
initializeInstanceElements: function initializeInstanceElements(O, elements) { |
... | ... | @@ -40,7 +34,6 @@ |
40 | 34 |
["method", "field"].forEach(function (kind) { |
41 | 35 |
elements.forEach(function (element) { |
42 | 36 |
var placement = element.placement; |
43 |
- |
|
44 | 37 |
if (element.kind === kind && (placement === "static" || placement === "prototype")) { |
45 | 38 |
var receiver = placement === "static" ? F : proto; |
46 | 39 |
this.defineClassElement(receiver, element); |
... | ... | @@ -50,7 +43,6 @@ |
50 | 43 |
}, |
51 | 44 |
defineClassElement: function defineClassElement(receiver, element) { |
52 | 45 |
var descriptor = element.descriptor; |
53 |
- |
|
54 | 46 |
if (element.kind === "field") { |
55 | 47 |
var initializer = element.initializer; |
56 | 48 |
descriptor = { |
... | ... | @@ -60,7 +52,6 @@ |
60 | 52 |
value: initializer === void 0 ? void 0 : initializer.call(receiver) |
61 | 53 |
}; |
62 | 54 |
} |
63 |
- |
|
64 | 55 |
Object.defineProperty(receiver, element.key, descriptor); |
65 | 56 |
}, |
66 | 57 |
decorateClass: function decorateClass(elements, decorators) { |
... | ... | @@ -81,14 +72,12 @@ |
81 | 72 |
newElements.push.apply(newElements, elementFinishersExtras.extras); |
82 | 73 |
finishers.push.apply(finishers, elementFinishersExtras.finishers); |
83 | 74 |
}, this); |
84 |
- |
|
85 | 75 |
if (!decorators) { |
86 | 76 |
return { |
87 | 77 |
elements: newElements, |
88 | 78 |
finishers: finishers |
89 | 79 |
}; |
90 | 80 |
} |
91 |
- |
|
92 | 81 |
var result = this.decorateConstructor(newElements, decorators); |
93 | 82 |
finishers.push.apply(finishers, result.finishers); |
94 | 83 |
result.finishers = finishers; |
... | ... | @@ -96,17 +85,14 @@ |
96 | 85 |
}, |
97 | 86 |
addElementPlacement: function addElementPlacement(element, placements, silent) { |
98 | 87 |
var keys = placements[element.placement]; |
99 |
- |
|
100 | 88 |
if (!silent && keys.indexOf(element.key) !== -1) { |
101 | 89 |
throw new TypeError("Duplicated element (" + element.key + ")"); |
102 | 90 |
} |
103 |
- |
|
104 | 91 |
keys.push(element.key); |
105 | 92 |
}, |
106 | 93 |
decorateElement: function decorateElement(element, placements) { |
107 | 94 |
var extras = []; |
108 | 95 |
var finishers = []; |
109 |
- |
|
110 | 96 |
for (var decorators = element.decorators, i = decorators.length - 1; i >= 0; i--) { |
111 | 97 |
var keys = placements[element.placement]; |
112 | 98 |
keys.splice(keys.indexOf(element.key), 1); |
... | ... | @@ -114,22 +100,17 @@ |
114 | 100 |
var elementFinisherExtras = this.toElementFinisherExtras((0, decorators[i])(elementObject) || elementObject); |
115 | 101 |
element = elementFinisherExtras.element; |
116 | 102 |
this.addElementPlacement(element, placements); |
117 |
- |
|
118 | 103 |
if (elementFinisherExtras.finisher) { |
119 | 104 |
finishers.push(elementFinisherExtras.finisher); |
120 | 105 |
} |
121 |
- |
|
122 | 106 |
var newExtras = elementFinisherExtras.extras; |
123 |
- |
|
124 | 107 |
if (newExtras) { |
125 | 108 |
for (var j = 0; j < newExtras.length; j++) { |
126 | 109 |
this.addElementPlacement(newExtras[j], placements); |
127 | 110 |
} |
128 |
- |
|
129 | 111 |
extras.push.apply(extras, newExtras); |
130 | 112 |
} |
131 | 113 |
} |
132 |
- |
|
133 | 114 |
return { |
134 | 115 |
element: element, |
135 | 116 |
finishers: finishers, |
... | ... | @@ -138,18 +119,14 @@ |
138 | 119 |
}, |
139 | 120 |
decorateConstructor: function decorateConstructor(elements, decorators) { |
140 | 121 |
var finishers = []; |
141 |
- |
|
142 | 122 |
for (var i = decorators.length - 1; i >= 0; i--) { |
143 | 123 |
var obj = this.fromClassDescriptor(elements); |
144 | 124 |
var elementsAndFinisher = this.toClassDescriptor((0, decorators[i])(obj) || obj); |
145 |
- |
|
146 | 125 |
if (elementsAndFinisher.finisher !== undefined) { |
147 | 126 |
finishers.push(elementsAndFinisher.finisher); |
148 | 127 |
} |
149 |
- |
|
150 | 128 |
if (elementsAndFinisher.elements !== undefined) { |
151 | 129 |
elements = elementsAndFinisher.elements; |
152 |
- |
|
153 | 130 |
for (var j = 0; j < elements.length - 1; j++) { |
154 | 131 |
for (var k = j + 1; k < elements.length; k++) { |
155 | 132 |
if (elements[j].key === elements[k].key && elements[j].placement === elements[k].placement) { |
... | ... | @@ -159,7 +136,6 @@ |
159 | 136 |
} |
160 | 137 |
} |
161 | 138 |
} |
162 |
- |
|
163 | 139 |
return { |
164 | 140 |
elements: elements, |
165 | 141 |
finishers: finishers |
... | ... | @@ -191,18 +167,14 @@ |
191 | 167 |
}, |
192 | 168 |
toElementDescriptor: function toElementDescriptor(elementObject) { |
193 | 169 |
var kind = String(elementObject.kind); |
194 |
- |
|
195 | 170 |
if (kind !== "method" && kind !== "field") { |
196 | 171 |
throw new TypeError('An element descriptor\'s .kind property must be either "method" or' + ' "field", but a decorator created an element descriptor with' + ' .kind "' + kind + '"'); |
197 | 172 |
} |
198 |
- |
|
199 | 173 |
var key = toPropertyKey(elementObject.key); |
200 | 174 |
var placement = String(elementObject.placement); |
201 |
- |
|
202 | 175 |
if (placement !== "static" && placement !== "prototype" && placement !== "own") { |
203 | 176 |
throw new TypeError('An element descriptor\'s .placement property must be one of "static",' + ' "prototype" or "own", but a decorator created an element descriptor' + ' with .placement "' + placement + '"'); |
204 | 177 |
} |
205 |
- |
|
206 | 178 |
var descriptor = elementObject.descriptor; |
207 | 179 |
this.disallowProperty(elementObject, "elements", "An element descriptor"); |
208 | 180 |
var element = { |
... | ... | @@ -211,7 +183,6 @@ |
211 | 183 |
placement: placement, |
212 | 184 |
descriptor: Object.assign({}, descriptor) |
213 | 185 |
}; |
214 |
- |
|
215 | 186 |
if (kind !== "field") { |
216 | 187 |
this.disallowProperty(elementObject, "initializer", "A method descriptor"); |
217 | 188 |
} else { |
... | ... | @@ -220,14 +191,11 @@ |
220 | 191 |
this.disallowProperty(descriptor, "value", "The property descriptor of a field descriptor"); |
221 | 192 |
element.initializer = elementObject.initializer; |
222 | 193 |
} |
223 |
- |
|
224 | 194 |
return element; |
225 | 195 |
}, |
226 | 196 |
toElementFinisherExtras: function toElementFinisherExtras(elementObject) { |
227 | 197 |
var element = this.toElementDescriptor(elementObject); |
228 |
- |
|
229 | 198 |
var finisher = _optionalCallableProperty(elementObject, "finisher"); |
230 |
- |
|
231 | 199 |
var extras = this.toElementDescriptors(elementObject.extras); |
232 | 200 |
return { |
233 | 201 |
element: element, |
... | ... | @@ -249,19 +217,15 @@ |
249 | 217 |
}, |
250 | 218 |
toClassDescriptor: function toClassDescriptor(obj) { |
251 | 219 |
var kind = String(obj.kind); |
252 |
- |
|
253 | 220 |
if (kind !== "class") { |
254 | 221 |
throw new TypeError('A class descriptor\'s .kind property must be "class", but a decorator' + ' created a class descriptor with .kind "' + kind + '"'); |
255 | 222 |
} |
256 |
- |
|
257 | 223 |
this.disallowProperty(obj, "key", "A class descriptor"); |
258 | 224 |
this.disallowProperty(obj, "placement", "A class descriptor"); |
259 | 225 |
this.disallowProperty(obj, "descriptor", "A class descriptor"); |
260 | 226 |
this.disallowProperty(obj, "initializer", "A class descriptor"); |
261 | 227 |
this.disallowProperty(obj, "extras", "A class descriptor"); |
262 |
- |
|
263 | 228 |
var finisher = _optionalCallableProperty(obj, "finisher"); |
264 |
- |
|
265 | 229 |
var elements = this.toElementDescriptors(obj.elements); |
266 | 230 |
return { |
267 | 231 |
elements: elements, |
... | ... | @@ -271,16 +235,13 @@ |
271 | 235 |
runClassFinishers: function runClassFinishers(constructor, finishers) { |
272 | 236 |
for (var i = 0; i < finishers.length; i++) { |
273 | 237 |
var newConstructor = (0, finishers[i])(constructor); |
274 |
- |
|
275 | 238 |
if (newConstructor !== undefined) { |
276 | 239 |
if (typeof newConstructor !== "function") { |
277 | 240 |
throw new TypeError("Finishers must return a constructor."); |
278 | 241 |
} |
279 |
- |
|
280 | 242 |
constructor = newConstructor; |
281 | 243 |
} |
282 | 244 |
} |
283 |
- |
|
284 | 245 |
return constructor; |
285 | 246 |
}, |
286 | 247 |
disallowProperty: function disallowProperty(obj, name, objectType) { |
... | ... | @@ -291,11 +252,9 @@ |
291 | 252 |
}; |
292 | 253 |
return api; |
293 | 254 |
} |
294 |
- |
|
295 | 255 |
function _createElementDescriptor(def) { |
296 | 256 |
var key = toPropertyKey(def.key); |
297 | 257 |
var descriptor; |
298 |
- |
|
299 | 258 |
if (def.kind === "method") { |
300 | 259 |
descriptor = { |
301 | 260 |
value: def.value, |
... | ... | @@ -322,7 +281,6 @@ |
322 | 281 |
enumerable: true |
323 | 282 |
}; |
324 | 283 |
} |
325 |
- |
|
326 | 284 |
var element = { |
327 | 285 |
kind: def.kind === "field" ? "field" : "method", |
328 | 286 |
key: key, |
... | ... | @@ -333,7 +291,6 @@ |
333 | 291 |
if (def.kind === "field") element.initializer = def.value; |
334 | 292 |
return element; |
335 | 293 |
} |
336 |
- |
|
337 | 294 |
function _coalesceGetterSetter(element, other) { |
338 | 295 |
if (element.descriptor.get !== undefined) { |
339 | 296 |
other.descriptor.get = element.descriptor.get; |
... | ... | @@ -341,60 +298,46 @@ |
341 | 298 |
other.descriptor.set = element.descriptor.set; |
342 | 299 |
} |
343 | 300 |
} |
344 |
- |
|
345 | 301 |
function _coalesceClassElements(elements) { |
346 | 302 |
var newElements = []; |
347 |
- |
|
348 | 303 |
var isSameElement = function isSameElement(other) { |
349 | 304 |
return other.kind === "method" && other.key === element.key && other.placement === element.placement; |
350 | 305 |
}; |
351 |
- |
|
352 | 306 |
for (var i = 0; i < elements.length; i++) { |
353 | 307 |
var element = elements[i]; |
354 | 308 |
var other; |
355 |
- |
|
356 | 309 |
if (element.kind === "method" && (other = newElements.find(isSameElement))) { |
357 | 310 |
if (_isDataDescriptor(element.descriptor) || _isDataDescriptor(other.descriptor)) { |
358 | 311 |
if (_hasDecorators(element) || _hasDecorators(other)) { |
359 | 312 |
throw new ReferenceError("Duplicated methods (" + element.key + ") can't be decorated."); |
360 | 313 |
} |
361 |
- |
|
362 | 314 |
other.descriptor = element.descriptor; |
363 | 315 |
} else { |
364 | 316 |
if (_hasDecorators(element)) { |
365 | 317 |
if (_hasDecorators(other)) { |
366 | 318 |
throw new ReferenceError("Decorators can't be placed on different accessors with for " + "the same property (" + element.key + ")."); |
367 | 319 |
} |
368 |
- |
|
369 | 320 |
other.decorators = element.decorators; |
370 | 321 |
} |
371 |
- |
|
372 | 322 |
_coalesceGetterSetter(element, other); |
373 | 323 |
} |
374 | 324 |
} else { |
375 | 325 |
newElements.push(element); |
376 | 326 |
} |
377 | 327 |
} |
378 |
- |
|
379 | 328 |
return newElements; |
380 | 329 |
} |
381 |
- |
|
382 | 330 |
function _hasDecorators(element) { |
383 | 331 |
return element.decorators && element.decorators.length; |
384 | 332 |
} |
385 |
- |
|
386 | 333 |
function _isDataDescriptor(desc) { |
387 | 334 |
return desc !== undefined && !(desc.value === undefined && desc.writable === undefined); |
388 | 335 |
} |
389 |
- |
|
390 | 336 |
function _optionalCallableProperty(obj, name) { |
391 | 337 |
var value = obj[name]; |
392 |
- |
|
393 | 338 |
if (value !== undefined && typeof value !== "function") { |
394 | 339 |
throw new TypeError("Expected '" + name + "' to be a function"); |
395 | 340 |
} |
396 |
- |
|
397 | 341 |
return value; |
398 | 342 |
} |
399 |
- |
|
400 | 343 |
module.exports = _decorate, module.exports.__esModule = true, module.exports["default"] = module.exports;(파일 끝에 줄바꿈 문자 없음) |
--- node_modules/@babel/runtime/helpers/defaults.js
+++ node_modules/@babel/runtime/helpers/defaults.js
... | ... | @@ -1,16 +1,12 @@ |
1 | 1 |
function _defaults(obj, defaults) { |
2 | 2 |
var keys = Object.getOwnPropertyNames(defaults); |
3 |
- |
|
4 | 3 |
for (var i = 0; i < keys.length; i++) { |
5 | 4 |
var key = keys[i]; |
6 | 5 |
var value = Object.getOwnPropertyDescriptor(defaults, key); |
7 |
- |
|
8 | 6 |
if (value && value.configurable && obj[key] === undefined) { |
9 | 7 |
Object.defineProperty(obj, key, value); |
10 | 8 |
} |
11 | 9 |
} |
12 |
- |
|
13 | 10 |
return obj; |
14 | 11 |
} |
15 |
- |
|
16 | 12 |
module.exports = _defaults, module.exports.__esModule = true, module.exports["default"] = module.exports;(파일 끝에 줄바꿈 문자 없음) |
--- node_modules/@babel/runtime/helpers/defineEnumerableProperties.js
+++ node_modules/@babel/runtime/helpers/defineEnumerableProperties.js
... | ... | @@ -5,10 +5,8 @@ |
5 | 5 |
if ("value" in desc) desc.writable = true; |
6 | 6 |
Object.defineProperty(obj, key, desc); |
7 | 7 |
} |
8 |
- |
|
9 | 8 |
if (Object.getOwnPropertySymbols) { |
10 | 9 |
var objectSymbols = Object.getOwnPropertySymbols(descs); |
11 |
- |
|
12 | 10 |
for (var i = 0; i < objectSymbols.length; i++) { |
13 | 11 |
var sym = objectSymbols[i]; |
14 | 12 |
var desc = descs[sym]; |
... | ... | @@ -17,8 +15,6 @@ |
17 | 15 |
Object.defineProperty(obj, sym, desc); |
18 | 16 |
} |
19 | 17 |
} |
20 |
- |
|
21 | 18 |
return obj; |
22 | 19 |
} |
23 |
- |
|
24 | 20 |
module.exports = _defineEnumerableProperties, module.exports.__esModule = true, module.exports["default"] = module.exports;(파일 끝에 줄바꿈 문자 없음) |
--- node_modules/@babel/runtime/helpers/defineProperty.js
+++ node_modules/@babel/runtime/helpers/defineProperty.js
... | ... | @@ -1,4 +1,6 @@ |
1 |
+var toPropertyKey = require("./toPropertyKey.js"); |
|
1 | 2 |
function _defineProperty(obj, key, value) { |
3 |
+ key = toPropertyKey(key); |
|
2 | 4 |
if (key in obj) { |
3 | 5 |
Object.defineProperty(obj, key, { |
4 | 6 |
value: value, |
... | ... | @@ -9,8 +11,6 @@ |
9 | 11 |
} else { |
10 | 12 |
obj[key] = value; |
11 | 13 |
} |
12 |
- |
|
13 | 14 |
return obj; |
14 | 15 |
} |
15 |
- |
|
16 | 16 |
module.exports = _defineProperty, module.exports.__esModule = true, module.exports["default"] = module.exports;(파일 끝에 줄바꿈 문자 없음) |
--- node_modules/@babel/runtime/helpers/esm/AsyncGenerator.js
+++ node_modules/@babel/runtime/helpers/esm/AsyncGenerator.js
... | ... | @@ -1,19 +1,17 @@ |
1 | 1 |
import OverloadYield from "./OverloadYield.js"; |
2 | 2 |
export default function AsyncGenerator(gen) { |
3 | 3 |
var front, back; |
4 |
- |
|
5 | 4 |
function resume(key, arg) { |
6 | 5 |
try { |
7 | 6 |
var result = gen[key](arg), |
8 |
- value = result.value, |
|
9 |
- overloaded = value instanceof OverloadYield; |
|
7 |
+ value = result.value, |
|
8 |
+ overloaded = value instanceof OverloadYield; |
|
10 | 9 |
Promise.resolve(overloaded ? value.v : value).then(function (arg) { |
11 | 10 |
if (overloaded) { |
12 | 11 |
var nextKey = "return" === key ? "return" : "next"; |
13 | 12 |
if (!value.k || arg.done) return resume(nextKey, arg); |
14 | 13 |
arg = gen[nextKey](arg).value; |
15 | 14 |
} |
16 |
- |
|
17 | 15 |
settle(result.done ? "return" : "normal", arg); |
18 | 16 |
}, function (err) { |
19 | 17 |
resume("throw", err); |
... | ... | @@ -22,7 +20,6 @@ |
22 | 20 |
settle("throw", err); |
23 | 21 |
} |
24 | 22 |
} |
25 |
- |
|
26 | 23 |
function settle(type, value) { |
27 | 24 |
switch (type) { |
28 | 25 |
case "return": |
... | ... | @@ -31,21 +28,17 @@ |
31 | 28 |
done: !0 |
32 | 29 |
}); |
33 | 30 |
break; |
34 |
- |
|
35 | 31 |
case "throw": |
36 | 32 |
front.reject(value); |
37 | 33 |
break; |
38 |
- |
|
39 | 34 |
default: |
40 | 35 |
front.resolve({ |
41 | 36 |
value: value, |
42 | 37 |
done: !1 |
43 | 38 |
}); |
44 | 39 |
} |
45 |
- |
|
46 | 40 |
(front = front.next) ? resume(front.key, front.arg) : back = null; |
47 | 41 |
} |
48 |
- |
|
49 | 42 |
this._invoke = function (key, arg) { |
50 | 43 |
return new Promise(function (resolve, reject) { |
51 | 44 |
var request = { |
--- node_modules/@babel/runtime/helpers/esm/applyDecoratedDescriptor.js
+++ node_modules/@babel/runtime/helpers/esm/applyDecoratedDescriptor.js
... | ... | @@ -5,24 +5,19 @@ |
5 | 5 |
}); |
6 | 6 |
desc.enumerable = !!desc.enumerable; |
7 | 7 |
desc.configurable = !!desc.configurable; |
8 |
- |
|
9 | 8 |
if ('value' in desc || desc.initializer) { |
10 | 9 |
desc.writable = true; |
11 | 10 |
} |
12 |
- |
|
13 | 11 |
desc = decorators.slice().reverse().reduce(function (desc, decorator) { |
14 | 12 |
return decorator(target, property, desc) || desc; |
15 | 13 |
}, desc); |
16 |
- |
|
17 | 14 |
if (context && desc.initializer !== void 0) { |
18 | 15 |
desc.value = desc.initializer ? desc.initializer.call(context) : void 0; |
19 | 16 |
desc.initializer = undefined; |
20 | 17 |
} |
21 |
- |
|
22 | 18 |
if (desc.initializer === void 0) { |
23 | 19 |
Object.defineProperty(target, property, desc); |
24 | 20 |
desc = null; |
25 | 21 |
} |
26 |
- |
|
27 | 22 |
return desc; |
28 | 23 |
}(파일 끝에 줄바꿈 문자 없음) |
--- node_modules/@babel/runtime/helpers/esm/applyDecs.js
+++ node_modules/@babel/runtime/helpers/esm/applyDecs.js
... | ... | @@ -1,5 +1,4 @@ |
1 | 1 |
import _typeof from "./typeof.js"; |
2 |
- |
|
3 | 2 |
function old_createMetadataMethodsForProperty(metadataMap, kind, property, decoratorFinishedRef) { |
4 | 3 |
return { |
5 | 4 |
getMetadata: function getMetadata(key) { |
... | ... | @@ -16,7 +15,6 @@ |
16 | 15 |
setMetadata: function setMetadata(key, value) { |
17 | 16 |
old_assertNotFinished(decoratorFinishedRef, "setMetadata"), old_assertMetadataKey(key); |
18 | 17 |
var metadataForKey = metadataMap[key]; |
19 |
- |
|
20 | 18 |
if (void 0 === metadataForKey && (metadataForKey = metadataMap[key] = {}), 1 === kind) { |
21 | 19 |
var pub = metadataForKey["public"]; |
22 | 20 |
void 0 === pub && (pub = metadataForKey["public"] = {}), pub[property] = value; |
... | ... | @@ -27,76 +25,62 @@ |
27 | 25 |
} |
28 | 26 |
}; |
29 | 27 |
} |
30 |
- |
|
31 | 28 |
function old_convertMetadataMapToFinal(obj, metadataMap) { |
32 | 29 |
var parentMetadataMap = obj[Symbol.metadata || Symbol["for"]("Symbol.metadata")], |
33 |
- metadataKeys = Object.getOwnPropertySymbols(metadataMap); |
|
34 |
- |
|
30 |
+ metadataKeys = Object.getOwnPropertySymbols(metadataMap); |
|
35 | 31 |
if (0 !== metadataKeys.length) { |
36 | 32 |
for (var i = 0; i < metadataKeys.length; i++) { |
37 | 33 |
var key = metadataKeys[i], |
38 |
- metaForKey = metadataMap[key], |
|
39 |
- parentMetaForKey = parentMetadataMap ? parentMetadataMap[key] : null, |
|
40 |
- pub = metaForKey["public"], |
|
41 |
- parentPub = parentMetaForKey ? parentMetaForKey["public"] : null; |
|
34 |
+ metaForKey = metadataMap[key], |
|
35 |
+ parentMetaForKey = parentMetadataMap ? parentMetadataMap[key] : null, |
|
36 |
+ pub = metaForKey["public"], |
|
37 |
+ parentPub = parentMetaForKey ? parentMetaForKey["public"] : null; |
|
42 | 38 |
pub && parentPub && Object.setPrototypeOf(pub, parentPub); |
43 | 39 |
var priv = metaForKey["private"]; |
44 |
- |
|
45 | 40 |
if (priv) { |
46 | 41 |
var privArr = Array.from(priv.values()), |
47 |
- parentPriv = parentMetaForKey ? parentMetaForKey["private"] : null; |
|
42 |
+ parentPriv = parentMetaForKey ? parentMetaForKey["private"] : null; |
|
48 | 43 |
parentPriv && (privArr = privArr.concat(parentPriv)), metaForKey["private"] = privArr; |
49 | 44 |
} |
50 |
- |
|
51 | 45 |
parentMetaForKey && Object.setPrototypeOf(metaForKey, parentMetaForKey); |
52 | 46 |
} |
53 |
- |
|
54 | 47 |
parentMetadataMap && Object.setPrototypeOf(metadataMap, parentMetadataMap), obj[Symbol.metadata || Symbol["for"]("Symbol.metadata")] = metadataMap; |
55 | 48 |
} |
56 | 49 |
} |
57 |
- |
|
58 | 50 |
function old_createAddInitializerMethod(initializers, decoratorFinishedRef) { |
59 | 51 |
return function (initializer) { |
60 | 52 |
old_assertNotFinished(decoratorFinishedRef, "addInitializer"), old_assertCallable(initializer, "An initializer"), initializers.push(initializer); |
61 | 53 |
}; |
62 | 54 |
} |
63 |
- |
|
64 | 55 |
function old_memberDec(dec, name, desc, metadataMap, initializers, kind, isStatic, isPrivate, value) { |
65 | 56 |
var kindStr; |
66 |
- |
|
67 | 57 |
switch (kind) { |
68 | 58 |
case 1: |
69 | 59 |
kindStr = "accessor"; |
70 | 60 |
break; |
71 |
- |
|
72 | 61 |
case 2: |
73 | 62 |
kindStr = "method"; |
74 | 63 |
break; |
75 |
- |
|
76 | 64 |
case 3: |
77 | 65 |
kindStr = "getter"; |
78 | 66 |
break; |
79 |
- |
|
80 | 67 |
case 4: |
81 | 68 |
kindStr = "setter"; |
82 | 69 |
break; |
83 |
- |
|
84 | 70 |
default: |
85 | 71 |
kindStr = "field"; |
86 | 72 |
} |
87 |
- |
|
88 | 73 |
var metadataKind, |
89 |
- metadataName, |
|
90 |
- ctx = { |
|
91 |
- kind: kindStr, |
|
92 |
- name: isPrivate ? "#" + name : name, |
|
93 |
- isStatic: isStatic, |
|
94 |
- isPrivate: isPrivate |
|
95 |
- }, |
|
96 |
- decoratorFinishedRef = { |
|
97 |
- v: !1 |
|
98 |
- }; |
|
99 |
- |
|
74 |
+ metadataName, |
|
75 |
+ ctx = { |
|
76 |
+ kind: kindStr, |
|
77 |
+ name: isPrivate ? "#" + name : name, |
|
78 |
+ isStatic: isStatic, |
|
79 |
+ isPrivate: isPrivate |
|
80 |
+ }, |
|
81 |
+ decoratorFinishedRef = { |
|
82 |
+ v: !1 |
|
83 |
+ }; |
|
100 | 84 |
if (0 !== kind && (ctx.addInitializer = old_createAddInitializerMethod(initializers, decoratorFinishedRef)), isPrivate) { |
101 | 85 |
metadataKind = 2, metadataName = Symbol(name); |
102 | 86 |
var access = {}; |
... | ... | @@ -108,29 +92,23 @@ |
108 | 92 |
desc.set.call(this, v); |
109 | 93 |
})), ctx.access = access; |
110 | 94 |
} else metadataKind = 1, metadataName = name; |
111 |
- |
|
112 | 95 |
try { |
113 | 96 |
return dec(value, Object.assign(ctx, old_createMetadataMethodsForProperty(metadataMap, metadataKind, metadataName, decoratorFinishedRef))); |
114 | 97 |
} finally { |
115 | 98 |
decoratorFinishedRef.v = !0; |
116 | 99 |
} |
117 | 100 |
} |
118 |
- |
|
119 | 101 |
function old_assertNotFinished(decoratorFinishedRef, fnName) { |
120 | 102 |
if (decoratorFinishedRef.v) throw new Error("attempted to call " + fnName + " after decoration was finished"); |
121 | 103 |
} |
122 |
- |
|
123 | 104 |
function old_assertMetadataKey(key) { |
124 | 105 |
if ("symbol" != _typeof(key)) throw new TypeError("Metadata keys must be symbols, received: " + key); |
125 | 106 |
} |
126 |
- |
|
127 | 107 |
function old_assertCallable(fn, hint) { |
128 | 108 |
if ("function" != typeof fn) throw new TypeError(hint + " must be a function"); |
129 | 109 |
} |
130 |
- |
|
131 | 110 |
function old_assertValidReturnValue(kind, value) { |
132 | 111 |
var type = _typeof(value); |
133 |
- |
|
134 | 112 |
if (1 === kind) { |
135 | 113 |
if ("object" !== type || null === value) throw new TypeError("accessor decorators must return an object with get, set, or init properties or void 0"); |
136 | 114 |
void 0 !== value.get && old_assertCallable(value.get, "accessor.get"), void 0 !== value.set && old_assertCallable(value.set, "accessor.set"), void 0 !== value.init && old_assertCallable(value.init, "accessor.init"), void 0 !== value.initializer && old_assertCallable(value.initializer, "accessor.initializer"); |
... | ... | @@ -139,20 +117,18 @@ |
139 | 117 |
throw hint = 0 === kind ? "field" : 10 === kind ? "class" : "method", new TypeError(hint + " decorators must return a function or void 0"); |
140 | 118 |
} |
141 | 119 |
} |
142 |
- |
|
143 | 120 |
function old_getInit(desc) { |
144 | 121 |
var initializer; |
145 | 122 |
return null == (initializer = desc.init) && (initializer = desc.initializer) && "undefined" != typeof console && console.warn(".initializer has been renamed to .init as of March 2022"), initializer; |
146 | 123 |
} |
147 |
- |
|
148 | 124 |
function old_applyMemberDec(ret, base, decInfo, name, kind, isStatic, isPrivate, metadataMap, initializers) { |
149 | 125 |
var desc, |
150 |
- initializer, |
|
151 |
- value, |
|
152 |
- newValue, |
|
153 |
- get, |
|
154 |
- set, |
|
155 |
- decs = decInfo[0]; |
|
126 |
+ initializer, |
|
127 |
+ value, |
|
128 |
+ newValue, |
|
129 |
+ get, |
|
130 |
+ set, |
|
131 |
+ decs = decInfo[0]; |
|
156 | 132 |
if (isPrivate ? desc = 0 === kind || 1 === kind ? { |
157 | 133 |
get: decInfo[3], |
158 | 134 |
set: decInfo[4] |
... | ... | @@ -175,30 +151,25 @@ |
175 | 151 |
set: set |
176 | 152 |
}) : value = newValue, void 0 !== newInit && (void 0 === initializer ? initializer = newInit : "function" == typeof initializer ? initializer = [initializer, newInit] : initializer.push(newInit)); |
177 | 153 |
} |
178 |
- |
|
179 | 154 |
if (0 === kind || 1 === kind) { |
180 | 155 |
if (void 0 === initializer) initializer = function initializer(instance, init) { |
181 | 156 |
return init; |
182 | 157 |
};else if ("function" != typeof initializer) { |
183 | 158 |
var ownInitializers = initializer; |
184 |
- |
|
185 | 159 |
initializer = function initializer(instance, init) { |
186 | 160 |
for (var value = init, i = 0; i < ownInitializers.length; i++) { |
187 | 161 |
value = ownInitializers[i].call(instance, value); |
188 | 162 |
} |
189 |
- |
|
190 | 163 |
return value; |
191 | 164 |
}; |
192 | 165 |
} else { |
193 | 166 |
var originalInitializer = initializer; |
194 |
- |
|
195 | 167 |
initializer = function initializer(instance, init) { |
196 | 168 |
return originalInitializer.call(instance, init); |
197 | 169 |
}; |
198 | 170 |
} |
199 | 171 |
ret.push(initializer); |
200 | 172 |
} |
201 |
- |
|
202 | 173 |
0 !== kind && (1 === kind ? (desc.get = value.get, desc.set = value.set) : 2 === kind ? desc.value = value : 3 === kind ? desc.get = value : 4 === kind && (desc.set = value), isPrivate ? 1 === kind ? (ret.push(function (instance, args) { |
203 | 174 |
return value.get.call(instance, args); |
204 | 175 |
}), ret.push(function (instance, args) { |
... | ... | @@ -207,65 +178,54 @@ |
207 | 178 |
return value.call(instance, args); |
208 | 179 |
}) : Object.defineProperty(base, name, desc)); |
209 | 180 |
} |
210 |
- |
|
211 | 181 |
function old_applyMemberDecs(ret, Class, protoMetadataMap, staticMetadataMap, decInfos) { |
212 | 182 |
for (var protoInitializers, staticInitializers, existingProtoNonFields = new Map(), existingStaticNonFields = new Map(), i = 0; i < decInfos.length; i++) { |
213 | 183 |
var decInfo = decInfos[i]; |
214 |
- |
|
215 | 184 |
if (Array.isArray(decInfo)) { |
216 | 185 |
var base, |
217 |
- metadataMap, |
|
218 |
- initializers, |
|
219 |
- kind = decInfo[1], |
|
220 |
- name = decInfo[2], |
|
221 |
- isPrivate = decInfo.length > 3, |
|
222 |
- isStatic = kind >= 5; |
|
223 |
- |
|
186 |
+ metadataMap, |
|
187 |
+ initializers, |
|
188 |
+ kind = decInfo[1], |
|
189 |
+ name = decInfo[2], |
|
190 |
+ isPrivate = decInfo.length > 3, |
|
191 |
+ isStatic = kind >= 5; |
|
224 | 192 |
if (isStatic ? (base = Class, metadataMap = staticMetadataMap, 0 !== (kind -= 5) && (initializers = staticInitializers = staticInitializers || [])) : (base = Class.prototype, metadataMap = protoMetadataMap, 0 !== kind && (initializers = protoInitializers = protoInitializers || [])), 0 !== kind && !isPrivate) { |
225 | 193 |
var existingNonFields = isStatic ? existingStaticNonFields : existingProtoNonFields, |
226 |
- existingKind = existingNonFields.get(name) || 0; |
|
194 |
+ existingKind = existingNonFields.get(name) || 0; |
|
227 | 195 |
if (!0 === existingKind || 3 === existingKind && 4 !== kind || 4 === existingKind && 3 !== kind) throw new Error("Attempted to decorate a public method/accessor that has the same name as a previously decorated public method/accessor. This is not currently supported by the decorators plugin. Property name was: " + name); |
228 | 196 |
!existingKind && kind > 2 ? existingNonFields.set(name, kind) : existingNonFields.set(name, !0); |
229 | 197 |
} |
230 |
- |
|
231 | 198 |
old_applyMemberDec(ret, base, decInfo, name, kind, isStatic, isPrivate, metadataMap, initializers); |
232 | 199 |
} |
233 | 200 |
} |
234 |
- |
|
235 | 201 |
old_pushInitializers(ret, protoInitializers), old_pushInitializers(ret, staticInitializers); |
236 | 202 |
} |
237 |
- |
|
238 | 203 |
function old_pushInitializers(ret, initializers) { |
239 | 204 |
initializers && ret.push(function (instance) { |
240 | 205 |
for (var i = 0; i < initializers.length; i++) { |
241 | 206 |
initializers[i].call(instance); |
242 | 207 |
} |
243 |
- |
|
244 | 208 |
return instance; |
245 | 209 |
}); |
246 | 210 |
} |
247 |
- |
|
248 | 211 |
function old_applyClassDecs(ret, targetClass, metadataMap, classDecs) { |
249 | 212 |
if (classDecs.length > 0) { |
250 | 213 |
for (var initializers = [], newClass = targetClass, name = targetClass.name, i = classDecs.length - 1; i >= 0; i--) { |
251 | 214 |
var decoratorFinishedRef = { |
252 | 215 |
v: !1 |
253 | 216 |
}; |
254 |
- |
|
255 | 217 |
try { |
256 | 218 |
var ctx = Object.assign({ |
257 |
- kind: "class", |
|
258 |
- name: name, |
|
259 |
- addInitializer: old_createAddInitializerMethod(initializers, decoratorFinishedRef) |
|
260 |
- }, old_createMetadataMethodsForProperty(metadataMap, 0, name, decoratorFinishedRef)), |
|
261 |
- nextNewClass = classDecs[i](newClass, ctx); |
|
219 |
+ kind: "class", |
|
220 |
+ name: name, |
|
221 |
+ addInitializer: old_createAddInitializerMethod(initializers, decoratorFinishedRef) |
|
222 |
+ }, old_createMetadataMethodsForProperty(metadataMap, 0, name, decoratorFinishedRef)), |
|
223 |
+ nextNewClass = classDecs[i](newClass, ctx); |
|
262 | 224 |
} finally { |
263 | 225 |
decoratorFinishedRef.v = !0; |
264 | 226 |
} |
265 |
- |
|
266 | 227 |
void 0 !== nextNewClass && (old_assertValidReturnValue(10, nextNewClass), newClass = nextNewClass); |
267 | 228 |
} |
268 |
- |
|
269 | 229 |
ret.push(newClass, function () { |
270 | 230 |
for (var i = 0; i < initializers.length; i++) { |
271 | 231 |
initializers[i].call(newClass); |
... | ... | @@ -273,10 +233,9 @@ |
273 | 233 |
}); |
274 | 234 |
} |
275 | 235 |
} |
276 |
- |
|
277 | 236 |
export default function applyDecs(targetClass, memberDecs, classDecs) { |
278 | 237 |
var ret = [], |
279 |
- staticMetadataMap = {}, |
|
280 |
- protoMetadataMap = {}; |
|
238 |
+ staticMetadataMap = {}, |
|
239 |
+ protoMetadataMap = {}; |
|
281 | 240 |
return old_applyMemberDecs(ret, targetClass, protoMetadataMap, staticMetadataMap, memberDecs), old_convertMetadataMapToFinal(targetClass.prototype, protoMetadataMap), old_applyClassDecs(ret, targetClass, staticMetadataMap, classDecs), old_convertMetadataMapToFinal(targetClass, staticMetadataMap), ret; |
282 | 241 |
}(파일 끝에 줄바꿈 문자 없음) |
--- node_modules/@babel/runtime/helpers/esm/applyDecs2203.js
+++ node_modules/@babel/runtime/helpers/esm/applyDecs2203.js
... | ... | @@ -1,46 +1,38 @@ |
1 | 1 |
import _typeof from "./typeof.js"; |
2 |
- |
|
3 | 2 |
function createAddInitializerMethod(initializers, decoratorFinishedRef) { |
4 | 3 |
return function (initializer) { |
5 | 4 |
assertNotFinished(decoratorFinishedRef, "addInitializer"), assertCallable(initializer, "An initializer"), initializers.push(initializer); |
6 | 5 |
}; |
7 | 6 |
} |
8 |
- |
|
9 | 7 |
function memberDec(dec, name, desc, initializers, kind, isStatic, isPrivate, value) { |
10 | 8 |
var kindStr; |
11 |
- |
|
12 | 9 |
switch (kind) { |
13 | 10 |
case 1: |
14 | 11 |
kindStr = "accessor"; |
15 | 12 |
break; |
16 |
- |
|
17 | 13 |
case 2: |
18 | 14 |
kindStr = "method"; |
19 | 15 |
break; |
20 |
- |
|
21 | 16 |
case 3: |
22 | 17 |
kindStr = "getter"; |
23 | 18 |
break; |
24 |
- |
|
25 | 19 |
case 4: |
26 | 20 |
kindStr = "setter"; |
27 | 21 |
break; |
28 |
- |
|
29 | 22 |
default: |
30 | 23 |
kindStr = "field"; |
31 | 24 |
} |
32 |
- |
|
33 | 25 |
var get, |
34 |
- set, |
|
35 |
- ctx = { |
|
36 |
- kind: kindStr, |
|
37 |
- name: isPrivate ? "#" + name : name, |
|
38 |
- "static": isStatic, |
|
39 |
- "private": isPrivate |
|
40 |
- }, |
|
41 |
- decoratorFinishedRef = { |
|
42 |
- v: !1 |
|
43 |
- }; |
|
26 |
+ set, |
|
27 |
+ ctx = { |
|
28 |
+ kind: kindStr, |
|
29 |
+ name: isPrivate ? "#" + name : name, |
|
30 |
+ "static": isStatic, |
|
31 |
+ "private": isPrivate |
|
32 |
+ }, |
|
33 |
+ decoratorFinishedRef = { |
|
34 |
+ v: !1 |
|
35 |
+ }; |
|
44 | 36 |
0 !== kind && (ctx.addInitializer = createAddInitializerMethod(initializers, decoratorFinishedRef)), 0 === kind ? isPrivate ? (get = desc.get, set = desc.set) : (get = function get() { |
45 | 37 |
return this[name]; |
46 | 38 |
}, set = function set(v) { |
... | ... | @@ -59,25 +51,20 @@ |
59 | 51 |
} : { |
60 | 52 |
set: set |
61 | 53 |
}; |
62 |
- |
|
63 | 54 |
try { |
64 | 55 |
return dec(value, ctx); |
65 | 56 |
} finally { |
66 | 57 |
decoratorFinishedRef.v = !0; |
67 | 58 |
} |
68 | 59 |
} |
69 |
- |
|
70 | 60 |
function assertNotFinished(decoratorFinishedRef, fnName) { |
71 | 61 |
if (decoratorFinishedRef.v) throw new Error("attempted to call " + fnName + " after decoration was finished"); |
72 | 62 |
} |
73 |
- |
|
74 | 63 |
function assertCallable(fn, hint) { |
75 | 64 |
if ("function" != typeof fn) throw new TypeError(hint + " must be a function"); |
76 | 65 |
} |
77 |
- |
|
78 | 66 |
function assertValidReturnValue(kind, value) { |
79 | 67 |
var type = _typeof(value); |
80 |
- |
|
81 | 68 |
if (1 === kind) { |
82 | 69 |
if ("object" !== type || null === value) throw new TypeError("accessor decorators must return an object with get, set, or init properties or void 0"); |
83 | 70 |
void 0 !== value.get && assertCallable(value.get, "accessor.get"), void 0 !== value.set && assertCallable(value.set, "accessor.set"), void 0 !== value.init && assertCallable(value.init, "accessor.init"); |
... | ... | @@ -86,15 +73,14 @@ |
86 | 73 |
throw hint = 0 === kind ? "field" : 10 === kind ? "class" : "method", new TypeError(hint + " decorators must return a function or void 0"); |
87 | 74 |
} |
88 | 75 |
} |
89 |
- |
|
90 | 76 |
function applyMemberDec(ret, base, decInfo, name, kind, isStatic, isPrivate, initializers) { |
91 | 77 |
var desc, |
92 |
- init, |
|
93 |
- value, |
|
94 |
- newValue, |
|
95 |
- get, |
|
96 |
- set, |
|
97 |
- decs = decInfo[0]; |
|
78 |
+ init, |
|
79 |
+ value, |
|
80 |
+ newValue, |
|
81 |
+ get, |
|
82 |
+ set, |
|
83 |
+ decs = decInfo[0]; |
|
98 | 84 |
if (isPrivate ? desc = 0 === kind || 1 === kind ? { |
99 | 85 |
get: decInfo[3], |
100 | 86 |
set: decInfo[4] |
... | ... | @@ -117,30 +103,25 @@ |
117 | 103 |
set: set |
118 | 104 |
}) : value = newValue, void 0 !== newInit && (void 0 === init ? init = newInit : "function" == typeof init ? init = [init, newInit] : init.push(newInit)); |
119 | 105 |
} |
120 |
- |
|
121 | 106 |
if (0 === kind || 1 === kind) { |
122 | 107 |
if (void 0 === init) init = function init(instance, _init) { |
123 | 108 |
return _init; |
124 | 109 |
};else if ("function" != typeof init) { |
125 | 110 |
var ownInitializers = init; |
126 |
- |
|
127 | 111 |
init = function init(instance, _init2) { |
128 | 112 |
for (var value = _init2, i = 0; i < ownInitializers.length; i++) { |
129 | 113 |
value = ownInitializers[i].call(instance, value); |
130 | 114 |
} |
131 |
- |
|
132 | 115 |
return value; |
133 | 116 |
}; |
134 | 117 |
} else { |
135 | 118 |
var originalInitializer = init; |
136 |
- |
|
137 | 119 |
init = function init(instance, _init3) { |
138 | 120 |
return originalInitializer.call(instance, _init3); |
139 | 121 |
}; |
140 | 122 |
} |
141 | 123 |
ret.push(init); |
142 | 124 |
} |
143 |
- |
|
144 | 125 |
0 !== kind && (1 === kind ? (desc.get = value.get, desc.set = value.set) : 2 === kind ? desc.value = value : 3 === kind ? desc.get = value : 4 === kind && (desc.set = value), isPrivate ? 1 === kind ? (ret.push(function (instance, args) { |
145 | 126 |
return value.get.call(instance, args); |
146 | 127 |
}), ret.push(function (instance, args) { |
... | ... | @@ -149,50 +130,41 @@ |
149 | 130 |
return value.call(instance, args); |
150 | 131 |
}) : Object.defineProperty(base, name, desc)); |
151 | 132 |
} |
152 |
- |
|
153 | 133 |
function applyMemberDecs(ret, Class, decInfos) { |
154 | 134 |
for (var protoInitializers, staticInitializers, existingProtoNonFields = new Map(), existingStaticNonFields = new Map(), i = 0; i < decInfos.length; i++) { |
155 | 135 |
var decInfo = decInfos[i]; |
156 |
- |
|
157 | 136 |
if (Array.isArray(decInfo)) { |
158 | 137 |
var base, |
159 |
- initializers, |
|
160 |
- kind = decInfo[1], |
|
161 |
- name = decInfo[2], |
|
162 |
- isPrivate = decInfo.length > 3, |
|
163 |
- isStatic = kind >= 5; |
|
164 |
- |
|
138 |
+ initializers, |
|
139 |
+ kind = decInfo[1], |
|
140 |
+ name = decInfo[2], |
|
141 |
+ isPrivate = decInfo.length > 3, |
|
142 |
+ isStatic = kind >= 5; |
|
165 | 143 |
if (isStatic ? (base = Class, 0 !== (kind -= 5) && (initializers = staticInitializers = staticInitializers || [])) : (base = Class.prototype, 0 !== kind && (initializers = protoInitializers = protoInitializers || [])), 0 !== kind && !isPrivate) { |
166 | 144 |
var existingNonFields = isStatic ? existingStaticNonFields : existingProtoNonFields, |
167 |
- existingKind = existingNonFields.get(name) || 0; |
|
145 |
+ existingKind = existingNonFields.get(name) || 0; |
|
168 | 146 |
if (!0 === existingKind || 3 === existingKind && 4 !== kind || 4 === existingKind && 3 !== kind) throw new Error("Attempted to decorate a public method/accessor that has the same name as a previously decorated public method/accessor. This is not currently supported by the decorators plugin. Property name was: " + name); |
169 | 147 |
!existingKind && kind > 2 ? existingNonFields.set(name, kind) : existingNonFields.set(name, !0); |
170 | 148 |
} |
171 |
- |
|
172 | 149 |
applyMemberDec(ret, base, decInfo, name, kind, isStatic, isPrivate, initializers); |
173 | 150 |
} |
174 | 151 |
} |
175 |
- |
|
176 | 152 |
pushInitializers(ret, protoInitializers), pushInitializers(ret, staticInitializers); |
177 | 153 |
} |
178 |
- |
|
179 | 154 |
function pushInitializers(ret, initializers) { |
180 | 155 |
initializers && ret.push(function (instance) { |
181 | 156 |
for (var i = 0; i < initializers.length; i++) { |
182 | 157 |
initializers[i].call(instance); |
183 | 158 |
} |
184 |
- |
|
185 | 159 |
return instance; |
186 | 160 |
}); |
187 | 161 |
} |
188 |
- |
|
189 | 162 |
function applyClassDecs(ret, targetClass, classDecs) { |
190 | 163 |
if (classDecs.length > 0) { |
191 | 164 |
for (var initializers = [], newClass = targetClass, name = targetClass.name, i = classDecs.length - 1; i >= 0; i--) { |
192 | 165 |
var decoratorFinishedRef = { |
193 | 166 |
v: !1 |
194 | 167 |
}; |
195 |
- |
|
196 | 168 |
try { |
197 | 169 |
var nextNewClass = classDecs[i](newClass, { |
198 | 170 |
kind: "class", |
... | ... | @@ -202,10 +174,8 @@ |
202 | 174 |
} finally { |
203 | 175 |
decoratorFinishedRef.v = !0; |
204 | 176 |
} |
205 |
- |
|
206 | 177 |
void 0 !== nextNewClass && (assertValidReturnValue(10, nextNewClass), newClass = nextNewClass); |
207 | 178 |
} |
208 |
- |
|
209 | 179 |
ret.push(newClass, function () { |
210 | 180 |
for (var i = 0; i < initializers.length; i++) { |
211 | 181 |
initializers[i].call(newClass); |
... | ... | @@ -213,7 +183,6 @@ |
213 | 183 |
}); |
214 | 184 |
} |
215 | 185 |
} |
216 |
- |
|
217 | 186 |
export default function applyDecs2203(targetClass, memberDecs, classDecs) { |
218 | 187 |
var ret = []; |
219 | 188 |
return applyMemberDecs(ret, targetClass, memberDecs), applyClassDecs(ret, targetClass, classDecs), ret; |
--- node_modules/@babel/runtime/helpers/esm/arrayLikeToArray.js
+++ node_modules/@babel/runtime/helpers/esm/arrayLikeToArray.js
... | ... | @@ -1,9 +1,7 @@ |
1 | 1 |
export default function _arrayLikeToArray(arr, len) { |
2 | 2 |
if (len == null || len > arr.length) len = arr.length; |
3 |
- |
|
4 | 3 |
for (var i = 0, arr2 = new Array(len); i < len; i++) { |
5 | 4 |
arr2[i] = arr[i]; |
6 | 5 |
} |
7 |
- |
|
8 | 6 |
return arr2; |
9 | 7 |
}(파일 끝에 줄바꿈 문자 없음) |
--- node_modules/@babel/runtime/helpers/esm/assertThisInitialized.js
+++ node_modules/@babel/runtime/helpers/esm/assertThisInitialized.js
... | ... | @@ -2,6 +2,5 @@ |
2 | 2 |
if (self === void 0) { |
3 | 3 |
throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); |
4 | 4 |
} |
5 |
- |
|
6 | 5 |
return self; |
7 | 6 |
}(파일 끝에 줄바꿈 문자 없음) |
--- node_modules/@babel/runtime/helpers/esm/asyncGeneratorDelegate.js
+++ node_modules/@babel/runtime/helpers/esm/asyncGeneratorDelegate.js
... | ... | @@ -1,8 +1,7 @@ |
1 | 1 |
import OverloadYield from "./OverloadYield.js"; |
2 | 2 |
export default function _asyncGeneratorDelegate(inner) { |
3 | 3 |
var iter = {}, |
4 |
- waiting = !1; |
|
5 |
- |
|
4 |
+ waiting = !1; |
|
6 | 5 |
function pump(key, value) { |
7 | 6 |
return waiting = !0, value = new Promise(function (resolve) { |
8 | 7 |
resolve(inner[key](value)); |
... | ... | @@ -11,7 +10,6 @@ |
11 | 10 |
value: new OverloadYield(value, 1) |
12 | 11 |
}; |
13 | 12 |
} |
14 |
- |
|
15 | 13 |
return iter["undefined" != typeof Symbol && Symbol.iterator || "@@iterator"] = function () { |
16 | 14 |
return this; |
17 | 15 |
}, iter.next = function (value) { |
--- node_modules/@babel/runtime/helpers/esm/asyncIterator.js
+++ node_modules/@babel/runtime/helpers/esm/asyncIterator.js
... | ... | @@ -1,18 +1,15 @@ |
1 | 1 |
export default function _asyncIterator(iterable) { |
2 | 2 |
var method, |
3 |
- async, |
|
4 |
- sync, |
|
5 |
- retry = 2; |
|
6 |
- |
|
3 |
+ async, |
|
4 |
+ sync, |
|
5 |
+ retry = 2; |
|
7 | 6 |
for ("undefined" != typeof Symbol && (async = Symbol.asyncIterator, sync = Symbol.iterator); retry--;) { |
8 | 7 |
if (async && null != (method = iterable[async])) return method.call(iterable); |
9 | 8 |
if (sync && null != (method = iterable[sync])) return new AsyncFromSyncIterator(method.call(iterable)); |
10 | 9 |
async = "@@asyncIterator", sync = "@@iterator"; |
11 | 10 |
} |
12 |
- |
|
13 | 11 |
throw new TypeError("Object is not async iterable"); |
14 | 12 |
} |
15 |
- |
|
16 | 13 |
function AsyncFromSyncIterator(s) { |
17 | 14 |
function AsyncFromSyncIteratorContinuation(r) { |
18 | 15 |
if (Object(r) !== r) return Promise.reject(new TypeError(r + " is not an object.")); |
... | ... | @@ -24,7 +21,6 @@ |
24 | 21 |
}; |
25 | 22 |
}); |
26 | 23 |
} |
27 |
- |
|
28 | 24 |
return AsyncFromSyncIterator = function AsyncFromSyncIterator(s) { |
29 | 25 |
this.s = s, this.n = s.next; |
30 | 26 |
}, AsyncFromSyncIterator.prototype = { |
--- node_modules/@babel/runtime/helpers/esm/asyncToGenerator.js
+++ node_modules/@babel/runtime/helpers/esm/asyncToGenerator.js
... | ... | @@ -6,29 +6,24 @@ |
6 | 6 |
reject(error); |
7 | 7 |
return; |
8 | 8 |
} |
9 |
- |
|
10 | 9 |
if (info.done) { |
11 | 10 |
resolve(value); |
12 | 11 |
} else { |
13 | 12 |
Promise.resolve(value).then(_next, _throw); |
14 | 13 |
} |
15 | 14 |
} |
16 |
- |
|
17 | 15 |
export default function _asyncToGenerator(fn) { |
18 | 16 |
return function () { |
19 | 17 |
var self = this, |
20 |
- args = arguments; |
|
18 |
+ args = arguments; |
|
21 | 19 |
return new Promise(function (resolve, reject) { |
22 | 20 |
var gen = fn.apply(self, args); |
23 |
- |
|
24 | 21 |
function _next(value) { |
25 | 22 |
asyncGeneratorStep(gen, resolve, reject, _next, _throw, "next", value); |
26 | 23 |
} |
27 |
- |
|
28 | 24 |
function _throw(err) { |
29 | 25 |
asyncGeneratorStep(gen, resolve, reject, _next, _throw, "throw", err); |
30 | 26 |
} |
31 |
- |
|
32 | 27 |
_next(undefined); |
33 | 28 |
}); |
34 | 29 |
}; |
--- node_modules/@babel/runtime/helpers/esm/classApplyDescriptorDestructureSet.js
+++ node_modules/@babel/runtime/helpers/esm/classApplyDescriptorDestructureSet.js
... | ... | @@ -5,16 +5,13 @@ |
5 | 5 |
set value(v) { |
6 | 6 |
descriptor.set.call(receiver, v); |
7 | 7 |
} |
8 |
- |
|
9 | 8 |
}; |
10 | 9 |
} |
11 |
- |
|
12 | 10 |
return descriptor.__destrObj; |
13 | 11 |
} else { |
14 | 12 |
if (!descriptor.writable) { |
15 | 13 |
throw new TypeError("attempted to set read only private field"); |
16 | 14 |
} |
17 |
- |
|
18 | 15 |
return descriptor; |
19 | 16 |
} |
20 | 17 |
}(파일 끝에 줄바꿈 문자 없음) |
--- node_modules/@babel/runtime/helpers/esm/classApplyDescriptorGet.js
+++ node_modules/@babel/runtime/helpers/esm/classApplyDescriptorGet.js
... | ... | @@ -2,6 +2,5 @@ |
2 | 2 |
if (descriptor.get) { |
3 | 3 |
return descriptor.get.call(receiver); |
4 | 4 |
} |
5 |
- |
|
6 | 5 |
return descriptor.value; |
7 | 6 |
}(파일 끝에 줄바꿈 문자 없음) |
--- node_modules/@babel/runtime/helpers/esm/classApplyDescriptorSet.js
+++ node_modules/@babel/runtime/helpers/esm/classApplyDescriptorSet.js
... | ... | @@ -5,7 +5,6 @@ |
5 | 5 |
if (!descriptor.writable) { |
6 | 6 |
throw new TypeError("attempted to set read only private field"); |
7 | 7 |
} |
8 |
- |
|
9 | 8 |
descriptor.value = value; |
10 | 9 |
} |
11 | 10 |
}(파일 끝에 줄바꿈 문자 없음) |
--- node_modules/@babel/runtime/helpers/esm/classExtractFieldDescriptor.js
+++ node_modules/@babel/runtime/helpers/esm/classExtractFieldDescriptor.js
... | ... | @@ -2,6 +2,5 @@ |
2 | 2 |
if (!privateMap.has(receiver)) { |
3 | 3 |
throw new TypeError("attempted to " + action + " private field on non-instance"); |
4 | 4 |
} |
5 |
- |
|
6 | 5 |
return privateMap.get(receiver); |
7 | 6 |
}(파일 끝에 줄바꿈 문자 없음) |
--- node_modules/@babel/runtime/helpers/esm/classPrivateFieldLooseBase.js
+++ node_modules/@babel/runtime/helpers/esm/classPrivateFieldLooseBase.js
... | ... | @@ -2,6 +2,5 @@ |
2 | 2 |
if (!Object.prototype.hasOwnProperty.call(receiver, privateKey)) { |
3 | 3 |
throw new TypeError("attempted to use private field on non-instance"); |
4 | 4 |
} |
5 |
- |
|
6 | 5 |
return receiver; |
7 | 6 |
}(파일 끝에 줄바꿈 문자 없음) |
--- node_modules/@babel/runtime/helpers/esm/classPrivateMethodGet.js
+++ node_modules/@babel/runtime/helpers/esm/classPrivateMethodGet.js
... | ... | @@ -2,6 +2,5 @@ |
2 | 2 |
if (!privateSet.has(receiver)) { |
3 | 3 |
throw new TypeError("attempted to get private field on non-instance"); |
4 | 4 |
} |
5 |
- |
|
6 | 5 |
return fn; |
7 | 6 |
}(파일 끝에 줄바꿈 문자 없음) |
--- node_modules/@babel/runtime/helpers/esm/construct.js
+++ node_modules/@babel/runtime/helpers/esm/construct.js
... | ... | @@ -13,6 +13,5 @@ |
13 | 13 |
return instance; |
14 | 14 |
}; |
15 | 15 |
} |
16 |
- |
|
17 | 16 |
return _construct.apply(null, arguments); |
18 | 17 |
}(파일 끝에 줄바꿈 문자 없음) |
--- node_modules/@babel/runtime/helpers/esm/createClass.js
+++ node_modules/@babel/runtime/helpers/esm/createClass.js
... | ... | @@ -1,13 +1,13 @@ |
1 |
+import toPropertyKey from "./toPropertyKey.js"; |
|
1 | 2 |
function _defineProperties(target, props) { |
2 | 3 |
for (var i = 0; i < props.length; i++) { |
3 | 4 |
var descriptor = props[i]; |
4 | 5 |
descriptor.enumerable = descriptor.enumerable || false; |
5 | 6 |
descriptor.configurable = true; |
6 | 7 |
if ("value" in descriptor) descriptor.writable = true; |
7 |
- Object.defineProperty(target, descriptor.key, descriptor); |
|
8 |
+ Object.defineProperty(target, toPropertyKey(descriptor.key), descriptor); |
|
8 | 9 |
} |
9 | 10 |
} |
10 |
- |
|
11 | 11 |
export default function _createClass(Constructor, protoProps, staticProps) { |
12 | 12 |
if (protoProps) _defineProperties(Constructor.prototype, protoProps); |
13 | 13 |
if (staticProps) _defineProperties(Constructor, staticProps); |
--- node_modules/@babel/runtime/helpers/esm/createForOfIteratorHelper.js
+++ node_modules/@babel/runtime/helpers/esm/createForOfIteratorHelper.js
... | ... | @@ -1,14 +1,11 @@ |
1 | 1 |
import unsupportedIterableToArray from "./unsupportedIterableToArray.js"; |
2 | 2 |
export default function _createForOfIteratorHelper(o, allowArrayLike) { |
3 | 3 |
var it = typeof Symbol !== "undefined" && o[Symbol.iterator] || o["@@iterator"]; |
4 |
- |
|
5 | 4 |
if (!it) { |
6 | 5 |
if (Array.isArray(o) || (it = unsupportedIterableToArray(o)) || allowArrayLike && o && typeof o.length === "number") { |
7 | 6 |
if (it) o = it; |
8 | 7 |
var i = 0; |
9 |
- |
|
10 | 8 |
var F = function F() {}; |
11 |
- |
|
12 | 9 |
return { |
13 | 10 |
s: F, |
14 | 11 |
n: function n() { |
... | ... | @@ -26,13 +23,11 @@ |
26 | 23 |
f: F |
27 | 24 |
}; |
28 | 25 |
} |
29 |
- |
|
30 | 26 |
throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); |
31 | 27 |
} |
32 |
- |
|
33 | 28 |
var normalCompletion = true, |
34 |
- didErr = false, |
|
35 |
- err; |
|
29 |
+ didErr = false, |
|
30 |
+ err; |
|
36 | 31 |
return { |
37 | 32 |
s: function s() { |
38 | 33 |
it = it.call(o); |
--- node_modules/@babel/runtime/helpers/esm/createForOfIteratorHelperLoose.js
+++ node_modules/@babel/runtime/helpers/esm/createForOfIteratorHelperLoose.js
... | ... | @@ -2,7 +2,6 @@ |
2 | 2 |
export default function _createForOfIteratorHelperLoose(o, allowArrayLike) { |
3 | 3 |
var it = typeof Symbol !== "undefined" && o[Symbol.iterator] || o["@@iterator"]; |
4 | 4 |
if (it) return (it = it.call(o)).next.bind(it); |
5 |
- |
|
6 | 5 |
if (Array.isArray(o) || (it = unsupportedIterableToArray(o)) || allowArrayLike && o && typeof o.length === "number") { |
7 | 6 |
if (it) o = it; |
8 | 7 |
var i = 0; |
... | ... | @@ -16,6 +15,5 @@ |
16 | 15 |
}; |
17 | 16 |
}; |
18 | 17 |
} |
19 |
- |
|
20 | 18 |
throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); |
21 | 19 |
}(파일 끝에 줄바꿈 문자 없음) |
--- node_modules/@babel/runtime/helpers/esm/createSuper.js
+++ node_modules/@babel/runtime/helpers/esm/createSuper.js
... | ... | @@ -5,15 +5,13 @@ |
5 | 5 |
var hasNativeReflectConstruct = isNativeReflectConstruct(); |
6 | 6 |
return function _createSuperInternal() { |
7 | 7 |
var Super = getPrototypeOf(Derived), |
8 |
- result; |
|
9 |
- |
|
8 |
+ result; |
|
10 | 9 |
if (hasNativeReflectConstruct) { |
11 | 10 |
var NewTarget = getPrototypeOf(this).constructor; |
12 | 11 |
result = Reflect.construct(Super, arguments, NewTarget); |
13 | 12 |
} else { |
14 | 13 |
result = Super.apply(this, arguments); |
15 | 14 |
} |
16 |
- |
|
17 | 15 |
return possibleConstructorReturn(this, result); |
18 | 16 |
}; |
19 | 17 |
}(파일 끝에 줄바꿈 문자 없음) |
--- node_modules/@babel/runtime/helpers/esm/decorate.js
+++ node_modules/@babel/runtime/helpers/esm/decorate.js
... | ... | @@ -2,13 +2,11 @@ |
2 | 2 |
import toPropertyKey from "./toPropertyKey.js"; |
3 | 3 |
export default function _decorate(decorators, factory, superClass, mixins) { |
4 | 4 |
var api = _getDecoratorsApi(); |
5 |
- |
|
6 | 5 |
if (mixins) { |
7 | 6 |
for (var i = 0; i < mixins.length; i++) { |
8 | 7 |
api = mixins[i](api); |
9 | 8 |
} |
10 | 9 |
} |
11 |
- |
|
12 | 10 |
var r = factory(function initialize(O) { |
13 | 11 |
api.initializeInstanceElements(O, decorated.elements); |
14 | 12 |
}, superClass); |
... | ... | @@ -16,12 +14,10 @@ |
16 | 14 |
api.initializeClassElements(r.F, decorated.elements); |
17 | 15 |
return api.runClassFinishers(r.F, decorated.finishers); |
18 | 16 |
} |
19 |
- |
|
20 | 17 |
function _getDecoratorsApi() { |
21 | 18 |
_getDecoratorsApi = function _getDecoratorsApi() { |
22 | 19 |
return api; |
23 | 20 |
}; |
24 |
- |
|
25 | 21 |
var api = { |
26 | 22 |
elementsDefinitionOrder: [["method"], ["field"]], |
27 | 23 |
initializeInstanceElements: function initializeInstanceElements(O, elements) { |
... | ... | @@ -38,7 +34,6 @@ |
38 | 34 |
["method", "field"].forEach(function (kind) { |
39 | 35 |
elements.forEach(function (element) { |
40 | 36 |
var placement = element.placement; |
41 |
- |
|
42 | 37 |
if (element.kind === kind && (placement === "static" || placement === "prototype")) { |
43 | 38 |
var receiver = placement === "static" ? F : proto; |
44 | 39 |
this.defineClassElement(receiver, element); |
... | ... | @@ -48,7 +43,6 @@ |
48 | 43 |
}, |
49 | 44 |
defineClassElement: function defineClassElement(receiver, element) { |
50 | 45 |
var descriptor = element.descriptor; |
51 |
- |
|
52 | 46 |
if (element.kind === "field") { |
53 | 47 |
var initializer = element.initializer; |
54 | 48 |
descriptor = { |
... | ... | @@ -58,7 +52,6 @@ |
58 | 52 |
value: initializer === void 0 ? void 0 : initializer.call(receiver) |
59 | 53 |
}; |
60 | 54 |
} |
61 |
- |
|
62 | 55 |
Object.defineProperty(receiver, element.key, descriptor); |
63 | 56 |
}, |
64 | 57 |
decorateClass: function decorateClass(elements, decorators) { |
... | ... | @@ -79,14 +72,12 @@ |
79 | 72 |
newElements.push.apply(newElements, elementFinishersExtras.extras); |
80 | 73 |
finishers.push.apply(finishers, elementFinishersExtras.finishers); |
81 | 74 |
}, this); |
82 |
- |
|
83 | 75 |
if (!decorators) { |
84 | 76 |
return { |
85 | 77 |
elements: newElements, |
86 | 78 |
finishers: finishers |
87 | 79 |
}; |
88 | 80 |
} |
89 |
- |
|
90 | 81 |
var result = this.decorateConstructor(newElements, decorators); |
91 | 82 |
finishers.push.apply(finishers, result.finishers); |
92 | 83 |
result.finishers = finishers; |
... | ... | @@ -94,17 +85,14 @@ |
94 | 85 |
}, |
95 | 86 |
addElementPlacement: function addElementPlacement(element, placements, silent) { |
96 | 87 |
var keys = placements[element.placement]; |
97 |
- |
|
98 | 88 |
if (!silent && keys.indexOf(element.key) !== -1) { |
99 | 89 |
throw new TypeError("Duplicated element (" + element.key + ")"); |
100 | 90 |
} |
101 |
- |
|
102 | 91 |
keys.push(element.key); |
103 | 92 |
}, |
104 | 93 |
decorateElement: function decorateElement(element, placements) { |
105 | 94 |
var extras = []; |
106 | 95 |
var finishers = []; |
107 |
- |
|
108 | 96 |
for (var decorators = element.decorators, i = decorators.length - 1; i >= 0; i--) { |
109 | 97 |
var keys = placements[element.placement]; |
110 | 98 |
keys.splice(keys.indexOf(element.key), 1); |
... | ... | @@ -112,22 +100,17 @@ |
112 | 100 |
var elementFinisherExtras = this.toElementFinisherExtras((0, decorators[i])(elementObject) || elementObject); |
113 | 101 |
element = elementFinisherExtras.element; |
114 | 102 |
this.addElementPlacement(element, placements); |
115 |
- |
|
116 | 103 |
if (elementFinisherExtras.finisher) { |
117 | 104 |
finishers.push(elementFinisherExtras.finisher); |
118 | 105 |
} |
119 |
- |
|
120 | 106 |
var newExtras = elementFinisherExtras.extras; |
121 |
- |
|
122 | 107 |
if (newExtras) { |
123 | 108 |
for (var j = 0; j < newExtras.length; j++) { |
124 | 109 |
this.addElementPlacement(newExtras[j], placements); |
125 | 110 |
} |
126 |
- |
|
127 | 111 |
extras.push.apply(extras, newExtras); |
128 | 112 |
} |
129 | 113 |
} |
130 |
- |
|
131 | 114 |
return { |
132 | 115 |
element: element, |
133 | 116 |
finishers: finishers, |
... | ... | @@ -136,18 +119,14 @@ |
136 | 119 |
}, |
137 | 120 |
decorateConstructor: function decorateConstructor(elements, decorators) { |
138 | 121 |
var finishers = []; |
139 |
- |
|
140 | 122 |
for (var i = decorators.length - 1; i >= 0; i--) { |
141 | 123 |
var obj = this.fromClassDescriptor(elements); |
142 | 124 |
var elementsAndFinisher = this.toClassDescriptor((0, decorators[i])(obj) || obj); |
143 |
- |
|
144 | 125 |
if (elementsAndFinisher.finisher !== undefined) { |
145 | 126 |
finishers.push(elementsAndFinisher.finisher); |
146 | 127 |
} |
147 |
- |
|
148 | 128 |
if (elementsAndFinisher.elements !== undefined) { |
149 | 129 |
elements = elementsAndFinisher.elements; |
150 |
- |
|
151 | 130 |
for (var j = 0; j < elements.length - 1; j++) { |
152 | 131 |
for (var k = j + 1; k < elements.length; k++) { |
153 | 132 |
if (elements[j].key === elements[k].key && elements[j].placement === elements[k].placement) { |
... | ... | @@ -157,7 +136,6 @@ |
157 | 136 |
} |
158 | 137 |
} |
159 | 138 |
} |
160 |
- |
|
161 | 139 |
return { |
162 | 140 |
elements: elements, |
163 | 141 |
finishers: finishers |
... | ... | @@ -189,18 +167,14 @@ |
189 | 167 |
}, |
190 | 168 |
toElementDescriptor: function toElementDescriptor(elementObject) { |
191 | 169 |
var kind = String(elementObject.kind); |
192 |
- |
|
193 | 170 |
if (kind !== "method" && kind !== "field") { |
194 | 171 |
throw new TypeError('An element descriptor\'s .kind property must be either "method" or' + ' "field", but a decorator created an element descriptor with' + ' .kind "' + kind + '"'); |
195 | 172 |
} |
196 |
- |
|
197 | 173 |
var key = toPropertyKey(elementObject.key); |
198 | 174 |
var placement = String(elementObject.placement); |
199 |
- |
|
200 | 175 |
if (placement !== "static" && placement !== "prototype" && placement !== "own") { |
201 | 176 |
throw new TypeError('An element descriptor\'s .placement property must be one of "static",' + ' "prototype" or "own", but a decorator created an element descriptor' + ' with .placement "' + placement + '"'); |
202 | 177 |
} |
203 |
- |
|
204 | 178 |
var descriptor = elementObject.descriptor; |
205 | 179 |
this.disallowProperty(elementObject, "elements", "An element descriptor"); |
206 | 180 |
var element = { |
... | ... | @@ -209,7 +183,6 @@ |
209 | 183 |
placement: placement, |
210 | 184 |
descriptor: Object.assign({}, descriptor) |
211 | 185 |
}; |
212 |
- |
|
213 | 186 |
if (kind !== "field") { |
214 | 187 |
this.disallowProperty(elementObject, "initializer", "A method descriptor"); |
215 | 188 |
} else { |
... | ... | @@ -218,14 +191,11 @@ |
218 | 191 |
this.disallowProperty(descriptor, "value", "The property descriptor of a field descriptor"); |
219 | 192 |
element.initializer = elementObject.initializer; |
220 | 193 |
} |
221 |
- |
|
222 | 194 |
return element; |
223 | 195 |
}, |
224 | 196 |
toElementFinisherExtras: function toElementFinisherExtras(elementObject) { |
225 | 197 |
var element = this.toElementDescriptor(elementObject); |
226 |
- |
|
227 | 198 |
var finisher = _optionalCallableProperty(elementObject, "finisher"); |
228 |
- |
|
229 | 199 |
var extras = this.toElementDescriptors(elementObject.extras); |
230 | 200 |
return { |
231 | 201 |
element: element, |
... | ... | @@ -247,19 +217,15 @@ |
247 | 217 |
}, |
248 | 218 |
toClassDescriptor: function toClassDescriptor(obj) { |
249 | 219 |
var kind = String(obj.kind); |
250 |
- |
|
251 | 220 |
if (kind !== "class") { |
252 | 221 |
throw new TypeError('A class descriptor\'s .kind property must be "class", but a decorator' + ' created a class descriptor with .kind "' + kind + '"'); |
253 | 222 |
} |
254 |
- |
|
255 | 223 |
this.disallowProperty(obj, "key", "A class descriptor"); |
256 | 224 |
this.disallowProperty(obj, "placement", "A class descriptor"); |
257 | 225 |
this.disallowProperty(obj, "descriptor", "A class descriptor"); |
258 | 226 |
this.disallowProperty(obj, "initializer", "A class descriptor"); |
259 | 227 |
this.disallowProperty(obj, "extras", "A class descriptor"); |
260 |
- |
|
261 | 228 |
var finisher = _optionalCallableProperty(obj, "finisher"); |
262 |
- |
|
263 | 229 |
var elements = this.toElementDescriptors(obj.elements); |
264 | 230 |
return { |
265 | 231 |
elements: elements, |
... | ... | @@ -269,16 +235,13 @@ |
269 | 235 |
runClassFinishers: function runClassFinishers(constructor, finishers) { |
270 | 236 |
for (var i = 0; i < finishers.length; i++) { |
271 | 237 |
var newConstructor = (0, finishers[i])(constructor); |
272 |
- |
|
273 | 238 |
if (newConstructor !== undefined) { |
274 | 239 |
if (typeof newConstructor !== "function") { |
275 | 240 |
throw new TypeError("Finishers must return a constructor."); |
276 | 241 |
} |
277 |
- |
|
278 | 242 |
constructor = newConstructor; |
279 | 243 |
} |
280 | 244 |
} |
281 |
- |
|
282 | 245 |
return constructor; |
283 | 246 |
}, |
284 | 247 |
disallowProperty: function disallowProperty(obj, name, objectType) { |
... | ... | @@ -289,11 +252,9 @@ |
289 | 252 |
}; |
290 | 253 |
return api; |
291 | 254 |
} |
292 |
- |
|
293 | 255 |
function _createElementDescriptor(def) { |
294 | 256 |
var key = toPropertyKey(def.key); |
295 | 257 |
var descriptor; |
296 |
- |
|
297 | 258 |
if (def.kind === "method") { |
298 | 259 |
descriptor = { |
299 | 260 |
value: def.value, |
... | ... | @@ -320,7 +281,6 @@ |
320 | 281 |
enumerable: true |
321 | 282 |
}; |
322 | 283 |
} |
323 |
- |
|
324 | 284 |
var element = { |
325 | 285 |
kind: def.kind === "field" ? "field" : "method", |
326 | 286 |
key: key, |
... | ... | @@ -331,7 +291,6 @@ |
331 | 291 |
if (def.kind === "field") element.initializer = def.value; |
332 | 292 |
return element; |
333 | 293 |
} |
334 |
- |
|
335 | 294 |
function _coalesceGetterSetter(element, other) { |
336 | 295 |
if (element.descriptor.get !== undefined) { |
337 | 296 |
other.descriptor.get = element.descriptor.get; |
... | ... | @@ -339,58 +298,45 @@ |
339 | 298 |
other.descriptor.set = element.descriptor.set; |
340 | 299 |
} |
341 | 300 |
} |
342 |
- |
|
343 | 301 |
function _coalesceClassElements(elements) { |
344 | 302 |
var newElements = []; |
345 |
- |
|
346 | 303 |
var isSameElement = function isSameElement(other) { |
347 | 304 |
return other.kind === "method" && other.key === element.key && other.placement === element.placement; |
348 | 305 |
}; |
349 |
- |
|
350 | 306 |
for (var i = 0; i < elements.length; i++) { |
351 | 307 |
var element = elements[i]; |
352 | 308 |
var other; |
353 |
- |
|
354 | 309 |
if (element.kind === "method" && (other = newElements.find(isSameElement))) { |
355 | 310 |
if (_isDataDescriptor(element.descriptor) || _isDataDescriptor(other.descriptor)) { |
356 | 311 |
if (_hasDecorators(element) || _hasDecorators(other)) { |
357 | 312 |
throw new ReferenceError("Duplicated methods (" + element.key + ") can't be decorated."); |
358 | 313 |
} |
359 |
- |
|
360 | 314 |
other.descriptor = element.descriptor; |
361 | 315 |
} else { |
362 | 316 |
if (_hasDecorators(element)) { |
363 | 317 |
if (_hasDecorators(other)) { |
364 | 318 |
throw new ReferenceError("Decorators can't be placed on different accessors with for " + "the same property (" + element.key + ")."); |
365 | 319 |
} |
366 |
- |
|
367 | 320 |
other.decorators = element.decorators; |
368 | 321 |
} |
369 |
- |
|
370 | 322 |
_coalesceGetterSetter(element, other); |
371 | 323 |
} |
372 | 324 |
} else { |
373 | 325 |
newElements.push(element); |
374 | 326 |
} |
375 | 327 |
} |
376 |
- |
|
377 | 328 |
return newElements; |
378 | 329 |
} |
379 |
- |
|
380 | 330 |
function _hasDecorators(element) { |
381 | 331 |
return element.decorators && element.decorators.length; |
382 | 332 |
} |
383 |
- |
|
384 | 333 |
function _isDataDescriptor(desc) { |
385 | 334 |
return desc !== undefined && !(desc.value === undefined && desc.writable === undefined); |
386 | 335 |
} |
387 |
- |
|
388 | 336 |
function _optionalCallableProperty(obj, name) { |
389 | 337 |
var value = obj[name]; |
390 |
- |
|
391 | 338 |
if (value !== undefined && typeof value !== "function") { |
392 | 339 |
throw new TypeError("Expected '" + name + "' to be a function"); |
393 | 340 |
} |
394 |
- |
|
395 | 341 |
return value; |
396 | 342 |
}(파일 끝에 줄바꿈 문자 없음) |
--- node_modules/@babel/runtime/helpers/esm/defaults.js
+++ node_modules/@babel/runtime/helpers/esm/defaults.js
... | ... | @@ -1,14 +1,11 @@ |
1 | 1 |
export default function _defaults(obj, defaults) { |
2 | 2 |
var keys = Object.getOwnPropertyNames(defaults); |
3 |
- |
|
4 | 3 |
for (var i = 0; i < keys.length; i++) { |
5 | 4 |
var key = keys[i]; |
6 | 5 |
var value = Object.getOwnPropertyDescriptor(defaults, key); |
7 |
- |
|
8 | 6 |
if (value && value.configurable && obj[key] === undefined) { |
9 | 7 |
Object.defineProperty(obj, key, value); |
10 | 8 |
} |
11 | 9 |
} |
12 |
- |
|
13 | 10 |
return obj; |
14 | 11 |
}(파일 끝에 줄바꿈 문자 없음) |
--- node_modules/@babel/runtime/helpers/esm/defineEnumerableProperties.js
+++ node_modules/@babel/runtime/helpers/esm/defineEnumerableProperties.js
... | ... | @@ -5,10 +5,8 @@ |
5 | 5 |
if ("value" in desc) desc.writable = true; |
6 | 6 |
Object.defineProperty(obj, key, desc); |
7 | 7 |
} |
8 |
- |
|
9 | 8 |
if (Object.getOwnPropertySymbols) { |
10 | 9 |
var objectSymbols = Object.getOwnPropertySymbols(descs); |
11 |
- |
|
12 | 10 |
for (var i = 0; i < objectSymbols.length; i++) { |
13 | 11 |
var sym = objectSymbols[i]; |
14 | 12 |
var desc = descs[sym]; |
... | ... | @@ -17,6 +15,5 @@ |
17 | 15 |
Object.defineProperty(obj, sym, desc); |
18 | 16 |
} |
19 | 17 |
} |
20 |
- |
|
21 | 18 |
return obj; |
22 | 19 |
}(파일 끝에 줄바꿈 문자 없음) |
--- node_modules/@babel/runtime/helpers/esm/defineProperty.js
+++ node_modules/@babel/runtime/helpers/esm/defineProperty.js
... | ... | @@ -1,4 +1,6 @@ |
1 |
+import toPropertyKey from "./toPropertyKey.js"; |
|
1 | 2 |
export default function _defineProperty(obj, key, value) { |
3 |
+ key = toPropertyKey(key); |
|
2 | 4 |
if (key in obj) { |
3 | 5 |
Object.defineProperty(obj, key, { |
4 | 6 |
value: value, |
... | ... | @@ -9,6 +11,5 @@ |
9 | 11 |
} else { |
10 | 12 |
obj[key] = value; |
11 | 13 |
} |
12 |
- |
|
13 | 14 |
return obj; |
14 | 15 |
}(파일 끝에 줄바꿈 문자 없음) |
--- node_modules/@babel/runtime/helpers/esm/extends.js
+++ node_modules/@babel/runtime/helpers/esm/extends.js
... | ... | @@ -2,14 +2,12 @@ |
2 | 2 |
_extends = Object.assign ? Object.assign.bind() : function (target) { |
3 | 3 |
for (var i = 1; i < arguments.length; i++) { |
4 | 4 |
var source = arguments[i]; |
5 |
- |
|
6 | 5 |
for (var key in source) { |
7 | 6 |
if (Object.prototype.hasOwnProperty.call(source, key)) { |
8 | 7 |
target[key] = source[key]; |
9 | 8 |
} |
10 | 9 |
} |
11 | 10 |
} |
12 |
- |
|
13 | 11 |
return target; |
14 | 12 |
}; |
15 | 13 |
return _extends.apply(this, arguments); |
--- node_modules/@babel/runtime/helpers/esm/get.js
+++ node_modules/@babel/runtime/helpers/esm/get.js
... | ... | @@ -7,14 +7,11 @@ |
7 | 7 |
var base = superPropBase(target, property); |
8 | 8 |
if (!base) return; |
9 | 9 |
var desc = Object.getOwnPropertyDescriptor(base, property); |
10 |
- |
|
11 | 10 |
if (desc.get) { |
12 | 11 |
return desc.get.call(arguments.length < 3 ? target : receiver); |
13 | 12 |
} |
14 |
- |
|
15 | 13 |
return desc.value; |
16 | 14 |
}; |
17 | 15 |
} |
18 |
- |
|
19 | 16 |
return _get.apply(this, arguments); |
20 | 17 |
}(파일 끝에 줄바꿈 문자 없음) |
--- node_modules/@babel/runtime/helpers/esm/inherits.js
+++ node_modules/@babel/runtime/helpers/esm/inherits.js
... | ... | @@ -3,7 +3,6 @@ |
3 | 3 |
if (typeof superClass !== "function" && superClass !== null) { |
4 | 4 |
throw new TypeError("Super expression must either be null or a function"); |
5 | 5 |
} |
6 |
- |
|
7 | 6 |
subClass.prototype = Object.create(superClass && superClass.prototype, { |
8 | 7 |
constructor: { |
9 | 8 |
value: subClass, |
--- node_modules/@babel/runtime/helpers/esm/interopRequireWildcard.js
+++ node_modules/@babel/runtime/helpers/esm/interopRequireWildcard.js
... | ... | @@ -1,5 +1,4 @@ |
1 | 1 |
import _typeof from "./typeof.js"; |
2 |
- |
|
3 | 2 |
function _getRequireWildcardCache(nodeInterop) { |
4 | 3 |
if (typeof WeakMap !== "function") return null; |
5 | 4 |
var cacheBabelInterop = new WeakMap(); |
... | ... | @@ -8,31 +7,24 @@ |
8 | 7 |
return nodeInterop ? cacheNodeInterop : cacheBabelInterop; |
9 | 8 |
})(nodeInterop); |
10 | 9 |
} |
11 |
- |
|
12 | 10 |
export default function _interopRequireWildcard(obj, nodeInterop) { |
13 | 11 |
if (!nodeInterop && obj && obj.__esModule) { |
14 | 12 |
return obj; |
15 | 13 |
} |
16 |
- |
|
17 | 14 |
if (obj === null || _typeof(obj) !== "object" && typeof obj !== "function") { |
18 | 15 |
return { |
19 | 16 |
"default": obj |
20 | 17 |
}; |
21 | 18 |
} |
22 |
- |
|
23 | 19 |
var cache = _getRequireWildcardCache(nodeInterop); |
24 |
- |
|
25 | 20 |
if (cache && cache.has(obj)) { |
26 | 21 |
return cache.get(obj); |
27 | 22 |
} |
28 |
- |
|
29 | 23 |
var newObj = {}; |
30 | 24 |
var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; |
31 |
- |
|
32 | 25 |
for (var key in obj) { |
33 | 26 |
if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { |
34 | 27 |
var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; |
35 |
- |
|
36 | 28 |
if (desc && (desc.get || desc.set)) { |
37 | 29 |
Object.defineProperty(newObj, key, desc); |
38 | 30 |
} else { |
... | ... | @@ -40,12 +32,9 @@ |
40 | 32 |
} |
41 | 33 |
} |
42 | 34 |
} |
43 |
- |
|
44 | 35 |
newObj["default"] = obj; |
45 |
- |
|
46 | 36 |
if (cache) { |
47 | 37 |
cache.set(obj, newObj); |
48 | 38 |
} |
49 |
- |
|
50 | 39 |
return newObj; |
51 | 40 |
}(파일 끝에 줄바꿈 문자 없음) |
--- node_modules/@babel/runtime/helpers/esm/isNativeReflectConstruct.js
+++ node_modules/@babel/runtime/helpers/esm/isNativeReflectConstruct.js
... | ... | @@ -2,7 +2,6 @@ |
2 | 2 |
if (typeof Reflect === "undefined" || !Reflect.construct) return false; |
3 | 3 |
if (Reflect.construct.sham) return false; |
4 | 4 |
if (typeof Proxy === "function") return true; |
5 |
- |
|
6 | 5 |
try { |
7 | 6 |
Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); |
8 | 7 |
return true; |
--- node_modules/@babel/runtime/helpers/esm/iterableToArrayLimit.js
+++ node_modules/@babel/runtime/helpers/esm/iterableToArrayLimit.js
... | ... | @@ -1,29 +1,29 @@ |
1 | 1 |
export default function _iterableToArrayLimit(arr, i) { |
2 |
- var _i = arr == null ? null : typeof Symbol !== "undefined" && arr[Symbol.iterator] || arr["@@iterator"]; |
|
3 |
- |
|
4 |
- if (_i == null) return; |
|
5 |
- var _arr = []; |
|
6 |
- var _n = true; |
|
7 |
- var _d = false; |
|
8 |
- |
|
9 |
- var _s, _e; |
|
10 |
- |
|
11 |
- try { |
|
12 |
- for (_i = _i.call(arr); !(_n = (_s = _i.next()).done); _n = true) { |
|
13 |
- _arr.push(_s.value); |
|
14 |
- |
|
15 |
- if (i && _arr.length === i) break; |
|
16 |
- } |
|
17 |
- } catch (err) { |
|
18 |
- _d = true; |
|
19 |
- _e = err; |
|
20 |
- } finally { |
|
2 |
+ var _i = null == arr ? null : "undefined" != typeof Symbol && arr[Symbol.iterator] || arr["@@iterator"]; |
|
3 |
+ if (null != _i) { |
|
4 |
+ var _s, |
|
5 |
+ _e, |
|
6 |
+ _x, |
|
7 |
+ _r, |
|
8 |
+ _arr = [], |
|
9 |
+ _n = !0, |
|
10 |
+ _d = !1; |
|
21 | 11 |
try { |
22 |
- if (!_n && _i["return"] != null) _i["return"](); |
|
12 |
+ if (_x = (_i = _i.call(arr)).next, 0 === i) { |
|
13 |
+ if (Object(_i) !== _i) return; |
|
14 |
+ _n = !1; |
|
15 |
+ } else for (; !(_n = (_s = _x.call(_i)).done) && (_arr.push(_s.value), _arr.length !== i); _n = !0) { |
|
16 |
+ ; |
|
17 |
+ } |
|
18 |
+ } catch (err) { |
|
19 |
+ _d = !0, _e = err; |
|
23 | 20 |
} finally { |
24 |
- if (_d) throw _e; |
|
21 |
+ try { |
|
22 |
+ if (!_n && null != _i["return"] && (_r = _i["return"](), Object(_r) !== _r)) return; |
|
23 |
+ } finally { |
|
24 |
+ if (_d) throw _e; |
|
25 |
+ } |
|
25 | 26 |
} |
27 |
+ return _arr; |
|
26 | 28 |
} |
27 |
- |
|
28 |
- return _arr; |
|
29 | 29 |
}(파일 끝에 줄바꿈 문자 없음) |
--- node_modules/@babel/runtime/helpers/esm/iterableToArrayLimitLoose.js
+++ node_modules/@babel/runtime/helpers/esm/iterableToArrayLimitLoose.js
... | ... | @@ -1,14 +1,11 @@ |
1 | 1 |
export default function _iterableToArrayLimitLoose(arr, i) { |
2 |
- var _i = arr && (typeof Symbol !== "undefined" && arr[Symbol.iterator] || arr["@@iterator"]); |
|
3 |
- |
|
4 |
- if (_i == null) return; |
|
5 |
- var _arr = []; |
|
6 |
- |
|
7 |
- for (_i = _i.call(arr), _step; !(_step = _i.next()).done;) { |
|
8 |
- _arr.push(_step.value); |
|
9 |
- |
|
10 |
- if (i && _arr.length === i) break; |
|
2 |
+ var _i = arr && ("undefined" != typeof Symbol && arr[Symbol.iterator] || arr["@@iterator"]); |
|
3 |
+ if (null != _i) { |
|
4 |
+ var _s, |
|
5 |
+ _arr = []; |
|
6 |
+ for (_i = _i.call(arr); arr.length < i && !(_s = _i.next()).done;) { |
|
7 |
+ _arr.push(_s.value); |
|
8 |
+ } |
|
9 |
+ return _arr; |
|
11 | 10 |
} |
12 |
- |
|
13 |
- return _arr; |
|
14 | 11 |
}(파일 끝에 줄바꿈 문자 없음) |
--- node_modules/@babel/runtime/helpers/esm/jsx.js
+++ node_modules/@babel/runtime/helpers/esm/jsx.js
... | ... | @@ -2,14 +2,13 @@ |
2 | 2 |
export default function _createRawReactElement(type, props, key, children) { |
3 | 3 |
REACT_ELEMENT_TYPE || (REACT_ELEMENT_TYPE = "function" == typeof Symbol && Symbol["for"] && Symbol["for"]("react.element") || 60103); |
4 | 4 |
var defaultProps = type && type.defaultProps, |
5 |
- childrenLength = arguments.length - 3; |
|
5 |
+ childrenLength = arguments.length - 3; |
|
6 | 6 |
if (props || 0 === childrenLength || (props = { |
7 | 7 |
children: void 0 |
8 | 8 |
}), 1 === childrenLength) props.children = children;else if (childrenLength > 1) { |
9 | 9 |
for (var childArray = new Array(childrenLength), i = 0; i < childrenLength; i++) { |
10 | 10 |
childArray[i] = arguments[i + 3]; |
11 | 11 |
} |
12 |
- |
|
13 | 12 |
props.children = childArray; |
14 | 13 |
} |
15 | 14 |
if (props && defaultProps) for (var propName in defaultProps) { |
--- node_modules/@babel/runtime/helpers/esm/maybeArrayLike.js
+++ node_modules/@babel/runtime/helpers/esm/maybeArrayLike.js
... | ... | @@ -4,6 +4,5 @@ |
4 | 4 |
var len = arr.length; |
5 | 5 |
return arrayLikeToArray(arr, i !== void 0 && i < len ? i : len); |
6 | 6 |
} |
7 |
- |
|
8 | 7 |
return next(arr, i); |
9 | 8 |
}(파일 끝에 줄바꿈 문자 없음) |
--- node_modules/@babel/runtime/helpers/esm/objectDestructuringEmpty.js
+++ node_modules/@babel/runtime/helpers/esm/objectDestructuringEmpty.js
... | ... | @@ -1,3 +1,3 @@ |
1 | 1 |
export default function _objectDestructuringEmpty(obj) { |
2 |
- if (obj == null) throw new TypeError("Cannot destructure undefined"); |
|
2 |
+ if (obj == null) throw new TypeError("Cannot destructure " + obj); |
|
3 | 3 |
}(파일 끝에 줄바꿈 문자 없음) |
--- node_modules/@babel/runtime/helpers/esm/objectSpread.js
+++ node_modules/@babel/runtime/helpers/esm/objectSpread.js
... | ... | @@ -3,17 +3,14 @@ |
3 | 3 |
for (var i = 1; i < arguments.length; i++) { |
4 | 4 |
var source = arguments[i] != null ? Object(arguments[i]) : {}; |
5 | 5 |
var ownKeys = Object.keys(source); |
6 |
- |
|
7 | 6 |
if (typeof Object.getOwnPropertySymbols === 'function') { |
8 | 7 |
ownKeys.push.apply(ownKeys, Object.getOwnPropertySymbols(source).filter(function (sym) { |
9 | 8 |
return Object.getOwnPropertyDescriptor(source, sym).enumerable; |
10 | 9 |
})); |
11 | 10 |
} |
12 |
- |
|
13 | 11 |
ownKeys.forEach(function (key) { |
14 | 12 |
defineProperty(target, key, source[key]); |
15 | 13 |
}); |
16 | 14 |
} |
17 |
- |
|
18 | 15 |
return target; |
19 | 16 |
}(파일 끝에 줄바꿈 문자 없음) |
--- node_modules/@babel/runtime/helpers/esm/objectSpread2.js
+++ node_modules/@babel/runtime/helpers/esm/objectSpread2.js
... | ... | @@ -1,18 +1,14 @@ |
1 | 1 |
import defineProperty from "./defineProperty.js"; |
2 |
- |
|
3 | 2 |
function ownKeys(object, enumerableOnly) { |
4 | 3 |
var keys = Object.keys(object); |
5 |
- |
|
6 | 4 |
if (Object.getOwnPropertySymbols) { |
7 | 5 |
var symbols = Object.getOwnPropertySymbols(object); |
8 | 6 |
enumerableOnly && (symbols = symbols.filter(function (sym) { |
9 | 7 |
return Object.getOwnPropertyDescriptor(object, sym).enumerable; |
10 | 8 |
})), keys.push.apply(keys, symbols); |
11 | 9 |
} |
12 |
- |
|
13 | 10 |
return keys; |
14 | 11 |
} |
15 |
- |
|
16 | 12 |
export default function _objectSpread2(target) { |
17 | 13 |
for (var i = 1; i < arguments.length; i++) { |
18 | 14 |
var source = null != arguments[i] ? arguments[i] : {}; |
... | ... | @@ -22,6 +18,5 @@ |
22 | 18 |
Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); |
23 | 19 |
}); |
24 | 20 |
} |
25 |
- |
|
26 | 21 |
return target; |
27 | 22 |
}(파일 끝에 줄바꿈 문자 없음) |
--- node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.js
+++ node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.js
... | ... | @@ -3,10 +3,8 @@ |
3 | 3 |
if (source == null) return {}; |
4 | 4 |
var target = objectWithoutPropertiesLoose(source, excluded); |
5 | 5 |
var key, i; |
6 |
- |
|
7 | 6 |
if (Object.getOwnPropertySymbols) { |
8 | 7 |
var sourceSymbolKeys = Object.getOwnPropertySymbols(source); |
9 |
- |
|
10 | 8 |
for (i = 0; i < sourceSymbolKeys.length; i++) { |
11 | 9 |
key = sourceSymbolKeys[i]; |
12 | 10 |
if (excluded.indexOf(key) >= 0) continue; |
... | ... | @@ -14,6 +12,5 @@ |
14 | 12 |
target[key] = source[key]; |
15 | 13 |
} |
16 | 14 |
} |
17 |
- |
|
18 | 15 |
return target; |
19 | 16 |
}(파일 끝에 줄바꿈 문자 없음) |
--- node_modules/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js
+++ node_modules/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js
... | ... | @@ -3,12 +3,10 @@ |
3 | 3 |
var target = {}; |
4 | 4 |
var sourceKeys = Object.keys(source); |
5 | 5 |
var key, i; |
6 |
- |
|
7 | 6 |
for (i = 0; i < sourceKeys.length; i++) { |
8 | 7 |
key = sourceKeys[i]; |
9 | 8 |
if (excluded.indexOf(key) >= 0) continue; |
10 | 9 |
target[key] = source[key]; |
11 | 10 |
} |
12 |
- |
|
13 | 11 |
return target; |
14 | 12 |
}(파일 끝에 줄바꿈 문자 없음) |
--- node_modules/@babel/runtime/helpers/esm/possibleConstructorReturn.js
+++ node_modules/@babel/runtime/helpers/esm/possibleConstructorReturn.js
... | ... | @@ -6,6 +6,5 @@ |
6 | 6 |
} else if (call !== void 0) { |
7 | 7 |
throw new TypeError("Derived constructors may only return object or undefined"); |
8 | 8 |
} |
9 |
- |
|
10 | 9 |
return assertThisInitialized(self); |
11 | 10 |
}(파일 끝에 줄바꿈 문자 없음) |
--- node_modules/@babel/runtime/helpers/esm/regeneratorRuntime.js
+++ node_modules/@babel/runtime/helpers/esm/regeneratorRuntime.js
... | ... | @@ -1,20 +1,19 @@ |
1 | 1 |
import _typeof from "./typeof.js"; |
2 | 2 |
export default function _regeneratorRuntime() { |
3 |
- "use strict"; |
|
4 |
- /*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */ |
|
5 |
- |
|
3 |
+ "use strict"; /*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */ |
|
6 | 4 |
_regeneratorRuntime = function _regeneratorRuntime() { |
7 | 5 |
return exports; |
8 | 6 |
}; |
9 |
- |
|
10 | 7 |
var exports = {}, |
11 |
- Op = Object.prototype, |
|
12 |
- hasOwn = Op.hasOwnProperty, |
|
13 |
- $Symbol = "function" == typeof Symbol ? Symbol : {}, |
|
14 |
- iteratorSymbol = $Symbol.iterator || "@@iterator", |
|
15 |
- asyncIteratorSymbol = $Symbol.asyncIterator || "@@asyncIterator", |
|
16 |
- toStringTagSymbol = $Symbol.toStringTag || "@@toStringTag"; |
|
17 |
- |
|
8 |
+ Op = Object.prototype, |
|
9 |
+ hasOwn = Op.hasOwnProperty, |
|
10 |
+ defineProperty = Object.defineProperty || function (obj, key, desc) { |
|
11 |
+ obj[key] = desc.value; |
|
12 |
+ }, |
|
13 |
+ $Symbol = "function" == typeof Symbol ? Symbol : {}, |
|
14 |
+ iteratorSymbol = $Symbol.iterator || "@@iterator", |
|
15 |
+ asyncIteratorSymbol = $Symbol.asyncIterator || "@@asyncIterator", |
|
16 |
+ toStringTagSymbol = $Symbol.toStringTag || "@@toStringTag"; |
|
18 | 17 |
function define(obj, key, value) { |
19 | 18 |
return Object.defineProperty(obj, key, { |
20 | 19 |
value: value, |
... | ... | @@ -23,7 +22,6 @@ |
23 | 22 |
writable: !0 |
24 | 23 |
}), obj[key]; |
25 | 24 |
} |
26 |
- |
|
27 | 25 |
try { |
28 | 26 |
define({}, ""); |
29 | 27 |
} catch (err) { |
... | ... | @@ -31,54 +29,14 @@ |
31 | 29 |
return obj[key] = value; |
32 | 30 |
}; |
33 | 31 |
} |
34 |
- |
|
35 | 32 |
function wrap(innerFn, outerFn, self, tryLocsList) { |
36 | 33 |
var protoGenerator = outerFn && outerFn.prototype instanceof Generator ? outerFn : Generator, |
37 |
- generator = Object.create(protoGenerator.prototype), |
|
38 |
- context = new Context(tryLocsList || []); |
|
39 |
- return generator._invoke = function (innerFn, self, context) { |
|
40 |
- var state = "suspendedStart"; |
|
41 |
- return function (method, arg) { |
|
42 |
- if ("executing" === state) throw new Error("Generator is already running"); |
|
43 |
- |
|
44 |
- if ("completed" === state) { |
|
45 |
- if ("throw" === method) throw arg; |
|
46 |
- return doneResult(); |
|
47 |
- } |
|
48 |
- |
|
49 |
- for (context.method = method, context.arg = arg;;) { |
|
50 |
- var delegate = context.delegate; |
|
51 |
- |
|
52 |
- if (delegate) { |
|
53 |
- var delegateResult = maybeInvokeDelegate(delegate, context); |
|
54 |
- |
|
55 |
- if (delegateResult) { |
|
56 |
- if (delegateResult === ContinueSentinel) continue; |
|
57 |
- return delegateResult; |
|
58 |
- } |
|
59 |
- } |
|
60 |
- |
|
61 |
- if ("next" === context.method) context.sent = context._sent = context.arg;else if ("throw" === context.method) { |
|
62 |
- if ("suspendedStart" === state) throw state = "completed", context.arg; |
|
63 |
- context.dispatchException(context.arg); |
|
64 |
- } else "return" === context.method && context.abrupt("return", context.arg); |
|
65 |
- state = "executing"; |
|
66 |
- var record = tryCatch(innerFn, self, context); |
|
67 |
- |
|
68 |
- if ("normal" === record.type) { |
|
69 |
- if (state = context.done ? "completed" : "suspendedYield", record.arg === ContinueSentinel) continue; |
|
70 |
- return { |
|
71 |
- value: record.arg, |
|
72 |
- done: context.done |
|
73 |
- }; |
|
74 |
- } |
|
75 |
- |
|
76 |
- "throw" === record.type && (state = "completed", context.method = "throw", context.arg = record.arg); |
|
77 |
- } |
|
78 |
- }; |
|
79 |
- }(innerFn, self, context), generator; |
|
34 |
+ generator = Object.create(protoGenerator.prototype), |
|
35 |
+ context = new Context(tryLocsList || []); |
|
36 |
+ return defineProperty(generator, "_invoke", { |
|
37 |
+ value: makeInvokeMethod(innerFn, self, context) |
|
38 |
+ }), generator; |
|
80 | 39 |
} |
81 |
- |
|
82 | 40 |
function tryCatch(fn, obj, arg) { |
83 | 41 |
try { |
84 | 42 |
return { |
... | ... | @@ -92,25 +50,19 @@ |
92 | 50 |
}; |
93 | 51 |
} |
94 | 52 |
} |
95 |
- |
|
96 | 53 |
exports.wrap = wrap; |
97 | 54 |
var ContinueSentinel = {}; |
98 |
- |
|
99 | 55 |
function Generator() {} |
100 |
- |
|
101 | 56 |
function GeneratorFunction() {} |
102 |
- |
|
103 | 57 |
function GeneratorFunctionPrototype() {} |
104 |
- |
|
105 | 58 |
var IteratorPrototype = {}; |
106 | 59 |
define(IteratorPrototype, iteratorSymbol, function () { |
107 | 60 |
return this; |
108 | 61 |
}); |
109 | 62 |
var getProto = Object.getPrototypeOf, |
110 |
- NativeIteratorPrototype = getProto && getProto(getProto(values([]))); |
|
63 |
+ NativeIteratorPrototype = getProto && getProto(getProto(values([]))); |
|
111 | 64 |
NativeIteratorPrototype && NativeIteratorPrototype !== Op && hasOwn.call(NativeIteratorPrototype, iteratorSymbol) && (IteratorPrototype = NativeIteratorPrototype); |
112 | 65 |
var Gp = GeneratorFunctionPrototype.prototype = Generator.prototype = Object.create(IteratorPrototype); |
113 |
- |
|
114 | 66 |
function defineIteratorMethods(prototype) { |
115 | 67 |
["next", "throw", "return"].forEach(function (method) { |
116 | 68 |
define(prototype, method, function (arg) { |
... | ... | @@ -118,14 +70,12 @@ |
118 | 70 |
}); |
119 | 71 |
}); |
120 | 72 |
} |
121 |
- |
|
122 | 73 |
function AsyncIterator(generator, PromiseImpl) { |
123 | 74 |
function invoke(method, arg, resolve, reject) { |
124 | 75 |
var record = tryCatch(generator[method], generator, arg); |
125 |
- |
|
126 | 76 |
if ("throw" !== record.type) { |
127 | 77 |
var result = record.arg, |
128 |
- value = result.value; |
|
78 |
+ value = result.value; |
|
129 | 79 |
return value && "object" == _typeof(value) && hasOwn.call(value, "__await") ? PromiseImpl.resolve(value.__await).then(function (value) { |
130 | 80 |
invoke("next", value, resolve, reject); |
131 | 81 |
}, function (err) { |
... | ... | @@ -136,92 +86,111 @@ |
136 | 86 |
return invoke("throw", error, resolve, reject); |
137 | 87 |
}); |
138 | 88 |
} |
139 |
- |
|
140 | 89 |
reject(record.arg); |
141 | 90 |
} |
142 |
- |
|
143 | 91 |
var previousPromise; |
144 |
- |
|
145 |
- this._invoke = function (method, arg) { |
|
146 |
- function callInvokeWithMethodAndArg() { |
|
147 |
- return new PromiseImpl(function (resolve, reject) { |
|
148 |
- invoke(method, arg, resolve, reject); |
|
149 |
- }); |
|
92 |
+ defineProperty(this, "_invoke", { |
|
93 |
+ value: function value(method, arg) { |
|
94 |
+ function callInvokeWithMethodAndArg() { |
|
95 |
+ return new PromiseImpl(function (resolve, reject) { |
|
96 |
+ invoke(method, arg, resolve, reject); |
|
97 |
+ }); |
|
98 |
+ } |
|
99 |
+ return previousPromise = previousPromise ? previousPromise.then(callInvokeWithMethodAndArg, callInvokeWithMethodAndArg) : callInvokeWithMethodAndArg(); |
|
150 | 100 |
} |
151 |
- |
|
152 |
- return previousPromise = previousPromise ? previousPromise.then(callInvokeWithMethodAndArg, callInvokeWithMethodAndArg) : callInvokeWithMethodAndArg(); |
|
101 |
+ }); |
|
102 |
+ } |
|
103 |
+ function makeInvokeMethod(innerFn, self, context) { |
|
104 |
+ var state = "suspendedStart"; |
|
105 |
+ return function (method, arg) { |
|
106 |
+ if ("executing" === state) throw new Error("Generator is already running"); |
|
107 |
+ if ("completed" === state) { |
|
108 |
+ if ("throw" === method) throw arg; |
|
109 |
+ return doneResult(); |
|
110 |
+ } |
|
111 |
+ for (context.method = method, context.arg = arg;;) { |
|
112 |
+ var delegate = context.delegate; |
|
113 |
+ if (delegate) { |
|
114 |
+ var delegateResult = maybeInvokeDelegate(delegate, context); |
|
115 |
+ if (delegateResult) { |
|
116 |
+ if (delegateResult === ContinueSentinel) continue; |
|
117 |
+ return delegateResult; |
|
118 |
+ } |
|
119 |
+ } |
|
120 |
+ if ("next" === context.method) context.sent = context._sent = context.arg;else if ("throw" === context.method) { |
|
121 |
+ if ("suspendedStart" === state) throw state = "completed", context.arg; |
|
122 |
+ context.dispatchException(context.arg); |
|
123 |
+ } else "return" === context.method && context.abrupt("return", context.arg); |
|
124 |
+ state = "executing"; |
|
125 |
+ var record = tryCatch(innerFn, self, context); |
|
126 |
+ if ("normal" === record.type) { |
|
127 |
+ if (state = context.done ? "completed" : "suspendedYield", record.arg === ContinueSentinel) continue; |
|
128 |
+ return { |
|
129 |
+ value: record.arg, |
|
130 |
+ done: context.done |
|
131 |
+ }; |
|
132 |
+ } |
|
133 |
+ "throw" === record.type && (state = "completed", context.method = "throw", context.arg = record.arg); |
|
134 |
+ } |
|
153 | 135 |
}; |
154 | 136 |
} |
155 |
- |
|
156 | 137 |
function maybeInvokeDelegate(delegate, context) { |
157 |
- var method = delegate.iterator[context.method]; |
|
158 |
- |
|
159 |
- if (undefined === method) { |
|
160 |
- if (context.delegate = null, "throw" === context.method) { |
|
161 |
- if (delegate.iterator["return"] && (context.method = "return", context.arg = undefined, maybeInvokeDelegate(delegate, context), "throw" === context.method)) return ContinueSentinel; |
|
162 |
- context.method = "throw", context.arg = new TypeError("The iterator does not provide a 'throw' method"); |
|
163 |
- } |
|
164 |
- |
|
165 |
- return ContinueSentinel; |
|
166 |
- } |
|
167 |
- |
|
138 |
+ var methodName = context.method, |
|
139 |
+ method = delegate.iterator[methodName]; |
|
140 |
+ if (undefined === method) return context.delegate = null, "throw" === methodName && delegate.iterator["return"] && (context.method = "return", context.arg = undefined, maybeInvokeDelegate(delegate, context), "throw" === context.method) || "return" !== methodName && (context.method = "throw", context.arg = new TypeError("The iterator does not provide a '" + methodName + "' method")), ContinueSentinel; |
|
168 | 141 |
var record = tryCatch(method, delegate.iterator, context.arg); |
169 | 142 |
if ("throw" === record.type) return context.method = "throw", context.arg = record.arg, context.delegate = null, ContinueSentinel; |
170 | 143 |
var info = record.arg; |
171 | 144 |
return info ? info.done ? (context[delegate.resultName] = info.value, context.next = delegate.nextLoc, "return" !== context.method && (context.method = "next", context.arg = undefined), context.delegate = null, ContinueSentinel) : info : (context.method = "throw", context.arg = new TypeError("iterator result is not an object"), context.delegate = null, ContinueSentinel); |
172 | 145 |
} |
173 |
- |
|
174 | 146 |
function pushTryEntry(locs) { |
175 | 147 |
var entry = { |
176 | 148 |
tryLoc: locs[0] |
177 | 149 |
}; |
178 | 150 |
1 in locs && (entry.catchLoc = locs[1]), 2 in locs && (entry.finallyLoc = locs[2], entry.afterLoc = locs[3]), this.tryEntries.push(entry); |
179 | 151 |
} |
180 |
- |
|
181 | 152 |
function resetTryEntry(entry) { |
182 | 153 |
var record = entry.completion || {}; |
183 | 154 |
record.type = "normal", delete record.arg, entry.completion = record; |
184 | 155 |
} |
185 |
- |
|
186 | 156 |
function Context(tryLocsList) { |
187 | 157 |
this.tryEntries = [{ |
188 | 158 |
tryLoc: "root" |
189 | 159 |
}], tryLocsList.forEach(pushTryEntry, this), this.reset(!0); |
190 | 160 |
} |
191 |
- |
|
192 | 161 |
function values(iterable) { |
193 | 162 |
if (iterable) { |
194 | 163 |
var iteratorMethod = iterable[iteratorSymbol]; |
195 | 164 |
if (iteratorMethod) return iteratorMethod.call(iterable); |
196 | 165 |
if ("function" == typeof iterable.next) return iterable; |
197 |
- |
|
198 | 166 |
if (!isNaN(iterable.length)) { |
199 | 167 |
var i = -1, |
200 |
- next = function next() { |
|
201 |
- for (; ++i < iterable.length;) { |
|
202 |
- if (hasOwn.call(iterable, i)) return next.value = iterable[i], next.done = !1, next; |
|
203 |
- } |
|
204 |
- |
|
205 |
- return next.value = undefined, next.done = !0, next; |
|
206 |
- }; |
|
207 |
- |
|
168 |
+ next = function next() { |
|
169 |
+ for (; ++i < iterable.length;) { |
|
170 |
+ if (hasOwn.call(iterable, i)) return next.value = iterable[i], next.done = !1, next; |
|
171 |
+ } |
|
172 |
+ return next.value = undefined, next.done = !0, next; |
|
173 |
+ }; |
|
208 | 174 |
return next.next = next; |
209 | 175 |
} |
210 | 176 |
} |
211 |
- |
|
212 | 177 |
return { |
213 | 178 |
next: doneResult |
214 | 179 |
}; |
215 | 180 |
} |
216 |
- |
|
217 | 181 |
function doneResult() { |
218 | 182 |
return { |
219 | 183 |
value: undefined, |
220 | 184 |
done: !0 |
221 | 185 |
}; |
222 | 186 |
} |
223 |
- |
|
224 |
- return GeneratorFunction.prototype = GeneratorFunctionPrototype, define(Gp, "constructor", GeneratorFunctionPrototype), define(GeneratorFunctionPrototype, "constructor", GeneratorFunction), GeneratorFunction.displayName = define(GeneratorFunctionPrototype, toStringTagSymbol, "GeneratorFunction"), exports.isGeneratorFunction = function (genFun) { |
|
187 |
+ return GeneratorFunction.prototype = GeneratorFunctionPrototype, defineProperty(Gp, "constructor", { |
|
188 |
+ value: GeneratorFunctionPrototype, |
|
189 |
+ configurable: !0 |
|
190 |
+ }), defineProperty(GeneratorFunctionPrototype, "constructor", { |
|
191 |
+ value: GeneratorFunction, |
|
192 |
+ configurable: !0 |
|
193 |
+ }), GeneratorFunction.displayName = define(GeneratorFunctionPrototype, toStringTagSymbol, "GeneratorFunction"), exports.isGeneratorFunction = function (genFun) { |
|
225 | 194 |
var ctor = "function" == typeof genFun && genFun.constructor; |
226 | 195 |
return !!ctor && (ctor === GeneratorFunction || "GeneratorFunction" === (ctor.displayName || ctor.name)); |
227 | 196 |
}, exports.mark = function (genFun) { |
... | ... | @@ -242,19 +211,17 @@ |
242 | 211 |
return this; |
243 | 212 |
}), define(Gp, "toString", function () { |
244 | 213 |
return "[object Generator]"; |
245 |
- }), exports.keys = function (object) { |
|
246 |
- var keys = []; |
|
247 |
- |
|
214 |
+ }), exports.keys = function (val) { |
|
215 |
+ var object = Object(val), |
|
216 |
+ keys = []; |
|
248 | 217 |
for (var key in object) { |
249 | 218 |
keys.push(key); |
250 | 219 |
} |
251 |
- |
|
252 | 220 |
return keys.reverse(), function next() { |
253 | 221 |
for (; keys.length;) { |
254 | 222 |
var key = keys.pop(); |
255 | 223 |
if (key in object) return next.value = key, next.done = !1, next; |
256 | 224 |
} |
257 |
- |
|
258 | 225 |
return next.done = !0, next; |
259 | 226 |
}; |
260 | 227 |
}, exports.values = values, Context.prototype = { |
... | ... | @@ -273,20 +240,16 @@ |
273 | 240 |
dispatchException: function dispatchException(exception) { |
274 | 241 |
if (this.done) throw exception; |
275 | 242 |
var context = this; |
276 |
- |
|
277 | 243 |
function handle(loc, caught) { |
278 | 244 |
return record.type = "throw", record.arg = exception, context.next = loc, caught && (context.method = "next", context.arg = undefined), !!caught; |
279 | 245 |
} |
280 |
- |
|
281 | 246 |
for (var i = this.tryEntries.length - 1; i >= 0; --i) { |
282 | 247 |
var entry = this.tryEntries[i], |
283 |
- record = entry.completion; |
|
248 |
+ record = entry.completion; |
|
284 | 249 |
if ("root" === entry.tryLoc) return handle("end"); |
285 |
- |
|
286 | 250 |
if (entry.tryLoc <= this.prev) { |
287 | 251 |
var hasCatch = hasOwn.call(entry, "catchLoc"), |
288 |
- hasFinally = hasOwn.call(entry, "finallyLoc"); |
|
289 |
- |
|
252 |
+ hasFinally = hasOwn.call(entry, "finallyLoc"); |
|
290 | 253 |
if (hasCatch && hasFinally) { |
291 | 254 |
if (this.prev < entry.catchLoc) return handle(entry.catchLoc, !0); |
292 | 255 |
if (this.prev < entry.finallyLoc) return handle(entry.finallyLoc); |
... | ... | @@ -302,13 +265,11 @@ |
302 | 265 |
abrupt: function abrupt(type, arg) { |
303 | 266 |
for (var i = this.tryEntries.length - 1; i >= 0; --i) { |
304 | 267 |
var entry = this.tryEntries[i]; |
305 |
- |
|
306 | 268 |
if (entry.tryLoc <= this.prev && hasOwn.call(entry, "finallyLoc") && this.prev < entry.finallyLoc) { |
307 | 269 |
var finallyEntry = entry; |
308 | 270 |
break; |
309 | 271 |
} |
310 | 272 |
} |
311 |
- |
|
312 | 273 |
finallyEntry && ("break" === type || "continue" === type) && finallyEntry.tryLoc <= arg && arg <= finallyEntry.finallyLoc && (finallyEntry = null); |
313 | 274 |
var record = finallyEntry ? finallyEntry.completion : {}; |
314 | 275 |
return record.type = type, record.arg = arg, finallyEntry ? (this.method = "next", this.next = finallyEntry.finallyLoc, ContinueSentinel) : this.complete(record); |
... | ... | @@ -326,19 +287,15 @@ |
326 | 287 |
"catch": function _catch(tryLoc) { |
327 | 288 |
for (var i = this.tryEntries.length - 1; i >= 0; --i) { |
328 | 289 |
var entry = this.tryEntries[i]; |
329 |
- |
|
330 | 290 |
if (entry.tryLoc === tryLoc) { |
331 | 291 |
var record = entry.completion; |
332 |
- |
|
333 | 292 |
if ("throw" === record.type) { |
334 | 293 |
var thrown = record.arg; |
335 | 294 |
resetTryEntry(entry); |
336 | 295 |
} |
337 |
- |
|
338 | 296 |
return thrown; |
339 | 297 |
} |
340 | 298 |
} |
341 |
- |
|
342 | 299 |
throw new Error("illegal catch attempt"); |
343 | 300 |
}, |
344 | 301 |
delegateYield: function delegateYield(iterable, resultName, nextLoc) { |
--- node_modules/@babel/runtime/helpers/esm/set.js
+++ node_modules/@babel/runtime/helpers/esm/set.js
... | ... | @@ -1,6 +1,5 @@ |
1 | 1 |
import superPropBase from "./superPropBase.js"; |
2 | 2 |
import defineProperty from "./defineProperty.js"; |
3 |
- |
|
4 | 3 |
function set(target, property, value, receiver) { |
5 | 4 |
if (typeof Reflect !== "undefined" && Reflect.set) { |
6 | 5 |
set = Reflect.set; |
... | ... | @@ -8,10 +7,8 @@ |
8 | 7 |
set = function set(target, property, value, receiver) { |
9 | 8 |
var base = superPropBase(target, property); |
10 | 9 |
var desc; |
11 |
- |
|
12 | 10 |
if (base) { |
13 | 11 |
desc = Object.getOwnPropertyDescriptor(base, property); |
14 |
- |
|
15 | 12 |
if (desc.set) { |
16 | 13 |
desc.set.call(receiver, value); |
17 | 14 |
return true; |
... | ... | @@ -19,33 +16,25 @@ |
19 | 16 |
return false; |
20 | 17 |
} |
21 | 18 |
} |
22 |
- |
|
23 | 19 |
desc = Object.getOwnPropertyDescriptor(receiver, property); |
24 |
- |
|
25 | 20 |
if (desc) { |
26 | 21 |
if (!desc.writable) { |
27 | 22 |
return false; |
28 | 23 |
} |
29 |
- |
|
30 | 24 |
desc.value = value; |
31 | 25 |
Object.defineProperty(receiver, property, desc); |
32 | 26 |
} else { |
33 | 27 |
defineProperty(receiver, property, value); |
34 | 28 |
} |
35 |
- |
|
36 | 29 |
return true; |
37 | 30 |
}; |
38 | 31 |
} |
39 |
- |
|
40 | 32 |
return set(target, property, value, receiver); |
41 | 33 |
} |
42 |
- |
|
43 | 34 |
export default function _set(target, property, value, receiver, isStrict) { |
44 | 35 |
var s = set(target, property, value, receiver || target); |
45 |
- |
|
46 | 36 |
if (!s && isStrict) { |
47 | 37 |
throw new Error('failed to set property'); |
48 | 38 |
} |
49 |
- |
|
50 | 39 |
return value; |
51 | 40 |
}(파일 끝에 줄바꿈 문자 없음) |
--- node_modules/@babel/runtime/helpers/esm/superPropBase.js
+++ node_modules/@babel/runtime/helpers/esm/superPropBase.js
... | ... | @@ -4,6 +4,5 @@ |
4 | 4 |
object = getPrototypeOf(object); |
5 | 5 |
if (object === null) break; |
6 | 6 |
} |
7 |
- |
|
8 | 7 |
return object; |
9 | 8 |
}(파일 끝에 줄바꿈 문자 없음) |
--- node_modules/@babel/runtime/helpers/esm/taggedTemplateLiteral.js
+++ node_modules/@babel/runtime/helpers/esm/taggedTemplateLiteral.js
... | ... | @@ -2,7 +2,6 @@ |
2 | 2 |
if (!raw) { |
3 | 3 |
raw = strings.slice(0); |
4 | 4 |
} |
5 |
- |
|
6 | 5 |
return Object.freeze(Object.defineProperties(strings, { |
7 | 6 |
raw: { |
8 | 7 |
value: Object.freeze(raw) |
--- node_modules/@babel/runtime/helpers/esm/taggedTemplateLiteralLoose.js
+++ node_modules/@babel/runtime/helpers/esm/taggedTemplateLiteralLoose.js
... | ... | @@ -2,7 +2,6 @@ |
2 | 2 |
if (!raw) { |
3 | 3 |
raw = strings.slice(0); |
4 | 4 |
} |
5 |
- |
|
6 | 5 |
strings.raw = raw; |
7 | 6 |
return strings; |
8 | 7 |
}(파일 끝에 줄바꿈 문자 없음) |
--- node_modules/@babel/runtime/helpers/esm/toPrimitive.js
+++ node_modules/@babel/runtime/helpers/esm/toPrimitive.js
... | ... | @@ -2,12 +2,10 @@ |
2 | 2 |
export default function _toPrimitive(input, hint) { |
3 | 3 |
if (_typeof(input) !== "object" || input === null) return input; |
4 | 4 |
var prim = input[Symbol.toPrimitive]; |
5 |
- |
|
6 | 5 |
if (prim !== undefined) { |
7 | 6 |
var res = prim.call(input, hint || "default"); |
8 | 7 |
if (_typeof(res) !== "object") return res; |
9 | 8 |
throw new TypeError("@@toPrimitive must return a primitive value."); |
10 | 9 |
} |
11 |
- |
|
12 | 10 |
return (hint === "string" ? String : Number)(input); |
13 | 11 |
}(파일 끝에 줄바꿈 문자 없음) |
--- node_modules/@babel/runtime/helpers/esm/wrapNativeSuper.js
+++ node_modules/@babel/runtime/helpers/esm/wrapNativeSuper.js
... | ... | @@ -4,24 +4,18 @@ |
4 | 4 |
import construct from "./construct.js"; |
5 | 5 |
export default function _wrapNativeSuper(Class) { |
6 | 6 |
var _cache = typeof Map === "function" ? new Map() : undefined; |
7 |
- |
|
8 | 7 |
_wrapNativeSuper = function _wrapNativeSuper(Class) { |
9 | 8 |
if (Class === null || !isNativeFunction(Class)) return Class; |
10 |
- |
|
11 | 9 |
if (typeof Class !== "function") { |
12 | 10 |
throw new TypeError("Super expression must either be null or a function"); |
13 | 11 |
} |
14 |
- |
|
15 | 12 |
if (typeof _cache !== "undefined") { |
16 | 13 |
if (_cache.has(Class)) return _cache.get(Class); |
17 |
- |
|
18 | 14 |
_cache.set(Class, Wrapper); |
19 | 15 |
} |
20 |
- |
|
21 | 16 |
function Wrapper() { |
22 | 17 |
return construct(Class, arguments, getPrototypeOf(this).constructor); |
23 | 18 |
} |
24 |
- |
|
25 | 19 |
Wrapper.prototype = Object.create(Class.prototype, { |
26 | 20 |
constructor: { |
27 | 21 |
value: Wrapper, |
... | ... | @@ -32,6 +26,5 @@ |
32 | 26 |
}); |
33 | 27 |
return setPrototypeOf(Wrapper, Class); |
34 | 28 |
}; |
35 |
- |
|
36 | 29 |
return _wrapNativeSuper(Class); |
37 | 30 |
}(파일 끝에 줄바꿈 문자 없음) |
--- node_modules/@babel/runtime/helpers/esm/wrapRegExp.js
+++ node_modules/@babel/runtime/helpers/esm/wrapRegExp.js
... | ... | @@ -5,54 +5,48 @@ |
5 | 5 |
_wrapRegExp = function _wrapRegExp(re, groups) { |
6 | 6 |
return new BabelRegExp(re, void 0, groups); |
7 | 7 |
}; |
8 |
- |
|
9 | 8 |
var _super = RegExp.prototype, |
10 |
- _groups = new WeakMap(); |
|
11 |
- |
|
9 |
+ _groups = new WeakMap(); |
|
12 | 10 |
function BabelRegExp(re, flags, groups) { |
13 | 11 |
var _this = new RegExp(re, flags); |
14 |
- |
|
15 | 12 |
return _groups.set(_this, groups || _groups.get(re)), setPrototypeOf(_this, BabelRegExp.prototype); |
16 | 13 |
} |
17 |
- |
|
18 | 14 |
function buildGroups(result, re) { |
19 | 15 |
var g = _groups.get(re); |
20 |
- |
|
21 | 16 |
return Object.keys(g).reduce(function (groups, name) { |
22 | 17 |
var i = g[name]; |
23 | 18 |
if ("number" == typeof i) groups[name] = result[i];else { |
24 | 19 |
for (var k = 0; void 0 === result[i[k]] && k + 1 < i.length;) { |
25 | 20 |
k++; |
26 | 21 |
} |
27 |
- |
|
28 | 22 |
groups[name] = result[i[k]]; |
29 | 23 |
} |
30 | 24 |
return groups; |
31 | 25 |
}, Object.create(null)); |
32 | 26 |
} |
33 |
- |
|
34 | 27 |
return inherits(BabelRegExp, RegExp), BabelRegExp.prototype.exec = function (str) { |
35 | 28 |
var result = _super.exec.call(this, str); |
36 |
- |
|
37 |
- return result && (result.groups = buildGroups(result, this)), result; |
|
29 |
+ if (result) { |
|
30 |
+ result.groups = buildGroups(result, this); |
|
31 |
+ var indices = result.indices; |
|
32 |
+ indices && (indices.groups = buildGroups(indices, this)); |
|
33 |
+ } |
|
34 |
+ return result; |
|
38 | 35 |
}, BabelRegExp.prototype[Symbol.replace] = function (str, substitution) { |
39 | 36 |
if ("string" == typeof substitution) { |
40 | 37 |
var groups = _groups.get(this); |
41 |
- |
|
42 | 38 |
return _super[Symbol.replace].call(this, str, substitution.replace(/\$<([^>]+)>/g, function (_, name) { |
43 |
- return "$" + groups[name]; |
|
39 |
+ var group = groups[name]; |
|
40 |
+ return "$" + (Array.isArray(group) ? group.join("$") : group); |
|
44 | 41 |
})); |
45 | 42 |
} |
46 |
- |
|
47 | 43 |
if ("function" == typeof substitution) { |
48 | 44 |
var _this = this; |
49 |
- |
|
50 | 45 |
return _super[Symbol.replace].call(this, str, function () { |
51 | 46 |
var args = arguments; |
52 | 47 |
return "object" != _typeof(args[args.length - 1]) && (args = [].slice.call(args)).push(buildGroups(args, _this)), substitution.apply(this, args); |
53 | 48 |
}); |
54 | 49 |
} |
55 |
- |
|
56 | 50 |
return _super[Symbol.replace].call(this, str, substitution); |
57 | 51 |
}, _wrapRegExp.apply(this, arguments); |
58 | 52 |
}(파일 끝에 줄바꿈 문자 없음) |
--- node_modules/@babel/runtime/helpers/extends.js
+++ node_modules/@babel/runtime/helpers/extends.js
... | ... | @@ -2,17 +2,14 @@ |
2 | 2 |
module.exports = _extends = Object.assign ? Object.assign.bind() : function (target) { |
3 | 3 |
for (var i = 1; i < arguments.length; i++) { |
4 | 4 |
var source = arguments[i]; |
5 |
- |
|
6 | 5 |
for (var key in source) { |
7 | 6 |
if (Object.prototype.hasOwnProperty.call(source, key)) { |
8 | 7 |
target[key] = source[key]; |
9 | 8 |
} |
10 | 9 |
} |
11 | 10 |
} |
12 |
- |
|
13 | 11 |
return target; |
14 | 12 |
}, module.exports.__esModule = true, module.exports["default"] = module.exports; |
15 | 13 |
return _extends.apply(this, arguments); |
16 | 14 |
} |
17 |
- |
|
18 | 15 |
module.exports = _extends, module.exports.__esModule = true, module.exports["default"] = module.exports;(파일 끝에 줄바꿈 문자 없음) |
--- node_modules/@babel/runtime/helpers/get.js
+++ node_modules/@babel/runtime/helpers/get.js
... | ... | @@ -1,5 +1,4 @@ |
1 | 1 |
var superPropBase = require("./superPropBase.js"); |
2 |
- |
|
3 | 2 |
function _get() { |
4 | 3 |
if (typeof Reflect !== "undefined" && Reflect.get) { |
5 | 4 |
module.exports = _get = Reflect.get.bind(), module.exports.__esModule = true, module.exports["default"] = module.exports; |
... | ... | @@ -8,16 +7,12 @@ |
8 | 7 |
var base = superPropBase(target, property); |
9 | 8 |
if (!base) return; |
10 | 9 |
var desc = Object.getOwnPropertyDescriptor(base, property); |
11 |
- |
|
12 | 10 |
if (desc.get) { |
13 | 11 |
return desc.get.call(arguments.length < 3 ? target : receiver); |
14 | 12 |
} |
15 |
- |
|
16 | 13 |
return desc.value; |
17 | 14 |
}, module.exports.__esModule = true, module.exports["default"] = module.exports; |
18 | 15 |
} |
19 |
- |
|
20 | 16 |
return _get.apply(this, arguments); |
21 | 17 |
} |
22 |
- |
|
23 | 18 |
module.exports = _get, module.exports.__esModule = true, module.exports["default"] = module.exports;(파일 끝에 줄바꿈 문자 없음) |
--- node_modules/@babel/runtime/helpers/getPrototypeOf.js
+++ node_modules/@babel/runtime/helpers/getPrototypeOf.js
... | ... | @@ -4,5 +4,4 @@ |
4 | 4 |
}, module.exports.__esModule = true, module.exports["default"] = module.exports; |
5 | 5 |
return _getPrototypeOf(o); |
6 | 6 |
} |
7 |
- |
|
8 | 7 |
module.exports = _getPrototypeOf, module.exports.__esModule = true, module.exports["default"] = module.exports;(파일 끝에 줄바꿈 문자 없음) |
--- node_modules/@babel/runtime/helpers/identity.js
+++ node_modules/@babel/runtime/helpers/identity.js
... | ... | @@ -1,5 +1,4 @@ |
1 | 1 |
function _identity(x) { |
2 | 2 |
return x; |
3 | 3 |
} |
4 |
- |
|
5 | 4 |
module.exports = _identity, module.exports.__esModule = true, module.exports["default"] = module.exports;(파일 끝에 줄바꿈 문자 없음) |
--- node_modules/@babel/runtime/helpers/inherits.js
+++ node_modules/@babel/runtime/helpers/inherits.js
... | ... | @@ -1,10 +1,8 @@ |
1 | 1 |
var setPrototypeOf = require("./setPrototypeOf.js"); |
2 |
- |
|
3 | 2 |
function _inherits(subClass, superClass) { |
4 | 3 |
if (typeof superClass !== "function" && superClass !== null) { |
5 | 4 |
throw new TypeError("Super expression must either be null or a function"); |
6 | 5 |
} |
7 |
- |
|
8 | 6 |
subClass.prototype = Object.create(superClass && superClass.prototype, { |
9 | 7 |
constructor: { |
10 | 8 |
value: subClass, |
... | ... | @@ -17,5 +15,4 @@ |
17 | 15 |
}); |
18 | 16 |
if (superClass) setPrototypeOf(subClass, superClass); |
19 | 17 |
} |
20 |
- |
|
21 | 18 |
module.exports = _inherits, module.exports.__esModule = true, module.exports["default"] = module.exports;(파일 끝에 줄바꿈 문자 없음) |
--- node_modules/@babel/runtime/helpers/inheritsLoose.js
+++ node_modules/@babel/runtime/helpers/inheritsLoose.js
... | ... | @@ -1,9 +1,7 @@ |
1 | 1 |
var setPrototypeOf = require("./setPrototypeOf.js"); |
2 |
- |
|
3 | 2 |
function _inheritsLoose(subClass, superClass) { |
4 | 3 |
subClass.prototype = Object.create(superClass.prototype); |
5 | 4 |
subClass.prototype.constructor = subClass; |
6 | 5 |
setPrototypeOf(subClass, superClass); |
7 | 6 |
} |
8 |
- |
|
9 | 7 |
module.exports = _inheritsLoose, module.exports.__esModule = true, module.exports["default"] = module.exports;(파일 끝에 줄바꿈 문자 없음) |
--- node_modules/@babel/runtime/helpers/initializerDefineProperty.js
+++ node_modules/@babel/runtime/helpers/initializerDefineProperty.js
... | ... | @@ -7,5 +7,4 @@ |
7 | 7 |
value: descriptor.initializer ? descriptor.initializer.call(context) : void 0 |
8 | 8 |
}); |
9 | 9 |
} |
10 |
- |
|
11 | 10 |
module.exports = _initializerDefineProperty, module.exports.__esModule = true, module.exports["default"] = module.exports;(파일 끝에 줄바꿈 문자 없음) |
--- node_modules/@babel/runtime/helpers/initializerWarningHelper.js
+++ node_modules/@babel/runtime/helpers/initializerWarningHelper.js
... | ... | @@ -1,5 +1,4 @@ |
1 | 1 |
function _initializerWarningHelper(descriptor, context) { |
2 | 2 |
throw new Error('Decorating class property failed. Please ensure that ' + 'proposal-class-properties is enabled and runs after the decorators transform.'); |
3 | 3 |
} |
4 |
- |
|
5 | 4 |
module.exports = _initializerWarningHelper, module.exports.__esModule = true, module.exports["default"] = module.exports;(파일 끝에 줄바꿈 문자 없음) |
--- node_modules/@babel/runtime/helpers/instanceof.js
+++ node_modules/@babel/runtime/helpers/instanceof.js
... | ... | @@ -5,5 +5,4 @@ |
5 | 5 |
return left instanceof right; |
6 | 6 |
} |
7 | 7 |
} |
8 |
- |
|
9 | 8 |
module.exports = _instanceof, module.exports.__esModule = true, module.exports["default"] = module.exports;(파일 끝에 줄바꿈 문자 없음) |
--- node_modules/@babel/runtime/helpers/interopRequireDefault.js
+++ node_modules/@babel/runtime/helpers/interopRequireDefault.js
... | ... | @@ -3,5 +3,4 @@ |
3 | 3 |
"default": obj |
4 | 4 |
}; |
5 | 5 |
} |
6 |
- |
|
7 | 6 |
module.exports = _interopRequireDefault, module.exports.__esModule = true, module.exports["default"] = module.exports;(파일 끝에 줄바꿈 문자 없음) |
--- node_modules/@babel/runtime/helpers/interopRequireWildcard.js
+++ node_modules/@babel/runtime/helpers/interopRequireWildcard.js
... | ... | @@ -1,5 +1,4 @@ |
1 | 1 |
var _typeof = require("./typeof.js")["default"]; |
2 |
- |
|
3 | 2 |
function _getRequireWildcardCache(nodeInterop) { |
4 | 3 |
if (typeof WeakMap !== "function") return null; |
5 | 4 |
var cacheBabelInterop = new WeakMap(); |
... | ... | @@ -8,31 +7,24 @@ |
8 | 7 |
return nodeInterop ? cacheNodeInterop : cacheBabelInterop; |
9 | 8 |
})(nodeInterop); |
10 | 9 |
} |
11 |
- |
|
12 | 10 |
function _interopRequireWildcard(obj, nodeInterop) { |
13 | 11 |
if (!nodeInterop && obj && obj.__esModule) { |
14 | 12 |
return obj; |
15 | 13 |
} |
16 |
- |
|
17 | 14 |
if (obj === null || _typeof(obj) !== "object" && typeof obj !== "function") { |
18 | 15 |
return { |
19 | 16 |
"default": obj |
20 | 17 |
}; |
21 | 18 |
} |
22 |
- |
|
23 | 19 |
var cache = _getRequireWildcardCache(nodeInterop); |
24 |
- |
|
25 | 20 |
if (cache && cache.has(obj)) { |
26 | 21 |
return cache.get(obj); |
27 | 22 |
} |
28 |
- |
|
29 | 23 |
var newObj = {}; |
30 | 24 |
var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; |
31 |
- |
|
32 | 25 |
for (var key in obj) { |
33 | 26 |
if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { |
34 | 27 |
var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; |
35 |
- |
|
36 | 28 |
if (desc && (desc.get || desc.set)) { |
37 | 29 |
Object.defineProperty(newObj, key, desc); |
38 | 30 |
} else { |
... | ... | @@ -40,14 +32,10 @@ |
40 | 32 |
} |
41 | 33 |
} |
42 | 34 |
} |
43 |
- |
|
44 | 35 |
newObj["default"] = obj; |
45 |
- |
|
46 | 36 |
if (cache) { |
47 | 37 |
cache.set(obj, newObj); |
48 | 38 |
} |
49 |
- |
|
50 | 39 |
return newObj; |
51 | 40 |
} |
52 |
- |
|
53 | 41 |
module.exports = _interopRequireWildcard, module.exports.__esModule = true, module.exports["default"] = module.exports;(파일 끝에 줄바꿈 문자 없음) |
--- node_modules/@babel/runtime/helpers/isNativeFunction.js
+++ node_modules/@babel/runtime/helpers/isNativeFunction.js
... | ... | @@ -1,5 +1,4 @@ |
1 | 1 |
function _isNativeFunction(fn) { |
2 | 2 |
return Function.toString.call(fn).indexOf("[native code]") !== -1; |
3 | 3 |
} |
4 |
- |
|
5 | 4 |
module.exports = _isNativeFunction, module.exports.__esModule = true, module.exports["default"] = module.exports;(파일 끝에 줄바꿈 문자 없음) |
--- node_modules/@babel/runtime/helpers/isNativeReflectConstruct.js
+++ node_modules/@babel/runtime/helpers/isNativeReflectConstruct.js
... | ... | @@ -2,7 +2,6 @@ |
2 | 2 |
if (typeof Reflect === "undefined" || !Reflect.construct) return false; |
3 | 3 |
if (Reflect.construct.sham) return false; |
4 | 4 |
if (typeof Proxy === "function") return true; |
5 |
- |
|
6 | 5 |
try { |
7 | 6 |
Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); |
8 | 7 |
return true; |
... | ... | @@ -10,5 +9,4 @@ |
10 | 9 |
return false; |
11 | 10 |
} |
12 | 11 |
} |
13 |
- |
|
14 | 12 |
module.exports = _isNativeReflectConstruct, module.exports.__esModule = true, module.exports["default"] = module.exports;(파일 끝에 줄바꿈 문자 없음) |
--- node_modules/@babel/runtime/helpers/iterableToArray.js
+++ node_modules/@babel/runtime/helpers/iterableToArray.js
... | ... | @@ -1,5 +1,4 @@ |
1 | 1 |
function _iterableToArray(iter) { |
2 | 2 |
if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter); |
3 | 3 |
} |
4 |
- |
|
5 | 4 |
module.exports = _iterableToArray, module.exports.__esModule = true, module.exports["default"] = module.exports;(파일 끝에 줄바꿈 문자 없음) |
--- node_modules/@babel/runtime/helpers/iterableToArrayLimit.js
+++ node_modules/@babel/runtime/helpers/iterableToArrayLimit.js
... | ... | @@ -1,31 +1,30 @@ |
1 | 1 |
function _iterableToArrayLimit(arr, i) { |
2 |
- var _i = arr == null ? null : typeof Symbol !== "undefined" && arr[Symbol.iterator] || arr["@@iterator"]; |
|
3 |
- |
|
4 |
- if (_i == null) return; |
|
5 |
- var _arr = []; |
|
6 |
- var _n = true; |
|
7 |
- var _d = false; |
|
8 |
- |
|
9 |
- var _s, _e; |
|
10 |
- |
|
11 |
- try { |
|
12 |
- for (_i = _i.call(arr); !(_n = (_s = _i.next()).done); _n = true) { |
|
13 |
- _arr.push(_s.value); |
|
14 |
- |
|
15 |
- if (i && _arr.length === i) break; |
|
16 |
- } |
|
17 |
- } catch (err) { |
|
18 |
- _d = true; |
|
19 |
- _e = err; |
|
20 |
- } finally { |
|
2 |
+ var _i = null == arr ? null : "undefined" != typeof Symbol && arr[Symbol.iterator] || arr["@@iterator"]; |
|
3 |
+ if (null != _i) { |
|
4 |
+ var _s, |
|
5 |
+ _e, |
|
6 |
+ _x, |
|
7 |
+ _r, |
|
8 |
+ _arr = [], |
|
9 |
+ _n = !0, |
|
10 |
+ _d = !1; |
|
21 | 11 |
try { |
22 |
- if (!_n && _i["return"] != null) _i["return"](); |
|
12 |
+ if (_x = (_i = _i.call(arr)).next, 0 === i) { |
|
13 |
+ if (Object(_i) !== _i) return; |
|
14 |
+ _n = !1; |
|
15 |
+ } else for (; !(_n = (_s = _x.call(_i)).done) && (_arr.push(_s.value), _arr.length !== i); _n = !0) { |
|
16 |
+ ; |
|
17 |
+ } |
|
18 |
+ } catch (err) { |
|
19 |
+ _d = !0, _e = err; |
|
23 | 20 |
} finally { |
24 |
- if (_d) throw _e; |
|
21 |
+ try { |
|
22 |
+ if (!_n && null != _i["return"] && (_r = _i["return"](), Object(_r) !== _r)) return; |
|
23 |
+ } finally { |
|
24 |
+ if (_d) throw _e; |
|
25 |
+ } |
|
25 | 26 |
} |
27 |
+ return _arr; |
|
26 | 28 |
} |
27 |
- |
|
28 |
- return _arr; |
|
29 | 29 |
} |
30 |
- |
|
31 | 30 |
module.exports = _iterableToArrayLimit, module.exports.__esModule = true, module.exports["default"] = module.exports;(파일 끝에 줄바꿈 문자 없음) |
--- node_modules/@babel/runtime/helpers/iterableToArrayLimitLoose.js
+++ node_modules/@babel/runtime/helpers/iterableToArrayLimitLoose.js
... | ... | @@ -1,16 +1,12 @@ |
1 | 1 |
function _iterableToArrayLimitLoose(arr, i) { |
2 |
- var _i = arr && (typeof Symbol !== "undefined" && arr[Symbol.iterator] || arr["@@iterator"]); |
|
3 |
- |
|
4 |
- if (_i == null) return; |
|
5 |
- var _arr = []; |
|
6 |
- |
|
7 |
- for (_i = _i.call(arr), _step; !(_step = _i.next()).done;) { |
|
8 |
- _arr.push(_step.value); |
|
9 |
- |
|
10 |
- if (i && _arr.length === i) break; |
|
2 |
+ var _i = arr && ("undefined" != typeof Symbol && arr[Symbol.iterator] || arr["@@iterator"]); |
|
3 |
+ if (null != _i) { |
|
4 |
+ var _s, |
|
5 |
+ _arr = []; |
|
6 |
+ for (_i = _i.call(arr); arr.length < i && !(_s = _i.next()).done;) { |
|
7 |
+ _arr.push(_s.value); |
|
8 |
+ } |
|
9 |
+ return _arr; |
|
11 | 10 |
} |
12 |
- |
|
13 |
- return _arr; |
|
14 | 11 |
} |
15 |
- |
|
16 | 12 |
module.exports = _iterableToArrayLimitLoose, module.exports.__esModule = true, module.exports["default"] = module.exports;(파일 끝에 줄바꿈 문자 없음) |
--- node_modules/@babel/runtime/helpers/jsx.js
+++ node_modules/@babel/runtime/helpers/jsx.js
... | ... | @@ -1,16 +1,14 @@ |
1 | 1 |
var REACT_ELEMENT_TYPE; |
2 |
- |
|
3 | 2 |
function _createRawReactElement(type, props, key, children) { |
4 | 3 |
REACT_ELEMENT_TYPE || (REACT_ELEMENT_TYPE = "function" == typeof Symbol && Symbol["for"] && Symbol["for"]("react.element") || 60103); |
5 | 4 |
var defaultProps = type && type.defaultProps, |
6 |
- childrenLength = arguments.length - 3; |
|
5 |
+ childrenLength = arguments.length - 3; |
|
7 | 6 |
if (props || 0 === childrenLength || (props = { |
8 | 7 |
children: void 0 |
9 | 8 |
}), 1 === childrenLength) props.children = children;else if (childrenLength > 1) { |
10 | 9 |
for (var childArray = new Array(childrenLength), i = 0; i < childrenLength; i++) { |
11 | 10 |
childArray[i] = arguments[i + 3]; |
12 | 11 |
} |
13 |
- |
|
14 | 12 |
props.children = childArray; |
15 | 13 |
} |
16 | 14 |
if (props && defaultProps) for (var propName in defaultProps) { |
... | ... | @@ -25,5 +23,4 @@ |
25 | 23 |
_owner: null |
26 | 24 |
}; |
27 | 25 |
} |
28 |
- |
|
29 | 26 |
module.exports = _createRawReactElement, module.exports.__esModule = true, module.exports["default"] = module.exports;(파일 끝에 줄바꿈 문자 없음) |
--- node_modules/@babel/runtime/helpers/maybeArrayLike.js
+++ node_modules/@babel/runtime/helpers/maybeArrayLike.js
... | ... | @@ -1,12 +1,9 @@ |
1 | 1 |
var arrayLikeToArray = require("./arrayLikeToArray.js"); |
2 |
- |
|
3 | 2 |
function _maybeArrayLike(next, arr, i) { |
4 | 3 |
if (arr && !Array.isArray(arr) && typeof arr.length === "number") { |
5 | 4 |
var len = arr.length; |
6 | 5 |
return arrayLikeToArray(arr, i !== void 0 && i < len ? i : len); |
7 | 6 |
} |
8 |
- |
|
9 | 7 |
return next(arr, i); |
10 | 8 |
} |
11 |
- |
|
12 | 9 |
module.exports = _maybeArrayLike, module.exports.__esModule = true, module.exports["default"] = module.exports;(파일 끝에 줄바꿈 문자 없음) |
--- node_modules/@babel/runtime/helpers/newArrowCheck.js
+++ node_modules/@babel/runtime/helpers/newArrowCheck.js
... | ... | @@ -3,5 +3,4 @@ |
3 | 3 |
throw new TypeError("Cannot instantiate an arrow function"); |
4 | 4 |
} |
5 | 5 |
} |
6 |
- |
|
7 | 6 |
module.exports = _newArrowCheck, module.exports.__esModule = true, module.exports["default"] = module.exports;(파일 끝에 줄바꿈 문자 없음) |
--- node_modules/@babel/runtime/helpers/nonIterableRest.js
+++ node_modules/@babel/runtime/helpers/nonIterableRest.js
... | ... | @@ -1,5 +1,4 @@ |
1 | 1 |
function _nonIterableRest() { |
2 | 2 |
throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); |
3 | 3 |
} |
4 |
- |
|
5 | 4 |
module.exports = _nonIterableRest, module.exports.__esModule = true, module.exports["default"] = module.exports;(파일 끝에 줄바꿈 문자 없음) |
--- node_modules/@babel/runtime/helpers/nonIterableSpread.js
+++ node_modules/@babel/runtime/helpers/nonIterableSpread.js
... | ... | @@ -1,5 +1,4 @@ |
1 | 1 |
function _nonIterableSpread() { |
2 | 2 |
throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); |
3 | 3 |
} |
4 |
- |
|
5 | 4 |
module.exports = _nonIterableSpread, module.exports.__esModule = true, module.exports["default"] = module.exports;(파일 끝에 줄바꿈 문자 없음) |
--- node_modules/@babel/runtime/helpers/objectDestructuringEmpty.js
+++ node_modules/@babel/runtime/helpers/objectDestructuringEmpty.js
... | ... | @@ -1,5 +1,4 @@ |
1 | 1 |
function _objectDestructuringEmpty(obj) { |
2 |
- if (obj == null) throw new TypeError("Cannot destructure undefined"); |
|
2 |
+ if (obj == null) throw new TypeError("Cannot destructure " + obj); |
|
3 | 3 |
} |
4 |
- |
|
5 | 4 |
module.exports = _objectDestructuringEmpty, module.exports.__esModule = true, module.exports["default"] = module.exports;(파일 끝에 줄바꿈 문자 없음) |
--- node_modules/@babel/runtime/helpers/objectSpread.js
+++ node_modules/@babel/runtime/helpers/objectSpread.js
... | ... | @@ -1,22 +1,17 @@ |
1 | 1 |
var defineProperty = require("./defineProperty.js"); |
2 |
- |
|
3 | 2 |
function _objectSpread(target) { |
4 | 3 |
for (var i = 1; i < arguments.length; i++) { |
5 | 4 |
var source = arguments[i] != null ? Object(arguments[i]) : {}; |
6 | 5 |
var ownKeys = Object.keys(source); |
7 |
- |
|
8 | 6 |
if (typeof Object.getOwnPropertySymbols === 'function') { |
9 | 7 |
ownKeys.push.apply(ownKeys, Object.getOwnPropertySymbols(source).filter(function (sym) { |
10 | 8 |
return Object.getOwnPropertyDescriptor(source, sym).enumerable; |
11 | 9 |
})); |
12 | 10 |
} |
13 |
- |
|
14 | 11 |
ownKeys.forEach(function (key) { |
15 | 12 |
defineProperty(target, key, source[key]); |
16 | 13 |
}); |
17 | 14 |
} |
18 |
- |
|
19 | 15 |
return target; |
20 | 16 |
} |
21 |
- |
|
22 | 17 |
module.exports = _objectSpread, module.exports.__esModule = true, module.exports["default"] = module.exports;(파일 끝에 줄바꿈 문자 없음) |
--- node_modules/@babel/runtime/helpers/objectSpread2.js
+++ node_modules/@babel/runtime/helpers/objectSpread2.js
... | ... | @@ -1,18 +1,14 @@ |
1 | 1 |
var defineProperty = require("./defineProperty.js"); |
2 |
- |
|
3 | 2 |
function ownKeys(object, enumerableOnly) { |
4 | 3 |
var keys = Object.keys(object); |
5 |
- |
|
6 | 4 |
if (Object.getOwnPropertySymbols) { |
7 | 5 |
var symbols = Object.getOwnPropertySymbols(object); |
8 | 6 |
enumerableOnly && (symbols = symbols.filter(function (sym) { |
9 | 7 |
return Object.getOwnPropertyDescriptor(object, sym).enumerable; |
10 | 8 |
})), keys.push.apply(keys, symbols); |
11 | 9 |
} |
12 |
- |
|
13 | 10 |
return keys; |
14 | 11 |
} |
15 |
- |
|
16 | 12 |
function _objectSpread2(target) { |
17 | 13 |
for (var i = 1; i < arguments.length; i++) { |
18 | 14 |
var source = null != arguments[i] ? arguments[i] : {}; |
... | ... | @@ -22,8 +18,6 @@ |
22 | 18 |
Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); |
23 | 19 |
}); |
24 | 20 |
} |
25 |
- |
|
26 | 21 |
return target; |
27 | 22 |
} |
28 |
- |
|
29 | 23 |
module.exports = _objectSpread2, module.exports.__esModule = true, module.exports["default"] = module.exports;(파일 끝에 줄바꿈 문자 없음) |
--- node_modules/@babel/runtime/helpers/objectWithoutProperties.js
+++ node_modules/@babel/runtime/helpers/objectWithoutProperties.js
... | ... | @@ -1,13 +1,10 @@ |
1 | 1 |
var objectWithoutPropertiesLoose = require("./objectWithoutPropertiesLoose.js"); |
2 |
- |
|
3 | 2 |
function _objectWithoutProperties(source, excluded) { |
4 | 3 |
if (source == null) return {}; |
5 | 4 |
var target = objectWithoutPropertiesLoose(source, excluded); |
6 | 5 |
var key, i; |
7 |
- |
|
8 | 6 |
if (Object.getOwnPropertySymbols) { |
9 | 7 |
var sourceSymbolKeys = Object.getOwnPropertySymbols(source); |
10 |
- |
|
11 | 8 |
for (i = 0; i < sourceSymbolKeys.length; i++) { |
12 | 9 |
key = sourceSymbolKeys[i]; |
13 | 10 |
if (excluded.indexOf(key) >= 0) continue; |
... | ... | @@ -15,8 +12,6 @@ |
15 | 12 |
target[key] = source[key]; |
16 | 13 |
} |
17 | 14 |
} |
18 |
- |
|
19 | 15 |
return target; |
20 | 16 |
} |
21 |
- |
|
22 | 17 |
module.exports = _objectWithoutProperties, module.exports.__esModule = true, module.exports["default"] = module.exports;(파일 끝에 줄바꿈 문자 없음) |
--- node_modules/@babel/runtime/helpers/objectWithoutPropertiesLoose.js
+++ node_modules/@babel/runtime/helpers/objectWithoutPropertiesLoose.js
... | ... | @@ -3,14 +3,11 @@ |
3 | 3 |
var target = {}; |
4 | 4 |
var sourceKeys = Object.keys(source); |
5 | 5 |
var key, i; |
6 |
- |
|
7 | 6 |
for (i = 0; i < sourceKeys.length; i++) { |
8 | 7 |
key = sourceKeys[i]; |
9 | 8 |
if (excluded.indexOf(key) >= 0) continue; |
10 | 9 |
target[key] = source[key]; |
11 | 10 |
} |
12 |
- |
|
13 | 11 |
return target; |
14 | 12 |
} |
15 |
- |
|
16 | 13 |
module.exports = _objectWithoutPropertiesLoose, module.exports.__esModule = true, module.exports["default"] = module.exports;(파일 끝에 줄바꿈 문자 없음) |
--- node_modules/@babel/runtime/helpers/possibleConstructorReturn.js
+++ node_modules/@babel/runtime/helpers/possibleConstructorReturn.js
... | ... | @@ -1,15 +1,11 @@ |
1 | 1 |
var _typeof = require("./typeof.js")["default"]; |
2 |
- |
|
3 | 2 |
var assertThisInitialized = require("./assertThisInitialized.js"); |
4 |
- |
|
5 | 3 |
function _possibleConstructorReturn(self, call) { |
6 | 4 |
if (call && (_typeof(call) === "object" || typeof call === "function")) { |
7 | 5 |
return call; |
8 | 6 |
} else if (call !== void 0) { |
9 | 7 |
throw new TypeError("Derived constructors may only return object or undefined"); |
10 | 8 |
} |
11 |
- |
|
12 | 9 |
return assertThisInitialized(self); |
13 | 10 |
} |
14 |
- |
|
15 | 11 |
module.exports = _possibleConstructorReturn, module.exports.__esModule = true, module.exports["default"] = module.exports;(파일 끝에 줄바꿈 문자 없음) |
--- node_modules/@babel/runtime/helpers/readOnlyError.js
+++ node_modules/@babel/runtime/helpers/readOnlyError.js
... | ... | @@ -1,5 +1,4 @@ |
1 | 1 |
function _readOnlyError(name) { |
2 | 2 |
throw new TypeError("\"" + name + "\" is read-only"); |
3 | 3 |
} |
4 |
- |
|
5 | 4 |
module.exports = _readOnlyError, module.exports.__esModule = true, module.exports["default"] = module.exports;(파일 끝에 줄바꿈 문자 없음) |
--- node_modules/@babel/runtime/helpers/regeneratorRuntime.js
+++ node_modules/@babel/runtime/helpers/regeneratorRuntime.js
... | ... | @@ -1,20 +1,19 @@ |
1 | 1 |
var _typeof = require("./typeof.js")["default"]; |
2 |
- |
|
3 | 2 |
function _regeneratorRuntime() { |
4 |
- "use strict"; |
|
5 |
- /*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */ |
|
6 |
- |
|
3 |
+ "use strict"; /*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */ |
|
7 | 4 |
module.exports = _regeneratorRuntime = function _regeneratorRuntime() { |
8 | 5 |
return exports; |
9 | 6 |
}, module.exports.__esModule = true, module.exports["default"] = module.exports; |
10 | 7 |
var exports = {}, |
11 |
- Op = Object.prototype, |
|
12 |
- hasOwn = Op.hasOwnProperty, |
|
13 |
- $Symbol = "function" == typeof Symbol ? Symbol : {}, |
|
14 |
- iteratorSymbol = $Symbol.iterator || "@@iterator", |
|
15 |
- asyncIteratorSymbol = $Symbol.asyncIterator || "@@asyncIterator", |
|
16 |
- toStringTagSymbol = $Symbol.toStringTag || "@@toStringTag"; |
|
17 |
- |
|
8 |
+ Op = Object.prototype, |
|
9 |
+ hasOwn = Op.hasOwnProperty, |
|
10 |
+ defineProperty = Object.defineProperty || function (obj, key, desc) { |
|
11 |
+ obj[key] = desc.value; |
|
12 |
+ }, |
|
13 |
+ $Symbol = "function" == typeof Symbol ? Symbol : {}, |
|
14 |
+ iteratorSymbol = $Symbol.iterator || "@@iterator", |
|
15 |
+ asyncIteratorSymbol = $Symbol.asyncIterator || "@@asyncIterator", |
|
16 |
+ toStringTagSymbol = $Symbol.toStringTag || "@@toStringTag"; |
|
18 | 17 |
function define(obj, key, value) { |
19 | 18 |
return Object.defineProperty(obj, key, { |
20 | 19 |
value: value, |
... | ... | @@ -23,7 +22,6 @@ |
23 | 22 |
writable: !0 |
24 | 23 |
}), obj[key]; |
25 | 24 |
} |
26 |
- |
|
27 | 25 |
try { |
28 | 26 |
define({}, ""); |
29 | 27 |
} catch (err) { |
... | ... | @@ -31,54 +29,14 @@ |
31 | 29 |
return obj[key] = value; |
32 | 30 |
}; |
33 | 31 |
} |
34 |
- |
|
35 | 32 |
function wrap(innerFn, outerFn, self, tryLocsList) { |
36 | 33 |
var protoGenerator = outerFn && outerFn.prototype instanceof Generator ? outerFn : Generator, |
37 |
- generator = Object.create(protoGenerator.prototype), |
|
38 |
- context = new Context(tryLocsList || []); |
|
39 |
- return generator._invoke = function (innerFn, self, context) { |
|
40 |
- var state = "suspendedStart"; |
|
41 |
- return function (method, arg) { |
|
42 |
- if ("executing" === state) throw new Error("Generator is already running"); |
|
43 |
- |
|
44 |
- if ("completed" === state) { |
|
45 |
- if ("throw" === method) throw arg; |
|
46 |
- return doneResult(); |
|
47 |
- } |
|
48 |
- |
|
49 |
- for (context.method = method, context.arg = arg;;) { |
|
50 |
- var delegate = context.delegate; |
|
51 |
- |
|
52 |
- if (delegate) { |
|
53 |
- var delegateResult = maybeInvokeDelegate(delegate, context); |
|
54 |
- |
|
55 |
- if (delegateResult) { |
|
56 |
- if (delegateResult === ContinueSentinel) continue; |
|
57 |
- return delegateResult; |
|
58 |
- } |
|
59 |
- } |
|
60 |
- |
|
61 |
- if ("next" === context.method) context.sent = context._sent = context.arg;else if ("throw" === context.method) { |
|
62 |
- if ("suspendedStart" === state) throw state = "completed", context.arg; |
|
63 |
- context.dispatchException(context.arg); |
|
64 |
- } else "return" === context.method && context.abrupt("return", context.arg); |
|
65 |
- state = "executing"; |
|
66 |
- var record = tryCatch(innerFn, self, context); |
|
67 |
- |
|
68 |
- if ("normal" === record.type) { |
|
69 |
- if (state = context.done ? "completed" : "suspendedYield", record.arg === ContinueSentinel) continue; |
|
70 |
- return { |
|
71 |
- value: record.arg, |
|
72 |
- done: context.done |
|
73 |
- }; |
|
74 |
- } |
|
75 |
- |
|
76 |
- "throw" === record.type && (state = "completed", context.method = "throw", context.arg = record.arg); |
|
77 |
- } |
|
78 |
- }; |
|
79 |
- }(innerFn, self, context), generator; |
|
34 |
+ generator = Object.create(protoGenerator.prototype), |
|
35 |
+ context = new Context(tryLocsList || []); |
|
36 |
+ return defineProperty(generator, "_invoke", { |
|
37 |
+ value: makeInvokeMethod(innerFn, self, context) |
|
38 |
+ }), generator; |
|
80 | 39 |
} |
81 |
- |
|
82 | 40 |
function tryCatch(fn, obj, arg) { |
83 | 41 |
try { |
84 | 42 |
return { |
... | ... | @@ -92,25 +50,19 @@ |
92 | 50 |
}; |
93 | 51 |
} |
94 | 52 |
} |
95 |
- |
|
96 | 53 |
exports.wrap = wrap; |
97 | 54 |
var ContinueSentinel = {}; |
98 |
- |
|
99 | 55 |
function Generator() {} |
100 |
- |
|
101 | 56 |
function GeneratorFunction() {} |
102 |
- |
|
103 | 57 |
function GeneratorFunctionPrototype() {} |
104 |
- |
|
105 | 58 |
var IteratorPrototype = {}; |
106 | 59 |
define(IteratorPrototype, iteratorSymbol, function () { |
107 | 60 |
return this; |
108 | 61 |
}); |
109 | 62 |
var getProto = Object.getPrototypeOf, |
110 |
- NativeIteratorPrototype = getProto && getProto(getProto(values([]))); |
|
63 |
+ NativeIteratorPrototype = getProto && getProto(getProto(values([]))); |
|
111 | 64 |
NativeIteratorPrototype && NativeIteratorPrototype !== Op && hasOwn.call(NativeIteratorPrototype, iteratorSymbol) && (IteratorPrototype = NativeIteratorPrototype); |
112 | 65 |
var Gp = GeneratorFunctionPrototype.prototype = Generator.prototype = Object.create(IteratorPrototype); |
113 |
- |
|
114 | 66 |
function defineIteratorMethods(prototype) { |
115 | 67 |
["next", "throw", "return"].forEach(function (method) { |
116 | 68 |
define(prototype, method, function (arg) { |
... | ... | @@ -118,14 +70,12 @@ |
118 | 70 |
}); |
119 | 71 |
}); |
120 | 72 |
} |
121 |
- |
|
122 | 73 |
function AsyncIterator(generator, PromiseImpl) { |
123 | 74 |
function invoke(method, arg, resolve, reject) { |
124 | 75 |
var record = tryCatch(generator[method], generator, arg); |
125 |
- |
|
126 | 76 |
if ("throw" !== record.type) { |
127 | 77 |
var result = record.arg, |
128 |
- value = result.value; |
|
78 |
+ value = result.value; |
|
129 | 79 |
return value && "object" == _typeof(value) && hasOwn.call(value, "__await") ? PromiseImpl.resolve(value.__await).then(function (value) { |
130 | 80 |
invoke("next", value, resolve, reject); |
131 | 81 |
}, function (err) { |
... | ... | @@ -136,92 +86,111 @@ |
136 | 86 |
return invoke("throw", error, resolve, reject); |
137 | 87 |
}); |
138 | 88 |
} |
139 |
- |
|
140 | 89 |
reject(record.arg); |
141 | 90 |
} |
142 |
- |
|
143 | 91 |
var previousPromise; |
144 |
- |
|
145 |
- this._invoke = function (method, arg) { |
|
146 |
- function callInvokeWithMethodAndArg() { |
|
147 |
- return new PromiseImpl(function (resolve, reject) { |
|
148 |
- invoke(method, arg, resolve, reject); |
|
149 |
- }); |
|
92 |
+ defineProperty(this, "_invoke", { |
|
93 |
+ value: function value(method, arg) { |
|
94 |
+ function callInvokeWithMethodAndArg() { |
|
95 |
+ return new PromiseImpl(function (resolve, reject) { |
|
96 |
+ invoke(method, arg, resolve, reject); |
|
97 |
+ }); |
|
98 |
+ } |
|
99 |
+ return previousPromise = previousPromise ? previousPromise.then(callInvokeWithMethodAndArg, callInvokeWithMethodAndArg) : callInvokeWithMethodAndArg(); |
|
150 | 100 |
} |
151 |
- |
|
152 |
- return previousPromise = previousPromise ? previousPromise.then(callInvokeWithMethodAndArg, callInvokeWithMethodAndArg) : callInvokeWithMethodAndArg(); |
|
101 |
+ }); |
|
102 |
+ } |
|
103 |
+ function makeInvokeMethod(innerFn, self, context) { |
|
104 |
+ var state = "suspendedStart"; |
|
105 |
+ return function (method, arg) { |
|
106 |
+ if ("executing" === state) throw new Error("Generator is already running"); |
|
107 |
+ if ("completed" === state) { |
|
108 |
+ if ("throw" === method) throw arg; |
|
109 |
+ return doneResult(); |
|
110 |
+ } |
|
111 |
+ for (context.method = method, context.arg = arg;;) { |
|
112 |
+ var delegate = context.delegate; |
|
113 |
+ if (delegate) { |
|
114 |
+ var delegateResult = maybeInvokeDelegate(delegate, context); |
|
115 |
+ if (delegateResult) { |
|
116 |
+ if (delegateResult === ContinueSentinel) continue; |
|
117 |
+ return delegateResult; |
|
118 |
+ } |
|
119 |
+ } |
|
120 |
+ if ("next" === context.method) context.sent = context._sent = context.arg;else if ("throw" === context.method) { |
|
121 |
+ if ("suspendedStart" === state) throw state = "completed", context.arg; |
|
122 |
+ context.dispatchException(context.arg); |
|
123 |
+ } else "return" === context.method && context.abrupt("return", context.arg); |
|
124 |
+ state = "executing"; |
|
125 |
+ var record = tryCatch(innerFn, self, context); |
|
126 |
+ if ("normal" === record.type) { |
|
127 |
+ if (state = context.done ? "completed" : "suspendedYield", record.arg === ContinueSentinel) continue; |
|
128 |
+ return { |
|
129 |
+ value: record.arg, |
|
130 |
+ done: context.done |
|
131 |
+ }; |
|
132 |
+ } |
|
133 |
+ "throw" === record.type && (state = "completed", context.method = "throw", context.arg = record.arg); |
|
134 |
+ } |
|
153 | 135 |
}; |
154 | 136 |
} |
155 |
- |
|
156 | 137 |
function maybeInvokeDelegate(delegate, context) { |
157 |
- var method = delegate.iterator[context.method]; |
|
158 |
- |
|
159 |
- if (undefined === method) { |
|
160 |
- if (context.delegate = null, "throw" === context.method) { |
|
161 |
- if (delegate.iterator["return"] && (context.method = "return", context.arg = undefined, maybeInvokeDelegate(delegate, context), "throw" === context.method)) return ContinueSentinel; |
|
162 |
- context.method = "throw", context.arg = new TypeError("The iterator does not provide a 'throw' method"); |
|
163 |
- } |
|
164 |
- |
|
165 |
- return ContinueSentinel; |
|
166 |
- } |
|
167 |
- |
|
138 |
+ var methodName = context.method, |
|
139 |
+ method = delegate.iterator[methodName]; |
|
140 |
+ if (undefined === method) return context.delegate = null, "throw" === methodName && delegate.iterator["return"] && (context.method = "return", context.arg = undefined, maybeInvokeDelegate(delegate, context), "throw" === context.method) || "return" !== methodName && (context.method = "throw", context.arg = new TypeError("The iterator does not provide a '" + methodName + "' method")), ContinueSentinel; |
|
168 | 141 |
var record = tryCatch(method, delegate.iterator, context.arg); |
169 | 142 |
if ("throw" === record.type) return context.method = "throw", context.arg = record.arg, context.delegate = null, ContinueSentinel; |
170 | 143 |
var info = record.arg; |
171 | 144 |
return info ? info.done ? (context[delegate.resultName] = info.value, context.next = delegate.nextLoc, "return" !== context.method && (context.method = "next", context.arg = undefined), context.delegate = null, ContinueSentinel) : info : (context.method = "throw", context.arg = new TypeError("iterator result is not an object"), context.delegate = null, ContinueSentinel); |
172 | 145 |
} |
173 |
- |
|
174 | 146 |
function pushTryEntry(locs) { |
175 | 147 |
var entry = { |
176 | 148 |
tryLoc: locs[0] |
177 | 149 |
}; |
178 | 150 |
1 in locs && (entry.catchLoc = locs[1]), 2 in locs && (entry.finallyLoc = locs[2], entry.afterLoc = locs[3]), this.tryEntries.push(entry); |
179 | 151 |
} |
180 |
- |
|
181 | 152 |
function resetTryEntry(entry) { |
182 | 153 |
var record = entry.completion || {}; |
183 | 154 |
record.type = "normal", delete record.arg, entry.completion = record; |
184 | 155 |
} |
185 |
- |
|
186 | 156 |
function Context(tryLocsList) { |
187 | 157 |
this.tryEntries = [{ |
188 | 158 |
tryLoc: "root" |
189 | 159 |
}], tryLocsList.forEach(pushTryEntry, this), this.reset(!0); |
190 | 160 |
} |
191 |
- |
|
192 | 161 |
function values(iterable) { |
193 | 162 |
if (iterable) { |
194 | 163 |
var iteratorMethod = iterable[iteratorSymbol]; |
195 | 164 |
if (iteratorMethod) return iteratorMethod.call(iterable); |
196 | 165 |
if ("function" == typeof iterable.next) return iterable; |
197 |
- |
|
198 | 166 |
if (!isNaN(iterable.length)) { |
199 | 167 |
var i = -1, |
200 |
- next = function next() { |
|
201 |
- for (; ++i < iterable.length;) { |
|
202 |
- if (hasOwn.call(iterable, i)) return next.value = iterable[i], next.done = !1, next; |
|
203 |
- } |
|
204 |
- |
|
205 |
- return next.value = undefined, next.done = !0, next; |
|
206 |
- }; |
|
207 |
- |
|
168 |
+ next = function next() { |
|
169 |
+ for (; ++i < iterable.length;) { |
|
170 |
+ if (hasOwn.call(iterable, i)) return next.value = iterable[i], next.done = !1, next; |
|
171 |
+ } |
|
172 |
+ return next.value = undefined, next.done = !0, next; |
|
173 |
+ }; |
|
208 | 174 |
return next.next = next; |
209 | 175 |
} |
210 | 176 |
} |
211 |
- |
|
212 | 177 |
return { |
213 | 178 |
next: doneResult |
214 | 179 |
}; |
215 | 180 |
} |
216 |
- |
|
217 | 181 |
function doneResult() { |
218 | 182 |
return { |
219 | 183 |
value: undefined, |
220 | 184 |
done: !0 |
221 | 185 |
}; |
222 | 186 |
} |
223 |
- |
|
224 |
- return GeneratorFunction.prototype = GeneratorFunctionPrototype, define(Gp, "constructor", GeneratorFunctionPrototype), define(GeneratorFunctionPrototype, "constructor", GeneratorFunction), GeneratorFunction.displayName = define(GeneratorFunctionPrototype, toStringTagSymbol, "GeneratorFunction"), exports.isGeneratorFunction = function (genFun) { |
|
187 |
+ return GeneratorFunction.prototype = GeneratorFunctionPrototype, defineProperty(Gp, "constructor", { |
|
188 |
+ value: GeneratorFunctionPrototype, |
|
189 |
+ configurable: !0 |
|
190 |
+ }), defineProperty(GeneratorFunctionPrototype, "constructor", { |
|
191 |
+ value: GeneratorFunction, |
|
192 |
+ configurable: !0 |
|
193 |
+ }), GeneratorFunction.displayName = define(GeneratorFunctionPrototype, toStringTagSymbol, "GeneratorFunction"), exports.isGeneratorFunction = function (genFun) { |
|
225 | 194 |
var ctor = "function" == typeof genFun && genFun.constructor; |
226 | 195 |
return !!ctor && (ctor === GeneratorFunction || "GeneratorFunction" === (ctor.displayName || ctor.name)); |
227 | 196 |
}, exports.mark = function (genFun) { |
... | ... | @@ -242,19 +211,17 @@ |
242 | 211 |
return this; |
243 | 212 |
}), define(Gp, "toString", function () { |
244 | 213 |
return "[object Generator]"; |
245 |
- }), exports.keys = function (object) { |
|
246 |
- var keys = []; |
|
247 |
- |
|
214 |
+ }), exports.keys = function (val) { |
|
215 |
+ var object = Object(val), |
|
216 |
+ keys = []; |
|
248 | 217 |
for (var key in object) { |
249 | 218 |
keys.push(key); |
250 | 219 |
} |
251 |
- |
|
252 | 220 |
return keys.reverse(), function next() { |
253 | 221 |
for (; keys.length;) { |
254 | 222 |
var key = keys.pop(); |
255 | 223 |
if (key in object) return next.value = key, next.done = !1, next; |
256 | 224 |
} |
257 |
- |
|
258 | 225 |
return next.done = !0, next; |
259 | 226 |
}; |
260 | 227 |
}, exports.values = values, Context.prototype = { |
... | ... | @@ -273,20 +240,16 @@ |
273 | 240 |
dispatchException: function dispatchException(exception) { |
274 | 241 |
if (this.done) throw exception; |
275 | 242 |
var context = this; |
276 |
- |
|
277 | 243 |
function handle(loc, caught) { |
278 | 244 |
return record.type = "throw", record.arg = exception, context.next = loc, caught && (context.method = "next", context.arg = undefined), !!caught; |
279 | 245 |
} |
280 |
- |
|
281 | 246 |
for (var i = this.tryEntries.length - 1; i >= 0; --i) { |
282 | 247 |
var entry = this.tryEntries[i], |
283 |
- record = entry.completion; |
|
248 |
+ record = entry.completion; |
|
284 | 249 |
if ("root" === entry.tryLoc) return handle("end"); |
285 |
- |
|
286 | 250 |
if (entry.tryLoc <= this.prev) { |
287 | 251 |
var hasCatch = hasOwn.call(entry, "catchLoc"), |
288 |
- hasFinally = hasOwn.call(entry, "finallyLoc"); |
|
289 |
- |
|
252 |
+ hasFinally = hasOwn.call(entry, "finallyLoc"); |
|
290 | 253 |
if (hasCatch && hasFinally) { |
291 | 254 |
if (this.prev < entry.catchLoc) return handle(entry.catchLoc, !0); |
292 | 255 |
if (this.prev < entry.finallyLoc) return handle(entry.finallyLoc); |
... | ... | @@ -302,13 +265,11 @@ |
302 | 265 |
abrupt: function abrupt(type, arg) { |
303 | 266 |
for (var i = this.tryEntries.length - 1; i >= 0; --i) { |
304 | 267 |
var entry = this.tryEntries[i]; |
305 |
- |
|
306 | 268 |
if (entry.tryLoc <= this.prev && hasOwn.call(entry, "finallyLoc") && this.prev < entry.finallyLoc) { |
307 | 269 |
var finallyEntry = entry; |
308 | 270 |
break; |
309 | 271 |
} |
310 | 272 |
} |
311 |
- |
|
312 | 273 |
finallyEntry && ("break" === type || "continue" === type) && finallyEntry.tryLoc <= arg && arg <= finallyEntry.finallyLoc && (finallyEntry = null); |
313 | 274 |
var record = finallyEntry ? finallyEntry.completion : {}; |
314 | 275 |
return record.type = type, record.arg = arg, finallyEntry ? (this.method = "next", this.next = finallyEntry.finallyLoc, ContinueSentinel) : this.complete(record); |
... | ... | @@ -326,19 +287,15 @@ |
326 | 287 |
"catch": function _catch(tryLoc) { |
327 | 288 |
for (var i = this.tryEntries.length - 1; i >= 0; --i) { |
328 | 289 |
var entry = this.tryEntries[i]; |
329 |
- |
|
330 | 290 |
if (entry.tryLoc === tryLoc) { |
331 | 291 |
var record = entry.completion; |
332 |
- |
|
333 | 292 |
if ("throw" === record.type) { |
334 | 293 |
var thrown = record.arg; |
335 | 294 |
resetTryEntry(entry); |
336 | 295 |
} |
337 |
- |
|
338 | 296 |
return thrown; |
339 | 297 |
} |
340 | 298 |
} |
341 |
- |
|
342 | 299 |
throw new Error("illegal catch attempt"); |
343 | 300 |
}, |
344 | 301 |
delegateYield: function delegateYield(iterable, resultName, nextLoc) { |
... | ... | @@ -350,5 +307,4 @@ |
350 | 307 |
} |
351 | 308 |
}, exports; |
352 | 309 |
} |
353 |
- |
|
354 | 310 |
module.exports = _regeneratorRuntime, module.exports.__esModule = true, module.exports["default"] = module.exports;(파일 끝에 줄바꿈 문자 없음) |
--- node_modules/@babel/runtime/helpers/set.js
+++ node_modules/@babel/runtime/helpers/set.js
... | ... | @@ -1,7 +1,5 @@ |
1 | 1 |
var superPropBase = require("./superPropBase.js"); |
2 |
- |
|
3 | 2 |
var defineProperty = require("./defineProperty.js"); |
4 |
- |
|
5 | 3 |
function set(target, property, value, receiver) { |
6 | 4 |
if (typeof Reflect !== "undefined" && Reflect.set) { |
7 | 5 |
set = Reflect.set; |
... | ... | @@ -9,10 +7,8 @@ |
9 | 7 |
set = function set(target, property, value, receiver) { |
10 | 8 |
var base = superPropBase(target, property); |
11 | 9 |
var desc; |
12 |
- |
|
13 | 10 |
if (base) { |
14 | 11 |
desc = Object.getOwnPropertyDescriptor(base, property); |
15 |
- |
|
16 | 12 |
if (desc.set) { |
17 | 13 |
desc.set.call(receiver, value); |
18 | 14 |
return true; |
... | ... | @@ -20,35 +16,26 @@ |
20 | 16 |
return false; |
21 | 17 |
} |
22 | 18 |
} |
23 |
- |
|
24 | 19 |
desc = Object.getOwnPropertyDescriptor(receiver, property); |
25 |
- |
|
26 | 20 |
if (desc) { |
27 | 21 |
if (!desc.writable) { |
28 | 22 |
return false; |
29 | 23 |
} |
30 |
- |
|
31 | 24 |
desc.value = value; |
32 | 25 |
Object.defineProperty(receiver, property, desc); |
33 | 26 |
} else { |
34 | 27 |
defineProperty(receiver, property, value); |
35 | 28 |
} |
36 |
- |
|
37 | 29 |
return true; |
38 | 30 |
}; |
39 | 31 |
} |
40 |
- |
|
41 | 32 |
return set(target, property, value, receiver); |
42 | 33 |
} |
43 |
- |
|
44 | 34 |
function _set(target, property, value, receiver, isStrict) { |
45 | 35 |
var s = set(target, property, value, receiver || target); |
46 |
- |
|
47 | 36 |
if (!s && isStrict) { |
48 | 37 |
throw new Error('failed to set property'); |
49 | 38 |
} |
50 |
- |
|
51 | 39 |
return value; |
52 | 40 |
} |
53 |
- |
|
54 | 41 |
module.exports = _set, module.exports.__esModule = true, module.exports["default"] = module.exports;(파일 끝에 줄바꿈 문자 없음) |
--- node_modules/@babel/runtime/helpers/setPrototypeOf.js
+++ node_modules/@babel/runtime/helpers/setPrototypeOf.js
... | ... | @@ -5,5 +5,4 @@ |
5 | 5 |
}, module.exports.__esModule = true, module.exports["default"] = module.exports; |
6 | 6 |
return _setPrototypeOf(o, p); |
7 | 7 |
} |
8 |
- |
|
9 | 8 |
module.exports = _setPrototypeOf, module.exports.__esModule = true, module.exports["default"] = module.exports;(파일 끝에 줄바꿈 문자 없음) |
--- node_modules/@babel/runtime/helpers/skipFirstGeneratorNext.js
+++ node_modules/@babel/runtime/helpers/skipFirstGeneratorNext.js
... | ... | @@ -5,5 +5,4 @@ |
5 | 5 |
return it; |
6 | 6 |
}; |
7 | 7 |
} |
8 |
- |
|
9 | 8 |
module.exports = _skipFirstGeneratorNext, module.exports.__esModule = true, module.exports["default"] = module.exports;(파일 끝에 줄바꿈 문자 없음) |
--- node_modules/@babel/runtime/helpers/slicedToArray.js
+++ node_modules/@babel/runtime/helpers/slicedToArray.js
... | ... | @@ -1,13 +1,8 @@ |
1 | 1 |
var arrayWithHoles = require("./arrayWithHoles.js"); |
2 |
- |
|
3 | 2 |
var iterableToArrayLimit = require("./iterableToArrayLimit.js"); |
4 |
- |
|
5 | 3 |
var unsupportedIterableToArray = require("./unsupportedIterableToArray.js"); |
6 |
- |
|
7 | 4 |
var nonIterableRest = require("./nonIterableRest.js"); |
8 |
- |
|
9 | 5 |
function _slicedToArray(arr, i) { |
10 | 6 |
return arrayWithHoles(arr) || iterableToArrayLimit(arr, i) || unsupportedIterableToArray(arr, i) || nonIterableRest(); |
11 | 7 |
} |
12 |
- |
|
13 | 8 |
module.exports = _slicedToArray, module.exports.__esModule = true, module.exports["default"] = module.exports;(파일 끝에 줄바꿈 문자 없음) |
--- node_modules/@babel/runtime/helpers/slicedToArrayLoose.js
+++ node_modules/@babel/runtime/helpers/slicedToArrayLoose.js
... | ... | @@ -1,13 +1,8 @@ |
1 | 1 |
var arrayWithHoles = require("./arrayWithHoles.js"); |
2 |
- |
|
3 | 2 |
var iterableToArrayLimitLoose = require("./iterableToArrayLimitLoose.js"); |
4 |
- |
|
5 | 3 |
var unsupportedIterableToArray = require("./unsupportedIterableToArray.js"); |
6 |
- |
|
7 | 4 |
var nonIterableRest = require("./nonIterableRest.js"); |
8 |
- |
|
9 | 5 |
function _slicedToArrayLoose(arr, i) { |
10 | 6 |
return arrayWithHoles(arr) || iterableToArrayLimitLoose(arr, i) || unsupportedIterableToArray(arr, i) || nonIterableRest(); |
11 | 7 |
} |
12 |
- |
|
13 | 8 |
module.exports = _slicedToArrayLoose, module.exports.__esModule = true, module.exports["default"] = module.exports;(파일 끝에 줄바꿈 문자 없음) |
--- node_modules/@babel/runtime/helpers/superPropBase.js
+++ node_modules/@babel/runtime/helpers/superPropBase.js
... | ... | @@ -1,12 +1,9 @@ |
1 | 1 |
var getPrototypeOf = require("./getPrototypeOf.js"); |
2 |
- |
|
3 | 2 |
function _superPropBase(object, property) { |
4 | 3 |
while (!Object.prototype.hasOwnProperty.call(object, property)) { |
5 | 4 |
object = getPrototypeOf(object); |
6 | 5 |
if (object === null) break; |
7 | 6 |
} |
8 |
- |
|
9 | 7 |
return object; |
10 | 8 |
} |
11 |
- |
|
12 | 9 |
module.exports = _superPropBase, module.exports.__esModule = true, module.exports["default"] = module.exports;(파일 끝에 줄바꿈 문자 없음) |
--- node_modules/@babel/runtime/helpers/taggedTemplateLiteral.js
+++ node_modules/@babel/runtime/helpers/taggedTemplateLiteral.js
... | ... | @@ -2,12 +2,10 @@ |
2 | 2 |
if (!raw) { |
3 | 3 |
raw = strings.slice(0); |
4 | 4 |
} |
5 |
- |
|
6 | 5 |
return Object.freeze(Object.defineProperties(strings, { |
7 | 6 |
raw: { |
8 | 7 |
value: Object.freeze(raw) |
9 | 8 |
} |
10 | 9 |
})); |
11 | 10 |
} |
12 |
- |
|
13 | 11 |
module.exports = _taggedTemplateLiteral, module.exports.__esModule = true, module.exports["default"] = module.exports;(파일 끝에 줄바꿈 문자 없음) |
--- node_modules/@babel/runtime/helpers/taggedTemplateLiteralLoose.js
+++ node_modules/@babel/runtime/helpers/taggedTemplateLiteralLoose.js
... | ... | @@ -2,9 +2,7 @@ |
2 | 2 |
if (!raw) { |
3 | 3 |
raw = strings.slice(0); |
4 | 4 |
} |
5 |
- |
|
6 | 5 |
strings.raw = raw; |
7 | 6 |
return strings; |
8 | 7 |
} |
9 |
- |
|
10 | 8 |
module.exports = _taggedTemplateLiteralLoose, module.exports.__esModule = true, module.exports["default"] = module.exports;(파일 끝에 줄바꿈 문자 없음) |
--- node_modules/@babel/runtime/helpers/tdz.js
+++ node_modules/@babel/runtime/helpers/tdz.js
... | ... | @@ -1,5 +1,4 @@ |
1 | 1 |
function _tdzError(name) { |
2 | 2 |
throw new ReferenceError(name + " is not defined - temporal dead zone"); |
3 | 3 |
} |
4 |
- |
|
5 | 4 |
module.exports = _tdzError, module.exports.__esModule = true, module.exports["default"] = module.exports;(파일 끝에 줄바꿈 문자 없음) |
--- node_modules/@babel/runtime/helpers/temporalRef.js
+++ node_modules/@babel/runtime/helpers/temporalRef.js
... | ... | @@ -1,9 +1,6 @@ |
1 | 1 |
var temporalUndefined = require("./temporalUndefined.js"); |
2 |
- |
|
3 | 2 |
var tdz = require("./tdz.js"); |
4 |
- |
|
5 | 3 |
function _temporalRef(val, name) { |
6 | 4 |
return val === temporalUndefined ? tdz(name) : val; |
7 | 5 |
} |
8 |
- |
|
9 | 6 |
module.exports = _temporalRef, module.exports.__esModule = true, module.exports["default"] = module.exports;(파일 끝에 줄바꿈 문자 없음) |
--- node_modules/@babel/runtime/helpers/temporalUndefined.js
+++ node_modules/@babel/runtime/helpers/temporalUndefined.js
... | ... | @@ -1,3 +1,2 @@ |
1 | 1 |
function _temporalUndefined() {} |
2 |
- |
|
3 | 2 |
module.exports = _temporalUndefined, module.exports.__esModule = true, module.exports["default"] = module.exports;(파일 끝에 줄바꿈 문자 없음) |
--- node_modules/@babel/runtime/helpers/toArray.js
+++ node_modules/@babel/runtime/helpers/toArray.js
... | ... | @@ -1,13 +1,8 @@ |
1 | 1 |
var arrayWithHoles = require("./arrayWithHoles.js"); |
2 |
- |
|
3 | 2 |
var iterableToArray = require("./iterableToArray.js"); |
4 |
- |
|
5 | 3 |
var unsupportedIterableToArray = require("./unsupportedIterableToArray.js"); |
6 |
- |
|
7 | 4 |
var nonIterableRest = require("./nonIterableRest.js"); |
8 |
- |
|
9 | 5 |
function _toArray(arr) { |
10 | 6 |
return arrayWithHoles(arr) || iterableToArray(arr) || unsupportedIterableToArray(arr) || nonIterableRest(); |
11 | 7 |
} |
12 |
- |
|
13 | 8 |
module.exports = _toArray, module.exports.__esModule = true, module.exports["default"] = module.exports;(파일 끝에 줄바꿈 문자 없음) |
--- node_modules/@babel/runtime/helpers/toConsumableArray.js
+++ node_modules/@babel/runtime/helpers/toConsumableArray.js
... | ... | @@ -1,13 +1,8 @@ |
1 | 1 |
var arrayWithoutHoles = require("./arrayWithoutHoles.js"); |
2 |
- |
|
3 | 2 |
var iterableToArray = require("./iterableToArray.js"); |
4 |
- |
|
5 | 3 |
var unsupportedIterableToArray = require("./unsupportedIterableToArray.js"); |
6 |
- |
|
7 | 4 |
var nonIterableSpread = require("./nonIterableSpread.js"); |
8 |
- |
|
9 | 5 |
function _toConsumableArray(arr) { |
10 | 6 |
return arrayWithoutHoles(arr) || iterableToArray(arr) || unsupportedIterableToArray(arr) || nonIterableSpread(); |
11 | 7 |
} |
12 |
- |
|
13 | 8 |
module.exports = _toConsumableArray, module.exports.__esModule = true, module.exports["default"] = module.exports;(파일 끝에 줄바꿈 문자 없음) |
--- node_modules/@babel/runtime/helpers/toPrimitive.js
+++ node_modules/@babel/runtime/helpers/toPrimitive.js
... | ... | @@ -1,16 +1,12 @@ |
1 | 1 |
var _typeof = require("./typeof.js")["default"]; |
2 |
- |
|
3 | 2 |
function _toPrimitive(input, hint) { |
4 | 3 |
if (_typeof(input) !== "object" || input === null) return input; |
5 | 4 |
var prim = input[Symbol.toPrimitive]; |
6 |
- |
|
7 | 5 |
if (prim !== undefined) { |
8 | 6 |
var res = prim.call(input, hint || "default"); |
9 | 7 |
if (_typeof(res) !== "object") return res; |
10 | 8 |
throw new TypeError("@@toPrimitive must return a primitive value."); |
11 | 9 |
} |
12 |
- |
|
13 | 10 |
return (hint === "string" ? String : Number)(input); |
14 | 11 |
} |
15 |
- |
|
16 | 12 |
module.exports = _toPrimitive, module.exports.__esModule = true, module.exports["default"] = module.exports;(파일 끝에 줄바꿈 문자 없음) |
--- node_modules/@babel/runtime/helpers/toPropertyKey.js
+++ node_modules/@babel/runtime/helpers/toPropertyKey.js
... | ... | @@ -1,10 +1,7 @@ |
1 | 1 |
var _typeof = require("./typeof.js")["default"]; |
2 |
- |
|
3 | 2 |
var toPrimitive = require("./toPrimitive.js"); |
4 |
- |
|
5 | 3 |
function _toPropertyKey(arg) { |
6 | 4 |
var key = toPrimitive(arg, "string"); |
7 | 5 |
return _typeof(key) === "symbol" ? key : String(key); |
8 | 6 |
} |
9 |
- |
|
10 | 7 |
module.exports = _toPropertyKey, module.exports.__esModule = true, module.exports["default"] = module.exports;(파일 끝에 줄바꿈 문자 없음) |
--- node_modules/@babel/runtime/helpers/typeof.js
+++ node_modules/@babel/runtime/helpers/typeof.js
... | ... | @@ -7,5 +7,4 @@ |
7 | 7 |
return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; |
8 | 8 |
}, module.exports.__esModule = true, module.exports["default"] = module.exports), _typeof(obj); |
9 | 9 |
} |
10 |
- |
|
11 | 10 |
module.exports = _typeof, module.exports.__esModule = true, module.exports["default"] = module.exports;(파일 끝에 줄바꿈 문자 없음) |
--- node_modules/@babel/runtime/helpers/unsupportedIterableToArray.js
+++ node_modules/@babel/runtime/helpers/unsupportedIterableToArray.js
... | ... | @@ -1,5 +1,4 @@ |
1 | 1 |
var arrayLikeToArray = require("./arrayLikeToArray.js"); |
2 |
- |
|
3 | 2 |
function _unsupportedIterableToArray(o, minLen) { |
4 | 3 |
if (!o) return; |
5 | 4 |
if (typeof o === "string") return arrayLikeToArray(o, minLen); |
... | ... | @@ -8,5 +7,4 @@ |
8 | 7 |
if (n === "Map" || n === "Set") return Array.from(o); |
9 | 8 |
if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return arrayLikeToArray(o, minLen); |
10 | 9 |
} |
11 |
- |
|
12 | 10 |
module.exports = _unsupportedIterableToArray, module.exports.__esModule = true, module.exports["default"] = module.exports;(파일 끝에 줄바꿈 문자 없음) |
--- node_modules/@babel/runtime/helpers/wrapAsyncGenerator.js
+++ node_modules/@babel/runtime/helpers/wrapAsyncGenerator.js
... | ... | @@ -1,9 +1,7 @@ |
1 | 1 |
var AsyncGenerator = require("./AsyncGenerator.js"); |
2 |
- |
|
3 | 2 |
function _wrapAsyncGenerator(fn) { |
4 | 3 |
return function () { |
5 | 4 |
return new AsyncGenerator(fn.apply(this, arguments)); |
6 | 5 |
}; |
7 | 6 |
} |
8 |
- |
|
9 | 7 |
module.exports = _wrapAsyncGenerator, module.exports.__esModule = true, module.exports["default"] = module.exports;(파일 끝에 줄바꿈 문자 없음) |
--- node_modules/@babel/runtime/helpers/wrapNativeSuper.js
+++ node_modules/@babel/runtime/helpers/wrapNativeSuper.js
... | ... | @@ -1,31 +1,21 @@ |
1 | 1 |
var getPrototypeOf = require("./getPrototypeOf.js"); |
2 |
- |
|
3 | 2 |
var setPrototypeOf = require("./setPrototypeOf.js"); |
4 |
- |
|
5 | 3 |
var isNativeFunction = require("./isNativeFunction.js"); |
6 |
- |
|
7 | 4 |
var construct = require("./construct.js"); |
8 |
- |
|
9 | 5 |
function _wrapNativeSuper(Class) { |
10 | 6 |
var _cache = typeof Map === "function" ? new Map() : undefined; |
11 |
- |
|
12 | 7 |
module.exports = _wrapNativeSuper = function _wrapNativeSuper(Class) { |
13 | 8 |
if (Class === null || !isNativeFunction(Class)) return Class; |
14 |
- |
|
15 | 9 |
if (typeof Class !== "function") { |
16 | 10 |
throw new TypeError("Super expression must either be null or a function"); |
17 | 11 |
} |
18 |
- |
|
19 | 12 |
if (typeof _cache !== "undefined") { |
20 | 13 |
if (_cache.has(Class)) return _cache.get(Class); |
21 |
- |
|
22 | 14 |
_cache.set(Class, Wrapper); |
23 | 15 |
} |
24 |
- |
|
25 | 16 |
function Wrapper() { |
26 | 17 |
return construct(Class, arguments, getPrototypeOf(this).constructor); |
27 | 18 |
} |
28 |
- |
|
29 | 19 |
Wrapper.prototype = Object.create(Class.prototype, { |
30 | 20 |
constructor: { |
31 | 21 |
value: Wrapper, |
... | ... | @@ -38,5 +28,4 @@ |
38 | 28 |
}, module.exports.__esModule = true, module.exports["default"] = module.exports; |
39 | 29 |
return _wrapNativeSuper(Class); |
40 | 30 |
} |
41 |
- |
|
42 | 31 |
module.exports = _wrapNativeSuper, module.exports.__esModule = true, module.exports["default"] = module.exports;(파일 끝에 줄바꿈 문자 없음) |
--- node_modules/@babel/runtime/helpers/wrapRegExp.js
+++ node_modules/@babel/runtime/helpers/wrapRegExp.js
... | ... | @@ -1,63 +1,53 @@ |
1 | 1 |
var _typeof = require("./typeof.js")["default"]; |
2 |
- |
|
3 | 2 |
var setPrototypeOf = require("./setPrototypeOf.js"); |
4 |
- |
|
5 | 3 |
var inherits = require("./inherits.js"); |
6 |
- |
|
7 | 4 |
function _wrapRegExp() { |
8 | 5 |
module.exports = _wrapRegExp = function _wrapRegExp(re, groups) { |
9 | 6 |
return new BabelRegExp(re, void 0, groups); |
10 | 7 |
}, module.exports.__esModule = true, module.exports["default"] = module.exports; |
11 |
- |
|
12 | 8 |
var _super = RegExp.prototype, |
13 |
- _groups = new WeakMap(); |
|
14 |
- |
|
9 |
+ _groups = new WeakMap(); |
|
15 | 10 |
function BabelRegExp(re, flags, groups) { |
16 | 11 |
var _this = new RegExp(re, flags); |
17 |
- |
|
18 | 12 |
return _groups.set(_this, groups || _groups.get(re)), setPrototypeOf(_this, BabelRegExp.prototype); |
19 | 13 |
} |
20 |
- |
|
21 | 14 |
function buildGroups(result, re) { |
22 | 15 |
var g = _groups.get(re); |
23 |
- |
|
24 | 16 |
return Object.keys(g).reduce(function (groups, name) { |
25 | 17 |
var i = g[name]; |
26 | 18 |
if ("number" == typeof i) groups[name] = result[i];else { |
27 | 19 |
for (var k = 0; void 0 === result[i[k]] && k + 1 < i.length;) { |
28 | 20 |
k++; |
29 | 21 |
} |
30 |
- |
|
31 | 22 |
groups[name] = result[i[k]]; |
32 | 23 |
} |
33 | 24 |
return groups; |
34 | 25 |
}, Object.create(null)); |
35 | 26 |
} |
36 |
- |
|
37 | 27 |
return inherits(BabelRegExp, RegExp), BabelRegExp.prototype.exec = function (str) { |
38 | 28 |
var result = _super.exec.call(this, str); |
39 |
- |
|
40 |
- return result && (result.groups = buildGroups(result, this)), result; |
|
29 |
+ if (result) { |
|
30 |
+ result.groups = buildGroups(result, this); |
|
31 |
+ var indices = result.indices; |
|
32 |
+ indices && (indices.groups = buildGroups(indices, this)); |
|
33 |
+ } |
|
34 |
+ return result; |
|
41 | 35 |
}, BabelRegExp.prototype[Symbol.replace] = function (str, substitution) { |
42 | 36 |
if ("string" == typeof substitution) { |
43 | 37 |
var groups = _groups.get(this); |
44 |
- |
|
45 | 38 |
return _super[Symbol.replace].call(this, str, substitution.replace(/\$<([^>]+)>/g, function (_, name) { |
46 |
- return "$" + groups[name]; |
|
39 |
+ var group = groups[name]; |
|
40 |
+ return "$" + (Array.isArray(group) ? group.join("$") : group); |
|
47 | 41 |
})); |
48 | 42 |
} |
49 |
- |
|
50 | 43 |
if ("function" == typeof substitution) { |
51 | 44 |
var _this = this; |
52 |
- |
|
53 | 45 |
return _super[Symbol.replace].call(this, str, function () { |
54 | 46 |
var args = arguments; |
55 | 47 |
return "object" != _typeof(args[args.length - 1]) && (args = [].slice.call(args)).push(buildGroups(args, _this)), substitution.apply(this, args); |
56 | 48 |
}); |
57 | 49 |
} |
58 |
- |
|
59 | 50 |
return _super[Symbol.replace].call(this, str, substitution); |
60 | 51 |
}, _wrapRegExp.apply(this, arguments); |
61 | 52 |
} |
62 |
- |
|
63 | 53 |
module.exports = _wrapRegExp, module.exports.__esModule = true, module.exports["default"] = module.exports;(파일 끝에 줄바꿈 문자 없음) |
--- node_modules/@babel/runtime/helpers/writeOnlyError.js
+++ node_modules/@babel/runtime/helpers/writeOnlyError.js
... | ... | @@ -1,5 +1,4 @@ |
1 | 1 |
function _writeOnlyError(name) { |
2 | 2 |
throw new TypeError("\"" + name + "\" is write-only"); |
3 | 3 |
} |
4 |
- |
|
5 | 4 |
module.exports = _writeOnlyError, module.exports.__esModule = true, module.exports["default"] = module.exports;(파일 끝에 줄바꿈 문자 없음) |
--- node_modules/@babel/runtime/package.json
+++ node_modules/@babel/runtime/package.json
... | ... | @@ -1,6 +1,6 @@ |
1 | 1 |
{ |
2 | 2 |
"name": "@babel/runtime", |
3 |
- "version": "7.19.0", |
|
3 |
+ "version": "7.20.6", |
|
4 | 4 |
"description": "babel's modular runtime helpers", |
5 | 5 |
"license": "MIT", |
6 | 6 |
"publishConfig": { |
... | ... | @@ -14,7 +14,7 @@ |
14 | 14 |
"homepage": "https://babel.dev/docs/en/next/babel-runtime", |
15 | 15 |
"author": "The Babel Team (https://babel.dev/team)", |
16 | 16 |
"dependencies": { |
17 |
- "regenerator-runtime": "^0.13.4" |
|
17 |
+ "regenerator-runtime": "^0.13.11" |
|
18 | 18 |
}, |
19 | 19 |
"exports": { |
20 | 20 |
"./helpers/AsyncGenerator": [ |
... | ... | @@ -80,6 +80,33 @@ |
80 | 80 |
"./helpers/awaitAsyncGenerator.js" |
81 | 81 |
], |
82 | 82 |
"./helpers/esm/awaitAsyncGenerator": "./helpers/esm/awaitAsyncGenerator.js", |
83 |
+ "./helpers/checkInRHS": [ |
|
84 |
+ { |
|
85 |
+ "node": "./helpers/checkInRHS.js", |
|
86 |
+ "import": "./helpers/esm/checkInRHS.js", |
|
87 |
+ "default": "./helpers/checkInRHS.js" |
|
88 |
+ }, |
|
89 |
+ "./helpers/checkInRHS.js" |
|
90 |
+ ], |
|
91 |
+ "./helpers/esm/checkInRHS": "./helpers/esm/checkInRHS.js", |
|
92 |
+ "./helpers/iterableToArrayLimit": [ |
|
93 |
+ { |
|
94 |
+ "node": "./helpers/iterableToArrayLimit.js", |
|
95 |
+ "import": "./helpers/esm/iterableToArrayLimit.js", |
|
96 |
+ "default": "./helpers/iterableToArrayLimit.js" |
|
97 |
+ }, |
|
98 |
+ "./helpers/iterableToArrayLimit.js" |
|
99 |
+ ], |
|
100 |
+ "./helpers/esm/iterableToArrayLimit": "./helpers/esm/iterableToArrayLimit.js", |
|
101 |
+ "./helpers/iterableToArrayLimitLoose": [ |
|
102 |
+ { |
|
103 |
+ "node": "./helpers/iterableToArrayLimitLoose.js", |
|
104 |
+ "import": "./helpers/esm/iterableToArrayLimitLoose.js", |
|
105 |
+ "default": "./helpers/iterableToArrayLimitLoose.js" |
|
106 |
+ }, |
|
107 |
+ "./helpers/iterableToArrayLimitLoose.js" |
|
108 |
+ ], |
|
109 |
+ "./helpers/esm/iterableToArrayLimitLoose": "./helpers/esm/iterableToArrayLimitLoose.js", |
|
83 | 110 |
"./helpers/jsx": [ |
84 | 111 |
{ |
85 | 112 |
"node": "./helpers/jsx.js", |
... | ... | @@ -548,24 +575,6 @@ |
548 | 575 |
"./helpers/iterableToArray.js" |
549 | 576 |
], |
550 | 577 |
"./helpers/esm/iterableToArray": "./helpers/esm/iterableToArray.js", |
551 |
- "./helpers/iterableToArrayLimit": [ |
|
552 |
- { |
|
553 |
- "node": "./helpers/iterableToArrayLimit.js", |
|
554 |
- "import": "./helpers/esm/iterableToArrayLimit.js", |
|
555 |
- "default": "./helpers/iterableToArrayLimit.js" |
|
556 |
- }, |
|
557 |
- "./helpers/iterableToArrayLimit.js" |
|
558 |
- ], |
|
559 |
- "./helpers/esm/iterableToArrayLimit": "./helpers/esm/iterableToArrayLimit.js", |
|
560 |
- "./helpers/iterableToArrayLimitLoose": [ |
|
561 |
- { |
|
562 |
- "node": "./helpers/iterableToArrayLimitLoose.js", |
|
563 |
- "import": "./helpers/esm/iterableToArrayLimitLoose.js", |
|
564 |
- "default": "./helpers/iterableToArrayLimitLoose.js" |
|
565 |
- }, |
|
566 |
- "./helpers/iterableToArrayLimitLoose.js" |
|
567 |
- ], |
|
568 |
- "./helpers/esm/iterableToArrayLimitLoose": "./helpers/esm/iterableToArrayLimitLoose.js", |
|
569 | 578 |
"./helpers/unsupportedIterableToArray": [ |
570 | 579 |
{ |
571 | 580 |
"node": "./helpers/unsupportedIterableToArray.js", |
--- node_modules/regenerator-runtime/package.json
+++ node_modules/regenerator-runtime/package.json
... | ... | @@ -2,7 +2,7 @@ |
2 | 2 |
"name": "regenerator-runtime", |
3 | 3 |
"author": "Ben Newman <[email protected]>", |
4 | 4 |
"description": "Runtime for Regenerator-compiled generator and async functions.", |
5 |
- "version": "0.13.9", |
|
5 |
+ "version": "0.13.11", |
|
6 | 6 |
"main": "runtime.js", |
7 | 7 |
"keywords": [ |
8 | 8 |
"regenerator", |
... | ... | @@ -13,7 +13,7 @@ |
13 | 13 |
"sideEffects": true, |
14 | 14 |
"repository": { |
15 | 15 |
"type": "git", |
16 |
- "url": "https://github.com/facebook/regenerator/tree/master/packages/runtime" |
|
16 |
+ "url": "https://github.com/facebook/regenerator/tree/main/packages/runtime" |
|
17 | 17 |
}, |
18 | 18 |
"license": "MIT" |
19 | 19 |
} |
--- node_modules/regenerator-runtime/runtime.js
+++ node_modules/regenerator-runtime/runtime.js
... | ... | @@ -10,6 +10,7 @@ |
10 | 10 |
|
11 | 11 |
var Op = Object.prototype; |
12 | 12 |
var hasOwn = Op.hasOwnProperty; |
13 |
+ var defineProperty = Object.defineProperty || function (obj, key, desc) { obj[key] = desc.value; }; |
|
13 | 14 |
var undefined; // More compressible than void 0. |
14 | 15 |
var $Symbol = typeof Symbol === "function" ? Symbol : {}; |
15 | 16 |
var iteratorSymbol = $Symbol.iterator || "@@iterator"; |
... | ... | @@ -42,7 +43,7 @@ |
42 | 43 |
|
43 | 44 |
// The ._invoke method unifies the implementations of the .next, |
44 | 45 |
// .throw, and .return methods. |
45 |
- generator._invoke = makeInvokeMethod(innerFn, self, context); |
|
46 |
+ defineProperty(generator, "_invoke", { value: makeInvokeMethod(innerFn, self, context) }); |
|
46 | 47 |
|
47 | 48 |
return generator; |
48 | 49 |
} |
... | ... | @@ -103,8 +104,12 @@ |
103 | 104 |
var Gp = GeneratorFunctionPrototype.prototype = |
104 | 105 |
Generator.prototype = Object.create(IteratorPrototype); |
105 | 106 |
GeneratorFunction.prototype = GeneratorFunctionPrototype; |
106 |
- define(Gp, "constructor", GeneratorFunctionPrototype); |
|
107 |
- define(GeneratorFunctionPrototype, "constructor", GeneratorFunction); |
|
107 |
+ defineProperty(Gp, "constructor", { value: GeneratorFunctionPrototype, configurable: true }); |
|
108 |
+ defineProperty( |
|
109 |
+ GeneratorFunctionPrototype, |
|
110 |
+ "constructor", |
|
111 |
+ { value: GeneratorFunction, configurable: true } |
|
112 |
+ ); |
|
108 | 113 |
GeneratorFunction.displayName = define( |
109 | 114 |
GeneratorFunctionPrototype, |
110 | 115 |
toStringTagSymbol, |
... | ... | @@ -214,7 +219,7 @@ |
214 | 219 |
|
215 | 220 |
// Define the unified helper method that is used to implement .next, |
216 | 221 |
// .throw, and .return (see defineIteratorMethods). |
217 |
- this._invoke = enqueue; |
|
222 |
+ defineProperty(this, "_invoke", { value: enqueue }); |
|
218 | 223 |
} |
219 | 224 |
|
220 | 225 |
defineIteratorMethods(AsyncIterator.prototype); |
... | ... | @@ -324,31 +329,32 @@ |
324 | 329 |
// delegate iterator, or by modifying context.method and context.arg, |
325 | 330 |
// setting context.delegate to null, and returning the ContinueSentinel. |
326 | 331 |
function maybeInvokeDelegate(delegate, context) { |
327 |
- var method = delegate.iterator[context.method]; |
|
332 |
+ var methodName = context.method; |
|
333 |
+ var method = delegate.iterator[methodName]; |
|
328 | 334 |
if (method === undefined) { |
329 | 335 |
// A .throw or .return when the delegate iterator has no .throw |
330 |
- // method always terminates the yield* loop. |
|
336 |
+ // method, or a missing .next mehtod, always terminate the |
|
337 |
+ // yield* loop. |
|
331 | 338 |
context.delegate = null; |
332 | 339 |
|
333 |
- if (context.method === "throw") { |
|
334 |
- // Note: ["return"] must be used for ES3 parsing compatibility. |
|
335 |
- if (delegate.iterator["return"]) { |
|
336 |
- // If the delegate iterator has a return method, give it a |
|
337 |
- // chance to clean up. |
|
338 |
- context.method = "return"; |
|
339 |
- context.arg = undefined; |
|
340 |
- maybeInvokeDelegate(delegate, context); |
|
340 |
+ // Note: ["return"] must be used for ES3 parsing compatibility. |
|
341 |
+ if (methodName === "throw" && delegate.iterator["return"]) { |
|
342 |
+ // If the delegate iterator has a return method, give it a |
|
343 |
+ // chance to clean up. |
|
344 |
+ context.method = "return"; |
|
345 |
+ context.arg = undefined; |
|
346 |
+ maybeInvokeDelegate(delegate, context); |
|
341 | 347 |
|
342 |
- if (context.method === "throw") { |
|
343 |
- // If maybeInvokeDelegate(context) changed context.method from |
|
344 |
- // "return" to "throw", let that override the TypeError below. |
|
345 |
- return ContinueSentinel; |
|
346 |
- } |
|
348 |
+ if (context.method === "throw") { |
|
349 |
+ // If maybeInvokeDelegate(context) changed context.method from |
|
350 |
+ // "return" to "throw", let that override the TypeError below. |
|
351 |
+ return ContinueSentinel; |
|
347 | 352 |
} |
348 |
- |
|
353 |
+ } |
|
354 |
+ if (methodName !== "return") { |
|
349 | 355 |
context.method = "throw"; |
350 | 356 |
context.arg = new TypeError( |
351 |
- "The iterator does not provide a 'throw' method"); |
|
357 |
+ "The iterator does not provide a '" + methodName + "' method"); |
|
352 | 358 |
} |
353 | 359 |
|
354 | 360 |
return ContinueSentinel; |
... | ... | @@ -452,7 +458,8 @@ |
452 | 458 |
this.reset(true); |
453 | 459 |
} |
454 | 460 |
|
455 |
- exports.keys = function(object) { |
|
461 |
+ exports.keys = function(val) { |
|
462 |
+ var object = Object(val); |
|
456 | 463 |
var keys = []; |
457 | 464 |
for (var key in object) { |
458 | 465 |
keys.push(key); |
--- package-lock.json
+++ package-lock.json
This diff is too big to display. |
--- package.json
+++ package.json
... | ... | @@ -1,28 +1,50 @@ |
1 | 1 |
{ |
2 | 2 |
"dependencies": { |
3 |
+ "@amcharts/amcharts4": "^4.10.30", |
|
4 |
+ "@amcharts/amcharts4-geodata": "^4.1.26", |
|
5 |
+ "@amcharts/amcharts5": "^5.2.38", |
|
6 |
+ "@amcharts/amcharts5-geodata": "^5.0.6", |
|
3 | 7 |
"@babel/cli": "7.18.10", |
4 | 8 |
"@babel/core": "7.19.1", |
5 | 9 |
"@babel/preset-react": "7.18.6", |
10 |
+ "@emotion/react": "^11.10.5", |
|
11 |
+ "@emotion/styled": "^11.10.5", |
|
12 |
+ "@mui/icons-material": "^5.10.16", |
|
13 |
+ "@mui/material": "^5.10.17", |
|
14 |
+ "add": "^2.0.6", |
|
15 |
+ "animate.css": "^4.1.1", |
|
6 | 16 |
"babel-loader": "^8.2.5", |
17 |
+ "cd": "^0.3.3", |
|
7 | 18 |
"css-loader": "^6.7.1", |
19 |
+ "d3": "^7.7.0", |
|
20 |
+ "d3-geo": "^3.0.1", |
|
8 | 21 |
"express": "4.18.1", |
9 | 22 |
"file-loader": "^6.2.0", |
10 | 23 |
"fs": "0.0.1-security", |
24 |
+ "g3": "^0.2.37", |
|
11 | 25 |
"history": "5.3.0", |
26 |
+ "moment": "^2.29.4", |
|
27 |
+ "my-project": "^0.0.1", |
|
12 | 28 |
"mysql": "2.18.1", |
13 | 29 |
"oracledb": "5.5.0", |
14 | 30 |
"pg": "8.8.0", |
15 | 31 |
"react": "18.2.0", |
32 |
+ "react-calendar": "^4.0.0", |
|
16 | 33 |
"react-dom": "18.2.0", |
17 | 34 |
"react-is": "18.2.0", |
35 |
+ "react-kakao-maps-sdk": "^1.1.5", |
|
18 | 36 |
"react-router": "6.3.0", |
19 | 37 |
"react-router-dom": "6.3.0", |
38 |
+ "recharts": "^2.1.16", |
|
20 | 39 |
"style-loader": "^3.3.1", |
21 | 40 |
"styled-components": "5.3.6", |
22 | 41 |
"styled-reset": "4.4.2", |
42 |
+ "topojson": "^3.0.2", |
|
43 |
+ "topojson-client": "^3.1.0", |
|
23 | 44 |
"url-loader": "^4.1.1", |
24 | 45 |
"webpack": "^5.74.0", |
25 |
- "webpack-cli": "^4.10.0" |
|
46 |
+ "webpack-cli": "^4.10.0", |
|
47 |
+ "yarn": "^1.22.19" |
|
26 | 48 |
}, |
27 | 49 |
"scripts": { |
28 | 50 |
"prod": "set NODE_ENV=production&& webpack && node ./server/modules/web/server.js", |
... | ... | @@ -33,5 +55,9 @@ |
33 | 55 |
"linux-dev": "export NODE_ENV=development&& node ./server/modules/web/server.js", |
34 | 56 |
"webpack-build": "webpack", |
35 | 57 |
"webpack-build-watch": "webpack --watch" |
58 |
+ }, |
|
59 |
+ "devDependencies": { |
|
60 |
+ "kakao.maps.d.ts": "^0.1.33", |
|
61 |
+ "resize-observer-polyfill": "^1.5.1" |
|
36 | 62 |
} |
37 | 63 |
} |
--- server/modules/web/Server.js
+++ server/modules/web/Server.js
... | ... | @@ -90,6 +90,15 @@ |
90 | 90 |
}) |
91 | 91 |
|
92 | 92 |
/** |
93 |
+ * @author : 류윤주 |
|
94 |
+ * @since : 2022.11.06 |
|
95 |
+ * @dscription : React Router처리 |
|
96 |
+ */ |
|
97 |
+ webServer.get('*', function (request, response, next) { |
|
98 |
+ response.sendFile(`${BASE_DIR}/client/views/index.html`); |
|
99 |
+}); |
|
100 |
+ |
|
101 |
+/** |
|
93 | 102 |
* @author : 최정우 |
94 | 103 |
* @since : 2022.09.21 |
95 | 104 |
* @dscription : Global Error Handler (*맨 마지막에 적용해야됨) |
Add a comment
Delete comment
Once you delete this comment, you won't be able to recover it. Are you sure you want to delete this comment?