byt-lingxiao-ai 0.1.6 → 0.1.8

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.
@@ -141,6 +141,25 @@ module.exports = getBuiltIn('document', 'documentElement');
141
141
  module.exports = {};
142
142
 
143
143
 
144
+ /***/ }),
145
+
146
+ /***/ 507:
147
+ /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
148
+
149
+
150
+ var call = __webpack_require__(9565);
151
+
152
+ module.exports = function (record, fn, ITERATOR_INSTEAD_OF_RECORD) {
153
+ var iterator = ITERATOR_INSTEAD_OF_RECORD ? record : record.iterator;
154
+ var next = record.next;
155
+ var step, result;
156
+ while (!(step = call(next, iterator)).done) {
157
+ result = fn(step.value);
158
+ if (result !== undefined) return result;
159
+ }
160
+ };
161
+
162
+
144
163
  /***/ }),
145
164
 
146
165
  /***/ 616:
@@ -250,6 +269,20 @@ module.exports = Object.keys || function keys(O) {
250
269
  };
251
270
 
252
271
 
272
+ /***/ }),
273
+
274
+ /***/ 1108:
275
+ /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
276
+
277
+
278
+ var classof = __webpack_require__(6955);
279
+
280
+ module.exports = function (it) {
281
+ var klass = classof(it);
282
+ return klass === 'BigInt64Array' || klass === 'BigUint64Array';
283
+ };
284
+
285
+
253
286
  /***/ }),
254
287
 
255
288
  /***/ 1181:
@@ -345,6 +378,29 @@ module.exports = function (argument) {
345
378
  };
346
379
 
347
380
 
381
+ /***/ }),
382
+
383
+ /***/ 1548:
384
+ /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
385
+
386
+
387
+ var globalThis = __webpack_require__(4576);
388
+ var fails = __webpack_require__(9039);
389
+ var V8 = __webpack_require__(9519);
390
+ var ENVIRONMENT = __webpack_require__(4215);
391
+
392
+ var structuredClone = globalThis.structuredClone;
393
+
394
+ module.exports = !!structuredClone && !fails(function () {
395
+ // prevent V8 ArrayBufferDetaching protector cell invalidation and performance degradation
396
+ // https://github.com/zloirock/core-js/issues/679
397
+ if ((ENVIRONMENT === 'DENO' && V8 > 92) || (ENVIRONMENT === 'NODE' && V8 > 94) || (ENVIRONMENT === 'BROWSER' && V8 > 97)) return false;
398
+ var buffer = new ArrayBuffer(8);
399
+ var clone = structuredClone(buffer, { transfer: [buffer] });
400
+ return buffer.byteLength !== 0 || clone.byteLength !== 8;
401
+ });
402
+
403
+
348
404
  /***/ }),
349
405
 
350
406
  /***/ 1625:
@@ -356,6 +412,26 @@ var uncurryThis = __webpack_require__(9504);
356
412
  module.exports = uncurryThis({}.isPrototypeOf);
357
413
 
358
414
 
415
+ /***/ }),
416
+
417
+ /***/ 1698:
418
+ /***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
419
+
420
+
421
+ var $ = __webpack_require__(6518);
422
+ var union = __webpack_require__(4204);
423
+ var setMethodGetKeysBeforeCloning = __webpack_require__(9835);
424
+ var setMethodAcceptSetLike = __webpack_require__(4916);
425
+
426
+ var FORCED = !setMethodAcceptSetLike('union') || !setMethodGetKeysBeforeCloning('union');
427
+
428
+ // `Set.prototype.union` method
429
+ // https://tc39.es/ecma262/#sec-set.prototype.union
430
+ $({ target: 'Set', proto: true, real: true, forced: FORCED }, {
431
+ union: union
432
+ });
433
+
434
+
359
435
  /***/ }),
360
436
 
361
437
  /***/ 1767:
@@ -557,6 +633,27 @@ module.exports = Object.create || function create(O, Properties) {
557
633
  };
558
634
 
559
635
 
636
+ /***/ }),
637
+
638
+ /***/ 2475:
639
+ /***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
640
+
641
+
642
+ var $ = __webpack_require__(6518);
643
+ var isSupersetOf = __webpack_require__(8527);
644
+ var setMethodAcceptSetLike = __webpack_require__(4916);
645
+
646
+ var INCORRECT = !setMethodAcceptSetLike('isSupersetOf', function (result) {
647
+ return !result;
648
+ });
649
+
650
+ // `Set.prototype.isSupersetOf` method
651
+ // https://tc39.es/ecma262/#sec-set.prototype.issupersetof
652
+ $({ target: 'Set', proto: true, real: true, forced: INCORRECT }, {
653
+ isSupersetOf: isSupersetOf
654
+ });
655
+
656
+
560
657
  /***/ }),
561
658
 
562
659
  /***/ 2652:
@@ -739,6 +836,66 @@ var userAgent = navigator && navigator.userAgent;
739
836
  module.exports = userAgent ? String(userAgent) : '';
740
837
 
741
838
 
839
+ /***/ }),
840
+
841
+ /***/ 2967:
842
+ /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
843
+
844
+
845
+ /* eslint-disable no-proto -- safe */
846
+ var uncurryThisAccessor = __webpack_require__(6706);
847
+ var isObject = __webpack_require__(34);
848
+ var requireObjectCoercible = __webpack_require__(7750);
849
+ var aPossiblePrototype = __webpack_require__(3506);
850
+
851
+ // `Object.setPrototypeOf` method
852
+ // https://tc39.es/ecma262/#sec-object.setprototypeof
853
+ // Works with __proto__ only. Old v8 can't work with null proto objects.
854
+ // eslint-disable-next-line es/no-object-setprototypeof -- safe
855
+ module.exports = Object.setPrototypeOf || ('__proto__' in {} ? function () {
856
+ var CORRECT_SETTER = false;
857
+ var test = {};
858
+ var setter;
859
+ try {
860
+ setter = uncurryThisAccessor(Object.prototype, '__proto__', 'set');
861
+ setter(test, []);
862
+ CORRECT_SETTER = test instanceof Array;
863
+ } catch (error) { /* empty */ }
864
+ return function setPrototypeOf(O, proto) {
865
+ requireObjectCoercible(O);
866
+ aPossiblePrototype(proto);
867
+ if (!isObject(O)) return O;
868
+ if (CORRECT_SETTER) setter(O, proto);
869
+ else O.__proto__ = proto;
870
+ return O;
871
+ };
872
+ }() : undefined);
873
+
874
+
875
+ /***/ }),
876
+
877
+ /***/ 3238:
878
+ /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
879
+
880
+
881
+ var globalThis = __webpack_require__(4576);
882
+ var NATIVE_ARRAY_BUFFER = __webpack_require__(7811);
883
+ var arrayBufferByteLength = __webpack_require__(7394);
884
+
885
+ var DataView = globalThis.DataView;
886
+
887
+ module.exports = function (O) {
888
+ if (!NATIVE_ARRAY_BUFFER || arrayBufferByteLength(O) !== 0) return false;
889
+ try {
890
+ // eslint-disable-next-line no-new -- thrower
891
+ new DataView(O);
892
+ return false;
893
+ } catch (error) {
894
+ return true;
895
+ }
896
+ };
897
+
898
+
742
899
  /***/ }),
743
900
 
744
901
  /***/ 3392:
@@ -756,6 +913,86 @@ module.exports = function (key) {
756
913
  };
757
914
 
758
915
 
916
+ /***/ }),
917
+
918
+ /***/ 3440:
919
+ /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
920
+
921
+
922
+ var aSet = __webpack_require__(7080);
923
+ var SetHelpers = __webpack_require__(4402);
924
+ var clone = __webpack_require__(9286);
925
+ var size = __webpack_require__(5170);
926
+ var getSetRecord = __webpack_require__(3789);
927
+ var iterateSet = __webpack_require__(8469);
928
+ var iterateSimple = __webpack_require__(507);
929
+
930
+ var has = SetHelpers.has;
931
+ var remove = SetHelpers.remove;
932
+
933
+ // `Set.prototype.difference` method
934
+ // https://tc39.es/ecma262/#sec-set.prototype.difference
935
+ module.exports = function difference(other) {
936
+ var O = aSet(this);
937
+ var otherRec = getSetRecord(other);
938
+ var result = clone(O);
939
+ if (size(O) <= otherRec.size) iterateSet(O, function (e) {
940
+ if (otherRec.includes(e)) remove(result, e);
941
+ });
942
+ else iterateSimple(otherRec.getIterator(), function (e) {
943
+ if (has(result, e)) remove(result, e);
944
+ });
945
+ return result;
946
+ };
947
+
948
+
949
+ /***/ }),
950
+
951
+ /***/ 3506:
952
+ /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
953
+
954
+
955
+ var isPossiblePrototype = __webpack_require__(3925);
956
+
957
+ var $String = String;
958
+ var $TypeError = TypeError;
959
+
960
+ module.exports = function (argument) {
961
+ if (isPossiblePrototype(argument)) return argument;
962
+ throw new $TypeError("Can't set " + $String(argument) + ' as a prototype');
963
+ };
964
+
965
+
966
+ /***/ }),
967
+
968
+ /***/ 3650:
969
+ /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
970
+
971
+
972
+ var aSet = __webpack_require__(7080);
973
+ var SetHelpers = __webpack_require__(4402);
974
+ var clone = __webpack_require__(9286);
975
+ var getSetRecord = __webpack_require__(3789);
976
+ var iterateSimple = __webpack_require__(507);
977
+
978
+ var add = SetHelpers.add;
979
+ var has = SetHelpers.has;
980
+ var remove = SetHelpers.remove;
981
+
982
+ // `Set.prototype.symmetricDifference` method
983
+ // https://tc39.es/ecma262/#sec-set.prototype.symmetricdifference
984
+ module.exports = function symmetricDifference(other) {
985
+ var O = aSet(this);
986
+ var keysIter = getSetRecord(other).getIterator();
987
+ var result = clone(O);
988
+ iterateSimple(keysIter, function (e) {
989
+ if (has(O, e)) remove(result, e);
990
+ else add(result, e);
991
+ });
992
+ return result;
993
+ };
994
+
995
+
759
996
  /***/ }),
760
997
 
761
998
  /***/ 3706:
@@ -803,6 +1040,110 @@ module.exports = !fails(function () {
803
1040
  });
804
1041
 
805
1042
 
