yxspeechrecognition 1.1.0 → 1.1.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -11,401 +11,29 @@
11
11
  return /******/ (function() { // webpackBootstrap
12
12
  /******/ var __webpack_modules__ = ({
13
13
 
14
- /***/ 82:
15
- /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
14
+ /***/ 256:
15
+ /***/ (function(module, __webpack_exports__, __webpack_require__) {
16
16
 
17
- // style-loader: Adds some css to the DOM by adding a <style> tag
17
+ "use strict";
18
+ __webpack_require__.r(__webpack_exports__);
19
+ /* harmony import */ var _node_modules_css_loader_dist_runtime_noSourceMaps_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(601);
20
+ /* harmony import */ var _node_modules_css_loader_dist_runtime_noSourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_css_loader_dist_runtime_noSourceMaps_js__WEBPACK_IMPORTED_MODULE_0__);
21
+ /* harmony import */ var _node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(314);
22
+ /* harmony import */ var _node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__);
23
+ /* harmony import */ var _node_modules_css_loader_dist_runtime_getUrl_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(417);
24
+ /* 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__);
25
+ // Imports
18
26
 
19
- // load the styles
20
- var content = __webpack_require__(814);
21
- if(content.__esModule) content = content.default;
22
- if(typeof content === 'string') content = [[module.id, content, '']];
23
- if(content.locals) module.exports = content.locals;
24
- // add the styles to the DOM
25
- var add = (__webpack_require__(258)/* ["default"] */ .A)
26
- var update = add("45c40d67", content, true, {"sourceMap":false,"shadowMode":false});
27
27
 
28
- /***/ }),
29
28
 
30
- /***/ 110:
31
- /***/ (function(module, __webpack_exports__, __webpack_require__) {
29
+ var ___CSS_LOADER_URL_IMPORT_0___ = new URL(/* asset import */ __webpack_require__(671), __webpack_require__.b);
30
+ 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()));
31
+ var ___CSS_LOADER_URL_REPLACEMENT_0___ = _node_modules_css_loader_dist_runtime_getUrl_js__WEBPACK_IMPORTED_MODULE_2___default()(___CSS_LOADER_URL_IMPORT_0___);
32
+ // Module
33
+ ___CSS_LOADER_EXPORT___.push([module.id, ".yx-speech-recognition .icon[data-v-643faf61]{position:absolute;right:calc(var(--578fe822)*81.43);top:calc(var(--578fe822)*6.67);pointer-events:all;cursor:pointer;z-index:20}.yx-speech-recognition .box[data-v-643faf61]{display:grid;grid-template-rows:max-content 1fr;position:absolute;left:calc(var(--578fe822)*81.38);top:calc(var(--578fe822)*17.43);pointer-events:all;width:calc(var(--578fe822)*17.86);height:calc(var(--578fe822)*16.1);background:rgba(2,11,72,.6);border-radius:calc(var(--578fe822)*.57);z-index:20}.yx-speech-recognition .box .title[data-v-643faf61]{display:flex;align-items:center;justify-content:space-between;width:100%;height:calc(var(--578fe822)*2.29);padding:0 calc(var(--578fe822)*.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(--578fe822)*.57) calc(var(--578fe822)*.57) 0 0}.yx-speech-recognition .box .title-icon[data-v-643faf61]{display:flex;align-items:center;gap:calc(var(--578fe822)*.38)}.yx-speech-recognition .box .title-icon img[data-v-643faf61]{width:calc(var(--578fe822)*1);height:calc(var(--578fe822)*1)}.yx-speech-recognition .box .title-icon span[data-v-643faf61]{font-size:calc(var(--578fe822)*1.14);font-weight:800;color:#fff}.yx-speech-recognition .box .title .close[data-v-643faf61]{cursor:pointer}.yx-speech-recognition .box .title .close img[data-v-643faf61]{width:calc(var(--578fe822)*1.1)}.yx-speech-recognition .box .content[data-v-643faf61]{display:flex;align-items:center;justify-content:center;width:100%;height:100%;background:url(" + ___CSS_LOADER_URL_REPLACEMENT_0___ + ") no-repeat center 35%}.yx-speech-recognition .box .content span[data-v-643faf61]{margin-top:calc(var(--578fe822)*6);font-size:calc(var(--578fe822)*1)}.yx-speech-recognition .box .message-list[data-v-643faf61]{overflow:hidden;padding:calc(var(--578fe822)*.58);box-sizing:border-box;padding-right:calc(var(--578fe822)*.29)}.yx-speech-recognition .box .message-list-inner[data-v-643faf61]{height:100%;display:flex;flex-direction:column;gap:calc(var(--578fe822)*.53);overflow-y:overlay}.yx-speech-recognition .displayAssistant[data-v-643faf61]{position:absolute;right:calc(var(--578fe822)*74.17);top:calc(var(--578fe822)*3.19);pointer-events:all;cursor:pointer;z-index:20}.yx-speech-recognition .displayAssistant .icon1[data-v-643faf61]{width:calc(var(--578fe822)*3.76);height:calc(var(--578fe822)*3.88)}.yx-speech-recognition .displayAssistant .icon1 img[data-v-643faf61]{width:100%;height:100%}.yx-speech-recognition .displayAssistant .bubbleBox[data-v-643faf61]{position:absolute;top:0;left:calc(var(--578fe822)*3.76)}.yx-speech-recognition .displayAssistant .bubbleBox span[data-v-643faf61]{display:block;max-width:calc(var(--578fe822)*19.21);font-size:calc(var(--578fe822)*1);color:#fff;padding:calc(var(--578fe822)*.38);box-sizing:border-box}.yx-speech-recognition .displayAssistant .bubbleBox-title[data-v-643faf61]{position:fixed;background-color:rgba(70,61,255,.85);box-shadow:inset 0 0 calc(var(--578fe822)*.57) 0 #d4d9ff;border-radius:calc(var(--578fe822)*.27);margin-left:calc(var(--578fe822)*.49)}.yx-speech-recognition .displayAssistant .bubbleBox-title[data-v-643faf61]:after,.yx-speech-recognition .displayAssistant .bubbleBox-title[data-v-643faf61]:before{content:\"\";display:block;position:absolute}.yx-speech-recognition .displayAssistant .bubbleBox-title[data-v-643faf61]:before{border-top:calc(var(--578fe822)*.25) solid transparent;border-bottom:calc(var(--578fe822)*.25) solid transparent;border-right:calc(var(--578fe822)*.5) solid rgba(70,61,255,.85);transform:translateX(calc(var(--578fe822)*-.46));left:0;top:calc(var(--578fe822)*.48)}.yx-speech-recognition .displayAssistant .bubbleBox-to[data-v-643faf61]{background-color:rgba(98,183,0,.85);box-shadow:inset 0 0 calc(var(--578fe822)*.57) 0 #fff3b4}.yx-speech-recognition .displayAssistant .bubbleBox-to[data-v-643faf61]:before{border-right:calc(var(--578fe822)*.5) solid transparent}.yx-speech-recognition .displayAssistant .bubbleBox-to[data-v-643faf61]:after{border-top:calc(var(--578fe822)*.25) solid transparent;border-bottom:calc(var(--578fe822)*.25) solid transparent;border-right:calc(var(--578fe822)*.5) solid rgba(98,183,0,.85);transform:translateX(calc(var(--578fe822)*-.46));left:0;top:calc(var(--578fe822)*.48)}", ""]);
34
+ // Exports
35
+ /* harmony default export */ __webpack_exports__["default"] = (___CSS_LOADER_EXPORT___);
32
36
 
33
- "use strict";
34
- __webpack_require__.r(__webpack_exports__);
35
- /* harmony import */ var _babel_runtime_helpers_typeof__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(284);
36
- /* module decorator */ module = __webpack_require__.hmd(module);
37
-
38
- !function (t, e) {
39
- "object" == (typeof exports === "undefined" ? "undefined" : (0,_babel_runtime_helpers_typeof__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .A)(exports)) && "undefined" != "object" ? module.exports = e() : "function" == typeof define && __webpack_require__.amdO ? define(e) : (t = "undefined" != typeof globalThis ? globalThis : t || self).dayjs = e();
40
- }(undefined, function () {
41
- "use strict";
42
-
43
- var t = 1e3,
44
- e = 6e4,
45
- n = 36e5,
46
- r = "millisecond",
47
- i = "second",
48
- s = "minute",
49
- u = "hour",
50
- a = "day",
51
- o = "week",
52
- c = "month",
53
- f = "quarter",
54
- h = "year",
55
- d = "date",
56
- l = "Invalid Date",
57
- $ = /^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,
58
- y = /\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,
59
- M = {
60
- name: "en",
61
- weekdays: "Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),
62
- months: "January_February_March_April_May_June_July_August_September_October_November_December".split("_"),
63
- ordinal: function ordinal(t) {
64
- var e = ["th", "st", "nd", "rd"],
65
- n = t % 100;
66
- return "[" + t + (e[(n - 20) % 10] || e[n] || e[0]) + "]";
67
- }
68
- },
69
- m = function m(t, e, n) {
70
- var r = String(t);
71
- return !r || r.length >= e ? t : "" + Array(e + 1 - r.length).join(n) + t;
72
- },
73
- v = {
74
- s: m,
75
- z: function z(t) {
76
- var e = -t.utcOffset(),
77
- n = Math.abs(e),
78
- r = Math.floor(n / 60),
79
- i = n % 60;
80
- return (e <= 0 ? "+" : "-") + m(r, 2, "0") + ":" + m(i, 2, "0");
81
- },
82
- m: function t(e, n) {
83
- if (e.date() < n.date()) return -t(n, e);
84
- var r = 12 * (n.year() - e.year()) + (n.month() - e.month()),
85
- i = e.clone().add(r, c),
86
- s = n - i < 0,
87
- u = e.clone().add(r + (s ? -1 : 1), c);
88
- return +(-(r + (n - i) / (s ? i - u : u - i)) || 0);
89
- },
90
- a: function a(t) {
91
- return t < 0 ? Math.ceil(t) || 0 : Math.floor(t);
92
- },
93
- p: function p(t) {
94
- return {
95
- M: c,
96
- y: h,
97
- w: o,
98
- d: a,
99
- D: d,
100
- h: u,
101
- m: s,
102
- s: i,
103
- ms: r,
104
- Q: f
105
- }[t] || String(t || "").toLowerCase().replace(/s$/, "");
106
- },
107
- u: function u(t) {
108
- return void 0 === t;
109
- }
110
- },
111
- g = "en",
112
- D = {};
113
- D[g] = M;
114
- var p = "$isDayjsObject",
115
- S = function S(t) {
116
- return t instanceof _ || !(!t || !t[p]);
117
- },
118
- w = function t(e, n, r) {
119
- var i;
120
- if (!e) return g;
121
- if ("string" == typeof e) {
122
- var s = e.toLowerCase();
123
- D[s] && (i = s), n && (D[s] = n, i = s);
124
- var u = e.split("-");
125
- if (!i && u.length > 1) return t(u[0]);
126
- } else {
127
- var a = e.name;
128
- D[a] = e, i = a;
129
- }
130
- return !r && i && (g = i), i || !r && g;
131
- },
132
- O = function O(t, e) {
133
- if (S(t)) return t.clone();
134
- var n = "object" == (0,_babel_runtime_helpers_typeof__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .A)(e) ? e : {};
135
- return n.date = t, n.args = arguments, new _(n);
136
- },
137
- b = v;
138
- b.l = w, b.i = S, b.w = function (t, e) {
139
- return O(t, {
140
- locale: e.$L,
141
- utc: e.$u,
142
- x: e.$x,
143
- $offset: e.$offset
144
- });
145
- };
146
- var _ = function () {
147
- function M(t) {
148
- this.$L = w(t.locale, null, !0), this.parse(t), this.$x = this.$x || t.x || {}, this[p] = !0;
149
- }
150
- var m = M.prototype;
151
- return m.parse = function (t) {
152
- this.$d = function (t) {
153
- var e = t.date,
154
- n = t.utc;
155
- if (null === e) return new Date(NaN);
156
- if (b.u(e)) return new Date();
157
- if (e instanceof Date) return new Date(e);
158
- if ("string" == typeof e && !/Z$/i.test(e)) {
159
- var r = e.match($);
160
- if (r) {
161
- var i = r[2] - 1 || 0,
162
- s = (r[7] || "0").substring(0, 3);
163
- return n ? new Date(Date.UTC(r[1], i, r[3] || 1, r[4] || 0, r[5] || 0, r[6] || 0, s)) : new Date(r[1], i, r[3] || 1, r[4] || 0, r[5] || 0, r[6] || 0, s);
164
- }
165
- }
166
- return new Date(e);
167
- }(t), this.init();
168
- }, m.init = function () {
169
- var t = this.$d;
170
- this.$y = t.getFullYear(), this.$M = t.getMonth(), this.$D = t.getDate(), this.$W = t.getDay(), this.$H = t.getHours(), this.$m = t.getMinutes(), this.$s = t.getSeconds(), this.$ms = t.getMilliseconds();
171
- }, m.$utils = function () {
172
- return b;
173
- }, m.isValid = function () {
174
- return !(this.$d.toString() === l);
175
- }, m.isSame = function (t, e) {
176
- var n = O(t);
177
- return this.startOf(e) <= n && n <= this.endOf(e);
178
- }, m.isAfter = function (t, e) {
179
- return O(t) < this.startOf(e);
180
- }, m.isBefore = function (t, e) {
181
- return this.endOf(e) < O(t);
182
- }, m.$g = function (t, e, n) {
183
- return b.u(t) ? this[e] : this.set(n, t);
184
- }, m.unix = function () {
185
- return Math.floor(this.valueOf() / 1e3);
186
- }, m.valueOf = function () {
187
- return this.$d.getTime();
188
- }, m.startOf = function (t, e) {
189
- var n = this,
190
- r = !!b.u(e) || e,
191
- f = b.p(t),
192
- l = function l(t, e) {
193
- var i = b.w(n.$u ? Date.UTC(n.$y, e, t) : new Date(n.$y, e, t), n);
194
- return r ? i : i.endOf(a);
195
- },
196
- $ = function $(t, e) {
197
- return b.w(n.toDate()[t].apply(n.toDate("s"), (r ? [0, 0, 0, 0] : [23, 59, 59, 999]).slice(e)), n);
198
- },
199
- y = this.$W,
200
- M = this.$M,
201
- m = this.$D,
202
- v = "set" + (this.$u ? "UTC" : "");
203
- switch (f) {
204
- case h:
205
- return r ? l(1, 0) : l(31, 11);
206
- case c:
207
- return r ? l(1, M) : l(0, M + 1);
208
- case o:
209
- var g = this.$locale().weekStart || 0,
210
- D = (y < g ? y + 7 : y) - g;
211
- return l(r ? m - D : m + (6 - D), M);
212
- case a:
213
- case d:
214
- return $(v + "Hours", 0);
215
- case u:
216
- return $(v + "Minutes", 1);
217
- case s:
218
- return $(v + "Seconds", 2);
219
- case i:
220
- return $(v + "Milliseconds", 3);
221
- default:
222
- return this.clone();
223
- }
224
- }, m.endOf = function (t) {
225
- return this.startOf(t, !1);
226
- }, m.$set = function (t, e) {
227
- var n,
228
- o = b.p(t),
229
- f = "set" + (this.$u ? "UTC" : ""),
230
- l = (n = {}, n[a] = f + "Date", n[d] = f + "Date", n[c] = f + "Month", n[h] = f + "FullYear", n[u] = f + "Hours", n[s] = f + "Minutes", n[i] = f + "Seconds", n[r] = f + "Milliseconds", n)[o],
231
- $ = o === a ? this.$D + (e - this.$W) : e;
232
- if (o === c || o === h) {
233
- var y = this.clone().set(d, 1);
234
- y.$d[l]($), y.init(), this.$d = y.set(d, Math.min(this.$D, y.daysInMonth())).$d;
235
- } else l && this.$d[l]($);
236
- return this.init(), this;
237
- }, m.set = function (t, e) {
238
- return this.clone().$set(t, e);
239
- }, m.get = function (t) {
240
- return this[b.p(t)]();
241
- }, m.add = function (r, f) {
242
- var d,
243
- l = this;
244
- r = Number(r);
245
- var $ = b.p(f),
246
- y = function y(t) {
247
- var e = O(l);
248
- return b.w(e.date(e.date() + Math.round(t * r)), l);
249
- };
250
- if ($ === c) return this.set(c, this.$M + r);
251
- if ($ === h) return this.set(h, this.$y + r);
252
- if ($ === a) return y(1);
253
- if ($ === o) return y(7);
254
- var M = (d = {}, d[s] = e, d[u] = n, d[i] = t, d)[$] || 1,
255
- m = this.$d.getTime() + r * M;
256
- return b.w(m, this);
257
- }, m.subtract = function (t, e) {
258
- return this.add(-1 * t, e);
259
- }, m.format = function (t) {
260
- var e = this,
261
- n = this.$locale();
262
- if (!this.isValid()) return n.invalidDate || l;
263
- var r = t || "YYYY-MM-DDTHH:mm:ssZ",
264
- i = b.z(this),
265
- s = this.$H,
266
- u = this.$m,
267
- a = this.$M,
268
- o = n.weekdays,
269
- c = n.months,
270
- f = n.meridiem,
271
- h = function h(t, n, i, s) {
272
- return t && (t[n] || t(e, r)) || i[n].slice(0, s);
273
- },
274
- d = function d(t) {
275
- return b.s(s % 12 || 12, t, "0");
276
- },
277
- $ = f || function (t, e, n) {
278
- var r = t < 12 ? "AM" : "PM";
279
- return n ? r.toLowerCase() : r;
280
- };
281
- return r.replace(y, function (t, r) {
282
- return r || function (t) {
283
- switch (t) {
284
- case "YY":
285
- return String(e.$y).slice(-2);
286
- case "YYYY":
287
- return b.s(e.$y, 4, "0");
288
- case "M":
289
- return a + 1;
290
- case "MM":
291
- return b.s(a + 1, 2, "0");
292
- case "MMM":
293
- return h(n.monthsShort, a, c, 3);
294
- case "MMMM":
295
- return h(c, a);
296
- case "D":
297
- return e.$D;
298
- case "DD":
299
- return b.s(e.$D, 2, "0");
300
- case "d":
301
- return String(e.$W);
302
- case "dd":
303
- return h(n.weekdaysMin, e.$W, o, 2);
304
- case "ddd":
305
- return h(n.weekdaysShort, e.$W, o, 3);
306
- case "dddd":
307
- return o[e.$W];
308
- case "H":
309
- return String(s);
310
- case "HH":
311
- return b.s(s, 2, "0");
312
- case "h":
313
- return d(1);
314
- case "hh":
315
- return d(2);
316
- case "a":
317
- return $(s, u, !0);
318
- case "A":
319
- return $(s, u, !1);
320
- case "m":
321
- return String(u);
322
- case "mm":
323
- return b.s(u, 2, "0");
324
- case "s":
325
- return String(e.$s);
326
- case "ss":
327
- return b.s(e.$s, 2, "0");
328
- case "SSS":
329
- return b.s(e.$ms, 3, "0");
330
- case "Z":
331
- return i;
332
- }
333
- return null;
334
- }(t) || i.replace(":", "");
335
- });
336
- }, m.utcOffset = function () {
337
- return 15 * -Math.round(this.$d.getTimezoneOffset() / 15);
338
- }, m.diff = function (r, d, l) {
339
- var $,
340
- y = this,
341
- M = b.p(d),
342
- m = O(r),
343
- v = (m.utcOffset() - this.utcOffset()) * e,
344
- g = this - m,
345
- D = function D() {
346
- return b.m(y, m);
347
- };
348
- switch (M) {
349
- case h:
350
- $ = D() / 12;
351
- break;
352
- case c:
353
- $ = D();
354
- break;
355
- case f:
356
- $ = D() / 3;
357
- break;
358
- case o:
359
- $ = (g - v) / 6048e5;
360
- break;
361
- case a:
362
- $ = (g - v) / 864e5;
363
- break;
364
- case u:
365
- $ = g / n;
366
- break;
367
- case s:
368
- $ = g / e;
369
- break;
370
- case i:
371
- $ = g / t;
372
- break;
373
- default:
374
- $ = g;
375
- }
376
- return l ? $ : b.a($);
377
- }, m.daysInMonth = function () {
378
- return this.endOf(c).$D;
379
- }, m.$locale = function () {
380
- return D[this.$L];
381
- }, m.locale = function (t, e) {
382
- if (!t) return this.$L;
383
- var n = this.clone(),
384
- r = w(t, e, !0);
385
- return r && (n.$L = r), n;
386
- }, m.clone = function () {
387
- return b.w(this.$d, this);
388
- }, m.toDate = function () {
389
- return new Date(this.valueOf());
390
- }, m.toJSON = function () {
391
- return this.isValid() ? this.toISOString() : null;
392
- }, m.toISOString = function () {
393
- return this.$d.toISOString();
394
- }, m.toString = function () {
395
- return this.$d.toUTCString();
396
- }, M;
397
- }(),
398
- k = _.prototype;
399
- return O.prototype = k, [["$ms", r], ["$s", i], ["$m", s], ["$H", u], ["$W", a], ["$M", c], ["$y", h], ["$D", d]].forEach(function (t) {
400
- k[t[1]] = function (e) {
401
- return this.$g(e, t[0], t[1]);
402
- };
403
- }), O.extend = function (t, e) {
404
- return t.$i || (t(e, _, O), t.$i = !0), O;
405
- }, O.locale = w, O.isDayjs = S, O.unix = function (t) {
406
- return O(1e3 * t);
407
- }, O.en = D[g], O.Ls = D, O.p = {}, O;
408
- });
409
37
 
410
38
  /***/ }),
