@genpact/genome.mfe.mgtwin-app 1.1.366-alpha → 1.1.367-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-261ce2b1.mjs → AssessmentAMA-da287167.mjs} +4 -4
- package/dist/{AssessmentSimulation-a080a9c9.mjs → AssessmentSimulation-f74a6523.mjs} +7 -7
- package/dist/{EditSkillAdminData-2f3d765c.mjs → EditSkillAdminData-090afec5.mjs} +2 -2
- package/dist/{EditSkillData-85be6f83.mjs → EditSkillData-7b5482ca.mjs} +2 -2
- package/dist/{HomeView-de880529.mjs → HomeView-f47ba61f.mjs} +5 -5
- package/dist/{Loading-8af5cce1.mjs → Loading-304087a3.mjs} +1 -1
- package/dist/{LoadingSimulation-ab16772e.mjs → LoadingSimulation-5659ffe2.mjs} +1 -1
- package/dist/{Modal-ac21e706.mjs → Modal-2e85e762.mjs} +1 -1
- package/dist/{PaperAirplaneIcon-078cb20d.mjs → PaperAirplaneIcon-cd2420b0.mjs} +1 -1
- package/dist/{PromptTesting-56f521cf.mjs → PromptTesting-b99f78de.mjs} +3 -3
- package/dist/{SkillAutomation-37040212.mjs → SkillAutomation-30f262f2.mjs} +3 -3
- package/dist/{SkillData-3c875d65.mjs → SkillData-a9f46904.mjs} +3 -3
- package/dist/{Testcase-03dae7e4.mjs → Testcase-7bd7ad4f.mjs} +3 -3
- package/dist/{UnderMaintenance-a769de1b.mjs → UnderMaintenance-a2cfce17.mjs} +1 -1
- package/dist/{VoiceTestcase-6bb9d1e3.mjs → VoiceTestcase-3029e5db.mjs} +3 -3
- package/dist/{XMarkIcon-00aa1da9.mjs → XMarkIcon-a975bcf1.mjs} +1 -1
- package/dist/{api-9b674ec8.mjs → api-7256f760.mjs} +1 -1
- package/dist/{index.es-c4eea132.mjs → index.es-b59f0598.mjs} +7 -7
- package/dist/{main-66013c46.mjs → main-06141389.mjs} +700 -700
- package/dist/mgtwin.es.min.js +1 -1
- package/dist/mgtwin.umd.min.js +51 -51
- package/dist/style.css +1 -1
- package/dist/{voiceServices-9528891f.mjs → voiceServices-2347e11e.mjs} +948 -992
- package/package.json +1 -1
|
@@ -9,10 +9,10 @@ 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 sp, u as op, C as ap, q as wn } from "./main-
|
|
13
|
-
import { g as cp } from "./api-
|
|
12
|
+
import { r as De, k as sp, u as op, C as ap, q as wn } from "./main-06141389.mjs";
|
|
13
|
+
import { g as cp } from "./api-7256f760.mjs";
|
|
14
14
|
import { c as N, a as sh } from "./_commonjsHelpers-92157f1b.mjs";
|
|
15
|
-
const
|
|
15
|
+
const pS = De(""), Io = sp(), ft = op(), _e = De(!1), oh = "Xb7hH8MSUJpSbSDYk0k2", ah = De("");
|
|
16
16
|
let Fn = [];
|
|
17
17
|
const pp = De(!1);
|
|
18
18
|
let yt = !1, ae = null, Ue = null, ge = null, dt, ht, Kn, At;
|
|
@@ -73,7 +73,7 @@ const up = 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
|
-
},
|
|
76
|
+
}, uS = async (t) => {
|
|
77
77
|
console.log("speakText11Labs called with text:", t), ft.authToken = await up(), ae && ae.pause(), yt = !0;
|
|
78
78
|
const r = await (await fetch(`https://api.elevenlabs.io/v1/text-to-speech/${oh}`, {
|
|
79
79
|
method: "POST",
|
|
@@ -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 gh =
|
|
350
|
+
const gh = (t) => new Promise((e, r) => {
|
|
351
351
|
const i = new FileReader();
|
|
352
352
|
i.onload = () => {
|
|
353
353
|
const { result: p } = i;
|
|
@@ -356,95 +356,57 @@ const gh = new Error("failed to get response body reader"), mh = 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
|
+
}), mh = 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 gh(t);
|
|
367
367
|
else
|
|
368
368
|
return new Uint8Array();
|
|
369
369
|
return new Uint8Array(e);
|
|
370
|
-
}, Rh = async (t, e) => {
|
|
371
|
-
var p;
|
|
372
|
-
const r = await fetch(t);
|
|
373
|
-
let i;
|
|
374
|
-
try {
|
|
375
|
-
const a = parseInt(r.headers.get(Sh) || "-1"), s = (p = r.body) == null ? void 0 : p.getReader();
|
|
376
|
-
if (!s)
|
|
377
|
-
throw gh;
|
|
378
|
-
const n = [];
|
|
379
|
-
let o = 0;
|
|
380
|
-
for (; ; ) {
|
|
381
|
-
const { done: d, value: h } = await s.read(), l = h ? h.length : 0;
|
|
382
|
-
if (d) {
|
|
383
|
-
if (a != -1 && a !== o)
|
|
384
|
-
throw mh;
|
|
385
|
-
e && e({ url: t, total: a, received: o, delta: l, done: d });
|
|
386
|
-
break;
|
|
387
|
-
}
|
|
388
|
-
n.push(h), o += l, e && e({ url: t, total: a, received: o, delta: l, done: d });
|
|
389
|
-
}
|
|
390
|
-
const c = new Uint8Array(o);
|
|
391
|
-
let u = 0;
|
|
392
|
-
for (const d of n)
|
|
393
|
-
c.set(d, u), u += d.length;
|
|
394
|
-
i = c.buffer;
|
|
395
|
-
} catch (a) {
|
|
396
|
-
console.log("failed to send download progress event: ", a), i = await r.arrayBuffer(), e && e({
|
|
397
|
-
url: t,
|
|
398
|
-
total: i.byteLength,
|
|
399
|
-
received: i.byteLength,
|
|
400
|
-
delta: 0,
|
|
401
|
-
done: !0
|
|
402
|
-
});
|
|
403
|
-
}
|
|
404
|
-
return i;
|
|
405
|
-
}, wo = async (t, e, r = !1, i) => {
|
|
406
|
-
const p = r ? await Rh(t, i) : await (await fetch(t)).arrayBuffer(), a = new Blob([p], { type: e });
|
|
407
|
-
return URL.createObjectURL(a);
|
|
408
370
|
};
|
|
409
371
|
var Re = {}, vs = {}, Xn = {}, fs = {}, F = {}, Dt = {}, fe = {}, hp = {}, Zn = {}, Yn = {};
|
|
410
372
|
Object.defineProperty(Yn, "__esModule", {
|
|
411
373
|
value: !0
|
|
412
374
|
});
|
|
413
|
-
Yn.default =
|
|
375
|
+
Yn.default = Ch;
|
|
414
376
|
let xn;
|
|
415
|
-
const
|
|
416
|
-
function
|
|
377
|
+
const Sh = new Uint8Array(16);
|
|
378
|
+
function Ch() {
|
|
417
379
|
if (!xn && (xn = typeof crypto < "u" && crypto.getRandomValues && crypto.getRandomValues.bind(crypto), !xn))
|
|
418
380
|
throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");
|
|
419
|
-
return xn(
|
|
381
|
+
return xn(Sh);
|
|
420
382
|
}
|
|
421
383
|
var $e = {}, mt = {}, ei = {};
|
|
422
384
|
Object.defineProperty(ei, "__esModule", {
|
|
423
385
|
value: !0
|
|
424
386
|
});
|
|
425
387
|
ei.default = void 0;
|
|
426
|
-
var
|
|
427
|
-
ei.default =
|
|
388
|
+
var yh = /^(?:[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;
|
|
389
|
+
ei.default = yh;
|
|
428
390
|
Object.defineProperty(mt, "__esModule", {
|
|
429
391
|
value: !0
|
|
430
392
|
});
|
|
431
393
|
mt.default = void 0;
|
|
432
|
-
var
|
|
433
|
-
function
|
|
394
|
+
var Rh = Ph(ei);
|
|
395
|
+
function Ph(t) {
|
|
434
396
|
return t && t.__esModule ? t : { default: t };
|
|
435
397
|
}
|
|
436
|
-
function
|
|
437
|
-
return typeof t == "string" &&
|
|
398
|
+
function Eh(t) {
|
|
399
|
+
return typeof t == "string" && Rh.default.test(t);
|
|
438
400
|
}
|
|
439
|
-
var
|
|
440
|
-
mt.default =
|
|
401
|
+
var Ih = Eh;
|
|
402
|
+
mt.default = Ih;
|
|
441
403
|
Object.defineProperty($e, "__esModule", {
|
|
442
404
|
value: !0
|
|
443
405
|
});
|
|
444
406
|
$e.default = void 0;
|
|
445
407
|
$e.unsafeStringify = lp;
|
|
446
|
-
var
|
|
447
|
-
function
|
|
408
|
+
var Th = Ah(mt);
|
|
409
|
+
function Ah(t) {
|
|
448
410
|
return t && t.__esModule ? t : { default: t };
|
|
449
411
|
}
|
|
450
412
|
const H = [];
|
|
@@ -453,31 +415,31 @@ for (let t = 0; t < 256; ++t)
|
|
|
453
415
|
function lp(t, e = 0) {
|
|
454
416
|
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
417
|
}
|
|
456
|
-
function
|
|
418
|
+
function wh(t, e = 0) {
|
|
457
419
|
const r = lp(t, e);
|
|
458
|
-
if (!(0,
|
|
420
|
+
if (!(0, Th.default)(r))
|
|
459
421
|
throw TypeError("Stringified UUID is invalid");
|
|
460
422
|
return r;
|
|
461
423
|
}
|
|
462
|
-
var
|
|
463
|
-
$e.default =
|
|
424
|
+
var _h = wh;
|
|
425
|
+
$e.default = _h;
|
|
464
426
|
Object.defineProperty(Zn, "__esModule", {
|
|
465
427
|
value: !0
|
|
466
428
|
});
|
|
467
429
|
Zn.default = void 0;
|
|
468
|
-
var
|
|
469
|
-
function
|
|
430
|
+
var bh = Oh(Yn), Mh = $e;
|
|
431
|
+
function Oh(t) {
|
|
470
432
|
return t && t.__esModule ? t : { default: t };
|
|
471
433
|
}
|
|
472
|
-
let
|
|
473
|
-
function
|
|
434
|
+
let wo, gs, ms = 0, Ss = 0;
|
|
435
|
+
function Dh(t, e, r) {
|
|
474
436
|
let i = e && r || 0;
|
|
475
437
|
const p = e || new Array(16);
|
|
476
438
|
t = t || {};
|
|
477
|
-
let a = t.node ||
|
|
439
|
+
let a = t.node || wo, s = t.clockseq !== void 0 ? t.clockseq : gs;
|
|
478
440
|
if (a == null || s == null) {
|
|
479
|
-
const h = t.random || (t.rng ||
|
|
480
|
-
a == null && (a =
|
|
441
|
+
const h = t.random || (t.rng || bh.default)();
|
|
442
|
+
a == null && (a = wo = [h[0] | 1, h[1], h[2], h[3], h[4], h[5]]), s == null && (s = gs = (h[6] << 8 | h[7]) & 16383);
|
|
481
443
|
}
|
|
482
444
|
let n = t.msecs !== void 0 ? t.msecs : Date.now(), o = t.nsecs !== void 0 ? t.nsecs : Ss + 1;
|
|
483
445
|
const c = n - ms + (o - Ss) / 1e4;
|
|
@@ -490,38 +452,38 @@ function jh(t, e, r) {
|
|
|
490
452
|
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
453
|
for (let h = 0; h < 6; ++h)
|
|
492
454
|
p[i + h] = a[h];
|
|
493
|
-
return e || (0,
|
|
455
|
+
return e || (0, Mh.unsafeStringify)(p);
|
|
494
456
|
}
|
|
495
|
-
var
|
|
496
|
-
Zn.default =
|
|
457
|
+
var kh = Dh;
|
|
458
|
+
Zn.default = kh;
|
|
497
459
|
var ti = {}, Ve = {}, _n = {};
|
|
498
460
|
Object.defineProperty(_n, "__esModule", {
|
|
499
461
|
value: !0
|
|
500
462
|
});
|
|
501
463
|
_n.default = void 0;
|
|
502
|
-
var
|
|
503
|
-
function
|
|
464
|
+
var Nh = zh(mt);
|
|
465
|
+
function zh(t) {
|
|
504
466
|
return t && t.__esModule ? t : { default: t };
|
|
505
467
|
}
|
|
506
|
-
function
|
|
507
|
-
if (!(0,
|
|
468
|
+
function jh(t) {
|
|
469
|
+
if (!(0, Nh.default)(t))
|
|
508
470
|
throw TypeError("Invalid UUID");
|
|
509
471
|
let e;
|
|
510
472
|
const r = new Uint8Array(16);
|
|
511
473
|
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
474
|
}
|
|
513
|
-
var
|
|
514
|
-
_n.default =
|
|
475
|
+
var Lh = jh;
|
|
476
|
+
_n.default = Lh;
|
|
515
477
|
Object.defineProperty(Ve, "__esModule", {
|
|
516
478
|
value: !0
|
|
517
479
|
});
|
|
518
480
|
Ve.URL = Ve.DNS = void 0;
|
|
519
|
-
Ve.default =
|
|
520
|
-
var
|
|
521
|
-
function
|
|
481
|
+
Ve.default = Uh;
|
|
482
|
+
var Bh = $e, qh = Fh(_n);
|
|
483
|
+
function Fh(t) {
|
|
522
484
|
return t && t.__esModule ? t : { default: t };
|
|
523
485
|
}
|
|
524
|
-
function
|
|
486
|
+
function xh(t) {
|
|
525
487
|
t = unescape(encodeURIComponent(t));
|
|
526
488
|
const e = [];
|
|
527
489
|
for (let r = 0; r < t.length; ++r)
|
|
@@ -532,10 +494,10 @@ const vp = "6ba7b810-9dad-11d1-80b4-00c04fd430c8";
|
|
|
532
494
|
Ve.DNS = vp;
|
|
533
495
|
const fp = "6ba7b811-9dad-11d1-80b4-00c04fd430c8";
|
|
534
496
|
Ve.URL = fp;
|
|
535
|
-
function
|
|
497
|
+
function Uh(t, e, r) {
|
|
536
498
|
function i(p, a, s, n) {
|
|
537
499
|
var o;
|
|
538
|
-
if (typeof p == "string" && (p =
|
|
500
|
+
if (typeof p == "string" && (p = xh(p)), typeof a == "string" && (a = (0, qh.default)(a)), ((o = a) === null || o === void 0 ? void 0 : o.length) !== 16)
|
|
539
501
|
throw TypeError("Namespace must be array-like (16 iterable integer values, 0-255)");
|
|
540
502
|
let c = new Uint8Array(16 + p.length);
|
|
541
503
|
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,7 +506,7 @@ function $h(t, e, r) {
|
|
|
544
506
|
s[n + u] = c[u];
|
|
545
507
|
return s;
|
|
546
508
|
}
|
|
547
|
-
return (0,
|
|
509
|
+
return (0, Bh.unsafeStringify)(c);
|
|
548
510
|
}
|
|
549
511
|
try {
|
|
550
512
|
i.name = t;
|
|
@@ -557,16 +519,16 @@ Object.defineProperty(ri, "__esModule", {
|
|
|
557
519
|
value: !0
|
|
558
520
|
});
|
|
559
521
|
ri.default = void 0;
|
|
560
|
-
function
|
|
522
|
+
function Wh(t) {
|
|
561
523
|
if (typeof t == "string") {
|
|
562
524
|
const e = unescape(encodeURIComponent(t));
|
|
563
525
|
t = new Uint8Array(e.length);
|
|
564
526
|
for (let r = 0; r < e.length; ++r)
|
|
565
527
|
t[r] = e.charCodeAt(r);
|
|
566
528
|
}
|
|
567
|
-
return
|
|
529
|
+
return Vh(Hh($h(t), t.length * 8));
|
|
568
530
|
}
|
|
569
|
-
function
|
|
531
|
+
function Vh(t) {
|
|
570
532
|
const e = [], r = t.length * 32, i = "0123456789abcdef";
|
|
571
533
|
for (let p = 0; p < r; p += 8) {
|
|
572
534
|
const a = t[p >> 5] >>> p % 32 & 255, s = parseInt(i.charAt(a >>> 4 & 15) + i.charAt(a & 15), 16);
|
|
@@ -577,7 +539,7 @@ function Jh(t) {
|
|
|
577
539
|
function gp(t) {
|
|
578
540
|
return (t + 64 >>> 9 << 4) + 14 + 1;
|
|
579
541
|
}
|
|
580
|
-
function
|
|
542
|
+
function Hh(t, e) {
|
|
581
543
|
t[e >> 5] |= 128 << e % 32, t[gp(e) - 1] = e;
|
|
582
544
|
let r = 1732584193, i = -271733879, p = -1732584194, a = 271733878;
|
|
583
545
|
for (let s = 0; s < t.length; s += 16) {
|
|
@@ -586,7 +548,7 @@ function Gh(t, e) {
|
|
|
586
548
|
}
|
|
587
549
|
return [r, i, p, a];
|
|
588
550
|
}
|
|
589
|
-
function
|
|
551
|
+
function $h(t) {
|
|
590
552
|
if (t.length === 0)
|
|
591
553
|
return [];
|
|
592
554
|
const e = t.length * 8, r = new Uint32Array(gp(e));
|
|
@@ -598,11 +560,11 @@ function xe(t, e) {
|
|
|
598
560
|
const r = (t & 65535) + (e & 65535);
|
|
599
561
|
return (t >> 16) + (e >> 16) + (r >> 16) << 16 | r & 65535;
|
|
600
562
|
}
|
|
601
|
-
function
|
|
563
|
+
function Kh(t, e) {
|
|
602
564
|
return t << e | t >>> 32 - e;
|
|
603
565
|
}
|
|
604
566
|
function ni(t, e, r, i, p, a) {
|
|
605
|
-
return xe(
|
|
567
|
+
return xe(Kh(xe(xe(e, t), xe(i, a)), p), r);
|
|
606
568
|
}
|
|
607
569
|
function X(t, e, r, i, p, a, s) {
|
|
608
570
|
return ni(e & r | ~e & i, t, e, p, a, s);
|
|
@@ -616,58 +578,58 @@ function Y(t, e, r, i, p, a, s) {
|
|
|
616
578
|
function ee(t, e, r, i, p, a, s) {
|
|
617
579
|
return ni(r ^ (e | ~i), t, e, p, a, s);
|
|
618
580
|
}
|
|
619
|
-
var
|
|
620
|
-
ri.default =
|
|
581
|
+
var Jh = Wh;
|
|
582
|
+
ri.default = Jh;
|
|
621
583
|
Object.defineProperty(ti, "__esModule", {
|
|
622
584
|
value: !0
|
|
623
585
|
});
|
|
624
586
|
ti.default = void 0;
|
|
625
|
-
var
|
|
587
|
+
var Gh = mp(Ve), Qh = mp(ri);
|
|
626
588
|
function mp(t) {
|
|
627
589
|
return t && t.__esModule ? t : { default: t };
|
|
628
590
|
}
|
|
629
|
-
const
|
|
630
|
-
var
|
|
631
|
-
ti.default =
|
|
591
|
+
const Xh = (0, Gh.default)("v3", 48, Qh.default);
|
|
592
|
+
var Zh = Xh;
|
|
593
|
+
ti.default = Zh;
|
|
632
594
|
var ii = {}, si = {};
|
|
633
595
|
Object.defineProperty(si, "__esModule", {
|
|
634
596
|
value: !0
|
|
635
597
|
});
|
|
636
598
|
si.default = void 0;
|
|
637
|
-
const
|
|
638
|
-
var
|
|
639
|
-
randomUUID:
|
|
599
|
+
const Yh = typeof crypto < "u" && crypto.randomUUID && crypto.randomUUID.bind(crypto);
|
|
600
|
+
var el = {
|
|
601
|
+
randomUUID: Yh
|
|
640
602
|
};
|
|
641
|
-
si.default =
|
|
603
|
+
si.default = el;
|
|
642
604
|
Object.defineProperty(ii, "__esModule", {
|
|
643
605
|
value: !0
|
|
644
606
|
});
|
|
645
607
|
ii.default = void 0;
|
|
646
|
-
var
|
|
608
|
+
var _o = Sp(si), tl = Sp(Yn), rl = $e;
|
|
647
609
|
function Sp(t) {
|
|
648
610
|
return t && t.__esModule ? t : { default: t };
|
|
649
611
|
}
|
|
650
|
-
function
|
|
651
|
-
if (
|
|
652
|
-
return
|
|
612
|
+
function nl(t, e, r) {
|
|
613
|
+
if (_o.default.randomUUID && !e && !t)
|
|
614
|
+
return _o.default.randomUUID();
|
|
653
615
|
t = t || {};
|
|
654
|
-
const i = t.random || (t.rng ||
|
|
616
|
+
const i = t.random || (t.rng || tl.default)();
|
|
655
617
|
if (i[6] = i[6] & 15 | 64, i[8] = i[8] & 63 | 128, e) {
|
|
656
618
|
r = r || 0;
|
|
657
619
|
for (let p = 0; p < 16; ++p)
|
|
658
620
|
e[r + p] = i[p];
|
|
659
621
|
return e;
|
|
660
622
|
}
|
|
661
|
-
return (0,
|
|
623
|
+
return (0, rl.unsafeStringify)(i);
|
|
662
624
|
}
|
|
663
|
-
var
|
|
664
|
-
ii.default =
|
|
625
|
+
var il = nl;
|
|
626
|
+
ii.default = il;
|
|
665
627
|
var oi = {}, ai = {};
|
|
666
628
|
Object.defineProperty(ai, "__esModule", {
|
|
667
629
|
value: !0
|
|
668
630
|
});
|
|
669
631
|
ai.default = void 0;
|
|
670
|
-
function
|
|
632
|
+
function sl(t, e, r, i) {
|
|
671
633
|
switch (t) {
|
|
672
634
|
case 0:
|
|
673
635
|
return e & r ^ ~e & i;
|
|
@@ -682,7 +644,7 @@ function pl(t, e, r, i) {
|
|
|
682
644
|
function Cs(t, e) {
|
|
683
645
|
return t << e | t >>> 32 - e;
|
|
684
646
|
}
|
|
685
|
-
function
|
|
647
|
+
function ol(t) {
|
|
686
648
|
const e = [1518500249, 1859775393, 2400959708, 3395469782], r = [1732584193, 4023233417, 2562383102, 271733878, 3285377520];
|
|
687
649
|
if (typeof t == "string") {
|
|
688
650
|
const s = unescape(encodeURIComponent(t));
|
|
@@ -708,49 +670,49 @@ function ul(t) {
|
|
|
708
670
|
n[l] = Cs(n[l - 3] ^ n[l - 8] ^ n[l - 14] ^ n[l - 16], 1);
|
|
709
671
|
let o = r[0], c = r[1], u = r[2], d = r[3], h = r[4];
|
|
710
672
|
for (let l = 0; l < 80; ++l) {
|
|
711
|
-
const f = Math.floor(l / 20), g = Cs(o, 5) +
|
|
673
|
+
const f = Math.floor(l / 20), g = Cs(o, 5) + sl(f, c, u, d) + h + e[f] + n[l] >>> 0;
|
|
712
674
|
h = d, d = u, u = Cs(c, 30) >>> 0, c = o, o = g;
|
|
713
675
|
}
|
|
714
676
|
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
677
|
}
|
|
716
678
|
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
679
|
}
|
|
718
|
-
var
|
|
719
|
-
ai.default =
|
|
680
|
+
var al = ol;
|
|
681
|
+
ai.default = al;
|
|
720
682
|
Object.defineProperty(oi, "__esModule", {
|
|
721
683
|
value: !0
|
|
722
684
|
});
|
|
723
685
|
oi.default = void 0;
|
|
724
|
-
var
|
|
686
|
+
var cl = Cp(Ve), pl = Cp(ai);
|
|
725
687
|
function Cp(t) {
|
|
726
688
|
return t && t.__esModule ? t : { default: t };
|
|
727
689
|
}
|
|
728
|
-
const
|
|
729
|
-
var
|
|
730
|
-
oi.default =
|
|
690
|
+
const ul = (0, cl.default)("v5", 80, pl.default);
|
|
691
|
+
var dl = ul;
|
|
692
|
+
oi.default = dl;
|
|
731
693
|
var ci = {};
|
|
732
694
|
Object.defineProperty(ci, "__esModule", {
|
|
733
695
|
value: !0
|
|
734
696
|
});
|
|
735
697
|
ci.default = void 0;
|
|
736
|
-
var
|
|
737
|
-
ci.default =
|
|
698
|
+
var hl = "00000000-0000-0000-0000-000000000000";
|
|
699
|
+
ci.default = hl;
|
|
738
700
|
var pi = {};
|
|
739
701
|
Object.defineProperty(pi, "__esModule", {
|
|
740
702
|
value: !0
|
|
741
703
|
});
|
|
742
704
|
pi.default = void 0;
|
|
743
|
-
var
|
|
744
|
-
function
|
|
705
|
+
var ll = vl(mt);
|
|
706
|
+
function vl(t) {
|
|
745
707
|
return t && t.__esModule ? t : { default: t };
|
|
746
708
|
}
|
|
747
|
-
function
|
|
748
|
-
if (!(0,
|
|
709
|
+
function fl(t) {
|
|
710
|
+
if (!(0, ll.default)(t))
|
|
749
711
|
throw TypeError("Invalid UUID");
|
|
750
712
|
return parseInt(t.slice(14, 15), 16);
|
|
751
713
|
}
|
|
752
|
-
var
|
|
753
|
-
pi.default =
|
|
714
|
+
var gl = fl;
|
|
715
|
+
pi.default = gl;
|
|
754
716
|
(function(t) {
|
|
755
717
|
Object.defineProperty(t, "__esModule", {
|
|
756
718
|
value: !0
|
|
@@ -807,10 +769,10 @@ pi.default = yl;
|
|
|
807
769
|
})(hp);
|
|
808
770
|
Object.defineProperty(fe, "__esModule", { value: !0 });
|
|
809
771
|
fe.createNoDashGuid = fe.createGuid = void 0;
|
|
810
|
-
const
|
|
772
|
+
const ml = hp, yp = () => (0, ml.v4)();
|
|
811
773
|
fe.createGuid = yp;
|
|
812
|
-
const
|
|
813
|
-
fe.createNoDashGuid =
|
|
774
|
+
const Sl = () => yp().replace(new RegExp("-", "g"), "").toUpperCase();
|
|
775
|
+
fe.createNoDashGuid = Sl;
|
|
814
776
|
(function(t) {
|
|
815
777
|
Object.defineProperty(t, "__esModule", { value: !0 }), t.PlatformEvent = t.EventType = void 0;
|
|
816
778
|
const e = fe;
|
|
@@ -851,25 +813,25 @@ class kt extends js.PlatformEvent {
|
|
|
851
813
|
}
|
|
852
814
|
}
|
|
853
815
|
F.AudioSourceEvent = kt;
|
|
854
|
-
class
|
|
816
|
+
class Cl extends kt {
|
|
855
817
|
constructor(e) {
|
|
856
818
|
super("AudioSourceInitializingEvent", e);
|
|
857
819
|
}
|
|
858
820
|
}
|
|
859
|
-
F.AudioSourceInitializingEvent =
|
|
860
|
-
class
|
|
821
|
+
F.AudioSourceInitializingEvent = Cl;
|
|
822
|
+
class yl extends kt {
|
|
861
823
|
constructor(e) {
|
|
862
824
|
super("AudioSourceReadyEvent", e);
|
|
863
825
|
}
|
|
864
826
|
}
|
|
865
|
-
F.AudioSourceReadyEvent =
|
|
866
|
-
class
|
|
827
|
+
F.AudioSourceReadyEvent = yl;
|
|
828
|
+
class Rl extends kt {
|
|
867
829
|
constructor(e) {
|
|
868
830
|
super("AudioSourceOffEvent", e);
|
|
869
831
|
}
|
|
870
832
|
}
|
|
871
|
-
F.AudioSourceOffEvent =
|
|
872
|
-
class
|
|
833
|
+
F.AudioSourceOffEvent = Rl;
|
|
834
|
+
class Pl extends kt {
|
|
873
835
|
constructor(e, r) {
|
|
874
836
|
super("AudioSourceErrorEvent", e, js.EventType.Error), this.privError = r;
|
|
875
837
|
}
|
|
@@ -877,7 +839,7 @@ class Al extends kt {
|
|
|
877
839
|
return this.privError;
|
|
878
840
|
}
|
|
879
841
|
}
|
|
880
|
-
F.AudioSourceErrorEvent =
|
|
842
|
+
F.AudioSourceErrorEvent = Pl;
|
|
881
843
|
class bn extends kt {
|
|
882
844
|
constructor(e, r, i) {
|
|
883
845
|
super(e, r), this.privAudioNodeId = i;
|
|
@@ -887,25 +849,25 @@ class bn extends kt {
|
|
|
887
849
|
}
|
|
888
850
|
}
|
|
889
851
|
F.AudioStreamNodeEvent = bn;
|
|
890
|
-
class
|
|
852
|
+
class El extends bn {
|
|
891
853
|
constructor(e, r) {
|
|
892
854
|
super("AudioStreamNodeAttachingEvent", e, r);
|
|
893
855
|
}
|
|
894
856
|
}
|
|
895
|
-
F.AudioStreamNodeAttachingEvent =
|
|
896
|
-
class
|
|
857
|
+
F.AudioStreamNodeAttachingEvent = El;
|
|
858
|
+
class Il extends bn {
|
|
897
859
|
constructor(e, r) {
|
|
898
860
|
super("AudioStreamNodeAttachedEvent", e, r);
|
|
899
861
|
}
|
|
900
862
|
}
|
|
901
|
-
F.AudioStreamNodeAttachedEvent =
|
|
902
|
-
class
|
|
863
|
+
F.AudioStreamNodeAttachedEvent = Il;
|
|
864
|
+
class Tl extends bn {
|
|
903
865
|
constructor(e, r) {
|
|
904
866
|
super("AudioStreamNodeDetachedEvent", e, r);
|
|
905
867
|
}
|
|
906
868
|
}
|
|
907
|
-
F.AudioStreamNodeDetachedEvent =
|
|
908
|
-
class
|
|
869
|
+
F.AudioStreamNodeDetachedEvent = Tl;
|
|
870
|
+
class Al extends bn {
|
|
909
871
|
constructor(e, r, i) {
|
|
910
872
|
super("AudioStreamNodeErrorEvent", e, r), this.privError = i;
|
|
911
873
|
}
|
|
@@ -913,12 +875,12 @@ class Ml extends bn {
|
|
|
913
875
|
return this.privError;
|
|
914
876
|
}
|
|
915
877
|
}
|
|
916
|
-
F.AudioStreamNodeErrorEvent =
|
|
878
|
+
F.AudioStreamNodeErrorEvent = Al;
|
|
917
879
|
var x = {};
|
|
918
880
|
Object.defineProperty(x, "__esModule", { value: !0 });
|
|
919
881
|
x.ConnectionRedirectEvent = x.ConnectionMessageSentEvent = x.ConnectionMessageReceivedEvent = x.ConnectionEstablishErrorEvent = x.ConnectionErrorEvent = x.ConnectionClosedEvent = x.ConnectionEstablishedEvent = x.ConnectionStartEvent = x.ConnectionEvent = x.ServiceEvent = void 0;
|
|
920
882
|
const He = Dt;
|
|
921
|
-
class
|
|
883
|
+
class wl extends He.PlatformEvent {
|
|
922
884
|
constructor(e, r, i = He.EventType.Info) {
|
|
923
885
|
super(e, i), this.privJsonResult = r;
|
|
924
886
|
}
|
|
@@ -926,7 +888,7 @@ class Ol extends He.PlatformEvent {
|
|
|
926
888
|
return this.privJsonResult;
|
|
927
889
|
}
|
|
928
890
|
}
|
|
929
|
-
x.ServiceEvent =
|
|
891
|
+
x.ServiceEvent = wl;
|
|
930
892
|
class ke extends He.PlatformEvent {
|
|
931
893
|
constructor(e, r, i = He.EventType.Info) {
|
|
932
894
|
super(e, i), this.privConnectionId = r;
|
|
@@ -936,7 +898,7 @@ class ke extends He.PlatformEvent {
|
|
|
936
898
|
}
|
|
937
899
|
}
|
|
938
900
|
x.ConnectionEvent = ke;
|
|
939
|
-
class
|
|
901
|
+
class _l extends ke {
|
|
940
902
|
constructor(e, r, i) {
|
|
941
903
|
super("ConnectionStartEvent", e), this.privUri = r, this.privHeaders = i;
|
|
942
904
|
}
|
|
@@ -947,14 +909,14 @@ class Dl extends ke {
|
|
|
947
909
|
return this.privHeaders;
|
|
948
910
|
}
|
|
949
911
|
}
|
|
950
|
-
x.ConnectionStartEvent =
|
|
951
|
-
class
|
|
912
|
+
x.ConnectionStartEvent = _l;
|
|
913
|
+
class bl extends ke {
|
|
952
914
|
constructor(e) {
|
|
953
915
|
super("ConnectionEstablishedEvent", e);
|
|
954
916
|
}
|
|
955
917
|
}
|
|
956
|
-
x.ConnectionEstablishedEvent =
|
|
957
|
-
class
|
|
918
|
+
x.ConnectionEstablishedEvent = bl;
|
|
919
|
+
class Ml extends ke {
|
|
958
920
|
constructor(e, r, i) {
|
|
959
921
|
super("ConnectionClosedEvent", e, He.EventType.Debug), this.privReason = i, this.privStatusCode = r;
|
|
960
922
|
}
|
|
@@ -965,8 +927,8 @@ class Nl extends ke {
|
|
|
965
927
|
return this.privStatusCode;
|
|
966
928
|
}
|
|
967
929
|
}
|
|
968
|
-
x.ConnectionClosedEvent =
|
|
969
|
-
class
|
|
930
|
+
x.ConnectionClosedEvent = Ml;
|
|
931
|
+
class Ol extends ke {
|
|
970
932
|
constructor(e, r, i) {
|
|
971
933
|
super("ConnectionErrorEvent", e, He.EventType.Debug), this.privMessage = r, this.privType = i;
|
|
972
934
|
}
|
|
@@ -977,8 +939,8 @@ class zl extends ke {
|
|
|
977
939
|
return this.privType;
|
|
978
940
|
}
|
|
979
941
|
}
|
|
980
|
-
x.ConnectionErrorEvent =
|
|
981
|
-
class
|
|
942
|
+
x.ConnectionErrorEvent = Ol;
|
|
943
|
+
class Dl extends ke {
|
|
982
944
|
constructor(e, r, i) {
|
|
983
945
|
super("ConnectionEstablishErrorEvent", e, He.EventType.Error), this.privStatusCode = r, this.privReason = i;
|
|
984
946
|
}
|
|
@@ -989,8 +951,8 @@ class jl extends ke {
|
|
|
989
951
|
return this.privStatusCode;
|
|
990
952
|
}
|
|
991
953
|
}
|
|
992
|
-
x.ConnectionEstablishErrorEvent =
|
|
993
|
-
class
|
|
954
|
+
x.ConnectionEstablishErrorEvent = Dl;
|
|
955
|
+
class kl extends ke {
|
|
994
956
|
constructor(e, r, i) {
|
|
995
957
|
super("ConnectionMessageReceivedEvent", e), this.privNetworkReceivedTime = r, this.privMessage = i;
|
|
996
958
|
}
|
|
@@ -1001,8 +963,8 @@ class Ll extends ke {
|
|
|
1001
963
|
return this.privMessage;
|
|
1002
964
|
}
|
|
1003
965
|
}
|
|
1004
|
-
x.ConnectionMessageReceivedEvent =
|
|
1005
|
-
class
|
|
966
|
+
x.ConnectionMessageReceivedEvent = kl;
|
|
967
|
+
class Nl extends ke {
|
|
1006
968
|
constructor(e, r, i) {
|
|
1007
969
|
super("ConnectionMessageSentEvent", e), this.privNetworkSentTime = r, this.privMessage = i;
|
|
1008
970
|
}
|
|
@@ -1013,8 +975,8 @@ class Bl extends ke {
|
|
|
1013
975
|
return this.privMessage;
|
|
1014
976
|
}
|
|
1015
977
|
}
|
|
1016
|
-
x.ConnectionMessageSentEvent =
|
|
1017
|
-
class
|
|
978
|
+
x.ConnectionMessageSentEvent = Nl;
|
|
979
|
+
class zl extends ke {
|
|
1018
980
|
constructor(e, r, i, p) {
|
|
1019
981
|
super("ConnectionRedirectEvent", e, He.EventType.Info), this.privRedirectUrl = r, this.privOriginalUrl = i, this.privContext = p;
|
|
1020
982
|
}
|
|
@@ -1028,11 +990,11 @@ class ql extends ke {
|
|
|
1028
990
|
return this.privContext;
|
|
1029
991
|
}
|
|
1030
992
|
}
|
|
1031
|
-
x.ConnectionRedirectEvent =
|
|
993
|
+
x.ConnectionRedirectEvent = zl;
|
|
1032
994
|
var Vs = {}, J = {};
|
|
1033
995
|
Object.defineProperty(J, "__esModule", { value: !0 });
|
|
1034
996
|
J.ObjectDisposedError = J.InvalidOperationError = J.ArgumentNullError = void 0;
|
|
1035
|
-
class
|
|
997
|
+
class jl extends Error {
|
|
1036
998
|
/**
|
|
1037
999
|
* Creates an instance of ArgumentNullError.
|
|
1038
1000
|
*
|
|
@@ -1044,8 +1006,8 @@ class Fl extends Error {
|
|
|
1044
1006
|
super(e), this.name = "ArgumentNull", this.message = e;
|
|
1045
1007
|
}
|
|
1046
1008
|
}
|
|
1047
|
-
J.ArgumentNullError =
|
|
1048
|
-
class
|
|
1009
|
+
J.ArgumentNullError = jl;
|
|
1010
|
+
class Ll extends Error {
|
|
1049
1011
|
/**
|
|
1050
1012
|
* Creates an instance of InvalidOperationError.
|
|
1051
1013
|
*
|
|
@@ -1057,8 +1019,8 @@ class xl extends Error {
|
|
|
1057
1019
|
super(e), this.name = "InvalidOperation", this.message = e;
|
|
1058
1020
|
}
|
|
1059
1021
|
}
|
|
1060
|
-
J.InvalidOperationError =
|
|
1061
|
-
class
|
|
1022
|
+
J.InvalidOperationError = Ll;
|
|
1023
|
+
class Bl extends Error {
|
|
1062
1024
|
/**
|
|
1063
1025
|
* Creates an instance of ObjectDisposedError.
|
|
1064
1026
|
*
|
|
@@ -1071,7 +1033,7 @@ class Ul extends Error {
|
|
|
1071
1033
|
super(r), this.name = e + "ObjectDisposed", this.message = r;
|
|
1072
1034
|
}
|
|
1073
1035
|
}
|
|
1074
|
-
J.ObjectDisposedError =
|
|
1036
|
+
J.ObjectDisposedError = Bl;
|
|
1075
1037
|
(function(t) {
|
|
1076
1038
|
Object.defineProperty(t, "__esModule", { value: !0 }), t.ConnectionMessage = t.MessageType = void 0;
|
|
1077
1039
|
const e = J, r = fe;
|
|
@@ -1121,7 +1083,7 @@ J.ObjectDisposedError = Ul;
|
|
|
1121
1083
|
var ui = {};
|
|
1122
1084
|
Object.defineProperty(ui, "__esModule", { value: !0 });
|
|
1123
1085
|
ui.ConnectionOpenResponse = void 0;
|
|
1124
|
-
class
|
|
1086
|
+
class ql {
|
|
1125
1087
|
constructor(e, r) {
|
|
1126
1088
|
this.privStatusCode = e, this.privReason = r;
|
|
1127
1089
|
}
|
|
@@ -1132,11 +1094,11 @@ class Wl {
|
|
|
1132
1094
|
return this.privReason;
|
|
1133
1095
|
}
|
|
1134
1096
|
}
|
|
1135
|
-
ui.ConnectionOpenResponse =
|
|
1097
|
+
ui.ConnectionOpenResponse = ql;
|
|
1136
1098
|
var di = {};
|
|
1137
1099
|
Object.defineProperty(di, "__esModule", { value: !0 });
|
|
1138
1100
|
di.DeferralMap = void 0;
|
|
1139
|
-
class
|
|
1101
|
+
class Fl {
|
|
1140
1102
|
constructor() {
|
|
1141
1103
|
this.privMap = {};
|
|
1142
1104
|
}
|
|
@@ -1156,18 +1118,18 @@ class Vl {
|
|
|
1156
1118
|
}
|
|
1157
1119
|
}
|
|
1158
1120
|
}
|
|
1159
|
-
di.DeferralMap =
|
|
1121
|
+
di.DeferralMap = Fl;
|
|
1160
1122
|
var gt = {};
|
|
1161
1123
|
Object.defineProperty(gt, "__esModule", { value: !0 });
|
|
1162
1124
|
gt.SendingAgentContextMessageEvent = gt.DialogEvent = void 0;
|
|
1163
|
-
const
|
|
1164
|
-
class Rp extends
|
|
1165
|
-
constructor(e, r =
|
|
1125
|
+
const bo = Dt;
|
|
1126
|
+
class Rp extends bo.PlatformEvent {
|
|
1127
|
+
constructor(e, r = bo.EventType.Info) {
|
|
1166
1128
|
super(e, r);
|
|
1167
1129
|
}
|
|
1168
1130
|
}
|
|
1169
1131
|
gt.DialogEvent = Rp;
|
|
1170
|
-
class
|
|
1132
|
+
class xl extends Rp {
|
|
1171
1133
|
constructor(e) {
|
|
1172
1134
|
super("SendingAgentContextMessageEvent"), this.privAgentConfig = e;
|
|
1173
1135
|
}
|
|
@@ -1175,18 +1137,18 @@ class Hl extends Rp {
|
|
|
1175
1137
|
return this.privAgentConfig;
|
|
1176
1138
|
}
|
|
1177
1139
|
}
|
|
1178
|
-
gt.SendingAgentContextMessageEvent =
|
|
1140
|
+
gt.SendingAgentContextMessageEvent = xl;
|
|
1179
1141
|
var hi = {}, Mn = {};
|
|
1180
1142
|
Object.defineProperty(Mn, "__esModule", { value: !0 });
|
|
1181
1143
|
Mn.EventSource = void 0;
|
|
1182
|
-
const
|
|
1183
|
-
class
|
|
1144
|
+
const Ul = J, Wl = fe;
|
|
1145
|
+
class Vl {
|
|
1184
1146
|
constructor(e) {
|
|
1185
1147
|
this.privEventListeners = {}, this.privIsDisposed = !1, this.privConsoleListener = void 0, this.privMetadata = e;
|
|
1186
1148
|
}
|
|
1187
1149
|
onEvent(e) {
|
|
1188
1150
|
if (this.isDisposed())
|
|
1189
|
-
throw new
|
|
1151
|
+
throw new Ul.ObjectDisposedError("EventSource");
|
|
1190
1152
|
if (this.metadata)
|
|
1191
1153
|
for (const r in this.metadata)
|
|
1192
1154
|
r && e.metadata && (e.metadata[r] || (e.metadata[r] = this.metadata[r]));
|
|
@@ -1194,7 +1156,7 @@ class Jl {
|
|
|
1194
1156
|
r && this.privEventListeners[r] && this.privEventListeners[r](e);
|
|
1195
1157
|
}
|
|
1196
1158
|
attach(e) {
|
|
1197
|
-
const r = (0,
|
|
1159
|
+
const r = (0, Wl.createNoDashGuid)();
|
|
1198
1160
|
return this.privEventListeners[r] = e, {
|
|
1199
1161
|
detach: () => (delete this.privEventListeners[r], Promise.resolve())
|
|
1200
1162
|
};
|
|
@@ -1215,14 +1177,14 @@ class Jl {
|
|
|
1215
1177
|
return this.privMetadata;
|
|
1216
1178
|
}
|
|
1217
1179
|
}
|
|
1218
|
-
Mn.EventSource =
|
|
1180
|
+
Mn.EventSource = Vl;
|
|
1219
1181
|
Object.defineProperty(hi, "__esModule", { value: !0 });
|
|
1220
1182
|
hi.Events = void 0;
|
|
1221
|
-
const
|
|
1183
|
+
const Hl = J, $l = Mn;
|
|
1222
1184
|
class In {
|
|
1223
1185
|
static setEventSource(e) {
|
|
1224
1186
|
if (!e)
|
|
1225
|
-
throw new
|
|
1187
|
+
throw new Hl.ArgumentNullError("eventSource");
|
|
1226
1188
|
In.privInstance = e;
|
|
1227
1189
|
}
|
|
1228
1190
|
static get instance() {
|
|
@@ -1230,7 +1192,7 @@ class In {
|
|
|
1230
1192
|
}
|
|
1231
1193
|
}
|
|
1232
1194
|
hi.Events = In;
|
|
1233
|
-
In.privInstance = new
|
|
1195
|
+
In.privInstance = new $l.EventSource();
|
|
1234
1196
|
var Pp = {};
|
|
1235
1197
|
Object.defineProperty(Pp, "__esModule", { value: !0 });
|
|
1236
1198
|
var Ep = {};
|
|
@@ -1258,7 +1220,7 @@ Object.defineProperty(Op, "__esModule", { value: !0 });
|
|
|
1258
1220
|
var On = {};
|
|
1259
1221
|
Object.defineProperty(On, "__esModule", { value: !0 });
|
|
1260
1222
|
On.List = void 0;
|
|
1261
|
-
const
|
|
1223
|
+
const Kl = J;
|
|
1262
1224
|
class Le {
|
|
1263
1225
|
constructor(e) {
|
|
1264
1226
|
if (this.privSubscriptionIdCounter = 0, this.privAddSubscriptions = {}, this.privRemoveSubscriptions = {}, this.privDisposedSubscriptions = {}, this.privDisposeReason = null, this.privList = [], e)
|
|
@@ -1380,7 +1342,7 @@ class Le {
|
|
|
1380
1342
|
}
|
|
1381
1343
|
throwIfDisposed() {
|
|
1382
1344
|
if (this.isDisposed())
|
|
1383
|
-
throw new
|
|
1345
|
+
throw new Kl.ObjectDisposedError("List", this.privDisposeReason);
|
|
1384
1346
|
}
|
|
1385
1347
|
triggerSubscriptions(e) {
|
|
1386
1348
|
if (e)
|
|
@@ -1528,12 +1490,12 @@ var Hs = {};
|
|
|
1528
1490
|
var Dn = {};
|
|
1529
1491
|
Object.defineProperty(Dn, "__esModule", { value: !0 });
|
|
1530
1492
|
Dn.Queue = void 0;
|
|
1531
|
-
const ys = J, Rs = On,
|
|
1493
|
+
const ys = J, Rs = On, Mo = Hs;
|
|
1532
1494
|
var En;
|
|
1533
1495
|
(function(t) {
|
|
1534
1496
|
t[t.Dequeue = 0] = "Dequeue", t[t.Peek = 1] = "Peek";
|
|
1535
1497
|
})(En || (En = {}));
|
|
1536
|
-
class
|
|
1498
|
+
class Jl {
|
|
1537
1499
|
constructor(e) {
|
|
1538
1500
|
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
1501
|
}
|
|
@@ -1548,12 +1510,12 @@ class Zl {
|
|
|
1548
1510
|
}
|
|
1549
1511
|
dequeue() {
|
|
1550
1512
|
this.throwIfDispose();
|
|
1551
|
-
const e = new
|
|
1513
|
+
const e = new Mo.Deferred();
|
|
1552
1514
|
return this.privSubscribers && (this.privSubscribers.add({ deferral: e, type: En.Dequeue }), this.drain()), e.promise;
|
|
1553
1515
|
}
|
|
1554
1516
|
peek() {
|
|
1555
1517
|
this.throwIfDispose();
|
|
1556
|
-
const e = new
|
|
1518
|
+
const e = new Mo.Deferred();
|
|
1557
1519
|
return this.privSubscribers && (this.privSubscribers.add({ deferral: e, type: En.Peek }), this.drain()), e.promise;
|
|
1558
1520
|
}
|
|
1559
1521
|
length() {
|
|
@@ -1615,12 +1577,12 @@ class Zl {
|
|
|
1615
1577
|
throw new ys.InvalidOperationError("Queue disposing");
|
|
1616
1578
|
}
|
|
1617
1579
|
}
|
|
1618
|
-
Dn.Queue =
|
|
1580
|
+
Dn.Queue = Jl;
|
|
1619
1581
|
var li = {};
|
|
1620
1582
|
Object.defineProperty(li, "__esModule", { value: !0 });
|
|
1621
1583
|
li.RawWebsocketMessage = void 0;
|
|
1622
|
-
const Un = Vs, Lt = J,
|
|
1623
|
-
class
|
|
1584
|
+
const Un = Vs, Lt = J, Gl = fe;
|
|
1585
|
+
class Ql {
|
|
1624
1586
|
constructor(e, r, i) {
|
|
1625
1587
|
if (this.privPayload = null, !r)
|
|
1626
1588
|
throw new Lt.ArgumentNullError("payload");
|
|
@@ -1628,7 +1590,7 @@ class ev {
|
|
|
1628
1590
|
throw new Lt.InvalidOperationError("Payload must be ArrayBuffer");
|
|
1629
1591
|
if (e === Un.MessageType.Text && typeof r != "string")
|
|
1630
1592
|
throw new Lt.InvalidOperationError("Payload must be a string");
|
|
1631
|
-
this.privMessageType = e, this.privPayload = r, this.privId = i || (0,
|
|
1593
|
+
this.privMessageType = e, this.privPayload = r, this.privId = i || (0, Gl.createNoDashGuid)();
|
|
1632
1594
|
}
|
|
1633
1595
|
get messageType() {
|
|
1634
1596
|
return this.privMessageType;
|
|
@@ -1650,11 +1612,11 @@ class ev {
|
|
|
1650
1612
|
return this.privId;
|
|
1651
1613
|
}
|
|
1652
1614
|
}
|
|
1653
|
-
li.RawWebsocketMessage =
|
|
1615
|
+
li.RawWebsocketMessage = Ql;
|
|
1654
1616
|
var vi = {};
|
|
1655
1617
|
Object.defineProperty(vi, "__esModule", { value: !0 });
|
|
1656
1618
|
vi.RiffPcmEncoder = void 0;
|
|
1657
|
-
class
|
|
1619
|
+
class Xl {
|
|
1658
1620
|
constructor(e, r) {
|
|
1659
1621
|
this.privActualSampleRate = e, this.privDesiredSampleRate = r;
|
|
1660
1622
|
}
|
|
@@ -1692,14 +1654,14 @@ class tv {
|
|
|
1692
1654
|
return s;
|
|
1693
1655
|
}
|
|
1694
1656
|
}
|
|
1695
|
-
vi.RiffPcmEncoder =
|
|
1657
|
+
vi.RiffPcmEncoder = Xl;
|
|
1696
1658
|
var fi = {};
|
|
1697
1659
|
Object.defineProperty(fi, "__esModule", { value: !0 });
|
|
1698
1660
|
fi.Stream = void 0;
|
|
1699
|
-
const
|
|
1700
|
-
class
|
|
1661
|
+
const Oo = J, Zl = fe, Do = Dn;
|
|
1662
|
+
class Yl {
|
|
1701
1663
|
constructor(e) {
|
|
1702
|
-
this.privIsWriteEnded = !1, this.privIsReadEnded = !1, this.privId = e || (0,
|
|
1664
|
+
this.privIsWriteEnded = !1, this.privIsReadEnded = !1, this.privId = e || (0, Zl.createNoDashGuid)(), this.privReaderQueue = new Do.Queue();
|
|
1703
1665
|
}
|
|
1704
1666
|
get isClosed() {
|
|
1705
1667
|
return this.privIsWriteEnded;
|
|
@@ -1726,29 +1688,29 @@ class nv {
|
|
|
1726
1688
|
}
|
|
1727
1689
|
read() {
|
|
1728
1690
|
if (this.privIsReadEnded)
|
|
1729
|
-
throw new
|
|
1691
|
+
throw new Oo.InvalidOperationError("Stream read has already finished");
|
|
1730
1692
|
return this.privReaderQueue.dequeue().then(async (e) => ((e === void 0 || e.isEnd) && await this.privReaderQueue.dispose("End of stream reached"), e));
|
|
1731
1693
|
}
|
|
1732
1694
|
readEnded() {
|
|
1733
|
-
this.privIsReadEnded || (this.privIsReadEnded = !0, this.privReaderQueue = new
|
|
1695
|
+
this.privIsReadEnded || (this.privIsReadEnded = !0, this.privReaderQueue = new Do.Queue());
|
|
1734
1696
|
}
|
|
1735
1697
|
throwIfClosed() {
|
|
1736
1698
|
if (this.privIsWriteEnded)
|
|
1737
|
-
throw new
|
|
1699
|
+
throw new Oo.InvalidOperationError("Stream closed");
|
|
1738
1700
|
}
|
|
1739
1701
|
}
|
|
1740
|
-
fi.Stream =
|
|
1702
|
+
fi.Stream = Yl;
|
|
1741
1703
|
var gi = {};
|
|
1742
1704
|
(function(t) {
|
|
1743
1705
|
Object.defineProperty(t, "__esModule", { value: !0 }), t.TranslationStatus = void 0, function(e) {
|
|
1744
1706
|
e[e.Success = 0] = "Success", e[e.Error = 1] = "Error";
|
|
1745
1707
|
}(t.TranslationStatus || (t.TranslationStatus = {}));
|
|
1746
1708
|
})(gi);
|
|
1747
|
-
var Bt = {},
|
|
1748
|
-
function
|
|
1749
|
-
if (
|
|
1709
|
+
var Bt = {}, ko;
|
|
1710
|
+
function ev() {
|
|
1711
|
+
if (ko)
|
|
1750
1712
|
return Bt;
|
|
1751
|
-
|
|
1713
|
+
ko = 1, Object.defineProperty(Bt, "__esModule", { value: !0 }), Bt.ChunkedArrayBufferStream = void 0;
|
|
1752
1714
|
const t = A();
|
|
1753
1715
|
let e = class extends t.Stream {
|
|
1754
1716
|
constructor(i, p) {
|
|
@@ -1857,107 +1819,107 @@ class Q extends G.PlatformEvent {
|
|
|
1857
1819
|
}
|
|
1858
1820
|
}
|
|
1859
1821
|
z.OCSPEvent = Q;
|
|
1860
|
-
class
|
|
1822
|
+
class tv extends Q {
|
|
1861
1823
|
constructor(e) {
|
|
1862
1824
|
super("OCSPMemoryCacheHitEvent", G.EventType.Debug, e);
|
|
1863
1825
|
}
|
|
1864
1826
|
}
|
|
1865
|
-
z.OCSPMemoryCacheHitEvent =
|
|
1866
|
-
class
|
|
1827
|
+
z.OCSPMemoryCacheHitEvent = tv;
|
|
1828
|
+
class rv extends Q {
|
|
1867
1829
|
constructor(e) {
|
|
1868
1830
|
super("OCSPCacheMissEvent", G.EventType.Debug, e);
|
|
1869
1831
|
}
|
|
1870
1832
|
}
|
|
1871
|
-
z.OCSPCacheMissEvent =
|
|
1872
|
-
class
|
|
1833
|
+
z.OCSPCacheMissEvent = rv;
|
|
1834
|
+
class nv extends Q {
|
|
1873
1835
|
constructor(e) {
|
|
1874
1836
|
super("OCSPDiskCacheHitEvent", G.EventType.Debug, e);
|
|
1875
1837
|
}
|
|
1876
1838
|
}
|
|
1877
|
-
z.OCSPDiskCacheHitEvent =
|
|
1878
|
-
class
|
|
1839
|
+
z.OCSPDiskCacheHitEvent = nv;
|
|
1840
|
+
class iv extends Q {
|
|
1879
1841
|
constructor(e) {
|
|
1880
1842
|
super("OCSPCacheUpdateNeededEvent", G.EventType.Debug, e);
|
|
1881
1843
|
}
|
|
1882
1844
|
}
|
|
1883
|
-
z.OCSPCacheUpdateNeededEvent =
|
|
1884
|
-
class
|
|
1845
|
+
z.OCSPCacheUpdateNeededEvent = iv;
|
|
1846
|
+
class sv extends Q {
|
|
1885
1847
|
constructor(e) {
|
|
1886
1848
|
super("OCSPMemoryCacheStoreEvent", G.EventType.Debug, e);
|
|
1887
1849
|
}
|
|
1888
1850
|
}
|
|
1889
|
-
z.OCSPMemoryCacheStoreEvent =
|
|
1890
|
-
class
|
|
1851
|
+
z.OCSPMemoryCacheStoreEvent = sv;
|
|
1852
|
+
class ov extends Q {
|
|
1891
1853
|
constructor(e) {
|
|
1892
1854
|
super("OCSPDiskCacheStoreEvent", G.EventType.Debug, e);
|
|
1893
1855
|
}
|
|
1894
1856
|
}
|
|
1895
|
-
z.OCSPDiskCacheStoreEvent =
|
|
1896
|
-
class
|
|
1857
|
+
z.OCSPDiskCacheStoreEvent = ov;
|
|
1858
|
+
class av extends Q {
|
|
1897
1859
|
constructor(e) {
|
|
1898
1860
|
super("OCSPCacheUpdateCompleteEvent", G.EventType.Debug, e);
|
|
1899
1861
|
}
|
|
1900
1862
|
}
|
|
1901
|
-
z.OCSPCacheUpdateCompleteEvent =
|
|
1902
|
-
class
|
|
1863
|
+
z.OCSPCacheUpdateCompleteEvent = av;
|
|
1864
|
+
class cv extends Q {
|
|
1903
1865
|
constructor() {
|
|
1904
1866
|
super("OCSPStapleReceivedEvent", G.EventType.Debug, "");
|
|
1905
1867
|
}
|
|
1906
1868
|
}
|
|
1907
|
-
z.OCSPStapleReceivedEvent =
|
|
1908
|
-
class
|
|
1869
|
+
z.OCSPStapleReceivedEvent = cv;
|
|
1870
|
+
class pv extends Q {
|
|
1909
1871
|
constructor(e) {
|
|
1910
1872
|
super("OCSPWSUpgradeStartedEvent", G.EventType.Debug, e);
|
|
1911
1873
|
}
|
|
1912
1874
|
}
|
|
1913
|
-
z.OCSPWSUpgradeStartedEvent =
|
|
1914
|
-
class
|
|
1875
|
+
z.OCSPWSUpgradeStartedEvent = pv;
|
|
1876
|
+
class uv extends Q {
|
|
1915
1877
|
constructor(e, r) {
|
|
1916
1878
|
super("OCSPCacheEntryExpiredEvent", G.EventType.Debug, e), this.privExpireTime = r;
|
|
1917
1879
|
}
|
|
1918
1880
|
}
|
|
1919
|
-
z.OCSPCacheEntryExpiredEvent =
|
|
1920
|
-
class
|
|
1881
|
+
z.OCSPCacheEntryExpiredEvent = uv;
|
|
1882
|
+
class dv extends Q {
|
|
1921
1883
|
constructor(e, r, i) {
|
|
1922
1884
|
super("OCSPCacheEntryNeedsRefreshEvent", G.EventType.Debug, e), this.privExpireTime = i, this.privStartTime = r;
|
|
1923
1885
|
}
|
|
1924
1886
|
}
|
|
1925
|
-
z.OCSPCacheEntryNeedsRefreshEvent =
|
|
1926
|
-
class
|
|
1887
|
+
z.OCSPCacheEntryNeedsRefreshEvent = dv;
|
|
1888
|
+
class hv extends Q {
|
|
1927
1889
|
constructor(e, r, i) {
|
|
1928
1890
|
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
1891
|
}
|
|
1930
1892
|
}
|
|
1931
|
-
z.OCSPCacheHitEvent =
|
|
1932
|
-
class
|
|
1893
|
+
z.OCSPCacheHitEvent = hv;
|
|
1894
|
+
class lv extends Q {
|
|
1933
1895
|
constructor(e, r) {
|
|
1934
1896
|
super("OCSPVerificationFailedEvent", G.EventType.Debug, e), this.privError = r;
|
|
1935
1897
|
}
|
|
1936
1898
|
}
|
|
1937
|
-
z.OCSPVerificationFailedEvent =
|
|
1938
|
-
class
|
|
1899
|
+
z.OCSPVerificationFailedEvent = lv;
|
|
1900
|
+
class vv extends Q {
|
|
1939
1901
|
constructor(e, r) {
|
|
1940
1902
|
super("OCSPCacheFetchErrorEvent", G.EventType.Debug, e), this.privError = r;
|
|
1941
1903
|
}
|
|
1942
1904
|
}
|
|
1943
|
-
z.OCSPCacheFetchErrorEvent =
|
|
1944
|
-
class
|
|
1905
|
+
z.OCSPCacheFetchErrorEvent = vv;
|
|
1906
|
+
class fv extends Q {
|
|
1945
1907
|
constructor(e) {
|
|
1946
1908
|
super("OCSPResponseRetrievedEvent", G.EventType.Debug, e);
|
|
1947
1909
|
}
|
|
1948
1910
|
}
|
|
1949
|
-
z.OCSPResponseRetrievedEvent =
|
|
1950
|
-
class
|
|
1911
|
+
z.OCSPResponseRetrievedEvent = fv;
|
|
1912
|
+
class gv extends Q {
|
|
1951
1913
|
constructor(e, r) {
|
|
1952
1914
|
super("OCSPCacheUpdateErrorEvent", G.EventType.Debug, e), this.privError = r;
|
|
1953
1915
|
}
|
|
1954
1916
|
}
|
|
1955
|
-
z.OCSPCacheUpdateErrorEvent =
|
|
1956
|
-
var qt = {},
|
|
1957
|
-
function
|
|
1958
|
-
if (
|
|
1917
|
+
z.OCSPCacheUpdateErrorEvent = gv;
|
|
1918
|
+
var qt = {}, No;
|
|
1919
|
+
function mv() {
|
|
1920
|
+
if (No)
|
|
1959
1921
|
return qt;
|
|
1960
|
-
|
|
1922
|
+
No = 1, Object.defineProperty(qt, "__esModule", { value: !0 }), qt.BackgroundEvent = void 0;
|
|
1961
1923
|
const t = A();
|
|
1962
1924
|
class e extends t.PlatformEvent {
|
|
1963
1925
|
constructor(i) {
|
|
@@ -1969,9 +1931,9 @@ function Rv() {
|
|
|
1969
1931
|
}
|
|
1970
1932
|
return qt.BackgroundEvent = e, qt;
|
|
1971
1933
|
}
|
|
1972
|
-
var
|
|
1934
|
+
var zo;
|
|
1973
1935
|
function A() {
|
|
1974
|
-
return
|
|
1936
|
+
return zo || (zo = 1, function(t) {
|
|
1975
1937
|
var e = N && N.__createBinding || (Object.create ? function(p, a, s, n) {
|
|
1976
1938
|
n === void 0 && (n = s), Object.defineProperty(p, n, { enumerable: !0, get: function() {
|
|
1977
1939
|
return a[s];
|
|
@@ -1986,7 +1948,7 @@ function A() {
|
|
|
1986
1948
|
var i = gi;
|
|
1987
1949
|
Object.defineProperty(t, "TranslationStatus", { enumerable: !0, get: function() {
|
|
1988
1950
|
return i.TranslationStatus;
|
|
1989
|
-
} }), r(
|
|
1951
|
+
} }), r(ev(), t), r(Dp, t), r(mi, t), r(z, t), r(mv(), t);
|
|
1990
1952
|
}(fs)), fs;
|
|
1991
1953
|
}
|
|
1992
1954
|
var W = {};
|
|
@@ -2008,7 +1970,7 @@ me.RequestTimestamp = "X-Timestamp";
|
|
|
2008
1970
|
var Nt = {};
|
|
2009
1971
|
Object.defineProperty(Nt, "__esModule", { value: !0 });
|
|
2010
1972
|
Nt.AuthInfo = void 0;
|
|
2011
|
-
class
|
|
1973
|
+
class Sv {
|
|
2012
1974
|
constructor(e, r) {
|
|
2013
1975
|
this.privHeaderName = e, this.privToken = r;
|
|
2014
1976
|
}
|
|
@@ -2019,11 +1981,11 @@ class Pv {
|
|
|
2019
1981
|
return this.privToken;
|
|
2020
1982
|
}
|
|
2021
1983
|
}
|
|
2022
|
-
Nt.AuthInfo =
|
|
1984
|
+
Nt.AuthInfo = Sv;
|
|
2023
1985
|
Object.defineProperty(Xn, "__esModule", { value: !0 });
|
|
2024
1986
|
Xn.CognitiveSubscriptionKeyAuthentication = void 0;
|
|
2025
|
-
const
|
|
2026
|
-
class
|
|
1987
|
+
const Cv = A(), yv = W, Rv = Nt;
|
|
1988
|
+
class Pv {
|
|
2027
1989
|
/**
|
|
2028
1990
|
* Creates and initializes an instance of the CognitiveSubscriptionKeyAuthentication class.
|
|
2029
1991
|
* @constructor
|
|
@@ -2031,8 +1993,8 @@ class Av {
|
|
|
2031
1993
|
*/
|
|
2032
1994
|
constructor(e) {
|
|
2033
1995
|
if (!e)
|
|
2034
|
-
throw new
|
|
2035
|
-
this.privAuthInfo = new
|
|
1996
|
+
throw new Cv.ArgumentNullError("subscriptionKey");
|
|
1997
|
+
this.privAuthInfo = new Rv.AuthInfo(yv.HeaderNames.AuthKey, e);
|
|
2036
1998
|
}
|
|
2037
1999
|
/**
|
|
2038
2000
|
* Fetches the subscription key.
|
|
@@ -2057,24 +2019,24 @@ class Av {
|
|
|
2057
2019
|
return Promise.resolve(this.privAuthInfo);
|
|
2058
2020
|
}
|
|
2059
2021
|
}
|
|
2060
|
-
Xn.CognitiveSubscriptionKeyAuthentication =
|
|
2022
|
+
Xn.CognitiveSubscriptionKeyAuthentication = Pv;
|
|
2061
2023
|
var Si = {};
|
|
2062
2024
|
Object.defineProperty(Si, "__esModule", { value: !0 });
|
|
2063
2025
|
Si.CognitiveTokenAuthentication = void 0;
|
|
2064
|
-
const
|
|
2026
|
+
const jo = A(), Lo = Nt, Bo = W;
|
|
2065
2027
|
class Tn {
|
|
2066
2028
|
constructor(e, r) {
|
|
2067
2029
|
if (!e)
|
|
2068
|
-
throw new
|
|
2030
|
+
throw new jo.ArgumentNullError("fetchCallback");
|
|
2069
2031
|
if (!r)
|
|
2070
|
-
throw new
|
|
2032
|
+
throw new jo.ArgumentNullError("fetchOnExpiryCallback");
|
|
2071
2033
|
this.privFetchCallback = e, this.privFetchOnExpiryCallback = r;
|
|
2072
2034
|
}
|
|
2073
2035
|
fetch(e) {
|
|
2074
|
-
return this.privFetchCallback(e).then((r) => new
|
|
2036
|
+
return this.privFetchCallback(e).then((r) => new Lo.AuthInfo(Bo.HeaderNames.Authorization, r === void 0 ? void 0 : Tn.privTokenPrefix + r));
|
|
2075
2037
|
}
|
|
2076
2038
|
fetchOnExpiry(e) {
|
|
2077
|
-
return this.privFetchOnExpiryCallback(e).then((r) => new
|
|
2039
|
+
return this.privFetchOnExpiryCallback(e).then((r) => new Lo.AuthInfo(Bo.HeaderNames.Authorization, r === void 0 ? void 0 : Tn.privTokenPrefix + r));
|
|
2078
2040
|
}
|
|
2079
2041
|
}
|
|
2080
2042
|
Si.CognitiveTokenAuthentication = Tn;
|
|
@@ -2084,10 +2046,10 @@ Object.defineProperty(kp, "__esModule", { value: !0 });
|
|
|
2084
2046
|
var Np = {};
|
|
2085
2047
|
Object.defineProperty(Np, "__esModule", { value: !0 });
|
|
2086
2048
|
var Ft = {}, Ps = {}, Ci = {};
|
|
2087
|
-
const
|
|
2049
|
+
const Ev = {}, Iv = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
2088
2050
|
__proto__: null,
|
|
2089
|
-
default:
|
|
2090
|
-
}, Symbol.toStringTag, { value: "Module" })), St = /* @__PURE__ */ sh(
|
|
2051
|
+
default: Ev
|
|
2052
|
+
}, Symbol.toStringTag, { value: "Module" })), St = /* @__PURE__ */ sh(Iv);
|
|
2091
2053
|
var $s = {};
|
|
2092
2054
|
(function(t) {
|
|
2093
2055
|
Object.defineProperty(t, "__esModule", { value: !0 }), t.LogLevel = void 0;
|
|
@@ -2139,34 +2101,34 @@ class Be {
|
|
|
2139
2101
|
}
|
|
2140
2102
|
}
|
|
2141
2103
|
b.Contracts = Be;
|
|
2142
|
-
var
|
|
2104
|
+
var Tv = N && N.__createBinding || (Object.create ? function(t, e, r, i) {
|
|
2143
2105
|
i === void 0 && (i = r), Object.defineProperty(t, i, { enumerable: !0, get: function() {
|
|
2144
2106
|
return e[r];
|
|
2145
2107
|
} });
|
|
2146
2108
|
} : function(t, e, r, i) {
|
|
2147
2109
|
i === void 0 && (i = r), t[i] = e[r];
|
|
2148
|
-
}),
|
|
2110
|
+
}), Av = N && N.__setModuleDefault || (Object.create ? function(t, e) {
|
|
2149
2111
|
Object.defineProperty(t, "default", { enumerable: !0, value: e });
|
|
2150
2112
|
} : function(t, e) {
|
|
2151
2113
|
t.default = e;
|
|
2152
|
-
}),
|
|
2114
|
+
}), wv = N && N.__importStar || function(t) {
|
|
2153
2115
|
if (t && t.__esModule)
|
|
2154
2116
|
return t;
|
|
2155
2117
|
var e = {};
|
|
2156
2118
|
if (t != null)
|
|
2157
2119
|
for (var r in t)
|
|
2158
|
-
r !== "default" && Object.prototype.hasOwnProperty.call(t, r) &&
|
|
2159
|
-
return
|
|
2120
|
+
r !== "default" && Object.prototype.hasOwnProperty.call(t, r) && Tv(e, t, r);
|
|
2121
|
+
return Av(e, t), e;
|
|
2160
2122
|
};
|
|
2161
2123
|
Object.defineProperty(Ci, "__esModule", { value: !0 });
|
|
2162
2124
|
Ci.ConsoleLoggingListener = void 0;
|
|
2163
|
-
const
|
|
2164
|
-
class
|
|
2125
|
+
const qo = wv(St), xt = $s, _v = b;
|
|
2126
|
+
class bv {
|
|
2165
2127
|
constructor(e = xt.LogLevel.None) {
|
|
2166
2128
|
this.privLogPath = void 0, this.privEnableConsoleOutput = !0, this.privLogLevelFilter = e;
|
|
2167
2129
|
}
|
|
2168
2130
|
set logPath(e) {
|
|
2169
|
-
|
|
2131
|
+
_v.Contracts.throwIfNullOrUndefined(qo.openSync, `
|
|
2170
2132
|
File System access not available`), this.privLogPath = e;
|
|
2171
2133
|
}
|
|
2172
2134
|
set enableConsoleOutput(e) {
|
|
@@ -2175,7 +2137,7 @@ File System access not available`), this.privLogPath = e;
|
|
|
2175
2137
|
onEvent(e) {
|
|
2176
2138
|
if (e.eventType >= this.privLogLevelFilter) {
|
|
2177
2139
|
const r = this.toString(e);
|
|
2178
|
-
if (this.logCallback && this.logCallback(r), this.privLogPath &&
|
|
2140
|
+
if (this.logCallback && this.logCallback(r), this.privLogPath && qo.writeFileSync(this.privLogPath, r + `
|
|
2179
2141
|
`, { flag: "a+" }), this.privEnableConsoleOutput)
|
|
2180
2142
|
switch (e.eventType) {
|
|
2181
2143
|
case xt.LogLevel.Debug:
|
|
@@ -2210,7 +2172,7 @@ File System access not available`), this.privLogPath = e;
|
|
|
2210
2172
|
return r.join(" | ");
|
|
2211
2173
|
}
|
|
2212
2174
|
}
|
|
2213
|
-
Ci.ConsoleLoggingListener =
|
|
2175
|
+
Ci.ConsoleLoggingListener = bv;
|
|
2214
2176
|
var zp = {};
|
|
2215
2177
|
Object.defineProperty(zp, "__esModule", { value: !0 });
|
|
2216
2178
|
var Es = {}, Ke = {};
|
|
@@ -2337,9 +2299,9 @@ var Es = {}, Ke = {};
|
|
|
2337
2299
|
}
|
|
2338
2300
|
t.AudioStreamFormatImpl = i;
|
|
2339
2301
|
})(Ke);
|
|
2340
|
-
var
|
|
2341
|
-
function
|
|
2342
|
-
return
|
|
2302
|
+
var Fo;
|
|
2303
|
+
function Mv() {
|
|
2304
|
+
return Fo || (Fo = 1, function(t) {
|
|
2343
2305
|
Object.defineProperty(t, "__esModule", { value: !0 }), t.MicAudioSource = t.AudioWorkletSourceURLPropertyName = void 0;
|
|
2344
2306
|
const e = T(), r = A(), i = Ke;
|
|
2345
2307
|
t.AudioWorkletSourceURLPropertyName = "MICROPHONE-WorkletSourceUrl";
|
|
@@ -2478,11 +2440,11 @@ function Nv() {
|
|
|
2478
2440
|
t.MicAudioSource = p, p.AUDIOFORMAT = i.AudioStreamFormat.getDefaultInputFormat();
|
|
2479
2441
|
}(Es)), Es;
|
|
2480
2442
|
}
|
|
2481
|
-
var Ut = {},
|
|
2482
|
-
function
|
|
2483
|
-
if (
|
|
2443
|
+
var Ut = {}, xo;
|
|
2444
|
+
function Ov() {
|
|
2445
|
+
if (xo)
|
|
2484
2446
|
return Ut;
|
|
2485
|
-
|
|
2447
|
+
xo = 1, Object.defineProperty(Ut, "__esModule", { value: !0 }), Ut.FileAudioSource = void 0;
|
|
2486
2448
|
const t = T(), e = A(), r = Ke;
|
|
2487
2449
|
let i = class {
|
|
2488
2450
|
constructor(a, s, n) {
|
|
@@ -2609,13 +2571,13 @@ function zv() {
|
|
|
2609
2571
|
var yi = {};
|
|
2610
2572
|
Object.defineProperty(yi, "__esModule", { value: !0 });
|
|
2611
2573
|
yi.PcmRecorder = void 0;
|
|
2612
|
-
const
|
|
2613
|
-
class
|
|
2574
|
+
const Dv = A();
|
|
2575
|
+
class kv {
|
|
2614
2576
|
constructor(e) {
|
|
2615
2577
|
this.privStopInputOnRelease = e;
|
|
2616
2578
|
}
|
|
2617
2579
|
record(e, r, i) {
|
|
2618
|
-
const a = new
|
|
2580
|
+
const a = new Dv.RiffPcmEncoder(e.sampleRate, 16e3), s = e.createMediaStreamSource(r), n = () => {
|
|
2619
2581
|
const c = (() => {
|
|
2620
2582
|
let u = 0;
|
|
2621
2583
|
try {
|
|
@@ -2697,14 +2659,14 @@ class Lv {
|
|
|
2697
2659
|
this.privSpeechProcessorScript = e;
|
|
2698
2660
|
}
|
|
2699
2661
|
}
|
|
2700
|
-
yi.PcmRecorder =
|
|
2701
|
-
var Ri = {}, kn = {},
|
|
2662
|
+
yi.PcmRecorder = kv;
|
|
2663
|
+
var Ri = {}, kn = {}, Nv = N && N.__createBinding || (Object.create ? function(t, e, r, i) {
|
|
2702
2664
|
i === void 0 && (i = r), Object.defineProperty(t, i, { enumerable: !0, get: function() {
|
|
2703
2665
|
return e[r];
|
|
2704
2666
|
} });
|
|
2705
2667
|
} : function(t, e, r, i) {
|
|
2706
2668
|
i === void 0 && (i = r), t[i] = e[r];
|
|
2707
|
-
}),
|
|
2669
|
+
}), zv = N && N.__setModuleDefault || (Object.create ? function(t, e) {
|
|
2708
2670
|
Object.defineProperty(t, "default", { enumerable: !0, value: e });
|
|
2709
2671
|
} : function(t, e) {
|
|
2710
2672
|
t.default = e;
|
|
@@ -2714,21 +2676,21 @@ var Ri = {}, kn = {}, Bv = N && N.__createBinding || (Object.create ? function(t
|
|
|
2714
2676
|
var e = {};
|
|
2715
2677
|
if (t != null)
|
|
2716
2678
|
for (var r in t)
|
|
2717
|
-
r !== "default" && Object.prototype.hasOwnProperty.call(t, r) &&
|
|
2718
|
-
return
|
|
2679
|
+
r !== "default" && Object.prototype.hasOwnProperty.call(t, r) && Nv(e, t, r);
|
|
2680
|
+
return zv(e, t), e;
|
|
2719
2681
|
}, Ks = N && N.__importDefault || function(t) {
|
|
2720
2682
|
return t && t.__esModule ? t : { default: t };
|
|
2721
2683
|
};
|
|
2722
2684
|
Object.defineProperty(kn, "__esModule", { value: !0 });
|
|
2723
2685
|
kn.WebsocketMessageAdapter = void 0;
|
|
2724
|
-
const
|
|
2686
|
+
const jv = jp(St), Lv = jp(St), Bv = Ks(St), qv = Ks(St), Fv = Ks(St), xv = W, M = A();
|
|
2725
2687
|
class An {
|
|
2726
2688
|
constructor(e, r, i, p, a, s) {
|
|
2727
2689
|
if (!e)
|
|
2728
2690
|
throw new M.ArgumentNullError("uri");
|
|
2729
2691
|
if (!i)
|
|
2730
2692
|
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[
|
|
2693
|
+
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[xv.HeaderNames.ConnectionId] = this.privConnectionId, this.privHeaders.connectionId = this.privConnectionId, this.privLastErrorReceived = "";
|
|
2732
2694
|
}
|
|
2733
2695
|
get state() {
|
|
2734
2696
|
return this.privConnectionState;
|
|
@@ -2746,7 +2708,7 @@ class An {
|
|
|
2746
2708
|
let r = new URL(this.privUri).protocol;
|
|
2747
2709
|
(r == null ? void 0 : r.toLocaleLowerCase()) === "wss:" ? r = "https:" : (r == null ? void 0 : r.toLocaleLowerCase()) === "ws:" && (r = "http:");
|
|
2748
2710
|
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
|
|
2711
|
+
this.privCertificateValidatedDeferral.resolve(), i.agent = this.getAgent(), i.agent.protocol = r, this.privWebsocketClient = new Fv.default(this.privUri, i), this.privWebsocketClient.on("redirect", (p) => {
|
|
2750
2712
|
const a = new M.ConnectionRedirectEvent(this.privConnectionId, p, this.privUri, `Getting redirect URL from endpoint ${this.privUri} with redirect URL '${p}'`);
|
|
2751
2713
|
M.Events.instance.onEvent(a);
|
|
2752
2714
|
});
|
|
@@ -2855,7 +2817,7 @@ class An {
|
|
|
2855
2817
|
}
|
|
2856
2818
|
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
|
2857
2819
|
getAgent() {
|
|
2858
|
-
const e = new
|
|
2820
|
+
const e = new Bv.default.Agent(this.createConnection);
|
|
2859
2821
|
return this.proxyInfo !== void 0 && this.proxyInfo.HostName !== void 0 && this.proxyInfo.Port > 0 && (e.proxyInfo = this.proxyInfo), e;
|
|
2860
2822
|
}
|
|
2861
2823
|
static GetProxyAgent(e) {
|
|
@@ -2865,7 +2827,7 @@ class An {
|
|
|
2865
2827
|
};
|
|
2866
2828
|
return e.UserName ? r.headers = {
|
|
2867
2829
|
"Proxy-Authentication": "Basic " + new Buffer(`${e.UserName}:${e.Password === void 0 ? "" : e.Password}`).toString("base64")
|
|
2868
|
-
} : r.headers = {}, r.headers.requestOCSP = "true", new
|
|
2830
|
+
} : r.headers = {}, r.headers.requestOCSP = "true", new qv.default(r);
|
|
2869
2831
|
}
|
|
2870
2832
|
createConnection(e, r) {
|
|
2871
2833
|
let i;
|
|
@@ -2881,7 +2843,7 @@ class An {
|
|
|
2881
2843
|
});
|
|
2882
2844
|
});
|
|
2883
2845
|
} else
|
|
2884
|
-
r.secureEndpoint ? i = Promise.resolve(
|
|
2846
|
+
r.secureEndpoint ? i = Promise.resolve(Lv.connect(r)) : i = Promise.resolve(jv.connect(r));
|
|
2885
2847
|
return i;
|
|
2886
2848
|
}
|
|
2887
2849
|
get isWebsocketOpen() {
|
|
@@ -2892,8 +2854,8 @@ kn.WebsocketMessageAdapter = An;
|
|
|
2892
2854
|
An.forceNpmWebSocket = !1;
|
|
2893
2855
|
Object.defineProperty(Ri, "__esModule", { value: !0 });
|
|
2894
2856
|
Ri.WebsocketConnection = void 0;
|
|
2895
|
-
const Is = A(),
|
|
2896
|
-
class
|
|
2857
|
+
const Is = A(), Uv = kn;
|
|
2858
|
+
class Wv {
|
|
2897
2859
|
constructor(e, r, i, p, a, s = !1, n) {
|
|
2898
2860
|
if (this.privIsDisposed = !1, !e)
|
|
2899
2861
|
throw new Is.ArgumentNullError("uri");
|
|
@@ -2919,7 +2881,7 @@ class Kv {
|
|
|
2919
2881
|
o += `${u}=${d}`, c++;
|
|
2920
2882
|
}
|
|
2921
2883
|
}
|
|
2922
|
-
this.privUri = e + o, this.privId = n || (0, Is.createNoDashGuid)(), this.privConnectionMessageAdapter = new
|
|
2884
|
+
this.privUri = e + o, this.privId = n || (0, Is.createNoDashGuid)(), this.privConnectionMessageAdapter = new Uv.WebsocketMessageAdapter(this.privUri, this.id, this.privMessageFormatter, a, i, s);
|
|
2923
2885
|
}
|
|
2924
2886
|
async dispose() {
|
|
2925
2887
|
this.privIsDisposed = !0, this.privConnectionMessageAdapter && await this.privConnectionMessageAdapter.close();
|
|
@@ -2949,11 +2911,11 @@ class Kv {
|
|
|
2949
2911
|
return this.privConnectionMessageAdapter.events;
|
|
2950
2912
|
}
|
|
2951
2913
|
}
|
|
2952
|
-
Ri.WebsocketConnection =
|
|
2914
|
+
Ri.WebsocketConnection = Wv;
|
|
2953
2915
|
var Pi = {};
|
|
2954
2916
|
Object.defineProperty(Pi, "__esModule", { value: !0 });
|
|
2955
2917
|
Pi.ReplayableAudioNode = void 0;
|
|
2956
|
-
class
|
|
2918
|
+
class Vv {
|
|
2957
2919
|
constructor(e, r) {
|
|
2958
2920
|
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
2921
|
}
|
|
@@ -2981,7 +2943,7 @@ class Jv {
|
|
|
2981
2943
|
});
|
|
2982
2944
|
}
|
|
2983
2945
|
}
|
|
2984
|
-
return this.privAudioNode.read().then((e) => (e && e.buffer && (this.privBuffers.push(new
|
|
2946
|
+
return this.privAudioNode.read().then((e) => (e && e.buffer && (this.privBuffers.push(new Hv(e, this.privBufferSerial++, this.privBufferedBytes)), this.privBufferedBytes += e.buffer.byteLength), e));
|
|
2985
2947
|
}
|
|
2986
2948
|
detach() {
|
|
2987
2949
|
return this.privBuffers = void 0, this.privAudioNode.detach();
|
|
@@ -3014,35 +2976,35 @@ class Jv {
|
|
|
3014
2976
|
return 0;
|
|
3015
2977
|
}
|
|
3016
2978
|
}
|
|
3017
|
-
Pi.ReplayableAudioNode =
|
|
3018
|
-
class
|
|
2979
|
+
Pi.ReplayableAudioNode = Vv;
|
|
2980
|
+
class Hv {
|
|
3019
2981
|
constructor(e, r, i) {
|
|
3020
2982
|
this.chunk = e, this.serial = r, this.byteOffset = i;
|
|
3021
2983
|
}
|
|
3022
2984
|
}
|
|
3023
|
-
var Wt = {}, Ts = {}, Ee = {}, Nn = {},
|
|
2985
|
+
var Wt = {}, Ts = {}, Ee = {}, Nn = {}, $v = N && N.__createBinding || (Object.create ? function(t, e, r, i) {
|
|
3024
2986
|
i === void 0 && (i = r), Object.defineProperty(t, i, { enumerable: !0, get: function() {
|
|
3025
2987
|
return e[r];
|
|
3026
2988
|
} });
|
|
3027
2989
|
} : function(t, e, r, i) {
|
|
3028
2990
|
i === void 0 && (i = r), t[i] = e[r];
|
|
3029
|
-
}),
|
|
2991
|
+
}), Kv = N && N.__setModuleDefault || (Object.create ? function(t, e) {
|
|
3030
2992
|
Object.defineProperty(t, "default", { enumerable: !0, value: e });
|
|
3031
2993
|
} : function(t, e) {
|
|
3032
2994
|
t.default = e;
|
|
3033
|
-
}),
|
|
2995
|
+
}), Jv = N && N.__importStar || function(t) {
|
|
3034
2996
|
if (t && t.__esModule)
|
|
3035
2997
|
return t;
|
|
3036
2998
|
var e = {};
|
|
3037
2999
|
if (t != null)
|
|
3038
3000
|
for (var r in t)
|
|
3039
|
-
r !== "default" && Object.prototype.hasOwnProperty.call(t, r) &&
|
|
3040
|
-
return
|
|
3001
|
+
r !== "default" && Object.prototype.hasOwnProperty.call(t, r) && $v(e, t, r);
|
|
3002
|
+
return Kv(e, t), e;
|
|
3041
3003
|
};
|
|
3042
3004
|
Object.defineProperty(Nn, "__esModule", { value: !0 });
|
|
3043
3005
|
Nn.AudioFileWriter = void 0;
|
|
3044
|
-
const Vt =
|
|
3045
|
-
class
|
|
3006
|
+
const Vt = Jv(St), As = b;
|
|
3007
|
+
class Gv {
|
|
3046
3008
|
constructor(e) {
|
|
3047
3009
|
As.Contracts.throwIfNullOrUndefined(Vt.openSync, `
|
|
3048
3010
|
File System access not available, please use Push or PullAudioOutputStream`), this.privFd = Vt.openSync(e, "w");
|
|
@@ -3064,12 +3026,12 @@ File System access not available, please use Push or PullAudioOutputStream`), th
|
|
|
3064
3026
|
return this.privId;
|
|
3065
3027
|
}
|
|
3066
3028
|
}
|
|
3067
|
-
Nn.AudioFileWriter =
|
|
3068
|
-
var ue = {},
|
|
3029
|
+
Nn.AudioFileWriter = Gv;
|
|
3030
|
+
var ue = {}, Uo;
|
|
3069
3031
|
function Lp() {
|
|
3070
|
-
if (
|
|
3032
|
+
if (Uo)
|
|
3071
3033
|
return ue;
|
|
3072
|
-
|
|
3034
|
+
Uo = 1, Object.defineProperty(ue, "__esModule", { value: !0 }), ue.PullAudioInputStreamImpl = ue.PullAudioInputStream = ue.PushAudioInputStreamImpl = ue.PushAudioInputStream = ue.AudioInputStream = void 0;
|
|
3073
3035
|
const t = T(), e = A(), r = fe, i = R(), p = Ke;
|
|
3074
3036
|
let a = class {
|
|
3075
3037
|
/**
|
|
@@ -3526,7 +3488,7 @@ _.SpeechSynthesisOutputFormatToString = {
|
|
|
3526
3488
|
};
|
|
3527
3489
|
Object.defineProperty(K, "__esModule", { value: !0 });
|
|
3528
3490
|
K.PushAudioOutputStreamImpl = K.PushAudioOutputStream = K.PullAudioOutputStreamImpl = K.PullAudioOutputStream = K.AudioOutputStream = void 0;
|
|
3529
|
-
const Ls = A(),
|
|
3491
|
+
const Ls = A(), Qv = b, Xv = Je;
|
|
3530
3492
|
class Gs {
|
|
3531
3493
|
/**
|
|
3532
3494
|
* Creates and initializes an instance.
|
|
@@ -3572,7 +3534,7 @@ class Bp extends Qs {
|
|
|
3572
3534
|
* @param {AudioStreamFormat} format - the format to be set.
|
|
3573
3535
|
*/
|
|
3574
3536
|
set format(e) {
|
|
3575
|
-
e == null && (this.privFormat =
|
|
3537
|
+
e == null && (this.privFormat = Xv.AudioOutputFormatImpl.getDefaultOutputFormat()), this.privFormat = e;
|
|
3576
3538
|
}
|
|
3577
3539
|
/**
|
|
3578
3540
|
* Format information for the audio
|
|
@@ -3632,7 +3594,7 @@ class Bp extends Qs {
|
|
|
3632
3594
|
* @param {ArrayBuffer} dataBuffer - The audio buffer of which this function will make a copy.
|
|
3633
3595
|
*/
|
|
3634
3596
|
write(e) {
|
|
3635
|
-
|
|
3597
|
+
Qv.Contracts.throwIfNullOrUndefined(this.privStream, "must set format before writing"), this.privStream.writeStreamChunk({
|
|
3636
3598
|
buffer: e,
|
|
3637
3599
|
isEnd: !1,
|
|
3638
3600
|
timeReceived: Date.now()
|
|
@@ -3697,11 +3659,11 @@ class Fp extends qp {
|
|
|
3697
3659
|
}
|
|
3698
3660
|
}
|
|
3699
3661
|
K.PushAudioOutputStreamImpl = Fp;
|
|
3700
|
-
var
|
|
3662
|
+
var Wo;
|
|
3701
3663
|
function Up() {
|
|
3702
|
-
if (
|
|
3664
|
+
if (Wo)
|
|
3703
3665
|
return Ee;
|
|
3704
|
-
|
|
3666
|
+
Wo = 1, Object.defineProperty(Ee, "__esModule", { value: !0 }), Ee.AudioOutputConfigImpl = Ee.AudioConfigImpl = Ee.AudioConfig = void 0;
|
|
3705
3667
|
const t = V(), e = b, r = R(), i = Nn, p = Lp(), a = K;
|
|
3706
3668
|
let s = class xp {
|
|
3707
3669
|
/**
|
|
@@ -3956,20 +3918,20 @@ var Wp = {};
|
|
|
3956
3918
|
var Ei = {};
|
|
3957
3919
|
Object.defineProperty(Ei, "__esModule", { value: !0 });
|
|
3958
3920
|
Ei.PullAudioInputStreamCallback = void 0;
|
|
3959
|
-
class
|
|
3921
|
+
class Zv {
|
|
3960
3922
|
}
|
|
3961
|
-
Ei.PullAudioInputStreamCallback =
|
|
3923
|
+
Ei.PullAudioInputStreamCallback = Zv;
|
|
3962
3924
|
var Ii = {};
|
|
3963
3925
|
Object.defineProperty(Ii, "__esModule", { value: !0 });
|
|
3964
3926
|
Ii.PushAudioOutputStreamCallback = void 0;
|
|
3965
|
-
class
|
|
3927
|
+
class Yv {
|
|
3966
3928
|
}
|
|
3967
|
-
Ii.PushAudioOutputStreamCallback =
|
|
3929
|
+
Ii.PushAudioOutputStreamCallback = Yv;
|
|
3968
3930
|
var Ti = {};
|
|
3969
3931
|
Object.defineProperty(Ti, "__esModule", { value: !0 });
|
|
3970
3932
|
Ti.KeywordRecognitionModel = void 0;
|
|
3971
|
-
const
|
|
3972
|
-
class
|
|
3933
|
+
const Vo = b;
|
|
3934
|
+
class ef {
|
|
3973
3935
|
/**
|
|
3974
3936
|
* Create and initializes a new instance.
|
|
3975
3937
|
* @constructor
|
|
@@ -3988,7 +3950,7 @@ class sf {
|
|
|
3988
3950
|
* @returns {KeywordRecognitionModel} The keyword recognition model being created.
|
|
3989
3951
|
*/
|
|
3990
3952
|
static fromFile(e) {
|
|
3991
|
-
throw
|
|
3953
|
+
throw Vo.Contracts.throwIfFileDoesNotExist(e, "fileName"), new Error("Not yet implemented.");
|
|
3992
3954
|
}
|
|
3993
3955
|
/**
|
|
3994
3956
|
* Creates a keyword recognition model using the specified filename.
|
|
@@ -4000,7 +3962,7 @@ class sf {
|
|
|
4000
3962
|
* @returns {KeywordRecognitionModel} The keyword recognition model being created.
|
|
4001
3963
|
*/
|
|
4002
3964
|
static fromStream(e) {
|
|
4003
|
-
throw
|
|
3965
|
+
throw Vo.Contracts.throwIfNull(e, "file"), new Error("Not yet implemented.");
|
|
4004
3966
|
}
|
|
4005
3967
|
/**
|
|
4006
3968
|
* Dispose of associated resources.
|
|
@@ -4012,11 +3974,11 @@ class sf {
|
|
|
4012
3974
|
this.privDisposed || (this.privDisposed = !0);
|
|
4013
3975
|
}
|
|
4014
3976
|
}
|
|
4015
|
-
Ti.KeywordRecognitionModel =
|
|
3977
|
+
Ti.KeywordRecognitionModel = ef;
|
|
4016
3978
|
var Ai = {};
|
|
4017
3979
|
Object.defineProperty(Ai, "__esModule", { value: !0 });
|
|
4018
3980
|
Ai.SessionEventArgs = void 0;
|
|
4019
|
-
class
|
|
3981
|
+
class tf {
|
|
4020
3982
|
/**
|
|
4021
3983
|
* Creates and initializes an instance of this class.
|
|
4022
3984
|
* @constructor
|
|
@@ -4036,12 +3998,12 @@ class of {
|
|
|
4036
3998
|
return this.privSessionId;
|
|
4037
3999
|
}
|
|
4038
4000
|
}
|
|
4039
|
-
Ai.SessionEventArgs =
|
|
4040
|
-
var Ht = {},
|
|
4041
|
-
function
|
|
4042
|
-
if (
|
|
4001
|
+
Ai.SessionEventArgs = tf;
|
|
4002
|
+
var Ht = {}, Ho;
|
|
4003
|
+
function rf() {
|
|
4004
|
+
if (Ho)
|
|
4043
4005
|
return Ht;
|
|
4044
|
-
|
|
4006
|
+
Ho = 1, Object.defineProperty(Ht, "__esModule", { value: !0 }), Ht.RecognitionEventArgs = void 0;
|
|
4045
4007
|
const t = R();
|
|
4046
4008
|
let e = class extends t.SessionEventArgs {
|
|
4047
4009
|
/**
|
|
@@ -4071,11 +4033,11 @@ var Vp = {};
|
|
|
4071
4033
|
e[e.Simple = 0] = "Simple", e[e.Detailed = 1] = "Detailed";
|
|
4072
4034
|
}(t.OutputFormat || (t.OutputFormat = {}));
|
|
4073
4035
|
})(Vp);
|
|
4074
|
-
var $t = {},
|
|
4075
|
-
function
|
|
4076
|
-
if (
|
|
4036
|
+
var $t = {}, $o;
|
|
4037
|
+
function nf() {
|
|
4038
|
+
if ($o)
|
|
4077
4039
|
return $t;
|
|
4078
|
-
|
|
4040
|
+
$o = 1, Object.defineProperty($t, "__esModule", { value: !0 }), $t.IntentRecognitionEventArgs = void 0;
|
|
4079
4041
|
const t = R();
|
|
4080
4042
|
let e = class extends t.RecognitionEventArgs {
|
|
4081
4043
|
/**
|
|
@@ -4104,7 +4066,7 @@ function cf() {
|
|
|
4104
4066
|
var wi = {};
|
|
4105
4067
|
Object.defineProperty(wi, "__esModule", { value: !0 });
|
|
4106
4068
|
wi.RecognitionResult = void 0;
|
|
4107
|
-
class
|
|
4069
|
+
class sf {
|
|
4108
4070
|
/**
|
|
4109
4071
|
* Creates and initializes an instance of this class.
|
|
4110
4072
|
* @constructor
|
|
@@ -4223,12 +4185,12 @@ class pf {
|
|
|
4223
4185
|
return this.privProperties;
|
|
4224
4186
|
}
|
|
4225
4187
|
}
|
|
4226
|
-
wi.RecognitionResult =
|
|
4227
|
-
var Kt = {},
|
|
4228
|
-
function
|
|
4229
|
-
if (
|
|
4188
|
+
wi.RecognitionResult = sf;
|
|
4189
|
+
var Kt = {}, Ko;
|
|
4190
|
+
function of() {
|
|
4191
|
+
if (Ko)
|
|
4230
4192
|
return Kt;
|
|
4231
|
-
|
|
4193
|
+
Ko = 1, Object.defineProperty(Kt, "__esModule", { value: !0 }), Kt.SpeechRecognitionResult = void 0;
|
|
4232
4194
|
const t = R();
|
|
4233
4195
|
let e = class extends t.RecognitionResult {
|
|
4234
4196
|
/**
|
|
@@ -4263,11 +4225,11 @@ function uf() {
|
|
|
4263
4225
|
};
|
|
4264
4226
|
return Kt.SpeechRecognitionResult = e, Kt;
|
|
4265
4227
|
}
|
|
4266
|
-
var Jt = {},
|
|
4267
|
-
function
|
|
4268
|
-
if (
|
|
4228
|
+
var Jt = {}, Jo;
|
|
4229
|
+
function af() {
|
|
4230
|
+
if (Jo)
|
|
4269
4231
|
return Jt;
|
|
4270
|
-
|
|
4232
|
+
Jo = 1, Object.defineProperty(Jt, "__esModule", { value: !0 }), Jt.IntentRecognitionResult = void 0;
|
|
4271
4233
|
const t = R();
|
|
4272
4234
|
let e = class extends t.SpeechRecognitionResult {
|
|
4273
4235
|
/**
|
|
@@ -4370,11 +4332,11 @@ wt.LanguageUnderstandingModel = Hp;
|
|
|
4370
4332
|
class Vn extends Hp {
|
|
4371
4333
|
}
|
|
4372
4334
|
wt.LanguageUnderstandingModelImpl = Vn;
|
|
4373
|
-
var Ie = {},
|
|
4374
|
-
function
|
|
4375
|
-
if (
|
|
4335
|
+
var Ie = {}, Go;
|
|
4336
|
+
function cf() {
|
|
4337
|
+
if (Go)
|
|
4376
4338
|
return Ie;
|
|
4377
|
-
|
|
4339
|
+
Go = 1, Object.defineProperty(Ie, "__esModule", { value: !0 }), Ie.MeetingTranscriptionEventArgs = Ie.ConversationTranscriptionEventArgs = Ie.SpeechRecognitionEventArgs = void 0;
|
|
4378
4340
|
const t = R();
|
|
4379
4341
|
let e = class extends t.RecognitionEventArgs {
|
|
4380
4342
|
/**
|
|
@@ -4426,11 +4388,11 @@ function hf() {
|
|
|
4426
4388
|
}
|
|
4427
4389
|
return Ie.MeetingTranscriptionEventArgs = i, Ie;
|
|
4428
4390
|
}
|
|
4429
|
-
var Gt = {}, Qt = {},
|
|
4391
|
+
var Gt = {}, Qt = {}, Qo;
|
|
4430
4392
|
function zn() {
|
|
4431
|
-
if (
|
|
4393
|
+
if (Qo)
|
|
4432
4394
|
return Qt;
|
|
4433
|
-
|
|
4395
|
+
Qo = 1, Object.defineProperty(Qt, "__esModule", { value: !0 }), Qt.CancellationEventArgsBase = void 0;
|
|
4434
4396
|
const t = R();
|
|
4435
4397
|
let e = class extends t.RecognitionEventArgs {
|
|
4436
4398
|
/**
|
|
@@ -4474,21 +4436,21 @@ function zn() {
|
|
|
4474
4436
|
};
|
|
4475
4437
|
return Qt.CancellationEventArgsBase = e, Qt;
|
|
4476
4438
|
}
|
|
4477
|
-
var
|
|
4478
|
-
function
|
|
4479
|
-
if (
|
|
4439
|
+
var Xo;
|
|
4440
|
+
function pf() {
|
|
4441
|
+
if (Xo)
|
|
4480
4442
|
return Gt;
|
|
4481
|
-
|
|
4443
|
+
Xo = 1, Object.defineProperty(Gt, "__esModule", { value: !0 }), Gt.SpeechRecognitionCanceledEventArgs = void 0;
|
|
4482
4444
|
const t = zn();
|
|
4483
4445
|
let e = class extends t.CancellationEventArgsBase {
|
|
4484
4446
|
};
|
|
4485
4447
|
return Gt.SpeechRecognitionCanceledEventArgs = e, Gt;
|
|
4486
4448
|
}
|
|
4487
|
-
var Xt = {},
|
|
4488
|
-
function
|
|
4489
|
-
if (
|
|
4449
|
+
var Xt = {}, Zo;
|
|
4450
|
+
function uf() {
|
|
4451
|
+
if (Zo)
|
|
4490
4452
|
return Xt;
|
|
4491
|
-
|
|
4453
|
+
Zo = 1, Object.defineProperty(Xt, "__esModule", { value: !0 }), Xt.TranslationRecognitionEventArgs = void 0;
|
|
4492
4454
|
const t = R();
|
|
4493
4455
|
let e = class extends t.RecognitionEventArgs {
|
|
4494
4456
|
/**
|
|
@@ -4514,11 +4476,11 @@ function vf() {
|
|
|
4514
4476
|
};
|
|
4515
4477
|
return Xt.TranslationRecognitionEventArgs = e, Xt;
|
|
4516
4478
|
}
|
|
4517
|
-
var Zt = {},
|
|
4518
|
-
function
|
|
4519
|
-
if (
|
|
4479
|
+
var Zt = {}, Yo;
|
|
4480
|
+
function df() {
|
|
4481
|
+
if (Yo)
|
|
4520
4482
|
return Zt;
|
|
4521
|
-
|
|
4483
|
+
Yo = 1, Object.defineProperty(Zt, "__esModule", { value: !0 }), Zt.TranslationSynthesisEventArgs = void 0;
|
|
4522
4484
|
const t = R();
|
|
4523
4485
|
let e = class extends t.SessionEventArgs {
|
|
4524
4486
|
/**
|
|
@@ -4543,11 +4505,11 @@ function ff() {
|
|
|
4543
4505
|
};
|
|
4544
4506
|
return Zt.TranslationSynthesisEventArgs = e, Zt;
|
|
4545
4507
|
}
|
|
4546
|
-
var Yt = {},
|
|
4508
|
+
var Yt = {}, ea;
|
|
4547
4509
|
function Kp() {
|
|
4548
|
-
if (
|
|
4510
|
+
if (ea)
|
|
4549
4511
|
return Yt;
|
|
4550
|
-
|
|
4512
|
+
ea = 1, Object.defineProperty(Yt, "__esModule", { value: !0 }), Yt.TranslationRecognitionResult = void 0;
|
|
4551
4513
|
const t = R();
|
|
4552
4514
|
let e = class $p extends t.SpeechRecognitionResult {
|
|
4553
4515
|
/**
|
|
@@ -4590,7 +4552,7 @@ function Kp() {
|
|
|
4590
4552
|
var _i = {};
|
|
4591
4553
|
Object.defineProperty(_i, "__esModule", { value: !0 });
|
|
4592
4554
|
_i.TranslationSynthesisResult = void 0;
|
|
4593
|
-
class
|
|
4555
|
+
class hf {
|
|
4594
4556
|
/**
|
|
4595
4557
|
* Creates and initializes an instance of this class.
|
|
4596
4558
|
* @constructor
|
|
@@ -4621,18 +4583,18 @@ class gf {
|
|
|
4621
4583
|
return this.privReason;
|
|
4622
4584
|
}
|
|
4623
4585
|
}
|
|
4624
|
-
_i.TranslationSynthesisResult =
|
|
4586
|
+
_i.TranslationSynthesisResult = hf;
|
|
4625
4587
|
var Jp = {};
|
|
4626
4588
|
(function(t) {
|
|
4627
4589
|
Object.defineProperty(t, "__esModule", { value: !0 }), t.ResultReason = void 0, function(e) {
|
|
4628
4590
|
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
4591
|
}(t.ResultReason || (t.ResultReason = {}));
|
|
4630
4592
|
})(Jp);
|
|
4631
|
-
var Ge = {},
|
|
4632
|
-
function
|
|
4633
|
-
if (
|
|
4593
|
+
var Ge = {}, ta;
|
|
4594
|
+
function lf() {
|
|
4595
|
+
if (ta)
|
|
4634
4596
|
return Ge;
|
|
4635
|
-
|
|
4597
|
+
ta = 1, Object.defineProperty(Ge, "__esModule", { value: !0 }), Ge.SpeechConfigImpl = Ge.SpeechConfig = void 0;
|
|
4636
4598
|
const t = T(), e = b, r = R();
|
|
4637
4599
|
let i = class {
|
|
4638
4600
|
/**
|
|
@@ -4819,11 +4781,11 @@ function mf() {
|
|
|
4819
4781
|
}
|
|
4820
4782
|
return Ge.SpeechConfigImpl = p, Ge;
|
|
4821
4783
|
}
|
|
4822
|
-
var Qe = {},
|
|
4823
|
-
function
|
|
4824
|
-
if (
|
|
4784
|
+
var Qe = {}, ra;
|
|
4785
|
+
function vf() {
|
|
4786
|
+
if (ra)
|
|
4825
4787
|
return Qe;
|
|
4826
|
-
|
|
4788
|
+
ra = 1, Object.defineProperty(Qe, "__esModule", { value: !0 }), Qe.SpeechTranslationConfigImpl = Qe.SpeechTranslationConfig = void 0;
|
|
4827
4789
|
const t = T(), e = b, r = R();
|
|
4828
4790
|
let i = class extends r.SpeechConfig {
|
|
4829
4791
|
/**
|
|
@@ -5117,11 +5079,11 @@ function Sf() {
|
|
|
5117
5079
|
}
|
|
5118
5080
|
return Qe.SpeechTranslationConfigImpl = p, Qe;
|
|
5119
5081
|
}
|
|
5120
|
-
var er = {},
|
|
5082
|
+
var er = {}, na;
|
|
5121
5083
|
function Qp() {
|
|
5122
|
-
if (
|
|
5084
|
+
if (na)
|
|
5123
5085
|
return er;
|
|
5124
|
-
|
|
5086
|
+
na = 1, Object.defineProperty(er, "__esModule", { value: !0 }), er.PropertyCollection = void 0;
|
|
5125
5087
|
const t = R();
|
|
5126
5088
|
let e = class Gp {
|
|
5127
5089
|
constructor() {
|
|
@@ -5213,11 +5175,11 @@ var bi = {};
|
|
|
5213
5175
|
e[e.SpeechServiceConnection_Key = 0] = "SpeechServiceConnection_Key", e[e.SpeechServiceConnection_Endpoint = 1] = "SpeechServiceConnection_Endpoint", e[e.SpeechServiceConnection_Region = 2] = "SpeechServiceConnection_Region", e[e.SpeechServiceAuthorization_Token = 3] = "SpeechServiceAuthorization_Token", e[e.SpeechServiceAuthorization_Type = 4] = "SpeechServiceAuthorization_Type", e[e.SpeechServiceConnection_EndpointId = 5] = "SpeechServiceConnection_EndpointId", e[e.SpeechServiceConnection_TranslationToLanguages = 6] = "SpeechServiceConnection_TranslationToLanguages", e[e.SpeechServiceConnection_TranslationVoice = 7] = "SpeechServiceConnection_TranslationVoice", e[e.SpeechServiceConnection_TranslationFeatures = 8] = "SpeechServiceConnection_TranslationFeatures", e[e.SpeechServiceConnection_TranslationCategoryId = 9] = "SpeechServiceConnection_TranslationCategoryId", e[e.SpeechServiceConnection_IntentRegion = 10] = "SpeechServiceConnection_IntentRegion", e[e.SpeechServiceConnection_ProxyHostName = 11] = "SpeechServiceConnection_ProxyHostName", e[e.SpeechServiceConnection_ProxyPort = 12] = "SpeechServiceConnection_ProxyPort", e[e.SpeechServiceConnection_ProxyUserName = 13] = "SpeechServiceConnection_ProxyUserName", e[e.SpeechServiceConnection_ProxyPassword = 14] = "SpeechServiceConnection_ProxyPassword", e[e.SpeechServiceConnection_RecoMode = 15] = "SpeechServiceConnection_RecoMode", e[e.SpeechServiceConnection_RecoLanguage = 16] = "SpeechServiceConnection_RecoLanguage", e[e.Speech_SessionId = 17] = "Speech_SessionId", e[e.SpeechServiceConnection_SynthLanguage = 18] = "SpeechServiceConnection_SynthLanguage", e[e.SpeechServiceConnection_SynthVoice = 19] = "SpeechServiceConnection_SynthVoice", e[e.SpeechServiceConnection_SynthOutputFormat = 20] = "SpeechServiceConnection_SynthOutputFormat", e[e.SpeechServiceConnection_AutoDetectSourceLanguages = 21] = "SpeechServiceConnection_AutoDetectSourceLanguages", e[e.SpeechServiceResponse_RequestDetailedResultTrueFalse = 22] = "SpeechServiceResponse_RequestDetailedResultTrueFalse", e[e.SpeechServiceResponse_RequestProfanityFilterTrueFalse = 23] = "SpeechServiceResponse_RequestProfanityFilterTrueFalse", e[e.SpeechServiceResponse_JsonResult = 24] = "SpeechServiceResponse_JsonResult", e[e.SpeechServiceResponse_JsonErrorDetails = 25] = "SpeechServiceResponse_JsonErrorDetails", e[e.CancellationDetails_Reason = 26] = "CancellationDetails_Reason", e[e.CancellationDetails_ReasonText = 27] = "CancellationDetails_ReasonText", e[e.CancellationDetails_ReasonDetailedText = 28] = "CancellationDetails_ReasonDetailedText", e[e.LanguageUnderstandingServiceResponse_JsonResult = 29] = "LanguageUnderstandingServiceResponse_JsonResult", e[e.SpeechServiceConnection_Url = 30] = "SpeechServiceConnection_Url", e[e.SpeechServiceConnection_InitialSilenceTimeoutMs = 31] = "SpeechServiceConnection_InitialSilenceTimeoutMs", e[e.SpeechServiceConnection_EndSilenceTimeoutMs = 32] = "SpeechServiceConnection_EndSilenceTimeoutMs", e[e.Speech_SegmentationSilenceTimeoutMs = 33] = "Speech_SegmentationSilenceTimeoutMs", e[e.Speech_SegmentationMaximumTimeMs = 34] = "Speech_SegmentationMaximumTimeMs", e[e.Speech_SegmentationStrategy = 35] = "Speech_SegmentationStrategy", e[e.SpeechServiceConnection_EnableAudioLogging = 36] = "SpeechServiceConnection_EnableAudioLogging", e[e.SpeechServiceConnection_LanguageIdMode = 37] = "SpeechServiceConnection_LanguageIdMode", e[e.SpeechServiceConnection_RecognitionEndpointVersion = 38] = "SpeechServiceConnection_RecognitionEndpointVersion", e[e.SpeechServiceConnection_SpeakerIdMode = 39] = "SpeechServiceConnection_SpeakerIdMode", e[e.SpeechServiceResponse_ProfanityOption = 40] = "SpeechServiceResponse_ProfanityOption", e[e.SpeechServiceResponse_PostProcessingOption = 41] = "SpeechServiceResponse_PostProcessingOption", e[e.SpeechServiceResponse_RequestWordLevelTimestamps = 42] = "SpeechServiceResponse_RequestWordLevelTimestamps", e[e.SpeechServiceResponse_StablePartialResultThreshold = 43] = "SpeechServiceResponse_StablePartialResultThreshold", e[e.SpeechServiceResponse_OutputFormatOption = 44] = "SpeechServiceResponse_OutputFormatOption", e[e.SpeechServiceResponse_TranslationRequestStablePartialResult = 45] = "SpeechServiceResponse_TranslationRequestStablePartialResult", e[e.SpeechServiceResponse_RequestWordBoundary = 46] = "SpeechServiceResponse_RequestWordBoundary", e[e.SpeechServiceResponse_RequestPunctuationBoundary = 47] = "SpeechServiceResponse_RequestPunctuationBoundary", e[e.SpeechServiceResponse_RequestSentenceBoundary = 48] = "SpeechServiceResponse_RequestSentenceBoundary", e[e.SpeechServiceResponse_DiarizeIntermediateResults = 49] = "SpeechServiceResponse_DiarizeIntermediateResults", e[e.Conversation_ApplicationId = 50] = "Conversation_ApplicationId", e[e.Conversation_DialogType = 51] = "Conversation_DialogType", e[e.Conversation_Initial_Silence_Timeout = 52] = "Conversation_Initial_Silence_Timeout", e[e.Conversation_From_Id = 53] = "Conversation_From_Id", e[e.Conversation_Conversation_Id = 54] = "Conversation_Conversation_Id", e[e.Conversation_Custom_Voice_Deployment_Ids = 55] = "Conversation_Custom_Voice_Deployment_Ids", e[e.Conversation_Speech_Activity_Template = 56] = "Conversation_Speech_Activity_Template", e[e.Conversation_Request_Bot_Status_Messages = 57] = "Conversation_Request_Bot_Status_Messages", e[e.Conversation_Agent_Connection_Id = 58] = "Conversation_Agent_Connection_Id", e[e.SpeechServiceConnection_Host = 59] = "SpeechServiceConnection_Host", e[e.ConversationTranslator_Host = 60] = "ConversationTranslator_Host", e[e.ConversationTranslator_Name = 61] = "ConversationTranslator_Name", e[e.ConversationTranslator_CorrelationId = 62] = "ConversationTranslator_CorrelationId", e[e.ConversationTranslator_Token = 63] = "ConversationTranslator_Token", e[e.PronunciationAssessment_ReferenceText = 64] = "PronunciationAssessment_ReferenceText", e[e.PronunciationAssessment_GradingSystem = 65] = "PronunciationAssessment_GradingSystem", e[e.PronunciationAssessment_Granularity = 66] = "PronunciationAssessment_Granularity", e[e.PronunciationAssessment_EnableMiscue = 67] = "PronunciationAssessment_EnableMiscue", e[e.PronunciationAssessment_Json = 68] = "PronunciationAssessment_Json", e[e.PronunciationAssessment_Params = 69] = "PronunciationAssessment_Params", e[e.SpeakerRecognition_Api_Version = 70] = "SpeakerRecognition_Api_Version", e[e.WebWorkerLoadType = 71] = "WebWorkerLoadType", e[e.TalkingAvatarService_WebRTC_SDP = 72] = "TalkingAvatarService_WebRTC_SDP";
|
|
5214
5176
|
}(t.PropertyId || (t.PropertyId = {}));
|
|
5215
5177
|
})(bi);
|
|
5216
|
-
var tr = {},
|
|
5217
|
-
function
|
|
5218
|
-
if (
|
|
5178
|
+
var tr = {}, ia;
|
|
5179
|
+
function ff() {
|
|
5180
|
+
if (ia)
|
|
5219
5181
|
return tr;
|
|
5220
|
-
|
|
5182
|
+
ia = 1, Object.defineProperty(tr, "__esModule", { value: !0 }), tr.Recognizer = void 0;
|
|
5221
5183
|
const t = T(), e = A(), r = b, i = R();
|
|
5222
5184
|
let p = class Xp {
|
|
5223
5185
|
/**
|
|
@@ -5339,11 +5301,11 @@ var rr = {}, he = {};
|
|
|
5339
5301
|
e.Interactive = "Interactive", e.Dictation = "Dictation", e.Conversation = "Conversation", e.None = "None";
|
|
5340
5302
|
}(t.RecognitionMode || (t.RecognitionMode = {}));
|
|
5341
5303
|
})(he);
|
|
5342
|
-
var
|
|
5343
|
-
function
|
|
5344
|
-
if (
|
|
5304
|
+
var sa;
|
|
5305
|
+
function gf() {
|
|
5306
|
+
if (sa)
|
|
5345
5307
|
return rr;
|
|
5346
|
-
|
|
5308
|
+
sa = 1, Object.defineProperty(rr, "__esModule", { value: !0 }), rr.SpeechRecognizer = void 0;
|
|
5347
5309
|
const t = T(), e = he, r = A(), i = b, p = R();
|
|
5348
5310
|
let a = class Zp extends p.Recognizer {
|
|
5349
5311
|
/**
|
|
@@ -5524,11 +5486,11 @@ function yf() {
|
|
|
5524
5486
|
};
|
|
5525
5487
|
return rr.SpeechRecognizer = a, rr;
|
|
5526
5488
|
}
|
|
5527
|
-
var nr = {},
|
|
5528
|
-
function
|
|
5529
|
-
if (
|
|
5489
|
+
var nr = {}, oa;
|
|
5490
|
+
function mf() {
|
|
5491
|
+
if (oa)
|
|
5530
5492
|
return nr;
|
|
5531
|
-
|
|
5493
|
+
oa = 1, Object.defineProperty(nr, "__esModule", { value: !0 }), nr.IntentRecognizer = void 0;
|
|
5532
5494
|
const t = T(), e = he, r = A(), i = b, p = R();
|
|
5533
5495
|
let a = class extends p.Recognizer {
|
|
5534
5496
|
/**
|
|
@@ -5763,11 +5725,11 @@ var Yp = {};
|
|
|
5763
5725
|
e[e.TextIndependentIdentification = 0] = "TextIndependentIdentification", e[e.TextDependentVerification = 1] = "TextDependentVerification", e[e.TextIndependentVerification = 2] = "TextIndependentVerification";
|
|
5764
5726
|
}(t.VoiceProfileType || (t.VoiceProfileType = {}));
|
|
5765
5727
|
})(Yp);
|
|
5766
|
-
var ir = {}, sr = {}, Xe = {},
|
|
5728
|
+
var ir = {}, sr = {}, Xe = {}, aa;
|
|
5767
5729
|
function eu() {
|
|
5768
|
-
if (
|
|
5730
|
+
if (aa)
|
|
5769
5731
|
return Xe;
|
|
5770
|
-
|
|
5732
|
+
aa = 1, Object.defineProperty(Xe, "__esModule", { value: !0 }), Xe.ConnectionMessageImpl = Xe.ConnectionMessage = void 0;
|
|
5771
5733
|
const t = W, e = A(), r = Qp(), i = bi;
|
|
5772
5734
|
let p = class {
|
|
5773
5735
|
};
|
|
@@ -5828,11 +5790,11 @@ function eu() {
|
|
|
5828
5790
|
}
|
|
5829
5791
|
return Xe.ConnectionMessageImpl = a, Xe;
|
|
5830
5792
|
}
|
|
5831
|
-
var
|
|
5793
|
+
var ca;
|
|
5832
5794
|
function tu() {
|
|
5833
|
-
if (
|
|
5795
|
+
if (ca)
|
|
5834
5796
|
return sr;
|
|
5835
|
-
|
|
5797
|
+
ca = 1, Object.defineProperty(sr, "__esModule", { value: !0 }), sr.Connection = void 0;
|
|
5836
5798
|
const t = T(), e = A(), r = eu(), i = b, p = R();
|
|
5837
5799
|
let a = class Bs {
|
|
5838
5800
|
/**
|
|
@@ -5922,11 +5884,11 @@ function tu() {
|
|
|
5922
5884
|
};
|
|
5923
5885
|
return sr.Connection = a, sr;
|
|
5924
5886
|
}
|
|
5925
|
-
var
|
|
5926
|
-
function
|
|
5927
|
-
if (
|
|
5887
|
+
var pa;
|
|
5888
|
+
function Sf() {
|
|
5889
|
+
if (pa)
|
|
5928
5890
|
return ir;
|
|
5929
|
-
|
|
5891
|
+
pa = 1, Object.defineProperty(ir, "__esModule", { value: !0 }), ir.TranslationRecognizer = void 0;
|
|
5930
5892
|
const t = T(), e = he, r = A(), i = tu(), p = b, a = R();
|
|
5931
5893
|
let s = class ru extends a.Recognizer {
|
|
5932
5894
|
/**
|
|
@@ -6116,11 +6078,11 @@ function Pf() {
|
|
|
6116
6078
|
};
|
|
6117
6079
|
return ir.TranslationRecognizer = s, ir;
|
|
6118
6080
|
}
|
|
6119
|
-
var or = {},
|
|
6120
|
-
function
|
|
6121
|
-
if (
|
|
6081
|
+
var or = {}, ua;
|
|
6082
|
+
function Cf() {
|
|
6083
|
+
if (ua)
|
|
6122
6084
|
return or;
|
|
6123
|
-
|
|
6085
|
+
ua = 1, Object.defineProperty(or, "__esModule", { value: !0 }), or.Translations = void 0;
|
|
6124
6086
|
const t = R();
|
|
6125
6087
|
let e = class {
|
|
6126
6088
|
constructor() {
|
|
@@ -6170,11 +6132,11 @@ var nu = {};
|
|
|
6170
6132
|
e[e.NotRecognized = 0] = "NotRecognized", e[e.InitialSilenceTimeout = 1] = "InitialSilenceTimeout", e[e.InitialBabbleTimeout = 2] = "InitialBabbleTimeout";
|
|
6171
6133
|
}(t.NoMatchReason || (t.NoMatchReason = {}));
|
|
6172
6134
|
})(nu);
|
|
6173
|
-
var ar = {},
|
|
6174
|
-
function
|
|
6175
|
-
if (
|
|
6135
|
+
var ar = {}, da;
|
|
6136
|
+
function yf() {
|
|
6137
|
+
if (da)
|
|
6176
6138
|
return ar;
|
|
6177
|
-
|
|
6139
|
+
da = 1, Object.defineProperty(ar, "__esModule", { value: !0 }), ar.NoMatchDetails = void 0;
|
|
6178
6140
|
const t = T(), e = R();
|
|
6179
6141
|
let r = class iu {
|
|
6180
6142
|
/**
|
|
@@ -6226,7 +6188,7 @@ function If() {
|
|
|
6226
6188
|
var Mi = {};
|
|
6227
6189
|
Object.defineProperty(Mi, "__esModule", { value: !0 });
|
|
6228
6190
|
Mi.TranslationRecognitionCanceledEventArgs = void 0;
|
|
6229
|
-
class
|
|
6191
|
+
class Rf {
|
|
6230
6192
|
/**
|
|
6231
6193
|
* Creates and initializes an instance of this class.
|
|
6232
6194
|
* @constructor
|
|
@@ -6287,12 +6249,12 @@ class Tf {
|
|
|
6287
6249
|
return this.privErrorDetails;
|
|
6288
6250
|
}
|
|
6289
6251
|
}
|
|
6290
|
-
Mi.TranslationRecognitionCanceledEventArgs =
|
|
6291
|
-
var cr = {},
|
|
6292
|
-
function
|
|
6293
|
-
if (
|
|
6252
|
+
Mi.TranslationRecognitionCanceledEventArgs = Rf;
|
|
6253
|
+
var cr = {}, ha;
|
|
6254
|
+
function Pf() {
|
|
6255
|
+
if (ha)
|
|
6294
6256
|
return cr;
|
|
6295
|
-
|
|
6257
|
+
ha = 1, Object.defineProperty(cr, "__esModule", { value: !0 }), cr.IntentRecognitionCanceledEventArgs = void 0;
|
|
6296
6258
|
const t = R();
|
|
6297
6259
|
let e = class extends t.IntentRecognitionEventArgs {
|
|
6298
6260
|
/**
|
|
@@ -6339,7 +6301,7 @@ function Af() {
|
|
|
6339
6301
|
var jn = {};
|
|
6340
6302
|
Object.defineProperty(jn, "__esModule", { value: !0 });
|
|
6341
6303
|
jn.CancellationDetailsBase = void 0;
|
|
6342
|
-
class
|
|
6304
|
+
class Ef {
|
|
6343
6305
|
/**
|
|
6344
6306
|
* Creates and initializes an instance of this class.
|
|
6345
6307
|
* @constructor
|
|
@@ -6378,12 +6340,12 @@ class wf {
|
|
|
6378
6340
|
return this.privErrorCode;
|
|
6379
6341
|
}
|
|
6380
6342
|
}
|
|
6381
|
-
jn.CancellationDetailsBase =
|
|
6382
|
-
var pr = {},
|
|
6383
|
-
function
|
|
6384
|
-
if (
|
|
6343
|
+
jn.CancellationDetailsBase = Ef;
|
|
6344
|
+
var pr = {}, la;
|
|
6345
|
+
function If() {
|
|
6346
|
+
if (la)
|
|
6385
6347
|
return pr;
|
|
6386
|
-
|
|
6348
|
+
la = 1, Object.defineProperty(pr, "__esModule", { value: !0 }), pr.CancellationDetails = void 0;
|
|
6387
6349
|
const t = T(), e = jn, r = R();
|
|
6388
6350
|
let i = class su extends e.CancellationDetailsBase {
|
|
6389
6351
|
constructor(a, s, n) {
|
|
@@ -6414,21 +6376,21 @@ var ou = {};
|
|
|
6414
6376
|
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
6377
|
}(t.CancellationErrorCode || (t.CancellationErrorCode = {}));
|
|
6416
6378
|
})(ou);
|
|
6417
|
-
var ur = {},
|
|
6418
|
-
function
|
|
6419
|
-
if (
|
|
6379
|
+
var ur = {}, va;
|
|
6380
|
+
function Tf() {
|
|
6381
|
+
if (va)
|
|
6420
6382
|
return ur;
|
|
6421
|
-
|
|
6383
|
+
va = 1, Object.defineProperty(ur, "__esModule", { value: !0 }), ur.ConnectionEventArgs = void 0;
|
|
6422
6384
|
const t = R();
|
|
6423
6385
|
let e = class extends t.SessionEventArgs {
|
|
6424
6386
|
};
|
|
6425
6387
|
return ur.ConnectionEventArgs = e, ur;
|
|
6426
6388
|
}
|
|
6427
|
-
var dr = {},
|
|
6428
|
-
function
|
|
6429
|
-
if (
|
|
6389
|
+
var dr = {}, fa;
|
|
6390
|
+
function Af() {
|
|
6391
|
+
if (fa)
|
|
6430
6392
|
return dr;
|
|
6431
|
-
|
|
6393
|
+
fa = 1, Object.defineProperty(dr, "__esModule", { value: !0 }), dr.ServiceEventArgs = void 0;
|
|
6432
6394
|
const t = R();
|
|
6433
6395
|
let e = class extends t.SessionEventArgs {
|
|
6434
6396
|
/**
|
|
@@ -6485,11 +6447,11 @@ class Xs {
|
|
|
6485
6447
|
}
|
|
6486
6448
|
}
|
|
6487
6449
|
Oi.PhraseListGrammar = Xs;
|
|
6488
|
-
var Ze = {},
|
|
6450
|
+
var Ze = {}, ga;
|
|
6489
6451
|
function Zs() {
|
|
6490
|
-
if (
|
|
6452
|
+
if (ga)
|
|
6491
6453
|
return Ze;
|
|
6492
|
-
|
|
6454
|
+
ga = 1, Object.defineProperty(Ze, "__esModule", { value: !0 }), Ze.DialogServiceConfigImpl = Ze.DialogServiceConfig = void 0;
|
|
6493
6455
|
const t = b, e = R();
|
|
6494
6456
|
let r = class {
|
|
6495
6457
|
/**
|
|
@@ -6607,11 +6569,11 @@ function Zs() {
|
|
|
6607
6569
|
}
|
|
6608
6570
|
return Ze.DialogServiceConfigImpl = i, Ze;
|
|
6609
6571
|
}
|
|
6610
|
-
var hr = {},
|
|
6611
|
-
function
|
|
6612
|
-
if (
|
|
6572
|
+
var hr = {}, ma;
|
|
6573
|
+
function wf() {
|
|
6574
|
+
if (ma)
|
|
6613
6575
|
return hr;
|
|
6614
|
-
|
|
6576
|
+
ma = 1, Object.defineProperty(hr, "__esModule", { value: !0 }), hr.BotFrameworkConfig = void 0;
|
|
6615
6577
|
const t = b, e = Zs(), r = R();
|
|
6616
6578
|
let i = class extends e.DialogServiceConfigImpl {
|
|
6617
6579
|
/**
|
|
@@ -6710,11 +6672,11 @@ function Of() {
|
|
|
6710
6672
|
};
|
|
6711
6673
|
return hr.BotFrameworkConfig = i, hr;
|
|
6712
6674
|
}
|
|
6713
|
-
var lr = {},
|
|
6714
|
-
function
|
|
6715
|
-
if (
|
|
6675
|
+
var lr = {}, Sa;
|
|
6676
|
+
function _f() {
|
|
6677
|
+
if (Sa)
|
|
6716
6678
|
return lr;
|
|
6717
|
-
|
|
6679
|
+
Sa = 1, Object.defineProperty(lr, "__esModule", { value: !0 }), lr.CustomCommandsConfig = void 0;
|
|
6718
6680
|
const t = b, e = Zs(), r = R();
|
|
6719
6681
|
let i = class extends e.DialogServiceConfigImpl {
|
|
6720
6682
|
/**
|
|
@@ -6810,11 +6772,11 @@ B.CtsMeetingId = "meetingId";
|
|
|
6810
6772
|
B.CtsDeviceId = "deviceId";
|
|
6811
6773
|
B.CtsIsParticipant = "isParticipant";
|
|
6812
6774
|
B.EnableAvatar = "enableTalkingAvatar";
|
|
6813
|
-
var
|
|
6775
|
+
var Ca;
|
|
6814
6776
|
function Ce() {
|
|
6815
|
-
if (
|
|
6777
|
+
if (Ca)
|
|
6816
6778
|
return gr;
|
|
6817
|
-
|
|
6779
|
+
Ca = 1, Object.defineProperty(gr, "__esModule", { value: !0 }), gr.ConnectionFactoryBase = void 0;
|
|
6818
6780
|
const t = T(), e = A(), r = R(), i = Se;
|
|
6819
6781
|
let p = class {
|
|
6820
6782
|
static getHostSuffix(s) {
|
|
@@ -6871,11 +6833,11 @@ function Ce() {
|
|
|
6871
6833
|
};
|
|
6872
6834
|
return gr.ConnectionFactoryBase = p, gr;
|
|
6873
6835
|
}
|
|
6874
|
-
var
|
|
6875
|
-
function
|
|
6876
|
-
if (
|
|
6836
|
+
var ya;
|
|
6837
|
+
function bf() {
|
|
6838
|
+
if (ya)
|
|
6877
6839
|
return fr;
|
|
6878
|
-
|
|
6840
|
+
ya = 1, Object.defineProperty(fr, "__esModule", { value: !0 }), fr.DialogConnectionFactory = void 0;
|
|
6879
6841
|
const t = V(), e = T(), r = R(), i = Ce(), p = T(), a = W, s = Se;
|
|
6880
6842
|
class n extends i.ConnectionFactoryBase {
|
|
6881
6843
|
create(c, u, d) {
|
|
@@ -6895,12 +6857,12 @@ function kf() {
|
|
|
6895
6857
|
}
|
|
6896
6858
|
return fr.DialogConnectionFactory = n, n.ApiKey = "api", n.BaseUrl = "convai.speech", fr;
|
|
6897
6859
|
}
|
|
6898
|
-
var
|
|
6899
|
-
function
|
|
6900
|
-
if (
|
|
6860
|
+
var Ra;
|
|
6861
|
+
function Mf() {
|
|
6862
|
+
if (Ra)
|
|
6901
6863
|
return vr;
|
|
6902
|
-
|
|
6903
|
-
const t =
|
|
6864
|
+
Ra = 1, Object.defineProperty(vr, "__esModule", { value: !0 }), vr.DialogServiceConnector = void 0;
|
|
6865
|
+
const t = bf(), e = T(), r = he, i = A(), p = b, a = R(), s = bi;
|
|
6904
6866
|
let n = class extends a.Recognizer {
|
|
6905
6867
|
/**
|
|
6906
6868
|
* Initializes an instance of the DialogServiceConnector.
|
|
@@ -7048,7 +7010,7 @@ function Nf() {
|
|
|
7048
7010
|
var Di = {};
|
|
7049
7011
|
Object.defineProperty(Di, "__esModule", { value: !0 });
|
|
7050
7012
|
Di.ActivityReceivedEventArgs = void 0;
|
|
7051
|
-
class
|
|
7013
|
+
class Of {
|
|
7052
7014
|
/**
|
|
7053
7015
|
* Creates and initializes an instance of this class.
|
|
7054
7016
|
* @constructor
|
|
@@ -7071,7 +7033,7 @@ class zf {
|
|
|
7071
7033
|
return this.privAudioStream;
|
|
7072
7034
|
}
|
|
7073
7035
|
}
|
|
7074
|
-
Di.ActivityReceivedEventArgs =
|
|
7036
|
+
Di.ActivityReceivedEventArgs = Of;
|
|
7075
7037
|
var ki = {}, Ni = {};
|
|
7076
7038
|
Object.defineProperty(Ni, "__esModule", { value: !0 });
|
|
7077
7039
|
Ni.TurnStatusResponsePayload = void 0;
|
|
@@ -7104,15 +7066,15 @@ class Ys {
|
|
|
7104
7066
|
Ni.TurnStatusResponsePayload = Ys;
|
|
7105
7067
|
Object.defineProperty(ki, "__esModule", { value: !0 });
|
|
7106
7068
|
ki.TurnStatusReceivedEventArgs = void 0;
|
|
7107
|
-
const
|
|
7108
|
-
class
|
|
7069
|
+
const Df = Ni;
|
|
7070
|
+
class kf {
|
|
7109
7071
|
/**
|
|
7110
7072
|
* Creates and initializes an instance of this class.
|
|
7111
7073
|
* @constructor
|
|
7112
7074
|
* @param {string} turnStatus - The JSON-encoded turn status message.
|
|
7113
7075
|
*/
|
|
7114
7076
|
constructor(e) {
|
|
7115
|
-
this.privTurnStatus =
|
|
7077
|
+
this.privTurnStatus = Df.TurnStatusResponsePayload.fromJSON(e);
|
|
7116
7078
|
}
|
|
7117
7079
|
/**
|
|
7118
7080
|
* Gets the interaction identifier associated with this turn status event.
|
|
@@ -7145,7 +7107,7 @@ class Lf {
|
|
|
7145
7107
|
return this.privTurnStatus.statusCode;
|
|
7146
7108
|
}
|
|
7147
7109
|
}
|
|
7148
|
-
ki.TurnStatusReceivedEventArgs =
|
|
7110
|
+
ki.TurnStatusReceivedEventArgs = kf;
|
|
7149
7111
|
var au = {};
|
|
7150
7112
|
(function(t) {
|
|
7151
7113
|
Object.defineProperty(t, "__esModule", { value: !0 }), t.ServicePropertyChannel = void 0, function(e) {
|
|
@@ -7158,11 +7120,11 @@ var cu = {};
|
|
|
7158
7120
|
e[e.Masked = 0] = "Masked", e[e.Removed = 1] = "Removed", e[e.Raw = 2] = "Raw";
|
|
7159
7121
|
}(t.ProfanityOption || (t.ProfanityOption = {}));
|
|
7160
7122
|
})(cu);
|
|
7161
|
-
var mr = {},
|
|
7162
|
-
function
|
|
7163
|
-
if (
|
|
7123
|
+
var mr = {}, Pa;
|
|
7124
|
+
function Nf() {
|
|
7125
|
+
if (Pa)
|
|
7164
7126
|
return mr;
|
|
7165
|
-
|
|
7127
|
+
Pa = 1, Object.defineProperty(mr, "__esModule", { value: !0 }), mr.BaseAudioPlayer = void 0;
|
|
7166
7128
|
const t = J, e = R(), r = Ke;
|
|
7167
7129
|
let i = class {
|
|
7168
7130
|
/**
|
|
@@ -7254,7 +7216,7 @@ function Bf() {
|
|
|
7254
7216
|
var zi = {};
|
|
7255
7217
|
Object.defineProperty(zi, "__esModule", { value: !0 });
|
|
7256
7218
|
zi.ConnectionMessageEventArgs = void 0;
|
|
7257
|
-
class
|
|
7219
|
+
class zf {
|
|
7258
7220
|
constructor(e) {
|
|
7259
7221
|
this.privConnectionMessage = e;
|
|
7260
7222
|
}
|
|
@@ -7271,11 +7233,11 @@ class qf {
|
|
|
7271
7233
|
return "Message: " + this.privConnectionMessage.toString();
|
|
7272
7234
|
}
|
|
7273
7235
|
}
|
|
7274
|
-
zi.ConnectionMessageEventArgs =
|
|
7236
|
+
zi.ConnectionMessageEventArgs = zf;
|
|
7275
7237
|
var ji = {};
|
|
7276
7238
|
Object.defineProperty(ji, "__esModule", { value: !0 });
|
|
7277
7239
|
ji.VoiceProfile = void 0;
|
|
7278
|
-
class
|
|
7240
|
+
class jf {
|
|
7279
7241
|
/**
|
|
7280
7242
|
* Creates and initializes an instance of this class.
|
|
7281
7243
|
* @constructor
|
|
@@ -7306,12 +7268,12 @@ class Ff {
|
|
|
7306
7268
|
return this.privProfileType;
|
|
7307
7269
|
}
|
|
7308
7270
|
}
|
|
7309
|
-
ji.VoiceProfile =
|
|
7310
|
-
var Ye = {},
|
|
7311
|
-
function
|
|
7312
|
-
if (
|
|
7271
|
+
ji.VoiceProfile = jf;
|
|
7272
|
+
var Ye = {}, Ea;
|
|
7273
|
+
function Lf() {
|
|
7274
|
+
if (Ea)
|
|
7313
7275
|
return Ye;
|
|
7314
|
-
|
|
7276
|
+
Ea = 1, Object.defineProperty(Ye, "__esModule", { value: !0 }), Ye.VoiceProfileEnrollmentCancellationDetails = Ye.VoiceProfileEnrollmentResult = void 0;
|
|
7315
7277
|
const t = T(), e = R();
|
|
7316
7278
|
let r = class qs {
|
|
7317
7279
|
constructor(a, s, n) {
|
|
@@ -7398,11 +7360,11 @@ function xf() {
|
|
|
7398
7360
|
}
|
|
7399
7361
|
return Ye.VoiceProfileEnrollmentCancellationDetails = i, Ye;
|
|
7400
7362
|
}
|
|
7401
|
-
var et = {},
|
|
7402
|
-
function
|
|
7403
|
-
if (
|
|
7363
|
+
var et = {}, Ia;
|
|
7364
|
+
function Bf() {
|
|
7365
|
+
if (Ia)
|
|
7404
7366
|
return et;
|
|
7405
|
-
|
|
7367
|
+
Ia = 1, Object.defineProperty(et, "__esModule", { value: !0 }), et.VoiceProfileCancellationDetails = et.VoiceProfileResult = void 0;
|
|
7406
7368
|
const t = T(), e = b, r = R();
|
|
7407
7369
|
let i = class {
|
|
7408
7370
|
constructor(s, n) {
|
|
@@ -7439,11 +7401,11 @@ function Uf() {
|
|
|
7439
7401
|
}
|
|
7440
7402
|
return et.VoiceProfileCancellationDetails = p, et;
|
|
7441
7403
|
}
|
|
7442
|
-
var Sr = {},
|
|
7443
|
-
function
|
|
7444
|
-
if (
|
|
7404
|
+
var Sr = {}, Ta;
|
|
7405
|
+
function qf() {
|
|
7406
|
+
if (Ta)
|
|
7445
7407
|
return Sr;
|
|
7446
|
-
|
|
7408
|
+
Ta = 1, Object.defineProperty(Sr, "__esModule", { value: !0 }), Sr.VoiceProfilePhraseResult = void 0;
|
|
7447
7409
|
const t = b, e = R();
|
|
7448
7410
|
let r = class extends e.VoiceProfileResult {
|
|
7449
7411
|
constructor(p, a, s, n) {
|
|
@@ -7458,11 +7420,11 @@ function Wf() {
|
|
|
7458
7420
|
};
|
|
7459
7421
|
return Sr.VoiceProfilePhraseResult = r, Sr;
|
|
7460
7422
|
}
|
|
7461
|
-
var Cr = {},
|
|
7462
|
-
function
|
|
7463
|
-
if (
|
|
7423
|
+
var Cr = {}, Aa;
|
|
7424
|
+
function Ff() {
|
|
7425
|
+
if (Aa)
|
|
7464
7426
|
return Cr;
|
|
7465
|
-
|
|
7427
|
+
Aa = 1, Object.defineProperty(Cr, "__esModule", { value: !0 }), Cr.VoiceProfileClient = void 0;
|
|
7466
7428
|
const t = T(), e = Up(), r = b, i = R();
|
|
7467
7429
|
let p = class extends i.Recognizer {
|
|
7468
7430
|
/**
|
|
@@ -7619,11 +7581,11 @@ function Vf() {
|
|
|
7619
7581
|
};
|
|
7620
7582
|
return Cr.VoiceProfileClient = p, Cr;
|
|
7621
7583
|
}
|
|
7622
|
-
var yr = {},
|
|
7623
|
-
function
|
|
7624
|
-
if (
|
|
7584
|
+
var yr = {}, wa;
|
|
7585
|
+
function xf() {
|
|
7586
|
+
if (wa)
|
|
7625
7587
|
return yr;
|
|
7626
|
-
|
|
7588
|
+
wa = 1, Object.defineProperty(yr, "__esModule", { value: !0 }), yr.SpeakerRecognizer = void 0;
|
|
7627
7589
|
const t = T(), e = b, r = R();
|
|
7628
7590
|
let i = class extends r.Recognizer {
|
|
7629
7591
|
/**
|
|
@@ -7711,11 +7673,11 @@ function Hf() {
|
|
|
7711
7673
|
};
|
|
7712
7674
|
return yr.SpeakerRecognizer = i, yr;
|
|
7713
7675
|
}
|
|
7714
|
-
var Rr = {},
|
|
7715
|
-
function
|
|
7716
|
-
if (
|
|
7676
|
+
var Rr = {}, _a;
|
|
7677
|
+
function Uf() {
|
|
7678
|
+
if (_a)
|
|
7717
7679
|
return Rr;
|
|
7718
|
-
|
|
7680
|
+
_a = 1, Object.defineProperty(Rr, "__esModule", { value: !0 }), Rr.SpeakerIdentificationModel = void 0;
|
|
7719
7681
|
const t = b, e = R();
|
|
7720
7682
|
let r = class pu {
|
|
7721
7683
|
constructor(p) {
|
|
@@ -7742,11 +7704,11 @@ function $f() {
|
|
|
7742
7704
|
};
|
|
7743
7705
|
return Rr.SpeakerIdentificationModel = r, Rr;
|
|
7744
7706
|
}
|
|
7745
|
-
var Pr = {},
|
|
7746
|
-
function
|
|
7747
|
-
if (
|
|
7707
|
+
var Pr = {}, ba;
|
|
7708
|
+
function Wf() {
|
|
7709
|
+
if (ba)
|
|
7748
7710
|
return Pr;
|
|
7749
|
-
|
|
7711
|
+
ba = 1, Object.defineProperty(Pr, "__esModule", { value: !0 }), Pr.SpeakerVerificationModel = void 0;
|
|
7750
7712
|
const t = b, e = R();
|
|
7751
7713
|
let r = class uu {
|
|
7752
7714
|
constructor(p) {
|
|
@@ -7775,11 +7737,11 @@ var Er = {}, eo = {};
|
|
|
7775
7737
|
e[e.AtStart = 0] = "AtStart", e[e.Continuous = 1] = "Continuous";
|
|
7776
7738
|
}(t.LanguageIdMode || (t.LanguageIdMode = {}));
|
|
7777
7739
|
})(eo);
|
|
7778
|
-
var
|
|
7779
|
-
function
|
|
7780
|
-
if (
|
|
7740
|
+
var Ma;
|
|
7741
|
+
function Vf() {
|
|
7742
|
+
if (Ma)
|
|
7781
7743
|
return Er;
|
|
7782
|
-
|
|
7744
|
+
Ma = 1, Object.defineProperty(Er, "__esModule", { value: !0 }), Er.AutoDetectSourceLanguageConfig = void 0;
|
|
7783
7745
|
const t = T(), e = b, r = R(), i = eo;
|
|
7784
7746
|
let p = class Hn {
|
|
7785
7747
|
constructor() {
|
|
@@ -7856,10 +7818,10 @@ function Jf() {
|
|
|
7856
7818
|
var Li = {};
|
|
7857
7819
|
Object.defineProperty(Li, "__esModule", { value: !0 });
|
|
7858
7820
|
Li.AutoDetectSourceLanguageResult = void 0;
|
|
7859
|
-
const
|
|
7821
|
+
const Oa = b;
|
|
7860
7822
|
class Jn {
|
|
7861
7823
|
constructor(e, r) {
|
|
7862
|
-
|
|
7824
|
+
Oa.Contracts.throwIfNullOrUndefined(e, "language"), Oa.Contracts.throwIfNullOrUndefined(r, "languageDetectionConfidence"), this.privLanguage = e, this.privLanguageDetectionConfidence = r;
|
|
7863
7825
|
}
|
|
7864
7826
|
/**
|
|
7865
7827
|
* Creates an instance of AutoDetectSourceLanguageResult object from a SpeechRecognitionResult instance.
|
|
@@ -7894,10 +7856,10 @@ Li.AutoDetectSourceLanguageResult = Jn;
|
|
|
7894
7856
|
var Bi = {};
|
|
7895
7857
|
Object.defineProperty(Bi, "__esModule", { value: !0 });
|
|
7896
7858
|
Bi.SourceLanguageConfig = void 0;
|
|
7897
|
-
const
|
|
7859
|
+
const Hf = b;
|
|
7898
7860
|
class to {
|
|
7899
7861
|
constructor(e, r) {
|
|
7900
|
-
|
|
7862
|
+
Hf.Contracts.throwIfNullOrUndefined(e, "language"), this.privLanguage = e, this.privEndpointId = r;
|
|
7901
7863
|
}
|
|
7902
7864
|
/**
|
|
7903
7865
|
* @member SourceLanguageConfig.fromLanguage
|
|
@@ -7920,9 +7882,9 @@ class to {
|
|
|
7920
7882
|
}
|
|
7921
7883
|
}
|
|
7922
7884
|
Bi.SourceLanguageConfig = to;
|
|
7923
|
-
var ws = {},
|
|
7924
|
-
function
|
|
7925
|
-
return
|
|
7885
|
+
var ws = {}, Da;
|
|
7886
|
+
function $f() {
|
|
7887
|
+
return Da || (Da = 1, function(t) {
|
|
7926
7888
|
Object.defineProperty(t, "__esModule", { value: !0 }), t.SpeakerRecognitionCancellationDetails = t.SpeakerRecognitionResult = t.SpeakerRecognitionResultType = void 0;
|
|
7927
7889
|
const e = T(), r = R();
|
|
7928
7890
|
var i;
|
|
@@ -7973,11 +7935,11 @@ function Qf() {
|
|
|
7973
7935
|
t.SpeakerRecognitionCancellationDetails = a;
|
|
7974
7936
|
}(ws)), ws;
|
|
7975
7937
|
}
|
|
7976
|
-
var _s = {}, tt = {},
|
|
7938
|
+
var _s = {}, tt = {}, ka;
|
|
7977
7939
|
function du() {
|
|
7978
|
-
if (
|
|
7940
|
+
if (ka)
|
|
7979
7941
|
return tt;
|
|
7980
|
-
|
|
7942
|
+
ka = 1, Object.defineProperty(tt, "__esModule", { value: !0 }), tt.ConversationImpl = tt.Conversation = void 0;
|
|
7981
7943
|
const t = T(), e = A(), r = b, i = R();
|
|
7982
7944
|
let p = class {
|
|
7983
7945
|
constructor() {
|
|
@@ -8579,7 +8541,7 @@ function du() {
|
|
|
8579
8541
|
var qi = {};
|
|
8580
8542
|
Object.defineProperty(qi, "__esModule", { value: !0 });
|
|
8581
8543
|
qi.ConversationCommon = void 0;
|
|
8582
|
-
class
|
|
8544
|
+
class Kf {
|
|
8583
8545
|
constructor(e) {
|
|
8584
8546
|
this.privAudioConfig = e;
|
|
8585
8547
|
}
|
|
@@ -8602,12 +8564,12 @@ class Xf {
|
|
|
8602
8564
|
r(e);
|
|
8603
8565
|
}
|
|
8604
8566
|
}
|
|
8605
|
-
qi.ConversationCommon =
|
|
8606
|
-
var Ir = {},
|
|
8607
|
-
function
|
|
8608
|
-
if (
|
|
8567
|
+
qi.ConversationCommon = Kf;
|
|
8568
|
+
var Ir = {}, Na;
|
|
8569
|
+
function Jf() {
|
|
8570
|
+
if (Na)
|
|
8609
8571
|
return Ir;
|
|
8610
|
-
|
|
8572
|
+
Na = 1, Object.defineProperty(Ir, "__esModule", { value: !0 }), Ir.ConversationExpirationEventArgs = void 0;
|
|
8611
8573
|
const t = R();
|
|
8612
8574
|
let e = class extends t.SessionEventArgs {
|
|
8613
8575
|
constructor(i, p) {
|
|
@@ -8620,11 +8582,11 @@ function Zf() {
|
|
|
8620
8582
|
};
|
|
8621
8583
|
return Ir.ConversationExpirationEventArgs = e, Ir;
|
|
8622
8584
|
}
|
|
8623
|
-
var Tr = {},
|
|
8624
|
-
function
|
|
8625
|
-
if (
|
|
8585
|
+
var Tr = {}, za;
|
|
8586
|
+
function Gf() {
|
|
8587
|
+
if (za)
|
|
8626
8588
|
return Tr;
|
|
8627
|
-
|
|
8589
|
+
za = 1, Object.defineProperty(Tr, "__esModule", { value: !0 }), Tr.ConversationParticipantsChangedEventArgs = void 0;
|
|
8628
8590
|
const t = R();
|
|
8629
8591
|
let e = class extends t.SessionEventArgs {
|
|
8630
8592
|
constructor(i, p, a) {
|
|
@@ -8639,21 +8601,21 @@ function Yf() {
|
|
|
8639
8601
|
};
|
|
8640
8602
|
return Tr.ConversationParticipantsChangedEventArgs = e, Tr;
|
|
8641
8603
|
}
|
|
8642
|
-
var Ar = {},
|
|
8643
|
-
function
|
|
8644
|
-
if (
|
|
8604
|
+
var Ar = {}, ja;
|
|
8605
|
+
function Qf() {
|
|
8606
|
+
if (ja)
|
|
8645
8607
|
return Ar;
|
|
8646
|
-
|
|
8608
|
+
ja = 1, Object.defineProperty(Ar, "__esModule", { value: !0 }), Ar.ConversationTranslationCanceledEventArgs = void 0;
|
|
8647
8609
|
const t = zn();
|
|
8648
8610
|
let e = class extends t.CancellationEventArgsBase {
|
|
8649
8611
|
};
|
|
8650
8612
|
return Ar.ConversationTranslationCanceledEventArgs = e, Ar;
|
|
8651
8613
|
}
|
|
8652
|
-
var wr = {},
|
|
8653
|
-
function
|
|
8654
|
-
if (
|
|
8614
|
+
var wr = {}, La;
|
|
8615
|
+
function Xf() {
|
|
8616
|
+
if (La)
|
|
8655
8617
|
return wr;
|
|
8656
|
-
|
|
8618
|
+
La = 1, Object.defineProperty(wr, "__esModule", { value: !0 }), wr.ConversationTranslationEventArgs = void 0;
|
|
8657
8619
|
const t = R();
|
|
8658
8620
|
let e = class extends t.RecognitionEventArgs {
|
|
8659
8621
|
/**
|
|
@@ -8676,11 +8638,11 @@ function tg() {
|
|
|
8676
8638
|
};
|
|
8677
8639
|
return wr.ConversationTranslationEventArgs = e, wr;
|
|
8678
8640
|
}
|
|
8679
|
-
var _r = {},
|
|
8680
|
-
function
|
|
8681
|
-
if (
|
|
8641
|
+
var _r = {}, Ba;
|
|
8642
|
+
function Zf() {
|
|
8643
|
+
if (Ba)
|
|
8682
8644
|
return _r;
|
|
8683
|
-
|
|
8645
|
+
Ba = 1, Object.defineProperty(_r, "__esModule", { value: !0 }), _r.ConversationTranslationResult = void 0;
|
|
8684
8646
|
const t = Kp();
|
|
8685
8647
|
let e = class extends t.TranslationRecognitionResult {
|
|
8686
8648
|
constructor(i, p, a, s, n, o, c, u, d, h, l) {
|
|
@@ -8704,7 +8666,7 @@ function rg() {
|
|
|
8704
8666
|
var bs = {}, br = {}, Ln = {};
|
|
8705
8667
|
Object.defineProperty(Ln, "__esModule", { value: !0 });
|
|
8706
8668
|
Ln.StringUtils = void 0;
|
|
8707
|
-
class
|
|
8669
|
+
class Yf {
|
|
8708
8670
|
/**
|
|
8709
8671
|
* Formats a string by replacing the named {keys} in the string with the values contained in the replacement dictionary.
|
|
8710
8672
|
* @param format The format string that contains the parts to replace surrounded by {}. For example: "wss://{region}.cts.speech.microsoft.com".
|
|
@@ -8741,12 +8703,12 @@ class ng {
|
|
|
8741
8703
|
return i;
|
|
8742
8704
|
}
|
|
8743
8705
|
}
|
|
8744
|
-
Ln.StringUtils =
|
|
8745
|
-
var
|
|
8746
|
-
function
|
|
8747
|
-
if (
|
|
8706
|
+
Ln.StringUtils = Yf;
|
|
8707
|
+
var qa;
|
|
8708
|
+
function eg() {
|
|
8709
|
+
if (qa)
|
|
8748
8710
|
return br;
|
|
8749
|
-
|
|
8711
|
+
qa = 1, Object.defineProperty(br, "__esModule", { value: !0 }), br.ConversationTranslatorConnectionFactory = void 0;
|
|
8750
8712
|
const t = V(), e = Ln, r = b, i = R(), p = W, a = Se, s = Ce(), n = T();
|
|
8751
8713
|
let o = class hu extends s.ConnectionFactoryBase {
|
|
8752
8714
|
constructor(u) {
|
|
@@ -8780,11 +8742,11 @@ function ig() {
|
|
|
8780
8742
|
};
|
|
8781
8743
|
return br.ConversationTranslatorConnectionFactory = o, o.CTS_VIRT_MIC_PATH = "/speech/recognition/dynamicaudio", br;
|
|
8782
8744
|
}
|
|
8783
|
-
var
|
|
8784
|
-
function
|
|
8785
|
-
return
|
|
8745
|
+
var Fa;
|
|
8746
|
+
function tg() {
|
|
8747
|
+
return Fa || (Fa = 1, function(t) {
|
|
8786
8748
|
Object.defineProperty(t, "__esModule", { value: !0 }), t.ConversationTranslator = t.SpeechState = void 0;
|
|
8787
|
-
const e = T(), r =
|
|
8749
|
+
const e = T(), r = eg(), i = A(), p = b, a = R(), s = du(), n = ro();
|
|
8788
8750
|
var o;
|
|
8789
8751
|
(function(d) {
|
|
8790
8752
|
d[d.Inactive = 0] = "Inactive", d[d.Connecting = 1] = "Connecting", d[d.Connected = 2] = "Connected";
|
|
@@ -9013,11 +8975,11 @@ function sg() {
|
|
|
9013
8975
|
t.ConversationTranslator = u;
|
|
9014
8976
|
}(bs)), bs;
|
|
9015
8977
|
}
|
|
9016
|
-
var Mr = {},
|
|
9017
|
-
function
|
|
9018
|
-
if (
|
|
8978
|
+
var Mr = {}, xa;
|
|
8979
|
+
function rg() {
|
|
8980
|
+
if (xa)
|
|
9019
8981
|
return Mr;
|
|
9020
|
-
|
|
8982
|
+
xa = 1, Object.defineProperty(Mr, "__esModule", { value: !0 }), Mr.ConversationTranscriber = void 0;
|
|
9021
8983
|
const t = T(), e = he, r = A(), i = b, p = R();
|
|
9022
8984
|
let a = class lu extends p.Recognizer {
|
|
9023
8985
|
/**
|
|
@@ -9153,11 +9115,11 @@ function og() {
|
|
|
9153
9115
|
};
|
|
9154
9116
|
return Mr.ConversationTranscriber = a, Mr;
|
|
9155
9117
|
}
|
|
9156
|
-
var rt = {},
|
|
9157
|
-
function
|
|
9158
|
-
if (
|
|
9118
|
+
var rt = {}, Ua;
|
|
9119
|
+
function ng() {
|
|
9120
|
+
if (Ua)
|
|
9159
9121
|
return rt;
|
|
9160
|
-
|
|
9122
|
+
Ua = 1, Object.defineProperty(rt, "__esModule", { value: !0 }), rt.Participant = rt.User = void 0;
|
|
9161
9123
|
const t = R();
|
|
9162
9124
|
class e {
|
|
9163
9125
|
constructor(p) {
|
|
@@ -9211,11 +9173,11 @@ var vu = {};
|
|
|
9211
9173
|
e[e.JoinedConversation = 0] = "JoinedConversation", e[e.LeftConversation = 1] = "LeftConversation", e[e.Updated = 2] = "Updated";
|
|
9212
9174
|
}(t.ParticipantChangedReason || (t.ParticipantChangedReason = {}));
|
|
9213
9175
|
})(vu);
|
|
9214
|
-
var nt = {},
|
|
9215
|
-
function
|
|
9216
|
-
if (
|
|
9176
|
+
var nt = {}, Wa;
|
|
9177
|
+
function ig() {
|
|
9178
|
+
if (Wa)
|
|
9217
9179
|
return nt;
|
|
9218
|
-
|
|
9180
|
+
Wa = 1, Object.defineProperty(nt, "__esModule", { value: !0 }), nt.MeetingImpl = nt.Meeting = void 0;
|
|
9219
9181
|
const t = T(), e = A(), r = b, i = R();
|
|
9220
9182
|
let p = class {
|
|
9221
9183
|
constructor() {
|
|
@@ -9800,21 +9762,21 @@ function cg() {
|
|
|
9800
9762
|
}
|
|
9801
9763
|
return nt.MeetingImpl = a, nt;
|
|
9802
9764
|
}
|
|
9803
|
-
var Or = {},
|
|
9804
|
-
function
|
|
9805
|
-
if (
|
|
9765
|
+
var Or = {}, Va;
|
|
9766
|
+
function sg() {
|
|
9767
|
+
if (Va)
|
|
9806
9768
|
return Or;
|
|
9807
|
-
|
|
9769
|
+
Va = 1, Object.defineProperty(Or, "__esModule", { value: !0 }), Or.MeetingTranscriptionCanceledEventArgs = void 0;
|
|
9808
9770
|
const t = zn();
|
|
9809
9771
|
class e extends t.CancellationEventArgsBase {
|
|
9810
9772
|
}
|
|
9811
9773
|
return Or.MeetingTranscriptionCanceledEventArgs = e, Or;
|
|
9812
9774
|
}
|
|
9813
|
-
var Dr = {},
|
|
9814
|
-
function
|
|
9815
|
-
if (
|
|
9775
|
+
var Dr = {}, Ha;
|
|
9776
|
+
function og() {
|
|
9777
|
+
if (Ha)
|
|
9816
9778
|
return Dr;
|
|
9817
|
-
|
|
9779
|
+
Ha = 1, Object.defineProperty(Dr, "__esModule", { value: !0 }), Dr.MeetingTranscriber = void 0;
|
|
9818
9780
|
const t = T(), e = A(), r = b, i = R(), p = ro();
|
|
9819
9781
|
let a = class {
|
|
9820
9782
|
/**
|
|
@@ -9941,11 +9903,11 @@ function ug() {
|
|
|
9941
9903
|
};
|
|
9942
9904
|
return Dr.MeetingTranscriber = a, Dr;
|
|
9943
9905
|
}
|
|
9944
|
-
var kr = {},
|
|
9945
|
-
function
|
|
9946
|
-
if (
|
|
9906
|
+
var kr = {}, $a;
|
|
9907
|
+
function ag() {
|
|
9908
|
+
if ($a)
|
|
9947
9909
|
return kr;
|
|
9948
|
-
|
|
9910
|
+
$a = 1, Object.defineProperty(kr, "__esModule", { value: !0 }), kr.ConversationTranscriptionResult = void 0;
|
|
9949
9911
|
const t = R();
|
|
9950
9912
|
let e = class extends t.RecognitionResult {
|
|
9951
9913
|
/**
|
|
@@ -9980,9 +9942,9 @@ function dg() {
|
|
|
9980
9942
|
};
|
|
9981
9943
|
return kr.ConversationTranscriptionResult = e, kr;
|
|
9982
9944
|
}
|
|
9983
|
-
var
|
|
9945
|
+
var Ka;
|
|
9984
9946
|
function ro() {
|
|
9985
|
-
return
|
|
9947
|
+
return Ka || (Ka = 1, function(t) {
|
|
9986
9948
|
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
9949
|
var e = du();
|
|
9988
9950
|
Object.defineProperty(t, "Conversation", { enumerable: !0, get: function() {
|
|
@@ -9994,35 +9956,35 @@ function ro() {
|
|
|
9994
9956
|
Object.defineProperty(t, "ConversationCommon", { enumerable: !0, get: function() {
|
|
9995
9957
|
return r.ConversationCommon;
|
|
9996
9958
|
} });
|
|
9997
|
-
var i =
|
|
9959
|
+
var i = Jf();
|
|
9998
9960
|
Object.defineProperty(t, "ConversationExpirationEventArgs", { enumerable: !0, get: function() {
|
|
9999
9961
|
return i.ConversationExpirationEventArgs;
|
|
10000
9962
|
} });
|
|
10001
|
-
var p =
|
|
9963
|
+
var p = Gf();
|
|
10002
9964
|
Object.defineProperty(t, "ConversationParticipantsChangedEventArgs", { enumerable: !0, get: function() {
|
|
10003
9965
|
return p.ConversationParticipantsChangedEventArgs;
|
|
10004
9966
|
} });
|
|
10005
|
-
var a =
|
|
9967
|
+
var a = Qf();
|
|
10006
9968
|
Object.defineProperty(t, "ConversationTranslationCanceledEventArgs", { enumerable: !0, get: function() {
|
|
10007
9969
|
return a.ConversationTranslationCanceledEventArgs;
|
|
10008
9970
|
} });
|
|
10009
|
-
var s =
|
|
9971
|
+
var s = Xf();
|
|
10010
9972
|
Object.defineProperty(t, "ConversationTranslationEventArgs", { enumerable: !0, get: function() {
|
|
10011
9973
|
return s.ConversationTranslationEventArgs;
|
|
10012
9974
|
} });
|
|
10013
|
-
var n =
|
|
9975
|
+
var n = Zf();
|
|
10014
9976
|
Object.defineProperty(t, "ConversationTranslationResult", { enumerable: !0, get: function() {
|
|
10015
9977
|
return n.ConversationTranslationResult;
|
|
10016
9978
|
} });
|
|
10017
|
-
var o =
|
|
9979
|
+
var o = tg();
|
|
10018
9980
|
Object.defineProperty(t, "ConversationTranslator", { enumerable: !0, get: function() {
|
|
10019
9981
|
return o.ConversationTranslator;
|
|
10020
9982
|
} });
|
|
10021
|
-
var c =
|
|
9983
|
+
var c = rg();
|
|
10022
9984
|
Object.defineProperty(t, "ConversationTranscriber", { enumerable: !0, get: function() {
|
|
10023
9985
|
return c.ConversationTranscriber;
|
|
10024
9986
|
} });
|
|
10025
|
-
var u =
|
|
9987
|
+
var u = ng();
|
|
10026
9988
|
Object.defineProperty(t, "Participant", { enumerable: !0, get: function() {
|
|
10027
9989
|
return u.Participant;
|
|
10028
9990
|
} }), Object.defineProperty(t, "User", { enumerable: !0, get: function() {
|
|
@@ -10032,31 +9994,31 @@ function ro() {
|
|
|
10032
9994
|
Object.defineProperty(t, "ParticipantChangedReason", { enumerable: !0, get: function() {
|
|
10033
9995
|
return d.ParticipantChangedReason;
|
|
10034
9996
|
} });
|
|
10035
|
-
var h =
|
|
9997
|
+
var h = ig();
|
|
10036
9998
|
Object.defineProperty(t, "Meeting", { enumerable: !0, get: function() {
|
|
10037
9999
|
return h.Meeting;
|
|
10038
10000
|
} }), Object.defineProperty(t, "MeetingImpl", { enumerable: !0, get: function() {
|
|
10039
10001
|
return h.MeetingImpl;
|
|
10040
10002
|
} });
|
|
10041
|
-
var l =
|
|
10003
|
+
var l = sg();
|
|
10042
10004
|
Object.defineProperty(t, "MeetingTranscriptionCanceledEventArgs", { enumerable: !0, get: function() {
|
|
10043
10005
|
return l.MeetingTranscriptionCanceledEventArgs;
|
|
10044
10006
|
} });
|
|
10045
|
-
var f =
|
|
10007
|
+
var f = og();
|
|
10046
10008
|
Object.defineProperty(t, "MeetingTranscriber", { enumerable: !0, get: function() {
|
|
10047
10009
|
return f.MeetingTranscriber;
|
|
10048
10010
|
} });
|
|
10049
|
-
var g =
|
|
10011
|
+
var g = ag();
|
|
10050
10012
|
Object.defineProperty(t, "ConversationTranscriptionResult", { enumerable: !0, get: function() {
|
|
10051
10013
|
return g.ConversationTranscriptionResult;
|
|
10052
10014
|
} });
|
|
10053
10015
|
}(_s)), _s;
|
|
10054
10016
|
}
|
|
10055
|
-
var it = {},
|
|
10017
|
+
var it = {}, Ja;
|
|
10056
10018
|
function no() {
|
|
10057
|
-
if (
|
|
10019
|
+
if (Ja)
|
|
10058
10020
|
return it;
|
|
10059
|
-
|
|
10021
|
+
Ja = 1, Object.defineProperty(it, "__esModule", { value: !0 }), it.SynthesisRequest = it.Synthesizer = void 0;
|
|
10060
10022
|
const t = T(), e = A(), r = b, i = R();
|
|
10061
10023
|
let p = class fu {
|
|
10062
10024
|
/**
|
|
@@ -10305,11 +10267,11 @@ function no() {
|
|
|
10305
10267
|
}
|
|
10306
10268
|
return it.SynthesisRequest = a, it;
|
|
10307
10269
|
}
|
|
10308
|
-
var Nr = {},
|
|
10309
|
-
function
|
|
10310
|
-
if (
|
|
10270
|
+
var Nr = {}, Ga;
|
|
10271
|
+
function cg() {
|
|
10272
|
+
if (Ga)
|
|
10311
10273
|
return Nr;
|
|
10312
|
-
|
|
10274
|
+
Ga = 1, Object.defineProperty(Nr, "__esModule", { value: !0 }), Nr.SpeechSynthesizer = void 0;
|
|
10313
10275
|
const t = T(), e = A(), r = Nn, i = Je, p = K, a = b, s = R(), n = no();
|
|
10314
10276
|
let o = class gu extends s.Synthesizer {
|
|
10315
10277
|
/**
|
|
@@ -10447,7 +10409,7 @@ function hg() {
|
|
|
10447
10409
|
var Fi = {};
|
|
10448
10410
|
Object.defineProperty(Fi, "__esModule", { value: !0 });
|
|
10449
10411
|
Fi.SynthesisResult = void 0;
|
|
10450
|
-
class
|
|
10412
|
+
class pg {
|
|
10451
10413
|
/**
|
|
10452
10414
|
* Creates and initializes an instance of this class.
|
|
10453
10415
|
* @constructor
|
|
@@ -10500,12 +10462,12 @@ class lg {
|
|
|
10500
10462
|
return this.privProperties;
|
|
10501
10463
|
}
|
|
10502
10464
|
}
|
|
10503
|
-
Fi.SynthesisResult =
|
|
10504
|
-
var zr = {},
|
|
10505
|
-
function
|
|
10506
|
-
if (
|
|
10465
|
+
Fi.SynthesisResult = pg;
|
|
10466
|
+
var zr = {}, Qa;
|
|
10467
|
+
function ug() {
|
|
10468
|
+
if (Qa)
|
|
10507
10469
|
return zr;
|
|
10508
|
-
|
|
10470
|
+
Qa = 1, Object.defineProperty(zr, "__esModule", { value: !0 }), zr.SpeechSynthesisResult = void 0;
|
|
10509
10471
|
const t = R();
|
|
10510
10472
|
let e = class extends t.SynthesisResult {
|
|
10511
10473
|
/**
|
|
@@ -10547,7 +10509,7 @@ function vg() {
|
|
|
10547
10509
|
var xi = {};
|
|
10548
10510
|
Object.defineProperty(xi, "__esModule", { value: !0 });
|
|
10549
10511
|
xi.SpeechSynthesisEventArgs = void 0;
|
|
10550
|
-
class
|
|
10512
|
+
class dg {
|
|
10551
10513
|
/**
|
|
10552
10514
|
* Creates and initializes an instance of this class.
|
|
10553
10515
|
* @constructor
|
|
@@ -10567,11 +10529,11 @@ class fg {
|
|
|
10567
10529
|
return this.privResult;
|
|
10568
10530
|
}
|
|
10569
10531
|
}
|
|
10570
|
-
xi.SpeechSynthesisEventArgs =
|
|
10532
|
+
xi.SpeechSynthesisEventArgs = dg;
|
|
10571
10533
|
var Ui = {};
|
|
10572
10534
|
Object.defineProperty(Ui, "__esModule", { value: !0 });
|
|
10573
10535
|
Ui.SpeechSynthesisWordBoundaryEventArgs = void 0;
|
|
10574
|
-
class
|
|
10536
|
+
class hg {
|
|
10575
10537
|
/**
|
|
10576
10538
|
* Creates and initializes an instance of this class.
|
|
10577
10539
|
* @constructor
|
|
@@ -10646,11 +10608,11 @@ class gg {
|
|
|
10646
10608
|
return this.privBoundaryType;
|
|
10647
10609
|
}
|
|
10648
10610
|
}
|
|
10649
|
-
Ui.SpeechSynthesisWordBoundaryEventArgs =
|
|
10611
|
+
Ui.SpeechSynthesisWordBoundaryEventArgs = hg;
|
|
10650
10612
|
var Wi = {};
|
|
10651
10613
|
Object.defineProperty(Wi, "__esModule", { value: !0 });
|
|
10652
10614
|
Wi.SpeechSynthesisBookmarkEventArgs = void 0;
|
|
10653
|
-
class
|
|
10615
|
+
class lg {
|
|
10654
10616
|
/**
|
|
10655
10617
|
* Creates and initializes an instance of this class.
|
|
10656
10618
|
* @constructor
|
|
@@ -10681,11 +10643,11 @@ class mg {
|
|
|
10681
10643
|
return this.privText;
|
|
10682
10644
|
}
|
|
10683
10645
|
}
|
|
10684
|
-
Wi.SpeechSynthesisBookmarkEventArgs =
|
|
10646
|
+
Wi.SpeechSynthesisBookmarkEventArgs = lg;
|
|
10685
10647
|
var Vi = {};
|
|
10686
10648
|
Object.defineProperty(Vi, "__esModule", { value: !0 });
|
|
10687
10649
|
Vi.SpeechSynthesisVisemeEventArgs = void 0;
|
|
10688
|
-
class
|
|
10650
|
+
class vg {
|
|
10689
10651
|
/**
|
|
10690
10652
|
* Creates and initializes an instance of this class.
|
|
10691
10653
|
* @constructor
|
|
@@ -10727,18 +10689,18 @@ class Sg {
|
|
|
10727
10689
|
return this.privAnimation;
|
|
10728
10690
|
}
|
|
10729
10691
|
}
|
|
10730
|
-
Vi.SpeechSynthesisVisemeEventArgs =
|
|
10692
|
+
Vi.SpeechSynthesisVisemeEventArgs = vg;
|
|
10731
10693
|
var mu = {};
|
|
10732
10694
|
(function(t) {
|
|
10733
10695
|
Object.defineProperty(t, "__esModule", { value: !0 }), t.SpeechSynthesisBoundaryType = void 0, function(e) {
|
|
10734
10696
|
e.Word = "WordBoundary", e.Punctuation = "PunctuationBoundary", e.Sentence = "SentenceBoundary";
|
|
10735
10697
|
}(t.SpeechSynthesisBoundaryType || (t.SpeechSynthesisBoundaryType = {}));
|
|
10736
10698
|
})(mu);
|
|
10737
|
-
var jr = {},
|
|
10738
|
-
function
|
|
10739
|
-
if (
|
|
10699
|
+
var jr = {}, Xa;
|
|
10700
|
+
function fg() {
|
|
10701
|
+
if (Xa)
|
|
10740
10702
|
return jr;
|
|
10741
|
-
|
|
10703
|
+
Xa = 1, Object.defineProperty(jr, "__esModule", { value: !0 }), jr.SynthesisVoicesResult = void 0;
|
|
10742
10704
|
const t = R();
|
|
10743
10705
|
let e = class extends t.SynthesisResult {
|
|
10744
10706
|
/**
|
|
@@ -10850,7 +10812,7 @@ var Su = {};
|
|
|
10850
10812
|
var Hi = {};
|
|
10851
10813
|
Object.defineProperty(Hi, "__esModule", { value: !0 });
|
|
10852
10814
|
Hi.SpeakerAudioDestination = void 0;
|
|
10853
|
-
const st = A(),
|
|
10815
|
+
const st = A(), gg = K, pe = Ke, mg = 60 * 30, Za = {
|
|
10854
10816
|
[pe.AudioFormatTag.PCM]: "audio/wav",
|
|
10855
10817
|
[pe.AudioFormatTag.MuLaw]: "audio/x-wav",
|
|
10856
10818
|
[pe.AudioFormatTag.MP3]: "audio/mpeg",
|
|
@@ -10861,7 +10823,7 @@ const st = A(), yg = K, pe = Ke, Rg = 60 * 30, Ya = {
|
|
|
10861
10823
|
[pe.AudioFormatTag.AMR_WB]: "audio/amr-wb",
|
|
10862
10824
|
[pe.AudioFormatTag.G722]: "audio/G722"
|
|
10863
10825
|
};
|
|
10864
|
-
class
|
|
10826
|
+
class Sg {
|
|
10865
10827
|
constructor(e) {
|
|
10866
10828
|
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
10829
|
}
|
|
@@ -10889,7 +10851,7 @@ class Pg {
|
|
|
10889
10851
|
let i = new ArrayBuffer(this.privBytesReceived);
|
|
10890
10852
|
this.privAudioOutputStream.read(i).then(() => {
|
|
10891
10853
|
i = this.privFormat.addHeader(i);
|
|
10892
|
-
const p = new Blob([i], { type:
|
|
10854
|
+
const p = new Blob([i], { type: Za[this.privFormat.formatTag] });
|
|
10893
10855
|
this.privAudio.src = window.URL.createObjectURL(p), this.notifyPlayback().then(() => {
|
|
10894
10856
|
e && e();
|
|
10895
10857
|
}, (a) => {
|
|
@@ -10905,9 +10867,9 @@ class Pg {
|
|
|
10905
10867
|
set format(e) {
|
|
10906
10868
|
if (typeof AudioContext < "u" || typeof window < "u" && typeof window.webkitAudioContext < "u") {
|
|
10907
10869
|
this.privFormat = e;
|
|
10908
|
-
const r =
|
|
10870
|
+
const r = Za[this.privFormat.formatTag];
|
|
10909
10871
|
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 =
|
|
10872
|
+
this.privMediaSourceOpened = !0, this.privMediaSource.duration = mg, this.privSourceBuffer = this.privMediaSource.addSourceBuffer(r), this.privSourceBuffer.onupdate = () => {
|
|
10911
10873
|
this.updateSourceBuffer().catch((i) => {
|
|
10912
10874
|
st.Events.instance.onEvent(new st.BackgroundEvent(i));
|
|
10913
10875
|
});
|
|
@@ -10920,7 +10882,7 @@ class Pg {
|
|
|
10920
10882
|
};
|
|
10921
10883
|
}, this.updateSourceBuffer().catch((i) => {
|
|
10922
10884
|
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
|
|
10885
|
+
})) : (console.warn(`Format ${pe.AudioFormatTag[this.privFormat.formatTag]} could not be played by MSE, streaming playback is not enabled.`), this.privAudioOutputStream = new gg.PullAudioOutputStreamImpl(), this.privAudioOutputStream.format = this.privFormat, this.privAudio = new Audio());
|
|
10924
10886
|
}
|
|
10925
10887
|
}
|
|
10926
10888
|
get volume() {
|
|
@@ -10984,22 +10946,22 @@ class Pg {
|
|
|
10984
10946
|
return this.privSourceBuffer !== void 0 && !this.privSourceBuffer.updating;
|
|
10985
10947
|
}
|
|
10986
10948
|
}
|
|
10987
|
-
Hi.SpeakerAudioDestination =
|
|
10988
|
-
var Lr = {},
|
|
10989
|
-
function
|
|
10990
|
-
if (
|
|
10949
|
+
Hi.SpeakerAudioDestination = Sg;
|
|
10950
|
+
var Lr = {}, Ya;
|
|
10951
|
+
function Cg() {
|
|
10952
|
+
if (Ya)
|
|
10991
10953
|
return Lr;
|
|
10992
|
-
|
|
10954
|
+
Ya = 1, Object.defineProperty(Lr, "__esModule", { value: !0 }), Lr.ConversationTranscriptionCanceledEventArgs = void 0;
|
|
10993
10955
|
const t = zn();
|
|
10994
10956
|
let e = class extends t.CancellationEventArgsBase {
|
|
10995
10957
|
};
|
|
10996
10958
|
return Lr.ConversationTranscriptionCanceledEventArgs = e, Lr;
|
|
10997
10959
|
}
|
|
10998
|
-
var Br = {},
|
|
10999
|
-
function
|
|
11000
|
-
if (
|
|
10960
|
+
var Br = {}, ec;
|
|
10961
|
+
function yg() {
|
|
10962
|
+
if (ec)
|
|
11001
10963
|
return Br;
|
|
11002
|
-
|
|
10964
|
+
ec = 1, Object.defineProperty(Br, "__esModule", { value: !0 }), Br.MeetingTranscriptionCanceledEventArgs = void 0;
|
|
11003
10965
|
const t = zn();
|
|
11004
10966
|
let e = class extends t.CancellationEventArgsBase {
|
|
11005
10967
|
};
|
|
@@ -11017,11 +10979,11 @@ var yu = {};
|
|
|
11017
10979
|
e[e.Phoneme = 1] = "Phoneme", e[e.Word = 2] = "Word", e[e.FullText = 3] = "FullText";
|
|
11018
10980
|
}(t.PronunciationAssessmentGranularity || (t.PronunciationAssessmentGranularity = {}));
|
|
11019
10981
|
})(yu);
|
|
11020
|
-
var qr = {},
|
|
11021
|
-
function
|
|
11022
|
-
if (
|
|
10982
|
+
var qr = {}, tc;
|
|
10983
|
+
function Rg() {
|
|
10984
|
+
if (tc)
|
|
11023
10985
|
return qr;
|
|
11024
|
-
|
|
10986
|
+
tc = 1, Object.defineProperty(qr, "__esModule", { value: !0 }), qr.PronunciationAssessmentConfig = void 0;
|
|
11025
10987
|
const t = b, e = R();
|
|
11026
10988
|
let r = class Ru {
|
|
11027
10989
|
/**
|
|
@@ -11167,11 +11129,11 @@ function Tg() {
|
|
|
11167
11129
|
};
|
|
11168
11130
|
return qr.PronunciationAssessmentConfig = r, qr;
|
|
11169
11131
|
}
|
|
11170
|
-
var ot = {},
|
|
11171
|
-
function
|
|
11172
|
-
if (
|
|
11132
|
+
var ot = {}, rc;
|
|
11133
|
+
function Pg() {
|
|
11134
|
+
if (rc)
|
|
11173
11135
|
return ot;
|
|
11174
|
-
|
|
11136
|
+
rc = 1, Object.defineProperty(ot, "__esModule", { value: !0 }), ot.PronunciationAssessmentResult = ot.ContentAssessmentResult = void 0;
|
|
11175
11137
|
const t = b, e = R();
|
|
11176
11138
|
class r {
|
|
11177
11139
|
/**
|
|
@@ -11319,11 +11281,11 @@ function Ag() {
|
|
|
11319
11281
|
};
|
|
11320
11282
|
return ot.PronunciationAssessmentResult = i, ot;
|
|
11321
11283
|
}
|
|
11322
|
-
var Fr = {},
|
|
11323
|
-
function
|
|
11324
|
-
if (
|
|
11284
|
+
var Fr = {}, nc;
|
|
11285
|
+
function Eg() {
|
|
11286
|
+
if (nc)
|
|
11325
11287
|
return Fr;
|
|
11326
|
-
|
|
11288
|
+
nc = 1, Object.defineProperty(Fr, "__esModule", { value: !0 }), Fr.AvatarConfig = void 0;
|
|
11327
11289
|
const t = b, e = R();
|
|
11328
11290
|
let r = class {
|
|
11329
11291
|
/**
|
|
@@ -11448,11 +11410,11 @@ var Eu = {};
|
|
|
11448
11410
|
}
|
|
11449
11411
|
t.AvatarEventArgs = e;
|
|
11450
11412
|
})(Eu);
|
|
11451
|
-
var xr = {}, Ur = {},
|
|
11413
|
+
var xr = {}, Ur = {}, ic;
|
|
11452
11414
|
function Iu() {
|
|
11453
|
-
if (
|
|
11415
|
+
if (ic)
|
|
11454
11416
|
return Ur;
|
|
11455
|
-
|
|
11417
|
+
ic = 1, Object.defineProperty(Ur, "__esModule", { value: !0 }), Ur.SpeechSynthesisConnectionFactory = void 0;
|
|
11456
11418
|
const t = V(), e = R(), r = Ce(), i = T(), p = W, a = Se;
|
|
11457
11419
|
let s = class {
|
|
11458
11420
|
constructor() {
|
|
@@ -11472,11 +11434,11 @@ function Iu() {
|
|
|
11472
11434
|
};
|
|
11473
11435
|
return Ur.SpeechSynthesisConnectionFactory = s, Ur;
|
|
11474
11436
|
}
|
|
11475
|
-
var
|
|
11476
|
-
function
|
|
11477
|
-
if (
|
|
11437
|
+
var sc;
|
|
11438
|
+
function Ig() {
|
|
11439
|
+
if (sc)
|
|
11478
11440
|
return xr;
|
|
11479
|
-
|
|
11441
|
+
sc = 1, Object.defineProperty(xr, "__esModule", { value: !0 }), xr.AvatarSynthesizer = void 0;
|
|
11480
11442
|
const t = Iu(), e = T(), r = A(), i = Je, p = R(), a = b, s = no();
|
|
11481
11443
|
let n = class extends p.Synthesizer {
|
|
11482
11444
|
/**
|
|
@@ -11605,13 +11567,13 @@ function _g() {
|
|
|
11605
11567
|
var _t = {};
|
|
11606
11568
|
Object.defineProperty(_t, "__esModule", { value: !0 });
|
|
11607
11569
|
_t.AvatarVideoFormat = _t.Coordinate = void 0;
|
|
11608
|
-
class
|
|
11570
|
+
class Tg {
|
|
11609
11571
|
constructor(e, r) {
|
|
11610
11572
|
this.x = e, this.y = r;
|
|
11611
11573
|
}
|
|
11612
11574
|
}
|
|
11613
|
-
_t.Coordinate =
|
|
11614
|
-
class
|
|
11575
|
+
_t.Coordinate = Tg;
|
|
11576
|
+
class Ag {
|
|
11615
11577
|
/**
|
|
11616
11578
|
* Creates and initializes an instance of this class.
|
|
11617
11579
|
* @constructor
|
|
@@ -11633,12 +11595,12 @@ class Mg {
|
|
|
11633
11595
|
};
|
|
11634
11596
|
}
|
|
11635
11597
|
}
|
|
11636
|
-
_t.AvatarVideoFormat =
|
|
11637
|
-
var Wr = {},
|
|
11638
|
-
function
|
|
11639
|
-
if (
|
|
11598
|
+
_t.AvatarVideoFormat = Ag;
|
|
11599
|
+
var Wr = {}, oc;
|
|
11600
|
+
function wg() {
|
|
11601
|
+
if (oc)
|
|
11640
11602
|
return Wr;
|
|
11641
|
-
|
|
11603
|
+
oc = 1, Object.defineProperty(Wr, "__esModule", { value: !0 }), Wr.AvatarWebRTCConnectionResult = void 0;
|
|
11642
11604
|
const t = R();
|
|
11643
11605
|
let e = class extends t.SynthesisResult {
|
|
11644
11606
|
/**
|
|
@@ -11666,11 +11628,11 @@ function Og() {
|
|
|
11666
11628
|
};
|
|
11667
11629
|
return Wr.AvatarWebRTCConnectionResult = e, Wr;
|
|
11668
11630
|
}
|
|
11669
|
-
var Vr = {},
|
|
11670
|
-
function
|
|
11671
|
-
if (
|
|
11631
|
+
var Vr = {}, ac;
|
|
11632
|
+
function _g() {
|
|
11633
|
+
if (ac)
|
|
11672
11634
|
return Vr;
|
|
11673
|
-
|
|
11635
|
+
ac = 1, Object.defineProperty(Vr, "__esModule", { value: !0 }), Vr.Diagnostics = void 0;
|
|
11674
11636
|
const t = V(), e = A();
|
|
11675
11637
|
let r = class {
|
|
11676
11638
|
static SetLoggingLevel(p) {
|
|
@@ -11694,9 +11656,9 @@ function Dg() {
|
|
|
11694
11656
|
};
|
|
11695
11657
|
return Vr.Diagnostics = r, r.privListener = void 0, Vr;
|
|
11696
11658
|
}
|
|
11697
|
-
var
|
|
11659
|
+
var cc;
|
|
11698
11660
|
function R() {
|
|
11699
|
-
return
|
|
11661
|
+
return cc || (cc = 1, function(t) {
|
|
11700
11662
|
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
11663
|
var e = Up();
|
|
11702
11664
|
Object.defineProperty(t, "AudioConfig", { enumerable: !0, get: function() {
|
|
@@ -11744,7 +11706,7 @@ function R() {
|
|
|
11744
11706
|
Object.defineProperty(t, "SessionEventArgs", { enumerable: !0, get: function() {
|
|
11745
11707
|
return c.SessionEventArgs;
|
|
11746
11708
|
} });
|
|
11747
|
-
var u =
|
|
11709
|
+
var u = rf();
|
|
11748
11710
|
Object.defineProperty(t, "RecognitionEventArgs", { enumerable: !0, get: function() {
|
|
11749
11711
|
return u.RecognitionEventArgs;
|
|
11750
11712
|
} });
|
|
@@ -11752,7 +11714,7 @@ function R() {
|
|
|
11752
11714
|
Object.defineProperty(t, "OutputFormat", { enumerable: !0, get: function() {
|
|
11753
11715
|
return d.OutputFormat;
|
|
11754
11716
|
} });
|
|
11755
|
-
var h =
|
|
11717
|
+
var h = nf();
|
|
11756
11718
|
Object.defineProperty(t, "IntentRecognitionEventArgs", { enumerable: !0, get: function() {
|
|
11757
11719
|
return h.IntentRecognitionEventArgs;
|
|
11758
11720
|
} });
|
|
@@ -11760,11 +11722,11 @@ function R() {
|
|
|
11760
11722
|
Object.defineProperty(t, "RecognitionResult", { enumerable: !0, get: function() {
|
|
11761
11723
|
return l.RecognitionResult;
|
|
11762
11724
|
} });
|
|
11763
|
-
var f =
|
|
11725
|
+
var f = of();
|
|
11764
11726
|
Object.defineProperty(t, "SpeechRecognitionResult", { enumerable: !0, get: function() {
|
|
11765
11727
|
return f.SpeechRecognitionResult;
|
|
11766
11728
|
} });
|
|
11767
|
-
var g =
|
|
11729
|
+
var g = af();
|
|
11768
11730
|
Object.defineProperty(t, "IntentRecognitionResult", { enumerable: !0, get: function() {
|
|
11769
11731
|
return g.IntentRecognitionResult;
|
|
11770
11732
|
} });
|
|
@@ -11772,7 +11734,7 @@ function R() {
|
|
|
11772
11734
|
Object.defineProperty(t, "LanguageUnderstandingModel", { enumerable: !0, get: function() {
|
|
11773
11735
|
return S.LanguageUnderstandingModel;
|
|
11774
11736
|
} });
|
|
11775
|
-
var v =
|
|
11737
|
+
var v = cf();
|
|
11776
11738
|
Object.defineProperty(t, "SpeechRecognitionEventArgs", { enumerable: !0, get: function() {
|
|
11777
11739
|
return v.SpeechRecognitionEventArgs;
|
|
11778
11740
|
} }), Object.defineProperty(t, "ConversationTranscriptionEventArgs", { enumerable: !0, get: function() {
|
|
@@ -11780,15 +11742,15 @@ function R() {
|
|
|
11780
11742
|
} }), Object.defineProperty(t, "MeetingTranscriptionEventArgs", { enumerable: !0, get: function() {
|
|
11781
11743
|
return v.MeetingTranscriptionEventArgs;
|
|
11782
11744
|
} });
|
|
11783
|
-
var m =
|
|
11745
|
+
var m = pf();
|
|
11784
11746
|
Object.defineProperty(t, "SpeechRecognitionCanceledEventArgs", { enumerable: !0, get: function() {
|
|
11785
11747
|
return m.SpeechRecognitionCanceledEventArgs;
|
|
11786
11748
|
} });
|
|
11787
|
-
var C =
|
|
11749
|
+
var C = uf();
|
|
11788
11750
|
Object.defineProperty(t, "TranslationRecognitionEventArgs", { enumerable: !0, get: function() {
|
|
11789
11751
|
return C.TranslationRecognitionEventArgs;
|
|
11790
11752
|
} });
|
|
11791
|
-
var y =
|
|
11753
|
+
var y = df();
|
|
11792
11754
|
Object.defineProperty(t, "TranslationSynthesisEventArgs", { enumerable: !0, get: function() {
|
|
11793
11755
|
return y.TranslationSynthesisEventArgs;
|
|
11794
11756
|
} });
|
|
@@ -11804,13 +11766,13 @@ function R() {
|
|
|
11804
11766
|
Object.defineProperty(t, "ResultReason", { enumerable: !0, get: function() {
|
|
11805
11767
|
return w.ResultReason;
|
|
11806
11768
|
} });
|
|
11807
|
-
var P =
|
|
11769
|
+
var P = lf();
|
|
11808
11770
|
Object.defineProperty(t, "SpeechConfig", { enumerable: !0, get: function() {
|
|
11809
11771
|
return P.SpeechConfig;
|
|
11810
11772
|
} }), Object.defineProperty(t, "SpeechConfigImpl", { enumerable: !0, get: function() {
|
|
11811
11773
|
return P.SpeechConfigImpl;
|
|
11812
11774
|
} });
|
|
11813
|
-
var L =
|
|
11775
|
+
var L = vf();
|
|
11814
11776
|
Object.defineProperty(t, "SpeechTranslationConfig", { enumerable: !0, get: function() {
|
|
11815
11777
|
return L.SpeechTranslationConfig;
|
|
11816
11778
|
} }), Object.defineProperty(t, "SpeechTranslationConfigImpl", { enumerable: !0, get: function() {
|
|
@@ -11824,15 +11786,15 @@ function R() {
|
|
|
11824
11786
|
Object.defineProperty(t, "PropertyId", { enumerable: !0, get: function() {
|
|
11825
11787
|
return le.PropertyId;
|
|
11826
11788
|
} });
|
|
11827
|
-
var Ct =
|
|
11789
|
+
var Ct = ff();
|
|
11828
11790
|
Object.defineProperty(t, "Recognizer", { enumerable: !0, get: function() {
|
|
11829
11791
|
return Ct.Recognizer;
|
|
11830
11792
|
} });
|
|
11831
|
-
var ne =
|
|
11793
|
+
var ne = gf();
|
|
11832
11794
|
Object.defineProperty(t, "SpeechRecognizer", { enumerable: !0, get: function() {
|
|
11833
11795
|
return ne.SpeechRecognizer;
|
|
11834
11796
|
} });
|
|
11835
|
-
var Co =
|
|
11797
|
+
var Co = mf();
|
|
11836
11798
|
Object.defineProperty(t, "IntentRecognizer", { enumerable: !0, get: function() {
|
|
11837
11799
|
return Co.IntentRecognizer;
|
|
11838
11800
|
} });
|
|
@@ -11840,11 +11802,11 @@ function R() {
|
|
|
11840
11802
|
Object.defineProperty(t, "VoiceProfileType", { enumerable: !0, get: function() {
|
|
11841
11803
|
return Zu.VoiceProfileType;
|
|
11842
11804
|
} });
|
|
11843
|
-
var Yu =
|
|
11805
|
+
var Yu = Sf();
|
|
11844
11806
|
Object.defineProperty(t, "TranslationRecognizer", { enumerable: !0, get: function() {
|
|
11845
11807
|
return Yu.TranslationRecognizer;
|
|
11846
11808
|
} });
|
|
11847
|
-
var ed =
|
|
11809
|
+
var ed = Cf();
|
|
11848
11810
|
Object.defineProperty(t, "Translations", { enumerable: !0, get: function() {
|
|
11849
11811
|
return ed.Translations;
|
|
11850
11812
|
} });
|
|
@@ -11852,7 +11814,7 @@ function R() {
|
|
|
11852
11814
|
Object.defineProperty(t, "NoMatchReason", { enumerable: !0, get: function() {
|
|
11853
11815
|
return td.NoMatchReason;
|
|
11854
11816
|
} });
|
|
11855
|
-
var rd =
|
|
11817
|
+
var rd = yf();
|
|
11856
11818
|
Object.defineProperty(t, "NoMatchDetails", { enumerable: !0, get: function() {
|
|
11857
11819
|
return rd.NoMatchDetails;
|
|
11858
11820
|
} });
|
|
@@ -11860,7 +11822,7 @@ function R() {
|
|
|
11860
11822
|
Object.defineProperty(t, "TranslationRecognitionCanceledEventArgs", { enumerable: !0, get: function() {
|
|
11861
11823
|
return nd.TranslationRecognitionCanceledEventArgs;
|
|
11862
11824
|
} });
|
|
11863
|
-
var id =
|
|
11825
|
+
var id = Pf();
|
|
11864
11826
|
Object.defineProperty(t, "IntentRecognitionCanceledEventArgs", { enumerable: !0, get: function() {
|
|
11865
11827
|
return id.IntentRecognitionCanceledEventArgs;
|
|
11866
11828
|
} });
|
|
@@ -11868,7 +11830,7 @@ function R() {
|
|
|
11868
11830
|
Object.defineProperty(t, "CancellationDetailsBase", { enumerable: !0, get: function() {
|
|
11869
11831
|
return sd.CancellationDetailsBase;
|
|
11870
11832
|
} });
|
|
11871
|
-
var od =
|
|
11833
|
+
var od = If();
|
|
11872
11834
|
Object.defineProperty(t, "CancellationDetails", { enumerable: !0, get: function() {
|
|
11873
11835
|
return od.CancellationDetails;
|
|
11874
11836
|
} });
|
|
@@ -11876,11 +11838,11 @@ function R() {
|
|
|
11876
11838
|
Object.defineProperty(t, "CancellationErrorCode", { enumerable: !0, get: function() {
|
|
11877
11839
|
return ad.CancellationErrorCode;
|
|
11878
11840
|
} });
|
|
11879
|
-
var cd =
|
|
11841
|
+
var cd = Tf();
|
|
11880
11842
|
Object.defineProperty(t, "ConnectionEventArgs", { enumerable: !0, get: function() {
|
|
11881
11843
|
return cd.ConnectionEventArgs;
|
|
11882
11844
|
} });
|
|
11883
|
-
var pd =
|
|
11845
|
+
var pd = Af();
|
|
11884
11846
|
Object.defineProperty(t, "ServiceEventArgs", { enumerable: !0, get: function() {
|
|
11885
11847
|
return pd.ServiceEventArgs;
|
|
11886
11848
|
} });
|
|
@@ -11896,15 +11858,15 @@ function R() {
|
|
|
11896
11858
|
Object.defineProperty(t, "DialogServiceConfig", { enumerable: !0, get: function() {
|
|
11897
11859
|
return hd.DialogServiceConfig;
|
|
11898
11860
|
} });
|
|
11899
|
-
var ld =
|
|
11861
|
+
var ld = wf();
|
|
11900
11862
|
Object.defineProperty(t, "BotFrameworkConfig", { enumerable: !0, get: function() {
|
|
11901
11863
|
return ld.BotFrameworkConfig;
|
|
11902
11864
|
} });
|
|
11903
|
-
var vd =
|
|
11865
|
+
var vd = _f();
|
|
11904
11866
|
Object.defineProperty(t, "CustomCommandsConfig", { enumerable: !0, get: function() {
|
|
11905
11867
|
return vd.CustomCommandsConfig;
|
|
11906
11868
|
} });
|
|
11907
|
-
var fd =
|
|
11869
|
+
var fd = Mf();
|
|
11908
11870
|
Object.defineProperty(t, "DialogServiceConnector", { enumerable: !0, get: function() {
|
|
11909
11871
|
return fd.DialogServiceConnector;
|
|
11910
11872
|
} });
|
|
@@ -11924,7 +11886,7 @@ function R() {
|
|
|
11924
11886
|
Object.defineProperty(t, "ProfanityOption", { enumerable: !0, get: function() {
|
|
11925
11887
|
return Cd.ProfanityOption;
|
|
11926
11888
|
} });
|
|
11927
|
-
var yd =
|
|
11889
|
+
var yd = Nf();
|
|
11928
11890
|
Object.defineProperty(t, "BaseAudioPlayer", { enumerable: !0, get: function() {
|
|
11929
11891
|
return yd.BaseAudioPlayer;
|
|
11930
11892
|
} });
|
|
@@ -11940,39 +11902,39 @@ function R() {
|
|
|
11940
11902
|
Object.defineProperty(t, "VoiceProfile", { enumerable: !0, get: function() {
|
|
11941
11903
|
return Ed.VoiceProfile;
|
|
11942
11904
|
} });
|
|
11943
|
-
var yo =
|
|
11905
|
+
var yo = Lf();
|
|
11944
11906
|
Object.defineProperty(t, "VoiceProfileEnrollmentResult", { enumerable: !0, get: function() {
|
|
11945
11907
|
return yo.VoiceProfileEnrollmentResult;
|
|
11946
11908
|
} }), Object.defineProperty(t, "VoiceProfileEnrollmentCancellationDetails", { enumerable: !0, get: function() {
|
|
11947
11909
|
return yo.VoiceProfileEnrollmentCancellationDetails;
|
|
11948
11910
|
} });
|
|
11949
|
-
var Ro =
|
|
11911
|
+
var Ro = Bf();
|
|
11950
11912
|
Object.defineProperty(t, "VoiceProfileResult", { enumerable: !0, get: function() {
|
|
11951
11913
|
return Ro.VoiceProfileResult;
|
|
11952
11914
|
} }), Object.defineProperty(t, "VoiceProfileCancellationDetails", { enumerable: !0, get: function() {
|
|
11953
11915
|
return Ro.VoiceProfileCancellationDetails;
|
|
11954
11916
|
} });
|
|
11955
|
-
var Id =
|
|
11917
|
+
var Id = qf();
|
|
11956
11918
|
Object.defineProperty(t, "VoiceProfilePhraseResult", { enumerable: !0, get: function() {
|
|
11957
11919
|
return Id.VoiceProfilePhraseResult;
|
|
11958
11920
|
} });
|
|
11959
|
-
var Td =
|
|
11921
|
+
var Td = Ff();
|
|
11960
11922
|
Object.defineProperty(t, "VoiceProfileClient", { enumerable: !0, get: function() {
|
|
11961
11923
|
return Td.VoiceProfileClient;
|
|
11962
11924
|
} });
|
|
11963
|
-
var Ad =
|
|
11925
|
+
var Ad = xf();
|
|
11964
11926
|
Object.defineProperty(t, "SpeakerRecognizer", { enumerable: !0, get: function() {
|
|
11965
11927
|
return Ad.SpeakerRecognizer;
|
|
11966
11928
|
} });
|
|
11967
|
-
var wd =
|
|
11929
|
+
var wd = Uf();
|
|
11968
11930
|
Object.defineProperty(t, "SpeakerIdentificationModel", { enumerable: !0, get: function() {
|
|
11969
11931
|
return wd.SpeakerIdentificationModel;
|
|
11970
11932
|
} });
|
|
11971
|
-
var _d =
|
|
11933
|
+
var _d = Wf();
|
|
11972
11934
|
Object.defineProperty(t, "SpeakerVerificationModel", { enumerable: !0, get: function() {
|
|
11973
11935
|
return _d.SpeakerVerificationModel;
|
|
11974
11936
|
} });
|
|
11975
|
-
var bd =
|
|
11937
|
+
var bd = Vf();
|
|
11976
11938
|
Object.defineProperty(t, "AutoDetectSourceLanguageConfig", { enumerable: !0, get: function() {
|
|
11977
11939
|
return bd.AutoDetectSourceLanguageConfig;
|
|
11978
11940
|
} });
|
|
@@ -11984,7 +11946,7 @@ function R() {
|
|
|
11984
11946
|
Object.defineProperty(t, "SourceLanguageConfig", { enumerable: !0, get: function() {
|
|
11985
11947
|
return Od.SourceLanguageConfig;
|
|
11986
11948
|
} });
|
|
11987
|
-
var hs =
|
|
11949
|
+
var hs = $f();
|
|
11988
11950
|
Object.defineProperty(t, "SpeakerRecognitionResult", { enumerable: !0, get: function() {
|
|
11989
11951
|
return hs.SpeakerRecognitionResult;
|
|
11990
11952
|
} }), Object.defineProperty(t, "SpeakerRecognitionResultType", { enumerable: !0, get: function() {
|
|
@@ -12030,7 +11992,7 @@ function R() {
|
|
|
12030
11992
|
Object.defineProperty(t, "SpeechSynthesisOutputFormat", { enumerable: !0, get: function() {
|
|
12031
11993
|
return kd.SpeechSynthesisOutputFormat;
|
|
12032
11994
|
} });
|
|
12033
|
-
var Nd =
|
|
11995
|
+
var Nd = cg();
|
|
12034
11996
|
Object.defineProperty(t, "SpeechSynthesizer", { enumerable: !0, get: function() {
|
|
12035
11997
|
return Nd.SpeechSynthesizer;
|
|
12036
11998
|
} });
|
|
@@ -12038,7 +12000,7 @@ function R() {
|
|
|
12038
12000
|
Object.defineProperty(t, "SynthesisResult", { enumerable: !0, get: function() {
|
|
12039
12001
|
return zd.SynthesisResult;
|
|
12040
12002
|
} });
|
|
12041
|
-
var jd =
|
|
12003
|
+
var jd = ug();
|
|
12042
12004
|
Object.defineProperty(t, "SpeechSynthesisResult", { enumerable: !0, get: function() {
|
|
12043
12005
|
return jd.SpeechSynthesisResult;
|
|
12044
12006
|
} });
|
|
@@ -12062,7 +12024,7 @@ function R() {
|
|
|
12062
12024
|
Object.defineProperty(t, "SpeechSynthesisBoundaryType", { enumerable: !0, get: function() {
|
|
12063
12025
|
return xd.SpeechSynthesisBoundaryType;
|
|
12064
12026
|
} });
|
|
12065
|
-
var Ud =
|
|
12027
|
+
var Ud = fg();
|
|
12066
12028
|
Object.defineProperty(t, "SynthesisVoicesResult", { enumerable: !0, get: function() {
|
|
12067
12029
|
return Ud.SynthesisVoicesResult;
|
|
12068
12030
|
} });
|
|
@@ -12078,11 +12040,11 @@ function R() {
|
|
|
12078
12040
|
Object.defineProperty(t, "SpeakerAudioDestination", { enumerable: !0, get: function() {
|
|
12079
12041
|
return Wd.SpeakerAudioDestination;
|
|
12080
12042
|
} });
|
|
12081
|
-
var Vd =
|
|
12043
|
+
var Vd = Cg();
|
|
12082
12044
|
Object.defineProperty(t, "ConversationTranscriptionCanceledEventArgs", { enumerable: !0, get: function() {
|
|
12083
12045
|
return Vd.ConversationTranscriptionCanceledEventArgs;
|
|
12084
12046
|
} });
|
|
12085
|
-
var Hd =
|
|
12047
|
+
var Hd = yg();
|
|
12086
12048
|
Object.defineProperty(t, "MeetingTranscriptionCanceledEventArgs", { enumerable: !0, get: function() {
|
|
12087
12049
|
return Hd.MeetingTranscriptionCanceledEventArgs;
|
|
12088
12050
|
} });
|
|
@@ -12094,11 +12056,11 @@ function R() {
|
|
|
12094
12056
|
Object.defineProperty(t, "PronunciationAssessmentGranularity", { enumerable: !0, get: function() {
|
|
12095
12057
|
return Kd.PronunciationAssessmentGranularity;
|
|
12096
12058
|
} });
|
|
12097
|
-
var Jd =
|
|
12059
|
+
var Jd = Rg();
|
|
12098
12060
|
Object.defineProperty(t, "PronunciationAssessmentConfig", { enumerable: !0, get: function() {
|
|
12099
12061
|
return Jd.PronunciationAssessmentConfig;
|
|
12100
12062
|
} });
|
|
12101
|
-
var Gd =
|
|
12063
|
+
var Gd = Pg();
|
|
12102
12064
|
Object.defineProperty(t, "PronunciationAssessmentResult", { enumerable: !0, get: function() {
|
|
12103
12065
|
return Gd.PronunciationAssessmentResult;
|
|
12104
12066
|
} });
|
|
@@ -12106,7 +12068,7 @@ function R() {
|
|
|
12106
12068
|
Object.defineProperty(t, "LanguageIdMode", { enumerable: !0, get: function() {
|
|
12107
12069
|
return Qd.LanguageIdMode;
|
|
12108
12070
|
} });
|
|
12109
|
-
var Xd =
|
|
12071
|
+
var Xd = Eg();
|
|
12110
12072
|
Object.defineProperty(t, "AvatarConfig", { enumerable: !0, get: function() {
|
|
12111
12073
|
return Xd.AvatarConfig;
|
|
12112
12074
|
} });
|
|
@@ -12114,7 +12076,7 @@ function R() {
|
|
|
12114
12076
|
Object.defineProperty(t, "AvatarEventArgs", { enumerable: !0, get: function() {
|
|
12115
12077
|
return Zd.AvatarEventArgs;
|
|
12116
12078
|
} });
|
|
12117
|
-
var Yd =
|
|
12079
|
+
var Yd = Ig();
|
|
12118
12080
|
Object.defineProperty(t, "AvatarSynthesizer", { enumerable: !0, get: function() {
|
|
12119
12081
|
return Yd.AvatarSynthesizer;
|
|
12120
12082
|
} });
|
|
@@ -12124,11 +12086,11 @@ function R() {
|
|
|
12124
12086
|
} }), Object.defineProperty(t, "Coordinate", { enumerable: !0, get: function() {
|
|
12125
12087
|
return Po.Coordinate;
|
|
12126
12088
|
} });
|
|
12127
|
-
var eh =
|
|
12089
|
+
var eh = wg();
|
|
12128
12090
|
Object.defineProperty(t, "AvatarWebRTCConnectionResult", { enumerable: !0, get: function() {
|
|
12129
12091
|
return eh.AvatarWebRTCConnectionResult;
|
|
12130
12092
|
} });
|
|
12131
|
-
var th =
|
|
12093
|
+
var th = _g();
|
|
12132
12094
|
Object.defineProperty(t, "Diagnostics", { enumerable: !0, get: function() {
|
|
12133
12095
|
return th.Diagnostics;
|
|
12134
12096
|
} });
|
|
@@ -12138,11 +12100,11 @@ function R() {
|
|
|
12138
12100
|
} });
|
|
12139
12101
|
}(Ts)), Ts;
|
|
12140
12102
|
}
|
|
12141
|
-
var
|
|
12142
|
-
function
|
|
12143
|
-
if (
|
|
12103
|
+
var pc;
|
|
12104
|
+
function bg() {
|
|
12105
|
+
if (pc)
|
|
12144
12106
|
return Wt;
|
|
12145
|
-
|
|
12107
|
+
pc = 1, Object.defineProperty(Wt, "__esModule", { value: !0 }), Wt.ProxyInfo = void 0;
|
|
12146
12108
|
const t = R();
|
|
12147
12109
|
let e = class Tu {
|
|
12148
12110
|
constructor(i, p, a, s) {
|
|
@@ -12170,8 +12132,8 @@ function kg() {
|
|
|
12170
12132
|
return Wt.ProxyInfo = e, Wt;
|
|
12171
12133
|
}
|
|
12172
12134
|
var Au = {};
|
|
12173
|
-
const
|
|
12174
|
-
var
|
|
12135
|
+
const Mg = /* @__PURE__ */ new Set(["json", "buffer", "string"]);
|
|
12136
|
+
var Og = (t) => (...e) => {
|
|
12175
12137
|
const r = /* @__PURE__ */ new Set();
|
|
12176
12138
|
let i, p, a, s = "";
|
|
12177
12139
|
return e.forEach((n) => {
|
|
@@ -12184,7 +12146,7 @@ var zg = (t) => (...e) => {
|
|
|
12184
12146
|
i = n;
|
|
12185
12147
|
else if (n.startsWith("http:") || n.startsWith("https:"))
|
|
12186
12148
|
s = n;
|
|
12187
|
-
else if (
|
|
12149
|
+
else if (Mg.has(n))
|
|
12188
12150
|
p = n;
|
|
12189
12151
|
else
|
|
12190
12152
|
throw new Error(`Unknown encoding, ${n}`);
|
|
@@ -12202,7 +12164,7 @@ var zg = (t) => (...e) => {
|
|
|
12202
12164
|
throw new Error(`Unknown type: ${typeof n}`);
|
|
12203
12165
|
}), i || (i = "GET"), r.size === 0 && r.add(200), t(r, i, p, a, s);
|
|
12204
12166
|
};
|
|
12205
|
-
const
|
|
12167
|
+
const Dg = Og;
|
|
12206
12168
|
class io extends Error {
|
|
12207
12169
|
constructor(e, ...r) {
|
|
12208
12170
|
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 +12174,7 @@ class io extends Error {
|
|
|
12212
12174
|
this.headers[a.toLowerCase()] = s;
|
|
12213
12175
|
}
|
|
12214
12176
|
}
|
|
12215
|
-
const
|
|
12177
|
+
const kg = (t, e, r, i, p) => async (a, s, n = {}) => {
|
|
12216
12178
|
a = p + (a || "");
|
|
12217
12179
|
let o = new URL(a);
|
|
12218
12180
|
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 +12190,13 @@ const Lg = (t, e, r, i, p) => async (a, s, n = {}) => {
|
|
|
12228
12190
|
throw new io(c);
|
|
12229
12191
|
return r === "json" ? c.json() : r === "buffer" ? c.arrayBuffer() : r === "string" ? c.text() : c;
|
|
12230
12192
|
};
|
|
12231
|
-
var
|
|
12193
|
+
var Ng = Dg(kg);
|
|
12232
12194
|
(function(t) {
|
|
12233
12195
|
var e = N && N.__importDefault || function(s) {
|
|
12234
12196
|
return s && s.__esModule ? s : { default: s };
|
|
12235
12197
|
};
|
|
12236
12198
|
Object.defineProperty(t, "__esModule", { value: !0 }), t.RestMessageAdapter = t.RestRequestType = void 0;
|
|
12237
|
-
const r = e(
|
|
12199
|
+
const r = e(Ng), i = A();
|
|
12238
12200
|
var p;
|
|
12239
12201
|
(function(s) {
|
|
12240
12202
|
s.Get = "GET", s.Post = "POST", s.Delete = "DELETE", s.File = "file";
|
|
@@ -12348,9 +12310,9 @@ We.privDefaultParams = {
|
|
|
12348
12310
|
subscriptionRegion: "Ocp-Apim-Subscription-Region",
|
|
12349
12311
|
token: "X-CapitoToken"
|
|
12350
12312
|
};
|
|
12351
|
-
var
|
|
12313
|
+
var uc;
|
|
12352
12314
|
function V() {
|
|
12353
|
-
return
|
|
12315
|
+
return uc || (uc = 1, function(t) {
|
|
12354
12316
|
var e = N && N.__createBinding || (Object.create ? function(i, p, a, s) {
|
|
12355
12317
|
s === void 0 && (s = a), Object.defineProperty(i, s, { enumerable: !0, get: function() {
|
|
12356
12318
|
return p[a];
|
|
@@ -12361,14 +12323,14 @@ function V() {
|
|
|
12361
12323
|
for (var a in i)
|
|
12362
12324
|
a !== "default" && !Object.prototype.hasOwnProperty.call(p, a) && e(p, i, a);
|
|
12363
12325
|
};
|
|
12364
|
-
Object.defineProperty(t, "__esModule", { value: !0 }), r(Ci, t), r(zp, t), r(
|
|
12326
|
+
Object.defineProperty(t, "__esModule", { value: !0 }), r(Ci, t), r(zp, t), r(Mv(), t), r(Ov(), t), r(yi, t), r(Ri, t), r(kn, t), r(Pi, t), r(bg(), t), r(Au, t), r(Bn, t);
|
|
12365
12327
|
}(Ps)), Ps;
|
|
12366
12328
|
}
|
|
12367
|
-
var
|
|
12368
|
-
function
|
|
12369
|
-
if (
|
|
12329
|
+
var dc;
|
|
12330
|
+
function zg() {
|
|
12331
|
+
if (dc)
|
|
12370
12332
|
return Ft;
|
|
12371
|
-
|
|
12333
|
+
dc = 1, Object.defineProperty(Ft, "__esModule", { value: !0 }), Ft.IntentConnectionFactory = void 0;
|
|
12372
12334
|
const t = V(), e = R(), r = Ce(), i = T(), p = W;
|
|
12373
12335
|
let a = class extends r.ConnectionFactoryBase {
|
|
12374
12336
|
create(n, o, c) {
|
|
@@ -12444,11 +12406,11 @@ function qg() {
|
|
|
12444
12406
|
};
|
|
12445
12407
|
return Ft.IntentConnectionFactory = a, Ft;
|
|
12446
12408
|
}
|
|
12447
|
-
var at = {},
|
|
12448
|
-
function
|
|
12449
|
-
if (
|
|
12409
|
+
var at = {}, hc;
|
|
12410
|
+
function jg() {
|
|
12411
|
+
if (hc)
|
|
12450
12412
|
return at;
|
|
12451
|
-
|
|
12413
|
+
hc = 1, Object.defineProperty(at, "__esModule", { value: !0 }), at.VoiceProfileConnectionFactory = at.SpeakerRecognitionConnectionFactory = void 0;
|
|
12452
12414
|
const t = V(), e = R(), r = Ce(), i = T(), p = W;
|
|
12453
12415
|
class a extends r.ConnectionFactoryBase {
|
|
12454
12416
|
create(c, u, d, h) {
|
|
@@ -12683,11 +12645,11 @@ var zu = {};
|
|
|
12683
12645
|
e.None = "None", e.Translate = "Translate";
|
|
12684
12646
|
}(t.NextAction || (t.NextAction = {}));
|
|
12685
12647
|
})(zu);
|
|
12686
|
-
var
|
|
12687
|
-
function
|
|
12688
|
-
if (
|
|
12648
|
+
var lc;
|
|
12649
|
+
function Lg() {
|
|
12650
|
+
if (lc)
|
|
12689
12651
|
return Hr;
|
|
12690
|
-
|
|
12652
|
+
lc = 1, Object.defineProperty(Hr, "__esModule", { value: !0 }), Hr.ServiceRecognizerBase = void 0;
|
|
12691
12653
|
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
12654
|
let g = class Pn {
|
|
12693
12655
|
constructor(v, m, C, y, E) {
|
|
@@ -13125,11 +13087,11 @@ function xg() {
|
|
|
13125
13087
|
};
|
|
13126
13088
|
return Hr.ServiceRecognizerBase = g, g.telemetryDataEnabled = !0, Hr;
|
|
13127
13089
|
}
|
|
13128
|
-
var $r = {},
|
|
13129
|
-
function
|
|
13130
|
-
if (
|
|
13090
|
+
var $r = {}, vc;
|
|
13091
|
+
function Bg() {
|
|
13092
|
+
if (vc)
|
|
13131
13093
|
return $r;
|
|
13132
|
-
|
|
13094
|
+
vc = 1, Object.defineProperty($r, "__esModule", { value: !0 }), $r.ConversationServiceRecognizer = void 0;
|
|
13133
13095
|
const t = R(), e = T();
|
|
13134
13096
|
let r = class extends e.ServiceRecognizerBase {
|
|
13135
13097
|
constructor(p, a, s, n, o) {
|
|
@@ -13182,9 +13144,9 @@ function Ug() {
|
|
|
13182
13144
|
};
|
|
13183
13145
|
return $r.ConversationServiceRecognizer = r, $r;
|
|
13184
13146
|
}
|
|
13185
|
-
var Os = {},
|
|
13186
|
-
function
|
|
13187
|
-
return
|
|
13147
|
+
var Os = {}, fc;
|
|
13148
|
+
function qg() {
|
|
13149
|
+
return fc || (fc = 1, function(t) {
|
|
13188
13150
|
Object.defineProperty(t, "__esModule", { value: !0 }), t.RecognizerConfig = t.SpeechResultFormat = void 0;
|
|
13189
13151
|
const e = R(), r = T(), i = he;
|
|
13190
13152
|
(function(a) {
|
|
@@ -13252,9 +13214,9 @@ Object.defineProperty(ju, "__esModule", { value: !0 });
|
|
|
13252
13214
|
var Ki = {};
|
|
13253
13215
|
Object.defineProperty(Ki, "__esModule", { value: !0 });
|
|
13254
13216
|
Ki.WebsocketMessageFormatter = void 0;
|
|
13255
|
-
const ve = A(),
|
|
13217
|
+
const ve = A(), gc = `\r
|
|
13256
13218
|
`;
|
|
13257
|
-
class
|
|
13219
|
+
class Fg {
|
|
13258
13220
|
toConnectionMessage(e) {
|
|
13259
13221
|
const r = new ve.Deferred();
|
|
13260
13222
|
try {
|
|
@@ -13290,7 +13252,7 @@ class Vg {
|
|
|
13290
13252
|
const r = new ve.Deferred();
|
|
13291
13253
|
try {
|
|
13292
13254
|
if (e.messageType === ve.MessageType.Text) {
|
|
13293
|
-
const i = `${this.makeHeaders(e)}${
|
|
13255
|
+
const i = `${this.makeHeaders(e)}${gc}${e.textBody ? e.textBody : ""}`;
|
|
13294
13256
|
r.resolve(new ve.RawWebsocketMessage(ve.MessageType.Text, i, e.id));
|
|
13295
13257
|
} else if (e.messageType === ve.MessageType.Binary) {
|
|
13296
13258
|
const i = this.makeHeaders(e), p = e.binaryBody, a = this.stringToArrayBuffer(i), s = new Int8Array(a), n = s.byteLength, o = new Int8Array(2 + n + (p ? p.byteLength : 0));
|
|
@@ -13310,7 +13272,7 @@ class Vg {
|
|
|
13310
13272
|
let r = "";
|
|
13311
13273
|
if (e.headers)
|
|
13312
13274
|
for (const i in e.headers)
|
|
13313
|
-
i && (r += `${i}: ${e.headers[i]}${
|
|
13275
|
+
i && (r += `${i}: ${e.headers[i]}${gc}`);
|
|
13314
13276
|
return r;
|
|
13315
13277
|
}
|
|
13316
13278
|
parseHeaders(e) {
|
|
@@ -13334,12 +13296,12 @@ class Vg {
|
|
|
13334
13296
|
return r;
|
|
13335
13297
|
}
|
|
13336
13298
|
}
|
|
13337
|
-
Ki.WebsocketMessageFormatter =
|
|
13338
|
-
var Kr = {},
|
|
13339
|
-
function
|
|
13340
|
-
if (
|
|
13299
|
+
Ki.WebsocketMessageFormatter = Fg;
|
|
13300
|
+
var Kr = {}, mc;
|
|
13301
|
+
function xg() {
|
|
13302
|
+
if (mc)
|
|
13341
13303
|
return Kr;
|
|
13342
|
-
|
|
13304
|
+
mc = 1, Object.defineProperty(Kr, "__esModule", { value: !0 }), Kr.SpeechConnectionFactory = void 0;
|
|
13343
13305
|
const t = V(), e = T(), r = R(), i = Ce(), p = T(), a = W, s = Se, n = he;
|
|
13344
13306
|
let o = class extends i.ConnectionFactoryBase {
|
|
13345
13307
|
constructor() {
|
|
@@ -13372,11 +13334,11 @@ function Hg() {
|
|
|
13372
13334
|
};
|
|
13373
13335
|
return Kr.SpeechConnectionFactory = o, Kr;
|
|
13374
13336
|
}
|
|
13375
|
-
var Jr = {},
|
|
13376
|
-
function
|
|
13377
|
-
if (
|
|
13337
|
+
var Jr = {}, Sc;
|
|
13338
|
+
function Ug() {
|
|
13339
|
+
if (Sc)
|
|
13378
13340
|
return Jr;
|
|
13379
|
-
|
|
13341
|
+
Sc = 1, Object.defineProperty(Jr, "__esModule", { value: !0 }), Jr.ConversationTranscriberConnectionFactory = void 0;
|
|
13380
13342
|
const t = V(), e = R(), r = T(), i = Ce(), p = T(), a = W, s = Se;
|
|
13381
13343
|
let n = class extends i.ConnectionFactoryBase {
|
|
13382
13344
|
constructor() {
|
|
@@ -13415,11 +13377,11 @@ function $g() {
|
|
|
13415
13377
|
};
|
|
13416
13378
|
return Jr.ConversationTranscriberConnectionFactory = n, Jr;
|
|
13417
13379
|
}
|
|
13418
|
-
var Gr = {},
|
|
13419
|
-
function
|
|
13420
|
-
if (
|
|
13380
|
+
var Gr = {}, Cc;
|
|
13381
|
+
function Wg() {
|
|
13382
|
+
if (Cc)
|
|
13421
13383
|
return Gr;
|
|
13422
|
-
|
|
13384
|
+
Cc = 1, Object.defineProperty(Gr, "__esModule", { value: !0 }), Gr.TranscriberConnectionFactory = void 0;
|
|
13423
13385
|
const t = V(), e = R(), r = Ce(), i = T(), p = W, a = Se;
|
|
13424
13386
|
let s = class extends r.ConnectionFactoryBase {
|
|
13425
13387
|
constructor() {
|
|
@@ -13443,11 +13405,11 @@ function Kg() {
|
|
|
13443
13405
|
};
|
|
13444
13406
|
return Gr.TranscriberConnectionFactory = s, Gr;
|
|
13445
13407
|
}
|
|
13446
|
-
var Qr = {},
|
|
13447
|
-
function
|
|
13448
|
-
if (
|
|
13408
|
+
var Qr = {}, yc;
|
|
13409
|
+
function Vg() {
|
|
13410
|
+
if (yc)
|
|
13449
13411
|
return Qr;
|
|
13450
|
-
|
|
13412
|
+
yc = 1, Object.defineProperty(Qr, "__esModule", { value: !0 }), Qr.TranslationConnectionFactory = void 0;
|
|
13451
13413
|
const t = V(), e = Ln, r = R(), i = Ce(), p = T(), a = W, s = Se, n = he;
|
|
13452
13414
|
let o = class extends i.ConnectionFactoryBase {
|
|
13453
13415
|
constructor() {
|
|
@@ -13478,11 +13440,11 @@ function Jg() {
|
|
|
13478
13440
|
};
|
|
13479
13441
|
return Qr.TranslationConnectionFactory = o, Qr;
|
|
13480
13442
|
}
|
|
13481
|
-
var Xr = {},
|
|
13482
|
-
function
|
|
13483
|
-
if (
|
|
13443
|
+
var Xr = {}, Rc;
|
|
13444
|
+
function Hg() {
|
|
13445
|
+
if (Rc)
|
|
13484
13446
|
return Xr;
|
|
13485
|
-
|
|
13447
|
+
Rc = 1, Object.defineProperty(Xr, "__esModule", { value: !0 }), Xr.EnumTranslation = void 0;
|
|
13486
13448
|
const t = R(), e = T();
|
|
13487
13449
|
let r = class {
|
|
13488
13450
|
static implTranslateRecognitionResult(p, a = !1) {
|
|
@@ -13574,11 +13536,11 @@ var Lu = {};
|
|
|
13574
13536
|
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
13537
|
}(t.RecognitionStatus || (t.RecognitionStatus = {}));
|
|
13576
13538
|
})(Lu);
|
|
13577
|
-
var Zr = {},
|
|
13578
|
-
function
|
|
13579
|
-
if (
|
|
13539
|
+
var Zr = {}, Pc;
|
|
13540
|
+
function $g() {
|
|
13541
|
+
if (Pc)
|
|
13580
13542
|
return Zr;
|
|
13581
|
-
|
|
13543
|
+
Pc = 1, Object.defineProperty(Zr, "__esModule", { value: !0 }), Zr.TranslationSynthesisEnd = void 0;
|
|
13582
13544
|
const t = T();
|
|
13583
13545
|
let e = class Bu {
|
|
13584
13546
|
constructor(i) {
|
|
@@ -13599,7 +13561,7 @@ function Qg() {
|
|
|
13599
13561
|
var Ji = {};
|
|
13600
13562
|
Object.defineProperty(Ji, "__esModule", { value: !0 });
|
|
13601
13563
|
Ji.TranslationHypothesis = void 0;
|
|
13602
|
-
const
|
|
13564
|
+
const Kg = b, Ec = gi;
|
|
13603
13565
|
class Gn {
|
|
13604
13566
|
constructor(e, r) {
|
|
13605
13567
|
this.privTranslationHypothesis = e, this.privTranslationHypothesis.Offset += r, this.privTranslationHypothesis.Translation.TranslationStatus = this.mapTranslationStatus(this.privTranslationHypothesis.Translation.TranslationStatus);
|
|
@@ -13608,7 +13570,7 @@ class Gn {
|
|
|
13608
13570
|
return new Gn(JSON.parse(e), r);
|
|
13609
13571
|
}
|
|
13610
13572
|
static fromTranslationResponse(e, r) {
|
|
13611
|
-
|
|
13573
|
+
Kg.Contracts.throwIfNullOrUndefined(e, "translationHypothesis");
|
|
13612
13574
|
const i = e.SpeechHypothesis;
|
|
13613
13575
|
return e.SpeechHypothesis = void 0, i.Translation = e, new Gn(i, r);
|
|
13614
13576
|
}
|
|
@@ -13632,22 +13594,22 @@ class Gn {
|
|
|
13632
13594
|
const e = { ...this.privTranslationHypothesis };
|
|
13633
13595
|
return e.Translation !== void 0 ? JSON.stringify({
|
|
13634
13596
|
...e,
|
|
13635
|
-
TranslationStatus:
|
|
13597
|
+
TranslationStatus: Ec.TranslationStatus[e.Translation.TranslationStatus]
|
|
13636
13598
|
}) : JSON.stringify(e);
|
|
13637
13599
|
}
|
|
13638
13600
|
mapTranslationStatus(e) {
|
|
13639
13601
|
if (typeof e == "string")
|
|
13640
|
-
return
|
|
13602
|
+
return Ec.TranslationStatus[e];
|
|
13641
13603
|
if (typeof e == "number")
|
|
13642
13604
|
return e;
|
|
13643
13605
|
}
|
|
13644
13606
|
}
|
|
13645
13607
|
Ji.TranslationHypothesis = Gn;
|
|
13646
|
-
var Yr = {},
|
|
13647
|
-
function
|
|
13648
|
-
if (
|
|
13608
|
+
var Yr = {}, Ic;
|
|
13609
|
+
function Jg() {
|
|
13610
|
+
if (Ic)
|
|
13649
13611
|
return Yr;
|
|
13650
|
-
|
|
13612
|
+
Ic = 1, Object.defineProperty(Yr, "__esModule", { value: !0 }), Yr.TranslationPhrase = void 0;
|
|
13651
13613
|
const t = b, e = T(), r = gi;
|
|
13652
13614
|
let i = class Fs {
|
|
13653
13615
|
constructor(a, s) {
|
|
@@ -13709,11 +13671,11 @@ function Zg() {
|
|
|
13709
13671
|
};
|
|
13710
13672
|
return Yr.TranslationPhrase = i, Yr;
|
|
13711
13673
|
}
|
|
13712
|
-
var en = {},
|
|
13713
|
-
function
|
|
13714
|
-
if (
|
|
13674
|
+
var en = {}, Tc;
|
|
13675
|
+
function Gg() {
|
|
13676
|
+
if (Tc)
|
|
13715
13677
|
return en;
|
|
13716
|
-
|
|
13678
|
+
Tc = 1, Object.defineProperty(en, "__esModule", { value: !0 }), en.TranslationServiceRecognizer = void 0;
|
|
13717
13679
|
const t = A(), e = R(), r = T();
|
|
13718
13680
|
let i = class extends r.ConversationServiceRecognizer {
|
|
13719
13681
|
constructor(a, s, n, o, c) {
|
|
@@ -13976,11 +13938,11 @@ class co {
|
|
|
13976
13938
|
}
|
|
13977
13939
|
}
|
|
13978
13940
|
Xi.SpeechKeyword = co;
|
|
13979
|
-
var tn = {},
|
|
13980
|
-
function
|
|
13981
|
-
if (
|
|
13941
|
+
var tn = {}, Ac;
|
|
13942
|
+
function Qg() {
|
|
13943
|
+
if (Ac)
|
|
13982
13944
|
return tn;
|
|
13983
|
-
|
|
13945
|
+
Ac = 1, Object.defineProperty(tn, "__esModule", { value: !0 }), tn.SpeechServiceRecognizer = void 0;
|
|
13984
13946
|
const t = R(), e = T();
|
|
13985
13947
|
let r = class extends e.ServiceRecognizerBase {
|
|
13986
13948
|
constructor(p, a, s, n, o) {
|
|
@@ -14126,11 +14088,11 @@ var rn = {}, qu = {};
|
|
|
14126
14088
|
e.CallCenter = "CallCenter";
|
|
14127
14089
|
}(t.IdentityProvider || (t.IdentityProvider = {}));
|
|
14128
14090
|
})(qu);
|
|
14129
|
-
var
|
|
14130
|
-
function
|
|
14131
|
-
if (
|
|
14091
|
+
var wc;
|
|
14092
|
+
function Xg() {
|
|
14093
|
+
if (wc)
|
|
14132
14094
|
return rn;
|
|
14133
|
-
|
|
14095
|
+
wc = 1, Object.defineProperty(rn, "__esModule", { value: !0 }), rn.ConversationTranscriptionServiceRecognizer = void 0;
|
|
14134
14096
|
const t = R(), e = T(), r = qu, i = he;
|
|
14135
14097
|
let p = class extends e.ServiceRecognizerBase {
|
|
14136
14098
|
constructor(s, n, o, c, u) {
|
|
@@ -14199,11 +14161,11 @@ function tm() {
|
|
|
14199
14161
|
};
|
|
14200
14162
|
return rn.ConversationTranscriptionServiceRecognizer = p, rn;
|
|
14201
14163
|
}
|
|
14202
|
-
var nn = {},
|
|
14203
|
-
function
|
|
14204
|
-
if (
|
|
14164
|
+
var nn = {}, _c;
|
|
14165
|
+
function Zg() {
|
|
14166
|
+
if (_c)
|
|
14205
14167
|
return nn;
|
|
14206
|
-
|
|
14168
|
+
_c = 1, Object.defineProperty(nn, "__esModule", { value: !0 }), nn.TranscriptionServiceRecognizer = void 0;
|
|
14207
14169
|
const t = A(), e = R(), r = T(), i = Ne;
|
|
14208
14170
|
let p = class extends r.ConversationServiceRecognizer {
|
|
14209
14171
|
constructor(s, n, o, c, u) {
|
|
@@ -14317,11 +14279,11 @@ function rm() {
|
|
|
14317
14279
|
};
|
|
14318
14280
|
return nn.TranscriptionServiceRecognizer = p, nn;
|
|
14319
14281
|
}
|
|
14320
|
-
var sn = {},
|
|
14321
|
-
function
|
|
14322
|
-
if (
|
|
14282
|
+
var sn = {}, bc;
|
|
14283
|
+
function Yg() {
|
|
14284
|
+
if (bc)
|
|
14323
14285
|
return sn;
|
|
14324
|
-
|
|
14286
|
+
bc = 1, Object.defineProperty(sn, "__esModule", { value: !0 }), sn.DetailedSpeechPhrase = void 0;
|
|
14325
14287
|
const t = T();
|
|
14326
14288
|
let e = class Fu {
|
|
14327
14289
|
constructor(i, p) {
|
|
@@ -14381,11 +14343,11 @@ function nm() {
|
|
|
14381
14343
|
};
|
|
14382
14344
|
return sn.DetailedSpeechPhrase = e, sn;
|
|
14383
14345
|
}
|
|
14384
|
-
var on = {},
|
|
14385
|
-
function
|
|
14386
|
-
if (
|
|
14346
|
+
var on = {}, Mc;
|
|
14347
|
+
function em() {
|
|
14348
|
+
if (Mc)
|
|
14387
14349
|
return on;
|
|
14388
|
-
|
|
14350
|
+
Mc = 1, Object.defineProperty(on, "__esModule", { value: !0 }), on.SimpleSpeechPhrase = void 0;
|
|
14389
14351
|
const t = T();
|
|
14390
14352
|
let e = class xu {
|
|
14391
14353
|
constructor(i, p = 0) {
|
|
@@ -14437,7 +14399,7 @@ function im() {
|
|
|
14437
14399
|
var Zi = {};
|
|
14438
14400
|
Object.defineProperty(Zi, "__esModule", { value: !0 });
|
|
14439
14401
|
Zi.AddedLmIntent = void 0;
|
|
14440
|
-
class
|
|
14402
|
+
class tm {
|
|
14441
14403
|
/**
|
|
14442
14404
|
* Creates and initializes an instance of this class.
|
|
14443
14405
|
* @constructor
|
|
@@ -14448,12 +14410,12 @@ class sm {
|
|
|
14448
14410
|
this.modelImpl = e, this.intentName = r;
|
|
14449
14411
|
}
|
|
14450
14412
|
}
|
|
14451
|
-
Zi.AddedLmIntent =
|
|
14452
|
-
var an = {},
|
|
14453
|
-
function
|
|
14454
|
-
if (
|
|
14413
|
+
Zi.AddedLmIntent = tm;
|
|
14414
|
+
var an = {}, Oc;
|
|
14415
|
+
function rm() {
|
|
14416
|
+
if (Oc)
|
|
14455
14417
|
return an;
|
|
14456
|
-
|
|
14418
|
+
Oc = 1, Object.defineProperty(an, "__esModule", { value: !0 }), an.IntentServiceRecognizer = void 0;
|
|
14457
14419
|
const t = A(), e = R(), r = T();
|
|
14458
14420
|
let i = class extends r.ServiceRecognizerBase {
|
|
14459
14421
|
constructor(a, s, n, o, c) {
|
|
@@ -14597,8 +14559,8 @@ Object.defineProperty(Uu, "__esModule", { value: !0 });
|
|
|
14597
14559
|
var es = {}, ts = {};
|
|
14598
14560
|
Object.defineProperty(ts, "__esModule", { value: !0 });
|
|
14599
14561
|
ts.ServiceTelemetryListener = void 0;
|
|
14600
|
-
const Ae = A(),
|
|
14601
|
-
class
|
|
14562
|
+
const Ae = A(), Dc = $i;
|
|
14563
|
+
class nm {
|
|
14602
14564
|
constructor(e, r, i) {
|
|
14603
14565
|
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
14566
|
}
|
|
@@ -14609,7 +14571,7 @@ class am {
|
|
|
14609
14571
|
e > 0 && this.privHypothesisLatencies.push(Date.now() - e);
|
|
14610
14572
|
}
|
|
14611
14573
|
onEvent(e) {
|
|
14612
|
-
if (!this.privIsDisposed && (e instanceof
|
|
14574
|
+
if (!this.privIsDisposed && (e instanceof Dc.RecognitionTriggeredEvent && e.requestId === this.privRequestId && (this.privListeningTriggerMetric = {
|
|
14613
14575
|
End: e.eventTime,
|
|
14614
14576
|
Name: "ListeningTrigger",
|
|
14615
14577
|
Start: e.eventTime
|
|
@@ -14627,7 +14589,7 @@ class am {
|
|
|
14627
14589
|
End: e.eventTime,
|
|
14628
14590
|
Name: "Microphone",
|
|
14629
14591
|
Start: this.privMicStartTime
|
|
14630
|
-
})), e instanceof
|
|
14592
|
+
})), e instanceof Dc.ConnectingToServiceEvent && e.requestId === this.privRequestId && (this.privConnectionId = e.sessionId), e instanceof Ae.ConnectionStartEvent && e.connectionId === this.privConnectionId && (this.privConnectionStartTime = e.eventTime), e instanceof Ae.ConnectionEstablishedEvent && e.connectionId === this.privConnectionId && (this.privConnectionEstablishMetric || (this.privConnectionEstablishMetric = {
|
|
14631
14593
|
End: e.eventTime,
|
|
14632
14594
|
Id: this.privConnectionId,
|
|
14633
14595
|
Name: "Connection",
|
|
@@ -14692,11 +14654,11 @@ class am {
|
|
|
14692
14654
|
}
|
|
14693
14655
|
}
|
|
14694
14656
|
}
|
|
14695
|
-
ts.ServiceTelemetryListener =
|
|
14657
|
+
ts.ServiceTelemetryListener = nm;
|
|
14696
14658
|
Object.defineProperty(es, "__esModule", { value: !0 });
|
|
14697
14659
|
es.RequestSession = void 0;
|
|
14698
|
-
const Pt = A(), Wn = $i,
|
|
14699
|
-
class
|
|
14660
|
+
const Pt = A(), Wn = $i, im = ts;
|
|
14661
|
+
class sm {
|
|
14700
14662
|
constructor(e) {
|
|
14701
14663
|
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
14664
|
}
|
|
@@ -14741,7 +14703,7 @@ class pm {
|
|
|
14741
14703
|
this.privServiceTelemetryListener && this.privDetachables.push(e.attachListener(this.privServiceTelemetryListener));
|
|
14742
14704
|
}
|
|
14743
14705
|
startNewRecognition() {
|
|
14744
|
-
this.privRecognitionBytesSent = 0, this.privIsSpeechEnded = !1, this.privIsRecognizing = !0, this.privTurnStartAudioOffset = 0, this.privLastRecoOffset = 0, this.privRecogNumber++, this.privServiceTelemetryListener = new
|
|
14706
|
+
this.privRecognitionBytesSent = 0, this.privIsSpeechEnded = !1, this.privIsRecognizing = !0, this.privTurnStartAudioOffset = 0, this.privLastRecoOffset = 0, this.privRecogNumber++, this.privServiceTelemetryListener = new im.ServiceTelemetryListener(this.privRequestId, this.privAudioSourceId, this.privAudioNodeId), this.onEvent(new Wn.RecognitionTriggeredEvent(this.requestId, this.privSessionId, this.privAudioSourceId, this.privAudioNodeId));
|
|
14745
14707
|
}
|
|
14746
14708
|
async onAudioSourceAttachCompleted(e, r) {
|
|
14747
14709
|
this.privAudioNode = e, this.privIsAudioNodeDetached = !1, r ? await this.onComplete() : this.onEvent(new Wn.ListeningStartedEvent(this.privRequestId, this.privSessionId, this.privAudioSourceId, this.privAudioNodeId));
|
|
@@ -14813,7 +14775,7 @@ class pm {
|
|
|
14813
14775
|
this.privIsAudioNodeDetached || (this.privIsAudioNodeDetached = !0, this.privAudioNode && await this.privAudioNode.detach());
|
|
14814
14776
|
}
|
|
14815
14777
|
}
|
|
14816
|
-
es.RequestSession =
|
|
14778
|
+
es.RequestSession = sm;
|
|
14817
14779
|
var rs = {}, Wu = {};
|
|
14818
14780
|
(function(t) {
|
|
14819
14781
|
Object.defineProperty(t, "__esModule", { value: !0 }), t.TentativePhraseResultsOption = t.OutputFormat = t.PhraseExtension = t.PhraseOption = void 0, function(e) {
|
|
@@ -14828,8 +14790,8 @@ var rs = {}, Wu = {};
|
|
|
14828
14790
|
})(Wu);
|
|
14829
14791
|
Object.defineProperty(rs, "__esModule", { value: !0 });
|
|
14830
14792
|
rs.SpeechContext = void 0;
|
|
14831
|
-
const
|
|
14832
|
-
class
|
|
14793
|
+
const om = he, je = Wu;
|
|
14794
|
+
class am {
|
|
14833
14795
|
constructor(e) {
|
|
14834
14796
|
this.privContext = {}, this.privDynamicGrammar = e;
|
|
14835
14797
|
}
|
|
@@ -14848,7 +14810,7 @@ class dm {
|
|
|
14848
14810
|
}
|
|
14849
14811
|
}), this.privContext.phraseDetection.enrichment === void 0 && (this.privContext.phraseDetection.enrichment = {
|
|
14850
14812
|
pronunciationAssessment: {}
|
|
14851
|
-
}), this.privContext.phraseDetection.enrichment.pronunciationAssessment = JSON.parse(e) || {}, i && (this.privContext.phraseDetection.mode =
|
|
14813
|
+
}), this.privContext.phraseDetection.enrichment.pronunciationAssessment = JSON.parse(e) || {}, i && (this.privContext.phraseDetection.mode = om.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
14814
|
topic: r
|
|
14853
14815
|
}, this.privContext.phraseOutput.detailed.options.push(je.PhraseOption.ContentAssessment));
|
|
14854
14816
|
}
|
|
@@ -14878,7 +14840,7 @@ class dm {
|
|
|
14878
14840
|
return this.privContext.dgi = e, JSON.stringify(this.privContext);
|
|
14879
14841
|
}
|
|
14880
14842
|
}
|
|
14881
|
-
rs.SpeechContext =
|
|
14843
|
+
rs.SpeechContext = am;
|
|
14882
14844
|
var ns = {}, Vu = {};
|
|
14883
14845
|
(function(t) {
|
|
14884
14846
|
Object.defineProperty(t, "__esModule", { value: !0 }), t.SubstringMatchType = t.GroupType = void 0, function(e) {
|
|
@@ -14889,8 +14851,8 @@ var ns = {}, Vu = {};
|
|
|
14889
14851
|
})(Vu);
|
|
14890
14852
|
Object.defineProperty(ns, "__esModule", { value: !0 });
|
|
14891
14853
|
ns.DynamicGrammarBuilder = void 0;
|
|
14892
|
-
const
|
|
14893
|
-
class
|
|
14854
|
+
const cm = Vu;
|
|
14855
|
+
class pm {
|
|
14894
14856
|
// Adds one more reference phrases to the dynamic grammar to send.
|
|
14895
14857
|
// All added phrases are generic phrases.
|
|
14896
14858
|
addPhrase(e) {
|
|
@@ -14921,12 +14883,12 @@ class lm {
|
|
|
14921
14883
|
r.push({
|
|
14922
14884
|
text: i
|
|
14923
14885
|
});
|
|
14924
|
-
}), e.groups = [{ type:
|
|
14886
|
+
}), e.groups = [{ type: cm.GroupType.Generic, items: r }];
|
|
14925
14887
|
}
|
|
14926
14888
|
return e;
|
|
14927
14889
|
}
|
|
14928
14890
|
}
|
|
14929
|
-
ns.DynamicGrammarBuilder =
|
|
14891
|
+
ns.DynamicGrammarBuilder = pm;
|
|
14930
14892
|
var cn = {}, is = {}, ss = {}, uo = {};
|
|
14931
14893
|
(function(t) {
|
|
14932
14894
|
Object.defineProperty(t, "__esModule", { value: !0 }), t.MessageDataStreamType = t.ActivityPayloadResponse = void 0;
|
|
@@ -14956,8 +14918,8 @@ var cn = {}, is = {}, ss = {}, uo = {};
|
|
|
14956
14918
|
})(uo);
|
|
14957
14919
|
Object.defineProperty(ss, "__esModule", { value: !0 });
|
|
14958
14920
|
ss.DialogServiceTurnState = void 0;
|
|
14959
|
-
const
|
|
14960
|
-
class
|
|
14921
|
+
const um = Je, dm = K, hm = uo;
|
|
14922
|
+
class lm {
|
|
14961
14923
|
constructor(e, r) {
|
|
14962
14924
|
this.privRequestId = r, this.privIsCompleted = !1, this.privAudioStream = null, this.privTurnManager = e, this.resetTurnEndTimeout();
|
|
14963
14925
|
}
|
|
@@ -14965,7 +14927,7 @@ class mm {
|
|
|
14965
14927
|
return this.resetTurnEndTimeout(), this.privAudioStream;
|
|
14966
14928
|
}
|
|
14967
14929
|
processActivityPayload(e, r) {
|
|
14968
|
-
return e.messageDataStreamType ===
|
|
14930
|
+
return e.messageDataStreamType === hm.MessageDataStreamType.TextToSpeechAudio && (this.privAudioStream = dm.AudioOutputStream.createPullStream(), this.privAudioStream.format = r !== void 0 ? r : um.AudioOutputFormatImpl.getDefaultOutputFormat()), this.privAudioStream;
|
|
14969
14931
|
}
|
|
14970
14932
|
endAudioStream() {
|
|
14971
14933
|
this.privAudioStream !== null && !this.privAudioStream.isClosed && this.privAudioStream.close();
|
|
@@ -14979,18 +14941,18 @@ class mm {
|
|
|
14979
14941
|
}, 2e3);
|
|
14980
14942
|
}
|
|
14981
14943
|
}
|
|
14982
|
-
ss.DialogServiceTurnState =
|
|
14944
|
+
ss.DialogServiceTurnState = lm;
|
|
14983
14945
|
Object.defineProperty(is, "__esModule", { value: !0 });
|
|
14984
14946
|
is.DialogServiceTurnStateManager = void 0;
|
|
14985
|
-
const
|
|
14986
|
-
class
|
|
14947
|
+
const kc = J, vm = ss;
|
|
14948
|
+
class fm {
|
|
14987
14949
|
constructor() {
|
|
14988
14950
|
this.privTurnMap = /* @__PURE__ */ new Map();
|
|
14989
14951
|
}
|
|
14990
14952
|
StartTurn(e) {
|
|
14991
14953
|
if (this.privTurnMap.has(e))
|
|
14992
|
-
throw new
|
|
14993
|
-
const r = new
|
|
14954
|
+
throw new kc.InvalidOperationError("Service error: There is already a turn with id:" + e);
|
|
14955
|
+
const r = new vm.DialogServiceTurnState(this, e);
|
|
14994
14956
|
return this.privTurnMap.set(e, r), this.privTurnMap.get(e);
|
|
14995
14957
|
}
|
|
14996
14958
|
GetTurn(e) {
|
|
@@ -14998,12 +14960,12 @@ class Cm {
|
|
|
14998
14960
|
}
|
|
14999
14961
|
CompleteTurn(e) {
|
|
15000
14962
|
if (!this.privTurnMap.has(e))
|
|
15001
|
-
throw new
|
|
14963
|
+
throw new kc.InvalidOperationError("Service error: Received turn end for an unknown turn id:" + e);
|
|
15002
14964
|
const r = this.privTurnMap.get(e);
|
|
15003
14965
|
return r.complete(), this.privTurnMap.delete(e), r;
|
|
15004
14966
|
}
|
|
15005
14967
|
}
|
|
15006
|
-
is.DialogServiceTurnStateManager =
|
|
14968
|
+
is.DialogServiceTurnStateManager = fm;
|
|
15007
14969
|
var Hu = {};
|
|
15008
14970
|
(function(t) {
|
|
15009
14971
|
Object.defineProperty(t, "__esModule", { value: !0 }), t.InvocationSource = void 0, function(e) {
|
|
@@ -15018,11 +14980,11 @@ var $u = {};
|
|
|
15018
14980
|
e.EndOfTurn = "EndOfTurn", e.Continue = "Continue";
|
|
15019
14981
|
}(t.OnRejectAction || (t.OnRejectAction = {}));
|
|
15020
14982
|
})($u);
|
|
15021
|
-
var
|
|
15022
|
-
function
|
|
15023
|
-
if (
|
|
14983
|
+
var Nc;
|
|
14984
|
+
function gm() {
|
|
14985
|
+
if (Nc)
|
|
15024
14986
|
return cn;
|
|
15025
|
-
|
|
14987
|
+
Nc = 1, Object.defineProperty(cn, "__esModule", { value: !0 }), cn.DialogServiceAdapter = void 0;
|
|
15026
14988
|
const t = V(), e = gt, r = A(), i = Je, p = R(), a = is, s = T(), n = uo, o = Hu, c = $u, u = Ne;
|
|
15027
14989
|
let d = class extends s.ServiceRecognizerBase {
|
|
15028
14990
|
constructor(l, f, g, S, v) {
|
|
@@ -15319,7 +15281,7 @@ function ym() {
|
|
|
15319
15281
|
var os = {};
|
|
15320
15282
|
Object.defineProperty(os, "__esModule", { value: !0 });
|
|
15321
15283
|
os.AgentConfig = void 0;
|
|
15322
|
-
class
|
|
15284
|
+
class mm {
|
|
15323
15285
|
toJsonString() {
|
|
15324
15286
|
return JSON.stringify(this.iPrivConfig);
|
|
15325
15287
|
}
|
|
@@ -15334,12 +15296,12 @@ class Rm {
|
|
|
15334
15296
|
this.iPrivConfig = e;
|
|
15335
15297
|
}
|
|
15336
15298
|
}
|
|
15337
|
-
os.AgentConfig =
|
|
15299
|
+
os.AgentConfig = mm;
|
|
15338
15300
|
var Ds = {}, pn = {}, zt = {};
|
|
15339
15301
|
Object.defineProperty(zt, "__esModule", { value: !0 });
|
|
15340
15302
|
zt.ConversationConnectionConfig = void 0;
|
|
15341
|
-
const
|
|
15342
|
-
class re extends
|
|
15303
|
+
const Sm = Bn;
|
|
15304
|
+
class re extends Sm.RestConfigBase {
|
|
15343
15305
|
static get host() {
|
|
15344
15306
|
return re.privHost;
|
|
15345
15307
|
}
|
|
@@ -15370,11 +15332,11 @@ re.privDefaultLanguageCode = "en-US";
|
|
|
15370
15332
|
re.privClientAppId = "FC539C22-1767-4F1F-84BC-B4D811114F15";
|
|
15371
15333
|
re.privWebSocketPath = "/capito/translate";
|
|
15372
15334
|
re.privTranscriptionEventKeys = ["iCalUid", "callId", "organizer", "FLAC", "MTUri", "DifferentiateGuestSpeakers", "audiorecording", "Threadid", "OrganizerMri", "OrganizerTenantId", "UserToken"];
|
|
15373
|
-
var
|
|
15374
|
-
function
|
|
15375
|
-
if (
|
|
15335
|
+
var zc;
|
|
15336
|
+
function Cm() {
|
|
15337
|
+
if (zc)
|
|
15376
15338
|
return pn;
|
|
15377
|
-
|
|
15339
|
+
zc = 1, Object.defineProperty(pn, "__esModule", { value: !0 }), pn.ConversationManager = void 0;
|
|
15378
15340
|
const t = V(), e = b, r = R(), i = zt;
|
|
15379
15341
|
let p = class {
|
|
15380
15342
|
constructor() {
|
|
@@ -15469,8 +15431,8 @@ function Em() {
|
|
|
15469
15431
|
var ct = {}, un = {}, as = {}, qn = {};
|
|
15470
15432
|
Object.defineProperty(qn, "__esModule", { value: !0 });
|
|
15471
15433
|
qn.ConversationConnectionMessage = void 0;
|
|
15472
|
-
const
|
|
15473
|
-
class
|
|
15434
|
+
const ym = A();
|
|
15435
|
+
class Rm extends ym.ConnectionMessage {
|
|
15474
15436
|
constructor(e, r, i, p) {
|
|
15475
15437
|
super(e, r, i, p);
|
|
15476
15438
|
const a = JSON.parse(this.textBody);
|
|
@@ -15480,11 +15442,11 @@ class Tm extends Im.ConnectionMessage {
|
|
|
15480
15442
|
return this.privConversationMessageType;
|
|
15481
15443
|
}
|
|
15482
15444
|
}
|
|
15483
|
-
qn.ConversationConnectionMessage =
|
|
15445
|
+
qn.ConversationConnectionMessage = Rm;
|
|
15484
15446
|
Object.defineProperty(as, "__esModule", { value: !0 });
|
|
15485
15447
|
as.ConversationWebsocketMessageFormatter = void 0;
|
|
15486
|
-
const pt = A(),
|
|
15487
|
-
class
|
|
15448
|
+
const pt = A(), jc = qn;
|
|
15449
|
+
class Pm {
|
|
15488
15450
|
/**
|
|
15489
15451
|
* Format incoming messages: text (speech partial/final, IM) or binary (tts)
|
|
15490
15452
|
*/
|
|
@@ -15492,10 +15454,10 @@ class Am {
|
|
|
15492
15454
|
const r = new pt.Deferred();
|
|
15493
15455
|
try {
|
|
15494
15456
|
if (e.messageType === pt.MessageType.Text) {
|
|
15495
|
-
const i = new
|
|
15457
|
+
const i = new jc.ConversationConnectionMessage(e.messageType, e.textContent, {}, e.id);
|
|
15496
15458
|
r.resolve(i);
|
|
15497
15459
|
} else
|
|
15498
|
-
e.messageType === pt.MessageType.Binary && r.resolve(new
|
|
15460
|
+
e.messageType === pt.MessageType.Binary && r.resolve(new jc.ConversationConnectionMessage(e.messageType, e.binaryContent, void 0, e.id));
|
|
15499
15461
|
} catch (i) {
|
|
15500
15462
|
r.reject(`Error formatting the message. Error: ${i}`);
|
|
15501
15463
|
}
|
|
@@ -15517,12 +15479,12 @@ class Am {
|
|
|
15517
15479
|
return r.promise;
|
|
15518
15480
|
}
|
|
15519
15481
|
}
|
|
15520
|
-
as.ConversationWebsocketMessageFormatter =
|
|
15521
|
-
var
|
|
15522
|
-
function
|
|
15523
|
-
if (
|
|
15482
|
+
as.ConversationWebsocketMessageFormatter = Pm;
|
|
15483
|
+
var Lc;
|
|
15484
|
+
function Em() {
|
|
15485
|
+
if (Lc)
|
|
15524
15486
|
return un;
|
|
15525
|
-
|
|
15487
|
+
Lc = 1, Object.defineProperty(un, "__esModule", { value: !0 }), un.ConversationConnectionFactory = void 0;
|
|
15526
15488
|
const t = V(), e = A(), r = b, i = R(), p = Ce(), a = zt, s = as;
|
|
15527
15489
|
let n = class extends p.ConnectionFactoryBase {
|
|
15528
15490
|
create(c, u, d) {
|
|
@@ -15540,7 +15502,7 @@ var dn = {}, cs = {};
|
|
|
15540
15502
|
Object.defineProperty(cs, "__esModule", { value: !0 });
|
|
15541
15503
|
cs.ConversationRequestSession = void 0;
|
|
15542
15504
|
const ks = A();
|
|
15543
|
-
class
|
|
15505
|
+
class Im {
|
|
15544
15506
|
constructor(e) {
|
|
15545
15507
|
this.privIsDisposed = !1, this.privDetachables = new Array(), this.privSessionId = e, this.privRequestId = (0, ks.createNoDashGuid)(), this.privRequestCompletionDeferral = new ks.Deferred();
|
|
15546
15508
|
}
|
|
@@ -15575,12 +15537,12 @@ class _m {
|
|
|
15575
15537
|
onComplete() {
|
|
15576
15538
|
}
|
|
15577
15539
|
}
|
|
15578
|
-
cs.ConversationRequestSession =
|
|
15579
|
-
var se = {},
|
|
15540
|
+
cs.ConversationRequestSession = Im;
|
|
15541
|
+
var se = {}, Bc;
|
|
15580
15542
|
function Ku() {
|
|
15581
|
-
if (
|
|
15543
|
+
if (Bc)
|
|
15582
15544
|
return se;
|
|
15583
|
-
|
|
15545
|
+
Bc = 1, Object.defineProperty(se, "__esModule", { value: !0 }), se.ConversationReceivedTranslationEventArgs = se.ParticipantsListEventArgs = se.ParticipantAttributeEventArgs = se.ParticipantEventArgs = se.LockRoomEventArgs = se.MuteAllEventArgs = void 0;
|
|
15584
15546
|
const t = R();
|
|
15585
15547
|
class e extends t.SessionEventArgs {
|
|
15586
15548
|
constructor(o, c) {
|
|
@@ -15673,7 +15635,7 @@ function Ku() {
|
|
|
15673
15635
|
var Me = {};
|
|
15674
15636
|
Object.defineProperty(Me, "__esModule", { value: !0 });
|
|
15675
15637
|
Me.ConversationTranslatorCommandTypes = Me.ConversationTranslatorMessageTypes = Me.InternalParticipants = void 0;
|
|
15676
|
-
class
|
|
15638
|
+
class Tm {
|
|
15677
15639
|
constructor(e = [], r) {
|
|
15678
15640
|
this.participants = e, this.meId = r;
|
|
15679
15641
|
}
|
|
@@ -15720,7 +15682,7 @@ class bm {
|
|
|
15720
15682
|
return this.getParticipant(this.meId);
|
|
15721
15683
|
}
|
|
15722
15684
|
}
|
|
15723
|
-
Me.InternalParticipants =
|
|
15685
|
+
Me.InternalParticipants = Tm;
|
|
15724
15686
|
Me.ConversationTranslatorMessageTypes = {
|
|
15725
15687
|
command: "command",
|
|
15726
15688
|
final: "final",
|
|
@@ -15750,10 +15712,10 @@ Me.ConversationTranslatorCommandTypes = {
|
|
|
15750
15712
|
var Ju = {}, ps = {};
|
|
15751
15713
|
Object.defineProperty(ps, "__esModule", { value: !0 });
|
|
15752
15714
|
ps.CommandResponsePayload = void 0;
|
|
15753
|
-
const
|
|
15715
|
+
const Am = (t) => JSON.parse(t);
|
|
15754
15716
|
class ho {
|
|
15755
15717
|
constructor(e) {
|
|
15756
|
-
this.privCommandResponse =
|
|
15718
|
+
this.privCommandResponse = Am(e);
|
|
15757
15719
|
}
|
|
15758
15720
|
get type() {
|
|
15759
15721
|
return this.privCommandResponse.type;
|
|
@@ -15787,10 +15749,10 @@ ps.CommandResponsePayload = ho;
|
|
|
15787
15749
|
var bt = {};
|
|
15788
15750
|
Object.defineProperty(bt, "__esModule", { value: !0 });
|
|
15789
15751
|
bt.ParticipantPayloadResponse = bt.ParticipantsListPayloadResponse = void 0;
|
|
15790
|
-
const
|
|
15752
|
+
const wm = (t) => JSON.parse(t), _m = (t) => JSON.parse(t);
|
|
15791
15753
|
class lo {
|
|
15792
15754
|
constructor(e) {
|
|
15793
|
-
this.privParticipantsPayloadResponse =
|
|
15755
|
+
this.privParticipantsPayloadResponse = wm(e);
|
|
15794
15756
|
}
|
|
15795
15757
|
get roomid() {
|
|
15796
15758
|
return this.privParticipantsPayloadResponse.roomid;
|
|
@@ -15832,7 +15794,7 @@ class lo {
|
|
|
15832
15794
|
bt.ParticipantsListPayloadResponse = lo;
|
|
15833
15795
|
class vo {
|
|
15834
15796
|
constructor(e) {
|
|
15835
|
-
this.privParticipantPayloadResponse =
|
|
15797
|
+
this.privParticipantPayloadResponse = _m(e);
|
|
15836
15798
|
}
|
|
15837
15799
|
get nickname() {
|
|
15838
15800
|
return this.privParticipantPayloadResponse.nickname;
|
|
@@ -15863,10 +15825,10 @@ bt.ParticipantPayloadResponse = vo;
|
|
|
15863
15825
|
var Mt = {};
|
|
15864
15826
|
Object.defineProperty(Mt, "__esModule", { value: !0 });
|
|
15865
15827
|
Mt.TextResponsePayload = Mt.SpeechResponsePayload = void 0;
|
|
15866
|
-
const
|
|
15828
|
+
const bm = (t) => JSON.parse(t), Mm = (t) => JSON.parse(t);
|
|
15867
15829
|
class fo {
|
|
15868
15830
|
constructor(e) {
|
|
15869
|
-
this.privSpeechResponse =
|
|
15831
|
+
this.privSpeechResponse = bm(e);
|
|
15870
15832
|
}
|
|
15871
15833
|
get recognition() {
|
|
15872
15834
|
return this.privSpeechResponse.recognition;
|
|
@@ -15905,7 +15867,7 @@ class fo {
|
|
|
15905
15867
|
Mt.SpeechResponsePayload = fo;
|
|
15906
15868
|
class go {
|
|
15907
15869
|
constructor(e) {
|
|
15908
|
-
this.privTextResponse =
|
|
15870
|
+
this.privTextResponse = Mm(e);
|
|
15909
15871
|
}
|
|
15910
15872
|
get originalText() {
|
|
15911
15873
|
return this.privTextResponse.originalText;
|
|
@@ -15958,11 +15920,11 @@ Mt.TextResponsePayload = go;
|
|
|
15958
15920
|
return i.TextResponsePayload;
|
|
15959
15921
|
} });
|
|
15960
15922
|
})(Ju);
|
|
15961
|
-
var
|
|
15962
|
-
function
|
|
15963
|
-
if (
|
|
15923
|
+
var qc;
|
|
15924
|
+
function Om() {
|
|
15925
|
+
if (qc)
|
|
15964
15926
|
return dn;
|
|
15965
|
-
|
|
15927
|
+
qc = 1, Object.defineProperty(dn, "__esModule", { value: !0 }), dn.ConversationServiceAdapter = void 0;
|
|
15966
15928
|
const t = A(), e = R(), r = T(), i = qn, p = cs, a = Ku(), s = Me, n = Ju;
|
|
15967
15929
|
let o = class extends r.ServiceRecognizerBase {
|
|
15968
15930
|
constructor(u, d, h, l, f) {
|
|
@@ -16145,12 +16107,12 @@ function zm() {
|
|
|
16145
16107
|
};
|
|
16146
16108
|
return dn.ConversationServiceAdapter = o, dn;
|
|
16147
16109
|
}
|
|
16148
|
-
var
|
|
16149
|
-
function
|
|
16150
|
-
if (
|
|
16110
|
+
var Fc;
|
|
16111
|
+
function Dm() {
|
|
16112
|
+
if (Fc)
|
|
16151
16113
|
return ct;
|
|
16152
|
-
|
|
16153
|
-
const t = T(), e = A(), r = b, i = R(), p =
|
|
16114
|
+
Fc = 1, Object.defineProperty(ct, "__esModule", { value: !0 }), ct.ConversationTranslatorRecognizer = ct.ConversationRecognizerFactory = void 0;
|
|
16115
|
+
const t = T(), e = A(), r = b, i = R(), p = Em(), a = Om();
|
|
16154
16116
|
class s {
|
|
16155
16117
|
static fromConfig(c, u, d) {
|
|
16156
16118
|
return new n(c, u, d);
|
|
@@ -16307,11 +16269,11 @@ function jm() {
|
|
|
16307
16269
|
};
|
|
16308
16270
|
return ct.ConversationTranslatorRecognizer = n, ct;
|
|
16309
16271
|
}
|
|
16310
|
-
var hn = {},
|
|
16311
|
-
function
|
|
16312
|
-
if (
|
|
16272
|
+
var hn = {}, xc;
|
|
16273
|
+
function km() {
|
|
16274
|
+
if (xc)
|
|
16313
16275
|
return hn;
|
|
16314
|
-
|
|
16276
|
+
xc = 1, Object.defineProperty(hn, "__esModule", { value: !0 }), hn.TranscriberRecognizer = void 0;
|
|
16315
16277
|
const t = A(), e = b, r = R(), i = T(), p = he;
|
|
16316
16278
|
let a = class extends r.Recognizer {
|
|
16317
16279
|
/**
|
|
@@ -16416,11 +16378,11 @@ function Lm() {
|
|
|
16416
16378
|
};
|
|
16417
16379
|
return hn.TranscriberRecognizer = a, hn;
|
|
16418
16380
|
}
|
|
16419
|
-
var
|
|
16420
|
-
function
|
|
16421
|
-
return
|
|
16381
|
+
var Uc;
|
|
16382
|
+
function Nm() {
|
|
16383
|
+
return Uc || (Uc = 1, function(t) {
|
|
16422
16384
|
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 =
|
|
16385
|
+
var e = Cm();
|
|
16424
16386
|
Object.defineProperty(t, "ConversationManager", { enumerable: !0, get: function() {
|
|
16425
16387
|
return e.ConversationManager;
|
|
16426
16388
|
} });
|
|
@@ -16428,11 +16390,11 @@ function Bm() {
|
|
|
16428
16390
|
Object.defineProperty(t, "ConversationConnectionConfig", { enumerable: !0, get: function() {
|
|
16429
16391
|
return r.ConversationConnectionConfig;
|
|
16430
16392
|
} });
|
|
16431
|
-
var i =
|
|
16393
|
+
var i = Dm();
|
|
16432
16394
|
Object.defineProperty(t, "ConversationRecognizerFactory", { enumerable: !0, get: function() {
|
|
16433
16395
|
return i.ConversationRecognizerFactory;
|
|
16434
16396
|
} });
|
|
16435
|
-
var p =
|
|
16397
|
+
var p = km();
|
|
16436
16398
|
Object.defineProperty(t, "TranscriberRecognizer", { enumerable: !0, get: function() {
|
|
16437
16399
|
return p.TranscriberRecognizer;
|
|
16438
16400
|
} });
|
|
@@ -16481,9 +16443,9 @@ var mo = {};
|
|
|
16481
16443
|
var ln = {}, Pe = {};
|
|
16482
16444
|
Object.defineProperty(Pe, "__esModule", { value: !0 });
|
|
16483
16445
|
Pe.SynthesisStartedEvent = Pe.ConnectingToSynthesisServiceEvent = Pe.SynthesisTriggeredEvent = Pe.SpeechSynthesisEvent = void 0;
|
|
16484
|
-
const
|
|
16485
|
-
class us extends
|
|
16486
|
-
constructor(e, r, i =
|
|
16446
|
+
const Wc = A();
|
|
16447
|
+
class us extends Wc.PlatformEvent {
|
|
16448
|
+
constructor(e, r, i = Wc.EventType.Info) {
|
|
16487
16449
|
super(e, i), this.privRequestId = r;
|
|
16488
16450
|
}
|
|
16489
16451
|
get requestId() {
|
|
@@ -16491,7 +16453,7 @@ class us extends Vc.PlatformEvent {
|
|
|
16491
16453
|
}
|
|
16492
16454
|
}
|
|
16493
16455
|
Pe.SpeechSynthesisEvent = us;
|
|
16494
|
-
class
|
|
16456
|
+
class zm extends us {
|
|
16495
16457
|
constructor(e, r, i) {
|
|
16496
16458
|
super("SynthesisTriggeredEvent", e), this.privSessionAudioDestinationId = r, this.privTurnAudioDestinationId = i;
|
|
16497
16459
|
}
|
|
@@ -16502,8 +16464,8 @@ class qm extends us {
|
|
|
16502
16464
|
return this.privTurnAudioDestinationId;
|
|
16503
16465
|
}
|
|
16504
16466
|
}
|
|
16505
|
-
Pe.SynthesisTriggeredEvent =
|
|
16506
|
-
class
|
|
16467
|
+
Pe.SynthesisTriggeredEvent = zm;
|
|
16468
|
+
class jm extends us {
|
|
16507
16469
|
constructor(e, r) {
|
|
16508
16470
|
super("ConnectingToSynthesisServiceEvent", e), this.privAuthFetchEventId = r;
|
|
16509
16471
|
}
|
|
@@ -16511,8 +16473,8 @@ class Fm extends us {
|
|
|
16511
16473
|
return this.privAuthFetchEventId;
|
|
16512
16474
|
}
|
|
16513
16475
|
}
|
|
16514
|
-
Pe.ConnectingToSynthesisServiceEvent =
|
|
16515
|
-
class
|
|
16476
|
+
Pe.ConnectingToSynthesisServiceEvent = jm;
|
|
16477
|
+
class Lm extends us {
|
|
16516
16478
|
constructor(e, r) {
|
|
16517
16479
|
super("SynthesisStartedEvent", e), this.privAuthFetchEventId = r;
|
|
16518
16480
|
}
|
|
@@ -16520,12 +16482,12 @@ class xm extends us {
|
|
|
16520
16482
|
return this.privAuthFetchEventId;
|
|
16521
16483
|
}
|
|
16522
16484
|
}
|
|
16523
|
-
Pe.SynthesisStartedEvent =
|
|
16524
|
-
var
|
|
16525
|
-
function
|
|
16526
|
-
if (
|
|
16485
|
+
Pe.SynthesisStartedEvent = Lm;
|
|
16486
|
+
var Vc;
|
|
16487
|
+
function Bm() {
|
|
16488
|
+
if (Vc)
|
|
16527
16489
|
return ln;
|
|
16528
|
-
|
|
16490
|
+
Vc = 1, Object.defineProperty(ln, "__esModule", { value: !0 }), ln.SynthesisTurn = void 0;
|
|
16529
16491
|
const t = A(), e = K, r = R(), i = mo, p = Pe;
|
|
16530
16492
|
let a = class xs {
|
|
16531
16493
|
constructor() {
|
|
@@ -16685,11 +16647,11 @@ function Um() {
|
|
|
16685
16647
|
};
|
|
16686
16648
|
return ln.SynthesisTurn = a, ln;
|
|
16687
16649
|
}
|
|
16688
|
-
var vn = {},
|
|
16689
|
-
function
|
|
16690
|
-
if (
|
|
16650
|
+
var vn = {}, Hc;
|
|
16651
|
+
function qm() {
|
|
16652
|
+
if (Hc)
|
|
16691
16653
|
return vn;
|
|
16692
|
-
|
|
16654
|
+
Hc = 1, Object.defineProperty(vn, "__esModule", { value: !0 }), vn.SynthesisAdapterBase = void 0;
|
|
16693
16655
|
const t = A(), e = R(), r = T(), i = Ne;
|
|
16694
16656
|
let p = class {
|
|
16695
16657
|
constructor(s, n, o, c) {
|
|
@@ -16904,11 +16866,11 @@ function Wm() {
|
|
|
16904
16866
|
};
|
|
16905
16867
|
return vn.SynthesisAdapterBase = p, p.telemetryDataEnabled = !0, vn;
|
|
16906
16868
|
}
|
|
16907
|
-
var fn = {},
|
|
16908
|
-
function
|
|
16909
|
-
if (
|
|
16869
|
+
var fn = {}, $c;
|
|
16870
|
+
function Fm() {
|
|
16871
|
+
if ($c)
|
|
16910
16872
|
return fn;
|
|
16911
|
-
|
|
16873
|
+
$c = 1, Object.defineProperty(fn, "__esModule", { value: !0 }), fn.AvatarSynthesisAdapter = void 0;
|
|
16912
16874
|
const t = R(), e = T();
|
|
16913
16875
|
let r = class extends e.SynthesisAdapterBase {
|
|
16914
16876
|
constructor(p, a, s, n, o) {
|
|
@@ -16971,11 +16933,11 @@ function Vm() {
|
|
|
16971
16933
|
};
|
|
16972
16934
|
return fn.AvatarSynthesisAdapter = r, fn;
|
|
16973
16935
|
}
|
|
16974
|
-
var gn = {},
|
|
16975
|
-
function
|
|
16976
|
-
if (
|
|
16936
|
+
var gn = {}, Kc;
|
|
16937
|
+
function xm() {
|
|
16938
|
+
if (Kc)
|
|
16977
16939
|
return gn;
|
|
16978
|
-
|
|
16940
|
+
Kc = 1, Object.defineProperty(gn, "__esModule", { value: !0 }), gn.SpeechSynthesisAdapter = void 0;
|
|
16979
16941
|
const t = R(), e = T();
|
|
16980
16942
|
let r = class extends e.SynthesisAdapterBase {
|
|
16981
16943
|
constructor(p, a, s, n, o) {
|
|
@@ -17036,11 +16998,11 @@ function Hm() {
|
|
|
17036
16998
|
};
|
|
17037
16999
|
return gn.SpeechSynthesisAdapter = r, gn;
|
|
17038
17000
|
}
|
|
17039
|
-
var mn = {},
|
|
17040
|
-
function
|
|
17041
|
-
if (
|
|
17001
|
+
var mn = {}, Jc;
|
|
17002
|
+
function Um() {
|
|
17003
|
+
if (Jc)
|
|
17042
17004
|
return mn;
|
|
17043
|
-
|
|
17005
|
+
Jc = 1, Object.defineProperty(mn, "__esModule", { value: !0 }), mn.SynthesisRestAdapter = void 0;
|
|
17044
17006
|
const t = V(), e = R(), r = Ce(), i = W;
|
|
17045
17007
|
let p = class {
|
|
17046
17008
|
constructor(s, n) {
|
|
@@ -17066,9 +17028,9 @@ function $m() {
|
|
|
17066
17028
|
};
|
|
17067
17029
|
return mn.SynthesisRestAdapter = p, mn;
|
|
17068
17030
|
}
|
|
17069
|
-
var Ns = {},
|
|
17070
|
-
function
|
|
17071
|
-
return
|
|
17031
|
+
var Ns = {}, Gc;
|
|
17032
|
+
function Wm() {
|
|
17033
|
+
return Gc || (Gc = 1, function(t) {
|
|
17072
17034
|
Object.defineProperty(t, "__esModule", { value: !0 }), t.SynthesizerConfig = t.SynthesisServiceType = void 0;
|
|
17073
17035
|
const e = T();
|
|
17074
17036
|
var r;
|
|
@@ -17100,11 +17062,11 @@ function Km() {
|
|
|
17100
17062
|
t.SynthesizerConfig = i;
|
|
17101
17063
|
}(Ns)), Ns;
|
|
17102
17064
|
}
|
|
17103
|
-
var Sn = {},
|
|
17104
|
-
function
|
|
17105
|
-
if (
|
|
17065
|
+
var Sn = {}, Qc;
|
|
17066
|
+
function Vm() {
|
|
17067
|
+
if (Qc)
|
|
17106
17068
|
return Sn;
|
|
17107
|
-
|
|
17069
|
+
Qc = 1, Object.defineProperty(Sn, "__esModule", { value: !0 }), Sn.SynthesisContext = void 0;
|
|
17108
17070
|
const t = R();
|
|
17109
17071
|
let e = class {
|
|
17110
17072
|
constructor() {
|
|
@@ -17153,11 +17115,11 @@ function Jm() {
|
|
|
17153
17115
|
};
|
|
17154
17116
|
return Sn.SynthesisContext = e, Sn;
|
|
17155
17117
|
}
|
|
17156
|
-
var Cn = {},
|
|
17157
|
-
function
|
|
17158
|
-
if (
|
|
17118
|
+
var Cn = {}, Xc;
|
|
17119
|
+
function Hm() {
|
|
17120
|
+
if (Xc)
|
|
17159
17121
|
return Cn;
|
|
17160
|
-
|
|
17122
|
+
Xc = 1, Object.defineProperty(Cn, "__esModule", { value: !0 }), Cn.SpeakerRecognitionConfig = void 0;
|
|
17161
17123
|
const t = T();
|
|
17162
17124
|
let e = class {
|
|
17163
17125
|
constructor(i, p) {
|
|
@@ -17172,11 +17134,11 @@ function Gm() {
|
|
|
17172
17134
|
};
|
|
17173
17135
|
return Cn.SpeakerRecognitionConfig = e, Cn;
|
|
17174
17136
|
}
|
|
17175
|
-
var yn = {},
|
|
17176
|
-
function
|
|
17177
|
-
if (
|
|
17137
|
+
var yn = {}, Zc;
|
|
17138
|
+
function $m() {
|
|
17139
|
+
if (Zc)
|
|
17178
17140
|
return yn;
|
|
17179
|
-
|
|
17141
|
+
Zc = 1, Object.defineProperty(yn, "__esModule", { value: !0 }), yn.SpeakerServiceRecognizer = void 0;
|
|
17180
17142
|
const t = V(), e = A(), r = R(), i = T(), p = Ne;
|
|
17181
17143
|
let a = class extends i.ServiceRecognizerBase {
|
|
17182
17144
|
constructor(n, o, c, u, d) {
|
|
@@ -17245,11 +17207,11 @@ function Qm() {
|
|
|
17245
17207
|
};
|
|
17246
17208
|
return yn.SpeakerServiceRecognizer = a, yn;
|
|
17247
17209
|
}
|
|
17248
|
-
var Rn = {},
|
|
17249
|
-
function
|
|
17250
|
-
if (
|
|
17210
|
+
var Rn = {}, Yc;
|
|
17211
|
+
function Km() {
|
|
17212
|
+
if (Yc)
|
|
17251
17213
|
return Rn;
|
|
17252
|
-
|
|
17214
|
+
Yc = 1, Object.defineProperty(Rn, "__esModule", { value: !0 }), Rn.VoiceServiceRecognizer = void 0;
|
|
17253
17215
|
const t = V(), e = A(), r = R(), i = T(), p = Ne;
|
|
17254
17216
|
let a = class extends i.ServiceRecognizerBase {
|
|
17255
17217
|
constructor(n, o, c, u, d) {
|
|
@@ -17528,9 +17490,9 @@ var Gu = {};
|
|
|
17528
17490
|
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
17491
|
}(t.type || (t.type = {}));
|
|
17530
17492
|
})(Gu);
|
|
17531
|
-
var
|
|
17493
|
+
var ep;
|
|
17532
17494
|
function T() {
|
|
17533
|
-
return
|
|
17495
|
+
return ep || (ep = 1, function(t) {
|
|
17534
17496
|
var e = N && N.__createBinding || (Object.create ? function(a, s, n, o) {
|
|
17535
17497
|
o === void 0 && (o = n), Object.defineProperty(a, o, { enumerable: !0, get: function() {
|
|
17536
17498
|
return s[n];
|
|
@@ -17541,15 +17503,15 @@ function T() {
|
|
|
17541
17503
|
for (var n in a)
|
|
17542
17504
|
n !== "default" && !Object.prototype.hasOwnProperty.call(s, n) && e(s, a, n);
|
|
17543
17505
|
};
|
|
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(
|
|
17545
|
-
var i =
|
|
17506
|
+
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(zg(), t), r(jg(), t), r($i, t), r(Lg(), t), r(Bg(), t), r(qg(), t), r(ju, t), r(Ki, t), r(xg(), t), r(Ug(), t), r(Wg(), t), r(Vg(), t), r(Iu(), t), r(Hg(), t), r(Lu, t), r($g(), t), r(Ji, t), r(Jg(), t), r(Gg(), t), r(Gi, t), r(Qi, t), r(Xi, t), r(Qg(), t), r(Xg(), t), r(Zg(), t), r(Yg(), t), r(em(), t), r(Zi, t), r(rm(), t), r(Yi, t), r(Uu, t), r(es, t), r(rs, t), r(ns, t), r(gm(), t), r(os, t), r(Nm(), t), r(mo, t), r(Bm(), t), r(qm(), t);
|
|
17507
|
+
var i = Fm();
|
|
17546
17508
|
Object.defineProperty(t, "AvatarSynthesisAdapter", { enumerable: !0, get: function() {
|
|
17547
17509
|
return i.AvatarSynthesisAdapter;
|
|
17548
17510
|
} });
|
|
17549
|
-
var p =
|
|
17511
|
+
var p = xm();
|
|
17550
17512
|
Object.defineProperty(t, "SpeechSynthesisAdapter", { enumerable: !0, get: function() {
|
|
17551
17513
|
return p.SpeechSynthesisAdapter;
|
|
17552
|
-
} }), r(
|
|
17514
|
+
} }), r(Um(), t), r(Wm(), t), r(Vm(), t), r(Hm(), t), r($m(), t), r(Km(), t), r(Gu, t), t.OutputFormatPropertyName = "OutputFormat", t.CancellationErrorCodePropertyName = "CancellationErrorCode", t.ServicePropertiesPropertyName = "ServiceProperties", t.ForceDictationPropertyName = "ForceDictation", t.AutoDetectSourceLanguagesOpenRangeOptionName = "UND";
|
|
17553
17515
|
}(vs)), vs;
|
|
17554
17516
|
}
|
|
17555
17517
|
(function(t) {
|
|
@@ -17570,26 +17532,26 @@ function T() {
|
|
|
17570
17532
|
const $ = [];
|
|
17571
17533
|
for (let t = 0; t < 256; ++t)
|
|
17572
17534
|
$.push((t + 256).toString(16).slice(1));
|
|
17573
|
-
function
|
|
17535
|
+
function Jm(t, e = 0) {
|
|
17574
17536
|
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
17537
|
}
|
|
17576
17538
|
let zs;
|
|
17577
|
-
const
|
|
17578
|
-
function
|
|
17539
|
+
const Gm = new Uint8Array(16);
|
|
17540
|
+
function Qm() {
|
|
17579
17541
|
if (!zs) {
|
|
17580
17542
|
if (typeof crypto > "u" || !crypto.getRandomValues)
|
|
17581
17543
|
throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");
|
|
17582
17544
|
zs = crypto.getRandomValues.bind(crypto);
|
|
17583
17545
|
}
|
|
17584
|
-
return zs(
|
|
17546
|
+
return zs(Gm);
|
|
17585
17547
|
}
|
|
17586
|
-
const
|
|
17587
|
-
function
|
|
17548
|
+
const Xm = typeof crypto < "u" && crypto.randomUUID && crypto.randomUUID.bind(crypto), tp = { randomUUID: Xm };
|
|
17549
|
+
function Zm(t, e, r) {
|
|
17588
17550
|
var p;
|
|
17589
|
-
if (
|
|
17590
|
-
return
|
|
17551
|
+
if (tp.randomUUID && !e && !t)
|
|
17552
|
+
return tp.randomUUID();
|
|
17591
17553
|
t = t || {};
|
|
17592
|
-
const i = t.random ?? ((p = t.rng) == null ? void 0 : p.call(t)) ??
|
|
17554
|
+
const i = t.random ?? ((p = t.rng) == null ? void 0 : p.call(t)) ?? Qm();
|
|
17593
17555
|
if (i.length < 16)
|
|
17594
17556
|
throw new Error("Random bytes length must be >= 16");
|
|
17595
17557
|
if (i[6] = i[6] & 15 | 64, i[8] = i[8] & 63 | 128, e) {
|
|
@@ -17599,18 +17561,18 @@ function rS(t, e, r) {
|
|
|
17599
17561
|
e[r + a] = i[a];
|
|
17600
17562
|
return e;
|
|
17601
17563
|
}
|
|
17602
|
-
return
|
|
17564
|
+
return Jm(i);
|
|
17603
17565
|
}
|
|
17604
|
-
const Ot = sp(), be = op(), Et = De(""), ut = De(""),
|
|
17566
|
+
const Ot = sp(), be = op(), Et = De(""), ut = De(""), rp = De(""), Us = De("");
|
|
17605
17567
|
let Oe = null, Ws = [];
|
|
17606
17568
|
const Qu = De("");
|
|
17607
17569
|
let qe = null;
|
|
17608
|
-
const
|
|
17570
|
+
const np = 4e3;
|
|
17609
17571
|
ap(async () => {
|
|
17610
17572
|
be.authToken = await So();
|
|
17611
17573
|
});
|
|
17612
17574
|
let U = null, Tt = null, ye = null, $n = null, It = null;
|
|
17613
|
-
const ds = () => {
|
|
17575
|
+
const ip = `${window.location.origin}/src/assets/ffmpeg`, ds = () => {
|
|
17614
17576
|
ye && ye.mute(), U && (U.close(), U = null), Tt = null;
|
|
17615
17577
|
}, So = async () => {
|
|
17616
17578
|
var t, e, r;
|
|
@@ -17624,7 +17586,7 @@ const ds = () => {
|
|
|
17624
17586
|
} else
|
|
17625
17587
|
Ot.setError("There was an issue while fetching data");
|
|
17626
17588
|
}
|
|
17627
|
-
},
|
|
17589
|
+
}, DC = () => {
|
|
17628
17590
|
qe && clearTimeout(qe), $n && ($n.stopContinuousRecognitionAsync(
|
|
17629
17591
|
() => {
|
|
17630
17592
|
},
|
|
@@ -17632,12 +17594,12 @@ const ds = () => {
|
|
|
17632
17594
|
console.error("Error stopping recognition", t);
|
|
17633
17595
|
}
|
|
17634
17596
|
), $n = null), Oe && Oe.state !== "inactive" && Oe.stop();
|
|
17635
|
-
},
|
|
17597
|
+
}, Ym = async (t) => (be.authToken = await So(), await ds(), new Promise((e, r) => {
|
|
17636
17598
|
const i = Re.SpeechConfig.fromAuthorizationToken(be.authToken, "eastus2");
|
|
17637
17599
|
i.speechSynthesisVoiceName = "en-US-EmmaMultilingualNeural", ye = new Re.SpeakerAudioDestination();
|
|
17638
17600
|
const p = Re.AudioConfig.fromSpeakerOutput(ye);
|
|
17639
17601
|
U = new Re.SpeechSynthesizer(i, p);
|
|
17640
|
-
const a =
|
|
17602
|
+
const a = Zm();
|
|
17641
17603
|
Tt = a, U.speakTextAsync(
|
|
17642
17604
|
t,
|
|
17643
17605
|
(s) => {
|
|
@@ -17651,7 +17613,7 @@ const ds = () => {
|
|
|
17651
17613
|
U == null || U.close(), U = null, Tt = null, r(s);
|
|
17652
17614
|
}
|
|
17653
17615
|
);
|
|
17654
|
-
})),
|
|
17616
|
+
})), eS = async (t) => {
|
|
17655
17617
|
be.authToken = await So();
|
|
17656
17618
|
const e = Re.SpeechConfig.fromAuthorizationToken(be.authToken, "eastus2");
|
|
17657
17619
|
e.speechRecognitionLanguage = "en-US";
|
|
@@ -17659,23 +17621,23 @@ const ds = () => {
|
|
|
17659
17621
|
return $n = i, Et.value = "", ut.value = "", await Xu(), i.recognizing = (p, a) => {
|
|
17660
17622
|
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
17623
|
Et.value && (t(Et.value.trim()), Et.value = "");
|
|
17662
|
-
},
|
|
17624
|
+
}, np));
|
|
17663
17625
|
}, i.recognized = async (p, a) => {
|
|
17664
17626
|
a.result.reason === Re.ResultReason.RecognizedSpeech && a.result.text && a.result.text.trim() && (ut.value += " " + a.result.text.trim(), qe && clearTimeout(qe), qe = setTimeout(async () => {
|
|
17665
17627
|
ut.value && (t(ut.value), console.log("Audio stop recording"), ut.value = "");
|
|
17666
|
-
},
|
|
17628
|
+
}, np));
|
|
17667
17629
|
}, i.canceled = async (p, a) => {
|
|
17668
17630
|
console.error("Recognition canceled:", a), console.log("Audio stop recording");
|
|
17669
17631
|
}, i.startContinuousRecognitionAsync(), i;
|
|
17670
|
-
},
|
|
17632
|
+
}, kC = async () => {
|
|
17671
17633
|
var t, e;
|
|
17672
|
-
|
|
17634
|
+
rp.value = "", Qu.value = "";
|
|
17673
17635
|
try {
|
|
17674
|
-
ds(), await
|
|
17636
|
+
ds(), await eS(async (r) => {
|
|
17675
17637
|
if (r) {
|
|
17676
17638
|
console.log("triggering Audio sentiment:");
|
|
17677
|
-
const i = await
|
|
17678
|
-
console.log("Audio sentiment:", i),
|
|
17639
|
+
const i = await tS();
|
|
17640
|
+
console.log("Audio sentiment:", i), rp.value = r;
|
|
17679
17641
|
const p = Xu();
|
|
17680
17642
|
}
|
|
17681
17643
|
});
|
|
@@ -17686,11 +17648,11 @@ const ds = () => {
|
|
|
17686
17648
|
} else
|
|
17687
17649
|
Ot.setError("There was an issue while fetching data");
|
|
17688
17650
|
}
|
|
17689
|
-
},
|
|
17651
|
+
}, NC = async (t) => {
|
|
17690
17652
|
var e, r;
|
|
17691
17653
|
Qu.value = "";
|
|
17692
17654
|
try {
|
|
17693
|
-
(Us.value == "user" || Us.value == "listening") && ds(), await
|
|
17655
|
+
(Us.value == "user" || Us.value == "listening") && ds(), await Ym(t);
|
|
17694
17656
|
} catch (i) {
|
|
17695
17657
|
if (console.error(i), wn.isAxiosError(i)) {
|
|
17696
17658
|
const p = i;
|
|
@@ -17709,7 +17671,7 @@ async function Xu() {
|
|
|
17709
17671
|
console.error("Error starting audio recording:", t);
|
|
17710
17672
|
}
|
|
17711
17673
|
}
|
|
17712
|
-
async function
|
|
17674
|
+
async function tS() {
|
|
17713
17675
|
return new Promise((t, e) => {
|
|
17714
17676
|
if (!Oe)
|
|
17715
17677
|
return e("No active recorder found");
|
|
@@ -17719,10 +17681,10 @@ async function sS() {
|
|
|
17719
17681
|
Ws = [];
|
|
17720
17682
|
try {
|
|
17721
17683
|
console.log("Sending audio for analysis...");
|
|
17722
|
-
const s = await
|
|
17684
|
+
const s = await rS(r);
|
|
17723
17685
|
console.log("Converting WebM to MP3...", s);
|
|
17724
17686
|
const o = {
|
|
17725
|
-
audio: await
|
|
17687
|
+
audio: await iS(s),
|
|
17726
17688
|
format: "mp3",
|
|
17727
17689
|
finalAnalysis: !1
|
|
17728
17690
|
};
|
|
@@ -17739,12 +17701,12 @@ async function sS() {
|
|
|
17739
17701
|
}, Oe.stop(), console.log("Audio recording stopped");
|
|
17740
17702
|
});
|
|
17741
17703
|
}
|
|
17742
|
-
async function
|
|
17704
|
+
async function rS(t) {
|
|
17743
17705
|
try {
|
|
17744
17706
|
console.log("⏳ Initializing FFmpeg...");
|
|
17745
|
-
const e = await
|
|
17707
|
+
const e = await nS();
|
|
17746
17708
|
console.log("✅ FFmpeg loaded");
|
|
17747
|
-
const r = await
|
|
17709
|
+
const r = await mh(t);
|
|
17748
17710
|
e.writeFile("input.webm", r), await e.exec([
|
|
17749
17711
|
"-i",
|
|
17750
17712
|
"input.webm",
|
|
@@ -17769,24 +17731,18 @@ async function oS(t) {
|
|
|
17769
17731
|
throw console.error("❌ Error:", e), e;
|
|
17770
17732
|
}
|
|
17771
17733
|
}
|
|
17772
|
-
function
|
|
17773
|
-
const e = document.createElement("a");
|
|
17774
|
-
return e.href = t, e.href;
|
|
17775
|
-
}
|
|
17776
|
-
async function cS() {
|
|
17734
|
+
async function nS() {
|
|
17777
17735
|
if (It != null && It.loaded)
|
|
17778
17736
|
return It;
|
|
17779
17737
|
const t = It || new fh();
|
|
17780
|
-
t.on("log", ({ message:
|
|
17781
|
-
console.log(
|
|
17782
|
-
})
|
|
17783
|
-
|
|
17784
|
-
|
|
17785
|
-
coreURL: await wo("/ffmpeg-core.js", "text/javascript"),
|
|
17786
|
-
wasmURL: await wo("/ffmpeg-core.wasm", "application/wasm")
|
|
17738
|
+
return t.on("log", ({ message: e }) => {
|
|
17739
|
+
console.log(e);
|
|
17740
|
+
}), await t.load({
|
|
17741
|
+
coreURL: `${ip}/ffmpeg-core.js`,
|
|
17742
|
+
wasmURL: `${ip}/ffmpeg-core.wasm`
|
|
17787
17743
|
}), It = t, t;
|
|
17788
17744
|
}
|
|
17789
|
-
const
|
|
17745
|
+
const iS = (t) => new Promise((e, r) => {
|
|
17790
17746
|
const i = new FileReader();
|
|
17791
17747
|
i.onloadend = () => {
|
|
17792
17748
|
const p = i.result.split(",")[1];
|
|
@@ -17794,17 +17750,17 @@ const pS = (t) => new Promise((e, r) => {
|
|
|
17794
17750
|
}, i.onerror = r, i.readAsDataURL(t);
|
|
17795
17751
|
});
|
|
17796
17752
|
export {
|
|
17797
|
-
|
|
17753
|
+
kC as a,
|
|
17798
17754
|
ch as b,
|
|
17799
|
-
|
|
17800
|
-
|
|
17801
|
-
|
|
17755
|
+
DC as c,
|
|
17756
|
+
pS as d,
|
|
17757
|
+
uS as e,
|
|
17802
17758
|
ds as f,
|
|
17803
17759
|
So as g,
|
|
17804
17760
|
up as h,
|
|
17805
17761
|
Us as i,
|
|
17806
17762
|
_e as m,
|
|
17807
|
-
|
|
17808
|
-
|
|
17763
|
+
NC as p,
|
|
17764
|
+
rp as r,
|
|
17809
17765
|
To as s
|
|
17810
17766
|
};
|