1043
+ /***/ }),
1044
+
1045
+ /***/ 3789:
1046
+ /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
1047
+
1048
+
1049
+ var aCallable = __webpack_require__(9306);
1050
+ var anObject = __webpack_require__(8551);
1051
+ var call = __webpack_require__(9565);
1052
+ var toIntegerOrInfinity = __webpack_require__(1291);
1053
+ var getIteratorDirect = __webpack_require__(1767);
1054
+
1055
+ var INVALID_SIZE = 'Invalid size';
1056
+ var $RangeError = RangeError;
1057
+ var $TypeError = TypeError;
1058
+ var max = Math.max;
1059
+
1060
+ var SetRecord = function (set, intSize) {
1061
+ this.set = set;
1062
+ this.size = max(intSize, 0);
1063
+ this.has = aCallable(set.has);
1064
+ this.keys = aCallable(set.keys);
1065
+ };
1066
+
1067
+ SetRecord.prototype = {
1068
+ getIterator: function () {
1069
+ return getIteratorDirect(anObject(call(this.keys, this.set)));
1070
+ },
1071
+ includes: function (it) {
1072
+ return call(this.has, this.set, it);
1073
+ }
1074
+ };
1075
+
1076
+ // `GetSetRecord` abstract operation
1077
+ // https://tc39.es/proposal-set-methods/#sec-getsetrecord
1078
+ module.exports = function (obj) {
1079
+ anObject(obj);
1080
+ var numSize = +obj.size;
1081
+ // NOTE: If size is undefined, then numSize will be NaN
1082
+ // eslint-disable-next-line no-self-compare -- NaN check
1083
+ if (numSize !== numSize) throw new $TypeError(INVALID_SIZE);
1084
+ var intSize = toIntegerOrInfinity(numSize);
1085
+ if (intSize < 0) throw new $RangeError(INVALID_SIZE);
1086
+ return new SetRecord(obj, intSize);
1087
+ };
1088
+
1089
+
1090
+ /***/ }),
1091
+
1092
+ /***/ 3838:
1093
+ /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
1094
+
1095
+
1096
+ var aSet = __webpack_require__(7080);
1097
+ var size = __webpack_require__(5170);
1098
+ var iterate = __webpack_require__(8469);
1099
+ var getSetRecord = __webpack_require__(3789);
1100
+
1101
+ // `Set.prototype.isSubsetOf` method
1102
+ // https://tc39.es/ecma262/#sec-set.prototype.issubsetof
1103
+ module.exports = function isSubsetOf(other) {
1104
+ var O = aSet(this);
1105
+ var otherRec = getSetRecord(other);
1106
+ if (size(O) > otherRec.size) return false;
1107
+ return iterate(O, function (e) {
1108
+ if (!otherRec.includes(e)) return false;
1109
+ }, true) !== false;
1110
+ };
1111
+
1112
+
1113
+ /***/ }),
1114
+
1115
+ /***/ 3853:
1116
+ /***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
1117
+
1118
+
1119
+ var $ = __webpack_require__(6518);
1120
+ var isDisjointFrom = __webpack_require__(4449);
1121
+ var setMethodAcceptSetLike = __webpack_require__(4916);
1122
+
1123
+ var INCORRECT = !setMethodAcceptSetLike('isDisjointFrom', function (result) {
1124
+ return !result;
1125
+ });
1126
+
1127
+ // `Set.prototype.isDisjointFrom` method
1128
+ // https://tc39.es/ecma262/#sec-set.prototype.isdisjointfrom
1129
+ $({ target: 'Set', proto: true, real: true, forced: INCORRECT }, {
1130
+ isDisjointFrom: isDisjointFrom
1131
+ });
1132
+
1133
+
1134
+ /***/ }),
1135
+
1136
+ /***/ 3925:
1137
+ /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
1138
+
1139
+
1140
+ var isObject = __webpack_require__(34);
1141
+
1142
+ module.exports = function (argument) {
1143
+ return isObject(argument) || argument === null;
1144
+ };
1145
+
1146
+
806
1147
  /***/ }),
807
1148
 
808
1149
  /***/ 4055:
@@ -821,6 +1162,55 @@ module.exports = function (it) {
821
1162
  };
822
1163
 
823
1164
 
1165
+ /***/ }),
1166
+
1167
+ /***/ 4114:
1168
+ /***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
1169
+
1170
+
1171
+ var $ = __webpack_require__(6518);
1172
+ var toObject = __webpack_require__(8981);
1173
+ var lengthOfArrayLike = __webpack_require__(6198);
1174
+ var setArrayLength = __webpack_require__(4527);
1175
+ var doesNotExceedSafeInteger = __webpack_require__(6837);
1176
+ var fails = __webpack_require__(9039);
1177
+
1178
+ var INCORRECT_TO_LENGTH = fails(function () {
1179
+ return [].push.call({ length: 0x100000000 }, 1) !== 4294967297;
1180
+ });
1181
+
1182
+ // V8 <= 121 and Safari <= 15.4; FF < 23 throws InternalError
1183
+ // https://bugs.chromium.org/p/v8/issues/detail?id=12681
1184
+ var properErrorOnNonWritableLength = function () {
1185
+ try {
1186
+ // eslint-disable-next-line es/no-object-defineproperty -- safe
1187
+ Object.defineProperty([], 'length', { writable: false }).push();
1188
+ } catch (error) {
1189
+ return error instanceof TypeError;
1190
+ }
1191
+ };
1192
+
1193
+ var FORCED = INCORRECT_TO_LENGTH || !properErrorOnNonWritableLength();
1194
+
1195
+ // `Array.prototype.push` method
1196
+ // https://tc39.es/ecma262/#sec-array.prototype.push
1197
+ $({ target: 'Array', proto: true, arity: 1, forced: FORCED }, {
1198
+ // eslint-disable-next-line no-unused-vars -- required for `.length`
1199
+ push: function push(item) {
1200
+ var O = toObject(this);
1201
+ var len = lengthOfArrayLike(O);
1202
+ var argCount = arguments.length;
1203
+ doesNotExceedSafeInteger(len + argCount);
1204
+ for (var i = 0; i < argCount; i++) {
1205
+ O[len] = arguments[i];
1206
+ len++;
1207
+ }
1208
+ setArrayLength(O, len);
1209
+ return len;
1210
+ }
1211
+ });
1212
+
1213
+
824
1214
  /***/ }),
825
1215
 
826
1216
  /***/ 4117:
@@ -834,6 +1224,31 @@ module.exports = function (it) {
834
1224
  };
835
1225
 
836
1226
 
1227
+ /***/ }),
1228
+
1229
+ /***/ 4204:
1230
+ /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
1231
+
1232
+
1233
+ var aSet = __webpack_require__(7080);
1234
+ var add = (__webpack_require__(4402).add);
1235
+ var clone = __webpack_require__(9286);
1236
+ var getSetRecord = __webpack_require__(3789);
1237
+ var iterateSimple = __webpack_require__(507);
1238
+
1239
+ // `Set.prototype.union` method
1240
+ // https://tc39.es/ecma262/#sec-set.prototype.union
1241
+ module.exports = function union(other) {
1242
+ var O = aSet(this);
1243
+ var keysIter = getSetRecord(other).getIterator();
1244
+ var result = clone(O);
1245
+ iterateSimple(keysIter, function (it) {
1246
+ add(result, it);
1247
+ });
1248
+ return result;
1249
+ };
1250
+
1251
+
837
1252
  /***/ }),
838
1253
 
839
1254
  /***/ 4209:
@@ -852,6 +1267,34 @@ module.exports = function (it) {
852
1267
  };
853
1268
 
854
1269
 
1270
+ /***/ }),
1271
+
1272
+ /***/ 4215:
1273
+ /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
1274
+
1275
+
1276
+ /* global Bun, Deno -- detection */
1277
+ var globalThis = __webpack_require__(4576);
1278
+ var userAgent = __webpack_require__(2839);
1279
+ var classof = __webpack_require__(2195);
1280
+
1281
+ var userAgentStartsWith = function (string) {
1282
+ return userAgent.slice(0, string.length) === string;
1283
+ };
1284
+
1285
+ module.exports = (function () {
1286
+ if (userAgentStartsWith('Bun/')) return 'BUN';
1287
+ if (userAgentStartsWith('Cloudflare-Workers')) return 'CLOUDFLARE';
1288
+ if (userAgentStartsWith('Deno/')) return 'DENO';
1289
+ if (userAgentStartsWith('Node.js/')) return 'NODE';
1290
+ if (globalThis.Bun && typeof Bun.version == 'string') return 'BUN';
1291
+ if (globalThis.Deno && typeof Deno.version == 'object') return 'DENO';
1292
+ if (classof(globalThis.process) === 'process') return 'NODE';
1293
+ if (globalThis.window && globalThis.document) return 'BROWSER';
1294
+ return 'REST';
1295
+ })();
1296
+
1297
+
855
1298
  /***/ }),
856
1299
 
857
1300
  /***/ 4270:
@@ -877,52 +1320,196 @@ module.exports = function (input, pref) {
877
1320
 
878
1321
  /***/ }),
879
1322
 
880
- /***/ 4495:
1323
+ /***/ 4376:
881
1324
  /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
882
1325
 
883
1326
 
884
- /* eslint-disable es/no-symbol -- required for testing */
885
- var V8_VERSION = __webpack_require__(9519);
886
- var fails = __webpack_require__(9039);
887
- var globalThis = __webpack_require__(4576);
888
-
889
- var $String = globalThis.String;
1327
+ var classof = __webpack_require__(2195);
890
1328
 
891
- // eslint-disable-next-line es/no-object-getownpropertysymbols -- required for testing
892
- module.exports = !!Object.getOwnPropertySymbols && !fails(function () {
893
- var symbol = Symbol('symbol detection');
894
- // Chrome 38 Symbol has incorrect toString conversion
895
- // `get-own-property-symbols` polyfill symbols converted to object are not Symbol instances
896
- // nb: Do not call `String` directly to avoid this being optimized out to `symbol+''` which will,
897
- // of course, fail.
898
- return !$String(symbol) || !(Object(symbol) instanceof Symbol) ||
899
- // Chrome 38-40 symbols are not inherited from DOM collections prototypes to instances
900
- !Symbol.sham && V8_VERSION && V8_VERSION < 41;
901
- });
1329
+ // `IsArray` abstract operation
1330
+ // https://tc39.es/ecma262/#sec-isarray
1331
+ // eslint-disable-next-line es/no-array-isarray -- safe
1332
+ module.exports = Array.isArray || function isArray(argument) {
1333
+ return classof(argument) === 'Array';
1334
+ };
902
1335
 
903
1336
 
904
1337
  /***/ }),
905
1338
 
906
- /***/ 4549:
1339
+ /***/ 4402:
907
1340
  /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
908
1341
 
909
1342
 
910
- var globalThis = __webpack_require__(4576);
1343
+ var uncurryThis = __webpack_require__(9504);
911
1344
 