411
39
 
@@ -683,26 +311,6 @@ function applyToTag (styleElement, obj) {
683
311
  "use strict";
684
312
  module.exports = __WEBPACK_EXTERNAL_MODULE__274__;
685
313
 
686
- /***/ }),
687
-
688
- /***/ 284:
689
- /***/ (function(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
690
-
691
- "use strict";
692
- /* harmony export */ __webpack_require__.d(__webpack_exports__, {
693
- /* harmony export */ A: function() { return /* binding */ _typeof; }
694
- /* harmony export */ });
695
- function _typeof(o) {
696
- "@babel/helpers - typeof";
697
-
698
- return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) {
699
- return typeof o;
700
- } : function (o) {
701
- return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o;
702
- }, _typeof(o);
703
- }
704
-
705
-
706
314
  /***/ }),
707
315
 
708
316
  /***/ 314:
@@ -838,73 +446,6 @@ module.exports = function (url, options) {
838
446
 
839
447
  /***/ }),
840
448
 
841
- /***/ 436:
842
- /***/ (function(module, __unused_webpack___webpack_exports__, __webpack_require__) {
843
-
844
- "use strict";
845
- /* harmony import */ var _babel_runtime_helpers_typeof__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(284);
846
- /* module decorator */ module = __webpack_require__.hmd(module);
847
-
848
- !function (e, _) {
849
- "object" == (typeof exports === "undefined" ? "undefined" : (0,_babel_runtime_helpers_typeof__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .A)(exports)) && "undefined" != "object" ? module.exports = _(__webpack_require__(110)) : "function" == typeof define && __webpack_require__.amdO ? define(["dayjs"], _) : (e = "undefined" != typeof globalThis ? globalThis : e || self).dayjs_locale_zh_cn = _(e.dayjs);
850
- }(undefined, function (e) {
851
- "use strict";
852
-
853
- function _(e) {
854
- return e && "object" == (0,_babel_runtime_helpers_typeof__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .A)(e) && "default" in e ? e : {
855
- default: e
856
- };
857
- }
858
- var t = _(e),
859
- d = {
860
- name: "zh-cn",
861
- weekdays: "星期日_星期一_星期二_星期三_星期四_星期五_星期六".split("_"),
862
- weekdaysShort: "周日_周一_周二_周三_周四_周五_周六".split("_"),
863
- weekdaysMin: "日_一_二_三_四_五_六".split("_"),
864
- months: "一月_二月_三月_四月_五月_六月_七月_八月_九月_十月_十一月_十二月".split("_"),
865
- monthsShort: "1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),
866
- ordinal: function ordinal(e, _) {
867
- return "W" === _ ? e + "周" : e + "日";
868
- },
869
- weekStart: 1,
870
- yearStart: 4,
871
- formats: {
872
- LT: "HH:mm",
873
- LTS: "HH:mm:ss",
874
- L: "YYYY/MM/DD",
875
- LL: "YYYY年M月D日",
876
- LLL: "YYYY年M月D日Ah点mm分",
877
- LLLL: "YYYY年M月D日ddddAh点mm分",
878
- l: "YYYY/M/D",
879
- ll: "YYYY年M月D日",
880
- lll: "YYYY年M月D日 HH:mm",
881
- llll: "YYYY年M月D日dddd HH:mm"
882
- },
883
- relativeTime: {
884
- future: "%s内",
885
- past: "%s前",
886
- s: "几秒",
887
- m: "1 分钟",
888
- mm: "%d 分钟",
889
- h: "1 小时",
890
- hh: "%d 小时",
891
- d: "1 天",
892
- dd: "%d 天",
893
- M: "1 个月",
894
- MM: "%d 个月",
895
- y: "1 年",
896
- yy: "%d 年"
897
- },
898
- meridiem: function meridiem(e, _) {
899
- var t = 100 * e + _;
900
- return t < 600 ? "凌晨" : t < 900 ? "早上" : t < 1100 ? "上午" : t < 1300 ? "中午" : t < 1800 ? "下午" : "晚上";
901
- }
902
- };
903
- return t.default.locale(d, null, !0), d;
904
- });
905
-
906
- /***/ }),
907
-
908
449
  /***/ 515:
