@closedrouter/cli 1.1.51 → 1.1.52
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/README.md +2 -0
- package/assets/native/core-linux-arm64 +0 -0
- package/assets/native/core-linux-arm64.sig +1 -2
- package/assets/native/core-linux-x64 +0 -0
- package/assets/native/core-linux-x64.sig +1 -1
- package/assets/native/workers.json +2 -2
- package/assets/novnc-rfb.js +1343 -1341
- package/dist/core-darwin-arm64 +0 -0
- package/dist/core-darwin-arm64.sig +0 -0
- package/dist/core-darwin-x64 +0 -0
- package/dist/core-darwin-x64.sig +0 -0
- package/dist/core-linux-arm64 +0 -0
- package/dist/core-linux-arm64.sig +1 -2
- package/dist/core-linux-x64 +0 -0
- package/dist/core-linux-x64.sig +1 -1
- package/dist/core-win32-arm64.exe +0 -0
- package/dist/core-win32-arm64.exe.sig +0 -0
- package/dist/core-win32-x64.exe +0 -0
- package/dist/core-win32-x64.exe.sig +0 -0
- package/dist/index.js +19 -19
- package/dist/licenses/npm-@rolldown-binding-linux-x64-gnu-1.2.11/NOTICE.txt +2 -0
- package/dist/licenses/npm-@rolldown-binding-linux-x64-musl-1.2.11/NOTICE.txt +2 -0
- package/dist/licenses/npm-@tailwindcss-oxide-linux-x64-gnu-4.3.3/NOTICE.txt +2 -0
- package/dist/licenses/{npm-fsevents-2.3.3 → npm-@tailwindcss-oxide-linux-x64-musl-4.3.3}/LICENSE +5 -6
- package/dist/licenses/npm-@tailwindcss-oxide-linux-x64-musl-4.3.3/NOTICE.txt +2 -0
- package/dist/licenses/npm-lightningcss-linux-x64-gnu-1.32.0/NOTICE.txt +2 -0
- package/dist/licenses/npm-lightningcss-linux-x64-gnu-1.33.0/NOTICE.txt +2 -0
- package/dist/licenses/npm-lightningcss-linux-x64-musl-1.32.0/LICENSE +373 -0
- package/dist/licenses/npm-lightningcss-linux-x64-musl-1.32.0/NOTICE.txt +2 -0
- package/dist/licenses/npm-lightningcss-linux-x64-musl-1.33.0/LICENSE +373 -0
- package/dist/licenses/npm-lightningcss-linux-x64-musl-1.33.0/NOTICE.txt +2 -0
- package/package.json +1 -1
- package/dist/licenses/npm-@rolldown-binding-darwin-arm64-1.2.11/NOTICE.txt +0 -2
- package/dist/licenses/npm-@tailwindcss-oxide-darwin-arm64-4.3.3/NOTICE.txt +0 -2
- package/dist/licenses/npm-fsevents-2.3.3/NOTICE.txt +0 -2
- package/dist/licenses/npm-lightningcss-darwin-arm64-1.32.0/NOTICE.txt +0 -2
- package/dist/licenses/npm-lightningcss-darwin-arm64-1.33.0/NOTICE.txt +0 -2
- /package/dist/licenses/{npm-@tailwindcss-oxide-darwin-arm64-4.3.3 → npm-@tailwindcss-oxide-linux-x64-gnu-4.3.3}/LICENSE +0 -0
- /package/dist/licenses/{npm-@typescript-typescript-darwin-arm64-7.0.2 → npm-@typescript-typescript-linux-x64-7.0.2}/LICENSE +0 -0
- /package/dist/licenses/{npm-@typescript-typescript-darwin-arm64-7.0.2 → npm-@typescript-typescript-linux-x64-7.0.2}/NOTICE.txt +0 -0
- /package/dist/licenses/{npm-lightningcss-darwin-arm64-1.32.0 → npm-lightningcss-linux-x64-gnu-1.32.0}/LICENSE +0 -0
- /package/dist/licenses/{npm-lightningcss-darwin-arm64-1.33.0 → npm-lightningcss-linux-x64-gnu-1.33.0}/LICENSE +0 -0
package/assets/novnc-rfb.js
CHANGED
|
@@ -17,13 +17,15 @@ var __toESM = (mod, isNodeMode, target) => {
|
|
|
17
17
|
return cached;
|
|
18
18
|
}
|
|
19
19
|
target = mod != null ? __create(__getProtoOf(mod)) : {};
|
|
20
|
-
const to = isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target;
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
20
|
+
const to = isNodeMode || !mod || !mod.__esModule || !__hasOwnProp.call(mod, "default") ? __defProp(target, "default", { value: mod, enumerable: true }) : target;
|
|
21
|
+
if (mod && typeof mod === "object" || typeof mod === "function") {
|
|
22
|
+
for (let key of __getOwnPropNames(mod))
|
|
23
|
+
if (!__hasOwnProp.call(to, key))
|
|
24
|
+
__defProp(to, key, {
|
|
25
|
+
get: __accessProp.bind(mod, key),
|
|
26
|
+
enumerable: true
|
|
27
|
+
});
|
|
28
|
+
}
|
|
27
29
|
if (canCache)
|
|
28
30
|
cache.set(mod, to);
|
|
29
31
|
return to;
|
|
@@ -31,7 +33,7 @@ var __toESM = (mod, isNodeMode, target) => {
|
|
|
31
33
|
var __commonJS = (cb, mod) => () => (mod || cb((mod = { exports: {} }).exports, mod), mod.exports);
|
|
32
34
|
|
|
33
35
|
// ../node_modules/.bun/@novnc+novnc@1.6.0/node_modules/@novnc/novnc/lib/util/int.js
|
|
34
|
-
var require_int = __commonJS((exports)
|
|
36
|
+
var require_int = __commonJS(function(exports) {
|
|
35
37
|
Object.defineProperty(exports, "__esModule", {
|
|
36
38
|
value: true
|
|
37
39
|
});
|
|
@@ -46,7 +48,7 @@ var require_int = __commonJS((exports) => {
|
|
|
46
48
|
});
|
|
47
49
|
|
|
48
50
|
// ../node_modules/.bun/@novnc+novnc@1.6.0/node_modules/@novnc/novnc/lib/util/logging.js
|
|
49
|
-
var require_logging = __commonJS((exports)
|
|
51
|
+
var require_logging = __commonJS(function(exports) {
|
|
50
52
|
Object.defineProperty(exports, "__esModule", {
|
|
51
53
|
value: true
|
|
52
54
|
});
|
|
@@ -54,17 +56,17 @@ var require_logging = __commonJS((exports) => {
|
|
|
54
56
|
exports.getLogging = getLogging;
|
|
55
57
|
exports.initLogging = initLogging;
|
|
56
58
|
var _logLevel = "warn";
|
|
57
|
-
var Debug = exports.Debug = function
|
|
58
|
-
var Info = exports.Info = function
|
|
59
|
-
var Warn = exports.Warn = function
|
|
60
|
-
var Error2 = exports.Error = function
|
|
59
|
+
var Debug = exports.Debug = function Debug() {};
|
|
60
|
+
var Info = exports.Info = function Info() {};
|
|
61
|
+
var Warn = exports.Warn = function Warn() {};
|
|
62
|
+
var Error2 = exports.Error = function Error2() {};
|
|
61
63
|
function initLogging(level) {
|
|
62
64
|
if (typeof level === "undefined") {
|
|
63
65
|
level = _logLevel;
|
|
64
66
|
} else {
|
|
65
67
|
_logLevel = level;
|
|
66
68
|
}
|
|
67
|
-
exports.Debug = Debug = exports.Info = Info = exports.Warn = Warn = exports.Error = Error2 = function
|
|
69
|
+
exports.Debug = Debug = exports.Info = Info = exports.Warn = Warn = exports.Error = Error2 = function Error2() {};
|
|
68
70
|
if (typeof window.console !== "undefined") {
|
|
69
71
|
switch (level) {
|
|
70
72
|
case "debug":
|
|
@@ -89,7 +91,7 @@ var require_logging = __commonJS((exports) => {
|
|
|
89
91
|
});
|
|
90
92
|
|
|
91
93
|
// ../node_modules/.bun/@novnc+novnc@1.6.0/node_modules/@novnc/novnc/lib/util/strings.js
|
|
92
|
-
var require_strings = __commonJS((exports)
|
|
94
|
+
var require_strings = __commonJS(function(exports) {
|
|
93
95
|
Object.defineProperty(exports, "__esModule", {
|
|
94
96
|
value: true
|
|
95
97
|
});
|
|
@@ -114,13 +116,13 @@ var require_strings = __commonJS((exports) => {
|
|
|
114
116
|
});
|
|
115
117
|
|
|
116
118
|
// ../node_modules/.bun/@novnc+novnc@1.6.0/node_modules/@novnc/novnc/lib/base64.js
|
|
117
|
-
var require_base64 = __commonJS((exports)
|
|
119
|
+
var require_base64 = __commonJS(function(exports) {
|
|
118
120
|
function _typeof(o) {
|
|
119
121
|
"@babel/helpers - typeof";
|
|
120
|
-
return _typeof = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(
|
|
121
|
-
return typeof
|
|
122
|
-
} : function(
|
|
123
|
-
return
|
|
122
|
+
return _typeof = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(o) {
|
|
123
|
+
return typeof o;
|
|
124
|
+
} : function(o) {
|
|
125
|
+
return o && typeof Symbol == "function" && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o;
|
|
124
126
|
}, _typeof(o);
|
|
125
127
|
}
|
|
126
128
|
Object.defineProperty(exports, "__esModule", {
|
|
@@ -132,8 +134,8 @@ var require_base64 = __commonJS((exports) => {
|
|
|
132
134
|
if (typeof WeakMap != "function")
|
|
133
135
|
return null;
|
|
134
136
|
var r = new WeakMap, t = new WeakMap;
|
|
135
|
-
return (_getRequireWildcardCache = function
|
|
136
|
-
return
|
|
137
|
+
return (_getRequireWildcardCache = function _getRequireWildcardCache(e) {
|
|
138
|
+
return e ? t : r;
|
|
137
139
|
})(e);
|
|
138
140
|
}
|
|
139
141
|
function _interopRequireWildcard(e, r) {
|
|
@@ -218,7 +220,7 @@ var require_base64 = __commonJS((exports) => {
|
|
|
218
220
|
});
|
|
219
221
|
|
|
220
222
|
// ../node_modules/.bun/@novnc+novnc@1.6.0/node_modules/@novnc/novnc/lib/util/browser.js
|
|
221
|
-
var require_browser = __commonJS((exports)
|
|
223
|
+
var require_browser = __commonJS(function(exports) {
|
|
222
224
|
Object.defineProperty(exports, "__esModule", {
|
|
223
225
|
value: true
|
|
224
226
|
});
|
|
@@ -248,8 +250,8 @@ var require_browser = __commonJS((exports) => {
|
|
|
248
250
|
if (typeof WeakMap != "function")
|
|
249
251
|
return null;
|
|
250
252
|
var r = new WeakMap, t = new WeakMap;
|
|
251
|
-
return (_getRequireWildcardCache = function
|
|
252
|
-
return
|
|
253
|
+
return (_getRequireWildcardCache = function _getRequireWildcardCache(e) {
|
|
254
|
+
return e ? t : r;
|
|
253
255
|
})(e);
|
|
254
256
|
}
|
|
255
257
|
function _interopRequireWildcard(e, r) {
|
|
@@ -270,10 +272,10 @@ var require_browser = __commonJS((exports) => {
|
|
|
270
272
|
}
|
|
271
273
|
function _typeof(o) {
|
|
272
274
|
"@babel/helpers - typeof";
|
|
273
|
-
return _typeof = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(
|
|
274
|
-
return typeof
|
|
275
|
-
} : function(
|
|
276
|
-
return
|
|
275
|
+
return _typeof = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(o) {
|
|
276
|
+
return typeof o;
|
|
277
|
+
} : function(o) {
|
|
278
|
+
return o && typeof Symbol == "function" && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o;
|
|
277
279
|
}, _typeof(o);
|
|
278
280
|
}
|
|
279
281
|
var isTouchDevice = exports.isTouchDevice = "ontouchstart" in document.documentElement || document.ontouchstart !== undefined || navigator.maxTouchPoints > 0 || navigator.msMaxTouchPoints > 0;
|
|
@@ -362,7 +364,7 @@ var require_browser = __commonJS((exports) => {
|
|
|
362
364
|
});
|
|
363
365
|
|
|
364
366
|
// ../node_modules/.bun/@novnc+novnc@1.6.0/node_modules/@novnc/novnc/lib/util/element.js
|
|
365
|
-
var require_element = __commonJS((exports)
|
|
367
|
+
var require_element = __commonJS(function(exports) {
|
|
366
368
|
Object.defineProperty(exports, "__esModule", {
|
|
367
369
|
value: true
|
|
368
370
|
});
|
|
@@ -392,7 +394,7 @@ var require_element = __commonJS((exports) => {
|
|
|
392
394
|
});
|
|
393
395
|
|
|
394
396
|
// ../node_modules/.bun/@novnc+novnc@1.6.0/node_modules/@novnc/novnc/lib/util/events.js
|
|
395
|
-
var require_events = __commonJS((exports)
|
|
397
|
+
var require_events = __commonJS(function(exports) {
|
|
396
398
|
Object.defineProperty(exports, "__esModule", {
|
|
397
399
|
value: true
|
|
398
400
|
});
|
|
@@ -486,17 +488,17 @@ var require_events = __commonJS((exports) => {
|
|
|
486
488
|
});
|
|
487
489
|
|
|
488
490
|
// ../node_modules/.bun/@novnc+novnc@1.6.0/node_modules/@novnc/novnc/lib/util/eventtarget.js
|
|
489
|
-
var require_eventtarget = __commonJS((exports)
|
|
491
|
+
var require_eventtarget = __commonJS(function(exports) {
|
|
490
492
|
Object.defineProperty(exports, "__esModule", {
|
|
491
493
|
value: true
|
|
492
494
|
});
|
|
493
495
|
exports.default = undefined;
|
|
494
496
|
function _typeof(o) {
|
|
495
497
|
"@babel/helpers - typeof";
|
|
496
|
-
return _typeof = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(
|
|
497
|
-
return typeof
|
|
498
|
-
} : function(
|
|
499
|
-
return
|
|
498
|
+
return _typeof = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(o) {
|
|
499
|
+
return typeof o;
|
|
500
|
+
} : function(o) {
|
|
501
|
+
return o && typeof Symbol == "function" && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o;
|
|
500
502
|
}, _typeof(o);
|
|
501
503
|
}
|
|
502
504
|
function _classCallCheck(a, n) {
|
|
@@ -529,11 +531,11 @@ var require_eventtarget = __commonJS((exports) => {
|
|
|
529
531
|
return (r === "string" ? String : Number)(t);
|
|
530
532
|
}
|
|
531
533
|
var EventTargetMixin = exports.default = /* @__PURE__ */ function() {
|
|
532
|
-
function
|
|
533
|
-
_classCallCheck(this,
|
|
534
|
+
function EventTargetMixin() {
|
|
535
|
+
_classCallCheck(this, EventTargetMixin);
|
|
534
536
|
this._listeners = new Map;
|
|
535
537
|
}
|
|
536
|
-
return _createClass(
|
|
538
|
+
return _createClass(EventTargetMixin, [{
|
|
537
539
|
key: "addEventListener",
|
|
538
540
|
value: function addEventListener(type, callback) {
|
|
539
541
|
if (!this._listeners.has(type)) {
|
|
@@ -565,7 +567,7 @@ var require_eventtarget = __commonJS((exports) => {
|
|
|
565
567
|
});
|
|
566
568
|
|
|
567
569
|
// ../node_modules/.bun/@novnc+novnc@1.6.0/node_modules/@novnc/novnc/lib/display.js
|
|
568
|
-
var require_display = __commonJS((exports)
|
|
570
|
+
var require_display = __commonJS(function(exports) {
|
|
569
571
|
Object.defineProperty(exports, "__esModule", {
|
|
570
572
|
value: true
|
|
571
573
|
});
|
|
@@ -580,8 +582,8 @@ var require_display = __commonJS((exports) => {
|
|
|
580
582
|
if (typeof WeakMap != "function")
|
|
581
583
|
return null;
|
|
582
584
|
var r = new WeakMap, t = new WeakMap;
|
|
583
|
-
return (_getRequireWildcardCache = function
|
|
584
|
-
return
|
|
585
|
+
return (_getRequireWildcardCache = function _getRequireWildcardCache(e) {
|
|
586
|
+
return e ? t : r;
|
|
585
587
|
})(e);
|
|
586
588
|
}
|
|
587
589
|
function _interopRequireWildcard(e, r) {
|
|
@@ -602,10 +604,10 @@ var require_display = __commonJS((exports) => {
|
|
|
602
604
|
}
|
|
603
605
|
function _typeof(o) {
|
|
604
606
|
"@babel/helpers - typeof";
|
|
605
|
-
return _typeof = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(
|
|
606
|
-
return typeof
|
|
607
|
-
} : function(
|
|
608
|
-
return
|
|
607
|
+
return _typeof = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(o) {
|
|
608
|
+
return typeof o;
|
|
609
|
+
} : function(o) {
|
|
610
|
+
return o && typeof Symbol == "function" && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o;
|
|
609
611
|
}, _typeof(o);
|
|
610
612
|
}
|
|
611
613
|
function _classCallCheck(a, n) {
|
|
@@ -638,8 +640,8 @@ var require_display = __commonJS((exports) => {
|
|
|
638
640
|
return (r === "string" ? String : Number)(t);
|
|
639
641
|
}
|
|
640
642
|
var Display = exports.default = /* @__PURE__ */ function() {
|
|
641
|
-
function
|
|
642
|
-
_classCallCheck(this,
|
|
643
|
+
function Display(target) {
|
|
644
|
+
_classCallCheck(this, Display);
|
|
643
645
|
this._drawCtx = null;
|
|
644
646
|
this._renderQ = [];
|
|
645
647
|
this._flushPromise = null;
|
|
@@ -677,7 +679,7 @@ var require_display = __commonJS((exports) => {
|
|
|
677
679
|
this._scale = 1;
|
|
678
680
|
this._clipViewport = false;
|
|
679
681
|
}
|
|
680
|
-
return _createClass(
|
|
682
|
+
return _createClass(Display, [{
|
|
681
683
|
key: "scale",
|
|
682
684
|
get: function get() {
|
|
683
685
|
return this._scale;
|
|
@@ -1062,7 +1064,7 @@ var require_display = __commonJS((exports) => {
|
|
|
1062
1064
|
value: function _scanRenderQ() {
|
|
1063
1065
|
var _this2 = this;
|
|
1064
1066
|
var ready = true;
|
|
1065
|
-
var _loop = function
|
|
1067
|
+
var _loop = function _loop() {
|
|
1066
1068
|
var a = _this2._renderQ[0];
|
|
1067
1069
|
switch (a.type) {
|
|
1068
1070
|
case "flip":
|
|
@@ -1137,7 +1139,7 @@ var require_display = __commonJS((exports) => {
|
|
|
1137
1139
|
});
|
|
1138
1140
|
|
|
1139
1141
|
// ../node_modules/.bun/@novnc+novnc@1.6.0/node_modules/@novnc/novnc/lib/vendor/pako/lib/utils/common.js
|
|
1140
|
-
var require_common = __commonJS((exports)
|
|
1142
|
+
var require_common = __commonJS(function(exports) {
|
|
1141
1143
|
Object.defineProperty(exports, "__esModule", {
|
|
1142
1144
|
value: true
|
|
1143
1145
|
});
|
|
@@ -1185,7 +1187,7 @@ var require_common = __commonJS((exports) => {
|
|
|
1185
1187
|
});
|
|
1186
1188
|
|
|
1187
1189
|
// ../node_modules/.bun/@novnc+novnc@1.6.0/node_modules/@novnc/novnc/lib/vendor/pako/lib/zlib/adler32.js
|
|
1188
|
-
var require_adler32 = __commonJS((exports)
|
|
1190
|
+
var require_adler32 = __commonJS(function(exports) {
|
|
1189
1191
|
Object.defineProperty(exports, "__esModule", {
|
|
1190
1192
|
value: true
|
|
1191
1193
|
});
|
|
@@ -1207,7 +1209,7 @@ var require_adler32 = __commonJS((exports) => {
|
|
|
1207
1209
|
});
|
|
1208
1210
|
|
|
1209
1211
|
// ../node_modules/.bun/@novnc+novnc@1.6.0/node_modules/@novnc/novnc/lib/vendor/pako/lib/zlib/crc32.js
|
|
1210
|
-
var require_crc32 = __commonJS((exports)
|
|
1212
|
+
var require_crc32 = __commonJS(function(exports) {
|
|
1211
1213
|
Object.defineProperty(exports, "__esModule", {
|
|
1212
1214
|
value: true
|
|
1213
1215
|
});
|
|
@@ -1227,7 +1229,7 @@ var require_crc32 = __commonJS((exports) => {
|
|
|
1227
1229
|
});
|
|
1228
1230
|
|
|
1229
1231
|
// ../node_modules/.bun/@novnc+novnc@1.6.0/node_modules/@novnc/novnc/lib/vendor/pako/lib/zlib/inffast.js
|
|
1230
|
-
var require_inffast = __commonJS((exports)
|
|
1232
|
+
var require_inffast = __commonJS(function(exports) {
|
|
1231
1233
|
Object.defineProperty(exports, "__esModule", {
|
|
1232
1234
|
value: true
|
|
1233
1235
|
});
|
|
@@ -1457,13 +1459,13 @@ var require_inffast = __commonJS((exports) => {
|
|
|
1457
1459
|
});
|
|
1458
1460
|
|
|
1459
1461
|
// ../node_modules/.bun/@novnc+novnc@1.6.0/node_modules/@novnc/novnc/lib/vendor/pako/lib/zlib/inftrees.js
|
|
1460
|
-
var require_inftrees = __commonJS((exports)
|
|
1462
|
+
var require_inftrees = __commonJS(function(exports) {
|
|
1461
1463
|
function _typeof(o) {
|
|
1462
1464
|
"@babel/helpers - typeof";
|
|
1463
|
-
return _typeof = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(
|
|
1464
|
-
return typeof
|
|
1465
|
-
} : function(
|
|
1466
|
-
return
|
|
1465
|
+
return _typeof = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(o) {
|
|
1466
|
+
return typeof o;
|
|
1467
|
+
} : function(o) {
|
|
1468
|
+
return o && typeof Symbol == "function" && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o;
|
|
1467
1469
|
}, _typeof(o);
|
|
1468
1470
|
}
|
|
1469
1471
|
Object.defineProperty(exports, "__esModule", {
|
|
@@ -1475,8 +1477,8 @@ var require_inftrees = __commonJS((exports) => {
|
|
|
1475
1477
|
if (typeof WeakMap != "function")
|
|
1476
1478
|
return null;
|
|
1477
1479
|
var r = new WeakMap, t = new WeakMap;
|
|
1478
|
-
return (_getRequireWildcardCache = function
|
|
1479
|
-
return
|
|
1480
|
+
return (_getRequireWildcardCache = function _getRequireWildcardCache(e) {
|
|
1481
|
+
return e ? t : r;
|
|
1480
1482
|
})(e);
|
|
1481
1483
|
}
|
|
1482
1484
|
function _interopRequireWildcard(e, r) {
|
|
@@ -1802,13 +1804,13 @@ var require_inftrees = __commonJS((exports) => {
|
|
|
1802
1804
|
});
|
|
1803
1805
|
|
|
1804
1806
|
// ../node_modules/.bun/@novnc+novnc@1.6.0/node_modules/@novnc/novnc/lib/vendor/pako/lib/zlib/inflate.js
|
|
1805
|
-
var require_inflate = __commonJS((exports)
|
|
1807
|
+
var require_inflate = __commonJS(function(exports) {
|
|
1806
1808
|
function _typeof(o) {
|
|
1807
1809
|
"@babel/helpers - typeof";
|
|
1808
|
-
return _typeof = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(
|
|
1809
|
-
return typeof
|
|
1810
|
-
} : function(
|
|
1811
|
-
return
|
|
1810
|
+
return _typeof = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(o) {
|
|
1811
|
+
return typeof o;
|
|
1812
|
+
} : function(o) {
|
|
1813
|
+
return o && typeof Symbol == "function" && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o;
|
|
1812
1814
|
}, _typeof(o);
|
|
1813
1815
|
}
|
|
1814
1816
|
Object.defineProperty(exports, "__esModule", {
|
|
@@ -1837,8 +1839,8 @@ var require_inflate = __commonJS((exports) => {
|
|
|
1837
1839
|
if (typeof WeakMap != "function")
|
|
1838
1840
|
return null;
|
|
1839
1841
|
var r = new WeakMap, t = new WeakMap;
|
|
1840
|
-
return (_getRequireWildcardCache = function
|
|
1841
|
-
return
|
|
1842
|
+
return (_getRequireWildcardCache = function _getRequireWildcardCache(e) {
|
|
1843
|
+
return e ? t : r;
|
|
1842
1844
|
})(e);
|
|
1843
1845
|
}
|
|
1844
1846
|
function _interopRequireWildcard(e, r) {
|
|
@@ -3050,7 +3052,7 @@ var require_inflate = __commonJS((exports) => {
|
|
|
3050
3052
|
});
|
|
3051
3053
|
|
|
3052
3054
|
// ../node_modules/.bun/@novnc+novnc@1.6.0/node_modules/@novnc/novnc/lib/vendor/pako/lib/zlib/zstream.js
|
|
3053
|
-
var require_zstream = __commonJS((exports)
|
|
3055
|
+
var require_zstream = __commonJS(function(exports) {
|
|
3054
3056
|
Object.defineProperty(exports, "__esModule", {
|
|
3055
3057
|
value: true
|
|
3056
3058
|
});
|
|
@@ -3072,7 +3074,7 @@ var require_zstream = __commonJS((exports) => {
|
|
|
3072
3074
|
});
|
|
3073
3075
|
|
|
3074
3076
|
// ../node_modules/.bun/@novnc+novnc@1.6.0/node_modules/@novnc/novnc/lib/inflator.js
|
|
3075
|
-
var require_inflator = __commonJS((exports)
|
|
3077
|
+
var require_inflator = __commonJS(function(exports) {
|
|
3076
3078
|
Object.defineProperty(exports, "__esModule", {
|
|
3077
3079
|
value: true
|
|
3078
3080
|
});
|
|
@@ -3084,10 +3086,10 @@ var require_inflator = __commonJS((exports) => {
|
|
|
3084
3086
|
}
|
|
3085
3087
|
function _typeof(o) {
|
|
3086
3088
|
"@babel/helpers - typeof";
|
|
3087
|
-
return _typeof = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(
|
|
3088
|
-
return typeof
|
|
3089
|
-
} : function(
|
|
3090
|
-
return
|
|
3089
|
+
return _typeof = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(o) {
|
|
3090
|
+
return typeof o;
|
|
3091
|
+
} : function(o) {
|
|
3092
|
+
return o && typeof Symbol == "function" && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o;
|
|
3091
3093
|
}, _typeof(o);
|
|
3092
3094
|
}
|
|
3093
3095
|
function _classCallCheck(a, n) {
|
|
@@ -3120,14 +3122,14 @@ var require_inflator = __commonJS((exports) => {
|
|
|
3120
3122
|
return (r === "string" ? String : Number)(t);
|
|
3121
3123
|
}
|
|
3122
3124
|
var Inflate = exports.default = /* @__PURE__ */ function() {
|
|
3123
|
-
function
|
|
3124
|
-
_classCallCheck(this,
|
|
3125
|
+
function Inflate() {
|
|
3126
|
+
_classCallCheck(this, Inflate);
|
|
3125
3127
|
this.strm = new _zstream["default"];
|
|
3126
3128
|
this.chunkSize = 1024 * 10 * 10;
|
|
3127
3129
|
this.strm.output = new Uint8Array(this.chunkSize);
|
|
3128
3130
|
(0, _inflate2.inflateInit)(this.strm);
|
|
3129
3131
|
}
|
|
3130
|
-
return _createClass(
|
|
3132
|
+
return _createClass(Inflate, [{
|
|
3131
3133
|
key: "setInput",
|
|
3132
3134
|
value: function setInput(data) {
|
|
3133
3135
|
if (!data) {
|
|
@@ -3168,13 +3170,13 @@ var require_inflator = __commonJS((exports) => {
|
|
|
3168
3170
|
});
|
|
3169
3171
|
|
|
3170
3172
|
// ../node_modules/.bun/@novnc+novnc@1.6.0/node_modules/@novnc/novnc/lib/vendor/pako/lib/zlib/trees.js
|
|
3171
|
-
var require_trees = __commonJS((exports)
|
|
3173
|
+
var require_trees = __commonJS(function(exports) {
|
|
3172
3174
|
function _typeof(o) {
|
|
3173
3175
|
"@babel/helpers - typeof";
|
|
3174
|
-
return _typeof = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(
|
|
3175
|
-
return typeof
|
|
3176
|
-
} : function(
|
|
3177
|
-
return
|
|
3176
|
+
return _typeof = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(o) {
|
|
3177
|
+
return typeof o;
|
|
3178
|
+
} : function(o) {
|
|
3179
|
+
return o && typeof Symbol == "function" && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o;
|
|
3178
3180
|
}, _typeof(o);
|
|
3179
3181
|
}
|
|
3180
3182
|
Object.defineProperty(exports, "__esModule", {
|
|
@@ -3190,8 +3192,8 @@ var require_trees = __commonJS((exports) => {
|
|
|
3190
3192
|
if (typeof WeakMap != "function")
|
|
3191
3193
|
return null;
|
|
3192
3194
|
var r = new WeakMap, t = new WeakMap;
|
|
3193
|
-
return (_getRequireWildcardCache = function
|
|
3194
|
-
return
|
|
3195
|
+
return (_getRequireWildcardCache = function _getRequireWildcardCache(e) {
|
|
3196
|
+
return e ? t : r;
|
|
3195
3197
|
})(e);
|
|
3196
3198
|
}
|
|
3197
3199
|
function _interopRequireWildcard(e, r) {
|
|
@@ -3803,7 +3805,7 @@ var require_trees = __commonJS((exports) => {
|
|
|
3803
3805
|
});
|
|
3804
3806
|
|
|
3805
3807
|
// ../node_modules/.bun/@novnc+novnc@1.6.0/node_modules/@novnc/novnc/lib/vendor/pako/lib/zlib/messages.js
|
|
3806
|
-
var require_messages = __commonJS((exports)
|
|
3808
|
+
var require_messages = __commonJS(function(exports) {
|
|
3807
3809
|
Object.defineProperty(exports, "__esModule", {
|
|
3808
3810
|
value: true
|
|
3809
3811
|
});
|
|
@@ -3822,13 +3824,13 @@ var require_messages = __commonJS((exports) => {
|
|
|
3822
3824
|
});
|
|
3823
3825
|
|
|
3824
3826
|
// ../node_modules/.bun/@novnc+novnc@1.6.0/node_modules/@novnc/novnc/lib/vendor/pako/lib/zlib/deflate.js
|
|
3825
|
-
var require_deflate = __commonJS((exports)
|
|
3827
|
+
var require_deflate = __commonJS(function(exports) {
|
|
3826
3828
|
function _typeof(o) {
|
|
3827
3829
|
"@babel/helpers - typeof";
|
|
3828
|
-
return _typeof = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(
|
|
3829
|
-
return typeof
|
|
3830
|
-
} : function(
|
|
3831
|
-
return
|
|
3830
|
+
return _typeof = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(o) {
|
|
3831
|
+
return typeof o;
|
|
3832
|
+
} : function(o) {
|
|
3833
|
+
return o && typeof Symbol == "function" && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o;
|
|
3832
3834
|
}, _typeof(o);
|
|
3833
3835
|
}
|
|
3834
3836
|
Object.defineProperty(exports, "__esModule", {
|
|
@@ -3856,8 +3858,8 @@ var require_deflate = __commonJS((exports) => {
|
|
|
3856
3858
|
if (typeof WeakMap != "function")
|
|
3857
3859
|
return null;
|
|
3858
3860
|
var r = new WeakMap, t = new WeakMap;
|
|
3859
|
-
return (_getRequireWildcardCache = function
|
|
3860
|
-
return
|
|
3861
|
+
return (_getRequireWildcardCache = function _getRequireWildcardCache(e) {
|
|
3862
|
+
return e ? t : r;
|
|
3861
3863
|
})(e);
|
|
3862
3864
|
}
|
|
3863
3865
|
function _interopRequireWildcard(e, r) {
|
|
@@ -4892,7 +4894,7 @@ var require_deflate = __commonJS((exports) => {
|
|
|
4892
4894
|
});
|
|
4893
4895
|
|
|
4894
4896
|
// ../node_modules/.bun/@novnc+novnc@1.6.0/node_modules/@novnc/novnc/lib/deflator.js
|
|
4895
|
-
var require_deflator = __commonJS((exports)
|
|
4897
|
+
var require_deflator = __commonJS(function(exports) {
|
|
4896
4898
|
Object.defineProperty(exports, "__esModule", {
|
|
4897
4899
|
value: true
|
|
4898
4900
|
});
|
|
@@ -4904,10 +4906,10 @@ var require_deflator = __commonJS((exports) => {
|
|
|
4904
4906
|
}
|
|
4905
4907
|
function _typeof(o) {
|
|
4906
4908
|
"@babel/helpers - typeof";
|
|
4907
|
-
return _typeof = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(
|
|
4908
|
-
return typeof
|
|
4909
|
-
} : function(
|
|
4910
|
-
return
|
|
4909
|
+
return _typeof = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(o) {
|
|
4910
|
+
return typeof o;
|
|
4911
|
+
} : function(o) {
|
|
4912
|
+
return o && typeof Symbol == "function" && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o;
|
|
4911
4913
|
}, _typeof(o);
|
|
4912
4914
|
}
|
|
4913
4915
|
function _classCallCheck(a, n) {
|
|
@@ -4940,14 +4942,14 @@ var require_deflator = __commonJS((exports) => {
|
|
|
4940
4942
|
return (r === "string" ? String : Number)(t);
|
|
4941
4943
|
}
|
|
4942
4944
|
var Deflator = exports.default = /* @__PURE__ */ function() {
|
|
4943
|
-
function
|
|
4944
|
-
_classCallCheck(this,
|
|
4945
|
+
function Deflator() {
|
|
4946
|
+
_classCallCheck(this, Deflator);
|
|
4945
4947
|
this.strm = new _zstream["default"];
|
|
4946
4948
|
this.chunkSize = 1024 * 10 * 10;
|
|
4947
4949
|
this.outputBuffer = new Uint8Array(this.chunkSize);
|
|
4948
4950
|
(0, _deflate2.deflateInit)(this.strm, _deflate2.Z_DEFAULT_COMPRESSION);
|
|
4949
4951
|
}
|
|
4950
|
-
return _createClass(
|
|
4952
|
+
return _createClass(Deflator, [{
|
|
4951
4953
|
key: "deflate",
|
|
4952
4954
|
value: function deflate(inData) {
|
|
4953
4955
|
this.strm.input = inData;
|
|
@@ -4994,7 +4996,7 @@ var require_deflator = __commonJS((exports) => {
|
|
|
4994
4996
|
});
|
|
4995
4997
|
|
|
4996
4998
|
// ../node_modules/.bun/@novnc+novnc@1.6.0/node_modules/@novnc/novnc/lib/input/keysym.js
|
|
4997
|
-
var require_keysym = __commonJS((exports)
|
|
4999
|
+
var require_keysym = __commonJS(function(exports) {
|
|
4998
5000
|
Object.defineProperty(exports, "__esModule", {
|
|
4999
5001
|
value: true
|
|
5000
5002
|
});
|
|
@@ -5558,7 +5560,7 @@ var require_keysym = __commonJS((exports) => {
|
|
|
5558
5560
|
});
|
|
5559
5561
|
|
|
5560
5562
|
// ../node_modules/.bun/@novnc+novnc@1.6.0/node_modules/@novnc/novnc/lib/input/keysymdef.js
|
|
5561
|
-
var require_keysymdef = __commonJS((exports)
|
|
5563
|
+
var require_keysymdef = __commonJS(function(exports) {
|
|
5562
5564
|
Object.defineProperty(exports, "__esModule", {
|
|
5563
5565
|
value: true
|
|
5564
5566
|
});
|
|
@@ -6239,7 +6241,7 @@ var require_keysymdef = __commonJS((exports) => {
|
|
|
6239
6241
|
});
|
|
6240
6242
|
|
|
6241
6243
|
// ../node_modules/.bun/@novnc+novnc@1.6.0/node_modules/@novnc/novnc/lib/input/vkeys.js
|
|
6242
|
-
var require_vkeys = __commonJS((exports)
|
|
6244
|
+
var require_vkeys = __commonJS(function(exports) {
|
|
6243
6245
|
Object.defineProperty(exports, "__esModule", {
|
|
6244
6246
|
value: true
|
|
6245
6247
|
});
|
|
@@ -6352,7 +6354,7 @@ var require_vkeys = __commonJS((exports) => {
|
|
|
6352
6354
|
});
|
|
6353
6355
|
|
|
6354
6356
|
// ../node_modules/.bun/@novnc+novnc@1.6.0/node_modules/@novnc/novnc/lib/input/fixedkeys.js
|
|
6355
|
-
var require_fixedkeys = __commonJS((exports)
|
|
6357
|
+
var require_fixedkeys = __commonJS(function(exports) {
|
|
6356
6358
|
Object.defineProperty(exports, "__esModule", {
|
|
6357
6359
|
value: true
|
|
6358
6360
|
});
|
|
@@ -6449,7 +6451,7 @@ var require_fixedkeys = __commonJS((exports) => {
|
|
|
6449
6451
|
});
|
|
6450
6452
|
|
|
6451
6453
|
// ../node_modules/.bun/@novnc+novnc@1.6.0/node_modules/@novnc/novnc/lib/input/domkeytable.js
|
|
6452
|
-
var require_domkeytable = __commonJS((exports)
|
|
6454
|
+
var require_domkeytable = __commonJS(function(exports) {
|
|
6453
6455
|
Object.defineProperty(exports, "__esModule", {
|
|
6454
6456
|
value: true
|
|
6455
6457
|
});
|
|
@@ -6659,13 +6661,13 @@ var require_domkeytable = __commonJS((exports) => {
|
|
|
6659
6661
|
});
|
|
6660
6662
|
|
|
6661
6663
|
// ../node_modules/.bun/@novnc+novnc@1.6.0/node_modules/@novnc/novnc/lib/input/util.js
|
|
6662
|
-
var require_util = __commonJS((exports)
|
|
6664
|
+
var require_util = __commonJS(function(exports) {
|
|
6663
6665
|
function _typeof(o) {
|
|
6664
6666
|
"@babel/helpers - typeof";
|
|
6665
|
-
return _typeof = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(
|
|
6666
|
-
return typeof
|
|
6667
|
-
} : function(
|
|
6668
|
-
return
|
|
6667
|
+
return _typeof = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(o) {
|
|
6668
|
+
return typeof o;
|
|
6669
|
+
} : function(o) {
|
|
6670
|
+
return o && typeof Symbol == "function" && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o;
|
|
6669
6671
|
}, _typeof(o);
|
|
6670
6672
|
}
|
|
6671
6673
|
Object.defineProperty(exports, "__esModule", {
|
|
@@ -6684,8 +6686,8 @@ var require_util = __commonJS((exports) => {
|
|
|
6684
6686
|
if (typeof WeakMap != "function")
|
|
6685
6687
|
return null;
|
|
6686
6688
|
var r = new WeakMap, t = new WeakMap;
|
|
6687
|
-
return (_getRequireWildcardCache = function
|
|
6688
|
-
return
|
|
6689
|
+
return (_getRequireWildcardCache = function _getRequireWildcardCache(e) {
|
|
6690
|
+
return e ? t : r;
|
|
6689
6691
|
})(e);
|
|
6690
6692
|
}
|
|
6691
6693
|
function _interopRequireWildcard(e, r) {
|
|
@@ -6855,7 +6857,7 @@ var require_util = __commonJS((exports) => {
|
|
|
6855
6857
|
});
|
|
6856
6858
|
|
|
6857
6859
|
// ../node_modules/.bun/@novnc+novnc@1.6.0/node_modules/@novnc/novnc/lib/input/keyboard.js
|
|
6858
|
-
var require_keyboard = __commonJS((exports)
|
|
6860
|
+
var require_keyboard = __commonJS(function(exports) {
|
|
6859
6861
|
Object.defineProperty(exports, "__esModule", {
|
|
6860
6862
|
value: true
|
|
6861
6863
|
});
|
|
@@ -6872,8 +6874,8 @@ var require_keyboard = __commonJS((exports) => {
|
|
|
6872
6874
|
if (typeof WeakMap != "function")
|
|
6873
6875
|
return null;
|
|
6874
6876
|
var r = new WeakMap, t = new WeakMap;
|
|
6875
|
-
return (_getRequireWildcardCache = function
|
|
6876
|
-
return
|
|
6877
|
+
return (_getRequireWildcardCache = function _getRequireWildcardCache(e) {
|
|
6878
|
+
return e ? t : r;
|
|
6877
6879
|
})(e);
|
|
6878
6880
|
}
|
|
6879
6881
|
function _interopRequireWildcard(e, r) {
|
|
@@ -6894,10 +6896,10 @@ var require_keyboard = __commonJS((exports) => {
|
|
|
6894
6896
|
}
|
|
6895
6897
|
function _typeof(o) {
|
|
6896
6898
|
"@babel/helpers - typeof";
|
|
6897
|
-
return _typeof = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(
|
|
6898
|
-
return typeof
|
|
6899
|
-
} : function(
|
|
6900
|
-
return
|
|
6899
|
+
return _typeof = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(o) {
|
|
6900
|
+
return typeof o;
|
|
6901
|
+
} : function(o) {
|
|
6902
|
+
return o && typeof Symbol == "function" && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o;
|
|
6901
6903
|
}, _typeof(o);
|
|
6902
6904
|
}
|
|
6903
6905
|
function _classCallCheck(a, n) {
|
|
@@ -6930,8 +6932,8 @@ var require_keyboard = __commonJS((exports) => {
|
|
|
6930
6932
|
return (r === "string" ? String : Number)(t);
|
|
6931
6933
|
}
|
|
6932
6934
|
var Keyboard = exports.default = /* @__PURE__ */ function() {
|
|
6933
|
-
function
|
|
6934
|
-
_classCallCheck(this,
|
|
6935
|
+
function Keyboard(target) {
|
|
6936
|
+
_classCallCheck(this, Keyboard);
|
|
6935
6937
|
this._target = target || null;
|
|
6936
6938
|
this._keyDownList = {};
|
|
6937
6939
|
this._altGrArmed = false;
|
|
@@ -6942,7 +6944,7 @@ var require_keyboard = __commonJS((exports) => {
|
|
|
6942
6944
|
};
|
|
6943
6945
|
this.onkeyevent = function() {};
|
|
6944
6946
|
}
|
|
6945
|
-
return _createClass(
|
|
6947
|
+
return _createClass(Keyboard, [{
|
|
6946
6948
|
key: "_sendKeyEvent",
|
|
6947
6949
|
value: function _sendKeyEvent(keysym, code, down) {
|
|
6948
6950
|
var numlock = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : null;
|
|
@@ -7114,17 +7116,17 @@ var require_keyboard = __commonJS((exports) => {
|
|
|
7114
7116
|
});
|
|
7115
7117
|
|
|
7116
7118
|
// ../node_modules/.bun/@novnc+novnc@1.6.0/node_modules/@novnc/novnc/lib/input/gesturehandler.js
|
|
7117
|
-
var require_gesturehandler = __commonJS((exports)
|
|
7119
|
+
var require_gesturehandler = __commonJS(function(exports) {
|
|
7118
7120
|
Object.defineProperty(exports, "__esModule", {
|
|
7119
7121
|
value: true
|
|
7120
7122
|
});
|
|
7121
7123
|
exports.default = undefined;
|
|
7122
7124
|
function _typeof(o) {
|
|
7123
7125
|
"@babel/helpers - typeof";
|
|
7124
|
-
return _typeof = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(
|
|
7125
|
-
return typeof
|
|
7126
|
-
} : function(
|
|
7127
|
-
return
|
|
7126
|
+
return _typeof = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(o) {
|
|
7127
|
+
return typeof o;
|
|
7128
|
+
} : function(o) {
|
|
7129
|
+
return o && typeof Symbol == "function" && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o;
|
|
7128
7130
|
}, _typeof(o);
|
|
7129
7131
|
}
|
|
7130
7132
|
function _classCallCheck(a, n) {
|
|
@@ -7172,8 +7174,8 @@ var require_gesturehandler = __commonJS((exports) => {
|
|
|
7172
7174
|
var GH_LONGPRESS_TIMEOUT = 1000;
|
|
7173
7175
|
var GH_TWOTOUCH_TIMEOUT = 50;
|
|
7174
7176
|
var GestureHandler = exports.default = /* @__PURE__ */ function() {
|
|
7175
|
-
function
|
|
7176
|
-
_classCallCheck(this,
|
|
7177
|
+
function GestureHandler() {
|
|
7178
|
+
_classCallCheck(this, GestureHandler);
|
|
7177
7179
|
this._target = null;
|
|
7178
7180
|
this._state = GH_INITSTATE;
|
|
7179
7181
|
this._tracked = [];
|
|
@@ -7184,7 +7186,7 @@ var require_gesturehandler = __commonJS((exports) => {
|
|
|
7184
7186
|
this._twoTouchTimeoutId = null;
|
|
7185
7187
|
this._boundEventHandler = this._eventHandler.bind(this);
|
|
7186
7188
|
}
|
|
7187
|
-
return _createClass(
|
|
7189
|
+
return _createClass(GestureHandler, [{
|
|
7188
7190
|
key: "attach",
|
|
7189
7191
|
value: function attach(target) {
|
|
7190
7192
|
this.detach();
|
|
@@ -7615,7 +7617,7 @@ var require_gesturehandler = __commonJS((exports) => {
|
|
|
7615
7617
|
});
|
|
7616
7618
|
|
|
7617
7619
|
// ../node_modules/.bun/@novnc+novnc@1.6.0/node_modules/@novnc/novnc/lib/util/cursor.js
|
|
7618
|
-
var require_cursor = __commonJS((exports)
|
|
7620
|
+
var require_cursor = __commonJS(function(exports) {
|
|
7619
7621
|
Object.defineProperty(exports, "__esModule", {
|
|
7620
7622
|
value: true
|
|
7621
7623
|
});
|
|
@@ -7623,10 +7625,10 @@ var require_cursor = __commonJS((exports) => {
|
|
|
7623
7625
|
var _browser = require_browser();
|
|
7624
7626
|
function _typeof(o) {
|
|
7625
7627
|
"@babel/helpers - typeof";
|
|
7626
|
-
return _typeof = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(
|
|
7627
|
-
return typeof
|
|
7628
|
-
} : function(
|
|
7629
|
-
return
|
|
7628
|
+
return _typeof = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(o) {
|
|
7629
|
+
return typeof o;
|
|
7630
|
+
} : function(o) {
|
|
7631
|
+
return o && typeof Symbol == "function" && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o;
|
|
7630
7632
|
}, _typeof(o);
|
|
7631
7633
|
}
|
|
7632
7634
|
function _classCallCheck(a, n) {
|
|
@@ -7660,8 +7662,8 @@ var require_cursor = __commonJS((exports) => {
|
|
|
7660
7662
|
}
|
|
7661
7663
|
var useFallback = !_browser.supportsCursorURIs || _browser.isTouchDevice;
|
|
7662
7664
|
var Cursor = exports.default = /* @__PURE__ */ function() {
|
|
7663
|
-
function
|
|
7664
|
-
_classCallCheck(this,
|
|
7665
|
+
function Cursor() {
|
|
7666
|
+
_classCallCheck(this, Cursor);
|
|
7665
7667
|
this._target = null;
|
|
7666
7668
|
this._canvas = document.createElement("canvas");
|
|
7667
7669
|
if (useFallback) {
|
|
@@ -7687,7 +7689,7 @@ var require_cursor = __commonJS((exports) => {
|
|
|
7687
7689
|
mouseup: this._handleMouseUp.bind(this)
|
|
7688
7690
|
};
|
|
7689
7691
|
}
|
|
7690
|
-
return _createClass(
|
|
7692
|
+
return _createClass(Cursor, [{
|
|
7691
7693
|
key: "attach",
|
|
7692
7694
|
value: function attach(target) {
|
|
7693
7695
|
if (this._target) {
|
|
@@ -7873,7 +7875,7 @@ var require_cursor = __commonJS((exports) => {
|
|
|
7873
7875
|
});
|
|
7874
7876
|
|
|
7875
7877
|
// ../node_modules/.bun/@novnc+novnc@1.6.0/node_modules/@novnc/novnc/lib/websock.js
|
|
7876
|
-
var require_websock = __commonJS((exports)
|
|
7878
|
+
var require_websock = __commonJS(function(exports) {
|
|
7877
7879
|
Object.defineProperty(exports, "__esModule", {
|
|
7878
7880
|
value: true
|
|
7879
7881
|
});
|
|
@@ -7883,8 +7885,8 @@ var require_websock = __commonJS((exports) => {
|
|
|
7883
7885
|
if (typeof WeakMap != "function")
|
|
7884
7886
|
return null;
|
|
7885
7887
|
var r = new WeakMap, t = new WeakMap;
|
|
7886
|
-
return (_getRequireWildcardCache = function
|
|
7887
|
-
return
|
|
7888
|
+
return (_getRequireWildcardCache = function _getRequireWildcardCache(e) {
|
|
7889
|
+
return e ? t : r;
|
|
7888
7890
|
})(e);
|
|
7889
7891
|
}
|
|
7890
7892
|
function _interopRequireWildcard(e, r) {
|
|
@@ -7905,10 +7907,10 @@ var require_websock = __commonJS((exports) => {
|
|
|
7905
7907
|
}
|
|
7906
7908
|
function _typeof(o) {
|
|
7907
7909
|
"@babel/helpers - typeof";
|
|
7908
|
-
return _typeof = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(
|
|
7909
|
-
return typeof
|
|
7910
|
-
} : function(
|
|
7911
|
-
return
|
|
7910
|
+
return _typeof = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(o) {
|
|
7911
|
+
return typeof o;
|
|
7912
|
+
} : function(o) {
|
|
7913
|
+
return o && typeof Symbol == "function" && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o;
|
|
7912
7914
|
}, _typeof(o);
|
|
7913
7915
|
}
|
|
7914
7916
|
function _toConsumableArray(r) {
|
|
@@ -7984,8 +7986,8 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
7984
7986
|
};
|
|
7985
7987
|
var rawChannelProps = ["send", "close", "binaryType", "onerror", "onmessage", "onopen", "protocol", "readyState"];
|
|
7986
7988
|
var Websock = exports.default = /* @__PURE__ */ function() {
|
|
7987
|
-
function
|
|
7988
|
-
_classCallCheck(this,
|
|
7989
|
+
function Websock() {
|
|
7990
|
+
_classCallCheck(this, Websock);
|
|
7989
7991
|
this._websocket = null;
|
|
7990
7992
|
this._rQi = 0;
|
|
7991
7993
|
this._rQlen = 0;
|
|
@@ -8001,7 +8003,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
8001
8003
|
error: function error() {}
|
|
8002
8004
|
};
|
|
8003
8005
|
}
|
|
8004
|
-
return _createClass(
|
|
8006
|
+
return _createClass(Websock, [{
|
|
8005
8007
|
key: "readyState",
|
|
8006
8008
|
get: function get() {
|
|
8007
8009
|
var subState;
|
|
@@ -8285,7 +8287,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
8285
8287
|
});
|
|
8286
8288
|
|
|
8287
8289
|
// ../node_modules/.bun/@novnc+novnc@1.6.0/node_modules/@novnc/novnc/lib/input/xtscancodes.js
|
|
8288
|
-
var require_xtscancodes = __commonJS((exports)
|
|
8290
|
+
var require_xtscancodes = __commonJS(function(exports) {
|
|
8289
8291
|
Object.defineProperty(exports, "__esModule", {
|
|
8290
8292
|
value: true
|
|
8291
8293
|
});
|
|
@@ -8460,7 +8462,7 @@ var require_xtscancodes = __commonJS((exports) => {
|
|
|
8460
8462
|
});
|
|
8461
8463
|
|
|
8462
8464
|
// ../node_modules/.bun/@novnc+novnc@1.6.0/node_modules/@novnc/novnc/lib/encodings.js
|
|
8463
|
-
var require_encodings = __commonJS((exports)
|
|
8465
|
+
var require_encodings = __commonJS(function(exports) {
|
|
8464
8466
|
Object.defineProperty(exports, "__esModule", {
|
|
8465
8467
|
value: true
|
|
8466
8468
|
});
|
|
@@ -8524,46 +8526,46 @@ var require_encodings = __commonJS((exports) => {
|
|
|
8524
8526
|
});
|
|
8525
8527
|
|
|
8526
8528
|
// ../node_modules/.bun/@novnc+novnc@1.6.0/node_modules/@novnc/novnc/lib/crypto/aes.js
|
|
8527
|
-
var require_aes = __commonJS((exports)
|
|
8529
|
+
var require_aes = __commonJS(function(exports) {
|
|
8528
8530
|
Object.defineProperty(exports, "__esModule", {
|
|
8529
8531
|
value: true
|
|
8530
8532
|
});
|
|
8531
8533
|
exports.AESECBCipher = exports.AESEAXCipher = undefined;
|
|
8532
8534
|
function _typeof(o) {
|
|
8533
8535
|
"@babel/helpers - typeof";
|
|
8534
|
-
return _typeof = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(
|
|
8535
|
-
return typeof
|
|
8536
|
-
} : function(
|
|
8537
|
-
return
|
|
8536
|
+
return _typeof = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(o) {
|
|
8537
|
+
return typeof o;
|
|
8538
|
+
} : function(o) {
|
|
8539
|
+
return o && typeof Symbol == "function" && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o;
|
|
8538
8540
|
}, _typeof(o);
|
|
8539
8541
|
}
|
|
8540
8542
|
function _regeneratorRuntime() {
|
|
8541
8543
|
/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */
|
|
8542
|
-
_regeneratorRuntime = function
|
|
8544
|
+
_regeneratorRuntime = function _regeneratorRuntime() {
|
|
8543
8545
|
return e;
|
|
8544
8546
|
};
|
|
8545
|
-
var t, e = {}, r = Object.prototype, n = r.hasOwnProperty, o = Object.defineProperty || function(
|
|
8546
|
-
|
|
8547
|
+
var t, e = {}, r = Object.prototype, n = r.hasOwnProperty, o = Object.defineProperty || function(t, e, r) {
|
|
8548
|
+
t[e] = r.value;
|
|
8547
8549
|
}, i = typeof Symbol == "function" ? Symbol : {}, a = i.iterator || "@@iterator", c = i.asyncIterator || "@@asyncIterator", u = i.toStringTag || "@@toStringTag";
|
|
8548
|
-
function define(
|
|
8549
|
-
return Object.defineProperty(
|
|
8550
|
+
function define(t, e, r) {
|
|
8551
|
+
return Object.defineProperty(t, e, { value: r, enumerable: true, configurable: true, writable: true }), t[e];
|
|
8550
8552
|
}
|
|
8551
8553
|
try {
|
|
8552
8554
|
define({}, "");
|
|
8553
|
-
} catch (
|
|
8554
|
-
define = function
|
|
8555
|
-
return
|
|
8555
|
+
} catch (t) {
|
|
8556
|
+
define = function define(t, e, r) {
|
|
8557
|
+
return t[e] = r;
|
|
8556
8558
|
};
|
|
8557
8559
|
}
|
|
8558
|
-
function wrap(
|
|
8559
|
-
var
|
|
8560
|
-
return o(
|
|
8560
|
+
function wrap(t, e, r, n) {
|
|
8561
|
+
var i = e && e.prototype instanceof Generator ? e : Generator, a = Object.create(i.prototype), c = new Context(n || []);
|
|
8562
|
+
return o(a, "_invoke", { value: makeInvokeMethod(t, r, c) }), a;
|
|
8561
8563
|
}
|
|
8562
|
-
function tryCatch(
|
|
8564
|
+
function tryCatch(t, e, r) {
|
|
8563
8565
|
try {
|
|
8564
|
-
return { type: "normal", arg:
|
|
8565
|
-
} catch (
|
|
8566
|
-
return { type: "throw", arg:
|
|
8566
|
+
return { type: "normal", arg: t.call(e, r) };
|
|
8567
|
+
} catch (t) {
|
|
8568
|
+
return { type: "throw", arg: t };
|
|
8567
8569
|
}
|
|
8568
8570
|
}
|
|
8569
8571
|
e.wrap = wrap;
|
|
@@ -8578,232 +8580,232 @@ var require_aes = __commonJS((exports) => {
|
|
|
8578
8580
|
var d = Object.getPrototypeOf, v = d && d(d(values([])));
|
|
8579
8581
|
v && v !== r && n.call(v, a) && (p = v);
|
|
8580
8582
|
var g = GeneratorFunctionPrototype.prototype = Generator.prototype = Object.create(p);
|
|
8581
|
-
function defineIteratorMethods(
|
|
8582
|
-
["next", "throw", "return"].forEach(function(
|
|
8583
|
-
define(
|
|
8584
|
-
return this._invoke(
|
|
8583
|
+
function defineIteratorMethods(t) {
|
|
8584
|
+
["next", "throw", "return"].forEach(function(e) {
|
|
8585
|
+
define(t, e, function(t) {
|
|
8586
|
+
return this._invoke(e, t);
|
|
8585
8587
|
});
|
|
8586
8588
|
});
|
|
8587
8589
|
}
|
|
8588
|
-
function AsyncIterator(
|
|
8589
|
-
function invoke(
|
|
8590
|
-
var
|
|
8591
|
-
if (
|
|
8592
|
-
var
|
|
8593
|
-
return
|
|
8594
|
-
invoke("next",
|
|
8595
|
-
}, function(
|
|
8596
|
-
invoke("throw",
|
|
8597
|
-
}) :
|
|
8598
|
-
|
|
8599
|
-
}, function(
|
|
8600
|
-
return invoke("throw",
|
|
8590
|
+
function AsyncIterator(t, e) {
|
|
8591
|
+
function invoke(r, o, i, a) {
|
|
8592
|
+
var c = tryCatch(t[r], t, o);
|
|
8593
|
+
if (c.type !== "throw") {
|
|
8594
|
+
var u = c.arg, h = u.value;
|
|
8595
|
+
return h && _typeof(h) == "object" && n.call(h, "__await") ? e.resolve(h.__await).then(function(t) {
|
|
8596
|
+
invoke("next", t, i, a);
|
|
8597
|
+
}, function(t) {
|
|
8598
|
+
invoke("throw", t, i, a);
|
|
8599
|
+
}) : e.resolve(h).then(function(t) {
|
|
8600
|
+
u.value = t, i(u);
|
|
8601
|
+
}, function(t) {
|
|
8602
|
+
return invoke("throw", t, i, a);
|
|
8601
8603
|
});
|
|
8602
8604
|
}
|
|
8603
|
-
|
|
8605
|
+
a(c.arg);
|
|
8604
8606
|
}
|
|
8605
|
-
var
|
|
8606
|
-
o(this, "_invoke", { value: function value(
|
|
8607
|
+
var r;
|
|
8608
|
+
o(this, "_invoke", { value: function value(t, n) {
|
|
8607
8609
|
function callInvokeWithMethodAndArg() {
|
|
8608
|
-
return new
|
|
8609
|
-
invoke(
|
|
8610
|
+
return new e(function(e, r) {
|
|
8611
|
+
invoke(t, n, e, r);
|
|
8610
8612
|
});
|
|
8611
8613
|
}
|
|
8612
|
-
return
|
|
8614
|
+
return r = r ? r.then(callInvokeWithMethodAndArg, callInvokeWithMethodAndArg) : callInvokeWithMethodAndArg();
|
|
8613
8615
|
} });
|
|
8614
8616
|
}
|
|
8615
|
-
function makeInvokeMethod(
|
|
8616
|
-
var
|
|
8617
|
-
return function(
|
|
8618
|
-
if (
|
|
8617
|
+
function makeInvokeMethod(e, r, n) {
|
|
8618
|
+
var o = h;
|
|
8619
|
+
return function(i, a) {
|
|
8620
|
+
if (o === f)
|
|
8619
8621
|
throw Error("Generator is already running");
|
|
8620
|
-
if (
|
|
8621
|
-
if (
|
|
8622
|
-
throw
|
|
8622
|
+
if (o === s) {
|
|
8623
|
+
if (i === "throw")
|
|
8624
|
+
throw a;
|
|
8623
8625
|
return { value: t, done: true };
|
|
8624
8626
|
}
|
|
8625
|
-
for (
|
|
8626
|
-
var
|
|
8627
|
-
if (
|
|
8628
|
-
var
|
|
8629
|
-
if (
|
|
8630
|
-
if (
|
|
8627
|
+
for (n.method = i, n.arg = a;; ) {
|
|
8628
|
+
var c = n.delegate;
|
|
8629
|
+
if (c) {
|
|
8630
|
+
var u = maybeInvokeDelegate(c, n);
|
|
8631
|
+
if (u) {
|
|
8632
|
+
if (u === y)
|
|
8631
8633
|
continue;
|
|
8632
|
-
return
|
|
8634
|
+
return u;
|
|
8633
8635
|
}
|
|
8634
8636
|
}
|
|
8635
|
-
if (
|
|
8636
|
-
|
|
8637
|
-
else if (
|
|
8638
|
-
if (
|
|
8639
|
-
throw
|
|
8640
|
-
|
|
8637
|
+
if (n.method === "next")
|
|
8638
|
+
n.sent = n._sent = n.arg;
|
|
8639
|
+
else if (n.method === "throw") {
|
|
8640
|
+
if (o === h)
|
|
8641
|
+
throw o = s, n.arg;
|
|
8642
|
+
n.dispatchException(n.arg);
|
|
8641
8643
|
} else
|
|
8642
|
-
|
|
8643
|
-
|
|
8644
|
-
var
|
|
8645
|
-
if (
|
|
8646
|
-
if (
|
|
8644
|
+
n.method === "return" && n.abrupt("return", n.arg);
|
|
8645
|
+
o = f;
|
|
8646
|
+
var p = tryCatch(e, r, n);
|
|
8647
|
+
if (p.type === "normal") {
|
|
8648
|
+
if (o = n.done ? s : l, p.arg === y)
|
|
8647
8649
|
continue;
|
|
8648
|
-
return { value:
|
|
8650
|
+
return { value: p.arg, done: n.done };
|
|
8649
8651
|
}
|
|
8650
|
-
|
|
8652
|
+
p.type === "throw" && (o = s, n.method = "throw", n.arg = p.arg);
|
|
8651
8653
|
}
|
|
8652
8654
|
};
|
|
8653
8655
|
}
|
|
8654
|
-
function maybeInvokeDelegate(
|
|
8655
|
-
var
|
|
8656
|
-
if (
|
|
8657
|
-
return
|
|
8658
|
-
var
|
|
8659
|
-
if (
|
|
8660
|
-
return
|
|
8661
|
-
var
|
|
8662
|
-
return
|
|
8663
|
-
}
|
|
8664
|
-
function pushTryEntry(
|
|
8665
|
-
var
|
|
8666
|
-
1 in
|
|
8667
|
-
}
|
|
8668
|
-
function resetTryEntry(
|
|
8669
|
-
var
|
|
8670
|
-
|
|
8671
|
-
}
|
|
8672
|
-
function Context(
|
|
8673
|
-
this.tryEntries = [{ tryLoc: "root" }],
|
|
8674
|
-
}
|
|
8675
|
-
function values(
|
|
8676
|
-
if (
|
|
8677
|
-
var
|
|
8678
|
-
if (
|
|
8679
|
-
return
|
|
8680
|
-
if (typeof
|
|
8681
|
-
return
|
|
8682
|
-
if (!isNaN(
|
|
8683
|
-
var
|
|
8684
|
-
for (;++
|
|
8685
|
-
if (n.call(
|
|
8686
|
-
return next.value =
|
|
8656
|
+
function maybeInvokeDelegate(e, r) {
|
|
8657
|
+
var n = r.method, o = e.iterator[n];
|
|
8658
|
+
if (o === t)
|
|
8659
|
+
return r.delegate = null, n === "throw" && e.iterator["return"] && (r.method = "return", r.arg = t, maybeInvokeDelegate(e, r), r.method === "throw") || n !== "return" && (r.method = "throw", r.arg = new TypeError("The iterator does not provide a '" + n + "' method")), y;
|
|
8660
|
+
var i = tryCatch(o, e.iterator, r.arg);
|
|
8661
|
+
if (i.type === "throw")
|
|
8662
|
+
return r.method = "throw", r.arg = i.arg, r.delegate = null, y;
|
|
8663
|
+
var a = i.arg;
|
|
8664
|
+
return a ? a.done ? (r[e.resultName] = a.value, r.next = e.nextLoc, r.method !== "return" && (r.method = "next", r.arg = t), r.delegate = null, y) : a : (r.method = "throw", r.arg = new TypeError("iterator result is not an object"), r.delegate = null, y);
|
|
8665
|
+
}
|
|
8666
|
+
function pushTryEntry(t) {
|
|
8667
|
+
var e = { tryLoc: t[0] };
|
|
8668
|
+
1 in t && (e.catchLoc = t[1]), 2 in t && (e.finallyLoc = t[2], e.afterLoc = t[3]), this.tryEntries.push(e);
|
|
8669
|
+
}
|
|
8670
|
+
function resetTryEntry(t) {
|
|
8671
|
+
var e = t.completion || {};
|
|
8672
|
+
e.type = "normal", delete e.arg, t.completion = e;
|
|
8673
|
+
}
|
|
8674
|
+
function Context(t) {
|
|
8675
|
+
this.tryEntries = [{ tryLoc: "root" }], t.forEach(pushTryEntry, this), this.reset(true);
|
|
8676
|
+
}
|
|
8677
|
+
function values(e) {
|
|
8678
|
+
if (e || e === "") {
|
|
8679
|
+
var r = e[a];
|
|
8680
|
+
if (r)
|
|
8681
|
+
return r.call(e);
|
|
8682
|
+
if (typeof e.next == "function")
|
|
8683
|
+
return e;
|
|
8684
|
+
if (!isNaN(e.length)) {
|
|
8685
|
+
var o = -1, i = function next() {
|
|
8686
|
+
for (;++o < e.length; )
|
|
8687
|
+
if (n.call(e, o))
|
|
8688
|
+
return next.value = e[o], next.done = false, next;
|
|
8687
8689
|
return next.value = t, next.done = true, next;
|
|
8688
8690
|
};
|
|
8689
|
-
return
|
|
8691
|
+
return i.next = i;
|
|
8690
8692
|
}
|
|
8691
8693
|
}
|
|
8692
|
-
throw new TypeError(_typeof(
|
|
8694
|
+
throw new TypeError(_typeof(e) + " is not iterable");
|
|
8693
8695
|
}
|
|
8694
|
-
return GeneratorFunction.prototype = GeneratorFunctionPrototype, o(g, "constructor", { value: GeneratorFunctionPrototype, configurable: true }), o(GeneratorFunctionPrototype, "constructor", { value: GeneratorFunction, configurable: true }), GeneratorFunction.displayName = define(GeneratorFunctionPrototype, u, "GeneratorFunction"), e.isGeneratorFunction = function(
|
|
8695
|
-
var
|
|
8696
|
-
return !!
|
|
8697
|
-
}, e.mark = function(
|
|
8698
|
-
return Object.setPrototypeOf ? Object.setPrototypeOf(
|
|
8699
|
-
}, e.awrap = function(
|
|
8700
|
-
return { __await:
|
|
8696
|
+
return GeneratorFunction.prototype = GeneratorFunctionPrototype, o(g, "constructor", { value: GeneratorFunctionPrototype, configurable: true }), o(GeneratorFunctionPrototype, "constructor", { value: GeneratorFunction, configurable: true }), GeneratorFunction.displayName = define(GeneratorFunctionPrototype, u, "GeneratorFunction"), e.isGeneratorFunction = function(t) {
|
|
8697
|
+
var e = typeof t == "function" && t.constructor;
|
|
8698
|
+
return !!e && (e === GeneratorFunction || (e.displayName || e.name) === "GeneratorFunction");
|
|
8699
|
+
}, e.mark = function(t) {
|
|
8700
|
+
return Object.setPrototypeOf ? Object.setPrototypeOf(t, GeneratorFunctionPrototype) : (t.__proto__ = GeneratorFunctionPrototype, define(t, u, "GeneratorFunction")), t.prototype = Object.create(g), t;
|
|
8701
|
+
}, e.awrap = function(t) {
|
|
8702
|
+
return { __await: t };
|
|
8701
8703
|
}, defineIteratorMethods(AsyncIterator.prototype), define(AsyncIterator.prototype, c, function() {
|
|
8702
8704
|
return this;
|
|
8703
|
-
}), e.AsyncIterator = AsyncIterator, e.async = function(
|
|
8704
|
-
|
|
8705
|
-
var
|
|
8706
|
-
return e.isGeneratorFunction(
|
|
8707
|
-
return
|
|
8705
|
+
}), e.AsyncIterator = AsyncIterator, e.async = function(t, r, n, o, i) {
|
|
8706
|
+
i === undefined && (i = Promise);
|
|
8707
|
+
var a = new AsyncIterator(wrap(t, r, n, o), i);
|
|
8708
|
+
return e.isGeneratorFunction(r) ? a : a.next().then(function(t) {
|
|
8709
|
+
return t.done ? t.value : a.next();
|
|
8708
8710
|
});
|
|
8709
8711
|
}, defineIteratorMethods(g), define(g, u, "Generator"), define(g, a, function() {
|
|
8710
8712
|
return this;
|
|
8711
8713
|
}), define(g, "toString", function() {
|
|
8712
8714
|
return "[object Generator]";
|
|
8713
|
-
}), e.keys = function(
|
|
8714
|
-
var
|
|
8715
|
-
for (var
|
|
8716
|
-
|
|
8717
|
-
return
|
|
8718
|
-
for (;
|
|
8719
|
-
var
|
|
8720
|
-
if (
|
|
8721
|
-
return next.value =
|
|
8715
|
+
}), e.keys = function(t) {
|
|
8716
|
+
var e = Object(t), r = [];
|
|
8717
|
+
for (var n in e)
|
|
8718
|
+
r.push(n);
|
|
8719
|
+
return r.reverse(), function next() {
|
|
8720
|
+
for (;r.length; ) {
|
|
8721
|
+
var t = r.pop();
|
|
8722
|
+
if (t in e)
|
|
8723
|
+
return next.value = t, next.done = false, next;
|
|
8722
8724
|
}
|
|
8723
8725
|
return next.done = true, next;
|
|
8724
8726
|
};
|
|
8725
|
-
}, e.values = values, Context.prototype = { constructor: Context, reset: function reset(
|
|
8726
|
-
if (this.prev = 0, this.next = 0, this.sent = this._sent = t, this.done = false, this.delegate = null, this.method = "next", this.arg = t, this.tryEntries.forEach(resetTryEntry), !
|
|
8727
|
-
for (var
|
|
8728
|
-
|
|
8727
|
+
}, e.values = values, Context.prototype = { constructor: Context, reset: function reset(e) {
|
|
8728
|
+
if (this.prev = 0, this.next = 0, this.sent = this._sent = t, this.done = false, this.delegate = null, this.method = "next", this.arg = t, this.tryEntries.forEach(resetTryEntry), !e)
|
|
8729
|
+
for (var r in this)
|
|
8730
|
+
r.charAt(0) === "t" && n.call(this, r) && !isNaN(+r.slice(1)) && (this[r] = t);
|
|
8729
8731
|
}, stop: function stop() {
|
|
8730
8732
|
this.done = true;
|
|
8731
|
-
var
|
|
8732
|
-
if (
|
|
8733
|
-
throw
|
|
8733
|
+
var t = this.tryEntries[0].completion;
|
|
8734
|
+
if (t.type === "throw")
|
|
8735
|
+
throw t.arg;
|
|
8734
8736
|
return this.rval;
|
|
8735
|
-
}, dispatchException: function dispatchException(
|
|
8737
|
+
}, dispatchException: function dispatchException(e) {
|
|
8736
8738
|
if (this.done)
|
|
8737
|
-
throw
|
|
8738
|
-
var
|
|
8739
|
-
function handle(
|
|
8740
|
-
return
|
|
8741
|
-
}
|
|
8742
|
-
for (var
|
|
8743
|
-
var
|
|
8744
|
-
if (
|
|
8739
|
+
throw e;
|
|
8740
|
+
var r = this;
|
|
8741
|
+
function handle(n, o) {
|
|
8742
|
+
return a.type = "throw", a.arg = e, r.next = n, o && (r.method = "next", r.arg = t), !!o;
|
|
8743
|
+
}
|
|
8744
|
+
for (var o = this.tryEntries.length - 1;o >= 0; --o) {
|
|
8745
|
+
var i = this.tryEntries[o], a = i.completion;
|
|
8746
|
+
if (i.tryLoc === "root")
|
|
8745
8747
|
return handle("end");
|
|
8746
|
-
if (
|
|
8747
|
-
var
|
|
8748
|
-
if (
|
|
8749
|
-
if (this.prev <
|
|
8750
|
-
return handle(
|
|
8751
|
-
if (this.prev <
|
|
8752
|
-
return handle(
|
|
8753
|
-
} else if (
|
|
8754
|
-
if (this.prev <
|
|
8755
|
-
return handle(
|
|
8748
|
+
if (i.tryLoc <= this.prev) {
|
|
8749
|
+
var c = n.call(i, "catchLoc"), u = n.call(i, "finallyLoc");
|
|
8750
|
+
if (c && u) {
|
|
8751
|
+
if (this.prev < i.catchLoc)
|
|
8752
|
+
return handle(i.catchLoc, true);
|
|
8753
|
+
if (this.prev < i.finallyLoc)
|
|
8754
|
+
return handle(i.finallyLoc);
|
|
8755
|
+
} else if (c) {
|
|
8756
|
+
if (this.prev < i.catchLoc)
|
|
8757
|
+
return handle(i.catchLoc, true);
|
|
8756
8758
|
} else {
|
|
8757
|
-
if (!
|
|
8759
|
+
if (!u)
|
|
8758
8760
|
throw Error("try statement without catch or finally");
|
|
8759
|
-
if (this.prev <
|
|
8760
|
-
return handle(
|
|
8761
|
+
if (this.prev < i.finallyLoc)
|
|
8762
|
+
return handle(i.finallyLoc);
|
|
8761
8763
|
}
|
|
8762
8764
|
}
|
|
8763
8765
|
}
|
|
8764
|
-
}, abrupt: function abrupt(
|
|
8765
|
-
for (var
|
|
8766
|
-
var
|
|
8767
|
-
if (
|
|
8768
|
-
var
|
|
8766
|
+
}, abrupt: function abrupt(t, e) {
|
|
8767
|
+
for (var r = this.tryEntries.length - 1;r >= 0; --r) {
|
|
8768
|
+
var o = this.tryEntries[r];
|
|
8769
|
+
if (o.tryLoc <= this.prev && n.call(o, "finallyLoc") && this.prev < o.finallyLoc) {
|
|
8770
|
+
var i = o;
|
|
8769
8771
|
break;
|
|
8770
8772
|
}
|
|
8771
8773
|
}
|
|
8772
|
-
|
|
8773
|
-
var
|
|
8774
|
-
return
|
|
8775
|
-
}, complete: function complete(
|
|
8776
|
-
if (
|
|
8777
|
-
throw
|
|
8778
|
-
return
|
|
8779
|
-
}, finish: function finish(
|
|
8780
|
-
for (var
|
|
8781
|
-
var
|
|
8782
|
-
if (
|
|
8783
|
-
return this.complete(
|
|
8784
|
-
}
|
|
8785
|
-
}, catch: function _catch(
|
|
8786
|
-
for (var
|
|
8787
|
-
var
|
|
8788
|
-
if (
|
|
8789
|
-
var
|
|
8790
|
-
if (
|
|
8791
|
-
var
|
|
8792
|
-
resetTryEntry(
|
|
8774
|
+
i && (t === "break" || t === "continue") && i.tryLoc <= e && e <= i.finallyLoc && (i = null);
|
|
8775
|
+
var a = i ? i.completion : {};
|
|
8776
|
+
return a.type = t, a.arg = e, i ? (this.method = "next", this.next = i.finallyLoc, y) : this.complete(a);
|
|
8777
|
+
}, complete: function complete(t, e) {
|
|
8778
|
+
if (t.type === "throw")
|
|
8779
|
+
throw t.arg;
|
|
8780
|
+
return t.type === "break" || t.type === "continue" ? this.next = t.arg : t.type === "return" ? (this.rval = this.arg = t.arg, this.method = "return", this.next = "end") : t.type === "normal" && e && (this.next = e), y;
|
|
8781
|
+
}, finish: function finish(t) {
|
|
8782
|
+
for (var e = this.tryEntries.length - 1;e >= 0; --e) {
|
|
8783
|
+
var r = this.tryEntries[e];
|
|
8784
|
+
if (r.finallyLoc === t)
|
|
8785
|
+
return this.complete(r.completion, r.afterLoc), resetTryEntry(r), y;
|
|
8786
|
+
}
|
|
8787
|
+
}, catch: function _catch(t) {
|
|
8788
|
+
for (var e = this.tryEntries.length - 1;e >= 0; --e) {
|
|
8789
|
+
var r = this.tryEntries[e];
|
|
8790
|
+
if (r.tryLoc === t) {
|
|
8791
|
+
var n = r.completion;
|
|
8792
|
+
if (n.type === "throw") {
|
|
8793
|
+
var o = n.arg;
|
|
8794
|
+
resetTryEntry(r);
|
|
8793
8795
|
}
|
|
8794
|
-
return
|
|
8796
|
+
return o;
|
|
8795
8797
|
}
|
|
8796
8798
|
}
|
|
8797
8799
|
throw Error("illegal catch attempt");
|
|
8798
|
-
}, delegateYield: function delegateYield(
|
|
8799
|
-
return this.delegate = { iterator: values(
|
|
8800
|
+
}, delegateYield: function delegateYield(e, r, n) {
|
|
8801
|
+
return this.delegate = { iterator: values(e), resultName: r, nextLoc: n }, this.method === "next" && (this.arg = t), y;
|
|
8800
8802
|
} }, e;
|
|
8801
8803
|
}
|
|
8802
8804
|
function asyncGeneratorStep(n, t, e, r, o, a, c) {
|
|
8803
8805
|
try {
|
|
8804
8806
|
var i = n[a](c), u = i.value;
|
|
8805
|
-
} catch (
|
|
8806
|
-
return void e(
|
|
8807
|
+
} catch (n) {
|
|
8808
|
+
return void e(n);
|
|
8807
8809
|
}
|
|
8808
8810
|
i.done ? t(u) : Promise.resolve(u).then(r, o);
|
|
8809
8811
|
}
|
|
@@ -8812,11 +8814,11 @@ var require_aes = __commonJS((exports) => {
|
|
|
8812
8814
|
var t = this, e = arguments;
|
|
8813
8815
|
return new Promise(function(r, o) {
|
|
8814
8816
|
var a = n.apply(t, e);
|
|
8815
|
-
function _next(
|
|
8816
|
-
asyncGeneratorStep(a, r, o, _next, _throw, "next",
|
|
8817
|
+
function _next(n) {
|
|
8818
|
+
asyncGeneratorStep(a, r, o, _next, _throw, "next", n);
|
|
8817
8819
|
}
|
|
8818
|
-
function _throw(
|
|
8819
|
-
asyncGeneratorStep(a, r, o, _next, _throw, "throw",
|
|
8820
|
+
function _throw(n) {
|
|
8821
|
+
asyncGeneratorStep(a, r, o, _next, _throw, "throw", n);
|
|
8820
8822
|
}
|
|
8821
8823
|
_next(undefined);
|
|
8822
8824
|
});
|
|
@@ -8852,11 +8854,11 @@ var require_aes = __commonJS((exports) => {
|
|
|
8852
8854
|
return (r === "string" ? String : Number)(t);
|
|
8853
8855
|
}
|
|
8854
8856
|
var AESECBCipher = exports.AESECBCipher = /* @__PURE__ */ function() {
|
|
8855
|
-
function
|
|
8856
|
-
_classCallCheck(this,
|
|
8857
|
+
function AESECBCipher() {
|
|
8858
|
+
_classCallCheck(this, AESECBCipher);
|
|
8857
8859
|
this._key = null;
|
|
8858
8860
|
}
|
|
8859
|
-
return _createClass(
|
|
8861
|
+
return _createClass(AESECBCipher, [{
|
|
8860
8862
|
key: "algorithm",
|
|
8861
8863
|
get: function get() {
|
|
8862
8864
|
return {
|
|
@@ -8947,7 +8949,7 @@ var require_aes = __commonJS((exports) => {
|
|
|
8947
8949
|
while (true)
|
|
8948
8950
|
switch (_context3.prev = _context3.next) {
|
|
8949
8951
|
case 0:
|
|
8950
|
-
cipher = new
|
|
8952
|
+
cipher = new AESECBCipher;
|
|
8951
8953
|
_context3.next = 3;
|
|
8952
8954
|
return cipher._importKey(key, extractable, keyUsages);
|
|
8953
8955
|
case 3:
|
|
@@ -8966,8 +8968,8 @@ var require_aes = __commonJS((exports) => {
|
|
|
8966
8968
|
}]);
|
|
8967
8969
|
}();
|
|
8968
8970
|
var AESEAXCipher = exports.AESEAXCipher = /* @__PURE__ */ function() {
|
|
8969
|
-
function
|
|
8970
|
-
_classCallCheck(this,
|
|
8971
|
+
function AESEAXCipher() {
|
|
8972
|
+
_classCallCheck(this, AESEAXCipher);
|
|
8971
8973
|
this._rawKey = null;
|
|
8972
8974
|
this._ctrKey = null;
|
|
8973
8975
|
this._cbcKey = null;
|
|
@@ -8976,7 +8978,7 @@ var require_aes = __commonJS((exports) => {
|
|
|
8976
8978
|
this._prefixBlock1 = new Uint8Array([0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1]);
|
|
8977
8979
|
this._prefixBlock2 = new Uint8Array([0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2]);
|
|
8978
8980
|
}
|
|
8979
|
-
return _createClass(
|
|
8981
|
+
return _createClass(AESEAXCipher, [{
|
|
8980
8982
|
key: "algorithm",
|
|
8981
8983
|
get: function get() {
|
|
8982
8984
|
return {
|
|
@@ -9311,7 +9313,7 @@ var require_aes = __commonJS((exports) => {
|
|
|
9311
9313
|
while (true)
|
|
9312
9314
|
switch (_context12.prev = _context12.next) {
|
|
9313
9315
|
case 0:
|
|
9314
|
-
cipher = new
|
|
9316
|
+
cipher = new AESEAXCipher;
|
|
9315
9317
|
_context12.next = 3;
|
|
9316
9318
|
return cipher._importKey(key);
|
|
9317
9319
|
case 3:
|
|
@@ -9332,31 +9334,31 @@ var require_aes = __commonJS((exports) => {
|
|
|
9332
9334
|
});
|
|
9333
9335
|
|
|
9334
9336
|
// ../node_modules/.bun/@novnc+novnc@1.6.0/node_modules/@novnc/novnc/lib/crypto/des.js
|
|
9335
|
-
var require_des = __commonJS((exports)
|
|
9337
|
+
var require_des = __commonJS(function(exports) {
|
|
9336
9338
|
Object.defineProperty(exports, "__esModule", {
|
|
9337
9339
|
value: true
|
|
9338
9340
|
});
|
|
9339
9341
|
exports.DESECBCipher = exports.DESCBCCipher = undefined;
|
|
9340
9342
|
function _typeof(o) {
|
|
9341
9343
|
"@babel/helpers - typeof";
|
|
9342
|
-
return _typeof = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(
|
|
9343
|
-
return typeof
|
|
9344
|
-
} : function(
|
|
9345
|
-
return
|
|
9344
|
+
return _typeof = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(o) {
|
|
9345
|
+
return typeof o;
|
|
9346
|
+
} : function(o) {
|
|
9347
|
+
return o && typeof Symbol == "function" && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o;
|
|
9346
9348
|
}, _typeof(o);
|
|
9347
9349
|
}
|
|
9348
|
-
function _classCallCheck(
|
|
9349
|
-
if (!(
|
|
9350
|
+
function _classCallCheck(a, n) {
|
|
9351
|
+
if (!(a instanceof n))
|
|
9350
9352
|
throw new TypeError("Cannot call a class as a function");
|
|
9351
9353
|
}
|
|
9352
|
-
function _defineProperties(
|
|
9354
|
+
function _defineProperties(e, r) {
|
|
9353
9355
|
for (var t = 0;t < r.length; t++) {
|
|
9354
9356
|
var o = r[t];
|
|
9355
|
-
o.enumerable = o.enumerable || false, o.configurable = true, "value" in o && (o.writable = true), Object.defineProperty(
|
|
9357
|
+
o.enumerable = o.enumerable || false, o.configurable = true, "value" in o && (o.writable = true), Object.defineProperty(e, _toPropertyKey(o.key), o);
|
|
9356
9358
|
}
|
|
9357
9359
|
}
|
|
9358
|
-
function _createClass(
|
|
9359
|
-
return r && _defineProperties(
|
|
9360
|
+
function _createClass(e, r, t) {
|
|
9361
|
+
return r && _defineProperties(e.prototype, r), t && _defineProperties(e, t), Object.defineProperty(e, "prototype", { writable: false }), e;
|
|
9360
9362
|
}
|
|
9361
9363
|
function _toPropertyKey(t) {
|
|
9362
9364
|
var i = _toPrimitive(t, "string");
|
|
@@ -9365,9 +9367,9 @@ var require_des = __commonJS((exports) => {
|
|
|
9365
9367
|
function _toPrimitive(t, r) {
|
|
9366
9368
|
if (_typeof(t) != "object" || !t)
|
|
9367
9369
|
return t;
|
|
9368
|
-
var
|
|
9369
|
-
if (
|
|
9370
|
-
var i =
|
|
9370
|
+
var e = t[Symbol.toPrimitive];
|
|
9371
|
+
if (e !== undefined) {
|
|
9372
|
+
var i = e.call(t, r || "default");
|
|
9371
9373
|
if (_typeof(i) != "object")
|
|
9372
9374
|
return i;
|
|
9373
9375
|
throw new TypeError("@@toPrimitive must return a primitive value.");
|
|
@@ -9440,8 +9442,8 @@ var require_des = __commonJS((exports) => {
|
|
|
9440
9442
|
f = d | e;
|
|
9441
9443
|
var SP8 = [b | f, z | e, a | z, c | f, b | z, b | f, z | d, b | z, a | d, c | z, c | f, a | e, c | e, a | f, z | e, z | d, c | z, b | d, b | e, z | f, a | e, a | d, c | d, c | e, z | f, z | z, z | z, c | d, b | d, b | e, a | f, a | z, a | f, a | z, c | e, z | e, z | d, c | d, z | e, a | f, b | e, z | d, b | d, c | z, c | d, b | z, a | z, b | f, z | z, c | f, a | d, b | d, c | z, b | e, b | f, z | z, c | f, a | e, a | e, z | f, z | f, a | d, b | z, c | e];
|
|
9442
9444
|
var DES = /* @__PURE__ */ function() {
|
|
9443
|
-
function
|
|
9444
|
-
_classCallCheck(this,
|
|
9445
|
+
function DES(password) {
|
|
9446
|
+
_classCallCheck(this, DES);
|
|
9445
9447
|
this.keys = [];
|
|
9446
9448
|
var pc1m = [], pcr = [], kn = [];
|
|
9447
9449
|
for (var j = 0, l = 56;j < 56; ++j, l -= 8) {
|
|
@@ -9483,13 +9485,13 @@ var require_des = __commonJS((exports) => {
|
|
|
9483
9485
|
++KnLi;
|
|
9484
9486
|
}
|
|
9485
9487
|
}
|
|
9486
|
-
return _createClass(
|
|
9488
|
+
return _createClass(DES, [{
|
|
9487
9489
|
key: "enc8",
|
|
9488
9490
|
value: function enc8(text) {
|
|
9489
|
-
var
|
|
9491
|
+
var b = text.slice();
|
|
9490
9492
|
var i = 0, l, r, x;
|
|
9491
|
-
l =
|
|
9492
|
-
r =
|
|
9493
|
+
l = b[i++] << 24 | b[i++] << 16 | b[i++] << 8 | b[i++];
|
|
9494
|
+
r = b[i++] << 24 | b[i++] << 16 | b[i++] << 8 | b[i++];
|
|
9493
9495
|
x = (l >>> 4 ^ r) & 252645135;
|
|
9494
9496
|
r ^= x;
|
|
9495
9497
|
l ^= x << 4;
|
|
@@ -9552,21 +9554,21 @@ var require_des = __commonJS((exports) => {
|
|
|
9552
9554
|
r ^= x << 4;
|
|
9553
9555
|
x = [r, l];
|
|
9554
9556
|
for (i = 0;i < 8; i++) {
|
|
9555
|
-
|
|
9556
|
-
if (
|
|
9557
|
-
|
|
9557
|
+
b[i] = (x[i >>> 2] >>> 8 * (3 - i % 4)) % 256;
|
|
9558
|
+
if (b[i] < 0) {
|
|
9559
|
+
b[i] += 256;
|
|
9558
9560
|
}
|
|
9559
9561
|
}
|
|
9560
|
-
return
|
|
9562
|
+
return b;
|
|
9561
9563
|
}
|
|
9562
9564
|
}]);
|
|
9563
9565
|
}();
|
|
9564
9566
|
var DESECBCipher = exports.DESECBCipher = /* @__PURE__ */ function() {
|
|
9565
|
-
function
|
|
9566
|
-
_classCallCheck(this,
|
|
9567
|
+
function DESECBCipher() {
|
|
9568
|
+
_classCallCheck(this, DESECBCipher);
|
|
9567
9569
|
this._cipher = null;
|
|
9568
9570
|
}
|
|
9569
|
-
return _createClass(
|
|
9571
|
+
return _createClass(DESECBCipher, [{
|
|
9570
9572
|
key: "algorithm",
|
|
9571
9573
|
get: function get() {
|
|
9572
9574
|
return {
|
|
@@ -9594,18 +9596,18 @@ var require_des = __commonJS((exports) => {
|
|
|
9594
9596
|
}], [{
|
|
9595
9597
|
key: "importKey",
|
|
9596
9598
|
value: function importKey(key, _algorithm, _extractable, _keyUsages) {
|
|
9597
|
-
var cipher = new
|
|
9599
|
+
var cipher = new DESECBCipher;
|
|
9598
9600
|
cipher._importKey(key);
|
|
9599
9601
|
return cipher;
|
|
9600
9602
|
}
|
|
9601
9603
|
}]);
|
|
9602
9604
|
}();
|
|
9603
9605
|
var DESCBCCipher = exports.DESCBCCipher = /* @__PURE__ */ function() {
|
|
9604
|
-
function
|
|
9605
|
-
_classCallCheck(this,
|
|
9606
|
+
function DESCBCCipher() {
|
|
9607
|
+
_classCallCheck(this, DESCBCCipher);
|
|
9606
9608
|
this._cipher = null;
|
|
9607
9609
|
}
|
|
9608
|
-
return _createClass(
|
|
9610
|
+
return _createClass(DESCBCCipher, [{
|
|
9609
9611
|
key: "algorithm",
|
|
9610
9612
|
get: function get() {
|
|
9611
9613
|
return {
|
|
@@ -9638,7 +9640,7 @@ var require_des = __commonJS((exports) => {
|
|
|
9638
9640
|
}], [{
|
|
9639
9641
|
key: "importKey",
|
|
9640
9642
|
value: function importKey(key, _algorithm, _extractable, _keyUsages) {
|
|
9641
|
-
var cipher = new
|
|
9643
|
+
var cipher = new DESCBCCipher;
|
|
9642
9644
|
cipher._importKey(key);
|
|
9643
9645
|
return cipher;
|
|
9644
9646
|
}
|
|
@@ -9647,7 +9649,7 @@ var require_des = __commonJS((exports) => {
|
|
|
9647
9649
|
});
|
|
9648
9650
|
|
|
9649
9651
|
// ../node_modules/.bun/@novnc+novnc@1.6.0/node_modules/@novnc/novnc/lib/crypto/bigint.js
|
|
9650
|
-
var require_bigint = __commonJS((exports)
|
|
9652
|
+
var require_bigint = __commonJS(function(exports) {
|
|
9651
9653
|
Object.defineProperty(exports, "__esModule", {
|
|
9652
9654
|
value: true
|
|
9653
9655
|
});
|
|
@@ -9690,7 +9692,7 @@ var require_bigint = __commonJS((exports) => {
|
|
|
9690
9692
|
});
|
|
9691
9693
|
|
|
9692
9694
|
// ../node_modules/.bun/@novnc+novnc@1.6.0/node_modules/@novnc/novnc/lib/crypto/rsa.js
|
|
9693
|
-
var require_rsa = __commonJS((exports)
|
|
9695
|
+
var require_rsa = __commonJS(function(exports) {
|
|
9694
9696
|
Object.defineProperty(exports, "__esModule", {
|
|
9695
9697
|
value: true
|
|
9696
9698
|
});
|
|
@@ -9702,39 +9704,39 @@ var require_rsa = __commonJS((exports) => {
|
|
|
9702
9704
|
}
|
|
9703
9705
|
function _typeof(o) {
|
|
9704
9706
|
"@babel/helpers - typeof";
|
|
9705
|
-
return _typeof = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(
|
|
9706
|
-
return typeof
|
|
9707
|
-
} : function(
|
|
9708
|
-
return
|
|
9707
|
+
return _typeof = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(o) {
|
|
9708
|
+
return typeof o;
|
|
9709
|
+
} : function(o) {
|
|
9710
|
+
return o && typeof Symbol == "function" && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o;
|
|
9709
9711
|
}, _typeof(o);
|
|
9710
9712
|
}
|
|
9711
9713
|
function _regeneratorRuntime() {
|
|
9712
9714
|
/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */
|
|
9713
|
-
_regeneratorRuntime = function
|
|
9715
|
+
_regeneratorRuntime = function _regeneratorRuntime() {
|
|
9714
9716
|
return e;
|
|
9715
9717
|
};
|
|
9716
|
-
var t, e = {}, r = Object.prototype, n = r.hasOwnProperty, o = Object.defineProperty || function(
|
|
9717
|
-
|
|
9718
|
+
var t, e = {}, r = Object.prototype, n = r.hasOwnProperty, o = Object.defineProperty || function(t, e, r) {
|
|
9719
|
+
t[e] = r.value;
|
|
9718
9720
|
}, i = typeof Symbol == "function" ? Symbol : {}, a = i.iterator || "@@iterator", c = i.asyncIterator || "@@asyncIterator", u = i.toStringTag || "@@toStringTag";
|
|
9719
|
-
function define(
|
|
9720
|
-
return Object.defineProperty(
|
|
9721
|
+
function define(t, e, r) {
|
|
9722
|
+
return Object.defineProperty(t, e, { value: r, enumerable: true, configurable: true, writable: true }), t[e];
|
|
9721
9723
|
}
|
|
9722
9724
|
try {
|
|
9723
9725
|
define({}, "");
|
|
9724
|
-
} catch (
|
|
9725
|
-
define = function
|
|
9726
|
-
return
|
|
9726
|
+
} catch (t) {
|
|
9727
|
+
define = function define(t, e, r) {
|
|
9728
|
+
return t[e] = r;
|
|
9727
9729
|
};
|
|
9728
9730
|
}
|
|
9729
|
-
function wrap(
|
|
9730
|
-
var
|
|
9731
|
-
return o(
|
|
9731
|
+
function wrap(t, e, r, n) {
|
|
9732
|
+
var i = e && e.prototype instanceof Generator ? e : Generator, a = Object.create(i.prototype), c = new Context(n || []);
|
|
9733
|
+
return o(a, "_invoke", { value: makeInvokeMethod(t, r, c) }), a;
|
|
9732
9734
|
}
|
|
9733
|
-
function tryCatch(
|
|
9735
|
+
function tryCatch(t, e, r) {
|
|
9734
9736
|
try {
|
|
9735
|
-
return { type: "normal", arg:
|
|
9736
|
-
} catch (
|
|
9737
|
-
return { type: "throw", arg:
|
|
9737
|
+
return { type: "normal", arg: t.call(e, r) };
|
|
9738
|
+
} catch (t) {
|
|
9739
|
+
return { type: "throw", arg: t };
|
|
9738
9740
|
}
|
|
9739
9741
|
}
|
|
9740
9742
|
e.wrap = wrap;
|
|
@@ -9749,232 +9751,232 @@ var require_rsa = __commonJS((exports) => {
|
|
|
9749
9751
|
var d = Object.getPrototypeOf, v = d && d(d(values([])));
|
|
9750
9752
|
v && v !== r && n.call(v, a) && (p = v);
|
|
9751
9753
|
var g = GeneratorFunctionPrototype.prototype = Generator.prototype = Object.create(p);
|
|
9752
|
-
function defineIteratorMethods(
|
|
9753
|
-
["next", "throw", "return"].forEach(function(
|
|
9754
|
-
define(
|
|
9755
|
-
return this._invoke(
|
|
9754
|
+
function defineIteratorMethods(t) {
|
|
9755
|
+
["next", "throw", "return"].forEach(function(e) {
|
|
9756
|
+
define(t, e, function(t) {
|
|
9757
|
+
return this._invoke(e, t);
|
|
9756
9758
|
});
|
|
9757
9759
|
});
|
|
9758
9760
|
}
|
|
9759
|
-
function AsyncIterator(
|
|
9760
|
-
function invoke(
|
|
9761
|
-
var
|
|
9762
|
-
if (
|
|
9763
|
-
var
|
|
9764
|
-
return
|
|
9765
|
-
invoke("next",
|
|
9766
|
-
}, function(
|
|
9767
|
-
invoke("throw",
|
|
9768
|
-
}) :
|
|
9769
|
-
|
|
9770
|
-
}, function(
|
|
9771
|
-
return invoke("throw",
|
|
9761
|
+
function AsyncIterator(t, e) {
|
|
9762
|
+
function invoke(r, o, i, a) {
|
|
9763
|
+
var c = tryCatch(t[r], t, o);
|
|
9764
|
+
if (c.type !== "throw") {
|
|
9765
|
+
var u = c.arg, h = u.value;
|
|
9766
|
+
return h && _typeof(h) == "object" && n.call(h, "__await") ? e.resolve(h.__await).then(function(t) {
|
|
9767
|
+
invoke("next", t, i, a);
|
|
9768
|
+
}, function(t) {
|
|
9769
|
+
invoke("throw", t, i, a);
|
|
9770
|
+
}) : e.resolve(h).then(function(t) {
|
|
9771
|
+
u.value = t, i(u);
|
|
9772
|
+
}, function(t) {
|
|
9773
|
+
return invoke("throw", t, i, a);
|
|
9772
9774
|
});
|
|
9773
9775
|
}
|
|
9774
|
-
|
|
9776
|
+
a(c.arg);
|
|
9775
9777
|
}
|
|
9776
|
-
var
|
|
9777
|
-
o(this, "_invoke", { value: function value(
|
|
9778
|
+
var r;
|
|
9779
|
+
o(this, "_invoke", { value: function value(t, n) {
|
|
9778
9780
|
function callInvokeWithMethodAndArg() {
|
|
9779
|
-
return new
|
|
9780
|
-
invoke(
|
|
9781
|
+
return new e(function(e, r) {
|
|
9782
|
+
invoke(t, n, e, r);
|
|
9781
9783
|
});
|
|
9782
9784
|
}
|
|
9783
|
-
return
|
|
9785
|
+
return r = r ? r.then(callInvokeWithMethodAndArg, callInvokeWithMethodAndArg) : callInvokeWithMethodAndArg();
|
|
9784
9786
|
} });
|
|
9785
9787
|
}
|
|
9786
|
-
function makeInvokeMethod(
|
|
9787
|
-
var
|
|
9788
|
-
return function(
|
|
9789
|
-
if (
|
|
9788
|
+
function makeInvokeMethod(e, r, n) {
|
|
9789
|
+
var o = h;
|
|
9790
|
+
return function(i, a) {
|
|
9791
|
+
if (o === f)
|
|
9790
9792
|
throw Error("Generator is already running");
|
|
9791
|
-
if (
|
|
9792
|
-
if (
|
|
9793
|
-
throw
|
|
9793
|
+
if (o === s) {
|
|
9794
|
+
if (i === "throw")
|
|
9795
|
+
throw a;
|
|
9794
9796
|
return { value: t, done: true };
|
|
9795
9797
|
}
|
|
9796
|
-
for (
|
|
9797
|
-
var
|
|
9798
|
-
if (
|
|
9799
|
-
var
|
|
9800
|
-
if (
|
|
9801
|
-
if (
|
|
9798
|
+
for (n.method = i, n.arg = a;; ) {
|
|
9799
|
+
var c = n.delegate;
|
|
9800
|
+
if (c) {
|
|
9801
|
+
var u = maybeInvokeDelegate(c, n);
|
|
9802
|
+
if (u) {
|
|
9803
|
+
if (u === y)
|
|
9802
9804
|
continue;
|
|
9803
|
-
return
|
|
9805
|
+
return u;
|
|
9804
9806
|
}
|
|
9805
9807
|
}
|
|
9806
|
-
if (
|
|
9807
|
-
|
|
9808
|
-
else if (
|
|
9809
|
-
if (
|
|
9810
|
-
throw
|
|
9811
|
-
|
|
9808
|
+
if (n.method === "next")
|
|
9809
|
+
n.sent = n._sent = n.arg;
|
|
9810
|
+
else if (n.method === "throw") {
|
|
9811
|
+
if (o === h)
|
|
9812
|
+
throw o = s, n.arg;
|
|
9813
|
+
n.dispatchException(n.arg);
|
|
9812
9814
|
} else
|
|
9813
|
-
|
|
9814
|
-
|
|
9815
|
-
var
|
|
9816
|
-
if (
|
|
9817
|
-
if (
|
|
9815
|
+
n.method === "return" && n.abrupt("return", n.arg);
|
|
9816
|
+
o = f;
|
|
9817
|
+
var p = tryCatch(e, r, n);
|
|
9818
|
+
if (p.type === "normal") {
|
|
9819
|
+
if (o = n.done ? s : l, p.arg === y)
|
|
9818
9820
|
continue;
|
|
9819
|
-
return { value:
|
|
9821
|
+
return { value: p.arg, done: n.done };
|
|
9820
9822
|
}
|
|
9821
|
-
|
|
9823
|
+
p.type === "throw" && (o = s, n.method = "throw", n.arg = p.arg);
|
|
9822
9824
|
}
|
|
9823
9825
|
};
|
|
9824
9826
|
}
|
|
9825
|
-
function maybeInvokeDelegate(
|
|
9826
|
-
var
|
|
9827
|
-
if (
|
|
9828
|
-
return
|
|
9829
|
-
var
|
|
9830
|
-
if (
|
|
9831
|
-
return
|
|
9832
|
-
var
|
|
9833
|
-
return
|
|
9834
|
-
}
|
|
9835
|
-
function pushTryEntry(
|
|
9836
|
-
var
|
|
9837
|
-
1 in
|
|
9838
|
-
}
|
|
9839
|
-
function resetTryEntry(
|
|
9840
|
-
var
|
|
9841
|
-
|
|
9842
|
-
}
|
|
9843
|
-
function Context(
|
|
9844
|
-
this.tryEntries = [{ tryLoc: "root" }],
|
|
9845
|
-
}
|
|
9846
|
-
function values(
|
|
9847
|
-
if (
|
|
9848
|
-
var
|
|
9849
|
-
if (
|
|
9850
|
-
return
|
|
9851
|
-
if (typeof
|
|
9852
|
-
return
|
|
9853
|
-
if (!isNaN(
|
|
9854
|
-
var
|
|
9855
|
-
for (;++
|
|
9856
|
-
if (n.call(
|
|
9857
|
-
return next.value =
|
|
9827
|
+
function maybeInvokeDelegate(e, r) {
|
|
9828
|
+
var n = r.method, o = e.iterator[n];
|
|
9829
|
+
if (o === t)
|
|
9830
|
+
return r.delegate = null, n === "throw" && e.iterator["return"] && (r.method = "return", r.arg = t, maybeInvokeDelegate(e, r), r.method === "throw") || n !== "return" && (r.method = "throw", r.arg = new TypeError("The iterator does not provide a '" + n + "' method")), y;
|
|
9831
|
+
var i = tryCatch(o, e.iterator, r.arg);
|
|
9832
|
+
if (i.type === "throw")
|
|
9833
|
+
return r.method = "throw", r.arg = i.arg, r.delegate = null, y;
|
|
9834
|
+
var a = i.arg;
|
|
9835
|
+
return a ? a.done ? (r[e.resultName] = a.value, r.next = e.nextLoc, r.method !== "return" && (r.method = "next", r.arg = t), r.delegate = null, y) : a : (r.method = "throw", r.arg = new TypeError("iterator result is not an object"), r.delegate = null, y);
|
|
9836
|
+
}
|
|
9837
|
+
function pushTryEntry(t) {
|
|
9838
|
+
var e = { tryLoc: t[0] };
|
|
9839
|
+
1 in t && (e.catchLoc = t[1]), 2 in t && (e.finallyLoc = t[2], e.afterLoc = t[3]), this.tryEntries.push(e);
|
|
9840
|
+
}
|
|
9841
|
+
function resetTryEntry(t) {
|
|
9842
|
+
var e = t.completion || {};
|
|
9843
|
+
e.type = "normal", delete e.arg, t.completion = e;
|
|
9844
|
+
}
|
|
9845
|
+
function Context(t) {
|
|
9846
|
+
this.tryEntries = [{ tryLoc: "root" }], t.forEach(pushTryEntry, this), this.reset(true);
|
|
9847
|
+
}
|
|
9848
|
+
function values(e) {
|
|
9849
|
+
if (e || e === "") {
|
|
9850
|
+
var r = e[a];
|
|
9851
|
+
if (r)
|
|
9852
|
+
return r.call(e);
|
|
9853
|
+
if (typeof e.next == "function")
|
|
9854
|
+
return e;
|
|
9855
|
+
if (!isNaN(e.length)) {
|
|
9856
|
+
var o = -1, i = function next() {
|
|
9857
|
+
for (;++o < e.length; )
|
|
9858
|
+
if (n.call(e, o))
|
|
9859
|
+
return next.value = e[o], next.done = false, next;
|
|
9858
9860
|
return next.value = t, next.done = true, next;
|
|
9859
9861
|
};
|
|
9860
|
-
return
|
|
9862
|
+
return i.next = i;
|
|
9861
9863
|
}
|
|
9862
9864
|
}
|
|
9863
|
-
throw new TypeError(_typeof(
|
|
9865
|
+
throw new TypeError(_typeof(e) + " is not iterable");
|
|
9864
9866
|
}
|
|
9865
|
-
return GeneratorFunction.prototype = GeneratorFunctionPrototype, o(g, "constructor", { value: GeneratorFunctionPrototype, configurable: true }), o(GeneratorFunctionPrototype, "constructor", { value: GeneratorFunction, configurable: true }), GeneratorFunction.displayName = define(GeneratorFunctionPrototype, u, "GeneratorFunction"), e.isGeneratorFunction = function(
|
|
9866
|
-
var
|
|
9867
|
-
return !!
|
|
9868
|
-
}, e.mark = function(
|
|
9869
|
-
return Object.setPrototypeOf ? Object.setPrototypeOf(
|
|
9870
|
-
}, e.awrap = function(
|
|
9871
|
-
return { __await:
|
|
9867
|
+
return GeneratorFunction.prototype = GeneratorFunctionPrototype, o(g, "constructor", { value: GeneratorFunctionPrototype, configurable: true }), o(GeneratorFunctionPrototype, "constructor", { value: GeneratorFunction, configurable: true }), GeneratorFunction.displayName = define(GeneratorFunctionPrototype, u, "GeneratorFunction"), e.isGeneratorFunction = function(t) {
|
|
9868
|
+
var e = typeof t == "function" && t.constructor;
|
|
9869
|
+
return !!e && (e === GeneratorFunction || (e.displayName || e.name) === "GeneratorFunction");
|
|
9870
|
+
}, e.mark = function(t) {
|
|
9871
|
+
return Object.setPrototypeOf ? Object.setPrototypeOf(t, GeneratorFunctionPrototype) : (t.__proto__ = GeneratorFunctionPrototype, define(t, u, "GeneratorFunction")), t.prototype = Object.create(g), t;
|
|
9872
|
+
}, e.awrap = function(t) {
|
|
9873
|
+
return { __await: t };
|
|
9872
9874
|
}, defineIteratorMethods(AsyncIterator.prototype), define(AsyncIterator.prototype, c, function() {
|
|
9873
9875
|
return this;
|
|
9874
|
-
}), e.AsyncIterator = AsyncIterator, e.async = function(
|
|
9875
|
-
|
|
9876
|
-
var
|
|
9877
|
-
return e.isGeneratorFunction(
|
|
9878
|
-
return
|
|
9876
|
+
}), e.AsyncIterator = AsyncIterator, e.async = function(t, r, n, o, i) {
|
|
9877
|
+
i === undefined && (i = Promise);
|
|
9878
|
+
var a = new AsyncIterator(wrap(t, r, n, o), i);
|
|
9879
|
+
return e.isGeneratorFunction(r) ? a : a.next().then(function(t) {
|
|
9880
|
+
return t.done ? t.value : a.next();
|
|
9879
9881
|
});
|
|
9880
9882
|
}, defineIteratorMethods(g), define(g, u, "Generator"), define(g, a, function() {
|
|
9881
9883
|
return this;
|
|
9882
9884
|
}), define(g, "toString", function() {
|
|
9883
9885
|
return "[object Generator]";
|
|
9884
|
-
}), e.keys = function(
|
|
9885
|
-
var
|
|
9886
|
-
for (var
|
|
9887
|
-
|
|
9888
|
-
return
|
|
9889
|
-
for (;
|
|
9890
|
-
var
|
|
9891
|
-
if (
|
|
9892
|
-
return next.value =
|
|
9886
|
+
}), e.keys = function(t) {
|
|
9887
|
+
var e = Object(t), r = [];
|
|
9888
|
+
for (var n in e)
|
|
9889
|
+
r.push(n);
|
|
9890
|
+
return r.reverse(), function next() {
|
|
9891
|
+
for (;r.length; ) {
|
|
9892
|
+
var t = r.pop();
|
|
9893
|
+
if (t in e)
|
|
9894
|
+
return next.value = t, next.done = false, next;
|
|
9893
9895
|
}
|
|
9894
9896
|
return next.done = true, next;
|
|
9895
9897
|
};
|
|
9896
|
-
}, e.values = values, Context.prototype = { constructor: Context, reset: function reset(
|
|
9897
|
-
if (this.prev = 0, this.next = 0, this.sent = this._sent = t, this.done = false, this.delegate = null, this.method = "next", this.arg = t, this.tryEntries.forEach(resetTryEntry), !
|
|
9898
|
-
for (var
|
|
9899
|
-
|
|
9898
|
+
}, e.values = values, Context.prototype = { constructor: Context, reset: function reset(e) {
|
|
9899
|
+
if (this.prev = 0, this.next = 0, this.sent = this._sent = t, this.done = false, this.delegate = null, this.method = "next", this.arg = t, this.tryEntries.forEach(resetTryEntry), !e)
|
|
9900
|
+
for (var r in this)
|
|
9901
|
+
r.charAt(0) === "t" && n.call(this, r) && !isNaN(+r.slice(1)) && (this[r] = t);
|
|
9900
9902
|
}, stop: function stop() {
|
|
9901
9903
|
this.done = true;
|
|
9902
|
-
var
|
|
9903
|
-
if (
|
|
9904
|
-
throw
|
|
9904
|
+
var t = this.tryEntries[0].completion;
|
|
9905
|
+
if (t.type === "throw")
|
|
9906
|
+
throw t.arg;
|
|
9905
9907
|
return this.rval;
|
|
9906
|
-
}, dispatchException: function dispatchException(
|
|
9908
|
+
}, dispatchException: function dispatchException(e) {
|
|
9907
9909
|
if (this.done)
|
|
9908
|
-
throw
|
|
9909
|
-
var
|
|
9910
|
-
function handle(
|
|
9911
|
-
return
|
|
9912
|
-
}
|
|
9913
|
-
for (var
|
|
9914
|
-
var
|
|
9915
|
-
if (
|
|
9910
|
+
throw e;
|
|
9911
|
+
var r = this;
|
|
9912
|
+
function handle(n, o) {
|
|
9913
|
+
return a.type = "throw", a.arg = e, r.next = n, o && (r.method = "next", r.arg = t), !!o;
|
|
9914
|
+
}
|
|
9915
|
+
for (var o = this.tryEntries.length - 1;o >= 0; --o) {
|
|
9916
|
+
var i = this.tryEntries[o], a = i.completion;
|
|
9917
|
+
if (i.tryLoc === "root")
|
|
9916
9918
|
return handle("end");
|
|
9917
|
-
if (
|
|
9918
|
-
var
|
|
9919
|
-
if (
|
|
9920
|
-
if (this.prev <
|
|
9921
|
-
return handle(
|
|
9922
|
-
if (this.prev <
|
|
9923
|
-
return handle(
|
|
9924
|
-
} else if (
|
|
9925
|
-
if (this.prev <
|
|
9926
|
-
return handle(
|
|
9919
|
+
if (i.tryLoc <= this.prev) {
|
|
9920
|
+
var c = n.call(i, "catchLoc"), u = n.call(i, "finallyLoc");
|
|
9921
|
+
if (c && u) {
|
|
9922
|
+
if (this.prev < i.catchLoc)
|
|
9923
|
+
return handle(i.catchLoc, true);
|
|
9924
|
+
if (this.prev < i.finallyLoc)
|
|
9925
|
+
return handle(i.finallyLoc);
|
|
9926
|
+
} else if (c) {
|
|
9927
|
+
if (this.prev < i.catchLoc)
|
|
9928
|
+
return handle(i.catchLoc, true);
|
|
9927
9929
|
} else {
|
|
9928
|
-
if (!
|
|
9930
|
+
if (!u)
|
|
9929
9931
|
throw Error("try statement without catch or finally");
|
|
9930
|
-
if (this.prev <
|
|
9931
|
-
return handle(
|
|
9932
|
+
if (this.prev < i.finallyLoc)
|
|
9933
|
+
return handle(i.finallyLoc);
|
|
9932
9934
|
}
|
|
9933
9935
|
}
|
|
9934
9936
|
}
|
|
9935
|
-
}, abrupt: function abrupt(
|
|
9936
|
-
for (var
|
|
9937
|
-
var
|
|
9938
|
-
if (
|
|
9939
|
-
var
|
|
9937
|
+
}, abrupt: function abrupt(t, e) {
|
|
9938
|
+
for (var r = this.tryEntries.length - 1;r >= 0; --r) {
|
|
9939
|
+
var o = this.tryEntries[r];
|
|
9940
|
+
if (o.tryLoc <= this.prev && n.call(o, "finallyLoc") && this.prev < o.finallyLoc) {
|
|
9941
|
+
var i = o;
|
|
9940
9942
|
break;
|
|
9941
9943
|
}
|
|
9942
9944
|
}
|
|
9943
|
-
|
|
9944
|
-
var
|
|
9945
|
-
return
|
|
9946
|
-
}, complete: function complete(
|
|
9947
|
-
if (
|
|
9948
|
-
throw
|
|
9949
|
-
return
|
|
9950
|
-
}, finish: function finish(
|
|
9951
|
-
for (var
|
|
9952
|
-
var
|
|
9953
|
-
if (
|
|
9954
|
-
return this.complete(
|
|
9955
|
-
}
|
|
9956
|
-
}, catch: function _catch(
|
|
9957
|
-
for (var
|
|
9958
|
-
var
|
|
9959
|
-
if (
|
|
9960
|
-
var
|
|
9961
|
-
if (
|
|
9962
|
-
var
|
|
9963
|
-
resetTryEntry(
|
|
9945
|
+
i && (t === "break" || t === "continue") && i.tryLoc <= e && e <= i.finallyLoc && (i = null);
|
|
9946
|
+
var a = i ? i.completion : {};
|
|
9947
|
+
return a.type = t, a.arg = e, i ? (this.method = "next", this.next = i.finallyLoc, y) : this.complete(a);
|
|
9948
|
+
}, complete: function complete(t, e) {
|
|
9949
|
+
if (t.type === "throw")
|
|
9950
|
+
throw t.arg;
|
|
9951
|
+
return t.type === "break" || t.type === "continue" ? this.next = t.arg : t.type === "return" ? (this.rval = this.arg = t.arg, this.method = "return", this.next = "end") : t.type === "normal" && e && (this.next = e), y;
|
|
9952
|
+
}, finish: function finish(t) {
|
|
9953
|
+
for (var e = this.tryEntries.length - 1;e >= 0; --e) {
|
|
9954
|
+
var r = this.tryEntries[e];
|
|
9955
|
+
if (r.finallyLoc === t)
|
|
9956
|
+
return this.complete(r.completion, r.afterLoc), resetTryEntry(r), y;
|
|
9957
|
+
}
|
|
9958
|
+
}, catch: function _catch(t) {
|
|
9959
|
+
for (var e = this.tryEntries.length - 1;e >= 0; --e) {
|
|
9960
|
+
var r = this.tryEntries[e];
|
|
9961
|
+
if (r.tryLoc === t) {
|
|
9962
|
+
var n = r.completion;
|
|
9963
|
+
if (n.type === "throw") {
|
|
9964
|
+
var o = n.arg;
|
|
9965
|
+
resetTryEntry(r);
|
|
9964
9966
|
}
|
|
9965
|
-
return
|
|
9967
|
+
return o;
|
|
9966
9968
|
}
|
|
9967
9969
|
}
|
|
9968
9970
|
throw Error("illegal catch attempt");
|
|
9969
|
-
}, delegateYield: function delegateYield(
|
|
9970
|
-
return this.delegate = { iterator: values(
|
|
9971
|
+
}, delegateYield: function delegateYield(e, r, n) {
|
|
9972
|
+
return this.delegate = { iterator: values(e), resultName: r, nextLoc: n }, this.method === "next" && (this.arg = t), y;
|
|
9971
9973
|
} }, e;
|
|
9972
9974
|
}
|
|
9973
9975
|
function asyncGeneratorStep(n, t, e, r, o, a, c) {
|
|
9974
9976
|
try {
|
|
9975
9977
|
var i = n[a](c), u = i.value;
|
|
9976
|
-
} catch (
|
|
9977
|
-
return void e(
|
|
9978
|
+
} catch (n) {
|
|
9979
|
+
return void e(n);
|
|
9978
9980
|
}
|
|
9979
9981
|
i.done ? t(u) : Promise.resolve(u).then(r, o);
|
|
9980
9982
|
}
|
|
@@ -9983,11 +9985,11 @@ var require_rsa = __commonJS((exports) => {
|
|
|
9983
9985
|
var t = this, e = arguments;
|
|
9984
9986
|
return new Promise(function(r, o) {
|
|
9985
9987
|
var a = n.apply(t, e);
|
|
9986
|
-
function _next(
|
|
9987
|
-
asyncGeneratorStep(a, r, o, _next, _throw, "next",
|
|
9988
|
+
function _next(n) {
|
|
9989
|
+
asyncGeneratorStep(a, r, o, _next, _throw, "next", n);
|
|
9988
9990
|
}
|
|
9989
|
-
function _throw(
|
|
9990
|
-
asyncGeneratorStep(a, r, o, _next, _throw, "throw",
|
|
9991
|
+
function _throw(n) {
|
|
9992
|
+
asyncGeneratorStep(a, r, o, _next, _throw, "throw", n);
|
|
9991
9993
|
}
|
|
9992
9994
|
_next(undefined);
|
|
9993
9995
|
});
|
|
@@ -10023,8 +10025,8 @@ var require_rsa = __commonJS((exports) => {
|
|
|
10023
10025
|
return (r === "string" ? String : Number)(t);
|
|
10024
10026
|
}
|
|
10025
10027
|
var RSACipher = exports.RSACipher = /* @__PURE__ */ function() {
|
|
10026
|
-
function
|
|
10027
|
-
_classCallCheck(this,
|
|
10028
|
+
function RSACipher() {
|
|
10029
|
+
_classCallCheck(this, RSACipher);
|
|
10028
10030
|
this._keyLength = 0;
|
|
10029
10031
|
this._keyBytes = 0;
|
|
10030
10032
|
this._n = null;
|
|
@@ -10035,7 +10037,7 @@ var require_rsa = __commonJS((exports) => {
|
|
|
10035
10037
|
this._dBigInt = null;
|
|
10036
10038
|
this._extractable = false;
|
|
10037
10039
|
}
|
|
10038
|
-
return _createClass(
|
|
10040
|
+
return _createClass(RSACipher, [{
|
|
10039
10041
|
key: "algorithm",
|
|
10040
10042
|
get: function get() {
|
|
10041
10043
|
return {
|
|
@@ -10272,7 +10274,7 @@ var require_rsa = __commonJS((exports) => {
|
|
|
10272
10274
|
while (true)
|
|
10273
10275
|
switch (_context6.prev = _context6.next) {
|
|
10274
10276
|
case 0:
|
|
10275
|
-
cipher = new
|
|
10277
|
+
cipher = new RSACipher;
|
|
10276
10278
|
_context6.next = 3;
|
|
10277
10279
|
return cipher._generateKey(algorithm, extractable);
|
|
10278
10280
|
case 3:
|
|
@@ -10305,7 +10307,7 @@ var require_rsa = __commonJS((exports) => {
|
|
|
10305
10307
|
}
|
|
10306
10308
|
throw new Error("only support importing RSA public key");
|
|
10307
10309
|
case 2:
|
|
10308
|
-
cipher = new
|
|
10310
|
+
cipher = new RSACipher;
|
|
10309
10311
|
_context7.next = 5;
|
|
10310
10312
|
return cipher._importKey(key, extractable);
|
|
10311
10313
|
case 5:
|
|
@@ -10326,7 +10328,7 @@ var require_rsa = __commonJS((exports) => {
|
|
|
10326
10328
|
});
|
|
10327
10329
|
|
|
10328
10330
|
// ../node_modules/.bun/@novnc+novnc@1.6.0/node_modules/@novnc/novnc/lib/crypto/dh.js
|
|
10329
|
-
var require_dh = __commonJS((exports)
|
|
10331
|
+
var require_dh = __commonJS(function(exports) {
|
|
10330
10332
|
Object.defineProperty(exports, "__esModule", {
|
|
10331
10333
|
value: true
|
|
10332
10334
|
});
|
|
@@ -10334,10 +10336,10 @@ var require_dh = __commonJS((exports) => {
|
|
|
10334
10336
|
var _bigint = require_bigint();
|
|
10335
10337
|
function _typeof(o) {
|
|
10336
10338
|
"@babel/helpers - typeof";
|
|
10337
|
-
return _typeof = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(
|
|
10338
|
-
return typeof
|
|
10339
|
-
} : function(
|
|
10340
|
-
return
|
|
10339
|
+
return _typeof = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(o) {
|
|
10340
|
+
return typeof o;
|
|
10341
|
+
} : function(o) {
|
|
10342
|
+
return o && typeof Symbol == "function" && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o;
|
|
10341
10343
|
}, _typeof(o);
|
|
10342
10344
|
}
|
|
10343
10345
|
function _classCallCheck(a, n) {
|
|
@@ -10370,11 +10372,11 @@ var require_dh = __commonJS((exports) => {
|
|
|
10370
10372
|
return (r === "string" ? String : Number)(t);
|
|
10371
10373
|
}
|
|
10372
10374
|
var DHPublicKey = /* @__PURE__ */ function() {
|
|
10373
|
-
function
|
|
10374
|
-
_classCallCheck(this,
|
|
10375
|
+
function DHPublicKey(key) {
|
|
10376
|
+
_classCallCheck(this, DHPublicKey);
|
|
10375
10377
|
this._key = key;
|
|
10376
10378
|
}
|
|
10377
|
-
return _createClass(
|
|
10379
|
+
return _createClass(DHPublicKey, [{
|
|
10378
10380
|
key: "algorithm",
|
|
10379
10381
|
get: function get() {
|
|
10380
10382
|
return {
|
|
@@ -10389,15 +10391,15 @@ var require_dh = __commonJS((exports) => {
|
|
|
10389
10391
|
}]);
|
|
10390
10392
|
}();
|
|
10391
10393
|
var DHCipher = exports.DHCipher = /* @__PURE__ */ function() {
|
|
10392
|
-
function
|
|
10393
|
-
_classCallCheck(this,
|
|
10394
|
+
function DHCipher() {
|
|
10395
|
+
_classCallCheck(this, DHCipher);
|
|
10394
10396
|
this._g = null;
|
|
10395
10397
|
this._p = null;
|
|
10396
10398
|
this._gBigInt = null;
|
|
10397
10399
|
this._pBigInt = null;
|
|
10398
10400
|
this._privateKey = null;
|
|
10399
10401
|
}
|
|
10400
|
-
return _createClass(
|
|
10402
|
+
return _createClass(DHCipher, [{
|
|
10401
10403
|
key: "algorithm",
|
|
10402
10404
|
get: function get() {
|
|
10403
10405
|
return {
|
|
@@ -10428,7 +10430,7 @@ var require_dh = __commonJS((exports) => {
|
|
|
10428
10430
|
}], [{
|
|
10429
10431
|
key: "generateKey",
|
|
10430
10432
|
value: function generateKey(algorithm, _extractable) {
|
|
10431
|
-
var cipher = new
|
|
10433
|
+
var cipher = new DHCipher;
|
|
10432
10434
|
cipher._generateKey(algorithm);
|
|
10433
10435
|
return {
|
|
10434
10436
|
privateKey: cipher,
|
|
@@ -10440,46 +10442,46 @@ var require_dh = __commonJS((exports) => {
|
|
|
10440
10442
|
});
|
|
10441
10443
|
|
|
10442
10444
|
// ../node_modules/.bun/@novnc+novnc@1.6.0/node_modules/@novnc/novnc/lib/crypto/md5.js
|
|
10443
|
-
var require_md5 = __commonJS((exports)
|
|
10445
|
+
var require_md5 = __commonJS(function(exports) {
|
|
10444
10446
|
Object.defineProperty(exports, "__esModule", {
|
|
10445
10447
|
value: true
|
|
10446
10448
|
});
|
|
10447
10449
|
exports.MD5 = MD5;
|
|
10448
10450
|
function _typeof(o) {
|
|
10449
10451
|
"@babel/helpers - typeof";
|
|
10450
|
-
return _typeof = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(
|
|
10451
|
-
return typeof
|
|
10452
|
-
} : function(
|
|
10453
|
-
return
|
|
10452
|
+
return _typeof = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(o) {
|
|
10453
|
+
return typeof o;
|
|
10454
|
+
} : function(o) {
|
|
10455
|
+
return o && typeof Symbol == "function" && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o;
|
|
10454
10456
|
}, _typeof(o);
|
|
10455
10457
|
}
|
|
10456
10458
|
function _regeneratorRuntime() {
|
|
10457
10459
|
/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */
|
|
10458
|
-
_regeneratorRuntime = function
|
|
10460
|
+
_regeneratorRuntime = function _regeneratorRuntime() {
|
|
10459
10461
|
return e;
|
|
10460
10462
|
};
|
|
10461
|
-
var t, e = {}, r = Object.prototype, n = r.hasOwnProperty, o = Object.defineProperty || function(
|
|
10462
|
-
|
|
10463
|
+
var t, e = {}, r = Object.prototype, n = r.hasOwnProperty, o = Object.defineProperty || function(t, e, r) {
|
|
10464
|
+
t[e] = r.value;
|
|
10463
10465
|
}, i = typeof Symbol == "function" ? Symbol : {}, a = i.iterator || "@@iterator", c = i.asyncIterator || "@@asyncIterator", u = i.toStringTag || "@@toStringTag";
|
|
10464
|
-
function define(
|
|
10465
|
-
return Object.defineProperty(
|
|
10466
|
+
function define(t, e, r) {
|
|
10467
|
+
return Object.defineProperty(t, e, { value: r, enumerable: true, configurable: true, writable: true }), t[e];
|
|
10466
10468
|
}
|
|
10467
10469
|
try {
|
|
10468
10470
|
define({}, "");
|
|
10469
|
-
} catch (
|
|
10470
|
-
define = function
|
|
10471
|
-
return
|
|
10471
|
+
} catch (t) {
|
|
10472
|
+
define = function define(t, e, r) {
|
|
10473
|
+
return t[e] = r;
|
|
10472
10474
|
};
|
|
10473
10475
|
}
|
|
10474
|
-
function wrap(
|
|
10475
|
-
var
|
|
10476
|
-
return o(
|
|
10476
|
+
function wrap(t, e, r, n) {
|
|
10477
|
+
var i = e && e.prototype instanceof Generator ? e : Generator, a = Object.create(i.prototype), c = new Context(n || []);
|
|
10478
|
+
return o(a, "_invoke", { value: makeInvokeMethod(t, r, c) }), a;
|
|
10477
10479
|
}
|
|
10478
|
-
function tryCatch(
|
|
10480
|
+
function tryCatch(t, e, r) {
|
|
10479
10481
|
try {
|
|
10480
|
-
return { type: "normal", arg:
|
|
10481
|
-
} catch (
|
|
10482
|
-
return { type: "throw", arg:
|
|
10482
|
+
return { type: "normal", arg: t.call(e, r) };
|
|
10483
|
+
} catch (t) {
|
|
10484
|
+
return { type: "throw", arg: t };
|
|
10483
10485
|
}
|
|
10484
10486
|
}
|
|
10485
10487
|
e.wrap = wrap;
|
|
@@ -10494,232 +10496,232 @@ var require_md5 = __commonJS((exports) => {
|
|
|
10494
10496
|
var d = Object.getPrototypeOf, v = d && d(d(values([])));
|
|
10495
10497
|
v && v !== r && n.call(v, a) && (p = v);
|
|
10496
10498
|
var g = GeneratorFunctionPrototype.prototype = Generator.prototype = Object.create(p);
|
|
10497
|
-
function defineIteratorMethods(
|
|
10498
|
-
["next", "throw", "return"].forEach(function(
|
|
10499
|
-
define(
|
|
10500
|
-
return this._invoke(
|
|
10499
|
+
function defineIteratorMethods(t) {
|
|
10500
|
+
["next", "throw", "return"].forEach(function(e) {
|
|
10501
|
+
define(t, e, function(t) {
|
|
10502
|
+
return this._invoke(e, t);
|
|
10501
10503
|
});
|
|
10502
10504
|
});
|
|
10503
10505
|
}
|
|
10504
|
-
function AsyncIterator(
|
|
10505
|
-
function invoke(
|
|
10506
|
-
var
|
|
10507
|
-
if (
|
|
10508
|
-
var
|
|
10509
|
-
return
|
|
10510
|
-
invoke("next",
|
|
10511
|
-
}, function(
|
|
10512
|
-
invoke("throw",
|
|
10513
|
-
}) :
|
|
10514
|
-
|
|
10515
|
-
}, function(
|
|
10516
|
-
return invoke("throw",
|
|
10506
|
+
function AsyncIterator(t, e) {
|
|
10507
|
+
function invoke(r, o, i, a) {
|
|
10508
|
+
var c = tryCatch(t[r], t, o);
|
|
10509
|
+
if (c.type !== "throw") {
|
|
10510
|
+
var u = c.arg, h = u.value;
|
|
10511
|
+
return h && _typeof(h) == "object" && n.call(h, "__await") ? e.resolve(h.__await).then(function(t) {
|
|
10512
|
+
invoke("next", t, i, a);
|
|
10513
|
+
}, function(t) {
|
|
10514
|
+
invoke("throw", t, i, a);
|
|
10515
|
+
}) : e.resolve(h).then(function(t) {
|
|
10516
|
+
u.value = t, i(u);
|
|
10517
|
+
}, function(t) {
|
|
10518
|
+
return invoke("throw", t, i, a);
|
|
10517
10519
|
});
|
|
10518
10520
|
}
|
|
10519
|
-
|
|
10521
|
+
a(c.arg);
|
|
10520
10522
|
}
|
|
10521
|
-
var
|
|
10522
|
-
o(this, "_invoke", { value: function value(
|
|
10523
|
+
var r;
|
|
10524
|
+
o(this, "_invoke", { value: function value(t, n) {
|
|
10523
10525
|
function callInvokeWithMethodAndArg() {
|
|
10524
|
-
return new
|
|
10525
|
-
invoke(
|
|
10526
|
+
return new e(function(e, r) {
|
|
10527
|
+
invoke(t, n, e, r);
|
|
10526
10528
|
});
|
|
10527
10529
|
}
|
|
10528
|
-
return
|
|
10530
|
+
return r = r ? r.then(callInvokeWithMethodAndArg, callInvokeWithMethodAndArg) : callInvokeWithMethodAndArg();
|
|
10529
10531
|
} });
|
|
10530
10532
|
}
|
|
10531
|
-
function makeInvokeMethod(
|
|
10532
|
-
var
|
|
10533
|
-
return function(
|
|
10534
|
-
if (
|
|
10533
|
+
function makeInvokeMethod(e, r, n) {
|
|
10534
|
+
var o = h;
|
|
10535
|
+
return function(i, a) {
|
|
10536
|
+
if (o === f)
|
|
10535
10537
|
throw Error("Generator is already running");
|
|
10536
|
-
if (
|
|
10537
|
-
if (
|
|
10538
|
-
throw
|
|
10538
|
+
if (o === s) {
|
|
10539
|
+
if (i === "throw")
|
|
10540
|
+
throw a;
|
|
10539
10541
|
return { value: t, done: true };
|
|
10540
10542
|
}
|
|
10541
|
-
for (
|
|
10542
|
-
var
|
|
10543
|
-
if (
|
|
10544
|
-
var
|
|
10545
|
-
if (
|
|
10546
|
-
if (
|
|
10543
|
+
for (n.method = i, n.arg = a;; ) {
|
|
10544
|
+
var c = n.delegate;
|
|
10545
|
+
if (c) {
|
|
10546
|
+
var u = maybeInvokeDelegate(c, n);
|
|
10547
|
+
if (u) {
|
|
10548
|
+
if (u === y)
|
|
10547
10549
|
continue;
|
|
10548
|
-
return
|
|
10550
|
+
return u;
|
|
10549
10551
|
}
|
|
10550
10552
|
}
|
|
10551
|
-
if (
|
|
10552
|
-
|
|
10553
|
-
else if (
|
|
10554
|
-
if (
|
|
10555
|
-
throw
|
|
10556
|
-
|
|
10553
|
+
if (n.method === "next")
|
|
10554
|
+
n.sent = n._sent = n.arg;
|
|
10555
|
+
else if (n.method === "throw") {
|
|
10556
|
+
if (o === h)
|
|
10557
|
+
throw o = s, n.arg;
|
|
10558
|
+
n.dispatchException(n.arg);
|
|
10557
10559
|
} else
|
|
10558
|
-
|
|
10559
|
-
|
|
10560
|
-
var
|
|
10561
|
-
if (
|
|
10562
|
-
if (
|
|
10560
|
+
n.method === "return" && n.abrupt("return", n.arg);
|
|
10561
|
+
o = f;
|
|
10562
|
+
var p = tryCatch(e, r, n);
|
|
10563
|
+
if (p.type === "normal") {
|
|
10564
|
+
if (o = n.done ? s : l, p.arg === y)
|
|
10563
10565
|
continue;
|
|
10564
|
-
return { value:
|
|
10566
|
+
return { value: p.arg, done: n.done };
|
|
10565
10567
|
}
|
|
10566
|
-
|
|
10568
|
+
p.type === "throw" && (o = s, n.method = "throw", n.arg = p.arg);
|
|
10567
10569
|
}
|
|
10568
10570
|
};
|
|
10569
10571
|
}
|
|
10570
|
-
function maybeInvokeDelegate(
|
|
10571
|
-
var
|
|
10572
|
-
if (
|
|
10573
|
-
return
|
|
10574
|
-
var
|
|
10575
|
-
if (
|
|
10576
|
-
return
|
|
10577
|
-
var
|
|
10578
|
-
return
|
|
10579
|
-
}
|
|
10580
|
-
function pushTryEntry(
|
|
10581
|
-
var
|
|
10582
|
-
1 in
|
|
10583
|
-
}
|
|
10584
|
-
function resetTryEntry(
|
|
10585
|
-
var
|
|
10586
|
-
|
|
10587
|
-
}
|
|
10588
|
-
function Context(
|
|
10589
|
-
this.tryEntries = [{ tryLoc: "root" }],
|
|
10590
|
-
}
|
|
10591
|
-
function values(
|
|
10592
|
-
if (
|
|
10593
|
-
var
|
|
10594
|
-
if (
|
|
10595
|
-
return
|
|
10596
|
-
if (typeof
|
|
10597
|
-
return
|
|
10598
|
-
if (!isNaN(
|
|
10599
|
-
var
|
|
10600
|
-
for (;++
|
|
10601
|
-
if (n.call(
|
|
10602
|
-
return next.value =
|
|
10572
|
+
function maybeInvokeDelegate(e, r) {
|
|
10573
|
+
var n = r.method, o = e.iterator[n];
|
|
10574
|
+
if (o === t)
|
|
10575
|
+
return r.delegate = null, n === "throw" && e.iterator["return"] && (r.method = "return", r.arg = t, maybeInvokeDelegate(e, r), r.method === "throw") || n !== "return" && (r.method = "throw", r.arg = new TypeError("The iterator does not provide a '" + n + "' method")), y;
|
|
10576
|
+
var i = tryCatch(o, e.iterator, r.arg);
|
|
10577
|
+
if (i.type === "throw")
|
|
10578
|
+
return r.method = "throw", r.arg = i.arg, r.delegate = null, y;
|
|
10579
|
+
var a = i.arg;
|
|
10580
|
+
return a ? a.done ? (r[e.resultName] = a.value, r.next = e.nextLoc, r.method !== "return" && (r.method = "next", r.arg = t), r.delegate = null, y) : a : (r.method = "throw", r.arg = new TypeError("iterator result is not an object"), r.delegate = null, y);
|
|
10581
|
+
}
|
|
10582
|
+
function pushTryEntry(t) {
|
|
10583
|
+
var e = { tryLoc: t[0] };
|
|
10584
|
+
1 in t && (e.catchLoc = t[1]), 2 in t && (e.finallyLoc = t[2], e.afterLoc = t[3]), this.tryEntries.push(e);
|
|
10585
|
+
}
|
|
10586
|
+
function resetTryEntry(t) {
|
|
10587
|
+
var e = t.completion || {};
|
|
10588
|
+
e.type = "normal", delete e.arg, t.completion = e;
|
|
10589
|
+
}
|
|
10590
|
+
function Context(t) {
|
|
10591
|
+
this.tryEntries = [{ tryLoc: "root" }], t.forEach(pushTryEntry, this), this.reset(true);
|
|
10592
|
+
}
|
|
10593
|
+
function values(e) {
|
|
10594
|
+
if (e || e === "") {
|
|
10595
|
+
var r = e[a];
|
|
10596
|
+
if (r)
|
|
10597
|
+
return r.call(e);
|
|
10598
|
+
if (typeof e.next == "function")
|
|
10599
|
+
return e;
|
|
10600
|
+
if (!isNaN(e.length)) {
|
|
10601
|
+
var o = -1, i = function next() {
|
|
10602
|
+
for (;++o < e.length; )
|
|
10603
|
+
if (n.call(e, o))
|
|
10604
|
+
return next.value = e[o], next.done = false, next;
|
|
10603
10605
|
return next.value = t, next.done = true, next;
|
|
10604
10606
|
};
|
|
10605
|
-
return
|
|
10607
|
+
return i.next = i;
|
|
10606
10608
|
}
|
|
10607
10609
|
}
|
|
10608
|
-
throw new TypeError(_typeof(
|
|
10610
|
+
throw new TypeError(_typeof(e) + " is not iterable");
|
|
10609
10611
|
}
|
|
10610
|
-
return GeneratorFunction.prototype = GeneratorFunctionPrototype, o(g, "constructor", { value: GeneratorFunctionPrototype, configurable: true }), o(GeneratorFunctionPrototype, "constructor", { value: GeneratorFunction, configurable: true }), GeneratorFunction.displayName = define(GeneratorFunctionPrototype, u, "GeneratorFunction"), e.isGeneratorFunction = function(
|
|
10611
|
-
var
|
|
10612
|
-
return !!
|
|
10613
|
-
}, e.mark = function(
|
|
10614
|
-
return Object.setPrototypeOf ? Object.setPrototypeOf(
|
|
10615
|
-
}, e.awrap = function(
|
|
10616
|
-
return { __await:
|
|
10612
|
+
return GeneratorFunction.prototype = GeneratorFunctionPrototype, o(g, "constructor", { value: GeneratorFunctionPrototype, configurable: true }), o(GeneratorFunctionPrototype, "constructor", { value: GeneratorFunction, configurable: true }), GeneratorFunction.displayName = define(GeneratorFunctionPrototype, u, "GeneratorFunction"), e.isGeneratorFunction = function(t) {
|
|
10613
|
+
var e = typeof t == "function" && t.constructor;
|
|
10614
|
+
return !!e && (e === GeneratorFunction || (e.displayName || e.name) === "GeneratorFunction");
|
|
10615
|
+
}, e.mark = function(t) {
|
|
10616
|
+
return Object.setPrototypeOf ? Object.setPrototypeOf(t, GeneratorFunctionPrototype) : (t.__proto__ = GeneratorFunctionPrototype, define(t, u, "GeneratorFunction")), t.prototype = Object.create(g), t;
|
|
10617
|
+
}, e.awrap = function(t) {
|
|
10618
|
+
return { __await: t };
|
|
10617
10619
|
}, defineIteratorMethods(AsyncIterator.prototype), define(AsyncIterator.prototype, c, function() {
|
|
10618
10620
|
return this;
|
|
10619
|
-
}), e.AsyncIterator = AsyncIterator, e.async = function(
|
|
10620
|
-
|
|
10621
|
-
var
|
|
10622
|
-
return e.isGeneratorFunction(
|
|
10623
|
-
return
|
|
10621
|
+
}), e.AsyncIterator = AsyncIterator, e.async = function(t, r, n, o, i) {
|
|
10622
|
+
i === undefined && (i = Promise);
|
|
10623
|
+
var a = new AsyncIterator(wrap(t, r, n, o), i);
|
|
10624
|
+
return e.isGeneratorFunction(r) ? a : a.next().then(function(t) {
|
|
10625
|
+
return t.done ? t.value : a.next();
|
|
10624
10626
|
});
|
|
10625
10627
|
}, defineIteratorMethods(g), define(g, u, "Generator"), define(g, a, function() {
|
|
10626
10628
|
return this;
|
|
10627
10629
|
}), define(g, "toString", function() {
|
|
10628
10630
|
return "[object Generator]";
|
|
10629
|
-
}), e.keys = function(
|
|
10630
|
-
var
|
|
10631
|
-
for (var
|
|
10632
|
-
|
|
10633
|
-
return
|
|
10634
|
-
for (;
|
|
10635
|
-
var
|
|
10636
|
-
if (
|
|
10637
|
-
return next.value =
|
|
10631
|
+
}), e.keys = function(t) {
|
|
10632
|
+
var e = Object(t), r = [];
|
|
10633
|
+
for (var n in e)
|
|
10634
|
+
r.push(n);
|
|
10635
|
+
return r.reverse(), function next() {
|
|
10636
|
+
for (;r.length; ) {
|
|
10637
|
+
var t = r.pop();
|
|
10638
|
+
if (t in e)
|
|
10639
|
+
return next.value = t, next.done = false, next;
|
|
10638
10640
|
}
|
|
10639
10641
|
return next.done = true, next;
|
|
10640
10642
|
};
|
|
10641
|
-
}, e.values = values, Context.prototype = { constructor: Context, reset: function reset(
|
|
10642
|
-
if (this.prev = 0, this.next = 0, this.sent = this._sent = t, this.done = false, this.delegate = null, this.method = "next", this.arg = t, this.tryEntries.forEach(resetTryEntry), !
|
|
10643
|
-
for (var
|
|
10644
|
-
|
|
10643
|
+
}, e.values = values, Context.prototype = { constructor: Context, reset: function reset(e) {
|
|
10644
|
+
if (this.prev = 0, this.next = 0, this.sent = this._sent = t, this.done = false, this.delegate = null, this.method = "next", this.arg = t, this.tryEntries.forEach(resetTryEntry), !e)
|
|
10645
|
+
for (var r in this)
|
|
10646
|
+
r.charAt(0) === "t" && n.call(this, r) && !isNaN(+r.slice(1)) && (this[r] = t);
|
|
10645
10647
|
}, stop: function stop() {
|
|
10646
10648
|
this.done = true;
|
|
10647
|
-
var
|
|
10648
|
-
if (
|
|
10649
|
-
throw
|
|
10649
|
+
var t = this.tryEntries[0].completion;
|
|
10650
|
+
if (t.type === "throw")
|
|
10651
|
+
throw t.arg;
|
|
10650
10652
|
return this.rval;
|
|
10651
|
-
}, dispatchException: function dispatchException(
|
|
10653
|
+
}, dispatchException: function dispatchException(e) {
|
|
10652
10654
|
if (this.done)
|
|
10653
|
-
throw
|
|
10654
|
-
var
|
|
10655
|
-
function handle(
|
|
10656
|
-
return
|
|
10657
|
-
}
|
|
10658
|
-
for (var
|
|
10659
|
-
var
|
|
10660
|
-
if (
|
|
10655
|
+
throw e;
|
|
10656
|
+
var r = this;
|
|
10657
|
+
function handle(n, o) {
|
|
10658
|
+
return a.type = "throw", a.arg = e, r.next = n, o && (r.method = "next", r.arg = t), !!o;
|
|
10659
|
+
}
|
|
10660
|
+
for (var o = this.tryEntries.length - 1;o >= 0; --o) {
|
|
10661
|
+
var i = this.tryEntries[o], a = i.completion;
|
|
10662
|
+
if (i.tryLoc === "root")
|
|
10661
10663
|
return handle("end");
|
|
10662
|
-
if (
|
|
10663
|
-
var
|
|
10664
|
-
if (
|
|
10665
|
-
if (this.prev <
|
|
10666
|
-
return handle(
|
|
10667
|
-
if (this.prev <
|
|
10668
|
-
return handle(
|
|
10669
|
-
} else if (
|
|
10670
|
-
if (this.prev <
|
|
10671
|
-
return handle(
|
|
10664
|
+
if (i.tryLoc <= this.prev) {
|
|
10665
|
+
var c = n.call(i, "catchLoc"), u = n.call(i, "finallyLoc");
|
|
10666
|
+
if (c && u) {
|
|
10667
|
+
if (this.prev < i.catchLoc)
|
|
10668
|
+
return handle(i.catchLoc, true);
|
|
10669
|
+
if (this.prev < i.finallyLoc)
|
|
10670
|
+
return handle(i.finallyLoc);
|
|
10671
|
+
} else if (c) {
|
|
10672
|
+
if (this.prev < i.catchLoc)
|
|
10673
|
+
return handle(i.catchLoc, true);
|
|
10672
10674
|
} else {
|
|
10673
|
-
if (!
|
|
10675
|
+
if (!u)
|
|
10674
10676
|
throw Error("try statement without catch or finally");
|
|
10675
|
-
if (this.prev <
|
|
10676
|
-
return handle(
|
|
10677
|
+
if (this.prev < i.finallyLoc)
|
|
10678
|
+
return handle(i.finallyLoc);
|
|
10677
10679
|
}
|
|
10678
10680
|
}
|
|
10679
10681
|
}
|
|
10680
|
-
}, abrupt: function abrupt(
|
|
10681
|
-
for (var
|
|
10682
|
-
var
|
|
10683
|
-
if (
|
|
10684
|
-
var
|
|
10682
|
+
}, abrupt: function abrupt(t, e) {
|
|
10683
|
+
for (var r = this.tryEntries.length - 1;r >= 0; --r) {
|
|
10684
|
+
var o = this.tryEntries[r];
|
|
10685
|
+
if (o.tryLoc <= this.prev && n.call(o, "finallyLoc") && this.prev < o.finallyLoc) {
|
|
10686
|
+
var i = o;
|
|
10685
10687
|
break;
|
|
10686
10688
|
}
|
|
10687
10689
|
}
|
|
10688
|
-
|
|
10689
|
-
var
|
|
10690
|
-
return
|
|
10691
|
-
}, complete: function complete(
|
|
10692
|
-
if (
|
|
10693
|
-
throw
|
|
10694
|
-
return
|
|
10695
|
-
}, finish: function finish(
|
|
10696
|
-
for (var
|
|
10697
|
-
var
|
|
10698
|
-
if (
|
|
10699
|
-
return this.complete(
|
|
10700
|
-
}
|
|
10701
|
-
}, catch: function _catch(
|
|
10702
|
-
for (var
|
|
10703
|
-
var
|
|
10704
|
-
if (
|
|
10705
|
-
var
|
|
10706
|
-
if (
|
|
10707
|
-
var
|
|
10708
|
-
resetTryEntry(
|
|
10690
|
+
i && (t === "break" || t === "continue") && i.tryLoc <= e && e <= i.finallyLoc && (i = null);
|
|
10691
|
+
var a = i ? i.completion : {};
|
|
10692
|
+
return a.type = t, a.arg = e, i ? (this.method = "next", this.next = i.finallyLoc, y) : this.complete(a);
|
|
10693
|
+
}, complete: function complete(t, e) {
|
|
10694
|
+
if (t.type === "throw")
|
|
10695
|
+
throw t.arg;
|
|
10696
|
+
return t.type === "break" || t.type === "continue" ? this.next = t.arg : t.type === "return" ? (this.rval = this.arg = t.arg, this.method = "return", this.next = "end") : t.type === "normal" && e && (this.next = e), y;
|
|
10697
|
+
}, finish: function finish(t) {
|
|
10698
|
+
for (var e = this.tryEntries.length - 1;e >= 0; --e) {
|
|
10699
|
+
var r = this.tryEntries[e];
|
|
10700
|
+
if (r.finallyLoc === t)
|
|
10701
|
+
return this.complete(r.completion, r.afterLoc), resetTryEntry(r), y;
|
|
10702
|
+
}
|
|
10703
|
+
}, catch: function _catch(t) {
|
|
10704
|
+
for (var e = this.tryEntries.length - 1;e >= 0; --e) {
|
|
10705
|
+
var r = this.tryEntries[e];
|
|
10706
|
+
if (r.tryLoc === t) {
|
|
10707
|
+
var n = r.completion;
|
|
10708
|
+
if (n.type === "throw") {
|
|
10709
|
+
var o = n.arg;
|
|
10710
|
+
resetTryEntry(r);
|
|
10709
10711
|
}
|
|
10710
|
-
return
|
|
10712
|
+
return o;
|
|
10711
10713
|
}
|
|
10712
10714
|
}
|
|
10713
10715
|
throw Error("illegal catch attempt");
|
|
10714
|
-
}, delegateYield: function delegateYield(
|
|
10715
|
-
return this.delegate = { iterator: values(
|
|
10716
|
+
}, delegateYield: function delegateYield(e, r, n) {
|
|
10717
|
+
return this.delegate = { iterator: values(e), resultName: r, nextLoc: n }, this.method === "next" && (this.arg = t), y;
|
|
10716
10718
|
} }, e;
|
|
10717
10719
|
}
|
|
10718
10720
|
function asyncGeneratorStep(n, t, e, r, o, a, c) {
|
|
10719
10721
|
try {
|
|
10720
10722
|
var i = n[a](c), u = i.value;
|
|
10721
|
-
} catch (
|
|
10722
|
-
return void e(
|
|
10723
|
+
} catch (n) {
|
|
10724
|
+
return void e(n);
|
|
10723
10725
|
}
|
|
10724
10726
|
i.done ? t(u) : Promise.resolve(u).then(r, o);
|
|
10725
10727
|
}
|
|
@@ -10728,11 +10730,11 @@ var require_md5 = __commonJS((exports) => {
|
|
|
10728
10730
|
var t = this, e = arguments;
|
|
10729
10731
|
return new Promise(function(r, o) {
|
|
10730
10732
|
var a = n.apply(t, e);
|
|
10731
|
-
function _next(
|
|
10732
|
-
asyncGeneratorStep(a, r, o, _next, _throw, "next",
|
|
10733
|
+
function _next(n) {
|
|
10734
|
+
asyncGeneratorStep(a, r, o, _next, _throw, "next", n);
|
|
10733
10735
|
}
|
|
10734
|
-
function _throw(
|
|
10735
|
-
asyncGeneratorStep(a, r, o, _next, _throw, "throw",
|
|
10736
|
+
function _throw(n) {
|
|
10737
|
+
asyncGeneratorStep(a, r, o, _next, _throw, "throw", n);
|
|
10736
10738
|
}
|
|
10737
10739
|
_next(undefined);
|
|
10738
10740
|
});
|
|
@@ -10816,7 +10818,7 @@ var require_md5 = __commonJS((exports) => {
|
|
|
10816
10818
|
});
|
|
10817
10819
|
|
|
10818
10820
|
// ../node_modules/.bun/@novnc+novnc@1.6.0/node_modules/@novnc/novnc/lib/crypto/crypto.js
|
|
10819
|
-
var require_crypto = __commonJS((exports)
|
|
10821
|
+
var require_crypto = __commonJS(function(exports) {
|
|
10820
10822
|
Object.defineProperty(exports, "__esModule", {
|
|
10821
10823
|
value: true
|
|
10822
10824
|
});
|
|
@@ -10828,10 +10830,10 @@ var require_crypto = __commonJS((exports) => {
|
|
|
10828
10830
|
var _md = require_md5();
|
|
10829
10831
|
function _typeof(o) {
|
|
10830
10832
|
"@babel/helpers - typeof";
|
|
10831
|
-
return _typeof = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(
|
|
10832
|
-
return typeof
|
|
10833
|
-
} : function(
|
|
10834
|
-
return
|
|
10833
|
+
return _typeof = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(o) {
|
|
10834
|
+
return typeof o;
|
|
10835
|
+
} : function(o) {
|
|
10836
|
+
return o && typeof Symbol == "function" && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o;
|
|
10835
10837
|
}, _typeof(o);
|
|
10836
10838
|
}
|
|
10837
10839
|
function _classCallCheck(a, n) {
|
|
@@ -10864,8 +10866,8 @@ var require_crypto = __commonJS((exports) => {
|
|
|
10864
10866
|
return (r === "string" ? String : Number)(t);
|
|
10865
10867
|
}
|
|
10866
10868
|
var LegacyCrypto = /* @__PURE__ */ function() {
|
|
10867
|
-
function
|
|
10868
|
-
_classCallCheck(this,
|
|
10869
|
+
function LegacyCrypto() {
|
|
10870
|
+
_classCallCheck(this, LegacyCrypto);
|
|
10869
10871
|
this._algorithms = {
|
|
10870
10872
|
"AES-ECB": _aes.AESECBCipher,
|
|
10871
10873
|
"AES-EAX": _aes.AESEAXCipher,
|
|
@@ -10876,7 +10878,7 @@ var require_crypto = __commonJS((exports) => {
|
|
|
10876
10878
|
MD5: _md.MD5
|
|
10877
10879
|
};
|
|
10878
10880
|
}
|
|
10879
|
-
return _createClass(
|
|
10881
|
+
return _createClass(LegacyCrypto, [{
|
|
10880
10882
|
key: "encrypt",
|
|
10881
10883
|
value: function encrypt(algorithm, key, data) {
|
|
10882
10884
|
if (key.algorithm.name !== algorithm.name) {
|
|
@@ -10956,7 +10958,7 @@ var require_crypto = __commonJS((exports) => {
|
|
|
10956
10958
|
});
|
|
10957
10959
|
|
|
10958
10960
|
// ../node_modules/.bun/@novnc+novnc@1.6.0/node_modules/@novnc/novnc/lib/ra2.js
|
|
10959
|
-
var require_ra2 = __commonJS((exports)
|
|
10961
|
+
var require_ra2 = __commonJS(function(exports) {
|
|
10960
10962
|
Object.defineProperty(exports, "__esModule", {
|
|
10961
10963
|
value: true
|
|
10962
10964
|
});
|
|
@@ -10985,14 +10987,14 @@ var require_ra2 = __commonJS((exports) => {
|
|
|
10985
10987
|
function _isNativeReflectConstruct() {
|
|
10986
10988
|
try {
|
|
10987
10989
|
var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() {}));
|
|
10988
|
-
} catch (
|
|
10989
|
-
return (_isNativeReflectConstruct = function
|
|
10990
|
+
} catch (t) {}
|
|
10991
|
+
return (_isNativeReflectConstruct = function _isNativeReflectConstruct() {
|
|
10990
10992
|
return !!t;
|
|
10991
10993
|
})();
|
|
10992
10994
|
}
|
|
10993
10995
|
function _getPrototypeOf(t) {
|
|
10994
|
-
return _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function(
|
|
10995
|
-
return
|
|
10996
|
+
return _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function(t) {
|
|
10997
|
+
return t.__proto__ || Object.getPrototypeOf(t);
|
|
10996
10998
|
}, _getPrototypeOf(t);
|
|
10997
10999
|
}
|
|
10998
11000
|
function _inherits(t, e) {
|
|
@@ -11001,45 +11003,45 @@ var require_ra2 = __commonJS((exports) => {
|
|
|
11001
11003
|
t.prototype = Object.create(e && e.prototype, { constructor: { value: t, writable: true, configurable: true } }), Object.defineProperty(t, "prototype", { writable: false }), e && _setPrototypeOf(t, e);
|
|
11002
11004
|
}
|
|
11003
11005
|
function _setPrototypeOf(t, e) {
|
|
11004
|
-
return _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function(
|
|
11005
|
-
return
|
|
11006
|
+
return _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function(t, e) {
|
|
11007
|
+
return t.__proto__ = e, t;
|
|
11006
11008
|
}, _setPrototypeOf(t, e);
|
|
11007
11009
|
}
|
|
11008
11010
|
function _typeof(o) {
|
|
11009
11011
|
"@babel/helpers - typeof";
|
|
11010
|
-
return _typeof = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(
|
|
11011
|
-
return typeof
|
|
11012
|
-
} : function(
|
|
11013
|
-
return
|
|
11012
|
+
return _typeof = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(o) {
|
|
11013
|
+
return typeof o;
|
|
11014
|
+
} : function(o) {
|
|
11015
|
+
return o && typeof Symbol == "function" && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o;
|
|
11014
11016
|
}, _typeof(o);
|
|
11015
11017
|
}
|
|
11016
11018
|
function _regeneratorRuntime() {
|
|
11017
11019
|
/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */
|
|
11018
|
-
_regeneratorRuntime = function
|
|
11020
|
+
_regeneratorRuntime = function _regeneratorRuntime() {
|
|
11019
11021
|
return e;
|
|
11020
11022
|
};
|
|
11021
|
-
var t, e = {}, r = Object.prototype, n = r.hasOwnProperty, o = Object.defineProperty || function(
|
|
11022
|
-
|
|
11023
|
+
var t, e = {}, r = Object.prototype, n = r.hasOwnProperty, o = Object.defineProperty || function(t, e, r) {
|
|
11024
|
+
t[e] = r.value;
|
|
11023
11025
|
}, i = typeof Symbol == "function" ? Symbol : {}, a = i.iterator || "@@iterator", c = i.asyncIterator || "@@asyncIterator", u = i.toStringTag || "@@toStringTag";
|
|
11024
|
-
function define(
|
|
11025
|
-
return Object.defineProperty(
|
|
11026
|
+
function define(t, e, r) {
|
|
11027
|
+
return Object.defineProperty(t, e, { value: r, enumerable: true, configurable: true, writable: true }), t[e];
|
|
11026
11028
|
}
|
|
11027
11029
|
try {
|
|
11028
11030
|
define({}, "");
|
|
11029
|
-
} catch (
|
|
11030
|
-
define = function
|
|
11031
|
-
return
|
|
11031
|
+
} catch (t) {
|
|
11032
|
+
define = function define(t, e, r) {
|
|
11033
|
+
return t[e] = r;
|
|
11032
11034
|
};
|
|
11033
11035
|
}
|
|
11034
|
-
function wrap(
|
|
11035
|
-
var
|
|
11036
|
-
return o(
|
|
11036
|
+
function wrap(t, e, r, n) {
|
|
11037
|
+
var i = e && e.prototype instanceof Generator ? e : Generator, a = Object.create(i.prototype), c = new Context(n || []);
|
|
11038
|
+
return o(a, "_invoke", { value: makeInvokeMethod(t, r, c) }), a;
|
|
11037
11039
|
}
|
|
11038
|
-
function tryCatch(
|
|
11040
|
+
function tryCatch(t, e, r) {
|
|
11039
11041
|
try {
|
|
11040
|
-
return { type: "normal", arg:
|
|
11041
|
-
} catch (
|
|
11042
|
-
return { type: "throw", arg:
|
|
11042
|
+
return { type: "normal", arg: t.call(e, r) };
|
|
11043
|
+
} catch (t) {
|
|
11044
|
+
return { type: "throw", arg: t };
|
|
11043
11045
|
}
|
|
11044
11046
|
}
|
|
11045
11047
|
e.wrap = wrap;
|
|
@@ -11054,232 +11056,232 @@ var require_ra2 = __commonJS((exports) => {
|
|
|
11054
11056
|
var d = Object.getPrototypeOf, v = d && d(d(values([])));
|
|
11055
11057
|
v && v !== r && n.call(v, a) && (p = v);
|
|
11056
11058
|
var g = GeneratorFunctionPrototype.prototype = Generator.prototype = Object.create(p);
|
|
11057
|
-
function defineIteratorMethods(
|
|
11058
|
-
["next", "throw", "return"].forEach(function(
|
|
11059
|
-
define(
|
|
11060
|
-
return this._invoke(
|
|
11059
|
+
function defineIteratorMethods(t) {
|
|
11060
|
+
["next", "throw", "return"].forEach(function(e) {
|
|
11061
|
+
define(t, e, function(t) {
|
|
11062
|
+
return this._invoke(e, t);
|
|
11061
11063
|
});
|
|
11062
11064
|
});
|
|
11063
11065
|
}
|
|
11064
|
-
function AsyncIterator(
|
|
11065
|
-
function invoke(
|
|
11066
|
-
var
|
|
11067
|
-
if (
|
|
11068
|
-
var
|
|
11069
|
-
return
|
|
11070
|
-
invoke("next",
|
|
11071
|
-
}, function(
|
|
11072
|
-
invoke("throw",
|
|
11073
|
-
}) :
|
|
11074
|
-
|
|
11075
|
-
}, function(
|
|
11076
|
-
return invoke("throw",
|
|
11066
|
+
function AsyncIterator(t, e) {
|
|
11067
|
+
function invoke(r, o, i, a) {
|
|
11068
|
+
var c = tryCatch(t[r], t, o);
|
|
11069
|
+
if (c.type !== "throw") {
|
|
11070
|
+
var u = c.arg, h = u.value;
|
|
11071
|
+
return h && _typeof(h) == "object" && n.call(h, "__await") ? e.resolve(h.__await).then(function(t) {
|
|
11072
|
+
invoke("next", t, i, a);
|
|
11073
|
+
}, function(t) {
|
|
11074
|
+
invoke("throw", t, i, a);
|
|
11075
|
+
}) : e.resolve(h).then(function(t) {
|
|
11076
|
+
u.value = t, i(u);
|
|
11077
|
+
}, function(t) {
|
|
11078
|
+
return invoke("throw", t, i, a);
|
|
11077
11079
|
});
|
|
11078
11080
|
}
|
|
11079
|
-
|
|
11081
|
+
a(c.arg);
|
|
11080
11082
|
}
|
|
11081
|
-
var
|
|
11082
|
-
o(this, "_invoke", { value: function value(
|
|
11083
|
+
var r;
|
|
11084
|
+
o(this, "_invoke", { value: function value(t, n) {
|
|
11083
11085
|
function callInvokeWithMethodAndArg() {
|
|
11084
|
-
return new
|
|
11085
|
-
invoke(
|
|
11086
|
+
return new e(function(e, r) {
|
|
11087
|
+
invoke(t, n, e, r);
|
|
11086
11088
|
});
|
|
11087
11089
|
}
|
|
11088
|
-
return
|
|
11090
|
+
return r = r ? r.then(callInvokeWithMethodAndArg, callInvokeWithMethodAndArg) : callInvokeWithMethodAndArg();
|
|
11089
11091
|
} });
|
|
11090
11092
|
}
|
|
11091
|
-
function makeInvokeMethod(
|
|
11092
|
-
var
|
|
11093
|
-
return function(
|
|
11094
|
-
if (
|
|
11093
|
+
function makeInvokeMethod(e, r, n) {
|
|
11094
|
+
var o = h;
|
|
11095
|
+
return function(i, a) {
|
|
11096
|
+
if (o === f)
|
|
11095
11097
|
throw Error("Generator is already running");
|
|
11096
|
-
if (
|
|
11097
|
-
if (
|
|
11098
|
-
throw
|
|
11098
|
+
if (o === s) {
|
|
11099
|
+
if (i === "throw")
|
|
11100
|
+
throw a;
|
|
11099
11101
|
return { value: t, done: true };
|
|
11100
11102
|
}
|
|
11101
|
-
for (
|
|
11102
|
-
var
|
|
11103
|
-
if (
|
|
11104
|
-
var
|
|
11105
|
-
if (
|
|
11106
|
-
if (
|
|
11103
|
+
for (n.method = i, n.arg = a;; ) {
|
|
11104
|
+
var c = n.delegate;
|
|
11105
|
+
if (c) {
|
|
11106
|
+
var u = maybeInvokeDelegate(c, n);
|
|
11107
|
+
if (u) {
|
|
11108
|
+
if (u === y)
|
|
11107
11109
|
continue;
|
|
11108
|
-
return
|
|
11110
|
+
return u;
|
|
11109
11111
|
}
|
|
11110
11112
|
}
|
|
11111
|
-
if (
|
|
11112
|
-
|
|
11113
|
-
else if (
|
|
11114
|
-
if (
|
|
11115
|
-
throw
|
|
11116
|
-
|
|
11113
|
+
if (n.method === "next")
|
|
11114
|
+
n.sent = n._sent = n.arg;
|
|
11115
|
+
else if (n.method === "throw") {
|
|
11116
|
+
if (o === h)
|
|
11117
|
+
throw o = s, n.arg;
|
|
11118
|
+
n.dispatchException(n.arg);
|
|
11117
11119
|
} else
|
|
11118
|
-
|
|
11119
|
-
|
|
11120
|
-
var
|
|
11121
|
-
if (
|
|
11122
|
-
if (
|
|
11120
|
+
n.method === "return" && n.abrupt("return", n.arg);
|
|
11121
|
+
o = f;
|
|
11122
|
+
var p = tryCatch(e, r, n);
|
|
11123
|
+
if (p.type === "normal") {
|
|
11124
|
+
if (o = n.done ? s : l, p.arg === y)
|
|
11123
11125
|
continue;
|
|
11124
|
-
return { value:
|
|
11126
|
+
return { value: p.arg, done: n.done };
|
|
11125
11127
|
}
|
|
11126
|
-
|
|
11128
|
+
p.type === "throw" && (o = s, n.method = "throw", n.arg = p.arg);
|
|
11127
11129
|
}
|
|
11128
11130
|
};
|
|
11129
11131
|
}
|
|
11130
|
-
function maybeInvokeDelegate(
|
|
11131
|
-
var
|
|
11132
|
-
if (
|
|
11133
|
-
return
|
|
11134
|
-
var
|
|
11135
|
-
if (
|
|
11136
|
-
return
|
|
11137
|
-
var
|
|
11138
|
-
return
|
|
11139
|
-
}
|
|
11140
|
-
function pushTryEntry(
|
|
11141
|
-
var
|
|
11142
|
-
1 in
|
|
11143
|
-
}
|
|
11144
|
-
function resetTryEntry(
|
|
11145
|
-
var
|
|
11146
|
-
|
|
11147
|
-
}
|
|
11148
|
-
function Context(
|
|
11149
|
-
this.tryEntries = [{ tryLoc: "root" }],
|
|
11150
|
-
}
|
|
11151
|
-
function values(
|
|
11152
|
-
if (
|
|
11153
|
-
var
|
|
11154
|
-
if (
|
|
11155
|
-
return
|
|
11156
|
-
if (typeof
|
|
11157
|
-
return
|
|
11158
|
-
if (!isNaN(
|
|
11159
|
-
var
|
|
11160
|
-
for (;++
|
|
11161
|
-
if (n.call(
|
|
11162
|
-
return next.value =
|
|
11132
|
+
function maybeInvokeDelegate(e, r) {
|
|
11133
|
+
var n = r.method, o = e.iterator[n];
|
|
11134
|
+
if (o === t)
|
|
11135
|
+
return r.delegate = null, n === "throw" && e.iterator["return"] && (r.method = "return", r.arg = t, maybeInvokeDelegate(e, r), r.method === "throw") || n !== "return" && (r.method = "throw", r.arg = new TypeError("The iterator does not provide a '" + n + "' method")), y;
|
|
11136
|
+
var i = tryCatch(o, e.iterator, r.arg);
|
|
11137
|
+
if (i.type === "throw")
|
|
11138
|
+
return r.method = "throw", r.arg = i.arg, r.delegate = null, y;
|
|
11139
|
+
var a = i.arg;
|
|
11140
|
+
return a ? a.done ? (r[e.resultName] = a.value, r.next = e.nextLoc, r.method !== "return" && (r.method = "next", r.arg = t), r.delegate = null, y) : a : (r.method = "throw", r.arg = new TypeError("iterator result is not an object"), r.delegate = null, y);
|
|
11141
|
+
}
|
|
11142
|
+
function pushTryEntry(t) {
|
|
11143
|
+
var e = { tryLoc: t[0] };
|
|
11144
|
+
1 in t && (e.catchLoc = t[1]), 2 in t && (e.finallyLoc = t[2], e.afterLoc = t[3]), this.tryEntries.push(e);
|
|
11145
|
+
}
|
|
11146
|
+
function resetTryEntry(t) {
|
|
11147
|
+
var e = t.completion || {};
|
|
11148
|
+
e.type = "normal", delete e.arg, t.completion = e;
|
|
11149
|
+
}
|
|
11150
|
+
function Context(t) {
|
|
11151
|
+
this.tryEntries = [{ tryLoc: "root" }], t.forEach(pushTryEntry, this), this.reset(true);
|
|
11152
|
+
}
|
|
11153
|
+
function values(e) {
|
|
11154
|
+
if (e || e === "") {
|
|
11155
|
+
var r = e[a];
|
|
11156
|
+
if (r)
|
|
11157
|
+
return r.call(e);
|
|
11158
|
+
if (typeof e.next == "function")
|
|
11159
|
+
return e;
|
|
11160
|
+
if (!isNaN(e.length)) {
|
|
11161
|
+
var o = -1, i = function next() {
|
|
11162
|
+
for (;++o < e.length; )
|
|
11163
|
+
if (n.call(e, o))
|
|
11164
|
+
return next.value = e[o], next.done = false, next;
|
|
11163
11165
|
return next.value = t, next.done = true, next;
|
|
11164
11166
|
};
|
|
11165
|
-
return
|
|
11167
|
+
return i.next = i;
|
|
11166
11168
|
}
|
|
11167
11169
|
}
|
|
11168
|
-
throw new TypeError(_typeof(
|
|
11170
|
+
throw new TypeError(_typeof(e) + " is not iterable");
|
|
11169
11171
|
}
|
|
11170
|
-
return GeneratorFunction.prototype = GeneratorFunctionPrototype, o(g, "constructor", { value: GeneratorFunctionPrototype, configurable: true }), o(GeneratorFunctionPrototype, "constructor", { value: GeneratorFunction, configurable: true }), GeneratorFunction.displayName = define(GeneratorFunctionPrototype, u, "GeneratorFunction"), e.isGeneratorFunction = function(
|
|
11171
|
-
var
|
|
11172
|
-
return !!
|
|
11173
|
-
}, e.mark = function(
|
|
11174
|
-
return Object.setPrototypeOf ? Object.setPrototypeOf(
|
|
11175
|
-
}, e.awrap = function(
|
|
11176
|
-
return { __await:
|
|
11172
|
+
return GeneratorFunction.prototype = GeneratorFunctionPrototype, o(g, "constructor", { value: GeneratorFunctionPrototype, configurable: true }), o(GeneratorFunctionPrototype, "constructor", { value: GeneratorFunction, configurable: true }), GeneratorFunction.displayName = define(GeneratorFunctionPrototype, u, "GeneratorFunction"), e.isGeneratorFunction = function(t) {
|
|
11173
|
+
var e = typeof t == "function" && t.constructor;
|
|
11174
|
+
return !!e && (e === GeneratorFunction || (e.displayName || e.name) === "GeneratorFunction");
|
|
11175
|
+
}, e.mark = function(t) {
|
|
11176
|
+
return Object.setPrototypeOf ? Object.setPrototypeOf(t, GeneratorFunctionPrototype) : (t.__proto__ = GeneratorFunctionPrototype, define(t, u, "GeneratorFunction")), t.prototype = Object.create(g), t;
|
|
11177
|
+
}, e.awrap = function(t) {
|
|
11178
|
+
return { __await: t };
|
|
11177
11179
|
}, defineIteratorMethods(AsyncIterator.prototype), define(AsyncIterator.prototype, c, function() {
|
|
11178
11180
|
return this;
|
|
11179
|
-
}), e.AsyncIterator = AsyncIterator, e.async = function(
|
|
11180
|
-
|
|
11181
|
-
var
|
|
11182
|
-
return e.isGeneratorFunction(
|
|
11183
|
-
return
|
|
11181
|
+
}), e.AsyncIterator = AsyncIterator, e.async = function(t, r, n, o, i) {
|
|
11182
|
+
i === undefined && (i = Promise);
|
|
11183
|
+
var a = new AsyncIterator(wrap(t, r, n, o), i);
|
|
11184
|
+
return e.isGeneratorFunction(r) ? a : a.next().then(function(t) {
|
|
11185
|
+
return t.done ? t.value : a.next();
|
|
11184
11186
|
});
|
|
11185
11187
|
}, defineIteratorMethods(g), define(g, u, "Generator"), define(g, a, function() {
|
|
11186
11188
|
return this;
|
|
11187
11189
|
}), define(g, "toString", function() {
|
|
11188
11190
|
return "[object Generator]";
|
|
11189
|
-
}), e.keys = function(
|
|
11190
|
-
var
|
|
11191
|
-
for (var
|
|
11192
|
-
|
|
11193
|
-
return
|
|
11194
|
-
for (;
|
|
11195
|
-
var
|
|
11196
|
-
if (
|
|
11197
|
-
return next.value =
|
|
11191
|
+
}), e.keys = function(t) {
|
|
11192
|
+
var e = Object(t), r = [];
|
|
11193
|
+
for (var n in e)
|
|
11194
|
+
r.push(n);
|
|
11195
|
+
return r.reverse(), function next() {
|
|
11196
|
+
for (;r.length; ) {
|
|
11197
|
+
var t = r.pop();
|
|
11198
|
+
if (t in e)
|
|
11199
|
+
return next.value = t, next.done = false, next;
|
|
11198
11200
|
}
|
|
11199
11201
|
return next.done = true, next;
|
|
11200
11202
|
};
|
|
11201
|
-
}, e.values = values, Context.prototype = { constructor: Context, reset: function reset(
|
|
11202
|
-
if (this.prev = 0, this.next = 0, this.sent = this._sent = t, this.done = false, this.delegate = null, this.method = "next", this.arg = t, this.tryEntries.forEach(resetTryEntry), !
|
|
11203
|
-
for (var
|
|
11204
|
-
|
|
11203
|
+
}, e.values = values, Context.prototype = { constructor: Context, reset: function reset(e) {
|
|
11204
|
+
if (this.prev = 0, this.next = 0, this.sent = this._sent = t, this.done = false, this.delegate = null, this.method = "next", this.arg = t, this.tryEntries.forEach(resetTryEntry), !e)
|
|
11205
|
+
for (var r in this)
|
|
11206
|
+
r.charAt(0) === "t" && n.call(this, r) && !isNaN(+r.slice(1)) && (this[r] = t);
|
|
11205
11207
|
}, stop: function stop() {
|
|
11206
11208
|
this.done = true;
|
|
11207
|
-
var
|
|
11208
|
-
if (
|
|
11209
|
-
throw
|
|
11209
|
+
var t = this.tryEntries[0].completion;
|
|
11210
|
+
if (t.type === "throw")
|
|
11211
|
+
throw t.arg;
|
|
11210
11212
|
return this.rval;
|
|
11211
|
-
}, dispatchException: function dispatchException(
|
|
11213
|
+
}, dispatchException: function dispatchException(e) {
|
|
11212
11214
|
if (this.done)
|
|
11213
|
-
throw
|
|
11214
|
-
var
|
|
11215
|
-
function handle(
|
|
11216
|
-
return
|
|
11217
|
-
}
|
|
11218
|
-
for (var
|
|
11219
|
-
var
|
|
11220
|
-
if (
|
|
11215
|
+
throw e;
|
|
11216
|
+
var r = this;
|
|
11217
|
+
function handle(n, o) {
|
|
11218
|
+
return a.type = "throw", a.arg = e, r.next = n, o && (r.method = "next", r.arg = t), !!o;
|
|
11219
|
+
}
|
|
11220
|
+
for (var o = this.tryEntries.length - 1;o >= 0; --o) {
|
|
11221
|
+
var i = this.tryEntries[o], a = i.completion;
|
|
11222
|
+
if (i.tryLoc === "root")
|
|
11221
11223
|
return handle("end");
|
|
11222
|
-
if (
|
|
11223
|
-
var
|
|
11224
|
-
if (
|
|
11225
|
-
if (this.prev <
|
|
11226
|
-
return handle(
|
|
11227
|
-
if (this.prev <
|
|
11228
|
-
return handle(
|
|
11229
|
-
} else if (
|
|
11230
|
-
if (this.prev <
|
|
11231
|
-
return handle(
|
|
11224
|
+
if (i.tryLoc <= this.prev) {
|
|
11225
|
+
var c = n.call(i, "catchLoc"), u = n.call(i, "finallyLoc");
|
|
11226
|
+
if (c && u) {
|
|
11227
|
+
if (this.prev < i.catchLoc)
|
|
11228
|
+
return handle(i.catchLoc, true);
|
|
11229
|
+
if (this.prev < i.finallyLoc)
|
|
11230
|
+
return handle(i.finallyLoc);
|
|
11231
|
+
} else if (c) {
|
|
11232
|
+
if (this.prev < i.catchLoc)
|
|
11233
|
+
return handle(i.catchLoc, true);
|
|
11232
11234
|
} else {
|
|
11233
|
-
if (!
|
|
11235
|
+
if (!u)
|
|
11234
11236
|
throw Error("try statement without catch or finally");
|
|
11235
|
-
if (this.prev <
|
|
11236
|
-
return handle(
|
|
11237
|
+
if (this.prev < i.finallyLoc)
|
|
11238
|
+
return handle(i.finallyLoc);
|
|
11237
11239
|
}
|
|
11238
11240
|
}
|
|
11239
11241
|
}
|
|
11240
|
-
}, abrupt: function abrupt(
|
|
11241
|
-
for (var
|
|
11242
|
-
var
|
|
11243
|
-
if (
|
|
11244
|
-
var
|
|
11242
|
+
}, abrupt: function abrupt(t, e) {
|
|
11243
|
+
for (var r = this.tryEntries.length - 1;r >= 0; --r) {
|
|
11244
|
+
var o = this.tryEntries[r];
|
|
11245
|
+
if (o.tryLoc <= this.prev && n.call(o, "finallyLoc") && this.prev < o.finallyLoc) {
|
|
11246
|
+
var i = o;
|
|
11245
11247
|
break;
|
|
11246
11248
|
}
|
|
11247
11249
|
}
|
|
11248
|
-
|
|
11249
|
-
var
|
|
11250
|
-
return
|
|
11251
|
-
}, complete: function complete(
|
|
11252
|
-
if (
|
|
11253
|
-
throw
|
|
11254
|
-
return
|
|
11255
|
-
}, finish: function finish(
|
|
11256
|
-
for (var
|
|
11257
|
-
var
|
|
11258
|
-
if (
|
|
11259
|
-
return this.complete(
|
|
11260
|
-
}
|
|
11261
|
-
}, catch: function _catch(
|
|
11262
|
-
for (var
|
|
11263
|
-
var
|
|
11264
|
-
if (
|
|
11265
|
-
var
|
|
11266
|
-
if (
|
|
11267
|
-
var
|
|
11268
|
-
resetTryEntry(
|
|
11250
|
+
i && (t === "break" || t === "continue") && i.tryLoc <= e && e <= i.finallyLoc && (i = null);
|
|
11251
|
+
var a = i ? i.completion : {};
|
|
11252
|
+
return a.type = t, a.arg = e, i ? (this.method = "next", this.next = i.finallyLoc, y) : this.complete(a);
|
|
11253
|
+
}, complete: function complete(t, e) {
|
|
11254
|
+
if (t.type === "throw")
|
|
11255
|
+
throw t.arg;
|
|
11256
|
+
return t.type === "break" || t.type === "continue" ? this.next = t.arg : t.type === "return" ? (this.rval = this.arg = t.arg, this.method = "return", this.next = "end") : t.type === "normal" && e && (this.next = e), y;
|
|
11257
|
+
}, finish: function finish(t) {
|
|
11258
|
+
for (var e = this.tryEntries.length - 1;e >= 0; --e) {
|
|
11259
|
+
var r = this.tryEntries[e];
|
|
11260
|
+
if (r.finallyLoc === t)
|
|
11261
|
+
return this.complete(r.completion, r.afterLoc), resetTryEntry(r), y;
|
|
11262
|
+
}
|
|
11263
|
+
}, catch: function _catch(t) {
|
|
11264
|
+
for (var e = this.tryEntries.length - 1;e >= 0; --e) {
|
|
11265
|
+
var r = this.tryEntries[e];
|
|
11266
|
+
if (r.tryLoc === t) {
|
|
11267
|
+
var n = r.completion;
|
|
11268
|
+
if (n.type === "throw") {
|
|
11269
|
+
var o = n.arg;
|
|
11270
|
+
resetTryEntry(r);
|
|
11269
11271
|
}
|
|
11270
|
-
return
|
|
11272
|
+
return o;
|
|
11271
11273
|
}
|
|
11272
11274
|
}
|
|
11273
11275
|
throw Error("illegal catch attempt");
|
|
11274
|
-
}, delegateYield: function delegateYield(
|
|
11275
|
-
return this.delegate = { iterator: values(
|
|
11276
|
+
}, delegateYield: function delegateYield(e, r, n) {
|
|
11277
|
+
return this.delegate = { iterator: values(e), resultName: r, nextLoc: n }, this.method === "next" && (this.arg = t), y;
|
|
11276
11278
|
} }, e;
|
|
11277
11279
|
}
|
|
11278
11280
|
function asyncGeneratorStep(n, t, e, r, o, a, c) {
|
|
11279
11281
|
try {
|
|
11280
11282
|
var i = n[a](c), u = i.value;
|
|
11281
|
-
} catch (
|
|
11282
|
-
return void e(
|
|
11283
|
+
} catch (n) {
|
|
11284
|
+
return void e(n);
|
|
11283
11285
|
}
|
|
11284
11286
|
i.done ? t(u) : Promise.resolve(u).then(r, o);
|
|
11285
11287
|
}
|
|
@@ -11288,11 +11290,11 @@ var require_ra2 = __commonJS((exports) => {
|
|
|
11288
11290
|
var t = this, e = arguments;
|
|
11289
11291
|
return new Promise(function(r, o) {
|
|
11290
11292
|
var a = n.apply(t, e);
|
|
11291
|
-
function _next(
|
|
11292
|
-
asyncGeneratorStep(a, r, o, _next, _throw, "next",
|
|
11293
|
+
function _next(n) {
|
|
11294
|
+
asyncGeneratorStep(a, r, o, _next, _throw, "next", n);
|
|
11293
11295
|
}
|
|
11294
|
-
function _throw(
|
|
11295
|
-
asyncGeneratorStep(a, r, o, _next, _throw, "throw",
|
|
11296
|
+
function _throw(n) {
|
|
11297
|
+
asyncGeneratorStep(a, r, o, _next, _throw, "throw", n);
|
|
11296
11298
|
}
|
|
11297
11299
|
_next(undefined);
|
|
11298
11300
|
});
|
|
@@ -11328,12 +11330,12 @@ var require_ra2 = __commonJS((exports) => {
|
|
|
11328
11330
|
return (r === "string" ? String : Number)(t);
|
|
11329
11331
|
}
|
|
11330
11332
|
var RA2Cipher = /* @__PURE__ */ function() {
|
|
11331
|
-
function
|
|
11332
|
-
_classCallCheck(this,
|
|
11333
|
+
function RA2Cipher() {
|
|
11334
|
+
_classCallCheck(this, RA2Cipher);
|
|
11333
11335
|
this._cipher = null;
|
|
11334
11336
|
this._counter = new Uint8Array(16);
|
|
11335
11337
|
}
|
|
11336
|
-
return _createClass(
|
|
11338
|
+
return _createClass(RA2Cipher, [{
|
|
11337
11339
|
key: "setKey",
|
|
11338
11340
|
value: function() {
|
|
11339
11341
|
var _setKey = _asyncToGenerator(/* @__PURE__ */ _regeneratorRuntime().mark(function _callee(key) {
|
|
@@ -11428,10 +11430,10 @@ var require_ra2 = __commonJS((exports) => {
|
|
|
11428
11430
|
}]);
|
|
11429
11431
|
}();
|
|
11430
11432
|
var RSAAESAuthenticationState = exports.default = /* @__PURE__ */ function(_EventTargetMixin) {
|
|
11431
|
-
function
|
|
11433
|
+
function RSAAESAuthenticationState(sock, getCredentials) {
|
|
11432
11434
|
var _this;
|
|
11433
|
-
_classCallCheck(this,
|
|
11434
|
-
_this = _callSuper(this,
|
|
11435
|
+
_classCallCheck(this, RSAAESAuthenticationState);
|
|
11436
|
+
_this = _callSuper(this, RSAAESAuthenticationState);
|
|
11435
11437
|
_this._hasStarted = false;
|
|
11436
11438
|
_this._checkSock = null;
|
|
11437
11439
|
_this._checkCredentials = null;
|
|
@@ -11443,13 +11445,13 @@ var require_ra2 = __commonJS((exports) => {
|
|
|
11443
11445
|
_this._getCredentials = getCredentials;
|
|
11444
11446
|
return _this;
|
|
11445
11447
|
}
|
|
11446
|
-
_inherits(
|
|
11447
|
-
return _createClass(
|
|
11448
|
+
_inherits(RSAAESAuthenticationState, _EventTargetMixin);
|
|
11449
|
+
return _createClass(RSAAESAuthenticationState, [{
|
|
11448
11450
|
key: "_waitSockAsync",
|
|
11449
11451
|
value: function _waitSockAsync(len) {
|
|
11450
11452
|
var _this2 = this;
|
|
11451
11453
|
return new Promise(function(resolve, reject) {
|
|
11452
|
-
var hasData = function
|
|
11454
|
+
var hasData = function hasData() {
|
|
11453
11455
|
return !_this2._sock.rQwait("RA2", len);
|
|
11454
11456
|
};
|
|
11455
11457
|
if (hasData()) {
|
|
@@ -11479,7 +11481,7 @@ var require_ra2 = __commonJS((exports) => {
|
|
|
11479
11481
|
key: "_waitCredentialsAsync",
|
|
11480
11482
|
value: function _waitCredentialsAsync(subtype) {
|
|
11481
11483
|
var _this4 = this;
|
|
11482
|
-
var hasCredentials = function
|
|
11484
|
+
var hasCredentials = function hasCredentials() {
|
|
11483
11485
|
if (subtype === 1 && _this4._getCredentials().username !== undefined && _this4._getCredentials().password !== undefined) {
|
|
11484
11486
|
return true;
|
|
11485
11487
|
} else if (subtype === 2 && _this4._getCredentials().password !== undefined) {
|
|
@@ -11835,17 +11837,17 @@ var require_ra2 = __commonJS((exports) => {
|
|
|
11835
11837
|
});
|
|
11836
11838
|
|
|
11837
11839
|
// ../node_modules/.bun/@novnc+novnc@1.6.0/node_modules/@novnc/novnc/lib/decoders/raw.js
|
|
11838
|
-
var require_raw = __commonJS((exports)
|
|
11840
|
+
var require_raw = __commonJS(function(exports) {
|
|
11839
11841
|
Object.defineProperty(exports, "__esModule", {
|
|
11840
11842
|
value: true
|
|
11841
11843
|
});
|
|
11842
11844
|
exports.default = undefined;
|
|
11843
11845
|
function _typeof(o) {
|
|
11844
11846
|
"@babel/helpers - typeof";
|
|
11845
|
-
return _typeof = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(
|
|
11846
|
-
return typeof
|
|
11847
|
-
} : function(
|
|
11848
|
-
return
|
|
11847
|
+
return _typeof = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(o) {
|
|
11848
|
+
return typeof o;
|
|
11849
|
+
} : function(o) {
|
|
11850
|
+
return o && typeof Symbol == "function" && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o;
|
|
11849
11851
|
}, _typeof(o);
|
|
11850
11852
|
}
|
|
11851
11853
|
function _classCallCheck(a, n) {
|
|
@@ -11878,11 +11880,11 @@ var require_raw = __commonJS((exports) => {
|
|
|
11878
11880
|
return (r === "string" ? String : Number)(t);
|
|
11879
11881
|
}
|
|
11880
11882
|
var RawDecoder = exports.default = /* @__PURE__ */ function() {
|
|
11881
|
-
function
|
|
11882
|
-
_classCallCheck(this,
|
|
11883
|
+
function RawDecoder() {
|
|
11884
|
+
_classCallCheck(this, RawDecoder);
|
|
11883
11885
|
this._lines = 0;
|
|
11884
11886
|
}
|
|
11885
|
-
return _createClass(
|
|
11887
|
+
return _createClass(RawDecoder, [{
|
|
11886
11888
|
key: "decodeRect",
|
|
11887
11889
|
value: function decodeRect(x, y, width, height, sock, display, depth) {
|
|
11888
11890
|
if (width === 0 || height === 0) {
|
|
@@ -11922,17 +11924,17 @@ var require_raw = __commonJS((exports) => {
|
|
|
11922
11924
|
});
|
|
11923
11925
|
|
|
11924
11926
|
// ../node_modules/.bun/@novnc+novnc@1.6.0/node_modules/@novnc/novnc/lib/decoders/copyrect.js
|
|
11925
|
-
var require_copyrect = __commonJS((exports)
|
|
11927
|
+
var require_copyrect = __commonJS(function(exports) {
|
|
11926
11928
|
Object.defineProperty(exports, "__esModule", {
|
|
11927
11929
|
value: true
|
|
11928
11930
|
});
|
|
11929
11931
|
exports.default = undefined;
|
|
11930
11932
|
function _typeof(o) {
|
|
11931
11933
|
"@babel/helpers - typeof";
|
|
11932
|
-
return _typeof = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(
|
|
11933
|
-
return typeof
|
|
11934
|
-
} : function(
|
|
11935
|
-
return
|
|
11934
|
+
return _typeof = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(o) {
|
|
11935
|
+
return typeof o;
|
|
11936
|
+
} : function(o) {
|
|
11937
|
+
return o && typeof Symbol == "function" && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o;
|
|
11936
11938
|
}, _typeof(o);
|
|
11937
11939
|
}
|
|
11938
11940
|
function _classCallCheck(a, n) {
|
|
@@ -11965,10 +11967,10 @@ var require_copyrect = __commonJS((exports) => {
|
|
|
11965
11967
|
return (r === "string" ? String : Number)(t);
|
|
11966
11968
|
}
|
|
11967
11969
|
var CopyRectDecoder = exports.default = /* @__PURE__ */ function() {
|
|
11968
|
-
function
|
|
11969
|
-
_classCallCheck(this,
|
|
11970
|
+
function CopyRectDecoder() {
|
|
11971
|
+
_classCallCheck(this, CopyRectDecoder);
|
|
11970
11972
|
}
|
|
11971
|
-
return _createClass(
|
|
11973
|
+
return _createClass(CopyRectDecoder, [{
|
|
11972
11974
|
key: "decodeRect",
|
|
11973
11975
|
value: function decodeRect(x, y, width, height, sock, display, depth) {
|
|
11974
11976
|
if (sock.rQwait("COPYRECT", 4)) {
|
|
@@ -11987,17 +11989,17 @@ var require_copyrect = __commonJS((exports) => {
|
|
|
11987
11989
|
});
|
|
11988
11990
|
|
|
11989
11991
|
// ../node_modules/.bun/@novnc+novnc@1.6.0/node_modules/@novnc/novnc/lib/decoders/rre.js
|
|
11990
|
-
var require_rre = __commonJS((exports)
|
|
11992
|
+
var require_rre = __commonJS(function(exports) {
|
|
11991
11993
|
Object.defineProperty(exports, "__esModule", {
|
|
11992
11994
|
value: true
|
|
11993
11995
|
});
|
|
11994
11996
|
exports.default = undefined;
|
|
11995
11997
|
function _typeof(o) {
|
|
11996
11998
|
"@babel/helpers - typeof";
|
|
11997
|
-
return _typeof = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(
|
|
11998
|
-
return typeof
|
|
11999
|
-
} : function(
|
|
12000
|
-
return
|
|
11999
|
+
return _typeof = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(o) {
|
|
12000
|
+
return typeof o;
|
|
12001
|
+
} : function(o) {
|
|
12002
|
+
return o && typeof Symbol == "function" && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o;
|
|
12001
12003
|
}, _typeof(o);
|
|
12002
12004
|
}
|
|
12003
12005
|
function _classCallCheck(a, n) {
|
|
@@ -12030,11 +12032,11 @@ var require_rre = __commonJS((exports) => {
|
|
|
12030
12032
|
return (r === "string" ? String : Number)(t);
|
|
12031
12033
|
}
|
|
12032
12034
|
var RREDecoder = exports.default = /* @__PURE__ */ function() {
|
|
12033
|
-
function
|
|
12034
|
-
_classCallCheck(this,
|
|
12035
|
+
function RREDecoder() {
|
|
12036
|
+
_classCallCheck(this, RREDecoder);
|
|
12035
12037
|
this._subrects = 0;
|
|
12036
12038
|
}
|
|
12037
|
-
return _createClass(
|
|
12039
|
+
return _createClass(RREDecoder, [{
|
|
12038
12040
|
key: "decodeRect",
|
|
12039
12041
|
value: function decodeRect(x, y, width, height, sock, display, depth) {
|
|
12040
12042
|
if (this._subrects === 0) {
|
|
@@ -12064,7 +12066,7 @@ var require_rre = __commonJS((exports) => {
|
|
|
12064
12066
|
});
|
|
12065
12067
|
|
|
12066
12068
|
// ../node_modules/.bun/@novnc+novnc@1.6.0/node_modules/@novnc/novnc/lib/decoders/hextile.js
|
|
12067
|
-
var require_hextile = __commonJS((exports)
|
|
12069
|
+
var require_hextile = __commonJS(function(exports) {
|
|
12068
12070
|
Object.defineProperty(exports, "__esModule", {
|
|
12069
12071
|
value: true
|
|
12070
12072
|
});
|
|
@@ -12074,8 +12076,8 @@ var require_hextile = __commonJS((exports) => {
|
|
|
12074
12076
|
if (typeof WeakMap != "function")
|
|
12075
12077
|
return null;
|
|
12076
12078
|
var r = new WeakMap, t = new WeakMap;
|
|
12077
|
-
return (_getRequireWildcardCache = function
|
|
12078
|
-
return
|
|
12079
|
+
return (_getRequireWildcardCache = function _getRequireWildcardCache(e) {
|
|
12080
|
+
return e ? t : r;
|
|
12079
12081
|
})(e);
|
|
12080
12082
|
}
|
|
12081
12083
|
function _interopRequireWildcard(e, r) {
|
|
@@ -12096,10 +12098,10 @@ var require_hextile = __commonJS((exports) => {
|
|
|
12096
12098
|
}
|
|
12097
12099
|
function _typeof(o) {
|
|
12098
12100
|
"@babel/helpers - typeof";
|
|
12099
|
-
return _typeof = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(
|
|
12100
|
-
return typeof
|
|
12101
|
-
} : function(
|
|
12102
|
-
return
|
|
12101
|
+
return _typeof = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(o) {
|
|
12102
|
+
return typeof o;
|
|
12103
|
+
} : function(o) {
|
|
12104
|
+
return o && typeof Symbol == "function" && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o;
|
|
12103
12105
|
}, _typeof(o);
|
|
12104
12106
|
}
|
|
12105
12107
|
function _classCallCheck(a, n) {
|
|
@@ -12132,13 +12134,13 @@ var require_hextile = __commonJS((exports) => {
|
|
|
12132
12134
|
return (r === "string" ? String : Number)(t);
|
|
12133
12135
|
}
|
|
12134
12136
|
var HextileDecoder = exports.default = /* @__PURE__ */ function() {
|
|
12135
|
-
function
|
|
12136
|
-
_classCallCheck(this,
|
|
12137
|
+
function HextileDecoder() {
|
|
12138
|
+
_classCallCheck(this, HextileDecoder);
|
|
12137
12139
|
this._tiles = 0;
|
|
12138
12140
|
this._lastsubencoding = 0;
|
|
12139
12141
|
this._tileBuffer = new Uint8Array(16 * 16 * 4);
|
|
12140
12142
|
}
|
|
12141
|
-
return _createClass(
|
|
12143
|
+
return _createClass(HextileDecoder, [{
|
|
12142
12144
|
key: "decodeRect",
|
|
12143
12145
|
value: function decodeRect(x, y, width, height, sock, display, depth) {
|
|
12144
12146
|
if (this._tiles === 0) {
|
|
@@ -12283,7 +12285,7 @@ var require_hextile = __commonJS((exports) => {
|
|
|
12283
12285
|
});
|
|
12284
12286
|
|
|
12285
12287
|
// ../node_modules/.bun/@novnc+novnc@1.6.0/node_modules/@novnc/novnc/lib/decoders/zlib.js
|
|
12286
|
-
var require_zlib = __commonJS((exports)
|
|
12288
|
+
var require_zlib = __commonJS(function(exports) {
|
|
12287
12289
|
Object.defineProperty(exports, "__esModule", {
|
|
12288
12290
|
value: true
|
|
12289
12291
|
});
|
|
@@ -12294,10 +12296,10 @@ var require_zlib = __commonJS((exports) => {
|
|
|
12294
12296
|
}
|
|
12295
12297
|
function _typeof(o) {
|
|
12296
12298
|
"@babel/helpers - typeof";
|
|
12297
|
-
return _typeof = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(
|
|
12298
|
-
return typeof
|
|
12299
|
-
} : function(
|
|
12300
|
-
return
|
|
12299
|
+
return _typeof = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(o) {
|
|
12300
|
+
return typeof o;
|
|
12301
|
+
} : function(o) {
|
|
12302
|
+
return o && typeof Symbol == "function" && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o;
|
|
12301
12303
|
}, _typeof(o);
|
|
12302
12304
|
}
|
|
12303
12305
|
function _classCallCheck(a, n) {
|
|
@@ -12330,12 +12332,12 @@ var require_zlib = __commonJS((exports) => {
|
|
|
12330
12332
|
return (r === "string" ? String : Number)(t);
|
|
12331
12333
|
}
|
|
12332
12334
|
var ZlibDecoder = exports.default = /* @__PURE__ */ function() {
|
|
12333
|
-
function
|
|
12334
|
-
_classCallCheck(this,
|
|
12335
|
+
function ZlibDecoder() {
|
|
12336
|
+
_classCallCheck(this, ZlibDecoder);
|
|
12335
12337
|
this._zlib = new _inflator["default"];
|
|
12336
12338
|
this._length = 0;
|
|
12337
12339
|
}
|
|
12338
|
-
return _createClass(
|
|
12340
|
+
return _createClass(ZlibDecoder, [{
|
|
12339
12341
|
key: "decodeRect",
|
|
12340
12342
|
value: function decodeRect(x, y, width, height, sock, display, depth) {
|
|
12341
12343
|
if (width === 0 || height === 0) {
|
|
@@ -12366,7 +12368,7 @@ var require_zlib = __commonJS((exports) => {
|
|
|
12366
12368
|
});
|
|
12367
12369
|
|
|
12368
12370
|
// ../node_modules/.bun/@novnc+novnc@1.6.0/node_modules/@novnc/novnc/lib/decoders/tight.js
|
|
12369
|
-
var require_tight = __commonJS((exports)
|
|
12371
|
+
var require_tight = __commonJS(function(exports) {
|
|
12370
12372
|
Object.defineProperty(exports, "__esModule", {
|
|
12371
12373
|
value: true
|
|
12372
12374
|
});
|
|
@@ -12380,8 +12382,8 @@ var require_tight = __commonJS((exports) => {
|
|
|
12380
12382
|
if (typeof WeakMap != "function")
|
|
12381
12383
|
return null;
|
|
12382
12384
|
var r = new WeakMap, t = new WeakMap;
|
|
12383
|
-
return (_getRequireWildcardCache = function
|
|
12384
|
-
return
|
|
12385
|
+
return (_getRequireWildcardCache = function _getRequireWildcardCache(e) {
|
|
12386
|
+
return e ? t : r;
|
|
12385
12387
|
})(e);
|
|
12386
12388
|
}
|
|
12387
12389
|
function _interopRequireWildcard(e, r) {
|
|
@@ -12402,10 +12404,10 @@ var require_tight = __commonJS((exports) => {
|
|
|
12402
12404
|
}
|
|
12403
12405
|
function _typeof(o) {
|
|
12404
12406
|
"@babel/helpers - typeof";
|
|
12405
|
-
return _typeof = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(
|
|
12406
|
-
return typeof
|
|
12407
|
-
} : function(
|
|
12408
|
-
return
|
|
12407
|
+
return _typeof = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(o) {
|
|
12408
|
+
return typeof o;
|
|
12409
|
+
} : function(o) {
|
|
12410
|
+
return o && typeof Symbol == "function" && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o;
|
|
12409
12411
|
}, _typeof(o);
|
|
12410
12412
|
}
|
|
12411
12413
|
function _classCallCheck(a, n) {
|
|
@@ -12438,8 +12440,8 @@ var require_tight = __commonJS((exports) => {
|
|
|
12438
12440
|
return (r === "string" ? String : Number)(t);
|
|
12439
12441
|
}
|
|
12440
12442
|
var TightDecoder = exports.default = /* @__PURE__ */ function() {
|
|
12441
|
-
function
|
|
12442
|
-
_classCallCheck(this,
|
|
12443
|
+
function TightDecoder() {
|
|
12444
|
+
_classCallCheck(this, TightDecoder);
|
|
12443
12445
|
this._ctl = null;
|
|
12444
12446
|
this._filter = null;
|
|
12445
12447
|
this._numColors = 0;
|
|
@@ -12450,7 +12452,7 @@ var require_tight = __commonJS((exports) => {
|
|
|
12450
12452
|
this._zlibs[i] = new _inflator["default"];
|
|
12451
12453
|
}
|
|
12452
12454
|
}
|
|
12453
|
-
return _createClass(
|
|
12455
|
+
return _createClass(TightDecoder, [{
|
|
12454
12456
|
key: "decodeRect",
|
|
12455
12457
|
value: function decodeRect(x, y, width, height, sock, display, depth) {
|
|
12456
12458
|
if (this._ctl === null) {
|
|
@@ -12760,13 +12762,13 @@ var require_tight = __commonJS((exports) => {
|
|
|
12760
12762
|
});
|
|
12761
12763
|
|
|
12762
12764
|
// ../node_modules/.bun/@novnc+novnc@1.6.0/node_modules/@novnc/novnc/lib/decoders/tightpng.js
|
|
12763
|
-
var require_tightpng = __commonJS((exports)
|
|
12765
|
+
var require_tightpng = __commonJS(function(exports) {
|
|
12764
12766
|
function _typeof(o) {
|
|
12765
12767
|
"@babel/helpers - typeof";
|
|
12766
|
-
return _typeof = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(
|
|
12767
|
-
return typeof
|
|
12768
|
-
} : function(
|
|
12769
|
-
return
|
|
12768
|
+
return _typeof = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(o) {
|
|
12769
|
+
return typeof o;
|
|
12770
|
+
} : function(o) {
|
|
12771
|
+
return o && typeof Symbol == "function" && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o;
|
|
12770
12772
|
}, _typeof(o);
|
|
12771
12773
|
}
|
|
12772
12774
|
Object.defineProperty(exports, "__esModule", {
|
|
@@ -12824,14 +12826,14 @@ var require_tightpng = __commonJS((exports) => {
|
|
|
12824
12826
|
function _isNativeReflectConstruct() {
|
|
12825
12827
|
try {
|
|
12826
12828
|
var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() {}));
|
|
12827
|
-
} catch (
|
|
12828
|
-
return (_isNativeReflectConstruct = function
|
|
12829
|
+
} catch (t) {}
|
|
12830
|
+
return (_isNativeReflectConstruct = function _isNativeReflectConstruct() {
|
|
12829
12831
|
return !!t;
|
|
12830
12832
|
})();
|
|
12831
12833
|
}
|
|
12832
12834
|
function _getPrototypeOf(t) {
|
|
12833
|
-
return _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function(
|
|
12834
|
-
return
|
|
12835
|
+
return _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function(t) {
|
|
12836
|
+
return t.__proto__ || Object.getPrototypeOf(t);
|
|
12835
12837
|
}, _getPrototypeOf(t);
|
|
12836
12838
|
}
|
|
12837
12839
|
function _inherits(t, e) {
|
|
@@ -12840,17 +12842,17 @@ var require_tightpng = __commonJS((exports) => {
|
|
|
12840
12842
|
t.prototype = Object.create(e && e.prototype, { constructor: { value: t, writable: true, configurable: true } }), Object.defineProperty(t, "prototype", { writable: false }), e && _setPrototypeOf(t, e);
|
|
12841
12843
|
}
|
|
12842
12844
|
function _setPrototypeOf(t, e) {
|
|
12843
|
-
return _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function(
|
|
12844
|
-
return
|
|
12845
|
+
return _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function(t, e) {
|
|
12846
|
+
return t.__proto__ = e, t;
|
|
12845
12847
|
}, _setPrototypeOf(t, e);
|
|
12846
12848
|
}
|
|
12847
12849
|
var TightPNGDecoder = exports.default = /* @__PURE__ */ function(_TightDecoder) {
|
|
12848
|
-
function
|
|
12849
|
-
_classCallCheck(this,
|
|
12850
|
-
return _callSuper(this,
|
|
12850
|
+
function TightPNGDecoder() {
|
|
12851
|
+
_classCallCheck(this, TightPNGDecoder);
|
|
12852
|
+
return _callSuper(this, TightPNGDecoder, arguments);
|
|
12851
12853
|
}
|
|
12852
|
-
_inherits(
|
|
12853
|
-
return _createClass(
|
|
12854
|
+
_inherits(TightPNGDecoder, _TightDecoder);
|
|
12855
|
+
return _createClass(TightPNGDecoder, [{
|
|
12854
12856
|
key: "_pngRect",
|
|
12855
12857
|
value: function _pngRect(x, y, width, height, sock, display, depth) {
|
|
12856
12858
|
var data = this._readData(sock);
|
|
@@ -12870,7 +12872,7 @@ var require_tightpng = __commonJS((exports) => {
|
|
|
12870
12872
|
});
|
|
12871
12873
|
|
|
12872
12874
|
// ../node_modules/.bun/@novnc+novnc@1.6.0/node_modules/@novnc/novnc/lib/decoders/zrle.js
|
|
12873
|
-
var require_zrle = __commonJS((exports)
|
|
12875
|
+
var require_zrle = __commonJS(function(exports) {
|
|
12874
12876
|
Object.defineProperty(exports, "__esModule", {
|
|
12875
12877
|
value: true
|
|
12876
12878
|
});
|
|
@@ -12881,10 +12883,10 @@ var require_zrle = __commonJS((exports) => {
|
|
|
12881
12883
|
}
|
|
12882
12884
|
function _typeof(o) {
|
|
12883
12885
|
"@babel/helpers - typeof";
|
|
12884
|
-
return _typeof = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(
|
|
12885
|
-
return typeof
|
|
12886
|
-
} : function(
|
|
12887
|
-
return
|
|
12886
|
+
return _typeof = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(o) {
|
|
12887
|
+
return typeof o;
|
|
12888
|
+
} : function(o) {
|
|
12889
|
+
return o && typeof Symbol == "function" && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o;
|
|
12888
12890
|
}, _typeof(o);
|
|
12889
12891
|
}
|
|
12890
12892
|
function _classCallCheck(a, n) {
|
|
@@ -12919,14 +12921,14 @@ var require_zrle = __commonJS((exports) => {
|
|
|
12919
12921
|
var ZRLE_TILE_WIDTH = 64;
|
|
12920
12922
|
var ZRLE_TILE_HEIGHT = 64;
|
|
12921
12923
|
var ZRLEDecoder = exports.default = /* @__PURE__ */ function() {
|
|
12922
|
-
function
|
|
12923
|
-
_classCallCheck(this,
|
|
12924
|
+
function ZRLEDecoder() {
|
|
12925
|
+
_classCallCheck(this, ZRLEDecoder);
|
|
12924
12926
|
this._length = 0;
|
|
12925
12927
|
this._inflator = new _inflator["default"];
|
|
12926
12928
|
this._pixelBuffer = new Uint8Array(ZRLE_TILE_WIDTH * ZRLE_TILE_HEIGHT * 4);
|
|
12927
12929
|
this._tileBuffer = new Uint8Array(ZRLE_TILE_WIDTH * ZRLE_TILE_HEIGHT * 4);
|
|
12928
12930
|
}
|
|
12929
|
-
return _createClass(
|
|
12931
|
+
return _createClass(ZRLEDecoder, [{
|
|
12930
12932
|
key: "decodeRect",
|
|
12931
12933
|
value: function decodeRect(x, y, width, height, sock, display, depth) {
|
|
12932
12934
|
if (this._length === 0) {
|
|
@@ -13086,17 +13088,17 @@ var require_zrle = __commonJS((exports) => {
|
|
|
13086
13088
|
});
|
|
13087
13089
|
|
|
13088
13090
|
// ../node_modules/.bun/@novnc+novnc@1.6.0/node_modules/@novnc/novnc/lib/decoders/jpeg.js
|
|
13089
|
-
var require_jpeg = __commonJS((exports)
|
|
13091
|
+
var require_jpeg = __commonJS(function(exports) {
|
|
13090
13092
|
Object.defineProperty(exports, "__esModule", {
|
|
13091
13093
|
value: true
|
|
13092
13094
|
});
|
|
13093
13095
|
exports.default = undefined;
|
|
13094
13096
|
function _typeof(o) {
|
|
13095
13097
|
"@babel/helpers - typeof";
|
|
13096
|
-
return _typeof = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(
|
|
13097
|
-
return typeof
|
|
13098
|
-
} : function(
|
|
13099
|
-
return
|
|
13098
|
+
return _typeof = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(o) {
|
|
13099
|
+
return typeof o;
|
|
13100
|
+
} : function(o) {
|
|
13101
|
+
return o && typeof Symbol == "function" && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o;
|
|
13100
13102
|
}, _typeof(o);
|
|
13101
13103
|
}
|
|
13102
13104
|
function _toConsumableArray(r) {
|
|
@@ -13119,11 +13121,11 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
13119
13121
|
if (!t) {
|
|
13120
13122
|
if (Array.isArray(r) || (t = _unsupportedIterableToArray(r)) || e && r && typeof r.length == "number") {
|
|
13121
13123
|
t && (r = t);
|
|
13122
|
-
var _n = 0, F = function
|
|
13124
|
+
var _n = 0, F = function F() {};
|
|
13123
13125
|
return { s: F, n: function n() {
|
|
13124
13126
|
return _n >= r.length ? { done: true } : { done: false, value: r[_n++] };
|
|
13125
|
-
}, e: function
|
|
13126
|
-
throw
|
|
13127
|
+
}, e: function e(r) {
|
|
13128
|
+
throw r;
|
|
13127
13129
|
}, f: F };
|
|
13128
13130
|
}
|
|
13129
13131
|
throw new TypeError(`Invalid attempt to iterate non-iterable instance.
|
|
@@ -13133,10 +13135,10 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
13133
13135
|
return { s: function s() {
|
|
13134
13136
|
t = t.call(r);
|
|
13135
13137
|
}, n: function n() {
|
|
13136
|
-
var
|
|
13137
|
-
return a =
|
|
13138
|
-
}, e: function
|
|
13139
|
-
u = true, o =
|
|
13138
|
+
var r = t.next();
|
|
13139
|
+
return a = r.done, r;
|
|
13140
|
+
}, e: function e(r) {
|
|
13141
|
+
u = true, o = r;
|
|
13140
13142
|
}, f: function f() {
|
|
13141
13143
|
try {
|
|
13142
13144
|
a || t["return"] == null || t["return"]();
|
|
@@ -13190,13 +13192,13 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
13190
13192
|
return (r === "string" ? String : Number)(t);
|
|
13191
13193
|
}
|
|
13192
13194
|
var JPEGDecoder = exports.default = /* @__PURE__ */ function() {
|
|
13193
|
-
function
|
|
13194
|
-
_classCallCheck(this,
|
|
13195
|
+
function JPEGDecoder() {
|
|
13196
|
+
_classCallCheck(this, JPEGDecoder);
|
|
13195
13197
|
this._cachedQuantTables = [];
|
|
13196
13198
|
this._cachedHuffmanTables = [];
|
|
13197
13199
|
this._segments = [];
|
|
13198
13200
|
}
|
|
13199
|
-
return _createClass(
|
|
13201
|
+
return _createClass(JPEGDecoder, [{
|
|
13200
13202
|
key: "decodeRect",
|
|
13201
13203
|
value: function decodeRect(x, y, width, height, sock, display, depth) {
|
|
13202
13204
|
while (true) {
|
|
@@ -13227,8 +13229,8 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
13227
13229
|
} finally {
|
|
13228
13230
|
_iterator.f();
|
|
13229
13231
|
}
|
|
13230
|
-
var sofIndex = this._segments.findIndex(function(
|
|
13231
|
-
return
|
|
13232
|
+
var sofIndex = this._segments.findIndex(function(x) {
|
|
13233
|
+
return x[1] == 192 || x[1] == 194;
|
|
13232
13234
|
});
|
|
13233
13235
|
if (sofIndex == -1) {
|
|
13234
13236
|
throw new Error("Illegal JPEG image without SOF");
|
|
@@ -13329,7 +13331,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
13329
13331
|
});
|
|
13330
13332
|
|
|
13331
13333
|
// ../node_modules/.bun/@novnc+novnc@1.6.0/node_modules/@novnc/novnc/lib/decoders/h264.js
|
|
13332
|
-
var require_h264 = __commonJS((exports)
|
|
13334
|
+
var require_h264 = __commonJS(function(exports) {
|
|
13333
13335
|
Object.defineProperty(exports, "__esModule", {
|
|
13334
13336
|
value: true
|
|
13335
13337
|
});
|
|
@@ -13339,8 +13341,8 @@ var require_h264 = __commonJS((exports) => {
|
|
|
13339
13341
|
if (typeof WeakMap != "function")
|
|
13340
13342
|
return null;
|
|
13341
13343
|
var r = new WeakMap, t = new WeakMap;
|
|
13342
|
-
return (_getRequireWildcardCache = function
|
|
13343
|
-
return
|
|
13344
|
+
return (_getRequireWildcardCache = function _getRequireWildcardCache(e) {
|
|
13345
|
+
return e ? t : r;
|
|
13344
13346
|
})(e);
|
|
13345
13347
|
}
|
|
13346
13348
|
function _interopRequireWildcard(e, r) {
|
|
@@ -13361,10 +13363,10 @@ var require_h264 = __commonJS((exports) => {
|
|
|
13361
13363
|
}
|
|
13362
13364
|
function _typeof(o) {
|
|
13363
13365
|
"@babel/helpers - typeof";
|
|
13364
|
-
return _typeof = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(
|
|
13365
|
-
return typeof
|
|
13366
|
-
} : function(
|
|
13367
|
-
return
|
|
13366
|
+
return _typeof = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(o) {
|
|
13367
|
+
return typeof o;
|
|
13368
|
+
} : function(o) {
|
|
13369
|
+
return o && typeof Symbol == "function" && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o;
|
|
13368
13370
|
}, _typeof(o);
|
|
13369
13371
|
}
|
|
13370
13372
|
function _slicedToArray(r, e) {
|
|
@@ -13400,8 +13402,8 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
13400
13402
|
} else
|
|
13401
13403
|
for (;!(f = (e = i.call(t)).done) && (a.push(e.value), a.length !== l); f = true)
|
|
13402
13404
|
;
|
|
13403
|
-
} catch (
|
|
13404
|
-
o = true, n =
|
|
13405
|
+
} catch (r) {
|
|
13406
|
+
o = true, n = r;
|
|
13405
13407
|
} finally {
|
|
13406
13408
|
try {
|
|
13407
13409
|
if (!f && t["return"] != null && (u = t["return"](), Object(u) !== u))
|
|
@@ -13448,15 +13450,15 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
13448
13450
|
return (r === "string" ? String : Number)(t);
|
|
13449
13451
|
}
|
|
13450
13452
|
var H264Parser = exports.H264Parser = /* @__PURE__ */ function() {
|
|
13451
|
-
function
|
|
13452
|
-
_classCallCheck(this,
|
|
13453
|
+
function H264Parser(data) {
|
|
13454
|
+
_classCallCheck(this, H264Parser);
|
|
13453
13455
|
this._data = data;
|
|
13454
13456
|
this._index = 0;
|
|
13455
13457
|
this.profileIdc = null;
|
|
13456
13458
|
this.constraintSet = null;
|
|
13457
13459
|
this.levelIdc = null;
|
|
13458
13460
|
}
|
|
13459
|
-
return _createClass(
|
|
13461
|
+
return _createClass(H264Parser, [{
|
|
13460
13462
|
key: "_getStartSequenceLen",
|
|
13461
13463
|
value: function _getStartSequenceLen(index) {
|
|
13462
13464
|
var data = this._data;
|
|
@@ -13527,7 +13529,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
13527
13529
|
if (startSequenceLen == 0) {
|
|
13528
13530
|
throw new Error("Invalid start sequence in bit stream");
|
|
13529
13531
|
}
|
|
13530
|
-
var _this$_parseNalUnit = this._parseNalUnit(this._index + startSequenceLen),
|
|
13532
|
+
var _this$_parseNalUnit = this._parseNalUnit(this._index + startSequenceLen), { slice, key } = _this$_parseNalUnit;
|
|
13531
13533
|
var nextIndex = this._indexOfNextNalUnit(this._index + startSequenceLen);
|
|
13532
13534
|
if (nextIndex == -1) {
|
|
13533
13535
|
this._index = this._data.length;
|
|
@@ -13552,8 +13554,8 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
13552
13554
|
}]);
|
|
13553
13555
|
}();
|
|
13554
13556
|
var H264Context = exports.H264Context = /* @__PURE__ */ function() {
|
|
13555
|
-
function
|
|
13556
|
-
_classCallCheck(this,
|
|
13557
|
+
function H264Context(width, height) {
|
|
13558
|
+
_classCallCheck(this, H264Context);
|
|
13557
13559
|
this.lastUsed = 0;
|
|
13558
13560
|
this._width = width;
|
|
13559
13561
|
this._height = height;
|
|
@@ -13563,7 +13565,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
13563
13565
|
this._decoder = null;
|
|
13564
13566
|
this._pendingFrames = [];
|
|
13565
13567
|
}
|
|
13566
|
-
return _createClass(
|
|
13568
|
+
return _createClass(H264Context, [{
|
|
13567
13569
|
key: "_handleFrame",
|
|
13568
13570
|
value: function _handleFrame(frame) {
|
|
13569
13571
|
var pending = this._pendingFrames.shift();
|
|
@@ -13671,12 +13673,12 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
13671
13673
|
}]);
|
|
13672
13674
|
}();
|
|
13673
13675
|
var H264Decoder = exports.default = /* @__PURE__ */ function() {
|
|
13674
|
-
function
|
|
13675
|
-
_classCallCheck(this,
|
|
13676
|
+
function H264Decoder() {
|
|
13677
|
+
_classCallCheck(this, H264Decoder);
|
|
13676
13678
|
this._tick = 0;
|
|
13677
13679
|
this._contexts = {};
|
|
13678
13680
|
}
|
|
13679
|
-
return _createClass(
|
|
13681
|
+
return _createClass(H264Decoder, [{
|
|
13680
13682
|
key: "_contextId",
|
|
13681
13683
|
value: function _contextId(x, y, width, height) {
|
|
13682
13684
|
return [x, y, width, height].join(",");
|
|
@@ -13757,13 +13759,13 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
13757
13759
|
});
|
|
13758
13760
|
|
|
13759
13761
|
// ../node_modules/.bun/@novnc+novnc@1.6.0/node_modules/@novnc/novnc/lib/rfb.js
|
|
13760
|
-
var require_rfb = __commonJS((exports)
|
|
13762
|
+
var require_rfb = __commonJS(function(exports) {
|
|
13761
13763
|
function _typeof(o) {
|
|
13762
13764
|
"@babel/helpers - typeof";
|
|
13763
|
-
return _typeof = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(
|
|
13764
|
-
return typeof
|
|
13765
|
-
} : function(
|
|
13766
|
-
return
|
|
13765
|
+
return _typeof = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(o) {
|
|
13766
|
+
return typeof o;
|
|
13767
|
+
} : function(o) {
|
|
13768
|
+
return o && typeof Symbol == "function" && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o;
|
|
13767
13769
|
}, _typeof(o);
|
|
13768
13770
|
}
|
|
13769
13771
|
Object.defineProperty(exports, "__esModule", {
|
|
@@ -13806,8 +13808,8 @@ var require_rfb = __commonJS((exports) => {
|
|
|
13806
13808
|
if (typeof WeakMap != "function")
|
|
13807
13809
|
return null;
|
|
13808
13810
|
var r = new WeakMap, t = new WeakMap;
|
|
13809
|
-
return (_getRequireWildcardCache = function
|
|
13810
|
-
return
|
|
13811
|
+
return (_getRequireWildcardCache = function _getRequireWildcardCache(e) {
|
|
13812
|
+
return e ? t : r;
|
|
13811
13813
|
})(e);
|
|
13812
13814
|
}
|
|
13813
13815
|
function _interopRequireWildcard(e, r) {
|
|
@@ -13828,31 +13830,31 @@ var require_rfb = __commonJS((exports) => {
|
|
|
13828
13830
|
}
|
|
13829
13831
|
function _regeneratorRuntime() {
|
|
13830
13832
|
/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */
|
|
13831
|
-
_regeneratorRuntime = function
|
|
13833
|
+
_regeneratorRuntime = function _regeneratorRuntime() {
|
|
13832
13834
|
return e;
|
|
13833
13835
|
};
|
|
13834
|
-
var t, e = {}, r = Object.prototype, n = r.hasOwnProperty, o = Object.defineProperty || function(
|
|
13835
|
-
|
|
13836
|
+
var t, e = {}, r = Object.prototype, n = r.hasOwnProperty, o = Object.defineProperty || function(t, e, r) {
|
|
13837
|
+
t[e] = r.value;
|
|
13836
13838
|
}, i = typeof Symbol == "function" ? Symbol : {}, a = i.iterator || "@@iterator", c = i.asyncIterator || "@@asyncIterator", u = i.toStringTag || "@@toStringTag";
|
|
13837
|
-
function define(
|
|
13838
|
-
return Object.defineProperty(
|
|
13839
|
+
function define(t, e, r) {
|
|
13840
|
+
return Object.defineProperty(t, e, { value: r, enumerable: true, configurable: true, writable: true }), t[e];
|
|
13839
13841
|
}
|
|
13840
13842
|
try {
|
|
13841
13843
|
define({}, "");
|
|
13842
|
-
} catch (
|
|
13843
|
-
define = function
|
|
13844
|
-
return
|
|
13844
|
+
} catch (t) {
|
|
13845
|
+
define = function define(t, e, r) {
|
|
13846
|
+
return t[e] = r;
|
|
13845
13847
|
};
|
|
13846
13848
|
}
|
|
13847
|
-
function wrap(
|
|
13848
|
-
var
|
|
13849
|
-
return o(
|
|
13849
|
+
function wrap(t, e, r, n) {
|
|
13850
|
+
var i = e && e.prototype instanceof Generator ? e : Generator, a = Object.create(i.prototype), c = new Context(n || []);
|
|
13851
|
+
return o(a, "_invoke", { value: makeInvokeMethod(t, r, c) }), a;
|
|
13850
13852
|
}
|
|
13851
|
-
function tryCatch(
|
|
13853
|
+
function tryCatch(t, e, r) {
|
|
13852
13854
|
try {
|
|
13853
|
-
return { type: "normal", arg:
|
|
13854
|
-
} catch (
|
|
13855
|
-
return { type: "throw", arg:
|
|
13855
|
+
return { type: "normal", arg: t.call(e, r) };
|
|
13856
|
+
} catch (t) {
|
|
13857
|
+
return { type: "throw", arg: t };
|
|
13856
13858
|
}
|
|
13857
13859
|
}
|
|
13858
13860
|
e.wrap = wrap;
|
|
@@ -13867,232 +13869,232 @@ var require_rfb = __commonJS((exports) => {
|
|
|
13867
13869
|
var d = Object.getPrototypeOf, v = d && d(d(values([])));
|
|
13868
13870
|
v && v !== r && n.call(v, a) && (p = v);
|
|
13869
13871
|
var g = GeneratorFunctionPrototype.prototype = Generator.prototype = Object.create(p);
|
|
13870
|
-
function defineIteratorMethods(
|
|
13871
|
-
["next", "throw", "return"].forEach(function(
|
|
13872
|
-
define(
|
|
13873
|
-
return this._invoke(
|
|
13872
|
+
function defineIteratorMethods(t) {
|
|
13873
|
+
["next", "throw", "return"].forEach(function(e) {
|
|
13874
|
+
define(t, e, function(t) {
|
|
13875
|
+
return this._invoke(e, t);
|
|
13874
13876
|
});
|
|
13875
13877
|
});
|
|
13876
13878
|
}
|
|
13877
|
-
function AsyncIterator(
|
|
13878
|
-
function invoke(
|
|
13879
|
-
var
|
|
13880
|
-
if (
|
|
13881
|
-
var
|
|
13882
|
-
return
|
|
13883
|
-
invoke("next",
|
|
13884
|
-
}, function(
|
|
13885
|
-
invoke("throw",
|
|
13886
|
-
}) :
|
|
13887
|
-
|
|
13888
|
-
}, function(
|
|
13889
|
-
return invoke("throw",
|
|
13879
|
+
function AsyncIterator(t, e) {
|
|
13880
|
+
function invoke(r, o, i, a) {
|
|
13881
|
+
var c = tryCatch(t[r], t, o);
|
|
13882
|
+
if (c.type !== "throw") {
|
|
13883
|
+
var u = c.arg, h = u.value;
|
|
13884
|
+
return h && _typeof(h) == "object" && n.call(h, "__await") ? e.resolve(h.__await).then(function(t) {
|
|
13885
|
+
invoke("next", t, i, a);
|
|
13886
|
+
}, function(t) {
|
|
13887
|
+
invoke("throw", t, i, a);
|
|
13888
|
+
}) : e.resolve(h).then(function(t) {
|
|
13889
|
+
u.value = t, i(u);
|
|
13890
|
+
}, function(t) {
|
|
13891
|
+
return invoke("throw", t, i, a);
|
|
13890
13892
|
});
|
|
13891
13893
|
}
|
|
13892
|
-
|
|
13894
|
+
a(c.arg);
|
|
13893
13895
|
}
|
|
13894
|
-
var
|
|
13895
|
-
o(this, "_invoke", { value: function value(
|
|
13896
|
+
var r;
|
|
13897
|
+
o(this, "_invoke", { value: function value(t, n) {
|
|
13896
13898
|
function callInvokeWithMethodAndArg() {
|
|
13897
|
-
return new
|
|
13898
|
-
invoke(
|
|
13899
|
+
return new e(function(e, r) {
|
|
13900
|
+
invoke(t, n, e, r);
|
|
13899
13901
|
});
|
|
13900
13902
|
}
|
|
13901
|
-
return
|
|
13903
|
+
return r = r ? r.then(callInvokeWithMethodAndArg, callInvokeWithMethodAndArg) : callInvokeWithMethodAndArg();
|
|
13902
13904
|
} });
|
|
13903
13905
|
}
|
|
13904
|
-
function makeInvokeMethod(
|
|
13905
|
-
var
|
|
13906
|
-
return function(
|
|
13907
|
-
if (
|
|
13906
|
+
function makeInvokeMethod(e, r, n) {
|
|
13907
|
+
var o = h;
|
|
13908
|
+
return function(i, a) {
|
|
13909
|
+
if (o === f)
|
|
13908
13910
|
throw Error("Generator is already running");
|
|
13909
|
-
if (
|
|
13910
|
-
if (
|
|
13911
|
-
throw
|
|
13911
|
+
if (o === s) {
|
|
13912
|
+
if (i === "throw")
|
|
13913
|
+
throw a;
|
|
13912
13914
|
return { value: t, done: true };
|
|
13913
13915
|
}
|
|
13914
|
-
for (
|
|
13915
|
-
var
|
|
13916
|
-
if (
|
|
13917
|
-
var
|
|
13918
|
-
if (
|
|
13919
|
-
if (
|
|
13916
|
+
for (n.method = i, n.arg = a;; ) {
|
|
13917
|
+
var c = n.delegate;
|
|
13918
|
+
if (c) {
|
|
13919
|
+
var u = maybeInvokeDelegate(c, n);
|
|
13920
|
+
if (u) {
|
|
13921
|
+
if (u === y)
|
|
13920
13922
|
continue;
|
|
13921
|
-
return
|
|
13923
|
+
return u;
|
|
13922
13924
|
}
|
|
13923
13925
|
}
|
|
13924
|
-
if (
|
|
13925
|
-
|
|
13926
|
-
else if (
|
|
13927
|
-
if (
|
|
13928
|
-
throw
|
|
13929
|
-
|
|
13926
|
+
if (n.method === "next")
|
|
13927
|
+
n.sent = n._sent = n.arg;
|
|
13928
|
+
else if (n.method === "throw") {
|
|
13929
|
+
if (o === h)
|
|
13930
|
+
throw o = s, n.arg;
|
|
13931
|
+
n.dispatchException(n.arg);
|
|
13930
13932
|
} else
|
|
13931
|
-
|
|
13932
|
-
|
|
13933
|
-
var
|
|
13934
|
-
if (
|
|
13935
|
-
if (
|
|
13933
|
+
n.method === "return" && n.abrupt("return", n.arg);
|
|
13934
|
+
o = f;
|
|
13935
|
+
var p = tryCatch(e, r, n);
|
|
13936
|
+
if (p.type === "normal") {
|
|
13937
|
+
if (o = n.done ? s : l, p.arg === y)
|
|
13936
13938
|
continue;
|
|
13937
|
-
return { value:
|
|
13939
|
+
return { value: p.arg, done: n.done };
|
|
13938
13940
|
}
|
|
13939
|
-
|
|
13941
|
+
p.type === "throw" && (o = s, n.method = "throw", n.arg = p.arg);
|
|
13940
13942
|
}
|
|
13941
13943
|
};
|
|
13942
13944
|
}
|
|
13943
|
-
function maybeInvokeDelegate(
|
|
13944
|
-
var
|
|
13945
|
-
if (
|
|
13946
|
-
return
|
|
13947
|
-
var
|
|
13948
|
-
if (
|
|
13949
|
-
return
|
|
13950
|
-
var
|
|
13951
|
-
return
|
|
13952
|
-
}
|
|
13953
|
-
function pushTryEntry(
|
|
13954
|
-
var
|
|
13955
|
-
1 in
|
|
13956
|
-
}
|
|
13957
|
-
function resetTryEntry(
|
|
13958
|
-
var
|
|
13959
|
-
|
|
13960
|
-
}
|
|
13961
|
-
function Context(
|
|
13962
|
-
this.tryEntries = [{ tryLoc: "root" }],
|
|
13963
|
-
}
|
|
13964
|
-
function values(
|
|
13965
|
-
if (
|
|
13966
|
-
var
|
|
13967
|
-
if (
|
|
13968
|
-
return
|
|
13969
|
-
if (typeof
|
|
13970
|
-
return
|
|
13971
|
-
if (!isNaN(
|
|
13972
|
-
var
|
|
13973
|
-
for (;++
|
|
13974
|
-
if (n.call(
|
|
13975
|
-
return next.value =
|
|
13945
|
+
function maybeInvokeDelegate(e, r) {
|
|
13946
|
+
var n = r.method, o = e.iterator[n];
|
|
13947
|
+
if (o === t)
|
|
13948
|
+
return r.delegate = null, n === "throw" && e.iterator["return"] && (r.method = "return", r.arg = t, maybeInvokeDelegate(e, r), r.method === "throw") || n !== "return" && (r.method = "throw", r.arg = new TypeError("The iterator does not provide a '" + n + "' method")), y;
|
|
13949
|
+
var i = tryCatch(o, e.iterator, r.arg);
|
|
13950
|
+
if (i.type === "throw")
|
|
13951
|
+
return r.method = "throw", r.arg = i.arg, r.delegate = null, y;
|
|
13952
|
+
var a = i.arg;
|
|
13953
|
+
return a ? a.done ? (r[e.resultName] = a.value, r.next = e.nextLoc, r.method !== "return" && (r.method = "next", r.arg = t), r.delegate = null, y) : a : (r.method = "throw", r.arg = new TypeError("iterator result is not an object"), r.delegate = null, y);
|
|
13954
|
+
}
|
|
13955
|
+
function pushTryEntry(t) {
|
|
13956
|
+
var e = { tryLoc: t[0] };
|
|
13957
|
+
1 in t && (e.catchLoc = t[1]), 2 in t && (e.finallyLoc = t[2], e.afterLoc = t[3]), this.tryEntries.push(e);
|
|
13958
|
+
}
|
|
13959
|
+
function resetTryEntry(t) {
|
|
13960
|
+
var e = t.completion || {};
|
|
13961
|
+
e.type = "normal", delete e.arg, t.completion = e;
|
|
13962
|
+
}
|
|
13963
|
+
function Context(t) {
|
|
13964
|
+
this.tryEntries = [{ tryLoc: "root" }], t.forEach(pushTryEntry, this), this.reset(true);
|
|
13965
|
+
}
|
|
13966
|
+
function values(e) {
|
|
13967
|
+
if (e || e === "") {
|
|
13968
|
+
var r = e[a];
|
|
13969
|
+
if (r)
|
|
13970
|
+
return r.call(e);
|
|
13971
|
+
if (typeof e.next == "function")
|
|
13972
|
+
return e;
|
|
13973
|
+
if (!isNaN(e.length)) {
|
|
13974
|
+
var o = -1, i = function next() {
|
|
13975
|
+
for (;++o < e.length; )
|
|
13976
|
+
if (n.call(e, o))
|
|
13977
|
+
return next.value = e[o], next.done = false, next;
|
|
13976
13978
|
return next.value = t, next.done = true, next;
|
|
13977
13979
|
};
|
|
13978
|
-
return
|
|
13980
|
+
return i.next = i;
|
|
13979
13981
|
}
|
|
13980
13982
|
}
|
|
13981
|
-
throw new TypeError(_typeof(
|
|
13983
|
+
throw new TypeError(_typeof(e) + " is not iterable");
|
|
13982
13984
|
}
|
|
13983
|
-
return GeneratorFunction.prototype = GeneratorFunctionPrototype, o(g, "constructor", { value: GeneratorFunctionPrototype, configurable: true }), o(GeneratorFunctionPrototype, "constructor", { value: GeneratorFunction, configurable: true }), GeneratorFunction.displayName = define(GeneratorFunctionPrototype, u, "GeneratorFunction"), e.isGeneratorFunction = function(
|
|
13984
|
-
var
|
|
13985
|
-
return !!
|
|
13986
|
-
}, e.mark = function(
|
|
13987
|
-
return Object.setPrototypeOf ? Object.setPrototypeOf(
|
|
13988
|
-
}, e.awrap = function(
|
|
13989
|
-
return { __await:
|
|
13985
|
+
return GeneratorFunction.prototype = GeneratorFunctionPrototype, o(g, "constructor", { value: GeneratorFunctionPrototype, configurable: true }), o(GeneratorFunctionPrototype, "constructor", { value: GeneratorFunction, configurable: true }), GeneratorFunction.displayName = define(GeneratorFunctionPrototype, u, "GeneratorFunction"), e.isGeneratorFunction = function(t) {
|
|
13986
|
+
var e = typeof t == "function" && t.constructor;
|
|
13987
|
+
return !!e && (e === GeneratorFunction || (e.displayName || e.name) === "GeneratorFunction");
|
|
13988
|
+
}, e.mark = function(t) {
|
|
13989
|
+
return Object.setPrototypeOf ? Object.setPrototypeOf(t, GeneratorFunctionPrototype) : (t.__proto__ = GeneratorFunctionPrototype, define(t, u, "GeneratorFunction")), t.prototype = Object.create(g), t;
|
|
13990
|
+
}, e.awrap = function(t) {
|
|
13991
|
+
return { __await: t };
|
|
13990
13992
|
}, defineIteratorMethods(AsyncIterator.prototype), define(AsyncIterator.prototype, c, function() {
|
|
13991
13993
|
return this;
|
|
13992
|
-
}), e.AsyncIterator = AsyncIterator, e.async = function(
|
|
13993
|
-
|
|
13994
|
-
var
|
|
13995
|
-
return e.isGeneratorFunction(
|
|
13996
|
-
return
|
|
13994
|
+
}), e.AsyncIterator = AsyncIterator, e.async = function(t, r, n, o, i) {
|
|
13995
|
+
i === undefined && (i = Promise);
|
|
13996
|
+
var a = new AsyncIterator(wrap(t, r, n, o), i);
|
|
13997
|
+
return e.isGeneratorFunction(r) ? a : a.next().then(function(t) {
|
|
13998
|
+
return t.done ? t.value : a.next();
|
|
13997
13999
|
});
|
|
13998
14000
|
}, defineIteratorMethods(g), define(g, u, "Generator"), define(g, a, function() {
|
|
13999
14001
|
return this;
|
|
14000
14002
|
}), define(g, "toString", function() {
|
|
14001
14003
|
return "[object Generator]";
|
|
14002
|
-
}), e.keys = function(
|
|
14003
|
-
var
|
|
14004
|
-
for (var
|
|
14005
|
-
|
|
14006
|
-
return
|
|
14007
|
-
for (;
|
|
14008
|
-
var
|
|
14009
|
-
if (
|
|
14010
|
-
return next.value =
|
|
14004
|
+
}), e.keys = function(t) {
|
|
14005
|
+
var e = Object(t), r = [];
|
|
14006
|
+
for (var n in e)
|
|
14007
|
+
r.push(n);
|
|
14008
|
+
return r.reverse(), function next() {
|
|
14009
|
+
for (;r.length; ) {
|
|
14010
|
+
var t = r.pop();
|
|
14011
|
+
if (t in e)
|
|
14012
|
+
return next.value = t, next.done = false, next;
|
|
14011
14013
|
}
|
|
14012
14014
|
return next.done = true, next;
|
|
14013
14015
|
};
|
|
14014
|
-
}, e.values = values, Context.prototype = { constructor: Context, reset: function reset(
|
|
14015
|
-
if (this.prev = 0, this.next = 0, this.sent = this._sent = t, this.done = false, this.delegate = null, this.method = "next", this.arg = t, this.tryEntries.forEach(resetTryEntry), !
|
|
14016
|
-
for (var
|
|
14017
|
-
|
|
14016
|
+
}, e.values = values, Context.prototype = { constructor: Context, reset: function reset(e) {
|
|
14017
|
+
if (this.prev = 0, this.next = 0, this.sent = this._sent = t, this.done = false, this.delegate = null, this.method = "next", this.arg = t, this.tryEntries.forEach(resetTryEntry), !e)
|
|
14018
|
+
for (var r in this)
|
|
14019
|
+
r.charAt(0) === "t" && n.call(this, r) && !isNaN(+r.slice(1)) && (this[r] = t);
|
|
14018
14020
|
}, stop: function stop() {
|
|
14019
14021
|
this.done = true;
|
|
14020
|
-
var
|
|
14021
|
-
if (
|
|
14022
|
-
throw
|
|
14022
|
+
var t = this.tryEntries[0].completion;
|
|
14023
|
+
if (t.type === "throw")
|
|
14024
|
+
throw t.arg;
|
|
14023
14025
|
return this.rval;
|
|
14024
|
-
}, dispatchException: function dispatchException(
|
|
14026
|
+
}, dispatchException: function dispatchException(e) {
|
|
14025
14027
|
if (this.done)
|
|
14026
|
-
throw
|
|
14027
|
-
var
|
|
14028
|
-
function handle(
|
|
14029
|
-
return
|
|
14030
|
-
}
|
|
14031
|
-
for (var
|
|
14032
|
-
var
|
|
14033
|
-
if (
|
|
14028
|
+
throw e;
|
|
14029
|
+
var r = this;
|
|
14030
|
+
function handle(n, o) {
|
|
14031
|
+
return a.type = "throw", a.arg = e, r.next = n, o && (r.method = "next", r.arg = t), !!o;
|
|
14032
|
+
}
|
|
14033
|
+
for (var o = this.tryEntries.length - 1;o >= 0; --o) {
|
|
14034
|
+
var i = this.tryEntries[o], a = i.completion;
|
|
14035
|
+
if (i.tryLoc === "root")
|
|
14034
14036
|
return handle("end");
|
|
14035
|
-
if (
|
|
14036
|
-
var
|
|
14037
|
-
if (
|
|
14038
|
-
if (this.prev <
|
|
14039
|
-
return handle(
|
|
14040
|
-
if (this.prev <
|
|
14041
|
-
return handle(
|
|
14042
|
-
} else if (
|
|
14043
|
-
if (this.prev <
|
|
14044
|
-
return handle(
|
|
14037
|
+
if (i.tryLoc <= this.prev) {
|
|
14038
|
+
var c = n.call(i, "catchLoc"), u = n.call(i, "finallyLoc");
|
|
14039
|
+
if (c && u) {
|
|
14040
|
+
if (this.prev < i.catchLoc)
|
|
14041
|
+
return handle(i.catchLoc, true);
|
|
14042
|
+
if (this.prev < i.finallyLoc)
|
|
14043
|
+
return handle(i.finallyLoc);
|
|
14044
|
+
} else if (c) {
|
|
14045
|
+
if (this.prev < i.catchLoc)
|
|
14046
|
+
return handle(i.catchLoc, true);
|
|
14045
14047
|
} else {
|
|
14046
|
-
if (!
|
|
14048
|
+
if (!u)
|
|
14047
14049
|
throw Error("try statement without catch or finally");
|
|
14048
|
-
if (this.prev <
|
|
14049
|
-
return handle(
|
|
14050
|
+
if (this.prev < i.finallyLoc)
|
|
14051
|
+
return handle(i.finallyLoc);
|
|
14050
14052
|
}
|
|
14051
14053
|
}
|
|
14052
14054
|
}
|
|
14053
|
-
}, abrupt: function abrupt(
|
|
14054
|
-
for (var
|
|
14055
|
-
var
|
|
14056
|
-
if (
|
|
14057
|
-
var
|
|
14055
|
+
}, abrupt: function abrupt(t, e) {
|
|
14056
|
+
for (var r = this.tryEntries.length - 1;r >= 0; --r) {
|
|
14057
|
+
var o = this.tryEntries[r];
|
|
14058
|
+
if (o.tryLoc <= this.prev && n.call(o, "finallyLoc") && this.prev < o.finallyLoc) {
|
|
14059
|
+
var i = o;
|
|
14058
14060
|
break;
|
|
14059
14061
|
}
|
|
14060
14062
|
}
|
|
14061
|
-
|
|
14062
|
-
var
|
|
14063
|
-
return
|
|
14064
|
-
}, complete: function complete(
|
|
14065
|
-
if (
|
|
14066
|
-
throw
|
|
14067
|
-
return
|
|
14068
|
-
}, finish: function finish(
|
|
14069
|
-
for (var
|
|
14070
|
-
var
|
|
14071
|
-
if (
|
|
14072
|
-
return this.complete(
|
|
14073
|
-
}
|
|
14074
|
-
}, catch: function _catch(
|
|
14075
|
-
for (var
|
|
14076
|
-
var
|
|
14077
|
-
if (
|
|
14078
|
-
var
|
|
14079
|
-
if (
|
|
14080
|
-
var
|
|
14081
|
-
resetTryEntry(
|
|
14063
|
+
i && (t === "break" || t === "continue") && i.tryLoc <= e && e <= i.finallyLoc && (i = null);
|
|
14064
|
+
var a = i ? i.completion : {};
|
|
14065
|
+
return a.type = t, a.arg = e, i ? (this.method = "next", this.next = i.finallyLoc, y) : this.complete(a);
|
|
14066
|
+
}, complete: function complete(t, e) {
|
|
14067
|
+
if (t.type === "throw")
|
|
14068
|
+
throw t.arg;
|
|
14069
|
+
return t.type === "break" || t.type === "continue" ? this.next = t.arg : t.type === "return" ? (this.rval = this.arg = t.arg, this.method = "return", this.next = "end") : t.type === "normal" && e && (this.next = e), y;
|
|
14070
|
+
}, finish: function finish(t) {
|
|
14071
|
+
for (var e = this.tryEntries.length - 1;e >= 0; --e) {
|
|
14072
|
+
var r = this.tryEntries[e];
|
|
14073
|
+
if (r.finallyLoc === t)
|
|
14074
|
+
return this.complete(r.completion, r.afterLoc), resetTryEntry(r), y;
|
|
14075
|
+
}
|
|
14076
|
+
}, catch: function _catch(t) {
|
|
14077
|
+
for (var e = this.tryEntries.length - 1;e >= 0; --e) {
|
|
14078
|
+
var r = this.tryEntries[e];
|
|
14079
|
+
if (r.tryLoc === t) {
|
|
14080
|
+
var n = r.completion;
|
|
14081
|
+
if (n.type === "throw") {
|
|
14082
|
+
var o = n.arg;
|
|
14083
|
+
resetTryEntry(r);
|
|
14082
14084
|
}
|
|
14083
|
-
return
|
|
14085
|
+
return o;
|
|
14084
14086
|
}
|
|
14085
14087
|
}
|
|
14086
14088
|
throw Error("illegal catch attempt");
|
|
14087
|
-
}, delegateYield: function delegateYield(
|
|
14088
|
-
return this.delegate = { iterator: values(
|
|
14089
|
+
}, delegateYield: function delegateYield(e, r, n) {
|
|
14090
|
+
return this.delegate = { iterator: values(e), resultName: r, nextLoc: n }, this.method === "next" && (this.arg = t), y;
|
|
14089
14091
|
} }, e;
|
|
14090
14092
|
}
|
|
14091
14093
|
function asyncGeneratorStep(n, t, e, r, o, a, c) {
|
|
14092
14094
|
try {
|
|
14093
14095
|
var i = n[a](c), u = i.value;
|
|
14094
|
-
} catch (
|
|
14095
|
-
return void e(
|
|
14096
|
+
} catch (n) {
|
|
14097
|
+
return void e(n);
|
|
14096
14098
|
}
|
|
14097
14099
|
i.done ? t(u) : Promise.resolve(u).then(r, o);
|
|
14098
14100
|
}
|
|
@@ -14101,11 +14103,11 @@ var require_rfb = __commonJS((exports) => {
|
|
|
14101
14103
|
var t = this, e = arguments;
|
|
14102
14104
|
return new Promise(function(r, o) {
|
|
14103
14105
|
var a = n.apply(t, e);
|
|
14104
|
-
function _next(
|
|
14105
|
-
asyncGeneratorStep(a, r, o, _next, _throw, "next",
|
|
14106
|
+
function _next(n) {
|
|
14107
|
+
asyncGeneratorStep(a, r, o, _next, _throw, "next", n);
|
|
14106
14108
|
}
|
|
14107
|
-
function _throw(
|
|
14108
|
-
asyncGeneratorStep(a, r, o, _next, _throw, "throw",
|
|
14109
|
+
function _throw(n) {
|
|
14110
|
+
asyncGeneratorStep(a, r, o, _next, _throw, "throw", n);
|
|
14109
14111
|
}
|
|
14110
14112
|
_next(undefined);
|
|
14111
14113
|
});
|
|
@@ -14130,8 +14132,8 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
14130
14132
|
} else
|
|
14131
14133
|
for (;!(f = (e = i.call(t)).done) && (a.push(e.value), a.length !== l); f = true)
|
|
14132
14134
|
;
|
|
14133
|
-
} catch (
|
|
14134
|
-
o = true, n =
|
|
14135
|
+
} catch (r) {
|
|
14136
|
+
o = true, n = r;
|
|
14135
14137
|
} finally {
|
|
14136
14138
|
try {
|
|
14137
14139
|
if (!f && t["return"] != null && (u = t["return"](), Object(u) !== u))
|
|
@@ -14153,11 +14155,11 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
14153
14155
|
if (!t) {
|
|
14154
14156
|
if (Array.isArray(r) || (t = _unsupportedIterableToArray(r)) || e && r && typeof r.length == "number") {
|
|
14155
14157
|
t && (r = t);
|
|
14156
|
-
var _n = 0, F = function
|
|
14158
|
+
var _n = 0, F = function F() {};
|
|
14157
14159
|
return { s: F, n: function n() {
|
|
14158
14160
|
return _n >= r.length ? { done: true } : { done: false, value: r[_n++] };
|
|
14159
|
-
}, e: function
|
|
14160
|
-
throw
|
|
14161
|
+
}, e: function e(r) {
|
|
14162
|
+
throw r;
|
|
14161
14163
|
}, f: F };
|
|
14162
14164
|
}
|
|
14163
14165
|
throw new TypeError(`Invalid attempt to iterate non-iterable instance.
|
|
@@ -14167,10 +14169,10 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
14167
14169
|
return { s: function s() {
|
|
14168
14170
|
t = t.call(r);
|
|
14169
14171
|
}, n: function n() {
|
|
14170
|
-
var
|
|
14171
|
-
return a =
|
|
14172
|
-
}, e: function
|
|
14173
|
-
u = true, o =
|
|
14172
|
+
var r = t.next();
|
|
14173
|
+
return a = r.done, r;
|
|
14174
|
+
}, e: function e(r) {
|
|
14175
|
+
u = true, o = r;
|
|
14174
14176
|
}, f: function f() {
|
|
14175
14177
|
try {
|
|
14176
14178
|
a || t["return"] == null || t["return"]();
|
|
@@ -14241,14 +14243,14 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
14241
14243
|
function _isNativeReflectConstruct() {
|
|
14242
14244
|
try {
|
|
14243
14245
|
var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() {}));
|
|
14244
|
-
} catch (
|
|
14245
|
-
return (_isNativeReflectConstruct = function
|
|
14246
|
+
} catch (t) {}
|
|
14247
|
+
return (_isNativeReflectConstruct = function _isNativeReflectConstruct() {
|
|
14246
14248
|
return !!t;
|
|
14247
14249
|
})();
|
|
14248
14250
|
}
|
|
14249
14251
|
function _getPrototypeOf(t) {
|
|
14250
|
-
return _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function(
|
|
14251
|
-
return
|
|
14252
|
+
return _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function(t) {
|
|
14253
|
+
return t.__proto__ || Object.getPrototypeOf(t);
|
|
14252
14254
|
}, _getPrototypeOf(t);
|
|
14253
14255
|
}
|
|
14254
14256
|
function _inherits(t, e) {
|
|
@@ -14257,8 +14259,8 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
14257
14259
|
t.prototype = Object.create(e && e.prototype, { constructor: { value: t, writable: true, configurable: true } }), Object.defineProperty(t, "prototype", { writable: false }), e && _setPrototypeOf(t, e);
|
|
14258
14260
|
}
|
|
14259
14261
|
function _setPrototypeOf(t, e) {
|
|
14260
|
-
return _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function(
|
|
14261
|
-
return
|
|
14262
|
+
return _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function(t, e) {
|
|
14263
|
+
return t.__proto__ = e, t;
|
|
14262
14264
|
}, _setPrototypeOf(t, e);
|
|
14263
14265
|
}
|
|
14264
14266
|
var DISCONNECT_TIMEOUT = 3;
|
|
@@ -14291,9 +14293,9 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
14291
14293
|
var extendedClipboardActionNotify = 1 << 27;
|
|
14292
14294
|
var extendedClipboardActionProvide = 1 << 28;
|
|
14293
14295
|
var RFB = exports.default = /* @__PURE__ */ function(_EventTargetMixin) {
|
|
14294
|
-
function
|
|
14296
|
+
function RFB(target, urlOrChannel, options) {
|
|
14295
14297
|
var _this;
|
|
14296
|
-
_classCallCheck(this,
|
|
14298
|
+
_classCallCheck(this, RFB);
|
|
14297
14299
|
if (!target) {
|
|
14298
14300
|
throw new Error("Must specify target");
|
|
14299
14301
|
}
|
|
@@ -14303,7 +14305,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
14303
14305
|
if (!window.isSecureContext) {
|
|
14304
14306
|
Log.Error("noVNC requires a secure context (TLS). Expect crashes!");
|
|
14305
14307
|
}
|
|
14306
|
-
_this = _callSuper(this,
|
|
14308
|
+
_this = _callSuper(this, RFB);
|
|
14307
14309
|
_this._target = target;
|
|
14308
14310
|
if (typeof urlOrChannel === "string") {
|
|
14309
14311
|
_this._url = urlOrChannel;
|
|
@@ -14399,7 +14401,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
14399
14401
|
_this._canvas.tabIndex = -1;
|
|
14400
14402
|
_this._screen.appendChild(_this._canvas);
|
|
14401
14403
|
_this._cursor = new _cursor["default"];
|
|
14402
|
-
_this._cursorImage =
|
|
14404
|
+
_this._cursorImage = RFB.cursors.none;
|
|
14403
14405
|
_this._decoders[_encodings.encodings.encodingRaw] = new _raw["default"];
|
|
14404
14406
|
_this._decoders[_encodings.encodings.encodingCopyRect] = new _copyrect["default"];
|
|
14405
14407
|
_this._decoders[_encodings.encodings.encodingRRE] = new _rre["default"];
|
|
@@ -14448,8 +14450,8 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
14448
14450
|
_this._compressionLevel = 2;
|
|
14449
14451
|
return _this;
|
|
14450
14452
|
}
|
|
14451
|
-
_inherits(
|
|
14452
|
-
return _createClass(
|
|
14453
|
+
_inherits(RFB, _EventTargetMixin);
|
|
14454
|
+
return _createClass(RFB, [{
|
|
14453
14455
|
key: "viewOnly",
|
|
14454
14456
|
get: function get() {
|
|
14455
14457
|
return this._viewOnly;
|
|
@@ -14649,13 +14651,13 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
14649
14651
|
if (this._qemuExtKeyEventSupported && scancode) {
|
|
14650
14652
|
keysym = keysym || 0;
|
|
14651
14653
|
Log.Info("Sending key (" + (down ? "down" : "up") + "): keysym " + keysym + ", scancode " + scancode);
|
|
14652
|
-
|
|
14654
|
+
RFB.messages.QEMUExtendedKeyEvent(this._sock, keysym, down, scancode);
|
|
14653
14655
|
} else {
|
|
14654
14656
|
if (!keysym) {
|
|
14655
14657
|
return;
|
|
14656
14658
|
}
|
|
14657
14659
|
Log.Info("Sending keysym (" + (down ? "down" : "up") + "): " + keysym);
|
|
14658
|
-
|
|
14660
|
+
RFB.messages.keyEvent(this._sock, keysym, down ? 1 : 0);
|
|
14659
14661
|
}
|
|
14660
14662
|
}
|
|
14661
14663
|
}, {
|
|
@@ -14676,7 +14678,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
14676
14678
|
}
|
|
14677
14679
|
if (this._clipboardServerCapabilitiesFormats[extendedClipboardFormatText] && this._clipboardServerCapabilitiesActions[extendedClipboardActionNotify]) {
|
|
14678
14680
|
this._clipboardText = text;
|
|
14679
|
-
|
|
14681
|
+
RFB.messages.extendedClipboardNotify(this._sock, [extendedClipboardFormatText]);
|
|
14680
14682
|
} else {
|
|
14681
14683
|
var length, i;
|
|
14682
14684
|
var data;
|
|
@@ -14709,7 +14711,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
14709
14711
|
} finally {
|
|
14710
14712
|
_iterator2.f();
|
|
14711
14713
|
}
|
|
14712
|
-
|
|
14714
|
+
RFB.messages.clientCutText(this._sock, data);
|
|
14713
14715
|
}
|
|
14714
14716
|
}
|
|
14715
14717
|
}, {
|
|
@@ -14953,7 +14955,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
14953
14955
|
}
|
|
14954
14956
|
this._pendingRemoteResize = true;
|
|
14955
14957
|
this._lastResize = Date.now();
|
|
14956
|
-
|
|
14958
|
+
RFB.messages.setDesktopSize(this._sock, Math.floor(size.w), Math.floor(size.h), this._screenID, this._screenFlags);
|
|
14957
14959
|
Log.Debug("Requested new desktop size: " + size.w + "x" + size.h);
|
|
14958
14960
|
}
|
|
14959
14961
|
}, {
|
|
@@ -15153,7 +15155,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
15153
15155
|
return;
|
|
15154
15156
|
}
|
|
15155
15157
|
var pos = (0, _element.clientToElement)(ev.clientX, ev.clientY, this._canvas);
|
|
15156
|
-
var bmask =
|
|
15158
|
+
var bmask = RFB._convertButtonMask(ev.buttons);
|
|
15157
15159
|
var down = ev.type == "mousedown";
|
|
15158
15160
|
switch (ev.type) {
|
|
15159
15161
|
case "mousedown":
|
|
@@ -15249,9 +15251,9 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
15249
15251
|
}
|
|
15250
15252
|
var extendedMouseButtons = mask & 32640;
|
|
15251
15253
|
if (this._extendedPointerEventSupported && extendedMouseButtons) {
|
|
15252
|
-
|
|
15254
|
+
RFB.messages.extendedPointerEvent(this._sock, this._display.absX(x), this._display.absY(y), mask);
|
|
15253
15255
|
} else {
|
|
15254
|
-
|
|
15256
|
+
RFB.messages.pointerEvent(this._sock, this._display.absX(x), this._display.absY(y), mask);
|
|
15255
15257
|
}
|
|
15256
15258
|
}
|
|
15257
15259
|
}, {
|
|
@@ -15266,7 +15268,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
15266
15268
|
ev.stopPropagation();
|
|
15267
15269
|
ev.preventDefault();
|
|
15268
15270
|
var pos = (0, _element.clientToElement)(ev.clientX, ev.clientY, this._canvas);
|
|
15269
|
-
var bmask =
|
|
15271
|
+
var bmask = RFB._convertButtonMask(ev.buttons);
|
|
15270
15272
|
var dX = ev.deltaX;
|
|
15271
15273
|
var dY = ev.deltaY;
|
|
15272
15274
|
if (ev.deltaMode !== 0) {
|
|
@@ -15745,7 +15747,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
15745
15747
|
return false;
|
|
15746
15748
|
}
|
|
15747
15749
|
var challenge = Array.prototype.slice.call(this._sock.rQshiftBytes(16));
|
|
15748
|
-
var response =
|
|
15750
|
+
var response = RFB.genDES(this._rfbCredentials.password, challenge);
|
|
15749
15751
|
this._sock.sQpushBytes(response);
|
|
15750
15752
|
this._sock.flush();
|
|
15751
15753
|
this._rfbInitState = "SecurityResult";
|
|
@@ -16173,9 +16175,9 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
16173
16175
|
Log.Warn("Intel AMT KVM only supports 8/16 bit depths. Using low color mode.");
|
|
16174
16176
|
this._fbDepth = 8;
|
|
16175
16177
|
}
|
|
16176
|
-
|
|
16178
|
+
RFB.messages.pixelFormat(this._sock, this._fbDepth, true);
|
|
16177
16179
|
this._sendEncodings();
|
|
16178
|
-
|
|
16180
|
+
RFB.messages.fbUpdateRequest(this._sock, false, 0, 0, this._fbWidth, this._fbHeight);
|
|
16179
16181
|
this._updateConnectionState("connected");
|
|
16180
16182
|
return true;
|
|
16181
16183
|
}
|
|
@@ -16214,7 +16216,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
16214
16216
|
encs.push(_encodings.encodings.pseudoEncodingVMwareCursor);
|
|
16215
16217
|
encs.push(_encodings.encodings.pseudoEncodingCursor);
|
|
16216
16218
|
}
|
|
16217
|
-
|
|
16219
|
+
RFB.messages.clientEncodings(this._sock, encs);
|
|
16218
16220
|
}
|
|
16219
16221
|
}, {
|
|
16220
16222
|
key: "_initMsg",
|
|
@@ -16296,7 +16298,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
16296
16298
|
this._clipboardServerCapabilitiesActions[_index] = !!(actions & _index);
|
|
16297
16299
|
}
|
|
16298
16300
|
var clientActions = [extendedClipboardActionCaps, extendedClipboardActionRequest, extendedClipboardActionPeek, extendedClipboardActionNotify, extendedClipboardActionProvide];
|
|
16299
|
-
|
|
16301
|
+
RFB.messages.extendedClipboardCaps(this._sock, clientActions, {
|
|
16300
16302
|
extendedClipboardFormatText: 0
|
|
16301
16303
|
});
|
|
16302
16304
|
} else if (actions === extendedClipboardActionRequest) {
|
|
@@ -16305,7 +16307,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
16305
16307
|
}
|
|
16306
16308
|
if (this._clipboardText != null && this._clipboardServerCapabilitiesActions[extendedClipboardActionProvide]) {
|
|
16307
16309
|
if (formats & extendedClipboardFormatText) {
|
|
16308
|
-
|
|
16310
|
+
RFB.messages.extendedClipboardProvide(this._sock, [extendedClipboardFormatText], [this._clipboardText]);
|
|
16309
16311
|
}
|
|
16310
16312
|
}
|
|
16311
16313
|
} else if (actions === extendedClipboardActionPeek) {
|
|
@@ -16314,9 +16316,9 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
16314
16316
|
}
|
|
16315
16317
|
if (this._clipboardServerCapabilitiesActions[extendedClipboardActionNotify]) {
|
|
16316
16318
|
if (this._clipboardText != null) {
|
|
16317
|
-
|
|
16319
|
+
RFB.messages.extendedClipboardNotify(this._sock, [extendedClipboardFormatText]);
|
|
16318
16320
|
} else {
|
|
16319
|
-
|
|
16321
|
+
RFB.messages.extendedClipboardNotify(this._sock, []);
|
|
16320
16322
|
}
|
|
16321
16323
|
}
|
|
16322
16324
|
} else if (actions === extendedClipboardActionNotify) {
|
|
@@ -16325,7 +16327,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
16325
16327
|
}
|
|
16326
16328
|
if (this._clipboardServerCapabilitiesActions[extendedClipboardActionRequest]) {
|
|
16327
16329
|
if (formats & extendedClipboardFormatText) {
|
|
16328
|
-
|
|
16330
|
+
RFB.messages.extendedClipboardRequest(this._sock, [extendedClipboardFormatText]);
|
|
16329
16331
|
}
|
|
16330
16332
|
}
|
|
16331
16333
|
} else if (actions === extendedClipboardActionProvide) {
|
|
@@ -16403,7 +16405,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
16403
16405
|
return this._fail("Unexpected fence response");
|
|
16404
16406
|
}
|
|
16405
16407
|
flags &= 1 << 0 | 1 << 1;
|
|
16406
|
-
|
|
16408
|
+
RFB.messages.clientFence(this._sock, flags, payload);
|
|
16407
16409
|
return true;
|
|
16408
16410
|
}
|
|
16409
16411
|
}, {
|
|
@@ -16444,7 +16446,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
16444
16446
|
case 0:
|
|
16445
16447
|
ret = this._framebufferUpdate();
|
|
16446
16448
|
if (ret && !this._enabledContinuousUpdates) {
|
|
16447
|
-
|
|
16449
|
+
RFB.messages.fbUpdateRequest(this._sock, true, 0, 0, this._fbWidth, this._fbHeight);
|
|
16448
16450
|
}
|
|
16449
16451
|
return ret;
|
|
16450
16452
|
case 1:
|
|
@@ -16465,7 +16467,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
16465
16467
|
this._enabledContinuousUpdates = true;
|
|
16466
16468
|
this._updateContinuousUpdates();
|
|
16467
16469
|
Log.Info("Enabling continuous updates.");
|
|
16468
|
-
}
|
|
16470
|
+
}
|
|
16469
16471
|
return true;
|
|
16470
16472
|
case 248:
|
|
16471
16473
|
return this._handleServerFenceMsg();
|
|
@@ -16768,7 +16770,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
16768
16770
|
if (!this._enabledContinuousUpdates) {
|
|
16769
16771
|
return;
|
|
16770
16772
|
}
|
|
16771
|
-
|
|
16773
|
+
RFB.messages.enableContinuousUpdates(this._sock, true, 0, 0, this._fbWidth, this._fbHeight);
|
|
16772
16774
|
}
|
|
16773
16775
|
}, {
|
|
16774
16776
|
key: "_resize",
|
|
@@ -16788,7 +16790,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
16788
16790
|
return;
|
|
16789
16791
|
}
|
|
16790
16792
|
Log.Info("Sending XVP operation " + op + " (version " + ver + ")");
|
|
16791
|
-
|
|
16793
|
+
RFB.messages.xvpOp(this._sock, ver, op);
|
|
16792
16794
|
}
|
|
16793
16795
|
}, {
|
|
16794
16796
|
key: "_updateCursor",
|
|
@@ -16821,7 +16823,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
16821
16823
|
if (this._rfbConnectionState !== "connecting" && this._rfbConnectionState !== "connected") {
|
|
16822
16824
|
return;
|
|
16823
16825
|
}
|
|
16824
|
-
var image = this._shouldShowDotCursor() ?
|
|
16826
|
+
var image = this._shouldShowDotCursor() ? RFB.cursors.dot : this._cursorImage;
|
|
16825
16827
|
this._cursor.change(image.rgbaPixels, image.hotx, image.hoty, image.w, image.h);
|
|
16826
16828
|
}
|
|
16827
16829
|
}], [{
|