yxspeechrecognition 2.1.2 → 2.1.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -35,35 +35,77 @@ module.exports = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADMAAABECAYAAAAs
35
35
 
36
36
  /***/ }),
37
37
 
38
- /***/ 107:
38
+ /***/ 73:
39
39
  /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
40
40
 
41
41
  // style-loader: Adds some css to the DOM by adding a <style> tag
42
42
 
43
43
  // load the styles
44
- var content = __webpack_require__(871);
44
+ var content = __webpack_require__(229);
45
45
  if(content.__esModule) content = content.default;
46
46
  if(typeof content === 'string') content = [[module.id, content, '']];
47
47
  if(content.locals) module.exports = content.locals;
48
48
  // add the styles to the DOM
49
49
  var add = (__webpack_require__(258)/* ["default"] */ .A)
50
- var update = add("1d20db1b", content, true, {"sourceMap":false,"shadowMode":false});
50
+ var update = add("b75df392", content, true, {"sourceMap":false,"shadowMode":false});
51
51
 
52
52
  /***/ }),
53
53
 
54
- /***/ 108:
54
+ /***/ 107:
55
55
  /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
56
56
 
57
57
  // style-loader: Adds some css to the DOM by adding a <style> tag
58
58
 
59
59
  // load the styles
60
- var content = __webpack_require__(656);
60
+ var content = __webpack_require__(871);
61
61
  if(content.__esModule) content = content.default;
62
62
  if(typeof content === 'string') content = [[module.id, content, '']];
63
63
  if(content.locals) module.exports = content.locals;
64
64
  // add the styles to the DOM
65
65
  var add = (__webpack_require__(258)/* ["default"] */ .A)
66
- var update = add("6699dfdd", content, true, {"sourceMap":false,"shadowMode":false});
66
+ var update = add("1d20db1b", content, true, {"sourceMap":false,"shadowMode":false});
67
+
68
+ /***/ }),
69
+
70
+ /***/ 174:
71
+ /***/ (function(module, __webpack_exports__, __webpack_require__) {
72
+
73
+ "use strict";
74
+ __webpack_require__.r(__webpack_exports__);
75
+ /* harmony import */ var _node_modules_css_loader_dist_runtime_noSourceMaps_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(601);
76
+ /* 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__);
77
+ /* harmony import */ var _node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(314);
78
+ /* 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__);
79
+ // Imports
80
+
81
+
82
+ 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()));
83
+ // Module
84
+ ___CSS_LOADER_EXPORT___.push([module.id, "p{padding:0;margin:0;line-height:normal}h1,h2,h3,h4,h5,h6{margin:calc(var(--3be88dc6)*.5) 0}.html-content ul,ol{margin-left:calc(var(--3be88dc6)*1.2)}.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(--3be88dc6)*.2)!important}.html-content table,td,th{border:calc(var(--3be88dc6)*.083) solid #fff;border-collapse:collapse}", ""]);
85
+ // Exports
86
+ /* harmony default export */ __webpack_exports__["default"] = (___CSS_LOADER_EXPORT___);
87
+
88
+
89
+ /***/ }),
90
+
91
+ /***/ 229:
92
+ /***/ (function(module, __webpack_exports__, __webpack_require__) {
93
+
94
+ "use strict";
95
+ __webpack_require__.r(__webpack_exports__);
96
+ /* harmony import */ var _node_modules_css_loader_dist_runtime_noSourceMaps_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(601);
97
+ /* 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__);
98
+ /* harmony import */ var _node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(314);
99
+ /* 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__);
100
+ // Imports
101
+
102
+
103
+ 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()));
104
+ // Module
105
+ ___CSS_LOADER_EXPORT___.push([module.id, ".box[data-v-03712d72] ::-webkit-scrollbar{width:0;height:0;display:none;background:transparent}.box[data-v-03712d72]{display:grid;grid-template-rows:max-content 1fr;position:absolute;pointer-events:all;background:rgba(2,11,72,.6);border-radius:calc(var(--2e19521b)*.57);z-index:20}.box .title[data-v-03712d72]{justify-content:space-between;width:100%;height:calc(var(--2e19521b)*2.29);padding:0 calc(var(--2e19521b)*.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(--2e19521b)*.57) calc(var(--2e19521b)*.57) 0 0}.box .title[data-v-03712d72],.box .title-icon[data-v-03712d72]{display:flex;align-items:center}.box .title-icon[data-v-03712d72]{gap:calc(var(--2e19521b)*.38)}.box .title-icon img[data-v-03712d72]{width:calc(var(--2e19521b)*1);height:calc(var(--2e19521b)*1)}.box .title-icon span[data-v-03712d72]{font-size:calc(var(--2e19521b)*1.14);font-weight:800;color:#fff}.box .title .close[data-v-03712d72]{cursor:pointer}.box .title .close img[data-v-03712d72]{width:calc(var(--2e19521b)*1.1)}.box .content[data-v-03712d72]{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;background-size:45%}.box .content span[data-v-03712d72]{margin-top:calc(var(--2e19521b)*6.5);font-size:calc(var(--2e19521b)*1)}.box .message-list[data-v-03712d72]{overflow:hidden;padding:calc(var(--2e19521b)*.58);box-sizing:border-box;padding-right:calc(var(--2e19521b)*.29)}.box .message-list-inner[data-v-03712d72]{height:100%;display:flex;flex-direction:column;gap:calc(var(--2e19521b)*.53);overflow-y:overlay}.displayAssistant[data-v-03712d72]{position:absolute;pointer-events:all;cursor:pointer;z-index:20}.displayAssistant .icon1[data-v-03712d72]{width:calc(var(--2e19521b)*3.76);height:calc(var(--2e19521b)*3.88)}.displayAssistant .icon1 img[data-v-03712d72]{width:100%;height:100%}.displayAssistant .bubbleBox[data-v-03712d72]{position:absolute;top:0;left:calc(var(--2e19521b)*3.76);width:-moz-max-content;width:max-content;min-width:-moz-min-content;min-width:min-content}.displayAssistant .bubbleBox .loading-box[data-v-03712d72]{font-size:calc(var(--2e19521b)*.8);display:flex;align-items:center}.displayAssistant .bubbleBox .loging-icon[data-v-03712d72]{width:calc(var(--2e19521b)*1.26);height:calc(var(--2e19521b)*1.28);margin-right:calc(var(--2e19521b)*.4)}.displayAssistant .bubbleBox .loging-icon img[data-v-03712d72]{width:100%;height:100%}.displayAssistant .bubbleBox .box-container[data-v-03712d72]{border-top:calc(var(--2e19521b)*.1) solid rgba(117,178,255,.61);margin-top:calc(var(--2e19521b)*.2)}.displayAssistant .bubbleBox .box-container .mr-l-20[data-v-03712d72]{margin-left:calc(var(--2e19521b)*.416)}.displayAssistant .bubbleBox .item-box[data-v-03712d72]{display:flex;overflow:hidden;margin:calc(var(--2e19521b)*.208) 0}.displayAssistant .bubbleBox .item-box:nth-child(2) .item-box-number[data-v-03712d72]{background-color:#ff4e4e}.displayAssistant .bubbleBox .item-box:nth-child(3) .item-box-number[data-v-03712d72]{background-color:#ff6e1d}.displayAssistant .bubbleBox .item-box:nth-child(4) .item-box-number[data-v-03712d72]{background-color:#4fc94d}.displayAssistant .bubbleBox .item-box .item-box-index[data-v-03712d72]{flex-shrink:0;width:calc(var(--2e19521b)*1.2);font-size:calc(var(--2e19521b)*.9);height:calc(var(--2e19521b)*1.2);background-color:rgba(117,178,255,.61);border-radius:50%;display:flex;align-items:center;justify-content:center;margin-top:calc(var(--2e19521b)*.1);margin-right:calc(var(--2e19521b)*.1)}.displayAssistant .bubbleBox .item-box .item-box-content[data-v-03712d72]{overflow:hidden}.displayAssistant .bubbleBox .item-box .item-box-label[data-v-03712d72]{display:inline-block;width:auto;font-size:calc(var(--2e19521b)*.9);border-radius:calc(var(--2e19521b)*.104);padding:0 calc(var(--2e19521b)*.167)}.displayAssistant .bubbleBox .item-box .item-box-descriptions[data-v-03712d72]{font-size:calc(var(--2e19521b)*.9);color:hsla(0,0%,100%,.74);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.displayAssistant .bubbleBox span[data-v-03712d72]{display:block;max-width:calc(var(--2e19521b)*19.21);font-size:calc(var(--2e19521b)*1);color:#fff;word-break:break-all}.displayAssistant .bubbleBox-suggest[data-v-03712d72],.displayAssistant .bubbleBox-title[data-v-03712d72]{border-radius:calc(var(--2e19521b)*.27);padding:calc(var(--2e19521b)*.38);box-sizing:border-box}.displayAssistant .bubbleBox-suggest[data-v-03712d72]{background-color:rgba(13,23,135,.85);box-shadow:0 calc(var(--2e19521b)*.083) calc(var(--2e19521b)*.314) rgba(106,17,203,.3)}.displayAssistant .bubbleBox-title-hi[data-v-03712d72]{max-width:calc(var(--2e19521b)*9.21)}.displayAssistant .bubbleBox-title[data-v-03712d72]{margin-bottom:calc(var(--2e19521b)*.3125);background-color:rgba(70,61,255,.85);box-shadow:inset 0 0 calc(var(--2e19521b)*.57) 0 #d4d9ff;max-height:calc(var(--2e19521b)*41.6);overflow:auto;scrollbar-width:none;-ms-overflow-style:none}.displayAssistant .bubbleBox-title[data-v-03712d72]::-webkit-scrollbar{display:none;width:0;height:0}.displayAssistant .bubbleBox-title[data-v-03712d72]:after,.displayAssistant .bubbleBox-title[data-v-03712d72]:before{content:\"\";display:block;position:absolute}.displayAssistant .bubbleBox-to[data-v-03712d72]{background-color:rgba(98,183,0,.85);box-shadow:inset 0 0 calc(var(--2e19521b)*.57) 0 #fff3b4}.displayAssistant .bubbleBox-to[data-v-03712d72]:before{border-right:calc(var(--2e19521b)*.5) solid transparent}.displayAssistant .bubbleBox-to[data-v-03712d72]:after{border-top:calc(var(--2e19521b)*.25) solid transparent;border-bottom:calc(var(--2e19521b)*.25) solid transparent;border-right:calc(var(--2e19521b)*.5) solid rgba(98,183,0,.85);transform:translateX(calc(var(--2e19521b)*-.46));left:0;top:calc(var(--2e19521b)*.48)}.inputContainer[data-v-03712d72]{display:flex;flex:1;justify-content:space-between;align-items:center;background-color:rgba(2,11,72,.3);border-radius:calc(var(--2e19521b)*.57)}.inputContainer .inputBox[data-v-03712d72]{margin:calc(var(--2e19521b)*.083);flex:1;width:100%;height:calc(var(--2e19521b)*1.8);border-color:transparent;background-color:transparent;border-radius:calc(var(--2e19521b)*.57);font-size:calc(var(--2e19521b)*1);color:#fff;padding:0 calc(var(--2e19521b)*.417);outline:none}.inputContainer .inputButton[data-v-03712d72]{margin-right:calc(var(--2e19521b)*.417);flex-shrink:0}.inputContainer .inputButton img[data-v-03712d72]{width:calc(var(--2e19521b)*1.5);height:calc(var(--2e19521b)*1.5)}.dropdown[data-v-03712d72]{display:flex;position:relative;width:calc(var(--2e19521b)*3.75);align-items:center;justify-content:center;font-size:calc(var(--2e19521b)*.8);color:#fff;padding:calc(var(--2e19521b)*.104) calc(var(--2e19521b)*.3125);margin:calc(var(--2e19521b)*.208) calc(var(--2e19521b)*.625) calc(var(--2e19521b)*.208);border-radius:calc(var(--2e19521b)*.18);background:rgba(51,136,255,.52)}.dropdown .dropdown-btn[data-v-03712d72]{cursor:pointer}.dropdown .dropdown-options[data-v-03712d72]{position:absolute;bottom:100%;left:0;right:0;border-radius:calc(var(--2e19521b)*.167);margin-bottom:calc(var(--2e19521b)*.208);width:100%;min-width:calc(var(--2e19521b)*3.33);background-color:rgba(13,23,135,.85);box-shadow:0 calc(var(--2e19521b)*.083) calc(var(--2e19521b)*.3125) rgba(106,17,203,.3);z-index:10;max-height:calc(var(--2e19521b)*8.33);overflow-y:auto}.dropdown .dropdown-item[data-v-03712d72]{padding:calc(var(--2e19521b)*.104) calc(var(--2e19521b)*.416);cursor:pointer;transition:background .2s}.dropdown .dropdown-item[data-v-03712d72]:hover{background-color:rgba(51,136,255,.3)}.dropdown .dropdown-item.selected[data-v-03712d72]{background-color:rgba(51,136,255,.51);color:hsla(0,0%,100%,.9)}", ""]);
106
+ // Exports
107
+ /* harmony default export */ __webpack_exports__["default"] = (___CSS_LOADER_EXPORT___);
108
+
67
109
 
68
110
  /***/ }),
69
111
 
@@ -447,7 +489,7 @@ module.exports = function (cssWithMappingToString) {
447
489
  /***/ (function(module) {
448
490
 
449
491
  "use strict";
450
- module.exports = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACsAAAArCAYAAADhXXHAAAAI9UlEQVR4AeyWe3BU1R3Hv+fefWSzm2QDBEKSDVCkWIMkgQhmUDoUWqeWgnaqOAqKkFDaf+xUR6lUm5laKjNa6nQ600pSWqnYTgYLKq2DD+qjI50i2SjlFR5ClpDNbjbJvpPdvae/382uZMNuQgD/cCY797fn3PP4/T7ne37n3qvgS/Qbh/2iNmtc2XFlSYFrToOSDYcmOepb1pbVO18qr3e+W17nPO6oc3ZQ2VJe17qvbH3Lb8rXty5FwwEDxbum66phS+tab3XUtb6laEpnWIZ29MY61nRFzyy5GD4++2LoyNTOaFuVZ+CzOwPS+0i/iLztcBV6aPw2XtzVEo8Ztmyjs9RR59wtEf+oJ+Za1tHbovq6WhFyn0B/52nE3eeQ6HIh1nkGUXcb/O6j6PI6cTH0P3tA8/1Ykepp2oEn0CDHHHtME8o2tC4UcRzyJzzf6/S1INR1ErLbDXR36SaoHDQPRLeH2ti4zw1eQJ/nCNyBo/kRLfJsmat176R1x/PGovIVwzrqW1dIqb3njZwp9nuOQfoI0ueB8Hkhesh6fUBfT5oJahM93RDc3+MBaAFxrwteH+1Eome5RYl+NJa0uCLY0vqWKgLd5Q0cN0e9ZwEG6CUIhvP3AgE/ECQLBYBwcNC4zhaktkAfLaIXgsfTAkAL7PUegT/uqVA1dff8DYeMV6LwqLClD/5noiKVvb7IZ9YBn4uC9kD4ewA/ATAMw0XCQDQCDESB/qTpdWqLUl+YjRYR7KO5Seg+H/zeY4gkAou7NPWF6wIrjKangnFveaSbFCVAQQERILUYMEIwDBXrB+IxIEbGJRvXPzfq50XweF4c7YIgX/D3wuc7igQSGx3rDteMBjyistPqWmdIIX/o953Ut1mwkqEQqUeQHDw+ACQSg6ZpAJuUQMr4XqP+eBxg40VFSXleaCgIQdDSTwqHXUIqytZrgtUgHw32u01akLYuHAQ4SD+BDpBSCVKRQRkoBTcsmsViwpLFc9GweTUO/ONXOHHo9wRN83g3OG3YXySEUM8ZJLSBb/DTZpiLtNsRlJWCRt4VDlCect6xc1YzxmqSUhkgrdYcLF1SjV88/RDee+s5+C7sxtv7nsVTm+7H4kVzEI3SXFY6QfN5waSyYGDK6XC/B0jIuylm1isrrKPeWRPToqXxoA9CByU1OReHqGnLzcG3ls3HLxvW4sN3fo1uVzP2v74FTz5+H26rrYDJlP6GPdzSBj1V2EcqLRiaRIiG6FEosDIrKXUoZBkvqYmF/QN+gJ3xQWFQDsDKkKqvNTeg+0Iz/rnnGWx6bBVqF34NRmM63HDHHzMsN9J8SMplhh4YgKAYAyEv9SRuvOGBg/lUyXhlhRWKLNFilJ86ZIy2iLaOg2h0gMhVi/MUDAaVapdfvX0hvL7vIJ0pAhrSfbjlFNIOH8Nq5JfznwSJUxm35pYMmZJWzQoLqZQkEmEgTgF1SDrtfJBAsFT+/JmdeOyn2yk23Sddck4+/8JurF63FV+ngzV0MYmEBuenp5MjqSAfgylBfpPQdMggNTl2WAGpSnYoyRnD6kz0x20Ui69tv30VD//gefT3x7Djpf2YXbkeu/d8gF1/2oT8vFwe8rkdP9mOcJjyPtVCrsC+UqbvmCQptMzbRfOyKyvQoSomGjLytXPXOyiefh/qfrQNpSUT8eZrWy4DZQ96CnAlq0moipH4lYvZhmSHlfKiouYAgoYIeorRBf5xncsh5g+E9ZP/yp+fzAjKQz9OHS4AfA/2x77Y+EZRCNZEyho69P4Mf0SSoZWaNMBpNttBHshUgJwh5VgvadCQq3bhTbjr3gZ0uum7YUh7qsoHMlXXS/bBxn5VBUZzARRhaHc1VfiQ5adkaYerr+0Dk9HmUy30yWmgR5KaBFZExil//9vTWH7nQty+7Cc4fTZ9JzXKx5ZPkoeLAVOm+yS/BiMs+XSuBPZmdJ5szAqL5nvpMSDfyLWXAwbKXdUIqATNSrBxwKSTaeWTUZBv1d9cK75Ti9uXPorWT88ke4ETbS6EQlEgNUcogEKQ7M9IeWo0Icc2FUITezDCTxmhD5rANpt9poTFBpjNADmGkgTmwGzkYE7FDPoH/tr8LzTueBPurh4sueNxvP/vI3q7/uZKjoWiQE8tUhMmEoD8WibOgNmY5zzfNPddfUKWP5qZpYeaL2yvdhoU08t5xRUES4fNyMCk8jDgNlJu7Ybn8MDDWxEM0YuE5vb5Q/j2ys14de+HOPD+J9RCFwPrihKkifyYciAtVuQX3QR6Qj4BCH6gIdtvRFiepErtZ3kTZvaaJk0DcunZmcPARlKHjFUigJOnO7DzlctF4ZfEPau3YMfO/RhUlHaFt55BzRaAQO2OBbRhtr3tf6yiQRwxu40Ke7Zp3jmhKasmOGoTSuEUPQAsBM0BeSs5OKtF0HpODi95QXyQDAYQFZBDO5RD861W5JbNgc0+45g5EnkwO+KlHuVSNXuNV62qxkeKZi6TBlbYagNIFXBQU1JpzmeGZ6iUpdo4fWjL9fE8Ly8ftmnzUFhc7ZYyvuLUy7fSF1P2+KmeK4Llwe2N1b8zquZVk2ctDVvK5gL5+QBD51qhQ/C2mnMABmNjODZu553IpQXa8iDsk2D/6hLYJ891JhLqLa6m+fR1wxFGN2X0IZdGnG+qblah3jbRscA5ac5KmKbeQNAFACkFax6QS0C8AN2s0NsIkPtFQSGsX7kFxTffrdkKHI1xJb6oY8fN7Ze8j15TRh+SPuJcU1XL+cbKeSZL4ZqiWd88O7nqHuTNXgxT6WyoRfRgtxcCBXaIwskwTJmGnOmVsFfcgeKqVbJgavUbimKuPN9YXd/xYg190qX7Hu1uzLCDDoV0NVb9pb2xcqbRbF2QX3TjlqJZyw4Wz/2+q7TmoXhJzRqUzLs/OKVixckJ0xfts+WXbzQYRSnN+W57U+Xgw3fQ0Zj+rxI2FUPI9u3V/6V83tzeWFVL5qAFmDRVWqmeRzbbtb1q+fmmqj+ce7Em/R2ccjGG8hphM0US8mq2OJOn4W1fAOzwENfvfhz2+mmZ7mlc2XQ9rt/d/wEAAP//Wy3H2QAAAAZJREFUAwBZ2+OEHj0WgQAAAABJRU5ErkJggg==";
492
+ module.exports = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACoAAAAqCAMAAADyHTlpAAAByFBMVEUAAACPyf+z2f+z2v+nzv/R6Pzb7/3j6vjM5f3s9Pyj0v232f/e7Pqm1P7H4v3A4P2y2P6f0P7D4f7F4/7F4/2s1f7J5P+Ryf/V6vzl8fuo1P693v2m0/7s9fu73f7C4f3g8Pzc7fym0//L5f2Uy//s9Pva7Pzj8PvL5f2p1f/o8vu22/7s9fzD4fzP5/3q8/uu1/7Y6/2Wy/+l0v+02f3I4/zr9PrJ5Pyn1P/M5/+z2P7r8/vI4/uVzP+czv/q9f2Syv2p1P/m8fyVyP+o1/+y4f+Wy//M5vydz/7e7fyv1/3e7vyTyf+QyP+q1f6Qyf/G4v242/242/6h0P6Zzf6p0/6u1v6l0v/B4P6y2f6bzv+Vyv7T6PzT6vyQyf+k0v/B4P3I5f2Syf+02f3m8vvm8vvB4P2czv2Px//M5P3P5/2z2/zI4fmQw//Q5/2s1v7M5fyw2P2/3/263f242/222v3T6PzY6/zV6vzB4P2i0f6f0P6dz/7o8/zc7fyZzf+bzv6z2f2k0v7K5Pze7vuUyv+Xy/7G4v3I4/zh7/um0/7D4fyo1P7j8PvZ7Pu93f3l8fuSyf6Syf+93v283v3a7PzD4f2p1f5WYUP6AAAAbnRSTlMA+UoFCC8kB+/tkko1Jfr47uvUsIVjNPz7+/r5+Pjt7Orq5ePY1c/PzLW1sK6smJiTjYyIgYCAXlJKQD8/PjYwMC8uJRYQ+/rz8/Ly7uzo5NzW1dDQzMm9vby7trW0rqadmpiTjYyDg4B8a1sqHqwtFkwAAAHmSURBVDjLjc6FV9tQGAXwy5KmAvVS3N3dYQybu7u7VOZsY1vHNhjMOjr4d3kv0nyhJM0v57y8e993XgIj58RwZ5O7qsrd1Dk84YS56R73EuHumcbuZtuXcrTPIpfzbtnfXZTdy/kNqeWXiRYJBkW1P0zVFhkmD321cITMSnUfLdVJUDmb/zO/c7BS7ZtFKPre5NUHmaP0bV6lDnBXX9twTb40Zgu/tjuWUB6Gd3KI8UibRDcguNTyQCQ61pqgXI8dIw3ZIGByWfUIwELDMjEG4KlPS5MYWlVJYG6t6lzgWrU4hPCKKgqma0XnE8Gc1GIYoXVVWACivs1NvlfWCICRdU0INYuaUOSmf9Hg4v0uPdTA/9wmPyo2Nv6oMhm+194Zhu+08wpUv7CpGqde2nQaHa9s6sBgigg82cMUFirrnRQ1iPEkk0olZZdAeeVOOx+HEEjqDgsgipNEQAB640QxiPP0pJd/Jpu2tuLH58mlcWoGTNtP4twCVKPltG8D561cI+pHwc171qjyGcgGvhjU3xjwXKg0dh4oxOC7PM6IUHneWwt6oXnwwdLBvci6/NlKkExOfbJydg5ZYuN3c/v7Rej6v5m7sg/EXEk6/Y9Jy/heS0dvs0Hq2YmCnUoKjjVefzglwGAbp2FhRMz/ntsAAAAASUVORK5CYII=";
451
493
 
452
494
  /***/ }),
453
495
 
@@ -511,48 +553,6 @@ module.exports = function (url, options) {
511
553
  "use strict";
512
554
  module.exports = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEAAAABACAYAAACqaXHeAAAJKElEQVR4AeybCaweVRXHp4oocYlIMArFaKIBl2hAjLIVqgFTBRTEiEKIoBbcqIK4oCBQQAlUpCoCyqKgCRBFwKhABC0UBcq+7wlQlhIgYV/z+P1e5jT3fd9s38x8vBL6cv7fOXc799xz79y5y7xXZa/wv5UOeIUPgGzlCFg5AqbBAxMTE6uCdcCGOdaGv3oaTBn/I0DD3gW+AS4AN4CHaegz4C5wWY574M+TtgxcDU4HO4G3ET9WGsscgOEbgH3BBVh/B/gN2AK8F6wOymhNEj4IdgCngPvQcQ74IVifcO/UqwMwciY4HCv/Bw4BNho2Sfby2UjHgQPB7mAbsC34OjgYnAjOBY+BoK0QfgYWo/sg8Cbk3qgXB2CUz/T3sMqGy1dFls7j5/tg/RkzZqwDtgW7gwPAceDv4GxwDNgP7AY+CWzkppTbDziKYNlq/Bi+mPq+jNwLdXYAxtiLNtyen5lbdSp8IxqyFTgcXEV4JKLMYnAw+DgFNwLqhGXv5+dE6j0DrIfciTo5AAN+Tu1ngQ2AtIif7TF6R/B/5F5IXWBHlG0PrAOWfTbLskXYsDO8NbV2ABVfRK0/AEE/xsjNwRkR0TdXN9gcvT4KsMxJ82RsOcpAG7RyABVOUNkmQHqBn69g2KHwl4Soywnzu0lle2LTP5JwY3FkBwxUtJSanNxOgL+khBN+SYWzQNAcbPt2BJrykRxABfuieA6QrsSImeA+A9MB6r4QzEjqXoiNvlaTqKniYKixA1D8VQr7bodlT/LjzAxbIeijiRVnYmsaTpKGxUYOQOGHKfo7EOS72uVshKeVMwouxYBvgaCjsTnWIhFXyBs5gJJzQdDeVOgbIMIrBMcml9t/zI3xtbxnLleyWgfgSXs/HLCIin5RqXF6E12MPZ6bMA/bY2GWRw2zWgdQJBqPmDnzZivqH51zHbaFjTZ+HuFKqnQAHkx7/1QqGNsiZ9BK6l4FbAEOAG6lYRNL+dl6MO9AWAfcmse5PvBxyIPDrNIBZP8UCFJxyL1zGrYaWN5gKngOuBH6KTx2lWshbwhKiU56iMSw1Ynw04RLqc4BW+Yl3Zj0trZXJ419I9gSTPYwcb5aBxtM9BB5kDIUORDhxunRPC7akAenslIHYNjaZN0MSJ1nffStDlytHQi3oRro3j/tYeuqwjJ6uHbVSR5HgbrVtRn12RblIZQ6gJyx4kPM3NfLG4NK1wTbgEOADfYozPX6/iiJIY04Ern7bFrAw5fIm7Yl4iZ5Ewc8jkf/PZm74odGrgW2A4eB/5J1GXCr7PK5bYNRsZy048jloXrhz2RxowbLWjnAszkLX+xPGWjsArCYdDdGf4V7ApRuUojqhRaMooVOe5780XHvRi6kqhEQhWxYYWEa7nt3LxI3BuMkGzPK8A9bwva3R8QgL3QADYvGmz+UKA8iVl2D8X2Hf02PPt1CadjufFR471DoACp6DwgKJRFO+W4ETgZtyQ3WfxoUPqxBnqIsqe2FdwxlDmg0AuiVG8Au1OzB6PnwpuS5nmXcV3isVVXuJOq4vypDRdrSJK3wMShzQFKuXsRAj7c/Qc49wE2gjO4lYS/ye653LbKXH57yIpZSm2e/VNlgQpkDbksyli4ikjyTIg07FsEJ8SB4erlBMDuan03JcyRzjMPxT4Tda8BK6TTy31yaWp+Q2l54clXmgNhMWEWqxHAlMPgR4OrOEyNvgIT3A98k/k4a/2YU2PNxqEqwlEZ69RVoSW0vfIwKHYChrUZAagA6rgfeAInJlSSNfx15bLyPC2IleWPkSU9lpprEcMCD2BKLoilFCh2Q5wgnhJI8uhNz2FfuzhLtv0rktmLYXjj8VVrlgLjOciibtxPofd8s3uw00XMePTY5appkLspDfb73Y6TdUpTHuCoH/M0MwG1rk+eVrJXk8K/MkCS6PkiCrURfszrBwtEW5SmockCsoy0w258uoEddNvutQJ2ai8h7el2mBunp/UDalilFSx2AEc6asaf2hnZKwZaBMxuUO75BnsosDH/fNF6emu/cvC3KQyh1QJ7TfbzibJR+TKEj3B5XqViCsSdVZWiY9iXyxZco0QaihqnOAelE9J3h4qPF0DjX/X4pUlawj95fA+Vh67PIMYoRh6nSARh8OUX8pAWWfYFRsJ1CR5xTUv466jumJG2UaBsfm7mF6LyiqnClA/KC4QCDKpd3wT9LCtee9ZWUWx5NB32AQNjoSKv9bqDWAXgwHQWzqORHVNKFnAc8Lkt13E4gdTTBVuTx2xvykkdhu07Ig8Ws1gF5sdS4Q3FC64+UMMrz/sHH4Hjin8jrasWw6QgKfhFIDvuFCnVo5ACMcxSkl43HUuHr65RXpP8rSfPQotPwx5bPo29vkIGngBe4ToCI1dTIAarACa7NhUFvXFzYKI8MdHlia4/5ytuZ8AMjK5la4LQkOBd9vm2SqHKxsQNUgWJHQSxm3onn/fTVRYfJIwFd+4BdQWNjByug/nWB3ytF0jz0uduMcC0fyQFqowJXWDGT++mr3/d2XiqrexTQcJe66emT2+5Gz31az8gOsDBO8NLU0WDwNfycj0HxDBIcL1GXdw8xEq1sFjZ58KI8Elo5wBqo0PngM8o5jsCwJSD9niBP6oepGyxBW5wSX4K8HrZcCG9FrR1gbVTsO909gq8dozzj8w0x6QiMbTU/qCiAjjXAXGDDPXO0DpP/ws8cbOhyZtj9/wUwwF7w0GQfDIqFh0Zq7O0Yfgpw3iC5GZHfjyN2gbstdgutLnWq4Hp+nDx3oO5HkDtRpxEQNWPIs8DXmo6Qxzv4LeTZCfhh80M06CzgCPGbAHt1a8LeIO8Bnw9OAC6SvAX6A+X8vwG/HEfMfL/PR9iYunx9InanXhwQZmDYPcCRoCOclBwdkawzPKVxjvDU2F71CtvH6Ldk+gnYFfj/AXGSQzDz+fZKfRN07w/8rsD4XtCrA8IijLwC+FpyfliXeP+HwPf9jchVw/ZB0q8B3jJ/De6XqM7w89F3JeHeaSwOSK3E8FvAAjAbvA84El5LnneAj+Twi65VSHsr+BD4HPg9cJlMlvHR2B1QZDoNc864G+4JkFiKXHhuX1S+z7hpcUCfDeiqa6UDunrw5V7+ZT8CunbAiwAAAP//1lJoRwAAAAZJREFUAwC0WPKfAOfAQQAAAABJRU5ErkJggg==";
513
555
 
514
- /***/ }),
515
-
516
- /***/ 508:
517
- /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
518
-
519
- // style-loader: Adds some css to the DOM by adding a <style> tag
520
-
521
- // load the styles
522
- var content = __webpack_require__(576);
523
- if(content.__esModule) content = content.default;
524
- if(typeof content === 'string') content = [[module.id, content, '']];
525
- if(content.locals) module.exports = content.locals;
526
- // add the styles to the DOM
527
- var add = (__webpack_require__(258)/* ["default"] */ .A)
528
- var update = add("41139053", content, true, {"sourceMap":false,"shadowMode":false});
529
-
530
- /***/ }),
531
-
532
- /***/ 576:
533
- /***/ (function(module, __webpack_exports__, __webpack_require__) {
534
-
535
- "use strict";
536
- __webpack_require__.r(__webpack_exports__);
537
- /* harmony import */ var _node_modules_css_loader_dist_runtime_noSourceMaps_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(601);
538
- /* 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__);
539
- /* harmony import */ var _node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(314);
540
- /* 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__);
541
- /* harmony import */ var _node_modules_css_loader_dist_runtime_getUrl_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(417);
542
- /* harmony import */ var _node_modules_css_loader_dist_runtime_getUrl_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_node_modules_css_loader_dist_runtime_getUrl_js__WEBPACK_IMPORTED_MODULE_2__);
543
- // Imports
544
-
545
-
546
-
547
- var ___CSS_LOADER_URL_IMPORT_0___ = new URL(/* asset import */ __webpack_require__(286), __webpack_require__.b);
548
- 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()));
549
- var ___CSS_LOADER_URL_REPLACEMENT_0___ = _node_modules_css_loader_dist_runtime_getUrl_js__WEBPACK_IMPORTED_MODULE_2___default()(___CSS_LOADER_URL_IMPORT_0___);
550
- // Module
551
- ___CSS_LOADER_EXPORT___.push([module.id, ".yx-speech-recognition .box[data-v-87642bf4] ::-webkit-scrollbar{width:0;height:0;display:none;background:transparent}.yx-speech-recognition .box[data-v-87642bf4]{display:grid;grid-template-rows:max-content 1fr;position:absolute;pointer-events:all;background:rgba(2,11,72,.6);border-radius:calc(var(--704480ac)*.57);z-index:20}.yx-speech-recognition .box .title[data-v-87642bf4]{display:flex;align-items:center;justify-content:space-between;width:100%;height:calc(var(--704480ac)*2.29);padding:0 calc(var(--704480ac)*.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(--704480ac)*.57) calc(var(--704480ac)*.57) 0 0}.yx-speech-recognition .box .title-icon[data-v-87642bf4]{display:flex;align-items:center;gap:calc(var(--704480ac)*.38)}.yx-speech-recognition .box .title-icon img[data-v-87642bf4]{width:calc(var(--704480ac)*1);height:calc(var(--704480ac)*1)}.yx-speech-recognition .box .title-icon span[data-v-87642bf4]{font-size:calc(var(--704480ac)*1.14);font-weight:800;color:#fff}.yx-speech-recognition .box .title .close[data-v-87642bf4]{cursor:pointer}.yx-speech-recognition .box .title .close img[data-v-87642bf4]{width:calc(var(--704480ac)*1.1)}.yx-speech-recognition .box .content[data-v-87642bf4]{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;background-size:45%}.yx-speech-recognition .box .content span[data-v-87642bf4]{margin-top:calc(var(--704480ac)*6.5);font-size:calc(var(--704480ac)*1)}.yx-speech-recognition .box .message-list[data-v-87642bf4]{overflow:hidden;padding:calc(var(--704480ac)*.58);box-sizing:border-box;padding-right:calc(var(--704480ac)*.29)}.yx-speech-recognition .box .message-list-inner[data-v-87642bf4]{height:100%;display:flex;flex-direction:column;gap:calc(var(--704480ac)*.53);overflow-y:overlay}.yx-speech-recognition .displayAssistant[data-v-87642bf4]{position:absolute;pointer-events:all;cursor:pointer;z-index:20}.yx-speech-recognition .displayAssistant .icon1[data-v-87642bf4]{width:calc(var(--704480ac)*3.76);height:calc(var(--704480ac)*3.88)}.yx-speech-recognition .displayAssistant .icon1 img[data-v-87642bf4]{width:100%;height:100%}.yx-speech-recognition .displayAssistant .bubbleBox[data-v-87642bf4]{position:absolute;top:0;left:calc(var(--704480ac)*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-87642bf4]{font-size:calc(var(--704480ac)*.8);display:flex;align-items:center}.yx-speech-recognition .displayAssistant .bubbleBox .loging-icon[data-v-87642bf4]{width:calc(var(--704480ac)*1.26);height:calc(var(--704480ac)*1.28);margin-right:calc(var(--704480ac)*.4)}.yx-speech-recognition .displayAssistant .bubbleBox .loging-icon img[data-v-87642bf4]{width:100%;height:100%}.yx-speech-recognition .displayAssistant .bubbleBox .box-container[data-v-87642bf4]{border-top:calc(var(--704480ac)*.1) solid rgba(117,178,255,.61);margin-top:calc(var(--704480ac)*.2)}.yx-speech-recognition .displayAssistant .bubbleBox .box-container .mr-l-20[data-v-87642bf4]{margin-left:calc(var(--704480ac)*.416)}.yx-speech-recognition .displayAssistant .bubbleBox .item-box[data-v-87642bf4]{display:flex;overflow:hidden;margin:calc(var(--704480ac)*.208) 0}.yx-speech-recognition .displayAssistant .bubbleBox .item-box:nth-child(2) .item-box-number[data-v-87642bf4]{background-color:#ff4e4e}.yx-speech-recognition .displayAssistant .bubbleBox .item-box:nth-child(3) .item-box-number[data-v-87642bf4]{background-color:#ff6e1d}.yx-speech-recognition .displayAssistant .bubbleBox .item-box:nth-child(4) .item-box-number[data-v-87642bf4]{background-color:#4fc94d}.yx-speech-recognition .displayAssistant .bubbleBox .item-box .item-box-index[data-v-87642bf4]{flex-shrink:0;width:calc(var(--704480ac)*1.2);font-size:calc(var(--704480ac)*.9);height:calc(var(--704480ac)*1.2);background-color:rgba(117,178,255,.61);border-radius:50%;display:flex;align-items:center;justify-content:center;margin-top:calc(var(--704480ac)*.1);margin-right:calc(var(--704480ac)*.1)}.yx-speech-recognition .displayAssistant .bubbleBox .item-box .item-box-content[data-v-87642bf4]{overflow:hidden}.yx-speech-recognition .displayAssistant .bubbleBox .item-box .item-box-label[data-v-87642bf4]{display:inline-block;width:auto;font-size:calc(var(--704480ac)*.9);border-radius:calc(var(--704480ac)*.104);padding:0 calc(var(--704480ac)*.167)}.yx-speech-recognition .displayAssistant .bubbleBox .item-box .item-box-descriptions[data-v-87642bf4]{font-size:calc(var(--704480ac)*.9);color:hsla(0,0%,100%,.74);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.yx-speech-recognition .displayAssistant .bubbleBox span[data-v-87642bf4]{display:block;max-width:calc(var(--704480ac)*19.21);font-size:calc(var(--704480ac)*1);color:#fff;word-break:break-all}.yx-speech-recognition .displayAssistant .bubbleBox-suggest[data-v-87642bf4],.yx-speech-recognition .displayAssistant .bubbleBox-title[data-v-87642bf4]{border-radius:calc(var(--704480ac)*.27);padding:calc(var(--704480ac)*.38);box-sizing:border-box}.yx-speech-recognition .displayAssistant .bubbleBox-suggest[data-v-87642bf4]{background-color:rgba(13,23,135,.85);box-shadow:0 calc(var(--704480ac)*.083) calc(var(--704480ac)*.314) rgba(106,17,203,.3)}.yx-speech-recognition .displayAssistant .bubbleBox-title-hi[data-v-87642bf4]{max-width:calc(var(--704480ac)*9.21)}.yx-speech-recognition .displayAssistant .bubbleBox-title[data-v-87642bf4]{margin-bottom:calc(var(--704480ac)*.3125);background-color:rgba(70,61,255,.85);box-shadow:inset 0 0 calc(var(--704480ac)*.57) 0 #d4d9ff;max-height:calc(var(--704480ac)*41.6);overflow:auto;scrollbar-width:none;-ms-overflow-style:none}.yx-speech-recognition .displayAssistant .bubbleBox-title[data-v-87642bf4]::-webkit-scrollbar{display:none;width:0;height:0}.yx-speech-recognition .displayAssistant .bubbleBox-title[data-v-87642bf4]:after,.yx-speech-recognition .displayAssistant .bubbleBox-title[data-v-87642bf4]:before{content:\"\";display:block;position:absolute}.yx-speech-recognition .displayAssistant .bubbleBox-to[data-v-87642bf4]{background-color:rgba(98,183,0,.85);box-shadow:inset 0 0 calc(var(--704480ac)*.57) 0 #fff3b4}.yx-speech-recognition .displayAssistant .bubbleBox-to[data-v-87642bf4]:before{border-right:calc(var(--704480ac)*.5) solid transparent}.yx-speech-recognition .displayAssistant .bubbleBox-to[data-v-87642bf4]:after{border-top:calc(var(--704480ac)*.25) solid transparent;border-bottom:calc(var(--704480ac)*.25) solid transparent;border-right:calc(var(--704480ac)*.5) solid rgba(98,183,0,.85);transform:translateX(calc(var(--704480ac)*-.46));left:0;top:calc(var(--704480ac)*.48)}.yx-speech-recognition .leader-assistant[data-v-87642bf4]{position:absolute;top:calc(var(--704480ac)*-1.67);left:calc(var(--704480ac)*.27);cursor:pointer;z-index:20}.yx-speech-recognition .leader-assistant .icon1[data-v-87642bf4]{width:calc(var(--704480ac)*3.76);height:calc(var(--704480ac)*3.88)}.yx-speech-recognition .leader-assistant .icon1 img[data-v-87642bf4]{width:100%;height:100%}.yx-speech-recognition .leader-box[data-v-87642bf4] ::-webkit-scrollbar{width:0;height:0;display:none;background:transparent}.yx-speech-recognition .leader-box[data-v-87642bf4]{width:calc(var(--704480ac)*25);display:grid;grid-template-rows:max-content 1fr;position:absolute;left:calc(var(--704480ac)*1.33);top:calc(var(--704480ac)*8.5);pointer-events:all;background:#020b48;border:1px solid #1366e8;border-radius:calc(var(--704480ac)*.48);z-index:20;opacity:.84}.yx-speech-recognition .leader-box .title[data-v-87642bf4]{display:flex;align-items:center;justify-content:space-between;width:100%;height:calc(var(--704480ac)*2.33);padding:0 calc(var(--704480ac)*.76) 0 calc(var(--704480ac)*3.2);box-sizing:border-box;background:url(" + ___CSS_LOADER_URL_REPLACEMENT_0___ + ") no-repeat 50%;background-size:cover;border-radius:calc(var(--704480ac)*.48) calc(var(--704480ac)*.48) 0 0}.yx-speech-recognition .leader-box .title .title-left[data-v-87642bf4]{position:relative}.yx-speech-recognition .leader-box .title .title-left img[data-v-87642bf4]{width:calc(var(--704480ac)*2.83);height:calc(var(--704480ac)*3.78);position:absolute;top:calc(var(--704480ac)*-1.8);left:calc(var(--704480ac)*-2.84)}.yx-speech-recognition .leader-box .title .title-left .title-text[data-v-87642bf4]{font-family:SourceHanSansCN;font-weight:700;font-size:calc(var(--704480ac)*1.33);color:#fff}.yx-speech-recognition .leader-box .title .title-broadcast-text .broadcast-text-point[data-v-87642bf4]{font-size:calc(var(--704480ac)*3);color:#ff5151;line-height:calc(var(--704480ac)*.5)}.yx-speech-recognition .leader-box .title .title-broadcast-text .broadcast-text[data-v-87642bf4]{font-size:calc(var(--704480ac)*1.11);color:#ff5151}.yx-speech-recognition .leader-box .title .fold[data-v-87642bf4]{cursor:pointer}.yx-speech-recognition .leader-box .title .fold img[data-v-87642bf4]{width:calc(var(--704480ac)*1.1)}.yx-speech-recognition .leader-box .title .isfold[data-v-87642bf4]{transform:rotate(180deg)}.yx-speech-recognition .leader-box .bubbleBox[data-v-87642bf4]{position:absolute;top:0;left:calc(var(--704480ac)*3.76);width:-moz-max-content;width:max-content;min-width:-moz-min-content;min-width:min-content}.yx-speech-recognition .leader-box .bubbleBox .loading-box[data-v-87642bf4]{font-size:calc(var(--704480ac)*.8);display:flex;align-items:center}.yx-speech-recognition .leader-box .bubbleBox .loging-icon[data-v-87642bf4]{width:calc(var(--704480ac)*1.26);height:calc(var(--704480ac)*1.28);margin-right:calc(var(--704480ac)*.4)}.yx-speech-recognition .leader-box .bubbleBox .loging-icon img[data-v-87642bf4]{width:100%;height:100%}.yx-speech-recognition .leader-box .bubbleBox .box-container[data-v-87642bf4]{border-top:calc(var(--704480ac)*.1) solid rgba(117,178,255,.61);margin-top:calc(var(--704480ac)*.2)}.yx-speech-recognition .leader-box .bubbleBox .box-container .mr-l-20[data-v-87642bf4]{margin-left:calc(var(--704480ac)*.416)}.yx-speech-recognition .leader-box .bubbleBox .item-box[data-v-87642bf4]{display:flex;overflow:hidden;margin:calc(var(--704480ac)*.208) 0}.yx-speech-recognition .leader-box .bubbleBox .item-box:nth-child(2) .item-box-number[data-v-87642bf4]{background-color:#ff4e4e}.yx-speech-recognition .leader-box .bubbleBox .item-box:nth-child(3) .item-box-number[data-v-87642bf4]{background-color:#ff6e1d}.yx-speech-recognition .leader-box .bubbleBox .item-box:nth-child(4) .item-box-number[data-v-87642bf4]{background-color:#4fc94d}.yx-speech-recognition .leader-box .bubbleBox .item-box .item-box-index[data-v-87642bf4]{flex-shrink:0;width:calc(var(--704480ac)*1.2);font-size:calc(var(--704480ac)*.9);height:calc(var(--704480ac)*1.2);background-color:rgba(117,178,255,.61);border-radius:50%;display:flex;align-items:center;justify-content:center;margin-top:calc(var(--704480ac)*.1);margin-right:calc(var(--704480ac)*.1)}.yx-speech-recognition .leader-box .bubbleBox .item-box .item-box-content[data-v-87642bf4]{overflow:hidden}.yx-speech-recognition .leader-box .bubbleBox .item-box .item-box-label[data-v-87642bf4]{display:inline-block;width:auto;font-size:calc(var(--704480ac)*.9);border-radius:calc(var(--704480ac)*.104);padding:0 calc(var(--704480ac)*.167)}.yx-speech-recognition .leader-box .bubbleBox .item-box .item-box-descriptions[data-v-87642bf4]{font-size:calc(var(--704480ac)*.9);color:hsla(0,0%,100%,.74);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.yx-speech-recognition .leader-box .bubbleBox span[data-v-87642bf4]{display:block;max-width:calc(var(--704480ac)*19.21);font-size:calc(var(--704480ac)*1);color:#fff;word-break:break-all}.yx-speech-recognition .leader-box .bubbleBox-suggest[data-v-87642bf4],.yx-speech-recognition .leader-box .bubbleBox-title[data-v-87642bf4]{border-radius:calc(var(--704480ac)*.27);padding:calc(var(--704480ac)*.38);box-sizing:border-box}.yx-speech-recognition .leader-box .bubbleBox-suggest[data-v-87642bf4]{background-color:rgba(13,23,135,.85);box-shadow:0 calc(var(--704480ac)*.083) calc(var(--704480ac)*.314) rgba(106,17,203,.3)}.yx-speech-recognition .leader-box .bubbleBox-title-hi[data-v-87642bf4]{max-width:calc(var(--704480ac)*9.21)}.yx-speech-recognition .leader-box .bubbleBox-title[data-v-87642bf4]{margin-bottom:calc(var(--704480ac)*.3125);background-color:rgba(70,61,255,.85);box-shadow:inset 0 0 calc(var(--704480ac)*.57) 0 #d4d9ff;max-height:calc(var(--704480ac)*41.6);overflow:auto;scrollbar-width:none;-ms-overflow-style:none}.yx-speech-recognition .leader-box .bubbleBox-title[data-v-87642bf4]::-webkit-scrollbar{display:none;width:0;height:0}.yx-speech-recognition .leader-box .bubbleBox-title[data-v-87642bf4]:after,.yx-speech-recognition .leader-box .bubbleBox-title[data-v-87642bf4]:before{content:\"\";display:block;position:absolute}.yx-speech-recognition .leader-box .bubbleBox-to[data-v-87642bf4]{background-color:rgba(98,183,0,.85);box-shadow:inset 0 0 calc(var(--704480ac)*.57) 0 #fff3b4}.yx-speech-recognition .leader-box .bubbleBox-to[data-v-87642bf4]:before{border-right:calc(var(--704480ac)*.5) solid transparent}.yx-speech-recognition .leader-box .bubbleBox-to[data-v-87642bf4]:after{border-top:calc(var(--704480ac)*.25) solid transparent;border-bottom:calc(var(--704480ac)*.25) solid transparent;border-right:calc(var(--704480ac)*.5) solid rgba(98,183,0,.85);transform:translateX(calc(var(--704480ac)*-.46));left:0;top:calc(var(--704480ac)*.48)}.yx-speech-recognition .leader-box .leader-box-content[data-v-87642bf4]{width:100%;height:calc(var(--704480ac)*28.56);padding:calc(var(--704480ac)*.67);box-sizing:border-box;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:calc(var(--704480ac)*.6)}.yx-speech-recognition .leader-box .leader-box-content .message-list[data-v-87642bf4]{overflow:hidden;box-sizing:border-box;height:calc(100% - var(--704480ac)*2.44);width:100%}.yx-speech-recognition .leader-box .leader-box-content .message-list-inner[data-v-87642bf4]{height:100%;display:flex;flex-direction:column;gap:calc(var(--704480ac)*.53);overflow-y:overlay}.yx-speech-recognition .leader-box .leader-box-content .message-list .message-list-empty[data-v-87642bf4]{color:#fff;font-size:calc(var(--704480ac)*1.22)}.yx-speech-recognition .leader-box .leader-box-content .message-list .message-list-empty .recommendation-text[data-v-87642bf4]{color:#33fffc;cursor:pointer}.yx-speech-recognition .leader-box .leader-box-content .message-list .message-list-empty .recommendation-tip[data-v-87642bf4]{margin-top:calc(var(--704480ac)*.3);display:flex;align-items:center;gap:calc(var(--704480ac)*.2);background:rgba(9,51,132,.8);padding:calc(var(--704480ac)*.2) calc(var(--704480ac)*.4);width:calc(var(--704480ac)*20.8)}.yx-speech-recognition .leader-box .leader-box-content .message-list .message-list-empty .recommendation-tip img[data-v-87642bf4]{width:calc(var(--704480ac)*1.2);height:calc(var(--704480ac)*1.2)}.yx-speech-recognition .leader-box .leader-box-content .leader-inputContainer[data-v-87642bf4]{width:calc(var(--704480ac)*23.33);height:calc(var(--704480ac)*2.44);background:rgba(9,51,132,.8);border-radius:calc(var(--704480ac)*.11);border:0 solid #1b64cf;padding:0 calc(var(--704480ac)*.39) 0 calc(var(--704480ac)*.5);box-sizing:border-box;display:flex;align-items:center;justify-content:space-between}.yx-speech-recognition .leader-box .leader-box-content .leader-inputContainer .inputBox[data-v-87642bf4]{width:100%;height:100%;box-sizing:border-box;background-color:transparent;border:none;outline:none;font-family:MicrosoftYaHei;font-size:calc(var(--704480ac)*1.33);color:#8595b6;line-height:calc(var(--704480ac)*.88)}.yx-speech-recognition .leader-box .leader-box-content .leader-inputContainer .inputBox[data-v-87642bf4]::placeholder{font-size:calc(var(--704480ac)*1.22)}.yx-speech-recognition .leader-box .leader-box-content .leader-inputContainer .inputBox[data-v-87642bf4]::-webkit-input-placeholder{font-size:calc(var(--704480ac)*1.22)}.yx-speech-recognition .leader-box .leader-box-content .leader-inputContainer .inputBox[data-v-87642bf4]::-moz-placeholder{font-size:calc(var(--704480ac)*1.22)}.yx-speech-recognition .leader-box .leader-box-content .leader-inputContainer .inputBox[data-v-87642bf4]:-ms-input-placeholder{font-size:calc(var(--704480ac)*1.22)}.yx-speech-recognition .leader-box .leader-box-content .leader-inputContainer .inputButton[data-v-87642bf4]{width:calc(var(--704480ac)*2.39);height:calc(var(--704480ac)*2.39);cursor:pointer}.yx-speech-recognition .leader-box .leader-box-content-empty[data-v-87642bf4]{height:calc(var(--704480ac)*22.22)}.inputContainer[data-v-87642bf4]{display:flex;flex:1;justify-content:space-between;align-items:center;background-color:rgba(2,11,72,.3);border-radius:calc(var(--704480ac)*.57)}.inputContainer .inputBox[data-v-87642bf4]{margin:calc(var(--704480ac)*.083);flex:1;width:100%;height:calc(var(--704480ac)*1.8);border-color:transparent;background-color:transparent;border-radius:calc(var(--704480ac)*.57);font-size:calc(var(--704480ac)*1);color:#fff;padding:0 calc(var(--704480ac)*.417);outline:none}.inputContainer .inputButton[data-v-87642bf4]{margin-right:calc(var(--704480ac)*.417);flex-shrink:0}.inputContainer .inputButton img[data-v-87642bf4]{width:calc(var(--704480ac)*1.5);height:calc(var(--704480ac)*1.5)}.dropdown[data-v-87642bf4]{display:flex;position:relative;width:calc(var(--704480ac)*3.75);align-items:center;justify-content:center;font-size:calc(var(--704480ac)*.8);color:#fff;padding:calc(var(--704480ac)*.104) calc(var(--704480ac)*.3125);margin:calc(var(--704480ac)*.208) calc(var(--704480ac)*.625) calc(var(--704480ac)*.208);border-radius:calc(var(--704480ac)*.18);background:rgba(51,136,255,.52)}.dropdown .dropdown-btn[data-v-87642bf4]{cursor:pointer}.dropdown .dropdown-options[data-v-87642bf4]{position:absolute;bottom:100%;left:0;right:0;border-radius:calc(var(--704480ac)*.167);margin-bottom:calc(var(--704480ac)*.208);width:100%;min-width:calc(var(--704480ac)*3.33);background-color:rgba(13,23,135,.85);box-shadow:0 calc(var(--704480ac)*.083) calc(var(--704480ac)*.3125) rgba(106,17,203,.3);z-index:10;max-height:calc(var(--704480ac)*8.33);overflow-y:auto}.dropdown .dropdown-item[data-v-87642bf4]{padding:calc(var(--704480ac)*.104) calc(var(--704480ac)*.416);cursor:pointer;transition:background .2s}.dropdown .dropdown-item[data-v-87642bf4]:hover{background-color:rgba(51,136,255,.3)}.dropdown .dropdown-item.selected[data-v-87642bf4]{background-color:rgba(51,136,255,.51);color:hsla(0,0%,100%,.9)}", ""]);
552
- // Exports
553
- /* harmony default export */ __webpack_exports__["default"] = (___CSS_LOADER_EXPORT___);
554
-
555
-
556
556
  /***/ }),
