tabby-rdp 0.5.6 → 0.5.7
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/CHANGELOG.md +26 -0
- package/README.md +6 -1
- package/dist/desktop.service.js +49 -2
- package/dist/diagnosticLog.js +106 -0
- package/dist/ironrdp.js +3 -2
- package/dist/sessionLog.js +5 -0
- package/dist/settingsPage.js +17 -0
- package/dist/ui.js +3 -0
- package/package.json +5 -2
- package/vendor/SHA256SUMS +6 -3
- package/vendor/iron-remote-desktop-rdp.js +297 -297
- package/vendor/ironrdp-factory.js +299 -299
- package/vendor/ironrdp_web_bg.wasm +0 -0
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
// Generated by scripts/make-ironrdp-factory.mjs from iron-remote-desktop-rdp.js.
|
|
2
|
-
export async function createBackend (__trdModule, __trdLevel = 'INFO') {
|
|
2
|
+
export async function createBackend (__trdModule, __trdLevel = 'INFO', __trdLogSink) {
|
|
3
3
|
if (!(__trdModule instanceof WebAssembly.Module)) throw new TypeError('createBackend needs a compiled WebAssembly.Module');
|
|
4
4
|
let __trdTrap;
|
|
5
5
|
const __trdListeners = new Set();
|
|
@@ -84,7 +84,7 @@ class d {
|
|
|
84
84
|
* @param {Uint8Array} binary
|
|
85
85
|
*/
|
|
86
86
|
addBinary(A, I) {
|
|
87
|
-
const g = F(A, C.__wbindgen_malloc, C.__wbindgen_realloc), B = R, E =
|
|
87
|
+
const g = F(A, C.__wbindgen_malloc, C.__wbindgen_realloc), B = R, E = OA(I, C.__wbindgen_malloc), D = R;
|
|
88
88
|
C.clipboarddata_addBinary(this.__wbg_ptr, g, B, E, D);
|
|
89
89
|
}
|
|
90
90
|
/**
|
|
@@ -110,14 +110,14 @@ class d {
|
|
|
110
110
|
*/
|
|
111
111
|
items() {
|
|
112
112
|
const A = C.clipboarddata_items(this.__wbg_ptr);
|
|
113
|
-
var I =
|
|
113
|
+
var I = VA(A[0], A[1]).slice();
|
|
114
114
|
return C.__wbindgen_free(A[0], A[1] * 4, 4), I;
|
|
115
115
|
}
|
|
116
116
|
}
|
|
117
117
|
Symbol.dispose && (d.prototype[Symbol.dispose] = d.prototype.free);
|
|
118
|
-
class
|
|
118
|
+
class n {
|
|
119
119
|
static __wrap(A) {
|
|
120
|
-
const I = Object.create(
|
|
120
|
+
const I = Object.create(n.prototype);
|
|
121
121
|
return I.__wbg_ptr = A, wA.register(I, I.__wbg_ptr, I), I;
|
|
122
122
|
}
|
|
123
123
|
__destroy_into_raw() {
|
|
@@ -147,10 +147,10 @@ class r {
|
|
|
147
147
|
return C.clipboarditem_value(this.__wbg_ptr);
|
|
148
148
|
}
|
|
149
149
|
}
|
|
150
|
-
Symbol.dispose && (
|
|
151
|
-
class
|
|
150
|
+
Symbol.dispose && (n.prototype[Symbol.dispose] = n.prototype.free);
|
|
151
|
+
class l {
|
|
152
152
|
static __wrap(A) {
|
|
153
|
-
const I = Object.create(
|
|
153
|
+
const I = Object.create(l.prototype);
|
|
154
154
|
return I.__wbg_ptr = A, AA.register(I, I.__wbg_ptr, I), I;
|
|
155
155
|
}
|
|
156
156
|
__destroy_into_raw() {
|
|
@@ -194,7 +194,7 @@ class V {
|
|
|
194
194
|
C.__wbg_set_desktopsize_width(this.__wbg_ptr, A);
|
|
195
195
|
}
|
|
196
196
|
}
|
|
197
|
-
Symbol.dispose && (
|
|
197
|
+
Symbol.dispose && (l.prototype[Symbol.dispose] = l.prototype.free);
|
|
198
198
|
class h {
|
|
199
199
|
static __wrap(A) {
|
|
200
200
|
const I = Object.create(h.prototype);
|
|
@@ -255,7 +255,7 @@ class h {
|
|
|
255
255
|
*/
|
|
256
256
|
static unicodePressed(A) {
|
|
257
257
|
const I = A.codePointAt(0);
|
|
258
|
-
|
|
258
|
+
UA(I);
|
|
259
259
|
const g = C.deviceevent_unicodePressed(I);
|
|
260
260
|
return h.__wrap(g);
|
|
261
261
|
}
|
|
@@ -265,7 +265,7 @@ class h {
|
|
|
265
265
|
*/
|
|
266
266
|
static unicodeReleased(A) {
|
|
267
267
|
const I = A.codePointAt(0);
|
|
268
|
-
|
|
268
|
+
UA(I);
|
|
269
269
|
const g = C.deviceevent_unicodeReleased(I);
|
|
270
270
|
return h.__wrap(g);
|
|
271
271
|
}
|
|
@@ -313,7 +313,7 @@ class _ {
|
|
|
313
313
|
* @param {DeviceEvent} event
|
|
314
314
|
*/
|
|
315
315
|
addEvent(A) {
|
|
316
|
-
|
|
316
|
+
t(A, h);
|
|
317
317
|
var I = A.__destroy_into_raw();
|
|
318
318
|
C.inputtransaction_addEvent(this.__wbg_ptr, I);
|
|
319
319
|
}
|
|
@@ -323,9 +323,9 @@ class _ {
|
|
|
323
323
|
}
|
|
324
324
|
}
|
|
325
325
|
Symbol.dispose && (_.prototype[Symbol.dispose] = _.prototype.free);
|
|
326
|
-
class
|
|
326
|
+
class r {
|
|
327
327
|
static __wrap(A) {
|
|
328
|
-
const I = Object.create(
|
|
328
|
+
const I = Object.create(r.prototype);
|
|
329
329
|
return I.__wbg_ptr = A, kA.register(I, I.__wbg_ptr, I), I;
|
|
330
330
|
}
|
|
331
331
|
__destroy_into_raw() {
|
|
@@ -359,13 +359,13 @@ class n {
|
|
|
359
359
|
*/
|
|
360
360
|
rdcleanpathDetails() {
|
|
361
361
|
const A = C.ironerror_rdcleanpathDetails(this.__wbg_ptr);
|
|
362
|
-
return A === 0 ? void 0 :
|
|
362
|
+
return A === 0 ? void 0 : P.__wrap(A);
|
|
363
363
|
}
|
|
364
364
|
}
|
|
365
|
-
Symbol.dispose && (
|
|
366
|
-
class
|
|
365
|
+
Symbol.dispose && (r.prototype[Symbol.dispose] = r.prototype.free);
|
|
366
|
+
class P {
|
|
367
367
|
static __wrap(A) {
|
|
368
|
-
const I = Object.create(
|
|
368
|
+
const I = Object.create(P.prototype);
|
|
369
369
|
return I.__wbg_ptr = A, RA.register(I, I.__wbg_ptr, I), I;
|
|
370
370
|
}
|
|
371
371
|
__destroy_into_raw() {
|
|
@@ -422,7 +422,7 @@ class z {
|
|
|
422
422
|
return A === 16777215 ? void 0 : A;
|
|
423
423
|
}
|
|
424
424
|
}
|
|
425
|
-
Symbol.dispose && (
|
|
425
|
+
Symbol.dispose && (P.prototype[Symbol.dispose] = P.prototype.free);
|
|
426
426
|
class iA {
|
|
427
427
|
__destroy_into_raw() {
|
|
428
428
|
const A = this.__wbg_ptr;
|
|
@@ -490,9 +490,9 @@ class iA {
|
|
|
490
490
|
}
|
|
491
491
|
}
|
|
492
492
|
Symbol.dispose && (iA.prototype[Symbol.dispose] = iA.prototype.free);
|
|
493
|
-
class
|
|
493
|
+
class z {
|
|
494
494
|
static __wrap(A) {
|
|
495
|
-
const I = Object.create(
|
|
495
|
+
const I = Object.create(z.prototype);
|
|
496
496
|
return I.__wbg_ptr = A, yA.register(I, I.__wbg_ptr, I), I;
|
|
497
497
|
}
|
|
498
498
|
__destroy_into_raw() {
|
|
@@ -507,42 +507,42 @@ class P {
|
|
|
507
507
|
* @param {InputTransaction} transaction
|
|
508
508
|
*/
|
|
509
509
|
applyInputs(A) {
|
|
510
|
-
|
|
510
|
+
t(A, _);
|
|
511
511
|
var I = A.__destroy_into_raw();
|
|
512
512
|
const g = C.session_applyInputs(this.__wbg_ptr, I);
|
|
513
513
|
if (g[1])
|
|
514
|
-
throw
|
|
514
|
+
throw Z(g[0]);
|
|
515
515
|
}
|
|
516
516
|
/**
|
|
517
517
|
* @returns {DesktopSize}
|
|
518
518
|
*/
|
|
519
519
|
desktopSize() {
|
|
520
520
|
const A = C.session_desktopSize(this.__wbg_ptr);
|
|
521
|
-
return
|
|
521
|
+
return l.__wrap(A);
|
|
522
522
|
}
|
|
523
523
|
/**
|
|
524
524
|
* @param {Extension} ext
|
|
525
525
|
* @returns {any}
|
|
526
526
|
*/
|
|
527
527
|
invokeExtension(A) {
|
|
528
|
-
|
|
528
|
+
t(A, k);
|
|
529
529
|
var I = A.__destroy_into_raw();
|
|
530
530
|
const g = C.session_invokeExtension(this.__wbg_ptr, I);
|
|
531
531
|
if (g[2])
|
|
532
|
-
throw
|
|
533
|
-
return
|
|
532
|
+
throw Z(g[1]);
|
|
533
|
+
return Z(g[0]);
|
|
534
534
|
}
|
|
535
535
|
/**
|
|
536
536
|
* @param {ClipboardData} content
|
|
537
537
|
* @returns {Promise<void>}
|
|
538
538
|
*/
|
|
539
539
|
onClipboardPaste(A) {
|
|
540
|
-
return
|
|
540
|
+
return t(A, d), C.session_onClipboardPaste(this.__wbg_ptr, A.__wbg_ptr);
|
|
541
541
|
}
|
|
542
542
|
releaseAllInputs() {
|
|
543
543
|
const A = C.session_releaseAllInputs(this.__wbg_ptr);
|
|
544
544
|
if (A[1])
|
|
545
|
-
throw
|
|
545
|
+
throw Z(A[0]);
|
|
546
546
|
}
|
|
547
547
|
/**
|
|
548
548
|
* @param {number} width
|
|
@@ -552,7 +552,7 @@ class P {
|
|
|
552
552
|
* @param {number | null} [physical_height]
|
|
553
553
|
*/
|
|
554
554
|
resize(A, I, g, B, E) {
|
|
555
|
-
C.session_resize(this.__wbg_ptr, A, I,
|
|
555
|
+
C.session_resize(this.__wbg_ptr, A, I, a(g) ? Number.MAX_SAFE_INTEGER : g >>> 0, a(B) ? Number.MAX_SAFE_INTEGER : B >>> 0, a(E) ? Number.MAX_SAFE_INTEGER : E >>> 0);
|
|
556
556
|
}
|
|
557
557
|
/**
|
|
558
558
|
* @returns {Promise<SessionTerminationInfo>}
|
|
@@ -563,7 +563,7 @@ class P {
|
|
|
563
563
|
shutdown() {
|
|
564
564
|
const A = C.session_shutdown(this.__wbg_ptr);
|
|
565
565
|
if (A[1])
|
|
566
|
-
throw
|
|
566
|
+
throw Z(A[0]);
|
|
567
567
|
}
|
|
568
568
|
/**
|
|
569
569
|
* @returns {boolean}
|
|
@@ -580,13 +580,13 @@ class P {
|
|
|
580
580
|
synchronizeLockKeys(A, I, g, B) {
|
|
581
581
|
const E = C.session_synchronizeLockKeys(this.__wbg_ptr, A, I, g, B);
|
|
582
582
|
if (E[1])
|
|
583
|
-
throw
|
|
583
|
+
throw Z(E[0]);
|
|
584
584
|
}
|
|
585
585
|
}
|
|
586
|
-
Symbol.dispose && (
|
|
587
|
-
class
|
|
586
|
+
Symbol.dispose && (z.prototype[Symbol.dispose] = z.prototype.free);
|
|
587
|
+
class Y {
|
|
588
588
|
static __wrap(A) {
|
|
589
|
-
const I = Object.create(
|
|
589
|
+
const I = Object.create(Y.prototype);
|
|
590
590
|
return I.__wbg_ptr = A, IA.register(I, I.__wbg_ptr, I), I;
|
|
591
591
|
}
|
|
592
592
|
__destroy_into_raw() {
|
|
@@ -603,7 +603,7 @@ class J {
|
|
|
603
603
|
*/
|
|
604
604
|
authToken(A) {
|
|
605
605
|
const I = F(A, C.__wbindgen_malloc, C.__wbindgen_realloc), g = R, B = C.sessionbuilder_authToken(this.__wbg_ptr, I, g);
|
|
606
|
-
return
|
|
606
|
+
return Y.__wrap(B);
|
|
607
607
|
}
|
|
608
608
|
/**
|
|
609
609
|
* @param {Function} callback
|
|
@@ -611,7 +611,7 @@ class J {
|
|
|
611
611
|
*/
|
|
612
612
|
canvasResizedCallback(A) {
|
|
613
613
|
const I = C.sessionbuilder_canvasResizedCallback(this.__wbg_ptr, A);
|
|
614
|
-
return
|
|
614
|
+
return Y.__wrap(I);
|
|
615
615
|
}
|
|
616
616
|
/**
|
|
617
617
|
* @returns {Promise<Session>}
|
|
@@ -628,10 +628,10 @@ class J {
|
|
|
628
628
|
* @returns {SessionBuilder}
|
|
629
629
|
*/
|
|
630
630
|
desktopSize(A) {
|
|
631
|
-
|
|
631
|
+
t(A, l);
|
|
632
632
|
var I = A.__destroy_into_raw();
|
|
633
633
|
const g = C.sessionbuilder_desktopSize(this.__wbg_ptr, I);
|
|
634
|
-
return
|
|
634
|
+
return Y.__wrap(g);
|
|
635
635
|
}
|
|
636
636
|
/**
|
|
637
637
|
* @param {string} destination
|
|
@@ -639,17 +639,17 @@ class J {
|
|
|
639
639
|
*/
|
|
640
640
|
destination(A) {
|
|
641
641
|
const I = F(A, C.__wbindgen_malloc, C.__wbindgen_realloc), g = R, B = C.sessionbuilder_destination(this.__wbg_ptr, I, g);
|
|
642
|
-
return
|
|
642
|
+
return Y.__wrap(B);
|
|
643
643
|
}
|
|
644
644
|
/**
|
|
645
645
|
* @param {Extension} ext
|
|
646
646
|
* @returns {SessionBuilder}
|
|
647
647
|
*/
|
|
648
648
|
extension(A) {
|
|
649
|
-
|
|
649
|
+
t(A, k);
|
|
650
650
|
var I = A.__destroy_into_raw();
|
|
651
651
|
const g = C.sessionbuilder_extension(this.__wbg_ptr, I);
|
|
652
|
-
return
|
|
652
|
+
return Y.__wrap(g);
|
|
653
653
|
}
|
|
654
654
|
/**
|
|
655
655
|
* @param {Function} callback
|
|
@@ -657,7 +657,7 @@ class J {
|
|
|
657
657
|
*/
|
|
658
658
|
forceClipboardUpdateCallback(A) {
|
|
659
659
|
const I = C.sessionbuilder_forceClipboardUpdateCallback(this.__wbg_ptr, A);
|
|
660
|
-
return
|
|
660
|
+
return Y.__wrap(I);
|
|
661
661
|
}
|
|
662
662
|
/**
|
|
663
663
|
* @param {string} password
|
|
@@ -665,7 +665,7 @@ class J {
|
|
|
665
665
|
*/
|
|
666
666
|
password(A) {
|
|
667
667
|
const I = F(A, C.__wbindgen_malloc, C.__wbindgen_realloc), g = R, B = C.sessionbuilder_password(this.__wbg_ptr, I, g);
|
|
668
|
-
return
|
|
668
|
+
return Y.__wrap(B);
|
|
669
669
|
}
|
|
670
670
|
/**
|
|
671
671
|
* @param {string} address
|
|
@@ -673,7 +673,7 @@ class J {
|
|
|
673
673
|
*/
|
|
674
674
|
proxyAddress(A) {
|
|
675
675
|
const I = F(A, C.__wbindgen_malloc, C.__wbindgen_realloc), g = R, B = C.sessionbuilder_proxyAddress(this.__wbg_ptr, I, g);
|
|
676
|
-
return
|
|
676
|
+
return Y.__wrap(B);
|
|
677
677
|
}
|
|
678
678
|
/**
|
|
679
679
|
* @param {Function} callback
|
|
@@ -681,7 +681,7 @@ class J {
|
|
|
681
681
|
*/
|
|
682
682
|
remoteClipboardChangedCallback(A) {
|
|
683
683
|
const I = C.sessionbuilder_remoteClipboardChangedCallback(this.__wbg_ptr, A);
|
|
684
|
-
return
|
|
684
|
+
return Y.__wrap(I);
|
|
685
685
|
}
|
|
686
686
|
/**
|
|
687
687
|
* @param {HTMLCanvasElement} canvas
|
|
@@ -689,7 +689,7 @@ class J {
|
|
|
689
689
|
*/
|
|
690
690
|
renderCanvas(A) {
|
|
691
691
|
const I = C.sessionbuilder_renderCanvas(this.__wbg_ptr, A);
|
|
692
|
-
return
|
|
692
|
+
return Y.__wrap(I);
|
|
693
693
|
}
|
|
694
694
|
/**
|
|
695
695
|
* @param {string} server_domain
|
|
@@ -697,7 +697,7 @@ class J {
|
|
|
697
697
|
*/
|
|
698
698
|
serverDomain(A) {
|
|
699
699
|
const I = F(A, C.__wbindgen_malloc, C.__wbindgen_realloc), g = R, B = C.sessionbuilder_serverDomain(this.__wbg_ptr, I, g);
|
|
700
|
-
return
|
|
700
|
+
return Y.__wrap(B);
|
|
701
701
|
}
|
|
702
702
|
/**
|
|
703
703
|
* @param {Function} callback
|
|
@@ -705,7 +705,7 @@ class J {
|
|
|
705
705
|
*/
|
|
706
706
|
setCursorStyleCallback(A) {
|
|
707
707
|
const I = C.sessionbuilder_setCursorStyleCallback(this.__wbg_ptr, A);
|
|
708
|
-
return
|
|
708
|
+
return Y.__wrap(I);
|
|
709
709
|
}
|
|
710
710
|
/**
|
|
711
711
|
* @param {any} context
|
|
@@ -713,7 +713,7 @@ class J {
|
|
|
713
713
|
*/
|
|
714
714
|
setCursorStyleCallbackContext(A) {
|
|
715
715
|
const I = C.sessionbuilder_setCursorStyleCallbackContext(this.__wbg_ptr, A);
|
|
716
|
-
return
|
|
716
|
+
return Y.__wrap(I);
|
|
717
717
|
}
|
|
718
718
|
/**
|
|
719
719
|
* @param {string} username
|
|
@@ -721,18 +721,18 @@ class J {
|
|
|
721
721
|
*/
|
|
722
722
|
username(A) {
|
|
723
723
|
const I = F(A, C.__wbindgen_malloc, C.__wbindgen_realloc), g = R, B = C.sessionbuilder_username(this.__wbg_ptr, I, g);
|
|
724
|
-
return
|
|
724
|
+
return Y.__wrap(B);
|
|
725
725
|
}
|
|
726
726
|
}
|
|
727
|
-
Symbol.dispose && (
|
|
728
|
-
class
|
|
727
|
+
Symbol.dispose && (Y.prototype[Symbol.dispose] = Y.prototype.free);
|
|
728
|
+
class e {
|
|
729
729
|
static __wrap(A) {
|
|
730
|
-
const I = Object.create(
|
|
731
|
-
return I.__wbg_ptr = A,
|
|
730
|
+
const I = Object.create(e.prototype);
|
|
731
|
+
return I.__wbg_ptr = A, MA.register(I, I.__wbg_ptr, I), I;
|
|
732
732
|
}
|
|
733
733
|
__destroy_into_raw() {
|
|
734
734
|
const A = this.__wbg_ptr;
|
|
735
|
-
return this.__wbg_ptr = 0,
|
|
735
|
+
return this.__wbg_ptr = 0, MA.unregister(this), A;
|
|
736
736
|
}
|
|
737
737
|
free() {
|
|
738
738
|
const A = this.__destroy_into_raw();
|
|
@@ -751,23 +751,23 @@ class v {
|
|
|
751
751
|
}
|
|
752
752
|
}
|
|
753
753
|
}
|
|
754
|
-
Symbol.dispose && (
|
|
755
|
-
function hA(Q) {
|
|
756
|
-
const
|
|
757
|
-
C.setup(
|
|
754
|
+
Symbol.dispose && (e.prototype[Symbol.dispose] = e.prototype.free);
|
|
755
|
+
function hA(Q, A) {
|
|
756
|
+
const I = F(Q, C.__wbindgen_malloc, C.__wbindgen_realloc), g = R;
|
|
757
|
+
C.setup(I, g, A);
|
|
758
758
|
}
|
|
759
|
-
function
|
|
759
|
+
function SA() {
|
|
760
760
|
return {
|
|
761
761
|
__proto__: null,
|
|
762
762
|
"./ironrdp_web_bg.js": {
|
|
763
763
|
__proto__: null,
|
|
764
764
|
__wbg___wbindgen_boolean_get_fa956cfa2d1bd751: function(A) {
|
|
765
765
|
const I = A, g = typeof I == "boolean" ? I : void 0;
|
|
766
|
-
return
|
|
766
|
+
return a(g) ? 16777215 : g ? 1 : 0;
|
|
767
767
|
},
|
|
768
768
|
__wbg___wbindgen_debug_string_c25d447a39f5578f: function(A, I) {
|
|
769
769
|
const g = QA(I), B = F(g, C.__wbindgen_malloc, C.__wbindgen_realloc), E = R;
|
|
770
|
-
|
|
770
|
+
M().setInt32(A + 4, E, true), M().setInt32(A + 0, B, true);
|
|
771
771
|
},
|
|
772
772
|
__wbg___wbindgen_is_function_1ff95bcc5517c252: function(A) {
|
|
773
773
|
return typeof A == "function";
|
|
@@ -787,12 +787,12 @@ function aA() {
|
|
|
787
787
|
},
|
|
788
788
|
__wbg___wbindgen_number_get_394265ed1e1b84ee: function(A, I) {
|
|
789
789
|
const g = I, B = typeof g == "number" ? g : void 0;
|
|
790
|
-
|
|
790
|
+
M().setFloat64(A + 8, a(B) ? 0 : B, true), M().setInt32(A + 0, !a(B), true);
|
|
791
791
|
},
|
|
792
792
|
__wbg___wbindgen_string_get_b0ca35b86a603356: function(A, I) {
|
|
793
793
|
const g = I, B = typeof g == "string" ? g : void 0;
|
|
794
|
-
var E =
|
|
795
|
-
|
|
794
|
+
var E = a(B) ? 0 : F(B, C.__wbindgen_malloc, C.__wbindgen_realloc), D = R;
|
|
795
|
+
M().setInt32(A + 4, D, true), M().setInt32(A + 0, E, true);
|
|
796
796
|
},
|
|
797
797
|
__wbg___wbindgen_throw_344f42d3211c4765: function(A, I) {
|
|
798
798
|
throw new Error(y(A, I));
|
|
@@ -850,7 +850,7 @@ function aA() {
|
|
|
850
850
|
return d.__wrap(A);
|
|
851
851
|
},
|
|
852
852
|
__wbg_clipboarditem_new: function(A) {
|
|
853
|
-
return
|
|
853
|
+
return n.__wrap(A);
|
|
854
854
|
},
|
|
855
855
|
__wbg_close_c65ca0257e895318: function() {
|
|
856
856
|
return o(function(A) {
|
|
@@ -891,22 +891,22 @@ function aA() {
|
|
|
891
891
|
__wbg_getContext_e79ddf6a9cb3cc76: function() {
|
|
892
892
|
return o(function(A, I, g) {
|
|
893
893
|
const B = A.getContext(y(I, g));
|
|
894
|
-
return
|
|
894
|
+
return a(B) ? 0 : q(B);
|
|
895
895
|
}, arguments);
|
|
896
896
|
},
|
|
897
897
|
__wbg_getRandomValues_3f44b700395062e5: function() {
|
|
898
898
|
return o(function(A, I) {
|
|
899
|
-
globalThis.crypto.getRandomValues(
|
|
899
|
+
globalThis.crypto.getRandomValues(O(A, I));
|
|
900
900
|
}, arguments);
|
|
901
901
|
},
|
|
902
902
|
__wbg_getRandomValues_bf16787eede473f5: function() {
|
|
903
903
|
return o(function(A, I) {
|
|
904
|
-
globalThis.crypto.getRandomValues(
|
|
904
|
+
globalThis.crypto.getRandomValues(O(A, I));
|
|
905
905
|
}, arguments);
|
|
906
906
|
},
|
|
907
907
|
__wbg_getRandomValues_cc7f052a444bb2ce: function() {
|
|
908
908
|
return o(function(A, I) {
|
|
909
|
-
globalThis.crypto.getRandomValues(
|
|
909
|
+
globalThis.crypto.getRandomValues(O(A, I));
|
|
910
910
|
}, arguments);
|
|
911
911
|
},
|
|
912
912
|
__wbg_getTime_d6f070c088c9b5ed: function(A) {
|
|
@@ -993,7 +993,7 @@ function aA() {
|
|
|
993
993
|
return I;
|
|
994
994
|
},
|
|
995
995
|
__wbg_ironerror_new: function(A) {
|
|
996
|
-
return
|
|
996
|
+
return r.__wrap(A);
|
|
997
997
|
},
|
|
998
998
|
__wbg_isArray_0677c962b281d01a: function(A) {
|
|
999
999
|
return Array.isArray(A);
|
|
@@ -1052,7 +1052,7 @@ function aA() {
|
|
|
1052
1052
|
return new Uint32Array(WA(A, I));
|
|
1053
1053
|
},
|
|
1054
1054
|
__wbg_new_from_slice_77cdfb7977362f3c: function(A, I) {
|
|
1055
|
-
return new Uint8Array(
|
|
1055
|
+
return new Uint8Array(O(A, I));
|
|
1056
1056
|
},
|
|
1057
1057
|
__wbg_new_typed_1824d93f294193e5: function(A, I) {
|
|
1058
1058
|
try {
|
|
@@ -1060,7 +1060,7 @@ function aA() {
|
|
|
1060
1060
|
const w = g.a;
|
|
1061
1061
|
g.a = 0;
|
|
1062
1062
|
try {
|
|
1063
|
-
return
|
|
1063
|
+
return ZA(w, g.b, D, i);
|
|
1064
1064
|
} finally {
|
|
1065
1065
|
g.a = w;
|
|
1066
1066
|
}
|
|
@@ -1092,7 +1092,7 @@ function aA() {
|
|
|
1092
1092
|
},
|
|
1093
1093
|
__wbg_new_with_u8_clamped_array_and_sh_2767e4741c267d25: function() {
|
|
1094
1094
|
return o(function(A, I, g, B) {
|
|
1095
|
-
return new ImageData(
|
|
1095
|
+
return new ImageData(tA(A, I), g >>> 0, B >>> 0);
|
|
1096
1096
|
}, arguments);
|
|
1097
1097
|
},
|
|
1098
1098
|
__wbg_now_390768da5ee9e776: function(A) {
|
|
@@ -1112,13 +1112,13 @@ function aA() {
|
|
|
1112
1112
|
},
|
|
1113
1113
|
__wbg_performance_3ef602e13d6c3b56: function(A) {
|
|
1114
1114
|
const I = A.performance;
|
|
1115
|
-
return
|
|
1115
|
+
return a(I) ? 0 : q(I);
|
|
1116
1116
|
},
|
|
1117
1117
|
__wbg_performance_3fcf6e32a7e1ed0a: function(A) {
|
|
1118
1118
|
return A.performance;
|
|
1119
1119
|
},
|
|
1120
1120
|
__wbg_prototypesetcall_4770620bbe4688a0: function(A, I, g) {
|
|
1121
|
-
Uint8Array.prototype.set.call(
|
|
1121
|
+
Uint8Array.prototype.set.call(O(A, I), g);
|
|
1122
1122
|
},
|
|
1123
1123
|
__wbg_push_d2ae3af0c1217ae6: function(A, I) {
|
|
1124
1124
|
return A.push(I);
|
|
@@ -1139,7 +1139,7 @@ function aA() {
|
|
|
1139
1139
|
},
|
|
1140
1140
|
__wbg_reason_5dc8e429d537d6a9: function(A, I) {
|
|
1141
1141
|
const g = I.reason, B = F(g, C.__wbindgen_malloc, C.__wbindgen_realloc), E = R;
|
|
1142
|
-
|
|
1142
|
+
M().setInt32(A + 4, E, true), M().setInt32(A + 0, B, true);
|
|
1143
1143
|
},
|
|
1144
1144
|
__wbg_removeEventListener_a3f23c70077bdcc1: function() {
|
|
1145
1145
|
return o(function(A, I, g, B) {
|
|
@@ -1151,7 +1151,7 @@ function aA() {
|
|
|
1151
1151
|
},
|
|
1152
1152
|
__wbg_search_c905fb82fd20bc6b: function(A, I) {
|
|
1153
1153
|
const g = I.search, B = F(g, C.__wbindgen_malloc, C.__wbindgen_realloc), E = R;
|
|
1154
|
-
|
|
1154
|
+
M().setInt32(A + 4, E, true), M().setInt32(A + 0, B, true);
|
|
1155
1155
|
},
|
|
1156
1156
|
__wbg_send_1733c45567a373ff: function() {
|
|
1157
1157
|
return o(function(A, I) {
|
|
@@ -1164,10 +1164,10 @@ function aA() {
|
|
|
1164
1164
|
}, arguments);
|
|
1165
1165
|
},
|
|
1166
1166
|
__wbg_session_new: function(A) {
|
|
1167
|
-
return
|
|
1167
|
+
return z.__wrap(A);
|
|
1168
1168
|
},
|
|
1169
1169
|
__wbg_sessionterminationinfo_new: function(A) {
|
|
1170
|
-
return
|
|
1170
|
+
return e.__wrap(A);
|
|
1171
1171
|
},
|
|
1172
1172
|
__wbg_setInterval_cbf1c35c6a692d37: function() {
|
|
1173
1173
|
return o(function(A, I) {
|
|
@@ -1190,7 +1190,7 @@ function aA() {
|
|
|
1190
1190
|
}, arguments);
|
|
1191
1191
|
},
|
|
1192
1192
|
__wbg_set_binaryType_a37b086c78ca7c29: function(A, I) {
|
|
1193
|
-
A.binaryType =
|
|
1193
|
+
A.binaryType = lA[I];
|
|
1194
1194
|
},
|
|
1195
1195
|
__wbg_set_body_029f2d171e0a005f: function(A, I) {
|
|
1196
1196
|
A.body = I;
|
|
@@ -1221,27 +1221,27 @@ function aA() {
|
|
|
1221
1221
|
},
|
|
1222
1222
|
__wbg_stack_3b0d974bbf31e44f: function(A, I) {
|
|
1223
1223
|
const g = I.stack, B = F(g, C.__wbindgen_malloc, C.__wbindgen_realloc), E = R;
|
|
1224
|
-
|
|
1224
|
+
M().setInt32(A + 4, E, true), M().setInt32(A + 0, B, true);
|
|
1225
1225
|
},
|
|
1226
1226
|
__wbg_static_accessor_GLOBAL_4ef717fb391d88b7: function() {
|
|
1227
1227
|
const A = typeof global > "u" ? null : global;
|
|
1228
|
-
return
|
|
1228
|
+
return a(A) ? 0 : q(A);
|
|
1229
1229
|
},
|
|
1230
1230
|
__wbg_static_accessor_GLOBAL_THIS_8d1badc68b5a74f4: function() {
|
|
1231
1231
|
const A = typeof globalThis > "u" ? null : globalThis;
|
|
1232
|
-
return
|
|
1232
|
+
return a(A) ? 0 : q(A);
|
|
1233
1233
|
},
|
|
1234
1234
|
__wbg_static_accessor_SELF_146583524fe1469b: function() {
|
|
1235
1235
|
const A = typeof self > "u" ? null : self;
|
|
1236
|
-
return
|
|
1236
|
+
return a(A) ? 0 : q(A);
|
|
1237
1237
|
},
|
|
1238
1238
|
__wbg_static_accessor_WINDOW_f2829a2234d7819e: function() {
|
|
1239
1239
|
const A = typeof window > "u" ? null : window;
|
|
1240
|
-
return
|
|
1240
|
+
return a(A) ? 0 : q(A);
|
|
1241
1241
|
},
|
|
1242
1242
|
__wbg_statusText_9f08c32741a99815: function(A, I) {
|
|
1243
1243
|
const g = I.statusText, B = F(g, C.__wbindgen_malloc, C.__wbindgen_realloc), E = R;
|
|
1244
|
-
|
|
1244
|
+
M().setInt32(A + 4, E, true), M().setInt32(A + 0, B, true);
|
|
1245
1245
|
},
|
|
1246
1246
|
__wbg_status_c45b3b9b3033184a: function(A) {
|
|
1247
1247
|
return A.status;
|
|
@@ -1260,12 +1260,12 @@ function aA() {
|
|
|
1260
1260
|
},
|
|
1261
1261
|
__wbg_url_f6cd241d61f89b82: function(A, I) {
|
|
1262
1262
|
const g = I.url, B = F(g, C.__wbindgen_malloc, C.__wbindgen_realloc), E = R;
|
|
1263
|
-
|
|
1263
|
+
M().setInt32(A + 4, E, true), M().setInt32(A + 0, B, true);
|
|
1264
1264
|
},
|
|
1265
1265
|
__wbg_userAgent_0558f0ac642f7771: function() {
|
|
1266
1266
|
return o(function(A, I) {
|
|
1267
1267
|
const g = I.userAgent, B = F(g, C.__wbindgen_malloc, C.__wbindgen_realloc), E = R;
|
|
1268
|
-
|
|
1268
|
+
M().setInt32(A + 4, E, true), M().setInt32(A + 0, B, true);
|
|
1269
1269
|
}, arguments);
|
|
1270
1270
|
},
|
|
1271
1271
|
__wbg_warn_b1370d804fa3e259: function(A) {
|
|
@@ -1278,7 +1278,7 @@ function aA() {
|
|
|
1278
1278
|
return A.width;
|
|
1279
1279
|
},
|
|
1280
1280
|
__wbindgen_cast_0000000000000001: function(A, I) {
|
|
1281
|
-
return s(A, I,
|
|
1281
|
+
return s(A, I, pA);
|
|
1282
1282
|
},
|
|
1283
1283
|
__wbindgen_cast_0000000000000002: function(A, I) {
|
|
1284
1284
|
return s(A, I, LA);
|
|
@@ -1293,10 +1293,10 @@ function aA() {
|
|
|
1293
1293
|
return s(A, I, dA);
|
|
1294
1294
|
},
|
|
1295
1295
|
__wbindgen_cast_0000000000000006: function(A, I) {
|
|
1296
|
-
return s(A, I,
|
|
1296
|
+
return s(A, I, aA);
|
|
1297
1297
|
},
|
|
1298
1298
|
__wbindgen_cast_0000000000000007: function(A, I) {
|
|
1299
|
-
return s(A, I,
|
|
1299
|
+
return s(A, I, HA);
|
|
1300
1300
|
},
|
|
1301
1301
|
__wbindgen_cast_0000000000000008: function(A) {
|
|
1302
1302
|
return A;
|
|
@@ -1311,10 +1311,10 @@ function aA() {
|
|
|
1311
1311
|
}
|
|
1312
1312
|
};
|
|
1313
1313
|
}
|
|
1314
|
-
function
|
|
1314
|
+
function aA(Q, A) {
|
|
1315
1315
|
C.wasm_bindgen__convert__closures_____invoke__h38edb88495230029(Q, A);
|
|
1316
1316
|
}
|
|
1317
|
-
function
|
|
1317
|
+
function HA(Q, A) {
|
|
1318
1318
|
C.wasm_bindgen__convert__closures_____invoke__h59fff34e32ed8cec(Q, A);
|
|
1319
1319
|
}
|
|
1320
1320
|
function LA(Q, A, I) {
|
|
@@ -1326,18 +1326,18 @@ function sA(Q, A, I) {
|
|
|
1326
1326
|
function qA(Q, A, I) {
|
|
1327
1327
|
C.wasm_bindgen__convert__closures_____invoke__h64a57be2ca3e0d69_3(Q, A, I);
|
|
1328
1328
|
}
|
|
1329
|
-
function
|
|
1329
|
+
function pA(Q, A, I) {
|
|
1330
1330
|
const g = C.wasm_bindgen__convert__closures_____invoke__hfbb046a5343bcac9(Q, A, I);
|
|
1331
1331
|
if (g[1])
|
|
1332
|
-
throw
|
|
1332
|
+
throw Z(g[0]);
|
|
1333
1333
|
}
|
|
1334
|
-
function
|
|
1334
|
+
function ZA(Q, A, I, g) {
|
|
1335
1335
|
C.wasm_bindgen__convert__closures_____invoke__h4cc111f3c9bb2945(Q, A, I, g);
|
|
1336
1336
|
}
|
|
1337
1337
|
function dA(Q, A, I, g, B) {
|
|
1338
1338
|
C.wasm_bindgen__convert__closures_____invoke__h777de2c1fe9da8ab(Q, A, I, g, B);
|
|
1339
1339
|
}
|
|
1340
|
-
const
|
|
1340
|
+
const lA = ["blob", "arraybuffer"], $ = typeof FinalizationRegistry > "u" ? { register: () => {
|
|
1341
1341
|
}, unregister: () => {
|
|
1342
1342
|
} } : new FinalizationRegistry((Q) => C.__wbg_clipboarddata_free(Q, 1)), wA = typeof FinalizationRegistry > "u" ? { register: () => {
|
|
1343
1343
|
}, unregister: () => {
|
|
@@ -1359,21 +1359,21 @@ const VA = ["blob", "arraybuffer"], $ = typeof FinalizationRegistry > "u" ? { re
|
|
|
1359
1359
|
}, unregister: () => {
|
|
1360
1360
|
} } : new FinalizationRegistry((Q) => C.__wbg_session_free(Q, 1)), IA = typeof FinalizationRegistry > "u" ? { register: () => {
|
|
1361
1361
|
}, unregister: () => {
|
|
1362
|
-
} } : new FinalizationRegistry((Q) => C.__wbg_sessionbuilder_free(Q, 1)),
|
|
1362
|
+
} } : new FinalizationRegistry((Q) => C.__wbg_sessionbuilder_free(Q, 1)), MA = typeof FinalizationRegistry > "u" ? { register: () => {
|
|
1363
1363
|
}, unregister: () => {
|
|
1364
1364
|
} } : new FinalizationRegistry((Q) => C.__wbg_sessionterminationinfo_free(Q, 1));
|
|
1365
1365
|
function q(Q) {
|
|
1366
1366
|
const A = C.__externref_table_alloc();
|
|
1367
1367
|
return C.__wbindgen_externrefs.set(A, Q), A;
|
|
1368
1368
|
}
|
|
1369
|
-
function
|
|
1369
|
+
function UA(Q) {
|
|
1370
1370
|
if (typeof Q == "number" && (Q >= 1114112 || Q >= 55296 && Q < 57344)) throw new Error(`expected a valid Unicode scalar value, found ${Q}`);
|
|
1371
1371
|
}
|
|
1372
|
-
function
|
|
1372
|
+
function t(Q, A) {
|
|
1373
1373
|
if (!(Q instanceof A))
|
|
1374
1374
|
throw new Error(`expected instance of ${A.name}`);
|
|
1375
1375
|
}
|
|
1376
|
-
const
|
|
1376
|
+
const YA = typeof FinalizationRegistry > "u" ? { register: () => {
|
|
1377
1377
|
}, unregister: () => {
|
|
1378
1378
|
} } : new FinalizationRegistry((Q) => C.__wbindgen_destroy_closure(Q.a, Q.b));
|
|
1379
1379
|
function QA(Q) {
|
|
@@ -1413,40 +1413,40 @@ function QA(Q) {
|
|
|
1413
1413
|
return Q instanceof Error ? `${Q.name}: ${Q.message}
|
|
1414
1414
|
${Q.stack}` : g;
|
|
1415
1415
|
}
|
|
1416
|
-
function
|
|
1416
|
+
function VA(Q, A) {
|
|
1417
1417
|
Q = Q >>> 0;
|
|
1418
|
-
const I =
|
|
1418
|
+
const I = M(), g = [];
|
|
1419
1419
|
for (let B = Q; B < Q + 4 * A; B += 4)
|
|
1420
1420
|
g.push(C.__wbindgen_externrefs.get(I.getUint32(B, true)));
|
|
1421
1421
|
return C.__externref_drop_slice(Q, A), g;
|
|
1422
1422
|
}
|
|
1423
1423
|
function WA(Q, A) {
|
|
1424
|
-
return Q = Q >>> 0,
|
|
1424
|
+
return Q = Q >>> 0, xA().subarray(Q / 4, Q / 4 + A);
|
|
1425
1425
|
}
|
|
1426
|
-
function
|
|
1427
|
-
return Q = Q >>> 0,
|
|
1426
|
+
function O(Q, A) {
|
|
1427
|
+
return Q = Q >>> 0, x().subarray(Q / 1, Q / 1 + A);
|
|
1428
1428
|
}
|
|
1429
|
-
function
|
|
1430
|
-
return Q = Q >>> 0,
|
|
1429
|
+
function tA(Q, A) {
|
|
1430
|
+
return Q = Q >>> 0, jA().subarray(Q / 1, Q / 1 + A);
|
|
1431
1431
|
}
|
|
1432
|
-
let
|
|
1433
|
-
function
|
|
1434
|
-
return (
|
|
1432
|
+
let p = null;
|
|
1433
|
+
function M() {
|
|
1434
|
+
return (p === null || p.buffer.detached === true || p.buffer.detached === void 0 && p.buffer !== C.memory.buffer) && (p = new DataView(C.memory.buffer)), p;
|
|
1435
1435
|
}
|
|
1436
1436
|
function y(Q, A) {
|
|
1437
|
-
return
|
|
1437
|
+
return mA(Q >>> 0, A);
|
|
1438
1438
|
}
|
|
1439
|
-
let
|
|
1440
|
-
function
|
|
1441
|
-
return (
|
|
1439
|
+
let m = null;
|
|
1440
|
+
function xA() {
|
|
1441
|
+
return (m === null || m.byteLength === 0) && (m = new Uint32Array(C.memory.buffer)), m;
|
|
1442
1442
|
}
|
|
1443
1443
|
let T = null;
|
|
1444
|
-
function
|
|
1444
|
+
function x() {
|
|
1445
1445
|
return (T === null || T.byteLength === 0) && (T = new Uint8Array(C.memory.buffer)), T;
|
|
1446
1446
|
}
|
|
1447
|
-
let
|
|
1448
|
-
function
|
|
1449
|
-
return (
|
|
1447
|
+
let f = null;
|
|
1448
|
+
function jA() {
|
|
1449
|
+
return (f === null || f.byteLength === 0) && (f = new Uint8ClampedArray(C.memory.buffer)), f;
|
|
1450
1450
|
}
|
|
1451
1451
|
function o(Q, A) {
|
|
1452
1452
|
try {
|
|
@@ -1456,7 +1456,7 @@ function o(Q, A) {
|
|
|
1456
1456
|
C.__wbindgen_exn_store(g);
|
|
1457
1457
|
}
|
|
1458
1458
|
}
|
|
1459
|
-
function
|
|
1459
|
+
function a(Q) {
|
|
1460
1460
|
return Q == null;
|
|
1461
1461
|
}
|
|
1462
1462
|
function s(Q, A, I) {
|
|
@@ -1471,20 +1471,20 @@ function s(Q, A, I) {
|
|
|
1471
1471
|
}
|
|
1472
1472
|
};
|
|
1473
1473
|
return B._wbg_cb_unref = () => {
|
|
1474
|
-
--g.cnt === 0 && (C.__wbindgen_destroy_closure(g.a, g.b), g.a = 0,
|
|
1475
|
-
},
|
|
1474
|
+
--g.cnt === 0 && (C.__wbindgen_destroy_closure(g.a, g.b), g.a = 0, YA.unregister(g));
|
|
1475
|
+
}, YA.register(B, g, g), B;
|
|
1476
1476
|
}
|
|
1477
|
-
function
|
|
1477
|
+
function OA(Q, A) {
|
|
1478
1478
|
const I = A(Q.length * 1, 1) >>> 0;
|
|
1479
|
-
return
|
|
1479
|
+
return x().set(Q, I / 1), R = Q.length, I;
|
|
1480
1480
|
}
|
|
1481
1481
|
function F(Q, A, I) {
|
|
1482
1482
|
if (I === void 0) {
|
|
1483
|
-
const i =
|
|
1484
|
-
return
|
|
1483
|
+
const i = X.encode(Q), w = A(i.length, 1) >>> 0;
|
|
1484
|
+
return x().subarray(w, w + i.length).set(i), R = i.length, w;
|
|
1485
1485
|
}
|
|
1486
1486
|
let g = Q.length, B = A(g, 1) >>> 0;
|
|
1487
|
-
const E =
|
|
1487
|
+
const E = x();
|
|
1488
1488
|
let D = 0;
|
|
1489
1489
|
for (; D < g; D++) {
|
|
1490
1490
|
const i = Q.charCodeAt(D);
|
|
@@ -1493,25 +1493,25 @@ function F(Q, A, I) {
|
|
|
1493
1493
|
}
|
|
1494
1494
|
if (D !== g) {
|
|
1495
1495
|
D !== 0 && (Q = Q.slice(D)), B = I(B, g, g = D + Q.length * 3, 1) >>> 0;
|
|
1496
|
-
const i =
|
|
1496
|
+
const i = x().subarray(B + D, B + g), w = X.encodeInto(Q, i);
|
|
1497
1497
|
D += w.written, B = I(B, g, D, 1) >>> 0;
|
|
1498
1498
|
}
|
|
1499
1499
|
return R = D, B;
|
|
1500
1500
|
}
|
|
1501
|
-
function
|
|
1501
|
+
function Z(Q) {
|
|
1502
1502
|
const A = C.__wbindgen_externrefs.get(Q);
|
|
1503
1503
|
return C.__externref_table_dealloc(Q), A;
|
|
1504
1504
|
}
|
|
1505
1505
|
let u = new TextDecoder("utf-8", { ignoreBOM: true, fatal: true });
|
|
1506
1506
|
u.decode();
|
|
1507
|
-
const
|
|
1507
|
+
const bA = 2146435072;
|
|
1508
1508
|
let gA = 0;
|
|
1509
|
-
function
|
|
1510
|
-
return gA += A, gA >=
|
|
1509
|
+
function mA(Q, A) {
|
|
1510
|
+
return gA += A, gA >= bA && (u = new TextDecoder("utf-8", { ignoreBOM: true, fatal: true }), u.decode(), gA = A), u.decode(x().subarray(Q, Q + A));
|
|
1511
1511
|
}
|
|
1512
|
-
const
|
|
1513
|
-
"encodeInto" in
|
|
1514
|
-
const I =
|
|
1512
|
+
const X = new TextEncoder();
|
|
1513
|
+
"encodeInto" in X || (X.encodeInto = function(Q, A) {
|
|
1514
|
+
const I = X.encode(Q);
|
|
1515
1515
|
return A.set(I), {
|
|
1516
1516
|
read: Q.length,
|
|
1517
1517
|
written: I.length
|
|
@@ -1519,9 +1519,9 @@ const f = new TextEncoder();
|
|
|
1519
1519
|
});
|
|
1520
1520
|
let R = 0, C;
|
|
1521
1521
|
function TA(Q, A) {
|
|
1522
|
-
return C = __trdWatchExports(Q.exports),
|
|
1522
|
+
return C = __trdWatchExports(Q.exports), p = null, m = null, T = null, f = null, C.__wbindgen_start(), C;
|
|
1523
1523
|
}
|
|
1524
|
-
async function
|
|
1524
|
+
async function fA(Q, A) {
|
|
1525
1525
|
if (typeof Response == "function" && Q instanceof Response) {
|
|
1526
1526
|
if (typeof WebAssembly.instantiateStreaming == "function")
|
|
1527
1527
|
try {
|
|
@@ -1548,18 +1548,18 @@ async function XA(Q, A) {
|
|
|
1548
1548
|
return false;
|
|
1549
1549
|
}
|
|
1550
1550
|
}
|
|
1551
|
-
async function
|
|
1551
|
+
async function XA(Q) {
|
|
1552
1552
|
if (C !== void 0) return C;
|
|
1553
1553
|
Q !== void 0 && (Object.getPrototypeOf(Q) === Object.prototype ? { module_or_path: Q } = Q : console.warn("using deprecated parameters for the initialization function; pass a single object instead")), Q === void 0 && (Q = new URL("ironrdp_web_bg.wasm", import.meta.url));
|
|
1554
|
-
const A =
|
|
1554
|
+
const A = SA();
|
|
1555
1555
|
(typeof Q == "string" || typeof Request == "function" && Q instanceof Request || typeof URL == "function" && Q instanceof URL) && (Q = fetch(Q));
|
|
1556
|
-
const { instance: I, module: g } = await
|
|
1556
|
+
const { instance: I, module: g } = await fA(await Q, A);
|
|
1557
1557
|
return TA(I);
|
|
1558
1558
|
}
|
|
1559
|
-
const
|
|
1560
|
-
function
|
|
1559
|
+
const nA = "avc1.640033";
|
|
1560
|
+
function cA() {
|
|
1561
1561
|
return {
|
|
1562
|
-
codec:
|
|
1562
|
+
codec: nA,
|
|
1563
1563
|
optimizeForLatency: true,
|
|
1564
1564
|
hardwareAcceleration: "no-preference",
|
|
1565
1565
|
colorSpace: { primaries: "bt709", transfer: "bt709", matrix: "bt709", fullRange: true }
|
|
@@ -1569,12 +1569,12 @@ async function EI() {
|
|
|
1569
1569
|
if (typeof VideoDecoder > "u" || typeof EncodedVideoChunk > "u")
|
|
1570
1570
|
return false;
|
|
1571
1571
|
try {
|
|
1572
|
-
return (await VideoDecoder.isConfigSupported(
|
|
1572
|
+
return (await VideoDecoder.isConfigSupported(cA())).supported === true;
|
|
1573
1573
|
} catch {
|
|
1574
1574
|
return false;
|
|
1575
1575
|
}
|
|
1576
1576
|
}
|
|
1577
|
-
const
|
|
1577
|
+
const _U = class _U {
|
|
1578
1578
|
constructor(A = {}) {
|
|
1579
1579
|
__publicField(this, "stats", {
|
|
1580
1580
|
frames: 0,
|
|
@@ -1616,9 +1616,9 @@ const _M = class _M {
|
|
|
1616
1616
|
__publicField(this, "watchdog", null);
|
|
1617
1617
|
__publicField(this, "canvas", null);
|
|
1618
1618
|
__publicField(this, "closed", false);
|
|
1619
|
-
if (this.options = A, this.maxDecoders = A.maxDecoders ??
|
|
1619
|
+
if (this.options = A, this.maxDecoders = A.maxDecoders ?? _U.MAX_DECODERS, !Number.isInteger(this.maxDecoders) || this.maxDecoders < 1 || this.maxDecoders > _U.MAX_DECODERS)
|
|
1620
1620
|
throw new RangeError("maxDecoders must be an integer from 1 to 32");
|
|
1621
|
-
this.stallMs = A.stallMs ?? 3e3, this.now = A.now ?? (() => performance.now()), this.opens = new
|
|
1621
|
+
this.stallMs = A.stallMs ?? 3e3, this.now = A.now ?? (() => performance.now()), this.opens = new KA(_U.SESSION_OPENS, this.now());
|
|
1622
1622
|
}
|
|
1623
1623
|
decode(A, I) {
|
|
1624
1624
|
if (this.failed !== null || this.closed) {
|
|
@@ -1644,13 +1644,13 @@ const _M = class _M {
|
|
|
1644
1644
|
g = this.open(A.surfaceId);
|
|
1645
1645
|
}
|
|
1646
1646
|
const B = A.data.byteLength;
|
|
1647
|
-
if (g.pending.size >=
|
|
1648
|
-
this.fail(`more than ${
|
|
1647
|
+
if (g.pending.size >= _U.MAX_PENDING_FRAMES) {
|
|
1648
|
+
this.fail(`more than ${_U.MAX_PENDING_FRAMES} frames in a decoder`), I(A.id, null, this.failed ?? void 0);
|
|
1649
1649
|
return;
|
|
1650
1650
|
}
|
|
1651
|
-
if (this.pendingBytes + B >
|
|
1651
|
+
if (this.pendingBytes + B > _U.MAX_PENDING_BYTES) {
|
|
1652
1652
|
this.fail(
|
|
1653
|
-
`more than ${
|
|
1653
|
+
`more than ${_U.MAX_PENDING_BYTES / (1024 * 1024)} MiB of H.264 in the decoders`
|
|
1654
1654
|
), I(A.id, null, this.failed ?? void 0);
|
|
1655
1655
|
return;
|
|
1656
1656
|
}
|
|
@@ -1672,7 +1672,7 @@ const _M = class _M {
|
|
|
1672
1672
|
close() {
|
|
1673
1673
|
this.closed = true, this.stopWatchdog();
|
|
1674
1674
|
for (const A of [...this.surfaces.values(), ...this.retiring])
|
|
1675
|
-
|
|
1675
|
+
v(A.decoder);
|
|
1676
1676
|
this.surfaces.clear(), this.retiring.clear(), this.waitingForKey.clear(), this.stats.pending = 0, this.pendingBytes = 0, this.clearReadbacks(), this.canvas = null;
|
|
1677
1677
|
}
|
|
1678
1678
|
/** Releases streams as soon as their surfaces end, including when no later H.264 frame arrives. */
|
|
@@ -1688,17 +1688,17 @@ const _M = class _M {
|
|
|
1688
1688
|
const I = this.now();
|
|
1689
1689
|
let g = this.surfaceOpens.get(A);
|
|
1690
1690
|
if (g === void 0) {
|
|
1691
|
-
if (this.surfaceOpens.size >=
|
|
1691
|
+
if (this.surfaceOpens.size >= _U.MAX_DECODERS)
|
|
1692
1692
|
for (const [B, E] of this.surfaceOpens)
|
|
1693
1693
|
E.rested(I) && this.surfaceOpens.delete(B);
|
|
1694
|
-
g = new
|
|
1694
|
+
g = new KA(_U.SURFACE_OPENS, I), this.surfaceOpens.set(A, g);
|
|
1695
1695
|
}
|
|
1696
1696
|
if (!g.take(I)) {
|
|
1697
|
-
const { inARow: B, perSecond: E } =
|
|
1697
|
+
const { inARow: B, perSecond: E } = _U.SURFACE_OPENS;
|
|
1698
1698
|
return `H.264 decoders opened for surface ${A} faster than ${B} in a row and ${E} a second`;
|
|
1699
1699
|
}
|
|
1700
1700
|
if (!this.opens.take(I)) {
|
|
1701
|
-
const { inARow: B, perSecond: E } =
|
|
1701
|
+
const { inARow: B, perSecond: E } = _U.SESSION_OPENS;
|
|
1702
1702
|
return `H.264 decoders opened faster than ${B} in a row and ${E} a second`;
|
|
1703
1703
|
}
|
|
1704
1704
|
return null;
|
|
@@ -1713,7 +1713,7 @@ const _M = class _M {
|
|
|
1713
1713
|
}),
|
|
1714
1714
|
pending: /* @__PURE__ */ new Map()
|
|
1715
1715
|
};
|
|
1716
|
-
return I.decoder.configure(
|
|
1716
|
+
return I.decoder.configure(cA()), this.surfaces.set(A, I), I;
|
|
1717
1717
|
}
|
|
1718
1718
|
/** The server is done with a surface: its decoder closes once the frames given to it are out. */
|
|
1719
1719
|
retire(A) {
|
|
@@ -1721,7 +1721,7 @@ const _M = class _M {
|
|
|
1721
1721
|
if (I === void 0)
|
|
1722
1722
|
return;
|
|
1723
1723
|
if (this.surfaces.delete(A), I.pending.size === 0) {
|
|
1724
|
-
|
|
1724
|
+
v(I.decoder);
|
|
1725
1725
|
return;
|
|
1726
1726
|
}
|
|
1727
1727
|
this.retiring.add(I);
|
|
@@ -1729,7 +1729,7 @@ const _M = class _M {
|
|
|
1729
1729
|
if (this.retiring.delete(I)) {
|
|
1730
1730
|
for (const B of [...I.pending.values()])
|
|
1731
1731
|
this.settle(I, B), this.stats.dropped++, B.done(B.frame.id, null);
|
|
1732
|
-
|
|
1732
|
+
v(I.decoder);
|
|
1733
1733
|
}
|
|
1734
1734
|
};
|
|
1735
1735
|
try {
|
|
@@ -1745,7 +1745,7 @@ const _M = class _M {
|
|
|
1745
1745
|
return;
|
|
1746
1746
|
}
|
|
1747
1747
|
const E = I.codedWidth * I.codedHeight;
|
|
1748
|
-
if (!Number.isSafeInteger(E) || E <= 0 || E >
|
|
1748
|
+
if (!Number.isSafeInteger(E) || E <= 0 || E > _U.MAX_PICTURE_PIXELS) {
|
|
1749
1749
|
I.close(), this.fail("decoded H.264 picture exceeds the pixel budget");
|
|
1750
1750
|
return;
|
|
1751
1751
|
}
|
|
@@ -1756,17 +1756,17 @@ const _M = class _M {
|
|
|
1756
1756
|
}
|
|
1757
1757
|
this.settle(A, B);
|
|
1758
1758
|
const D = B.frame.regions.reduce((w, G) => w + (G.right - G.left) * (G.bottom - G.top) * 4, 0);
|
|
1759
|
-
if (this.readbackPictures.size >=
|
|
1760
|
-
I.close(), this.fail(`more than ${
|
|
1759
|
+
if (this.readbackPictures.size >= _U.MAX_READBACKS) {
|
|
1760
|
+
I.close(), this.fail(`more than ${_U.MAX_READBACKS} pictures being read back`), B.done(g, null, this.failed ?? void 0);
|
|
1761
1761
|
return;
|
|
1762
1762
|
}
|
|
1763
|
-
if (this.readbackBytes + D >
|
|
1763
|
+
if (this.readbackBytes + D > _U.MAX_READBACK_BYTES) {
|
|
1764
1764
|
I.close(), this.fail(
|
|
1765
|
-
`more than ${
|
|
1765
|
+
`more than ${_U.MAX_READBACK_BYTES / (1024 * 1024)} MiB of pictures being read back`
|
|
1766
1766
|
), B.done(g, null, this.failed ?? void 0);
|
|
1767
1767
|
return;
|
|
1768
1768
|
}
|
|
1769
|
-
if (this.readbackPixels + E >
|
|
1769
|
+
if (this.readbackPixels + E > _U.MAX_READBACK_PIXELS) {
|
|
1770
1770
|
I.close(), this.fail("more than 128 Mi pixels of decoded pictures being read back"), B.done(g, null, this.failed ?? void 0);
|
|
1771
1771
|
return;
|
|
1772
1772
|
}
|
|
@@ -1806,13 +1806,13 @@ const _M = class _M {
|
|
|
1806
1806
|
const w = i.reduce((N, L) => N + L.width * L.height * 4, 0), G = new Uint8Array(w);
|
|
1807
1807
|
if (i.length === 0)
|
|
1808
1808
|
return G;
|
|
1809
|
-
let [
|
|
1809
|
+
let [S, K, J, V] = [1 / 0, 1 / 0, -1 / 0, -1 / 0];
|
|
1810
1810
|
for (const N of i)
|
|
1811
|
-
|
|
1812
|
-
const
|
|
1811
|
+
S = Math.min(S, N.x), K = Math.min(K, N.y), J = Math.max(J, N.x + N.width), V = Math.max(V, N.y + N.height);
|
|
1812
|
+
const H = { x: S, y: K, width: J - S, height: V - K };
|
|
1813
1813
|
if (i.length === 1)
|
|
1814
|
-
return await this.readBox(A, g,
|
|
1815
|
-
if (
|
|
1814
|
+
return await this.readBox(A, g, H, G), G;
|
|
1815
|
+
if (H.width * H.height * 4 > w * _U.BOX_WASTE) {
|
|
1816
1816
|
let N = 0;
|
|
1817
1817
|
for (const L of i) {
|
|
1818
1818
|
const W = L.width * L.height * 4;
|
|
@@ -1820,13 +1820,13 @@ const _M = class _M {
|
|
|
1820
1820
|
}
|
|
1821
1821
|
return G;
|
|
1822
1822
|
}
|
|
1823
|
-
const CA = new Uint8Array(
|
|
1824
|
-
await this.readBox(A, g,
|
|
1823
|
+
const CA = new Uint8Array(H.width * H.height * 4);
|
|
1824
|
+
await this.readBox(A, g, H, CA);
|
|
1825
1825
|
let EA = 0;
|
|
1826
1826
|
for (const N of i) {
|
|
1827
1827
|
const L = N.width * 4;
|
|
1828
1828
|
for (let W = 0; W < N.height; W++) {
|
|
1829
|
-
const DA = ((N.y -
|
|
1829
|
+
const DA = ((N.y - H.y + W) * H.width + (N.x - H.x)) * 4;
|
|
1830
1830
|
G.set(CA.subarray(DA, DA + L), EA), EA += L;
|
|
1831
1831
|
}
|
|
1832
1832
|
}
|
|
@@ -1889,7 +1889,7 @@ const _M = class _M {
|
|
|
1889
1889
|
this.failed = A, this.stopWatchdog();
|
|
1890
1890
|
const I = [...this.surfaces.values(), ...this.retiring], g = I.flatMap((B) => [...B.pending.values()]);
|
|
1891
1891
|
for (const B of I)
|
|
1892
|
-
|
|
1892
|
+
v(B.decoder);
|
|
1893
1893
|
this.surfaces.clear(), this.retiring.clear(), this.waitingForKey.clear(), this.stats.pending = 0, this.pendingBytes = 0, this.clearReadbacks(), this.canvas = null, (_b = (_a = this.options).onFailure) == null ? void 0 : _b.call(_a, A);
|
|
1894
1894
|
for (const { frame: B, done: E } of g)
|
|
1895
1895
|
E(B.id, null, A);
|
|
@@ -1900,7 +1900,7 @@ const _M = class _M {
|
|
|
1900
1900
|
* (MS-RDPBCGR 2.2.1.3.6); after a reset, the decoders of the surfaces it destroyed may still be finishing their
|
|
1901
1901
|
* frames while those of the new ones start.
|
|
1902
1902
|
*/
|
|
1903
|
-
__publicField(
|
|
1903
|
+
__publicField(_U, "MAX_DECODERS", 32);
|
|
1904
1904
|
/**
|
|
1905
1905
|
* How fast one surface's decoders may open: 16 in a row, then 4 a second. A decoder opens for a surface's first
|
|
1906
1906
|
* frame, and again for its first frame after its stream ended (the surface deleted, created again or destroyed by
|
|
@@ -1910,24 +1910,24 @@ __publicField(_M, "MAX_DECODERS", 32);
|
|
|
1910
1910
|
* had that done for every frame: 32,768 times for one message of 90 KB on the wire, which froze the page, and
|
|
1911
1911
|
* every session in it, for 1.4 s, message after message.
|
|
1912
1912
|
*/
|
|
1913
|
-
__publicField(
|
|
1913
|
+
__publicField(_U, "SURFACE_OPENS", { inARow: 16, perSecond: 4 });
|
|
1914
1914
|
/**
|
|
1915
1915
|
* How fast decoders may open for all surfaces together: 128 in a row, then 32 a second. That is each of 16
|
|
1916
1916
|
* monitors (MS-RDPBCGR 2.2.1.3.6) resized eight times in a row, then twice a second, and opening that many takes
|
|
1917
1917
|
* the page's thread under 6 ms, then under 1.5 ms a second.
|
|
1918
1918
|
*/
|
|
1919
|
-
__publicField(
|
|
1919
|
+
__publicField(_U, "SESSION_OPENS", { inARow: 128, perSecond: 32 });
|
|
1920
1920
|
/**
|
|
1921
1921
|
* The most frames one decoder may hold. A decoder keeps up with its stream, so frames wait in it about as long as
|
|
1922
1922
|
* one takes to decode, and the server stops at its unacknowledged frames: 256 is over two seconds of 60 Hz AVC444
|
|
1923
1923
|
* (two access units a frame), and a frame that waits longer than `stallMs` (3 s) fails the decoder anyway.
|
|
1924
1924
|
*/
|
|
1925
|
-
__publicField(
|
|
1925
|
+
__publicField(_U, "MAX_PENDING_FRAMES", 256);
|
|
1926
1926
|
/**
|
|
1927
1927
|
* The most bytes of H.264 the decoders may hold at once: over a second at the highest bitrate any H.264 level
|
|
1928
1928
|
* allows (level 6.2, High profile: 1,000 Mbit/s), where servers send a few to tens of Mbit/s.
|
|
1929
1929
|
*/
|
|
1930
|
-
__publicField(
|
|
1930
|
+
__publicField(_U, "MAX_PENDING_BYTES", 128 * 1024 * 1024);
|
|
1931
1931
|
/**
|
|
1932
1932
|
* The most bytes the pictures being read back may be read into at once: the RGBA of their frames' regions. A
|
|
1933
1933
|
* picture is read back as it comes out, while its decoder goes on, so readbacks overlap when pictures come out
|
|
@@ -1935,15 +1935,15 @@ __publicField(_M, "MAX_PENDING_BYTES", 128 * 1024 * 1024);
|
|
|
1935
1935
|
* compositor holds), or four whole 8K pictures (7680x4320, 127 MiB each). Regions read back as their bounding box
|
|
1936
1936
|
* take the box as well while it is read, at most twice what they hold.
|
|
1937
1937
|
*/
|
|
1938
|
-
__publicField(
|
|
1939
|
-
__publicField(
|
|
1940
|
-
__publicField(
|
|
1938
|
+
__publicField(_U, "MAX_READBACK_BYTES", 512 * 1024 * 1024);
|
|
1939
|
+
__publicField(_U, "MAX_READBACKS", 64);
|
|
1940
|
+
__publicField(_U, "MAX_PICTURE_PIXELS", 64 * 1024 * 1024);
|
|
1941
1941
|
/** Four whole 8K pictures, or 512 MiB at four bytes per coded pixel, regardless of dirty-region size. */
|
|
1942
|
-
__publicField(
|
|
1942
|
+
__publicField(_U, "MAX_READBACK_PIXELS", 128 * 1024 * 1024);
|
|
1943
1943
|
/** A bounding box may be this many times what its regions hold before they are read one by one instead. */
|
|
1944
|
-
__publicField(
|
|
1945
|
-
let
|
|
1946
|
-
class
|
|
1944
|
+
__publicField(_U, "BOX_WASTE", 2);
|
|
1945
|
+
let U = _U;
|
|
1946
|
+
class KA {
|
|
1947
1947
|
constructor(A, I) {
|
|
1948
1948
|
__publicField(this, "allowance");
|
|
1949
1949
|
__publicField(this, "at");
|
|
@@ -1964,7 +1964,7 @@ class UA {
|
|
|
1964
1964
|
}
|
|
1965
1965
|
}
|
|
1966
1966
|
}
|
|
1967
|
-
function
|
|
1967
|
+
function v(Q) {
|
|
1968
1968
|
if (Q.state !== "closed")
|
|
1969
1969
|
try {
|
|
1970
1970
|
Q.close();
|
|
@@ -1974,7 +1974,7 @@ function e(Q) {
|
|
|
1974
1974
|
function BA(Q) {
|
|
1975
1975
|
return Q instanceof Error || Q instanceof DOMException ? `${Q.name}: ${Q.message}` : String(Q);
|
|
1976
1976
|
}
|
|
1977
|
-
const
|
|
1977
|
+
const b = {
|
|
1978
1978
|
/**
|
|
1979
1979
|
* Request file size (8-byte unsigned integer).
|
|
1980
1980
|
* When set: position must be 0, size must be 8.
|
|
@@ -1986,19 +1986,19 @@ const j = {
|
|
|
1986
1986
|
*/
|
|
1987
1987
|
RANGE: 2
|
|
1988
1988
|
};
|
|
1989
|
-
function
|
|
1989
|
+
function rA(Q) {
|
|
1990
1990
|
return new k("files_available_callback", Q);
|
|
1991
1991
|
}
|
|
1992
|
-
function
|
|
1992
|
+
function PA(Q) {
|
|
1993
1993
|
return new k("file_contents_request_callback", Q);
|
|
1994
1994
|
}
|
|
1995
|
-
function
|
|
1995
|
+
function zA(Q) {
|
|
1996
1996
|
return new k("file_contents_response_callback", Q);
|
|
1997
1997
|
}
|
|
1998
|
-
function
|
|
1998
|
+
function eA(Q) {
|
|
1999
1999
|
return new k("lock_callback", Q);
|
|
2000
2000
|
}
|
|
2001
|
-
function
|
|
2001
|
+
function vA(Q) {
|
|
2002
2002
|
return new k("unlock_callback", Q);
|
|
2003
2003
|
}
|
|
2004
2004
|
function uA(Q) {
|
|
@@ -2057,7 +2057,7 @@ class gI {
|
|
|
2057
2057
|
this.finalized || (this.finalized = true, this.chunks = []);
|
|
2058
2058
|
}
|
|
2059
2059
|
}
|
|
2060
|
-
class
|
|
2060
|
+
class JA {
|
|
2061
2061
|
constructor() {
|
|
2062
2062
|
__publicField(this, "name", "blob");
|
|
2063
2063
|
}
|
|
@@ -2103,7 +2103,7 @@ class BI {
|
|
|
2103
2103
|
}
|
|
2104
2104
|
}
|
|
2105
2105
|
}
|
|
2106
|
-
const
|
|
2106
|
+
const _j = class _j {
|
|
2107
2107
|
constructor(A, I, g) {
|
|
2108
2108
|
__publicField(this, "name", "opfs");
|
|
2109
2109
|
/** Sequence counter for generating unique temp file names. */
|
|
@@ -2118,7 +2118,7 @@ const _l = class _l {
|
|
|
2118
2118
|
*/
|
|
2119
2119
|
static async create(A, I) {
|
|
2120
2120
|
const g = I ?? `s-${Date.now()}-${Math.random().toString(36).slice(2, 8)}`, B = await A.getDirectoryHandle("ironrdp-transfers", { create: true }), E = await B.getDirectoryHandle(g, { create: true });
|
|
2121
|
-
return
|
|
2121
|
+
return _j.cleanupStale(B, g), new _j(A, E, g);
|
|
2122
2122
|
}
|
|
2123
2123
|
// 24 hours
|
|
2124
2124
|
/**
|
|
@@ -2139,7 +2139,7 @@ const _l = class _l {
|
|
|
2139
2139
|
if (!E)
|
|
2140
2140
|
continue;
|
|
2141
2141
|
const D = Number(E[1]);
|
|
2142
|
-
if (g - D >
|
|
2142
|
+
if (g - D > _j.STALE_SESSION_THRESHOLD_MS)
|
|
2143
2143
|
try {
|
|
2144
2144
|
await A.removeEntry(B, { recursive: true });
|
|
2145
2145
|
} catch {
|
|
@@ -2196,8 +2196,8 @@ const _l = class _l {
|
|
|
2196
2196
|
}
|
|
2197
2197
|
};
|
|
2198
2198
|
/** Maximum age (in milliseconds) before a session directory is considered stale. */
|
|
2199
|
-
__publicField(
|
|
2200
|
-
let
|
|
2199
|
+
__publicField(_j, "STALE_SESSION_THRESHOLD_MS", 1440 * 60 * 1e3);
|
|
2200
|
+
let j = _j;
|
|
2201
2201
|
function QI(Q) {
|
|
2202
2202
|
let A = Q.replace(/[\u0000-\u001f]/g, "");
|
|
2203
2203
|
A = A.replace(/[/\\]/g, "_"), A = A.replace(/^\.+/, ""), A.length === 0 && (A = "unnamed");
|
|
@@ -2212,19 +2212,19 @@ function QI(Q) {
|
|
|
2212
2212
|
async function CI(Q = "auto", A) {
|
|
2213
2213
|
var _a, _b;
|
|
2214
2214
|
if (Q === "blob")
|
|
2215
|
-
return new
|
|
2215
|
+
return new JA();
|
|
2216
2216
|
if (typeof ((_b = (_a = globalThis.navigator) == null ? void 0 : _a.storage) == null ? void 0 : _b.getDirectory) == "function")
|
|
2217
2217
|
try {
|
|
2218
2218
|
const I = await navigator.storage.getDirectory();
|
|
2219
|
-
if (await
|
|
2220
|
-
return
|
|
2219
|
+
if (await j.probe(I))
|
|
2220
|
+
return j.create(I, A);
|
|
2221
2221
|
console.debug("OPFS probe failed (createWritable not functional), falling back to blob storage");
|
|
2222
2222
|
} catch (I) {
|
|
2223
2223
|
console.debug("OPFS unavailable, falling back to blob storage:", I);
|
|
2224
2224
|
}
|
|
2225
|
-
return new
|
|
2225
|
+
return new JA();
|
|
2226
2226
|
}
|
|
2227
|
-
const
|
|
2227
|
+
const _c = class _c {
|
|
2228
2228
|
constructor(A) {
|
|
2229
2229
|
__publicField(this, "session");
|
|
2230
2230
|
__publicField(this, "chunkSize");
|
|
@@ -2335,13 +2335,13 @@ const _K = class _K {
|
|
|
2335
2335
|
*/
|
|
2336
2336
|
getBuilderExtensions() {
|
|
2337
2337
|
return [
|
|
2338
|
-
|
|
2338
|
+
rA(
|
|
2339
2339
|
(A, I) => this.handleFilesAvailable(A, I)
|
|
2340
2340
|
),
|
|
2341
|
-
|
|
2342
|
-
|
|
2343
|
-
|
|
2344
|
-
|
|
2341
|
+
PA((A) => this.handleFileContentsRequest(A)),
|
|
2342
|
+
zA((A) => this.handleFileContentsResponse(A)),
|
|
2343
|
+
eA((A) => this.handleLock(A)),
|
|
2344
|
+
vA((A) => this.handleUnlock(A)),
|
|
2345
2345
|
uA((A) => this.handleLocksExpired(A)),
|
|
2346
2346
|
_A((A) => this.handleFormatListResponse(A))
|
|
2347
2347
|
];
|
|
@@ -2425,7 +2425,7 @@ const _K = class _K {
|
|
|
2425
2425
|
this.activeDownloads.set(g, w);
|
|
2426
2426
|
});
|
|
2427
2427
|
try {
|
|
2428
|
-
this.sendRequestFileContents(g, I,
|
|
2428
|
+
this.sendRequestFileContents(g, I, b.SIZE, 0, 8, B);
|
|
2429
2429
|
} catch (D) {
|
|
2430
2430
|
this.activeDownloads.delete(g);
|
|
2431
2431
|
const i = {
|
|
@@ -2480,10 +2480,10 @@ const _K = class _K {
|
|
|
2480
2480
|
async downloadFilesConcurrent(A, I = {}) {
|
|
2481
2481
|
const g = I.maxConcurrent ?? 3, B = /* @__PURE__ */ new Map(), E = [], D = A.map((w, G) => async () => {
|
|
2482
2482
|
try {
|
|
2483
|
-
const { completion:
|
|
2484
|
-
B.set(G,
|
|
2485
|
-
} catch (
|
|
2486
|
-
E.push({ index: G, error:
|
|
2483
|
+
const { completion: S } = this.downloadFile(w, G), K = await S;
|
|
2484
|
+
B.set(G, K);
|
|
2485
|
+
} catch (S) {
|
|
2486
|
+
E.push({ index: G, error: S });
|
|
2487
2487
|
}
|
|
2488
2488
|
}), i = [];
|
|
2489
2489
|
for (const w of D) {
|
|
@@ -2518,7 +2518,7 @@ const _K = class _K {
|
|
|
2518
2518
|
*/
|
|
2519
2519
|
uploadFiles(A) {
|
|
2520
2520
|
this.uploadState !== void 0 && this.supersedeUpload(), this.retainedFiles = void 0;
|
|
2521
|
-
const I =
|
|
2521
|
+
const I = _c.normalizeToDroppedFiles(A), g = /* @__PURE__ */ new Map();
|
|
2522
2522
|
for (let w = 0; w < I.length; w++)
|
|
2523
2523
|
g.set(w, this.generateStreamId());
|
|
2524
2524
|
const B = I.map((w) => ({
|
|
@@ -2543,14 +2543,14 @@ const _K = class _K {
|
|
|
2543
2543
|
}, this.suppressUploadMonitoring();
|
|
2544
2544
|
try {
|
|
2545
2545
|
this.sendInitiateFileCopy(B), this.emit("upload-batch-started", g, I);
|
|
2546
|
-
} catch (
|
|
2546
|
+
} catch (S) {
|
|
2547
2547
|
this.uploadState = void 0, this.resumeUploadMonitoring();
|
|
2548
|
-
const
|
|
2548
|
+
const K = {
|
|
2549
2549
|
message: "Failed to initiate file upload",
|
|
2550
2550
|
direction: "upload",
|
|
2551
|
-
cause:
|
|
2551
|
+
cause: S
|
|
2552
2552
|
};
|
|
2553
|
-
this.emit("error",
|
|
2553
|
+
this.emit("error", K), G(new Error(K.message, { cause: S }));
|
|
2554
2554
|
return;
|
|
2555
2555
|
}
|
|
2556
2556
|
this.armPasteAckWatchdog();
|
|
@@ -2594,7 +2594,7 @@ const _K = class _K {
|
|
|
2594
2594
|
this.pasteAckTimeout = void 0;
|
|
2595
2595
|
const A = this.uploadState;
|
|
2596
2596
|
A !== void 0 && A.isRePaste !== true ? this.failPendingUpload("The remote did not request the files in time, so the paste was not completed") : this.resumeUploadMonitoring();
|
|
2597
|
-
},
|
|
2597
|
+
}, _c.PASTE_ACK_TIMEOUT_MS);
|
|
2598
2598
|
}
|
|
2599
2599
|
/** Disarm the paste-acknowledgment watchdog, if armed. */
|
|
2600
2600
|
clearPasteAckWatchdog() {
|
|
@@ -2612,7 +2612,7 @@ const _K = class _K {
|
|
|
2612
2612
|
this.uploadInactivityTimeout = void 0;
|
|
2613
2613
|
const A = this.uploadState;
|
|
2614
2614
|
A !== void 0 && A.isRePaste !== true && this.failPendingUpload("The remote stopped requesting the files, so the paste did not complete");
|
|
2615
|
-
},
|
|
2615
|
+
}, _c.UPLOAD_INACTIVITY_TIMEOUT_MS);
|
|
2616
2616
|
}
|
|
2617
2617
|
/** Disarm the upload inactivity watchdog, if armed. */
|
|
2618
2618
|
clearUploadInactivityWatchdog() {
|
|
@@ -2749,7 +2749,7 @@ const _K = class _K {
|
|
|
2749
2749
|
* ```
|
|
2750
2750
|
*/
|
|
2751
2751
|
async handleDrop(A) {
|
|
2752
|
-
var _a, _b,
|
|
2752
|
+
var _a, _b, _c2;
|
|
2753
2753
|
A.preventDefault();
|
|
2754
2754
|
const I = [];
|
|
2755
2755
|
if ((_a = A.dataTransfer) == null ? void 0 : _a.items) {
|
|
@@ -2773,7 +2773,7 @@ const _K = class _K {
|
|
|
2773
2773
|
size: E.size,
|
|
2774
2774
|
lastModified: E.lastModified
|
|
2775
2775
|
});
|
|
2776
|
-
} else if ((
|
|
2776
|
+
} else if ((_c2 = A.dataTransfer) == null ? void 0 : _c2.files)
|
|
2777
2777
|
for (const g of Array.from(A.dataTransfer.files))
|
|
2778
2778
|
I.push({
|
|
2779
2779
|
file: g,
|
|
@@ -2800,10 +2800,10 @@ const _K = class _K {
|
|
|
2800
2800
|
* entries into `results`.
|
|
2801
2801
|
*/
|
|
2802
2802
|
async traverseEntry(A, I, g, B) {
|
|
2803
|
-
if (!(g.length >=
|
|
2804
|
-
if (B >
|
|
2803
|
+
if (!(g.length >= _c.MAX_DIRECTORY_ENTRIES)) {
|
|
2804
|
+
if (B > _c.MAX_DIRECTORY_DEPTH) {
|
|
2805
2805
|
console.warn(
|
|
2806
|
-
`Skipping "${A.name}": directory depth exceeds ${
|
|
2806
|
+
`Skipping "${A.name}": directory depth exceeds ${_c.MAX_DIRECTORY_DEPTH}`
|
|
2807
2807
|
);
|
|
2808
2808
|
return;
|
|
2809
2809
|
}
|
|
@@ -2828,7 +2828,7 @@ const _K = class _K {
|
|
|
2828
2828
|
path: I,
|
|
2829
2829
|
isDirectory: true
|
|
2830
2830
|
});
|
|
2831
|
-
const D = A.createReader(), i = await
|
|
2831
|
+
const D = A.createReader(), i = await _c.readAllDirectoryEntries(D);
|
|
2832
2832
|
for (const w of i)
|
|
2833
2833
|
await this.traverseEntry(w, E, g, B + 1);
|
|
2834
2834
|
}
|
|
@@ -2880,8 +2880,8 @@ const _K = class _K {
|
|
|
2880
2880
|
this.failPendingUpload("Upload interrupted: the remote clipboard changed");
|
|
2881
2881
|
const g = A.map((B) => ({
|
|
2882
2882
|
...B,
|
|
2883
|
-
name:
|
|
2884
|
-
path: B.path !== void 0 ?
|
|
2883
|
+
name: _c.sanitizeFileName(B.name),
|
|
2884
|
+
path: B.path !== void 0 ? _c.sanitizePath(B.path) : void 0
|
|
2885
2885
|
}));
|
|
2886
2886
|
this.availableFiles = g, this.clipDataId = I, this.emit("files-available", g);
|
|
2887
2887
|
}
|
|
@@ -2932,7 +2932,7 @@ const _K = class _K {
|
|
|
2932
2932
|
return;
|
|
2933
2933
|
}
|
|
2934
2934
|
if (E == null) {
|
|
2935
|
-
if ((A.flags &
|
|
2935
|
+
if ((A.flags & b.SIZE) !== 0) {
|
|
2936
2936
|
const w = new Uint8Array(8);
|
|
2937
2937
|
this.sendSubmitFileContents(A.streamId, false, w);
|
|
2938
2938
|
} else
|
|
@@ -2940,55 +2940,55 @@ const _K = class _K {
|
|
|
2940
2940
|
return;
|
|
2941
2941
|
}
|
|
2942
2942
|
const i = E;
|
|
2943
|
-
if ((A.flags &
|
|
2943
|
+
if ((A.flags & b.SIZE) !== 0) {
|
|
2944
2944
|
const w = new Uint8Array(8);
|
|
2945
2945
|
new DataView(w.buffer).setBigUint64(0, BigInt(i.size), true), this.sendSubmitFileContents(A.streamId, false, w), i.size === 0 && this.markUploadFileComplete(A.index, i, I.transferIds.get(A.index) ?? -1);
|
|
2946
|
-
} else if ((A.flags &
|
|
2946
|
+
} else if ((A.flags & b.RANGE) !== 0) {
|
|
2947
2947
|
const w = i.slice(A.position, A.position + A.size), G = new FileReader();
|
|
2948
2948
|
I.activeReaders.set(A.streamId, G);
|
|
2949
|
-
const
|
|
2949
|
+
const S = setTimeout(() => {
|
|
2950
2950
|
var _a;
|
|
2951
2951
|
G.abort(), this.uploadState !== void 0 && (this.uploadState.activeReaders.delete(A.streamId), this.uploadState.readerTimeouts.delete(A.streamId)), this.sendSubmitFileContents(A.streamId, true, new Uint8Array());
|
|
2952
|
-
const
|
|
2953
|
-
message: `File read timeout after ${
|
|
2952
|
+
const K = {
|
|
2953
|
+
message: `File read timeout after ${_c.FILE_READER_TIMEOUT_MS / 1e3}s`,
|
|
2954
2954
|
transferId: (_a = this.uploadState) == null ? void 0 : _a.transferIds.get(A.index),
|
|
2955
2955
|
fileIndex: A.index,
|
|
2956
2956
|
fileName: D.name,
|
|
2957
2957
|
direction: "upload"
|
|
2958
2958
|
};
|
|
2959
|
-
this.emit("error",
|
|
2960
|
-
},
|
|
2961
|
-
I.readerTimeouts.set(A.streamId,
|
|
2959
|
+
this.emit("error", K), this.uploadState !== void 0 && (this.uploadState.failedFiles.add(A.index), this.uploadState.completedFiles.add(A.index), this.uploadState.completedFiles.size >= this.uploadState.expectedFileCount && this.finishUploadBatch(this.uploadState));
|
|
2960
|
+
}, _c.FILE_READER_TIMEOUT_MS);
|
|
2961
|
+
I.readerTimeouts.set(A.streamId, S), G.onload = () => {
|
|
2962
2962
|
if (this.uploadState !== void 0) {
|
|
2963
2963
|
this.uploadState.activeReaders.delete(A.streamId);
|
|
2964
|
-
const
|
|
2965
|
-
|
|
2964
|
+
const J = this.uploadState.readerTimeouts.get(A.streamId);
|
|
2965
|
+
J !== void 0 && (clearTimeout(J), this.uploadState.readerTimeouts.delete(A.streamId));
|
|
2966
2966
|
}
|
|
2967
|
-
const
|
|
2968
|
-
if (this.sendSubmitFileContents(A.streamId, false,
|
|
2969
|
-
const
|
|
2970
|
-
this.uploadState.bytesServed.set(A.index,
|
|
2971
|
-
const
|
|
2972
|
-
transferId:
|
|
2967
|
+
const K = new Uint8Array(G.result);
|
|
2968
|
+
if (this.sendSubmitFileContents(A.streamId, false, K), this.uploadState !== void 0) {
|
|
2969
|
+
const J = (this.uploadState.bytesServed.get(A.index) ?? 0) + K.length;
|
|
2970
|
+
this.uploadState.bytesServed.set(A.index, J);
|
|
2971
|
+
const V = this.uploadState.transferIds.get(A.index) ?? -1, H = {
|
|
2972
|
+
transferId: V,
|
|
2973
2973
|
fileIndex: A.index,
|
|
2974
2974
|
fileName: D.name,
|
|
2975
|
-
bytesTransferred:
|
|
2975
|
+
bytesTransferred: J,
|
|
2976
2976
|
totalBytes: i.size,
|
|
2977
|
-
percentage: i.size === 0 ? 100 : Math.min(
|
|
2977
|
+
percentage: i.size === 0 ? 100 : Math.min(J / i.size * 100, 100)
|
|
2978
2978
|
};
|
|
2979
|
-
this.emit("upload-progress",
|
|
2979
|
+
this.emit("upload-progress", H), J >= i.size && this.markUploadFileComplete(A.index, i, V);
|
|
2980
2980
|
}
|
|
2981
2981
|
}, G.onerror = () => {
|
|
2982
2982
|
var _a, _b;
|
|
2983
2983
|
if (this.uploadState !== void 0) {
|
|
2984
2984
|
this.uploadState.activeReaders.delete(A.streamId);
|
|
2985
|
-
const
|
|
2986
|
-
|
|
2985
|
+
const J = this.uploadState.readerTimeouts.get(A.streamId);
|
|
2986
|
+
J !== void 0 && (clearTimeout(J), this.uploadState.readerTimeouts.delete(A.streamId));
|
|
2987
2987
|
}
|
|
2988
2988
|
if (((_a = this.uploadState) == null ? void 0 : _a.failedFiles.has(A.index)) === true)
|
|
2989
2989
|
return;
|
|
2990
2990
|
this.sendSubmitFileContents(A.streamId, true, new Uint8Array());
|
|
2991
|
-
const
|
|
2991
|
+
const K = {
|
|
2992
2992
|
message: "Failed to read file chunk",
|
|
2993
2993
|
transferId: (_b = this.uploadState) == null ? void 0 : _b.transferIds.get(A.index),
|
|
2994
2994
|
fileIndex: A.index,
|
|
@@ -2996,7 +2996,7 @@ const _K = class _K {
|
|
|
2996
2996
|
direction: "upload",
|
|
2997
2997
|
cause: G.error
|
|
2998
2998
|
};
|
|
2999
|
-
this.emit("error",
|
|
2999
|
+
this.emit("error", K), this.uploadState !== void 0 && (this.uploadState.failedFiles.add(A.index), this.uploadState.completedFiles.add(A.index), this.uploadState.completedFiles.size >= this.uploadState.expectedFileCount && this.finishUploadBatch(this.uploadState));
|
|
3000
3000
|
}, G.readAsArrayBuffer(w);
|
|
3001
3001
|
}
|
|
3002
3002
|
}
|
|
@@ -3069,7 +3069,7 @@ const _K = class _K {
|
|
|
3069
3069
|
return;
|
|
3070
3070
|
}
|
|
3071
3071
|
const g = new DataView(A.data.buffer, A.data.byteOffset, A.data.byteLength), B = Number(g.getBigUint64(0, true));
|
|
3072
|
-
if (B >
|
|
3072
|
+
if (B > _c.MAX_FILE_SIZE) {
|
|
3073
3073
|
this.activeDownloads.delete(A.streamId), this.abortWriteHandle(I);
|
|
3074
3074
|
const E = {
|
|
3075
3075
|
message: `File size ${(B / (1024 * 1024 * 1024)).toFixed(2)}GB exceeds maximum download limit of 2GB`,
|
|
@@ -3102,7 +3102,7 @@ const _K = class _K {
|
|
|
3102
3102
|
initWriteHandleAndRequestFirstChunk(A) {
|
|
3103
3103
|
A.writeHandleReady = (async () => {
|
|
3104
3104
|
try {
|
|
3105
|
-
const I = (async () => (await this.ensureStorageBackend()).createWriteHandle(A.fileInfo.name, A.expectedSize ?? 0))(), g =
|
|
3105
|
+
const I = (async () => (await this.ensureStorageBackend()).createWriteHandle(A.fileInfo.name, A.expectedSize ?? 0))(), g = _c.WRITE_HANDLE_INIT_TIMEOUT_MS, B = await Promise.race([
|
|
3106
3106
|
I,
|
|
3107
3107
|
new Promise(
|
|
3108
3108
|
(E, D) => setTimeout(() => D(new Error(`Storage init timed out after ${g / 1e3}s`)), g)
|
|
@@ -3259,7 +3259,7 @@ const _K = class _K {
|
|
|
3259
3259
|
this.sendRequestFileContents(
|
|
3260
3260
|
A.streamId,
|
|
3261
3261
|
A.fileIndex,
|
|
3262
|
-
|
|
3262
|
+
b.RANGE,
|
|
3263
3263
|
I,
|
|
3264
3264
|
B,
|
|
3265
3265
|
A.clipDataId
|
|
@@ -3288,9 +3288,9 @@ const _K = class _K {
|
|
|
3288
3288
|
}
|
|
3289
3289
|
};
|
|
3290
3290
|
/** Maximum file size for downloads (2GB) to prevent browser out-of-memory errors */
|
|
3291
|
-
__publicField(
|
|
3291
|
+
__publicField(_c, "MAX_FILE_SIZE", 2 * 1024 * 1024 * 1024);
|
|
3292
3292
|
/** Timeout for FileReader operations (60 seconds) to prevent stalled uploads */
|
|
3293
|
-
__publicField(
|
|
3293
|
+
__publicField(_c, "FILE_READER_TIMEOUT_MS", 60 * 1e3);
|
|
3294
3294
|
/**
|
|
3295
3295
|
* How long to keep clipboard monitoring suppressed after advertising an upload
|
|
3296
3296
|
* while waiting for the remote to pull the files (first FileContentsRequest),
|
|
@@ -3300,7 +3300,7 @@ __publicField(_K, "FILE_READER_TIMEOUT_MS", 60 * 1e3);
|
|
|
3300
3300
|
* clobbered), the watchdog resumes monitoring and fails the upload so its state
|
|
3301
3301
|
* cannot wedge later uploads.
|
|
3302
3302
|
*/
|
|
3303
|
-
__publicField(
|
|
3303
|
+
__publicField(_c, "PASTE_ACK_TIMEOUT_MS", 60 * 1e3);
|
|
3304
3304
|
/**
|
|
3305
3305
|
* Upload inactivity window. After the remote starts pulling, each FileContentsRequest
|
|
3306
3306
|
* resets this; if pulls then stop for this long -- e.g. the remote grabbed the
|
|
@@ -3308,21 +3308,21 @@ __publicField(_K, "PASTE_ACK_TIMEOUT_MS", 60 * 1e3);
|
|
|
3308
3308
|
* upload is failed so `uploadState` is released and later uploads aren't wedged. A
|
|
3309
3309
|
* slow-but-progressing transfer keeps resetting it, so it is never killed.
|
|
3310
3310
|
*/
|
|
3311
|
-
__publicField(
|
|
3311
|
+
__publicField(_c, "UPLOAD_INACTIVITY_TIMEOUT_MS", 60 * 1e3);
|
|
3312
3312
|
/** Timeout for storage backend write handle initialization (30 seconds). */
|
|
3313
|
-
__publicField(
|
|
3313
|
+
__publicField(_c, "WRITE_HANDLE_INIT_TIMEOUT_MS", 30 * 1e3);
|
|
3314
3314
|
/** Maximum recursion depth when traversing dropped directories. */
|
|
3315
|
-
__publicField(
|
|
3315
|
+
__publicField(_c, "MAX_DIRECTORY_DEPTH", 32);
|
|
3316
3316
|
/** Maximum total entries (files + directories) collected from a single drop. */
|
|
3317
|
-
__publicField(
|
|
3318
|
-
let
|
|
3319
|
-
async function NI(Q, A) {
|
|
3320
|
-
await
|
|
3317
|
+
__publicField(_c, "MAX_DIRECTORY_ENTRIES", 1e3);
|
|
3318
|
+
let c = _c;
|
|
3319
|
+
async function NI(Q, A, I) {
|
|
3320
|
+
await XA(A === void 0 ? void 0 : { module_or_path: A }), hA(Q, I);
|
|
3321
3321
|
}
|
|
3322
3322
|
const kI = {
|
|
3323
|
-
DesktopSize:
|
|
3323
|
+
DesktopSize: l,
|
|
3324
3324
|
InputTransaction: _,
|
|
3325
|
-
SessionBuilder:
|
|
3325
|
+
SessionBuilder: Y,
|
|
3326
3326
|
ClipboardData: d,
|
|
3327
3327
|
DeviceEvent: h
|
|
3328
3328
|
};
|
|
@@ -3338,72 +3338,72 @@ function FI(Q, A = "enhanced") {
|
|
|
3338
3338
|
function yI(Q) {
|
|
3339
3339
|
return new k("display_control", Q);
|
|
3340
3340
|
}
|
|
3341
|
-
function
|
|
3341
|
+
function MI(Q) {
|
|
3342
3342
|
return new k("graphics_pipeline", Q);
|
|
3343
3343
|
}
|
|
3344
|
-
function
|
|
3344
|
+
function UI(Q) {
|
|
3345
3345
|
return new k("h264_decoder", Q);
|
|
3346
3346
|
}
|
|
3347
|
-
function
|
|
3347
|
+
function YI(Q) {
|
|
3348
3348
|
return new k("audio_playback", Q);
|
|
3349
3349
|
}
|
|
3350
|
-
function
|
|
3350
|
+
function KI(Q) {
|
|
3351
3351
|
return new k("drive_redirection", Q);
|
|
3352
3352
|
}
|
|
3353
|
-
function
|
|
3353
|
+
function JI(Q) {
|
|
3354
3354
|
return new k("audio_input", Q);
|
|
3355
3355
|
}
|
|
3356
|
-
function
|
|
3356
|
+
function cI(Q) {
|
|
3357
3357
|
const A = Q instanceof Uint8Array ? Q : new Uint8Array(Q.buffer, Q.byteOffset, Q.byteLength);
|
|
3358
3358
|
return new k("audio_input_data", A);
|
|
3359
3359
|
}
|
|
3360
3360
|
function hI(Q) {
|
|
3361
3361
|
return new k("kdc_proxy_url", Q);
|
|
3362
3362
|
}
|
|
3363
|
-
function
|
|
3363
|
+
function SI(Q) {
|
|
3364
3364
|
return new k("outbound_message_size_limit", Q);
|
|
3365
3365
|
}
|
|
3366
|
-
function
|
|
3366
|
+
function aI(Q) {
|
|
3367
3367
|
return new k("enable_credssp", Q);
|
|
3368
3368
|
}
|
|
3369
|
-
function
|
|
3369
|
+
function HI(Q) {
|
|
3370
3370
|
return new k("enable_server_pointer", Q);
|
|
3371
3371
|
}
|
|
3372
3372
|
function LI(Q) {
|
|
3373
3373
|
return new k("legacy_graphics", Q);
|
|
3374
3374
|
}
|
|
3375
|
-
try { await NI(__trdLevel, __trdModule); }
|
|
3375
|
+
try { await NI(__trdLevel, __trdModule, __trdLogSink); }
|
|
3376
3376
|
catch (error) { __trdReleaseBrowserRoots(); throw error; }
|
|
3377
3377
|
return {
|
|
3378
3378
|
Backend: kI,
|
|
3379
|
-
BlobStorageBackend:
|
|
3380
|
-
FileContentsFlags:
|
|
3381
|
-
OpfsStorageBackend:
|
|
3379
|
+
BlobStorageBackend: JA,
|
|
3380
|
+
FileContentsFlags: b,
|
|
3381
|
+
OpfsStorageBackend: j,
|
|
3382
3382
|
PrinterDriverName: DI,
|
|
3383
3383
|
RdpFile: iA,
|
|
3384
|
-
RdpFileTransferProvider:
|
|
3385
|
-
WebCodecsH264Decoder:
|
|
3386
|
-
audioInput:
|
|
3387
|
-
audioInputData:
|
|
3388
|
-
audioPlayback:
|
|
3384
|
+
RdpFileTransferProvider: c,
|
|
3385
|
+
WebCodecsH264Decoder: U,
|
|
3386
|
+
audioInput: JI,
|
|
3387
|
+
audioInputData: cI,
|
|
3388
|
+
audioPlayback: YI,
|
|
3389
3389
|
detectStorageBackend: CI,
|
|
3390
3390
|
displayControl: yI,
|
|
3391
|
-
driveRedirection:
|
|
3392
|
-
enableCredssp:
|
|
3393
|
-
enableServerPointer:
|
|
3394
|
-
fileContentsRequestCallback:
|
|
3395
|
-
fileContentsResponseCallback:
|
|
3396
|
-
filesAvailableCallback:
|
|
3397
|
-
graphicsPipeline:
|
|
3398
|
-
h264Decoder:
|
|
3391
|
+
driveRedirection: KI,
|
|
3392
|
+
enableCredssp: aI,
|
|
3393
|
+
enableServerPointer: HI,
|
|
3394
|
+
fileContentsRequestCallback: PA,
|
|
3395
|
+
fileContentsResponseCallback: zA,
|
|
3396
|
+
filesAvailableCallback: rA,
|
|
3397
|
+
graphicsPipeline: MI,
|
|
3398
|
+
h264Decoder: UI,
|
|
3399
3399
|
h264Supported: EI,
|
|
3400
3400
|
init: NI,
|
|
3401
3401
|
initiateFileCopy: II,
|
|
3402
3402
|
kdcProxyUrl: hI,
|
|
3403
3403
|
legacyGraphics: LI,
|
|
3404
|
-
lockCallback:
|
|
3404
|
+
lockCallback: eA,
|
|
3405
3405
|
locksExpiredCallback: uA,
|
|
3406
|
-
outboundMessageSizeLimit:
|
|
3406
|
+
outboundMessageSizeLimit: SI,
|
|
3407
3407
|
preConnectionBlob: RI,
|
|
3408
3408
|
printJobStreamCallbacks: iI,
|
|
3409
3409
|
printerDeviceId: GI,
|
|
@@ -3411,7 +3411,7 @@ function LI(Q) {
|
|
|
3411
3411
|
printerName: wI,
|
|
3412
3412
|
requestFileContents: $A,
|
|
3413
3413
|
submitFileContents: AI,
|
|
3414
|
-
unlockCallback:
|
|
3414
|
+
unlockCallback: vA,
|
|
3415
3415
|
vmConnect: FI,
|
|
3416
3416
|
runtime: {
|
|
3417
3417
|
dispose () { __trdReleaseBrowserRoots(); __trdListeners.clear(); },
|