@94ai/nf-text-overflow 3.1.42 → 3.1.44

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.
@@ -1,1417 +1,6 @@
1
1
  import { defineComponent, ref, computed, useSlots, onMounted, onUnmounted, watch } from "vue-demi";
2
2
  import { normalizeComponent } from "@94ai/vue2-runtime-helpers";
3
- var commonjsGlobal = typeof globalThis !== "undefined" ? globalThis : typeof window !== "undefined" ? window : typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : {};
4
- function getDefaultExportFromCjs(x) {
5
- return x && x.__esModule && Object.prototype.hasOwnProperty.call(x, "default") ? x["default"] : x;
6
- }
7
- var fails$c = function(exec2) {
8
- try {
9
- return !!exec2();
10
- } catch (error) {
11
- return true;
12
- }
13
- };
14
- var fails$b = fails$c;
15
- var functionBindNative = !fails$b(function() {
16
- var test2 = (function() {
17
- }).bind();
18
- return typeof test2 != "function" || test2.hasOwnProperty("prototype");
19
- });
20
- var NATIVE_BIND$3 = functionBindNative;
21
- var FunctionPrototype$2 = Function.prototype;
22
- var call$6 = FunctionPrototype$2.call;
23
- var uncurryThisWithBind = NATIVE_BIND$3 && FunctionPrototype$2.bind.bind(call$6, call$6);
24
- var functionUncurryThis = NATIVE_BIND$3 ? uncurryThisWithBind : function(fn) {
25
- return function() {
26
- return call$6.apply(fn, arguments);
27
- };
28
- };
29
- var uncurryThis$c = functionUncurryThis;
30
- var objectIsPrototypeOf = uncurryThis$c({}.isPrototypeOf);
31
- var check = function(it) {
32
- return it && it.Math === Math && it;
33
- };
34
- var global$c = (
35
- // eslint-disable-next-line es/no-global-this -- safe
36
- check(typeof globalThis == "object" && globalThis) || check(typeof window == "object" && window) || // eslint-disable-next-line no-restricted-globals -- safe
37
- check(typeof self == "object" && self) || check(typeof commonjsGlobal == "object" && commonjsGlobal) || // eslint-disable-next-line no-new-func -- fallback
38
- function() {
39
- return this;
40
- }() || commonjsGlobal || Function("return this")()
41
- );
42
- var NATIVE_BIND$2 = functionBindNative;
43
- var FunctionPrototype$1 = Function.prototype;
44
- var apply$1 = FunctionPrototype$1.apply;
45
- var call$5 = FunctionPrototype$1.call;
46
- var functionApply = typeof Reflect == "object" && Reflect.apply || (NATIVE_BIND$2 ? call$5.bind(apply$1) : function() {
47
- return call$5.apply(apply$1, arguments);
48
- });
49
- var uncurryThis$b = functionUncurryThis;
50
- var toString$2 = uncurryThis$b({}.toString);
51
- var stringSlice = uncurryThis$b("".slice);
52
- var classofRaw$2 = function(it) {
53
- return stringSlice(toString$2(it), 8, -1);
54
- };
55
- var classofRaw$1 = classofRaw$2;
56
- var uncurryThis$a = functionUncurryThis;
57
- var functionUncurryThisClause = function(fn) {
58
- if (classofRaw$1(fn) === "Function")
59
- return uncurryThis$a(fn);
60
- };
61
- var documentAll$2 = typeof document == "object" && document.all;
62
- var IS_HTMLDDA = typeof documentAll$2 == "undefined" && documentAll$2 !== void 0;
63
- var documentAll_1 = {
64
- all: documentAll$2,
65
- IS_HTMLDDA
66
- };
67
- var $documentAll$1 = documentAll_1;
68
- var documentAll$1 = $documentAll$1.all;
69
- var isCallable$d = $documentAll$1.IS_HTMLDDA ? function(argument) {
70
- return typeof argument == "function" || argument === documentAll$1;
71
- } : function(argument) {
72
- return typeof argument == "function";
73
- };
74
- var objectGetOwnPropertyDescriptor = {};
75
- var fails$a = fails$c;
76
- var descriptors = !fails$a(function() {
77
- return Object.defineProperty({}, 1, {
78
- get: function() {
79
- return 7;
80
- }
81
- })[1] !== 7;
82
- });
83
- var NATIVE_BIND$1 = functionBindNative;
84
- var call$4 = Function.prototype.call;
85
- var functionCall = NATIVE_BIND$1 ? call$4.bind(call$4) : function() {
86
- return call$4.apply(call$4, arguments);
87
- };
88
- var objectPropertyIsEnumerable = {};
89
- var $propertyIsEnumerable = {}.propertyIsEnumerable;
90
- var getOwnPropertyDescriptor$1 = Object.getOwnPropertyDescriptor;
91
- var NASHORN_BUG = getOwnPropertyDescriptor$1 && !$propertyIsEnumerable.call({
92
- 1: 2
93
- }, 1);
94
- objectPropertyIsEnumerable.f = NASHORN_BUG ? function propertyIsEnumerable(V) {
95
- var descriptor = getOwnPropertyDescriptor$1(this, V);
96
- return !!descriptor && descriptor.enumerable;
97
- } : $propertyIsEnumerable;
98
- var createPropertyDescriptor$4 = function(bitmap, value) {
99
- return {
100
- enumerable: !(bitmap & 1),
101
- configurable: !(bitmap & 2),
102
- writable: !(bitmap & 4),
103
- value
104
- };
105
- };
106
- var uncurryThis$9 = functionUncurryThis;
107
- var fails$9 = fails$c;
108
- var classof$6 = classofRaw$2;
109
- var $Object$4 = Object;
110
- var split = uncurryThis$9("".split);
111
- var indexedObject = fails$9(function() {
112
- return !$Object$4("z").propertyIsEnumerable(0);
113
- }) ? function(it) {
114
- return classof$6(it) === "String" ? split(it, "") : $Object$4(it);
115
- } : $Object$4;
116
- var isNullOrUndefined$2 = function(it) {
117
- return it === null || it === void 0;
118
- };
119
- var isNullOrUndefined$1 = isNullOrUndefined$2;
120
- var $TypeError$5 = TypeError;
121
- var requireObjectCoercible$2 = function(it) {
122
- if (isNullOrUndefined$1(it))
123
- throw $TypeError$5("Can't call method on " + it);
124
- return it;
125
- };
126
- var IndexedObject$1 = indexedObject;
127
- var requireObjectCoercible$1 = requireObjectCoercible$2;
128
- var toIndexedObject$6 = function(it) {
129
- return IndexedObject$1(requireObjectCoercible$1(it));
130
- };
131
- var isCallable$c = isCallable$d;
132
- var $documentAll = documentAll_1;
133
- var documentAll = $documentAll.all;
134
- var isObject$8 = $documentAll.IS_HTMLDDA ? function(it) {
135
- return typeof it == "object" ? it !== null : isCallable$c(it) || it === documentAll;
136
- } : function(it) {
137
- return typeof it == "object" ? it !== null : isCallable$c(it);
138
- };
139
- var path$3 = {};
140
- var path$2 = path$3;
141
- var global$b = global$c;
142
- var isCallable$b = isCallable$d;
143
- var aFunction = function(variable) {
144
- return isCallable$b(variable) ? variable : void 0;
145
- };
146
- var getBuiltIn$3 = function(namespace, method2) {
147
- return arguments.length < 2 ? aFunction(path$2[namespace]) || aFunction(global$b[namespace]) : path$2[namespace] && path$2[namespace][method2] || global$b[namespace] && global$b[namespace][method2];
148
- };
149
- var engineUserAgent = typeof navigator != "undefined" && String(navigator.userAgent) || "";
150
- var global$a = global$c;
151
- var userAgent = engineUserAgent;
152
- var process = global$a.process;
153
- var Deno = global$a.Deno;
154
- var versions = process && process.versions || Deno && Deno.version;
155
- var v8 = versions && versions.v8;
156
- var match, version;
157
- if (v8) {
158
- match = v8.split(".");
159
- version = match[0] > 0 && match[0] < 4 ? 1 : +(match[0] + match[1]);
160
- }
161
- if (!version && userAgent) {
162
- match = userAgent.match(/Edge\/(\d+)/);
163
- if (!match || match[1] >= 74) {
164
- match = userAgent.match(/Chrome\/(\d+)/);
165
- if (match)
166
- version = +match[1];
167
- }
168
- }
169
- var engineV8Version = version;
170
- var V8_VERSION$1 = engineV8Version;
171
- var fails$8 = fails$c;
172
- var global$9 = global$c;
173
- var $String$2 = global$9.String;
174
- var symbolConstructorDetection = !!Object.getOwnPropertySymbols && !fails$8(function() {
175
- var symbol = Symbol("symbol detection");
176
- return !$String$2(symbol) || !(Object(symbol) instanceof Symbol) || // Chrome 38-40 symbols are not inherited from DOM collections prototypes to instances
177
- !Symbol.sham && V8_VERSION$1 && V8_VERSION$1 < 41;
178
- });
179
- var NATIVE_SYMBOL$1 = symbolConstructorDetection;
180
- var useSymbolAsUid = NATIVE_SYMBOL$1 && !Symbol.sham && typeof Symbol.iterator == "symbol";
181
- var getBuiltIn$2 = getBuiltIn$3;
182
- var isCallable$a = isCallable$d;
183
- var isPrototypeOf$2 = objectIsPrototypeOf;
184
- var USE_SYMBOL_AS_UID$1 = useSymbolAsUid;
185
- var $Object$3 = Object;
186
- var isSymbol$2 = USE_SYMBOL_AS_UID$1 ? function(it) {
187
- return typeof it == "symbol";
188
- } : function(it) {
189
- var $Symbol = getBuiltIn$2("Symbol");
190
- return isCallable$a($Symbol) && isPrototypeOf$2($Symbol.prototype, $Object$3(it));
191
- };
192
- var $String$1 = String;
193
- var tryToString$1 = function(argument) {
194
- try {
195
- return $String$1(argument);
196
- } catch (error) {
197
- return "Object";
198
- }
199
- };
200
- var isCallable$9 = isCallable$d;
201
- var tryToString = tryToString$1;
202
- var $TypeError$4 = TypeError;
203
- var aCallable$2 = function(argument) {
204
- if (isCallable$9(argument))
205
- return argument;
206
- throw $TypeError$4(tryToString(argument) + " is not a function");
207
- };
208
- var aCallable$1 = aCallable$2;
209
- var isNullOrUndefined = isNullOrUndefined$2;
210
- var getMethod$1 = function(V, P) {
211
- var func = V[P];
212
- return isNullOrUndefined(func) ? void 0 : aCallable$1(func);
213
- };
214
- var call$3 = functionCall;
215
- var isCallable$8 = isCallable$d;
216
- var isObject$7 = isObject$8;
217
- var $TypeError$3 = TypeError;
218
- var ordinaryToPrimitive$1 = function(input, pref) {
219
- var fn, val;
220
- if (pref === "string" && isCallable$8(fn = input.toString) && !isObject$7(val = call$3(fn, input)))
221
- return val;
222
- if (isCallable$8(fn = input.valueOf) && !isObject$7(val = call$3(fn, input)))
223
- return val;
224
- if (pref !== "string" && isCallable$8(fn = input.toString) && !isObject$7(val = call$3(fn, input)))
225
- return val;
226
- throw $TypeError$3("Can't convert object to primitive value");
227
- };
228
- var shared$3 = { exports: {} };
229
- var global$8 = global$c;
230
- var defineProperty$1 = Object.defineProperty;
231
- var defineGlobalProperty$1 = function(key, value) {
232
- try {
233
- defineProperty$1(global$8, key, {
234
- value,
235
- configurable: true,
236
- writable: true
237
- });
238
- } catch (error) {
239
- global$8[key] = value;
240
- }
241
- return value;
242
- };
243
- var global$7 = global$c;
244
- var defineGlobalProperty = defineGlobalProperty$1;
245
- var SHARED = "__core-js_shared__";
246
- var store$3 = global$7[SHARED] || defineGlobalProperty(SHARED, {});
247
- var sharedStore = store$3;
248
- var store$2 = sharedStore;
249
- (shared$3.exports = function(key, value) {
250
- return store$2[key] || (store$2[key] = value !== void 0 ? value : {});
251
- })("versions", []).push({
252
- version: "3.32.1",
253
- mode: "pure",
254
- copyright: "© 2014-2023 Denis Pushkarev (zloirock.ru)",
255
- license: "https://github.com/zloirock/core-js/blob/v3.32.1/LICENSE",
256
- source: "https://github.com/zloirock/core-js"
257
- });
258
- var sharedExports = shared$3.exports;
259
- var requireObjectCoercible = requireObjectCoercible$2;
260
- var $Object$2 = Object;
261
- var toObject$3 = function(argument) {
262
- return $Object$2(requireObjectCoercible(argument));
263
- };
264
- var uncurryThis$8 = functionUncurryThis;
265
- var toObject$2 = toObject$3;
266
- var hasOwnProperty = uncurryThis$8({}.hasOwnProperty);
267
- var hasOwnProperty_1 = Object.hasOwn || function hasOwn(it, key) {
268
- return hasOwnProperty(toObject$2(it), key);
269
- };
270
- var uncurryThis$7 = functionUncurryThis;
271
- var id = 0;
272
- var postfix = Math.random();
273
- var toString$1 = uncurryThis$7(1 .toString);
274
- var uid$2 = function(key) {
275
- return "Symbol(" + (key === void 0 ? "" : key) + ")_" + toString$1(++id + postfix, 36);
276
- };
277
- var global$6 = global$c;
278
- var shared$2 = sharedExports;
279
- var hasOwn$8 = hasOwnProperty_1;
280
- var uid$1 = uid$2;
281
- var NATIVE_SYMBOL = symbolConstructorDetection;
282
- var USE_SYMBOL_AS_UID = useSymbolAsUid;
283
- var Symbol$1 = global$6.Symbol;
284
- var WellKnownSymbolsStore = shared$2("wks");
285
- var createWellKnownSymbol = USE_SYMBOL_AS_UID ? Symbol$1["for"] || Symbol$1 : Symbol$1 && Symbol$1.withoutSetter || uid$1;
286
- var wellKnownSymbol$a = function(name) {
287
- if (!hasOwn$8(WellKnownSymbolsStore, name)) {
288
- WellKnownSymbolsStore[name] = NATIVE_SYMBOL && hasOwn$8(Symbol$1, name) ? Symbol$1[name] : createWellKnownSymbol("Symbol." + name);
289
- }
290
- return WellKnownSymbolsStore[name];
291
- };
292
- var call$2 = functionCall;
293
- var isObject$6 = isObject$8;
294
- var isSymbol$1 = isSymbol$2;
295
- var getMethod = getMethod$1;
296
- var ordinaryToPrimitive = ordinaryToPrimitive$1;
297
- var wellKnownSymbol$9 = wellKnownSymbol$a;
298
- var $TypeError$2 = TypeError;
299
- var TO_PRIMITIVE = wellKnownSymbol$9("toPrimitive");
300
- var toPrimitive$1 = function(input, pref) {
301
- if (!isObject$6(input) || isSymbol$1(input))
302
- return input;
303
- var exoticToPrim = getMethod(input, TO_PRIMITIVE);
304
- var result;
305
- if (exoticToPrim) {
306
- if (pref === void 0)
307
- pref = "default";
308
- result = call$2(exoticToPrim, input, pref);
309
- if (!isObject$6(result) || isSymbol$1(result))
310
- return result;
311
- throw $TypeError$2("Can't convert object to primitive value");
312
- }
313
- if (pref === void 0)
314
- pref = "number";
315
- return ordinaryToPrimitive(input, pref);
316
- };
317
- var toPrimitive = toPrimitive$1;
318
- var isSymbol = isSymbol$2;
319
- var toPropertyKey$3 = function(argument) {
320
- var key = toPrimitive(argument, "string");
321
- return isSymbol(key) ? key : key + "";
322
- };
323
- var global$5 = global$c;
324
- var isObject$5 = isObject$8;
325
- var document$1 = global$5.document;
326
- var EXISTS$1 = isObject$5(document$1) && isObject$5(document$1.createElement);
327
- var documentCreateElement$1 = function(it) {
328
- return EXISTS$1 ? document$1.createElement(it) : {};
329
- };
330
- var DESCRIPTORS$6 = descriptors;
331
- var fails$7 = fails$c;
332
- var createElement = documentCreateElement$1;
333
- var ie8DomDefine = !DESCRIPTORS$6 && !fails$7(function() {
334
- return Object.defineProperty(createElement("div"), "a", {
335
- get: function() {
336
- return 7;
337
- }
338
- }).a !== 7;
339
- });
340
- var DESCRIPTORS$5 = descriptors;
341
- var call$1 = functionCall;
342
- var propertyIsEnumerableModule = objectPropertyIsEnumerable;
343
- var createPropertyDescriptor$3 = createPropertyDescriptor$4;
344
- var toIndexedObject$5 = toIndexedObject$6;
345
- var toPropertyKey$2 = toPropertyKey$3;
346
- var hasOwn$7 = hasOwnProperty_1;
347
- var IE8_DOM_DEFINE$1 = ie8DomDefine;
348
- var $getOwnPropertyDescriptor$1 = Object.getOwnPropertyDescriptor;
349
- objectGetOwnPropertyDescriptor.f = DESCRIPTORS$5 ? $getOwnPropertyDescriptor$1 : function getOwnPropertyDescriptor(O, P) {
350
- O = toIndexedObject$5(O);
351
- P = toPropertyKey$2(P);
352
- if (IE8_DOM_DEFINE$1)
353
- try {
354
- return $getOwnPropertyDescriptor$1(O, P);
355
- } catch (error) {
356
- }
357
- if (hasOwn$7(O, P))
358
- return createPropertyDescriptor$3(!call$1(propertyIsEnumerableModule.f, O, P), O[P]);
359
- };
360
- var fails$6 = fails$c;
361
- var isCallable$7 = isCallable$d;
362
- var replacement = /#|\.prototype\./;
363
- var isForced$1 = function(feature, detection) {
364
- var value = data[normalize(feature)];
365
- return value === POLYFILL ? true : value === NATIVE ? false : isCallable$7(detection) ? fails$6(detection) : !!detection;
366
- };
367
- var normalize = isForced$1.normalize = function(string) {
368
- return String(string).replace(replacement, ".").toLowerCase();
369
- };
370
- var data = isForced$1.data = {};
371
- var NATIVE = isForced$1.NATIVE = "N";
372
- var POLYFILL = isForced$1.POLYFILL = "P";
373
- var isForced_1 = isForced$1;
374
- var uncurryThis$6 = functionUncurryThisClause;
375
- var aCallable = aCallable$2;
376
- var NATIVE_BIND = functionBindNative;
377
- var bind$2 = uncurryThis$6(uncurryThis$6.bind);
378
- var functionBindContext = function(fn, that) {
379
- aCallable(fn);
380
- return that === void 0 ? fn : NATIVE_BIND ? bind$2(fn, that) : function() {
381
- return fn.apply(that, arguments);
382
- };
383
- };
384
- var objectDefineProperty = {};
385
- var DESCRIPTORS$4 = descriptors;
386
- var fails$5 = fails$c;
387
- var v8PrototypeDefineBug = DESCRIPTORS$4 && fails$5(function() {
388
- return Object.defineProperty(function() {
389
- }, "prototype", {
390
- value: 42,
391
- writable: false
392
- }).prototype !== 42;
393
- });
394
- var isObject$4 = isObject$8;
395
- var $String = String;
396
- var $TypeError$1 = TypeError;
397
- var anObject$3 = function(argument) {
398
- if (isObject$4(argument))
399
- return argument;
400
- throw $TypeError$1($String(argument) + " is not an object");
401
- };
402
- var DESCRIPTORS$3 = descriptors;
403
- var IE8_DOM_DEFINE = ie8DomDefine;
404
- var V8_PROTOTYPE_DEFINE_BUG$1 = v8PrototypeDefineBug;
405
- var anObject$2 = anObject$3;
406
- var toPropertyKey$1 = toPropertyKey$3;
407
- var $TypeError = TypeError;
408
- var $defineProperty = Object.defineProperty;
409
- var $getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;
410
- var ENUMERABLE = "enumerable";
411
- var CONFIGURABLE$1 = "configurable";
412
- var WRITABLE = "writable";
413
- objectDefineProperty.f = DESCRIPTORS$3 ? V8_PROTOTYPE_DEFINE_BUG$1 ? function defineProperty(O, P, Attributes) {
414
- anObject$2(O);
415
- P = toPropertyKey$1(P);
416
- anObject$2(Attributes);
417
- if (typeof O === "function" && P === "prototype" && "value" in Attributes && WRITABLE in Attributes && !Attributes[WRITABLE]) {
418
- var current = $getOwnPropertyDescriptor(O, P);
419
- if (current && current[WRITABLE]) {
420
- O[P] = Attributes.value;
421
- Attributes = {
422
- configurable: CONFIGURABLE$1 in Attributes ? Attributes[CONFIGURABLE$1] : current[CONFIGURABLE$1],
423
- enumerable: ENUMERABLE in Attributes ? Attributes[ENUMERABLE] : current[ENUMERABLE],
424
- writable: false
425
- };
426
- }
427
- }
428
- return $defineProperty(O, P, Attributes);
429
- } : $defineProperty : function defineProperty2(O, P, Attributes) {
430
- anObject$2(O);
431
- P = toPropertyKey$1(P);
432
- anObject$2(Attributes);
433
- if (IE8_DOM_DEFINE)
434
- try {
435
- return $defineProperty(O, P, Attributes);
436
- } catch (error) {
437
- }
438
- if ("get" in Attributes || "set" in Attributes)
439
- throw $TypeError("Accessors not supported");
440
- if ("value" in Attributes)
441
- O[P] = Attributes.value;
442
- return O;
443
- };
444
- var DESCRIPTORS$2 = descriptors;
445
- var definePropertyModule$2 = objectDefineProperty;
446
- var createPropertyDescriptor$2 = createPropertyDescriptor$4;
447
- var createNonEnumerableProperty$5 = DESCRIPTORS$2 ? function(object, key, value) {
448
- return definePropertyModule$2.f(object, key, createPropertyDescriptor$2(1, value));
449
- } : function(object, key, value) {
450
- object[key] = value;
451
- return object;
452
- };
453
- var global$4 = global$c;
454
- var apply = functionApply;
455
- var uncurryThis$5 = functionUncurryThisClause;
456
- var isCallable$6 = isCallable$d;
457
- var getOwnPropertyDescriptor2 = objectGetOwnPropertyDescriptor.f;
458
- var isForced = isForced_1;
459
- var path$1 = path$3;
460
- var bind$1 = functionBindContext;
461
- var createNonEnumerableProperty$4 = createNonEnumerableProperty$5;
462
- var hasOwn$6 = hasOwnProperty_1;
463
- var wrapConstructor = function(NativeConstructor) {
464
- var Wrapper = function(a, b, c) {
465
- if (this instanceof Wrapper) {
466
- switch (arguments.length) {
467
- case 0:
468
- return new NativeConstructor();
469
- case 1:
470
- return new NativeConstructor(a);
471
- case 2:
472
- return new NativeConstructor(a, b);
473
- }
474
- return new NativeConstructor(a, b, c);
475
- }
476
- return apply(NativeConstructor, this, arguments);
477
- };
478
- Wrapper.prototype = NativeConstructor.prototype;
479
- return Wrapper;
480
- };
481
- var _export = function(options, source) {
482
- var TARGET = options.target;
483
- var GLOBAL = options.global;
484
- var STATIC = options.stat;
485
- var PROTO = options.proto;
486
- var nativeSource = GLOBAL ? global$4 : STATIC ? global$4[TARGET] : (global$4[TARGET] || {}).prototype;
487
- var target = GLOBAL ? path$1 : path$1[TARGET] || createNonEnumerableProperty$4(path$1, TARGET, {})[TARGET];
488
- var targetPrototype = target.prototype;
489
- var FORCED, USE_NATIVE, VIRTUAL_PROTOTYPE;
490
- var key, sourceProperty, targetProperty, nativeProperty, resultProperty, descriptor;
491
- for (key in source) {
492
- FORCED = isForced(GLOBAL ? key : TARGET + (STATIC ? "." : "#") + key, options.forced);
493
- USE_NATIVE = !FORCED && nativeSource && hasOwn$6(nativeSource, key);
494
- targetProperty = target[key];
495
- if (USE_NATIVE)
496
- if (options.dontCallGetSet) {
497
- descriptor = getOwnPropertyDescriptor2(nativeSource, key);
498
- nativeProperty = descriptor && descriptor.value;
499
- } else
500
- nativeProperty = nativeSource[key];
501
- sourceProperty = USE_NATIVE && nativeProperty ? nativeProperty : source[key];
502
- if (USE_NATIVE && typeof targetProperty == typeof sourceProperty)
503
- continue;
504
- if (options.bind && USE_NATIVE)
505
- resultProperty = bind$1(sourceProperty, global$4);
506
- else if (options.wrap && USE_NATIVE)
507
- resultProperty = wrapConstructor(sourceProperty);
508
- else if (PROTO && isCallable$6(sourceProperty))
509
- resultProperty = uncurryThis$5(sourceProperty);
510
- else
511
- resultProperty = sourceProperty;
512
- if (options.sham || sourceProperty && sourceProperty.sham || targetProperty && targetProperty.sham) {
513
- createNonEnumerableProperty$4(resultProperty, "sham", true);
514
- }
515
- createNonEnumerableProperty$4(target, key, resultProperty);
516
- if (PROTO) {
517
- VIRTUAL_PROTOTYPE = TARGET + "Prototype";
518
- if (!hasOwn$6(path$1, VIRTUAL_PROTOTYPE)) {
519
- createNonEnumerableProperty$4(path$1, VIRTUAL_PROTOTYPE, {});
520
- }
521
- createNonEnumerableProperty$4(path$1[VIRTUAL_PROTOTYPE], key, sourceProperty);
522
- if (options.real && targetPrototype && (FORCED || !targetPrototype[key])) {
523
- createNonEnumerableProperty$4(targetPrototype, key, sourceProperty);
524
- }
525
- }
526
- }
527
- };
528
- var classof$5 = classofRaw$2;
529
- var isArray$2 = Array.isArray || function isArray(argument) {
530
- return classof$5(argument) === "Array";
531
- };
532
- var wellKnownSymbol$8 = wellKnownSymbol$a;
533
- var TO_STRING_TAG$3 = wellKnownSymbol$8("toStringTag");
534
- var test = {};
535
- test[TO_STRING_TAG$3] = "z";
536
- var toStringTagSupport = String(test) === "[object z]";
537
- var TO_STRING_TAG_SUPPORT$2 = toStringTagSupport;
538
- var isCallable$5 = isCallable$d;
539
- var classofRaw = classofRaw$2;
540
- var wellKnownSymbol$7 = wellKnownSymbol$a;
541
- var TO_STRING_TAG$2 = wellKnownSymbol$7("toStringTag");
542
- var $Object$1 = Object;
543
- var CORRECT_ARGUMENTS = classofRaw(function() {
544
- return arguments;
545
- }()) === "Arguments";
546
- var tryGet = function(it, key) {
547
- try {
548
- return it[key];
549
- } catch (error) {
550
- }
551
- };
552
- var classof$4 = TO_STRING_TAG_SUPPORT$2 ? classofRaw : function(it) {
553
- var O, tag, result;
554
- return it === void 0 ? "Undefined" : it === null ? "Null" : typeof (tag = tryGet(O = $Object$1(it), TO_STRING_TAG$2)) == "string" ? tag : CORRECT_ARGUMENTS ? classofRaw(O) : (result = classofRaw(O)) === "Object" && isCallable$5(O.callee) ? "Arguments" : result;
555
- };
556
- var uncurryThis$4 = functionUncurryThis;
557
- var isCallable$4 = isCallable$d;
558
- var store$1 = sharedStore;
559
- var functionToString = uncurryThis$4(Function.toString);
560
- if (!isCallable$4(store$1.inspectSource)) {
561
- store$1.inspectSource = function(it) {
562
- return functionToString(it);
563
- };
564
- }
565
- var inspectSource$1 = store$1.inspectSource;
566
- var uncurryThis$3 = functionUncurryThis;
567
- var fails$4 = fails$c;
568
- var isCallable$3 = isCallable$d;
569
- var classof$3 = classof$4;
570
- var getBuiltIn$1 = getBuiltIn$3;
571
- var inspectSource = inspectSource$1;
572
- var noop = function() {
573
- };
574
- var empty = [];
575
- var construct = getBuiltIn$1("Reflect", "construct");
576
- var constructorRegExp = /^\s*(?:class|function)\b/;
577
- var exec = uncurryThis$3(constructorRegExp.exec);
578
- var INCORRECT_TO_STRING = !constructorRegExp.exec(noop);
579
- var isConstructorModern = function isConstructor(argument) {
580
- if (!isCallable$3(argument))
581
- return false;
582
- try {
583
- construct(noop, empty, argument);
584
- return true;
585
- } catch (error) {
586
- return false;
587
- }
588
- };
589
- var isConstructorLegacy = function isConstructor2(argument) {
590
- if (!isCallable$3(argument))
591
- return false;
592
- switch (classof$3(argument)) {
593
- case "AsyncFunction":
594
- case "GeneratorFunction":
595
- case "AsyncGeneratorFunction":
596
- return false;
597
- }
598
- try {
599
- return INCORRECT_TO_STRING || !!exec(constructorRegExp, inspectSource(argument));
600
- } catch (error) {
601
- return true;
602
- }
603
- };
604
- isConstructorLegacy.sham = true;
605
- var isConstructor$2 = !construct || fails$4(function() {
606
- var called;
607
- return isConstructorModern(isConstructorModern.call) || !isConstructorModern(Object) || !isConstructorModern(function() {
608
- called = true;
609
- }) || called;
610
- }) ? isConstructorLegacy : isConstructorModern;
611
- var ceil = Math.ceil;
612
- var floor = Math.floor;
613
- var mathTrunc = Math.trunc || function trunc(x) {
614
- var n = +x;
615
- return (n > 0 ? floor : ceil)(n);
616
- };
617
- var trunc2 = mathTrunc;
618
- var toIntegerOrInfinity$2 = function(argument) {
619
- var number = +argument;
620
- return number !== number || number === 0 ? 0 : trunc2(number);
621
- };
622
- var toIntegerOrInfinity$1 = toIntegerOrInfinity$2;
623
- var max$1 = Math.max;
624
- var min$1 = Math.min;
625
- var toAbsoluteIndex$2 = function(index, length) {
626
- var integer = toIntegerOrInfinity$1(index);
627
- return integer < 0 ? max$1(integer + length, 0) : min$1(integer, length);
628
- };
629
- var toIntegerOrInfinity = toIntegerOrInfinity$2;
630
- var min = Math.min;
631
- var toLength$1 = function(argument) {
632
- return argument > 0 ? min(toIntegerOrInfinity(argument), 9007199254740991) : 0;
633
- };
634
- var toLength = toLength$1;
635
- var lengthOfArrayLike$3 = function(obj) {
636
- return toLength(obj.length);
637
- };
638
- var toPropertyKey = toPropertyKey$3;
639
- var definePropertyModule$1 = objectDefineProperty;
640
- var createPropertyDescriptor$1 = createPropertyDescriptor$4;
641
- var createProperty$1 = function(object, key, value) {
642
- var propertyKey = toPropertyKey(key);
643
- if (propertyKey in object)
644
- definePropertyModule$1.f(object, propertyKey, createPropertyDescriptor$1(0, value));
645
- else
646
- object[propertyKey] = value;
647
- };
648
- var fails$3 = fails$c;
649
- var wellKnownSymbol$6 = wellKnownSymbol$a;
650
- var V8_VERSION = engineV8Version;
651
- var SPECIES$2 = wellKnownSymbol$6("species");
652
- var arrayMethodHasSpeciesSupport$1 = function(METHOD_NAME) {
653
- return V8_VERSION >= 51 || !fails$3(function() {
654
- var array = [];
655
- var constructor = array.constructor = {};
656
- constructor[SPECIES$2] = function() {
657
- return {
658
- foo: 1
659
- };
660
- };
661
- return array[METHOD_NAME](Boolean).foo !== 1;
662
- });
663
- };
664
- var uncurryThis$2 = functionUncurryThis;
665
- var arraySlice = uncurryThis$2([].slice);
666
- var $$2 = _export;
667
- var isArray$1 = isArray$2;
668
- var isConstructor$1 = isConstructor$2;
669
- var isObject$3 = isObject$8;
670
- var toAbsoluteIndex$1 = toAbsoluteIndex$2;
671
- var lengthOfArrayLike$2 = lengthOfArrayLike$3;
672
- var toIndexedObject$4 = toIndexedObject$6;
673
- var createProperty = createProperty$1;
674
- var wellKnownSymbol$5 = wellKnownSymbol$a;
675
- var arrayMethodHasSpeciesSupport = arrayMethodHasSpeciesSupport$1;
676
- var nativeSlice = arraySlice;
677
- var HAS_SPECIES_SUPPORT = arrayMethodHasSpeciesSupport("slice");
678
- var SPECIES$1 = wellKnownSymbol$5("species");
679
- var $Array$1 = Array;
680
- var max = Math.max;
681
- $$2({
682
- target: "Array",
683
- proto: true,
684
- forced: !HAS_SPECIES_SUPPORT
685
- }, {
686
- slice: function slice(start, end) {
687
- var O = toIndexedObject$4(this);
688
- var length = lengthOfArrayLike$2(O);
689
- var k = toAbsoluteIndex$1(start, length);
690
- var fin = toAbsoluteIndex$1(end === void 0 ? length : end, length);
691
- var Constructor, result, n;
692
- if (isArray$1(O)) {
693
- Constructor = O.constructor;
694
- if (isConstructor$1(Constructor) && (Constructor === $Array$1 || isArray$1(Constructor.prototype))) {
695
- Constructor = void 0;
696
- } else if (isObject$3(Constructor)) {
697
- Constructor = Constructor[SPECIES$1];
698
- if (Constructor === null)
699
- Constructor = void 0;
700
- }
701
- if (Constructor === $Array$1 || Constructor === void 0) {
702
- return nativeSlice(O, k, fin);
703
- }
704
- }
705
- result = new (Constructor === void 0 ? $Array$1 : Constructor)(max(fin - k, 0));
706
- for (n = 0; k < fin; k++, n++)
707
- if (k in O)
708
- createProperty(result, n, O[k]);
709
- result.length = n;
710
- return result;
711
- }
712
- });
713
- var path = path$3;
714
- var entryVirtual$2 = function(CONSTRUCTOR) {
715
- return path[CONSTRUCTOR + "Prototype"];
716
- };
717
- var entryVirtual$1 = entryVirtual$2;
718
- var slice$6 = entryVirtual$1("Array").slice;
719
- var isPrototypeOf$1 = objectIsPrototypeOf;
720
- var method$1 = slice$6;
721
- var ArrayPrototype$1 = Array.prototype;
722
- var slice$5 = function(it) {
723
- var own = it.slice;
724
- return it === ArrayPrototype$1 || isPrototypeOf$1(ArrayPrototype$1, it) && own === ArrayPrototype$1.slice ? method$1 : own;
725
- };
726
- var parent$5 = slice$5;
727
- var slice$4 = parent$5;
728
- var parent$4 = slice$4;
729
- var slice$3 = parent$4;
730
- var parent$3 = slice$3;
731
- var slice$2 = parent$3;
732
- var slice$1 = slice$2;
733
- var slice2 = slice$1;
734
- const _sliceInstanceProperty = /* @__PURE__ */ getDefaultExportFromCjs(slice2);
735
- var iterators = {};
736
- var global$3 = global$c;
737
- var isCallable$2 = isCallable$d;
738
- var WeakMap$1 = global$3.WeakMap;
739
- var weakMapBasicDetection = isCallable$2(WeakMap$1) && /native code/.test(String(WeakMap$1));
740
- var shared$1 = sharedExports;
741
- var uid = uid$2;
742
- var keys = shared$1("keys");
743
- var sharedKey$3 = function(key) {
744
- return keys[key] || (keys[key] = uid(key));
745
- };
746
- var hiddenKeys$3 = {};
747
- var NATIVE_WEAK_MAP = weakMapBasicDetection;
748
- var global$2 = global$c;
749
- var isObject$2 = isObject$8;
750
- var createNonEnumerableProperty$3 = createNonEnumerableProperty$5;
751
- var hasOwn$5 = hasOwnProperty_1;
752
- var shared = sharedStore;
753
- var sharedKey$2 = sharedKey$3;
754
- var hiddenKeys$2 = hiddenKeys$3;
755
- var OBJECT_ALREADY_INITIALIZED = "Object already initialized";
756
- var TypeError$1 = global$2.TypeError;
757
- var WeakMap = global$2.WeakMap;
758
- var set, get, has;
759
- var enforce = function(it) {
760
- return has(it) ? get(it) : set(it, {});
761
- };
762
- var getterFor = function(TYPE) {
763
- return function(it) {
764
- var state;
765
- if (!isObject$2(it) || (state = get(it)).type !== TYPE) {
766
- throw TypeError$1("Incompatible receiver, " + TYPE + " required");
767
- }
768
- return state;
769
- };
770
- };
771
- if (NATIVE_WEAK_MAP || shared.state) {
772
- var store = shared.state || (shared.state = new WeakMap());
773
- store.get = store.get;
774
- store.has = store.has;
775
- store.set = store.set;
776
- set = function(it, metadata) {
777
- if (store.has(it))
778
- throw TypeError$1(OBJECT_ALREADY_INITIALIZED);
779
- metadata.facade = it;
780
- store.set(it, metadata);
781
- return metadata;
782
- };
783
- get = function(it) {
784
- return store.get(it) || {};
785
- };
786
- has = function(it) {
787
- return store.has(it);
788
- };
789
- } else {
790
- var STATE = sharedKey$2("state");
791
- hiddenKeys$2[STATE] = true;
792
- set = function(it, metadata) {
793
- if (hasOwn$5(it, STATE))
794
- throw TypeError$1(OBJECT_ALREADY_INITIALIZED);
795
- metadata.facade = it;
796
- createNonEnumerableProperty$3(it, STATE, metadata);
797
- return metadata;
798
- };
799
- get = function(it) {
800
- return hasOwn$5(it, STATE) ? it[STATE] : {};
801
- };
802
- has = function(it) {
803
- return hasOwn$5(it, STATE);
804
- };
805
- }
806
- var internalState = {
807
- set,
808
- get,
809
- has,
810
- enforce,
811
- getterFor
812
- };
813
- var DESCRIPTORS$1 = descriptors;
814
- var hasOwn$4 = hasOwnProperty_1;
815
- var FunctionPrototype = Function.prototype;
816
- var getDescriptor = DESCRIPTORS$1 && Object.getOwnPropertyDescriptor;
817
- var EXISTS = hasOwn$4(FunctionPrototype, "name");
818
- var PROPER = EXISTS && (function something() {
819
- }).name === "something";
820
- var CONFIGURABLE = EXISTS && (!DESCRIPTORS$1 || DESCRIPTORS$1 && getDescriptor(FunctionPrototype, "name").configurable);
821
- var functionName = {
822
- EXISTS,
823
- PROPER,
824
- CONFIGURABLE
825
- };
826
- var objectDefineProperties = {};
827
- var toIndexedObject$3 = toIndexedObject$6;
828
- var toAbsoluteIndex = toAbsoluteIndex$2;
829
- var lengthOfArrayLike$1 = lengthOfArrayLike$3;
830
- var createMethod$1 = function(IS_INCLUDES) {
831
- return function($this, el, fromIndex) {
832
- var O = toIndexedObject$3($this);
833
- var length = lengthOfArrayLike$1(O);
834
- var index = toAbsoluteIndex(fromIndex, length);
835
- var value;
836
- if (IS_INCLUDES && el !== el)
837
- while (length > index) {
838
- value = O[index++];
839
- if (value !== value)
840
- return true;
841
- }
842
- else
843
- for (; length > index; index++) {
844
- if ((IS_INCLUDES || index in O) && O[index] === el)
845
- return IS_INCLUDES || index || 0;
846
- }
847
- return !IS_INCLUDES && -1;
848
- };
849
- };
850
- var arrayIncludes = {
851
- // `Array.prototype.includes` method
852
- // https://tc39.es/ecma262/#sec-array.prototype.includes
853
- includes: createMethod$1(true),
854
- // `Array.prototype.indexOf` method
855
- // https://tc39.es/ecma262/#sec-array.prototype.indexof
856
- indexOf: createMethod$1(false)
857
- };
858
- var uncurryThis$1 = functionUncurryThis;
859
- var hasOwn$3 = hasOwnProperty_1;
860
- var toIndexedObject$2 = toIndexedObject$6;
861
- var indexOf = arrayIncludes.indexOf;
862
- var hiddenKeys$1 = hiddenKeys$3;
863
- var push$1 = uncurryThis$1([].push);
864
- var objectKeysInternal = function(object, names) {
865
- var O = toIndexedObject$2(object);
866
- var i = 0;
867
- var result = [];
868
- var key;
869
- for (key in O)
870
- !hasOwn$3(hiddenKeys$1, key) && hasOwn$3(O, key) && push$1(result, key);
871
- while (names.length > i)
872
- if (hasOwn$3(O, key = names[i++])) {
873
- ~indexOf(result, key) || push$1(result, key);
874
- }
875
- return result;
876
- };
877
- var enumBugKeys$2 = ["constructor", "hasOwnProperty", "isPrototypeOf", "propertyIsEnumerable", "toLocaleString", "toString", "valueOf"];
878
- var internalObjectKeys = objectKeysInternal;
879
- var enumBugKeys$1 = enumBugKeys$2;
880
- var objectKeys$1 = Object.keys || function keys2(O) {
881
- return internalObjectKeys(O, enumBugKeys$1);
882
- };
883
- var DESCRIPTORS = descriptors;
884
- var V8_PROTOTYPE_DEFINE_BUG = v8PrototypeDefineBug;
885
- var definePropertyModule = objectDefineProperty;
886
- var anObject$1 = anObject$3;
887
- var toIndexedObject$1 = toIndexedObject$6;
888
- var objectKeys = objectKeys$1;
889
- objectDefineProperties.f = DESCRIPTORS && !V8_PROTOTYPE_DEFINE_BUG ? Object.defineProperties : function defineProperties(O, Properties) {
890
- anObject$1(O);
891
- var props = toIndexedObject$1(Properties);
892
- var keys3 = objectKeys(Properties);
893
- var length = keys3.length;
894
- var index = 0;
895
- var key;
896
- while (length > index)
897
- definePropertyModule.f(O, key = keys3[index++], props[key]);
898
- return O;
899
- };
900
- var getBuiltIn = getBuiltIn$3;
901
- var html$1 = getBuiltIn("document", "documentElement");
902
- var anObject = anObject$3;
903
- var definePropertiesModule = objectDefineProperties;
904
- var enumBugKeys = enumBugKeys$2;
905
- var hiddenKeys = hiddenKeys$3;
906
- var html = html$1;
907
- var documentCreateElement = documentCreateElement$1;
908
- var sharedKey$1 = sharedKey$3;
909
- var GT = ">";
910
- var LT = "<";
911
- var PROTOTYPE = "prototype";
912
- var SCRIPT = "script";
913
- var IE_PROTO$1 = sharedKey$1("IE_PROTO");
914
- var EmptyConstructor = function() {
915
- };
916
- var scriptTag = function(content) {
917
- return LT + SCRIPT + GT + content + LT + "/" + SCRIPT + GT;
918
- };
919
- var NullProtoObjectViaActiveX = function(activeXDocument2) {
920
- activeXDocument2.write(scriptTag(""));
921
- activeXDocument2.close();
922
- var temp = activeXDocument2.parentWindow.Object;
923
- activeXDocument2 = null;
924
- return temp;
925
- };
926
- var NullProtoObjectViaIFrame = function() {
927
- var iframe = documentCreateElement("iframe");
928
- var JS = "java" + SCRIPT + ":";
929
- var iframeDocument;
930
- iframe.style.display = "none";
931
- html.appendChild(iframe);
932
- iframe.src = String(JS);
933
- iframeDocument = iframe.contentWindow.document;
934
- iframeDocument.open();
935
- iframeDocument.write(scriptTag("document.F=Object"));
936
- iframeDocument.close();
937
- return iframeDocument.F;
938
- };
939
- var activeXDocument;
940
- var NullProtoObject = function() {
941
- try {
942
- activeXDocument = new ActiveXObject("htmlfile");
943
- } catch (error) {
944
- }
945
- NullProtoObject = typeof document != "undefined" ? document.domain && activeXDocument ? NullProtoObjectViaActiveX(activeXDocument) : NullProtoObjectViaIFrame() : NullProtoObjectViaActiveX(activeXDocument);
946
- var length = enumBugKeys.length;
947
- while (length--)
948
- delete NullProtoObject[PROTOTYPE][enumBugKeys[length]];
949
- return NullProtoObject();
950
- };
951
- hiddenKeys[IE_PROTO$1] = true;
952
- var objectCreate = Object.create || function create(O, Properties) {
953
- var result;
954
- if (O !== null) {
955
- EmptyConstructor[PROTOTYPE] = anObject(O);
956
- result = new EmptyConstructor();
957
- EmptyConstructor[PROTOTYPE] = null;
958
- result[IE_PROTO$1] = O;
959
- } else
960
- result = NullProtoObject();
961
- return Properties === void 0 ? result : definePropertiesModule.f(result, Properties);
962
- };
963
- var fails$2 = fails$c;
964
- var correctPrototypeGetter = !fails$2(function() {
965
- function F() {
966
- }
967
- F.prototype.constructor = null;
968
- return Object.getPrototypeOf(new F()) !== F.prototype;
969
- });
970
- var hasOwn$2 = hasOwnProperty_1;
971
- var isCallable$1 = isCallable$d;
972
- var toObject$1 = toObject$3;
973
- var sharedKey = sharedKey$3;
974
- var CORRECT_PROTOTYPE_GETTER = correctPrototypeGetter;
975
- var IE_PROTO = sharedKey("IE_PROTO");
976
- var $Object = Object;
977
- var ObjectPrototype = $Object.prototype;
978
- var objectGetPrototypeOf = CORRECT_PROTOTYPE_GETTER ? $Object.getPrototypeOf : function(O) {
979
- var object = toObject$1(O);
980
- if (hasOwn$2(object, IE_PROTO))
981
- return object[IE_PROTO];
982
- var constructor = object.constructor;
983
- if (isCallable$1(constructor) && object instanceof constructor) {
984
- return constructor.prototype;
985
- }
986
- return object instanceof $Object ? ObjectPrototype : null;
987
- };
988
- var createNonEnumerableProperty$2 = createNonEnumerableProperty$5;
989
- var defineBuiltIn$2 = function(target, key, value, options) {
990
- if (options && options.enumerable)
991
- target[key] = value;
992
- else
993
- createNonEnumerableProperty$2(target, key, value);
994
- return target;
995
- };
996
- var fails$1 = fails$c;
997
- var isCallable = isCallable$d;
998
- var isObject$1 = isObject$8;
999
- var create$1 = objectCreate;
1000
- var getPrototypeOf$1 = objectGetPrototypeOf;
1001
- var defineBuiltIn$1 = defineBuiltIn$2;
1002
- var wellKnownSymbol$4 = wellKnownSymbol$a;
1003
- var ITERATOR$1 = wellKnownSymbol$4("iterator");
1004
- var BUGGY_SAFARI_ITERATORS$1 = false;
1005
- var IteratorPrototype$1, PrototypeOfArrayIteratorPrototype, arrayIterator;
1006
- if ([].keys) {
1007
- arrayIterator = [].keys();
1008
- if (!("next" in arrayIterator))
1009
- BUGGY_SAFARI_ITERATORS$1 = true;
1010
- else {
1011
- PrototypeOfArrayIteratorPrototype = getPrototypeOf$1(getPrototypeOf$1(arrayIterator));
1012
- if (PrototypeOfArrayIteratorPrototype !== Object.prototype)
1013
- IteratorPrototype$1 = PrototypeOfArrayIteratorPrototype;
1014
- }
1015
- }
1016
- var NEW_ITERATOR_PROTOTYPE = !isObject$1(IteratorPrototype$1) || fails$1(function() {
1017
- var test2 = {};
1018
- return IteratorPrototype$1[ITERATOR$1].call(test2) !== test2;
1019
- });
1020
- if (NEW_ITERATOR_PROTOTYPE)
1021
- IteratorPrototype$1 = {};
1022
- else
1023
- IteratorPrototype$1 = create$1(IteratorPrototype$1);
1024
- if (!isCallable(IteratorPrototype$1[ITERATOR$1])) {
1025
- defineBuiltIn$1(IteratorPrototype$1, ITERATOR$1, function() {
1026
- return this;
1027
- });
1028
- }
1029
- var iteratorsCore = {
1030
- IteratorPrototype: IteratorPrototype$1,
1031
- BUGGY_SAFARI_ITERATORS: BUGGY_SAFARI_ITERATORS$1
1032
- };
1033
- var TO_STRING_TAG_SUPPORT$1 = toStringTagSupport;
1034
- var classof$2 = classof$4;
1035
- var objectToString = TO_STRING_TAG_SUPPORT$1 ? {}.toString : function toString() {
1036
- return "[object " + classof$2(this) + "]";
1037
- };
1038
- var TO_STRING_TAG_SUPPORT = toStringTagSupport;
1039
- var defineProperty3 = objectDefineProperty.f;
1040
- var createNonEnumerableProperty$1 = createNonEnumerableProperty$5;
1041
- var hasOwn$1 = hasOwnProperty_1;
1042
- var toString2 = objectToString;
1043
- var wellKnownSymbol$3 = wellKnownSymbol$a;
1044
- var TO_STRING_TAG$1 = wellKnownSymbol$3("toStringTag");
1045
- var setToStringTag$2 = function(it, TAG, STATIC, SET_METHOD) {
1046
- if (it) {
1047
- var target = STATIC ? it : it.prototype;
1048
- if (!hasOwn$1(target, TO_STRING_TAG$1)) {
1049
- defineProperty3(target, TO_STRING_TAG$1, {
1050
- configurable: true,
1051
- value: TAG
1052
- });
1053
- }
1054
- if (SET_METHOD && !TO_STRING_TAG_SUPPORT) {
1055
- createNonEnumerableProperty$1(target, "toString", toString2);
1056
- }
1057
- }
1058
- };
1059
- var IteratorPrototype = iteratorsCore.IteratorPrototype;
1060
- var create2 = objectCreate;
1061
- var createPropertyDescriptor = createPropertyDescriptor$4;
1062
- var setToStringTag$1 = setToStringTag$2;
1063
- var Iterators$3 = iterators;
1064
- var returnThis$1 = function() {
1065
- return this;
1066
- };
1067
- var iteratorCreateConstructor = function(IteratorConstructor, NAME, next, ENUMERABLE_NEXT) {
1068
- var TO_STRING_TAG2 = NAME + " Iterator";
1069
- IteratorConstructor.prototype = create2(IteratorPrototype, {
1070
- next: createPropertyDescriptor(+!ENUMERABLE_NEXT, next)
1071
- });
1072
- setToStringTag$1(IteratorConstructor, TO_STRING_TAG2, false, true);
1073
- Iterators$3[TO_STRING_TAG2] = returnThis$1;
1074
- return IteratorConstructor;
1075
- };
1076
- var $$1 = _export;
1077
- var call = functionCall;
1078
- var FunctionName = functionName;
1079
- var createIteratorConstructor = iteratorCreateConstructor;
1080
- var getPrototypeOf = objectGetPrototypeOf;
1081
- var setToStringTag = setToStringTag$2;
1082
- var defineBuiltIn = defineBuiltIn$2;
1083
- var wellKnownSymbol$2 = wellKnownSymbol$a;
1084
- var Iterators$2 = iterators;
1085
- var IteratorsCore = iteratorsCore;
1086
- var PROPER_FUNCTION_NAME = FunctionName.PROPER;
1087
- FunctionName.CONFIGURABLE;
1088
- IteratorsCore.IteratorPrototype;
1089
- var BUGGY_SAFARI_ITERATORS = IteratorsCore.BUGGY_SAFARI_ITERATORS;
1090
- var ITERATOR = wellKnownSymbol$2("iterator");
1091
- var KEYS = "keys";
1092
- var VALUES = "values";
1093
- var ENTRIES = "entries";
1094
- var returnThis = function() {
1095
- return this;
1096
- };
1097
- var iteratorDefine = function(Iterable, NAME, IteratorConstructor, next, DEFAULT, IS_SET, FORCED) {
1098
- createIteratorConstructor(IteratorConstructor, NAME, next);
1099
- var getIterationMethod = function(KIND) {
1100
- if (KIND === DEFAULT && defaultIterator)
1101
- return defaultIterator;
1102
- if (!BUGGY_SAFARI_ITERATORS && KIND in IterablePrototype)
1103
- return IterablePrototype[KIND];
1104
- switch (KIND) {
1105
- case KEYS:
1106
- return function keys3() {
1107
- return new IteratorConstructor(this, KIND);
1108
- };
1109
- case VALUES:
1110
- return function values() {
1111
- return new IteratorConstructor(this, KIND);
1112
- };
1113
- case ENTRIES:
1114
- return function entries() {
1115
- return new IteratorConstructor(this, KIND);
1116
- };
1117
- }
1118
- return function() {
1119
- return new IteratorConstructor(this);
1120
- };
1121
- };
1122
- var TO_STRING_TAG2 = NAME + " Iterator";
1123
- var INCORRECT_VALUES_NAME = false;
1124
- var IterablePrototype = Iterable.prototype;
1125
- var nativeIterator = IterablePrototype[ITERATOR] || IterablePrototype["@@iterator"] || DEFAULT && IterablePrototype[DEFAULT];
1126
- var defaultIterator = !BUGGY_SAFARI_ITERATORS && nativeIterator || getIterationMethod(DEFAULT);
1127
- var anyNativeIterator = NAME === "Array" ? IterablePrototype.entries || nativeIterator : nativeIterator;
1128
- var CurrentIteratorPrototype, methods, KEY;
1129
- if (anyNativeIterator) {
1130
- CurrentIteratorPrototype = getPrototypeOf(anyNativeIterator.call(new Iterable()));
1131
- if (CurrentIteratorPrototype !== Object.prototype && CurrentIteratorPrototype.next) {
1132
- setToStringTag(CurrentIteratorPrototype, TO_STRING_TAG2, true, true);
1133
- Iterators$2[TO_STRING_TAG2] = returnThis;
1134
- }
1135
- }
1136
- if (PROPER_FUNCTION_NAME && DEFAULT === VALUES && nativeIterator && nativeIterator.name !== VALUES) {
1137
- {
1138
- INCORRECT_VALUES_NAME = true;
1139
- defaultIterator = function values() {
1140
- return call(nativeIterator, this);
1141
- };
1142
- }
1143
- }
1144
- if (DEFAULT) {
1145
- methods = {
1146
- values: getIterationMethod(VALUES),
1147
- keys: IS_SET ? defaultIterator : getIterationMethod(KEYS),
1148
- entries: getIterationMethod(ENTRIES)
1149
- };
1150
- if (FORCED)
1151
- for (KEY in methods) {
1152
- if (BUGGY_SAFARI_ITERATORS || INCORRECT_VALUES_NAME || !(KEY in IterablePrototype)) {
1153
- defineBuiltIn(IterablePrototype, KEY, methods[KEY]);
1154
- }
1155
- }
1156
- else
1157
- $$1({
1158
- target: NAME,
1159
- proto: true,
1160
- forced: BUGGY_SAFARI_ITERATORS || INCORRECT_VALUES_NAME
1161
- }, methods);
1162
- }
1163
- if (FORCED && IterablePrototype[ITERATOR] !== defaultIterator) {
1164
- defineBuiltIn(IterablePrototype, ITERATOR, defaultIterator, {
1165
- name: DEFAULT
1166
- });
1167
- }
1168
- Iterators$2[NAME] = defaultIterator;
1169
- return methods;
1170
- };
1171
- var createIterResultObject$1 = function(value, done) {
1172
- return {
1173
- value,
1174
- done
1175
- };
1176
- };
1177
- var toIndexedObject = toIndexedObject$6;
1178
- var Iterators$1 = iterators;
1179
- var InternalStateModule = internalState;
1180
- objectDefineProperty.f;
1181
- var defineIterator = iteratorDefine;
1182
- var createIterResultObject = createIterResultObject$1;
1183
- var ARRAY_ITERATOR = "Array Iterator";
1184
- var setInternalState = InternalStateModule.set;
1185
- var getInternalState = InternalStateModule.getterFor(ARRAY_ITERATOR);
1186
- defineIterator(Array, "Array", function(iterated, kind) {
1187
- setInternalState(this, {
1188
- type: ARRAY_ITERATOR,
1189
- target: toIndexedObject(iterated),
1190
- // target
1191
- index: 0,
1192
- // next index
1193
- kind
1194
- // kind
1195
- });
1196
- }, function() {
1197
- var state = getInternalState(this);
1198
- var target = state.target;
1199
- var kind = state.kind;
1200
- var index = state.index++;
1201
- if (!target || index >= target.length) {
1202
- state.target = void 0;
1203
- return createIterResultObject(void 0, true);
1204
- }
1205
- switch (kind) {
1206
- case "keys":
1207
- return createIterResultObject(index, false);
1208
- case "values":
1209
- return createIterResultObject(target[index], false);
1210
- }
1211
- return createIterResultObject([index, target[index]], false);
1212
- }, "values");
1213
- Iterators$1.Arguments = Iterators$1.Array;
1214
- var domIterables = {
1215
- CSSRuleList: 0,
1216
- CSSStyleDeclaration: 0,
1217
- CSSValueList: 0,
1218
- ClientRectList: 0,
1219
- DOMRectList: 0,
1220
- DOMStringList: 0,
1221
- DOMTokenList: 1,
1222
- DataTransferItemList: 0,
1223
- FileList: 0,
1224
- HTMLAllCollection: 0,
1225
- HTMLCollection: 0,
1226
- HTMLFormElement: 0,
1227
- HTMLSelectElement: 0,
1228
- MediaList: 0,
1229
- MimeTypeArray: 0,
1230
- NamedNodeMap: 0,
1231
- NodeList: 1,
1232
- PaintRequestList: 0,
1233
- Plugin: 0,
1234
- PluginArray: 0,
1235
- SVGLengthList: 0,
1236
- SVGNumberList: 0,
1237
- SVGPathSegList: 0,
1238
- SVGPointList: 0,
1239
- SVGStringList: 0,
1240
- SVGTransformList: 0,
1241
- SourceBufferList: 0,
1242
- StyleSheetList: 0,
1243
- TextTrackCueList: 0,
1244
- TextTrackList: 0,
1245
- TouchList: 0
1246
- };
1247
- var DOMIterables$1 = domIterables;
1248
- var global$1 = global$c;
1249
- var classof$1 = classof$4;
1250
- var createNonEnumerableProperty = createNonEnumerableProperty$5;
1251
- var Iterators = iterators;
1252
- var wellKnownSymbol$1 = wellKnownSymbol$a;
1253
- var TO_STRING_TAG = wellKnownSymbol$1("toStringTag");
1254
- for (var COLLECTION_NAME in DOMIterables$1) {
1255
- var Collection = global$1[COLLECTION_NAME];
1256
- var CollectionPrototype = Collection && Collection.prototype;
1257
- if (CollectionPrototype && classof$1(CollectionPrototype) !== TO_STRING_TAG) {
1258
- createNonEnumerableProperty(CollectionPrototype, TO_STRING_TAG, COLLECTION_NAME);
1259
- }
1260
- Iterators[COLLECTION_NAME] = Iterators.Array;
1261
- }
1262
- var isArray2 = isArray$2;
1263
- var isConstructor3 = isConstructor$2;
1264
- var isObject = isObject$8;
1265
- var wellKnownSymbol = wellKnownSymbol$a;
1266
- var SPECIES = wellKnownSymbol("species");
1267
- var $Array = Array;
1268
- var arraySpeciesConstructor$1 = function(originalArray) {
1269
- var C;
1270
- if (isArray2(originalArray)) {
1271
- C = originalArray.constructor;
1272
- if (isConstructor3(C) && (C === $Array || isArray2(C.prototype)))
1273
- C = void 0;
1274
- else if (isObject(C)) {
1275
- C = C[SPECIES];
1276
- if (C === null)
1277
- C = void 0;
1278
- }
1279
- }
1280
- return C === void 0 ? $Array : C;
1281
- };
1282
- var arraySpeciesConstructor = arraySpeciesConstructor$1;
1283
- var arraySpeciesCreate$1 = function(originalArray, length) {
1284
- return new (arraySpeciesConstructor(originalArray))(length === 0 ? 0 : length);
1285
- };
1286
- var bind = functionBindContext;
1287
- var uncurryThis = functionUncurryThis;
1288
- var IndexedObject = indexedObject;
1289
- var toObject = toObject$3;
1290
- var lengthOfArrayLike = lengthOfArrayLike$3;
1291
- var arraySpeciesCreate = arraySpeciesCreate$1;
1292
- var push = uncurryThis([].push);
1293
- var createMethod = function(TYPE) {
1294
- var IS_MAP = TYPE === 1;
1295
- var IS_FILTER = TYPE === 2;
1296
- var IS_SOME = TYPE === 3;
1297
- var IS_EVERY = TYPE === 4;
1298
- var IS_FIND_INDEX = TYPE === 6;
1299
- var IS_FILTER_REJECT = TYPE === 7;
1300
- var NO_HOLES = TYPE === 5 || IS_FIND_INDEX;
1301
- return function($this, callbackfn, that, specificCreate) {
1302
- var O = toObject($this);
1303
- var self2 = IndexedObject(O);
1304
- var boundFunction = bind(callbackfn, that);
1305
- var length = lengthOfArrayLike(self2);
1306
- var index = 0;
1307
- var create3 = specificCreate || arraySpeciesCreate;
1308
- var target = IS_MAP ? create3($this, length) : IS_FILTER || IS_FILTER_REJECT ? create3($this, 0) : void 0;
1309
- var value, result;
1310
- for (; length > index; index++)
1311
- if (NO_HOLES || index in self2) {
1312
- value = self2[index];
1313
- result = boundFunction(value, index, O);
1314
- if (TYPE) {
1315
- if (IS_MAP)
1316
- target[index] = result;
1317
- else if (result)
1318
- switch (TYPE) {
1319
- case 3:
1320
- return true;
1321
- case 5:
1322
- return value;
1323
- case 6:
1324
- return index;
1325
- case 2:
1326
- push(target, value);
1327
- }
1328
- else
1329
- switch (TYPE) {
1330
- case 4:
1331
- return false;
1332
- case 7:
1333
- push(target, value);
1334
- }
1335
- }
1336
- }
1337
- return IS_FIND_INDEX ? -1 : IS_SOME || IS_EVERY ? IS_EVERY : target;
1338
- };
1339
- };
1340
- var arrayIteration = {
1341
- // `Array.prototype.forEach` method
1342
- // https://tc39.es/ecma262/#sec-array.prototype.foreach
1343
- forEach: createMethod(0),
1344
- // `Array.prototype.map` method
1345
- // https://tc39.es/ecma262/#sec-array.prototype.map
1346
- map: createMethod(1),
1347
- // `Array.prototype.filter` method
1348
- // https://tc39.es/ecma262/#sec-array.prototype.filter
1349
- filter: createMethod(2),
1350
- // `Array.prototype.some` method
1351
- // https://tc39.es/ecma262/#sec-array.prototype.some
1352
- some: createMethod(3),
1353
- // `Array.prototype.every` method
1354
- // https://tc39.es/ecma262/#sec-array.prototype.every
1355
- every: createMethod(4),
1356
- // `Array.prototype.find` method
1357
- // https://tc39.es/ecma262/#sec-array.prototype.find
1358
- find: createMethod(5),
1359
- // `Array.prototype.findIndex` method
1360
- // https://tc39.es/ecma262/#sec-array.prototype.findIndex
1361
- findIndex: createMethod(6),
1362
- // `Array.prototype.filterReject` method
1363
- // https://github.com/tc39/proposal-array-filtering
1364
- filterReject: createMethod(7)
1365
- };
1366
- var fails = fails$c;
1367
- var arrayMethodIsStrict$1 = function(METHOD_NAME, argument) {
1368
- var method2 = [][METHOD_NAME];
1369
- return !!method2 && fails(function() {
1370
- method2.call(null, argument || function() {
1371
- return 1;
1372
- }, 1);
1373
- });
1374
- };
1375
- var $forEach = arrayIteration.forEach;
1376
- var arrayMethodIsStrict = arrayMethodIsStrict$1;
1377
- var STRICT_METHOD = arrayMethodIsStrict("forEach");
1378
- var arrayForEach = !STRICT_METHOD ? function forEach(callbackfn) {
1379
- return $forEach(this, callbackfn, arguments.length > 1 ? arguments[1] : void 0);
1380
- } : [].forEach;
1381
- var $ = _export;
1382
- var forEach$7 = arrayForEach;
1383
- $({
1384
- target: "Array",
1385
- proto: true,
1386
- forced: [].forEach !== forEach$7
1387
- }, {
1388
- forEach: forEach$7
1389
- });
1390
- var entryVirtual = entryVirtual$2;
1391
- var forEach$6 = entryVirtual("Array").forEach;
1392
- var parent$2 = forEach$6;
1393
- var forEach$5 = parent$2;
1394
- var classof = classof$4;
1395
- var hasOwn2 = hasOwnProperty_1;
1396
- var isPrototypeOf = objectIsPrototypeOf;
1397
- var method = forEach$5;
1398
- var ArrayPrototype = Array.prototype;
1399
- var DOMIterables = {
1400
- DOMTokenList: true,
1401
- NodeList: true
1402
- };
1403
- var forEach$4 = function(it) {
1404
- var own = it.forEach;
1405
- return it === ArrayPrototype || isPrototypeOf(ArrayPrototype, it) && own === ArrayPrototype.forEach || hasOwn2(DOMIterables, classof(it)) ? method : own;
1406
- };
1407
- var parent$1 = forEach$4;
1408
- var forEach$3 = parent$1;
1409
- var parent = forEach$3;
1410
- var forEach$2 = parent;
1411
- var forEach$1 = forEach$2;
1412
- var forEach2 = forEach$1;
1413
- const _forEachInstanceProperty = /* @__PURE__ */ getDefaultExportFromCjs(forEach2);
1414
- var __sfc_main = defineComponent({
3
+ const __sfc_main = defineComponent({
1415
4
  name: "nf-text-overflow"
1416
5
  });
1417
6
  __sfc_main.props = {
@@ -1419,61 +8,57 @@ __sfc_main.props = {
1419
8
  key: "content",
1420
9
  required: false,
1421
10
  type: String,
1422
- "default": ""
11
+ default: ""
1423
12
  },
1424
13
  expandText: {
1425
14
  key: "expandText",
1426
15
  required: false,
1427
16
  type: String,
1428
- "default": "展开"
17
+ default: "展开"
1429
18
  },
1430
19
  collapseText: {
1431
20
  key: "collapseText",
1432
21
  required: false,
1433
22
  type: String,
1434
- "default": "收起"
23
+ default: "收起"
1435
24
  },
1436
25
  rows: {
1437
26
  key: "rows",
1438
27
  required: false,
1439
28
  type: [String, Number],
1440
- "default": 1
29
+ default: 1
1441
30
  },
1442
31
  rowHeight: {
1443
32
  key: "rowHeight",
1444
33
  required: false,
1445
34
  type: [String, Number],
1446
- "default": 20
1447
- }
1448
- };
1449
- __sfc_main.setup = function(__props, __ctx) {
1450
- var props = __props;
1451
- var emit = __ctx.emit;
1452
- var text = ref("");
1453
- var expanded = ref(false);
1454
- var hasAction = ref(false);
1455
- var textbox = ref();
1456
- var contentHeight = ref();
1457
- var hasDefaultSlot = computed(function() {
1458
- return !!useSlots()["default"];
1459
- });
1460
- var maxContentHeight = computed(function() {
1461
- return Number(props.rows) * Number(props.rowHeight);
1462
- });
1463
- var pxToNum = function pxToNum2(value) {
35
+ default: 20
36
+ }
37
+ };
38
+ __sfc_main.setup = (__props, __ctx) => {
39
+ const props = __props;
40
+ const emit = __ctx.emit;
41
+ const text = ref("");
42
+ const expanded = ref(false);
43
+ const hasAction = ref(false);
44
+ const textbox = ref();
45
+ const contentHeight = ref();
46
+ const hasDefaultSlot = computed(() => !!useSlots().default);
47
+ const maxContentHeight = computed(() => Number(props.rows) * Number(props.rowHeight));
48
+ const pxToNum = (value) => {
1464
49
  if (!value)
1465
50
  return 0;
1466
- var match2 = value.match(/^\d*(\.\d*)?/);
1467
- return match2 ? Number(match2[0]) : 0;
51
+ const match = value.match(/^\d*(\.\d*)?/);
52
+ return match ? Number(match[0]) : 0;
1468
53
  };
1469
- var calcEllipsised = function calcEllipsised2() {
1470
- var cloneContainer = function cloneContainer2() {
54
+ const calcEllipsised = () => {
55
+ const cloneContainer = () => {
1471
56
  if (!textbox.value)
1472
57
  return;
1473
- var originStyle = window.getComputedStyle(textbox.value);
1474
- var container2 = document.createElement("div");
1475
- var styleNames = _sliceInstanceProperty(Array.prototype).apply(originStyle);
1476
- _forEachInstanceProperty(styleNames).call(styleNames, function(name) {
58
+ const originStyle = window.getComputedStyle(textbox.value);
59
+ const container2 = document.createElement("div");
60
+ const styleNames = Array.prototype.slice.apply(originStyle);
61
+ styleNames.forEach((name) => {
1477
62
  container2.style.setProperty(name, originStyle.getPropertyValue(name));
1478
63
  });
1479
64
  container2.style.position = "fixed";
@@ -1486,14 +71,16 @@ __sfc_main.setup = function(__props, __ctx) {
1486
71
  document.body.appendChild(container2);
1487
72
  return container2;
1488
73
  };
1489
- var calcEllipsisText = function calcEllipsisText2(container2, maxHeight2) {
1490
- var content = props.content;
1491
- var left = 0;
1492
- var right = content.length;
1493
- var res = -1;
74
+ const calcEllipsisText = (container2, maxHeight2) => {
75
+ const {
76
+ content
77
+ } = props;
78
+ let left = 0;
79
+ let right = content.length;
80
+ let res = -1;
1494
81
  while (left <= right) {
1495
- var mid = Math.floor((left + right) / 2);
1496
- container2.innerText = _sliceInstanceProperty(content).call(content, 0, mid);
82
+ const mid = Math.floor((left + right) / 2);
83
+ container2.innerText = content.slice(0, mid);
1497
84
  if (container2.offsetHeight <= maxHeight2) {
1498
85
  left = mid + 1;
1499
86
  res = mid;
@@ -1501,13 +88,17 @@ __sfc_main.setup = function(__props, __ctx) {
1501
88
  right = mid - 1;
1502
89
  }
1503
90
  }
1504
- return _sliceInstanceProperty(content).call(content, 0, res);
91
+ return content.slice(0, res);
1505
92
  };
1506
- var container = cloneContainer();
93
+ const container = cloneContainer();
1507
94
  if (!container)
1508
95
  return;
1509
- var _container$style = container.style, paddingBottom = _container$style.paddingBottom, paddingTop = _container$style.paddingTop, lineHeight = _container$style.lineHeight;
1510
- var maxHeight = (Number(props.rows) + 0.5) * pxToNum(lineHeight) + pxToNum(paddingTop) + pxToNum(paddingBottom);
96
+ const {
97
+ paddingBottom,
98
+ paddingTop,
99
+ lineHeight
100
+ } = container.style;
101
+ const maxHeight = (Number(props.rows) + 0.5) * pxToNum(lineHeight) + pxToNum(paddingTop) + pxToNum(paddingBottom);
1511
102
  if (maxHeight < container.offsetHeight) {
1512
103
  hasAction.value = true;
1513
104
  text.value = calcEllipsisText(container, maxHeight);
@@ -1517,33 +108,31 @@ __sfc_main.setup = function(__props, __ctx) {
1517
108
  }
1518
109
  document.body.removeChild(container);
1519
110
  };
1520
- var calcContentHeight = function calcContentHeight2() {
111
+ const calcContentHeight = () => {
1521
112
  if (!textbox.value)
1522
113
  return;
1523
- var height = textbox.value.offsetHeight;
114
+ const height = textbox.value.offsetHeight;
1524
115
  if (height > maxContentHeight.value) {
1525
116
  hasAction.value = true;
1526
- contentHeight.value = "".concat(maxContentHeight.value, "px");
117
+ contentHeight.value = `${maxContentHeight.value}px`;
1527
118
  }
1528
119
  };
1529
- var init = hasDefaultSlot.value ? calcContentHeight : calcEllipsised;
1530
- var onClickAction = function onClickAction2(event) {
120
+ const init = hasDefaultSlot.value ? calcContentHeight : calcEllipsised;
121
+ const onClickAction = (event) => {
1531
122
  expanded.value = !expanded.value;
1532
123
  if (hasDefaultSlot.value) {
1533
- contentHeight.value = expanded.value ? "auto" : "".concat(maxContentHeight.value, "px");
124
+ contentHeight.value = expanded.value ? "auto" : `${maxContentHeight.value}px`;
1534
125
  }
1535
126
  emit("clickAction", event);
1536
127
  };
1537
- onMounted(function() {
128
+ onMounted(() => {
1538
129
  init();
1539
130
  window.addEventListener("resize", init);
1540
131
  });
1541
- onUnmounted(function() {
132
+ onUnmounted(() => {
1542
133
  window.removeEventListener("resize", init);
1543
134
  });
1544
- watch(function() {
1545
- return [props.content, props.rows];
1546
- }, init);
135
+ watch(() => [props.content, props.rows], init);
1547
136
  return {
1548
137
  text,
1549
138
  expanded,
@@ -1563,7 +152,7 @@ var _sfc_render = function render() {
1563
152
  staticClass: "nf-text-overflow__content",
1564
153
  style: {
1565
154
  height: _vm.contentHeight,
1566
- lineHeight: "".concat(_vm.rowHeight, "px")
155
+ lineHeight: `${_vm.rowHeight}px`
1567
156
  }
1568
157
  }, [_vm._t("default", function() {
1569
158
  return [_vm._v(_vm._s(_vm.expanded ? _vm.content : _vm.text))];
@@ -1574,13 +163,13 @@ var _sfc_render = function render() {
1574
163
  }
1575
164
  }, [_vm._v(" " + _vm._s(_vm.expanded ? _vm.collapseText : _vm.expandText) + " "), _c("i", {
1576
165
  staticClass: "nf-text-overflow__icon",
1577
- "class": [_vm.expanded ? "el-icon-arrow-up" : "el-icon-arrow-down"]
166
+ class: [_vm.expanded ? "el-icon-arrow-up" : "el-icon-arrow-down"]
1578
167
  })]) : _vm._e()]);
1579
168
  };
1580
169
  var _sfc_staticRenderFns = [];
1581
170
  var __component__ = /* @__PURE__ */ normalizeComponent(__sfc_main, _sfc_render, _sfc_staticRenderFns, false, null, null, null, null);
1582
171
  const NfTextOverflow = __component__.exports;
1583
- NfTextOverflow.install = function(app) {
172
+ NfTextOverflow.install = (app) => {
1584
173
  app.component("nf-text-overflow", NfTextOverflow);
1585
174
  };
1586
175
  export {