909
450
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
910
451
 
@@ -924,30 +465,6 @@ ___CSS_LOADER_EXPORT___.push([module.id, ".message-wrapper[data-v-03109883]{disp
924
465
  /* harmony default export */ __webpack_exports__["default"] = (___CSS_LOADER_EXPORT___);
925
466
 
926
467
 
927
- /***/ }),
928
-
929
- /***/ 527:
930
- /***/ (function(module, __unused_webpack___webpack_exports__, __webpack_require__) {
931
-
932
- "use strict";
933
- /* harmony import */ var _babel_runtime_helpers_typeof__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(284);
934
- /* module decorator */ module = __webpack_require__.hmd(module);
935
-
936
- !function (e, t) {
937
- "object" == (typeof exports === "undefined" ? "undefined" : (0,_babel_runtime_helpers_typeof__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .A)(exports)) && "undefined" != "object" ? module.exports = t() : "function" == typeof define && __webpack_require__.amdO ? define(t) : (e = "undefined" != typeof globalThis ? globalThis : e || self).dayjs_plugin_weekday = t();
938
- }(undefined, function () {
939
- "use strict";
940
-
941
- return function (e, t) {
942
- t.prototype.weekday = function (e) {
943
- var t = this.$locale().weekStart || 0,
944
- i = this.$W,
945
- n = (i < t ? i + 7 : i) - t;
946
- return this.$utils().u(e) ? n : this.subtract(n, "day").add(e, "day");
947
- };
948
- };
949
- });
950
-
951
468
  /***/ }),