912
- // https://github.com/tc39/ecma262/pull/3467
913
- module.exports = function (METHOD_NAME, ExpectedError) {
914
- var Iterator = globalThis.Iterator;
915
- var IteratorPrototype = Iterator && Iterator.prototype;
916
- var method = IteratorPrototype && IteratorPrototype[METHOD_NAME];
1345
+ // eslint-disable-next-line es/no-set -- safe
1346
+ var SetPrototype = Set.prototype;
917
1347
 
918
- var CLOSED = false;
1348
+ module.exports = {
1349
+ // eslint-disable-next-line es/no-set -- safe
1350
+ Set: Set,
1351
+ add: uncurryThis(SetPrototype.add),
1352
+ has: uncurryThis(SetPrototype.has),
1353
+ remove: uncurryThis(SetPrototype['delete']),
1354
+ proto: SetPrototype
1355
+ };
919
1356
 
920
- if (method) try {
921
- method.call({
922
- next: function () { return { done: true }; },
923
- 'return': function () { CLOSED = true; }
924
- }, -1);
925
- } catch (error) {
1357
+
1358
+ /***/ }),
1359
+
1360
+ /***/ 4449:
1361
+ /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
1362
+
1363
+
1364
+ var aSet = __webpack_require__(7080);
1365
+ var has = (__webpack_require__(4402).has);
1366
+ var size = __webpack_require__(5170);
1367
+ var getSetRecord = __webpack_require__(3789);
1368
+ var iterateSet = __webpack_require__(8469);
1369
+ var iterateSimple = __webpack_require__(507);
1370
+ var iteratorClose = __webpack_require__(9539);
1371
+
1372
+ // `Set.prototype.isDisjointFrom` method
1373
+ // https://tc39.es/ecma262/#sec-set.prototype.isdisjointfrom
1374
+ module.exports = function isDisjointFrom(other) {
1375
+ var O = aSet(this);
1376
+ var otherRec = getSetRecord(other);
1377
+ if (size(O) <= otherRec.size) return iterateSet(O, function (e) {
1378
+ if (otherRec.includes(e)) return false;
1379
+ }, true) !== false;
1380
+ var iterator = otherRec.getIterator();
1381
+ return iterateSimple(iterator, function (e) {
1382
+ if (has(O, e)) return iteratorClose(iterator, 'normal', false);
1383
+ }) !== false;
1384
+ };
1385
+
1386
+
1387
+ /***/ }),
1388
+
1389
+ /***/ 4483:
1390
+ /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
1391
+
1392
+
1393
+ var globalThis = __webpack_require__(4576);
1394
+ var getBuiltInNodeModule = __webpack_require__(9429);
1395
+ var PROPER_STRUCTURED_CLONE_TRANSFER = __webpack_require__(1548);
1396
+
1397
+ var structuredClone = globalThis.structuredClone;
1398
+ var $ArrayBuffer = globalThis.ArrayBuffer;
1399
+ var $MessageChannel = globalThis.MessageChannel;
1400
+ var detach = false;
1401
+ var WorkerThreads, channel, buffer, $detach;
1402
+
1403
+ if (PROPER_STRUCTURED_CLONE_TRANSFER) {
1404
+ detach = function (transferable) {
1405
+ structuredClone(transferable, { transfer: [transferable] });
1406
+ };
1407
+ } else if ($ArrayBuffer) try {
1408
+ if (!$MessageChannel) {
1409
+ WorkerThreads = getBuiltInNodeModule('worker_threads');
1410
+ if (WorkerThreads) $MessageChannel = WorkerThreads.MessageChannel;
1411
+ }
1412
+
1413
+ if ($MessageChannel) {
1414
+ channel = new $MessageChannel();
1415
+ buffer = new $ArrayBuffer(2);
1416
+
1417
+ $detach = function (transferable) {
1418
+ channel.port1.postMessage(null, [transferable]);
1419
+ };
1420
+
1421
+ if (buffer.byteLength === 2) {
1422
+ $detach(buffer);
1423
+ if (buffer.byteLength === 0) detach = $detach;
1424
+ }
1425
+ }
1426
+ } catch (error) { /* empty */ }
1427
+
1428
+ module.exports = detach;
1429
+
1430
+
1431
+ /***/ }),
1432
+
1433
+ /***/ 4495:
1434
+ /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
1435
+
1436
+
1437
+ /* eslint-disable es/no-symbol -- required for testing */
1438
+ var V8_VERSION = __webpack_require__(9519);
1439
+ var fails = __webpack_require__(9039);
1440
+ var globalThis = __webpack_require__(4576);
1441
+
1442
+ var $String = globalThis.String;
1443
+
1444
+ // eslint-disable-next-line es/no-object-getownpropertysymbols -- required for testing
1445
+ module.exports = !!Object.getOwnPropertySymbols && !fails(function () {
1446
+ var symbol = Symbol('symbol detection');
1447
+ // Chrome 38 Symbol has incorrect toString conversion
1448
+ // `get-own-property-symbols` polyfill symbols converted to object are not Symbol instances
1449
+ // nb: Do not call `String` directly to avoid this being optimized out to `symbol+''` which will,
1450
+ // of course, fail.
1451
+ return !$String(symbol) || !(Object(symbol) instanceof Symbol) ||
1452
+ // Chrome 38-40 symbols are not inherited from DOM collections prototypes to instances
1453
+ !Symbol.sham && V8_VERSION && V8_VERSION < 41;
1454
+ });
1455
+
1456
+
1457
+ /***/ }),
1458
+
1459
+ /***/ 4527:
1460
+ /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
1461
+
1462
+
1463
+ var DESCRIPTORS = __webpack_require__(3724);
1464
+ var isArray = __webpack_require__(4376);
1465
+
1466
+ var $TypeError = TypeError;
1467
+ // eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
1468
+ var getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;
1469
+
1470
+ // Safari < 13 does not throw an error in this case
1471
+ var SILENT_ON_NON_WRITABLE_LENGTH_SET = DESCRIPTORS && !function () {
1472
+ // makes no sense without proper strict mode support
1473
+ if (this !== undefined) return true;
1474
+ try {
1475
+ // eslint-disable-next-line es/no-object-defineproperty -- safe
1476
+ Object.defineProperty([], 'length', { writable: false }).length = 1;
1477
+ } catch (error) {
1478
+ return error instanceof TypeError;
1479
+ }
1480
+ }();
1481
+
1482
+ module.exports = SILENT_ON_NON_WRITABLE_LENGTH_SET ? function (O, length) {
1483
+ if (isArray(O) && !getOwnPropertyDescriptor(O, 'length').writable) {
1484
+ throw new $TypeError('Cannot set read only .length');
1485
+ } return O.length = length;
1486
+ } : function (O, length) {
1487
+ return O.length = length;
1488
+ };
1489
+
1490
+
1491
+ /***/ }),
1492
+
1493
+ /***/ 4549:
1494
+ /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
1495
+
1496
+
1497
+ var globalThis = __webpack_require__(4576);
1498
+
1499
+ // https://github.com/tc39/ecma262/pull/3467
1500
+ module.exports = function (METHOD_NAME, ExpectedError) {
1501
+ var Iterator = globalThis.Iterator;
1502
+ var IteratorPrototype = Iterator && Iterator.prototype;
1503
+ var method = IteratorPrototype && IteratorPrototype[METHOD_NAME];
1504
+
1505
+ var CLOSED = false;
1506
+
1507
+ if (method) try {
1508
+ method.call({
1509
+ next: function () { return { done: true }; },
1510
+ 'return': function () { CLOSED = true; }
1511
+ }, -1);
1512
+ } catch (error) {
926
1513
  // https://bugs.webkit.org/show_bug.cgi?id=291195
927
1514
  if (!(error instanceof ExpectedError)) CLOSED = false;
928
1515
  }
@@ -954,6 +1541,206 @@ module.exports =
954
1541
  (function () { return this; })() || Function('return this')();
955
1542
 
956
1543
 
1544
+ /***/ }),
1545
+
1546
+ /***/ 4644:
1547
+ /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
1548
+
1549
+
1550
+ var NATIVE_ARRAY_BUFFER = __webpack_require__(7811);
1551
+ var DESCRIPTORS = __webpack_require__(3724);
1552
+ var globalThis = __webpack_require__(4576);
1553
+ var isCallable = __webpack_require__(4901);
1554
+ var isObject = __webpack_require__(34);
1555
+ var hasOwn = __webpack_require__(9297);
1556
+ var classof = __webpack_require__(6955);
1557
+ var tryToString = __webpack_require__(6823);
1558
+ var createNonEnumerableProperty = __webpack_require__(6699);
1559
+ var defineBuiltIn = __webpack_require__(6840);
1560
+ var defineBuiltInAccessor = __webpack_require__(2106);
1561
+ var isPrototypeOf = __webpack_require__(1625);
1562
+ var getPrototypeOf = __webpack_require__(2787);
1563
+ var setPrototypeOf = __webpack_require__(2967);
1564
+ var wellKnownSymbol = __webpack_require__(8227);
1565
+ var uid = __webpack_require__(3392);
1566
+ var InternalStateModule = __webpack_require__(1181);
1567
+
1568
+ var enforceInternalState = InternalStateModule.enforce;
1569
+ var getInternalState = InternalStateModule.get;
1570
+ var Int8Array = globalThis.Int8Array;
1571
+ var Int8ArrayPrototype = Int8Array && Int8Array.prototype;
1572
+ var Uint8ClampedArray = globalThis.Uint8ClampedArray;
1573
+ var Uint8ClampedArrayPrototype = Uint8ClampedArray && Uint8ClampedArray.prototype;
1574
+ var TypedArray = Int8Array && getPrototypeOf(Int8Array);
1575
+ var TypedArrayPrototype = Int8ArrayPrototype && getPrototypeOf(Int8ArrayPrototype);
1576
+ var ObjectPrototype = Object.prototype;
1577
+ var TypeError = globalThis.TypeError;
1578
+
1579
+ var TO_STRING_TAG = wellKnownSymbol('toStringTag');
1580
+ var TYPED_ARRAY_TAG = uid('TYPED_ARRAY_TAG');
1581
+ var TYPED_ARRAY_CONSTRUCTOR = 'TypedArrayConstructor';
1582
+ // Fixing native typed arrays in Opera Presto crashes the browser, see #595
1583
+ var NATIVE_ARRAY_BUFFER_VIEWS = NATIVE_ARRAY_BUFFER && !!setPrototypeOf && classof(globalThis.opera) !== 'Opera';
1584
+ var TYPED_ARRAY_TAG_REQUIRED = false;
1585
+ var NAME, Constructor, Prototype;
1586
+
1587
+ var TypedArrayConstructorsList = {
1588
+ Int8Array: 1,
1589
+ Uint8Array: 1,
1590
+ Uint8ClampedArray: 1,
1591
+ Int16Array: 2,
1592
+ Uint16Array: 2,
1593
+ Int32Array: 4,
1594
+ Uint32Array: 4,
1595
+ Float32Array: 4,
1596
+ Float64Array: 8
1597
+ };
1598
+
1599
+ var BigIntArrayConstructorsList = {
1600
+ BigInt64Array: 8,
1601
+ BigUint64Array: 8
1602
+ };
1603
+
1604
+ var isView = function isView(it) {
1605
+ if (!isObject(it)) return false;
1606
+ var klass = classof(it);
1607
+ return klass === 'DataView'
1608
+ || hasOwn(TypedArrayConstructorsList, klass)
1609
+ || hasOwn(BigIntArrayConstructorsList, klass);
1610
+ };
1611
+
1612
+ var getTypedArrayConstructor = function (it) {
1613
+ var proto = getPrototypeOf(it);
1614
+ if (!isObject(proto)) return;
1615
+ var state = getInternalState(proto);
1616
+ return (state && hasOwn(state, TYPED_ARRAY_CONSTRUCTOR)) ? state[TYPED_ARRAY_CONSTRUCTOR] : getTypedArrayConstructor(proto);
1617
+ };
1618
+
1619
+ var isTypedArray = function (it) {
1620
+ if (!isObject(it)) return false;
1621
+ var klass = classof(it);
1622
+ return hasOwn(TypedArrayConstructorsList, klass)
1623
+ || hasOwn(BigIntArrayConstructorsList, klass);
1624
+ };
1625
+
1626
+ var aTypedArray = function (it) {
1627
+ if (isTypedArray(it)) return it;
1628
+ throw new TypeError('Target is not a typed array');
1629
+ };
1630
+
1631
+ var aTypedArrayConstructor = function (C) {
1632
+ if (isCallable(C) && (!setPrototypeOf || isPrototypeOf(TypedArray, C))) return C;
1633
+ throw new TypeError(tryToString(C) + ' is not a typed array constructor');
1634
+ };
1635
+
1636
+ var exportTypedArrayMethod = function (KEY, property, forced, options) {
1637
+ if (!DESCRIPTORS) return;
1638
+ if (forced) for (var ARRAY in TypedArrayConstructorsList) {
1639
+ var TypedArrayConstructor = globalThis[ARRAY];
1640
+ if (TypedArrayConstructor && hasOwn(TypedArrayConstructor.prototype, KEY)) try {
1641
+ delete TypedArrayConstructor.prototype[KEY];
1642
+ } catch (error) {
1643
+ // old WebKit bug - some methods are non-configurable
1644
+ try {
1645
+ TypedArrayConstructor.prototype[KEY] = property;
1646
+ } catch (error2) { /* empty */ }
1647
+ }
1648
+ }
1649
+ if (!TypedArrayPrototype[KEY] || forced) {
1650
+ defineBuiltIn(TypedArrayPrototype, KEY, forced ? property
1651
+ : NATIVE_ARRAY_BUFFER_VIEWS && Int8ArrayPrototype[KEY] || property, options);
1652
+ }
1653
+ };
1654
+
1655
+ var exportTypedArrayStaticMethod = function (KEY, property, forced) {
1656
+ var ARRAY, TypedArrayConstructor;
1657
+ if (!DESCRIPTORS) return;
1658
+ if (setPrototypeOf) {
1659
+ if (forced) for (ARRAY in TypedArrayConstructorsList) {
1660
+ TypedArrayConstructor = globalThis[ARRAY];
1661
+ if (TypedArrayConstructor && hasOwn(TypedArrayConstructor, KEY)) try {
1662
+ delete TypedArrayConstructor[KEY];
1663
+ } catch (error) { /* empty */ }
1664
+ }
1665
+ if (!TypedArray[KEY] || forced) {
1666
+ // V8 ~ Chrome 49-50 `%TypedArray%` methods are non-writable non-configurable
1667
+ try {
1668
+ return defineBuiltIn(TypedArray, KEY, forced ? property : NATIVE_ARRAY_BUFFER_VIEWS && TypedArray[KEY] || property);
1669
+ } catch (error) { /* empty */ }
1670
+ } else return;
1671
+ }
1672
+ for (ARRAY in TypedArrayConstructorsList) {
1673
+ TypedArrayConstructor = globalThis[ARRAY];
1674
+ if (TypedArrayConstructor && (!TypedArrayConstructor[KEY] || forced)) {
1675
+ defineBuiltIn(TypedArrayConstructor, KEY, property);
1676
+ }
1677
+ }
1678
+ };
1679
+
1680
+ for (NAME in TypedArrayConstructorsList) {
1681
+ Constructor = globalThis[NAME];
1682
+ Prototype = Constructor && Constructor.prototype;
1683
+ if (Prototype) enforceInternalState(Prototype)[TYPED_ARRAY_CONSTRUCTOR] = Constructor;
1684
+ else NATIVE_ARRAY_BUFFER_VIEWS = false;
1685
+ }
1686
+
1687
+ for (NAME in BigIntArrayConstructorsList) {
1688
+ Constructor = globalThis[NAME];
1689
+ Prototype = Constructor && Constructor.prototype;
1690
+ if (Prototype) enforceInternalState(Prototype)[TYPED_ARRAY_CONSTRUCTOR] = Constructor;
1691
+ }
1692
+
1693
+ // WebKit bug - typed arrays constructors prototype is Object.prototype
1694
+ if (!NATIVE_ARRAY_BUFFER_VIEWS || !isCallable(TypedArray) || TypedArray === Function.prototype) {
1695
+ // eslint-disable-next-line no-shadow -- safe
1696
+ TypedArray = function TypedArray() {
1697
+ throw new TypeError('Incorrect invocation');
1698
+ };
1699
+ if (NATIVE_ARRAY_BUFFER_VIEWS) for (NAME in TypedArrayConstructorsList) {
1700
+ if (globalThis[NAME]) setPrototypeOf(globalThis[NAME], TypedArray);
1701
+ }
1702
+ }
1703
+
1704
+ if (!NATIVE_ARRAY_BUFFER_VIEWS || !TypedArrayPrototype || TypedArrayPrototype === ObjectPrototype) {
1705
+ TypedArrayPrototype = TypedArray.prototype;
1706
+ if (NATIVE_ARRAY_BUFFER_VIEWS) for (NAME in TypedArrayConstructorsList) {
1707
+ if (globalThis[NAME]) setPrototypeOf(globalThis[NAME].prototype, TypedArrayPrototype);
1708
+ }
1709
+ }
1710
+
1711
+ // WebKit bug - one more object in Uint8ClampedArray prototype chain
1712
+ if (NATIVE_ARRAY_BUFFER_VIEWS && getPrototypeOf(Uint8ClampedArrayPrototype) !== TypedArrayPrototype) {
1713
+ setPrototypeOf(Uint8ClampedArrayPrototype, TypedArrayPrototype);
1714
+ }
1715
+
1716
+ if (DESCRIPTORS && !hasOwn(TypedArrayPrototype, TO_STRING_TAG)) {
1717
+ TYPED_ARRAY_TAG_REQUIRED = true;
1718
+ defineBuiltInAccessor(TypedArrayPrototype, TO_STRING_TAG, {
1719
+ configurable: true,
1720
+ get: function () {
1721
+ return isObject(this) ? this[TYPED_ARRAY_TAG] : undefined;
1722
+ }
1723
+ });
1724
+ for (NAME in TypedArrayConstructorsList) if (globalThis[NAME]) {
1725
+ createNonEnumerableProperty(globalThis[NAME], TYPED_ARRAY_TAG, NAME);
1726
+ }
1727
+ }
1728
+
1729
+ module.exports = {
1730
+ NATIVE_ARRAY_BUFFER_VIEWS: NATIVE_ARRAY_BUFFER_VIEWS,
1731
+ TYPED_ARRAY_TAG: TYPED_ARRAY_TAG_REQUIRED && TYPED_ARRAY_TAG,
1732
+ aTypedArray: aTypedArray,
1733
+ aTypedArrayConstructor: aTypedArrayConstructor,
1734
+ exportTypedArrayMethod: exportTypedArrayMethod,
1735
+ exportTypedArrayStaticMethod: exportTypedArrayStaticMethod,
1736
+ getTypedArrayConstructor: getTypedArrayConstructor,
1737
+ isView: isView,
1738
+ isTypedArray: isTypedArray,
1739
+ TypedArray: TypedArray,
1740
+ TypedArrayPrototype: TypedArrayPrototype
1741
+ };
1742
+
1743
+
957
1744
  /***/ }),
