@94ai/nf-svg-icon 3.3.38 → 3.3.40
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/nf-svg-icon.cjs.js +32 -877
- package/lib/nf-svg-icon.esm-bundler.js +32 -877
- package/package.json +4 -4
package/lib/nf-svg-icon.cjs.js
CHANGED
|
@@ -16,853 +16,12 @@ const vueDemi = require("vue-demi");
|
|
|
16
16
|
const commonUtils = require("@94ai/common-utils");
|
|
17
17
|
const vue = require("vue");
|
|
18
18
|
const vue2RuntimeHelpers = require("@94ai/vue2-runtime-helpers");
|
|
19
|
-
|
|
20
|
-
function getDefaultExportFromCjs(x) {
|
|
21
|
-
return x && x.__esModule && Object.prototype.hasOwnProperty.call(x, "default") ? x["default"] : x;
|
|
22
|
-
}
|
|
23
|
-
var fails$b = function(exec2) {
|
|
24
|
-
try {
|
|
25
|
-
return !!exec2();
|
|
26
|
-
} catch (error) {
|
|
27
|
-
return true;
|
|
28
|
-
}
|
|
29
|
-
};
|
|
30
|
-
var fails$a = fails$b;
|
|
31
|
-
var functionBindNative = !fails$a(function() {
|
|
32
|
-
var test2 = (function() {
|
|
33
|
-
}).bind();
|
|
34
|
-
return typeof test2 != "function" || test2.hasOwnProperty("prototype");
|
|
35
|
-
});
|
|
36
|
-
var NATIVE_BIND$3 = functionBindNative;
|
|
37
|
-
var FunctionPrototype$1 = Function.prototype;
|
|
38
|
-
var call$5 = FunctionPrototype$1.call;
|
|
39
|
-
var uncurryThisWithBind = NATIVE_BIND$3 && FunctionPrototype$1.bind.bind(call$5, call$5);
|
|
40
|
-
var functionUncurryThis = NATIVE_BIND$3 ? uncurryThisWithBind : function(fn) {
|
|
41
|
-
return function() {
|
|
42
|
-
return call$5.apply(fn, arguments);
|
|
43
|
-
};
|
|
44
|
-
};
|
|
45
|
-
var uncurryThis$b = functionUncurryThis;
|
|
46
|
-
var objectIsPrototypeOf = uncurryThis$b({}.isPrototypeOf);
|
|
47
|
-
var check = function(it) {
|
|
48
|
-
return it && it.Math === Math && it;
|
|
49
|
-
};
|
|
50
|
-
var global$b = (
|
|
51
|
-
// eslint-disable-next-line es/no-global-this -- safe
|
|
52
|
-
check(typeof globalThis == "object" && globalThis) || check(typeof window == "object" && window) || // eslint-disable-next-line no-restricted-globals -- safe
|
|
53
|
-
check(typeof self == "object" && self) || check(typeof commonjsGlobal == "object" && commonjsGlobal) || // eslint-disable-next-line no-new-func -- fallback
|
|
54
|
-
function() {
|
|
55
|
-
return this;
|
|
56
|
-
}() || commonjsGlobal || Function("return this")()
|
|
57
|
-
);
|
|
58
|
-
var NATIVE_BIND$2 = functionBindNative;
|
|
59
|
-
var FunctionPrototype = Function.prototype;
|
|
60
|
-
var apply$1 = FunctionPrototype.apply;
|
|
61
|
-
var call$4 = FunctionPrototype.call;
|
|
62
|
-
var functionApply = typeof Reflect == "object" && Reflect.apply || (NATIVE_BIND$2 ? call$4.bind(apply$1) : function() {
|
|
63
|
-
return call$4.apply(apply$1, arguments);
|
|
64
|
-
});
|
|
65
|
-
var uncurryThis$a = functionUncurryThis;
|
|
66
|
-
var toString$4 = uncurryThis$a({}.toString);
|
|
67
|
-
var stringSlice = uncurryThis$a("".slice);
|
|
68
|
-
var classofRaw$2 = function(it) {
|
|
69
|
-
return stringSlice(toString$4(it), 8, -1);
|
|
70
|
-
};
|
|
71
|
-
var classofRaw$1 = classofRaw$2;
|
|
72
|
-
var uncurryThis$9 = functionUncurryThis;
|
|
73
|
-
var functionUncurryThisClause = function(fn) {
|
|
74
|
-
if (classofRaw$1(fn) === "Function")
|
|
75
|
-
return uncurryThis$9(fn);
|
|
76
|
-
};
|
|
77
|
-
var documentAll$2 = typeof document == "object" && document.all;
|
|
78
|
-
var IS_HTMLDDA = typeof documentAll$2 == "undefined" && documentAll$2 !== void 0;
|
|
79
|
-
var documentAll_1 = {
|
|
80
|
-
all: documentAll$2,
|
|
81
|
-
IS_HTMLDDA
|
|
82
|
-
};
|
|
83
|
-
var $documentAll$1 = documentAll_1;
|
|
84
|
-
var documentAll$1 = $documentAll$1.all;
|
|
85
|
-
var isCallable$a = $documentAll$1.IS_HTMLDDA ? function(argument) {
|
|
86
|
-
return typeof argument == "function" || argument === documentAll$1;
|
|
87
|
-
} : function(argument) {
|
|
88
|
-
return typeof argument == "function";
|
|
89
|
-
};
|
|
90
|
-
var objectGetOwnPropertyDescriptor = {};
|
|
91
|
-
var fails$9 = fails$b;
|
|
92
|
-
var descriptors = !fails$9(function() {
|
|
93
|
-
return Object.defineProperty({}, 1, {
|
|
94
|
-
get: function() {
|
|
95
|
-
return 7;
|
|
96
|
-
}
|
|
97
|
-
})[1] !== 7;
|
|
98
|
-
});
|
|
99
|
-
var NATIVE_BIND$1 = functionBindNative;
|
|
100
|
-
var call$3 = Function.prototype.call;
|
|
101
|
-
var functionCall = NATIVE_BIND$1 ? call$3.bind(call$3) : function() {
|
|
102
|
-
return call$3.apply(call$3, arguments);
|
|
103
|
-
};
|
|
104
|
-
var objectPropertyIsEnumerable = {};
|
|
105
|
-
var $propertyIsEnumerable = {}.propertyIsEnumerable;
|
|
106
|
-
var getOwnPropertyDescriptor$1 = Object.getOwnPropertyDescriptor;
|
|
107
|
-
var NASHORN_BUG = getOwnPropertyDescriptor$1 && !$propertyIsEnumerable.call({
|
|
108
|
-
1: 2
|
|
109
|
-
}, 1);
|
|
110
|
-
objectPropertyIsEnumerable.f = NASHORN_BUG ? function propertyIsEnumerable(V) {
|
|
111
|
-
var descriptor = getOwnPropertyDescriptor$1(this, V);
|
|
112
|
-
return !!descriptor && descriptor.enumerable;
|
|
113
|
-
} : $propertyIsEnumerable;
|
|
114
|
-
var createPropertyDescriptor$3 = function(bitmap, value) {
|
|
115
|
-
return {
|
|
116
|
-
enumerable: !(bitmap & 1),
|
|
117
|
-
configurable: !(bitmap & 2),
|
|
118
|
-
writable: !(bitmap & 4),
|
|
119
|
-
value
|
|
120
|
-
};
|
|
121
|
-
};
|
|
122
|
-
var uncurryThis$8 = functionUncurryThis;
|
|
123
|
-
var fails$8 = fails$b;
|
|
124
|
-
var classof$4 = classofRaw$2;
|
|
125
|
-
var $Object$3 = Object;
|
|
126
|
-
var split = uncurryThis$8("".split);
|
|
127
|
-
var indexedObject = fails$8(function() {
|
|
128
|
-
return !$Object$3("z").propertyIsEnumerable(0);
|
|
129
|
-
}) ? function(it) {
|
|
130
|
-
return classof$4(it) === "String" ? split(it, "") : $Object$3(it);
|
|
131
|
-
} : $Object$3;
|
|
132
|
-
var isNullOrUndefined$2 = function(it) {
|
|
133
|
-
return it === null || it === void 0;
|
|
134
|
-
};
|
|
135
|
-
var isNullOrUndefined$1 = isNullOrUndefined$2;
|
|
136
|
-
var $TypeError$6 = TypeError;
|
|
137
|
-
var requireObjectCoercible$3 = function(it) {
|
|
138
|
-
if (isNullOrUndefined$1(it))
|
|
139
|
-
throw new $TypeError$6("Can't call method on " + it);
|
|
140
|
-
return it;
|
|
141
|
-
};
|
|
142
|
-
var IndexedObject = indexedObject;
|
|
143
|
-
var requireObjectCoercible$2 = requireObjectCoercible$3;
|
|
144
|
-
var toIndexedObject$1 = function(it) {
|
|
145
|
-
return IndexedObject(requireObjectCoercible$2(it));
|
|
146
|
-
};
|
|
147
|
-
var isCallable$9 = isCallable$a;
|
|
148
|
-
var $documentAll = documentAll_1;
|
|
149
|
-
var documentAll = $documentAll.all;
|
|
150
|
-
var isObject$6 = $documentAll.IS_HTMLDDA ? function(it) {
|
|
151
|
-
return typeof it == "object" ? it !== null : isCallable$9(it) || it === documentAll;
|
|
152
|
-
} : function(it) {
|
|
153
|
-
return typeof it == "object" ? it !== null : isCallable$9(it);
|
|
154
|
-
};
|
|
155
|
-
var path$4 = {};
|
|
156
|
-
var path$3 = path$4;
|
|
157
|
-
var global$a = global$b;
|
|
158
|
-
var isCallable$8 = isCallable$a;
|
|
159
|
-
var aFunction = function(variable) {
|
|
160
|
-
return isCallable$8(variable) ? variable : void 0;
|
|
161
|
-
};
|
|
162
|
-
var getBuiltIn$2 = function(namespace, method2) {
|
|
163
|
-
return arguments.length < 2 ? aFunction(path$3[namespace]) || aFunction(global$a[namespace]) : path$3[namespace] && path$3[namespace][method2] || global$a[namespace] && global$a[namespace][method2];
|
|
164
|
-
};
|
|
165
|
-
var engineUserAgent = typeof navigator != "undefined" && String(navigator.userAgent) || "";
|
|
166
|
-
var global$9 = global$b;
|
|
167
|
-
var userAgent = engineUserAgent;
|
|
168
|
-
var process = global$9.process;
|
|
169
|
-
var Deno = global$9.Deno;
|
|
170
|
-
var versions = process && process.versions || Deno && Deno.version;
|
|
171
|
-
var v8 = versions && versions.v8;
|
|
172
|
-
var match, version;
|
|
173
|
-
if (v8) {
|
|
174
|
-
match = v8.split(".");
|
|
175
|
-
version = match[0] > 0 && match[0] < 4 ? 1 : +(match[0] + match[1]);
|
|
176
|
-
}
|
|
177
|
-
if (!version && userAgent) {
|
|
178
|
-
match = userAgent.match(/Edge\/(\d+)/);
|
|
179
|
-
if (!match || match[1] >= 74) {
|
|
180
|
-
match = userAgent.match(/Chrome\/(\d+)/);
|
|
181
|
-
if (match)
|
|
182
|
-
version = +match[1];
|
|
183
|
-
}
|
|
184
|
-
}
|
|
185
|
-
var engineV8Version = version;
|
|
186
|
-
var V8_VERSION$2 = engineV8Version;
|
|
187
|
-
var fails$7 = fails$b;
|
|
188
|
-
var global$8 = global$b;
|
|
189
|
-
var $String$3 = global$8.String;
|
|
190
|
-
var symbolConstructorDetection = !!Object.getOwnPropertySymbols && !fails$7(function() {
|
|
191
|
-
var symbol = Symbol("symbol detection");
|
|
192
|
-
return !$String$3(symbol) || !(Object(symbol) instanceof Symbol) || // Chrome 38-40 symbols are not inherited from DOM collections prototypes to instances
|
|
193
|
-
!Symbol.sham && V8_VERSION$2 && V8_VERSION$2 < 41;
|
|
194
|
-
});
|
|
195
|
-
var NATIVE_SYMBOL$1 = symbolConstructorDetection;
|
|
196
|
-
var useSymbolAsUid = NATIVE_SYMBOL$1 && !Symbol.sham && typeof Symbol.iterator == "symbol";
|
|
197
|
-
var getBuiltIn$1 = getBuiltIn$2;
|
|
198
|
-
var isCallable$7 = isCallable$a;
|
|
199
|
-
var isPrototypeOf$1 = objectIsPrototypeOf;
|
|
200
|
-
var USE_SYMBOL_AS_UID$1 = useSymbolAsUid;
|
|
201
|
-
var $Object$2 = Object;
|
|
202
|
-
var isSymbol$2 = USE_SYMBOL_AS_UID$1 ? function(it) {
|
|
203
|
-
return typeof it == "symbol";
|
|
204
|
-
} : function(it) {
|
|
205
|
-
var $Symbol = getBuiltIn$1("Symbol");
|
|
206
|
-
return isCallable$7($Symbol) && isPrototypeOf$1($Symbol.prototype, $Object$2(it));
|
|
207
|
-
};
|
|
208
|
-
var $String$2 = String;
|
|
209
|
-
var tryToString$1 = function(argument) {
|
|
210
|
-
try {
|
|
211
|
-
return $String$2(argument);
|
|
212
|
-
} catch (error) {
|
|
213
|
-
return "Object";
|
|
214
|
-
}
|
|
215
|
-
};
|
|
216
|
-
var isCallable$6 = isCallable$a;
|
|
217
|
-
var tryToString = tryToString$1;
|
|
218
|
-
var $TypeError$5 = TypeError;
|
|
219
|
-
var aCallable$2 = function(argument) {
|
|
220
|
-
if (isCallable$6(argument))
|
|
221
|
-
return argument;
|
|
222
|
-
throw new $TypeError$5(tryToString(argument) + " is not a function");
|
|
223
|
-
};
|
|
224
|
-
var aCallable$1 = aCallable$2;
|
|
225
|
-
var isNullOrUndefined = isNullOrUndefined$2;
|
|
226
|
-
var getMethod$1 = function(V, P) {
|
|
227
|
-
var func = V[P];
|
|
228
|
-
return isNullOrUndefined(func) ? void 0 : aCallable$1(func);
|
|
229
|
-
};
|
|
230
|
-
var call$2 = functionCall;
|
|
231
|
-
var isCallable$5 = isCallable$a;
|
|
232
|
-
var isObject$5 = isObject$6;
|
|
233
|
-
var $TypeError$4 = TypeError;
|
|
234
|
-
var ordinaryToPrimitive$1 = function(input, pref) {
|
|
235
|
-
var fn, val;
|
|
236
|
-
if (pref === "string" && isCallable$5(fn = input.toString) && !isObject$5(val = call$2(fn, input)))
|
|
237
|
-
return val;
|
|
238
|
-
if (isCallable$5(fn = input.valueOf) && !isObject$5(val = call$2(fn, input)))
|
|
239
|
-
return val;
|
|
240
|
-
if (pref !== "string" && isCallable$5(fn = input.toString) && !isObject$5(val = call$2(fn, input)))
|
|
241
|
-
return val;
|
|
242
|
-
throw new $TypeError$4("Can't convert object to primitive value");
|
|
243
|
-
};
|
|
244
|
-
var shared$1 = { exports: {} };
|
|
245
|
-
var global$7 = global$b;
|
|
246
|
-
var defineProperty = Object.defineProperty;
|
|
247
|
-
var defineGlobalProperty$1 = function(key, value) {
|
|
248
|
-
try {
|
|
249
|
-
defineProperty(global$7, key, {
|
|
250
|
-
value,
|
|
251
|
-
configurable: true,
|
|
252
|
-
writable: true
|
|
253
|
-
});
|
|
254
|
-
} catch (error) {
|
|
255
|
-
global$7[key] = value;
|
|
256
|
-
}
|
|
257
|
-
return value;
|
|
258
|
-
};
|
|
259
|
-
var global$6 = global$b;
|
|
260
|
-
var defineGlobalProperty = defineGlobalProperty$1;
|
|
261
|
-
var SHARED = "__core-js_shared__";
|
|
262
|
-
var store$2 = global$6[SHARED] || defineGlobalProperty(SHARED, {});
|
|
263
|
-
var sharedStore = store$2;
|
|
264
|
-
var store$1 = sharedStore;
|
|
265
|
-
(shared$1.exports = function(key, value) {
|
|
266
|
-
return store$1[key] || (store$1[key] = value !== void 0 ? value : {});
|
|
267
|
-
})("versions", []).push({
|
|
268
|
-
version: "3.33.2",
|
|
269
|
-
mode: "pure",
|
|
270
|
-
copyright: "© 2014-2023 Denis Pushkarev (zloirock.ru)",
|
|
271
|
-
license: "https://github.com/zloirock/core-js/blob/v3.33.2/LICENSE",
|
|
272
|
-
source: "https://github.com/zloirock/core-js"
|
|
273
|
-
});
|
|
274
|
-
var sharedExports = shared$1.exports;
|
|
275
|
-
var requireObjectCoercible$1 = requireObjectCoercible$3;
|
|
276
|
-
var $Object$1 = Object;
|
|
277
|
-
var toObject$2 = function(argument) {
|
|
278
|
-
return $Object$1(requireObjectCoercible$1(argument));
|
|
279
|
-
};
|
|
280
|
-
var uncurryThis$7 = functionUncurryThis;
|
|
281
|
-
var toObject$1 = toObject$2;
|
|
282
|
-
var hasOwnProperty = uncurryThis$7({}.hasOwnProperty);
|
|
283
|
-
var hasOwnProperty_1 = Object.hasOwn || function hasOwn(it, key) {
|
|
284
|
-
return hasOwnProperty(toObject$1(it), key);
|
|
285
|
-
};
|
|
286
|
-
var uncurryThis$6 = functionUncurryThis;
|
|
287
|
-
var id = 0;
|
|
288
|
-
var postfix = Math.random();
|
|
289
|
-
var toString$3 = uncurryThis$6(1 .toString);
|
|
290
|
-
var uid$1 = function(key) {
|
|
291
|
-
return "Symbol(" + (key === void 0 ? "" : key) + ")_" + toString$3(++id + postfix, 36);
|
|
292
|
-
};
|
|
293
|
-
var global$5 = global$b;
|
|
294
|
-
var shared = sharedExports;
|
|
295
|
-
var hasOwn$2 = hasOwnProperty_1;
|
|
296
|
-
var uid = uid$1;
|
|
297
|
-
var NATIVE_SYMBOL = symbolConstructorDetection;
|
|
298
|
-
var USE_SYMBOL_AS_UID = useSymbolAsUid;
|
|
299
|
-
var Symbol$2 = global$5.Symbol;
|
|
300
|
-
var WellKnownSymbolsStore = shared("wks");
|
|
301
|
-
var createWellKnownSymbol = USE_SYMBOL_AS_UID ? Symbol$2["for"] || Symbol$2 : Symbol$2 && Symbol$2.withoutSetter || uid;
|
|
302
|
-
var wellKnownSymbol$6 = function(name) {
|
|
303
|
-
if (!hasOwn$2(WellKnownSymbolsStore, name)) {
|
|
304
|
-
WellKnownSymbolsStore[name] = NATIVE_SYMBOL && hasOwn$2(Symbol$2, name) ? Symbol$2[name] : createWellKnownSymbol("Symbol." + name);
|
|
305
|
-
}
|
|
306
|
-
return WellKnownSymbolsStore[name];
|
|
307
|
-
};
|
|
308
|
-
var call$1 = functionCall;
|
|
309
|
-
var isObject$4 = isObject$6;
|
|
310
|
-
var isSymbol$1 = isSymbol$2;
|
|
311
|
-
var getMethod = getMethod$1;
|
|
312
|
-
var ordinaryToPrimitive = ordinaryToPrimitive$1;
|
|
313
|
-
var wellKnownSymbol$5 = wellKnownSymbol$6;
|
|
314
|
-
var $TypeError$3 = TypeError;
|
|
315
|
-
var TO_PRIMITIVE = wellKnownSymbol$5("toPrimitive");
|
|
316
|
-
var toPrimitive$1 = function(input, pref) {
|
|
317
|
-
if (!isObject$4(input) || isSymbol$1(input))
|
|
318
|
-
return input;
|
|
319
|
-
var exoticToPrim = getMethod(input, TO_PRIMITIVE);
|
|
320
|
-
var result;
|
|
321
|
-
if (exoticToPrim) {
|
|
322
|
-
if (pref === void 0)
|
|
323
|
-
pref = "default";
|
|
324
|
-
result = call$1(exoticToPrim, input, pref);
|
|
325
|
-
if (!isObject$4(result) || isSymbol$1(result))
|
|
326
|
-
return result;
|
|
327
|
-
throw new $TypeError$3("Can't convert object to primitive value");
|
|
328
|
-
}
|
|
329
|
-
if (pref === void 0)
|
|
330
|
-
pref = "number";
|
|
331
|
-
return ordinaryToPrimitive(input, pref);
|
|
332
|
-
};
|
|
333
|
-
var toPrimitive = toPrimitive$1;
|
|
334
|
-
var isSymbol = isSymbol$2;
|
|
335
|
-
var toPropertyKey$3 = function(argument) {
|
|
336
|
-
var key = toPrimitive(argument, "string");
|
|
337
|
-
return isSymbol(key) ? key : key + "";
|
|
338
|
-
};
|
|
339
|
-
var global$4 = global$b;
|
|
340
|
-
var isObject$3 = isObject$6;
|
|
341
|
-
var document$1 = global$4.document;
|
|
342
|
-
var EXISTS = isObject$3(document$1) && isObject$3(document$1.createElement);
|
|
343
|
-
var documentCreateElement = function(it) {
|
|
344
|
-
return EXISTS ? document$1.createElement(it) : {};
|
|
345
|
-
};
|
|
346
|
-
var DESCRIPTORS$4 = descriptors;
|
|
347
|
-
var fails$6 = fails$b;
|
|
348
|
-
var createElement = documentCreateElement;
|
|
349
|
-
var ie8DomDefine = !DESCRIPTORS$4 && !fails$6(function() {
|
|
350
|
-
return Object.defineProperty(createElement("div"), "a", {
|
|
351
|
-
get: function() {
|
|
352
|
-
return 7;
|
|
353
|
-
}
|
|
354
|
-
}).a !== 7;
|
|
355
|
-
});
|
|
356
|
-
var DESCRIPTORS$3 = descriptors;
|
|
357
|
-
var call = functionCall;
|
|
358
|
-
var propertyIsEnumerableModule = objectPropertyIsEnumerable;
|
|
359
|
-
var createPropertyDescriptor$2 = createPropertyDescriptor$3;
|
|
360
|
-
var toIndexedObject = toIndexedObject$1;
|
|
361
|
-
var toPropertyKey$2 = toPropertyKey$3;
|
|
362
|
-
var hasOwn$1 = hasOwnProperty_1;
|
|
363
|
-
var IE8_DOM_DEFINE$1 = ie8DomDefine;
|
|
364
|
-
var $getOwnPropertyDescriptor$1 = Object.getOwnPropertyDescriptor;
|
|
365
|
-
objectGetOwnPropertyDescriptor.f = DESCRIPTORS$3 ? $getOwnPropertyDescriptor$1 : function getOwnPropertyDescriptor(O, P) {
|
|
366
|
-
O = toIndexedObject(O);
|
|
367
|
-
P = toPropertyKey$2(P);
|
|
368
|
-
if (IE8_DOM_DEFINE$1)
|
|
369
|
-
try {
|
|
370
|
-
return $getOwnPropertyDescriptor$1(O, P);
|
|
371
|
-
} catch (error) {
|
|
372
|
-
}
|
|
373
|
-
if (hasOwn$1(O, P))
|
|
374
|
-
return createPropertyDescriptor$2(!call(propertyIsEnumerableModule.f, O, P), O[P]);
|
|
375
|
-
};
|
|
376
|
-
var fails$5 = fails$b;
|
|
377
|
-
var isCallable$4 = isCallable$a;
|
|
378
|
-
var replacement = /#|\.prototype\./;
|
|
379
|
-
var isForced$1 = function(feature, detection) {
|
|
380
|
-
var value = data[normalize(feature)];
|
|
381
|
-
return value === POLYFILL ? true : value === NATIVE ? false : isCallable$4(detection) ? fails$5(detection) : !!detection;
|
|
382
|
-
};
|
|
383
|
-
var normalize = isForced$1.normalize = function(string) {
|
|
384
|
-
return String(string).replace(replacement, ".").toLowerCase();
|
|
385
|
-
};
|
|
386
|
-
var data = isForced$1.data = {};
|
|
387
|
-
var NATIVE = isForced$1.NATIVE = "N";
|
|
388
|
-
var POLYFILL = isForced$1.POLYFILL = "P";
|
|
389
|
-
var isForced_1 = isForced$1;
|
|
390
|
-
var uncurryThis$5 = functionUncurryThisClause;
|
|
391
|
-
var aCallable = aCallable$2;
|
|
392
|
-
var NATIVE_BIND = functionBindNative;
|
|
393
|
-
var bind$1 = uncurryThis$5(uncurryThis$5.bind);
|
|
394
|
-
var functionBindContext = function(fn, that) {
|
|
395
|
-
aCallable(fn);
|
|
396
|
-
return that === void 0 ? fn : NATIVE_BIND ? bind$1(fn, that) : function() {
|
|
397
|
-
return fn.apply(that, arguments);
|
|
398
|
-
};
|
|
399
|
-
};
|
|
400
|
-
var objectDefineProperty = {};
|
|
401
|
-
var DESCRIPTORS$2 = descriptors;
|
|
402
|
-
var fails$4 = fails$b;
|
|
403
|
-
var v8PrototypeDefineBug = DESCRIPTORS$2 && fails$4(function() {
|
|
404
|
-
return Object.defineProperty(function() {
|
|
405
|
-
}, "prototype", {
|
|
406
|
-
value: 42,
|
|
407
|
-
writable: false
|
|
408
|
-
}).prototype !== 42;
|
|
409
|
-
});
|
|
410
|
-
var isObject$2 = isObject$6;
|
|
411
|
-
var $String$1 = String;
|
|
412
|
-
var $TypeError$2 = TypeError;
|
|
413
|
-
var anObject$1 = function(argument) {
|
|
414
|
-
if (isObject$2(argument))
|
|
415
|
-
return argument;
|
|
416
|
-
throw new $TypeError$2($String$1(argument) + " is not an object");
|
|
417
|
-
};
|
|
418
|
-
var DESCRIPTORS$1 = descriptors;
|
|
419
|
-
var IE8_DOM_DEFINE = ie8DomDefine;
|
|
420
|
-
var V8_PROTOTYPE_DEFINE_BUG = v8PrototypeDefineBug;
|
|
421
|
-
var anObject = anObject$1;
|
|
422
|
-
var toPropertyKey$1 = toPropertyKey$3;
|
|
423
|
-
var $TypeError$1 = TypeError;
|
|
424
|
-
var $defineProperty = Object.defineProperty;
|
|
425
|
-
var $getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;
|
|
426
|
-
var ENUMERABLE = "enumerable";
|
|
427
|
-
var CONFIGURABLE = "configurable";
|
|
428
|
-
var WRITABLE = "writable";
|
|
429
|
-
objectDefineProperty.f = DESCRIPTORS$1 ? V8_PROTOTYPE_DEFINE_BUG ? function defineProperty2(O, P, Attributes) {
|
|
430
|
-
anObject(O);
|
|
431
|
-
P = toPropertyKey$1(P);
|
|
432
|
-
anObject(Attributes);
|
|
433
|
-
if (typeof O === "function" && P === "prototype" && "value" in Attributes && WRITABLE in Attributes && !Attributes[WRITABLE]) {
|
|
434
|
-
var current = $getOwnPropertyDescriptor(O, P);
|
|
435
|
-
if (current && current[WRITABLE]) {
|
|
436
|
-
O[P] = Attributes.value;
|
|
437
|
-
Attributes = {
|
|
438
|
-
configurable: CONFIGURABLE in Attributes ? Attributes[CONFIGURABLE] : current[CONFIGURABLE],
|
|
439
|
-
enumerable: ENUMERABLE in Attributes ? Attributes[ENUMERABLE] : current[ENUMERABLE],
|
|
440
|
-
writable: false
|
|
441
|
-
};
|
|
442
|
-
}
|
|
443
|
-
}
|
|
444
|
-
return $defineProperty(O, P, Attributes);
|
|
445
|
-
} : $defineProperty : function defineProperty3(O, P, Attributes) {
|
|
446
|
-
anObject(O);
|
|
447
|
-
P = toPropertyKey$1(P);
|
|
448
|
-
anObject(Attributes);
|
|
449
|
-
if (IE8_DOM_DEFINE)
|
|
450
|
-
try {
|
|
451
|
-
return $defineProperty(O, P, Attributes);
|
|
452
|
-
} catch (error) {
|
|
453
|
-
}
|
|
454
|
-
if ("get" in Attributes || "set" in Attributes)
|
|
455
|
-
throw new $TypeError$1("Accessors not supported");
|
|
456
|
-
if ("value" in Attributes)
|
|
457
|
-
O[P] = Attributes.value;
|
|
458
|
-
return O;
|
|
459
|
-
};
|
|
460
|
-
var DESCRIPTORS = descriptors;
|
|
461
|
-
var definePropertyModule$1 = objectDefineProperty;
|
|
462
|
-
var createPropertyDescriptor$1 = createPropertyDescriptor$3;
|
|
463
|
-
var createNonEnumerableProperty$1 = DESCRIPTORS ? function(object, key, value) {
|
|
464
|
-
return definePropertyModule$1.f(object, key, createPropertyDescriptor$1(1, value));
|
|
465
|
-
} : function(object, key, value) {
|
|
466
|
-
object[key] = value;
|
|
467
|
-
return object;
|
|
468
|
-
};
|
|
469
|
-
var global$3 = global$b;
|
|
470
|
-
var apply = functionApply;
|
|
471
|
-
var uncurryThis$4 = functionUncurryThisClause;
|
|
472
|
-
var isCallable$3 = isCallable$a;
|
|
473
|
-
var getOwnPropertyDescriptor2 = objectGetOwnPropertyDescriptor.f;
|
|
474
|
-
var isForced = isForced_1;
|
|
475
|
-
var path$2 = path$4;
|
|
476
|
-
var bind = functionBindContext;
|
|
477
|
-
var createNonEnumerableProperty = createNonEnumerableProperty$1;
|
|
478
|
-
var hasOwn2 = hasOwnProperty_1;
|
|
479
|
-
var wrapConstructor = function(NativeConstructor) {
|
|
480
|
-
var Wrapper = function(a, b, c) {
|
|
481
|
-
if (this instanceof Wrapper) {
|
|
482
|
-
switch (arguments.length) {
|
|
483
|
-
case 0:
|
|
484
|
-
return new NativeConstructor();
|
|
485
|
-
case 1:
|
|
486
|
-
return new NativeConstructor(a);
|
|
487
|
-
case 2:
|
|
488
|
-
return new NativeConstructor(a, b);
|
|
489
|
-
}
|
|
490
|
-
return new NativeConstructor(a, b, c);
|
|
491
|
-
}
|
|
492
|
-
return apply(NativeConstructor, this, arguments);
|
|
493
|
-
};
|
|
494
|
-
Wrapper.prototype = NativeConstructor.prototype;
|
|
495
|
-
return Wrapper;
|
|
496
|
-
};
|
|
497
|
-
var _export = function(options, source) {
|
|
498
|
-
var TARGET = options.target;
|
|
499
|
-
var GLOBAL = options.global;
|
|
500
|
-
var STATIC = options.stat;
|
|
501
|
-
var PROTO = options.proto;
|
|
502
|
-
var nativeSource = GLOBAL ? global$3 : STATIC ? global$3[TARGET] : (global$3[TARGET] || {}).prototype;
|
|
503
|
-
var target = GLOBAL ? path$2 : path$2[TARGET] || createNonEnumerableProperty(path$2, TARGET, {})[TARGET];
|
|
504
|
-
var targetPrototype = target.prototype;
|
|
505
|
-
var FORCED2, USE_NATIVE, VIRTUAL_PROTOTYPE;
|
|
506
|
-
var key, sourceProperty, targetProperty, nativeProperty, resultProperty, descriptor;
|
|
507
|
-
for (key in source) {
|
|
508
|
-
FORCED2 = isForced(GLOBAL ? key : TARGET + (STATIC ? "." : "#") + key, options.forced);
|
|
509
|
-
USE_NATIVE = !FORCED2 && nativeSource && hasOwn2(nativeSource, key);
|
|
510
|
-
targetProperty = target[key];
|
|
511
|
-
if (USE_NATIVE)
|
|
512
|
-
if (options.dontCallGetSet) {
|
|
513
|
-
descriptor = getOwnPropertyDescriptor2(nativeSource, key);
|
|
514
|
-
nativeProperty = descriptor && descriptor.value;
|
|
515
|
-
} else
|
|
516
|
-
nativeProperty = nativeSource[key];
|
|
517
|
-
sourceProperty = USE_NATIVE && nativeProperty ? nativeProperty : source[key];
|
|
518
|
-
if (USE_NATIVE && typeof targetProperty == typeof sourceProperty)
|
|
519
|
-
continue;
|
|
520
|
-
if (options.bind && USE_NATIVE)
|
|
521
|
-
resultProperty = bind(sourceProperty, global$3);
|
|
522
|
-
else if (options.wrap && USE_NATIVE)
|
|
523
|
-
resultProperty = wrapConstructor(sourceProperty);
|
|
524
|
-
else if (PROTO && isCallable$3(sourceProperty))
|
|
525
|
-
resultProperty = uncurryThis$4(sourceProperty);
|
|
526
|
-
else
|
|
527
|
-
resultProperty = sourceProperty;
|
|
528
|
-
if (options.sham || sourceProperty && sourceProperty.sham || targetProperty && targetProperty.sham) {
|
|
529
|
-
createNonEnumerableProperty(resultProperty, "sham", true);
|
|
530
|
-
}
|
|
531
|
-
createNonEnumerableProperty(target, key, resultProperty);
|
|
532
|
-
if (PROTO) {
|
|
533
|
-
VIRTUAL_PROTOTYPE = TARGET + "Prototype";
|
|
534
|
-
if (!hasOwn2(path$2, VIRTUAL_PROTOTYPE)) {
|
|
535
|
-
createNonEnumerableProperty(path$2, VIRTUAL_PROTOTYPE, {});
|
|
536
|
-
}
|
|
537
|
-
createNonEnumerableProperty(path$2[VIRTUAL_PROTOTYPE], key, sourceProperty);
|
|
538
|
-
if (options.real && targetPrototype && (FORCED2 || !targetPrototype[key])) {
|
|
539
|
-
createNonEnumerableProperty(targetPrototype, key, sourceProperty);
|
|
540
|
-
}
|
|
541
|
-
}
|
|
542
|
-
}
|
|
543
|
-
};
|
|
544
|
-
var classof$3 = classofRaw$2;
|
|
545
|
-
var isArray$2 = Array.isArray || function isArray(argument) {
|
|
546
|
-
return classof$3(argument) === "Array";
|
|
547
|
-
};
|
|
548
|
-
var ceil = Math.ceil;
|
|
549
|
-
var floor = Math.floor;
|
|
550
|
-
var mathTrunc = Math.trunc || function trunc(x) {
|
|
551
|
-
var n = +x;
|
|
552
|
-
return (n > 0 ? floor : ceil)(n);
|
|
553
|
-
};
|
|
554
|
-
var trunc2 = mathTrunc;
|
|
555
|
-
var toIntegerOrInfinity$1 = function(argument) {
|
|
556
|
-
var number = +argument;
|
|
557
|
-
return number !== number || number === 0 ? 0 : trunc2(number);
|
|
558
|
-
};
|
|
559
|
-
var toIntegerOrInfinity = toIntegerOrInfinity$1;
|
|
560
|
-
var min = Math.min;
|
|
561
|
-
var toLength$1 = function(argument) {
|
|
562
|
-
return argument > 0 ? min(toIntegerOrInfinity(argument), 9007199254740991) : 0;
|
|
563
|
-
};
|
|
564
|
-
var toLength = toLength$1;
|
|
565
|
-
var lengthOfArrayLike$1 = function(obj) {
|
|
566
|
-
return toLength(obj.length);
|
|
567
|
-
};
|
|
568
|
-
var $TypeError = TypeError;
|
|
569
|
-
var MAX_SAFE_INTEGER = 9007199254740991;
|
|
570
|
-
var doesNotExceedSafeInteger$1 = function(it) {
|
|
571
|
-
if (it > MAX_SAFE_INTEGER)
|
|
572
|
-
throw $TypeError("Maximum allowed index exceeded");
|
|
573
|
-
return it;
|
|
574
|
-
};
|
|
575
|
-
var toPropertyKey = toPropertyKey$3;
|
|
576
|
-
var definePropertyModule = objectDefineProperty;
|
|
577
|
-
var createPropertyDescriptor = createPropertyDescriptor$3;
|
|
578
|
-
var createProperty$1 = function(object, key, value) {
|
|
579
|
-
var propertyKey = toPropertyKey(key);
|
|
580
|
-
if (propertyKey in object)
|
|
581
|
-
definePropertyModule.f(object, propertyKey, createPropertyDescriptor(0, value));
|
|
582
|
-
else
|
|
583
|
-
object[propertyKey] = value;
|
|
584
|
-
};
|
|
585
|
-
var wellKnownSymbol$4 = wellKnownSymbol$6;
|
|
586
|
-
var TO_STRING_TAG$1 = wellKnownSymbol$4("toStringTag");
|
|
587
|
-
var test = {};
|
|
588
|
-
test[TO_STRING_TAG$1] = "z";
|
|
589
|
-
var toStringTagSupport = String(test) === "[object z]";
|
|
590
|
-
var TO_STRING_TAG_SUPPORT = toStringTagSupport;
|
|
591
|
-
var isCallable$2 = isCallable$a;
|
|
592
|
-
var classofRaw = classofRaw$2;
|
|
593
|
-
var wellKnownSymbol$3 = wellKnownSymbol$6;
|
|
594
|
-
var TO_STRING_TAG = wellKnownSymbol$3("toStringTag");
|
|
595
|
-
var $Object = Object;
|
|
596
|
-
var CORRECT_ARGUMENTS = classofRaw(function() {
|
|
597
|
-
return arguments;
|
|
598
|
-
}()) === "Arguments";
|
|
599
|
-
var tryGet = function(it, key) {
|
|
600
|
-
try {
|
|
601
|
-
return it[key];
|
|
602
|
-
} catch (error) {
|
|
603
|
-
}
|
|
604
|
-
};
|
|
605
|
-
var classof$2 = TO_STRING_TAG_SUPPORT ? classofRaw : function(it) {
|
|
606
|
-
var O, tag, result;
|
|
607
|
-
return it === void 0 ? "Undefined" : it === null ? "Null" : typeof (tag = tryGet(O = $Object(it), TO_STRING_TAG)) == "string" ? tag : CORRECT_ARGUMENTS ? classofRaw(O) : (result = classofRaw(O)) === "Object" && isCallable$2(O.callee) ? "Arguments" : result;
|
|
608
|
-
};
|
|
609
|
-
var uncurryThis$3 = functionUncurryThis;
|
|
610
|
-
var isCallable$1 = isCallable$a;
|
|
611
|
-
var store = sharedStore;
|
|
612
|
-
var functionToString = uncurryThis$3(Function.toString);
|
|
613
|
-
if (!isCallable$1(store.inspectSource)) {
|
|
614
|
-
store.inspectSource = function(it) {
|
|
615
|
-
return functionToString(it);
|
|
616
|
-
};
|
|
617
|
-
}
|
|
618
|
-
var inspectSource$1 = store.inspectSource;
|
|
619
|
-
var uncurryThis$2 = functionUncurryThis;
|
|
620
|
-
var fails$3 = fails$b;
|
|
621
|
-
var isCallable = isCallable$a;
|
|
622
|
-
var classof$1 = classof$2;
|
|
623
|
-
var getBuiltIn = getBuiltIn$2;
|
|
624
|
-
var inspectSource = inspectSource$1;
|
|
625
|
-
var noop = function() {
|
|
626
|
-
};
|
|
627
|
-
var empty = [];
|
|
628
|
-
var construct = getBuiltIn("Reflect", "construct");
|
|
629
|
-
var constructorRegExp = /^\s*(?:class|function)\b/;
|
|
630
|
-
var exec$1 = uncurryThis$2(constructorRegExp.exec);
|
|
631
|
-
var INCORRECT_TO_STRING = !constructorRegExp.test(noop);
|
|
632
|
-
var isConstructorModern = function isConstructor(argument) {
|
|
633
|
-
if (!isCallable(argument))
|
|
634
|
-
return false;
|
|
635
|
-
try {
|
|
636
|
-
construct(noop, empty, argument);
|
|
637
|
-
return true;
|
|
638
|
-
} catch (error) {
|
|
639
|
-
return false;
|
|
640
|
-
}
|
|
641
|
-
};
|
|
642
|
-
var isConstructorLegacy = function isConstructor2(argument) {
|
|
643
|
-
if (!isCallable(argument))
|
|
644
|
-
return false;
|
|
645
|
-
switch (classof$1(argument)) {
|
|
646
|
-
case "AsyncFunction":
|
|
647
|
-
case "GeneratorFunction":
|
|
648
|
-
case "AsyncGeneratorFunction":
|
|
649
|
-
return false;
|
|
650
|
-
}
|
|
651
|
-
try {
|
|
652
|
-
return INCORRECT_TO_STRING || !!exec$1(constructorRegExp, inspectSource(argument));
|
|
653
|
-
} catch (error) {
|
|
654
|
-
return true;
|
|
655
|
-
}
|
|
656
|
-
};
|
|
657
|
-
isConstructorLegacy.sham = true;
|
|
658
|
-
var isConstructor$1 = !construct || fails$3(function() {
|
|
659
|
-
var called;
|
|
660
|
-
return isConstructorModern(isConstructorModern.call) || !isConstructorModern(Object) || !isConstructorModern(function() {
|
|
661
|
-
called = true;
|
|
662
|
-
}) || called;
|
|
663
|
-
}) ? isConstructorLegacy : isConstructorModern;
|
|
664
|
-
var isArray$1 = isArray$2;
|
|
665
|
-
var isConstructor3 = isConstructor$1;
|
|
666
|
-
var isObject$1 = isObject$6;
|
|
667
|
-
var wellKnownSymbol$2 = wellKnownSymbol$6;
|
|
668
|
-
var SPECIES$1 = wellKnownSymbol$2("species");
|
|
669
|
-
var $Array = Array;
|
|
670
|
-
var arraySpeciesConstructor$1 = function(originalArray) {
|
|
671
|
-
var C;
|
|
672
|
-
if (isArray$1(originalArray)) {
|
|
673
|
-
C = originalArray.constructor;
|
|
674
|
-
if (isConstructor3(C) && (C === $Array || isArray$1(C.prototype)))
|
|
675
|
-
C = void 0;
|
|
676
|
-
else if (isObject$1(C)) {
|
|
677
|
-
C = C[SPECIES$1];
|
|
678
|
-
if (C === null)
|
|
679
|
-
C = void 0;
|
|
680
|
-
}
|
|
681
|
-
}
|
|
682
|
-
return C === void 0 ? $Array : C;
|
|
683
|
-
};
|
|
684
|
-
var arraySpeciesConstructor = arraySpeciesConstructor$1;
|
|
685
|
-
var arraySpeciesCreate$1 = function(originalArray, length) {
|
|
686
|
-
return new (arraySpeciesConstructor(originalArray))(length === 0 ? 0 : length);
|
|
687
|
-
};
|
|
688
|
-
var fails$2 = fails$b;
|
|
689
|
-
var wellKnownSymbol$1 = wellKnownSymbol$6;
|
|
690
|
-
var V8_VERSION$1 = engineV8Version;
|
|
691
|
-
var SPECIES = wellKnownSymbol$1("species");
|
|
692
|
-
var arrayMethodHasSpeciesSupport$1 = function(METHOD_NAME) {
|
|
693
|
-
return V8_VERSION$1 >= 51 || !fails$2(function() {
|
|
694
|
-
var array = [];
|
|
695
|
-
var constructor = array.constructor = {};
|
|
696
|
-
constructor[SPECIES] = function() {
|
|
697
|
-
return {
|
|
698
|
-
foo: 1
|
|
699
|
-
};
|
|
700
|
-
};
|
|
701
|
-
return array[METHOD_NAME](Boolean).foo !== 1;
|
|
702
|
-
});
|
|
703
|
-
};
|
|
704
|
-
var $$1 = _export;
|
|
705
|
-
var fails$1 = fails$b;
|
|
706
|
-
var isArray2 = isArray$2;
|
|
707
|
-
var isObject = isObject$6;
|
|
708
|
-
var toObject = toObject$2;
|
|
709
|
-
var lengthOfArrayLike = lengthOfArrayLike$1;
|
|
710
|
-
var doesNotExceedSafeInteger = doesNotExceedSafeInteger$1;
|
|
711
|
-
var createProperty = createProperty$1;
|
|
712
|
-
var arraySpeciesCreate = arraySpeciesCreate$1;
|
|
713
|
-
var arrayMethodHasSpeciesSupport = arrayMethodHasSpeciesSupport$1;
|
|
714
|
-
var wellKnownSymbol = wellKnownSymbol$6;
|
|
715
|
-
var V8_VERSION = engineV8Version;
|
|
716
|
-
var IS_CONCAT_SPREADABLE = wellKnownSymbol("isConcatSpreadable");
|
|
717
|
-
var IS_CONCAT_SPREADABLE_SUPPORT = V8_VERSION >= 51 || !fails$1(function() {
|
|
718
|
-
var array = [];
|
|
719
|
-
array[IS_CONCAT_SPREADABLE] = false;
|
|
720
|
-
return array.concat()[0] !== array;
|
|
721
|
-
});
|
|
722
|
-
var isConcatSpreadable = function(O) {
|
|
723
|
-
if (!isObject(O))
|
|
724
|
-
return false;
|
|
725
|
-
var spreadable = O[IS_CONCAT_SPREADABLE];
|
|
726
|
-
return spreadable !== void 0 ? !!spreadable : isArray2(O);
|
|
727
|
-
};
|
|
728
|
-
var FORCED$1 = !IS_CONCAT_SPREADABLE_SUPPORT || !arrayMethodHasSpeciesSupport("concat");
|
|
729
|
-
$$1({
|
|
730
|
-
target: "Array",
|
|
731
|
-
proto: true,
|
|
732
|
-
arity: 1,
|
|
733
|
-
forced: FORCED$1
|
|
734
|
-
}, {
|
|
735
|
-
// eslint-disable-next-line no-unused-vars -- required for `.length`
|
|
736
|
-
concat: function concat(arg) {
|
|
737
|
-
var O = toObject(this);
|
|
738
|
-
var A = arraySpeciesCreate(O, 0);
|
|
739
|
-
var n = 0;
|
|
740
|
-
var i, k, length, len, E;
|
|
741
|
-
for (i = -1, length = arguments.length; i < length; i++) {
|
|
742
|
-
E = i === -1 ? O : arguments[i];
|
|
743
|
-
if (isConcatSpreadable(E)) {
|
|
744
|
-
len = lengthOfArrayLike(E);
|
|
745
|
-
doesNotExceedSafeInteger(n + len);
|
|
746
|
-
for (k = 0; k < len; k++, n++)
|
|
747
|
-
if (k in E)
|
|
748
|
-
createProperty(A, n, E[k]);
|
|
749
|
-
} else {
|
|
750
|
-
doesNotExceedSafeInteger(n + 1);
|
|
751
|
-
createProperty(A, n++, E);
|
|
752
|
-
}
|
|
753
|
-
}
|
|
754
|
-
A.length = n;
|
|
755
|
-
return A;
|
|
756
|
-
}
|
|
757
|
-
});
|
|
758
|
-
var global$2 = global$b;
|
|
759
|
-
var path$1 = path$4;
|
|
760
|
-
var getBuiltInPrototypeMethod$1 = function(CONSTRUCTOR, METHOD) {
|
|
761
|
-
var Namespace = path$1[CONSTRUCTOR + "Prototype"];
|
|
762
|
-
var pureMethod = Namespace && Namespace[METHOD];
|
|
763
|
-
if (pureMethod)
|
|
764
|
-
return pureMethod;
|
|
765
|
-
var NativeConstructor = global$2[CONSTRUCTOR];
|
|
766
|
-
var NativePrototype = NativeConstructor && NativeConstructor.prototype;
|
|
767
|
-
return NativePrototype && NativePrototype[METHOD];
|
|
768
|
-
};
|
|
769
|
-
var getBuiltInPrototypeMethod = getBuiltInPrototypeMethod$1;
|
|
770
|
-
var concat$6 = getBuiltInPrototypeMethod("Array", "concat");
|
|
771
|
-
var isPrototypeOf = objectIsPrototypeOf;
|
|
772
|
-
var method = concat$6;
|
|
773
|
-
var ArrayPrototype = Array.prototype;
|
|
774
|
-
var concat$5 = function(it) {
|
|
775
|
-
var own = it.concat;
|
|
776
|
-
return it === ArrayPrototype || isPrototypeOf(ArrayPrototype, it) && own === ArrayPrototype.concat ? method : own;
|
|
777
|
-
};
|
|
778
|
-
var parent$5 = concat$5;
|
|
779
|
-
var concat$4 = parent$5;
|
|
780
|
-
var parent$4 = concat$4;
|
|
781
|
-
var concat$3 = parent$4;
|
|
782
|
-
var parent$3 = concat$3;
|
|
783
|
-
var concat$2 = parent$3;
|
|
784
|
-
var concat$1 = concat$2;
|
|
785
|
-
var concat2 = concat$1;
|
|
786
|
-
const _concatInstanceProperty = /* @__PURE__ */ getDefaultExportFromCjs(concat2);
|
|
787
|
-
var classof = classof$2;
|
|
788
|
-
var $String = String;
|
|
789
|
-
var toString$2 = function(argument) {
|
|
790
|
-
if (classof(argument) === "Symbol")
|
|
791
|
-
throw new TypeError("Cannot convert a Symbol value to a string");
|
|
792
|
-
return $String(argument);
|
|
793
|
-
};
|
|
794
|
-
var whitespaces$2 = " \n\v\f\r \u2028\u2029\uFEFF";
|
|
795
|
-
var uncurryThis$1 = functionUncurryThis;
|
|
796
|
-
var requireObjectCoercible = requireObjectCoercible$3;
|
|
797
|
-
var toString$1 = toString$2;
|
|
798
|
-
var whitespaces$1 = whitespaces$2;
|
|
799
|
-
var replace = uncurryThis$1("".replace);
|
|
800
|
-
var ltrim = RegExp("^[" + whitespaces$1 + "]+");
|
|
801
|
-
var rtrim = RegExp("(^|[^" + whitespaces$1 + "])[" + whitespaces$1 + "]+$");
|
|
802
|
-
var createMethod = function(TYPE) {
|
|
803
|
-
return function($this) {
|
|
804
|
-
var string = toString$1(requireObjectCoercible($this));
|
|
805
|
-
if (TYPE & 1)
|
|
806
|
-
string = replace(string, ltrim, "");
|
|
807
|
-
if (TYPE & 2)
|
|
808
|
-
string = replace(string, rtrim, "$1");
|
|
809
|
-
return string;
|
|
810
|
-
};
|
|
811
|
-
};
|
|
812
|
-
var stringTrim = {
|
|
813
|
-
// `String.prototype.{ trimLeft, trimStart }` methods
|
|
814
|
-
// https://tc39.es/ecma262/#sec-string.prototype.trimstart
|
|
815
|
-
start: createMethod(1),
|
|
816
|
-
// `String.prototype.{ trimRight, trimEnd }` methods
|
|
817
|
-
// https://tc39.es/ecma262/#sec-string.prototype.trimend
|
|
818
|
-
end: createMethod(2),
|
|
819
|
-
// `String.prototype.trim` method
|
|
820
|
-
// https://tc39.es/ecma262/#sec-string.prototype.trim
|
|
821
|
-
trim: createMethod(3)
|
|
822
|
-
};
|
|
823
|
-
var global$1 = global$b;
|
|
824
|
-
var fails = fails$b;
|
|
825
|
-
var uncurryThis = functionUncurryThis;
|
|
826
|
-
var toString = toString$2;
|
|
827
|
-
var trim = stringTrim.trim;
|
|
828
|
-
var whitespaces = whitespaces$2;
|
|
829
|
-
var $parseInt$1 = global$1.parseInt;
|
|
830
|
-
var Symbol$1 = global$1.Symbol;
|
|
831
|
-
var ITERATOR = Symbol$1 && Symbol$1.iterator;
|
|
832
|
-
var hex = /^[+-]?0x/i;
|
|
833
|
-
var exec = uncurryThis(hex.exec);
|
|
834
|
-
var FORCED = $parseInt$1(whitespaces + "08") !== 8 || $parseInt$1(whitespaces + "0x16") !== 22 || ITERATOR && !fails(function() {
|
|
835
|
-
$parseInt$1(Object(ITERATOR));
|
|
836
|
-
});
|
|
837
|
-
var numberParseInt = FORCED ? function parseInt2(string, radix) {
|
|
838
|
-
var S = trim(toString(string));
|
|
839
|
-
return $parseInt$1(S, radix >>> 0 || (exec(hex, S) ? 16 : 10));
|
|
840
|
-
} : $parseInt$1;
|
|
841
|
-
var $ = _export;
|
|
842
|
-
var $parseInt = numberParseInt;
|
|
843
|
-
$({
|
|
844
|
-
global: true,
|
|
845
|
-
forced: parseInt !== $parseInt
|
|
846
|
-
}, {
|
|
847
|
-
parseInt: $parseInt
|
|
848
|
-
});
|
|
849
|
-
var path = path$4;
|
|
850
|
-
var _parseInt$6 = path.parseInt;
|
|
851
|
-
var parent$2 = _parseInt$6;
|
|
852
|
-
var _parseInt$5 = parent$2;
|
|
853
|
-
var parent$1 = _parseInt$5;
|
|
854
|
-
var _parseInt$4 = parent$1;
|
|
855
|
-
var parent = _parseInt$4;
|
|
856
|
-
var _parseInt$3 = parent;
|
|
857
|
-
var _parseInt$2 = _parseInt$3;
|
|
858
|
-
var _parseInt = _parseInt$2;
|
|
859
|
-
const _parseInt$1 = /* @__PURE__ */ getDefaultExportFromCjs(_parseInt);
|
|
860
|
-
var __default__ = vueDemi.defineComponent({
|
|
19
|
+
const __default__ = vueDemi.defineComponent({
|
|
861
20
|
name: "nf-svg-icon",
|
|
862
21
|
props: {
|
|
863
22
|
prefix: {
|
|
864
23
|
type: String,
|
|
865
|
-
|
|
24
|
+
default: "icon"
|
|
866
25
|
},
|
|
867
26
|
name: {
|
|
868
27
|
type: String,
|
|
@@ -870,43 +29,42 @@ var __default__ = vueDemi.defineComponent({
|
|
|
870
29
|
},
|
|
871
30
|
color: {
|
|
872
31
|
type: String,
|
|
873
|
-
|
|
32
|
+
default: "#333"
|
|
874
33
|
},
|
|
875
34
|
bgColor: {
|
|
876
35
|
type: String,
|
|
877
|
-
|
|
36
|
+
default: "transparent"
|
|
878
37
|
},
|
|
879
38
|
outerSize: {
|
|
880
39
|
type: String,
|
|
881
|
-
|
|
40
|
+
default: "35px"
|
|
882
41
|
},
|
|
883
42
|
innerSize: {
|
|
884
43
|
type: String,
|
|
885
|
-
|
|
44
|
+
default: "14px"
|
|
886
45
|
},
|
|
887
46
|
cursor: {
|
|
888
47
|
type: String,
|
|
889
|
-
|
|
48
|
+
default: "auto"
|
|
890
49
|
}
|
|
891
50
|
},
|
|
892
|
-
setup
|
|
893
|
-
|
|
894
|
-
|
|
895
|
-
return _concatInstanceProperty(_context = "#".concat(props.prefix, "-")).call(_context, props.name);
|
|
51
|
+
setup(props) {
|
|
52
|
+
const symbolId = vueDemi.computed(() => {
|
|
53
|
+
return `#${props.prefix}-${props.name}`;
|
|
896
54
|
});
|
|
897
|
-
|
|
898
|
-
return
|
|
55
|
+
const outerSizeNumber = vueDemi.computed(() => {
|
|
56
|
+
return parseInt(props.outerSize);
|
|
899
57
|
});
|
|
900
|
-
|
|
901
|
-
return
|
|
58
|
+
const innerSizeNumber = vueDemi.computed(() => {
|
|
59
|
+
return parseInt(props.innerSize);
|
|
902
60
|
});
|
|
903
|
-
|
|
904
|
-
return
|
|
61
|
+
const outerSizePx = vueDemi.computed(() => {
|
|
62
|
+
return `${outerSizeNumber.value}px`;
|
|
905
63
|
});
|
|
906
|
-
|
|
64
|
+
const hoverBgColor = vueDemi.computed(() => {
|
|
907
65
|
return commonUtils.getDarkColor(props.bgColor, 0.03);
|
|
908
66
|
});
|
|
909
|
-
|
|
67
|
+
const hoverColor = vueDemi.computed(() => {
|
|
910
68
|
return commonUtils.getLightColor(props.color, 0.9);
|
|
911
69
|
});
|
|
912
70
|
return {
|
|
@@ -919,33 +77,30 @@ var __default__ = vueDemi.defineComponent({
|
|
|
919
77
|
};
|
|
920
78
|
}
|
|
921
79
|
});
|
|
922
|
-
|
|
923
|
-
vue.useCssVars(
|
|
924
|
-
|
|
925
|
-
|
|
926
|
-
|
|
927
|
-
|
|
928
|
-
|
|
929
|
-
|
|
930
|
-
|
|
931
|
-
|
|
932
|
-
|
|
933
|
-
|
|
934
|
-
var __setup__ = __default__.setup;
|
|
935
|
-
__default__.setup = __setup__ ? function(props, ctx) {
|
|
80
|
+
const __injectCSSVars__ = () => {
|
|
81
|
+
vue.useCssVars((_vm, _setup) => ({
|
|
82
|
+
"0a19ef0e": _vm.outerSizePx,
|
|
83
|
+
"2ffc404c": _vm.cursor,
|
|
84
|
+
"ffacf030": _vm.bgColor,
|
|
85
|
+
"e426e8a6": _vm.color,
|
|
86
|
+
"366d3490": _vm.hoverBgColor,
|
|
87
|
+
"65899d7d": _vm.hoverColor
|
|
88
|
+
}));
|
|
89
|
+
};
|
|
90
|
+
const __setup__ = __default__.setup;
|
|
91
|
+
__default__.setup = __setup__ ? (props, ctx) => {
|
|
936
92
|
__injectCSSVars__();
|
|
937
93
|
return __setup__(props, ctx);
|
|
938
94
|
} : __injectCSSVars__;
|
|
939
95
|
const nfSvgIcon_vue_vue_type_style_index_0_scoped_1a2d52cd_lang = "";
|
|
940
96
|
var _sfc_render = function render() {
|
|
941
|
-
var _context, _context2, _context3;
|
|
942
97
|
var _vm = this, _c = _vm._self._c;
|
|
943
98
|
_vm._self._setupProxy;
|
|
944
99
|
return _c("svg", _vm._b({
|
|
945
100
|
staticClass: "nf-svg-icon",
|
|
946
101
|
attrs: {
|
|
947
102
|
"aria-hidden": "true",
|
|
948
|
-
"viewBox":
|
|
103
|
+
"viewBox": `-${_vm.outerSizeNumber / 2 - _vm.innerSizeNumber / 2} -${_vm.outerSizeNumber / 2 - _vm.innerSizeNumber / 2} ${_vm.outerSizeNumber} ${_vm.outerSizeNumber}`
|
|
949
104
|
}
|
|
950
105
|
}, "svg", _vm.$attrs, false), [_c("use", {
|
|
951
106
|
attrs: {
|
|
@@ -959,7 +114,7 @@ var _sfc_render = function render() {
|
|
|
959
114
|
var _sfc_staticRenderFns = [];
|
|
960
115
|
var __component__ = /* @__PURE__ */ vue2RuntimeHelpers.normalizeComponent(__default__, _sfc_render, _sfc_staticRenderFns, false, null, "1a2d52cd", null, null);
|
|
961
116
|
const NfSvgIcon = __component__.exports;
|
|
962
|
-
NfSvgIcon.install =
|
|
117
|
+
NfSvgIcon.install = (app) => {
|
|
963
118
|
app.component("nf-svg-icon", NfSvgIcon);
|
|
964
119
|
};
|
|
965
120
|
exports.default = NfSvgIcon;
|