952
469
 
953
470
  /***/ 601:
@@ -1326,29 +843,19 @@ module.exports = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAFgAAABYCAMAAABG
1326
843
 
1327
844
  /***/ }),
1328
845
 
1329
- /***/ 814:
1330
- /***/ (function(module, __webpack_exports__, __webpack_require__) {
1331
-
1332
- "use strict";
1333
- __webpack_require__.r(__webpack_exports__);
1334
- /* harmony import */ var _node_modules_css_loader_dist_runtime_noSourceMaps_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(601);
1335
- /* 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__);
1336
- /* harmony import */ var _node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(314);
1337
- /* 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__);
1338
- /* harmony import */ var _node_modules_css_loader_dist_runtime_getUrl_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(417);
1339
- /* 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__);
1340
- // Imports
1341
-
1342
-
846
+ /***/ 876:
847
+ /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
1343
848
 
1344
- var ___CSS_LOADER_URL_IMPORT_0___ = new URL(/* asset import */ __webpack_require__(671), __webpack_require__.b);
1345
- 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()));
1346
- var ___CSS_LOADER_URL_REPLACEMENT_0___ = _node_modules_css_loader_dist_runtime_getUrl_js__WEBPACK_IMPORTED_MODULE_2___default()(___CSS_LOADER_URL_IMPORT_0___);
1347
- // Module
1348
- ___CSS_LOADER_EXPORT___.push([module.id, ".yx-speech-recognition .icon[data-v-0c23a6db]{position:absolute;right:calc(var(--396e4518)*81.43);top:calc(var(--396e4518)*6.67);pointer-events:all;cursor:pointer;z-index:20}.yx-speech-recognition .box[data-v-0c23a6db]{display:grid;grid-template-rows:max-content 1fr;position:absolute;left:calc(var(--396e4518)*81.38);top:calc(var(--396e4518)*17.43);pointer-events:all;width:calc(var(--396e4518)*17.86);height:calc(var(--396e4518)*16.1);background:rgba(2,11,72,.6);border-radius:calc(var(--396e4518)*.57);z-index:20}.yx-speech-recognition .box .title[data-v-0c23a6db]{display:flex;align-items:center;justify-content:space-between;width:100%;height:calc(var(--396e4518)*2.29);padding:0 calc(var(--396e4518)*.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(--396e4518)*.57) calc(var(--396e4518)*.57) 0 0}.yx-speech-recognition .box .title-icon[data-v-0c23a6db]{display:flex;align-items:center;gap:calc(var(--396e4518)*.38)}.yx-speech-recognition .box .title-icon img[data-v-0c23a6db]{width:calc(var(--396e4518)*1);height:calc(var(--396e4518)*1)}.yx-speech-recognition .box .title-icon span[data-v-0c23a6db]{font-size:calc(var(--396e4518)*1.14);font-weight:800;color:#fff}.yx-speech-recognition .box .title .close[data-v-0c23a6db]{cursor:pointer}.yx-speech-recognition .box .title .close img[data-v-0c23a6db]{width:calc(var(--396e4518)*1.1)}.yx-speech-recognition .box .content[data-v-0c23a6db]{display:flex;align-items:center;justify-content:center;width:100%;height:100%;background:url(" + ___CSS_LOADER_URL_REPLACEMENT_0___ + ") no-repeat center 35%}.yx-speech-recognition .box .content span[data-v-0c23a6db]{margin-top:calc(var(--396e4518)*6);font-size:calc(var(--396e4518)*1)}.yx-speech-recognition .box .message-list[data-v-0c23a6db]{overflow:hidden;padding:calc(var(--396e4518)*.58);box-sizing:border-box;padding-right:calc(var(--396e4518)*.29)}.yx-speech-recognition .box .message-list-inner[data-v-0c23a6db]{height:100%;display:flex;flex-direction:column;gap:calc(var(--396e4518)*.53);overflow-y:overlay}.yx-speech-recognition .displayAssistant[data-v-0c23a6db]{position:absolute;right:calc(var(--396e4518)*74.17);top:calc(var(--396e4518)*3.19);pointer-events:all;cursor:pointer;z-index:20}.yx-speech-recognition .displayAssistant .icon1[data-v-0c23a6db]{width:calc(var(--396e4518)*3.76);height:calc(var(--396e4518)*3.88)}.yx-speech-recognition .displayAssistant .icon1 img[data-v-0c23a6db]{width:100%;height:100%}.yx-speech-recognition .displayAssistant .bubbleBox[data-v-0c23a6db]{position:absolute;top:0;left:calc(var(--396e4518)*3.76)}.yx-speech-recognition .displayAssistant .bubbleBox span[data-v-0c23a6db]{display:block;max-width:calc(var(--396e4518)*19.21);font-size:calc(var(--396e4518)*1);color:#fff;padding:calc(var(--396e4518)*.38);box-sizing:border-box}.yx-speech-recognition .displayAssistant .bubbleBox-title[data-v-0c23a6db]{position:fixed;background-color:rgba(70,61,255,.85);box-shadow:inset 0 0 calc(var(--396e4518)*.57) 0 #d4d9ff;border-radius:calc(var(--396e4518)*.27);margin-left:calc(var(--396e4518)*.49)}.yx-speech-recognition .displayAssistant .bubbleBox-title[data-v-0c23a6db]:after,.yx-speech-recognition .displayAssistant .bubbleBox-title[data-v-0c23a6db]:before{content:\"\";display:block;position:absolute}.yx-speech-recognition .displayAssistant .bubbleBox-title[data-v-0c23a6db]:before{border-top:calc(var(--396e4518)*.25) solid transparent;border-bottom:calc(var(--396e4518)*.25) solid transparent;border-right:calc(var(--396e4518)*.5) solid rgba(70,61,255,.85);transform:translateX(calc(var(--396e4518)*-.46));left:0;top:calc(var(--396e4518)*.48)}.yx-speech-recognition .displayAssistant .bubbleBox-to[data-v-0c23a6db]{background-color:rgba(98,183,0,.85);box-shadow:inset 0 0 calc(var(--396e4518)*.57) 0 #fff3b4}.yx-speech-recognition .displayAssistant .bubbleBox-to[data-v-0c23a6db]:before{border-right:calc(var(--396e4518)*.5) solid transparent}.yx-speech-recognition .displayAssistant .bubbleBox-to[data-v-0c23a6db]:after{border-top:calc(var(--396e4518)*.25) solid transparent;border-bottom:calc(var(--396e4518)*.25) solid transparent;border-right:calc(var(--396e4518)*.5) solid rgba(98,183,0,.85);transform:translateX(calc(var(--396e4518)*-.46));left:0;top:calc(var(--396e4518)*.48)}", ""]);
1349
- // Exports
1350
- /* harmony default export */ __webpack_exports__["default"] = (___CSS_LOADER_EXPORT___);
849
+ // style-loader: Adds some css to the DOM by adding a <style> tag
1351
850
 