557
557
 
558
558
  /***/ 594:
@@ -575,7 +575,7 @@ module.exports = function (i) {
575
575
 
576
576
  /***/ }),
577
577
 
578
- /***/ 656:
578
+ /***/ 659:
579
579
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
580
580
 
581
581
  "use strict";
@@ -584,12 +584,17 @@ __webpack_require__.r(__webpack_exports__);
584
584
  /* 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__);
585
585
  /* harmony import */ var _node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(314);
586
586
  /* 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__);
587
+ /* harmony import */ var _node_modules_css_loader_dist_runtime_getUrl_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(417);
588
+ /* harmony import */ var _node_modules_css_loader_dist_runtime_getUrl_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_node_modules_css_loader_dist_runtime_getUrl_js__WEBPACK_IMPORTED_MODULE_2__);
587
589
  // Imports
588
590
 
589
591
 
592
+
593
+ var ___CSS_LOADER_URL_IMPORT_0___ = new URL(/* asset import */ __webpack_require__(286), __webpack_require__.b);
590
594
  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()));
595
+ var ___CSS_LOADER_URL_REPLACEMENT_0___ = _node_modules_css_loader_dist_runtime_getUrl_js__WEBPACK_IMPORTED_MODULE_2___default()(___CSS_LOADER_URL_IMPORT_0___);
591
596
  // Module
592
- ___CSS_LOADER_EXPORT___.push([module.id, "p{padding:0;margin:0;line-height:normal}h1,h2,h3,h4,h5,h6{margin:calc(var(--704480ac)*.5) 0}.html-content ul,ol{margin-left:calc(var(--704480ac)*1.2)}.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(--704480ac)*.2)!important}.html-content table,td,th{border:calc(var(--704480ac)*.083) solid #fff;border-collapse:collapse}", ""]);
597
+ ___CSS_LOADER_EXPORT___.push([module.id, ".leader-assistant[data-v-37926bb0]{position:absolute;top:calc(var(--497d1bb0)*-1.67);left:calc(var(--497d1bb0)*.27);cursor:pointer;z-index:20}.leader-assistant .icon1[data-v-37926bb0]{width:calc(var(--497d1bb0)*3.76);height:calc(var(--497d1bb0)*3.88)}.leader-assistant .icon1 img[data-v-37926bb0]{width:100%;height:100%}.leader-box[data-v-37926bb0] ::-webkit-scrollbar{width:0;height:0;display:none;background:transparent}.leader-box[data-v-37926bb0]{width:calc(var(--497d1bb0)*25);display:grid;grid-template-rows:max-content 1fr;position:absolute;left:calc(var(--497d1bb0)*1.33);top:calc(var(--497d1bb0)*8.5);pointer-events:all;background:#020b48;border:1px solid #1366e8;border-radius:calc(var(--497d1bb0)*.48);z-index:20;opacity:.84}.leader-box .title[data-v-37926bb0]{display:flex;align-items:center;justify-content:space-between;width:100%;height:calc(var(--497d1bb0)*2.33);padding:0 calc(var(--497d1bb0)*.76) 0 calc(var(--497d1bb0)*3.2);box-sizing:border-box;background:url(" + ___CSS_LOADER_URL_REPLACEMENT_0___ + ") no-repeat 50%;background-size:cover;border-radius:calc(var(--497d1bb0)*.48) calc(var(--497d1bb0)*.48) 0 0}.leader-box .title .title-left[data-v-37926bb0]{position:relative}.leader-box .title .title-left img[data-v-37926bb0]{width:calc(var(--497d1bb0)*2.83);height:calc(var(--497d1bb0)*3.78);position:absolute;top:calc(var(--497d1bb0)*-1.8);left:calc(var(--497d1bb0)*-2.84)}.leader-box .title .title-left .title-text[data-v-37926bb0]{font-family:SourceHanSansCN;font-weight:700;font-size:calc(var(--497d1bb0)*1.33);color:#fff}.leader-box .title .title-broadcast-text .broadcast-text-point[data-v-37926bb0]{font-size:calc(var(--497d1bb0)*3);color:#ff5151;line-height:calc(var(--497d1bb0)*.5)}.leader-box .title .title-broadcast-text .broadcast-text[data-v-37926bb0]{font-size:calc(var(--497d1bb0)*1.11);color:#ff5151}.leader-box .title .fold[data-v-37926bb0]{cursor:pointer}.leader-box .title .fold img[data-v-37926bb0]{width:calc(var(--497d1bb0)*1.1)}.leader-box .title .isfold[data-v-37926bb0]{transform:rotate(180deg)}.leader-box .bubbleBox[data-v-37926bb0]{position:absolute;top:0;left:calc(var(--497d1bb0)*3.76);width:-moz-max-content;width:max-content;min-width:-moz-min-content;min-width:min-content}.leader-box .bubbleBox .loading-box[data-v-37926bb0]{font-size:calc(var(--497d1bb0)*.8);display:flex;align-items:center}.leader-box .bubbleBox .loging-icon[data-v-37926bb0]{width:calc(var(--497d1bb0)*1.26);height:calc(var(--497d1bb0)*1.28);margin-right:calc(var(--497d1bb0)*.4)}.leader-box .bubbleBox .loging-icon img[data-v-37926bb0]{width:100%;height:100%}.leader-box .bubbleBox .box-container[data-v-37926bb0]{border-top:calc(var(--497d1bb0)*.1) solid rgba(117,178,255,.61);margin-top:calc(var(--497d1bb0)*.2)}.leader-box .bubbleBox .box-container .mr-l-20[data-v-37926bb0]{margin-left:calc(var(--497d1bb0)*.416)}.leader-box .bubbleBox .item-box[data-v-37926bb0]{display:flex;overflow:hidden;margin:calc(var(--497d1bb0)*.208) 0}.leader-box .bubbleBox .item-box:nth-child(2) .item-box-number[data-v-37926bb0]{background-color:#ff4e4e}.leader-box .bubbleBox .item-box:nth-child(3) .item-box-number[data-v-37926bb0]{background-color:#ff6e1d}.leader-box .bubbleBox .item-box:nth-child(4) .item-box-number[data-v-37926bb0]{background-color:#4fc94d}.leader-box .bubbleBox .item-box .item-box-index[data-v-37926bb0]{flex-shrink:0;width:calc(var(--497d1bb0)*1.2);font-size:calc(var(--497d1bb0)*.9);height:calc(var(--497d1bb0)*1.2);background-color:rgba(117,178,255,.61);border-radius:50%;display:flex;align-items:center;justify-content:center;margin-top:calc(var(--497d1bb0)*.1);margin-right:calc(var(--497d1bb0)*.1)}.leader-box .bubbleBox .item-box .item-box-content[data-v-37926bb0]{overflow:hidden}.leader-box .bubbleBox .item-box .item-box-label[data-v-37926bb0]{display:inline-block;width:auto;font-size:calc(var(--497d1bb0)*.9);border-radius:calc(var(--497d1bb0)*.104);padding:0 calc(var(--497d1bb0)*.167)}.leader-box .bubbleBox .item-box .item-box-descriptions[data-v-37926bb0]{font-size:calc(var(--497d1bb0)*.9);color:hsla(0,0%,100%,.74);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.leader-box .bubbleBox span[data-v-37926bb0]{display:block;max-width:calc(var(--497d1bb0)*19.21);font-size:calc(var(--497d1bb0)*1);color:#fff;word-break:break-all}.leader-box .bubbleBox-suggest[data-v-37926bb0],.leader-box .bubbleBox-title[data-v-37926bb0]{border-radius:calc(var(--497d1bb0)*.27);padding:calc(var(--497d1bb0)*.38);box-sizing:border-box}.leader-box .bubbleBox-suggest[data-v-37926bb0]{background-color:rgba(13,23,135,.85);box-shadow:0 calc(var(--497d1bb0)*.083) calc(var(--497d1bb0)*.314) rgba(106,17,203,.3)}.leader-box .bubbleBox-title-hi[data-v-37926bb0]{max-width:calc(var(--497d1bb0)*9.21)}.leader-box .bubbleBox-title[data-v-37926bb0]{margin-bottom:calc(var(--497d1bb0)*.3125);background-color:rgba(70,61,255,.85);box-shadow:inset 0 0 calc(var(--497d1bb0)*.57) 0 #d4d9ff;max-height:calc(var(--497d1bb0)*41.6);overflow:auto;scrollbar-width:none;-ms-overflow-style:none}.leader-box .bubbleBox-title[data-v-37926bb0]::-webkit-scrollbar{display:none;width:0;height:0}.leader-box .bubbleBox-title[data-v-37926bb0]:after,.leader-box .bubbleBox-title[data-v-37926bb0]:before{content:\"\";display:block;position:absolute}.leader-box .bubbleBox-to[data-v-37926bb0]{background-color:rgba(98,183,0,.85);box-shadow:inset 0 0 calc(var(--497d1bb0)*.57) 0 #fff3b4}.leader-box .bubbleBox-to[data-v-37926bb0]:before{border-right:calc(var(--497d1bb0)*.5) solid transparent}.leader-box .bubbleBox-to[data-v-37926bb0]:after{border-top:calc(var(--497d1bb0)*.25) solid transparent;border-bottom:calc(var(--497d1bb0)*.25) solid transparent;border-right:calc(var(--497d1bb0)*.5) solid rgba(98,183,0,.85);transform:translateX(calc(var(--497d1bb0)*-.46));left:0;top:calc(var(--497d1bb0)*.48)}.leader-box .leader-box-content[data-v-37926bb0]{width:100%;height:calc(var(--497d1bb0)*28.56);padding:calc(var(--497d1bb0)*.67);box-sizing:border-box;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:calc(var(--497d1bb0)*.6)}.leader-box .leader-box-content .message-list[data-v-37926bb0]{overflow:hidden;box-sizing:border-box;height:calc(100% - var(--497d1bb0)*2.44);width:100%}.leader-box .leader-box-content .message-list-inner[data-v-37926bb0]{height:100%;display:flex;flex-direction:column;gap:calc(var(--497d1bb0)*.53);overflow-y:overlay}.leader-box .leader-box-content .message-list .message-list-empty[data-v-37926bb0]{color:#fff;font-size:calc(var(--497d1bb0)*1.22)}.leader-box .leader-box-content .message-list .message-list-empty .recommendation-text[data-v-37926bb0]{color:#33fffc;cursor:pointer}.leader-box .leader-box-content .message-list .message-list-empty .recommendation-tip[data-v-37926bb0]{margin-top:calc(var(--497d1bb0)*.3);display:flex;align-items:center;gap:calc(var(--497d1bb0)*.2);background:rgba(9,51,132,.8);padding:calc(var(--497d1bb0)*.2) calc(var(--497d1bb0)*.4);width:calc(var(--497d1bb0)*20.8)}.leader-box .leader-box-content .message-list .message-list-empty .recommendation-tip img[data-v-37926bb0]{width:calc(var(--497d1bb0)*1.2);height:calc(var(--497d1bb0)*1.2)}.leader-box .leader-box-content .leader-inputContainer[data-v-37926bb0]{width:calc(var(--497d1bb0)*23.33);height:calc(var(--497d1bb0)*2.44);background:rgba(9,51,132,.8);border-radius:calc(var(--497d1bb0)*.11);border:0 solid #1b64cf;padding:0 calc(var(--497d1bb0)*.39) 0 calc(var(--497d1bb0)*.5);box-sizing:border-box;display:flex;align-items:center;justify-content:space-between}.leader-box .leader-box-content .leader-inputContainer .inputBox[data-v-37926bb0]{width:100%;height:100%;box-sizing:border-box;background-color:transparent;border:none;outline:none;font-family:MicrosoftYaHei;font-size:calc(var(--497d1bb0)*1.33);color:#8595b6;line-height:calc(var(--497d1bb0)*.88)}.leader-box .leader-box-content .leader-inputContainer .inputBox[data-v-37926bb0]::placeholder{font-size:calc(var(--497d1bb0)*1.22)}.leader-box .leader-box-content .leader-inputContainer .inputBox[data-v-37926bb0]::-webkit-input-placeholder{font-size:calc(var(--497d1bb0)*1.22)}.leader-box .leader-box-content .leader-inputContainer .inputBox[data-v-37926bb0]::-moz-placeholder{font-size:calc(var(--497d1bb0)*1.22)}.leader-box .leader-box-content .leader-inputContainer .inputBox[data-v-37926bb0]:-ms-input-placeholder{font-size:calc(var(--497d1bb0)*1.22)}.leader-box .leader-box-content .leader-inputContainer .inputButton[data-v-37926bb0]{width:calc(var(--497d1bb0)*2.39);height:calc(var(--497d1bb0)*2.39);cursor:pointer}.leader-box .leader-box-content-empty[data-v-37926bb0]{height:calc(var(--497d1bb0)*22.22)}.inputContainer[data-v-37926bb0]{display:flex;flex:1;justify-content:space-between;align-items:center;background-color:rgba(2,11,72,.3);border-radius:calc(var(--497d1bb0)*.57)}.inputContainer .inputBox[data-v-37926bb0]{margin:calc(var(--497d1bb0)*.083);flex:1;width:100%;height:calc(var(--497d1bb0)*1.8);border-color:transparent;background-color:transparent;border-radius:calc(var(--497d1bb0)*.57);font-size:calc(var(--497d1bb0)*1);color:#fff;padding:0 calc(var(--497d1bb0)*.417);outline:none}.inputContainer .inputButton[data-v-37926bb0]{margin-right:calc(var(--497d1bb0)*.417);flex-shrink:0}.inputContainer .inputButton img[data-v-37926bb0]{width:calc(var(--497d1bb0)*1.5);height:calc(var(--497d1bb0)*1.5)}.dropdown[data-v-37926bb0]{display:flex;position:relative;width:calc(var(--497d1bb0)*3.75);align-items:center;justify-content:center;font-size:calc(var(--497d1bb0)*.8);color:#fff;padding:calc(var(--497d1bb0)*.104) calc(var(--497d1bb0)*.3125);margin:calc(var(--497d1bb0)*.208) calc(var(--497d1bb0)*.625) calc(var(--497d1bb0)*.208);border-radius:calc(var(--497d1bb0)*.18);background:rgba(51,136,255,.52)}.dropdown .dropdown-btn[data-v-37926bb0]{cursor:pointer}.dropdown .dropdown-options[data-v-37926bb0]{position:absolute;bottom:100%;left:0;right:0;border-radius:calc(var(--497d1bb0)*.167);margin-bottom:calc(var(--497d1bb0)*.208);width:100%;min-width:calc(var(--497d1bb0)*3.33);background-color:rgba(13,23,135,.85);box-shadow:0 calc(var(--497d1bb0)*.083) calc(var(--497d1bb0)*.3125) rgba(106,17,203,.3);z-index:10;max-height:calc(var(--497d1bb0)*8.33);overflow-y:auto}.dropdown .dropdown-item[data-v-37926bb0]{padding:calc(var(--497d1bb0)*.104) calc(var(--497d1bb0)*.416);cursor:pointer;transition:background .2s}.dropdown .dropdown-item[data-v-37926bb0]:hover{background-color:rgba(51,136,255,.3)}.dropdown .dropdown-item.selected[data-v-37926bb0]{background-color:rgba(51,136,255,.51);color:hsla(0,0%,100%,.9)}", ""]);
593
598
  // Exports
594
599
  /* harmony default export */ __webpack_exports__["default"] = (___CSS_LOADER_EXPORT___);
595
600
 
@@ -618,6 +623,22 @@ ___CSS_LOADER_EXPORT___.push([module.id, ".stream-input[data-v-39c6bdf0]{width:1
618
623
  /* harmony default export */ __webpack_exports__["default"] = (___CSS_LOADER_EXPORT___);
619
624
 
620
625
 
626
+ /***/ }),
627
+
628
+ /***/ 770:
629
+ /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
630
+
631
+ // style-loader: Adds some css to the DOM by adding a <style> tag
632
+
633
+ // load the styles
634
+ var content = __webpack_require__(174);
635
+ if(content.__esModule) content = content.default;
636
+ if(typeof content === 'string') content = [[module.id, content, '']];
637
+ if(content.locals) module.exports = content.locals;
638
+ // add the styles to the DOM
639
+ var add = (__webpack_require__(258)/* ["default"] */ .A)
640
+ var update = add("7812ca6d", content, true, {"sourceMap":false,"shadowMode":false});
641
+
621
642
  /***/ }),
622
643
 
623
644
  /***/ 780:
