@94ai/nf-audio 3.1.37 → 3.1.39
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-audio.cjs.js +73 -981
- package/lib/nf-audio.esm-bundler.js +70 -978
- package/lib/volume-tool.vue.d.ts +2 -2
- package/package/index.ts +8 -0
- package/package/more-btn.vue +43 -0
- package/package/nf-audio.vue +287 -0
- package/package/style/css.ts +1 -0
- package/package/style/index.ts +1 -0
- package/package/volume-tool.vue +52 -0
- package/package.json +3 -3
|
@@ -1,922 +1,16 @@
|
|
|
1
|
-
import { ref, watch, onUnmounted } from "vue";
|
|
1
|
+
import { ref, watch, onUnmounted } from "vue-demi";
|
|
2
|
+
import { normalizeComponent } from "@94ai/vue2-runtime-helpers";
|
|
2
3
|
import { Message } from "element-ui";
|
|
3
|
-
|
|
4
|
-
function getDefaultExportFromCjs(x) {
|
|
5
|
-
return x && x.__esModule && Object.prototype.hasOwnProperty.call(x, "default") ? x["default"] : x;
|
|
6
|
-
}
|
|
7
|
-
var check = function(it) {
|
|
8
|
-
return it && it.Math == Math && it;
|
|
9
|
-
};
|
|
10
|
-
var global$d = (
|
|
11
|
-
// eslint-disable-next-line es/no-global-this -- safe
|
|
12
|
-
check(typeof globalThis == "object" && globalThis) || check(typeof window == "object" && window) || // eslint-disable-next-line no-restricted-globals -- safe
|
|
13
|
-
check(typeof self == "object" && self) || check(typeof commonjsGlobal == "object" && commonjsGlobal) || // eslint-disable-next-line no-new-func -- fallback
|
|
14
|
-
function() {
|
|
15
|
-
return this;
|
|
16
|
-
}() || commonjsGlobal || Function("return this")()
|
|
17
|
-
);
|
|
18
|
-
var fails$9 = function(exec2) {
|
|
19
|
-
try {
|
|
20
|
-
return !!exec2();
|
|
21
|
-
} catch (error) {
|
|
22
|
-
return true;
|
|
23
|
-
}
|
|
24
|
-
};
|
|
25
|
-
var fails$8 = fails$9;
|
|
26
|
-
var functionBindNative = !fails$8(function() {
|
|
27
|
-
var test2 = (function() {
|
|
28
|
-
}).bind();
|
|
29
|
-
return typeof test2 != "function" || test2.hasOwnProperty("prototype");
|
|
30
|
-
});
|
|
31
|
-
var NATIVE_BIND$3 = functionBindNative;
|
|
32
|
-
var FunctionPrototype$1 = Function.prototype;
|
|
33
|
-
var apply$2 = FunctionPrototype$1.apply;
|
|
34
|
-
var call$6 = FunctionPrototype$1.call;
|
|
35
|
-
var functionApply = typeof Reflect == "object" && Reflect.apply || (NATIVE_BIND$3 ? call$6.bind(apply$2) : function() {
|
|
36
|
-
return call$6.apply(apply$2, arguments);
|
|
37
|
-
});
|
|
38
|
-
var NATIVE_BIND$2 = functionBindNative;
|
|
39
|
-
var FunctionPrototype = Function.prototype;
|
|
40
|
-
var call$5 = FunctionPrototype.call;
|
|
41
|
-
var uncurryThisWithBind = NATIVE_BIND$2 && FunctionPrototype.bind.bind(call$5, call$5);
|
|
42
|
-
var functionUncurryThis = NATIVE_BIND$2 ? uncurryThisWithBind : function(fn) {
|
|
43
|
-
return function() {
|
|
44
|
-
return call$5.apply(fn, arguments);
|
|
45
|
-
};
|
|
46
|
-
};
|
|
47
|
-
var uncurryThis$c = functionUncurryThis;
|
|
48
|
-
var toString$4 = uncurryThis$c({}.toString);
|
|
49
|
-
var stringSlice = uncurryThis$c("".slice);
|
|
50
|
-
var classofRaw$2 = function(it) {
|
|
51
|
-
return stringSlice(toString$4(it), 8, -1);
|
|
52
|
-
};
|
|
53
|
-
var classofRaw$1 = classofRaw$2;
|
|
54
|
-
var uncurryThis$b = functionUncurryThis;
|
|
55
|
-
var functionUncurryThisClause = function(fn) {
|
|
56
|
-
if (classofRaw$1(fn) === "Function")
|
|
57
|
-
return uncurryThis$b(fn);
|
|
58
|
-
};
|
|
59
|
-
var documentAll$2 = typeof document == "object" && document.all;
|
|
60
|
-
var IS_HTMLDDA = typeof documentAll$2 == "undefined" && documentAll$2 !== void 0;
|
|
61
|
-
var documentAll_1 = {
|
|
62
|
-
all: documentAll$2,
|
|
63
|
-
IS_HTMLDDA
|
|
64
|
-
};
|
|
65
|
-
var $documentAll$1 = documentAll_1;
|
|
66
|
-
var documentAll$1 = $documentAll$1.all;
|
|
67
|
-
var isCallable$9 = $documentAll$1.IS_HTMLDDA ? function(argument) {
|
|
68
|
-
return typeof argument == "function" || argument === documentAll$1;
|
|
69
|
-
} : function(argument) {
|
|
70
|
-
return typeof argument == "function";
|
|
71
|
-
};
|
|
72
|
-
var objectGetOwnPropertyDescriptor = {};
|
|
73
|
-
var fails$7 = fails$9;
|
|
74
|
-
var descriptors = !fails$7(function() {
|
|
75
|
-
return Object.defineProperty({}, 1, {
|
|
76
|
-
get: function() {
|
|
77
|
-
return 7;
|
|
78
|
-
}
|
|
79
|
-
})[1] != 7;
|
|
80
|
-
});
|
|
81
|
-
var NATIVE_BIND$1 = functionBindNative;
|
|
82
|
-
var call$4 = Function.prototype.call;
|
|
83
|
-
var functionCall = NATIVE_BIND$1 ? call$4.bind(call$4) : function() {
|
|
84
|
-
return call$4.apply(call$4, arguments);
|
|
85
|
-
};
|
|
86
|
-
var objectPropertyIsEnumerable = {};
|
|
87
|
-
var $propertyIsEnumerable = {}.propertyIsEnumerable;
|
|
88
|
-
var getOwnPropertyDescriptor$1 = Object.getOwnPropertyDescriptor;
|
|
89
|
-
var NASHORN_BUG = getOwnPropertyDescriptor$1 && !$propertyIsEnumerable.call({
|
|
90
|
-
1: 2
|
|
91
|
-
}, 1);
|
|
92
|
-
objectPropertyIsEnumerable.f = NASHORN_BUG ? function propertyIsEnumerable(V) {
|
|
93
|
-
var descriptor = getOwnPropertyDescriptor$1(this, V);
|
|
94
|
-
return !!descriptor && descriptor.enumerable;
|
|
95
|
-
} : $propertyIsEnumerable;
|
|
96
|
-
var createPropertyDescriptor$2 = function(bitmap, value) {
|
|
97
|
-
return {
|
|
98
|
-
enumerable: !(bitmap & 1),
|
|
99
|
-
configurable: !(bitmap & 2),
|
|
100
|
-
writable: !(bitmap & 4),
|
|
101
|
-
value
|
|
102
|
-
};
|
|
103
|
-
};
|
|
104
|
-
var uncurryThis$a = functionUncurryThis;
|
|
105
|
-
var fails$6 = fails$9;
|
|
106
|
-
var classof$2 = classofRaw$2;
|
|
107
|
-
var $Object$3 = Object;
|
|
108
|
-
var split = uncurryThis$a("".split);
|
|
109
|
-
var indexedObject = fails$6(function() {
|
|
110
|
-
return !$Object$3("z").propertyIsEnumerable(0);
|
|
111
|
-
}) ? function(it) {
|
|
112
|
-
return classof$2(it) == "String" ? split(it, "") : $Object$3(it);
|
|
113
|
-
} : $Object$3;
|
|
114
|
-
var isNullOrUndefined$2 = function(it) {
|
|
115
|
-
return it === null || it === void 0;
|
|
116
|
-
};
|
|
117
|
-
var isNullOrUndefined$1 = isNullOrUndefined$2;
|
|
118
|
-
var $TypeError$6 = TypeError;
|
|
119
|
-
var requireObjectCoercible$3 = function(it) {
|
|
120
|
-
if (isNullOrUndefined$1(it))
|
|
121
|
-
throw $TypeError$6("Can't call method on " + it);
|
|
122
|
-
return it;
|
|
123
|
-
};
|
|
124
|
-
var IndexedObject$1 = indexedObject;
|
|
125
|
-
var requireObjectCoercible$2 = requireObjectCoercible$3;
|
|
126
|
-
var toIndexedObject$3 = function(it) {
|
|
127
|
-
return IndexedObject$1(requireObjectCoercible$2(it));
|
|
128
|
-
};
|
|
129
|
-
var isCallable$8 = isCallable$9;
|
|
130
|
-
var $documentAll = documentAll_1;
|
|
131
|
-
var documentAll = $documentAll.all;
|
|
132
|
-
var isObject$4 = $documentAll.IS_HTMLDDA ? function(it) {
|
|
133
|
-
return typeof it == "object" ? it !== null : isCallable$8(it) || it === documentAll;
|
|
134
|
-
} : function(it) {
|
|
135
|
-
return typeof it == "object" ? it !== null : isCallable$8(it);
|
|
136
|
-
};
|
|
137
|
-
var path$5 = {};
|
|
138
|
-
var path$4 = path$5;
|
|
139
|
-
var global$c = global$d;
|
|
140
|
-
var isCallable$7 = isCallable$9;
|
|
141
|
-
var aFunction = function(variable) {
|
|
142
|
-
return isCallable$7(variable) ? variable : void 0;
|
|
143
|
-
};
|
|
144
|
-
var getBuiltIn$1 = function(namespace, method) {
|
|
145
|
-
return arguments.length < 2 ? aFunction(path$4[namespace]) || aFunction(global$c[namespace]) : path$4[namespace] && path$4[namespace][method] || global$c[namespace] && global$c[namespace][method];
|
|
146
|
-
};
|
|
147
|
-
var uncurryThis$9 = functionUncurryThis;
|
|
148
|
-
var objectIsPrototypeOf = uncurryThis$9({}.isPrototypeOf);
|
|
149
|
-
var engineUserAgent = typeof navigator != "undefined" && String(navigator.userAgent) || "";
|
|
150
|
-
var global$b = global$d;
|
|
151
|
-
var userAgent = engineUserAgent;
|
|
152
|
-
var process = global$b.process;
|
|
153
|
-
var Deno = global$b.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 = engineV8Version;
|
|
171
|
-
var fails$5 = fails$9;
|
|
172
|
-
var global$a = global$d;
|
|
173
|
-
var $String$3 = global$a.String;
|
|
174
|
-
var symbolConstructorDetection = !!Object.getOwnPropertySymbols && !fails$5(function() {
|
|
175
|
-
var symbol = Symbol();
|
|
176
|
-
return !$String$3(symbol) || !(Object(symbol) instanceof Symbol) || // Chrome 38-40 symbols are not inherited from DOM collections prototypes to instances
|
|
177
|
-
!Symbol.sham && V8_VERSION && V8_VERSION < 41;
|
|
178
|
-
});
|
|
179
|
-
var NATIVE_SYMBOL$1 = symbolConstructorDetection;
|
|
180
|
-
var useSymbolAsUid = NATIVE_SYMBOL$1 && !Symbol.sham && typeof Symbol.iterator == "symbol";
|
|
181
|
-
var getBuiltIn = getBuiltIn$1;
|
|
182
|
-
var isCallable$6 = isCallable$9;
|
|
183
|
-
var isPrototypeOf = objectIsPrototypeOf;
|
|
184
|
-
var USE_SYMBOL_AS_UID$1 = useSymbolAsUid;
|
|
185
|
-
var $Object$2 = Object;
|
|
186
|
-
var isSymbol$2 = USE_SYMBOL_AS_UID$1 ? function(it) {
|
|
187
|
-
return typeof it == "symbol";
|
|
188
|
-
} : function(it) {
|
|
189
|
-
var $Symbol = getBuiltIn("Symbol");
|
|
190
|
-
return isCallable$6($Symbol) && isPrototypeOf($Symbol.prototype, $Object$2(it));
|
|
191
|
-
};
|
|
192
|
-
var $String$2 = String;
|
|
193
|
-
var tryToString$1 = function(argument) {
|
|
194
|
-
try {
|
|
195
|
-
return $String$2(argument);
|
|
196
|
-
} catch (error) {
|
|
197
|
-
return "Object";
|
|
198
|
-
}
|
|
199
|
-
};
|
|
200
|
-
var isCallable$5 = isCallable$9;
|
|
201
|
-
var tryToString = tryToString$1;
|
|
202
|
-
var $TypeError$5 = TypeError;
|
|
203
|
-
var aCallable$2 = function(argument) {
|
|
204
|
-
if (isCallable$5(argument))
|
|
205
|
-
return argument;
|
|
206
|
-
throw $TypeError$5(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$4 = isCallable$9;
|
|
216
|
-
var isObject$3 = isObject$4;
|
|
217
|
-
var $TypeError$4 = TypeError;
|
|
218
|
-
var ordinaryToPrimitive$1 = function(input, pref) {
|
|
219
|
-
var fn, val;
|
|
220
|
-
if (pref === "string" && isCallable$4(fn = input.toString) && !isObject$3(val = call$3(fn, input)))
|
|
221
|
-
return val;
|
|
222
|
-
if (isCallable$4(fn = input.valueOf) && !isObject$3(val = call$3(fn, input)))
|
|
223
|
-
return val;
|
|
224
|
-
if (pref !== "string" && isCallable$4(fn = input.toString) && !isObject$3(val = call$3(fn, input)))
|
|
225
|
-
return val;
|
|
226
|
-
throw $TypeError$4("Can't convert object to primitive value");
|
|
227
|
-
};
|
|
228
|
-
var shared$1 = { exports: {} };
|
|
229
|
-
var global$9 = global$d;
|
|
230
|
-
var defineProperty$1 = Object.defineProperty;
|
|
231
|
-
var defineGlobalProperty$1 = function(key, value) {
|
|
232
|
-
try {
|
|
233
|
-
defineProperty$1(global$9, key, {
|
|
234
|
-
value,
|
|
235
|
-
configurable: true,
|
|
236
|
-
writable: true
|
|
237
|
-
});
|
|
238
|
-
} catch (error) {
|
|
239
|
-
global$9[key] = value;
|
|
240
|
-
}
|
|
241
|
-
return value;
|
|
242
|
-
};
|
|
243
|
-
var global$8 = global$d;
|
|
244
|
-
var defineGlobalProperty = defineGlobalProperty$1;
|
|
245
|
-
var SHARED = "__core-js_shared__";
|
|
246
|
-
var store$1 = global$8[SHARED] || defineGlobalProperty(SHARED, {});
|
|
247
|
-
var sharedStore = store$1;
|
|
248
|
-
var store = sharedStore;
|
|
249
|
-
(shared$1.exports = function(key, value) {
|
|
250
|
-
return store[key] || (store[key] = value !== void 0 ? value : {});
|
|
251
|
-
})("versions", []).push({
|
|
252
|
-
version: "3.31.1",
|
|
253
|
-
mode: "pure",
|
|
254
|
-
copyright: "© 2014-2023 Denis Pushkarev (zloirock.ru)",
|
|
255
|
-
license: "https://github.com/zloirock/core-js/blob/v3.31.1/LICENSE",
|
|
256
|
-
source: "https://github.com/zloirock/core-js"
|
|
257
|
-
});
|
|
258
|
-
var sharedExports = shared$1.exports;
|
|
259
|
-
var requireObjectCoercible$1 = requireObjectCoercible$3;
|
|
260
|
-
var $Object$1 = Object;
|
|
261
|
-
var toObject$2 = function(argument) {
|
|
262
|
-
return $Object$1(requireObjectCoercible$1(argument));
|
|
263
|
-
};
|
|
264
|
-
var uncurryThis$8 = functionUncurryThis;
|
|
265
|
-
var toObject$1 = toObject$2;
|
|
266
|
-
var hasOwnProperty = uncurryThis$8({}.hasOwnProperty);
|
|
267
|
-
var hasOwnProperty_1 = Object.hasOwn || function hasOwn(it, key) {
|
|
268
|
-
return hasOwnProperty(toObject$1(it), key);
|
|
269
|
-
};
|
|
270
|
-
var uncurryThis$7 = functionUncurryThis;
|
|
271
|
-
var id = 0;
|
|
272
|
-
var postfix = Math.random();
|
|
273
|
-
var toString$3 = uncurryThis$7(1 .toString);
|
|
274
|
-
var uid$1 = function(key) {
|
|
275
|
-
return "Symbol(" + (key === void 0 ? "" : key) + ")_" + toString$3(++id + postfix, 36);
|
|
276
|
-
};
|
|
277
|
-
var global$7 = global$d;
|
|
278
|
-
var shared = sharedExports;
|
|
279
|
-
var hasOwn$3 = hasOwnProperty_1;
|
|
280
|
-
var uid = uid$1;
|
|
281
|
-
var NATIVE_SYMBOL = symbolConstructorDetection;
|
|
282
|
-
var USE_SYMBOL_AS_UID = useSymbolAsUid;
|
|
283
|
-
var Symbol$2 = global$7.Symbol;
|
|
284
|
-
var WellKnownSymbolsStore = shared("wks");
|
|
285
|
-
var createWellKnownSymbol = USE_SYMBOL_AS_UID ? Symbol$2["for"] || Symbol$2 : Symbol$2 && Symbol$2.withoutSetter || uid;
|
|
286
|
-
var wellKnownSymbol$3 = function(name) {
|
|
287
|
-
if (!hasOwn$3(WellKnownSymbolsStore, name)) {
|
|
288
|
-
WellKnownSymbolsStore[name] = NATIVE_SYMBOL && hasOwn$3(Symbol$2, name) ? Symbol$2[name] : createWellKnownSymbol("Symbol." + name);
|
|
289
|
-
}
|
|
290
|
-
return WellKnownSymbolsStore[name];
|
|
291
|
-
};
|
|
292
|
-
var call$2 = functionCall;
|
|
293
|
-
var isObject$2 = isObject$4;
|
|
294
|
-
var isSymbol$1 = isSymbol$2;
|
|
295
|
-
var getMethod = getMethod$1;
|
|
296
|
-
var ordinaryToPrimitive = ordinaryToPrimitive$1;
|
|
297
|
-
var wellKnownSymbol$2 = wellKnownSymbol$3;
|
|
298
|
-
var $TypeError$3 = TypeError;
|
|
299
|
-
var TO_PRIMITIVE = wellKnownSymbol$2("toPrimitive");
|
|
300
|
-
var toPrimitive$1 = function(input, pref) {
|
|
301
|
-
if (!isObject$2(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$2(result) || isSymbol$1(result))
|
|
310
|
-
return result;
|
|
311
|
-
throw $TypeError$3("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$2 = function(argument) {
|
|
320
|
-
var key = toPrimitive(argument, "string");
|
|
321
|
-
return isSymbol(key) ? key : key + "";
|
|
322
|
-
};
|
|
323
|
-
var global$6 = global$d;
|
|
324
|
-
var isObject$1 = isObject$4;
|
|
325
|
-
var document$1 = global$6.document;
|
|
326
|
-
var EXISTS = isObject$1(document$1) && isObject$1(document$1.createElement);
|
|
327
|
-
var documentCreateElement = function(it) {
|
|
328
|
-
return EXISTS ? document$1.createElement(it) : {};
|
|
329
|
-
};
|
|
330
|
-
var DESCRIPTORS$5 = descriptors;
|
|
331
|
-
var fails$4 = fails$9;
|
|
332
|
-
var createElement = documentCreateElement;
|
|
333
|
-
var ie8DomDefine = !DESCRIPTORS$5 && !fails$4(function() {
|
|
334
|
-
return Object.defineProperty(createElement("div"), "a", {
|
|
335
|
-
get: function() {
|
|
336
|
-
return 7;
|
|
337
|
-
}
|
|
338
|
-
}).a != 7;
|
|
339
|
-
});
|
|
340
|
-
var DESCRIPTORS$4 = descriptors;
|
|
341
|
-
var call$1 = functionCall;
|
|
342
|
-
var propertyIsEnumerableModule$1 = objectPropertyIsEnumerable;
|
|
343
|
-
var createPropertyDescriptor$1 = createPropertyDescriptor$2;
|
|
344
|
-
var toIndexedObject$2 = toIndexedObject$3;
|
|
345
|
-
var toPropertyKey$1 = toPropertyKey$2;
|
|
346
|
-
var hasOwn$2 = hasOwnProperty_1;
|
|
347
|
-
var IE8_DOM_DEFINE$1 = ie8DomDefine;
|
|
348
|
-
var $getOwnPropertyDescriptor$1 = Object.getOwnPropertyDescriptor;
|
|
349
|
-
objectGetOwnPropertyDescriptor.f = DESCRIPTORS$4 ? $getOwnPropertyDescriptor$1 : function getOwnPropertyDescriptor(O, P) {
|
|
350
|
-
O = toIndexedObject$2(O);
|
|
351
|
-
P = toPropertyKey$1(P);
|
|
352
|
-
if (IE8_DOM_DEFINE$1)
|
|
353
|
-
try {
|
|
354
|
-
return $getOwnPropertyDescriptor$1(O, P);
|
|
355
|
-
} catch (error) {
|
|
356
|
-
}
|
|
357
|
-
if (hasOwn$2(O, P))
|
|
358
|
-
return createPropertyDescriptor$1(!call$1(propertyIsEnumerableModule$1.f, O, P), O[P]);
|
|
359
|
-
};
|
|
360
|
-
var fails$3 = fails$9;
|
|
361
|
-
var isCallable$3 = isCallable$9;
|
|
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$3(detection) ? fails$3(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$1 = uncurryThis$6(uncurryThis$6.bind);
|
|
378
|
-
var functionBindContext = function(fn, that) {
|
|
379
|
-
aCallable(fn);
|
|
380
|
-
return that === void 0 ? fn : NATIVE_BIND ? bind$1(fn, that) : function() {
|
|
381
|
-
return fn.apply(that, arguments);
|
|
382
|
-
};
|
|
383
|
-
};
|
|
384
|
-
var objectDefineProperty = {};
|
|
385
|
-
var DESCRIPTORS$3 = descriptors;
|
|
386
|
-
var fails$2 = fails$9;
|
|
387
|
-
var v8PrototypeDefineBug = DESCRIPTORS$3 && fails$2(function() {
|
|
388
|
-
return Object.defineProperty(function() {
|
|
389
|
-
}, "prototype", {
|
|
390
|
-
value: 42,
|
|
391
|
-
writable: false
|
|
392
|
-
}).prototype != 42;
|
|
393
|
-
});
|
|
394
|
-
var isObject = isObject$4;
|
|
395
|
-
var $String$1 = String;
|
|
396
|
-
var $TypeError$2 = TypeError;
|
|
397
|
-
var anObject$1 = function(argument) {
|
|
398
|
-
if (isObject(argument))
|
|
399
|
-
return argument;
|
|
400
|
-
throw $TypeError$2($String$1(argument) + " is not an object");
|
|
401
|
-
};
|
|
402
|
-
var DESCRIPTORS$2 = descriptors;
|
|
403
|
-
var IE8_DOM_DEFINE = ie8DomDefine;
|
|
404
|
-
var V8_PROTOTYPE_DEFINE_BUG = v8PrototypeDefineBug;
|
|
405
|
-
var anObject = anObject$1;
|
|
406
|
-
var toPropertyKey = toPropertyKey$2;
|
|
407
|
-
var $TypeError$1 = TypeError;
|
|
408
|
-
var $defineProperty = Object.defineProperty;
|
|
409
|
-
var $getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;
|
|
410
|
-
var ENUMERABLE = "enumerable";
|
|
411
|
-
var CONFIGURABLE = "configurable";
|
|
412
|
-
var WRITABLE = "writable";
|
|
413
|
-
objectDefineProperty.f = DESCRIPTORS$2 ? V8_PROTOTYPE_DEFINE_BUG ? function defineProperty(O, P, Attributes) {
|
|
414
|
-
anObject(O);
|
|
415
|
-
P = toPropertyKey(P);
|
|
416
|
-
anObject(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 in Attributes ? Attributes[CONFIGURABLE] : current[CONFIGURABLE],
|
|
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(O);
|
|
431
|
-
P = toPropertyKey(P);
|
|
432
|
-
anObject(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$1("Accessors not supported");
|
|
440
|
-
if ("value" in Attributes)
|
|
441
|
-
O[P] = Attributes.value;
|
|
442
|
-
return O;
|
|
443
|
-
};
|
|
444
|
-
var DESCRIPTORS$1 = descriptors;
|
|
445
|
-
var definePropertyModule = objectDefineProperty;
|
|
446
|
-
var createPropertyDescriptor = createPropertyDescriptor$2;
|
|
447
|
-
var createNonEnumerableProperty$1 = DESCRIPTORS$1 ? function(object, key, value) {
|
|
448
|
-
return definePropertyModule.f(object, key, createPropertyDescriptor(1, value));
|
|
449
|
-
} : function(object, key, value) {
|
|
450
|
-
object[key] = value;
|
|
451
|
-
return object;
|
|
452
|
-
};
|
|
453
|
-
var global$5 = global$d;
|
|
454
|
-
var apply$1 = functionApply;
|
|
455
|
-
var uncurryThis$5 = functionUncurryThisClause;
|
|
456
|
-
var isCallable$2 = isCallable$9;
|
|
457
|
-
var getOwnPropertyDescriptor2 = objectGetOwnPropertyDescriptor.f;
|
|
458
|
-
var isForced = isForced_1;
|
|
459
|
-
var path$3 = path$5;
|
|
460
|
-
var bind = functionBindContext;
|
|
461
|
-
var createNonEnumerableProperty = createNonEnumerableProperty$1;
|
|
462
|
-
var hasOwn$1 = 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$1(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$5 : STATIC ? global$5[TARGET] : (global$5[TARGET] || {}).prototype;
|
|
487
|
-
var target = GLOBAL ? path$3 : path$3[TARGET] || createNonEnumerableProperty(path$3, TARGET, {})[TARGET];
|
|
488
|
-
var targetPrototype = target.prototype;
|
|
489
|
-
var FORCED2, USE_NATIVE, VIRTUAL_PROTOTYPE;
|
|
490
|
-
var key, sourceProperty, targetProperty, nativeProperty, resultProperty, descriptor;
|
|
491
|
-
for (key in source) {
|
|
492
|
-
FORCED2 = isForced(GLOBAL ? key : TARGET + (STATIC ? "." : "#") + key, options.forced);
|
|
493
|
-
USE_NATIVE = !FORCED2 && nativeSource && hasOwn$1(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(sourceProperty, global$5);
|
|
506
|
-
else if (options.wrap && USE_NATIVE)
|
|
507
|
-
resultProperty = wrapConstructor(sourceProperty);
|
|
508
|
-
else if (PROTO && isCallable$2(sourceProperty))
|
|
509
|
-
resultProperty = uncurryThis$5(sourceProperty);
|
|
510
|
-
else
|
|
511
|
-
resultProperty = sourceProperty;
|
|
512
|
-
if (options.sham || sourceProperty && sourceProperty.sham || targetProperty && targetProperty.sham) {
|
|
513
|
-
createNonEnumerableProperty(resultProperty, "sham", true);
|
|
514
|
-
}
|
|
515
|
-
createNonEnumerableProperty(target, key, resultProperty);
|
|
516
|
-
if (PROTO) {
|
|
517
|
-
VIRTUAL_PROTOTYPE = TARGET + "Prototype";
|
|
518
|
-
if (!hasOwn$1(path$3, VIRTUAL_PROTOTYPE)) {
|
|
519
|
-
createNonEnumerableProperty(path$3, VIRTUAL_PROTOTYPE, {});
|
|
520
|
-
}
|
|
521
|
-
createNonEnumerableProperty(path$3[VIRTUAL_PROTOTYPE], key, sourceProperty);
|
|
522
|
-
if (options.real && targetPrototype && (FORCED2 || !targetPrototype[key])) {
|
|
523
|
-
createNonEnumerableProperty(targetPrototype, key, sourceProperty);
|
|
524
|
-
}
|
|
525
|
-
}
|
|
526
|
-
}
|
|
527
|
-
};
|
|
528
|
-
var wellKnownSymbol$1 = wellKnownSymbol$3;
|
|
529
|
-
var TO_STRING_TAG$1 = wellKnownSymbol$1("toStringTag");
|
|
530
|
-
var test = {};
|
|
531
|
-
test[TO_STRING_TAG$1] = "z";
|
|
532
|
-
var toStringTagSupport = String(test) === "[object z]";
|
|
533
|
-
var TO_STRING_TAG_SUPPORT = toStringTagSupport;
|
|
534
|
-
var isCallable$1 = isCallable$9;
|
|
535
|
-
var classofRaw = classofRaw$2;
|
|
536
|
-
var wellKnownSymbol = wellKnownSymbol$3;
|
|
537
|
-
var TO_STRING_TAG = wellKnownSymbol("toStringTag");
|
|
538
|
-
var $Object = Object;
|
|
539
|
-
var CORRECT_ARGUMENTS = classofRaw(function() {
|
|
540
|
-
return arguments;
|
|
541
|
-
}()) == "Arguments";
|
|
542
|
-
var tryGet = function(it, key) {
|
|
543
|
-
try {
|
|
544
|
-
return it[key];
|
|
545
|
-
} catch (error) {
|
|
546
|
-
}
|
|
547
|
-
};
|
|
548
|
-
var classof$1 = TO_STRING_TAG_SUPPORT ? classofRaw : function(it) {
|
|
549
|
-
var O, tag, result;
|
|
550
|
-
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$1(O.callee) ? "Arguments" : result;
|
|
551
|
-
};
|
|
552
|
-
var classof = classof$1;
|
|
553
|
-
var $String = String;
|
|
554
|
-
var toString$2 = function(argument) {
|
|
555
|
-
if (classof(argument) === "Symbol")
|
|
556
|
-
throw TypeError("Cannot convert a Symbol value to a string");
|
|
557
|
-
return $String(argument);
|
|
558
|
-
};
|
|
559
|
-
var whitespaces$2 = " \n\v\f\r \u2028\u2029\uFEFF";
|
|
560
|
-
var uncurryThis$4 = functionUncurryThis;
|
|
561
|
-
var requireObjectCoercible = requireObjectCoercible$3;
|
|
562
|
-
var toString$1 = toString$2;
|
|
563
|
-
var whitespaces$1 = whitespaces$2;
|
|
564
|
-
var replace = uncurryThis$4("".replace);
|
|
565
|
-
var ltrim = RegExp("^[" + whitespaces$1 + "]+");
|
|
566
|
-
var rtrim = RegExp("(^|[^" + whitespaces$1 + "])[" + whitespaces$1 + "]+$");
|
|
567
|
-
var createMethod$1 = function(TYPE) {
|
|
568
|
-
return function($this) {
|
|
569
|
-
var string = toString$1(requireObjectCoercible($this));
|
|
570
|
-
if (TYPE & 1)
|
|
571
|
-
string = replace(string, ltrim, "");
|
|
572
|
-
if (TYPE & 2)
|
|
573
|
-
string = replace(string, rtrim, "$1");
|
|
574
|
-
return string;
|
|
575
|
-
};
|
|
576
|
-
};
|
|
577
|
-
var stringTrim = {
|
|
578
|
-
// `String.prototype.{ trimLeft, trimStart }` methods
|
|
579
|
-
// https://tc39.es/ecma262/#sec-string.prototype.trimstart
|
|
580
|
-
start: createMethod$1(1),
|
|
581
|
-
// `String.prototype.{ trimRight, trimEnd }` methods
|
|
582
|
-
// https://tc39.es/ecma262/#sec-string.prototype.trimend
|
|
583
|
-
end: createMethod$1(2),
|
|
584
|
-
// `String.prototype.trim` method
|
|
585
|
-
// https://tc39.es/ecma262/#sec-string.prototype.trim
|
|
586
|
-
trim: createMethod$1(3)
|
|
587
|
-
};
|
|
588
|
-
var global$4 = global$d;
|
|
589
|
-
var fails$1 = fails$9;
|
|
590
|
-
var uncurryThis$3 = functionUncurryThis;
|
|
591
|
-
var toString = toString$2;
|
|
592
|
-
var trim = stringTrim.trim;
|
|
593
|
-
var whitespaces = whitespaces$2;
|
|
594
|
-
var $parseInt$1 = global$4.parseInt;
|
|
595
|
-
var Symbol$1 = global$4.Symbol;
|
|
596
|
-
var ITERATOR = Symbol$1 && Symbol$1.iterator;
|
|
597
|
-
var hex = /^[+-]?0x/i;
|
|
598
|
-
var exec = uncurryThis$3(hex.exec);
|
|
599
|
-
var FORCED = $parseInt$1(whitespaces + "08") !== 8 || $parseInt$1(whitespaces + "0x16") !== 22 || ITERATOR && !fails$1(function() {
|
|
600
|
-
$parseInt$1(Object(ITERATOR));
|
|
601
|
-
});
|
|
602
|
-
var numberParseInt = FORCED ? function parseInt2(string, radix) {
|
|
603
|
-
var S = trim(toString(string));
|
|
604
|
-
return $parseInt$1(S, radix >>> 0 || (exec(hex, S) ? 16 : 10));
|
|
605
|
-
} : $parseInt$1;
|
|
606
|
-
var $$3 = _export;
|
|
607
|
-
var $parseInt = numberParseInt;
|
|
608
|
-
$$3({
|
|
609
|
-
global: true,
|
|
610
|
-
forced: parseInt != $parseInt
|
|
611
|
-
}, {
|
|
612
|
-
parseInt: $parseInt
|
|
613
|
-
});
|
|
614
|
-
var path$2 = path$5;
|
|
615
|
-
var _parseInt$6 = path$2.parseInt;
|
|
616
|
-
var parent$7 = _parseInt$6;
|
|
617
|
-
var _parseInt$5 = parent$7;
|
|
618
|
-
var parent$6 = _parseInt$5;
|
|
619
|
-
var _parseInt$4 = parent$6;
|
|
620
|
-
var parent$5 = _parseInt$4;
|
|
621
|
-
var _parseInt$3 = parent$5;
|
|
622
|
-
var _parseInt$2 = _parseInt$3;
|
|
623
|
-
var _parseInt = _parseInt$2;
|
|
624
|
-
const _parseInt$1 = /* @__PURE__ */ getDefaultExportFromCjs(_parseInt);
|
|
625
|
-
var engineIsBun = typeof Bun == "function" && Bun && typeof Bun.version == "string";
|
|
626
|
-
var uncurryThis$2 = functionUncurryThis;
|
|
627
|
-
var arraySlice$1 = uncurryThis$2([].slice);
|
|
628
|
-
var $TypeError = TypeError;
|
|
629
|
-
var validateArgumentsLength$1 = function(passed, required) {
|
|
630
|
-
if (passed < required)
|
|
631
|
-
throw $TypeError("Not enough arguments");
|
|
632
|
-
return passed;
|
|
633
|
-
};
|
|
634
|
-
var global$3 = global$d;
|
|
635
|
-
var apply = functionApply;
|
|
636
|
-
var isCallable = isCallable$9;
|
|
637
|
-
var ENGINE_IS_BUN = engineIsBun;
|
|
638
|
-
var USER_AGENT = engineUserAgent;
|
|
639
|
-
var arraySlice = arraySlice$1;
|
|
640
|
-
var validateArgumentsLength = validateArgumentsLength$1;
|
|
641
|
-
var Function$1 = global$3.Function;
|
|
642
|
-
var WRAP = /MSIE .\./.test(USER_AGENT) || ENGINE_IS_BUN && function() {
|
|
643
|
-
var version2 = global$3.Bun.version.split(".");
|
|
644
|
-
return version2.length < 3 || version2[0] == 0 && (version2[1] < 3 || version2[1] == 3 && version2[2] == 0);
|
|
645
|
-
}();
|
|
646
|
-
var schedulersFix$2 = function(scheduler, hasTimeArg) {
|
|
647
|
-
var firstParamIndex = hasTimeArg ? 2 : 1;
|
|
648
|
-
return WRAP ? function(handler, timeout) {
|
|
649
|
-
var boundArgs = validateArgumentsLength(arguments.length, 1) > firstParamIndex;
|
|
650
|
-
var fn = isCallable(handler) ? handler : Function$1(handler);
|
|
651
|
-
var params = boundArgs ? arraySlice(arguments, firstParamIndex) : [];
|
|
652
|
-
var callback = boundArgs ? function() {
|
|
653
|
-
apply(fn, this, params);
|
|
654
|
-
} : fn;
|
|
655
|
-
return hasTimeArg ? scheduler(callback, timeout) : scheduler(callback);
|
|
656
|
-
} : scheduler;
|
|
657
|
-
};
|
|
658
|
-
var $$2 = _export;
|
|
659
|
-
var global$2 = global$d;
|
|
660
|
-
var schedulersFix$1 = schedulersFix$2;
|
|
661
|
-
var setInterval = schedulersFix$1(global$2.setInterval, true);
|
|
662
|
-
$$2({
|
|
663
|
-
global: true,
|
|
664
|
-
bind: true,
|
|
665
|
-
forced: global$2.setInterval !== setInterval
|
|
666
|
-
}, {
|
|
667
|
-
setInterval
|
|
668
|
-
});
|
|
669
|
-
var $$1 = _export;
|
|
670
|
-
var global$1 = global$d;
|
|
671
|
-
var schedulersFix = schedulersFix$2;
|
|
672
|
-
var setTimeout$5 = schedulersFix(global$1.setTimeout, true);
|
|
673
|
-
$$1({
|
|
674
|
-
global: true,
|
|
675
|
-
bind: true,
|
|
676
|
-
forced: global$1.setTimeout !== setTimeout$5
|
|
677
|
-
}, {
|
|
678
|
-
setTimeout: setTimeout$5
|
|
679
|
-
});
|
|
680
|
-
var path$1 = path$5;
|
|
681
|
-
var setTimeout$4 = path$1.setTimeout;
|
|
682
|
-
var parent$4 = setTimeout$4;
|
|
683
|
-
var setTimeout$3 = parent$4;
|
|
684
|
-
var parent$3 = setTimeout$3;
|
|
685
|
-
var setTimeout$2 = parent$3;
|
|
686
|
-
var setTimeout$1 = setTimeout$2;
|
|
687
|
-
var setTimeout = setTimeout$1;
|
|
688
|
-
const _setTimeout = /* @__PURE__ */ getDefaultExportFromCjs(setTimeout);
|
|
689
|
-
var ceil = Math.ceil;
|
|
690
|
-
var floor = Math.floor;
|
|
691
|
-
var mathTrunc = Math.trunc || function trunc(x) {
|
|
692
|
-
var n = +x;
|
|
693
|
-
return (n > 0 ? floor : ceil)(n);
|
|
694
|
-
};
|
|
695
|
-
var trunc2 = mathTrunc;
|
|
696
|
-
var toIntegerOrInfinity$2 = function(argument) {
|
|
697
|
-
var number = +argument;
|
|
698
|
-
return number !== number || number === 0 ? 0 : trunc2(number);
|
|
699
|
-
};
|
|
700
|
-
var toIntegerOrInfinity$1 = toIntegerOrInfinity$2;
|
|
701
|
-
var max = Math.max;
|
|
702
|
-
var min$1 = Math.min;
|
|
703
|
-
var toAbsoluteIndex$1 = function(index, length) {
|
|
704
|
-
var integer = toIntegerOrInfinity$1(index);
|
|
705
|
-
return integer < 0 ? max(integer + length, 0) : min$1(integer, length);
|
|
706
|
-
};
|
|
707
|
-
var toIntegerOrInfinity = toIntegerOrInfinity$2;
|
|
708
|
-
var min = Math.min;
|
|
709
|
-
var toLength$1 = function(argument) {
|
|
710
|
-
return argument > 0 ? min(toIntegerOrInfinity(argument), 9007199254740991) : 0;
|
|
711
|
-
};
|
|
712
|
-
var toLength = toLength$1;
|
|
713
|
-
var lengthOfArrayLike$1 = function(obj) {
|
|
714
|
-
return toLength(obj.length);
|
|
715
|
-
};
|
|
716
|
-
var toIndexedObject$1 = toIndexedObject$3;
|
|
717
|
-
var toAbsoluteIndex = toAbsoluteIndex$1;
|
|
718
|
-
var lengthOfArrayLike = lengthOfArrayLike$1;
|
|
719
|
-
var createMethod = function(IS_INCLUDES) {
|
|
720
|
-
return function($this, el, fromIndex) {
|
|
721
|
-
var O = toIndexedObject$1($this);
|
|
722
|
-
var length = lengthOfArrayLike(O);
|
|
723
|
-
var index = toAbsoluteIndex(fromIndex, length);
|
|
724
|
-
var value;
|
|
725
|
-
if (IS_INCLUDES && el != el)
|
|
726
|
-
while (length > index) {
|
|
727
|
-
value = O[index++];
|
|
728
|
-
if (value != value)
|
|
729
|
-
return true;
|
|
730
|
-
}
|
|
731
|
-
else
|
|
732
|
-
for (; length > index; index++) {
|
|
733
|
-
if ((IS_INCLUDES || index in O) && O[index] === el)
|
|
734
|
-
return IS_INCLUDES || index || 0;
|
|
735
|
-
}
|
|
736
|
-
return !IS_INCLUDES && -1;
|
|
737
|
-
};
|
|
738
|
-
};
|
|
739
|
-
var arrayIncludes = {
|
|
740
|
-
// `Array.prototype.includes` method
|
|
741
|
-
// https://tc39.es/ecma262/#sec-array.prototype.includes
|
|
742
|
-
includes: createMethod(true),
|
|
743
|
-
// `Array.prototype.indexOf` method
|
|
744
|
-
// https://tc39.es/ecma262/#sec-array.prototype.indexof
|
|
745
|
-
indexOf: createMethod(false)
|
|
746
|
-
};
|
|
747
|
-
var hiddenKeys$1 = {};
|
|
748
|
-
var uncurryThis$1 = functionUncurryThis;
|
|
749
|
-
var hasOwn2 = hasOwnProperty_1;
|
|
750
|
-
var toIndexedObject = toIndexedObject$3;
|
|
751
|
-
var indexOf = arrayIncludes.indexOf;
|
|
752
|
-
var hiddenKeys = hiddenKeys$1;
|
|
753
|
-
var push = uncurryThis$1([].push);
|
|
754
|
-
var objectKeysInternal = function(object, names) {
|
|
755
|
-
var O = toIndexedObject(object);
|
|
756
|
-
var i = 0;
|
|
757
|
-
var result = [];
|
|
758
|
-
var key;
|
|
759
|
-
for (key in O)
|
|
760
|
-
!hasOwn2(hiddenKeys, key) && hasOwn2(O, key) && push(result, key);
|
|
761
|
-
while (names.length > i)
|
|
762
|
-
if (hasOwn2(O, key = names[i++])) {
|
|
763
|
-
~indexOf(result, key) || push(result, key);
|
|
764
|
-
}
|
|
765
|
-
return result;
|
|
766
|
-
};
|
|
767
|
-
var enumBugKeys$1 = ["constructor", "hasOwnProperty", "isPrototypeOf", "propertyIsEnumerable", "toLocaleString", "toString", "valueOf"];
|
|
768
|
-
var internalObjectKeys = objectKeysInternal;
|
|
769
|
-
var enumBugKeys = enumBugKeys$1;
|
|
770
|
-
var objectKeys$1 = Object.keys || function keys(O) {
|
|
771
|
-
return internalObjectKeys(O, enumBugKeys);
|
|
772
|
-
};
|
|
773
|
-
var objectGetOwnPropertySymbols = {};
|
|
774
|
-
objectGetOwnPropertySymbols.f = Object.getOwnPropertySymbols;
|
|
775
|
-
var DESCRIPTORS = descriptors;
|
|
776
|
-
var uncurryThis = functionUncurryThis;
|
|
777
|
-
var call = functionCall;
|
|
778
|
-
var fails = fails$9;
|
|
779
|
-
var objectKeys = objectKeys$1;
|
|
780
|
-
var getOwnPropertySymbolsModule = objectGetOwnPropertySymbols;
|
|
781
|
-
var propertyIsEnumerableModule = objectPropertyIsEnumerable;
|
|
782
|
-
var toObject = toObject$2;
|
|
783
|
-
var IndexedObject = indexedObject;
|
|
784
|
-
var $assign = Object.assign;
|
|
785
|
-
var defineProperty3 = Object.defineProperty;
|
|
786
|
-
var concat = uncurryThis([].concat);
|
|
787
|
-
var objectAssign = !$assign || fails(function() {
|
|
788
|
-
if (DESCRIPTORS && $assign({
|
|
789
|
-
b: 1
|
|
790
|
-
}, $assign(defineProperty3({}, "a", {
|
|
791
|
-
enumerable: true,
|
|
792
|
-
get: function() {
|
|
793
|
-
defineProperty3(this, "b", {
|
|
794
|
-
value: 3,
|
|
795
|
-
enumerable: false
|
|
796
|
-
});
|
|
797
|
-
}
|
|
798
|
-
}), {
|
|
799
|
-
b: 2
|
|
800
|
-
})).b !== 1)
|
|
801
|
-
return true;
|
|
802
|
-
var A = {};
|
|
803
|
-
var B = {};
|
|
804
|
-
var symbol = Symbol();
|
|
805
|
-
var alphabet = "abcdefghijklmnopqrst";
|
|
806
|
-
A[symbol] = 7;
|
|
807
|
-
alphabet.split("").forEach(function(chr) {
|
|
808
|
-
B[chr] = chr;
|
|
809
|
-
});
|
|
810
|
-
return $assign({}, A)[symbol] != 7 || objectKeys($assign({}, B)).join("") != alphabet;
|
|
811
|
-
}) ? function assign(target, source) {
|
|
812
|
-
var T = toObject(target);
|
|
813
|
-
var argumentsLength = arguments.length;
|
|
814
|
-
var index = 1;
|
|
815
|
-
var getOwnPropertySymbols = getOwnPropertySymbolsModule.f;
|
|
816
|
-
var propertyIsEnumerable2 = propertyIsEnumerableModule.f;
|
|
817
|
-
while (argumentsLength > index) {
|
|
818
|
-
var S = IndexedObject(arguments[index++]);
|
|
819
|
-
var keys2 = getOwnPropertySymbols ? concat(objectKeys(S), getOwnPropertySymbols(S)) : objectKeys(S);
|
|
820
|
-
var length = keys2.length;
|
|
821
|
-
var j = 0;
|
|
822
|
-
var key;
|
|
823
|
-
while (length > j) {
|
|
824
|
-
key = keys2[j++];
|
|
825
|
-
if (!DESCRIPTORS || call(propertyIsEnumerable2, S, key))
|
|
826
|
-
T[key] = S[key];
|
|
827
|
-
}
|
|
828
|
-
}
|
|
829
|
-
return T;
|
|
830
|
-
} : $assign;
|
|
831
|
-
var $ = _export;
|
|
832
|
-
var assign$6 = objectAssign;
|
|
833
|
-
$({
|
|
834
|
-
target: "Object",
|
|
835
|
-
stat: true,
|
|
836
|
-
arity: 2,
|
|
837
|
-
forced: Object.assign !== assign$6
|
|
838
|
-
}, {
|
|
839
|
-
assign: assign$6
|
|
840
|
-
});
|
|
841
|
-
var path = path$5;
|
|
842
|
-
var assign$5 = path.Object.assign;
|
|
843
|
-
var parent$2 = assign$5;
|
|
844
|
-
var assign$4 = parent$2;
|
|
845
|
-
var parent$1 = assign$4;
|
|
846
|
-
var assign$3 = parent$1;
|
|
847
|
-
var parent = assign$3;
|
|
848
|
-
var assign$2 = parent;
|
|
849
|
-
var assign$1 = assign$2;
|
|
850
|
-
var assign2 = assign$1;
|
|
851
|
-
const _Object$assign = /* @__PURE__ */ getDefaultExportFromCjs(assign2);
|
|
852
|
-
function normalizeComponent(scriptExports, render4, staticRenderFns, functionalTemplate, injectStyles, scopeId, moduleIdentifier, shadowMode) {
|
|
853
|
-
var options = typeof scriptExports === "function" ? scriptExports.options : scriptExports;
|
|
854
|
-
if (render4) {
|
|
855
|
-
options.render = render4;
|
|
856
|
-
options.staticRenderFns = staticRenderFns;
|
|
857
|
-
options._compiled = true;
|
|
858
|
-
}
|
|
859
|
-
if (functionalTemplate) {
|
|
860
|
-
options.functional = true;
|
|
861
|
-
}
|
|
862
|
-
if (scopeId) {
|
|
863
|
-
options._scopeId = "data-v-" + scopeId;
|
|
864
|
-
}
|
|
865
|
-
var hook;
|
|
866
|
-
if (moduleIdentifier) {
|
|
867
|
-
hook = function(context) {
|
|
868
|
-
context = context || // cached call
|
|
869
|
-
this.$vnode && this.$vnode.ssrContext || // stateful
|
|
870
|
-
this.parent && this.parent.$vnode && this.parent.$vnode.ssrContext;
|
|
871
|
-
if (!context && typeof __VUE_SSR_CONTEXT__ !== "undefined") {
|
|
872
|
-
context = __VUE_SSR_CONTEXT__;
|
|
873
|
-
}
|
|
874
|
-
if (injectStyles) {
|
|
875
|
-
injectStyles.call(this, context);
|
|
876
|
-
}
|
|
877
|
-
if (context && context._registeredComponents) {
|
|
878
|
-
context._registeredComponents.add(moduleIdentifier);
|
|
879
|
-
}
|
|
880
|
-
};
|
|
881
|
-
options._ssrRegister = hook;
|
|
882
|
-
} else if (injectStyles) {
|
|
883
|
-
hook = shadowMode ? function() {
|
|
884
|
-
injectStyles.call(
|
|
885
|
-
this,
|
|
886
|
-
(options.functional ? this.parent : this).$root.$options.shadowRoot
|
|
887
|
-
);
|
|
888
|
-
} : injectStyles;
|
|
889
|
-
}
|
|
890
|
-
if (hook) {
|
|
891
|
-
if (options.functional) {
|
|
892
|
-
options._injectStyles = hook;
|
|
893
|
-
var originalRender = options.render;
|
|
894
|
-
options.render = function renderWithStyleInjection(h, context) {
|
|
895
|
-
hook.call(context);
|
|
896
|
-
return originalRender(h, context);
|
|
897
|
-
};
|
|
898
|
-
} else {
|
|
899
|
-
var existing = options.beforeCreate;
|
|
900
|
-
options.beforeCreate = existing ? [].concat(existing, hook) : [hook];
|
|
901
|
-
}
|
|
902
|
-
}
|
|
903
|
-
return {
|
|
904
|
-
exports: scriptExports,
|
|
905
|
-
options
|
|
906
|
-
};
|
|
907
|
-
}
|
|
908
|
-
var __sfc_main = {};
|
|
4
|
+
const __sfc_main = {};
|
|
909
5
|
__sfc_main.props = {
|
|
910
6
|
visible: [Boolean, String]
|
|
911
7
|
};
|
|
912
|
-
__sfc_main.setup =
|
|
913
|
-
|
|
914
|
-
|
|
915
|
-
|
|
916
|
-
|
|
917
|
-
watch(
|
|
918
|
-
return props.visible;
|
|
919
|
-
}, function(newValue) {
|
|
8
|
+
__sfc_main.setup = (__props, __ctx) => {
|
|
9
|
+
const emits = __ctx.emit;
|
|
10
|
+
const props = __props;
|
|
11
|
+
const reference = ref();
|
|
12
|
+
const popperRef = ref();
|
|
13
|
+
watch(() => props.visible, (newValue) => {
|
|
920
14
|
if (newValue) {
|
|
921
15
|
window.addEventListener("mousedown", docClick);
|
|
922
16
|
} else {
|
|
@@ -932,10 +26,10 @@ __sfc_main.setup = function(__props, __ctx) {
|
|
|
932
26
|
function showPopper() {
|
|
933
27
|
emits("update:visible", true);
|
|
934
28
|
}
|
|
935
|
-
onUnmounted(
|
|
29
|
+
onUnmounted(() => {
|
|
936
30
|
emits("update:visible", false);
|
|
937
31
|
});
|
|
938
|
-
return
|
|
32
|
+
return Object.assign({
|
|
939
33
|
reference,
|
|
940
34
|
popperRef,
|
|
941
35
|
showPopper
|
|
@@ -943,13 +37,13 @@ __sfc_main.setup = function(__props, __ctx) {
|
|
|
943
37
|
showPopper
|
|
944
38
|
});
|
|
945
39
|
};
|
|
946
|
-
|
|
40
|
+
const _sfc_main$2 = __sfc_main;
|
|
947
41
|
var _sfc_render$2 = function render() {
|
|
948
42
|
var _vm = this, _c = _vm._self._c;
|
|
949
43
|
_vm._self._setupProxy;
|
|
950
44
|
return _c("div", {
|
|
951
45
|
staticClass: "nf-volume-tool",
|
|
952
|
-
|
|
46
|
+
class: _vm.visible ? "nf-tool-show" : "nf-tool-hide",
|
|
953
47
|
on: {
|
|
954
48
|
"click": _vm.showPopper
|
|
955
49
|
}
|
|
@@ -973,22 +67,22 @@ var _sfc_render$2 = function render() {
|
|
|
973
67
|
var _sfc_staticRenderFns$2 = [];
|
|
974
68
|
var __component__$2 = /* @__PURE__ */ normalizeComponent(_sfc_main$2, _sfc_render$2, _sfc_staticRenderFns$2, false, null, null, null, null);
|
|
975
69
|
const volumeTool = __component__$2.exports;
|
|
976
|
-
|
|
70
|
+
const _sfc_main$1 = {
|
|
977
71
|
name: "more-btn",
|
|
978
72
|
components: {},
|
|
979
|
-
data
|
|
73
|
+
data() {
|
|
980
74
|
return {
|
|
981
75
|
multipleArray: ["1.0", "1.25", "1.5", "1.75", "2.0"],
|
|
982
76
|
speed: ""
|
|
983
77
|
};
|
|
984
78
|
},
|
|
985
|
-
mounted
|
|
79
|
+
mounted() {
|
|
986
80
|
},
|
|
987
81
|
methods: {
|
|
988
|
-
handleDown
|
|
82
|
+
handleDown() {
|
|
989
83
|
this.$emit("down");
|
|
990
84
|
},
|
|
991
|
-
handleSpeed
|
|
85
|
+
handleSpeed(speed) {
|
|
992
86
|
this.speed = speed;
|
|
993
87
|
this.$emit("speed", speed);
|
|
994
88
|
}
|
|
@@ -1016,9 +110,9 @@ var _sfc_render$1 = function render2() {
|
|
|
1016
110
|
return _c("div", {
|
|
1017
111
|
key: index,
|
|
1018
112
|
staticClass: "btn-item",
|
|
1019
|
-
|
|
113
|
+
class: _vm.speed === item ? "active" : "",
|
|
1020
114
|
on: {
|
|
1021
|
-
"click": function
|
|
115
|
+
"click": function($event) {
|
|
1022
116
|
return _vm.handleSpeed(item);
|
|
1023
117
|
}
|
|
1024
118
|
}
|
|
@@ -1047,7 +141,7 @@ var _sfc_render$1 = function render2() {
|
|
|
1047
141
|
var _sfc_staticRenderFns$1 = [];
|
|
1048
142
|
var __component__$1 = /* @__PURE__ */ normalizeComponent(_sfc_main$1, _sfc_render$1, _sfc_staticRenderFns$1, false, null, null, null, null);
|
|
1049
143
|
const moreBtn = __component__$1.exports;
|
|
1050
|
-
|
|
144
|
+
const _sfc_main = {
|
|
1051
145
|
name: "nf-audio",
|
|
1052
146
|
components: {
|
|
1053
147
|
volumeTool,
|
|
@@ -1056,22 +150,22 @@ var _sfc_main = {
|
|
|
1056
150
|
props: {
|
|
1057
151
|
audioSrc: {
|
|
1058
152
|
type: String,
|
|
1059
|
-
|
|
153
|
+
default: ""
|
|
1060
154
|
},
|
|
1061
155
|
backSecond: {
|
|
1062
156
|
type: Number,
|
|
1063
|
-
|
|
157
|
+
default: 3
|
|
1064
158
|
},
|
|
1065
159
|
forwardSecond: {
|
|
1066
160
|
type: Number,
|
|
1067
|
-
|
|
161
|
+
default: 10
|
|
1068
162
|
},
|
|
1069
163
|
startTime: {
|
|
1070
164
|
type: Number,
|
|
1071
|
-
|
|
165
|
+
default: 0
|
|
1072
166
|
}
|
|
1073
167
|
},
|
|
1074
|
-
data
|
|
168
|
+
data() {
|
|
1075
169
|
return {
|
|
1076
170
|
duration: "00:00",
|
|
1077
171
|
currentDuration: "00:00",
|
|
@@ -1084,24 +178,24 @@ var _sfc_main = {
|
|
|
1084
178
|
speed: 1
|
|
1085
179
|
};
|
|
1086
180
|
},
|
|
1087
|
-
mounted
|
|
181
|
+
mounted() {
|
|
1088
182
|
this.audio = this.$refs.audio;
|
|
1089
183
|
},
|
|
1090
184
|
methods: {
|
|
1091
185
|
//后退
|
|
1092
|
-
handleBack
|
|
186
|
+
handleBack() {
|
|
1093
187
|
if (this.audio.currentTime > this.backSecond) {
|
|
1094
188
|
this.audio.currentTime = this.audio.currentTime - this.backSecond;
|
|
1095
189
|
}
|
|
1096
190
|
},
|
|
1097
191
|
//前进
|
|
1098
|
-
handleForward
|
|
192
|
+
handleForward() {
|
|
1099
193
|
if (this.audio.duration - this.audio.currentTime > this.forwardSecond) {
|
|
1100
194
|
this.audio.currentTime = this.audio.currentTime + 10;
|
|
1101
195
|
}
|
|
1102
196
|
},
|
|
1103
197
|
//暂停或播放
|
|
1104
|
-
handlePauseOrPlay
|
|
198
|
+
handlePauseOrPlay() {
|
|
1105
199
|
if (this.audio.readyState >= 2) {
|
|
1106
200
|
this.audio.paused ? this.audio.play() : this.audio.pause();
|
|
1107
201
|
this.audio.playbackRate = this.speed;
|
|
@@ -1113,36 +207,36 @@ var _sfc_main = {
|
|
|
1113
207
|
}
|
|
1114
208
|
},
|
|
1115
209
|
//视频在可以播放时触发
|
|
1116
|
-
getDuration
|
|
210
|
+
getDuration() {
|
|
1117
211
|
this.duration = this.timeFormat(this.$refs.audio.duration);
|
|
1118
212
|
this.audio.volume = this.volume;
|
|
1119
213
|
},
|
|
1120
214
|
//将单位为秒的的时间转换成mm:ss的形式
|
|
1121
|
-
timeFormat
|
|
1122
|
-
|
|
1123
|
-
|
|
215
|
+
timeFormat(number) {
|
|
216
|
+
let minute = parseInt(number / 60);
|
|
217
|
+
let second = parseInt(number % 60);
|
|
1124
218
|
minute = minute >= 10 ? minute : "0" + minute;
|
|
1125
219
|
second = second >= 10 ? second : "0" + second;
|
|
1126
220
|
return minute + ":" + second;
|
|
1127
221
|
},
|
|
1128
222
|
//进度条发生变化时触发
|
|
1129
|
-
updateTime
|
|
223
|
+
updateTime() {
|
|
1130
224
|
if (!this.$refs.progress)
|
|
1131
225
|
return;
|
|
1132
226
|
this.currentDuration = this.timeFormat(this.audio.currentTime);
|
|
1133
227
|
if (!this.audio.paused) {
|
|
1134
|
-
|
|
228
|
+
let MoveX = this.$refs.progress.clientWidth * (this.audio.currentTime / this.audio.duration);
|
|
1135
229
|
this.$refs.currentProgress.style.width = MoveX + "px";
|
|
1136
230
|
this.$refs.circle.style.left = MoveX - this.$refs.circle.clientWidth / 2 + "px";
|
|
1137
231
|
this.paused = false;
|
|
1138
232
|
}
|
|
1139
233
|
},
|
|
1140
|
-
handleAudioEnded
|
|
234
|
+
handleAudioEnded() {
|
|
1141
235
|
console.log("音频播放完毕!");
|
|
1142
236
|
this.paused = true;
|
|
1143
237
|
},
|
|
1144
238
|
//点击进度条更新进度
|
|
1145
|
-
clickProgress
|
|
239
|
+
clickProgress(e) {
|
|
1146
240
|
if (this.duration === "00:00") {
|
|
1147
241
|
Message.warning("音频还未加载完成");
|
|
1148
242
|
return false;
|
|
@@ -1152,75 +246,73 @@ var _sfc_main = {
|
|
|
1152
246
|
}
|
|
1153
247
|
},
|
|
1154
248
|
//更新进度
|
|
1155
|
-
updateProgress
|
|
1156
|
-
|
|
1157
|
-
this.audio.currentTime = this.audio.duration *
|
|
249
|
+
updateProgress(MoveX) {
|
|
250
|
+
let clickProgress = MoveX / this.$refs.progress.clientWidth;
|
|
251
|
+
this.audio.currentTime = this.audio.duration * clickProgress;
|
|
1158
252
|
this.$refs.currentProgress.style.width = MoveX + "px";
|
|
1159
253
|
this.$refs.circle.style.left = MoveX - this.$refs.circle.clientWidth / 2 + "px";
|
|
1160
254
|
},
|
|
1161
255
|
//鼠标弹起
|
|
1162
|
-
handleMouseup
|
|
1163
|
-
var _this = this;
|
|
256
|
+
handleMouseup() {
|
|
1164
257
|
if (this.duration === "00:00") {
|
|
1165
258
|
Message.warning("音频还未加载完成");
|
|
1166
259
|
return false;
|
|
1167
260
|
}
|
|
1168
|
-
|
|
1169
|
-
|
|
1170
|
-
|
|
261
|
+
const timer = setTimeout(() => {
|
|
262
|
+
this.audio.play();
|
|
263
|
+
this.paused = false;
|
|
1171
264
|
clearTimeout(timer);
|
|
1172
265
|
}, 200);
|
|
1173
|
-
this.$once("hook:beforeDestroy",
|
|
266
|
+
this.$once("hook:beforeDestroy", () => {
|
|
1174
267
|
clearTimeout(timer);
|
|
1175
268
|
});
|
|
1176
269
|
},
|
|
1177
270
|
//调整进度
|
|
1178
|
-
handleMousedown
|
|
1179
|
-
var _this2 = this;
|
|
271
|
+
handleMousedown() {
|
|
1180
272
|
this.audio.pause();
|
|
1181
273
|
this.paused = true;
|
|
1182
|
-
|
|
1183
|
-
|
|
1184
|
-
|
|
1185
|
-
|
|
1186
|
-
|
|
274
|
+
let progress = this.$refs.progress;
|
|
275
|
+
let moveMin = progress.offsetParent.offsetLeft + progress.offsetLeft;
|
|
276
|
+
let moveMax = progress.offsetParent.offsetLeft + progress.offsetLeft + progress.clientWidth;
|
|
277
|
+
let circleWidth = this.$refs.circle.clientWidth / 2;
|
|
278
|
+
let moveX = (e) => {
|
|
1187
279
|
if (e.pageX >= moveMax) {
|
|
1188
280
|
return;
|
|
1189
281
|
} else if (e.pageX <= moveMin) {
|
|
1190
282
|
return;
|
|
1191
283
|
}
|
|
1192
|
-
|
|
1193
|
-
|
|
284
|
+
this.$refs.circle.style.left = e.pageX - moveMin - circleWidth + "px";
|
|
285
|
+
this.updateProgress(e.pageX - moveMin);
|
|
1194
286
|
};
|
|
1195
287
|
document.addEventListener("mousemove", moveX);
|
|
1196
|
-
document.addEventListener("mouseup",
|
|
288
|
+
document.addEventListener("mouseup", () => {
|
|
1197
289
|
document.removeEventListener("mousemove", moveX);
|
|
1198
290
|
});
|
|
1199
291
|
},
|
|
1200
|
-
rangeVolume
|
|
292
|
+
rangeVolume(val) {
|
|
1201
293
|
console.log(val);
|
|
1202
294
|
},
|
|
1203
295
|
/** 设置倍速播放 */
|
|
1204
|
-
changeSpeed
|
|
1205
|
-
|
|
296
|
+
changeSpeed(command) {
|
|
297
|
+
const audioPlayer = this.$refs.audio;
|
|
1206
298
|
if (audioPlayer) {
|
|
1207
299
|
audioPlayer.playbackRate = command;
|
|
1208
300
|
}
|
|
1209
301
|
this.speed = command;
|
|
1210
302
|
},
|
|
1211
|
-
downRecord
|
|
303
|
+
downRecord() {
|
|
1212
304
|
this.$emit("downloadCallback");
|
|
1213
305
|
},
|
|
1214
|
-
calcMoveX
|
|
306
|
+
calcMoveX() {
|
|
1215
307
|
if (!this.audio.paused) {
|
|
1216
|
-
|
|
308
|
+
let MoveX = this.$refs.progress.clientWidth * (this.audio.currentTime / this.audio.duration);
|
|
1217
309
|
this.$refs.currentProgress.style.width = MoveX + "px";
|
|
1218
310
|
this.$refs.circle.style.left = MoveX - this.$refs.circle.clientWidth / 2 + "px";
|
|
1219
311
|
}
|
|
1220
312
|
},
|
|
1221
|
-
jumpToTime
|
|
313
|
+
jumpToTime() {
|
|
1222
314
|
this.audio.pause();
|
|
1223
|
-
|
|
315
|
+
const formatStartT = this.timeFormat(this.startTime);
|
|
1224
316
|
if (this.duration === "00:00") {
|
|
1225
317
|
Message.warning("音频还未加载完成");
|
|
1226
318
|
return false;
|
|
@@ -1246,7 +338,7 @@ var _sfc_main = {
|
|
|
1246
338
|
}
|
|
1247
339
|
},
|
|
1248
340
|
watch: {
|
|
1249
|
-
volumeValue
|
|
341
|
+
volumeValue(val) {
|
|
1250
342
|
this.volume = val / 100;
|
|
1251
343
|
this.audio.volume = val / 100;
|
|
1252
344
|
}
|
|
@@ -1333,13 +425,13 @@ var _sfc_render = function render3() {
|
|
|
1333
425
|
"visible": _vm.volumeVisible
|
|
1334
426
|
},
|
|
1335
427
|
on: {
|
|
1336
|
-
"update:visible": function
|
|
428
|
+
"update:visible": function($event) {
|
|
1337
429
|
_vm.volumeVisible = $event;
|
|
1338
430
|
}
|
|
1339
431
|
},
|
|
1340
432
|
scopedSlots: _vm._u([{
|
|
1341
433
|
key: "reference",
|
|
1342
|
-
fn: function
|
|
434
|
+
fn: function() {
|
|
1343
435
|
return [_vm.volume == 0 ? _c("div", {
|
|
1344
436
|
staticClass: "volume"
|
|
1345
437
|
}) : _c("div", {
|
|
@@ -1349,7 +441,7 @@ var _sfc_render = function render3() {
|
|
|
1349
441
|
proxy: true
|
|
1350
442
|
}])
|
|
1351
443
|
}, [_c("el-slider", {
|
|
1352
|
-
|
|
444
|
+
class: _vm.volumeValue === 0 ? "volume-mute" : "volume-phonic",
|
|
1353
445
|
attrs: {
|
|
1354
446
|
"vertical": "",
|
|
1355
447
|
"min": 0,
|
|
@@ -1362,7 +454,7 @@ var _sfc_render = function render3() {
|
|
|
1362
454
|
},
|
|
1363
455
|
model: {
|
|
1364
456
|
value: _vm.volumeValue,
|
|
1365
|
-
callback: function
|
|
457
|
+
callback: function($$v) {
|
|
1366
458
|
_vm.volumeValue = $$v;
|
|
1367
459
|
},
|
|
1368
460
|
expression: "volumeValue"
|
|
@@ -1371,7 +463,7 @@ var _sfc_render = function render3() {
|
|
|
1371
463
|
staticClass: "option"
|
|
1372
464
|
}, [_c("moreBtn", {
|
|
1373
465
|
on: {
|
|
1374
|
-
"down": function
|
|
466
|
+
"down": function($event) {
|
|
1375
467
|
return _vm.downRecord();
|
|
1376
468
|
},
|
|
1377
469
|
"speed": _vm.changeSpeed
|
|
@@ -1381,7 +473,7 @@ var _sfc_render = function render3() {
|
|
|
1381
473
|
var _sfc_staticRenderFns = [];
|
|
1382
474
|
var __component__ = /* @__PURE__ */ normalizeComponent(_sfc_main, _sfc_render, _sfc_staticRenderFns, false, null, null, null, null);
|
|
1383
475
|
const NfAudio = __component__.exports;
|
|
1384
|
-
NfAudio.install =
|
|
476
|
+
NfAudio.install = (app) => {
|
|
1385
477
|
app.component("nf-audio", NfAudio);
|
|
1386
478
|
};
|
|
1387
479
|
export {
|