851
+ // load the styles
852
+ var content = __webpack_require__(256);
853
+ if(content.__esModule) content = content.default;
854
+ if(typeof content === 'string') content = [[module.id, content, '']];
855
+ if(content.locals) module.exports = content.locals;
856
+ // add the styles to the DOM
857
+ var add = (__webpack_require__(258)/* ["default"] */ .A)
858
+ var update = add("59beb19d", content, true, {"sourceMap":false,"shadowMode":false});
1352
859
 
1353
860
  /***/ }),
1354
861
 
@@ -1644,16 +1151,13 @@ window && (window.CryptoJSTest = CryptoJS);
1644
1151
  /******/ // Create a new module (and put it into the cache)
1645
1152
  /******/ var module = __webpack_module_cache__[moduleId] = {
1646
1153
  /******/ id: moduleId,
1647
- /******/ loaded: false,
1154
+ /******/ // no module.loaded needed
1648
1155
  /******/ exports: {}
1649
1156
  /******/ };
1650
1157
  /******/
1651
1158
  /******/ // Execute the module function
1652
1159
  /******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__);
1653
1160
  /******/
1654
- /******/ // Flag the module as loaded
1655
- /******/ module.loaded = true;
1656
- /******/
1657
1161
  /******/ // Return the exports of the module
