yxspeechrecognition 1.9.4 → 1.9.6

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.
@@ -11,31 +11,36 @@
11
11
  return /******/ (function() { // webpackBootstrap
12
12
  /******/ var __webpack_modules__ = ({
13
13
 
14
- /***/ 21:
15
- /***/ (function(module) {
14
+ /***/ 243:
15
+ /***/ (function(module, __webpack_exports__, __webpack_require__) {
16
16
 
17
17
  "use strict";
18
- module.exports = "data:image/gif;base64,R0lGODlhIAAgALMAAP///7Ozs/v7+9bW1uHh4fLy8rq6uoGBgTQ0NAEBARsbG8TExJeXl/39/VRUVAAAACH/C05FVFNDQVBFMi4wAwEAAAAh+QQFBQAAACwAAAAAIAAgAAAE5xDISSlLrOrNp0pKNRCdFhxVolJLEJQUoSgOpSYT4RowNSsvyW1icA16k8MMMRkCBjskBTFDAZyuAEkqCfxIQ2hgQRFvAQEEIjNxVDW6XNE4YagRjuBCwe60smQUDnd4Rz1ZAQZnFAGDd0hihh12CEE9kjAEVlycXIg7BAsMB6SlnJ87paqbSKiKoqusnbMdmDC2tXQlkUhziYtyWTxIfy6BE8WJt5YEvpJivxNaGmLHT0VnOgGYf0dZXS7APdpB309RnHOG5gDqXGLDaC457D1zZ/V/nmOM82XiHQjYKhKP1oZmADdEAAAh+QQFBQAAACwAAAAAGAAXAAAEchDISasKNeuJFKoHs4mUYlJIkmjIV54Soypsa0wmLSnqoTEtBw52mG0AjhYpBxioEqRNy8V0qFzNw+GGwlJki4lBqx1IBgjMkRIghwjrzcDti2/Gh7D9qN774wQGAYOEfwCChIV/gYmDho+QkZKTR3p7EQAh+QQFBQAAACwBAAAAHQAOAAAEchDISWdANesNHHJZwE2DUSEo5SjKKB2HOKGYFLD1CB/DnEoIlkti2PlyuKGEATMBaAACSyGbEDYD4zN1YIEmh0SCQQgYehNmTNNaKsQJXmBuuEYPi9ECAU/UFnNzeUp9VBQEBoFOLmFxWHNoQw6RWEocEQAh+QQFBQAAACwHAAAAGQARAAAEaRDICdZZNOvNDsvfBhBDdpwZgohBgE3nQaki0AYEjEqOGmqDlkEnAzBUjhrA0CoBYhLVSkm4SaAAWkahCFAWTU0A4RxzFWJnzXFWJJWb9pTihRu5dvghl+/7NQmBggo/fYKHCX8AiAmEEQAh+QQFBQAAACwOAAAAEgAYAAAEZXCwAaq9ODAMDOUAI17McYDhWA3mCYpb1RooXBktmsbt944BU6zCQCBQiwPB4jAihiCK86irTB20qvWp7Xq/FYV4TNWNz4oqWoEIgL0HX/eQSLi69boCikTkE2VVDAp5d1p0CW4RACH5BAUFAAAALA4AAAASAB4AAASAkBgCqr3YBIMXvkEIMsxXhcFFpiZqBaTXisBClibgAnd+ijYGq2I4HAamwXBgNHJ8BEbzgPNNjz7LwpnFDLvgLGJMdnw/5DRCrHaE3xbKm6FQwOt1xDnpwCvcJgcJMgEIeCYOCQlrF4YmBIoJVV2CCXZvCooHbwGRcAiKcmFUJhEAIfkEBQUAAAAsDwABABEAHwAABHsQyAkGoRivELInnOFlBjeM1BCiFBdcbMUtKQdTN0CUJru5NJQrYMh5VIFTTKJcOj2HqJQRhEqvqGuU+uw6AwgEwxkOO55lxIihoDjKY8pBoThPxmpAYi+hKzoeewkTdHkZghMIdCOIhIuHfBMOjxiNLR4KCW1ODAlxSxEAIfkEBQUAAAAsCAAOABgAEgAABGwQyEkrCDgbYvvMoOF5ILaNaIoGKroch9hacD3MFMHUBzMHiBtgwJMBFolDB4GoGGBCACKRcAAUWAmzOWJQExysQsJgWj0KqvKalTiYPhp1LBFTtp10Is6mT5gdVFx1bRN8FTsVCAqDOB9+KhEAIfkEBQUAAAAsAgASAB0ADgAABHgQyEmrBePS4bQdQZBdR5IcHmWEgUFQgWKaKbWwwSIhc4LonsXhBSCsQoOSScGQDJiWwOHQnAxWBIYJNXEoFCiEWDI9jCzESey7GwMM5doEwW4jJoypQQ743u1WcTV0CgFzbhJ5XClfHYd/EwZnHoYVDgiOfHKQNREAIfkEBQUAAAAsAAAPABkAEQAABGeQqUQruDjrW3vaYCZ5X2ie6EkcKaooTAsi7ytnTq046BBsNcTvItz4AotMwKZBIC6H6CVAJaCcT0CUBTgaTg5nTCu9GKiDEMPJg5YBBOpwlnVzLwtqyKnZagZWahoMB2M3GgsHSRsRACH5BAUFAAAALAEACAARABgAAARcMKR0gL34npkUyyCAcAmyhBijkGi2UW02VHFt33iu7yiDIDaD4/erEYGDlu/nuBAOJ9Dvc2EcDgFAYIuaXS3bbOh6MIC5IAP5Eh5fk2exC4tpgwZyiyFgvhEMBBEAIfkEBQUAAAAsAAACAA4AHQAABHMQyAnYoViSlFDGXBJ808Ep5KRwV8qEg+pRCOeoioKMwJK0Ekcu54h9AoghKgXIMZgAApQZcCCu2Ax2O6NUud2pmJcyHA4L0uDM/ljYDCnGfGakJQE5YH0wUBYBAUYfBIFkHwaBgxkDgX5lgXpHAXcpBIsRADs=";
18
+ __webpack_require__.r(__webpack_exports__);
19
+ /* harmony import */ var _node_modules_css_loader_dist_runtime_noSourceMaps_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(601);
20
+ /* 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__);
21
+ /* harmony import */ var _node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(314);
22
+ /* 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__);
23
+ // Imports
19
24
 
20
- /***/ }),
21
25
 
22
- /***/ 144:
23
- /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
26
+ 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()));
27
+ // Module
28
+ ___CSS_LOADER_EXPORT___.push([module.id, ".stream-input[data-v-719d7795]{width:100%}.stream-input .stream-item[data-v-719d7795]{border-radius:8px;padding:12px;margin-bottom:8px;animation:slideIn-719d7795 .3s ease-out}.stream-input .stream-item.with-border[data-v-719d7795]{box-shadow:0 2px 4px rgba(0,0,0,.25)}.stream-input .stream-item .item-header[data-v-719d7795]{display:flex;justify-content:space-between;align-items:center;margin-bottom:8px}.stream-input .stream-item .item-header .item-title[data-v-719d7795]{font-weight:500;margin-right:calc(var(--a28e8f5c)*1)}.stream-input .stream-item .item-header .item-title .item-index[data-v-719d7795]{font-weight:600}.stream-input .stream-item .item-header .item-status[data-v-719d7795]{display:flex;align-items:center}.stream-input .stream-item .item-header .item-status.loading[data-v-719d7795]{color:#409eff}.stream-input .stream-item .item-header .item-status.success[data-v-719d7795]{color:#67c23a}.stream-input .stream-item .item-header .item-status.error[data-v-719d7795]{color:#f56c6c}.stream-input .stream-item .item-header .item-status .loading-icon[data-v-719d7795]{display:inline-block;width:calc(var(--a28e8f5c)*.5);height:calc(var(--a28e8f5c)*.5);border:2px solid #409eff;border-top-color:transparent;border-radius:50%;animation:spin-719d7795 1s linear infinite}.stream-input .stream-item .item-header .item-status .success-icon[data-v-719d7795]{display:inline-block;width:calc(var(--a28e8f5c)*.5);height:calc(var(--a28e8f5c)*.5);position:relative}.stream-input .stream-item .item-header .item-status .success-icon[data-v-719d7795]:after{content:\"\";position:absolute;top:50%;left:20%;transform:translate(-50%,-70%) rotate(45deg);width:calc(var(--a28e8f5c)*.25);height:calc(var(--a28e8f5c)*.4);border-bottom:2px solid #67c23a;border-right:2px solid #67c23a}.stream-input .stream-item .item-header .item-status .error-icon[data-v-719d7795]{display:inline-block;width:calc(var(--a28e8f5c)*.5);height:calc(var(--a28e8f5c)*.5);position:relative}.stream-input .stream-item .item-header .item-status .error-icon[data-v-719d7795]:after,.stream-input .stream-item .item-header .item-status .error-icon[data-v-719d7795]:before{content:\"\";position:absolute;top:50%;left:50%;width:calc(var(--a28e8f5c)*.2);height:calc(var(--a28e8f5c)*.05);background-color:#f56c6c}.stream-input .stream-item .item-header .item-status .error-icon[data-v-719d7795]:before{transform:translate(-50%,-50%) rotate(45deg)}.stream-input .stream-item .item-header .item-status .error-icon[data-v-719d7795]:after{transform:translate(-50%,-50%) rotate(-45deg)}.stream-input .stream-item .item-children[data-v-719d7795]{margin-left:calc(var(--a28e8f5c)*.65)}.stream-input .stream-item .item-children .child-item[data-v-719d7795]{display:flex;justify-content:space-between;align-items:center;padding:calc(var(--a28e8f5c)*.125);font-size:calc(var(--a28e8f5c)*.8);animation:slideIn-719d7795 .3s ease-out}.stream-input .stream-item .item-children .child-item.active[data-v-719d7795]{color:#409eff}.stream-input .stream-item .item-children .child-item .child-title[data-v-719d7795]{margin-right:calc(var(--a28e8f5c)*1)}.stream-input .stream-item .item-children .child-item .child-status[data-v-719d7795]{display:flex;align-items:center}.stream-input .stream-item .item-children .child-item .child-status.loading[data-v-719d7795]{color:#409eff}.stream-input .stream-item .item-children .child-item .child-status.success[data-v-719d7795]{color:#67c23a}.stream-input .stream-item .item-children .child-item .child-status.error[data-v-719d7795]{color:#f56c6c}.stream-input .stream-item .item-children .child-item .child-status .loading-icon[data-v-719d7795]{display:inline-block;width:14px;height:14px;border:2px solid #409eff;border-top-color:transparent;border-radius:50%;animation:spin-719d7795 1s linear infinite}.stream-input .stream-item .item-children .child-item .child-status .success-icon[data-v-719d7795]{display:inline-block;width:14px;height:14px;position:relative}.stream-input .stream-item .item-children .child-item .child-status .success-icon[data-v-719d7795]:after{content:\"\";position:absolute;top:50%;left:20%;transform:translate(-50%,-70%) rotate(45deg);width:calc(var(--a28e8f5c)*.125);height:10px;border-bottom:2px solid #67c23a;border-right:2px solid #67c23a}.stream-input .stream-item .item-children .child-item .child-status .error-icon[data-v-719d7795]{display:inline-block;width:14px;height:14px;position:relative}.stream-input .stream-item .item-children .child-item .child-status .error-icon[data-v-719d7795]:after,.stream-input .stream-item .item-children .child-item .child-status .error-icon[data-v-719d7795]:before{content:\"\";position:absolute;top:50%;left:50%;width:10px;height:2px;background-color:#f56c6c}.stream-input .stream-item .item-children .child-item .child-status .error-icon[data-v-719d7795]:before{transform:translate(-50%,-50%) rotate(45deg)}.stream-input .stream-item .item-children .child-item .child-status .error-icon[data-v-719d7795]:after{transform:translate(-50%,-50%) rotate(-45deg)}@keyframes slideIn-719d7795{0%{opacity:0;transform:translateY(10px)}to{opacity:1;transform:translateY(0)}}@keyframes spin-719d7795{0%{transform:rotate(0deg)}to{transform:rotate(1turn)}}", ""]);
29
+ // Exports
30
+ /* harmony default export */ __webpack_exports__["default"] = (___CSS_LOADER_EXPORT___);
24
31
 
25
- // style-loader: Adds some css to the DOM by adding a <style> tag
26
32
 
27
- // load the styles
28
- var content = __webpack_require__(846);
29
- if(content.__esModule) content = content.default;
30
- if(typeof content === 'string') content = [[module.id, content, '']];
31
- if(content.locals) module.exports = content.locals;
32
- // add the styles to the DOM
33
- var add = (__webpack_require__(459)/* ["default"] */ .A)
34
- var update = add("e91955a2", content, true, {"sourceMap":false,"shadowMode":false});
33
+ /***/ }),
34
+
35
+ /***/ 274:
36
+ /***/ (function(module) {
37
+
38
+ "use strict";
39
+ module.exports = __WEBPACK_EXTERNAL_MODULE__274__;
35
40
 
36
41
  /***/ }),
37
42
 
38
- /***/ 230:
43
+ /***/ 298:
39
44
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
40
45
 
41
46
  "use strict";
@@ -49,19 +54,11 @@ __webpack_require__.r(__webpack_exports__);
49
54
 
50
55
  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()));