958
1745
 
959
1746
  /***/ 4659:
@@ -1040,6 +1827,93 @@ exports.f = DESCRIPTORS ? V8_PROTOTYPE_DEFINE_BUG ? function defineProperty(O, P
1040
1827
  };
1041
1828
 
1042
1829
 
1830
+ /***/ }),
1831
+
1832
+ /***/ 4916:
1833
+ /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
1834
+
1835
+
1836
+ var getBuiltIn = __webpack_require__(7751);
1837
+
1838
+ var createSetLike = function (size) {
1839
+ return {
1840
+ size: size,
1841
+ has: function () {
1842
+ return false;
1843
+ },
1844
+ keys: function () {
1845
+ return {
1846
+ next: function () {
1847
+ return { done: true };
1848
+ }
1849
+ };
1850
+ }
1851
+ };
1852
+ };
1853
+
1854
+ var createSetLikeWithInfinitySize = function (size) {
1855
+ return {
1856
+ size: size,
1857
+ has: function () {
1858
+ return true;
1859
+ },
1860
+ keys: function () {
1861
+ throw new Error('e');
1862
+ }
1863
+ };
1864
+ };
1865
+
1866
+ module.exports = function (name, callback) {
1867
+ var Set = getBuiltIn('Set');
1868
+ try {
1869
+ new Set()[name](createSetLike(0));
1870
+ try {
1871
+ // late spec change, early WebKit ~ Safari 17 implementation does not pass it
1872
+ // https://github.com/tc39/proposal-set-methods/pull/88
1873
+ // also covered engines with
1874
+ // https://bugs.webkit.org/show_bug.cgi?id=272679
1875
+ new Set()[name](createSetLike(-1));
1876
+ return false;
1877
+ } catch (error2) {
1878
+ if (!callback) return true;
1879
+ // early V8 implementation bug
1880
+ // https://issues.chromium.org/issues/351332634
1881
+ try {
1882
+ new Set()[name](createSetLikeWithInfinitySize(-Infinity));
1883
+ return false;
1884
+ } catch (error) {
1885
+ var set = new Set();
1886
+ set.add(1);
1887
+ set.add(2);
1888
+ return callback(set[name](createSetLikeWithInfinitySize(Infinity)));
1889
+ }
1890
+ }
1891
+ } catch (error) {
1892
+ return false;
1893
+ }
1894
+ };
1895
+
1896
+
1897
+ /***/ }),
1898
+
1899
+ /***/ 5024:
1900
+ /***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
1901
+
1902
+
1903
+ var $ = __webpack_require__(6518);
1904
+ var symmetricDifference = __webpack_require__(3650);
1905
+ var setMethodGetKeysBeforeCloning = __webpack_require__(9835);
1906
+ var setMethodAcceptSetLike = __webpack_require__(4916);
1907
+
1908
+ var FORCED = !setMethodAcceptSetLike('symmetricDifference') || !setMethodGetKeysBeforeCloning('symmetricDifference');
1909
+
1910
+ // `Set.prototype.symmetricDifference` method
1911
+ // https://tc39.es/ecma262/#sec-set.prototype.symmetricdifference
1912
+ $({ target: 'Set', proto: true, real: true, forced: FORCED }, {
1913
+ symmetricDifference: symmetricDifference
1914
+ });
1915
+
1916
+
1043
1917
  /***/ }),
1044
1918
 
1045
1919
  /***/ 5031:
@@ -1062,6 +1936,36 @@ module.exports = getBuiltIn('Reflect', 'ownKeys') || function ownKeys(it) {
1062
1936
  };
1063
1937
 
1064
1938
 
1939
+ /***/ }),
1940
+
1941
+ /***/ 5169:
1942
+ /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
1943
+
1944
+
1945
+ var isDetached = __webpack_require__(3238);
1946
+
1947
+ var $TypeError = TypeError;
1948
+
1949
+ module.exports = function (it) {
1950
+ if (isDetached(it)) throw new $TypeError('ArrayBuffer is detached');
1951
+ return it;
1952
+ };
1953
+
1954
+
1955
+ /***/ }),
1956
+
1957
+ /***/ 5170:
1958
+ /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
1959
+
1960
+
1961
+ var uncurryThisAccessor = __webpack_require__(6706);
1962
+ var SetHelpers = __webpack_require__(4402);
1963
+
1964
+ module.exports = uncurryThisAccessor(SetHelpers.proto, 'size', 'get') || function (set) {
1965
+ return set.size;
1966
+ };
1967
+
1968
+
1065
1969
  /***/ }),
1066
1970
 
1067
1971
  /***/ 5397:
@@ -1097,6 +2001,58 @@ module.exports = function (index, length) {
1097
2001
  };
1098
2002
 
1099
2003
 
2004
+ /***/ }),
2005
+
2006
+ /***/ 5636:
2007
+ /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
2008
+
2009
+
2010
+ var globalThis = __webpack_require__(4576);
2011
+ var uncurryThis = __webpack_require__(9504);
2012
+ var uncurryThisAccessor = __webpack_require__(6706);
2013
+ var toIndex = __webpack_require__(7696);
2014
+ var notDetached = __webpack_require__(5169);
2015
+ var arrayBufferByteLength = __webpack_require__(7394);
2016
+ var detachTransferable = __webpack_require__(4483);
2017
+ var PROPER_STRUCTURED_CLONE_TRANSFER = __webpack_require__(1548);
2018
+
2019
+ var structuredClone = globalThis.structuredClone;
2020
+ var ArrayBuffer = globalThis.ArrayBuffer;
2021
+ var DataView = globalThis.DataView;
2022
+ var min = Math.min;
2023
+ var ArrayBufferPrototype = ArrayBuffer.prototype;
2024
+ var DataViewPrototype = DataView.prototype;
2025
+ var slice = uncurryThis(ArrayBufferPrototype.slice);
2026
+ var isResizable = uncurryThisAccessor(ArrayBufferPrototype, 'resizable', 'get');
2027
+ var maxByteLength = uncurryThisAccessor(ArrayBufferPrototype, 'maxByteLength', 'get');
2028
+ var getInt8 = uncurryThis(DataViewPrototype.getInt8);
2029
+ var setInt8 = uncurryThis(DataViewPrototype.setInt8);
2030
+
2031
+ module.exports = (PROPER_STRUCTURED_CLONE_TRANSFER || detachTransferable) && function (arrayBuffer, newLength, preserveResizability) {
2032
+ var byteLength = arrayBufferByteLength(arrayBuffer);
2033
+ var newByteLength = newLength === undefined ? byteLength : toIndex(newLength);
2034
+ var fixedLength = !isResizable || !isResizable(arrayBuffer);
2035
+ var newBuffer;
2036
+ notDetached(arrayBuffer);
2037
+ if (PROPER_STRUCTURED_CLONE_TRANSFER) {
2038
+ arrayBuffer = structuredClone(arrayBuffer, { transfer: [arrayBuffer] });
2039
+ if (byteLength === newByteLength && (preserveResizability || fixedLength)) return arrayBuffer;
2040
+ }
2041
+ if (byteLength >= newByteLength && (!preserveResizability || fixedLength)) {
2042
+ newBuffer = slice(arrayBuffer, 0, newByteLength);
2043
+ } else {
2044
+ var options = preserveResizability && !fixedLength && maxByteLength ? { maxByteLength: maxByteLength(arrayBuffer) } : undefined;
2045
+ newBuffer = new ArrayBuffer(newByteLength, options);
2046
+ var a = new DataView(arrayBuffer);
2047
+ var b = new DataView(newBuffer);
2048
+ var copyLength = min(newByteLength, byteLength);
2049
+ for (var i = 0; i < copyLength; i++) setInt8(b, i, getInt8(a, i));
2050
+ }
2051
+ if (!PROPER_STRUCTURED_CLONE_TRANSFER) detachTransferable(arrayBuffer);
2052
+ return newBuffer;
2053
+ };
2054
+
2055
+
1100
2056
  /***/ }),
