yxspeechrecognition 1.1.2 → 1.1.4
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/YxSpeechRecognition.common.js +338 -827
- package/YxSpeechRecognition.common.js.map +1 -1
- package/YxSpeechRecognition.umd.js +352 -841
- package/YxSpeechRecognition.umd.js.map +1 -1
- package/YxSpeechRecognition.umd.min.js +2 -2
- package/YxSpeechRecognition.umd.min.js.map +1 -1
- package/package.json +1 -1
|
@@ -311,6 +311,27 @@ function applyToTag (styleElement, obj) {
|
|
|
311
311
|
"use strict";
|
|
312
312
|
module.exports = __WEBPACK_EXTERNAL_MODULE__274__;
|
|
313
313
|
|
|
314
|
+
/***/ }),
|
|
315
|
+
|
|
316
|
+
/***/ 299:
|
|
317
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
318
|
+
|
|
319
|
+
"use strict";
|
|
320
|
+
__webpack_require__.r(__webpack_exports__);
|
|
321
|
+
/* harmony import */ var _node_modules_css_loader_dist_runtime_noSourceMaps_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(601);
|
|
322
|
+
/* harmony import */ var _node_modules_css_loader_dist_runtime_noSourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_css_loader_dist_runtime_noSourceMaps_js__WEBPACK_IMPORTED_MODULE_0__);
|
|
323
|
+
/* harmony import */ var _node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(314);
|
|
324
|
+
/* harmony import */ var _node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__);
|
|
325
|
+
// Imports
|
|
326
|
+
|
|
327
|
+
|
|
328
|
+
var ___CSS_LOADER_EXPORT___ = _node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default()((_node_modules_css_loader_dist_runtime_noSourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default()));
|
|
329
|
+
// Module
|
|
330
|
+
___CSS_LOADER_EXPORT___.push([module.id, ".message-wrapper[data-v-08153425]{display:flex;gap:.1rem;padding-right:calc(var(--444b7b41)*.29)}.message-content[data-v-08153425]{flex:1}.message-content-inner[data-v-08153425]{box-sizing:border-box;padding:calc(var(--444b7b41)*.38);display:flex;flex-direction:column}.message-content-inner[data-v-08153425]:after,.message-content-inner[data-v-08153425]:before{content:\"\";display:block;position:absolute}.message-content__text[data-v-08153425]{font-size:calc(var(--444b7b41)*1);line-height:calc(var(--444b7b41)*1.5);color:#fff}.message-avatar[data-v-08153425]{width:calc(var(--444b7b41)*2.1);height:calc(var(--444b7b41)*2.1);border-radius:100%;box-sizing:border-box;overflow:hidden;flex-shrink:0}.message-avatar img[data-v-08153425]{background-color:hsla(0,0%,100%,0);width:100%;height:100%}.message-type__none[data-v-08153425]{margin-top:.21rem}.message-type__to .message-content[data-v-08153425]{display:flex;justify-content:flex-end;margin-left:calc(var(--444b7b41)*.49)}.message-type__from .message-content[data-v-08153425]{display:flex;justify-content:flex-start;margin-right:calc(var(--444b7b41)*.45)}.message-type__to .message-content-inner[data-v-08153425]{background-color:rgba(98,183,0,.85);box-shadow:inset 0 0 calc(var(--444b7b41)*.57) 0 #fff3b4;border-radius:calc(var(--444b7b41)*.27);position:relative;margin-right:calc(var(--444b7b41)*.45)}.message-type__to .message-content-inner[data-v-08153425]:after{border-top:calc(var(--444b7b41)*.25) solid transparent;border-bottom:calc(var(--444b7b41)*.25) solid transparent;border-left:calc(var(--444b7b41)*.5) solid rgba(98,183,0,.85);transform:translateX(calc(var(--444b7b41)*.43));right:0;top:calc(var(--444b7b41)*.48)}.message-type__from .message-content-inner[data-v-08153425]{background-color:rgba(70,61,255,.85);box-shadow:inset 0 0 calc(var(--444b7b41)*.57) 0 #d4d9ff;border-radius:calc(var(--444b7b41)*.27);position:relative;margin-left:calc(var(--444b7b41)*.49)}.message-type__from .message-content-inner[data-v-08153425]:before{border-top:calc(var(--444b7b41)*.25) solid transparent;border-bottom:calc(var(--444b7b41)*.25) solid transparent;border-right:calc(var(--444b7b41)*.5) solid rgba(70,61,255,.85);transform:translateX(calc(var(--444b7b41)*-.46));left:0;top:calc(var(--444b7b41)*.48)}.message-type__to .message-avatar[data-v-08153425]{overflow:hidden}.message-type__none .message-content-inner[data-v-08153425]{background-color:#fff;position:relative;margin-left:.15rem}", ""]);
|
|
331
|
+
// Exports
|
|
332
|
+
/* harmony default export */ __webpack_exports__["default"] = (___CSS_LOADER_EXPORT___);
|
|
333
|
+
|
|
334
|
+
|
|
314
335
|
/***/ }),
|
|
315
336
|
|
|
316
337
|
/***/ 314:
|
|
@@ -446,330 +467,31 @@ module.exports = function (url, options) {
|
|
|
446
467
|
|
|
447
468
|
/***/ }),
|
|
448
469
|
|
|
449
|
-
/***/
|
|
450
|
-
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
451
|
-
|
|
452
|
-
"use strict";
|
|
453
|
-
__webpack_require__.r(__webpack_exports__);
|
|
454
|
-
/* harmony import */ var _node_modules_css_loader_dist_runtime_noSourceMaps_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(601);
|
|
455
|
-
/* harmony import */ var _node_modules_css_loader_dist_runtime_noSourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_css_loader_dist_runtime_noSourceMaps_js__WEBPACK_IMPORTED_MODULE_0__);
|
|
456
|
-
/* harmony import */ var _node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(314);
|
|
457
|
-
/* harmony import */ var _node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__);
|
|
458
|
-
// Imports
|
|
459
|
-
|
|
460
|
-
|
|
461
|
-
var ___CSS_LOADER_EXPORT___ = _node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default()((_node_modules_css_loader_dist_runtime_noSourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default()));
|
|
462
|
-
// Module
|
|
463
|
-
___CSS_LOADER_EXPORT___.push([module.id, ".message-wrapper[data-v-03109883]{display:flex;gap:.1rem;padding-right:calc(var(--68a87526)*.29)}.message-content[data-v-03109883]{flex:1}.message-content-inner[data-v-03109883]{box-sizing:border-box;padding:calc(var(--68a87526)*.38);display:flex;flex-direction:column}.message-content-inner[data-v-03109883]:after,.message-content-inner[data-v-03109883]:before{content:\"\";display:block;position:absolute}.message-content__text[data-v-03109883]{font-size:calc(var(--68a87526)*1);line-height:calc(var(--68a87526)*1.5);color:#fff}.message-avatar[data-v-03109883]{width:calc(var(--68a87526)*2.1);height:calc(var(--68a87526)*2.1);border-radius:100%;box-sizing:border-box;overflow:hidden;flex-shrink:0}.message-avatar img[data-v-03109883]{background-color:hsla(0,0%,100%,0);width:100%;height:100%}.message-type__none[data-v-03109883]{margin-top:.21rem}.message-type__to .message-content[data-v-03109883]{display:flex;justify-content:flex-end;margin-left:calc(var(--68a87526)*.49)}.message-type__from .message-content[data-v-03109883]{display:flex;justify-content:flex-start;margin-right:calc(var(--68a87526)*.45)}.message-type__to .message-content-inner[data-v-03109883]{background-color:rgba(98,183,0,.85);box-shadow:inset 0 0 calc(var(--68a87526)*.57) 0 #fff3b4;border-radius:calc(var(--68a87526)*.27);position:relative;margin-right:calc(var(--68a87526)*.45)}.message-type__to .message-content-inner[data-v-03109883]:after{border-top:calc(var(--68a87526)*.25) solid transparent;border-bottom:calc(var(--68a87526)*.25) solid transparent;border-left:calc(var(--68a87526)*.5) solid rgba(98,183,0,.85);transform:translateX(calc(var(--68a87526)*.43));right:0;top:calc(var(--68a87526)*.48)}.message-type__from .message-content-inner[data-v-03109883]{background-color:rgba(70,61,255,.85);box-shadow:inset 0 0 calc(var(--68a87526)*.57) 0 #d4d9ff;border-radius:calc(var(--68a87526)*.27);position:relative;margin-left:calc(var(--68a87526)*.49)}.message-type__from .message-content-inner[data-v-03109883]:before{border-top:calc(var(--68a87526)*.25) solid transparent;border-bottom:calc(var(--68a87526)*.25) solid transparent;border-right:calc(var(--68a87526)*.5) solid rgba(70,61,255,.85);transform:translateX(calc(var(--68a87526)*-.46));left:0;top:calc(var(--68a87526)*.48)}.message-type__to .message-avatar[data-v-03109883]{overflow:hidden}.message-type__none .message-content-inner[data-v-03109883]{background-color:#fff;position:relative;margin-left:.15rem}", ""]);
|
|
464
|
-
// Exports
|
|
465
|
-
/* harmony default export */ __webpack_exports__["default"] = (___CSS_LOADER_EXPORT___);
|
|
466
|
-
|
|
467
|
-
|
|
468
|
-
/***/ }),
|
|
469
|
-
|
|
470
|
-
/***/ 601:
|
|
471
|
-
/***/ (function(module) {
|
|
472
|
-
|
|
473
|
-
"use strict";
|
|
474
|
-
|
|
475
|
-
|
|
476
|
-
module.exports = function (i) {
|
|
477
|
-
return i[1];
|
|
478
|
-
};
|
|
479
|
-
|
|
480
|
-
/***/ }),
|
|
481
|
-
|
|
482
|
-
/***/ 615:
|
|
470
|
+
/***/ 543:
|
|
483
471
|
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
484
472
|
|
|
485
473
|
// style-loader: Adds some css to the DOM by adding a <style> tag
|
|
486
474
|
|
|
487
475
|
// load the styles
|
|
488
|
-
var content = __webpack_require__(
|
|
476
|
+
var content = __webpack_require__(299);
|
|
489
477
|
if(content.__esModule) content = content.default;
|
|
490
478
|
if(typeof content === 'string') content = [[module.id, content, '']];
|
|
491
479
|
if(content.locals) module.exports = content.locals;
|
|
492
480
|
// add the styles to the DOM
|
|
493
481
|
var add = (__webpack_require__(258)/* ["default"] */ .A)
|
|
494
|
-
var update = add("
|
|
482
|
+
var update = add("137056cd", content, true, {"sourceMap":false,"shadowMode":false});
|
|
495
483
|
|
|
496
484
|
/***/ }),
|
|
497
485
|
|
|
498
|
-
/***/
|
|
499
|
-
/***/ (function(module
|
|
486
|
+
/***/ 601:
|
|
487
|
+
/***/ (function(module) {
|
|
500
488
|
|
|
501
|
-
|
|
502
|
-
|
|
503
|
-
|
|
504
|
-
|
|
505
|
-
|
|
506
|
-
|
|
507
|
-
var t,
|
|
508
|
-
r = {},
|
|
509
|
-
e = Object.prototype,
|
|
510
|
-
n = e.hasOwnProperty,
|
|
511
|
-
o = "function" == typeof Symbol ? Symbol : {},
|
|
512
|
-
i = o.iterator || "@@iterator",
|
|
513
|
-
a = o.asyncIterator || "@@asyncIterator",
|
|
514
|
-
u = o.toStringTag || "@@toStringTag";
|
|
515
|
-
function c(t, r, e, n) {
|
|
516
|
-
Object.defineProperty(t, r, {
|
|
517
|
-
value: e,
|
|
518
|
-
enumerable: !n,
|
|
519
|
-
configurable: !n,
|
|
520
|
-
writable: !n
|
|
521
|
-
});
|
|
522
|
-
}
|
|
523
|
-
try {
|
|
524
|
-
c({}, "");
|
|
525
|
-
} catch (t) {
|
|
526
|
-
c = function c(t, r, e) {
|
|
527
|
-
return t[r] = e;
|
|
528
|
-
};
|
|
529
|
-
}
|
|
530
|
-
function h(r, e, n, o) {
|
|
531
|
-
var i = e && e.prototype instanceof Generator ? e : Generator,
|
|
532
|
-
a = Object.create(i.prototype);
|
|
533
|
-
return c(a, "_invoke", function (r, e, n) {
|
|
534
|
-
var o = 1;
|
|
535
|
-
return function (i, a) {
|
|
536
|
-
if (3 === o) throw Error("Generator is already running");
|
|
537
|
-
if (4 === o) {
|
|
538
|
-
if ("throw" === i) throw a;
|
|
539
|
-
return {
|
|
540
|
-
value: t,
|
|
541
|
-
done: !0
|
|
542
|
-
};
|
|
543
|
-
}
|
|
544
|
-
for (n.method = i, n.arg = a;;) {
|
|
545
|
-
var u = n.delegate;
|
|
546
|
-
if (u) {
|
|
547
|
-
var c = d(u, n);
|
|
548
|
-
if (c) {
|
|
549
|
-
if (c === f) continue;
|
|
550
|
-
return c;
|
|
551
|
-
}
|
|
552
|
-
}
|
|
553
|
-
if ("next" === n.method) n.sent = n._sent = n.arg;else if ("throw" === n.method) {
|
|
554
|
-
if (1 === o) throw o = 4, n.arg;
|
|
555
|
-
n.dispatchException(n.arg);
|
|
556
|
-
} else "return" === n.method && n.abrupt("return", n.arg);
|
|
557
|
-
o = 3;
|
|
558
|
-
var h = s(r, e, n);
|
|
559
|
-
if ("normal" === h.type) {
|
|
560
|
-
if (o = n.done ? 4 : 2, h.arg === f) continue;
|
|
561
|
-
return {
|
|
562
|
-
value: h.arg,
|
|
563
|
-
done: n.done
|
|
564
|
-
};
|
|
565
|
-
}
|
|
566
|
-
"throw" === h.type && (o = 4, n.method = "throw", n.arg = h.arg);
|
|
567
|
-
}
|
|
568
|
-
};
|
|
569
|
-
}(r, n, new Context(o || [])), !0), a;
|
|
570
|
-
}
|
|
571
|
-
function s(t, r, e) {
|
|
572
|
-
try {
|
|
573
|
-
return {
|
|
574
|
-
type: "normal",
|
|
575
|
-
arg: t.call(r, e)
|
|
576
|
-
};
|
|
577
|
-
} catch (t) {
|
|
578
|
-
return {
|
|
579
|
-
type: "throw",
|
|
580
|
-
arg: t
|
|
581
|
-
};
|
|
582
|
-
}
|
|
583
|
-
}
|
|
584
|
-
r.wrap = h;
|
|
585
|
-
var f = {};
|
|
586
|
-
function Generator() {}
|
|
587
|
-
function GeneratorFunction() {}
|
|
588
|
-
function GeneratorFunctionPrototype() {}
|
|
589
|
-
var l = {};
|
|
590
|
-
c(l, i, function () {
|
|
591
|
-
return this;
|
|
592
|
-
});
|
|
593
|
-
var p = Object.getPrototypeOf,
|
|
594
|
-
y = p && p(p(x([])));
|
|
595
|
-
y && y !== e && n.call(y, i) && (l = y);
|
|
596
|
-
var v = GeneratorFunctionPrototype.prototype = Generator.prototype = Object.create(l);
|
|
597
|
-
function g(t) {
|
|
598
|
-
["next", "throw", "return"].forEach(function (r) {
|
|
599
|
-
c(t, r, function (t) {
|
|
600
|
-
return this._invoke(r, t);
|
|
601
|
-
});
|
|
602
|
-
});
|
|
603
|
-
}
|
|
604
|
-
function AsyncIterator(t, r) {
|
|
605
|
-
function e(o, i, a, u) {
|
|
606
|
-
var c = s(t[o], t, i);
|
|
607
|
-
if ("throw" !== c.type) {
|
|
608
|
-
var h = c.arg,
|
|
609
|
-
f = h.value;
|
|
610
|
-
return f && "object" == _typeof(f) && n.call(f, "__await") ? r.resolve(f.__await).then(function (t) {
|
|
611
|
-
e("next", t, a, u);
|
|
612
|
-
}, function (t) {
|
|
613
|
-
e("throw", t, a, u);
|
|
614
|
-
}) : r.resolve(f).then(function (t) {
|
|
615
|
-
h.value = t, a(h);
|
|
616
|
-
}, function (t) {
|
|
617
|
-
return e("throw", t, a, u);
|
|
618
|
-
});
|
|
619
|
-
}
|
|
620
|
-
u(c.arg);
|
|
621
|
-
}
|
|
622
|
-
var o;
|
|
623
|
-
c(this, "_invoke", function (t, n) {
|
|
624
|
-
function i() {
|
|
625
|
-
return new r(function (r, o) {
|
|
626
|
-
e(t, n, r, o);
|
|
627
|
-
});
|
|
628
|
-
}
|
|
629
|
-
return o = o ? o.then(i, i) : i();
|
|
630
|
-
}, !0);
|
|
631
|
-
}
|
|
632
|
-
function d(r, e) {
|
|
633
|
-
var n = e.method,
|
|
634
|
-
o = r.i[n];
|
|
635
|
-
if (o === t) return e.delegate = null, "throw" === n && r.i["return"] && (e.method = "return", e.arg = t, d(r, e), "throw" === e.method) || "return" !== n && (e.method = "throw", e.arg = new TypeError("The iterator does not provide a '" + n + "' method")), f;
|
|
636
|
-
var i = s(o, r.i, e.arg);
|
|
637
|
-
if ("throw" === i.type) return e.method = "throw", e.arg = i.arg, e.delegate = null, f;
|
|
638
|
-
var a = i.arg;
|
|
639
|
-
return a ? a.done ? (e[r.r] = a.value, e.next = r.n, "return" !== e.method && (e.method = "next", e.arg = t), e.delegate = null, f) : a : (e.method = "throw", e.arg = new TypeError("iterator result is not an object"), e.delegate = null, f);
|
|
640
|
-
}
|
|
641
|
-
function w(t) {
|
|
642
|
-
this.tryEntries.push(t);
|
|
643
|
-
}
|
|
644
|
-
function m(r) {
|
|
645
|
-
var e = r[4] || {};
|
|
646
|
-
e.type = "normal", e.arg = t, r[4] = e;
|
|
647
|
-
}
|
|
648
|
-
function Context(t) {
|
|
649
|
-
this.tryEntries = [[-1]], t.forEach(w, this), this.reset(!0);
|
|
650
|
-
}
|
|
651
|
-
function x(r) {
|
|
652
|
-
if (null != r) {
|
|
653
|
-
var e = r[i];
|
|
654
|
-
if (e) return e.call(r);
|
|
655
|
-
if ("function" == typeof r.next) return r;
|
|
656
|
-
if (!isNaN(r.length)) {
|
|
657
|
-
var o = -1,
|
|
658
|
-
a = function e() {
|
|
659
|
-
for (; ++o < r.length;) if (n.call(r, o)) return e.value = r[o], e.done = !1, e;
|
|
660
|
-
return e.value = t, e.done = !0, e;
|
|
661
|
-
};
|
|
662
|
-
return a.next = a;
|
|
663
|
-
}
|
|
664
|
-
}
|
|
665
|
-
throw new TypeError(_typeof(r) + " is not iterable");
|
|
666
|
-
}
|
|
667
|
-
return GeneratorFunction.prototype = GeneratorFunctionPrototype, c(v, "constructor", GeneratorFunctionPrototype), c(GeneratorFunctionPrototype, "constructor", GeneratorFunction), c(GeneratorFunctionPrototype, u, GeneratorFunction.displayName = "GeneratorFunction"), r.isGeneratorFunction = function (t) {
|
|
668
|
-
var r = "function" == typeof t && t.constructor;
|
|
669
|
-
return !!r && (r === GeneratorFunction || "GeneratorFunction" === (r.displayName || r.name));
|
|
670
|
-
}, r.mark = function (t) {
|
|
671
|
-
return Object.setPrototypeOf ? Object.setPrototypeOf(t, GeneratorFunctionPrototype) : (t.__proto__ = GeneratorFunctionPrototype, c(t, u, "GeneratorFunction")), t.prototype = Object.create(v), t;
|
|
672
|
-
}, r.awrap = function (t) {
|
|
673
|
-
return {
|
|
674
|
-
__await: t
|
|
675
|
-
};
|
|
676
|
-
}, g(AsyncIterator.prototype), c(AsyncIterator.prototype, a, function () {
|
|
677
|
-
return this;
|
|
678
|
-
}), r.AsyncIterator = AsyncIterator, r.async = function (t, e, n, o, i) {
|
|
679
|
-
void 0 === i && (i = Promise);
|
|
680
|
-
var a = new AsyncIterator(h(t, e, n, o), i);
|
|
681
|
-
return r.isGeneratorFunction(e) ? a : a.next().then(function (t) {
|
|
682
|
-
return t.done ? t.value : a.next();
|
|
683
|
-
});
|
|
684
|
-
}, g(v), c(v, u, "Generator"), c(v, i, function () {
|
|
685
|
-
return this;
|
|
686
|
-
}), c(v, "toString", function () {
|
|
687
|
-
return "[object Generator]";
|
|
688
|
-
}), r.keys = function (t) {
|
|
689
|
-
var r = Object(t),
|
|
690
|
-
e = [];
|
|
691
|
-
for (var n in r) e.unshift(n);
|
|
692
|
-
return function t() {
|
|
693
|
-
for (; e.length;) if ((n = e.pop()) in r) return t.value = n, t.done = !1, t;
|
|
694
|
-
return t.done = !0, t;
|
|
695
|
-
};
|
|
696
|
-
}, r.values = x, Context.prototype = {
|
|
697
|
-
constructor: Context,
|
|
698
|
-
reset: function reset(r) {
|
|
699
|
-
if (this.prev = this.next = 0, this.sent = this._sent = t, this.done = !1, this.delegate = null, this.method = "next", this.arg = t, this.tryEntries.forEach(m), !r) for (var e in this) "t" === e.charAt(0) && n.call(this, e) && !isNaN(+e.slice(1)) && (this[e] = t);
|
|
700
|
-
},
|
|
701
|
-
stop: function stop() {
|
|
702
|
-
this.done = !0;
|
|
703
|
-
var t = this.tryEntries[0][4];
|
|
704
|
-
if ("throw" === t.type) throw t.arg;
|
|
705
|
-
return this.rval;
|
|
706
|
-
},
|
|
707
|
-
dispatchException: function dispatchException(r) {
|
|
708
|
-
if (this.done) throw r;
|
|
709
|
-
var e = this;
|
|
710
|
-
function n(t) {
|
|
711
|
-
a.type = "throw", a.arg = r, e.next = t;
|
|
712
|
-
}
|
|
713
|
-
for (var o = e.tryEntries.length - 1; o >= 0; --o) {
|
|
714
|
-
var i = this.tryEntries[o],
|
|
715
|
-
a = i[4],
|
|
716
|
-
u = this.prev,
|
|
717
|
-
c = i[1],
|
|
718
|
-
h = i[2];
|
|
719
|
-
if (-1 === i[0]) return n("end"), !1;
|
|
720
|
-
if (!c && !h) throw Error("try statement without catch or finally");
|
|
721
|
-
if (null != i[0] && i[0] <= u) {
|
|
722
|
-
if (u < c) return this.method = "next", this.arg = t, n(c), !0;
|
|
723
|
-
if (u < h) return n(h), !1;
|
|
724
|
-
}
|
|
725
|
-
}
|
|
726
|
-
},
|
|
727
|
-
abrupt: function abrupt(t, r) {
|
|
728
|
-
for (var e = this.tryEntries.length - 1; e >= 0; --e) {
|
|
729
|
-
var n = this.tryEntries[e];
|
|
730
|
-
if (n[0] > -1 && n[0] <= this.prev && this.prev < n[2]) {
|
|
731
|
-
var o = n;
|
|
732
|
-
break;
|
|
733
|
-
}
|
|
734
|
-
}
|
|
735
|
-
o && ("break" === t || "continue" === t) && o[0] <= r && r <= o[2] && (o = null);
|
|
736
|
-
var i = o ? o[4] : {};
|
|
737
|
-
return i.type = t, i.arg = r, o ? (this.method = "next", this.next = o[2], f) : this.complete(i);
|
|
738
|
-
},
|
|
739
|
-
complete: function complete(t, r) {
|
|
740
|
-
if ("throw" === t.type) throw t.arg;
|
|
741
|
-
return "break" === t.type || "continue" === t.type ? this.next = t.arg : "return" === t.type ? (this.rval = this.arg = t.arg, this.method = "return", this.next = "end") : "normal" === t.type && r && (this.next = r), f;
|
|
742
|
-
},
|
|
743
|
-
finish: function finish(t) {
|
|
744
|
-
for (var r = this.tryEntries.length - 1; r >= 0; --r) {
|
|
745
|
-
var e = this.tryEntries[r];
|
|
746
|
-
if (e[2] === t) return this.complete(e[4], e[3]), m(e), f;
|
|
747
|
-
}
|
|
748
|
-
},
|
|
749
|
-
"catch": function _catch(t) {
|
|
750
|
-
for (var r = this.tryEntries.length - 1; r >= 0; --r) {
|
|
751
|
-
var e = this.tryEntries[r];
|
|
752
|
-
if (e[0] === t) {
|
|
753
|
-
var n = e[4];
|
|
754
|
-
if ("throw" === n.type) {
|
|
755
|
-
var o = n.arg;
|
|
756
|
-
m(e);
|
|
757
|
-
}
|
|
758
|
-
return o;
|
|
759
|
-
}
|
|
760
|
-
}
|
|
761
|
-
throw Error("illegal catch attempt");
|
|
762
|
-
},
|
|
763
|
-
delegateYield: function delegateYield(r, e, n) {
|
|
764
|
-
return this.delegate = {
|
|
765
|
-
i: x(r),
|
|
766
|
-
r: e,
|
|
767
|
-
n: n
|
|
768
|
-
}, "next" === this.method && (this.arg = t), f;
|
|
769
|
-
}
|
|
770
|
-
}, r;
|
|
771
|
-
}
|
|
772
|
-
module.exports = _regeneratorRuntime, module.exports.__esModule = true, module.exports["default"] = module.exports;
|
|
489
|
+
"use strict";
|
|
490
|
+
|
|
491
|
+
|
|
492
|
+
module.exports = function (i) {
|
|
493
|
+
return i[1];
|
|
494
|
+
};
|
|
773
495
|
|
|
774
496
|
/***/ }),
|
|
775
497
|
|
|
@@ -787,44 +509,6 @@ module.exports = __webpack_require__.p + "img/icon4.cae3c66c.png";
|
|
|
787
509
|
"use strict";
|
|
788
510
|
module.exports = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAG0AAABwCAMAAAAjbg4hAAAC+lBMVEUAAAAUGESxxO0WFErF2PTk6/taXOAgF1YnHWMsJXVLP8BWTNy+4vipyPSQmtxbVei2xPhfY/Pg6vlshvKcpNiizfuWx/lyn/47MZo2Loze5vdngP5mfetNQcBugvZ/sf5NQMRMQcNjcvsvJXlLPL6NuPdaU+dbWeuhu+tgafaty+/e6fnV8vpANqasrfjk8P3Ay/O8yu2Ovvjm7P2otelkd/fi8ftphPFLP8B0kfPm7vvB0N23wfXBzfjAyvWJpOjg7/ybz/uWy/1zlv+yuffP6/h5nPJzg8Rghex1nv/L1/xeeeXN0fvR1fctLLNmYeTN0fUzL7bX3Pu7xezb4fukjfXDzPBgXeDIzfJNaeZNWd5NTNREStBTYOOpkPVwZOBUUdg+Q8vY4vbq8PrM1vRod/R2rfvR2/ZYbuhYPsHf5ftcb/G2welOYul3cehHUNY7O8FVefFsaeZ+Z9+cifQnKK9bgvWGeO48MLXAyO5xpPqhtPlYWdzv9/tgjPbG0fFGRs39//6WqvnJ0fR3audJW+WOf/FVZ+1LYuOVg/D1+/zX1/qrvPr97rw1O7miwvmq1fhhdfRLVNkiJKhPcO75uj9+e+2Na9r99c/84pp9tv2Ln/hnlfZuffaImOmyuuQ/RcT6w0222flWZuZGW9iOk9CIq/q8yfBKYN1+ftdxQ7mJQ6ltnvl4iPemteqirN1hVNZhder9+d6EitpkP7v80Gv8ylycruiUpOhLM7G6rPiyoPdtfuljcN2Bk/iHiPB6kuxaaOBwd9dsWdeFwf2YvPmYmvSuuuyqs95/ktR3WNB2hMxyecLFuPl+qe95iOL83IhnTcxgZb9UX7396azc5OldSslMUsA+Srf813vRxfnH6fimmvaecM5NTsxgZcsqKJiKXcxnbb/DgXi0lfFCUOA+SNWGTrsuMaheNKu4lM5RXMzL2uLUp5zmplWdfOdwN6SDOJTZpX6qheqxzeSBicPkv5mlWnjf9vuvgLjHm6/u5NjbxMieYLEud95tAAAATXRSTlMACAsQFv4UHCg4hqj+Iv60/slWP/79+u9lViril0ko72M000Yk/Y1xMlJSPPx5/suNdszo17GQ/pp5cf7hxalprqfn1fPhm17ht9rU58DObPYAABFsSURBVGjetNh/UJN1HAdwjmP9BTvOgD+46j/uOPECkuAKNOuyukoMBgvmpm17dAjjlxAEA2ZbiSBtRCYVtC0BxwQ2adaWMtowhYFCZPyIxFITDEErzczyrvf32TM3p5B213voHw93vr7vz/f7uGfzu+8ERD0ZvyZ67dro6DXxT0b5+/1/CVi2+sW9TAIDA79fsWJldPyyAL//GP+gJX63fFVwnfooolaHhobW14OECDL6P4D4554OC3ssYJFasUl1CsU+kqPqUPXRiGGSiLDQerpjfPh9U1+RxNzVinlWppDJFAr8ZbV37yYpLCwsQaqah8PqAa4Jvw/qGUAfIV8943/nr2Oflcnq6uqCgy32rLeR8zM6FR0dv3V3SZULXBEfcH8UzS3380lUnAwQohGcP39eqLqgmrhos5cPY6jD9qGTk5P83QSsD1y77F+xp25RW0g++uppn8XEoBR+9CMNoC5cmHQk9GLvsHn1roSGOU9OtpYQ7/t4/6WxJzq33JJc3O2jDIqrC5bZR/TWhvMzBRdUvM1dvU379kUQDRxOJbK3Psw5OQMvInDN0tN8oapziyfq4S23jzIyKVjWk5Vlsc3MFPyoEiT0NjUBAxdxNCyU8XAXAHSSfsP1a5c8LC8VNpcz1HC5utaIcl6jXP5snd3R0mLLn8EMeZubZCQKhoN3665b8X1g/dDk7qrmsLVRS00ys6oTXHl5+d7K4S2BEeVbPgoL8GAWR4tAwJuZUf0orO7FuUTUbg71wsjmuW/ywLCTqBcRuMRZidxZ0lxevkV0tVPNGi5HvEYZ+axGAKuBFGvobqpzR2YxDVxNnB8jmU9MvHr16l7CXV+xd0hXUhIRGLXUKEk5lqSznMmtUQYljbS383j52LEUXo8CIXedcSBxTFzL5E1XKoFeDVxx/fr3bF1hScQSw3witwrlhocZqxP0Y66jHzfSzgMmxPHgdfUmIF0KUJW1le7QIJPascR51LNMEi58qVF2uiWkubnzKT+SGE07r6GBYAW8nu6cnJzubva82MWIxWJWdraIDksM1QXOJ664bkG7o9H+i44SJwmKS2queuGhB10nxNreymAN3VkkNq3LAiSRS01ss4GOmR2i5UpYla6C89dN4OrjFx0lykECVEUorMo1R0drQz49xvwWOmaRmIQlorRtQEpL89zZtm1Tn9lUJgKIfmMhrYXNgeGLjrKwyodCYvta82nsAh/nsqXFYclm0VZZ2ze6IzXpG9NrSpnsKd2D5OWZTZQY3ti8c2fhvjWLlXt8J946Xnjoee9ZB4QQjF9w4UchT4A4+rNZiIjbNqFKKRgvKt64sbhmBygvsjTPECKHJ048vrtw72LnMujxlx5//oHbr8XYYPGFKT8W5POQCmladjYrmwqZSElOTnlDd6A0nebgeZM79hgGRLXg2gvtKHevCWDD4gtVmCOPpD8Vmoh7XJWMpKS8cXpTzcaN6cU1NTsg3pY9bG7lm+KQzMLggHvWYm3AMEecRxKrJDUtTSI9mUJj0FyzBOeKh4RukIrfHBsqtMfeW6/lMavjbHyhEHNM4TfgYPZREkmqRDuR8jqNQXtj6xHMEpwrNfhxycUI4RJt3avuxYp5mUpNoyw2oZBUy0cu6pUSiUQ7mezBSLkawiHFML2Snn7KwKmsDclRhP+bFbk8SStJQyQaB6m2nZwVthzdOBPJr3tpX2wdbcQs4XlCW8BOnTLLa8f6umL/pddqa6/dqZWkguvv7XGoCgh2US+n1mWcTX7Pg0H74uDgZZTzAWnr8OFitujNge7VS2NxmoSEXsVxinBUU9PHDj4Ju0xOKduAMRptffHzwcHGKy7M5TE0wQ4fMmgrx0bilsL8V1uz7LLg4BEtRcopmro25wM7LS2TK7WT76GaW4P1yy8ds2cug3N5sJgcJtihw2aq1mRdauOeMra32+x2jbVNuQ63l1HR9HEDTmYfhyun50hrbuyPS5cunZu+cuVKOhNwP9GhtRNmbeW89cUnF68WZ2xt35mZmWkfUlI4KcGKps287UKhFdqA6j1vDdj7JOemLyO423D0L1+5MrewMOfWDrWJxMbQveGLVpMFj7S205qclOMqFJsFQuH2fg4343gyo2GQqPbLr5dgITfPnCli0tg4TS7eAAfsxJSBUytV1y96UOLkHDat9Tj1cuycXCbrgvaDlMOVYtegeaqdoy2Um50dHR0dx2t0cJa+eGmO0dimSrlaXb/cz/9uWFC/RU80xMnhKiWplEzWBM2AQ9JGqnk0VPvElUsd+w9upXNwf4er78IVcNAwyjGLOjTJPzLyboPUj8hDaG3nkFQPTYkHR4ewgC0ty/jmdY9G7xogV7y0X993LWD68k9EmxqSizX4oLfcL/Yum/ccpSkzuTWMUoJJyqBZpNwyDPJ27XN3/ug4CA7YwQ73Em42Xka5qV0Gaa0TnyuTAgJWBdxl2zQaRjsr1XMpiV6TYHcIdf1S+UCKRyPb9uu5zz777HP6dQ7lmEG6l3ButqiYaG3GSuc+tVq9zC8m3hfzD3FqrIx2EQeDWietrs7iQeNg2+7QmHhr54C7tMHSU9BCQsRsO7S1/pGSIB/tEdOIxmhq3UlrHBwTyphbndVQMCHlyI/7ar99585v3poruHSk5tDULhM7O6QbmjzKb5XvXf6g1uoUmVAN2g+0Zs3Nzc0vOC3lUGfv0L52Z8FL8yxgNO/w1C6tWWRqwcZdjfeLjfbRntcrnaKQ9sws+pQQbSQ3V8BXbe8vo75JJhYoxKV9yMRbcy/hWsf+8SPpJ3adMEsGdjap1caV/s+v9PfRuEqnhJ2JZ9TMdic0OdVTnSsQqoRGaCk0pVIVIF9sPQjNHS+NuUi0rQdqTuyaMlMDvK6jRy3iZZHycF8tw8k1E62l1UQ0ua26pUGnElr0krMqRtIJt2/funV/x8K37tyY3T86jkC7xiyAaOOlh6amDHIT792qKrsoPkAa5aNxlFxpXxbRLkqJxhG0CPgFKiGbIzmuIxKhtm/YMD6+f3bhnW/fceXG7OAondmOa8wCFmb3j49j49DN1JBTUpUgWuM34POR7mGjUtnvoDUcEj2Xa8EHN6GqAG84VJvOZfE3bNjw2gH8j3gDjit/nhk8QjJ45ua1WwsYHT+w6dSJE2YqBFpJgmSlf4iP9oiZ0ltaiCZwQivjmgWCfB20ixxKq8NbAUKw1w4cGDzz5wdM3pk+U7SJhGjeC9hUc+hQm6SNR2viKLaP5t+HryhgkW3jcDhlXJuARwYpFFrk1ASx+Pxb2k239ndjY1HRW9CKGqcX3AtoxALydpw6xRYZeDnvlvSIWNHQbk+cxtjTzQwSmrQCgyxQ4UmhjysZAoZqjIax/f0pnb+mCUYC7QazAFx7Ky9vxzHzAKsP2rvQWNYoH22VTNPTDc7hJFgZWyDAidTxESPFmfR0ew0aRklrc6gGitYa3ddobM+OYgOH9YOgOidnJI0lsQT5aDF1TV2E+0FLMG6fw3FapwLBn7FxJb/rCOdVbu4vNHNjeXihHF0Ys6W1L2vMStFpQUt1tSaVxUny99HCgxW9PeCcZdC4UpvNdnqSPCnzZ2bYFHVS5y7HcNNzc8wYPeXICsgcaW2PSZQBraXFmMoauPOBYXXdsS97eob0ZWiWwe7psV0cmqhoyCcgWyI/WUC6ebjBwSL6NG5j8lYR2s2RtoxmUIpN+dAc3FQxbgDfBCU9eqzXrM3gcjMyOCMjI32GgeMVDeAQq0R+FhyjEQ6BtX79+m3raQ3HEh7+4CrR8owilpl8zuyTpIniMEjfhK8KHuCse4XEcuyYxmzUDpyswLcK+Oou30xJ2iaFHg559dVX13tlkyfb8FHcLBFn2ASIJZWljb3rk3n8yrTU1F271nEeRfo5Um0IOB7vPNKnF0lRj9EqKiqAgfOO2yLdDEoWFVwBzJaRyvJU86n35JrolaJ1GS+//OIryjKOVNo2wSPB163tGkqkPTsphEY4xvPptx4Yqm0zyFmiOiPBrKnZiZGLPzH/Q6rdhCgRxnEcHwY9bogJwRB1jQR7MQpkty2IiEASG2y2kmK0lEmFvAm9sRJJdinCizYGNViH3KTDSliz22HccCDQg5dQ8NrZe7/nmRFNsGa27+7BhWU//HeelWfmWdbBcdySg+ODgskBo203E2JqjNUJcIqRD9IVk8M1HCpxp7j+TN7+0vqR58VV5t+dDIeECDhPD1yUaOl0Uq6Jiaoy6r8eGN6cSKwbw05VjOEOySWrqpwKOy3dEHP+YgjTXU5t9LC0QNHetDYjovhwR9G7/f5ggCGpafbx47CzJyfGJFe5vO7SNC3FH3EzlgrwQUwHr6r/ilLqCS3Zktt5kcezpx2P0tFHXTREekfZSMWlmDPRxtO+8jOX71zIH3Aw1mKPhCkHT+ldnWB3aI3WVrMdSYiSxIuJRDAeDyZEUXLioVStXsZc2GbnQxfPuJcYy3F+ysHLVfU+xptqBtlo/ZDl5ma9jer1zaa8tfXhw9ev5XVoJ7ycg2Xs5JYIh/HQTqcfNbXns93CJ+0V+kAwOlrdy9guQDjikbD4X1AOTSgTAjWDYbQ29uK74+h4tJxH770FN/FMa4qZv8fNh3gYukuuiPHyFBQEIbcx7vbuJYkHbRrBXhHsq7ynyjs5Zne58dYZpB5AgXZ5Y6x3e7+2k41ZDVbpx/vvngjvdLqZ3eY9gvGIFxIm5fN5IVf1KGNdH426pNFI18eKJ4UbaGkWcyxNs7ZEHWcknnrIsFAIBWnx0EMhT14Xi+Hwnxh7/lSlso92kHTWkucm4xkeohTFimFakFAIFjD/dO2vJs3zQFqlctviM8SAn6eeIZqDYRCEwcOGRb52zp5R7S+svbyLYFK0ctySBu8kvXqzFfmYcQ4hgQubg7lZZkbD7SA58ZyQ0Kxyl9uRP7Ww9JR2n6cUrLn3YGgFcE2xfhcmtAfQLLaifvmmVIUQzZgNK4IcefCw8NI8hp7X1mqxmFRvgLOjHdOy9waDnq5Uc4IhkmVhJh0JcAya096aGrwGhrOhOc6Vrty8dv36o9f9bkfx7ODpF0SEP4vgdB3OaQVTEzGcdQ0d1TLgzAaDwa/h8Bspo66vMAu1dLrmjCWayZc2Nceymp1wLybbrkvZTElzeRdp78Bt1eS1NFYLLhw0y3l94O7BMa1PTWDZkuo7yizWwGE+tGZLQ8d8aubSFTjGbnLPHkwGbIVdqJmbw8JjykGzyZWylyb7OgxGsYUbnVW68Z2UfnL3PGOrw8uaWspkjTKwNN9pllkUu387+u4xvEKBbqIuLNnC6P9iaKpaoqmwlt1///alQ9iKNvYeOHRo795DLGM77uiy76eGfvo+r7j/+QPYaCG5yvxH7O927W9FQSCK43hmjP9YBglq3LJMrbZAqCCwiy3aQOgR9o32sfd3jsrqXgUjuzd9hRSJ82HmxgJf97vz+bx76Ndi/+vz1Pu7ikvv2X9mlAfq9Y1+O9zsEEJCiL5oNBCDOkGB7EYSaNaUUpHOGr1Q9AXtFRpmOTlttaCGjd7QDKChiaU0ddEuXIRhuGk33G6Hw1RTs8LLZhO2i8IoitaNTtxlvwmFlmba0QnjojJVnV3cWq1XdVOqKIrdKUr1NCeaFlNMdBsx4SEpj/JYdr/fr9eptha4mHSUUnqNJOdTMbrdbofD++G4UrbmTibK9TAOxbFfF1MTjv7AfKD5zZeutuYkKss9P56M52XjKlwuR/z+2Gg5H09i38uzwNLTLHABeRIropWwAQWNwBA+ASW93M2CRE8zLOLIc/PcI9KnPfyJt1eypYLE0dRMcLaD9QVKZSDJhFoFBuWgyEoc29TTDLP2EhZBAuVyl8sgqYAt24Kmy7EHESSZnKrCJUsOWZZp6GrwGGSS1XYMgYJlsqYPQmSzzq5pq8pEHT1TGWSS1d9VUtcPcFbrINMHekDSgusD4fSM+gZIc8do4s4WUQAAAABJRU5ErkJggg==";
|
|
789
511
|
|
|
790
|
-
/***/ }),
|
|
791
|
-
|
|
792
|
-
/***/ 738:
|
|
793
|
-
/***/ (function(module) {
|
|
794
|
-
|
|
795
|
-
function _typeof(o) {
|
|
796
|
-
"@babel/helpers - typeof";
|
|
797
|
-
|
|
798
|
-
return module.exports = _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) {
|
|
799
|
-
return typeof o;
|
|
800
|
-
} : function (o) {
|
|
801
|
-
return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o;
|
|
802
|
-
}, module.exports.__esModule = true, module.exports["default"] = module.exports, _typeof(o);
|
|
803
|
-
}
|
|
804
|
-
module.exports = _typeof, module.exports.__esModule = true, module.exports["default"] = module.exports;
|
|
805
|
-
|
|
806
|
-
/***/ }),
|
|
807
|
-
|
|
808
|
-
/***/ 756:
|
|
809
|
-
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
810
|
-
|
|
811
|
-
// TODO(Babel 8): Remove this file.
|
|
812
|
-
|
|
813
|
-
var runtime = __webpack_require__(633)();
|
|
814
|
-
module.exports = runtime;
|
|
815
|
-
|
|
816
|
-
// Copied from https://github.com/facebook/regenerator/blob/main/packages/runtime/runtime.js#L736=
|
|
817
|
-
try {
|
|
818
|
-
regeneratorRuntime = runtime;
|
|
819
|
-
} catch (accidentalStrictMode) {
|
|
820
|
-
if (typeof globalThis === "object") {
|
|
821
|
-
globalThis.regeneratorRuntime = runtime;
|
|
822
|
-
} else {
|
|
823
|
-
Function("r", "regeneratorRuntime = r")(runtime);
|
|
824
|
-
}
|
|
825
|
-
}
|
|
826
|
-
|
|
827
|
-
|
|
828
512
|
/***/ }),
|
|
829
513
|
|
|
830
514
|
/***/ 780:
|
|
@@ -1352,79 +1036,6 @@ var staticRenderFns = [function () {
|
|
|
1352
1036
|
|
|
1353
1037
|
;// ./package/SpeechRecognition/index.vue?vue&type=template&id=643faf61&scoped=true
|
|
1354
1038
|
|
|
1355
|
-
;// ./node_modules/@babel/runtime/helpers/esm/typeof.js
|
|
1356
|
-
function typeof_typeof(o) {
|
|
1357
|
-
"@babel/helpers - typeof";
|
|
1358
|
-
|
|
1359
|
-
return typeof_typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) {
|
|
1360
|
-
return typeof o;
|
|
1361
|
-
} : function (o) {
|
|
1362
|
-
return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o;
|
|
1363
|
-
}, typeof_typeof(o);
|
|
1364
|
-
}
|
|
1365
|
-
|
|
1366
|
-
;// ./node_modules/@babel/runtime/helpers/esm/toPrimitive.js
|
|
1367
|
-
|
|
1368
|
-
function toPrimitive(t, r) {
|
|
1369
|
-
if ("object" != typeof_typeof(t) || !t) return t;
|
|
1370
|
-
var e = t[Symbol.toPrimitive];
|
|
1371
|
-
if (void 0 !== e) {
|
|
1372
|
-
var i = e.call(t, r || "default");
|
|
1373
|
-
if ("object" != typeof_typeof(i)) return i;
|
|
1374
|
-
throw new TypeError("@@toPrimitive must return a primitive value.");
|
|
1375
|
-
}
|
|
1376
|
-
return ("string" === r ? String : Number)(t);
|
|
1377
|
-
}
|
|
1378
|
-
|
|
1379
|
-
;// ./node_modules/@babel/runtime/helpers/esm/toPropertyKey.js
|
|
1380
|
-
|
|
1381
|
-
|
|
1382
|
-
function toPropertyKey(t) {
|
|
1383
|
-
var i = toPrimitive(t, "string");
|
|
1384
|
-
return "symbol" == typeof_typeof(i) ? i : i + "";
|
|
1385
|
-
}
|
|
1386
|
-
|
|
1387
|
-
;// ./node_modules/@babel/runtime/helpers/esm/defineProperty.js
|
|
1388
|
-
|
|
1389
|
-
function _defineProperty(e, r, t) {
|
|
1390
|
-
return (r = toPropertyKey(r)) in e ? Object.defineProperty(e, r, {
|
|
1391
|
-
value: t,
|
|
1392
|
-
enumerable: !0,
|
|
1393
|
-
configurable: !0,
|
|
1394
|
-
writable: !0
|
|
1395
|
-
}) : e[r] = t, e;
|
|
1396
|
-
}
|
|
1397
|
-
|
|
1398
|
-
;// ./node_modules/@babel/runtime/helpers/esm/asyncToGenerator.js
|
|
1399
|
-
function asyncGeneratorStep(n, t, e, r, o, a, c) {
|
|
1400
|
-
try {
|
|
1401
|
-
var i = n[a](c),
|
|
1402
|
-
u = i.value;
|
|
1403
|
-
} catch (n) {
|
|
1404
|
-
return void e(n);
|
|
1405
|
-
}
|
|
1406
|
-
i.done ? t(u) : Promise.resolve(u).then(r, o);
|
|
1407
|
-
}
|
|
1408
|
-
function _asyncToGenerator(n) {
|
|
1409
|
-
return function () {
|
|
1410
|
-
var t = this,
|
|
1411
|
-
e = arguments;
|
|
1412
|
-
return new Promise(function (r, o) {
|
|
1413
|
-
var a = n.apply(t, e);
|
|
1414
|
-
function _next(n) {
|
|
1415
|
-
asyncGeneratorStep(a, r, o, _next, _throw, "next", n);
|
|
1416
|
-
}
|
|
1417
|
-
function _throw(n) {
|
|
1418
|
-
asyncGeneratorStep(a, r, o, _next, _throw, "throw", n);
|
|
1419
|
-
}
|
|
1420
|
-
_next(void 0);
|
|
1421
|
-
});
|
|
1422
|
-
};
|
|
1423
|
-
}
|
|
1424
|
-
|
|
1425
|
-
// EXTERNAL MODULE: ./node_modules/@babel/runtime/regenerator/index.js
|
|
1426
|
-
var regenerator = __webpack_require__(756);
|
|
1427
|
-
var regenerator_default = /*#__PURE__*/__webpack_require__.n(regenerator);
|
|
1428
1039
|
// EXTERNAL MODULE: ./package/SpeechRecognition/utils/speech/cryptojs.js
|
|
1429
1040
|
var cryptojs = __webpack_require__(950);
|
|
1430
1041
|
;// ./package/SpeechRecognition/utils/speech/getSignature.js
|
|
@@ -1461,71 +1072,19 @@ function signCallback(signStr) {
|
|
|
1461
1072
|
/* harmony default export */ var getSignature = (signCallback);
|
|
1462
1073
|
|
|
1463
1074
|
/** 获取签名 end */
|
|
1464
|
-
;// ./node_modules/@babel/runtime/helpers/esm/classCallCheck.js
|
|
1465
|
-
function _classCallCheck(a, n) {
|
|
1466
|
-
if (!(a instanceof n)) throw new TypeError("Cannot call a class as a function");
|
|
1467
|
-
}
|
|
1468
|
-
|
|
1469
|
-
;// ./node_modules/@babel/runtime/helpers/esm/createClass.js
|
|
1470
|
-
|
|
1471
|
-
function _defineProperties(e, r) {
|
|
1472
|
-
for (var t = 0; t < r.length; t++) {
|
|
1473
|
-
var o = r[t];
|
|
1474
|
-
o.enumerable = o.enumerable || !1, o.configurable = !0, "value" in o && (o.writable = !0), Object.defineProperty(e, toPropertyKey(o.key), o);
|
|
1475
|
-
}
|
|
1476
|
-
}
|
|
1477
|
-
function _createClass(e, r, t) {
|
|
1478
|
-
return r && _defineProperties(e.prototype, r), t && _defineProperties(e, t), Object.defineProperty(e, "prototype", {
|
|
1479
|
-
writable: !1
|
|
1480
|
-
}), e;
|
|
1481
|
-
}
|
|
1482
|
-
|
|
1483
|
-
;// ./node_modules/@babel/runtime/helpers/esm/arrayLikeToArray.js
|
|
1484
|
-
function _arrayLikeToArray(r, a) {
|
|
1485
|
-
(null == a || a > r.length) && (a = r.length);
|
|
1486
|
-
for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e];
|
|
1487
|
-
return n;
|
|
1488
|
-
}
|
|
1489
|
-
|
|
1490
|
-
;// ./node_modules/@babel/runtime/helpers/esm/arrayWithoutHoles.js
|
|
1491
|
-
|
|
1492
|
-
function _arrayWithoutHoles(r) {
|
|
1493
|
-
if (Array.isArray(r)) return _arrayLikeToArray(r);
|
|
1494
|
-
}
|
|
1495
|
-
|
|
1496
|
-
;// ./node_modules/@babel/runtime/helpers/esm/iterableToArray.js
|
|
1497
|
-
function _iterableToArray(r) {
|
|
1498
|
-
if ("undefined" != typeof Symbol && null != r[Symbol.iterator] || null != r["@@iterator"]) return Array.from(r);
|
|
1499
|
-
}
|
|
1500
|
-
|
|
1501
|
-
;// ./node_modules/@babel/runtime/helpers/esm/unsupportedIterableToArray.js
|
|
1502
|
-
|
|
1503
|
-
function _unsupportedIterableToArray(r, a) {
|
|
1504
|
-
if (r) {
|
|
1505
|
-
if ("string" == typeof r) return _arrayLikeToArray(r, a);
|
|
1506
|
-
var t = {}.toString.call(r).slice(8, -1);
|
|
1507
|
-
return "Object" === t && r.constructor && (t = r.constructor.name), "Map" === t || "Set" === t ? Array.from(r) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? _arrayLikeToArray(r, a) : void 0;
|
|
1508
|
-
}
|
|
1509
|
-
}
|
|
1510
|
-
|
|
1511
|
-
;// ./node_modules/@babel/runtime/helpers/esm/nonIterableSpread.js
|
|
1512
|
-
function _nonIterableSpread() {
|
|
1513
|
-
throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
|
1514
|
-
}
|
|
1515
|
-
|
|
1516
|
-
;// ./node_modules/@babel/runtime/helpers/esm/toConsumableArray.js
|
|
1517
|
-
|
|
1518
|
-
|
|
1519
|
-
|
|
1520
|
-
|
|
1521
|
-
function toConsumableArray_toConsumableArray(r) {
|
|
1522
|
-
return _arrayWithoutHoles(r) || _iterableToArray(r) || _unsupportedIterableToArray(r) || _nonIterableSpread();
|
|
1523
|
-
}
|
|
1524
|
-
|
|
1525
1075
|
;// ./package/SpeechRecognition/utils/speech/webrecorder.js
|
|
1526
|
-
|
|
1527
|
-
|
|
1528
|
-
|
|
1076
|
+
function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
|
|
1077
|
+
function _toConsumableArray(r) { return _arrayWithoutHoles(r) || _iterableToArray(r) || _unsupportedIterableToArray(r) || _nonIterableSpread(); }
|
|
1078
|
+
function _nonIterableSpread() { throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
|
|
1079
|
+
function _unsupportedIterableToArray(r, a) { if (r) { if ("string" == typeof r) return _arrayLikeToArray(r, a); var t = {}.toString.call(r).slice(8, -1); return "Object" === t && r.constructor && (t = r.constructor.name), "Map" === t || "Set" === t ? Array.from(r) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? _arrayLikeToArray(r, a) : void 0; } }
|
|
1080
|
+
function _iterableToArray(r) { if ("undefined" != typeof Symbol && null != r[Symbol.iterator] || null != r["@@iterator"]) return Array.from(r); }
|
|
1081
|
+
function _arrayWithoutHoles(r) { if (Array.isArray(r)) return _arrayLikeToArray(r); }
|
|
1082
|
+
function _arrayLikeToArray(r, a) { (null == a || a > r.length) && (a = r.length); for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e]; return n; }
|
|
1083
|
+
function _classCallCheck(a, n) { if (!(a instanceof n)) throw new TypeError("Cannot call a class as a function"); }
|
|
1084
|
+
function _defineProperties(e, r) { for (var t = 0; t < r.length; t++) { var o = r[t]; o.enumerable = o.enumerable || !1, o.configurable = !0, "value" in o && (o.writable = !0), Object.defineProperty(e, _toPropertyKey(o.key), o); } }
|
|
1085
|
+
function _createClass(e, r, t) { return r && _defineProperties(e.prototype, r), t && _defineProperties(e, t), Object.defineProperty(e, "prototype", { writable: !1 }), e; }
|
|
1086
|
+
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
|
|
1087
|
+
function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
|
1529
1088
|
var audioWorkletCode = "\nclass MyProcessor extends AudioWorkletProcessor {\n constructor(options) {\n super(options);\n this.audioData = [];\n this.nextUpdateFrame = 40;\n }\n\n get intervalInFrames() {\n return 200 / 1000 * sampleRate;\n }\n\n process(inputs) {\n // \u53BB\u5904\u7406\u97F3\u9891\u6570\u636E\n // eslint-disable-next-line no-undef\n if (inputs[0][0]) {\n const output = ".concat(to16kHz, "(inputs[0][0], sampleRate);\n const audioData = ").concat(to16BitPCM, "(output);\n const data = [...new Int8Array(audioData.buffer)];\n this.audioData = this.audioData.concat(data);\n this.nextUpdateFrame -= inputs[0][0].length;\n if (this.nextUpdateFrame < 0) {\n this.nextUpdateFrame += this.intervalInFrames;\n this.port.postMessage({\n audioData: new Int8Array(this.audioData)\n });\n this.audioData = [];\n }\n return true;\n }\n }\n}\n\nregisterProcessor('my-processor', MyProcessor);\n");
|
|
1530
1089
|
var audioWorkletBlobURL = window.URL.createObjectURL(new Blob([audioWorkletCode], {
|
|
1531
1090
|
type: 'text/javascript'
|
|
@@ -1654,7 +1213,7 @@ var WebRecorder = /*#__PURE__*/function () {
|
|
|
1654
1213
|
var inputData = e.inputBuffer.getChannelData(0);
|
|
1655
1214
|
var output = to16kHz(inputData, _this.audioContext.sampleRate);
|
|
1656
1215
|
var audioData = to16BitPCM(output);
|
|
1657
|
-
(_this$audioData = _this.audioData).push.apply(_this$audioData,
|
|
1216
|
+
(_this$audioData = _this.audioData).push.apply(_this$audioData, _toConsumableArray(new Int8Array(audioData.buffer)));
|
|
1658
1217
|
if (_this.audioData.length > 6400) {
|
|
1659
1218
|
var audioDataArray = new Int8Array(_this.audioData);
|
|
1660
1219
|
_this.OnReceivedData(audioDataArray);
|
|
@@ -1703,67 +1262,29 @@ var WebRecorder = /*#__PURE__*/function () {
|
|
|
1703
1262
|
}();
|
|
1704
1263
|
|
|
1705
1264
|
window && (window.WebRecorder = WebRecorder);
|
|
1706
|
-
;// ./node_modules/@babel/runtime/helpers/esm/arrayWithHoles.js
|
|
1707
|
-
function _arrayWithHoles(r) {
|
|
1708
|
-
if (Array.isArray(r)) return r;
|
|
1709
|
-
}
|
|
1710
|
-
|
|
1711
|
-
;// ./node_modules/@babel/runtime/helpers/esm/iterableToArrayLimit.js
|
|
1712
|
-
function _iterableToArrayLimit(r, l) {
|
|
1713
|
-
var t = null == r ? null : "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"];
|
|
1714
|
-
if (null != t) {
|
|
1715
|
-
var e,
|
|
1716
|
-
n,
|
|
1717
|
-
i,
|
|
1718
|
-
u,
|
|
1719
|
-
a = [],
|
|
1720
|
-
f = !0,
|
|
1721
|
-
o = !1;
|
|
1722
|
-
try {
|
|
1723
|
-
if (i = (t = t.call(r)).next, 0 === l) {
|
|
1724
|
-
if (Object(t) !== t) return;
|
|
1725
|
-
f = !1;
|
|
1726
|
-
} else for (; !(f = (e = i.call(t)).done) && (a.push(e.value), a.length !== l); f = !0);
|
|
1727
|
-
} catch (r) {
|
|
1728
|
-
o = !0, n = r;
|
|
1729
|
-
} finally {
|
|
1730
|
-
try {
|
|
1731
|
-
if (!f && null != t["return"] && (u = t["return"](), Object(u) !== u)) return;
|
|
1732
|
-
} finally {
|
|
1733
|
-
if (o) throw n;
|
|
1734
|
-
}
|
|
1735
|
-
}
|
|
1736
|
-
return a;
|
|
1737
|
-
}
|
|
1738
|
-
}
|
|
1739
|
-
|
|
1740
|
-
;// ./node_modules/@babel/runtime/helpers/esm/nonIterableRest.js
|
|
1741
|
-
function _nonIterableRest() {
|
|
1742
|
-
throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
|
1743
|
-
}
|
|
1744
|
-
|
|
1745
|
-
;// ./node_modules/@babel/runtime/helpers/esm/slicedToArray.js
|
|
1746
|
-
|
|
1747
|
-
|
|
1748
|
-
|
|
1749
|
-
|
|
1750
|
-
function _slicedToArray(r, e) {
|
|
1751
|
-
return _arrayWithHoles(r) || _iterableToArrayLimit(r, e) || _unsupportedIterableToArray(r, e) || _nonIterableRest();
|
|
1752
|
-
}
|
|
1753
|
-
|
|
1754
1265
|
;// ./package/SpeechRecognition/utils/speech/speechrecognizer.js
|
|
1755
|
-
|
|
1756
|
-
|
|
1757
|
-
|
|
1758
|
-
|
|
1759
|
-
|
|
1266
|
+
function speechrecognizer_typeof(o) { "@babel/helpers - typeof"; return speechrecognizer_typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, speechrecognizer_typeof(o); }
|
|
1267
|
+
function _slicedToArray(r, e) { return _arrayWithHoles(r) || _iterableToArrayLimit(r, e) || speechrecognizer_unsupportedIterableToArray(r, e) || _nonIterableRest(); }
|
|
1268
|
+
function _nonIterableRest() { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
|
|
1269
|
+
function speechrecognizer_unsupportedIterableToArray(r, a) { if (r) { if ("string" == typeof r) return speechrecognizer_arrayLikeToArray(r, a); var t = {}.toString.call(r).slice(8, -1); return "Object" === t && r.constructor && (t = r.constructor.name), "Map" === t || "Set" === t ? Array.from(r) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? speechrecognizer_arrayLikeToArray(r, a) : void 0; } }
|
|
1270
|
+
function speechrecognizer_arrayLikeToArray(r, a) { (null == a || a > r.length) && (a = r.length); for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e]; return n; }
|
|
1271
|
+
function _iterableToArrayLimit(r, l) { var t = null == r ? null : "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (null != t) { var e, n, i, u, a = [], f = !0, o = !1; try { if (i = (t = t.call(r)).next, 0 === l) { if (Object(t) !== t) return; f = !1; } else for (; !(f = (e = i.call(t)).done) && (a.push(e.value), a.length !== l); f = !0); } catch (r) { o = !0, n = r; } finally { try { if (!f && null != t.return && (u = t.return(), Object(u) !== u)) return; } finally { if (o) throw n; } } return a; } }
|
|
1272
|
+
function _arrayWithHoles(r) { if (Array.isArray(r)) return r; }
|
|
1760
1273
|
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
1761
1274
|
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
1762
|
-
|
|
1275
|
+
function _defineProperty(e, r, t) { return (r = speechrecognizer_toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
|
|
1276
|
+
function _regeneratorRuntime() { "use strict"; /*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/babel/babel/blob/main/packages/babel-helpers/LICENSE */ _regeneratorRuntime = function _regeneratorRuntime() { return r; }; var t, r = {}, e = Object.prototype, n = e.hasOwnProperty, o = "function" == typeof Symbol ? Symbol : {}, i = o.iterator || "@@iterator", a = o.asyncIterator || "@@asyncIterator", u = o.toStringTag || "@@toStringTag"; function c(t, r, e, n) { return Object.defineProperty(t, r, { value: e, enumerable: !n, configurable: !n, writable: !n }); } try { c({}, ""); } catch (t) { c = function c(t, r, e) { return t[r] = e; }; } function h(r, e, n, o) { var i = e && e.prototype instanceof Generator ? e : Generator, a = Object.create(i.prototype); return c(a, "_invoke", function (r, e, n) { var o = 1; return function (i, a) { if (3 === o) throw Error("Generator is already running"); if (4 === o) { if ("throw" === i) throw a; return { value: t, done: !0 }; } for (n.method = i, n.arg = a;;) { var u = n.delegate; if (u) { var c = d(u, n); if (c) { if (c === f) continue; return c; } } if ("next" === n.method) n.sent = n._sent = n.arg;else if ("throw" === n.method) { if (1 === o) throw o = 4, n.arg; n.dispatchException(n.arg); } else "return" === n.method && n.abrupt("return", n.arg); o = 3; var h = s(r, e, n); if ("normal" === h.type) { if (o = n.done ? 4 : 2, h.arg === f) continue; return { value: h.arg, done: n.done }; } "throw" === h.type && (o = 4, n.method = "throw", n.arg = h.arg); } }; }(r, n, new Context(o || [])), !0), a; } function s(t, r, e) { try { return { type: "normal", arg: t.call(r, e) }; } catch (t) { return { type: "throw", arg: t }; } } r.wrap = h; var f = {}; function Generator() {} function GeneratorFunction() {} function GeneratorFunctionPrototype() {} var l = {}; c(l, i, function () { return this; }); var p = Object.getPrototypeOf, y = p && p(p(x([]))); y && y !== e && n.call(y, i) && (l = y); var v = GeneratorFunctionPrototype.prototype = Generator.prototype = Object.create(l); function g(t) { ["next", "throw", "return"].forEach(function (r) { c(t, r, function (t) { return this._invoke(r, t); }); }); } function AsyncIterator(t, r) { function e(o, i, a, u) { var c = s(t[o], t, i); if ("throw" !== c.type) { var h = c.arg, f = h.value; return f && "object" == speechrecognizer_typeof(f) && n.call(f, "__await") ? r.resolve(f.__await).then(function (t) { e("next", t, a, u); }, function (t) { e("throw", t, a, u); }) : r.resolve(f).then(function (t) { h.value = t, a(h); }, function (t) { return e("throw", t, a, u); }); } u(c.arg); } var o; c(this, "_invoke", function (t, n) { function i() { return new r(function (r, o) { e(t, n, r, o); }); } return o = o ? o.then(i, i) : i(); }, !0); } function d(r, e) { var n = e.method, o = r.i[n]; if (o === t) return e.delegate = null, "throw" === n && r.i.return && (e.method = "return", e.arg = t, d(r, e), "throw" === e.method) || "return" !== n && (e.method = "throw", e.arg = new TypeError("The iterator does not provide a '" + n + "' method")), f; var i = s(o, r.i, e.arg); if ("throw" === i.type) return e.method = "throw", e.arg = i.arg, e.delegate = null, f; var a = i.arg; return a ? a.done ? (e[r.r] = a.value, e.next = r.n, "return" !== e.method && (e.method = "next", e.arg = t), e.delegate = null, f) : a : (e.method = "throw", e.arg = new TypeError("iterator result is not an object"), e.delegate = null, f); } function w(t) { this.tryEntries.push(t); } function m(r) { var e = r[4] || {}; e.type = "normal", e.arg = t, r[4] = e; } function Context(t) { this.tryEntries = [[-1]], t.forEach(w, this), this.reset(!0); } function x(r) { if (null != r) { var e = r[i]; if (e) return e.call(r); if ("function" == typeof r.next) return r; if (!isNaN(r.length)) { var o = -1, a = function e() { for (; ++o < r.length;) if (n.call(r, o)) return e.value = r[o], e.done = !1, e; return e.value = t, e.done = !0, e; }; return a.next = a; } } throw new TypeError(speechrecognizer_typeof(r) + " is not iterable"); } return GeneratorFunction.prototype = GeneratorFunctionPrototype, c(v, "constructor", GeneratorFunctionPrototype), c(GeneratorFunctionPrototype, "constructor", GeneratorFunction), GeneratorFunction.displayName = c(GeneratorFunctionPrototype, u, "GeneratorFunction"), r.isGeneratorFunction = function (t) { var r = "function" == typeof t && t.constructor; return !!r && (r === GeneratorFunction || "GeneratorFunction" === (r.displayName || r.name)); }, r.mark = function (t) { return Object.setPrototypeOf ? Object.setPrototypeOf(t, GeneratorFunctionPrototype) : (t.__proto__ = GeneratorFunctionPrototype, c(t, u, "GeneratorFunction")), t.prototype = Object.create(v), t; }, r.awrap = function (t) { return { __await: t }; }, g(AsyncIterator.prototype), c(AsyncIterator.prototype, a, function () { return this; }), r.AsyncIterator = AsyncIterator, r.async = function (t, e, n, o, i) { void 0 === i && (i = Promise); var a = new AsyncIterator(h(t, e, n, o), i); return r.isGeneratorFunction(e) ? a : a.next().then(function (t) { return t.done ? t.value : a.next(); }); }, g(v), c(v, u, "Generator"), c(v, i, function () { return this; }), c(v, "toString", function () { return "[object Generator]"; }), r.keys = function (t) { var r = Object(t), e = []; for (var n in r) e.unshift(n); return function t() { for (; e.length;) if ((n = e.pop()) in r) return t.value = n, t.done = !1, t; return t.done = !0, t; }; }, r.values = x, Context.prototype = { constructor: Context, reset: function reset(r) { if (this.prev = this.next = 0, this.sent = this._sent = t, this.done = !1, this.delegate = null, this.method = "next", this.arg = t, this.tryEntries.forEach(m), !r) for (var e in this) "t" === e.charAt(0) && n.call(this, e) && !isNaN(+e.slice(1)) && (this[e] = t); }, stop: function stop() { this.done = !0; var t = this.tryEntries[0][4]; if ("throw" === t.type) throw t.arg; return this.rval; }, dispatchException: function dispatchException(r) { if (this.done) throw r; var e = this; function n(t) { a.type = "throw", a.arg = r, e.next = t; } for (var o = e.tryEntries.length - 1; o >= 0; --o) { var i = this.tryEntries[o], a = i[4], u = this.prev, c = i[1], h = i[2]; if (-1 === i[0]) return n("end"), !1; if (!c && !h) throw Error("try statement without catch or finally"); if (null != i[0] && i[0] <= u) { if (u < c) return this.method = "next", this.arg = t, n(c), !0; if (u < h) return n(h), !1; } } }, abrupt: function abrupt(t, r) { for (var e = this.tryEntries.length - 1; e >= 0; --e) { var n = this.tryEntries[e]; if (n[0] > -1 && n[0] <= this.prev && this.prev < n[2]) { var o = n; break; } } o && ("break" === t || "continue" === t) && o[0] <= r && r <= o[2] && (o = null); var i = o ? o[4] : {}; return i.type = t, i.arg = r, o ? (this.method = "next", this.next = o[2], f) : this.complete(i); }, complete: function complete(t, r) { if ("throw" === t.type) throw t.arg; return "break" === t.type || "continue" === t.type ? this.next = t.arg : "return" === t.type ? (this.rval = this.arg = t.arg, this.method = "return", this.next = "end") : "normal" === t.type && r && (this.next = r), f; }, finish: function finish(t) { for (var r = this.tryEntries.length - 1; r >= 0; --r) { var e = this.tryEntries[r]; if (e[2] === t) return this.complete(e[4], e[3]), m(e), f; } }, catch: function _catch(t) { for (var r = this.tryEntries.length - 1; r >= 0; --r) { var e = this.tryEntries[r]; if (e[0] === t) { var n = e[4]; if ("throw" === n.type) { var o = n.arg; m(e); } return o; } } throw Error("illegal catch attempt"); }, delegateYield: function delegateYield(r, e, n) { return this.delegate = { i: x(r), r: e, n: n }, "next" === this.method && (this.arg = t), f; } }, r; }
|
|
1277
|
+
function asyncGeneratorStep(n, t, e, r, o, a, c) { try { var i = n[a](c), u = i.value; } catch (n) { return void e(n); } i.done ? t(u) : Promise.resolve(u).then(r, o); }
|
|
1278
|
+
function _asyncToGenerator(n) { return function () { var t = this, e = arguments; return new Promise(function (r, o) { var a = n.apply(t, e); function _next(n) { asyncGeneratorStep(a, r, o, _next, _throw, "next", n); } function _throw(n) { asyncGeneratorStep(a, r, o, _next, _throw, "throw", n); } _next(void 0); }); }; }
|
|
1279
|
+
function speechrecognizer_classCallCheck(a, n) { if (!(a instanceof n)) throw new TypeError("Cannot call a class as a function"); }
|
|
1280
|
+
function speechrecognizer_defineProperties(e, r) { for (var t = 0; t < r.length; t++) { var o = r[t]; o.enumerable = o.enumerable || !1, o.configurable = !0, "value" in o && (o.writable = !0), Object.defineProperty(e, speechrecognizer_toPropertyKey(o.key), o); } }
|
|
1281
|
+
function speechrecognizer_createClass(e, r, t) { return r && speechrecognizer_defineProperties(e.prototype, r), t && speechrecognizer_defineProperties(e, t), Object.defineProperty(e, "prototype", { writable: !1 }), e; }
|
|
1282
|
+
function speechrecognizer_toPropertyKey(t) { var i = speechrecognizer_toPrimitive(t, "string"); return "symbol" == speechrecognizer_typeof(i) ? i : i + ""; }
|
|
1283
|
+
function speechrecognizer_toPrimitive(t, r) { if ("object" != speechrecognizer_typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != speechrecognizer_typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
|
1763
1284
|
|
|
1764
1285
|
var NewCredential = /*#__PURE__*/function () {
|
|
1765
1286
|
function NewCredential(query) {
|
|
1766
|
-
|
|
1287
|
+
speechrecognizer_classCallCheck(this, NewCredential);
|
|
1767
1288
|
this.config = {
|
|
1768
1289
|
appid: query.appid,
|
|
1769
1290
|
secretid: query.secretid,
|
|
@@ -1771,7 +1292,7 @@ var NewCredential = /*#__PURE__*/function () {
|
|
|
1771
1292
|
};
|
|
1772
1293
|
this.query = query || null;
|
|
1773
1294
|
}
|
|
1774
|
-
return
|
|
1295
|
+
return speechrecognizer_createClass(NewCredential, [{
|
|
1775
1296
|
key: "formatSignString",
|
|
1776
1297
|
value: function formatSignString(params) {
|
|
1777
1298
|
var strParam = '';
|
|
@@ -1791,14 +1312,14 @@ var NewCredential = /*#__PURE__*/function () {
|
|
|
1791
1312
|
}, {
|
|
1792
1313
|
key: "createQuery",
|
|
1793
1314
|
value: function () {
|
|
1794
|
-
var _createQuery = _asyncToGenerator(/*#__PURE__*/
|
|
1315
|
+
var _createQuery = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee2() {
|
|
1795
1316
|
var params, time, guid, getServerTime, _getServerTime, serverTime;
|
|
1796
|
-
return
|
|
1317
|
+
return _regeneratorRuntime().wrap(function _callee2$(_context2) {
|
|
1797
1318
|
while (1) switch (_context2.prev = _context2.next) {
|
|
1798
1319
|
case 0:
|
|
1799
1320
|
_getServerTime = function _getServerTime3() {
|
|
1800
|
-
_getServerTime = _asyncToGenerator(/*#__PURE__*/
|
|
1801
|
-
return
|
|
1321
|
+
_getServerTime = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee() {
|
|
1322
|
+
return _regeneratorRuntime().wrap(function _callee$(_context) {
|
|
1802
1323
|
while (1) switch (_context.prev = _context.next) {
|
|
1803
1324
|
case 0:
|
|
1804
1325
|
return _context.abrupt("return", new Promise(function (resolve, reject) {
|
|
@@ -1873,9 +1394,9 @@ var NewCredential = /*#__PURE__*/function () {
|
|
|
1873
1394
|
}, {
|
|
1874
1395
|
key: "getSignStr",
|
|
1875
1396
|
value: function () {
|
|
1876
|
-
var _getSignStr = _asyncToGenerator(/*#__PURE__*/
|
|
1397
|
+
var _getSignStr = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee3() {
|
|
1877
1398
|
var queryStr;
|
|
1878
|
-
return
|
|
1399
|
+
return _regeneratorRuntime().wrap(function _callee3$(_context3) {
|
|
1879
1400
|
while (1) switch (_context3.prev = _context3.next) {
|
|
1880
1401
|
case 0:
|
|
1881
1402
|
_context3.next = 2;
|
|
@@ -1898,7 +1419,7 @@ var NewCredential = /*#__PURE__*/function () {
|
|
|
1898
1419
|
}();
|
|
1899
1420
|
var SpeechRecognizer = /*#__PURE__*/function () {
|
|
1900
1421
|
function SpeechRecognizer(params) {
|
|
1901
|
-
|
|
1422
|
+
speechrecognizer_classCallCheck(this, SpeechRecognizer);
|
|
1902
1423
|
this.appid = params.appid || '';
|
|
1903
1424
|
this.secretid = params.secretid || '';
|
|
1904
1425
|
this.socket = null;
|
|
@@ -1910,7 +1431,7 @@ var SpeechRecognizer = /*#__PURE__*/function () {
|
|
|
1910
1431
|
this.isRecognizeComplete = false; // 当前是否识别结束
|
|
1911
1432
|
}
|
|
1912
1433
|
// 暂停识别,关闭连接
|
|
1913
|
-
return
|
|
1434
|
+
return speechrecognizer_createClass(SpeechRecognizer, [{
|
|
1914
1435
|
key: "stop",
|
|
1915
1436
|
value: function stop() {
|
|
1916
1437
|
if (this.socket && this.socket.readyState === 1) {
|
|
@@ -1928,9 +1449,9 @@ var SpeechRecognizer = /*#__PURE__*/function () {
|
|
|
1928
1449
|
}, {
|
|
1929
1450
|
key: "getUrl",
|
|
1930
1451
|
value: function () {
|
|
1931
|
-
var _getUrl = _asyncToGenerator(/*#__PURE__*/
|
|
1452
|
+
var _getUrl = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee4() {
|
|
1932
1453
|
var asr, signStr;
|
|
1933
|
-
return
|
|
1454
|
+
return _regeneratorRuntime().wrap(function _callee4$(_context4) {
|
|
1934
1455
|
while (1) switch (_context4.prev = _context4.next) {
|
|
1935
1456
|
case 0:
|
|
1936
1457
|
// if (!this.appid || !this.secretid) {
|
|
@@ -1957,10 +1478,10 @@ var SpeechRecognizer = /*#__PURE__*/function () {
|
|
|
1957
1478
|
}, {
|
|
1958
1479
|
key: "start",
|
|
1959
1480
|
value: function () {
|
|
1960
|
-
var _start = _asyncToGenerator(/*#__PURE__*/
|
|
1481
|
+
var _start = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee5() {
|
|
1961
1482
|
var _this = this;
|
|
1962
1483
|
var url, self, TIConfig, servicepath, headers, urlParams;
|
|
1963
|
-
return
|
|
1484
|
+
return _regeneratorRuntime().wrap(function _callee5$(_context5) {
|
|
1964
1485
|
while (1) switch (_context5.prev = _context5.next) {
|
|
1965
1486
|
case 0:
|
|
1966
1487
|
_context5.next = 2;
|
|
@@ -2131,13 +1652,17 @@ var SpeechRecognizer = /*#__PURE__*/function () {
|
|
|
2131
1652
|
|
|
2132
1653
|
window && (window.SpeechRecognizer = SpeechRecognizer);
|
|
2133
1654
|
;// ./package/SpeechRecognition/utils/speech/webaudiospeechrecognizer.js
|
|
2134
|
-
|
|
2135
|
-
|
|
1655
|
+
function webaudiospeechrecognizer_typeof(o) { "@babel/helpers - typeof"; return webaudiospeechrecognizer_typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, webaudiospeechrecognizer_typeof(o); }
|
|
1656
|
+
function webaudiospeechrecognizer_classCallCheck(a, n) { if (!(a instanceof n)) throw new TypeError("Cannot call a class as a function"); }
|
|
1657
|
+
function webaudiospeechrecognizer_defineProperties(e, r) { for (var t = 0; t < r.length; t++) { var o = r[t]; o.enumerable = o.enumerable || !1, o.configurable = !0, "value" in o && (o.writable = !0), Object.defineProperty(e, webaudiospeechrecognizer_toPropertyKey(o.key), o); } }
|
|
1658
|
+
function webaudiospeechrecognizer_createClass(e, r, t) { return r && webaudiospeechrecognizer_defineProperties(e.prototype, r), t && webaudiospeechrecognizer_defineProperties(e, t), Object.defineProperty(e, "prototype", { writable: !1 }), e; }
|
|
1659
|
+
function webaudiospeechrecognizer_toPropertyKey(t) { var i = webaudiospeechrecognizer_toPrimitive(t, "string"); return "symbol" == webaudiospeechrecognizer_typeof(i) ? i : i + ""; }
|
|
1660
|
+
function webaudiospeechrecognizer_toPrimitive(t, r) { if ("object" != webaudiospeechrecognizer_typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != webaudiospeechrecognizer_typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
|
2136
1661
|
|
|
2137
1662
|
|
|
2138
1663
|
var WebAudioSpeechRecognizer = /*#__PURE__*/function () {
|
|
2139
1664
|
function WebAudioSpeechRecognizer(params) {
|
|
2140
|
-
|
|
1665
|
+
webaudiospeechrecognizer_classCallCheck(this, WebAudioSpeechRecognizer);
|
|
2141
1666
|
this.params = params;
|
|
2142
1667
|
this.recorder = null;
|
|
2143
1668
|
this.speechRecognizer = null;
|
|
@@ -2145,7 +1670,7 @@ var WebAudioSpeechRecognizer = /*#__PURE__*/function () {
|
|
|
2145
1670
|
this.audioData = [];
|
|
2146
1671
|
this.timer = null;
|
|
2147
1672
|
}
|
|
2148
|
-
return
|
|
1673
|
+
return webaudiospeechrecognizer_createClass(WebAudioSpeechRecognizer, [{
|
|
2149
1674
|
key: "start",
|
|
2150
1675
|
value: function start() {
|
|
2151
1676
|
var _this = this;
|
|
@@ -2256,17 +1781,16 @@ var WebAudioSpeechRecognizer = /*#__PURE__*/function () {
|
|
|
2256
1781
|
}();
|
|
2257
1782
|
|
|
2258
1783
|
window && (window.WebAudioSpeechRecognizer = WebAudioSpeechRecognizer);
|
|
2259
|
-
;// ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-82.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!./package/SpeechRecognition/cpts/Message.vue?vue&type=template&id=
|
|
2260
|
-
var
|
|
1784
|
+
;// ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-82.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!./package/SpeechRecognition/cpts/Message.vue?vue&type=template&id=08153425&scoped=true
|
|
1785
|
+
var Messagevue_type_template_id_08153425_scoped_true_render = function render() {
|
|
2261
1786
|
var _vm = this,
|
|
2262
|
-
_c = _vm._self._c
|
|
2263
|
-
_setup = _vm._self._setupProxy;
|
|
1787
|
+
_c = _vm._self._c;
|
|
2264
1788
|
return _c('div', {
|
|
2265
1789
|
staticClass: "message-wrapper",
|
|
2266
1790
|
class: {
|
|
2267
|
-
'message-type__from': _vm.type ===
|
|
2268
|
-
'message-type__to': _vm.type ===
|
|
2269
|
-
'message-type__none': _vm.type ===
|
|
1791
|
+
'message-type__from': _vm.type === _vm.IMessageType.FROM,
|
|
1792
|
+
'message-type__to': _vm.type === _vm.IMessageType.TO,
|
|
1793
|
+
'message-type__none': _vm.type === _vm.IMessageType.NONE
|
|
2270
1794
|
}
|
|
2271
1795
|
}, [_c('div', {
|
|
2272
1796
|
staticClass: "message-avatar message-avatar__from"
|
|
@@ -2274,7 +1798,7 @@ var Messagevue_type_template_id_03109883_scoped_true_render = function render()
|
|
|
2274
1798
|
directives: [{
|
|
2275
1799
|
name: "show",
|
|
2276
1800
|
rawName: "v-show",
|
|
2277
|
-
value: _vm.type ===
|
|
1801
|
+
value: _vm.type === _vm.IMessageType.FROM,
|
|
2278
1802
|
expression: "type === IMessageType.FROM"
|
|
2279
1803
|
}],
|
|
2280
1804
|
attrs: {
|
|
@@ -2293,7 +1817,7 @@ var Messagevue_type_template_id_03109883_scoped_true_render = function render()
|
|
|
2293
1817
|
directives: [{
|
|
2294
1818
|
name: "show",
|
|
2295
1819
|
rawName: "v-show",
|
|
2296
|
-
value: _vm.type ===
|
|
1820
|
+
value: _vm.type === _vm.IMessageType.TO,
|
|
2297
1821
|
expression: "type === IMessageType.TO"
|
|
2298
1822
|
}],
|
|
2299
1823
|
attrs: {
|
|
@@ -2301,57 +1825,72 @@ var Messagevue_type_template_id_03109883_scoped_true_render = function render()
|
|
|
2301
1825
|
}
|
|
2302
1826
|
})])]);
|
|
2303
1827
|
};
|
|
2304
|
-
var
|
|
1828
|
+
var Messagevue_type_template_id_08153425_scoped_true_staticRenderFns = [];
|
|
2305
1829
|
|
|
2306
|
-
;// ./package/SpeechRecognition/cpts/Message.vue?vue&type=template&id=
|
|
1830
|
+
;// ./package/SpeechRecognition/cpts/Message.vue?vue&type=template&id=08153425&scoped=true
|
|
2307
1831
|
|
|
2308
1832
|
// EXTERNAL MODULE: external {"commonjs":"vue","commonjs2":"vue","root":"Vue"}
|
|
2309
1833
|
var external_commonjs_vue_commonjs2_vue_root_Vue_ = __webpack_require__(274);
|
|
2310
|
-
;// ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-82.use[1]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./package/SpeechRecognition/cpts/Message.vue?vue&type=script&
|
|
2311
|
-
|
|
2312
|
-
|
|
2313
|
-
/* harmony default export */ var Messagevue_type_script_setup_true_lang_js = ({
|
|
2314
|
-
__name: 'Message',
|
|
1834
|
+
;// ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-82.use[1]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./package/SpeechRecognition/cpts/Message.vue?vue&type=script&lang=js
|
|
1835
|
+
var __default__ = {
|
|
2315
1836
|
props: {
|
|
2316
|
-
type:
|
|
2317
|
-
|
|
2318
|
-
|
|
2319
|
-
|
|
1837
|
+
type: {
|
|
1838
|
+
type: String,
|
|
1839
|
+
default: ""
|
|
1840
|
+
},
|
|
1841
|
+
content: {
|
|
1842
|
+
type: String,
|
|
1843
|
+
default: ""
|
|
1844
|
+
},
|
|
1845
|
+
contentStyle: {
|
|
1846
|
+
type: String,
|
|
1847
|
+
default: ""
|
|
1848
|
+
},
|
|
1849
|
+
size: {
|
|
1850
|
+
type: String,
|
|
1851
|
+
default: ""
|
|
1852
|
+
}
|
|
2320
1853
|
},
|
|
2321
|
-
|
|
2322
|
-
|
|
2323
|
-
|
|
2324
|
-
|
|
2325
|
-
"
|
|
2326
|
-
|
|
2327
|
-
|
|
2328
|
-
var IMessageType = {
|
|
2329
|
-
NONE: "NONE",
|
|
2330
|
-
FROM: "FROM",
|
|
2331
|
-
TO: "TO"
|
|
1854
|
+
data: function data() {
|
|
1855
|
+
return {
|
|
1856
|
+
IMessageType: {
|
|
1857
|
+
NONE: "NONE",
|
|
1858
|
+
FROM: "FROM",
|
|
1859
|
+
TO: "TO"
|
|
1860
|
+
}
|
|
2332
1861
|
};
|
|
2333
|
-
|
|
1862
|
+
},
|
|
1863
|
+
computed: {
|
|
1864
|
+
htmlFontSize: function htmlFontSize() {
|
|
2334
1865
|
var fontSize = "42px";
|
|
2335
|
-
if (
|
|
1866
|
+
if (this.size == "medium") {
|
|
2336
1867
|
fontSize = "28px";
|
|
2337
1868
|
} else {
|
|
2338
1869
|
fontSize = "42px";
|
|
2339
1870
|
}
|
|
2340
1871
|
return fontSize;
|
|
2341
|
-
}
|
|
1872
|
+
}
|
|
1873
|
+
}
|
|
1874
|
+
};
|
|
1875
|
+
|
|
1876
|
+
var __injectCSSVars__ = function __injectCSSVars__() {
|
|
1877
|
+
(0,external_commonjs_vue_commonjs2_vue_root_Vue_.useCssVars)(function (_vm, _setup) {
|
|
2342
1878
|
return {
|
|
2343
|
-
|
|
2344
|
-
IMessageType: IMessageType,
|
|
2345
|
-
props: props,
|
|
2346
|
-
htmlFontSize: htmlFontSize
|
|
1879
|
+
"444b7b41": _vm.htmlFontSize
|
|
2347
1880
|
};
|
|
2348
|
-
}
|
|
2349
|
-
}
|
|
2350
|
-
|
|
2351
|
-
|
|
2352
|
-
|
|
2353
|
-
|
|
2354
|
-
|
|
1881
|
+
});
|
|
1882
|
+
};
|
|
1883
|
+
var __setup__ = __default__.setup;
|
|
1884
|
+
__default__.setup = __setup__ ? function (props, ctx) {
|
|
1885
|
+
__injectCSSVars__();
|
|
1886
|
+
return __setup__(props, ctx);
|
|
1887
|
+
} : __injectCSSVars__;
|
|
1888
|
+
/* harmony default export */ var Messagevue_type_script_lang_js = (__default__);
|
|
1889
|
+
;// ./package/SpeechRecognition/cpts/Message.vue?vue&type=script&lang=js
|
|
1890
|
+
/* harmony default export */ var cpts_Messagevue_type_script_lang_js = (Messagevue_type_script_lang_js);
|
|
1891
|
+
// EXTERNAL MODULE: ./node_modules/vue-style-loader/index.js??clonedRuleSet-64.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-64.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-64.use[2]!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-64.use[3]!./node_modules/sass-loader/dist/cjs.js??clonedRuleSet-64.use[4]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./package/SpeechRecognition/cpts/Message.vue?vue&type=style&index=0&id=08153425&prod&lang=scss&scoped=true
|
|
1892
|
+
var Messagevue_type_style_index_0_id_08153425_prod_lang_scss_scoped_true = __webpack_require__(543);
|
|
1893
|
+
;// ./package/SpeechRecognition/cpts/Message.vue?vue&type=style&index=0&id=08153425&prod&lang=scss&scoped=true
|
|
2355
1894
|
|
|
2356
1895
|
;// ./node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js
|
|
2357
1896
|
/* globals __VUE_SSR_CONTEXT__ */
|
|
@@ -2461,12 +2000,12 @@ function normalizeComponent(
|
|
|
2461
2000
|
/* normalize component */
|
|
2462
2001
|
|
|
2463
2002
|
var component = normalizeComponent(
|
|
2464
|
-
|
|
2465
|
-
|
|
2466
|
-
|
|
2003
|
+
cpts_Messagevue_type_script_lang_js,
|
|
2004
|
+
Messagevue_type_template_id_08153425_scoped_true_render,
|
|
2005
|
+
Messagevue_type_template_id_08153425_scoped_true_staticRenderFns,
|
|
2467
2006
|
false,
|
|
2468
2007
|
null,
|
|
2469
|
-
"
|
|
2008
|
+
"08153425",
|
|
2470
2009
|
null
|
|
2471
2010
|
|
|
2472
2011
|
)
|
|
@@ -2483,8 +2022,13 @@ function bind(fn, thisArg) {
|
|
|
2483
2022
|
;// ./node_modules/axios/lib/utils.js
|
|
2484
2023
|
|
|
2485
2024
|
|
|
2486
|
-
|
|
2487
|
-
|
|
2025
|
+
function utils_slicedToArray(r, e) { return utils_arrayWithHoles(r) || utils_iterableToArrayLimit(r, e) || utils_unsupportedIterableToArray(r, e) || utils_nonIterableRest(); }
|
|
2026
|
+
function utils_nonIterableRest() { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
|
|
2027
|
+
function utils_unsupportedIterableToArray(r, a) { if (r) { if ("string" == typeof r) return utils_arrayLikeToArray(r, a); var t = {}.toString.call(r).slice(8, -1); return "Object" === t && r.constructor && (t = r.constructor.name), "Map" === t || "Set" === t ? Array.from(r) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? utils_arrayLikeToArray(r, a) : void 0; } }
|
|
2028
|
+
function utils_arrayLikeToArray(r, a) { (null == a || a > r.length) && (a = r.length); for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e]; return n; }
|
|
2029
|
+
function utils_iterableToArrayLimit(r, l) { var t = null == r ? null : "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (null != t) { var e, n, i, u, a = [], f = !0, o = !1; try { if (i = (t = t.call(r)).next, 0 === l) { if (Object(t) !== t) return; f = !1; } else for (; !(f = (e = i.call(t)).done) && (a.push(e.value), a.length !== l); f = !0); } catch (r) { o = !0, n = r; } finally { try { if (!f && null != t.return && (u = t.return(), Object(u) !== u)) return; } finally { if (o) throw n; } } return a; } }
|
|
2030
|
+
function utils_arrayWithHoles(r) { if (Array.isArray(r)) return r; }
|
|
2031
|
+
function utils_typeof(o) { "@babel/helpers - typeof"; return utils_typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, utils_typeof(o); }
|
|
2488
2032
|
|
|
2489
2033
|
|
|
2490
2034
|
// utils is a library of generic helper functions non-specific to axios
|
|
@@ -2507,7 +2051,7 @@ var kindOfTest = function kindOfTest(type) {
|
|
|
2507
2051
|
};
|
|
2508
2052
|
var typeOfTest = function typeOfTest(type) {
|
|
2509
2053
|
return function (thing) {
|
|
2510
|
-
return
|
|
2054
|
+
return utils_typeof(thing) === type;
|
|
2511
2055
|
};
|
|
2512
2056
|
};
|
|
2513
2057
|
|
|
@@ -2600,7 +2144,7 @@ var isNumber = typeOfTest('number');
|
|
|
2600
2144
|
* @returns {boolean} True if value is an Object, otherwise false
|
|
2601
2145
|
*/
|
|
2602
2146
|
var isObject = function isObject(thing) {
|
|
2603
|
-
return thing !== null &&
|
|
2147
|
+
return thing !== null && utils_typeof(thing) === 'object';
|
|
2604
2148
|
};
|
|
2605
2149
|
|
|
2606
2150
|
/**
|
|
@@ -2698,7 +2242,7 @@ var isFormData = function isFormData(thing) {
|
|
|
2698
2242
|
*/
|
|
2699
2243
|
var isURLSearchParams = kindOfTest('URLSearchParams');
|
|
2700
2244
|
var _map = ['ReadableStream', 'Request', 'Response', 'Headers'].map(kindOfTest),
|
|
2701
|
-
_map2 =
|
|
2245
|
+
_map2 = utils_slicedToArray(_map, 4),
|
|
2702
2246
|
isReadableStream = _map2[0],
|
|
2703
2247
|
isRequest = _map2[1],
|
|
2704
2248
|
isResponse = _map2[2],
|
|
@@ -2742,7 +2286,7 @@ function forEach(obj, fn) {
|
|
|
2742
2286
|
var l;
|
|
2743
2287
|
|
|
2744
2288
|
// Force an array if not already something iterable
|
|
2745
|
-
if (
|
|
2289
|
+
if (utils_typeof(obj) !== 'object') {
|
|
2746
2290
|
/*eslint no-param-reassign:0*/
|
|
2747
2291
|
obj = [obj];
|
|
2748
2292
|
}
|
|
@@ -3294,7 +2838,7 @@ AxiosError.from = function (error, code, config, request, response, customProps)
|
|
|
3294
2838
|
;// ./node_modules/axios/lib/helpers/toFormData.js
|
|
3295
2839
|
|
|
3296
2840
|
|
|
3297
|
-
|
|
2841
|
+
function toFormData_typeof(o) { "@babel/helpers - typeof"; return toFormData_typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, toFormData_typeof(o); }
|
|
3298
2842
|
|
|
3299
2843
|
|
|
3300
2844
|
// temporary hotfix to avoid circular references until AxiosURLSearchParams is refactored
|
|
@@ -3430,7 +2974,7 @@ function toFormData(obj, formData, options) {
|
|
|
3430
2974
|
*/
|
|
3431
2975
|
function defaultVisitor(value, key, path) {
|
|
3432
2976
|
var arr = value;
|
|
3433
|
-
if (value && !path &&
|
|
2977
|
+
if (value && !path && toFormData_typeof(value) === 'object') {
|
|
3434
2978
|
if (utils.endsWith(key, '{}')) {
|
|
3435
2979
|
// eslint-disable-next-line no-param-reassign
|
|
3436
2980
|
key = metaTokens ? key : key.slice(0, -2);
|
|
@@ -3590,12 +3134,16 @@ function buildURL(url, params, options) {
|
|
|
3590
3134
|
;// ./node_modules/axios/lib/core/InterceptorManager.js
|
|
3591
3135
|
|
|
3592
3136
|
|
|
3593
|
-
|
|
3594
|
-
|
|
3137
|
+
function InterceptorManager_typeof(o) { "@babel/helpers - typeof"; return InterceptorManager_typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, InterceptorManager_typeof(o); }
|
|
3138
|
+
function InterceptorManager_classCallCheck(a, n) { if (!(a instanceof n)) throw new TypeError("Cannot call a class as a function"); }
|
|
3139
|
+
function InterceptorManager_defineProperties(e, r) { for (var t = 0; t < r.length; t++) { var o = r[t]; o.enumerable = o.enumerable || !1, o.configurable = !0, "value" in o && (o.writable = !0), Object.defineProperty(e, InterceptorManager_toPropertyKey(o.key), o); } }
|
|
3140
|
+
function InterceptorManager_createClass(e, r, t) { return r && InterceptorManager_defineProperties(e.prototype, r), t && InterceptorManager_defineProperties(e, t), Object.defineProperty(e, "prototype", { writable: !1 }), e; }
|
|
3141
|
+
function InterceptorManager_toPropertyKey(t) { var i = InterceptorManager_toPrimitive(t, "string"); return "symbol" == InterceptorManager_typeof(i) ? i : i + ""; }
|
|
3142
|
+
function InterceptorManager_toPrimitive(t, r) { if ("object" != InterceptorManager_typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != InterceptorManager_typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
|
3595
3143
|
|
|
3596
3144
|
var InterceptorManager = /*#__PURE__*/function () {
|
|
3597
3145
|
function InterceptorManager() {
|
|
3598
|
-
|
|
3146
|
+
InterceptorManager_classCallCheck(this, InterceptorManager);
|
|
3599
3147
|
this.handlers = [];
|
|
3600
3148
|
}
|
|
3601
3149
|
|
|
@@ -3607,7 +3155,7 @@ var InterceptorManager = /*#__PURE__*/function () {
|
|
|
3607
3155
|
*
|
|
3608
3156
|
* @return {Number} An ID used to remove interceptor later
|
|
3609
3157
|
*/
|
|
3610
|
-
return
|
|
3158
|
+
return InterceptorManager_createClass(InterceptorManager, [{
|
|
3611
3159
|
key: "use",
|
|
3612
3160
|
value: function use(fulfilled, rejected, options) {
|
|
3613
3161
|
this.handlers.push({
|
|
@@ -3704,9 +3252,9 @@ var InterceptorManager = /*#__PURE__*/function () {
|
|
|
3704
3252
|
protocols: ['http', 'https', 'file', 'blob', 'url', 'data']
|
|
3705
3253
|
});
|
|
3706
3254
|
;// ./node_modules/axios/lib/platform/common/utils.js
|
|
3707
|
-
|
|
3255
|
+
function common_utils_typeof(o) { "@babel/helpers - typeof"; return common_utils_typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, common_utils_typeof(o); }
|
|
3708
3256
|
var hasBrowserEnv = typeof window !== 'undefined' && typeof document !== 'undefined';
|
|
3709
|
-
var _navigator = (typeof navigator === "undefined" ? "undefined" :
|
|
3257
|
+
var _navigator = (typeof navigator === "undefined" ? "undefined" : common_utils_typeof(navigator)) === 'object' && navigator || undefined;
|
|
3710
3258
|
|
|
3711
3259
|
/**
|
|
3712
3260
|
* Determine if we're running in a standard browser environment
|
|
@@ -3744,9 +3292,12 @@ var hasStandardBrowserWebWorkerEnv = function () {
|
|
|
3744
3292
|
var origin = hasBrowserEnv && window.location.href || 'http://localhost';
|
|
3745
3293
|
|
|
3746
3294
|
;// ./node_modules/axios/lib/platform/index.js
|
|
3747
|
-
|
|
3295
|
+
function platform_typeof(o) { "@babel/helpers - typeof"; return platform_typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, platform_typeof(o); }
|
|
3748
3296
|
function platform_ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
3749
|
-
function platform_objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? platform_ownKeys(Object(t), !0).forEach(function (r) {
|
|
3297
|
+
function platform_objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? platform_ownKeys(Object(t), !0).forEach(function (r) { platform_defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : platform_ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
3298
|
+
function platform_defineProperty(e, r, t) { return (r = platform_toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
|
|
3299
|
+
function platform_toPropertyKey(t) { var i = platform_toPrimitive(t, "string"); return "symbol" == platform_typeof(i) ? i : i + ""; }
|
|
3300
|
+
function platform_toPrimitive(t, r) { if ("object" != platform_typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != platform_typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
|
3750
3301
|
|
|
3751
3302
|
|
|
3752
3303
|
/* harmony default export */ var platform = (platform_objectSpread(platform_objectSpread({}, common_utils_namespaceObject), browser));
|
|
@@ -4026,13 +3577,23 @@ var ignoreDuplicateOf = utils.toObjectSet(['age', 'authorization', 'content-leng
|
|
|
4026
3577
|
;// ./node_modules/axios/lib/core/AxiosHeaders.js
|
|
4027
3578
|
|
|
4028
3579
|
|
|
4029
|
-
|
|
4030
|
-
|
|
4031
|
-
|
|
4032
|
-
|
|
3580
|
+
function AxiosHeaders_typeof(o) { "@babel/helpers - typeof"; return AxiosHeaders_typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, AxiosHeaders_typeof(o); }
|
|
3581
|
+
function AxiosHeaders_slicedToArray(r, e) { return AxiosHeaders_arrayWithHoles(r) || AxiosHeaders_iterableToArrayLimit(r, e) || AxiosHeaders_unsupportedIterableToArray(r, e) || AxiosHeaders_nonIterableRest(); }
|
|
3582
|
+
function AxiosHeaders_nonIterableRest() { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
|
|
3583
|
+
function AxiosHeaders_iterableToArrayLimit(r, l) { var t = null == r ? null : "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (null != t) { var e, n, i, u, a = [], f = !0, o = !1; try { if (i = (t = t.call(r)).next, 0 === l) { if (Object(t) !== t) return; f = !1; } else for (; !(f = (e = i.call(t)).done) && (a.push(e.value), a.length !== l); f = !0); } catch (r) { o = !0, n = r; } finally { try { if (!f && null != t.return && (u = t.return(), Object(u) !== u)) return; } finally { if (o) throw n; } } return a; } }
|
|
3584
|
+
function AxiosHeaders_arrayWithHoles(r) { if (Array.isArray(r)) return r; }
|
|
3585
|
+
function AxiosHeaders_toConsumableArray(r) { return AxiosHeaders_arrayWithoutHoles(r) || AxiosHeaders_iterableToArray(r) || AxiosHeaders_unsupportedIterableToArray(r) || AxiosHeaders_nonIterableSpread(); }
|
|
3586
|
+
function AxiosHeaders_nonIterableSpread() { throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
|
|
3587
|
+
function AxiosHeaders_iterableToArray(r) { if ("undefined" != typeof Symbol && null != r[Symbol.iterator] || null != r["@@iterator"]) return Array.from(r); }
|
|
3588
|
+
function AxiosHeaders_arrayWithoutHoles(r) { if (Array.isArray(r)) return AxiosHeaders_arrayLikeToArray(r); }
|
|
4033
3589
|
function _createForOfIteratorHelper(r, e) { var t = "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (!t) { if (Array.isArray(r) || (t = AxiosHeaders_unsupportedIterableToArray(r)) || e && r && "number" == typeof r.length) { t && (r = t); var _n = 0, F = function F() {}; return { s: F, n: function n() { return _n >= r.length ? { done: !0 } : { done: !1, value: r[_n++] }; }, e: function e(r) { throw r; }, f: F }; } throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } var o, a = !0, u = !1; return { s: function s() { t = t.call(r); }, n: function n() { var r = t.next(); return a = r.done, r; }, e: function e(r) { u = !0, o = r; }, f: function f() { try { a || null == t.return || t.return(); } finally { if (u) throw o; } } }; }
|
|
4034
3590
|
function AxiosHeaders_unsupportedIterableToArray(r, a) { if (r) { if ("string" == typeof r) return AxiosHeaders_arrayLikeToArray(r, a); var t = {}.toString.call(r).slice(8, -1); return "Object" === t && r.constructor && (t = r.constructor.name), "Map" === t || "Set" === t ? Array.from(r) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? AxiosHeaders_arrayLikeToArray(r, a) : void 0; } }
|
|
4035
3591
|
function AxiosHeaders_arrayLikeToArray(r, a) { (null == a || a > r.length) && (a = r.length); for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e]; return n; }
|
|
3592
|
+
function AxiosHeaders_classCallCheck(a, n) { if (!(a instanceof n)) throw new TypeError("Cannot call a class as a function"); }
|
|
3593
|
+
function AxiosHeaders_defineProperties(e, r) { for (var t = 0; t < r.length; t++) { var o = r[t]; o.enumerable = o.enumerable || !1, o.configurable = !0, "value" in o && (o.writable = !0), Object.defineProperty(e, AxiosHeaders_toPropertyKey(o.key), o); } }
|
|
3594
|
+
function AxiosHeaders_createClass(e, r, t) { return r && AxiosHeaders_defineProperties(e.prototype, r), t && AxiosHeaders_defineProperties(e, t), Object.defineProperty(e, "prototype", { writable: !1 }), e; }
|
|
3595
|
+
function AxiosHeaders_toPropertyKey(t) { var i = AxiosHeaders_toPrimitive(t, "string"); return "symbol" == AxiosHeaders_typeof(i) ? i : i + ""; }
|
|
3596
|
+
function AxiosHeaders_toPrimitive(t, r) { if ("object" != AxiosHeaders_typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != AxiosHeaders_typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
|
4036
3597
|
|
|
4037
3598
|
|
|
4038
3599
|
var $internals = Symbol('internals');
|
|
@@ -4090,10 +3651,10 @@ function buildAccessors(obj, header) {
|
|
|
4090
3651
|
}
|
|
4091
3652
|
var AxiosHeaders = /*#__PURE__*/function () {
|
|
4092
3653
|
function AxiosHeaders(headers) {
|
|
4093
|
-
|
|
3654
|
+
AxiosHeaders_classCallCheck(this, AxiosHeaders);
|
|
4094
3655
|
headers && this.set(headers);
|
|
4095
3656
|
}
|
|
4096
|
-
return
|
|
3657
|
+
return AxiosHeaders_createClass(AxiosHeaders, [{
|
|
4097
3658
|
key: "set",
|
|
4098
3659
|
value: function set(header, valueOrRewrite, rewrite) {
|
|
4099
3660
|
var self = this;
|
|
@@ -4128,7 +3689,7 @@ var AxiosHeaders = /*#__PURE__*/function () {
|
|
|
4128
3689
|
if (!utils.isArray(entry)) {
|
|
4129
3690
|
throw TypeError('Object iterator must return a key-value pair');
|
|
4130
3691
|
}
|
|
4131
|
-
obj[key = entry[0]] = (dest = obj[key]) ? utils.isArray(dest) ? [].concat(
|
|
3692
|
+
obj[key = entry[0]] = (dest = obj[key]) ? utils.isArray(dest) ? [].concat(AxiosHeaders_toConsumableArray(dest), [entry[1]]) : [dest, entry[1]] : entry[1];
|
|
4132
3693
|
}
|
|
4133
3694
|
} catch (err) {
|
|
4134
3695
|
_iterator.e(err);
|
|
@@ -4260,7 +3821,7 @@ var AxiosHeaders = /*#__PURE__*/function () {
|
|
|
4260
3821
|
key: "toString",
|
|
4261
3822
|
value: function toString() {
|
|
4262
3823
|
return Object.entries(this.toJSON()).map(function (_ref) {
|
|
4263
|
-
var _ref2 =
|
|
3824
|
+
var _ref2 = AxiosHeaders_slicedToArray(_ref, 2),
|
|
4264
3825
|
header = _ref2[0],
|
|
4265
3826
|
value = _ref2[1];
|
|
4266
3827
|
return header + ': ' + value;
|
|
@@ -4505,7 +4066,10 @@ function throttle(fn, freq) {
|
|
|
4505
4066
|
}
|
|
4506
4067
|
/* harmony default export */ var helpers_throttle = (throttle);
|
|
4507
4068
|
;// ./node_modules/axios/lib/helpers/progressEventReducer.js
|
|
4508
|
-
|
|
4069
|
+
function progressEventReducer_typeof(o) { "@babel/helpers - typeof"; return progressEventReducer_typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, progressEventReducer_typeof(o); }
|
|
4070
|
+
function progressEventReducer_defineProperty(e, r, t) { return (r = progressEventReducer_toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
|
|
4071
|
+
function progressEventReducer_toPropertyKey(t) { var i = progressEventReducer_toPrimitive(t, "string"); return "symbol" == progressEventReducer_typeof(i) ? i : i + ""; }
|
|
4072
|
+
function progressEventReducer_toPrimitive(t, r) { if ("object" != progressEventReducer_typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != progressEventReducer_typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
|
4509
4073
|
|
|
4510
4074
|
|
|
4511
4075
|
|
|
@@ -4520,7 +4084,7 @@ var progressEventReducer = function progressEventReducer(listener, isDownloadStr
|
|
|
4520
4084
|
var rate = _speedometer(progressBytes);
|
|
4521
4085
|
var inRange = loaded <= total;
|
|
4522
4086
|
bytesNotified = loaded;
|
|
4523
|
-
var data =
|
|
4087
|
+
var data = progressEventReducer_defineProperty({
|
|
4524
4088
|
loaded: loaded,
|
|
4525
4089
|
total: total,
|
|
4526
4090
|
progress: total ? loaded / total : undefined,
|
|
@@ -4553,15 +4117,6 @@ var asyncDecorator = function asyncDecorator(fn) {
|
|
|
4553
4117
|
});
|
|
4554
4118
|
};
|
|
4555
4119
|
};
|
|
4556
|
-
;// ./node_modules/@babel/runtime/helpers/esm/toArray.js
|
|
4557
|
-
|
|
4558
|
-
|
|
4559
|
-
|
|
4560
|
-
|
|
4561
|
-
function _toArray(r) {
|
|
4562
|
-
return _arrayWithHoles(r) || _iterableToArray(r) || _unsupportedIterableToArray(r) || _nonIterableRest();
|
|
4563
|
-
}
|
|
4564
|
-
|
|
4565
4120
|
;// ./node_modules/axios/lib/helpers/isURLSameOrigin.js
|
|
4566
4121
|
|
|
4567
4122
|
/* harmony default export */ var isURLSameOrigin = (platform.hasStandardBrowserEnv ? function (origin, isMSIE) {
|
|
@@ -4658,9 +4213,12 @@ function buildFullPath(baseURL, requestedURL, allowAbsoluteUrls) {
|
|
|
4658
4213
|
;// ./node_modules/axios/lib/core/mergeConfig.js
|
|
4659
4214
|
|
|
4660
4215
|
|
|
4661
|
-
|
|
4216
|
+
function mergeConfig_typeof(o) { "@babel/helpers - typeof"; return mergeConfig_typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, mergeConfig_typeof(o); }
|
|
4662
4217
|
function mergeConfig_ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
4663
|
-
function mergeConfig_objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? mergeConfig_ownKeys(Object(t), !0).forEach(function (r) {
|
|
4218
|
+
function mergeConfig_objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? mergeConfig_ownKeys(Object(t), !0).forEach(function (r) { mergeConfig_defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : mergeConfig_ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
4219
|
+
function mergeConfig_defineProperty(e, r, t) { return (r = mergeConfig_toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
|
|
4220
|
+
function mergeConfig_toPropertyKey(t) { var i = mergeConfig_toPrimitive(t, "string"); return "symbol" == mergeConfig_typeof(i) ? i : i + ""; }
|
|
4221
|
+
function mergeConfig_toPrimitive(t, r) { if ("object" != mergeConfig_typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != mergeConfig_typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
|
4664
4222
|
|
|
4665
4223
|
|
|
4666
4224
|
var headersToObject = function headersToObject(thing) {
|
|
@@ -4767,8 +4325,15 @@ function mergeConfig(config1, config2) {
|
|
|
4767
4325
|
return config;
|
|
4768
4326
|
}
|
|
4769
4327
|
;// ./node_modules/axios/lib/helpers/resolveConfig.js
|
|
4770
|
-
|
|
4771
|
-
|
|
4328
|
+
function resolveConfig_toConsumableArray(r) { return resolveConfig_arrayWithoutHoles(r) || resolveConfig_iterableToArray(r) || resolveConfig_unsupportedIterableToArray(r) || resolveConfig_nonIterableSpread(); }
|
|
4329
|
+
function resolveConfig_nonIterableSpread() { throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
|
|
4330
|
+
function resolveConfig_arrayWithoutHoles(r) { if (Array.isArray(r)) return resolveConfig_arrayLikeToArray(r); }
|
|
4331
|
+
function _toArray(r) { return resolveConfig_arrayWithHoles(r) || resolveConfig_iterableToArray(r) || resolveConfig_unsupportedIterableToArray(r) || resolveConfig_nonIterableRest(); }
|
|
4332
|
+
function resolveConfig_nonIterableRest() { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
|
|
4333
|
+
function resolveConfig_unsupportedIterableToArray(r, a) { if (r) { if ("string" == typeof r) return resolveConfig_arrayLikeToArray(r, a); var t = {}.toString.call(r).slice(8, -1); return "Object" === t && r.constructor && (t = r.constructor.name), "Map" === t || "Set" === t ? Array.from(r) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? resolveConfig_arrayLikeToArray(r, a) : void 0; } }
|
|
4334
|
+
function resolveConfig_arrayLikeToArray(r, a) { (null == a || a > r.length) && (a = r.length); for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e]; return n; }
|
|
4335
|
+
function resolveConfig_iterableToArray(r) { if ("undefined" != typeof Symbol && null != r[Symbol.iterator] || null != r["@@iterator"]) return Array.from(r); }
|
|
4336
|
+
function resolveConfig_arrayWithHoles(r) { if (Array.isArray(r)) return r; }
|
|
4772
4337
|
|
|
4773
4338
|
|
|
4774
4339
|
|
|
@@ -4804,7 +4369,7 @@ function mergeConfig(config1, config2) {
|
|
|
4804
4369
|
_ref2 = _toArray(_ref),
|
|
4805
4370
|
type = _ref2[0],
|
|
4806
4371
|
tokens = _ref2.slice(1);
|
|
4807
|
-
headers.setContentType([type || 'multipart/form-data'].concat(
|
|
4372
|
+
headers.setContentType([type || 'multipart/form-data'].concat(resolveConfig_toConsumableArray(tokens)).join('; '));
|
|
4808
4373
|
}
|
|
4809
4374
|
}
|
|
4810
4375
|
|
|
@@ -4825,7 +4390,12 @@ function mergeConfig(config1, config2) {
|
|
|
4825
4390
|
return newConfig;
|
|
4826
4391
|
});
|
|
4827
4392
|
;// ./node_modules/axios/lib/adapters/xhr.js
|
|
4828
|
-
|
|
4393
|
+
function xhr_slicedToArray(r, e) { return xhr_arrayWithHoles(r) || xhr_iterableToArrayLimit(r, e) || xhr_unsupportedIterableToArray(r, e) || xhr_nonIterableRest(); }
|
|
4394
|
+
function xhr_nonIterableRest() { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
|
|
4395
|
+
function xhr_unsupportedIterableToArray(r, a) { if (r) { if ("string" == typeof r) return xhr_arrayLikeToArray(r, a); var t = {}.toString.call(r).slice(8, -1); return "Object" === t && r.constructor && (t = r.constructor.name), "Map" === t || "Set" === t ? Array.from(r) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? xhr_arrayLikeToArray(r, a) : void 0; } }
|
|
4396
|
+
function xhr_arrayLikeToArray(r, a) { (null == a || a > r.length) && (a = r.length); for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e]; return n; }
|
|
4397
|
+
function xhr_iterableToArrayLimit(r, l) { var t = null == r ? null : "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (null != t) { var e, n, i, u, a = [], f = !0, o = !1; try { if (i = (t = t.call(r)).next, 0 === l) { if (Object(t) !== t) return; f = !1; } else for (; !(f = (e = i.call(t)).done) && (a.push(e.value), a.length !== l); f = !0); } catch (r) { o = !0, n = r; } finally { try { if (!f && null != t.return && (u = t.return(), Object(u) !== u)) return; } finally { if (o) throw n; } } return a; } }
|
|
4398
|
+
function xhr_arrayWithHoles(r) { if (Array.isArray(r)) return r; }
|
|
4829
4399
|
|
|
4830
4400
|
|
|
4831
4401
|
|
|
@@ -4966,7 +4536,7 @@ var isXHRAdapterSupported = typeof XMLHttpRequest !== 'undefined';
|
|
|
4966
4536
|
// Handle progress if needed
|
|
4967
4537
|
if (onDownloadProgress) {
|
|
4968
4538
|
var _progressEventReducer = progressEventReducer(onDownloadProgress, true);
|
|
4969
|
-
var _progressEventReducer2 =
|
|
4539
|
+
var _progressEventReducer2 = xhr_slicedToArray(_progressEventReducer, 2);
|
|
4970
4540
|
downloadThrottled = _progressEventReducer2[0];
|
|
4971
4541
|
flushDownload = _progressEventReducer2[1];
|
|
4972
4542
|
request.addEventListener('progress', downloadThrottled);
|
|
@@ -4975,7 +4545,7 @@ var isXHRAdapterSupported = typeof XMLHttpRequest !== 'undefined';
|
|
|
4975
4545
|
// Not all browsers support upload events
|
|
4976
4546
|
if (onUploadProgress && request.upload) {
|
|
4977
4547
|
var _progressEventReducer3 = progressEventReducer(onUploadProgress);
|
|
4978
|
-
var _progressEventReducer4 =
|
|
4548
|
+
var _progressEventReducer4 = xhr_slicedToArray(_progressEventReducer3, 2);
|
|
4979
4549
|
uploadThrottled = _progressEventReducer4[0];
|
|
4980
4550
|
flushUpload = _progressEventReducer4[1];
|
|
4981
4551
|
request.upload.addEventListener('progress', uploadThrottled);
|
|
@@ -5050,123 +4620,22 @@ var composeSignals = function composeSignals(signals, timeout) {
|
|
|
5050
4620
|
}
|
|
5051
4621
|
};
|
|
5052
4622
|
/* harmony default export */ var helpers_composeSignals = (composeSignals);
|
|
5053
|
-
;// ./node_modules/@babel/runtime/helpers/esm/OverloadYield.js
|
|
5054
|
-
function _OverloadYield(e, d) {
|
|
5055
|
-
this.v = e, this.k = d;
|
|
5056
|
-
}
|
|
5057
|
-
|
|
5058
|
-
;// ./node_modules/@babel/runtime/helpers/esm/wrapAsyncGenerator.js
|
|
5059
|
-
|
|
5060
|
-
function _wrapAsyncGenerator(e) {
|
|
5061
|
-
return function () {
|
|
5062
|
-
return new AsyncGenerator(e.apply(this, arguments));
|
|
5063
|
-
};
|
|
5064
|
-
}
|
|
5065
|
-
function AsyncGenerator(e) {
|
|
5066
|
-
var r, t;
|
|
5067
|
-
function resume(r, t) {
|
|
5068
|
-
try {
|
|
5069
|
-
var n = e[r](t),
|
|
5070
|
-
o = n.value,
|
|
5071
|
-
u = o instanceof _OverloadYield;
|
|
5072
|
-
Promise.resolve(u ? o.v : o).then(function (t) {
|
|
5073
|
-
if (u) {
|
|
5074
|
-
var i = "return" === r ? "return" : "next";
|
|
5075
|
-
if (!o.k || t.done) return resume(i, t);
|
|
5076
|
-
t = e[i](t).value;
|
|
5077
|
-
}
|
|
5078
|
-
settle(n.done ? "return" : "normal", t);
|
|
5079
|
-
}, function (e) {
|
|
5080
|
-
resume("throw", e);
|
|
5081
|
-
});
|
|
5082
|
-
} catch (e) {
|
|
5083
|
-
settle("throw", e);
|
|
5084
|
-
}
|
|
5085
|
-
}
|
|
5086
|
-
function settle(e, n) {
|
|
5087
|
-
switch (e) {
|
|
5088
|
-
case "return":
|
|
5089
|
-
r.resolve({
|
|
5090
|
-
value: n,
|
|
5091
|
-
done: !0
|
|
5092
|
-
});
|
|
5093
|
-
break;
|
|
5094
|
-
case "throw":
|
|
5095
|
-
r.reject(n);
|
|
5096
|
-
break;
|
|
5097
|
-
default:
|
|
5098
|
-
r.resolve({
|
|
5099
|
-
value: n,
|
|
5100
|
-
done: !1
|
|
5101
|
-
});
|
|
5102
|
-
}
|
|
5103
|
-
(r = r.next) ? resume(r.key, r.arg) : t = null;
|
|
5104
|
-
}
|
|
5105
|
-
this._invoke = function (e, n) {
|
|
5106
|
-
return new Promise(function (o, u) {
|
|
5107
|
-
var i = {
|
|
5108
|
-
key: e,
|
|
5109
|
-
arg: n,
|
|
5110
|
-
resolve: o,
|
|
5111
|
-
reject: u,
|
|
5112
|
-
next: null
|
|
5113
|
-
};
|
|
5114
|
-
t ? t = t.next = i : (r = t = i, resume(e, n));
|
|
5115
|
-
});
|
|
5116
|
-
}, "function" != typeof e["return"] && (this["return"] = void 0);
|
|
5117
|
-
}
|
|
5118
|
-
AsyncGenerator.prototype["function" == typeof Symbol && Symbol.asyncIterator || "@@asyncIterator"] = function () {
|
|
5119
|
-
return this;
|
|
5120
|
-
}, AsyncGenerator.prototype.next = function (e) {
|
|
5121
|
-
return this._invoke("next", e);
|
|
5122
|
-
}, AsyncGenerator.prototype["throw"] = function (e) {
|
|
5123
|
-
return this._invoke("throw", e);
|
|
5124
|
-
}, AsyncGenerator.prototype["return"] = function (e) {
|
|
5125
|
-
return this._invoke("return", e);
|
|
5126
|
-
};
|
|
5127
|
-
|
|
5128
|
-
;// ./node_modules/@babel/runtime/helpers/esm/awaitAsyncGenerator.js
|
|
5129
|
-
|
|
5130
|
-
function _awaitAsyncGenerator(e) {
|
|
5131
|
-
return new _OverloadYield(e, 0);
|
|
5132
|
-
}
|
|
5133
|
-
|
|
5134
|
-
;// ./node_modules/@babel/runtime/helpers/esm/asyncGeneratorDelegate.js
|
|
5135
|
-
|
|
5136
|
-
function _asyncGeneratorDelegate(t) {
|
|
5137
|
-
var e = {},
|
|
5138
|
-
n = !1;
|
|
5139
|
-
function pump(e, r) {
|
|
5140
|
-
return n = !0, r = new Promise(function (n) {
|
|
5141
|
-
n(t[e](r));
|
|
5142
|
-
}), {
|
|
5143
|
-
done: !1,
|
|
5144
|
-
value: new _OverloadYield(r, 1)
|
|
5145
|
-
};
|
|
5146
|
-
}
|
|
5147
|
-
return e["undefined" != typeof Symbol && Symbol.iterator || "@@iterator"] = function () {
|
|
5148
|
-
return this;
|
|
5149
|
-
}, e.next = function (t) {
|
|
5150
|
-
return n ? (n = !1, t) : pump("next", t);
|
|
5151
|
-
}, "function" == typeof t["throw"] && (e["throw"] = function (t) {
|
|
5152
|
-
if (n) throw n = !1, t;
|
|
5153
|
-
return pump("throw", t);
|
|
5154
|
-
}), "function" == typeof t["return"] && (e["return"] = function (t) {
|
|
5155
|
-
return n ? (n = !1, t) : pump("return", t);
|
|
5156
|
-
}), e;
|
|
5157
|
-
}
|
|
5158
|
-
|
|
5159
4623
|
;// ./node_modules/axios/lib/helpers/trackStream.js
|
|
5160
|
-
|
|
5161
|
-
|
|
5162
|
-
|
|
5163
|
-
|
|
5164
|
-
|
|
4624
|
+
function trackStream_typeof(o) { "@babel/helpers - typeof"; return trackStream_typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, trackStream_typeof(o); }
|
|
4625
|
+
function trackStream_asyncGeneratorStep(n, t, e, r, o, a, c) { try { var i = n[a](c), u = i.value; } catch (n) { return void e(n); } i.done ? t(u) : Promise.resolve(u).then(r, o); }
|
|
4626
|
+
function trackStream_asyncToGenerator(n) { return function () { var t = this, e = arguments; return new Promise(function (r, o) { var a = n.apply(t, e); function _next(n) { trackStream_asyncGeneratorStep(a, r, o, _next, _throw, "next", n); } function _throw(n) { trackStream_asyncGeneratorStep(a, r, o, _next, _throw, "throw", n); } _next(void 0); }); }; }
|
|
4627
|
+
function trackStream_regeneratorRuntime() { "use strict"; /*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/babel/babel/blob/main/packages/babel-helpers/LICENSE */ trackStream_regeneratorRuntime = function _regeneratorRuntime() { return r; }; var t, r = {}, e = Object.prototype, n = e.hasOwnProperty, o = "function" == typeof Symbol ? Symbol : {}, i = o.iterator || "@@iterator", a = o.asyncIterator || "@@asyncIterator", u = o.toStringTag || "@@toStringTag"; function c(t, r, e, n) { return Object.defineProperty(t, r, { value: e, enumerable: !n, configurable: !n, writable: !n }); } try { c({}, ""); } catch (t) { c = function c(t, r, e) { return t[r] = e; }; } function h(r, e, n, o) { var i = e && e.prototype instanceof Generator ? e : Generator, a = Object.create(i.prototype); return c(a, "_invoke", function (r, e, n) { var o = 1; return function (i, a) { if (3 === o) throw Error("Generator is already running"); if (4 === o) { if ("throw" === i) throw a; return { value: t, done: !0 }; } for (n.method = i, n.arg = a;;) { var u = n.delegate; if (u) { var c = d(u, n); if (c) { if (c === f) continue; return c; } } if ("next" === n.method) n.sent = n._sent = n.arg;else if ("throw" === n.method) { if (1 === o) throw o = 4, n.arg; n.dispatchException(n.arg); } else "return" === n.method && n.abrupt("return", n.arg); o = 3; var h = s(r, e, n); if ("normal" === h.type) { if (o = n.done ? 4 : 2, h.arg === f) continue; return { value: h.arg, done: n.done }; } "throw" === h.type && (o = 4, n.method = "throw", n.arg = h.arg); } }; }(r, n, new Context(o || [])), !0), a; } function s(t, r, e) { try { return { type: "normal", arg: t.call(r, e) }; } catch (t) { return { type: "throw", arg: t }; } } r.wrap = h; var f = {}; function Generator() {} function GeneratorFunction() {} function GeneratorFunctionPrototype() {} var l = {}; c(l, i, function () { return this; }); var p = Object.getPrototypeOf, y = p && p(p(x([]))); y && y !== e && n.call(y, i) && (l = y); var v = GeneratorFunctionPrototype.prototype = Generator.prototype = Object.create(l); function g(t) { ["next", "throw", "return"].forEach(function (r) { c(t, r, function (t) { return this._invoke(r, t); }); }); } function AsyncIterator(t, r) { function e(o, i, a, u) { var c = s(t[o], t, i); if ("throw" !== c.type) { var h = c.arg, f = h.value; return f && "object" == trackStream_typeof(f) && n.call(f, "__await") ? r.resolve(f.__await).then(function (t) { e("next", t, a, u); }, function (t) { e("throw", t, a, u); }) : r.resolve(f).then(function (t) { h.value = t, a(h); }, function (t) { return e("throw", t, a, u); }); } u(c.arg); } var o; c(this, "_invoke", function (t, n) { function i() { return new r(function (r, o) { e(t, n, r, o); }); } return o = o ? o.then(i, i) : i(); }, !0); } function d(r, e) { var n = e.method, o = r.i[n]; if (o === t) return e.delegate = null, "throw" === n && r.i.return && (e.method = "return", e.arg = t, d(r, e), "throw" === e.method) || "return" !== n && (e.method = "throw", e.arg = new TypeError("The iterator does not provide a '" + n + "' method")), f; var i = s(o, r.i, e.arg); if ("throw" === i.type) return e.method = "throw", e.arg = i.arg, e.delegate = null, f; var a = i.arg; return a ? a.done ? (e[r.r] = a.value, e.next = r.n, "return" !== e.method && (e.method = "next", e.arg = t), e.delegate = null, f) : a : (e.method = "throw", e.arg = new TypeError("iterator result is not an object"), e.delegate = null, f); } function w(t) { this.tryEntries.push(t); } function m(r) { var e = r[4] || {}; e.type = "normal", e.arg = t, r[4] = e; } function Context(t) { this.tryEntries = [[-1]], t.forEach(w, this), this.reset(!0); } function x(r) { if (null != r) { var e = r[i]; if (e) return e.call(r); if ("function" == typeof r.next) return r; if (!isNaN(r.length)) { var o = -1, a = function e() { for (; ++o < r.length;) if (n.call(r, o)) return e.value = r[o], e.done = !1, e; return e.value = t, e.done = !0, e; }; return a.next = a; } } throw new TypeError(trackStream_typeof(r) + " is not iterable"); } return GeneratorFunction.prototype = GeneratorFunctionPrototype, c(v, "constructor", GeneratorFunctionPrototype), c(GeneratorFunctionPrototype, "constructor", GeneratorFunction), GeneratorFunction.displayName = c(GeneratorFunctionPrototype, u, "GeneratorFunction"), r.isGeneratorFunction = function (t) { var r = "function" == typeof t && t.constructor; return !!r && (r === GeneratorFunction || "GeneratorFunction" === (r.displayName || r.name)); }, r.mark = function (t) { return Object.setPrototypeOf ? Object.setPrototypeOf(t, GeneratorFunctionPrototype) : (t.__proto__ = GeneratorFunctionPrototype, c(t, u, "GeneratorFunction")), t.prototype = Object.create(v), t; }, r.awrap = function (t) { return { __await: t }; }, g(AsyncIterator.prototype), c(AsyncIterator.prototype, a, function () { return this; }), r.AsyncIterator = AsyncIterator, r.async = function (t, e, n, o, i) { void 0 === i && (i = Promise); var a = new AsyncIterator(h(t, e, n, o), i); return r.isGeneratorFunction(e) ? a : a.next().then(function (t) { return t.done ? t.value : a.next(); }); }, g(v), c(v, u, "Generator"), c(v, i, function () { return this; }), c(v, "toString", function () { return "[object Generator]"; }), r.keys = function (t) { var r = Object(t), e = []; for (var n in r) e.unshift(n); return function t() { for (; e.length;) if ((n = e.pop()) in r) return t.value = n, t.done = !1, t; return t.done = !0, t; }; }, r.values = x, Context.prototype = { constructor: Context, reset: function reset(r) { if (this.prev = this.next = 0, this.sent = this._sent = t, this.done = !1, this.delegate = null, this.method = "next", this.arg = t, this.tryEntries.forEach(m), !r) for (var e in this) "t" === e.charAt(0) && n.call(this, e) && !isNaN(+e.slice(1)) && (this[e] = t); }, stop: function stop() { this.done = !0; var t = this.tryEntries[0][4]; if ("throw" === t.type) throw t.arg; return this.rval; }, dispatchException: function dispatchException(r) { if (this.done) throw r; var e = this; function n(t) { a.type = "throw", a.arg = r, e.next = t; } for (var o = e.tryEntries.length - 1; o >= 0; --o) { var i = this.tryEntries[o], a = i[4], u = this.prev, c = i[1], h = i[2]; if (-1 === i[0]) return n("end"), !1; if (!c && !h) throw Error("try statement without catch or finally"); if (null != i[0] && i[0] <= u) { if (u < c) return this.method = "next", this.arg = t, n(c), !0; if (u < h) return n(h), !1; } } }, abrupt: function abrupt(t, r) { for (var e = this.tryEntries.length - 1; e >= 0; --e) { var n = this.tryEntries[e]; if (n[0] > -1 && n[0] <= this.prev && this.prev < n[2]) { var o = n; break; } } o && ("break" === t || "continue" === t) && o[0] <= r && r <= o[2] && (o = null); var i = o ? o[4] : {}; return i.type = t, i.arg = r, o ? (this.method = "next", this.next = o[2], f) : this.complete(i); }, complete: function complete(t, r) { if ("throw" === t.type) throw t.arg; return "break" === t.type || "continue" === t.type ? this.next = t.arg : "return" === t.type ? (this.rval = this.arg = t.arg, this.method = "return", this.next = "end") : "normal" === t.type && r && (this.next = r), f; }, finish: function finish(t) { for (var r = this.tryEntries.length - 1; r >= 0; --r) { var e = this.tryEntries[r]; if (e[2] === t) return this.complete(e[4], e[3]), m(e), f; } }, catch: function _catch(t) { for (var r = this.tryEntries.length - 1; r >= 0; --r) { var e = this.tryEntries[r]; if (e[0] === t) { var n = e[4]; if ("throw" === n.type) { var o = n.arg; m(e); } return o; } } throw Error("illegal catch attempt"); }, delegateYield: function delegateYield(r, e, n) { return this.delegate = { i: x(r), r: e, n: n }, "next" === this.method && (this.arg = t), f; } }, r; }
|
|
4628
|
+
function _wrapAsyncGenerator(e) { return function () { return new AsyncGenerator(e.apply(this, arguments)); }; }
|
|
4629
|
+
function AsyncGenerator(e) { var r, t; function resume(r, t) { try { var n = e[r](t), o = n.value, u = o instanceof _OverloadYield; Promise.resolve(u ? o.v : o).then(function (t) { if (u) { var i = "return" === r ? "return" : "next"; if (!o.k || t.done) return resume(i, t); t = e[i](t).value; } settle(n.done ? "return" : "normal", t); }, function (e) { resume("throw", e); }); } catch (e) { settle("throw", e); } } function settle(e, n) { switch (e) { case "return": r.resolve({ value: n, done: !0 }); break; case "throw": r.reject(n); break; default: r.resolve({ value: n, done: !1 }); } (r = r.next) ? resume(r.key, r.arg) : t = null; } this._invoke = function (e, n) { return new Promise(function (o, u) { var i = { key: e, arg: n, resolve: o, reject: u, next: null }; t ? t = t.next = i : (r = t = i, resume(e, n)); }); }, "function" != typeof e.return && (this.return = void 0); }
|
|
4630
|
+
AsyncGenerator.prototype["function" == typeof Symbol && Symbol.asyncIterator || "@@asyncIterator"] = function () { return this; }, AsyncGenerator.prototype.next = function (e) { return this._invoke("next", e); }, AsyncGenerator.prototype.throw = function (e) { return this._invoke("throw", e); }, AsyncGenerator.prototype.return = function (e) { return this._invoke("return", e); };
|
|
4631
|
+
function _awaitAsyncGenerator(e) { return new _OverloadYield(e, 0); }
|
|
4632
|
+
function _asyncGeneratorDelegate(t) { var e = {}, n = !1; function pump(e, r) { return n = !0, r = new Promise(function (n) { n(t[e](r)); }), { done: !1, value: new _OverloadYield(r, 1) }; } return e["undefined" != typeof Symbol && Symbol.iterator || "@@iterator"] = function () { return this; }, e.next = function (t) { return n ? (n = !1, t) : pump("next", t); }, "function" == typeof t.throw && (e.throw = function (t) { if (n) throw n = !1, t; return pump("throw", t); }), "function" == typeof t.return && (e.return = function (t) { return n ? (n = !1, t) : pump("return", t); }), e; }
|
|
4633
|
+
function _OverloadYield(e, d) { this.v = e, this.k = d; }
|
|
5165
4634
|
function _asyncIterator(r) { var n, t, o, e = 2; for ("undefined" != typeof Symbol && (t = Symbol.asyncIterator, o = Symbol.iterator); e--;) { if (t && null != (n = r[t])) return n.call(r); if (o && null != (n = r[o])) return new AsyncFromSyncIterator(n.call(r)); t = "@@asyncIterator", o = "@@iterator"; } throw new TypeError("Object is not async iterable"); }
|
|
5166
4635
|
function AsyncFromSyncIterator(r) { function AsyncFromSyncIteratorContinuation(r) { if (Object(r) !== r) return Promise.reject(new TypeError(r + " is not an object.")); var n = r.done; return Promise.resolve(r.value).then(function (r) { return { value: r, done: n }; }); } return AsyncFromSyncIterator = function AsyncFromSyncIterator(r) { this.s = r, this.n = r.next; }, AsyncFromSyncIterator.prototype = { s: null, n: null, next: function next() { return AsyncFromSyncIteratorContinuation(this.n.apply(this.s, arguments)); }, return: function _return(r) { var n = this.s.return; return void 0 === n ? Promise.resolve({ value: r, done: !0 }) : AsyncFromSyncIteratorContinuation(n.apply(this.s, arguments)); }, throw: function _throw(r) { var n = this.s.return; return void 0 === n ? Promise.reject(r) : AsyncFromSyncIteratorContinuation(n.apply(this.s, arguments)); } }, new AsyncFromSyncIterator(r); }
|
|
5167
|
-
var streamChunk = /*#__PURE__*/
|
|
4636
|
+
var streamChunk = /*#__PURE__*/trackStream_regeneratorRuntime().mark(function streamChunk(chunk, chunkSize) {
|
|
5168
4637
|
var len, pos, end;
|
|
5169
|
-
return
|
|
4638
|
+
return trackStream_regeneratorRuntime().wrap(function streamChunk$(_context) {
|
|
5170
4639
|
while (1) switch (_context.prev = _context.next) {
|
|
5171
4640
|
case 0:
|
|
5172
4641
|
len = chunk.byteLength;
|
|
@@ -5199,9 +4668,9 @@ var streamChunk = /*#__PURE__*/regenerator.mark(function streamChunk(chunk, chun
|
|
|
5199
4668
|
}, streamChunk);
|
|
5200
4669
|
});
|
|
5201
4670
|
var readBytes = /*#__PURE__*/function () {
|
|
5202
|
-
var _ref = _wrapAsyncGenerator(/*#__PURE__*/
|
|
4671
|
+
var _ref = _wrapAsyncGenerator(/*#__PURE__*/trackStream_regeneratorRuntime().mark(function _callee(iterable, chunkSize) {
|
|
5203
4672
|
var _iteratorAbruptCompletion, _didIteratorError, _iteratorError, _iterator, _step, chunk;
|
|
5204
|
-
return
|
|
4673
|
+
return trackStream_regeneratorRuntime().wrap(function _callee$(_context2) {
|
|
5205
4674
|
while (1) switch (_context2.prev = _context2.next) {
|
|
5206
4675
|
case 0:
|
|
5207
4676
|
_iteratorAbruptCompletion = false;
|
|
@@ -5261,9 +4730,9 @@ var readBytes = /*#__PURE__*/function () {
|
|
|
5261
4730
|
};
|
|
5262
4731
|
}();
|
|
5263
4732
|
var readStream = /*#__PURE__*/function () {
|
|
5264
|
-
var _ref2 = _wrapAsyncGenerator(/*#__PURE__*/
|
|
4733
|
+
var _ref2 = _wrapAsyncGenerator(/*#__PURE__*/trackStream_regeneratorRuntime().mark(function _callee2(stream) {
|
|
5265
4734
|
var reader, _yield$_awaitAsyncGen, done, value;
|
|
5266
|
-
return
|
|
4735
|
+
return trackStream_regeneratorRuntime().wrap(function _callee2$(_context3) {
|
|
5267
4736
|
while (1) switch (_context3.prev = _context3.next) {
|
|
5268
4737
|
case 0:
|
|
5269
4738
|
if (!stream[Symbol.asyncIterator]) {
|
|
@@ -5322,9 +4791,9 @@ var trackStream = function trackStream(stream, chunkSize, onProgress, onFinish)
|
|
|
5322
4791
|
};
|
|
5323
4792
|
return new ReadableStream({
|
|
5324
4793
|
pull: function pull(controller) {
|
|
5325
|
-
return
|
|
4794
|
+
return trackStream_asyncToGenerator(/*#__PURE__*/trackStream_regeneratorRuntime().mark(function _callee3() {
|
|
5326
4795
|
var _yield$iterator$next, _done, value, len, loadedBytes;
|
|
5327
|
-
return
|
|
4796
|
+
return trackStream_regeneratorRuntime().wrap(function _callee3$(_context4) {
|
|
5328
4797
|
while (1) switch (_context4.prev = _context4.next) {
|
|
5329
4798
|
case 0:
|
|
5330
4799
|
_context4.prev = 0;
|
|
@@ -5371,12 +4840,21 @@ var trackStream = function trackStream(stream, chunkSize, onProgress, onFinish)
|
|
|
5371
4840
|
});
|
|
5372
4841
|
};
|
|
5373
4842
|
;// ./node_modules/axios/lib/adapters/fetch.js
|
|
5374
|
-
|
|
5375
|
-
|
|
5376
|
-
|
|
4843
|
+
function fetch_typeof(o) { "@babel/helpers - typeof"; return fetch_typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, fetch_typeof(o); }
|
|
5377
4844
|
function fetch_ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
5378
|
-
function fetch_objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? fetch_ownKeys(Object(t), !0).forEach(function (r) {
|
|
5379
|
-
|
|
4845
|
+
function fetch_objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? fetch_ownKeys(Object(t), !0).forEach(function (r) { fetch_defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : fetch_ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
4846
|
+
function fetch_defineProperty(e, r, t) { return (r = fetch_toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
|
|
4847
|
+
function fetch_toPropertyKey(t) { var i = fetch_toPrimitive(t, "string"); return "symbol" == fetch_typeof(i) ? i : i + ""; }
|
|
4848
|
+
function fetch_toPrimitive(t, r) { if ("object" != fetch_typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != fetch_typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
|
4849
|
+
function fetch_slicedToArray(r, e) { return fetch_arrayWithHoles(r) || fetch_iterableToArrayLimit(r, e) || fetch_unsupportedIterableToArray(r, e) || fetch_nonIterableRest(); }
|
|
4850
|
+
function fetch_nonIterableRest() { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
|
|
4851
|
+
function fetch_unsupportedIterableToArray(r, a) { if (r) { if ("string" == typeof r) return fetch_arrayLikeToArray(r, a); var t = {}.toString.call(r).slice(8, -1); return "Object" === t && r.constructor && (t = r.constructor.name), "Map" === t || "Set" === t ? Array.from(r) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? fetch_arrayLikeToArray(r, a) : void 0; } }
|
|
4852
|
+
function fetch_arrayLikeToArray(r, a) { (null == a || a > r.length) && (a = r.length); for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e]; return n; }
|
|
4853
|
+
function fetch_iterableToArrayLimit(r, l) { var t = null == r ? null : "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (null != t) { var e, n, i, u, a = [], f = !0, o = !1; try { if (i = (t = t.call(r)).next, 0 === l) { if (Object(t) !== t) return; f = !1; } else for (; !(f = (e = i.call(t)).done) && (a.push(e.value), a.length !== l); f = !0); } catch (r) { o = !0, n = r; } finally { try { if (!f && null != t.return && (u = t.return(), Object(u) !== u)) return; } finally { if (o) throw n; } } return a; } }
|
|
4854
|
+
function fetch_arrayWithHoles(r) { if (Array.isArray(r)) return r; }
|
|
4855
|
+
function fetch_regeneratorRuntime() { "use strict"; /*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/babel/babel/blob/main/packages/babel-helpers/LICENSE */ fetch_regeneratorRuntime = function _regeneratorRuntime() { return r; }; var t, r = {}, e = Object.prototype, n = e.hasOwnProperty, o = "function" == typeof Symbol ? Symbol : {}, i = o.iterator || "@@iterator", a = o.asyncIterator || "@@asyncIterator", u = o.toStringTag || "@@toStringTag"; function c(t, r, e, n) { return Object.defineProperty(t, r, { value: e, enumerable: !n, configurable: !n, writable: !n }); } try { c({}, ""); } catch (t) { c = function c(t, r, e) { return t[r] = e; }; } function h(r, e, n, o) { var i = e && e.prototype instanceof Generator ? e : Generator, a = Object.create(i.prototype); return c(a, "_invoke", function (r, e, n) { var o = 1; return function (i, a) { if (3 === o) throw Error("Generator is already running"); if (4 === o) { if ("throw" === i) throw a; return { value: t, done: !0 }; } for (n.method = i, n.arg = a;;) { var u = n.delegate; if (u) { var c = d(u, n); if (c) { if (c === f) continue; return c; } } if ("next" === n.method) n.sent = n._sent = n.arg;else if ("throw" === n.method) { if (1 === o) throw o = 4, n.arg; n.dispatchException(n.arg); } else "return" === n.method && n.abrupt("return", n.arg); o = 3; var h = s(r, e, n); if ("normal" === h.type) { if (o = n.done ? 4 : 2, h.arg === f) continue; return { value: h.arg, done: n.done }; } "throw" === h.type && (o = 4, n.method = "throw", n.arg = h.arg); } }; }(r, n, new Context(o || [])), !0), a; } function s(t, r, e) { try { return { type: "normal", arg: t.call(r, e) }; } catch (t) { return { type: "throw", arg: t }; } } r.wrap = h; var f = {}; function Generator() {} function GeneratorFunction() {} function GeneratorFunctionPrototype() {} var l = {}; c(l, i, function () { return this; }); var p = Object.getPrototypeOf, y = p && p(p(x([]))); y && y !== e && n.call(y, i) && (l = y); var v = GeneratorFunctionPrototype.prototype = Generator.prototype = Object.create(l); function g(t) { ["next", "throw", "return"].forEach(function (r) { c(t, r, function (t) { return this._invoke(r, t); }); }); } function AsyncIterator(t, r) { function e(o, i, a, u) { var c = s(t[o], t, i); if ("throw" !== c.type) { var h = c.arg, f = h.value; return f && "object" == fetch_typeof(f) && n.call(f, "__await") ? r.resolve(f.__await).then(function (t) { e("next", t, a, u); }, function (t) { e("throw", t, a, u); }) : r.resolve(f).then(function (t) { h.value = t, a(h); }, function (t) { return e("throw", t, a, u); }); } u(c.arg); } var o; c(this, "_invoke", function (t, n) { function i() { return new r(function (r, o) { e(t, n, r, o); }); } return o = o ? o.then(i, i) : i(); }, !0); } function d(r, e) { var n = e.method, o = r.i[n]; if (o === t) return e.delegate = null, "throw" === n && r.i.return && (e.method = "return", e.arg = t, d(r, e), "throw" === e.method) || "return" !== n && (e.method = "throw", e.arg = new TypeError("The iterator does not provide a '" + n + "' method")), f; var i = s(o, r.i, e.arg); if ("throw" === i.type) return e.method = "throw", e.arg = i.arg, e.delegate = null, f; var a = i.arg; return a ? a.done ? (e[r.r] = a.value, e.next = r.n, "return" !== e.method && (e.method = "next", e.arg = t), e.delegate = null, f) : a : (e.method = "throw", e.arg = new TypeError("iterator result is not an object"), e.delegate = null, f); } function w(t) { this.tryEntries.push(t); } function m(r) { var e = r[4] || {}; e.type = "normal", e.arg = t, r[4] = e; } function Context(t) { this.tryEntries = [[-1]], t.forEach(w, this), this.reset(!0); } function x(r) { if (null != r) { var e = r[i]; if (e) return e.call(r); if ("function" == typeof r.next) return r; if (!isNaN(r.length)) { var o = -1, a = function e() { for (; ++o < r.length;) if (n.call(r, o)) return e.value = r[o], e.done = !1, e; return e.value = t, e.done = !0, e; }; return a.next = a; } } throw new TypeError(fetch_typeof(r) + " is not iterable"); } return GeneratorFunction.prototype = GeneratorFunctionPrototype, c(v, "constructor", GeneratorFunctionPrototype), c(GeneratorFunctionPrototype, "constructor", GeneratorFunction), GeneratorFunction.displayName = c(GeneratorFunctionPrototype, u, "GeneratorFunction"), r.isGeneratorFunction = function (t) { var r = "function" == typeof t && t.constructor; return !!r && (r === GeneratorFunction || "GeneratorFunction" === (r.displayName || r.name)); }, r.mark = function (t) { return Object.setPrototypeOf ? Object.setPrototypeOf(t, GeneratorFunctionPrototype) : (t.__proto__ = GeneratorFunctionPrototype, c(t, u, "GeneratorFunction")), t.prototype = Object.create(v), t; }, r.awrap = function (t) { return { __await: t }; }, g(AsyncIterator.prototype), c(AsyncIterator.prototype, a, function () { return this; }), r.AsyncIterator = AsyncIterator, r.async = function (t, e, n, o, i) { void 0 === i && (i = Promise); var a = new AsyncIterator(h(t, e, n, o), i); return r.isGeneratorFunction(e) ? a : a.next().then(function (t) { return t.done ? t.value : a.next(); }); }, g(v), c(v, u, "Generator"), c(v, i, function () { return this; }), c(v, "toString", function () { return "[object Generator]"; }), r.keys = function (t) { var r = Object(t), e = []; for (var n in r) e.unshift(n); return function t() { for (; e.length;) if ((n = e.pop()) in r) return t.value = n, t.done = !1, t; return t.done = !0, t; }; }, r.values = x, Context.prototype = { constructor: Context, reset: function reset(r) { if (this.prev = this.next = 0, this.sent = this._sent = t, this.done = !1, this.delegate = null, this.method = "next", this.arg = t, this.tryEntries.forEach(m), !r) for (var e in this) "t" === e.charAt(0) && n.call(this, e) && !isNaN(+e.slice(1)) && (this[e] = t); }, stop: function stop() { this.done = !0; var t = this.tryEntries[0][4]; if ("throw" === t.type) throw t.arg; return this.rval; }, dispatchException: function dispatchException(r) { if (this.done) throw r; var e = this; function n(t) { a.type = "throw", a.arg = r, e.next = t; } for (var o = e.tryEntries.length - 1; o >= 0; --o) { var i = this.tryEntries[o], a = i[4], u = this.prev, c = i[1], h = i[2]; if (-1 === i[0]) return n("end"), !1; if (!c && !h) throw Error("try statement without catch or finally"); if (null != i[0] && i[0] <= u) { if (u < c) return this.method = "next", this.arg = t, n(c), !0; if (u < h) return n(h), !1; } } }, abrupt: function abrupt(t, r) { for (var e = this.tryEntries.length - 1; e >= 0; --e) { var n = this.tryEntries[e]; if (n[0] > -1 && n[0] <= this.prev && this.prev < n[2]) { var o = n; break; } } o && ("break" === t || "continue" === t) && o[0] <= r && r <= o[2] && (o = null); var i = o ? o[4] : {}; return i.type = t, i.arg = r, o ? (this.method = "next", this.next = o[2], f) : this.complete(i); }, complete: function complete(t, r) { if ("throw" === t.type) throw t.arg; return "break" === t.type || "continue" === t.type ? this.next = t.arg : "return" === t.type ? (this.rval = this.arg = t.arg, this.method = "return", this.next = "end") : "normal" === t.type && r && (this.next = r), f; }, finish: function finish(t) { for (var r = this.tryEntries.length - 1; r >= 0; --r) { var e = this.tryEntries[r]; if (e[2] === t) return this.complete(e[4], e[3]), m(e), f; } }, catch: function _catch(t) { for (var r = this.tryEntries.length - 1; r >= 0; --r) { var e = this.tryEntries[r]; if (e[0] === t) { var n = e[4]; if ("throw" === n.type) { var o = n.arg; m(e); } return o; } } throw Error("illegal catch attempt"); }, delegateYield: function delegateYield(r, e, n) { return this.delegate = { i: x(r), r: e, n: n }, "next" === this.method && (this.arg = t), f; } }, r; }
|
|
4856
|
+
function fetch_asyncGeneratorStep(n, t, e, r, o, a, c) { try { var i = n[a](c), u = i.value; } catch (n) { return void e(n); } i.done ? t(u) : Promise.resolve(u).then(r, o); }
|
|
4857
|
+
function fetch_asyncToGenerator(n) { return function () { var t = this, e = arguments; return new Promise(function (r, o) { var a = n.apply(t, e); function _next(n) { fetch_asyncGeneratorStep(a, r, o, _next, _throw, "next", n); } function _throw(n) { fetch_asyncGeneratorStep(a, r, o, _next, _throw, "throw", n); } _next(void 0); }); }; }
|
|
5380
4858
|
|
|
5381
4859
|
|
|
5382
4860
|
|
|
@@ -5395,8 +4873,8 @@ var encodeText = isFetchSupported && (typeof TextEncoder === 'function' ? functi
|
|
|
5395
4873
|
return encoder.encode(str);
|
|
5396
4874
|
};
|
|
5397
4875
|
}(new TextEncoder()) : (/*#__PURE__*/function () {
|
|
5398
|
-
var _ref =
|
|
5399
|
-
return
|
|
4876
|
+
var _ref = fetch_asyncToGenerator(/*#__PURE__*/fetch_regeneratorRuntime().mark(function _callee(str) {
|
|
4877
|
+
return fetch_regeneratorRuntime().wrap(function _callee$(_context) {
|
|
5400
4878
|
while (1) switch (_context.prev = _context.next) {
|
|
5401
4879
|
case 0:
|
|
5402
4880
|
_context.t0 = Uint8Array;
|
|
@@ -5456,9 +4934,9 @@ isFetchSupported && function (res) {
|
|
|
5456
4934
|
});
|
|
5457
4935
|
}(new Response());
|
|
5458
4936
|
var getBodyLength = /*#__PURE__*/function () {
|
|
5459
|
-
var _ref2 =
|
|
4937
|
+
var _ref2 = fetch_asyncToGenerator(/*#__PURE__*/fetch_regeneratorRuntime().mark(function _callee2(body) {
|
|
5460
4938
|
var _request;
|
|
5461
|
-
return
|
|
4939
|
+
return fetch_regeneratorRuntime().wrap(function _callee2$(_context2) {
|
|
5462
4940
|
while (1) switch (_context2.prev = _context2.next) {
|
|
5463
4941
|
case 0:
|
|
5464
4942
|
if (!(body == null)) {
|
|
@@ -5514,9 +4992,9 @@ var getBodyLength = /*#__PURE__*/function () {
|
|
|
5514
4992
|
};
|
|
5515
4993
|
}();
|
|
5516
4994
|
var resolveBodyLength = /*#__PURE__*/function () {
|
|
5517
|
-
var _ref3 =
|
|
4995
|
+
var _ref3 = fetch_asyncToGenerator(/*#__PURE__*/fetch_regeneratorRuntime().mark(function _callee3(headers, body) {
|
|
5518
4996
|
var length;
|
|
5519
|
-
return
|
|
4997
|
+
return fetch_regeneratorRuntime().wrap(function _callee3$(_context3) {
|
|
5520
4998
|
while (1) switch (_context3.prev = _context3.next) {
|
|
5521
4999
|
case 0:
|
|
5522
5000
|
length = utils.toFiniteNumber(headers.getContentLength());
|
|
@@ -5532,9 +5010,9 @@ var resolveBodyLength = /*#__PURE__*/function () {
|
|
|
5532
5010
|
};
|
|
5533
5011
|
}();
|
|
5534
5012
|
/* harmony default export */ var adapters_fetch = (isFetchSupported && (/*#__PURE__*/function () {
|
|
5535
|
-
var _ref4 =
|
|
5013
|
+
var _ref4 = fetch_asyncToGenerator(/*#__PURE__*/fetch_regeneratorRuntime().mark(function _callee4(config) {
|
|
5536
5014
|
var _resolveConfig, url, method, data, signal, cancelToken, timeout, onDownloadProgress, onUploadProgress, responseType, headers, _resolveConfig$withCr, withCredentials, fetchOptions, composedSignal, request, unsubscribe, requestContentLength, _request, contentTypeHeader, _progressEventDecorat, _progressEventDecorat2, onProgress, flush, isCredentialsSupported, response, isStreamResponse, options, responseContentLength, _ref5, _ref6, _onProgress, _flush, responseData;
|
|
5537
|
-
return
|
|
5015
|
+
return fetch_regeneratorRuntime().wrap(function _callee4$(_context4) {
|
|
5538
5016
|
while (1) switch (_context4.prev = _context4.next) {
|
|
5539
5017
|
case 0:
|
|
5540
5018
|
_resolveConfig = resolveConfig(config), url = _resolveConfig.url, method = _resolveConfig.method, data = _resolveConfig.data, signal = _resolveConfig.signal, cancelToken = _resolveConfig.cancelToken, timeout = _resolveConfig.timeout, onDownloadProgress = _resolveConfig.onDownloadProgress, onUploadProgress = _resolveConfig.onUploadProgress, responseType = _resolveConfig.responseType, headers = _resolveConfig.headers, _resolveConfig$withCr = _resolveConfig.withCredentials, withCredentials = _resolveConfig$withCr === void 0 ? 'same-origin' : _resolveConfig$withCr, fetchOptions = _resolveConfig.fetchOptions;
|
|
@@ -5568,7 +5046,7 @@ var resolveBodyLength = /*#__PURE__*/function () {
|
|
|
5568
5046
|
headers.setContentType(contentTypeHeader);
|
|
5569
5047
|
}
|
|
5570
5048
|
if (_request.body) {
|
|
5571
|
-
_progressEventDecorat = progressEventDecorator(requestContentLength, progressEventReducer(asyncDecorator(onUploadProgress))), _progressEventDecorat2 =
|
|
5049
|
+
_progressEventDecorat = progressEventDecorator(requestContentLength, progressEventReducer(asyncDecorator(onUploadProgress))), _progressEventDecorat2 = fetch_slicedToArray(_progressEventDecorat, 2), onProgress = _progressEventDecorat2[0], flush = _progressEventDecorat2[1];
|
|
5572
5050
|
data = trackStream(_request.body, DEFAULT_CHUNK_SIZE, onProgress, flush);
|
|
5573
5051
|
}
|
|
5574
5052
|
case 15:
|
|
@@ -5598,7 +5076,7 @@ var resolveBodyLength = /*#__PURE__*/function () {
|
|
|
5598
5076
|
options[prop] = response[prop];
|
|
5599
5077
|
});
|
|
5600
5078
|
responseContentLength = utils.toFiniteNumber(response.headers.get('content-length'));
|
|
5601
|
-
_ref5 = onDownloadProgress && progressEventDecorator(responseContentLength, progressEventReducer(asyncDecorator(onDownloadProgress), true)) || [], _ref6 =
|
|
5079
|
+
_ref5 = onDownloadProgress && progressEventDecorator(responseContentLength, progressEventReducer(asyncDecorator(onDownloadProgress), true)) || [], _ref6 = fetch_slicedToArray(_ref5, 2), _onProgress = _ref6[0], _flush = _ref6[1];
|
|
5602
5080
|
response = new Response(trackStream(response.body, DEFAULT_CHUNK_SIZE, _onProgress, function () {
|
|
5603
5081
|
_flush && _flush();
|
|
5604
5082
|
unsubscribe && unsubscribe();
|
|
@@ -5647,7 +5125,12 @@ var resolveBodyLength = /*#__PURE__*/function () {
|
|
|
5647
5125
|
};
|
|
5648
5126
|
}()));
|
|
5649
5127
|
;// ./node_modules/axios/lib/adapters/adapters.js
|
|
5650
|
-
|
|
5128
|
+
function adapters_slicedToArray(r, e) { return adapters_arrayWithHoles(r) || adapters_iterableToArrayLimit(r, e) || adapters_unsupportedIterableToArray(r, e) || adapters_nonIterableRest(); }
|
|
5129
|
+
function adapters_nonIterableRest() { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
|
|
5130
|
+
function adapters_unsupportedIterableToArray(r, a) { if (r) { if ("string" == typeof r) return adapters_arrayLikeToArray(r, a); var t = {}.toString.call(r).slice(8, -1); return "Object" === t && r.constructor && (t = r.constructor.name), "Map" === t || "Set" === t ? Array.from(r) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? adapters_arrayLikeToArray(r, a) : void 0; } }
|
|
5131
|
+
function adapters_arrayLikeToArray(r, a) { (null == a || a > r.length) && (a = r.length); for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e]; return n; }
|
|
5132
|
+
function adapters_iterableToArrayLimit(r, l) { var t = null == r ? null : "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (null != t) { var e, n, i, u, a = [], f = !0, o = !1; try { if (i = (t = t.call(r)).next, 0 === l) { if (Object(t) !== t) return; f = !1; } else for (; !(f = (e = i.call(t)).done) && (a.push(e.value), a.length !== l); f = !0); } catch (r) { o = !0, n = r; } finally { try { if (!f && null != t.return && (u = t.return(), Object(u) !== u)) return; } finally { if (o) throw n; } } return a; } }
|
|
5133
|
+
function adapters_arrayWithHoles(r) { if (Array.isArray(r)) return r; }
|
|
5651
5134
|
|
|
5652
5135
|
|
|
5653
5136
|
|
|
@@ -5703,7 +5186,7 @@ var isResolvedHandle = function isResolvedHandle(adapter) {
|
|
|
5703
5186
|
}
|
|
5704
5187
|
if (!adapter) {
|
|
5705
5188
|
var reasons = Object.entries(rejectedReasons).map(function (_ref) {
|
|
5706
|
-
var _ref2 =
|
|
5189
|
+
var _ref2 = adapters_slicedToArray(_ref, 2),
|
|
5707
5190
|
id = _ref2[0],
|
|
5708
5191
|
state = _ref2[1];
|
|
5709
5192
|
return "adapter ".concat(id, " ") + (state === false ? 'is not supported by the environment' : 'is not available in the build');
|
|
@@ -5783,7 +5266,7 @@ var VERSION = "1.9.0";
|
|
|
5783
5266
|
;// ./node_modules/axios/lib/helpers/validator.js
|
|
5784
5267
|
|
|
5785
5268
|
|
|
5786
|
-
|
|
5269
|
+
function validator_typeof(o) { "@babel/helpers - typeof"; return validator_typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, validator_typeof(o); }
|
|
5787
5270
|
|
|
5788
5271
|
|
|
5789
5272
|
var validators = {};
|
|
@@ -5791,7 +5274,7 @@ var validators = {};
|
|
|
5791
5274
|
// eslint-disable-next-line func-names
|
|
5792
5275
|
['object', 'boolean', 'number', 'function', 'string', 'symbol'].forEach(function (type, i) {
|
|
5793
5276
|
validators[type] = function validator(thing) {
|
|
5794
|
-
return
|
|
5277
|
+
return validator_typeof(thing) === type || 'a' + (i < 1 ? 'n ' : ' ') + type;
|
|
5795
5278
|
};
|
|
5796
5279
|
});
|
|
5797
5280
|
var deprecatedWarnings = {};
|
|
@@ -5842,7 +5325,7 @@ validators.spelling = function spelling(correctSpelling) {
|
|
|
5842
5325
|
*/
|
|
5843
5326
|
|
|
5844
5327
|
function assertOptions(options, schema, allowUnknown) {
|
|
5845
|
-
if (
|
|
5328
|
+
if (validator_typeof(options) !== 'object') {
|
|
5846
5329
|
throw new core_AxiosError('options must be an object', core_AxiosError.ERR_BAD_OPTION_VALUE);
|
|
5847
5330
|
}
|
|
5848
5331
|
var keys = Object.keys(options);
|
|
@@ -5870,10 +5353,15 @@ function assertOptions(options, schema, allowUnknown) {
|
|
|
5870
5353
|
;// ./node_modules/axios/lib/core/Axios.js
|
|
5871
5354
|
|
|
5872
5355
|
|
|
5873
|
-
|
|
5874
|
-
|
|
5875
|
-
|
|
5876
|
-
|
|
5356
|
+
function Axios_typeof(o) { "@babel/helpers - typeof"; return Axios_typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, Axios_typeof(o); }
|
|
5357
|
+
function Axios_regeneratorRuntime() { "use strict"; /*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/babel/babel/blob/main/packages/babel-helpers/LICENSE */ Axios_regeneratorRuntime = function _regeneratorRuntime() { return r; }; var t, r = {}, e = Object.prototype, n = e.hasOwnProperty, o = "function" == typeof Symbol ? Symbol : {}, i = o.iterator || "@@iterator", a = o.asyncIterator || "@@asyncIterator", u = o.toStringTag || "@@toStringTag"; function c(t, r, e, n) { return Object.defineProperty(t, r, { value: e, enumerable: !n, configurable: !n, writable: !n }); } try { c({}, ""); } catch (t) { c = function c(t, r, e) { return t[r] = e; }; } function h(r, e, n, o) { var i = e && e.prototype instanceof Generator ? e : Generator, a = Object.create(i.prototype); return c(a, "_invoke", function (r, e, n) { var o = 1; return function (i, a) { if (3 === o) throw Error("Generator is already running"); if (4 === o) { if ("throw" === i) throw a; return { value: t, done: !0 }; } for (n.method = i, n.arg = a;;) { var u = n.delegate; if (u) { var c = d(u, n); if (c) { if (c === f) continue; return c; } } if ("next" === n.method) n.sent = n._sent = n.arg;else if ("throw" === n.method) { if (1 === o) throw o = 4, n.arg; n.dispatchException(n.arg); } else "return" === n.method && n.abrupt("return", n.arg); o = 3; var h = s(r, e, n); if ("normal" === h.type) { if (o = n.done ? 4 : 2, h.arg === f) continue; return { value: h.arg, done: n.done }; } "throw" === h.type && (o = 4, n.method = "throw", n.arg = h.arg); } }; }(r, n, new Context(o || [])), !0), a; } function s(t, r, e) { try { return { type: "normal", arg: t.call(r, e) }; } catch (t) { return { type: "throw", arg: t }; } } r.wrap = h; var f = {}; function Generator() {} function GeneratorFunction() {} function GeneratorFunctionPrototype() {} var l = {}; c(l, i, function () { return this; }); var p = Object.getPrototypeOf, y = p && p(p(x([]))); y && y !== e && n.call(y, i) && (l = y); var v = GeneratorFunctionPrototype.prototype = Generator.prototype = Object.create(l); function g(t) { ["next", "throw", "return"].forEach(function (r) { c(t, r, function (t) { return this._invoke(r, t); }); }); } function AsyncIterator(t, r) { function e(o, i, a, u) { var c = s(t[o], t, i); if ("throw" !== c.type) { var h = c.arg, f = h.value; return f && "object" == Axios_typeof(f) && n.call(f, "__await") ? r.resolve(f.__await).then(function (t) { e("next", t, a, u); }, function (t) { e("throw", t, a, u); }) : r.resolve(f).then(function (t) { h.value = t, a(h); }, function (t) { return e("throw", t, a, u); }); } u(c.arg); } var o; c(this, "_invoke", function (t, n) { function i() { return new r(function (r, o) { e(t, n, r, o); }); } return o = o ? o.then(i, i) : i(); }, !0); } function d(r, e) { var n = e.method, o = r.i[n]; if (o === t) return e.delegate = null, "throw" === n && r.i.return && (e.method = "return", e.arg = t, d(r, e), "throw" === e.method) || "return" !== n && (e.method = "throw", e.arg = new TypeError("The iterator does not provide a '" + n + "' method")), f; var i = s(o, r.i, e.arg); if ("throw" === i.type) return e.method = "throw", e.arg = i.arg, e.delegate = null, f; var a = i.arg; return a ? a.done ? (e[r.r] = a.value, e.next = r.n, "return" !== e.method && (e.method = "next", e.arg = t), e.delegate = null, f) : a : (e.method = "throw", e.arg = new TypeError("iterator result is not an object"), e.delegate = null, f); } function w(t) { this.tryEntries.push(t); } function m(r) { var e = r[4] || {}; e.type = "normal", e.arg = t, r[4] = e; } function Context(t) { this.tryEntries = [[-1]], t.forEach(w, this), this.reset(!0); } function x(r) { if (null != r) { var e = r[i]; if (e) return e.call(r); if ("function" == typeof r.next) return r; if (!isNaN(r.length)) { var o = -1, a = function e() { for (; ++o < r.length;) if (n.call(r, o)) return e.value = r[o], e.done = !1, e; return e.value = t, e.done = !0, e; }; return a.next = a; } } throw new TypeError(Axios_typeof(r) + " is not iterable"); } return GeneratorFunction.prototype = GeneratorFunctionPrototype, c(v, "constructor", GeneratorFunctionPrototype), c(GeneratorFunctionPrototype, "constructor", GeneratorFunction), GeneratorFunction.displayName = c(GeneratorFunctionPrototype, u, "GeneratorFunction"), r.isGeneratorFunction = function (t) { var r = "function" == typeof t && t.constructor; return !!r && (r === GeneratorFunction || "GeneratorFunction" === (r.displayName || r.name)); }, r.mark = function (t) { return Object.setPrototypeOf ? Object.setPrototypeOf(t, GeneratorFunctionPrototype) : (t.__proto__ = GeneratorFunctionPrototype, c(t, u, "GeneratorFunction")), t.prototype = Object.create(v), t; }, r.awrap = function (t) { return { __await: t }; }, g(AsyncIterator.prototype), c(AsyncIterator.prototype, a, function () { return this; }), r.AsyncIterator = AsyncIterator, r.async = function (t, e, n, o, i) { void 0 === i && (i = Promise); var a = new AsyncIterator(h(t, e, n, o), i); return r.isGeneratorFunction(e) ? a : a.next().then(function (t) { return t.done ? t.value : a.next(); }); }, g(v), c(v, u, "Generator"), c(v, i, function () { return this; }), c(v, "toString", function () { return "[object Generator]"; }), r.keys = function (t) { var r = Object(t), e = []; for (var n in r) e.unshift(n); return function t() { for (; e.length;) if ((n = e.pop()) in r) return t.value = n, t.done = !1, t; return t.done = !0, t; }; }, r.values = x, Context.prototype = { constructor: Context, reset: function reset(r) { if (this.prev = this.next = 0, this.sent = this._sent = t, this.done = !1, this.delegate = null, this.method = "next", this.arg = t, this.tryEntries.forEach(m), !r) for (var e in this) "t" === e.charAt(0) && n.call(this, e) && !isNaN(+e.slice(1)) && (this[e] = t); }, stop: function stop() { this.done = !0; var t = this.tryEntries[0][4]; if ("throw" === t.type) throw t.arg; return this.rval; }, dispatchException: function dispatchException(r) { if (this.done) throw r; var e = this; function n(t) { a.type = "throw", a.arg = r, e.next = t; } for (var o = e.tryEntries.length - 1; o >= 0; --o) { var i = this.tryEntries[o], a = i[4], u = this.prev, c = i[1], h = i[2]; if (-1 === i[0]) return n("end"), !1; if (!c && !h) throw Error("try statement without catch or finally"); if (null != i[0] && i[0] <= u) { if (u < c) return this.method = "next", this.arg = t, n(c), !0; if (u < h) return n(h), !1; } } }, abrupt: function abrupt(t, r) { for (var e = this.tryEntries.length - 1; e >= 0; --e) { var n = this.tryEntries[e]; if (n[0] > -1 && n[0] <= this.prev && this.prev < n[2]) { var o = n; break; } } o && ("break" === t || "continue" === t) && o[0] <= r && r <= o[2] && (o = null); var i = o ? o[4] : {}; return i.type = t, i.arg = r, o ? (this.method = "next", this.next = o[2], f) : this.complete(i); }, complete: function complete(t, r) { if ("throw" === t.type) throw t.arg; return "break" === t.type || "continue" === t.type ? this.next = t.arg : "return" === t.type ? (this.rval = this.arg = t.arg, this.method = "return", this.next = "end") : "normal" === t.type && r && (this.next = r), f; }, finish: function finish(t) { for (var r = this.tryEntries.length - 1; r >= 0; --r) { var e = this.tryEntries[r]; if (e[2] === t) return this.complete(e[4], e[3]), m(e), f; } }, catch: function _catch(t) { for (var r = this.tryEntries.length - 1; r >= 0; --r) { var e = this.tryEntries[r]; if (e[0] === t) { var n = e[4]; if ("throw" === n.type) { var o = n.arg; m(e); } return o; } } throw Error("illegal catch attempt"); }, delegateYield: function delegateYield(r, e, n) { return this.delegate = { i: x(r), r: e, n: n }, "next" === this.method && (this.arg = t), f; } }, r; }
|
|
5358
|
+
function Axios_asyncGeneratorStep(n, t, e, r, o, a, c) { try { var i = n[a](c), u = i.value; } catch (n) { return void e(n); } i.done ? t(u) : Promise.resolve(u).then(r, o); }
|
|
5359
|
+
function Axios_asyncToGenerator(n) { return function () { var t = this, e = arguments; return new Promise(function (r, o) { var a = n.apply(t, e); function _next(n) { Axios_asyncGeneratorStep(a, r, o, _next, _throw, "next", n); } function _throw(n) { Axios_asyncGeneratorStep(a, r, o, _next, _throw, "throw", n); } _next(void 0); }); }; }
|
|
5360
|
+
function Axios_classCallCheck(a, n) { if (!(a instanceof n)) throw new TypeError("Cannot call a class as a function"); }
|
|
5361
|
+
function Axios_defineProperties(e, r) { for (var t = 0; t < r.length; t++) { var o = r[t]; o.enumerable = o.enumerable || !1, o.configurable = !0, "value" in o && (o.writable = !0), Object.defineProperty(e, Axios_toPropertyKey(o.key), o); } }
|
|
5362
|
+
function Axios_createClass(e, r, t) { return r && Axios_defineProperties(e.prototype, r), t && Axios_defineProperties(e, t), Object.defineProperty(e, "prototype", { writable: !1 }), e; }
|
|
5363
|
+
function Axios_toPropertyKey(t) { var i = Axios_toPrimitive(t, "string"); return "symbol" == Axios_typeof(i) ? i : i + ""; }
|
|
5364
|
+
function Axios_toPrimitive(t, r) { if ("object" != Axios_typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != Axios_typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
|
5877
5365
|
|
|
5878
5366
|
|
|
5879
5367
|
|
|
@@ -5893,7 +5381,7 @@ var Axios_validators = validator.validators;
|
|
|
5893
5381
|
*/
|
|
5894
5382
|
var Axios = /*#__PURE__*/function () {
|
|
5895
5383
|
function Axios(instanceConfig) {
|
|
5896
|
-
|
|
5384
|
+
Axios_classCallCheck(this, Axios);
|
|
5897
5385
|
this.defaults = instanceConfig || {};
|
|
5898
5386
|
this.interceptors = {
|
|
5899
5387
|
request: new core_InterceptorManager(),
|
|
@@ -5909,12 +5397,12 @@ var Axios = /*#__PURE__*/function () {
|
|
|
5909
5397
|
*
|
|
5910
5398
|
* @returns {Promise} The Promise to be fulfilled
|
|
5911
5399
|
*/
|
|
5912
|
-
return
|
|
5400
|
+
return Axios_createClass(Axios, [{
|
|
5913
5401
|
key: "request",
|
|
5914
5402
|
value: (function () {
|
|
5915
|
-
var _request2 =
|
|
5403
|
+
var _request2 = Axios_asyncToGenerator(/*#__PURE__*/Axios_regeneratorRuntime().mark(function _callee(configOrUrl, config) {
|
|
5916
5404
|
var dummy, stack;
|
|
5917
|
-
return
|
|
5405
|
+
return Axios_regeneratorRuntime().wrap(function _callee$(_context) {
|
|
5918
5406
|
while (1) switch (_context.prev = _context.next) {
|
|
5919
5407
|
case 0:
|
|
5920
5408
|
_context.prev = 0;
|
|
@@ -6107,8 +5595,12 @@ utils.forEach(['post', 'put', 'patch'], function forEachMethodWithData(method) {
|
|
|
6107
5595
|
;// ./node_modules/axios/lib/cancel/CancelToken.js
|
|
6108
5596
|
|
|
6109
5597
|
|
|
6110
|
-
|
|
6111
|
-
|
|
5598
|
+
function CancelToken_typeof(o) { "@babel/helpers - typeof"; return CancelToken_typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, CancelToken_typeof(o); }
|
|
5599
|
+
function CancelToken_classCallCheck(a, n) { if (!(a instanceof n)) throw new TypeError("Cannot call a class as a function"); }
|
|
5600
|
+
function CancelToken_defineProperties(e, r) { for (var t = 0; t < r.length; t++) { var o = r[t]; o.enumerable = o.enumerable || !1, o.configurable = !0, "value" in o && (o.writable = !0), Object.defineProperty(e, CancelToken_toPropertyKey(o.key), o); } }
|
|
5601
|
+
function CancelToken_createClass(e, r, t) { return r && CancelToken_defineProperties(e.prototype, r), t && CancelToken_defineProperties(e, t), Object.defineProperty(e, "prototype", { writable: !1 }), e; }
|
|
5602
|
+
function CancelToken_toPropertyKey(t) { var i = CancelToken_toPrimitive(t, "string"); return "symbol" == CancelToken_typeof(i) ? i : i + ""; }
|
|
5603
|
+
function CancelToken_toPrimitive(t, r) { if ("object" != CancelToken_typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != CancelToken_typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
|
6112
5604
|
|
|
6113
5605
|
|
|
6114
5606
|
/**
|
|
@@ -6120,7 +5612,7 @@ utils.forEach(['post', 'put', 'patch'], function forEachMethodWithData(method) {
|
|
|
6120
5612
|
*/
|
|
6121
5613
|
var CancelToken = /*#__PURE__*/function () {
|
|
6122
5614
|
function CancelToken(executor) {
|
|
6123
|
-
|
|
5615
|
+
CancelToken_classCallCheck(this, CancelToken);
|
|
6124
5616
|
if (typeof executor !== 'function') {
|
|
6125
5617
|
throw new TypeError('executor must be a function.');
|
|
6126
5618
|
}
|
|
@@ -6166,7 +5658,7 @@ var CancelToken = /*#__PURE__*/function () {
|
|
|
6166
5658
|
/**
|
|
6167
5659
|
* Throws a `CanceledError` if cancellation has been requested.
|
|
6168
5660
|
*/
|
|
6169
|
-
return
|
|
5661
|
+
return CancelToken_createClass(CancelToken, [{
|
|
6170
5662
|
key: "throwIfRequested",
|
|
6171
5663
|
value: function throwIfRequested() {
|
|
6172
5664
|
if (this.reason) {
|
|
@@ -6284,7 +5776,12 @@ function isAxiosError(payload) {
|
|
|
6284
5776
|
return utils.isObject(payload) && payload.isAxiosError === true;
|
|
6285
5777
|
}
|
|
6286
5778
|
;// ./node_modules/axios/lib/helpers/HttpStatusCode.js
|
|
6287
|
-
|
|
5779
|
+
function HttpStatusCode_slicedToArray(r, e) { return HttpStatusCode_arrayWithHoles(r) || HttpStatusCode_iterableToArrayLimit(r, e) || HttpStatusCode_unsupportedIterableToArray(r, e) || HttpStatusCode_nonIterableRest(); }
|
|
5780
|
+
function HttpStatusCode_nonIterableRest() { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
|
|
5781
|
+
function HttpStatusCode_unsupportedIterableToArray(r, a) { if (r) { if ("string" == typeof r) return HttpStatusCode_arrayLikeToArray(r, a); var t = {}.toString.call(r).slice(8, -1); return "Object" === t && r.constructor && (t = r.constructor.name), "Map" === t || "Set" === t ? Array.from(r) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? HttpStatusCode_arrayLikeToArray(r, a) : void 0; } }
|
|
5782
|
+
function HttpStatusCode_arrayLikeToArray(r, a) { (null == a || a > r.length) && (a = r.length); for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e]; return n; }
|
|
5783
|
+
function HttpStatusCode_iterableToArrayLimit(r, l) { var t = null == r ? null : "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (null != t) { var e, n, i, u, a = [], f = !0, o = !1; try { if (i = (t = t.call(r)).next, 0 === l) { if (Object(t) !== t) return; f = !1; } else for (; !(f = (e = i.call(t)).done) && (a.push(e.value), a.length !== l); f = !0); } catch (r) { o = !0, n = r; } finally { try { if (!f && null != t.return && (u = t.return(), Object(u) !== u)) return; } finally { if (o) throw n; } } return a; } }
|
|
5784
|
+
function HttpStatusCode_arrayWithHoles(r) { if (Array.isArray(r)) return r; }
|
|
6288
5785
|
var HttpStatusCode = {
|
|
6289
5786
|
Continue: 100,
|
|
6290
5787
|
SwitchingProtocols: 101,
|
|
@@ -6351,7 +5848,7 @@ var HttpStatusCode = {
|
|
|
6351
5848
|
NetworkAuthenticationRequired: 511
|
|
6352
5849
|
};
|
|
6353
5850
|
Object.entries(HttpStatusCode).forEach(function (_ref) {
|
|
6354
|
-
var _ref2 =
|
|
5851
|
+
var _ref2 = HttpStatusCode_slicedToArray(_ref, 2),
|
|
6355
5852
|
key = _ref2[0],
|
|
6356
5853
|
value = _ref2[1];
|
|
6357
5854
|
HttpStatusCode[value] = key;
|
|
@@ -6478,14 +5975,18 @@ request.interceptors.response.use(function (resp) {
|
|
|
6478
5975
|
});
|
|
6479
5976
|
/* harmony default export */ var gridRequest = (request);
|
|
6480
5977
|
;// ./package/SpeechRecognition/api/Tx.js
|
|
6481
|
-
|
|
6482
|
-
|
|
5978
|
+
function Tx_typeof(o) { "@babel/helpers - typeof"; return Tx_typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, Tx_typeof(o); }
|
|
5979
|
+
function Tx_classCallCheck(a, n) { if (!(a instanceof n)) throw new TypeError("Cannot call a class as a function"); }
|
|
5980
|
+
function Tx_defineProperties(e, r) { for (var t = 0; t < r.length; t++) { var o = r[t]; o.enumerable = o.enumerable || !1, o.configurable = !0, "value" in o && (o.writable = !0), Object.defineProperty(e, Tx_toPropertyKey(o.key), o); } }
|
|
5981
|
+
function Tx_createClass(e, r, t) { return r && Tx_defineProperties(e.prototype, r), t && Tx_defineProperties(e, t), Object.defineProperty(e, "prototype", { writable: !1 }), e; }
|
|
5982
|
+
function Tx_toPropertyKey(t) { var i = Tx_toPrimitive(t, "string"); return "symbol" == Tx_typeof(i) ? i : i + ""; }
|
|
5983
|
+
function Tx_toPrimitive(t, r) { if ("object" != Tx_typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != Tx_typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
|
6483
5984
|
|
|
6484
5985
|
var Tx = /*#__PURE__*/function () {
|
|
6485
5986
|
function Tx() {
|
|
6486
|
-
|
|
5987
|
+
Tx_classCallCheck(this, Tx);
|
|
6487
5988
|
}
|
|
6488
|
-
return
|
|
5989
|
+
return Tx_createClass(Tx, null, [{
|
|
6489
5990
|
key: "TextToVoice",
|
|
6490
5991
|
value: function TextToVoice(text) {
|
|
6491
5992
|
return gridRequest.post("/dxwh/gateway/TextToVoice", {
|
|
@@ -6561,13 +6062,19 @@ var base64ToArrayBuffer = function base64ToArrayBuffer(base64) {
|
|
|
6561
6062
|
return bytes.buffer;
|
|
6562
6063
|
};
|
|
6563
6064
|
;// ./node_modules/pinyin-pro/dist/index.mjs
|
|
6564
|
-
|
|
6565
|
-
|
|
6566
|
-
|
|
6567
|
-
|
|
6065
|
+
function dist_toConsumableArray(r) { return dist_arrayWithoutHoles(r) || dist_iterableToArray(r) || dist_unsupportedIterableToArray(r) || dist_nonIterableSpread(); }
|
|
6066
|
+
function dist_nonIterableSpread() { throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
|
|
6067
|
+
function dist_iterableToArray(r) { if ("undefined" != typeof Symbol && null != r[Symbol.iterator] || null != r["@@iterator"]) return Array.from(r); }
|
|
6068
|
+
function dist_arrayWithoutHoles(r) { if (Array.isArray(r)) return dist_arrayLikeToArray(r); }
|
|
6568
6069
|
function dist_createForOfIteratorHelper(r, e) { var t = "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (!t) { if (Array.isArray(r) || (t = dist_unsupportedIterableToArray(r)) || e && r && "number" == typeof r.length) { t && (r = t); var _n = 0, F = function F() {}; return { s: F, n: function n() { return _n >= r.length ? { done: !0 } : { done: !1, value: r[_n++] }; }, e: function e(r) { throw r; }, f: F }; } throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } var o, a = !0, u = !1; return { s: function s() { t = t.call(r); }, n: function n() { var r = t.next(); return a = r.done, r; }, e: function e(r) { u = !0, o = r; }, f: function f() { try { a || null == t.return || t.return(); } finally { if (u) throw o; } } }; }
|
|
6569
6070
|
function dist_unsupportedIterableToArray(r, a) { if (r) { if ("string" == typeof r) return dist_arrayLikeToArray(r, a); var t = {}.toString.call(r).slice(8, -1); return "Object" === t && r.constructor && (t = r.constructor.name), "Map" === t || "Set" === t ? Array.from(r) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? dist_arrayLikeToArray(r, a) : void 0; } }
|
|
6570
6071
|
function dist_arrayLikeToArray(r, a) { (null == a || a > r.length) && (a = r.length); for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e]; return n; }
|
|
6072
|
+
function dist_typeof(o) { "@babel/helpers - typeof"; return dist_typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, dist_typeof(o); }
|
|
6073
|
+
function dist_classCallCheck(a, n) { if (!(a instanceof n)) throw new TypeError("Cannot call a class as a function"); }
|
|
6074
|
+
function dist_defineProperties(e, r) { for (var t = 0; t < r.length; t++) { var o = r[t]; o.enumerable = o.enumerable || !1, o.configurable = !0, "value" in o && (o.writable = !0), Object.defineProperty(e, dist_toPropertyKey(o.key), o); } }
|
|
6075
|
+
function dist_createClass(e, r, t) { return r && dist_defineProperties(e.prototype, r), t && dist_defineProperties(e, t), Object.defineProperty(e, "prototype", { writable: !1 }), e; }
|
|
6076
|
+
function dist_toPropertyKey(t) { var i = dist_toPrimitive(t, "string"); return "symbol" == dist_typeof(i) ? i : i + ""; }
|
|
6077
|
+
function dist_toPrimitive(t, r) { if ("object" != dist_typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != dist_typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
|
6571
6078
|
var DoubleUnicodePrefixReg = /^[\uD800-\uDBFF]$/;
|
|
6572
6079
|
var DoubleUnicodeSuffixReg = /^[\uDC00-\uDFFF]$/;
|
|
6573
6080
|
var DoubleUnicodeReg = /[\uD800-\uDBFF][\uDC00-\uDFFF]/g;
|
|
@@ -6606,11 +6113,11 @@ function splitString(text) {
|
|
|
6606
6113
|
}
|
|
6607
6114
|
var FastDictFactory = /*#__PURE__*/function () {
|
|
6608
6115
|
function FastDictFactory() {
|
|
6609
|
-
|
|
6116
|
+
dist_classCallCheck(this, FastDictFactory);
|
|
6610
6117
|
this.NumberDICT = [];
|
|
6611
6118
|
this.StringDICT = new Map();
|
|
6612
6119
|
}
|
|
6613
|
-
return
|
|
6120
|
+
return dist_createClass(FastDictFactory, [{
|
|
6614
6121
|
key: "get",
|
|
6615
6122
|
value: function get(word) {
|
|
6616
6123
|
if (word.length > 1) {
|
|
@@ -15524,10 +15031,10 @@ var TokenizationAlgorithm;
|
|
|
15524
15031
|
TokenizationAlgorithm[TokenizationAlgorithm["MaxProbability"] = 2] = "MaxProbability";
|
|
15525
15032
|
TokenizationAlgorithm[TokenizationAlgorithm["MinTokenization"] = 3] = "MinTokenization";
|
|
15526
15033
|
})(TokenizationAlgorithm || (TokenizationAlgorithm = {}));
|
|
15527
|
-
var TrieNode = /*#__PURE__*/
|
|
15034
|
+
var TrieNode = /*#__PURE__*/dist_createClass(function TrieNode(parent) {
|
|
15528
15035
|
var prefix = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : "";
|
|
15529
15036
|
var key = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : "";
|
|
15530
|
-
|
|
15037
|
+
dist_classCallCheck(this, TrieNode);
|
|
15531
15038
|
this.children = new Map();
|
|
15532
15039
|
this.fail = null;
|
|
15533
15040
|
this.patterns = [];
|
|
@@ -15537,12 +15044,12 @@ var TrieNode = /*#__PURE__*/_createClass(function TrieNode(parent) {
|
|
|
15537
15044
|
});
|
|
15538
15045
|
var AC = /*#__PURE__*/function () {
|
|
15539
15046
|
function AC() {
|
|
15540
|
-
|
|
15047
|
+
dist_classCallCheck(this, AC);
|
|
15541
15048
|
this.dictMap = new Map();
|
|
15542
15049
|
this.queues = [];
|
|
15543
15050
|
this.root = new TrieNode(null);
|
|
15544
15051
|
}
|
|
15545
|
-
return
|
|
15052
|
+
return dist_createClass(AC, [{
|
|
15546
15053
|
key: "build",
|
|
15547
15054
|
value: function build(patternList) {
|
|
15548
15055
|
this.buildTrie(patternList);
|
|
@@ -15719,7 +15226,7 @@ var AC = /*#__PURE__*/function () {
|
|
|
15719
15226
|
}
|
|
15720
15227
|
}]);
|
|
15721
15228
|
}(); // 常规匹配
|
|
15722
|
-
var PatternsNormal = [].concat(
|
|
15229
|
+
var PatternsNormal = [].concat(dist_toConsumableArray(Pattern5), dist_toConsumableArray(Pattern4), dist_toConsumableArray(Pattern3), dist_toConsumableArray(Pattern2), dist_toConsumableArray(PatternNumberDict), dist_toConsumableArray(PatternSurname));
|
|
15723
15230
|
var acTree = new AC();
|
|
15724
15231
|
acTree.build(PatternsNormal);
|
|
15725
15232
|
var customDict = {};
|
|
@@ -16255,7 +15762,7 @@ var originDictMap = new Map();
|
|
|
16255
15762
|
function addDict(dict, options) {
|
|
16256
15763
|
var patterns = [];
|
|
16257
15764
|
// string 类型时:options 为 name()
|
|
16258
|
-
var name =
|
|
15765
|
+
var name = dist_typeof(options) === "object" ? options.name : options;
|
|
16259
15766
|
var dictName = name || DefaultName;
|
|
16260
15767
|
var dict1Handle = (options === null || options === void 0 ? void 0 : options.dict1) || "add";
|
|
16261
15768
|
for (var word in dict) {
|
|
@@ -16467,7 +15974,7 @@ var matchAboveStart = function matchAboveStart(text, pinyin$1, options) {
|
|
|
16467
15974
|
});
|
|
16468
15975
|
// 非中文匹配
|
|
16469
15976
|
if (words[_i3 - 1] === pinyin$1[_j - 1]) {
|
|
16470
|
-
var matches = [].concat(
|
|
15977
|
+
var matches = [].concat(dist_toConsumableArray(dp[_i3 - 1][_j - 1]), [_i3 - 1]);
|
|
16471
15978
|
// 记录最长的可匹配下标数组
|
|
16472
15979
|
if (!dp[_i3][_j] || matches.length > dp[_i3][_j].length) {
|
|
16473
15980
|
dp[_i3][_j] = matches;
|
|
@@ -16502,7 +16009,7 @@ var matchAboveStart = function matchAboveStart(text, pinyin$1, options) {
|
|
|
16502
16009
|
if (last) {
|
|
16503
16010
|
return {
|
|
16504
16011
|
v: {
|
|
16505
|
-
v: [].concat(
|
|
16012
|
+
v: [].concat(dist_toConsumableArray(dp[_i3 - 1][_j - 1]), [_i3 - 1])
|
|
16506
16013
|
}
|
|
16507
16014
|
};
|
|
16508
16015
|
}
|
|
@@ -16512,7 +16019,7 @@ var matchAboveStart = function matchAboveStart(text, pinyin$1, options) {
|
|
|
16512
16019
|
if (precision === "start") {
|
|
16513
16020
|
muls.forEach(function (py) {
|
|
16514
16021
|
var end = _j;
|
|
16515
|
-
var matches = [].concat(
|
|
16022
|
+
var matches = [].concat(dist_toConsumableArray(dp[_i3 - 1][_j - 1]), [_i3 - 1]);
|
|
16516
16023
|
while (end <= pinyin$1.length && py.startsWith(pinyin$1.slice(_j - 1, end))) {
|
|
16517
16024
|
if (!dp[_i3][end] || matches.length > dp[_i3][end].length) {
|
|
16518
16025
|
dp[_i3][end] = matches;
|
|
@@ -16526,7 +16033,7 @@ var matchAboveStart = function matchAboveStart(text, pinyin$1, options) {
|
|
|
16526
16033
|
if (muls.some(function (py) {
|
|
16527
16034
|
return py[0] === pinyin$1[_j - 1];
|
|
16528
16035
|
})) {
|
|
16529
|
-
var _matches = [].concat(
|
|
16036
|
+
var _matches = [].concat(dist_toConsumableArray(dp[_i3 - 1][_j - 1]), [_i3 - 1]);
|
|
16530
16037
|
// 记录最长的可匹配下标数组
|
|
16531
16038
|
if (!dp[_i3][_j] || _matches.length > dp[_i3][_j].length) {
|
|
16532
16039
|
dp[_i3][_j] = _matches;
|
|
@@ -16538,7 +16045,7 @@ var matchAboveStart = function matchAboveStart(text, pinyin$1, options) {
|
|
|
16538
16045
|
return py === pinyin$1.slice(_j - 1, _j - 1 + py.length);
|
|
16539
16046
|
});
|
|
16540
16047
|
if (completeMatch) {
|
|
16541
|
-
var _matches2 = [].concat(
|
|
16048
|
+
var _matches2 = [].concat(dist_toConsumableArray(dp[_i3 - 1][_j - 1]), [_i3 - 1]);
|
|
16542
16049
|
var endIndex = _j - 1 + completeMatch.length;
|
|
16543
16050
|
// 记录最长的可匹配下标数组
|
|
16544
16051
|
if (!dp[_i3][endIndex] || _matches2.length > dp[_i3][endIndex].length) {
|
|
@@ -16777,7 +16284,7 @@ var toneMap = {
|
|
|
16777
16284
|
*/
|
|
16778
16285
|
function convert(pinyin, options) {
|
|
16779
16286
|
options = Object.assign(Object.assign({}, DefaultConvertOptions), options || {});
|
|
16780
|
-
var originType =
|
|
16287
|
+
var originType = dist_typeof(pinyin);
|
|
16781
16288
|
if (typeof pinyin === 'string') {
|
|
16782
16289
|
pinyin = pinyin.split(options.separator);
|
|
16783
16290
|
}
|
|
@@ -17089,18 +16596,22 @@ var onQuit = function onQuit(opt) {
|
|
|
17089
16596
|
|
|
17090
16597
|
// export { wakeUpState, wakeUpState as default }
|
|
17091
16598
|
;// ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-82.use[1]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./package/SpeechRecognition/index.vue?vue&type=script&lang=js
|
|
17092
|
-
|
|
17093
|
-
|
|
17094
|
-
|
|
16599
|
+
function SpeechRecognitionvue_type_script_lang_js_typeof(o) { "@babel/helpers - typeof"; return SpeechRecognitionvue_type_script_lang_js_typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, SpeechRecognitionvue_type_script_lang_js_typeof(o); }
|
|
16600
|
+
function SpeechRecognitionvue_type_script_lang_js_regeneratorRuntime() { "use strict"; /*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/babel/babel/blob/main/packages/babel-helpers/LICENSE */ SpeechRecognitionvue_type_script_lang_js_regeneratorRuntime = function _regeneratorRuntime() { return r; }; var t, r = {}, e = Object.prototype, n = e.hasOwnProperty, o = "function" == typeof Symbol ? Symbol : {}, i = o.iterator || "@@iterator", a = o.asyncIterator || "@@asyncIterator", u = o.toStringTag || "@@toStringTag"; function c(t, r, e, n) { return Object.defineProperty(t, r, { value: e, enumerable: !n, configurable: !n, writable: !n }); } try { c({}, ""); } catch (t) { c = function c(t, r, e) { return t[r] = e; }; } function h(r, e, n, o) { var i = e && e.prototype instanceof Generator ? e : Generator, a = Object.create(i.prototype); return c(a, "_invoke", function (r, e, n) { var o = 1; return function (i, a) { if (3 === o) throw Error("Generator is already running"); if (4 === o) { if ("throw" === i) throw a; return { value: t, done: !0 }; } for (n.method = i, n.arg = a;;) { var u = n.delegate; if (u) { var c = d(u, n); if (c) { if (c === f) continue; return c; } } if ("next" === n.method) n.sent = n._sent = n.arg;else if ("throw" === n.method) { if (1 === o) throw o = 4, n.arg; n.dispatchException(n.arg); } else "return" === n.method && n.abrupt("return", n.arg); o = 3; var h = s(r, e, n); if ("normal" === h.type) { if (o = n.done ? 4 : 2, h.arg === f) continue; return { value: h.arg, done: n.done }; } "throw" === h.type && (o = 4, n.method = "throw", n.arg = h.arg); } }; }(r, n, new Context(o || [])), !0), a; } function s(t, r, e) { try { return { type: "normal", arg: t.call(r, e) }; } catch (t) { return { type: "throw", arg: t }; } } r.wrap = h; var f = {}; function Generator() {} function GeneratorFunction() {} function GeneratorFunctionPrototype() {} var l = {}; c(l, i, function () { return this; }); var p = Object.getPrototypeOf, y = p && p(p(x([]))); y && y !== e && n.call(y, i) && (l = y); var v = GeneratorFunctionPrototype.prototype = Generator.prototype = Object.create(l); function g(t) { ["next", "throw", "return"].forEach(function (r) { c(t, r, function (t) { return this._invoke(r, t); }); }); } function AsyncIterator(t, r) { function e(o, i, a, u) { var c = s(t[o], t, i); if ("throw" !== c.type) { var h = c.arg, f = h.value; return f && "object" == SpeechRecognitionvue_type_script_lang_js_typeof(f) && n.call(f, "__await") ? r.resolve(f.__await).then(function (t) { e("next", t, a, u); }, function (t) { e("throw", t, a, u); }) : r.resolve(f).then(function (t) { h.value = t, a(h); }, function (t) { return e("throw", t, a, u); }); } u(c.arg); } var o; c(this, "_invoke", function (t, n) { function i() { return new r(function (r, o) { e(t, n, r, o); }); } return o = o ? o.then(i, i) : i(); }, !0); } function d(r, e) { var n = e.method, o = r.i[n]; if (o === t) return e.delegate = null, "throw" === n && r.i.return && (e.method = "return", e.arg = t, d(r, e), "throw" === e.method) || "return" !== n && (e.method = "throw", e.arg = new TypeError("The iterator does not provide a '" + n + "' method")), f; var i = s(o, r.i, e.arg); if ("throw" === i.type) return e.method = "throw", e.arg = i.arg, e.delegate = null, f; var a = i.arg; return a ? a.done ? (e[r.r] = a.value, e.next = r.n, "return" !== e.method && (e.method = "next", e.arg = t), e.delegate = null, f) : a : (e.method = "throw", e.arg = new TypeError("iterator result is not an object"), e.delegate = null, f); } function w(t) { this.tryEntries.push(t); } function m(r) { var e = r[4] || {}; e.type = "normal", e.arg = t, r[4] = e; } function Context(t) { this.tryEntries = [[-1]], t.forEach(w, this), this.reset(!0); } function x(r) { if (null != r) { var e = r[i]; if (e) return e.call(r); if ("function" == typeof r.next) return r; if (!isNaN(r.length)) { var o = -1, a = function e() { for (; ++o < r.length;) if (n.call(r, o)) return e.value = r[o], e.done = !1, e; return e.value = t, e.done = !0, e; }; return a.next = a; } } throw new TypeError(SpeechRecognitionvue_type_script_lang_js_typeof(r) + " is not iterable"); } return GeneratorFunction.prototype = GeneratorFunctionPrototype, c(v, "constructor", GeneratorFunctionPrototype), c(GeneratorFunctionPrototype, "constructor", GeneratorFunction), GeneratorFunction.displayName = c(GeneratorFunctionPrototype, u, "GeneratorFunction"), r.isGeneratorFunction = function (t) { var r = "function" == typeof t && t.constructor; return !!r && (r === GeneratorFunction || "GeneratorFunction" === (r.displayName || r.name)); }, r.mark = function (t) { return Object.setPrototypeOf ? Object.setPrototypeOf(t, GeneratorFunctionPrototype) : (t.__proto__ = GeneratorFunctionPrototype, c(t, u, "GeneratorFunction")), t.prototype = Object.create(v), t; }, r.awrap = function (t) { return { __await: t }; }, g(AsyncIterator.prototype), c(AsyncIterator.prototype, a, function () { return this; }), r.AsyncIterator = AsyncIterator, r.async = function (t, e, n, o, i) { void 0 === i && (i = Promise); var a = new AsyncIterator(h(t, e, n, o), i); return r.isGeneratorFunction(e) ? a : a.next().then(function (t) { return t.done ? t.value : a.next(); }); }, g(v), c(v, u, "Generator"), c(v, i, function () { return this; }), c(v, "toString", function () { return "[object Generator]"; }), r.keys = function (t) { var r = Object(t), e = []; for (var n in r) e.unshift(n); return function t() { for (; e.length;) if ((n = e.pop()) in r) return t.value = n, t.done = !1, t; return t.done = !0, t; }; }, r.values = x, Context.prototype = { constructor: Context, reset: function reset(r) { if (this.prev = this.next = 0, this.sent = this._sent = t, this.done = !1, this.delegate = null, this.method = "next", this.arg = t, this.tryEntries.forEach(m), !r) for (var e in this) "t" === e.charAt(0) && n.call(this, e) && !isNaN(+e.slice(1)) && (this[e] = t); }, stop: function stop() { this.done = !0; var t = this.tryEntries[0][4]; if ("throw" === t.type) throw t.arg; return this.rval; }, dispatchException: function dispatchException(r) { if (this.done) throw r; var e = this; function n(t) { a.type = "throw", a.arg = r, e.next = t; } for (var o = e.tryEntries.length - 1; o >= 0; --o) { var i = this.tryEntries[o], a = i[4], u = this.prev, c = i[1], h = i[2]; if (-1 === i[0]) return n("end"), !1; if (!c && !h) throw Error("try statement without catch or finally"); if (null != i[0] && i[0] <= u) { if (u < c) return this.method = "next", this.arg = t, n(c), !0; if (u < h) return n(h), !1; } } }, abrupt: function abrupt(t, r) { for (var e = this.tryEntries.length - 1; e >= 0; --e) { var n = this.tryEntries[e]; if (n[0] > -1 && n[0] <= this.prev && this.prev < n[2]) { var o = n; break; } } o && ("break" === t || "continue" === t) && o[0] <= r && r <= o[2] && (o = null); var i = o ? o[4] : {}; return i.type = t, i.arg = r, o ? (this.method = "next", this.next = o[2], f) : this.complete(i); }, complete: function complete(t, r) { if ("throw" === t.type) throw t.arg; return "break" === t.type || "continue" === t.type ? this.next = t.arg : "return" === t.type ? (this.rval = this.arg = t.arg, this.method = "return", this.next = "end") : "normal" === t.type && r && (this.next = r), f; }, finish: function finish(t) { for (var r = this.tryEntries.length - 1; r >= 0; --r) { var e = this.tryEntries[r]; if (e[2] === t) return this.complete(e[4], e[3]), m(e), f; } }, catch: function _catch(t) { for (var r = this.tryEntries.length - 1; r >= 0; --r) { var e = this.tryEntries[r]; if (e[0] === t) { var n = e[4]; if ("throw" === n.type) { var o = n.arg; m(e); } return o; } } throw Error("illegal catch attempt"); }, delegateYield: function delegateYield(r, e, n) { return this.delegate = { i: x(r), r: e, n: n }, "next" === this.method && (this.arg = t), f; } }, r; }
|
|
17095
16601
|
function SpeechRecognitionvue_type_script_lang_js_ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
17096
|
-
function SpeechRecognitionvue_type_script_lang_js_objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? SpeechRecognitionvue_type_script_lang_js_ownKeys(Object(t), !0).forEach(function (r) {
|
|
16602
|
+
function SpeechRecognitionvue_type_script_lang_js_objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? SpeechRecognitionvue_type_script_lang_js_ownKeys(Object(t), !0).forEach(function (r) { SpeechRecognitionvue_type_script_lang_js_defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : SpeechRecognitionvue_type_script_lang_js_ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
16603
|
+
function SpeechRecognitionvue_type_script_lang_js_defineProperty(e, r, t) { return (r = SpeechRecognitionvue_type_script_lang_js_toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
|
|
16604
|
+
function SpeechRecognitionvue_type_script_lang_js_toPropertyKey(t) { var i = SpeechRecognitionvue_type_script_lang_js_toPrimitive(t, "string"); return "symbol" == SpeechRecognitionvue_type_script_lang_js_typeof(i) ? i : i + ""; }
|
|
16605
|
+
function SpeechRecognitionvue_type_script_lang_js_toPrimitive(t, r) { if ("object" != SpeechRecognitionvue_type_script_lang_js_typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != SpeechRecognitionvue_type_script_lang_js_typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
|
16606
|
+
function SpeechRecognitionvue_type_script_lang_js_asyncGeneratorStep(n, t, e, r, o, a, c) { try { var i = n[a](c), u = i.value; } catch (n) { return void e(n); } i.done ? t(u) : Promise.resolve(u).then(r, o); }
|
|
16607
|
+
function SpeechRecognitionvue_type_script_lang_js_asyncToGenerator(n) { return function () { var t = this, e = arguments; return new Promise(function (r, o) { var a = n.apply(t, e); function _next(n) { SpeechRecognitionvue_type_script_lang_js_asyncGeneratorStep(a, r, o, _next, _throw, "next", n); } function _throw(n) { SpeechRecognitionvue_type_script_lang_js_asyncGeneratorStep(a, r, o, _next, _throw, "throw", n); } _next(void 0); }); }; }
|
|
17097
16608
|
|
|
17098
16609
|
|
|
17099
16610
|
|
|
17100
16611
|
|
|
17101
16612
|
|
|
17102
16613
|
|
|
17103
|
-
var
|
|
16614
|
+
var SpeechRecognitionvue_type_script_lang_js_default_ = {
|
|
17104
16615
|
name: "yx-speech-recognition",
|
|
17105
16616
|
components: {
|
|
17106
16617
|
Message: Message
|
|
@@ -17228,9 +16739,9 @@ var __default__ = {
|
|
|
17228
16739
|
},
|
|
17229
16740
|
updateSession: function updateSession(opt) {
|
|
17230
16741
|
var _this2 = this;
|
|
17231
|
-
return
|
|
16742
|
+
return SpeechRecognitionvue_type_script_lang_js_asyncToGenerator(/*#__PURE__*/SpeechRecognitionvue_type_script_lang_js_regeneratorRuntime().mark(function _callee() {
|
|
17232
16743
|
var messages, res, type, content, _messages, voice_id, session_id, formData, _res, code, msg, obj, _content, standard_back, command_type;
|
|
17233
|
-
return
|
|
16744
|
+
return SpeechRecognitionvue_type_script_lang_js_regeneratorRuntime().wrap(function _callee$(_context) {
|
|
17234
16745
|
while (1) switch (_context.prev = _context.next) {
|
|
17235
16746
|
case 0:
|
|
17236
16747
|
messages = opt.messages, res = opt.res;
|
|
@@ -17353,9 +16864,9 @@ var __default__ = {
|
|
|
17353
16864
|
},
|
|
17354
16865
|
// 语音播放
|
|
17355
16866
|
handlePlayTTS: function handlePlayTTS(opt) {
|
|
17356
|
-
return
|
|
16867
|
+
return SpeechRecognitionvue_type_script_lang_js_asyncToGenerator(/*#__PURE__*/SpeechRecognitionvue_type_script_lang_js_regeneratorRuntime().mark(function _callee2() {
|
|
17357
16868
|
var content, onEnded, res, arrayBuffer, blob, url, audio;
|
|
17358
|
-
return
|
|
16869
|
+
return SpeechRecognitionvue_type_script_lang_js_regeneratorRuntime().wrap(function _callee2$(_context2) {
|
|
17359
16870
|
while (1) switch (_context2.prev = _context2.next) {
|
|
17360
16871
|
case 0:
|
|
17361
16872
|
_context2.prev = 0;
|
|
@@ -17523,19 +17034,19 @@ var __default__ = {
|
|
|
17523
17034
|
}
|
|
17524
17035
|
};
|
|
17525
17036
|
|
|
17526
|
-
var
|
|
17037
|
+
var SpeechRecognitionvue_type_script_lang_js_injectCSSVars_ = function __injectCSSVars__() {
|
|
17527
17038
|
(0,external_commonjs_vue_commonjs2_vue_root_Vue_.useCssVars)(function (_vm, _setup) {
|
|
17528
17039
|
return {
|
|
17529
17040
|
"578fe822": _vm.htmlFontSize
|
|
17530
17041
|
};
|
|
17531
17042
|
});
|
|
17532
17043
|
};
|
|
17533
|
-
var
|
|
17534
|
-
|
|
17535
|
-
|
|
17536
|
-
return
|
|
17537
|
-
} :
|
|
17538
|
-
/* harmony default export */ var SpeechRecognitionvue_type_script_lang_js = (
|
|
17044
|
+
var SpeechRecognitionvue_type_script_lang_js_setup_ = SpeechRecognitionvue_type_script_lang_js_default_.setup;
|
|
17045
|
+
SpeechRecognitionvue_type_script_lang_js_default_.setup = SpeechRecognitionvue_type_script_lang_js_setup_ ? function (props, ctx) {
|
|
17046
|
+
SpeechRecognitionvue_type_script_lang_js_injectCSSVars_();
|
|
17047
|
+
return SpeechRecognitionvue_type_script_lang_js_setup_(props, ctx);
|
|
17048
|
+
} : SpeechRecognitionvue_type_script_lang_js_injectCSSVars_;
|
|
17049
|
+
/* harmony default export */ var SpeechRecognitionvue_type_script_lang_js = (SpeechRecognitionvue_type_script_lang_js_default_);
|
|
17539
17050
|
;// ./package/SpeechRecognition/index.vue?vue&type=script&lang=js
|
|
17540
17051
|
/* harmony default export */ var package_SpeechRecognitionvue_type_script_lang_js = (SpeechRecognitionvue_type_script_lang_js);
|
|
17541
17052
|
// EXTERNAL MODULE: ./node_modules/vue-style-loader/index.js??clonedRuleSet-64.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-64.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-64.use[2]!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-64.use[3]!./node_modules/sass-loader/dist/cjs.js??clonedRuleSet-64.use[4]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./package/SpeechRecognition/index.vue?vue&type=style&index=0&id=643faf61&prod&lang=scss&scoped=true
|