1658
1162
  /******/ return module.exports;
1659
1163
  /******/ }
@@ -1662,11 +1166,6 @@ window && (window.CryptoJSTest = CryptoJS);
1662
1166
  /******/ __webpack_require__.m = __webpack_modules__;
1663
1167
  /******/
1664
1168
  /************************************************************************/
1665
- /******/ /* webpack/runtime/amd options */
1666
- /******/ !function() {
1667
- /******/ __webpack_require__.amdO = {};
1668
- /******/ }();
1669
- /******/
1670
1169
  /******/ /* webpack/runtime/compat get default export */
1671
1170
  /******/ !function() {
1672
1171
  /******/ // getDefaultExport function for compatibility with non-harmony modules
@@ -1691,21 +1190,6 @@ window && (window.CryptoJSTest = CryptoJS);
1691
1190
  /******/ };
1692
1191
  /******/ }();
1693
1192
  /******/
1694
- /******/ /* webpack/runtime/harmony module decorator */
1695
- /******/ !function() {
1696
- /******/ __webpack_require__.hmd = function(module) {
1697
- /******/ module = Object.create(module);
1698
- /******/ if (!module.children) module.children = [];
1699
- /******/ Object.defineProperty(module, 'exports', {
1700
- /******/ enumerable: true,
1701
- /******/ set: function() {
1702
- /******/ throw new Error('ES Modules may not assign module.exports or exports.*, Use ESM export syntax, instead: ' + module.id);
1703
- /******/ }
1704
- /******/ });
1705
- /******/ return module;
1706
- /******/ };
1707
- /******/ }();
1708
- /******/
1709
1193
  /******/ /* webpack/runtime/hasOwnProperty shorthand */
1710
1194
  /******/ !function() {
1711
1195
  /******/ __webpack_require__.o = function(obj, prop) { return Object.prototype.hasOwnProperty.call(obj, prop); }
@@ -1795,7 +1279,7 @@ if (typeof window !== 'undefined') {
1795
1279
  // Indicate to webpack that this file can be concatenated
1796
1280
  /* harmony default export */ var setPublicPath = (null);
1797
1281
 
1798
- ;// ./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=0c23a6db&scoped=true
1282
+ ;// ./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=643faf61&scoped=true
1799
1283
  var render = function render() {
1800
1284
  var _vm = this,
1801
1285
  _c = _vm._self._c;
@@ -1866,18 +1350,27 @@ var staticRenderFns = [function () {
1866
1350
  }), _c('span', [_vm._v("小宝助手")])]);
1867
1351
  }];
1868
1352
 
1869
- ;// ./package/SpeechRecognition/index.vue?vue&type=template&id=0c23a6db&scoped=true
1353
+ ;// ./package/SpeechRecognition/index.vue?vue&type=template&id=643faf61&scoped=true
1354
+
1355
+ ;// ./node_modules/@babel/runtime/helpers/esm/typeof.js
1356
+ function typeof_typeof(o) {
1357
+ "@babel/helpers - typeof";
1358
+
1359
+ return typeof_typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) {
1360
+ return typeof o;
1361
+ } : function (o) {
1362
+ return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o;
1363
+ }, typeof_typeof(o);
1364
+ }
1870
1365
 
1871
- // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/typeof.js
1872
- var esm_typeof = __webpack_require__(284);
1873
1366
  ;// ./node_modules/@babel/runtime/helpers/esm/toPrimitive.js
1874
1367
 