1101
2057
 
1102
2058
  /***/ 5745:
@@ -1110,6 +2066,47 @@ module.exports = function (key, value) {
1110
2066
  };
1111
2067
 
1112
2068
 
2069
+ /***/ }),
2070
+
2071
+ /***/ 5854:
2072
+ /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
2073
+
2074
+
2075
+ var toPrimitive = __webpack_require__(2777);
2076
+
2077
+ var $TypeError = TypeError;
2078
+
2079
+ // `ToBigInt` abstract operation
2080
+ // https://tc39.es/ecma262/#sec-tobigint
2081
+ module.exports = function (argument) {
2082
+ var prim = toPrimitive(argument, 'number');
2083
+ if (typeof prim == 'number') throw new $TypeError("Can't convert number to bigint");
2084
+ // eslint-disable-next-line es/no-bigint -- safe
2085
+ return BigInt(prim);
2086
+ };
2087
+
2088
+
2089
+ /***/ }),
2090
+
2091
+ /***/ 5876:
2092
+ /***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
2093
+
2094
+
2095
+ var $ = __webpack_require__(6518);
2096
+ var isSubsetOf = __webpack_require__(3838);
2097
+ var setMethodAcceptSetLike = __webpack_require__(4916);
2098
+
2099
+ var INCORRECT = !setMethodAcceptSetLike('isSubsetOf', function (result) {
2100
+ return result;
2101
+ });
2102
+
2103
+ // `Set.prototype.isSubsetOf` method
2104
+ // https://tc39.es/ecma262/#sec-set.prototype.issubsetof
2105
+ $({ target: 'Set', proto: true, real: true, forced: INCORRECT }, {
2106
+ isSubsetOf: isSubsetOf
2107
+ });
2108
+
2109
+
1113
2110
  /***/ }),
1114
2111
 
1115
2112
  /***/ 5917:
@@ -1183,6 +2180,17 @@ module.exports = function (key) {
1183
2180
  };
1184
2181
 
1185
2182
 
2183
+ /***/ }),
2184
+
2185
+ /***/ 6193:
2186
+ /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
2187
+
2188
+
2189
+ var ENVIRONMENT = __webpack_require__(4215);
2190
+
2191
+ module.exports = ENVIRONMENT === 'NODE';
2192
+
2193
+
1186
2194
  /***/ }),
1187
2195
 
1188
2196
  /***/ 6198:
@@ -1278,6 +2286,30 @@ module.exports = function (options, source) {
1278
2286
  };
1279
2287
 
1280
2288
 
2289
+ /***/ }),
2290
+
2291
+ /***/ 6573:
2292
+ /***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
2293
+
2294
+
2295
+ var DESCRIPTORS = __webpack_require__(3724);
2296
+ var defineBuiltInAccessor = __webpack_require__(2106);
2297
+ var isDetached = __webpack_require__(3238);
2298
+
2299
+ var ArrayBufferPrototype = ArrayBuffer.prototype;
2300
+
2301
+ // `ArrayBuffer.prototype.detached` getter
2302
+ // https://tc39.es/ecma262/#sec-get-arraybuffer.prototype.detached
2303
+ if (DESCRIPTORS && !('detached' in ArrayBufferPrototype)) {
2304
+ defineBuiltInAccessor(ArrayBufferPrototype, 'detached', {
2305
+ configurable: true,
2306
+ get: function detached() {
2307
+ return isDetached(this);
2308
+ }
2309
+ });
2310
+ }
2311
+
2312
+
1281
2313
  /***/ }),
1282
2314
 
1283
2315
  /***/ 6699:
@@ -1296,6 +2328,23 @@ module.exports = DESCRIPTORS ? function (object, key, value) {
1296
2328
  };
1297
2329
 
1298
2330
 
2331
+ /***/ }),
2332
+
2333
+ /***/ 6706:
2334
+ /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
2335
+
2336
+
2337
+ var uncurryThis = __webpack_require__(9504);
2338
+ var aCallable = __webpack_require__(9306);
2339
+
2340
+ module.exports = function (object, key, method) {
2341
+ try {
2342
+ // eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
2343
+ return uncurryThis(aCallable(Object.getOwnPropertyDescriptor(object, key)[method]));
2344
+ } catch (error) { /* empty */ }
2345
+ };
2346
+
2347
+
1299
2348
  /***/ }),
1300
2349
 
1301
2350
  /***/ 6801:
@@ -1341,6 +2390,21 @@ module.exports = function (argument) {
1341
2390
  };
1342
2391
 
1343
2392
 
2393
+ /***/ }),
2394
+
2395
+ /***/ 6837:
2396
+ /***/ (function(module) {
2397
+
2398
+
2399
+ var $TypeError = TypeError;
2400
+ var MAX_SAFE_INTEGER = 0x1FFFFFFFFFFFFF; // 2 ** 53 - 1 == 9007199254740991
2401
+
2402
+ module.exports = function (it) {
2403
+ if (it > MAX_SAFE_INTEGER) throw $TypeError('Maximum allowed index exceeded');
2404
+ return it;
2405
+ };
2406
+
2407
+
1344
2408
  /***/ }),
1345
2409
 
1346
2410
  /***/ 6840:
@@ -1483,6 +2547,21 @@ module.exports = fails(function () {
1483
2547
  } : $Object;
1484
2548
 
1485
2549
 
2550
+ /***/ }),
2551
+
2552
+ /***/ 7080:
2553
+ /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
2554
+
2555
+
2556
+ var has = (__webpack_require__(4402).has);
2557
+
2558
+ // Perform ? RequireInternalSlot(M, [[SetData]])
2559
+ module.exports = function (it) {
2560
+ has(it);
2561
+ return it;
2562
+ };
2563
+
2564
+
1486
2565
  /***/ }),
1487
2566
 
1488
2567
  /***/ 7347:
@@ -1513,6 +2592,28 @@ exports.f = DESCRIPTORS ? $getOwnPropertyDescriptor : function getOwnPropertyDes
1513
2592
  };
1514
2593
 
1515
2594
 
2595
+ /***/ }),
2596
+
2597
+ /***/ 7394:
2598
+ /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
2599
+
2600
+
2601
+ var globalThis = __webpack_require__(4576);
2602
+ var uncurryThisAccessor = __webpack_require__(6706);
2603
+ var classof = __webpack_require__(2195);
2604
+
2605
+ var ArrayBuffer = globalThis.ArrayBuffer;
2606
+ var TypeError = globalThis.TypeError;
2607
+
2608
+ // Includes
2609
+ // - Perform ? RequireInternalSlot(O, [[ArrayBufferData]]).
2610
+ // - If IsSharedArrayBuffer(O) is true, throw a TypeError exception.
2611
+ module.exports = ArrayBuffer && uncurryThisAccessor(ArrayBuffer.prototype, 'byteLength', 'get') || function (O) {
2612
+ if (classof(O) !== 'ArrayBuffer') throw new TypeError('ArrayBuffer expected');
2613
+ return O.byteLength;
2614
+ };
2615
+
2616
+
1516
2617
  /***/ }),
1517
2618
 
1518
2619
  /***/ 7476:
@@ -1591,6 +2692,50 @@ var store = module.exports = globalThis[SHARED] || defineGlobalProperty(SHARED,
1591
2692
  });
1592
2693
 
1593
2694
 
2695
+ /***/ }),
2696
+
2697
+ /***/ 7642:
2698
+ /***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
2699
+
2700
+
2701
+ var $ = __webpack_require__(6518);
2702
+ var difference = __webpack_require__(3440);
2703
+ var fails = __webpack_require__(9039);
2704
+ var setMethodAcceptSetLike = __webpack_require__(4916);
2705
+
2706
+ var SET_LIKE_INCORRECT_BEHAVIOR = !setMethodAcceptSetLike('difference', function (result) {
2707
+ return result.size === 0;
2708
+ });
2709
+
2710
+ var FORCED = SET_LIKE_INCORRECT_BEHAVIOR || fails(function () {
2711
+ // https://bugs.webkit.org/show_bug.cgi?id=288595
2712
+ var setLike = {
2713
+ size: 1,
2714
+ has: function () { return true; },
2715
+ keys: function () {
2716
+ var index = 0;
2717
+ return {
2718
+ next: function () {
2719
+ var done = index++ > 1;
2720
+ if (baseSet.has(1)) baseSet.clear();
2721
+ return { done: done, value: 2 };
2722
+ }
2723
+ };
2724
+ }
2725
+ };
2726
+ // eslint-disable-next-line es/no-set -- testing
2727
+ var baseSet = new Set([1, 2, 3, 4]);
2728
+ // eslint-disable-next-line es/no-set-prototype-difference -- testing
2729
+ return baseSet.difference(setLike).size !== 3;
2730
+ });
2731
+
2732
+ // `Set.prototype.difference` method
2733
+ // https://tc39.es/ecma262/#sec-set.prototype.difference
2734
+ $({ target: 'Set', proto: true, real: true, forced: FORCED }, {
2735
+ difference: difference
2736
+ });
2737
+
2738
+
1594
2739
  /***/ }),
1595
2740
 
1596
2741
  /***/ 7657:
@@ -1647,6 +2792,28 @@ module.exports = {
1647
2792
  };
1648
2793
 
1649
2794
 
2795
+ /***/ }),
2796
+
2797
+ /***/ 7696:
2798
+ /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
2799
+
2800
+
2801
+ var toIntegerOrInfinity = __webpack_require__(1291);
2802
+ var toLength = __webpack_require__(8014);
2803
+
2804
+ var $RangeError = RangeError;
2805
+
2806
+ // `ToIndex` abstract operation
2807
+ // https://tc39.es/ecma262/#sec-toindex
2808
+ module.exports = function (it) {
2809
+ if (it === undefined) return 0;
2810
+ var number = toIntegerOrInfinity(it);
2811
+ var length = toLength(number);
2812
+ if (number !== length) throw new $RangeError('Wrong length or index');
2813
+ return length;
2814
+ };
2815
+
2816
+
1650
2817
  /***/ }),
1651
2818
 
1652
2819
  /***/ 7740:
@@ -1707,6 +2874,59 @@ module.exports = function (namespace, method) {
1707
2874
  };
1708
2875
 
1709
2876
 