@@ -970,7 +991,7 @@ window && (window.CryptoJSTest = CryptoJS);
970
991
  /***/ (function(module) {
971
992
 
972
993
  "use strict";
973
- module.exports = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACoAAAAqCAMAAADyHTlpAAAByFBMVEUAAACPyf+z2f+z2v+nzv/R6Pzb7/3j6vjM5f3s9Pyj0v232f/e7Pqm1P7H4v3A4P2y2P6f0P7D4f7F4/7F4/2s1f7J5P+Ryf/V6vzl8fuo1P693v2m0/7s9fu73f7C4f3g8Pzc7fym0//L5f2Uy//s9Pva7Pzj8PvL5f2p1f/o8vu22/7s9fzD4fzP5/3q8/uu1/7Y6/2Wy/+l0v+02f3I4/zr9PrJ5Pyn1P/M5/+z2P7r8/vI4/uVzP+czv/q9f2Syv2p1P/m8fyVyP+o1/+y4f+Wy//M5vydz/7e7fyv1/3e7vyTyf+QyP+q1f6Qyf/G4v242/242/6h0P6Zzf6p0/6u1v6l0v/B4P6y2f6bzv+Vyv7T6PzT6vyQyf+k0v/B4P3I5f2Syf+02f3m8vvm8vvB4P2czv2Px//M5P3P5/2z2/zI4fmQw//Q5/2s1v7M5fyw2P2/3/263f242/222v3T6PzY6/zV6vzB4P2i0f6f0P6dz/7o8/zc7fyZzf+bzv6z2f2k0v7K5Pze7vuUyv+Xy/7G4v3I4/zh7/um0/7D4fyo1P7j8PvZ7Pu93f3l8fuSyf6Syf+93v283v3a7PzD4f2p1f5WYUP6AAAAbnRSTlMA+UoFCC8kB+/tkko1Jfr47uvUsIVjNPz7+/r5+Pjt7Orq5ePY1c/PzLW1sK6smJiTjYyIgYCAXlJKQD8/PjYwMC8uJRYQ+/rz8/Ly7uzo5NzW1dDQzMm9vby7trW0rqadmpiTjYyDg4B8a1sqHqwtFkwAAAHmSURBVDjLjc6FV9tQGAXwy5KmAvVS3N3dYQybu7u7VOZsY1vHNhjMOjr4d3kv0nyhJM0v57y8e993XgIj58RwZ5O7qsrd1Dk84YS56R73EuHumcbuZtuXcrTPIpfzbtnfXZTdy/kNqeWXiRYJBkW1P0zVFhkmD321cITMSnUfLdVJUDmb/zO/c7BS7ZtFKPre5NUHmaP0bV6lDnBXX9twTb40Zgu/tjuWUB6Gd3KI8UibRDcguNTyQCQ61pqgXI8dIw3ZIGByWfUIwELDMjEG4KlPS5MYWlVJYG6t6lzgWrU4hPCKKgqma0XnE8Gc1GIYoXVVWACivs1NvlfWCICRdU0INYuaUOSmf9Hg4v0uPdTA/9wmPyo2Nv6oMhm+194Zhu+08wpUv7CpGqde2nQaHa9s6sBgigg82cMUFirrnRQ1iPEkk0olZZdAeeVOOx+HEEjqDgsgipNEQAB640QxiPP0pJd/Jpu2tuLH58mlcWoGTNtP4twCVKPltG8D561cI+pHwc171qjyGcgGvhjU3xjwXKg0dh4oxOC7PM6IUHneWwt6oXnwwdLBvci6/NlKkExOfbJydg5ZYuN3c/v7Rej6v5m7sg/EXEk6/Y9Jy/heS0dvs0Hq2YmCnUoKjjVefzglwGAbp2FhRMz/ntsAAAAASUVORK5CYII=";
994
+ module.exports = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACsAAAArCAYAAADhXXHAAAAI9UlEQVR4AeyWe3BU1R3Hv+fefWSzm2QDBEKSDVCkWIMkgQhmUDoUWqeWgnaqOAqKkFDaf+xUR6lUm5laKjNa6nQ600pSWqnYTgYLKq2DD+qjI50i2SjlFR5ClpDNbjbJvpPdvae/382uZMNuQgD/cCY797fn3PP4/T7ne37n3qvgS/Qbh/2iNmtc2XFlSYFrToOSDYcmOepb1pbVO18qr3e+W17nPO6oc3ZQ2VJe17qvbH3Lb8rXty5FwwEDxbum66phS+tab3XUtb6laEpnWIZ29MY61nRFzyy5GD4++2LoyNTOaFuVZ+CzOwPS+0i/iLztcBV6aPw2XtzVEo8Ztmyjs9RR59wtEf+oJ+Za1tHbovq6WhFyn0B/52nE3eeQ6HIh1nkGUXcb/O6j6PI6cTH0P3tA8/1Ykepp2oEn0CDHHHtME8o2tC4UcRzyJzzf6/S1INR1ErLbDXR36SaoHDQPRLeH2ti4zw1eQJ/nCNyBo/kRLfJsmat176R1x/PGovIVwzrqW1dIqb3njZwp9nuOQfoI0ueB8Hkhesh6fUBfT5oJahM93RDc3+MBaAFxrwteH+1Eome5RYl+NJa0uCLY0vqWKgLd5Q0cN0e9ZwEG6CUIhvP3AgE/ECQLBYBwcNC4zhaktkAfLaIXgsfTAkAL7PUegT/uqVA1dff8DYeMV6LwqLClD/5noiKVvb7IZ9YBn4uC9kD4ewA/ATAMw0XCQDQCDESB/qTpdWqLUl+YjRYR7KO5Seg+H/zeY4gkAou7NPWF6wIrjKangnFveaSbFCVAQQERILUYMEIwDBXrB+IxIEbGJRvXPzfq50XweF4c7YIgX/D3wuc7igQSGx3rDteMBjyistPqWmdIIX/o953Ut1mwkqEQqUeQHDw+ACQSg6ZpAJuUQMr4XqP+eBxg40VFSXleaCgIQdDSTwqHXUIqytZrgtUgHw32u01akLYuHAQ4SD+BDpBSCVKRQRkoBTcsmsViwpLFc9GweTUO/ONXOHHo9wRN83g3OG3YXySEUM8ZJLSBb/DTZpiLtNsRlJWCRt4VDlCect6xc1YzxmqSUhkgrdYcLF1SjV88/RDee+s5+C7sxtv7nsVTm+7H4kVzEI3SXFY6QfN5waSyYGDK6XC/B0jIuylm1isrrKPeWRPToqXxoA9CByU1OReHqGnLzcG3ls3HLxvW4sN3fo1uVzP2v74FTz5+H26rrYDJlP6GPdzSBj1V2EcqLRiaRIiG6FEosDIrKXUoZBkvqYmF/QN+gJ3xQWFQDsDKkKqvNTeg+0Iz/rnnGWx6bBVqF34NRmM63HDHHzMsN9J8SMplhh4YgKAYAyEv9SRuvOGBg/lUyXhlhRWKLNFilJ86ZIy2iLaOg2h0gMhVi/MUDAaVapdfvX0hvL7vIJ0pAhrSfbjlFNIOH8Nq5JfznwSJUxm35pYMmZJWzQoLqZQkEmEgTgF1SDrtfJBAsFT+/JmdeOyn2yk23Sddck4+/8JurF63FV+ngzV0MYmEBuenp5MjqSAfgylBfpPQdMggNTl2WAGpSnYoyRnD6kz0x20Ui69tv30VD//gefT3x7Djpf2YXbkeu/d8gF1/2oT8vFwe8rkdP9mOcJjyPtVCrsC+UqbvmCQptMzbRfOyKyvQoSomGjLytXPXOyiefh/qfrQNpSUT8eZrWy4DZQ96CnAlq0moipH4lYvZhmSHlfKiouYAgoYIeorRBf5xncsh5g+E9ZP/yp+fzAjKQz9OHS4AfA/2x77Y+EZRCNZEyho69P4Mf0SSoZWaNMBpNttBHshUgJwh5VgvadCQq3bhTbjr3gZ0uum7YUh7qsoHMlXXS/bBxn5VBUZzARRhaHc1VfiQ5adkaYerr+0Dk9HmUy30yWmgR5KaBFZExil//9vTWH7nQty+7Cc4fTZ9JzXKx5ZPkoeLAVOm+yS/BiMs+XSuBPZmdJ5szAqL5nvpMSDfyLWXAwbKXdUIqATNSrBxwKSTaeWTUZBv1d9cK75Ti9uXPorWT88ke4ETbS6EQlEgNUcogEKQ7M9IeWo0Icc2FUITezDCTxmhD5rANpt9poTFBpjNADmGkgTmwGzkYE7FDPoH/tr8LzTueBPurh4sueNxvP/vI3q7/uZKjoWiQE8tUhMmEoD8WibOgNmY5zzfNPddfUKWP5qZpYeaL2yvdhoU08t5xRUES4fNyMCk8jDgNlJu7Ybn8MDDWxEM0YuE5vb5Q/j2ys14de+HOPD+J9RCFwPrihKkifyYciAtVuQX3QR6Qj4BCH6gIdtvRFiepErtZ3kTZvaaJk0DcunZmcPARlKHjFUigJOnO7DzlctF4ZfEPau3YMfO/RhUlHaFt55BzRaAQO2OBbRhtr3tf6yiQRwxu40Ke7Zp3jmhKasmOGoTSuEUPQAsBM0BeSs5OKtF0HpODi95QXyQDAYQFZBDO5RD861W5JbNgc0+45g5EnkwO+KlHuVSNXuNV62qxkeKZi6TBlbYagNIFXBQU1JpzmeGZ6iUpdo4fWjL9fE8Ly8ftmnzUFhc7ZYyvuLUy7fSF1P2+KmeK4Llwe2N1b8zquZVk2ctDVvK5gL5+QBD51qhQ/C2mnMABmNjODZu553IpQXa8iDsk2D/6hLYJ891JhLqLa6m+fR1wxFGN2X0IZdGnG+qblah3jbRscA5ac5KmKbeQNAFACkFax6QS0C8AN2s0NsIkPtFQSGsX7kFxTffrdkKHI1xJb6oY8fN7Ze8j15TRh+SPuJcU1XL+cbKeSZL4ZqiWd88O7nqHuTNXgxT6WyoRfRgtxcCBXaIwskwTJmGnOmVsFfcgeKqVbJgavUbimKuPN9YXd/xYg190qX7Hu1uzLCDDoV0NVb9pb2xcqbRbF2QX3TjlqJZyw4Wz/2+q7TmoXhJzRqUzLs/OKVixckJ0xfts+WXbzQYRSnN+W57U+Xgw3fQ0Zj+rxI2FUPI9u3V/6V83tzeWFVL5qAFmDRVWqmeRzbbtb1q+fmmqj+ce7Em/R2ccjGG8hphM0US8mq2OJOn4W1fAOzwENfvfhz2+mmZ7mlc2XQ9rt/d/wEAAP//Wy3H2QAAAAZJREFUAwBZ2+OEHj0WgQAAAABJRU5ErkJggg==";
974
995
 
975
996
  /***/ }),
976
997
 
@@ -997,6 +1018,22 @@ ___CSS_LOADER_EXPORT___.push([module.id, "@font-face{font-family:iconfont;src:ur
997
1018
  /* harmony default export */ __webpack_exports__.A = (___CSS_LOADER_EXPORT___);
998
1019
 
999
1020
 
1021
+ /***/ }),
1022
+
1023
+ /***/ 983:
1024
+ /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
1025
+
1026
+ // style-loader: Adds some css to the DOM by adding a <style> tag
1027
+
1028
+ // load the styles
1029
+ var content = __webpack_require__(659);
1030
+ if(content.__esModule) content = content.default;
1031
+ if(typeof content === 'string') content = [[module.id, content, '']];
1032
+ if(content.locals) module.exports = content.locals;
1033
+ // add the styles to the DOM
1034
+ var add = (__webpack_require__(258)/* ["default"] */ .A)
1035
+ var update = add("392959d4", content, true, {"sourceMap":false,"shadowMode":false});
1036
+
1000
1037
  /***/ }),
1001
1038
 
1002
1039
  /***/ 999:
@@ -1158,54 +1195,156 @@ if (typeof window !== 'undefined') {
1158
1195
  // Indicate to webpack that this file can be concatenated
1159
1196
  /* harmony default export */ var setPublicPath = (null);
1160
1197
 
1161
- ;// ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-82.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./package/SpeechRecognition/index.vue?vue&type=template&id=87642bf4&scoped=true
1198
+ ;// ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-82.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./package/SpeechRecognition/index.vue?vue&type=template&id=05342d1e
1199
+ var render = function render() {
1200
+ var _vm = this,
1201
+ _c = _vm._self._c;
1202
+ return _c('div', {
1203
+ staticClass: "yx-speech-recognition"
1204
+ }, [_vm.isLeaderPc ? _c('LeaderCpt', {
1205
+ attrs: {
1206
+ "version": _vm.version
1207
+ }
1208
+ }) : _c('IotCpt', {
1209
+ attrs: {
1210
+ "imgPosition": _vm.imgPosition,
1211
+ "boxPosition": _vm.boxPosition,
1212
+ "boxSize": _vm.boxSize,
1213
+ "size": _vm.size,
1214
+ "screenType": _vm.screenType,
1215
+ "isPro": _vm.isPro,
1216
+ "version": _vm.version
1217
+ }
1218
+ })], 1);
1219
+ };
1220
+ var staticRenderFns = [];
1221
+
1222
+ ;// ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-82.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./package/SpeechRecognition/cpts/IotCpt.vue?vue&type=template&id=03712d72&scoped=true
1162
1223
  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); }
1163
1224
  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; }
1164
1225
  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; }
1165
1226
  function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
1166
1227
  function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
1167
1228
  function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
