tabby-rdp 0.5.5 → 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 +55 -0
- package/README.md +15 -5
- package/dist/desktop.service.js +201 -26
- package/dist/desktops.js +46 -11
- package/dist/diagnosticLog.js +106 -0
- package/dist/ironrdp.js +3 -2
- package/dist/rdpProfile.js +14 -6
- package/dist/sessionLog.js +5 -0
- package/dist/settingsPage.js +17 -0
- package/dist/signin.js +56 -31
- package/dist/ui.js +3 -0
- package/package.json +5 -3
- 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
- package/npm-shrinkwrap.json +0 -53
|
@@ -19,7 +19,7 @@ class d {
|
|
|
19
19
|
* @param {Uint8Array} binary
|
|
20
20
|
*/
|
|
21
21
|
addBinary(A, I) {
|
|
22
|
-
const g = F(A, C.__wbindgen_malloc, C.__wbindgen_realloc), B = R, E =
|
|
22
|
+
const g = F(A, C.__wbindgen_malloc, C.__wbindgen_realloc), B = R, E = OA(I, C.__wbindgen_malloc), D = R;
|
|
23
23
|
C.clipboarddata_addBinary(this.__wbg_ptr, g, B, E, D);
|
|
24
24
|
}
|
|
25
25
|
/**
|
|
@@ -45,14 +45,14 @@ class d {
|
|
|
45
45
|
*/
|
|
46
46
|
items() {
|
|
47
47
|
const A = C.clipboarddata_items(this.__wbg_ptr);
|
|
48
|
-
var I =
|
|
48
|
+
var I = VA(A[0], A[1]).slice();
|
|
49
49
|
return C.__wbindgen_free(A[0], A[1] * 4, 4), I;
|
|
50
50
|
}
|
|
51
51
|
}
|
|
52
52
|
Symbol.dispose && (d.prototype[Symbol.dispose] = d.prototype.free);
|
|
53
|
-
class
|
|
53
|
+
class n {
|
|
54
54
|
static __wrap(A) {
|
|
55
|
-
const I = Object.create(
|
|
55
|
+
const I = Object.create(n.prototype);
|
|
56
56
|
return I.__wbg_ptr = A, wA.register(I, I.__wbg_ptr, I), I;
|
|
57
57
|
}
|
|
58
58
|
__destroy_into_raw() {
|
|
@@ -82,10 +82,10 @@ class r {
|
|
|
82
82
|
return C.clipboarditem_value(this.__wbg_ptr);
|
|
83
83
|
}
|
|
84
84
|
}
|
|
85
|
-
Symbol.dispose && (
|
|
86
|
-
class
|
|
85
|
+
Symbol.dispose && (n.prototype[Symbol.dispose] = n.prototype.free);
|
|
86
|
+
class l {
|
|
87
87
|
static __wrap(A) {
|
|
88
|
-
const I = Object.create(
|
|
88
|
+
const I = Object.create(l.prototype);
|
|
89
89
|
return I.__wbg_ptr = A, AA.register(I, I.__wbg_ptr, I), I;
|
|
90
90
|
}
|
|
91
91
|
__destroy_into_raw() {
|
|
@@ -129,7 +129,7 @@ class V {
|
|
|
129
129
|
C.__wbg_set_desktopsize_width(this.__wbg_ptr, A);
|
|
130
130
|
}
|
|
131
131
|
}
|
|
132
|
-
Symbol.dispose && (
|
|
132
|
+
Symbol.dispose && (l.prototype[Symbol.dispose] = l.prototype.free);
|
|
133
133
|
class h {
|
|
134
134
|
static __wrap(A) {
|
|
135
135
|
const I = Object.create(h.prototype);
|
|
@@ -190,7 +190,7 @@ class h {
|
|
|
190
190
|
*/
|
|
191
191
|
static unicodePressed(A) {
|
|
192
192
|
const I = A.codePointAt(0);
|
|
193
|
-
|
|
193
|
+
UA(I);
|
|
194
194
|
const g = C.deviceevent_unicodePressed(I);
|
|
195
195
|
return h.__wrap(g);
|
|
196
196
|
}
|
|
@@ -200,7 +200,7 @@ class h {
|
|
|
200
200
|
*/
|
|
201
201
|
static unicodeReleased(A) {
|
|
202
202
|
const I = A.codePointAt(0);
|
|
203
|
-
|
|
203
|
+
UA(I);
|
|
204
204
|
const g = C.deviceevent_unicodeReleased(I);
|
|
205
205
|
return h.__wrap(g);
|
|
206
206
|
}
|
|
@@ -248,7 +248,7 @@ class _ {
|
|
|
248
248
|
* @param {DeviceEvent} event
|
|
249
249
|
*/
|
|
250
250
|
addEvent(A) {
|
|
251
|
-
|
|
251
|
+
t(A, h);
|
|
252
252
|
var I = A.__destroy_into_raw();
|
|
253
253
|
C.inputtransaction_addEvent(this.__wbg_ptr, I);
|
|
254
254
|
}
|
|
@@ -258,9 +258,9 @@ class _ {
|
|
|
258
258
|
}
|
|
259
259
|
}
|
|
260
260
|
Symbol.dispose && (_.prototype[Symbol.dispose] = _.prototype.free);
|
|
261
|
-
class
|
|
261
|
+
class r {
|
|
262
262
|
static __wrap(A) {
|
|
263
|
-
const I = Object.create(
|
|
263
|
+
const I = Object.create(r.prototype);
|
|
264
264
|
return I.__wbg_ptr = A, kA.register(I, I.__wbg_ptr, I), I;
|
|
265
265
|
}
|
|
266
266
|
__destroy_into_raw() {
|
|
@@ -294,13 +294,13 @@ class n {
|
|
|
294
294
|
*/
|
|
295
295
|
rdcleanpathDetails() {
|
|
296
296
|
const A = C.ironerror_rdcleanpathDetails(this.__wbg_ptr);
|
|
297
|
-
return A === 0 ? void 0 :
|
|
297
|
+
return A === 0 ? void 0 : P.__wrap(A);
|
|
298
298
|
}
|
|
299
299
|
}
|
|
300
|
-
Symbol.dispose && (
|
|
301
|
-
class
|
|
300
|
+
Symbol.dispose && (r.prototype[Symbol.dispose] = r.prototype.free);
|
|
301
|
+
class P {
|
|
302
302
|
static __wrap(A) {
|
|
303
|
-
const I = Object.create(
|
|
303
|
+
const I = Object.create(P.prototype);
|
|
304
304
|
return I.__wbg_ptr = A, RA.register(I, I.__wbg_ptr, I), I;
|
|
305
305
|
}
|
|
306
306
|
__destroy_into_raw() {
|
|
@@ -357,7 +357,7 @@ class z {
|
|
|
357
357
|
return A === 16777215 ? void 0 : A;
|
|
358
358
|
}
|
|
359
359
|
}
|
|
360
|
-
Symbol.dispose && (
|
|
360
|
+
Symbol.dispose && (P.prototype[Symbol.dispose] = P.prototype.free);
|
|
361
361
|
class iA {
|
|
362
362
|
__destroy_into_raw() {
|
|
363
363
|
const A = this.__wbg_ptr;
|
|
@@ -425,9 +425,9 @@ class iA {
|
|
|
425
425
|
}
|
|
426
426
|
}
|
|
427
427
|
Symbol.dispose && (iA.prototype[Symbol.dispose] = iA.prototype.free);
|
|
428
|
-
class
|
|
428
|
+
class z {
|
|
429
429
|
static __wrap(A) {
|
|
430
|
-
const I = Object.create(
|
|
430
|
+
const I = Object.create(z.prototype);
|
|
431
431
|
return I.__wbg_ptr = A, yA.register(I, I.__wbg_ptr, I), I;
|
|
432
432
|
}
|
|
433
433
|
__destroy_into_raw() {
|
|
@@ -442,42 +442,42 @@ class P {
|
|
|
442
442
|
* @param {InputTransaction} transaction
|
|
443
443
|
*/
|
|
444
444
|
applyInputs(A) {
|
|
445
|
-
|
|
445
|
+
t(A, _);
|
|
446
446
|
var I = A.__destroy_into_raw();
|
|
447
447
|
const g = C.session_applyInputs(this.__wbg_ptr, I);
|
|
448
448
|
if (g[1])
|
|
449
|
-
throw
|
|
449
|
+
throw Z(g[0]);
|
|
450
450
|
}
|
|
451
451
|
/**
|
|
452
452
|
* @returns {DesktopSize}
|
|
453
453
|
*/
|
|
454
454
|
desktopSize() {
|
|
455
455
|
const A = C.session_desktopSize(this.__wbg_ptr);
|
|
456
|
-
return
|
|
456
|
+
return l.__wrap(A);
|
|
457
457
|
}
|
|
458
458
|
/**
|
|
459
459
|
* @param {Extension} ext
|
|
460
460
|
* @returns {any}
|
|
461
461
|
*/
|
|
462
462
|
invokeExtension(A) {
|
|
463
|
-
|
|
463
|
+
t(A, k);
|
|
464
464
|
var I = A.__destroy_into_raw();
|
|
465
465
|
const g = C.session_invokeExtension(this.__wbg_ptr, I);
|
|
466
466
|
if (g[2])
|
|
467
|
-
throw
|
|
468
|
-
return
|
|
467
|
+
throw Z(g[1]);
|
|
468
|
+
return Z(g[0]);
|
|
469
469
|
}
|
|
470
470
|
/**
|
|
471
471
|
* @param {ClipboardData} content
|
|
472
472
|
* @returns {Promise<void>}
|
|
473
473
|
*/
|
|
474
474
|
onClipboardPaste(A) {
|
|
475
|
-
return
|
|
475
|
+
return t(A, d), C.session_onClipboardPaste(this.__wbg_ptr, A.__wbg_ptr);
|
|
476
476
|
}
|
|
477
477
|
releaseAllInputs() {
|
|
478
478
|
const A = C.session_releaseAllInputs(this.__wbg_ptr);
|
|
479
479
|
if (A[1])
|
|
480
|
-
throw
|
|
480
|
+
throw Z(A[0]);
|
|
481
481
|
}
|
|
482
482
|
/**
|
|
483
483
|
* @param {number} width
|
|
@@ -487,7 +487,7 @@ class P {
|
|
|
487
487
|
* @param {number | null} [physical_height]
|
|
488
488
|
*/
|
|
489
489
|
resize(A, I, g, B, E) {
|
|
490
|
-
C.session_resize(this.__wbg_ptr, A, I,
|
|
490
|
+
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);
|
|
491
491
|
}
|
|
492
492
|
/**
|
|
493
493
|
* @returns {Promise<SessionTerminationInfo>}
|
|
@@ -498,7 +498,7 @@ class P {
|
|
|
498
498
|
shutdown() {
|
|
499
499
|
const A = C.session_shutdown(this.__wbg_ptr);
|
|
500
500
|
if (A[1])
|
|
501
|
-
throw
|
|
501
|
+
throw Z(A[0]);
|
|
502
502
|
}
|
|
503
503
|
/**
|
|
504
504
|
* @returns {boolean}
|
|
@@ -515,13 +515,13 @@ class P {
|
|
|
515
515
|
synchronizeLockKeys(A, I, g, B) {
|
|
516
516
|
const E = C.session_synchronizeLockKeys(this.__wbg_ptr, A, I, g, B);
|
|
517
517
|
if (E[1])
|
|
518
|
-
throw
|
|
518
|
+
throw Z(E[0]);
|
|
519
519
|
}
|
|
520
520
|
}
|
|
521
|
-
Symbol.dispose && (
|
|
522
|
-
class
|
|
521
|
+
Symbol.dispose && (z.prototype[Symbol.dispose] = z.prototype.free);
|
|
522
|
+
class Y {
|
|
523
523
|
static __wrap(A) {
|
|
524
|
-
const I = Object.create(
|
|
524
|
+
const I = Object.create(Y.prototype);
|
|
525
525
|
return I.__wbg_ptr = A, IA.register(I, I.__wbg_ptr, I), I;
|
|
526
526
|
}
|
|
527
527
|
__destroy_into_raw() {
|
|
@@ -538,7 +538,7 @@ class J {
|
|
|
538
538
|
*/
|
|
539
539
|
authToken(A) {
|
|
540
540
|
const I = F(A, C.__wbindgen_malloc, C.__wbindgen_realloc), g = R, B = C.sessionbuilder_authToken(this.__wbg_ptr, I, g);
|
|
541
|
-
return
|
|
541
|
+
return Y.__wrap(B);
|
|
542
542
|
}
|
|
543
543
|
/**
|
|
544
544
|
* @param {Function} callback
|
|
@@ -546,7 +546,7 @@ class J {
|
|
|
546
546
|
*/
|
|
547
547
|
canvasResizedCallback(A) {
|
|
548
548
|
const I = C.sessionbuilder_canvasResizedCallback(this.__wbg_ptr, A);
|
|
549
|
-
return
|
|
549
|
+
return Y.__wrap(I);
|
|
550
550
|
}
|
|
551
551
|
/**
|
|
552
552
|
* @returns {Promise<Session>}
|
|
@@ -563,10 +563,10 @@ class J {
|
|
|
563
563
|
* @returns {SessionBuilder}
|
|
564
564
|
*/
|
|
565
565
|
desktopSize(A) {
|
|
566
|
-
|
|
566
|
+
t(A, l);
|
|
567
567
|
var I = A.__destroy_into_raw();
|
|
568
568
|
const g = C.sessionbuilder_desktopSize(this.__wbg_ptr, I);
|
|
569
|
-
return
|
|
569
|
+
return Y.__wrap(g);
|
|
570
570
|
}
|
|
571
571
|
/**
|
|
572
572
|
* @param {string} destination
|
|
@@ -574,17 +574,17 @@ class J {
|
|
|
574
574
|
*/
|
|
575
575
|
destination(A) {
|
|
576
576
|
const I = F(A, C.__wbindgen_malloc, C.__wbindgen_realloc), g = R, B = C.sessionbuilder_destination(this.__wbg_ptr, I, g);
|
|
577
|
-
return
|
|
577
|
+
return Y.__wrap(B);
|
|
578
578
|
}
|
|
579
579
|
/**
|
|
580
580
|
* @param {Extension} ext
|
|
581
581
|
* @returns {SessionBuilder}
|
|
582
582
|
*/
|
|
583
583
|
extension(A) {
|
|
584
|
-
|
|
584
|
+
t(A, k);
|
|
585
585
|
var I = A.__destroy_into_raw();
|
|
586
586
|
const g = C.sessionbuilder_extension(this.__wbg_ptr, I);
|
|
587
|
-
return
|
|
587
|
+
return Y.__wrap(g);
|
|
588
588
|
}
|
|
589
589
|
/**
|
|
590
590
|
* @param {Function} callback
|
|
@@ -592,7 +592,7 @@ class J {
|
|
|
592
592
|
*/
|
|
593
593
|
forceClipboardUpdateCallback(A) {
|
|
594
594
|
const I = C.sessionbuilder_forceClipboardUpdateCallback(this.__wbg_ptr, A);
|
|
595
|
-
return
|
|
595
|
+
return Y.__wrap(I);
|
|
596
596
|
}
|
|
597
597
|
/**
|
|
598
598
|
* @param {string} password
|
|
@@ -600,7 +600,7 @@ class J {
|
|
|
600
600
|
*/
|
|
601
601
|
password(A) {
|
|
602
602
|
const I = F(A, C.__wbindgen_malloc, C.__wbindgen_realloc), g = R, B = C.sessionbuilder_password(this.__wbg_ptr, I, g);
|
|
603
|
-
return
|
|
603
|
+
return Y.__wrap(B);
|
|
604
604
|
}
|
|
605
605
|
/**
|
|
606
606
|
* @param {string} address
|
|
@@ -608,7 +608,7 @@ class J {
|
|
|
608
608
|
*/
|
|
609
609
|
proxyAddress(A) {
|
|
610
610
|
const I = F(A, C.__wbindgen_malloc, C.__wbindgen_realloc), g = R, B = C.sessionbuilder_proxyAddress(this.__wbg_ptr, I, g);
|
|
611
|
-
return
|
|
611
|
+
return Y.__wrap(B);
|
|
612
612
|
}
|
|
613
613
|
/**
|
|
614
614
|
* @param {Function} callback
|
|
@@ -616,7 +616,7 @@ class J {
|
|
|
616
616
|
*/
|
|
617
617
|
remoteClipboardChangedCallback(A) {
|
|
618
618
|
const I = C.sessionbuilder_remoteClipboardChangedCallback(this.__wbg_ptr, A);
|
|
619
|
-
return
|
|
619
|
+
return Y.__wrap(I);
|
|
620
620
|
}
|
|
621
621
|
/**
|
|
622
622
|
* @param {HTMLCanvasElement} canvas
|
|
@@ -624,7 +624,7 @@ class J {
|
|
|
624
624
|
*/
|
|
625
625
|
renderCanvas(A) {
|
|
626
626
|
const I = C.sessionbuilder_renderCanvas(this.__wbg_ptr, A);
|
|
627
|
-
return
|
|
627
|
+
return Y.__wrap(I);
|
|
628
628
|
}
|
|
629
629
|
/**
|
|
630
630
|
* @param {string} server_domain
|
|
@@ -632,7 +632,7 @@ class J {
|
|
|
632
632
|
*/
|
|
633
633
|
serverDomain(A) {
|
|
634
634
|
const I = F(A, C.__wbindgen_malloc, C.__wbindgen_realloc), g = R, B = C.sessionbuilder_serverDomain(this.__wbg_ptr, I, g);
|
|
635
|
-
return
|
|
635
|
+
return Y.__wrap(B);
|
|
636
636
|
}
|
|
637
637
|
/**
|
|
638
638
|
* @param {Function} callback
|
|
@@ -640,7 +640,7 @@ class J {
|
|
|
640
640
|
*/
|
|
641
641
|
setCursorStyleCallback(A) {
|
|
642
642
|
const I = C.sessionbuilder_setCursorStyleCallback(this.__wbg_ptr, A);
|
|
643
|
-
return
|
|
643
|
+
return Y.__wrap(I);
|
|
644
644
|
}
|
|
645
645
|
/**
|
|
646
646
|
* @param {any} context
|
|
@@ -648,7 +648,7 @@ class J {
|
|
|
648
648
|
*/
|
|
649
649
|
setCursorStyleCallbackContext(A) {
|
|
650
650
|
const I = C.sessionbuilder_setCursorStyleCallbackContext(this.__wbg_ptr, A);
|
|
651
|
-
return
|
|
651
|
+
return Y.__wrap(I);
|
|
652
652
|
}
|
|
653
653
|
/**
|
|
654
654
|
* @param {string} username
|
|
@@ -656,18 +656,18 @@ class J {
|
|
|
656
656
|
*/
|
|
657
657
|
username(A) {
|
|
658
658
|
const I = F(A, C.__wbindgen_malloc, C.__wbindgen_realloc), g = R, B = C.sessionbuilder_username(this.__wbg_ptr, I, g);
|
|
659
|
-
return
|
|
659
|
+
return Y.__wrap(B);
|
|
660
660
|
}
|
|
661
661
|
}
|
|
662
|
-
Symbol.dispose && (
|
|
663
|
-
class
|
|
662
|
+
Symbol.dispose && (Y.prototype[Symbol.dispose] = Y.prototype.free);
|
|
663
|
+
class e {
|
|
664
664
|
static __wrap(A) {
|
|
665
|
-
const I = Object.create(
|
|
666
|
-
return I.__wbg_ptr = A,
|
|
665
|
+
const I = Object.create(e.prototype);
|
|
666
|
+
return I.__wbg_ptr = A, MA.register(I, I.__wbg_ptr, I), I;
|
|
667
667
|
}
|
|
668
668
|
__destroy_into_raw() {
|
|
669
669
|
const A = this.__wbg_ptr;
|
|
670
|
-
return this.__wbg_ptr = 0,
|
|
670
|
+
return this.__wbg_ptr = 0, MA.unregister(this), A;
|
|
671
671
|
}
|
|
672
672
|
free() {
|
|
673
673
|
const A = this.__destroy_into_raw();
|
|
@@ -686,23 +686,23 @@ class v {
|
|
|
686
686
|
}
|
|
687
687
|
}
|
|
688
688
|
}
|
|
689
|
-
Symbol.dispose && (
|
|
690
|
-
function hA(Q) {
|
|
691
|
-
const
|
|
692
|
-
C.setup(
|
|
689
|
+
Symbol.dispose && (e.prototype[Symbol.dispose] = e.prototype.free);
|
|
690
|
+
function hA(Q, A) {
|
|
691
|
+
const I = F(Q, C.__wbindgen_malloc, C.__wbindgen_realloc), g = R;
|
|
692
|
+
C.setup(I, g, A);
|
|
693
693
|
}
|
|
694
|
-
function
|
|
694
|
+
function SA() {
|
|
695
695
|
return {
|
|
696
696
|
__proto__: null,
|
|
697
697
|
"./ironrdp_web_bg.js": {
|
|
698
698
|
__proto__: null,
|
|
699
699
|
__wbg___wbindgen_boolean_get_fa956cfa2d1bd751: function(A) {
|
|
700
700
|
const I = A, g = typeof I == "boolean" ? I : void 0;
|
|
701
|
-
return
|
|
701
|
+
return a(g) ? 16777215 : g ? 1 : 0;
|
|
702
702
|
},
|
|
703
703
|
__wbg___wbindgen_debug_string_c25d447a39f5578f: function(A, I) {
|
|
704
704
|
const g = QA(I), B = F(g, C.__wbindgen_malloc, C.__wbindgen_realloc), E = R;
|
|
705
|
-
|
|
705
|
+
M().setInt32(A + 4, E, true), M().setInt32(A + 0, B, true);
|
|
706
706
|
},
|
|
707
707
|
__wbg___wbindgen_is_function_1ff95bcc5517c252: function(A) {
|
|
708
708
|
return typeof A == "function";
|
|
@@ -722,12 +722,12 @@ function aA() {
|
|
|
722
722
|
},
|
|
723
723
|
__wbg___wbindgen_number_get_394265ed1e1b84ee: function(A, I) {
|
|
724
724
|
const g = I, B = typeof g == "number" ? g : void 0;
|
|
725
|
-
|
|
725
|
+
M().setFloat64(A + 8, a(B) ? 0 : B, true), M().setInt32(A + 0, !a(B), true);
|
|
726
726
|
},
|
|
727
727
|
__wbg___wbindgen_string_get_b0ca35b86a603356: function(A, I) {
|
|
728
728
|
const g = I, B = typeof g == "string" ? g : void 0;
|
|
729
|
-
var E =
|
|
730
|
-
|
|
729
|
+
var E = a(B) ? 0 : F(B, C.__wbindgen_malloc, C.__wbindgen_realloc), D = R;
|
|
730
|
+
M().setInt32(A + 4, D, true), M().setInt32(A + 0, E, true);
|
|
731
731
|
},
|
|
732
732
|
__wbg___wbindgen_throw_344f42d3211c4765: function(A, I) {
|
|
733
733
|
throw new Error(y(A, I));
|
|
@@ -785,7 +785,7 @@ function aA() {
|
|
|
785
785
|
return d.__wrap(A);
|
|
786
786
|
},
|
|
787
787
|
__wbg_clipboarditem_new: function(A) {
|
|
788
|
-
return
|
|
788
|
+
return n.__wrap(A);
|
|
789
789
|
},
|
|
790
790
|
__wbg_close_c65ca0257e895318: function() {
|
|
791
791
|
return o(function(A) {
|
|
@@ -826,22 +826,22 @@ function aA() {
|
|
|
826
826
|
__wbg_getContext_e79ddf6a9cb3cc76: function() {
|
|
827
827
|
return o(function(A, I, g) {
|
|
828
828
|
const B = A.getContext(y(I, g));
|
|
829
|
-
return
|
|
829
|
+
return a(B) ? 0 : q(B);
|
|
830
830
|
}, arguments);
|
|
831
831
|
},
|
|
832
832
|
__wbg_getRandomValues_3f44b700395062e5: function() {
|
|
833
833
|
return o(function(A, I) {
|
|
834
|
-
globalThis.crypto.getRandomValues(
|
|
834
|
+
globalThis.crypto.getRandomValues(O(A, I));
|
|
835
835
|
}, arguments);
|
|
836
836
|
},
|
|
837
837
|
__wbg_getRandomValues_bf16787eede473f5: function() {
|
|
838
838
|
return o(function(A, I) {
|
|
839
|
-
globalThis.crypto.getRandomValues(
|
|
839
|
+
globalThis.crypto.getRandomValues(O(A, I));
|
|
840
840
|
}, arguments);
|
|
841
841
|
},
|
|
842
842
|
__wbg_getRandomValues_cc7f052a444bb2ce: function() {
|
|
843
843
|
return o(function(A, I) {
|
|
844
|
-
globalThis.crypto.getRandomValues(
|
|
844
|
+
globalThis.crypto.getRandomValues(O(A, I));
|
|
845
845
|
}, arguments);
|
|
846
846
|
},
|
|
847
847
|
__wbg_getTime_d6f070c088c9b5ed: function(A) {
|
|
@@ -928,7 +928,7 @@ function aA() {
|
|
|
928
928
|
return I;
|
|
929
929
|
},
|
|
930
930
|
__wbg_ironerror_new: function(A) {
|
|
931
|
-
return
|
|
931
|
+
return r.__wrap(A);
|
|
932
932
|
},
|
|
933
933
|
__wbg_isArray_0677c962b281d01a: function(A) {
|
|
934
934
|
return Array.isArray(A);
|
|
@@ -987,7 +987,7 @@ function aA() {
|
|
|
987
987
|
return new Uint32Array(WA(A, I));
|
|
988
988
|
},
|
|
989
989
|
__wbg_new_from_slice_77cdfb7977362f3c: function(A, I) {
|
|
990
|
-
return new Uint8Array(
|
|
990
|
+
return new Uint8Array(O(A, I));
|
|
991
991
|
},
|
|
992
992
|
__wbg_new_typed_1824d93f294193e5: function(A, I) {
|
|
993
993
|
try {
|
|
@@ -995,7 +995,7 @@ function aA() {
|
|
|
995
995
|
const w = g.a;
|
|
996
996
|
g.a = 0;
|
|
997
997
|
try {
|
|
998
|
-
return
|
|
998
|
+
return ZA(w, g.b, D, i);
|
|
999
999
|
} finally {
|
|
1000
1000
|
g.a = w;
|
|
1001
1001
|
}
|
|
@@ -1027,7 +1027,7 @@ function aA() {
|
|
|
1027
1027
|
},
|
|
1028
1028
|
__wbg_new_with_u8_clamped_array_and_sh_2767e4741c267d25: function() {
|
|
1029
1029
|
return o(function(A, I, g, B) {
|
|
1030
|
-
return new ImageData(
|
|
1030
|
+
return new ImageData(tA(A, I), g >>> 0, B >>> 0);
|
|
1031
1031
|
}, arguments);
|
|
1032
1032
|
},
|
|
1033
1033
|
__wbg_now_390768da5ee9e776: function(A) {
|
|
@@ -1047,13 +1047,13 @@ function aA() {
|
|
|
1047
1047
|
},
|
|
1048
1048
|
__wbg_performance_3ef602e13d6c3b56: function(A) {
|
|
1049
1049
|
const I = A.performance;
|
|
1050
|
-
return
|
|
1050
|
+
return a(I) ? 0 : q(I);
|
|
1051
1051
|
},
|
|
1052
1052
|
__wbg_performance_3fcf6e32a7e1ed0a: function(A) {
|
|
1053
1053
|
return A.performance;
|
|
1054
1054
|
},
|
|
1055
1055
|
__wbg_prototypesetcall_4770620bbe4688a0: function(A, I, g) {
|
|
1056
|
-
Uint8Array.prototype.set.call(
|
|
1056
|
+
Uint8Array.prototype.set.call(O(A, I), g);
|
|
1057
1057
|
},
|
|
1058
1058
|
__wbg_push_d2ae3af0c1217ae6: function(A, I) {
|
|
1059
1059
|
return A.push(I);
|
|
@@ -1074,7 +1074,7 @@ function aA() {
|
|
|
1074
1074
|
},
|
|
1075
1075
|
__wbg_reason_5dc8e429d537d6a9: function(A, I) {
|
|
1076
1076
|
const g = I.reason, B = F(g, C.__wbindgen_malloc, C.__wbindgen_realloc), E = R;
|
|
1077
|
-
|
|
1077
|
+
M().setInt32(A + 4, E, true), M().setInt32(A + 0, B, true);
|
|
1078
1078
|
},
|
|
1079
1079
|
__wbg_removeEventListener_a3f23c70077bdcc1: function() {
|
|
1080
1080
|
return o(function(A, I, g, B) {
|
|
@@ -1086,7 +1086,7 @@ function aA() {
|
|
|
1086
1086
|
},
|
|
1087
1087
|
__wbg_search_c905fb82fd20bc6b: function(A, I) {
|
|
1088
1088
|
const g = I.search, B = F(g, C.__wbindgen_malloc, C.__wbindgen_realloc), E = R;
|
|
1089
|
-
|
|
1089
|
+
M().setInt32(A + 4, E, true), M().setInt32(A + 0, B, true);
|
|
1090
1090
|
},
|
|
1091
1091
|
__wbg_send_1733c45567a373ff: function() {
|
|
1092
1092
|
return o(function(A, I) {
|
|
@@ -1099,10 +1099,10 @@ function aA() {
|
|
|
1099
1099
|
}, arguments);
|
|
1100
1100
|
},
|
|
1101
1101
|
__wbg_session_new: function(A) {
|
|
1102
|
-
return
|
|
1102
|
+
return z.__wrap(A);
|
|
1103
1103
|
},
|
|
1104
1104
|
__wbg_sessionterminationinfo_new: function(A) {
|
|
1105
|
-
return
|
|
1105
|
+
return e.__wrap(A);
|
|
1106
1106
|
},
|
|
1107
1107
|
__wbg_setInterval_cbf1c35c6a692d37: function() {
|
|
1108
1108
|
return o(function(A, I) {
|
|
@@ -1125,7 +1125,7 @@ function aA() {
|
|
|
1125
1125
|
}, arguments);
|
|
1126
1126
|
},
|
|
1127
1127
|
__wbg_set_binaryType_a37b086c78ca7c29: function(A, I) {
|
|
1128
|
-
A.binaryType =
|
|
1128
|
+
A.binaryType = lA[I];
|
|
1129
1129
|
},
|
|
1130
1130
|
__wbg_set_body_029f2d171e0a005f: function(A, I) {
|
|
1131
1131
|
A.body = I;
|
|
@@ -1156,27 +1156,27 @@ function aA() {
|
|
|
1156
1156
|
},
|
|
1157
1157
|
__wbg_stack_3b0d974bbf31e44f: function(A, I) {
|
|
1158
1158
|
const g = I.stack, B = F(g, C.__wbindgen_malloc, C.__wbindgen_realloc), E = R;
|
|
1159
|
-
|
|
1159
|
+
M().setInt32(A + 4, E, true), M().setInt32(A + 0, B, true);
|
|
1160
1160
|
},
|
|
1161
1161
|
__wbg_static_accessor_GLOBAL_4ef717fb391d88b7: function() {
|
|
1162
1162
|
const A = typeof global > "u" ? null : global;
|
|
1163
|
-
return
|
|
1163
|
+
return a(A) ? 0 : q(A);
|
|
1164
1164
|
},
|
|
1165
1165
|
__wbg_static_accessor_GLOBAL_THIS_8d1badc68b5a74f4: function() {
|
|
1166
1166
|
const A = typeof globalThis > "u" ? null : globalThis;
|
|
1167
|
-
return
|
|
1167
|
+
return a(A) ? 0 : q(A);
|
|
1168
1168
|
},
|
|
1169
1169
|
__wbg_static_accessor_SELF_146583524fe1469b: function() {
|
|
1170
1170
|
const A = typeof self > "u" ? null : self;
|
|
1171
|
-
return
|
|
1171
|
+
return a(A) ? 0 : q(A);
|
|
1172
1172
|
},
|
|
1173
1173
|
__wbg_static_accessor_WINDOW_f2829a2234d7819e: function() {
|
|
1174
1174
|
const A = typeof window > "u" ? null : window;
|
|
1175
|
-
return
|
|
1175
|
+
return a(A) ? 0 : q(A);
|
|
1176
1176
|
},
|
|
1177
1177
|
__wbg_statusText_9f08c32741a99815: function(A, I) {
|
|
1178
1178
|
const g = I.statusText, B = F(g, C.__wbindgen_malloc, C.__wbindgen_realloc), E = R;
|
|
1179
|
-
|
|
1179
|
+
M().setInt32(A + 4, E, true), M().setInt32(A + 0, B, true);
|
|
1180
1180
|
},
|
|
1181
1181
|
__wbg_status_c45b3b9b3033184a: function(A) {
|
|
1182
1182
|
return A.status;
|
|
@@ -1195,12 +1195,12 @@ function aA() {
|
|
|
1195
1195
|
},
|
|
1196
1196
|
__wbg_url_f6cd241d61f89b82: function(A, I) {
|
|
1197
1197
|
const g = I.url, B = F(g, C.__wbindgen_malloc, C.__wbindgen_realloc), E = R;
|
|
1198
|
-
|
|
1198
|
+
M().setInt32(A + 4, E, true), M().setInt32(A + 0, B, true);
|
|
1199
1199
|
},
|
|
1200
1200
|
__wbg_userAgent_0558f0ac642f7771: function() {
|
|
1201
1201
|
return o(function(A, I) {
|
|
1202
1202
|
const g = I.userAgent, B = F(g, C.__wbindgen_malloc, C.__wbindgen_realloc), E = R;
|
|
1203
|
-
|
|
1203
|
+
M().setInt32(A + 4, E, true), M().setInt32(A + 0, B, true);
|
|
1204
1204
|
}, arguments);
|
|
1205
1205
|
},
|
|
1206
1206
|
__wbg_warn_b1370d804fa3e259: function(A) {
|
|
@@ -1213,7 +1213,7 @@ function aA() {
|
|
|
1213
1213
|
return A.width;
|
|
1214
1214
|
},
|
|
1215
1215
|
__wbindgen_cast_0000000000000001: function(A, I) {
|
|
1216
|
-
return s(A, I,
|
|
1216
|
+
return s(A, I, pA);
|
|
1217
1217
|
},
|
|
1218
1218
|
__wbindgen_cast_0000000000000002: function(A, I) {
|
|
1219
1219
|
return s(A, I, LA);
|
|
@@ -1228,10 +1228,10 @@ function aA() {
|
|
|
1228
1228
|
return s(A, I, dA);
|
|
1229
1229
|
},
|
|
1230
1230
|
__wbindgen_cast_0000000000000006: function(A, I) {
|
|
1231
|
-
return s(A, I,
|
|
1231
|
+
return s(A, I, aA);
|
|
1232
1232
|
},
|
|
1233
1233
|
__wbindgen_cast_0000000000000007: function(A, I) {
|
|
1234
|
-
return s(A, I,
|
|
1234
|
+
return s(A, I, HA);
|
|
1235
1235
|
},
|
|
1236
1236
|
__wbindgen_cast_0000000000000008: function(A) {
|
|
1237
1237
|
return A;
|
|
@@ -1246,10 +1246,10 @@ function aA() {
|
|
|
1246
1246
|
}
|
|
1247
1247
|
};
|
|
1248
1248
|
}
|
|
1249
|
-
function
|
|
1249
|
+
function aA(Q, A) {
|
|
1250
1250
|
C.wasm_bindgen__convert__closures_____invoke__h38edb88495230029(Q, A);
|
|
1251
1251
|
}
|
|
1252
|
-
function
|
|
1252
|
+
function HA(Q, A) {
|
|
1253
1253
|
C.wasm_bindgen__convert__closures_____invoke__h59fff34e32ed8cec(Q, A);
|
|
1254
1254
|
}
|
|
1255
1255
|
function LA(Q, A, I) {
|
|
@@ -1261,18 +1261,18 @@ function sA(Q, A, I) {
|
|
|
1261
1261
|
function qA(Q, A, I) {
|
|
1262
1262
|
C.wasm_bindgen__convert__closures_____invoke__h64a57be2ca3e0d69_3(Q, A, I);
|
|
1263
1263
|
}
|
|
1264
|
-
function
|
|
1264
|
+
function pA(Q, A, I) {
|
|
1265
1265
|
const g = C.wasm_bindgen__convert__closures_____invoke__hfbb046a5343bcac9(Q, A, I);
|
|
1266
1266
|
if (g[1])
|
|
1267
|
-
throw
|
|
1267
|
+
throw Z(g[0]);
|
|
1268
1268
|
}
|
|
1269
|
-
function
|
|
1269
|
+
function ZA(Q, A, I, g) {
|
|
1270
1270
|
C.wasm_bindgen__convert__closures_____invoke__h4cc111f3c9bb2945(Q, A, I, g);
|
|
1271
1271
|
}
|
|
1272
1272
|
function dA(Q, A, I, g, B) {
|
|
1273
1273
|
C.wasm_bindgen__convert__closures_____invoke__h777de2c1fe9da8ab(Q, A, I, g, B);
|
|
1274
1274
|
}
|
|
1275
|
-
const
|
|
1275
|
+
const lA = ["blob", "arraybuffer"], $ = typeof FinalizationRegistry > "u" ? { register: () => {
|
|
1276
1276
|
}, unregister: () => {
|
|
1277
1277
|
} } : new FinalizationRegistry((Q) => C.__wbg_clipboarddata_free(Q, 1)), wA = typeof FinalizationRegistry > "u" ? { register: () => {
|
|
1278
1278
|
}, unregister: () => {
|
|
@@ -1294,21 +1294,21 @@ const VA = ["blob", "arraybuffer"], $ = typeof FinalizationRegistry > "u" ? { re
|
|
|
1294
1294
|
}, unregister: () => {
|
|
1295
1295
|
} } : new FinalizationRegistry((Q) => C.__wbg_session_free(Q, 1)), IA = typeof FinalizationRegistry > "u" ? { register: () => {
|
|
1296
1296
|
}, unregister: () => {
|
|
1297
|
-
} } : new FinalizationRegistry((Q) => C.__wbg_sessionbuilder_free(Q, 1)),
|
|
1297
|
+
} } : new FinalizationRegistry((Q) => C.__wbg_sessionbuilder_free(Q, 1)), MA = typeof FinalizationRegistry > "u" ? { register: () => {
|
|
1298
1298
|
}, unregister: () => {
|
|
1299
1299
|
} } : new FinalizationRegistry((Q) => C.__wbg_sessionterminationinfo_free(Q, 1));
|
|
1300
1300
|
function q(Q) {
|
|
1301
1301
|
const A = C.__externref_table_alloc();
|
|
1302
1302
|
return C.__wbindgen_externrefs.set(A, Q), A;
|
|
1303
1303
|
}
|
|
1304
|
-
function
|
|
1304
|
+
function UA(Q) {
|
|
1305
1305
|
if (typeof Q == "number" && (Q >= 1114112 || Q >= 55296 && Q < 57344)) throw new Error(`expected a valid Unicode scalar value, found ${Q}`);
|
|
1306
1306
|
}
|
|
1307
|
-
function
|
|
1307
|
+
function t(Q, A) {
|
|
1308
1308
|
if (!(Q instanceof A))
|
|
1309
1309
|
throw new Error(`expected instance of ${A.name}`);
|
|
1310
1310
|
}
|
|
1311
|
-
const
|
|
1311
|
+
const YA = typeof FinalizationRegistry > "u" ? { register: () => {
|
|
1312
1312
|
}, unregister: () => {
|
|
1313
1313
|
} } : new FinalizationRegistry((Q) => C.__wbindgen_destroy_closure(Q.a, Q.b));
|
|
1314
1314
|
function QA(Q) {
|
|
@@ -1348,40 +1348,40 @@ function QA(Q) {
|
|
|
1348
1348
|
return Q instanceof Error ? `${Q.name}: ${Q.message}
|
|
1349
1349
|
${Q.stack}` : g;
|
|
1350
1350
|
}
|
|
1351
|
-
function
|
|
1351
|
+
function VA(Q, A) {
|
|
1352
1352
|
Q = Q >>> 0;
|
|
1353
|
-
const I =
|
|
1353
|
+
const I = M(), g = [];
|
|
1354
1354
|
for (let B = Q; B < Q + 4 * A; B += 4)
|
|
1355
1355
|
g.push(C.__wbindgen_externrefs.get(I.getUint32(B, true)));
|
|
1356
1356
|
return C.__externref_drop_slice(Q, A), g;
|
|
1357
1357
|
}
|
|
1358
1358
|
function WA(Q, A) {
|
|
1359
|
-
return Q = Q >>> 0,
|
|
1359
|
+
return Q = Q >>> 0, xA().subarray(Q / 4, Q / 4 + A);
|
|
1360
1360
|
}
|
|
1361
|
-
function
|
|
1362
|
-
return Q = Q >>> 0,
|
|
1361
|
+
function O(Q, A) {
|
|
1362
|
+
return Q = Q >>> 0, x().subarray(Q / 1, Q / 1 + A);
|
|
1363
1363
|
}
|
|
1364
|
-
function
|
|
1365
|
-
return Q = Q >>> 0,
|
|
1364
|
+
function tA(Q, A) {
|
|
1365
|
+
return Q = Q >>> 0, jA().subarray(Q / 1, Q / 1 + A);
|
|
1366
1366
|
}
|
|
1367
|
-
let
|
|
1368
|
-
function
|
|
1369
|
-
return (
|
|
1367
|
+
let p = null;
|
|
1368
|
+
function M() {
|
|
1369
|
+
return (p === null || p.buffer.detached === true || p.buffer.detached === void 0 && p.buffer !== C.memory.buffer) && (p = new DataView(C.memory.buffer)), p;
|
|
1370
1370
|
}
|
|
1371
1371
|
function y(Q, A) {
|
|
1372
|
-
return
|
|
1372
|
+
return mA(Q >>> 0, A);
|
|
1373
1373
|
}
|
|
1374
|
-
let
|
|
1375
|
-
function
|
|
1376
|
-
return (
|
|
1374
|
+
let m = null;
|
|
1375
|
+
function xA() {
|
|
1376
|
+
return (m === null || m.byteLength === 0) && (m = new Uint32Array(C.memory.buffer)), m;
|
|
1377
1377
|
}
|
|
1378
1378
|
let T = null;
|
|
1379
|
-
function
|
|
1379
|
+
function x() {
|
|
1380
1380
|
return (T === null || T.byteLength === 0) && (T = new Uint8Array(C.memory.buffer)), T;
|
|
1381
1381
|
}
|
|
1382
|
-
let
|
|
1383
|
-
function
|
|
1384
|
-
return (
|
|
1382
|
+
let f = null;
|
|
1383
|
+
function jA() {
|
|
1384
|
+
return (f === null || f.byteLength === 0) && (f = new Uint8ClampedArray(C.memory.buffer)), f;
|
|
1385
1385
|
}
|
|
1386
1386
|
function o(Q, A) {
|
|
1387
1387
|
try {
|
|
@@ -1391,7 +1391,7 @@ function o(Q, A) {
|
|
|
1391
1391
|
C.__wbindgen_exn_store(g);
|
|
1392
1392
|
}
|
|
1393
1393
|
}
|
|
1394
|
-
function
|
|
1394
|
+
function a(Q) {
|
|
1395
1395
|
return Q == null;
|
|
1396
1396
|
}
|
|
1397
1397
|
function s(Q, A, I) {
|
|
@@ -1406,20 +1406,20 @@ function s(Q, A, I) {
|
|
|
1406
1406
|
}
|
|
1407
1407
|
};
|
|
1408
1408
|
return B._wbg_cb_unref = () => {
|
|
1409
|
-
--g.cnt === 0 && (C.__wbindgen_destroy_closure(g.a, g.b), g.a = 0,
|
|
1410
|
-
},
|
|
1409
|
+
--g.cnt === 0 && (C.__wbindgen_destroy_closure(g.a, g.b), g.a = 0, YA.unregister(g));
|
|
1410
|
+
}, YA.register(B, g, g), B;
|
|
1411
1411
|
}
|
|
1412
|
-
function
|
|
1412
|
+
function OA(Q, A) {
|
|
1413
1413
|
const I = A(Q.length * 1, 1) >>> 0;
|
|
1414
|
-
return
|
|
1414
|
+
return x().set(Q, I / 1), R = Q.length, I;
|
|
1415
1415
|
}
|
|
1416
1416
|
function F(Q, A, I) {
|
|
1417
1417
|
if (I === void 0) {
|
|
1418
|
-
const i =
|
|
1419
|
-
return
|
|
1418
|
+
const i = X.encode(Q), w = A(i.length, 1) >>> 0;
|
|
1419
|
+
return x().subarray(w, w + i.length).set(i), R = i.length, w;
|
|
1420
1420
|
}
|
|
1421
1421
|
let g = Q.length, B = A(g, 1) >>> 0;
|
|
1422
|
-
const E =
|
|
1422
|
+
const E = x();
|
|
1423
1423
|
let D = 0;
|
|
1424
1424
|
for (; D < g; D++) {
|
|
1425
1425
|
const i = Q.charCodeAt(D);
|
|
@@ -1428,25 +1428,25 @@ function F(Q, A, I) {
|
|
|
1428
1428
|
}
|
|
1429
1429
|
if (D !== g) {
|
|
1430
1430
|
D !== 0 && (Q = Q.slice(D)), B = I(B, g, g = D + Q.length * 3, 1) >>> 0;
|
|
1431
|
-
const i =
|
|
1431
|
+
const i = x().subarray(B + D, B + g), w = X.encodeInto(Q, i);
|
|
1432
1432
|
D += w.written, B = I(B, g, D, 1) >>> 0;
|
|
1433
1433
|
}
|
|
1434
1434
|
return R = D, B;
|
|
1435
1435
|
}
|
|
1436
|
-
function
|
|
1436
|
+
function Z(Q) {
|
|
1437
1437
|
const A = C.__wbindgen_externrefs.get(Q);
|
|
1438
1438
|
return C.__externref_table_dealloc(Q), A;
|
|
1439
1439
|
}
|
|
1440
1440
|
let u = new TextDecoder("utf-8", { ignoreBOM: true, fatal: true });
|
|
1441
1441
|
u.decode();
|
|
1442
|
-
const
|
|
1442
|
+
const bA = 2146435072;
|
|
1443
1443
|
let gA = 0;
|
|
1444
|
-
function
|
|
1445
|
-
return gA += A, gA >=
|
|
1444
|
+
function mA(Q, A) {
|
|
1445
|
+
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));
|
|
1446
1446
|
}
|
|
1447
|
-
const
|
|
1448
|
-
"encodeInto" in
|
|
1449
|
-
const I =
|
|
1447
|
+
const X = new TextEncoder();
|
|
1448
|
+
"encodeInto" in X || (X.encodeInto = function(Q, A) {
|
|
1449
|
+
const I = X.encode(Q);
|
|
1450
1450
|
return A.set(I), {
|
|
1451
1451
|
read: Q.length,
|
|
1452
1452
|
written: I.length
|
|
@@ -1454,9 +1454,9 @@ const f = new TextEncoder();
|
|
|
1454
1454
|
});
|
|
1455
1455
|
let R = 0, C;
|
|
1456
1456
|
function TA(Q, A) {
|
|
1457
|
-
return C = Q.exports,
|
|
1457
|
+
return C = Q.exports, p = null, m = null, T = null, f = null, C.__wbindgen_start(), C;
|
|
1458
1458
|
}
|
|
1459
|
-
async function
|
|
1459
|
+
async function fA(Q, A) {
|
|
1460
1460
|
if (typeof Response == "function" && Q instanceof Response) {
|
|
1461
1461
|
if (typeof WebAssembly.instantiateStreaming == "function")
|
|
1462
1462
|
try {
|
|
@@ -1483,18 +1483,18 @@ async function XA(Q, A) {
|
|
|
1483
1483
|
return false;
|
|
1484
1484
|
}
|
|
1485
1485
|
}
|
|
1486
|
-
async function
|
|
1486
|
+
async function XA(Q) {
|
|
1487
1487
|
if (C !== void 0) return C;
|
|
1488
1488
|
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));
|
|
1489
|
-
const A =
|
|
1489
|
+
const A = SA();
|
|
1490
1490
|
(typeof Q == "string" || typeof Request == "function" && Q instanceof Request || typeof URL == "function" && Q instanceof URL) && (Q = fetch(Q));
|
|
1491
|
-
const { instance: I, module: g } = await
|
|
1491
|
+
const { instance: I, module: g } = await fA(await Q, A);
|
|
1492
1492
|
return TA(I);
|
|
1493
1493
|
}
|
|
1494
|
-
const
|
|
1495
|
-
function
|
|
1494
|
+
const nA = "avc1.640033";
|
|
1495
|
+
function cA() {
|
|
1496
1496
|
return {
|
|
1497
|
-
codec:
|
|
1497
|
+
codec: nA,
|
|
1498
1498
|
optimizeForLatency: true,
|
|
1499
1499
|
hardwareAcceleration: "no-preference",
|
|
1500
1500
|
colorSpace: { primaries: "bt709", transfer: "bt709", matrix: "bt709", fullRange: true }
|
|
@@ -1504,12 +1504,12 @@ async function EI() {
|
|
|
1504
1504
|
if (typeof VideoDecoder > "u" || typeof EncodedVideoChunk > "u")
|
|
1505
1505
|
return false;
|
|
1506
1506
|
try {
|
|
1507
|
-
return (await VideoDecoder.isConfigSupported(
|
|
1507
|
+
return (await VideoDecoder.isConfigSupported(cA())).supported === true;
|
|
1508
1508
|
} catch {
|
|
1509
1509
|
return false;
|
|
1510
1510
|
}
|
|
1511
1511
|
}
|
|
1512
|
-
const
|
|
1512
|
+
const _U = class _U {
|
|
1513
1513
|
constructor(A = {}) {
|
|
1514
1514
|
__publicField(this, "stats", {
|
|
1515
1515
|
frames: 0,
|
|
@@ -1551,9 +1551,9 @@ const _M = class _M {
|
|
|
1551
1551
|
__publicField(this, "watchdog", null);
|
|
1552
1552
|
__publicField(this, "canvas", null);
|
|
1553
1553
|
__publicField(this, "closed", false);
|
|
1554
|
-
if (this.options = A, this.maxDecoders = A.maxDecoders ??
|
|
1554
|
+
if (this.options = A, this.maxDecoders = A.maxDecoders ?? _U.MAX_DECODERS, !Number.isInteger(this.maxDecoders) || this.maxDecoders < 1 || this.maxDecoders > _U.MAX_DECODERS)
|
|
1555
1555
|
throw new RangeError("maxDecoders must be an integer from 1 to 32");
|
|
1556
|
-
this.stallMs = A.stallMs ?? 3e3, this.now = A.now ?? (() => performance.now()), this.opens = new
|
|
1556
|
+
this.stallMs = A.stallMs ?? 3e3, this.now = A.now ?? (() => performance.now()), this.opens = new KA(_U.SESSION_OPENS, this.now());
|
|
1557
1557
|
}
|
|
1558
1558
|
decode(A, I) {
|
|
1559
1559
|
if (this.failed !== null || this.closed) {
|
|
@@ -1579,13 +1579,13 @@ const _M = class _M {
|
|
|
1579
1579
|
g = this.open(A.surfaceId);
|
|
1580
1580
|
}
|
|
1581
1581
|
const B = A.data.byteLength;
|
|
1582
|
-
if (g.pending.size >=
|
|
1583
|
-
this.fail(`more than ${
|
|
1582
|
+
if (g.pending.size >= _U.MAX_PENDING_FRAMES) {
|
|
1583
|
+
this.fail(`more than ${_U.MAX_PENDING_FRAMES} frames in a decoder`), I(A.id, null, this.failed ?? void 0);
|
|
1584
1584
|
return;
|
|
1585
1585
|
}
|
|
1586
|
-
if (this.pendingBytes + B >
|
|
1586
|
+
if (this.pendingBytes + B > _U.MAX_PENDING_BYTES) {
|
|
1587
1587
|
this.fail(
|
|
1588
|
-
`more than ${
|
|
1588
|
+
`more than ${_U.MAX_PENDING_BYTES / (1024 * 1024)} MiB of H.264 in the decoders`
|
|
1589
1589
|
), I(A.id, null, this.failed ?? void 0);
|
|
1590
1590
|
return;
|
|
1591
1591
|
}
|
|
@@ -1607,7 +1607,7 @@ const _M = class _M {
|
|
|
1607
1607
|
close() {
|
|
1608
1608
|
this.closed = true, this.stopWatchdog();
|
|
1609
1609
|
for (const A of [...this.surfaces.values(), ...this.retiring])
|
|
1610
|
-
|
|
1610
|
+
v(A.decoder);
|
|
1611
1611
|
this.surfaces.clear(), this.retiring.clear(), this.waitingForKey.clear(), this.stats.pending = 0, this.pendingBytes = 0, this.clearReadbacks(), this.canvas = null;
|
|
1612
1612
|
}
|
|
1613
1613
|
/** Releases streams as soon as their surfaces end, including when no later H.264 frame arrives. */
|
|
@@ -1623,17 +1623,17 @@ const _M = class _M {
|
|
|
1623
1623
|
const I = this.now();
|
|
1624
1624
|
let g = this.surfaceOpens.get(A);
|
|
1625
1625
|
if (g === void 0) {
|
|
1626
|
-
if (this.surfaceOpens.size >=
|
|
1626
|
+
if (this.surfaceOpens.size >= _U.MAX_DECODERS)
|
|
1627
1627
|
for (const [B, E] of this.surfaceOpens)
|
|
1628
1628
|
E.rested(I) && this.surfaceOpens.delete(B);
|
|
1629
|
-
g = new
|
|
1629
|
+
g = new KA(_U.SURFACE_OPENS, I), this.surfaceOpens.set(A, g);
|
|
1630
1630
|
}
|
|
1631
1631
|
if (!g.take(I)) {
|
|
1632
|
-
const { inARow: B, perSecond: E } =
|
|
1632
|
+
const { inARow: B, perSecond: E } = _U.SURFACE_OPENS;
|
|
1633
1633
|
return `H.264 decoders opened for surface ${A} faster than ${B} in a row and ${E} a second`;
|
|
1634
1634
|
}
|
|
1635
1635
|
if (!this.opens.take(I)) {
|
|
1636
|
-
const { inARow: B, perSecond: E } =
|
|
1636
|
+
const { inARow: B, perSecond: E } = _U.SESSION_OPENS;
|
|
1637
1637
|
return `H.264 decoders opened faster than ${B} in a row and ${E} a second`;
|
|
1638
1638
|
}
|
|
1639
1639
|
return null;
|
|
@@ -1648,7 +1648,7 @@ const _M = class _M {
|
|
|
1648
1648
|
}),
|
|
1649
1649
|
pending: /* @__PURE__ */ new Map()
|
|
1650
1650
|
};
|
|
1651
|
-
return I.decoder.configure(
|
|
1651
|
+
return I.decoder.configure(cA()), this.surfaces.set(A, I), I;
|
|
1652
1652
|
}
|
|
1653
1653
|
/** The server is done with a surface: its decoder closes once the frames given to it are out. */
|
|
1654
1654
|
retire(A) {
|
|
@@ -1656,7 +1656,7 @@ const _M = class _M {
|
|
|
1656
1656
|
if (I === void 0)
|
|
1657
1657
|
return;
|
|
1658
1658
|
if (this.surfaces.delete(A), I.pending.size === 0) {
|
|
1659
|
-
|
|
1659
|
+
v(I.decoder);
|
|
1660
1660
|
return;
|
|
1661
1661
|
}
|
|
1662
1662
|
this.retiring.add(I);
|
|
@@ -1664,7 +1664,7 @@ const _M = class _M {
|
|
|
1664
1664
|
if (this.retiring.delete(I)) {
|
|
1665
1665
|
for (const B of [...I.pending.values()])
|
|
1666
1666
|
this.settle(I, B), this.stats.dropped++, B.done(B.frame.id, null);
|
|
1667
|
-
|
|
1667
|
+
v(I.decoder);
|
|
1668
1668
|
}
|
|
1669
1669
|
};
|
|
1670
1670
|
try {
|
|
@@ -1680,7 +1680,7 @@ const _M = class _M {
|
|
|
1680
1680
|
return;
|
|
1681
1681
|
}
|
|
1682
1682
|
const E = I.codedWidth * I.codedHeight;
|
|
1683
|
-
if (!Number.isSafeInteger(E) || E <= 0 || E >
|
|
1683
|
+
if (!Number.isSafeInteger(E) || E <= 0 || E > _U.MAX_PICTURE_PIXELS) {
|
|
1684
1684
|
I.close(), this.fail("decoded H.264 picture exceeds the pixel budget");
|
|
1685
1685
|
return;
|
|
1686
1686
|
}
|
|
@@ -1691,17 +1691,17 @@ const _M = class _M {
|
|
|
1691
1691
|
}
|
|
1692
1692
|
this.settle(A, B);
|
|
1693
1693
|
const D = B.frame.regions.reduce((w, G) => w + (G.right - G.left) * (G.bottom - G.top) * 4, 0);
|
|
1694
|
-
if (this.readbackPictures.size >=
|
|
1695
|
-
I.close(), this.fail(`more than ${
|
|
1694
|
+
if (this.readbackPictures.size >= _U.MAX_READBACKS) {
|
|
1695
|
+
I.close(), this.fail(`more than ${_U.MAX_READBACKS} pictures being read back`), B.done(g, null, this.failed ?? void 0);
|
|
1696
1696
|
return;
|
|
1697
1697
|
}
|
|
1698
|
-
if (this.readbackBytes + D >
|
|
1698
|
+
if (this.readbackBytes + D > _U.MAX_READBACK_BYTES) {
|
|
1699
1699
|
I.close(), this.fail(
|
|
1700
|
-
`more than ${
|
|
1700
|
+
`more than ${_U.MAX_READBACK_BYTES / (1024 * 1024)} MiB of pictures being read back`
|
|
1701
1701
|
), B.done(g, null, this.failed ?? void 0);
|
|
1702
1702
|
return;
|
|
1703
1703
|
}
|
|
1704
|
-
if (this.readbackPixels + E >
|
|
1704
|
+
if (this.readbackPixels + E > _U.MAX_READBACK_PIXELS) {
|
|
1705
1705
|
I.close(), this.fail("more than 128 Mi pixels of decoded pictures being read back"), B.done(g, null, this.failed ?? void 0);
|
|
1706
1706
|
return;
|
|
1707
1707
|
}
|
|
@@ -1741,13 +1741,13 @@ const _M = class _M {
|
|
|
1741
1741
|
const w = i.reduce((N, L) => N + L.width * L.height * 4, 0), G = new Uint8Array(w);
|
|
1742
1742
|
if (i.length === 0)
|
|
1743
1743
|
return G;
|
|
1744
|
-
let [
|
|
1744
|
+
let [S, K, J, V] = [1 / 0, 1 / 0, -1 / 0, -1 / 0];
|
|
1745
1745
|
for (const N of i)
|
|
1746
|
-
|
|
1747
|
-
const
|
|
1746
|
+
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);
|
|
1747
|
+
const H = { x: S, y: K, width: J - S, height: V - K };
|
|
1748
1748
|
if (i.length === 1)
|
|
1749
|
-
return await this.readBox(A, g,
|
|
1750
|
-
if (
|
|
1749
|
+
return await this.readBox(A, g, H, G), G;
|
|
1750
|
+
if (H.width * H.height * 4 > w * _U.BOX_WASTE) {
|
|
1751
1751
|
let N = 0;
|
|
1752
1752
|
for (const L of i) {
|
|
1753
1753
|
const W = L.width * L.height * 4;
|
|
@@ -1755,13 +1755,13 @@ const _M = class _M {
|
|
|
1755
1755
|
}
|
|
1756
1756
|
return G;
|
|
1757
1757
|
}
|
|
1758
|
-
const CA = new Uint8Array(
|
|
1759
|
-
await this.readBox(A, g,
|
|
1758
|
+
const CA = new Uint8Array(H.width * H.height * 4);
|
|
1759
|
+
await this.readBox(A, g, H, CA);
|
|
1760
1760
|
let EA = 0;
|
|
1761
1761
|
for (const N of i) {
|
|
1762
1762
|
const L = N.width * 4;
|
|
1763
1763
|
for (let W = 0; W < N.height; W++) {
|
|
1764
|
-
const DA = ((N.y -
|
|
1764
|
+
const DA = ((N.y - H.y + W) * H.width + (N.x - H.x)) * 4;
|
|
1765
1765
|
G.set(CA.subarray(DA, DA + L), EA), EA += L;
|
|
1766
1766
|
}
|
|
1767
1767
|
}
|
|
@@ -1824,7 +1824,7 @@ const _M = class _M {
|
|
|
1824
1824
|
this.failed = A, this.stopWatchdog();
|
|
1825
1825
|
const I = [...this.surfaces.values(), ...this.retiring], g = I.flatMap((B) => [...B.pending.values()]);
|
|
1826
1826
|
for (const B of I)
|
|
1827
|
-
|
|
1827
|
+
v(B.decoder);
|
|
1828
1828
|
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);
|
|
1829
1829
|
for (const { frame: B, done: E } of g)
|
|
1830
1830
|
E(B.id, null, A);
|
|
@@ -1835,7 +1835,7 @@ const _M = class _M {
|
|
|
1835
1835
|
* (MS-RDPBCGR 2.2.1.3.6); after a reset, the decoders of the surfaces it destroyed may still be finishing their
|
|
1836
1836
|
* frames while those of the new ones start.
|
|
1837
1837
|
*/
|
|
1838
|
-
__publicField(
|
|
1838
|
+
__publicField(_U, "MAX_DECODERS", 32);
|
|
1839
1839
|
/**
|
|
1840
1840
|
* How fast one surface's decoders may open: 16 in a row, then 4 a second. A decoder opens for a surface's first
|
|
1841
1841
|
* frame, and again for its first frame after its stream ended (the surface deleted, created again or destroyed by
|
|
@@ -1845,24 +1845,24 @@ __publicField(_M, "MAX_DECODERS", 32);
|
|
|
1845
1845
|
* had that done for every frame: 32,768 times for one message of 90 KB on the wire, which froze the page, and
|
|
1846
1846
|
* every session in it, for 1.4 s, message after message.
|
|
1847
1847
|
*/
|
|
1848
|
-
__publicField(
|
|
1848
|
+
__publicField(_U, "SURFACE_OPENS", { inARow: 16, perSecond: 4 });
|
|
1849
1849
|
/**
|
|
1850
1850
|
* How fast decoders may open for all surfaces together: 128 in a row, then 32 a second. That is each of 16
|
|
1851
1851
|
* monitors (MS-RDPBCGR 2.2.1.3.6) resized eight times in a row, then twice a second, and opening that many takes
|
|
1852
1852
|
* the page's thread under 6 ms, then under 1.5 ms a second.
|
|
1853
1853
|
*/
|
|
1854
|
-
__publicField(
|
|
1854
|
+
__publicField(_U, "SESSION_OPENS", { inARow: 128, perSecond: 32 });
|
|
1855
1855
|
/**
|
|
1856
1856
|
* The most frames one decoder may hold. A decoder keeps up with its stream, so frames wait in it about as long as
|
|
1857
1857
|
* one takes to decode, and the server stops at its unacknowledged frames: 256 is over two seconds of 60 Hz AVC444
|
|
1858
1858
|
* (two access units a frame), and a frame that waits longer than `stallMs` (3 s) fails the decoder anyway.
|
|
1859
1859
|
*/
|
|
1860
|
-
__publicField(
|
|
1860
|
+
__publicField(_U, "MAX_PENDING_FRAMES", 256);
|
|
1861
1861
|
/**
|
|
1862
1862
|
* The most bytes of H.264 the decoders may hold at once: over a second at the highest bitrate any H.264 level
|
|
1863
1863
|
* allows (level 6.2, High profile: 1,000 Mbit/s), where servers send a few to tens of Mbit/s.
|
|
1864
1864
|
*/
|
|
1865
|
-
__publicField(
|
|
1865
|
+
__publicField(_U, "MAX_PENDING_BYTES", 128 * 1024 * 1024);
|
|
1866
1866
|
/**
|
|
1867
1867
|
* The most bytes the pictures being read back may be read into at once: the RGBA of their frames' regions. A
|
|
1868
1868
|
* picture is read back as it comes out, while its decoder goes on, so readbacks overlap when pictures come out
|
|
@@ -1870,15 +1870,15 @@ __publicField(_M, "MAX_PENDING_BYTES", 128 * 1024 * 1024);
|
|
|
1870
1870
|
* compositor holds), or four whole 8K pictures (7680x4320, 127 MiB each). Regions read back as their bounding box
|
|
1871
1871
|
* take the box as well while it is read, at most twice what they hold.
|
|
1872
1872
|
*/
|
|
1873
|
-
__publicField(
|
|
1874
|
-
__publicField(
|
|
1875
|
-
__publicField(
|
|
1873
|
+
__publicField(_U, "MAX_READBACK_BYTES", 512 * 1024 * 1024);
|
|
1874
|
+
__publicField(_U, "MAX_READBACKS", 64);
|
|
1875
|
+
__publicField(_U, "MAX_PICTURE_PIXELS", 64 * 1024 * 1024);
|
|
1876
1876
|
/** Four whole 8K pictures, or 512 MiB at four bytes per coded pixel, regardless of dirty-region size. */
|
|
1877
|
-
__publicField(
|
|
1877
|
+
__publicField(_U, "MAX_READBACK_PIXELS", 128 * 1024 * 1024);
|
|
1878
1878
|
/** A bounding box may be this many times what its regions hold before they are read one by one instead. */
|
|
1879
|
-
__publicField(
|
|
1880
|
-
let
|
|
1881
|
-
class
|
|
1879
|
+
__publicField(_U, "BOX_WASTE", 2);
|
|
1880
|
+
let U = _U;
|
|
1881
|
+
class KA {
|
|
1882
1882
|
constructor(A, I) {
|
|
1883
1883
|
__publicField(this, "allowance");
|
|
1884
1884
|
__publicField(this, "at");
|
|
@@ -1899,7 +1899,7 @@ class UA {
|
|
|
1899
1899
|
}
|
|
1900
1900
|
}
|
|
1901
1901
|
}
|
|
1902
|
-
function
|
|
1902
|
+
function v(Q) {
|
|
1903
1903
|
if (Q.state !== "closed")
|
|
1904
1904
|
try {
|
|
1905
1905
|
Q.close();
|
|
@@ -1909,7 +1909,7 @@ function e(Q) {
|
|
|
1909
1909
|
function BA(Q) {
|
|
1910
1910
|
return Q instanceof Error || Q instanceof DOMException ? `${Q.name}: ${Q.message}` : String(Q);
|
|
1911
1911
|
}
|
|
1912
|
-
const
|
|
1912
|
+
const b = {
|
|
1913
1913
|
/**
|
|
1914
1914
|
* Request file size (8-byte unsigned integer).
|
|
1915
1915
|
* When set: position must be 0, size must be 8.
|
|
@@ -1921,19 +1921,19 @@ const j = {
|
|
|
1921
1921
|
*/
|
|
1922
1922
|
RANGE: 2
|
|
1923
1923
|
};
|
|
1924
|
-
function
|
|
1924
|
+
function rA(Q) {
|
|
1925
1925
|
return new k("files_available_callback", Q);
|
|
1926
1926
|
}
|
|
1927
|
-
function
|
|
1927
|
+
function PA(Q) {
|
|
1928
1928
|
return new k("file_contents_request_callback", Q);
|
|
1929
1929
|
}
|
|
1930
|
-
function
|
|
1930
|
+
function zA(Q) {
|
|
1931
1931
|
return new k("file_contents_response_callback", Q);
|
|
1932
1932
|
}
|
|
1933
|
-
function
|
|
1933
|
+
function eA(Q) {
|
|
1934
1934
|
return new k("lock_callback", Q);
|
|
1935
1935
|
}
|
|
1936
|
-
function
|
|
1936
|
+
function vA(Q) {
|
|
1937
1937
|
return new k("unlock_callback", Q);
|
|
1938
1938
|
}
|
|
1939
1939
|
function uA(Q) {
|
|
@@ -1992,7 +1992,7 @@ class gI {
|
|
|
1992
1992
|
this.finalized || (this.finalized = true, this.chunks = []);
|
|
1993
1993
|
}
|
|
1994
1994
|
}
|
|
1995
|
-
class
|
|
1995
|
+
class JA {
|
|
1996
1996
|
constructor() {
|
|
1997
1997
|
__publicField(this, "name", "blob");
|
|
1998
1998
|
}
|
|
@@ -2038,7 +2038,7 @@ class BI {
|
|
|
2038
2038
|
}
|
|
2039
2039
|
}
|
|
2040
2040
|
}
|
|
2041
|
-
const
|
|
2041
|
+
const _j = class _j {
|
|
2042
2042
|
constructor(A, I, g) {
|
|
2043
2043
|
__publicField(this, "name", "opfs");
|
|
2044
2044
|
/** Sequence counter for generating unique temp file names. */
|
|
@@ -2053,7 +2053,7 @@ const _l = class _l {
|
|
|
2053
2053
|
*/
|
|
2054
2054
|
static async create(A, I) {
|
|
2055
2055
|
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 });
|
|
2056
|
-
return
|
|
2056
|
+
return _j.cleanupStale(B, g), new _j(A, E, g);
|
|
2057
2057
|
}
|
|
2058
2058
|
// 24 hours
|
|
2059
2059
|
/**
|
|
@@ -2074,7 +2074,7 @@ const _l = class _l {
|
|
|
2074
2074
|
if (!E)
|
|
2075
2075
|
continue;
|
|
2076
2076
|
const D = Number(E[1]);
|
|
2077
|
-
if (g - D >
|
|
2077
|
+
if (g - D > _j.STALE_SESSION_THRESHOLD_MS)
|
|
2078
2078
|
try {
|
|
2079
2079
|
await A.removeEntry(B, { recursive: true });
|
|
2080
2080
|
} catch {
|
|
@@ -2131,8 +2131,8 @@ const _l = class _l {
|
|
|
2131
2131
|
}
|
|
2132
2132
|
};
|
|
2133
2133
|
/** Maximum age (in milliseconds) before a session directory is considered stale. */
|
|
2134
|
-
__publicField(
|
|
2135
|
-
let
|
|
2134
|
+
__publicField(_j, "STALE_SESSION_THRESHOLD_MS", 1440 * 60 * 1e3);
|
|
2135
|
+
let j = _j;
|
|
2136
2136
|
function QI(Q) {
|
|
2137
2137
|
let A = Q.replace(/[\u0000-\u001f]/g, "");
|
|
2138
2138
|
A = A.replace(/[/\\]/g, "_"), A = A.replace(/^\.+/, ""), A.length === 0 && (A = "unnamed");
|
|
@@ -2147,19 +2147,19 @@ function QI(Q) {
|
|
|
2147
2147
|
async function CI(Q = "auto", A) {
|
|
2148
2148
|
var _a, _b;
|
|
2149
2149
|
if (Q === "blob")
|
|
2150
|
-
return new
|
|
2150
|
+
return new JA();
|
|
2151
2151
|
if (typeof ((_b = (_a = globalThis.navigator) == null ? void 0 : _a.storage) == null ? void 0 : _b.getDirectory) == "function")
|
|
2152
2152
|
try {
|
|
2153
2153
|
const I = await navigator.storage.getDirectory();
|
|
2154
|
-
if (await
|
|
2155
|
-
return
|
|
2154
|
+
if (await j.probe(I))
|
|
2155
|
+
return j.create(I, A);
|
|
2156
2156
|
console.debug("OPFS probe failed (createWritable not functional), falling back to blob storage");
|
|
2157
2157
|
} catch (I) {
|
|
2158
2158
|
console.debug("OPFS unavailable, falling back to blob storage:", I);
|
|
2159
2159
|
}
|
|
2160
|
-
return new
|
|
2160
|
+
return new JA();
|
|
2161
2161
|
}
|
|
2162
|
-
const
|
|
2162
|
+
const _c = class _c {
|
|
2163
2163
|
constructor(A) {
|
|
2164
2164
|
__publicField(this, "session");
|
|
2165
2165
|
__publicField(this, "chunkSize");
|
|
@@ -2270,13 +2270,13 @@ const _K = class _K {
|
|
|
2270
2270
|
*/
|
|
2271
2271
|
getBuilderExtensions() {
|
|
2272
2272
|
return [
|
|
2273
|
-
|
|
2273
|
+
rA(
|
|
2274
2274
|
(A, I) => this.handleFilesAvailable(A, I)
|
|
2275
2275
|
),
|
|
2276
|
-
|
|
2277
|
-
|
|
2278
|
-
|
|
2279
|
-
|
|
2276
|
+
PA((A) => this.handleFileContentsRequest(A)),
|
|
2277
|
+
zA((A) => this.handleFileContentsResponse(A)),
|
|
2278
|
+
eA((A) => this.handleLock(A)),
|
|
2279
|
+
vA((A) => this.handleUnlock(A)),
|
|
2280
2280
|
uA((A) => this.handleLocksExpired(A)),
|
|
2281
2281
|
_A((A) => this.handleFormatListResponse(A))
|
|
2282
2282
|
];
|
|
@@ -2360,7 +2360,7 @@ const _K = class _K {
|
|
|
2360
2360
|
this.activeDownloads.set(g, w);
|
|
2361
2361
|
});
|
|
2362
2362
|
try {
|
|
2363
|
-
this.sendRequestFileContents(g, I,
|
|
2363
|
+
this.sendRequestFileContents(g, I, b.SIZE, 0, 8, B);
|
|
2364
2364
|
} catch (D) {
|
|
2365
2365
|
this.activeDownloads.delete(g);
|
|
2366
2366
|
const i = {
|
|
@@ -2415,10 +2415,10 @@ const _K = class _K {
|
|
|
2415
2415
|
async downloadFilesConcurrent(A, I = {}) {
|
|
2416
2416
|
const g = I.maxConcurrent ?? 3, B = /* @__PURE__ */ new Map(), E = [], D = A.map((w, G) => async () => {
|
|
2417
2417
|
try {
|
|
2418
|
-
const { completion:
|
|
2419
|
-
B.set(G,
|
|
2420
|
-
} catch (
|
|
2421
|
-
E.push({ index: G, error:
|
|
2418
|
+
const { completion: S } = this.downloadFile(w, G), K = await S;
|
|
2419
|
+
B.set(G, K);
|
|
2420
|
+
} catch (S) {
|
|
2421
|
+
E.push({ index: G, error: S });
|
|
2422
2422
|
}
|
|
2423
2423
|
}), i = [];
|
|
2424
2424
|
for (const w of D) {
|
|
@@ -2453,7 +2453,7 @@ const _K = class _K {
|
|
|
2453
2453
|
*/
|
|
2454
2454
|
uploadFiles(A) {
|
|
2455
2455
|
this.uploadState !== void 0 && this.supersedeUpload(), this.retainedFiles = void 0;
|
|
2456
|
-
const I =
|
|
2456
|
+
const I = _c.normalizeToDroppedFiles(A), g = /* @__PURE__ */ new Map();
|
|
2457
2457
|
for (let w = 0; w < I.length; w++)
|
|
2458
2458
|
g.set(w, this.generateStreamId());
|
|
2459
2459
|
const B = I.map((w) => ({
|
|
@@ -2478,14 +2478,14 @@ const _K = class _K {
|
|
|
2478
2478
|
}, this.suppressUploadMonitoring();
|
|
2479
2479
|
try {
|
|
2480
2480
|
this.sendInitiateFileCopy(B), this.emit("upload-batch-started", g, I);
|
|
2481
|
-
} catch (
|
|
2481
|
+
} catch (S) {
|
|
2482
2482
|
this.uploadState = void 0, this.resumeUploadMonitoring();
|
|
2483
|
-
const
|
|
2483
|
+
const K = {
|
|
2484
2484
|
message: "Failed to initiate file upload",
|
|
2485
2485
|
direction: "upload",
|
|
2486
|
-
cause:
|
|
2486
|
+
cause: S
|
|
2487
2487
|
};
|
|
2488
|
-
this.emit("error",
|
|
2488
|
+
this.emit("error", K), G(new Error(K.message, { cause: S }));
|
|
2489
2489
|
return;
|
|
2490
2490
|
}
|
|
2491
2491
|
this.armPasteAckWatchdog();
|
|
@@ -2529,7 +2529,7 @@ const _K = class _K {
|
|
|
2529
2529
|
this.pasteAckTimeout = void 0;
|
|
2530
2530
|
const A = this.uploadState;
|
|
2531
2531
|
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();
|
|
2532
|
-
},
|
|
2532
|
+
}, _c.PASTE_ACK_TIMEOUT_MS);
|
|
2533
2533
|
}
|
|
2534
2534
|
/** Disarm the paste-acknowledgment watchdog, if armed. */
|
|
2535
2535
|
clearPasteAckWatchdog() {
|
|
@@ -2547,7 +2547,7 @@ const _K = class _K {
|
|
|
2547
2547
|
this.uploadInactivityTimeout = void 0;
|
|
2548
2548
|
const A = this.uploadState;
|
|
2549
2549
|
A !== void 0 && A.isRePaste !== true && this.failPendingUpload("The remote stopped requesting the files, so the paste did not complete");
|
|
2550
|
-
},
|
|
2550
|
+
}, _c.UPLOAD_INACTIVITY_TIMEOUT_MS);
|
|
2551
2551
|
}
|
|
2552
2552
|
/** Disarm the upload inactivity watchdog, if armed. */
|
|
2553
2553
|
clearUploadInactivityWatchdog() {
|
|
@@ -2684,7 +2684,7 @@ const _K = class _K {
|
|
|
2684
2684
|
* ```
|
|
2685
2685
|
*/
|
|
2686
2686
|
async handleDrop(A) {
|
|
2687
|
-
var _a, _b,
|
|
2687
|
+
var _a, _b, _c2;
|
|
2688
2688
|
A.preventDefault();
|
|
2689
2689
|
const I = [];
|
|
2690
2690
|
if ((_a = A.dataTransfer) == null ? void 0 : _a.items) {
|
|
@@ -2708,7 +2708,7 @@ const _K = class _K {
|
|
|
2708
2708
|
size: E.size,
|
|
2709
2709
|
lastModified: E.lastModified
|
|
2710
2710
|
});
|
|
2711
|
-
} else if ((
|
|
2711
|
+
} else if ((_c2 = A.dataTransfer) == null ? void 0 : _c2.files)
|
|
2712
2712
|
for (const g of Array.from(A.dataTransfer.files))
|
|
2713
2713
|
I.push({
|
|
2714
2714
|
file: g,
|
|
@@ -2735,10 +2735,10 @@ const _K = class _K {
|
|
|
2735
2735
|
* entries into `results`.
|
|
2736
2736
|
*/
|
|
2737
2737
|
async traverseEntry(A, I, g, B) {
|
|
2738
|
-
if (!(g.length >=
|
|
2739
|
-
if (B >
|
|
2738
|
+
if (!(g.length >= _c.MAX_DIRECTORY_ENTRIES)) {
|
|
2739
|
+
if (B > _c.MAX_DIRECTORY_DEPTH) {
|
|
2740
2740
|
console.warn(
|
|
2741
|
-
`Skipping "${A.name}": directory depth exceeds ${
|
|
2741
|
+
`Skipping "${A.name}": directory depth exceeds ${_c.MAX_DIRECTORY_DEPTH}`
|
|
2742
2742
|
);
|
|
2743
2743
|
return;
|
|
2744
2744
|
}
|
|
@@ -2763,7 +2763,7 @@ const _K = class _K {
|
|
|
2763
2763
|
path: I,
|
|
2764
2764
|
isDirectory: true
|
|
2765
2765
|
});
|
|
2766
|
-
const D = A.createReader(), i = await
|
|
2766
|
+
const D = A.createReader(), i = await _c.readAllDirectoryEntries(D);
|
|
2767
2767
|
for (const w of i)
|
|
2768
2768
|
await this.traverseEntry(w, E, g, B + 1);
|
|
2769
2769
|
}
|
|
@@ -2815,8 +2815,8 @@ const _K = class _K {
|
|
|
2815
2815
|
this.failPendingUpload("Upload interrupted: the remote clipboard changed");
|
|
2816
2816
|
const g = A.map((B) => ({
|
|
2817
2817
|
...B,
|
|
2818
|
-
name:
|
|
2819
|
-
path: B.path !== void 0 ?
|
|
2818
|
+
name: _c.sanitizeFileName(B.name),
|
|
2819
|
+
path: B.path !== void 0 ? _c.sanitizePath(B.path) : void 0
|
|
2820
2820
|
}));
|
|
2821
2821
|
this.availableFiles = g, this.clipDataId = I, this.emit("files-available", g);
|
|
2822
2822
|
}
|
|
@@ -2867,7 +2867,7 @@ const _K = class _K {
|
|
|
2867
2867
|
return;
|
|
2868
2868
|
}
|
|
2869
2869
|
if (E == null) {
|
|
2870
|
-
if ((A.flags &
|
|
2870
|
+
if ((A.flags & b.SIZE) !== 0) {
|
|
2871
2871
|
const w = new Uint8Array(8);
|
|
2872
2872
|
this.sendSubmitFileContents(A.streamId, false, w);
|
|
2873
2873
|
} else
|
|
@@ -2875,55 +2875,55 @@ const _K = class _K {
|
|
|
2875
2875
|
return;
|
|
2876
2876
|
}
|
|
2877
2877
|
const i = E;
|
|
2878
|
-
if ((A.flags &
|
|
2878
|
+
if ((A.flags & b.SIZE) !== 0) {
|
|
2879
2879
|
const w = new Uint8Array(8);
|
|
2880
2880
|
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);
|
|
2881
|
-
} else if ((A.flags &
|
|
2881
|
+
} else if ((A.flags & b.RANGE) !== 0) {
|
|
2882
2882
|
const w = i.slice(A.position, A.position + A.size), G = new FileReader();
|
|
2883
2883
|
I.activeReaders.set(A.streamId, G);
|
|
2884
|
-
const
|
|
2884
|
+
const S = setTimeout(() => {
|
|
2885
2885
|
var _a;
|
|
2886
2886
|
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());
|
|
2887
|
-
const
|
|
2888
|
-
message: `File read timeout after ${
|
|
2887
|
+
const K = {
|
|
2888
|
+
message: `File read timeout after ${_c.FILE_READER_TIMEOUT_MS / 1e3}s`,
|
|
2889
2889
|
transferId: (_a = this.uploadState) == null ? void 0 : _a.transferIds.get(A.index),
|
|
2890
2890
|
fileIndex: A.index,
|
|
2891
2891
|
fileName: D.name,
|
|
2892
2892
|
direction: "upload"
|
|
2893
2893
|
};
|
|
2894
|
-
this.emit("error",
|
|
2895
|
-
},
|
|
2896
|
-
I.readerTimeouts.set(A.streamId,
|
|
2894
|
+
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));
|
|
2895
|
+
}, _c.FILE_READER_TIMEOUT_MS);
|
|
2896
|
+
I.readerTimeouts.set(A.streamId, S), G.onload = () => {
|
|
2897
2897
|
if (this.uploadState !== void 0) {
|
|
2898
2898
|
this.uploadState.activeReaders.delete(A.streamId);
|
|
2899
|
-
const
|
|
2900
|
-
|
|
2899
|
+
const J = this.uploadState.readerTimeouts.get(A.streamId);
|
|
2900
|
+
J !== void 0 && (clearTimeout(J), this.uploadState.readerTimeouts.delete(A.streamId));
|
|
2901
2901
|
}
|
|
2902
|
-
const
|
|
2903
|
-
if (this.sendSubmitFileContents(A.streamId, false,
|
|
2904
|
-
const
|
|
2905
|
-
this.uploadState.bytesServed.set(A.index,
|
|
2906
|
-
const
|
|
2907
|
-
transferId:
|
|
2902
|
+
const K = new Uint8Array(G.result);
|
|
2903
|
+
if (this.sendSubmitFileContents(A.streamId, false, K), this.uploadState !== void 0) {
|
|
2904
|
+
const J = (this.uploadState.bytesServed.get(A.index) ?? 0) + K.length;
|
|
2905
|
+
this.uploadState.bytesServed.set(A.index, J);
|
|
2906
|
+
const V = this.uploadState.transferIds.get(A.index) ?? -1, H = {
|
|
2907
|
+
transferId: V,
|
|
2908
2908
|
fileIndex: A.index,
|
|
2909
2909
|
fileName: D.name,
|
|
2910
|
-
bytesTransferred:
|
|
2910
|
+
bytesTransferred: J,
|
|
2911
2911
|
totalBytes: i.size,
|
|
2912
|
-
percentage: i.size === 0 ? 100 : Math.min(
|
|
2912
|
+
percentage: i.size === 0 ? 100 : Math.min(J / i.size * 100, 100)
|
|
2913
2913
|
};
|
|
2914
|
-
this.emit("upload-progress",
|
|
2914
|
+
this.emit("upload-progress", H), J >= i.size && this.markUploadFileComplete(A.index, i, V);
|
|
2915
2915
|
}
|
|
2916
2916
|
}, G.onerror = () => {
|
|
2917
2917
|
var _a, _b;
|
|
2918
2918
|
if (this.uploadState !== void 0) {
|
|
2919
2919
|
this.uploadState.activeReaders.delete(A.streamId);
|
|
2920
|
-
const
|
|
2921
|
-
|
|
2920
|
+
const J = this.uploadState.readerTimeouts.get(A.streamId);
|
|
2921
|
+
J !== void 0 && (clearTimeout(J), this.uploadState.readerTimeouts.delete(A.streamId));
|
|
2922
2922
|
}
|
|
2923
2923
|
if (((_a = this.uploadState) == null ? void 0 : _a.failedFiles.has(A.index)) === true)
|
|
2924
2924
|
return;
|
|
2925
2925
|
this.sendSubmitFileContents(A.streamId, true, new Uint8Array());
|
|
2926
|
-
const
|
|
2926
|
+
const K = {
|
|
2927
2927
|
message: "Failed to read file chunk",
|
|
2928
2928
|
transferId: (_b = this.uploadState) == null ? void 0 : _b.transferIds.get(A.index),
|
|
2929
2929
|
fileIndex: A.index,
|
|
@@ -2931,7 +2931,7 @@ const _K = class _K {
|
|
|
2931
2931
|
direction: "upload",
|
|
2932
2932
|
cause: G.error
|
|
2933
2933
|
};
|
|
2934
|
-
this.emit("error",
|
|
2934
|
+
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));
|
|
2935
2935
|
}, G.readAsArrayBuffer(w);
|
|
2936
2936
|
}
|
|
2937
2937
|
}
|
|
@@ -3004,7 +3004,7 @@ const _K = class _K {
|
|
|
3004
3004
|
return;
|
|
3005
3005
|
}
|
|
3006
3006
|
const g = new DataView(A.data.buffer, A.data.byteOffset, A.data.byteLength), B = Number(g.getBigUint64(0, true));
|
|
3007
|
-
if (B >
|
|
3007
|
+
if (B > _c.MAX_FILE_SIZE) {
|
|
3008
3008
|
this.activeDownloads.delete(A.streamId), this.abortWriteHandle(I);
|
|
3009
3009
|
const E = {
|
|
3010
3010
|
message: `File size ${(B / (1024 * 1024 * 1024)).toFixed(2)}GB exceeds maximum download limit of 2GB`,
|
|
@@ -3037,7 +3037,7 @@ const _K = class _K {
|
|
|
3037
3037
|
initWriteHandleAndRequestFirstChunk(A) {
|
|
3038
3038
|
A.writeHandleReady = (async () => {
|
|
3039
3039
|
try {
|
|
3040
|
-
const I = (async () => (await this.ensureStorageBackend()).createWriteHandle(A.fileInfo.name, A.expectedSize ?? 0))(), g =
|
|
3040
|
+
const I = (async () => (await this.ensureStorageBackend()).createWriteHandle(A.fileInfo.name, A.expectedSize ?? 0))(), g = _c.WRITE_HANDLE_INIT_TIMEOUT_MS, B = await Promise.race([
|
|
3041
3041
|
I,
|
|
3042
3042
|
new Promise(
|
|
3043
3043
|
(E, D) => setTimeout(() => D(new Error(`Storage init timed out after ${g / 1e3}s`)), g)
|
|
@@ -3194,7 +3194,7 @@ const _K = class _K {
|
|
|
3194
3194
|
this.sendRequestFileContents(
|
|
3195
3195
|
A.streamId,
|
|
3196
3196
|
A.fileIndex,
|
|
3197
|
-
|
|
3197
|
+
b.RANGE,
|
|
3198
3198
|
I,
|
|
3199
3199
|
B,
|
|
3200
3200
|
A.clipDataId
|
|
@@ -3223,9 +3223,9 @@ const _K = class _K {
|
|
|
3223
3223
|
}
|
|
3224
3224
|
};
|
|
3225
3225
|
/** Maximum file size for downloads (2GB) to prevent browser out-of-memory errors */
|
|
3226
|
-
__publicField(
|
|
3226
|
+
__publicField(_c, "MAX_FILE_SIZE", 2 * 1024 * 1024 * 1024);
|
|
3227
3227
|
/** Timeout for FileReader operations (60 seconds) to prevent stalled uploads */
|
|
3228
|
-
__publicField(
|
|
3228
|
+
__publicField(_c, "FILE_READER_TIMEOUT_MS", 60 * 1e3);
|
|
3229
3229
|
/**
|
|
3230
3230
|
* How long to keep clipboard monitoring suppressed after advertising an upload
|
|
3231
3231
|
* while waiting for the remote to pull the files (first FileContentsRequest),
|
|
@@ -3235,7 +3235,7 @@ __publicField(_K, "FILE_READER_TIMEOUT_MS", 60 * 1e3);
|
|
|
3235
3235
|
* clobbered), the watchdog resumes monitoring and fails the upload so its state
|
|
3236
3236
|
* cannot wedge later uploads.
|
|
3237
3237
|
*/
|
|
3238
|
-
__publicField(
|
|
3238
|
+
__publicField(_c, "PASTE_ACK_TIMEOUT_MS", 60 * 1e3);
|
|
3239
3239
|
/**
|
|
3240
3240
|
* Upload inactivity window. After the remote starts pulling, each FileContentsRequest
|
|
3241
3241
|
* resets this; if pulls then stop for this long -- e.g. the remote grabbed the
|
|
@@ -3243,21 +3243,21 @@ __publicField(_K, "PASTE_ACK_TIMEOUT_MS", 60 * 1e3);
|
|
|
3243
3243
|
* upload is failed so `uploadState` is released and later uploads aren't wedged. A
|
|
3244
3244
|
* slow-but-progressing transfer keeps resetting it, so it is never killed.
|
|
3245
3245
|
*/
|
|
3246
|
-
__publicField(
|
|
3246
|
+
__publicField(_c, "UPLOAD_INACTIVITY_TIMEOUT_MS", 60 * 1e3);
|
|
3247
3247
|
/** Timeout for storage backend write handle initialization (30 seconds). */
|
|
3248
|
-
__publicField(
|
|
3248
|
+
__publicField(_c, "WRITE_HANDLE_INIT_TIMEOUT_MS", 30 * 1e3);
|
|
3249
3249
|
/** Maximum recursion depth when traversing dropped directories. */
|
|
3250
|
-
__publicField(
|
|
3250
|
+
__publicField(_c, "MAX_DIRECTORY_DEPTH", 32);
|
|
3251
3251
|
/** Maximum total entries (files + directories) collected from a single drop. */
|
|
3252
|
-
__publicField(
|
|
3253
|
-
let
|
|
3254
|
-
async function NI(Q, A) {
|
|
3255
|
-
await
|
|
3252
|
+
__publicField(_c, "MAX_DIRECTORY_ENTRIES", 1e3);
|
|
3253
|
+
let c = _c;
|
|
3254
|
+
async function NI(Q, A, I) {
|
|
3255
|
+
await XA(A === void 0 ? void 0 : { module_or_path: A }), hA(Q, I);
|
|
3256
3256
|
}
|
|
3257
3257
|
const kI = {
|
|
3258
|
-
DesktopSize:
|
|
3258
|
+
DesktopSize: l,
|
|
3259
3259
|
InputTransaction: _,
|
|
3260
|
-
SessionBuilder:
|
|
3260
|
+
SessionBuilder: Y,
|
|
3261
3261
|
ClipboardData: d,
|
|
3262
3262
|
DeviceEvent: h
|
|
3263
3263
|
};
|
|
@@ -3273,35 +3273,35 @@ function FI(Q, A = "enhanced") {
|
|
|
3273
3273
|
function yI(Q) {
|
|
3274
3274
|
return new k("display_control", Q);
|
|
3275
3275
|
}
|
|
3276
|
-
function
|
|
3276
|
+
function MI(Q) {
|
|
3277
3277
|
return new k("graphics_pipeline", Q);
|
|
3278
3278
|
}
|
|
3279
|
-
function
|
|
3279
|
+
function UI(Q) {
|
|
3280
3280
|
return new k("h264_decoder", Q);
|
|
3281
3281
|
}
|
|
3282
|
-
function
|
|
3282
|
+
function YI(Q) {
|
|
3283
3283
|
return new k("audio_playback", Q);
|
|
3284
3284
|
}
|
|
3285
|
-
function
|
|
3285
|
+
function KI(Q) {
|
|
3286
3286
|
return new k("drive_redirection", Q);
|
|
3287
3287
|
}
|
|
3288
|
-
function
|
|
3288
|
+
function JI(Q) {
|
|
3289
3289
|
return new k("audio_input", Q);
|
|
3290
3290
|
}
|
|
3291
|
-
function
|
|
3291
|
+
function cI(Q) {
|
|
3292
3292
|
const A = Q instanceof Uint8Array ? Q : new Uint8Array(Q.buffer, Q.byteOffset, Q.byteLength);
|
|
3293
3293
|
return new k("audio_input_data", A);
|
|
3294
3294
|
}
|
|
3295
3295
|
function hI(Q) {
|
|
3296
3296
|
return new k("kdc_proxy_url", Q);
|
|
3297
3297
|
}
|
|
3298
|
-
function
|
|
3298
|
+
function SI(Q) {
|
|
3299
3299
|
return new k("outbound_message_size_limit", Q);
|
|
3300
3300
|
}
|
|
3301
|
-
function
|
|
3301
|
+
function aI(Q) {
|
|
3302
3302
|
return new k("enable_credssp", Q);
|
|
3303
3303
|
}
|
|
3304
|
-
function
|
|
3304
|
+
function HI(Q) {
|
|
3305
3305
|
return new k("enable_server_pointer", Q);
|
|
3306
3306
|
}
|
|
3307
3307
|
function LI(Q) {
|
|
@@ -3309,34 +3309,34 @@ function LI(Q) {
|
|
|
3309
3309
|
}
|
|
3310
3310
|
export {
|
|
3311
3311
|
kI as Backend,
|
|
3312
|
-
|
|
3313
|
-
|
|
3314
|
-
|
|
3312
|
+
JA as BlobStorageBackend,
|
|
3313
|
+
b as FileContentsFlags,
|
|
3314
|
+
j as OpfsStorageBackend,
|
|
3315
3315
|
DI as PrinterDriverName,
|
|
3316
3316
|
iA as RdpFile,
|
|
3317
|
-
|
|
3318
|
-
|
|
3319
|
-
|
|
3320
|
-
|
|
3321
|
-
|
|
3317
|
+
c as RdpFileTransferProvider,
|
|
3318
|
+
U as WebCodecsH264Decoder,
|
|
3319
|
+
JI as audioInput,
|
|
3320
|
+
cI as audioInputData,
|
|
3321
|
+
YI as audioPlayback,
|
|
3322
3322
|
CI as detectStorageBackend,
|
|
3323
3323
|
yI as displayControl,
|
|
3324
|
-
|
|
3325
|
-
|
|
3326
|
-
|
|
3327
|
-
|
|
3328
|
-
|
|
3329
|
-
|
|
3330
|
-
|
|
3331
|
-
|
|
3324
|
+
KI as driveRedirection,
|
|
3325
|
+
aI as enableCredssp,
|
|
3326
|
+
HI as enableServerPointer,
|
|
3327
|
+
PA as fileContentsRequestCallback,
|
|
3328
|
+
zA as fileContentsResponseCallback,
|
|
3329
|
+
rA as filesAvailableCallback,
|
|
3330
|
+
MI as graphicsPipeline,
|
|
3331
|
+
UI as h264Decoder,
|
|
3332
3332
|
EI as h264Supported,
|
|
3333
3333
|
NI as init,
|
|
3334
3334
|
II as initiateFileCopy,
|
|
3335
3335
|
hI as kdcProxyUrl,
|
|
3336
3336
|
LI as legacyGraphics,
|
|
3337
|
-
|
|
3337
|
+
eA as lockCallback,
|
|
3338
3338
|
uA as locksExpiredCallback,
|
|
3339
|
-
|
|
3339
|
+
SI as outboundMessageSizeLimit,
|
|
3340
3340
|
RI as preConnectionBlob,
|
|
3341
3341
|
iI as printJobStreamCallbacks,
|
|
3342
3342
|
GI as printerDeviceId,
|
|
@@ -3344,6 +3344,6 @@ export {
|
|
|
3344
3344
|
wI as printerName,
|
|
3345
3345
|
$A as requestFileContents,
|
|
3346
3346
|
AI as submitFileContents,
|
|
3347
|
-
|
|
3347
|
+
vA as unlockCallback,
|
|
3348
3348
|
FI as vmConnect
|
|
3349
3349
|
};
|