2877
+ /***/ }),
2878
+
2879
+ /***/ 7811:
2880
+ /***/ (function(module) {
2881
+
2882
+
2883
+ // eslint-disable-next-line es/no-typed-arrays -- safe
2884
+ module.exports = typeof ArrayBuffer != 'undefined' && typeof DataView != 'undefined';
2885
+
2886
+
2887
+ /***/ }),
2888
+
2889
+ /***/ 7936:
2890
+ /***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
2891
+
2892
+
2893
+ var $ = __webpack_require__(6518);
2894
+ var $transfer = __webpack_require__(5636);
2895
+
2896
+ // `ArrayBuffer.prototype.transferToFixedLength` method
2897
+ // https://tc39.es/ecma262/#sec-arraybuffer.prototype.transfertofixedlength
2898
+ if ($transfer) $({ target: 'ArrayBuffer', proto: true }, {
2899
+ transferToFixedLength: function transferToFixedLength() {
2900
+ return $transfer(this, arguments.length ? arguments[0] : undefined, false);
2901
+ }
2902
+ });
2903
+
2904
+
2905
+ /***/ }),
2906
+
2907
+ /***/ 8004:
2908
+ /***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
2909
+
2910
+
2911
+ var $ = __webpack_require__(6518);
2912
+ var fails = __webpack_require__(9039);
2913
+ var intersection = __webpack_require__(8750);
2914
+ var setMethodAcceptSetLike = __webpack_require__(4916);
2915
+
2916
+ var INCORRECT = !setMethodAcceptSetLike('intersection', function (result) {
2917
+ return result.size === 2 && result.has(1) && result.has(2);
2918
+ }) || fails(function () {
2919
+ // eslint-disable-next-line es/no-array-from, es/no-set, es/no-set-prototype-intersection -- testing
2920
+ return String(Array.from(new Set([1, 2, 3]).intersection(new Set([3, 2])))) !== '3,2';
2921
+ });
2922
+
2923
+ // `Set.prototype.intersection` method
2924
+ // https://tc39.es/ecma262/#sec-set.prototype.intersection
2925
+ $({ target: 'Set', proto: true, real: true, forced: INCORRECT }, {
2926
+ intersection: intersection
2927
+ });
2928
+
2929
+
1710
2930
  /***/ }),
1711
2931
 
1712
2932
  /***/ 8014:
@@ -1725,6 +2945,24 @@ module.exports = function (argument) {
1725
2945
  };
1726
2946
 
1727
2947
 
2948
+ /***/ }),
2949
+
2950
+ /***/ 8100:
2951
+ /***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
2952
+
2953
+
2954
+ var $ = __webpack_require__(6518);
2955
+ var $transfer = __webpack_require__(5636);
2956
+
2957
+ // `ArrayBuffer.prototype.transfer` method
2958
+ // https://tc39.es/ecma262/#sec-arraybuffer.prototype.transfer
2959
+ if ($transfer) $({ target: 'ArrayBuffer', proto: true }, {
2960
+ transfer: function transfer() {
2961
+ return $transfer(this, arguments.length ? arguments[0] : undefined, true);
2962
+ }
2963
+ });
2964
+
2965
+
1728
2966
  /***/ }),
1729
2967
 
1730
2968
  /***/ 8111:
@@ -1823,6 +3061,27 @@ module.exports = function (name) {
1823
3061
  };
1824
3062
 
1825
3063
 
3064
+ /***/ }),
3065
+
3066
+ /***/ 8469:
3067
+ /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
3068
+
3069
+
3070
+ var uncurryThis = __webpack_require__(9504);
3071
+ var iterateSimple = __webpack_require__(507);
3072
+ var SetHelpers = __webpack_require__(4402);
3073
+
3074
+ var Set = SetHelpers.Set;
3075
+ var SetPrototype = SetHelpers.proto;
3076
+ var forEach = uncurryThis(SetPrototype.forEach);
3077
+ var keys = uncurryThis(SetPrototype.keys);
3078
+ var next = keys(new Set()).next;
3079
+
3080
+ module.exports = function (set, fn, interruptible) {
3081
+ return interruptible ? iterateSimple({ iterator: keys(set), next: next }, fn) : forEach(set, fn);
3082
+ };
3083
+
3084
+
1826
3085
  /***/ }),
1827
3086
 
1828
3087
  /***/ 8480:
@@ -1842,6 +3101,32 @@ exports.f = Object.getOwnPropertyNames || function getOwnPropertyNames(O) {
1842
3101
  };
1843
3102
 
1844
3103
 
3104
+ /***/ }),
3105
+
3106
+ /***/ 8527:
3107
+ /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
3108
+
3109
+
3110
+ var aSet = __webpack_require__(7080);
3111
+ var has = (__webpack_require__(4402).has);
3112
+ var size = __webpack_require__(5170);
3113
+ var getSetRecord = __webpack_require__(3789);
3114
+ var iterateSimple = __webpack_require__(507);
3115
+ var iteratorClose = __webpack_require__(9539);
3116
+
3117
+ // `Set.prototype.isSupersetOf` method
3118
+ // https://tc39.es/ecma262/#sec-set.prototype.issupersetof
3119
+ module.exports = function isSupersetOf(other) {
3120
+ var O = aSet(this);
3121
+ var otherRec = getSetRecord(other);
3122
+ if (size(O) < otherRec.size) return false;
3123
+ var iterator = otherRec.getIterator();
3124
+ return iterateSimple(iterator, function (e) {
3125
+ if (!has(O, e)) return iteratorClose(iterator, 'normal', false);
3126
+ }) !== false;
3127
+ };
3128
+
3129
+
1845
3130
  /***/ }),
1846
3131
 
1847
3132
  /***/ 8551:
@@ -1912,6 +3197,44 @@ module.exports = [
1912
3197
  ];
1913
3198
 
1914
3199
 
3200
+ /***/ }),
3201
+
3202
+ /***/ 8750:
3203
+ /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
3204
+
3205
+
3206
+ var aSet = __webpack_require__(7080);
3207
+ var SetHelpers = __webpack_require__(4402);
3208
+ var size = __webpack_require__(5170);
3209
+ var getSetRecord = __webpack_require__(3789);
3210
+ var iterateSet = __webpack_require__(8469);
3211
+ var iterateSimple = __webpack_require__(507);
3212
+
3213
+ var Set = SetHelpers.Set;
3214
+ var add = SetHelpers.add;
3215
+ var has = SetHelpers.has;
3216
+
3217
+ // `Set.prototype.intersection` method
3218
+ // https://tc39.es/ecma262/#sec-set.prototype.intersection
3219
+ module.exports = function intersection(other) {
3220
+ var O = aSet(this);
3221
+ var otherRec = getSetRecord(other);
3222
+ var result = new Set();
3223
+
3224
+ if (size(O) > otherRec.size) {
3225
+ iterateSimple(otherRec.getIterator(), function (e) {
3226
+ if (has(O, e)) add(result, e);
3227
+ });
3228
+ } else {
3229
+ iterateSet(O, function (e) {
3230
+ if (otherRec.includes(e)) add(result, e);
3231
+ });
3232
+ }
3233
+
3234
+ return result;
3235
+ };
3236
+
3237
+
1915
3238
  /***/ }),
1916
3239
 
1917
3240
  /***/ 8773:
@@ -1965,6 +3288,27 @@ module.exports = function (exec) {
1965
3288
  };
1966
3289
 
1967
3290
 
3291
+ /***/ }),
3292
+
3293
+ /***/ 9286:
3294
+ /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
3295
+
3296
+
3297
+ var SetHelpers = __webpack_require__(4402);
3298
+ var iterate = __webpack_require__(8469);
3299
+
3300
+ var Set = SetHelpers.Set;
3301
+ var add = SetHelpers.add;
3302
+
3303
+ module.exports = function (set) {
3304
+ var result = new Set();
3305
+ iterate(set, function (it) {
3306
+ add(result, it);
3307
+ });
3308
+ return result;
3309
+ };
3310
+
3311
+
1968
3312
  /***/ }),
1969
3313
 
1970
3314
  /***/ 9297:
@@ -2002,6 +3346,28 @@ module.exports = function (argument) {
2002
3346
  };
2003
3347
 
2004
3348
 
3349
+ /***/ }),
3350
+
3351
+ /***/ 9429:
3352
+ /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
3353
+
3354
+
3355
+ var globalThis = __webpack_require__(4576);
3356
+ var IS_NODE = __webpack_require__(6193);
3357
+
3358
+ module.exports = function (name) {
3359
+ if (IS_NODE) {
3360
+ try {
3361
+ return globalThis.process.getBuiltinModule(name);
3362
+ } catch (error) { /* empty */ }
3363
+ try {
3364
+ // eslint-disable-next-line no-new-func -- safe
3365
+ return Function('return require("' + name + '")')();
3366
+ } catch (error) { /* empty */ }
3367
+ }
3368
+ };
3369
+
3370
+
2005
3371
  /***/ }),
2006
3372
 
2007
3373
  /***/ 9433:
@@ -2123,6 +3489,53 @@ module.exports = NATIVE_BIND ? call.bind(call) : function () {
2123
3489
  };
2124
3490
 
2125
3491
 
3492
+ /***/ }),
3493
+
3494
+ /***/ 9577:
3495
+ /***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
3496
+
3497
+
3498
+ var arrayWith = __webpack_require__(9928);
3499
+ var ArrayBufferViewCore = __webpack_require__(4644);
3500
+ var isBigIntArray = __webpack_require__(1108);
3501
+ var toIntegerOrInfinity = __webpack_require__(1291);
3502
+ var toBigInt = __webpack_require__(5854);
3503
+
3504
+ var aTypedArray = ArrayBufferViewCore.aTypedArray;
3505
+ var getTypedArrayConstructor = ArrayBufferViewCore.getTypedArrayConstructor;
3506
+ var exportTypedArrayMethod = ArrayBufferViewCore.exportTypedArrayMethod;
3507
+
3508
+ var PROPER_ORDER = function () {
3509
+ try {
3510
+ // eslint-disable-next-line no-throw-literal, es/no-typed-arrays, es/no-array-prototype-with -- required for testing
3511
+ new Int8Array(1)['with'](2, { valueOf: function () { throw 8; } });
3512
+ } catch (error) {
3513
+ // some early implementations, like WebKit, does not follow the final semantic
3514
+ // https://github.com/tc39/proposal-change-array-by-copy/pull/86
3515
+ return error === 8;
3516
+ }
3517
+ }();
3518
+
3519
+ // Bug in WebKit. It should truncate a negative fractional index to zero, but instead throws an error
3520
+ var THROW_ON_NEGATIVE_FRACTIONAL_INDEX = PROPER_ORDER && function () {
3521
+ try {
3522
+ // eslint-disable-next-line es/no-typed-arrays, es/no-array-prototype-with -- required for testing
3523
+ new Int8Array(1)['with'](-0.5, 1);
3524
+ } catch (error) {
3525
+ return true;
3526
+ }
3527
+ }();
3528
+
3529
+ // `%TypedArray%.prototype.with` method
3530
+ // https://tc39.es/ecma262/#sec-%typedarray%.prototype.with
3531
+ exportTypedArrayMethod('with', { 'with': function (index, value) {
3532
+ var O = aTypedArray(this);
3533
+ var relativeIndex = toIntegerOrInfinity(index);
3534
+ var actualValue = isBigIntArray(O) ? toBigInt(value) : +value;
3535
+ return arrayWith(O, getTypedArrayConstructor(O), relativeIndex, actualValue);
3536
+ } }['with'], !PROPER_ORDER || THROW_ON_NEGATIVE_FRACTIONAL_INDEX);
3537
+
3538
+
2126
3539
  /***/ }),
2127
3540
 
2128
3541
  /***/ 9617:
@@ -2164,6 +3577,68 @@ module.exports = {
2164
3577
  };
2165
3578
 
2166
3579
 