1875
1368
  function toPrimitive(t, r) {
1876
- if ("object" != (0,esm_typeof/* default */.A)(t) || !t) return t;
1369
+ if ("object" != typeof_typeof(t) || !t) return t;
1877
1370
  var e = t[Symbol.toPrimitive];
1878
1371
  if (void 0 !== e) {
1879
1372
  var i = e.call(t, r || "default");
1880
- if ("object" != (0,esm_typeof/* default */.A)(i)) return i;
1373
+ if ("object" != typeof_typeof(i)) return i;
1881
1374
  throw new TypeError("@@toPrimitive must return a primitive value.");
1882
1375
  }
1883
1376
  return ("string" === r ? String : Number)(t);
@@ -1888,7 +1381,7 @@ function toPrimitive(t, r) {
1888
1381
 
1889
1382
  function toPropertyKey(t) {
1890
1383
  var i = toPrimitive(t, "string");
1891
- return "symbol" == (0,esm_typeof/* default */.A)(i) ? i : i + "";
1384
+ return "symbol" == typeof_typeof(i) ? i : i + "";
1892
1385
  }
1893
1386
 
1894
1387
  ;// ./node_modules/@babel/runtime/helpers/esm/defineProperty.js
@@ -3014,7 +2507,7 @@ var kindOfTest = function kindOfTest(type) {
3014
2507
  };
3015
2508
  var typeOfTest = function typeOfTest(type) {
3016
2509
  return function (thing) {
3017
- return (0,esm_typeof/* default */.A)(thing) === type;
2510
+ return typeof_typeof(thing) === type;
3018
2511
  };
3019
2512
  };
3020
2513
 
@@ -3107,7 +2600,7 @@ var isNumber = typeOfTest('number');
3107
2600
  * @returns {boolean} True if value is an Object, otherwise false
3108
2601
  */
3109
2602
  var isObject = function isObject(thing) {
3110
- return thing !== null && (0,esm_typeof/* default */.A)(thing) === 'object';
2603
+ return thing !== null && typeof_typeof(thing) === 'object';
3111
2604
  };
3112
2605
 
3113
2606
  /**
@@ -3249,7 +2742,7 @@ function forEach(obj, fn) {
3249
2742
  var l;
3250
2743
 
3251
2744
  // Force an array if not already something iterable
3252
- if ((0,esm_typeof/* default */.A)(obj) !== 'object') {
2745
+ if (typeof_typeof(obj) !== 'object') {
3253
2746
  /*eslint no-param-reassign:0*/
3254
2747
  obj = [obj];
3255
2748
  }
@@ -3937,7 +3430,7 @@ function toFormData(obj, formData, options) {
3937
3430
  */
3938
3431
  function defaultVisitor(value, key, path) {
3939
3432
  var arr = value;
3940
- if (value && !path && (0,esm_typeof/* default */.A)(value) === 'object') {
3433
+ if (value && !path && typeof_typeof(value) === 'object') {
3941
3434
  if (utils.endsWith(key, '{}')) {
3942
3435
  // eslint-disable-next-line no-param-reassign
3943
3436
  key = metaTokens ? key : key.slice(0, -2);
@@ -4213,7 +3706,7 @@ var InterceptorManager = /*#__PURE__*/function () {
4213
3706
  ;// ./node_modules/axios/lib/platform/common/utils.js
4214
3707
 
4215
3708
  var hasBrowserEnv = typeof window !== 'undefined' && typeof document !== 'undefined';
4216
- var _navigator = (typeof navigator === "undefined" ? "undefined" : (0,esm_typeof/* default */.A)(navigator)) === 'object' && navigator || undefined;
3709
+ var _navigator = (typeof navigator === "undefined" ? "undefined" : typeof_typeof(navigator)) === 'object' && navigator || undefined;
4217
3710
 
4218
3711
  /**
4219
3712
  * Determine if we're running in a standard browser environment
@@ -6298,7 +5791,7 @@ var validators = {};
6298
5791
  // eslint-disable-next-line func-names
6299
5792
  ['object', 'boolean', 'number', 'function', 'string', 'symbol'].forEach(function (type, i) {
6300
5793
  validators[type] = function validator(thing) {
6301
- return (0,esm_typeof/* default */.A)(thing) === type || 'a' + (i < 1 ? 'n ' : ' ') + type;
5794
+ return typeof_typeof(thing) === type || 'a' + (i < 1 ? 'n ' : ' ') + type;
6302
5795
  };
6303
5796
  });
6304
5797
  var deprecatedWarnings = {};
@@ -6349,7 +5842,7 @@ validators.spelling = function spelling(correctSpelling) {
6349
5842
  */
6350
5843
 
6351
5844
  function assertOptions(options, schema, allowUnknown) {
6352
- if ((0,esm_typeof/* default */.A)(options) !== 'object') {
5845
+ if (typeof_typeof(options) !== 'object') {
6353
5846
  throw new core_AxiosError('options must be an object', core_AxiosError.ERR_BAD_OPTION_VALUE);
6354
5847
  }
6355
5848
  var keys = Object.keys(options);
@@ -7028,21 +6521,10 @@ var Tx = /*#__PURE__*/function () {
7028
6521
  }]);
7029
6522
  }();
7030
6523
 
7031
- // EXTERNAL MODULE: ./node_modules/dayjs/dayjs.min.js
7032
- var dayjs_min = __webpack_require__(110);
7033
- // EXTERNAL MODULE: ./node_modules/dayjs/locale/zh-cn.js
7034
- var zh_cn = __webpack_require__(436);
7035
- // EXTERNAL MODULE: ./node_modules/dayjs/plugin/weekday.js
7036
- var weekday = __webpack_require__(527);
7037
6524
  ;// ./package/SpeechRecognition/utils/DateUtil.js
7038
-
7039
-
7040
-
7041
- dayjs_min["default"].extend(weekday/* default */.A);
7042
- dayjs_min["default"].locale('zh-cn');
7043
6525
  var getTimeSlot = function getTimeSlot() {
7044
- var now = (0,dayjs_min["default"])();
7045
- var hour = now.hour();
6526
+ var date = new Date();
6527
+ var hour = date.getHours();
7046
6528
  var timeSlot = '';
7047
6529
  switch (true) {
7048
6530
  case hour < 6:
@@ -17522,86 +17004,90 @@ function wakeUpState_createForOfIteratorHelper(r, e) { var t = "undefined" != ty
17522
17004
  function wakeUpState_unsupportedIterableToArray(r, a) { if (r) { if ("string" == typeof r) return wakeUpState_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) ? wakeUpState_arrayLikeToArray(r, a) : void 0; } }
17523
17005
  function wakeUpState_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; }
17524
17006
 
17525
- var wakeUpState = function wakeUpState() {
17526
- // 智能体的唤醒词 “你好小宝” “小宝小宝”
17527
- var wakeUp_word = ['你好小宝', '小宝小宝'];
17528
-
17529
- // 智能体的退出词 “关闭小宝” “退出” “结束对话”
17530
- var quit_word = ['关闭小宝', '退出', '结束对话'];
17531
- var wakeUp_List = [];
17532
- var quit_List = [];
17533
- wakeUp_word.map(function (item) {
17534
- wakeUp_List.push(pinyin(item, {
17535
- toneType: 'none'
17536
- }));
17007
+
17008
+ // const wakeUpState = () => {
17009
+
17010
+ // 智能体的唤醒词 “你好小宝” “小宝小宝”
17011
+ var wakeUp_word = ['你好小宝', '小宝小宝'];
17012
+
17013
+ // 智能体的退出词 “关闭小宝” “退出” “结束对话”
17014
+ var quit_word = ['关闭小宝', '退出', '结束对话'];
17015
+ var wakeUp_List = [];
17016
+ var quit_List = [];
17017
+ wakeUp_word.map(function (item) {
17018
+ wakeUp_List.push(pinyin(item, {
17019
+ toneType: 'none'
17020
+ }));
17021
+ });
17022
+ quit_word.map(function (item) {
17023
+ quit_List.push(pinyin(item, {
17024
+ toneType: 'none'
17025
+ }));
17026
+ });
17027
+ var compare_by_pinyin = function compare_by_pinyin(phrase, type) {
17028
+ var bool = false;
17029
+ var _phrase = pinyin(phrase, {
17030
+ toneType: 'none'
17537
17031
  });
17538
- quit_word.map(function (item) {
17539
- quit_List.push(pinyin(item, {
17540
- toneType: 'none'
17541
- }));
17032
+ var _List = type === 'wakeUp' ? wakeUp_List : quit_List;
17033
+ // if (_List.includes(_phrase)) return true
17034
+ _List.map(function (item) {
17035
+ if (_phrase.indexOf(item) >= 0) bool = true;
17542
17036
  });
17543
- var compare_by_pinyin = function compare_by_pinyin(phrase, type) {
17544
- var bool = false;
17545
- var _phrase = pinyin(phrase, {
17546
- toneType: 'none'
17547
- });
17548
- var _List = type === 'wakeUp' ? wakeUp_List : quit_List;
17549
- // if (_List.includes(_phrase)) return true
17550
- _List.map(function (item) {
17551
- if (_phrase.indexOf(item) >= 0) bool = true;
17552
- });
17553
- return bool;
17554
- };
17555
- var getMatch = function getMatch(opt) {
17556
- var _opt$result, _sentence$match;
17557
- // const { voice_text_str } = opt?.result ?? { voice_text_str: '' }
17558
- var voice_text_str = opt === null || opt === void 0 || (_opt$result = opt.result) === null || _opt$result === void 0 ? void 0 : _opt$result.voice_text_str;
17559
- var sentence = voice_text_str.replace(/[\s+.!/_,$%^*()/[\]:/"/'?【】+——!,。?、~@#¥%……&*():;《){}《》“”()»〔〕-]+/g, '');
17560
- var match = (_sentence$match = sentence.match(/[\u4e00-\u9fff]+/g)) !== null && _sentence$match !== void 0 ? _sentence$match : [];
17561
- return match;
17562
- };
17563
- var wakeUp = function wakeUp(opt) {
17564
- var flag = false;
17565
- var match = getMatch(opt);
17566
- var _iterator = wakeUpState_createForOfIteratorHelper(match),
17567
- _step;
17568
- try {
17569
- for (_iterator.s(); !(_step = _iterator.n()).done;) {
17570
- var item = _step.value;
17571
- if (compare_by_pinyin(item, 'wakeUp')) flag = true;
17572
- break;
17573
- }
17574
- } catch (err) {
17575
- _iterator.e(err);
17576
- } finally {
17577
- _iterator.f();
17037
+ return bool;
17038
+ };
17039
+ var getMatch = function getMatch(opt) {
17040
+ var _opt$result, _sentence$match;
17041
+ // const { voice_text_str } = opt?.result ?? { voice_text_str: '' }
17042
+ var voice_text_str = opt === null || opt === void 0 || (_opt$result = opt.result) === null || _opt$result === void 0 ? void 0 : _opt$result.voice_text_str;
17043
+ var sentence = voice_text_str.replace(/[\s+.!/_,$%^*()/[\]:/"/'?【】+——!,。?、~@#¥%……&*():;《){}《》“”()»〔〕-]+/g, '');
17044
+ var match = (_sentence$match = sentence.match(/[\u4e00-\u9fff]+/g)) !== null && _sentence$match !== void 0 ? _sentence$match : [];
17045
+ return match;
17046
+ };
17047
+ var wakeUp = function wakeUp(opt) {
17048
+ var flag = false;
17049
+ var match = getMatch(opt);
17050
+ var _iterator = wakeUpState_createForOfIteratorHelper(match),
17051
+ _step;
17052
+ try {
17053
+ for (_iterator.s(); !(_step = _iterator.n()).done;) {
17054
+ var item = _step.value;
17055
+ if (compare_by_pinyin(item, 'wakeUp')) flag = true;
17056
+ break;
17578
17057
  }
17579
- return flag;
17580
- };
17581
- var onQuit = function onQuit(opt) {
17582
- var flag = false;
17583
- var match = getMatch(opt);
17584
- var _iterator2 = wakeUpState_createForOfIteratorHelper(match),
17585
- _step2;
17586
- try {
17587
- for (_iterator2.s(); !(_step2 = _iterator2.n()).done;) {
17588
- var item = _step2.value;
17589
- if (compare_by_pinyin(item, 'Quit')) flag = true;
17590
- break;
17591
- }
17592
- } catch (err) {
17593
- _iterator2.e(err);
17594
- } finally {
17595
- _iterator2.f();
17058
+ } catch (err) {
17059
+ _iterator.e(err);
17060
+ } finally {
17061
+ _iterator.f();
17062
+ }
17063
+ return flag;
17064
+ };
17065
+ var onQuit = function onQuit(opt) {
17066
+ var flag = false;
17067
+ var match = getMatch(opt);
17068
+ var _iterator2 = wakeUpState_createForOfIteratorHelper(match),
17069
+ _step2;
17070
+ try {
17071
+ for (_iterator2.s(); !(_step2 = _iterator2.n()).done;) {
17072
+ var item = _step2.value;
17073
+ if (compare_by_pinyin(item, 'Quit')) flag = true;
17074
+ break;
17596
17075
  }
17597
- return flag;
17598
- };
17599
- return {
17600
- wakeUp: wakeUp,
17601
- onQuit: onQuit
17602
- };
17076
+ } catch (err) {
17077
+ _iterator2.e(err);
17078
+ } finally {
17079
+ _iterator2.f();
17080
+ }
17081
+ return flag;
17603
17082
  };
17604
17083
 
17084
+ // return {
17085
+ // wakeUp,
17086
+ // onQuit
17087
+ // }
17088
+ // }
17089
+
17090
+ // export { wakeUpState, wakeUpState as default }
17605
17091
  ;// ./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
17606
17092
 
17607
17093
 
@@ -17614,9 +17100,6 @@ function SpeechRecognitionvue_type_script_lang_js_objectSpread(e) { for (var r =
17614
17100
 
17615
17101
 
17616
17102
 
17617
- var _wakeUpState = wakeUpState(),
17618
- wakeUp = _wakeUpState.wakeUp,
17619
- onQuit = _wakeUpState.onQuit;
17620
17103
  var __default__ = {
17621
17104
  name: "yx-speech-recognition",
17622
17105
  components: {
@@ -18043,7 +17526,7 @@ var __default__ = {
18043
17526
  var __injectCSSVars__ = function __injectCSSVars__() {
18044
17527
  (0,external_commonjs_vue_commonjs2_vue_root_Vue_.useCssVars)(function (_vm, _setup) {
18045
17528
  return {
18046
- "396e4518": _vm.htmlFontSize
17529
+ "578fe822": _vm.htmlFontSize
18047
17530
  };
18048
17531
  });
18049
17532
  };
@@ -18055,9 +17538,9 @@ __default__.setup = __setup__ ? function (props, ctx) {
18055
17538
  /* harmony default export */ var SpeechRecognitionvue_type_script_lang_js = (__default__);
18056
17539
  ;// ./package/SpeechRecognition/index.vue?vue&type=script&lang=js
18057
17540
  /* harmony default export */ var package_SpeechRecognitionvue_type_script_lang_js = (SpeechRecognitionvue_type_script_lang_js);
18058
- // 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=0c23a6db&prod&lang=scss&scoped=true
18059
- var SpeechRecognitionvue_type_style_index_0_id_0c23a6db_prod_lang_scss_scoped_true = __webpack_require__(82);
18060
- ;// ./package/SpeechRecognition/index.vue?vue&type=style&index=0&id=0c23a6db&prod&lang=scss&scoped=true
17541
+ // EXTERNAL MODULE: ./node_modules/vue-style-loader/index.js??clonedRuleSet-64.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-64.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-64.use[2]!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-64.use[3]!./node_modules/sass-loader/dist/cjs.js??clonedRuleSet-64.use[4]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./package/SpeechRecognition/index.vue?vue&type=style&index=0&id=643faf61&prod&lang=scss&scoped=true
17542
+ var SpeechRecognitionvue_type_style_index_0_id_643faf61_prod_lang_scss_scoped_true = __webpack_require__(876);
17543
+ ;// ./package/SpeechRecognition/index.vue?vue&type=style&index=0&id=643faf61&prod&lang=scss&scoped=true
18061
17544
 
18062
17545
  ;// ./package/SpeechRecognition/index.vue
18063
17546
 
@@ -18074,7 +17557,7 @@ var SpeechRecognition_component = normalizeComponent(
18074
17557
  staticRenderFns,
18075
17558
  false,
18076
17559
  null,
18077
- "0c23a6db",
17560
+ "643faf61",
18078
17561
  null
18079
17562
 
18080
17563
  )