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