3580
+ /***/ }),
3581
+
3582
+ /***/ 9835:
3583
+ /***/ (function(module) {
3584
+
3585
+
3586
+ // Should get iterator record of a set-like object before cloning this
3587
+ // https://bugs.webkit.org/show_bug.cgi?id=289430
3588
+ module.exports = function (METHOD_NAME) {
3589
+ try {
3590
+ // eslint-disable-next-line es/no-set -- needed for test
3591
+ var baseSet = new Set();
3592
+ var setLike = {
3593
+ size: 0,
3594
+ has: function () { return true; },
3595
+ keys: function () {
3596
+ // eslint-disable-next-line es/no-object-defineproperty -- needed for test
3597
+ return Object.defineProperty({}, 'next', {
3598
+ get: function () {
3599
+ baseSet.clear();
3600
+ baseSet.add(4);
3601
+ return function () {
3602
+ return { done: true };
3603
+ };
3604
+ }
3605
+ });
3606
+ }
3607
+ };
3608
+ var result = baseSet[METHOD_NAME](setLike);
3609
+
3610
+ return result.size === 1 && result.values().next().value === 4;
3611
+ } catch (error) {
3612
+ return false;
3613
+ }
3614
+ };
3615
+
3616
+
3617
+ /***/ }),
3618
+
3619
+ /***/ 9928:
3620
+ /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
3621
+
3622
+
3623
+ var lengthOfArrayLike = __webpack_require__(6198);
3624
+ var toIntegerOrInfinity = __webpack_require__(1291);
3625
+
3626
+ var $RangeError = RangeError;
3627
+
3628
+ // https://tc39.es/ecma262/#sec-array.prototype.with
3629
+ // https://tc39.es/ecma262/#sec-%typedarray%.prototype.with
3630
+ module.exports = function (O, C, index, value) {
3631
+ var len = lengthOfArrayLike(O);
3632
+ var relativeIndex = toIntegerOrInfinity(index);
3633
+ var actualIndex = relativeIndex < 0 ? len + relativeIndex : relativeIndex;
3634
+ if (actualIndex >= len || actualIndex < 0) throw new $RangeError('Incorrect index');
3635
+ var A = new C(len);
3636
+ var k = 0;
3637
+ for (; k < len; k++) A[k] = k === actualIndex ? value : O[k];
3638
+ return A;
3639
+ };
3640
+
3641
+
2167
3642
  /***/ })
2168
3643
 
2169
3644
  /******/ });