51
56
  // Module
52
- ___CSS_LOADER_EXPORT___.push([module.id, ".yx-speech-recognition .box[data-v-2bff2ebd] ::-webkit-scrollbar{width:0;height:0;display:none;background:transparent}.yx-speech-recognition .box[data-v-2bff2ebd]{display:grid;grid-template-rows:max-content 1fr;position:absolute;pointer-events:all;background:rgba(2,11,72,.6);border-radius:calc(var(--694bf856)*.57);z-index:20}.yx-speech-recognition .box .title[data-v-2bff2ebd]{display:flex;align-items:center;justify-content:space-between;width:100%;height:calc(var(--694bf856)*2.29);padding:0 calc(var(--694bf856)*.76);box-sizing:border-box;background:linear-gradient(270deg,rgba(0,126,245,.94),rgba(54,141,253,.75) 70%,rgba(60,125,255,.51));border-radius:calc(var(--694bf856)*.57) calc(var(--694bf856)*.57) 0 0}.yx-speech-recognition .box .title-icon[data-v-2bff2ebd]{display:flex;align-items:center;gap:calc(var(--694bf856)*.38)}.yx-speech-recognition .box .title-icon img[data-v-2bff2ebd]{width:calc(var(--694bf856)*1);height:calc(var(--694bf856)*1)}.yx-speech-recognition .box .title-icon span[data-v-2bff2ebd]{font-size:calc(var(--694bf856)*1.14);font-weight:800;color:#fff}.yx-speech-recognition .box .title .close[data-v-2bff2ebd]{cursor:pointer}.yx-speech-recognition .box .title .close img[data-v-2bff2ebd]{width:calc(var(--694bf856)*1.1)}.yx-speech-recognition .box .content[data-v-2bff2ebd]{display:flex;align-items:center;justify-content:center;width:100%;height:100%;background:url(http://10.99.16.155:8995/mysb/l/main/app/assets/png/icon9-pl26do__.png) no-repeat center 35%;color:#fff}.yx-speech-recognition .box .content span[data-v-2bff2ebd]{margin-top:calc(var(--694bf856)*7.5);font-size:calc(var(--694bf856)*1)}.yx-speech-recognition .box .message-list[data-v-2bff2ebd]{overflow:hidden;padding:calc(var(--694bf856)*.58);box-sizing:border-box;padding-right:calc(var(--694bf856)*.29)}.yx-speech-recognition .box .message-list-inner[data-v-2bff2ebd]{height:100%;display:flex;flex-direction:column;gap:calc(var(--694bf856)*.53);overflow-y:overlay}.yx-speech-recognition .displayAssistant[data-v-2bff2ebd]{position:absolute;pointer-events:all;cursor:pointer;z-index:20}.yx-speech-recognition .displayAssistant .icon1[data-v-2bff2ebd]{width:calc(var(--694bf856)*3.76);height:calc(var(--694bf856)*3.88)}.yx-speech-recognition .displayAssistant .icon1 img[data-v-2bff2ebd]{width:100%;height:100%}.yx-speech-recognition .displayAssistant .bubbleBox[data-v-2bff2ebd]{position:absolute;top:0;left:calc(var(--694bf856)*3.76);width:-moz-max-content;width:max-content;min-width:-moz-min-content;min-width:min-content}.yx-speech-recognition .displayAssistant .bubbleBox .loading-box[data-v-2bff2ebd]{font-size:calc(var(--694bf856)*.8);display:flex;align-items:center}.yx-speech-recognition .displayAssistant .bubbleBox .loging-icon[data-v-2bff2ebd]{width:calc(var(--694bf856)*1.26);height:calc(var(--694bf856)*1.28);margin-right:calc(var(--694bf856)*.4)}.yx-speech-recognition .displayAssistant .bubbleBox .loging-icon img[data-v-2bff2ebd]{width:100%;height:100%}.yx-speech-recognition .displayAssistant .bubbleBox .box-container[data-v-2bff2ebd]{border-top:calc(var(--694bf856)*.1) solid rgba(117,178,255,.61);margin-top:calc(var(--694bf856)*.2)}.yx-speech-recognition .displayAssistant .bubbleBox .item-box[data-v-2bff2ebd]{display:flex;overflow:hidden;margin:10px 0}.yx-speech-recognition .displayAssistant .bubbleBox .item-box:nth-child(2) .item-box-number[data-v-2bff2ebd]{background-color:#ff4e4e}.yx-speech-recognition .displayAssistant .bubbleBox .item-box:nth-child(3) .item-box-number[data-v-2bff2ebd]{background-color:#ff6e1d}.yx-speech-recognition .displayAssistant .bubbleBox .item-box:nth-child(4) .item-box-number[data-v-2bff2ebd]{background-color:#4fc94d}.yx-speech-recognition .displayAssistant .bubbleBox .item-box .item-box-index[data-v-2bff2ebd]{flex-shrink:0;width:calc(var(--694bf856)*1.2);font-size:calc(var(--694bf856)*.9);height:calc(var(--694bf856)*1.2);background-color:rgba(117,178,255,.61);border-radius:50%;display:flex;align-items:center;justify-content:center;margin-top:calc(var(--694bf856)*.1);margin-right:calc(var(--694bf856)*.1)}.yx-speech-recognition .displayAssistant .bubbleBox .item-box .item-box-content[data-v-2bff2ebd]{overflow:hidden}.yx-speech-recognition .displayAssistant .bubbleBox .item-box .item-box-label[data-v-2bff2ebd]{display:inline-block;width:auto;font-size:calc(var(--694bf856)*.9);border-radius:5px;padding:0 8px}.yx-speech-recognition .displayAssistant .bubbleBox .item-box .item-box-descriptions[data-v-2bff2ebd]{font-size:calc(var(--694bf856)*.9);color:hsla(0,0%,100%,.74);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.yx-speech-recognition .displayAssistant .bubbleBox span[data-v-2bff2ebd]{display:block;max-width:calc(var(--694bf856)*19.21);font-size:calc(var(--694bf856)*1);color:#fff;word-break:break-all}.yx-speech-recognition .displayAssistant .bubbleBox-suggest[data-v-2bff2ebd],.yx-speech-recognition .displayAssistant .bubbleBox-title[data-v-2bff2ebd]{border-radius:calc(var(--694bf856)*.27);padding:calc(var(--694bf856)*.38);box-sizing:border-box}.yx-speech-recognition .displayAssistant .bubbleBox-suggest[data-v-2bff2ebd]{background-color:rgba(13,23,135,.85);box-shadow:0 4px 15px rgba(106,17,203,.3)}.yx-speech-recognition .displayAssistant .bubbleBox-title-hi[data-v-2bff2ebd]{max-width:calc(var(--694bf856)*9.21)}.yx-speech-recognition .displayAssistant .bubbleBox-title[data-v-2bff2ebd]{margin-bottom:15px;background-color:rgba(70,61,255,.85);box-shadow:inset 0 0 calc(var(--694bf856)*.57) 0 #d4d9ff;max-height:1200px;overflow:auto;scrollbar-width:none;-ms-overflow-style:none}.yx-speech-recognition .displayAssistant .bubbleBox-title[data-v-2bff2ebd]::-webkit-scrollbar{display:none;width:0;height:0}.yx-speech-recognition .displayAssistant .bubbleBox-title[data-v-2bff2ebd]:after,.yx-speech-recognition .displayAssistant .bubbleBox-title[data-v-2bff2ebd]:before{content:\"\";display:block;position:absolute}.yx-speech-recognition .displayAssistant .bubbleBox-to[data-v-2bff2ebd]{background-color:rgba(98,183,0,.85);box-shadow:inset 0 0 calc(var(--694bf856)*.57) 0 #fff3b4}.yx-speech-recognition .displayAssistant .bubbleBox-to[data-v-2bff2ebd]:before{border-right:calc(var(--694bf856)*.5) solid transparent}.yx-speech-recognition .displayAssistant .bubbleBox-to[data-v-2bff2ebd]:after{border-top:calc(var(--694bf856)*.25) solid transparent;border-bottom:calc(var(--694bf856)*.25) solid transparent;border-right:calc(var(--694bf856)*.5) solid rgba(98,183,0,.85);transform:translateX(calc(var(--694bf856)*-.46));left:0;top:calc(var(--694bf856)*.48)}.inputContainer[data-v-2bff2ebd]{display:flex;flex:1;justify-content:space-between;align-items:center;background-color:rgba(2,11,72,.3);border-radius:calc(var(--694bf856)*.57)}.inputContainer .inputBox[data-v-2bff2ebd]{margin:4px;flex:1;height:calc(var(--694bf856)*1.8);border-color:transparent;background-color:transparent;border-radius:calc(var(--694bf856)*.57);font-size:calc(var(--694bf856)*1);color:#fff;padding:0 20px;outline:none}.inputContainer .inputButton[data-v-2bff2ebd]{margin-right:20px;flex-shrink:0}.dropdown[data-v-2bff2ebd]{display:flex;position:relative;width:180px;align-items:center;justify-content:center;font-size:calc(var(--694bf856)*.8);color:#fff;padding:5px 15px;margin:10px 30px 10px;border-radius:calc(var(--694bf856)*.18);background:rgba(51,136,255,.52)}.dropdown .dropdown-btn[data-v-2bff2ebd]{cursor:pointer}.dropdown .dropdown-options[data-v-2bff2ebd]{position:absolute;bottom:100%;left:0;right:0;border-radius:8px;margin-bottom:10px;width:100%;min-width:160px;background-color:rgba(13,23,135,.85);box-shadow:0 4px 15px rgba(106,17,203,.3);z-index:10;max-height:400px;overflow-y:auto}.dropdown .dropdown-item[data-v-2bff2ebd]{padding:5px 20px;cursor:pointer;transition:background .2s}.dropdown .dropdown-item[data-v-2bff2ebd]:hover{background-color:rgba(51,136,255,.3)}.dropdown .dropdown-item.selected[data-v-2bff2ebd]{background-color:rgba(51,136,255,.51);color:hsla(0,0%,100%,.9)}", ""]);
57
+ ___CSS_LOADER_EXPORT___.push([module.id, ".message-wrapper[data-v-443ba780]{display:flex;gap:.1rem;padding-right:calc(var(--c8d663a4)*.29)}.message-content[data-v-443ba780]{flex:1}.message-content-inner[data-v-443ba780]{box-sizing:border-box;padding:calc(var(--c8d663a4)*.38);display:flex;flex-direction:column}.message-content-inner[data-v-443ba780]:after,.message-content-inner[data-v-443ba780]:before{content:\"\";display:block;position:absolute}.message-content__text[data-v-443ba780]{font-size:calc(var(--c8d663a4)*1);line-height:calc(var(--c8d663a4)*1.5);color:#fff;word-break:break-all}.message-content .html-content[data-v-443ba780]{padding-left:calc(var(--c8d663a4)*1);padding-right:calc(var(--c8d663a4)*.5)}.message-content .stream-header[data-v-443ba780]{display:flex;cursor:pointer;align-items:center;justify-content:space-between;border-bottom:calc(var(--c8d663a4)*.1) solid rgba(117,178,255,.61);margin-bottom:calc(var(--c8d663a4)*.2)}.message-content .stream-header .collapse-icon[data-v-443ba780]{display:inline-block;width:calc(var(--c8d663a4)*.5);height:calc(var(--c8d663a4)*.5);position:relative}.message-content .stream-header .collapse-icon.arrow-up[data-v-443ba780]:after{transform:translate(-50%,-70%) rotate(45deg)}.message-content .stream-header .collapse-icon.arrow-down[data-v-443ba780]:after,.message-content .stream-header .collapse-icon.arrow-up[data-v-443ba780]:after{content:\"\";position:absolute;top:50%;left:50%;width:calc(var(--c8d663a4)*.25);height:calc(var(--c8d663a4)*.25);border-top:2px solid;border-right:2px solid}.message-content .stream-header .collapse-icon.arrow-down[data-v-443ba780]:after{transform:translate(-50%,-30%) rotate(-135deg)}.message-content .normal__stream[data-v-443ba780],.message-content .normal__text[data-v-443ba780]{font-size:calc(var(--c8d663a4)*1);line-height:calc(var(--c8d663a4)*1.5);color:#fff;word-break:break-all}.message-content .normal__text[data-v-443ba780]{margin-top:calc(var(--c8d663a4)*.2);border-top:calc(var(--c8d663a4)*.1) solid rgba(117,178,255,.61)}.message-content .normal__text .item-box[data-v-443ba780]{display:flex;margin:6px 0}.message-content .normal__text .item-box:nth-child(2) .item-box-number[data-v-443ba780]{background-color:#ff4e4e}.message-content .normal__text .item-box:nth-child(3) .item-box-number[data-v-443ba780]{background-color:#ff6e1d}.message-content .normal__text .item-box:nth-child(4) .item-box-number[data-v-443ba780]{background-color:#4fc94d}.message-content .normal__text .item-box .item-box-index[data-v-443ba780]{flex-shrink:0;width:calc(var(--c8d663a4)*1.2);font-size:calc(var(--c8d663a4)*.9);height:calc(var(--c8d663a4)*1.2);background-color:rgba(117,178,255,.61);border-radius:50%;display:flex;align-items:center;justify-content:center;margin-top:calc(var(--c8d663a4)*.1);margin-right:calc(var(--c8d663a4)*.1)}.message-content .normal__text .item-box .item-box-label[data-v-443ba780]{font-size:calc(var(--c8d663a4)*.9);border-radius:5px;padding:0 8px}.message-content .normal__text .item-box .item-box-description[data-v-443ba780]{font-size:calc(var(--c8d663a4)*.9);color:hsla(0,0%,100%,.74)}.message-avatar[data-v-443ba780]{width:calc(var(--c8d663a4)*2.1);height:calc(var(--c8d663a4)*2.1);border-radius:100%;box-sizing:border-box;overflow:hidden;flex-shrink:0}.message-avatar img[data-v-443ba780]{background-color:hsla(0,0%,100%,0);width:100%;height:100%}.message-type__none[data-v-443ba780]{margin-top:.21rem}.message-type__to .message-content[data-v-443ba780]{display:flex;justify-content:flex-end;margin-left:calc(var(--c8d663a4)*.49)}.message-type__from .message-content[data-v-443ba780]{display:flex;justify-content:flex-start;margin-right:calc(var(--c8d663a4)*.45)}.message-type__to .message-content-inner[data-v-443ba780]{background-color:rgba(98,183,0,.85);box-shadow:inset 0 0 calc(var(--c8d663a4)*.57) 0 #fff3b4;border-radius:calc(var(--c8d663a4)*.27);position:relative;margin-right:calc(var(--c8d663a4)*.45)}.message-type__to .message-content-inner[data-v-443ba780]:after{border-top:calc(var(--c8d663a4)*.25) solid transparent;border-bottom:calc(var(--c8d663a4)*.25) solid transparent;border-left:calc(var(--c8d663a4)*.5) solid rgba(98,183,0,.85);transform:translateX(calc(var(--c8d663a4)*.43));right:0;top:calc(var(--c8d663a4)*.48)}.message-type__from .message-content-inner[data-v-443ba780]{background-color:rgba(70,61,255,.85);box-shadow:inset 0 0 calc(var(--c8d663a4)*.57) 0 #d4d9ff;border-radius:calc(var(--c8d663a4)*.27);position:relative;margin-left:calc(var(--c8d663a4)*.49)}.message-type__from .message-content-inner[data-v-443ba780]:before{border-top:calc(var(--c8d663a4)*.25) solid transparent;border-bottom:calc(var(--c8d663a4)*.25) solid transparent;border-right:calc(var(--c8d663a4)*.5) solid rgba(70,61,255,.85);transform:translateX(calc(var(--c8d663a4)*-.46));left:0;top:calc(var(--c8d663a4)*.48)}.message-type__to .message-avatar[data-v-443ba780]{overflow:hidden}.message-type__none .message-content-inner[data-v-443ba780]{background-color:#fff;position:relative;margin-left:.15rem}", ""]);
53
58
  // Exports
