Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@lrytz
Created February 8, 2016 13:07
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save lrytz/2210937e8d21641f12c9 to your computer and use it in GitHub Desktop.
Save lrytz/2210937e8d21641f12c9 to your computer and use it in GitHub Desktop.
diff --git a/gistfile1.js b/gistfile1.js
index f69c967..be9136a 100644
--- a/gistfile1.js
+++ b/gistfile1.js
@@ -1035,14 +1035,18 @@ $h_O.prototype = $c_O.prototype;
$c_O.prototype.init___ = (function() {
return this
});
-$c_O.prototype.hashCode__I = (function() {
- return $m_jl_System$().identityHashCode__O__I(this)
-});
$c_O.prototype.equals__O__Z = (function(that) {
return (this === that)
});
$c_O.prototype.toString__T = (function() {
- return (($objectGetClass(this).getName__T() + "@") + $m_jl_Integer$().toHexString__I__T(this.hashCode__I()))
+ var jsx$2 = $objectGetClass(this).getName__T();
+ var i = this.hashCode__I();
+ var x = (+(i >>> 0));
+ var jsx$1 = x["toString"](16);
+ return ((jsx$2 + "@") + jsx$1)
+});
+$c_O.prototype.hashCode__I = (function() {
+ return $systemIdentityHashCode(this)
});
$c_O.prototype["toString"] = (function() {
return this.toString__T()
@@ -1081,40 +1085,16 @@ function $h_Lorg_scalajs_benchmark_richards_Packet() {
/*<skip>*/
}
$h_Lorg_scalajs_benchmark_richards_Packet.prototype = $c_Lorg_scalajs_benchmark_richards_Packet.prototype;
-$c_Lorg_scalajs_benchmark_richards_Packet.prototype.link__Lorg_scalajs_benchmark_richards_Packet = (function() {
- return this.link$1
-});
-$c_Lorg_scalajs_benchmark_richards_Packet.prototype.link$und$eq__Lorg_scalajs_benchmark_richards_Packet__V = (function(x$1) {
- this.link$1 = x$1
-});
-$c_Lorg_scalajs_benchmark_richards_Packet.prototype.id__I = (function() {
- return this.id$1
-});
-$c_Lorg_scalajs_benchmark_richards_Packet.prototype.id$und$eq__I__V = (function(x$1) {
- this.id$1 = x$1
-});
-$c_Lorg_scalajs_benchmark_richards_Packet.prototype.kind__I = (function() {
- return this.kind$1
-});
-$c_Lorg_scalajs_benchmark_richards_Packet.prototype.a1__I = (function() {
- return this.a1$1
-});
-$c_Lorg_scalajs_benchmark_richards_Packet.prototype.a1$und$eq__I__V = (function(x$1) {
- this.a1$1 = x$1
-});
-$c_Lorg_scalajs_benchmark_richards_Packet.prototype.a2__AI = (function() {
- return this.a2$1
-});
$c_Lorg_scalajs_benchmark_richards_Packet.prototype.addTo__Lorg_scalajs_benchmark_richards_Packet__Lorg_scalajs_benchmark_richards_Packet = (function(queue) {
- this.link$und$eq__Lorg_scalajs_benchmark_richards_Packet__V(null);
+ this.link$1 = null;
if ((queue === null)) {
return this
} else {
var next = queue;
- while ((next.link__Lorg_scalajs_benchmark_richards_Packet() !== null)) {
- next = next.link__Lorg_scalajs_benchmark_richards_Packet()
+ while ((next.link$1 !== null)) {
+ next = next.link$1
};
- next.link$und$eq__Lorg_scalajs_benchmark_richards_Packet__V(this);
+ next.link$1 = this;
return queue
}
});
@@ -1122,7 +1102,6 @@ $c_Lorg_scalajs_benchmark_richards_Packet.prototype.init___Lorg_scalajs_benchmar
this.link$1 = link;
this.id$1 = id;
this.kind$1 = kind;
- $c_O.prototype.init___.call(this);
this.a1$1 = 0;
this.a2$1 = $newArrayObject($d_I.getArrayOf(), [4]);
return this
@@ -1151,97 +1130,71 @@ function $h_Lorg_scalajs_benchmark_richards_Scheduler() {
/*<skip>*/
}
$h_Lorg_scalajs_benchmark_richards_Scheduler.prototype = $c_Lorg_scalajs_benchmark_richards_Scheduler.prototype;
-$c_Lorg_scalajs_benchmark_richards_Scheduler.prototype.queueCount__I = (function() {
- return this.queueCount$1
-});
-$c_Lorg_scalajs_benchmark_richards_Scheduler.prototype.queueCount$und$eq__I__V = (function(x$1) {
- this.queueCount$1 = x$1
-});
-$c_Lorg_scalajs_benchmark_richards_Scheduler.prototype.holdCount__I = (function() {
- return this.holdCount$1
-});
-$c_Lorg_scalajs_benchmark_richards_Scheduler.prototype.holdCount$und$eq__I__V = (function(x$1) {
- this.holdCount$1 = x$1
-});
-$c_Lorg_scalajs_benchmark_richards_Scheduler.prototype.currentTcb__Lorg_scalajs_benchmark_richards_TaskControlBlock = (function() {
- return this.currentTcb$1
-});
-$c_Lorg_scalajs_benchmark_richards_Scheduler.prototype.currentTcb$und$eq__Lorg_scalajs_benchmark_richards_TaskControlBlock__V = (function(x$1) {
- this.currentTcb$1 = x$1
-});
-$c_Lorg_scalajs_benchmark_richards_Scheduler.prototype.currentId__I = (function() {
- return this.currentId$1
-});
-$c_Lorg_scalajs_benchmark_richards_Scheduler.prototype.currentId$und$eq__I__V = (function(x$1) {
- this.currentId$1 = x$1
-});
-$c_Lorg_scalajs_benchmark_richards_Scheduler.prototype.list__Lorg_scalajs_benchmark_richards_TaskControlBlock = (function() {
- return this.list$1
-});
-$c_Lorg_scalajs_benchmark_richards_Scheduler.prototype.list$und$eq__Lorg_scalajs_benchmark_richards_TaskControlBlock__V = (function(x$1) {
- this.list$1 = x$1
-});
-$c_Lorg_scalajs_benchmark_richards_Scheduler.prototype.blocks__ALorg_scalajs_benchmark_richards_TaskControlBlock = (function() {
- return this.blocks$1
-});
-$c_Lorg_scalajs_benchmark_richards_Scheduler.prototype.addIdleTask__I__I__Lorg_scalajs_benchmark_richards_Packet__I__V = (function(id, priority, queue, count) {
- this.addRunningTask__I__I__Lorg_scalajs_benchmark_richards_Packet__Lorg_scalajs_benchmark_richards_Task__V(id, priority, queue, new $c_Lorg_scalajs_benchmark_richards_IdleTask().init___Lorg_scalajs_benchmark_richards_Scheduler__I__I(this, 1, count))
-});
-$c_Lorg_scalajs_benchmark_richards_Scheduler.prototype.addWorkerTask__I__I__Lorg_scalajs_benchmark_richards_Packet__V = (function(id, priority, queue) {
- this.addTask__I__I__Lorg_scalajs_benchmark_richards_Packet__Lorg_scalajs_benchmark_richards_Task__V(id, priority, queue, new $c_Lorg_scalajs_benchmark_richards_WorkerTask().init___Lorg_scalajs_benchmark_richards_Scheduler__I__I(this, 2, 0))
-});
-$c_Lorg_scalajs_benchmark_richards_Scheduler.prototype.addHandlerTask__I__I__Lorg_scalajs_benchmark_richards_Packet__V = (function(id, priority, queue) {
- this.addTask__I__I__Lorg_scalajs_benchmark_richards_Packet__Lorg_scalajs_benchmark_richards_Task__V(id, priority, queue, new $c_Lorg_scalajs_benchmark_richards_HandlerTask().init___Lorg_scalajs_benchmark_richards_Scheduler(this))
-});
$c_Lorg_scalajs_benchmark_richards_Scheduler.prototype.addDeviceTask__I__I__Lorg_scalajs_benchmark_richards_Packet__V = (function(id, priority, queue) {
this.addTask__I__I__Lorg_scalajs_benchmark_richards_Packet__Lorg_scalajs_benchmark_richards_Task__V(id, priority, queue, new $c_Lorg_scalajs_benchmark_richards_DeviceTask().init___Lorg_scalajs_benchmark_richards_Scheduler(this))
});
-$c_Lorg_scalajs_benchmark_richards_Scheduler.prototype.addRunningTask__I__I__Lorg_scalajs_benchmark_richards_Packet__Lorg_scalajs_benchmark_richards_Task__V = (function(id, priority, queue, task) {
- this.addTask__I__I__Lorg_scalajs_benchmark_richards_Packet__Lorg_scalajs_benchmark_richards_Task__V(id, priority, queue, task);
- this.currentTcb__Lorg_scalajs_benchmark_richards_TaskControlBlock().setRunning__V()
+$c_Lorg_scalajs_benchmark_richards_Scheduler.prototype.init___ = (function() {
+ this.queueCount$1 = 0;
+ this.holdCount$1 = 0;
+ this.currentTcb$1 = null;
+ this.currentId$1 = 0;
+ this.list$1 = null;
+ this.blocks$1 = $newArrayObject($d_Lorg_scalajs_benchmark_richards_TaskControlBlock.getArrayOf(), [6]);
+ return this
});
-$c_Lorg_scalajs_benchmark_richards_Scheduler.prototype.addTask__I__I__Lorg_scalajs_benchmark_richards_Packet__Lorg_scalajs_benchmark_richards_Task__V = (function(id, priority, queue, task) {
- this.currentTcb$und$eq__Lorg_scalajs_benchmark_richards_TaskControlBlock__V(new $c_Lorg_scalajs_benchmark_richards_TaskControlBlock().init___Lorg_scalajs_benchmark_richards_TaskControlBlock__I__I__Lorg_scalajs_benchmark_richards_Packet__Lorg_scalajs_benchmark_richards_Task(this.list__Lorg_scalajs_benchmark_richards_TaskControlBlock(), id, priority, queue, task));
- this.list$und$eq__Lorg_scalajs_benchmark_richards_TaskControlBlock__V(this.currentTcb__Lorg_scalajs_benchmark_richards_TaskControlBlock());
- this.blocks__ALorg_scalajs_benchmark_richards_TaskControlBlock().u[id] = this.currentTcb__Lorg_scalajs_benchmark_richards_TaskControlBlock()
+$c_Lorg_scalajs_benchmark_richards_Scheduler.prototype.addIdleTask__I__I__Lorg_scalajs_benchmark_richards_Packet__I__V = (function(id, priority, queue, count) {
+ this.addRunningTask__I__I__Lorg_scalajs_benchmark_richards_Packet__Lorg_scalajs_benchmark_richards_Task__V(id, priority, queue, new $c_Lorg_scalajs_benchmark_richards_IdleTask().init___Lorg_scalajs_benchmark_richards_Scheduler__I__I(this, 1, count))
});
$c_Lorg_scalajs_benchmark_richards_Scheduler.prototype.schedule__V = (function() {
- this.currentTcb$und$eq__Lorg_scalajs_benchmark_richards_TaskControlBlock__V(this.list__Lorg_scalajs_benchmark_richards_TaskControlBlock());
- while ((this.currentTcb__Lorg_scalajs_benchmark_richards_TaskControlBlock() !== null)) {
- if (this.currentTcb__Lorg_scalajs_benchmark_richards_TaskControlBlock().isHeldOrSuspended__Z()) {
- this.currentTcb$und$eq__Lorg_scalajs_benchmark_richards_TaskControlBlock__V(this.currentTcb__Lorg_scalajs_benchmark_richards_TaskControlBlock().link__Lorg_scalajs_benchmark_richards_TaskControlBlock())
+ this.currentTcb$1 = this.list$1;
+ while ((this.currentTcb$1 !== null)) {
+ if (this.currentTcb$1.isHeldOrSuspended__Z()) {
+ this.currentTcb$1 = this.currentTcb$1.link$1
} else {
- this.currentId$und$eq__I__V(this.currentTcb__Lorg_scalajs_benchmark_richards_TaskControlBlock().id__I());
- this.currentTcb$und$eq__Lorg_scalajs_benchmark_richards_TaskControlBlock__V(this.currentTcb__Lorg_scalajs_benchmark_richards_TaskControlBlock().run__Lorg_scalajs_benchmark_richards_TaskControlBlock())
+ this.currentId$1 = this.currentTcb$1.id$1;
+ this.currentTcb$1 = this.currentTcb$1.run__Lorg_scalajs_benchmark_richards_TaskControlBlock()
}
}
});
+$c_Lorg_scalajs_benchmark_richards_Scheduler.prototype.queue__Lorg_scalajs_benchmark_richards_Packet__Lorg_scalajs_benchmark_richards_TaskControlBlock = (function(packet) {
+ var t = this.blocks$1.u[packet.id$1];
+ if ((t === null)) {
+ return t
+ } else {
+ this.queueCount$1 = ((1 + this.queueCount$1) | 0);
+ packet.link$1 = null;
+ packet.id$1 = this.currentId$1;
+ return t.checkPriorityAdd__Lorg_scalajs_benchmark_richards_TaskControlBlock__Lorg_scalajs_benchmark_richards_Packet__Lorg_scalajs_benchmark_richards_TaskControlBlock(this.currentTcb$1, packet)
+ }
+});
+$c_Lorg_scalajs_benchmark_richards_Scheduler.prototype.suspendCurrent__Lorg_scalajs_benchmark_richards_TaskControlBlock = (function() {
+ this.currentTcb$1.markAsSuspended__V();
+ return this.currentTcb$1
+});
$c_Lorg_scalajs_benchmark_richards_Scheduler.prototype.release__I__Lorg_scalajs_benchmark_richards_TaskControlBlock = (function(id) {
- var tcb = this.blocks__ALorg_scalajs_benchmark_richards_TaskControlBlock().u[id];
- return ((tcb === null) ? tcb : (tcb.markAsNotHeld__V(), ((tcb.priority__I() > this.currentTcb__Lorg_scalajs_benchmark_richards_TaskControlBlock().priority__I()) ? tcb : this.currentTcb__Lorg_scalajs_benchmark_richards_TaskControlBlock())))
+ var tcb = this.blocks$1.u[id];
+ return ((tcb === null) ? tcb : (tcb.markAsNotHeld__V(), ((tcb.priority$1 > this.currentTcb$1.priority$1) ? tcb : this.currentTcb$1)))
});
$c_Lorg_scalajs_benchmark_richards_Scheduler.prototype.holdCurrent__Lorg_scalajs_benchmark_richards_TaskControlBlock = (function() {
- this.holdCount$und$eq__I__V(((this.holdCount__I() + 1) | 0));
- this.currentTcb__Lorg_scalajs_benchmark_richards_TaskControlBlock().markAsHeld__V();
- return this.currentTcb__Lorg_scalajs_benchmark_richards_TaskControlBlock().link__Lorg_scalajs_benchmark_richards_TaskControlBlock()
+ this.holdCount$1 = ((1 + this.holdCount$1) | 0);
+ this.currentTcb$1.markAsHeld__V();
+ return this.currentTcb$1.link$1
});
-$c_Lorg_scalajs_benchmark_richards_Scheduler.prototype.suspendCurrent__Lorg_scalajs_benchmark_richards_TaskControlBlock = (function() {
- this.currentTcb__Lorg_scalajs_benchmark_richards_TaskControlBlock().markAsSuspended__V();
- return this.currentTcb__Lorg_scalajs_benchmark_richards_TaskControlBlock()
+$c_Lorg_scalajs_benchmark_richards_Scheduler.prototype.addRunningTask__I__I__Lorg_scalajs_benchmark_richards_Packet__Lorg_scalajs_benchmark_richards_Task__V = (function(id, priority, queue, task) {
+ this.addTask__I__I__Lorg_scalajs_benchmark_richards_Packet__Lorg_scalajs_benchmark_richards_Task__V(id, priority, queue, task);
+ var this$1 = this.currentTcb$1;
+ this$1.state$1 = 0
});
-$c_Lorg_scalajs_benchmark_richards_Scheduler.prototype.queue__Lorg_scalajs_benchmark_richards_Packet__Lorg_scalajs_benchmark_richards_TaskControlBlock = (function(packet) {
- var t = this.blocks__ALorg_scalajs_benchmark_richards_TaskControlBlock().u[packet.id__I()];
- return ((t === null) ? t : (this.queueCount$und$eq__I__V(((this.queueCount__I() + 1) | 0)), packet.link$und$eq__Lorg_scalajs_benchmark_richards_Packet__V(null), packet.id$und$eq__I__V(this.currentId__I()), t.checkPriorityAdd__Lorg_scalajs_benchmark_richards_TaskControlBlock__Lorg_scalajs_benchmark_richards_Packet__Lorg_scalajs_benchmark_richards_TaskControlBlock(this.currentTcb__Lorg_scalajs_benchmark_richards_TaskControlBlock(), packet)))
+$c_Lorg_scalajs_benchmark_richards_Scheduler.prototype.addTask__I__I__Lorg_scalajs_benchmark_richards_Packet__Lorg_scalajs_benchmark_richards_Task__V = (function(id, priority, queue, task) {
+ this.currentTcb$1 = new $c_Lorg_scalajs_benchmark_richards_TaskControlBlock().init___Lorg_scalajs_benchmark_richards_TaskControlBlock__I__I__Lorg_scalajs_benchmark_richards_Packet__Lorg_scalajs_benchmark_richards_Task(this.list$1, id, priority, queue, task);
+ this.list$1 = this.currentTcb$1;
+ this.blocks$1.u[id] = this.currentTcb$1
});
-$c_Lorg_scalajs_benchmark_richards_Scheduler.prototype.init___ = (function() {
- $c_O.prototype.init___.call(this);
- this.queueCount$1 = 0;
- this.holdCount$1 = 0;
- this.currentTcb$1 = null;
- this.currentId$1 = 0;
- this.list$1 = null;
- this.blocks$1 = $newArrayObject($d_Lorg_scalajs_benchmark_richards_TaskControlBlock.getArrayOf(), [6]);
- return this
+$c_Lorg_scalajs_benchmark_richards_Scheduler.prototype.addWorkerTask__I__I__Lorg_scalajs_benchmark_richards_Packet__V = (function(id, priority, queue) {
+ this.addTask__I__I__Lorg_scalajs_benchmark_richards_Packet__Lorg_scalajs_benchmark_richards_Task__V(id, priority, queue, new $c_Lorg_scalajs_benchmark_richards_WorkerTask().init___Lorg_scalajs_benchmark_richards_Scheduler__I__I(this, 2, 0))
+});
+$c_Lorg_scalajs_benchmark_richards_Scheduler.prototype.addHandlerTask__I__I__Lorg_scalajs_benchmark_richards_Packet__V = (function(id, priority, queue) {
+ this.addTask__I__I__Lorg_scalajs_benchmark_richards_Packet__Lorg_scalajs_benchmark_richards_Task__V(id, priority, queue, new $c_Lorg_scalajs_benchmark_richards_HandlerTask().init___Lorg_scalajs_benchmark_richards_Scheduler(this))
});
var $d_Lorg_scalajs_benchmark_richards_Scheduler = new $TypeData().initClass({
Lorg_scalajs_benchmark_richards_Scheduler: 0
@@ -1261,10 +1214,6 @@ function $h_Lorg_scalajs_benchmark_richards_Task() {
/*<skip>*/
}
$h_Lorg_scalajs_benchmark_richards_Task.prototype = $c_Lorg_scalajs_benchmark_richards_Task.prototype;
-$c_Lorg_scalajs_benchmark_richards_Task.prototype.init___Lorg_scalajs_benchmark_richards_Scheduler = (function(scheduler) {
- $c_O.prototype.init___.call(this);
- return this
-});
/** @constructor */
function $c_Lorg_scalajs_benchmark_richards_TaskControlBlock() {
$c_O.call(this);
@@ -1282,58 +1231,32 @@ function $h_Lorg_scalajs_benchmark_richards_TaskControlBlock() {
/*<skip>*/
}
$h_Lorg_scalajs_benchmark_richards_TaskControlBlock.prototype = $c_Lorg_scalajs_benchmark_richards_TaskControlBlock.prototype;
-$c_Lorg_scalajs_benchmark_richards_TaskControlBlock.prototype.link__Lorg_scalajs_benchmark_richards_TaskControlBlock = (function() {
- return this.link$1
-});
-$c_Lorg_scalajs_benchmark_richards_TaskControlBlock.prototype.id__I = (function() {
- return this.id$1
-});
-$c_Lorg_scalajs_benchmark_richards_TaskControlBlock.prototype.priority__I = (function() {
- return this.priority$1
-});
-$c_Lorg_scalajs_benchmark_richards_TaskControlBlock.prototype.queue__Lorg_scalajs_benchmark_richards_Packet = (function() {
- return this.queue$1
-});
-$c_Lorg_scalajs_benchmark_richards_TaskControlBlock.prototype.queue$und$eq__Lorg_scalajs_benchmark_richards_Packet__V = (function(x$1) {
- this.queue$1 = x$1
-});
-$c_Lorg_scalajs_benchmark_richards_TaskControlBlock.prototype.state__I = (function() {
- return this.state$1
-});
-$c_Lorg_scalajs_benchmark_richards_TaskControlBlock.prototype.state$und$eq__I__V = (function(x$1) {
- this.state$1 = x$1
-});
-$c_Lorg_scalajs_benchmark_richards_TaskControlBlock.prototype.setRunning__V = (function() {
- this.state$und$eq__I__V(0)
-});
-$c_Lorg_scalajs_benchmark_richards_TaskControlBlock.prototype.markAsNotHeld__V = (function() {
- this.state$und$eq__I__V((this.state__I() & $m_Lorg_scalajs_benchmark_richards_TaskState$().NOT$undHELD__I()))
-});
-$c_Lorg_scalajs_benchmark_richards_TaskControlBlock.prototype.markAsHeld__V = (function() {
- this.state$und$eq__I__V((this.state__I() | 4))
-});
-$c_Lorg_scalajs_benchmark_richards_TaskControlBlock.prototype.isHeldOrSuspended__Z = (function() {
- return (((this.state__I() & 4) !== 0) || (this.state__I() === 2))
-});
$c_Lorg_scalajs_benchmark_richards_TaskControlBlock.prototype.markAsSuspended__V = (function() {
- this.state$und$eq__I__V((this.state__I() | 2))
+ this.state$1 = (2 | this.state$1)
});
-$c_Lorg_scalajs_benchmark_richards_TaskControlBlock.prototype.markAsRunnable__V = (function() {
- this.state$und$eq__I__V((this.state__I() | 1))
+$c_Lorg_scalajs_benchmark_richards_TaskControlBlock.prototype.checkPriorityAdd__Lorg_scalajs_benchmark_richards_TaskControlBlock__Lorg_scalajs_benchmark_richards_Packet__Lorg_scalajs_benchmark_richards_TaskControlBlock = (function(task, packet) {
+ if ((this.queue$1 === null)) {
+ this.queue$1 = packet;
+ this.markAsRunnable__V();
+ return ((this.priority$1 > task.priority$1) ? this : task)
+ } else {
+ this.queue$1 = packet.addTo__Lorg_scalajs_benchmark_richards_Packet__Lorg_scalajs_benchmark_richards_Packet(this.queue$1);
+ return task
+ }
});
$c_Lorg_scalajs_benchmark_richards_TaskControlBlock.prototype.run__Lorg_scalajs_benchmark_richards_TaskControlBlock = (function() {
- var packet = ((this.state__I() === 3) ? this.queue__Lorg_scalajs_benchmark_richards_Packet() : null);
+ var packet = ((this.state$1 === 3) ? this.queue$1 : null);
if ((packet !== null)) {
- this.queue$und$eq__Lorg_scalajs_benchmark_richards_Packet__V(packet.link__Lorg_scalajs_benchmark_richards_Packet());
- this.state$und$eq__I__V(((this.queue__Lorg_scalajs_benchmark_richards_Packet() === null) ? 0 : 1))
+ this.queue$1 = packet.link$1;
+ this.state$1 = ((this.queue$1 === null) ? 0 : 1)
};
return this.task$1.run__Lorg_scalajs_benchmark_richards_Packet__Lorg_scalajs_benchmark_richards_TaskControlBlock(packet)
});
-$c_Lorg_scalajs_benchmark_richards_TaskControlBlock.prototype.checkPriorityAdd__Lorg_scalajs_benchmark_richards_TaskControlBlock__Lorg_scalajs_benchmark_richards_Packet__Lorg_scalajs_benchmark_richards_TaskControlBlock = (function(task, packet) {
- return ((this.queue__Lorg_scalajs_benchmark_richards_Packet() === null) ? (this.queue$und$eq__Lorg_scalajs_benchmark_richards_Packet__V(packet), this.markAsRunnable__V(), ((this.priority__I() > task.priority__I()) ? this : task)) : (this.queue$und$eq__Lorg_scalajs_benchmark_richards_Packet__V(packet.addTo__Lorg_scalajs_benchmark_richards_Packet__Lorg_scalajs_benchmark_richards_Packet(this.queue__Lorg_scalajs_benchmark_richards_Packet())), task))
+$c_Lorg_scalajs_benchmark_richards_TaskControlBlock.prototype.markAsNotHeld__V = (function() {
+ this.state$1 = (this.state$1 & $m_Lorg_scalajs_benchmark_richards_TaskState$().NOT$undHELD$1)
});
$c_Lorg_scalajs_benchmark_richards_TaskControlBlock.prototype.toString__T = (function() {
- return new $c_s_StringContext().init___sc_Seq(new $c_sjs_js_WrappedArray().init___sjs_js_Array(["tcb { ", "@", " }"])).s__sc_Seq__T(new $c_sjs_js_WrappedArray().init___sjs_js_Array([this.task$1, this.state__I()]))
+ return new $c_s_StringContext().init___sc_Seq(new $c_sjs_js_WrappedArray().init___sjs_js_Array(["tcb { ", "@", " }"])).s__sc_Seq__T(new $c_sjs_js_WrappedArray().init___sjs_js_Array([this.task$1, this.state$1]))
});
$c_Lorg_scalajs_benchmark_richards_TaskControlBlock.prototype.init___Lorg_scalajs_benchmark_richards_TaskControlBlock__I__I__Lorg_scalajs_benchmark_richards_Packet__Lorg_scalajs_benchmark_richards_Task = (function(link, id, priority, queue, task) {
this.link$1 = link;
@@ -1341,10 +1264,18 @@ $c_Lorg_scalajs_benchmark_richards_TaskControlBlock.prototype.init___Lorg_scalaj
this.priority$1 = priority;
this.queue$1 = queue;
this.task$1 = task;
- $c_O.prototype.init___.call(this);
- this.state$1 = ((this.queue__Lorg_scalajs_benchmark_richards_Packet() === null) ? 2 : 3);
+ this.state$1 = ((this.queue$1 === null) ? 2 : 3);
return this
});
+$c_Lorg_scalajs_benchmark_richards_TaskControlBlock.prototype.markAsRunnable__V = (function() {
+ this.state$1 = (1 | this.state$1)
+});
+$c_Lorg_scalajs_benchmark_richards_TaskControlBlock.prototype.markAsHeld__V = (function() {
+ this.state$1 = (4 | this.state$1)
+});
+$c_Lorg_scalajs_benchmark_richards_TaskControlBlock.prototype.isHeldOrSuspended__Z = (function() {
+ return (((4 & this.state$1) !== 0) || (this.state$1 === 2))
+});
var $d_Lorg_scalajs_benchmark_richards_TaskControlBlock = new $TypeData().initClass({
Lorg_scalajs_benchmark_richards_TaskControlBlock: 0
}, false, "org.scalajs.benchmark.richards.TaskControlBlock", {
@@ -1369,13 +1300,8 @@ function $h_Lorg_scalajs_benchmark_richards_TaskState$() {
/*<skip>*/
}
$h_Lorg_scalajs_benchmark_richards_TaskState$.prototype = $c_Lorg_scalajs_benchmark_richards_TaskState$.prototype;
-$c_Lorg_scalajs_benchmark_richards_TaskState$.prototype.NOT$undHELD__I = (function() {
- return this.NOT$undHELD$1
-});
$c_Lorg_scalajs_benchmark_richards_TaskState$.prototype.init___ = (function() {
- $c_O.prototype.init___.call(this);
- $n_Lorg_scalajs_benchmark_richards_TaskState$ = this;
- this.NOT$undHELD$1 = (~4);
+ this.NOT$undHELD$1 = (-5);
return this
});
var $d_Lorg_scalajs_benchmark_richards_TaskState$ = new $TypeData().initClass({
@@ -1393,139 +1319,6 @@ function $m_Lorg_scalajs_benchmark_richards_TaskState$() {
return $n_Lorg_scalajs_benchmark_richards_TaskState$
}
/** @constructor */
-function $c_jl_Boolean$() {
- $c_O.call(this);
- this.TYPE$1 = null
-}
-$c_jl_Boolean$.prototype = new $h_O();
-$c_jl_Boolean$.prototype["constructor"] = $c_jl_Boolean$;
-/** @constructor */
-function $h_jl_Boolean$() {
- /*<skip>*/
-}
-$h_jl_Boolean$.prototype = $c_jl_Boolean$.prototype;
-$c_jl_Boolean$.prototype.valueOf__Z__jl_Boolean = (function(booleanValue) {
- return booleanValue
-});
-$c_jl_Boolean$.prototype.toString__Z__T = (function(b) {
- return ("" + b)
-});
-$c_jl_Boolean$.prototype.init___ = (function() {
- $c_O.prototype.init___.call(this);
- $n_jl_Boolean$ = this;
- return this
-});
-var $d_jl_Boolean$ = new $TypeData().initClass({
- jl_Boolean$: 0
-}, false, "java.lang.Boolean$", {
- jl_Boolean$: 1,
- O: 1
-});
-$c_jl_Boolean$.prototype.$classData = $d_jl_Boolean$;
-var $n_jl_Boolean$ = (void 0);
-function $m_jl_Boolean$() {
- if ((!$n_jl_Boolean$)) {
- $n_jl_Boolean$ = new $c_jl_Boolean$().init___()
- };
- return $n_jl_Boolean$
-}
-/** @constructor */
-function $c_jl_Byte$() {
- $c_O.call(this);
- this.TYPE$1 = null;
- this.SIZE$1 = 0
-}
-$c_jl_Byte$.prototype = new $h_O();
-$c_jl_Byte$.prototype["constructor"] = $c_jl_Byte$;
-/** @constructor */
-function $h_jl_Byte$() {
- /*<skip>*/
-}
-$h_jl_Byte$.prototype = $c_jl_Byte$.prototype;
-$c_jl_Byte$.prototype.toString__B__T = (function(b) {
- return ("" + b)
-});
-$c_jl_Byte$.prototype.init___ = (function() {
- $c_O.prototype.init___.call(this);
- $n_jl_Byte$ = this;
- return this
-});
-var $d_jl_Byte$ = new $TypeData().initClass({
- jl_Byte$: 0
-}, false, "java.lang.Byte$", {
- jl_Byte$: 1,
- O: 1
-});
-$c_jl_Byte$.prototype.$classData = $d_jl_Byte$;
-var $n_jl_Byte$ = (void 0);
-function $m_jl_Byte$() {
- if ((!$n_jl_Byte$)) {
- $n_jl_Byte$ = new $c_jl_Byte$().init___()
- };
- return $n_jl_Byte$
-}
-/** @constructor */
-function $c_jl_Character$() {
- $c_O.call(this);
- this.TYPE$1 = null;
- this.MIN$undVALUE$1 = 0;
- this.MAX$undVALUE$1 = 0;
- this.SIZE$1 = 0;
- this.MIN$undRADIX$1 = 0;
- this.MAX$undRADIX$1 = 0;
- this.MIN$undHIGH$undSURROGATE$1 = 0;
- this.MAX$undHIGH$undSURROGATE$1 = 0;
- this.MIN$undLOW$undSURROGATE$1 = 0;
- this.MAX$undLOW$undSURROGATE$1 = 0;
- this.MIN$undSURROGATE$1 = 0;
- this.MAX$undSURROGATE$1 = 0;
- this.MIN$undCODE$undPOINT$1 = 0;
- this.MAX$undCODE$undPOINT$1 = 0;
- this.MIN$undSUPPLEMENTARY$undCODE$undPOINT$1 = 0;
- this.HighSurrogateMask$1 = 0;
- this.HighSurrogateID$1 = 0;
- this.LowSurrogateMask$1 = 0;
- this.LowSurrogateID$1 = 0;
- this.SurrogateUsefulPartMask$1 = 0;
- this.java$lang$Character$$charTypesFirst256$1 = null;
- this.charTypeIndices$1 = null;
- this.charTypes$1 = null;
- this.isMirroredIndices$1 = null;
- this.bitmap$0$1 = 0
-}
-$c_jl_Character$.prototype = new $h_O();
-$c_jl_Character$.prototype["constructor"] = $c_jl_Character$;
-/** @constructor */
-function $h_jl_Character$() {
- /*<skip>*/
-}
-$h_jl_Character$.prototype = $c_jl_Character$.prototype;
-$c_jl_Character$.prototype.valueOf__C__jl_Character = (function(charValue) {
- return new $c_jl_Character().init___C(charValue)
-});
-$c_jl_Character$.prototype.toString__C__T = (function(c) {
- return $m_sjs_js_Dynamic$().global__sjs_js_Dynamic()["String"]["fromCharCode"]($m_sjs_js_Any$().fromInt__I__sjs_js_Any(c))
-});
-$c_jl_Character$.prototype.init___ = (function() {
- $c_O.prototype.init___.call(this);
- $n_jl_Character$ = this;
- return this
-});
-var $d_jl_Character$ = new $TypeData().initClass({
- jl_Character$: 0
-}, false, "java.lang.Character$", {
- jl_Character$: 1,
- O: 1
-});
-$c_jl_Character$.prototype.$classData = $d_jl_Character$;
-var $n_jl_Character$ = (void 0);
-function $m_jl_Character$() {
- if ((!$n_jl_Character$)) {
- $n_jl_Character$ = new $c_jl_Character$().init___()
- };
- return $n_jl_Character$
-}
-/** @constructor */
function $c_jl_Class() {
$c_O.call(this);
this.data$1 = null
@@ -1537,23 +1330,22 @@ function $h_jl_Class() {
/*<skip>*/
}
$h_jl_Class.prototype = $c_jl_Class.prototype;
-$c_jl_Class.prototype.toString__T = (function() {
- return (("" + (this.isInterface__Z() ? "interface " : (this.isPrimitive__Z() ? "" : "class "))) + this.getName__T())
-});
-$c_jl_Class.prototype.isInterface__Z = (function() {
- return (!(!this.data$1["isInterface"]))
+$c_jl_Class.prototype.getName__T = (function() {
+ return this.data$1["name"]
});
$c_jl_Class.prototype.isPrimitive__Z = (function() {
return (!(!this.data$1["isPrimitive"]))
});
-$c_jl_Class.prototype.getName__T = (function() {
- return this.data$1["name"]
+$c_jl_Class.prototype.toString__T = (function() {
+ return ((this.isInterface__Z() ? "interface " : (this.isPrimitive__Z() ? "" : "class ")) + this.getName__T())
});
$c_jl_Class.prototype.init___jl_ScalaJSClassData = (function(data) {
this.data$1 = data;
- $c_O.prototype.init___.call(this);
return this
});
+$c_jl_Class.prototype.isInterface__Z = (function() {
+ return (!(!this.data$1["isInterface"]))
+});
var $d_jl_Class = new $TypeData().initClass({
jl_Class: 0
}, false, "java.lang.Class", {
@@ -1583,16 +1375,13 @@ function $h_jl_Double$() {
/*<skip>*/
}
$h_jl_Double$.prototype = $c_jl_Double$.prototype;
-$c_jl_Double$.prototype.valueOf__D__jl_Double = (function(doubleValue) {
- return doubleValue
-});
-$c_jl_Double$.prototype.toString__D__T = (function(d) {
- return ("" + d)
+$c_jl_Double$.prototype.init___ = (function() {
+ return this
});
$c_jl_Double$.prototype.compare__D__D__I = (function(a, b) {
- if (this.isNaN__D__Z(a)) {
- return (this.isNaN__D__Z(b) ? 0 : 1)
- } else if (this.isNaN__D__Z(b)) {
+ if ((a !== a)) {
+ return ((b !== b) ? 0 : 1)
+ } else if ((b !== b)) {
return (-1)
} else if ((a === b)) {
if ((a === 0.0)) {
@@ -1605,17 +1394,6 @@ $c_jl_Double$.prototype.compare__D__D__I = (function(a, b) {
return ((a < b) ? (-1) : 1)
}
});
-$c_jl_Double$.prototype.isNaN__D__Z = (function(v) {
- return (v !== v)
-});
-$c_jl_Double$.prototype.isInfinite__D__Z = (function(v) {
- return ((v === Infinity) || (v === (-Infinity)))
-});
-$c_jl_Double$.prototype.init___ = (function() {
- $c_O.prototype.init___.call(this);
- $n_jl_Double$ = this;
- return this
-});
var $d_jl_Double$ = new $TypeData().initClass({
jl_Double$: 0
}, false, "java.lang.Double$", {
@@ -1631,2541 +1409,1035 @@ function $m_jl_Double$() {
return $n_jl_Double$
}
/** @constructor */
-function $c_jl_Float$() {
- $c_O.call(this);
- this.TYPE$1 = null;
- this.POSITIVE$undINFINITY$1 = 0.0;
- this.NEGATIVE$undINFINITY$1 = 0.0;
- this.NaN$1 = 0.0;
- this.MAX$undVALUE$1 = 0.0;
- this.MIN$undVALUE$1 = 0.0;
- this.MAX$undEXPONENT$1 = 0;
- this.MIN$undEXPONENT$1 = 0;
- this.SIZE$1 = 0
+function $c_jl_Number() {
+ $c_O.call(this)
}
-$c_jl_Float$.prototype = new $h_O();
-$c_jl_Float$.prototype["constructor"] = $c_jl_Float$;
+$c_jl_Number.prototype = new $h_O();
+$c_jl_Number.prototype["constructor"] = $c_jl_Number;
/** @constructor */
-function $h_jl_Float$() {
+function $h_jl_Number() {
/*<skip>*/
}
-$h_jl_Float$.prototype = $c_jl_Float$.prototype;
-$c_jl_Float$.prototype.toString__F__T = (function(f) {
- return ("" + f)
-});
-$c_jl_Float$.prototype.init___ = (function() {
- $c_O.prototype.init___.call(this);
- $n_jl_Float$ = this;
- return this
-});
-var $d_jl_Float$ = new $TypeData().initClass({
- jl_Float$: 0
-}, false, "java.lang.Float$", {
- jl_Float$: 1,
- O: 1
-});
-$c_jl_Float$.prototype.$classData = $d_jl_Float$;
-var $n_jl_Float$ = (void 0);
-function $m_jl_Float$() {
- if ((!$n_jl_Float$)) {
- $n_jl_Float$ = new $c_jl_Float$().init___()
- };
- return $n_jl_Float$
+$h_jl_Number.prototype = $c_jl_Number.prototype;
+function $is_jl_Number(obj) {
+ return (!(!(((obj && obj.$classData) && obj.$classData.ancestors.jl_Number) || ((typeof obj) === "number"))))
+}
+function $isArrayOf_jl_Number(obj, depth) {
+ return (!(!(((obj && obj.$classData) && (obj.$classData.arrayDepth === depth)) && obj.$classData.arrayBase.ancestors.jl_Number)))
}
/** @constructor */
-function $c_jl_Integer$() {
+function $c_jl_System$() {
$c_O.call(this);
- this.TYPE$1 = null;
- this.MIN$undVALUE$1 = 0;
- this.MAX$undVALUE$1 = 0;
- this.SIZE$1 = 0;
- this.BYTES$1 = 0
+ this.out$1 = null;
+ this.err$1 = null;
+ this.in$1 = null;
+ this.getHighPrecisionTime$1 = null
}
-$c_jl_Integer$.prototype = new $h_O();
-$c_jl_Integer$.prototype["constructor"] = $c_jl_Integer$;
+$c_jl_System$.prototype = new $h_O();
+$c_jl_System$.prototype["constructor"] = $c_jl_System$;
/** @constructor */
-function $h_jl_Integer$() {
+function $h_jl_System$() {
/*<skip>*/
}
-$h_jl_Integer$.prototype = $c_jl_Integer$.prototype;
-$c_jl_Integer$.prototype.toString__I__T = (function(i) {
- return ("" + i)
-});
-$c_jl_Integer$.prototype.rotateLeft__I__I__I = (function(i, distance) {
- return ((i << distance) | ((i >>> ((-distance) | 0)) | 0))
-});
-$c_jl_Integer$.prototype.numberOfLeadingZeros__I__I = (function(i) {
- var x = i;
- if ((x === 0)) {
- return 32
+$h_jl_System$.prototype = $c_jl_System$.prototype;
+$c_jl_System$.prototype.init___ = (function() {
+ $n_jl_System$ = this;
+ this.out$1 = new $c_jl_JSConsoleBasedPrintStream().init___jl_Boolean(false);
+ this.err$1 = new $c_jl_JSConsoleBasedPrintStream().init___jl_Boolean(true);
+ this.in$1 = null;
+ var x = $g["performance"];
+ if ((!(!(!(!x))))) {
+ var x$1 = $g["performance"]["now"];
+ if ((!(!(!(!x$1))))) {
+ var jsx$1 = (function() {
+ return (+$g["performance"]["now"]())
+ })
+ } else {
+ var x$2 = $g["performance"]["webkitNow"];
+ if ((!(!(!(!x$2))))) {
+ var jsx$1 = (function() {
+ return (+$g["performance"]["webkitNow"]())
+ })
+ } else {
+ var jsx$1 = (function() {
+ return (+new $g["Date"]()["getTime"]())
+ })
+ }
+ }
} else {
- var r = 1;
- if (((x & (-65536)) === 0)) {
- x = (x << 16);
- r = ((r + 16) | 0)
- };
- if (((x & (-16777216)) === 0)) {
- x = (x << 8);
- r = ((r + 8) | 0)
- };
- if (((x & (-268435456)) === 0)) {
- x = (x << 4);
- r = ((r + 4) | 0)
- };
- if (((x & (-1073741824)) === 0)) {
- x = (x << 2);
- r = ((r + 2) | 0)
- };
- return ((r + (x >> 31)) | 0)
- }
-});
-$c_jl_Integer$.prototype.toHexString__I__T = (function(i) {
- return this.java$lang$Integer$$toStringBase__I__I__T(i, 16)
-});
-$c_jl_Integer$.prototype.java$lang$Integer$$toStringBase__I__I__T = (function(i, base) {
- return $m_sjs_js_JSNumberOps$().enableJSNumberOps__D__sjs_js_JSNumberOps($m_sjs_js_JSNumberOps$ExtOps$().toUint$extension__sjs_js_Dynamic__D($m_sjs_js_JSNumberOps$().enableJSNumberExtOps__I__sjs_js_Dynamic(i)))["toString"](base)
-});
-$c_jl_Integer$.prototype.init___ = (function() {
- $c_O.prototype.init___.call(this);
- $n_jl_Integer$ = this;
+ var jsx$1 = (function() {
+ return (+new $g["Date"]()["getTime"]())
+ })
+ };
+ this.getHighPrecisionTime$1 = jsx$1;
return this
});
-var $d_jl_Integer$ = new $TypeData().initClass({
- jl_Integer$: 0
-}, false, "java.lang.Integer$", {
- jl_Integer$: 1,
+$c_jl_System$.prototype.currentTimeMillis__J = (function() {
+ return $m_sjsr_RuntimeLong$().fromDouble__D__sjsr_RuntimeLong((+new $g["Date"]()["getTime"]()))
+});
+var $d_jl_System$ = new $TypeData().initClass({
+ jl_System$: 0
+}, false, "java.lang.System$", {
+ jl_System$: 1,
O: 1
});
-$c_jl_Integer$.prototype.$classData = $d_jl_Integer$;
-var $n_jl_Integer$ = (void 0);
-function $m_jl_Integer$() {
- if ((!$n_jl_Integer$)) {
- $n_jl_Integer$ = new $c_jl_Integer$().init___()
+$c_jl_System$.prototype.$classData = $d_jl_System$;
+var $n_jl_System$ = (void 0);
+function $m_jl_System$() {
+ if ((!$n_jl_System$)) {
+ $n_jl_System$ = new $c_jl_System$().init___()
};
- return $n_jl_Integer$
+ return $n_jl_System$
}
/** @constructor */
-function $c_jl_Long$() {
+function $c_jl_ThreadLocal() {
$c_O.call(this);
- this.TYPE$1 = null;
- this.MIN$undVALUE$1 = $m_sjsr_RuntimeLong$().Zero__sjsr_RuntimeLong();
- this.MAX$undVALUE$1 = $m_sjsr_RuntimeLong$().Zero__sjsr_RuntimeLong();
- this.SIZE$1 = 0;
- this.BYTES$1 = 0;
- this.SignBit$1 = $m_sjsr_RuntimeLong$().Zero__sjsr_RuntimeLong();
- this.StringRadixInfos$1 = null;
- this.bitmap$0$1 = false
+ this.hasValue$1 = null;
+ this.v$1 = null
}
-$c_jl_Long$.prototype = new $h_O();
-$c_jl_Long$.prototype["constructor"] = $c_jl_Long$;
+$c_jl_ThreadLocal.prototype = new $h_O();
+$c_jl_ThreadLocal.prototype["constructor"] = $c_jl_ThreadLocal;
/** @constructor */
-function $h_jl_Long$() {
+function $h_jl_ThreadLocal() {
/*<skip>*/
}
-$h_jl_Long$.prototype = $c_jl_Long$.prototype;
-$c_jl_Long$.prototype.StringRadixInfos$lzycompute__p1__sjs_js_Array = (function() {
- if ((!this.bitmap$0$1)) {
- var r = [];
- $m_sr_RichInt$().until$extension0__I__I__sci_Range($m_s_Predef$().intWrapper__I__I(0), 2).foreach__F1__V(new $c_sjsr_AnonFunction1().init___sjs_js_Function1((function($this, r) {
- return (function(_$2) {
- var _ = (_$2 | 0);
- return $this.$$anonfun$1__p1__sjs_js_Array__I__sjs_js_ArrayOps(r, _)
- })
- })(this, r)));
- $m_sr_RichInt$().to$extension0__I__I__sci_Range$Inclusive($m_s_Predef$().intWrapper__I__I(2), 36).foreach__F1__V(new $c_sjsr_AnonFunction1().init___sjs_js_Function1((function(this$2, r) {
- return (function(radix$2) {
- var radix = (radix$2 | 0);
- return this$2.$$anonfun$2__p1__sjs_js_Array__I__sjs_js_ArrayOps(r, radix)
- })
- })(this, r)));
- this.StringRadixInfos$1 = r;
- this.bitmap$0$1 = true
- };
- return this.StringRadixInfos$1
-});
-$c_jl_Long$.prototype.StringRadixInfos__p1__sjs_js_Array = (function() {
- return ((!this.bitmap$0$1) ? this.StringRadixInfos$lzycompute__p1__sjs_js_Array() : this.StringRadixInfos$1)
-});
-$c_jl_Long$.prototype.toString__J__T = (function(i) {
- return this.java$lang$Long$$toStringImpl__J__I__T(i, 10)
-});
-$c_jl_Long$.prototype.java$lang$Long$$toStringImpl__J__I__T = (function(i, radix) {
- var lo = i.toInt__I();
- var hi = i.$$greater$greater$greater__I__sjsr_RuntimeLong(32).toInt__I();
- return (((lo >> 31) === hi) ? $m_sjs_js_JSNumberOps$().enableJSNumberOps__I__sjs_js_JSNumberOps(lo)["toString"](radix) : ((hi < 0) ? ("-" + this.toUnsignedStringInternalLarge__p1__J__I__T(i.unary$und$minus__sjsr_RuntimeLong(), radix)) : this.toUnsignedStringInternalLarge__p1__J__I__T(i, radix)))
-});
-$c_jl_Long$.prototype.toUnsignedStringInternalLarge__p1__J__I__T = (function(i, radix) {
- var radixInfo = this.StringRadixInfos__p1__sjs_js_Array()[radix];
- var divisor = radixInfo.radixPowLength__J();
- var paddingZeros = radixInfo.paddingZeros__T();
- var divisorXorSignBit = divisor.$$up__sjsr_RuntimeLong__sjsr_RuntimeLong(new $c_sjsr_RuntimeLong().init___I__I(0, (-2147483648)));
- var res = "";
- var value = i;
- while (value.$$up__sjsr_RuntimeLong__sjsr_RuntimeLong(new $c_sjsr_RuntimeLong().init___I__I(0, (-2147483648))).$$greater$eq__sjsr_RuntimeLong__Z(divisorXorSignBit)) {
- var div = this.divideUnsigned__J__J__J(value, divisor);
- var rem = value.$$minus__sjsr_RuntimeLong__sjsr_RuntimeLong(div.$$times__sjsr_RuntimeLong__sjsr_RuntimeLong(divisor));
- var remStr = $m_sjs_js_JSNumberOps$().enableJSNumberOps__I__sjs_js_JSNumberOps(rem.toInt__I())["toString"](radix);
- res = ((("" + $m_sjs_js_JSStringOps$().enableJSStringOps__T__sjs_js_JSStringOps(paddingZeros)["substring"]($m_sjsr_RuntimeString$().length__T__I(remStr))) + remStr) + res);
- value = div
+$h_jl_ThreadLocal.prototype = $c_jl_ThreadLocal.prototype;
+$c_jl_ThreadLocal.prototype.init___ = (function() {
+ this.hasValue$1 = false;
+ return this
+});
+$c_jl_ThreadLocal.prototype.get__O = (function() {
+ var x = this.hasValue$1;
+ if ((!(!(!x)))) {
+ this.set__O__V(this.initialValue__O())
};
- return (("" + $m_sjs_js_JSNumberOps$().enableJSNumberOps__I__sjs_js_JSNumberOps(value.toInt__I())["toString"](radix)) + res)
+ return this.v$1
});
-$c_jl_Long$.prototype.valueOf__J__jl_Long = (function(longValue) {
- return longValue
+$c_jl_ThreadLocal.prototype.set__O__V = (function(o) {
+ this.v$1 = o;
+ this.hasValue$1 = true
});
-$c_jl_Long$.prototype.hashCode__J__I = (function(value) {
- return (value.toInt__I() ^ value.$$greater$greater$greater__I__sjsr_RuntimeLong(32).toInt__I())
-});
-$c_jl_Long$.prototype.divideUnsigned__J__J__J = (function(dividend, divisor) {
- return this.divModUnsigned__p1__J__J__Z__J(dividend, divisor, true)
-});
-$c_jl_Long$.prototype.divModUnsigned__p1__J__J__Z__J = (function(a, b, isDivide) {
- if (b.equals__sjsr_RuntimeLong__Z($m_sjsr_RuntimeLong$().Zero__sjsr_RuntimeLong())) {
- throw new $c_jl_ArithmeticException().init___T("/ by zero")
- };
- var shift = ((this.numberOfLeadingZeros__J__I(b) - this.numberOfLeadingZeros__J__I(a)) | 0);
- var bShift = b.$$less$less__I__sjsr_RuntimeLong(shift);
- var rem = a;
- var quot = $m_sjsr_RuntimeLong$().Zero__sjsr_RuntimeLong();
- while (((shift >= 0) && rem.notEquals__sjsr_RuntimeLong__Z(new $c_sjsr_RuntimeLong().init___I(0)))) {
- if (rem.$$up__sjsr_RuntimeLong__sjsr_RuntimeLong(new $c_sjsr_RuntimeLong().init___I__I(0, (-2147483648))).$$greater$eq__sjsr_RuntimeLong__Z(bShift.$$up__sjsr_RuntimeLong__sjsr_RuntimeLong(new $c_sjsr_RuntimeLong().init___I__I(0, (-2147483648))))) {
- rem = rem.$$minus__sjsr_RuntimeLong__sjsr_RuntimeLong(bShift);
- quot = quot.$$bar__sjsr_RuntimeLong__sjsr_RuntimeLong(new $c_sjsr_RuntimeLong().init___I__I(1, 0).$$less$less__I__sjsr_RuntimeLong(shift))
- };
- shift = ((shift - 1) | 0);
- bShift = bShift.$$greater$greater$greater__I__sjsr_RuntimeLong(1)
- };
- return (isDivide ? quot : rem)
-});
-$c_jl_Long$.prototype.numberOfLeadingZeros__J__I = (function(l) {
- var hi = l.$$greater$greater$greater__I__sjsr_RuntimeLong(32).toInt__I();
- return ((hi !== 0) ? $m_jl_Integer$().numberOfLeadingZeros__I__I(hi) : (($m_jl_Integer$().numberOfLeadingZeros__I__I(l.toInt__I()) + 32) | 0))
-});
-$c_jl_Long$.prototype.$$anonfun$1__p1__sjs_js_Array__I__sjs_js_ArrayOps = (function(r$1, _) {
- return $m_sjs_js_Any$().jsArrayOps__sjs_js_Array__sjs_js_ArrayOps(r$1).$$plus$eq__O__sjs_js_ArrayOps(null)
-});
-$c_jl_Long$.prototype.$$anonfun$2__p1__sjs_js_Array__I__sjs_js_ArrayOps = (function(r$1, radix) {
- var barrier = ((2147483647 / radix) | 0);
- var radixPowLength = radix;
- var chunkLength = 1;
- var paddingZeros = "0";
- while ((radixPowLength <= barrier)) {
- radixPowLength = $imul(radixPowLength, radix);
- chunkLength = ((chunkLength + 1) | 0);
- paddingZeros = (paddingZeros + "0")
- };
- var radixPowLengthLong = new $c_sjsr_RuntimeLong().init___I(radixPowLength);
- var overflowBarrier = $m_jl_Long$().divideUnsigned__J__J__J(new $c_sjsr_RuntimeLong().init___I__I((-1), (-1)), radixPowLengthLong);
- return $m_sjs_js_Any$().jsArrayOps__sjs_js_Array__sjs_js_ArrayOps(r$1).$$plus$eq__O__sjs_js_ArrayOps(new $c_jl_Long$StringRadixInfo().init___I__J__T__J(chunkLength, radixPowLengthLong, paddingZeros, overflowBarrier))
-});
-$c_jl_Long$.prototype.init___ = (function() {
- $c_O.prototype.init___.call(this);
- $n_jl_Long$ = this;
+/** @constructor */
+function $c_s_DeprecatedConsole() {
+ $c_O.call(this)
+}
+$c_s_DeprecatedConsole.prototype = new $h_O();
+$c_s_DeprecatedConsole.prototype["constructor"] = $c_s_DeprecatedConsole;
+/** @constructor */
+function $h_s_DeprecatedConsole() {
+ /*<skip>*/
+}
+$h_s_DeprecatedConsole.prototype = $c_s_DeprecatedConsole.prototype;
+/** @constructor */
+function $c_s_LowPriorityImplicits() {
+ $c_O.call(this)
+}
+$c_s_LowPriorityImplicits.prototype = new $h_O();
+$c_s_LowPriorityImplicits.prototype["constructor"] = $c_s_LowPriorityImplicits;
+/** @constructor */
+function $h_s_LowPriorityImplicits() {
+ /*<skip>*/
+}
+$h_s_LowPriorityImplicits.prototype = $c_s_LowPriorityImplicits.prototype;
+/** @constructor */
+function $c_s_math_Ordered$() {
+ $c_O.call(this)
+}
+$c_s_math_Ordered$.prototype = new $h_O();
+$c_s_math_Ordered$.prototype["constructor"] = $c_s_math_Ordered$;
+/** @constructor */
+function $h_s_math_Ordered$() {
+ /*<skip>*/
+}
+$h_s_math_Ordered$.prototype = $c_s_math_Ordered$.prototype;
+$c_s_math_Ordered$.prototype.init___ = (function() {
return this
});
-var $d_jl_Long$ = new $TypeData().initClass({
- jl_Long$: 0
-}, false, "java.lang.Long$", {
- jl_Long$: 1,
+var $d_s_math_Ordered$ = new $TypeData().initClass({
+ s_math_Ordered$: 0
+}, false, "scala.math.Ordered$", {
+ s_math_Ordered$: 1,
O: 1
});
-$c_jl_Long$.prototype.$classData = $d_jl_Long$;
-var $n_jl_Long$ = (void 0);
-function $m_jl_Long$() {
- if ((!$n_jl_Long$)) {
- $n_jl_Long$ = new $c_jl_Long$().init___()
+$c_s_math_Ordered$.prototype.$classData = $d_s_math_Ordered$;
+var $n_s_math_Ordered$ = (void 0);
+function $m_s_math_Ordered$() {
+ if ((!$n_s_math_Ordered$)) {
+ $n_s_math_Ordered$ = new $c_s_math_Ordered$().init___()
};
- return $n_jl_Long$
+ return $n_s_math_Ordered$
}
/** @constructor */
-function $c_jl_Long$StringRadixInfo() {
+function $c_s_package$() {
$c_O.call(this);
- this.chunkLength$1 = 0;
- this.radixPowLength$1 = $m_sjsr_RuntimeLong$().Zero__sjsr_RuntimeLong();
- this.paddingZeros$1 = null;
- this.overflowBarrier$1 = $m_sjsr_RuntimeLong$().Zero__sjsr_RuntimeLong()
+ this.AnyRef$1 = null;
+ this.Traversable$1 = null;
+ this.Iterable$1 = null;
+ this.Seq$1 = null;
+ this.IndexedSeq$1 = null;
+ this.Iterator$1 = null;
+ this.List$1 = null;
+ this.Nil$1 = null;
+ this.$$colon$colon$1 = null;
+ this.$$plus$colon$1 = null;
+ this.$$colon$plus$1 = null;
+ this.Stream$1 = null;
+ this.$$hash$colon$colon$1 = null;
+ this.Vector$1 = null;
+ this.StringBuilder$1 = null;
+ this.Range$1 = null;
+ this.BigDecimal$1 = null;
+ this.BigInt$1 = null;
+ this.Equiv$1 = null;
+ this.Fractional$1 = null;
+ this.Integral$1 = null;
+ this.Numeric$1 = null;
+ this.Ordered$1 = null;
+ this.Ordering$1 = null;
+ this.Either$1 = null;
+ this.Left$1 = null;
+ this.Right$1 = null;
+ this.bitmap$0$1 = 0
}
-$c_jl_Long$StringRadixInfo.prototype = new $h_O();
-$c_jl_Long$StringRadixInfo.prototype["constructor"] = $c_jl_Long$StringRadixInfo;
+$c_s_package$.prototype = new $h_O();
+$c_s_package$.prototype["constructor"] = $c_s_package$;
/** @constructor */
-function $h_jl_Long$StringRadixInfo() {
+function $h_s_package$() {
/*<skip>*/
}
-$h_jl_Long$StringRadixInfo.prototype = $c_jl_Long$StringRadixInfo.prototype;
-$c_jl_Long$StringRadixInfo.prototype.radixPowLength__J = (function() {
- return this.radixPowLength$1
-});
-$c_jl_Long$StringRadixInfo.prototype.paddingZeros__T = (function() {
- return this.paddingZeros$1
-});
-$c_jl_Long$StringRadixInfo.prototype.init___I__J__T__J = (function(chunkLength, radixPowLength, paddingZeros, overflowBarrier) {
- this.chunkLength$1 = chunkLength;
- this.radixPowLength$1 = radixPowLength;
- this.paddingZeros$1 = paddingZeros;
- this.overflowBarrier$1 = overflowBarrier;
- $c_O.prototype.init___.call(this);
+$h_s_package$.prototype = $c_s_package$.prototype;
+$c_s_package$.prototype.init___ = (function() {
+ $n_s_package$ = this;
+ this.AnyRef$1 = new $c_s_package$$anon$1().init___();
+ this.Traversable$1 = $m_sc_Traversable$();
+ this.Iterable$1 = $m_sc_Iterable$();
+ this.Seq$1 = $m_sc_Seq$();
+ this.IndexedSeq$1 = $m_sc_IndexedSeq$();
+ this.Iterator$1 = $m_sc_Iterator$();
+ this.List$1 = $m_sci_List$();
+ this.Nil$1 = $m_sci_Nil$();
+ this.$$colon$colon$1 = $m_sci_$colon$colon$();
+ this.$$plus$colon$1 = $m_sc_$plus$colon$();
+ this.$$colon$plus$1 = $m_sc_$colon$plus$();
+ this.Stream$1 = $m_sci_Stream$();
+ this.$$hash$colon$colon$1 = $m_sci_Stream$$hash$colon$colon$();
+ this.Vector$1 = $m_sci_Vector$();
+ this.StringBuilder$1 = $m_scm_StringBuilder$();
+ this.Range$1 = $m_sci_Range$();
+ this.Equiv$1 = $m_s_math_Equiv$();
+ this.Fractional$1 = $m_s_math_Fractional$();
+ this.Integral$1 = $m_s_math_Integral$();
+ this.Numeric$1 = $m_s_math_Numeric$();
+ this.Ordered$1 = $m_s_math_Ordered$();
+ this.Ordering$1 = $m_s_math_Ordering$();
+ this.Either$1 = $m_s_util_Either$();
+ this.Left$1 = $m_s_util_Left$();
+ this.Right$1 = $m_s_util_Right$();
return this
});
-function $is_jl_Long$StringRadixInfo(obj) {
- return (!(!((obj && obj.$classData) && obj.$classData.ancestors.jl_Long$StringRadixInfo)))
-}
-function $isArrayOf_jl_Long$StringRadixInfo(obj, depth) {
- return (!(!(((obj && obj.$classData) && (obj.$classData.arrayDepth === depth)) && obj.$classData.arrayBase.ancestors.jl_Long$StringRadixInfo)))
-}
-var $d_jl_Long$StringRadixInfo = new $TypeData().initClass({
- jl_Long$StringRadixInfo: 0
-}, false, "java.lang.Long$StringRadixInfo", {
- jl_Long$StringRadixInfo: 1,
+var $d_s_package$ = new $TypeData().initClass({
+ s_package$: 0
+}, false, "scala.package$", {
+ s_package$: 1,
O: 1
});
-$c_jl_Long$StringRadixInfo.prototype.$classData = $d_jl_Long$StringRadixInfo;
+$c_s_package$.prototype.$classData = $d_s_package$;
+var $n_s_package$ = (void 0);
+function $m_s_package$() {
+ if ((!$n_s_package$)) {
+ $n_s_package$ = new $c_s_package$().init___()
+ };
+ return $n_s_package$
+}
/** @constructor */
-function $c_jl_Math$() {
+function $c_s_reflect_ClassManifestFactory$() {
$c_O.call(this);
- this.E$1 = 0.0;
- this.PI$1 = 0.0
+ this.Byte$1 = null;
+ this.Short$1 = null;
+ this.Char$1 = null;
+ this.Int$1 = null;
+ this.Long$1 = null;
+ this.Float$1 = null;
+ this.Double$1 = null;
+ this.Boolean$1 = null;
+ this.Unit$1 = null;
+ this.Any$1 = null;
+ this.Object$1 = null;
+ this.AnyVal$1 = null;
+ this.Nothing$1 = null;
+ this.Null$1 = null
}
-$c_jl_Math$.prototype = new $h_O();
-$c_jl_Math$.prototype["constructor"] = $c_jl_Math$;
+$c_s_reflect_ClassManifestFactory$.prototype = new $h_O();
+$c_s_reflect_ClassManifestFactory$.prototype["constructor"] = $c_s_reflect_ClassManifestFactory$;
/** @constructor */
-function $h_jl_Math$() {
+function $h_s_reflect_ClassManifestFactory$() {
/*<skip>*/
}
-$h_jl_Math$.prototype = $c_jl_Math$.prototype;
-$c_jl_Math$.prototype.min__I__I__I = (function(a, b) {
- return ((a < b) ? a : b)
-});
-$c_jl_Math$.prototype.floor__D__D = (function(a) {
- return (+$g["Math"]["floor"](a))
-});
-$c_jl_Math$.prototype.pow__D__D__D = (function(a, b) {
- return (+$g["Math"]["pow"](a, b))
-});
-$c_jl_Math$.prototype.log__D__D = (function(a) {
- return (+$g["Math"]["log"](a))
-});
-$c_jl_Math$.prototype.init___ = (function() {
- $c_O.prototype.init___.call(this);
- $n_jl_Math$ = this;
+$h_s_reflect_ClassManifestFactory$.prototype = $c_s_reflect_ClassManifestFactory$.prototype;
+$c_s_reflect_ClassManifestFactory$.prototype.init___ = (function() {
+ $n_s_reflect_ClassManifestFactory$ = this;
+ this.Byte$1 = $m_s_reflect_ManifestFactory$ByteManifest$();
+ this.Short$1 = $m_s_reflect_ManifestFactory$ShortManifest$();
+ this.Char$1 = $m_s_reflect_ManifestFactory$CharManifest$();
+ this.Int$1 = $m_s_reflect_ManifestFactory$IntManifest$();
+ this.Long$1 = $m_s_reflect_ManifestFactory$LongManifest$();
+ this.Float$1 = $m_s_reflect_ManifestFactory$FloatManifest$();
+ this.Double$1 = $m_s_reflect_ManifestFactory$DoubleManifest$();
+ this.Boolean$1 = $m_s_reflect_ManifestFactory$BooleanManifest$();
+ this.Unit$1 = $m_s_reflect_ManifestFactory$UnitManifest$();
+ this.Any$1 = $m_s_reflect_ManifestFactory$AnyManifest$();
+ this.Object$1 = $m_s_reflect_ManifestFactory$ObjectManifest$();
+ this.AnyVal$1 = $m_s_reflect_ManifestFactory$AnyValManifest$();
+ this.Nothing$1 = $m_s_reflect_ManifestFactory$NothingManifest$();
+ this.Null$1 = $m_s_reflect_ManifestFactory$NullManifest$();
return this
});
-var $d_jl_Math$ = new $TypeData().initClass({
- jl_Math$: 0
-}, false, "java.lang.Math$", {
- jl_Math$: 1,
+var $d_s_reflect_ClassManifestFactory$ = new $TypeData().initClass({
+ s_reflect_ClassManifestFactory$: 0
+}, false, "scala.reflect.ClassManifestFactory$", {
+ s_reflect_ClassManifestFactory$: 1,
O: 1
});
-$c_jl_Math$.prototype.$classData = $d_jl_Math$;
-var $n_jl_Math$ = (void 0);
-function $m_jl_Math$() {
- if ((!$n_jl_Math$)) {
- $n_jl_Math$ = new $c_jl_Math$().init___()
+$c_s_reflect_ClassManifestFactory$.prototype.$classData = $d_s_reflect_ClassManifestFactory$;
+var $n_s_reflect_ClassManifestFactory$ = (void 0);
+function $m_s_reflect_ClassManifestFactory$() {
+ if ((!$n_s_reflect_ClassManifestFactory$)) {
+ $n_s_reflect_ClassManifestFactory$ = new $c_s_reflect_ClassManifestFactory$().init___()
};
- return $n_jl_Math$
+ return $n_s_reflect_ClassManifestFactory$
}
/** @constructor */
-function $c_jl_Number() {
+function $c_s_reflect_ManifestFactory$() {
$c_O.call(this)
}
-$c_jl_Number.prototype = new $h_O();
-$c_jl_Number.prototype["constructor"] = $c_jl_Number;
+$c_s_reflect_ManifestFactory$.prototype = new $h_O();
+$c_s_reflect_ManifestFactory$.prototype["constructor"] = $c_s_reflect_ManifestFactory$;
/** @constructor */
-function $h_jl_Number() {
+function $h_s_reflect_ManifestFactory$() {
/*<skip>*/
}
-$h_jl_Number.prototype = $c_jl_Number.prototype;
-$c_jl_Number.prototype.init___ = (function() {
- $c_O.prototype.init___.call(this);
+$h_s_reflect_ManifestFactory$.prototype = $c_s_reflect_ManifestFactory$.prototype;
+$c_s_reflect_ManifestFactory$.prototype.init___ = (function() {
return this
});
-function $is_jl_Number(obj) {
- return (!(!(((obj && obj.$classData) && obj.$classData.ancestors.jl_Number) || ((typeof obj) === "number"))))
-}
-function $isArrayOf_jl_Number(obj, depth) {
- return (!(!(((obj && obj.$classData) && (obj.$classData.arrayDepth === depth)) && obj.$classData.arrayBase.ancestors.jl_Number)))
+var $d_s_reflect_ManifestFactory$ = new $TypeData().initClass({
+ s_reflect_ManifestFactory$: 0
+}, false, "scala.reflect.ManifestFactory$", {
+ s_reflect_ManifestFactory$: 1,
+ O: 1
+});
+$c_s_reflect_ManifestFactory$.prototype.$classData = $d_s_reflect_ManifestFactory$;
+var $n_s_reflect_ManifestFactory$ = (void 0);
+function $m_s_reflect_ManifestFactory$() {
+ if ((!$n_s_reflect_ManifestFactory$)) {
+ $n_s_reflect_ManifestFactory$ = new $c_s_reflect_ManifestFactory$().init___()
+ };
+ return $n_s_reflect_ManifestFactory$
}
/** @constructor */
-function $c_jl_Short$() {
+function $c_s_reflect_package$() {
$c_O.call(this);
- this.TYPE$1 = null;
- this.SIZE$1 = 0
+ this.ClassManifest$1 = null;
+ this.Manifest$1 = null
}
-$c_jl_Short$.prototype = new $h_O();
-$c_jl_Short$.prototype["constructor"] = $c_jl_Short$;
+$c_s_reflect_package$.prototype = new $h_O();
+$c_s_reflect_package$.prototype["constructor"] = $c_s_reflect_package$;
/** @constructor */
-function $h_jl_Short$() {
+function $h_s_reflect_package$() {
/*<skip>*/
}
-$h_jl_Short$.prototype = $c_jl_Short$.prototype;
-$c_jl_Short$.prototype.toString__S__T = (function(s) {
- return ("" + s)
-});
-$c_jl_Short$.prototype.init___ = (function() {
- $c_O.prototype.init___.call(this);
- $n_jl_Short$ = this;
+$h_s_reflect_package$.prototype = $c_s_reflect_package$.prototype;
+$c_s_reflect_package$.prototype.init___ = (function() {
+ $n_s_reflect_package$ = this;
+ this.ClassManifest$1 = $m_s_reflect_ClassManifestFactory$();
+ this.Manifest$1 = $m_s_reflect_ManifestFactory$();
return this
});
-var $d_jl_Short$ = new $TypeData().initClass({
- jl_Short$: 0
-}, false, "java.lang.Short$", {
- jl_Short$: 1,
+var $d_s_reflect_package$ = new $TypeData().initClass({
+ s_reflect_package$: 0
+}, false, "scala.reflect.package$", {
+ s_reflect_package$: 1,
O: 1
});
-$c_jl_Short$.prototype.$classData = $d_jl_Short$;
-var $n_jl_Short$ = (void 0);
-function $m_jl_Short$() {
- if ((!$n_jl_Short$)) {
- $n_jl_Short$ = new $c_jl_Short$().init___()
+$c_s_reflect_package$.prototype.$classData = $d_s_reflect_package$;
+var $n_s_reflect_package$ = (void 0);
+function $m_s_reflect_package$() {
+ if ((!$n_s_reflect_package$)) {
+ $n_s_reflect_package$ = new $c_s_reflect_package$().init___()
};
- return $n_jl_Short$
+ return $n_s_reflect_package$
}
/** @constructor */
-function $c_jl_System$() {
+function $c_s_util_DynamicVariable() {
$c_O.call(this);
- this.out$1 = null;
- this.err$1 = null;
- this.in$1 = null;
- this.getHighPrecisionTime$1 = null
+ this.scala$util$DynamicVariable$$init$f = null;
+ this.tl$1 = null
}
-$c_jl_System$.prototype = new $h_O();
-$c_jl_System$.prototype["constructor"] = $c_jl_System$;
+$c_s_util_DynamicVariable.prototype = new $h_O();
+$c_s_util_DynamicVariable.prototype["constructor"] = $c_s_util_DynamicVariable;
/** @constructor */
-function $h_jl_System$() {
+function $h_s_util_DynamicVariable() {
/*<skip>*/
}
-$h_jl_System$.prototype = $c_jl_System$.prototype;
-$c_jl_System$.prototype.out__Ljava_io_PrintStream = (function() {
- return this.out$1
+$h_s_util_DynamicVariable.prototype = $c_s_util_DynamicVariable.prototype;
+$c_s_util_DynamicVariable.prototype.toString__T = (function() {
+ return (("DynamicVariable(" + this.tl$1.get__O()) + ")")
});
-$c_jl_System$.prototype.err__Ljava_io_PrintStream = (function() {
- return this.err$1
+$c_s_util_DynamicVariable.prototype.init___O = (function(init) {
+ this.scala$util$DynamicVariable$$init$f = init;
+ this.tl$1 = new $c_s_util_DynamicVariable$$anon$1().init___s_util_DynamicVariable(this);
+ return this
});
-$c_jl_System$.prototype.currentTimeMillis__J = (function() {
- return $m_sjsr_RuntimeLong$().fromDouble__D__sjsr_RuntimeLong((+new $g["Date"]()["getTime"]()))
+var $d_s_util_DynamicVariable = new $TypeData().initClass({
+ s_util_DynamicVariable: 0
+}, false, "scala.util.DynamicVariable", {
+ s_util_DynamicVariable: 1,
+ O: 1
});
-$c_jl_System$.prototype.arraycopy__O__I__O__I__I__V = (function(src, srcPos, dest, destPos, length) {
- var forward = (((src !== dest) || (destPos < srcPos)) || (((srcPos + length) | 0) < destPos));
- if (((src === null) || (dest === null))) {
- throw new $c_jl_NullPointerException().init___()
- } else {
- var x1 = src;
- if ($isArrayOf_O(x1, 1)) {
- var x2 = x1;
- var x1$2 = dest;
- if ($isArrayOf_O(x1$2, 1)) {
- var x2$2 = x1$2;
- this.copyRef$1__p1__AO__AO__I__I__I__Z__V(x2, x2$2, srcPos, destPos, length, forward)
- } else {
- this.mismatch$1__p1__sr_Nothing$()
- }
- } else if ($isArrayOf_Z(x1, 1)) {
- var x3 = x1;
- var x1$3 = dest;
- if ($isArrayOf_Z(x1$3, 1)) {
- var x2$3 = x1$3;
- this.copyPrim$mZc$sp$1__p1__AZ__AZ__I__I__I__Z__V(x3, x2$3, srcPos, destPos, length, forward)
- } else {
- this.mismatch$1__p1__sr_Nothing$()
- }
- } else if ($isArrayOf_C(x1, 1)) {
- var x4 = x1;
- var x1$4 = dest;
- if ($isArrayOf_C(x1$4, 1)) {
- var x2$4 = x1$4;
- this.copyPrim$mCc$sp$1__p1__AC__AC__I__I__I__Z__V(x4, x2$4, srcPos, destPos, length, forward)
- } else {
- this.mismatch$1__p1__sr_Nothing$()
- }
- } else if ($isArrayOf_B(x1, 1)) {
- var x5 = x1;
- var x1$5 = dest;
- if ($isArrayOf_B(x1$5, 1)) {
- var x2$5 = x1$5;
- this.copyPrim$mBc$sp$1__p1__AB__AB__I__I__I__Z__V(x5, x2$5, srcPos, destPos, length, forward)
- } else {
- this.mismatch$1__p1__sr_Nothing$()
- }
- } else if ($isArrayOf_S(x1, 1)) {
- var x6 = x1;
- var x1$6 = dest;
- if ($isArrayOf_S(x1$6, 1)) {
- var x2$6 = x1$6;
- this.copyPrim$mSc$sp$1__p1__AS__AS__I__I__I__Z__V(x6, x2$6, srcPos, destPos, length, forward)
- } else {
- this.mismatch$1__p1__sr_Nothing$()
- }
- } else if ($isArrayOf_I(x1, 1)) {
- var x7 = x1;
- var x1$7 = dest;
- if ($isArrayOf_I(x1$7, 1)) {
- var x2$7 = x1$7;
- this.copyPrim$mIc$sp$1__p1__AI__AI__I__I__I__Z__V(x7, x2$7, srcPos, destPos, length, forward)
- } else {
- this.mismatch$1__p1__sr_Nothing$()
- }
- } else if ($isArrayOf_J(x1, 1)) {
- var x8 = x1;
- var x1$8 = dest;
- if ($isArrayOf_J(x1$8, 1)) {
- var x2$8 = x1$8;
- this.copyPrim$mJc$sp$1__p1__AJ__AJ__I__I__I__Z__V(x8, x2$8, srcPos, destPos, length, forward)
- } else {
- this.mismatch$1__p1__sr_Nothing$()
- }
- } else if ($isArrayOf_F(x1, 1)) {
- var x9 = x1;
- var x1$9 = dest;
- if ($isArrayOf_F(x1$9, 1)) {
- var x2$9 = x1$9;
- this.copyPrim$mFc$sp$1__p1__AF__AF__I__I__I__Z__V(x9, x2$9, srcPos, destPos, length, forward)
- } else {
- this.mismatch$1__p1__sr_Nothing$()
- }
- } else if ($isArrayOf_D(x1, 1)) {
- var x10 = x1;
- var x1$10 = dest;
- if ($isArrayOf_D(x1$10, 1)) {
- var x2$10 = x1$10;
- this.copyPrim$mDc$sp$1__p1__AD__AD__I__I__I__Z__V(x10, x2$10, srcPos, destPos, length, forward)
- } else {
- this.mismatch$1__p1__sr_Nothing$()
- }
- } else {
- this.mismatch$1__p1__sr_Nothing$()
- }
- }
-});
-$c_jl_System$.prototype.identityHashCode__O__I = (function(x) {
- var x1 = x;
- if ((null === x1)) {
- return 0
- } else {
- if (((typeof x1) === "boolean")) {
- var jsx$1 = true
- } else if (((typeof x1) === "number")) {
- var jsx$1 = true
- } else if ($is_T(x1)) {
- var jsx$1 = true
- } else {
- var x$2 = (void 0);
- var x$3 = x1;
- if (((x$2 === null) ? (x$3 === null) : $objectEquals(x$2, x$3))) {
- var jsx$1 = true
- } else {
- var jsx$1 = false
- }
- };
- if (jsx$1) {
- return $objectHashCode(x)
- } else if (($objectGetClass(x) === null)) {
- return $objectHashCode(x)
- } else if (($m_sjs_LinkingInfo$().assumingES6__Z() || ($m_jl_System$IDHashCode$().idHashCodeMap__sjs_js_Object() !== null))) {
- var hash = $m_jl_System$IDHashCode$().idHashCodeMap__sjs_js_Object()["get"](x);
- if ((!$m_sjs_js_package$().isUndefined__O__Z(hash))) {
- return (hash | 0)
- } else {
- var newHash = $m_jl_System$IDHashCode$().nextIDHashCode__I();
- $m_jl_System$IDHashCode$().idHashCodeMap__sjs_js_Object()["set"](x, $m_sjs_js_Any$().fromInt__I__sjs_js_Any(newHash));
- return newHash
- }
- } else {
- var hash$2 = x["$idHashCode$0"];
- if ((!$m_sjs_js_package$().isUndefined__O__Z(hash$2))) {
- return (hash$2 | 0)
- } else if ((!(!(!$g["Object"]["isSealed"](x))))) {
- var newHash$2 = $m_jl_System$IDHashCode$().nextIDHashCode__I();
- x["$idHashCode$0"] = $m_sjs_js_Any$().fromInt__I__sjs_js_Any(newHash$2);
- return newHash$2
- } else {
- return 42
- }
- }
- }
-});
-$c_jl_System$.prototype.checkIndices$1__p1__I__I__I__I__I__V = (function(srcLen, destLen, srcPos$1, destPos$1, length$1) {
- if ((((((srcPos$1 < 0) || (destPos$1 < 0)) || (length$1 < 0)) || (((srcPos$1 + length$1) | 0) > srcLen)) || (((destPos$1 + length$1) | 0) > destLen))) {
- throw new $c_jl_ArrayIndexOutOfBoundsException().init___T("Array index out of bounds")
- }
-});
-$c_jl_System$.prototype.mismatch$1__p1__sr_Nothing$ = (function() {
- throw new $c_jl_ArrayStoreException().init___T("Incompatible array types")
-});
-$c_jl_System$.prototype.copyPrim$mZc$sp$1__p1__AZ__AZ__I__I__I__Z__V = (function(src, dest, srcPos$1, destPos$1, length$1, forward$1) {
- this.checkIndices$1__p1__I__I__I__I__I__V(src.u["length"], dest.u["length"], srcPos$1, destPos$1, length$1);
- if (forward$1) {
- var i = 0;
- while ((i < length$1)) {
- dest.u[((i + destPos$1) | 0)] = src.u[((i + srcPos$1) | 0)];
- i = ((i + 1) | 0)
- }
- } else {
- var i$2 = ((length$1 - 1) | 0);
- while ((i$2 >= 0)) {
- dest.u[((i$2 + destPos$1) | 0)] = src.u[((i$2 + srcPos$1) | 0)];
- i$2 = ((i$2 - 1) | 0)
- }
- }
-});
-$c_jl_System$.prototype.copyPrim$mBc$sp$1__p1__AB__AB__I__I__I__Z__V = (function(src, dest, srcPos$1, destPos$1, length$1, forward$1) {
- this.checkIndices$1__p1__I__I__I__I__I__V(src.u["length"], dest.u["length"], srcPos$1, destPos$1, length$1);
- if (forward$1) {
- var i = 0;
- while ((i < length$1)) {
- dest.u[((i + destPos$1) | 0)] = src.u[((i + srcPos$1) | 0)];
- i = ((i + 1) | 0)
- }
- } else {
- var i$2 = ((length$1 - 1) | 0);
- while ((i$2 >= 0)) {
- dest.u[((i$2 + destPos$1) | 0)] = src.u[((i$2 + srcPos$1) | 0)];
- i$2 = ((i$2 - 1) | 0)
- }
- }
-});
-$c_jl_System$.prototype.copyPrim$mCc$sp$1__p1__AC__AC__I__I__I__Z__V = (function(src, dest, srcPos$1, destPos$1, length$1, forward$1) {
- this.checkIndices$1__p1__I__I__I__I__I__V(src.u["length"], dest.u["length"], srcPos$1, destPos$1, length$1);
- if (forward$1) {
- var i = 0;
- while ((i < length$1)) {
- dest.u[((i + destPos$1) | 0)] = src.u[((i + srcPos$1) | 0)];
- i = ((i + 1) | 0)
- }
- } else {
- var i$2 = ((length$1 - 1) | 0);
- while ((i$2 >= 0)) {
- dest.u[((i$2 + destPos$1) | 0)] = src.u[((i$2 + srcPos$1) | 0)];
- i$2 = ((i$2 - 1) | 0)
- }
- }
-});
-$c_jl_System$.prototype.copyPrim$mDc$sp$1__p1__AD__AD__I__I__I__Z__V = (function(src, dest, srcPos$1, destPos$1, length$1, forward$1) {
- this.checkIndices$1__p1__I__I__I__I__I__V(src.u["length"], dest.u["length"], srcPos$1, destPos$1, length$1);
- if (forward$1) {
- var i = 0;
- while ((i < length$1)) {
- dest.u[((i + destPos$1) | 0)] = src.u[((i + srcPos$1) | 0)];
- i = ((i + 1) | 0)
- }
- } else {
- var i$2 = ((length$1 - 1) | 0);
- while ((i$2 >= 0)) {
- dest.u[((i$2 + destPos$1) | 0)] = src.u[((i$2 + srcPos$1) | 0)];
- i$2 = ((i$2 - 1) | 0)
- }
- }
-});
-$c_jl_System$.prototype.copyPrim$mFc$sp$1__p1__AF__AF__I__I__I__Z__V = (function(src, dest, srcPos$1, destPos$1, length$1, forward$1) {
- this.checkIndices$1__p1__I__I__I__I__I__V(src.u["length"], dest.u["length"], srcPos$1, destPos$1, length$1);
- if (forward$1) {
- var i = 0;
- while ((i < length$1)) {
- dest.u[((i + destPos$1) | 0)] = src.u[((i + srcPos$1) | 0)];
- i = ((i + 1) | 0)
- }
- } else {
- var i$2 = ((length$1 - 1) | 0);
- while ((i$2 >= 0)) {
- dest.u[((i$2 + destPos$1) | 0)] = src.u[((i$2 + srcPos$1) | 0)];
- i$2 = ((i$2 - 1) | 0)
- }
- }
-});
-$c_jl_System$.prototype.copyPrim$mIc$sp$1__p1__AI__AI__I__I__I__Z__V = (function(src, dest, srcPos$1, destPos$1, length$1, forward$1) {
- this.checkIndices$1__p1__I__I__I__I__I__V(src.u["length"], dest.u["length"], srcPos$1, destPos$1, length$1);
- if (forward$1) {
- var i = 0;
- while ((i < length$1)) {
- dest.u[((i + destPos$1) | 0)] = src.u[((i + srcPos$1) | 0)];
- i = ((i + 1) | 0)
- }
- } else {
- var i$2 = ((length$1 - 1) | 0);
- while ((i$2 >= 0)) {
- dest.u[((i$2 + destPos$1) | 0)] = src.u[((i$2 + srcPos$1) | 0)];
- i$2 = ((i$2 - 1) | 0)
- }
- }
-});
-$c_jl_System$.prototype.copyPrim$mJc$sp$1__p1__AJ__AJ__I__I__I__Z__V = (function(src, dest, srcPos$1, destPos$1, length$1, forward$1) {
- this.checkIndices$1__p1__I__I__I__I__I__V(src.u["length"], dest.u["length"], srcPos$1, destPos$1, length$1);
- if (forward$1) {
- var i = 0;
- while ((i < length$1)) {
- dest.u[((i + destPos$1) | 0)] = src.u[((i + srcPos$1) | 0)];
- i = ((i + 1) | 0)
- }
- } else {
- var i$2 = ((length$1 - 1) | 0);
- while ((i$2 >= 0)) {
- dest.u[((i$2 + destPos$1) | 0)] = src.u[((i$2 + srcPos$1) | 0)];
- i$2 = ((i$2 - 1) | 0)
- }
- }
-});
-$c_jl_System$.prototype.copyPrim$mSc$sp$1__p1__AS__AS__I__I__I__Z__V = (function(src, dest, srcPos$1, destPos$1, length$1, forward$1) {
- this.checkIndices$1__p1__I__I__I__I__I__V(src.u["length"], dest.u["length"], srcPos$1, destPos$1, length$1);
- if (forward$1) {
- var i = 0;
- while ((i < length$1)) {
- dest.u[((i + destPos$1) | 0)] = src.u[((i + srcPos$1) | 0)];
- i = ((i + 1) | 0)
- }
- } else {
- var i$2 = ((length$1 - 1) | 0);
- while ((i$2 >= 0)) {
- dest.u[((i$2 + destPos$1) | 0)] = src.u[((i$2 + srcPos$1) | 0)];
- i$2 = ((i$2 - 1) | 0)
- }
- }
-});
-$c_jl_System$.prototype.copyRef$1__p1__AO__AO__I__I__I__Z__V = (function(src, dest, srcPos$1, destPos$1, length$1, forward$1) {
- this.checkIndices$1__p1__I__I__I__I__I__V(src.u["length"], dest.u["length"], srcPos$1, destPos$1, length$1);
- if (forward$1) {
- var i = 0;
- while ((i < length$1)) {
- dest.u[((i + destPos$1) | 0)] = src.u[((i + srcPos$1) | 0)];
- i = ((i + 1) | 0)
- }
- } else {
- var i$2 = ((length$1 - 1) | 0);
- while ((i$2 >= 0)) {
- dest.u[((i$2 + destPos$1) | 0)] = src.u[((i$2 + srcPos$1) | 0)];
- i$2 = ((i$2 - 1) | 0)
- }
- }
-});
-$c_jl_System$.prototype.init___ = (function() {
- $c_O.prototype.init___.call(this);
- $n_jl_System$ = this;
- this.out$1 = new $c_jl_JSConsoleBasedPrintStream().init___jl_Boolean($m_s_Predef$().boolean2Boolean__Z__jl_Boolean(false));
- this.err$1 = new $c_jl_JSConsoleBasedPrintStream().init___jl_Boolean($m_s_Predef$().boolean2Boolean__Z__jl_Boolean(true));
- this.in$1 = null;
- this.getHighPrecisionTime$1 = ($m_sjs_js_DynamicImplicits$().truthValue__sjs_js_Dynamic__Z($m_sjs_js_Dynamic$().global__sjs_js_Dynamic()["performance"]) ? ($m_sjs_js_DynamicImplicits$().truthValue__sjs_js_Dynamic__Z($m_sjs_js_Dynamic$().global__sjs_js_Dynamic()["performance"]["now"]) ? (function() {
- return (+$m_sjs_js_Dynamic$().global__sjs_js_Dynamic()["performance"]["now"]())
- }) : ($m_sjs_js_DynamicImplicits$().truthValue__sjs_js_Dynamic__Z($m_sjs_js_Dynamic$().global__sjs_js_Dynamic()["performance"]["webkitNow"]) ? (function() {
- return (+$m_sjs_js_Dynamic$().global__sjs_js_Dynamic()["performance"]["webkitNow"]())
- }) : (function() {
- return (+new $g["Date"]()["getTime"]())
- }))) : (function() {
- return (+new $g["Date"]()["getTime"]())
- }));
- return this
-});
-var $d_jl_System$ = new $TypeData().initClass({
- jl_System$: 0
-}, false, "java.lang.System$", {
- jl_System$: 1,
- O: 1
-});
-$c_jl_System$.prototype.$classData = $d_jl_System$;
-var $n_jl_System$ = (void 0);
-function $m_jl_System$() {
- if ((!$n_jl_System$)) {
- $n_jl_System$ = new $c_jl_System$().init___()
- };
- return $n_jl_System$
-}
-/** @constructor */
-function $c_jl_System$IDHashCode$() {
- $c_O.call(this);
- this.lastIDHashCode$1 = 0;
- this.idHashCodeMap$1 = null
-}
-$c_jl_System$IDHashCode$.prototype = new $h_O();
-$c_jl_System$IDHashCode$.prototype["constructor"] = $c_jl_System$IDHashCode$;
-/** @constructor */
-function $h_jl_System$IDHashCode$() {
- /*<skip>*/
-}
-$h_jl_System$IDHashCode$.prototype = $c_jl_System$IDHashCode$.prototype;
-$c_jl_System$IDHashCode$.prototype.lastIDHashCode__p1__I = (function() {
- return this.lastIDHashCode$1
-});
-$c_jl_System$IDHashCode$.prototype.lastIDHashCode$und$eq__p1__I__V = (function(x$1) {
- this.lastIDHashCode$1 = x$1
-});
-$c_jl_System$IDHashCode$.prototype.idHashCodeMap__sjs_js_Object = (function() {
- return this.idHashCodeMap$1
-});
-$c_jl_System$IDHashCode$.prototype.nextIDHashCode__I = (function() {
- var r = ((this.lastIDHashCode__p1__I() + 1) | 0);
- this.lastIDHashCode$und$eq__p1__I__V(r);
- return r
-});
-$c_jl_System$IDHashCode$.prototype.init___ = (function() {
- $c_O.prototype.init___.call(this);
- $n_jl_System$IDHashCode$ = this;
- this.lastIDHashCode$1 = 0;
- this.idHashCodeMap$1 = (($m_sjs_LinkingInfo$().assumingES6__Z() || (!$m_sjs_js_package$().isUndefined__O__Z($m_sjs_js_Dynamic$().global__sjs_js_Dynamic()["WeakMap"]))) ? new ($m_sjs_js_Dynamic$().global__sjs_js_Dynamic()["WeakMap"])() : null);
- return this
-});
-var $d_jl_System$IDHashCode$ = new $TypeData().initClass({
- jl_System$IDHashCode$: 0
-}, false, "java.lang.System$IDHashCode$", {
- jl_System$IDHashCode$: 1,
- O: 1
-});
-$c_jl_System$IDHashCode$.prototype.$classData = $d_jl_System$IDHashCode$;
-var $n_jl_System$IDHashCode$ = (void 0);
-function $m_jl_System$IDHashCode$() {
- if ((!$n_jl_System$IDHashCode$)) {
- $n_jl_System$IDHashCode$ = new $c_jl_System$IDHashCode$().init___()
- };
- return $n_jl_System$IDHashCode$
-}
-/** @constructor */
-function $c_jl_ThreadLocal() {
- $c_O.call(this);
- this.hasValue$1 = null;
- this.v$1 = null
-}
-$c_jl_ThreadLocal.prototype = new $h_O();
-$c_jl_ThreadLocal.prototype["constructor"] = $c_jl_ThreadLocal;
-/** @constructor */
-function $h_jl_ThreadLocal() {
- /*<skip>*/
-}
-$h_jl_ThreadLocal.prototype = $c_jl_ThreadLocal.prototype;
-$c_jl_ThreadLocal.prototype.hasValue__p1__jl_Boolean = (function() {
- return this.hasValue$1
-});
-$c_jl_ThreadLocal.prototype.hasValue$und$eq__p1__jl_Boolean__V = (function(x$1) {
- this.hasValue$1 = x$1
-});
-$c_jl_ThreadLocal.prototype.v__p1__O = (function() {
- return this.v$1
-});
-$c_jl_ThreadLocal.prototype.v$und$eq__p1__O__V = (function(x$1) {
- this.v$1 = x$1
-});
-$c_jl_ThreadLocal.prototype.get__O = (function() {
- if ((!$m_s_Predef$().Boolean2boolean__jl_Boolean__Z(this.hasValue__p1__jl_Boolean()))) {
- this.set__O__V(this.initialValue__O())
- };
- return this.v__p1__O()
-});
-$c_jl_ThreadLocal.prototype.set__O__V = (function(o) {
- this.v$und$eq__p1__O__V(o);
- this.hasValue$und$eq__p1__jl_Boolean__V($m_s_Predef$().boolean2Boolean__Z__jl_Boolean(true))
-});
-$c_jl_ThreadLocal.prototype.init___ = (function() {
- $c_O.prototype.init___.call(this);
- this.hasValue$1 = $m_s_Predef$().boolean2Boolean__Z__jl_Boolean(false);
- return this
-});
-/** @constructor */
-function $c_s_DeprecatedConsole() {
- $c_O.call(this)
-}
-$c_s_DeprecatedConsole.prototype = new $h_O();
-$c_s_DeprecatedConsole.prototype["constructor"] = $c_s_DeprecatedConsole;
-/** @constructor */
-function $h_s_DeprecatedConsole() {
- /*<skip>*/
-}
-$h_s_DeprecatedConsole.prototype = $c_s_DeprecatedConsole.prototype;
-$c_s_DeprecatedConsole.prototype.init___ = (function() {
- $c_O.prototype.init___.call(this);
- return this
-});
-function $s_s_DeprecatedPredef$class__$$init$__s_Predef$__V($$this) {
- /*<skip>*/
-}
-function $s_s_Function1$class__toString__F1__T($$this) {
- return "<function1>"
-}
-function $s_s_Function1$class__apply$mcVI$sp__F1__I__V($$this, v1) {
- $$this.apply__O__O(v1)
-}
-function $s_s_Function1$class__$$init$__F1__V($$this) {
- /*<skip>*/
-}
-/** @constructor */
-function $c_s_LowPriorityImplicits() {
- $c_O.call(this)
-}
-$c_s_LowPriorityImplicits.prototype = new $h_O();
-$c_s_LowPriorityImplicits.prototype["constructor"] = $c_s_LowPriorityImplicits;
-/** @constructor */
-function $h_s_LowPriorityImplicits() {
- /*<skip>*/
-}
-$h_s_LowPriorityImplicits.prototype = $c_s_LowPriorityImplicits.prototype;
-$c_s_LowPriorityImplicits.prototype.intWrapper__I__I = (function(x) {
- return x
-});
-$c_s_LowPriorityImplicits.prototype.init___ = (function() {
- $c_O.prototype.init___.call(this);
- return this
-});
-function $s_s_PartialFunction$class__$$init$__s_PartialFunction__V($$this) {
- /*<skip>*/
-}
-function $s_s_Product$class__$$init$__s_Product__V($$this) {
- /*<skip>*/
-}
-function $s_s_Product2$class__productArity__s_Product2__I($$this) {
- return 2
-}
-function $s_s_Product2$class__productElement__s_Product2__I__O($$this, n) {
- var x1 = n;
- switch (x1) {
- case 0: {
- return $$this.$$und1__O();
- break
- }
- case 1: {
- return $$this.$$und2__O();
- break
- }
- default: {
- throw new $c_jl_IndexOutOfBoundsException().init___T($objectToString(n))
- }
- }
-}
-function $s_s_Product2$class__$$init$__s_Product2__V($$this) {
- /*<skip>*/
-}
-function $s_s_Product2$mcII$sp$class__$$init$__s_Product2$mcII$sp__V($$this) {
- /*<skip>*/
-}
-function $s_s_Product3$class__productArity__s_Product3__I($$this) {
- return 3
-}
-function $s_s_Product3$class__productElement__s_Product3__I__O($$this, n) {
- var x1 = n;
- switch (x1) {
- case 0: {
- return $$this.$$und1__O();
- break
- }
- case 1: {
- return $$this.$$und2__O();
- break
- }
- case 2: {
- return $$this.$$und3__O();
- break
- }
- default: {
- throw new $c_jl_IndexOutOfBoundsException().init___T($objectToString(n))
- }
- }
-}
-function $s_s_Product3$class__$$init$__s_Product3__V($$this) {
- /*<skip>*/
-}
-/** @constructor */
-function $c_s_compat_Platform$() {
- $c_O.call(this);
- this.EOL$1 = null
-}
-$c_s_compat_Platform$.prototype = new $h_O();
-$c_s_compat_Platform$.prototype["constructor"] = $c_s_compat_Platform$;
-/** @constructor */
-function $h_s_compat_Platform$() {
- /*<skip>*/
-}
-$h_s_compat_Platform$.prototype = $c_s_compat_Platform$.prototype;
-$c_s_compat_Platform$.prototype.arraycopy__O__I__O__I__I__V = (function(src, srcPos, dest, destPos, length) {
- $m_jl_System$().arraycopy__O__I__O__I__I__V(src, srcPos, dest, destPos, length)
-});
-$c_s_compat_Platform$.prototype.currentTime__J = (function() {
- return $m_jl_System$().currentTimeMillis__J()
-});
-$c_s_compat_Platform$.prototype.init___ = (function() {
- $c_O.prototype.init___.call(this);
- $n_s_compat_Platform$ = this;
- this.EOL$1 = "\n";
- return this
-});
-var $d_s_compat_Platform$ = new $TypeData().initClass({
- s_compat_Platform$: 0
-}, false, "scala.compat.Platform$", {
- s_compat_Platform$: 1,
- O: 1
-});
-$c_s_compat_Platform$.prototype.$classData = $d_s_compat_Platform$;
-var $n_s_compat_Platform$ = (void 0);
-function $m_s_compat_Platform$() {
- if ((!$n_s_compat_Platform$)) {
- $n_s_compat_Platform$ = new $c_s_compat_Platform$().init___()
- };
- return $n_s_compat_Platform$
-}
-function $s_s_io_AnsiColor$class__$$init$__s_io_AnsiColor__V($$this) {
- /*<skip>*/
-}
-function $s_s_math_LowPriorityEquiv$class__$$init$__s_math_Equiv$__V($$this) {
- /*<skip>*/
-}
-function $s_s_math_LowPriorityOrderingImplicits$class__$$init$__s_math_LowPriorityOrderingImplicits__V($$this) {
- /*<skip>*/
-}
-/** @constructor */
-function $c_s_math_Ordered$() {
- $c_O.call(this)
-}
-$c_s_math_Ordered$.prototype = new $h_O();
-$c_s_math_Ordered$.prototype["constructor"] = $c_s_math_Ordered$;
-/** @constructor */
-function $h_s_math_Ordered$() {
- /*<skip>*/
-}
-$h_s_math_Ordered$.prototype = $c_s_math_Ordered$.prototype;
-$c_s_math_Ordered$.prototype.init___ = (function() {
- $c_O.prototype.init___.call(this);
- $n_s_math_Ordered$ = this;
- return this
-});
-var $d_s_math_Ordered$ = new $TypeData().initClass({
- s_math_Ordered$: 0
-}, false, "scala.math.Ordered$", {
- s_math_Ordered$: 1,
- O: 1
-});
-$c_s_math_Ordered$.prototype.$classData = $d_s_math_Ordered$;
-var $n_s_math_Ordered$ = (void 0);
-function $m_s_math_Ordered$() {
- if ((!$n_s_math_Ordered$)) {
- $n_s_math_Ordered$ = new $c_s_math_Ordered$().init___()
- };
- return $n_s_math_Ordered$
-}
-function $s_s_math_Ordered$class__$$init$__s_math_Ordered__V($$this) {
- /*<skip>*/
-}
-/** @constructor */
-function $c_s_math_package$() {
- $c_O.call(this);
- this.E$1 = 0.0;
- this.Pi$1 = 0.0
-}
-$c_s_math_package$.prototype = new $h_O();
-$c_s_math_package$.prototype["constructor"] = $c_s_math_package$;
-/** @constructor */
-function $h_s_math_package$() {
- /*<skip>*/
-}
-$h_s_math_package$.prototype = $c_s_math_package$.prototype;
-$c_s_math_package$.prototype.min__I__I__I = (function(x, y) {
- return $m_jl_Math$().min__I__I__I(x, y)
-});
-$c_s_math_package$.prototype.init___ = (function() {
- $c_O.prototype.init___.call(this);
- $n_s_math_package$ = this;
- return this
-});
-var $d_s_math_package$ = new $TypeData().initClass({
- s_math_package$: 0
-}, false, "scala.math.package$", {
- s_math_package$: 1,
- O: 1
-});
-$c_s_math_package$.prototype.$classData = $d_s_math_package$;
-var $n_s_math_package$ = (void 0);
-function $m_s_math_package$() {
- if ((!$n_s_math_package$)) {
- $n_s_math_package$ = new $c_s_math_package$().init___()
- };
- return $n_s_math_package$
-}
-/** @constructor */
-function $c_s_package$() {
- $c_O.call(this);
- this.AnyRef$1 = null;
- this.Traversable$1 = null;
- this.Iterable$1 = null;
- this.Seq$1 = null;
- this.IndexedSeq$1 = null;
- this.Iterator$1 = null;
- this.List$1 = null;
- this.Nil$1 = null;
- this.$$colon$colon$1 = null;
- this.$$plus$colon$1 = null;
- this.$$colon$plus$1 = null;
- this.Stream$1 = null;
- this.$$hash$colon$colon$1 = null;
- this.Vector$1 = null;
- this.StringBuilder$1 = null;
- this.Range$1 = null;
- this.BigDecimal$1 = null;
- this.BigInt$1 = null;
- this.Equiv$1 = null;
- this.Fractional$1 = null;
- this.Integral$1 = null;
- this.Numeric$1 = null;
- this.Ordered$1 = null;
- this.Ordering$1 = null;
- this.Either$1 = null;
- this.Left$1 = null;
- this.Right$1 = null;
- this.bitmap$0$1 = 0
-}
-$c_s_package$.prototype = new $h_O();
-$c_s_package$.prototype["constructor"] = $c_s_package$;
-/** @constructor */
-function $h_s_package$() {
- /*<skip>*/
-}
-$h_s_package$.prototype = $c_s_package$.prototype;
-$c_s_package$.prototype.init___ = (function() {
- $c_O.prototype.init___.call(this);
- $n_s_package$ = this;
- this.AnyRef$1 = new $c_s_package$$anon$1().init___();
- this.Traversable$1 = $m_sc_Traversable$();
- this.Iterable$1 = $m_sc_Iterable$();
- this.Seq$1 = $m_sc_Seq$();
- this.IndexedSeq$1 = $m_sc_IndexedSeq$();
- this.Iterator$1 = $m_sc_Iterator$();
- this.List$1 = $m_sci_List$();
- this.Nil$1 = $m_sci_Nil$();
- this.$$colon$colon$1 = $m_sci_$colon$colon$();
- this.$$plus$colon$1 = $m_sc_$plus$colon$();
- this.$$colon$plus$1 = $m_sc_$colon$plus$();
- this.Stream$1 = $m_sci_Stream$();
- this.$$hash$colon$colon$1 = $m_sci_Stream$$hash$colon$colon$();
- this.Vector$1 = $m_sci_Vector$();
- this.StringBuilder$1 = $m_scm_StringBuilder$();
- this.Range$1 = $m_sci_Range$();
- this.Equiv$1 = $m_s_math_Equiv$();
- this.Fractional$1 = $m_s_math_Fractional$();
- this.Integral$1 = $m_s_math_Integral$();
- this.Numeric$1 = $m_s_math_Numeric$();
- this.Ordered$1 = $m_s_math_Ordered$();
- this.Ordering$1 = $m_s_math_Ordering$();
- this.Either$1 = $m_s_util_Either$();
- this.Left$1 = $m_s_util_Left$();
- this.Right$1 = $m_s_util_Right$();
- return this
-});
-var $d_s_package$ = new $TypeData().initClass({
- s_package$: 0
-}, false, "scala.package$", {
- s_package$: 1,
- O: 1
-});
-$c_s_package$.prototype.$classData = $d_s_package$;
-var $n_s_package$ = (void 0);
-function $m_s_package$() {
- if ((!$n_s_package$)) {
- $n_s_package$ = new $c_s_package$().init___()
- };
- return $n_s_package$
-}
-function $s_s_reflect_ClassManifestDeprecatedApis$class__$$init$__s_reflect_ClassTag__V($$this) {
- /*<skip>*/
-}
-/** @constructor */
-function $c_s_reflect_ClassManifestFactory$() {
- $c_O.call(this);
- this.Byte$1 = null;
- this.Short$1 = null;
- this.Char$1 = null;
- this.Int$1 = null;
- this.Long$1 = null;
- this.Float$1 = null;
- this.Double$1 = null;
- this.Boolean$1 = null;
- this.Unit$1 = null;
- this.Any$1 = null;
- this.Object$1 = null;
- this.AnyVal$1 = null;
- this.Nothing$1 = null;
- this.Null$1 = null
-}
-$c_s_reflect_ClassManifestFactory$.prototype = new $h_O();
-$c_s_reflect_ClassManifestFactory$.prototype["constructor"] = $c_s_reflect_ClassManifestFactory$;
-/** @constructor */
-function $h_s_reflect_ClassManifestFactory$() {
- /*<skip>*/
-}
-$h_s_reflect_ClassManifestFactory$.prototype = $c_s_reflect_ClassManifestFactory$.prototype;
-$c_s_reflect_ClassManifestFactory$.prototype.init___ = (function() {
- $c_O.prototype.init___.call(this);
- $n_s_reflect_ClassManifestFactory$ = this;
- this.Byte$1 = $m_s_reflect_ManifestFactory$().Byte__s_reflect_AnyValManifest();
- this.Short$1 = $m_s_reflect_ManifestFactory$().Short__s_reflect_AnyValManifest();
- this.Char$1 = $m_s_reflect_ManifestFactory$().Char__s_reflect_AnyValManifest();
- this.Int$1 = $m_s_reflect_ManifestFactory$().Int__s_reflect_AnyValManifest();
- this.Long$1 = $m_s_reflect_ManifestFactory$().Long__s_reflect_AnyValManifest();
- this.Float$1 = $m_s_reflect_ManifestFactory$().Float__s_reflect_AnyValManifest();
- this.Double$1 = $m_s_reflect_ManifestFactory$().Double__s_reflect_AnyValManifest();
- this.Boolean$1 = $m_s_reflect_ManifestFactory$().Boolean__s_reflect_AnyValManifest();
- this.Unit$1 = $m_s_reflect_ManifestFactory$().Unit__s_reflect_AnyValManifest();
- this.Any$1 = $m_s_reflect_ManifestFactory$().Any__s_reflect_Manifest();
- this.Object$1 = $m_s_reflect_ManifestFactory$().Object__s_reflect_Manifest();
- this.AnyVal$1 = $m_s_reflect_ManifestFactory$().AnyVal__s_reflect_Manifest();
- this.Nothing$1 = $m_s_reflect_ManifestFactory$().Nothing__s_reflect_Manifest();
- this.Null$1 = $m_s_reflect_ManifestFactory$().Null__s_reflect_Manifest();
- return this
-});
-var $d_s_reflect_ClassManifestFactory$ = new $TypeData().initClass({
- s_reflect_ClassManifestFactory$: 0
-}, false, "scala.reflect.ClassManifestFactory$", {
- s_reflect_ClassManifestFactory$: 1,
- O: 1
-});
-$c_s_reflect_ClassManifestFactory$.prototype.$classData = $d_s_reflect_ClassManifestFactory$;
-var $n_s_reflect_ClassManifestFactory$ = (void 0);
-function $m_s_reflect_ClassManifestFactory$() {
- if ((!$n_s_reflect_ClassManifestFactory$)) {
- $n_s_reflect_ClassManifestFactory$ = new $c_s_reflect_ClassManifestFactory$().init___()
- };
- return $n_s_reflect_ClassManifestFactory$
-}
-function $s_s_reflect_ClassTag$class__$$init$__s_reflect_ClassTag__V($$this) {
- /*<skip>*/
-}
-function $s_s_reflect_Manifest$class__$$init$__s_reflect_Manifest__V($$this) {
- /*<skip>*/
-}
-/** @constructor */
-function $c_s_reflect_ManifestFactory$() {
- $c_O.call(this)
-}
-$c_s_reflect_ManifestFactory$.prototype = new $h_O();
-$c_s_reflect_ManifestFactory$.prototype["constructor"] = $c_s_reflect_ManifestFactory$;
-/** @constructor */
-function $h_s_reflect_ManifestFactory$() {
- /*<skip>*/
-}
-$h_s_reflect_ManifestFactory$.prototype = $c_s_reflect_ManifestFactory$.prototype;
-$c_s_reflect_ManifestFactory$.prototype.Byte__s_reflect_AnyValManifest = (function() {
- return $m_s_reflect_ManifestFactory$ByteManifest$()
-});
-$c_s_reflect_ManifestFactory$.prototype.Short__s_reflect_AnyValManifest = (function() {
- return $m_s_reflect_ManifestFactory$ShortManifest$()
-});
-$c_s_reflect_ManifestFactory$.prototype.Char__s_reflect_AnyValManifest = (function() {
- return $m_s_reflect_ManifestFactory$CharManifest$()
-});
-$c_s_reflect_ManifestFactory$.prototype.Int__s_reflect_AnyValManifest = (function() {
- return $m_s_reflect_ManifestFactory$IntManifest$()
-});
-$c_s_reflect_ManifestFactory$.prototype.Long__s_reflect_AnyValManifest = (function() {
- return $m_s_reflect_ManifestFactory$LongManifest$()
-});
-$c_s_reflect_ManifestFactory$.prototype.Float__s_reflect_AnyValManifest = (function() {
- return $m_s_reflect_ManifestFactory$FloatManifest$()
-});
-$c_s_reflect_ManifestFactory$.prototype.Double__s_reflect_AnyValManifest = (function() {
- return $m_s_reflect_ManifestFactory$DoubleManifest$()
-});
-$c_s_reflect_ManifestFactory$.prototype.Boolean__s_reflect_AnyValManifest = (function() {
- return $m_s_reflect_ManifestFactory$BooleanManifest$()
-});
-$c_s_reflect_ManifestFactory$.prototype.Unit__s_reflect_AnyValManifest = (function() {
- return $m_s_reflect_ManifestFactory$UnitManifest$()
-});
-$c_s_reflect_ManifestFactory$.prototype.Any__s_reflect_Manifest = (function() {
- return $m_s_reflect_ManifestFactory$AnyManifest$()
-});
-$c_s_reflect_ManifestFactory$.prototype.Object__s_reflect_Manifest = (function() {
- return $m_s_reflect_ManifestFactory$ObjectManifest$()
-});
-$c_s_reflect_ManifestFactory$.prototype.AnyVal__s_reflect_Manifest = (function() {
- return $m_s_reflect_ManifestFactory$AnyValManifest$()
-});
-$c_s_reflect_ManifestFactory$.prototype.Null__s_reflect_Manifest = (function() {
- return $m_s_reflect_ManifestFactory$NullManifest$()
-});
-$c_s_reflect_ManifestFactory$.prototype.Nothing__s_reflect_Manifest = (function() {
- return $m_s_reflect_ManifestFactory$NothingManifest$()
-});
-$c_s_reflect_ManifestFactory$.prototype.init___ = (function() {
- $c_O.prototype.init___.call(this);
- $n_s_reflect_ManifestFactory$ = this;
- return this
-});
-var $d_s_reflect_ManifestFactory$ = new $TypeData().initClass({
- s_reflect_ManifestFactory$: 0
-}, false, "scala.reflect.ManifestFactory$", {
- s_reflect_ManifestFactory$: 1,
- O: 1
-});
-$c_s_reflect_ManifestFactory$.prototype.$classData = $d_s_reflect_ManifestFactory$;
-var $n_s_reflect_ManifestFactory$ = (void 0);
-function $m_s_reflect_ManifestFactory$() {
- if ((!$n_s_reflect_ManifestFactory$)) {
- $n_s_reflect_ManifestFactory$ = new $c_s_reflect_ManifestFactory$().init___()
- };
- return $n_s_reflect_ManifestFactory$
-}
-/** @constructor */
-function $c_s_reflect_package$() {
- $c_O.call(this);
- this.ClassManifest$1 = null;
- this.Manifest$1 = null
-}
-$c_s_reflect_package$.prototype = new $h_O();
-$c_s_reflect_package$.prototype["constructor"] = $c_s_reflect_package$;
-/** @constructor */
-function $h_s_reflect_package$() {
- /*<skip>*/
-}
-$h_s_reflect_package$.prototype = $c_s_reflect_package$.prototype;
-$c_s_reflect_package$.prototype.ClassManifest__s_reflect_ClassManifestFactory$ = (function() {
- return this.ClassManifest$1
-});
-$c_s_reflect_package$.prototype.Manifest__s_reflect_ManifestFactory$ = (function() {
- return this.Manifest$1
-});
-$c_s_reflect_package$.prototype.init___ = (function() {
- $c_O.prototype.init___.call(this);
- $n_s_reflect_package$ = this;
- this.ClassManifest$1 = $m_s_reflect_ClassManifestFactory$();
- this.Manifest$1 = $m_s_reflect_ManifestFactory$();
- return this
-});
-var $d_s_reflect_package$ = new $TypeData().initClass({
- s_reflect_package$: 0
-}, false, "scala.reflect.package$", {
- s_reflect_package$: 1,
- O: 1
-});
-$c_s_reflect_package$.prototype.$classData = $d_s_reflect_package$;
-var $n_s_reflect_package$ = (void 0);
-function $m_s_reflect_package$() {
- if ((!$n_s_reflect_package$)) {
- $n_s_reflect_package$ = new $c_s_reflect_package$().init___()
- };
- return $n_s_reflect_package$
-}
-/** @constructor */
-function $c_s_util_DynamicVariable() {
- $c_O.call(this);
- this.scala$util$DynamicVariable$$init$f = null;
- this.tl$1 = null
-}
-$c_s_util_DynamicVariable.prototype = new $h_O();
-$c_s_util_DynamicVariable.prototype["constructor"] = $c_s_util_DynamicVariable;
-/** @constructor */
-function $h_s_util_DynamicVariable() {
- /*<skip>*/
-}
-$h_s_util_DynamicVariable.prototype = $c_s_util_DynamicVariable.prototype;
-$c_s_util_DynamicVariable.prototype.tl__p1__jl_InheritableThreadLocal = (function() {
- return this.tl$1
-});
-$c_s_util_DynamicVariable.prototype.value__O = (function() {
- return this.tl__p1__jl_InheritableThreadLocal().get__O()
-});
-$c_s_util_DynamicVariable.prototype.toString__T = (function() {
- return (("DynamicVariable(" + this.value__O()) + ")")
-});
-$c_s_util_DynamicVariable.prototype.init___O = (function(init) {
- this.scala$util$DynamicVariable$$init$f = init;
- $c_O.prototype.init___.call(this);
- this.tl$1 = new $c_s_util_DynamicVariable$$anon$1().init___s_util_DynamicVariable(this);
- return this
-});
-var $d_s_util_DynamicVariable = new $TypeData().initClass({
- s_util_DynamicVariable: 0
-}, false, "scala.util.DynamicVariable", {
- s_util_DynamicVariable: 1,
- O: 1
-});
-$c_s_util_DynamicVariable.prototype.$classData = $d_s_util_DynamicVariable;
-/** @constructor */
-function $c_s_util_Either$() {
- $c_O.call(this)
-}
-$c_s_util_Either$.prototype = new $h_O();
-$c_s_util_Either$.prototype["constructor"] = $c_s_util_Either$;
-/** @constructor */
-function $h_s_util_Either$() {
- /*<skip>*/
-}
-$h_s_util_Either$.prototype = $c_s_util_Either$.prototype;
-$c_s_util_Either$.prototype.init___ = (function() {
- $c_O.prototype.init___.call(this);
- $n_s_util_Either$ = this;
- return this
-});
-var $d_s_util_Either$ = new $TypeData().initClass({
- s_util_Either$: 0
-}, false, "scala.util.Either$", {
- s_util_Either$: 1,
- O: 1
-});
-$c_s_util_Either$.prototype.$classData = $d_s_util_Either$;
-var $n_s_util_Either$ = (void 0);
-function $m_s_util_Either$() {
- if ((!$n_s_util_Either$)) {
- $n_s_util_Either$ = new $c_s_util_Either$().init___()
- };
- return $n_s_util_Either$
-}
-/** @constructor */
-function $c_s_util_control_Breaks() {
- $c_O.call(this);
- this.scala$util$control$Breaks$$breakException$1 = null
-}
-$c_s_util_control_Breaks.prototype = new $h_O();
-$c_s_util_control_Breaks.prototype["constructor"] = $c_s_util_control_Breaks;
-/** @constructor */
-function $h_s_util_control_Breaks() {
- /*<skip>*/
-}
-$h_s_util_control_Breaks.prototype = $c_s_util_control_Breaks.prototype;
-$c_s_util_control_Breaks.prototype.init___ = (function() {
- $c_O.prototype.init___.call(this);
- this.scala$util$control$Breaks$$breakException$1 = new $c_s_util_control_BreakControl().init___();
- return this
-});
-var $d_s_util_control_Breaks = new $TypeData().initClass({
- s_util_control_Breaks: 0
-}, false, "scala.util.control.Breaks", {
- s_util_control_Breaks: 1,
- O: 1
-});
-$c_s_util_control_Breaks.prototype.$classData = $d_s_util_control_Breaks;
-function $s_s_util_control_NoStackTrace$class__fillInStackTrace__s_util_control_NoStackTrace__jl_Throwable($$this) {
- return ($m_s_util_control_NoStackTrace$().noSuppression__Z() ? $$this.scala$util$control$NoStackTrace$$super$fillInStackTrace__jl_Throwable() : $$this)
-}
-function $s_s_util_control_NoStackTrace$class__$$init$__s_util_control_NoStackTrace__V($$this) {
- /*<skip>*/
-}
-/** @constructor */
-function $c_s_util_hashing_MurmurHash3() {
- $c_O.call(this)
-}
-$c_s_util_hashing_MurmurHash3.prototype = new $h_O();
-$c_s_util_hashing_MurmurHash3.prototype["constructor"] = $c_s_util_hashing_MurmurHash3;
-/** @constructor */
-function $h_s_util_hashing_MurmurHash3() {
- /*<skip>*/
-}
-$h_s_util_hashing_MurmurHash3.prototype = $c_s_util_hashing_MurmurHash3.prototype;
-$c_s_util_hashing_MurmurHash3.prototype.mix__I__I__I = (function(hash, data) {
- var h = this.mixLast__I__I__I(hash, data);
- h = $m_jl_Integer$().rotateLeft__I__I__I(h, 13);
- return (($imul(h, 5) + (-430675100)) | 0)
-});
-$c_s_util_hashing_MurmurHash3.prototype.mixLast__I__I__I = (function(hash, data) {
- var k = data;
- k = $imul(k, (-862048943));
- k = $m_jl_Integer$().rotateLeft__I__I__I(k, 15);
- k = $imul(k, 461845907);
- return (hash ^ k)
-});
-$c_s_util_hashing_MurmurHash3.prototype.finalizeHash__I__I__I = (function(hash, length) {
- return this.avalanche__p1__I__I((hash ^ length))
-});
-$c_s_util_hashing_MurmurHash3.prototype.avalanche__p1__I__I = (function(hash) {
- var h = hash;
- h = (h ^ ((h >>> 16) | 0));
- h = $imul(h, (-2048144789));
- h = (h ^ ((h >>> 13) | 0));
- h = $imul(h, (-1028477387));
- h = (h ^ ((h >>> 16) | 0));
- return h
-});
-$c_s_util_hashing_MurmurHash3.prototype.productHash__s_Product__I__I = (function(x, seed) {
- var arr = x.productArity__I();
- if ((arr === 0)) {
- return $objectHashCode(x.productPrefix__T())
- } else {
- var h = seed;
- var i = 0;
- while ((i < arr)) {
- h = this.mix__I__I__I(h, $m_sr_ScalaRunTime$().hash__O__I(x.productElement__I__O(i)));
- i = ((i + 1) | 0)
- };
- return this.finalizeHash__I__I__I(h, arr)
- }
-});
-$c_s_util_hashing_MurmurHash3.prototype.orderedHash__sc_TraversableOnce__I__I = (function(xs, seed) {
- var n = $m_sr_IntRef$().create__I__sr_IntRef(0);
- var h = $m_sr_IntRef$().create__I__sr_IntRef(seed);
- xs.foreach__F1__V(new $c_sjsr_AnonFunction1().init___sjs_js_Function1((function($this, n, h) {
- return (function(x$2) {
- var x = x$2;
- $this.$$anonfun$2__p1__sr_IntRef__sr_IntRef__O__V(n, h, x)
- })
- })(this, n, h)));
- return this.finalizeHash__I__I__I(h.elem$1, n.elem$1)
-});
-$c_s_util_hashing_MurmurHash3.prototype.listHash__sci_List__I__I = (function(xs, seed) {
- var n = 0;
- var h = seed;
- var elems = xs;
- while ((!elems.isEmpty__Z())) {
- var head = elems.head__O();
- var tail = elems.tail__O();
- h = this.mix__I__I__I(h, $m_sr_ScalaRunTime$().hash__O__I(head));
- n = ((n + 1) | 0);
- elems = tail
- };
- return this.finalizeHash__I__I__I(h, n)
-});
-$c_s_util_hashing_MurmurHash3.prototype.$$anonfun$2__p1__sr_IntRef__sr_IntRef__O__V = (function(n$2, h$1, x) {
- h$1.elem$1 = this.mix__I__I__I(h$1.elem$1, $m_sr_ScalaRunTime$().hash__O__I(x));
- n$2.elem$1 = ((n$2.elem$1 + 1) | 0)
-});
-$c_s_util_hashing_MurmurHash3.prototype.init___ = (function() {
- $c_O.prototype.init___.call(this);
- return this
-});
-/** @constructor */
-function $c_sc_$colon$plus$() {
- $c_O.call(this)
-}
-$c_sc_$colon$plus$.prototype = new $h_O();
-$c_sc_$colon$plus$.prototype["constructor"] = $c_sc_$colon$plus$;
-/** @constructor */
-function $h_sc_$colon$plus$() {
- /*<skip>*/
-}
-$h_sc_$colon$plus$.prototype = $c_sc_$colon$plus$.prototype;
-$c_sc_$colon$plus$.prototype.init___ = (function() {
- $c_O.prototype.init___.call(this);
- $n_sc_$colon$plus$ = this;
- return this
-});
-var $d_sc_$colon$plus$ = new $TypeData().initClass({
- sc_$colon$plus$: 0
-}, false, "scala.collection.$colon$plus$", {
- sc_$colon$plus$: 1,
- O: 1
-});
-$c_sc_$colon$plus$.prototype.$classData = $d_sc_$colon$plus$;
-var $n_sc_$colon$plus$ = (void 0);
-function $m_sc_$colon$plus$() {
- if ((!$n_sc_$colon$plus$)) {
- $n_sc_$colon$plus$ = new $c_sc_$colon$plus$().init___()
- };
- return $n_sc_$colon$plus$
-}
-/** @constructor */
-function $c_sc_$plus$colon$() {
- $c_O.call(this)
-}
-$c_sc_$plus$colon$.prototype = new $h_O();
-$c_sc_$plus$colon$.prototype["constructor"] = $c_sc_$plus$colon$;
-/** @constructor */
-function $h_sc_$plus$colon$() {
- /*<skip>*/
-}
-$h_sc_$plus$colon$.prototype = $c_sc_$plus$colon$.prototype;
-$c_sc_$plus$colon$.prototype.init___ = (function() {
- $c_O.prototype.init___.call(this);
- $n_sc_$plus$colon$ = this;
- return this
-});
-var $d_sc_$plus$colon$ = new $TypeData().initClass({
- sc_$plus$colon$: 0
-}, false, "scala.collection.$plus$colon$", {
- sc_$plus$colon$: 1,
- O: 1
-});
-$c_sc_$plus$colon$.prototype.$classData = $d_sc_$plus$colon$;
-var $n_sc_$plus$colon$ = (void 0);
-function $m_sc_$plus$colon$() {
- if ((!$n_sc_$plus$colon$)) {
- $n_sc_$plus$colon$ = new $c_sc_$plus$colon$().init___()
- };
- return $n_sc_$plus$colon$
-}
-function $s_sc_BufferedIterator$class__$$init$__sc_BufferedIterator__V($$this) {
- /*<skip>*/
-}
-function $s_sc_CustomParallelizable$class__$$init$__sc_CustomParallelizable__V($$this) {
- /*<skip>*/
-}
-function $s_sc_GenIterable$class__$$init$__sc_GenIterable__V($$this) {
- /*<skip>*/
-}
-function $s_sc_GenSeq$class__$$init$__sc_GenSeq__V($$this) {
- /*<skip>*/
-}
-function $s_sc_GenSeqLike$class__equals__sc_GenSeqLike__O__Z($$this, that) {
- var x1 = that;
- if ($is_sc_GenSeq(x1)) {
- var x2 = x1;
- return (x2.canEqual__O__Z($$this) && $$this.sameElements__sc_GenIterable__Z(x2))
- } else {
- return false
- }
-}
-function $s_sc_GenSeqLike$class__$$init$__sc_GenSeqLike__V($$this) {
- /*<skip>*/
-}
-function $s_sc_GenTraversable$class__$$init$__sc_GenTraversable__V($$this) {
- /*<skip>*/
-}
-function $s_sc_IndexedSeq$class__$$init$__sc_IndexedSeq__V($$this) {
- /*<skip>*/
-}
-function $s_sc_IndexedSeqLike$class__hashCode__sc_IndexedSeqLike__I($$this) {
- return $m_s_util_hashing_MurmurHash3$().seqHash__sc_Seq__I($$this.seq__sc_IndexedSeq())
-}
-function $s_sc_IndexedSeqLike$class__iterator__sc_IndexedSeqLike__sc_Iterator($$this) {
- return new $c_sc_IndexedSeqLike$Elements().init___sc_IndexedSeqLike__I__I($$this, 0, $$this.length__I())
-}
-function $s_sc_IndexedSeqLike$class__$$init$__sc_IndexedSeqLike__V($$this) {
- /*<skip>*/
-}
-function $s_sc_IndexedSeqOptimized$class__isEmpty__sc_IndexedSeqOptimized__Z($$this) {
- return ($$this.length__I() === 0)
-}
-function $s_sc_IndexedSeqOptimized$class__foreach__sc_IndexedSeqOptimized__F1__V($$this, f) {
- var i = 0;
- var len = $$this.length__I();
- while ((i < len)) {
- f.apply__O__O($$this.apply__I__O(i));
- i = ((i + 1) | 0)
- }
-}
-function $s_sc_IndexedSeqOptimized$class__sameElements__sc_IndexedSeqOptimized__sc_GenIterable__Z($$this, that) {
- var x1 = that;
- if ($is_sc_IndexedSeq(x1)) {
- var x2 = x1;
- var len = $$this.length__I();
- if ((len === x2.length__I())) {
- var i = 0;
- while (((i < len) && $m_sr_BoxesRunTime$().equals__O__O__Z($$this.apply__I__O(i), x2.apply__I__O(i)))) {
- i = ((i + 1) | 0)
- };
- return (i === len)
- } else {
- return false
- }
- } else {
- return $$this.scala$collection$IndexedSeqOptimized$$super$sameElements__sc_GenIterable__Z(that)
- }
-}
-function $s_sc_IndexedSeqOptimized$class__lengthCompare__sc_IndexedSeqOptimized__I__I($$this, len) {
- return (($$this.length__I() - len) | 0)
-}
-function $s_sc_IndexedSeqOptimized$class__$$init$__sc_IndexedSeqOptimized__V($$this) {
- /*<skip>*/
-}
-function $s_sc_Iterable$class__$$init$__sc_Iterable__V($$this) {
- /*<skip>*/
-}
-function $s_sc_IterableLike$class__foreach__sc_IterableLike__F1__V($$this, f) {
- $$this.iterator__sc_Iterator().foreach__F1__V(f)
-}
-function $s_sc_IterableLike$class__sameElements__sc_IterableLike__sc_GenIterable__Z($$this, that) {
- var these = $$this.iterator__sc_Iterator();
- var those = that.iterator__sc_Iterator();
- while ((these.hasNext__Z() && those.hasNext__Z())) {
- if ((!$m_sr_BoxesRunTime$().equals__O__O__Z(these.next__O(), those.next__O()))) {
- return false
- }
- };
- return ((!these.hasNext__Z()) && (!those.hasNext__Z()))
-}
-function $s_sc_IterableLike$class__canEqual__sc_IterableLike__O__Z($$this, that) {
- return true
-}
-function $s_sc_IterableLike$class__$$init$__sc_IterableLike__V($$this) {
- /*<skip>*/
-}
-/** @constructor */
-function $c_sc_Iterator$() {
- $c_O.call(this);
- this.empty$1 = null
-}
-$c_sc_Iterator$.prototype = new $h_O();
-$c_sc_Iterator$.prototype["constructor"] = $c_sc_Iterator$;
-/** @constructor */
-function $h_sc_Iterator$() {
- /*<skip>*/
-}
-$h_sc_Iterator$.prototype = $c_sc_Iterator$.prototype;
-$c_sc_Iterator$.prototype.empty__sc_Iterator = (function() {
- return this.empty$1
-});
-$c_sc_Iterator$.prototype.init___ = (function() {
- $c_O.prototype.init___.call(this);
- $n_sc_Iterator$ = this;
- this.empty$1 = new $c_sc_Iterator$$anon$2().init___();
- return this
-});
-var $d_sc_Iterator$ = new $TypeData().initClass({
- sc_Iterator$: 0
-}, false, "scala.collection.Iterator$", {
- sc_Iterator$: 1,
- O: 1
-});
-$c_sc_Iterator$.prototype.$classData = $d_sc_Iterator$;
-var $n_sc_Iterator$ = (void 0);
-function $m_sc_Iterator$() {
- if ((!$n_sc_Iterator$)) {
- $n_sc_Iterator$ = new $c_sc_Iterator$().init___()
- };
- return $n_sc_Iterator$
-}
-function $s_sc_Iterator$class__isEmpty__sc_Iterator__Z($$this) {
- return (!$$this.hasNext__Z())
-}
-function $s_sc_Iterator$class__foreach__sc_Iterator__F1__V($$this, f) {
- while ($$this.hasNext__Z()) {
- f.apply__O__O($$this.next__O())
- }
-}
-function $s_sc_Iterator$class__toString__sc_Iterator__T($$this) {
- return (($$this.hasNext__Z() ? "non-empty" : "empty") + " iterator")
-}
-function $s_sc_Iterator$class__$$init$__sc_Iterator__V($$this) {
- /*<skip>*/
-}
-function $s_sc_LinearSeq$class__$$init$__sc_LinearSeq__V($$this) {
- /*<skip>*/
-}
-function $s_sc_LinearSeqLike$class__hashCode__sc_LinearSeqLike__I($$this) {
- return $m_s_util_hashing_MurmurHash3$().seqHash__sc_Seq__I($$this.seq__sc_LinearSeq())
-}
-function $s_sc_LinearSeqLike$class__iterator__sc_LinearSeqLike__sc_Iterator($$this) {
- return new $c_sc_LinearSeqLike$$anon$1().init___sc_LinearSeqLike($$this)
-}
-function $s_sc_LinearSeqLike$class__$$init$__sc_LinearSeqLike__V($$this) {
- /*<skip>*/
-}
-function $s_sc_LinearSeqOptimized$class__length__sc_LinearSeqOptimized__I($$this) {
- var these = $$this;
- var len = 0;
- while ((!these.isEmpty__Z())) {
- len = ((len + 1) | 0);
- these = these.tail__O()
- };
- return len
-}
-function $s_sc_LinearSeqOptimized$class__apply__sc_LinearSeqOptimized__I__O($$this, n) {
- var rest = $$this.drop__I__sc_LinearSeqOptimized(n);
- if (((n < 0) || rest.isEmpty__Z())) {
- throw new $c_jl_IndexOutOfBoundsException().init___T(("" + n))
- };
- return rest.head__O()
-}
-function $s_sc_LinearSeqOptimized$class__last__sc_LinearSeqOptimized__O($$this) {
- if ($$this.isEmpty__Z()) {
- throw new $c_ju_NoSuchElementException().init___()
- };
- var these = $$this;
- var nx = these.tail__O();
- while ((!nx.isEmpty__Z())) {
- these = nx;
- nx = nx.tail__O()
- };
- return these.head__O()
-}
-function $s_sc_LinearSeqOptimized$class__sameElements__sc_LinearSeqOptimized__sc_GenIterable__Z($$this, that) {
- var x1 = that;
- if ($is_sc_LinearSeq(x1)) {
- var x2 = x1;
- if (($$this === x2)) {
- return true
- } else {
- var these = $$this;
- var those = x2;
- while ((((!these.isEmpty__Z()) && (!those.isEmpty__Z())) && $m_sr_BoxesRunTime$().equals__O__O__Z(these.head__O(), those.head__O()))) {
- these = these.tail__O();
- those = those.tail__O()
- };
- return (these.isEmpty__Z() && those.isEmpty__Z())
- }
- } else {
- return $$this.scala$collection$LinearSeqOptimized$$super$sameElements__sc_GenIterable__Z(that)
- }
-}
-function $s_sc_LinearSeqOptimized$class__lengthCompare__sc_LinearSeqOptimized__I__I($$this, len) {
- return ((len < 0) ? 1 : $s_sc_LinearSeqOptimized$class__loop$1__p0__sc_LinearSeqOptimized__I__sc_LinearSeqOptimized__I__I($$this, 0, $$this, len))
-}
-function $s_sc_LinearSeqOptimized$class__loop$1__p0__sc_LinearSeqOptimized__I__sc_LinearSeqOptimized__I__I($$this, i, xs, len$1) {
- _loop: while (true) {
- if ((i === len$1)) {
- return (xs.isEmpty__Z() ? 0 : 1)
- } else if (xs.isEmpty__Z()) {
- return (-1)
- } else {
- var temp$i = ((i + 1) | 0);
- var temp$xs = xs.tail__O();
- i = temp$i;
- xs = temp$xs;
- continue _loop
- }
- }
-}
-function $s_sc_LinearSeqOptimized$class__$$init$__sc_LinearSeqOptimized__V($$this) {
- /*<skip>*/
-}
-function $s_sc_Parallelizable$class__$$init$__sc_Parallelizable__V($$this) {
- /*<skip>*/
-}
-function $s_sc_Seq$class__$$init$__sc_Seq__V($$this) {
- /*<skip>*/
-}
-function $s_sc_SeqLike$class__lengthCompare__sc_SeqLike__I__I($$this, len) {
- if ((len < 0)) {
- return 1
- } else {
- var i = 0;
- var it = $$this.iterator__sc_Iterator();
- while (it.hasNext__Z()) {
- if ((i === len)) {
- return (it.hasNext__Z() ? 1 : 0)
- };
- it.next__O();
- i = ((i + 1) | 0)
- };
- return ((i - len) | 0)
- }
-}
-function $s_sc_SeqLike$class__isEmpty__sc_SeqLike__Z($$this) {
- return ($$this.lengthCompare__I__I(0) === 0)
-}
-function $s_sc_SeqLike$class__toString__sc_SeqLike__T($$this) {
- return $s_sc_TraversableLike$class__toString__sc_TraversableLike__T($$this)
-}
-function $s_sc_SeqLike$class__$$init$__sc_SeqLike__V($$this) {
- /*<skip>*/
-}
-function $s_sc_Traversable$class__$$init$__sc_Traversable__V($$this) {
- /*<skip>*/
-}
-function $s_sc_TraversableLike$class__repr__sc_TraversableLike__O($$this) {
- return $$this
-}
-function $s_sc_TraversableLike$class__toString__sc_TraversableLike__T($$this) {
- return $$this.mkString__T__T__T__T(($$this.stringPrefix__T() + "("), ", ", ")")
-}
-function $s_sc_TraversableLike$class__stringPrefix__sc_TraversableLike__T($$this) {
- var string = $objectGetClass($$this.repr__O()).getName__T();
- var idx1 = $m_sjsr_RuntimeString$().lastIndexOf__T__I__I(string, 46);
- if ((idx1 !== (-1))) {
- string = $m_sjsr_RuntimeString$().substring__T__I__T(string, ((idx1 + 1) | 0))
- };
- var idx2 = $m_sjsr_RuntimeString$().indexOf__T__I__I(string, 36);
- if ((idx2 !== (-1))) {
- string = $m_sjsr_RuntimeString$().substring__T__I__I__T(string, 0, idx2)
- };
- return string
-}
-function $s_sc_TraversableLike$class__$$init$__sc_TraversableLike__V($$this) {
- /*<skip>*/
-}
-function $s_sc_TraversableOnce$class__nonEmpty__sc_TraversableOnce__Z($$this) {
- return (!$$this.isEmpty__Z())
-}
-function $s_sc_TraversableOnce$class__mkString__sc_TraversableOnce__T__T__T__T($$this, start, sep, end) {
- return $$this.addString__scm_StringBuilder__T__T__T__scm_StringBuilder(new $c_scm_StringBuilder().init___(), start, sep, end).toString__T()
-}
-function $s_sc_TraversableOnce$class__addString__sc_TraversableOnce__scm_StringBuilder__T__T__T__scm_StringBuilder($$this, b, start, sep, end) {
- var first = $m_sr_BooleanRef$().create__Z__sr_BooleanRef(true);
- b.append__T__scm_StringBuilder(start);
- $$this.foreach__F1__V(new $c_sjsr_AnonFunction1().init___sjs_js_Function1((function($$this, first, b, sep) {
- return (function(x$2) {
- var x = x$2;
- return $s_sc_TraversableOnce$class__$$anonfun$16__p0__sc_TraversableOnce__sr_BooleanRef__scm_StringBuilder__T__O__O($$this, first, b, sep, x)
- })
- })($$this, first, b, sep)));
- b.append__T__scm_StringBuilder(end);
- return b
-}
-function $s_sc_TraversableOnce$class__$$anonfun$16__p0__sc_TraversableOnce__sr_BooleanRef__scm_StringBuilder__T__O__O($$this, first$4, b$2, sep$1, x) {
- if (first$4.elem$1) {
- b$2.append__O__scm_StringBuilder(x);
- first$4.elem$1 = false;
- return (void 0)
- } else {
- b$2.append__T__scm_StringBuilder(sep$1);
- return b$2.append__O__scm_StringBuilder(x)
- }
-}
-function $s_sc_TraversableOnce$class__$$init$__sc_TraversableOnce__V($$this) {
- /*<skip>*/
-}
-/** @constructor */
-function $c_scg_GenMapFactory() {
- $c_O.call(this)
-}
-$c_scg_GenMapFactory.prototype = new $h_O();
-$c_scg_GenMapFactory.prototype["constructor"] = $c_scg_GenMapFactory;
-/** @constructor */
-function $h_scg_GenMapFactory() {
- /*<skip>*/
-}
-$h_scg_GenMapFactory.prototype = $c_scg_GenMapFactory.prototype;
-$c_scg_GenMapFactory.prototype.init___ = (function() {
- $c_O.prototype.init___.call(this);
- return this
-});
-/** @constructor */
-function $c_scg_GenericCompanion() {
- $c_O.call(this)
-}
-$c_scg_GenericCompanion.prototype = new $h_O();
-$c_scg_GenericCompanion.prototype["constructor"] = $c_scg_GenericCompanion;
-/** @constructor */
-function $h_scg_GenericCompanion() {
- /*<skip>*/
-}
-$h_scg_GenericCompanion.prototype = $c_scg_GenericCompanion.prototype;
-$c_scg_GenericCompanion.prototype.init___ = (function() {
- $c_O.prototype.init___.call(this);
- return this
-});
-function $s_scg_GenericTraversableTemplate$class__$$init$__scg_GenericTraversableTemplate__V($$this) {
- /*<skip>*/
-}
-function $s_scg_Growable$class__$$init$__scg_Growable__V($$this) {
- /*<skip>*/
-}
-function $s_scg_Shrinkable$class__$$init$__scg_Shrinkable__V($$this) {
- /*<skip>*/
-}
-function $s_scg_Subtractable$class__$$init$__scg_Subtractable__V($$this) {
- /*<skip>*/
-}
-function $s_sci_IndexedSeq$class__seq__sci_IndexedSeq__sci_IndexedSeq($$this) {
- return $$this
-}
-function $s_sci_IndexedSeq$class__$$init$__sci_IndexedSeq__V($$this) {
- /*<skip>*/
-}
-function $s_sci_Iterable$class__$$init$__sci_Iterable__V($$this) {
- /*<skip>*/
-}
-function $s_sci_LinearSeq$class__seq__sci_LinearSeq__sci_LinearSeq($$this) {
- return $$this
-}
-function $s_sci_LinearSeq$class__$$init$__sci_LinearSeq__V($$this) {
- /*<skip>*/
-}
-function $s_sci_Seq$class__$$init$__sci_Seq__V($$this) {
- /*<skip>*/
-}
-/** @constructor */
-function $c_sci_Stream$$hash$colon$colon$() {
- $c_O.call(this)
-}
-$c_sci_Stream$$hash$colon$colon$.prototype = new $h_O();
-$c_sci_Stream$$hash$colon$colon$.prototype["constructor"] = $c_sci_Stream$$hash$colon$colon$;
-/** @constructor */
-function $h_sci_Stream$$hash$colon$colon$() {
- /*<skip>*/
-}
-$h_sci_Stream$$hash$colon$colon$.prototype = $c_sci_Stream$$hash$colon$colon$.prototype;
-$c_sci_Stream$$hash$colon$colon$.prototype.init___ = (function() {
- $c_O.prototype.init___.call(this);
- $n_sci_Stream$$hash$colon$colon$ = this;
- return this
-});
-var $d_sci_Stream$$hash$colon$colon$ = new $TypeData().initClass({
- sci_Stream$$hash$colon$colon$: 0
-}, false, "scala.collection.immutable.Stream$$hash$colon$colon$", {
- sci_Stream$$hash$colon$colon$: 1,
- O: 1
-});
-$c_sci_Stream$$hash$colon$colon$.prototype.$classData = $d_sci_Stream$$hash$colon$colon$;
-var $n_sci_Stream$$hash$colon$colon$ = (void 0);
-function $m_sci_Stream$$hash$colon$colon$() {
- if ((!$n_sci_Stream$$hash$colon$colon$)) {
- $n_sci_Stream$$hash$colon$colon$ = new $c_sci_Stream$$hash$colon$colon$().init___()
- };
- return $n_sci_Stream$$hash$colon$colon$
-}
-function $s_sci_StringLike$class__$$init$__sci_StringLike__V($$this) {
- /*<skip>*/
-}
-/** @constructor */
-function $c_sci_StringOps$() {
- $c_O.call(this)
-}
-$c_sci_StringOps$.prototype = new $h_O();
-$c_sci_StringOps$.prototype["constructor"] = $c_sci_StringOps$;
-/** @constructor */
-function $h_sci_StringOps$() {
- /*<skip>*/
-}
-$h_sci_StringOps$.prototype = $c_sci_StringOps$.prototype;
-$c_sci_StringOps$.prototype.apply$extension__T__I__C = (function($$this, index) {
- return $m_sjsr_RuntimeString$().charAt__T__I__C($$this, index)
-});
-$c_sci_StringOps$.prototype.init___ = (function() {
- $c_O.prototype.init___.call(this);
- $n_sci_StringOps$ = this;
- return this
-});
-var $d_sci_StringOps$ = new $TypeData().initClass({
- sci_StringOps$: 0
-}, false, "scala.collection.immutable.StringOps$", {
- sci_StringOps$: 1,
- O: 1
-});
-$c_sci_StringOps$.prototype.$classData = $d_sci_StringOps$;
-var $n_sci_StringOps$ = (void 0);
-function $m_sci_StringOps$() {
- if ((!$n_sci_StringOps$)) {
- $n_sci_StringOps$ = new $c_sci_StringOps$().init___()
- };
- return $n_sci_StringOps$
-}
-function $s_sci_Traversable$class__$$init$__sci_Traversable__V($$this) {
- /*<skip>*/
-}
-function $s_sci_VectorPointer$class__initFrom__sci_VectorPointer__sci_VectorPointer__V($$this, that) {
- $$this.initFrom__sci_VectorPointer__I__V(that, that.depth__I())
-}
-function $s_sci_VectorPointer$class__initFrom__sci_VectorPointer__sci_VectorPointer__I__V($$this, that, depth) {
- $$this.depth$und$eq__I__V(depth);
- var x1 = ((depth - 1) | 0);
- switch (x1) {
- case (-1): {
- break
- }
- case 0: {
- $$this.display0$und$eq__AO__V(that.display0__AO());
- break
- }
- case 1: {
- $$this.display1$und$eq__AO__V(that.display1__AO());
- $$this.display0$und$eq__AO__V(that.display0__AO());
- break
- }
- case 2: {
- $$this.display2$und$eq__AO__V(that.display2__AO());
- $$this.display1$und$eq__AO__V(that.display1__AO());
- $$this.display0$und$eq__AO__V(that.display0__AO());
- break
- }
- case 3: {
- $$this.display3$und$eq__AO__V(that.display3__AO());
- $$this.display2$und$eq__AO__V(that.display2__AO());
- $$this.display1$und$eq__AO__V(that.display1__AO());
- $$this.display0$und$eq__AO__V(that.display0__AO());
- break
- }
- case 4: {
- $$this.display4$und$eq__AO__V(that.display4__AO());
- $$this.display3$und$eq__AO__V(that.display3__AO());
- $$this.display2$und$eq__AO__V(that.display2__AO());
- $$this.display1$und$eq__AO__V(that.display1__AO());
- $$this.display0$und$eq__AO__V(that.display0__AO());
- break
- }
- case 5: {
- $$this.display5$und$eq__AO__V(that.display5__AO());
- $$this.display4$und$eq__AO__V(that.display4__AO());
- $$this.display3$und$eq__AO__V(that.display3__AO());
- $$this.display2$und$eq__AO__V(that.display2__AO());
- $$this.display1$und$eq__AO__V(that.display1__AO());
- $$this.display0$und$eq__AO__V(that.display0__AO());
- break
- }
- default: {
- throw new $c_s_MatchError().init___O(x1)
- }
- }
-}
-function $s_sci_VectorPointer$class__getElem__sci_VectorPointer__I__I__O($$this, index, xor) {
- if ((xor < 32)) {
- return $$this.display0__AO().u[(index & 31)]
- } else if ((xor < 1024)) {
- return $$this.display1__AO().u[((index >> 5) & 31)].u[(index & 31)]
- } else if ((xor < 32768)) {
- return $$this.display2__AO().u[((index >> 10) & 31)].u[((index >> 5) & 31)].u[(index & 31)]
- } else if ((xor < 1048576)) {
- return $$this.display3__AO().u[((index >> 15) & 31)].u[((index >> 10) & 31)].u[((index >> 5) & 31)].u[(index & 31)]
- } else if ((xor < 33554432)) {
- return $$this.display4__AO().u[((index >> 20) & 31)].u[((index >> 15) & 31)].u[((index >> 10) & 31)].u[((index >> 5) & 31)].u[(index & 31)]
- } else if ((xor < 1073741824)) {
- return $$this.display5__AO().u[((index >> 25) & 31)].u[((index >> 20) & 31)].u[((index >> 15) & 31)].u[((index >> 10) & 31)].u[((index >> 5) & 31)].u[(index & 31)]
- } else {
- throw new $c_jl_IllegalArgumentException().init___()
- }
-}
-function $s_sci_VectorPointer$class__gotoPos__sci_VectorPointer__I__I__V($$this, index, xor) {
- if ((xor < 32)) {
- /*<skip>*/
- } else if ((xor < 1024)) {
- $$this.display0$und$eq__AO__V($$this.display1__AO().u[((index >> 5) & 31)])
- } else if ((xor < 32768)) {
- $$this.display1$und$eq__AO__V($$this.display2__AO().u[((index >> 10) & 31)]);
- $$this.display0$und$eq__AO__V($$this.display1__AO().u[((index >> 5) & 31)])
- } else if ((xor < 1048576)) {
- $$this.display2$und$eq__AO__V($$this.display3__AO().u[((index >> 15) & 31)]);
- $$this.display1$und$eq__AO__V($$this.display2__AO().u[((index >> 10) & 31)]);
- $$this.display0$und$eq__AO__V($$this.display1__AO().u[((index >> 5) & 31)])
- } else if ((xor < 33554432)) {
- $$this.display3$und$eq__AO__V($$this.display4__AO().u[((index >> 20) & 31)]);
- $$this.display2$und$eq__AO__V($$this.display3__AO().u[((index >> 15) & 31)]);
- $$this.display1$und$eq__AO__V($$this.display2__AO().u[((index >> 10) & 31)]);
- $$this.display0$und$eq__AO__V($$this.display1__AO().u[((index >> 5) & 31)])
- } else if ((xor < 1073741824)) {
- $$this.display4$und$eq__AO__V($$this.display5__AO().u[((index >> 25) & 31)]);
- $$this.display3$und$eq__AO__V($$this.display4__AO().u[((index >> 20) & 31)]);
- $$this.display2$und$eq__AO__V($$this.display3__AO().u[((index >> 15) & 31)]);
- $$this.display1$und$eq__AO__V($$this.display2__AO().u[((index >> 10) & 31)]);
- $$this.display0$und$eq__AO__V($$this.display1__AO().u[((index >> 5) & 31)])
- } else {
- throw new $c_jl_IllegalArgumentException().init___()
- }
-}
-function $s_sci_VectorPointer$class__gotoNextBlockStart__sci_VectorPointer__I__I__V($$this, index, xor) {
- if ((xor < 1024)) {
- $$this.display0$und$eq__AO__V($$this.display1__AO().u[((index >> 5) & 31)])
- } else if ((xor < 32768)) {
- $$this.display1$und$eq__AO__V($$this.display2__AO().u[((index >> 10) & 31)]);
- $$this.display0$und$eq__AO__V($$this.display1__AO().u[0])
- } else if ((xor < 1048576)) {
- $$this.display2$und$eq__AO__V($$this.display3__AO().u[((index >> 15) & 31)]);
- $$this.display1$und$eq__AO__V($$this.display2__AO().u[0]);
- $$this.display0$und$eq__AO__V($$this.display1__AO().u[0])
- } else if ((xor < 33554432)) {
- $$this.display3$und$eq__AO__V($$this.display4__AO().u[((index >> 20) & 31)]);
- $$this.display2$und$eq__AO__V($$this.display3__AO().u[0]);
- $$this.display1$und$eq__AO__V($$this.display2__AO().u[0]);
- $$this.display0$und$eq__AO__V($$this.display1__AO().u[0])
- } else if ((xor < 1073741824)) {
- $$this.display4$und$eq__AO__V($$this.display5__AO().u[((index >> 25) & 31)]);
- $$this.display3$und$eq__AO__V($$this.display4__AO().u[0]);
- $$this.display2$und$eq__AO__V($$this.display3__AO().u[0]);
- $$this.display1$und$eq__AO__V($$this.display2__AO().u[0]);
- $$this.display0$und$eq__AO__V($$this.display1__AO().u[0])
- } else {
- throw new $c_jl_IllegalArgumentException().init___()
- }
-}
-function $s_sci_VectorPointer$class__copyOf__sci_VectorPointer__AO__AO($$this, a) {
- if ((a === null)) {
- $m_s_Predef$().println__O__V("NULL")
- };
- var b = $newArrayObject($d_O.getArrayOf(), [a.u["length"]]);
- $m_s_compat_Platform$().arraycopy__O__I__O__I__I__V(a, 0, b, 0, a.u["length"]);
- return b
-}
-function $s_sci_VectorPointer$class__stabilize__sci_VectorPointer__I__V($$this, index) {
- var x1 = (($$this.depth__I() - 1) | 0);
- switch (x1) {
- case 5: {
- $$this.display5$und$eq__AO__V($$this.copyOf__AO__AO($$this.display5__AO()));
- $$this.display4$und$eq__AO__V($$this.copyOf__AO__AO($$this.display4__AO()));
- $$this.display3$und$eq__AO__V($$this.copyOf__AO__AO($$this.display3__AO()));
- $$this.display2$und$eq__AO__V($$this.copyOf__AO__AO($$this.display2__AO()));
- $$this.display1$und$eq__AO__V($$this.copyOf__AO__AO($$this.display1__AO()));
- $$this.display5__AO().u[((index >> 25) & 31)] = $$this.display4__AO();
- $$this.display4__AO().u[((index >> 20) & 31)] = $$this.display3__AO();
- $$this.display3__AO().u[((index >> 15) & 31)] = $$this.display2__AO();
- $$this.display2__AO().u[((index >> 10) & 31)] = $$this.display1__AO();
- $$this.display1__AO().u[((index >> 5) & 31)] = $$this.display0__AO();
- break
- }
- case 4: {
- $$this.display4$und$eq__AO__V($$this.copyOf__AO__AO($$this.display4__AO()));
- $$this.display3$und$eq__AO__V($$this.copyOf__AO__AO($$this.display3__AO()));
- $$this.display2$und$eq__AO__V($$this.copyOf__AO__AO($$this.display2__AO()));
- $$this.display1$und$eq__AO__V($$this.copyOf__AO__AO($$this.display1__AO()));
- $$this.display4__AO().u[((index >> 20) & 31)] = $$this.display3__AO();
- $$this.display3__AO().u[((index >> 15) & 31)] = $$this.display2__AO();
- $$this.display2__AO().u[((index >> 10) & 31)] = $$this.display1__AO();
- $$this.display1__AO().u[((index >> 5) & 31)] = $$this.display0__AO();
- break
- }
- case 3: {
- $$this.display3$und$eq__AO__V($$this.copyOf__AO__AO($$this.display3__AO()));
- $$this.display2$und$eq__AO__V($$this.copyOf__AO__AO($$this.display2__AO()));
- $$this.display1$und$eq__AO__V($$this.copyOf__AO__AO($$this.display1__AO()));
- $$this.display3__AO().u[((index >> 15) & 31)] = $$this.display2__AO();
- $$this.display2__AO().u[((index >> 10) & 31)] = $$this.display1__AO();
- $$this.display1__AO().u[((index >> 5) & 31)] = $$this.display0__AO();
- break
- }
- case 2: {
- $$this.display2$und$eq__AO__V($$this.copyOf__AO__AO($$this.display2__AO()));
- $$this.display1$und$eq__AO__V($$this.copyOf__AO__AO($$this.display1__AO()));
- $$this.display2__AO().u[((index >> 10) & 31)] = $$this.display1__AO();
- $$this.display1__AO().u[((index >> 5) & 31)] = $$this.display0__AO();
- break
- }
- case 1: {
- $$this.display1$und$eq__AO__V($$this.copyOf__AO__AO($$this.display1__AO()));
- $$this.display1__AO().u[((index >> 5) & 31)] = $$this.display0__AO();
- break
- }
- case 0: {
- break
- }
- default: {
- throw new $c_s_MatchError().init___O(x1)
- }
- }
-}
-function $s_sci_VectorPointer$class__$$init$__sci_VectorPointer__V($$this) {
- /*<skip>*/
-}
-function $s_scm_ArrayLike$class__$$init$__scm_ArrayLike__V($$this) {
- /*<skip>*/
-}
-function $s_scm_Buffer$class__$$init$__scm_Buffer__V($$this) {
- /*<skip>*/
-}
-function $s_scm_BufferLike$class__$$init$__scm_Buffer__V($$this) {
- /*<skip>*/
-}
-function $s_scm_Builder$class__$$init$__scm_Builder__V($$this) {
- /*<skip>*/
-}
-function $s_scm_Cloneable$class__$$init$__scm_Cloneable__V($$this) {
- /*<skip>*/
-}
-function $s_scm_IndexedSeq$class__seq__scm_IndexedSeq__scm_IndexedSeq($$this) {
- return $$this
-}
-function $s_scm_IndexedSeq$class__$$init$__scm_IndexedSeq__V($$this) {
- /*<skip>*/
-}
-function $s_scm_IndexedSeqLike$class__$$init$__scm_IndexedSeqLike__V($$this) {
- /*<skip>*/
-}
-function $s_scm_Iterable$class__$$init$__scm_Iterable__V($$this) {
- /*<skip>*/
-}
-function $s_scm_Seq$class__$$init$__scm_Seq__V($$this) {
- /*<skip>*/
-}
-function $s_scm_SeqLike$class__$$init$__scm_SeqLike__V($$this) {
- /*<skip>*/
-}
-function $s_scm_Traversable$class__$$init$__scm_Traversable__V($$this) {
- /*<skip>*/
-}
+$c_s_util_DynamicVariable.prototype.$classData = $d_s_util_DynamicVariable;
/** @constructor */
-function $c_sjs_LinkingInfo$() {
+function $c_s_util_Either$() {
$c_O.call(this)
}
-$c_sjs_LinkingInfo$.prototype = new $h_O();
-$c_sjs_LinkingInfo$.prototype["constructor"] = $c_sjs_LinkingInfo$;
+$c_s_util_Either$.prototype = new $h_O();
+$c_s_util_Either$.prototype["constructor"] = $c_s_util_Either$;
/** @constructor */
-function $h_sjs_LinkingInfo$() {
+function $h_s_util_Either$() {
/*<skip>*/
}
-$h_sjs_LinkingInfo$.prototype = $c_sjs_LinkingInfo$.prototype;
-$c_sjs_LinkingInfo$.prototype.assumingES6__Z = (function() {
- return (!(!$linkingInfo["assumingES6"]))
-});
-$c_sjs_LinkingInfo$.prototype.init___ = (function() {
- $c_O.prototype.init___.call(this);
- $n_sjs_LinkingInfo$ = this;
+$h_s_util_Either$.prototype = $c_s_util_Either$.prototype;
+$c_s_util_Either$.prototype.init___ = (function() {
return this
});
-var $d_sjs_LinkingInfo$ = new $TypeData().initClass({
- sjs_LinkingInfo$: 0
-}, false, "scala.scalajs.LinkingInfo$", {
- sjs_LinkingInfo$: 1,
+var $d_s_util_Either$ = new $TypeData().initClass({
+ s_util_Either$: 0
+}, false, "scala.util.Either$", {
+ s_util_Either$: 1,
O: 1
});
-$c_sjs_LinkingInfo$.prototype.$classData = $d_sjs_LinkingInfo$;
-var $n_sjs_LinkingInfo$ = (void 0);
-function $m_sjs_LinkingInfo$() {
- if ((!$n_sjs_LinkingInfo$)) {
- $n_sjs_LinkingInfo$ = new $c_sjs_LinkingInfo$().init___()
+$c_s_util_Either$.prototype.$classData = $d_s_util_Either$;
+var $n_s_util_Either$ = (void 0);
+function $m_s_util_Either$() {
+ if ((!$n_s_util_Either$)) {
+ $n_s_util_Either$ = new $c_s_util_Either$().init___()
};
- return $n_sjs_LinkingInfo$
+ return $n_s_util_Either$
}
/** @constructor */
-function $c_sjs_js_$bar$() {
- $c_O.call(this)
+function $c_s_util_control_Breaks() {
+ $c_O.call(this);
+ this.scala$util$control$Breaks$$breakException$1 = null
}
-$c_sjs_js_$bar$.prototype = new $h_O();
-$c_sjs_js_$bar$.prototype["constructor"] = $c_sjs_js_$bar$;
+$c_s_util_control_Breaks.prototype = new $h_O();
+$c_s_util_control_Breaks.prototype["constructor"] = $c_s_util_control_Breaks;
/** @constructor */
-function $h_sjs_js_$bar$() {
+function $h_s_util_control_Breaks() {
/*<skip>*/
}
-$h_sjs_js_$bar$.prototype = $c_sjs_js_$bar$.prototype;
-$c_sjs_js_$bar$.prototype.from__O__sjs_js_$bar$Evidence__sjs_js_$bar = (function(a, ev) {
- return a
-});
-$c_sjs_js_$bar$.prototype.init___ = (function() {
- $c_O.prototype.init___.call(this);
- $n_sjs_js_$bar$ = this;
+$h_s_util_control_Breaks.prototype = $c_s_util_control_Breaks.prototype;
+$c_s_util_control_Breaks.prototype.init___ = (function() {
+ this.scala$util$control$Breaks$$breakException$1 = new $c_s_util_control_BreakControl().init___();
return this
});
-var $d_sjs_js_$bar$ = new $TypeData().initClass({
- sjs_js_$bar$: 0
-}, false, "scala.scalajs.js.$bar$", {
- sjs_js_$bar$: 1,
+var $d_s_util_control_Breaks = new $TypeData().initClass({
+ s_util_control_Breaks: 0
+}, false, "scala.util.control.Breaks", {
+ s_util_control_Breaks: 1,
O: 1
});
-$c_sjs_js_$bar$.prototype.$classData = $d_sjs_js_$bar$;
-var $n_sjs_js_$bar$ = (void 0);
-function $m_sjs_js_$bar$() {
- if ((!$n_sjs_js_$bar$)) {
- $n_sjs_js_$bar$ = new $c_sjs_js_$bar$().init___()
- };
- return $n_sjs_js_$bar$
+$c_s_util_control_Breaks.prototype.$classData = $d_s_util_control_Breaks;
+function $s_s_util_control_NoStackTrace$class__fillInStackTrace__s_util_control_NoStackTrace__jl_Throwable($$this) {
+ var this$1 = $m_s_util_control_NoStackTrace$();
+ if (this$1.$$undnoSuppression$1) {
+ return $c_jl_Throwable.prototype.fillInStackTrace__jl_Throwable.call($$this)
+ } else {
+ return $$this
+ }
}
/** @constructor */
-function $c_sjs_js_$bar$EvidenceLowestPrioImplicits() {
+function $c_s_util_hashing_MurmurHash3() {
$c_O.call(this)
}
-$c_sjs_js_$bar$EvidenceLowestPrioImplicits.prototype = new $h_O();
-$c_sjs_js_$bar$EvidenceLowestPrioImplicits.prototype["constructor"] = $c_sjs_js_$bar$EvidenceLowestPrioImplicits;
+$c_s_util_hashing_MurmurHash3.prototype = new $h_O();
+$c_s_util_hashing_MurmurHash3.prototype["constructor"] = $c_s_util_hashing_MurmurHash3;
/** @constructor */
-function $h_sjs_js_$bar$EvidenceLowestPrioImplicits() {
+function $h_s_util_hashing_MurmurHash3() {
/*<skip>*/
}
-$h_sjs_js_$bar$EvidenceLowestPrioImplicits.prototype = $c_sjs_js_$bar$EvidenceLowestPrioImplicits.prototype;
-$c_sjs_js_$bar$EvidenceLowestPrioImplicits.prototype.right__sjs_js_$bar$Evidence__sjs_js_$bar$Evidence = (function(ev) {
- return $m_sjs_js_$bar$ReusableEvidence$()
+$h_s_util_hashing_MurmurHash3.prototype = $c_s_util_hashing_MurmurHash3.prototype;
+$c_s_util_hashing_MurmurHash3.prototype.mixLast__I__I__I = (function(hash, data) {
+ var k = data;
+ k = $imul((-862048943), k);
+ var i = k;
+ k = ((i << 15) | ((i >>> (-15)) | 0));
+ k = $imul(461845907, k);
+ return (hash ^ k)
});
-$c_sjs_js_$bar$EvidenceLowestPrioImplicits.prototype.init___ = (function() {
- $c_O.prototype.init___.call(this);
- return this
+$c_s_util_hashing_MurmurHash3.prototype.mix__I__I__I = (function(hash, data) {
+ var h = this.mixLast__I__I__I(hash, data);
+ var i = h;
+ h = ((i << 13) | ((i >>> (-13)) | 0));
+ return (((-430675100) + $imul(5, h)) | 0)
+});
+$c_s_util_hashing_MurmurHash3.prototype.avalanche__p1__I__I = (function(hash) {
+ var h = hash;
+ h = (h ^ ((h >>> 16) | 0));
+ h = $imul((-2048144789), h);
+ h = (h ^ ((h >>> 13) | 0));
+ h = $imul((-1028477387), h);
+ h = (h ^ ((h >>> 16) | 0));
+ return h
+});
+$c_s_util_hashing_MurmurHash3.prototype.productHash__s_Product__I__I = (function(x, seed) {
+ var arr = x.productArity__I();
+ if ((arr === 0)) {
+ var this$1 = x.productPrefix__T();
+ return $m_sjsr_RuntimeString$().hashCode__T__I(this$1)
+ } else {
+ var h = seed;
+ var i = 0;
+ while ((i < arr)) {
+ h = this.mix__I__I__I(h, $m_sr_ScalaRunTime$().hash__O__I(x.productElement__I__O(i)));
+ i = ((1 + i) | 0)
+ };
+ return this.finalizeHash__I__I__I(h, arr)
+ }
+});
+$c_s_util_hashing_MurmurHash3.prototype.finalizeHash__I__I__I = (function(hash, length) {
+ return this.avalanche__p1__I__I((hash ^ length))
+});
+$c_s_util_hashing_MurmurHash3.prototype.orderedHash__sc_TraversableOnce__I__I = (function(xs, seed) {
+ var n = new $c_sr_IntRef().init___I(0);
+ var h = new $c_sr_IntRef().init___I(seed);
+ xs.foreach__F1__V(new $c_sjsr_AnonFunction1().init___sjs_js_Function1((function($this, n$1, h$1) {
+ return (function(x$2) {
+ h$1.elem$1 = $this.mix__I__I__I(h$1.elem$1, $m_sr_ScalaRunTime$().hash__O__I(x$2));
+ n$1.elem$1 = ((1 + n$1.elem$1) | 0)
+ })
+ })(this, n, h)));
+ return this.finalizeHash__I__I__I(h.elem$1, n.elem$1)
+});
+$c_s_util_hashing_MurmurHash3.prototype.listHash__sci_List__I__I = (function(xs, seed) {
+ var n = 0;
+ var h = seed;
+ var elems = xs;
+ while ((!elems.isEmpty__Z())) {
+ var this$1 = elems;
+ this$1.head__sr_Nothing$()
+ };
+ return this.finalizeHash__I__I__I(h, n)
});
/** @constructor */
-function $c_sjs_js_Dynamic$() {
+function $c_sc_$colon$plus$() {
$c_O.call(this)
}
-$c_sjs_js_Dynamic$.prototype = new $h_O();
-$c_sjs_js_Dynamic$.prototype["constructor"] = $c_sjs_js_Dynamic$;
+$c_sc_$colon$plus$.prototype = new $h_O();
+$c_sc_$colon$plus$.prototype["constructor"] = $c_sc_$colon$plus$;
/** @constructor */
-function $h_sjs_js_Dynamic$() {
+function $h_sc_$colon$plus$() {
/*<skip>*/
}
-$h_sjs_js_Dynamic$.prototype = $c_sjs_js_Dynamic$.prototype;
-$c_sjs_js_Dynamic$.prototype.global__sjs_js_Dynamic = (function() {
- return $g
-});
-$c_sjs_js_Dynamic$.prototype.init___ = (function() {
- $c_O.prototype.init___.call(this);
- $n_sjs_js_Dynamic$ = this;
+$h_sc_$colon$plus$.prototype = $c_sc_$colon$plus$.prototype;
+$c_sc_$colon$plus$.prototype.init___ = (function() {
return this
});
-var $d_sjs_js_Dynamic$ = new $TypeData().initClass({
- sjs_js_Dynamic$: 0
-}, false, "scala.scalajs.js.Dynamic$", {
- sjs_js_Dynamic$: 1,
+var $d_sc_$colon$plus$ = new $TypeData().initClass({
+ sc_$colon$plus$: 0
+}, false, "scala.collection.$colon$plus$", {
+ sc_$colon$plus$: 1,
O: 1
});
-$c_sjs_js_Dynamic$.prototype.$classData = $d_sjs_js_Dynamic$;
-var $n_sjs_js_Dynamic$ = (void 0);
-function $m_sjs_js_Dynamic$() {
- if ((!$n_sjs_js_Dynamic$)) {
- $n_sjs_js_Dynamic$ = new $c_sjs_js_Dynamic$().init___()
+$c_sc_$colon$plus$.prototype.$classData = $d_sc_$colon$plus$;
+var $n_sc_$colon$plus$ = (void 0);
+function $m_sc_$colon$plus$() {
+ if ((!$n_sc_$colon$plus$)) {
+ $n_sc_$colon$plus$ = new $c_sc_$colon$plus$().init___()
};
- return $n_sjs_js_Dynamic$
+ return $n_sc_$colon$plus$
}
/** @constructor */
-function $c_sjs_js_DynamicImplicits$() {
+function $c_sc_$plus$colon$() {
$c_O.call(this)
}
-$c_sjs_js_DynamicImplicits$.prototype = new $h_O();
-$c_sjs_js_DynamicImplicits$.prototype["constructor"] = $c_sjs_js_DynamicImplicits$;
+$c_sc_$plus$colon$.prototype = new $h_O();
+$c_sc_$plus$colon$.prototype["constructor"] = $c_sc_$plus$colon$;
/** @constructor */
-function $h_sjs_js_DynamicImplicits$() {
+function $h_sc_$plus$colon$() {
/*<skip>*/
}
-$h_sjs_js_DynamicImplicits$.prototype = $c_sjs_js_DynamicImplicits$.prototype;
-$c_sjs_js_DynamicImplicits$.prototype.truthValue__sjs_js_Dynamic__Z = (function(x) {
- return (!(!(!(!x))))
+$h_sc_$plus$colon$.prototype = $c_sc_$plus$colon$.prototype;
+$c_sc_$plus$colon$.prototype.init___ = (function() {
+ return this
+});
+var $d_sc_$plus$colon$ = new $TypeData().initClass({
+ sc_$plus$colon$: 0
+}, false, "scala.collection.$plus$colon$", {
+ sc_$plus$colon$: 1,
+ O: 1
});
-$c_sjs_js_DynamicImplicits$.prototype.init___ = (function() {
- $c_O.prototype.init___.call(this);
- $n_sjs_js_DynamicImplicits$ = this;
+$c_sc_$plus$colon$.prototype.$classData = $d_sc_$plus$colon$;
+var $n_sc_$plus$colon$ = (void 0);
+function $m_sc_$plus$colon$() {
+ if ((!$n_sc_$plus$colon$)) {
+ $n_sc_$plus$colon$ = new $c_sc_$plus$colon$().init___()
+ };
+ return $n_sc_$plus$colon$
+}
+function $s_sc_GenSeqLike$class__equals__sc_GenSeqLike__O__Z($$this, that) {
+ if ($is_sc_GenSeq(that)) {
+ var x2 = that;
+ return $$this.sameElements__sc_GenIterable__Z(x2)
+ } else {
+ return false
+ }
+}
+function $s_sc_IndexedSeqOptimized$class__lengthCompare__sc_IndexedSeqOptimized__I__I($$this, len) {
+ return (($$this.length__I() - len) | 0)
+}
+function $s_sc_IndexedSeqOptimized$class__sameElements__sc_IndexedSeqOptimized__sc_GenIterable__Z($$this, that) {
+ if ($is_sc_IndexedSeq(that)) {
+ var x2 = that;
+ var len = $$this.length__I();
+ if ((len === x2.length__I())) {
+ var i = 0;
+ while (((i < len) && $m_sr_BoxesRunTime$().equals__O__O__Z($$this.apply__I__O(i), x2.apply__I__O(i)))) {
+ i = ((1 + i) | 0)
+ };
+ return (i === len)
+ } else {
+ return false
+ }
+ } else {
+ return $s_sc_IterableLike$class__sameElements__sc_IterableLike__sc_GenIterable__Z($$this, that)
+ }
+}
+function $s_sc_IndexedSeqOptimized$class__foreach__sc_IndexedSeqOptimized__F1__V($$this, f) {
+ var i = 0;
+ var len = $$this.length__I();
+ while ((i < len)) {
+ f.apply__O__O($$this.apply__I__O(i));
+ i = ((1 + i) | 0)
+ }
+}
+function $s_sc_IndexedSeqOptimized$class__isEmpty__sc_IndexedSeqOptimized__Z($$this) {
+ return ($$this.length__I() === 0)
+}
+function $s_sc_IterableLike$class__sameElements__sc_IterableLike__sc_GenIterable__Z($$this, that) {
+ var these = $$this.iterator__sc_Iterator();
+ var those = that.iterator__sc_Iterator();
+ while ((these.hasNext__Z() && those.hasNext__Z())) {
+ if ((!$m_sr_BoxesRunTime$().equals__O__O__Z(these.next__O(), those.next__O()))) {
+ return false
+ }
+ };
+ return ((!these.hasNext__Z()) && (!those.hasNext__Z()))
+}
+/** @constructor */
+function $c_sc_Iterator$() {
+ $c_O.call(this);
+ this.empty$1 = null
+}
+$c_sc_Iterator$.prototype = new $h_O();
+$c_sc_Iterator$.prototype["constructor"] = $c_sc_Iterator$;
+/** @constructor */
+function $h_sc_Iterator$() {
+ /*<skip>*/
+}
+$h_sc_Iterator$.prototype = $c_sc_Iterator$.prototype;
+$c_sc_Iterator$.prototype.init___ = (function() {
+ $n_sc_Iterator$ = this;
+ this.empty$1 = new $c_sc_Iterator$$anon$2().init___();
return this
});
-var $d_sjs_js_DynamicImplicits$ = new $TypeData().initClass({
- sjs_js_DynamicImplicits$: 0
-}, false, "scala.scalajs.js.DynamicImplicits$", {
- sjs_js_DynamicImplicits$: 1,
+var $d_sc_Iterator$ = new $TypeData().initClass({
+ sc_Iterator$: 0
+}, false, "scala.collection.Iterator$", {
+ sc_Iterator$: 1,
O: 1
});
-$c_sjs_js_DynamicImplicits$.prototype.$classData = $d_sjs_js_DynamicImplicits$;
-var $n_sjs_js_DynamicImplicits$ = (void 0);
-function $m_sjs_js_DynamicImplicits$() {
- if ((!$n_sjs_js_DynamicImplicits$)) {
- $n_sjs_js_DynamicImplicits$ = new $c_sjs_js_DynamicImplicits$().init___()
+$c_sc_Iterator$.prototype.$classData = $d_sc_Iterator$;
+var $n_sc_Iterator$ = (void 0);
+function $m_sc_Iterator$() {
+ if ((!$n_sc_Iterator$)) {
+ $n_sc_Iterator$ = new $c_sc_Iterator$().init___()
+ };
+ return $n_sc_Iterator$
+}
+function $s_sc_Iterator$class__toString__sc_Iterator__T($$this) {
+ return (($$this.hasNext__Z() ? "non-empty" : "empty") + " iterator")
+}
+function $s_sc_Iterator$class__foreach__sc_Iterator__F1__V($$this, f) {
+ while ($$this.hasNext__Z()) {
+ f.apply__O__O($$this.next__O())
+ }
+}
+function $s_sc_LinearSeqOptimized$class__lengthCompare__sc_LinearSeqOptimized__I__I($$this, len) {
+ return ((len < 0) ? 1 : $s_sc_LinearSeqOptimized$class__loop$1__p0__sc_LinearSeqOptimized__I__sc_LinearSeqOptimized__I__I($$this, 0, $$this, len))
+}
+function $s_sc_LinearSeqOptimized$class__apply__sc_LinearSeqOptimized__I__O($$this, n) {
+ var rest = $$this.drop__I__sci_List(n);
+ if (((n < 0) || rest.isEmpty__Z())) {
+ throw new $c_jl_IndexOutOfBoundsException().init___T(("" + n))
+ };
+ rest.head__sr_Nothing$()
+}
+function $s_sc_LinearSeqOptimized$class__loop$1__p0__sc_LinearSeqOptimized__I__sc_LinearSeqOptimized__I__I($$this, i, xs, len$1) {
+ _loop: while (true) {
+ if ((i === len$1)) {
+ return (xs.isEmpty__Z() ? 0 : 1)
+ } else if (xs.isEmpty__Z()) {
+ return (-1)
+ } else {
+ var temp$i = ((1 + i) | 0);
+ var this$1 = xs;
+ var temp$xs = this$1.tail__sci_List();
+ i = temp$i;
+ xs = temp$xs;
+ continue _loop
+ }
+ }
+}
+function $s_sc_LinearSeqOptimized$class__length__sc_LinearSeqOptimized__I($$this) {
+ var these = $$this;
+ var len = 0;
+ while ((!these.isEmpty__Z())) {
+ len = ((1 + len) | 0);
+ var this$1 = these;
+ these = this$1.tail__sci_List()
};
- return $n_sjs_js_DynamicImplicits$
+ return len
+}
+function $s_sc_LinearSeqOptimized$class__sameElements__sc_LinearSeqOptimized__sc_GenIterable__Z($$this, that) {
+ if ($is_sc_LinearSeq(that)) {
+ var x2 = that;
+ if (($$this === x2)) {
+ return true
+ } else {
+ var these = $$this;
+ var those = x2;
+ while (true) {
+ if (((!these.isEmpty__Z()) && (!those.isEmpty__Z()))) {
+ var jsx$3 = $m_sr_BoxesRunTime$();
+ var this$1 = these;
+ var jsx$2;
+ this$1.head__sr_Nothing$();
+ var this$2 = those;
+ var jsx$1 = jsx$3.equals__O__O__Z(jsx$2, this$2.head__sr_Nothing$())
+ } else {
+ var jsx$1 = false
+ };
+ if (jsx$1) {
+ var this$3 = these;
+ these = this$3.tail__sci_List();
+ var this$4 = those;
+ those = this$4.tail__sci_List()
+ } else {
+ break
+ }
+ };
+ return (these.isEmpty__Z() && those.isEmpty__Z())
+ }
+ } else {
+ return $s_sc_IterableLike$class__sameElements__sc_IterableLike__sc_GenIterable__Z($$this, that)
+ }
+}
+function $s_sc_SeqLike$class__isEmpty__sc_SeqLike__Z($$this) {
+ return ($$this.lengthCompare__I__I(0) === 0)
+}
+function $s_sc_TraversableLike$class__toString__sc_TraversableLike__T($$this) {
+ var start = ($$this.stringPrefix__T() + "(");
+ return $s_sc_TraversableOnce$class__mkString__sc_TraversableOnce__T__T__T__T($$this, start, ", ", ")")
+}
+function $s_sc_TraversableLike$class__stringPrefix__sc_TraversableLike__T($$this) {
+ var string = $objectGetClass($$this.repr__O()).getName__T();
+ var idx1 = $m_sjsr_RuntimeString$().lastIndexOf__T__I__I(string, 46);
+ if ((idx1 !== (-1))) {
+ var thiz = string;
+ var beginIndex = ((1 + idx1) | 0);
+ string = thiz["substring"](beginIndex)
+ };
+ var idx2 = $m_sjsr_RuntimeString$().indexOf__T__I__I(string, 36);
+ if ((idx2 !== (-1))) {
+ var thiz$1 = string;
+ string = thiz$1["substring"](0, idx2)
+ };
+ return string
}
-function $s_sjs_js_JSApp$class__$$js$exported$meth$main__sjs_js_JSApp__O($$this) {
- $$this.main__V()
+function $s_sc_TraversableOnce$class__addString__sc_TraversableOnce__scm_StringBuilder__T__T__T__scm_StringBuilder($$this, b, start, sep, end) {
+ var first = new $c_sr_BooleanRef().init___Z(true);
+ b.append__T__scm_StringBuilder(start);
+ $$this.foreach__F1__V(new $c_sjsr_AnonFunction1().init___sjs_js_Function1((function($$this$1, first$1, b$1, sep$1) {
+ return (function(x$2) {
+ if (first$1.elem$1) {
+ b$1.append__O__scm_StringBuilder(x$2);
+ first$1.elem$1 = false;
+ return (void 0)
+ } else {
+ b$1.append__T__scm_StringBuilder(sep$1);
+ return b$1.append__O__scm_StringBuilder(x$2)
+ }
+ })
+ })($$this, first, b, sep)));
+ b.append__T__scm_StringBuilder(end);
+ return b
}
-function $s_sjs_js_JSApp$class__$$init$__sjs_js_JSApp__V($$this) {
- /*<skip>*/
+function $s_sc_TraversableOnce$class__mkString__sc_TraversableOnce__T__T__T__T($$this, start, sep, end) {
+ var b = new $c_scm_StringBuilder().init___();
+ var this$1 = $s_sc_TraversableOnce$class__addString__sc_TraversableOnce__scm_StringBuilder__T__T__T__scm_StringBuilder($$this, b, start, sep, end);
+ var this$2 = this$1.underlying$5;
+ return this$2.content$1
}
/** @constructor */
-function $c_sjs_js_JSNumberOps$() {
+function $c_scg_GenMapFactory() {
$c_O.call(this)
}
-$c_sjs_js_JSNumberOps$.prototype = new $h_O();
-$c_sjs_js_JSNumberOps$.prototype["constructor"] = $c_sjs_js_JSNumberOps$;
+$c_scg_GenMapFactory.prototype = new $h_O();
+$c_scg_GenMapFactory.prototype["constructor"] = $c_scg_GenMapFactory;
/** @constructor */
-function $h_sjs_js_JSNumberOps$() {
+function $h_scg_GenMapFactory() {
/*<skip>*/
}
-$h_sjs_js_JSNumberOps$.prototype = $c_sjs_js_JSNumberOps$.prototype;
-$c_sjs_js_JSNumberOps$.prototype.enableJSNumberOps__I__sjs_js_JSNumberOps = (function(x) {
- return x
-});
-$c_sjs_js_JSNumberOps$.prototype.enableJSNumberOps__D__sjs_js_JSNumberOps = (function(x) {
- return x
-});
-$c_sjs_js_JSNumberOps$.prototype.enableJSNumberExtOps__I__sjs_js_Dynamic = (function(x) {
- return x
-});
-$c_sjs_js_JSNumberOps$.prototype.init___ = (function() {
- $c_O.prototype.init___.call(this);
- $n_sjs_js_JSNumberOps$ = this;
- return this
-});
-var $d_sjs_js_JSNumberOps$ = new $TypeData().initClass({
- sjs_js_JSNumberOps$: 0
-}, false, "scala.scalajs.js.JSNumberOps$", {
- sjs_js_JSNumberOps$: 1,
- O: 1
-});
-$c_sjs_js_JSNumberOps$.prototype.$classData = $d_sjs_js_JSNumberOps$;
-var $n_sjs_js_JSNumberOps$ = (void 0);
-function $m_sjs_js_JSNumberOps$() {
- if ((!$n_sjs_js_JSNumberOps$)) {
- $n_sjs_js_JSNumberOps$ = new $c_sjs_js_JSNumberOps$().init___()
- };
- return $n_sjs_js_JSNumberOps$
-}
+$h_scg_GenMapFactory.prototype = $c_scg_GenMapFactory.prototype;
/** @constructor */
-function $c_sjs_js_JSNumberOps$ExtOps$() {
+function $c_scg_GenericCompanion() {
$c_O.call(this)
}
-$c_sjs_js_JSNumberOps$ExtOps$.prototype = new $h_O();
-$c_sjs_js_JSNumberOps$ExtOps$.prototype["constructor"] = $c_sjs_js_JSNumberOps$ExtOps$;
+$c_scg_GenericCompanion.prototype = new $h_O();
+$c_scg_GenericCompanion.prototype["constructor"] = $c_scg_GenericCompanion;
/** @constructor */
-function $h_sjs_js_JSNumberOps$ExtOps$() {
+function $h_scg_GenericCompanion() {
/*<skip>*/
}
-$h_sjs_js_JSNumberOps$ExtOps$.prototype = $c_sjs_js_JSNumberOps$ExtOps$.prototype;
-$c_sjs_js_JSNumberOps$ExtOps$.prototype.toUint$extension__sjs_js_Dynamic__D = (function($$this) {
- return (+($$this >>> 0))
-});
-$c_sjs_js_JSNumberOps$ExtOps$.prototype.init___ = (function() {
- $c_O.prototype.init___.call(this);
- $n_sjs_js_JSNumberOps$ExtOps$ = this;
- return this
-});
-var $d_sjs_js_JSNumberOps$ExtOps$ = new $TypeData().initClass({
- sjs_js_JSNumberOps$ExtOps$: 0
-}, false, "scala.scalajs.js.JSNumberOps$ExtOps$", {
- sjs_js_JSNumberOps$ExtOps$: 1,
- O: 1
-});
-$c_sjs_js_JSNumberOps$ExtOps$.prototype.$classData = $d_sjs_js_JSNumberOps$ExtOps$;
-var $n_sjs_js_JSNumberOps$ExtOps$ = (void 0);
-function $m_sjs_js_JSNumberOps$ExtOps$() {
- if ((!$n_sjs_js_JSNumberOps$ExtOps$)) {
- $n_sjs_js_JSNumberOps$ExtOps$ = new $c_sjs_js_JSNumberOps$ExtOps$().init___()
- };
- return $n_sjs_js_JSNumberOps$ExtOps$
-}
+$h_scg_GenericCompanion.prototype = $c_scg_GenericCompanion.prototype;
/** @constructor */
-function $c_sjs_js_JSStringOps$() {
+function $c_sci_Stream$$hash$colon$colon$() {
$c_O.call(this)
}
-$c_sjs_js_JSStringOps$.prototype = new $h_O();
-$c_sjs_js_JSStringOps$.prototype["constructor"] = $c_sjs_js_JSStringOps$;
+$c_sci_Stream$$hash$colon$colon$.prototype = new $h_O();
+$c_sci_Stream$$hash$colon$colon$.prototype["constructor"] = $c_sci_Stream$$hash$colon$colon$;
/** @constructor */
-function $h_sjs_js_JSStringOps$() {
+function $h_sci_Stream$$hash$colon$colon$() {
/*<skip>*/
}
-$h_sjs_js_JSStringOps$.prototype = $c_sjs_js_JSStringOps$.prototype;
-$c_sjs_js_JSStringOps$.prototype.enableJSStringOps__T__sjs_js_JSStringOps = (function(x) {
- return x
-});
-$c_sjs_js_JSStringOps$.prototype.init___ = (function() {
- $c_O.prototype.init___.call(this);
- $n_sjs_js_JSStringOps$ = this;
+$h_sci_Stream$$hash$colon$colon$.prototype = $c_sci_Stream$$hash$colon$colon$.prototype;
+$c_sci_Stream$$hash$colon$colon$.prototype.init___ = (function() {
return this
});
-var $d_sjs_js_JSStringOps$ = new $TypeData().initClass({
- sjs_js_JSStringOps$: 0
-}, false, "scala.scalajs.js.JSStringOps$", {
- sjs_js_JSStringOps$: 1,
+var $d_sci_Stream$$hash$colon$colon$ = new $TypeData().initClass({
+ sci_Stream$$hash$colon$colon$: 0
+}, false, "scala.collection.immutable.Stream$$hash$colon$colon$", {
+ sci_Stream$$hash$colon$colon$: 1,
O: 1
});
-$c_sjs_js_JSStringOps$.prototype.$classData = $d_sjs_js_JSStringOps$;
-var $n_sjs_js_JSStringOps$ = (void 0);
-function $m_sjs_js_JSStringOps$() {
- if ((!$n_sjs_js_JSStringOps$)) {
- $n_sjs_js_JSStringOps$ = new $c_sjs_js_JSStringOps$().init___()
+$c_sci_Stream$$hash$colon$colon$.prototype.$classData = $d_sci_Stream$$hash$colon$colon$;
+var $n_sci_Stream$$hash$colon$colon$ = (void 0);
+function $m_sci_Stream$$hash$colon$colon$() {
+ if ((!$n_sci_Stream$$hash$colon$colon$)) {
+ $n_sci_Stream$$hash$colon$colon$ = new $c_sci_Stream$$hash$colon$colon$().init___()
};
- return $n_sjs_js_JSStringOps$
-}
-function $s_sjs_js_LowPrioAnyImplicits$class__$$init$__sjs_js_LowPrioAnyImplicits__V($$this) {
- /*<skip>*/
+ return $n_sci_Stream$$hash$colon$colon$
}
-/** @constructor */
-function $c_sjs_js_Tuple4$() {
- $c_O.call(this)
+function $s_sci_VectorPointer$class__getElem__sci_VectorPointer__I__I__O($$this, index, xor) {
+ if ((xor < 32)) {
+ return $$this.display0__AO().u[(31 & index)]
+ } else if ((xor < 1024)) {
+ return $$this.display1__AO().u[(31 & (index >> 5))].u[(31 & index)]
+ } else if ((xor < 32768)) {
+ return $$this.display2__AO().u[(31 & (index >> 10))].u[(31 & (index >> 5))].u[(31 & index)]
+ } else if ((xor < 1048576)) {
+ return $$this.display3__AO().u[(31 & (index >> 15))].u[(31 & (index >> 10))].u[(31 & (index >> 5))].u[(31 & index)]
+ } else if ((xor < 33554432)) {
+ return $$this.display4__AO().u[(31 & (index >> 20))].u[(31 & (index >> 15))].u[(31 & (index >> 10))].u[(31 & (index >> 5))].u[(31 & index)]
+ } else if ((xor < 1073741824)) {
+ return $$this.display5__AO().u[(31 & (index >> 25))].u[(31 & (index >> 20))].u[(31 & (index >> 15))].u[(31 & (index >> 10))].u[(31 & (index >> 5))].u[(31 & index)]
+ } else {
+ throw new $c_jl_IllegalArgumentException().init___()
+ }
}
-$c_sjs_js_Tuple4$.prototype = new $h_O();
-$c_sjs_js_Tuple4$.prototype["constructor"] = $c_sjs_js_Tuple4$;
-/** @constructor */
-function $h_sjs_js_Tuple4$() {
- /*<skip>*/
+function $s_sci_VectorPointer$class__stabilize__sci_VectorPointer__I__V($$this, index) {
+ var x1 = (((-1) + $$this.depth__I()) | 0);
+ switch (x1) {
+ case 5: {
+ var a = $$this.display5__AO();
+ $$this.display5$und$eq__AO__V($s_sci_VectorPointer$class__copyOf__sci_VectorPointer__AO__AO($$this, a));
+ var a$1 = $$this.display4__AO();
+ $$this.display4$und$eq__AO__V($s_sci_VectorPointer$class__copyOf__sci_VectorPointer__AO__AO($$this, a$1));
+ var a$2 = $$this.display3__AO();
+ $$this.display3$und$eq__AO__V($s_sci_VectorPointer$class__copyOf__sci_VectorPointer__AO__AO($$this, a$2));
+ var a$3 = $$this.display2__AO();
+ $$this.display2$und$eq__AO__V($s_sci_VectorPointer$class__copyOf__sci_VectorPointer__AO__AO($$this, a$3));
+ var a$4 = $$this.display1__AO();
+ $$this.display1$und$eq__AO__V($s_sci_VectorPointer$class__copyOf__sci_VectorPointer__AO__AO($$this, a$4));
+ $$this.display5__AO().u[(31 & (index >> 25))] = $$this.display4__AO();
+ $$this.display4__AO().u[(31 & (index >> 20))] = $$this.display3__AO();
+ $$this.display3__AO().u[(31 & (index >> 15))] = $$this.display2__AO();
+ $$this.display2__AO().u[(31 & (index >> 10))] = $$this.display1__AO();
+ $$this.display1__AO().u[(31 & (index >> 5))] = $$this.display0__AO();
+ break
+ }
+ case 4: {
+ var a$5 = $$this.display4__AO();
+ $$this.display4$und$eq__AO__V($s_sci_VectorPointer$class__copyOf__sci_VectorPointer__AO__AO($$this, a$5));
+ var a$6 = $$this.display3__AO();
+ $$this.display3$und$eq__AO__V($s_sci_VectorPointer$class__copyOf__sci_VectorPointer__AO__AO($$this, a$6));
+ var a$7 = $$this.display2__AO();
+ $$this.display2$und$eq__AO__V($s_sci_VectorPointer$class__copyOf__sci_VectorPointer__AO__AO($$this, a$7));
+ var a$8 = $$this.display1__AO();
+ $$this.display1$und$eq__AO__V($s_sci_VectorPointer$class__copyOf__sci_VectorPointer__AO__AO($$this, a$8));
+ $$this.display4__AO().u[(31 & (index >> 20))] = $$this.display3__AO();
+ $$this.display3__AO().u[(31 & (index >> 15))] = $$this.display2__AO();
+ $$this.display2__AO().u[(31 & (index >> 10))] = $$this.display1__AO();
+ $$this.display1__AO().u[(31 & (index >> 5))] = $$this.display0__AO();
+ break
+ }
+ case 3: {
+ var a$9 = $$this.display3__AO();
+ $$this.display3$und$eq__AO__V($s_sci_VectorPointer$class__copyOf__sci_VectorPointer__AO__AO($$this, a$9));
+ var a$10 = $$this.display2__AO();
+ $$this.display2$und$eq__AO__V($s_sci_VectorPointer$class__copyOf__sci_VectorPointer__AO__AO($$this, a$10));
+ var a$11 = $$this.display1__AO();
+ $$this.display1$und$eq__AO__V($s_sci_VectorPointer$class__copyOf__sci_VectorPointer__AO__AO($$this, a$11));
+ $$this.display3__AO().u[(31 & (index >> 15))] = $$this.display2__AO();
+ $$this.display2__AO().u[(31 & (index >> 10))] = $$this.display1__AO();
+ $$this.display1__AO().u[(31 & (index >> 5))] = $$this.display0__AO();
+ break
+ }
+ case 2: {
+ var a$12 = $$this.display2__AO();
+ $$this.display2$und$eq__AO__V($s_sci_VectorPointer$class__copyOf__sci_VectorPointer__AO__AO($$this, a$12));
+ var a$13 = $$this.display1__AO();
+ $$this.display1$und$eq__AO__V($s_sci_VectorPointer$class__copyOf__sci_VectorPointer__AO__AO($$this, a$13));
+ $$this.display2__AO().u[(31 & (index >> 10))] = $$this.display1__AO();
+ $$this.display1__AO().u[(31 & (index >> 5))] = $$this.display0__AO();
+ break
+ }
+ case 1: {
+ var a$14 = $$this.display1__AO();
+ $$this.display1$und$eq__AO__V($s_sci_VectorPointer$class__copyOf__sci_VectorPointer__AO__AO($$this, a$14));
+ $$this.display1__AO().u[(31 & (index >> 5))] = $$this.display0__AO();
+ break
+ }
+ case 0: {
+ break
+ }
+ default: {
+ throw new $c_s_MatchError().init___O(x1)
+ }
+ }
}
-$h_sjs_js_Tuple4$.prototype = $c_sjs_js_Tuple4$.prototype;
-$c_sjs_js_Tuple4$.prototype.apply__O__O__O__O__sjs_js_Tuple4 = (function(_1, _2, _3, _4) {
- return [_1, _2, _3, _4]
-});
-$c_sjs_js_Tuple4$.prototype.init___ = (function() {
- $c_O.prototype.init___.call(this);
- $n_sjs_js_Tuple4$ = this;
- return this
-});
-var $d_sjs_js_Tuple4$ = new $TypeData().initClass({
- sjs_js_Tuple4$: 0
-}, false, "scala.scalajs.js.Tuple4$", {
- sjs_js_Tuple4$: 1,
- O: 1
-});
-$c_sjs_js_Tuple4$.prototype.$classData = $d_sjs_js_Tuple4$;
-var $n_sjs_js_Tuple4$ = (void 0);
-function $m_sjs_js_Tuple4$() {
- if ((!$n_sjs_js_Tuple4$)) {
- $n_sjs_js_Tuple4$ = new $c_sjs_js_Tuple4$().init___()
- };
- return $n_sjs_js_Tuple4$
+function $s_sci_VectorPointer$class__initFrom__sci_VectorPointer__sci_VectorPointer__I__V($$this, that, depth) {
+ $$this.depth$und$eq__I__V(depth);
+ var x1 = (((-1) + depth) | 0);
+ switch (x1) {
+ case (-1): {
+ break
+ }
+ case 0: {
+ $$this.display0$und$eq__AO__V(that.display0__AO());
+ break
+ }
+ case 1: {
+ $$this.display1$und$eq__AO__V(that.display1__AO());
+ $$this.display0$und$eq__AO__V(that.display0__AO());
+ break
+ }
+ case 2: {
+ $$this.display2$und$eq__AO__V(that.display2__AO());
+ $$this.display1$und$eq__AO__V(that.display1__AO());
+ $$this.display0$und$eq__AO__V(that.display0__AO());
+ break
+ }
+ case 3: {
+ $$this.display3$und$eq__AO__V(that.display3__AO());
+ $$this.display2$und$eq__AO__V(that.display2__AO());
+ $$this.display1$und$eq__AO__V(that.display1__AO());
+ $$this.display0$und$eq__AO__V(that.display0__AO());
+ break
+ }
+ case 4: {
+ $$this.display4$und$eq__AO__V(that.display4__AO());
+ $$this.display3$und$eq__AO__V(that.display3__AO());
+ $$this.display2$und$eq__AO__V(that.display2__AO());
+ $$this.display1$und$eq__AO__V(that.display1__AO());
+ $$this.display0$und$eq__AO__V(that.display0__AO());
+ break
+ }
+ case 5: {
+ $$this.display5$und$eq__AO__V(that.display5__AO());
+ $$this.display4$und$eq__AO__V(that.display4__AO());
+ $$this.display3$und$eq__AO__V(that.display3__AO());
+ $$this.display2$und$eq__AO__V(that.display2__AO());
+ $$this.display1$und$eq__AO__V(that.display1__AO());
+ $$this.display0$und$eq__AO__V(that.display0__AO());
+ break
+ }
+ default: {
+ throw new $c_s_MatchError().init___O(x1)
+ }
+ }
}
-/** @constructor */
-function $c_sjs_js_package$() {
- $c_O.call(this)
+function $s_sci_VectorPointer$class__gotoNextBlockStart__sci_VectorPointer__I__I__V($$this, index, xor) {
+ if ((xor < 1024)) {
+ $$this.display0$und$eq__AO__V($$this.display1__AO().u[(31 & (index >> 5))])
+ } else if ((xor < 32768)) {
+ $$this.display1$und$eq__AO__V($$this.display2__AO().u[(31 & (index >> 10))]);
+ $$this.display0$und$eq__AO__V($$this.display1__AO().u[0])
+ } else if ((xor < 1048576)) {
+ $$this.display2$und$eq__AO__V($$this.display3__AO().u[(31 & (index >> 15))]);
+ $$this.display1$und$eq__AO__V($$this.display2__AO().u[0]);
+ $$this.display0$und$eq__AO__V($$this.display1__AO().u[0])
+ } else if ((xor < 33554432)) {
+ $$this.display3$und$eq__AO__V($$this.display4__AO().u[(31 & (index >> 20))]);
+ $$this.display2$und$eq__AO__V($$this.display3__AO().u[0]);
+ $$this.display1$und$eq__AO__V($$this.display2__AO().u[0]);
+ $$this.display0$und$eq__AO__V($$this.display1__AO().u[0])
+ } else if ((xor < 1073741824)) {
+ $$this.display4$und$eq__AO__V($$this.display5__AO().u[(31 & (index >> 25))]);
+ $$this.display3$und$eq__AO__V($$this.display4__AO().u[0]);
+ $$this.display2$und$eq__AO__V($$this.display3__AO().u[0]);
+ $$this.display1$und$eq__AO__V($$this.display2__AO().u[0]);
+ $$this.display0$und$eq__AO__V($$this.display1__AO().u[0])
+ } else {
+ throw new $c_jl_IllegalArgumentException().init___()
+ }
}
-$c_sjs_js_package$.prototype = new $h_O();
-$c_sjs_js_package$.prototype["constructor"] = $c_sjs_js_package$;
-/** @constructor */
-function $h_sjs_js_package$() {
- /*<skip>*/
+function $s_sci_VectorPointer$class__gotoPos__sci_VectorPointer__I__I__V($$this, index, xor) {
+ if ((xor >= 32)) {
+ if ((xor < 1024)) {
+ $$this.display0$und$eq__AO__V($$this.display1__AO().u[(31 & (index >> 5))])
+ } else if ((xor < 32768)) {
+ $$this.display1$und$eq__AO__V($$this.display2__AO().u[(31 & (index >> 10))]);
+ $$this.display0$und$eq__AO__V($$this.display1__AO().u[(31 & (index >> 5))])
+ } else if ((xor < 1048576)) {
+ $$this.display2$und$eq__AO__V($$this.display3__AO().u[(31 & (index >> 15))]);
+ $$this.display1$und$eq__AO__V($$this.display2__AO().u[(31 & (index >> 10))]);
+ $$this.display0$und$eq__AO__V($$this.display1__AO().u[(31 & (index >> 5))])
+ } else if ((xor < 33554432)) {
+ $$this.display3$und$eq__AO__V($$this.display4__AO().u[(31 & (index >> 20))]);
+ $$this.display2$und$eq__AO__V($$this.display3__AO().u[(31 & (index >> 15))]);
+ $$this.display1$und$eq__AO__V($$this.display2__AO().u[(31 & (index >> 10))]);
+ $$this.display0$und$eq__AO__V($$this.display1__AO().u[(31 & (index >> 5))])
+ } else if ((xor < 1073741824)) {
+ $$this.display4$und$eq__AO__V($$this.display5__AO().u[(31 & (index >> 25))]);
+ $$this.display3$und$eq__AO__V($$this.display4__AO().u[(31 & (index >> 20))]);
+ $$this.display2$und$eq__AO__V($$this.display3__AO().u[(31 & (index >> 15))]);
+ $$this.display1$und$eq__AO__V($$this.display2__AO().u[(31 & (index >> 10))]);
+ $$this.display0$und$eq__AO__V($$this.display1__AO().u[(31 & (index >> 5))])
+ } else {
+ throw new $c_jl_IllegalArgumentException().init___()
+ }
+ }
}
-$h_sjs_js_package$.prototype = $c_sjs_js_package$.prototype;
-$c_sjs_js_package$.prototype.$undefined__sjs_js_UndefOr = (function() {
- return (void 0)
-});
-$c_sjs_js_package$.prototype.isUndefined__O__Z = (function(v) {
- return (v === this.$undefined__sjs_js_UndefOr())
-});
-$c_sjs_js_package$.prototype.init___ = (function() {
- $c_O.prototype.init___.call(this);
- $n_sjs_js_package$ = this;
- return this
-});
-var $d_sjs_js_package$ = new $TypeData().initClass({
- sjs_js_package$: 0
-}, false, "scala.scalajs.js.package$", {
- sjs_js_package$: 1,
- O: 1
-});
-$c_sjs_js_package$.prototype.$classData = $d_sjs_js_package$;
-var $n_sjs_js_package$ = (void 0);
-function $m_sjs_js_package$() {
- if ((!$n_sjs_js_package$)) {
- $n_sjs_js_package$ = new $c_sjs_js_package$().init___()
+function $s_sci_VectorPointer$class__copyOf__sci_VectorPointer__AO__AO($$this, a) {
+ if ((a === null)) {
+ var this$2 = $m_s_Console$();
+ var this$3 = this$2.outVar$2;
+ this$3.tl$1.get__O().println__O__V("NULL")
};
- return $n_sjs_js_package$
+ var b = $newArrayObject($d_O.getArrayOf(), [a.u["length"]]);
+ var length = a.u["length"];
+ $systemArraycopy(a, 0, b, 0, length);
+ return b
}
/** @constructor */
function $c_sjsr_Bits$() {
@@ -4186,120 +2458,106 @@ function $h_sjsr_Bits$() {
/*<skip>*/
}
$h_sjsr_Bits$.prototype = $c_sjsr_Bits$.prototype;
-$c_sjsr_Bits$.prototype.areTypedArraysSupported__Z = (function() {
- return ($m_sjs_LinkingInfo$().assumingES6__Z() || this.scala$scalajs$runtime$Bits$$$undareTypedArraysSupported$f)
-});
-$c_sjsr_Bits$.prototype.arrayBuffer__p1__sjs_js_typedarray_ArrayBuffer = (function() {
- return this.arrayBuffer$1
-});
-$c_sjsr_Bits$.prototype.int32Array__p1__sjs_js_typedarray_Int32Array = (function() {
- return this.int32Array$1
-});
-$c_sjsr_Bits$.prototype.float64Array__p1__sjs_js_typedarray_Float64Array = (function() {
- return this.float64Array$1
-});
-$c_sjsr_Bits$.prototype.areTypedArraysBigEndian__Z = (function() {
- return this.areTypedArraysBigEndian$1
-});
-$c_sjsr_Bits$.prototype.highOffset__p1__I = (function() {
- return this.highOffset$1
-});
-$c_sjsr_Bits$.prototype.lowOffset__p1__I = (function() {
- return this.lowOffset$1
+$c_sjsr_Bits$.prototype.init___ = (function() {
+ $n_sjsr_Bits$ = this;
+ var x = ((($g["ArrayBuffer"] && $g["Int32Array"]) && $g["Float32Array"]) && $g["Float64Array"]);
+ this.scala$scalajs$runtime$Bits$$$undareTypedArraysSupported$f = (!(!(!(!x))));
+ this.arrayBuffer$1 = (this.scala$scalajs$runtime$Bits$$$undareTypedArraysSupported$f ? new $g["ArrayBuffer"](8) : null);
+ this.int32Array$1 = (this.scala$scalajs$runtime$Bits$$$undareTypedArraysSupported$f ? new $g["Int32Array"](this.arrayBuffer$1, 0, 2) : null);
+ this.float32Array$1 = (this.scala$scalajs$runtime$Bits$$$undareTypedArraysSupported$f ? new $g["Float32Array"](this.arrayBuffer$1, 0, 2) : null);
+ this.float64Array$1 = (this.scala$scalajs$runtime$Bits$$$undareTypedArraysSupported$f ? new $g["Float64Array"](this.arrayBuffer$1, 0, 1) : null);
+ if ((!this.scala$scalajs$runtime$Bits$$$undareTypedArraysSupported$f)) {
+ var jsx$1 = true
+ } else {
+ this.int32Array$1[0] = 16909060;
+ var jsx$1 = ((new $g["Int8Array"](this.arrayBuffer$1, 0, 8)[0] | 0) === 1)
+ };
+ this.areTypedArraysBigEndian$1 = jsx$1;
+ this.highOffset$1 = (this.areTypedArraysBigEndian$1 ? 0 : 1);
+ this.lowOffset$1 = (this.areTypedArraysBigEndian$1 ? 1 : 0);
+ return this
});
$c_sjsr_Bits$.prototype.numberHashCode__D__I = (function(value) {
- var iv = this.scala$scalajs$runtime$Bits$$rawToInt__D__I(value);
- return (((iv === value) && ((1.0 / value) !== (-Infinity))) ? iv : $objectHashCode(this.doubleToLongBits__D__J(value)))
-});
-$c_sjsr_Bits$.prototype.doubleToLongBits__D__J = (function(value) {
- if (this.areTypedArraysSupported__Z()) {
- this.float64Array__p1__sjs_js_typedarray_Float64Array()[0] = value;
- return new $c_sjsr_RuntimeLong().init___I((this.int32Array__p1__sjs_js_typedarray_Int32Array()[this.highOffset__p1__I()] | 0)).$$less$less__I__sjsr_RuntimeLong(32).$$bar__sjsr_RuntimeLong__sjsr_RuntimeLong(new $c_sjsr_RuntimeLong().init___I((this.int32Array__p1__sjs_js_typedarray_Int32Array()[this.lowOffset__p1__I()] | 0)).$$amp__sjsr_RuntimeLong__sjsr_RuntimeLong(new $c_sjsr_RuntimeLong().init___I__I((-1), 0)))
+ var iv = ((value | 0) | 0);
+ if (((iv === value) && ((1.0 / value) !== (-Infinity)))) {
+ return iv
} else {
- return this.doubleToLongBitsPolyfill__p1__D__J(value)
+ var this$1 = this.doubleToLongBits__D__J(value);
+ return (this$1.lo$2 ^ this$1.hi$2)
}
});
$c_sjsr_Bits$.prototype.doubleToLongBitsPolyfill__p1__D__J = (function(value) {
- var ebits = 11;
- var fbits = 52;
- var hifbits = ((fbits - 32) | 0);
- var x1 = this.encodeIEEE754__p1__I__I__D__T3(ebits, fbits, value);
- if ((x1 !== null)) {
- var s = (!(!x1.$$und1__O()));
- var e = (x1.$$und2__O() | 0);
- var f = (+x1.$$und3__O());
- var x$2 = new $c_T3().init___O__O__O(s, e, f)
- } else {
- var x$2;
- throw new $c_s_MatchError().init___O(x1)
- };
- var s$2 = (!(!x$2.$$und1__O()));
- var e$2 = (x$2.$$und2__O() | 0);
- var f$2 = (+x$2.$$und3__O());
- var hif = this.scala$scalajs$runtime$Bits$$rawToInt__D__I((f$2 / new $c_sjsr_RuntimeLong().init___I__I(0, 1).toDouble__D()));
- var hi = (((s$2 ? (-2147483648) : 0) | (e$2 << hifbits)) | hif);
- var lo = this.scala$scalajs$runtime$Bits$$rawToInt__D__I(f$2);
- return new $c_sjsr_RuntimeLong().init___I(hi).$$less$less__I__sjsr_RuntimeLong(32).$$bar__sjsr_RuntimeLong__sjsr_RuntimeLong(new $c_sjsr_RuntimeLong().init___I(lo).$$amp__sjsr_RuntimeLong__sjsr_RuntimeLong(new $c_sjsr_RuntimeLong().init___I__I((-1), 0)))
-});
-$c_sjsr_Bits$.prototype.encodeIEEE754__p1__I__I__D__T3 = (function(ebits, fbits, v) {
- var bias = (((1 << ((ebits - 1) | 0)) - 1) | 0);
- if ($isNaN($m_s_Predef$().double2Double__D__jl_Double(v))) {
- return new $c_T3().init___O__O__O(false, (((1 << ebits) - 1) | 0), $m_jl_Math$().pow__D__D__D(2.0, ((fbits - 1) | 0)))
- } else if ($isInfinite($m_s_Predef$().double2Double__D__jl_Double(v))) {
- return new $c_T3().init___O__O__O((v < 0), (((1 << ebits) - 1) | 0), 0.0)
- } else if ((v === 0.0)) {
- return new $c_T3().init___O__O__O(((1 / v) === (-Infinity)), 0, 0.0)
+ if ((value !== value)) {
+ var _3 = (+$g["Math"]["pow"](2.0, 51));
+ var x1_$_$$und1$1 = false;
+ var x1_$_$$und2$1 = 2047;
+ var x1_$_$$und3$1 = _3
+ } else if (((value === Infinity) || (value === (-Infinity)))) {
+ var _1 = (value < 0);
+ var x1_$_$$und1$1 = _1;
+ var x1_$_$$und2$1 = 2047;
+ var x1_$_$$und3$1 = 0.0
+ } else if ((value === 0.0)) {
+ var _1$1 = ((1 / value) === (-Infinity));
+ var x1_$_$$und1$1 = _1$1;
+ var x1_$_$$und2$1 = 0;
+ var x1_$_$$und3$1 = 0.0
} else {
- var LN2 = 0.6931471805599453;
- var s = (v < 0);
- var av = (s ? (-v) : v);
- if ((av >= $m_jl_Math$().pow__D__D__D(2.0, ((1 - bias) | 0)))) {
- var twoPowFbits = $m_jl_Math$().pow__D__D__D(2.0, fbits);
- var e = $m_jl_Math$().min__I__I__I(this.scala$scalajs$runtime$Bits$$rawToInt__D__I($m_jl_Math$().floor__D__D(($m_jl_Math$().log__D__D(av) / LN2))), 1023);
- var f = this.roundToEven__D__D(((av / $m_jl_Math$().pow__D__D__D(2.0, e)) * twoPowFbits));
- if (((f / twoPowFbits) >= 2)) {
- e = ((e + 1) | 0);
- f = 1.0
+ var s = (value < 0);
+ var av = (s ? (-value) : value);
+ if ((av >= (+$g["Math"]["pow"](2.0, (-1022))))) {
+ var twoPowFbits = (+$g["Math"]["pow"](2.0, 52));
+ var a = ((+$g["Math"]["log"](av)) / 0.6931471805599453);
+ var x = (+$g["Math"]["floor"](a));
+ var a$1 = ((x | 0) | 0);
+ var e = ((a$1 < 1023) ? a$1 : 1023);
+ var b = e;
+ var n = ((av / (+$g["Math"]["pow"](2.0, b))) * twoPowFbits);
+ var w = (+$g["Math"]["floor"](n));
+ var f = (n - w);
+ var f$1 = ((f < 0.5) ? w : ((f > 0.5) ? (1 + w) : (((w % 2) !== 0) ? (1 + w) : w)));
+ if (((f$1 / twoPowFbits) >= 2)) {
+ e = ((1 + e) | 0);
+ f$1 = 1.0
};
- if ((e > bias)) {
- e = (((1 << ebits) - 1) | 0);
- f = 0.0
+ if ((e > 1023)) {
+ e = 2047;
+ f$1 = 0.0
} else {
- e = ((e + bias) | 0);
- f = (f - twoPowFbits)
+ e = ((1023 + e) | 0);
+ f$1 = (f$1 - twoPowFbits)
};
- return new $c_T3().init___O__O__O(s, e, f)
+ var _2 = e;
+ var _3$1 = f$1;
+ var x1_$_$$und1$1 = s;
+ var x1_$_$$und2$1 = _2;
+ var x1_$_$$und3$1 = _3$1
} else {
- return new $c_T3().init___O__O__O(s, 0, this.roundToEven__D__D((av / $m_jl_Math$().pow__D__D__D(2.0, ((((1 - bias) | 0) - fbits) | 0)))))
+ var n$1 = (av / (+$g["Math"]["pow"](2.0, (-1074))));
+ var w$1 = (+$g["Math"]["floor"](n$1));
+ var f$2 = (n$1 - w$1);
+ var _3$2 = ((f$2 < 0.5) ? w$1 : ((f$2 > 0.5) ? (1 + w$1) : (((w$1 % 2) !== 0) ? (1 + w$1) : w$1)));
+ var x1_$_$$und1$1 = s;
+ var x1_$_$$und2$1 = 0;
+ var x1_$_$$und3$1 = _3$2
}
- }
-});
-$c_sjsr_Bits$.prototype.scala$scalajs$runtime$Bits$$rawToInt__D__I = (function(x) {
- return ((x | 0) | 0)
-});
-$c_sjsr_Bits$.prototype.roundToEven__D__D = (function(n) {
- var w = $m_jl_Math$().floor__D__D(n);
- var f = (n - w);
- return ((f < 0.5) ? w : ((f > 0.5) ? (w + 1) : (((w % 2) !== 0) ? (w + 1) : w)))
+ };
+ var s$1 = (!(!x1_$_$$und1$1));
+ var e$1 = (x1_$_$$und2$1 | 0);
+ var f$3 = (+x1_$_$$und3$1);
+ var x$1 = (f$3 / 4.294967296E9);
+ var hif = ((x$1 | 0) | 0);
+ var hi = (((s$1 ? (-2147483648) : 0) | (e$1 << 20)) | hif);
+ var lo = ((f$3 | 0) | 0);
+ return new $c_sjsr_RuntimeLong().init___I(hi).$$less$less__I__sjsr_RuntimeLong(32).$$bar__sjsr_RuntimeLong__sjsr_RuntimeLong(new $c_sjsr_RuntimeLong().init___I__I((-1), 0).$$amp__sjsr_RuntimeLong__sjsr_RuntimeLong(new $c_sjsr_RuntimeLong().init___I(lo)))
});
-$c_sjsr_Bits$.prototype.init___ = (function() {
- $c_O.prototype.init___.call(this);
- $n_sjsr_Bits$ = this;
- this.scala$scalajs$runtime$Bits$$$undareTypedArraysSupported$f = ($m_sjs_LinkingInfo$().assumingES6__Z() || $m_sjs_js_DynamicImplicits$().truthValue__sjs_js_Dynamic__Z(((($m_sjs_js_Dynamic$().global__sjs_js_Dynamic()["ArrayBuffer"] && $m_sjs_js_Dynamic$().global__sjs_js_Dynamic()["Int32Array"]) && $m_sjs_js_Dynamic$().global__sjs_js_Dynamic()["Float32Array"]) && $m_sjs_js_Dynamic$().global__sjs_js_Dynamic()["Float64Array"])));
- this.arrayBuffer$1 = (this.areTypedArraysSupported__Z() ? new $g["ArrayBuffer"](8) : null);
- this.int32Array$1 = (this.areTypedArraysSupported__Z() ? new $g["Int32Array"](this.arrayBuffer__p1__sjs_js_typedarray_ArrayBuffer(), 0, 2) : null);
- this.float32Array$1 = (this.areTypedArraysSupported__Z() ? new $g["Float32Array"](this.arrayBuffer__p1__sjs_js_typedarray_ArrayBuffer(), 0, 2) : null);
- this.float64Array$1 = (this.areTypedArraysSupported__Z() ? new $g["Float64Array"](this.arrayBuffer__p1__sjs_js_typedarray_ArrayBuffer(), 0, 1) : null);
- if (this.areTypedArraysSupported__Z()) {
- this.int32Array__p1__sjs_js_typedarray_Int32Array()[0] = 16909060;
- var jsx$1 = ((new $g["Int8Array"](this.arrayBuffer__p1__sjs_js_typedarray_ArrayBuffer(), 0, 8)[0] | 0) === 1)
+$c_sjsr_Bits$.prototype.doubleToLongBits__D__J = (function(value) {
+ if (this.scala$scalajs$runtime$Bits$$$undareTypedArraysSupported$f) {
+ this.float64Array$1[0] = value;
+ return new $c_sjsr_RuntimeLong().init___I((this.int32Array$1[this.highOffset$1] | 0)).$$less$less__I__sjsr_RuntimeLong(32).$$bar__sjsr_RuntimeLong__sjsr_RuntimeLong(new $c_sjsr_RuntimeLong().init___I__I((-1), 0).$$amp__sjsr_RuntimeLong__sjsr_RuntimeLong(new $c_sjsr_RuntimeLong().init___I((this.int32Array$1[this.lowOffset$1] | 0))))
} else {
- var jsx$1 = true
- };
- this.areTypedArraysBigEndian$1 = jsx$1;
- this.highOffset$1 = (this.areTypedArraysBigEndian__Z() ? 0 : 1);
- this.lowOffset$1 = (this.areTypedArraysBigEndian__Z() ? 1 : 0);
- return this
+ return this.doubleToLongBitsPolyfill__p1__D__J(value)
+ }
});
var $d_sjsr_Bits$ = new $TypeData().initClass({
sjsr_Bits$: 0
@@ -4310,94 +2568,10 @@ var $d_sjsr_Bits$ = new $TypeData().initClass({
$c_sjsr_Bits$.prototype.$classData = $d_sjsr_Bits$;
var $n_sjsr_Bits$ = (void 0);
function $m_sjsr_Bits$() {
- if ((!$n_sjsr_Bits$)) {
- $n_sjsr_Bits$ = new $c_sjsr_Bits$().init___()
- };
- return $n_sjsr_Bits$
-}
-/** @constructor */
-function $c_sjsr_RuntimeLong$Utils$() {
- $c_O.call(this)
-}
-$c_sjsr_RuntimeLong$Utils$.prototype = new $h_O();
-$c_sjsr_RuntimeLong$Utils$.prototype["constructor"] = $c_sjsr_RuntimeLong$Utils$;
-/** @constructor */
-function $h_sjsr_RuntimeLong$Utils$() {
- /*<skip>*/
-}
-$h_sjsr_RuntimeLong$Utils$.prototype = $c_sjsr_RuntimeLong$Utils$.prototype;
-$c_sjsr_RuntimeLong$Utils$.prototype.isZero__I__I__Z = (function(lo, hi) {
- return ((lo | hi) === 0)
-});
-$c_sjsr_RuntimeLong$Utils$.prototype.isInt32__I__I__Z = (function(lo, hi) {
- return (hi === (lo >> 31))
-});
-$c_sjsr_RuntimeLong$Utils$.prototype.isUnsignedSafeDouble__I__Z = (function(hi) {
- return ((hi & (-2097152)) === 0)
-});
-$c_sjsr_RuntimeLong$Utils$.prototype.asUnsignedSafeDouble__I__I__D = (function(lo, hi) {
- return ((hi * 4.294967296E9) + $m_sjs_js_JSNumberOps$ExtOps$().toUint$extension__sjs_js_Dynamic__D($m_sjs_js_JSNumberOps$().enableJSNumberExtOps__I__sjs_js_Dynamic(lo)))
-});
-$c_sjsr_RuntimeLong$Utils$.prototype.fromUnsignedSafeDouble__D__sjsr_RuntimeLong = (function(x) {
- return new $c_sjsr_RuntimeLong().init___I__I(this.unsignedSafeDoubleLo__D__I(x), this.unsignedSafeDoubleHi__D__I(x))
-});
-$c_sjsr_RuntimeLong$Utils$.prototype.unsignedSafeDoubleLo__D__I = (function(x) {
- return this.rawToInt__D__I(x)
-});
-$c_sjsr_RuntimeLong$Utils$.prototype.unsignedSafeDoubleHi__D__I = (function(x) {
- return this.rawToInt__D__I((x / 4.294967296E9))
-});
-$c_sjsr_RuntimeLong$Utils$.prototype.rawToInt__D__I = (function(x) {
- return ((x | 0) | 0)
-});
-$c_sjsr_RuntimeLong$Utils$.prototype.isPowerOfTwo$undIKnowItsNot0__I__Z = (function(i) {
- return ((i & ((i - 1) | 0)) === 0)
-});
-$c_sjsr_RuntimeLong$Utils$.prototype.log2OfPowerOfTwo__I__I = (function(i) {
- return ((31 - $m_jl_Integer$().numberOfLeadingZeros__I__I(i)) | 0)
-});
-$c_sjsr_RuntimeLong$Utils$.prototype.inlineNumberOfLeadingZeros__I__I__I = (function(lo, hi) {
- return ((hi !== 0) ? $m_jl_Integer$().numberOfLeadingZeros__I__I(hi) : (($m_jl_Integer$().numberOfLeadingZeros__I__I(lo) + 32) | 0))
-});
-$c_sjsr_RuntimeLong$Utils$.prototype.inlineUnsigned$und$greater$eq__I__I__I__I__Z = (function(alo, ahi, blo, bhi) {
- return ((ahi === bhi) ? this.inlineUnsignedInt$und$greater$eq__I__I__Z(alo, blo) : this.inlineUnsignedInt$und$greater$eq__I__I__Z(ahi, bhi))
-});
-$c_sjsr_RuntimeLong$Utils$.prototype.inlineUnsignedInt$und$less__I__I__Z = (function(a, b) {
- return ((a ^ (-2147483648)) < (b ^ (-2147483648)))
-});
-$c_sjsr_RuntimeLong$Utils$.prototype.inlineUnsignedInt$und$less$eq__I__I__Z = (function(a, b) {
- return ((b ^ (-2147483648)) >= (a ^ (-2147483648)))
-});
-$c_sjsr_RuntimeLong$Utils$.prototype.inlineUnsignedInt$und$greater__I__I__Z = (function(a, b) {
- return ((b ^ (-2147483648)) < (a ^ (-2147483648)))
-});
-$c_sjsr_RuntimeLong$Utils$.prototype.inlineUnsignedInt$und$greater$eq__I__I__Z = (function(a, b) {
- return ((a ^ (-2147483648)) >= (b ^ (-2147483648)))
-});
-$c_sjsr_RuntimeLong$Utils$.prototype.inlineLongUnary$und$minus__I__I__sjsr_RuntimeLong = (function(lo, hi) {
- return new $c_sjsr_RuntimeLong().init___I__I(((-lo) | 0), ((lo !== 0) ? (~hi) : ((-hi) | 0)))
-});
-$c_sjsr_RuntimeLong$Utils$.prototype.inline$undunary$und$minus__I__I__T2 = (function(lo, hi) {
- return new $c_s_Tuple2$mcII$sp().init___I__I(((-lo) | 0), ((lo !== 0) ? (~hi) : ((-hi) | 0)))
-});
-$c_sjsr_RuntimeLong$Utils$.prototype.init___ = (function() {
- $c_O.prototype.init___.call(this);
- $n_sjsr_RuntimeLong$Utils$ = this;
- return this
-});
-var $d_sjsr_RuntimeLong$Utils$ = new $TypeData().initClass({
- sjsr_RuntimeLong$Utils$: 0
-}, false, "scala.scalajs.runtime.RuntimeLong$Utils$", {
- sjsr_RuntimeLong$Utils$: 1,
- O: 1
-});
-$c_sjsr_RuntimeLong$Utils$.prototype.$classData = $d_sjsr_RuntimeLong$Utils$;
-var $n_sjsr_RuntimeLong$Utils$ = (void 0);
-function $m_sjsr_RuntimeLong$Utils$() {
- if ((!$n_sjsr_RuntimeLong$Utils$)) {
- $n_sjsr_RuntimeLong$Utils$ = new $c_sjsr_RuntimeLong$Utils$().init___()
+ if ((!$n_sjsr_Bits$)) {
+ $n_sjsr_Bits$ = new $c_sjsr_Bits$().init___()
};
- return $n_sjsr_RuntimeLong$Utils$
+ return $n_sjsr_Bits$
}
/** @constructor */
function $c_sjsr_RuntimeString$() {
@@ -4412,80 +2586,50 @@ function $h_sjsr_RuntimeString$() {
/*<skip>*/
}
$h_sjsr_RuntimeString$.prototype = $c_sjsr_RuntimeString$.prototype;
-$c_sjsr_RuntimeString$.prototype.scala$scalajs$runtime$RuntimeString$$specialJSStringOps__T__sjsr_RuntimeString$SpecialJSStringOps = (function(s) {
- return s
-});
-$c_sjsr_RuntimeString$.prototype.charAt__T__I__C = (function(thiz, index) {
- return ((this.scala$scalajs$runtime$RuntimeString$$specialJSStringOps__T__sjsr_RuntimeString$SpecialJSStringOps(thiz)["charCodeAt"](index) | 0) & 65535)
-});
-$c_sjsr_RuntimeString$.prototype.hashCode__T__I = (function(thiz) {
- var res = 0;
- var mul = 1;
- var i = (($m_sjsr_RuntimeString$().length__T__I(thiz) - 1) | 0);
- while ((i >= 0)) {
- res = ((res + $imul($m_sjsr_RuntimeString$().charAt__T__I__C(thiz, i), mul)) | 0);
- mul = $imul(mul, 31);
- i = ((i - 1) | 0)
- };
- return res
-});
-$c_sjsr_RuntimeString$.prototype.indexOf__T__I__I = (function(thiz, ch) {
- return $m_sjsr_RuntimeString$().indexOf__T__T__I(thiz, this.fromCodePoint__p1__I__T(ch))
+$c_sjsr_RuntimeString$.prototype.init___ = (function() {
+ return this
});
$c_sjsr_RuntimeString$.prototype.indexOf__T__I__I__I = (function(thiz, ch, fromIndex) {
- return $m_sjsr_RuntimeString$().indexOf__T__T__I__I(thiz, this.fromCodePoint__p1__I__T(ch), fromIndex)
+ var str = this.fromCodePoint__p1__I__T(ch);
+ return (thiz["indexOf"](str, fromIndex) | 0)
});
-$c_sjsr_RuntimeString$.prototype.indexOf__T__T__I = (function(thiz, str) {
- return ($m_sjs_js_JSStringOps$().enableJSStringOps__T__sjs_js_JSStringOps(thiz)["indexOf"](str) | 0)
-});
-$c_sjsr_RuntimeString$.prototype.indexOf__T__T__I__I = (function(thiz, str, fromIndex) {
- return ($m_sjs_js_JSStringOps$().enableJSStringOps__T__sjs_js_JSStringOps(thiz)["indexOf"](str, fromIndex) | 0)
+$c_sjsr_RuntimeString$.prototype.valueOf__O__T = (function(value) {
+ return ((value === null) ? "null" : $objectToString(value))
});
$c_sjsr_RuntimeString$.prototype.lastIndexOf__T__I__I = (function(thiz, ch) {
- return $m_sjsr_RuntimeString$().lastIndexOf__T__T__I(thiz, this.fromCodePoint__p1__I__T(ch))
-});
-$c_sjsr_RuntimeString$.prototype.lastIndexOf__T__T__I = (function(thiz, str) {
- return ($m_sjs_js_JSStringOps$().enableJSStringOps__T__sjs_js_JSStringOps(thiz)["lastIndexOf"](str) | 0)
-});
-$c_sjsr_RuntimeString$.prototype.length__T__I = (function(thiz) {
- return (this.scala$scalajs$runtime$RuntimeString$$specialJSStringOps__T__sjsr_RuntimeString$SpecialJSStringOps(thiz)["length"] | 0)
-});
-$c_sjsr_RuntimeString$.prototype.subSequence__T__I__I__jl_CharSequence = (function(thiz, beginIndex, endIndex) {
- return $m_sjsr_RuntimeString$().substring__T__I__I__T(thiz, beginIndex, endIndex)
-});
-$c_sjsr_RuntimeString$.prototype.substring__T__I__T = (function(thiz, beginIndex) {
- return $m_sjs_js_JSStringOps$().enableJSStringOps__T__sjs_js_JSStringOps(thiz)["substring"](beginIndex)
-});
-$c_sjsr_RuntimeString$.prototype.substring__T__I__I__T = (function(thiz, beginIndex, endIndex) {
- return $m_sjs_js_JSStringOps$().enableJSStringOps__T__sjs_js_JSStringOps(thiz)["substring"](beginIndex, endIndex)
+ var str = this.fromCodePoint__p1__I__T(ch);
+ return (thiz["lastIndexOf"](str) | 0)
});
-$c_sjsr_RuntimeString$.prototype.valueOf__Z__T = (function(value) {
- return $objectToString(value)
-});
-$c_sjsr_RuntimeString$.prototype.valueOf__I__T = (function(value) {
- return $objectToString(value)
-});
-$c_sjsr_RuntimeString$.prototype.valueOf__O__T = (function(value) {
- return ((value === null) ? "null" : $objectToString(value))
+$c_sjsr_RuntimeString$.prototype.indexOf__T__I__I = (function(thiz, ch) {
+ var str = this.fromCodePoint__p1__I__T(ch);
+ return (thiz["indexOf"](str) | 0)
});
$c_sjsr_RuntimeString$.prototype.fromCodePoint__p1__I__T = (function(codePoint) {
- if (((codePoint & (~65535)) === 0)) {
- return this.fromCharCode__p1__sc_Seq__T(new $c_sjs_js_WrappedArray().init___sjs_js_Array([codePoint]))
+ if ((((-65536) & codePoint) === 0)) {
+ var array = [codePoint];
+ var jsx$1 = $g["String"];
+ return jsx$1["fromCharCode"]["apply"](jsx$1, array)
} else if (((codePoint < 0) || (codePoint > 1114111))) {
throw new $c_jl_IllegalArgumentException().init___()
} else {
- var offsetCp = ((codePoint - 65536) | 0);
- return this.fromCharCode__p1__sc_Seq__T(new $c_sjs_js_WrappedArray().init___sjs_js_Array([((offsetCp >> 10) | 55296), ((offsetCp & 1023) | 56320)]))
+ var offsetCp = (((-65536) + codePoint) | 0);
+ var array$1 = [(55296 | (offsetCp >> 10)), (56320 | (1023 & offsetCp))];
+ var jsx$2 = $g["String"];
+ return jsx$2["fromCharCode"]["apply"](jsx$2, array$1)
}
});
-$c_sjsr_RuntimeString$.prototype.fromCharCode__p1__sc_Seq__T = (function(charCodes) {
- var jsx$1 = $m_sjs_js_Dynamic$().global__sjs_js_Dynamic()["String"];
- return jsx$1["fromCharCode"]["apply"](jsx$1, $m_sjsr_package$().genTraversableOnce2jsArray__sc_GenTraversableOnce__sjs_js_Array(charCodes))
-});
-$c_sjsr_RuntimeString$.prototype.init___ = (function() {
- $c_O.prototype.init___.call(this);
- $n_sjsr_RuntimeString$ = this;
- return this
+$c_sjsr_RuntimeString$.prototype.hashCode__T__I = (function(thiz) {
+ var res = 0;
+ var mul = 1;
+ var i = (((-1) + (thiz["length"] | 0)) | 0);
+ while ((i >= 0)) {
+ var jsx$1 = res;
+ var index = i;
+ res = ((jsx$1 + $imul((65535 & (thiz["charCodeAt"](index) | 0)), mul)) | 0);
+ mul = $imul(31, mul);
+ i = (((-1) + i) | 0)
+ };
+ return res
});
var $d_sjsr_RuntimeString$ = new $TypeData().initClass({
sjsr_RuntimeString$: 0
@@ -4502,67 +2646,6 @@ function $m_sjsr_RuntimeString$() {
return $n_sjsr_RuntimeString$
}
/** @constructor */
-function $c_sjsr_StackTrace$() {
- $c_O.call(this);
- this.isRhino$1 = false;
- this.decompressedClasses$1 = null;
- this.decompressedPrefixes$1 = null;
- this.compressedPrefixes$1 = null;
- this.bitmap$0$1 = 0
-}
-$c_sjsr_StackTrace$.prototype = new $h_O();
-$c_sjsr_StackTrace$.prototype["constructor"] = $c_sjsr_StackTrace$;
-/** @constructor */
-function $h_sjsr_StackTrace$() {
- /*<skip>*/
-}
-$h_sjsr_StackTrace$.prototype = $c_sjsr_StackTrace$.prototype;
-$c_sjsr_StackTrace$.prototype.captureState__jl_Throwable__V = (function(throwable) {
- this.captureState__jl_Throwable__O__V(throwable, this.scala$scalajs$runtime$StackTrace$$createException__O())
-});
-$c_sjsr_StackTrace$.prototype.scala$scalajs$runtime$StackTrace$$createException__O = (function() {
- try {
- return {}["undef"]()
- } catch (e) {
- var e$2 = $m_sjsr_package$().wrapJavaScriptException__O__jl_Throwable(e);
- if ($is_jl_Throwable(e$2)) {
- var ex6 = e$2;
- var x4 = ex6;
- if ($is_sjs_js_JavaScriptException(x4)) {
- var x5 = x4;
- var e$3 = x5.exception__O();
- return e$3
- } else {
- throw $m_sjsr_package$().unwrapJavaScriptException__jl_Throwable__O(ex6)
- }
- } else {
- throw e
- }
- }
-});
-$c_sjsr_StackTrace$.prototype.captureState__jl_Throwable__O__V = (function(throwable, e) {
- throwable["stackdata"] = e
-});
-$c_sjsr_StackTrace$.prototype.init___ = (function() {
- $c_O.prototype.init___.call(this);
- $n_sjsr_StackTrace$ = this;
- return this
-});
-var $d_sjsr_StackTrace$ = new $TypeData().initClass({
- sjsr_StackTrace$: 0
-}, false, "scala.scalajs.runtime.StackTrace$", {
- sjsr_StackTrace$: 1,
- O: 1
-});
-$c_sjsr_StackTrace$.prototype.$classData = $d_sjsr_StackTrace$;
-var $n_sjsr_StackTrace$ = (void 0);
-function $m_sjsr_StackTrace$() {
- if ((!$n_sjsr_StackTrace$)) {
- $n_sjsr_StackTrace$ = new $c_sjsr_StackTrace$().init___()
- };
- return $n_sjsr_StackTrace$
-}
-/** @constructor */
function $c_sjsr_package$() {
$c_O.call(this)
}
@@ -4573,52 +2656,26 @@ function $h_sjsr_package$() {
/*<skip>*/
}
$h_sjsr_package$.prototype = $c_sjsr_package$.prototype;
-$c_sjsr_package$.prototype.wrapJavaScriptException__O__jl_Throwable = (function(e) {
- var x1 = e;
- if ($is_jl_Throwable(x1)) {
- var x2 = x1;
- return x2
- } else {
- return new $c_sjs_js_JavaScriptException().init___O(e)
- }
+$c_sjsr_package$.prototype.init___ = (function() {
+ return this
});
$c_sjsr_package$.prototype.unwrapJavaScriptException__jl_Throwable__O = (function(th) {
- var x1 = th;
- if ($is_sjs_js_JavaScriptException(x1)) {
- var x2 = x1;
- var e = x2.exception__O();
+ if ($is_sjs_js_JavaScriptException(th)) {
+ var x2 = th;
+ var e = x2.exception$4;
return e
} else {
return th
}
});
-$c_sjsr_package$.prototype.genTraversableOnce2jsArray__sc_GenTraversableOnce__sjs_js_Array = (function(col) {
- var x1 = col;
- if ($is_sjs_js_ArrayOps(x1)) {
- var x2 = x1;
- return x2.result__sjs_js_Array()
- } else if ($is_sjs_js_WrappedArray(x1)) {
- var x3 = x1;
- return x3.array__sjs_js_Array()
+$c_sjsr_package$.prototype.wrapJavaScriptException__O__jl_Throwable = (function(e) {
+ if ($is_jl_Throwable(e)) {
+ var x2 = e;
+ return x2
} else {
- var result = [];
- col.foreach__F1__V(new $c_sjsr_AnonFunction1().init___sjs_js_Function1((function($this, result) {
- return (function(x$2) {
- var x = x$2;
- return $this.$$anonfun$2__p1__sjs_js_Array__O__I(result, x)
- })
- })(this, result)));
- return result
+ return new $c_sjs_js_JavaScriptException().init___O(e)
}
});
-$c_sjsr_package$.prototype.$$anonfun$2__p1__sjs_js_Array__O__I = (function(result$1, x) {
- return (result$1["push"](x) | 0)
-});
-$c_sjsr_package$.prototype.init___ = (function() {
- $c_O.prototype.init___.call(this);
- $n_sjsr_package$ = this;
- return this
-});
var $d_sjsr_package$ = new $TypeData().initClass({
sjsr_package$: 0
}, false, "scala.scalajs.runtime.package$", {
@@ -4652,130 +2709,126 @@ function $h_sr_BoxesRunTime$() {
/*<skip>*/
}
$h_sr_BoxesRunTime$.prototype = $c_sr_BoxesRunTime$.prototype;
-$c_sr_BoxesRunTime$.prototype.boxToCharacter__C__jl_Character = (function(c) {
- return $m_jl_Character$().valueOf__C__jl_Character(c)
-});
-$c_sr_BoxesRunTime$.prototype.equals__O__O__Z = (function(x, y) {
- return ((x === y) || this.equals2__O__O__Z(x, y))
+$c_sr_BoxesRunTime$.prototype.init___ = (function() {
+ return this
});
-$c_sr_BoxesRunTime$.prototype.equals2__O__O__Z = (function(x, y) {
- var x1 = x;
- if ($is_jl_Number(x1)) {
- var x2 = x1;
- return this.equalsNumObject__jl_Number__O__Z(x2, y)
- } else if ($is_jl_Character(x1)) {
- var x3 = x1;
- return this.equalsCharObject__jl_Character__O__Z(x3, y)
+$c_sr_BoxesRunTime$.prototype.equalsCharObject__jl_Character__O__Z = (function(xc, y) {
+ if ($is_jl_Character(y)) {
+ var x2 = y;
+ return (xc.value$1 === x2.value$1)
+ } else if ($is_jl_Number(y)) {
+ var x3 = y;
+ if (((typeof x3) === "number")) {
+ var x2$1 = (+x3);
+ return (x2$1 === xc.value$1)
+ } else if ($is_sjsr_RuntimeLong(x3)) {
+ var x3$1 = $uJ(x3);
+ return x3$1.equals__sjsr_RuntimeLong__Z(new $c_sjsr_RuntimeLong().init___I(xc.value$1))
+ } else {
+ return ((x3 === null) ? (xc === null) : $objectEquals(x3, xc))
+ }
} else {
- return ((null === x1) ? (y === null) : $objectEquals(x, y))
+ return ((xc === null) && (y === null))
}
});
$c_sr_BoxesRunTime$.prototype.equalsNumObject__jl_Number__O__Z = (function(xn, y) {
- var x1 = y;
- if ($is_jl_Number(x1)) {
- var x2 = x1;
+ if ($is_jl_Number(y)) {
+ var x2 = y;
return this.equalsNumNum__jl_Number__jl_Number__Z(xn, x2)
- } else if ($is_jl_Character(x1)) {
- var x3 = x1;
- return this.equalsNumChar__p1__jl_Number__jl_Character__Z(xn, x3)
+ } else if ($is_jl_Character(y)) {
+ var x3 = y;
+ if (((typeof xn) === "number")) {
+ var x2$1 = (+xn);
+ return (x2$1 === x3.value$1)
+ } else if ($is_sjsr_RuntimeLong(xn)) {
+ var x3$1 = $uJ(xn);
+ return x3$1.equals__sjsr_RuntimeLong__Z(new $c_sjsr_RuntimeLong().init___I(x3.value$1))
+ } else {
+ return ((xn === null) ? (x3 === null) : $objectEquals(xn, x3))
+ }
} else {
return ((xn === null) ? (y === null) : $objectEquals(xn, y))
}
});
+$c_sr_BoxesRunTime$.prototype.equals__O__O__Z = (function(x, y) {
+ if ((x === y)) {
+ return true
+ } else if ($is_jl_Number(x)) {
+ var x2 = x;
+ return this.equalsNumObject__jl_Number__O__Z(x2, y)
+ } else if ($is_jl_Character(x)) {
+ var x3 = x;
+ return this.equalsCharObject__jl_Character__O__Z(x3, y)
+ } else {
+ return ((x === null) ? (y === null) : $objectEquals(x, y))
+ }
+});
+$c_sr_BoxesRunTime$.prototype.hashFromLong__jl_Long__I = (function(n) {
+ var iv = $uJ(n).lo$2;
+ if (new $c_sjsr_RuntimeLong().init___I(iv).equals__sjsr_RuntimeLong__Z($uJ(n))) {
+ return iv
+ } else {
+ var value = $uJ(n);
+ return (value.lo$2 ^ value.hi$2)
+ }
+});
+$c_sr_BoxesRunTime$.prototype.hashFromNumber__jl_Number__I = (function(n) {
+ if ($isInt(n)) {
+ var x2 = (n | 0);
+ return x2
+ } else if ($is_sjsr_RuntimeLong(n)) {
+ var x3 = n;
+ return this.hashFromLong__jl_Long__I(x3)
+ } else if (((typeof n) === "number")) {
+ var x4 = n;
+ return this.hashFromDouble__jl_Double__I(x4)
+ } else {
+ return $objectHashCode(n)
+ }
+});
$c_sr_BoxesRunTime$.prototype.equalsNumNum__jl_Number__jl_Number__Z = (function(xn, yn) {
- var x1 = xn;
- if (((typeof x1) === "number")) {
- var x2 = (+x1);
- var x1$2 = yn;
- if (((typeof x1$2) === "number")) {
- var x2$2 = (+x1$2);
+ if (((typeof xn) === "number")) {
+ var x2 = (+xn);
+ if (((typeof yn) === "number")) {
+ var x2$2 = (+yn);
return (x2 === x2$2)
- } else if ($is_sjsr_RuntimeLong(x1$2)) {
- var x3 = $uJ(x1$2);
+ } else if ($is_sjsr_RuntimeLong(yn)) {
+ var x3 = $uJ(yn);
return (x2 === x3.toDouble__D())
- } else if ($is_s_math_ScalaNumber(x1$2)) {
- var x4 = x1$2;
+ } else if ($is_s_math_ScalaNumber(yn)) {
+ var x4 = yn;
return x4.equals__O__Z(x2)
} else {
return false
}
- } else if ($is_sjsr_RuntimeLong(x1)) {
- var x3$2 = $uJ(x1);
- var x1$3 = yn;
- if ($is_sjsr_RuntimeLong(x1$3)) {
- var x2$3 = $uJ(x1$3);
+ } else if ($is_sjsr_RuntimeLong(xn)) {
+ var x3$2 = $uJ(xn);
+ if ($is_sjsr_RuntimeLong(yn)) {
+ var x2$3 = $uJ(yn);
return x3$2.equals__sjsr_RuntimeLong__Z(x2$3)
- } else if (((typeof x1$3) === "number")) {
- var x3$3 = (+x1$3);
+ } else if (((typeof yn) === "number")) {
+ var x3$3 = (+yn);
return (x3$2.toDouble__D() === x3$3)
- } else if ($is_s_math_ScalaNumber(x1$3)) {
- var x4$2 = x1$3;
+ } else if ($is_s_math_ScalaNumber(yn)) {
+ var x4$2 = yn;
return x4$2.equals__O__Z(x3$2)
} else {
return false
}
} else {
- return ((null === x1) ? (yn === null) : $objectEquals(xn, yn))
- }
-});
-$c_sr_BoxesRunTime$.prototype.equalsCharObject__jl_Character__O__Z = (function(xc, y) {
- var x1 = y;
- if ($is_jl_Character(x1)) {
- var x2 = x1;
- return (xc.charValue__C() === x2.charValue__C())
- } else if ($is_jl_Number(x1)) {
- var x3 = x1;
- return this.equalsNumChar__p1__jl_Number__jl_Character__Z(x3, xc)
- } else {
- return ((xc === null) && (y === null))
- }
-});
-$c_sr_BoxesRunTime$.prototype.equalsNumChar__p1__jl_Number__jl_Character__Z = (function(xn, yc) {
- var x1 = xn;
- if (((typeof x1) === "number")) {
- var x2 = (+x1);
- return (x2 === yc.charValue__C())
- } else if ($is_sjsr_RuntimeLong(x1)) {
- var x3 = $uJ(x1);
- return x3.equals__sjsr_RuntimeLong__Z(new $c_sjsr_RuntimeLong().init___I(yc.charValue__C()))
- } else {
- return ((xn === null) ? (yc === null) : $objectEquals(xn, yc))
+ return ((xn === null) ? (yn === null) : $objectEquals(xn, yn))
}
});
-$c_sr_BoxesRunTime$.prototype.hashFromLong__jl_Long__I = (function(n) {
- var iv = $numberIntValue(n);
- return (new $c_sjsr_RuntimeLong().init___I(iv).equals__sjsr_RuntimeLong__Z($numberLongValue(n)) ? iv : $objectHashCode(n))
-});
$c_sr_BoxesRunTime$.prototype.hashFromDouble__jl_Double__I = (function(n) {
- var iv = $numberIntValue(n);
- var dv = $numberDoubleValue(n);
+ var iv = $doubleToInt((+n));
+ var dv = (+n);
if ((iv === dv)) {
return iv
} else {
- var lv = $numberLongValue(n);
- return ((lv.toDouble__D() === dv) ? $objectHashCode($m_jl_Long$().valueOf__J__jl_Long(lv)) : $objectHashCode(n))
- }
-});
-$c_sr_BoxesRunTime$.prototype.hashFromNumber__jl_Number__I = (function(n) {
- var x1 = n;
- if ($isInt(x1)) {
- var x2 = (x1 | 0);
- return x2
- } else if ($is_sjsr_RuntimeLong(x1)) {
- var x3 = x1;
- return this.hashFromLong__jl_Long__I(x3)
- } else if (((typeof x1) === "number")) {
- var x4 = x1;
- return this.hashFromDouble__jl_Double__I(x4)
- } else {
- return $objectHashCode(x1)
+ var lv = $m_sjsr_RuntimeLong$().fromDouble__D__sjsr_RuntimeLong((+n));
+ return ((lv.toDouble__D() === dv) ? (lv.lo$2 ^ lv.hi$2) : $m_sjsr_Bits$().numberHashCode__D__I((+n)))
}
});
-$c_sr_BoxesRunTime$.prototype.init___ = (function() {
- $c_O.prototype.init___.call(this);
- $n_sr_BoxesRunTime$ = this;
- return this
-});
var $d_sr_BoxesRunTime$ = new $TypeData().initClass({
sr_BoxesRunTime$: 0
}, false, "scala.runtime.BoxesRunTime$", {
@@ -4797,42 +2850,6 @@ var $d_sr_Null$ = new $TypeData().initClass({
O: 1
});
/** @constructor */
-function $c_sr_RichInt$() {
- $c_O.call(this)
-}
-$c_sr_RichInt$.prototype = new $h_O();
-$c_sr_RichInt$.prototype["constructor"] = $c_sr_RichInt$;
-/** @constructor */
-function $h_sr_RichInt$() {
- /*<skip>*/
-}
-$h_sr_RichInt$.prototype = $c_sr_RichInt$.prototype;
-$c_sr_RichInt$.prototype.until$extension0__I__I__sci_Range = (function($$this, end) {
- return $m_sci_Range$().apply__I__I__sci_Range($$this, end)
-});
-$c_sr_RichInt$.prototype.to$extension0__I__I__sci_Range$Inclusive = (function($$this, end) {
- return $m_sci_Range$().inclusive__I__I__sci_Range$Inclusive($$this, end)
-});
-$c_sr_RichInt$.prototype.init___ = (function() {
- $c_O.prototype.init___.call(this);
- $n_sr_RichInt$ = this;
- return this
-});
-var $d_sr_RichInt$ = new $TypeData().initClass({
- sr_RichInt$: 0
-}, false, "scala.runtime.RichInt$", {
- sr_RichInt$: 1,
- O: 1
-});
-$c_sr_RichInt$.prototype.$classData = $d_sr_RichInt$;
-var $n_sr_RichInt$ = (void 0);
-function $m_sr_RichInt$() {
- if ((!$n_sr_RichInt$)) {
- $n_sr_RichInt$ = new $c_sr_RichInt$().init___()
- };
- return $n_sr_RichInt$
-}
-/** @constructor */
function $c_sr_ScalaRunTime$() {
$c_O.call(this)
}
@@ -4843,22 +2860,16 @@ function $h_sr_ScalaRunTime$() {
/*<skip>*/
}
$h_sr_ScalaRunTime$.prototype = $c_sr_ScalaRunTime$.prototype;
-$c_sr_ScalaRunTime$.prototype.$$undtoString__s_Product__T = (function(x) {
- return x.productIterator__sc_Iterator().mkString__T__T__T__T((x.productPrefix__T() + "("), ",", ")")
-});
-$c_sr_ScalaRunTime$.prototype.$$undhashCode__s_Product__I = (function(x) {
- return $m_s_util_hashing_MurmurHash3$().productHash__s_Product__I(x)
-});
-$c_sr_ScalaRunTime$.prototype.typedProductIterator__s_Product__sc_Iterator = (function(x) {
- return new $c_sr_ScalaRunTime$$anon$1().init___s_Product(x)
+$c_sr_ScalaRunTime$.prototype.init___ = (function() {
+ return this
});
$c_sr_ScalaRunTime$.prototype.hash__O__I = (function(x) {
return ((x === null) ? 0 : ($is_jl_Number(x) ? $m_sr_BoxesRunTime$().hashFromNumber__jl_Number__I(x) : $objectHashCode(x)))
});
-$c_sr_ScalaRunTime$.prototype.init___ = (function() {
- $c_O.prototype.init___.call(this);
- $n_sr_ScalaRunTime$ = this;
- return this
+$c_sr_ScalaRunTime$.prototype.$$undtoString__s_Product__T = (function(x) {
+ var this$1 = x.productIterator__sc_Iterator();
+ var start = (x.productPrefix__T() + "(");
+ return $s_sc_TraversableOnce$class__mkString__sc_TraversableOnce__T__T__T__T(this$1, start, ",", ")")
});
var $d_sr_ScalaRunTime$ = new $TypeData().initClass({
sr_ScalaRunTime$: 0
@@ -4885,45 +2896,29 @@ function $h_Lorg_scalajs_benchmark_Benchmark() {
/*<skip>*/
}
$h_Lorg_scalajs_benchmark_Benchmark.prototype = $c_Lorg_scalajs_benchmark_Benchmark.prototype;
-$c_Lorg_scalajs_benchmark_Benchmark.prototype.$$js$exported$meth$main__O = (function() {
- return $s_sjs_js_JSApp$class__$$js$exported$meth$main__sjs_js_JSApp__O(this)
-});
-$c_Lorg_scalajs_benchmark_Benchmark.prototype.main__V = (function() {
- this.report__V()
+$c_Lorg_scalajs_benchmark_Benchmark.prototype.report__V = (function() {
+ this.runBenchmark__J__D(new $c_sjsr_RuntimeLong().init___I__I(100, 0));
+ var avg = this.runBenchmark__J__D(new $c_sjsr_RuntimeLong().init___I__I(2000, 0));
+ var x = new $c_s_StringContext().init___sc_Seq(new $c_sjs_js_WrappedArray().init___sjs_js_Array(["", ": ", " us"])).s__sc_Seq__T(new $c_sjs_js_WrappedArray().init___sjs_js_Array(["Richards", avg]));
+ var this$2 = $m_s_Console$();
+ var this$3 = this$2.outVar$2;
+ this$3.tl$1.get__O().println__O__V(x)
});
$c_Lorg_scalajs_benchmark_Benchmark.prototype.runBenchmark__J__D = (function(timeMinimum) {
var runs = 0;
- var startTime = $m_s_compat_Platform$().currentTime__J();
+ var startTime = $m_jl_System$().currentTimeMillis__J();
var stopTime = startTime.$$plus__sjsr_RuntimeLong__sjsr_RuntimeLong(timeMinimum);
var currentTime = startTime;
do {
this.run__V();
- runs = ((runs + 1) | 0);
- currentTime = $m_s_compat_Platform$().currentTime__J()
+ runs = ((1 + runs) | 0);
+ currentTime = $m_jl_System$().currentTimeMillis__J()
} while (currentTime.$$less__sjsr_RuntimeLong__Z(stopTime));
var elapsed = currentTime.$$minus__sjsr_RuntimeLong__sjsr_RuntimeLong(startTime);
return ((1000.0 * elapsed.toDouble__D()) / runs)
});
-$c_Lorg_scalajs_benchmark_Benchmark.prototype.setUp__V = (function() {
- /*<skip>*/
-});
-$c_Lorg_scalajs_benchmark_Benchmark.prototype.tearDown__V = (function() {
- /*<skip>*/
-});
-$c_Lorg_scalajs_benchmark_Benchmark.prototype.warmUp__V = (function() {
- this.runBenchmark__J__D(new $c_sjsr_RuntimeLong().init___I__I(100, 0))
-});
-$c_Lorg_scalajs_benchmark_Benchmark.prototype.report__V = (function() {
- this.setUp__V();
- this.warmUp__V();
- var avg = this.runBenchmark__J__D(new $c_sjsr_RuntimeLong().init___I__I(2000, 0));
- this.tearDown__V();
- $m_s_Predef$().println__O__V(new $c_s_StringContext().init___sc_Seq(new $c_sjs_js_WrappedArray().init___sjs_js_Array(["", ": ", " us"])).s__sc_Seq__T(new $c_sjs_js_WrappedArray().init___sjs_js_Array([this.prefix__T(), avg])))
-});
-$c_Lorg_scalajs_benchmark_Benchmark.prototype.init___ = (function() {
- $c_O.prototype.init___.call(this);
- $s_sjs_js_JSApp$class__$$init$__sjs_js_JSApp__V(this);
- return this
+$c_Lorg_scalajs_benchmark_Benchmark.prototype.$$js$exported$meth$main__O = (function() {
+ this.report__V()
});
$c_Lorg_scalajs_benchmark_Benchmark.prototype["main"] = (function() {
return this.$$js$exported$meth$main__O()
@@ -4941,32 +2936,25 @@ function $h_Lorg_scalajs_benchmark_richards_DeviceTask() {
/*<skip>*/
}
$h_Lorg_scalajs_benchmark_richards_DeviceTask.prototype = $c_Lorg_scalajs_benchmark_richards_DeviceTask.prototype;
-$c_Lorg_scalajs_benchmark_richards_DeviceTask.prototype.v1__Lorg_scalajs_benchmark_richards_Packet = (function() {
- return this.v1$2
-});
-$c_Lorg_scalajs_benchmark_richards_DeviceTask.prototype.v1$und$eq__Lorg_scalajs_benchmark_richards_Packet__V = (function(x$1) {
- this.v1$2 = x$1
+$c_Lorg_scalajs_benchmark_richards_DeviceTask.prototype.init___Lorg_scalajs_benchmark_richards_Scheduler = (function(scheduler) {
+ this.scheduler$2 = scheduler;
+ this.v1$2 = null;
+ return this
});
$c_Lorg_scalajs_benchmark_richards_DeviceTask.prototype.run__Lorg_scalajs_benchmark_richards_Packet__Lorg_scalajs_benchmark_richards_TaskControlBlock = (function(packet) {
if ((packet === null)) {
- if ((this.v1__Lorg_scalajs_benchmark_richards_Packet() === null)) {
+ if ((this.v1$2 === null)) {
return this.scheduler$2.suspendCurrent__Lorg_scalajs_benchmark_richards_TaskControlBlock()
} else {
- var v = this.v1__Lorg_scalajs_benchmark_richards_Packet();
- this.v1$und$eq__Lorg_scalajs_benchmark_richards_Packet__V(null);
+ var v = this.v1$2;
+ this.v1$2 = null;
return this.scheduler$2.queue__Lorg_scalajs_benchmark_richards_Packet__Lorg_scalajs_benchmark_richards_TaskControlBlock(v)
}
} else {
- this.v1$und$eq__Lorg_scalajs_benchmark_richards_Packet__V(packet);
+ this.v1$2 = packet;
return this.scheduler$2.holdCurrent__Lorg_scalajs_benchmark_richards_TaskControlBlock()
}
});
-$c_Lorg_scalajs_benchmark_richards_DeviceTask.prototype.init___Lorg_scalajs_benchmark_richards_Scheduler = (function(scheduler) {
- this.scheduler$2 = scheduler;
- $c_Lorg_scalajs_benchmark_richards_Task.prototype.init___Lorg_scalajs_benchmark_richards_Scheduler.call(this, scheduler);
- this.v1$2 = null;
- return this
-});
var $d_Lorg_scalajs_benchmark_richards_DeviceTask = new $TypeData().initClass({
Lorg_scalajs_benchmark_richards_DeviceTask: 0
}, false, "org.scalajs.benchmark.richards.DeviceTask", {
@@ -4989,51 +2977,38 @@ function $h_Lorg_scalajs_benchmark_richards_HandlerTask() {
/*<skip>*/
}
$h_Lorg_scalajs_benchmark_richards_HandlerTask.prototype = $c_Lorg_scalajs_benchmark_richards_HandlerTask.prototype;
-$c_Lorg_scalajs_benchmark_richards_HandlerTask.prototype.v1__Lorg_scalajs_benchmark_richards_Packet = (function() {
- return this.v1$2
-});
-$c_Lorg_scalajs_benchmark_richards_HandlerTask.prototype.v1$und$eq__Lorg_scalajs_benchmark_richards_Packet__V = (function(x$1) {
- this.v1$2 = x$1
-});
-$c_Lorg_scalajs_benchmark_richards_HandlerTask.prototype.v2__Lorg_scalajs_benchmark_richards_Packet = (function() {
- return this.v2$2
-});
-$c_Lorg_scalajs_benchmark_richards_HandlerTask.prototype.v2$und$eq__Lorg_scalajs_benchmark_richards_Packet__V = (function(x$1) {
- this.v2$2 = x$1
+$c_Lorg_scalajs_benchmark_richards_HandlerTask.prototype.init___Lorg_scalajs_benchmark_richards_Scheduler = (function(scheduler) {
+ this.scheduler$2 = scheduler;
+ this.v1$2 = null;
+ this.v2$2 = null;
+ return this
});
$c_Lorg_scalajs_benchmark_richards_HandlerTask.prototype.run__Lorg_scalajs_benchmark_richards_Packet__Lorg_scalajs_benchmark_richards_TaskControlBlock = (function(packet) {
if ((packet !== null)) {
- if ((packet.kind__I() === 1)) {
- this.v1$und$eq__Lorg_scalajs_benchmark_richards_Packet__V(packet.addTo__Lorg_scalajs_benchmark_richards_Packet__Lorg_scalajs_benchmark_richards_Packet(this.v1__Lorg_scalajs_benchmark_richards_Packet()))
+ if ((packet.kind$1 === 1)) {
+ this.v1$2 = packet.addTo__Lorg_scalajs_benchmark_richards_Packet__Lorg_scalajs_benchmark_richards_Packet(this.v1$2)
} else {
- this.v2$und$eq__Lorg_scalajs_benchmark_richards_Packet__V(packet.addTo__Lorg_scalajs_benchmark_richards_Packet__Lorg_scalajs_benchmark_richards_Packet(this.v2__Lorg_scalajs_benchmark_richards_Packet()))
+ this.v2$2 = packet.addTo__Lorg_scalajs_benchmark_richards_Packet__Lorg_scalajs_benchmark_richards_Packet(this.v2$2)
}
};
- if ((this.v1__Lorg_scalajs_benchmark_richards_Packet() !== null)) {
- var count = this.v1__Lorg_scalajs_benchmark_richards_Packet().a1__I();
+ if ((this.v1$2 !== null)) {
+ var count = this.v1$2.a1$1;
if ((count < 4)) {
- if ((this.v2__Lorg_scalajs_benchmark_richards_Packet() !== null)) {
- var v = this.v2__Lorg_scalajs_benchmark_richards_Packet();
- this.v2$und$eq__Lorg_scalajs_benchmark_richards_Packet__V(this.v2__Lorg_scalajs_benchmark_richards_Packet().link__Lorg_scalajs_benchmark_richards_Packet());
- v.a1$und$eq__I__V(this.v1__Lorg_scalajs_benchmark_richards_Packet().a2__AI().u[count]);
- this.v1__Lorg_scalajs_benchmark_richards_Packet().a1$und$eq__I__V(((count + 1) | 0));
+ if ((this.v2$2 !== null)) {
+ var v = this.v2$2;
+ this.v2$2 = this.v2$2.link$1;
+ v.a1$1 = this.v1$2.a2$1.u[count];
+ this.v1$2.a1$1 = ((1 + count) | 0);
return this.scheduler$2.queue__Lorg_scalajs_benchmark_richards_Packet__Lorg_scalajs_benchmark_richards_TaskControlBlock(v)
}
} else {
- var v$2 = this.v1__Lorg_scalajs_benchmark_richards_Packet();
- this.v1$und$eq__Lorg_scalajs_benchmark_richards_Packet__V(this.v1__Lorg_scalajs_benchmark_richards_Packet().link__Lorg_scalajs_benchmark_richards_Packet());
+ var v$2 = this.v1$2;
+ this.v1$2 = this.v1$2.link$1;
return this.scheduler$2.queue__Lorg_scalajs_benchmark_richards_Packet__Lorg_scalajs_benchmark_richards_TaskControlBlock(v$2)
}
};
return this.scheduler$2.suspendCurrent__Lorg_scalajs_benchmark_richards_TaskControlBlock()
});
-$c_Lorg_scalajs_benchmark_richards_HandlerTask.prototype.init___Lorg_scalajs_benchmark_richards_Scheduler = (function(scheduler) {
- this.scheduler$2 = scheduler;
- $c_Lorg_scalajs_benchmark_richards_Task.prototype.init___Lorg_scalajs_benchmark_richards_Scheduler.call(this, scheduler);
- this.v1$2 = null;
- this.v2$2 = null;
- return this
-});
var $d_Lorg_scalajs_benchmark_richards_HandlerTask = new $TypeData().initClass({
Lorg_scalajs_benchmark_richards_HandlerTask: 0
}, false, "org.scalajs.benchmark.richards.HandlerTask", {
@@ -5056,27 +3031,22 @@ function $h_Lorg_scalajs_benchmark_richards_IdleTask() {
/*<skip>*/
}
$h_Lorg_scalajs_benchmark_richards_IdleTask.prototype = $c_Lorg_scalajs_benchmark_richards_IdleTask.prototype;
-$c_Lorg_scalajs_benchmark_richards_IdleTask.prototype.v1__I = (function() {
- return this.v1$2
-});
-$c_Lorg_scalajs_benchmark_richards_IdleTask.prototype.v1$und$eq__I__V = (function(x$1) {
- this.v1$2 = x$1
-});
-$c_Lorg_scalajs_benchmark_richards_IdleTask.prototype.count__I = (function() {
- return this.count$2
-});
-$c_Lorg_scalajs_benchmark_richards_IdleTask.prototype.count$und$eq__I__V = (function(x$1) {
- this.count$2 = x$1
-});
$c_Lorg_scalajs_benchmark_richards_IdleTask.prototype.run__Lorg_scalajs_benchmark_richards_Packet__Lorg_scalajs_benchmark_richards_TaskControlBlock = (function(packet) {
- this.count$und$eq__I__V(((this.count__I() - 1) | 0));
- return ((this.count__I() === 0) ? this.scheduler$2.holdCurrent__Lorg_scalajs_benchmark_richards_TaskControlBlock() : (((this.v1__I() & 1) === 0) ? (this.v1$und$eq__I__V((this.v1__I() >> 1)), this.scheduler$2.release__I__Lorg_scalajs_benchmark_richards_TaskControlBlock(4)) : (this.v1$und$eq__I__V(((this.v1__I() >> 1) ^ 53256)), this.scheduler$2.release__I__Lorg_scalajs_benchmark_richards_TaskControlBlock(5))))
+ this.count$2 = (((-1) + this.count$2) | 0);
+ if ((this.count$2 === 0)) {
+ return this.scheduler$2.holdCurrent__Lorg_scalajs_benchmark_richards_TaskControlBlock()
+ } else if (((1 & this.v1$2) === 0)) {
+ this.v1$2 = (this.v1$2 >> 1);
+ return this.scheduler$2.release__I__Lorg_scalajs_benchmark_richards_TaskControlBlock(4)
+ } else {
+ this.v1$2 = (53256 ^ (this.v1$2 >> 1));
+ return this.scheduler$2.release__I__Lorg_scalajs_benchmark_richards_TaskControlBlock(5)
+ }
});
$c_Lorg_scalajs_benchmark_richards_IdleTask.prototype.init___Lorg_scalajs_benchmark_richards_Scheduler__I__I = (function(scheduler, v1, count) {
this.scheduler$2 = scheduler;
this.v1$2 = v1;
this.count$2 = count;
- $c_Lorg_scalajs_benchmark_richards_Task.prototype.init___Lorg_scalajs_benchmark_richards_Scheduler.call(this, scheduler);
return this
});
var $d_Lorg_scalajs_benchmark_richards_IdleTask = new $TypeData().initClass({
@@ -5101,35 +3071,36 @@ function $h_Lorg_scalajs_benchmark_richards_WorkerTask() {
/*<skip>*/
}
$h_Lorg_scalajs_benchmark_richards_WorkerTask.prototype = $c_Lorg_scalajs_benchmark_richards_WorkerTask.prototype;
-$c_Lorg_scalajs_benchmark_richards_WorkerTask.prototype.v1__I = (function() {
- return this.v1$2
-});
-$c_Lorg_scalajs_benchmark_richards_WorkerTask.prototype.v1$und$eq__I__V = (function(x$1) {
- this.v1$2 = x$1
-});
-$c_Lorg_scalajs_benchmark_richards_WorkerTask.prototype.v2__I = (function() {
- return this.v2$2
-});
-$c_Lorg_scalajs_benchmark_richards_WorkerTask.prototype.v2$und$eq__I__V = (function(x$1) {
- this.v2$2 = x$1
-});
$c_Lorg_scalajs_benchmark_richards_WorkerTask.prototype.run__Lorg_scalajs_benchmark_richards_Packet__Lorg_scalajs_benchmark_richards_TaskControlBlock = (function(packet) {
- return ((packet === null) ? this.scheduler$2.suspendCurrent__Lorg_scalajs_benchmark_richards_TaskControlBlock() : (((this.v1__I() === 2) ? this.v1$und$eq__I__V(3) : this.v1$und$eq__I__V(2)), packet.id$und$eq__I__V(this.v1__I()), packet.a1$und$eq__I__V(0), $m_sr_RichInt$().until$extension0__I__I__sci_Range($m_s_Predef$().intWrapper__I__I(0), 4).foreach$mVc$sp__F1__V(new $c_sjsr_AnonFunction1().init___sjs_js_Function1((function(arg$outer, packet$1) {
- return (function(i$2) {
- var i = (i$2 | 0);
- arg$outer.v2$und$eq__I__V(((arg$outer.v2__I() + 1) | 0));
- if ((arg$outer.v2__I() > 26)) {
- arg$outer.v2$und$eq__I__V(1)
+ if ((packet === null)) {
+ return this.scheduler$2.suspendCurrent__Lorg_scalajs_benchmark_richards_TaskControlBlock()
+ } else {
+ if ((this.v1$2 === 2)) {
+ this.v1$2 = 3
+ } else {
+ this.v1$2 = 2
+ };
+ packet.id$1 = this.v1$2;
+ packet.a1$1 = 0;
+ var i = 0;
+ var count = 0;
+ while ((i !== 4)) {
+ var v1 = i;
+ this.v2$2 = ((1 + this.v2$2) | 0);
+ if ((this.v2$2 > 26)) {
+ this.v2$2 = 1
};
- packet$1.a2__AI().u[i] = arg$outer.v2__I()
- })
- })(this, packet))), this.scheduler$2.queue__Lorg_scalajs_benchmark_richards_Packet__Lorg_scalajs_benchmark_richards_TaskControlBlock(packet)))
+ packet.a2$1.u[v1] = this.v2$2;
+ count = ((1 + count) | 0);
+ i = ((1 + i) | 0)
+ };
+ return this.scheduler$2.queue__Lorg_scalajs_benchmark_richards_Packet__Lorg_scalajs_benchmark_richards_TaskControlBlock(packet)
+ }
});
$c_Lorg_scalajs_benchmark_richards_WorkerTask.prototype.init___Lorg_scalajs_benchmark_richards_Scheduler__I__I = (function(scheduler, v1, v2) {
this.scheduler$2 = scheduler;
this.v1$2 = v1;
this.v2$2 = v2;
- $c_Lorg_scalajs_benchmark_richards_Task.prototype.init___Lorg_scalajs_benchmark_richards_Scheduler.call(this, scheduler);
return this
});
var $d_Lorg_scalajs_benchmark_richards_WorkerTask = new $TypeData().initClass({
@@ -5140,9 +3111,6 @@ var $d_Lorg_scalajs_benchmark_richards_WorkerTask = new $TypeData().initClass({
O: 1
});
$c_Lorg_scalajs_benchmark_richards_WorkerTask.prototype.$classData = $d_Lorg_scalajs_benchmark_richards_WorkerTask;
-function $isArrayOf_jl_Boolean(obj, depth) {
- return (!(!(((obj && obj.$classData) && (obj.$classData.arrayDepth === depth)) && obj.$classData.arrayBase.ancestors.jl_Boolean)))
-}
var $d_jl_Boolean = new $TypeData().initClass({
jl_Boolean: 0
}, false, "java.lang.Boolean", {
@@ -5164,26 +3132,26 @@ function $h_jl_Character() {
/*<skip>*/
}
$h_jl_Character.prototype = $c_jl_Character.prototype;
-$c_jl_Character.prototype.value__p1__C = (function() {
- return this.value$1
-});
-$c_jl_Character.prototype.charValue__C = (function() {
- return this.value__p1__C()
-});
$c_jl_Character.prototype.equals__O__Z = (function(that) {
- return ($is_jl_Character(that) && (this.value__p1__C() === that.charValue__C()))
+ if ($is_jl_Character(that)) {
+ var jsx$1 = this.value$1;
+ var this$1 = that;
+ return (jsx$1 === this$1.value$1)
+ } else {
+ return false
+ }
});
$c_jl_Character.prototype.toString__T = (function() {
- return $m_jl_Character$().toString__C__T(this.value__p1__C())
-});
-$c_jl_Character.prototype.hashCode__I = (function() {
- return this.value__p1__C()
+ var c = this.value$1;
+ return $g["String"]["fromCharCode"](c)
});
$c_jl_Character.prototype.init___C = (function(value) {
this.value$1 = value;
- $c_O.prototype.init___.call(this);
return this
});
+$c_jl_Character.prototype.hashCode__I = (function() {
+ return this.value$1
+});
function $is_jl_Character(obj) {
return (!(!((obj && obj.$classData) && obj.$classData.ancestors.jl_Character)))
}
@@ -5209,10 +3177,6 @@ function $h_jl_InheritableThreadLocal() {
/*<skip>*/
}
$h_jl_InheritableThreadLocal.prototype = $c_jl_InheritableThreadLocal.prototype;
-$c_jl_InheritableThreadLocal.prototype.init___ = (function() {
- $c_jl_ThreadLocal.prototype.init___.call(this);
- return this
-});
/** @constructor */
function $c_jl_Throwable() {
$c_O.call(this);
@@ -5227,13 +3191,31 @@ function $h_jl_Throwable() {
/*<skip>*/
}
$h_jl_Throwable.prototype = $c_jl_Throwable.prototype;
-$c_jl_Throwable.prototype.getMessage__T = (function() {
- return this.s$1
-});
$c_jl_Throwable.prototype.fillInStackTrace__jl_Throwable = (function() {
- $m_sjsr_StackTrace$().captureState__jl_Throwable__V(this);
+ try {
+ var e$1 = {}["undef"]()
+ } catch (e) {
+ var e$2 = $m_sjsr_package$().wrapJavaScriptException__O__jl_Throwable(e);
+ if ((e$2 !== null)) {
+ if ($is_sjs_js_JavaScriptException(e$2)) {
+ var x5 = e$2;
+ var e$3 = x5.exception$4;
+ var e$1 = e$3
+ } else {
+ var e$1;
+ throw $m_sjsr_package$().unwrapJavaScriptException__jl_Throwable__O(e$2)
+ }
+ } else {
+ var e$1;
+ throw e
+ }
+ };
+ this["stackdata"] = e$1;
return this
});
+$c_jl_Throwable.prototype.getMessage__T = (function() {
+ return this.s$1
+});
$c_jl_Throwable.prototype.toString__T = (function() {
var className = $objectGetClass(this).getName__T();
var message = this.getMessage__T();
@@ -5242,14 +3224,9 @@ $c_jl_Throwable.prototype.toString__T = (function() {
$c_jl_Throwable.prototype.init___T__jl_Throwable = (function(s, e) {
this.s$1 = s;
this.e$1 = e;
- $c_O.prototype.init___.call(this);
this.fillInStackTrace__jl_Throwable();
return this
});
-$c_jl_Throwable.prototype.init___ = (function() {
- $c_jl_Throwable.prototype.init___T__jl_Throwable.call(this, null, null);
- return this
-});
function $is_jl_Throwable(obj) {
return (!(!((obj && obj.$classData) && obj.$classData.ancestors.jl_Throwable)))
}
@@ -5268,7 +3245,6 @@ function $h_s_Predef$$anon$3() {
}
$h_s_Predef$$anon$3.prototype = $c_s_Predef$$anon$3.prototype;
$c_s_Predef$$anon$3.prototype.init___ = (function() {
- $c_O.prototype.init___.call(this);
return this
});
var $d_s_Predef$$anon$3 = new $TypeData().initClass({
@@ -5296,13 +3272,12 @@ function $h_s_package$$anon$1() {
/*<skip>*/
}
$h_s_package$$anon$1.prototype = $c_s_package$$anon$1.prototype;
-$c_s_package$$anon$1.prototype.toString__T = (function() {
- return "object AnyRef"
-});
$c_s_package$$anon$1.prototype.init___ = (function() {
- $c_O.prototype.init___.call(this);
return this
});
+$c_s_package$$anon$1.prototype.toString__T = (function() {
+ return "object AnyRef"
+});
var $d_s_package$$anon$1 = new $TypeData().initClass({
s_package$$anon$1: 0
}, false, "scala.package$$anon$1", {
@@ -5330,29 +3305,21 @@ function $h_s_util_hashing_MurmurHash3$() {
/*<skip>*/
}
$h_s_util_hashing_MurmurHash3$.prototype = $c_s_util_hashing_MurmurHash3$.prototype;
-$c_s_util_hashing_MurmurHash3$.prototype.seqSeed__I = (function() {
- return this.seqSeed$2
-});
-$c_s_util_hashing_MurmurHash3$.prototype.productHash__s_Product__I = (function(x) {
- return this.productHash__s_Product__I__I(x, (-889275714))
-});
-$c_s_util_hashing_MurmurHash3$.prototype.seqHash__sc_Seq__I = (function(xs) {
- var x1 = xs;
- if ($is_sci_List(x1)) {
- var x2 = x1;
- return this.listHash__sci_List__I__I(x2, this.seqSeed__I())
- } else {
- return this.orderedHash__sc_TraversableOnce__I__I(x1, this.seqSeed__I())
- }
-});
$c_s_util_hashing_MurmurHash3$.prototype.init___ = (function() {
- $c_s_util_hashing_MurmurHash3.prototype.init___.call(this);
$n_s_util_hashing_MurmurHash3$ = this;
- this.seqSeed$2 = $objectHashCode("Seq");
- this.mapSeed$2 = $objectHashCode("Map");
- this.setSeed$2 = $objectHashCode("Set");
+ this.seqSeed$2 = $m_sjsr_RuntimeString$().hashCode__T__I("Seq");
+ this.mapSeed$2 = $m_sjsr_RuntimeString$().hashCode__T__I("Map");
+ this.setSeed$2 = $m_sjsr_RuntimeString$().hashCode__T__I("Set");
return this
});
+$c_s_util_hashing_MurmurHash3$.prototype.seqHash__sc_Seq__I = (function(xs) {
+ if ($is_sci_List(xs)) {
+ var x2 = xs;
+ return this.listHash__sci_List__I__I(x2, this.seqSeed$2)
+ } else {
+ return this.orderedHash__sc_TraversableOnce__I__I(xs, this.seqSeed$2)
+ }
+});
var $d_s_util_hashing_MurmurHash3$ = new $TypeData().initClass({
s_util_hashing_MurmurHash3$: 0
}, false, "scala.util.hashing.MurmurHash3$", {
@@ -5379,10 +3346,6 @@ function $h_scg_GenSetFactory() {
/*<skip>*/
}
$h_scg_GenSetFactory.prototype = $c_scg_GenSetFactory.prototype;
-$c_scg_GenSetFactory.prototype.init___ = (function() {
- $c_scg_GenericCompanion.prototype.init___.call(this);
- return this
-});
/** @constructor */
function $c_scg_GenTraversableFactory() {
$c_scg_GenericCompanion.call(this);
@@ -5396,7 +3359,6 @@ function $h_scg_GenTraversableFactory() {
}
$h_scg_GenTraversableFactory.prototype = $c_scg_GenTraversableFactory.prototype;
$c_scg_GenTraversableFactory.prototype.init___ = (function() {
- $c_scg_GenericCompanion.prototype.init___.call(this);
this.ReusableCBFInstance$2 = new $c_scg_GenTraversableFactory$$anon$1().init___scg_GenTraversableFactory(this);
return this
});
@@ -5418,7 +3380,6 @@ $c_scg_GenTraversableFactory$GenericCanBuildFrom.prototype.init___scg_GenTravers
} else {
this.$$outer$f = $$outer
};
- $c_O.prototype.init___.call(this);
return this
});
/** @constructor */
@@ -5432,10 +3393,6 @@ function $h_scg_MapFactory() {
/*<skip>*/
}
$h_scg_MapFactory.prototype = $c_scg_MapFactory.prototype;
-$c_scg_MapFactory.prototype.init___ = (function() {
- $c_scg_GenMapFactory.prototype.init___.call(this);
- return this
-});
/** @constructor */
function $c_sci_List$$anon$1() {
$c_O.call(this)
@@ -5447,19 +3404,14 @@ function $h_sci_List$$anon$1() {
/*<skip>*/
}
$h_sci_List$$anon$1.prototype = $c_sci_List$$anon$1.prototype;
-$c_sci_List$$anon$1.prototype.apply$mcVI$sp__I__V = (function(v1) {
- $s_s_Function1$class__apply$mcVI$sp__F1__I__V(this, v1)
-});
-$c_sci_List$$anon$1.prototype.toString__T = (function() {
- return $s_s_Function1$class__toString__F1__T(this)
+$c_sci_List$$anon$1.prototype.init___ = (function() {
+ return this
});
$c_sci_List$$anon$1.prototype.apply__O__O = (function(x) {
return this
});
-$c_sci_List$$anon$1.prototype.init___ = (function() {
- $c_O.prototype.init___.call(this);
- $s_s_Function1$class__$$init$__F1__V(this);
- return this
+$c_sci_List$$anon$1.prototype.toString__T = (function() {
+ return "<function1>"
});
var $d_sci_List$$anon$1 = new $TypeData().initClass({
sci_List$$anon$1: 0
@@ -5470,96 +3422,6 @@ var $d_sci_List$$anon$1 = new $TypeData().initClass({
});
$c_sci_List$$anon$1.prototype.$classData = $d_sci_List$$anon$1;
/** @constructor */
-function $c_sjs_js_$bar$EvidenceLowPrioImplicits() {
- $c_sjs_js_$bar$EvidenceLowestPrioImplicits.call(this)
-}
-$c_sjs_js_$bar$EvidenceLowPrioImplicits.prototype = new $h_sjs_js_$bar$EvidenceLowestPrioImplicits();
-$c_sjs_js_$bar$EvidenceLowPrioImplicits.prototype["constructor"] = $c_sjs_js_$bar$EvidenceLowPrioImplicits;
-/** @constructor */
-function $h_sjs_js_$bar$EvidenceLowPrioImplicits() {
- /*<skip>*/
-}
-$h_sjs_js_$bar$EvidenceLowPrioImplicits.prototype = $c_sjs_js_$bar$EvidenceLowPrioImplicits.prototype;
-$c_sjs_js_$bar$EvidenceLowPrioImplicits.prototype.left__sjs_js_$bar$Evidence__sjs_js_$bar$Evidence = (function(ev) {
- return $m_sjs_js_$bar$ReusableEvidence$()
-});
-$c_sjs_js_$bar$EvidenceLowPrioImplicits.prototype.init___ = (function() {
- $c_sjs_js_$bar$EvidenceLowestPrioImplicits.prototype.init___.call(this);
- return this
-});
-/** @constructor */
-function $c_sjs_js_$bar$ReusableEvidence$() {
- $c_O.call(this)
-}
-$c_sjs_js_$bar$ReusableEvidence$.prototype = new $h_O();
-$c_sjs_js_$bar$ReusableEvidence$.prototype["constructor"] = $c_sjs_js_$bar$ReusableEvidence$;
-/** @constructor */
-function $h_sjs_js_$bar$ReusableEvidence$() {
- /*<skip>*/
-}
-$h_sjs_js_$bar$ReusableEvidence$.prototype = $c_sjs_js_$bar$ReusableEvidence$.prototype;
-$c_sjs_js_$bar$ReusableEvidence$.prototype.init___ = (function() {
- $c_O.prototype.init___.call(this);
- $n_sjs_js_$bar$ReusableEvidence$ = this;
- return this
-});
-var $d_sjs_js_$bar$ReusableEvidence$ = new $TypeData().initClass({
- sjs_js_$bar$ReusableEvidence$: 0
-}, false, "scala.scalajs.js.$bar$ReusableEvidence$", {
- sjs_js_$bar$ReusableEvidence$: 1,
- O: 1,
- sjs_js_$bar$Evidence: 1
-});
-$c_sjs_js_$bar$ReusableEvidence$.prototype.$classData = $d_sjs_js_$bar$ReusableEvidence$;
-var $n_sjs_js_$bar$ReusableEvidence$ = (void 0);
-function $m_sjs_js_$bar$ReusableEvidence$() {
- if ((!$n_sjs_js_$bar$ReusableEvidence$)) {
- $n_sjs_js_$bar$ReusableEvidence$ = new $c_sjs_js_$bar$ReusableEvidence$().init___()
- };
- return $n_sjs_js_$bar$ReusableEvidence$
-}
-/** @constructor */
-function $c_sjs_js_Any$() {
- $c_O.call(this)
-}
-$c_sjs_js_Any$.prototype = new $h_O();
-$c_sjs_js_Any$.prototype["constructor"] = $c_sjs_js_Any$;
-/** @constructor */
-function $h_sjs_js_Any$() {
- /*<skip>*/
-}
-$h_sjs_js_Any$.prototype = $c_sjs_js_Any$.prototype;
-$c_sjs_js_Any$.prototype.fromInt__I__sjs_js_Any = (function(value) {
- return value
-});
-$c_sjs_js_Any$.prototype.fromString__T__sjs_js_Any = (function(s) {
- return s
-});
-$c_sjs_js_Any$.prototype.jsArrayOps__sjs_js_Array__sjs_js_ArrayOps = (function(array) {
- return new $c_sjs_js_ArrayOps().init___sjs_js_Array(array)
-});
-$c_sjs_js_Any$.prototype.init___ = (function() {
- $c_O.prototype.init___.call(this);
- $n_sjs_js_Any$ = this;
- $s_sjs_js_LowPrioAnyImplicits$class__$$init$__sjs_js_LowPrioAnyImplicits__V(this);
- return this
-});
-var $d_sjs_js_Any$ = new $TypeData().initClass({
- sjs_js_Any$: 0
-}, false, "scala.scalajs.js.Any$", {
- sjs_js_Any$: 1,
- O: 1,
- sjs_js_LowPrioAnyImplicits: 1
-});
-$c_sjs_js_Any$.prototype.$classData = $d_sjs_js_Any$;
-var $n_sjs_js_Any$ = (void 0);
-function $m_sjs_js_Any$() {
- if ((!$n_sjs_js_Any$)) {
- $n_sjs_js_Any$ = new $c_sjs_js_Any$().init___()
- };
- return $n_sjs_js_Any$
-}
-/** @constructor */
function $c_sr_AbstractFunction1() {
$c_O.call(this)
}
@@ -5570,16 +3432,8 @@ function $h_sr_AbstractFunction1() {
/*<skip>*/
}
$h_sr_AbstractFunction1.prototype = $c_sr_AbstractFunction1.prototype;
-$c_sr_AbstractFunction1.prototype.apply$mcVI$sp__I__V = (function(v1) {
- $s_s_Function1$class__apply$mcVI$sp__F1__I__V(this, v1)
-});
$c_sr_AbstractFunction1.prototype.toString__T = (function() {
- return $s_s_Function1$class__toString__F1__T(this)
-});
-$c_sr_AbstractFunction1.prototype.init___ = (function() {
- $c_O.prototype.init___.call(this);
- $s_s_Function1$class__$$init$__F1__V(this);
- return this
+ return "<function1>"
});
/** @constructor */
function $c_sr_BooleanRef() {
@@ -5593,15 +3447,12 @@ function $h_sr_BooleanRef() {
/*<skip>*/
}
$h_sr_BooleanRef.prototype = $c_sr_BooleanRef.prototype;
-$c_sr_BooleanRef.prototype.elem__Z = (function() {
- return this.elem$1
-});
$c_sr_BooleanRef.prototype.toString__T = (function() {
- return $m_sjsr_RuntimeString$().valueOf__Z__T(this.elem__Z())
+ var value = this.elem$1;
+ return ("" + value)
});
$c_sr_BooleanRef.prototype.init___Z = (function(elem) {
this.elem$1 = elem;
- $c_O.prototype.init___.call(this);
return this
});
var $d_sr_BooleanRef = new $TypeData().initClass({
@@ -5624,15 +3475,12 @@ function $h_sr_IntRef() {
/*<skip>*/
}
$h_sr_IntRef.prototype = $c_sr_IntRef.prototype;
-$c_sr_IntRef.prototype.elem__I = (function() {
- return this.elem$1
-});
$c_sr_IntRef.prototype.toString__T = (function() {
- return $m_sjsr_RuntimeString$().valueOf__I__T(this.elem__I())
+ var value = this.elem$1;
+ return ("" + value)
});
$c_sr_IntRef.prototype.init___I = (function(elem) {
this.elem$1 = elem;
- $c_O.prototype.init___.call(this);
return this
});
var $d_sr_IntRef = new $TypeData().initClass({
@@ -5654,10 +3502,6 @@ function $h_Ljava_io_OutputStream() {
/*<skip>*/
}
$h_Ljava_io_OutputStream.prototype = $c_Ljava_io_OutputStream.prototype;
-$c_Ljava_io_OutputStream.prototype.init___ = (function() {
- $c_O.prototype.init___.call(this);
- return this
-});
/** @constructor */
function $c_Lorg_scalajs_benchmark_richards_Richards$() {
$c_Lorg_scalajs_benchmark_Benchmark.call(this);
@@ -5682,8 +3526,8 @@ function $h_Lorg_scalajs_benchmark_richards_Richards$() {
/*<skip>*/
}
$h_Lorg_scalajs_benchmark_richards_Richards$.prototype = $c_Lorg_scalajs_benchmark_richards_Richards$.prototype;
-$c_Lorg_scalajs_benchmark_richards_Richards$.prototype.prefix__T = (function() {
- return "Richards"
+$c_Lorg_scalajs_benchmark_richards_Richards$.prototype.init___ = (function() {
+ return this
});
$c_Lorg_scalajs_benchmark_richards_Richards$.prototype.run__V = (function() {
var scheduler = new $c_Lorg_scalajs_benchmark_richards_Scheduler().init___();
@@ -5702,21 +3546,17 @@ $c_Lorg_scalajs_benchmark_richards_Richards$.prototype.run__V = (function() {
scheduler.addDeviceTask__I__I__Lorg_scalajs_benchmark_richards_Packet__V(4, 4000, null);
scheduler.addDeviceTask__I__I__Lorg_scalajs_benchmark_richards_Packet__V(5, 5000, null);
scheduler.schedule__V();
- if (((scheduler.queueCount__I() !== 2322) || (scheduler.holdCount__I() !== 928))) {
- $m_s_Predef$().print__O__V(new $c_s_StringContext().init___sc_Seq(new $c_sjs_js_WrappedArray().init___sjs_js_Array(["Error during execution: queueCount = ", ", holdCount = ", "."])).s__sc_Seq__T(new $c_sjs_js_WrappedArray().init___sjs_js_Array([scheduler.queueCount__I(), scheduler.holdCount__I()])))
+ if (((scheduler.queueCount$1 !== 2322) || (scheduler.holdCount$1 !== 928))) {
+ var x = new $c_s_StringContext().init___sc_Seq(new $c_sjs_js_WrappedArray().init___sjs_js_Array(["Error during execution: queueCount = ", ", holdCount = ", "."])).s__sc_Seq__T(new $c_sjs_js_WrappedArray().init___sjs_js_Array([scheduler.queueCount$1, scheduler.holdCount$1]));
+ $m_s_Console$().print__O__V(x)
};
- if ((2322 !== scheduler.queueCount__I())) {
+ if ((scheduler.queueCount$1 !== 2322)) {
throw $m_sjsr_package$().unwrapJavaScriptException__jl_Throwable__O(new $c_jl_Exception().init___T("bad scheduler queue-count"))
};
- if ((928 !== scheduler.holdCount__I())) {
+ if ((scheduler.holdCount$1 !== 928)) {
throw $m_sjsr_package$().unwrapJavaScriptException__jl_Throwable__O(new $c_jl_Exception().init___T("bad scheduler hold-count"))
}
});
-$c_Lorg_scalajs_benchmark_richards_Richards$.prototype.init___ = (function() {
- $c_Lorg_scalajs_benchmark_Benchmark.prototype.init___.call(this);
- $n_Lorg_scalajs_benchmark_richards_Richards$ = this;
- return this
-});
var $d_Lorg_scalajs_benchmark_richards_Richards$ = new $TypeData().initClass({
Lorg_scalajs_benchmark_richards_Richards$: 0
}, false, "org.scalajs.benchmark.richards.Richards$", {
@@ -5772,12 +3612,8 @@ function $h_jl_Exception() {
/*<skip>*/
}
$h_jl_Exception.prototype = $c_jl_Exception.prototype;
-$c_jl_Exception.prototype.init___T__jl_Throwable = (function(s, e) {
- $c_jl_Throwable.prototype.init___T__jl_Throwable.call(this, s, e);
- return this
-});
$c_jl_Exception.prototype.init___T = (function(s) {
- $c_jl_Exception.prototype.init___T__jl_Throwable.call(this, s, null);
+ $c_jl_Throwable.prototype.init___T__jl_Throwable.call(this, s, null);
return this
});
var $d_jl_Exception = new $TypeData().initClass({
@@ -5849,27 +3685,17 @@ function $h_s_Console$() {
/*<skip>*/
}
$h_s_Console$.prototype = $c_s_Console$.prototype;
-$c_s_Console$.prototype.outVar__p2__s_util_DynamicVariable = (function() {
- return this.outVar$2
-});
-$c_s_Console$.prototype.out__Ljava_io_PrintStream = (function() {
- return this.outVar__p2__s_util_DynamicVariable().value__O()
-});
-$c_s_Console$.prototype.print__O__V = (function(obj) {
- this.out__Ljava_io_PrintStream().print__T__V(((null === obj) ? "null" : $objectToString(obj)))
-});
-$c_s_Console$.prototype.println__O__V = (function(x) {
- this.out__Ljava_io_PrintStream().println__O__V(x)
-});
$c_s_Console$.prototype.init___ = (function() {
- $c_s_DeprecatedConsole.prototype.init___.call(this);
$n_s_Console$ = this;
- $s_s_io_AnsiColor$class__$$init$__s_io_AnsiColor__V(this);
- this.outVar$2 = new $c_s_util_DynamicVariable().init___O($m_jl_System$().out__Ljava_io_PrintStream());
- this.errVar$2 = new $c_s_util_DynamicVariable().init___O($m_jl_System$().err__Ljava_io_PrintStream());
+ this.outVar$2 = new $c_s_util_DynamicVariable().init___O($m_jl_System$().out$1);
+ this.errVar$2 = new $c_s_util_DynamicVariable().init___O($m_jl_System$().err$1);
this.inVar$2 = new $c_s_util_DynamicVariable().init___O(null);
return this
});
+$c_s_Console$.prototype.print__O__V = (function(obj) {
+ var this$1 = this.outVar$2;
+ this$1.tl$1.get__O().print__T__V(((obj === null) ? "null" : $objectToString(obj)))
+});
var $d_s_Console$ = new $TypeData().initClass({
s_Console$: 0
}, false, "scala.Console$", {
@@ -5905,45 +3731,25 @@ function $h_s_Predef$() {
/*<skip>*/
}
$h_s_Predef$.prototype = $c_s_Predef$.prototype;
-$c_s_Predef$.prototype.require__Z__V = (function(requirement) {
- if ((!requirement)) {
- throw new $c_jl_IllegalArgumentException().init___T("requirement failed")
- }
-});
-$c_s_Predef$.prototype.augmentString__T__T = (function(x) {
- return x
-});
-$c_s_Predef$.prototype.print__O__V = (function(x) {
- $m_s_Console$().print__O__V(x)
-});
-$c_s_Predef$.prototype.println__O__V = (function(x) {
- $m_s_Console$().println__O__V(x)
-});
-$c_s_Predef$.prototype.double2Double__D__jl_Double = (function(x) {
- return $m_jl_Double$().valueOf__D__jl_Double(x)
-});
-$c_s_Predef$.prototype.boolean2Boolean__Z__jl_Boolean = (function(x) {
- return $m_jl_Boolean$().valueOf__Z__jl_Boolean(x)
-});
-$c_s_Predef$.prototype.Boolean2boolean__jl_Boolean__Z = (function(x) {
- return $booleanBooleanValue(x)
-});
$c_s_Predef$.prototype.init___ = (function() {
- $c_s_LowPriorityImplicits.prototype.init___.call(this);
$n_s_Predef$ = this;
- $s_s_DeprecatedPredef$class__$$init$__s_Predef$__V(this);
$m_s_package$();
$m_sci_List$();
this.Map$2 = $m_sci_Map$();
this.Set$2 = $m_sci_Set$();
- this.ClassManifest$2 = $m_s_reflect_package$().ClassManifest__s_reflect_ClassManifestFactory$();
- this.Manifest$2 = $m_s_reflect_package$().Manifest__s_reflect_ManifestFactory$();
+ this.ClassManifest$2 = $m_s_reflect_package$().ClassManifest$1;
+ this.Manifest$2 = $m_s_reflect_package$().Manifest$1;
this.NoManifest$2 = $m_s_reflect_NoManifest$();
this.StringCanBuildFrom$2 = new $c_s_Predef$$anon$3().init___();
this.singleton$und$less$colon$less$2 = new $c_s_Predef$$anon$1().init___();
this.scala$Predef$$singleton$und$eq$colon$eq$f = new $c_s_Predef$$anon$2().init___();
return this
});
+$c_s_Predef$.prototype.require__Z__V = (function(requirement) {
+ if ((!requirement)) {
+ throw new $c_jl_IllegalArgumentException().init___T("requirement failed")
+ }
+});
var $d_s_Predef$ = new $TypeData().initClass({
s_Predef$: 0
}, false, "scala.Predef$", {
@@ -5971,11 +3777,11 @@ function $h_s_StringContext$() {
/*<skip>*/
}
$h_s_StringContext$.prototype = $c_s_StringContext$.prototype;
-$c_s_StringContext$.prototype.treatEscapes__T__T = (function(str) {
- return this.treatEscapes0__p1__T__Z__T(str, false)
+$c_s_StringContext$.prototype.init___ = (function() {
+ return this
});
$c_s_StringContext$.prototype.treatEscapes0__p1__T__Z__T = (function(str, strict) {
- var len = $m_sjsr_RuntimeString$().length__T__I(str);
+ var len = (str["length"] | 0);
var x1 = $m_sjsr_RuntimeString$().indexOf__T__I__I(str, 92);
switch (x1) {
case (-1): {
@@ -5988,19 +3794,17 @@ $c_s_StringContext$.prototype.treatEscapes0__p1__T__Z__T = (function(str, strict
}
});
$c_s_StringContext$.prototype.loop$1__p1__I__I__T__Z__I__jl_StringBuilder__T = (function(i, next, str$1, strict$1, len$1, b$1) {
- var _$this = this;
_loop: while (true) {
if ((next >= 0)) {
if ((next > i)) {
b$1.append__jl_CharSequence__I__I__jl_StringBuilder(str$1, i, next)
- } else {
- (void 0)
};
- var idx = ((next + 1) | 0);
+ var idx = ((1 + next) | 0);
if ((idx >= len$1)) {
throw new $c_s_StringContext$InvalidEscapeException().init___T__I(str$1, next)
};
- var x1 = $m_sci_StringOps$().apply$extension__T__I__C($m_s_Predef$().augmentString__T__T(str$1), idx);
+ var index = idx;
+ var x1 = (65535 & (str$1["charCodeAt"](index) | 0));
switch (x1) {
case 98: {
var c = 8;
@@ -6035,30 +3839,59 @@ $c_s_StringContext$.prototype.loop$1__p1__I__I__T__Z__I__jl_StringBuilder__T = (
break
}
default: {
- if (((48 <= x1) && (x1 <= 55))) {
+ if (((x1 >= 48) && (x1 <= 55))) {
if (strict$1) {
throw new $c_s_StringContext$InvalidEscapeException().init___T__I(str$1, next)
};
- var leadch = $m_sci_StringOps$().apply$extension__T__I__C($m_s_Predef$().augmentString__T__T(str$1), idx);
- var oct = ((leadch - 48) | 0);
- idx = ((idx + 1) | 0);
- if ((((idx < len$1) && (48 <= $m_sci_StringOps$().apply$extension__T__I__C($m_s_Predef$().augmentString__T__T(str$1), idx))) && ($m_sci_StringOps$().apply$extension__T__I__C($m_s_Predef$().augmentString__T__T(str$1), idx) <= 55))) {
- oct = (((($imul(oct, 8) + $m_sci_StringOps$().apply$extension__T__I__C($m_s_Predef$().augmentString__T__T(str$1), idx)) | 0) - 48) | 0);
- idx = ((idx + 1) | 0);
- if (((((idx < len$1) && (leadch <= 51)) && (48 <= $m_sci_StringOps$().apply$extension__T__I__C($m_s_Predef$().augmentString__T__T(str$1), idx))) && ($m_sci_StringOps$().apply$extension__T__I__C($m_s_Predef$().augmentString__T__T(str$1), idx) <= 55))) {
- oct = (((($imul(oct, 8) + $m_sci_StringOps$().apply$extension__T__I__C($m_s_Predef$().augmentString__T__T(str$1), idx)) | 0) - 48) | 0);
- idx = ((idx + 1) | 0)
+ var index$1 = idx;
+ var leadch = (65535 & (str$1["charCodeAt"](index$1) | 0));
+ var oct = (((-48) + leadch) | 0);
+ idx = ((1 + idx) | 0);
+ if ((idx < len$1)) {
+ var index$2 = idx;
+ var jsx$2 = ((65535 & (str$1["charCodeAt"](index$2) | 0)) >= 48)
+ } else {
+ var jsx$2 = false
+ };
+ if (jsx$2) {
+ var index$3 = idx;
+ var jsx$1 = ((65535 & (str$1["charCodeAt"](index$3) | 0)) <= 55)
+ } else {
+ var jsx$1 = false
+ };
+ if (jsx$1) {
+ var jsx$3 = oct;
+ var index$4 = idx;
+ oct = (((-48) + (($imul(8, jsx$3) + (65535 & (str$1["charCodeAt"](index$4) | 0))) | 0)) | 0);
+ idx = ((1 + idx) | 0);
+ if (((idx < len$1) && (leadch <= 51))) {
+ var index$5 = idx;
+ var jsx$5 = ((65535 & (str$1["charCodeAt"](index$5) | 0)) >= 48)
+ } else {
+ var jsx$5 = false
+ };
+ if (jsx$5) {
+ var index$6 = idx;
+ var jsx$4 = ((65535 & (str$1["charCodeAt"](index$6) | 0)) <= 55)
+ } else {
+ var jsx$4 = false
+ };
+ if (jsx$4) {
+ var jsx$6 = oct;
+ var index$7 = idx;
+ oct = (((-48) + (($imul(8, jsx$6) + (65535 & (str$1["charCodeAt"](index$7) | 0))) | 0)) | 0);
+ idx = ((1 + idx) | 0)
}
};
- idx = ((idx - 1) | 0);
- var c = (oct & 65535)
+ idx = (((-1) + idx) | 0);
+ var c = (65535 & oct)
} else {
var c;
throw new $c_s_StringContext$InvalidEscapeException().init___T__I(str$1, next)
}
}
};
- idx = ((idx + 1) | 0);
+ idx = ((1 + idx) | 0);
b$1.append__C__jl_StringBuilder(c);
var temp$i = idx;
var temp$next = $m_sjsr_RuntimeString$().indexOf__T__I__I__I(str$1, 92, idx);
@@ -6068,10 +3901,8 @@ $c_s_StringContext$.prototype.loop$1__p1__I__I__T__Z__I__jl_StringBuilder__T = (
} else {
if ((i < len$1)) {
b$1.append__jl_CharSequence__I__I__jl_StringBuilder(str$1, i, len$1)
- } else {
- (void 0)
};
- return b$1.toString__T()
+ return b$1.content$1
}
}
});
@@ -6079,11 +3910,6 @@ $c_s_StringContext$.prototype.replace$1__p1__I__T__Z__I__T = (function(first, st
var b = new $c_jl_StringBuilder().init___();
return this.loop$1__p1__I__I__T__Z__I__jl_StringBuilder__T(0, first, str$1, strict$1, len$1, b)
});
-$c_s_StringContext$.prototype.init___ = (function() {
- $c_O.prototype.init___.call(this);
- $n_s_StringContext$ = this;
- return this
-});
var $d_s_StringContext$ = new $TypeData().initClass({
s_StringContext$: 0
}, false, "scala.StringContext$", {
@@ -6112,8 +3938,6 @@ function $h_s_math_Fractional$() {
}
$h_s_math_Fractional$.prototype = $c_s_math_Fractional$.prototype;
$c_s_math_Fractional$.prototype.init___ = (function() {
- $c_O.prototype.init___.call(this);
- $n_s_math_Fractional$ = this;
return this
});
var $d_s_math_Fractional$ = new $TypeData().initClass({
@@ -6144,8 +3968,6 @@ function $h_s_math_Integral$() {
}
$h_s_math_Integral$.prototype = $c_s_math_Integral$.prototype;
$c_s_math_Integral$.prototype.init___ = (function() {
- $c_O.prototype.init___.call(this);
- $n_s_math_Integral$ = this;
return this
});
var $d_s_math_Integral$ = new $TypeData().initClass({
@@ -6176,8 +3998,6 @@ function $h_s_math_Numeric$() {
}
$h_s_math_Numeric$.prototype = $c_s_math_Numeric$.prototype;
$c_s_math_Numeric$.prototype.init___ = (function() {
- $c_O.prototype.init___.call(this);
- $n_s_math_Numeric$ = this;
return this
});
var $d_s_math_Numeric$ = new $TypeData().initClass({
@@ -6208,18 +4028,18 @@ function $h_s_util_DynamicVariable$$anon$1() {
/*<skip>*/
}
$h_s_util_DynamicVariable$$anon$1.prototype = $c_s_util_DynamicVariable$$anon$1.prototype;
-$c_s_util_DynamicVariable$$anon$1.prototype.initialValue__O = (function() {
- return this.$$outer$3.scala$util$DynamicVariable$$init$f
-});
$c_s_util_DynamicVariable$$anon$1.prototype.init___s_util_DynamicVariable = (function($$outer) {
if (($$outer === null)) {
throw $m_sjsr_package$().unwrapJavaScriptException__jl_Throwable__O(null)
} else {
this.$$outer$3 = $$outer
};
- $c_jl_InheritableThreadLocal.prototype.init___.call(this);
+ $c_jl_ThreadLocal.prototype.init___.call(this);
return this
});
+$c_s_util_DynamicVariable$$anon$1.prototype.initialValue__O = (function() {
+ return this.$$outer$3.scala$util$DynamicVariable$$init$f
+});
var $d_s_util_DynamicVariable$$anon$1 = new $TypeData().initClass({
s_util_DynamicVariable$$anon$1: 0
}, false, "scala.util.DynamicVariable$$anon$1", {
@@ -6240,14 +4060,12 @@ function $h_s_util_Left$() {
/*<skip>*/
}
$h_s_util_Left$.prototype = $c_s_util_Left$.prototype;
-$c_s_util_Left$.prototype.toString__T = (function() {
- return "Left"
-});
$c_s_util_Left$.prototype.init___ = (function() {
- $c_O.prototype.init___.call(this);
- $n_s_util_Left$ = this;
return this
});
+$c_s_util_Left$.prototype.toString__T = (function() {
+ return "Left"
+});
var $d_s_util_Left$ = new $TypeData().initClass({
s_util_Left$: 0
}, false, "scala.util.Left$", {
@@ -6275,14 +4093,12 @@ function $h_s_util_Right$() {
/*<skip>*/
}
$h_s_util_Right$.prototype = $c_s_util_Right$.prototype;
-$c_s_util_Right$.prototype.toString__T = (function() {
- return "Right"
-});
$c_s_util_Right$.prototype.init___ = (function() {
- $c_O.prototype.init___.call(this);
- $n_s_util_Right$ = this;
return this
});
+$c_s_util_Right$.prototype.toString__T = (function() {
+ return "Right"
+});
var $d_s_util_Right$ = new $TypeData().initClass({
s_util_Right$: 0
}, false, "scala.util.Right$", {
@@ -6311,15 +4127,7 @@ function $h_s_util_control_NoStackTrace$() {
/*<skip>*/
}
$h_s_util_control_NoStackTrace$.prototype = $c_s_util_control_NoStackTrace$.prototype;
-$c_s_util_control_NoStackTrace$.prototype.noSuppression__Z = (function() {
- return this.$$undnoSuppression__p1__Z()
-});
-$c_s_util_control_NoStackTrace$.prototype.$$undnoSuppression__p1__Z = (function() {
- return this.$$undnoSuppression$1
-});
$c_s_util_control_NoStackTrace$.prototype.init___ = (function() {
- $c_O.prototype.init___.call(this);
- $n_s_util_control_NoStackTrace$ = this;
this.$$undnoSuppression$1 = false;
return this
});
@@ -6374,10 +4182,6 @@ function $h_scg_GenSeqFactory() {
/*<skip>*/
}
$h_scg_GenSeqFactory.prototype = $c_scg_GenSeqFactory.prototype;
-$c_scg_GenSeqFactory.prototype.init___ = (function() {
- $c_scg_GenTraversableFactory.prototype.init___.call(this);
- return this
-});
/** @constructor */
function $c_scg_GenTraversableFactory$$anon$1() {
$c_scg_GenTraversableFactory$GenericCanBuildFrom.call(this);
@@ -6419,10 +4223,6 @@ function $h_scg_ImmutableMapFactory() {
/*<skip>*/
}
$h_scg_ImmutableMapFactory.prototype = $c_scg_ImmutableMapFactory.prototype;
-$c_scg_ImmutableMapFactory.prototype.init___ = (function() {
- $c_scg_MapFactory.prototype.init___.call(this);
- return this
-});
/** @constructor */
function $c_sci_$colon$colon$() {
$c_O.call(this)
@@ -6434,14 +4234,12 @@ function $h_sci_$colon$colon$() {
/*<skip>*/
}
$h_sci_$colon$colon$.prototype = $c_sci_$colon$colon$.prototype;
-$c_sci_$colon$colon$.prototype.toString__T = (function() {
- return "::"
-});
$c_sci_$colon$colon$.prototype.init___ = (function() {
- $c_O.prototype.init___.call(this);
- $n_sci_$colon$colon$ = this;
return this
});
+$c_sci_$colon$colon$.prototype.toString__T = (function() {
+ return "::"
+});
var $d_sci_$colon$colon$ = new $TypeData().initClass({
sci_$colon$colon$: 0
}, false, "scala.collection.immutable.$colon$colon$", {
@@ -6470,24 +4268,7 @@ function $h_sci_Range$() {
/*<skip>*/
}
$h_sci_Range$.prototype = $c_sci_Range$.prototype;
-$c_sci_Range$.prototype.MAX$undPRINT__I = (function() {
- return this.MAX$undPRINT$1
-});
-$c_sci_Range$.prototype.description__p1__I__I__I__Z__T = (function(start, end, step, isInclusive) {
- return ((((("" + start) + (isInclusive ? " to " : " until ")) + end) + " by ") + step)
-});
-$c_sci_Range$.prototype.scala$collection$immutable$Range$$fail__I__I__I__Z__sr_Nothing$ = (function(start, end, step, isInclusive) {
- throw new $c_jl_IllegalArgumentException().init___T((this.description__p1__I__I__I__Z__T(start, end, step, isInclusive) + ": seqs cannot contain more than Int.MaxValue elements."))
-});
-$c_sci_Range$.prototype.apply__I__I__sci_Range = (function(start, end) {
- return new $c_sci_Range().init___I__I__I(start, end, 1)
-});
-$c_sci_Range$.prototype.inclusive__I__I__sci_Range$Inclusive = (function(start, end) {
- return new $c_sci_Range$Inclusive().init___I__I__I(start, end, 1)
-});
$c_sci_Range$.prototype.init___ = (function() {
- $c_O.prototype.init___.call(this);
- $n_sci_Range$ = this;
this.MAX$undPRINT$1 = 512;
return this
});
@@ -6519,8 +4300,6 @@ function $h_scm_StringBuilder$() {
}
$h_scm_StringBuilder$.prototype = $c_scm_StringBuilder$.prototype;
$c_scm_StringBuilder$.prototype.init___ = (function() {
- $c_O.prototype.init___.call(this);
- $n_scm_StringBuilder$ = this;
return this
});
var $d_scm_StringBuilder$ = new $TypeData().initClass({
@@ -6540,41 +4319,6 @@ function $m_scm_StringBuilder$() {
return $n_scm_StringBuilder$
}
/** @constructor */
-function $c_sjs_js_$bar$Evidence$() {
- $c_sjs_js_$bar$EvidenceLowPrioImplicits.call(this)
-}
-$c_sjs_js_$bar$Evidence$.prototype = new $h_sjs_js_$bar$EvidenceLowPrioImplicits();
-$c_sjs_js_$bar$Evidence$.prototype["constructor"] = $c_sjs_js_$bar$Evidence$;
-/** @constructor */
-function $h_sjs_js_$bar$Evidence$() {
- /*<skip>*/
-}
-$h_sjs_js_$bar$Evidence$.prototype = $c_sjs_js_$bar$Evidence$.prototype;
-$c_sjs_js_$bar$Evidence$.prototype.base__sjs_js_$bar$Evidence = (function() {
- return $m_sjs_js_$bar$ReusableEvidence$()
-});
-$c_sjs_js_$bar$Evidence$.prototype.init___ = (function() {
- $c_sjs_js_$bar$EvidenceLowPrioImplicits.prototype.init___.call(this);
- $n_sjs_js_$bar$Evidence$ = this;
- return this
-});
-var $d_sjs_js_$bar$Evidence$ = new $TypeData().initClass({
- sjs_js_$bar$Evidence$: 0
-}, false, "scala.scalajs.js.$bar$Evidence$", {
- sjs_js_$bar$Evidence$: 1,
- sjs_js_$bar$EvidenceLowPrioImplicits: 1,
- sjs_js_$bar$EvidenceLowestPrioImplicits: 1,
- O: 1
-});
-$c_sjs_js_$bar$Evidence$.prototype.$classData = $d_sjs_js_$bar$Evidence$;
-var $n_sjs_js_$bar$Evidence$ = (void 0);
-function $m_sjs_js_$bar$Evidence$() {
- if ((!$n_sjs_js_$bar$Evidence$)) {
- $n_sjs_js_$bar$Evidence$ = new $c_sjs_js_$bar$Evidence$().init___()
- };
- return $n_sjs_js_$bar$Evidence$
-}
-/** @constructor */
function $c_sjsr_AnonFunction1() {
$c_sr_AbstractFunction1.call(this);
this.f$2 = null
@@ -6591,7 +4335,6 @@ $c_sjsr_AnonFunction1.prototype.apply__O__O = (function(arg1) {
});
$c_sjsr_AnonFunction1.prototype.init___sjs_js_Function1 = (function(f) {
this.f$2 = f;
- $c_sr_AbstractFunction1.prototype.init___.call(this);
return this
});
var $d_sjsr_AnonFunction1 = new $TypeData().initClass({
@@ -6625,43 +4368,34 @@ function $h_sjsr_RuntimeLong$() {
/*<skip>*/
}
$h_sjsr_RuntimeLong$.prototype = $c_sjsr_RuntimeLong$.prototype;
+$c_sjsr_RuntimeLong$.prototype.init___ = (function() {
+ $n_sjsr_RuntimeLong$ = this;
+ this.Zero$1 = new $c_sjsr_RuntimeLong().init___I__I(0, 0);
+ this.One$1 = new $c_sjsr_RuntimeLong().init___I__I(1, 0);
+ this.MinusOne$1 = new $c_sjsr_RuntimeLong().init___I__I((-1), (-1));
+ this.MinValue$1 = new $c_sjsr_RuntimeLong().init___I__I(0, (-2147483648));
+ this.MaxValue$1 = new $c_sjsr_RuntimeLong().init___I__I((-1), 2147483647);
+ return this
+});
$c_sjsr_RuntimeLong$.prototype.Zero__sjsr_RuntimeLong = (function() {
return this.Zero$1
});
-$c_sjsr_RuntimeLong$.prototype.MinusOne__sjsr_RuntimeLong = (function() {
- return this.MinusOne$1
-});
-$c_sjsr_RuntimeLong$.prototype.MinValue__sjsr_RuntimeLong = (function() {
- return this.MinValue$1
-});
-$c_sjsr_RuntimeLong$.prototype.MaxValue__sjsr_RuntimeLong = (function() {
- return this.MaxValue$1
-});
$c_sjsr_RuntimeLong$.prototype.fromDouble__D__sjsr_RuntimeLong = (function(value) {
- if ($isNaN($m_s_Predef$().double2Double__D__jl_Double(value))) {
- return this.Zero__sjsr_RuntimeLong()
+ if ((value !== value)) {
+ return this.Zero$1
} else if ((value < (-9.223372036854776E18))) {
- return this.MinValue__sjsr_RuntimeLong()
+ return this.MinValue$1
} else if ((value >= 9.223372036854776E18)) {
- return this.MaxValue__sjsr_RuntimeLong()
+ return this.MaxValue$1
} else {
var neg = (value < 0);
var absValue = (neg ? (-value) : value);
- var lo = $m_sjsr_RuntimeLong$Utils$().rawToInt__D__I(absValue);
- var hi = $m_sjsr_RuntimeLong$Utils$().rawToInt__D__I((absValue / 4.294967296E9));
- return (neg ? $m_sjsr_RuntimeLong$Utils$().inlineLongUnary$und$minus__I__I__sjsr_RuntimeLong(lo, hi) : new $c_sjsr_RuntimeLong().init___I__I(lo, hi))
+ var lo = ((absValue | 0) | 0);
+ var x = (absValue / 4.294967296E9);
+ var hi = ((x | 0) | 0);
+ return (neg ? new $c_sjsr_RuntimeLong().init___I__I(((-lo) | 0), ((lo !== 0) ? (~hi) : ((-hi) | 0))) : new $c_sjsr_RuntimeLong().init___I__I(lo, hi))
}
});
-$c_sjsr_RuntimeLong$.prototype.init___ = (function() {
- $c_O.prototype.init___.call(this);
- $n_sjsr_RuntimeLong$ = this;
- this.Zero$1 = new $c_sjsr_RuntimeLong().init___I__I(0, 0);
- this.One$1 = new $c_sjsr_RuntimeLong().init___I__I(1, 0);
- this.MinusOne$1 = new $c_sjsr_RuntimeLong().init___I__I((-1), (-1));
- this.MinValue$1 = new $c_sjsr_RuntimeLong().init___I__I(0, (-2147483648));
- this.MaxValue$1 = new $c_sjsr_RuntimeLong().init___I__I((-1), 2147483647);
- return this
-});
var $d_sjsr_RuntimeLong$ = new $TypeData().initClass({
sjsr_RuntimeLong$: 0
}, false, "scala.scalajs.runtime.RuntimeLong$", {
@@ -6678,76 +4412,6 @@ function $m_sjsr_RuntimeLong$() {
};
return $n_sjsr_RuntimeLong$
}
-/** @constructor */
-function $c_sr_BooleanRef$() {
- $c_O.call(this)
-}
-$c_sr_BooleanRef$.prototype = new $h_O();
-$c_sr_BooleanRef$.prototype["constructor"] = $c_sr_BooleanRef$;
-/** @constructor */
-function $h_sr_BooleanRef$() {
- /*<skip>*/
-}
-$h_sr_BooleanRef$.prototype = $c_sr_BooleanRef$.prototype;
-$c_sr_BooleanRef$.prototype.create__Z__sr_BooleanRef = (function(elem) {
- return new $c_sr_BooleanRef().init___Z(elem)
-});
-$c_sr_BooleanRef$.prototype.init___ = (function() {
- $c_O.prototype.init___.call(this);
- $n_sr_BooleanRef$ = this;
- return this
-});
-var $d_sr_BooleanRef$ = new $TypeData().initClass({
- sr_BooleanRef$: 0
-}, false, "scala.runtime.BooleanRef$", {
- sr_BooleanRef$: 1,
- O: 1,
- s_Serializable: 1,
- Ljava_io_Serializable: 1
-});
-$c_sr_BooleanRef$.prototype.$classData = $d_sr_BooleanRef$;
-var $n_sr_BooleanRef$ = (void 0);
-function $m_sr_BooleanRef$() {
- if ((!$n_sr_BooleanRef$)) {
- $n_sr_BooleanRef$ = new $c_sr_BooleanRef$().init___()
- };
- return $n_sr_BooleanRef$
-}
-/** @constructor */
-function $c_sr_IntRef$() {
- $c_O.call(this)
-}
-$c_sr_IntRef$.prototype = new $h_O();
-$c_sr_IntRef$.prototype["constructor"] = $c_sr_IntRef$;
-/** @constructor */
-function $h_sr_IntRef$() {
- /*<skip>*/
-}
-$h_sr_IntRef$.prototype = $c_sr_IntRef$.prototype;
-$c_sr_IntRef$.prototype.create__I__sr_IntRef = (function(elem) {
- return new $c_sr_IntRef().init___I(elem)
-});
-$c_sr_IntRef$.prototype.init___ = (function() {
- $c_O.prototype.init___.call(this);
- $n_sr_IntRef$ = this;
- return this
-});
-var $d_sr_IntRef$ = new $TypeData().initClass({
- sr_IntRef$: 0
-}, false, "scala.runtime.IntRef$", {
- sr_IntRef$: 1,
- O: 1,
- s_Serializable: 1,
- Ljava_io_Serializable: 1
-});
-$c_sr_IntRef$.prototype.$classData = $d_sr_IntRef$;
-var $n_sr_IntRef$ = (void 0);
-function $m_sr_IntRef$() {
- if ((!$n_sr_IntRef$)) {
- $n_sr_IntRef$ = new $c_sr_IntRef$().init___()
- };
- return $n_sr_IntRef$
-}
var $d_sr_Nothing$ = new $TypeData().initClass({
sr_Nothing$: 0
}, false, "scala.runtime.Nothing$", {
@@ -6770,7 +4434,6 @@ function $h_Ljava_io_FilterOutputStream() {
$h_Ljava_io_FilterOutputStream.prototype = $c_Ljava_io_FilterOutputStream.prototype;
$c_Ljava_io_FilterOutputStream.prototype.init___Ljava_io_OutputStream = (function(out) {
this.out$2 = out;
- $c_Ljava_io_OutputStream.prototype.init___.call(this);
return this
});
function $is_T(obj) {
@@ -6799,12 +4462,8 @@ function $h_jl_CloneNotSupportedException() {
/*<skip>*/
}
$h_jl_CloneNotSupportedException.prototype = $c_jl_CloneNotSupportedException.prototype;
-$c_jl_CloneNotSupportedException.prototype.init___T = (function(s) {
- $c_jl_Exception.prototype.init___T.call(this, s);
- return this
-});
$c_jl_CloneNotSupportedException.prototype.init___ = (function() {
- $c_jl_CloneNotSupportedException.prototype.init___T.call(this, null);
+ $c_jl_Throwable.prototype.init___T__jl_Throwable.call(this, null, null);
return this
});
var $d_jl_CloneNotSupportedException = new $TypeData().initClass({
@@ -6829,7 +4488,6 @@ function $h_jl_JSConsoleBasedPrintStream$DummyOutputStream() {
}
$h_jl_JSConsoleBasedPrintStream$DummyOutputStream.prototype = $c_jl_JSConsoleBasedPrintStream$DummyOutputStream.prototype;
$c_jl_JSConsoleBasedPrintStream$DummyOutputStream.prototype.init___ = (function() {
- $c_Ljava_io_OutputStream.prototype.init___.call(this);
return this
});
var $d_jl_JSConsoleBasedPrintStream$DummyOutputStream = new $TypeData().initClass({
@@ -6853,18 +4511,6 @@ function $h_jl_RuntimeException() {
/*<skip>*/
}
$h_jl_RuntimeException.prototype = $c_jl_RuntimeException.prototype;
-$c_jl_RuntimeException.prototype.init___T__jl_Throwable = (function(s, e) {
- $c_jl_Exception.prototype.init___T__jl_Throwable.call(this, s, e);
- return this
-});
-$c_jl_RuntimeException.prototype.init___T = (function(s) {
- $c_jl_RuntimeException.prototype.init___T__jl_Throwable.call(this, s, null);
- return this
-});
-$c_jl_RuntimeException.prototype.init___ = (function() {
- $c_jl_RuntimeException.prototype.init___T__jl_Throwable.call(this, null, null);
- return this
-});
/** @constructor */
function $c_jl_StringBuilder() {
$c_O.call(this);
@@ -6877,51 +4523,36 @@ function $h_jl_StringBuilder() {
/*<skip>*/
}
$h_jl_StringBuilder.prototype = $c_jl_StringBuilder.prototype;
-$c_jl_StringBuilder.prototype.content__p1__T = (function() {
- return this.content$1
-});
-$c_jl_StringBuilder.prototype.content$und$eq__p1__T__V = (function(x$1) {
- this.content$1 = x$1
+$c_jl_StringBuilder.prototype.init___ = (function() {
+ $c_jl_StringBuilder.prototype.init___T.call(this, "");
+ return this
});
$c_jl_StringBuilder.prototype.append__T__jl_StringBuilder = (function(s) {
- this.content$und$eq__p1__T__V((("" + this.content__p1__T()) + ((s === null) ? "null" : s)));
+ this.content$1 = (("" + this.content$1) + ((s === null) ? "null" : s));
return this
});
-$c_jl_StringBuilder.prototype.append__C__jl_StringBuilder = (function(c) {
- return this.append__T__jl_StringBuilder($m_sr_BoxesRunTime$().boxToCharacter__C__jl_Character(c).toString__T())
+$c_jl_StringBuilder.prototype.subSequence__I__I__jl_CharSequence = (function(start, end) {
+ var thiz = this.content$1;
+ return thiz["substring"](start, end)
+});
+$c_jl_StringBuilder.prototype.toString__T = (function() {
+ return this.content$1
});
$c_jl_StringBuilder.prototype.append__O__jl_StringBuilder = (function(obj) {
return ((obj === null) ? this.append__T__jl_StringBuilder(null) : this.append__T__jl_StringBuilder($objectToString(obj)))
});
+$c_jl_StringBuilder.prototype.init___I = (function(initialCapacity) {
+ $c_jl_StringBuilder.prototype.init___T.call(this, "");
+ return this
+});
$c_jl_StringBuilder.prototype.append__jl_CharSequence__I__I__jl_StringBuilder = (function(csq, start, end) {
return ((csq === null) ? this.append__jl_CharSequence__I__I__jl_StringBuilder("null", start, end) : this.append__T__jl_StringBuilder($objectToString($charSequenceSubSequence(csq, start, end))))
});
-$c_jl_StringBuilder.prototype.toString__T = (function() {
- return this.content__p1__T()
-});
-$c_jl_StringBuilder.prototype.length__I = (function() {
- return $m_sjsr_RuntimeString$().length__T__I(this.content__p1__T())
-});
-$c_jl_StringBuilder.prototype.charAt__I__C = (function(index) {
- return $m_sjsr_RuntimeString$().charAt__T__I__C(this.content__p1__T(), index)
-});
-$c_jl_StringBuilder.prototype.subSequence__I__I__jl_CharSequence = (function(start, end) {
- return this.substring__I__I__T(start, end)
-});
-$c_jl_StringBuilder.prototype.substring__I__I__T = (function(start, end) {
- return $m_sjsr_RuntimeString$().substring__T__I__I__T(this.content__p1__T(), start, end)
+$c_jl_StringBuilder.prototype.append__C__jl_StringBuilder = (function(c) {
+ return this.append__T__jl_StringBuilder($g["String"]["fromCharCode"](c))
});
$c_jl_StringBuilder.prototype.init___T = (function(content) {
this.content$1 = content;
- $c_O.prototype.init___.call(this);
- return this
-});
-$c_jl_StringBuilder.prototype.init___ = (function() {
- $c_jl_StringBuilder.prototype.init___T.call(this, "");
- return this
-});
-$c_jl_StringBuilder.prototype.init___I = (function(initialCapacity) {
- $c_jl_StringBuilder.prototype.init___T.call(this, "");
return this
});
var $d_jl_StringBuilder = new $TypeData().initClass({
@@ -6945,16 +4576,8 @@ function $h_s_Predef$$eq$colon$eq() {
/*<skip>*/
}
$h_s_Predef$$eq$colon$eq.prototype = $c_s_Predef$$eq$colon$eq.prototype;
-$c_s_Predef$$eq$colon$eq.prototype.apply$mcVI$sp__I__V = (function(v1) {
- $s_s_Function1$class__apply$mcVI$sp__F1__I__V(this, v1)
-});
$c_s_Predef$$eq$colon$eq.prototype.toString__T = (function() {
- return $s_s_Function1$class__toString__F1__T(this)
-});
-$c_s_Predef$$eq$colon$eq.prototype.init___ = (function() {
- $c_O.prototype.init___.call(this);
- $s_s_Function1$class__$$init$__F1__V(this);
- return this
+ return "<function1>"
});
/** @constructor */
function $c_s_Predef$$less$colon$less() {
@@ -6967,16 +4590,8 @@ function $h_s_Predef$$less$colon$less() {
/*<skip>*/
}
$h_s_Predef$$less$colon$less.prototype = $c_s_Predef$$less$colon$less.prototype;
-$c_s_Predef$$less$colon$less.prototype.apply$mcVI$sp__I__V = (function(v1) {
- $s_s_Function1$class__apply$mcVI$sp__F1__I__V(this, v1)
-});
$c_s_Predef$$less$colon$less.prototype.toString__T = (function() {
- return $s_s_Function1$class__toString__F1__T(this)
-});
-$c_s_Predef$$less$colon$less.prototype.init___ = (function() {
- $c_O.prototype.init___.call(this);
- $s_s_Function1$class__$$init$__F1__V(this);
- return this
+ return "<function1>"
});
/** @constructor */
function $c_s_math_Equiv$() {
@@ -6990,9 +4605,6 @@ function $h_s_math_Equiv$() {
}
$h_s_math_Equiv$.prototype = $c_s_math_Equiv$.prototype;
$c_s_math_Equiv$.prototype.init___ = (function() {
- $c_O.prototype.init___.call(this);
- $n_s_math_Equiv$ = this;
- $s_s_math_LowPriorityEquiv$class__$$init$__s_math_Equiv$__V(this);
return this
});
var $d_s_math_Equiv$ = new $TypeData().initClass({
@@ -7024,9 +4636,6 @@ function $h_s_math_Ordering$() {
}
$h_s_math_Ordering$.prototype = $c_s_math_Ordering$.prototype;
$c_s_math_Ordering$.prototype.init___ = (function() {
- $c_O.prototype.init___.call(this);
- $n_s_math_Ordering$ = this;
- $s_s_math_LowPriorityOrderingImplicits$class__$$init$__s_math_LowPriorityOrderingImplicits__V(this);
return this
});
var $d_s_math_Ordering$ = new $TypeData().initClass({
@@ -7057,14 +4666,12 @@ function $h_s_reflect_NoManifest$() {
/*<skip>*/
}
$h_s_reflect_NoManifest$.prototype = $c_s_reflect_NoManifest$.prototype;
-$c_s_reflect_NoManifest$.prototype.toString__T = (function() {
- return "<?>"
-});
$c_s_reflect_NoManifest$.prototype.init___ = (function() {
- $c_O.prototype.init___.call(this);
- $n_s_reflect_NoManifest$ = this;
return this
});
+$c_s_reflect_NoManifest$.prototype.toString__T = (function() {
+ return "<?>"
+});
var $d_s_reflect_NoManifest$ = new $TypeData().initClass({
s_reflect_NoManifest$: 0
}, false, "scala.reflect.NoManifest$", {
@@ -7092,27 +4699,12 @@ $c_sc_AbstractIterator.prototype["constructor"] = $c_sc_AbstractIterator;
function $h_sc_AbstractIterator() {
/*<skip>*/
}
-$h_sc_AbstractIterator.prototype = $c_sc_AbstractIterator.prototype;
-$c_sc_AbstractIterator.prototype.isEmpty__Z = (function() {
- return $s_sc_Iterator$class__isEmpty__sc_Iterator__Z(this)
-});
-$c_sc_AbstractIterator.prototype.foreach__F1__V = (function(f) {
- $s_sc_Iterator$class__foreach__sc_Iterator__F1__V(this, f)
-});
+$h_sc_AbstractIterator.prototype = $c_sc_AbstractIterator.prototype;
$c_sc_AbstractIterator.prototype.toString__T = (function() {
return $s_sc_Iterator$class__toString__sc_Iterator__T(this)
});
-$c_sc_AbstractIterator.prototype.mkString__T__T__T__T = (function(start, sep, end) {
- return $s_sc_TraversableOnce$class__mkString__sc_TraversableOnce__T__T__T__T(this, start, sep, end)
-});
-$c_sc_AbstractIterator.prototype.addString__scm_StringBuilder__T__T__T__scm_StringBuilder = (function(b, start, sep, end) {
- return $s_sc_TraversableOnce$class__addString__sc_TraversableOnce__scm_StringBuilder__T__T__T__scm_StringBuilder(this, b, start, sep, end)
-});
-$c_sc_AbstractIterator.prototype.init___ = (function() {
- $c_O.prototype.init___.call(this);
- $s_sc_TraversableOnce$class__$$init$__sc_TraversableOnce__V(this);
- $s_sc_Iterator$class__$$init$__sc_Iterator__V(this);
- return this
+$c_sc_AbstractIterator.prototype.foreach__F1__V = (function(f) {
+ $s_sc_Iterator$class__foreach__sc_Iterator__F1__V(this, f)
});
/** @constructor */
function $c_scg_SetFactory() {
@@ -7125,10 +4717,6 @@ function $h_scg_SetFactory() {
/*<skip>*/
}
$h_scg_SetFactory.prototype = $c_scg_SetFactory.prototype;
-$c_scg_SetFactory.prototype.init___ = (function() {
- $c_scg_GenSetFactory.prototype.init___.call(this);
- return this
-});
/** @constructor */
function $c_sci_Map$() {
$c_scg_ImmutableMapFactory.call(this)
@@ -7141,8 +4729,6 @@ function $h_sci_Map$() {
}
$h_sci_Map$.prototype = $c_sci_Map$.prototype;
$c_sci_Map$.prototype.init___ = (function() {
- $c_scg_ImmutableMapFactory.prototype.init___.call(this);
- $n_sci_Map$ = this;
return this
});
var $d_sci_Map$ = new $TypeData().initClass({
@@ -7175,420 +4761,455 @@ function $h_sjsr_RuntimeLong() {
/*<skip>*/
}
$h_sjsr_RuntimeLong.prototype = $c_sjsr_RuntimeLong.prototype;
-$c_sjsr_RuntimeLong.prototype.lo__I = (function() {
- return this.lo$2
+$c_sjsr_RuntimeLong.prototype.longValue__J = (function() {
+ return $uJ(this)
});
-$c_sjsr_RuntimeLong.prototype.hi__I = (function() {
- return this.hi$2
+$c_sjsr_RuntimeLong.prototype.$$bar__sjsr_RuntimeLong__sjsr_RuntimeLong = (function(b) {
+ return new $c_sjsr_RuntimeLong().init___I__I((this.lo$2 | b.lo$2), (this.hi$2 | b.hi$2))
});
-$c_sjsr_RuntimeLong.prototype.equals__O__Z = (function(that) {
- var x1 = that;
- if ($is_sjsr_RuntimeLong(x1)) {
- var x2 = x1;
- return this.inline$undequals__p2__sjsr_RuntimeLong__Z(x2)
+$c_sjsr_RuntimeLong.prototype.$$greater$eq__sjsr_RuntimeLong__Z = (function(b) {
+ var ahi = this.hi$2;
+ var bhi = b.hi$2;
+ if ((ahi === bhi)) {
+ var a = this.lo$2;
+ var b$1 = b.lo$2;
+ return (((-2147483648) ^ a) >= ((-2147483648) ^ b$1))
} else {
- return false
+ return (bhi < ahi)
}
});
-$c_sjsr_RuntimeLong.prototype.hashCode__I = (function() {
- return (this.lo__I() ^ this.hi__I())
-});
-$c_sjsr_RuntimeLong.prototype.toString__T = (function() {
- var lo = this.lo__I();
- var hi = this.hi__I();
- if ($m_sjsr_RuntimeLong$Utils$().isInt32__I__I__Z(lo, hi)) {
- return $objectToString(lo)
- } else if ((hi < 0)) {
- var x1 = $m_sjsr_RuntimeLong$Utils$().inline$undunary$und$minus__I__I__T2(lo, hi);
- if ((x1 !== null)) {
- var absLo = x1.$$und1$mcI$sp__I();
- var absHi = x1.$$und2$mcI$sp__I();
- var x$1 = new $c_s_Tuple2$mcII$sp().init___I__I(absLo, absHi)
+$c_sjsr_RuntimeLong.prototype.unsigned$und$percent__p2__I__I__I__I__sjsr_RuntimeLong = (function(alo, ahi, blo, bhi) {
+ if ((((-2097152) & ahi) === 0)) {
+ if ((((-2097152) & bhi) === 0)) {
+ var aDouble = ((4.294967296E9 * ahi) + (+(alo >>> 0)));
+ var bDouble = ((4.294967296E9 * bhi) + (+(blo >>> 0)));
+ var rDouble = (aDouble % bDouble);
+ var x = (rDouble / 4.294967296E9);
+ return new $c_sjsr_RuntimeLong().init___I__I(((rDouble | 0) | 0), ((x | 0) | 0))
} else {
- var x$1;
- throw new $c_s_MatchError().init___O(x1)
- };
- var absLo$2 = x$1.$$und1$mcI$sp__I();
- var absHi$2 = x$1.$$und2$mcI$sp__I();
- return ("-" + this.toUnsignedString__p2__I__I__T(absLo$2, absHi$2))
- } else {
- return this.toUnsignedString__p2__I__I__T(lo, hi)
- }
-});
-$c_sjsr_RuntimeLong.prototype.toUnsignedString__p2__I__I__T = (function(lo, hi) {
- if ($m_sjsr_RuntimeLong$Utils$().isUnsignedSafeDouble__I__Z(hi)) {
- return $objectToString($m_sjsr_RuntimeLong$Utils$().asUnsignedSafeDouble__I__I__D(lo, hi))
+ return new $c_sjsr_RuntimeLong().init___I__I(alo, ahi)
+ }
} else {
- var TenPow9Lo = new $c_sjsr_RuntimeLong().init___I__I(1000000000, 0).toInt__I();
- var TenPow9Hi = $m_sjsr_RuntimeLong$().Zero__sjsr_RuntimeLong().toInt__I();
- var quotRem = this.unsignedDivModHelper__p2__I__I__I__I__I__sjs_js_$bar(lo, hi, TenPow9Lo, TenPow9Hi, 2);
- var quotLo = (quotRem["0"] | 0);
- var quotHi = (quotRem["1"] | 0);
- var rem = (quotRem["2"] | 0);
- var quot = $m_sjsr_RuntimeLong$Utils$().asUnsignedSafeDouble__I__I__D(quotLo, quotHi);
- var remStr = $objectToString(rem);
- return ((("" + $objectToString(quot)) + $m_sjs_js_JSStringOps$().enableJSStringOps__T__sjs_js_JSStringOps("000000000")["substring"]($m_sjsr_RuntimeString$().length__T__I(remStr))) + remStr)
+ return (((bhi === 0) && ((blo & (((-1) + blo) | 0)) === 0)) ? new $c_sjsr_RuntimeLong().init___I__I((alo & (((-1) + blo) | 0)), 0) : (((blo === 0) && ((bhi & (((-1) + bhi) | 0)) === 0)) ? new $c_sjsr_RuntimeLong().init___I__I(alo, (ahi & (((-1) + bhi) | 0))) : this.unsignedDivModHelper__p2__I__I__I__I__I__sjs_js_$bar(alo, ahi, blo, bhi, 1)))
}
});
-$c_sjsr_RuntimeLong.prototype.toByte__B = (function() {
- return ((this.lo__I() << 24) >> 24)
+$c_sjsr_RuntimeLong.prototype.byteValue__B = (function() {
+ return this.toByte__B()
});
$c_sjsr_RuntimeLong.prototype.toShort__S = (function() {
- return ((this.lo__I() << 16) >> 16)
-});
-$c_sjsr_RuntimeLong.prototype.toInt__I = (function() {
- return this.lo__I()
-});
-$c_sjsr_RuntimeLong.prototype.toLong__J = (function() {
- return $uJ(this)
-});
-$c_sjsr_RuntimeLong.prototype.toFloat__F = (function() {
- return $fround(this.toDouble__D())
+ return ((this.lo$2 << 16) >> 16)
});
-$c_sjsr_RuntimeLong.prototype.toDouble__D = (function() {
- var lo = this.lo__I();
- var hi = this.hi__I();
- if ((hi < 0)) {
- var x1 = $m_sjsr_RuntimeLong$Utils$().inline$undunary$und$minus__I__I__T2(lo, hi);
- if ((x1 !== null)) {
- var abslo = x1.$$und1$mcI$sp__I();
- var abshi = x1.$$und2$mcI$sp__I();
- var x$2 = new $c_s_Tuple2$mcII$sp().init___I__I(abslo, abshi)
- } else {
- var x$2;
- throw new $c_s_MatchError().init___O(x1)
- };
- var abslo$2 = x$2.$$und1$mcI$sp__I();
- var abshi$2 = x$2.$$und2$mcI$sp__I();
- return (-(($m_sjs_js_JSNumberOps$ExtOps$().toUint$extension__sjs_js_Dynamic__D($m_sjs_js_JSNumberOps$().enableJSNumberExtOps__I__sjs_js_Dynamic(abshi$2)) * 4.294967296E9) + $m_sjs_js_JSNumberOps$ExtOps$().toUint$extension__sjs_js_Dynamic__D($m_sjs_js_JSNumberOps$().enableJSNumberExtOps__I__sjs_js_Dynamic(abslo$2))))
+$c_sjsr_RuntimeLong.prototype.equals__O__Z = (function(that) {
+ if ($is_sjsr_RuntimeLong(that)) {
+ var x2 = that;
+ return ((this.lo$2 === x2.lo$2) && (this.hi$2 === x2.hi$2))
} else {
- return ((hi * 4.294967296E9) + $m_sjs_js_JSNumberOps$ExtOps$().toUint$extension__sjs_js_Dynamic__D($m_sjs_js_JSNumberOps$().enableJSNumberExtOps__I__sjs_js_Dynamic(lo)))
+ return false
}
});
-$c_sjsr_RuntimeLong.prototype.byteValue__B = (function() {
- return this.toByte__B()
-});
-$c_sjsr_RuntimeLong.prototype.shortValue__S = (function() {
- return this.toShort__S()
-});
-$c_sjsr_RuntimeLong.prototype.intValue__I = (function() {
- return this.toInt__I()
-});
-$c_sjsr_RuntimeLong.prototype.longValue__J = (function() {
- return this.toLong__J()
-});
-$c_sjsr_RuntimeLong.prototype.floatValue__F = (function() {
- return this.toFloat__F()
-});
-$c_sjsr_RuntimeLong.prototype.doubleValue__D = (function() {
- return this.toDouble__D()
-});
-$c_sjsr_RuntimeLong.prototype.compareTo__sjsr_RuntimeLong__I = (function(b) {
- var ahi = this.hi__I();
- var bhi = b.hi__I();
+$c_sjsr_RuntimeLong.prototype.$$less__sjsr_RuntimeLong__Z = (function(b) {
+ var ahi = this.hi$2;
+ var bhi = b.hi$2;
if ((ahi === bhi)) {
- var alo = this.lo__I();
- var blo = b.lo__I();
- return ((alo === blo) ? 0 : ($m_sjsr_RuntimeLong$Utils$().inlineUnsignedInt$und$less__I__I__Z(alo, blo) ? (-1) : 1))
+ var a = this.lo$2;
+ var b$1 = b.lo$2;
+ return (((-2147483648) ^ a) < ((-2147483648) ^ b$1))
} else {
- return ((ahi < bhi) ? (-1) : 1)
+ return (ahi < bhi)
}
});
-$c_sjsr_RuntimeLong.prototype.compareTo__jl_Long__I = (function(that) {
- return this.compareTo__sjsr_RuntimeLong__I(that)
-});
-$c_sjsr_RuntimeLong.prototype.inline$undequals__p2__sjsr_RuntimeLong__Z = (function(b) {
- return ((this.lo__I() === b.lo__I()) && (this.hi__I() === b.hi__I()))
-});
-$c_sjsr_RuntimeLong.prototype.equals__sjsr_RuntimeLong__Z = (function(b) {
- return this.inline$undequals__p2__sjsr_RuntimeLong__Z(b)
-});
-$c_sjsr_RuntimeLong.prototype.notEquals__sjsr_RuntimeLong__Z = (function(b) {
- return (!this.inline$undequals__p2__sjsr_RuntimeLong__Z(b))
-});
-$c_sjsr_RuntimeLong.prototype.$$less__sjsr_RuntimeLong__Z = (function(b) {
- var ahi = this.hi__I();
- var bhi = b.hi__I();
- return ((ahi === bhi) ? $m_sjsr_RuntimeLong$Utils$().inlineUnsignedInt$und$less__I__I__Z(this.lo__I(), b.lo__I()) : (ahi < bhi))
-});
-$c_sjsr_RuntimeLong.prototype.$$less$eq__sjsr_RuntimeLong__Z = (function(b) {
- var ahi = this.hi__I();
- var bhi = b.hi__I();
- return ((ahi === bhi) ? $m_sjsr_RuntimeLong$Utils$().inlineUnsignedInt$und$less$eq__I__I__Z(this.lo__I(), b.lo__I()) : (ahi < bhi))
-});
-$c_sjsr_RuntimeLong.prototype.$$greater__sjsr_RuntimeLong__Z = (function(b) {
- var ahi = this.hi__I();
- var bhi = b.hi__I();
- return ((ahi === bhi) ? $m_sjsr_RuntimeLong$Utils$().inlineUnsignedInt$und$greater__I__I__Z(this.lo__I(), b.lo__I()) : (bhi < ahi))
-});
-$c_sjsr_RuntimeLong.prototype.$$greater$eq__sjsr_RuntimeLong__Z = (function(b) {
- var ahi = this.hi__I();
- var bhi = b.hi__I();
- return ((ahi === bhi) ? $m_sjsr_RuntimeLong$Utils$().inlineUnsignedInt$und$greater$eq__I__I__Z(this.lo__I(), b.lo__I()) : (bhi < ahi))
-});
-$c_sjsr_RuntimeLong.prototype.unary$und$tilde__sjsr_RuntimeLong = (function() {
- return new $c_sjsr_RuntimeLong().init___I__I((~this.lo__I()), (~this.hi__I()))
-});
-$c_sjsr_RuntimeLong.prototype.$$bar__sjsr_RuntimeLong__sjsr_RuntimeLong = (function(b) {
- return new $c_sjsr_RuntimeLong().init___I__I((this.lo__I() | b.lo__I()), (this.hi__I() | b.hi__I()))
-});
-$c_sjsr_RuntimeLong.prototype.$$amp__sjsr_RuntimeLong__sjsr_RuntimeLong = (function(b) {
- return new $c_sjsr_RuntimeLong().init___I__I((this.lo__I() & b.lo__I()), (this.hi__I() & b.hi__I()))
-});
-$c_sjsr_RuntimeLong.prototype.$$up__sjsr_RuntimeLong__sjsr_RuntimeLong = (function(b) {
- return new $c_sjsr_RuntimeLong().init___I__I((this.lo__I() ^ b.lo__I()), (this.hi__I() ^ b.hi__I()))
-});
-$c_sjsr_RuntimeLong.prototype.$$less$less__I__sjsr_RuntimeLong = (function(n0) {
- var n = (n0 & 63);
- var lo = this.lo__I();
- return ((n === 0) ? this : ((n < 32) ? new $c_sjsr_RuntimeLong().init___I__I((lo << n), (((lo >>> ((-n) | 0)) | 0) | (this.hi__I() << n))) : new $c_sjsr_RuntimeLong().init___I__I(0, (lo << n))))
-});
-$c_sjsr_RuntimeLong.prototype.inline$und$less$less__p2__I__I__I__T2 = (function(lo, hi, n) {
- return ((n === 0) ? new $c_s_Tuple2$mcII$sp().init___I__I(lo, hi) : ((n < 32) ? new $c_s_Tuple2$mcII$sp().init___I__I((lo << n), (((lo >>> ((-n) | 0)) | 0) | (hi << n))) : new $c_s_Tuple2$mcII$sp().init___I__I(0, (lo << n))))
-});
-$c_sjsr_RuntimeLong.prototype.$$greater$greater$greater__I__sjsr_RuntimeLong = (function(n0) {
- var n = (n0 & 63);
- var hi = this.hi__I();
- return ((n === 0) ? this : ((n < 32) ? new $c_sjsr_RuntimeLong().init___I__I((((this.lo__I() >>> n) | 0) | (hi << ((-n) | 0))), ((hi >>> n) | 0)) : new $c_sjsr_RuntimeLong().init___I__I(((hi >>> n) | 0), 0)))
-});
-$c_sjsr_RuntimeLong.prototype.inline$und$greater$greater$greater__p2__I__I__I__T2 = (function(lo, hi, n) {
- return ((n === 0) ? new $c_s_Tuple2$mcII$sp().init___I__I(lo, hi) : ((n < 32) ? new $c_s_Tuple2$mcII$sp().init___I__I((((lo >>> n) | 0) | (hi << ((-n) | 0))), ((hi >>> n) | 0)) : new $c_s_Tuple2$mcII$sp().init___I__I(((hi >>> n) | 0), 0)))
-});
-$c_sjsr_RuntimeLong.prototype.$$greater$greater__I__sjsr_RuntimeLong = (function(n0) {
- var n = (n0 & 63);
- var hi = this.hi__I();
- return ((n === 0) ? this : ((n < 32) ? new $c_sjsr_RuntimeLong().init___I__I((((this.lo__I() >>> n) | 0) | (hi << ((-n) | 0))), (hi >> n)) : new $c_sjsr_RuntimeLong().init___I__I((hi >> n), (hi >> 31))))
-});
-$c_sjsr_RuntimeLong.prototype.unary$und$minus__sjsr_RuntimeLong = (function() {
- return $m_sjsr_RuntimeLong$Utils$().inlineLongUnary$und$minus__I__I__sjsr_RuntimeLong(this.lo__I(), this.hi__I())
-});
-$c_sjsr_RuntimeLong.prototype.inline$undabs__p2__I__I__T3 = (function(lo, hi) {
- var neg = (hi < 0);
- var absLo = lo;
- var absHi = hi;
- if (neg) {
- absLo = ((-lo) | 0);
- absHi = ((lo !== 0) ? (~hi) : ((-hi) | 0))
- };
- return new $c_T3().init___O__O__O(neg, absLo, absHi)
-});
-$c_sjsr_RuntimeLong.prototype.$$plus__sjsr_RuntimeLong__sjsr_RuntimeLong = (function(b) {
- var result = this.inline$und$plus__p2__I__I__I__I__T2(this.lo__I(), this.hi__I(), b.lo__I(), b.hi__I());
- return new $c_sjsr_RuntimeLong().init___I__I(result.$$und1$mcI$sp__I(), result.$$und2$mcI$sp__I())
-});
-$c_sjsr_RuntimeLong.prototype.inline$und$plus__p2__I__I__I__I__T2 = (function(alo, ahi, blo, bhi) {
- var lo = ((alo + blo) | 0);
- return new $c_s_Tuple2$mcII$sp().init___I__I(lo, ((((ahi + bhi) | 0) + ($m_sjsr_RuntimeLong$Utils$().inlineUnsignedInt$und$less__I__I__Z(lo, alo) ? 1 : 0)) | 0))
-});
-$c_sjsr_RuntimeLong.prototype.$$minus__sjsr_RuntimeLong__sjsr_RuntimeLong = (function(b) {
- var result = this.inline$und$minus__p2__I__I__I__I__T2(this.lo__I(), this.hi__I(), b.lo__I(), b.hi__I());
- return new $c_sjsr_RuntimeLong().init___I__I(result.$$und1$mcI$sp__I(), result.$$und2$mcI$sp__I())
-});
-$c_sjsr_RuntimeLong.prototype.inline$und$minus__p2__I__I__I__I__T2 = (function(alo, ahi, blo, bhi) {
- var lo = ((alo - blo) | 0);
- return new $c_s_Tuple2$mcII$sp().init___I__I(lo, ((((ahi - bhi) | 0) + ($m_sjsr_RuntimeLong$Utils$().inlineUnsignedInt$und$greater__I__I__Z(lo, alo) ? (-1) : 0)) | 0))
-});
$c_sjsr_RuntimeLong.prototype.$$times__sjsr_RuntimeLong__sjsr_RuntimeLong = (function(b) {
- var alo = this.lo__I();
- var ahi = this.hi__I();
- var blo = b.lo__I();
- var bhi = b.hi__I();
- var a0 = (alo & 65535);
+ var alo = this.lo$2;
+ var ahi = this.hi$2;
+ var blo = b.lo$2;
+ var bhi = b.hi$2;
+ var a0 = (65535 & alo);
var a1 = ((alo >>> 16) | 0);
- var a2 = (ahi & 65535);
+ var a2 = (65535 & ahi);
var a3 = ((ahi >>> 16) | 0);
- var b0 = (blo & 65535);
+ var b0 = (65535 & blo);
var b1 = ((blo >>> 16) | 0);
- var b2 = (bhi & 65535);
+ var b2 = (65535 & bhi);
var b3 = ((bhi >>> 16) | 0);
var c0 = $imul(a0, b0);
var c1 = ((c0 >>> 16) | 0);
c1 = ((c1 + $imul(a1, b0)) | 0);
var c2 = ((c1 >>> 16) | 0);
- c1 = (((c1 & 65535) + $imul(a0, b1)) | 0);
+ c1 = (((65535 & c1) + $imul(a0, b1)) | 0);
c2 = ((c2 + ((c1 >>> 16) | 0)) | 0);
var c3 = ((c2 >>> 16) | 0);
- c2 = (((c2 & 65535) + $imul(a2, b0)) | 0);
+ c2 = (((65535 & c2) + $imul(a2, b0)) | 0);
c3 = ((c3 + ((c2 >>> 16) | 0)) | 0);
- c2 = (((c2 & 65535) + $imul(a1, b1)) | 0);
+ c2 = (((65535 & c2) + $imul(a1, b1)) | 0);
c3 = ((c3 + ((c2 >>> 16) | 0)) | 0);
- c2 = (((c2 & 65535) + $imul(a0, b2)) | 0);
+ c2 = (((65535 & c2) + $imul(a0, b2)) | 0);
c3 = ((c3 + ((c2 >>> 16) | 0)) | 0);
c3 = ((((((((c3 + $imul(a3, b0)) | 0) + $imul(a2, b1)) | 0) + $imul(a1, b2)) | 0) + $imul(a0, b3)) | 0);
- return new $c_sjsr_RuntimeLong().init___I__I(((c0 & 65535) | (c1 << 16)), ((c2 & 65535) | (c3 << 16)))
-});
-$c_sjsr_RuntimeLong.prototype.$$div__sjsr_RuntimeLong__sjsr_RuntimeLong = (function(b) {
- var alo = this.lo__I();
- var ahi = this.hi__I();
- var blo = b.lo__I();
- var bhi = b.hi__I();
- if ($m_sjsr_RuntimeLong$Utils$().isZero__I__I__Z(blo, bhi)) {
- throw new $c_jl_ArithmeticException().init___T("/ by zero")
- };
- if ($m_sjsr_RuntimeLong$Utils$().isInt32__I__I__Z(alo, ahi)) {
- return ($m_sjsr_RuntimeLong$Utils$().isInt32__I__I__Z(blo, bhi) ? (((alo === (-2147483648)) && (blo === (-1))) ? new $c_sjsr_RuntimeLong().init___I__I((-2147483648), 0) : new $c_sjsr_RuntimeLong().init___I(((alo / blo) | 0))) : (((alo === (-2147483648)) && ((blo === (-2147483648)) && (bhi === 0))) ? $m_sjsr_RuntimeLong$().MinusOne__sjsr_RuntimeLong() : $m_sjsr_RuntimeLong$().Zero__sjsr_RuntimeLong()))
- } else {
- var x1 = this.inline$undabs__p2__I__I__T3(alo, ahi);
- if ((x1 !== null)) {
- var aNeg = (!(!x1.$$und1__O()));
- var aAbsLo = (x1.$$und2__O() | 0);
- var aAbsHi = (x1.$$und3__O() | 0);
- var x$3 = new $c_T3().init___O__O__O(aNeg, aAbsLo, aAbsHi)
- } else {
- var x$3;
- throw new $c_s_MatchError().init___O(x1)
- };
- var aNeg$2 = (!(!x$3.$$und1__O()));
- var aAbsLo$2 = (x$3.$$und2__O() | 0);
- var aAbsHi$2 = (x$3.$$und3__O() | 0);
- var x1$2 = this.inline$undabs__p2__I__I__T3(blo, bhi);
- if ((x1$2 !== null)) {
- var bNeg = (!(!x1$2.$$und1__O()));
- var bAbsLo = (x1$2.$$und2__O() | 0);
- var bAbsHi = (x1$2.$$und3__O() | 0);
- var x$4 = new $c_T3().init___O__O__O(bNeg, bAbsLo, bAbsHi)
- } else {
- var x$4;
- throw new $c_s_MatchError().init___O(x1$2)
- };
- var bNeg$2 = (!(!x$4.$$und1__O()));
- var bAbsLo$2 = (x$4.$$und2__O() | 0);
- var bAbsHi$2 = (x$4.$$und3__O() | 0);
- var absR = this.unsigned$und$div__p2__I__I__I__I__sjsr_RuntimeLong(aAbsLo$2, aAbsHi$2, bAbsLo$2, bAbsHi$2);
- return ((aNeg$2 === bNeg$2) ? absR : $m_sjsr_RuntimeLong$Utils$().inlineLongUnary$und$minus__I__I__sjsr_RuntimeLong(absR.lo__I(), absR.hi__I()))
- }
+ return new $c_sjsr_RuntimeLong().init___I__I(((65535 & c0) | (c1 << 16)), ((65535 & c2) | (c3 << 16)))
});
-$c_sjsr_RuntimeLong.prototype.unsigned$und$div__p2__I__I__I__I__sjsr_RuntimeLong = (function(alo, ahi, blo, bhi) {
- if ($m_sjsr_RuntimeLong$Utils$().isUnsignedSafeDouble__I__Z(ahi)) {
- if ($m_sjsr_RuntimeLong$Utils$().isUnsignedSafeDouble__I__Z(bhi)) {
- var aDouble = $m_sjsr_RuntimeLong$Utils$().asUnsignedSafeDouble__I__I__D(alo, ahi);
- var bDouble = $m_sjsr_RuntimeLong$Utils$().asUnsignedSafeDouble__I__I__D(blo, bhi);
- var rDouble = (aDouble / bDouble);
- return $m_sjsr_RuntimeLong$Utils$().fromUnsignedSafeDouble__D__sjsr_RuntimeLong(rDouble)
- } else {
- return $m_sjsr_RuntimeLong$().Zero__sjsr_RuntimeLong()
- }
- } else if (((bhi === 0) && $m_sjsr_RuntimeLong$Utils$().isPowerOfTwo$undIKnowItsNot0__I__Z(blo))) {
- var pow = $m_sjsr_RuntimeLong$Utils$().log2OfPowerOfTwo__I__I(blo);
- return ((pow === 0) ? new $c_sjsr_RuntimeLong().init___I__I(alo, ahi) : new $c_sjsr_RuntimeLong().init___I__I((((alo >>> pow) | 0) | (ahi << ((-pow) | 0))), ((ahi >>> pow) | 0)))
- } else if (((blo === 0) && $m_sjsr_RuntimeLong$Utils$().isPowerOfTwo$undIKnowItsNot0__I__Z(bhi))) {
- var pow$2 = $m_sjsr_RuntimeLong$Utils$().log2OfPowerOfTwo__I__I(bhi);
- return new $c_sjsr_RuntimeLong().init___I__I(((ahi >>> pow$2) | 0), 0)
- } else {
- return this.unsignedDivModHelper__p2__I__I__I__I__I__sjs_js_$bar(alo, ahi, blo, bhi, 0)
- }
+$c_sjsr_RuntimeLong.prototype.init___I__I__I = (function(l, m, h) {
+ $c_sjsr_RuntimeLong.prototype.init___I__I.call(this, (l | (m << 22)), ((m >> 10) | (h << 12)));
+ return this
});
$c_sjsr_RuntimeLong.prototype.$$percent__sjsr_RuntimeLong__sjsr_RuntimeLong = (function(b) {
- var alo = this.lo__I();
- var ahi = this.hi__I();
- var blo = b.lo__I();
- var bhi = b.hi__I();
- if ($m_sjsr_RuntimeLong$Utils$().isZero__I__I__Z(blo, bhi)) {
+ var alo = this.lo$2;
+ var ahi = this.hi$2;
+ var blo = b.lo$2;
+ var bhi = b.hi$2;
+ if (((blo | bhi) === 0)) {
throw new $c_jl_ArithmeticException().init___T("/ by zero")
};
- if ($m_sjsr_RuntimeLong$Utils$().isInt32__I__I__Z(alo, ahi)) {
- return ($m_sjsr_RuntimeLong$Utils$().isInt32__I__I__Z(blo, bhi) ? ((blo !== (-1)) ? new $c_sjsr_RuntimeLong().init___I(((alo % blo) | 0)) : $m_sjsr_RuntimeLong$().Zero__sjsr_RuntimeLong()) : (((alo === (-2147483648)) && ((blo === (-2147483648)) && (bhi === 0))) ? $m_sjsr_RuntimeLong$().Zero__sjsr_RuntimeLong() : this))
+ if ((ahi === (alo >> 31))) {
+ return ((bhi === (blo >> 31)) ? ((blo !== (-1)) ? new $c_sjsr_RuntimeLong().init___I(((alo % blo) | 0)) : $m_sjsr_RuntimeLong$().Zero$1) : (((alo === (-2147483648)) && ((blo === (-2147483648)) && (bhi === 0))) ? $m_sjsr_RuntimeLong$().Zero$1 : this))
} else {
- var x1 = this.inline$undabs__p2__I__I__T3(alo, ahi);
- if ((x1 !== null)) {
- var aNeg = (!(!x1.$$und1__O()));
- var aAbsLo = (x1.$$und2__O() | 0);
- var aAbsHi = (x1.$$und3__O() | 0);
- var x$5 = new $c_T3().init___O__O__O(aNeg, aAbsLo, aAbsHi)
- } else {
- var x$5;
- throw new $c_s_MatchError().init___O(x1)
+ var neg = (ahi < 0);
+ var absLo = alo;
+ var absHi = ahi;
+ if (neg) {
+ absLo = ((-alo) | 0);
+ absHi = ((alo !== 0) ? (~ahi) : ((-ahi) | 0))
};
- var aNeg$2 = (!(!x$5.$$und1__O()));
- var aAbsLo$2 = (x$5.$$und2__O() | 0);
- var aAbsHi$2 = (x$5.$$und3__O() | 0);
- var x1$2 = this.inline$undabs__p2__I__I__T3(blo, bhi);
- if ((x1$2 !== null)) {
- var bAbsLo = (x1$2.$$und2__O() | 0);
- var bAbsHi = (x1$2.$$und3__O() | 0);
- var x$6 = new $c_s_Tuple2$mcII$sp().init___I__I(bAbsLo, bAbsHi)
- } else {
- var x$6;
- throw new $c_s_MatchError().init___O(x1$2)
+ var _2 = absLo;
+ var _3 = absHi;
+ var neg$1 = (bhi < 0);
+ var absLo$1 = blo;
+ var absHi$1 = bhi;
+ if (neg$1) {
+ absLo$1 = ((-blo) | 0);
+ absHi$1 = ((blo !== 0) ? (~bhi) : ((-bhi) | 0))
};
- var bAbsLo$2 = x$6.$$und1$mcI$sp__I();
- var bAbsHi$2 = x$6.$$und2$mcI$sp__I();
- var absR = this.unsigned$und$percent__p2__I__I__I__I__sjsr_RuntimeLong(aAbsLo$2, aAbsHi$2, bAbsLo$2, bAbsHi$2);
- return (aNeg$2 ? $m_sjsr_RuntimeLong$Utils$().inlineLongUnary$und$minus__I__I__sjsr_RuntimeLong(absR.lo__I(), absR.hi__I()) : absR)
- }
-});
-$c_sjsr_RuntimeLong.prototype.unsigned$und$percent__p2__I__I__I__I__sjsr_RuntimeLong = (function(alo, ahi, blo, bhi) {
- if ($m_sjsr_RuntimeLong$Utils$().isUnsignedSafeDouble__I__Z(ahi)) {
- if ($m_sjsr_RuntimeLong$Utils$().isUnsignedSafeDouble__I__Z(bhi)) {
- var aDouble = $m_sjsr_RuntimeLong$Utils$().asUnsignedSafeDouble__I__I__D(alo, ahi);
- var bDouble = $m_sjsr_RuntimeLong$Utils$().asUnsignedSafeDouble__I__I__D(blo, bhi);
- var rDouble = (aDouble % bDouble);
- return $m_sjsr_RuntimeLong$Utils$().fromUnsignedSafeDouble__D__sjsr_RuntimeLong(rDouble)
+ var _2$1 = absLo$1;
+ var _3$1 = absHi$1;
+ var absR = this.unsigned$und$percent__p2__I__I__I__I__sjsr_RuntimeLong(_2, _3, _2$1, _3$1);
+ if (neg) {
+ var lo = absR.lo$2;
+ var hi = absR.hi$2;
+ return new $c_sjsr_RuntimeLong().init___I__I(((-lo) | 0), ((lo !== 0) ? (~hi) : ((-hi) | 0)))
} else {
- return new $c_sjsr_RuntimeLong().init___I__I(alo, ahi)
+ return absR
}
- } else {
- return (((bhi === 0) && $m_sjsr_RuntimeLong$Utils$().isPowerOfTwo$undIKnowItsNot0__I__Z(blo)) ? new $c_sjsr_RuntimeLong().init___I__I((alo & ((blo - 1) | 0)), 0) : (((blo === 0) && $m_sjsr_RuntimeLong$Utils$().isPowerOfTwo$undIKnowItsNot0__I__Z(bhi)) ? new $c_sjsr_RuntimeLong().init___I__I(alo, (ahi & ((bhi - 1) | 0))) : this.unsignedDivModHelper__p2__I__I__I__I__I__sjs_js_$bar(alo, ahi, blo, bhi, 1)))
}
});
$c_sjsr_RuntimeLong.prototype.unsignedDivModHelper__p2__I__I__I__I__I__sjs_js_$bar = (function(alo, ahi, blo, bhi, ask) {
- var shift = (($m_sjsr_RuntimeLong$Utils$().inlineNumberOfLeadingZeros__I__I__I(blo, bhi) - $m_sjsr_RuntimeLong$Utils$().inlineNumberOfLeadingZeros__I__I__I(alo, ahi)) | 0);
- var initialBShift = this.inline$und$less$less__p2__I__I__I__T2(blo, bhi, shift);
- var bShiftLo = initialBShift.$$und1$mcI$sp__I();
- var bShiftHi = initialBShift.$$und2$mcI$sp__I();
+ var shift = ((((bhi !== 0) ? $clz32(bhi) : ((32 + $clz32(blo)) | 0)) - ((ahi !== 0) ? $clz32(ahi) : ((32 + $clz32(alo)) | 0))) | 0);
+ var n = shift;
+ if ((n === 0)) {
+ var initialBShift_$_$$und1$f = null;
+ var initialBShift_$_$$und2$f = null;
+ var initialBShift_$_$$und1$mcI$sp$f = blo;
+ var initialBShift_$_$$und2$mcI$sp$f = bhi
+ } else if ((n < 32)) {
+ var _1$mcI$sp = (blo << n);
+ var _2$mcI$sp = (((blo >>> ((-n) | 0)) | 0) | (bhi << n));
+ var initialBShift_$_$$und1$f = null;
+ var initialBShift_$_$$und2$f = null;
+ var initialBShift_$_$$und1$mcI$sp$f = _1$mcI$sp;
+ var initialBShift_$_$$und2$mcI$sp$f = _2$mcI$sp
+ } else {
+ var _2$mcI$sp$1 = (blo << n);
+ var initialBShift_$_$$und1$f = null;
+ var initialBShift_$_$$und2$f = null;
+ var initialBShift_$_$$und1$mcI$sp$f = 0;
+ var initialBShift_$_$$und2$mcI$sp$f = _2$mcI$sp$1
+ };
+ var bShiftLo = initialBShift_$_$$und1$mcI$sp$f;
+ var bShiftHi = initialBShift_$_$$und2$mcI$sp$f;
var remLo = alo;
var remHi = ahi;
var quotLo = 0;
var quotHi = 0;
- while (((shift >= 0) && ((remHi & (-2097152)) !== 0))) {
- if ($m_sjsr_RuntimeLong$Utils$().inlineUnsigned$und$greater$eq__I__I__I__I__Z(remLo, remHi, bShiftLo, bShiftHi)) {
- var newRem = this.inline$und$minus__p2__I__I__I__I__T2(remLo, remHi, bShiftLo, bShiftHi);
- remLo = newRem.$$und1$mcI$sp__I();
- remHi = newRem.$$und2$mcI$sp__I();
+ while (((shift >= 0) && (((-2097152) & remHi) !== 0))) {
+ var alo$1 = remLo;
+ var ahi$1 = remHi;
+ var blo$1 = bShiftLo;
+ var bhi$1 = bShiftHi;
+ if (((ahi$1 === bhi$1) ? (((-2147483648) ^ alo$1) >= ((-2147483648) ^ blo$1)) : (((-2147483648) ^ ahi$1) >= ((-2147483648) ^ bhi$1)))) {
+ var alo$2 = remLo;
+ var ahi$2 = remHi;
+ var blo$2 = bShiftLo;
+ var bhi$2 = bShiftHi;
+ var lo = ((alo$2 - blo$2) | 0);
+ var _2$mcI$sp$2 = ((((ahi$2 - bhi$2) | 0) + ((((-2147483648) ^ alo$2) < ((-2147483648) ^ lo)) ? (-1) : 0)) | 0);
+ remLo = lo;
+ remHi = _2$mcI$sp$2;
if ((shift < 32)) {
quotLo = (quotLo | (1 << shift))
} else {
quotHi = (quotHi | (1 << shift))
}
};
- shift = ((shift - 1) | 0);
- var newBShift = this.inline$und$greater$greater$greater__p2__I__I__I__T2(bShiftLo, bShiftHi, 1);
- bShiftLo = newBShift.$$und1$mcI$sp__I();
- bShiftHi = newBShift.$$und2$mcI$sp__I()
- };
- if ($m_sjsr_RuntimeLong$Utils$().inlineUnsigned$und$greater$eq__I__I__I__I__Z(remLo, remHi, blo, bhi)) {
- var remDouble = $m_sjsr_RuntimeLong$Utils$().asUnsignedSafeDouble__I__I__D(remLo, remHi);
- var bDouble = $m_sjsr_RuntimeLong$Utils$().asUnsignedSafeDouble__I__I__D(blo, bhi);
+ shift = (((-1) + shift) | 0);
+ var lo$1 = bShiftLo;
+ var hi = bShiftHi;
+ var _1$mcI$sp$1 = (((lo$1 >>> 1) | 0) | (hi << (-1)));
+ var _2$mcI$sp$3 = ((hi >>> 1) | 0);
+ bShiftLo = _1$mcI$sp$1;
+ bShiftHi = _2$mcI$sp$3
+ };
+ var alo$3 = remLo;
+ var ahi$3 = remHi;
+ if (((ahi$3 === bhi) ? (((-2147483648) ^ alo$3) >= ((-2147483648) ^ blo)) : (((-2147483648) ^ ahi$3) >= ((-2147483648) ^ bhi)))) {
+ var lo$2 = remLo;
+ var hi$1 = remHi;
+ var remDouble = ((4.294967296E9 * hi$1) + (+(lo$2 >>> 0)));
+ var bDouble = ((4.294967296E9 * bhi) + (+(blo >>> 0)));
if ((ask !== 1)) {
var rem_div_bDouble = (remDouble / bDouble);
- var newQuot = this.inline$und$plus__p2__I__I__I__I__T2(quotLo, quotHi, $m_sjsr_RuntimeLong$Utils$().unsignedSafeDoubleLo__D__I(rem_div_bDouble), $m_sjsr_RuntimeLong$Utils$().unsignedSafeDoubleHi__D__I(rem_div_bDouble));
- quotLo = newQuot.$$und1$mcI$sp__I();
- quotHi = newQuot.$$und2$mcI$sp__I()
+ var alo$4 = quotLo;
+ var ahi$4 = quotHi;
+ var blo$3 = ((rem_div_bDouble | 0) | 0);
+ var x = (rem_div_bDouble / 4.294967296E9);
+ var bhi$3 = ((x | 0) | 0);
+ var lo$3 = ((alo$4 + blo$3) | 0);
+ var _2$mcI$sp$4 = ((((ahi$4 + bhi$3) | 0) + ((((-2147483648) ^ lo$3) < ((-2147483648) ^ alo$4)) ? 1 : 0)) | 0);
+ quotLo = lo$3;
+ quotHi = _2$mcI$sp$4
};
if ((ask !== 0)) {
var rem_mod_bDouble = (remDouble % bDouble);
- remLo = $m_sjsr_RuntimeLong$Utils$().unsignedSafeDoubleLo__D__I(rem_mod_bDouble);
- remHi = $m_sjsr_RuntimeLong$Utils$().unsignedSafeDoubleHi__D__I(rem_mod_bDouble)
+ remLo = ((rem_mod_bDouble | 0) | 0);
+ var x$1 = (rem_mod_bDouble / 4.294967296E9);
+ remHi = ((x$1 | 0) | 0)
}
};
- return ((ask === 0) ? $m_sjs_js_$bar$().from__O__sjs_js_$bar$Evidence__sjs_js_$bar(new $c_sjsr_RuntimeLong().init___I__I(quotLo, quotHi), $m_sjs_js_$bar$Evidence$().left__sjs_js_$bar$Evidence__sjs_js_$bar$Evidence($m_sjs_js_$bar$Evidence$().base__sjs_js_$bar$Evidence())) : ((ask === 1) ? $m_sjs_js_$bar$().from__O__sjs_js_$bar$Evidence__sjs_js_$bar(new $c_sjsr_RuntimeLong().init___I__I(remLo, remHi), $m_sjs_js_$bar$Evidence$().left__sjs_js_$bar$Evidence__sjs_js_$bar$Evidence($m_sjs_js_$bar$Evidence$().base__sjs_js_$bar$Evidence())) : $m_sjs_js_$bar$().from__O__sjs_js_$bar$Evidence__sjs_js_$bar($m_sjs_js_Tuple4$().apply__O__O__O__O__sjs_js_Tuple4(quotLo, quotHi, remLo, remHi), $m_sjs_js_$bar$Evidence$().right__sjs_js_$bar$Evidence__sjs_js_$bar$Evidence($m_sjs_js_$bar$Evidence$().base__sjs_js_$bar$Evidence()))))
+ if ((ask === 0)) {
+ var a = new $c_sjsr_RuntimeLong().init___I__I(quotLo, quotHi);
+ return a
+ } else if ((ask === 1)) {
+ var a$1 = new $c_sjsr_RuntimeLong().init___I__I(remLo, remHi);
+ return a$1
+ } else {
+ var _1 = quotLo;
+ var _2 = quotHi;
+ var _3 = remLo;
+ var _4 = remHi;
+ var a$2 = [_1, _2, _3, _4];
+ return a$2
+ }
});
-$c_sjsr_RuntimeLong.prototype.compareTo__O__I = (function(x$1) {
- return this.compareTo__jl_Long__I(x$1)
+$c_sjsr_RuntimeLong.prototype.toString__T = (function() {
+ var lo = this.lo$2;
+ var hi = this.hi$2;
+ if ((hi === (lo >> 31))) {
+ return ("" + lo)
+ } else if ((hi < 0)) {
+ var _1$mcI$sp = ((-lo) | 0);
+ var _2$mcI$sp = ((lo !== 0) ? (~hi) : ((-hi) | 0));
+ return ("-" + this.toUnsignedString__p2__I__I__T(_1$mcI$sp, _2$mcI$sp))
+ } else {
+ return this.toUnsignedString__p2__I__I__T(lo, hi)
+ }
+});
+$c_sjsr_RuntimeLong.prototype.$$less$eq__sjsr_RuntimeLong__Z = (function(b) {
+ var ahi = this.hi$2;
+ var bhi = b.hi$2;
+ if ((ahi === bhi)) {
+ var a = this.lo$2;
+ var b$1 = b.lo$2;
+ return (((-2147483648) ^ b$1) >= ((-2147483648) ^ a))
+ } else {
+ return (ahi < bhi)
+ }
});
$c_sjsr_RuntimeLong.prototype.init___I__I = (function(lo, hi) {
this.lo$2 = lo;
this.hi$2 = hi;
- $c_jl_Number.prototype.init___.call(this);
return this
});
+$c_sjsr_RuntimeLong.prototype.compareTo__O__I = (function(x$1) {
+ var that = x$1;
+ return this.compareTo__sjsr_RuntimeLong__I(that)
+});
+$c_sjsr_RuntimeLong.prototype.$$amp__sjsr_RuntimeLong__sjsr_RuntimeLong = (function(b) {
+ return new $c_sjsr_RuntimeLong().init___I__I((this.lo$2 & b.lo$2), (this.hi$2 & b.hi$2))
+});
+$c_sjsr_RuntimeLong.prototype.compareTo__sjsr_RuntimeLong__I = (function(b) {
+ var ahi = this.hi$2;
+ var bhi = b.hi$2;
+ if ((ahi === bhi)) {
+ var alo = this.lo$2;
+ var blo = b.lo$2;
+ return ((alo === blo) ? 0 : ((((-2147483648) ^ alo) < ((-2147483648) ^ blo)) ? (-1) : 1))
+ } else {
+ return ((ahi < bhi) ? (-1) : 1)
+ }
+});
+$c_sjsr_RuntimeLong.prototype.$$greater$greater$greater__I__sjsr_RuntimeLong = (function(n0) {
+ var n = (63 & n0);
+ var hi = this.hi$2;
+ return ((n === 0) ? this : ((n < 32) ? new $c_sjsr_RuntimeLong().init___I__I((((this.lo$2 >>> n) | 0) | (hi << ((-n) | 0))), ((hi >>> n) | 0)) : new $c_sjsr_RuntimeLong().init___I__I(((hi >>> n) | 0), 0)))
+});
+$c_sjsr_RuntimeLong.prototype.$$greater__sjsr_RuntimeLong__Z = (function(b) {
+ var ahi = this.hi$2;
+ var bhi = b.hi$2;
+ if ((ahi === bhi)) {
+ var a = this.lo$2;
+ var b$1 = b.lo$2;
+ return (((-2147483648) ^ b$1) < ((-2147483648) ^ a))
+ } else {
+ return (bhi < ahi)
+ }
+});
+$c_sjsr_RuntimeLong.prototype.$$less$less__I__sjsr_RuntimeLong = (function(n0) {
+ var n = (63 & n0);
+ var lo = this.lo$2;
+ return ((n === 0) ? this : ((n < 32) ? new $c_sjsr_RuntimeLong().init___I__I((lo << n), (((lo >>> ((-n) | 0)) | 0) | (this.hi$2 << n))) : new $c_sjsr_RuntimeLong().init___I__I(0, (lo << n))))
+});
+$c_sjsr_RuntimeLong.prototype.toInt__I = (function() {
+ return this.lo$2
+});
$c_sjsr_RuntimeLong.prototype.init___I = (function(value) {
$c_sjsr_RuntimeLong.prototype.init___I__I.call(this, value, (value >> 31));
return this
});
-$c_sjsr_RuntimeLong.prototype.init___I__I__I = (function(l, m, h) {
- $c_sjsr_RuntimeLong.prototype.init___I__I.call(this, (l | (m << 22)), ((m >> 10) | (h << 12)));
- return this
+$c_sjsr_RuntimeLong.prototype.notEquals__sjsr_RuntimeLong__Z = (function(b) {
+ return (!((this.lo$2 === b.lo$2) && (this.hi$2 === b.hi$2)))
+});
+$c_sjsr_RuntimeLong.prototype.unary$und$minus__sjsr_RuntimeLong = (function() {
+ var lo = this.lo$2;
+ var hi = this.hi$2;
+ return new $c_sjsr_RuntimeLong().init___I__I(((-lo) | 0), ((lo !== 0) ? (~hi) : ((-hi) | 0)))
+});
+$c_sjsr_RuntimeLong.prototype.shortValue__S = (function() {
+ return this.toShort__S()
+});
+$c_sjsr_RuntimeLong.prototype.$$plus__sjsr_RuntimeLong__sjsr_RuntimeLong = (function(b) {
+ var alo = this.lo$2;
+ var ahi = this.hi$2;
+ var blo = b.lo$2;
+ var bhi = b.hi$2;
+ var lo = ((alo + blo) | 0);
+ var _2$mcI$sp = ((((ahi + bhi) | 0) + ((((-2147483648) ^ lo) < ((-2147483648) ^ alo)) ? 1 : 0)) | 0);
+ return new $c_sjsr_RuntimeLong().init___I__I(lo, _2$mcI$sp)
+});
+$c_sjsr_RuntimeLong.prototype.toDouble__D = (function() {
+ var lo = this.lo$2;
+ var hi = this.hi$2;
+ if ((hi < 0)) {
+ var _1$mcI$sp = ((-lo) | 0);
+ var _2$mcI$sp = ((lo !== 0) ? (~hi) : ((-hi) | 0));
+ return (-((4.294967296E9 * (+(_2$mcI$sp >>> 0))) + (+(_1$mcI$sp >>> 0))))
+ } else {
+ return ((4.294967296E9 * hi) + (+(lo >>> 0)))
+ }
+});
+$c_sjsr_RuntimeLong.prototype.$$greater$greater__I__sjsr_RuntimeLong = (function(n0) {
+ var n = (63 & n0);
+ var hi = this.hi$2;
+ return ((n === 0) ? this : ((n < 32) ? new $c_sjsr_RuntimeLong().init___I__I((((this.lo$2 >>> n) | 0) | (hi << ((-n) | 0))), (hi >> n)) : new $c_sjsr_RuntimeLong().init___I__I((hi >> n), (hi >> 31))))
+});
+$c_sjsr_RuntimeLong.prototype.unsigned$und$div__p2__I__I__I__I__sjsr_RuntimeLong = (function(alo, ahi, blo, bhi) {
+ if ((((-2097152) & ahi) === 0)) {
+ if ((((-2097152) & bhi) === 0)) {
+ var aDouble = ((4.294967296E9 * ahi) + (+(alo >>> 0)));
+ var bDouble = ((4.294967296E9 * bhi) + (+(blo >>> 0)));
+ var rDouble = (aDouble / bDouble);
+ var x = (rDouble / 4.294967296E9);
+ return new $c_sjsr_RuntimeLong().init___I__I(((rDouble | 0) | 0), ((x | 0) | 0))
+ } else {
+ return $m_sjsr_RuntimeLong$().Zero$1
+ }
+ } else if (((bhi === 0) && ((blo & (((-1) + blo) | 0)) === 0))) {
+ var pow = ((31 - $clz32(blo)) | 0);
+ return ((pow === 0) ? new $c_sjsr_RuntimeLong().init___I__I(alo, ahi) : new $c_sjsr_RuntimeLong().init___I__I((((alo >>> pow) | 0) | (ahi << ((-pow) | 0))), ((ahi >>> pow) | 0)))
+ } else if (((blo === 0) && ((bhi & (((-1) + bhi) | 0)) === 0))) {
+ var pow$2 = ((31 - $clz32(bhi)) | 0);
+ return new $c_sjsr_RuntimeLong().init___I__I(((ahi >>> pow$2) | 0), 0)
+ } else {
+ return this.unsignedDivModHelper__p2__I__I__I__I__I__sjs_js_$bar(alo, ahi, blo, bhi, 0)
+ }
+});
+$c_sjsr_RuntimeLong.prototype.$$div__sjsr_RuntimeLong__sjsr_RuntimeLong = (function(b) {
+ var alo = this.lo$2;
+ var ahi = this.hi$2;
+ var blo = b.lo$2;
+ var bhi = b.hi$2;
+ if (((blo | bhi) === 0)) {
+ throw new $c_jl_ArithmeticException().init___T("/ by zero")
+ };
+ if ((ahi === (alo >> 31))) {
+ return ((bhi === (blo >> 31)) ? (((alo === (-2147483648)) && (blo === (-1))) ? new $c_sjsr_RuntimeLong().init___I__I((-2147483648), 0) : new $c_sjsr_RuntimeLong().init___I(((alo / blo) | 0))) : (((alo === (-2147483648)) && ((blo === (-2147483648)) && (bhi === 0))) ? $m_sjsr_RuntimeLong$().MinusOne$1 : $m_sjsr_RuntimeLong$().Zero$1))
+ } else {
+ var neg = (ahi < 0);
+ var absLo = alo;
+ var absHi = ahi;
+ if (neg) {
+ absLo = ((-alo) | 0);
+ absHi = ((alo !== 0) ? (~ahi) : ((-ahi) | 0))
+ };
+ var _2 = absLo;
+ var _3 = absHi;
+ var neg$1 = (bhi < 0);
+ var absLo$1 = blo;
+ var absHi$1 = bhi;
+ if (neg$1) {
+ absLo$1 = ((-blo) | 0);
+ absHi$1 = ((blo !== 0) ? (~bhi) : ((-bhi) | 0))
+ };
+ var _2$1 = absLo$1;
+ var _3$1 = absHi$1;
+ var absR = this.unsigned$und$div__p2__I__I__I__I__sjsr_RuntimeLong(_2, _3, _2$1, _3$1);
+ if ((neg === neg$1)) {
+ return absR
+ } else {
+ var lo = absR.lo$2;
+ var hi = absR.hi$2;
+ return new $c_sjsr_RuntimeLong().init___I__I(((-lo) | 0), ((lo !== 0) ? (~hi) : ((-hi) | 0)))
+ }
+ }
+});
+$c_sjsr_RuntimeLong.prototype.toByte__B = (function() {
+ return ((this.lo$2 << 24) >> 24)
+});
+$c_sjsr_RuntimeLong.prototype.doubleValue__D = (function() {
+ return this.toDouble__D()
+});
+$c_sjsr_RuntimeLong.prototype.hashCode__I = (function() {
+ return (this.lo$2 ^ this.hi$2)
+});
+$c_sjsr_RuntimeLong.prototype.intValue__I = (function() {
+ return this.lo$2
+});
+$c_sjsr_RuntimeLong.prototype.toUnsignedString__p2__I__I__T = (function(lo, hi) {
+ if ((((-2097152) & hi) === 0)) {
+ var this$5 = ((4.294967296E9 * hi) + (+(lo >>> 0)));
+ return ("" + this$5)
+ } else {
+ var quotRem = this.unsignedDivModHelper__p2__I__I__I__I__I__sjs_js_$bar(lo, hi, 1000000000, 0, 2);
+ var quotLo = (quotRem["0"] | 0);
+ var quotHi = (quotRem["1"] | 0);
+ var rem = (quotRem["2"] | 0);
+ var quot = ((4.294967296E9 * quotHi) + (+(quotLo >>> 0)));
+ var remStr = ("" + rem);
+ return ((("" + quot) + "000000000"["substring"]((remStr["length"] | 0))) + remStr)
+ }
+});
+$c_sjsr_RuntimeLong.prototype.compareTo__jl_Long__I = (function(that) {
+ return this.compareTo__sjsr_RuntimeLong__I(that)
+});
+$c_sjsr_RuntimeLong.prototype.unary$und$tilde__sjsr_RuntimeLong = (function() {
+ return new $c_sjsr_RuntimeLong().init___I__I((~this.lo$2), (~this.hi$2))
+});
+$c_sjsr_RuntimeLong.prototype.floatValue__F = (function() {
+ return this.toFloat__F()
+});
+$c_sjsr_RuntimeLong.prototype.$$minus__sjsr_RuntimeLong__sjsr_RuntimeLong = (function(b) {
+ var alo = this.lo$2;
+ var ahi = this.hi$2;
+ var blo = b.lo$2;
+ var bhi = b.hi$2;
+ var lo = ((alo - blo) | 0);
+ var _2$mcI$sp = ((((ahi - bhi) | 0) + ((((-2147483648) ^ alo) < ((-2147483648) ^ lo)) ? (-1) : 0)) | 0);
+ return new $c_sjsr_RuntimeLong().init___I__I(lo, _2$mcI$sp)
+});
+$c_sjsr_RuntimeLong.prototype.toFloat__F = (function() {
+ return $fround(this.toDouble__D())
+});
+$c_sjsr_RuntimeLong.prototype.$$up__sjsr_RuntimeLong__sjsr_RuntimeLong = (function(b) {
+ return new $c_sjsr_RuntimeLong().init___I__I((this.lo$2 ^ b.lo$2), (this.hi$2 ^ b.hi$2))
+});
+$c_sjsr_RuntimeLong.prototype.equals__sjsr_RuntimeLong__Z = (function(b) {
+ return ((this.lo$2 === b.lo$2) && (this.hi$2 === b.hi$2))
});
function $is_sjsr_RuntimeLong(obj) {
return (!(!((obj && obj.$classData) && obj.$classData.ancestors.sjsr_RuntimeLong)))
@@ -7618,7 +5239,7 @@ function $h_jl_ArithmeticException() {
}
$h_jl_ArithmeticException.prototype = $c_jl_ArithmeticException.prototype;
$c_jl_ArithmeticException.prototype.init___T = (function(s) {
- $c_jl_RuntimeException.prototype.init___T.call(this, s);
+ $c_jl_Throwable.prototype.init___T__jl_Throwable.call(this, s, null);
return this
});
var $d_jl_ArithmeticException = new $TypeData().initClass({
@@ -7633,32 +5254,6 @@ var $d_jl_ArithmeticException = new $TypeData().initClass({
});
$c_jl_ArithmeticException.prototype.$classData = $d_jl_ArithmeticException;
/** @constructor */
-function $c_jl_ArrayStoreException() {
- $c_jl_RuntimeException.call(this)
-}
-$c_jl_ArrayStoreException.prototype = new $h_jl_RuntimeException();
-$c_jl_ArrayStoreException.prototype["constructor"] = $c_jl_ArrayStoreException;
-/** @constructor */
-function $h_jl_ArrayStoreException() {
- /*<skip>*/
-}
-$h_jl_ArrayStoreException.prototype = $c_jl_ArrayStoreException.prototype;
-$c_jl_ArrayStoreException.prototype.init___T = (function(s) {
- $c_jl_RuntimeException.prototype.init___T.call(this, s);
- return this
-});
-var $d_jl_ArrayStoreException = new $TypeData().initClass({
- jl_ArrayStoreException: 0
-}, false, "java.lang.ArrayStoreException", {
- jl_ArrayStoreException: 1,
- jl_RuntimeException: 1,
- jl_Exception: 1,
- jl_Throwable: 1,
- O: 1,
- Ljava_io_Serializable: 1
-});
-$c_jl_ArrayStoreException.prototype.$classData = $d_jl_ArrayStoreException;
-/** @constructor */
function $c_jl_IllegalArgumentException() {
$c_jl_RuntimeException.call(this)
}
@@ -7669,16 +5264,12 @@ function $h_jl_IllegalArgumentException() {
/*<skip>*/
}
$h_jl_IllegalArgumentException.prototype = $c_jl_IllegalArgumentException.prototype;
-$c_jl_IllegalArgumentException.prototype.init___T__jl_Throwable = (function(s, e) {
- $c_jl_RuntimeException.prototype.init___T__jl_Throwable.call(this, s, e);
+$c_jl_IllegalArgumentException.prototype.init___ = (function() {
+ $c_jl_Throwable.prototype.init___T__jl_Throwable.call(this, null, null);
return this
});
$c_jl_IllegalArgumentException.prototype.init___T = (function(s) {
- $c_jl_IllegalArgumentException.prototype.init___T__jl_Throwable.call(this, s, null);
- return this
-});
-$c_jl_IllegalArgumentException.prototype.init___ = (function() {
- $c_jl_IllegalArgumentException.prototype.init___T__jl_Throwable.call(this, null, null);
+ $c_jl_Throwable.prototype.init___T__jl_Throwable.call(this, s, null);
return this
});
var $d_jl_IllegalArgumentException = new $TypeData().initClass({
@@ -7704,7 +5295,7 @@ function $h_jl_IndexOutOfBoundsException() {
}
$h_jl_IndexOutOfBoundsException.prototype = $c_jl_IndexOutOfBoundsException.prototype;
$c_jl_IndexOutOfBoundsException.prototype.init___T = (function(s) {
- $c_jl_RuntimeException.prototype.init___T.call(this, s);
+ $c_jl_Throwable.prototype.init___T__jl_Throwable.call(this, s, null);
return this
});
var $d_jl_IndexOutOfBoundsException = new $TypeData().initClass({
@@ -7729,12 +5320,8 @@ function $h_jl_NullPointerException() {
/*<skip>*/
}
$h_jl_NullPointerException.prototype = $c_jl_NullPointerException.prototype;
-$c_jl_NullPointerException.prototype.init___T = (function(s) {
- $c_jl_RuntimeException.prototype.init___T.call(this, s);
- return this
-});
$c_jl_NullPointerException.prototype.init___ = (function() {
- $c_jl_NullPointerException.prototype.init___T.call(this, null);
+ $c_jl_Throwable.prototype.init___T__jl_Throwable.call(this, null, null);
return this
});
var $d_jl_NullPointerException = new $TypeData().initClass({
@@ -7759,12 +5346,8 @@ function $h_jl_UnsupportedOperationException() {
/*<skip>*/
}
$h_jl_UnsupportedOperationException.prototype = $c_jl_UnsupportedOperationException.prototype;
-$c_jl_UnsupportedOperationException.prototype.init___T__jl_Throwable = (function(s, e) {
- $c_jl_RuntimeException.prototype.init___T__jl_Throwable.call(this, s, e);
- return this
-});
$c_jl_UnsupportedOperationException.prototype.init___T = (function(s) {
- $c_jl_UnsupportedOperationException.prototype.init___T__jl_Throwable.call(this, s, null);
+ $c_jl_Throwable.prototype.init___T__jl_Throwable.call(this, s, null);
return this
});
var $d_jl_UnsupportedOperationException = new $TypeData().initClass({
@@ -7790,11 +5373,7 @@ function $h_ju_NoSuchElementException() {
}
$h_ju_NoSuchElementException.prototype = $c_ju_NoSuchElementException.prototype;
$c_ju_NoSuchElementException.prototype.init___T = (function(s) {
- $c_jl_RuntimeException.prototype.init___T.call(this, s);
- return this
-});
-$c_ju_NoSuchElementException.prototype.init___ = (function() {
- $c_ju_NoSuchElementException.prototype.init___T.call(this, null);
+ $c_jl_Throwable.prototype.init___T__jl_Throwable.call(this, s, null);
return this
});
var $d_ju_NoSuchElementException = new $TypeData().initClass({
@@ -7829,12 +5408,6 @@ $c_s_MatchError.prototype.objString$lzycompute__p4__T = (function() {
};
return this.objString$4
});
-$c_s_MatchError.prototype.objString__p4__T = (function() {
- return ((!this.bitmap$0$4) ? this.objString$lzycompute__p4__T() : this.objString$4)
-});
-$c_s_MatchError.prototype.getMessage__T = (function() {
- return this.objString__p4__T()
-});
$c_s_MatchError.prototype.ofClass$1__p4__T = (function() {
return ("of class " + $objectGetClass(this.obj$4).getName__T())
});
@@ -7843,16 +5416,22 @@ $c_s_MatchError.prototype.liftedTree1$1__p4__T = (function() {
return ((($objectToString(this.obj$4) + " (") + this.ofClass$1__p4__T()) + ")")
} catch (e) {
var e$2 = $m_sjsr_package$().wrapJavaScriptException__O__jl_Throwable(e);
- if ($is_jl_Throwable(e$2)) {
+ if ((e$2 !== null)) {
return ("an instance " + this.ofClass$1__p4__T())
} else {
throw e
}
}
});
+$c_s_MatchError.prototype.getMessage__T = (function() {
+ return this.objString__p4__T()
+});
+$c_s_MatchError.prototype.objString__p4__T = (function() {
+ return ((!this.bitmap$0$4) ? this.objString$lzycompute__p4__T() : this.objString$4)
+});
$c_s_MatchError.prototype.init___O = (function(obj) {
this.obj$4 = obj;
- $c_jl_RuntimeException.prototype.init___.call(this);
+ $c_jl_Throwable.prototype.init___T__jl_Throwable.call(this, null, null);
return this
});
var $d_s_MatchError = new $TypeData().initClass({
@@ -7877,11 +5456,6 @@ function $h_s_Option() {
/*<skip>*/
}
$h_s_Option.prototype = $c_s_Option.prototype;
-$c_s_Option.prototype.init___ = (function() {
- $c_O.prototype.init___.call(this);
- $s_s_Product$class__$$init$__s_Product__V(this);
- return this
-});
/** @constructor */
function $c_s_Predef$$anon$1() {
$c_s_Predef$$less$colon$less.call(this)
@@ -7893,13 +5467,12 @@ function $h_s_Predef$$anon$1() {
/*<skip>*/
}
$h_s_Predef$$anon$1.prototype = $c_s_Predef$$anon$1.prototype;
-$c_s_Predef$$anon$1.prototype.apply__O__O = (function(x) {
- return x
-});
$c_s_Predef$$anon$1.prototype.init___ = (function() {
- $c_s_Predef$$less$colon$less.prototype.init___.call(this);
return this
});
+$c_s_Predef$$anon$1.prototype.apply__O__O = (function(x) {
+ return x
+});
var $d_s_Predef$$anon$1 = new $TypeData().initClass({
s_Predef$$anon$1: 0
}, false, "scala.Predef$$anon$1", {
@@ -7922,13 +5495,12 @@ function $h_s_Predef$$anon$2() {
/*<skip>*/
}
$h_s_Predef$$anon$2.prototype = $c_s_Predef$$anon$2.prototype;
-$c_s_Predef$$anon$2.prototype.apply__O__O = (function(x) {
- return x
-});
$c_s_Predef$$anon$2.prototype.init___ = (function() {
- $c_s_Predef$$eq$colon$eq.prototype.init___.call(this);
return this
});
+$c_s_Predef$$anon$2.prototype.apply__O__O = (function(x) {
+ return x
+});
var $d_s_Predef$$anon$2 = new $TypeData().initClass({
s_Predef$$anon$2: 0
}, false, "scala.Predef$$anon$2", {
@@ -7952,91 +5524,74 @@ function $h_s_StringContext() {
/*<skip>*/
}
$h_s_StringContext.prototype = $c_s_StringContext.prototype;
-$c_s_StringContext.prototype.parts__sc_Seq = (function() {
- return this.parts$1
-});
-$c_s_StringContext.prototype.checkLengths__sc_Seq__V = (function(args) {
- if ((this.parts__sc_Seq().length__I() !== ((args.length__I() + 1) | 0))) {
- throw new $c_jl_IllegalArgumentException().init___T((((("wrong number of arguments (" + args.length__I()) + ") for interpolated string with ") + this.parts__sc_Seq().length__I()) + " parts"))
- }
-});
-$c_s_StringContext.prototype.s__sc_Seq__T = (function(args) {
- return this.standardInterpolator__F1__sc_Seq__T(new $c_sjsr_AnonFunction1().init___sjs_js_Function1((function($this) {
- return (function(str$2) {
- var str = str$2;
- return $this.$$anonfun$1__p1__T__T(str)
- })
- })(this)), args)
-});
-$c_s_StringContext.prototype.standardInterpolator__F1__sc_Seq__T = (function(process, args) {
- this.checkLengths__sc_Seq__V(args);
- var pi = this.parts__sc_Seq().iterator__sc_Iterator();
- var ai = args.iterator__sc_Iterator();
- var bldr = new $c_jl_StringBuilder().init___T(process.apply__O__O(pi.next__O()));
- while (ai.hasNext__Z()) {
- bldr.append__O__jl_StringBuilder(ai.next__O());
- bldr.append__T__jl_StringBuilder(process.apply__O__O(pi.next__O()))
- };
- return bldr.toString__T()
-});
$c_s_StringContext.prototype.productPrefix__T = (function() {
return "StringContext"
});
$c_s_StringContext.prototype.productArity__I = (function() {
return 1
});
+$c_s_StringContext.prototype.equals__O__Z = (function(x$1) {
+ if ((this === x$1)) {
+ return true
+ } else if ($is_s_StringContext(x$1)) {
+ var StringContext$1 = x$1;
+ var x = this.parts$1;
+ var x$2 = StringContext$1.parts$1;
+ return ((x === null) ? (x$2 === null) : x.equals__O__Z(x$2))
+ } else {
+ return false
+ }
+});
$c_s_StringContext.prototype.productElement__I__O = (function(x$1) {
- var x1 = x$1;
- switch (x1) {
+ switch (x$1) {
case 0: {
- return this.parts__sc_Seq();
+ return this.parts$1;
break
}
default: {
- throw new $c_jl_IndexOutOfBoundsException().init___T($objectToString(x$1))
+ throw new $c_jl_IndexOutOfBoundsException().init___T(("" + x$1))
}
}
});
-$c_s_StringContext.prototype.productIterator__sc_Iterator = (function() {
- return $m_sr_ScalaRunTime$().typedProductIterator__s_Product__sc_Iterator(this)
-});
-$c_s_StringContext.prototype.canEqual__O__Z = (function(x$1) {
- return $is_s_StringContext(x$1)
-});
-$c_s_StringContext.prototype.hashCode__I = (function() {
- return $m_sr_ScalaRunTime$().$$undhashCode__s_Product__I(this)
-});
$c_s_StringContext.prototype.toString__T = (function() {
return $m_sr_ScalaRunTime$().$$undtoString__s_Product__T(this)
});
-$c_s_StringContext.prototype.equals__O__Z = (function(x$1) {
- if ((this === x$1)) {
- return true
- } else {
- var x1 = x$1;
- if (($is_s_StringContext(x1) || false)) {
- var StringContext$1 = x$1;
- var x = this.parts__sc_Seq();
- var x$2 = StringContext$1.parts__sc_Seq();
- if (((x === null) ? (x$2 === null) : x.equals__O__Z(x$2))) {
- return StringContext$1.canEqual__O__Z(this)
- } else {
- return false
- }
- } else {
- return false
- }
+$c_s_StringContext.prototype.checkLengths__sc_Seq__V = (function(args) {
+ if ((this.parts$1.length__I() !== ((1 + args.length__I()) | 0))) {
+ throw new $c_jl_IllegalArgumentException().init___T((((("wrong number of arguments (" + args.length__I()) + ") for interpolated string with ") + this.parts$1.length__I()) + " parts"))
}
});
-$c_s_StringContext.prototype.$$anonfun$1__p1__T__T = (function(str) {
- return $m_s_StringContext$().treatEscapes__T__T(str)
+$c_s_StringContext.prototype.s__sc_Seq__T = (function(args) {
+ var f = (function($this) {
+ return (function(str$2) {
+ var str = str$2;
+ var this$1 = $m_s_StringContext$();
+ return this$1.treatEscapes0__p1__T__Z__T(str, false)
+ })
+ })(this);
+ this.checkLengths__sc_Seq__V(args);
+ var pi = this.parts$1.iterator__sc_Iterator();
+ var ai = args.iterator__sc_Iterator();
+ var arg1 = pi.next__O();
+ var bldr = new $c_jl_StringBuilder().init___T(f(arg1));
+ while (ai.hasNext__Z()) {
+ bldr.append__O__jl_StringBuilder(ai.next__O());
+ var arg1$1 = pi.next__O();
+ bldr.append__T__jl_StringBuilder(f(arg1$1))
+ };
+ return bldr.content$1
});
$c_s_StringContext.prototype.init___sc_Seq = (function(parts) {
this.parts$1 = parts;
- $c_O.prototype.init___.call(this);
- $s_s_Product$class__$$init$__s_Product__V(this);
return this
});
+$c_s_StringContext.prototype.hashCode__I = (function() {
+ var this$2 = $m_s_util_hashing_MurmurHash3$();
+ return this$2.productHash__s_Product__I__I(this, (-889275714))
+});
+$c_s_StringContext.prototype.productIterator__sc_Iterator = (function() {
+ return new $c_sr_ScalaRunTime$$anon$1().init___s_Product(this)
+});
function $is_s_StringContext(obj) {
return (!(!((obj && obj.$classData) && obj.$classData.ancestors.s_StringContext)))
}
@@ -8065,17 +5620,13 @@ function $h_s_util_control_BreakControl() {
/*<skip>*/
}
$h_s_util_control_BreakControl.prototype = $c_s_util_control_BreakControl.prototype;
-$c_s_util_control_BreakControl.prototype.scala$util$control$NoStackTrace$$super$fillInStackTrace__jl_Throwable = (function() {
- return $c_jl_Throwable.prototype.fillInStackTrace__jl_Throwable.call(this)
+$c_s_util_control_BreakControl.prototype.init___ = (function() {
+ $c_jl_Throwable.prototype.init___T__jl_Throwable.call(this, null, null);
+ return this
});
$c_s_util_control_BreakControl.prototype.fillInStackTrace__jl_Throwable = (function() {
return $s_s_util_control_NoStackTrace$class__fillInStackTrace__s_util_control_NoStackTrace__jl_Throwable(this)
});
-$c_s_util_control_BreakControl.prototype.init___ = (function() {
- $c_jl_Throwable.prototype.init___.call(this);
- $s_s_util_control_NoStackTrace$class__$$init$__s_util_control_NoStackTrace__V(this);
- return this
-});
var $d_s_util_control_BreakControl = new $TypeData().initClass({
s_util_control_BreakControl: 0
}, false, "scala.util.control.BreakControl", {
@@ -8100,7 +5651,6 @@ function $h_sc_Iterable$() {
$h_sc_Iterable$.prototype = $c_sc_Iterable$.prototype;
$c_sc_Iterable$.prototype.init___ = (function() {
$c_scg_GenTraversableFactory.prototype.init___.call(this);
- $n_sc_Iterable$ = this;
return this
});
var $d_sc_Iterable$ = new $TypeData().initClass({
@@ -8132,18 +5682,17 @@ function $h_sc_Iterator$$anon$2() {
/*<skip>*/
}
$h_sc_Iterator$$anon$2.prototype = $c_sc_Iterator$$anon$2.prototype;
-$c_sc_Iterator$$anon$2.prototype.hasNext__Z = (function() {
- return false
-});
-$c_sc_Iterator$$anon$2.prototype.next__sr_Nothing$ = (function() {
- throw new $c_ju_NoSuchElementException().init___T("next on empty iterator")
+$c_sc_Iterator$$anon$2.prototype.init___ = (function() {
+ return this
});
$c_sc_Iterator$$anon$2.prototype.next__O = (function() {
this.next__sr_Nothing$()
});
-$c_sc_Iterator$$anon$2.prototype.init___ = (function() {
- $c_sc_AbstractIterator.prototype.init___.call(this);
- return this
+$c_sc_Iterator$$anon$2.prototype.next__sr_Nothing$ = (function() {
+ throw new $c_ju_NoSuchElementException().init___T("next on empty iterator")
+});
+$c_sc_Iterator$$anon$2.prototype.hasNext__Z = (function() {
+ return false
});
var $d_sc_Iterator$$anon$2 = new $TypeData().initClass({
sc_Iterator$$anon$2: 0
@@ -8168,28 +5717,20 @@ function $h_sc_LinearSeqLike$$anon$1() {
/*<skip>*/
}
$h_sc_LinearSeqLike$$anon$1.prototype = $c_sc_LinearSeqLike$$anon$1.prototype;
-$c_sc_LinearSeqLike$$anon$1.prototype.these__p2__sc_LinearSeqLike = (function() {
- return this.these$2
-});
-$c_sc_LinearSeqLike$$anon$1.prototype.these$und$eq__p2__sc_LinearSeqLike__V = (function(x$1) {
- this.these$2 = x$1
-});
-$c_sc_LinearSeqLike$$anon$1.prototype.hasNext__Z = (function() {
- return (!this.these__p2__sc_LinearSeqLike().isEmpty__Z())
+$c_sc_LinearSeqLike$$anon$1.prototype.init___sc_LinearSeqLike = (function($$outer) {
+ this.these$2 = $$outer;
+ return this
});
$c_sc_LinearSeqLike$$anon$1.prototype.next__O = (function() {
if (this.hasNext__Z()) {
- var result = this.these__p2__sc_LinearSeqLike().head__O();
- this.these$und$eq__p2__sc_LinearSeqLike__V(this.these__p2__sc_LinearSeqLike().tail__O());
- return result
+ var this$1 = this.these$2;
+ this$1.head__sr_Nothing$()
} else {
- return $m_sc_Iterator$().empty__sc_Iterator().next__O()
+ return $m_sc_Iterator$().empty$1.next__O()
}
});
-$c_sc_LinearSeqLike$$anon$1.prototype.init___sc_LinearSeqLike = (function($$outer) {
- $c_sc_AbstractIterator.prototype.init___.call(this);
- this.these$2 = $$outer;
- return this
+$c_sc_LinearSeqLike$$anon$1.prototype.hasNext__Z = (function() {
+ return (!this.these$2.isEmpty__Z())
});
var $d_sc_LinearSeqLike$$anon$1 = new $TypeData().initClass({
sc_LinearSeqLike$$anon$1: 0
@@ -8249,10 +5790,6 @@ function $h_scg_ImmutableSetFactory() {
/*<skip>*/
}
$h_scg_ImmutableSetFactory.prototype = $c_scg_ImmutableSetFactory.prototype;
-$c_scg_ImmutableSetFactory.prototype.init___ = (function() {
- $c_scg_SetFactory.prototype.init___.call(this);
- return this
-});
/** @constructor */
function $c_sr_ScalaRunTime$$anon$1() {
$c_sc_AbstractIterator.call(this);
@@ -8261,260 +5798,74 @@ function $c_sr_ScalaRunTime$$anon$1() {
this.x$2$2 = null
}
$c_sr_ScalaRunTime$$anon$1.prototype = new $h_sc_AbstractIterator();
-$c_sr_ScalaRunTime$$anon$1.prototype["constructor"] = $c_sr_ScalaRunTime$$anon$1;
-/** @constructor */
-function $h_sr_ScalaRunTime$$anon$1() {
- /*<skip>*/
-}
-$h_sr_ScalaRunTime$$anon$1.prototype = $c_sr_ScalaRunTime$$anon$1.prototype;
-$c_sr_ScalaRunTime$$anon$1.prototype.c__p2__I = (function() {
- return this.c$2
-});
-$c_sr_ScalaRunTime$$anon$1.prototype.c$und$eq__p2__I__V = (function(x$1) {
- this.c$2 = x$1
-});
-$c_sr_ScalaRunTime$$anon$1.prototype.cmax__p2__I = (function() {
- return this.cmax$2
-});
-$c_sr_ScalaRunTime$$anon$1.prototype.hasNext__Z = (function() {
- return (this.c__p2__I() < this.cmax__p2__I())
-});
-$c_sr_ScalaRunTime$$anon$1.prototype.next__O = (function() {
- var result = this.x$2$2.productElement__I__O(this.c__p2__I());
- this.c$und$eq__p2__I__V(((this.c__p2__I() + 1) | 0));
- return result
-});
-$c_sr_ScalaRunTime$$anon$1.prototype.init___s_Product = (function(x$2) {
- this.x$2$2 = x$2;
- $c_sc_AbstractIterator.prototype.init___.call(this);
- this.c$2 = 0;
- this.cmax$2 = x$2.productArity__I();
- return this
-});
-var $d_sr_ScalaRunTime$$anon$1 = new $TypeData().initClass({
- sr_ScalaRunTime$$anon$1: 0
-}, false, "scala.runtime.ScalaRunTime$$anon$1", {
- sr_ScalaRunTime$$anon$1: 1,
- sc_AbstractIterator: 1,
- O: 1,
- sc_Iterator: 1,
- sc_TraversableOnce: 1,
- sc_GenTraversableOnce: 1
-});
-$c_sr_ScalaRunTime$$anon$1.prototype.$classData = $d_sr_ScalaRunTime$$anon$1;
-/** @constructor */
-function $c_Ljava_io_PrintStream() {
- $c_Ljava_io_FilterOutputStream.call(this);
- this.java$io$PrintStream$$autoFlush$f = false;
- this.charset$3 = null;
- this.java$io$PrintStream$$encoder$3 = null;
- this.java$io$PrintStream$$closing$3 = false;
- this.java$io$PrintStream$$closed$3 = false;
- this.errorFlag$3 = false;
- this.bitmap$0$3 = false
-}
-$c_Ljava_io_PrintStream.prototype = new $h_Ljava_io_FilterOutputStream();
-$c_Ljava_io_PrintStream.prototype["constructor"] = $c_Ljava_io_PrintStream;
-/** @constructor */
-function $h_Ljava_io_PrintStream() {
- /*<skip>*/
-}
-$h_Ljava_io_PrintStream.prototype = $c_Ljava_io_PrintStream.prototype;
-$c_Ljava_io_PrintStream.prototype.println__O__V = (function(obj) {
- this.print__O__V(obj);
- this.println__V()
-});
-$c_Ljava_io_PrintStream.prototype.init___Ljava_io_OutputStream__Z__Ljava_nio_charset_Charset = (function(_out, autoFlush, charset) {
- this.java$io$PrintStream$$autoFlush$f = autoFlush;
- this.charset$3 = charset;
- $c_Ljava_io_FilterOutputStream.prototype.init___Ljava_io_OutputStream.call(this, _out);
- this.java$io$PrintStream$$closing$3 = false;
- this.java$io$PrintStream$$closed$3 = false;
- this.errorFlag$3 = false;
- return this
-});
-$c_Ljava_io_PrintStream.prototype.init___Ljava_io_OutputStream = (function(out) {
- $c_Ljava_io_PrintStream.prototype.init___Ljava_io_OutputStream__Z__Ljava_nio_charset_Charset.call(this, out, false, null);
- return this
-});
-function $is_Ljava_io_PrintStream(obj) {
- return (!(!((obj && obj.$classData) && obj.$classData.ancestors.Ljava_io_PrintStream)))
-}
-function $isArrayOf_Ljava_io_PrintStream(obj, depth) {
- return (!(!(((obj && obj.$classData) && (obj.$classData.arrayDepth === depth)) && obj.$classData.arrayBase.ancestors.Ljava_io_PrintStream)))
-}
-/** @constructor */
-function $c_T2() {
- $c_O.call(this);
- this.$$und1$f = null;
- this.$$und2$f = null
-}
-$c_T2.prototype = new $h_O();
-$c_T2.prototype["constructor"] = $c_T2;
-/** @constructor */
-function $h_T2() {
- /*<skip>*/
-}
-$h_T2.prototype = $c_T2.prototype;
-$c_T2.prototype.productArity__I = (function() {
- return $s_s_Product2$class__productArity__s_Product2__I(this)
-});
-$c_T2.prototype.productElement__I__O = (function(n) {
- return $s_s_Product2$class__productElement__s_Product2__I__O(this, n)
-});
-$c_T2.prototype.toString__T = (function() {
- return (((("(" + this.$$und1__O()) + ",") + this.$$und2__O()) + ")")
-});
-$c_T2.prototype.productPrefix__T = (function() {
- return "Tuple2"
-});
-$c_T2.prototype.productIterator__sc_Iterator = (function() {
- return $m_sr_ScalaRunTime$().typedProductIterator__s_Product__sc_Iterator(this)
-});
-$c_T2.prototype.canEqual__O__Z = (function(x$1) {
- return $is_T2(x$1)
-});
-$c_T2.prototype.hashCode__I = (function() {
- return $m_sr_ScalaRunTime$().$$undhashCode__s_Product__I(this)
-});
-$c_T2.prototype.equals__O__Z = (function(x$1) {
- if ((this === x$1)) {
- return true
- } else {
- var x1 = x$1;
- if (($is_T2(x1) || false)) {
- var Tuple2$1 = x$1;
- return (($m_sr_BoxesRunTime$().equals__O__O__Z(this.$$und1__O(), Tuple2$1.$$und1__O()) && $m_sr_BoxesRunTime$().equals__O__O__Z(this.$$und2__O(), Tuple2$1.$$und2__O())) && Tuple2$1.canEqual__O__Z(this))
- } else {
- return false
- }
- }
-});
-$c_T2.prototype.init___O__O = (function(_1, _2) {
- this.$$und1$f = _1;
- this.$$und2$f = _2;
- $c_O.prototype.init___.call(this);
- $s_s_Product$class__$$init$__s_Product__V(this);
- $s_s_Product2$class__$$init$__s_Product2__V(this);
- return this
-});
-function $is_T2(obj) {
- return (!(!((obj && obj.$classData) && obj.$classData.ancestors.T2)))
-}
-function $isArrayOf_T2(obj, depth) {
- return (!(!(((obj && obj.$classData) && (obj.$classData.arrayDepth === depth)) && obj.$classData.arrayBase.ancestors.T2)))
-}
-/** @constructor */
-function $c_T3() {
- $c_O.call(this);
- this.$$und1$1 = null;
- this.$$und2$1 = null;
- this.$$und3$1 = null
-}
-$c_T3.prototype = new $h_O();
-$c_T3.prototype["constructor"] = $c_T3;
-/** @constructor */
-function $h_T3() {
- /*<skip>*/
-}
-$h_T3.prototype = $c_T3.prototype;
-$c_T3.prototype.productArity__I = (function() {
- return $s_s_Product3$class__productArity__s_Product3__I(this)
-});
-$c_T3.prototype.productElement__I__O = (function(n) {
- return $s_s_Product3$class__productElement__s_Product3__I__O(this, n)
-});
-$c_T3.prototype.$$und1__O = (function() {
- return this.$$und1$1
-});
-$c_T3.prototype.$$und2__O = (function() {
- return this.$$und2$1
-});
-$c_T3.prototype.$$und3__O = (function() {
- return this.$$und3$1
-});
-$c_T3.prototype.toString__T = (function() {
- return (((((("(" + this.$$und1__O()) + ",") + this.$$und2__O()) + ",") + this.$$und3__O()) + ")")
-});
-$c_T3.prototype.productPrefix__T = (function() {
- return "Tuple3"
-});
-$c_T3.prototype.productIterator__sc_Iterator = (function() {
- return $m_sr_ScalaRunTime$().typedProductIterator__s_Product__sc_Iterator(this)
-});
-$c_T3.prototype.canEqual__O__Z = (function(x$1) {
- return $is_T3(x$1)
-});
-$c_T3.prototype.hashCode__I = (function() {
- return $m_sr_ScalaRunTime$().$$undhashCode__s_Product__I(this)
-});
-$c_T3.prototype.equals__O__Z = (function(x$1) {
- if ((this === x$1)) {
- return true
- } else {
- var x1 = x$1;
- if (($is_T3(x1) || false)) {
- var Tuple3$1 = x$1;
- return ((($m_sr_BoxesRunTime$().equals__O__O__Z(this.$$und1__O(), Tuple3$1.$$und1__O()) && $m_sr_BoxesRunTime$().equals__O__O__Z(this.$$und2__O(), Tuple3$1.$$und2__O())) && $m_sr_BoxesRunTime$().equals__O__O__Z(this.$$und3__O(), Tuple3$1.$$und3__O())) && Tuple3$1.canEqual__O__Z(this))
- } else {
- return false
- }
- }
+$c_sr_ScalaRunTime$$anon$1.prototype["constructor"] = $c_sr_ScalaRunTime$$anon$1;
+/** @constructor */
+function $h_sr_ScalaRunTime$$anon$1() {
+ /*<skip>*/
+}
+$h_sr_ScalaRunTime$$anon$1.prototype = $c_sr_ScalaRunTime$$anon$1.prototype;
+$c_sr_ScalaRunTime$$anon$1.prototype.next__O = (function() {
+ var result = this.x$2$2.productElement__I__O(this.c$2);
+ this.c$2 = ((1 + this.c$2) | 0);
+ return result
});
-$c_T3.prototype.init___O__O__O = (function(_1, _2, _3) {
- this.$$und1$1 = _1;
- this.$$und2$1 = _2;
- this.$$und3$1 = _3;
- $c_O.prototype.init___.call(this);
- $s_s_Product$class__$$init$__s_Product__V(this);
- $s_s_Product3$class__$$init$__s_Product3__V(this);
+$c_sr_ScalaRunTime$$anon$1.prototype.init___s_Product = (function(x$2) {
+ this.x$2$2 = x$2;
+ this.c$2 = 0;
+ this.cmax$2 = x$2.productArity__I();
return this
});
-function $is_T3(obj) {
- return (!(!((obj && obj.$classData) && obj.$classData.ancestors.T3)))
-}
-function $isArrayOf_T3(obj, depth) {
- return (!(!(((obj && obj.$classData) && (obj.$classData.arrayDepth === depth)) && obj.$classData.arrayBase.ancestors.T3)))
-}
-var $d_T3 = new $TypeData().initClass({
- T3: 0
-}, false, "scala.Tuple3", {
- T3: 1,
+$c_sr_ScalaRunTime$$anon$1.prototype.hasNext__Z = (function() {
+ return (this.c$2 < this.cmax$2)
+});
+var $d_sr_ScalaRunTime$$anon$1 = new $TypeData().initClass({
+ sr_ScalaRunTime$$anon$1: 0
+}, false, "scala.runtime.ScalaRunTime$$anon$1", {
+ sr_ScalaRunTime$$anon$1: 1,
+ sc_AbstractIterator: 1,
O: 1,
- s_Product3: 1,
- s_Product: 1,
- s_Equals: 1,
- s_Serializable: 1,
- Ljava_io_Serializable: 1
+ sc_Iterator: 1,
+ sc_TraversableOnce: 1,
+ sc_GenTraversableOnce: 1
});
-$c_T3.prototype.$classData = $d_T3;
+$c_sr_ScalaRunTime$$anon$1.prototype.$classData = $d_sr_ScalaRunTime$$anon$1;
/** @constructor */
-function $c_jl_ArrayIndexOutOfBoundsException() {
- $c_jl_IndexOutOfBoundsException.call(this)
+function $c_Ljava_io_PrintStream() {
+ $c_Ljava_io_FilterOutputStream.call(this);
+ this.java$io$PrintStream$$autoFlush$f = false;
+ this.charset$3 = null;
+ this.java$io$PrintStream$$encoder$3 = null;
+ this.java$io$PrintStream$$closing$3 = false;
+ this.java$io$PrintStream$$closed$3 = false;
+ this.errorFlag$3 = false;
+ this.bitmap$0$3 = false
}
-$c_jl_ArrayIndexOutOfBoundsException.prototype = new $h_jl_IndexOutOfBoundsException();
-$c_jl_ArrayIndexOutOfBoundsException.prototype["constructor"] = $c_jl_ArrayIndexOutOfBoundsException;
+$c_Ljava_io_PrintStream.prototype = new $h_Ljava_io_FilterOutputStream();
+$c_Ljava_io_PrintStream.prototype["constructor"] = $c_Ljava_io_PrintStream;
/** @constructor */
-function $h_jl_ArrayIndexOutOfBoundsException() {
+function $h_Ljava_io_PrintStream() {
/*<skip>*/
}
-$h_jl_ArrayIndexOutOfBoundsException.prototype = $c_jl_ArrayIndexOutOfBoundsException.prototype;
-$c_jl_ArrayIndexOutOfBoundsException.prototype.init___T = (function(s) {
- $c_jl_IndexOutOfBoundsException.prototype.init___T.call(this, s);
- return this
+$h_Ljava_io_PrintStream.prototype = $c_Ljava_io_PrintStream.prototype;
+$c_Ljava_io_PrintStream.prototype.println__O__V = (function(obj) {
+ this.print__O__V(obj);
+ this.printString__p4__T__V("\n")
});
-var $d_jl_ArrayIndexOutOfBoundsException = new $TypeData().initClass({
- jl_ArrayIndexOutOfBoundsException: 0
-}, false, "java.lang.ArrayIndexOutOfBoundsException", {
- jl_ArrayIndexOutOfBoundsException: 1,
- jl_IndexOutOfBoundsException: 1,
- jl_RuntimeException: 1,
- jl_Exception: 1,
- jl_Throwable: 1,
- O: 1,
- Ljava_io_Serializable: 1
+$c_Ljava_io_PrintStream.prototype.init___Ljava_io_OutputStream__Z__Ljava_nio_charset_Charset = (function(_out, autoFlush, charset) {
+ this.java$io$PrintStream$$autoFlush$f = autoFlush;
+ this.charset$3 = charset;
+ $c_Ljava_io_FilterOutputStream.prototype.init___Ljava_io_OutputStream.call(this, _out);
+ this.java$io$PrintStream$$closing$3 = false;
+ this.java$io$PrintStream$$closed$3 = false;
+ this.errorFlag$3 = false;
+ return this
});
-$c_jl_ArrayIndexOutOfBoundsException.prototype.$classData = $d_jl_ArrayIndexOutOfBoundsException;
+function $is_Ljava_io_PrintStream(obj) {
+ return (!(!((obj && obj.$classData) && obj.$classData.ancestors.Ljava_io_PrintStream)))
+}
+function $isArrayOf_Ljava_io_PrintStream(obj, depth) {
+ return (!(!(((obj && obj.$classData) && (obj.$classData.arrayDepth === depth)) && obj.$classData.arrayBase.ancestors.Ljava_io_PrintStream)))
+}
/** @constructor */
function $c_s_None$() {
$c_s_Option.call(this)
@@ -8526,6 +5877,9 @@ function $h_s_None$() {
/*<skip>*/
}
$h_s_None$.prototype = $c_s_None$.prototype;
+$c_s_None$.prototype.init___ = (function() {
+ return this
+});
$c_s_None$.prototype.productPrefix__T = (function() {
return "None"
});
@@ -8533,22 +5887,16 @@ $c_s_None$.prototype.productArity__I = (function() {
return 0
});
$c_s_None$.prototype.productElement__I__O = (function(x$1) {
- var x1 = x$1;
- throw new $c_jl_IndexOutOfBoundsException().init___T($objectToString(x$1))
+ throw new $c_jl_IndexOutOfBoundsException().init___T(("" + x$1))
});
-$c_s_None$.prototype.productIterator__sc_Iterator = (function() {
- return $m_sr_ScalaRunTime$().typedProductIterator__s_Product__sc_Iterator(this)
+$c_s_None$.prototype.toString__T = (function() {
+ return "None"
});
$c_s_None$.prototype.hashCode__I = (function() {
return 2433880
});
-$c_s_None$.prototype.toString__T = (function() {
- return "None"
-});
-$c_s_None$.prototype.init___ = (function() {
- $c_s_Option.prototype.init___.call(this);
- $n_s_None$ = this;
- return this
+$c_s_None$.prototype.productIterator__sc_Iterator = (function() {
+ return new $c_sr_ScalaRunTime$$anon$1().init___s_Product(this)
});
var $d_s_None$ = new $TypeData().initClass({
s_None$: 0
@@ -8583,10 +5931,18 @@ function $h_s_StringContext$InvalidEscapeException() {
$h_s_StringContext$InvalidEscapeException.prototype = $c_s_StringContext$InvalidEscapeException.prototype;
$c_s_StringContext$InvalidEscapeException.prototype.init___T__I = (function(str, index) {
this.index$5 = index;
- var jsx$1 = new $c_s_StringContext().init___sc_Seq(new $c_sjs_js_WrappedArray().init___sjs_js_Array(["invalid escape ", " index ", " in \"", "\". Use \\\\\\\\ for literal \\\\."]));
- $m_s_Predef$().require__Z__V(((index >= 0) && (index < $m_sjsr_RuntimeString$().length__T__I(str))));
- var ok = "[\\b, \\t, \\n, \\f, \\r, \\\\, \\\", \\']";
- $c_jl_IllegalArgumentException.prototype.init___T.call(this, jsx$1.s__sc_Seq__T(new $c_sjs_js_WrappedArray().init___sjs_js_Array([((index === (($m_sjsr_RuntimeString$().length__T__I(str) - 1) | 0)) ? "at terminal" : new $c_s_StringContext().init___sc_Seq(new $c_sjs_js_WrappedArray().init___sjs_js_Array(["'\\\\", "' not one of ", " at"])).s__sc_Seq__T(new $c_sjs_js_WrappedArray().init___sjs_js_Array([$m_sr_BoxesRunTime$().boxToCharacter__C__jl_Character($m_sci_StringOps$().apply$extension__T__I__C($m_s_Predef$().augmentString__T__T(str), ((index + 1) | 0))), ok]))), index, str])));
+ var jsx$3 = new $c_s_StringContext().init___sc_Seq(new $c_sjs_js_WrappedArray().init___sjs_js_Array(["invalid escape ", " index ", " in \"", "\". Use \\\\\\\\ for literal \\\\."]));
+ $m_s_Predef$().require__Z__V(((index >= 0) && (index < (str["length"] | 0))));
+ if ((index === (((-1) + (str["length"] | 0)) | 0))) {
+ var jsx$1 = "at terminal"
+ } else {
+ var jsx$2 = new $c_s_StringContext().init___sc_Seq(new $c_sjs_js_WrappedArray().init___sjs_js_Array(["'\\\\", "' not one of ", " at"]));
+ var index$1 = ((1 + index) | 0);
+ var c = (65535 & (str["charCodeAt"](index$1) | 0));
+ var jsx$1 = jsx$2.s__sc_Seq__T(new $c_sjs_js_WrappedArray().init___sjs_js_Array([new $c_jl_Character().init___C(c), "[\\b, \\t, \\n, \\f, \\r, \\\\, \\\", \\']"]))
+ };
+ var s = jsx$3.s__sc_Seq__T(new $c_sjs_js_WrappedArray().init___sjs_js_Array([jsx$1, index, str]));
+ $c_jl_Throwable.prototype.init___T__jl_Throwable.call(this, s, null);
return this
});
var $d_s_StringContext$InvalidEscapeException = new $TypeData().initClass({
@@ -8612,10 +5968,6 @@ function $h_scg_SeqFactory() {
/*<skip>*/
}
$h_scg_SeqFactory.prototype = $c_scg_SeqFactory.prototype;
-$c_scg_SeqFactory.prototype.init___ = (function() {
- $c_scg_GenSeqFactory.prototype.init___.call(this);
- return this
-});
/** @constructor */
function $c_sci_Set$() {
$c_scg_ImmutableSetFactory.call(this)
@@ -8628,8 +5980,6 @@ function $h_sci_Set$() {
}
$h_sci_Set$.prototype = $c_sci_Set$.prototype;
$c_sci_Set$.prototype.init___ = (function() {
- $c_scg_ImmutableSetFactory.prototype.init___.call(this);
- $n_sci_Set$ = this;
return this
});
var $d_sci_Set$ = new $TypeData().initClass({
@@ -8674,121 +6024,80 @@ function $h_sci_VectorIterator() {
/*<skip>*/
}
$h_sci_VectorIterator.prototype = $c_sci_VectorIterator.prototype;
+$c_sci_VectorIterator.prototype.next__O = (function() {
+ if ((!this.$$undhasNext$2)) {
+ throw new $c_ju_NoSuchElementException().init___T("reached iterator end")
+ };
+ var res = this.display0$2.u[this.lo$2];
+ this.lo$2 = ((1 + this.lo$2) | 0);
+ if ((this.lo$2 === this.endLo$2)) {
+ if ((((this.blockIndex$2 + this.lo$2) | 0) < this.endIndex$2)) {
+ var newBlockIndex = ((32 + this.blockIndex$2) | 0);
+ var xor = (this.blockIndex$2 ^ newBlockIndex);
+ $s_sci_VectorPointer$class__gotoNextBlockStart__sci_VectorPointer__I__I__V(this, newBlockIndex, xor);
+ this.blockIndex$2 = newBlockIndex;
+ var x = ((this.endIndex$2 - this.blockIndex$2) | 0);
+ this.endLo$2 = ((x < 32) ? x : 32);
+ this.lo$2 = 0
+ } else {
+ this.$$undhasNext$2 = false
+ }
+ };
+ return res
+});
+$c_sci_VectorIterator.prototype.display3__AO = (function() {
+ return this.display3$2
+});
$c_sci_VectorIterator.prototype.depth__I = (function() {
return this.depth$2
});
-$c_sci_VectorIterator.prototype.depth$und$eq__I__V = (function(x$1) {
- this.depth$2 = x$1
+$c_sci_VectorIterator.prototype.display5$und$eq__AO__V = (function(x$1) {
+ this.display5$2 = x$1
+});
+$c_sci_VectorIterator.prototype.init___I__I = (function(_startIndex, endIndex) {
+ this.endIndex$2 = endIndex;
+ this.blockIndex$2 = ((-32) & _startIndex);
+ this.lo$2 = (31 & _startIndex);
+ var x = ((endIndex - this.blockIndex$2) | 0);
+ this.endLo$2 = ((x < 32) ? x : 32);
+ this.$$undhasNext$2 = (((this.blockIndex$2 + this.lo$2) | 0) < endIndex);
+ return this
});
$c_sci_VectorIterator.prototype.display0__AO = (function() {
return this.display0$2
});
-$c_sci_VectorIterator.prototype.display0$und$eq__AO__V = (function(x$1) {
- this.display0$2 = x$1
-});
-$c_sci_VectorIterator.prototype.display1__AO = (function() {
- return this.display1$2
-});
-$c_sci_VectorIterator.prototype.display1$und$eq__AO__V = (function(x$1) {
- this.display1$2 = x$1
-});
-$c_sci_VectorIterator.prototype.display2__AO = (function() {
- return this.display2$2
+$c_sci_VectorIterator.prototype.display4__AO = (function() {
+ return this.display4$2
});
$c_sci_VectorIterator.prototype.display2$und$eq__AO__V = (function(x$1) {
this.display2$2 = x$1
});
-$c_sci_VectorIterator.prototype.display3__AO = (function() {
- return this.display3$2
-});
-$c_sci_VectorIterator.prototype.display3$und$eq__AO__V = (function(x$1) {
- this.display3$2 = x$1
+$c_sci_VectorIterator.prototype.display1$und$eq__AO__V = (function(x$1) {
+ this.display1$2 = x$1
});
-$c_sci_VectorIterator.prototype.display4__AO = (function() {
- return this.display4$2
+$c_sci_VectorIterator.prototype.hasNext__Z = (function() {
+ return this.$$undhasNext$2
});
$c_sci_VectorIterator.prototype.display4$und$eq__AO__V = (function(x$1) {
this.display4$2 = x$1
});
+$c_sci_VectorIterator.prototype.display1__AO = (function() {
+ return this.display1$2
+});
$c_sci_VectorIterator.prototype.display5__AO = (function() {
return this.display5$2
});
-$c_sci_VectorIterator.prototype.display5$und$eq__AO__V = (function(x$1) {
- this.display5$2 = x$1
-});
-$c_sci_VectorIterator.prototype.initFrom__sci_VectorPointer__V = (function(that) {
- $s_sci_VectorPointer$class__initFrom__sci_VectorPointer__sci_VectorPointer__V(this, that)
-});
-$c_sci_VectorIterator.prototype.initFrom__sci_VectorPointer__I__V = (function(that, depth) {
- $s_sci_VectorPointer$class__initFrom__sci_VectorPointer__sci_VectorPointer__I__V(this, that, depth)
-});
-$c_sci_VectorIterator.prototype.gotoPos__I__I__V = (function(index, xor) {
- $s_sci_VectorPointer$class__gotoPos__sci_VectorPointer__I__I__V(this, index, xor)
-});
-$c_sci_VectorIterator.prototype.gotoNextBlockStart__I__I__V = (function(index, xor) {
- $s_sci_VectorPointer$class__gotoNextBlockStart__sci_VectorPointer__I__I__V(this, index, xor)
-});
-$c_sci_VectorIterator.prototype.copyOf__AO__AO = (function(a) {
- return $s_sci_VectorPointer$class__copyOf__sci_VectorPointer__AO__AO(this, a)
-});
-$c_sci_VectorIterator.prototype.stabilize__I__V = (function(index) {
- $s_sci_VectorPointer$class__stabilize__sci_VectorPointer__I__V(this, index)
-});
-$c_sci_VectorIterator.prototype.blockIndex__p2__I = (function() {
- return this.blockIndex$2
-});
-$c_sci_VectorIterator.prototype.blockIndex$und$eq__p2__I__V = (function(x$1) {
- this.blockIndex$2 = x$1
-});
-$c_sci_VectorIterator.prototype.lo__p2__I = (function() {
- return this.lo$2
-});
-$c_sci_VectorIterator.prototype.lo$und$eq__p2__I__V = (function(x$1) {
- this.lo$2 = x$1
-});
-$c_sci_VectorIterator.prototype.endLo__p2__I = (function() {
- return this.endLo$2
-});
-$c_sci_VectorIterator.prototype.endLo$und$eq__p2__I__V = (function(x$1) {
- this.endLo$2 = x$1
-});
-$c_sci_VectorIterator.prototype.hasNext__Z = (function() {
- return this.$$undhasNext__p2__Z()
-});
-$c_sci_VectorIterator.prototype.$$undhasNext__p2__Z = (function() {
- return this.$$undhasNext$2
+$c_sci_VectorIterator.prototype.depth$und$eq__I__V = (function(x$1) {
+ this.depth$2 = x$1
});
-$c_sci_VectorIterator.prototype.$$undhasNext$und$eq__p2__Z__V = (function(x$1) {
- this.$$undhasNext$2 = x$1
+$c_sci_VectorIterator.prototype.display2__AO = (function() {
+ return this.display2$2
});
-$c_sci_VectorIterator.prototype.next__O = (function() {
- if ((!this.$$undhasNext__p2__Z())) {
- throw new $c_ju_NoSuchElementException().init___T("reached iterator end")
- };
- var res = this.display0__AO().u[this.lo__p2__I()];
- this.lo$und$eq__p2__I__V(((this.lo__p2__I() + 1) | 0));
- if ((this.lo__p2__I() === this.endLo__p2__I())) {
- if ((((this.blockIndex__p2__I() + this.lo__p2__I()) | 0) < this.endIndex$2)) {
- var newBlockIndex = ((this.blockIndex__p2__I() + 32) | 0);
- this.gotoNextBlockStart__I__I__V(newBlockIndex, (this.blockIndex__p2__I() ^ newBlockIndex));
- this.blockIndex$und$eq__p2__I__V(newBlockIndex);
- this.endLo$und$eq__p2__I__V($m_s_math_package$().min__I__I__I(((this.endIndex$2 - this.blockIndex__p2__I()) | 0), 32));
- this.lo$und$eq__p2__I__V(0)
- } else {
- this.$$undhasNext$und$eq__p2__Z__V(false)
- }
- };
- return res
+$c_sci_VectorIterator.prototype.display0$und$eq__AO__V = (function(x$1) {
+ this.display0$2 = x$1
});
-$c_sci_VectorIterator.prototype.init___I__I = (function(_startIndex, endIndex) {
- this.endIndex$2 = endIndex;
- $c_sc_AbstractIterator.prototype.init___.call(this);
- $s_sci_VectorPointer$class__$$init$__sci_VectorPointer__V(this);
- this.blockIndex$2 = (_startIndex & (~31));
- this.lo$2 = (_startIndex & 31);
- this.endLo$2 = $m_s_math_package$().min__I__I__I(((endIndex - this.blockIndex__p2__I()) | 0), 32);
- this.$$undhasNext$2 = (((this.blockIndex__p2__I() + this.lo__p2__I()) | 0) < endIndex);
- return this
+$c_sci_VectorIterator.prototype.display3$und$eq__AO__V = (function(x$1) {
+ this.display3$2 = x$1
});
var $d_sci_VectorIterator = new $TypeData().initClass({
sci_VectorIterator: 0
@@ -8816,56 +6125,58 @@ function $h_jl_JSConsoleBasedPrintStream() {
/*<skip>*/
}
$h_jl_JSConsoleBasedPrintStream.prototype = $c_jl_JSConsoleBasedPrintStream.prototype;
-$c_jl_JSConsoleBasedPrintStream.prototype.flushed$und$eq__p4__Z__V = (function(x$1) {
- this.flushed$4 = x$1
-});
-$c_jl_JSConsoleBasedPrintStream.prototype.buffer__p4__T = (function() {
- return this.buffer$4
-});
-$c_jl_JSConsoleBasedPrintStream.prototype.buffer$und$eq__p4__T__V = (function(x$1) {
- this.buffer$4 = x$1
+$c_jl_JSConsoleBasedPrintStream.prototype.init___jl_Boolean = (function(isErr) {
+ this.isErr$4 = isErr;
+ var out = new $c_jl_JSConsoleBasedPrintStream$DummyOutputStream().init___();
+ $c_Ljava_io_PrintStream.prototype.init___Ljava_io_OutputStream__Z__Ljava_nio_charset_Charset.call(this, out, false, null);
+ this.flushed$4 = true;
+ this.buffer$4 = "";
+ return this
});
$c_jl_JSConsoleBasedPrintStream.prototype.print__T__V = (function(s) {
this.printString__p4__T__V(((s === null) ? "null" : s))
});
+$c_jl_JSConsoleBasedPrintStream.prototype.doWriteLine__p4__T__V = (function(line) {
+ var x = $g["console"];
+ if ((!(!(!(!x))))) {
+ var x$1 = this.isErr$4;
+ if ((!(!x$1))) {
+ var x$2 = $g["console"]["error"];
+ var jsx$1 = (!(!(!(!x$2))))
+ } else {
+ var jsx$1 = false
+ };
+ if (jsx$1) {
+ $g["console"]["error"](line)
+ } else {
+ $g["console"]["log"](line)
+ }
+ }
+});
$c_jl_JSConsoleBasedPrintStream.prototype.print__O__V = (function(obj) {
this.printString__p4__T__V($m_sjsr_RuntimeString$().valueOf__O__T(obj))
});
-$c_jl_JSConsoleBasedPrintStream.prototype.println__V = (function() {
- this.printString__p4__T__V("\n")
-});
$c_jl_JSConsoleBasedPrintStream.prototype.printString__p4__T__V = (function(s) {
var rest = s;
- while ((!(rest === ""))) {
- var nlPos = $m_sjsr_RuntimeString$().indexOf__T__T__I(rest, "\n");
+ while ((rest !== "")) {
+ var thiz = rest;
+ var nlPos = (thiz["indexOf"]("\n") | 0);
if ((nlPos < 0)) {
- this.buffer$und$eq__p4__T__V((("" + this.buffer__p4__T()) + rest));
- this.flushed$und$eq__p4__Z__V(false);
+ this.buffer$4 = (("" + this.buffer$4) + rest);
+ this.flushed$4 = false;
rest = ""
} else {
- this.doWriteLine__p4__T__V((("" + this.buffer__p4__T()) + $m_sjsr_RuntimeString$().substring__T__I__I__T(rest, 0, nlPos)));
- this.buffer$und$eq__p4__T__V("");
- this.flushed$und$eq__p4__Z__V(true);
- rest = $m_sjsr_RuntimeString$().substring__T__I__T(rest, ((nlPos + 1) | 0))
- }
- }
-});
-$c_jl_JSConsoleBasedPrintStream.prototype.doWriteLine__p4__T__V = (function(line) {
- if ($m_sjs_js_DynamicImplicits$().truthValue__sjs_js_Dynamic__Z($m_sjs_js_Dynamic$().global__sjs_js_Dynamic()["console"])) {
- if (($m_s_Predef$().Boolean2boolean__jl_Boolean__Z(this.isErr$4) && $m_sjs_js_DynamicImplicits$().truthValue__sjs_js_Dynamic__Z($m_sjs_js_Dynamic$().global__sjs_js_Dynamic()["console"]["error"]))) {
- $m_sjs_js_Dynamic$().global__sjs_js_Dynamic()["console"]["error"]($m_sjs_js_Any$().fromString__T__sjs_js_Any(line))
- } else {
- $m_sjs_js_Dynamic$().global__sjs_js_Dynamic()["console"]["log"]($m_sjs_js_Any$().fromString__T__sjs_js_Any(line))
+ var jsx$1 = this.buffer$4;
+ var thiz$1 = rest;
+ this.doWriteLine__p4__T__V((("" + jsx$1) + thiz$1["substring"](0, nlPos)));
+ this.buffer$4 = "";
+ this.flushed$4 = true;
+ var thiz$2 = rest;
+ var beginIndex = ((1 + nlPos) | 0);
+ rest = thiz$2["substring"](beginIndex)
}
}
});
-$c_jl_JSConsoleBasedPrintStream.prototype.init___jl_Boolean = (function(isErr) {
- this.isErr$4 = isErr;
- $c_Ljava_io_PrintStream.prototype.init___Ljava_io_OutputStream.call(this, new $c_jl_JSConsoleBasedPrintStream$DummyOutputStream().init___());
- this.flushed$4 = true;
- this.buffer$4 = "";
- return this
-});
var $d_jl_JSConsoleBasedPrintStream = new $TypeData().initClass({
jl_JSConsoleBasedPrintStream: 0
}, false, "java.lang.JSConsoleBasedPrintStream", {
@@ -8891,8 +6202,7 @@ function $h_sc_Seq$() {
}
$h_sc_Seq$.prototype = $c_sc_Seq$.prototype;
$c_sc_Seq$.prototype.init___ = (function() {
- $c_scg_SeqFactory.prototype.init___.call(this);
- $n_sc_Seq$ = this;
+ $c_scg_GenTraversableFactory.prototype.init___.call(this);
return this
});
var $d_sc_Seq$ = new $TypeData().initClass({
@@ -8926,62 +6236,6 @@ function $h_scg_IndexedSeqFactory() {
/*<skip>*/
}
$h_scg_IndexedSeqFactory.prototype = $c_scg_IndexedSeqFactory.prototype;
-$c_scg_IndexedSeqFactory.prototype.init___ = (function() {
- $c_scg_SeqFactory.prototype.init___.call(this);
- return this
-});
-/** @constructor */
-function $c_s_Tuple2$mcII$sp() {
- $c_T2.call(this);
- this.$$und1$mcI$sp$f = 0;
- this.$$und2$mcI$sp$f = 0
-}
-$c_s_Tuple2$mcII$sp.prototype = new $h_T2();
-$c_s_Tuple2$mcII$sp.prototype["constructor"] = $c_s_Tuple2$mcII$sp;
-/** @constructor */
-function $h_s_Tuple2$mcII$sp() {
- /*<skip>*/
-}
-$h_s_Tuple2$mcII$sp.prototype = $c_s_Tuple2$mcII$sp.prototype;
-$c_s_Tuple2$mcII$sp.prototype.$$und1$mcI$sp__I = (function() {
- return this.$$und1$mcI$sp$f
-});
-$c_s_Tuple2$mcII$sp.prototype.$$und1__I = (function() {
- return this.$$und1$mcI$sp__I()
-});
-$c_s_Tuple2$mcII$sp.prototype.$$und2$mcI$sp__I = (function() {
- return this.$$und2$mcI$sp$f
-});
-$c_s_Tuple2$mcII$sp.prototype.$$und2__I = (function() {
- return this.$$und2$mcI$sp__I()
-});
-$c_s_Tuple2$mcII$sp.prototype.$$und2__O = (function() {
- return this.$$und2__I()
-});
-$c_s_Tuple2$mcII$sp.prototype.$$und1__O = (function() {
- return this.$$und1__I()
-});
-$c_s_Tuple2$mcII$sp.prototype.init___I__I = (function(_1$mcI$sp, _2$mcI$sp) {
- this.$$und1$mcI$sp$f = _1$mcI$sp;
- this.$$und2$mcI$sp$f = _2$mcI$sp;
- $c_T2.prototype.init___O__O.call(this, null, null);
- $s_s_Product2$mcII$sp$class__$$init$__s_Product2$mcII$sp__V(this);
- return this
-});
-var $d_s_Tuple2$mcII$sp = new $TypeData().initClass({
- s_Tuple2$mcII$sp: 0
-}, false, "scala.Tuple2$mcII$sp", {
- s_Tuple2$mcII$sp: 1,
- T2: 1,
- O: 1,
- s_Product2: 1,
- s_Product: 1,
- s_Equals: 1,
- s_Serializable: 1,
- Ljava_io_Serializable: 1,
- s_Product2$mcII$sp: 1
-});
-$c_s_Tuple2$mcII$sp.prototype.$classData = $d_s_Tuple2$mcII$sp;
/** @constructor */
function $c_s_reflect_AnyValManifest() {
$c_O.call(this);
@@ -8994,22 +6248,14 @@ function $h_s_reflect_AnyValManifest() {
/*<skip>*/
}
$h_s_reflect_AnyValManifest.prototype = $c_s_reflect_AnyValManifest.prototype;
-$c_s_reflect_AnyValManifest.prototype.toString__T = (function() {
- return this.toString$1
-});
$c_s_reflect_AnyValManifest.prototype.equals__O__Z = (function(that) {
return (this === that)
});
-$c_s_reflect_AnyValManifest.prototype.hashCode__I = (function() {
- return $m_jl_System$().identityHashCode__O__I(this)
+$c_s_reflect_AnyValManifest.prototype.toString__T = (function() {
+ return this.toString$1
});
-$c_s_reflect_AnyValManifest.prototype.init___T = (function(toString) {
- this.toString$1 = toString;
- $c_O.prototype.init___.call(this);
- $s_s_reflect_ClassManifestDeprecatedApis$class__$$init$__s_reflect_ClassTag__V(this);
- $s_s_reflect_ClassTag$class__$$init$__s_reflect_ClassTag__V(this);
- $s_s_reflect_Manifest$class__$$init$__s_reflect_Manifest__V(this);
- return this
+$c_s_reflect_AnyValManifest.prototype.hashCode__I = (function() {
+ return $systemIdentityHashCode(this)
});
/** @constructor */
function $c_s_reflect_ManifestFactory$ClassTypeManifest() {
@@ -9025,16 +6271,6 @@ function $h_s_reflect_ManifestFactory$ClassTypeManifest() {
/*<skip>*/
}
$h_s_reflect_ManifestFactory$ClassTypeManifest.prototype = $c_s_reflect_ManifestFactory$ClassTypeManifest.prototype;
-$c_s_reflect_ManifestFactory$ClassTypeManifest.prototype.init___s_Option__jl_Class__sci_List = (function(prefix, runtimeClass1, typeArguments) {
- this.prefix$1 = prefix;
- this.runtimeClass1$1 = runtimeClass1;
- this.typeArguments$1 = typeArguments;
- $c_O.prototype.init___.call(this);
- $s_s_reflect_ClassManifestDeprecatedApis$class__$$init$__s_reflect_ClassTag__V(this);
- $s_s_reflect_ClassTag$class__$$init$__s_reflect_ClassTag__V(this);
- $s_s_reflect_Manifest$class__$$init$__s_reflect_Manifest__V(this);
- return this
-});
/** @constructor */
function $c_sc_IndexedSeq$() {
$c_scg_IndexedSeqFactory.call(this);
@@ -9048,7 +6284,7 @@ function $h_sc_IndexedSeq$() {
}
$h_sc_IndexedSeq$.prototype = $c_sc_IndexedSeq$.prototype;
$c_sc_IndexedSeq$.prototype.init___ = (function() {
- $c_scg_IndexedSeqFactory.prototype.init___.call(this);
+ $c_scg_GenTraversableFactory.prototype.init___.call(this);
$n_sc_IndexedSeq$ = this;
this.ReusableCBF$6 = new $c_sc_IndexedSeq$$anon$1().init___();
return this
@@ -9088,28 +6324,14 @@ function $h_sc_IndexedSeqLike$Elements() {
/*<skip>*/
}
$h_sc_IndexedSeqLike$Elements.prototype = $c_sc_IndexedSeqLike$Elements.prototype;
-$c_sc_IndexedSeqLike$Elements.prototype.index__p2__I = (function() {
- return this.index$2
-});
-$c_sc_IndexedSeqLike$Elements.prototype.index$und$eq__p2__I__V = (function(x$1) {
- this.index$2 = x$1
-});
-$c_sc_IndexedSeqLike$Elements.prototype.hasNext__Z = (function() {
- return (this.index__p2__I() < this.end$2)
-});
$c_sc_IndexedSeqLike$Elements.prototype.next__O = (function() {
- if ((this.index__p2__I() >= this.end$2)) {
- $m_sc_Iterator$().empty__sc_Iterator().next__O()
- } else {
- (void 0)
+ if ((this.index$2 >= this.end$2)) {
+ $m_sc_Iterator$().empty$1.next__O()
};
- var x = this.scala$collection$IndexedSeqLike$Elements$$$outer__sc_IndexedSeqLike().apply__I__O(this.index__p2__I());
- this.index$und$eq__p2__I__V(((this.index__p2__I() + 1) | 0));
+ var x = this.$$outer$f.apply__I__O(this.index$2);
+ this.index$2 = ((1 + this.index$2) | 0);
return x
});
-$c_sc_IndexedSeqLike$Elements.prototype.scala$collection$IndexedSeqLike$Elements$$$outer__sc_IndexedSeqLike = (function() {
- return this.$$outer$f
-});
$c_sc_IndexedSeqLike$Elements.prototype.init___sc_IndexedSeqLike__I__I = (function($$outer, start, end) {
this.end$2 = end;
if (($$outer === null)) {
@@ -9117,11 +6339,12 @@ $c_sc_IndexedSeqLike$Elements.prototype.init___sc_IndexedSeqLike__I__I = (functi
} else {
this.$$outer$f = $$outer
};
- $c_sc_AbstractIterator.prototype.init___.call(this);
- $s_sc_BufferedIterator$class__$$init$__sc_BufferedIterator__V(this);
this.index$2 = start;
return this
});
+$c_sc_IndexedSeqLike$Elements.prototype.hasNext__Z = (function() {
+ return (this.index$2 < this.end$2)
+});
var $d_sc_IndexedSeqLike$Elements = new $TypeData().initClass({
sc_IndexedSeqLike$Elements: 0
}, false, "scala.collection.IndexedSeqLike$Elements", {
@@ -9148,62 +6371,53 @@ function $h_sjs_js_JavaScriptException() {
/*<skip>*/
}
$h_sjs_js_JavaScriptException.prototype = $c_sjs_js_JavaScriptException.prototype;
-$c_sjs_js_JavaScriptException.prototype.exception__O = (function() {
- return this.exception$4
-});
-$c_sjs_js_JavaScriptException.prototype.toString__T = (function() {
- return $objectToString(this.exception__O())
-});
-$c_sjs_js_JavaScriptException.prototype.fillInStackTrace__jl_Throwable = (function() {
- $m_sjsr_StackTrace$().captureState__jl_Throwable__O__V(this, this.exception__O());
- return this
-});
$c_sjs_js_JavaScriptException.prototype.productPrefix__T = (function() {
return "JavaScriptException"
});
$c_sjs_js_JavaScriptException.prototype.productArity__I = (function() {
return 1
});
-$c_sjs_js_JavaScriptException.prototype.productElement__I__O = (function(x$1) {
- var x1 = x$1;
- switch (x1) {
- case 0: {
- return this.exception__O();
- break
- }
- default: {
- throw new $c_jl_IndexOutOfBoundsException().init___T($objectToString(x$1))
- }
- }
-});
-$c_sjs_js_JavaScriptException.prototype.productIterator__sc_Iterator = (function() {
- return $m_sr_ScalaRunTime$().typedProductIterator__s_Product__sc_Iterator(this)
-});
-$c_sjs_js_JavaScriptException.prototype.canEqual__O__Z = (function(x$1) {
- return $is_sjs_js_JavaScriptException(x$1)
-});
-$c_sjs_js_JavaScriptException.prototype.hashCode__I = (function() {
- return $m_sr_ScalaRunTime$().$$undhashCode__s_Product__I(this)
+$c_sjs_js_JavaScriptException.prototype.fillInStackTrace__jl_Throwable = (function() {
+ var e = this.exception$4;
+ this["stackdata"] = e;
+ return this
});
$c_sjs_js_JavaScriptException.prototype.equals__O__Z = (function(x$1) {
if ((this === x$1)) {
return true
+ } else if ($is_sjs_js_JavaScriptException(x$1)) {
+ var JavaScriptException$1 = x$1;
+ return $m_sr_BoxesRunTime$().equals__O__O__Z(this.exception$4, JavaScriptException$1.exception$4)
} else {
- var x1 = x$1;
- if (($is_sjs_js_JavaScriptException(x1) || false)) {
- var JavaScriptException$1 = x$1;
- return ($m_sr_BoxesRunTime$().equals__O__O__Z(this.exception__O(), JavaScriptException$1.exception__O()) && JavaScriptException$1.canEqual__O__Z(this))
- } else {
- return false
+ return false
+ }
+});
+$c_sjs_js_JavaScriptException.prototype.productElement__I__O = (function(x$1) {
+ switch (x$1) {
+ case 0: {
+ return this.exception$4;
+ break
+ }
+ default: {
+ throw new $c_jl_IndexOutOfBoundsException().init___T(("" + x$1))
}
}
});
+$c_sjs_js_JavaScriptException.prototype.toString__T = (function() {
+ return $objectToString(this.exception$4)
+});
$c_sjs_js_JavaScriptException.prototype.init___O = (function(exception) {
this.exception$4 = exception;
- $c_jl_RuntimeException.prototype.init___.call(this);
- $s_s_Product$class__$$init$__s_Product__V(this);
+ $c_jl_Throwable.prototype.init___T__jl_Throwable.call(this, null, null);
return this
});
+$c_sjs_js_JavaScriptException.prototype.hashCode__I = (function() {
+ var this$2 = $m_s_util_hashing_MurmurHash3$();
+ return this$2.productHash__s_Product__I__I(this, (-889275714))
+});
+$c_sjs_js_JavaScriptException.prototype.productIterator__sc_Iterator = (function() {
+ return new $c_sr_ScalaRunTime$$anon$1().init___s_Product(this)
+});
function $is_sjs_js_JavaScriptException(obj) {
return (!(!((obj && obj.$classData) && obj.$classData.ancestors.sjs_js_JavaScriptException)))
}
@@ -9236,8 +6450,7 @@ function $h_s_reflect_ManifestFactory$BooleanManifest$() {
}
$h_s_reflect_ManifestFactory$BooleanManifest$.prototype = $c_s_reflect_ManifestFactory$BooleanManifest$.prototype;
$c_s_reflect_ManifestFactory$BooleanManifest$.prototype.init___ = (function() {
- $c_s_reflect_AnyValManifest.prototype.init___T.call(this, "Boolean");
- $n_s_reflect_ManifestFactory$BooleanManifest$ = this;
+ this.toString$1 = "Boolean";
return this
});
var $d_s_reflect_ManifestFactory$BooleanManifest$ = new $TypeData().initClass({
@@ -9274,8 +6487,7 @@ function $h_s_reflect_ManifestFactory$ByteManifest$() {
}
$h_s_reflect_ManifestFactory$ByteManifest$.prototype = $c_s_reflect_ManifestFactory$ByteManifest$.prototype;
$c_s_reflect_ManifestFactory$ByteManifest$.prototype.init___ = (function() {
- $c_s_reflect_AnyValManifest.prototype.init___T.call(this, "Byte");
- $n_s_reflect_ManifestFactory$ByteManifest$ = this;
+ this.toString$1 = "Byte";
return this
});
var $d_s_reflect_ManifestFactory$ByteManifest$ = new $TypeData().initClass({
@@ -9312,8 +6524,7 @@ function $h_s_reflect_ManifestFactory$CharManifest$() {
}
$h_s_reflect_ManifestFactory$CharManifest$.prototype = $c_s_reflect_ManifestFactory$CharManifest$.prototype;
$c_s_reflect_ManifestFactory$CharManifest$.prototype.init___ = (function() {
- $c_s_reflect_AnyValManifest.prototype.init___T.call(this, "Char");
- $n_s_reflect_ManifestFactory$CharManifest$ = this;
+ this.toString$1 = "Char";
return this
});
var $d_s_reflect_ManifestFactory$CharManifest$ = new $TypeData().initClass({
@@ -9350,8 +6561,7 @@ function $h_s_reflect_ManifestFactory$DoubleManifest$() {
}
$h_s_reflect_ManifestFactory$DoubleManifest$.prototype = $c_s_reflect_ManifestFactory$DoubleManifest$.prototype;
$c_s_reflect_ManifestFactory$DoubleManifest$.prototype.init___ = (function() {
- $c_s_reflect_AnyValManifest.prototype.init___T.call(this, "Double");
- $n_s_reflect_ManifestFactory$DoubleManifest$ = this;
+ this.toString$1 = "Double";
return this
});
var $d_s_reflect_ManifestFactory$DoubleManifest$ = new $TypeData().initClass({
@@ -9388,8 +6598,7 @@ function $h_s_reflect_ManifestFactory$FloatManifest$() {
}
$h_s_reflect_ManifestFactory$FloatManifest$.prototype = $c_s_reflect_ManifestFactory$FloatManifest$.prototype;
$c_s_reflect_ManifestFactory$FloatManifest$.prototype.init___ = (function() {
- $c_s_reflect_AnyValManifest.prototype.init___T.call(this, "Float");
- $n_s_reflect_ManifestFactory$FloatManifest$ = this;
+ this.toString$1 = "Float";
return this
});
var $d_s_reflect_ManifestFactory$FloatManifest$ = new $TypeData().initClass({
@@ -9426,8 +6635,7 @@ function $h_s_reflect_ManifestFactory$IntManifest$() {
}
$h_s_reflect_ManifestFactory$IntManifest$.prototype = $c_s_reflect_ManifestFactory$IntManifest$.prototype;
$c_s_reflect_ManifestFactory$IntManifest$.prototype.init___ = (function() {
- $c_s_reflect_AnyValManifest.prototype.init___T.call(this, "Int");
- $n_s_reflect_ManifestFactory$IntManifest$ = this;
+ this.toString$1 = "Int";
return this
});
var $d_s_reflect_ManifestFactory$IntManifest$ = new $TypeData().initClass({
@@ -9464,8 +6672,7 @@ function $h_s_reflect_ManifestFactory$LongManifest$() {
}
$h_s_reflect_ManifestFactory$LongManifest$.prototype = $c_s_reflect_ManifestFactory$LongManifest$.prototype;
$c_s_reflect_ManifestFactory$LongManifest$.prototype.init___ = (function() {
- $c_s_reflect_AnyValManifest.prototype.init___T.call(this, "Long");
- $n_s_reflect_ManifestFactory$LongManifest$ = this;
+ this.toString$1 = "Long";
return this
});
var $d_s_reflect_ManifestFactory$LongManifest$ = new $TypeData().initClass({
@@ -9502,19 +6709,14 @@ function $h_s_reflect_ManifestFactory$PhantomManifest() {
/*<skip>*/
}
$h_s_reflect_ManifestFactory$PhantomManifest.prototype = $c_s_reflect_ManifestFactory$PhantomManifest.prototype;
-$c_s_reflect_ManifestFactory$PhantomManifest.prototype.toString__T = (function() {
- return this.toString$2
-});
$c_s_reflect_ManifestFactory$PhantomManifest.prototype.equals__O__Z = (function(that) {
return (this === that)
});
-$c_s_reflect_ManifestFactory$PhantomManifest.prototype.hashCode__I = (function() {
- return $m_jl_System$().identityHashCode__O__I(this)
+$c_s_reflect_ManifestFactory$PhantomManifest.prototype.toString__T = (function() {
+ return this.toString$2
});
-$c_s_reflect_ManifestFactory$PhantomManifest.prototype.init___jl_Class__T = (function(_runtimeClass, toString) {
- this.toString$2 = toString;
- $c_s_reflect_ManifestFactory$ClassTypeManifest.prototype.init___s_Option__jl_Class__sci_List.call(this, $m_s_None$(), _runtimeClass, $m_sci_Nil$());
- return this
+$c_s_reflect_ManifestFactory$PhantomManifest.prototype.hashCode__I = (function() {
+ return $systemIdentityHashCode(this)
});
/** @constructor */
function $c_s_reflect_ManifestFactory$ShortManifest$() {
@@ -9528,8 +6730,7 @@ function $h_s_reflect_ManifestFactory$ShortManifest$() {
}
$h_s_reflect_ManifestFactory$ShortManifest$.prototype = $c_s_reflect_ManifestFactory$ShortManifest$.prototype;
$c_s_reflect_ManifestFactory$ShortManifest$.prototype.init___ = (function() {
- $c_s_reflect_AnyValManifest.prototype.init___T.call(this, "Short");
- $n_s_reflect_ManifestFactory$ShortManifest$ = this;
+ this.toString$1 = "Short";
return this
});
var $d_s_reflect_ManifestFactory$ShortManifest$ = new $TypeData().initClass({
@@ -9566,8 +6767,7 @@ function $h_s_reflect_ManifestFactory$UnitManifest$() {
}
$h_s_reflect_ManifestFactory$UnitManifest$.prototype = $c_s_reflect_ManifestFactory$UnitManifest$.prototype;
$c_s_reflect_ManifestFactory$UnitManifest$.prototype.init___ = (function() {
- $c_s_reflect_AnyValManifest.prototype.init___T.call(this, "Unit");
- $n_s_reflect_ManifestFactory$UnitManifest$ = this;
+ this.toString$1 = "Unit";
return this
});
var $d_s_reflect_ManifestFactory$UnitManifest$ = new $TypeData().initClass({
@@ -9605,7 +6805,7 @@ function $h_sci_List$() {
}
$h_sci_List$.prototype = $c_sci_List$.prototype;
$c_sci_List$.prototype.init___ = (function() {
- $c_scg_SeqFactory.prototype.init___.call(this);
+ $c_scg_GenTraversableFactory.prototype.init___.call(this);
$n_sci_List$ = this;
this.partialNotApplied$5 = new $c_sci_List$$anon$1().init___();
return this
@@ -9644,8 +6844,7 @@ function $h_sci_Stream$() {
}
$h_sci_Stream$.prototype = $c_sci_Stream$.prototype;
$c_sci_Stream$.prototype.init___ = (function() {
- $c_scg_SeqFactory.prototype.init___.call(this);
- $n_sci_Stream$ = this;
+ $c_scg_GenTraversableFactory.prototype.init___.call(this);
return this
});
var $d_sci_Stream$ = new $TypeData().initClass({
@@ -9682,8 +6881,12 @@ function $h_s_reflect_ManifestFactory$AnyManifest$() {
}
$h_s_reflect_ManifestFactory$AnyManifest$.prototype = $c_s_reflect_ManifestFactory$AnyManifest$.prototype;
$c_s_reflect_ManifestFactory$AnyManifest$.prototype.init___ = (function() {
- $c_s_reflect_ManifestFactory$PhantomManifest.prototype.init___jl_Class__T.call(this, $d_O.getClassOf(), "Any");
- $n_s_reflect_ManifestFactory$AnyManifest$ = this;
+ this.toString$2 = "Any";
+ var prefix = $m_s_None$();
+ var typeArguments = $m_sci_Nil$();
+ this.prefix$1 = prefix;
+ this.runtimeClass1$1 = $d_O.getClassOf();
+ this.typeArguments$1 = typeArguments;
return this
});
var $d_s_reflect_ManifestFactory$AnyManifest$ = new $TypeData().initClass({
@@ -9721,8 +6924,12 @@ function $h_s_reflect_ManifestFactory$AnyValManifest$() {
}
$h_s_reflect_ManifestFactory$AnyValManifest$.prototype = $c_s_reflect_ManifestFactory$AnyValManifest$.prototype;
$c_s_reflect_ManifestFactory$AnyValManifest$.prototype.init___ = (function() {
- $c_s_reflect_ManifestFactory$PhantomManifest.prototype.init___jl_Class__T.call(this, $d_O.getClassOf(), "AnyVal");
- $n_s_reflect_ManifestFactory$AnyValManifest$ = this;
+ this.toString$2 = "AnyVal";
+ var prefix = $m_s_None$();
+ var typeArguments = $m_sci_Nil$();
+ this.prefix$1 = prefix;
+ this.runtimeClass1$1 = $d_O.getClassOf();
+ this.typeArguments$1 = typeArguments;
return this
});
var $d_s_reflect_ManifestFactory$AnyValManifest$ = new $TypeData().initClass({
@@ -9760,8 +6967,12 @@ function $h_s_reflect_ManifestFactory$NothingManifest$() {
}
$h_s_reflect_ManifestFactory$NothingManifest$.prototype = $c_s_reflect_ManifestFactory$NothingManifest$.prototype;
$c_s_reflect_ManifestFactory$NothingManifest$.prototype.init___ = (function() {
- $c_s_reflect_ManifestFactory$PhantomManifest.prototype.init___jl_Class__T.call(this, $d_sr_Nothing$.getClassOf(), "Nothing");
- $n_s_reflect_ManifestFactory$NothingManifest$ = this;
+ this.toString$2 = "Nothing";
+ var prefix = $m_s_None$();
+ var typeArguments = $m_sci_Nil$();
+ this.prefix$1 = prefix;
+ this.runtimeClass1$1 = $d_sr_Nothing$.getClassOf();
+ this.typeArguments$1 = typeArguments;
return this
});
var $d_s_reflect_ManifestFactory$NothingManifest$ = new $TypeData().initClass({
@@ -9799,8 +7010,12 @@ function $h_s_reflect_ManifestFactory$NullManifest$() {
}
$h_s_reflect_ManifestFactory$NullManifest$.prototype = $c_s_reflect_ManifestFactory$NullManifest$.prototype;
$c_s_reflect_ManifestFactory$NullManifest$.prototype.init___ = (function() {
- $c_s_reflect_ManifestFactory$PhantomManifest.prototype.init___jl_Class__T.call(this, $d_sr_Null$.getClassOf(), "Null");
- $n_s_reflect_ManifestFactory$NullManifest$ = this;
+ this.toString$2 = "Null";
+ var prefix = $m_s_None$();
+ var typeArguments = $m_sci_Nil$();
+ this.prefix$1 = prefix;
+ this.runtimeClass1$1 = $d_sr_Null$.getClassOf();
+ this.typeArguments$1 = typeArguments;
return this
});
var $d_s_reflect_ManifestFactory$NullManifest$ = new $TypeData().initClass({
@@ -9838,8 +7053,12 @@ function $h_s_reflect_ManifestFactory$ObjectManifest$() {
}
$h_s_reflect_ManifestFactory$ObjectManifest$.prototype = $c_s_reflect_ManifestFactory$ObjectManifest$.prototype;
$c_s_reflect_ManifestFactory$ObjectManifest$.prototype.init___ = (function() {
- $c_s_reflect_ManifestFactory$PhantomManifest.prototype.init___jl_Class__T.call(this, $d_O.getClassOf(), "Object");
- $n_s_reflect_ManifestFactory$ObjectManifest$ = this;
+ this.toString$2 = "Object";
+ var prefix = $m_s_None$();
+ var typeArguments = $m_sci_Nil$();
+ this.prefix$1 = prefix;
+ this.runtimeClass1$1 = $d_O.getClassOf();
+ this.typeArguments$1 = typeArguments;
return this
});
var $d_s_reflect_ManifestFactory$ObjectManifest$ = new $TypeData().initClass({
@@ -9886,7 +7105,7 @@ function $h_sci_Vector$() {
}
$h_sci_Vector$.prototype = $c_sci_Vector$.prototype;
$c_sci_Vector$.prototype.init___ = (function() {
- $c_scg_IndexedSeqFactory.prototype.init___.call(this);
+ $c_scg_GenTraversableFactory.prototype.init___.call(this);
$n_sci_Vector$ = this;
this.NIL$6 = new $c_sci_Vector().init___I__I__I(0, 0, 0);
return this
@@ -9926,42 +7145,11 @@ function $h_sc_AbstractTraversable() {
}
$h_sc_AbstractTraversable.prototype = $c_sc_AbstractTraversable.prototype;
$c_sc_AbstractTraversable.prototype.repr__O = (function() {
- return $s_sc_TraversableLike$class__repr__sc_TraversableLike__O(this)
+ return this
});
$c_sc_AbstractTraversable.prototype.stringPrefix__T = (function() {
return $s_sc_TraversableLike$class__stringPrefix__sc_TraversableLike__T(this)
});
-$c_sc_AbstractTraversable.prototype.nonEmpty__Z = (function() {
- return $s_sc_TraversableOnce$class__nonEmpty__sc_TraversableOnce__Z(this)
-});
-$c_sc_AbstractTraversable.prototype.mkString__T__T__T__T = (function(start, sep, end) {
- return $s_sc_TraversableOnce$class__mkString__sc_TraversableOnce__T__T__T__T(this, start, sep, end)
-});
-$c_sc_AbstractTraversable.prototype.addString__scm_StringBuilder__T__T__T__scm_StringBuilder = (function(b, start, sep, end) {
- return $s_sc_TraversableOnce$class__addString__sc_TraversableOnce__scm_StringBuilder__T__T__T__scm_StringBuilder(this, b, start, sep, end)
-});
-$c_sc_AbstractTraversable.prototype.init___ = (function() {
- $c_O.prototype.init___.call(this);
- $s_sc_TraversableOnce$class__$$init$__sc_TraversableOnce__V(this);
- $s_sc_Parallelizable$class__$$init$__sc_Parallelizable__V(this);
- $s_sc_TraversableLike$class__$$init$__sc_TraversableLike__V(this);
- $s_scg_GenericTraversableTemplate$class__$$init$__scg_GenericTraversableTemplate__V(this);
- $s_sc_GenTraversable$class__$$init$__sc_GenTraversable__V(this);
- $s_sc_Traversable$class__$$init$__sc_Traversable__V(this);
- return this
-});
-function $is_sc_LinearSeqLike(obj) {
- return (!(!((obj && obj.$classData) && obj.$classData.ancestors.sc_LinearSeqLike)))
-}
-function $isArrayOf_sc_LinearSeqLike(obj, depth) {
- return (!(!(((obj && obj.$classData) && (obj.$classData.arrayDepth === depth)) && obj.$classData.arrayBase.ancestors.sc_LinearSeqLike)))
-}
-function $is_sc_LinearSeqOptimized(obj) {
- return (!(!((obj && obj.$classData) && obj.$classData.ancestors.sc_LinearSeqOptimized)))
-}
-function $isArrayOf_sc_LinearSeqOptimized(obj, depth) {
- return (!(!(((obj && obj.$classData) && (obj.$classData.arrayDepth === depth)) && obj.$classData.arrayBase.ancestors.sc_LinearSeqOptimized)))
-}
/** @constructor */
function $c_sc_AbstractIterable() {
$c_sc_AbstractTraversable.call(this)
@@ -9973,142 +7161,13 @@ function $h_sc_AbstractIterable() {
/*<skip>*/
}
$h_sc_AbstractIterable.prototype = $c_sc_AbstractIterable.prototype;
-$c_sc_AbstractIterable.prototype.foreach__F1__V = (function(f) {
- $s_sc_IterableLike$class__foreach__sc_IterableLike__F1__V(this, f)
-});
$c_sc_AbstractIterable.prototype.sameElements__sc_GenIterable__Z = (function(that) {
return $s_sc_IterableLike$class__sameElements__sc_IterableLike__sc_GenIterable__Z(this, that)
});
-$c_sc_AbstractIterable.prototype.canEqual__O__Z = (function(that) {
- return $s_sc_IterableLike$class__canEqual__sc_IterableLike__O__Z(this, that)
-});
-$c_sc_AbstractIterable.prototype.init___ = (function() {
- $c_sc_AbstractTraversable.prototype.init___.call(this);
- $s_sc_GenIterable$class__$$init$__sc_GenIterable__V(this);
- $s_sc_IterableLike$class__$$init$__sc_IterableLike__V(this);
- $s_sc_Iterable$class__$$init$__sc_Iterable__V(this);
- return this
-});
-/** @constructor */
-function $c_sjs_js_ArrayOps() {
- $c_O.call(this);
- this.scala$scalajs$js$ArrayOps$$array$f = null
-}
-$c_sjs_js_ArrayOps.prototype = new $h_O();
-$c_sjs_js_ArrayOps.prototype["constructor"] = $c_sjs_js_ArrayOps;
-/** @constructor */
-function $h_sjs_js_ArrayOps() {
- /*<skip>*/
-}
-$h_sjs_js_ArrayOps.prototype = $c_sjs_js_ArrayOps.prototype;
-$c_sjs_js_ArrayOps.prototype.scala$collection$IndexedSeqOptimized$$super$sameElements__sc_GenIterable__Z = (function(that) {
- return $s_sc_IterableLike$class__sameElements__sc_IterableLike__sc_GenIterable__Z(this, that)
-});
-$c_sjs_js_ArrayOps.prototype.isEmpty__Z = (function() {
- return $s_sc_IndexedSeqOptimized$class__isEmpty__sc_IndexedSeqOptimized__Z(this)
-});
-$c_sjs_js_ArrayOps.prototype.foreach__F1__V = (function(f) {
- $s_sc_IndexedSeqOptimized$class__foreach__sc_IndexedSeqOptimized__F1__V(this, f)
-});
-$c_sjs_js_ArrayOps.prototype.sameElements__sc_GenIterable__Z = (function(that) {
- return $s_sc_IndexedSeqOptimized$class__sameElements__sc_IndexedSeqOptimized__sc_GenIterable__Z(this, that)
-});
-$c_sjs_js_ArrayOps.prototype.lengthCompare__I__I = (function(len) {
- return $s_sc_IndexedSeqOptimized$class__lengthCompare__sc_IndexedSeqOptimized__I__I(this, len)
-});
-$c_sjs_js_ArrayOps.prototype.hashCode__I = (function() {
- return $s_sc_IndexedSeqLike$class__hashCode__sc_IndexedSeqLike__I(this)
-});
-$c_sjs_js_ArrayOps.prototype.iterator__sc_Iterator = (function() {
- return $s_sc_IndexedSeqLike$class__iterator__sc_IndexedSeqLike__sc_Iterator(this)
-});
-$c_sjs_js_ArrayOps.prototype.toString__T = (function() {
- return $s_sc_SeqLike$class__toString__sc_SeqLike__T(this)
-});
-$c_sjs_js_ArrayOps.prototype.equals__O__Z = (function(that) {
- return $s_sc_GenSeqLike$class__equals__sc_GenSeqLike__O__Z(this, that)
-});
-$c_sjs_js_ArrayOps.prototype.stringPrefix__T = (function() {
- return $s_sc_TraversableLike$class__stringPrefix__sc_TraversableLike__T(this)
-});
-$c_sjs_js_ArrayOps.prototype.mkString__T__T__T__T = (function(start, sep, end) {
- return $s_sc_TraversableOnce$class__mkString__sc_TraversableOnce__T__T__T__T(this, start, sep, end)
-});
-$c_sjs_js_ArrayOps.prototype.addString__scm_StringBuilder__T__T__T__scm_StringBuilder = (function(b, start, sep, end) {
- return $s_sc_TraversableOnce$class__addString__sc_TraversableOnce__scm_StringBuilder__T__T__T__scm_StringBuilder(this, b, start, sep, end)
-});
-$c_sjs_js_ArrayOps.prototype.apply__I__O = (function(index) {
- return this.scala$scalajs$js$ArrayOps$$array$f[index]
-});
-$c_sjs_js_ArrayOps.prototype.length__I = (function() {
- return (this.scala$scalajs$js$ArrayOps$$array$f["length"] | 0)
-});
-$c_sjs_js_ArrayOps.prototype.seq__sc_IndexedSeq = (function() {
- return new $c_sjs_js_WrappedArray().init___sjs_js_Array(this.scala$scalajs$js$ArrayOps$$array$f)
-});
-$c_sjs_js_ArrayOps.prototype.repr__sjs_js_Array = (function() {
- return this.scala$scalajs$js$ArrayOps$$array$f
-});
-$c_sjs_js_ArrayOps.prototype.$$plus$eq__O__sjs_js_ArrayOps = (function(elem) {
- this.scala$scalajs$js$ArrayOps$$array$f["push"](elem);
- return this
-});
-$c_sjs_js_ArrayOps.prototype.result__sjs_js_Array = (function() {
- return this.scala$scalajs$js$ArrayOps$$array$f
-});
-$c_sjs_js_ArrayOps.prototype.repr__O = (function() {
- return this.repr__sjs_js_Array()
-});
-$c_sjs_js_ArrayOps.prototype.init___sjs_js_Array = (function(array) {
- this.scala$scalajs$js$ArrayOps$$array$f = array;
- $c_O.prototype.init___.call(this);
- $s_sc_TraversableOnce$class__$$init$__sc_TraversableOnce__V(this);
- $s_sc_Parallelizable$class__$$init$__sc_Parallelizable__V(this);
- $s_sc_TraversableLike$class__$$init$__sc_TraversableLike__V(this);
- $s_sc_IterableLike$class__$$init$__sc_IterableLike__V(this);
- $s_sc_GenSeqLike$class__$$init$__sc_GenSeqLike__V(this);
- $s_sc_SeqLike$class__$$init$__sc_SeqLike__V(this);
- $s_sc_IndexedSeqLike$class__$$init$__sc_IndexedSeqLike__V(this);
- $s_scm_IndexedSeqLike$class__$$init$__scm_IndexedSeqLike__V(this);
- $s_sc_IndexedSeqOptimized$class__$$init$__sc_IndexedSeqOptimized__V(this);
- $s_scm_ArrayLike$class__$$init$__scm_ArrayLike__V(this);
- $s_scg_Growable$class__$$init$__scg_Growable__V(this);
- $s_scm_Builder$class__$$init$__scm_Builder__V(this);
- return this
-});
-function $is_sjs_js_ArrayOps(obj) {
- return (!(!((obj && obj.$classData) && obj.$classData.ancestors.sjs_js_ArrayOps)))
-}
-function $isArrayOf_sjs_js_ArrayOps(obj, depth) {
- return (!(!(((obj && obj.$classData) && (obj.$classData.arrayDepth === depth)) && obj.$classData.arrayBase.ancestors.sjs_js_ArrayOps)))
-}
-var $d_sjs_js_ArrayOps = new $TypeData().initClass({
- sjs_js_ArrayOps: 0
-}, false, "scala.scalajs.js.ArrayOps", {
- sjs_js_ArrayOps: 1,
- O: 1,
- scm_ArrayLike: 1,
- scm_IndexedSeqOptimized: 1,
- scm_IndexedSeqLike: 1,
- sc_IndexedSeqLike: 1,
- sc_SeqLike: 1,
- sc_IterableLike: 1,
- s_Equals: 1,
- sc_TraversableLike: 1,
- scg_HasNewBuilder: 1,
- scg_FilterMonadic: 1,
- sc_TraversableOnce: 1,
- sc_GenTraversableOnce: 1,
- sc_GenTraversableLike: 1,
- sc_Parallelizable: 1,
- sc_GenIterableLike: 1,
- sc_GenSeqLike: 1,
- sc_IndexedSeqOptimized: 1,
- scm_Builder: 1,
- scg_Growable: 1,
- scg_Clearable: 1
+$c_sc_AbstractIterable.prototype.foreach__F1__V = (function(f) {
+ var this$1 = this.iterator__sc_Iterator();
+ $s_sc_Iterator$class__foreach__sc_Iterator__F1__V(this$1, f)
});
-$c_sjs_js_ArrayOps.prototype.$classData = $d_sjs_js_ArrayOps;
function $is_sc_IndexedSeq(obj) {
return (!(!((obj && obj.$classData) && obj.$classData.ancestors.sc_IndexedSeq)))
}
@@ -10132,30 +7191,14 @@ function $h_sc_AbstractSeq() {
/*<skip>*/
}
$h_sc_AbstractSeq.prototype = $c_sc_AbstractSeq.prototype;
-$c_sc_AbstractSeq.prototype.lengthCompare__I__I = (function(len) {
- return $s_sc_SeqLike$class__lengthCompare__sc_SeqLike__I__I(this, len)
+$c_sc_AbstractSeq.prototype.equals__O__Z = (function(that) {
+ return $s_sc_GenSeqLike$class__equals__sc_GenSeqLike__O__Z(this, that)
});
$c_sc_AbstractSeq.prototype.isEmpty__Z = (function() {
return $s_sc_SeqLike$class__isEmpty__sc_SeqLike__Z(this)
});
$c_sc_AbstractSeq.prototype.toString__T = (function() {
- return $s_sc_SeqLike$class__toString__sc_SeqLike__T(this)
-});
-$c_sc_AbstractSeq.prototype.equals__O__Z = (function(that) {
- return $s_sc_GenSeqLike$class__equals__sc_GenSeqLike__O__Z(this, that)
-});
-$c_sc_AbstractSeq.prototype.apply$mcVI$sp__I__V = (function(v1) {
- $s_s_Function1$class__apply$mcVI$sp__F1__I__V(this, v1)
-});
-$c_sc_AbstractSeq.prototype.init___ = (function() {
- $c_sc_AbstractIterable.prototype.init___.call(this);
- $s_s_Function1$class__$$init$__F1__V(this);
- $s_s_PartialFunction$class__$$init$__s_PartialFunction__V(this);
- $s_sc_GenSeqLike$class__$$init$__sc_GenSeqLike__V(this);
- $s_sc_GenSeq$class__$$init$__sc_GenSeq__V(this);
- $s_sc_SeqLike$class__$$init$__sc_SeqLike__V(this);
- $s_sc_Seq$class__$$init$__sc_Seq__V(this);
- return this
+ return $s_sc_TraversableLike$class__toString__sc_TraversableLike__T(this)
});
/** @constructor */
function $c_scm_AbstractSeq() {
@@ -10168,15 +7211,6 @@ function $h_scm_AbstractSeq() {
/*<skip>*/
}
$h_scm_AbstractSeq.prototype = $c_scm_AbstractSeq.prototype;
-$c_scm_AbstractSeq.prototype.init___ = (function() {
- $c_sc_AbstractSeq.prototype.init___.call(this);
- $s_scm_Traversable$class__$$init$__scm_Traversable__V(this);
- $s_scm_Iterable$class__$$init$__scm_Iterable__V(this);
- $s_scm_Cloneable$class__$$init$__scm_Cloneable__V(this);
- $s_scm_SeqLike$class__$$init$__scm_SeqLike__V(this);
- $s_scm_Seq$class__$$init$__scm_Seq__V(this);
- return this
-});
/** @constructor */
function $c_sci_List() {
$c_sc_AbstractSeq.call(this)
@@ -10188,388 +7222,53 @@ function $h_sci_List() {
/*<skip>*/
}
$h_sci_List.prototype = $c_sci_List.prototype;
-$c_sci_List.prototype.scala$collection$LinearSeqOptimized$$super$sameElements__sc_GenIterable__Z = (function(that) {
- return $s_sc_IterableLike$class__sameElements__sc_IterableLike__sc_GenIterable__Z(this, that)
-});
-$c_sci_List.prototype.length__I = (function() {
- return $s_sc_LinearSeqOptimized$class__length__sc_LinearSeqOptimized__I(this)
+$c_sci_List.prototype.lengthCompare__I__I = (function(len) {
+ return $s_sc_LinearSeqOptimized$class__lengthCompare__sc_LinearSeqOptimized__I__I(this, len)
});
-$c_sci_List.prototype.apply__I__O = (function(n) {
+$c_sci_List.prototype.apply__O__O = (function(v1) {
+ var n = (v1 | 0);
return $s_sc_LinearSeqOptimized$class__apply__sc_LinearSeqOptimized__I__O(this, n)
});
-$c_sci_List.prototype.last__O = (function() {
- return $s_sc_LinearSeqOptimized$class__last__sc_LinearSeqOptimized__O(this)
-});
$c_sci_List.prototype.sameElements__sc_GenIterable__Z = (function(that) {
return $s_sc_LinearSeqOptimized$class__sameElements__sc_LinearSeqOptimized__sc_GenIterable__Z(this, that)
});
-$c_sci_List.prototype.lengthCompare__I__I = (function(len) {
- return $s_sc_LinearSeqOptimized$class__lengthCompare__sc_LinearSeqOptimized__I__I(this, len)
-});
-$c_sci_List.prototype.seq__sci_LinearSeq = (function() {
- return $s_sci_LinearSeq$class__seq__sci_LinearSeq__sci_LinearSeq(this)
-});
-$c_sci_List.prototype.hashCode__I = (function() {
- return $s_sc_LinearSeqLike$class__hashCode__sc_LinearSeqLike__I(this)
+$c_sci_List.prototype.foreach__F1__V = (function(f) {
+ var these = this;
+ while ((!these.isEmpty__Z())) {
+ var this$1 = these;
+ f.apply__O__O(this$1.head__sr_Nothing$());
+ var this$2 = these;
+ these = this$2.tail__sci_List()
+ }
});
$c_sci_List.prototype.iterator__sc_Iterator = (function() {
- return $s_sc_LinearSeqLike$class__iterator__sc_LinearSeqLike__sc_Iterator(this)
+ return new $c_sc_LinearSeqLike$$anon$1().init___sc_LinearSeqLike(this)
});
$c_sci_List.prototype.drop__I__sci_List = (function(n) {
var these = this;
var count = n;
while (((!these.isEmpty__Z()) && (count > 0))) {
- these = these.tail__O();
- count = ((count - 1) | 0)
+ var this$1 = these;
+ these = this$1.tail__sci_List();
+ count = (((-1) + count) | 0)
};
return these
});
-$c_sci_List.prototype.foreach__F1__V = (function(f) {
- var these = this;
- while ((!these.isEmpty__Z())) {
- f.apply__O__O(these.head__O());
- these = these.tail__O()
- }
-});
-$c_sci_List.prototype.stringPrefix__T = (function() {
- return "List"
-});
-$c_sci_List.prototype.seq__sc_LinearSeq = (function() {
- return this.seq__sci_LinearSeq()
-});
-$c_sci_List.prototype.apply__O__O = (function(v1) {
- return this.apply__I__O((v1 | 0))
-});
-$c_sci_List.prototype.drop__I__sc_LinearSeqOptimized = (function(n) {
- return this.drop__I__sci_List(n)
-});
-$c_sci_List.prototype.init___ = (function() {
- $c_sc_AbstractSeq.prototype.init___.call(this);
- $s_sci_Traversable$class__$$init$__sci_Traversable__V(this);
- $s_sci_Iterable$class__$$init$__sci_Iterable__V(this);
- $s_sci_Seq$class__$$init$__sci_Seq__V(this);
- $s_sc_LinearSeqLike$class__$$init$__sc_LinearSeqLike__V(this);
- $s_sc_LinearSeq$class__$$init$__sc_LinearSeq__V(this);
- $s_sci_LinearSeq$class__$$init$__sci_LinearSeq__V(this);
- $s_s_Product$class__$$init$__s_Product__V(this);
- $s_sc_LinearSeqOptimized$class__$$init$__sc_LinearSeqOptimized__V(this);
- return this
-});
-function $is_sci_List(obj) {
- return (!(!((obj && obj.$classData) && obj.$classData.ancestors.sci_List)))
-}
-function $isArrayOf_sci_List(obj, depth) {
- return (!(!(((obj && obj.$classData) && (obj.$classData.arrayDepth === depth)) && obj.$classData.arrayBase.ancestors.sci_List)))
-}
-/** @constructor */
-function $c_sci_Range() {
- $c_sc_AbstractSeq.call(this);
- this.start$4 = 0;
- this.end$4 = 0;
- this.step$4 = 0;
- this.isEmpty$4 = false;
- this.numRangeElements$4 = 0;
- this.lastElement$4 = 0;
- this.terminalElement$4 = 0
-}
-$c_sci_Range.prototype = new $h_sc_AbstractSeq();
-$c_sci_Range.prototype["constructor"] = $c_sci_Range;
-/** @constructor */
-function $h_sci_Range() {
- /*<skip>*/
-}
-$h_sci_Range.prototype = $c_sci_Range.prototype;
-$c_sci_Range.prototype.seq__sci_IndexedSeq = (function() {
- return $s_sci_IndexedSeq$class__seq__sci_IndexedSeq__sci_IndexedSeq(this)
-});
-$c_sci_Range.prototype.hashCode__I = (function() {
- return $s_sc_IndexedSeqLike$class__hashCode__sc_IndexedSeqLike__I(this)
-});
-$c_sci_Range.prototype.iterator__sc_Iterator = (function() {
- return $s_sc_IndexedSeqLike$class__iterator__sc_IndexedSeqLike__sc_Iterator(this)
-});
-$c_sci_Range.prototype.start__I = (function() {
- return this.start$4
-});
-$c_sci_Range.prototype.end__I = (function() {
- return this.end$4
-});
-$c_sci_Range.prototype.step__I = (function() {
- return this.step$4
-});
-$c_sci_Range.prototype.gap__p4__J = (function() {
- return new $c_sjsr_RuntimeLong().init___I(this.end__I()).$$minus__sjsr_RuntimeLong__sjsr_RuntimeLong(new $c_sjsr_RuntimeLong().init___I(this.start__I()))
-});
-$c_sci_Range.prototype.isExact__p4__Z = (function() {
- return this.gap__p4__J().$$percent__sjsr_RuntimeLong__sjsr_RuntimeLong(new $c_sjsr_RuntimeLong().init___I(this.step__I())).equals__sjsr_RuntimeLong__Z(new $c_sjsr_RuntimeLong().init___I(0))
-});
-$c_sci_Range.prototype.hasStub__p4__Z = (function() {
- return (this.isInclusive__Z() || (!this.isExact__p4__Z()))
-});
-$c_sci_Range.prototype.longLength__p4__J = (function() {
- return this.gap__p4__J().$$div__sjsr_RuntimeLong__sjsr_RuntimeLong(new $c_sjsr_RuntimeLong().init___I(this.step__I())).$$plus__sjsr_RuntimeLong__sjsr_RuntimeLong(new $c_sjsr_RuntimeLong().init___I((this.hasStub__p4__Z() ? 1 : 0)))
-});
-$c_sci_Range.prototype.isEmpty__Z = (function() {
- return this.isEmpty$4
-});
-$c_sci_Range.prototype.numRangeElements__I = (function() {
- return this.numRangeElements$4
-});
-$c_sci_Range.prototype.lastElement__I = (function() {
- return this.lastElement$4
-});
-$c_sci_Range.prototype.terminalElement__I = (function() {
- return this.terminalElement$4
-});
-$c_sci_Range.prototype.last__I = (function() {
- return (this.isEmpty__Z() ? ($m_sci_Nil$().last__O() | 0) : this.lastElement__I())
-});
-$c_sci_Range.prototype.isInclusive__Z = (function() {
- return false
-});
-$c_sci_Range.prototype.length__I = (function() {
- return ((this.numRangeElements__I() < 0) ? this.fail__p4__sr_Nothing$() : this.numRangeElements__I())
-});
-$c_sci_Range.prototype.fail__p4__sr_Nothing$ = (function() {
- $m_sci_Range$().scala$collection$immutable$Range$$fail__I__I__I__Z__sr_Nothing$(this.start__I(), this.end__I(), this.step__I(), this.isInclusive__Z())
-});
-$c_sci_Range.prototype.scala$collection$immutable$Range$$validateMaxLength__V = (function() {
- if ((this.numRangeElements__I() < 0)) {
- this.fail__p4__sr_Nothing$()
- }
-});
-$c_sci_Range.prototype.apply__I__I = (function(idx) {
- return this.apply$mcII$sp__I__I(idx)
-});
-$c_sci_Range.prototype.foreach__F1__V = (function(f) {
- this.scala$collection$immutable$Range$$validateMaxLength__V();
- var isCommonCase = ((this.start__I() !== (-2147483648)) || (this.end__I() !== (-2147483648)));
- var i = this.start__I();
- var count = 0;
- var terminal = this.terminalElement__I();
- var step = this.step__I();
- while ((isCommonCase ? (i !== terminal) : (count < this.numRangeElements__I()))) {
- f.apply__O__O(i);
- count = ((count + 1) | 0);
- i = ((i + step) | 0)
- }
-});
-$c_sci_Range.prototype.take__I__sci_Range = (function(n) {
- return (((n <= 0) || this.isEmpty__Z()) ? this.newEmptyRange__p4__I__sci_Range(this.start__I()) : (((n >= this.numRangeElements__I()) && (this.numRangeElements__I() >= 0)) ? this : new $c_sci_Range$Inclusive().init___I__I__I(this.start__I(), this.locationAfterN__p4__I__I(((n - 1) | 0)), this.step__I())))
-});
-$c_sci_Range.prototype.locationAfterN__p4__I__I = (function(n) {
- return ((this.start__I() + $imul(this.step__I(), n)) | 0)
-});
-$c_sci_Range.prototype.newEmptyRange__p4__I__sci_Range = (function(value) {
- return new $c_sci_Range().init___I__I__I(value, value, this.step__I())
-});
-$c_sci_Range.prototype.equals__O__Z = (function(other) {
- var x1 = other;
- if ($is_sci_Range(x1)) {
- var x2 = x1;
- if (x2.canEqual__O__Z(this)) {
- if (this.isEmpty__Z()) {
- return x2.isEmpty__Z()
- } else if ((x2.nonEmpty__Z() && (this.start__I() === x2.start__I()))) {
- var l0 = this.last__I();
- return ((l0 === x2.last__I()) && ((this.start__I() === l0) || (this.step__I() === x2.step__I())))
- } else {
- return false
- }
- } else {
- return false
- }
- } else {
- return $s_sc_GenSeqLike$class__equals__sc_GenSeqLike__O__Z(this, other)
- }
-});
-$c_sci_Range.prototype.toString__T = (function() {
- var endStr = (((this.numRangeElements__I() > $m_sci_Range$().MAX$undPRINT__I()) || ((!this.isEmpty__Z()) && (this.numRangeElements__I() < 0))) ? ", ... )" : ")");
- return this.take__I__sci_Range($m_sci_Range$().MAX$undPRINT__I()).mkString__T__T__T__T("Range(", ", ", endStr)
-});
-$c_sci_Range.prototype.foreach$mVc$sp__F1__V = (function(f) {
- this.scala$collection$immutable$Range$$validateMaxLength__V();
- var isCommonCase = ((this.start__I() !== (-2147483648)) || (this.end__I() !== (-2147483648)));
- var i = this.start__I();
- var count = 0;
- var terminal = this.terminalElement__I();
- var step = this.step__I();
- while ((isCommonCase ? (i !== terminal) : (count < this.numRangeElements__I()))) {
- f.apply$mcVI$sp__I__V(i);
- count = ((count + 1) | 0);
- i = ((i + step) | 0)
- }
-});
-$c_sci_Range.prototype.apply$mcII$sp__I__I = (function(idx) {
- this.scala$collection$immutable$Range$$validateMaxLength__V();
- if (((idx < 0) || (idx >= this.numRangeElements__I()))) {
- throw new $c_jl_IndexOutOfBoundsException().init___T($objectToString(idx))
- } else {
- return ((this.start__I() + $imul(this.step__I(), idx)) | 0)
- }
-});
-$c_sci_Range.prototype.seq__sc_IndexedSeq = (function() {
- return this.seq__sci_IndexedSeq()
-});
-$c_sci_Range.prototype.apply__O__O = (function(v1) {
- return this.apply__I__I((v1 | 0))
-});
-$c_sci_Range.prototype.apply__I__O = (function(idx) {
- return this.apply__I__I(idx)
-});
-$c_sci_Range.prototype.init___I__I__I = (function(start, end, step) {
- this.start$4 = start;
- this.end$4 = end;
- this.step$4 = step;
- $c_sc_AbstractSeq.prototype.init___.call(this);
- $s_sci_Traversable$class__$$init$__sci_Traversable__V(this);
- $s_sci_Iterable$class__$$init$__sci_Iterable__V(this);
- $s_sci_Seq$class__$$init$__sci_Seq__V(this);
- $s_sc_IndexedSeqLike$class__$$init$__sc_IndexedSeqLike__V(this);
- $s_sc_IndexedSeq$class__$$init$__sc_IndexedSeq__V(this);
- $s_sci_IndexedSeq$class__$$init$__sci_IndexedSeq__V(this);
- $s_sc_CustomParallelizable$class__$$init$__sc_CustomParallelizable__V(this);
- this.isEmpty$4 = ((((start > end) && (step > 0)) || ((start < end) && (step < 0))) || ((start === end) && (!this.isInclusive__Z())));
- if ((step === 0)) {
- var jsx$1;
- throw new $c_jl_IllegalArgumentException().init___T("step cannot be 0.")
- } else if (this.isEmpty__Z()) {
- var jsx$1 = 0
- } else {
- var len = this.longLength__p4__J();
- var jsx$1 = (len.$$greater__sjsr_RuntimeLong__Z(new $c_sjsr_RuntimeLong().init___I(2147483647)) ? (-1) : len.toInt__I())
- };
- this.numRangeElements$4 = jsx$1;
- if (this.isEmpty__Z()) {
- var jsx$2 = ((start - step) | 0)
- } else {
- var x1 = step;
- switch (x1) {
- case 1: {
- var jsx$2 = (this.isInclusive__Z() ? end : ((end - 1) | 0));
- break
- }
- case (-1): {
- var jsx$2 = (this.isInclusive__Z() ? end : ((end + 1) | 0));
- break
- }
- default: {
- var remainder = this.gap__p4__J().$$percent__sjsr_RuntimeLong__sjsr_RuntimeLong(new $c_sjsr_RuntimeLong().init___I(step)).toInt__I();
- var jsx$2 = ((remainder !== 0) ? ((end - remainder) | 0) : (this.isInclusive__Z() ? end : ((end - step) | 0)))
- }
- }
- };
- this.lastElement$4 = jsx$2;
- this.terminalElement$4 = ((this.lastElement__I() + step) | 0);
- return this
-});
-function $is_sci_Range(obj) {
- return (!(!((obj && obj.$classData) && obj.$classData.ancestors.sci_Range)))
-}
-function $isArrayOf_sci_Range(obj, depth) {
- return (!(!(((obj && obj.$classData) && (obj.$classData.arrayDepth === depth)) && obj.$classData.arrayBase.ancestors.sci_Range)))
-}
-var $d_sci_Range = new $TypeData().initClass({
- sci_Range: 0
-}, false, "scala.collection.immutable.Range", {
- sci_Range: 1,
- sc_AbstractSeq: 1,
- sc_AbstractIterable: 1,
- sc_AbstractTraversable: 1,
- O: 1,
- sc_Traversable: 1,
- sc_TraversableLike: 1,
- scg_HasNewBuilder: 1,
- scg_FilterMonadic: 1,
- sc_TraversableOnce: 1,
- sc_GenTraversableOnce: 1,
- sc_GenTraversableLike: 1,
- sc_Parallelizable: 1,
- sc_GenTraversable: 1,
- scg_GenericTraversableTemplate: 1,
- sc_Iterable: 1,
- sc_GenIterable: 1,
- sc_GenIterableLike: 1,
- sc_IterableLike: 1,
- s_Equals: 1,
- sc_Seq: 1,
- s_PartialFunction: 1,
- F1: 1,
- sc_GenSeq: 1,
- sc_GenSeqLike: 1,
- sc_SeqLike: 1,
- sci_IndexedSeq: 1,
- sci_Seq: 1,
- sci_Iterable: 1,
- sci_Traversable: 1,
- s_Immutable: 1,
- sc_IndexedSeq: 1,
- sc_IndexedSeqLike: 1,
- sc_CustomParallelizable: 1,
- s_Serializable: 1,
- Ljava_io_Serializable: 1
-});
-$c_sci_Range.prototype.$classData = $d_sci_Range;
-/** @constructor */
-function $c_sci_Range$Inclusive() {
- $c_sci_Range.call(this)
-}
-$c_sci_Range$Inclusive.prototype = new $h_sci_Range();
-$c_sci_Range$Inclusive.prototype["constructor"] = $c_sci_Range$Inclusive;
-/** @constructor */
-function $h_sci_Range$Inclusive() {
- /*<skip>*/
-}
-$h_sci_Range$Inclusive.prototype = $c_sci_Range$Inclusive.prototype;
-$c_sci_Range$Inclusive.prototype.isInclusive__Z = (function() {
- return true
+$c_sci_List.prototype.length__I = (function() {
+ return $s_sc_LinearSeqOptimized$class__length__sc_LinearSeqOptimized__I(this)
});
-$c_sci_Range$Inclusive.prototype.init___I__I__I = (function(start, end, step) {
- $c_sci_Range.prototype.init___I__I__I.call(this, start, end, step);
- return this
+$c_sci_List.prototype.hashCode__I = (function() {
+ return $m_s_util_hashing_MurmurHash3$().seqHash__sc_Seq__I(this)
});
-var $d_sci_Range$Inclusive = new $TypeData().initClass({
- sci_Range$Inclusive: 0
-}, false, "scala.collection.immutable.Range$Inclusive", {
- sci_Range$Inclusive: 1,
- sci_Range: 1,
- sc_AbstractSeq: 1,
- sc_AbstractIterable: 1,
- sc_AbstractTraversable: 1,
- O: 1,
- sc_Traversable: 1,
- sc_TraversableLike: 1,
- scg_HasNewBuilder: 1,
- scg_FilterMonadic: 1,
- sc_TraversableOnce: 1,
- sc_GenTraversableOnce: 1,
- sc_GenTraversableLike: 1,
- sc_Parallelizable: 1,
- sc_GenTraversable: 1,
- scg_GenericTraversableTemplate: 1,
- sc_Iterable: 1,
- sc_GenIterable: 1,
- sc_GenIterableLike: 1,
- sc_IterableLike: 1,
- s_Equals: 1,
- sc_Seq: 1,
- s_PartialFunction: 1,
- F1: 1,
- sc_GenSeq: 1,
- sc_GenSeqLike: 1,
- sc_SeqLike: 1,
- sci_IndexedSeq: 1,
- sci_Seq: 1,
- sci_Iterable: 1,
- sci_Traversable: 1,
- s_Immutable: 1,
- sc_IndexedSeq: 1,
- sc_IndexedSeqLike: 1,
- sc_CustomParallelizable: 1,
- s_Serializable: 1,
- Ljava_io_Serializable: 1
+$c_sci_List.prototype.stringPrefix__T = (function() {
+ return "List"
});
-$c_sci_Range$Inclusive.prototype.$classData = $d_sci_Range$Inclusive;
+function $is_sci_List(obj) {
+ return (!(!((obj && obj.$classData) && obj.$classData.ancestors.sci_List)))
+}
+function $isArrayOf_sci_List(obj, depth) {
+ return (!(!(((obj && obj.$classData) && (obj.$classData.arrayDepth === depth)) && obj.$classData.arrayBase.ancestors.sci_List)))
+}
/** @constructor */
function $c_sci_Vector() {
$c_sc_AbstractSeq.call(this);
@@ -10592,128 +7291,100 @@ function $h_sci_Vector() {
/*<skip>*/
}
$h_sci_Vector.prototype = $c_sci_Vector.prototype;
-$c_sci_Vector.prototype.depth__I = (function() {
- return this.depth$4
-});
-$c_sci_Vector.prototype.depth$und$eq__I__V = (function(x$1) {
- this.depth$4 = x$1
-});
-$c_sci_Vector.prototype.display0__AO = (function() {
- return this.display0$4
-});
-$c_sci_Vector.prototype.display0$und$eq__AO__V = (function(x$1) {
- this.display0$4 = x$1
-});
-$c_sci_Vector.prototype.display1__AO = (function() {
- return this.display1$4
-});
-$c_sci_Vector.prototype.display1$und$eq__AO__V = (function(x$1) {
- this.display1$4 = x$1
-});
-$c_sci_Vector.prototype.display2__AO = (function() {
- return this.display2$4
-});
-$c_sci_Vector.prototype.display2$und$eq__AO__V = (function(x$1) {
- this.display2$4 = x$1
+$c_sci_Vector.prototype.checkRangeConvert__p4__I__I = (function(index) {
+ var idx = ((index + this.startIndex$4) | 0);
+ if (((index >= 0) && (idx < this.endIndex$4))) {
+ return idx
+ } else {
+ throw new $c_jl_IndexOutOfBoundsException().init___T(("" + index))
+ }
});
$c_sci_Vector.prototype.display3__AO = (function() {
return this.display3$4
});
-$c_sci_Vector.prototype.display3$und$eq__AO__V = (function(x$1) {
- this.display3$4 = x$1
+$c_sci_Vector.prototype.apply__I__O = (function(index) {
+ var idx = this.checkRangeConvert__p4__I__I(index);
+ var xor = (idx ^ this.focus$4);
+ return $s_sci_VectorPointer$class__getElem__sci_VectorPointer__I__I__O(this, idx, xor)
});
-$c_sci_Vector.prototype.display4__AO = (function() {
- return this.display4$4
+$c_sci_Vector.prototype.depth__I = (function() {
+ return this.depth$4
});
-$c_sci_Vector.prototype.display4$und$eq__AO__V = (function(x$1) {
- this.display4$4 = x$1
+$c_sci_Vector.prototype.lengthCompare__I__I = (function(len) {
+ return ((this.length__I() - len) | 0)
});
-$c_sci_Vector.prototype.display5__AO = (function() {
- return this.display5$4
+$c_sci_Vector.prototype.apply__O__O = (function(v1) {
+ return this.apply__I__O((v1 | 0))
});
-$c_sci_Vector.prototype.display5$und$eq__AO__V = (function(x$1) {
- this.display5$4 = x$1
+$c_sci_Vector.prototype.initIterator__sci_VectorIterator__V = (function(s) {
+ var depth = this.depth$4;
+ $s_sci_VectorPointer$class__initFrom__sci_VectorPointer__sci_VectorPointer__I__V(s, this, depth);
+ if (this.dirty$4) {
+ var index = this.focus$4;
+ $s_sci_VectorPointer$class__stabilize__sci_VectorPointer__I__V(s, index)
+ };
+ if ((s.depth$2 > 1)) {
+ var index$1 = this.startIndex$4;
+ var xor = (this.startIndex$4 ^ this.focus$4);
+ $s_sci_VectorPointer$class__gotoPos__sci_VectorPointer__I__I__V(s, index$1, xor)
+ }
});
-$c_sci_Vector.prototype.initFrom__sci_VectorPointer__I__V = (function(that, depth) {
- $s_sci_VectorPointer$class__initFrom__sci_VectorPointer__sci_VectorPointer__I__V(this, that, depth)
+$c_sci_Vector.prototype.init___I__I__I = (function(startIndex, endIndex, focus) {
+ this.startIndex$4 = startIndex;
+ this.endIndex$4 = endIndex;
+ this.focus$4 = focus;
+ this.dirty$4 = false;
+ return this
});
-$c_sci_Vector.prototype.getElem__I__I__O = (function(index, xor) {
- return $s_sci_VectorPointer$class__getElem__sci_VectorPointer__I__I__O(this, index, xor)
+$c_sci_Vector.prototype.display5$und$eq__AO__V = (function(x$1) {
+ this.display5$4 = x$1
});
-$c_sci_Vector.prototype.copyOf__AO__AO = (function(a) {
- return $s_sci_VectorPointer$class__copyOf__sci_VectorPointer__AO__AO(this, a)
+$c_sci_Vector.prototype.display0__AO = (function() {
+ return this.display0$4
});
-$c_sci_Vector.prototype.seq__sci_IndexedSeq = (function() {
- return $s_sci_IndexedSeq$class__seq__sci_IndexedSeq__sci_IndexedSeq(this)
+$c_sci_Vector.prototype.display4__AO = (function() {
+ return this.display4$4
});
-$c_sci_Vector.prototype.hashCode__I = (function() {
- return $s_sc_IndexedSeqLike$class__hashCode__sc_IndexedSeqLike__I(this)
+$c_sci_Vector.prototype.display2$und$eq__AO__V = (function(x$1) {
+ this.display2$4 = x$1
});
-$c_sci_Vector.prototype.startIndex__I = (function() {
- return this.startIndex$4
+$c_sci_Vector.prototype.iterator__sc_Iterator = (function() {
+ return this.iterator__sci_VectorIterator()
});
-$c_sci_Vector.prototype.endIndex__I = (function() {
- return this.endIndex$4
+$c_sci_Vector.prototype.display1$und$eq__AO__V = (function(x$1) {
+ this.display1$4 = x$1
});
-$c_sci_Vector.prototype.dirty__Z = (function() {
- return this.dirty$4
+$c_sci_Vector.prototype.display4$und$eq__AO__V = (function(x$1) {
+ this.display4$4 = x$1
});
$c_sci_Vector.prototype.length__I = (function() {
- return ((this.endIndex__I() - this.startIndex__I()) | 0)
+ return ((this.endIndex$4 - this.startIndex$4) | 0)
});
-$c_sci_Vector.prototype.lengthCompare__I__I = (function(len) {
- return ((this.length__I() - len) | 0)
+$c_sci_Vector.prototype.display1__AO = (function() {
+ return this.display1$4
});
-$c_sci_Vector.prototype.initIterator__sci_VectorIterator__V = (function(s) {
- s.initFrom__sci_VectorPointer__V(this);
- if (this.dirty__Z()) {
- s.stabilize__I__V(this.focus$4)
- };
- if ((s.depth__I() > 1)) {
- s.gotoPos__I__I__V(this.startIndex__I(), (this.startIndex__I() ^ this.focus$4))
- }
+$c_sci_Vector.prototype.display5__AO = (function() {
+ return this.display5$4
});
$c_sci_Vector.prototype.iterator__sci_VectorIterator = (function() {
- var s = new $c_sci_VectorIterator().init___I__I(this.startIndex__I(), this.endIndex__I());
+ var s = new $c_sci_VectorIterator().init___I__I(this.startIndex$4, this.endIndex$4);
this.initIterator__sci_VectorIterator__V(s);
return s
});
-$c_sci_Vector.prototype.apply__I__O = (function(index) {
- var idx = this.checkRangeConvert__p4__I__I(index);
- return this.getElem__I__I__O(idx, (idx ^ this.focus$4))
-});
-$c_sci_Vector.prototype.checkRangeConvert__p4__I__I = (function(index) {
- var idx = ((index + this.startIndex__I()) | 0);
- if (((0 <= index) && (idx < this.endIndex__I()))) {
- return idx
- } else {
- throw new $c_jl_IndexOutOfBoundsException().init___T($objectToString(index))
- }
+$c_sci_Vector.prototype.hashCode__I = (function() {
+ return $m_s_util_hashing_MurmurHash3$().seqHash__sc_Seq__I(this)
});
-$c_sci_Vector.prototype.seq__sc_IndexedSeq = (function() {
- return this.seq__sci_IndexedSeq()
+$c_sci_Vector.prototype.depth$und$eq__I__V = (function(x$1) {
+ this.depth$4 = x$1
});
-$c_sci_Vector.prototype.apply__O__O = (function(v1) {
- return this.apply__I__O((v1 | 0))
+$c_sci_Vector.prototype.display2__AO = (function() {
+ return this.display2$4
});
-$c_sci_Vector.prototype.iterator__sc_Iterator = (function() {
- return this.iterator__sci_VectorIterator()
+$c_sci_Vector.prototype.display0$und$eq__AO__V = (function(x$1) {
+ this.display0$4 = x$1
});
-$c_sci_Vector.prototype.init___I__I__I = (function(startIndex, endIndex, focus) {
- this.startIndex$4 = startIndex;
- this.endIndex$4 = endIndex;
- this.focus$4 = focus;
- $c_sc_AbstractSeq.prototype.init___.call(this);
- $s_sci_Traversable$class__$$init$__sci_Traversable__V(this);
- $s_sci_Iterable$class__$$init$__sci_Iterable__V(this);
- $s_sci_Seq$class__$$init$__sci_Seq__V(this);
- $s_sc_IndexedSeqLike$class__$$init$__sc_IndexedSeqLike__V(this);
- $s_sc_IndexedSeq$class__$$init$__sc_IndexedSeq__V(this);
- $s_sci_IndexedSeq$class__$$init$__sci_IndexedSeq__V(this);
- $s_sci_VectorPointer$class__$$init$__sci_VectorPointer__V(this);
- $s_sc_CustomParallelizable$class__$$init$__sc_CustomParallelizable__V(this);
- this.dirty$4 = false;
- return this
+$c_sci_Vector.prototype.display3$und$eq__AO__V = (function(x$1) {
+ this.display3$4 = x$1
});
var $d_sci_Vector = new $TypeData().initClass({
sci_Vector: 0
@@ -10768,47 +7439,37 @@ function $h_sci_Nil$() {
/*<skip>*/
}
$h_sci_Nil$.prototype = $c_sci_Nil$.prototype;
-$c_sci_Nil$.prototype.isEmpty__Z = (function() {
- return true
+$c_sci_Nil$.prototype.init___ = (function() {
+ return this
});
-$c_sci_Nil$.prototype.head__sr_Nothing$ = (function() {
- throw new $c_ju_NoSuchElementException().init___T("head of empty list")
+$c_sci_Nil$.prototype.productPrefix__T = (function() {
+ return "Nil"
});
-$c_sci_Nil$.prototype.tail__sci_List = (function() {
- throw new $c_jl_UnsupportedOperationException().init___T("tail of empty list")
+$c_sci_Nil$.prototype.productArity__I = (function() {
+ return 0
});
$c_sci_Nil$.prototype.equals__O__Z = (function(that) {
- var x1 = that;
- if ($is_sc_GenSeq(x1)) {
- var x2 = x1;
+ if ($is_sc_GenSeq(that)) {
+ var x2 = that;
return x2.isEmpty__Z()
} else {
return false
}
});
-$c_sci_Nil$.prototype.productPrefix__T = (function() {
- return "Nil"
+$c_sci_Nil$.prototype.tail__sci_List = (function() {
+ throw new $c_jl_UnsupportedOperationException().init___T("tail of empty list")
});
-$c_sci_Nil$.prototype.productArity__I = (function() {
- return 0
+$c_sci_Nil$.prototype.isEmpty__Z = (function() {
+ return true
});
$c_sci_Nil$.prototype.productElement__I__O = (function(x$1) {
- var x1 = x$1;
- throw new $c_jl_IndexOutOfBoundsException().init___T($objectToString(x$1))
-});
-$c_sci_Nil$.prototype.productIterator__sc_Iterator = (function() {
- return $m_sr_ScalaRunTime$().typedProductIterator__s_Product__sc_Iterator(this)
-});
-$c_sci_Nil$.prototype.tail__O = (function() {
- return this.tail__sci_List()
+ throw new $c_jl_IndexOutOfBoundsException().init___T(("" + x$1))
});
-$c_sci_Nil$.prototype.head__O = (function() {
- this.head__sr_Nothing$()
+$c_sci_Nil$.prototype.head__sr_Nothing$ = (function() {
+ throw new $c_ju_NoSuchElementException().init___T("head of empty list")
});
-$c_sci_Nil$.prototype.init___ = (function() {
- $c_sci_List.prototype.init___.call(this);
- $n_sci_Nil$ = this;
- return this
+$c_sci_Nil$.prototype.productIterator__sc_Iterator = (function() {
+ return new $c_sr_ScalaRunTime$$anon$1().init___s_Product(this)
});
var $d_sci_Nil$ = new $TypeData().initClass({
sci_Nil$: 0
@@ -10871,15 +7532,6 @@ function $h_scm_AbstractBuffer() {
/*<skip>*/
}
$h_scm_AbstractBuffer.prototype = $c_scm_AbstractBuffer.prototype;
-$c_scm_AbstractBuffer.prototype.init___ = (function() {
- $c_scm_AbstractSeq.prototype.init___.call(this);
- $s_scg_Growable$class__$$init$__scg_Growable__V(this);
- $s_scg_Shrinkable$class__$$init$__scg_Shrinkable__V(this);
- $s_scg_Subtractable$class__$$init$__scg_Subtractable__V(this);
- $s_scm_BufferLike$class__$$init$__scm_Buffer__V(this);
- $s_scm_Buffer$class__$$init$__scm_Buffer__V(this);
- return this
-});
/** @constructor */
function $c_scm_StringBuilder() {
$c_scm_AbstractSeq.call(this);
@@ -10892,86 +7544,72 @@ function $h_scm_StringBuilder() {
/*<skip>*/
}
$h_scm_StringBuilder.prototype = $c_scm_StringBuilder.prototype;
-$c_scm_StringBuilder.prototype.scala$collection$IndexedSeqOptimized$$super$sameElements__sc_GenIterable__Z = (function(that) {
- return $s_sc_IterableLike$class__sameElements__sc_IterableLike__sc_GenIterable__Z(this, that)
-});
-$c_scm_StringBuilder.prototype.isEmpty__Z = (function() {
- return $s_sc_IndexedSeqOptimized$class__isEmpty__sc_IndexedSeqOptimized__Z(this)
-});
-$c_scm_StringBuilder.prototype.foreach__F1__V = (function(f) {
- $s_sc_IndexedSeqOptimized$class__foreach__sc_IndexedSeqOptimized__F1__V(this, f)
+$c_scm_StringBuilder.prototype.init___ = (function() {
+ $c_scm_StringBuilder.prototype.init___I__T.call(this, 16, "");
+ return this
});
-$c_scm_StringBuilder.prototype.sameElements__sc_GenIterable__Z = (function(that) {
- return $s_sc_IndexedSeqOptimized$class__sameElements__sc_IndexedSeqOptimized__sc_GenIterable__Z(this, that)
+$c_scm_StringBuilder.prototype.apply__I__O = (function(idx) {
+ var this$1 = this.underlying$5;
+ var thiz = this$1.content$1;
+ var c = (65535 & (thiz["charCodeAt"](idx) | 0));
+ return new $c_jl_Character().init___C(c)
});
$c_scm_StringBuilder.prototype.lengthCompare__I__I = (function(len) {
return $s_sc_IndexedSeqOptimized$class__lengthCompare__sc_IndexedSeqOptimized__I__I(this, len)
});
-$c_scm_StringBuilder.prototype.seq__scm_IndexedSeq = (function() {
- return $s_scm_IndexedSeq$class__seq__scm_IndexedSeq__scm_IndexedSeq(this)
-});
-$c_scm_StringBuilder.prototype.hashCode__I = (function() {
- return $s_sc_IndexedSeqLike$class__hashCode__sc_IndexedSeqLike__I(this)
-});
-$c_scm_StringBuilder.prototype.iterator__sc_Iterator = (function() {
- return $s_sc_IndexedSeqLike$class__iterator__sc_IndexedSeqLike__sc_Iterator(this)
-});
-$c_scm_StringBuilder.prototype.underlying__p5__jl_StringBuilder = (function() {
- return this.underlying$5
-});
-$c_scm_StringBuilder.prototype.length__I = (function() {
- return this.underlying__p5__jl_StringBuilder().length__I()
+$c_scm_StringBuilder.prototype.apply__O__O = (function(v1) {
+ var index = (v1 | 0);
+ var this$1 = this.underlying$5;
+ var thiz = this$1.content$1;
+ var c = (65535 & (thiz["charCodeAt"](index) | 0));
+ return new $c_jl_Character().init___C(c)
});
-$c_scm_StringBuilder.prototype.apply__I__C = (function(index) {
- return this.underlying__p5__jl_StringBuilder().charAt__I__C(index)
+$c_scm_StringBuilder.prototype.sameElements__sc_GenIterable__Z = (function(that) {
+ return $s_sc_IndexedSeqOptimized$class__sameElements__sc_IndexedSeqOptimized__sc_GenIterable__Z(this, that)
});
-$c_scm_StringBuilder.prototype.substring__I__I__T = (function(start, end) {
- return this.underlying__p5__jl_StringBuilder().substring__I__I__T(start, end)
+$c_scm_StringBuilder.prototype.isEmpty__Z = (function() {
+ return $s_sc_IndexedSeqOptimized$class__isEmpty__sc_IndexedSeqOptimized__Z(this)
});
$c_scm_StringBuilder.prototype.subSequence__I__I__jl_CharSequence = (function(start, end) {
- return this.substring__I__I__T(start, end)
+ var this$1 = this.underlying$5;
+ var thiz = this$1.content$1;
+ return thiz["substring"](start, end)
});
-$c_scm_StringBuilder.prototype.append__O__scm_StringBuilder = (function(x) {
- this.underlying__p5__jl_StringBuilder().append__T__jl_StringBuilder($m_sjsr_RuntimeString$().valueOf__O__T(x));
- return this
+$c_scm_StringBuilder.prototype.toString__T = (function() {
+ var this$1 = this.underlying$5;
+ return this$1.content$1
+});
+$c_scm_StringBuilder.prototype.foreach__F1__V = (function(f) {
+ $s_sc_IndexedSeqOptimized$class__foreach__sc_IndexedSeqOptimized__F1__V(this, f)
});
$c_scm_StringBuilder.prototype.append__T__scm_StringBuilder = (function(s) {
- this.underlying__p5__jl_StringBuilder().append__T__jl_StringBuilder(s);
+ this.underlying$5.append__T__jl_StringBuilder(s);
return this
});
-$c_scm_StringBuilder.prototype.toString__T = (function() {
- return this.underlying__p5__jl_StringBuilder().toString__T()
-});
-$c_scm_StringBuilder.prototype.seq__sc_IndexedSeq = (function() {
- return this.seq__scm_IndexedSeq()
+$c_scm_StringBuilder.prototype.iterator__sc_Iterator = (function() {
+ var this$1 = this.underlying$5;
+ var thiz = this$1.content$1;
+ return new $c_sc_IndexedSeqLike$Elements().init___sc_IndexedSeqLike__I__I(this, 0, (thiz["length"] | 0))
});
-$c_scm_StringBuilder.prototype.apply__O__O = (function(v1) {
- return $m_sr_BoxesRunTime$().boxToCharacter__C__jl_Character(this.apply__I__C((v1 | 0)))
+$c_scm_StringBuilder.prototype.init___I__T = (function(initCapacity, initValue) {
+ $c_scm_StringBuilder.prototype.init___jl_StringBuilder.call(this, new $c_jl_StringBuilder().init___I((((initValue["length"] | 0) + initCapacity) | 0)).append__T__jl_StringBuilder(initValue));
+ return this
});
-$c_scm_StringBuilder.prototype.apply__I__O = (function(idx) {
- return $m_sr_BoxesRunTime$().boxToCharacter__C__jl_Character(this.apply__I__C(idx))
+$c_scm_StringBuilder.prototype.length__I = (function() {
+ var this$1 = this.underlying$5;
+ var thiz = this$1.content$1;
+ return (thiz["length"] | 0)
});
$c_scm_StringBuilder.prototype.init___jl_StringBuilder = (function(underlying) {
this.underlying$5 = underlying;
- $c_scm_AbstractSeq.prototype.init___.call(this);
- $s_sc_IndexedSeqLike$class__$$init$__sc_IndexedSeqLike__V(this);
- $s_sc_IndexedSeq$class__$$init$__sc_IndexedSeq__V(this);
- $s_scm_IndexedSeqLike$class__$$init$__scm_IndexedSeqLike__V(this);
- $s_scm_IndexedSeq$class__$$init$__scm_IndexedSeq__V(this);
- $s_sc_IndexedSeqOptimized$class__$$init$__sc_IndexedSeqOptimized__V(this);
- $s_s_math_Ordered$class__$$init$__s_math_Ordered__V(this);
- $s_sci_StringLike$class__$$init$__sci_StringLike__V(this);
- $s_scg_Growable$class__$$init$__scg_Growable__V(this);
- $s_scm_Builder$class__$$init$__scm_Builder__V(this);
return this
});
-$c_scm_StringBuilder.prototype.init___I__T = (function(initCapacity, initValue) {
- $c_scm_StringBuilder.prototype.init___jl_StringBuilder.call(this, new $c_jl_StringBuilder().init___I((($m_sjsr_RuntimeString$().length__T__I(initValue) + initCapacity) | 0)).append__T__jl_StringBuilder(initValue));
+$c_scm_StringBuilder.prototype.append__O__scm_StringBuilder = (function(x) {
+ this.underlying$5.append__T__jl_StringBuilder($m_sjsr_RuntimeString$().valueOf__O__T(x));
return this
});
-$c_scm_StringBuilder.prototype.init___ = (function() {
- $c_scm_StringBuilder.prototype.init___I__T.call(this, 16, "");
- return this
+$c_scm_StringBuilder.prototype.hashCode__I = (function() {
+ return $m_s_util_hashing_MurmurHash3$().seqHash__sc_Seq__I(this)
});
var $d_scm_StringBuilder = new $TypeData().initClass({
scm_StringBuilder: 0
@@ -11039,66 +7677,41 @@ function $h_sjs_js_WrappedArray() {
/*<skip>*/
}
$h_sjs_js_WrappedArray.prototype = $c_sjs_js_WrappedArray.prototype;
-$c_sjs_js_WrappedArray.prototype.scala$collection$IndexedSeqOptimized$$super$sameElements__sc_GenIterable__Z = (function(that) {
- return $s_sc_IterableLike$class__sameElements__sc_IterableLike__sc_GenIterable__Z(this, that)
+$c_sjs_js_WrappedArray.prototype.lengthCompare__I__I = (function(len) {
+ return $s_sc_IndexedSeqOptimized$class__lengthCompare__sc_IndexedSeqOptimized__I__I(this, len)
});
-$c_sjs_js_WrappedArray.prototype.isEmpty__Z = (function() {
- return $s_sc_IndexedSeqOptimized$class__isEmpty__sc_IndexedSeqOptimized__Z(this)
+$c_sjs_js_WrappedArray.prototype.apply__I__O = (function(index) {
+ return this.array$6[index]
});
-$c_sjs_js_WrappedArray.prototype.foreach__F1__V = (function(f) {
- $s_sc_IndexedSeqOptimized$class__foreach__sc_IndexedSeqOptimized__F1__V(this, f)
+$c_sjs_js_WrappedArray.prototype.apply__O__O = (function(v1) {
+ var index = (v1 | 0);
+ return this.array$6[index]
});
$c_sjs_js_WrappedArray.prototype.sameElements__sc_GenIterable__Z = (function(that) {
return $s_sc_IndexedSeqOptimized$class__sameElements__sc_IndexedSeqOptimized__sc_GenIterable__Z(this, that)
});
-$c_sjs_js_WrappedArray.prototype.lengthCompare__I__I = (function(len) {
- return $s_sc_IndexedSeqOptimized$class__lengthCompare__sc_IndexedSeqOptimized__I__I(this, len)
-});
-$c_sjs_js_WrappedArray.prototype.seq__scm_IndexedSeq = (function() {
- return $s_scm_IndexedSeq$class__seq__scm_IndexedSeq__scm_IndexedSeq(this)
+$c_sjs_js_WrappedArray.prototype.isEmpty__Z = (function() {
+ return $s_sc_IndexedSeqOptimized$class__isEmpty__sc_IndexedSeqOptimized__Z(this)
});
-$c_sjs_js_WrappedArray.prototype.hashCode__I = (function() {
- return $s_sc_IndexedSeqLike$class__hashCode__sc_IndexedSeqLike__I(this)
+$c_sjs_js_WrappedArray.prototype.foreach__F1__V = (function(f) {
+ $s_sc_IndexedSeqOptimized$class__foreach__sc_IndexedSeqOptimized__F1__V(this, f)
});
$c_sjs_js_WrappedArray.prototype.iterator__sc_Iterator = (function() {
- return $s_sc_IndexedSeqLike$class__iterator__sc_IndexedSeqLike__sc_Iterator(this)
-});
-$c_sjs_js_WrappedArray.prototype.array__sjs_js_Array = (function() {
- return this.array$6
-});
-$c_sjs_js_WrappedArray.prototype.apply__I__O = (function(index) {
- return this.array__sjs_js_Array()[index]
+ return new $c_sc_IndexedSeqLike$Elements().init___sc_IndexedSeqLike__I__I(this, 0, (this.array$6["length"] | 0))
});
$c_sjs_js_WrappedArray.prototype.length__I = (function() {
- return (this.array__sjs_js_Array()["length"] | 0)
-});
-$c_sjs_js_WrappedArray.prototype.stringPrefix__T = (function() {
- return "WrappedArray"
-});
-$c_sjs_js_WrappedArray.prototype.seq__sc_IndexedSeq = (function() {
- return this.seq__scm_IndexedSeq()
+ return (this.array$6["length"] | 0)
});
-$c_sjs_js_WrappedArray.prototype.apply__O__O = (function(v1) {
- return this.apply__I__O((v1 | 0))
+$c_sjs_js_WrappedArray.prototype.hashCode__I = (function() {
+ return $m_s_util_hashing_MurmurHash3$().seqHash__sc_Seq__I(this)
});
$c_sjs_js_WrappedArray.prototype.init___sjs_js_Array = (function(array) {
this.array$6 = array;
- $c_scm_AbstractBuffer.prototype.init___.call(this);
- $s_sc_IndexedSeqLike$class__$$init$__sc_IndexedSeqLike__V(this);
- $s_sc_IndexedSeq$class__$$init$__sc_IndexedSeq__V(this);
- $s_scm_IndexedSeqLike$class__$$init$__scm_IndexedSeqLike__V(this);
- $s_scm_IndexedSeq$class__$$init$__scm_IndexedSeq__V(this);
- $s_sc_IndexedSeqOptimized$class__$$init$__sc_IndexedSeqOptimized__V(this);
- $s_scm_ArrayLike$class__$$init$__scm_ArrayLike__V(this);
- $s_scm_Builder$class__$$init$__scm_Builder__V(this);
return this
});
-function $is_sjs_js_WrappedArray(obj) {
- return (!(!((obj && obj.$classData) && obj.$classData.ancestors.sjs_js_WrappedArray)))
-}
-function $isArrayOf_sjs_js_WrappedArray(obj, depth) {
- return (!(!(((obj && obj.$classData) && (obj.$classData.arrayDepth === depth)) && obj.$classData.arrayBase.ancestors.sjs_js_WrappedArray)))
-}
+$c_sjs_js_WrappedArray.prototype.stringPrefix__T = (function() {
+ return "WrappedArray"
+});
var $d_sjs_js_WrappedArray = new $TypeData().initClass({
sjs_js_WrappedArray: 0
}, false, "scala.scalajs.js.WrappedArray", {
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment