@supraio/client-daemon-js 1.0.0-mzscreengeometry.459 → 1.0.0-mzscreengeometry.461
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/daemon.html +1 -1
- package/daemon.js +2 -2
- package/package.json +1 -1
- package/screen.html +1 -1
- package/screen.js +2 -2
- package/sdk.js +4 -4
- package/supra-client-daemon.js +38 -23
- package/supra-client-daemon.js.map +1 -1
- package/supra-client-daemon.wasm +0 -0
- package/supra-client-screen.js +38 -23
- package/supra-client-screen.js.map +1 -1
- package/supra-client-screen.wasm +0 -0
package/daemon.html
CHANGED
package/daemon.js
CHANGED
|
@@ -20482,7 +20482,7 @@
|
|
|
20482
20482
|
}
|
|
20483
20483
|
|
|
20484
20484
|
// daemon/plain.ts
|
|
20485
|
-
var DAEMON_JS_URL = "supra-client-daemon.js?v=1.0.0-mzscreengeometry.
|
|
20485
|
+
var DAEMON_JS_URL = "supra-client-daemon.js?v=1.0.0-mzscreengeometry.461";
|
|
20486
20486
|
async function startPlainDaemon() {
|
|
20487
20487
|
await initNaClTCP();
|
|
20488
20488
|
await initSamsungWasmTCP();
|
|
@@ -20495,7 +20495,7 @@
|
|
|
20495
20495
|
}
|
|
20496
20496
|
|
|
20497
20497
|
// daemon/wasm.ts
|
|
20498
|
-
var DAEMON_WASM_URL = "supra-client-daemon.wasm?v=1.0.0-mzscreengeometry.
|
|
20498
|
+
var DAEMON_WASM_URL = "supra-client-daemon.wasm?v=1.0.0-mzscreengeometry.461";
|
|
20499
20499
|
async function startWasmDaemon() {
|
|
20500
20500
|
await initNaClTCP();
|
|
20501
20501
|
await initSamsungWasmTCP();
|
package/package.json
CHANGED
package/screen.html
CHANGED
package/screen.js
CHANGED
|
@@ -21046,7 +21046,7 @@ self.onmessage = function(event) {
|
|
|
21046
21046
|
}
|
|
21047
21047
|
|
|
21048
21048
|
// screen/plain.ts
|
|
21049
|
-
var SCREEN_JS_URL = "supra-client-screen.js?v=1.0.0-mzscreengeometry.
|
|
21049
|
+
var SCREEN_JS_URL = "supra-client-screen.js?v=1.0.0-mzscreengeometry.461";
|
|
21050
21050
|
async function startPlainScreen(options) {
|
|
21051
21051
|
console.log("[Supra screen plain] initialization begin");
|
|
21052
21052
|
options = options != null ? options : parseQueryOptions();
|
|
@@ -21089,7 +21089,7 @@ self.onmessage = function(event) {
|
|
|
21089
21089
|
}
|
|
21090
21090
|
|
|
21091
21091
|
// screen/wasm.ts
|
|
21092
|
-
var SCREEN_WASM_URL = "supra-client-screen.wasm?v=1.0.0-mzscreengeometry.
|
|
21092
|
+
var SCREEN_WASM_URL = "supra-client-screen.wasm?v=1.0.0-mzscreengeometry.461";
|
|
21093
21093
|
async function initializePhase(name, initialize) {
|
|
21094
21094
|
const startedAt = Date.now();
|
|
21095
21095
|
console.log(`[Supra screen WASM] ${name} begin`);
|
package/sdk.js
CHANGED
|
@@ -20651,7 +20651,7 @@ async function initSamsungWasmTCP() {
|
|
|
20651
20651
|
}
|
|
20652
20652
|
|
|
20653
20653
|
// daemon/plain.ts
|
|
20654
|
-
var DAEMON_JS_URL = "supra-client-daemon.js?v=1.0.0-mzscreengeometry.
|
|
20654
|
+
var DAEMON_JS_URL = "supra-client-daemon.js?v=1.0.0-mzscreengeometry.461";
|
|
20655
20655
|
async function startPlainDaemon() {
|
|
20656
20656
|
await initNaClTCP();
|
|
20657
20657
|
await initSamsungWasmTCP();
|
|
@@ -20664,7 +20664,7 @@ async function startPlainDaemon() {
|
|
|
20664
20664
|
}
|
|
20665
20665
|
|
|
20666
20666
|
// daemon/wasm.ts
|
|
20667
|
-
var DAEMON_WASM_URL = "supra-client-daemon.wasm?v=1.0.0-mzscreengeometry.
|
|
20667
|
+
var DAEMON_WASM_URL = "supra-client-daemon.wasm?v=1.0.0-mzscreengeometry.461";
|
|
20668
20668
|
async function startWasmDaemon() {
|
|
20669
20669
|
await initNaClTCP();
|
|
20670
20670
|
await initSamsungWasmTCP();
|
|
@@ -21088,7 +21088,7 @@ function getGoArgv2(binFile, options) {
|
|
|
21088
21088
|
}
|
|
21089
21089
|
|
|
21090
21090
|
// screen/plain.ts
|
|
21091
|
-
var SCREEN_JS_URL = "supra-client-screen.js?v=1.0.0-mzscreengeometry.
|
|
21091
|
+
var SCREEN_JS_URL = "supra-client-screen.js?v=1.0.0-mzscreengeometry.461";
|
|
21092
21092
|
async function startPlainScreen(options) {
|
|
21093
21093
|
console.log("[Supra screen plain] initialization begin");
|
|
21094
21094
|
options = options != null ? options : parseQueryOptions();
|
|
@@ -21131,7 +21131,7 @@ async function createH264Decoder() {
|
|
|
21131
21131
|
}
|
|
21132
21132
|
|
|
21133
21133
|
// screen/wasm.ts
|
|
21134
|
-
var SCREEN_WASM_URL = "supra-client-screen.wasm?v=1.0.0-mzscreengeometry.
|
|
21134
|
+
var SCREEN_WASM_URL = "supra-client-screen.wasm?v=1.0.0-mzscreengeometry.461";
|
|
21135
21135
|
async function initializePhase(name, initialize) {
|
|
21136
21136
|
const startedAt = Date.now();
|
|
21137
21137
|
console.log(`[Supra screen WASM] ${name} begin`);
|
package/supra-client-daemon.js
CHANGED
|
@@ -192892,7 +192892,7 @@ $packages["github.com/supraio/client-daemon/pkg/videostream"] = (function() {
|
|
|
192892
192892
|
return $pkg;
|
|
192893
192893
|
})();
|
|
192894
192894
|
$packages["github.com/supraio/client-daemon/pkg/decoder/sosstream"] = (function() {
|
|
192895
|
-
var $pkg = {}, $init, fmt, general, errs, jshelper, frame, videostream, js, SOSVideoStreamer, funcType, arrayType, sliceType, ptrType, ptrType$1, init;
|
|
192895
|
+
var $pkg = {}, $init, fmt, general, errs, jshelper, frame, videostream, js, SOSVideoStreamer, streamGeometry, funcType, arrayType, sliceType, ptrType, ptrType$1, init, getStreamGeometry;
|
|
192896
192896
|
fmt = $packages["fmt"];
|
|
192897
192897
|
general = $packages["github.com/supraio/client-daemon/pkg/decoder/general"];
|
|
192898
192898
|
errs = $packages["github.com/supraio/client-daemon/pkg/errs"];
|
|
@@ -192910,6 +192910,20 @@ $packages["github.com/supraio/client-daemon/pkg/decoder/sosstream"] = (function(
|
|
|
192910
192910
|
this.sos = sos_;
|
|
192911
192911
|
this.started = started_;
|
|
192912
192912
|
});
|
|
192913
|
+
streamGeometry = $pkg.streamGeometry = $newType(0, $kindStruct, "sosstream.streamGeometry", true, "github.com/supraio/client-daemon/pkg/decoder/sosstream", false, function(x_, y_, width_, height_) {
|
|
192914
|
+
this.$val = this;
|
|
192915
|
+
if (arguments.length === 0) {
|
|
192916
|
+
this.x = 0;
|
|
192917
|
+
this.y = 0;
|
|
192918
|
+
this.width = 0;
|
|
192919
|
+
this.height = 0;
|
|
192920
|
+
return;
|
|
192921
|
+
}
|
|
192922
|
+
this.x = x_;
|
|
192923
|
+
this.y = y_;
|
|
192924
|
+
this.width = width_;
|
|
192925
|
+
this.height = height_;
|
|
192926
|
+
});
|
|
192913
192927
|
funcType = $funcType([], [], false);
|
|
192914
192928
|
arrayType = $arrayType(funcType, 0);
|
|
192915
192929
|
sliceType = $sliceType($emptyInterface);
|
|
@@ -192927,7 +192941,7 @@ $packages["github.com/supraio/client-daemon/pkg/decoder/sosstream"] = (function(
|
|
|
192927
192941
|
};
|
|
192928
192942
|
SOSVideoStreamer.prototype.IsAvailable = function() { return this.$val.IsAvailable(); };
|
|
192929
192943
|
SOSVideoStreamer.ptr.prototype.Play = function() {
|
|
192930
|
-
var {$24r, $24r$1, _arg, _arg$1, _r, _r$1, _r$10, _r$11, _r$2, _r$3, _r$4, _r$5, _r$6, _r$7, _r$8, _r$9,
|
|
192944
|
+
var {$24r, $24r$1, _arg, _arg$1, _r, _r$1, _r$10, _r$11, _r$2, _r$3, _r$4, _r$5, _r$6, _r$7, _r$8, _r$9, _tuple, _tuple$1, err, geometry, hostname, m, options, playStream, port, preparePromise, protocol, sosProtocol, url, urlProtocol, $s, $r, $c} = $restore(this, {});
|
|
192931
192945
|
/* */ $s = $s || 0; s: while (true) { switch ($s) { case 0:
|
|
192932
192946
|
m = this;
|
|
192933
192947
|
/* */ if (!m.started) { $s = 1; continue; }
|
|
@@ -192940,25 +192954,13 @@ $packages["github.com/supraio/client-daemon/pkg/decoder/sosstream"] = (function(
|
|
|
192940
192954
|
sosProtocol = m.getSOSProtocol(protocol);
|
|
192941
192955
|
_r = fmt.Sprintf("%s://%s:%d", new sliceType([new $String(urlProtocol), new $String(hostname), new $Uint16(port)])); /* */ $s = 3; case 3: if($c) { $c = false; _r = _r.$blk(); } if (_r && _r.$blk !== undefined) { break s; }
|
|
192942
192956
|
url = _r;
|
|
192943
|
-
|
|
192944
|
-
_tmp$1 = 0;
|
|
192945
|
-
x = _tmp;
|
|
192946
|
-
y = _tmp$1;
|
|
192947
|
-
width = $clone($clone($clone(js.Global(), js.Value).Get("screen"), js.Value).Get("width"), js.Value).Int();
|
|
192948
|
-
height = $clone($clone($clone(js.Global(), js.Value).Get("screen"), js.Value).Get("height"), js.Value).Int();
|
|
192949
|
-
geometry = $clone($clone($clone(js.Global(), js.Value).Get("__supra"), js.Value).Get("geometry"), js.Value);
|
|
192950
|
-
if (!$clone(geometry, js.Value).IsUndefined() && !$clone(geometry, js.Value).IsNull()) {
|
|
192951
|
-
x = $clone($clone(geometry, js.Value).Get("x"), js.Value).Int();
|
|
192952
|
-
y = $clone($clone(geometry, js.Value).Get("y"), js.Value).Int();
|
|
192953
|
-
width = $clone($clone(geometry, js.Value).Get("width"), js.Value).Int();
|
|
192954
|
-
height = $clone($clone(geometry, js.Value).Get("height"), js.Value).Int();
|
|
192955
|
-
}
|
|
192957
|
+
geometry = $clone(getStreamGeometry(), streamGeometry);
|
|
192956
192958
|
_r$1 = $clone($clone(js.Global(), js.Value).Get("Object"), js.Value).New(sliceType.nil); /* */ $s = 4; case 4: if($c) { $c = false; _r$1 = _r$1.$blk(); } if (_r$1 && _r$1.$blk !== undefined) { break s; }
|
|
192957
192959
|
options = $clone(_r$1, js.Value);
|
|
192958
192960
|
$clone(options, js.Value).Set("background", new $Bool(true));
|
|
192959
192961
|
$clone(options, js.Value).Set("protocol", new $String(sosProtocol));
|
|
192960
192962
|
$clone(options, js.Value).Set("lowLatency", new $Bool(true));
|
|
192961
|
-
_r$2 = $clone($clone(m.sos, js.Value).Get("stream"), js.Value).Call("prepare", new sliceType([new $String(url), new $Int(x), new $Int(y), new $Int(width), new $Int(height), new options.constructor.elem(options)])); /* */ $s = 5; case 5: if($c) { $c = false; _r$2 = _r$2.$blk(); } if (_r$2 && _r$2.$blk !== undefined) { break s; }
|
|
192963
|
+
_r$2 = $clone($clone(m.sos, js.Value).Get("stream"), js.Value).Call("prepare", new sliceType([new $String(url), new $Int(geometry.x), new $Int(geometry.y), new $Int(geometry.width), new $Int(geometry.height), new options.constructor.elem(options)])); /* */ $s = 5; case 5: if($c) { $c = false; _r$2 = _r$2.$blk(); } if (_r$2 && _r$2.$blk !== undefined) { break s; }
|
|
192962
192964
|
preparePromise = $clone(_r$2, js.Value);
|
|
192963
192965
|
_r$3 = jshelper.Await($clone(preparePromise, js.Value)); /* */ $s = 6; case 6: if($c) { $c = false; _r$3 = _r$3.$blk(); } if (_r$3 && _r$3.$blk !== undefined) { break s; }
|
|
192964
192966
|
_tuple = _r$3;
|
|
@@ -192973,7 +192975,7 @@ $packages["github.com/supraio/client-daemon/pkg/decoder/sosstream"] = (function(
|
|
|
192973
192975
|
$24r = _r$6;
|
|
192974
192976
|
$s = 12; case 12: return $24r;
|
|
192975
192977
|
/* } */ case 8:
|
|
192976
|
-
_r$7 = $clone($clone(m.sos, js.Value).Get("stream"), js.Value).Call("play", new sliceType([new $String(url), new $Int(x), new $Int(y), new $Int(width), new $Int(height), new options.constructor.elem(options)])); /* */ $s = 13; case 13: if($c) { $c = false; _r$7 = _r$7.$blk(); } if (_r$7 && _r$7.$blk !== undefined) { break s; }
|
|
192978
|
+
_r$7 = $clone($clone(m.sos, js.Value).Get("stream"), js.Value).Call("play", new sliceType([new $String(url), new $Int(geometry.x), new $Int(geometry.y), new $Int(geometry.width), new $Int(geometry.height), new options.constructor.elem(options)])); /* */ $s = 13; case 13: if($c) { $c = false; _r$7 = _r$7.$blk(); } if (_r$7 && _r$7.$blk !== undefined) { break s; }
|
|
192977
192979
|
playStream = $clone(_r$7, js.Value);
|
|
192978
192980
|
_r$8 = jshelper.Await($clone(playStream, js.Value)); /* */ $s = 14; case 14: if($c) { $c = false; _r$8 = _r$8.$blk(); } if (_r$8 && _r$8.$blk !== undefined) { break s; }
|
|
192979
192981
|
_tuple$1 = _r$8;
|
|
@@ -192991,11 +192993,11 @@ $packages["github.com/supraio/client-daemon/pkg/decoder/sosstream"] = (function(
|
|
|
192991
192993
|
m.started = true;
|
|
192992
192994
|
/* } */ case 2:
|
|
192993
192995
|
$s = -1; return $ifaceNil;
|
|
192994
|
-
/* */ } return; } var $f = {$blk: SOSVideoStreamer.ptr.prototype.Play, $c: true, $r, $24r, $24r$1, _arg, _arg$1, _r, _r$1, _r$10, _r$11, _r$2, _r$3, _r$4, _r$5, _r$6, _r$7, _r$8, _r$9,
|
|
192996
|
+
/* */ } return; } var $f = {$blk: SOSVideoStreamer.ptr.prototype.Play, $c: true, $r, $24r, $24r$1, _arg, _arg$1, _r, _r$1, _r$10, _r$11, _r$2, _r$3, _r$4, _r$5, _r$6, _r$7, _r$8, _r$9, _tuple, _tuple$1, err, geometry, hostname, m, options, playStream, port, preparePromise, protocol, sosProtocol, url, urlProtocol, $s};return $f;
|
|
192995
192997
|
};
|
|
192996
192998
|
SOSVideoStreamer.prototype.Play = function() { return this.$val.Play(); };
|
|
192997
192999
|
SOSVideoStreamer.ptr.prototype.Stop = function() {
|
|
192998
|
-
var {$24r, _arg, _r, _r$1, _r$2, _r$3, _r$4, _r$5, _tuple, err,
|
|
193000
|
+
var {$24r, _arg, _r, _r$1, _r$2, _r$3, _r$4, _r$5, _tuple, err, geometry, hostname, m, port, protocol, stopPromise, url, urlProtocol, $s, $r, $c} = $restore(this, {});
|
|
192999
193001
|
/* */ $s = $s || 0; s: while (true) { switch ($s) { case 0:
|
|
193000
193002
|
m = this;
|
|
193001
193003
|
/* */ if (m.started) { $s = 1; continue; }
|
|
@@ -193007,9 +193009,8 @@ $packages["github.com/supraio/client-daemon/pkg/decoder/sosstream"] = (function(
|
|
|
193007
193009
|
urlProtocol = m.getURLProtocol(protocol);
|
|
193008
193010
|
_r = fmt.Sprintf("%s://%s:%d", new sliceType([new $String(urlProtocol), new $String(hostname), new $Uint16(port)])); /* */ $s = 3; case 3: if($c) { $c = false; _r = _r.$blk(); } if (_r && _r.$blk !== undefined) { break s; }
|
|
193009
193011
|
url = _r;
|
|
193010
|
-
|
|
193011
|
-
|
|
193012
|
-
_r$1 = $clone($clone(m.sos, js.Value).Get("stream"), js.Value).Call("stop", new sliceType([new $String(url), new $Int(0), new $Int(0), new $Int(width), new $Int(height)])); /* */ $s = 4; case 4: if($c) { $c = false; _r$1 = _r$1.$blk(); } if (_r$1 && _r$1.$blk !== undefined) { break s; }
|
|
193012
|
+
geometry = $clone(getStreamGeometry(), streamGeometry);
|
|
193013
|
+
_r$1 = $clone($clone(m.sos, js.Value).Get("stream"), js.Value).Call("stop", new sliceType([new $String(url), new $Int(geometry.x), new $Int(geometry.y), new $Int(geometry.width), new $Int(geometry.height)])); /* */ $s = 4; case 4: if($c) { $c = false; _r$1 = _r$1.$blk(); } if (_r$1 && _r$1.$blk !== undefined) { break s; }
|
|
193013
193014
|
stopPromise = $clone(_r$1, js.Value);
|
|
193014
193015
|
_r$2 = jshelper.Await($clone(stopPromise, js.Value)); /* */ $s = 5; case 5: if($c) { $c = false; _r$2 = _r$2.$blk(); } if (_r$2 && _r$2.$blk !== undefined) { break s; }
|
|
193015
193016
|
_tuple = _r$2;
|
|
@@ -193027,9 +193028,22 @@ $packages["github.com/supraio/client-daemon/pkg/decoder/sosstream"] = (function(
|
|
|
193027
193028
|
m.started = false;
|
|
193028
193029
|
/* } */ case 2:
|
|
193029
193030
|
$s = -1; return $ifaceNil;
|
|
193030
|
-
/* */ } return; } var $f = {$blk: SOSVideoStreamer.ptr.prototype.Stop, $c: true, $r, $24r, _arg, _r, _r$1, _r$2, _r$3, _r$4, _r$5, _tuple, err,
|
|
193031
|
+
/* */ } return; } var $f = {$blk: SOSVideoStreamer.ptr.prototype.Stop, $c: true, $r, $24r, _arg, _r, _r$1, _r$2, _r$3, _r$4, _r$5, _tuple, err, geometry, hostname, m, port, protocol, stopPromise, url, urlProtocol, $s};return $f;
|
|
193031
193032
|
};
|
|
193032
193033
|
SOSVideoStreamer.prototype.Stop = function() { return this.$val.Stop(); };
|
|
193034
|
+
getStreamGeometry = function() {
|
|
193035
|
+
var configuredGeometry, geometry;
|
|
193036
|
+
geometry = new streamGeometry.ptr(0, 0, $clone($clone($clone(js.Global(), js.Value).Get("screen"), js.Value).Get("width"), js.Value).Int(), $clone($clone($clone(js.Global(), js.Value).Get("screen"), js.Value).Get("height"), js.Value).Int());
|
|
193037
|
+
configuredGeometry = $clone($clone($clone(js.Global(), js.Value).Get("__supra"), js.Value).Get("geometry"), js.Value);
|
|
193038
|
+
if ($clone(configuredGeometry, js.Value).IsUndefined() || $clone(configuredGeometry, js.Value).IsNull()) {
|
|
193039
|
+
return geometry;
|
|
193040
|
+
}
|
|
193041
|
+
geometry.x = $clone($clone(configuredGeometry, js.Value).Get("x"), js.Value).Int();
|
|
193042
|
+
geometry.y = $clone($clone(configuredGeometry, js.Value).Get("y"), js.Value).Int();
|
|
193043
|
+
geometry.width = $clone($clone(configuredGeometry, js.Value).Get("width"), js.Value).Int();
|
|
193044
|
+
geometry.height = $clone($clone(configuredGeometry, js.Value).Get("height"), js.Value).Int();
|
|
193045
|
+
return geometry;
|
|
193046
|
+
};
|
|
193033
193047
|
SOSVideoStreamer.ptr.prototype.GetProtocol = function() {
|
|
193034
193048
|
var _1, m, protocol, protocolValue;
|
|
193035
193049
|
m = this;
|
|
@@ -193134,6 +193148,7 @@ $packages["github.com/supraio/client-daemon/pkg/decoder/sosstream"] = (function(
|
|
|
193134
193148
|
SOSVideoStreamer.prototype.getSOSProtocol = function(protocol) { return this.$val.getSOSProtocol(protocol); };
|
|
193135
193149
|
ptrType$1.methods = [{prop: "IsAvailable", name: "IsAvailable", pkg: "", typ: $funcType([], [$Bool], false)}, {prop: "Play", name: "Play", pkg: "", typ: $funcType([], [$error], false)}, {prop: "Stop", name: "Stop", pkg: "", typ: $funcType([], [$error], false)}, {prop: "GetProtocol", name: "GetProtocol", pkg: "", typ: $funcType([], [videostream.Protocol], false)}, {prop: "GetPort", name: "GetPort", pkg: "", typ: $funcType([], [$Uint16], false)}, {prop: "GetHostname", name: "GetHostname", pkg: "", typ: $funcType([], [$String], false)}, {prop: "getServerHostname", name: "getServerHostname", pkg: "github.com/supraio/client-daemon/pkg/decoder/sosstream", typ: $funcType([], [$String], false)}, {prop: "getStreamHostname", name: "getStreamHostname", pkg: "github.com/supraio/client-daemon/pkg/decoder/sosstream", typ: $funcType([videostream.Protocol], [$String], false)}, {prop: "getURLProtocol", name: "getURLProtocol", pkg: "github.com/supraio/client-daemon/pkg/decoder/sosstream", typ: $funcType([videostream.Protocol], [$String], false)}, {prop: "getSOSProtocol", name: "getSOSProtocol", pkg: "github.com/supraio/client-daemon/pkg/decoder/sosstream", typ: $funcType([videostream.Protocol], [$String], false)}];
|
|
193136
193150
|
SOSVideoStreamer.init("github.com/supraio/client-daemon/pkg/decoder/sosstream", [{prop: "sos", name: "sos", embedded: false, exported: false, typ: js.Value, tag: ""}, {prop: "started", name: "started", embedded: false, exported: false, typ: $Bool, tag: ""}]);
|
|
193151
|
+
streamGeometry.init("github.com/supraio/client-daemon/pkg/decoder/sosstream", [{prop: "x", name: "x", embedded: false, exported: false, typ: $Int, tag: ""}, {prop: "y", name: "y", embedded: false, exported: false, typ: $Int, tag: ""}, {prop: "width", name: "width", embedded: false, exported: false, typ: $Int, tag: ""}, {prop: "height", name: "height", embedded: false, exported: false, typ: $Int, tag: ""}]);
|
|
193137
193152
|
$init = function() {
|
|
193138
193153
|
$pkg.$init = function() {};
|
|
193139
193154
|
/* */ var $f, $c = false, $s = 0, $r; if (this !== undefined && this.$blk !== undefined) { $f = this; $c = true; $s = $f.$s; $r = $f.$r; } s: while (true) { switch ($s) { case 0:
|