1168
- var render = function render() {
1229
+ var IotCptvue_type_template_id_03712d72_scoped_true_render = function render() {
1169
1230
  var _vm = this,
1170
1231
  _c = _vm._self._c;
1171
- return _c('div', {
1172
- staticClass: "yx-speech-recognition"
1173
- }, [_vm.isLeaderPc ? [_c('div', {
1232
+ return _c('div', [_vm.boxShow ? _c('div', {
1174
1233
  directives: [{
1175
- name: "LeaderDrag",
1176
- rawName: "v-LeaderDrag"
1234
+ name: "Drag",
1235
+ rawName: "v-Drag"
1177
1236
  }],
1178
- staticClass: "leader-box"
1237
+ staticClass: "box",
1238
+ style: _objectSpread(_objectSpread({}, _vm.windowStyle), _vm.boxSize)
1179
1239
  }, [_c('div', {
1180
1240
  staticClass: "title drag-header"
1181
- }, [_c('div', {
1182
- staticClass: "title-left"
1241
+ }, [_vm._m(0), _c('span', {
1242
+ staticClass: "iconfont icon-close close closeBtn",
1243
+ on: {
1244
+ "click": _vm.closeClick
1245
+ }
1183
1246
  }, [_c('img', {
1184
1247
  attrs: {
1185
- "src": __webpack_require__(62),
1186
- "alt": ""
1248
+ "src": __webpack_require__(780)
1249
+ }
1250
+ })])]), _vm.messagesList.length == 0 ? _c('div', {
1251
+ staticClass: "content"
1252
+ }, [_c('span', [_vm._v(_vm._s(_vm.boxTitle))])]) : _c('div', {
1253
+ staticClass: "message-list"
1254
+ }, [_c('div', {
1255
+ staticClass: "message-list-inner",
1256
+ attrs: {
1257
+ "id": "messageListRef"
1258
+ }
1259
+ }, _vm._l(_vm.messagesList, function (item) {
1260
+ return _c('Message', _vm._b({
1261
+ key: item.id,
1262
+ attrs: {
1263
+ "size": _vm.size
1264
+ }
1265
+ }, 'Message', item, false));
1266
+ }), 1)]), _c('div', {
1267
+ staticClass: "inputContainer"
1268
+ }, [_c('input', {
1269
+ directives: [{
1270
+ name: "model",
1271
+ rawName: "v-model",
1272
+ value: _vm.inputContent,
1273
+ expression: "inputContent"
1274
+ }],
1275
+ staticClass: "inputBox",
1276
+ attrs: {
1277
+ "placeholder": "请输入内容"
1278
+ },
1279
+ domProps: {
1280
+ "value": _vm.inputContent
1187
1281
  },
1188
1282
  on: {
1189
- "click": _vm.testClick
1283
+ "keyup": function keyup($event) {
1284
+ if (!$event.type.indexOf('key') && _vm._k($event.keyCode, "enter", 13, $event.key, "Enter")) return null;
1285
+ return _vm.submitText.apply(null, arguments);
1286
+ },
1287
+ "input": function input($event) {
1288
+ if ($event.target.composing) return;
1289
+ _vm.inputContent = $event.target.value;
1290
+ }
1190
1291
  }
1191
- }), _c('span', {
1192
- staticClass: "title-text"
1193
- }, [_vm._v("小安助手")])]), !_vm.isShowContent && _vm.isReading ? _c('div', {
1194
- staticClass: "title-broadcast-text"
1195
- }, [_c('span', {
1196
- staticClass: "broadcast-text-point"
1197
- }, [_vm._v("...")]), _c('span', {
1198
- staticClass: "broadcast-text"
1199
- }, [_vm._v("正在播报")])]) : _vm._e(), _c('span', {
1200
- class: ['iconfont fold', _vm.isShowContent ? '' : 'isfold'],
1292
+ }), _c('div', {
1293
+ staticClass: "inputButton",
1201
1294
  on: {
1202
- "click": _vm.onClickFold
1295
+ "click": _vm.submitText
1203
1296
  }
1204
1297
  }, [_c('img', {
1205
1298
  attrs: {
1206
- "src": __webpack_require__(823)
1299
+ "src": __webpack_require__(462),
1300
+ "alt": ""
1207
1301
  }
1208
- })])]), !_vm.isShowContent && (_vm.bubbleBoxTitle || _vm.bubbleBoxQuestion || _vm.streamItems.length > 0) ? _c('div', {
1302
+ })])]), _c('div', {
1303
+ staticClass: "input-select dropdown"
1304
+ }, [_c('div', {
1305
+ staticClass: "dropdown-btn",
1306
+ on: {
1307
+ "click": _vm.toggleModal
1308
+ }
1309
+ }, [_vm._v(_vm._s(_vm.mode))]), _c('div', {
1310
+ directives: [{
1311
+ name: "show",
1312
+ rawName: "v-show",
1313
+ value: _vm.isShowSelect,
1314
+ expression: "isShowSelect"
1315
+ }],
1316
+ staticClass: "dropdown-options"
1317
+ }, _vm._l(_vm.options, function (option) {
1318
+ return _c('div', {
1319
+ key: option.value,
1320
+ staticClass: "dropdown-item",
1321
+ class: {
1322
+ selected: _vm.mode === option.value
1323
+ },
1324
+ on: {
1325
+ "click": function click($event) {
1326
+ return _vm.selectModal(option);
1327
+ }
1328
+ }
1329
+ }, [_vm._v(" " + _vm._s(option.label) + " ")]);
1330
+ }), 0)])]) : _vm._e(), _c('div', {
1331
+ directives: [{
1332
+ name: "DragBubble",
1333
+ rawName: "v-DragBubble"
1334
+ }],
1335
+ staticClass: "displayAssistant",
1336
+ style: _vm.bubbleStyle
1337
+ }, [_c('div', {
1338
+ staticClass: "icon1 drag-bubble-header"
1339
+ }, [_c('img', {
1340
+ attrs: {
1341
+ "src": "http://10.99.16.155:8995/mysb/l/main/app/assets/png/icon8-BTvF9JNL.png",
1342
+ "alt": ""
1343
+ },
1344
+ on: {
1345
+ "click": _vm.handleSpeechClick
1346
+ }
1347
+ })]), _vm.bubbleBoxTitle || _vm.bubbleBoxQuestion || _vm.streamItems.length > 0 ? _c('div', {
1209
1348
  staticClass: "bubbleBox"
1210
1349
  }, [_vm.bubbleBoxQuestion ? _c('div', {
1211
1350
  staticClass: "bubbleBox-title",
@@ -1265,387 +1404,119 @@ var render = function render() {
1265
1404
  }, [_vm._v(_vm._s(index2 + 1))]), _c('div', {
1266
1405
  staticClass: "item-box-content"
1267
1406
  }, [_c('div', [_vm._v(_vm._s(item2))])])]);
1268
- })], 2)]) : _vm._e()]) : _vm._e(), _c('div', {
1407
+ })], 2)]) : _vm._e()]) : _c('div', {
1269
1408
  directives: [{
1270
1409
  name: "show",
1271
1410
  rawName: "v-show",
1272
- value: _vm.isShowContent,
1273
- expression: "isShowContent"
1411
+ value: _vm.isShowPopover,
1412
+ expression: "isShowPopover"
1274
1413
  }],
1275
- class: ['leader-box-content', {
1276
- 'leader-box-content-empty': _vm.messagesList.length == 0
1277
- }]
1278
- }, [_c('div', {
1279
- staticClass: "message-list"
1280
- }, [_vm.messagesList.length > 0 ? [_c('div', {
1281
- staticClass: "message-list-inner",
1282
- attrs: {
1283
- "id": "messageListRef"
1284
- }
1285
- }, _vm._l(_vm.messagesList, function (item) {
1286
- return _c('LeaderMessage', _vm._b({
1287
- key: item.id,
1288
- attrs: {
1289
- "size": _vm.size
1290
- },
1291
- on: {
1292
- "clickRecommendation": _vm.onclickRecommendation
1293
- }
1294
- }, 'LeaderMessage', item, false));
1295
- }), 1)] : [_c('div', {
1296
- staticClass: "message-list-empty"
1297
- }, [_c('div', [_vm._v("书记您好,您可以这样问我:")]), _vm.emptyRecommendation.length > 0 ? _vm._l(_vm.emptyRecommendation, function (c, i) {
1298
- return _c('div', {
1299
- key: i,
1300
- staticClass: "recommendation-text",
1301
- on: {
1302
- "click": function click($event) {
1303
- return _vm.onclickRecommendation(c);
1304
- }
1305
- }
1306
- }, [_vm._v(_vm._s(i + 1) + ". " + _vm._s(c))]);
1307
- }) : [_c('div', {
1308
- staticClass: "recommendation-text",
1309
- on: {
1310
- "click": function click($event) {
1311
- return _vm.onclickRecommendation('哪里有水涝事件?');
1312
- }
1313
- }
1314
- }, [_vm._v("1. 哪里有水涝事件?")])], _vm._m(0)], 2)]], 2), _c('div', {
1315
- staticClass: "leader-inputContainer"
1316
- }, [_c('input', {
1317
- directives: [{
1318
- name: "model",
1319
- rawName: "v-model",
1320
- value: _vm.inputContent,
1321
- expression: "inputContent"
1322
- }],
1323
- staticClass: "inputBox",
1324
- attrs: {
1325
- "placeholder": "请输入您的问题"
1326
- },
1327
- domProps: {
1328
- "value": _vm.inputContent
1329
- },
1330
- on: {
1331
- "keyup": function keyup($event) {
1332
- if (!$event.type.indexOf('key') && _vm._k($event.keyCode, "enter", 13, $event.key, "Enter")) return null;
1333
- return _vm.submitText.apply(null, arguments);
1334
- },
1335
- "input": function input($event) {
1336
- if ($event.target.composing) return;
1337
- _vm.inputContent = $event.target.value;
1338
- }
1339
- }
1340
- }), _c('div', {
1341
- staticClass: "inputButton",
1342
- on: {
1343
- "click": _vm.submitText
1344
- }
1414
+ staticClass: "bubbleBox"
1415
+ }, [_vm._m(1)])])]);
1416
+ };
1417
+ var IotCptvue_type_template_id_03712d72_scoped_true_staticRenderFns = [function () {
1418
+ var _vm = this,
1419
+ _c = _vm._self._c;
1420
+ return _c('div', {
1421
+ staticClass: "title-icon"
1345
1422
  }, [_c('img', {
1346
1423
  attrs: {
1347
1424
  "src": __webpack_require__(344),
1348
1425
  "alt": ""
1349
1426
  }
1350
- })])])])])] : [_vm.boxShow ? _c('div', {
1351
- directives: [{
1352
- name: "Drag",
1353
- rawName: "v-Drag"
1354
- }],
1355
- staticClass: "box",
1356
- style: _objectSpread(_objectSpread({}, _vm.windowStyle), _vm.boxSize)
1357
- }, [_c('div', {
1358
- staticClass: "title drag-header"
1359
- }, [_vm._m(1), _c('span', {
1360
- staticClass: "iconfont icon-close close closeBtn",
1361
- on: {
1362
- "click": _vm.closeClick
1363
- }
1364
- }, [_c('img', {
1365
- attrs: {
1366
- "src": __webpack_require__(780)
1367
- }
1368
- })])]), _vm.messagesList.length == 0 ? _c('div', {
1369
- staticClass: "content"
1370
- }, [_c('span', [_vm._v(_vm._s(_vm.boxTitle))])]) : _c('div', {
1371
- staticClass: "message-list"
1372
- }, [_c('div', {
1373
- staticClass: "message-list-inner",
1374
- attrs: {
1375
- "id": "messageListRef"
1376
- }
1377
- }, _vm._l(_vm.messagesList, function (item) {
1378
- return _c('Message', _vm._b({
1379
- key: item.id,
1380
- attrs: {
1381
- "size": _vm.size
1382
- }
1383
- }, 'Message', item, false));
1384
- }), 1)]), _c('div', {
1385
- staticClass: "inputContainer"
1386
- }, [_c('input', {
1387
- directives: [{
1388
- name: "model",
1389
- rawName: "v-model",
1390
- value: _vm.inputContent,
1391
- expression: "inputContent"
1392
- }],
1393
- staticClass: "inputBox",
1394
- attrs: {
1395
- "placeholder": "请输入内容"
1396
- },
1397
- domProps: {
1398
- "value": _vm.inputContent
1399
- },
1400
- on: {
1401
- "keyup": function keyup($event) {
1402
- if (!$event.type.indexOf('key') && _vm._k($event.keyCode, "enter", 13, $event.key, "Enter")) return null;
1403
- return _vm.submitText.apply(null, arguments);
1427
+ }), _c('span', [_vm._v("小安助手")])]);
1428
+ }, function () {
1429
+ var _vm = this,
1430
+ _c = _vm._self._c;
1431
+ return _c('div', {
1432
+ staticClass: "bubbleBox-title bubbleBox-title-hi"
1433
+ }, [_c('span', [_vm._v("Hi,我是小安,有问题,尽管问。")])]);
1434
+ }];
1435
+
1436
+ ;// ./package/SpeechRecognition/cpts/IotCpt.vue?vue&type=template&id=03712d72&scoped=true
1437
+
1438
+ ;// ./node_modules/marked/lib/marked.esm.js
1439
+ var _Class3;
1440
+ function marked_esm_typeof(o) { "@babel/helpers - typeof"; return marked_esm_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; }, marked_esm_typeof(o); }
1441
+ function _regeneratorRuntime() { "use strict"; /*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/babel/babel/blob/main/packages/babel-helpers/LICENSE */ _regeneratorRuntime = function _regeneratorRuntime() { return r; }; var t, r = {}, e = Object.prototype, n = e.hasOwnProperty, o = "function" == typeof Symbol ? Symbol : {}, i = o.iterator || "@@iterator", a = o.asyncIterator || "@@asyncIterator", u = o.toStringTag || "@@toStringTag"; function c(t, r, e, n) { return Object.defineProperty(t, r, { value: e, enumerable: !n, configurable: !n, writable: !n }); } try { c({}, ""); } catch (t) { c = function c(t, r, e) { return t[r] = e; }; } function h(r, e, n, o) { var i = e && e.prototype instanceof Generator ? e : Generator, a = Object.create(i.prototype); return c(a, "_invoke", function (r, e, n) { var o = 1; return function (i, a) { if (3 === o) throw Error("Generator is already running"); if (4 === o) { if ("throw" === i) throw a; return { value: t, done: !0 }; } for (n.method = i, n.arg = a;;) { var u = n.delegate; if (u) { var c = d(u, n); if (c) { if (c === f) continue; return c; } } if ("next" === n.method) n.sent = n._sent = n.arg;else if ("throw" === n.method) { if (1 === o) throw o = 4, n.arg; n.dispatchException(n.arg); } else "return" === n.method && n.abrupt("return", n.arg); o = 3; var h = s(r, e, n); if ("normal" === h.type) { if (o = n.done ? 4 : 2, h.arg === f) continue; return { value: h.arg, done: n.done }; } "throw" === h.type && (o = 4, n.method = "throw", n.arg = h.arg); } }; }(r, n, new Context(o || [])), !0), a; } function s(t, r, e) { try { return { type: "normal", arg: t.call(r, e) }; } catch (t) { return { type: "throw", arg: t }; } } r.wrap = h; var f = {}; function Generator() {} function GeneratorFunction() {} function GeneratorFunctionPrototype() {} var l = {}; c(l, i, function () { return this; }); var p = Object.getPrototypeOf, y = p && p(p(x([]))); y && y !== e && n.call(y, i) && (l = y); var v = GeneratorFunctionPrototype.prototype = Generator.prototype = Object.create(l); function g(t) { ["next", "throw", "return"].forEach(function (r) { c(t, r, function (t) { return this._invoke(r, t); }); }); } function AsyncIterator(t, r) { function e(o, i, a, u) { var c = s(t[o], t, i); if ("throw" !== c.type) { var h = c.arg, f = h.value; return f && "object" == marked_esm_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(marked_esm_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; }
1442
+ function asyncGeneratorStep(n, t, e, r, o, a, c) { try { var i = n[a](c), u = i.value; } catch (n) { return void e(n); } i.done ? t(u) : Promise.resolve(u).then(r, o); }
1443
+ function _asyncToGenerator(n) { return function () { var t = this, e = arguments; return new Promise(function (r, o) { var a = n.apply(t, e); function _next(n) { asyncGeneratorStep(a, r, o, _next, _throw, "next", n); } function _throw(n) { asyncGeneratorStep(a, r, o, _next, _throw, "throw", n); } _next(void 0); }); }; }
1444
+ function _toConsumableArray(r) { return _arrayWithoutHoles(r) || _iterableToArray(r) || _unsupportedIterableToArray(r) || _nonIterableSpread(); }
1445
+ function _nonIterableSpread() { throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
1446
+ function _iterableToArray(r) { if ("undefined" != typeof Symbol && null != r[Symbol.iterator] || null != r["@@iterator"]) return Array.from(r); }
1447
+ function _arrayWithoutHoles(r) { if (Array.isArray(r)) return _arrayLikeToArray(r); }
1448
+ function _classCallCheck(a, n) { if (!(a instanceof n)) throw new TypeError("Cannot call a class as a function"); }
1449
+ function _defineProperties(e, r) { for (var t = 0; t < r.length; t++) { var o = r[t]; o.enumerable = o.enumerable || !1, o.configurable = !0, "value" in o && (o.writable = !0), Object.defineProperty(e, marked_esm_toPropertyKey(o.key), o); } }
1450
+ function _createClass(e, r, t) { return r && _defineProperties(e.prototype, r), t && _defineProperties(e, t), Object.defineProperty(e, "prototype", { writable: !1 }), e; }
1451
+ function _slicedToArray(r, e) { return _arrayWithHoles(r) || _iterableToArrayLimit(r, e) || _unsupportedIterableToArray(r, e) || _nonIterableRest(); }
1452
+ function _nonIterableRest() { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
1453
+ function _iterableToArrayLimit(r, l) { var t = null == r ? null : "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (null != t) { var e, n, i, u, a = [], f = !0, o = !1; try { if (i = (t = t.call(r)).next, 0 === l) { if (Object(t) !== t) return; f = !1; } else for (; !(f = (e = i.call(t)).done) && (a.push(e.value), a.length !== l); f = !0); } catch (r) { o = !0, n = r; } finally { try { if (!f && null != t.return && (u = t.return(), Object(u) !== u)) return; } finally { if (o) throw n; } } return a; } }
1454
+ function _arrayWithHoles(r) { if (Array.isArray(r)) return r; }
1455
+ function _createForOfIteratorHelper(r, e) { var t = "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (!t) { if (Array.isArray(r) || (t = _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; } } }; }
1456
+ function _unsupportedIterableToArray(r, a) { if (r) { if ("string" == typeof r) return _arrayLikeToArray(r, a); var t = {}.toString.call(r).slice(8, -1); return "Object" === t && r.constructor && (t = r.constructor.name), "Map" === t || "Set" === t ? Array.from(r) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? _arrayLikeToArray(r, a) : void 0; } }
1457
+ function _arrayLikeToArray(r, a) { (null == a || a > r.length) && (a = r.length); for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e]; return n; }
1458
+ function _wrapRegExp() { _wrapRegExp = function _wrapRegExp(e, r) { return new BabelRegExp(e, void 0, r); }; var e = RegExp.prototype, r = new WeakMap(); function BabelRegExp(e, t, p) { var o = RegExp(e, t); return r.set(o, p || r.get(e)), _setPrototypeOf(o, BabelRegExp.prototype); } function buildGroups(e, t) { var p = r.get(t); return Object.keys(p).reduce(function (r, t) { var o = p[t]; if ("number" == typeof o) r[t] = e[o];else { for (var i = 0; void 0 === e[o[i]] && i + 1 < o.length;) i++; r[t] = e[o[i]]; } return r; }, Object.create(null)); } return _inherits(BabelRegExp, RegExp), BabelRegExp.prototype.exec = function (r) { var t = e.exec.call(this, r); if (t) { t.groups = buildGroups(t, this); var p = t.indices; p && (p.groups = buildGroups(p, this)); } return t; }, BabelRegExp.prototype[Symbol.replace] = function (t, p) { if ("string" == typeof p) { var o = r.get(this); return e[Symbol.replace].call(this, t, p.replace(/\$<([^>]+)(>|$)/g, function (e, r, t) { if ("" === t) return e; var p = o[r]; return Array.isArray(p) ? "$" + p.join("$") : "number" == typeof p ? "$" + p : ""; })); } if ("function" == typeof p) { var i = this; return e[Symbol.replace].call(this, t, function () { var e = arguments; return "object" != marked_esm_typeof(e[e.length - 1]) && (e = [].slice.call(e)).push(buildGroups(e, i)), p.apply(this, e); }); } return e[Symbol.replace].call(this, t, p); }, _wrapRegExp.apply(this, arguments); }
1459
+ function _inherits(t, e) { if ("function" != typeof e && null !== e) throw new TypeError("Super expression must either be null or a function"); t.prototype = Object.create(e && e.prototype, { constructor: { value: t, writable: !0, configurable: !0 } }), Object.defineProperty(t, "prototype", { writable: !1 }), e && _setPrototypeOf(t, e); }
1460
+ function _setPrototypeOf(t, e) { return _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function (t, e) { return t.__proto__ = e, t; }, _setPrototypeOf(t, e); }
1461
+ function marked_esm_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; }
1462
+ function marked_esm_objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? marked_esm_ownKeys(Object(t), !0).forEach(function (r) { marked_esm_defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : marked_esm_ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
1463
+ function marked_esm_defineProperty(e, r, t) { return (r = marked_esm_toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
1464
+ function marked_esm_toPropertyKey(t) { var i = marked_esm_toPrimitive(t, "string"); return "symbol" == marked_esm_typeof(i) ? i : i + ""; }
1465
+ function marked_esm_toPrimitive(t, r) { if ("object" != marked_esm_typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != marked_esm_typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
1466
+ /**
1467
+ * marked v17.0.3 - a markdown parser
1468
+ * Copyright (c) 2018-2026, MarkedJS. (MIT License)
1469
+ * Copyright (c) 2011-2018, Christopher Jeffrey. (MIT License)
1470
+ * https://github.com/markedjs/marked
1471
+ */
1472
+
1473
+ /**
1474
+ * DO NOT EDIT THIS FILE
1475
+ * The code in this file is generated from files in ./src/
1476
+ */
1477
+
1478
+ function M() {
1479
+ return {
1480
+ async: !1,
1481
+ breaks: !1,
1482
+ extensions: null,
1483
+ gfm: !0,
1484
+ hooks: null,
1485
+ pedantic: !1,
1486
+ renderer: null,
1487
+ silent: !1,
1488
+ tokenizer: null,
1489
+ walkTokens: null
1490
+ };
1491
+ }
1492
+ var T = M();
1493
+ function H(u) {
1494
+ T = u;
1495
+ }
1496
+ var _ = {
1497
+ exec: function exec() {
1498
+ return null;
1499
+ }
1500
+ };
1501
+ function k(u) {
1502
+ var e = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : "";
1503
+ var t = typeof u == "string" ? u : u.source,
1504
+ n = {
1505
+ replace: function replace(r, i) {
1506
+ var s = typeof i == "string" ? i : i.source;
1507
+ return s = s.replace(m.caret, "$1"), t = t.replace(r, s), n;
1404
1508
  },
1405
- "input": function input($event) {
1406
- if ($event.target.composing) return;
1407
- _vm.inputContent = $event.target.value;
1509
+ getRegex: function getRegex() {
1510
+ return new RegExp(t, e);
1408
1511
  }
1409
- }
1410
- }), _c('div', {
1411
- staticClass: "inputButton",
1412
- on: {
1413
- "click": _vm.submitText
1414
- }
1415
- }, [_c('img', {
1416
- attrs: {
1417
- "src": __webpack_require__(462),
1418
- "alt": ""
1419
- }
1420
- })])]), _c('div', {
1421
- staticClass: "input-select dropdown"
1422
- }, [_c('div', {
1423
- staticClass: "dropdown-btn",
1424
- on: {
1425
- "click": _vm.toggleModal
1426
- }
1427
- }, [_vm._v(_vm._s(_vm.mode))]), _c('div', {
1428
- directives: [{
1429
- name: "show",
1430
- rawName: "v-show",
1431
- value: _vm.isShowSelect,
1432
- expression: "isShowSelect"
1433
- }],
1434
- staticClass: "dropdown-options"
1435
- }, _vm._l(_vm.options, function (option) {
1436
- return _c('div', {
1437
- key: option.value,
1438
- staticClass: "dropdown-item",
1439
- class: {
1440
- selected: _vm.mode === option.value
1441
- },
1442
- on: {
1443
- "click": function click($event) {
1444
- return _vm.selectModal(option);
1445
- }
1446
- }
1447
- }, [_vm._v(" " + _vm._s(option.label) + " ")]);
1448
- }), 0)])]) : _vm._e(), _c('div', {
1449
- directives: [{
1450
- name: "DragBubble",
1451
- rawName: "v-DragBubble"
1452
- }],
1453
- staticClass: "displayAssistant",
1454
- style: _vm.bubbleStyle
1455
- }, [_c('div', {
1456
- staticClass: "icon1 drag-bubble-header"
1457
- }, [_c('img', {
1458
- attrs: {
1459
- "src": "http://10.99.16.155:8995/mysb/l/main/app/assets/png/icon8-BTvF9JNL.png",
1460
- "alt": ""
1461
- },
1462
- on: {
1463
- "click": _vm.handleSpeechClick
1464
- }
1465
- })]), _vm.bubbleBoxTitle || _vm.bubbleBoxQuestion || _vm.streamItems.length > 0 ? _c('div', {
1466
- staticClass: "bubbleBox"
1467
- }, [_vm.bubbleBoxQuestion ? _c('div', {
1468
- staticClass: "bubbleBox-title",
1469
- class: {
1470
- 'bubbleBox-to': true
1471
- }
1472
- }, [_c('span', {
1473
- staticClass: "html-content",
1474
- domProps: {
1475
- "innerHTML": _vm._s(_vm.bubbleBoxQuestion)
1476
- }
1477
- })]) : _vm._e(), _vm.bubbleBoxTitle ? _c('div', {
1478
- staticClass: "bubbleBox-title"
1479
- }, [_c('span', {
1480
- staticClass: "html-content",
1481
- domProps: {
1482
- "innerHTML": _vm._s(_vm.bubbleBoxTitle)
1483
- }
1484
- }), _vm.bubbleBoxBackList.length ? _c('span', {
1485
- staticClass: "box-container"
1486
- }, [_vm._l(_vm.bubbleBoxBackList, function (item1, index1) {
1487
- return item1.name ? _c('span', {
1488
- staticClass: "item-box"
1489
- }, [_c('div', {
1490
- staticClass: "item-box-index"
1491
- }, [_vm._v(_vm._s(item1.index ? item1.index : index1 + 1))]), _c('div', {
1492
- staticClass: "item-box-content"
1493
- }, [_c('div', [item1.label ? _c('span', {
1494
- staticClass: "item-box-label",
1495
- style: {
1496
- background: item1.label_color ? item1.label_color : '#0086BB'
1497
- }
1498
- }, [_vm._v(_vm._s(item1.label))]) : _vm._e(), _vm._v(" " + _vm._s(item1.name) + " ")]), _c('div', {
1499
- staticClass: "item-box-descriptions"
1500
- }, [_vm._v(_vm._s(item1 === null || item1 === void 0 ? void 0 : item1.address))])])]) : _vm._e();
1501
- }), _c('span', {
1502
- staticStyle: {
1503
- "display": "flex",
1504
- "justify-content": "end"
1505
- }
1506
- }, [_vm.showPrevPage ? _c('span', [_vm._v("上一页")]) : _vm._e(), _vm.showNextPage ? _c('span', {
1507
- staticClass: "mr-l-20"
1508
- }, [_vm._v("下一页")]) : _vm._e()])], 2) : _vm._e()]) : _vm._e(), _vm.streamItems.length > 0 && !_vm.bubbleBoxTitle ? _c('div', {
1509
- staticClass: "bubbleBox-title"
1510
- }, [_c('span', [_c('StreamInput', {
1511
- attrs: {
1512
- "items": _vm.streamItems,
1513
- "size": _vm.size
1514
- }
1515
- })], 1)]) : _vm._e(), _vm.bubbleBoxRecommandList.length ? _c('div', {
1516
- staticClass: "bubbleBox-suggest"
1517
- }, [_c('span', [_c('span', [_vm._v("您可能想了解:")]), _vm._l(_vm.bubbleBoxRecommandList, function (item2, index2) {
1518
- return _c('span', {
1519
- staticClass: "item-box"
1520
- }, [_c('div', {
1521
- staticClass: "item-box-index"
1522
- }, [_vm._v(_vm._s(index2 + 1))]), _c('div', {
1523
- staticClass: "item-box-content"
1524
- }, [_c('div', [_vm._v(_vm._s(item2))])])]);
1525
- })], 2)]) : _vm._e()]) : _c('div', {
1526
- directives: [{
1527
- name: "show",
1528
- rawName: "v-show",
1529
- value: _vm.isShowPopover,
1530
- expression: "isShowPopover"
1531
- }],
1532
- staticClass: "bubbleBox"
1533
- }, [_vm._m(2)])])]], 2);
1534
- };
1535
- var staticRenderFns = [function () {
1536
- var _vm = this,
1537
- _c = _vm._self._c;
1538
- return _c('div', {
1539
- staticClass: "recommendation-tip"
1540
- }, [_c('img', {
1541
- attrs: {
1542
- "src": __webpack_require__(594),
1543
- "alt": ""
1544
- }
1545
- }), _c('span', [_vm._v("您也可以在左上角切换场景主题。")])]);
1546
- }, function () {
1547
- var _vm = this,
1548
- _c = _vm._self._c;
1549
- return _c('div', {
1550
- staticClass: "title-icon"
1551
- }, [_c('img', {
1552
- attrs: {
1553
- "src": __webpack_require__(963),
1554
- "alt": ""
1555
- }
1556
- }), _c('span', [_vm._v("小安助手")])]);
1557
- }, function () {
1558
- var _vm = this,
1559
- _c = _vm._self._c;
1560
- return _c('div', {
1561
- staticClass: "bubbleBox-title bubbleBox-title-hi"
1562
- }, [_c('span', [_vm._v("Hi,我是小安,有问题,尽管问。")])]);
1563
- }];
1564
-
1565
- ;// ./package/SpeechRecognition/index.vue?vue&type=template&id=87642bf4&scoped=true
1566
-
1567
- ;// ./node_modules/marked/lib/marked.esm.js
1568
- var _Class3;
1569
- function marked_esm_typeof(o) { "@babel/helpers - typeof"; return marked_esm_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; }, marked_esm_typeof(o); }
1570
- function _regeneratorRuntime() { "use strict"; /*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/babel/babel/blob/main/packages/babel-helpers/LICENSE */ _regeneratorRuntime = function _regeneratorRuntime() { return r; }; var t, r = {}, e = Object.prototype, n = e.hasOwnProperty, o = "function" == typeof Symbol ? Symbol : {}, i = o.iterator || "@@iterator", a = o.asyncIterator || "@@asyncIterator", u = o.toStringTag || "@@toStringTag"; function c(t, r, e, n) { return Object.defineProperty(t, r, { value: e, enumerable: !n, configurable: !n, writable: !n }); } try { c({}, ""); } catch (t) { c = function c(t, r, e) { return t[r] = e; }; } function h(r, e, n, o) { var i = e && e.prototype instanceof Generator ? e : Generator, a = Object.create(i.prototype); return c(a, "_invoke", function (r, e, n) { var o = 1; return function (i, a) { if (3 === o) throw Error("Generator is already running"); if (4 === o) { if ("throw" === i) throw a; return { value: t, done: !0 }; } for (n.method = i, n.arg = a;;) { var u = n.delegate; if (u) { var c = d(u, n); if (c) { if (c === f) continue; return c; } } if ("next" === n.method) n.sent = n._sent = n.arg;else if ("throw" === n.method) { if (1 === o) throw o = 4, n.arg; n.dispatchException(n.arg); } else "return" === n.method && n.abrupt("return", n.arg); o = 3; var h = s(r, e, n); if ("normal" === h.type) { if (o = n.done ? 4 : 2, h.arg === f) continue; return { value: h.arg, done: n.done }; } "throw" === h.type && (o = 4, n.method = "throw", n.arg = h.arg); } }; }(r, n, new Context(o || [])), !0), a; } function s(t, r, e) { try { return { type: "normal", arg: t.call(r, e) }; } catch (t) { return { type: "throw", arg: t }; } } r.wrap = h; var f = {}; function Generator() {} function GeneratorFunction() {} function GeneratorFunctionPrototype() {} var l = {}; c(l, i, function () { return this; }); var p = Object.getPrototypeOf, y = p && p(p(x([]))); y && y !== e && n.call(y, i) && (l = y); var v = GeneratorFunctionPrototype.prototype = Generator.prototype = Object.create(l); function g(t) { ["next", "throw", "return"].forEach(function (r) { c(t, r, function (t) { return this._invoke(r, t); }); }); } function AsyncIterator(t, r) { function e(o, i, a, u) { var c = s(t[o], t, i); if ("throw" !== c.type) { var h = c.arg, f = h.value; return f && "object" == marked_esm_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(marked_esm_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; }
1571
- function asyncGeneratorStep(n, t, e, r, o, a, c) { try { var i = n[a](c), u = i.value; } catch (n) { return void e(n); } i.done ? t(u) : Promise.resolve(u).then(r, o); }
1572
- function _asyncToGenerator(n) { return function () { var t = this, e = arguments; return new Promise(function (r, o) { var a = n.apply(t, e); function _next(n) { asyncGeneratorStep(a, r, o, _next, _throw, "next", n); } function _throw(n) { asyncGeneratorStep(a, r, o, _next, _throw, "throw", n); } _next(void 0); }); }; }
1573
- function _toConsumableArray(r) { return _arrayWithoutHoles(r) || _iterableToArray(r) || _unsupportedIterableToArray(r) || _nonIterableSpread(); }
1574
- function _nonIterableSpread() { throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
1575
- function _iterableToArray(r) { if ("undefined" != typeof Symbol && null != r[Symbol.iterator] || null != r["@@iterator"]) return Array.from(r); }
1576
- function _arrayWithoutHoles(r) { if (Array.isArray(r)) return _arrayLikeToArray(r); }
1577
- function _classCallCheck(a, n) { if (!(a instanceof n)) throw new TypeError("Cannot call a class as a function"); }
1578
- function _defineProperties(e, r) { for (var t = 0; t < r.length; t++) { var o = r[t]; o.enumerable = o.enumerable || !1, o.configurable = !0, "value" in o && (o.writable = !0), Object.defineProperty(e, marked_esm_toPropertyKey(o.key), o); } }
1579
- function _createClass(e, r, t) { return r && _defineProperties(e.prototype, r), t && _defineProperties(e, t), Object.defineProperty(e, "prototype", { writable: !1 }), e; }
1580
- function _slicedToArray(r, e) { return _arrayWithHoles(r) || _iterableToArrayLimit(r, e) || _unsupportedIterableToArray(r, e) || _nonIterableRest(); }
1581
- function _nonIterableRest() { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
1582
- function _iterableToArrayLimit(r, l) { var t = null == r ? null : "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (null != t) { var e, n, i, u, a = [], f = !0, o = !1; try { if (i = (t = t.call(r)).next, 0 === l) { if (Object(t) !== t) return; f = !1; } else for (; !(f = (e = i.call(t)).done) && (a.push(e.value), a.length !== l); f = !0); } catch (r) { o = !0, n = r; } finally { try { if (!f && null != t.return && (u = t.return(), Object(u) !== u)) return; } finally { if (o) throw n; } } return a; } }
1583
- function _arrayWithHoles(r) { if (Array.isArray(r)) return r; }
1584
- function _createForOfIteratorHelper(r, e) { var t = "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (!t) { if (Array.isArray(r) || (t = _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; } } }; }
1585
- function _unsupportedIterableToArray(r, a) { if (r) { if ("string" == typeof r) return _arrayLikeToArray(r, a); var t = {}.toString.call(r).slice(8, -1); return "Object" === t && r.constructor && (t = r.constructor.name), "Map" === t || "Set" === t ? Array.from(r) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? _arrayLikeToArray(r, a) : void 0; } }
1586
- function _arrayLikeToArray(r, a) { (null == a || a > r.length) && (a = r.length); for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e]; return n; }
1587
- function _wrapRegExp() { _wrapRegExp = function _wrapRegExp(e, r) { return new BabelRegExp(e, void 0, r); }; var e = RegExp.prototype, r = new WeakMap(); function BabelRegExp(e, t, p) { var o = RegExp(e, t); return r.set(o, p || r.get(e)), _setPrototypeOf(o, BabelRegExp.prototype); } function buildGroups(e, t) { var p = r.get(t); return Object.keys(p).reduce(function (r, t) { var o = p[t]; if ("number" == typeof o) r[t] = e[o];else { for (var i = 0; void 0 === e[o[i]] && i + 1 < o.length;) i++; r[t] = e[o[i]]; } return r; }, Object.create(null)); } return _inherits(BabelRegExp, RegExp), BabelRegExp.prototype.exec = function (r) { var t = e.exec.call(this, r); if (t) { t.groups = buildGroups(t, this); var p = t.indices; p && (p.groups = buildGroups(p, this)); } return t; }, BabelRegExp.prototype[Symbol.replace] = function (t, p) { if ("string" == typeof p) { var o = r.get(this); return e[Symbol.replace].call(this, t, p.replace(/\$<([^>]+)(>|$)/g, function (e, r, t) { if ("" === t) return e; var p = o[r]; return Array.isArray(p) ? "$" + p.join("$") : "number" == typeof p ? "$" + p : ""; })); } if ("function" == typeof p) { var i = this; return e[Symbol.replace].call(this, t, function () { var e = arguments; return "object" != marked_esm_typeof(e[e.length - 1]) && (e = [].slice.call(e)).push(buildGroups(e, i)), p.apply(this, e); }); } return e[Symbol.replace].call(this, t, p); }, _wrapRegExp.apply(this, arguments); }
1588
- function _inherits(t, e) { if ("function" != typeof e && null !== e) throw new TypeError("Super expression must either be null or a function"); t.prototype = Object.create(e && e.prototype, { constructor: { value: t, writable: !0, configurable: !0 } }), Object.defineProperty(t, "prototype", { writable: !1 }), e && _setPrototypeOf(t, e); }
1589
- function _setPrototypeOf(t, e) { return _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function (t, e) { return t.__proto__ = e, t; }, _setPrototypeOf(t, e); }
1590
- function marked_esm_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; }
1591
- function marked_esm_objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? marked_esm_ownKeys(Object(t), !0).forEach(function (r) { marked_esm_defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : marked_esm_ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
1592
- function marked_esm_defineProperty(e, r, t) { return (r = marked_esm_toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
1593
- function marked_esm_toPropertyKey(t) { var i = marked_esm_toPrimitive(t, "string"); return "symbol" == marked_esm_typeof(i) ? i : i + ""; }
1594
- function marked_esm_toPrimitive(t, r) { if ("object" != marked_esm_typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != marked_esm_typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
1595
- /**
1596
- * marked v17.0.3 - a markdown parser
1597
- * Copyright (c) 2018-2026, MarkedJS. (MIT License)
1598
- * Copyright (c) 2011-2018, Christopher Jeffrey. (MIT License)
1599
- * https://github.com/markedjs/marked
1600
- */
1601
-
1602
- /**
1603
- * DO NOT EDIT THIS FILE
1604
- * The code in this file is generated from files in ./src/
1605
- */
1606
-
1607
- function M() {
1608
- return {
1609
- async: !1,
1610
- breaks: !1,
1611
- extensions: null,
1612
- gfm: !0,
1613
- hooks: null,
1614
- pedantic: !1,
1615
- renderer: null,
1616
- silent: !1,
1617
- tokenizer: null,
1618
- walkTokens: null
1619
- };
1620
- }
1621
- var T = M();
1622
- function H(u) {
1623
- T = u;
1624
- }
1625
- var _ = {
1626
- exec: function exec() {
1627
- return null;
1628
- }
1629
- };
1630
- function k(u) {
1631
- var e = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : "";
1632
- var t = typeof u == "string" ? u : u.source,
1633
- n = {
1634
- replace: function replace(r, i) {
1635
- var s = typeof i == "string" ? i : i.source;
1636
- return s = s.replace(m.caret, "$1"), t = t.replace(r, s), n;
1637
- },
1638
- getRegex: function getRegex() {
1639
- return new RegExp(t, e);
1640
- }
1641
- };
1642
- return n;
1643
- }
1644
- var Re = function () {
1645
- try {
1646
- return !!new RegExp("(?<=1)(?<!1)");
1647
- } catch (_unused) {
1648
- return !1;
1512
+ };
1513
+ return n;
1514
+ }
1515
+ var Re = function () {
1516
+ try {
1517
+ return !!new RegExp("(?<=1)(?<!1)");
1518
+ } catch (_unused) {
1519
+ return !1;
1649
1520
  }
1650
1521
  }(),
1651
1522
  m = {
@@ -4491,8 +4362,8 @@ var WebAudioSpeechRecognizer = /*#__PURE__*/function () {
4491
4362
  }();
4492
4363
 
4493
4364
  window && (window.WebAudioSpeechRecognizer = WebAudioSpeechRecognizer);
4494
- ;// ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-82.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./package/SpeechRecognition/cpts/LeaderPcMessage.vue?vue&type=template&id=ed23ed2a&scoped=true
4495
- var LeaderPcMessagevue_type_template_id_ed23ed2a_scoped_true_render = function render() {
4365
+ ;// ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-82.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./package/SpeechRecognition/cpts/Message.vue?vue&type=template&id=30e9b7a9&scoped=true
4366
+ var Messagevue_type_template_id_30e9b7a9_scoped_true_render = function render() {
4496
4367
  var _vm = this,
4497
4368
  _c = _vm._self._c;
4498
4369
  return _c('div', {
@@ -4503,24 +4374,22 @@ var LeaderPcMessagevue_type_template_id_ed23ed2a_scoped_true_render = function r
4503
4374
  'message-type__none': _vm.type === _vm.IMessageType.NONE
4504
4375
  }
4505
4376
  }, [_c('div', {
4377
+ staticClass: "message-avatar message-avatar__from"
4378
+ }, [_c('img', {
4379
+ directives: [{
4380
+ name: "show",
4381
+ rawName: "v-show",
4382
+ value: _vm.type === _vm.IMessageType.FROM,
4383
+ expression: "type === IMessageType.FROM"
4384
+ }],
4385
+ attrs: {
4386
+ "src": "http://10.99.16.155:8995/mysb/l/main/app/assets/png/icon8-BTvF9JNL.png"
4387
+ }
4388
+ })]), _c('div', {
4506
4389
  staticClass: "message-content"
4507
4390
  }, [_c('div', {
4508
4391
  staticClass: "message-content-inner"
4509
- }, [_vm.isEventRecommand ? [_c('div', {
4510
- staticClass: "inner-event-recommand"
4511
- }, [_c('div', {
4512
- staticClass: "event-recommand-title"
4513
- }, [_vm._v("您可以进行以下操作:")]), _vm._l(_vm.recommandList, function (c, idx) {
4514
- return _c('div', {
4515
- key: idx,
4516
- staticClass: "event-recommand-item",
4517
- on: {
4518
- "click": function click($event) {
4519
- return _vm.onClickRecommendation(c);
4520
- }
4521
- }
4522
- }, [_vm._v(" " + _vm._s(idx + 1) + ". " + _vm._s(c) + " ")]);
4523
- })], 2)] : [_vm.streamItems.length > 0 ? _c('div', {
4392
+ }, [_vm.streamItems.length > 0 ? _c('div', {
4524
4393
  staticClass: "normal__stream"
4525
4394
  }, [_c('div', {
4526
4395
  staticClass: "stream-header",
@@ -4538,19 +4407,7 @@ var LeaderPcMessagevue_type_template_id_ed23ed2a_scoped_true_render = function r
4538
4407
  "items": _vm.streamItems,
4539
4408
  "size": _vm.size
4540
4409
  }
4541
- }) : _vm._e()], 1) : _vm._e(), _vm.isBroadcast ? _c('div', {
4542
- staticClass: "message-content__text html-content broadcast-content",
4543
- style: _vm.contentStyle
4544
- }, [_c('img', {
4545
- attrs: {
4546
- "src": __webpack_require__(907),
4547
- "alt": ""
4548
- }
4549
- }), _vm._v(" 【"), _c('span', {
4550
- staticClass: "street"
4551
- }, [_vm._v(_vm._s(_vm.content.street))]), _vm._v("】【"), _c('span', [_vm._v(_vm._s(_vm.content.adress))]), _vm._v("】于今日"), _c('span', [_vm._v(_vm._s(_vm.content.time))]), _vm._v("发生一起"), _c('span', {
4552
- staticClass: "level"
4553
- }, [_vm._v("严重")]), _vm._v("等级"), _c('span', [_vm._v(_vm._s(_vm.content.type))]), _vm._v("事件,请您关注。 ")]) : _c('div', {
4410
+ }) : _vm._e()], 1) : _vm._e(), _c('div', {
4554
4411
  staticClass: "message-content__text html-content",
4555
4412
  style: _vm.contentStyle,
4556
4413
  domProps: {
@@ -4582,22 +4439,33 @@ var LeaderPcMessagevue_type_template_id_ed23ed2a_scoped_true_render = function r
4582
4439
  staticClass: "normal__text"
4583
4440
  }, [_c('div', [_vm._v("您可能想了解:")]), _vm._l(_vm.recommandList, function (item2, index2) {
4584
4441
  return _c('div', {
4585
- key: index2,
4586
4442
  staticClass: "item-box"
4587
4443
  }, [_c('div', {
4588
4444
  staticClass: "item-box-index"
4589
4445
  }, [_vm._v(_vm._s(index2 + 1))]), _c('div', {
4590
4446
  staticClass: "item-box-content"
4591
4447
  }, [_c('div', [_vm._v(_vm._s(item2))])])]);
4592
- })], 2) : _vm._e()]], 2)])]);
4593
- };
4594
- var LeaderPcMessagevue_type_template_id_ed23ed2a_scoped_true_staticRenderFns = [];
4595
-
4596
- ;// ./package/SpeechRecognition/cpts/LeaderPcMessage.vue?vue&type=template&id=ed23ed2a&scoped=true
4597
-
4598
- ;// ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-82.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./package/SpeechRecognition/cpts/StreamInput.vue?vue&type=template&id=39c6bdf0&scoped=true
4599
- var StreamInputvue_type_template_id_39c6bdf0_scoped_true_render = function render() {
4600
- var _vm = this,
4448
+ })], 2) : _vm._e()])]), _c('div', {
4449
+ staticClass: "message-avatar message-avatar__to"
4450
+ }, [_c('img', {
4451
+ directives: [{
4452
+ name: "show",
4453
+ rawName: "v-show",
4454
+ value: _vm.type === _vm.IMessageType.TO,
4455
+ expression: "type === IMessageType.TO"
4456
+ }],
4457
+ attrs: {
4458
+ "src": __webpack_require__(812)
4459
+ }
4460
+ })])]);
4461
+ };
4462
+ var Messagevue_type_template_id_30e9b7a9_scoped_true_staticRenderFns = [];
4463
+
4464
+ ;// ./package/SpeechRecognition/cpts/Message.vue?vue&type=template&id=30e9b7a9&scoped=true
4465
+
4466
+ ;// ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-82.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./package/SpeechRecognition/cpts/StreamInput.vue?vue&type=template&id=39c6bdf0&scoped=true
4467
+ var StreamInputvue_type_template_id_39c6bdf0_scoped_true_render = function render() {
4468
+ var _vm = this,
4601
4469
  _c = _vm._self._c;
4602
4470
  return _c('div', {
4603
4471
  staticClass: "stream-input"
@@ -4833,241 +4701,6 @@ var component = normalizeComponent(
4833
4701
  )
4834
4702
 
4835
4703
  /* harmony default export */ var StreamInput = (component.exports);
4836
- ;// ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-82.use[1]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./package/SpeechRecognition/cpts/LeaderPcMessage.vue?vue&type=script&lang=js
4837
-
4838
- var LeaderPcMessagevue_type_script_lang_js_default_ = {
4839
- components: {
4840
- StreamInput: StreamInput
4841
- },
4842
- props: {
4843
- type: {
4844
- type: String,
4845
- default: ""
4846
- },
4847
- content: {
4848
- type: [String, Object],
4849
- default: null
4850
- },
4851
- backList: {
4852
- type: Array,
4853
- default: function _default() {
4854
- return [];
4855
- }
4856
- },
4857
- showNextPage: {
4858
- type: Boolean,
4859
- default: false
4860
- },
4861
- showPrevPage: {
4862
- type: Boolean,
4863
- default: false
4864
- },
4865
- recommandList: {
4866
- type: Array,
4867
- default: function _default() {
4868
- return [];
4869
- }
4870
- },
4871
- contentStyle: {
4872
- type: String,
4873
- default: ""
4874
- },
4875
- size: {
4876
- type: String,
4877
- default: ""
4878
- },
4879
- streamItems: {
4880
- type: Array,
4881
- default: function _default() {
4882
- return [];
4883
- }
4884
- },
4885
- isBroadcast: {
4886
- type: Boolean,
4887
- default: false
4888
- },
4889
- isEventRecommand: {
4890
- type: Boolean,
4891
- default: false
4892
- }
4893
- },
4894
- data: function data() {
4895
- return {
4896
- manuallyExpanded: false,
4897
- IMessageType: {
4898
- NONE: "NONE",
4899
- FROM: "FROM",
4900
- TO: "TO"
4901
- }
4902
- };
4903
- },
4904
- computed: {
4905
- htmlFontSize: function htmlFontSize() {
4906
- var fontSize = "42px";
4907
- if (this.size == "medium") {
4908
- fontSize = "18px";
4909
- } else {
4910
- fontSize = "42px";
4911
- }
4912
- return fontSize;
4913
- },
4914
- collapsed: function collapsed() {
4915
- // 如果用户手动展开,则不折叠
4916
- if (this.manuallyExpanded) {
4917
- return false;
4918
- }
4919
- // 否则根据content是否有内容自动折叠
4920
- return !!this.content;
4921
- }
4922
- },
4923
- methods: {
4924
- onClickRecommendation: function onClickRecommendation(item2) {
4925
- this.$emit('clickRecommendation', item2);
4926
- }
4927
- }
4928
- };
4929
-
4930
- var LeaderPcMessagevue_type_script_lang_js_injectCSSVars_ = function __injectCSSVars__() {
4931
- (0,external_commonjs_vue_commonjs2_vue_root_Vue_.useCssVars)(function (_vm, _setup) {
4932
- return {
4933
- "c90b9fc2": _vm.htmlFontSize
4934
- };
4935
- });
4936
- };
4937
- var LeaderPcMessagevue_type_script_lang_js_setup_ = LeaderPcMessagevue_type_script_lang_js_default_.setup;
4938
- LeaderPcMessagevue_type_script_lang_js_default_.setup = LeaderPcMessagevue_type_script_lang_js_setup_ ? function (props, ctx) {
4939
- LeaderPcMessagevue_type_script_lang_js_injectCSSVars_();
4940
- return LeaderPcMessagevue_type_script_lang_js_setup_(props, ctx);
4941
- } : LeaderPcMessagevue_type_script_lang_js_injectCSSVars_;
4942
- /* harmony default export */ var LeaderPcMessagevue_type_script_lang_js = (LeaderPcMessagevue_type_script_lang_js_default_);
4943
- ;// ./package/SpeechRecognition/cpts/LeaderPcMessage.vue?vue&type=script&lang=js
4944
- /* harmony default export */ var cpts_LeaderPcMessagevue_type_script_lang_js = (LeaderPcMessagevue_type_script_lang_js);
4945
- // EXTERNAL MODULE: ./node_modules/vue-style-loader/index.js??clonedRuleSet-64.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-64.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-64.use[2]!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-64.use[3]!./node_modules/sass-loader/dist/cjs.js??clonedRuleSet-64.use[4]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./package/SpeechRecognition/cpts/LeaderPcMessage.vue?vue&type=style&index=0&id=ed23ed2a&prod&lang=scss&scoped=true
4946
- var LeaderPcMessagevue_type_style_index_0_id_ed23ed2a_prod_lang_scss_scoped_true = __webpack_require__(801);
4947
- ;// ./package/SpeechRecognition/cpts/LeaderPcMessage.vue?vue&type=style&index=0&id=ed23ed2a&prod&lang=scss&scoped=true
4948
-
4949
- ;// ./package/SpeechRecognition/cpts/LeaderPcMessage.vue
4950
-
4951
-
4952
-
4953
- ;
4954
-
4955
-
4956
- /* normalize component */
4957
-
4958
- var LeaderPcMessage_component = normalizeComponent(
4959
- cpts_LeaderPcMessagevue_type_script_lang_js,
4960
- LeaderPcMessagevue_type_template_id_ed23ed2a_scoped_true_render,
4961
- LeaderPcMessagevue_type_template_id_ed23ed2a_scoped_true_staticRenderFns,
4962
- false,
4963
- null,
4964
- "ed23ed2a",
4965
- null
4966
-
4967
- )
4968
-
4969
- /* harmony default export */ var LeaderPcMessage = (LeaderPcMessage_component.exports);
4970
- ;// ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-82.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./package/SpeechRecognition/cpts/Message.vue?vue&type=template&id=30e9b7a9&scoped=true
4971
- var Messagevue_type_template_id_30e9b7a9_scoped_true_render = function render() {
4972
- var _vm = this,
4973
- _c = _vm._self._c;
4974
- return _c('div', {
4975
- staticClass: "message-wrapper",
4976
- class: {
4977
- 'message-type__from': _vm.type === _vm.IMessageType.FROM,
4978
- 'message-type__to': _vm.type === _vm.IMessageType.TO,
4979
- 'message-type__none': _vm.type === _vm.IMessageType.NONE
4980
- }
4981
- }, [_c('div', {
4982
- staticClass: "message-avatar message-avatar__from"
4983
- }, [_c('img', {
4984
- directives: [{
4985
- name: "show",
4986
- rawName: "v-show",
4987
- value: _vm.type === _vm.IMessageType.FROM,
4988
- expression: "type === IMessageType.FROM"
4989
- }],
4990
- attrs: {
4991
- "src": "http://10.99.16.155:8995/mysb/l/main/app/assets/png/icon8-BTvF9JNL.png"
4992
- }
4993
- })]), _c('div', {
4994
- staticClass: "message-content"
4995
- }, [_c('div', {
4996
- staticClass: "message-content-inner"
4997
- }, [_vm.streamItems.length > 0 ? _c('div', {
4998
- staticClass: "normal__stream"
4999
- }, [_c('div', {
5000
- staticClass: "stream-header",
5001
- on: {
5002
- "click": function click($event) {
5003
- _vm.manuallyExpanded = !_vm.manuallyExpanded;
5004
- }
5005
- }
5006
- }, [_c('h3', [_vm._v("执行过程")]), _vm.content ? _c('span', {
5007
- staticClass: "collapse-icon",
5008
- class: _vm.collapsed ? 'arrow-up' : 'arrow-down'
5009
- }) : _vm._e()]), !_vm.collapsed ? _c('StreamInput', {
5010
- attrs: {
5011
- "showBorder": true,
5012
- "items": _vm.streamItems,
5013
- "size": _vm.size
5014
- }
5015
- }) : _vm._e()], 1) : _vm._e(), _c('div', {
5016
- staticClass: "message-content__text html-content",
5017
- style: _vm.contentStyle,
5018
- domProps: {
5019
- "innerHTML": _vm._s(_vm.content)
5020
- }
5021
- }), _vm.backList.length ? _c('div', {
5022
- staticClass: "normal__text"
5023
- }, [_vm._l(_vm.backList, function (item1, index1) {
5024
- return _c('div', {
5025
- staticClass: "item-box"
5026
- }, [_c('div', {
5027
- staticClass: "item-box-index"
5028
- }, [_vm._v(_vm._s(item1.index ? item1.index : index1 + 1))]), _c('div', [_c('div', [item1.label ? _c('span', {
5029
- staticClass: "item-box-label",
5030
- style: {
5031
- background: item1.label_color ? item1.label_color : '#0086BB'
5032
- }
5033
- }, [_vm._v(_vm._s(item1.label))]) : _vm._e(), _vm._v(" " + _vm._s(item1.name) + " ")]), _c('div', {
5034
- staticClass: "item-box-description"
5035
- }, [_vm._v(_vm._s(item1 === null || item1 === void 0 ? void 0 : item1.address))])])]);
5036
- }), _c('span', {
5037
- staticStyle: {
5038
- "display": "flex",
5039
- "justify-content": "end"
5040
- }
5041
- }, [_vm.showPrevPage ? _c('span', [_vm._v("上一页")]) : _vm._e(), _vm.showNextPage ? _c('span', {
5042
- staticClass: "mr-l-20"
5043
- }, [_vm._v("下一页")]) : _vm._e()])], 2) : _vm._e(), _vm.recommandList.length ? _c('div', {
5044
- staticClass: "normal__text"
5045
- }, [_c('div', [_vm._v("您可能想了解:")]), _vm._l(_vm.recommandList, function (item2, index2) {
5046
- return _c('div', {
5047
- staticClass: "item-box"
5048
- }, [_c('div', {
5049
- staticClass: "item-box-index"
5050
- }, [_vm._v(_vm._s(index2 + 1))]), _c('div', {
5051
- staticClass: "item-box-content"
5052
- }, [_c('div', [_vm._v(_vm._s(item2))])])]);
5053
- })], 2) : _vm._e()])]), _c('div', {
5054
- staticClass: "message-avatar message-avatar__to"
5055
- }, [_c('img', {
5056
- directives: [{
5057
- name: "show",
5058
- rawName: "v-show",
5059
- value: _vm.type === _vm.IMessageType.TO,
5060
- expression: "type === IMessageType.TO"
5061
- }],
5062
- attrs: {
5063
- "src": __webpack_require__(812)
5064
- }
5065
- })])]);
5066
- };
5067
- var Messagevue_type_template_id_30e9b7a9_scoped_true_staticRenderFns = [];
5068
-
5069
- ;// ./package/SpeechRecognition/cpts/Message.vue?vue&type=template&id=30e9b7a9&scoped=true
5070
-
5071
4704
  ;// ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-82.use[1]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./package/SpeechRecognition/cpts/Message.vue?vue&type=script&lang=js
5072
4705
 
5073
4706
  var Messagevue_type_script_lang_js_default_ = {
@@ -9223,8 +8856,13 @@ var Tx = /*#__PURE__*/function () {
9223
8856
  }
9224
8857
  }, {
9225
8858
  key: "getLeaderSpeechRecommend",
9226
- value: function getLeaderSpeechRecommend() {
9227
- return gridRequest.get('/sjzpts/speech2speech/speech_recommend');
8859
+ value: function getLeaderSpeechRecommend(params) {
8860
+ return gridRequest.post("/sjzpts/speech2speech/speech_recommend", params, {
8861
+ timeout: 60 * 1000,
8862
+ headers: {
8863
+ 'Content-Type': "application/json;"
8864
+ }
8865
+ });
9228
8866
  }
9229
8867
  }]);
9230
8868
  }();
@@ -19802,214 +19440,6 @@ var onQuit = function onQuit(opt) {
19802
19440
  // }
19803
19441
 
19804
19442
  // export { wakeUpState, wakeUpState as default }
19805
- ;// ./package/SpeechRecognition/directive/leaderDrag.js
19806
- function leaderDrag_typeof(o) { "@babel/helpers - typeof"; return leaderDrag_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; }, leaderDrag_typeof(o); }
19807
- function leaderDrag_toConsumableArray(r) { return leaderDrag_arrayWithoutHoles(r) || leaderDrag_iterableToArray(r) || leaderDrag_unsupportedIterableToArray(r) || leaderDrag_nonIterableSpread(); }
19808
- function leaderDrag_nonIterableSpread() { throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
19809
- function leaderDrag_unsupportedIterableToArray(r, a) { if (r) { if ("string" == typeof r) return leaderDrag_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) ? leaderDrag_arrayLikeToArray(r, a) : void 0; } }
19810
- function leaderDrag_iterableToArray(r) { if ("undefined" != typeof Symbol && null != r[Symbol.iterator] || null != r["@@iterator"]) return Array.from(r); }
19811
- function leaderDrag_arrayWithoutHoles(r) { if (Array.isArray(r)) return leaderDrag_arrayLikeToArray(r); }
19812
- function leaderDrag_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; }
19813
- var LeaderDrag = {
19814
- bind: function bind(el, binding, vnode) {
19815
- var dragDom = el.querySelector('.drag-box') || el;
19816
- var dragHeaderEl = el.querySelector('.drag-header') || el.querySelector('.header');
19817
- if (!dragHeaderEl) {
19818
- console.warn('未找到拖拽头部元素');
19819
- return;
19820
- }
19821
- var boxWidth = dragDom.style.width.replace('px', '');
19822
- var boxHeight = dragDom.style.height.replace('px', '');
19823
- var isDragging = false;
19824
- var hasDragged = false;
19825
- var startX = 0,
19826
- startY = 0,
19827
- initialLeft = 0,
19828
- initialTop = 0;
19829
- var vm = vnode.context;
19830
- var DRAG_THRESHOLD = 5;
19831
-
19832
- // 鼠标事件处理
19833
- var startDragMouse = function startDragMouse(e) {
19834
- if (e.target.closest('.closeBtn')) return;
19835
- if (e.button !== 0) return;
19836
- isDragging = true;
19837
- hasDragged = false;
19838
- var rect = dragDom.getBoundingClientRect();
19839
- initialLeft = rect.left;
19840
- initialTop = rect.top;
19841
- startX = e.clientX;
19842
- startY = e.clientY;
19843
- dragDom.classList.add('dragging');
19844
- document.addEventListener('mousemove', onDragMouse);
19845
- document.addEventListener('mouseup', _stopDragMouse);
19846
- e.preventDefault();
19847
- e.stopPropagation();
19848
- };
19849
- var onDragMouse = function onDragMouse(e) {
19850
- if (!isDragging) return;
19851
- var deltaX = e.clientX - startX;
19852
- var deltaY = e.clientY - startY;
19853
- var maxX = window.innerWidth - boxWidth;
19854
- var maxY = window.innerHeight - boxHeight;
19855
- var newLeft = Math.max(0, Math.min(initialLeft + deltaX, maxX));
19856
- var newTop = Math.max(0, Math.min(initialTop + deltaY, maxY));
19857
- dragDom.style.left = newLeft + 'px';
19858
- dragDom.style.top = newTop + 'px';
19859
- updateVueData(newLeft, newTop);
19860
- var dragDistance = Math.sqrt(deltaX * deltaX + deltaY * deltaY);
19861
- if (dragDistance > DRAG_THRESHOLD) {
19862
- hasDragged = true;
19863
- }
19864
- };
19865
- var _stopDragMouse = function stopDragMouse() {
19866
- isDragging = false;
19867
- dragDom.classList.remove('dragging');
19868
- document.removeEventListener('mousemove', onDragMouse);
19869
- document.removeEventListener('mouseup', _stopDragMouse);
19870
- if (hasDragged) {
19871
- var preventClick = function preventClick(e) {
19872
- e.preventDefault();
19873
- e.stopPropagation();
19874
- };
19875
- var allElements = [dragDom].concat(leaderDrag_toConsumableArray(dragDom.querySelectorAll('*')));
19876
- allElements.forEach(function (element) {
19877
- element.addEventListener('click', preventClick, {
19878
- once: true,
19879
- capture: true
19880
- });
19881
- });
19882
- setTimeout(function () {
19883
- allElements.forEach(function (element) {
19884
- element.removeEventListener('click', preventClick, {
19885
- capture: true
19886
- });
19887
- });
19888
- }, 100);
19889
- }
19890
- };
19891
-
19892
- // 触摸事件处理
19893
- var startDragTouch = function startDragTouch(e) {
19894
- if (e.target.closest('.closeBtn')) return;
19895
- if (e.touches.length !== 1) return;
19896
- isDragging = true;
19897
- hasDragged = false;
19898
- var rect = dragDom.getBoundingClientRect();
19899
- initialLeft = rect.left;
19900
- initialTop = rect.top;
19901
- var touch = e.touches[0];
19902
- startX = touch.clientX;
19903
- startY = touch.clientY;
19904
- dragDom.classList.add('dragging');
19905
- document.addEventListener('touchmove', onDragTouch, {
19906
- passive: false
19907
- });
19908
- document.addEventListener('touchend', _stopDragTouch);
19909
- e.stopPropagation();
19910
- };
19911
- var onDragTouch = function onDragTouch(e) {
19912
- if (!isDragging) return;
19913
- var touch = e.touches[0];
19914
- var deltaX = touch.clientX - startX;
19915
- var deltaY = touch.clientY - startY;
19916
- var maxX = window.innerWidth - boxWidth;
19917
- var maxY = window.innerHeight - boxHeight;
19918
- var newLeft = Math.max(0, Math.min(initialLeft + deltaX, maxX));
19919
- var newTop = Math.max(0, Math.min(initialTop + deltaY, maxY));
19920
- dragDom.style.left = newLeft + 'px';
19921
- dragDom.style.top = newTop + 'px';
19922
- updateVueData(newLeft, newTop);
19923
- var dragDistance = Math.sqrt(deltaX * deltaX + deltaY * deltaY);
19924
- if (dragDistance > DRAG_THRESHOLD) {
19925
- hasDragged = true;
19926
- e.preventDefault();
19927
- e.stopPropagation();
19928
- }
19929
- };
19930
- var _stopDragTouch = function stopDragTouch() {
19931
- isDragging = false;
19932
- dragDom.classList.remove('dragging');
19933
- document.removeEventListener('touchmove', onDragTouch);
19934
- document.removeEventListener('touchend', _stopDragTouch);
19935
- if (hasDragged) {
19936
- var preventClick = function preventClick(e) {
19937
- e.preventDefault();
19938
- e.stopPropagation();
19939
- };
19940
- var allElements = [dragDom].concat(leaderDrag_toConsumableArray(dragDom.querySelectorAll('*')));
19941
- allElements.forEach(function (element) {
19942
- element.addEventListener('click', preventClick, {
19943
- once: true,
19944
- capture: true
19945
- });
19946
- });
19947
- setTimeout(function () {
19948
- allElements.forEach(function (element) {
19949
- element.removeEventListener('click', preventClick, {
19950
- capture: true
19951
- });
19952
- });
19953
- }, 100);
19954
- }
19955
- };
19956
-
19957
- // 更新 Vue 数据的函数
19958
- var updateVueData = function updateVueData(left, top) {
19959
- if (!vm) return;
19960
-
19961
- // 方式1:如果指令有绑定值,使用绑定值作为数据路径
19962
- if (binding.value) {
19963
- var dataPath = binding.value;
19964
- if (vm[dataPath]) {
19965
- vm[dataPath].left = left + 'px';
19966
- vm[dataPath].top = top + 'px';
19967
- }
19968
- }
19969
- // 方式2:如果没有绑定值,尝试自动更新常见的样式对象
19970
- else {
19971
- // 常见的样式数据属性名
19972
- var possibleStyleProps = ['style', 'windowStyle', 'dragStyle', 'position', 'pos'];
19973
- for (var _i = 0, _possibleStyleProps = possibleStyleProps; _i < _possibleStyleProps.length; _i++) {
19974
- var prop = _possibleStyleProps[_i];
19975
- if (vm[prop] && leaderDrag_typeof(vm[prop]) === 'object') {
19976
- vm.$set(vm[prop], 'left', left + 'px');
19977
- vm.$set(vm[prop], 'top', top + 'px');
19978
- break;
19979
- }
19980
- }
19981
-
19982
- // 或者更新独立的 x, y 数据
19983
- if (vm.x !== undefined) vm.x = left;
19984
- if (vm.y !== undefined) vm.y = top;
19985
- }
19986
- };
19987
-
19988
- // 确保有定位
19989
- if (window.getComputedStyle(dragDom).position === 'static') {
19990
- dragDom.style.position = 'absolute';
19991
- }
19992
- dragHeaderEl.style.cursor = 'move';
19993
- dragHeaderEl.addEventListener('mousedown', startDragMouse);
19994
- dragHeaderEl.addEventListener('touchstart', startDragTouch, {
19995
- passive: false
19996
- });
19997
- el._cleanupDrag = function () {
19998
- dragHeaderEl.removeEventListener('mousedown', startDragMouse);
19999
- dragHeaderEl.removeEventListener('touchstart', startDragTouch);
20000
- document.removeEventListener('mousemove', onDragMouse);
20001
- document.removeEventListener('mouseup', _stopDragMouse);
20002
- document.removeEventListener('touchmove', onDragTouch);
20003
- document.removeEventListener('touchend', _stopDragTouch);
20004
- };
20005
- },
20006
- unbind: function unbind(el) {
20007
- if (el._cleanupDrag) {
20008
- el._cleanupDrag();
20009
- }
20010
- }
20011
- };
20012
- /* harmony default export */ var leaderDrag = ((/* unused pure expression or super */ null && (LeaderDrag)));
20013
19443
  ;// ./package/SpeechRecognition/directive/drag.js
20014
19444
  function drag_typeof(o) { "@babel/helpers - typeof"; return drag_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; }, drag_typeof(o); }
20015
19445
  function drag_toConsumableArray(r) { return drag_arrayWithoutHoles(r) || drag_iterableToArray(r) || drag_unsupportedIterableToArray(r) || drag_nonIterableSpread(); }
@@ -21121,89 +20551,2111 @@ var mockDataSequence = [{
21121
20551
  "parent_id": 2,
21122
20552
  "status": "generating"
21123
20553
  },
21124
- "request_back": {},
21125
- "cim": "cim",
21126
- "has_next_page": false,
21127
- "has_prev_page": false
21128
- }, {
21129
- "name": "",
21130
- "command_name": "",
21131
- "request_id": "r-1773145887",
21132
- "sentence_id": "8078ea4b-5dba-3fde-2047-c62d018fdb3e",
21133
- "answer_id": "09d12a2d62b0050a",
21134
- "require_ack": false,
21135
- "par": {},
21136
- "standard_back": "",
21137
- "back_list": [],
21138
- "recommand_list": [],
21139
- "show_text": "",
21140
- "reply": {
21141
- "id": 5,
21142
- "level": 2,
21143
- "text": "调用查看地理实体周边违停情况工具",
21144
- "parent_id": 2,
21145
- "status": "completed"
20554
+ "request_back": {},
20555
+ "cim": "cim",
20556
+ "has_next_page": false,
20557
+ "has_prev_page": false
20558
+ }, {
20559
+ "name": "",
20560
+ "command_name": "",
20561
+ "request_id": "r-1773145887",
20562
+ "sentence_id": "8078ea4b-5dba-3fde-2047-c62d018fdb3e",
20563
+ "answer_id": "09d12a2d62b0050a",
20564
+ "require_ack": false,
20565
+ "par": {},
20566
+ "standard_back": "",
20567
+ "back_list": [],
20568
+ "recommand_list": [],
20569
+ "show_text": "",
20570
+ "reply": {
20571
+ "id": 5,
20572
+ "level": 2,
20573
+ "text": "调用查看地理实体周边违停情况工具",
20574
+ "parent_id": 2,
20575
+ "status": "completed"
20576
+ },
20577
+ "request_back": {},
20578
+ "cim": "cim",
20579
+ "has_next_page": false,
20580
+ "has_prev_page": false
20581
+ }, {
20582
+ "name": "",
20583
+ "command_name": "",
20584
+ "request_id": "r-1773145888",
20585
+ "sentence_id": "8078ea4b-5dba-3fde-2047-c62d018fdb3e",
20586
+ "answer_id": "09d12a2d62b0050a",
20587
+ "require_ack": false,
20588
+ "par": {},
20589
+ "standard_back": "已在深圳大悦城购物中心周边1公里范围内查询到3条违停记录,",
20590
+ "back_list": [{
20591
+ "index": 1,
20592
+ "name": "【粤BCD9272】在广深公路城家公寓段违停(876米)",
20593
+ "label": "一般",
20594
+ "label_color": "#FF8E09"
20595
+ }, {
20596
+ "index": 2,
20597
+ "name": "【粤BCD9272】在广深公路城家公寓段违停(876米)",
20598
+ "label": "一般",
20599
+ "label_color": "#FF8E09"
20600
+ }, {
20601
+ "index": 3,
20602
+ "name": "【粤B30200】在创业一路宝晖酒店段违停(946米)",
20603
+ "label": "一般",
20604
+ "label_color": "#FF8E09"
20605
+ }],
20606
+ "recommand_list": [],
20607
+ "show_text": "已在深圳大悦城购物中心周边1公里范围内查询到3条违停记录,涉及车辆:粤BCD9272(重复出现)、粤B30200。可能存在同一车辆多次抓拍或不同时间违停的情况。如需查看某一辆车的详细违停信息(如位置、时长、是否驶离等),请指定车牌号。",
20608
+ "reply": {
20609
+ "id": 6,
20610
+ "level": 1,
20611
+ "text": "生成回复",
20612
+ "parent_id": null,
20613
+ "status": "completed"
20614
+ },
20615
+ "request_back": {},
20616
+ "cim": "cim",
20617
+ "has_next_page": false,
20618
+ "has_prev_page": false
20619
+ }];
20620
+ ;// ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-82.use[1]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./package/SpeechRecognition/cpts/IotCpt.vue?vue&type=script&lang=js
20621
+ function IotCptvue_type_script_lang_js_typeof(o) { "@babel/helpers - typeof"; return IotCptvue_type_script_lang_js_typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, IotCptvue_type_script_lang_js_typeof(o); }
20622
+ function IotCptvue_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 */ IotCptvue_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" == IotCptvue_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(IotCptvue_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; }
20623
+ function IotCptvue_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); }
20624
+ function IotCptvue_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) { IotCptvue_type_script_lang_js_asyncGeneratorStep(a, r, o, _next, _throw, "next", n); } function _throw(n) { IotCptvue_type_script_lang_js_asyncGeneratorStep(a, r, o, _next, _throw, "throw", n); } _next(void 0); }); }; }
20625
+ function IotCptvue_type_script_lang_js_createForOfIteratorHelper(r, e) { var t = "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (!t) { if (Array.isArray(r) || (t = IotCptvue_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; } } }; }
20626
+ function IotCptvue_type_script_lang_js_unsupportedIterableToArray(r, a) { if (r) { if ("string" == typeof r) return IotCptvue_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) ? IotCptvue_type_script_lang_js_arrayLikeToArray(r, a) : void 0; } }
20627
+ function IotCptvue_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; }
20628
+ function IotCptvue_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; }
20629
+ function IotCptvue_type_script_lang_js_objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? IotCptvue_type_script_lang_js_ownKeys(Object(t), !0).forEach(function (r) { IotCptvue_type_script_lang_js_defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : IotCptvue_type_script_lang_js_ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
20630
+ function IotCptvue_type_script_lang_js_defineProperty(e, r, t) { return (r = IotCptvue_type_script_lang_js_toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
20631
+ function IotCptvue_type_script_lang_js_toPropertyKey(t) { var i = IotCptvue_type_script_lang_js_toPrimitive(t, "string"); return "symbol" == IotCptvue_type_script_lang_js_typeof(i) ? i : i + ""; }
20632
+ function IotCptvue_type_script_lang_js_toPrimitive(t, r) { if ("object" != IotCptvue_type_script_lang_js_typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != IotCptvue_type_script_lang_js_typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
20633
+
20634
+
20635
+
20636
+
20637
+
20638
+
20639
+
20640
+
20641
+
20642
+
20643
+
20644
+
20645
+ var iconTip = __webpack_require__(907);
20646
+ var IotCptvue_type_script_lang_js_default_ = {
20647
+ name: "IotCpt",
20648
+ directives: {
20649
+ Drag: Drag,
20650
+ DragBubble: DragBubble
20651
+ },
20652
+ components: {
20653
+ Message: Message,
20654
+ StreamInput: StreamInput
20655
+ },
20656
+ props: {
20657
+ // 小宝语音框位置
20658
+ imgPosition: {
20659
+ type: Object,
20660
+ default: function _default() {
20661
+ return {
20662
+ left: "100px",
20663
+ top: "134px"
20664
+ };
20665
+ }
20666
+ },
20667
+ // 弹窗位置
20668
+ boxPosition: {
20669
+ type: Object,
20670
+ default: function _default() {
20671
+ return {
20672
+ left: "100px",
20673
+ top: "400px"
20674
+ };
20675
+ }
20676
+ },
20677
+ // 弹窗大小
20678
+ boxSize: {
20679
+ type: Object,
20680
+ default: function _default() {
20681
+ return {
20682
+ width: "750px",
20683
+ height: "676px"
20684
+ };
20685
+ }
20686
+ },
20687
+ // 字体大小
20688
+ size: {
20689
+ type: String,
20690
+ default: "medium" // ["large", "medium"]
20691
+ },
20692
+ // 是否大屏
20693
+ screenType: {
20694
+ type: String,
20695
+ default: "BIG" // ["BIG", "NORMAL"]
20696
+ },
20697
+ // 是否生产环境
20698
+ isPro: {
20699
+ type: Boolean,
20700
+ default: false
20701
+ },
20702
+ // 版本号
20703
+ version: {
20704
+ type: String,
20705
+ default: "1.0.0"
20706
+ }
20707
+ },
20708
+ data: function data() {
20709
+ return {
20710
+ wakeEndTime: 20,
20711
+ options: [{
20712
+ label: "mode1",
20713
+ value: "mode1"
20714
+ }, {
20715
+ label: "mode2",
20716
+ value: "mode2"
20717
+ }, {
20718
+ label: "mode3",
20719
+ value: "mode3"
20720
+ }],
20721
+ isShowSelect: false,
20722
+ mode: "mode1",
20723
+ appId: "cim",
20724
+ inputContent: "",
20725
+ windowStyle: {
20726
+ left: "100px",
20727
+ top: "400px"
20728
+ },
20729
+ systemId: "msq_dp_a7x9",
20730
+ webSocketId: guid(),
20731
+ clientId: "demo-client-".concat(parseInt(Math.random() * Math.pow(10, 9))),
20732
+ oneQuestionOneAnswer: true,
20733
+ boxShow: false,
20734
+ // 展示聊天框
20735
+ bubbleShow: false,
20736
+ // 唤醒
20737
+ boxTitle: "我在",
20738
+ wakeUpBool: false,
20739
+ wakeUpTime: 0,
20740
+ endTimeOut: null,
20741
+ bubbleBoxType: "",
20742
+ bubbleBoxQuestion: "",
20743
+ isReading: false,
20744
+ bubbleBoxTitle: "",
20745
+ bubbleBoxBackList: [],
20746
+ bubbleBoxRecommandList: [],
20747
+ tempBubbleBoxBackList: [],
20748
+ tempBubbleBoxRecommandList: [],
20749
+ messagesList: [],
20750
+ voiecContent: "",
20751
+ sessionId: guid(),
20752
+ wasr: undefined,
20753
+ setIntervalWebsocket: null,
20754
+ socket: null,
20755
+ eventCode: [
20756
+ // 跳转的指令
20757
+ "clearScreen",
20758
+ // 清屏
20759
+ "openEventDistrib",
20760
+ // 打开事件分布面板
20761
+ "openEventDetail",
20762
+ // 打开事件详情
20763
+ "switchPanelState",
20764
+ // 切换详情面板状态
20765
+ "operateCamera",
20766
+ // 镜头控制
20767
+ "linkCameraHighLow",
20768
+ // 联动高低空镜头
20769
+ "openTrafficCond" // 打开周边路况
20770
+ ],
20771
+ selfCode: ["generateEventReport"],
20772
+ // 生成事件报告
20773
+ reconnectTimerId: null,
20774
+ // 保存重连定时器 id
20775
+ currentAudio: null,
20776
+ // 当前播放的 Audio 对象
20777
+ currentAudioUrl: null,
20778
+ // 当前音频的 objectURL,便于 revoke
20779
+ isShowPopover: false,
20780
+ waitAnswerTimer: null,
20781
+ waitSentenceId: "",
20782
+ isWaitAnswer: false,
20783
+ showNextPage: false,
20784
+ showPrevPage: false,
20785
+ streamItems: [],
20786
+ currentIndex: 0,
20787
+ userInfo: {
20788
+ username: ""
20789
+ },
20790
+ isShowContent: true // 是否展示对话列表
20791
+ };
20792
+ },
20793
+ computed: {
20794
+ htmlFontSize: function htmlFontSize() {
20795
+ var fontSize = "42px";
20796
+ if (this.size == "medium") {
20797
+ fontSize = "18px";
20798
+ } else {
20799
+ fontSize = "42px";
20800
+ }
20801
+ return fontSize;
20802
+ },
20803
+ baseURL: function baseURL() {
20804
+ var ipURL = "10.99.16.155";
20805
+ if (this.isPro) {
20806
+ ipURL = "10.97.38.102";
20807
+ }
20808
+ return ipURL;
20809
+ }
20810
+ },
20811
+ watch: {
20812
+ voiecContent: function voiecContent(val) {
20813
+ console.log("===============getContent==============", val);
20814
+ if (Object.keys(val).length > 0) {
20815
+ this.$emit("getContent", IotCptvue_type_script_lang_js_objectSpread({}, val));
20816
+ }
20817
+ },
20818
+ bubbleShow: function bubbleShow(val) {
20819
+ // if (val) this.wakeUpTime = new Date().getTime();
20820
+ // else this.wakeUpTime = 0;
20821
+ },
20822
+ wakeUpTime: function wakeUpTime(val) {
20823
+ var _this = this;
20824
+ if (val > 0) {
20825
+ if (this.endTimeOut) {
20826
+ clearTimeout(this.endTimeOut);
20827
+ this.endTimeOut = null;
20828
+ }
20829
+ this.endTimeOut = setTimeout(function () {
20830
+ // 去除静默退出
20831
+ _this.autoQuitAssistant();
20832
+ }, 1000 * this.wakeEndTime);
20833
+ }
20834
+ },
20835
+ boxPosition: {
20836
+ handler: function handler(val) {
20837
+ console.log("小安box位置: ", val);
20838
+ if (Object.keys(val)) {
20839
+ this.windowStyle = val;
20840
+ }
20841
+ },
20842
+ immediate: true,
20843
+ deep: true
20844
+ },
20845
+ imgPosition: {
20846
+ handler: function handler(val) {
20847
+ console.log("小安img位置:", val);
20848
+ if (Object.keys(val)) {
20849
+ this.bubbleStyle = val;
20850
+ }
20851
+ },
20852
+ immediate: true,
20853
+ deep: true
20854
+ }
20855
+ },
20856
+ methods: {
20857
+ clearWakeTime: function clearWakeTime() {
20858
+ this.wakeUpTime = 0;
20859
+ if (this.endTimeOut) {
20860
+ clearTimeout(this.endTimeOut);
20861
+ this.endTimeOut = null;
20862
+ }
20863
+ },
20864
+ selectModal: function selectModal(item) {
20865
+ this.mode = item.value;
20866
+ this.isShowSelect = false;
20867
+ },
20868
+ toggleModal: function toggleModal() {
20869
+ this.isShowSelect = !this.isShowSelect;
20870
+ },
20871
+ // 处理返回结果
20872
+ operation: function operation(opt) {
20873
+ var _opt$quitState;
20874
+ // 一问一答状态
20875
+ var quitState = (_opt$quitState = opt === null || opt === void 0 ? void 0 : opt.quitState) !== null && _opt$quitState !== void 0 ? _opt$quitState : false;
20876
+ if (quitState) this.voiceQuitAssistant();else {
20877
+ var _opt$result;
20878
+ var _content2 = opt === null || opt === void 0 || (_opt$result = opt.result) === null || _opt$result === void 0 ? void 0 : _opt$result.voice_text_str;
20879
+ var _content = _content2.endsWith("。") ? _content2.slice(0, -1) : _content2;
20880
+ if (!this.oneQuestionOneAnswer) {
20881
+ console.log(_content, _content2);
20882
+ if (this.isReading && _content) {
20883
+ // console.log("正在播报内容", _content);
20884
+ this.bubbleBoxQuestion = _content2;
20885
+ this.updateSession({
20886
+ res: opt,
20887
+ messages: {
20888
+ type: "TO",
20889
+ isReading: true,
20890
+ content: _content2
20891
+ }
20892
+ });
20893
+ }
20894
+ }
20895
+ if (_content.length >= 2 && this.oneQuestionOneAnswer) this.updateSession({
20896
+ res: opt,
20897
+ messages: {
20898
+ type: "TO",
20899
+ content: _content2
20900
+ }
20901
+ });
20902
+ }
20903
+ },
20904
+ wakeUpAide: function wakeUpAide() {
20905
+ this.bubbleShow = true;
20906
+ // this.messagesList.length = 0;
20907
+
20908
+ var content = "我在";
20909
+ if (this.messagesList.length == 0) {
20910
+ var slot = getTimeSlot();
20911
+ if (slot != "凌晨") content = "\u5728\u5462\uFF0C".concat(slot, "\u597D");
20912
+ }
20913
+ this.oneQuestionOneAnswer = true;
20914
+ this.bubbleBoxType = "FROM";
20915
+ this.bubbleBoxTitle = content;
20916
+ this.boxTitle = content;
20917
+ this.handlePlayTTS({
20918
+ content: content
20919
+ });
20920
+ },
20921
+ // 直接打开面板唤醒
20922
+ openAide: function openAide() {
20923
+ this.bubbleShow = true;
20924
+ this.wakeUpBool = true;
20925
+ this.scrollMessageBox('auto');
20926
+ },
20927
+ // 3 退出小宝助手
20928
+ exitAide: function exitAide() {
20929
+ this.boxShow = false;
20930
+ this.bubbleShow = false;
20931
+ this.wakeUpBool = false;
20932
+ this.bubbleBoxBackList = [];
20933
+ this.bubbleBoxRecommandList = [];
20934
+ // this.onStop()
20935
+ },
20936
+ // 点击小宝助手图标
20937
+ handleSpeechClick: function handleSpeechClick() {
20938
+ var _this2 = this;
20939
+ // this.onStart();
20940
+ this.boxShow = true;
20941
+ setTimeout(function () {
20942
+ _this2.scrollMessageBox('auto');
20943
+ }, 100);
20944
+ if (this.bubbleShow) return;
20945
+ this.wakeUpAide();
20946
+ this.wakeUpBool = true;
20947
+ },
20948
+ // 识别到唤醒词
20949
+ setWakeUp: function setWakeUp() {
20950
+ // this.oneQuestionOneAnswer = false;
20951
+ this.wakeUpAide();
20952
+ },
20953
+ // 递归查找项目
20954
+ findItemById: function findItemById(items, id) {
20955
+ var _iterator = IotCptvue_type_script_lang_js_createForOfIteratorHelper(items),
20956
+ _step;
20957
+ try {
20958
+ for (_iterator.s(); !(_step = _iterator.n()).done;) {
20959
+ var item = _step.value;
20960
+ if (item.id === id) {
20961
+ return item;
20962
+ }
20963
+ if (item.children && item.children.length > 0) {
20964
+ var found = this.findItemById(item.children, id);
20965
+ if (found) {
20966
+ return found;
20967
+ }
20968
+ }
20969
+ }
20970
+ } catch (err) {
20971
+ _iterator.e(err);
20972
+ } finally {
20973
+ _iterator.f();
20974
+ }
20975
+ return null;
20976
+ },
20977
+ // 映射状态值
20978
+ mapStatus: function mapStatus(status) {
20979
+ switch (status) {
20980
+ case 'generating':
20981
+ return 'loadings';
20982
+ case 'completed':
20983
+ return 'success';
20984
+ case 'failed':
20985
+ return 'error';
20986
+ default:
20987
+ return status;
20988
+ }
20989
+ },
20990
+ processReceivedData: function processReceivedData(data) {
20991
+ // 处理新格式的数据
20992
+ if (data.reply && Object.keys(data.reply).length) {
20993
+ // 处理reply中的内容
20994
+ var reply = data.reply;
20995
+ var mappedStatus = this.mapStatus(reply.status);
20996
+
20997
+ // 构建项目对象
20998
+ var item = {
20999
+ id: reply.id,
21000
+ title: reply.text,
21001
+ status: mappedStatus
21002
+ };
21003
+
21004
+ // 检查是否已经存在相同id的项目
21005
+ var existingItem = this.findItemById(this.streamItems, reply.id);
21006
+ if (existingItem) {
21007
+ // 更新现有项目的状态
21008
+ this.$set(existingItem, 'status', mappedStatus);
21009
+ } else {
21010
+ // 添加新项目
21011
+ if (reply.level === 1 || reply.parent_id === null || !reply.parent_id) {
21012
+ // 顶级项目
21013
+ this.$set(this.streamItems, this.streamItems.length, item);
21014
+ } else {
21015
+ // 子项目,找到父项目
21016
+ var parentItem = this.findItemById(this.streamItems, reply.parent_id);
21017
+ if (parentItem) {
21018
+ // 确保父项目有children数组
21019
+ if (!parentItem.children) {
21020
+ this.$set(parentItem, 'children', []);
21021
+ }
21022
+
21023
+ // 检查子项目是否已存在
21024
+ var existingChild = parentItem.children.find(function (child) {
21025
+ return child.id === reply.id;
21026
+ });
21027
+ if (existingChild) {
21028
+ this.$set(existingChild, 'status', mappedStatus);
21029
+ } else {
21030
+ this.$set(parentItem.children, parentItem.children.length, item);
21031
+ }
21032
+ } else {
21033
+ // 父项目不存在,先创建父项目
21034
+ // const newParentItem = {
21035
+ // id: reply.parent_id,
21036
+ // title: '父项目',
21037
+ // status: 'completed',
21038
+ // children: [item]
21039
+ // };
21040
+ // this.$set(this.streamItems, this.streamItems.length, newParentItem);
21041
+ }
21042
+ }
21043
+ }
21044
+ }
21045
+ },
21046
+ pushMessage: function pushMessage(opt) {
21047
+ var messages = opt.messages,
21048
+ res = opt.res;
21049
+ var type = messages.type,
21050
+ content = messages.content,
21051
+ backList = messages.back_list,
21052
+ recommandList = messages.recommand_list,
21053
+ reply = messages.reply,
21054
+ _messages$showNextPag = messages.showNextPage,
21055
+ showNextPage = _messages$showNextPag === void 0 ? false : _messages$showNextPag,
21056
+ _messages$showPrevPag = messages.showPrevPage,
21057
+ showPrevPage = _messages$showPrevPag === void 0 ? false : _messages$showPrevPag,
21058
+ _messages$contentStat = messages.contentStatus,
21059
+ contentStatus = _messages$contentStat === void 0 ? 0 : _messages$contentStat;
21060
+ var _messages = this.messagesList.find(function (item) {
21061
+ return item.sentenceId == res.sentenceId;
21062
+ });
21063
+ var back_list = backList;
21064
+ var recommand_list = recommandList;
21065
+ if (reply) {
21066
+ this.processReceivedData(messages);
21067
+ }
21068
+ if (type === "FROM") {
21069
+ if (contentStatus == '1') {
21070
+ back_list = this.tempBubbleBoxBackList || [];
21071
+ recommand_list = this.tempBubbleBoxRecommandList || [];
21072
+ }
21073
+ }
21074
+ if (_messages) {
21075
+ var _back_list;
21076
+ content && (_messages.content = g.parse(content));
21077
+ _messages.streamItems = this.streamItems || [];
21078
+ ((_back_list = back_list) === null || _back_list === void 0 ? void 0 : _back_list.length) && (_messages.backList = back_list);
21079
+ recommand_list.length && (_messages.recommandList = recommand_list);
21080
+ messages.showPrevPage = showPrevPage;
21081
+ messages.showNextPage = showNextPage;
21082
+ } else {
21083
+ var _text = messages.content ? g.parse(messages.content) : messages.content;
21084
+ var flag = false;
21085
+ if (content || recommand_list.length > 0 || back_list.length > 0 || this.streamItems.length > 0) flag = true;
21086
+ if (!flag) return;
21087
+ this.messagesList.push(IotCptvue_type_script_lang_js_objectSpread(IotCptvue_type_script_lang_js_objectSpread({}, messages), {}, {
21088
+ content: _text,
21089
+ sentenceId: res.sentenceId,
21090
+ backList: back_list,
21091
+ recommandList: recommand_list,
21092
+ streamItems: this.streamItems || [],
21093
+ showNextPage: showNextPage,
21094
+ showPrevPage: showPrevPage
21095
+ }));
21096
+ }
21097
+ this.bubbleBoxBackList = back_list || [];
21098
+ this.bubbleBoxRecommandList = recommand_list || [];
21099
+ this.tempBubbleBoxRecommandList = recommand_list;
21100
+ this.tempBubbleBoxBackList = back_list;
21101
+ this.showNextPage = showNextPage;
21102
+ this.showPrevPage = showPrevPage;
21103
+ this.scrollMessageBox();
21104
+ this.bubbleBoxType = type;
21105
+ if (type == "TO") {
21106
+ this.bubbleBoxQuestion = content ? g.parse(content) : content;
21107
+ this.streamItems = [];
21108
+ } else {
21109
+ this.bubbleBoxTitle = content ? g.parse(content) : content;
21110
+ }
21111
+
21112
+ // this.wakeUpTime = new Date().getTime();
21113
+ },
21114
+ updateSession: function updateSession(opt) {
21115
+ var _this3 = this;
21116
+ return IotCptvue_type_script_lang_js_asyncToGenerator(/*#__PURE__*/IotCptvue_type_script_lang_js_regeneratorRuntime().mark(function _callee() {
21117
+ var messages, res, type, content, _messages$isReading, isReading, back_list, recommand_list, _messages$showNextPag2, showNextPage, _messages$showPrevPag2, showPrevPage, _messages, _text, _this3$userInfo, voice_id, session_id, sentenceId, _formData, resp, _res, code, msg, status, obj, _content, standard_back, show_text, command_type, _back_list2, _recommand_list, has_next_page, has_prev_page, _opt, _showNextPage, _showPrevPage, _opts, _opt2, _error$message, _error$message2;
21118
+ return IotCptvue_type_script_lang_js_regeneratorRuntime().wrap(function _callee$(_context) {
21119
+ while (1) switch (_context.prev = _context.next) {
21120
+ case 0:
21121
+ _this3.clearWakeTime();
21122
+ messages = opt.messages, res = opt.res;
21123
+ type = messages.type, content = messages.content, _messages$isReading = messages.isReading, isReading = _messages$isReading === void 0 ? false : _messages$isReading, back_list = messages.back_list, recommand_list = messages.recommand_list, _messages$showNextPag2 = messages.showNextPage, showNextPage = _messages$showNextPag2 === void 0 ? false : _messages$showNextPag2, _messages$showPrevPag2 = messages.showPrevPage, showPrevPage = _messages$showPrevPag2 === void 0 ? false : _messages$showPrevPag2;
21124
+ _messages = _this3.messagesList.find(function (item) {
21125
+ return item.sentenceId == res.sentenceId;
21126
+ });
21127
+ if (_messages && type == "TO" && !isReading) _messages.content = content;else if (!isReading) {
21128
+ _text = messages.content ? g.parse(messages.content) : messages.content;
21129
+ _this3.messagesList.push(IotCptvue_type_script_lang_js_objectSpread(IotCptvue_type_script_lang_js_objectSpread({}, messages), {}, {
21130
+ content: _text,
21131
+ sentenceId: res.sentenceId,
21132
+ backList: back_list,
21133
+ recommandList: recommand_list,
21134
+ showNextPage: showNextPage,
21135
+ showPrevPage: showPrevPage
21136
+ }));
21137
+ }
21138
+ _this3.bubbleBoxBackList = back_list || [];
21139
+ _this3.bubbleBoxRecommandList = recommand_list || [];
21140
+ _this3.showNextPage = showNextPage;
21141
+ _this3.showPrevPage = showPrevPage;
21142
+ _this3.scrollMessageBox();
21143
+ _this3.bubbleBoxType = type;
21144
+ if (type == "TO") {
21145
+ _this3.bubbleBoxQuestion = g.parse(content);
21146
+ } else {
21147
+ _this3.bubbleBoxTitle = g.parse(content);
21148
+ }
21149
+ if (!(type === "TO" && res.result.slice_type === 2)) {
21150
+ _context.next = 67;
21151
+ break;
21152
+ }
21153
+ _this3.getSystem();
21154
+ voice_id = res.voice_id, session_id = res.sessionId, sentenceId = res.sentenceId;
21155
+ _formData = {
21156
+ version: _this3.version,
21157
+ screenType: _this3.screenType,
21158
+ appId: _this3.appId,
21159
+ userName: ((_this3$userInfo = _this3.userInfo) === null || _this3$userInfo === void 0 ? void 0 : _this3$userInfo.username) || "",
21160
+ mode: _this3.mode,
21161
+ prompt: content,
21162
+ system_id: _this3.systemId,
21163
+ session_id: session_id,
21164
+ voice_id: voice_id,
21165
+ webSocketId: _this3.webSocketId,
21166
+ sentence_id: sentenceId,
21167
+ client_id: _this3.clientId,
21168
+ eventStatus: {},
21169
+ isReading: isReading
21170
+ };
21171
+ _this3.oneQuestionOneAnswer = false;
21172
+ // 获取iot面板打开状态 、cim底座状态不用获取
21173
+ if (!(_this3.appId == 'cimapp-iot' || _this3.appId == 'cimapp-iotm')) {
21174
+ _context.next = 29;
21175
+ break;
21176
+ }
21177
+ _context.prev = 18;
21178
+ _this3.getEventStatus();
21179
+ _context.next = 22;
21180
+ return _this3.waitGetEventStatus();
21181
+ case 22:
21182
+ resp = _context.sent;
21183
+ if (resp) {
21184
+ _formData.eventStatus = resp;
21185
+ }
21186
+ _context.next = 29;
21187
+ break;
21188
+ case 26:
21189
+ _context.prev = 26;
21190
+ _context.t0 = _context["catch"](18);
21191
+ console.log("获取当前状态异常", _context.t0);
21192
+ case 29:
21193
+ _this3.streamItems = [];
21194
+ _context.prev = 30;
21195
+ _context.next = 33;
21196
+ return Tx.speech2speech2(_formData);
21197
+ case 33:
21198
+ _res = _context.sent;
21199
+ code = _res.code, msg = _res.msg, status = _res.status, obj = _res.obj;
21200
+ if (!(code == 200 || code == 300 && status == '3' && obj !== null && obj !== void 0 && obj.standard_back)) {
21201
+ _context.next = 54;
21202
+ break;
21203
+ }
21204
+ _content = "";
21205
+ standard_back = obj.standard_back, show_text = obj.show_text, command_type = obj.command_type, _back_list2 = obj.back_list, _recommand_list = obj.recommand_list, has_next_page = obj.has_next_page, has_prev_page = obj.has_prev_page;
21206
+ if (!(Object.keys(obj).length > 0)) {
21207
+ _context.next = 44;
21208
+ break;
21209
+ }
21210
+ _content = standard_back || "抱歉,我还在学习中";
21211
+ if (!(command_type === "地理实体页面定位" && _content != "抱歉,我还在学习中")) {
21212
+ _context.next = 42;
21213
+ break;
21214
+ }
21215
+ return _context.abrupt("return");
21216
+ case 42:
21217
+ _context.next = 45;
21218
+ break;
21219
+ case 44:
21220
+ _content = "抱歉,我还在学习中";
21221
+ case 45:
21222
+ _this3.voiecContent = obj;
21223
+ if (status == '3' || isReading) {
21224
+ _opt = {
21225
+ res: {
21226
+ sentenceId: guid()
21227
+ },
21228
+ messages: {
21229
+ type: "TO",
21230
+ content: content
21231
+ }
21232
+ };
21233
+ _this3.pushMessage(_opt);
21234
+ // this.pauseAudio();
21235
+ }
21236
+ _showNextPage = has_next_page ? true : false;
21237
+ _showPrevPage = has_prev_page ? true : false;
21238
+ _opts = {
21239
+ res: {
21240
+ sentenceId: guid()
21241
+ },
21242
+ messages: {
21243
+ type: "FROM",
21244
+ content: show_text || _content,
21245
+ contentStatus: status,
21246
+ back_list: _back_list2 || [],
21247
+ recommand_list: _recommand_list || [],
21248
+ showNextPage: _showNextPage,
21249
+ showPrevPage: _showPrevPage
21250
+ }
21251
+ };
21252
+ _this3.oneQuestionOneAnswer = true; // 暂时直接改为一收到指令就视为已经收到答案了
21253
+ if (standard_back || show_text) {
21254
+ _this3.pushMessage(_opts);
21255
+ _this3.handlePlayTTS({
21256
+ content: _content,
21257
+ // onStart: () => {
21258
+ // this.pushMessage(_opts)
21259
+ // },
21260
+ onEnded: function onEnded() {
21261
+ if (status == '2') {
21262
+ _this3.autoQuitAssistant();
21263
+ }
21264
+ }
21265
+ });
21266
+ }
21267
+ // this.openAide()
21268
+ // this.updateSession({
21269
+ // res: {},
21270
+ // messages: { type: "FROM", content: _content },
21271
+ // sentenceId: Math.floor(Math.random() * 1000000).toString()
21272
+ // });
21273
+ _context.next = 55;
21274
+ break;
21275
+ case 54:
21276
+ if (code === 504) {
21277
+ _this3.timeOutContent();
21278
+ } else if (code === 300) {
21279
+ _this3.waitSentenceId = _formData.sentence_id;
21280
+ // console.log("设置超时", this.waitSentenceId)
21281
+ // this.timeOutContent()
21282
+ // this.startWaitAnswer()
21283
+ if (status == '3') {
21284
+ _opt2 = {
21285
+ res: {
21286
+ sentenceId: guid()
21287
+ },
21288
+ messages: {
21289
+ type: "TO",
21290
+ content: content
21291
+ }
21292
+ };
21293
+ _this3.pushMessage(_opt2);
21294
+ // this.pauseAudio();
21295
+ }
21296
+ }
21297
+ case 55:
21298
+ _context.next = 63;
21299
+ break;
21300
+ case 57:
21301
+ _context.prev = 57;
21302
+ _context.t1 = _context["catch"](30);
21303
+ console.log("speech2speech2 ->", _context.t1);
21304
+ console.log(_context.t1.message);
21305
+ 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"));
21306
+ if (_context.t1 !== null && _context.t1 !== void 0 && (_error$message2 = _context.t1.message) !== null && _error$message2 !== void 0 && _error$message2.includes('timeout')) {
21307
+ _this3.waitSentenceId = _formData.sentence_id;
21308
+ _this3.timeOutContent();
21309
+ } else {
21310
+ _this3.oneQuestionOneAnswer = true;
21311
+ }
21312
+ case 63:
21313
+ _context.prev = 63;
21314
+ return _context.finish(63);
21315
+ case 65:
21316
+ _context.next = 68;
21317
+ break;
21318
+ case 67:
21319
+ if (type === "FROM") {
21320
+ _this3.handlePlayTTS({
21321
+ content: content
21322
+ });
21323
+ }
21324
+ case 68:
21325
+ case "end":
21326
+ return _context.stop();
21327
+ }
21328
+ }, _callee, null, [[18, 26], [30, 57, 63, 65]]);
21329
+ }))();
21330
+ },
21331
+ timeOutContent: function timeOutContent() {
21332
+ var _this4 = this;
21333
+ this.isWaitAnswer = true;
21334
+ var message = "抱歉,请求已超时,请再试一下。";
21335
+ var _opts = {
21336
+ res: {
21337
+ sentenceId: Math.floor(Math.random() * 1000000).toString()
21338
+ },
21339
+ messages: {
21340
+ type: "FROM",
21341
+ content: message
21342
+ }
21343
+ };
21344
+ // this.updateSession(_opts)
21345
+ if (this.isWaitAnswer) {
21346
+ this.handlePlayTTS({
21347
+ content: message,
21348
+ onStart: function onStart() {
21349
+ _this4.pushMessage(_opts);
21350
+ }
21351
+ });
21352
+ }
21353
+ },
21354
+ startWaitAnswer: function startWaitAnswer() {
21355
+ var _this5 = this;
21356
+ if (this.waitAnswerTimer) {
21357
+ this.endWaitAnswer();
21358
+ }
21359
+ this.isWaitAnswer = true;
21360
+ // const _that = this
21361
+ this.waitAnswerTimer = setTimeout(function () {
21362
+ _this5.timeOutContent();
21363
+ }, 3000);
21364
+ },
21365
+ endWaitAnswer: function endWaitAnswer() {
21366
+ if (this.waitAnswerTimer) {
21367
+ clearTimeout(this.waitAnswerTimer);
21368
+ this.waitAnswerTimer = null;
21369
+ }
21370
+ this.isWaitAnswer = false;
21371
+ },
21372
+ // 自动退出(静默20s) - 小宝助手
21373
+ autoQuitAssistant: function autoQuitAssistant() {
21374
+ // if (this.isReading) {
21375
+ // this.wakeUpTime = new Date().getTime();
21376
+ // return;
21377
+ // }
21378
+ this.exitAide();
21379
+ this.bubbleBoxTitle = "";
21380
+ this.bubbleBoxQuestion = "";
21381
+ this.bubbleBoxType = "";
21382
+ this.streamItems = [];
21383
+ },
21384
+ // 语音退出 - 小宝助手
21385
+ voiceQuitAssistant: function voiceQuitAssistant() {
21386
+ var _this6 = this;
21387
+ this.handlePlayTTS({
21388
+ content: "好的,下次见",
21389
+ onEnded: function onEnded() {
21390
+ setTimeout(function () {
21391
+ _this6.exitAide();
21392
+ _this6.bubbleBoxTitle = "";
21393
+ _this6.bubbleBoxQuestion = "";
21394
+ _this6.bubbleBoxType = "";
21395
+ // this.messagesList = [];
21396
+ // this.tempBubbleBoxBackList = [];
21397
+ // this.tempBubbleBoxRecommandList = [];
21398
+ }, 1000);
21399
+ }
21400
+ });
21401
+ },
21402
+ // 手动退出 - 小宝助手
21403
+ closeClick: function closeClick() {
21404
+ this.exitAide();
21405
+ this.bubbleBoxTitle = "";
21406
+ this.bubbleBoxQuestion = "";
21407
+ this.bubbleBoxType = "";
21408
+ this.streamItems = [];
21409
+ // this.updateSessionId()
21410
+ // this.messagesList = [];
21411
+ // this.tempBubbleBoxBackList = [];
21412
+ // this.tempBubbleBoxRecommandList = [];
21413
+ // this.onStop()
21414
+ },
21415
+ // 语音播放
21416
+ handlePlayTTS: function handlePlayTTS(opt) {
21417
+ var _this7 = this;
21418
+ return IotCptvue_type_script_lang_js_asyncToGenerator(/*#__PURE__*/IotCptvue_type_script_lang_js_regeneratorRuntime().mark(function _callee2() {
21419
+ var _content3, onStart, onEnded, _opt$isExit, isExit, res, arrayBuffer, blob, url, audio, _onEndedHandler;
21420
+ return IotCptvue_type_script_lang_js_regeneratorRuntime().wrap(function _callee2$(_context2) {
21421
+ while (1) switch (_context2.prev = _context2.next) {
21422
+ case 0:
21423
+ _context2.prev = 0;
21424
+ _content3 = opt.content, onStart = opt.onStart, onEnded = opt.onEnded, _opt$isExit = opt.isExit, isExit = _opt$isExit === void 0 ? true : _opt$isExit;
21425
+ _context2.next = 4;
21426
+ return Tx.TextToVoice(_content3);
21427
+ case 4:
21428
+ res = _context2.sent;
21429
+ arrayBuffer = base64ToArrayBuffer(res.Audio);
21430
+ blob = new Blob([arrayBuffer], {
21431
+ type: "audio/wav"
21432
+ });
21433
+ url = URL.createObjectURL(blob); // 清理上一个 audio
21434
+ if (_this7.currentAudio) {
21435
+ _this7.isReading = false;
21436
+ try {
21437
+ _this7.currentAudio.pause();
21438
+ } catch (e) {}
21439
+ try {
21440
+ _this7.currentAudio.src = "";
21441
+ } catch (e) {}
21442
+ if (_this7.currentAudioUrl) {
21443
+ URL.revokeObjectURL(_this7.currentAudioUrl);
21444
+ _this7.currentAudioUrl = null;
21445
+ }
21446
+ _this7.currentAudio = null;
21447
+ }
21448
+ audio = new Audio(url);
21449
+ _this7.currentAudio = audio;
21450
+ _this7.currentAudioUrl = url;
21451
+ _onEndedHandler = function onEndedHandler(e) {
21452
+ // revoke url
21453
+ try {
21454
+ if (_this7.currentAudioUrl) {
21455
+ URL.revokeObjectURL(_this7.currentAudioUrl);
21456
+ _this7.currentAudioUrl = null;
21457
+ }
21458
+ } catch (e) {}
21459
+ try {
21460
+ audio.pause();
21461
+ } catch (e) {}
21462
+ try {
21463
+ audio.src = "";
21464
+ } catch (e) {}
21465
+ if (_this7.currentAudio === audio) _this7.currentAudio = null;
21466
+ audio.removeEventListener("ended", _onEndedHandler);
21467
+ if (isExit) _this7.wakeUpTime = new Date().getTime();
21468
+ _this7.oneQuestionOneAnswer = true;
21469
+ onEnded && onEnded();
21470
+ _this7.isReading = false;
21471
+ };
21472
+ audio.addEventListener("ended", _onEndedHandler);
21473
+ _this7.isReading = true;
21474
+ onStart && onStart();
21475
+ audio.play().catch(function (err) {
21476
+ return console.warn('audio play failed', err);
21477
+ });
21478
+ _context2.next = 25;
21479
+ break;
21480
+ case 19:
21481
+ _context2.prev = 19;
21482
+ _context2.t0 = _context2["catch"](0);
21483
+ console.log("handlePlayTTS error", _context2.t0);
21484
+ _this7.oneQuestionOneAnswer = true;
21485
+ _this7.isReading = false;
21486
+ opt.onStart && opt.onStart();
21487
+ case 25:
21488
+ case "end":
21489
+ return _context2.stop();
21490
+ }
21491
+ }, _callee2, null, [[0, 19]]);
21492
+ }))();
21493
+ },
21494
+ updateSessionId: function updateSessionId() {
21495
+ this.sessionId = guid();
21496
+ this.wakeUpBool = false;
21497
+ },
21498
+ // 处理识别结果
21499
+ onResult: function onResult(res) {
21500
+ if (!this.wakeUpBool) {
21501
+ this.wakeUpBool = wakeUp(res); // 是否唤醒
21502
+ if (this.wakeUpBool && this.setWakeUp) this.setWakeUp();
21503
+ } else {
21504
+ if (!this.bubbleShow) {
21505
+ this.wakeUpBool = false;
21506
+ return;
21507
+ }
21508
+ var quitState = onQuit(res); // 操作前判断是否退出
21509
+ // if (quitState) this.updateSessionId();
21510
+ var _opt = IotCptvue_type_script_lang_js_objectSpread(IotCptvue_type_script_lang_js_objectSpread({}, res), {}, {
21511
+ sessionId: this.sessionId,
21512
+ quitState: quitState
21513
+ });
21514
+ this.operation(_opt);
21515
+ }
21516
+ },
21517
+ onStop: function onStop() {
21518
+ var _this$wasr, _this$wasr$stop;
21519
+ (_this$wasr = this.wasr) === null || _this$wasr === void 0 || (_this$wasr$stop = _this$wasr.stop) === null || _this$wasr$stop === void 0 || _this$wasr$stop.call(_this$wasr);
21520
+ this.wasr = undefined;
21521
+ },
21522
+ onStart: function onStart(options) {
21523
+ var _this8 = this;
21524
+ if (this.wasr) {
21525
+ this.onStop();
21526
+ // this.updateSessionId();
21527
+ }
21528
+ return new Promise(function (resolve, reject) {
21529
+ var params = {
21530
+ signCallback: getSignature,
21531
+ // 鉴权函数
21532
+ // 用户参数
21533
+ secretid: "AKID0ueLqATfq5D8FD0c5e5vc9WjmeLp8HFI",
21534
+ // 'AKIDJFZif6KKF5xQtx9Azc3UBh7NNAl8HFDi',
21535
+ appid: "",
21536
+ // '1307944521', // '1317692689',
21537
+ // 实时识别接口参数
21538
+ engine_model_type: "16k_zh",
21539
+ // 因为内置WebRecorder采样16k的数据,所以参数 engineModelType 需要选择16k的引擎,为 '16k_zh'
21540
+ // 以下为非必填参数,可跟据业务自行修改
21541
+ voice_format: 1,
21542
+ hotword_id: "1a59c3abe45e11ef959406b1cf581094",
21543
+ // 热词
21544
+ // reinforce_hotword: 1,
21545
+ needvad: 1,
21546
+ filter_dirty: 1,
21547
+ filter_modal: 2,
21548
+ filter_punc: 0,
21549
+ convert_num_mode: 1,
21550
+ result_text_format: 0,
21551
+ word_info: 2,
21552
+ vad_silence_time: 1000
21553
+ };
21554
+ var webAudioSpeechRecognizer = new WebAudioSpeechRecognizer(params);
21555
+
21556
+ // 开始识别
21557
+ webAudioSpeechRecognizer.OnRecognitionStart = function (res) {
21558
+ // console.log("开始识别", res);
21559
+ };
21560
+ var start = false;
21561
+ var sentenceId = "";
21562
+ // 一句话开始
21563
+ webAudioSpeechRecognizer.OnSentenceBegin = function (res) {
21564
+ if (start) {
21565
+ return;
21566
+ }
21567
+ // console.log("一句话开始", res);
21568
+ sentenceId = guid();
21569
+ _this8.onResult(IotCptvue_type_script_lang_js_objectSpread({
21570
+ sentenceId: sentenceId
21571
+ }, res), options);
21572
+ start = true;
21573
+ };
21574
+ // 识别变化时
21575
+ webAudioSpeechRecognizer.OnRecognitionResultChange = function (res) {
21576
+ // console.log("==> 识别变化时", res);
21577
+ _this8.onResult(IotCptvue_type_script_lang_js_objectSpread({
21578
+ sentenceId: sentenceId
21579
+ }, res), options);
21580
+ };
21581
+ // 一句话结束
21582
+ webAudioSpeechRecognizer.OnSentenceEnd = function (res) {
21583
+ start = false;
21584
+ // console.log("一句话结束", res);
21585
+ _this8.onResult(IotCptvue_type_script_lang_js_objectSpread({
21586
+ sentenceId: sentenceId
21587
+ }, res), options);
21588
+ };
21589
+ // 识别结束
21590
+ webAudioSpeechRecognizer.OnRecognitionComplete = function (res) {
21591
+ // console.log("识别结束", res);
21592
+ // this.updateSessionId();
21593
+ };
21594
+ // 识别错误
21595
+ webAudioSpeechRecognizer.OnError = function (res) {
21596
+ console.log("OnError 识别失败: ", res);
21597
+ if ((res === null || res === void 0 ? void 0 : res.code) === 1006 || (res === null || res === void 0 ? void 0 : res.code) === 4000) {
21598
+ if (_this8.wasr) {
21599
+ _this8.onStop();
21600
+ _this8.onStart();
21601
+ }
21602
+ }
21603
+ };
21604
+ webAudioSpeechRecognizer.start();
21605
+ _this8.wasr = webAudioSpeechRecognizer;
21606
+ });
21607
+ },
21608
+ scrollMessageBox: function scrollMessageBox() {
21609
+ var _this9 = this;
21610
+ var behavior = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : 'smooth';
21611
+ setTimeout(function () {
21612
+ _this9.$nextTick(function () {
21613
+ var e = document.getElementById("messageListRef");
21614
+ if (e) e.scrollTo({
21615
+ top: e.scrollHeight,
21616
+ // 滚动的垂直位置
21617
+ left: 0,
21618
+ // 滚动的水平位置(不滚动则设置为 0)
21619
+ behavior: behavior // 可选,'auto' 或 'smooth'(平滑滚动)
21620
+ });
21621
+ });
21622
+ }, 100);
21623
+ },
21624
+ getMessage: function getMessage() {
21625
+ var _this0 = this;
21626
+ var _that = this;
21627
+ // 如果已有 socket,先关闭
21628
+ if (this.socket) {
21629
+ try {
21630
+ this.socket.close();
21631
+ } catch (e) {}
21632
+ this.socket = null;
21633
+ }
21634
+ this.clientId = "demo-client-".concat(parseInt(Math.random() * Math.pow(10, 9)));
21635
+ sessionStorage.setItem('xiaoan_clientId', this.clientId);
21636
+ // this.socket = new WebSocket(`ws://${this.baseURL}:8995/speech2speechws/v1/ws/${this.clientId}`);
21637
+ this.socket = new WebSocket("ws://".concat(this.baseURL, ":8995/sjzpwsts/v1/ws/").concat(this.clientId));
21638
+ this.socket.onopen = function (event) {
21639
+ console.log("WebSocket 连接已打开");
21640
+ _that.startHeart();
21641
+ };
21642
+ this.socket.onmessage = function (event) {
21643
+ try {
21644
+ _that.disposeMessage(JSON.parse(event.data));
21645
+ } catch (e) {
21646
+ console.error(e);
21647
+ }
21648
+ };
21649
+ this.socket.onerror = function (e) {
21650
+ console.log('链接异常', e);
21651
+ };
21652
+ this.socket.onclose = function (e) {
21653
+ console.log("链接关闭了, 重新连接", e);
21654
+ if (_this0._isDestroyed) return;
21655
+ // 清理老的重连id
21656
+ if (_this0.reconnectTimerId) {
21657
+ clearTimeout(_this0.reconnectTimerId);
21658
+ _this0.reconnectTimerId = null;
21659
+ }
21660
+ _this0.reconnectTimerId = setTimeout(function () {
21661
+ _this0.reconnectTimerId = null;
21662
+ if (!_this0._isDestroyed) _this0.getMessage();
21663
+ }, 2000);
21664
+ };
21665
+ },
21666
+ startHeart: function startHeart() {
21667
+ var _this1 = this;
21668
+ if (this.setIntervalWebsocket) {
21669
+ clearInterval(this.setIntervalWebsocket);
21670
+ this.setIntervalWebsocket = null;
21671
+ }
21672
+ this.sendPing();
21673
+ this.setIntervalWebsocket = setInterval(function () {
21674
+ _this1.sendPing();
21675
+ }, 60000);
21676
+ },
21677
+ sendPing: function sendPing() {
21678
+ if (!this.socket || this.socket.readyState !== WebSocket.OPEN) return;
21679
+ var heartBeat = {
21680
+ type: "ping",
21681
+ timestamp: new Date().getTime()
21682
+ };
21683
+ try {
21684
+ this.socket.send(JSON.stringify(heartBeat));
21685
+ } catch (e) {
21686
+ console.warn(e);
21687
+ }
21688
+ },
21689
+ disposeMessage: function disposeMessage(message) {
21690
+ var _this10 = this;
21691
+ var type = message.type,
21692
+ data = message.data;
21693
+ if (type === 'broadcast') {
21694
+ var obj = data.obj,
21695
+ status = data.status;
21696
+ var par = obj.par,
21697
+ standard_back = obj.standard_back,
21698
+ answer_id = obj.answer_id,
21699
+ show_text = obj.show_text,
21700
+ require_ack = obj.require_ack,
21701
+ request_id = obj.request_id,
21702
+ back_list = obj.back_list,
21703
+ recommand_list = obj.recommand_list,
21704
+ has_next_page = obj.has_next_page,
21705
+ has_prev_page = obj.has_prev_page,
21706
+ sentence_id = obj.sentence_id,
21707
+ reply = obj.reply;
21708
+ var commandName = par === null || par === void 0 ? void 0 : par.command_name;
21709
+ console.log(standard_back, data);
21710
+ // console.log(this.isWaitAnswer, sentence_id, this.waitAnswerTimer, this.waitSentenceId, sentence_id == this.waitSentenceId)
21711
+ // if (this.isWaitAnswer && sentence_id && this.waitSentenceId && sentence_id == this.waitSentenceId) {
21712
+ // if (require_ack) {
21713
+ // this.sendMessage({
21714
+ // request_id,
21715
+ // execute_state: 'ok',
21716
+ // execute_info: {}
21717
+ // })
21718
+ // }
21719
+ // return; // 超时直接拒收
21720
+ // }
21721
+ // this.endWaitAnswer()
21722
+ // this.isWaitAnswer = false
21723
+ if (!this.selfCode.includes(commandName)) {
21724
+ //发送指令
21725
+ this.oneQuestionOneAnswer = true; // 暂时直接改为一收到指令就视为已经收到答案了
21726
+ this.voiecContent = data.obj;
21727
+ // if (standard_back) {
21728
+ var showNextPage = has_next_page ? true : false;
21729
+ var showPrevPage = has_prev_page ? true : false;
21730
+ var _opts = {
21731
+ res: {
21732
+ sentenceId: answer_id || guid()
21733
+ },
21734
+ messages: {
21735
+ type: "FROM",
21736
+ content: show_text || standard_back,
21737
+ standard_back: standard_back,
21738
+ contentStatus: status,
21739
+ back_list: back_list || [],
21740
+ recommand_list: recommand_list || [],
21741
+ showNextPage: showNextPage,
21742
+ showPrevPage: showPrevPage,
21743
+ reply: reply
21744
+ }
21745
+ };
21746
+ var isFlag = false;
21747
+ if (reply) isFlag = true;
21748
+ if (standard_back) {
21749
+ this.openAide();
21750
+ this.pushMessage(_opts);
21751
+ this.handlePlayTTS({
21752
+ content: standard_back,
21753
+ onEnded: function onEnded() {
21754
+ if (status == '2') {
21755
+ _this10.autoQuitAssistant();
21756
+ }
21757
+ }
21758
+ });
21759
+ } else {
21760
+ if (this.isReading) this.pauseAudio();
21761
+ if (show_text || standard_back || reply || Object.keys(reply).length > 0) {
21762
+ this.openAide();
21763
+ this.pushMessage(_opts);
21764
+ }
21765
+ }
21766
+ // this.openAide()
21767
+ // this.updateSession({
21768
+ // res: {},
21769
+ // messages: { type: "FROM", content: standard_back, back_list: back_list || [], recommand_list: recommand_list || [] },
21770
+ // sentenceId: Math.floor(Math.random() * 1000000).toString()
21771
+ // });
21772
+ // } else {
21773
+ // this.oneQuestionOneAnswer = true;
21774
+ // // if (!require_ack) this.oneQuestionOneAnswer = true;
21775
+ // }
21776
+ }
21777
+ } else if (type === "environment") {
21778
+ this.getEnvironment();
21779
+ }
21780
+ },
21781
+ getEnvironment: function getEnvironment() {
21782
+ var _this$userInfo;
21783
+ this.getSystem();
21784
+ var query = {
21785
+ type: "environment",
21786
+ session_id: this.sessionId,
21787
+ appId: this.appId,
21788
+ userName: ((_this$userInfo = this.userInfo) === null || _this$userInfo === void 0 ? void 0 : _this$userInfo.username) || "",
21789
+ screenType: this.screenType,
21790
+ data: {
21791
+ target: this.appId
21792
+ }
21793
+ };
21794
+ try {
21795
+ this.socket.send(JSON.stringify(query));
21796
+ } catch (e) {}
21797
+ },
21798
+ getUserInfo: function getUserInfo() {
21799
+ var user = localStorage.getItem('pro__Login_Userinfo');
21800
+ if (user) {
21801
+ var info = JSON.parse(user).value;
21802
+ if (info) {
21803
+ this.userInfo = info;
21804
+ }
21805
+ }
21806
+ console.log("userInfo", this.userInfo);
21807
+ },
21808
+ getSystem: function getSystem() {
21809
+ var path = window.location.pathname;
21810
+ var _list = path.split('/');
21811
+ var target = _list.find(function (item) {
21812
+ return item.includes('cimapp-');
21813
+ });
21814
+ // target = target?.endsWith('m') ? target?.slice(0, -1) : target
21815
+ if (target) {
21816
+ this.appId = target;
21817
+ } else {
21818
+ this.appId = 'cim';
21819
+ }
21820
+ },
21821
+ testClick: function testClick() {
21822
+ // this.sendMessage({
21823
+ // isEventStatus: true,
21824
+ // isBroadcast: true,
21825
+ // data: {
21826
+ // BROADCAST_INFO: "新安街道宝民一路-国道辅道于10时25分发生了一件严重等级的积水事件,请您关注。"
21827
+ // },
21828
+ // eventData: {
21829
+ // street: '新安街道',
21830
+ // adress: '宝民一路-国道辅道',
21831
+ // time: '10时25分',
21832
+ // type: '积水'
21833
+ // }
21834
+ // })
21835
+ },
21836
+ sendMessage: function sendMessage(data) {
21837
+ this.getSystem();
21838
+ if (data !== null && data !== void 0 && data.isEventStatus) {
21839
+ console.log("回传当前事件状态");
21840
+ if (data !== null && data !== void 0 && data.isBroadcast) {
21841
+ this.handleBroadcastData(data);
21842
+ } else {
21843
+ bus.emit('callBackStatus', data.data);
21844
+ }
21845
+ } else {
21846
+ var query = {
21847
+ type: "response",
21848
+ session_id: this.sessionId,
21849
+ data: data,
21850
+ appId: this.appId,
21851
+ screenType: this.screenType
21852
+ };
21853
+ console.log("回传信息:\n", data, query);
21854
+ this.socket.send(JSON.stringify(query));
21855
+ }
21856
+ },
21857
+ // 处理事件播报内容
21858
+ handleBroadcastData: function handleBroadcastData(data) {
21859
+ var _this11 = this;
21860
+ return IotCptvue_type_script_lang_js_asyncToGenerator(/*#__PURE__*/IotCptvue_type_script_lang_js_regeneratorRuntime().mark(function _callee3() {
21861
+ var _data$eventData, _data$data$BROADCAST_, _data$data;
21862
+ var eventData, broadcastInfo, info, broadcastInfoHtml, _this11$userInfo, _formData2, _res, code, status, obj, _obj$recommand_list, recommand_list, _opts, _opt, _error$message3, _error$message4;
21863
+ return IotCptvue_type_script_lang_js_regeneratorRuntime().wrap(function _callee3$(_context3) {
21864
+ while (1) switch (_context3.prev = _context3.next) {
21865
+ case 0:
21866
+ eventData = (_data$eventData = data === null || data === void 0 ? void 0 : data.eventData) !== null && _data$eventData !== void 0 ? _data$eventData : {};
21867
+ broadcastInfo = (_data$data$BROADCAST_ = data === null || data === void 0 || (_data$data = data.data) === null || _data$data === void 0 ? void 0 : _data$data.BROADCAST_INFO) !== null && _data$data$BROADCAST_ !== void 0 ? _data$data$BROADCAST_ : '';
21868
+ if (!broadcastInfo) {
21869
+ _context3.next = 24;
21870
+ break;
21871
+ }
21872
+ info = IotCptvue_type_script_lang_js_objectSpread(IotCptvue_type_script_lang_js_objectSpread({}, eventData), {}, {
21873
+ type: "FROM",
21874
+ content: eventData,
21875
+ sentenceId: guid(),
21876
+ isBroadcast: true
21877
+ });
21878
+ _this11.messagesList.push(info);
21879
+ _this11.scrollMessageBox();
21880
+ broadcastInfoHtml = "\n <div class=\"bubblebox-broadcast-content\">\n <img src=\"".concat(iconTip, "\" alt=\"\">\n \u3010<span style=\"color: #FFDF05;\">").concat(eventData === null || eventData === void 0 ? void 0 : eventData.street, "</span>\u3011\u3010<span\n >").concat(eventData === null || eventData === void 0 ? void 0 : eventData.adress, "</span>\u3011\u4E8E\u4ECA\u65E5<span>").concat(eventData === null || eventData === void 0 ? void 0 : eventData.time, "</span>\u53D1\u751F\u4E00\u8D77<span style=\"color: #FF5151;\"\n >\u4E25\u91CD</span>\u7B49\u7EA7<span>").concat(eventData === null || eventData === void 0 ? void 0 : eventData.type, "</span>\u4E8B\u4EF6\uFF0C\u8BF7\u60A8\u5173\u6CE8\u3002\n </div>\n ");
21881
+ _this11.bubbleBoxTitle = broadcastInfoHtml;
21882
+ _this11.handlePlayTTS({
21883
+ content: broadcastInfo
21884
+ });
21885
+ _context3.prev = 9;
21886
+ _formData2 = {
21887
+ version: _this11.version,
21888
+ screenType: _this11.screenType,
21889
+ appId: _this11.appId,
21890
+ userName: ((_this11$userInfo = _this11.userInfo) === null || _this11$userInfo === void 0 ? void 0 : _this11$userInfo.username) || "",
21891
+ mode: _this11.mode,
21892
+ prompt: "\u53D1\u751F\u4E86\u4E00\u4EF6".concat(eventData === null || eventData === void 0 ? void 0 : eventData.type, "\u4E8B\u4EF6"),
21893
+ system_id: _this11.systemId,
21894
+ session_id: guid(),
21895
+ voice_id: guid(),
21896
+ webSocketId: _this11.webSocketId,
21897
+ sentence_id: guid(),
21898
+ client_id: _this11.clientId,
21899
+ eventStatus: data === null || data === void 0 ? void 0 : data.data,
21900
+ isReading: false
21901
+ };
21902
+ _context3.next = 13;
21903
+ return Tx.leaderSpeech(_formData2);
21904
+ case 13:
21905
+ _res = _context3.sent;
21906
+ code = _res.code, status = _res.status, obj = _res.obj;
21907
+ if (code == 200 || code == 300 && status == '3' && obj !== null && obj !== void 0 && obj.standard_back) {
21908
+ _this11.oneQuestionOneAnswer = true;
21909
+ _obj$recommand_list = obj.recommand_list, recommand_list = _obj$recommand_list === void 0 ? [] : _obj$recommand_list;
21910
+ _opts = {
21911
+ res: {
21912
+ sentenceId: guid()
21913
+ },
21914
+ messages: {
21915
+ type: "",
21916
+ recommand_list: recommand_list || [],
21917
+ isEventRecommand: true
21918
+ }
21919
+ };
21920
+ _this11.pushMessage(_opts);
21921
+ } else if (code === 504) {
21922
+ _this11.timeOutContent();
21923
+ } else if (code === 300) {
21924
+ _this11.waitSentenceId = _formData2.sentence_id;
21925
+ if (status == '3') {
21926
+ _opt = {
21927
+ res: {
21928
+ sentenceId: guid()
21929
+ },
21930
+ messages: {
21931
+ type: "TO",
21932
+ content: content
21933
+ }
21934
+ };
21935
+ _this11.pushMessage(_opt);
21936
+ }
21937
+ }
21938
+ _context3.next = 24;
21939
+ break;
21940
+ case 18:
21941
+ _context3.prev = 18;
21942
+ _context3.t0 = _context3["catch"](9);
21943
+ console.log("speech2speech2 ->", _context3.t0);
21944
+ console.log(_context3.t0.message);
21945
+ console.log(_context3.t0 === null || _context3.t0 === void 0 || (_error$message3 = _context3.t0.message) === null || _error$message3 === void 0 ? void 0 : _error$message3.includes("timeout"));
21946
+ if (_context3.t0 !== null && _context3.t0 !== void 0 && (_error$message4 = _context3.t0.message) !== null && _error$message4 !== void 0 && _error$message4.includes('timeout')) {
21947
+ _this11.waitSentenceId = formData.sentence_id;
21948
+ _this11.timeOutContent();
21949
+ } else {
21950
+ _this11.oneQuestionOneAnswer = true;
21951
+ }
21952
+ case 24:
21953
+ case "end":
21954
+ return _context3.stop();
21955
+ }
21956
+ }, _callee3, null, [[9, 18]]);
21957
+ }))();
21958
+ },
21959
+ getEventStatus: function getEventStatus() {
21960
+ this.voiecContent = {
21961
+ cim: this.appId || "cimapp-iot",
21962
+ par: {},
21963
+ eventStatus: true,
21964
+ request_back: {}
21965
+ };
21966
+ },
21967
+ waitGetEventStatus: function waitGetEventStatus() {
21968
+ return new Promise(function (resolve, reject) {
21969
+ var _handler = function handler(info) {
21970
+ bus.off('callBackStatus', _handler);
21971
+ clearTimeout(timeOutId);
21972
+ resolve(info);
21973
+ };
21974
+ bus.on('callBackStatus', _handler);
21975
+ var timeOutId = setTimeout(function () {
21976
+ bus.off('callBackStatus', _handler);
21977
+ reject(new Error('等待状态回传超时'));
21978
+ }, 5 * 1000);
21979
+ });
21980
+ },
21981
+ submitText: function submitText() {
21982
+ var quitState = onQuit({
21983
+ result: {
21984
+ voice_text_str: this.inputContent
21985
+ }
21986
+ });
21987
+ if (!this.inputContent || !this.oneQuestionOneAnswer) return;
21988
+ var _opt = {
21989
+ sessionId: this.sessionId,
21990
+ sentenceId: guid(),
21991
+ voice_id: guid(),
21992
+ quitState: quitState,
21993
+ result: {
21994
+ slice_type: 2,
21995
+ voice_text_str: this.inputContent
21996
+ }
21997
+ };
21998
+ this.operation(_opt);
21999
+ this.inputContent = "";
22000
+ },
22001
+ showPopover: function showPopover() {
22002
+ var _this12 = this;
22003
+ this.isShowPopover = true;
22004
+ this.timer = setTimeout(function () {
22005
+ _this12.hiddenPopover();
22006
+ }, 3000);
22007
+ },
22008
+ hiddenPopover: function hiddenPopover() {
22009
+ this.isShowPopover = false;
22010
+ if (this.timer) {
22011
+ clearTimeout(this.timer);
22012
+ this.timer = null;
22013
+ }
22014
+ // this.timer = setTimeout(() => {
22015
+ // this.showPopover();
22016
+ // }, 1500);
22017
+ },
22018
+ pauseAudio: function pauseAudio() {
22019
+ // 停止并释放 audio
22020
+ try {
22021
+ this.isReading = false;
22022
+ if (this.currentAudio) {
22023
+ try {
22024
+ this.currentAudio.pause();
22025
+ } catch (e) {}
22026
+ try {
22027
+ this.currentAudio.src = "";
22028
+ } catch (e) {}
22029
+ this.currentAudio = null;
22030
+ }
22031
+ if (this.currentAudioUrl) {
22032
+ try {
22033
+ URL.revokeObjectURL(this.currentAudioUrl);
22034
+ } catch (e) {}
22035
+ this.currentAudioUrl = null;
22036
+ }
22037
+ } catch (e) {
22038
+ console.warn(e);
22039
+ }
22040
+ },
22041
+ cleanupResources: function cleanupResources() {
22042
+ this._isDestroyed = true;
22043
+ this.onStop();
22044
+ try {
22045
+ if (this.wasr && this.wasr.stop) {
22046
+ this.wasr.stop();
22047
+ }
22048
+ } catch (e) {
22049
+ console.warn(e);
22050
+ }
22051
+ this.wasr = undefined;
22052
+ if (this.setIntervalWebsocket) {
22053
+ clearInterval(this.setIntervalWebsocket);
22054
+ this.setIntervalWebsocket = null;
22055
+ }
22056
+ if (this.endTimeOut) {
22057
+ clearTimeout(this.endTimeOut);
22058
+ this.endTimeOut = null;
22059
+ }
22060
+ if (this.reconnectTimerId) {
22061
+ clearTimeout(this.reconnectTimerId);
22062
+ this.reconnectTimerId = null;
22063
+ }
22064
+ if (this.timer) {
22065
+ clearTimeout(this.timer);
22066
+ this.timer = null;
22067
+ }
22068
+ this.endWaitAnswer();
22069
+ // 关闭 socket 并移除监听
22070
+ try {
22071
+ if (this.socket) {
22072
+ try {
22073
+ this.socket.onopen = null;
22074
+ } catch (e) {}
22075
+ try {
22076
+ this.socket.onmessage = null;
22077
+ } catch (e) {}
22078
+ try {
22079
+ this.socket.onerror = null;
22080
+ } catch (e) {}
22081
+ try {
22082
+ this.socket.onclose = null;
22083
+ } catch (e) {}
22084
+ try {
22085
+ this.socket.close();
22086
+ } catch (e) {}
22087
+ this.socket = null;
22088
+ }
22089
+ } catch (e) {
22090
+ console.warn(e);
22091
+ }
22092
+
22093
+ // 停止并释放 audio
22094
+ this.pauseAudio();
22095
+ },
22096
+ receiveNextData: function receiveNextData() {
22097
+ var _this13 = this;
22098
+ if (this.currentIndex < mockDataSequence.length) {
22099
+ var data = mockDataSequence[this.currentIndex];
22100
+ // this.processReceivedData(data);
22101
+ this.disposeMessage({
22102
+ type: 'broadcast',
22103
+ data: {
22104
+ obj: data
22105
+ }
22106
+ });
22107
+ this.currentIndex++;
22108
+ console.log(this.currentIndex, data, "sendData", mockDataSequence.length, mockDataSequence);
22109
+ // 模拟接口响应延迟
22110
+ this.intervalId = setTimeout(function () {
22111
+ _this13.receiveNextData();
22112
+ }, 1000);
22113
+ } else {
22114
+ // this.isReceiving = false;
22115
+ }
22116
+ },
22117
+ getSpeechSilence: function getSpeechSilence() {
22118
+ var _this14 = this;
22119
+ return IotCptvue_type_script_lang_js_asyncToGenerator(/*#__PURE__*/IotCptvue_type_script_lang_js_regeneratorRuntime().mark(function _callee4() {
22120
+ var resp, _resp$obj;
22121
+ return IotCptvue_type_script_lang_js_regeneratorRuntime().wrap(function _callee4$(_context4) {
22122
+ while (1) switch (_context4.prev = _context4.next) {
22123
+ case 0:
22124
+ _context4.prev = 0;
22125
+ _context4.next = 3;
22126
+ return Tx.getSpeechSilence();
22127
+ case 3:
22128
+ resp = _context4.sent;
22129
+ if ((resp === null || resp === void 0 ? void 0 : resp.code) == 200 && resp !== null && resp !== void 0 && resp.obj) {
22130
+ _this14.wakeEndTime = resp === null || resp === void 0 || (_resp$obj = resp.obj) === null || _resp$obj === void 0 ? void 0 : _resp$obj.stay_time;
22131
+ }
22132
+ _context4.next = 10;
22133
+ break;
22134
+ case 7:
22135
+ _context4.prev = 7;
22136
+ _context4.t0 = _context4["catch"](0);
22137
+ console.log("时长获取失败");
22138
+ case 10:
22139
+ case "end":
22140
+ return _context4.stop();
22141
+ }
22142
+ }, _callee4, null, [[0, 7]]);
22143
+ }))();
22144
+ },
22145
+ // 会话框折叠
22146
+ onClickFold: function onClickFold() {
22147
+ this.isShowContent = !this.isShowContent;
22148
+ }
22149
+ },
22150
+ beforeDestroy: function beforeDestroy() {
22151
+ this.cleanupResources();
22152
+ },
22153
+ mounted: function mounted() {
22154
+ var _this15 = this;
22155
+ console.log("小安当前版本", this.version);
22156
+ this._isDestroyed = false;
22157
+ this.showPopover();
22158
+ this.getSpeechSilence();
22159
+ this.onStart();
22160
+ this.getMessage();
22161
+ document.addEventListener('click', function (e) {
22162
+ if (!e.target.closest('.dropdown')) {
22163
+ _this15.isShowSelect = false;
22164
+ }
22165
+ });
22166
+ this.getUserInfo();
22167
+ }
22168
+ };
22169
+
22170
+ var IotCptvue_type_script_lang_js_injectCSSVars_ = function __injectCSSVars__() {
22171
+ (0,external_commonjs_vue_commonjs2_vue_root_Vue_.useCssVars)(function (_vm, _setup) {
22172
+ return {
22173
+ "2e19521b": _vm.htmlFontSize
22174
+ };
22175
+ });
22176
+ };
22177
+ var IotCptvue_type_script_lang_js_setup_ = IotCptvue_type_script_lang_js_default_.setup;
22178
+ IotCptvue_type_script_lang_js_default_.setup = IotCptvue_type_script_lang_js_setup_ ? function (props, ctx) {
22179
+ IotCptvue_type_script_lang_js_injectCSSVars_();
22180
+ return IotCptvue_type_script_lang_js_setup_(props, ctx);
22181
+ } : IotCptvue_type_script_lang_js_injectCSSVars_;
22182
+ /* harmony default export */ var IotCptvue_type_script_lang_js = (IotCptvue_type_script_lang_js_default_);
22183
+ ;// ./package/SpeechRecognition/cpts/IotCpt.vue?vue&type=script&lang=js
22184
+ /* harmony default export */ var cpts_IotCptvue_type_script_lang_js = (IotCptvue_type_script_lang_js);
22185
+ // EXTERNAL MODULE: ./node_modules/vue-style-loader/index.js??clonedRuleSet-64.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-64.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-64.use[2]!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-64.use[3]!./node_modules/sass-loader/dist/cjs.js??clonedRuleSet-64.use[4]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./package/SpeechRecognition/cpts/IotCpt.vue?vue&type=style&index=0&id=03712d72&prod&lang=scss&scoped=true
22186
+ var IotCptvue_type_style_index_0_id_03712d72_prod_lang_scss_scoped_true = __webpack_require__(73);
22187
+ ;// ./package/SpeechRecognition/cpts/IotCpt.vue?vue&type=style&index=0&id=03712d72&prod&lang=scss&scoped=true
22188
+
22189
+ ;// ./package/SpeechRecognition/cpts/IotCpt.vue
22190
+
22191
+
22192
+
22193
+ ;
22194
+
22195
+
22196
+ /* normalize component */
22197
+
22198
+ var IotCpt_component = normalizeComponent(
22199
+ cpts_IotCptvue_type_script_lang_js,
22200
+ IotCptvue_type_template_id_03712d72_scoped_true_render,
22201
+ IotCptvue_type_template_id_03712d72_scoped_true_staticRenderFns,
22202
+ false,
22203
+ null,
22204
+ "03712d72",
22205
+ null
22206
+
22207
+ )
22208
+
22209
+ /* harmony default export */ var IotCpt = (IotCpt_component.exports);
22210
+ ;// ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-82.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./package/SpeechRecognition/cpts/LeaderCpt.vue?vue&type=template&id=37926bb0&scoped=true
22211
+ var LeaderCptvue_type_template_id_37926bb0_scoped_true_render = function render() {
22212
+ var _vm = this,
22213
+ _c = _vm._self._c;
22214
+ return _c('div', {
22215
+ directives: [{
22216
+ name: "Drag",
22217
+ rawName: "v-Drag"
22218
+ }],
22219
+ staticClass: "leader-box"
22220
+ }, [_c('div', {
22221
+ staticClass: "title drag-header"
22222
+ }, [_c('div', {
22223
+ staticClass: "title-left"
22224
+ }, [_c('img', {
22225
+ attrs: {
22226
+ "src": __webpack_require__(62),
22227
+ "alt": ""
22228
+ },
22229
+ on: {
22230
+ "click": _vm.testClick
22231
+ }
22232
+ }), _c('span', {
22233
+ staticClass: "title-text"
22234
+ }, [_vm._v("小安助手")])]), !_vm.isShowContent && _vm.isReading ? _c('div', {
22235
+ staticClass: "title-broadcast-text"
22236
+ }, [_c('span', {
22237
+ staticClass: "broadcast-text-point"
22238
+ }, [_vm._v("...")]), _c('span', {
22239
+ staticClass: "broadcast-text"
22240
+ }, [_vm._v("正在播报")])]) : _vm._e(), _c('span', {
22241
+ class: ['iconfont fold', _vm.isShowContent ? '' : 'isfold'],
22242
+ on: {
22243
+ "click": _vm.onClickFold
22244
+ }
22245
+ }, [_c('img', {
22246
+ attrs: {
22247
+ "src": __webpack_require__(823)
22248
+ }
22249
+ })])]), !_vm.isShowContent && (_vm.bubbleBoxTitle || _vm.bubbleBoxQuestion || _vm.streamItems.length > 0) ? _c('div', {
22250
+ staticClass: "bubbleBox"
22251
+ }, [_vm.bubbleBoxQuestion ? _c('div', {
22252
+ staticClass: "bubbleBox-title",
22253
+ class: {
22254
+ 'bubbleBox-to': true
22255
+ }
22256
+ }, [_c('span', {
22257
+ staticClass: "html-content",
22258
+ domProps: {
22259
+ "innerHTML": _vm._s(_vm.bubbleBoxQuestion)
22260
+ }
22261
+ })]) : _vm._e(), _vm.bubbleBoxTitle ? _c('div', {
22262
+ staticClass: "bubbleBox-title"
22263
+ }, [_c('span', {
22264
+ staticClass: "html-content",
22265
+ domProps: {
22266
+ "innerHTML": _vm._s(_vm.bubbleBoxTitle)
22267
+ }
22268
+ }), _vm.bubbleBoxBackList.length ? _c('span', {
22269
+ staticClass: "box-container"
22270
+ }, [_vm._l(_vm.bubbleBoxBackList, function (item1, index1) {
22271
+ return item1.name ? _c('span', {
22272
+ staticClass: "item-box"
22273
+ }, [_c('div', {
22274
+ staticClass: "item-box-index"
22275
+ }, [_vm._v(_vm._s(item1.index ? item1.index : index1 + 1))]), _c('div', {
22276
+ staticClass: "item-box-content"
22277
+ }, [_c('div', [item1.label ? _c('span', {
22278
+ staticClass: "item-box-label",
22279
+ style: {
22280
+ background: item1.label_color ? item1.label_color : '#0086BB'
22281
+ }
22282
+ }, [_vm._v(_vm._s(item1.label))]) : _vm._e(), _vm._v(" " + _vm._s(item1.name) + " ")]), _c('div', {
22283
+ staticClass: "item-box-descriptions"
22284
+ }, [_vm._v(_vm._s(item1 === null || item1 === void 0 ? void 0 : item1.address))])])]) : _vm._e();
22285
+ }), _c('span', {
22286
+ staticStyle: {
22287
+ "display": "flex",
22288
+ "justify-content": "end"
22289
+ }
22290
+ }, [_vm.showPrevPage ? _c('span', [_vm._v("上一页")]) : _vm._e(), _vm.showNextPage ? _c('span', {
22291
+ staticClass: "mr-l-20"
22292
+ }, [_vm._v("下一页")]) : _vm._e()])], 2) : _vm._e()]) : _vm._e(), _vm.streamItems.length > 0 && !_vm.bubbleBoxTitle ? _c('div', {
22293
+ staticClass: "bubbleBox-title"
22294
+ }, [_c('span', [_c('StreamInput', {
22295
+ attrs: {
22296
+ "items": _vm.streamItems,
22297
+ "size": _vm.size
22298
+ }
22299
+ })], 1)]) : _vm._e(), _vm.bubbleBoxRecommandList.length ? _c('div', {
22300
+ staticClass: "bubbleBox-suggest"
22301
+ }, [_c('span', [_c('span', [_vm._v("您可能想了解:")]), _vm._l(_vm.bubbleBoxRecommandList, function (item2, index2) {
22302
+ return _c('span', {
22303
+ staticClass: "item-box"
22304
+ }, [_c('div', {
22305
+ staticClass: "item-box-index"
22306
+ }, [_vm._v(_vm._s(index2 + 1))]), _c('div', {
22307
+ staticClass: "item-box-content"
22308
+ }, [_c('div', [_vm._v(_vm._s(item2))])])]);
22309
+ })], 2)]) : _vm._e()]) : _vm._e(), _c('div', {
22310
+ directives: [{
22311
+ name: "show",
22312
+ rawName: "v-show",
22313
+ value: _vm.isShowContent,
22314
+ expression: "isShowContent"
22315
+ }],
22316
+ class: ['leader-box-content', {
22317
+ 'leader-box-content-empty': _vm.messagesList.length == 0
22318
+ }]
22319
+ }, [_c('div', {
22320
+ staticClass: "message-list"
22321
+ }, [_vm.messagesList.length > 0 ? [_c('div', {
22322
+ staticClass: "message-list-inner",
22323
+ attrs: {
22324
+ "id": "messageListRef"
22325
+ }
22326
+ }, _vm._l(_vm.messagesList, function (item) {
22327
+ return _c('LeaderMessage', _vm._b({
22328
+ key: item.id,
22329
+ attrs: {
22330
+ "size": _vm.size
22331
+ },
22332
+ on: {
22333
+ "clickRecommendation": _vm.onclickRecommendation
22334
+ }
22335
+ }, 'LeaderMessage', item, false));
22336
+ }), 1)] : [_c('div', {
22337
+ staticClass: "message-list-empty"
22338
+ }, [_c('div', [_vm._v("书记您好,您可以这样问我:")]), _vm.emptyRecommendation.length > 0 ? _vm._l(_vm.emptyRecommendation, function (c, i) {
22339
+ return _c('div', {
22340
+ key: i,
22341
+ staticClass: "recommendation-text",
22342
+ on: {
22343
+ "click": function click($event) {
22344
+ return _vm.onclickRecommendation(c);
22345
+ }
22346
+ }
22347
+ }, [_vm._v(_vm._s(i + 1) + ". " + _vm._s(c))]);
22348
+ }) : [_c('div', {
22349
+ staticClass: "recommendation-text",
22350
+ on: {
22351
+ "click": function click($event) {
22352
+ return _vm.onclickRecommendation('哪里有水涝事件?');
22353
+ }
22354
+ }
22355
+ }, [_vm._v("1. 哪里有水涝事件?")])], _vm._m(0)], 2)]], 2), _c('div', {
22356
+ staticClass: "leader-inputContainer"
22357
+ }, [_c('input', {
22358
+ directives: [{
22359
+ name: "model",
22360
+ rawName: "v-model",
22361
+ value: _vm.inputContent,
22362
+ expression: "inputContent"
22363
+ }],
22364
+ staticClass: "inputBox",
22365
+ attrs: {
22366
+ "placeholder": "请输入您的问题"
22367
+ },
22368
+ domProps: {
22369
+ "value": _vm.inputContent
22370
+ },
22371
+ on: {
22372
+ "keyup": function keyup($event) {
22373
+ if (!$event.type.indexOf('key') && _vm._k($event.keyCode, "enter", 13, $event.key, "Enter")) return null;
22374
+ return _vm.submitText.apply(null, arguments);
22375
+ },
22376
+ "input": function input($event) {
22377
+ if ($event.target.composing) return;
22378
+ _vm.inputContent = $event.target.value;
22379
+ }
22380
+ }
22381
+ }), _c('div', {
22382
+ staticClass: "inputButton",
22383
+ on: {
22384
+ "click": _vm.submitText
22385
+ }
22386
+ }, [_c('img', {
22387
+ attrs: {
22388
+ "src": __webpack_require__(963),
22389
+ "alt": ""
22390
+ }
22391
+ })])])])]);
22392
+ };
22393
+ var LeaderCptvue_type_template_id_37926bb0_scoped_true_staticRenderFns = [function () {
22394
+ var _vm = this,
22395
+ _c = _vm._self._c;
22396
+ return _c('div', {
22397
+ staticClass: "recommendation-tip"
22398
+ }, [_c('img', {
22399
+ attrs: {
22400
+ "src": __webpack_require__(594),
22401
+ "alt": ""
22402
+ }
22403
+ }), _c('span', [_vm._v("您也可以在左上角切换场景主题。")])]);
22404
+ }];
22405
+
22406
+ ;// ./package/SpeechRecognition/cpts/LeaderCpt.vue?vue&type=template&id=37926bb0&scoped=true
22407
+
22408
+ ;// ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-82.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./package/SpeechRecognition/cpts/LeaderPcMessage.vue?vue&type=template&id=ed23ed2a&scoped=true
22409
+ var LeaderPcMessagevue_type_template_id_ed23ed2a_scoped_true_render = function render() {
22410
+ var _vm = this,
22411
+ _c = _vm._self._c;
22412
+ return _c('div', {
22413
+ staticClass: "message-wrapper",
22414
+ class: {
22415
+ 'message-type__from': _vm.type === _vm.IMessageType.FROM,
22416
+ 'message-type__to': _vm.type === _vm.IMessageType.TO,
22417
+ 'message-type__none': _vm.type === _vm.IMessageType.NONE
22418
+ }
22419
+ }, [_c('div', {
22420
+ staticClass: "message-content"
22421
+ }, [_c('div', {
22422
+ staticClass: "message-content-inner"
22423
+ }, [_vm.isEventRecommand ? [_c('div', {
22424
+ staticClass: "inner-event-recommand"
22425
+ }, [_c('div', {
22426
+ staticClass: "event-recommand-title"
22427
+ }, [_vm._v("您可以进行以下操作:")]), _vm._l(_vm.recommandList, function (c, idx) {
22428
+ return _c('div', {
22429
+ key: idx,
22430
+ staticClass: "event-recommand-item",
22431
+ on: {
22432
+ "click": function click($event) {
22433
+ return _vm.onClickRecommendation(c);
22434
+ }
22435
+ }
22436
+ }, [_vm._v(" " + _vm._s(idx + 1) + ". " + _vm._s(c) + " ")]);
22437
+ })], 2)] : [_vm.streamItems.length > 0 ? _c('div', {
22438
+ staticClass: "normal__stream"
22439
+ }, [_c('div', {
22440
+ staticClass: "stream-header",
22441
+ on: {
22442
+ "click": function click($event) {
22443
+ _vm.manuallyExpanded = !_vm.manuallyExpanded;
22444
+ }
22445
+ }
22446
+ }, [_c('h3', [_vm._v("执行过程")]), _vm.content ? _c('span', {
22447
+ staticClass: "collapse-icon",
22448
+ class: _vm.collapsed ? 'arrow-up' : 'arrow-down'
22449
+ }) : _vm._e()]), !_vm.collapsed ? _c('StreamInput', {
22450
+ attrs: {
22451
+ "showBorder": true,
22452
+ "items": _vm.streamItems,
22453
+ "size": _vm.size
22454
+ }
22455
+ }) : _vm._e()], 1) : _vm._e(), _vm.isBroadcast ? _c('div', {
22456
+ staticClass: "message-content__text html-content broadcast-content",
22457
+ style: _vm.contentStyle
22458
+ }, [_c('img', {
22459
+ attrs: {
22460
+ "src": __webpack_require__(907),
22461
+ "alt": ""
22462
+ }
22463
+ }), _vm._v(" 【"), _c('span', {
22464
+ staticClass: "street"
22465
+ }, [_vm._v(_vm._s(_vm.content.street))]), _vm._v("】【"), _c('span', [_vm._v(_vm._s(_vm.content.adress))]), _vm._v("】于今日"), _c('span', [_vm._v(_vm._s(_vm.content.time))]), _vm._v("发生一起"), _c('span', {
22466
+ staticClass: "level"
22467
+ }, [_vm._v("严重")]), _vm._v("等级"), _c('span', [_vm._v(_vm._s(_vm.content.type))]), _vm._v("事件,请您关注。 ")]) : _c('div', {
22468
+ staticClass: "message-content__text html-content",
22469
+ style: _vm.contentStyle,
22470
+ domProps: {
22471
+ "innerHTML": _vm._s(_vm.content)
22472
+ }
22473
+ }), _vm.backList.length ? _c('div', {
22474
+ staticClass: "normal__text"
22475
+ }, [_vm._l(_vm.backList, function (item1, index1) {
22476
+ return _c('div', {
22477
+ staticClass: "item-box"
22478
+ }, [_c('div', {
22479
+ staticClass: "item-box-index"
22480
+ }, [_vm._v(_vm._s(item1.index ? item1.index : index1 + 1))]), _c('div', [_c('div', [item1.label ? _c('span', {
22481
+ staticClass: "item-box-label",
22482
+ style: {
22483
+ background: item1.label_color ? item1.label_color : '#0086BB'
22484
+ }
22485
+ }, [_vm._v(_vm._s(item1.label))]) : _vm._e(), _vm._v(" " + _vm._s(item1.name) + " ")]), _c('div', {
22486
+ staticClass: "item-box-description"
22487
+ }, [_vm._v(_vm._s(item1 === null || item1 === void 0 ? void 0 : item1.address))])])]);
22488
+ }), _c('span', {
22489
+ staticStyle: {
22490
+ "display": "flex",
22491
+ "justify-content": "end"
22492
+ }
22493
+ }, [_vm.showPrevPage ? _c('span', [_vm._v("上一页")]) : _vm._e(), _vm.showNextPage ? _c('span', {
22494
+ staticClass: "mr-l-20"
22495
+ }, [_vm._v("下一页")]) : _vm._e()])], 2) : _vm._e(), _vm.recommandList.length ? _c('div', {
22496
+ staticClass: "normal__text"
22497
+ }, [_c('div', [_vm._v("您可能想了解:")]), _vm._l(_vm.recommandList, function (item2, index2) {
22498
+ return _c('div', {
22499
+ key: index2,
22500
+ staticClass: "item-box"
22501
+ }, [_c('div', {
22502
+ staticClass: "item-box-index"
22503
+ }, [_vm._v(_vm._s(index2 + 1))]), _c('div', {
22504
+ staticClass: "item-box-content"
22505
+ }, [_c('div', [_vm._v(_vm._s(item2))])])]);
22506
+ })], 2) : _vm._e()]], 2)])]);
22507
+ };
22508
+ var LeaderPcMessagevue_type_template_id_ed23ed2a_scoped_true_staticRenderFns = [];
22509
+
22510
+ ;// ./package/SpeechRecognition/cpts/LeaderPcMessage.vue?vue&type=template&id=ed23ed2a&scoped=true
22511
+
22512
+ ;// ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-82.use[1]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./package/SpeechRecognition/cpts/LeaderPcMessage.vue?vue&type=script&lang=js
22513
+
22514
+ var LeaderPcMessagevue_type_script_lang_js_default_ = {
22515
+ components: {
22516
+ StreamInput: StreamInput
22517
+ },
22518
+ props: {
22519
+ type: {
22520
+ type: String,
22521
+ default: ""
22522
+ },
22523
+ content: {
22524
+ type: [String, Object],
22525
+ default: null
22526
+ },
22527
+ backList: {
22528
+ type: Array,
22529
+ default: function _default() {
22530
+ return [];
22531
+ }
22532
+ },
22533
+ showNextPage: {
22534
+ type: Boolean,
22535
+ default: false
22536
+ },
22537
+ showPrevPage: {
22538
+ type: Boolean,
22539
+ default: false
22540
+ },
22541
+ recommandList: {
22542
+ type: Array,
22543
+ default: function _default() {
22544
+ return [];
22545
+ }
22546
+ },
22547
+ contentStyle: {
22548
+ type: String,
22549
+ default: ""
22550
+ },
22551
+ size: {
22552
+ type: String,
22553
+ default: ""
22554
+ },
22555
+ streamItems: {
22556
+ type: Array,
22557
+ default: function _default() {
22558
+ return [];
22559
+ }
22560
+ },
22561
+ isBroadcast: {
22562
+ type: Boolean,
22563
+ default: false
22564
+ },
22565
+ isEventRecommand: {
22566
+ type: Boolean,
22567
+ default: false
22568
+ }
22569
+ },
22570
+ data: function data() {
22571
+ return {
22572
+ manuallyExpanded: false,
22573
+ IMessageType: {
22574
+ NONE: "NONE",
22575
+ FROM: "FROM",
22576
+ TO: "TO"
22577
+ }
22578
+ };
21146
22579
  },
21147
- "request_back": {},
21148
- "cim": "cim",
21149
- "has_next_page": false,
21150
- "has_prev_page": false
21151
- }, {
21152
- "name": "",
21153
- "command_name": "",
21154
- "request_id": "r-1773145888",
21155
- "sentence_id": "8078ea4b-5dba-3fde-2047-c62d018fdb3e",
21156
- "answer_id": "09d12a2d62b0050a",
21157
- "require_ack": false,
21158
- "par": {},
21159
- "standard_back": "已在深圳大悦城购物中心周边1公里范围内查询到3条违停记录,",
21160
- "back_list": [{
21161
- "index": 1,
21162
- "name": "【粤BCD9272】在广深公路城家公寓段违停(876米)",
21163
- "label": "一般",
21164
- "label_color": "#FF8E09"
21165
- }, {
21166
- "index": 2,
21167
- "name": "【粤BCD9272】在广深公路城家公寓段违停(876米)",
21168
- "label": "一般",
21169
- "label_color": "#FF8E09"
21170
- }, {
21171
- "index": 3,
21172
- "name": "【粤B30200】在创业一路宝晖酒店段违停(946米)",
21173
- "label": "一般",
21174
- "label_color": "#FF8E09"
21175
- }],
21176
- "recommand_list": [],
21177
- "show_text": "已在深圳大悦城购物中心周边1公里范围内查询到3条违停记录,涉及车辆:粤BCD9272(重复出现)、粤B30200。可能存在同一车辆多次抓拍或不同时间违停的情况。如需查看某一辆车的详细违停信息(如位置、时长、是否驶离等),请指定车牌号。",
21178
- "reply": {
21179
- "id": 6,
21180
- "level": 1,
21181
- "text": "生成回复",
21182
- "parent_id": null,
21183
- "status": "completed"
22580
+ computed: {
22581
+ htmlFontSize: function htmlFontSize() {
22582
+ var fontSize = "42px";
22583
+ if (this.size == "medium") {
22584
+ fontSize = "18px";
22585
+ } else {
22586
+ fontSize = "42px";
22587
+ }
22588
+ return fontSize;
22589
+ },
22590
+ collapsed: function collapsed() {
22591
+ // 如果用户手动展开,则不折叠
22592
+ if (this.manuallyExpanded) {
22593
+ return false;
22594
+ }
22595
+ // 否则根据content是否有内容自动折叠
22596
+ return !!this.content;
22597
+ }
21184
22598
  },
21185
- "request_back": {},
21186
- "cim": "cim",
21187
- "has_next_page": false,
21188
- "has_prev_page": false
21189
- }];
21190
- ;// ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-82.use[1]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./package/SpeechRecognition/index.vue?vue&type=script&lang=js
21191
- function SpeechRecognitionvue_type_script_lang_js_typeof(o) { "@babel/helpers - typeof"; return SpeechRecognitionvue_type_script_lang_js_typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, SpeechRecognitionvue_type_script_lang_js_typeof(o); }
21192
- function _readOnlyError(r) { throw new TypeError('"' + r + '" is read-only'); }
21193
- 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; } } }; }
21194
- 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; } }
21195
- 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; }
21196
- 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; }
21197
- 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); }
21198
- 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); }); }; }
21199
- 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; }
21200
- 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; }
21201
- 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; }
21202
- function SpeechRecognitionvue_type_script_lang_js_toPropertyKey(t) { var i = SpeechRecognitionvue_type_script_lang_js_toPrimitive(t, "string"); return "symbol" == SpeechRecognitionvue_type_script_lang_js_typeof(i) ? i : i + ""; }
21203
- function SpeechRecognitionvue_type_script_lang_js_toPrimitive(t, r) { if ("object" != SpeechRecognitionvue_type_script_lang_js_typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != SpeechRecognitionvue_type_script_lang_js_typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
22599
+ methods: {
22600
+ onClickRecommendation: function onClickRecommendation(item2) {
22601
+ this.$emit('clickRecommendation', item2);
22602
+ }
22603
+ }
22604
+ };
22605
+
22606
+ var LeaderPcMessagevue_type_script_lang_js_injectCSSVars_ = function __injectCSSVars__() {
22607
+ (0,external_commonjs_vue_commonjs2_vue_root_Vue_.useCssVars)(function (_vm, _setup) {
22608
+ return {
22609
+ "c90b9fc2": _vm.htmlFontSize
22610
+ };
22611
+ });
22612
+ };
22613
+ var LeaderPcMessagevue_type_script_lang_js_setup_ = LeaderPcMessagevue_type_script_lang_js_default_.setup;
22614
+ LeaderPcMessagevue_type_script_lang_js_default_.setup = LeaderPcMessagevue_type_script_lang_js_setup_ ? function (props, ctx) {
22615
+ LeaderPcMessagevue_type_script_lang_js_injectCSSVars_();
22616
+ return LeaderPcMessagevue_type_script_lang_js_setup_(props, ctx);
22617
+ } : LeaderPcMessagevue_type_script_lang_js_injectCSSVars_;
22618
+ /* harmony default export */ var LeaderPcMessagevue_type_script_lang_js = (LeaderPcMessagevue_type_script_lang_js_default_);
22619
+ ;// ./package/SpeechRecognition/cpts/LeaderPcMessage.vue?vue&type=script&lang=js
22620
+ /* harmony default export */ var cpts_LeaderPcMessagevue_type_script_lang_js = (LeaderPcMessagevue_type_script_lang_js);
22621
+ // EXTERNAL MODULE: ./node_modules/vue-style-loader/index.js??clonedRuleSet-64.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-64.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-64.use[2]!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-64.use[3]!./node_modules/sass-loader/dist/cjs.js??clonedRuleSet-64.use[4]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./package/SpeechRecognition/cpts/LeaderPcMessage.vue?vue&type=style&index=0&id=ed23ed2a&prod&lang=scss&scoped=true
22622
+ var LeaderPcMessagevue_type_style_index_0_id_ed23ed2a_prod_lang_scss_scoped_true = __webpack_require__(801);
22623
+ ;// ./package/SpeechRecognition/cpts/LeaderPcMessage.vue?vue&type=style&index=0&id=ed23ed2a&prod&lang=scss&scoped=true
21204
22624
 
22625
+ ;// ./package/SpeechRecognition/cpts/LeaderPcMessage.vue
22626
+
22627
+
22628
+
22629
+ ;
22630
+
22631
+
22632
+ /* normalize component */
21205
22633
 
22634
+ var LeaderPcMessage_component = normalizeComponent(
22635
+ cpts_LeaderPcMessagevue_type_script_lang_js,
22636
+ LeaderPcMessagevue_type_template_id_ed23ed2a_scoped_true_render,
22637
+ LeaderPcMessagevue_type_template_id_ed23ed2a_scoped_true_staticRenderFns,
22638
+ false,
22639
+ null,
22640
+ "ed23ed2a",
22641
+ null
22642
+
22643
+ )
21206
22644
 
22645
+ /* harmony default export */ var LeaderPcMessage = (LeaderPcMessage_component.exports);
22646
+ ;// ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-82.use[1]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./package/SpeechRecognition/cpts/LeaderCpt.vue?vue&type=script&lang=js
22647
+ function LeaderCptvue_type_script_lang_js_typeof(o) { "@babel/helpers - typeof"; return LeaderCptvue_type_script_lang_js_typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, LeaderCptvue_type_script_lang_js_typeof(o); }
22648
+ function LeaderCptvue_type_script_lang_js_createForOfIteratorHelper(r, e) { var t = "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (!t) { if (Array.isArray(r) || (t = LeaderCptvue_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; } } }; }
22649
+ function LeaderCptvue_type_script_lang_js_unsupportedIterableToArray(r, a) { if (r) { if ("string" == typeof r) return LeaderCptvue_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) ? LeaderCptvue_type_script_lang_js_arrayLikeToArray(r, a) : void 0; } }
22650
+ function LeaderCptvue_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; }
22651
+ function LeaderCptvue_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 */ LeaderCptvue_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" == LeaderCptvue_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(LeaderCptvue_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; }
22652
+ function LeaderCptvue_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); }
22653
+ function LeaderCptvue_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) { LeaderCptvue_type_script_lang_js_asyncGeneratorStep(a, r, o, _next, _throw, "next", n); } function _throw(n) { LeaderCptvue_type_script_lang_js_asyncGeneratorStep(a, r, o, _next, _throw, "throw", n); } _next(void 0); }); }; }
22654
+ function LeaderCptvue_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; }
22655
+ function LeaderCptvue_type_script_lang_js_objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? LeaderCptvue_type_script_lang_js_ownKeys(Object(t), !0).forEach(function (r) { LeaderCptvue_type_script_lang_js_defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : LeaderCptvue_type_script_lang_js_ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
22656
+ function LeaderCptvue_type_script_lang_js_defineProperty(e, r, t) { return (r = LeaderCptvue_type_script_lang_js_toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
22657
+ function LeaderCptvue_type_script_lang_js_toPropertyKey(t) { var i = LeaderCptvue_type_script_lang_js_toPrimitive(t, "string"); return "symbol" == LeaderCptvue_type_script_lang_js_typeof(i) ? i : i + ""; }
22658
+ function LeaderCptvue_type_script_lang_js_toPrimitive(t, r) { if ("object" != LeaderCptvue_type_script_lang_js_typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != LeaderCptvue_type_script_lang_js_typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
21207
22659
 
21208
22660
 
21209
22661
 
@@ -21215,17 +22667,14 @@ function SpeechRecognitionvue_type_script_lang_js_toPrimitive(t, r) { if ("objec
21215
22667
 
21216
22668
 
21217
22669
 
21218
- var iconTip = __webpack_require__(907);
21219
- var SpeechRecognitionvue_type_script_lang_js_default_ = {
21220
- name: "yx-speech-recognition",
22670
+ var LeaderCptvue_type_script_lang_js_iconTip = __webpack_require__(907);
22671
+ var LeaderCptvue_type_script_lang_js_default_ = {
22672
+ name: 'LeaderCpt',
21221
22673
  directives: {
21222
- LeaderDrag: LeaderDrag,
21223
- Drag: Drag,
21224
- DragBubble: DragBubble
22674
+ Drag: Drag
21225
22675
  },
21226
22676
  components: {
21227
22677
  LeaderMessage: LeaderPcMessage,
21228
- Message: Message,
21229
22678
  StreamInput: StreamInput
21230
22679
  },
21231
22680
  props: {
@@ -21273,11 +22722,16 @@ var SpeechRecognitionvue_type_script_lang_js_default_ = {
21273
22722
  isPro: {
21274
22723
  type: Boolean,
21275
22724
  default: false
22725
+ },
22726
+ // 版本号
22727
+ version: {
22728
+ type: String,
22729
+ default: "1.0.0"
21276
22730
  }
21277
22731
  },
21278
22732
  data: function data() {
21279
22733
  return {
21280
- version: "2.1.2",
22734
+ pcMeunType: 'home',
21281
22735
  wakeEndTime: 20,
21282
22736
  options: [{
21283
22737
  label: "mode1",
@@ -21358,8 +22812,6 @@ var SpeechRecognitionvue_type_script_lang_js_default_ = {
21358
22812
  userInfo: {
21359
22813
  username: ""
21360
22814
  },
21361
- isLeaderPc: false,
21362
- // 是否书记中屏
21363
22815
  isShowContent: true,
21364
22816
  // 是否展示对话列表
21365
22817
  emptyRecommendation: [] // 无事件推荐问题
@@ -21384,16 +22836,13 @@ var SpeechRecognitionvue_type_script_lang_js_default_ = {
21384
22836
  }
21385
22837
  },
21386
22838
  watch: {
21387
- $route: function $route(to, from) {
21388
- console.log('路由变化:', to, from);
21389
- this.isLeaderPc = to.name == 'cimapp-zpzhdd';
21390
- if (this.isLeaderPc || from.name == 'cimapp-zpzhdd') this.messagesList = [];
21391
- if (this.isLeaderPc) this.getLeaderSpeechRecommend();
22839
+ pcMeunType: function pcMeunType(val) {
22840
+ this.getLeaderSpeechRecommend();
21392
22841
  },
21393
22842
  voiecContent: function voiecContent(val) {
21394
22843
  console.log("===============getContent==============", val);
21395
22844
  if (Object.keys(val).length > 0) {
21396
- this.$emit("getContent", SpeechRecognitionvue_type_script_lang_js_objectSpread({}, val));
22845
+ this.$emit("getContent", LeaderCptvue_type_script_lang_js_objectSpread({}, val));
21397
22846
  }
21398
22847
  },
21399
22848
  bubbleShow: function bubbleShow(val) {
@@ -21443,14 +22892,16 @@ var SpeechRecognitionvue_type_script_lang_js_default_ = {
21443
22892
  // 书记中屏获取首页无事件推荐问题
21444
22893
  getLeaderSpeechRecommend: function getLeaderSpeechRecommend() {
21445
22894
  var _this2 = this;
21446
- return SpeechRecognitionvue_type_script_lang_js_asyncToGenerator(/*#__PURE__*/SpeechRecognitionvue_type_script_lang_js_regeneratorRuntime().mark(function _callee() {
22895
+ return LeaderCptvue_type_script_lang_js_asyncToGenerator(/*#__PURE__*/LeaderCptvue_type_script_lang_js_regeneratorRuntime().mark(function _callee() {
21447
22896
  var _res;
21448
- return SpeechRecognitionvue_type_script_lang_js_regeneratorRuntime().wrap(function _callee$(_context) {
22897
+ return LeaderCptvue_type_script_lang_js_regeneratorRuntime().wrap(function _callee$(_context) {
21449
22898
  while (1) switch (_context.prev = _context.next) {
21450
22899
  case 0:
21451
22900
  _this2.emptyRecommendation = [];
21452
22901
  _context.next = 3;
21453
- return Tx.getLeaderSpeechRecommend();
22902
+ return Tx.getLeaderSpeechRecommend({
22903
+ page_type: _this2.pcMeunType
22904
+ });
21454
22905
  case 3:
21455
22906
  _res = _context.sent;
21456
22907
  if ((_res === null || _res === void 0 ? void 0 : _res.code) == 200) {
@@ -21561,7 +23012,7 @@ var SpeechRecognitionvue_type_script_lang_js_default_ = {
21561
23012
  },
21562
23013
  // 递归查找项目
21563
23014
  findItemById: function findItemById(items, id) {
21564
- var _iterator = SpeechRecognitionvue_type_script_lang_js_createForOfIteratorHelper(items),
23015
+ var _iterator = LeaderCptvue_type_script_lang_js_createForOfIteratorHelper(items),
21565
23016
  _step;
21566
23017
  try {
21567
23018
  for (_iterator.s(); !(_step = _iterator.n()).done;) {
@@ -21693,7 +23144,7 @@ var SpeechRecognitionvue_type_script_lang_js_default_ = {
21693
23144
  var flag = false;
21694
23145
  if (content || recommand_list.length > 0 || back_list.length > 0 || this.streamItems.length > 0) flag = true;
21695
23146
  if (!flag) return;
21696
- this.messagesList.push(SpeechRecognitionvue_type_script_lang_js_objectSpread(SpeechRecognitionvue_type_script_lang_js_objectSpread({}, messages), {}, {
23147
+ this.messagesList.push(LeaderCptvue_type_script_lang_js_objectSpread(LeaderCptvue_type_script_lang_js_objectSpread({}, messages), {}, {
21697
23148
  content: _text,
21698
23149
  sentenceId: res.sentenceId,
21699
23150
  backList: back_list,
@@ -21722,9 +23173,9 @@ var SpeechRecognitionvue_type_script_lang_js_default_ = {
21722
23173
  },
21723
23174
  updateSession: function updateSession(opt) {
21724
23175
  var _this4 = this;
21725
- return SpeechRecognitionvue_type_script_lang_js_asyncToGenerator(/*#__PURE__*/SpeechRecognitionvue_type_script_lang_js_regeneratorRuntime().mark(function _callee2() {
21726
- var messages, res, type, content, _messages$isReading, isReading, back_list, recommand_list, _messages$showNextPag2, showNextPage, _messages$showPrevPag2, showPrevPage, _messages, _text, _this4$userInfo, voice_id, session_id, sentenceId, _formData, resp, _res, _res2, code, msg, status, obj, _content, standard_back, show_text, command_type, _back_list2, _recommand_list, has_next_page, has_prev_page, _opt, _showNextPage, _showPrevPage, _opts, _opt2, _error$message, _error$message2;
21727
- return SpeechRecognitionvue_type_script_lang_js_regeneratorRuntime().wrap(function _callee2$(_context2) {
23176
+ return LeaderCptvue_type_script_lang_js_asyncToGenerator(/*#__PURE__*/LeaderCptvue_type_script_lang_js_regeneratorRuntime().mark(function _callee2() {
23177
+ var messages, res, type, content, _messages$isReading, isReading, back_list, recommand_list, _messages$showNextPag2, showNextPage, _messages$showPrevPag2, showPrevPage, _messages, _text, _this4$userInfo, voice_id, session_id, sentenceId, _formData, resp, _res, code, msg, status, obj, _content, standard_back, show_text, command_type, _back_list2, _recommand_list, has_next_page, has_prev_page, _opt, _showNextPage, _showPrevPage, _opts, _opt2, _error$message, _error$message2;
23178
+ return LeaderCptvue_type_script_lang_js_regeneratorRuntime().wrap(function _callee2$(_context2) {
21728
23179
  while (1) switch (_context2.prev = _context2.next) {
21729
23180
  case 0:
21730
23181
  _this4.clearWakeTime();
@@ -21735,7 +23186,7 @@ var SpeechRecognitionvue_type_script_lang_js_default_ = {
21735
23186
  });
21736
23187
  if (_messages && type == "TO" && !isReading) _messages.content = content;else if (!isReading) {
21737
23188
  _text = messages.content ? g.parse(messages.content) : messages.content;
21738
- _this4.messagesList.push(SpeechRecognitionvue_type_script_lang_js_objectSpread(SpeechRecognitionvue_type_script_lang_js_objectSpread({}, messages), {}, {
23189
+ _this4.messagesList.push(LeaderCptvue_type_script_lang_js_objectSpread(LeaderCptvue_type_script_lang_js_objectSpread({}, messages), {}, {
21739
23190
  content: _text,
21740
23191
  sentenceId: res.sentenceId,
21741
23192
  backList: back_list,
@@ -21756,7 +23207,7 @@ var SpeechRecognitionvue_type_script_lang_js_default_ = {
21756
23207
  _this4.bubbleBoxTitle = g.parse(content);
21757
23208
  }
21758
23209
  if (!(type === "TO" && res.result.slice_type === 2)) {
21759
- _context2.next = 74;
23210
+ _context2.next = 67;
21760
23211
  break;
21761
23212
  }
21762
23213
  _this4.getSystem();
@@ -21801,46 +23252,33 @@ var SpeechRecognitionvue_type_script_lang_js_default_ = {
21801
23252
  case 29:
21802
23253
  _this4.streamItems = [];
21803
23254
  _context2.prev = 30;
21804
- _res = {};
21805
- if (!_this4.isLeaderPc) {
21806
- _context2.next = 38;
21807
- break;
21808
- }
21809
- _context2.next = 35;
23255
+ _context2.next = 33;
21810
23256
  return Tx.leaderSpeech(_formData);
21811
- case 35:
21812
- _res = _context2.sent;
21813
- _context2.next = 41;
21814
- break;
21815
- case 38:
21816
- _context2.next = 40;
21817
- return Tx.speech2speech2(_formData);
21818
- case 40:
23257
+ case 33:
21819
23258
  _res = _context2.sent;
21820
- case 41:
21821
- _res2 = _res, code = _res2.code, msg = _res2.msg, status = _res2.status, obj = _res2.obj;
23259
+ code = _res.code, msg = _res.msg, status = _res.status, obj = _res.obj;
21822
23260
  if (!(code == 200 || code == 300 && status == '3' && obj !== null && obj !== void 0 && obj.standard_back)) {
21823
- _context2.next = 61;
23261
+ _context2.next = 54;
21824
23262
  break;
21825
23263
  }
21826
23264
  _content = "";
21827
23265
  standard_back = obj.standard_back, show_text = obj.show_text, command_type = obj.command_type, _back_list2 = obj.back_list, _recommand_list = obj.recommand_list, has_next_page = obj.has_next_page, has_prev_page = obj.has_prev_page;
21828
23266
  if (!(Object.keys(obj).length > 0)) {
21829
- _context2.next = 51;
23267
+ _context2.next = 44;
21830
23268
  break;
21831
23269
  }
21832
23270
  _content = standard_back || "抱歉,我还在学习中";
21833
23271
  if (!(command_type === "地理实体页面定位" && _content != "抱歉,我还在学习中")) {
21834
- _context2.next = 49;
23272
+ _context2.next = 42;
21835
23273
  break;
21836
23274
  }
21837
23275
  return _context2.abrupt("return");
21838
- case 49:
21839
- _context2.next = 52;
23276
+ case 42:
23277
+ _context2.next = 45;
21840
23278
  break;
21841
- case 51:
23279
+ case 44:
21842
23280
  _content = "抱歉,我还在学习中";
21843
- case 52:
23281
+ case 45:
21844
23282
  _this4.voiecContent = obj;
21845
23283
  if (status == '3' || isReading) {
21846
23284
  _opt = {
@@ -21892,9 +23330,9 @@ var SpeechRecognitionvue_type_script_lang_js_default_ = {
21892
23330
  // messages: { type: "FROM", content: _content },
21893
23331
  // sentenceId: Math.floor(Math.random() * 1000000).toString()
21894
23332
  // });
21895
- _context2.next = 62;
23333
+ _context2.next = 55;
21896
23334
  break;
21897
- case 61:
23335
+ case 54:
21898
23336
  if (code === 504) {
21899
23337
  _this4.timeOutContent();
21900
23338
  } else if (code === 300) {
@@ -21916,11 +23354,11 @@ var SpeechRecognitionvue_type_script_lang_js_default_ = {
21916
23354
  // this.pauseAudio();
21917
23355
  }
21918
23356
  }
21919
- case 62:
21920
- _context2.next = 70;
23357
+ case 55:
23358
+ _context2.next = 63;
21921
23359
  break;
21922
- case 64:
21923
- _context2.prev = 64;
23360
+ case 57:
23361
+ _context2.prev = 57;
21924
23362
  _context2.t1 = _context2["catch"](30);
21925
23363
  console.log("speech2speech2 ->", _context2.t1);
21926
23364
  console.log(_context2.t1.message);
@@ -21931,23 +23369,23 @@ var SpeechRecognitionvue_type_script_lang_js_default_ = {
21931
23369
  } else {
21932
23370
  _this4.oneQuestionOneAnswer = true;
21933
23371
  }
21934
- case 70:
21935
- _context2.prev = 70;
21936
- return _context2.finish(70);
21937
- case 72:
21938
- _context2.next = 75;
23372
+ case 63:
23373
+ _context2.prev = 63;
23374
+ return _context2.finish(63);
23375
+ case 65:
23376
+ _context2.next = 68;
21939
23377
  break;
21940
- case 74:
23378
+ case 67:
21941
23379
  if (type === "FROM") {
21942
23380
  _this4.handlePlayTTS({
21943
23381
  content: content
21944
23382
  });
21945
23383
  }
21946
- case 75:
23384
+ case 68:
21947
23385
  case "end":
21948
23386
  return _context2.stop();
21949
23387
  }
21950
- }, _callee2, null, [[18, 26], [30, 64, 70, 72]]);
23388
+ }, _callee2, null, [[18, 26], [30, 57, 63, 65]]);
21951
23389
  }))();
21952
23390
  },
21953
23391
  timeOutContent: function timeOutContent() {
@@ -22037,9 +23475,9 @@ var SpeechRecognitionvue_type_script_lang_js_default_ = {
22037
23475
  // 语音播放
22038
23476
  handlePlayTTS: function handlePlayTTS(opt) {
22039
23477
  var _this8 = this;
22040
- return SpeechRecognitionvue_type_script_lang_js_asyncToGenerator(/*#__PURE__*/SpeechRecognitionvue_type_script_lang_js_regeneratorRuntime().mark(function _callee3() {
23478
+ return LeaderCptvue_type_script_lang_js_asyncToGenerator(/*#__PURE__*/LeaderCptvue_type_script_lang_js_regeneratorRuntime().mark(function _callee3() {
22041
23479
  var _content3, onStart, onEnded, _opt$isExit, isExit, res, arrayBuffer, blob, url, audio, _onEndedHandler;
22042
- return SpeechRecognitionvue_type_script_lang_js_regeneratorRuntime().wrap(function _callee3$(_context3) {
23480
+ return LeaderCptvue_type_script_lang_js_regeneratorRuntime().wrap(function _callee3$(_context3) {
22043
23481
  while (1) switch (_context3.prev = _context3.next) {
22044
23482
  case 0:
22045
23483
  _context3.prev = 0;
@@ -22129,7 +23567,7 @@ var SpeechRecognitionvue_type_script_lang_js_default_ = {
22129
23567
  }
22130
23568
  var quitState = onQuit(res); // 操作前判断是否退出
22131
23569
  // if (quitState) this.updateSessionId();
22132
- var _opt = SpeechRecognitionvue_type_script_lang_js_objectSpread(SpeechRecognitionvue_type_script_lang_js_objectSpread({}, res), {}, {
23570
+ var _opt = LeaderCptvue_type_script_lang_js_objectSpread(LeaderCptvue_type_script_lang_js_objectSpread({}, res), {}, {
22133
23571
  sessionId: this.sessionId,
22134
23572
  quitState: quitState
22135
23573
  });
@@ -22188,7 +23626,7 @@ var SpeechRecognitionvue_type_script_lang_js_default_ = {
22188
23626
  }
22189
23627
  // console.log("一句话开始", res);
22190
23628
  sentenceId = guid();
22191
- _this9.onResult(SpeechRecognitionvue_type_script_lang_js_objectSpread({
23629
+ _this9.onResult(LeaderCptvue_type_script_lang_js_objectSpread({
22192
23630
  sentenceId: sentenceId
22193
23631
  }, res), options);
22194
23632
  start = true;
@@ -22196,7 +23634,7 @@ var SpeechRecognitionvue_type_script_lang_js_default_ = {
22196
23634
  // 识别变化时
22197
23635
  webAudioSpeechRecognizer.OnRecognitionResultChange = function (res) {
22198
23636
  // console.log("==> 识别变化时", res);
22199
- _this9.onResult(SpeechRecognitionvue_type_script_lang_js_objectSpread({
23637
+ _this9.onResult(LeaderCptvue_type_script_lang_js_objectSpread({
22200
23638
  sentenceId: sentenceId
22201
23639
  }, res), options);
22202
23640
  };
@@ -22204,7 +23642,7 @@ var SpeechRecognitionvue_type_script_lang_js_default_ = {
22204
23642
  webAudioSpeechRecognizer.OnSentenceEnd = function (res) {
22205
23643
  start = false;
22206
23644
  // console.log("一句话结束", res);
22207
- _this9.onResult(SpeechRecognitionvue_type_script_lang_js_objectSpread({
23645
+ _this9.onResult(LeaderCptvue_type_script_lang_js_objectSpread({
22208
23646
  sentenceId: sentenceId
22209
23647
  }, res), options);
22210
23648
  };
@@ -22461,6 +23899,8 @@ var SpeechRecognitionvue_type_script_lang_js_default_ = {
22461
23899
  console.log("回传当前事件状态");
22462
23900
  if (data !== null && data !== void 0 && data.isBroadcast) {
22463
23901
  this.handleBroadcastData(data);
23902
+ } else if (data !== null && data !== void 0 && data.isSendMeunType) {
23903
+ this.pcMeunType = (data === null || data === void 0 ? void 0 : data.meunType) || 'home';
22464
23904
  } else {
22465
23905
  bus.emit('callBackStatus', data.data);
22466
23906
  }
@@ -22479,10 +23919,10 @@ var SpeechRecognitionvue_type_script_lang_js_default_ = {
22479
23919
  // 处理事件播报内容
22480
23920
  handleBroadcastData: function handleBroadcastData(data) {
22481
23921
  var _this12 = this;
22482
- return SpeechRecognitionvue_type_script_lang_js_asyncToGenerator(/*#__PURE__*/SpeechRecognitionvue_type_script_lang_js_regeneratorRuntime().mark(function _callee4() {
23922
+ return LeaderCptvue_type_script_lang_js_asyncToGenerator(/*#__PURE__*/LeaderCptvue_type_script_lang_js_regeneratorRuntime().mark(function _callee4() {
22483
23923
  var _data$eventData, _data$data$BROADCAST_, _data$data;
22484
23924
  var eventData, broadcastInfo, info, broadcastInfoHtml, _this12$userInfo, _formData2, _res, code, status, obj, _obj$recommand_list, recommand_list, _opts, _opt, _error$message3, _error$message4;
22485
- return SpeechRecognitionvue_type_script_lang_js_regeneratorRuntime().wrap(function _callee4$(_context4) {
23925
+ return LeaderCptvue_type_script_lang_js_regeneratorRuntime().wrap(function _callee4$(_context4) {
22486
23926
  while (1) switch (_context4.prev = _context4.next) {
22487
23927
  case 0:
22488
23928
  eventData = (_data$eventData = data === null || data === void 0 ? void 0 : data.eventData) !== null && _data$eventData !== void 0 ? _data$eventData : {};
@@ -22491,7 +23931,7 @@ var SpeechRecognitionvue_type_script_lang_js_default_ = {
22491
23931
  _context4.next = 24;
22492
23932
  break;
22493
23933
  }
22494
- info = SpeechRecognitionvue_type_script_lang_js_objectSpread(SpeechRecognitionvue_type_script_lang_js_objectSpread({}, eventData), {}, {
23934
+ info = LeaderCptvue_type_script_lang_js_objectSpread(LeaderCptvue_type_script_lang_js_objectSpread({}, eventData), {}, {
22495
23935
  type: "FROM",
22496
23936
  content: eventData,
22497
23937
  sentenceId: guid(),
@@ -22499,7 +23939,7 @@ var SpeechRecognitionvue_type_script_lang_js_default_ = {
22499
23939
  });
22500
23940
  _this12.messagesList.push(info);
22501
23941
  _this12.scrollMessageBox();
22502
- broadcastInfoHtml = "\n <div class=\"bubblebox-broadcast-content\">\n <img src=\"".concat(iconTip, "\" alt=\"\">\n \u3010<span style=\"color: #FFDF05;\">").concat(eventData === null || eventData === void 0 ? void 0 : eventData.street, "</span>\u3011\u3010<span\n >").concat(eventData === null || eventData === void 0 ? void 0 : eventData.adress, "</span>\u3011\u4E8E\u4ECA\u65E5<span>").concat(eventData === null || eventData === void 0 ? void 0 : eventData.time, "</span>\u53D1\u751F\u4E00\u8D77<span style=\"color: #FF5151;\"\n >\u4E25\u91CD</span>\u7B49\u7EA7<span>").concat(eventData === null || eventData === void 0 ? void 0 : eventData.type, "</span>\u4E8B\u4EF6\uFF0C\u8BF7\u60A8\u5173\u6CE8\u3002\n </div>\n ");
23942
+ broadcastInfoHtml = "\n <div class=\"bubblebox-broadcast-content\">\n <img src=\"".concat(LeaderCptvue_type_script_lang_js_iconTip, "\" alt=\"\">\n \u3010<span style=\"color: #FFDF05;\">").concat(eventData === null || eventData === void 0 ? void 0 : eventData.street, "</span>\u3011\u3010<span\n >").concat(eventData === null || eventData === void 0 ? void 0 : eventData.adress, "</span>\u3011\u4E8E\u4ECA\u65E5<span>").concat(eventData === null || eventData === void 0 ? void 0 : eventData.time, "</span>\u53D1\u751F\u4E00\u8D77<span style=\"color: #FF5151;\"\n >\u4E25\u91CD</span>\u7B49\u7EA7<span>").concat(eventData === null || eventData === void 0 ? void 0 : eventData.type, "</span>\u4E8B\u4EF6\uFF0C\u8BF7\u60A8\u5173\u6CE8\u3002\n </div>\n ");
22503
23943
  _this12.bubbleBoxTitle = broadcastInfoHtml;
22504
23944
  _this12.handlePlayTTS({
22505
23945
  content: broadcastInfo
@@ -22738,43 +24178,30 @@ var SpeechRecognitionvue_type_script_lang_js_default_ = {
22738
24178
  },
22739
24179
  getSpeechSilence: function getSpeechSilence() {
22740
24180
  var _this15 = this;
22741
- return SpeechRecognitionvue_type_script_lang_js_asyncToGenerator(/*#__PURE__*/SpeechRecognitionvue_type_script_lang_js_regeneratorRuntime().mark(function _callee5() {
22742
- var _resp, _resp2, resp, _resp3;
22743
- return SpeechRecognitionvue_type_script_lang_js_regeneratorRuntime().wrap(function _callee5$(_context5) {
24181
+ return LeaderCptvue_type_script_lang_js_asyncToGenerator(/*#__PURE__*/LeaderCptvue_type_script_lang_js_regeneratorRuntime().mark(function _callee5() {
24182
+ var resp, _resp$obj;
24183
+ return LeaderCptvue_type_script_lang_js_regeneratorRuntime().wrap(function _callee5$(_context5) {
22744
24184
  while (1) switch (_context5.prev = _context5.next) {
22745
24185
  case 0:
22746
24186
  _context5.prev = 0;
22747
- resp = {};
22748
- if (!_this15.isLeaderPc) {
22749
- _context5.next = 8;
22750
- break;
22751
- }
22752
- _context5.next = 5;
24187
+ _context5.next = 3;
22753
24188
  return Tx.getLeaderSpeechSilence();
22754
- case 5:
22755
- _readOnlyError("resp");
22756
- _context5.next = 11;
22757
- break;
22758
- case 8:
22759
- _context5.next = 10;
22760
- return Tx.getSpeechSilence();
22761
- case 10:
22762
- _readOnlyError("resp");
22763
- case 11:
22764
- if (((_resp = resp) === null || _resp === void 0 ? void 0 : _resp.code) == 200 && (_resp2 = resp) !== null && _resp2 !== void 0 && _resp2.obj) {
22765
- _this15.wakeEndTime = (_resp3 = resp) === null || _resp3 === void 0 || (_resp3 = _resp3.obj) === null || _resp3 === void 0 ? void 0 : _resp3.stay_time;
24189
+ case 3:
24190
+ resp = _context5.sent;
24191
+ if ((resp === null || resp === void 0 ? void 0 : resp.code) == 200 && resp !== null && resp !== void 0 && resp.obj) {
24192
+ _this15.wakeEndTime = resp === null || resp === void 0 || (_resp$obj = resp.obj) === null || _resp$obj === void 0 ? void 0 : _resp$obj.stay_time;
22766
24193
  }
22767
- _context5.next = 17;
24194
+ _context5.next = 10;
22768
24195
  break;
22769
- case 14:
22770
- _context5.prev = 14;
24196
+ case 7:
24197
+ _context5.prev = 7;
22771
24198
  _context5.t0 = _context5["catch"](0);
22772
24199
  console.log("时长获取失败");
22773
- case 17:
24200
+ case 10:
22774
24201
  case "end":
22775
24202
  return _context5.stop();
22776
24203
  }
22777
- }, _callee5, null, [[0, 14]]);
24204
+ }, _callee5, null, [[0, 7]]);
22778
24205
  }))();
22779
24206
  },
22780
24207
  // 会话框折叠
@@ -22799,13 +24226,125 @@ var SpeechRecognitionvue_type_script_lang_js_default_ = {
22799
24226
  }
22800
24227
  });
22801
24228
  this.getUserInfo();
24229
+ this.getLeaderSpeechRecommend();
24230
+ }
24231
+ };
24232
+
24233
+ var LeaderCptvue_type_script_lang_js_injectCSSVars_ = function __injectCSSVars__() {
24234
+ (0,external_commonjs_vue_commonjs2_vue_root_Vue_.useCssVars)(function (_vm, _setup) {
24235
+ return {
24236
+ "497d1bb0": _vm.htmlFontSize
24237
+ };
24238
+ });
24239
+ };
24240
+ var LeaderCptvue_type_script_lang_js_setup_ = LeaderCptvue_type_script_lang_js_default_.setup;
24241
+ LeaderCptvue_type_script_lang_js_default_.setup = LeaderCptvue_type_script_lang_js_setup_ ? function (props, ctx) {
24242
+ LeaderCptvue_type_script_lang_js_injectCSSVars_();
24243
+ return LeaderCptvue_type_script_lang_js_setup_(props, ctx);
24244
+ } : LeaderCptvue_type_script_lang_js_injectCSSVars_;
24245
+ /* harmony default export */ var LeaderCptvue_type_script_lang_js = (LeaderCptvue_type_script_lang_js_default_);
24246
+ ;// ./package/SpeechRecognition/cpts/LeaderCpt.vue?vue&type=script&lang=js
24247
+ /* harmony default export */ var cpts_LeaderCptvue_type_script_lang_js = (LeaderCptvue_type_script_lang_js);
24248
+ // EXTERNAL MODULE: ./node_modules/vue-style-loader/index.js??clonedRuleSet-64.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-64.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-64.use[2]!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-64.use[3]!./node_modules/sass-loader/dist/cjs.js??clonedRuleSet-64.use[4]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./package/SpeechRecognition/cpts/LeaderCpt.vue?vue&type=style&index=0&id=37926bb0&prod&lang=scss&scoped=true
24249
+ var LeaderCptvue_type_style_index_0_id_37926bb0_prod_lang_scss_scoped_true = __webpack_require__(983);
24250
+ ;// ./package/SpeechRecognition/cpts/LeaderCpt.vue?vue&type=style&index=0&id=37926bb0&prod&lang=scss&scoped=true
24251
+
24252
+ ;// ./package/SpeechRecognition/cpts/LeaderCpt.vue
24253
+
24254
+
24255
+
24256
+ ;
24257
+
24258
+
24259
+ /* normalize component */
24260
+
24261
+ var LeaderCpt_component = normalizeComponent(
24262
+ cpts_LeaderCptvue_type_script_lang_js,
24263
+ LeaderCptvue_type_template_id_37926bb0_scoped_true_render,
24264
+ LeaderCptvue_type_template_id_37926bb0_scoped_true_staticRenderFns,
24265
+ false,
24266
+ null,
24267
+ "37926bb0",
24268
+ null
24269
+
24270
+ )
24271
+
24272
+ /* harmony default export */ var LeaderCpt = (LeaderCpt_component.exports);
24273
+ ;// ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-82.use[1]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./package/SpeechRecognition/index.vue?vue&type=script&lang=js
24274
+
24275
+
24276
+ var SpeechRecognitionvue_type_script_lang_js_default_ = {
24277
+ name: "yx-speech-recognition",
24278
+ components: {
24279
+ IotCpt: IotCpt,
24280
+ LeaderCpt: LeaderCpt
24281
+ },
24282
+ props: {
24283
+ // 小宝语音框位置
24284
+ imgPosition: {
24285
+ type: Object,
24286
+ default: function _default() {
24287
+ return {
24288
+ left: "100px",
24289
+ top: "134px"
24290
+ };
24291
+ }
24292
+ },
24293
+ // 弹窗位置
24294
+ boxPosition: {
24295
+ type: Object,
24296
+ default: function _default() {
24297
+ return {
24298
+ left: "100px",
24299
+ top: "400px"
24300
+ };
24301
+ }
24302
+ },
24303
+ // 弹窗大小
24304
+ boxSize: {
24305
+ type: Object,
24306
+ default: function _default() {
24307
+ return {
24308
+ width: "750px",
24309
+ height: "676px"
24310
+ };
24311
+ }
24312
+ },
24313
+ // 字体大小
24314
+ size: {
24315
+ type: String,
24316
+ default: "medium" // ["large", "medium"]
24317
+ },
24318
+ // 是否大屏
24319
+ screenType: {
24320
+ type: String,
24321
+ default: "BIG" // ["BIG", "NORMAL"]
24322
+ },
24323
+ // 是否生产环境
24324
+ isPro: {
24325
+ type: Boolean,
24326
+ default: false
24327
+ }
24328
+ },
24329
+ data: function data() {
24330
+ return {
24331
+ version: '2.1.4',
24332
+ // 版本号
24333
+ isLeaderPc: false // 是否书记中屏
24334
+ };
24335
+ },
24336
+ watch: {
24337
+ $route: function $route(to, from) {
24338
+ console.log('路由变化:', to, from);
24339
+ this.isLeaderPc = to.name == 'cimapp-zpzhdd';
24340
+ }
22802
24341
  }
22803
24342
  };
22804
24343
 
22805
24344
  var SpeechRecognitionvue_type_script_lang_js_injectCSSVars_ = function __injectCSSVars__() {
22806
24345
  (0,external_commonjs_vue_commonjs2_vue_root_Vue_.useCssVars)(function (_vm, _setup) {
22807
24346
  return {
22808
- "704480ac": _vm.htmlFontSize
24347
+ "3be88dc6": _vm.htmlFontSize
22809
24348
  };
22810
24349
  });
22811
24350
  };
@@ -22817,13 +24356,9 @@ SpeechRecognitionvue_type_script_lang_js_default_.setup = SpeechRecognitionvue_t
22817
24356
  /* harmony default export */ var SpeechRecognitionvue_type_script_lang_js = (SpeechRecognitionvue_type_script_lang_js_default_);
22818
24357
  ;// ./package/SpeechRecognition/index.vue?vue&type=script&lang=js
22819
24358
  /* harmony default export */ var package_SpeechRecognitionvue_type_script_lang_js = (SpeechRecognitionvue_type_script_lang_js);
22820
- // EXTERNAL MODULE: ./node_modules/vue-style-loader/index.js??clonedRuleSet-64.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-64.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-64.use[2]!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-64.use[3]!./node_modules/sass-loader/dist/cjs.js??clonedRuleSet-64.use[4]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./package/SpeechRecognition/index.vue?vue&type=style&index=0&id=87642bf4&prod&lang=scss&scoped=true
22821
- var SpeechRecognitionvue_type_style_index_0_id_87642bf4_prod_lang_scss_scoped_true = __webpack_require__(508);
22822
- ;// ./package/SpeechRecognition/index.vue?vue&type=style&index=0&id=87642bf4&prod&lang=scss&scoped=true
22823
-
22824
- // EXTERNAL MODULE: ./node_modules/vue-style-loader/index.js??clonedRuleSet-64.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-64.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-64.use[2]!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-64.use[3]!./node_modules/sass-loader/dist/cjs.js??clonedRuleSet-64.use[4]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./package/SpeechRecognition/index.vue?vue&type=style&index=1&id=87642bf4&prod&lang=scss
22825
- var SpeechRecognitionvue_type_style_index_1_id_87642bf4_prod_lang_scss = __webpack_require__(108);
22826
- ;// ./package/SpeechRecognition/index.vue?vue&type=style&index=1&id=87642bf4&prod&lang=scss
24359
+ // EXTERNAL MODULE: ./node_modules/vue-style-loader/index.js??clonedRuleSet-64.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-64.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-64.use[2]!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-64.use[3]!./node_modules/sass-loader/dist/cjs.js??clonedRuleSet-64.use[4]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./package/SpeechRecognition/index.vue?vue&type=style&index=0&id=05342d1e&prod&lang=scss
24360
+ var SpeechRecognitionvue_type_style_index_0_id_05342d1e_prod_lang_scss = __webpack_require__(770);
24361
+ ;// ./package/SpeechRecognition/index.vue?vue&type=style&index=0&id=05342d1e&prod&lang=scss
22827
24362
 
22828
24363
  ;// ./package/SpeechRecognition/index.vue
22829
24364
 
@@ -22832,7 +24367,6 @@ var SpeechRecognitionvue_type_style_index_1_id_87642bf4_prod_lang_scss = __webpa
22832
24367
  ;
22833
24368
 
22834
24369
 
22835
-
22836
24370
  /* normalize component */
22837
24371
 
22838
24372
  var SpeechRecognition_component = normalizeComponent(
@@ -22841,7 +24375,7 @@ var SpeechRecognition_component = normalizeComponent(
22841
24375
  staticRenderFns,
22842
24376
  false,
22843
24377
  null,
22844
- "87642bf4",
24378
+ null,
22845
24379
  null
22846
24380
 
22847
24381
  )