@genpact/genome.mfe.mgtwin-app 1.1.360-alpha → 1.1.362-alpha
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{AssessmentAMA-172ff730.mjs → AssessmentAMA-c72a697f.mjs} +4 -4
- package/dist/{AssessmentSimulation-a2d2dc5e.mjs → AssessmentSimulation-a6816823.mjs} +7 -7
- package/dist/{EditSkillAdminData-49c6c6af.mjs → EditSkillAdminData-477c131c.mjs} +2 -2
- package/dist/{EditSkillData-ebc2b643.mjs → EditSkillData-cf85a438.mjs} +2 -2
- package/dist/{HomeView-83e0b323.mjs → HomeView-63320d44.mjs} +5 -5
- package/dist/{Loading-1da03bc8.mjs → Loading-094aa256.mjs} +1 -1
- package/dist/{LoadingSimulation-37de85bc.mjs → LoadingSimulation-1dd1bd4f.mjs} +1 -1
- package/dist/{Modal-ec1d6fe9.mjs → Modal-8788fb2d.mjs} +1 -1
- package/dist/{PaperAirplaneIcon-bbe507b0.mjs → PaperAirplaneIcon-552f4292.mjs} +1 -1
- package/dist/{PromptTesting-687dc181.mjs → PromptTesting-3291bd5f.mjs} +3 -3
- package/dist/{SkillAutomation-10359b3e.mjs → SkillAutomation-bef6d0e4.mjs} +3 -3
- package/dist/{SkillData-82216a7d.mjs → SkillData-91306eba.mjs} +3 -3
- package/dist/{Testcase-a16ba1c6.mjs → Testcase-7a5cf0c2.mjs} +3 -3
- package/dist/{UnderMaintenance-b8f0ca29.mjs → UnderMaintenance-7f783cda.mjs} +1 -1
- package/dist/{VoiceTestcase-6f6a88a2.mjs → VoiceTestcase-2ce214c3.mjs} +3 -3
- package/dist/{XMarkIcon-e3dd1c9f.mjs → XMarkIcon-62d591f5.mjs} +1 -1
- package/dist/{api-91d1decc.mjs → api-08d546b0.mjs} +1 -1
- package/dist/{index.es-bf7c4e5d.mjs → index.es-e20953ef.mjs} +7 -7
- package/dist/{main-17eb0aa9.mjs → main-db7e2d02.mjs} +1212 -1212
- package/dist/mgtwin.es.min.js +1 -1
- package/dist/mgtwin.umd.min.js +41 -41
- package/dist/{voiceServices-a32e4e86.mjs → voiceServices-fad3e504.mjs} +870 -870
- package/package.json +1 -1
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
var
|
|
2
|
-
var
|
|
3
|
-
var ie = (t, e, r) => (
|
|
1
|
+
var nh = Object.defineProperty;
|
|
2
|
+
var ih = (t, e, r) => e in t ? nh(t, e, { enumerable: !0, configurable: !0, writable: !0, value: r }) : t[e] = r;
|
|
3
|
+
var ie = (t, e, r) => (ih(t, typeof e != "symbol" ? e + "" : e, r), r), Eo = (t, e, r) => {
|
|
4
4
|
if (!e.has(t))
|
|
5
5
|
throw TypeError("Cannot " + r);
|
|
6
6
|
};
|
|
@@ -9,20 +9,20 @@ var D = (t, e, r) => (Eo(t, e, "read from private field"), r ? r.call(t) : e.get
|
|
|
9
9
|
throw TypeError("Cannot add the same private member more than once");
|
|
10
10
|
e instanceof WeakSet ? e.add(t) : e.set(t, r);
|
|
11
11
|
}, jt = (t, e, r, i) => (Eo(t, e, "write to private field"), i ? i.call(t, r) : e.set(t, r), r);
|
|
12
|
-
import { r as De, k as
|
|
13
|
-
import { g as
|
|
14
|
-
import { c as N, a as
|
|
15
|
-
const
|
|
12
|
+
import { r as De, k as sp, u as op, C as ap, q as wn } from "./main-db7e2d02.mjs";
|
|
13
|
+
import { g as cp } from "./api-08d546b0.mjs";
|
|
14
|
+
import { c as N, a as sh } from "./_commonjsHelpers-92157f1b.mjs";
|
|
15
|
+
const lS = De(""), Io = sp(), ft = op(), _e = De(!1), oh = "Xb7hH8MSUJpSbSDYk0k2", ah = De("");
|
|
16
16
|
let Fn = [];
|
|
17
|
-
const
|
|
17
|
+
const pp = De(!1);
|
|
18
18
|
let yt = !1, ae = null, Ue = null, ge = null, dt, ht, Kn, At;
|
|
19
|
-
|
|
20
|
-
console.log("Mounted voiceService11Labs"), ft.authToken = await
|
|
19
|
+
ap(async () => {
|
|
20
|
+
console.log("Mounted voiceService11Labs"), ft.authToken = await up();
|
|
21
21
|
});
|
|
22
|
-
const
|
|
22
|
+
const up = async () => {
|
|
23
23
|
var t, e, r, i;
|
|
24
24
|
try {
|
|
25
|
-
const p = await
|
|
25
|
+
const p = await cp("/voiceTesting?ellevenLabs=true");
|
|
26
26
|
return console.log("response", (t = p == null ? void 0 : p.data) == null ? void 0 : t.token), (e = p == null ? void 0 : p.data) == null ? void 0 : e.token;
|
|
27
27
|
} catch (p) {
|
|
28
28
|
if (console.error(p), wn.isAxiosError(p)) {
|
|
@@ -31,29 +31,29 @@ const dp = async () => {
|
|
|
31
31
|
} else
|
|
32
32
|
Io.setError("There was an issue while fetching data");
|
|
33
33
|
}
|
|
34
|
-
},
|
|
34
|
+
}, ch = () => {
|
|
35
35
|
At && At.disconnect(), ht && ht.disconnect(), Kn && Kn.disconnect(), dt && dt.close(), ge && ge.state === "recording" && ge.stop(), Ue && (Ue.getTracks().forEach((t) => t.stop()), Ue = null), _e.value = !1;
|
|
36
|
-
},
|
|
36
|
+
}, ph = (t, e = 0.09) => {
|
|
37
37
|
console.log("monitorMicDuringTTS called with threshold:", e), dt = new (window.AudioContext || window.webkitAudioContext)(), ht = dt.createAnalyser(), Kn = dt.createMediaStreamSource(Ue), At = dt.createScriptProcessor(2048, 1, 1), Kn.connect(ht), ht.connect(At), At.connect(dt.destination), At.onaudioprocess = () => {
|
|
38
38
|
const r = new Uint8Array(ht.frequencyBinCount);
|
|
39
39
|
ht.getByteFrequencyData(r);
|
|
40
40
|
const i = r.reduce((p, a) => p + a) / r.length;
|
|
41
|
-
console.log("Average volume:", i), console.log("threshold * 100:", e * 100), i > e * 100 && (t(), console.log("onInterrupt", t),
|
|
41
|
+
console.log("Average volume:", i), console.log("threshold * 100:", e * 100), i > e * 100 && (t(), console.log("onInterrupt", t), ch());
|
|
42
42
|
};
|
|
43
43
|
}, To = async () => {
|
|
44
|
-
|
|
45
|
-
},
|
|
44
|
+
pp.value = !0, _e.value = !0, console.log("Starting voice recognition with ElevenLabs"), ae && ae.pause(), Ue = await navigator.mediaDevices.getUserMedia({ audio: !0 }), await dp();
|
|
45
|
+
}, dp = async () => {
|
|
46
46
|
if (!Ue)
|
|
47
47
|
throw new Error("micStream is null");
|
|
48
48
|
ge = new MediaRecorder(Ue), Fn = [], console.log("Starting beginListening with ElevenLabs"), ge.ondataavailable = (t) => {
|
|
49
49
|
ae && ae.pause(), t.data.size > 0 && Fn.push(t.data), console.log("Audio chunk available:", Fn);
|
|
50
50
|
}, ge.onstop = async () => {
|
|
51
|
-
const t = new Blob(Fn, { type: "audio/webm" }), e = await
|
|
52
|
-
|
|
53
|
-
}, ge.start(), ae && ae.pause(),
|
|
51
|
+
const t = new Blob(Fn, { type: "audio/webm" }), e = await uh(t);
|
|
52
|
+
ah.value = e, console.log("Transcription:", e), ft.userSpeechText = ft.userSpeechText + e, pp.value = !1, console.log("micEnabled before stop:", _e.value), _e.value && await dp();
|
|
53
|
+
}, ge.start(), ae && ae.pause(), dh(Ue, () => {
|
|
54
54
|
(ge == null ? void 0 : ge.state) === "recording" && ge.stop();
|
|
55
55
|
});
|
|
56
|
-
},
|
|
56
|
+
}, uh = async (t) => {
|
|
57
57
|
console.log("authToken 11labs", ft.authToken);
|
|
58
58
|
const e = new FormData();
|
|
59
59
|
e.append("file", t, "recording.webm"), e.append("model_id", "scribe_v1");
|
|
@@ -65,7 +65,7 @@ const dp = async () => {
|
|
|
65
65
|
body: e
|
|
66
66
|
}), i = await r.json();
|
|
67
67
|
return r.ok ? (i == null ? void 0 : i.text) || "[No transcription result]" : (console.error("Transcription error:", i), "[Error in transcription]");
|
|
68
|
-
},
|
|
68
|
+
}, dh = (t, e, r = 1500, i = 0.08) => {
|
|
69
69
|
const p = new (window.AudioContext || window.webkitAudioContext)(), a = p.createAnalyser(), s = p.createMediaStreamSource(t), n = p.createScriptProcessor(2048, 1, 1);
|
|
70
70
|
a.smoothingTimeConstant = 0.8, a.fftSize = 1024, s.connect(a), a.connect(n), n.connect(p.destination);
|
|
71
71
|
let o = performance.now();
|
|
@@ -73,9 +73,9 @@ const dp = async () => {
|
|
|
73
73
|
const c = new Uint8Array(a.frequencyBinCount);
|
|
74
74
|
a.getByteFrequencyData(c), c.reduce((d, h) => d + h) / c.length < i * 100 ? performance.now() - o > r && (e(), n.disconnect(), a.disconnect(), s.disconnect(), p.close()) : o = performance.now();
|
|
75
75
|
};
|
|
76
|
-
},
|
|
77
|
-
console.log("speakText11Labs called with text:", t), ft.authToken = await
|
|
78
|
-
const r = await (await fetch(`https://api.elevenlabs.io/v1/text-to-speech/${
|
|
76
|
+
}, vS = async (t) => {
|
|
77
|
+
console.log("speakText11Labs called with text:", t), ft.authToken = await up(), ae && ae.pause(), yt = !0;
|
|
78
|
+
const r = await (await fetch(`https://api.elevenlabs.io/v1/text-to-speech/${oh}`, {
|
|
79
79
|
method: "POST",
|
|
80
80
|
headers: {
|
|
81
81
|
"xi-api-key": ft.authToken,
|
|
@@ -94,7 +94,7 @@ const dp = async () => {
|
|
|
94
94
|
return ae = new Audio(i), new Promise((p) => {
|
|
95
95
|
ae && (ae.onended = async () => {
|
|
96
96
|
yt = !1, console.log("Audio is playing:", yt), _e.value ? (console.log("micEnabled before calling startrecognition:", _e.value), p(await To())) : p();
|
|
97
|
-
}, ae.play(), console.log("Audio is playing:", yt), console.log("micEnabled:", _e.value), _e.value &&
|
|
97
|
+
}, ae.play(), console.log("Audio is playing:", yt), console.log("micEnabled:", _e.value), _e.value && ph(() => {
|
|
98
98
|
ae && (ae.pause(), ae.currentTime = 0), yt = !1, console.log("monitorMicDuringTTS:", yt), console.log("micEnabled before calling startrecognition:", _e.value), To();
|
|
99
99
|
}));
|
|
100
100
|
});
|
|
@@ -103,12 +103,12 @@ var j;
|
|
|
103
103
|
(function(t) {
|
|
104
104
|
t.LOAD = "LOAD", t.EXEC = "EXEC", t.FFPROBE = "FFPROBE", t.WRITE_FILE = "WRITE_FILE", t.READ_FILE = "READ_FILE", t.DELETE_FILE = "DELETE_FILE", t.RENAME = "RENAME", t.CREATE_DIR = "CREATE_DIR", t.LIST_DIR = "LIST_DIR", t.DELETE_DIR = "DELETE_DIR", t.ERROR = "ERROR", t.DOWNLOAD = "DOWNLOAD", t.PROGRESS = "PROGRESS", t.LOG = "LOG", t.MOUNT = "MOUNT", t.UNMOUNT = "UNMOUNT";
|
|
105
105
|
})(j || (j = {}));
|
|
106
|
-
const
|
|
106
|
+
const hh = (() => {
|
|
107
107
|
let t = 0;
|
|
108
108
|
return () => t++;
|
|
109
|
-
})(),
|
|
109
|
+
})(), lh = new Error("ffmpeg is not loaded, call `await ffmpeg.load()` first"), vh = new Error("called FFmpeg.terminate()");
|
|
110
110
|
var de, Fe, we, lt, vt, Qn, oe;
|
|
111
|
-
class
|
|
111
|
+
class fh {
|
|
112
112
|
constructor() {
|
|
113
113
|
ze(this, de, null);
|
|
114
114
|
/**
|
|
@@ -159,11 +159,11 @@ class gh {
|
|
|
159
159
|
* Generic function to send messages to web worker.
|
|
160
160
|
*/
|
|
161
161
|
ze(this, oe, ({ type: e, data: r }, i = [], p) => D(this, de) ? new Promise((a, s) => {
|
|
162
|
-
const n =
|
|
162
|
+
const n = hh();
|
|
163
163
|
D(this, de) && D(this, de).postMessage({ id: n, type: e, data: r }, i), D(this, Fe)[n] = a, D(this, we)[n] = s, p == null || p.addEventListener("abort", () => {
|
|
164
164
|
s(new DOMException(`Message # ${n} was aborted`, "AbortError"));
|
|
165
165
|
}, { once: !0 });
|
|
166
|
-
}) : Promise.reject(
|
|
166
|
+
}) : Promise.reject(lh));
|
|
167
167
|
/**
|
|
168
168
|
* Loads ffmpeg-core inside web worker. It is required to call this method first
|
|
169
169
|
* as it initializes WebAssembly and other essential variables.
|
|
@@ -236,7 +236,7 @@ class gh {
|
|
|
236
236
|
ie(this, "terminate", () => {
|
|
237
237
|
const e = Object.keys(D(this, we));
|
|
238
238
|
for (const r of e)
|
|
239
|
-
D(this, we)[r](
|
|
239
|
+
D(this, we)[r](vh), delete D(this, we)[r], delete D(this, Fe)[r];
|
|
240
240
|
D(this, de) && (D(this, de).terminate(), jt(this, de, null), this.loaded = !1);
|
|
241
241
|
});
|
|
242
242
|
/**
|
|
@@ -347,7 +347,7 @@ var Ao;
|
|
|
347
347
|
(function(t) {
|
|
348
348
|
t.MEMFS = "MEMFS", t.NODEFS = "NODEFS", t.NODERAWFS = "NODERAWFS", t.IDBFS = "IDBFS", t.WORKERFS = "WORKERFS", t.PROXYFS = "PROXYFS";
|
|
349
349
|
})(Ao || (Ao = {}));
|
|
350
|
-
const
|
|
350
|
+
const gh = new Error("failed to get response body reader"), mh = new Error("failed to complete download"), Sh = "Content-Length", Ch = (t) => new Promise((e, r) => {
|
|
351
351
|
const i = new FileReader();
|
|
352
352
|
i.onload = () => {
|
|
353
353
|
const { result: p } = i;
|
|
@@ -356,32 +356,32 @@ const mh = new Error("failed to get response body reader"), Sh = new Error("fail
|
|
|
356
356
|
var a, s;
|
|
357
357
|
r(Error(`File could not be read! Code=${((s = (a = p == null ? void 0 : p.target) == null ? void 0 : a.error) == null ? void 0 : s.code) || -1}`));
|
|
358
358
|
}, i.readAsArrayBuffer(t);
|
|
359
|
-
}),
|
|
359
|
+
}), yh = async (t) => {
|
|
360
360
|
let e;
|
|
361
361
|
if (typeof t == "string")
|
|
362
362
|
/data:_data\/([a-zA-Z]*);base64,([^"]*)/.test(t) ? e = atob(t.split(",")[1]).split("").map((r) => r.charCodeAt(0)) : e = await (await fetch(t)).arrayBuffer();
|
|
363
363
|
else if (t instanceof URL)
|
|
364
364
|
e = await (await fetch(t)).arrayBuffer();
|
|
365
365
|
else if (t instanceof File || t instanceof Blob)
|
|
366
|
-
e = await
|
|
366
|
+
e = await Ch(t);
|
|
367
367
|
else
|
|
368
368
|
return new Uint8Array();
|
|
369
369
|
return new Uint8Array(e);
|
|
370
|
-
},
|
|
370
|
+
}, Rh = async (t, e) => {
|
|
371
371
|
var p;
|
|
372
372
|
const r = await fetch(t);
|
|
373
373
|
let i;
|
|
374
374
|
try {
|
|
375
|
-
const a = parseInt(r.headers.get(
|
|
375
|
+
const a = parseInt(r.headers.get(Sh) || "-1"), s = (p = r.body) == null ? void 0 : p.getReader();
|
|
376
376
|
if (!s)
|
|
377
|
-
throw
|
|
377
|
+
throw gh;
|
|
378
378
|
const n = [];
|
|
379
379
|
let o = 0;
|
|
380
380
|
for (; ; ) {
|
|
381
381
|
const { done: d, value: h } = await s.read(), l = h ? h.length : 0;
|
|
382
382
|
if (d) {
|
|
383
383
|
if (a != -1 && a !== o)
|
|
384
|
-
throw
|
|
384
|
+
throw mh;
|
|
385
385
|
e && e({ url: t, total: a, received: o, delta: l, done: d });
|
|
386
386
|
break;
|
|
387
387
|
}
|
|
@@ -403,80 +403,80 @@ const mh = new Error("failed to get response body reader"), Sh = new Error("fail
|
|
|
403
403
|
}
|
|
404
404
|
return i;
|
|
405
405
|
}, wo = async (t, e, r = !1, i) => {
|
|
406
|
-
const p = r ? await
|
|
406
|
+
const p = r ? await Rh(t, i) : await (await fetch(t)).arrayBuffer(), a = new Blob([p], { type: e });
|
|
407
407
|
return URL.createObjectURL(a);
|
|
408
408
|
};
|
|
409
|
-
var Re = {}, vs = {}, Xn = {}, fs = {}, F = {}, Dt = {}, fe = {},
|
|
409
|
+
var Re = {}, vs = {}, Xn = {}, fs = {}, F = {}, Dt = {}, fe = {}, hp = {}, Zn = {}, Yn = {};
|
|
410
410
|
Object.defineProperty(Yn, "__esModule", {
|
|
411
411
|
value: !0
|
|
412
412
|
});
|
|
413
|
-
Yn.default =
|
|
413
|
+
Yn.default = Eh;
|
|
414
414
|
let xn;
|
|
415
|
-
const
|
|
416
|
-
function
|
|
415
|
+
const Ph = new Uint8Array(16);
|
|
416
|
+
function Eh() {
|
|
417
417
|
if (!xn && (xn = typeof crypto < "u" && crypto.getRandomValues && crypto.getRandomValues.bind(crypto), !xn))
|
|
418
418
|
throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");
|
|
419
|
-
return xn(
|
|
419
|
+
return xn(Ph);
|
|
420
420
|
}
|
|
421
421
|
var $e = {}, mt = {}, ei = {};
|
|
422
422
|
Object.defineProperty(ei, "__esModule", {
|
|
423
423
|
value: !0
|
|
424
424
|
});
|
|
425
425
|
ei.default = void 0;
|
|
426
|
-
var
|
|
427
|
-
ei.default =
|
|
426
|
+
var Ih = /^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$/i;
|
|
427
|
+
ei.default = Ih;
|
|
428
428
|
Object.defineProperty(mt, "__esModule", {
|
|
429
429
|
value: !0
|
|
430
430
|
});
|
|
431
431
|
mt.default = void 0;
|
|
432
|
-
var
|
|
433
|
-
function
|
|
432
|
+
var Th = Ah(ei);
|
|
433
|
+
function Ah(t) {
|
|
434
434
|
return t && t.__esModule ? t : { default: t };
|
|
435
435
|
}
|
|
436
|
-
function
|
|
437
|
-
return typeof t == "string" &&
|
|
436
|
+
function wh(t) {
|
|
437
|
+
return typeof t == "string" && Th.default.test(t);
|
|
438
438
|
}
|
|
439
|
-
var
|
|
440
|
-
mt.default =
|
|
439
|
+
var _h = wh;
|
|
440
|
+
mt.default = _h;
|
|
441
441
|
Object.defineProperty($e, "__esModule", {
|
|
442
442
|
value: !0
|
|
443
443
|
});
|
|
444
444
|
$e.default = void 0;
|
|
445
|
-
$e.unsafeStringify =
|
|
446
|
-
var
|
|
447
|
-
function
|
|
445
|
+
$e.unsafeStringify = lp;
|
|
446
|
+
var bh = Mh(mt);
|
|
447
|
+
function Mh(t) {
|
|
448
448
|
return t && t.__esModule ? t : { default: t };
|
|
449
449
|
}
|
|
450
450
|
const H = [];
|
|
451
451
|
for (let t = 0; t < 256; ++t)
|
|
452
452
|
H.push((t + 256).toString(16).slice(1));
|
|
453
|
-
function
|
|
453
|
+
function lp(t, e = 0) {
|
|
454
454
|
return H[t[e + 0]] + H[t[e + 1]] + H[t[e + 2]] + H[t[e + 3]] + "-" + H[t[e + 4]] + H[t[e + 5]] + "-" + H[t[e + 6]] + H[t[e + 7]] + "-" + H[t[e + 8]] + H[t[e + 9]] + "-" + H[t[e + 10]] + H[t[e + 11]] + H[t[e + 12]] + H[t[e + 13]] + H[t[e + 14]] + H[t[e + 15]];
|
|
455
455
|
}
|
|
456
|
-
function
|
|
457
|
-
const r =
|
|
458
|
-
if (!(0,
|
|
456
|
+
function Oh(t, e = 0) {
|
|
457
|
+
const r = lp(t, e);
|
|
458
|
+
if (!(0, bh.default)(r))
|
|
459
459
|
throw TypeError("Stringified UUID is invalid");
|
|
460
460
|
return r;
|
|
461
461
|
}
|
|
462
|
-
var
|
|
463
|
-
$e.default =
|
|
462
|
+
var Dh = Oh;
|
|
463
|
+
$e.default = Dh;
|
|
464
464
|
Object.defineProperty(Zn, "__esModule", {
|
|
465
465
|
value: !0
|
|
466
466
|
});
|
|
467
467
|
Zn.default = void 0;
|
|
468
|
-
var
|
|
469
|
-
function
|
|
468
|
+
var kh = zh(Yn), Nh = $e;
|
|
469
|
+
function zh(t) {
|
|
470
470
|
return t && t.__esModule ? t : { default: t };
|
|
471
471
|
}
|
|
472
472
|
let _o, gs, ms = 0, Ss = 0;
|
|
473
|
-
function
|
|
473
|
+
function jh(t, e, r) {
|
|
474
474
|
let i = e && r || 0;
|
|
475
475
|
const p = e || new Array(16);
|
|
476
476
|
t = t || {};
|
|
477
477
|
let a = t.node || _o, s = t.clockseq !== void 0 ? t.clockseq : gs;
|
|
478
478
|
if (a == null || s == null) {
|
|
479
|
-
const h = t.random || (t.rng ||
|
|
479
|
+
const h = t.random || (t.rng || kh.default)();
|
|
480
480
|
a == null && (a = _o = [h[0] | 1, h[1], h[2], h[3], h[4], h[5]]), s == null && (s = gs = (h[6] << 8 | h[7]) & 16383);
|
|
481
481
|
}
|
|
482
482
|
let n = t.msecs !== void 0 ? t.msecs : Date.now(), o = t.nsecs !== void 0 ? t.nsecs : Ss + 1;
|
|
@@ -490,52 +490,52 @@ function Lh(t, e, r) {
|
|
|
490
490
|
p[i++] = d >>> 8 & 255, p[i++] = d & 255, p[i++] = d >>> 24 & 15 | 16, p[i++] = d >>> 16 & 255, p[i++] = s >>> 8 | 128, p[i++] = s & 255;
|
|
491
491
|
for (let h = 0; h < 6; ++h)
|
|
492
492
|
p[i + h] = a[h];
|
|
493
|
-
return e || (0,
|
|
493
|
+
return e || (0, Nh.unsafeStringify)(p);
|
|
494
494
|
}
|
|
495
|
-
var
|
|
496
|
-
Zn.default =
|
|
495
|
+
var Lh = jh;
|
|
496
|
+
Zn.default = Lh;
|
|
497
497
|
var ti = {}, Ve = {}, _n = {};
|
|
498
498
|
Object.defineProperty(_n, "__esModule", {
|
|
499
499
|
value: !0
|
|
500
500
|
});
|
|
501
501
|
_n.default = void 0;
|
|
502
|
-
var
|
|
503
|
-
function
|
|
502
|
+
var Bh = qh(mt);
|
|
503
|
+
function qh(t) {
|
|
504
504
|
return t && t.__esModule ? t : { default: t };
|
|
505
505
|
}
|
|
506
|
-
function
|
|
507
|
-
if (!(0,
|
|
506
|
+
function Fh(t) {
|
|
507
|
+
if (!(0, Bh.default)(t))
|
|
508
508
|
throw TypeError("Invalid UUID");
|
|
509
509
|
let e;
|
|
510
510
|
const r = new Uint8Array(16);
|
|
511
511
|
return r[0] = (e = parseInt(t.slice(0, 8), 16)) >>> 24, r[1] = e >>> 16 & 255, r[2] = e >>> 8 & 255, r[3] = e & 255, r[4] = (e = parseInt(t.slice(9, 13), 16)) >>> 8, r[5] = e & 255, r[6] = (e = parseInt(t.slice(14, 18), 16)) >>> 8, r[7] = e & 255, r[8] = (e = parseInt(t.slice(19, 23), 16)) >>> 8, r[9] = e & 255, r[10] = (e = parseInt(t.slice(24, 36), 16)) / 1099511627776 & 255, r[11] = e / 4294967296 & 255, r[12] = e >>> 24 & 255, r[13] = e >>> 16 & 255, r[14] = e >>> 8 & 255, r[15] = e & 255, r;
|
|
512
512
|
}
|
|
513
|
-
var
|
|
514
|
-
_n.default =
|
|
513
|
+
var xh = Fh;
|
|
514
|
+
_n.default = xh;
|
|
515
515
|
Object.defineProperty(Ve, "__esModule", {
|
|
516
516
|
value: !0
|
|
517
517
|
});
|
|
518
518
|
Ve.URL = Ve.DNS = void 0;
|
|
519
|
-
Ve.default =
|
|
520
|
-
var
|
|
521
|
-
function
|
|
519
|
+
Ve.default = $h;
|
|
520
|
+
var Uh = $e, Wh = Vh(_n);
|
|
521
|
+
function Vh(t) {
|
|
522
522
|
return t && t.__esModule ? t : { default: t };
|
|
523
523
|
}
|
|
524
|
-
function
|
|
524
|
+
function Hh(t) {
|
|
525
525
|
t = unescape(encodeURIComponent(t));
|
|
526
526
|
const e = [];
|
|
527
527
|
for (let r = 0; r < t.length; ++r)
|
|
528
528
|
e.push(t.charCodeAt(r));
|
|
529
529
|
return e;
|
|
530
530
|
}
|
|
531
|
-
const
|
|
532
|
-
Ve.DNS =
|
|
533
|
-
const
|
|
534
|
-
Ve.URL =
|
|
535
|
-
function
|
|
531
|
+
const vp = "6ba7b810-9dad-11d1-80b4-00c04fd430c8";
|
|
532
|
+
Ve.DNS = vp;
|
|
533
|
+
const fp = "6ba7b811-9dad-11d1-80b4-00c04fd430c8";
|
|
534
|
+
Ve.URL = fp;
|
|
535
|
+
function $h(t, e, r) {
|
|
536
536
|
function i(p, a, s, n) {
|
|
537
537
|
var o;
|
|
538
|
-
if (typeof p == "string" && (p =
|
|
538
|
+
if (typeof p == "string" && (p = Hh(p)), typeof a == "string" && (a = (0, Wh.default)(a)), ((o = a) === null || o === void 0 ? void 0 : o.length) !== 16)
|
|
539
539
|
throw TypeError("Namespace must be array-like (16 iterable integer values, 0-255)");
|
|
540
540
|
let c = new Uint8Array(16 + p.length);
|
|
541
541
|
if (c.set(a), c.set(p, a.length), c = r(c), c[6] = c[6] & 15 | e, c[8] = c[8] & 63 | 128, s) {
|
|
@@ -544,29 +544,29 @@ function Kh(t, e, r) {
|
|
|
544
544
|
s[n + u] = c[u];
|
|
545
545
|
return s;
|
|
546
546
|
}
|
|
547
|
-
return (0,
|
|
547
|
+
return (0, Uh.unsafeStringify)(c);
|
|
548
548
|
}
|
|
549
549
|
try {
|
|
550
550
|
i.name = t;
|
|
551
551
|
} catch {
|
|
552
552
|
}
|
|
553
|
-
return i.DNS =
|
|
553
|
+
return i.DNS = vp, i.URL = fp, i;
|
|
554
554
|
}
|
|
555
555
|
var ri = {};
|
|
556
556
|
Object.defineProperty(ri, "__esModule", {
|
|
557
557
|
value: !0
|
|
558
558
|
});
|
|
559
559
|
ri.default = void 0;
|
|
560
|
-
function
|
|
560
|
+
function Kh(t) {
|
|
561
561
|
if (typeof t == "string") {
|
|
562
562
|
const e = unescape(encodeURIComponent(t));
|
|
563
563
|
t = new Uint8Array(e.length);
|
|
564
564
|
for (let r = 0; r < e.length; ++r)
|
|
565
565
|
t[r] = e.charCodeAt(r);
|
|
566
566
|
}
|
|
567
|
-
return Gh(Qh(
|
|
567
|
+
return Jh(Gh(Qh(t), t.length * 8));
|
|
568
568
|
}
|
|
569
|
-
function
|
|
569
|
+
function Jh(t) {
|
|
570
570
|
const e = [], r = t.length * 32, i = "0123456789abcdef";
|
|
571
571
|
for (let p = 0; p < r; p += 8) {
|
|
572
572
|
const a = t[p >> 5] >>> p % 32 & 255, s = parseInt(i.charAt(a >>> 4 & 15) + i.charAt(a & 15), 16);
|
|
@@ -574,11 +574,11 @@ function Gh(t) {
|
|
|
574
574
|
}
|
|
575
575
|
return e;
|
|
576
576
|
}
|
|
577
|
-
function
|
|
577
|
+
function gp(t) {
|
|
578
578
|
return (t + 64 >>> 9 << 4) + 14 + 1;
|
|
579
579
|
}
|
|
580
|
-
function
|
|
581
|
-
t[e >> 5] |= 128 << e % 32, t[
|
|
580
|
+
function Gh(t, e) {
|
|
581
|
+
t[e >> 5] |= 128 << e % 32, t[gp(e) - 1] = e;
|
|
582
582
|
let r = 1732584193, i = -271733879, p = -1732584194, a = 271733878;
|
|
583
583
|
for (let s = 0; s < t.length; s += 16) {
|
|
584
584
|
const n = r, o = i, c = p, u = a;
|
|
@@ -586,10 +586,10 @@ function Qh(t, e) {
|
|
|
586
586
|
}
|
|
587
587
|
return [r, i, p, a];
|
|
588
588
|
}
|
|
589
|
-
function
|
|
589
|
+
function Qh(t) {
|
|
590
590
|
if (t.length === 0)
|
|
591
591
|
return [];
|
|
592
|
-
const e = t.length * 8, r = new Uint32Array(
|
|
592
|
+
const e = t.length * 8, r = new Uint32Array(gp(e));
|
|
593
593
|
for (let i = 0; i < e; i += 8)
|
|
594
594
|
r[i >> 5] |= (t[i / 8] & 255) << i % 32;
|
|
595
595
|
return r;
|
|
@@ -598,11 +598,11 @@ function xe(t, e) {
|
|
|
598
598
|
const r = (t & 65535) + (e & 65535);
|
|
599
599
|
return (t >> 16) + (e >> 16) + (r >> 16) << 16 | r & 65535;
|
|
600
600
|
}
|
|
601
|
-
function
|
|
601
|
+
function Xh(t, e) {
|
|
602
602
|
return t << e | t >>> 32 - e;
|
|
603
603
|
}
|
|
604
604
|
function ni(t, e, r, i, p, a) {
|
|
605
|
-
return xe(
|
|
605
|
+
return xe(Xh(xe(xe(e, t), xe(i, a)), p), r);
|
|
606
606
|
}
|
|
607
607
|
function X(t, e, r, i, p, a, s) {
|
|
608
608
|
return ni(e & r | ~e & i, t, e, p, a, s);
|
|
@@ -616,58 +616,58 @@ function Y(t, e, r, i, p, a, s) {
|
|
|
616
616
|
function ee(t, e, r, i, p, a, s) {
|
|
617
617
|
return ni(r ^ (e | ~i), t, e, p, a, s);
|
|
618
618
|
}
|
|
619
|
-
var
|
|
620
|
-
ri.default =
|
|
619
|
+
var Zh = Kh;
|
|
620
|
+
ri.default = Zh;
|
|
621
621
|
Object.defineProperty(ti, "__esModule", {
|
|
622
622
|
value: !0
|
|
623
623
|
});
|
|
624
624
|
ti.default = void 0;
|
|
625
|
-
var
|
|
626
|
-
function
|
|
625
|
+
var Yh = mp(Ve), el = mp(ri);
|
|
626
|
+
function mp(t) {
|
|
627
627
|
return t && t.__esModule ? t : { default: t };
|
|
628
628
|
}
|
|
629
|
-
const
|
|
630
|
-
var
|
|
631
|
-
ti.default =
|
|
629
|
+
const tl = (0, Yh.default)("v3", 48, el.default);
|
|
630
|
+
var rl = tl;
|
|
631
|
+
ti.default = rl;
|
|
632
632
|
var ii = {}, si = {};
|
|
633
633
|
Object.defineProperty(si, "__esModule", {
|
|
634
634
|
value: !0
|
|
635
635
|
});
|
|
636
636
|
si.default = void 0;
|
|
637
|
-
const
|
|
638
|
-
var
|
|
639
|
-
randomUUID:
|
|
637
|
+
const nl = typeof crypto < "u" && crypto.randomUUID && crypto.randomUUID.bind(crypto);
|
|
638
|
+
var il = {
|
|
639
|
+
randomUUID: nl
|
|
640
640
|
};
|
|
641
|
-
si.default =
|
|
641
|
+
si.default = il;
|
|
642
642
|
Object.defineProperty(ii, "__esModule", {
|
|
643
643
|
value: !0
|
|
644
644
|
});
|
|
645
645
|
ii.default = void 0;
|
|
646
|
-
var bo =
|
|
647
|
-
function
|
|
646
|
+
var bo = Sp(si), sl = Sp(Yn), ol = $e;
|
|
647
|
+
function Sp(t) {
|
|
648
648
|
return t && t.__esModule ? t : { default: t };
|
|
649
649
|
}
|
|
650
|
-
function
|
|
650
|
+
function al(t, e, r) {
|
|
651
651
|
if (bo.default.randomUUID && !e && !t)
|
|
652
652
|
return bo.default.randomUUID();
|
|
653
653
|
t = t || {};
|
|
654
|
-
const i = t.random || (t.rng ||
|
|
654
|
+
const i = t.random || (t.rng || sl.default)();
|
|
655
655
|
if (i[6] = i[6] & 15 | 64, i[8] = i[8] & 63 | 128, e) {
|
|
656
656
|
r = r || 0;
|
|
657
657
|
for (let p = 0; p < 16; ++p)
|
|
658
658
|
e[r + p] = i[p];
|
|
659
659
|
return e;
|
|
660
660
|
}
|
|
661
|
-
return (0,
|
|
661
|
+
return (0, ol.unsafeStringify)(i);
|
|
662
662
|
}
|
|
663
|
-
var
|
|
664
|
-
ii.default =
|
|
663
|
+
var cl = al;
|
|
664
|
+
ii.default = cl;
|
|
665
665
|
var oi = {}, ai = {};
|
|
666
666
|
Object.defineProperty(ai, "__esModule", {
|
|
667
667
|
value: !0
|
|
668
668
|
});
|
|
669
669
|
ai.default = void 0;
|
|
670
|
-
function
|
|
670
|
+
function pl(t, e, r, i) {
|
|
671
671
|
switch (t) {
|
|
672
672
|
case 0:
|
|
673
673
|
return e & r ^ ~e & i;
|
|
@@ -682,7 +682,7 @@ function ul(t, e, r, i) {
|
|
|
682
682
|
function Cs(t, e) {
|
|
683
683
|
return t << e | t >>> 32 - e;
|
|
684
684
|
}
|
|
685
|
-
function
|
|
685
|
+
function ul(t) {
|
|
686
686
|
const e = [1518500249, 1859775393, 2400959708, 3395469782], r = [1732584193, 4023233417, 2562383102, 271733878, 3285377520];
|
|
687
687
|
if (typeof t == "string") {
|
|
688
688
|
const s = unescape(encodeURIComponent(t));
|
|
@@ -708,49 +708,49 @@ function dl(t) {
|
|
|
708
708
|
n[l] = Cs(n[l - 3] ^ n[l - 8] ^ n[l - 14] ^ n[l - 16], 1);
|
|
709
709
|
let o = r[0], c = r[1], u = r[2], d = r[3], h = r[4];
|
|
710
710
|
for (let l = 0; l < 80; ++l) {
|
|
711
|
-
const f = Math.floor(l / 20), g = Cs(o, 5) +
|
|
711
|
+
const f = Math.floor(l / 20), g = Cs(o, 5) + pl(f, c, u, d) + h + e[f] + n[l] >>> 0;
|
|
712
712
|
h = d, d = u, u = Cs(c, 30) >>> 0, c = o, o = g;
|
|
713
713
|
}
|
|
714
714
|
r[0] = r[0] + o >>> 0, r[1] = r[1] + c >>> 0, r[2] = r[2] + u >>> 0, r[3] = r[3] + d >>> 0, r[4] = r[4] + h >>> 0;
|
|
715
715
|
}
|
|
716
716
|
return [r[0] >> 24 & 255, r[0] >> 16 & 255, r[0] >> 8 & 255, r[0] & 255, r[1] >> 24 & 255, r[1] >> 16 & 255, r[1] >> 8 & 255, r[1] & 255, r[2] >> 24 & 255, r[2] >> 16 & 255, r[2] >> 8 & 255, r[2] & 255, r[3] >> 24 & 255, r[3] >> 16 & 255, r[3] >> 8 & 255, r[3] & 255, r[4] >> 24 & 255, r[4] >> 16 & 255, r[4] >> 8 & 255, r[4] & 255];
|
|
717
717
|
}
|
|
718
|
-
var
|
|
719
|
-
ai.default =
|
|
718
|
+
var dl = ul;
|
|
719
|
+
ai.default = dl;
|
|
720
720
|
Object.defineProperty(oi, "__esModule", {
|
|
721
721
|
value: !0
|
|
722
722
|
});
|
|
723
723
|
oi.default = void 0;
|
|
724
|
-
var
|
|
725
|
-
function
|
|
724
|
+
var hl = Cp(Ve), ll = Cp(ai);
|
|
725
|
+
function Cp(t) {
|
|
726
726
|
return t && t.__esModule ? t : { default: t };
|
|
727
727
|
}
|
|
728
|
-
const
|
|
729
|
-
var
|
|
730
|
-
oi.default =
|
|
728
|
+
const vl = (0, hl.default)("v5", 80, ll.default);
|
|
729
|
+
var fl = vl;
|
|
730
|
+
oi.default = fl;
|
|
731
731
|
var ci = {};
|
|
732
732
|
Object.defineProperty(ci, "__esModule", {
|
|
733
733
|
value: !0
|
|
734
734
|
});
|
|
735
735
|
ci.default = void 0;
|
|
736
|
-
var
|
|
737
|
-
ci.default =
|
|
736
|
+
var gl = "00000000-0000-0000-0000-000000000000";
|
|
737
|
+
ci.default = gl;
|
|
738
738
|
var pi = {};
|
|
739
739
|
Object.defineProperty(pi, "__esModule", {
|
|
740
740
|
value: !0
|
|
741
741
|
});
|
|
742
742
|
pi.default = void 0;
|
|
743
|
-
var
|
|
744
|
-
function
|
|
743
|
+
var ml = Sl(mt);
|
|
744
|
+
function Sl(t) {
|
|
745
745
|
return t && t.__esModule ? t : { default: t };
|
|
746
746
|
}
|
|
747
|
-
function
|
|
748
|
-
if (!(0,
|
|
747
|
+
function Cl(t) {
|
|
748
|
+
if (!(0, ml.default)(t))
|
|
749
749
|
throw TypeError("Invalid UUID");
|
|
750
750
|
return parseInt(t.slice(14, 15), 16);
|
|
751
751
|
}
|
|
752
|
-
var
|
|
753
|
-
pi.default =
|
|
752
|
+
var yl = Cl;
|
|
753
|
+
pi.default = yl;
|
|
754
754
|
(function(t) {
|
|
755
755
|
Object.defineProperty(t, "__esModule", {
|
|
756
756
|
value: !0
|
|
@@ -804,13 +804,13 @@ pi.default = Rl;
|
|
|
804
804
|
function u(d) {
|
|
805
805
|
return d && d.__esModule ? d : { default: d };
|
|
806
806
|
}
|
|
807
|
-
})(
|
|
807
|
+
})(hp);
|
|
808
808
|
Object.defineProperty(fe, "__esModule", { value: !0 });
|
|
809
809
|
fe.createNoDashGuid = fe.createGuid = void 0;
|
|
810
|
-
const
|
|
811
|
-
fe.createGuid =
|
|
812
|
-
const
|
|
813
|
-
fe.createNoDashGuid =
|
|
810
|
+
const Rl = hp, yp = () => (0, Rl.v4)();
|
|
811
|
+
fe.createGuid = yp;
|
|
812
|
+
const Pl = () => yp().replace(new RegExp("-", "g"), "").toUpperCase();
|
|
813
|
+
fe.createNoDashGuid = Pl;
|
|
814
814
|
(function(t) {
|
|
815
815
|
Object.defineProperty(t, "__esModule", { value: !0 }), t.PlatformEvent = t.EventType = void 0;
|
|
816
816
|
const e = fe;
|
|
@@ -851,25 +851,25 @@ class kt extends js.PlatformEvent {
|
|
|
851
851
|
}
|
|
852
852
|
}
|
|
853
853
|
F.AudioSourceEvent = kt;
|
|
854
|
-
class
|
|
854
|
+
class El extends kt {
|
|
855
855
|
constructor(e) {
|
|
856
856
|
super("AudioSourceInitializingEvent", e);
|
|
857
857
|
}
|
|
858
858
|
}
|
|
859
|
-
F.AudioSourceInitializingEvent =
|
|
860
|
-
class
|
|
859
|
+
F.AudioSourceInitializingEvent = El;
|
|
860
|
+
class Il extends kt {
|
|
861
861
|
constructor(e) {
|
|
862
862
|
super("AudioSourceReadyEvent", e);
|
|
863
863
|
}
|
|
864
864
|
}
|
|
865
|
-
F.AudioSourceReadyEvent =
|
|
866
|
-
class
|
|
865
|
+
F.AudioSourceReadyEvent = Il;
|
|
866
|
+
class Tl extends kt {
|
|
867
867
|
constructor(e) {
|
|
868
868
|
super("AudioSourceOffEvent", e);
|
|
869
869
|
}
|
|
870
870
|
}
|
|
871
|
-
F.AudioSourceOffEvent =
|
|
872
|
-
class
|
|
871
|
+
F.AudioSourceOffEvent = Tl;
|
|
872
|
+
class Al extends kt {
|
|
873
873
|
constructor(e, r) {
|
|
874
874
|
super("AudioSourceErrorEvent", e, js.EventType.Error), this.privError = r;
|
|
875
875
|
}
|
|
@@ -877,7 +877,7 @@ class wl extends kt {
|
|
|
877
877
|
return this.privError;
|
|
878
878
|
}
|
|
879
879
|
}
|
|
880
|
-
F.AudioSourceErrorEvent =
|
|
880
|
+
F.AudioSourceErrorEvent = Al;
|
|
881
881
|
class bn extends kt {
|
|
882
882
|
constructor(e, r, i) {
|
|
883
883
|
super(e, r), this.privAudioNodeId = i;
|
|
@@ -887,25 +887,25 @@ class bn extends kt {
|
|
|
887
887
|
}
|
|
888
888
|
}
|
|
889
889
|
F.AudioStreamNodeEvent = bn;
|
|
890
|
-
class
|
|
890
|
+
class wl extends bn {
|
|
891
891
|
constructor(e, r) {
|
|
892
892
|
super("AudioStreamNodeAttachingEvent", e, r);
|
|
893
893
|
}
|
|
894
894
|
}
|
|
895
|
-
F.AudioStreamNodeAttachingEvent =
|
|
896
|
-
class
|
|
895
|
+
F.AudioStreamNodeAttachingEvent = wl;
|
|
896
|
+
class _l extends bn {
|
|
897
897
|
constructor(e, r) {
|
|
898
898
|
super("AudioStreamNodeAttachedEvent", e, r);
|
|
899
899
|
}
|
|
900
900
|
}
|
|
901
|
-
F.AudioStreamNodeAttachedEvent =
|
|
902
|
-
class
|
|
901
|
+
F.AudioStreamNodeAttachedEvent = _l;
|
|
902
|
+
class bl extends bn {
|
|
903
903
|
constructor(e, r) {
|
|
904
904
|
super("AudioStreamNodeDetachedEvent", e, r);
|
|
905
905
|
}
|
|
906
906
|
}
|
|
907
|
-
F.AudioStreamNodeDetachedEvent =
|
|
908
|
-
class
|
|
907
|
+
F.AudioStreamNodeDetachedEvent = bl;
|
|
908
|
+
class Ml extends bn {
|
|
909
909
|
constructor(e, r, i) {
|
|
910
910
|
super("AudioStreamNodeErrorEvent", e, r), this.privError = i;
|
|
911
911
|
}
|
|
@@ -913,12 +913,12 @@ class Ol extends bn {
|
|
|
913
913
|
return this.privError;
|
|
914
914
|
}
|
|
915
915
|
}
|
|
916
|
-
F.AudioStreamNodeErrorEvent =
|
|
916
|
+
F.AudioStreamNodeErrorEvent = Ml;
|
|
917
917
|
var x = {};
|
|
918
918
|
Object.defineProperty(x, "__esModule", { value: !0 });
|
|
919
919
|
x.ConnectionRedirectEvent = x.ConnectionMessageSentEvent = x.ConnectionMessageReceivedEvent = x.ConnectionEstablishErrorEvent = x.ConnectionErrorEvent = x.ConnectionClosedEvent = x.ConnectionEstablishedEvent = x.ConnectionStartEvent = x.ConnectionEvent = x.ServiceEvent = void 0;
|
|
920
920
|
const He = Dt;
|
|
921
|
-
class
|
|
921
|
+
class Ol extends He.PlatformEvent {
|
|
922
922
|
constructor(e, r, i = He.EventType.Info) {
|
|
923
923
|
super(e, i), this.privJsonResult = r;
|
|
924
924
|
}
|
|
@@ -926,7 +926,7 @@ class Dl extends He.PlatformEvent {
|
|
|
926
926
|
return this.privJsonResult;
|
|
927
927
|
}
|
|
928
928
|
}
|
|
929
|
-
x.ServiceEvent =
|
|
929
|
+
x.ServiceEvent = Ol;
|
|
930
930
|
class ke extends He.PlatformEvent {
|
|
931
931
|
constructor(e, r, i = He.EventType.Info) {
|
|
932
932
|
super(e, i), this.privConnectionId = r;
|
|
@@ -936,7 +936,7 @@ class ke extends He.PlatformEvent {
|
|
|
936
936
|
}
|
|
937
937
|
}
|
|
938
938
|
x.ConnectionEvent = ke;
|
|
939
|
-
class
|
|
939
|
+
class Dl extends ke {
|
|
940
940
|
constructor(e, r, i) {
|
|
941
941
|
super("ConnectionStartEvent", e), this.privUri = r, this.privHeaders = i;
|
|
942
942
|
}
|
|
@@ -947,14 +947,14 @@ class kl extends ke {
|
|
|
947
947
|
return this.privHeaders;
|
|
948
948
|
}
|
|
949
949
|
}
|
|
950
|
-
x.ConnectionStartEvent =
|
|
951
|
-
class
|
|
950
|
+
x.ConnectionStartEvent = Dl;
|
|
951
|
+
class kl extends ke {
|
|
952
952
|
constructor(e) {
|
|
953
953
|
super("ConnectionEstablishedEvent", e);
|
|
954
954
|
}
|
|
955
955
|
}
|
|
956
|
-
x.ConnectionEstablishedEvent =
|
|
957
|
-
class
|
|
956
|
+
x.ConnectionEstablishedEvent = kl;
|
|
957
|
+
class Nl extends ke {
|
|
958
958
|
constructor(e, r, i) {
|
|
959
959
|
super("ConnectionClosedEvent", e, He.EventType.Debug), this.privReason = i, this.privStatusCode = r;
|
|
960
960
|
}
|
|
@@ -965,8 +965,8 @@ class zl extends ke {
|
|
|
965
965
|
return this.privStatusCode;
|
|
966
966
|
}
|
|
967
967
|
}
|
|
968
|
-
x.ConnectionClosedEvent =
|
|
969
|
-
class
|
|
968
|
+
x.ConnectionClosedEvent = Nl;
|
|
969
|
+
class zl extends ke {
|
|
970
970
|
constructor(e, r, i) {
|
|
971
971
|
super("ConnectionErrorEvent", e, He.EventType.Debug), this.privMessage = r, this.privType = i;
|
|
972
972
|
}
|
|
@@ -977,8 +977,8 @@ class jl extends ke {
|
|
|
977
977
|
return this.privType;
|
|
978
978
|
}
|
|
979
979
|
}
|
|
980
|
-
x.ConnectionErrorEvent =
|
|
981
|
-
class
|
|
980
|
+
x.ConnectionErrorEvent = zl;
|
|
981
|
+
class jl extends ke {
|
|
982
982
|
constructor(e, r, i) {
|
|
983
983
|
super("ConnectionEstablishErrorEvent", e, He.EventType.Error), this.privStatusCode = r, this.privReason = i;
|
|
984
984
|
}
|
|
@@ -989,8 +989,8 @@ class Ll extends ke {
|
|
|
989
989
|
return this.privStatusCode;
|
|
990
990
|
}
|
|
991
991
|
}
|
|
992
|
-
x.ConnectionEstablishErrorEvent =
|
|
993
|
-
class
|
|
992
|
+
x.ConnectionEstablishErrorEvent = jl;
|
|
993
|
+
class Ll extends ke {
|
|
994
994
|
constructor(e, r, i) {
|
|
995
995
|
super("ConnectionMessageReceivedEvent", e), this.privNetworkReceivedTime = r, this.privMessage = i;
|
|
996
996
|
}
|
|
@@ -1001,8 +1001,8 @@ class Bl extends ke {
|
|
|
1001
1001
|
return this.privMessage;
|
|
1002
1002
|
}
|
|
1003
1003
|
}
|
|
1004
|
-
x.ConnectionMessageReceivedEvent =
|
|
1005
|
-
class
|
|
1004
|
+
x.ConnectionMessageReceivedEvent = Ll;
|
|
1005
|
+
class Bl extends ke {
|
|
1006
1006
|
constructor(e, r, i) {
|
|
1007
1007
|
super("ConnectionMessageSentEvent", e), this.privNetworkSentTime = r, this.privMessage = i;
|
|
1008
1008
|
}
|
|
@@ -1013,8 +1013,8 @@ class ql extends ke {
|
|
|
1013
1013
|
return this.privMessage;
|
|
1014
1014
|
}
|
|
1015
1015
|
}
|
|
1016
|
-
x.ConnectionMessageSentEvent =
|
|
1017
|
-
class
|
|
1016
|
+
x.ConnectionMessageSentEvent = Bl;
|
|
1017
|
+
class ql extends ke {
|
|
1018
1018
|
constructor(e, r, i, p) {
|
|
1019
1019
|
super("ConnectionRedirectEvent", e, He.EventType.Info), this.privRedirectUrl = r, this.privOriginalUrl = i, this.privContext = p;
|
|
1020
1020
|
}
|
|
@@ -1028,11 +1028,11 @@ class Fl extends ke {
|
|
|
1028
1028
|
return this.privContext;
|
|
1029
1029
|
}
|
|
1030
1030
|
}
|
|
1031
|
-
x.ConnectionRedirectEvent =
|
|
1031
|
+
x.ConnectionRedirectEvent = ql;
|
|
1032
1032
|
var Vs = {}, J = {};
|
|
1033
1033
|
Object.defineProperty(J, "__esModule", { value: !0 });
|
|
1034
1034
|
J.ObjectDisposedError = J.InvalidOperationError = J.ArgumentNullError = void 0;
|
|
1035
|
-
class
|
|
1035
|
+
class Fl extends Error {
|
|
1036
1036
|
/**
|
|
1037
1037
|
* Creates an instance of ArgumentNullError.
|
|
1038
1038
|
*
|
|
@@ -1044,8 +1044,8 @@ class xl extends Error {
|
|
|
1044
1044
|
super(e), this.name = "ArgumentNull", this.message = e;
|
|
1045
1045
|
}
|
|
1046
1046
|
}
|
|
1047
|
-
J.ArgumentNullError =
|
|
1048
|
-
class
|
|
1047
|
+
J.ArgumentNullError = Fl;
|
|
1048
|
+
class xl extends Error {
|
|
1049
1049
|
/**
|
|
1050
1050
|
* Creates an instance of InvalidOperationError.
|
|
1051
1051
|
*
|
|
@@ -1057,8 +1057,8 @@ class Ul extends Error {
|
|
|
1057
1057
|
super(e), this.name = "InvalidOperation", this.message = e;
|
|
1058
1058
|
}
|
|
1059
1059
|
}
|
|
1060
|
-
J.InvalidOperationError =
|
|
1061
|
-
class
|
|
1060
|
+
J.InvalidOperationError = xl;
|
|
1061
|
+
class Ul extends Error {
|
|
1062
1062
|
/**
|
|
1063
1063
|
* Creates an instance of ObjectDisposedError.
|
|
1064
1064
|
*
|
|
@@ -1071,7 +1071,7 @@ class Wl extends Error {
|
|
|
1071
1071
|
super(r), this.name = e + "ObjectDisposed", this.message = r;
|
|
1072
1072
|
}
|
|
1073
1073
|
}
|
|
1074
|
-
J.ObjectDisposedError =
|
|
1074
|
+
J.ObjectDisposedError = Ul;
|
|
1075
1075
|
(function(t) {
|
|
1076
1076
|
Object.defineProperty(t, "__esModule", { value: !0 }), t.ConnectionMessage = t.MessageType = void 0;
|
|
1077
1077
|
const e = J, r = fe;
|
|
@@ -1121,7 +1121,7 @@ J.ObjectDisposedError = Wl;
|
|
|
1121
1121
|
var ui = {};
|
|
1122
1122
|
Object.defineProperty(ui, "__esModule", { value: !0 });
|
|
1123
1123
|
ui.ConnectionOpenResponse = void 0;
|
|
1124
|
-
class
|
|
1124
|
+
class Wl {
|
|
1125
1125
|
constructor(e, r) {
|
|
1126
1126
|
this.privStatusCode = e, this.privReason = r;
|
|
1127
1127
|
}
|
|
@@ -1132,11 +1132,11 @@ class Vl {
|
|
|
1132
1132
|
return this.privReason;
|
|
1133
1133
|
}
|
|
1134
1134
|
}
|
|
1135
|
-
ui.ConnectionOpenResponse =
|
|
1135
|
+
ui.ConnectionOpenResponse = Wl;
|
|
1136
1136
|
var di = {};
|
|
1137
1137
|
Object.defineProperty(di, "__esModule", { value: !0 });
|
|
1138
1138
|
di.DeferralMap = void 0;
|
|
1139
|
-
class
|
|
1139
|
+
class Vl {
|
|
1140
1140
|
constructor() {
|
|
1141
1141
|
this.privMap = {};
|
|
1142
1142
|
}
|
|
@@ -1156,18 +1156,18 @@ class Hl {
|
|
|
1156
1156
|
}
|
|
1157
1157
|
}
|
|
1158
1158
|
}
|
|
1159
|
-
di.DeferralMap =
|
|
1159
|
+
di.DeferralMap = Vl;
|
|
1160
1160
|
var gt = {};
|
|
1161
1161
|
Object.defineProperty(gt, "__esModule", { value: !0 });
|
|
1162
1162
|
gt.SendingAgentContextMessageEvent = gt.DialogEvent = void 0;
|
|
1163
1163
|
const Mo = Dt;
|
|
1164
|
-
class
|
|
1164
|
+
class Rp extends Mo.PlatformEvent {
|
|
1165
1165
|
constructor(e, r = Mo.EventType.Info) {
|
|
1166
1166
|
super(e, r);
|
|
1167
1167
|
}
|
|
1168
1168
|
}
|
|
1169
|
-
gt.DialogEvent =
|
|
1170
|
-
class
|
|
1169
|
+
gt.DialogEvent = Rp;
|
|
1170
|
+
class Hl extends Rp {
|
|
1171
1171
|
constructor(e) {
|
|
1172
1172
|
super("SendingAgentContextMessageEvent"), this.privAgentConfig = e;
|
|
1173
1173
|
}
|
|
@@ -1175,18 +1175,18 @@ class $l extends Pp {
|
|
|
1175
1175
|
return this.privAgentConfig;
|
|
1176
1176
|
}
|
|
1177
1177
|
}
|
|
1178
|
-
gt.SendingAgentContextMessageEvent =
|
|
1178
|
+
gt.SendingAgentContextMessageEvent = Hl;
|
|
1179
1179
|
var hi = {}, Mn = {};
|
|
1180
1180
|
Object.defineProperty(Mn, "__esModule", { value: !0 });
|
|
1181
1181
|
Mn.EventSource = void 0;
|
|
1182
|
-
const
|
|
1183
|
-
class
|
|
1182
|
+
const $l = J, Kl = fe;
|
|
1183
|
+
class Jl {
|
|
1184
1184
|
constructor(e) {
|
|
1185
1185
|
this.privEventListeners = {}, this.privIsDisposed = !1, this.privConsoleListener = void 0, this.privMetadata = e;
|
|
1186
1186
|
}
|
|
1187
1187
|
onEvent(e) {
|
|
1188
1188
|
if (this.isDisposed())
|
|
1189
|
-
throw new
|
|
1189
|
+
throw new $l.ObjectDisposedError("EventSource");
|
|
1190
1190
|
if (this.metadata)
|
|
1191
1191
|
for (const r in this.metadata)
|
|
1192
1192
|
r && e.metadata && (e.metadata[r] || (e.metadata[r] = this.metadata[r]));
|
|
@@ -1194,7 +1194,7 @@ class Gl {
|
|
|
1194
1194
|
r && this.privEventListeners[r] && this.privEventListeners[r](e);
|
|
1195
1195
|
}
|
|
1196
1196
|
attach(e) {
|
|
1197
|
-
const r = (0,
|
|
1197
|
+
const r = (0, Kl.createNoDashGuid)();
|
|
1198
1198
|
return this.privEventListeners[r] = e, {
|
|
1199
1199
|
detach: () => (delete this.privEventListeners[r], Promise.resolve())
|
|
1200
1200
|
};
|
|
@@ -1215,14 +1215,14 @@ class Gl {
|
|
|
1215
1215
|
return this.privMetadata;
|
|
1216
1216
|
}
|
|
1217
1217
|
}
|
|
1218
|
-
Mn.EventSource =
|
|
1218
|
+
Mn.EventSource = Jl;
|
|
1219
1219
|
Object.defineProperty(hi, "__esModule", { value: !0 });
|
|
1220
1220
|
hi.Events = void 0;
|
|
1221
|
-
const
|
|
1221
|
+
const Gl = J, Ql = Mn;
|
|
1222
1222
|
class In {
|
|
1223
1223
|
static setEventSource(e) {
|
|
1224
1224
|
if (!e)
|
|
1225
|
-
throw new
|
|
1225
|
+
throw new Gl.ArgumentNullError("eventSource");
|
|
1226
1226
|
In.privInstance = e;
|
|
1227
1227
|
}
|
|
1228
1228
|
static get instance() {
|
|
@@ -1230,15 +1230,17 @@ class In {
|
|
|
1230
1230
|
}
|
|
1231
1231
|
}
|
|
1232
1232
|
hi.Events = In;
|
|
1233
|
-
In.privInstance = new
|
|
1233
|
+
In.privInstance = new Ql.EventSource();
|
|
1234
|
+
var Pp = {};
|
|
1235
|
+
Object.defineProperty(Pp, "__esModule", { value: !0 });
|
|
1234
1236
|
var Ep = {};
|
|
1235
|
-
Object.defineProperty(Ep, "__esModule", { value: !0 });
|
|
1236
|
-
var Ip = {};
|
|
1237
1237
|
(function(t) {
|
|
1238
1238
|
Object.defineProperty(t, "__esModule", { value: !0 }), t.ConnectionState = void 0, function(e) {
|
|
1239
1239
|
e[e.None = 0] = "None", e[e.Connected = 1] = "Connected", e[e.Connecting = 2] = "Connecting", e[e.Disconnected = 3] = "Disconnected";
|
|
1240
1240
|
}(t.ConnectionState || (t.ConnectionState = {}));
|
|
1241
|
-
})(
|
|
1241
|
+
})(Ep);
|
|
1242
|
+
var Ip = {};
|
|
1243
|
+
Object.defineProperty(Ip, "__esModule", { value: !0 });
|
|
1242
1244
|
var Tp = {};
|
|
1243
1245
|
Object.defineProperty(Tp, "__esModule", { value: !0 });
|
|
1244
1246
|
var Ap = {};
|
|
@@ -1253,12 +1255,10 @@ var Mp = {};
|
|
|
1253
1255
|
Object.defineProperty(Mp, "__esModule", { value: !0 });
|
|
1254
1256
|
var Op = {};
|
|
1255
1257
|
Object.defineProperty(Op, "__esModule", { value: !0 });
|
|
1256
|
-
var Dp = {};
|
|
1257
|
-
Object.defineProperty(Dp, "__esModule", { value: !0 });
|
|
1258
1258
|
var On = {};
|
|
1259
1259
|
Object.defineProperty(On, "__esModule", { value: !0 });
|
|
1260
1260
|
On.List = void 0;
|
|
1261
|
-
const
|
|
1261
|
+
const Xl = J;
|
|
1262
1262
|
class Le {
|
|
1263
1263
|
constructor(e) {
|
|
1264
1264
|
if (this.privSubscriptionIdCounter = 0, this.privAddSubscriptions = {}, this.privRemoveSubscriptions = {}, this.privDisposedSubscriptions = {}, this.privDisposeReason = null, this.privList = [], e)
|
|
@@ -1380,7 +1380,7 @@ class Le {
|
|
|
1380
1380
|
}
|
|
1381
1381
|
throwIfDisposed() {
|
|
1382
1382
|
if (this.isDisposed())
|
|
1383
|
-
throw new
|
|
1383
|
+
throw new Xl.ObjectDisposedError("List", this.privDisposeReason);
|
|
1384
1384
|
}
|
|
1385
1385
|
triggerSubscriptions(e) {
|
|
1386
1386
|
if (e)
|
|
@@ -1533,7 +1533,7 @@ var En;
|
|
|
1533
1533
|
(function(t) {
|
|
1534
1534
|
t[t.Dequeue = 0] = "Dequeue", t[t.Peek = 1] = "Peek";
|
|
1535
1535
|
})(En || (En = {}));
|
|
1536
|
-
class
|
|
1536
|
+
class Zl {
|
|
1537
1537
|
constructor(e) {
|
|
1538
1538
|
this.privPromiseStore = new Rs.List(), this.privIsDrainInProgress = !1, this.privIsDisposing = !1, this.privDisposeReason = null, this.privList = e || new Rs.List(), this.privDetachables = [], this.privSubscribers = new Rs.List(), this.privDetachables.push(this.privList.onAdded(() => this.drain()));
|
|
1539
1539
|
}
|
|
@@ -1615,12 +1615,12 @@ class Yl {
|
|
|
1615
1615
|
throw new ys.InvalidOperationError("Queue disposing");
|
|
1616
1616
|
}
|
|
1617
1617
|
}
|
|
1618
|
-
Dn.Queue =
|
|
1618
|
+
Dn.Queue = Zl;
|
|
1619
1619
|
var li = {};
|
|
1620
1620
|
Object.defineProperty(li, "__esModule", { value: !0 });
|
|
1621
1621
|
li.RawWebsocketMessage = void 0;
|
|
1622
|
-
const Un = Vs, Lt = J,
|
|
1623
|
-
class
|
|
1622
|
+
const Un = Vs, Lt = J, Yl = fe;
|
|
1623
|
+
class ev {
|
|
1624
1624
|
constructor(e, r, i) {
|
|
1625
1625
|
if (this.privPayload = null, !r)
|
|
1626
1626
|
throw new Lt.ArgumentNullError("payload");
|
|
@@ -1628,7 +1628,7 @@ class tv {
|
|
|
1628
1628
|
throw new Lt.InvalidOperationError("Payload must be ArrayBuffer");
|
|
1629
1629
|
if (e === Un.MessageType.Text && typeof r != "string")
|
|
1630
1630
|
throw new Lt.InvalidOperationError("Payload must be a string");
|
|
1631
|
-
this.privMessageType = e, this.privPayload = r, this.privId = i || (0,
|
|
1631
|
+
this.privMessageType = e, this.privPayload = r, this.privId = i || (0, Yl.createNoDashGuid)();
|
|
1632
1632
|
}
|
|
1633
1633
|
get messageType() {
|
|
1634
1634
|
return this.privMessageType;
|
|
@@ -1650,11 +1650,11 @@ class tv {
|
|
|
1650
1650
|
return this.privId;
|
|
1651
1651
|
}
|
|
1652
1652
|
}
|
|
1653
|
-
li.RawWebsocketMessage =
|
|
1653
|
+
li.RawWebsocketMessage = ev;
|
|
1654
1654
|
var vi = {};
|
|
1655
1655
|
Object.defineProperty(vi, "__esModule", { value: !0 });
|
|
1656
1656
|
vi.RiffPcmEncoder = void 0;
|
|
1657
|
-
class
|
|
1657
|
+
class tv {
|
|
1658
1658
|
constructor(e, r) {
|
|
1659
1659
|
this.privActualSampleRate = e, this.privDesiredSampleRate = r;
|
|
1660
1660
|
}
|
|
@@ -1692,14 +1692,14 @@ class rv {
|
|
|
1692
1692
|
return s;
|
|
1693
1693
|
}
|
|
1694
1694
|
}
|
|
1695
|
-
vi.RiffPcmEncoder =
|
|
1695
|
+
vi.RiffPcmEncoder = tv;
|
|
1696
1696
|
var fi = {};
|
|
1697
1697
|
Object.defineProperty(fi, "__esModule", { value: !0 });
|
|
1698
1698
|
fi.Stream = void 0;
|
|
1699
|
-
const Do = J,
|
|
1700
|
-
class
|
|
1699
|
+
const Do = J, rv = fe, ko = Dn;
|
|
1700
|
+
class nv {
|
|
1701
1701
|
constructor(e) {
|
|
1702
|
-
this.privIsWriteEnded = !1, this.privIsReadEnded = !1, this.privId = e || (0,
|
|
1702
|
+
this.privIsWriteEnded = !1, this.privIsReadEnded = !1, this.privId = e || (0, rv.createNoDashGuid)(), this.privReaderQueue = new ko.Queue();
|
|
1703
1703
|
}
|
|
1704
1704
|
get isClosed() {
|
|
1705
1705
|
return this.privIsWriteEnded;
|
|
@@ -1737,7 +1737,7 @@ class iv {
|
|
|
1737
1737
|
throw new Do.InvalidOperationError("Stream closed");
|
|
1738
1738
|
}
|
|
1739
1739
|
}
|
|
1740
|
-
fi.Stream =
|
|
1740
|
+
fi.Stream = nv;
|
|
1741
1741
|
var gi = {};
|
|
1742
1742
|
(function(t) {
|
|
1743
1743
|
Object.defineProperty(t, "__esModule", { value: !0 }), t.TranslationStatus = void 0, function(e) {
|
|
@@ -1745,7 +1745,7 @@ var gi = {};
|
|
|
1745
1745
|
}(t.TranslationStatus || (t.TranslationStatus = {}));
|
|
1746
1746
|
})(gi);
|
|
1747
1747
|
var Bt = {}, No;
|
|
1748
|
-
function
|
|
1748
|
+
function iv() {
|
|
1749
1749
|
if (No)
|
|
1750
1750
|
return Bt;
|
|
1751
1751
|
No = 1, Object.defineProperty(Bt, "__esModule", { value: !0 }), Bt.ChunkedArrayBufferStream = void 0;
|
|
@@ -1780,8 +1780,8 @@ function sv() {
|
|
|
1780
1780
|
};
|
|
1781
1781
|
return Bt.ChunkedArrayBufferStream = e, Bt;
|
|
1782
1782
|
}
|
|
1783
|
-
var
|
|
1784
|
-
Object.defineProperty(
|
|
1783
|
+
var Dp = {};
|
|
1784
|
+
Object.defineProperty(Dp, "__esModule", { value: !0 });
|
|
1785
1785
|
var mi = {};
|
|
1786
1786
|
Object.defineProperty(mi, "__esModule", { value: !0 });
|
|
1787
1787
|
mi.Timeout = void 0;
|
|
@@ -1857,104 +1857,104 @@ class Q extends G.PlatformEvent {
|
|
|
1857
1857
|
}
|
|
1858
1858
|
}
|
|
1859
1859
|
z.OCSPEvent = Q;
|
|
1860
|
-
class
|
|
1860
|
+
class sv extends Q {
|
|
1861
1861
|
constructor(e) {
|
|
1862
1862
|
super("OCSPMemoryCacheHitEvent", G.EventType.Debug, e);
|
|
1863
1863
|
}
|
|
1864
1864
|
}
|
|
1865
|
-
z.OCSPMemoryCacheHitEvent =
|
|
1866
|
-
class
|
|
1865
|
+
z.OCSPMemoryCacheHitEvent = sv;
|
|
1866
|
+
class ov extends Q {
|
|
1867
1867
|
constructor(e) {
|
|
1868
1868
|
super("OCSPCacheMissEvent", G.EventType.Debug, e);
|
|
1869
1869
|
}
|
|
1870
1870
|
}
|
|
1871
|
-
z.OCSPCacheMissEvent =
|
|
1872
|
-
class
|
|
1871
|
+
z.OCSPCacheMissEvent = ov;
|
|
1872
|
+
class av extends Q {
|
|
1873
1873
|
constructor(e) {
|
|
1874
1874
|
super("OCSPDiskCacheHitEvent", G.EventType.Debug, e);
|
|
1875
1875
|
}
|
|
1876
1876
|
}
|
|
1877
|
-
z.OCSPDiskCacheHitEvent =
|
|
1878
|
-
class
|
|
1877
|
+
z.OCSPDiskCacheHitEvent = av;
|
|
1878
|
+
class cv extends Q {
|
|
1879
1879
|
constructor(e) {
|
|
1880
1880
|
super("OCSPCacheUpdateNeededEvent", G.EventType.Debug, e);
|
|
1881
1881
|
}
|
|
1882
1882
|
}
|
|
1883
|
-
z.OCSPCacheUpdateNeededEvent =
|
|
1884
|
-
class
|
|
1883
|
+
z.OCSPCacheUpdateNeededEvent = cv;
|
|
1884
|
+
class pv extends Q {
|
|
1885
1885
|
constructor(e) {
|
|
1886
1886
|
super("OCSPMemoryCacheStoreEvent", G.EventType.Debug, e);
|
|
1887
1887
|
}
|
|
1888
1888
|
}
|
|
1889
|
-
z.OCSPMemoryCacheStoreEvent =
|
|
1890
|
-
class
|
|
1889
|
+
z.OCSPMemoryCacheStoreEvent = pv;
|
|
1890
|
+
class uv extends Q {
|
|
1891
1891
|
constructor(e) {
|
|
1892
1892
|
super("OCSPDiskCacheStoreEvent", G.EventType.Debug, e);
|
|
1893
1893
|
}
|
|
1894
1894
|
}
|
|
1895
|
-
z.OCSPDiskCacheStoreEvent =
|
|
1896
|
-
class
|
|
1895
|
+
z.OCSPDiskCacheStoreEvent = uv;
|
|
1896
|
+
class dv extends Q {
|
|
1897
1897
|
constructor(e) {
|
|
1898
1898
|
super("OCSPCacheUpdateCompleteEvent", G.EventType.Debug, e);
|
|
1899
1899
|
}
|
|
1900
1900
|
}
|
|
1901
|
-
z.OCSPCacheUpdateCompleteEvent =
|
|
1902
|
-
class
|
|
1901
|
+
z.OCSPCacheUpdateCompleteEvent = dv;
|
|
1902
|
+
class hv extends Q {
|
|
1903
1903
|
constructor() {
|
|
1904
1904
|
super("OCSPStapleReceivedEvent", G.EventType.Debug, "");
|
|
1905
1905
|
}
|
|
1906
1906
|
}
|
|
1907
|
-
z.OCSPStapleReceivedEvent =
|
|
1908
|
-
class
|
|
1907
|
+
z.OCSPStapleReceivedEvent = hv;
|
|
1908
|
+
class lv extends Q {
|
|
1909
1909
|
constructor(e) {
|
|
1910
1910
|
super("OCSPWSUpgradeStartedEvent", G.EventType.Debug, e);
|
|
1911
1911
|
}
|
|
1912
1912
|
}
|
|
1913
|
-
z.OCSPWSUpgradeStartedEvent =
|
|
1914
|
-
class
|
|
1913
|
+
z.OCSPWSUpgradeStartedEvent = lv;
|
|
1914
|
+
class vv extends Q {
|
|
1915
1915
|
constructor(e, r) {
|
|
1916
1916
|
super("OCSPCacheEntryExpiredEvent", G.EventType.Debug, e), this.privExpireTime = r;
|
|
1917
1917
|
}
|
|
1918
1918
|
}
|
|
1919
|
-
z.OCSPCacheEntryExpiredEvent =
|
|
1920
|
-
class
|
|
1919
|
+
z.OCSPCacheEntryExpiredEvent = vv;
|
|
1920
|
+
class fv extends Q {
|
|
1921
1921
|
constructor(e, r, i) {
|
|
1922
1922
|
super("OCSPCacheEntryNeedsRefreshEvent", G.EventType.Debug, e), this.privExpireTime = i, this.privStartTime = r;
|
|
1923
1923
|
}
|
|
1924
1924
|
}
|
|
1925
|
-
z.OCSPCacheEntryNeedsRefreshEvent =
|
|
1926
|
-
class
|
|
1925
|
+
z.OCSPCacheEntryNeedsRefreshEvent = fv;
|
|
1926
|
+
class gv extends Q {
|
|
1927
1927
|
constructor(e, r, i) {
|
|
1928
1928
|
super("OCSPCacheHitEvent", G.EventType.Debug, e), this.privExpireTime = i, this.privExpireTimeString = new Date(i).toLocaleDateString(), this.privStartTime = r, this.privStartTimeString = new Date(r).toLocaleTimeString();
|
|
1929
1929
|
}
|
|
1930
1930
|
}
|
|
1931
|
-
z.OCSPCacheHitEvent =
|
|
1932
|
-
class
|
|
1931
|
+
z.OCSPCacheHitEvent = gv;
|
|
1932
|
+
class mv extends Q {
|
|
1933
1933
|
constructor(e, r) {
|
|
1934
1934
|
super("OCSPVerificationFailedEvent", G.EventType.Debug, e), this.privError = r;
|
|
1935
1935
|
}
|
|
1936
1936
|
}
|
|
1937
|
-
z.OCSPVerificationFailedEvent =
|
|
1938
|
-
class
|
|
1937
|
+
z.OCSPVerificationFailedEvent = mv;
|
|
1938
|
+
class Sv extends Q {
|
|
1939
1939
|
constructor(e, r) {
|
|
1940
1940
|
super("OCSPCacheFetchErrorEvent", G.EventType.Debug, e), this.privError = r;
|
|
1941
1941
|
}
|
|
1942
1942
|
}
|
|
1943
|
-
z.OCSPCacheFetchErrorEvent =
|
|
1944
|
-
class
|
|
1943
|
+
z.OCSPCacheFetchErrorEvent = Sv;
|
|
1944
|
+
class Cv extends Q {
|
|
1945
1945
|
constructor(e) {
|
|
1946
1946
|
super("OCSPResponseRetrievedEvent", G.EventType.Debug, e);
|
|
1947
1947
|
}
|
|
1948
1948
|
}
|
|
1949
|
-
z.OCSPResponseRetrievedEvent =
|
|
1950
|
-
class
|
|
1949
|
+
z.OCSPResponseRetrievedEvent = Cv;
|
|
1950
|
+
class yv extends Q {
|
|
1951
1951
|
constructor(e, r) {
|
|
1952
1952
|
super("OCSPCacheUpdateErrorEvent", G.EventType.Debug, e), this.privError = r;
|
|
1953
1953
|
}
|
|
1954
1954
|
}
|
|
1955
|
-
z.OCSPCacheUpdateErrorEvent =
|
|
1955
|
+
z.OCSPCacheUpdateErrorEvent = yv;
|
|
1956
1956
|
var qt = {}, zo;
|
|
1957
|
-
function
|
|
1957
|
+
function Rv() {
|
|
1958
1958
|
if (zo)
|
|
1959
1959
|
return qt;
|
|
1960
1960
|
zo = 1, Object.defineProperty(qt, "__esModule", { value: !0 }), qt.BackgroundEvent = void 0;
|
|
@@ -1982,11 +1982,11 @@ function A() {
|
|
|
1982
1982
|
for (var s in p)
|
|
1983
1983
|
s !== "default" && !Object.prototype.hasOwnProperty.call(a, s) && e(a, p, s);
|
|
1984
1984
|
};
|
|
1985
|
-
Object.defineProperty(t, "__esModule", { value: !0 }), t.TranslationStatus = void 0, r(F, t), r(x, t), r(Vs, t), r(ui, t), r(di, t), r(gt, t), r(J, t), r(hi, t), r(Mn, t), r(fe, t), r(Ep, t), r(Ip, t), r(Tp, t), r(Ap, t), r(wp, t), r(_p, t), r(bp, t), r(Mp, t), r(Op, t), r(
|
|
1985
|
+
Object.defineProperty(t, "__esModule", { value: !0 }), t.TranslationStatus = void 0, r(F, t), r(x, t), r(Vs, t), r(ui, t), r(di, t), r(gt, t), r(J, t), r(hi, t), r(Mn, t), r(fe, t), r(Pp, t), r(Ep, t), r(Ip, t), r(Tp, t), r(Ap, t), r(wp, t), r(_p, t), r(bp, t), r(Mp, t), r(Op, t), r(On, t), r(Dt, t), r(Hs, t), r(Dn, t), r(li, t), r(vi, t), r(fi, t);
|
|
1986
1986
|
var i = gi;
|
|
1987
1987
|
Object.defineProperty(t, "TranslationStatus", { enumerable: !0, get: function() {
|
|
1988
1988
|
return i.TranslationStatus;
|
|
1989
|
-
} }), r(
|
|
1989
|
+
} }), r(iv(), t), r(Dp, t), r(mi, t), r(z, t), r(Rv(), t);
|
|
1990
1990
|
}(fs)), fs;
|
|
1991
1991
|
}
|
|
1992
1992
|
var W = {};
|
|
@@ -2008,7 +2008,7 @@ me.RequestTimestamp = "X-Timestamp";
|
|
|
2008
2008
|
var Nt = {};
|
|
2009
2009
|
Object.defineProperty(Nt, "__esModule", { value: !0 });
|
|
2010
2010
|
Nt.AuthInfo = void 0;
|
|
2011
|
-
class
|
|
2011
|
+
class Pv {
|
|
2012
2012
|
constructor(e, r) {
|
|
2013
2013
|
this.privHeaderName = e, this.privToken = r;
|
|
2014
2014
|
}
|
|
@@ -2019,11 +2019,11 @@ class Ev {
|
|
|
2019
2019
|
return this.privToken;
|
|
2020
2020
|
}
|
|
2021
2021
|
}
|
|
2022
|
-
Nt.AuthInfo =
|
|
2022
|
+
Nt.AuthInfo = Pv;
|
|
2023
2023
|
Object.defineProperty(Xn, "__esModule", { value: !0 });
|
|
2024
2024
|
Xn.CognitiveSubscriptionKeyAuthentication = void 0;
|
|
2025
|
-
const
|
|
2026
|
-
class
|
|
2025
|
+
const Ev = A(), Iv = W, Tv = Nt;
|
|
2026
|
+
class Av {
|
|
2027
2027
|
/**
|
|
2028
2028
|
* Creates and initializes an instance of the CognitiveSubscriptionKeyAuthentication class.
|
|
2029
2029
|
* @constructor
|
|
@@ -2031,8 +2031,8 @@ class wv {
|
|
|
2031
2031
|
*/
|
|
2032
2032
|
constructor(e) {
|
|
2033
2033
|
if (!e)
|
|
2034
|
-
throw new
|
|
2035
|
-
this.privAuthInfo = new
|
|
2034
|
+
throw new Ev.ArgumentNullError("subscriptionKey");
|
|
2035
|
+
this.privAuthInfo = new Tv.AuthInfo(Iv.HeaderNames.AuthKey, e);
|
|
2036
2036
|
}
|
|
2037
2037
|
/**
|
|
2038
2038
|
* Fetches the subscription key.
|
|
@@ -2057,7 +2057,7 @@ class wv {
|
|
|
2057
2057
|
return Promise.resolve(this.privAuthInfo);
|
|
2058
2058
|
}
|
|
2059
2059
|
}
|
|
2060
|
-
Xn.CognitiveSubscriptionKeyAuthentication =
|
|
2060
|
+
Xn.CognitiveSubscriptionKeyAuthentication = Av;
|
|
2061
2061
|
var Si = {};
|
|
2062
2062
|
Object.defineProperty(Si, "__esModule", { value: !0 });
|
|
2063
2063
|
Si.CognitiveTokenAuthentication = void 0;
|
|
@@ -2079,15 +2079,15 @@ class Tn {
|
|
|
2079
2079
|
}
|
|
2080
2080
|
Si.CognitiveTokenAuthentication = Tn;
|
|
2081
2081
|
Tn.privTokenPrefix = "Bearer ";
|
|
2082
|
+
var kp = {};
|
|
2083
|
+
Object.defineProperty(kp, "__esModule", { value: !0 });
|
|
2082
2084
|
var Np = {};
|
|
2083
2085
|
Object.defineProperty(Np, "__esModule", { value: !0 });
|
|
2084
|
-
var zp = {};
|
|
2085
|
-
Object.defineProperty(zp, "__esModule", { value: !0 });
|
|
2086
2086
|
var Ft = {}, Ps = {}, Ci = {};
|
|
2087
|
-
const
|
|
2087
|
+
const wv = {}, _v = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
2088
2088
|
__proto__: null,
|
|
2089
|
-
default:
|
|
2090
|
-
}, Symbol.toStringTag, { value: "Module" })), St = /* @__PURE__ */
|
|
2089
|
+
default: wv
|
|
2090
|
+
}, Symbol.toStringTag, { value: "Module" })), St = /* @__PURE__ */ sh(_v);
|
|
2091
2091
|
var $s = {};
|
|
2092
2092
|
(function(t) {
|
|
2093
2093
|
Object.defineProperty(t, "__esModule", { value: !0 }), t.LogLevel = void 0;
|
|
@@ -2139,34 +2139,34 @@ class Be {
|
|
|
2139
2139
|
}
|
|
2140
2140
|
}
|
|
2141
2141
|
b.Contracts = Be;
|
|
2142
|
-
var
|
|
2142
|
+
var bv = N && N.__createBinding || (Object.create ? function(t, e, r, i) {
|
|
2143
2143
|
i === void 0 && (i = r), Object.defineProperty(t, i, { enumerable: !0, get: function() {
|
|
2144
2144
|
return e[r];
|
|
2145
2145
|
} });
|
|
2146
2146
|
} : function(t, e, r, i) {
|
|
2147
2147
|
i === void 0 && (i = r), t[i] = e[r];
|
|
2148
|
-
}),
|
|
2148
|
+
}), Mv = N && N.__setModuleDefault || (Object.create ? function(t, e) {
|
|
2149
2149
|
Object.defineProperty(t, "default", { enumerable: !0, value: e });
|
|
2150
2150
|
} : function(t, e) {
|
|
2151
2151
|
t.default = e;
|
|
2152
|
-
}),
|
|
2152
|
+
}), Ov = N && N.__importStar || function(t) {
|
|
2153
2153
|
if (t && t.__esModule)
|
|
2154
2154
|
return t;
|
|
2155
2155
|
var e = {};
|
|
2156
2156
|
if (t != null)
|
|
2157
2157
|
for (var r in t)
|
|
2158
|
-
r !== "default" && Object.prototype.hasOwnProperty.call(t, r) &&
|
|
2159
|
-
return
|
|
2158
|
+
r !== "default" && Object.prototype.hasOwnProperty.call(t, r) && bv(e, t, r);
|
|
2159
|
+
return Mv(e, t), e;
|
|
2160
2160
|
};
|
|
2161
2161
|
Object.defineProperty(Ci, "__esModule", { value: !0 });
|
|
2162
2162
|
Ci.ConsoleLoggingListener = void 0;
|
|
2163
|
-
const Fo =
|
|
2164
|
-
class
|
|
2163
|
+
const Fo = Ov(St), xt = $s, Dv = b;
|
|
2164
|
+
class kv {
|
|
2165
2165
|
constructor(e = xt.LogLevel.None) {
|
|
2166
2166
|
this.privLogPath = void 0, this.privEnableConsoleOutput = !0, this.privLogLevelFilter = e;
|
|
2167
2167
|
}
|
|
2168
2168
|
set logPath(e) {
|
|
2169
|
-
|
|
2169
|
+
Dv.Contracts.throwIfNullOrUndefined(Fo.openSync, `
|
|
2170
2170
|
File System access not available`), this.privLogPath = e;
|
|
2171
2171
|
}
|
|
2172
2172
|
set enableConsoleOutput(e) {
|
|
@@ -2210,9 +2210,9 @@ File System access not available`), this.privLogPath = e;
|
|
|
2210
2210
|
return r.join(" | ");
|
|
2211
2211
|
}
|
|
2212
2212
|
}
|
|
2213
|
-
Ci.ConsoleLoggingListener =
|
|
2214
|
-
var
|
|
2215
|
-
Object.defineProperty(
|
|
2213
|
+
Ci.ConsoleLoggingListener = kv;
|
|
2214
|
+
var zp = {};
|
|
2215
|
+
Object.defineProperty(zp, "__esModule", { value: !0 });
|
|
2216
2216
|
var Es = {}, Ke = {};
|
|
2217
2217
|
(function(t) {
|
|
2218
2218
|
Object.defineProperty(t, "__esModule", { value: !0 }), t.AudioStreamFormatImpl = t.AudioStreamFormat = t.AudioFormatTag = void 0;
|
|
@@ -2338,7 +2338,7 @@ var Es = {}, Ke = {};
|
|
|
2338
2338
|
t.AudioStreamFormatImpl = i;
|
|
2339
2339
|
})(Ke);
|
|
2340
2340
|
var xo;
|
|
2341
|
-
function
|
|
2341
|
+
function Nv() {
|
|
2342
2342
|
return xo || (xo = 1, function(t) {
|
|
2343
2343
|
Object.defineProperty(t, "__esModule", { value: !0 }), t.MicAudioSource = t.AudioWorkletSourceURLPropertyName = void 0;
|
|
2344
2344
|
const e = T(), r = A(), i = Ke;
|
|
@@ -2479,7 +2479,7 @@ function zv() {
|
|
|
2479
2479
|
}(Es)), Es;
|
|
2480
2480
|
}
|
|
2481
2481
|
var Ut = {}, Uo;
|
|
2482
|
-
function
|
|
2482
|
+
function zv() {
|
|
2483
2483
|
if (Uo)
|
|
2484
2484
|
return Ut;
|
|
2485
2485
|
Uo = 1, Object.defineProperty(Ut, "__esModule", { value: !0 }), Ut.FileAudioSource = void 0;
|
|
@@ -2609,13 +2609,13 @@ function jv() {
|
|
|
2609
2609
|
var yi = {};
|
|
2610
2610
|
Object.defineProperty(yi, "__esModule", { value: !0 });
|
|
2611
2611
|
yi.PcmRecorder = void 0;
|
|
2612
|
-
const
|
|
2613
|
-
class
|
|
2612
|
+
const jv = A();
|
|
2613
|
+
class Lv {
|
|
2614
2614
|
constructor(e) {
|
|
2615
2615
|
this.privStopInputOnRelease = e;
|
|
2616
2616
|
}
|
|
2617
2617
|
record(e, r, i) {
|
|
2618
|
-
const a = new
|
|
2618
|
+
const a = new jv.RiffPcmEncoder(e.sampleRate, 16e3), s = e.createMediaStreamSource(r), n = () => {
|
|
2619
2619
|
const c = (() => {
|
|
2620
2620
|
let u = 0;
|
|
2621
2621
|
try {
|
|
@@ -2697,38 +2697,38 @@ class Bv {
|
|
|
2697
2697
|
this.privSpeechProcessorScript = e;
|
|
2698
2698
|
}
|
|
2699
2699
|
}
|
|
2700
|
-
yi.PcmRecorder =
|
|
2701
|
-
var Ri = {}, kn = {},
|
|
2700
|
+
yi.PcmRecorder = Lv;
|
|
2701
|
+
var Ri = {}, kn = {}, Bv = N && N.__createBinding || (Object.create ? function(t, e, r, i) {
|
|
2702
2702
|
i === void 0 && (i = r), Object.defineProperty(t, i, { enumerable: !0, get: function() {
|
|
2703
2703
|
return e[r];
|
|
2704
2704
|
} });
|
|
2705
2705
|
} : function(t, e, r, i) {
|
|
2706
2706
|
i === void 0 && (i = r), t[i] = e[r];
|
|
2707
|
-
}),
|
|
2707
|
+
}), qv = N && N.__setModuleDefault || (Object.create ? function(t, e) {
|
|
2708
2708
|
Object.defineProperty(t, "default", { enumerable: !0, value: e });
|
|
2709
2709
|
} : function(t, e) {
|
|
2710
2710
|
t.default = e;
|
|
2711
|
-
}),
|
|
2711
|
+
}), jp = N && N.__importStar || function(t) {
|
|
2712
2712
|
if (t && t.__esModule)
|
|
2713
2713
|
return t;
|
|
2714
2714
|
var e = {};
|
|
2715
2715
|
if (t != null)
|
|
2716
2716
|
for (var r in t)
|
|
2717
|
-
r !== "default" && Object.prototype.hasOwnProperty.call(t, r) &&
|
|
2718
|
-
return
|
|
2717
|
+
r !== "default" && Object.prototype.hasOwnProperty.call(t, r) && Bv(e, t, r);
|
|
2718
|
+
return qv(e, t), e;
|
|
2719
2719
|
}, Ks = N && N.__importDefault || function(t) {
|
|
2720
2720
|
return t && t.__esModule ? t : { default: t };
|
|
2721
2721
|
};
|
|
2722
2722
|
Object.defineProperty(kn, "__esModule", { value: !0 });
|
|
2723
2723
|
kn.WebsocketMessageAdapter = void 0;
|
|
2724
|
-
const
|
|
2724
|
+
const Fv = jp(St), xv = jp(St), Uv = Ks(St), Wv = Ks(St), Vv = Ks(St), Hv = W, M = A();
|
|
2725
2725
|
class An {
|
|
2726
2726
|
constructor(e, r, i, p, a, s) {
|
|
2727
2727
|
if (!e)
|
|
2728
2728
|
throw new M.ArgumentNullError("uri");
|
|
2729
2729
|
if (!i)
|
|
2730
2730
|
throw new M.ArgumentNullError("messageFormatter");
|
|
2731
|
-
this.proxyInfo = p, this.privConnectionEvents = new M.EventSource(), this.privConnectionId = r, this.privMessageFormatter = i, this.privConnectionState = M.ConnectionState.None, this.privUri = e, this.privHeaders = a, this.privEnableCompression = s, this.privHeaders[
|
|
2731
|
+
this.proxyInfo = p, this.privConnectionEvents = new M.EventSource(), this.privConnectionId = r, this.privMessageFormatter = i, this.privConnectionState = M.ConnectionState.None, this.privUri = e, this.privHeaders = a, this.privEnableCompression = s, this.privHeaders[Hv.HeaderNames.ConnectionId] = this.privConnectionId, this.privHeaders.connectionId = this.privConnectionId, this.privLastErrorReceived = "";
|
|
2732
2732
|
}
|
|
2733
2733
|
get state() {
|
|
2734
2734
|
return this.privConnectionState;
|
|
@@ -2746,7 +2746,7 @@ class An {
|
|
|
2746
2746
|
let r = new URL(this.privUri).protocol;
|
|
2747
2747
|
(r == null ? void 0 : r.toLocaleLowerCase()) === "wss:" ? r = "https:" : (r == null ? void 0 : r.toLocaleLowerCase()) === "ws:" && (r = "http:");
|
|
2748
2748
|
const i = { headers: this.privHeaders, perMessageDeflate: this.privEnableCompression, followRedirects: r.toLocaleLowerCase() === "https:" };
|
|
2749
|
-
this.privCertificateValidatedDeferral.resolve(), i.agent = this.getAgent(), i.agent.protocol = r, this.privWebsocketClient = new
|
|
2749
|
+
this.privCertificateValidatedDeferral.resolve(), i.agent = this.getAgent(), i.agent.protocol = r, this.privWebsocketClient = new Vv.default(this.privUri, i), this.privWebsocketClient.on("redirect", (p) => {
|
|
2750
2750
|
const a = new M.ConnectionRedirectEvent(this.privConnectionId, p, this.privUri, `Getting redirect URL from endpoint ${this.privUri} with redirect URL '${p}'`);
|
|
2751
2751
|
M.Events.instance.onEvent(a);
|
|
2752
2752
|
});
|
|
@@ -2855,7 +2855,7 @@ class An {
|
|
|
2855
2855
|
}
|
|
2856
2856
|
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
|
2857
2857
|
getAgent() {
|
|
2858
|
-
const e = new
|
|
2858
|
+
const e = new Uv.default.Agent(this.createConnection);
|
|
2859
2859
|
return this.proxyInfo !== void 0 && this.proxyInfo.HostName !== void 0 && this.proxyInfo.Port > 0 && (e.proxyInfo = this.proxyInfo), e;
|
|
2860
2860
|
}
|
|
2861
2861
|
static GetProxyAgent(e) {
|
|
@@ -2865,7 +2865,7 @@ class An {
|
|
|
2865
2865
|
};
|
|
2866
2866
|
return e.UserName ? r.headers = {
|
|
2867
2867
|
"Proxy-Authentication": "Basic " + new Buffer(`${e.UserName}:${e.Password === void 0 ? "" : e.Password}`).toString("base64")
|
|
2868
|
-
} : r.headers = {}, r.headers.requestOCSP = "true", new
|
|
2868
|
+
} : r.headers = {}, r.headers.requestOCSP = "true", new Wv.default(r);
|
|
2869
2869
|
}
|
|
2870
2870
|
createConnection(e, r) {
|
|
2871
2871
|
let i;
|
|
@@ -2881,7 +2881,7 @@ class An {
|
|
|
2881
2881
|
});
|
|
2882
2882
|
});
|
|
2883
2883
|
} else
|
|
2884
|
-
r.secureEndpoint ? i = Promise.resolve(
|
|
2884
|
+
r.secureEndpoint ? i = Promise.resolve(xv.connect(r)) : i = Promise.resolve(Fv.connect(r));
|
|
2885
2885
|
return i;
|
|
2886
2886
|
}
|
|
2887
2887
|
get isWebsocketOpen() {
|
|
@@ -2892,8 +2892,8 @@ kn.WebsocketMessageAdapter = An;
|
|
|
2892
2892
|
An.forceNpmWebSocket = !1;
|
|
2893
2893
|
Object.defineProperty(Ri, "__esModule", { value: !0 });
|
|
2894
2894
|
Ri.WebsocketConnection = void 0;
|
|
2895
|
-
const Is = A(),
|
|
2896
|
-
class
|
|
2895
|
+
const Is = A(), $v = kn;
|
|
2896
|
+
class Kv {
|
|
2897
2897
|
constructor(e, r, i, p, a, s = !1, n) {
|
|
2898
2898
|
if (this.privIsDisposed = !1, !e)
|
|
2899
2899
|
throw new Is.ArgumentNullError("uri");
|
|
@@ -2919,7 +2919,7 @@ class Jv {
|
|
|
2919
2919
|
o += `${u}=${d}`, c++;
|
|
2920
2920
|
}
|
|
2921
2921
|
}
|
|
2922
|
-
this.privUri = e + o, this.privId = n || (0, Is.createNoDashGuid)(), this.privConnectionMessageAdapter = new
|
|
2922
|
+
this.privUri = e + o, this.privId = n || (0, Is.createNoDashGuid)(), this.privConnectionMessageAdapter = new $v.WebsocketMessageAdapter(this.privUri, this.id, this.privMessageFormatter, a, i, s);
|
|
2923
2923
|
}
|
|
2924
2924
|
async dispose() {
|
|
2925
2925
|
this.privIsDisposed = !0, this.privConnectionMessageAdapter && await this.privConnectionMessageAdapter.close();
|
|
@@ -2949,11 +2949,11 @@ class Jv {
|
|
|
2949
2949
|
return this.privConnectionMessageAdapter.events;
|
|
2950
2950
|
}
|
|
2951
2951
|
}
|
|
2952
|
-
Ri.WebsocketConnection =
|
|
2952
|
+
Ri.WebsocketConnection = Kv;
|
|
2953
2953
|
var Pi = {};
|
|
2954
2954
|
Object.defineProperty(Pi, "__esModule", { value: !0 });
|
|
2955
2955
|
Pi.ReplayableAudioNode = void 0;
|
|
2956
|
-
class
|
|
2956
|
+
class Jv {
|
|
2957
2957
|
constructor(e, r) {
|
|
2958
2958
|
this.privBuffers = [], this.privReplayOffset = 0, this.privLastShrinkOffset = 0, this.privBufferStartOffset = 0, this.privBufferSerial = 0, this.privBufferedBytes = 0, this.privReplay = !1, this.privLastChunkAcquiredTime = 0, this.privAudioNode = e, this.privBytesPerSecond = r;
|
|
2959
2959
|
}
|
|
@@ -2981,7 +2981,7 @@ class Gv {
|
|
|
2981
2981
|
});
|
|
2982
2982
|
}
|
|
2983
2983
|
}
|
|
2984
|
-
return this.privAudioNode.read().then((e) => (e && e.buffer && (this.privBuffers.push(new
|
|
2984
|
+
return this.privAudioNode.read().then((e) => (e && e.buffer && (this.privBuffers.push(new Gv(e, this.privBufferSerial++, this.privBufferedBytes)), this.privBufferedBytes += e.buffer.byteLength), e));
|
|
2985
2985
|
}
|
|
2986
2986
|
detach() {
|
|
2987
2987
|
return this.privBuffers = void 0, this.privAudioNode.detach();
|
|
@@ -3014,35 +3014,35 @@ class Gv {
|
|
|
3014
3014
|
return 0;
|
|
3015
3015
|
}
|
|
3016
3016
|
}
|
|
3017
|
-
Pi.ReplayableAudioNode =
|
|
3018
|
-
class
|
|
3017
|
+
Pi.ReplayableAudioNode = Jv;
|
|
3018
|
+
class Gv {
|
|
3019
3019
|
constructor(e, r, i) {
|
|
3020
3020
|
this.chunk = e, this.serial = r, this.byteOffset = i;
|
|
3021
3021
|
}
|
|
3022
3022
|
}
|
|
3023
|
-
var Wt = {}, Ts = {}, Ee = {}, Nn = {},
|
|
3023
|
+
var Wt = {}, Ts = {}, Ee = {}, Nn = {}, Qv = N && N.__createBinding || (Object.create ? function(t, e, r, i) {
|
|
3024
3024
|
i === void 0 && (i = r), Object.defineProperty(t, i, { enumerable: !0, get: function() {
|
|
3025
3025
|
return e[r];
|
|
3026
3026
|
} });
|
|
3027
3027
|
} : function(t, e, r, i) {
|
|
3028
3028
|
i === void 0 && (i = r), t[i] = e[r];
|
|
3029
|
-
}),
|
|
3029
|
+
}), Xv = N && N.__setModuleDefault || (Object.create ? function(t, e) {
|
|
3030
3030
|
Object.defineProperty(t, "default", { enumerable: !0, value: e });
|
|
3031
3031
|
} : function(t, e) {
|
|
3032
3032
|
t.default = e;
|
|
3033
|
-
}),
|
|
3033
|
+
}), Zv = N && N.__importStar || function(t) {
|
|
3034
3034
|
if (t && t.__esModule)
|
|
3035
3035
|
return t;
|
|
3036
3036
|
var e = {};
|
|
3037
3037
|
if (t != null)
|
|
3038
3038
|
for (var r in t)
|
|
3039
|
-
r !== "default" && Object.prototype.hasOwnProperty.call(t, r) &&
|
|
3040
|
-
return
|
|
3039
|
+
r !== "default" && Object.prototype.hasOwnProperty.call(t, r) && Qv(e, t, r);
|
|
3040
|
+
return Xv(e, t), e;
|
|
3041
3041
|
};
|
|
3042
3042
|
Object.defineProperty(Nn, "__esModule", { value: !0 });
|
|
3043
3043
|
Nn.AudioFileWriter = void 0;
|
|
3044
|
-
const Vt =
|
|
3045
|
-
class
|
|
3044
|
+
const Vt = Zv(St), As = b;
|
|
3045
|
+
class Yv {
|
|
3046
3046
|
constructor(e) {
|
|
3047
3047
|
As.Contracts.throwIfNullOrUndefined(Vt.openSync, `
|
|
3048
3048
|
File System access not available, please use Push or PullAudioOutputStream`), this.privFd = Vt.openSync(e, "w");
|
|
@@ -3064,9 +3064,9 @@ File System access not available, please use Push or PullAudioOutputStream`), th
|
|
|
3064
3064
|
return this.privId;
|
|
3065
3065
|
}
|
|
3066
3066
|
}
|
|
3067
|
-
Nn.AudioFileWriter =
|
|
3067
|
+
Nn.AudioFileWriter = Yv;
|
|
3068
3068
|
var ue = {}, Wo;
|
|
3069
|
-
function
|
|
3069
|
+
function Lp() {
|
|
3070
3070
|
if (Wo)
|
|
3071
3071
|
return ue;
|
|
3072
3072
|
Wo = 1, Object.defineProperty(ue, "__esModule", { value: !0 }), ue.PullAudioInputStreamImpl = ue.PullAudioInputStream = ue.PushAudioInputStreamImpl = ue.PushAudioInputStream = ue.AudioInputStream = void 0;
|
|
@@ -3526,7 +3526,7 @@ _.SpeechSynthesisOutputFormatToString = {
|
|
|
3526
3526
|
};
|
|
3527
3527
|
Object.defineProperty(K, "__esModule", { value: !0 });
|
|
3528
3528
|
K.PushAudioOutputStreamImpl = K.PushAudioOutputStream = K.PullAudioOutputStreamImpl = K.PullAudioOutputStream = K.AudioOutputStream = void 0;
|
|
3529
|
-
const Ls = A(),
|
|
3529
|
+
const Ls = A(), ef = b, tf = Je;
|
|
3530
3530
|
class Gs {
|
|
3531
3531
|
/**
|
|
3532
3532
|
* Creates and initializes an instance.
|
|
@@ -3555,11 +3555,11 @@ class Qs extends Gs {
|
|
|
3555
3555
|
* @returns {PullAudioOutputStream} The push audio output stream being created.
|
|
3556
3556
|
*/
|
|
3557
3557
|
static create() {
|
|
3558
|
-
return new
|
|
3558
|
+
return new Bp();
|
|
3559
3559
|
}
|
|
3560
3560
|
}
|
|
3561
3561
|
K.PullAudioOutputStream = Qs;
|
|
3562
|
-
class
|
|
3562
|
+
class Bp extends Qs {
|
|
3563
3563
|
/**
|
|
3564
3564
|
* Creates and initializes an instance with the given values.
|
|
3565
3565
|
* @constructor
|
|
@@ -3572,7 +3572,7 @@ class qp extends Qs {
|
|
|
3572
3572
|
* @param {AudioStreamFormat} format - the format to be set.
|
|
3573
3573
|
*/
|
|
3574
3574
|
set format(e) {
|
|
3575
|
-
e == null && (this.privFormat =
|
|
3575
|
+
e == null && (this.privFormat = tf.AudioOutputFormatImpl.getDefaultOutputFormat()), this.privFormat = e;
|
|
3576
3576
|
}
|
|
3577
3577
|
/**
|
|
3578
3578
|
* Format information for the audio
|
|
@@ -3632,7 +3632,7 @@ class qp extends Qs {
|
|
|
3632
3632
|
* @param {ArrayBuffer} dataBuffer - The audio buffer of which this function will make a copy.
|
|
3633
3633
|
*/
|
|
3634
3634
|
write(e) {
|
|
3635
|
-
|
|
3635
|
+
ef.Contracts.throwIfNullOrUndefined(this.privStream, "must set format before writing"), this.privStream.writeStreamChunk({
|
|
3636
3636
|
buffer: e,
|
|
3637
3637
|
isEnd: !1,
|
|
3638
3638
|
timeReceived: Date.now()
|
|
@@ -3648,8 +3648,8 @@ class qp extends Qs {
|
|
|
3648
3648
|
this.privStream.close();
|
|
3649
3649
|
}
|
|
3650
3650
|
}
|
|
3651
|
-
K.PullAudioOutputStreamImpl =
|
|
3652
|
-
class
|
|
3651
|
+
K.PullAudioOutputStreamImpl = Bp;
|
|
3652
|
+
class qp extends Gs {
|
|
3653
3653
|
/**
|
|
3654
3654
|
* Creates and initializes and instance.
|
|
3655
3655
|
* @constructor
|
|
@@ -3668,11 +3668,11 @@ class Fp extends Gs {
|
|
|
3668
3668
|
* @returns {PushAudioOutputStream} The push audio output stream being created.
|
|
3669
3669
|
*/
|
|
3670
3670
|
static create(e) {
|
|
3671
|
-
return new
|
|
3671
|
+
return new Fp(e);
|
|
3672
3672
|
}
|
|
3673
3673
|
}
|
|
3674
|
-
K.PushAudioOutputStream =
|
|
3675
|
-
class
|
|
3674
|
+
K.PushAudioOutputStream = qp;
|
|
3675
|
+
class Fp extends qp {
|
|
3676
3676
|
/**
|
|
3677
3677
|
* Creates a PushAudioOutputStream that delegates to the specified callback interface for
|
|
3678
3678
|
* read() and close() methods.
|
|
@@ -3696,14 +3696,14 @@ class xp extends Fp {
|
|
|
3696
3696
|
return this.privId;
|
|
3697
3697
|
}
|
|
3698
3698
|
}
|
|
3699
|
-
K.PushAudioOutputStreamImpl =
|
|
3699
|
+
K.PushAudioOutputStreamImpl = Fp;
|
|
3700
3700
|
var Vo;
|
|
3701
|
-
function
|
|
3701
|
+
function Up() {
|
|
3702
3702
|
if (Vo)
|
|
3703
3703
|
return Ee;
|
|
3704
3704
|
Vo = 1, Object.defineProperty(Ee, "__esModule", { value: !0 }), Ee.AudioOutputConfigImpl = Ee.AudioConfigImpl = Ee.AudioConfig = void 0;
|
|
3705
|
-
const t = V(), e = b, r = R(), i = Nn, p =
|
|
3706
|
-
let s = class
|
|
3705
|
+
const t = V(), e = b, r = R(), i = Nn, p = Lp(), a = K;
|
|
3706
|
+
let s = class xp {
|
|
3707
3707
|
/**
|
|
3708
3708
|
* Creates an AudioConfig object representing the default microphone on the system.
|
|
3709
3709
|
* @member AudioConfig.fromDefaultMicrophoneInput
|
|
@@ -3782,7 +3782,7 @@ function Wp() {
|
|
|
3782
3782
|
*/
|
|
3783
3783
|
static fromSpeakerOutput(u) {
|
|
3784
3784
|
if (u === void 0)
|
|
3785
|
-
return
|
|
3785
|
+
return xp.fromDefaultSpeakerOutput();
|
|
3786
3786
|
if (u instanceof r.SpeakerAudioDestination)
|
|
3787
3787
|
return new o(u);
|
|
3788
3788
|
throw new Error("Not Supported Type");
|
|
@@ -3947,29 +3947,29 @@ function Wp() {
|
|
|
3947
3947
|
}
|
|
3948
3948
|
return Ee.AudioOutputConfigImpl = o, Ee;
|
|
3949
3949
|
}
|
|
3950
|
-
var
|
|
3950
|
+
var Wp = {};
|
|
3951
3951
|
(function(t) {
|
|
3952
3952
|
Object.defineProperty(t, "__esModule", { value: !0 }), t.CancellationReason = void 0, function(e) {
|
|
3953
3953
|
e[e.Error = 0] = "Error", e[e.EndOfStream = 1] = "EndOfStream";
|
|
3954
3954
|
}(t.CancellationReason || (t.CancellationReason = {}));
|
|
3955
|
-
})(
|
|
3955
|
+
})(Wp);
|
|
3956
3956
|
var Ei = {};
|
|
3957
3957
|
Object.defineProperty(Ei, "__esModule", { value: !0 });
|
|
3958
3958
|
Ei.PullAudioInputStreamCallback = void 0;
|
|
3959
|
-
class
|
|
3959
|
+
class rf {
|
|
3960
3960
|
}
|
|
3961
|
-
Ei.PullAudioInputStreamCallback =
|
|
3961
|
+
Ei.PullAudioInputStreamCallback = rf;
|
|
3962
3962
|
var Ii = {};
|
|
3963
3963
|
Object.defineProperty(Ii, "__esModule", { value: !0 });
|
|
3964
3964
|
Ii.PushAudioOutputStreamCallback = void 0;
|
|
3965
|
-
class
|
|
3965
|
+
class nf {
|
|
3966
3966
|
}
|
|
3967
|
-
Ii.PushAudioOutputStreamCallback =
|
|
3967
|
+
Ii.PushAudioOutputStreamCallback = nf;
|
|
3968
3968
|
var Ti = {};
|
|
3969
3969
|
Object.defineProperty(Ti, "__esModule", { value: !0 });
|
|
3970
3970
|
Ti.KeywordRecognitionModel = void 0;
|
|
3971
3971
|
const Ho = b;
|
|
3972
|
-
class
|
|
3972
|
+
class sf {
|
|
3973
3973
|
/**
|
|
3974
3974
|
* Create and initializes a new instance.
|
|
3975
3975
|
* @constructor
|
|
@@ -4012,11 +4012,11 @@ class of {
|
|
|
4012
4012
|
this.privDisposed || (this.privDisposed = !0);
|
|
4013
4013
|
}
|
|
4014
4014
|
}
|
|
4015
|
-
Ti.KeywordRecognitionModel =
|
|
4015
|
+
Ti.KeywordRecognitionModel = sf;
|
|
4016
4016
|
var Ai = {};
|
|
4017
4017
|
Object.defineProperty(Ai, "__esModule", { value: !0 });
|
|
4018
4018
|
Ai.SessionEventArgs = void 0;
|
|
4019
|
-
class
|
|
4019
|
+
class of {
|
|
4020
4020
|
/**
|
|
4021
4021
|
* Creates and initializes an instance of this class.
|
|
4022
4022
|
* @constructor
|
|
@@ -4036,9 +4036,9 @@ class af {
|
|
|
4036
4036
|
return this.privSessionId;
|
|
4037
4037
|
}
|
|
4038
4038
|
}
|
|
4039
|
-
Ai.SessionEventArgs =
|
|
4039
|
+
Ai.SessionEventArgs = of;
|
|
4040
4040
|
var Ht = {}, $o;
|
|
4041
|
-
function
|
|
4041
|
+
function af() {
|
|
4042
4042
|
if ($o)
|
|
4043
4043
|
return Ht;
|
|
4044
4044
|
$o = 1, Object.defineProperty(Ht, "__esModule", { value: !0 }), Ht.RecognitionEventArgs = void 0;
|
|
@@ -4065,14 +4065,14 @@ function cf() {
|
|
|
4065
4065
|
};
|
|
4066
4066
|
return Ht.RecognitionEventArgs = e, Ht;
|
|
4067
4067
|
}
|
|
4068
|
-
var
|
|
4068
|
+
var Vp = {};
|
|
4069
4069
|
(function(t) {
|
|
4070
4070
|
Object.defineProperty(t, "__esModule", { value: !0 }), t.OutputFormat = void 0, function(e) {
|
|
4071
4071
|
e[e.Simple = 0] = "Simple", e[e.Detailed = 1] = "Detailed";
|
|
4072
4072
|
}(t.OutputFormat || (t.OutputFormat = {}));
|
|
4073
|
-
})(
|
|
4073
|
+
})(Vp);
|
|
4074
4074
|
var $t = {}, Ko;
|
|
4075
|
-
function
|
|
4075
|
+
function cf() {
|
|
4076
4076
|
if (Ko)
|
|
4077
4077
|
return $t;
|
|
4078
4078
|
Ko = 1, Object.defineProperty($t, "__esModule", { value: !0 }), $t.IntentRecognitionEventArgs = void 0;
|
|
@@ -4104,7 +4104,7 @@ function pf() {
|
|
|
4104
4104
|
var wi = {};
|
|
4105
4105
|
Object.defineProperty(wi, "__esModule", { value: !0 });
|
|
4106
4106
|
wi.RecognitionResult = void 0;
|
|
4107
|
-
class
|
|
4107
|
+
class pf {
|
|
4108
4108
|
/**
|
|
4109
4109
|
* Creates and initializes an instance of this class.
|
|
4110
4110
|
* @constructor
|
|
@@ -4223,9 +4223,9 @@ class uf {
|
|
|
4223
4223
|
return this.privProperties;
|
|
4224
4224
|
}
|
|
4225
4225
|
}
|
|
4226
|
-
wi.RecognitionResult =
|
|
4226
|
+
wi.RecognitionResult = pf;
|
|
4227
4227
|
var Kt = {}, Jo;
|
|
4228
|
-
function
|
|
4228
|
+
function uf() {
|
|
4229
4229
|
if (Jo)
|
|
4230
4230
|
return Kt;
|
|
4231
4231
|
Jo = 1, Object.defineProperty(Kt, "__esModule", { value: !0 }), Kt.SpeechRecognitionResult = void 0;
|
|
@@ -4264,7 +4264,7 @@ function df() {
|
|
|
4264
4264
|
return Kt.SpeechRecognitionResult = e, Kt;
|
|
4265
4265
|
}
|
|
4266
4266
|
var Jt = {}, Go;
|
|
4267
|
-
function
|
|
4267
|
+
function df() {
|
|
4268
4268
|
if (Go)
|
|
4269
4269
|
return Jt;
|
|
4270
4270
|
Go = 1, Object.defineProperty(Jt, "__esModule", { value: !0 }), Jt.IntentRecognitionResult = void 0;
|
|
@@ -4305,7 +4305,7 @@ var wt = {};
|
|
|
4305
4305
|
Object.defineProperty(wt, "__esModule", { value: !0 });
|
|
4306
4306
|
wt.LanguageUnderstandingModelImpl = wt.LanguageUnderstandingModel = void 0;
|
|
4307
4307
|
const Rt = b;
|
|
4308
|
-
class
|
|
4308
|
+
class Hp {
|
|
4309
4309
|
/**
|
|
4310
4310
|
* Creates and initializes a new instance
|
|
4311
4311
|
* @constructor
|
|
@@ -4366,12 +4366,12 @@ class $p {
|
|
|
4366
4366
|
return p.appId = r, p.region = i, p.subscriptionKey = e, p;
|
|
4367
4367
|
}
|
|
4368
4368
|
}
|
|
4369
|
-
wt.LanguageUnderstandingModel =
|
|
4370
|
-
class Vn extends
|
|
4369
|
+
wt.LanguageUnderstandingModel = Hp;
|
|
4370
|
+
class Vn extends Hp {
|
|
4371
4371
|
}
|
|
4372
4372
|
wt.LanguageUnderstandingModelImpl = Vn;
|
|
4373
4373
|
var Ie = {}, Qo;
|
|
4374
|
-
function
|
|
4374
|
+
function hf() {
|
|
4375
4375
|
if (Qo)
|
|
4376
4376
|
return Ie;
|
|
4377
4377
|
Qo = 1, Object.defineProperty(Ie, "__esModule", { value: !0 }), Ie.MeetingTranscriptionEventArgs = Ie.ConversationTranscriptionEventArgs = Ie.SpeechRecognitionEventArgs = void 0;
|
|
@@ -4475,7 +4475,7 @@ function zn() {
|
|
|
4475
4475
|
return Qt.CancellationEventArgsBase = e, Qt;
|
|
4476
4476
|
}
|
|
4477
4477
|
var Zo;
|
|
4478
|
-
function
|
|
4478
|
+
function lf() {
|
|
4479
4479
|
if (Zo)
|
|
4480
4480
|
return Gt;
|
|
4481
4481
|
Zo = 1, Object.defineProperty(Gt, "__esModule", { value: !0 }), Gt.SpeechRecognitionCanceledEventArgs = void 0;
|
|
@@ -4485,7 +4485,7 @@ function vf() {
|
|
|
4485
4485
|
return Gt.SpeechRecognitionCanceledEventArgs = e, Gt;
|
|
4486
4486
|
}
|
|
4487
4487
|
var Xt = {}, Yo;
|
|
4488
|
-
function
|
|
4488
|
+
function vf() {
|
|
4489
4489
|
if (Yo)
|
|
4490
4490
|
return Xt;
|
|
4491
4491
|
Yo = 1, Object.defineProperty(Xt, "__esModule", { value: !0 }), Xt.TranslationRecognitionEventArgs = void 0;
|
|
@@ -4515,7 +4515,7 @@ function ff() {
|
|
|
4515
4515
|
return Xt.TranslationRecognitionEventArgs = e, Xt;
|
|
4516
4516
|
}
|
|
4517
4517
|
var Zt = {}, ea;
|
|
4518
|
-
function
|
|
4518
|
+
function ff() {
|
|
4519
4519
|
if (ea)
|
|
4520
4520
|
return Zt;
|
|
4521
4521
|
ea = 1, Object.defineProperty(Zt, "__esModule", { value: !0 }), Zt.TranslationSynthesisEventArgs = void 0;
|
|
@@ -4544,12 +4544,12 @@ function gf() {
|
|
|
4544
4544
|
return Zt.TranslationSynthesisEventArgs = e, Zt;
|
|
4545
4545
|
}
|
|
4546
4546
|
var Yt = {}, ta;
|
|
4547
|
-
function
|
|
4547
|
+
function Kp() {
|
|
4548
4548
|
if (ta)
|
|
4549
4549
|
return Yt;
|
|
4550
4550
|
ta = 1, Object.defineProperty(Yt, "__esModule", { value: !0 }), Yt.TranslationRecognitionResult = void 0;
|
|
4551
4551
|
const t = R();
|
|
4552
|
-
let e = class
|
|
4552
|
+
let e = class $p extends t.SpeechRecognitionResult {
|
|
4553
4553
|
/**
|
|
4554
4554
|
* Creates and initializes an instance of this class.
|
|
4555
4555
|
* @constructor
|
|
@@ -4569,7 +4569,7 @@ function Jp() {
|
|
|
4569
4569
|
super(p, a, s, n, o, c, u, void 0, d, h, l), this.privTranslations = i;
|
|
4570
4570
|
}
|
|
4571
4571
|
static fromSpeechRecognitionResult(i) {
|
|
4572
|
-
return new
|
|
4572
|
+
return new $p(void 0, i.resultId, i.reason, i.text, i.duration, i.offset, i.language, i.languageDetectionConfidence, i.errorDetails, i.json, i.properties);
|
|
4573
4573
|
}
|
|
4574
4574
|
/**
|
|
4575
4575
|
* Presents the translation results. Each item in the dictionary represents
|
|
@@ -4590,7 +4590,7 @@ function Jp() {
|
|
|
4590
4590
|
var _i = {};
|
|
4591
4591
|
Object.defineProperty(_i, "__esModule", { value: !0 });
|
|
4592
4592
|
_i.TranslationSynthesisResult = void 0;
|
|
4593
|
-
class
|
|
4593
|
+
class gf {
|
|
4594
4594
|
/**
|
|
4595
4595
|
* Creates and initializes an instance of this class.
|
|
4596
4596
|
* @constructor
|
|
@@ -4621,15 +4621,15 @@ class mf {
|
|
|
4621
4621
|
return this.privReason;
|
|
4622
4622
|
}
|
|
4623
4623
|
}
|
|
4624
|
-
_i.TranslationSynthesisResult =
|
|
4625
|
-
var
|
|
4624
|
+
_i.TranslationSynthesisResult = gf;
|
|
4625
|
+
var Jp = {};
|
|
4626
4626
|
(function(t) {
|
|
4627
4627
|
Object.defineProperty(t, "__esModule", { value: !0 }), t.ResultReason = void 0, function(e) {
|
|
4628
4628
|
e[e.NoMatch = 0] = "NoMatch", e[e.Canceled = 1] = "Canceled", e[e.RecognizingSpeech = 2] = "RecognizingSpeech", e[e.RecognizedSpeech = 3] = "RecognizedSpeech", e[e.RecognizedKeyword = 4] = "RecognizedKeyword", e[e.RecognizingIntent = 5] = "RecognizingIntent", e[e.RecognizedIntent = 6] = "RecognizedIntent", e[e.TranslatingSpeech = 7] = "TranslatingSpeech", e[e.TranslatedSpeech = 8] = "TranslatedSpeech", e[e.SynthesizingAudio = 9] = "SynthesizingAudio", e[e.SynthesizingAudioCompleted = 10] = "SynthesizingAudioCompleted", e[e.SynthesizingAudioStarted = 11] = "SynthesizingAudioStarted", e[e.EnrollingVoiceProfile = 12] = "EnrollingVoiceProfile", e[e.EnrolledVoiceProfile = 13] = "EnrolledVoiceProfile", e[e.RecognizedSpeakers = 14] = "RecognizedSpeakers", e[e.RecognizedSpeaker = 15] = "RecognizedSpeaker", e[e.ResetVoiceProfile = 16] = "ResetVoiceProfile", e[e.DeletedVoiceProfile = 17] = "DeletedVoiceProfile", e[e.VoicesListRetrieved = 18] = "VoicesListRetrieved", e[e.TranslatingParticipantSpeech = 19] = "TranslatingParticipantSpeech", e[e.TranslatedParticipantSpeech = 20] = "TranslatedParticipantSpeech", e[e.TranslatedInstantMessage = 21] = "TranslatedInstantMessage", e[e.TranslatedParticipantInstantMessage = 22] = "TranslatedParticipantInstantMessage";
|
|
4629
4629
|
}(t.ResultReason || (t.ResultReason = {}));
|
|
4630
|
-
})(
|
|
4630
|
+
})(Jp);
|
|
4631
4631
|
var Ge = {}, ra;
|
|
4632
|
-
function
|
|
4632
|
+
function mf() {
|
|
4633
4633
|
if (ra)
|
|
4634
4634
|
return Ge;
|
|
4635
4635
|
ra = 1, Object.defineProperty(Ge, "__esModule", { value: !0 }), Ge.SpeechConfigImpl = Ge.SpeechConfig = void 0;
|
|
@@ -4820,7 +4820,7 @@ function Sf() {
|
|
|
4820
4820
|
return Ge.SpeechConfigImpl = p, Ge;
|
|
4821
4821
|
}
|
|
4822
4822
|
var Qe = {}, na;
|
|
4823
|
-
function
|
|
4823
|
+
function Sf() {
|
|
4824
4824
|
if (na)
|
|
4825
4825
|
return Qe;
|
|
4826
4826
|
na = 1, Object.defineProperty(Qe, "__esModule", { value: !0 }), Qe.SpeechTranslationConfigImpl = Qe.SpeechTranslationConfig = void 0;
|
|
@@ -5118,12 +5118,12 @@ function Cf() {
|
|
|
5118
5118
|
return Qe.SpeechTranslationConfigImpl = p, Qe;
|
|
5119
5119
|
}
|
|
5120
5120
|
var er = {}, ia;
|
|
5121
|
-
function
|
|
5121
|
+
function Qp() {
|
|
5122
5122
|
if (ia)
|
|
5123
5123
|
return er;
|
|
5124
5124
|
ia = 1, Object.defineProperty(er, "__esModule", { value: !0 }), er.PropertyCollection = void 0;
|
|
5125
5125
|
const t = R();
|
|
5126
|
-
let e = class
|
|
5126
|
+
let e = class Gp {
|
|
5127
5127
|
constructor() {
|
|
5128
5128
|
this.privKeys = [], this.privValues = [];
|
|
5129
5129
|
}
|
|
@@ -5174,7 +5174,7 @@ function Xp() {
|
|
|
5174
5174
|
* @returns {PropertyCollection} A copy of the collection.
|
|
5175
5175
|
*/
|
|
5176
5176
|
clone() {
|
|
5177
|
-
const i = new
|
|
5177
|
+
const i = new Gp();
|
|
5178
5178
|
for (let p = 0; p < this.privKeys.length; p++)
|
|
5179
5179
|
i.privKeys.push(this.privKeys[p]), i.privValues.push(this.privValues[p]);
|
|
5180
5180
|
return i;
|
|
@@ -5214,12 +5214,12 @@ var bi = {};
|
|
|
5214
5214
|
}(t.PropertyId || (t.PropertyId = {}));
|
|
5215
5215
|
})(bi);
|
|
5216
5216
|
var tr = {}, sa;
|
|
5217
|
-
function
|
|
5217
|
+
function Cf() {
|
|
5218
5218
|
if (sa)
|
|
5219
5219
|
return tr;
|
|
5220
5220
|
sa = 1, Object.defineProperty(tr, "__esModule", { value: !0 }), tr.Recognizer = void 0;
|
|
5221
5221
|
const t = T(), e = A(), r = b, i = R();
|
|
5222
|
-
let p = class
|
|
5222
|
+
let p = class Xp {
|
|
5223
5223
|
/**
|
|
5224
5224
|
* Creates and initializes an instance of a Recognizer
|
|
5225
5225
|
* @constructor
|
|
@@ -5288,7 +5288,7 @@ function yf() {
|
|
|
5288
5288
|
let s = typeof window < "u" ? "Browser" : "Node", n = "unknown", o = "unknown";
|
|
5289
5289
|
typeof navigator < "u" && (s = s + "/" + navigator.platform, n = navigator.userAgent, o = navigator.appVersion);
|
|
5290
5290
|
const c = this.createRecognizerConfig(new t.SpeechServiceConfig(new t.Context(new t.OS(s, n, o))));
|
|
5291
|
-
this.privReco = this.createServiceRecognizer(
|
|
5291
|
+
this.privReco = this.createServiceRecognizer(Xp.getAuth(this.privProperties, this.tokenCredential), this.privConnectionFactory, this.audioConfig, c);
|
|
5292
5292
|
}
|
|
5293
5293
|
async recognizeOnceAsyncImpl(s) {
|
|
5294
5294
|
r.Contracts.throwIfDisposed(this.privDisposed);
|
|
@@ -5340,12 +5340,12 @@ var rr = {}, he = {};
|
|
|
5340
5340
|
}(t.RecognitionMode || (t.RecognitionMode = {}));
|
|
5341
5341
|
})(he);
|
|
5342
5342
|
var oa;
|
|
5343
|
-
function
|
|
5343
|
+
function yf() {
|
|
5344
5344
|
if (oa)
|
|
5345
5345
|
return rr;
|
|
5346
5346
|
oa = 1, Object.defineProperty(rr, "__esModule", { value: !0 }), rr.SpeechRecognizer = void 0;
|
|
5347
5347
|
const t = T(), e = he, r = A(), i = b, p = R();
|
|
5348
|
-
let a = class
|
|
5348
|
+
let a = class Zp extends p.Recognizer {
|
|
5349
5349
|
/**
|
|
5350
5350
|
* SpeechRecognizer constructor.
|
|
5351
5351
|
* @constructor
|
|
@@ -5365,7 +5365,7 @@ function Rf() {
|
|
|
5365
5365
|
*/
|
|
5366
5366
|
static FromConfig(n, o, c) {
|
|
5367
5367
|
const u = n;
|
|
5368
|
-
return o.properties.mergeTo(u.properties), new
|
|
5368
|
+
return o.properties.mergeTo(u.properties), new Zp(n, c);
|
|
5369
5369
|
}
|
|
5370
5370
|
/**
|
|
5371
5371
|
* Gets the endpoint id of a customized speech model that is used for speech recognition.
|
|
@@ -5525,7 +5525,7 @@ function Rf() {
|
|
|
5525
5525
|
return rr.SpeechRecognizer = a, rr;
|
|
5526
5526
|
}
|
|
5527
5527
|
var nr = {}, aa;
|
|
5528
|
-
function
|
|
5528
|
+
function Rf() {
|
|
5529
5529
|
if (aa)
|
|
5530
5530
|
return nr;
|
|
5531
5531
|
aa = 1, Object.defineProperty(nr, "__esModule", { value: !0 }), nr.IntentRecognizer = void 0;
|
|
@@ -5757,18 +5757,18 @@ function Pf() {
|
|
|
5757
5757
|
};
|
|
5758
5758
|
return nr.IntentRecognizer = a, nr;
|
|
5759
5759
|
}
|
|
5760
|
-
var
|
|
5760
|
+
var Yp = {};
|
|
5761
5761
|
(function(t) {
|
|
5762
5762
|
Object.defineProperty(t, "__esModule", { value: !0 }), t.VoiceProfileType = void 0, function(e) {
|
|
5763
5763
|
e[e.TextIndependentIdentification = 0] = "TextIndependentIdentification", e[e.TextDependentVerification = 1] = "TextDependentVerification", e[e.TextIndependentVerification = 2] = "TextIndependentVerification";
|
|
5764
5764
|
}(t.VoiceProfileType || (t.VoiceProfileType = {}));
|
|
5765
|
-
})(
|
|
5765
|
+
})(Yp);
|
|
5766
5766
|
var ir = {}, sr = {}, Xe = {}, ca;
|
|
5767
|
-
function
|
|
5767
|
+
function eu() {
|
|
5768
5768
|
if (ca)
|
|
5769
5769
|
return Xe;
|
|
5770
5770
|
ca = 1, Object.defineProperty(Xe, "__esModule", { value: !0 }), Xe.ConnectionMessageImpl = Xe.ConnectionMessage = void 0;
|
|
5771
|
-
const t = W, e = A(), r =
|
|
5771
|
+
const t = W, e = A(), r = Qp(), i = bi;
|
|
5772
5772
|
let p = class {
|
|
5773
5773
|
};
|
|
5774
5774
|
Xe.ConnectionMessage = p;
|
|
@@ -5829,11 +5829,11 @@ function tu() {
|
|
|
5829
5829
|
return Xe.ConnectionMessageImpl = a, Xe;
|
|
5830
5830
|
}
|
|
5831
5831
|
var pa;
|
|
5832
|
-
function
|
|
5832
|
+
function tu() {
|
|
5833
5833
|
if (pa)
|
|
5834
5834
|
return sr;
|
|
5835
5835
|
pa = 1, Object.defineProperty(sr, "__esModule", { value: !0 }), sr.Connection = void 0;
|
|
5836
|
-
const t = T(), e = A(), r =
|
|
5836
|
+
const t = T(), e = A(), r = eu(), i = b, p = R();
|
|
5837
5837
|
let a = class Bs {
|
|
5838
5838
|
/**
|
|
5839
5839
|
* Gets the Connection instance from the specified recognizer.
|
|
@@ -5923,12 +5923,12 @@ function ru() {
|
|
|
5923
5923
|
return sr.Connection = a, sr;
|
|
5924
5924
|
}
|
|
5925
5925
|
var ua;
|
|
5926
|
-
function
|
|
5926
|
+
function Pf() {
|
|
5927
5927
|
if (ua)
|
|
5928
5928
|
return ir;
|
|
5929
5929
|
ua = 1, Object.defineProperty(ir, "__esModule", { value: !0 }), ir.TranslationRecognizer = void 0;
|
|
5930
|
-
const t = T(), e = he, r = A(), i =
|
|
5931
|
-
let s = class
|
|
5930
|
+
const t = T(), e = he, r = A(), i = tu(), p = b, a = R();
|
|
5931
|
+
let s = class ru extends a.Recognizer {
|
|
5932
5932
|
/**
|
|
5933
5933
|
* Initializes an instance of the TranslationRecognizer.
|
|
5934
5934
|
* @constructor
|
|
@@ -5949,7 +5949,7 @@ function Ef() {
|
|
|
5949
5949
|
*/
|
|
5950
5950
|
static FromConfig(o, c, u) {
|
|
5951
5951
|
const d = o;
|
|
5952
|
-
return c.properties.mergeTo(d.properties), c.properties.getProperty(a.PropertyId.SpeechServiceConnection_AutoDetectSourceLanguages, void 0) === t.AutoDetectSourceLanguagesOpenRangeOptionName && d.properties.setProperty(a.PropertyId.SpeechServiceConnection_RecoLanguage, "en-US"), new
|
|
5952
|
+
return c.properties.mergeTo(d.properties), c.properties.getProperty(a.PropertyId.SpeechServiceConnection_AutoDetectSourceLanguages, void 0) === t.AutoDetectSourceLanguagesOpenRangeOptionName && d.properties.setProperty(a.PropertyId.SpeechServiceConnection_RecoLanguage, "en-US"), new ru(o, u);
|
|
5953
5953
|
}
|
|
5954
5954
|
/**
|
|
5955
5955
|
* Gets the language name that was set when the recognizer was created.
|
|
@@ -6117,7 +6117,7 @@ function Ef() {
|
|
|
6117
6117
|
return ir.TranslationRecognizer = s, ir;
|
|
6118
6118
|
}
|
|
6119
6119
|
var or = {}, da;
|
|
6120
|
-
function
|
|
6120
|
+
function Ef() {
|
|
6121
6121
|
if (da)
|
|
6122
6122
|
return or;
|
|
6123
6123
|
da = 1, Object.defineProperty(or, "__esModule", { value: !0 }), or.Translations = void 0;
|
|
@@ -6164,19 +6164,19 @@ function If() {
|
|
|
6164
6164
|
};
|
|
6165
6165
|
return or.Translations = e, or;
|
|
6166
6166
|
}
|
|
6167
|
-
var
|
|
6167
|
+
var nu = {};
|
|
6168
6168
|
(function(t) {
|
|
6169
6169
|
Object.defineProperty(t, "__esModule", { value: !0 }), t.NoMatchReason = void 0, function(e) {
|
|
6170
6170
|
e[e.NotRecognized = 0] = "NotRecognized", e[e.InitialSilenceTimeout = 1] = "InitialSilenceTimeout", e[e.InitialBabbleTimeout = 2] = "InitialBabbleTimeout";
|
|
6171
6171
|
}(t.NoMatchReason || (t.NoMatchReason = {}));
|
|
6172
|
-
})(
|
|
6172
|
+
})(nu);
|
|
6173
6173
|
var ar = {}, ha;
|
|
6174
|
-
function
|
|
6174
|
+
function If() {
|
|
6175
6175
|
if (ha)
|
|
6176
6176
|
return ar;
|
|
6177
6177
|
ha = 1, Object.defineProperty(ar, "__esModule", { value: !0 }), ar.NoMatchDetails = void 0;
|
|
6178
6178
|
const t = T(), e = R();
|
|
6179
|
-
let r = class
|
|
6179
|
+
let r = class iu {
|
|
6180
6180
|
/**
|
|
6181
6181
|
* Creates and initializes an instance of this class.
|
|
6182
6182
|
* @constructor
|
|
@@ -6208,7 +6208,7 @@ function Tf() {
|
|
|
6208
6208
|
s = e.NoMatchReason.NotRecognized;
|
|
6209
6209
|
break;
|
|
6210
6210
|
}
|
|
6211
|
-
return new
|
|
6211
|
+
return new iu(s);
|
|
6212
6212
|
}
|
|
6213
6213
|
/**
|
|
6214
6214
|
* The reason the recognition was canceled.
|
|
@@ -6226,7 +6226,7 @@ function Tf() {
|
|
|
6226
6226
|
var Mi = {};
|
|
6227
6227
|
Object.defineProperty(Mi, "__esModule", { value: !0 });
|
|
6228
6228
|
Mi.TranslationRecognitionCanceledEventArgs = void 0;
|
|
6229
|
-
class
|
|
6229
|
+
class Tf {
|
|
6230
6230
|
/**
|
|
6231
6231
|
* Creates and initializes an instance of this class.
|
|
6232
6232
|
* @constructor
|
|
@@ -6287,9 +6287,9 @@ class Af {
|
|
|
6287
6287
|
return this.privErrorDetails;
|
|
6288
6288
|
}
|
|
6289
6289
|
}
|
|
6290
|
-
Mi.TranslationRecognitionCanceledEventArgs =
|
|
6290
|
+
Mi.TranslationRecognitionCanceledEventArgs = Tf;
|
|
6291
6291
|
var cr = {}, la;
|
|
6292
|
-
function
|
|
6292
|
+
function Af() {
|
|
6293
6293
|
if (la)
|
|
6294
6294
|
return cr;
|
|
6295
6295
|
la = 1, Object.defineProperty(cr, "__esModule", { value: !0 }), cr.IntentRecognitionCanceledEventArgs = void 0;
|
|
@@ -6339,7 +6339,7 @@ function wf() {
|
|
|
6339
6339
|
var jn = {};
|
|
6340
6340
|
Object.defineProperty(jn, "__esModule", { value: !0 });
|
|
6341
6341
|
jn.CancellationDetailsBase = void 0;
|
|
6342
|
-
class
|
|
6342
|
+
class wf {
|
|
6343
6343
|
/**
|
|
6344
6344
|
* Creates and initializes an instance of this class.
|
|
6345
6345
|
* @constructor
|
|
@@ -6378,14 +6378,14 @@ class _f {
|
|
|
6378
6378
|
return this.privErrorCode;
|
|
6379
6379
|
}
|
|
6380
6380
|
}
|
|
6381
|
-
jn.CancellationDetailsBase =
|
|
6381
|
+
jn.CancellationDetailsBase = wf;
|
|
6382
6382
|
var pr = {}, va;
|
|
6383
|
-
function
|
|
6383
|
+
function _f() {
|
|
6384
6384
|
if (va)
|
|
6385
6385
|
return pr;
|
|
6386
6386
|
va = 1, Object.defineProperty(pr, "__esModule", { value: !0 }), pr.CancellationDetails = void 0;
|
|
6387
6387
|
const t = T(), e = jn, r = R();
|
|
6388
|
-
let i = class
|
|
6388
|
+
let i = class su extends e.CancellationDetailsBase {
|
|
6389
6389
|
constructor(a, s, n) {
|
|
6390
6390
|
super(a, s, n);
|
|
6391
6391
|
}
|
|
@@ -6403,19 +6403,19 @@ function bf() {
|
|
|
6403
6403
|
const o = t.SimpleSpeechPhrase.fromJSON(a.json, 0);
|
|
6404
6404
|
s = t.EnumTranslation.implTranslateCancelResult(o.RecognitionStatus);
|
|
6405
6405
|
}
|
|
6406
|
-
return a.properties && (n = r.CancellationErrorCode[a.properties.getProperty(t.CancellationErrorCodePropertyName, r.CancellationErrorCode[r.CancellationErrorCode.NoError])]), new
|
|
6406
|
+
return a.properties && (n = r.CancellationErrorCode[a.properties.getProperty(t.CancellationErrorCodePropertyName, r.CancellationErrorCode[r.CancellationErrorCode.NoError])]), new su(s, a.errorDetails || t.EnumTranslation.implTranslateErrorDetails(n), n);
|
|
6407
6407
|
}
|
|
6408
6408
|
};
|
|
6409
6409
|
return pr.CancellationDetails = i, pr;
|
|
6410
6410
|
}
|
|
6411
|
-
var
|
|
6411
|
+
var ou = {};
|
|
6412
6412
|
(function(t) {
|
|
6413
6413
|
Object.defineProperty(t, "__esModule", { value: !0 }), t.CancellationErrorCode = void 0, function(e) {
|
|
6414
6414
|
e[e.NoError = 0] = "NoError", e[e.AuthenticationFailure = 1] = "AuthenticationFailure", e[e.BadRequestParameters = 2] = "BadRequestParameters", e[e.TooManyRequests = 3] = "TooManyRequests", e[e.ConnectionFailure = 4] = "ConnectionFailure", e[e.ServiceTimeout = 5] = "ServiceTimeout", e[e.ServiceError = 6] = "ServiceError", e[e.RuntimeError = 7] = "RuntimeError", e[e.Forbidden = 8] = "Forbidden";
|
|
6415
6415
|
}(t.CancellationErrorCode || (t.CancellationErrorCode = {}));
|
|
6416
|
-
})(
|
|
6416
|
+
})(ou);
|
|
6417
6417
|
var ur = {}, fa;
|
|
6418
|
-
function
|
|
6418
|
+
function bf() {
|
|
6419
6419
|
if (fa)
|
|
6420
6420
|
return ur;
|
|
6421
6421
|
fa = 1, Object.defineProperty(ur, "__esModule", { value: !0 }), ur.ConnectionEventArgs = void 0;
|
|
@@ -6425,7 +6425,7 @@ function Mf() {
|
|
|
6425
6425
|
return ur.ConnectionEventArgs = e, ur;
|
|
6426
6426
|
}
|
|
6427
6427
|
var dr = {}, ga;
|
|
6428
|
-
function
|
|
6428
|
+
function Mf() {
|
|
6429
6429
|
if (ga)
|
|
6430
6430
|
return dr;
|
|
6431
6431
|
ga = 1, Object.defineProperty(dr, "__esModule", { value: !0 }), dr.ServiceEventArgs = void 0;
|
|
@@ -6608,7 +6608,7 @@ function Zs() {
|
|
|
6608
6608
|
return Ze.DialogServiceConfigImpl = i, Ze;
|
|
6609
6609
|
}
|
|
6610
6610
|
var hr = {}, Sa;
|
|
6611
|
-
function
|
|
6611
|
+
function Of() {
|
|
6612
6612
|
if (Sa)
|
|
6613
6613
|
return hr;
|
|
6614
6614
|
Sa = 1, Object.defineProperty(hr, "__esModule", { value: !0 }), hr.BotFrameworkConfig = void 0;
|
|
@@ -6711,7 +6711,7 @@ function Df() {
|
|
|
6711
6711
|
return hr.BotFrameworkConfig = i, hr;
|
|
6712
6712
|
}
|
|
6713
6713
|
var lr = {}, Ca;
|
|
6714
|
-
function
|
|
6714
|
+
function Df() {
|
|
6715
6715
|
if (Ca)
|
|
6716
6716
|
return lr;
|
|
6717
6717
|
Ca = 1, Object.defineProperty(lr, "__esModule", { value: !0 }), lr.CustomCommandsConfig = void 0;
|
|
@@ -6872,7 +6872,7 @@ function Ce() {
|
|
|
6872
6872
|
return gr.ConnectionFactoryBase = p, gr;
|
|
6873
6873
|
}
|
|
6874
6874
|
var Ra;
|
|
6875
|
-
function
|
|
6875
|
+
function kf() {
|
|
6876
6876
|
if (Ra)
|
|
6877
6877
|
return fr;
|
|
6878
6878
|
Ra = 1, Object.defineProperty(fr, "__esModule", { value: !0 }), fr.DialogConnectionFactory = void 0;
|
|
@@ -6896,11 +6896,11 @@ function Nf() {
|
|
|
6896
6896
|
return fr.DialogConnectionFactory = n, n.ApiKey = "api", n.BaseUrl = "convai.speech", fr;
|
|
6897
6897
|
}
|
|
6898
6898
|
var Pa;
|
|
6899
|
-
function
|
|
6899
|
+
function Nf() {
|
|
6900
6900
|
if (Pa)
|
|
6901
6901
|
return vr;
|
|
6902
6902
|
Pa = 1, Object.defineProperty(vr, "__esModule", { value: !0 }), vr.DialogServiceConnector = void 0;
|
|
6903
|
-
const t =
|
|
6903
|
+
const t = kf(), e = T(), r = he, i = A(), p = b, a = R(), s = bi;
|
|
6904
6904
|
let n = class extends a.Recognizer {
|
|
6905
6905
|
/**
|
|
6906
6906
|
* Initializes an instance of the DialogServiceConnector.
|
|
@@ -7048,7 +7048,7 @@ function zf() {
|
|
|
7048
7048
|
var Di = {};
|
|
7049
7049
|
Object.defineProperty(Di, "__esModule", { value: !0 });
|
|
7050
7050
|
Di.ActivityReceivedEventArgs = void 0;
|
|
7051
|
-
class
|
|
7051
|
+
class zf {
|
|
7052
7052
|
/**
|
|
7053
7053
|
* Creates and initializes an instance of this class.
|
|
7054
7054
|
* @constructor
|
|
@@ -7071,7 +7071,7 @@ class jf {
|
|
|
7071
7071
|
return this.privAudioStream;
|
|
7072
7072
|
}
|
|
7073
7073
|
}
|
|
7074
|
-
Di.ActivityReceivedEventArgs =
|
|
7074
|
+
Di.ActivityReceivedEventArgs = zf;
|
|
7075
7075
|
var ki = {}, Ni = {};
|
|
7076
7076
|
Object.defineProperty(Ni, "__esModule", { value: !0 });
|
|
7077
7077
|
Ni.TurnStatusResponsePayload = void 0;
|
|
@@ -7104,15 +7104,15 @@ class Ys {
|
|
|
7104
7104
|
Ni.TurnStatusResponsePayload = Ys;
|
|
7105
7105
|
Object.defineProperty(ki, "__esModule", { value: !0 });
|
|
7106
7106
|
ki.TurnStatusReceivedEventArgs = void 0;
|
|
7107
|
-
const
|
|
7108
|
-
class
|
|
7107
|
+
const jf = Ni;
|
|
7108
|
+
class Lf {
|
|
7109
7109
|
/**
|
|
7110
7110
|
* Creates and initializes an instance of this class.
|
|
7111
7111
|
* @constructor
|
|
7112
7112
|
* @param {string} turnStatus - The JSON-encoded turn status message.
|
|
7113
7113
|
*/
|
|
7114
7114
|
constructor(e) {
|
|
7115
|
-
this.privTurnStatus =
|
|
7115
|
+
this.privTurnStatus = jf.TurnStatusResponsePayload.fromJSON(e);
|
|
7116
7116
|
}
|
|
7117
7117
|
/**
|
|
7118
7118
|
* Gets the interaction identifier associated with this turn status event.
|
|
@@ -7145,21 +7145,21 @@ class Bf {
|
|
|
7145
7145
|
return this.privTurnStatus.statusCode;
|
|
7146
7146
|
}
|
|
7147
7147
|
}
|
|
7148
|
-
ki.TurnStatusReceivedEventArgs =
|
|
7149
|
-
var
|
|
7148
|
+
ki.TurnStatusReceivedEventArgs = Lf;
|
|
7149
|
+
var au = {};
|
|
7150
7150
|
(function(t) {
|
|
7151
7151
|
Object.defineProperty(t, "__esModule", { value: !0 }), t.ServicePropertyChannel = void 0, function(e) {
|
|
7152
7152
|
e[e.UriQueryParameter = 0] = "UriQueryParameter";
|
|
7153
7153
|
}(t.ServicePropertyChannel || (t.ServicePropertyChannel = {}));
|
|
7154
|
-
})(
|
|
7155
|
-
var
|
|
7154
|
+
})(au);
|
|
7155
|
+
var cu = {};
|
|
7156
7156
|
(function(t) {
|
|
7157
7157
|
Object.defineProperty(t, "__esModule", { value: !0 }), t.ProfanityOption = void 0, function(e) {
|
|
7158
7158
|
e[e.Masked = 0] = "Masked", e[e.Removed = 1] = "Removed", e[e.Raw = 2] = "Raw";
|
|
7159
7159
|
}(t.ProfanityOption || (t.ProfanityOption = {}));
|
|
7160
|
-
})(
|
|
7160
|
+
})(cu);
|
|
7161
7161
|
var mr = {}, Ea;
|
|
7162
|
-
function
|
|
7162
|
+
function Bf() {
|
|
7163
7163
|
if (Ea)
|
|
7164
7164
|
return mr;
|
|
7165
7165
|
Ea = 1, Object.defineProperty(mr, "__esModule", { value: !0 }), mr.BaseAudioPlayer = void 0;
|
|
@@ -7254,7 +7254,7 @@ function qf() {
|
|
|
7254
7254
|
var zi = {};
|
|
7255
7255
|
Object.defineProperty(zi, "__esModule", { value: !0 });
|
|
7256
7256
|
zi.ConnectionMessageEventArgs = void 0;
|
|
7257
|
-
class
|
|
7257
|
+
class qf {
|
|
7258
7258
|
constructor(e) {
|
|
7259
7259
|
this.privConnectionMessage = e;
|
|
7260
7260
|
}
|
|
@@ -7271,11 +7271,11 @@ class Ff {
|
|
|
7271
7271
|
return "Message: " + this.privConnectionMessage.toString();
|
|
7272
7272
|
}
|
|
7273
7273
|
}
|
|
7274
|
-
zi.ConnectionMessageEventArgs =
|
|
7274
|
+
zi.ConnectionMessageEventArgs = qf;
|
|
7275
7275
|
var ji = {};
|
|
7276
7276
|
Object.defineProperty(ji, "__esModule", { value: !0 });
|
|
7277
7277
|
ji.VoiceProfile = void 0;
|
|
7278
|
-
class
|
|
7278
|
+
class Ff {
|
|
7279
7279
|
/**
|
|
7280
7280
|
* Creates and initializes an instance of this class.
|
|
7281
7281
|
* @constructor
|
|
@@ -7306,9 +7306,9 @@ class xf {
|
|
|
7306
7306
|
return this.privProfileType;
|
|
7307
7307
|
}
|
|
7308
7308
|
}
|
|
7309
|
-
ji.VoiceProfile =
|
|
7309
|
+
ji.VoiceProfile = Ff;
|
|
7310
7310
|
var Ye = {}, Ia;
|
|
7311
|
-
function
|
|
7311
|
+
function xf() {
|
|
7312
7312
|
if (Ia)
|
|
7313
7313
|
return Ye;
|
|
7314
7314
|
Ia = 1, Object.defineProperty(Ye, "__esModule", { value: !0 }), Ye.VoiceProfileEnrollmentCancellationDetails = Ye.VoiceProfileEnrollmentResult = void 0;
|
|
@@ -7399,7 +7399,7 @@ function Uf() {
|
|
|
7399
7399
|
return Ye.VoiceProfileEnrollmentCancellationDetails = i, Ye;
|
|
7400
7400
|
}
|
|
7401
7401
|
var et = {}, Ta;
|
|
7402
|
-
function
|
|
7402
|
+
function Uf() {
|
|
7403
7403
|
if (Ta)
|
|
7404
7404
|
return et;
|
|
7405
7405
|
Ta = 1, Object.defineProperty(et, "__esModule", { value: !0 }), et.VoiceProfileCancellationDetails = et.VoiceProfileResult = void 0;
|
|
@@ -7440,7 +7440,7 @@ function Wf() {
|
|
|
7440
7440
|
return et.VoiceProfileCancellationDetails = p, et;
|
|
7441
7441
|
}
|
|
7442
7442
|
var Sr = {}, Aa;
|
|
7443
|
-
function
|
|
7443
|
+
function Wf() {
|
|
7444
7444
|
if (Aa)
|
|
7445
7445
|
return Sr;
|
|
7446
7446
|
Aa = 1, Object.defineProperty(Sr, "__esModule", { value: !0 }), Sr.VoiceProfilePhraseResult = void 0;
|
|
@@ -7459,11 +7459,11 @@ function Vf() {
|
|
|
7459
7459
|
return Sr.VoiceProfilePhraseResult = r, Sr;
|
|
7460
7460
|
}
|
|
7461
7461
|
var Cr = {}, wa;
|
|
7462
|
-
function
|
|
7462
|
+
function Vf() {
|
|
7463
7463
|
if (wa)
|
|
7464
7464
|
return Cr;
|
|
7465
7465
|
wa = 1, Object.defineProperty(Cr, "__esModule", { value: !0 }), Cr.VoiceProfileClient = void 0;
|
|
7466
|
-
const t = T(), e =
|
|
7466
|
+
const t = T(), e = Up(), r = b, i = R();
|
|
7467
7467
|
let p = class extends i.Recognizer {
|
|
7468
7468
|
/**
|
|
7469
7469
|
* VoiceProfileClient constructor.
|
|
@@ -7620,7 +7620,7 @@ function Hf() {
|
|
|
7620
7620
|
return Cr.VoiceProfileClient = p, Cr;
|
|
7621
7621
|
}
|
|
7622
7622
|
var yr = {}, _a;
|
|
7623
|
-
function
|
|
7623
|
+
function Hf() {
|
|
7624
7624
|
if (_a)
|
|
7625
7625
|
return yr;
|
|
7626
7626
|
_a = 1, Object.defineProperty(yr, "__esModule", { value: !0 }), yr.SpeakerRecognizer = void 0;
|
|
@@ -7712,12 +7712,12 @@ function $f() {
|
|
|
7712
7712
|
return yr.SpeakerRecognizer = i, yr;
|
|
7713
7713
|
}
|
|
7714
7714
|
var Rr = {}, ba;
|
|
7715
|
-
function
|
|
7715
|
+
function $f() {
|
|
7716
7716
|
if (ba)
|
|
7717
7717
|
return Rr;
|
|
7718
7718
|
ba = 1, Object.defineProperty(Rr, "__esModule", { value: !0 }), Rr.SpeakerIdentificationModel = void 0;
|
|
7719
7719
|
const t = b, e = R();
|
|
7720
|
-
let r = class
|
|
7720
|
+
let r = class pu {
|
|
7721
7721
|
constructor(p) {
|
|
7722
7722
|
if (this.privVoiceProfiles = [], this.privProfileIds = [], t.Contracts.throwIfNullOrUndefined(p, "VoiceProfiles"), p.length === 0)
|
|
7723
7723
|
throw new Error("Empty Voice Profiles array");
|
|
@@ -7728,7 +7728,7 @@ function Kf() {
|
|
|
7728
7728
|
}
|
|
7729
7729
|
}
|
|
7730
7730
|
static fromProfiles(p) {
|
|
7731
|
-
return new
|
|
7731
|
+
return new pu(p);
|
|
7732
7732
|
}
|
|
7733
7733
|
get voiceProfileIds() {
|
|
7734
7734
|
return this.privProfileIds.join(",");
|
|
@@ -7743,19 +7743,19 @@ function Kf() {
|
|
|
7743
7743
|
return Rr.SpeakerIdentificationModel = r, Rr;
|
|
7744
7744
|
}
|
|
7745
7745
|
var Pr = {}, Ma;
|
|
7746
|
-
function
|
|
7746
|
+
function Kf() {
|
|
7747
7747
|
if (Ma)
|
|
7748
7748
|
return Pr;
|
|
7749
7749
|
Ma = 1, Object.defineProperty(Pr, "__esModule", { value: !0 }), Pr.SpeakerVerificationModel = void 0;
|
|
7750
7750
|
const t = b, e = R();
|
|
7751
|
-
let r = class
|
|
7751
|
+
let r = class uu {
|
|
7752
7752
|
constructor(p) {
|
|
7753
7753
|
if (t.Contracts.throwIfNullOrUndefined(p, "VoiceProfile"), p.profileType === e.VoiceProfileType.TextIndependentIdentification)
|
|
7754
7754
|
throw new Error("Verification model cannot be created from Identification profile");
|
|
7755
7755
|
this.privVoiceProfile = p;
|
|
7756
7756
|
}
|
|
7757
7757
|
static fromProfile(p) {
|
|
7758
|
-
return new
|
|
7758
|
+
return new uu(p);
|
|
7759
7759
|
}
|
|
7760
7760
|
get voiceProfile() {
|
|
7761
7761
|
return this.privVoiceProfile;
|
|
@@ -7776,7 +7776,7 @@ var Er = {}, eo = {};
|
|
|
7776
7776
|
}(t.LanguageIdMode || (t.LanguageIdMode = {}));
|
|
7777
7777
|
})(eo);
|
|
7778
7778
|
var Oa;
|
|
7779
|
-
function
|
|
7779
|
+
function Jf() {
|
|
7780
7780
|
if (Oa)
|
|
7781
7781
|
return Er;
|
|
7782
7782
|
Oa = 1, Object.defineProperty(Er, "__esModule", { value: !0 }), Er.AutoDetectSourceLanguageConfig = void 0;
|
|
@@ -7894,10 +7894,10 @@ Li.AutoDetectSourceLanguageResult = Jn;
|
|
|
7894
7894
|
var Bi = {};
|
|
7895
7895
|
Object.defineProperty(Bi, "__esModule", { value: !0 });
|
|
7896
7896
|
Bi.SourceLanguageConfig = void 0;
|
|
7897
|
-
const
|
|
7897
|
+
const Gf = b;
|
|
7898
7898
|
class to {
|
|
7899
7899
|
constructor(e, r) {
|
|
7900
|
-
|
|
7900
|
+
Gf.Contracts.throwIfNullOrUndefined(e, "language"), this.privLanguage = e, this.privEndpointId = r;
|
|
7901
7901
|
}
|
|
7902
7902
|
/**
|
|
7903
7903
|
* @member SourceLanguageConfig.fromLanguage
|
|
@@ -7921,7 +7921,7 @@ class to {
|
|
|
7921
7921
|
}
|
|
7922
7922
|
Bi.SourceLanguageConfig = to;
|
|
7923
7923
|
var ws = {}, ka;
|
|
7924
|
-
function
|
|
7924
|
+
function Qf() {
|
|
7925
7925
|
return ka || (ka = 1, function(t) {
|
|
7926
7926
|
Object.defineProperty(t, "__esModule", { value: !0 }), t.SpeakerRecognitionCancellationDetails = t.SpeakerRecognitionResult = t.SpeakerRecognitionResultType = void 0;
|
|
7927
7927
|
const e = T(), r = R();
|
|
@@ -7974,7 +7974,7 @@ function Xf() {
|
|
|
7974
7974
|
}(ws)), ws;
|
|
7975
7975
|
}
|
|
7976
7976
|
var _s = {}, tt = {}, Na;
|
|
7977
|
-
function
|
|
7977
|
+
function du() {
|
|
7978
7978
|
if (Na)
|
|
7979
7979
|
return tt;
|
|
7980
7980
|
Na = 1, Object.defineProperty(tt, "__esModule", { value: !0 }), tt.ConversationImpl = tt.Conversation = void 0;
|
|
@@ -8579,7 +8579,7 @@ function hu() {
|
|
|
8579
8579
|
var qi = {};
|
|
8580
8580
|
Object.defineProperty(qi, "__esModule", { value: !0 });
|
|
8581
8581
|
qi.ConversationCommon = void 0;
|
|
8582
|
-
class
|
|
8582
|
+
class Xf {
|
|
8583
8583
|
constructor(e) {
|
|
8584
8584
|
this.privAudioConfig = e;
|
|
8585
8585
|
}
|
|
@@ -8602,9 +8602,9 @@ class Zf {
|
|
|
8602
8602
|
r(e);
|
|
8603
8603
|
}
|
|
8604
8604
|
}
|
|
8605
|
-
qi.ConversationCommon =
|
|
8605
|
+
qi.ConversationCommon = Xf;
|
|
8606
8606
|
var Ir = {}, za;
|
|
8607
|
-
function
|
|
8607
|
+
function Zf() {
|
|
8608
8608
|
if (za)
|
|
8609
8609
|
return Ir;
|
|
8610
8610
|
za = 1, Object.defineProperty(Ir, "__esModule", { value: !0 }), Ir.ConversationExpirationEventArgs = void 0;
|
|
@@ -8621,7 +8621,7 @@ function Yf() {
|
|
|
8621
8621
|
return Ir.ConversationExpirationEventArgs = e, Ir;
|
|
8622
8622
|
}
|
|
8623
8623
|
var Tr = {}, ja;
|
|
8624
|
-
function
|
|
8624
|
+
function Yf() {
|
|
8625
8625
|
if (ja)
|
|
8626
8626
|
return Tr;
|
|
8627
8627
|
ja = 1, Object.defineProperty(Tr, "__esModule", { value: !0 }), Tr.ConversationParticipantsChangedEventArgs = void 0;
|
|
@@ -8640,7 +8640,7 @@ function eg() {
|
|
|
8640
8640
|
return Tr.ConversationParticipantsChangedEventArgs = e, Tr;
|
|
8641
8641
|
}
|
|
8642
8642
|
var Ar = {}, La;
|
|
8643
|
-
function
|
|
8643
|
+
function eg() {
|
|
8644
8644
|
if (La)
|
|
8645
8645
|
return Ar;
|
|
8646
8646
|
La = 1, Object.defineProperty(Ar, "__esModule", { value: !0 }), Ar.ConversationTranslationCanceledEventArgs = void 0;
|
|
@@ -8650,7 +8650,7 @@ function tg() {
|
|
|
8650
8650
|
return Ar.ConversationTranslationCanceledEventArgs = e, Ar;
|
|
8651
8651
|
}
|
|
8652
8652
|
var wr = {}, Ba;
|
|
8653
|
-
function
|
|
8653
|
+
function tg() {
|
|
8654
8654
|
if (Ba)
|
|
8655
8655
|
return wr;
|
|
8656
8656
|
Ba = 1, Object.defineProperty(wr, "__esModule", { value: !0 }), wr.ConversationTranslationEventArgs = void 0;
|
|
@@ -8677,11 +8677,11 @@ function rg() {
|
|
|
8677
8677
|
return wr.ConversationTranslationEventArgs = e, wr;
|
|
8678
8678
|
}
|
|
8679
8679
|
var _r = {}, qa;
|
|
8680
|
-
function
|
|
8680
|
+
function rg() {
|
|
8681
8681
|
if (qa)
|
|
8682
8682
|
return _r;
|
|
8683
8683
|
qa = 1, Object.defineProperty(_r, "__esModule", { value: !0 }), _r.ConversationTranslationResult = void 0;
|
|
8684
|
-
const t =
|
|
8684
|
+
const t = Kp();
|
|
8685
8685
|
let e = class extends t.TranslationRecognitionResult {
|
|
8686
8686
|
constructor(i, p, a, s, n, o, c, u, d, h, l) {
|
|
8687
8687
|
super(p, s, n, o, c, u, void 0, void 0, d, h, l), this.privId = i, this.privOrigLang = a;
|
|
@@ -8704,7 +8704,7 @@ function ng() {
|
|
|
8704
8704
|
var bs = {}, br = {}, Ln = {};
|
|
8705
8705
|
Object.defineProperty(Ln, "__esModule", { value: !0 });
|
|
8706
8706
|
Ln.StringUtils = void 0;
|
|
8707
|
-
class
|
|
8707
|
+
class ng {
|
|
8708
8708
|
/**
|
|
8709
8709
|
* Formats a string by replacing the named {keys} in the string with the values contained in the replacement dictionary.
|
|
8710
8710
|
* @param format The format string that contains the parts to replace surrounded by {}. For example: "wss://{region}.cts.speech.microsoft.com".
|
|
@@ -8741,21 +8741,21 @@ class ig {
|
|
|
8741
8741
|
return i;
|
|
8742
8742
|
}
|
|
8743
8743
|
}
|
|
8744
|
-
Ln.StringUtils =
|
|
8744
|
+
Ln.StringUtils = ng;
|
|
8745
8745
|
var Fa;
|
|
8746
|
-
function
|
|
8746
|
+
function ig() {
|
|
8747
8747
|
if (Fa)
|
|
8748
8748
|
return br;
|
|
8749
8749
|
Fa = 1, Object.defineProperty(br, "__esModule", { value: !0 }), br.ConversationTranslatorConnectionFactory = void 0;
|
|
8750
8750
|
const t = V(), e = Ln, r = b, i = R(), p = W, a = Se, s = Ce(), n = T();
|
|
8751
|
-
let o = class
|
|
8751
|
+
let o = class hu extends s.ConnectionFactoryBase {
|
|
8752
8752
|
constructor(u) {
|
|
8753
8753
|
super(), r.Contracts.throwIfNullOrUndefined(u, "convGetter"), this.privConvGetter = u;
|
|
8754
8754
|
}
|
|
8755
8755
|
create(u, d, h) {
|
|
8756
8756
|
const l = u.parameters.getProperty("ConversationTranslator_MultiChannelAudio", "").toUpperCase() === "TRUE", f = this.privConvGetter().room, g = f.cognitiveSpeechRegion || u.parameters.getProperty(i.PropertyId.SpeechServiceConnection_Region, ""), S = {
|
|
8757
8757
|
hostSuffix: s.ConnectionFactoryBase.getHostSuffix(g),
|
|
8758
|
-
path:
|
|
8758
|
+
path: hu.CTS_VIRT_MIC_PATH,
|
|
8759
8759
|
region: encodeURIComponent(g)
|
|
8760
8760
|
};
|
|
8761
8761
|
S[a.QueryParameterNames.Language] = encodeURIComponent(u.parameters.getProperty(i.PropertyId.SpeechServiceConnection_RecoLanguage, "")), S[a.QueryParameterNames.CtsMeetingId] = encodeURIComponent(f.roomId), S[a.QueryParameterNames.CtsDeviceId] = encodeURIComponent(f.participantId), S[a.QueryParameterNames.CtsIsParticipant] = f.isHost ? "" : "&" + a.QueryParameterNames.CtsIsParticipant;
|
|
@@ -8781,10 +8781,10 @@ function sg() {
|
|
|
8781
8781
|
return br.ConversationTranslatorConnectionFactory = o, o.CTS_VIRT_MIC_PATH = "/speech/recognition/dynamicaudio", br;
|
|
8782
8782
|
}
|
|
8783
8783
|
var xa;
|
|
8784
|
-
function
|
|
8784
|
+
function sg() {
|
|
8785
8785
|
return xa || (xa = 1, function(t) {
|
|
8786
8786
|
Object.defineProperty(t, "__esModule", { value: !0 }), t.ConversationTranslator = t.SpeechState = void 0;
|
|
8787
|
-
const e = T(), r =
|
|
8787
|
+
const e = T(), r = ig(), i = A(), p = b, a = R(), s = du(), n = ro();
|
|
8788
8788
|
var o;
|
|
8789
8789
|
(function(d) {
|
|
8790
8790
|
d[d.Inactive = 0] = "Inactive", d[d.Connecting = 1] = "Connecting", d[d.Connected = 2] = "Connected";
|
|
@@ -9014,12 +9014,12 @@ function og() {
|
|
|
9014
9014
|
}(bs)), bs;
|
|
9015
9015
|
}
|
|
9016
9016
|
var Mr = {}, Ua;
|
|
9017
|
-
function
|
|
9017
|
+
function og() {
|
|
9018
9018
|
if (Ua)
|
|
9019
9019
|
return Mr;
|
|
9020
9020
|
Ua = 1, Object.defineProperty(Mr, "__esModule", { value: !0 }), Mr.ConversationTranscriber = void 0;
|
|
9021
9021
|
const t = T(), e = he, r = A(), i = b, p = R();
|
|
9022
|
-
let a = class
|
|
9022
|
+
let a = class lu extends p.Recognizer {
|
|
9023
9023
|
/**
|
|
9024
9024
|
* ConversationTranscriber constructor.
|
|
9025
9025
|
* @constructor
|
|
@@ -9039,7 +9039,7 @@ function ag() {
|
|
|
9039
9039
|
*/
|
|
9040
9040
|
static FromConfig(n, o, c) {
|
|
9041
9041
|
const u = n;
|
|
9042
|
-
return o.properties.mergeTo(u.properties), new
|
|
9042
|
+
return o.properties.mergeTo(u.properties), new lu(n, c);
|
|
9043
9043
|
}
|
|
9044
9044
|
/**
|
|
9045
9045
|
* Gets the endpoint id of a customized speech model that is used for transcription.
|
|
@@ -9154,7 +9154,7 @@ function ag() {
|
|
|
9154
9154
|
return Mr.ConversationTranscriber = a, Mr;
|
|
9155
9155
|
}
|
|
9156
9156
|
var rt = {}, Wa;
|
|
9157
|
-
function
|
|
9157
|
+
function ag() {
|
|
9158
9158
|
if (Wa)
|
|
9159
9159
|
return rt;
|
|
9160
9160
|
Wa = 1, Object.defineProperty(rt, "__esModule", { value: !0 }), rt.Participant = rt.User = void 0;
|
|
@@ -9205,14 +9205,14 @@ function cg() {
|
|
|
9205
9205
|
}
|
|
9206
9206
|
return rt.Participant = r, rt;
|
|
9207
9207
|
}
|
|
9208
|
-
var
|
|
9208
|
+
var vu = {};
|
|
9209
9209
|
(function(t) {
|
|
9210
9210
|
Object.defineProperty(t, "__esModule", { value: !0 }), t.ParticipantChangedReason = void 0, function(e) {
|
|
9211
9211
|
e[e.JoinedConversation = 0] = "JoinedConversation", e[e.LeftConversation = 1] = "LeftConversation", e[e.Updated = 2] = "Updated";
|
|
9212
9212
|
}(t.ParticipantChangedReason || (t.ParticipantChangedReason = {}));
|
|
9213
|
-
})(
|
|
9213
|
+
})(vu);
|
|
9214
9214
|
var nt = {}, Va;
|
|
9215
|
-
function
|
|
9215
|
+
function cg() {
|
|
9216
9216
|
if (Va)
|
|
9217
9217
|
return nt;
|
|
9218
9218
|
Va = 1, Object.defineProperty(nt, "__esModule", { value: !0 }), nt.MeetingImpl = nt.Meeting = void 0;
|
|
@@ -9801,7 +9801,7 @@ function pg() {
|
|
|
9801
9801
|
return nt.MeetingImpl = a, nt;
|
|
9802
9802
|
}
|
|
9803
9803
|
var Or = {}, Ha;
|
|
9804
|
-
function
|
|
9804
|
+
function pg() {
|
|
9805
9805
|
if (Ha)
|
|
9806
9806
|
return Or;
|
|
9807
9807
|
Ha = 1, Object.defineProperty(Or, "__esModule", { value: !0 }), Or.MeetingTranscriptionCanceledEventArgs = void 0;
|
|
@@ -9811,7 +9811,7 @@ function ug() {
|
|
|
9811
9811
|
return Or.MeetingTranscriptionCanceledEventArgs = e, Or;
|
|
9812
9812
|
}
|
|
9813
9813
|
var Dr = {}, $a;
|
|
9814
|
-
function
|
|
9814
|
+
function ug() {
|
|
9815
9815
|
if ($a)
|
|
9816
9816
|
return Dr;
|
|
9817
9817
|
$a = 1, Object.defineProperty(Dr, "__esModule", { value: !0 }), Dr.MeetingTranscriber = void 0;
|
|
@@ -9942,7 +9942,7 @@ function dg() {
|
|
|
9942
9942
|
return Dr.MeetingTranscriber = a, Dr;
|
|
9943
9943
|
}
|
|
9944
9944
|
var kr = {}, Ka;
|
|
9945
|
-
function
|
|
9945
|
+
function dg() {
|
|
9946
9946
|
if (Ka)
|
|
9947
9947
|
return kr;
|
|
9948
9948
|
Ka = 1, Object.defineProperty(kr, "__esModule", { value: !0 }), kr.ConversationTranscriptionResult = void 0;
|
|
@@ -9984,7 +9984,7 @@ var Ja;
|
|
|
9984
9984
|
function ro() {
|
|
9985
9985
|
return Ja || (Ja = 1, function(t) {
|
|
9986
9986
|
Object.defineProperty(t, "__esModule", { value: !0 }), t.ConversationTranscriptionResult = t.MeetingTranscriber = t.MeetingTranscriptionCanceledEventArgs = t.MeetingImpl = t.Meeting = t.ParticipantChangedReason = t.User = t.Participant = t.ConversationTranscriber = t.ConversationTranslator = t.ConversationTranslationResult = t.ConversationTranslationEventArgs = t.ConversationTranslationCanceledEventArgs = t.ConversationParticipantsChangedEventArgs = t.ConversationExpirationEventArgs = t.ConversationCommon = t.ConversationImpl = t.Conversation = void 0;
|
|
9987
|
-
var e =
|
|
9987
|
+
var e = du();
|
|
9988
9988
|
Object.defineProperty(t, "Conversation", { enumerable: !0, get: function() {
|
|
9989
9989
|
return e.Conversation;
|
|
9990
9990
|
} }), Object.defineProperty(t, "ConversationImpl", { enumerable: !0, get: function() {
|
|
@@ -9994,59 +9994,59 @@ function ro() {
|
|
|
9994
9994
|
Object.defineProperty(t, "ConversationCommon", { enumerable: !0, get: function() {
|
|
9995
9995
|
return r.ConversationCommon;
|
|
9996
9996
|
} });
|
|
9997
|
-
var i =
|
|
9997
|
+
var i = Zf();
|
|
9998
9998
|
Object.defineProperty(t, "ConversationExpirationEventArgs", { enumerable: !0, get: function() {
|
|
9999
9999
|
return i.ConversationExpirationEventArgs;
|
|
10000
10000
|
} });
|
|
10001
|
-
var p =
|
|
10001
|
+
var p = Yf();
|
|
10002
10002
|
Object.defineProperty(t, "ConversationParticipantsChangedEventArgs", { enumerable: !0, get: function() {
|
|
10003
10003
|
return p.ConversationParticipantsChangedEventArgs;
|
|
10004
10004
|
} });
|
|
10005
|
-
var a =
|
|
10005
|
+
var a = eg();
|
|
10006
10006
|
Object.defineProperty(t, "ConversationTranslationCanceledEventArgs", { enumerable: !0, get: function() {
|
|
10007
10007
|
return a.ConversationTranslationCanceledEventArgs;
|
|
10008
10008
|
} });
|
|
10009
|
-
var s =
|
|
10009
|
+
var s = tg();
|
|
10010
10010
|
Object.defineProperty(t, "ConversationTranslationEventArgs", { enumerable: !0, get: function() {
|
|
10011
10011
|
return s.ConversationTranslationEventArgs;
|
|
10012
10012
|
} });
|
|
10013
|
-
var n =
|
|
10013
|
+
var n = rg();
|
|
10014
10014
|
Object.defineProperty(t, "ConversationTranslationResult", { enumerable: !0, get: function() {
|
|
10015
10015
|
return n.ConversationTranslationResult;
|
|
10016
10016
|
} });
|
|
10017
|
-
var o =
|
|
10017
|
+
var o = sg();
|
|
10018
10018
|
Object.defineProperty(t, "ConversationTranslator", { enumerable: !0, get: function() {
|
|
10019
10019
|
return o.ConversationTranslator;
|
|
10020
10020
|
} });
|
|
10021
|
-
var c =
|
|
10021
|
+
var c = og();
|
|
10022
10022
|
Object.defineProperty(t, "ConversationTranscriber", { enumerable: !0, get: function() {
|
|
10023
10023
|
return c.ConversationTranscriber;
|
|
10024
10024
|
} });
|
|
10025
|
-
var u =
|
|
10025
|
+
var u = ag();
|
|
10026
10026
|
Object.defineProperty(t, "Participant", { enumerable: !0, get: function() {
|
|
10027
10027
|
return u.Participant;
|
|
10028
10028
|
} }), Object.defineProperty(t, "User", { enumerable: !0, get: function() {
|
|
10029
10029
|
return u.User;
|
|
10030
10030
|
} });
|
|
10031
|
-
var d =
|
|
10031
|
+
var d = vu;
|
|
10032
10032
|
Object.defineProperty(t, "ParticipantChangedReason", { enumerable: !0, get: function() {
|
|
10033
10033
|
return d.ParticipantChangedReason;
|
|
10034
10034
|
} });
|
|
10035
|
-
var h =
|
|
10035
|
+
var h = cg();
|
|
10036
10036
|
Object.defineProperty(t, "Meeting", { enumerable: !0, get: function() {
|
|
10037
10037
|
return h.Meeting;
|
|
10038
10038
|
} }), Object.defineProperty(t, "MeetingImpl", { enumerable: !0, get: function() {
|
|
10039
10039
|
return h.MeetingImpl;
|
|
10040
10040
|
} });
|
|
10041
|
-
var l =
|
|
10041
|
+
var l = pg();
|
|
10042
10042
|
Object.defineProperty(t, "MeetingTranscriptionCanceledEventArgs", { enumerable: !0, get: function() {
|
|
10043
10043
|
return l.MeetingTranscriptionCanceledEventArgs;
|
|
10044
10044
|
} });
|
|
10045
|
-
var f =
|
|
10045
|
+
var f = ug();
|
|
10046
10046
|
Object.defineProperty(t, "MeetingTranscriber", { enumerable: !0, get: function() {
|
|
10047
10047
|
return f.MeetingTranscriber;
|
|
10048
10048
|
} });
|
|
10049
|
-
var g =
|
|
10049
|
+
var g = dg();
|
|
10050
10050
|
Object.defineProperty(t, "ConversationTranscriptionResult", { enumerable: !0, get: function() {
|
|
10051
10051
|
return g.ConversationTranscriptionResult;
|
|
10052
10052
|
} });
|
|
@@ -10058,7 +10058,7 @@ function no() {
|
|
|
10058
10058
|
return it;
|
|
10059
10059
|
Ga = 1, Object.defineProperty(it, "__esModule", { value: !0 }), it.SynthesisRequest = it.Synthesizer = void 0;
|
|
10060
10060
|
const t = T(), e = A(), r = b, i = R();
|
|
10061
|
-
let p = class
|
|
10061
|
+
let p = class fu {
|
|
10062
10062
|
/**
|
|
10063
10063
|
* Creates and initializes an instance of a Recognizer
|
|
10064
10064
|
* @constructor
|
|
@@ -10240,7 +10240,7 @@ function no() {
|
|
|
10240
10240
|
["zh-TW"]: "zh-TW-HsiaoChenNeural",
|
|
10241
10241
|
["zu-ZA"]: "zu-ZA-ThandoNeural"
|
|
10242
10242
|
};
|
|
10243
|
-
let c = this.properties.getProperty(i.PropertyId.SpeechServiceConnection_SynthLanguage, "en-US"), u = this.properties.getProperty(i.PropertyId.SpeechServiceConnection_SynthVoice, ""), d =
|
|
10243
|
+
let c = this.properties.getProperty(i.PropertyId.SpeechServiceConnection_SynthLanguage, "en-US"), u = this.properties.getProperty(i.PropertyId.SpeechServiceConnection_SynthVoice, ""), d = fu.XMLEncode(n);
|
|
10244
10244
|
return this.autoDetectSourceLanguage ? c = "en-US" : u = u || o[c], u && (d = `<voice name='${u}'>${d}</voice>`), d = `<speak version='1.0' xmlns='http://www.w3.org/2001/10/synthesis' xmlns:mstts='http://www.w3.org/2001/mstts' xmlns:emo='http://www.w3.org/2009/10/emotionml' xml:lang='${c}'>${d}</speak>`, d;
|
|
10245
10245
|
}
|
|
10246
10246
|
/**
|
|
@@ -10306,12 +10306,12 @@ function no() {
|
|
|
10306
10306
|
return it.SynthesisRequest = a, it;
|
|
10307
10307
|
}
|
|
10308
10308
|
var Nr = {}, Qa;
|
|
10309
|
-
function
|
|
10309
|
+
function hg() {
|
|
10310
10310
|
if (Qa)
|
|
10311
10311
|
return Nr;
|
|
10312
10312
|
Qa = 1, Object.defineProperty(Nr, "__esModule", { value: !0 }), Nr.SpeechSynthesizer = void 0;
|
|
10313
10313
|
const t = T(), e = A(), r = Nn, i = Je, p = K, a = b, s = R(), n = no();
|
|
10314
|
-
let o = class
|
|
10314
|
+
let o = class gu extends s.Synthesizer {
|
|
10315
10315
|
/**
|
|
10316
10316
|
* SpeechSynthesizer constructor.
|
|
10317
10317
|
* @constructor
|
|
@@ -10330,7 +10330,7 @@ function lg() {
|
|
|
10330
10330
|
*/
|
|
10331
10331
|
static FromConfig(u, d, h) {
|
|
10332
10332
|
const l = u;
|
|
10333
|
-
return d.properties.mergeTo(l.properties), new
|
|
10333
|
+
return d.properties.mergeTo(l.properties), new gu(u, h);
|
|
10334
10334
|
}
|
|
10335
10335
|
/**
|
|
10336
10336
|
* Executes speech synthesis on plain text.
|
|
@@ -10447,7 +10447,7 @@ function lg() {
|
|
|
10447
10447
|
var Fi = {};
|
|
10448
10448
|
Object.defineProperty(Fi, "__esModule", { value: !0 });
|
|
10449
10449
|
Fi.SynthesisResult = void 0;
|
|
10450
|
-
class
|
|
10450
|
+
class lg {
|
|
10451
10451
|
/**
|
|
10452
10452
|
* Creates and initializes an instance of this class.
|
|
10453
10453
|
* @constructor
|
|
@@ -10500,9 +10500,9 @@ class vg {
|
|
|
10500
10500
|
return this.privProperties;
|
|
10501
10501
|
}
|
|
10502
10502
|
}
|
|
10503
|
-
Fi.SynthesisResult =
|
|
10503
|
+
Fi.SynthesisResult = lg;
|
|
10504
10504
|
var zr = {}, Xa;
|
|
10505
|
-
function
|
|
10505
|
+
function vg() {
|
|
10506
10506
|
if (Xa)
|
|
10507
10507
|
return zr;
|
|
10508
10508
|
Xa = 1, Object.defineProperty(zr, "__esModule", { value: !0 }), zr.SpeechSynthesisResult = void 0;
|
|
@@ -10547,7 +10547,7 @@ function fg() {
|
|
|
10547
10547
|
var xi = {};
|
|
10548
10548
|
Object.defineProperty(xi, "__esModule", { value: !0 });
|
|
10549
10549
|
xi.SpeechSynthesisEventArgs = void 0;
|
|
10550
|
-
class
|
|
10550
|
+
class fg {
|
|
10551
10551
|
/**
|
|
10552
10552
|
* Creates and initializes an instance of this class.
|
|
10553
10553
|
* @constructor
|
|
@@ -10567,11 +10567,11 @@ class gg {
|
|
|
10567
10567
|
return this.privResult;
|
|
10568
10568
|
}
|
|
10569
10569
|
}
|
|
10570
|
-
xi.SpeechSynthesisEventArgs =
|
|
10570
|
+
xi.SpeechSynthesisEventArgs = fg;
|
|
10571
10571
|
var Ui = {};
|
|
10572
10572
|
Object.defineProperty(Ui, "__esModule", { value: !0 });
|
|
10573
10573
|
Ui.SpeechSynthesisWordBoundaryEventArgs = void 0;
|
|
10574
|
-
class
|
|
10574
|
+
class gg {
|
|
10575
10575
|
/**
|
|
10576
10576
|
* Creates and initializes an instance of this class.
|
|
10577
10577
|
* @constructor
|
|
@@ -10646,11 +10646,11 @@ class mg {
|
|
|
10646
10646
|
return this.privBoundaryType;
|
|
10647
10647
|
}
|
|
10648
10648
|
}
|
|
10649
|
-
Ui.SpeechSynthesisWordBoundaryEventArgs =
|
|
10649
|
+
Ui.SpeechSynthesisWordBoundaryEventArgs = gg;
|
|
10650
10650
|
var Wi = {};
|
|
10651
10651
|
Object.defineProperty(Wi, "__esModule", { value: !0 });
|
|
10652
10652
|
Wi.SpeechSynthesisBookmarkEventArgs = void 0;
|
|
10653
|
-
class
|
|
10653
|
+
class mg {
|
|
10654
10654
|
/**
|
|
10655
10655
|
* Creates and initializes an instance of this class.
|
|
10656
10656
|
* @constructor
|
|
@@ -10681,11 +10681,11 @@ class Sg {
|
|
|
10681
10681
|
return this.privText;
|
|
10682
10682
|
}
|
|
10683
10683
|
}
|
|
10684
|
-
Wi.SpeechSynthesisBookmarkEventArgs =
|
|
10684
|
+
Wi.SpeechSynthesisBookmarkEventArgs = mg;
|
|
10685
10685
|
var Vi = {};
|
|
10686
10686
|
Object.defineProperty(Vi, "__esModule", { value: !0 });
|
|
10687
10687
|
Vi.SpeechSynthesisVisemeEventArgs = void 0;
|
|
10688
|
-
class
|
|
10688
|
+
class Sg {
|
|
10689
10689
|
/**
|
|
10690
10690
|
* Creates and initializes an instance of this class.
|
|
10691
10691
|
* @constructor
|
|
@@ -10727,15 +10727,15 @@ class Cg {
|
|
|
10727
10727
|
return this.privAnimation;
|
|
10728
10728
|
}
|
|
10729
10729
|
}
|
|
10730
|
-
Vi.SpeechSynthesisVisemeEventArgs =
|
|
10731
|
-
var
|
|
10730
|
+
Vi.SpeechSynthesisVisemeEventArgs = Sg;
|
|
10731
|
+
var mu = {};
|
|
10732
10732
|
(function(t) {
|
|
10733
10733
|
Object.defineProperty(t, "__esModule", { value: !0 }), t.SpeechSynthesisBoundaryType = void 0, function(e) {
|
|
10734
10734
|
e.Word = "WordBoundary", e.Punctuation = "PunctuationBoundary", e.Sentence = "SentenceBoundary";
|
|
10735
10735
|
}(t.SpeechSynthesisBoundaryType || (t.SpeechSynthesisBoundaryType = {}));
|
|
10736
|
-
})(
|
|
10736
|
+
})(mu);
|
|
10737
10737
|
var jr = {}, Za;
|
|
10738
|
-
function
|
|
10738
|
+
function Cg() {
|
|
10739
10739
|
if (Za)
|
|
10740
10740
|
return jr;
|
|
10741
10741
|
Za = 1, Object.defineProperty(jr, "__esModule", { value: !0 }), jr.SynthesisVoicesResult = void 0;
|
|
@@ -10768,7 +10768,7 @@ function yg() {
|
|
|
10768
10768
|
};
|
|
10769
10769
|
return jr.SynthesisVoicesResult = e, jr;
|
|
10770
10770
|
}
|
|
10771
|
-
var
|
|
10771
|
+
var Su = {};
|
|
10772
10772
|
(function(t) {
|
|
10773
10773
|
Object.defineProperty(t, "__esModule", { value: !0 }), t.VoiceInfo = t.SynthesisVoiceType = t.SynthesisVoiceGender = void 0;
|
|
10774
10774
|
var e;
|
|
@@ -10846,11 +10846,11 @@ var Cu = {};
|
|
|
10846
10846
|
}
|
|
10847
10847
|
}
|
|
10848
10848
|
t.VoiceInfo = a;
|
|
10849
|
-
})(
|
|
10849
|
+
})(Su);
|
|
10850
10850
|
var Hi = {};
|
|
10851
10851
|
Object.defineProperty(Hi, "__esModule", { value: !0 });
|
|
10852
10852
|
Hi.SpeakerAudioDestination = void 0;
|
|
10853
|
-
const st = A(),
|
|
10853
|
+
const st = A(), yg = K, pe = Ke, Rg = 60 * 30, Ya = {
|
|
10854
10854
|
[pe.AudioFormatTag.PCM]: "audio/wav",
|
|
10855
10855
|
[pe.AudioFormatTag.MuLaw]: "audio/x-wav",
|
|
10856
10856
|
[pe.AudioFormatTag.MP3]: "audio/mpeg",
|
|
@@ -10861,7 +10861,7 @@ const st = A(), Rg = K, pe = Ke, Pg = 60 * 30, Ya = {
|
|
|
10861
10861
|
[pe.AudioFormatTag.AMR_WB]: "audio/amr-wb",
|
|
10862
10862
|
[pe.AudioFormatTag.G722]: "audio/G722"
|
|
10863
10863
|
};
|
|
10864
|
-
class
|
|
10864
|
+
class Pg {
|
|
10865
10865
|
constructor(e) {
|
|
10866
10866
|
this.privPlaybackStarted = !1, this.privAppendingToBuffer = !1, this.privMediaSourceOpened = !1, this.privBytesReceived = 0, this.privId = e || (0, st.createNoDashGuid)(), this.privIsPaused = !1, this.privIsClosed = !1;
|
|
10867
10867
|
}
|
|
@@ -10907,7 +10907,7 @@ class Eg {
|
|
|
10907
10907
|
this.privFormat = e;
|
|
10908
10908
|
const r = Ya[this.privFormat.formatTag];
|
|
10909
10909
|
r === void 0 ? console.warn(`Unknown mimeType for format ${pe.AudioFormatTag[this.privFormat.formatTag]}; playback is not supported.`) : typeof MediaSource < "u" && MediaSource.isTypeSupported(r) ? (this.privAudio = new Audio(), this.privAudioBuffer = [], this.privMediaSource = new MediaSource(), this.privAudio.src = URL.createObjectURL(this.privMediaSource), this.privAudio.load(), this.privMediaSource.onsourceopen = () => {
|
|
10910
|
-
this.privMediaSourceOpened = !0, this.privMediaSource.duration =
|
|
10910
|
+
this.privMediaSourceOpened = !0, this.privMediaSource.duration = Rg, this.privSourceBuffer = this.privMediaSource.addSourceBuffer(r), this.privSourceBuffer.onupdate = () => {
|
|
10911
10911
|
this.updateSourceBuffer().catch((i) => {
|
|
10912
10912
|
st.Events.instance.onEvent(new st.BackgroundEvent(i));
|
|
10913
10913
|
});
|
|
@@ -10920,7 +10920,7 @@ class Eg {
|
|
|
10920
10920
|
};
|
|
10921
10921
|
}, this.updateSourceBuffer().catch((i) => {
|
|
10922
10922
|
st.Events.instance.onEvent(new st.BackgroundEvent(i));
|
|
10923
|
-
})) : (console.warn(`Format ${pe.AudioFormatTag[this.privFormat.formatTag]} could not be played by MSE, streaming playback is not enabled.`), this.privAudioOutputStream = new
|
|
10923
|
+
})) : (console.warn(`Format ${pe.AudioFormatTag[this.privFormat.formatTag]} could not be played by MSE, streaming playback is not enabled.`), this.privAudioOutputStream = new yg.PullAudioOutputStreamImpl(), this.privAudioOutputStream.format = this.privFormat, this.privAudio = new Audio());
|
|
10924
10924
|
}
|
|
10925
10925
|
}
|
|
10926
10926
|
get volume() {
|
|
@@ -10984,9 +10984,9 @@ class Eg {
|
|
|
10984
10984
|
return this.privSourceBuffer !== void 0 && !this.privSourceBuffer.updating;
|
|
10985
10985
|
}
|
|
10986
10986
|
}
|
|
10987
|
-
Hi.SpeakerAudioDestination =
|
|
10987
|
+
Hi.SpeakerAudioDestination = Pg;
|
|
10988
10988
|
var Lr = {}, ec;
|
|
10989
|
-
function
|
|
10989
|
+
function Eg() {
|
|
10990
10990
|
if (ec)
|
|
10991
10991
|
return Lr;
|
|
10992
10992
|
ec = 1, Object.defineProperty(Lr, "__esModule", { value: !0 }), Lr.ConversationTranscriptionCanceledEventArgs = void 0;
|
|
@@ -10996,7 +10996,7 @@ function Ig() {
|
|
|
10996
10996
|
return Lr.ConversationTranscriptionCanceledEventArgs = e, Lr;
|
|
10997
10997
|
}
|
|
10998
10998
|
var Br = {}, tc;
|
|
10999
|
-
function
|
|
10999
|
+
function Ig() {
|
|
11000
11000
|
if (tc)
|
|
11001
11001
|
return Br;
|
|
11002
11002
|
tc = 1, Object.defineProperty(Br, "__esModule", { value: !0 }), Br.MeetingTranscriptionCanceledEventArgs = void 0;
|
|
@@ -11005,25 +11005,25 @@ function Tg() {
|
|
|
11005
11005
|
};
|
|
11006
11006
|
return Br.MeetingTranscriptionCanceledEventArgs = e, Br;
|
|
11007
11007
|
}
|
|
11008
|
-
var
|
|
11008
|
+
var Cu = {};
|
|
11009
11009
|
(function(t) {
|
|
11010
11010
|
Object.defineProperty(t, "__esModule", { value: !0 }), t.PronunciationAssessmentGradingSystem = void 0, function(e) {
|
|
11011
11011
|
e[e.FivePoint = 1] = "FivePoint", e[e.HundredMark = 2] = "HundredMark";
|
|
11012
11012
|
}(t.PronunciationAssessmentGradingSystem || (t.PronunciationAssessmentGradingSystem = {}));
|
|
11013
|
-
})(
|
|
11014
|
-
var
|
|
11013
|
+
})(Cu);
|
|
11014
|
+
var yu = {};
|
|
11015
11015
|
(function(t) {
|
|
11016
11016
|
Object.defineProperty(t, "__esModule", { value: !0 }), t.PronunciationAssessmentGranularity = void 0, function(e) {
|
|
11017
11017
|
e[e.Phoneme = 1] = "Phoneme", e[e.Word = 2] = "Word", e[e.FullText = 3] = "FullText";
|
|
11018
11018
|
}(t.PronunciationAssessmentGranularity || (t.PronunciationAssessmentGranularity = {}));
|
|
11019
|
-
})(
|
|
11019
|
+
})(yu);
|
|
11020
11020
|
var qr = {}, rc;
|
|
11021
|
-
function
|
|
11021
|
+
function Tg() {
|
|
11022
11022
|
if (rc)
|
|
11023
11023
|
return qr;
|
|
11024
11024
|
rc = 1, Object.defineProperty(qr, "__esModule", { value: !0 }), qr.PronunciationAssessmentConfig = void 0;
|
|
11025
11025
|
const t = b, e = R();
|
|
11026
|
-
let r = class
|
|
11026
|
+
let r = class Ru {
|
|
11027
11027
|
/**
|
|
11028
11028
|
* PronunciationAssessmentConfig constructor.
|
|
11029
11029
|
* @constructor
|
|
@@ -11047,7 +11047,7 @@ function Ag() {
|
|
|
11047
11047
|
*/
|
|
11048
11048
|
static fromJSON(p) {
|
|
11049
11049
|
t.Contracts.throwIfNullOrUndefined(p, "json");
|
|
11050
|
-
const a = new
|
|
11050
|
+
const a = new Ru("");
|
|
11051
11051
|
return a.privProperties = new e.PropertyCollection(), a.properties.setProperty(e.PropertyId.PronunciationAssessment_Json, p), a;
|
|
11052
11052
|
}
|
|
11053
11053
|
toJSON() {
|
|
@@ -11168,7 +11168,7 @@ function Ag() {
|
|
|
11168
11168
|
return qr.PronunciationAssessmentConfig = r, qr;
|
|
11169
11169
|
}
|
|
11170
11170
|
var ot = {}, nc;
|
|
11171
|
-
function
|
|
11171
|
+
function Ag() {
|
|
11172
11172
|
if (nc)
|
|
11173
11173
|
return ot;
|
|
11174
11174
|
nc = 1, Object.defineProperty(ot, "__esModule", { value: !0 }), ot.PronunciationAssessmentResult = ot.ContentAssessmentResult = void 0;
|
|
@@ -11219,7 +11219,7 @@ function wg() {
|
|
|
11219
11219
|
}
|
|
11220
11220
|
}
|
|
11221
11221
|
ot.ContentAssessmentResult = r;
|
|
11222
|
-
let i = class
|
|
11222
|
+
let i = class Pu {
|
|
11223
11223
|
constructor(a) {
|
|
11224
11224
|
const s = JSON.parse(a);
|
|
11225
11225
|
t.Contracts.throwIfNullOrUndefined(s.NBest[0], "NBest"), this.privPronJson = s.NBest[0];
|
|
@@ -11235,7 +11235,7 @@ function wg() {
|
|
|
11235
11235
|
static fromResult(a) {
|
|
11236
11236
|
t.Contracts.throwIfNullOrUndefined(a, "result");
|
|
11237
11237
|
const s = a.properties.getProperty(e.PropertyId.SpeechServiceResponse_JsonResult);
|
|
11238
|
-
return t.Contracts.throwIfNullOrUndefined(s, "json"), new
|
|
11238
|
+
return t.Contracts.throwIfNullOrUndefined(s, "json"), new Pu(s);
|
|
11239
11239
|
}
|
|
11240
11240
|
/**
|
|
11241
11241
|
* Gets the detail result of pronunciation assessment.
|
|
@@ -11320,7 +11320,7 @@ function wg() {
|
|
|
11320
11320
|
return ot.PronunciationAssessmentResult = i, ot;
|
|
11321
11321
|
}
|
|
11322
11322
|
var Fr = {}, ic;
|
|
11323
|
-
function
|
|
11323
|
+
function wg() {
|
|
11324
11324
|
if (ic)
|
|
11325
11325
|
return Fr;
|
|
11326
11326
|
ic = 1, Object.defineProperty(Fr, "__esModule", { value: !0 }), Fr.AvatarConfig = void 0;
|
|
@@ -11406,7 +11406,7 @@ function _g() {
|
|
|
11406
11406
|
};
|
|
11407
11407
|
return Fr.AvatarConfig = r, Fr;
|
|
11408
11408
|
}
|
|
11409
|
-
var
|
|
11409
|
+
var Eu = {};
|
|
11410
11410
|
(function(t) {
|
|
11411
11411
|
Object.defineProperty(t, "__esModule", { value: !0 }), t.AvatarEventArgs = t.AvatarEventTypes = void 0, function(r) {
|
|
11412
11412
|
r.SwitchedToSpeaking = "SwitchedToSpeaking", r.SwitchedToIdle = "SwitchedToIdle", r.SessionClosed = "SessionClosed";
|
|
@@ -11447,9 +11447,9 @@ var Iu = {};
|
|
|
11447
11447
|
}
|
|
11448
11448
|
}
|
|
11449
11449
|
t.AvatarEventArgs = e;
|
|
11450
|
-
})(
|
|
11450
|
+
})(Eu);
|
|
11451
11451
|
var xr = {}, Ur = {}, sc;
|
|
11452
|
-
function
|
|
11452
|
+
function Iu() {
|
|
11453
11453
|
if (sc)
|
|
11454
11454
|
return Ur;
|
|
11455
11455
|
sc = 1, Object.defineProperty(Ur, "__esModule", { value: !0 }), Ur.SpeechSynthesisConnectionFactory = void 0;
|
|
@@ -11473,11 +11473,11 @@ function Tu() {
|
|
|
11473
11473
|
return Ur.SpeechSynthesisConnectionFactory = s, Ur;
|
|
11474
11474
|
}
|
|
11475
11475
|
var oc;
|
|
11476
|
-
function
|
|
11476
|
+
function _g() {
|
|
11477
11477
|
if (oc)
|
|
11478
11478
|
return xr;
|
|
11479
11479
|
oc = 1, Object.defineProperty(xr, "__esModule", { value: !0 }), xr.AvatarSynthesizer = void 0;
|
|
11480
|
-
const t =
|
|
11480
|
+
const t = Iu(), e = T(), r = A(), i = Je, p = R(), a = b, s = no();
|
|
11481
11481
|
let n = class extends p.Synthesizer {
|
|
11482
11482
|
/**
|
|
11483
11483
|
* Creates and initializes an instance of this class.
|
|
@@ -11605,13 +11605,13 @@ function bg() {
|
|
|
11605
11605
|
var _t = {};
|
|
11606
11606
|
Object.defineProperty(_t, "__esModule", { value: !0 });
|
|
11607
11607
|
_t.AvatarVideoFormat = _t.Coordinate = void 0;
|
|
11608
|
-
class
|
|
11608
|
+
class bg {
|
|
11609
11609
|
constructor(e, r) {
|
|
11610
11610
|
this.x = e, this.y = r;
|
|
11611
11611
|
}
|
|
11612
11612
|
}
|
|
11613
|
-
_t.Coordinate =
|
|
11614
|
-
class
|
|
11613
|
+
_t.Coordinate = bg;
|
|
11614
|
+
class Mg {
|
|
11615
11615
|
/**
|
|
11616
11616
|
* Creates and initializes an instance of this class.
|
|
11617
11617
|
* @constructor
|
|
@@ -11633,9 +11633,9 @@ class Og {
|
|
|
11633
11633
|
};
|
|
11634
11634
|
}
|
|
11635
11635
|
}
|
|
11636
|
-
_t.AvatarVideoFormat =
|
|
11636
|
+
_t.AvatarVideoFormat = Mg;
|
|
11637
11637
|
var Wr = {}, ac;
|
|
11638
|
-
function
|
|
11638
|
+
function Og() {
|
|
11639
11639
|
if (ac)
|
|
11640
11640
|
return Wr;
|
|
11641
11641
|
ac = 1, Object.defineProperty(Wr, "__esModule", { value: !0 }), Wr.AvatarWebRTCConnectionResult = void 0;
|
|
@@ -11667,7 +11667,7 @@ function Dg() {
|
|
|
11667
11667
|
return Wr.AvatarWebRTCConnectionResult = e, Wr;
|
|
11668
11668
|
}
|
|
11669
11669
|
var Vr = {}, cc;
|
|
11670
|
-
function
|
|
11670
|
+
function Dg() {
|
|
11671
11671
|
if (cc)
|
|
11672
11672
|
return Vr;
|
|
11673
11673
|
cc = 1, Object.defineProperty(Vr, "__esModule", { value: !0 }), Vr.Diagnostics = void 0;
|
|
@@ -11698,7 +11698,7 @@ var pc;
|
|
|
11698
11698
|
function R() {
|
|
11699
11699
|
return pc || (pc = 1, function(t) {
|
|
11700
11700
|
Object.defineProperty(t, "__esModule", { value: !0 }), t.ConnectionEventArgs = t.CancellationErrorCode = t.CancellationDetails = t.CancellationDetailsBase = t.IntentRecognitionCanceledEventArgs = t.TranslationRecognitionCanceledEventArgs = t.NoMatchDetails = t.NoMatchReason = t.Translations = t.TranslationRecognizer = t.VoiceProfileType = t.IntentRecognizer = t.SpeechRecognizer = t.Recognizer = t.PropertyId = t.PropertyCollection = t.SpeechTranslationConfigImpl = t.SpeechTranslationConfig = t.SpeechConfigImpl = t.SpeechConfig = t.ResultReason = t.TranslationSynthesisResult = t.TranslationRecognitionResult = t.TranslationSynthesisEventArgs = t.TranslationRecognitionEventArgs = t.SpeechRecognitionCanceledEventArgs = t.MeetingTranscriptionEventArgs = t.ConversationTranscriptionEventArgs = t.SpeechRecognitionEventArgs = t.LanguageUnderstandingModel = t.IntentRecognitionResult = t.SpeechRecognitionResult = t.RecognitionResult = t.IntentRecognitionEventArgs = t.OutputFormat = t.RecognitionEventArgs = t.SessionEventArgs = t.KeywordRecognitionModel = t.PushAudioOutputStreamCallback = t.PullAudioInputStreamCallback = t.CancellationReason = t.PushAudioOutputStream = t.PullAudioOutputStream = t.AudioOutputStream = t.PushAudioInputStream = t.PullAudioInputStream = t.AudioInputStream = t.AudioFormatTag = t.AudioStreamFormat = t.AudioConfig = void 0, t.SpeechSynthesisEventArgs = t.SpeechSynthesisResult = t.SynthesisResult = t.SpeechSynthesizer = t.SpeechSynthesisOutputFormat = t.Synthesizer = t.User = t.ParticipantChangedReason = t.Participant = t.MeetingTranscriber = t.Meeting = t.ConversationTranscriptionResult = t.ConversationTranscriber = t.ConversationTranslator = t.ConversationTranslationResult = t.ConversationTranslationEventArgs = t.ConversationTranslationCanceledEventArgs = t.ConversationParticipantsChangedEventArgs = t.ConversationExpirationEventArgs = t.Conversation = t.SpeakerRecognitionCancellationDetails = t.SpeakerRecognitionResultType = t.SpeakerRecognitionResult = t.SourceLanguageConfig = t.AutoDetectSourceLanguageResult = t.AutoDetectSourceLanguageConfig = t.SpeakerVerificationModel = t.SpeakerIdentificationModel = t.SpeakerRecognizer = t.VoiceProfileClient = t.VoiceProfilePhraseResult = t.VoiceProfileCancellationDetails = t.VoiceProfileResult = t.VoiceProfileEnrollmentCancellationDetails = t.VoiceProfileEnrollmentResult = t.VoiceProfile = t.ConnectionMessage = t.ConnectionMessageEventArgs = t.BaseAudioPlayer = t.ProfanityOption = t.ServicePropertyChannel = t.TurnStatusReceivedEventArgs = t.ActivityReceivedEventArgs = t.DialogServiceConnector = t.CustomCommandsConfig = t.BotFrameworkConfig = t.DialogServiceConfig = t.PhraseListGrammar = t.Connection = t.ServiceEventArgs = void 0, t.LogLevel = t.Diagnostics = t.AvatarWebRTCConnectionResult = t.Coordinate = t.AvatarVideoFormat = t.AvatarSynthesizer = t.AvatarEventArgs = t.AvatarConfig = t.LanguageIdMode = t.PronunciationAssessmentResult = t.PronunciationAssessmentConfig = t.PronunciationAssessmentGranularity = t.PronunciationAssessmentGradingSystem = t.MeetingTranscriptionCanceledEventArgs = t.ConversationTranscriptionCanceledEventArgs = t.SpeakerAudioDestination = t.VoiceInfo = t.SynthesisVoiceType = t.SynthesisVoiceGender = t.SynthesisVoicesResult = t.SpeechSynthesisBoundaryType = t.SpeechSynthesisVisemeEventArgs = t.SpeechSynthesisBookmarkEventArgs = t.SpeechSynthesisWordBoundaryEventArgs = void 0;
|
|
11701
|
-
var e =
|
|
11701
|
+
var e = Up();
|
|
11702
11702
|
Object.defineProperty(t, "AudioConfig", { enumerable: !0, get: function() {
|
|
11703
11703
|
return e.AudioConfig;
|
|
11704
11704
|
} });
|
|
@@ -11708,7 +11708,7 @@ function R() {
|
|
|
11708
11708
|
} }), Object.defineProperty(t, "AudioFormatTag", { enumerable: !0, get: function() {
|
|
11709
11709
|
return r.AudioFormatTag;
|
|
11710
11710
|
} });
|
|
11711
|
-
var i =
|
|
11711
|
+
var i = Lp();
|
|
11712
11712
|
Object.defineProperty(t, "AudioInputStream", { enumerable: !0, get: function() {
|
|
11713
11713
|
return i.AudioInputStream;
|
|
11714
11714
|
} }), Object.defineProperty(t, "PullAudioInputStream", { enumerable: !0, get: function() {
|
|
@@ -11724,7 +11724,7 @@ function R() {
|
|
|
11724
11724
|
} }), Object.defineProperty(t, "PushAudioOutputStream", { enumerable: !0, get: function() {
|
|
11725
11725
|
return p.PushAudioOutputStream;
|
|
11726
11726
|
} });
|
|
11727
|
-
var a =
|
|
11727
|
+
var a = Wp;
|
|
11728
11728
|
Object.defineProperty(t, "CancellationReason", { enumerable: !0, get: function() {
|
|
11729
11729
|
return a.CancellationReason;
|
|
11730
11730
|
} });
|
|
@@ -11744,15 +11744,15 @@ function R() {
|
|
|
11744
11744
|
Object.defineProperty(t, "SessionEventArgs", { enumerable: !0, get: function() {
|
|
11745
11745
|
return c.SessionEventArgs;
|
|
11746
11746
|
} });
|
|
11747
|
-
var u =
|
|
11747
|
+
var u = af();
|
|
11748
11748
|
Object.defineProperty(t, "RecognitionEventArgs", { enumerable: !0, get: function() {
|
|
11749
11749
|
return u.RecognitionEventArgs;
|
|
11750
11750
|
} });
|
|
11751
|
-
var d =
|
|
11751
|
+
var d = Vp;
|
|
11752
11752
|
Object.defineProperty(t, "OutputFormat", { enumerable: !0, get: function() {
|
|
11753
11753
|
return d.OutputFormat;
|
|
11754
11754
|
} });
|
|
11755
|
-
var h =
|
|
11755
|
+
var h = cf();
|
|
11756
11756
|
Object.defineProperty(t, "IntentRecognitionEventArgs", { enumerable: !0, get: function() {
|
|
11757
11757
|
return h.IntentRecognitionEventArgs;
|
|
11758
11758
|
} });
|
|
@@ -11760,11 +11760,11 @@ function R() {
|
|
|
11760
11760
|
Object.defineProperty(t, "RecognitionResult", { enumerable: !0, get: function() {
|
|
11761
11761
|
return l.RecognitionResult;
|
|
11762
11762
|
} });
|
|
11763
|
-
var f =
|
|
11763
|
+
var f = uf();
|
|
11764
11764
|
Object.defineProperty(t, "SpeechRecognitionResult", { enumerable: !0, get: function() {
|
|
11765
11765
|
return f.SpeechRecognitionResult;
|
|
11766
11766
|
} });
|
|
11767
|
-
var g =
|
|
11767
|
+
var g = df();
|
|
11768
11768
|
Object.defineProperty(t, "IntentRecognitionResult", { enumerable: !0, get: function() {
|
|
11769
11769
|
return g.IntentRecognitionResult;
|
|
11770
11770
|
} });
|
|
@@ -11772,7 +11772,7 @@ function R() {
|
|
|
11772
11772
|
Object.defineProperty(t, "LanguageUnderstandingModel", { enumerable: !0, get: function() {
|
|
11773
11773
|
return S.LanguageUnderstandingModel;
|
|
11774
11774
|
} });
|
|
11775
|
-
var v =
|
|
11775
|
+
var v = hf();
|
|
11776
11776
|
Object.defineProperty(t, "SpeechRecognitionEventArgs", { enumerable: !0, get: function() {
|
|
11777
11777
|
return v.SpeechRecognitionEventArgs;
|
|
11778
11778
|
} }), Object.defineProperty(t, "ConversationTranscriptionEventArgs", { enumerable: !0, get: function() {
|
|
@@ -11780,19 +11780,19 @@ function R() {
|
|
|
11780
11780
|
} }), Object.defineProperty(t, "MeetingTranscriptionEventArgs", { enumerable: !0, get: function() {
|
|
11781
11781
|
return v.MeetingTranscriptionEventArgs;
|
|
11782
11782
|
} });
|
|
11783
|
-
var m =
|
|
11783
|
+
var m = lf();
|
|
11784
11784
|
Object.defineProperty(t, "SpeechRecognitionCanceledEventArgs", { enumerable: !0, get: function() {
|
|
11785
11785
|
return m.SpeechRecognitionCanceledEventArgs;
|
|
11786
11786
|
} });
|
|
11787
|
-
var C =
|
|
11787
|
+
var C = vf();
|
|
11788
11788
|
Object.defineProperty(t, "TranslationRecognitionEventArgs", { enumerable: !0, get: function() {
|
|
11789
11789
|
return C.TranslationRecognitionEventArgs;
|
|
11790
11790
|
} });
|
|
11791
|
-
var y =
|
|
11791
|
+
var y = ff();
|
|
11792
11792
|
Object.defineProperty(t, "TranslationSynthesisEventArgs", { enumerable: !0, get: function() {
|
|
11793
11793
|
return y.TranslationSynthesisEventArgs;
|
|
11794
11794
|
} });
|
|
11795
|
-
var E =
|
|
11795
|
+
var E = Kp();
|
|
11796
11796
|
Object.defineProperty(t, "TranslationRecognitionResult", { enumerable: !0, get: function() {
|
|
11797
11797
|
return E.TranslationRecognitionResult;
|
|
11798
11798
|
} });
|
|
@@ -11800,23 +11800,23 @@ function R() {
|
|
|
11800
11800
|
Object.defineProperty(t, "TranslationSynthesisResult", { enumerable: !0, get: function() {
|
|
11801
11801
|
return I.TranslationSynthesisResult;
|
|
11802
11802
|
} });
|
|
11803
|
-
var w =
|
|
11803
|
+
var w = Jp;
|
|
11804
11804
|
Object.defineProperty(t, "ResultReason", { enumerable: !0, get: function() {
|
|
11805
11805
|
return w.ResultReason;
|
|
11806
11806
|
} });
|
|
11807
|
-
var P =
|
|
11807
|
+
var P = mf();
|
|
11808
11808
|
Object.defineProperty(t, "SpeechConfig", { enumerable: !0, get: function() {
|
|
11809
11809
|
return P.SpeechConfig;
|
|
11810
11810
|
} }), Object.defineProperty(t, "SpeechConfigImpl", { enumerable: !0, get: function() {
|
|
11811
11811
|
return P.SpeechConfigImpl;
|
|
11812
11812
|
} });
|
|
11813
|
-
var L =
|
|
11813
|
+
var L = Sf();
|
|
11814
11814
|
Object.defineProperty(t, "SpeechTranslationConfig", { enumerable: !0, get: function() {
|
|
11815
11815
|
return L.SpeechTranslationConfig;
|
|
11816
11816
|
} }), Object.defineProperty(t, "SpeechTranslationConfigImpl", { enumerable: !0, get: function() {
|
|
11817
11817
|
return L.SpeechTranslationConfigImpl;
|
|
11818
11818
|
} });
|
|
11819
|
-
var q =
|
|
11819
|
+
var q = Qp();
|
|
11820
11820
|
Object.defineProperty(t, "PropertyCollection", { enumerable: !0, get: function() {
|
|
11821
11821
|
return q.PropertyCollection;
|
|
11822
11822
|
} });
|
|
@@ -11824,167 +11824,167 @@ function R() {
|
|
|
11824
11824
|
Object.defineProperty(t, "PropertyId", { enumerable: !0, get: function() {
|
|
11825
11825
|
return le.PropertyId;
|
|
11826
11826
|
} });
|
|
11827
|
-
var Ct =
|
|
11827
|
+
var Ct = Cf();
|
|
11828
11828
|
Object.defineProperty(t, "Recognizer", { enumerable: !0, get: function() {
|
|
11829
11829
|
return Ct.Recognizer;
|
|
11830
11830
|
} });
|
|
11831
|
-
var ne =
|
|
11831
|
+
var ne = yf();
|
|
11832
11832
|
Object.defineProperty(t, "SpeechRecognizer", { enumerable: !0, get: function() {
|
|
11833
11833
|
return ne.SpeechRecognizer;
|
|
11834
11834
|
} });
|
|
11835
|
-
var Co =
|
|
11835
|
+
var Co = Rf();
|
|
11836
11836
|
Object.defineProperty(t, "IntentRecognizer", { enumerable: !0, get: function() {
|
|
11837
11837
|
return Co.IntentRecognizer;
|
|
11838
11838
|
} });
|
|
11839
|
-
var
|
|
11839
|
+
var Zu = Yp;
|
|
11840
11840
|
Object.defineProperty(t, "VoiceProfileType", { enumerable: !0, get: function() {
|
|
11841
|
-
return
|
|
11841
|
+
return Zu.VoiceProfileType;
|
|
11842
11842
|
} });
|
|
11843
|
-
var
|
|
11843
|
+
var Yu = Pf();
|
|
11844
11844
|
Object.defineProperty(t, "TranslationRecognizer", { enumerable: !0, get: function() {
|
|
11845
|
-
return
|
|
11845
|
+
return Yu.TranslationRecognizer;
|
|
11846
11846
|
} });
|
|
11847
|
-
var
|
|
11847
|
+
var ed = Ef();
|
|
11848
11848
|
Object.defineProperty(t, "Translations", { enumerable: !0, get: function() {
|
|
11849
|
-
return
|
|
11849
|
+
return ed.Translations;
|
|
11850
11850
|
} });
|
|
11851
|
-
var
|
|
11851
|
+
var td = nu;
|
|
11852
11852
|
Object.defineProperty(t, "NoMatchReason", { enumerable: !0, get: function() {
|
|
11853
|
-
return
|
|
11853
|
+
return td.NoMatchReason;
|
|
11854
11854
|
} });
|
|
11855
|
-
var
|
|
11855
|
+
var rd = If();
|
|
11856
11856
|
Object.defineProperty(t, "NoMatchDetails", { enumerable: !0, get: function() {
|
|
11857
|
-
return
|
|
11857
|
+
return rd.NoMatchDetails;
|
|
11858
11858
|
} });
|
|
11859
|
-
var
|
|
11859
|
+
var nd = Mi;
|
|
11860
11860
|
Object.defineProperty(t, "TranslationRecognitionCanceledEventArgs", { enumerable: !0, get: function() {
|
|
11861
|
-
return
|
|
11861
|
+
return nd.TranslationRecognitionCanceledEventArgs;
|
|
11862
11862
|
} });
|
|
11863
|
-
var
|
|
11863
|
+
var id = Af();
|
|
11864
11864
|
Object.defineProperty(t, "IntentRecognitionCanceledEventArgs", { enumerable: !0, get: function() {
|
|
11865
|
-
return
|
|
11865
|
+
return id.IntentRecognitionCanceledEventArgs;
|
|
11866
11866
|
} });
|
|
11867
|
-
var
|
|
11867
|
+
var sd = jn;
|
|
11868
11868
|
Object.defineProperty(t, "CancellationDetailsBase", { enumerable: !0, get: function() {
|
|
11869
|
-
return
|
|
11869
|
+
return sd.CancellationDetailsBase;
|
|
11870
11870
|
} });
|
|
11871
|
-
var
|
|
11871
|
+
var od = _f();
|
|
11872
11872
|
Object.defineProperty(t, "CancellationDetails", { enumerable: !0, get: function() {
|
|
11873
|
-
return
|
|
11873
|
+
return od.CancellationDetails;
|
|
11874
11874
|
} });
|
|
11875
|
-
var
|
|
11875
|
+
var ad = ou;
|
|
11876
11876
|
Object.defineProperty(t, "CancellationErrorCode", { enumerable: !0, get: function() {
|
|
11877
|
-
return
|
|
11877
|
+
return ad.CancellationErrorCode;
|
|
11878
11878
|
} });
|
|
11879
|
-
var
|
|
11879
|
+
var cd = bf();
|
|
11880
11880
|
Object.defineProperty(t, "ConnectionEventArgs", { enumerable: !0, get: function() {
|
|
11881
|
-
return
|
|
11881
|
+
return cd.ConnectionEventArgs;
|
|
11882
11882
|
} });
|
|
11883
|
-
var
|
|
11883
|
+
var pd = Mf();
|
|
11884
11884
|
Object.defineProperty(t, "ServiceEventArgs", { enumerable: !0, get: function() {
|
|
11885
|
-
return
|
|
11885
|
+
return pd.ServiceEventArgs;
|
|
11886
11886
|
} });
|
|
11887
|
-
var
|
|
11887
|
+
var ud = tu();
|
|
11888
11888
|
Object.defineProperty(t, "Connection", { enumerable: !0, get: function() {
|
|
11889
|
-
return
|
|
11889
|
+
return ud.Connection;
|
|
11890
11890
|
} });
|
|
11891
|
-
var
|
|
11891
|
+
var dd = Oi;
|
|
11892
11892
|
Object.defineProperty(t, "PhraseListGrammar", { enumerable: !0, get: function() {
|
|
11893
|
-
return
|
|
11893
|
+
return dd.PhraseListGrammar;
|
|
11894
11894
|
} });
|
|
11895
|
-
var
|
|
11895
|
+
var hd = Zs();
|
|
11896
11896
|
Object.defineProperty(t, "DialogServiceConfig", { enumerable: !0, get: function() {
|
|
11897
|
-
return
|
|
11897
|
+
return hd.DialogServiceConfig;
|
|
11898
11898
|
} });
|
|
11899
|
-
var
|
|
11899
|
+
var ld = Of();
|
|
11900
11900
|
Object.defineProperty(t, "BotFrameworkConfig", { enumerable: !0, get: function() {
|
|
11901
|
-
return
|
|
11901
|
+
return ld.BotFrameworkConfig;
|
|
11902
11902
|
} });
|
|
11903
|
-
var
|
|
11903
|
+
var vd = Df();
|
|
11904
11904
|
Object.defineProperty(t, "CustomCommandsConfig", { enumerable: !0, get: function() {
|
|
11905
|
-
return
|
|
11905
|
+
return vd.CustomCommandsConfig;
|
|
11906
11906
|
} });
|
|
11907
|
-
var
|
|
11907
|
+
var fd = Nf();
|
|
11908
11908
|
Object.defineProperty(t, "DialogServiceConnector", { enumerable: !0, get: function() {
|
|
11909
|
-
return
|
|
11909
|
+
return fd.DialogServiceConnector;
|
|
11910
11910
|
} });
|
|
11911
|
-
var
|
|
11911
|
+
var gd = Di;
|
|
11912
11912
|
Object.defineProperty(t, "ActivityReceivedEventArgs", { enumerable: !0, get: function() {
|
|
11913
|
-
return
|
|
11913
|
+
return gd.ActivityReceivedEventArgs;
|
|
11914
11914
|
} });
|
|
11915
|
-
var
|
|
11915
|
+
var md = ki;
|
|
11916
11916
|
Object.defineProperty(t, "TurnStatusReceivedEventArgs", { enumerable: !0, get: function() {
|
|
11917
|
-
return
|
|
11917
|
+
return md.TurnStatusReceivedEventArgs;
|
|
11918
11918
|
} });
|
|
11919
|
-
var
|
|
11919
|
+
var Sd = au;
|
|
11920
11920
|
Object.defineProperty(t, "ServicePropertyChannel", { enumerable: !0, get: function() {
|
|
11921
|
-
return
|
|
11921
|
+
return Sd.ServicePropertyChannel;
|
|
11922
11922
|
} });
|
|
11923
|
-
var
|
|
11923
|
+
var Cd = cu;
|
|
11924
11924
|
Object.defineProperty(t, "ProfanityOption", { enumerable: !0, get: function() {
|
|
11925
|
-
return
|
|
11925
|
+
return Cd.ProfanityOption;
|
|
11926
11926
|
} });
|
|
11927
|
-
var
|
|
11927
|
+
var yd = Bf();
|
|
11928
11928
|
Object.defineProperty(t, "BaseAudioPlayer", { enumerable: !0, get: function() {
|
|
11929
|
-
return
|
|
11929
|
+
return yd.BaseAudioPlayer;
|
|
11930
11930
|
} });
|
|
11931
|
-
var
|
|
11931
|
+
var Rd = zi;
|
|
11932
11932
|
Object.defineProperty(t, "ConnectionMessageEventArgs", { enumerable: !0, get: function() {
|
|
11933
|
-
return
|
|
11933
|
+
return Rd.ConnectionMessageEventArgs;
|
|
11934
11934
|
} });
|
|
11935
|
-
var
|
|
11935
|
+
var Pd = eu();
|
|
11936
11936
|
Object.defineProperty(t, "ConnectionMessage", { enumerable: !0, get: function() {
|
|
11937
|
-
return
|
|
11937
|
+
return Pd.ConnectionMessage;
|
|
11938
11938
|
} });
|
|
11939
|
-
var
|
|
11939
|
+
var Ed = ji;
|
|
11940
11940
|
Object.defineProperty(t, "VoiceProfile", { enumerable: !0, get: function() {
|
|
11941
|
-
return
|
|
11941
|
+
return Ed.VoiceProfile;
|
|
11942
11942
|
} });
|
|
11943
|
-
var yo =
|
|
11943
|
+
var yo = xf();
|
|
11944
11944
|
Object.defineProperty(t, "VoiceProfileEnrollmentResult", { enumerable: !0, get: function() {
|
|
11945
11945
|
return yo.VoiceProfileEnrollmentResult;
|
|
11946
11946
|
} }), Object.defineProperty(t, "VoiceProfileEnrollmentCancellationDetails", { enumerable: !0, get: function() {
|
|
11947
11947
|
return yo.VoiceProfileEnrollmentCancellationDetails;
|
|
11948
11948
|
} });
|
|
11949
|
-
var Ro =
|
|
11949
|
+
var Ro = Uf();
|
|
11950
11950
|
Object.defineProperty(t, "VoiceProfileResult", { enumerable: !0, get: function() {
|
|
11951
11951
|
return Ro.VoiceProfileResult;
|
|
11952
11952
|
} }), Object.defineProperty(t, "VoiceProfileCancellationDetails", { enumerable: !0, get: function() {
|
|
11953
11953
|
return Ro.VoiceProfileCancellationDetails;
|
|
11954
11954
|
} });
|
|
11955
|
-
var
|
|
11955
|
+
var Id = Wf();
|
|
11956
11956
|
Object.defineProperty(t, "VoiceProfilePhraseResult", { enumerable: !0, get: function() {
|
|
11957
|
-
return
|
|
11957
|
+
return Id.VoiceProfilePhraseResult;
|
|
11958
11958
|
} });
|
|
11959
|
-
var
|
|
11959
|
+
var Td = Vf();
|
|
11960
11960
|
Object.defineProperty(t, "VoiceProfileClient", { enumerable: !0, get: function() {
|
|
11961
|
-
return
|
|
11961
|
+
return Td.VoiceProfileClient;
|
|
11962
11962
|
} });
|
|
11963
|
-
var
|
|
11963
|
+
var Ad = Hf();
|
|
11964
11964
|
Object.defineProperty(t, "SpeakerRecognizer", { enumerable: !0, get: function() {
|
|
11965
|
-
return
|
|
11965
|
+
return Ad.SpeakerRecognizer;
|
|
11966
11966
|
} });
|
|
11967
|
-
var
|
|
11967
|
+
var wd = $f();
|
|
11968
11968
|
Object.defineProperty(t, "SpeakerIdentificationModel", { enumerable: !0, get: function() {
|
|
11969
|
-
return
|
|
11969
|
+
return wd.SpeakerIdentificationModel;
|
|
11970
11970
|
} });
|
|
11971
|
-
var
|
|
11971
|
+
var _d = Kf();
|
|
11972
11972
|
Object.defineProperty(t, "SpeakerVerificationModel", { enumerable: !0, get: function() {
|
|
11973
|
-
return
|
|
11973
|
+
return _d.SpeakerVerificationModel;
|
|
11974
11974
|
} });
|
|
11975
|
-
var
|
|
11975
|
+
var bd = Jf();
|
|
11976
11976
|
Object.defineProperty(t, "AutoDetectSourceLanguageConfig", { enumerable: !0, get: function() {
|
|
11977
|
-
return
|
|
11977
|
+
return bd.AutoDetectSourceLanguageConfig;
|
|
11978
11978
|
} });
|
|
11979
|
-
var
|
|
11979
|
+
var Md = Li;
|
|
11980
11980
|
Object.defineProperty(t, "AutoDetectSourceLanguageResult", { enumerable: !0, get: function() {
|
|
11981
|
-
return
|
|
11981
|
+
return Md.AutoDetectSourceLanguageResult;
|
|
11982
11982
|
} });
|
|
11983
|
-
var
|
|
11983
|
+
var Od = Bi;
|
|
11984
11984
|
Object.defineProperty(t, "SourceLanguageConfig", { enumerable: !0, get: function() {
|
|
11985
|
-
return
|
|
11985
|
+
return Od.SourceLanguageConfig;
|
|
11986
11986
|
} });
|
|
11987
|
-
var hs =
|
|
11987
|
+
var hs = Qf();
|
|
11988
11988
|
Object.defineProperty(t, "SpeakerRecognitionResult", { enumerable: !0, get: function() {
|
|
11989
11989
|
return hs.SpeakerRecognitionResult;
|
|
11990
11990
|
} }), Object.defineProperty(t, "SpeakerRecognitionResultType", { enumerable: !0, get: function() {
|
|
@@ -12022,51 +12022,51 @@ function R() {
|
|
|
12022
12022
|
} }), Object.defineProperty(t, "User", { enumerable: !0, get: function() {
|
|
12023
12023
|
return ce.User;
|
|
12024
12024
|
} });
|
|
12025
|
-
var
|
|
12025
|
+
var Dd = no();
|
|
12026
12026
|
Object.defineProperty(t, "Synthesizer", { enumerable: !0, get: function() {
|
|
12027
|
-
return
|
|
12027
|
+
return Dd.Synthesizer;
|
|
12028
12028
|
} });
|
|
12029
|
-
var
|
|
12029
|
+
var kd = Js;
|
|
12030
12030
|
Object.defineProperty(t, "SpeechSynthesisOutputFormat", { enumerable: !0, get: function() {
|
|
12031
|
-
return
|
|
12031
|
+
return kd.SpeechSynthesisOutputFormat;
|
|
12032
12032
|
} });
|
|
12033
|
-
var
|
|
12033
|
+
var Nd = hg();
|
|
12034
12034
|
Object.defineProperty(t, "SpeechSynthesizer", { enumerable: !0, get: function() {
|
|
12035
|
-
return
|
|
12035
|
+
return Nd.SpeechSynthesizer;
|
|
12036
12036
|
} });
|
|
12037
|
-
var
|
|
12037
|
+
var zd = Fi;
|
|
12038
12038
|
Object.defineProperty(t, "SynthesisResult", { enumerable: !0, get: function() {
|
|
12039
|
-
return
|
|
12039
|
+
return zd.SynthesisResult;
|
|
12040
12040
|
} });
|
|
12041
|
-
var
|
|
12041
|
+
var jd = vg();
|
|
12042
12042
|
Object.defineProperty(t, "SpeechSynthesisResult", { enumerable: !0, get: function() {
|
|
12043
|
-
return
|
|
12043
|
+
return jd.SpeechSynthesisResult;
|
|
12044
12044
|
} });
|
|
12045
|
-
var
|
|
12045
|
+
var Ld = xi;
|
|
12046
12046
|
Object.defineProperty(t, "SpeechSynthesisEventArgs", { enumerable: !0, get: function() {
|
|
12047
|
-
return
|
|
12047
|
+
return Ld.SpeechSynthesisEventArgs;
|
|
12048
12048
|
} });
|
|
12049
|
-
var
|
|
12049
|
+
var Bd = Ui;
|
|
12050
12050
|
Object.defineProperty(t, "SpeechSynthesisWordBoundaryEventArgs", { enumerable: !0, get: function() {
|
|
12051
|
-
return
|
|
12051
|
+
return Bd.SpeechSynthesisWordBoundaryEventArgs;
|
|
12052
12052
|
} });
|
|
12053
|
-
var
|
|
12053
|
+
var qd = Wi;
|
|
12054
12054
|
Object.defineProperty(t, "SpeechSynthesisBookmarkEventArgs", { enumerable: !0, get: function() {
|
|
12055
|
-
return
|
|
12055
|
+
return qd.SpeechSynthesisBookmarkEventArgs;
|
|
12056
12056
|
} });
|
|
12057
|
-
var
|
|
12057
|
+
var Fd = Vi;
|
|
12058
12058
|
Object.defineProperty(t, "SpeechSynthesisVisemeEventArgs", { enumerable: !0, get: function() {
|
|
12059
|
-
return
|
|
12059
|
+
return Fd.SpeechSynthesisVisemeEventArgs;
|
|
12060
12060
|
} });
|
|
12061
|
-
var
|
|
12061
|
+
var xd = mu;
|
|
12062
12062
|
Object.defineProperty(t, "SpeechSynthesisBoundaryType", { enumerable: !0, get: function() {
|
|
12063
|
-
return
|
|
12063
|
+
return xd.SpeechSynthesisBoundaryType;
|
|
12064
12064
|
} });
|
|
12065
|
-
var
|
|
12065
|
+
var Ud = Cg();
|
|
12066
12066
|
Object.defineProperty(t, "SynthesisVoicesResult", { enumerable: !0, get: function() {
|
|
12067
|
-
return
|
|
12067
|
+
return Ud.SynthesisVoicesResult;
|
|
12068
12068
|
} });
|
|
12069
|
-
var ls =
|
|
12069
|
+
var ls = Su;
|
|
12070
12070
|
Object.defineProperty(t, "SynthesisVoiceGender", { enumerable: !0, get: function() {
|
|
12071
12071
|
return ls.SynthesisVoiceGender;
|
|
12072
12072
|
} }), Object.defineProperty(t, "SynthesisVoiceType", { enumerable: !0, get: function() {
|
|
@@ -12074,49 +12074,49 @@ function R() {
|
|
|
12074
12074
|
} }), Object.defineProperty(t, "VoiceInfo", { enumerable: !0, get: function() {
|
|
12075
12075
|
return ls.VoiceInfo;
|
|
12076
12076
|
} });
|
|
12077
|
-
var
|
|
12077
|
+
var Wd = Hi;
|
|
12078
12078
|
Object.defineProperty(t, "SpeakerAudioDestination", { enumerable: !0, get: function() {
|
|
12079
|
-
return
|
|
12079
|
+
return Wd.SpeakerAudioDestination;
|
|
12080
12080
|
} });
|
|
12081
|
-
var
|
|
12081
|
+
var Vd = Eg();
|
|
12082
12082
|
Object.defineProperty(t, "ConversationTranscriptionCanceledEventArgs", { enumerable: !0, get: function() {
|
|
12083
|
-
return
|
|
12083
|
+
return Vd.ConversationTranscriptionCanceledEventArgs;
|
|
12084
12084
|
} });
|
|
12085
|
-
var
|
|
12085
|
+
var Hd = Ig();
|
|
12086
12086
|
Object.defineProperty(t, "MeetingTranscriptionCanceledEventArgs", { enumerable: !0, get: function() {
|
|
12087
|
-
return
|
|
12087
|
+
return Hd.MeetingTranscriptionCanceledEventArgs;
|
|
12088
12088
|
} });
|
|
12089
|
-
var
|
|
12089
|
+
var $d = Cu;
|
|
12090
12090
|
Object.defineProperty(t, "PronunciationAssessmentGradingSystem", { enumerable: !0, get: function() {
|
|
12091
|
-
return
|
|
12091
|
+
return $d.PronunciationAssessmentGradingSystem;
|
|
12092
12092
|
} });
|
|
12093
|
-
var
|
|
12093
|
+
var Kd = yu;
|
|
12094
12094
|
Object.defineProperty(t, "PronunciationAssessmentGranularity", { enumerable: !0, get: function() {
|
|
12095
|
-
return
|
|
12095
|
+
return Kd.PronunciationAssessmentGranularity;
|
|
12096
12096
|
} });
|
|
12097
|
-
var
|
|
12097
|
+
var Jd = Tg();
|
|
12098
12098
|
Object.defineProperty(t, "PronunciationAssessmentConfig", { enumerable: !0, get: function() {
|
|
12099
|
-
return
|
|
12099
|
+
return Jd.PronunciationAssessmentConfig;
|
|
12100
12100
|
} });
|
|
12101
|
-
var
|
|
12101
|
+
var Gd = Ag();
|
|
12102
12102
|
Object.defineProperty(t, "PronunciationAssessmentResult", { enumerable: !0, get: function() {
|
|
12103
|
-
return
|
|
12103
|
+
return Gd.PronunciationAssessmentResult;
|
|
12104
12104
|
} });
|
|
12105
|
-
var
|
|
12105
|
+
var Qd = eo;
|
|
12106
12106
|
Object.defineProperty(t, "LanguageIdMode", { enumerable: !0, get: function() {
|
|
12107
|
-
return
|
|
12107
|
+
return Qd.LanguageIdMode;
|
|
12108
12108
|
} });
|
|
12109
|
-
var
|
|
12109
|
+
var Xd = wg();
|
|
12110
12110
|
Object.defineProperty(t, "AvatarConfig", { enumerable: !0, get: function() {
|
|
12111
|
-
return
|
|
12111
|
+
return Xd.AvatarConfig;
|
|
12112
12112
|
} });
|
|
12113
|
-
var
|
|
12113
|
+
var Zd = Eu;
|
|
12114
12114
|
Object.defineProperty(t, "AvatarEventArgs", { enumerable: !0, get: function() {
|
|
12115
|
-
return
|
|
12115
|
+
return Zd.AvatarEventArgs;
|
|
12116
12116
|
} });
|
|
12117
|
-
var
|
|
12117
|
+
var Yd = _g();
|
|
12118
12118
|
Object.defineProperty(t, "AvatarSynthesizer", { enumerable: !0, get: function() {
|
|
12119
|
-
return
|
|
12119
|
+
return Yd.AvatarSynthesizer;
|
|
12120
12120
|
} });
|
|
12121
12121
|
var Po = _t;
|
|
12122
12122
|
Object.defineProperty(t, "AvatarVideoFormat", { enumerable: !0, get: function() {
|
|
@@ -12124,32 +12124,32 @@ function R() {
|
|
|
12124
12124
|
} }), Object.defineProperty(t, "Coordinate", { enumerable: !0, get: function() {
|
|
12125
12125
|
return Po.Coordinate;
|
|
12126
12126
|
} });
|
|
12127
|
-
var
|
|
12127
|
+
var eh = Og();
|
|
12128
12128
|
Object.defineProperty(t, "AvatarWebRTCConnectionResult", { enumerable: !0, get: function() {
|
|
12129
|
-
return
|
|
12129
|
+
return eh.AvatarWebRTCConnectionResult;
|
|
12130
12130
|
} });
|
|
12131
|
-
var
|
|
12131
|
+
var th = Dg();
|
|
12132
12132
|
Object.defineProperty(t, "Diagnostics", { enumerable: !0, get: function() {
|
|
12133
|
-
return
|
|
12133
|
+
return th.Diagnostics;
|
|
12134
12134
|
} });
|
|
12135
|
-
var
|
|
12135
|
+
var rh = $s;
|
|
12136
12136
|
Object.defineProperty(t, "LogLevel", { enumerable: !0, get: function() {
|
|
12137
|
-
return
|
|
12137
|
+
return rh.LogLevel;
|
|
12138
12138
|
} });
|
|
12139
12139
|
}(Ts)), Ts;
|
|
12140
12140
|
}
|
|
12141
12141
|
var uc;
|
|
12142
|
-
function
|
|
12142
|
+
function kg() {
|
|
12143
12143
|
if (uc)
|
|
12144
12144
|
return Wt;
|
|
12145
12145
|
uc = 1, Object.defineProperty(Wt, "__esModule", { value: !0 }), Wt.ProxyInfo = void 0;
|
|
12146
12146
|
const t = R();
|
|
12147
|
-
let e = class
|
|
12147
|
+
let e = class Tu {
|
|
12148
12148
|
constructor(i, p, a, s) {
|
|
12149
12149
|
this.privProxyHostName = i, this.privProxyPort = p, this.privProxyUserName = a, this.privProxyPassword = s;
|
|
12150
12150
|
}
|
|
12151
12151
|
static fromParameters(i) {
|
|
12152
|
-
return new
|
|
12152
|
+
return new Tu(i.getProperty(t.PropertyId.SpeechServiceConnection_ProxyHostName), parseInt(i.getProperty(t.PropertyId.SpeechServiceConnection_ProxyPort), 10), i.getProperty(t.PropertyId.SpeechServiceConnection_ProxyUserName), i.getProperty(t.PropertyId.SpeechServiceConnection_ProxyPassword));
|
|
12153
12153
|
}
|
|
12154
12154
|
static fromRecognizerConfig(i) {
|
|
12155
12155
|
return this.fromParameters(i.parameters);
|
|
@@ -12169,9 +12169,9 @@ function Ng() {
|
|
|
12169
12169
|
};
|
|
12170
12170
|
return Wt.ProxyInfo = e, Wt;
|
|
12171
12171
|
}
|
|
12172
|
-
var
|
|
12173
|
-
const
|
|
12174
|
-
var
|
|
12172
|
+
var Au = {};
|
|
12173
|
+
const Ng = /* @__PURE__ */ new Set(["json", "buffer", "string"]);
|
|
12174
|
+
var zg = (t) => (...e) => {
|
|
12175
12175
|
const r = /* @__PURE__ */ new Set();
|
|
12176
12176
|
let i, p, a, s = "";
|
|
12177
12177
|
return e.forEach((n) => {
|
|
@@ -12184,7 +12184,7 @@ var jg = (t) => (...e) => {
|
|
|
12184
12184
|
i = n;
|
|
12185
12185
|
else if (n.startsWith("http:") || n.startsWith("https:"))
|
|
12186
12186
|
s = n;
|
|
12187
|
-
else if (
|
|
12187
|
+
else if (Ng.has(n))
|
|
12188
12188
|
p = n;
|
|
12189
12189
|
else
|
|
12190
12190
|
throw new Error(`Unknown encoding, ${n}`);
|
|
@@ -12202,7 +12202,7 @@ var jg = (t) => (...e) => {
|
|
|
12202
12202
|
throw new Error(`Unknown type: ${typeof n}`);
|
|
12203
12203
|
}), i || (i = "GET"), r.size === 0 && r.add(200), t(r, i, p, a, s);
|
|
12204
12204
|
};
|
|
12205
|
-
const
|
|
12205
|
+
const jg = zg;
|
|
12206
12206
|
class io extends Error {
|
|
12207
12207
|
constructor(e, ...r) {
|
|
12208
12208
|
super(...r), Error.captureStackTrace && Error.captureStackTrace(this, io), this.name = "StatusError", this.message = e.statusMessage, this.statusCode = e.status, this.res = e, this.json = e.json.bind(e), this.text = e.text.bind(e), this.arrayBuffer = e.arrayBuffer.bind(e);
|
|
@@ -12212,7 +12212,7 @@ class io extends Error {
|
|
|
12212
12212
|
this.headers[a.toLowerCase()] = s;
|
|
12213
12213
|
}
|
|
12214
12214
|
}
|
|
12215
|
-
const
|
|
12215
|
+
const Lg = (t, e, r, i, p) => async (a, s, n = {}) => {
|
|
12216
12216
|
a = p + (a || "");
|
|
12217
12217
|
let o = new URL(a);
|
|
12218
12218
|
if (i || (i = {}), o.username && (i.Authorization = "Basic " + btoa(o.username + ":" + o.password), o = new URL(o.protocol + "//" + o.host + o.pathname + o.search)), o.protocol !== "https:" && o.protocol !== "http:")
|
|
@@ -12228,13 +12228,13 @@ const Bg = (t, e, r, i, p) => async (a, s, n = {}) => {
|
|
|
12228
12228
|
throw new io(c);
|
|
12229
12229
|
return r === "json" ? c.json() : r === "buffer" ? c.arrayBuffer() : r === "string" ? c.text() : c;
|
|
12230
12230
|
};
|
|
12231
|
-
var
|
|
12231
|
+
var Bg = jg(Lg);
|
|
12232
12232
|
(function(t) {
|
|
12233
12233
|
var e = N && N.__importDefault || function(s) {
|
|
12234
12234
|
return s && s.__esModule ? s : { default: s };
|
|
12235
12235
|
};
|
|
12236
12236
|
Object.defineProperty(t, "__esModule", { value: !0 }), t.RestMessageAdapter = t.RestRequestType = void 0;
|
|
12237
|
-
const r = e(
|
|
12237
|
+
const r = e(Bg), i = A();
|
|
12238
12238
|
var p;
|
|
12239
12239
|
(function(s) {
|
|
12240
12240
|
s.Get = "GET", s.Post = "POST", s.Delete = "DELETE", s.File = "file";
|
|
@@ -12297,7 +12297,7 @@ var qg = Lg(Bg);
|
|
|
12297
12297
|
}
|
|
12298
12298
|
}
|
|
12299
12299
|
t.RestMessageAdapter = a;
|
|
12300
|
-
})(
|
|
12300
|
+
})(Au);
|
|
12301
12301
|
var Bn = {};
|
|
12302
12302
|
Object.defineProperty(Bn, "__esModule", { value: !0 });
|
|
12303
12303
|
Bn.RestConfigBase = void 0;
|
|
@@ -12361,11 +12361,11 @@ function V() {
|
|
|
12361
12361
|
for (var a in i)
|
|
12362
12362
|
a !== "default" && !Object.prototype.hasOwnProperty.call(p, a) && e(p, i, a);
|
|
12363
12363
|
};
|
|
12364
|
-
Object.defineProperty(t, "__esModule", { value: !0 }), r(Ci, t), r(
|
|
12364
|
+
Object.defineProperty(t, "__esModule", { value: !0 }), r(Ci, t), r(zp, t), r(Nv(), t), r(zv(), t), r(yi, t), r(Ri, t), r(kn, t), r(Pi, t), r(kg(), t), r(Au, t), r(Bn, t);
|
|
12365
12365
|
}(Ps)), Ps;
|
|
12366
12366
|
}
|
|
12367
12367
|
var hc;
|
|
12368
|
-
function
|
|
12368
|
+
function qg() {
|
|
12369
12369
|
if (hc)
|
|
12370
12370
|
return Ft;
|
|
12371
12371
|
hc = 1, Object.defineProperty(Ft, "__esModule", { value: !0 }), Ft.IntentConnectionFactory = void 0;
|
|
@@ -12445,7 +12445,7 @@ function Fg() {
|
|
|
12445
12445
|
return Ft.IntentConnectionFactory = a, Ft;
|
|
12446
12446
|
}
|
|
12447
12447
|
var at = {}, lc;
|
|
12448
|
-
function
|
|
12448
|
+
function Fg() {
|
|
12449
12449
|
if (lc)
|
|
12450
12450
|
return at;
|
|
12451
12451
|
lc = 1, Object.defineProperty(at, "__esModule", { value: !0 }), at.VoiceProfileConnectionFactory = at.SpeakerRecognitionConnectionFactory = void 0;
|
|
@@ -12627,68 +12627,68 @@ class so extends Ms.ConnectionMessage {
|
|
|
12627
12627
|
}
|
|
12628
12628
|
}
|
|
12629
12629
|
Ne.SpeechConnectionMessage = so;
|
|
12630
|
-
var
|
|
12630
|
+
var wu = {};
|
|
12631
12631
|
(function(t) {
|
|
12632
12632
|
Object.defineProperty(t, "__esModule", { value: !0 }), t.SegmentationMode = void 0, function(e) {
|
|
12633
12633
|
e.Normal = "Normal", e.Disabled = "Disabled", e.Custom = "Custom", e.Semantic = "Semantic";
|
|
12634
12634
|
}(t.SegmentationMode || (t.SegmentationMode = {}));
|
|
12635
|
-
})(
|
|
12636
|
-
var
|
|
12635
|
+
})(wu);
|
|
12636
|
+
var _u = {};
|
|
12637
12637
|
(function(t) {
|
|
12638
12638
|
Object.defineProperty(t, "__esModule", { value: !0 }), t.NextAction = void 0, function(e) {
|
|
12639
12639
|
e.None = "None", e.Synthesize = "Synthesize";
|
|
12640
12640
|
}(t.NextAction || (t.NextAction = {}));
|
|
12641
|
-
})(
|
|
12642
|
-
var
|
|
12641
|
+
})(_u);
|
|
12642
|
+
var bu = {};
|
|
12643
12643
|
(function(t) {
|
|
12644
12644
|
Object.defineProperty(t, "__esModule", { value: !0 }), t.Mode = void 0, function(e) {
|
|
12645
12645
|
e.None = "None", e.Always = "Always";
|
|
12646
12646
|
}(t.Mode || (t.Mode = {}));
|
|
12647
|
-
})(
|
|
12648
|
-
var
|
|
12647
|
+
})(bu);
|
|
12648
|
+
var Mu = {};
|
|
12649
12649
|
(function(t) {
|
|
12650
12650
|
Object.defineProperty(t, "__esModule", { value: !0 }), t.LanguageIdDetectionPriority = t.LanguageIdDetectionMode = void 0, function(e) {
|
|
12651
12651
|
e.DetectAtAudioStart = "DetectAtAudioStart", e.DetectContinuous = "DetectContinuous", e.DetectSegments = "DetectSegments";
|
|
12652
12652
|
}(t.LanguageIdDetectionMode || (t.LanguageIdDetectionMode = {})), function(e) {
|
|
12653
12653
|
e.Auto = "Auto", e.PrioritizeLatency = "PrioritizeLatency", e.PrioritizeAccuracy = "PrioritizeAccuracy";
|
|
12654
12654
|
}(t.LanguageIdDetectionPriority || (t.LanguageIdDetectionPriority = {}));
|
|
12655
|
-
})(
|
|
12656
|
-
var
|
|
12655
|
+
})(Mu);
|
|
12656
|
+
var Ou = {};
|
|
12657
12657
|
(function(t) {
|
|
12658
12658
|
Object.defineProperty(t, "__esModule", { value: !0 }), t.NextAction = void 0, function(e) {
|
|
12659
12659
|
e.Recognize = "Recognize", e.None = "None";
|
|
12660
12660
|
}(t.NextAction || (t.NextAction = {}));
|
|
12661
|
-
})(
|
|
12662
|
-
var
|
|
12661
|
+
})(Ou);
|
|
12662
|
+
var Du = {};
|
|
12663
12663
|
(function(t) {
|
|
12664
12664
|
Object.defineProperty(t, "__esModule", { value: !0 }), t.OnUnknownAction = void 0, function(e) {
|
|
12665
12665
|
e.RecognizeWithDefaultLanguage = "RecognizeWithDefaultLanguage", e.None = "None";
|
|
12666
12666
|
}(t.OnUnknownAction || (t.OnUnknownAction = {}));
|
|
12667
|
-
})(
|
|
12668
|
-
var
|
|
12667
|
+
})(Du);
|
|
12668
|
+
var ku = {};
|
|
12669
12669
|
(function(t) {
|
|
12670
12670
|
Object.defineProperty(t, "__esModule", { value: !0 }), t.ResultType = void 0, function(e) {
|
|
12671
12671
|
e.Auto = "Auto", e.StableFragment = "StableFragment", e.Hypothesis = "Hypothesis", e.None = "None";
|
|
12672
12672
|
}(t.ResultType || (t.ResultType = {}));
|
|
12673
|
-
})(
|
|
12674
|
-
var
|
|
12673
|
+
})(ku);
|
|
12674
|
+
var Nu = {};
|
|
12675
12675
|
(function(t) {
|
|
12676
12676
|
Object.defineProperty(t, "__esModule", { value: !0 }), t.PhraseResultOutputType = void 0, function(e) {
|
|
12677
12677
|
e.Always = "Always", e.None = "None";
|
|
12678
12678
|
}(t.PhraseResultOutputType || (t.PhraseResultOutputType = {}));
|
|
12679
|
-
})(
|
|
12680
|
-
var
|
|
12679
|
+
})(Nu);
|
|
12680
|
+
var zu = {};
|
|
12681
12681
|
(function(t) {
|
|
12682
12682
|
Object.defineProperty(t, "__esModule", { value: !0 }), t.NextAction = void 0, function(e) {
|
|
12683
12683
|
e.None = "None", e.Translate = "Translate";
|
|
12684
12684
|
}(t.NextAction || (t.NextAction = {}));
|
|
12685
|
-
})(
|
|
12685
|
+
})(zu);
|
|
12686
12686
|
var vc;
|
|
12687
|
-
function
|
|
12687
|
+
function xg() {
|
|
12688
12688
|
if (vc)
|
|
12689
12689
|
return Hr;
|
|
12690
12690
|
vc = 1, Object.defineProperty(Hr, "__esModule", { value: !0 }), Hr.ServiceRecognizerBase = void 0;
|
|
12691
|
-
const t = V(), e = A(), r = R(), i = T(), p = Ne, a =
|
|
12691
|
+
const t = V(), e = A(), r = R(), i = T(), p = Ne, a = wu, s = he, n = _u, o = bu, c = Mu, u = Ou, d = Du, h = ku, l = Nu, f = zu;
|
|
12692
12692
|
let g = class Pn {
|
|
12693
12693
|
constructor(v, m, C, y, E) {
|
|
12694
12694
|
if (this.privConnectionConfigurationPromise = void 0, this.privConnectionPromise = void 0, this.privSetTimeout = setTimeout, this.privIsLiveAudio = !1, this.privAverageBytesPerMs = 0, this.privEnableSpeakerId = !1, this.privExpectContentAssessmentResponse = !1, this.recognizeOverride = void 0, this.recognizeSpeaker = void 0, this.disconnectOverride = void 0, this.receiveMessageOverride = void 0, this.sendPrePayloadJSONOverride = void 0, this.postConnectImplOverride = void 0, this.configConnectionOverride = void 0, this.handleSpeechPhraseMessage = void 0, this.handleSpeechHypothesisMessage = void 0, !v)
|
|
@@ -13126,7 +13126,7 @@ function Ug() {
|
|
|
13126
13126
|
return Hr.ServiceRecognizerBase = g, g.telemetryDataEnabled = !0, Hr;
|
|
13127
13127
|
}
|
|
13128
13128
|
var $r = {}, fc;
|
|
13129
|
-
function
|
|
13129
|
+
function Ug() {
|
|
13130
13130
|
if (fc)
|
|
13131
13131
|
return $r;
|
|
13132
13132
|
fc = 1, Object.defineProperty($r, "__esModule", { value: !0 }), $r.ConversationServiceRecognizer = void 0;
|
|
@@ -13183,7 +13183,7 @@ function Wg() {
|
|
|
13183
13183
|
return $r.ConversationServiceRecognizer = r, $r;
|
|
13184
13184
|
}
|
|
13185
13185
|
var Os = {}, gc;
|
|
13186
|
-
function
|
|
13186
|
+
function Wg() {
|
|
13187
13187
|
return gc || (gc = 1, function(t) {
|
|
13188
13188
|
Object.defineProperty(t, "__esModule", { value: !0 }), t.RecognizerConfig = t.SpeechResultFormat = void 0;
|
|
13189
13189
|
const e = R(), r = T(), i = he;
|
|
@@ -13247,14 +13247,14 @@ function Vg() {
|
|
|
13247
13247
|
t.RecognizerConfig = p;
|
|
13248
13248
|
}(Os)), Os;
|
|
13249
13249
|
}
|
|
13250
|
-
var
|
|
13251
|
-
Object.defineProperty(
|
|
13250
|
+
var ju = {};
|
|
13251
|
+
Object.defineProperty(ju, "__esModule", { value: !0 });
|
|
13252
13252
|
var Ki = {};
|
|
13253
13253
|
Object.defineProperty(Ki, "__esModule", { value: !0 });
|
|
13254
13254
|
Ki.WebsocketMessageFormatter = void 0;
|
|
13255
13255
|
const ve = A(), mc = `\r
|
|
13256
13256
|
`;
|
|
13257
|
-
class
|
|
13257
|
+
class Vg {
|
|
13258
13258
|
toConnectionMessage(e) {
|
|
13259
13259
|
const r = new ve.Deferred();
|
|
13260
13260
|
try {
|
|
@@ -13334,9 +13334,9 @@ class Hg {
|
|
|
13334
13334
|
return r;
|
|
13335
13335
|
}
|
|
13336
13336
|
}
|
|
13337
|
-
Ki.WebsocketMessageFormatter =
|
|
13337
|
+
Ki.WebsocketMessageFormatter = Vg;
|
|
13338
13338
|
var Kr = {}, Sc;
|
|
13339
|
-
function
|
|
13339
|
+
function Hg() {
|
|
13340
13340
|
if (Sc)
|
|
13341
13341
|
return Kr;
|
|
13342
13342
|
Sc = 1, Object.defineProperty(Kr, "__esModule", { value: !0 }), Kr.SpeechConnectionFactory = void 0;
|
|
@@ -13373,7 +13373,7 @@ function $g() {
|
|
|
13373
13373
|
return Kr.SpeechConnectionFactory = o, Kr;
|
|
13374
13374
|
}
|
|
13375
13375
|
var Jr = {}, Cc;
|
|
13376
|
-
function
|
|
13376
|
+
function $g() {
|
|
13377
13377
|
if (Cc)
|
|
13378
13378
|
return Jr;
|
|
13379
13379
|
Cc = 1, Object.defineProperty(Jr, "__esModule", { value: !0 }), Jr.ConversationTranscriberConnectionFactory = void 0;
|
|
@@ -13416,7 +13416,7 @@ function Kg() {
|
|
|
13416
13416
|
return Jr.ConversationTranscriberConnectionFactory = n, Jr;
|
|
13417
13417
|
}
|
|
13418
13418
|
var Gr = {}, yc;
|
|
13419
|
-
function
|
|
13419
|
+
function Kg() {
|
|
13420
13420
|
if (yc)
|
|
13421
13421
|
return Gr;
|
|
13422
13422
|
yc = 1, Object.defineProperty(Gr, "__esModule", { value: !0 }), Gr.TranscriberConnectionFactory = void 0;
|
|
@@ -13444,7 +13444,7 @@ function Jg() {
|
|
|
13444
13444
|
return Gr.TranscriberConnectionFactory = s, Gr;
|
|
13445
13445
|
}
|
|
13446
13446
|
var Qr = {}, Rc;
|
|
13447
|
-
function
|
|
13447
|
+
function Jg() {
|
|
13448
13448
|
if (Rc)
|
|
13449
13449
|
return Qr;
|
|
13450
13450
|
Rc = 1, Object.defineProperty(Qr, "__esModule", { value: !0 }), Qr.TranslationConnectionFactory = void 0;
|
|
@@ -13479,7 +13479,7 @@ function Gg() {
|
|
|
13479
13479
|
return Qr.TranslationConnectionFactory = o, Qr;
|
|
13480
13480
|
}
|
|
13481
13481
|
var Xr = {}, Pc;
|
|
13482
|
-
function
|
|
13482
|
+
function Gg() {
|
|
13483
13483
|
if (Pc)
|
|
13484
13484
|
return Xr;
|
|
13485
13485
|
Pc = 1, Object.defineProperty(Xr, "__esModule", { value: !0 }), Xr.EnumTranslation = void 0;
|
|
@@ -13566,26 +13566,26 @@ function Qg() {
|
|
|
13566
13566
|
};
|
|
13567
13567
|
return Xr.EnumTranslation = r, Xr;
|
|
13568
13568
|
}
|
|
13569
|
-
var
|
|
13569
|
+
var Lu = {};
|
|
13570
13570
|
(function(t) {
|
|
13571
13571
|
Object.defineProperty(t, "__esModule", { value: !0 }), t.RecognitionStatus = t.SynthesisStatus = void 0, function(e) {
|
|
13572
13572
|
e[e.Success = 0] = "Success", e[e.SynthesisEnd = 1] = "SynthesisEnd", e[e.Error = 2] = "Error";
|
|
13573
13573
|
}(t.SynthesisStatus || (t.SynthesisStatus = {})), function(e) {
|
|
13574
13574
|
e[e.Success = 0] = "Success", e[e.NoMatch = 1] = "NoMatch", e[e.InitialSilenceTimeout = 2] = "InitialSilenceTimeout", e[e.BabbleTimeout = 3] = "BabbleTimeout", e[e.Error = 4] = "Error", e[e.EndOfDictation = 5] = "EndOfDictation", e[e.TooManyRequests = 6] = "TooManyRequests", e[e.BadRequest = 7] = "BadRequest", e[e.Forbidden = 8] = "Forbidden";
|
|
13575
13575
|
}(t.RecognitionStatus || (t.RecognitionStatus = {}));
|
|
13576
|
-
})(
|
|
13576
|
+
})(Lu);
|
|
13577
13577
|
var Zr = {}, Ec;
|
|
13578
|
-
function
|
|
13578
|
+
function Qg() {
|
|
13579
13579
|
if (Ec)
|
|
13580
13580
|
return Zr;
|
|
13581
13581
|
Ec = 1, Object.defineProperty(Zr, "__esModule", { value: !0 }), Zr.TranslationSynthesisEnd = void 0;
|
|
13582
13582
|
const t = T();
|
|
13583
|
-
let e = class
|
|
13583
|
+
let e = class Bu {
|
|
13584
13584
|
constructor(i) {
|
|
13585
13585
|
this.privSynthesisEnd = JSON.parse(i), this.privSynthesisEnd.SynthesisStatus && (this.privSynthesisEnd.SynthesisStatus = t.SynthesisStatus[this.privSynthesisEnd.SynthesisStatus]), this.privSynthesisEnd.Status && (this.privSynthesisEnd.SynthesisStatus = t.SynthesisStatus[this.privSynthesisEnd.Status]);
|
|
13586
13586
|
}
|
|
13587
13587
|
static fromJSON(i) {
|
|
13588
|
-
return new
|
|
13588
|
+
return new Bu(i);
|
|
13589
13589
|
}
|
|
13590
13590
|
get SynthesisStatus() {
|
|
13591
13591
|
return this.privSynthesisEnd.SynthesisStatus;
|
|
@@ -13599,7 +13599,7 @@ function Xg() {
|
|
|
13599
13599
|
var Ji = {};
|
|
13600
13600
|
Object.defineProperty(Ji, "__esModule", { value: !0 });
|
|
13601
13601
|
Ji.TranslationHypothesis = void 0;
|
|
13602
|
-
const
|
|
13602
|
+
const Xg = b, Ic = gi;
|
|
13603
13603
|
class Gn {
|
|
13604
13604
|
constructor(e, r) {
|
|
13605
13605
|
this.privTranslationHypothesis = e, this.privTranslationHypothesis.Offset += r, this.privTranslationHypothesis.Translation.TranslationStatus = this.mapTranslationStatus(this.privTranslationHypothesis.Translation.TranslationStatus);
|
|
@@ -13608,7 +13608,7 @@ class Gn {
|
|
|
13608
13608
|
return new Gn(JSON.parse(e), r);
|
|
13609
13609
|
}
|
|
13610
13610
|
static fromTranslationResponse(e, r) {
|
|
13611
|
-
|
|
13611
|
+
Xg.Contracts.throwIfNullOrUndefined(e, "translationHypothesis");
|
|
13612
13612
|
const i = e.SpeechHypothesis;
|
|
13613
13613
|
return e.SpeechHypothesis = void 0, i.Translation = e, new Gn(i, r);
|
|
13614
13614
|
}
|
|
@@ -13644,7 +13644,7 @@ class Gn {
|
|
|
13644
13644
|
}
|
|
13645
13645
|
Ji.TranslationHypothesis = Gn;
|
|
13646
13646
|
var Yr = {}, Tc;
|
|
13647
|
-
function
|
|
13647
|
+
function Zg() {
|
|
13648
13648
|
if (Tc)
|
|
13649
13649
|
return Yr;
|
|
13650
13650
|
Tc = 1, Object.defineProperty(Yr, "__esModule", { value: !0 }), Yr.TranslationPhrase = void 0;
|
|
@@ -13710,7 +13710,7 @@ function Yg() {
|
|
|
13710
13710
|
return Yr.TranslationPhrase = i, Yr;
|
|
13711
13711
|
}
|
|
13712
13712
|
var en = {}, Ac;
|
|
13713
|
-
function
|
|
13713
|
+
function Yg() {
|
|
13714
13714
|
if (Ac)
|
|
13715
13715
|
return en;
|
|
13716
13716
|
Ac = 1, Object.defineProperty(en, "__esModule", { value: !0 }), en.TranslationServiceRecognizer = void 0;
|
|
@@ -13977,7 +13977,7 @@ class co {
|
|
|
13977
13977
|
}
|
|
13978
13978
|
Xi.SpeechKeyword = co;
|
|
13979
13979
|
var tn = {}, wc;
|
|
13980
|
-
function
|
|
13980
|
+
function em() {
|
|
13981
13981
|
if (wc)
|
|
13982
13982
|
return tn;
|
|
13983
13983
|
wc = 1, Object.defineProperty(tn, "__esModule", { value: !0 }), tn.SpeechServiceRecognizer = void 0;
|
|
@@ -14118,20 +14118,20 @@ function tm() {
|
|
|
14118
14118
|
};
|
|
14119
14119
|
return tn.SpeechServiceRecognizer = r, tn;
|
|
14120
14120
|
}
|
|
14121
|
-
var rn = {},
|
|
14121
|
+
var rn = {}, qu = {};
|
|
14122
14122
|
(function(t) {
|
|
14123
14123
|
Object.defineProperty(t, "__esModule", { value: !0 }), t.IdentityProvider = t.SpeakerDiarizationMode = void 0, function(e) {
|
|
14124
14124
|
e.None = "None", e.Identity = "Identity", e.Anonymous = "Anonymous";
|
|
14125
14125
|
}(t.SpeakerDiarizationMode || (t.SpeakerDiarizationMode = {})), function(e) {
|
|
14126
14126
|
e.CallCenter = "CallCenter";
|
|
14127
14127
|
}(t.IdentityProvider || (t.IdentityProvider = {}));
|
|
14128
|
-
})(
|
|
14128
|
+
})(qu);
|
|
14129
14129
|
var _c;
|
|
14130
|
-
function
|
|
14130
|
+
function tm() {
|
|
14131
14131
|
if (_c)
|
|
14132
14132
|
return rn;
|
|
14133
14133
|
_c = 1, Object.defineProperty(rn, "__esModule", { value: !0 }), rn.ConversationTranscriptionServiceRecognizer = void 0;
|
|
14134
|
-
const t = R(), e = T(), r =
|
|
14134
|
+
const t = R(), e = T(), r = qu, i = he;
|
|
14135
14135
|
let p = class extends e.ServiceRecognizerBase {
|
|
14136
14136
|
constructor(s, n, o, c, u) {
|
|
14137
14137
|
super(s, n, o, c, u), this.privConversationTranscriber = u, this.setSpeakerDiarizationJson();
|
|
@@ -14200,7 +14200,7 @@ function rm() {
|
|
|
14200
14200
|
return rn.ConversationTranscriptionServiceRecognizer = p, rn;
|
|
14201
14201
|
}
|
|
14202
14202
|
var nn = {}, bc;
|
|
14203
|
-
function
|
|
14203
|
+
function rm() {
|
|
14204
14204
|
if (bc)
|
|
14205
14205
|
return nn;
|
|
14206
14206
|
bc = 1, Object.defineProperty(nn, "__esModule", { value: !0 }), nn.TranscriptionServiceRecognizer = void 0;
|
|
@@ -14318,17 +14318,17 @@ function nm() {
|
|
|
14318
14318
|
return nn.TranscriptionServiceRecognizer = p, nn;
|
|
14319
14319
|
}
|
|
14320
14320
|
var sn = {}, Mc;
|
|
14321
|
-
function
|
|
14321
|
+
function nm() {
|
|
14322
14322
|
if (Mc)
|
|
14323
14323
|
return sn;
|
|
14324
14324
|
Mc = 1, Object.defineProperty(sn, "__esModule", { value: !0 }), sn.DetailedSpeechPhrase = void 0;
|
|
14325
14325
|
const t = T();
|
|
14326
|
-
let e = class
|
|
14326
|
+
let e = class Fu {
|
|
14327
14327
|
constructor(i, p) {
|
|
14328
14328
|
this.privDetailedSpeechPhrase = JSON.parse(i), this.privDetailedSpeechPhrase.RecognitionStatus = this.mapRecognitionStatus(this.privDetailedSpeechPhrase.RecognitionStatus), this.updateOffsets(p);
|
|
14329
14329
|
}
|
|
14330
14330
|
static fromJSON(i, p) {
|
|
14331
|
-
return new
|
|
14331
|
+
return new Fu(i, p);
|
|
14332
14332
|
}
|
|
14333
14333
|
updateOffsets(i) {
|
|
14334
14334
|
if (this.privDetailedSpeechPhrase.Offset += i, this.privDetailedSpeechPhrase.NBest)
|
|
@@ -14382,17 +14382,17 @@ function im() {
|
|
|
14382
14382
|
return sn.DetailedSpeechPhrase = e, sn;
|
|
14383
14383
|
}
|
|
14384
14384
|
var on = {}, Oc;
|
|
14385
|
-
function
|
|
14385
|
+
function im() {
|
|
14386
14386
|
if (Oc)
|
|
14387
14387
|
return on;
|
|
14388
14388
|
Oc = 1, Object.defineProperty(on, "__esModule", { value: !0 }), on.SimpleSpeechPhrase = void 0;
|
|
14389
14389
|
const t = T();
|
|
14390
|
-
let e = class
|
|
14390
|
+
let e = class xu {
|
|
14391
14391
|
constructor(i, p = 0) {
|
|
14392
14392
|
this.privSimpleSpeechPhrase = JSON.parse(i), this.privSimpleSpeechPhrase.RecognitionStatus = this.mapRecognitionStatus(this.privSimpleSpeechPhrase.RecognitionStatus), this.updateOffset(p);
|
|
14393
14393
|
}
|
|
14394
14394
|
static fromJSON(i, p) {
|
|
14395
|
-
return new
|
|
14395
|
+
return new xu(i, p);
|
|
14396
14396
|
}
|
|
14397
14397
|
updateOffset(i) {
|
|
14398
14398
|
this.privSimpleSpeechPhrase.Offset += i;
|
|
@@ -14437,7 +14437,7 @@ function sm() {
|
|
|
14437
14437
|
var Zi = {};
|
|
14438
14438
|
Object.defineProperty(Zi, "__esModule", { value: !0 });
|
|
14439
14439
|
Zi.AddedLmIntent = void 0;
|
|
14440
|
-
class
|
|
14440
|
+
class sm {
|
|
14441
14441
|
/**
|
|
14442
14442
|
* Creates and initializes an instance of this class.
|
|
14443
14443
|
* @constructor
|
|
@@ -14448,9 +14448,9 @@ class om {
|
|
|
14448
14448
|
this.modelImpl = e, this.intentName = r;
|
|
14449
14449
|
}
|
|
14450
14450
|
}
|
|
14451
|
-
Zi.AddedLmIntent =
|
|
14451
|
+
Zi.AddedLmIntent = sm;
|
|
14452
14452
|
var an = {}, Dc;
|
|
14453
|
-
function
|
|
14453
|
+
function om() {
|
|
14454
14454
|
if (Dc)
|
|
14455
14455
|
return an;
|
|
14456
14456
|
Dc = 1, Object.defineProperty(an, "__esModule", { value: !0 }), an.IntentServiceRecognizer = void 0;
|
|
@@ -14592,13 +14592,13 @@ class po {
|
|
|
14592
14592
|
}
|
|
14593
14593
|
}
|
|
14594
14594
|
Yi.IntentResponse = po;
|
|
14595
|
-
var
|
|
14596
|
-
Object.defineProperty(
|
|
14595
|
+
var Uu = {};
|
|
14596
|
+
Object.defineProperty(Uu, "__esModule", { value: !0 });
|
|
14597
14597
|
var es = {}, ts = {};
|
|
14598
14598
|
Object.defineProperty(ts, "__esModule", { value: !0 });
|
|
14599
14599
|
ts.ServiceTelemetryListener = void 0;
|
|
14600
14600
|
const Ae = A(), kc = $i;
|
|
14601
|
-
class
|
|
14601
|
+
class am {
|
|
14602
14602
|
constructor(e, r, i) {
|
|
14603
14603
|
this.privIsDisposed = !1, this.privListeningTriggerMetric = null, this.privMicMetric = null, this.privConnectionEstablishMetric = null, this.privRequestId = e, this.privAudioSourceId = r, this.privAudioNodeId = i, this.privReceivedMessages = {}, this.privPhraseLatencies = [], this.privHypothesisLatencies = [];
|
|
14604
14604
|
}
|
|
@@ -14692,11 +14692,11 @@ class cm {
|
|
|
14692
14692
|
}
|
|
14693
14693
|
}
|
|
14694
14694
|
}
|
|
14695
|
-
ts.ServiceTelemetryListener =
|
|
14695
|
+
ts.ServiceTelemetryListener = am;
|
|
14696
14696
|
Object.defineProperty(es, "__esModule", { value: !0 });
|
|
14697
14697
|
es.RequestSession = void 0;
|
|
14698
|
-
const Pt = A(), Wn = $i,
|
|
14699
|
-
class
|
|
14698
|
+
const Pt = A(), Wn = $i, cm = ts;
|
|
14699
|
+
class pm {
|
|
14700
14700
|
constructor(e) {
|
|
14701
14701
|
this.privIsDisposed = !1, this.privDetachables = new Array(), this.privIsAudioNodeDetached = !1, this.privIsRecognizing = !1, this.privIsSpeechEnded = !1, this.privTurnStartAudioOffset = 0, this.privLastRecoOffset = 0, this.privHypothesisReceived = !1, this.privBytesSent = 0, this.privRecognitionBytesSent = 0, this.privRecogNumber = 0, this.privInTurn = !1, this.privConnectionAttempts = 0, this.privAudioSourceId = e, this.privRequestId = (0, Pt.createNoDashGuid)(), this.privAudioNodeId = (0, Pt.createNoDashGuid)(), this.privTurnDeferral = new Pt.Deferred(), this.privTurnDeferral.resolve();
|
|
14702
14702
|
}
|
|
@@ -14741,7 +14741,7 @@ class um {
|
|
|
14741
14741
|
this.privServiceTelemetryListener && this.privDetachables.push(e.attachListener(this.privServiceTelemetryListener));
|
|
14742
14742
|
}
|
|
14743
14743
|
startNewRecognition() {
|
|
14744
|
-
this.privRecognitionBytesSent = 0, this.privIsSpeechEnded = !1, this.privIsRecognizing = !0, this.privTurnStartAudioOffset = 0, this.privLastRecoOffset = 0, this.privRecogNumber++, this.privServiceTelemetryListener = new
|
|
14744
|
+
this.privRecognitionBytesSent = 0, this.privIsSpeechEnded = !1, this.privIsRecognizing = !0, this.privTurnStartAudioOffset = 0, this.privLastRecoOffset = 0, this.privRecogNumber++, this.privServiceTelemetryListener = new cm.ServiceTelemetryListener(this.privRequestId, this.privAudioSourceId, this.privAudioNodeId), this.onEvent(new Wn.RecognitionTriggeredEvent(this.requestId, this.privSessionId, this.privAudioSourceId, this.privAudioNodeId));
|
|
14745
14745
|
}
|
|
14746
14746
|
async onAudioSourceAttachCompleted(e, r) {
|
|
14747
14747
|
this.privAudioNode = e, this.privIsAudioNodeDetached = !1, r ? await this.onComplete() : this.onEvent(new Wn.ListeningStartedEvent(this.privRequestId, this.privSessionId, this.privAudioSourceId, this.privAudioNodeId));
|
|
@@ -14813,8 +14813,8 @@ class um {
|
|
|
14813
14813
|
this.privIsAudioNodeDetached || (this.privIsAudioNodeDetached = !0, this.privAudioNode && await this.privAudioNode.detach());
|
|
14814
14814
|
}
|
|
14815
14815
|
}
|
|
14816
|
-
es.RequestSession =
|
|
14817
|
-
var rs = {},
|
|
14816
|
+
es.RequestSession = pm;
|
|
14817
|
+
var rs = {}, Wu = {};
|
|
14818
14818
|
(function(t) {
|
|
14819
14819
|
Object.defineProperty(t, "__esModule", { value: !0 }), t.TentativePhraseResultsOption = t.OutputFormat = t.PhraseExtension = t.PhraseOption = void 0, function(e) {
|
|
14820
14820
|
e.WordTimings = "WordTimings", e.SNR = "SNR", e.Pronunciation = "Pronunciation", e.WordPronunciation = "WordPronunciation", e.WordConfidence = "WordConfidence", e.Words = "Words", e.Sentiment = "Sentiment", e.PronunciationAssessment = "PronunciationAssessment", e.ContentAssessment = "ContentAssessment", e.PhraseAMScore = "PhraseAMScore", e.PhraseLMScore = "PhraseLMScore", e.WordAMScore = "WordAMScore", e.WordLMScore = "WordLMScore", e.RuleTree = "RuleTree", e.NBestTimings = "NBestTimings", e.DecoderDiagnostics = "DecoderDiagnostics", e.DisplayWordTimings = "DisplayWordTimings", e.DisplayWords = "DisplayWords";
|
|
@@ -14825,11 +14825,11 @@ var rs = {}, Vu = {};
|
|
|
14825
14825
|
}(t.OutputFormat || (t.OutputFormat = {})), function(e) {
|
|
14826
14826
|
e.None = "None", e.Always = "Always";
|
|
14827
14827
|
}(t.TentativePhraseResultsOption || (t.TentativePhraseResultsOption = {}));
|
|
14828
|
-
})(
|
|
14828
|
+
})(Wu);
|
|
14829
14829
|
Object.defineProperty(rs, "__esModule", { value: !0 });
|
|
14830
14830
|
rs.SpeechContext = void 0;
|
|
14831
|
-
const
|
|
14832
|
-
class
|
|
14831
|
+
const um = he, je = Wu;
|
|
14832
|
+
class dm {
|
|
14833
14833
|
constructor(e) {
|
|
14834
14834
|
this.privContext = {}, this.privDynamicGrammar = e;
|
|
14835
14835
|
}
|
|
@@ -14848,7 +14848,7 @@ class hm {
|
|
|
14848
14848
|
}
|
|
14849
14849
|
}), this.privContext.phraseDetection.enrichment === void 0 && (this.privContext.phraseDetection.enrichment = {
|
|
14850
14850
|
pronunciationAssessment: {}
|
|
14851
|
-
}), this.privContext.phraseDetection.enrichment.pronunciationAssessment = JSON.parse(e) || {}, i && (this.privContext.phraseDetection.mode =
|
|
14851
|
+
}), this.privContext.phraseDetection.enrichment.pronunciationAssessment = JSON.parse(e) || {}, i && (this.privContext.phraseDetection.mode = um.RecognitionMode.Conversation), this.setWordLevelTimings(), this.privContext.phraseOutput.detailed.options.push(je.PhraseOption.PronunciationAssessment), this.privContext.phraseOutput.detailed.options.indexOf(je.PhraseOption.SNR) === -1 && this.privContext.phraseOutput.detailed.options.push(je.PhraseOption.SNR), r && (this.privContext.phraseDetection.enrichment.contentAssessment = {
|
|
14852
14852
|
topic: r
|
|
14853
14853
|
}, this.privContext.phraseOutput.detailed.options.push(je.PhraseOption.ContentAssessment));
|
|
14854
14854
|
}
|
|
@@ -14878,19 +14878,19 @@ class hm {
|
|
|
14878
14878
|
return this.privContext.dgi = e, JSON.stringify(this.privContext);
|
|
14879
14879
|
}
|
|
14880
14880
|
}
|
|
14881
|
-
rs.SpeechContext =
|
|
14882
|
-
var ns = {},
|
|
14881
|
+
rs.SpeechContext = dm;
|
|
14882
|
+
var ns = {}, Vu = {};
|
|
14883
14883
|
(function(t) {
|
|
14884
14884
|
Object.defineProperty(t, "__esModule", { value: !0 }), t.SubstringMatchType = t.GroupType = void 0, function(e) {
|
|
14885
14885
|
e.IntentText = "IntentText", e.IntentEntity = "IntentEntity", e.Generic = "Generic", e.People = "People", e.Place = "Place", e.DynamicEntity = "DynamicEntity";
|
|
14886
14886
|
}(t.GroupType || (t.GroupType = {})), function(e) {
|
|
14887
14887
|
e.None = "None", e.LeftRooted = "LeftRooted", e.PartialName = "PartialName", e.MiddleOfSentence = "MiddleOfSentence";
|
|
14888
14888
|
}(t.SubstringMatchType || (t.SubstringMatchType = {}));
|
|
14889
|
-
})(
|
|
14889
|
+
})(Vu);
|
|
14890
14890
|
Object.defineProperty(ns, "__esModule", { value: !0 });
|
|
14891
14891
|
ns.DynamicGrammarBuilder = void 0;
|
|
14892
|
-
const
|
|
14893
|
-
class
|
|
14892
|
+
const hm = Vu;
|
|
14893
|
+
class lm {
|
|
14894
14894
|
// Adds one more reference phrases to the dynamic grammar to send.
|
|
14895
14895
|
// All added phrases are generic phrases.
|
|
14896
14896
|
addPhrase(e) {
|
|
@@ -14921,12 +14921,12 @@ class vm {
|
|
|
14921
14921
|
r.push({
|
|
14922
14922
|
text: i
|
|
14923
14923
|
});
|
|
14924
|
-
}), e.groups = [{ type:
|
|
14924
|
+
}), e.groups = [{ type: hm.GroupType.Generic, items: r }];
|
|
14925
14925
|
}
|
|
14926
14926
|
return e;
|
|
14927
14927
|
}
|
|
14928
14928
|
}
|
|
14929
|
-
ns.DynamicGrammarBuilder =
|
|
14929
|
+
ns.DynamicGrammarBuilder = lm;
|
|
14930
14930
|
var cn = {}, is = {}, ss = {}, uo = {};
|
|
14931
14931
|
(function(t) {
|
|
14932
14932
|
Object.defineProperty(t, "__esModule", { value: !0 }), t.MessageDataStreamType = t.ActivityPayloadResponse = void 0;
|
|
@@ -14956,8 +14956,8 @@ var cn = {}, is = {}, ss = {}, uo = {};
|
|
|
14956
14956
|
})(uo);
|
|
14957
14957
|
Object.defineProperty(ss, "__esModule", { value: !0 });
|
|
14958
14958
|
ss.DialogServiceTurnState = void 0;
|
|
14959
|
-
const
|
|
14960
|
-
class
|
|
14959
|
+
const vm = Je, fm = K, gm = uo;
|
|
14960
|
+
class mm {
|
|
14961
14961
|
constructor(e, r) {
|
|
14962
14962
|
this.privRequestId = r, this.privIsCompleted = !1, this.privAudioStream = null, this.privTurnManager = e, this.resetTurnEndTimeout();
|
|
14963
14963
|
}
|
|
@@ -14965,7 +14965,7 @@ class Sm {
|
|
|
14965
14965
|
return this.resetTurnEndTimeout(), this.privAudioStream;
|
|
14966
14966
|
}
|
|
14967
14967
|
processActivityPayload(e, r) {
|
|
14968
|
-
return e.messageDataStreamType ===
|
|
14968
|
+
return e.messageDataStreamType === gm.MessageDataStreamType.TextToSpeechAudio && (this.privAudioStream = fm.AudioOutputStream.createPullStream(), this.privAudioStream.format = r !== void 0 ? r : vm.AudioOutputFormatImpl.getDefaultOutputFormat()), this.privAudioStream;
|
|
14969
14969
|
}
|
|
14970
14970
|
endAudioStream() {
|
|
14971
14971
|
this.privAudioStream !== null && !this.privAudioStream.isClosed && this.privAudioStream.close();
|
|
@@ -14979,18 +14979,18 @@ class Sm {
|
|
|
14979
14979
|
}, 2e3);
|
|
14980
14980
|
}
|
|
14981
14981
|
}
|
|
14982
|
-
ss.DialogServiceTurnState =
|
|
14982
|
+
ss.DialogServiceTurnState = mm;
|
|
14983
14983
|
Object.defineProperty(is, "__esModule", { value: !0 });
|
|
14984
14984
|
is.DialogServiceTurnStateManager = void 0;
|
|
14985
|
-
const Nc = J,
|
|
14986
|
-
class
|
|
14985
|
+
const Nc = J, Sm = ss;
|
|
14986
|
+
class Cm {
|
|
14987
14987
|
constructor() {
|
|
14988
14988
|
this.privTurnMap = /* @__PURE__ */ new Map();
|
|
14989
14989
|
}
|
|
14990
14990
|
StartTurn(e) {
|
|
14991
14991
|
if (this.privTurnMap.has(e))
|
|
14992
14992
|
throw new Nc.InvalidOperationError("Service error: There is already a turn with id:" + e);
|
|
14993
|
-
const r = new
|
|
14993
|
+
const r = new Sm.DialogServiceTurnState(this, e);
|
|
14994
14994
|
return this.privTurnMap.set(e, r), this.privTurnMap.get(e);
|
|
14995
14995
|
}
|
|
14996
14996
|
GetTurn(e) {
|
|
@@ -15003,27 +15003,27 @@ class ym {
|
|
|
15003
15003
|
return r.complete(), this.privTurnMap.delete(e), r;
|
|
15004
15004
|
}
|
|
15005
15005
|
}
|
|
15006
|
-
is.DialogServiceTurnStateManager =
|
|
15007
|
-
var
|
|
15006
|
+
is.DialogServiceTurnStateManager = Cm;
|
|
15007
|
+
var Hu = {};
|
|
15008
15008
|
(function(t) {
|
|
15009
15009
|
Object.defineProperty(t, "__esModule", { value: !0 }), t.InvocationSource = void 0, function(e) {
|
|
15010
15010
|
e.None = "None", e.VoiceActivationWithKeyword = "VoiceActivationWithKeyword";
|
|
15011
15011
|
}(t.InvocationSource || (t.InvocationSource = {}));
|
|
15012
|
-
})(
|
|
15013
|
-
var
|
|
15012
|
+
})(Hu);
|
|
15013
|
+
var $u = {};
|
|
15014
15014
|
(function(t) {
|
|
15015
15015
|
Object.defineProperty(t, "__esModule", { value: !0 }), t.OnRejectAction = t.KeywordDetectionType = void 0, function(e) {
|
|
15016
15016
|
e.StartTrigger = "StartTrigger";
|
|
15017
15017
|
}(t.KeywordDetectionType || (t.KeywordDetectionType = {})), function(e) {
|
|
15018
15018
|
e.EndOfTurn = "EndOfTurn", e.Continue = "Continue";
|
|
15019
15019
|
}(t.OnRejectAction || (t.OnRejectAction = {}));
|
|
15020
|
-
})(
|
|
15020
|
+
})($u);
|
|
15021
15021
|
var zc;
|
|
15022
|
-
function
|
|
15022
|
+
function ym() {
|
|
15023
15023
|
if (zc)
|
|
15024
15024
|
return cn;
|
|
15025
15025
|
zc = 1, Object.defineProperty(cn, "__esModule", { value: !0 }), cn.DialogServiceAdapter = void 0;
|
|
15026
|
-
const t = V(), e = gt, r = A(), i = Je, p = R(), a = is, s = T(), n = uo, o =
|
|
15026
|
+
const t = V(), e = gt, r = A(), i = Je, p = R(), a = is, s = T(), n = uo, o = Hu, c = $u, u = Ne;
|
|
15027
15027
|
let d = class extends s.ServiceRecognizerBase {
|
|
15028
15028
|
constructor(l, f, g, S, v) {
|
|
15029
15029
|
super(l, f, g, S, v), this.privEvents = new r.EventSource(), this.privDialogServiceConnector = v, this.receiveMessageOverride = () => this.receiveDialogMessageOverride(), this.privTurnStateManager = new a.DialogServiceTurnStateManager(), this.recognizeOverride = (m, C, y) => this.listenOnce(m, C, y), this.postConnectImplOverride = (m) => this.dialogConnectImpl(m), this.configConnectionOverride = (m) => this.configConnection(m), this.disconnectOverride = () => this.privDisconnect(), this.privDialogAudioSource = g, this.agentConfigSent = !1, this.privLastResult = null, this.connectionEvents.attach((m) => {
|
|
@@ -15319,7 +15319,7 @@ function Rm() {
|
|
|
15319
15319
|
var os = {};
|
|
15320
15320
|
Object.defineProperty(os, "__esModule", { value: !0 });
|
|
15321
15321
|
os.AgentConfig = void 0;
|
|
15322
|
-
class
|
|
15322
|
+
class Rm {
|
|
15323
15323
|
toJsonString() {
|
|
15324
15324
|
return JSON.stringify(this.iPrivConfig);
|
|
15325
15325
|
}
|
|
@@ -15334,12 +15334,12 @@ class Pm {
|
|
|
15334
15334
|
this.iPrivConfig = e;
|
|
15335
15335
|
}
|
|
15336
15336
|
}
|
|
15337
|
-
os.AgentConfig =
|
|
15337
|
+
os.AgentConfig = Rm;
|
|
15338
15338
|
var Ds = {}, pn = {}, zt = {};
|
|
15339
15339
|
Object.defineProperty(zt, "__esModule", { value: !0 });
|
|
15340
15340
|
zt.ConversationConnectionConfig = void 0;
|
|
15341
|
-
const
|
|
15342
|
-
class re extends
|
|
15341
|
+
const Pm = Bn;
|
|
15342
|
+
class re extends Pm.RestConfigBase {
|
|
15343
15343
|
static get host() {
|
|
15344
15344
|
return re.privHost;
|
|
15345
15345
|
}
|
|
@@ -15371,7 +15371,7 @@ re.privClientAppId = "FC539C22-1767-4F1F-84BC-B4D811114F15";
|
|
|
15371
15371
|
re.privWebSocketPath = "/capito/translate";
|
|
15372
15372
|
re.privTranscriptionEventKeys = ["iCalUid", "callId", "organizer", "FLAC", "MTUri", "DifferentiateGuestSpeakers", "audiorecording", "Threadid", "OrganizerMri", "OrganizerTenantId", "UserToken"];
|
|
15373
15373
|
var jc;
|
|
15374
|
-
function
|
|
15374
|
+
function Em() {
|
|
15375
15375
|
if (jc)
|
|
15376
15376
|
return pn;
|
|
15377
15377
|
jc = 1, Object.defineProperty(pn, "__esModule", { value: !0 }), pn.ConversationManager = void 0;
|
|
@@ -15469,8 +15469,8 @@ function Im() {
|
|
|
15469
15469
|
var ct = {}, un = {}, as = {}, qn = {};
|
|
15470
15470
|
Object.defineProperty(qn, "__esModule", { value: !0 });
|
|
15471
15471
|
qn.ConversationConnectionMessage = void 0;
|
|
15472
|
-
const
|
|
15473
|
-
class
|
|
15472
|
+
const Im = A();
|
|
15473
|
+
class Tm extends Im.ConnectionMessage {
|
|
15474
15474
|
constructor(e, r, i, p) {
|
|
15475
15475
|
super(e, r, i, p);
|
|
15476
15476
|
const a = JSON.parse(this.textBody);
|
|
@@ -15480,11 +15480,11 @@ class Am extends Tm.ConnectionMessage {
|
|
|
15480
15480
|
return this.privConversationMessageType;
|
|
15481
15481
|
}
|
|
15482
15482
|
}
|
|
15483
|
-
qn.ConversationConnectionMessage =
|
|
15483
|
+
qn.ConversationConnectionMessage = Tm;
|
|
15484
15484
|
Object.defineProperty(as, "__esModule", { value: !0 });
|
|
15485
15485
|
as.ConversationWebsocketMessageFormatter = void 0;
|
|
15486
15486
|
const pt = A(), Lc = qn;
|
|
15487
|
-
class
|
|
15487
|
+
class Am {
|
|
15488
15488
|
/**
|
|
15489
15489
|
* Format incoming messages: text (speech partial/final, IM) or binary (tts)
|
|
15490
15490
|
*/
|
|
@@ -15517,9 +15517,9 @@ class wm {
|
|
|
15517
15517
|
return r.promise;
|
|
15518
15518
|
}
|
|
15519
15519
|
}
|
|
15520
|
-
as.ConversationWebsocketMessageFormatter =
|
|
15520
|
+
as.ConversationWebsocketMessageFormatter = Am;
|
|
15521
15521
|
var Bc;
|
|
15522
|
-
function
|
|
15522
|
+
function wm() {
|
|
15523
15523
|
if (Bc)
|
|
15524
15524
|
return un;
|
|
15525
15525
|
Bc = 1, Object.defineProperty(un, "__esModule", { value: !0 }), un.ConversationConnectionFactory = void 0;
|
|
@@ -15540,7 +15540,7 @@ var dn = {}, cs = {};
|
|
|
15540
15540
|
Object.defineProperty(cs, "__esModule", { value: !0 });
|
|
15541
15541
|
cs.ConversationRequestSession = void 0;
|
|
15542
15542
|
const ks = A();
|
|
15543
|
-
class
|
|
15543
|
+
class _m {
|
|
15544
15544
|
constructor(e) {
|
|
15545
15545
|
this.privIsDisposed = !1, this.privDetachables = new Array(), this.privSessionId = e, this.privRequestId = (0, ks.createNoDashGuid)(), this.privRequestCompletionDeferral = new ks.Deferred();
|
|
15546
15546
|
}
|
|
@@ -15575,9 +15575,9 @@ class bm {
|
|
|
15575
15575
|
onComplete() {
|
|
15576
15576
|
}
|
|
15577
15577
|
}
|
|
15578
|
-
cs.ConversationRequestSession =
|
|
15578
|
+
cs.ConversationRequestSession = _m;
|
|
15579
15579
|
var se = {}, qc;
|
|
15580
|
-
function
|
|
15580
|
+
function Ku() {
|
|
15581
15581
|
if (qc)
|
|
15582
15582
|
return se;
|
|
15583
15583
|
qc = 1, Object.defineProperty(se, "__esModule", { value: !0 }), se.ConversationReceivedTranslationEventArgs = se.ParticipantsListEventArgs = se.ParticipantAttributeEventArgs = se.ParticipantEventArgs = se.LockRoomEventArgs = se.MuteAllEventArgs = void 0;
|
|
@@ -15673,7 +15673,7 @@ function Ju() {
|
|
|
15673
15673
|
var Me = {};
|
|
15674
15674
|
Object.defineProperty(Me, "__esModule", { value: !0 });
|
|
15675
15675
|
Me.ConversationTranslatorCommandTypes = Me.ConversationTranslatorMessageTypes = Me.InternalParticipants = void 0;
|
|
15676
|
-
class
|
|
15676
|
+
class bm {
|
|
15677
15677
|
constructor(e = [], r) {
|
|
15678
15678
|
this.participants = e, this.meId = r;
|
|
15679
15679
|
}
|
|
@@ -15720,7 +15720,7 @@ class Mm {
|
|
|
15720
15720
|
return this.getParticipant(this.meId);
|
|
15721
15721
|
}
|
|
15722
15722
|
}
|
|
15723
|
-
Me.InternalParticipants =
|
|
15723
|
+
Me.InternalParticipants = bm;
|
|
15724
15724
|
Me.ConversationTranslatorMessageTypes = {
|
|
15725
15725
|
command: "command",
|
|
15726
15726
|
final: "final",
|
|
@@ -15747,13 +15747,13 @@ Me.ConversationTranslatorCommandTypes = {
|
|
|
15747
15747
|
setTranslateToLanguages: "SetTranslateToLanguages",
|
|
15748
15748
|
setUseTTS: "SetUseTTS"
|
|
15749
15749
|
};
|
|
15750
|
-
var
|
|
15750
|
+
var Ju = {}, ps = {};
|
|
15751
15751
|
Object.defineProperty(ps, "__esModule", { value: !0 });
|
|
15752
15752
|
ps.CommandResponsePayload = void 0;
|
|
15753
|
-
const
|
|
15753
|
+
const Mm = (t) => JSON.parse(t);
|
|
15754
15754
|
class ho {
|
|
15755
15755
|
constructor(e) {
|
|
15756
|
-
this.privCommandResponse =
|
|
15756
|
+
this.privCommandResponse = Mm(e);
|
|
15757
15757
|
}
|
|
15758
15758
|
get type() {
|
|
15759
15759
|
return this.privCommandResponse.type;
|
|
@@ -15787,10 +15787,10 @@ ps.CommandResponsePayload = ho;
|
|
|
15787
15787
|
var bt = {};
|
|
15788
15788
|
Object.defineProperty(bt, "__esModule", { value: !0 });
|
|
15789
15789
|
bt.ParticipantPayloadResponse = bt.ParticipantsListPayloadResponse = void 0;
|
|
15790
|
-
const
|
|
15790
|
+
const Om = (t) => JSON.parse(t), Dm = (t) => JSON.parse(t);
|
|
15791
15791
|
class lo {
|
|
15792
15792
|
constructor(e) {
|
|
15793
|
-
this.privParticipantsPayloadResponse =
|
|
15793
|
+
this.privParticipantsPayloadResponse = Om(e);
|
|
15794
15794
|
}
|
|
15795
15795
|
get roomid() {
|
|
15796
15796
|
return this.privParticipantsPayloadResponse.roomid;
|
|
@@ -15832,7 +15832,7 @@ class lo {
|
|
|
15832
15832
|
bt.ParticipantsListPayloadResponse = lo;
|
|
15833
15833
|
class vo {
|
|
15834
15834
|
constructor(e) {
|
|
15835
|
-
this.privParticipantPayloadResponse =
|
|
15835
|
+
this.privParticipantPayloadResponse = Dm(e);
|
|
15836
15836
|
}
|
|
15837
15837
|
get nickname() {
|
|
15838
15838
|
return this.privParticipantPayloadResponse.nickname;
|
|
@@ -15863,10 +15863,10 @@ bt.ParticipantPayloadResponse = vo;
|
|
|
15863
15863
|
var Mt = {};
|
|
15864
15864
|
Object.defineProperty(Mt, "__esModule", { value: !0 });
|
|
15865
15865
|
Mt.TextResponsePayload = Mt.SpeechResponsePayload = void 0;
|
|
15866
|
-
const
|
|
15866
|
+
const km = (t) => JSON.parse(t), Nm = (t) => JSON.parse(t);
|
|
15867
15867
|
class fo {
|
|
15868
15868
|
constructor(e) {
|
|
15869
|
-
this.privSpeechResponse =
|
|
15869
|
+
this.privSpeechResponse = km(e);
|
|
15870
15870
|
}
|
|
15871
15871
|
get recognition() {
|
|
15872
15872
|
return this.privSpeechResponse.recognition;
|
|
@@ -15905,7 +15905,7 @@ class fo {
|
|
|
15905
15905
|
Mt.SpeechResponsePayload = fo;
|
|
15906
15906
|
class go {
|
|
15907
15907
|
constructor(e) {
|
|
15908
|
-
this.privTextResponse =
|
|
15908
|
+
this.privTextResponse = Nm(e);
|
|
15909
15909
|
}
|
|
15910
15910
|
get originalText() {
|
|
15911
15911
|
return this.privTextResponse.originalText;
|
|
@@ -15957,13 +15957,13 @@ Mt.TextResponsePayload = go;
|
|
|
15957
15957
|
} }), Object.defineProperty(t, "TextResponsePayload", { enumerable: !0, get: function() {
|
|
15958
15958
|
return i.TextResponsePayload;
|
|
15959
15959
|
} });
|
|
15960
|
-
})(
|
|
15960
|
+
})(Ju);
|
|
15961
15961
|
var Fc;
|
|
15962
|
-
function
|
|
15962
|
+
function zm() {
|
|
15963
15963
|
if (Fc)
|
|
15964
15964
|
return dn;
|
|
15965
15965
|
Fc = 1, Object.defineProperty(dn, "__esModule", { value: !0 }), dn.ConversationServiceAdapter = void 0;
|
|
15966
|
-
const t = A(), e = R(), r = T(), i = qn, p = cs, a =
|
|
15966
|
+
const t = A(), e = R(), r = T(), i = qn, p = cs, a = Ku(), s = Me, n = Ju;
|
|
15967
15967
|
let o = class extends r.ServiceRecognizerBase {
|
|
15968
15968
|
constructor(u, d, h, l, f) {
|
|
15969
15969
|
super(u, d, h, l, f), this.privConnectionConfigPromise = void 0, this.privLastPartialUtteranceId = "", this.privConversationServiceConnector = f, this.privConversationAuthentication = u, this.receiveMessageOverride = () => this.receiveConversationMessageOverride(), this.recognizeOverride = () => this.noOp(), this.postConnectImplOverride = (g) => this.conversationConnectImpl(g), this.configConnectionOverride = () => this.configConnection(), this.disconnectOverride = () => this.privDisconnect(), this.privConversationRequestSession = new p.ConversationRequestSession((0, t.createNoDashGuid)()), this.privConversationConnectionFactory = d, this.privConversationIsDisposed = !1;
|
|
@@ -16146,11 +16146,11 @@ function jm() {
|
|
|
16146
16146
|
return dn.ConversationServiceAdapter = o, dn;
|
|
16147
16147
|
}
|
|
16148
16148
|
var xc;
|
|
16149
|
-
function
|
|
16149
|
+
function jm() {
|
|
16150
16150
|
if (xc)
|
|
16151
16151
|
return ct;
|
|
16152
16152
|
xc = 1, Object.defineProperty(ct, "__esModule", { value: !0 }), ct.ConversationTranslatorRecognizer = ct.ConversationRecognizerFactory = void 0;
|
|
16153
|
-
const t = T(), e = A(), r = b, i = R(), p =
|
|
16153
|
+
const t = T(), e = A(), r = b, i = R(), p = wm(), a = zm();
|
|
16154
16154
|
class s {
|
|
16155
16155
|
static fromConfig(c, u, d) {
|
|
16156
16156
|
return new n(c, u, d);
|
|
@@ -16308,7 +16308,7 @@ function Lm() {
|
|
|
16308
16308
|
return ct.ConversationTranslatorRecognizer = n, ct;
|
|
16309
16309
|
}
|
|
16310
16310
|
var hn = {}, Uc;
|
|
16311
|
-
function
|
|
16311
|
+
function Lm() {
|
|
16312
16312
|
if (Uc)
|
|
16313
16313
|
return hn;
|
|
16314
16314
|
Uc = 1, Object.defineProperty(hn, "__esModule", { value: !0 }), hn.TranscriberRecognizer = void 0;
|
|
@@ -16417,10 +16417,10 @@ function Bm() {
|
|
|
16417
16417
|
return hn.TranscriberRecognizer = a, hn;
|
|
16418
16418
|
}
|
|
16419
16419
|
var Wc;
|
|
16420
|
-
function
|
|
16420
|
+
function Bm() {
|
|
16421
16421
|
return Wc || (Wc = 1, function(t) {
|
|
16422
16422
|
Object.defineProperty(t, "__esModule", { value: !0 }), t.InternalParticipants = t.ConversationTranslatorMessageTypes = t.ConversationTranslatorCommandTypes = t.ParticipantsListEventArgs = t.ParticipantEventArgs = t.ParticipantAttributeEventArgs = t.MuteAllEventArgs = t.LockRoomEventArgs = t.ConversationReceivedTranslationEventArgs = t.TranscriberRecognizer = t.ConversationRecognizerFactory = t.ConversationConnectionConfig = t.ConversationManager = void 0;
|
|
16423
|
-
var e =
|
|
16423
|
+
var e = Em();
|
|
16424
16424
|
Object.defineProperty(t, "ConversationManager", { enumerable: !0, get: function() {
|
|
16425
16425
|
return e.ConversationManager;
|
|
16426
16426
|
} });
|
|
@@ -16428,15 +16428,15 @@ function qm() {
|
|
|
16428
16428
|
Object.defineProperty(t, "ConversationConnectionConfig", { enumerable: !0, get: function() {
|
|
16429
16429
|
return r.ConversationConnectionConfig;
|
|
16430
16430
|
} });
|
|
16431
|
-
var i =
|
|
16431
|
+
var i = jm();
|
|
16432
16432
|
Object.defineProperty(t, "ConversationRecognizerFactory", { enumerable: !0, get: function() {
|
|
16433
16433
|
return i.ConversationRecognizerFactory;
|
|
16434
16434
|
} });
|
|
16435
|
-
var p =
|
|
16435
|
+
var p = Lm();
|
|
16436
16436
|
Object.defineProperty(t, "TranscriberRecognizer", { enumerable: !0, get: function() {
|
|
16437
16437
|
return p.TranscriberRecognizer;
|
|
16438
16438
|
} });
|
|
16439
|
-
var a =
|
|
16439
|
+
var a = Ku();
|
|
16440
16440
|
Object.defineProperty(t, "ConversationReceivedTranslationEventArgs", { enumerable: !0, get: function() {
|
|
16441
16441
|
return a.ConversationReceivedTranslationEventArgs;
|
|
16442
16442
|
} }), Object.defineProperty(t, "LockRoomEventArgs", { enumerable: !0, get: function() {
|
|
@@ -16491,7 +16491,7 @@ class us extends Vc.PlatformEvent {
|
|
|
16491
16491
|
}
|
|
16492
16492
|
}
|
|
16493
16493
|
Pe.SpeechSynthesisEvent = us;
|
|
16494
|
-
class
|
|
16494
|
+
class qm extends us {
|
|
16495
16495
|
constructor(e, r, i) {
|
|
16496
16496
|
super("SynthesisTriggeredEvent", e), this.privSessionAudioDestinationId = r, this.privTurnAudioDestinationId = i;
|
|
16497
16497
|
}
|
|
@@ -16502,8 +16502,8 @@ class Fm extends us {
|
|
|
16502
16502
|
return this.privTurnAudioDestinationId;
|
|
16503
16503
|
}
|
|
16504
16504
|
}
|
|
16505
|
-
Pe.SynthesisTriggeredEvent =
|
|
16506
|
-
class
|
|
16505
|
+
Pe.SynthesisTriggeredEvent = qm;
|
|
16506
|
+
class Fm extends us {
|
|
16507
16507
|
constructor(e, r) {
|
|
16508
16508
|
super("ConnectingToSynthesisServiceEvent", e), this.privAuthFetchEventId = r;
|
|
16509
16509
|
}
|
|
@@ -16511,8 +16511,8 @@ class xm extends us {
|
|
|
16511
16511
|
return this.privAuthFetchEventId;
|
|
16512
16512
|
}
|
|
16513
16513
|
}
|
|
16514
|
-
Pe.ConnectingToSynthesisServiceEvent =
|
|
16515
|
-
class
|
|
16514
|
+
Pe.ConnectingToSynthesisServiceEvent = Fm;
|
|
16515
|
+
class xm extends us {
|
|
16516
16516
|
constructor(e, r) {
|
|
16517
16517
|
super("SynthesisStartedEvent", e), this.privAuthFetchEventId = r;
|
|
16518
16518
|
}
|
|
@@ -16520,9 +16520,9 @@ class Um extends us {
|
|
|
16520
16520
|
return this.privAuthFetchEventId;
|
|
16521
16521
|
}
|
|
16522
16522
|
}
|
|
16523
|
-
Pe.SynthesisStartedEvent =
|
|
16523
|
+
Pe.SynthesisStartedEvent = xm;
|
|
16524
16524
|
var Hc;
|
|
16525
|
-
function
|
|
16525
|
+
function Um() {
|
|
16526
16526
|
if (Hc)
|
|
16527
16527
|
return ln;
|
|
16528
16528
|
Hc = 1, Object.defineProperty(ln, "__esModule", { value: !0 }), ln.SynthesisTurn = void 0;
|
|
@@ -16686,7 +16686,7 @@ function Wm() {
|
|
|
16686
16686
|
return ln.SynthesisTurn = a, ln;
|
|
16687
16687
|
}
|
|
16688
16688
|
var vn = {}, $c;
|
|
16689
|
-
function
|
|
16689
|
+
function Wm() {
|
|
16690
16690
|
if ($c)
|
|
16691
16691
|
return vn;
|
|
16692
16692
|
$c = 1, Object.defineProperty(vn, "__esModule", { value: !0 }), vn.SynthesisAdapterBase = void 0;
|
|
@@ -16905,7 +16905,7 @@ function Vm() {
|
|
|
16905
16905
|
return vn.SynthesisAdapterBase = p, p.telemetryDataEnabled = !0, vn;
|
|
16906
16906
|
}
|
|
16907
16907
|
var fn = {}, Kc;
|
|
16908
|
-
function
|
|
16908
|
+
function Vm() {
|
|
16909
16909
|
if (Kc)
|
|
16910
16910
|
return fn;
|
|
16911
16911
|
Kc = 1, Object.defineProperty(fn, "__esModule", { value: !0 }), fn.AvatarSynthesisAdapter = void 0;
|
|
@@ -16972,7 +16972,7 @@ function Hm() {
|
|
|
16972
16972
|
return fn.AvatarSynthesisAdapter = r, fn;
|
|
16973
16973
|
}
|
|
16974
16974
|
var gn = {}, Jc;
|
|
16975
|
-
function
|
|
16975
|
+
function Hm() {
|
|
16976
16976
|
if (Jc)
|
|
16977
16977
|
return gn;
|
|
16978
16978
|
Jc = 1, Object.defineProperty(gn, "__esModule", { value: !0 }), gn.SpeechSynthesisAdapter = void 0;
|
|
@@ -17037,7 +17037,7 @@ function $m() {
|
|
|
17037
17037
|
return gn.SpeechSynthesisAdapter = r, gn;
|
|
17038
17038
|
}
|
|
17039
17039
|
var mn = {}, Gc;
|
|
17040
|
-
function
|
|
17040
|
+
function $m() {
|
|
17041
17041
|
if (Gc)
|
|
17042
17042
|
return mn;
|
|
17043
17043
|
Gc = 1, Object.defineProperty(mn, "__esModule", { value: !0 }), mn.SynthesisRestAdapter = void 0;
|
|
@@ -17067,7 +17067,7 @@ function Km() {
|
|
|
17067
17067
|
return mn.SynthesisRestAdapter = p, mn;
|
|
17068
17068
|
}
|
|
17069
17069
|
var Ns = {}, Qc;
|
|
17070
|
-
function
|
|
17070
|
+
function Km() {
|
|
17071
17071
|
return Qc || (Qc = 1, function(t) {
|
|
17072
17072
|
Object.defineProperty(t, "__esModule", { value: !0 }), t.SynthesizerConfig = t.SynthesisServiceType = void 0;
|
|
17073
17073
|
const e = T();
|
|
@@ -17101,7 +17101,7 @@ function Jm() {
|
|
|
17101
17101
|
}(Ns)), Ns;
|
|
17102
17102
|
}
|
|
17103
17103
|
var Sn = {}, Xc;
|
|
17104
|
-
function
|
|
17104
|
+
function Jm() {
|
|
17105
17105
|
if (Xc)
|
|
17106
17106
|
return Sn;
|
|
17107
17107
|
Xc = 1, Object.defineProperty(Sn, "__esModule", { value: !0 }), Sn.SynthesisContext = void 0;
|
|
@@ -17154,7 +17154,7 @@ function Gm() {
|
|
|
17154
17154
|
return Sn.SynthesisContext = e, Sn;
|
|
17155
17155
|
}
|
|
17156
17156
|
var Cn = {}, Zc;
|
|
17157
|
-
function
|
|
17157
|
+
function Gm() {
|
|
17158
17158
|
if (Zc)
|
|
17159
17159
|
return Cn;
|
|
17160
17160
|
Zc = 1, Object.defineProperty(Cn, "__esModule", { value: !0 }), Cn.SpeakerRecognitionConfig = void 0;
|
|
@@ -17173,7 +17173,7 @@ function Qm() {
|
|
|
17173
17173
|
return Cn.SpeakerRecognitionConfig = e, Cn;
|
|
17174
17174
|
}
|
|
17175
17175
|
var yn = {}, Yc;
|
|
17176
|
-
function
|
|
17176
|
+
function Qm() {
|
|
17177
17177
|
if (Yc)
|
|
17178
17178
|
return yn;
|
|
17179
17179
|
Yc = 1, Object.defineProperty(yn, "__esModule", { value: !0 }), yn.SpeakerServiceRecognizer = void 0;
|
|
@@ -17246,7 +17246,7 @@ function Xm() {
|
|
|
17246
17246
|
return yn.SpeakerServiceRecognizer = a, yn;
|
|
17247
17247
|
}
|
|
17248
17248
|
var Rn = {}, ep;
|
|
17249
|
-
function
|
|
17249
|
+
function Xm() {
|
|
17250
17250
|
if (ep)
|
|
17251
17251
|
return Rn;
|
|
17252
17252
|
ep = 1, Object.defineProperty(Rn, "__esModule", { value: !0 }), Rn.VoiceServiceRecognizer = void 0;
|
|
@@ -17469,7 +17469,7 @@ function Zm() {
|
|
|
17469
17469
|
};
|
|
17470
17470
|
return Rn.VoiceServiceRecognizer = a, Rn;
|
|
17471
17471
|
}
|
|
17472
|
-
var
|
|
17472
|
+
var Gu = {};
|
|
17473
17473
|
(function(t) {
|
|
17474
17474
|
Object.defineProperty(t, "__esModule", { value: !0 }), t.type = t.connectivity = t.Device = t.OS = t.System = t.Context = t.SpeechServiceConfig = void 0;
|
|
17475
17475
|
class e {
|
|
@@ -17527,7 +17527,7 @@ var Qu = {};
|
|
|
17527
17527
|
}(t.connectivity || (t.connectivity = {})), function(s) {
|
|
17528
17528
|
s.Phone = "Phone", s.Speaker = "Speaker", s.Car = "Car", s.Headset = "Headset", s.Thermostat = "Thermostat", s.Microphones = "Microphones", s.Deskphone = "Deskphone", s.RemoteControl = "RemoteControl", s.Unknown = "Unknown", s.File = "File", s.Stream = "Stream";
|
|
17529
17529
|
}(t.type || (t.type = {}));
|
|
17530
|
-
})(
|
|
17530
|
+
})(Gu);
|
|
17531
17531
|
var tp;
|
|
17532
17532
|
function T() {
|
|
17533
17533
|
return tp || (tp = 1, function(t) {
|
|
@@ -17541,15 +17541,15 @@ function T() {
|
|
|
17541
17541
|
for (var n in a)
|
|
17542
17542
|
n !== "default" && !Object.prototype.hasOwnProperty.call(s, n) && e(s, a, n);
|
|
17543
17543
|
};
|
|
17544
|
-
Object.defineProperty(t, "__esModule", { value: !0 }), t.AutoDetectSourceLanguagesOpenRangeOptionName = t.ForceDictationPropertyName = t.ServicePropertiesPropertyName = t.CancellationErrorCodePropertyName = t.OutputFormatPropertyName = t.SpeechSynthesisAdapter = t.AvatarSynthesisAdapter = void 0, r(Xn, t), r(Si, t), r(Nt, t), r(
|
|
17545
|
-
var i =
|
|
17544
|
+
Object.defineProperty(t, "__esModule", { value: !0 }), t.AutoDetectSourceLanguagesOpenRangeOptionName = t.ForceDictationPropertyName = t.ServicePropertiesPropertyName = t.CancellationErrorCodePropertyName = t.OutputFormatPropertyName = t.SpeechSynthesisAdapter = t.AvatarSynthesisAdapter = void 0, r(Xn, t), r(Si, t), r(Nt, t), r(kp, t), r(Np, t), r(qg(), t), r(Fg(), t), r($i, t), r(xg(), t), r(Ug(), t), r(Wg(), t), r(ju, t), r(Ki, t), r(Hg(), t), r($g(), t), r(Kg(), t), r(Jg(), t), r(Iu(), t), r(Gg(), t), r(Lu, t), r(Qg(), t), r(Ji, t), r(Zg(), t), r(Yg(), t), r(Gi, t), r(Qi, t), r(Xi, t), r(em(), t), r(tm(), t), r(rm(), t), r(nm(), t), r(im(), t), r(Zi, t), r(om(), t), r(Yi, t), r(Uu, t), r(es, t), r(rs, t), r(ns, t), r(ym(), t), r(os, t), r(Bm(), t), r(mo, t), r(Um(), t), r(Wm(), t);
|
|
17545
|
+
var i = Vm();
|
|
17546
17546
|
Object.defineProperty(t, "AvatarSynthesisAdapter", { enumerable: !0, get: function() {
|
|
17547
17547
|
return i.AvatarSynthesisAdapter;
|
|
17548
17548
|
} });
|
|
17549
|
-
var p =
|
|
17549
|
+
var p = Hm();
|
|
17550
17550
|
Object.defineProperty(t, "SpeechSynthesisAdapter", { enumerable: !0, get: function() {
|
|
17551
17551
|
return p.SpeechSynthesisAdapter;
|
|
17552
|
-
} }), r(
|
|
17552
|
+
} }), r($m(), t), r(Km(), t), r(Jm(), t), r(Gm(), t), r(Qm(), t), r(Xm(), t), r(Gu, t), t.OutputFormatPropertyName = "OutputFormat", t.CancellationErrorCodePropertyName = "CancellationErrorCode", t.ServicePropertiesPropertyName = "ServiceProperties", t.ForceDictationPropertyName = "ForceDictation", t.AutoDetectSourceLanguagesOpenRangeOptionName = "UND";
|
|
17553
17553
|
}(vs)), vs;
|
|
17554
17554
|
}
|
|
17555
17555
|
(function(t) {
|
|
@@ -17570,26 +17570,26 @@ function T() {
|
|
|
17570
17570
|
const $ = [];
|
|
17571
17571
|
for (let t = 0; t < 256; ++t)
|
|
17572
17572
|
$.push((t + 256).toString(16).slice(1));
|
|
17573
|
-
function
|
|
17573
|
+
function Zm(t, e = 0) {
|
|
17574
17574
|
return ($[t[e + 0]] + $[t[e + 1]] + $[t[e + 2]] + $[t[e + 3]] + "-" + $[t[e + 4]] + $[t[e + 5]] + "-" + $[t[e + 6]] + $[t[e + 7]] + "-" + $[t[e + 8]] + $[t[e + 9]] + "-" + $[t[e + 10]] + $[t[e + 11]] + $[t[e + 12]] + $[t[e + 13]] + $[t[e + 14]] + $[t[e + 15]]).toLowerCase();
|
|
17575
17575
|
}
|
|
17576
17576
|
let zs;
|
|
17577
|
-
const
|
|
17578
|
-
function
|
|
17577
|
+
const Ym = new Uint8Array(16);
|
|
17578
|
+
function eS() {
|
|
17579
17579
|
if (!zs) {
|
|
17580
17580
|
if (typeof crypto > "u" || !crypto.getRandomValues)
|
|
17581
17581
|
throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");
|
|
17582
17582
|
zs = crypto.getRandomValues.bind(crypto);
|
|
17583
17583
|
}
|
|
17584
|
-
return zs(
|
|
17584
|
+
return zs(Ym);
|
|
17585
17585
|
}
|
|
17586
|
-
const
|
|
17587
|
-
function
|
|
17586
|
+
const tS = typeof crypto < "u" && crypto.randomUUID && crypto.randomUUID.bind(crypto), rp = { randomUUID: tS };
|
|
17587
|
+
function rS(t, e, r) {
|
|
17588
17588
|
var p;
|
|
17589
17589
|
if (rp.randomUUID && !e && !t)
|
|
17590
17590
|
return rp.randomUUID();
|
|
17591
17591
|
t = t || {};
|
|
17592
|
-
const i = t.random ?? ((p = t.rng) == null ? void 0 : p.call(t)) ??
|
|
17592
|
+
const i = t.random ?? ((p = t.rng) == null ? void 0 : p.call(t)) ?? eS();
|
|
17593
17593
|
if (i.length < 16)
|
|
17594
17594
|
throw new Error("Random bytes length must be >= 16");
|
|
17595
17595
|
if (i[6] = i[6] & 15 | 64, i[8] = i[8] & 63 | 128, e) {
|
|
@@ -17599,23 +17599,23 @@ function nS(t, e, r) {
|
|
|
17599
17599
|
e[r + a] = i[a];
|
|
17600
17600
|
return e;
|
|
17601
17601
|
}
|
|
17602
|
-
return
|
|
17602
|
+
return Zm(i);
|
|
17603
17603
|
}
|
|
17604
|
-
const Ot =
|
|
17604
|
+
const Ot = sp(), be = op(), Et = De(""), ut = De(""), np = De(""), Us = De("");
|
|
17605
17605
|
let Oe = null, Ws = [];
|
|
17606
|
-
const
|
|
17606
|
+
const Qu = De("");
|
|
17607
17607
|
let qe = null;
|
|
17608
17608
|
const ip = 4e3;
|
|
17609
|
-
|
|
17609
|
+
ap(async () => {
|
|
17610
17610
|
be.authToken = await So();
|
|
17611
17611
|
});
|
|
17612
17612
|
let U = null, Tt = null, ye = null, $n = null, It = null;
|
|
17613
|
-
const
|
|
17613
|
+
const ds = () => {
|
|
17614
17614
|
ye && ye.mute(), U && (U.close(), U = null), Tt = null;
|
|
17615
17615
|
}, So = async () => {
|
|
17616
17616
|
var t, e, r;
|
|
17617
17617
|
try {
|
|
17618
|
-
const i = await
|
|
17618
|
+
const i = await cp("/voiceTesting");
|
|
17619
17619
|
return (t = i == null ? void 0 : i.data) == null ? void 0 : t.token;
|
|
17620
17620
|
} catch (i) {
|
|
17621
17621
|
if (console.error(i), wn.isAxiosError(i)) {
|
|
@@ -17624,7 +17624,7 @@ const sp = "/src/assets/ffmpeg", ds = () => {
|
|
|
17624
17624
|
} else
|
|
17625
17625
|
Ot.setError("There was an issue while fetching data");
|
|
17626
17626
|
}
|
|
17627
|
-
},
|
|
17627
|
+
}, jC = () => {
|
|
17628
17628
|
qe && clearTimeout(qe), $n && ($n.stopContinuousRecognitionAsync(
|
|
17629
17629
|
() => {
|
|
17630
17630
|
},
|
|
@@ -17632,12 +17632,12 @@ const sp = "/src/assets/ffmpeg", ds = () => {
|
|
|
17632
17632
|
console.error("Error stopping recognition", t);
|
|
17633
17633
|
}
|
|
17634
17634
|
), $n = null), Oe && Oe.state !== "inactive" && Oe.stop();
|
|
17635
|
-
},
|
|
17635
|
+
}, nS = async (t) => (be.authToken = await So(), await ds(), new Promise((e, r) => {
|
|
17636
17636
|
const i = Re.SpeechConfig.fromAuthorizationToken(be.authToken, "eastus2");
|
|
17637
17637
|
i.speechSynthesisVoiceName = "en-US-EmmaMultilingualNeural", ye = new Re.SpeakerAudioDestination();
|
|
17638
17638
|
const p = Re.AudioConfig.fromSpeakerOutput(ye);
|
|
17639
17639
|
U = new Re.SpeechSynthesizer(i, p);
|
|
17640
|
-
const a =
|
|
17640
|
+
const a = rS();
|
|
17641
17641
|
Tt = a, U.speakTextAsync(
|
|
17642
17642
|
t,
|
|
17643
17643
|
(s) => {
|
|
@@ -17651,12 +17651,12 @@ const sp = "/src/assets/ffmpeg", ds = () => {
|
|
|
17651
17651
|
U == null || U.close(), U = null, Tt = null, r(s);
|
|
17652
17652
|
}
|
|
17653
17653
|
);
|
|
17654
|
-
})),
|
|
17654
|
+
})), iS = async (t) => {
|
|
17655
17655
|
be.authToken = await So();
|
|
17656
17656
|
const e = Re.SpeechConfig.fromAuthorizationToken(be.authToken, "eastus2");
|
|
17657
17657
|
e.speechRecognitionLanguage = "en-US";
|
|
17658
17658
|
const r = Re.AudioConfig.fromDefaultMicrophoneInput(), i = new Re.SpeechRecognizer(e, r);
|
|
17659
|
-
return $n = i, Et.value = "", ut.value = "", await
|
|
17659
|
+
return $n = i, Et.value = "", ut.value = "", await Xu(), i.recognizing = (p, a) => {
|
|
17660
17660
|
a.result.text && a.result.text.trim() && (Et.value = a.result.text.trim(), ds(), be.userspeaking = !0, be.userSpeechText = (ut.value ? ut.value + " " : "") + Et.value, Us.value = "user", qe && clearTimeout(qe), qe = setTimeout(() => {
|
|
17661
17661
|
Et.value && (t(Et.value.trim()), Et.value = "");
|
|
17662
17662
|
}, ip));
|
|
@@ -17667,16 +17667,16 @@ const sp = "/src/assets/ffmpeg", ds = () => {
|
|
|
17667
17667
|
}, i.canceled = async (p, a) => {
|
|
17668
17668
|
console.error("Recognition canceled:", a), console.log("Audio stop recording");
|
|
17669
17669
|
}, i.startContinuousRecognitionAsync(), i;
|
|
17670
|
-
},
|
|
17670
|
+
}, LC = async () => {
|
|
17671
17671
|
var t, e;
|
|
17672
|
-
np.value = "",
|
|
17672
|
+
np.value = "", Qu.value = "";
|
|
17673
17673
|
try {
|
|
17674
|
-
ds(), await
|
|
17674
|
+
ds(), await iS(async (r) => {
|
|
17675
17675
|
if (r) {
|
|
17676
17676
|
console.log("triggering Audio sentiment:");
|
|
17677
|
-
const i = await
|
|
17677
|
+
const i = await sS();
|
|
17678
17678
|
console.log("Audio sentiment:", i), np.value = r;
|
|
17679
|
-
const p =
|
|
17679
|
+
const p = Xu();
|
|
17680
17680
|
}
|
|
17681
17681
|
});
|
|
17682
17682
|
} catch (r) {
|
|
@@ -17686,11 +17686,11 @@ const sp = "/src/assets/ffmpeg", ds = () => {
|
|
|
17686
17686
|
} else
|
|
17687
17687
|
Ot.setError("There was an issue while fetching data");
|
|
17688
17688
|
}
|
|
17689
|
-
},
|
|
17689
|
+
}, BC = async (t) => {
|
|
17690
17690
|
var e, r;
|
|
17691
|
-
|
|
17691
|
+
Qu.value = "";
|
|
17692
17692
|
try {
|
|
17693
|
-
(Us.value == "user" || Us.value == "listening") && ds(), await
|
|
17693
|
+
(Us.value == "user" || Us.value == "listening") && ds(), await nS(t);
|
|
17694
17694
|
} catch (i) {
|
|
17695
17695
|
if (console.error(i), wn.isAxiosError(i)) {
|
|
17696
17696
|
const p = i;
|
|
@@ -17699,7 +17699,7 @@ const sp = "/src/assets/ffmpeg", ds = () => {
|
|
|
17699
17699
|
Ot.setError("There was an issue while fetching data");
|
|
17700
17700
|
}
|
|
17701
17701
|
};
|
|
17702
|
-
async function
|
|
17702
|
+
async function Xu() {
|
|
17703
17703
|
try {
|
|
17704
17704
|
const t = await navigator.mediaDevices.getUserMedia({ audio: !0 });
|
|
17705
17705
|
Oe = new MediaRecorder(t, { mimeType: "audio/webm" }), Oe.ondataavailable = (e) => {
|
|
@@ -17709,7 +17709,7 @@ async function Zu() {
|
|
|
17709
17709
|
console.error("Error starting audio recording:", t);
|
|
17710
17710
|
}
|
|
17711
17711
|
}
|
|
17712
|
-
async function
|
|
17712
|
+
async function sS() {
|
|
17713
17713
|
return new Promise((t, e) => {
|
|
17714
17714
|
if (!Oe)
|
|
17715
17715
|
return e("No active recorder found");
|
|
@@ -17719,10 +17719,10 @@ async function oS() {
|
|
|
17719
17719
|
Ws = [];
|
|
17720
17720
|
try {
|
|
17721
17721
|
console.log("Sending audio for analysis...");
|
|
17722
|
-
const s = await
|
|
17722
|
+
const s = await oS(r);
|
|
17723
17723
|
console.log("Converting WebM to MP3...", s);
|
|
17724
17724
|
const o = {
|
|
17725
|
-
audio: await
|
|
17725
|
+
audio: await cS(s),
|
|
17726
17726
|
format: "mp3",
|
|
17727
17727
|
finalAnalysis: !1
|
|
17728
17728
|
};
|
|
@@ -17739,12 +17739,12 @@ async function oS() {
|
|
|
17739
17739
|
}, Oe.stop(), console.log("Audio recording stopped");
|
|
17740
17740
|
});
|
|
17741
17741
|
}
|
|
17742
|
-
async function
|
|
17742
|
+
async function oS(t) {
|
|
17743
17743
|
try {
|
|
17744
17744
|
console.log("⏳ Initializing FFmpeg...");
|
|
17745
|
-
const e = await
|
|
17745
|
+
const e = await aS();
|
|
17746
17746
|
console.log("✅ FFmpeg loaded");
|
|
17747
|
-
const r = await
|
|
17747
|
+
const r = await yh(t);
|
|
17748
17748
|
e.writeFile("input.webm", r), await e.exec([
|
|
17749
17749
|
"-i",
|
|
17750
17750
|
"input.webm",
|
|
@@ -17769,18 +17769,18 @@ async function aS(t) {
|
|
|
17769
17769
|
throw console.error("❌ Error:", e), e;
|
|
17770
17770
|
}
|
|
17771
17771
|
}
|
|
17772
|
-
async function
|
|
17772
|
+
async function aS() {
|
|
17773
17773
|
if (It != null && It.loaded)
|
|
17774
17774
|
return It;
|
|
17775
|
-
const t = It || new
|
|
17775
|
+
const t = It || new fh();
|
|
17776
17776
|
return t.on("log", ({ message: e }) => {
|
|
17777
17777
|
console.log(e);
|
|
17778
17778
|
}), await t.load({
|
|
17779
|
-
coreURL: await wo(
|
|
17780
|
-
wasmURL: await wo(
|
|
17779
|
+
coreURL: await wo("../ffmpeg-core.js", "text/javascript"),
|
|
17780
|
+
wasmURL: await wo("../ffmpeg-core.wasm", "application/wasm")
|
|
17781
17781
|
}), It = t, t;
|
|
17782
17782
|
}
|
|
17783
|
-
const
|
|
17783
|
+
const cS = (t) => new Promise((e, r) => {
|
|
17784
17784
|
const i = new FileReader();
|
|
17785
17785
|
i.onloadend = () => {
|
|
17786
17786
|
const p = i.result.split(",")[1];
|
|
@@ -17788,17 +17788,17 @@ const pS = (t) => new Promise((e, r) => {
|
|
|
17788
17788
|
}, i.onerror = r, i.readAsDataURL(t);
|
|
17789
17789
|
});
|
|
17790
17790
|
export {
|
|
17791
|
-
|
|
17792
|
-
|
|
17793
|
-
|
|
17794
|
-
|
|
17795
|
-
|
|
17791
|
+
LC as a,
|
|
17792
|
+
ch as b,
|
|
17793
|
+
jC as c,
|
|
17794
|
+
lS as d,
|
|
17795
|
+
vS as e,
|
|
17796
17796
|
ds as f,
|
|
17797
17797
|
So as g,
|
|
17798
|
-
|
|
17798
|
+
up as h,
|
|
17799
17799
|
Us as i,
|
|
17800
17800
|
_e as m,
|
|
17801
|
-
|
|
17801
|
+
BC as p,
|
|
17802
17802
|
np as r,
|
|
17803
17803
|
To as s
|
|
17804
17804
|
};
|