54
59
  /* harmony default export */ __webpack_exports__["default"] = (___CSS_LOADER_EXPORT___);
55
60
 
56
61
 
57
- /***/ }),
58
-
59
- /***/ 274:
60
- /***/ (function(module) {
61
-
62
- "use strict";
63
- module.exports = __WEBPACK_EXTERNAL_MODULE__274__;
64
-
65
62
  /***/ }),
66
63
 
67
64
  /***/ 314:
@@ -164,6 +161,22 @@ module.exports = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACoAAAAqCAMAAADy
164
161
 
165
162
  /***/ }),
166
163
 
164
+ /***/ 385:
165
+ /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
166
+
167
+ // style-loader: Adds some css to the DOM by adding a <style> tag
168
+
169
+ // load the styles
170
+ var content = __webpack_require__(975);
171
+ if(content.__esModule) content = content.default;
172
+ if(typeof content === 'string') content = [[module.id, content, '']];
173
+ if(content.locals) module.exports = content.locals;
174
+ // add the styles to the DOM
175
+ var add = (__webpack_require__(459)/* ["default"] */ .A)
176
+ var update = add("5caac234", content, true, {"sourceMap":false,"shadowMode":false});
177
+
178
+ /***/ }),
179
+
167
180
  /***/ 459:
168
181
  /***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
169
182
 
@@ -440,22 +453,6 @@ module.exports = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEAAAABACAYAAACq
440
453
 
441
454
  /***/ }),
442
455
 
443
- /***/ 532:
444
- /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
445
-
446
- // style-loader: Adds some css to the DOM by adding a <style> tag
447
-
448
- // load the styles
449
- var content = __webpack_require__(662);
450
- if(content.__esModule) content = content.default;
451
- if(typeof content === 'string') content = [[module.id, content, '']];
452
- if(content.locals) module.exports = content.locals;
453
- // add the styles to the DOM
454
- var add = (__webpack_require__(459)/* ["default"] */ .A)
455
- var update = add("25b41270", content, true, {"sourceMap":false,"shadowMode":false});
456
-
457
- /***/ }),
458
-
459
456
  /***/ 601:
460
457
  /***/ (function(module) {
461
458
 
@@ -466,27 +463,6 @@ module.exports = function (i) {
466
463
  return i[1];
467
464
  };
468
465
 
469
- /***/ }),
470
-
471
- /***/ 662:
472
- /***/ (function(module, __webpack_exports__, __webpack_require__) {
473
-
474
- "use strict";
475
- __webpack_require__.r(__webpack_exports__);
476
- /* harmony import */ var _node_modules_css_loader_dist_runtime_noSourceMaps_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(601);
477
- /* 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__);
478
- /* harmony import */ var _node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(314);
479
- /* 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__);
480
- // Imports
481
-
482
-
483
- 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()));
484
- // Module
485
- ___CSS_LOADER_EXPORT___.push([module.id, ".message-wrapper[data-v-5dd118a1]{display:flex;gap:.1rem;padding-right:calc(var(--6c1be3e4)*.29)}.message-content[data-v-5dd118a1]{flex:1}.message-content-inner[data-v-5dd118a1]{box-sizing:border-box;padding:calc(var(--6c1be3e4)*.38);display:flex;flex-direction:column}.message-content-inner[data-v-5dd118a1]:after,.message-content-inner[data-v-5dd118a1]:before{content:\"\";display:block;position:absolute}.message-content .normal__text[data-v-5dd118a1],.message-content__text[data-v-5dd118a1]{font-size:calc(var(--6c1be3e4)*1);line-height:calc(var(--6c1be3e4)*1.5);color:#fff;word-break:break-all}.message-content .normal__text[data-v-5dd118a1]{margin-top:calc(var(--6c1be3e4)*.2);border-top:calc(var(--6c1be3e4)*.1) solid rgba(117,178,255,.61)}.message-content .normal__text .item-box[data-v-5dd118a1]{display:flex;margin:6px 0}.message-content .normal__text .item-box:nth-child(2) .item-box-number[data-v-5dd118a1]{background-color:#ff4e4e}.message-content .normal__text .item-box:nth-child(3) .item-box-number[data-v-5dd118a1]{background-color:#ff6e1d}.message-content .normal__text .item-box:nth-child(4) .item-box-number[data-v-5dd118a1]{background-color:#4fc94d}.message-content .normal__text .item-box .item-box-index[data-v-5dd118a1]{flex-shrink:0;width:calc(var(--6c1be3e4)*1.2);font-size:calc(var(--6c1be3e4)*.9);height:calc(var(--6c1be3e4)*1.2);background-color:rgba(117,178,255,.61);border-radius:50%;display:flex;align-items:center;justify-content:center;margin-top:calc(var(--6c1be3e4)*.1);margin-right:calc(var(--6c1be3e4)*.1)}.message-content .normal__text .item-box .item-box-label[data-v-5dd118a1]{font-size:calc(var(--6c1be3e4)*.9);border-radius:5px;padding:0 8px}.message-content .normal__text .item-box .item-box-description[data-v-5dd118a1]{font-size:calc(var(--6c1be3e4)*.9);color:hsla(0,0%,100%,.74)}.message-avatar[data-v-5dd118a1]{width:calc(var(--6c1be3e4)*2.1);height:calc(var(--6c1be3e4)*2.1);border-radius:100%;box-sizing:border-box;overflow:hidden;flex-shrink:0}.message-avatar img[data-v-5dd118a1]{background-color:hsla(0,0%,100%,0);width:100%;height:100%}.message-type__none[data-v-5dd118a1]{margin-top:.21rem}.message-type__to .message-content[data-v-5dd118a1]{display:flex;justify-content:flex-end;margin-left:calc(var(--6c1be3e4)*.49)}.message-type__from .message-content[data-v-5dd118a1]{display:flex;justify-content:flex-start;margin-right:calc(var(--6c1be3e4)*.45)}.message-type__to .message-content-inner[data-v-5dd118a1]{background-color:rgba(98,183,0,.85);box-shadow:inset 0 0 calc(var(--6c1be3e4)*.57) 0 #fff3b4;border-radius:calc(var(--6c1be3e4)*.27);position:relative;margin-right:calc(var(--6c1be3e4)*.45)}.message-type__to .message-content-inner[data-v-5dd118a1]:after{border-top:calc(var(--6c1be3e4)*.25) solid transparent;border-bottom:calc(var(--6c1be3e4)*.25) solid transparent;border-left:calc(var(--6c1be3e4)*.5) solid rgba(98,183,0,.85);transform:translateX(calc(var(--6c1be3e4)*.43));right:0;top:calc(var(--6c1be3e4)*.48)}.message-type__from .message-content-inner[data-v-5dd118a1]{background-color:rgba(70,61,255,.85);box-shadow:inset 0 0 calc(var(--6c1be3e4)*.57) 0 #d4d9ff;border-radius:calc(var(--6c1be3e4)*.27);position:relative;margin-left:calc(var(--6c1be3e4)*.49)}.message-type__from .message-content-inner[data-v-5dd118a1]:before{border-top:calc(var(--6c1be3e4)*.25) solid transparent;border-bottom:calc(var(--6c1be3e4)*.25) solid transparent;border-right:calc(var(--6c1be3e4)*.5) solid rgba(70,61,255,.85);transform:translateX(calc(var(--6c1be3e4)*-.46));left:0;top:calc(var(--6c1be3e4)*.48)}.message-type__to .message-avatar[data-v-5dd118a1]{overflow:hidden}.message-type__none .message-content-inner[data-v-5dd118a1]{background-color:#fff;position:relative;margin-left:.15rem}", ""]);
486
- // Exports
487
- /* harmony default export */ __webpack_exports__["default"] = (___CSS_LOADER_EXPORT___);
488
-
489
-
490
466
  /***/ }),