@@ -2271,13 +3746,27 @@ if (typeof window !== 'undefined') {
2271
3746
  var es_iterator_constructor = __webpack_require__(8111);
2272
3747
  // EXTERNAL MODULE: ./node_modules/core-js/modules/es.iterator.for-each.js
2273
3748
  var es_iterator_for_each = __webpack_require__(7588);
2274
- ;// ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./components/ChatWindow.vue?vue&type=template&id=540425fc&scoped=true
3749
+ ;// ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./components/ChatWindow.vue?vue&type=template&id=159b2107&scoped=true
2275
3750
  var render = function render() {
2276
3751
  var _vm = this,
2277
3752
  _c = _vm._self._c;
2278
3753
  return _c('div', {
2279
3754
  staticClass: "chat"
2280
- }, [_c('div', {
3755
+ }, [_c('audio', {
3756
+ ref: "audioPlayer",
3757
+ staticClass: "hidden-audio",
3758
+ on: {
3759
+ "timeupdate": _vm.onTimeUpdate,
3760
+ "ended": _vm.onAudioEnded
3761
+ }
3762
+ }, [_c('source', {
3763
+ attrs: {
3764
+ "src": _vm.audioSrc,
3765
+ "type": "audio/mp3"
3766
+ }
3767
+ }), _vm._v(" 您的浏览器不支持音频元素。 ")]), _vm.robotStatus !== 'leaving' ? _c('div', {
3768
+ class: ['chat-robot', _vm.robotStatus]
3769
+ }) : _c('div', {
2281
3770
  staticClass: "chat-ai",
2282
3771
  on: {
2283
3772
  "click": _vm.toggleWindow
@@ -2380,7 +3869,10 @@ var render = function render() {
2380
3869
  }), _c('div', {
2381
3870
  staticClass: "chat-window-bar"
2382
3871
  }, [_c('div', {
2383
- staticClass: "chat-window-send"
3872
+ staticClass: "chat-window-send",
3873
+ on: {
3874
+ "click": _vm.handleSend
3875
+ }
2384
3876
  }, [_c('svg', {
2385
3877
  attrs: {
2386
3878
  "xmlns": "http://www.w3.org/2000/svg",
@@ -2422,8 +3914,47 @@ var render = function render() {
2422
3914
  };
2423
3915
  var staticRenderFns = [];
2424
3916
 
3917
+ // EXTERNAL MODULE: ./node_modules/core-js/modules/es.array.push.js
3918
+ var es_array_push = __webpack_require__(4114);
3919
+ // EXTERNAL MODULE: ./node_modules/core-js/modules/es.array-buffer.detached.js
3920
+ var es_array_buffer_detached = __webpack_require__(6573);
3921
+ // EXTERNAL MODULE: ./node_modules/core-js/modules/es.array-buffer.transfer.js
3922
+ var es_array_buffer_transfer = __webpack_require__(8100);
3923
+ // EXTERNAL MODULE: ./node_modules/core-js/modules/es.array-buffer.transfer-to-fixed-length.js
3924
+ var es_array_buffer_transfer_to_fixed_length = __webpack_require__(7936);
3925
+ // EXTERNAL MODULE: ./node_modules/core-js/modules/es.set.difference.v2.js
3926
+ var es_set_difference_v2 = __webpack_require__(7642);
3927
+ // EXTERNAL MODULE: ./node_modules/core-js/modules/es.set.intersection.v2.js
3928
+ var es_set_intersection_v2 = __webpack_require__(8004);
3929
+ // EXTERNAL MODULE: ./node_modules/core-js/modules/es.set.is-disjoint-from.v2.js
3930
+ var es_set_is_disjoint_from_v2 = __webpack_require__(3853);
3931
+ // EXTERNAL MODULE: ./node_modules/core-js/modules/es.set.is-subset-of.v2.js
3932
+ var es_set_is_subset_of_v2 = __webpack_require__(5876);
3933
+ // EXTERNAL MODULE: ./node_modules/core-js/modules/es.set.is-superset-of.v2.js
3934
+ var es_set_is_superset_of_v2 = __webpack_require__(2475);
3935
+ // EXTERNAL MODULE: ./node_modules/core-js/modules/es.set.symmetric-difference.v2.js
3936
+ var es_set_symmetric_difference_v2 = __webpack_require__(5024);
3937
+ // EXTERNAL MODULE: ./node_modules/core-js/modules/es.set.union.v2.js
3938
+ var es_set_union_v2 = __webpack_require__(1698);
3939
+ // EXTERNAL MODULE: ./node_modules/core-js/modules/es.typed-array.with.js
3940
+ var es_typed_array_with = __webpack_require__(9577);
3941
+ ;// ./components/assets/byt.mp3
3942
+ var byt_namespaceObject = __webpack_require__.p + "media/byt.59a033e9.mp3";
2425
3943
  ;// ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./components/ChatWindow.vue?vue&type=script&lang=js
2426
- // ... existing code ...
3944
+
3945
+
3946
+
3947
+
3948
+
3949
+
3950
+
3951
+
3952
+
3953
+
3954
+
3955
+
3956
+ const SAMPLE_RATE = 16000;
3957
+ const FRAME_SIZE = 512;
2427
3958
 
2428
3959
  /* harmony default export */ var ChatWindowvue_type_script_lang_js = ({
2429
3960
  name: 'ChatWindow',
@@ -2435,10 +3966,12 @@ var staticRenderFns = [];
2435
3966
  },
2436
3967
  data() {
2437
3968
  return {
2438
- wsUrl: '',
3969
+ audioSrc: byt_namespaceObject,
3970
+ // 音频URL
2439
3971
  inputMessage: '',
3972
+ // 输入消息
2440
3973
  visible: false,
2441
- // ... existing code ...
3974
+ // 窗口是否可见
2442
3975
  messages: [{
2443
3976
  id: 1,
2444
3977
  type: 'user',
@@ -2463,27 +3996,316 @@ var staticRenderFns = [];
2463
3996
  sender: '用户',
2464
3997
  time: '',
2465
3998
  content: '你好,欢迎来到凌霄大模型AI对话。'
2466
- }]
3999
+ }],
4000
+ // 消息列表
4001
+ isRecording: false,
4002
+ // 正在录制
4003
+ isMicAvailable: false,
4004
+ // 麦克风是否可用
4005
+ mediaRecorder: null,
4006
+ // 媒体录制器
4007
+ ws: null,
4008
+ // WebSocket连接
4009
+ // wsUrl: 'wss://mes.shnfonline.top:8316/ai_model/ws/voice-stream', // WebSocket URL
4010
+ wsUrl: 'ws://192.168.8.9:9999/ai_model/ws/voice-stream',
4011
+ // WebSocket URL
4012
+ isConnected: false,
4013
+ // WebSocket是否已连接
4014
+ audioContext: null,
4015
+ // 音频上下文
4016
+ microphone: null,
4017
+ // 麦克风输入节点
4018
+ processor: null,
4019
+ // 音频处理节点
4020
+ robotStatus: 'leaving',
4021
+ // 机器人状态 waiting, speaking, leaving, entering
4022
+ audioBuffer: new Float32Array(0) // 音频缓冲区
2467
4023
  };
2468
4024
  },
2469
4025
  mounted() {
2470
- this.scrollToBottom();
4026
+ this.initWebSocket();
2471
4027
 
2472
4028
  // 处理append-to-body逻辑
2473
4029
  if (this.appendToBody) {
2474
4030
  this.appendToBodyHandler();
2475
4031
  }
2476
4032
  },
4033
+ unmounted() {
4034
+ this.closeWebSocket();
4035
+ this.stopRecording();
4036
+ },
2477
4037
  beforeDestroy() {
2478
4038
  // 组件销毁前,如果元素被移动到body中,需要移除
2479
4039
  if (this.appendToBody && this.$el.parentElement === document.body) {
2480
4040
  document.body.removeChild(this.$el);
2481
4041
  }
4042
+ this.closeWebSocket();
4043
+ this.stopRecording();
2482
4044
  },
2483
4045
  methods: {
2484
- initWebSocket() {},
2485
- initAudio() {},
2486
- handleSend() {},
4046
+ // 处理音频播放结束事件
4047
+ onAudioEnded() {
4048
+ this.robotStatus = 'leaving';
4049
+ },
4050
+ // 处理音频播放时间更新事件
4051
+ onTimeUpdate() {
4052
+ const audio = this.$refs.audioPlayer;
4053
+ const currentTime = audio.currentTime;
4054
+ if (!this.jumpedTimePoints) {
4055
+ this.jumpedTimePoints = new Set();
4056
+ }
4057
+ const timeJumpPoints = [{
4058
+ time: 30,
4059
+ url: '',
4060
+ title: '生产管理'
4061
+ }, {
4062
+ time: 50,
4063
+ url: '',
4064
+ title: '生产信息总览'
4065
+ }, {
4066
+ time: 60,
4067
+ url: '',
4068
+ title: '能源管理'
4069
+ }, {
4070
+ time: 70,
4071
+ url: '',
4072
+ title: '设备管理'
4073
+ }];
4074
+ // 检查当前时间是否达到跳转点
4075
+ timeJumpPoints.forEach(point => {
4076
+ // 使用一定的误差范围,确保不会因为播放进度的微小差异而错过跳转点
4077
+ if (currentTime >= point.time && currentTime < point.time + 0.5 && !this.jumpedTimePoints.has(point.time)) {
4078
+ this.jumpedTimePoints.add(point.time);
4079
+ console.log(`到达时间点 ${point.time} 秒,跳转到 ${point.title}`);
4080
+ this.$appOptions.store.dispatch('tags/addTagview', {
4081
+ path: point.url,
4082
+ name: point.title,
4083
+ meta: {
4084
+ title: point.title
4085
+ }
4086
+ });
4087
+ this.$appOptions.router.push({
4088
+ path: point.url
4089
+ });
4090
+ }
4091
+ });
4092
+ console.log('当前播放时间:', currentTime);
4093
+ },
4094
+ play() {
4095
+ this.robotStatus = 'speaking';
4096
+ this.$refs.audioPlayer.play();
4097
+ },
4098
+ pause() {
4099
+ this.robotStatus = 'waiting';
4100
+ this.$refs.audioPlayer.pause();
4101
+ },
4102
+ stop() {
4103
+ this.robotStatus = 'leaving';
4104
+ this.$refs.audioPlayer.pause();
4105
+ this.$refs.audioPlayer.currentTime = 0;
4106
+ },
4107
+ initWebSocket() {
4108
+ try {
4109
+ this.ws = new WebSocket(this.wsUrl);
4110
+ this.ws.binaryType = 'arraybuffer';
4111
+ this.ws.onopen = async () => {
4112
+ console.log('连接成功');
4113
+ this.isConnected = true;
4114
+ this.initAudio();
4115
+ };
4116
+ this.ws.onmessage = event => {
4117
+ try {
4118
+ console.log("收到原始消息:", event.data);
4119
+ // 二进制数据直接返回
4120
+ if (event.data instanceof ArrayBuffer) {
4121
+ console.log("收到二进制音频数据");
4122
+ return;
4123
+ }
4124
+ // 解析JSON数据
4125
+ const data = JSON.parse(event.data);
4126
+ console.log("解析后的数据:", data);
4127
+ if (data.type === 'config') {
4128
+ console.log('配置信息:', data);
4129
+ } else if (data.code === 0) {
4130
+ if (data.data.type === 'detection') {
4131
+ console.log('检测到唤醒词...');
4132
+ } else if (data.data.type === 'Collecting') {
4133
+ console.log('状态: 采集中...');
4134
+ } else if (data.data.type === 'command') {
4135
+ // 根据指令改变机器人的状态
4136
+ console.log('状态: 处理中...');
4137
+ this.analyzeAudioCommand(data.data.category);
4138
+ } else {
4139
+ console.log('状态: 其他...');
4140
+ }
4141
+ } else {
4142
+ console.error("服务器返回错误:", data.msg);
4143
+ }
4144
+ } catch (error) {
4145
+ console.error("消息解析错误:", error);
4146
+ }
4147
+ };
4148
+ this.ws.onclose = () => {
4149
+ console.log('连接关闭');
4150
+ this.isConnected = false;
4151
+ if (this.isRecording) {
4152
+ this.stopRecording();
4153
+ }
4154
+ setTimeout(() => {
4155
+ console.log('尝试重新建立连接');
4156
+ if (!this.isConnected) {
4157
+ // 尝试重连
4158
+ this.initWebSocket();
4159
+ }
4160
+ }, 3000);
4161
+ };
4162
+ } catch (error) {
4163
+ console.error('WebSocket连接失败:', error);
4164
+ }
4165
+ },
4166
+ closeWebSocket() {
4167
+ if (this.ws) {
4168
+ this.ws.close();
4169
+ }
4170
+ },
4171
+ async initAudio() {
4172
+ if (this.isRecording) return;
4173
+ try {
4174
+ this.isMicAvailable = true;
4175
+ // 2. 获取麦克风权限
4176
+ const stream = await navigator.mediaDevices.getUserMedia({
4177
+ audio: {
4178
+ sampleRate: SAMPLE_RATE,
4179
+ // 请求指定采样率
4180
+ channelCount: 1,
4181
+ // 单声道
4182
+ noiseSuppression: true,
4183
+ echoCancellation: true
4184
+ }
4185
+ });
4186
+
4187
+ // 3. 创建音频处理环境
4188
+ this.audioContext = new AudioContext({
4189
+ sampleRate: SAMPLE_RATE
4190
+ });
4191
+ const actualSampleRate = this.audioContext.sampleRate;
4192
+ this.microphone = this.audioContext.createMediaStreamSource(stream);
4193
+
4194
+ // 4. 创建音频处理器
4195
+ this.processor = this.audioContext.createScriptProcessor(FRAME_SIZE, 1, 1);
4196
+ this.processor.onaudioprocess = this.processAudio;
4197
+ // 连接处理链
4198
+ this.microphone.connect(this.processor);
4199
+ this.processor.connect(this.audioContext.destination);
4200
+ this.isRecording = true;
4201
+ console.log(`状态: 录音中 (采样率: ${actualSampleRate}Hz)`);
4202
+ } catch (error) {
4203
+ console.error("音频初始化失败:", error);
4204
+ this.isRecording = false;
4205
+ this.isMicAvailable = false;
4206
+ }
4207
+ },
4208
+ async handleSend() {
4209
+ if (!this.inputMessage.trim()) {
4210
+ return;
4211
+ }
4212
+ const message = this.inputMessage.trim();
4213
+ // 发送消息
4214
+ this.messages.push({
4215
+ id: this.messages.length + 1,
4216
+ type: 'user',
4217
+ sender: '用户',
4218
+ time: new Date().toLocaleTimeString(),
4219
+ content: this.inputMessage
4220
+ });
4221
+ this.inputMessage = '';
4222
+ try {
4223
+ const token = `Bearer 24ab99b4-4b59-42a0-84df-1d73a96e70cd`;
4224
+ const response = await fetch('/bytserver/api-model/chat/stream', {
4225
+ timeout: 30000,
4226
+ method: 'POST',
4227
+ headers: {
4228
+ 'Content-Type': 'application/json',
4229
+ 'Authorization': token
4230
+ },
4231
+ body: JSON.stringify({
4232
+ content: message
4233
+ })
4234
+ });
4235
+ if (!response.ok) {
4236
+ throw new Error(`${response.status}`);
4237
+ }
4238
+ console.log('响应状态:', response.status);
4239
+ // 解析响应流
4240
+ this.parseResponseStream(response.body);
4241
+ } catch (error) {
4242
+ console.error('发送消息失败:', error);
4243
+ }
4244
+ },
4245
+ // 分析音频命令
4246
+ analyzeAudioCommand(command) {
4247
+ console.log('分析音频命令:', command);
4248
+ // 解析到开始导览,执行机器人进入动画
4249
+ if (command === 'C5') {
4250
+ this.robotStatus = 'entering';
4251
+ setTimeout(() => {
4252
+ this.robotStatus = 'speaking';
4253
+ this.play();
4254
+ }, 3000);
4255
+ }
4256
+ // 继续导览
4257
+ else if (command === 'C8') {
4258
+ this.robotStatus = 'speaking';
4259
+ this.play();
4260
+ }
4261
+ // 解析到暂停导览,执行机器人暂停动画
4262
+ else if (command === 'C7') {
4263
+ this.robotStatus = 'waiting';
4264
+ this.pause();
4265
+ }
4266
+ // 解析到结束导览,执行机器人离开动画
4267
+ else if (command === 'C6') {
4268
+ this.robotStatus = 'leaving';
4269
+ this.stop();
4270
+ }
4271
+ },
4272
+ // 解析响应流
4273
+ parseResponseStream(body) {
4274
+ console.log(body);
4275
+ },
4276
+ processAudio(event) {
4277
+ if (!this.isRecording) return;
4278
+ // 5. 获取音频数据并处理
4279
+ const inputData = event.inputBuffer.getChannelData(0);
4280
+
4281
+ // 累积音频数据
4282
+ const tempBuffer = new Float32Array(this.audioBuffer.length + inputData.length);
4283
+ tempBuffer.set(this.audioBuffer, 0);
4284
+ tempBuffer.set(inputData, this.audioBuffer.length);
4285
+ this.audioBuffer = tempBuffer;
4286
+
4287
+ // 当累积足够一帧时发送
4288
+ while (this.audioBuffer.length >= FRAME_SIZE) {
4289
+ const frame = this.audioBuffer.slice(0, FRAME_SIZE);
4290
+ this.audioBuffer = this.audioBuffer.slice(FRAME_SIZE);
4291
+
4292
+ // 转换为16位PCM
4293
+ const pcmData = this.floatTo16BitPCM(frame);
4294
+
4295
+ // 通过WebSocket发送
4296
+ if (this.ws && this.ws.readyState === this.ws.OPEN) {
4297
+ this.ws.send(pcmData);
4298
+ }
4299
+ }
4300
+ },
4301
+ floatTo16BitPCM(input) {
4302
+ const output = new Int16Array(input.length);
4303
+ for (let i = 0; i < input.length; i++) {
4304
+ const s = Math.max(-1, Math.min(1, input[i]));
4305
+ output[i] = s < 0 ? s * 0x8000 : s * 0x7FFF;
4306
+ }
4307
+ return output.buffer;
4308
+ },
2487
4309
  toggleWindow() {
2488
4310
  this.visible = !this.visible;
2489
4311
  },
@@ -2507,6 +4329,18 @@ var staticRenderFns = [];
2507
4329
  this.handleSend();
2508
4330
  }
2509
4331
  },
4332
+ stopRecording() {
4333
+ if (!this.isRecording) return;
4334
+ if (this.microphone) this.microphone.disconnect();
4335
+ if (this.processor) this.processor.disconnect();
4336
+ if (this.analyser) this.analyser.disconnect();
4337
+ if (this.audioContext) {
4338
+ this.audioContext.close().catch(e => {
4339
+ console.error("关闭音频上下文失败:", e);
4340
+ });
4341
+ }
4342
+ this.isRecording = false;
4343
+ },
2510
4344
  // 添加到body的处理函数
2511
4345
  appendToBodyHandler() {
2512
4346
  // 确保DOM已经渲染完成
@@ -2534,10 +4368,10 @@ var staticRenderFns = [];
2534
4368
  });
2535
4369
  ;// ./components/ChatWindow.vue?vue&type=script&lang=js
2536
4370
  /* harmony default export */ var components_ChatWindowvue_type_script_lang_js = (ChatWindowvue_type_script_lang_js);
2537
- ;// ./node_modules/mini-css-extract-plugin/dist/loader.js??clonedRuleSet-12.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-12.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-12.use[2]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./components/ChatWindow.vue?vue&type=style&index=0&id=540425fc&prod&scoped=true&lang=css
4371
+ ;// ./node_modules/mini-css-extract-plugin/dist/loader.js??clonedRuleSet-12.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-12.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-12.use[2]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./components/ChatWindow.vue?vue&type=style&index=0&id=159b2107&prod&scoped=true&lang=css
2538
4372
  // extracted by mini-css-extract-plugin
2539
4373
 
2540
- ;// ./components/ChatWindow.vue?vue&type=style&index=0&id=540425fc&prod&scoped=true&lang=css
4374
+ ;// ./components/ChatWindow.vue?vue&type=style&index=0&id=159b2107&prod&scoped=true&lang=css
2541
4375
 
2542
4376
  ;// ./node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js
2543
4377
  /* globals __VUE_SSR_CONTEXT__ */
@@ -2652,7 +4486,7 @@ var component = normalizeComponent(
2652
4486
  staticRenderFns,
2653
4487
  false,
2654
4488
  null,
2655
- "540425fc",
4489
+ "159b2107",
2656
4490
  null
2657
4491
 
2658
4492
  )
@@ -2665,9 +4499,10 @@ var component = normalizeComponent(
2665
4499
  const components = {
2666
4500
  ChatWindow: ChatWindow
2667
4501
  };
2668
- const install = function (Vue) {
4502
+ const install = function (Vue, options = {}) {
2669
4503
  if (install.installed) return;
2670
4504
  install.installed = true;
4505
+ Vue.prototype.$appOptions = options;
2671
4506
  Object.keys(components).forEach(name => {
2672
4507
  Vue.component(name, components[name]);
2673
4508
  });