491
467
 
492
468
  /***/ 672:
@@ -782,23 +758,76 @@ module.exports = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAFgAAABYCAMAAABG
782
758
 
783
759
  /***/ }),
784
760
 
785
- /***/ 836:
761
+ /***/ 877:
762
+ /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
763
+
764
+ // style-loader: Adds some css to the DOM by adding a <style> tag
765
+
766
+ // load the styles
767
+ var content = __webpack_require__(243);
768
+ if(content.__esModule) content = content.default;
769
+ if(typeof content === 'string') content = [[module.id, content, '']];
770
+ if(content.locals) module.exports = content.locals;
771
+ // add the styles to the DOM
772
+ var add = (__webpack_require__(459)/* ["default"] */ .A)
773
+ var update = add("bc3ad904", content, true, {"sourceMap":false,"shadowMode":false});
774
+
775
+ /***/ }),
776
+
777
+ /***/ 931:
778
+ /***/ (function(module, __webpack_exports__, __webpack_require__) {
779
+
780
+ "use strict";
781
+ __webpack_require__.r(__webpack_exports__);
782
+ /* harmony import */ var _node_modules_css_loader_dist_runtime_noSourceMaps_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(601);
783
+ /* 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__);
784
+ /* harmony import */ var _node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(314);
785
+ /* 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__);
786
+ // Imports
787
+
788
+
789
+ 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()));
790
+ // Module
791
+ ___CSS_LOADER_EXPORT___.push([module.id, "p{padding:0;margin:0;line-height:normal}h1,h2,h3,h4,h5,h6{margin:calc(var(--009209e7)*.5) 0}.html-content table{min-width:-moz-min-content!important;min-width:min-content!important}.html-content table td,.html-content table tr th{padding:calc(var(--009209e7)*.2)!important}.html-content table,td,th{border:4px solid #fff;border-collapse:collapse}", ""]);
792
+ // Exports
793
+ /* harmony default export */ __webpack_exports__["default"] = (___CSS_LOADER_EXPORT___);
794
+
795
+
796
+ /***/ }),
797
+
798
+ /***/ 969:
799
+ /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
800
+
801
+ // style-loader: Adds some css to the DOM by adding a <style> tag
802
+
803
+ // load the styles
804
+ var content = __webpack_require__(931);
805
+ if(content.__esModule) content = content.default;
806
+ if(typeof content === 'string') content = [[module.id, content, '']];
807
+ if(content.locals) module.exports = content.locals;
808
+ // add the styles to the DOM
809
+ var add = (__webpack_require__(459)/* ["default"] */ .A)
810
+ var update = add("0b0c1b3e", content, true, {"sourceMap":false,"shadowMode":false});
811
+
812
+ /***/ }),
813
+
814
+ /***/ 972:
786
815
  /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
787
816
 
788
817
  // style-loader: Adds some css to the DOM by adding a <style> tag
789
818
 
790
819
  // load the styles
791
- var content = __webpack_require__(230);
820
+ var content = __webpack_require__(298);
792
821
  if(content.__esModule) content = content.default;
793
822
  if(typeof content === 'string') content = [[module.id, content, '']];
794
823
  if(content.locals) module.exports = content.locals;
795
824
  // add the styles to the DOM
796
825
  var add = (__webpack_require__(459)/* ["default"] */ .A)
797
- var update = add("305d9aa5", content, true, {"sourceMap":false,"shadowMode":false});
826
+ var update = add("1235acba", content, true, {"sourceMap":false,"shadowMode":false});
798
827
 
799
828
  /***/ }),
800
829
 
801
- /***/ 846:
830
+ /***/ 975:
802
831
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
803
832
 
804
833
  "use strict";
@@ -812,7 +841,7 @@ __webpack_require__.r(__webpack_exports__);
812
841
 
813
842
  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()));
814
843
  // Module
815
- ___CSS_LOADER_EXPORT___.push([module.id, "p{padding:0;margin:0;line-height:normal}h1,h2,h3,h4,h5,h6{margin:calc(var(--694bf856)*.5) 0}.html-content table{min-width:-moz-min-content!important;min-width:min-content!important}.html-content table td,.html-content table tr th{padding:calc(var(--694bf856)*.2)!important}.html-content table,td,th{border:4px solid #fff;border-collapse:collapse}", ""]);
844
+ ___CSS_LOADER_EXPORT___.push([module.id, ".yx-speech-recognition .box[data-v-0ba8811e] ::-webkit-scrollbar{width:0;height:0;display:none;background:transparent}.yx-speech-recognition .box[data-v-0ba8811e]{display:grid;grid-template-rows:max-content 1fr;position:absolute;pointer-events:all;background:rgba(2,11,72,.6);border-radius:calc(var(--009209e7)*.57);z-index:20}.yx-speech-recognition .box .title[data-v-0ba8811e]{display:flex;align-items:center;justify-content:space-between;width:100%;height:calc(var(--009209e7)*2.29);padding:0 calc(var(--009209e7)*.76);box-sizing:border-box;background:linear-gradient(270deg,rgba(0,126,245,.94),rgba(54,141,253,.75) 70%,rgba(60,125,255,.51));border-radius:calc(var(--009209e7)*.57) calc(var(--009209e7)*.57) 0 0}.yx-speech-recognition .box .title-icon[data-v-0ba8811e]{display:flex;align-items:center;gap:calc(var(--009209e7)*.38)}.yx-speech-recognition .box .title-icon img[data-v-0ba8811e]{width:calc(var(--009209e7)*1);height:calc(var(--009209e7)*1)}.yx-speech-recognition .box .title-icon span[data-v-0ba8811e]{font-size:calc(var(--009209e7)*1.14);font-weight:800;color:#fff}.yx-speech-recognition .box .title .close[data-v-0ba8811e]{cursor:pointer}.yx-speech-recognition .box .title .close img[data-v-0ba8811e]{width:calc(var(--009209e7)*1.1)}.yx-speech-recognition .box .content[data-v-0ba8811e]{display:flex;align-items:center;justify-content:center;width:100%;height:100%;background:url(http://10.99.16.155:8995/mysb/l/main/app/assets/png/icon9-pl26do__.png) no-repeat center 35%;color:#fff}.yx-speech-recognition .box .content span[data-v-0ba8811e]{margin-top:calc(var(--009209e7)*7.5);font-size:calc(var(--009209e7)*1)}.yx-speech-recognition .box .message-list[data-v-0ba8811e]{overflow:hidden;padding:calc(var(--009209e7)*.58);box-sizing:border-box;padding-right:calc(var(--009209e7)*.29)}.yx-speech-recognition .box .message-list-inner[data-v-0ba8811e]{height:100%;display:flex;flex-direction:column;gap:calc(var(--009209e7)*.53);overflow-y:overlay}.yx-speech-recognition .displayAssistant[data-v-0ba8811e]{position:absolute;pointer-events:all;cursor:pointer;z-index:20}.yx-speech-recognition .displayAssistant .icon1[data-v-0ba8811e]{width:calc(var(--009209e7)*3.76);height:calc(var(--009209e7)*3.88)}.yx-speech-recognition .displayAssistant .icon1 img[data-v-0ba8811e]{width:100%;height:100%}.yx-speech-recognition .displayAssistant .bubbleBox[data-v-0ba8811e]{position:absolute;top:0;left:calc(var(--009209e7)*3.76);width:-moz-max-content;width:max-content;min-width:-moz-min-content;min-width:min-content}.yx-speech-recognition .displayAssistant .bubbleBox .loading-box[data-v-0ba8811e]{font-size:calc(var(--009209e7)*.8);display:flex;align-items:center}.yx-speech-recognition .displayAssistant .bubbleBox .loging-icon[data-v-0ba8811e]{width:calc(var(--009209e7)*1.26);height:calc(var(--009209e7)*1.28);margin-right:calc(var(--009209e7)*.4)}.yx-speech-recognition .displayAssistant .bubbleBox .loging-icon img[data-v-0ba8811e]{width:100%;height:100%}.yx-speech-recognition .displayAssistant .bubbleBox .box-container[data-v-0ba8811e]{border-top:calc(var(--009209e7)*.1) solid rgba(117,178,255,.61);margin-top:calc(var(--009209e7)*.2)}.yx-speech-recognition .displayAssistant .bubbleBox .item-box[data-v-0ba8811e]{display:flex;overflow:hidden;margin:10px 0}.yx-speech-recognition .displayAssistant .bubbleBox .item-box:nth-child(2) .item-box-number[data-v-0ba8811e]{background-color:#ff4e4e}.yx-speech-recognition .displayAssistant .bubbleBox .item-box:nth-child(3) .item-box-number[data-v-0ba8811e]{background-color:#ff6e1d}.yx-speech-recognition .displayAssistant .bubbleBox .item-box:nth-child(4) .item-box-number[data-v-0ba8811e]{background-color:#4fc94d}.yx-speech-recognition .displayAssistant .bubbleBox .item-box .item-box-index[data-v-0ba8811e]{flex-shrink:0;width:calc(var(--009209e7)*1.2);font-size:calc(var(--009209e7)*.9);height:calc(var(--009209e7)*1.2);background-color:rgba(117,178,255,.61);border-radius:50%;display:flex;align-items:center;justify-content:center;margin-top:calc(var(--009209e7)*.1);margin-right:calc(var(--009209e7)*.1)}.yx-speech-recognition .displayAssistant .bubbleBox .item-box .item-box-content[data-v-0ba8811e]{overflow:hidden}.yx-speech-recognition .displayAssistant .bubbleBox .item-box .item-box-label[data-v-0ba8811e]{display:inline-block;width:auto;font-size:calc(var(--009209e7)*.9);border-radius:5px;padding:0 8px}.yx-speech-recognition .displayAssistant .bubbleBox .item-box .item-box-descriptions[data-v-0ba8811e]{font-size:calc(var(--009209e7)*.9);color:hsla(0,0%,100%,.74);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.yx-speech-recognition .displayAssistant .bubbleBox span[data-v-0ba8811e]{display:block;max-width:calc(var(--009209e7)*19.21);font-size:calc(var(--009209e7)*1);color:#fff;word-break:break-all}.yx-speech-recognition .displayAssistant .bubbleBox-suggest[data-v-0ba8811e],.yx-speech-recognition .displayAssistant .bubbleBox-title[data-v-0ba8811e]{border-radius:calc(var(--009209e7)*.27);padding:calc(var(--009209e7)*.38);box-sizing:border-box}.yx-speech-recognition .displayAssistant .bubbleBox-suggest[data-v-0ba8811e]{background-color:rgba(13,23,135,.85);box-shadow:0 4px 15px rgba(106,17,203,.3)}.yx-speech-recognition .displayAssistant .bubbleBox-title-hi[data-v-0ba8811e]{max-width:calc(var(--009209e7)*9.21)}.yx-speech-recognition .displayAssistant .bubbleBox-title[data-v-0ba8811e]{margin-bottom:15px;background-color:rgba(70,61,255,.85);box-shadow:inset 0 0 calc(var(--009209e7)*.57) 0 #d4d9ff;max-height:1200px;overflow:auto;padding:calc(var(--009209e7)*.5) calc(var(--009209e7)*1);scrollbar-width:none;-ms-overflow-style:none}.yx-speech-recognition .displayAssistant .bubbleBox-title[data-v-0ba8811e]::-webkit-scrollbar{display:none;width:0;height:0}.yx-speech-recognition .displayAssistant .bubbleBox-title[data-v-0ba8811e]:after,.yx-speech-recognition .displayAssistant .bubbleBox-title[data-v-0ba8811e]:before{content:\"\";display:block;position:absolute}.yx-speech-recognition .displayAssistant .bubbleBox-to[data-v-0ba8811e]{background-color:rgba(98,183,0,.85);box-shadow:inset 0 0 calc(var(--009209e7)*.57) 0 #fff3b4}.yx-speech-recognition .displayAssistant .bubbleBox-to[data-v-0ba8811e]:before{border-right:calc(var(--009209e7)*.5) solid transparent}.yx-speech-recognition .displayAssistant .bubbleBox-to[data-v-0ba8811e]:after{border-top:calc(var(--009209e7)*.25) solid transparent;border-bottom:calc(var(--009209e7)*.25) solid transparent;border-right:calc(var(--009209e7)*.5) solid rgba(98,183,0,.85);transform:translateX(calc(var(--009209e7)*-.46));left:0;top:calc(var(--009209e7)*.48)}.inputContainer[data-v-0ba8811e]{display:flex;flex:1;justify-content:space-between;align-items:center;background-color:rgba(2,11,72,.3);border-radius:calc(var(--009209e7)*.57)}.inputContainer .inputBox[data-v-0ba8811e]{margin:4px;flex:1;height:calc(var(--009209e7)*1.8);border-color:transparent;background-color:transparent;border-radius:calc(var(--009209e7)*.57);font-size:calc(var(--009209e7)*1);color:#fff;padding:0 20px;outline:none}.inputContainer .inputButton[data-v-0ba8811e]{margin-right:20px;flex-shrink:0}.dropdown[data-v-0ba8811e]{display:flex;position:relative;width:180px;align-items:center;justify-content:center;font-size:calc(var(--009209e7)*.8);color:#fff;padding:5px 15px;margin:10px 30px 10px;border-radius:calc(var(--009209e7)*.18);background:rgba(51,136,255,.52)}.dropdown .dropdown-btn[data-v-0ba8811e]{cursor:pointer}.dropdown .dropdown-options[data-v-0ba8811e]{position:absolute;bottom:100%;left:0;right:0;border-radius:8px;margin-bottom:10px;width:100%;min-width:160px;background-color:rgba(13,23,135,.85);box-shadow:0 4px 15px rgba(106,17,203,.3);z-index:10;max-height:400px;overflow-y:auto}.dropdown .dropdown-item[data-v-0ba8811e]{padding:5px 20px;cursor:pointer;transition:background .2s}.dropdown .dropdown-item[data-v-0ba8811e]:hover{background-color:rgba(51,136,255,.3)}.dropdown .dropdown-item.selected[data-v-0ba8811e]{background-color:rgba(51,136,255,.51);color:hsla(0,0%,100%,.9)}", ""]);
816
845
  // Exports
817
846
  /* harmony default export */ __webpack_exports__["default"] = (___CSS_LOADER_EXPORT___);
818
847
 
@@ -933,7 +962,7 @@ if (typeof window !== 'undefined') {
933
962
  // Indicate to webpack that this file can be concatenated
934
963
  /* harmony default export */ var setPublicPath = (null);
935
964
 
936
- ;// ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./package/SpeechRecognition/index.vue?vue&type=template&id=2bff2ebd&scoped=true
965
+ ;// ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./package/SpeechRecognition/index.vue?vue&type=template&id=0ba8811e&scoped=true
937
966
  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); }
938
967
  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; }
939
968
  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; }
@@ -1060,7 +1089,7 @@ var render = function render() {
1060
1089
  on: {
1061
1090
  "click": _vm.handleSpeechClick
1062
1091
  }
1063
- })]), _vm.bubbleBoxTitle || _vm.bubbleBoxQuestion ? _c('div', {
1092
+ })]), _vm.bubbleBoxTitle || _vm.bubbleBoxQuestion || _vm.streamItems.length > 0 ? _c('div', {
1064
1093
  staticClass: "bubbleBox"
1065
1094
  }, [_vm.bubbleBoxQuestion ? _c('div', {
1066
1095
  staticClass: "bubbleBox-title",
@@ -1072,15 +1101,7 @@ var render = function render() {
1072
1101
  domProps: {
1073
1102
  "innerHTML": _vm._s(_vm.bubbleBoxQuestion)
1074
1103
  }
1075
- }), !_vm.oneQuestionOneAnswer && !_vm.isReading ? _c('span', {
1076
- staticClass: "loading-box"
1077
- }, [_c('img', {
1078
- staticClass: "loging-icon",
1079
- attrs: {
1080
- "src": __webpack_require__(21),
1081
- "alt": ""
1082
- }
1083
- }), _vm._v(" 努力思考中··· ")]) : _vm._e()]) : _vm._e(), _vm.bubbleBoxTitle ? _c('div', {
1104
+ })]) : _vm._e(), _vm.bubbleBoxTitle ? _c('div', {
1084
1105
  staticClass: "bubbleBox-title"
1085
1106
  }, [_c('span', {
1086
1107
  staticClass: "html-content",
@@ -1113,7 +1134,13 @@ var render = function render() {
1113
1134
  staticStyle: {
1114
1135
  "margin-left": "20px"
1115
1136
  }
1116
- }, [_vm._v("下一页")]) : _vm._e()])], 2) : _vm._e()]) : _vm._e(), _vm.bubbleBoxRecommandList.length ? _c('div', {
1137
+ }, [_vm._v("下一页")]) : _vm._e()])], 2) : _vm._e()]) : _vm._e(), _vm.streamItems.length > 0 && !_vm.bubbleBoxTitle ? _c('div', {
1138
+ staticClass: "bubbleBox-title"
1139
+ }, [_c('span', [_c('StreamInput', {
1140
+ attrs: {
1141
+ "items": _vm.streamItems
1142
+ }
1143
+ })], 1)]) : _vm._e(), _vm.bubbleBoxRecommandList.length ? _c('div', {
1117
1144
  staticClass: "bubbleBox-suggest"
1118
1145
  }, [_c('span', [_c('span', [_vm._v("您可能想了解:")]), _vm._l(_vm.bubbleBoxRecommandList, function (item2, index2) {
1119
1146
  return _c('span', {
@@ -1152,7 +1179,7 @@ var staticRenderFns = [function () {
1152
1179
  }, [_c('span', [_vm._v("Hi,我是小安,有问题,尽管问。")])]);
1153
1180
  }];
1154
1181
 
1155
- ;// ./package/SpeechRecognition/index.vue?vue&type=template&id=2bff2ebd&scoped=true
1182
+ ;// ./package/SpeechRecognition/index.vue?vue&type=template&id=0ba8811e&scoped=true
1156
1183
 
1157
1184
  ;// ./node_modules/marked/lib/marked.esm.js
1158
1185
  var _Class3;
@@ -4080,8 +4107,8 @@ var WebAudioSpeechRecognizer = /*#__PURE__*/function () {
4080
4107
  }();
4081
4108
 
4082
4109
  window && (window.WebAudioSpeechRecognizer = WebAudioSpeechRecognizer);
4083
- ;// ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./package/SpeechRecognition/cpts/Message.vue?vue&type=template&id=5dd118a1&scoped=true
4084
- var Messagevue_type_template_id_5dd118a1_scoped_true_render = function render() {
4110
+ ;// ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./package/SpeechRecognition/cpts/Message.vue?vue&type=template&id=443ba780&scoped=true
4111
+ var Messagevue_type_template_id_443ba780_scoped_true_render = function render() {
4085
4112
  var _vm = this,
4086
4113
  _c = _vm._self._c;
4087
4114
  return _c('div', {
@@ -4107,7 +4134,24 @@ var Messagevue_type_template_id_5dd118a1_scoped_true_render = function render()
4107
4134
  staticClass: "message-content"
4108
4135
  }, [_c('div', {
4109
4136
  staticClass: "message-content-inner"
4137
+ }, [_vm.streamItems.length > 0 ? _c('div', {
4138
+ staticClass: "normal__stream"
4110
4139
  }, [_c('div', {
4140
+ staticClass: "stream-header",
4141
+ on: {
4142
+ "click": function click($event) {
4143
+ _vm.manuallyExpanded = !_vm.manuallyExpanded;
4144
+ }
4145
+ }
4146
+ }, [_c('h3', [_vm._v("执行过程")]), _vm.content ? _c('span', {
4147
+ staticClass: "collapse-icon",
4148
+ class: _vm.collapsed ? 'arrow-up' : 'arrow-down'
4149
+ }) : _vm._e()]), !_vm.collapsed ? _c('StreamInput', {
4150
+ attrs: {
4151
+ "showBorder": true,
4152
+ "items": _vm.streamItems
4153
+ }
4154
+ }) : _vm._e()], 1) : _vm._e(), _c('div', {
4111
4155
  staticClass: "message-content__text html-content",
4112
4156
  style: _vm.contentStyle,
4113
4157
  domProps: {
@@ -4161,61 +4205,85 @@ var Messagevue_type_template_id_5dd118a1_scoped_true_render = function render()
4161
4205
  }
4162
4206
  })])]);
4163
4207
  };
4164
- var Messagevue_type_template_id_5dd118a1_scoped_true_staticRenderFns = [];
4208
+ var Messagevue_type_template_id_443ba780_scoped_true_staticRenderFns = [];
4209
+
4210
+ ;// ./package/SpeechRecognition/cpts/Message.vue?vue&type=template&id=443ba780&scoped=true
4165
4211
 
4166
- ;// ./package/SpeechRecognition/cpts/Message.vue?vue&type=template&id=5dd118a1&scoped=true
4212
+ ;// ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./package/SpeechRecognition/cpts/StreamInput.vue?vue&type=template&id=719d7795&scoped=true
4213
+ var StreamInputvue_type_template_id_719d7795_scoped_true_render = function render() {
4214
+ var _vm = this,
4215
+ _c = _vm._self._c;
4216
+ return _c('div', {
4217
+ staticClass: "stream-input"
4218
+ }, _vm._l(_vm.items, function (item, index) {
4219
+ return _c('div', {
4220
+ key: item.id,
4221
+ staticClass: "stream-item",
4222
+ class: {
4223
+ 'active': item.status === 'loading',
4224
+ 'with-border': _vm.showBorder
4225
+ }
4226
+ }, [_c('div', {
4227
+ staticClass: "item-header"
4228
+ }, [_c('span', {
4229
+ staticClass: "item-title"
4230
+ }, [_c('span', {
4231
+ staticClass: "item-index"
4232
+ }, [_vm._v(_vm._s(index + 1) + ". ")]), _vm._v(" " + _vm._s(item.title) + " ")]), _c('span', {
4233
+ staticClass: "item-status",
4234
+ class: item.status
4235
+ }, [item.status === 'loading' ? _c('span', {
4236
+ staticClass: "loading-icon"
4237
+ }) : item.status === 'success' ? _c('span', {
4238
+ staticClass: "success-icon"
4239
+ }) : item.status === 'error' ? _c('span', {
4240
+ staticClass: "error-icon"
4241
+ }) : _vm._e()])]), item.children && item.children.length > 0 ? _c('div', {
4242
+ staticClass: "item-children"
4243
+ }, _vm._l(item.children, function (child, childIndex) {
4244
+ return _c('div', {
4245
+ key: child.id,
4246
+ staticClass: "child-item",
4247
+ class: {
4248
+ 'active': child.status === 'loading'
4249
+ }
4250
+ }, [_c('span', {
4251
+ staticClass: "child-title"
4252
+ }, [_vm._v(_vm._s(child.title))]), _c('span', {
4253
+ staticClass: "child-status",
4254
+ class: child.status
4255
+ }, [child.status === 'loading' ? _c('span', {
4256
+ staticClass: "loading-icon"
4257
+ }) : child.status === 'success' ? _c('span', {
4258
+ staticClass: "success-icon"
4259
+ }) : child.status === 'error' ? _c('span', {
4260
+ staticClass: "error-icon"
4261
+ }) : _vm._e()])]);
4262
+ }), 0) : _vm._e()]);
4263
+ }), 0);
4264
+ };
4265
+ var StreamInputvue_type_template_id_719d7795_scoped_true_staticRenderFns = [];
4167
4266
 
4168
4267
  // EXTERNAL MODULE: external {"commonjs":"vue","commonjs2":"vue","root":"Vue"}
4169
4268
  var external_commonjs_vue_commonjs2_vue_root_Vue_ = __webpack_require__(274);
4170
- ;// ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./package/SpeechRecognition/cpts/Message.vue?vue&type=script&lang=js
4269
+ ;// ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./package/SpeechRecognition/cpts/StreamInput.vue?vue&type=script&lang=js
4171
4270
  var __default__ = {
4172
4271
  props: {
4173
- type: {
4174
- type: String,
4175
- default: ""
4176
- },
4177
- content: {
4178
- type: String,
4179
- default: ""
4180
- },
4181
- backList: {
4272
+ items: {
4182
4273
  type: Array,
4183
4274
  default: function _default() {
4184
4275
  return [];
4185
4276
  }
4186
4277
  },
4187
- showNextPage: {
4188
- type: Boolean,
4189
- default: false
4190
- },
4191
- showPrevPage: {
4278
+ showBorder: {
4192
4279
  type: Boolean,
4193
4280
  default: false
4194
4281
  },
4195
- recommandList: {
4196
- type: Array,
4197
- default: function _default() {
4198
- return [];
4199
- }
4200
- },
4201
- contentStyle: {
4202
- type: String,
4203
- default: ""
4204
- },
4205
4282
  size: {
4206
4283
  type: String,
4207
4284
  default: ""
4208
4285
  }
4209
4286
  },
4210
- data: function data() {
4211
- return {
4212
- IMessageType: {
4213
- NONE: "NONE",
4214
- FROM: "FROM",
4215
- TO: "TO"
4216
- }
4217
- };
4218
- },
4219
4287
  computed: {
4220
4288
  htmlFontSize: function htmlFontSize() {
4221
4289
  var fontSize = "42px";
@@ -4232,7 +4300,7 @@ var __default__ = {
4232
4300
  var __injectCSSVars__ = function __injectCSSVars__() {
4233
4301
  (0,external_commonjs_vue_commonjs2_vue_root_Vue_.useCssVars)(function (_vm, _setup) {
4234
4302
  return {
4235
- "6c1be3e4": _vm.htmlFontSize
4303
+ "a28e8f5c": _vm.htmlFontSize
4236
4304
  };
4237
4305
  });
4238
4306
  };
@@ -4241,12 +4309,12 @@ __default__.setup = __setup__ ? function (props, ctx) {
4241
4309
  __injectCSSVars__();
4242
4310
  return __setup__(props, ctx);
4243
4311
  } : __injectCSSVars__;
4244
- /* harmony default export */ var Messagevue_type_script_lang_js = (__default__);
4245
- ;// ./package/SpeechRecognition/cpts/Message.vue?vue&type=script&lang=js
4246
- /* harmony default export */ var cpts_Messagevue_type_script_lang_js = (Messagevue_type_script_lang_js);
4247
- // EXTERNAL MODULE: ./node_modules/vue-style-loader/index.js??clonedRuleSet-22.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-22.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-22.use[2]!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-22.use[3]!./node_modules/sass-loader/dist/cjs.js??clonedRuleSet-22.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=5dd118a1&prod&lang=scss&scoped=true
4248
- var Messagevue_type_style_index_0_id_5dd118a1_prod_lang_scss_scoped_true = __webpack_require__(532);
4249
- ;// ./package/SpeechRecognition/cpts/Message.vue?vue&type=style&index=0&id=5dd118a1&prod&lang=scss&scoped=true
4312
+ /* harmony default export */ var StreamInputvue_type_script_lang_js = (__default__);
4313
+ ;// ./package/SpeechRecognition/cpts/StreamInput.vue?vue&type=script&lang=js
4314
+ /* harmony default export */ var cpts_StreamInputvue_type_script_lang_js = (StreamInputvue_type_script_lang_js);
4315
+ // EXTERNAL MODULE: ./node_modules/vue-style-loader/index.js??clonedRuleSet-22.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-22.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-22.use[2]!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-22.use[3]!./node_modules/sass-loader/dist/cjs.js??clonedRuleSet-22.use[4]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./package/SpeechRecognition/cpts/StreamInput.vue?vue&type=style&index=0&id=719d7795&prod&lang=scss&scoped=true
4316
+ var StreamInputvue_type_style_index_0_id_719d7795_prod_lang_scss_scoped_true = __webpack_require__(877);
4317
+ ;// ./package/SpeechRecognition/cpts/StreamInput.vue?vue&type=style&index=0&id=719d7795&prod&lang=scss&scoped=true
4250
4318
 
4251
4319
  ;// ./node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js
4252
4320
  /* globals __VUE_SSR_CONTEXT__ */
@@ -4346,7 +4414,7 @@ function normalizeComponent(
4346
4414
  }
4347
4415
  }
4348
4416
 
4349
- ;// ./package/SpeechRecognition/cpts/Message.vue
4417
+ ;// ./package/SpeechRecognition/cpts/StreamInput.vue
4350
4418
 
4351
4419
 
4352
4420
 
@@ -4356,17 +4424,138 @@ function normalizeComponent(
4356
4424
  /* normalize component */
4357
4425
 
4358
4426
  var component = normalizeComponent(
4427
+ cpts_StreamInputvue_type_script_lang_js,
4428
+ StreamInputvue_type_template_id_719d7795_scoped_true_render,
4429
+ StreamInputvue_type_template_id_719d7795_scoped_true_staticRenderFns,
4430
+ false,
4431
+ null,
4432
+ "719d7795",
4433
+ null
4434
+
4435
+ )
4436
+
4437
+ /* harmony default export */ var StreamInput = (component.exports);
4438
+ ;// ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./package/SpeechRecognition/cpts/Message.vue?vue&type=script&lang=js
4439
+
4440
+ var Messagevue_type_script_lang_js_default_ = {
4441
+ components: {
4442
+ StreamInput: StreamInput
4443
+ },
4444
+ props: {
4445
+ type: {
4446
+ type: String,
4447
+ default: ""
4448
+ },
4449
+ content: {
4450
+ type: String,
4451
+ default: ""
4452
+ },
4453
+ backList: {
4454
+ type: Array,
4455
+ default: function _default() {
4456
+ return [];
4457
+ }
4458
+ },
4459
+ showNextPage: {
4460
+ type: Boolean,
4461
+ default: false
4462
+ },
4463
+ showPrevPage: {
4464
+ type: Boolean,
4465
+ default: false
4466
+ },
4467
+ recommandList: {
4468
+ type: Array,
4469
+ default: function _default() {
4470
+ return [];
4471
+ }
4472
+ },
4473
+ contentStyle: {
4474
+ type: String,
4475
+ default: ""
4476
+ },
4477
+ size: {
4478
+ type: String,
4479
+ default: ""
4480
+ },
4481
+ streamItems: {
4482
+ type: Array,
4483
+ default: function _default() {
4484
+ return [];
4485
+ }
4486
+ }
4487
+ },
4488
+ data: function data() {
4489
+ return {
4490
+ manuallyExpanded: false,
4491
+ IMessageType: {
4492
+ NONE: "NONE",
4493
+ FROM: "FROM",
4494
+ TO: "TO"
4495
+ }
4496
+ };
4497
+ },
4498
+ computed: {
4499
+ htmlFontSize: function htmlFontSize() {
4500
+ var fontSize = "42px";
4501
+ if (this.size == "medium") {
4502
+ fontSize = "28px";
4503
+ } else {
4504
+ fontSize = "42px";
4505
+ }
4506
+ return fontSize;
4507
+ },
4508
+ collapsed: function collapsed() {
4509
+ // 如果用户手动展开,则不折叠
4510
+ if (this.manuallyExpanded) {
4511
+ return false;
4512
+ }
4513
+ // 否则根据content是否有内容自动折叠
4514
+ return !!this.content;
4515
+ }
4516
+ }
4517
+ };
4518
+
4519
+ var Messagevue_type_script_lang_js_injectCSSVars_ = function __injectCSSVars__() {
4520
+ (0,external_commonjs_vue_commonjs2_vue_root_Vue_.useCssVars)(function (_vm, _setup) {
4521
+ return {
4522
+ "c8d663a4": _vm.htmlFontSize
4523
+ };
4524
+ });
4525
+ };
4526
+ var Messagevue_type_script_lang_js_setup_ = Messagevue_type_script_lang_js_default_.setup;
4527
+ Messagevue_type_script_lang_js_default_.setup = Messagevue_type_script_lang_js_setup_ ? function (props, ctx) {
4528
+ Messagevue_type_script_lang_js_injectCSSVars_();
4529
+ return Messagevue_type_script_lang_js_setup_(props, ctx);
4530
+ } : Messagevue_type_script_lang_js_injectCSSVars_;
4531
+ /* harmony default export */ var Messagevue_type_script_lang_js = (Messagevue_type_script_lang_js_default_);
4532
+ ;// ./package/SpeechRecognition/cpts/Message.vue?vue&type=script&lang=js
4533
+ /* harmony default export */ var cpts_Messagevue_type_script_lang_js = (Messagevue_type_script_lang_js);
4534
+ // EXTERNAL MODULE: ./node_modules/vue-style-loader/index.js??clonedRuleSet-22.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-22.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-22.use[2]!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-22.use[3]!./node_modules/sass-loader/dist/cjs.js??clonedRuleSet-22.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=443ba780&prod&lang=scss&scoped=true
4535
+ var Messagevue_type_style_index_0_id_443ba780_prod_lang_scss_scoped_true = __webpack_require__(972);
4536
+ ;// ./package/SpeechRecognition/cpts/Message.vue?vue&type=style&index=0&id=443ba780&prod&lang=scss&scoped=true
4537
+
4538
+ ;// ./package/SpeechRecognition/cpts/Message.vue
4539
+
4540
+
4541
+
4542
+ ;
4543
+
4544
+
4545
+ /* normalize component */
4546
+
4547
+ var Message_component = normalizeComponent(
4359
4548
  cpts_Messagevue_type_script_lang_js,
4360
- Messagevue_type_template_id_5dd118a1_scoped_true_render,
4361
- Messagevue_type_template_id_5dd118a1_scoped_true_staticRenderFns,
4549
+ Messagevue_type_template_id_443ba780_scoped_true_render,
4550
+ Messagevue_type_template_id_443ba780_scoped_true_staticRenderFns,
4362
4551
  false,
4363
4552
  null,
4364
- "5dd118a1",
4553
+ "443ba780",
4365
4554
  null
4366
4555
 
4367
4556
  )
4368
4557
 
4369
- /* harmony default export */ var Message = (component.exports);
4558
+ /* harmony default export */ var Message = (Message_component.exports);
4370
4559
  ;// ./node_modules/axios/lib/helpers/bind.js
4371
4560
 
4372
4561
 
@@ -19259,6 +19448,9 @@ function SpeechRecognitionvue_type_script_lang_js_typeof(o) { "@babel/helpers -
19259
19448
  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; }
19260
19449
  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); }
19261
19450
  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); }); }; }
19451
+ function SpeechRecognitionvue_type_script_lang_js_createForOfIteratorHelper(r, e) { var t = "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (!t) { if (Array.isArray(r) || (t = SpeechRecognitionvue_type_script_lang_js_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; } } }; }
19452
+ function SpeechRecognitionvue_type_script_lang_js_unsupportedIterableToArray(r, a) { if (r) { if ("string" == typeof r) return SpeechRecognitionvue_type_script_lang_js_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) ? SpeechRecognitionvue_type_script_lang_js_arrayLikeToArray(r, a) : void 0; } }
19453
+ function SpeechRecognitionvue_type_script_lang_js_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; }
19262
19454
  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; }
19263
19455
  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; }
19264
19456
  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; }
@@ -19274,6 +19466,7 @@ function SpeechRecognitionvue_type_script_lang_js_toPrimitive(t, r) { if ("objec
19274
19466
 
19275
19467
 
19276
19468
 
19469
+
19277
19470
  var SpeechRecognitionvue_type_script_lang_js_default_ = {
19278
19471
  name: "yx-speech-recognition",
19279
19472
  directives: {
@@ -19281,7 +19474,8 @@ var SpeechRecognitionvue_type_script_lang_js_default_ = {
19281
19474
  DragBubble: DragBubble
19282
19475
  },
19283
19476
  components: {
19284
- Message: Message
19477
+ Message: Message,
19478
+ StreamInput: StreamInput
19285
19479
  },
19286
19480
  props: {
19287
19481
  // 小宝语音框位置
@@ -19400,7 +19594,8 @@ var SpeechRecognitionvue_type_script_lang_js_default_ = {
19400
19594
  waitSentenceId: "",
19401
19595
  isWaitAnswer: false,
19402
19596
  showNextPage: false,
19403
- showPrevPage: false
19597
+ showPrevPage: false,
19598
+ streamItems: []
19404
19599
  };
19405
19600
  },
19406
19601
  computed: {
@@ -19552,6 +19747,99 @@ var SpeechRecognitionvue_type_script_lang_js_default_ = {
19552
19747
  // this.oneQuestionOneAnswer = false;
19553
19748
  this.wakeUpAide();
19554
19749
  },
19750
+ // 递归查找项目
19751
+ findItemById: function findItemById(items, id) {
19752
+ var _iterator = SpeechRecognitionvue_type_script_lang_js_createForOfIteratorHelper(items),
19753
+ _step;
19754
+ try {
19755
+ for (_iterator.s(); !(_step = _iterator.n()).done;) {
19756
+ var item = _step.value;
19757
+ if (item.id === id) {
19758
+ return item;
19759
+ }
19760
+ if (item.children && item.children.length > 0) {
19761
+ var found = this.findItemById(item.children, id);
19762
+ if (found) {
19763
+ return found;
19764
+ }
19765
+ }
19766
+ }
19767
+ } catch (err) {
19768
+ _iterator.e(err);
19769
+ } finally {
19770
+ _iterator.f();
19771
+ }
19772
+ return null;
19773
+ },
19774
+ // 映射状态值
19775
+ mapStatus: function mapStatus(status) {
19776
+ switch (status) {
19777
+ case 'generating':
19778
+ return 'loading';
19779
+ case 'completed':
19780
+ return 'success';
19781
+ default:
19782
+ return status;
19783
+ }
19784
+ },
19785
+ processReceivedData: function processReceivedData(data) {
19786
+ // 处理新格式的数据
19787
+ if (data.reply) {
19788
+ var _data$reply;
19789
+ // 处理reply中的内容
19790
+ var reply = data.reply;
19791
+ var mappedStatus = this.mapStatus(reply.status);
19792
+
19793
+ // 构建项目对象
19794
+ var item = {
19795
+ id: reply.id,
19796
+ title: reply.text,
19797
+ status: mappedStatus
19798
+ };
19799
+
19800
+ // 检查是否已经存在相同id的项目
19801
+ var existingItem = this.findItemById(this.streamItems, reply.id);
19802
+ if (existingItem) {
19803
+ // 更新现有项目的状态
19804
+ existingItem.status = mappedStatus;
19805
+ } else {
19806
+ // 添加新项目
19807
+ if (reply.level === 1 || reply.parent_id === null) {
19808
+ // 顶级项目
19809
+ this.streamItems.push(item);
19810
+ } else {
19811
+ // 子项目,找到父项目
19812
+ var parentItem = this.findItemById(this.streamItems, reply.parent_id);
19813
+ if (parentItem) {
19814
+ // 确保父项目有children数组
19815
+ if (!parentItem.children) {
19816
+ parentItem.children = [];
19817
+ }
19818
+
19819
+ // 检查子项目是否已存在
19820
+ var existingChild = parentItem.children.find(function (child) {
19821
+ return child.id === reply.id;
19822
+ });
19823
+ if (existingChild) {
19824
+ existingChild.status = mappedStatus;
19825
+ } else {
19826
+ parentItem.children.push(item);
19827
+ }
19828
+ } else {
19829
+ // 父项目不存在,先创建父项目
19830
+ // const newParentItem = {
19831
+ // id: reply.parent_id,
19832
+ // title: '父项目',
19833
+ // status: 'completed',
19834
+ // children: [item]
19835
+ // };
19836
+ // this.streamItems.push(newParentItem);
19837
+ }
19838
+ }
19839
+ }
19840
+ console.log(JSON.parse(JSON.stringify(this.streamItems)), "replay", data, data === null || data === void 0 ? void 0 : data.reply, data === null || data === void 0 || (_data$reply = data.reply) === null || _data$reply === void 0 ? void 0 : _data$reply.text);
19841
+ }
19842
+ },
19555
19843
  pushMessage: function pushMessage(opt) {
19556
19844
  var messages = opt.messages,
19557
19845
  res = opt.res;
@@ -19559,6 +19847,7 @@ var SpeechRecognitionvue_type_script_lang_js_default_ = {
19559
19847
  content = messages.content,
19560
19848
  backList = messages.back_list,
19561
19849
  recommandList = messages.recommand_list,
19850
+ reply = messages.reply,
19562
19851
  _messages$showNextPag = messages.showNextPage,
19563
19852
  showNextPage = _messages$showNextPag === void 0 ? false : _messages$showNextPag,
19564
19853
  _messages$showPrevPag = messages.showPrevPage,
@@ -19570,19 +19859,29 @@ var SpeechRecognitionvue_type_script_lang_js_default_ = {
19570
19859
  });
19571
19860
  var back_list = backList;
19572
19861
  var recommand_list = recommandList;
19862
+ if (reply) {
19863
+ this.processReceivedData(messages);
19864
+ }
19573
19865
  if (type === "FROM") {
19574
19866
  if (contentStatus == '1') {
19575
19867
  back_list = this.tempBubbleBoxBackList || [];
19576
19868
  recommand_list = this.tempBubbleBoxRecommandList || [];
19577
19869
  }
19578
19870
  }
19579
- if (_messages && type == "TO") _messages.content = content;else {
19871
+ if (type === "TO") {
19872
+ this.streamItems = [];
19873
+ }
19874
+ if (_messages) {
19875
+ content && (_messages.content = content);
19876
+ _messages.streamItems = this.streamItems || [];
19877
+ } else {
19580
19878
  var _text = messages.content ? g.parse(messages.content) : messages.content;
19581
19879
  this.messagesList.push(SpeechRecognitionvue_type_script_lang_js_objectSpread(SpeechRecognitionvue_type_script_lang_js_objectSpread({}, messages), {}, {
19582
19880
  content: _text,
19583
19881
  sentenceId: res.sentenceId,
19584
19882
  backList: back_list,
19585
19883
  recommandList: recommand_list,
19884
+ streamItems: this.streamItems || [],
19586
19885
  showNextPage: showNextPage,
19587
19886
  showPrevPage: showPrevPage
19588
19887
  }));
@@ -19637,7 +19936,7 @@ var SpeechRecognitionvue_type_script_lang_js_default_ = {
19637
19936
  _this2.bubbleBoxTitle = g.parse(content);
19638
19937
  }
19639
19938
  if (!(type === "TO" && res.result.slice_type === 2)) {
19640
- _context.next = 64;
19939
+ _context.next = 65;
19641
19940
  break;
19642
19941
  }
19643
19942
  _this2.getSystem();
@@ -19677,34 +19976,35 @@ var SpeechRecognitionvue_type_script_lang_js_default_ = {
19677
19976
  _context.t0 = _context["catch"](17);
19678
19977
  console.log("获取当前状态异常", _context.t0);
19679
19978
  case 28:
19680
- _context.prev = 28;
19681
- _context.next = 31;
19979
+ _this2.streamItems = [];
19980
+ _context.prev = 29;
19981
+ _context.next = 32;
19682
19982
  return Tx.speech2speech2(formData);
19683
- case 31:
19983
+ case 32:
19684
19984
  _res = _context.sent;
19685
19985
  code = _res.code, msg = _res.msg, status = _res.status, obj = _res.obj;
19686
19986
  if (!(code == 200 || code == 300 && status == '3' && obj !== null && obj !== void 0 && obj.standard_back)) {
19687
- _context.next = 51;
19987
+ _context.next = 52;
19688
19988
  break;
19689
19989
  }
19690
19990
  _content = "";
19691
19991
  standard_back = obj.standard_back, show_text = obj.show_text, command_type = obj.command_type, _back_list = obj.back_list, _recommand_list = obj.recommand_list, has_next_page = obj.has_next_page, has_prev_page = obj.has_prev_page;
19692
19992
  if (!(Object.keys(obj).length > 0)) {
19693
- _context.next = 42;
19993
+ _context.next = 43;
19694
19994
  break;
19695
19995
  }
19696
19996
  _content = standard_back || "抱歉,我还在学习中";
19697
19997
  if (!(command_type === "地理实体页面定位" && _content != "抱歉,我还在学习中")) {
19698
- _context.next = 40;
19998
+ _context.next = 41;
19699
19999
  break;
19700
20000
  }
19701
20001
  return _context.abrupt("return");
19702
- case 40:
19703
- _context.next = 43;
20002
+ case 41:
20003
+ _context.next = 44;
19704
20004
  break;
19705
- case 42:
19706
- _content = "抱歉,我还在学习中";
19707
20005
  case 43:
20006
+ _content = "抱歉,我还在学习中";
20007
+ case 44:
19708
20008
  _this2.voiecContent = obj;
19709
20009
  if (status == '3' || isReading) {
19710
20010
  _opt = {
@@ -19735,26 +20035,28 @@ var SpeechRecognitionvue_type_script_lang_js_default_ = {
19735
20035
  showPrevPage: _showPrevPage
19736
20036
  }
19737
20037
  };
19738
- _this2.handlePlayTTS({
19739
- content: _content,
19740
- onStart: function onStart() {
19741
- _this2.pushMessage(_opts);
19742
- },
19743
- onEnded: function onEnded() {
19744
- if (status == '2') {
19745
- _this2.autoQuitAssistant();
20038
+ if (standard_back || show_text) {
20039
+ _this2.handlePlayTTS({
20040
+ content: _content,
20041
+ onStart: function onStart() {
20042
+ _this2.pushMessage(_opts);
20043
+ },
20044
+ onEnded: function onEnded() {
20045
+ if (status == '2') {
20046
+ _this2.autoQuitAssistant();
20047
+ }
19746
20048
  }
19747
- }
19748
- });
20049
+ });
20050
+ }
19749
20051
  // this.openAide()
19750
20052
  // this.updateSession({
19751
20053
  // res: {},
19752
20054
  // messages: { type: "FROM", content: _content },
19753
20055
  // sentenceId: Math.floor(Math.random() * 1000000).toString()
19754
20056
  // });
19755
- _context.next = 52;
20057
+ _context.next = 53;
19756
20058
  break;
19757
- case 51:
20059
+ case 52:
19758
20060
  if (code === 504) {
19759
20061
  _this2.timeOutContent();
19760
20062
  } else if (code === 300) {
@@ -19776,12 +20078,12 @@ var SpeechRecognitionvue_type_script_lang_js_default_ = {
19776
20078
  // this.pauseAudio();
19777
20079
  }
19778
20080
  }
19779
- case 52:
19780
- _context.next = 60;
20081
+ case 53:
20082
+ _context.next = 61;
19781
20083
  break;
19782
- case 54:
19783
- _context.prev = 54;
19784
- _context.t1 = _context["catch"](28);
20084
+ case 55:
20085
+ _context.prev = 55;
20086
+ _context.t1 = _context["catch"](29);
19785
20087
  console.log("speech2speech2 ->", _context.t1);
19786
20088
  console.log(_context.t1.message);
19787
20089
  console.log(_context.t1 === null || _context.t1 === void 0 || (_error$message = _context.t1.message) === null || _error$message === void 0 ? void 0 : _error$message.includes("timeout"));
@@ -19791,25 +20093,25 @@ var SpeechRecognitionvue_type_script_lang_js_default_ = {
19791
20093
  } else {
19792
20094
  _this2.oneQuestionOneAnswer = true;
19793
20095
  }
19794
- case 60:
19795
- _context.prev = 60;
19796
- return _context.finish(60);
19797
- case 62:
19798
- _context.next = 65;
20096
+ case 61:
20097
+ _context.prev = 61;
20098
+ return _context.finish(61);
20099
+ case 63:
20100
+ _context.next = 66;
19799
20101
  break;
19800
- case 64:
20102
+ case 65:
19801
20103
  if (type === "FROM") {
19802
20104
  _this2.handlePlayTTS({
19803
20105
  content: content
19804
20106
  });
19805
20107
  }
19806
- case 65:
19807
- _this2.wakeUpTime = new Date().getTime();
19808
20108
  case 66:
20109
+ _this2.wakeUpTime = new Date().getTime();
20110
+ case 67:
19809
20111
  case "end":
19810
20112
  return _context.stop();
19811
20113
  }
19812
- }, _callee, null, [[17, 25], [28, 54, 60, 62]]);
20114
+ }, _callee, null, [[17, 25], [29, 55, 61, 63]]);
19813
20115
  }))();
19814
20116
  },
19815
20117
  timeOutContent: function timeOutContent() {
@@ -20031,7 +20333,7 @@ var SpeechRecognitionvue_type_script_lang_js_default_ = {
20031
20333
  convert_num_mode: 1,
20032
20334
  result_text_format: 0,
20033
20335
  word_info: 2,
20034
- vad_silence_time: 500
20336
+ vad_silence_time: 1000
20035
20337
  };
20036
20338
  var webAudioSpeechRecognizer = new WebAudioSpeechRecognizer(params);
20037
20339
 
@@ -20175,6 +20477,7 @@ var SpeechRecognitionvue_type_script_lang_js_default_ = {
20175
20477
  status = data.status;
20176
20478
  var par = obj.par,
20177
20479
  standard_back = obj.standard_back,
20480
+ answer_id = obj.answer_id,
20178
20481
  show_text = obj.show_text,
20179
20482
  require_ack = obj.require_ack,
20180
20483
  request_id = obj.request_id,
@@ -20182,7 +20485,8 @@ var SpeechRecognitionvue_type_script_lang_js_default_ = {
20182
20485
  recommand_list = obj.recommand_list,
20183
20486
  has_next_page = obj.has_next_page,
20184
20487
  has_prev_page = obj.has_prev_page,
20185
- sentence_id = obj.sentence_id;
20488
+ sentence_id = obj.sentence_id,
20489
+ reply = obj.reply;
20186
20490
  var commandName = par === null || par === void 0 ? void 0 : par.command_name;
20187
20491
  console.log(standard_back, data);
20188
20492
  // console.log(this.isWaitAnswer, sentence_id, this.waitAnswerTimer, this.waitSentenceId, sentence_id == this.waitSentenceId)
@@ -20201,29 +20505,39 @@ var SpeechRecognitionvue_type_script_lang_js_default_ = {
20201
20505
  if (!this.selfCode.includes(commandName)) {
20202
20506
  //发送指令
20203
20507
  this.voiecContent = data.obj;
20508
+ // if (standard_back) {
20509
+ var showNextPage = has_next_page ? true : false;
20510
+ var showPrevPage = has_prev_page ? true : false;
20511
+ var _opts = {
20512
+ res: {
20513
+ sentenceId: answer_id || guid()
20514
+ },
20515
+ messages: {
20516
+ type: "FROM",
20517
+ content: show_text || standard_back,
20518
+ standard_back: standard_back,
20519
+ contentStatus: status,
20520
+ back_list: back_list || [],
20521
+ recommand_list: recommand_list || [],
20522
+ showNextPage: showNextPage,
20523
+ showPrevPage: showPrevPage,
20524
+ reply: reply
20525
+ }
20526
+ };
20527
+ var isFlag = false;
20528
+ if (reply) isFlag = true;
20204
20529
  if (standard_back) {
20205
- var showNextPage = has_next_page ? true : false;
20206
- var showPrevPage = has_prev_page ? true : false;
20207
- var _opts = {
20208
- res: {
20209
- sentenceId: guid()
20210
- },
20211
- messages: {
20212
- type: "FROM",
20213
- content: show_text,
20214
- standard_back: standard_back,
20215
- contentStatus: status,
20216
- back_list: back_list || [],
20217
- recommand_list: recommand_list || [],
20218
- showNextPage: showNextPage,
20219
- showPrevPage: showPrevPage
20220
- }
20221
- };
20530
+ if (isFlag) {
20531
+ this.openAide();
20532
+ this.pushMessage(_opts);
20533
+ }
20222
20534
  this.handlePlayTTS({
20223
20535
  content: standard_back,
20224
20536
  onStart: function onStart() {
20225
- _this1.openAide();
20226
- _this1.pushMessage(_opts);
20537
+ if (!isFlag) {
20538
+ _this1.openAide();
20539
+ _this1.pushMessage(_opts);
20540
+ }
20227
20541
  },
20228
20542
  onEnded: function onEnded() {
20229
20543
  if (status == '2') {
@@ -20231,16 +20545,20 @@ var SpeechRecognitionvue_type_script_lang_js_default_ = {
20231
20545
  }
20232
20546
  }
20233
20547
  });
20234
- // this.openAide()
20235
- // this.updateSession({
20236
- // res: {},
20237
- // messages: { type: "FROM", content: standard_back, back_list: back_list || [], recommand_list: recommand_list || [] },
20238
- // sentenceId: Math.floor(Math.random() * 1000000).toString()
20239
- // });
20240
20548
  } else {
20241
- this.oneQuestionOneAnswer = true;
20242
- // if (!require_ack) this.oneQuestionOneAnswer = true;
20549
+ this.openAide();
20550
+ this.pushMessage(_opts);
20243
20551
  }
20552
+ // this.openAide()
20553
+ // this.updateSession({
20554
+ // res: {},
20555
+ // messages: { type: "FROM", content: standard_back, back_list: back_list || [], recommand_list: recommand_list || [] },
20556
+ // sentenceId: Math.floor(Math.random() * 1000000).toString()
20557
+ // });
20558
+ // } else {
20559
+ // this.oneQuestionOneAnswer = true;
20560
+ // // if (!require_ack) this.oneQuestionOneAnswer = true;
20561
+ // }
20244
20562
  } else {}
20245
20563
  } else if (type === "environment") {
20246
20564
  this.getEnvironment();
@@ -20448,7 +20766,7 @@ var SpeechRecognitionvue_type_script_lang_js_default_ = {
20448
20766
  var SpeechRecognitionvue_type_script_lang_js_injectCSSVars_ = function __injectCSSVars__() {
20449
20767
  (0,external_commonjs_vue_commonjs2_vue_root_Vue_.useCssVars)(function (_vm, _setup) {
20450
20768
  return {
20451
- "694bf856": _vm.htmlFontSize
20769
+ "009209e7": _vm.htmlFontSize
20452
20770
  };
20453
20771
  });
20454
20772
  };
@@ -20460,13 +20778,13 @@ SpeechRecognitionvue_type_script_lang_js_default_.setup = SpeechRecognitionvue_t
20460
20778
  /* harmony default export */ var SpeechRecognitionvue_type_script_lang_js = (SpeechRecognitionvue_type_script_lang_js_default_);
20461
20779
  ;// ./package/SpeechRecognition/index.vue?vue&type=script&lang=js
20462
20780
  /* harmony default export */ var package_SpeechRecognitionvue_type_script_lang_js = (SpeechRecognitionvue_type_script_lang_js);
20463
- // EXTERNAL MODULE: ./node_modules/vue-style-loader/index.js??clonedRuleSet-22.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-22.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-22.use[2]!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-22.use[3]!./node_modules/sass-loader/dist/cjs.js??clonedRuleSet-22.use[4]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./package/SpeechRecognition/index.vue?vue&type=style&index=0&id=2bff2ebd&prod&lang=scss&scoped=true
20464
- var SpeechRecognitionvue_type_style_index_0_id_2bff2ebd_prod_lang_scss_scoped_true = __webpack_require__(836);
20465
- ;// ./package/SpeechRecognition/index.vue?vue&type=style&index=0&id=2bff2ebd&prod&lang=scss&scoped=true
20781
+ // EXTERNAL MODULE: ./node_modules/vue-style-loader/index.js??clonedRuleSet-22.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-22.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-22.use[2]!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-22.use[3]!./node_modules/sass-loader/dist/cjs.js??clonedRuleSet-22.use[4]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./package/SpeechRecognition/index.vue?vue&type=style&index=0&id=0ba8811e&prod&lang=scss&scoped=true
20782
+ var SpeechRecognitionvue_type_style_index_0_id_0ba8811e_prod_lang_scss_scoped_true = __webpack_require__(385);
20783
+ ;// ./package/SpeechRecognition/index.vue?vue&type=style&index=0&id=0ba8811e&prod&lang=scss&scoped=true
20466
20784
 
20467
- // EXTERNAL MODULE: ./node_modules/vue-style-loader/index.js??clonedRuleSet-22.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-22.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-22.use[2]!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-22.use[3]!./node_modules/sass-loader/dist/cjs.js??clonedRuleSet-22.use[4]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./package/SpeechRecognition/index.vue?vue&type=style&index=1&id=2bff2ebd&prod&lang=scss
20468
- var SpeechRecognitionvue_type_style_index_1_id_2bff2ebd_prod_lang_scss = __webpack_require__(144);
20469
- ;// ./package/SpeechRecognition/index.vue?vue&type=style&index=1&id=2bff2ebd&prod&lang=scss
20785
+ // EXTERNAL MODULE: ./node_modules/vue-style-loader/index.js??clonedRuleSet-22.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-22.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-22.use[2]!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-22.use[3]!./node_modules/sass-loader/dist/cjs.js??clonedRuleSet-22.use[4]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./package/SpeechRecognition/index.vue?vue&type=style&index=1&id=0ba8811e&prod&lang=scss
20786
+ var SpeechRecognitionvue_type_style_index_1_id_0ba8811e_prod_lang_scss = __webpack_require__(969);
20787
+ ;// ./package/SpeechRecognition/index.vue?vue&type=style&index=1&id=0ba8811e&prod&lang=scss
20470
20788
 
20471
20789
  ;// ./package/SpeechRecognition/index.vue
20472
20790
 
@@ -20484,7 +20802,7 @@ var SpeechRecognition_component = normalizeComponent(
20484
20802
  staticRenderFns,
20485
20803
  false,
20486
20804
  null,
20487
- "2bff2ebd",
20805
+ "0ba8811e",
20488
20806
  null
20489
20807
 
20490
20808
  )