From 03171a78d706de9a61b4d785f0735f6d12ba4fbb Mon Sep 17 00:00:00 2001 From: Dylan Owen Date: Sat, 14 Jul 2018 15:49:42 -0700 Subject: [PATCH 1/7] initial scala-js implementation --- .gitignore | 1 + _config.yml | 1 + _includes/footer.html | 1 + build.sbt | 14 + js-src/functions/build.sbt | 17 + .../scala/org/scalalang/DownloadLinks.scala | 50 + .../scala/org/scalalang/FunctionsApp.scala | 26 + .../scala/org/scalalang/PositionMarker.scala | 40 + .../scala/org/scalalang/utils/JsUtils.scala | 20 + .../scala/org/scalalang/utils/Logger.scala | 161 + .../main/scala/org/scalalang/utils/OS.scala | 58 + project/Versions.scala | 13 + project/build.properties | 1 + project/plugins.sbt | 2 + resources/js/functions.js | 74 - resources/js/scala-functions.js | 4135 +++++++++++++++++ resources/js/scala-functions.js.map | 8 + 17 files changed, 4548 insertions(+), 74 deletions(-) create mode 100644 build.sbt create mode 100644 js-src/functions/build.sbt create mode 100644 js-src/functions/src/main/scala/org/scalalang/DownloadLinks.scala create mode 100644 js-src/functions/src/main/scala/org/scalalang/FunctionsApp.scala create mode 100644 js-src/functions/src/main/scala/org/scalalang/PositionMarker.scala create mode 100644 js-src/functions/src/main/scala/org/scalalang/utils/JsUtils.scala create mode 100644 js-src/functions/src/main/scala/org/scalalang/utils/Logger.scala create mode 100644 js-src/functions/src/main/scala/org/scalalang/utils/OS.scala create mode 100644 project/Versions.scala create mode 100644 project/build.properties create mode 100644 project/plugins.sbt create mode 100644 resources/js/scala-functions.js create mode 100644 resources/js/scala-functions.js.map diff --git a/.gitignore b/.gitignore index d283ea78a..2db87e2e6 100644 --- a/.gitignore +++ b/.gitignore @@ -7,3 +7,4 @@ vendor/ /.idea .ruby-version .sass-cache/ +target \ No newline at end of file diff --git a/_config.yml b/_config.yml index 8ec004b22..618de1925 100644 --- a/_config.yml +++ b/_config.yml @@ -9,6 +9,7 @@ highlighter: exclude: - bundle-vendor/ - bin/ + - js-src/ - blog/README.md - training/README.md - README.md diff --git a/_includes/footer.html b/_includes/footer.html index 9356da31a..99fc0d17e 100644 --- a/_includes/footer.html +++ b/_includes/footer.html @@ -51,6 +51,7 @@ + diff --git a/build.sbt b/build.sbt new file mode 100644 index 000000000..c760f91d8 --- /dev/null +++ b/build.sbt @@ -0,0 +1,14 @@ +name := "scala-lang" + +organization in ThisBuild := "com.scala" +version in ThisBuild := "0.1" +scalaVersion in ThisBuild := "2.12.6" +scalacOptions in ThisBuild ++= Seq( + "-feature", + "-deprecation" +) + +lazy val functions = project in file("js-src/functions") + +lazy val root: Project = project.in(file(".")) + .aggregate(functions) \ No newline at end of file diff --git a/js-src/functions/build.sbt b/js-src/functions/build.sbt new file mode 100644 index 000000000..68480d9d8 --- /dev/null +++ b/js-src/functions/build.sbt @@ -0,0 +1,17 @@ +import org.scalajs.core.tools.linker.backend.OutputMode + +enablePlugins(ScalaJSPlugin) + +name := "functions" + +libraryDependencies ++= Seq( + "org.scala-js" %%% "scalajs-dom" % Versions.Dom, + "org.querki" %%% "jquery-facade" % Versions.JQuery +) + +// move our output folder to static +artifactPath in(Compile, fastOptJS) := baseDirectory.value / ".." / ".." / "resources" / "js" / s"scala-${name.value}.js" +artifactPath in(Compile, fullOptJS) := baseDirectory.value / ".." / ".." / "resources" / "js" / s"scala-${name.value}.js" + +scalaJSUseMainModuleInitializer := true +scalaJSOutputMode := OutputMode.ECMAScript6 \ No newline at end of file diff --git a/js-src/functions/src/main/scala/org/scalalang/DownloadLinks.scala b/js-src/functions/src/main/scala/org/scalalang/DownloadLinks.scala new file mode 100644 index 000000000..08a696aa1 --- /dev/null +++ b/js-src/functions/src/main/scala/org/scalalang/DownloadLinks.scala @@ -0,0 +1,50 @@ +package org.scalalang + +import org.querki.jquery._ +import org.scalajs.dom.{Element, document} +import org.scalalang.utils.{JsUtils, Logger, OS} + +/** + * This updates our download links based on the OS of the client + * + * @author dylan.owen + * @since Jul-2018 + */ +object DownloadLinks { + + private val logger: Logger = Logger[DownloadLinks.type] + + def apply(): Unit = { + setupBinariesElement() + setupMainDownload() + } + + private def setupBinariesElement(): Unit = JsUtils.findElement("#download-binaries").foreach((binariesElmnt: JQuery) => { + val os: OS = OS() + val osLabel: String = os.label + + var anchor: Element = document.getElementById("#link-main-unixsys") + if (os == OS.Windows) { + anchor = document.getElementById("#link-main-windows") + } + if (anchor == null) { + anchor = document.getElementById("#link-main-one4all") + } + val link: String = anchor.getAttribute("href") + + binariesElmnt.attr("href", link).addClass(osLabel) + $("#users-os").text(osLabel) + }) + + private def setupMainDownload(): Unit = JsUtils.findElement(".main-download").foreach(_ => { + val osLabel: String = OS().label + + val intelliJlink: String = $("#intellij-" + osLabel).text() + val sbtLink: String = $("#sbt-" + osLabel).text() + val stepOneContent: String = $("#stepOne-" + osLabel).html() + + $("#download-intellij-link").attr("href", intelliJlink) + $("#download-sbt-link").attr("href", sbtLink) + $("#download-step-one").html(stepOneContent) + }) +} diff --git a/js-src/functions/src/main/scala/org/scalalang/FunctionsApp.scala b/js-src/functions/src/main/scala/org/scalalang/FunctionsApp.scala new file mode 100644 index 000000000..cc670a403 --- /dev/null +++ b/js-src/functions/src/main/scala/org/scalalang/FunctionsApp.scala @@ -0,0 +1,26 @@ +package org.scalalang + +import org.querki.jquery._ +import org.scalajs.dom.document +import org.scalalang.utils.{Logger, RootLogger} + +/** + * This is the main entry point for our application + * + * @author dylan.owen + * @since Jul-2018 + */ +object FunctionsApp { + RootLogger.setTrace() + + private val logger: Logger = Logger[FunctionsApp.type] + + def main(args: Array[String]): Unit = { + $(document).ready(() => { + logger.trace("Dom Ready") + + DownloadLinks() + PositionMarker() + }) + } +} \ No newline at end of file diff --git a/js-src/functions/src/main/scala/org/scalalang/PositionMarker.scala b/js-src/functions/src/main/scala/org/scalalang/PositionMarker.scala new file mode 100644 index 000000000..1fd53e75d --- /dev/null +++ b/js-src/functions/src/main/scala/org/scalalang/PositionMarker.scala @@ -0,0 +1,40 @@ +package org.scalalang + +import org.querki.jquery._ +import org.scalajs.dom.window +import org.scalalang.utils.JsUtils + +/** + * This renders / updates the position marker on the front page + * + * @author dylan.owen + * @since Jul-2018 + */ +object PositionMarker { + + private val imageWidth: Int = 1680 + + // where our position should be on the image + private val targetX: Int = 1028 + private val targetY: Int = 290 + + def apply(): Unit = JsUtils.findElement("#position-marker") + .foreach((pointer: JQuery) => { + val updater: () => Unit = updatePointer(pointer) + + // register on window resize + $(window).resize(updater) + + // initialize + pointer.css("top", targetY) + updater() + }) + + private def updatePointer(pointer: JQuery): () => Unit = () => { + val windowWidth: Double = $(window).width() + + val xScale: Double = windowWidth / imageWidth + + pointer.css("left", (targetX * xScale).toInt) + } +} diff --git a/js-src/functions/src/main/scala/org/scalalang/utils/JsUtils.scala b/js-src/functions/src/main/scala/org/scalalang/utils/JsUtils.scala new file mode 100644 index 000000000..3ebd46d05 --- /dev/null +++ b/js-src/functions/src/main/scala/org/scalalang/utils/JsUtils.scala @@ -0,0 +1,20 @@ +package org.scalalang.utils + +import org.querki.jquery._ + +/** + * TODO add description + * + * @author dylan.owen + * @since Feb-2017 + */ +object JsUtils { + /** + * @param element the element we wish to find + * @return the returned jquery element will have > 1 elements + */ + @inline + def findElement(element: ElementDesc): Option[JQuery] = { + Option($(element)).filter(_.length > 0) + } +} diff --git a/js-src/functions/src/main/scala/org/scalalang/utils/Logger.scala b/js-src/functions/src/main/scala/org/scalalang/utils/Logger.scala new file mode 100644 index 000000000..1c71b08de --- /dev/null +++ b/js-src/functions/src/main/scala/org/scalalang/utils/Logger.scala @@ -0,0 +1,161 @@ +package org.scalalang.utils + +import org.scalajs.dom.console + +import scala.reflect.ClassTag +import scala.scalajs.js + +/** + * TODO add description + * + * @author dylan.owen + * @since Mar-2017 + */ +object Logger { + + type Level = Int + + object Level { + val Error: Level = 1 + val Warn: Level = 3 + val Info: Level = 5 + val Debug: Level = 7 + val Trace: Level = 9 + } + + def apply[C](implicit clazz: ClassTag[C]): Logger = { + Logger(clazz.runtimeClass.getName, RootLogger) + } + + def apply(prefix: String, parentLogger: LoggerUtil = RootLogger): Logger = { + new Logger(prefix + ":\t", parentLogger) + } +} + +trait LoggerUtil { + + import Logger.Level + + protected var logLevel: Level = Level.Trace + + @inline + def logAndThrow(message: String, t: String => Throwable = new RuntimeException(_)): Nothing = { + throw logAndGet(message, t) + } + + @inline + def logAndThrow(message: String, t: Throwable): Nothing = { + error(message, t.getMessage) + + throw t + } + + @inline + def logAndThrow(t: Throwable): Nothing = { + error(t.getMessage) + + throw t + } + + @inline + def logAndGet(message: String, t: String => Throwable = new RuntimeException(_)): Throwable = { + error(message) + + t(message) + } + + @inline + def log(logLevel: Level, message: => js.Any, optionalMessages: js.Any*): Unit = logLevel match { + case Level.Trace => trace(message, optionalMessages) + case Level.Debug => debug(message, optionalMessages) + case Level.Info => info(message, optionalMessages) + case Level.Warn => warn(message, optionalMessages) + case Level.Error => error(message, optionalMessages) + } + + @inline + def warn(t: Throwable): Unit = { + warn(t.getMessage) + } + + @inline + def error(t: Throwable): Unit = { + error(t.getMessage) + t.printStackTrace() + } + + @inline + def trace(message: => js.Any, optionalMessages: js.Any*): Unit = { + internalLog(console.log, Level.Trace, message, optionalMessages) + } + + @inline + def debug(message: => js.Any, optionalMessages: js.Any*): Unit = { + internalLog(console.log, Level.Debug, message, optionalMessages) + } + + @inline + def info(message: => js.Any, optionalMessages: js.Any*): Unit = { + internalLog(console.info, Level.Info, message, optionalMessages) + } + + @inline + def warn(message: => js.Any, optionalMessages: js.Any*): Unit = { + internalLog(console.warn, Level.Warn, message, optionalMessages) + } + + @inline + def error(message: => js.Any, optionalMessages: js.Any*): Unit = { + internalLog(console.error, Level.Error, message, optionalMessages) + } + + @inline + private[utils] def internalLog(logger: (js.Any, Seq[js.Any]) => Unit, + level: Level, + lazyMessage: => js.Any, + optionalMessages: Seq[js.Any]): Unit + + def setTrace(): Unit = this.logLevel = Level.Trace + + def setDebug(): Unit = this.logLevel = Level.Debug + + def setInfo(): Unit = this.logLevel = Level.Info + + def setWarn(): Unit = this.logLevel = Level.Warn + + def setError(): Unit = this.logLevel = Level.Error +} + +class Logger private(prefix: String, private val parentLogger: LoggerUtil) extends LoggerUtil { + + import Logger._ + + override private[utils] def internalLog(logger: (js.Any, Seq[js.Any]) => Unit, + level: Level, + lazyMessage: => js.Any, + optionalMessages: Seq[js.Any]): Unit = { + if (logLevel >= level) { + parentLogger.internalLog(logger, level, { + prefix + lazyMessage + }, optionalMessages) + } + } +} + +object RootLogger extends LoggerUtil { + + import Logger.Level + + logLevel = Level.Info + + @inline + override private[utils] def internalLog(logger: (js.Any, Seq[js.Any]) => Unit, + level: Level, + lazyMessage: => js.Any, + optionalMessages: Seq[js.Any]): Unit = { + if (logLevel >= level) { + val message: js.Any = lazyMessage + logger(message, optionalMessages) + } + } +} \ No newline at end of file diff --git a/js-src/functions/src/main/scala/org/scalalang/utils/OS.scala b/js-src/functions/src/main/scala/org/scalalang/utils/OS.scala new file mode 100644 index 000000000..00d906c65 --- /dev/null +++ b/js-src/functions/src/main/scala/org/scalalang/utils/OS.scala @@ -0,0 +1,58 @@ +package org.scalalang.utils + +import org.scalajs.dom.window + +/** + * TODO add description + * + * @author dylan.owen + * @since Jul-2018 + */ +sealed trait OS { + val navigator: String + val label: String +} + +object OS { + + private val logger: Logger = Logger[OS.type] + + case object Windows extends OS { + override val navigator: String = "Win" + override val label: String = "windows" + } + + case object Mac extends OS { + override val navigator: String = "Mac" + override val label: String = "osx" + } + + case object Linux extends OS { + override val navigator: String = "Linux" + override val label: String = "linux" + } + + case object Unix extends OS { + override val navigator: String = "X11" + override val label: String = "unix" + } + + def apply(): OS = { + val appVersion: String = window.navigator.appVersion + val default: OS = Linux + + val os: OS = Array(Windows, Mac, Linux, Unix) + .foldLeft(default)((last: OS, os: OS) => { + if (appVersion.contains(os.navigator)) { + os + } + else { + last + } + }) + + logger.info("OS: " + os) + + os + } +} \ No newline at end of file diff --git a/project/Versions.scala b/project/Versions.scala new file mode 100644 index 000000000..b459b8fa3 --- /dev/null +++ b/project/Versions.scala @@ -0,0 +1,13 @@ +import sbt._ + +/** + * TODO add description + * + * @author dylan.owen + * @since Jun-2018 + */ +object Versions { + val Dom = "0.9.2" + + val JQuery = "1.2" +} \ No newline at end of file diff --git a/project/build.properties b/project/build.properties new file mode 100644 index 000000000..16eecf57c --- /dev/null +++ b/project/build.properties @@ -0,0 +1 @@ +sbt.version = 1.1.6 \ No newline at end of file diff --git a/project/plugins.sbt b/project/plugins.sbt new file mode 100644 index 000000000..196b49299 --- /dev/null +++ b/project/plugins.sbt @@ -0,0 +1,2 @@ +// Cross project compilation +addSbtPlugin("org.scala-js" % "sbt-scalajs" % "0.6.24") \ No newline at end of file diff --git a/resources/js/functions.js b/resources/js/functions.js index 1178035fd..db6c33c8e 100644 --- a/resources/js/functions.js +++ b/resources/js/functions.js @@ -1,6 +1,3 @@ ---- ---- - // Sliding Panel and scala in a nutshell $(document).ready(function() { $('.navigation-panel-button,.navigation-fade-screen,.navigation-panel-close').on('click touchstart', function(e) { @@ -248,77 +245,6 @@ $(document).ready(function() { } }); -// OS detection -function getOS() { - var osname = "linux"; - if (navigator.appVersion.indexOf("Win") != -1) osname = "windows"; - if (navigator.appVersion.indexOf("Mac") != -1) osname = "osx"; - if (navigator.appVersion.indexOf("Linux") != -1) osname = "linux"; - if (navigator.appVersion.indexOf("X11") != -1) osname = "unix"; - return osname; -} - -$(document).ready(function() { - if ($(".main-download").length) { - var os = getOS(); - var intelliJlink = $("#intellij-" + os).text(); - var sbtLink = $("#sbt-" + os).text(); - var stepOneContent = $("#stepOne-" + os).html() - $("#download-intellij-link").attr("href", intelliJlink); - $("#download-sbt-link").attr("href", sbtLink); - $("#download-step-one").html(stepOneContent); - } -}); - - -$(document).ready(function() { - - var os = getOS(); - if (os == "Unknown OS") os = "UNIX"; - - var osLabel = os.replace(/\s/g, '').toLowerCase(); - - // Do not do any of the following if we're not on a download page - // Otherwise a TypeError is raised and disables all other scripts on the page - if ($("#download-binaries").length == 0) - return; - - /*$("#download-button, #getting-started-popup").click(function() { - $("#getting-started-popup").toggleClass("open"); - });*/ - - var anchor = document.getElementById("#link-main-unixsys"); - if (os == "windows") { - anchor = document.getElementById("#link-main-windows"); - } - if (anchor == null) anchor = document.getElementById("#link-main-one4all"); - var link = anchor.getAttribute("href"); - - $("#download-binaries").attr("href", link).addClass(osLabel); - $("#users-os").text(os); -}); - - -var image = { width: 1680, height: 1100 }; -var target = { x: 1028, y: 290 }; - -var pointer = $('#position-marker'); - -$(document).ready(updatePointer); -$(window).resize(updatePointer); - -function updatePointer() { - - var windowWidth = $(window).width(); - var windowHeight = $(window).height(); - - var xScale = windowWidth / image.width; - var yScale = windowHeight / image.height; - - pointer.css('top', (target.y)); - pointer.css('left', (target.x) * xScale); -} - // TRAININGS $(document).ready(function() { var MONTH_NAMES = [ "January", "February", "March", "April", "May", "June", "July", "August", "September", "October", "November", "December" ]; diff --git a/resources/js/scala-functions.js b/resources/js/scala-functions.js new file mode 100644 index 000000000..c74dce531 --- /dev/null +++ b/resources/js/scala-functions.js @@ -0,0 +1,4135 @@ +(function(){ +'use strict'; +/* Scala.js runtime support + * Copyright 2013 LAMP/EPFL + * Author: Sébastien Doeraene + */ + +/* ---------------------------------- * + * The top-level Scala.js environment * + * ---------------------------------- */ + + + + + +// Get the environment info +const $env = (typeof __ScalaJSEnv === "object" && __ScalaJSEnv) ? __ScalaJSEnv : {}; + +// Global scope +const $g = + (typeof $env["global"] === "object" && $env["global"]) + ? $env["global"] + : ((typeof global === "object" && global && global["Object"] === Object) ? global : this); +$env["global"] = $g; + +// Where to send exports + + + +const $e = + (typeof $env["exportsNamespace"] === "object" && $env["exportsNamespace"]) + ? $env["exportsNamespace"] : $g; + +$env["exportsNamespace"] = $e; + +// Freeze the environment info +$g["Object"]["freeze"]($env); + +// Linking info - must be in sync with scala.scalajs.runtime.LinkingInfo +const $linkingInfo = { + "envInfo": $env, + "semantics": { + + + + + "asInstanceOfs": 1, + + + + + + + + + "arrayIndexOutOfBounds": 1, + + + + + + + + + + + "moduleInit": 2, + + + + + + "strictFloats": false, + + + + + "productionMode": false + + }, + + "assumingES6": true, + + + + "linkerVersion": "0.6.24", + "globalThis": this +}; +$g["Object"]["freeze"]($linkingInfo); +$g["Object"]["freeze"]($linkingInfo["semantics"]); + +// Snapshots of builtins and polyfills + + +const $imul = $g["Math"]["imul"]; +const $fround = $g["Math"]["fround"]; +const $clz32 = $g["Math"]["clz32"]; + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +// Other fields + + + + + + + + + + + + + + + + + + + + +let $lastIDHash = 0; // last value attributed to an id hash code + +const $idHashCodeMap = new $g["WeakMap"](); + + + + + +// Core mechanism + +const $makeIsArrayOfPrimitive = function(primitiveData) { + return function(obj, depth) { + return !!(obj && obj.$classData && + (obj.$classData.arrayDepth === depth) && + (obj.$classData.arrayBase === primitiveData)); + } +}; + + +const $makeAsArrayOfPrimitive = function(isInstanceOfFunction, arrayEncodedName) { + return function(obj, depth) { + if (isInstanceOfFunction(obj, depth) || (obj === null)) + return obj; + else + $throwArrayCastException(obj, arrayEncodedName, depth); + } +}; + + +/** Encode a property name for runtime manipulation + * Usage: + * env.propertyName({someProp:0}) + * Returns: + * "someProp" + * Useful when the property is renamed by a global optimizer (like Closure) + * but we must still get hold of a string of that name for runtime + * reflection. + */ +const $propertyName = function(obj) { + for (const prop in obj) + return prop; +}; + +// Runtime functions + +const $isScalaJSObject = function(obj) { + return !!(obj && obj.$classData); +}; + + +const $throwClassCastException = function(instance, classFullName) { + + + + + throw new $c_sjsr_UndefinedBehaviorError().init___jl_Throwable( + new $c_jl_ClassCastException().init___T( + instance + " is not an instance of " + classFullName)); + +}; + +const $throwArrayCastException = function(instance, classArrayEncodedName, depth) { + for (; depth; --depth) + classArrayEncodedName = "[" + classArrayEncodedName; + $throwClassCastException(instance, classArrayEncodedName); +}; + + + +const $throwArrayIndexOutOfBoundsException = function(i) { + const msg = (i === null) ? null : ("" + i); + + + + throw new $c_sjsr_UndefinedBehaviorError().init___jl_Throwable( + new $c_jl_ArrayIndexOutOfBoundsException().init___T(msg)); + +}; + + +const $noIsInstance = function(instance) { + throw new $g["TypeError"]( + "Cannot call isInstance() on a Class representing a raw JS trait/object"); +}; + +const $makeNativeArrayWrapper = function(arrayClassData, nativeArray) { + return new arrayClassData.constr(nativeArray); +}; + +const $newArrayObject = function(arrayClassData, lengths) { + return $newArrayObjectInternal(arrayClassData, lengths, 0); +}; + +const $newArrayObjectInternal = function(arrayClassData, lengths, lengthIndex) { + const result = new arrayClassData.constr(lengths[lengthIndex]); + + if (lengthIndex < lengths.length-1) { + const subArrayClassData = arrayClassData.componentData; + const subLengthIndex = lengthIndex+1; + const underlying = result.u; + for (let i = 0; i < underlying.length; i++) { + underlying[i] = $newArrayObjectInternal( + subArrayClassData, lengths, subLengthIndex); + } + } + + return result; +}; + +const $objectToString = function(instance) { + if (instance === void 0) + return "undefined"; + else + return instance.toString(); +}; + +const $objectGetClass = function(instance) { + switch (typeof instance) { + case "string": + return $d_T.getClassOf(); + case "number": { + const v = instance | 0; + if (v === instance) { // is the value integral? + if ($isByte(v)) + return $d_jl_Byte.getClassOf(); + else if ($isShort(v)) + return $d_jl_Short.getClassOf(); + else + return $d_jl_Integer.getClassOf(); + } else { + if ($isFloat(instance)) + return $d_jl_Float.getClassOf(); + else + return $d_jl_Double.getClassOf(); + } + } + case "boolean": + return $d_jl_Boolean.getClassOf(); + case "undefined": + return $d_sr_BoxedUnit.getClassOf(); + default: + if (instance === null) + return instance.getClass__jl_Class(); + else if ($is_sjsr_RuntimeLong(instance)) + return $d_jl_Long.getClassOf(); + else if ($isScalaJSObject(instance)) + return instance.$classData.getClassOf(); + else + return null; // Exception? + } +}; + +const $objectClone = function(instance) { + if ($isScalaJSObject(instance) || (instance === null)) + return instance.clone__O(); + else + throw new $c_jl_CloneNotSupportedException().init___(); +}; + +const $objectNotify = function(instance) { + // final and no-op in java.lang.Object + if (instance === null) + instance.notify__V(); +}; + +const $objectNotifyAll = function(instance) { + // final and no-op in java.lang.Object + if (instance === null) + instance.notifyAll__V(); +}; + +const $objectFinalize = function(instance) { + if ($isScalaJSObject(instance) || (instance === null)) + instance.finalize__V(); + // else no-op +}; + +const $objectEquals = function(instance, rhs) { + if ($isScalaJSObject(instance) || (instance === null)) + return instance.equals__O__Z(rhs); + else if (typeof instance === "number") + return typeof rhs === "number" && $numberEquals(instance, rhs); + else + return instance === rhs; +}; + +const $numberEquals = function(lhs, rhs) { + return (lhs === rhs) ? ( + // 0.0.equals(-0.0) must be false + lhs !== 0 || 1/lhs === 1/rhs + ) : ( + // are they both NaN? + (lhs !== lhs) && (rhs !== rhs) + ); +}; + +const $objectHashCode = function(instance) { + switch (typeof instance) { + case "string": + return $m_sjsr_RuntimeString$().hashCode__T__I(instance); + case "number": + return $m_sjsr_Bits$().numberHashCode__D__I(instance); + case "boolean": + return instance ? 1231 : 1237; + case "undefined": + return 0; + default: + if ($isScalaJSObject(instance) || instance === null) + return instance.hashCode__I(); + + + + + else + return $systemIdentityHashCode(instance); + } +}; + +const $comparableCompareTo = function(instance, rhs) { + switch (typeof instance) { + case "string": + + $as_T(rhs); + + return instance === rhs ? 0 : (instance < rhs ? -1 : 1); + case "number": + + $as_jl_Number(rhs); + + return $m_jl_Double$().compare__D__D__I(instance, rhs); + case "boolean": + + $asBoolean(rhs); + + return instance - rhs; // yes, this gives the right result + default: + return instance.compareTo__O__I(rhs); + } +}; + +const $charSequenceLength = function(instance) { + if (typeof(instance) === "string") + + return $uI(instance["length"]); + + + + else + return instance.length__I(); +}; + +const $charSequenceCharAt = function(instance, index) { + if (typeof(instance) === "string") + + return $uI(instance["charCodeAt"](index)) & 0xffff; + + + + else + return instance.charAt__I__C(index); +}; + +const $charSequenceSubSequence = function(instance, start, end) { + if (typeof(instance) === "string") + + return $as_T(instance["substring"](start, end)); + + + + else + return instance.subSequence__I__I__jl_CharSequence(start, end); +}; + +const $booleanBooleanValue = function(instance) { + if (typeof instance === "boolean") return instance; + else return instance.booleanValue__Z(); +}; + +const $numberByteValue = function(instance) { + if (typeof instance === "number") return (instance << 24) >> 24; + else return instance.byteValue__B(); +}; +const $numberShortValue = function(instance) { + if (typeof instance === "number") return (instance << 16) >> 16; + else return instance.shortValue__S(); +}; +const $numberIntValue = function(instance) { + if (typeof instance === "number") return instance | 0; + else return instance.intValue__I(); +}; +const $numberLongValue = function(instance) { + if (typeof instance === "number") + return $m_sjsr_RuntimeLong$().fromDouble__D__sjsr_RuntimeLong(instance); + else + return instance.longValue__J(); +}; +const $numberFloatValue = function(instance) { + if (typeof instance === "number") return $fround(instance); + else return instance.floatValue__F(); +}; +const $numberDoubleValue = function(instance) { + if (typeof instance === "number") return instance; + else return instance.doubleValue__D(); +}; + +const $isNaN = function(instance) { + return instance !== instance; +}; + +const $isInfinite = function(instance) { + return !$g["isFinite"](instance) && !$isNaN(instance); +}; + +const $doubleToInt = function(x) { + return (x > 2147483647) ? (2147483647) : ((x < -2147483648) ? -2147483648 : (x | 0)); +}; + +/** Instantiates a JS object with variadic arguments to the constructor. */ +const $newJSObjectWithVarargs = function(ctor, args) { + // This basically emulates the ECMAScript specification for 'new'. + const instance = $g["Object"]["create"](ctor.prototype); + const result = ctor["apply"](instance, args); + switch (typeof result) { + case "string": case "number": case "boolean": case "undefined": case "symbol": + return instance; + default: + return result === null ? instance : result; + } +}; + +const $resolveSuperRef = function(initialProto, propName) { + const getPrototypeOf = $g["Object"]["getPrototypeOf"]; + const getOwnPropertyDescriptor = $g["Object"]["getOwnPropertyDescriptor"]; + + let superProto = getPrototypeOf(initialProto); + while (superProto !== null) { + const desc = getOwnPropertyDescriptor(superProto, propName); + if (desc !== void 0) + return desc; + superProto = getPrototypeOf(superProto); + } + + return void 0; +}; + +const $superGet = function(initialProto, self, propName) { + const desc = $resolveSuperRef(initialProto, propName); + if (desc !== void 0) { + const getter = desc["get"]; + if (getter !== void 0) + return getter["call"](self); + else + return desc["value"]; + } + return void 0; +}; + +const $superSet = function(initialProto, self, propName, value) { + const desc = $resolveSuperRef(initialProto, propName); + if (desc !== void 0) { + const setter = desc["set"]; + if (setter !== void 0) { + setter["call"](self, value); + return void 0; + } + } + throw new $g["TypeError"]("super has no setter '" + propName + "'."); +}; + + + + + + + +const $propertiesOf = function(obj) { + const result = []; + for (const prop in obj) + result["push"](prop); + return result; +}; + +const $systemArraycopy = function(src, srcPos, dest, destPos, length) { + const srcu = src.u; + const destu = dest.u; + + + if (srcPos < 0 || destPos < 0 || length < 0 || + (srcPos > ((srcu.length - length) | 0)) || + (destPos > ((destu.length - length) | 0))) { + $throwArrayIndexOutOfBoundsException(null); + } + + + if (srcu !== destu || destPos < srcPos || (((srcPos + length) | 0) < destPos)) { + for (let i = 0; i < length; i = (i + 1) | 0) + destu[(destPos + i) | 0] = srcu[(srcPos + i) | 0]; + } else { + for (let i = (length - 1) | 0; i >= 0; i = (i - 1) | 0) + destu[(destPos + i) | 0] = srcu[(srcPos + i) | 0]; + } +}; + +const $systemIdentityHashCode = + + + + (function(obj) { + switch (typeof obj) { + case "string": case "number": case "boolean": case "undefined": + return $objectHashCode(obj); + default: + if (obj === null) { + return 0; + } else { + let hash = $idHashCodeMap["get"](obj); + if (hash === void 0) { + hash = ($lastIDHash + 1) | 0; + $lastIDHash = hash; + $idHashCodeMap["set"](obj, hash); + } + return hash; + } + } + + + + + + + + + + + + + + + + + + + + + + }); + +// is/as for hijacked boxed classes (the non-trivial ones) + +const $isByte = function(v) { + return typeof v === "number" && (v << 24 >> 24) === v && 1/v !== 1/-0; +}; + +const $isShort = function(v) { + return typeof v === "number" && (v << 16 >> 16) === v && 1/v !== 1/-0; +}; + +const $isInt = function(v) { + return typeof v === "number" && (v | 0) === v && 1/v !== 1/-0; +}; + +const $isFloat = function(v) { + + + + return typeof v === "number"; + +}; + + +const $asUnit = function(v) { + if (v === void 0 || v === null) + return v; + else + $throwClassCastException(v, "scala.runtime.BoxedUnit"); +}; + +const $asBoolean = function(v) { + if (typeof v === "boolean" || v === null) + return v; + else + $throwClassCastException(v, "java.lang.Boolean"); +}; + +const $asByte = function(v) { + if ($isByte(v) || v === null) + return v; + else + $throwClassCastException(v, "java.lang.Byte"); +}; + +const $asShort = function(v) { + if ($isShort(v) || v === null) + return v; + else + $throwClassCastException(v, "java.lang.Short"); +}; + +const $asInt = function(v) { + if ($isInt(v) || v === null) + return v; + else + $throwClassCastException(v, "java.lang.Integer"); +}; + +const $asFloat = function(v) { + if ($isFloat(v) || v === null) + return v; + else + $throwClassCastException(v, "java.lang.Float"); +}; + +const $asDouble = function(v) { + if (typeof v === "number" || v === null) + return v; + else + $throwClassCastException(v, "java.lang.Double"); +}; + + +// Unboxes + + +const $uZ = function(value) { + return !!$asBoolean(value); +}; +const $uB = function(value) { + return $asByte(value) | 0; +}; +const $uS = function(value) { + return $asShort(value) | 0; +}; +const $uI = function(value) { + return $asInt(value) | 0; +}; +const $uJ = function(value) { + return null === value ? $m_sjsr_RuntimeLong$().Zero$1 + : $as_sjsr_RuntimeLong(value); +}; +const $uF = function(value) { + /* Here, it is fine to use + instead of fround, because asFloat already + * ensures that the result is either null or a float. + */ + return +$asFloat(value); +}; +const $uD = function(value) { + return +$asDouble(value); +}; + + + + + + +// TypeArray conversions + +const $byteArray2TypedArray = function(value) { return new $g["Int8Array"](value.u); }; +const $shortArray2TypedArray = function(value) { return new $g["Int16Array"](value.u); }; +const $charArray2TypedArray = function(value) { return new $g["Uint16Array"](value.u); }; +const $intArray2TypedArray = function(value) { return new $g["Int32Array"](value.u); }; +const $floatArray2TypedArray = function(value) { return new $g["Float32Array"](value.u); }; +const $doubleArray2TypedArray = function(value) { return new $g["Float64Array"](value.u); }; + +const $typedArray2ByteArray = function(value) { + const arrayClassData = $d_B.getArrayOf(); + return new arrayClassData.constr(new $g["Int8Array"](value)); +}; +const $typedArray2ShortArray = function(value) { + const arrayClassData = $d_S.getArrayOf(); + return new arrayClassData.constr(new $g["Int16Array"](value)); +}; +const $typedArray2CharArray = function(value) { + const arrayClassData = $d_C.getArrayOf(); + return new arrayClassData.constr(new $g["Uint16Array"](value)); +}; +const $typedArray2IntArray = function(value) { + const arrayClassData = $d_I.getArrayOf(); + return new arrayClassData.constr(new $g["Int32Array"](value)); +}; +const $typedArray2FloatArray = function(value) { + const arrayClassData = $d_F.getArrayOf(); + return new arrayClassData.constr(new $g["Float32Array"](value)); +}; +const $typedArray2DoubleArray = function(value) { + const arrayClassData = $d_D.getArrayOf(); + return new arrayClassData.constr(new $g["Float64Array"](value)); +}; + +// TypeData class + + + + + +class $TypeData { +constructor() { + + // Runtime support + this.constr = void 0; + this.parentData = void 0; + this.ancestors = null; + this.componentData = null; + this.arrayBase = null; + this.arrayDepth = 0; + this.zero = null; + this.arrayEncodedName = ""; + this._classOf = void 0; + this._arrayOf = void 0; + this.isArrayOf = void 0; + + // java.lang.Class support + this["name"] = ""; + this["isPrimitive"] = false; + this["isInterface"] = false; + this["isArrayClass"] = false; + this["isRawJSType"] = false; + this["isInstance"] = void 0; +}; + + + + +initPrim( + + zero, arrayEncodedName, displayName) { + // Runtime support + this.ancestors = {}; + this.componentData = null; + this.zero = zero; + this.arrayEncodedName = arrayEncodedName; + this.isArrayOf = function(obj, depth) { return false; }; + + // java.lang.Class support + this["name"] = displayName; + this["isPrimitive"] = true; + this["isInstance"] = function(obj) { return false; }; + + return this; +}; + + + + +initClass( + + internalNameObj, isInterface, fullName, + ancestors, isRawJSType, parentData, isInstance, isArrayOf) { + const internalName = $propertyName(internalNameObj); + + isInstance = isInstance || function(obj) { + return !!(obj && obj.$classData && obj.$classData.ancestors[internalName]); + }; + + isArrayOf = isArrayOf || function(obj, depth) { + return !!(obj && obj.$classData && (obj.$classData.arrayDepth === depth) + && obj.$classData.arrayBase.ancestors[internalName]) + }; + + // Runtime support + this.parentData = parentData; + this.ancestors = ancestors; + this.arrayEncodedName = "L"+fullName+";"; + this.isArrayOf = isArrayOf; + + // java.lang.Class support + this["name"] = fullName; + this["isInterface"] = isInterface; + this["isRawJSType"] = !!isRawJSType; + this["isInstance"] = isInstance; + + return this; +}; + + + + +initArray( + + componentData) { + // The constructor + + const componentZero0 = componentData.zero; + + // The zero for the Long runtime representation + // is a special case here, since the class has not + // been defined yet, when this file is read + const componentZero = (componentZero0 == "longZero") + ? $m_sjsr_RuntimeLong$().Zero$1 + : componentZero0; + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + class ArrayClass extends $c_O { + constructor(arg) { + super(); + if (typeof(arg) === "number") { + // arg is the length of the array + this.u = new Array(arg); + for (let i = 0; i < arg; i++) + this.u[i] = componentZero; + } else { + // arg is a native array that we wrap + this.u = arg; + } + }; + + + get(i) { + if (i < 0 || i >= this.u.length) + $throwArrayIndexOutOfBoundsException(i); + return this.u[i]; + }; + set(i, v) { + if (i < 0 || i >= this.u.length) + $throwArrayIndexOutOfBoundsException(i); + this.u[i] = v; + }; + + + clone__O() { + if (this.u instanceof Array) + return new ArrayClass(this.u["slice"](0)); + else + // The underlying Array is a TypedArray + return new ArrayClass(new this.u.constructor(this.u)); + }; + }; + + + ArrayClass.prototype.$classData = this; + + // Don't generate reflective call proxies. The compiler special cases + // reflective calls to methods on scala.Array + + // The data + + const encodedName = "[" + componentData.arrayEncodedName; + const componentBase = componentData.arrayBase || componentData; + const arrayDepth = componentData.arrayDepth + 1; + + const isInstance = function(obj) { + return componentBase.isArrayOf(obj, arrayDepth); + } + + // Runtime support + this.constr = ArrayClass; + this.parentData = $d_O; + this.ancestors = {O: 1, jl_Cloneable: 1, Ljava_io_Serializable: 1}; + this.componentData = componentData; + this.arrayBase = componentBase; + this.arrayDepth = arrayDepth; + this.zero = null; + this.arrayEncodedName = encodedName; + this._classOf = undefined; + this._arrayOf = undefined; + this.isArrayOf = undefined; + + // java.lang.Class support + this["name"] = encodedName; + this["isPrimitive"] = false; + this["isInterface"] = false; + this["isArrayClass"] = true; + this["isInstance"] = isInstance; + + return this; +}; + + + + +getClassOf() { + + if (!this._classOf) + this._classOf = new $c_jl_Class().init___jl_ScalaJSClassData(this); + return this._classOf; +}; + + + + +getArrayOf() { + + if (!this._arrayOf) + this._arrayOf = new $TypeData().initArray(this); + return this._arrayOf; +}; + +// java.lang.Class support + + + + +"getFakeInstance"() { + + if (this === $d_T) + return "some string"; + else if (this === $d_jl_Boolean) + return false; + else if (this === $d_jl_Byte || + this === $d_jl_Short || + this === $d_jl_Integer || + this === $d_jl_Float || + this === $d_jl_Double) + return 0; + else if (this === $d_jl_Long) + return $m_sjsr_RuntimeLong$().Zero$1; + else if (this === $d_sr_BoxedUnit) + return void 0; + else + return {$classData: this}; +}; + + + + +"getSuperclass"() { + + return this.parentData ? this.parentData.getClassOf() : null; +}; + + + + +"getComponentType"() { + + return this.componentData ? this.componentData.getClassOf() : null; +}; + + + + +"newArrayOfThisClass"(lengths) { + + let arrayClassData = this; + for (let i = 0; i < lengths.length; i++) + arrayClassData = arrayClassData.getArrayOf(); + return $newArrayObject(arrayClassData, lengths); +}; + +}; + + +// Create primitive types + +const $d_V = new $TypeData().initPrim(undefined, "V", "void"); +const $d_Z = new $TypeData().initPrim(false, "Z", "boolean"); +const $d_C = new $TypeData().initPrim(0, "C", "char"); +const $d_B = new $TypeData().initPrim(0, "B", "byte"); +const $d_S = new $TypeData().initPrim(0, "S", "short"); +const $d_I = new $TypeData().initPrim(0, "I", "int"); +const $d_J = new $TypeData().initPrim("longZero", "J", "long"); +const $d_F = new $TypeData().initPrim(0.0, "F", "float"); +const $d_D = new $TypeData().initPrim(0.0, "D", "double"); + +// Instance tests for array of primitives + +const $isArrayOf_Z = $makeIsArrayOfPrimitive($d_Z); +$d_Z.isArrayOf = $isArrayOf_Z; + +const $isArrayOf_C = $makeIsArrayOfPrimitive($d_C); +$d_C.isArrayOf = $isArrayOf_C; + +const $isArrayOf_B = $makeIsArrayOfPrimitive($d_B); +$d_B.isArrayOf = $isArrayOf_B; + +const $isArrayOf_S = $makeIsArrayOfPrimitive($d_S); +$d_S.isArrayOf = $isArrayOf_S; + +const $isArrayOf_I = $makeIsArrayOfPrimitive($d_I); +$d_I.isArrayOf = $isArrayOf_I; + +const $isArrayOf_J = $makeIsArrayOfPrimitive($d_J); +$d_J.isArrayOf = $isArrayOf_J; + +const $isArrayOf_F = $makeIsArrayOfPrimitive($d_F); +$d_F.isArrayOf = $isArrayOf_F; + +const $isArrayOf_D = $makeIsArrayOfPrimitive($d_D); +$d_D.isArrayOf = $isArrayOf_D; + + +// asInstanceOfs for array of primitives +const $asArrayOf_Z = $makeAsArrayOfPrimitive($isArrayOf_Z, "Z"); +const $asArrayOf_C = $makeAsArrayOfPrimitive($isArrayOf_C, "C"); +const $asArrayOf_B = $makeAsArrayOfPrimitive($isArrayOf_B, "B"); +const $asArrayOf_S = $makeAsArrayOfPrimitive($isArrayOf_S, "S"); +const $asArrayOf_I = $makeAsArrayOfPrimitive($isArrayOf_I, "I"); +const $asArrayOf_J = $makeAsArrayOfPrimitive($isArrayOf_J, "J"); +const $asArrayOf_F = $makeAsArrayOfPrimitive($isArrayOf_F, "F"); +const $asArrayOf_D = $makeAsArrayOfPrimitive($isArrayOf_D, "D"); + +const $is_Lorg_scalalang_utils_OS = (function(obj) { + return (!(!((obj && obj.$classData) && obj.$classData.ancestors.Lorg_scalalang_utils_OS))) +}); +const $as_Lorg_scalalang_utils_OS = (function(obj) { + return (($is_Lorg_scalalang_utils_OS(obj) || (obj === null)) ? obj : $throwClassCastException(obj, "org.scalalang.utils.OS")) +}); +const $isArrayOf_Lorg_scalalang_utils_OS = (function(obj, depth) { + return (!(!(((obj && obj.$classData) && (obj.$classData.arrayDepth === depth)) && obj.$classData.arrayBase.ancestors.Lorg_scalalang_utils_OS))) +}); +const $asArrayOf_Lorg_scalalang_utils_OS = (function(obj, depth) { + return (($isArrayOf_Lorg_scalalang_utils_OS(obj, depth) || (obj === null)) ? obj : $throwArrayCastException(obj, "Lorg.scalalang.utils.OS;", depth)) +}); +class $c_O { + init___() { + return this + }; + toString__T() { + const jsx$2 = $objectGetClass(this).getName__T(); + const i = this.hashCode__I(); + const x = $uD((i >>> 0)); + const jsx$1 = x.toString(16); + return ((jsx$2 + "@") + $as_T(jsx$1)) + }; + hashCode__I() { + return $systemIdentityHashCode(this) + }; + "toString"() { + return this.toString__T() + }; +} +const $is_O = (function(obj) { + return (obj !== null) +}); +const $as_O = (function(obj) { + return obj +}); +const $isArrayOf_O = (function(obj, depth) { + const data = (obj && obj.$classData); + if ((!data)) { + return false + } else { + const arrayDepth = (data.arrayDepth || 0); + return ((!(arrayDepth < depth)) && ((arrayDepth > depth) || (!data.arrayBase.isPrimitive))) + } +}); +const $asArrayOf_O = (function(obj, depth) { + return (($isArrayOf_O(obj, depth) || (obj === null)) ? obj : $throwArrayCastException(obj, "Ljava.lang.Object;", depth)) +}); +const $d_O = new $TypeData().initClass({ + O: 0 +}, false, "java.lang.Object", { + O: 1 +}, (void 0), (void 0), $is_O, $isArrayOf_O); +$c_O.prototype.$classData = $d_O; +class $c_Lorg_querki_jquery_package$ extends $c_O { + constructor() { + super(); + this.$$$1 = null + }; + init___() { + $n_Lorg_querki_jquery_package$ = this; + this.$$$1 = $g.$; + return this + }; + f02EventHandler__F0__sjs_js_$bar(func) { + const a = (function(f) { + return (function() { + return f.apply__O() + }) + })(func); + return a + }; +} +const $d_Lorg_querki_jquery_package$ = new $TypeData().initClass({ + Lorg_querki_jquery_package$: 0 +}, false, "org.querki.jquery.package$", { + Lorg_querki_jquery_package$: 1, + O: 1 +}); +$c_Lorg_querki_jquery_package$.prototype.$classData = $d_Lorg_querki_jquery_package$; +let $n_Lorg_querki_jquery_package$ = (void 0); +const $m_Lorg_querki_jquery_package$ = (function() { + if ((!$n_Lorg_querki_jquery_package$)) { + $n_Lorg_querki_jquery_package$ = new $c_Lorg_querki_jquery_package$().init___() + }; + return $n_Lorg_querki_jquery_package$ +}); +class $c_Lorg_scalajs_dom_package$ extends $c_O { + constructor() { + super(); + this.ApplicationCache$1 = null; + this.Blob$1 = null; + this.BlobPropertyBag$1 = null; + this.ClipboardEventInit$1 = null; + this.DOMException$1 = null; + this.Event$1 = null; + this.EventException$1 = null; + this.EventSource$1 = null; + this.FileReader$1 = null; + this.FormData$1 = null; + this.KeyboardEvent$1 = null; + this.MediaError$1 = null; + this.MutationEvent$1 = null; + this.MutationObserverInit$1 = null; + this.Node$1 = null; + this.NodeFilter$1 = null; + this.PerformanceNavigation$1 = null; + this.PositionError$1 = null; + this.Range$1 = null; + this.TextEvent$1 = null; + this.TextTrack$1 = null; + this.URL$1 = null; + this.VisibilityState$1 = null; + this.WebSocket$1 = null; + this.WheelEvent$1 = null; + this.XMLHttpRequest$1 = null; + this.XPathResult$1 = null; + this.window$1 = null; + this.document$1 = null; + this.console$1 = null; + this.bitmap$0$1 = 0 + }; + init___() { + return this + }; + console$lzycompute__p1__Lorg_scalajs_dom_raw_Console() { + if (((536870912 & this.bitmap$0$1) === 0)) { + this.console$1 = this.window__Lorg_scalajs_dom_raw_Window().console; + this.bitmap$0$1 = (536870912 | this.bitmap$0$1) + }; + return this.console$1 + }; + document__Lorg_scalajs_dom_raw_HTMLDocument() { + return (((268435456 & this.bitmap$0$1) === 0) ? this.document$lzycompute__p1__Lorg_scalajs_dom_raw_HTMLDocument() : this.document$1) + }; + window__Lorg_scalajs_dom_raw_Window() { + return (((134217728 & this.bitmap$0$1) === 0) ? this.window$lzycompute__p1__Lorg_scalajs_dom_raw_Window() : this.window$1) + }; + window$lzycompute__p1__Lorg_scalajs_dom_raw_Window() { + if (((134217728 & this.bitmap$0$1) === 0)) { + this.window$1 = $g.window; + this.bitmap$0$1 = (134217728 | this.bitmap$0$1) + }; + return this.window$1 + }; + document$lzycompute__p1__Lorg_scalajs_dom_raw_HTMLDocument() { + if (((268435456 & this.bitmap$0$1) === 0)) { + this.document$1 = this.window__Lorg_scalajs_dom_raw_Window().document; + this.bitmap$0$1 = (268435456 | this.bitmap$0$1) + }; + return this.document$1 + }; + console__Lorg_scalajs_dom_raw_Console() { + return (((536870912 & this.bitmap$0$1) === 0) ? this.console$lzycompute__p1__Lorg_scalajs_dom_raw_Console() : this.console$1) + }; +} +const $d_Lorg_scalajs_dom_package$ = new $TypeData().initClass({ + Lorg_scalajs_dom_package$: 0 +}, false, "org.scalajs.dom.package$", { + Lorg_scalajs_dom_package$: 1, + O: 1 +}); +$c_Lorg_scalajs_dom_package$.prototype.$classData = $d_Lorg_scalajs_dom_package$; +let $n_Lorg_scalajs_dom_package$ = (void 0); +const $m_Lorg_scalajs_dom_package$ = (function() { + if ((!$n_Lorg_scalajs_dom_package$)) { + $n_Lorg_scalajs_dom_package$ = new $c_Lorg_scalajs_dom_package$().init___() + }; + return $n_Lorg_scalajs_dom_package$ +}); +class $c_Lorg_scalalang_DownloadLinks$ extends $c_O { + constructor() { + super(); + this.logger$1 = null + }; + init___() { + $n_Lorg_scalalang_DownloadLinks$ = this; + this.logger$1 = $m_Lorg_scalalang_utils_Logger$().apply__T__Lorg_scalalang_utils_LoggerUtil__Lorg_scalalang_utils_Logger($d_Lorg_scalalang_DownloadLinks$.getClassOf().getName__T(), $m_Lorg_scalalang_utils_RootLogger$()); + return this + }; + setupMainDownload__p1__V() { + const this$7 = $m_s_Option$().apply__O__s_Option((0, $m_Lorg_querki_jquery_package$().$$$1)(".main-download")); + let jsx$1; + if (this$7.isEmpty__Z()) { + jsx$1 = true + } else { + const arg1 = this$7.get__O(); + jsx$1 = ($uI(arg1.length) > 0) + }; + let this$8; + if (jsx$1) { + this$8 = this$7 + } else { + this$8 = $m_s_None$() + }; + if ((!this$8.isEmpty__Z())) { + this$8.get__O(); + const osLabel = $m_Lorg_scalalang_utils_OS$().apply__Lorg_scalalang_utils_OS().label__T(); + const jsx$4 = $m_Lorg_querki_jquery_package$().$$$1; + const a = ("#intellij-" + osLabel); + const jsx$3 = jsx$4(a); + const jsx$2 = jsx$3.text(); + const intelliJlink = $as_T(jsx$2); + const jsx$7 = $m_Lorg_querki_jquery_package$().$$$1; + const a$1 = ("#sbt-" + osLabel); + const jsx$6 = jsx$7(a$1); + const jsx$5 = jsx$6.text(); + const sbtLink = $as_T(jsx$5); + const jsx$10 = $m_Lorg_querki_jquery_package$().$$$1; + const a$2 = ("#stepOne-" + osLabel); + const jsx$9 = jsx$10(a$2); + const jsx$8 = jsx$9.html(); + const stepOneContent = $as_T(jsx$8); + (0, $m_Lorg_querki_jquery_package$().$$$1)("#download-intellij-link").attr("href", intelliJlink); + (0, $m_Lorg_querki_jquery_package$().$$$1)("#download-sbt-link").attr("href", sbtLink); + (0, $m_Lorg_querki_jquery_package$().$$$1)("#download-step-one").html(stepOneContent) + } + }; + apply__V() { + this.setupBinariesElement__p1__V(); + this.setupMainDownload__p1__V() + }; + setupBinariesElement__p1__V() { + const this$7 = $m_s_Option$().apply__O__s_Option((0, $m_Lorg_querki_jquery_package$().$$$1)("#download-binaries")); + let jsx$1; + if (this$7.isEmpty__Z()) { + jsx$1 = true + } else { + const arg1 = this$7.get__O(); + jsx$1 = ($uI(arg1.length) > 0) + }; + let this$8; + if (jsx$1) { + this$8 = this$7 + } else { + this$8 = $m_s_None$() + }; + if ((!this$8.isEmpty__Z())) { + const arg1$1 = this$8.get__O(); + const os = $m_Lorg_scalalang_utils_OS$().apply__Lorg_scalalang_utils_OS(); + const osLabel = os.label__T(); + let anchor = $m_Lorg_scalajs_dom_package$().document__Lorg_scalajs_dom_raw_HTMLDocument().getElementById("#link-main-unixsys"); + const x$2 = $m_Lorg_scalalang_utils_OS$Windows$(); + if (((os !== null) && (os === x$2))) { + anchor = $m_Lorg_scalajs_dom_package$().document__Lorg_scalajs_dom_raw_HTMLDocument().getElementById("#link-main-windows") + }; + if ((anchor === null)) { + anchor = $m_Lorg_scalajs_dom_package$().document__Lorg_scalajs_dom_raw_HTMLDocument().getElementById("#link-main-one4all") + }; + const link = $as_T(anchor.getAttribute("href")); + arg1$1.attr("href", link).addClass(osLabel); + (0, $m_Lorg_querki_jquery_package$().$$$1)("#users-os").text(osLabel) + } + }; +} +const $d_Lorg_scalalang_DownloadLinks$ = new $TypeData().initClass({ + Lorg_scalalang_DownloadLinks$: 0 +}, false, "org.scalalang.DownloadLinks$", { + Lorg_scalalang_DownloadLinks$: 1, + O: 1 +}); +$c_Lorg_scalalang_DownloadLinks$.prototype.$classData = $d_Lorg_scalalang_DownloadLinks$; +let $n_Lorg_scalalang_DownloadLinks$ = (void 0); +const $m_Lorg_scalalang_DownloadLinks$ = (function() { + if ((!$n_Lorg_scalalang_DownloadLinks$)) { + $n_Lorg_scalalang_DownloadLinks$ = new $c_Lorg_scalalang_DownloadLinks$().init___() + }; + return $n_Lorg_scalalang_DownloadLinks$ +}); +class $c_Lorg_scalalang_FunctionsApp$ extends $c_O { + constructor() { + super(); + this.logger$1 = null + }; + init___() { + $n_Lorg_scalalang_FunctionsApp$ = this; + const this$1 = $m_Lorg_scalalang_utils_RootLogger$(); + this$1.logLevel$1 = $m_Lorg_scalalang_utils_Logger$Level$().Trace$1; + this.logger$1 = $m_Lorg_scalalang_utils_Logger$().apply__T__Lorg_scalalang_utils_LoggerUtil__Lorg_scalalang_utils_Logger($d_Lorg_scalalang_FunctionsApp$.getClassOf().getName__T(), $m_Lorg_scalalang_utils_RootLogger$()); + return this + }; + org$scalalang$FunctionsApp$$$anonfun$main$1__O() { + const this$4 = $m_Lorg_scalalang_FunctionsApp$().logger$1; + const message = new $c_sjsr_AnonFunction0().init___sjs_js_Function0((function($this) { + return (function() { + return "Dom Ready" + }) + })(this)); + const array = []; + const optionalMessages = new $c_sjs_js_WrappedArray().init___sjs_js_Array(array); + this$4.internalLog__F2__I__F0__sc_Seq__V(new $c_sjsr_AnonFunction2().init___sjs_js_Function2((function($this$1) { + return (function(message$2$2, optionalParams$2) { + const optionalParams = $as_sc_Seq(optionalParams$2); + const jsx$1 = $m_Lorg_scalajs_dom_package$().console__Lorg_scalajs_dom_raw_Console(); + const jsx$4 = jsx$1.log; + const this$6 = $m_sjsr_Compat$(); + let jsx$3; + if ($is_sjs_js_ArrayOps(optionalParams)) { + const x2 = $as_sjs_js_ArrayOps(optionalParams); + jsx$3 = x2.scala$scalajs$js$ArrayOps$$array$f + } else if ($is_sjs_js_WrappedArray(optionalParams)) { + const x3 = $as_sjs_js_WrappedArray(optionalParams); + jsx$3 = x3.array$6 + } else { + const result = []; + optionalParams.foreach__F1__V(new $c_sjsr_AnonFunction1().init___sjs_js_Function1((function($this$2, result$1) { + return (function(x$2) { + return $uI(result$1.push(x$2)) + }) + })(this$6, result))); + jsx$3 = result + }; + const jsx$2 = [message$2$2].concat(jsx$3); + jsx$4.apply(jsx$1, jsx$2) + }) + })(this$4)), $m_Lorg_scalalang_utils_Logger$Level$().Trace$1, message, optionalMessages); + $m_Lorg_scalalang_DownloadLinks$().apply__V(); + $m_Lorg_scalalang_PositionMarker$().apply__V() + }; + main__AT__V(args) { + (0, $m_Lorg_querki_jquery_package$().$$$1)($m_Lorg_scalajs_dom_package$().document__Lorg_scalajs_dom_raw_HTMLDocument()).ready((function() { + return $m_Lorg_scalalang_FunctionsApp$().org$scalalang$FunctionsApp$$$anonfun$main$1__O() + })) + }; +} +const $d_Lorg_scalalang_FunctionsApp$ = new $TypeData().initClass({ + Lorg_scalalang_FunctionsApp$: 0 +}, false, "org.scalalang.FunctionsApp$", { + Lorg_scalalang_FunctionsApp$: 1, + O: 1 +}); +$c_Lorg_scalalang_FunctionsApp$.prototype.$classData = $d_Lorg_scalalang_FunctionsApp$; +let $n_Lorg_scalalang_FunctionsApp$ = (void 0); +const $m_Lorg_scalalang_FunctionsApp$ = (function() { + if ((!$n_Lorg_scalalang_FunctionsApp$)) { + $n_Lorg_scalalang_FunctionsApp$ = new $c_Lorg_scalalang_FunctionsApp$().init___() + }; + return $n_Lorg_scalalang_FunctionsApp$ +}); +class $c_Lorg_scalalang_PositionMarker$ extends $c_O { + constructor() { + super(); + this.imageWidth$1 = 0; + this.targetX$1 = 0; + this.targetY$1 = 0 + }; + init___() { + this.imageWidth$1 = 1680; + this.targetX$1 = 1028; + this.targetY$1 = 290; + return this + }; + updatePointer__p1__Lorg_querki_jquery_JQuery__F0(pointer) { + return new $c_sjsr_AnonFunction0().init___sjs_js_Function0((function($this, pointer$1) { + return (function() { + const windowWidth = $uD((0, $m_Lorg_querki_jquery_package$().$$$1)($m_Lorg_scalajs_dom_package$().window__Lorg_scalajs_dom_raw_Window()).width()); + const xScale = (windowWidth / $m_Lorg_scalalang_PositionMarker$().imageWidth$1); + const a = $doubleToInt(($m_Lorg_scalalang_PositionMarker$().targetX$1 * xScale)); + pointer$1.css("left", a) + }) + })(this, pointer)) + }; + apply__V() { + const this$7 = $m_s_Option$().apply__O__s_Option((0, $m_Lorg_querki_jquery_package$().$$$1)("#position-marker")); + let jsx$1; + if (this$7.isEmpty__Z()) { + jsx$1 = true + } else { + const arg1 = this$7.get__O(); + jsx$1 = ($uI(arg1.length) > 0) + }; + let this$8; + if (jsx$1) { + this$8 = this$7 + } else { + this$8 = $m_s_None$() + }; + if ((!this$8.isEmpty__Z())) { + const arg1$1 = this$8.get__O(); + const updater = $m_Lorg_scalalang_PositionMarker$().updatePointer__p1__Lorg_querki_jquery_JQuery__F0(arg1$1); + (0, $m_Lorg_querki_jquery_package$().$$$1)($m_Lorg_scalajs_dom_package$().window__Lorg_scalajs_dom_raw_Window()).resize($m_Lorg_querki_jquery_package$().f02EventHandler__F0__sjs_js_$bar(updater)); + const a = $m_Lorg_scalalang_PositionMarker$().targetY$1; + arg1$1.css("top", a); + updater.apply__O() + } + }; +} +const $d_Lorg_scalalang_PositionMarker$ = new $TypeData().initClass({ + Lorg_scalalang_PositionMarker$: 0 +}, false, "org.scalalang.PositionMarker$", { + Lorg_scalalang_PositionMarker$: 1, + O: 1 +}); +$c_Lorg_scalalang_PositionMarker$.prototype.$classData = $d_Lorg_scalalang_PositionMarker$; +let $n_Lorg_scalalang_PositionMarker$ = (void 0); +const $m_Lorg_scalalang_PositionMarker$ = (function() { + if ((!$n_Lorg_scalalang_PositionMarker$)) { + $n_Lorg_scalalang_PositionMarker$ = new $c_Lorg_scalalang_PositionMarker$().init___() + }; + return $n_Lorg_scalalang_PositionMarker$ +}); +class $c_Lorg_scalalang_utils_Logger$ extends $c_O { + init___() { + return this + }; + apply__T__Lorg_scalalang_utils_LoggerUtil__Lorg_scalalang_utils_Logger(prefix, parentLogger) { + return new $c_Lorg_scalalang_utils_Logger().init___T__Lorg_scalalang_utils_LoggerUtil((prefix + ":\t"), parentLogger) + }; +} +const $d_Lorg_scalalang_utils_Logger$ = new $TypeData().initClass({ + Lorg_scalalang_utils_Logger$: 0 +}, false, "org.scalalang.utils.Logger$", { + Lorg_scalalang_utils_Logger$: 1, + O: 1 +}); +$c_Lorg_scalalang_utils_Logger$.prototype.$classData = $d_Lorg_scalalang_utils_Logger$; +let $n_Lorg_scalalang_utils_Logger$ = (void 0); +const $m_Lorg_scalalang_utils_Logger$ = (function() { + if ((!$n_Lorg_scalalang_utils_Logger$)) { + $n_Lorg_scalalang_utils_Logger$ = new $c_Lorg_scalalang_utils_Logger$().init___() + }; + return $n_Lorg_scalalang_utils_Logger$ +}); +class $c_Lorg_scalalang_utils_Logger$Level$ extends $c_O { + constructor() { + super(); + this.Error$1 = 0; + this.Warn$1 = 0; + this.Info$1 = 0; + this.Debug$1 = 0; + this.Trace$1 = 0 + }; + init___() { + this.Error$1 = 1; + this.Warn$1 = 3; + this.Info$1 = 5; + this.Debug$1 = 7; + this.Trace$1 = 9; + return this + }; +} +const $d_Lorg_scalalang_utils_Logger$Level$ = new $TypeData().initClass({ + Lorg_scalalang_utils_Logger$Level$: 0 +}, false, "org.scalalang.utils.Logger$Level$", { + Lorg_scalalang_utils_Logger$Level$: 1, + O: 1 +}); +$c_Lorg_scalalang_utils_Logger$Level$.prototype.$classData = $d_Lorg_scalalang_utils_Logger$Level$; +let $n_Lorg_scalalang_utils_Logger$Level$ = (void 0); +const $m_Lorg_scalalang_utils_Logger$Level$ = (function() { + if ((!$n_Lorg_scalalang_utils_Logger$Level$)) { + $n_Lorg_scalalang_utils_Logger$Level$ = new $c_Lorg_scalalang_utils_Logger$Level$().init___() + }; + return $n_Lorg_scalalang_utils_Logger$Level$ +}); +class $c_Lorg_scalalang_utils_OS$ extends $c_O { + constructor() { + super(); + this.logger$1 = null + }; + init___() { + $n_Lorg_scalalang_utils_OS$ = this; + this.logger$1 = $m_Lorg_scalalang_utils_Logger$().apply__T__Lorg_scalalang_utils_LoggerUtil__Lorg_scalalang_utils_Logger($d_Lorg_scalalang_utils_OS$.getClassOf().getName__T(), $m_Lorg_scalalang_utils_RootLogger$()); + return this + }; + apply__Lorg_scalalang_utils_OS() { + const appVersion = $as_T($m_Lorg_scalajs_dom_package$().window__Lorg_scalajs_dom_raw_Window().navigator.appVersion); + const $default = $m_Lorg_scalalang_utils_OS$Linux$(); + const array = [$m_Lorg_scalalang_utils_OS$Windows$(), $m_Lorg_scalalang_utils_OS$Mac$(), $m_Lorg_scalalang_utils_OS$Linux$(), $m_Lorg_scalalang_utils_OS$Unix$()]; + const xs = new $c_sjs_js_WrappedArray().init___sjs_js_Array(array); + const len = $uI(xs.array$6.length); + const array$1 = $newArrayObject($d_s_Product.getArrayOf(), [len]); + let elem$1 = 0; + elem$1 = 0; + const this$6 = new $c_sc_IndexedSeqLike$Elements().init___sc_IndexedSeqLike__I__I(xs, 0, $uI(xs.array$6.length)); + while (this$6.hasNext__Z()) { + const arg1 = this$6.next__O(); + array$1.set(elem$1, arg1); + elem$1 = ((1 + elem$1) | 0) + }; + let start = 0; + const end = array$1.u.length; + let z = $default; + let start$1 = start; + let z$1 = z; + let jsx$1; + _foldl: while (true) { + if ((start$1 !== end)) { + const temp$start = ((1 + start$1) | 0); + const arg1$1 = z$1; + const index = start$1; + const arg2 = array$1.get(index); + const last = $as_Lorg_scalalang_utils_OS(arg1$1); + const os = $as_Lorg_scalalang_utils_OS(arg2); + const s = os.navigator__T(); + let temp$z; + if (($uI(appVersion.indexOf(s)) !== (-1))) { + temp$z = os + } else { + temp$z = last + }; + start$1 = temp$start; + z$1 = temp$z; + continue _foldl + }; + jsx$1 = z$1; + break + }; + const os$3 = $as_Lorg_scalalang_utils_OS(jsx$1); + const this$16 = this.logger$1; + const message = new $c_sjsr_AnonFunction0().init___sjs_js_Function0((function(this$2$1, os$3$1) { + return (function() { + const s$1 = ("OS: " + os$3$1); + return s$1 + }) + })(this, os$3)); + const array$2 = []; + const optionalMessages = new $c_sjs_js_WrappedArray().init___sjs_js_Array(array$2); + this$16.internalLog__F2__I__F0__sc_Seq__V(new $c_sjsr_AnonFunction2().init___sjs_js_Function2((function($this) { + return (function(message$2$2, optionalParams$2) { + const optionalParams = $as_sc_Seq(optionalParams$2); + const jsx$2 = $m_Lorg_scalajs_dom_package$().console__Lorg_scalajs_dom_raw_Console(); + const jsx$5 = jsx$2.info; + const this$18 = $m_sjsr_Compat$(); + let jsx$4; + if ($is_sjs_js_ArrayOps(optionalParams)) { + const x2 = $as_sjs_js_ArrayOps(optionalParams); + jsx$4 = x2.scala$scalajs$js$ArrayOps$$array$f + } else if ($is_sjs_js_WrappedArray(optionalParams)) { + const x3 = $as_sjs_js_WrappedArray(optionalParams); + jsx$4 = x3.array$6 + } else { + const result = []; + optionalParams.foreach__F1__V(new $c_sjsr_AnonFunction1().init___sjs_js_Function1((function($this$1, result$1) { + return (function(x$2) { + return $uI(result$1.push(x$2)) + }) + })(this$18, result))); + jsx$4 = result + }; + const jsx$3 = [message$2$2].concat(jsx$4); + jsx$5.apply(jsx$2, jsx$3) + }) + })(this$16)), $m_Lorg_scalalang_utils_Logger$Level$().Info$1, message, optionalMessages); + return os$3 + }; +} +const $d_Lorg_scalalang_utils_OS$ = new $TypeData().initClass({ + Lorg_scalalang_utils_OS$: 0 +}, false, "org.scalalang.utils.OS$", { + Lorg_scalalang_utils_OS$: 1, + O: 1 +}); +$c_Lorg_scalalang_utils_OS$.prototype.$classData = $d_Lorg_scalalang_utils_OS$; +let $n_Lorg_scalalang_utils_OS$ = (void 0); +const $m_Lorg_scalalang_utils_OS$ = (function() { + if ((!$n_Lorg_scalalang_utils_OS$)) { + $n_Lorg_scalalang_utils_OS$ = new $c_Lorg_scalalang_utils_OS$().init___() + }; + return $n_Lorg_scalalang_utils_OS$ +}); +class $c_jl_Class extends $c_O { + constructor() { + super(); + this.data$1 = null + }; + getName__T() { + return $as_T(this.data$1.name) + }; + isPrimitive__Z() { + return $uZ(this.data$1.isPrimitive) + }; + toString__T() { + return ((this.isInterface__Z() ? "interface " : (this.isPrimitive__Z() ? "" : "class ")) + this.getName__T()) + }; + init___jl_ScalaJSClassData(data) { + this.data$1 = data; + return this + }; + isInterface__Z() { + return $uZ(this.data$1.isInterface) + }; +} +const $d_jl_Class = new $TypeData().initClass({ + jl_Class: 0 +}, false, "java.lang.Class", { + jl_Class: 1, + O: 1 +}); +$c_jl_Class.prototype.$classData = $d_jl_Class; +const $d_s_Product = new $TypeData().initClass({ + s_Product: 0 +}, true, "scala.Product", { + s_Product: 1, + s_Equals: 1 +}); +class $c_s_util_hashing_MurmurHash3 extends $c_O { + mixLast__I__I__I(hash, data) { + let k = data; + k = $imul((-862048943), k); + const i = k; + k = ((i << 15) | ((i >>> 17) | 0)); + k = $imul(461845907, k); + return (hash ^ k) + }; + mix__I__I__I(hash, data) { + let h = this.mixLast__I__I__I(hash, data); + const i = h; + h = ((i << 13) | ((i >>> 19) | 0)); + return (((-430675100) + $imul(5, h)) | 0) + }; + avalanche__p1__I__I(hash) { + let 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 + }; + productHash__s_Product__I__I(x, seed) { + const arr = x.productArity__I(); + if ((arr === 0)) { + const this$1 = x.productPrefix__T(); + return $m_sjsr_RuntimeString$().hashCode__T__I(this$1) + } else { + let h = seed; + let i = 0; + while ((i < arr)) { + h = this.mix__I__I__I(h, $m_sr_Statics$().anyHash__O__I(x.productElement__I__O(i))); + i = ((1 + i) | 0) + }; + return this.finalizeHash__I__I__I(h, arr) + } + }; + finalizeHash__I__I__I(hash, length) { + return this.avalanche__p1__I__I((hash ^ length)) + }; + orderedHash__sc_TraversableOnce__I__I(xs, seed) { + const n = new $c_sr_IntRef().init___I(0); + const 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_Statics$().anyHash__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) + }; + listHash__sci_List__I__I(xs, seed) { + let n = 0; + let h = seed; + return this.finalizeHash__I__I__I(h, n) + }; +} +class $c_sc_Iterator$ extends $c_O { + constructor() { + super(); + this.empty$1 = null + }; + init___() { + $n_sc_Iterator$ = this; + this.empty$1 = new $c_sc_Iterator$$anon$2().init___(); + return this + }; +} +const $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$; +let $n_sc_Iterator$ = (void 0); +const $m_sc_Iterator$ = (function() { + if ((!$n_sc_Iterator$)) { + $n_sc_Iterator$ = new $c_sc_Iterator$().init___() + }; + return $n_sc_Iterator$ +}); +const $f_sc_TraversableOnce__mkString__T__T__T__T = (function($thiz, start, sep, end) { + const b = new $c_scm_StringBuilder().init___(); + const this$1 = $f_sc_TraversableOnce__addString__scm_StringBuilder__T__T__T__scm_StringBuilder($thiz, b, start, sep, end); + return this$1.underlying$5.java$lang$StringBuilder$$content$f +}); +const $f_sc_TraversableOnce__addString__scm_StringBuilder__T__T__T__scm_StringBuilder = (function($thiz, b, start, sep, end) { + const first = new $c_sr_BooleanRef().init___Z(true); + b.append__T__scm_StringBuilder(start); + $thiz.foreach__F1__V(new $c_sjsr_AnonFunction1().init___sjs_js_Function1((function($this, b$1, sep$1, first$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) + } + }) + })($thiz, b, sep, first))); + b.append__T__scm_StringBuilder(end); + return b +}); +class $c_sjsr_Bits$ extends $c_O { + constructor() { + super(); + this.scala$scalajs$runtime$Bits$$$undareTypedArraysSupported$f = false; + this.arrayBuffer$1 = null; + this.int32Array$1 = null; + this.float32Array$1 = null; + this.float64Array$1 = null; + this.areTypedArraysBigEndian$1 = false; + this.highOffset$1 = 0; + this.lowOffset$1 = 0 + }; + init___() { + $n_sjsr_Bits$ = this; + this.scala$scalajs$runtime$Bits$$$undareTypedArraysSupported$f = true; + this.arrayBuffer$1 = new $g.ArrayBuffer(8); + this.int32Array$1 = new $g.Int32Array(this.arrayBuffer$1, 0, 2); + this.float32Array$1 = new $g.Float32Array(this.arrayBuffer$1, 0, 2); + this.float64Array$1 = new $g.Float64Array(this.arrayBuffer$1, 0, 1); + this.int32Array$1[0] = 16909060; + this.areTypedArraysBigEndian$1 = ($uB(new $g.Int8Array(this.arrayBuffer$1, 0, 8)[0]) === 1); + this.highOffset$1 = (this.areTypedArraysBigEndian$1 ? 0 : 1); + this.lowOffset$1 = (this.areTypedArraysBigEndian$1 ? 1 : 0); + return this + }; + numberHashCode__D__I(value) { + const iv = $uI((value | 0)); + if (((iv === value) && ((1.0 / value) !== (-Infinity)))) { + return iv + } else { + const t = this.doubleToLongBits__D__J(value); + const lo = t.lo$2; + const hi = t.hi$2; + return (lo ^ hi) + } + }; + doubleToLongBits__D__J(value) { + this.float64Array$1[0] = value; + const value$1 = $uI(this.int32Array$1[this.highOffset$1]); + const value$2 = $uI(this.int32Array$1[this.lowOffset$1]); + return new $c_sjsr_RuntimeLong().init___I__I(value$2, value$1) + }; +} +const $d_sjsr_Bits$ = new $TypeData().initClass({ + sjsr_Bits$: 0 +}, false, "scala.scalajs.runtime.Bits$", { + sjsr_Bits$: 1, + O: 1 +}); +$c_sjsr_Bits$.prototype.$classData = $d_sjsr_Bits$; +let $n_sjsr_Bits$ = (void 0); +const $m_sjsr_Bits$ = (function() { + if ((!$n_sjsr_Bits$)) { + $n_sjsr_Bits$ = new $c_sjsr_Bits$().init___() + }; + return $n_sjsr_Bits$ +}); +class $c_sjsr_Compat$ extends $c_O { + init___() { + return this + }; +} +const $d_sjsr_Compat$ = new $TypeData().initClass({ + sjsr_Compat$: 0 +}, false, "scala.scalajs.runtime.Compat$", { + sjsr_Compat$: 1, + O: 1 +}); +$c_sjsr_Compat$.prototype.$classData = $d_sjsr_Compat$; +let $n_sjsr_Compat$ = (void 0); +const $m_sjsr_Compat$ = (function() { + if ((!$n_sjsr_Compat$)) { + $n_sjsr_Compat$ = new $c_sjsr_Compat$().init___() + }; + return $n_sjsr_Compat$ +}); +class $c_sjsr_RuntimeString$ extends $c_O { + constructor() { + super(); + this.CASE$undINSENSITIVE$undORDER$1 = null; + this.bitmap$0$1 = false + }; + init___() { + return this + }; + hashCode__T__I(thiz) { + let res = 0; + let mul = 1; + let i = (((-1) + $uI(thiz.length)) | 0); + while ((i >= 0)) { + const jsx$1 = res; + const index = i; + res = ((jsx$1 + $imul((65535 & $uI(thiz.charCodeAt(index))), mul)) | 0); + mul = $imul(31, mul); + i = (((-1) + i) | 0) + }; + return res + }; +} +const $d_sjsr_RuntimeString$ = new $TypeData().initClass({ + sjsr_RuntimeString$: 0 +}, false, "scala.scalajs.runtime.RuntimeString$", { + sjsr_RuntimeString$: 1, + O: 1 +}); +$c_sjsr_RuntimeString$.prototype.$classData = $d_sjsr_RuntimeString$; +let $n_sjsr_RuntimeString$ = (void 0); +const $m_sjsr_RuntimeString$ = (function() { + if ((!$n_sjsr_RuntimeString$)) { + $n_sjsr_RuntimeString$ = new $c_sjsr_RuntimeString$().init___() + }; + return $n_sjsr_RuntimeString$ +}); +class $c_sjsr_package$ extends $c_O { + init___() { + return this + }; + unwrapJavaScriptException__jl_Throwable__O(th) { + if ($is_sjs_js_JavaScriptException(th)) { + const x2 = $as_sjs_js_JavaScriptException(th); + const e = x2.exception$4; + return e + } else { + return th + } + }; + wrapJavaScriptException__O__jl_Throwable(e) { + if ($is_jl_Throwable(e)) { + const x2 = $as_jl_Throwable(e); + return x2 + } else { + return new $c_sjs_js_JavaScriptException().init___O(e) + } + }; +} +const $d_sjsr_package$ = new $TypeData().initClass({ + sjsr_package$: 0 +}, false, "scala.scalajs.runtime.package$", { + sjsr_package$: 1, + O: 1 +}); +$c_sjsr_package$.prototype.$classData = $d_sjsr_package$; +let $n_sjsr_package$ = (void 0); +const $m_sjsr_package$ = (function() { + if ((!$n_sjsr_package$)) { + $n_sjsr_package$ = new $c_sjsr_package$().init___() + }; + return $n_sjsr_package$ +}); +class $c_sr_ScalaRunTime$ extends $c_O { + init___() { + return this + }; + $$undtoString__s_Product__T(x) { + const this$1 = x.productIterator__sc_Iterator(); + const start = (x.productPrefix__T() + "("); + return $f_sc_TraversableOnce__mkString__T__T__T__T(this$1, start, ",", ")") + }; +} +const $d_sr_ScalaRunTime$ = new $TypeData().initClass({ + sr_ScalaRunTime$: 0 +}, false, "scala.runtime.ScalaRunTime$", { + sr_ScalaRunTime$: 1, + O: 1 +}); +$c_sr_ScalaRunTime$.prototype.$classData = $d_sr_ScalaRunTime$; +let $n_sr_ScalaRunTime$ = (void 0); +const $m_sr_ScalaRunTime$ = (function() { + if ((!$n_sr_ScalaRunTime$)) { + $n_sr_ScalaRunTime$ = new $c_sr_ScalaRunTime$().init___() + }; + return $n_sr_ScalaRunTime$ +}); +class $c_sr_Statics$ extends $c_O { + init___() { + return this + }; + doubleHash__D__I(dv) { + const iv = $doubleToInt(dv); + if ((iv === dv)) { + return iv + } else { + const this$1 = $m_sjsr_RuntimeLong$(); + const lo = this$1.scala$scalajs$runtime$RuntimeLong$$fromDoubleImpl__D__I(dv); + const hi = this$1.scala$scalajs$runtime$RuntimeLong$$hiReturn$f; + return (($m_sjsr_RuntimeLong$().scala$scalajs$runtime$RuntimeLong$$toDouble__I__I__D(lo, hi) === dv) ? (lo ^ hi) : $m_sjsr_Bits$().numberHashCode__D__I(dv)) + } + }; + anyHash__O__I(x) { + if ((x === null)) { + return 0 + } else if (((typeof x) === "number")) { + const x3 = $uD(x); + return this.doubleHash__D__I(x3) + } else if ($is_sjsr_RuntimeLong(x)) { + const t = $uJ(x); + const lo = t.lo$2; + const hi = t.hi$2; + return this.longHash__J__I(new $c_sjsr_RuntimeLong().init___I__I(lo, hi)) + } else { + return $objectHashCode(x) + } + }; + longHash__J__I(lv) { + const lo = lv.lo$2; + const lo$1 = lv.hi$2; + return ((lo$1 === (lo >> 31)) ? lo : (lo ^ lo$1)) + }; +} +const $d_sr_Statics$ = new $TypeData().initClass({ + sr_Statics$: 0 +}, false, "scala.runtime.Statics$", { + sr_Statics$: 1, + O: 1 +}); +$c_sr_Statics$.prototype.$classData = $d_sr_Statics$; +let $n_sr_Statics$ = (void 0); +const $m_sr_Statics$ = (function() { + if ((!$n_sr_Statics$)) { + $n_sr_Statics$ = new $c_sr_Statics$().init___() + }; + return $n_sr_Statics$ +}); +class $c_Lorg_scalalang_utils_Logger extends $c_O { + constructor() { + super(); + this.prefix$1 = null; + this.parentLogger$1 = null; + this.logLevel$1 = 0 + }; + init___T__Lorg_scalalang_utils_LoggerUtil(prefix, parentLogger) { + this.prefix$1 = prefix; + this.parentLogger$1 = parentLogger; + this.logLevel$1 = $m_Lorg_scalalang_utils_Logger$Level$().Trace$1; + return this + }; + internalLog__F2__I__F0__sc_Seq__V(logger, level, lazyMessage, optionalMessages) { + if ((this.logLevel$1 >= level)) { + this.parentLogger$1.internalLog__F2__I__F0__sc_Seq__V(logger, level, new $c_sjsr_AnonFunction0().init___sjs_js_Function0((function($this, lazyMessage$1) { + return (function() { + const s = (("" + $this.prefix$1) + lazyMessage$1.apply__O()); + return s + }) + })(this, lazyMessage)), optionalMessages) + } + }; +} +const $d_Lorg_scalalang_utils_Logger = new $TypeData().initClass({ + Lorg_scalalang_utils_Logger: 0 +}, false, "org.scalalang.utils.Logger", { + Lorg_scalalang_utils_Logger: 1, + O: 1, + Lorg_scalalang_utils_LoggerUtil: 1 +}); +$c_Lorg_scalalang_utils_Logger.prototype.$classData = $d_Lorg_scalalang_utils_Logger; +class $c_Lorg_scalalang_utils_RootLogger$ extends $c_O { + constructor() { + super(); + this.logLevel$1 = 0 + }; + init___() { + $n_Lorg_scalalang_utils_RootLogger$ = this; + this.logLevel$1 = $m_Lorg_scalalang_utils_Logger$Level$().Trace$1; + this.logLevel$1 = $m_Lorg_scalalang_utils_Logger$Level$().Info$1; + return this + }; + internalLog__F2__I__F0__sc_Seq__V(logger, level, lazyMessage, optionalMessages) { + if ((this.logLevel$1 >= level)) { + const message = lazyMessage.apply__O(); + logger.apply__O__O__O(message, optionalMessages) + } + }; +} +const $d_Lorg_scalalang_utils_RootLogger$ = new $TypeData().initClass({ + Lorg_scalalang_utils_RootLogger$: 0 +}, false, "org.scalalang.utils.RootLogger$", { + Lorg_scalalang_utils_RootLogger$: 1, + O: 1, + Lorg_scalalang_utils_LoggerUtil: 1 +}); +$c_Lorg_scalalang_utils_RootLogger$.prototype.$classData = $d_Lorg_scalalang_utils_RootLogger$; +let $n_Lorg_scalalang_utils_RootLogger$ = (void 0); +const $m_Lorg_scalalang_utils_RootLogger$ = (function() { + if ((!$n_Lorg_scalalang_utils_RootLogger$)) { + $n_Lorg_scalalang_utils_RootLogger$ = new $c_Lorg_scalalang_utils_RootLogger$().init___() + }; + return $n_Lorg_scalalang_utils_RootLogger$ +}); +class $c_jl_Number extends $c_O { +} +class $c_jl_Throwable extends $c_O { + constructor() { + super(); + this.s$1 = null; + this.e$1 = null; + this.stackTrace$1 = null + }; + fillInStackTrace__jl_Throwable() { + const v = $g.Error.captureStackTrace; + if ((v === (void 0))) { + let e$1; + try { + e$1 = {}.undef() + } catch (e) { + const e$2 = $m_sjsr_package$().wrapJavaScriptException__O__jl_Throwable(e); + if ((e$2 !== null)) { + if ($is_sjs_js_JavaScriptException(e$2)) { + const x5 = $as_sjs_js_JavaScriptException(e$2); + const e$3 = x5.exception$4; + e$1 = e$3 + } else { + throw $m_sjsr_package$().unwrapJavaScriptException__jl_Throwable__O(e$2) + } + } else { + throw e + } + }; + this.stackdata = e$1 + } else { + $g.Error.captureStackTrace(this); + this.stackdata = this + }; + return this + }; + getMessage__T() { + return this.s$1 + }; + toString__T() { + const className = $objectGetClass(this).getName__T(); + const message = this.getMessage__T(); + return ((message === null) ? className : ((className + ": ") + message)) + }; + init___T__jl_Throwable(s, e) { + this.s$1 = s; + this.e$1 = e; + this.fillInStackTrace__jl_Throwable(); + return this + }; +} +const $is_jl_Throwable = (function(obj) { + return (!(!((obj && obj.$classData) && obj.$classData.ancestors.jl_Throwable))) +}); +const $as_jl_Throwable = (function(obj) { + return (($is_jl_Throwable(obj) || (obj === null)) ? obj : $throwClassCastException(obj, "java.lang.Throwable")) +}); +const $isArrayOf_jl_Throwable = (function(obj, depth) { + return (!(!(((obj && obj.$classData) && (obj.$classData.arrayDepth === depth)) && obj.$classData.arrayBase.ancestors.jl_Throwable))) +}); +const $asArrayOf_jl_Throwable = (function(obj, depth) { + return (($isArrayOf_jl_Throwable(obj, depth) || (obj === null)) ? obj : $throwArrayCastException(obj, "Ljava.lang.Throwable;", depth)) +}); +class $c_s_util_hashing_MurmurHash3$ extends $c_s_util_hashing_MurmurHash3 { + constructor() { + super(); + this.seqSeed$2 = 0; + this.mapSeed$2 = 0; + this.setSeed$2 = 0 + }; + init___() { + $n_s_util_hashing_MurmurHash3$ = this; + 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 + }; + seqHash__sc_Seq__I(xs) { + if ($is_sci_List(xs)) { + const x2 = $as_sci_List(xs); + return this.listHash__sci_List__I__I(x2, this.seqSeed$2) + } else { + return this.orderedHash__sc_TraversableOnce__I__I(xs, this.seqSeed$2) + } + }; +} +const $d_s_util_hashing_MurmurHash3$ = new $TypeData().initClass({ + s_util_hashing_MurmurHash3$: 0 +}, false, "scala.util.hashing.MurmurHash3$", { + s_util_hashing_MurmurHash3$: 1, + s_util_hashing_MurmurHash3: 1, + O: 1 +}); +$c_s_util_hashing_MurmurHash3$.prototype.$classData = $d_s_util_hashing_MurmurHash3$; +let $n_s_util_hashing_MurmurHash3$ = (void 0); +const $m_s_util_hashing_MurmurHash3$ = (function() { + if ((!$n_s_util_hashing_MurmurHash3$)) { + $n_s_util_hashing_MurmurHash3$ = new $c_s_util_hashing_MurmurHash3$().init___() + }; + return $n_s_util_hashing_MurmurHash3$ +}); +const $f_sc_Iterator__toString__T = (function($thiz) { + return (($thiz.hasNext__Z() ? "non-empty" : "empty") + " iterator") +}); +const $f_sc_Iterator__foreach__F1__V = (function($thiz, f) { + while ($thiz.hasNext__Z()) { + f.apply__O__O($thiz.next__O()) + } +}); +class $c_sr_AbstractFunction0 extends $c_O { + toString__T() { + return "" + }; +} +class $c_sr_AbstractFunction1 extends $c_O { + toString__T() { + return "" + }; +} +class $c_sr_AbstractFunction2 extends $c_O { + toString__T() { + return "" + }; +} +class $c_sr_BooleanRef extends $c_O { + constructor() { + super(); + this.elem$1 = false + }; + toString__T() { + const b = this.elem$1; + return ("" + b) + }; + init___Z(elem) { + this.elem$1 = elem; + return this + }; +} +const $d_sr_BooleanRef = new $TypeData().initClass({ + sr_BooleanRef: 0 +}, false, "scala.runtime.BooleanRef", { + sr_BooleanRef: 1, + O: 1, + Ljava_io_Serializable: 1 +}); +$c_sr_BooleanRef.prototype.$classData = $d_sr_BooleanRef; +const $d_sr_BoxedUnit = new $TypeData().initClass({ + sr_BoxedUnit: 0 +}, false, "scala.runtime.BoxedUnit", { + sr_BoxedUnit: 1, + O: 1, + Ljava_io_Serializable: 1 +}, (void 0), (void 0), (function(x) { + return (x === (void 0)) +})); +class $c_sr_IntRef extends $c_O { + constructor() { + super(); + this.elem$1 = 0 + }; + toString__T() { + const i = this.elem$1; + return ("" + i) + }; + init___I(elem) { + this.elem$1 = elem; + return this + }; +} +const $d_sr_IntRef = new $TypeData().initClass({ + sr_IntRef: 0 +}, false, "scala.runtime.IntRef", { + sr_IntRef: 1, + O: 1, + Ljava_io_Serializable: 1 +}); +$c_sr_IntRef.prototype.$classData = $d_sr_IntRef; +const $d_jl_Boolean = new $TypeData().initClass({ + jl_Boolean: 0 +}, false, "java.lang.Boolean", { + jl_Boolean: 1, + O: 1, + Ljava_io_Serializable: 1, + jl_Comparable: 1 +}, (void 0), (void 0), (function(x) { + return ((typeof x) === "boolean") +})); +class $c_jl_Character extends $c_O { + constructor() { + super(); + this.value$1 = 0 + }; + toString__T() { + const c = this.value$1; + return $as_T($g.String.fromCharCode(c)) + }; + init___C(value) { + this.value$1 = value; + return this + }; + hashCode__I() { + return this.value$1 + }; +} +const $d_jl_Character = new $TypeData().initClass({ + jl_Character: 0 +}, false, "java.lang.Character", { + jl_Character: 1, + O: 1, + Ljava_io_Serializable: 1, + jl_Comparable: 1 +}); +$c_jl_Character.prototype.$classData = $d_jl_Character; +class $c_jl_Double$ extends $c_O { + constructor() { + super(); + this.doubleStrPat$1 = null; + this.doubleStrHexPat$1 = null; + this.bitmap$0$1 = 0 + }; + init___() { + return this + }; + compare__D__D__I(a, b) { + if ((a !== a)) { + return ((b !== b) ? 0 : 1) + } else if ((b !== b)) { + return (-1) + } else if ((a === b)) { + if ((a === 0.0)) { + const ainf = (1.0 / a); + return ((ainf === (1.0 / b)) ? 0 : ((ainf < 0) ? (-1) : 1)) + } else { + return 0 + } + } else { + return ((a < b) ? (-1) : 1) + } + }; +} +const $d_jl_Double$ = new $TypeData().initClass({ + jl_Double$: 0 +}, false, "java.lang.Double$", { + jl_Double$: 1, + O: 1, + s_Serializable: 1, + Ljava_io_Serializable: 1 +}); +$c_jl_Double$.prototype.$classData = $d_jl_Double$; +let $n_jl_Double$ = (void 0); +const $m_jl_Double$ = (function() { + if ((!$n_jl_Double$)) { + $n_jl_Double$ = new $c_jl_Double$().init___() + }; + return $n_jl_Double$ +}); +class $c_jl_Error extends $c_jl_Throwable { +} +class $c_jl_Exception extends $c_jl_Throwable { +} +class $c_s_Option$ extends $c_O { + init___() { + return this + }; + apply__O__s_Option(x) { + return ((x === null) ? $m_s_None$() : new $c_s_Some().init___O(x)) + }; +} +const $d_s_Option$ = new $TypeData().initClass({ + s_Option$: 0 +}, false, "scala.Option$", { + s_Option$: 1, + O: 1, + s_Serializable: 1, + Ljava_io_Serializable: 1 +}); +$c_s_Option$.prototype.$classData = $d_s_Option$; +let $n_s_Option$ = (void 0); +const $m_s_Option$ = (function() { + if ((!$n_s_Option$)) { + $n_s_Option$ = new $c_s_Option$().init___() + }; + return $n_s_Option$ +}); +class $c_sjsr_AnonFunction0 extends $c_sr_AbstractFunction0 { + constructor() { + super(); + this.f$2 = null + }; + apply__O() { + return (0, this.f$2)() + }; + init___sjs_js_Function0(f) { + this.f$2 = f; + return this + }; +} +const $d_sjsr_AnonFunction0 = new $TypeData().initClass({ + sjsr_AnonFunction0: 0 +}, false, "scala.scalajs.runtime.AnonFunction0", { + sjsr_AnonFunction0: 1, + sr_AbstractFunction0: 1, + O: 1, + F0: 1 +}); +$c_sjsr_AnonFunction0.prototype.$classData = $d_sjsr_AnonFunction0; +class $c_sjsr_AnonFunction1 extends $c_sr_AbstractFunction1 { + constructor() { + super(); + this.f$2 = null + }; + apply__O__O(arg1) { + return (0, this.f$2)(arg1) + }; + init___sjs_js_Function1(f) { + this.f$2 = f; + return this + }; +} +const $d_sjsr_AnonFunction1 = new $TypeData().initClass({ + sjsr_AnonFunction1: 0 +}, false, "scala.scalajs.runtime.AnonFunction1", { + sjsr_AnonFunction1: 1, + sr_AbstractFunction1: 1, + O: 1, + F1: 1 +}); +$c_sjsr_AnonFunction1.prototype.$classData = $d_sjsr_AnonFunction1; +class $c_sjsr_AnonFunction2 extends $c_sr_AbstractFunction2 { + constructor() { + super(); + this.f$2 = null + }; + init___sjs_js_Function2(f) { + this.f$2 = f; + return this + }; + apply__O__O__O(arg1, arg2) { + return (0, this.f$2)(arg1, arg2) + }; +} +const $d_sjsr_AnonFunction2 = new $TypeData().initClass({ + sjsr_AnonFunction2: 0 +}, false, "scala.scalajs.runtime.AnonFunction2", { + sjsr_AnonFunction2: 1, + sr_AbstractFunction2: 1, + O: 1, + F2: 1 +}); +$c_sjsr_AnonFunction2.prototype.$classData = $d_sjsr_AnonFunction2; +class $c_sjsr_RuntimeLong$ extends $c_O { + constructor() { + super(); + this.scala$scalajs$runtime$RuntimeLong$$hiReturn$f = 0; + this.Zero$1 = null + }; + init___() { + $n_sjsr_RuntimeLong$ = this; + this.Zero$1 = new $c_sjsr_RuntimeLong().init___I__I(0, 0); + return this + }; + Zero__sjsr_RuntimeLong() { + return this.Zero$1 + }; + toUnsignedString__p1__I__I__T(lo, hi) { + if ((((-2097152) & hi) === 0)) { + const this$5 = ((4.294967296E9 * hi) + $uD((lo >>> 0))); + return ("" + this$5) + } else { + return $as_T(this.unsignedDivModHelper__p1__I__I__I__I__I__sjs_js_$bar(lo, hi, 1000000000, 0, 2)) + } + }; + divideImpl__I__I__I__I__I(alo, ahi, blo, bhi) { + if (((blo | bhi) === 0)) { + throw new $c_jl_ArithmeticException().init___T("/ by zero") + }; + if ((ahi === (alo >> 31))) { + if ((bhi === (blo >> 31))) { + if (((alo === (-2147483648)) && (blo === (-1)))) { + this.scala$scalajs$runtime$RuntimeLong$$hiReturn$f = 0; + return (-2147483648) + } else { + const lo = ((alo / blo) | 0); + this.scala$scalajs$runtime$RuntimeLong$$hiReturn$f = (lo >> 31); + return lo + } + } else if (((alo === (-2147483648)) && ((blo === (-2147483648)) && (bhi === 0)))) { + this.scala$scalajs$runtime$RuntimeLong$$hiReturn$f = (-1); + return (-1) + } else { + this.scala$scalajs$runtime$RuntimeLong$$hiReturn$f = 0; + return 0 + } + } else { + const neg = (ahi < 0); + let abs_$_lo$2; + let abs_$_hi$2; + if (neg) { + const lo$1 = ((-alo) | 0); + const hi = ((alo !== 0) ? (~ahi) : ((-ahi) | 0)); + const jsx$1_$_lo$2 = lo$1; + const jsx$1_$_hi$2 = hi; + abs_$_lo$2 = jsx$1_$_lo$2; + abs_$_hi$2 = jsx$1_$_hi$2 + } else { + const jsx$2_$_lo$2 = alo; + const jsx$2_$_hi$2 = ahi; + abs_$_lo$2 = jsx$2_$_lo$2; + abs_$_hi$2 = jsx$2_$_hi$2 + }; + const neg$1 = (bhi < 0); + let abs$1_$_lo$2; + let abs$1_$_hi$2; + if (neg$1) { + const lo$2 = ((-blo) | 0); + const hi$1 = ((blo !== 0) ? (~bhi) : ((-bhi) | 0)); + const jsx$3_$_lo$2 = lo$2; + const jsx$3_$_hi$2 = hi$1; + abs$1_$_lo$2 = jsx$3_$_lo$2; + abs$1_$_hi$2 = jsx$3_$_hi$2 + } else { + const jsx$4_$_lo$2 = blo; + const jsx$4_$_hi$2 = bhi; + abs$1_$_lo$2 = jsx$4_$_lo$2; + abs$1_$_hi$2 = jsx$4_$_hi$2 + }; + const absRLo = this.unsigned$und$div__p1__I__I__I__I__I(abs_$_lo$2, abs_$_hi$2, abs$1_$_lo$2, abs$1_$_hi$2); + if ((neg === neg$1)) { + return absRLo + } else { + const hi$2 = this.scala$scalajs$runtime$RuntimeLong$$hiReturn$f; + this.scala$scalajs$runtime$RuntimeLong$$hiReturn$f = ((absRLo !== 0) ? (~hi$2) : ((-hi$2) | 0)); + return ((-absRLo) | 0) + } + } + }; + scala$scalajs$runtime$RuntimeLong$$toDouble__I__I__D(lo, hi) { + if ((hi < 0)) { + const x = ((lo !== 0) ? (~hi) : ((-hi) | 0)); + const jsx$1 = $uD((x >>> 0)); + const x$1 = ((-lo) | 0); + return (-((4.294967296E9 * jsx$1) + $uD((x$1 >>> 0)))) + } else { + return ((4.294967296E9 * hi) + $uD((lo >>> 0))) + } + }; + fromDouble__D__sjsr_RuntimeLong(value) { + const lo = this.scala$scalajs$runtime$RuntimeLong$$fromDoubleImpl__D__I(value); + return new $c_sjsr_RuntimeLong().init___I__I(lo, this.scala$scalajs$runtime$RuntimeLong$$hiReturn$f) + }; + scala$scalajs$runtime$RuntimeLong$$fromDoubleImpl__D__I(value) { + if ((value < (-9.223372036854776E18))) { + this.scala$scalajs$runtime$RuntimeLong$$hiReturn$f = (-2147483648); + return 0 + } else if ((value >= 9.223372036854776E18)) { + this.scala$scalajs$runtime$RuntimeLong$$hiReturn$f = 2147483647; + return (-1) + } else { + const rawLo = $uI((value | 0)); + const x = (value / 4.294967296E9); + const rawHi = $uI((x | 0)); + this.scala$scalajs$runtime$RuntimeLong$$hiReturn$f = (((value < 0) && (rawLo !== 0)) ? (((-1) + rawHi) | 0) : rawHi); + return rawLo + } + }; + unsigned$und$div__p1__I__I__I__I__I(alo, ahi, blo, bhi) { + if ((((-2097152) & ahi) === 0)) { + if ((((-2097152) & bhi) === 0)) { + const aDouble = ((4.294967296E9 * ahi) + $uD((alo >>> 0))); + const bDouble = ((4.294967296E9 * bhi) + $uD((blo >>> 0))); + const rDouble = (aDouble / bDouble); + const x = (rDouble / 4.294967296E9); + this.scala$scalajs$runtime$RuntimeLong$$hiReturn$f = $uI((x | 0)); + return $uI((rDouble | 0)) + } else { + this.scala$scalajs$runtime$RuntimeLong$$hiReturn$f = 0; + return 0 + } + } else if (((bhi === 0) && ((blo & (((-1) + blo) | 0)) === 0))) { + const pow = ((31 - $clz32(blo)) | 0); + this.scala$scalajs$runtime$RuntimeLong$$hiReturn$f = ((ahi >>> pow) | 0); + return (((alo >>> pow) | 0) | ((ahi << 1) << ((31 - pow) | 0))) + } else if (((blo === 0) && ((bhi & (((-1) + bhi) | 0)) === 0))) { + const pow$2 = ((31 - $clz32(bhi)) | 0); + this.scala$scalajs$runtime$RuntimeLong$$hiReturn$f = 0; + return ((ahi >>> pow$2) | 0) + } else { + return $uI(this.unsignedDivModHelper__p1__I__I__I__I__I__sjs_js_$bar(alo, ahi, blo, bhi, 0)) + } + }; + scala$scalajs$runtime$RuntimeLong$$toString__I__I__T(lo, hi) { + return ((hi === (lo >> 31)) ? ("" + lo) : ((hi < 0) ? ("-" + this.toUnsignedString__p1__I__I__T(((-lo) | 0), ((lo !== 0) ? (~hi) : ((-hi) | 0)))) : this.toUnsignedString__p1__I__I__T(lo, hi))) + }; + scala$scalajs$runtime$RuntimeLong$$compare__I__I__I__I__I(alo, ahi, blo, bhi) { + return ((ahi === bhi) ? ((alo === blo) ? 0 : ((((-2147483648) ^ alo) < ((-2147483648) ^ blo)) ? (-1) : 1)) : ((ahi < bhi) ? (-1) : 1)) + }; + unsignedDivModHelper__p1__I__I__I__I__I__sjs_js_$bar(alo, ahi, blo, bhi, ask) { + let shift = ((((bhi !== 0) ? $clz32(bhi) : ((32 + $clz32(blo)) | 0)) - ((ahi !== 0) ? $clz32(ahi) : ((32 + $clz32(alo)) | 0))) | 0); + const n = shift; + const lo = (((32 & n) === 0) ? (blo << n) : 0); + const hi = (((32 & n) === 0) ? (((((blo >>> 1) | 0) >>> ((31 - n) | 0)) | 0) | (bhi << n)) : (blo << n)); + let bShiftLo = lo; + let bShiftHi = hi; + let remLo = alo; + let remHi = ahi; + let quotLo = 0; + let quotHi = 0; + while (((shift >= 0) && (((-2097152) & remHi) !== 0))) { + const alo$1 = remLo; + const ahi$1 = remHi; + const blo$1 = bShiftLo; + const bhi$1 = bShiftHi; + if (((ahi$1 === bhi$1) ? (((-2147483648) ^ alo$1) >= ((-2147483648) ^ blo$1)) : (((-2147483648) ^ ahi$1) >= ((-2147483648) ^ bhi$1)))) { + const lo$1 = remLo; + const hi$1 = remHi; + const lo$2 = bShiftLo; + const hi$2 = bShiftHi; + const lo$3 = ((lo$1 - lo$2) | 0); + const hi$3 = ((((-2147483648) ^ lo$3) > ((-2147483648) ^ lo$1)) ? (((-1) + ((hi$1 - hi$2) | 0)) | 0) : ((hi$1 - hi$2) | 0)); + remLo = lo$3; + remHi = hi$3; + if ((shift < 32)) { + quotLo = (quotLo | (1 << shift)) + } else { + quotHi = (quotHi | (1 << shift)) + } + }; + shift = (((-1) + shift) | 0); + const lo$4 = bShiftLo; + const hi$4 = bShiftHi; + const lo$5 = (((lo$4 >>> 1) | 0) | (hi$4 << 31)); + const hi$5 = ((hi$4 >>> 1) | 0); + bShiftLo = lo$5; + bShiftHi = hi$5 + }; + const alo$2 = remLo; + const ahi$2 = remHi; + if (((ahi$2 === bhi) ? (((-2147483648) ^ alo$2) >= ((-2147483648) ^ blo)) : (((-2147483648) ^ ahi$2) >= ((-2147483648) ^ bhi)))) { + const lo$6 = remLo; + const hi$6 = remHi; + const remDouble = ((4.294967296E9 * hi$6) + $uD((lo$6 >>> 0))); + const bDouble = ((4.294967296E9 * bhi) + $uD((blo >>> 0))); + if ((ask !== 1)) { + const x = (remDouble / bDouble); + const lo$7 = $uI((x | 0)); + const x$1 = (x / 4.294967296E9); + const hi$7 = $uI((x$1 | 0)); + const lo$8 = quotLo; + const hi$8 = quotHi; + const lo$9 = ((lo$8 + lo$7) | 0); + const hi$9 = ((((-2147483648) ^ lo$9) < ((-2147483648) ^ lo$8)) ? ((1 + ((hi$8 + hi$7) | 0)) | 0) : ((hi$8 + hi$7) | 0)); + quotLo = lo$9; + quotHi = hi$9 + }; + if ((ask !== 0)) { + const rem_mod_bDouble = (remDouble % bDouble); + remLo = $uI((rem_mod_bDouble | 0)); + const x$2 = (rem_mod_bDouble / 4.294967296E9); + remHi = $uI((x$2 | 0)) + } + }; + if ((ask === 0)) { + this.scala$scalajs$runtime$RuntimeLong$$hiReturn$f = quotHi; + const a = quotLo; + return a + } else if ((ask === 1)) { + this.scala$scalajs$runtime$RuntimeLong$$hiReturn$f = remHi; + const a$1 = remLo; + return a$1 + } else { + const lo$10 = quotLo; + const hi$10 = quotHi; + const quot = ((4.294967296E9 * hi$10) + $uD((lo$10 >>> 0))); + const this$25 = remLo; + const remStr = ("" + this$25); + const a$2 = ((("" + quot) + $as_T("000000000".substring($uI(remStr.length)))) + remStr); + return a$2 + } + }; + remainderImpl__I__I__I__I__I(alo, ahi, blo, bhi) { + if (((blo | bhi) === 0)) { + throw new $c_jl_ArithmeticException().init___T("/ by zero") + }; + if ((ahi === (alo >> 31))) { + if ((bhi === (blo >> 31))) { + if ((blo !== (-1))) { + const lo = ((alo % blo) | 0); + this.scala$scalajs$runtime$RuntimeLong$$hiReturn$f = (lo >> 31); + return lo + } else { + this.scala$scalajs$runtime$RuntimeLong$$hiReturn$f = 0; + return 0 + } + } else if (((alo === (-2147483648)) && ((blo === (-2147483648)) && (bhi === 0)))) { + this.scala$scalajs$runtime$RuntimeLong$$hiReturn$f = 0; + return 0 + } else { + this.scala$scalajs$runtime$RuntimeLong$$hiReturn$f = ahi; + return alo + } + } else { + const neg = (ahi < 0); + let abs_$_lo$2; + let abs_$_hi$2; + if (neg) { + const lo$1 = ((-alo) | 0); + const hi = ((alo !== 0) ? (~ahi) : ((-ahi) | 0)); + const jsx$1_$_lo$2 = lo$1; + const jsx$1_$_hi$2 = hi; + abs_$_lo$2 = jsx$1_$_lo$2; + abs_$_hi$2 = jsx$1_$_hi$2 + } else { + const jsx$2_$_lo$2 = alo; + const jsx$2_$_hi$2 = ahi; + abs_$_lo$2 = jsx$2_$_lo$2; + abs_$_hi$2 = jsx$2_$_hi$2 + }; + const neg$1 = (bhi < 0); + let abs$1_$_lo$2; + let abs$1_$_hi$2; + if (neg$1) { + const lo$2 = ((-blo) | 0); + const hi$1 = ((blo !== 0) ? (~bhi) : ((-bhi) | 0)); + const jsx$3_$_lo$2 = lo$2; + const jsx$3_$_hi$2 = hi$1; + abs$1_$_lo$2 = jsx$3_$_lo$2; + abs$1_$_hi$2 = jsx$3_$_hi$2 + } else { + const jsx$4_$_lo$2 = blo; + const jsx$4_$_hi$2 = bhi; + abs$1_$_lo$2 = jsx$4_$_lo$2; + abs$1_$_hi$2 = jsx$4_$_hi$2 + }; + const absRLo = this.unsigned$und$percent__p1__I__I__I__I__I(abs_$_lo$2, abs_$_hi$2, abs$1_$_lo$2, abs$1_$_hi$2); + if (neg) { + const hi$2 = this.scala$scalajs$runtime$RuntimeLong$$hiReturn$f; + this.scala$scalajs$runtime$RuntimeLong$$hiReturn$f = ((absRLo !== 0) ? (~hi$2) : ((-hi$2) | 0)); + return ((-absRLo) | 0) + } else { + return absRLo + } + } + }; + unsigned$und$percent__p1__I__I__I__I__I(alo, ahi, blo, bhi) { + if ((((-2097152) & ahi) === 0)) { + if ((((-2097152) & bhi) === 0)) { + const aDouble = ((4.294967296E9 * ahi) + $uD((alo >>> 0))); + const bDouble = ((4.294967296E9 * bhi) + $uD((blo >>> 0))); + const rDouble = (aDouble % bDouble); + const x = (rDouble / 4.294967296E9); + this.scala$scalajs$runtime$RuntimeLong$$hiReturn$f = $uI((x | 0)); + return $uI((rDouble | 0)) + } else { + this.scala$scalajs$runtime$RuntimeLong$$hiReturn$f = ahi; + return alo + } + } else if (((bhi === 0) && ((blo & (((-1) + blo) | 0)) === 0))) { + this.scala$scalajs$runtime$RuntimeLong$$hiReturn$f = 0; + return (alo & (((-1) + blo) | 0)) + } else if (((blo === 0) && ((bhi & (((-1) + bhi) | 0)) === 0))) { + this.scala$scalajs$runtime$RuntimeLong$$hiReturn$f = (ahi & (((-1) + bhi) | 0)); + return alo + } else { + return $uI(this.unsignedDivModHelper__p1__I__I__I__I__I__sjs_js_$bar(alo, ahi, blo, bhi, 1)) + } + }; +} +const $d_sjsr_RuntimeLong$ = new $TypeData().initClass({ + sjsr_RuntimeLong$: 0 +}, false, "scala.scalajs.runtime.RuntimeLong$", { + sjsr_RuntimeLong$: 1, + O: 1, + s_Serializable: 1, + Ljava_io_Serializable: 1 +}); +$c_sjsr_RuntimeLong$.prototype.$classData = $d_sjsr_RuntimeLong$; +let $n_sjsr_RuntimeLong$ = (void 0); +const $m_sjsr_RuntimeLong$ = (function() { + if ((!$n_sjsr_RuntimeLong$)) { + $n_sjsr_RuntimeLong$ = new $c_sjsr_RuntimeLong$().init___() + }; + return $n_sjsr_RuntimeLong$ +}); +const $is_T = (function(obj) { + return ((typeof obj) === "string") +}); +const $as_T = (function(obj) { + return (($is_T(obj) || (obj === null)) ? obj : $throwClassCastException(obj, "java.lang.String")) +}); +const $isArrayOf_T = (function(obj, depth) { + return (!(!(((obj && obj.$classData) && (obj.$classData.arrayDepth === depth)) && obj.$classData.arrayBase.ancestors.T))) +}); +const $asArrayOf_T = (function(obj, depth) { + return (($isArrayOf_T(obj, depth) || (obj === null)) ? obj : $throwArrayCastException(obj, "Ljava.lang.String;", depth)) +}); +const $d_T = new $TypeData().initClass({ + T: 0 +}, false, "java.lang.String", { + T: 1, + O: 1, + Ljava_io_Serializable: 1, + jl_CharSequence: 1, + jl_Comparable: 1 +}, (void 0), (void 0), $is_T); +const $d_jl_Byte = new $TypeData().initClass({ + jl_Byte: 0 +}, false, "java.lang.Byte", { + jl_Byte: 1, + jl_Number: 1, + O: 1, + Ljava_io_Serializable: 1, + jl_Comparable: 1 +}, (void 0), (void 0), (function(x) { + return $isByte(x) +})); +class $c_jl_CloneNotSupportedException extends $c_jl_Exception { + init___() { + $c_jl_Throwable.prototype.init___T__jl_Throwable.call(this, null, null); + return this + }; +} +const $d_jl_CloneNotSupportedException = new $TypeData().initClass({ + jl_CloneNotSupportedException: 0 +}, false, "java.lang.CloneNotSupportedException", { + jl_CloneNotSupportedException: 1, + jl_Exception: 1, + jl_Throwable: 1, + O: 1, + Ljava_io_Serializable: 1 +}); +$c_jl_CloneNotSupportedException.prototype.$classData = $d_jl_CloneNotSupportedException; +const $isArrayOf_jl_Double = (function(obj, depth) { + return (!(!(((obj && obj.$classData) && (obj.$classData.arrayDepth === depth)) && obj.$classData.arrayBase.ancestors.jl_Double))) +}); +const $asArrayOf_jl_Double = (function(obj, depth) { + return (($isArrayOf_jl_Double(obj, depth) || (obj === null)) ? obj : $throwArrayCastException(obj, "Ljava.lang.Double;", depth)) +}); +const $d_jl_Double = new $TypeData().initClass({ + jl_Double: 0 +}, false, "java.lang.Double", { + jl_Double: 1, + jl_Number: 1, + O: 1, + Ljava_io_Serializable: 1, + jl_Comparable: 1 +}, (void 0), (void 0), (function(x) { + return ((typeof x) === "number") +})); +const $d_jl_Float = new $TypeData().initClass({ + jl_Float: 0 +}, false, "java.lang.Float", { + jl_Float: 1, + jl_Number: 1, + O: 1, + Ljava_io_Serializable: 1, + jl_Comparable: 1 +}, (void 0), (void 0), (function(x) { + return $isFloat(x) +})); +const $d_jl_Integer = new $TypeData().initClass({ + jl_Integer: 0 +}, false, "java.lang.Integer", { + jl_Integer: 1, + jl_Number: 1, + O: 1, + Ljava_io_Serializable: 1, + jl_Comparable: 1 +}, (void 0), (void 0), (function(x) { + return $isInt(x) +})); +const $isArrayOf_jl_Long = (function(obj, depth) { + return (!(!(((obj && obj.$classData) && (obj.$classData.arrayDepth === depth)) && obj.$classData.arrayBase.ancestors.jl_Long))) +}); +const $asArrayOf_jl_Long = (function(obj, depth) { + return (($isArrayOf_jl_Long(obj, depth) || (obj === null)) ? obj : $throwArrayCastException(obj, "Ljava.lang.Long;", depth)) +}); +const $d_jl_Long = new $TypeData().initClass({ + jl_Long: 0 +}, false, "java.lang.Long", { + jl_Long: 1, + jl_Number: 1, + O: 1, + Ljava_io_Serializable: 1, + jl_Comparable: 1 +}, (void 0), (void 0), (function(x) { + return $is_sjsr_RuntimeLong(x) +})); +class $c_jl_RuntimeException extends $c_jl_Exception { +} +const $d_jl_Short = new $TypeData().initClass({ + jl_Short: 0 +}, false, "java.lang.Short", { + jl_Short: 1, + jl_Number: 1, + O: 1, + Ljava_io_Serializable: 1, + jl_Comparable: 1 +}, (void 0), (void 0), (function(x) { + return $isShort(x) +})); +class $c_jl_StringBuilder extends $c_O { + constructor() { + super(); + this.java$lang$StringBuilder$$content$f = null + }; + init___() { + this.java$lang$StringBuilder$$content$f = ""; + return this + }; + toString__T() { + return this.java$lang$StringBuilder$$content$f + }; + init___I(initialCapacity) { + $c_jl_StringBuilder.prototype.init___.call(this); + if ((initialCapacity < 0)) { + throw new $c_jl_NegativeArraySizeException().init___() + }; + return this + }; + length__I() { + const thiz = this.java$lang$StringBuilder$$content$f; + return $uI(thiz.length) + }; + charAt__I__C(index) { + const thiz = this.java$lang$StringBuilder$$content$f; + return (65535 & $uI(thiz.charCodeAt(index))) + }; +} +const $d_jl_StringBuilder = new $TypeData().initClass({ + jl_StringBuilder: 0 +}, false, "java.lang.StringBuilder", { + jl_StringBuilder: 1, + O: 1, + jl_CharSequence: 1, + jl_Appendable: 1, + Ljava_io_Serializable: 1 +}); +$c_jl_StringBuilder.prototype.$classData = $d_jl_StringBuilder; +class $c_sc_AbstractIterator extends $c_O { + toString__T() { + return $f_sc_Iterator__toString__T(this) + }; + foreach__F1__V(f) { + $f_sc_Iterator__foreach__F1__V(this, f) + }; +} +class $c_sjsr_RuntimeLong extends $c_jl_Number { + constructor() { + super(); + this.lo$2 = 0; + this.hi$2 = 0 + }; + longValue__J() { + return $uJ(this) + }; + $$bar__sjsr_RuntimeLong__sjsr_RuntimeLong(b) { + return new $c_sjsr_RuntimeLong().init___I__I((this.lo$2 | b.lo$2), (this.hi$2 | b.hi$2)) + }; + $$greater$eq__sjsr_RuntimeLong__Z(b) { + const ahi = this.hi$2; + const bhi = b.hi$2; + return ((ahi === bhi) ? (((-2147483648) ^ this.lo$2) >= ((-2147483648) ^ b.lo$2)) : (ahi > bhi)) + }; + byteValue__B() { + return ((this.lo$2 << 24) >> 24) + }; + equals__O__Z(that) { + if ($is_sjsr_RuntimeLong(that)) { + const x2 = $as_sjsr_RuntimeLong(that); + return ((this.lo$2 === x2.lo$2) && (this.hi$2 === x2.hi$2)) + } else { + return false + } + }; + $$less__sjsr_RuntimeLong__Z(b) { + const ahi = this.hi$2; + const bhi = b.hi$2; + return ((ahi === bhi) ? (((-2147483648) ^ this.lo$2) < ((-2147483648) ^ b.lo$2)) : (ahi < bhi)) + }; + $$times__sjsr_RuntimeLong__sjsr_RuntimeLong(b) { + const alo = this.lo$2; + const blo = b.lo$2; + const a0 = (65535 & alo); + const a1 = ((alo >>> 16) | 0); + const b0 = (65535 & blo); + const b1 = ((blo >>> 16) | 0); + const a0b0 = $imul(a0, b0); + const a1b0 = $imul(a1, b0); + const a0b1 = $imul(a0, b1); + const lo = ((a0b0 + (((a1b0 + a0b1) | 0) << 16)) | 0); + const c1part = ((((a0b0 >>> 16) | 0) + a0b1) | 0); + const hi = (((((((($imul(alo, b.hi$2) + $imul(this.hi$2, blo)) | 0) + $imul(a1, b1)) | 0) + ((c1part >>> 16) | 0)) | 0) + (((((65535 & c1part) + a1b0) | 0) >>> 16) | 0)) | 0); + return new $c_sjsr_RuntimeLong().init___I__I(lo, hi) + }; + init___I__I__I(l, m, h) { + $c_sjsr_RuntimeLong.prototype.init___I__I.call(this, (l | (m << 22)), ((m >> 10) | (h << 12))); + return this + }; + $$percent__sjsr_RuntimeLong__sjsr_RuntimeLong(b) { + const this$1 = $m_sjsr_RuntimeLong$(); + const lo = this$1.remainderImpl__I__I__I__I__I(this.lo$2, this.hi$2, b.lo$2, b.hi$2); + return new $c_sjsr_RuntimeLong().init___I__I(lo, this$1.scala$scalajs$runtime$RuntimeLong$$hiReturn$f) + }; + toString__T() { + return $m_sjsr_RuntimeLong$().scala$scalajs$runtime$RuntimeLong$$toString__I__I__T(this.lo$2, this.hi$2) + }; + init___I__I(lo, hi) { + this.lo$2 = lo; + this.hi$2 = hi; + return this + }; + compareTo__O__I(x$1) { + const that = $as_sjsr_RuntimeLong(x$1); + return $m_sjsr_RuntimeLong$().scala$scalajs$runtime$RuntimeLong$$compare__I__I__I__I__I(this.lo$2, this.hi$2, that.lo$2, that.hi$2) + }; + $$less$eq__sjsr_RuntimeLong__Z(b) { + const ahi = this.hi$2; + const bhi = b.hi$2; + return ((ahi === bhi) ? (((-2147483648) ^ this.lo$2) <= ((-2147483648) ^ b.lo$2)) : (ahi < bhi)) + }; + $$amp__sjsr_RuntimeLong__sjsr_RuntimeLong(b) { + return new $c_sjsr_RuntimeLong().init___I__I((this.lo$2 & b.lo$2), (this.hi$2 & b.hi$2)) + }; + $$greater$greater$greater__I__sjsr_RuntimeLong(n) { + return new $c_sjsr_RuntimeLong().init___I__I((((32 & n) === 0) ? (((this.lo$2 >>> n) | 0) | ((this.hi$2 << 1) << ((31 - n) | 0))) : ((this.hi$2 >>> n) | 0)), (((32 & n) === 0) ? ((this.hi$2 >>> n) | 0) : 0)) + }; + $$greater__sjsr_RuntimeLong__Z(b) { + const ahi = this.hi$2; + const bhi = b.hi$2; + return ((ahi === bhi) ? (((-2147483648) ^ this.lo$2) > ((-2147483648) ^ b.lo$2)) : (ahi > bhi)) + }; + $$less$less__I__sjsr_RuntimeLong(n) { + return new $c_sjsr_RuntimeLong().init___I__I((((32 & n) === 0) ? (this.lo$2 << n) : 0), (((32 & n) === 0) ? (((((this.lo$2 >>> 1) | 0) >>> ((31 - n) | 0)) | 0) | (this.hi$2 << n)) : (this.lo$2 << n))) + }; + init___I(value) { + $c_sjsr_RuntimeLong.prototype.init___I__I.call(this, value, (value >> 31)); + return this + }; + toInt__I() { + return this.lo$2 + }; + notEquals__sjsr_RuntimeLong__Z(b) { + return (!((this.lo$2 === b.lo$2) && (this.hi$2 === b.hi$2))) + }; + unary$und$minus__sjsr_RuntimeLong() { + const lo = this.lo$2; + const hi = this.hi$2; + return new $c_sjsr_RuntimeLong().init___I__I(((-lo) | 0), ((lo !== 0) ? (~hi) : ((-hi) | 0))) + }; + $$plus__sjsr_RuntimeLong__sjsr_RuntimeLong(b) { + const alo = this.lo$2; + const ahi = this.hi$2; + const bhi = b.hi$2; + const lo = ((alo + b.lo$2) | 0); + return new $c_sjsr_RuntimeLong().init___I__I(lo, ((((-2147483648) ^ lo) < ((-2147483648) ^ alo)) ? ((1 + ((ahi + bhi) | 0)) | 0) : ((ahi + bhi) | 0))) + }; + shortValue__S() { + return ((this.lo$2 << 16) >> 16) + }; + $$greater$greater__I__sjsr_RuntimeLong(n) { + return new $c_sjsr_RuntimeLong().init___I__I((((32 & n) === 0) ? (((this.lo$2 >>> n) | 0) | ((this.hi$2 << 1) << ((31 - n) | 0))) : (this.hi$2 >> n)), (((32 & n) === 0) ? (this.hi$2 >> n) : (this.hi$2 >> 31))) + }; + toDouble__D() { + return $m_sjsr_RuntimeLong$().scala$scalajs$runtime$RuntimeLong$$toDouble__I__I__D(this.lo$2, this.hi$2) + }; + $$div__sjsr_RuntimeLong__sjsr_RuntimeLong(b) { + const this$1 = $m_sjsr_RuntimeLong$(); + const lo = this$1.divideImpl__I__I__I__I__I(this.lo$2, this.hi$2, b.lo$2, b.hi$2); + return new $c_sjsr_RuntimeLong().init___I__I(lo, this$1.scala$scalajs$runtime$RuntimeLong$$hiReturn$f) + }; + doubleValue__D() { + return $m_sjsr_RuntimeLong$().scala$scalajs$runtime$RuntimeLong$$toDouble__I__I__D(this.lo$2, this.hi$2) + }; + hashCode__I() { + return (this.lo$2 ^ this.hi$2) + }; + intValue__I() { + return this.lo$2 + }; + unary$und$tilde__sjsr_RuntimeLong() { + return new $c_sjsr_RuntimeLong().init___I__I((~this.lo$2), (~this.hi$2)) + }; + compareTo__jl_Long__I(that) { + return $m_sjsr_RuntimeLong$().scala$scalajs$runtime$RuntimeLong$$compare__I__I__I__I__I(this.lo$2, this.hi$2, that.lo$2, that.hi$2) + }; + floatValue__F() { + return $fround($m_sjsr_RuntimeLong$().scala$scalajs$runtime$RuntimeLong$$toDouble__I__I__D(this.lo$2, this.hi$2)) + }; + $$minus__sjsr_RuntimeLong__sjsr_RuntimeLong(b) { + const alo = this.lo$2; + const ahi = this.hi$2; + const bhi = b.hi$2; + const lo = ((alo - b.lo$2) | 0); + return new $c_sjsr_RuntimeLong().init___I__I(lo, ((((-2147483648) ^ lo) > ((-2147483648) ^ alo)) ? (((-1) + ((ahi - bhi) | 0)) | 0) : ((ahi - bhi) | 0))) + }; + $$up__sjsr_RuntimeLong__sjsr_RuntimeLong(b) { + return new $c_sjsr_RuntimeLong().init___I__I((this.lo$2 ^ b.lo$2), (this.hi$2 ^ b.hi$2)) + }; + equals__sjsr_RuntimeLong__Z(b) { + return ((this.lo$2 === b.lo$2) && (this.hi$2 === b.hi$2)) + }; +} +const $is_sjsr_RuntimeLong = (function(obj) { + return (!(!((obj && obj.$classData) && obj.$classData.ancestors.sjsr_RuntimeLong))) +}); +const $as_sjsr_RuntimeLong = (function(obj) { + return (($is_sjsr_RuntimeLong(obj) || (obj === null)) ? obj : $throwClassCastException(obj, "scala.scalajs.runtime.RuntimeLong")) +}); +const $isArrayOf_sjsr_RuntimeLong = (function(obj, depth) { + return (!(!(((obj && obj.$classData) && (obj.$classData.arrayDepth === depth)) && obj.$classData.arrayBase.ancestors.sjsr_RuntimeLong))) +}); +const $asArrayOf_sjsr_RuntimeLong = (function(obj, depth) { + return (($isArrayOf_sjsr_RuntimeLong(obj, depth) || (obj === null)) ? obj : $throwArrayCastException(obj, "Lscala.scalajs.runtime.RuntimeLong;", depth)) +}); +const $d_sjsr_RuntimeLong = new $TypeData().initClass({ + sjsr_RuntimeLong: 0 +}, false, "scala.scalajs.runtime.RuntimeLong", { + sjsr_RuntimeLong: 1, + jl_Number: 1, + O: 1, + Ljava_io_Serializable: 1, + jl_Comparable: 1 +}); +$c_sjsr_RuntimeLong.prototype.$classData = $d_sjsr_RuntimeLong; +class $c_jl_ArithmeticException extends $c_jl_RuntimeException { + init___T(s) { + $c_jl_Throwable.prototype.init___T__jl_Throwable.call(this, s, null); + return this + }; +} +const $d_jl_ArithmeticException = new $TypeData().initClass({ + jl_ArithmeticException: 0 +}, false, "java.lang.ArithmeticException", { + jl_ArithmeticException: 1, + jl_RuntimeException: 1, + jl_Exception: 1, + jl_Throwable: 1, + O: 1, + Ljava_io_Serializable: 1 +}); +$c_jl_ArithmeticException.prototype.$classData = $d_jl_ArithmeticException; +class $c_jl_ClassCastException extends $c_jl_RuntimeException { + init___T(s) { + $c_jl_Throwable.prototype.init___T__jl_Throwable.call(this, s, null); + return this + }; +} +const $d_jl_ClassCastException = new $TypeData().initClass({ + jl_ClassCastException: 0 +}, false, "java.lang.ClassCastException", { + jl_ClassCastException: 1, + jl_RuntimeException: 1, + jl_Exception: 1, + jl_Throwable: 1, + O: 1, + Ljava_io_Serializable: 1 +}); +$c_jl_ClassCastException.prototype.$classData = $d_jl_ClassCastException; +class $c_jl_IndexOutOfBoundsException extends $c_jl_RuntimeException { + init___T(s) { + $c_jl_Throwable.prototype.init___T__jl_Throwable.call(this, s, null); + return this + }; +} +const $d_jl_IndexOutOfBoundsException = new $TypeData().initClass({ + jl_IndexOutOfBoundsException: 0 +}, false, "java.lang.IndexOutOfBoundsException", { + jl_IndexOutOfBoundsException: 1, + jl_RuntimeException: 1, + jl_Exception: 1, + jl_Throwable: 1, + O: 1, + Ljava_io_Serializable: 1 +}); +$c_jl_IndexOutOfBoundsException.prototype.$classData = $d_jl_IndexOutOfBoundsException; +class $c_jl_NegativeArraySizeException extends $c_jl_RuntimeException { + init___() { + $c_jl_Throwable.prototype.init___T__jl_Throwable.call(this, null, null); + return this + }; +} +const $d_jl_NegativeArraySizeException = new $TypeData().initClass({ + jl_NegativeArraySizeException: 0 +}, false, "java.lang.NegativeArraySizeException", { + jl_NegativeArraySizeException: 1, + jl_RuntimeException: 1, + jl_Exception: 1, + jl_Throwable: 1, + O: 1, + Ljava_io_Serializable: 1 +}); +$c_jl_NegativeArraySizeException.prototype.$classData = $d_jl_NegativeArraySizeException; +class $c_jl_NullPointerException extends $c_jl_RuntimeException { + init___() { + $c_jl_Throwable.prototype.init___T__jl_Throwable.call(this, null, null); + return this + }; +} +const $d_jl_NullPointerException = new $TypeData().initClass({ + jl_NullPointerException: 0 +}, false, "java.lang.NullPointerException", { + jl_NullPointerException: 1, + jl_RuntimeException: 1, + jl_Exception: 1, + jl_Throwable: 1, + O: 1, + Ljava_io_Serializable: 1 +}); +$c_jl_NullPointerException.prototype.$classData = $d_jl_NullPointerException; +class $c_ju_NoSuchElementException extends $c_jl_RuntimeException { + init___T(s) { + $c_jl_Throwable.prototype.init___T__jl_Throwable.call(this, s, null); + return this + }; +} +const $d_ju_NoSuchElementException = new $TypeData().initClass({ + ju_NoSuchElementException: 0 +}, false, "java.util.NoSuchElementException", { + ju_NoSuchElementException: 1, + jl_RuntimeException: 1, + jl_Exception: 1, + jl_Throwable: 1, + O: 1, + Ljava_io_Serializable: 1 +}); +$c_ju_NoSuchElementException.prototype.$classData = $d_ju_NoSuchElementException; +class $c_s_Option extends $c_O { +} +class $c_sc_Iterator$$anon$2 extends $c_sc_AbstractIterator { + init___() { + return this + }; + next__O() { + this.next__sr_Nothing$() + }; + next__sr_Nothing$() { + throw new $c_ju_NoSuchElementException().init___T("next on empty iterator") + }; + hasNext__Z() { + return false + }; +} +const $d_sc_Iterator$$anon$2 = new $TypeData().initClass({ + sc_Iterator$$anon$2: 0 +}, false, "scala.collection.Iterator$$anon$2", { + sc_Iterator$$anon$2: 1, + sc_AbstractIterator: 1, + O: 1, + sc_Iterator: 1, + sc_TraversableOnce: 1, + sc_GenTraversableOnce: 1 +}); +$c_sc_Iterator$$anon$2.prototype.$classData = $d_sc_Iterator$$anon$2; +class $c_sr_ScalaRunTime$$anon$1 extends $c_sc_AbstractIterator { + constructor() { + super(); + this.c$2 = 0; + this.cmax$2 = 0; + this.x$2$2 = null + }; + next__O() { + const result = this.x$2$2.productElement__I__O(this.c$2); + this.c$2 = ((1 + this.c$2) | 0); + return result + }; + init___s_Product(x$2) { + this.x$2$2 = x$2; + this.c$2 = 0; + this.cmax$2 = x$2.productArity__I(); + return this + }; + hasNext__Z() { + return (this.c$2 < this.cmax$2) + }; +} +const $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; +class $c_Lorg_scalalang_utils_OS$Linux$ extends $c_O { + constructor() { + super(); + this.navigator$1 = null; + this.label$1 = null + }; + init___() { + this.navigator$1 = "Linux"; + this.label$1 = "linux"; + return this + }; + productPrefix__T() { + return "Linux" + }; + productArity__I() { + return 0 + }; + productElement__I__O(x$1) { + throw new $c_jl_IndexOutOfBoundsException().init___T(("" + x$1)) + }; + label__T() { + return this.label$1 + }; + toString__T() { + return "Linux" + }; + navigator__T() { + return this.navigator$1 + }; + hashCode__I() { + return 73425108 + }; + productIterator__sc_Iterator() { + return new $c_sr_ScalaRunTime$$anon$1().init___s_Product(this) + }; +} +const $d_Lorg_scalalang_utils_OS$Linux$ = new $TypeData().initClass({ + Lorg_scalalang_utils_OS$Linux$: 0 +}, false, "org.scalalang.utils.OS$Linux$", { + Lorg_scalalang_utils_OS$Linux$: 1, + O: 1, + Lorg_scalalang_utils_OS: 1, + s_Product: 1, + s_Equals: 1, + s_Serializable: 1, + Ljava_io_Serializable: 1 +}); +$c_Lorg_scalalang_utils_OS$Linux$.prototype.$classData = $d_Lorg_scalalang_utils_OS$Linux$; +let $n_Lorg_scalalang_utils_OS$Linux$ = (void 0); +const $m_Lorg_scalalang_utils_OS$Linux$ = (function() { + if ((!$n_Lorg_scalalang_utils_OS$Linux$)) { + $n_Lorg_scalalang_utils_OS$Linux$ = new $c_Lorg_scalalang_utils_OS$Linux$().init___() + }; + return $n_Lorg_scalalang_utils_OS$Linux$ +}); +class $c_Lorg_scalalang_utils_OS$Mac$ extends $c_O { + constructor() { + super(); + this.navigator$1 = null; + this.label$1 = null + }; + init___() { + this.navigator$1 = "Mac"; + this.label$1 = "osx"; + return this + }; + productPrefix__T() { + return "Mac" + }; + productArity__I() { + return 0 + }; + productElement__I__O(x$1) { + throw new $c_jl_IndexOutOfBoundsException().init___T(("" + x$1)) + }; + label__T() { + return this.label$1 + }; + toString__T() { + return "Mac" + }; + navigator__T() { + return this.navigator$1 + }; + hashCode__I() { + return 77103 + }; + productIterator__sc_Iterator() { + return new $c_sr_ScalaRunTime$$anon$1().init___s_Product(this) + }; +} +const $d_Lorg_scalalang_utils_OS$Mac$ = new $TypeData().initClass({ + Lorg_scalalang_utils_OS$Mac$: 0 +}, false, "org.scalalang.utils.OS$Mac$", { + Lorg_scalalang_utils_OS$Mac$: 1, + O: 1, + Lorg_scalalang_utils_OS: 1, + s_Product: 1, + s_Equals: 1, + s_Serializable: 1, + Ljava_io_Serializable: 1 +}); +$c_Lorg_scalalang_utils_OS$Mac$.prototype.$classData = $d_Lorg_scalalang_utils_OS$Mac$; +let $n_Lorg_scalalang_utils_OS$Mac$ = (void 0); +const $m_Lorg_scalalang_utils_OS$Mac$ = (function() { + if ((!$n_Lorg_scalalang_utils_OS$Mac$)) { + $n_Lorg_scalalang_utils_OS$Mac$ = new $c_Lorg_scalalang_utils_OS$Mac$().init___() + }; + return $n_Lorg_scalalang_utils_OS$Mac$ +}); +class $c_Lorg_scalalang_utils_OS$Unix$ extends $c_O { + constructor() { + super(); + this.navigator$1 = null; + this.label$1 = null + }; + init___() { + this.navigator$1 = "X11"; + this.label$1 = "unix"; + return this + }; + productPrefix__T() { + return "Unix" + }; + productArity__I() { + return 0 + }; + productElement__I__O(x$1) { + throw new $c_jl_IndexOutOfBoundsException().init___T(("" + x$1)) + }; + label__T() { + return this.label$1 + }; + toString__T() { + return "Unix" + }; + navigator__T() { + return this.navigator$1 + }; + hashCode__I() { + return 2641320 + }; + productIterator__sc_Iterator() { + return new $c_sr_ScalaRunTime$$anon$1().init___s_Product(this) + }; +} +const $d_Lorg_scalalang_utils_OS$Unix$ = new $TypeData().initClass({ + Lorg_scalalang_utils_OS$Unix$: 0 +}, false, "org.scalalang.utils.OS$Unix$", { + Lorg_scalalang_utils_OS$Unix$: 1, + O: 1, + Lorg_scalalang_utils_OS: 1, + s_Product: 1, + s_Equals: 1, + s_Serializable: 1, + Ljava_io_Serializable: 1 +}); +$c_Lorg_scalalang_utils_OS$Unix$.prototype.$classData = $d_Lorg_scalalang_utils_OS$Unix$; +let $n_Lorg_scalalang_utils_OS$Unix$ = (void 0); +const $m_Lorg_scalalang_utils_OS$Unix$ = (function() { + if ((!$n_Lorg_scalalang_utils_OS$Unix$)) { + $n_Lorg_scalalang_utils_OS$Unix$ = new $c_Lorg_scalalang_utils_OS$Unix$().init___() + }; + return $n_Lorg_scalalang_utils_OS$Unix$ +}); +class $c_Lorg_scalalang_utils_OS$Windows$ extends $c_O { + constructor() { + super(); + this.navigator$1 = null; + this.label$1 = null + }; + init___() { + this.navigator$1 = "Win"; + this.label$1 = "windows"; + return this + }; + productPrefix__T() { + return "Windows" + }; + productArity__I() { + return 0 + }; + productElement__I__O(x$1) { + throw new $c_jl_IndexOutOfBoundsException().init___T(("" + x$1)) + }; + label__T() { + return this.label$1 + }; + toString__T() { + return "Windows" + }; + navigator__T() { + return this.navigator$1 + }; + hashCode__I() { + return (-1280820637) + }; + productIterator__sc_Iterator() { + return new $c_sr_ScalaRunTime$$anon$1().init___s_Product(this) + }; +} +const $d_Lorg_scalalang_utils_OS$Windows$ = new $TypeData().initClass({ + Lorg_scalalang_utils_OS$Windows$: 0 +}, false, "org.scalalang.utils.OS$Windows$", { + Lorg_scalalang_utils_OS$Windows$: 1, + O: 1, + Lorg_scalalang_utils_OS: 1, + s_Product: 1, + s_Equals: 1, + s_Serializable: 1, + Ljava_io_Serializable: 1 +}); +$c_Lorg_scalalang_utils_OS$Windows$.prototype.$classData = $d_Lorg_scalalang_utils_OS$Windows$; +let $n_Lorg_scalalang_utils_OS$Windows$ = (void 0); +const $m_Lorg_scalalang_utils_OS$Windows$ = (function() { + if ((!$n_Lorg_scalalang_utils_OS$Windows$)) { + $n_Lorg_scalalang_utils_OS$Windows$ = new $c_Lorg_scalalang_utils_OS$Windows$().init___() + }; + return $n_Lorg_scalalang_utils_OS$Windows$ +}); +class $c_jl_ArrayIndexOutOfBoundsException extends $c_jl_IndexOutOfBoundsException { + init___T(s) { + $c_jl_Throwable.prototype.init___T__jl_Throwable.call(this, s, null); + return this + }; +} +const $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_jl_ArrayIndexOutOfBoundsException.prototype.$classData = $d_jl_ArrayIndexOutOfBoundsException; +class $c_s_None$ extends $c_s_Option { + init___() { + return this + }; + productPrefix__T() { + return "None" + }; + productArity__I() { + return 0 + }; + isEmpty__Z() { + return true + }; + get__O() { + this.get__sr_Nothing$() + }; + productElement__I__O(x$1) { + throw new $c_jl_IndexOutOfBoundsException().init___T(("" + x$1)) + }; + toString__T() { + return "None" + }; + get__sr_Nothing$() { + throw new $c_ju_NoSuchElementException().init___T("None.get") + }; + hashCode__I() { + return 2433880 + }; + productIterator__sc_Iterator() { + return new $c_sr_ScalaRunTime$$anon$1().init___s_Product(this) + }; +} +const $d_s_None$ = new $TypeData().initClass({ + s_None$: 0 +}, false, "scala.None$", { + s_None$: 1, + s_Option: 1, + O: 1, + s_Product: 1, + s_Equals: 1, + s_Serializable: 1, + Ljava_io_Serializable: 1 +}); +$c_s_None$.prototype.$classData = $d_s_None$; +let $n_s_None$ = (void 0); +const $m_s_None$ = (function() { + if ((!$n_s_None$)) { + $n_s_None$ = new $c_s_None$().init___() + }; + return $n_s_None$ +}); +class $c_s_Some extends $c_s_Option { + constructor() { + super(); + this.value$2 = null + }; + productPrefix__T() { + return "Some" + }; + productArity__I() { + return 1 + }; + isEmpty__Z() { + return false + }; + productElement__I__O(x$1) { + switch (x$1) { + case 0: { + return this.value$2; + break + } + default: { + throw new $c_jl_IndexOutOfBoundsException().init___T(("" + x$1)) + } + } + }; + get__O() { + return this.value$2 + }; + toString__T() { + return $m_sr_ScalaRunTime$().$$undtoString__s_Product__T(this) + }; + init___O(value) { + this.value$2 = value; + return this + }; + hashCode__I() { + const this$2 = $m_s_util_hashing_MurmurHash3$(); + return this$2.productHash__s_Product__I__I(this, (-889275714)) + }; + productIterator__sc_Iterator() { + return new $c_sr_ScalaRunTime$$anon$1().init___s_Product(this) + }; +} +const $d_s_Some = new $TypeData().initClass({ + s_Some: 0 +}, false, "scala.Some", { + s_Some: 1, + s_Option: 1, + O: 1, + s_Product: 1, + s_Equals: 1, + s_Serializable: 1, + Ljava_io_Serializable: 1 +}); +$c_s_Some.prototype.$classData = $d_s_Some; +const $f_sc_TraversableLike__isPartLikelySynthetic$1__psc_TraversableLike__T__I__Z = (function($thiz, fqn$1, partStart$1) { + const firstChar = (65535 & $uI(fqn$1.charCodeAt(partStart$1))); + return (((firstChar > 90) && (firstChar < 127)) || (firstChar < 65)) +}); +const $f_sc_TraversableLike__toString__T = (function($thiz) { + const start = ($thiz.stringPrefix__T() + "("); + return $f_sc_TraversableOnce__mkString__T__T__T__T($thiz, start, ", ", ")") +}); +const $f_sc_TraversableLike__stringPrefix__T = (function($thiz) { + const this$1 = $thiz.repr__O(); + const fqn = $objectGetClass(this$1).getName__T(); + let pos = (((-1) + $uI(fqn.length)) | 0); + while (true) { + let jsx$1; + if ((pos !== (-1))) { + const index = pos; + jsx$1 = ((65535 & $uI(fqn.charCodeAt(index))) === 36) + } else { + jsx$1 = false + }; + if (jsx$1) { + pos = (((-1) + pos) | 0) + } else { + break + } + }; + let jsx$2; + if ((pos === (-1))) { + jsx$2 = true + } else { + const index$1 = pos; + jsx$2 = ((65535 & $uI(fqn.charCodeAt(index$1))) === 46) + }; + if (jsx$2) { + return "" + }; + let result = ""; + while (true) { + const partEnd = ((1 + pos) | 0); + while (true) { + let jsx$4; + if ((pos !== (-1))) { + const index$2 = pos; + jsx$4 = ((65535 & $uI(fqn.charCodeAt(index$2))) <= 57) + } else { + jsx$4 = false + }; + let jsx$3; + if (jsx$4) { + const index$3 = pos; + jsx$3 = ((65535 & $uI(fqn.charCodeAt(index$3))) >= 48) + } else { + jsx$3 = false + }; + if (jsx$3) { + pos = (((-1) + pos) | 0) + } else { + break + } + }; + const lastNonDigit = pos; + while (true) { + let jsx$6; + if ((pos !== (-1))) { + const index$4 = pos; + jsx$6 = ((65535 & $uI(fqn.charCodeAt(index$4))) !== 36) + } else { + jsx$6 = false + }; + let jsx$5; + if (jsx$6) { + const index$5 = pos; + jsx$5 = ((65535 & $uI(fqn.charCodeAt(index$5))) !== 46) + } else { + jsx$5 = false + }; + if (jsx$5) { + pos = (((-1) + pos) | 0) + } else { + break + } + }; + const partStart = ((1 + pos) | 0); + if (((pos === lastNonDigit) && (partEnd !== $uI(fqn.length)))) { + return result + }; + while (true) { + let jsx$7; + if ((pos !== (-1))) { + const index$6 = pos; + jsx$7 = ((65535 & $uI(fqn.charCodeAt(index$6))) === 36) + } else { + jsx$7 = false + }; + if (jsx$7) { + pos = (((-1) + pos) | 0) + } else { + break + } + }; + let atEnd; + if ((pos === (-1))) { + atEnd = true + } else { + const index$7 = pos; + atEnd = ((65535 & $uI(fqn.charCodeAt(index$7))) === 46) + }; + if ((atEnd || (!$f_sc_TraversableLike__isPartLikelySynthetic$1__psc_TraversableLike__T__I__Z($thiz, fqn, partStart)))) { + const part = $as_T(fqn.substring(partStart, partEnd)); + const thiz = result; + if ((thiz === null)) { + throw new $c_jl_NullPointerException().init___() + }; + if ((thiz === "")) { + result = part + } else { + result = ((("" + part) + new $c_jl_Character().init___C(46)) + result) + }; + if (atEnd) { + return result + } + } + } +}); +class $c_sjsr_UndefinedBehaviorError extends $c_jl_Error { + fillInStackTrace__jl_Throwable() { + return $c_jl_Throwable.prototype.fillInStackTrace__jl_Throwable.call(this) + }; + init___jl_Throwable(cause) { + $c_sjsr_UndefinedBehaviorError.prototype.init___T__jl_Throwable.call(this, ("An undefined behavior was detected" + ((cause === null) ? "" : (": " + cause.getMessage__T()))), cause); + return this + }; + init___T__jl_Throwable(message, cause) { + $c_jl_Throwable.prototype.init___T__jl_Throwable.call(this, message, cause); + return this + }; +} +const $d_sjsr_UndefinedBehaviorError = new $TypeData().initClass({ + sjsr_UndefinedBehaviorError: 0 +}, false, "scala.scalajs.runtime.UndefinedBehaviorError", { + sjsr_UndefinedBehaviorError: 1, + jl_Error: 1, + jl_Throwable: 1, + O: 1, + Ljava_io_Serializable: 1, + s_util_control_ControlThrowable: 1, + s_util_control_NoStackTrace: 1 +}); +$c_sjsr_UndefinedBehaviorError.prototype.$classData = $d_sjsr_UndefinedBehaviorError; +class $c_sc_IndexedSeqLike$Elements extends $c_sc_AbstractIterator { + constructor() { + super(); + this.end$2 = 0; + this.index$2 = 0; + this.$$outer$2 = null + }; + next__O() { + if ((this.index$2 >= this.end$2)) { + $m_sc_Iterator$().empty$1.next__O() + }; + const x = this.$$outer$2.apply__I__O(this.index$2); + this.index$2 = ((1 + this.index$2) | 0); + return x + }; + init___sc_IndexedSeqLike__I__I($$outer, start, end) { + this.end$2 = end; + if (($$outer === null)) { + throw $m_sjsr_package$().unwrapJavaScriptException__jl_Throwable__O(null) + } else { + this.$$outer$2 = $$outer + }; + this.index$2 = start; + return this + }; + hasNext__Z() { + return (this.index$2 < this.end$2) + }; +} +const $d_sc_IndexedSeqLike$Elements = new $TypeData().initClass({ + sc_IndexedSeqLike$Elements: 0 +}, false, "scala.collection.IndexedSeqLike$Elements", { + sc_IndexedSeqLike$Elements: 1, + sc_AbstractIterator: 1, + O: 1, + sc_Iterator: 1, + sc_TraversableOnce: 1, + sc_GenTraversableOnce: 1, + sc_BufferedIterator: 1, + s_Serializable: 1, + Ljava_io_Serializable: 1 +}); +$c_sc_IndexedSeqLike$Elements.prototype.$classData = $d_sc_IndexedSeqLike$Elements; +class $c_sjs_js_JavaScriptException extends $c_jl_RuntimeException { + constructor() { + super(); + this.exception$4 = null + }; + productPrefix__T() { + return "JavaScriptException" + }; + productArity__I() { + return 1 + }; + fillInStackTrace__jl_Throwable() { + const e = this.exception$4; + this.stackdata = e; + return this + }; + productElement__I__O(x$1) { + switch (x$1) { + case 0: { + return this.exception$4; + break + } + default: { + throw new $c_jl_IndexOutOfBoundsException().init___T(("" + x$1)) + } + } + }; + getMessage__T() { + return $objectToString(this.exception$4) + }; + init___O(exception) { + this.exception$4 = exception; + $c_jl_Throwable.prototype.init___T__jl_Throwable.call(this, null, null); + return this + }; + hashCode__I() { + const this$2 = $m_s_util_hashing_MurmurHash3$(); + return this$2.productHash__s_Product__I__I(this, (-889275714)) + }; + productIterator__sc_Iterator() { + return new $c_sr_ScalaRunTime$$anon$1().init___s_Product(this) + }; +} +const $is_sjs_js_JavaScriptException = (function(obj) { + return (!(!((obj && obj.$classData) && obj.$classData.ancestors.sjs_js_JavaScriptException))) +}); +const $as_sjs_js_JavaScriptException = (function(obj) { + return (($is_sjs_js_JavaScriptException(obj) || (obj === null)) ? obj : $throwClassCastException(obj, "scala.scalajs.js.JavaScriptException")) +}); +const $isArrayOf_sjs_js_JavaScriptException = (function(obj, depth) { + return (!(!(((obj && obj.$classData) && (obj.$classData.arrayDepth === depth)) && obj.$classData.arrayBase.ancestors.sjs_js_JavaScriptException))) +}); +const $asArrayOf_sjs_js_JavaScriptException = (function(obj, depth) { + return (($isArrayOf_sjs_js_JavaScriptException(obj, depth) || (obj === null)) ? obj : $throwArrayCastException(obj, "Lscala.scalajs.js.JavaScriptException;", depth)) +}); +const $d_sjs_js_JavaScriptException = new $TypeData().initClass({ + sjs_js_JavaScriptException: 0 +}, false, "scala.scalajs.js.JavaScriptException", { + sjs_js_JavaScriptException: 1, + jl_RuntimeException: 1, + jl_Exception: 1, + jl_Throwable: 1, + O: 1, + Ljava_io_Serializable: 1, + s_Product: 1, + s_Equals: 1, + s_Serializable: 1 +}); +$c_sjs_js_JavaScriptException.prototype.$classData = $d_sjs_js_JavaScriptException; +class $c_sc_AbstractTraversable extends $c_O { + repr__O() { + return this + }; + stringPrefix__T() { + return $f_sc_TraversableLike__stringPrefix__T(this) + }; +} +const $f_sc_IndexedSeqOptimized__foreach__F1__V = (function($thiz, f) { + let i = 0; + const len = $thiz.length__I(); + while ((i < len)) { + f.apply__O__O($thiz.apply__I__O(i)); + i = ((1 + i) | 0) + } +}); +class $c_sc_AbstractIterable extends $c_sc_AbstractTraversable { +} +const $is_sc_Seq = (function(obj) { + return (!(!((obj && obj.$classData) && obj.$classData.ancestors.sc_Seq))) +}); +const $as_sc_Seq = (function(obj) { + return (($is_sc_Seq(obj) || (obj === null)) ? obj : $throwClassCastException(obj, "scala.collection.Seq")) +}); +const $isArrayOf_sc_Seq = (function(obj, depth) { + return (!(!(((obj && obj.$classData) && (obj.$classData.arrayDepth === depth)) && obj.$classData.arrayBase.ancestors.sc_Seq))) +}); +const $asArrayOf_sc_Seq = (function(obj, depth) { + return (($isArrayOf_sc_Seq(obj, depth) || (obj === null)) ? obj : $throwArrayCastException(obj, "Lscala.collection.Seq;", depth)) +}); +const $is_sjs_js_ArrayOps = (function(obj) { + return (!(!((obj && obj.$classData) && obj.$classData.ancestors.sjs_js_ArrayOps))) +}); +const $as_sjs_js_ArrayOps = (function(obj) { + return (($is_sjs_js_ArrayOps(obj) || (obj === null)) ? obj : $throwClassCastException(obj, "scala.scalajs.js.ArrayOps")) +}); +const $isArrayOf_sjs_js_ArrayOps = (function(obj, depth) { + return (!(!(((obj && obj.$classData) && (obj.$classData.arrayDepth === depth)) && obj.$classData.arrayBase.ancestors.sjs_js_ArrayOps))) +}); +const $asArrayOf_sjs_js_ArrayOps = (function(obj, depth) { + return (($isArrayOf_sjs_js_ArrayOps(obj, depth) || (obj === null)) ? obj : $throwArrayCastException(obj, "Lscala.scalajs.js.ArrayOps;", depth)) +}); +class $c_sc_AbstractSeq extends $c_sc_AbstractIterable { + toString__T() { + return $f_sc_TraversableLike__toString__T(this) + }; +} +class $c_scm_AbstractSeq extends $c_sc_AbstractSeq { +} +const $is_sci_List = (function(obj) { + return (!(!((obj && obj.$classData) && obj.$classData.ancestors.sci_List))) +}); +const $as_sci_List = (function(obj) { + return (($is_sci_List(obj) || (obj === null)) ? obj : $throwClassCastException(obj, "scala.collection.immutable.List")) +}); +const $isArrayOf_sci_List = (function(obj, depth) { + return (!(!(((obj && obj.$classData) && (obj.$classData.arrayDepth === depth)) && obj.$classData.arrayBase.ancestors.sci_List))) +}); +const $asArrayOf_sci_List = (function(obj, depth) { + return (($isArrayOf_sci_List(obj, depth) || (obj === null)) ? obj : $throwArrayCastException(obj, "Lscala.collection.immutable.List;", depth)) +}); +class $c_scm_AbstractBuffer extends $c_scm_AbstractSeq { +} +class $c_scm_StringBuilder extends $c_scm_AbstractSeq { + constructor() { + super(); + this.underlying$5 = null + }; + init___() { + $c_scm_StringBuilder.prototype.init___I__T.call(this, 16, ""); + return this + }; + apply__I__O(idx) { + const c = this.underlying$5.charAt__I__C(idx); + return new $c_jl_Character().init___C(c) + }; + apply__O__O(v1) { + const index = $uI(v1); + const c = this.underlying$5.charAt__I__C(index); + return new $c_jl_Character().init___C(c) + }; + toString__T() { + return this.underlying$5.java$lang$StringBuilder$$content$f + }; + foreach__F1__V(f) { + $f_sc_IndexedSeqOptimized__foreach__F1__V(this, f) + }; + append__T__scm_StringBuilder(s) { + const this$1 = this.underlying$5; + this$1.java$lang$StringBuilder$$content$f = (("" + this$1.java$lang$StringBuilder$$content$f) + s); + return this + }; + init___I__T(initCapacity, initValue) { + const this$2 = new $c_jl_StringBuilder().init___I((($uI(initValue.length) + initCapacity) | 0)); + this$2.java$lang$StringBuilder$$content$f = (("" + this$2.java$lang$StringBuilder$$content$f) + initValue); + $c_scm_StringBuilder.prototype.init___jl_StringBuilder.call(this, this$2); + return this + }; + length__I() { + return this.underlying$5.length__I() + }; + init___jl_StringBuilder(underlying) { + this.underlying$5 = underlying; + return this + }; + append__O__scm_StringBuilder(x) { + const this$2 = this.underlying$5; + const str = ("" + x); + this$2.java$lang$StringBuilder$$content$f = (this$2.java$lang$StringBuilder$$content$f + str); + return this + }; + hashCode__I() { + return $m_s_util_hashing_MurmurHash3$().seqHash__sc_Seq__I(this) + }; +} +const $d_scm_StringBuilder = new $TypeData().initClass({ + scm_StringBuilder: 0 +}, false, "scala.collection.mutable.StringBuilder", { + scm_StringBuilder: 1, + scm_AbstractSeq: 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, + scm_Seq: 1, + scm_Iterable: 1, + scm_Traversable: 1, + s_Mutable: 1, + scm_SeqLike: 1, + scm_Cloneable: 1, + s_Cloneable: 1, + jl_Cloneable: 1, + jl_CharSequence: 1, + scm_IndexedSeq: 1, + sc_IndexedSeq: 1, + sc_IndexedSeqLike: 1, + scm_IndexedSeqLike: 1, + sci_StringLike: 1, + sc_IndexedSeqOptimized: 1, + s_math_Ordered: 1, + jl_Comparable: 1, + scm_ReusableBuilder: 1, + scm_Builder: 1, + scg_Growable: 1, + scg_Clearable: 1, + s_Serializable: 1, + Ljava_io_Serializable: 1 +}); +$c_scm_StringBuilder.prototype.$classData = $d_scm_StringBuilder; +class $c_sjs_js_WrappedArray extends $c_scm_AbstractBuffer { + constructor() { + super(); + this.array$6 = null + }; + apply__I__O(index) { + return this.array$6[index] + }; + apply__O__O(v1) { + const index = $uI(v1); + return this.array$6[index] + }; + foreach__F1__V(f) { + $f_sc_IndexedSeqOptimized__foreach__F1__V(this, f) + }; + length__I() { + return $uI(this.array$6.length) + }; + hashCode__I() { + return $m_s_util_hashing_MurmurHash3$().seqHash__sc_Seq__I(this) + }; + init___sjs_js_Array(array) { + this.array$6 = array; + return this + }; + stringPrefix__T() { + return "WrappedArray" + }; +} +const $is_sjs_js_WrappedArray = (function(obj) { + return (!(!((obj && obj.$classData) && obj.$classData.ancestors.sjs_js_WrappedArray))) +}); +const $as_sjs_js_WrappedArray = (function(obj) { + return (($is_sjs_js_WrappedArray(obj) || (obj === null)) ? obj : $throwClassCastException(obj, "scala.scalajs.js.WrappedArray")) +}); +const $isArrayOf_sjs_js_WrappedArray = (function(obj, depth) { + return (!(!(((obj && obj.$classData) && (obj.$classData.arrayDepth === depth)) && obj.$classData.arrayBase.ancestors.sjs_js_WrappedArray))) +}); +const $asArrayOf_sjs_js_WrappedArray = (function(obj, depth) { + return (($isArrayOf_sjs_js_WrappedArray(obj, depth) || (obj === null)) ? obj : $throwArrayCastException(obj, "Lscala.scalajs.js.WrappedArray;", depth)) +}); +const $d_sjs_js_WrappedArray = new $TypeData().initClass({ + sjs_js_WrappedArray: 0 +}, false, "scala.scalajs.js.WrappedArray", { + sjs_js_WrappedArray: 1, + scm_AbstractBuffer: 1, + scm_AbstractSeq: 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, + scm_Seq: 1, + scm_Iterable: 1, + scm_Traversable: 1, + s_Mutable: 1, + scm_SeqLike: 1, + scm_Cloneable: 1, + s_Cloneable: 1, + jl_Cloneable: 1, + scm_Buffer: 1, + scm_BufferLike: 1, + scg_Growable: 1, + scg_Clearable: 1, + scg_Shrinkable: 1, + sc_script_Scriptable: 1, + scg_Subtractable: 1, + scm_IndexedSeq: 1, + sc_IndexedSeq: 1, + sc_IndexedSeqLike: 1, + scm_IndexedSeqLike: 1, + scm_ArrayLike: 1, + scm_IndexedSeqOptimized: 1, + sc_IndexedSeqOptimized: 1, + scm_Builder: 1 +}); +$c_sjs_js_WrappedArray.prototype.$classData = $d_sjs_js_WrappedArray; +$m_Lorg_scalalang_FunctionsApp$().main__AT__V($makeNativeArrayWrapper($d_T.getArrayOf(), [])); +}).call(this); +//# sourceMappingURL=scala-functions.js.map diff --git a/resources/js/scala-functions.js.map b/resources/js/scala-functions.js.map new file mode 100644 index 000000000..62976f22b --- /dev/null +++ b/resources/js/scala-functions.js.map @@ -0,0 +1,8 @@ +{ +"version": 3, +"file": "scala-functions.js", +"mappings": ";;AAAA,2B;AACA,2B;AACA,6B;AACA,G;A;AAEA,uC;AACA,uC;AACA,wC;A;A;A;A;A;AAMA,2B;AACA,oF;A;AAEA,e;AACA,U;AACA,wD;AACA,oB;AACA,8F;AACA,oB;A;AAEA,wB;A;A;A;AAIA,U;AACA,4E;AACA,oC;A;AAEA,8B;A;AAEA,8B;AACA,6B;A;AAEA,wE;AACA,sB;AACA,kB;AACA,gB;A;A;A;A;AAKA,uB;A;A;A;A;A;A;A;A;AASA,+B;A;A;A;A;A;A;A;A;A;A;AAWA,oB;A;A;A;A;A;AAMA,0B;A;A;A;A;AAKA,2B;A;AAEA,I;A;AAEA,sB;A;A;A;AAIA,4B;AACA,oB;AACA,E;AACA,qC;AACA,kD;A;AAEA,sC;A;A;AAGA,iC;AACA,qC;AACA,mC;A;A;A;A;A;A;A;A;A;A;A;A;A;A;A;A;A;A;A;A;A;A;A;A;A;A;A;A;A;A;A;A;A;A;A;A;A;A;A;AAwCA,e;A;A;A;A;A;A;A;A;A;A;A;A;A;A;A;A;A;A;A;A;AAqBA,gE;A;AAEA,2C;A;A;A;A;A;AAMA,iB;A;AAEA,yD;AACA,+B;AACA,sC;AACA,8C;AACA,oD;AACA,G;AACA,E;A;A;AAGA,kF;AACA,+B;AACA,2D;AACA,iB;AACA,Q;AACA,6D;AACA,G;AACA,E;A;A;AAGA,mD;AACA,W;AACA,qC;AACA,a;AACA,iB;AACA,6E;AACA,oE;AACA,e;AACA,I;AACA,qC;AACA,yB;AACA,gB;AACA,E;A;AAEA,oB;A;AAEA,wC;AACA,mC;AACA,E;A;A;AAGA,oE;A;A;A;A;AAKA,iE;AACA,4C;AACA,6D;A;AAEA,E;A;AAEA,mF;AACA,wB;AACA,wD;AACA,4D;AACA,E;A;A;A;AAIA,0D;AACA,6C;A;A;A;AAIA,iE;AACA,8D;A;AAEA,E;A;A;AAGA,0C;AACA,4B;AACA,8E;AACA,E;A;AAEA,uE;AACA,gD;AACA,E;A;AAEA,2D;AACA,6D;AACA,E;A;AAEA,gF;AACA,iE;A;AAEA,uC;AACA,2D;AACA,yC;AACA,gC;AACA,iD;AACA,8C;AACA,oD;AACA,K;AACA,G;A;AAEA,gB;AACA,E;A;AAEA,4C;AACA,0B;AACA,uB;AACA,M;AACA,+B;AACA,E;A;AAEA,4C;AACA,4B;AACA,kB;AACA,+B;AACA,oB;AACA,6B;AACA,qD;AACA,uB;AACA,yC;AACA,6B;AACA,0C;AACA,Y;AACA,4C;AACA,c;AACA,+B;AACA,0C;AACA,Y;AACA,2C;AACA,O;AACA,K;AACA,mB;AACA,wC;AACA,qB;AACA,0C;AACA,Y;AACA,4B;AACA,6C;AACA,8C;AACA,uC;AACA,0C;AACA,gD;AACA,U;AACA,kC;AACA,G;AACA,E;A;AAEA,yC;AACA,wD;AACA,+B;AACA,M;AACA,2D;AACA,E;A;AAEA,0C;AACA,wC;AACA,wB;AACA,yB;AACA,E;A;AAEA,6C;AACA,wC;AACA,wB;AACA,4B;AACA,E;A;AAEA,4C;AACA,wD;AACA,2B;AACA,e;AACA,E;A;AAEA,+C;AACA,wD;AACA,sC;AACA,wC;AACA,mE;AACA,M;AACA,4B;AACA,E;A;AAEA,0C;AACA,0B;AACA,qC;AACA,gC;AACA,O;AACA,yB;AACA,kC;AACA,I;AACA,E;A;AAEA,4C;AACA,4B;AACA,kB;AACA,+D;AACA,kB;AACA,4D;AACA,mB;AACA,oC;AACA,qB;AACA,e;AACA,Y;AACA,0D;AACA,sC;A;A;A;A;AAKA,U;AACA,iD;AACA,G;AACA,E;A;AAEA,sD;AACA,4B;AACA,kB;A;AAEA,iB;A;AAEA,8D;AACA,kB;A;AAEA,yB;A;AAEA,6D;AACA,mB;A;AAEA,sB;A;AAEA,gE;AACA,Y;AACA,2C;AACA,G;AACA,E;A;AAEA,gD;AACA,oC;A;AAEA,mC;A;A;A;AAIA,M;AACA,gC;AACA,E;A;AAEA,uD;AACA,oC;A;AAEA,uD;A;A;A;AAIA,M;AACA,wC;AACA,E;A;AAEA,iE;AACA,oC;A;AAEA,oD;A;A;A;AAIA,M;AACA,mE;AACA,E;A;AAEA,iD;AACA,qD;AACA,uE;AACA,E;A;AAEA,6C;AACA,kE;AACA,mE;AACA,E;AACA,8C;AACA,kE;AACA,oE;AACA,E;AACA,4C;AACA,wD;AACA,kE;AACA,E;AACA,6C;AACA,mC;AACA,4E;AACA,M;AACA,mC;AACA,E;AACA,8C;AACA,6D;AACA,oE;AACA,E;AACA,+C;AACA,oD;AACA,qE;AACA,E;A;AAEA,mC;AACA,+B;AACA,E;A;AAEA,wC;AACA,wD;AACA,E;A;AAEA,kC;AACA,uF;AACA,E;A;AAEA,2E;AACA,sD;AACA,oE;AACA,0D;AACA,+C;AACA,0B;AACA,kF;AACA,sB;AACA,Y;AACA,iD;AACA,G;AACA,E;A;AAEA,2D;AACA,wD;AACA,4E;A;AAEA,gD;AACA,+B;AACA,gE;AACA,wB;AACA,kB;AACA,4C;AACA,G;A;AAEA,gB;AACA,E;A;AAEA,0D;AACA,wD;AACA,wB;AACA,+B;AACA,0B;AACA,kC;AACA,Q;AACA,2B;AACA,G;AACA,gB;AACA,E;A;AAEA,iE;AACA,wD;AACA,wB;AACA,+B;AACA,4B;AACA,kC;AACA,oB;AACA,K;AACA,G;AACA,uE;AACA,E;A;A;A;A;A;A;A;AAQA,qC;AACA,oB;AACA,yB;AACA,yB;AACA,gB;AACA,E;A;AAEA,uE;AACA,qB;AACA,uB;A;A;AAGA,gD;AACA,gD;AACA,kD;AACA,+C;AACA,G;A;A;AAGA,kF;AACA,gD;AACA,wD;AACA,U;AACA,2D;AACA,wD;AACA,G;AACA,E;A;AAEA,+B;A;A;A;AAIA,kB;AACA,yB;AACA,qE;AACA,oC;AACA,c;AACA,2B;AACA,mB;AACA,gB;AACA,gD;AACA,gC;AACA,yC;AACA,+B;AACA,6C;AACA,W;AACA,sB;AACA,S;AACA,K;A;A;A;A;A;A;A;A;A;A;A;A;A;A;A;A;A;A;A;A;A;AAsBA,K;A;AAEA,0D;A;AAEA,6B;AACA,wE;AACA,E;A;AAEA,8B;AACA,wE;AACA,E;A;AAEA,4B;AACA,gE;AACA,E;A;AAEA,8B;A;A;A;AAIA,+B;A;AAEA,E;A;A;AAGA,6B;AACA,iC;AACA,a;AACA,M;AACA,2D;AACA,E;A;AAEA,gC;AACA,2C;AACA,a;AACA,M;AACA,qD;AACA,E;A;AAEA,6B;AACA,+B;AACA,a;AACA,M;AACA,kD;AACA,E;A;AAEA,8B;AACA,gC;AACA,a;AACA,M;AACA,mD;AACA,E;A;AAEA,4B;AACA,8B;AACA,a;AACA,M;AACA,qD;AACA,E;A;AAEA,8B;AACA,gC;AACA,a;AACA,M;AACA,mD;AACA,E;A;AAEA,+B;AACA,0C;AACA,a;AACA,M;AACA,oD;AACA,E;A;A;AAGA,U;A;A;AAGA,6B;AACA,6B;AACA,E;AACA,6B;AACA,4B;AACA,E;AACA,6B;AACA,6B;AACA,E;AACA,6B;AACA,2B;AACA,E;AACA,6B;AACA,uD;AACA,sD;AACA,E;AACA,6B;AACA,yE;AACA,uD;AACA,K;AACA,0B;AACA,E;AACA,6B;AACA,2B;AACA,E;A;A;A;A;A;A;AAOA,wB;A;AAEA,uF;AACA,yF;AACA,yF;AACA,uF;AACA,2F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C,iBAAA;EAAA5E,kBAAA;EAAAC,qBAAA;EAAA4E,qBAAA;EAAAC,iBAAA;EAAAC,iBAAA;EAAAC,8BAAA;EAAAC,WAAA;EAAAC,cAAA;EAAAC,kBAAA;EAAAC,eAAA;EAAApY,QAAA;EAAAwW,MAAA;EAAA6B,iBAAA;EAAAvO,EAAA;EAAAwO,SAAA;EAAAC,aAAA;EAAAC,UAAA;EAAAC,OAAA;EAAAC,YAAA;EAAAC,eAAA;EAAAC,SAAA;EAAAC,WAAA;EAAAC,aAAA;EAAAC,WAAA;EAAAC,YAAA;EAAAe,UAAA;EAAAC,cAAA;EAAAN,YAAA;EAAAC,aAAA;EAAAM,cAAA;EAAAC,oBAAA;EAAAC,gBAAA;EAAAlB,cAAA;EAAAC,aAAA;EAAAC,iBAAA;EAAAC,kBAAA;EAAAgB,aAAA;EAAAC,uBAAA;EAAAf,sBAAA;EAAAG,WAAA;E;AAAA,uBAAAlkB,SAAA,CAAA1B,UAAA,yB;;;;", +"sources": ["https://raw.githubusercontent.com/scala-js/scala-js/v0.6.24/tools/scalajsenv.js", "file:///Users/dylan.owen/code/scala-lang/js-src/functions/src/main/scala/org/scalalang/utils/OS.scala", "https://raw.githubusercontent.com/scala-js/scala-js/v0.6.24/library/src/main/scala/scala/scalajs/js/JSNumberOps.scala", "https://raw.githubusercontent.com/scala-js/scala-js/v0.6.24/javalanglib/src/main/scala/java/lang/Integer.scala", "file:///home/jducoeur/GitHub/jquery-facade/src/main/scala/org/querki/jquery/package.scala", "https://raw.githubusercontent.com/scala-js/scala-js/v0.6.24/library/src/main/scala/scala/scalajs/js/Union.scala", "https://raw.githubusercontent.com/scala-js/scala-js-dom/v0.9.3/src/main/scala/org/scalajs/dom/package.scala", "https://raw.githubusercontent.com/scala-js/scala-js/v0.6.24/library/src/main/scala/scala/scalajs/js/Dynamic.scala", "file:///Users/dylan.owen/code/scala-lang/js-src/functions/src/main/scala/org/scalalang/DownloadLinks.scala", "file:///Users/dylan.owen/code/scala-lang/js-src/functions/src/main/scala/org/scalalang/utils/Logger.scala", "file:///Users/dylan.owen/code/scala-lang/js-src/functions/src/main/scala/org/scalalang/utils/JsUtils.scala", "https://raw.githubusercontent.com/scala/scala/v2.12.6/src/library/scala/Option.scala", "file:///Users/dylan.owen/code/scala-lang/js-src/functions/src/main/scala/org/scalalang/FunctionsApp.scala", "https://raw.githubusercontent.com/scala-js/scala-js/v0.6.24/library/src/main/scala-old-collections/scala/scalajs/runtime/Compat.scala", "https://raw.githubusercontent.com/scala-js/scala-js/v0.6.24/library/src/main/scala/scala/scalajs/runtime/package.scala", "https://raw.githubusercontent.com/scala-js/scala-js/v0.6.24/library/src/main/scala-old-collections/scala/scalajs/js/ArrayOps.scala", "https://raw.githubusercontent.com/scala-js/scala-js/v0.6.24/library/src/main/scala-old-collections/scala/scalajs/js/WrappedArray.scala", "file:///Users/dylan.owen/code/scala-lang/js-src/functions/src/main/scala/org/scalalang/PositionMarker.scala", "https://raw.githubusercontent.com/scala/scala/v2.12.6/src/library/scala/Function0.scala", "https://raw.githubusercontent.com/scala-js/scala-js/v0.6.24/scalalib/overrides-2.12/scala/reflect/ClassTag.scala", "https://raw.githubusercontent.com/scala-js/scala-js/v0.6.24/library-aux/src/main/scala/scala/runtime/RefTypes.scala", "https://raw.githubusercontent.com/scala-js/scala-js/v0.6.24/scalalib/overrides/scala/Array.scala", "https://raw.githubusercontent.com/scala/scala/v2.12.6/src/library/scala/collection/IndexedSeqLike.scala", "https://raw.githubusercontent.com/scala/scala/v2.12.6/src/library/scala/collection/Iterator.scala", "https://raw.githubusercontent.com/scala/scala/v2.12.6/src/library/scala/collection/IndexedSeqOptimized.scala", "https://raw.githubusercontent.com/scala/scala/v2.12.6/src/library/scala/collection/mutable/ArrayOps.scala", "https://raw.githubusercontent.com/scala-js/scala-js/v0.6.24/library/src/main/scala/scala/scalajs/runtime/RuntimeString.scala", "https://raw.githubusercontent.com/scala-js/scala-js/v0.6.24/library/src/main/scala/scala/scalajs/js/JSStringOps.scala", "https://raw.githubusercontent.com/scala-js/scala-js/v0.6.24/library/src/main/scala-old-collections/scala/scalajs/js/Any.scala", "https://raw.githubusercontent.com/scala-js/scala-js/v0.6.24/javalanglib/src/main/scala/java/lang/Class.scala", "https://raw.githubusercontent.com/scala/scala/v2.12.6/src/library/scala/Product.scala", "https://raw.githubusercontent.com/scala/scala/v2.12.6/src/library/scala/util/hashing/MurmurHash3.scala", "https://raw.githubusercontent.com/scala/scala/v2.12.6/src/library/scala/collection/TraversableOnce.scala", "https://raw.githubusercontent.com/scala/scala/v2.12.6/src/library/scala/collection/mutable/StringBuilder.scala", "https://raw.githubusercontent.com/scala-js/scala-js/v0.6.24/javalanglib/src/main/scala/java/lang/StringBuilder.scala", "https://raw.githubusercontent.com/scala-js/scala-js/v0.6.24/library/src/main/scala/scala/scalajs/runtime/Bits.scala", "https://raw.githubusercontent.com/scala-js/scala-js/v0.6.24/library/src/main/scala/scala/scalajs/runtime/RuntimeLong.scala", "https://raw.githubusercontent.com/scala-js/scala-js/v0.6.24/library/src/main/scala/scala/scalajs/js/JavaScriptException.scala", "https://raw.githubusercontent.com/scala-js/scala-js/v0.6.24/scalalib/overrides/scala/runtime/ScalaRunTime.scala", "https://raw.githubusercontent.com/scala-js/scala-js/v0.6.24/library-aux/src/main/scala/scala/runtime/Statics.scala", "https://raw.githubusercontent.com/scala-js/scala-js/v0.6.24/javalanglib/src/main/scala/java/lang/Double.scala", "https://raw.githubusercontent.com/scala-js/scala-js/v0.6.24/javalanglib/src/main/scala/java/lang/Number.scala", "https://raw.githubusercontent.com/scala-js/scala-js/v0.6.24/javalanglib/src/main/scala/java/lang/Throwables.scala", "https://raw.githubusercontent.com/scala-js/scala-js/v0.6.24/library/src/main/scala/scala/scalajs/runtime/StackTrace.scala", "https://raw.githubusercontent.com/scala-js/scala-js/v0.6.24/library/src/main/scala/scala/scalajs/js/package.scala", "https://raw.githubusercontent.com/scala/scala/v2.12.6/src/library/scala/runtime/AbstractFunction0.scala", "https://raw.githubusercontent.com/scala/scala/v2.12.6/src/library/scala/runtime/AbstractFunction1.scala", "https://raw.githubusercontent.com/scala/scala/v2.12.6/src/library/scala/Function1.scala", "https://raw.githubusercontent.com/scala/scala/v2.12.6/src/library/scala/runtime/AbstractFunction2.scala", "https://raw.githubusercontent.com/scala/scala/v2.12.6/src/library/scala/Function2.scala", "https://raw.githubusercontent.com/scala-js/scala-js/v0.6.24/javalanglib/src/main/scala/java/lang/Boolean.scala", "https://raw.githubusercontent.com/scala-js/scala-js/v0.6.24/library-aux/src/main/scala/scala/runtime/BoxedUnit.scala", "https://raw.githubusercontent.com/scala-js/scala-js/v0.6.24/javalanglib/src/main/scala/java/lang/Character.scala", "https://raw.githubusercontent.com/scala-js/scala-js/v0.6.24/library/src/main/scala/scala/scalajs/runtime/AnonFunctions.scala", "https://raw.githubusercontent.com/scala-js/scala-js/v0.6.24/javalanglib/src/main/scala/java/lang/Byte.scala", "https://raw.githubusercontent.com/scala-js/scala-js/v0.6.24/javalanglib/src/main/scala/java/lang/Float.scala", "https://raw.githubusercontent.com/scala-js/scala-js/v0.6.24/javalanglib/src/main/scala/java/lang/Long.scala", "https://raw.githubusercontent.com/scala-js/scala-js/v0.6.24/javalanglib/src/main/scala/java/lang/Short.scala", "https://raw.githubusercontent.com/scala-js/scala-js/v0.6.24/javalib/src/main/scala/java/util/Throwables.scala", "https://raw.githubusercontent.com/scala/scala/v2.12.6/src/library/scala/collection/TraversableLike.scala", "https://raw.githubusercontent.com/scala-js/scala-js/v0.6.24/library/src/main/scala/scala/scalajs/runtime/UndefinedBehaviorError.scala", "https://raw.githubusercontent.com/scala/scala/v2.12.6/src/library/scala/collection/Traversable.scala", "https://raw.githubusercontent.com/scala/scala/v2.12.6/src/library/scala/collection/Iterable.scala", "https://raw.githubusercontent.com/scala/scala/v2.12.6/src/library/scala/collection/Seq.scala", "https://raw.githubusercontent.com/scala/scala/v2.12.6/src/library/scala/collection/SeqLike.scala", "https://raw.githubusercontent.com/scala/scala/v2.12.6/src/library/scala/collection/mutable/Seq.scala", "https://raw.githubusercontent.com/scala/scala/v2.12.6/src/library/scala/collection/immutable/List.scala", "https://raw.githubusercontent.com/scala-js/scala-js/v0.6.24/scalalib/overrides-2.12/scala/collection/mutable/Buffer.scala"], +"names": ["obj", "$classData", "ancestors", "Lorg_scalalang_utils_OS", "$throwClassCastException", "depth", "arrayDepth", "arrayBase", "$throwArrayCastException", "x", "$uD", "toString", "constructor", "$ ", "__", "$g", "$", "f02EventHandler__F0__sjs_js_$bar", "func", "a", "f", "apply__O", "$TypeData", "initClass", "org.querki.jquery.package", "Lorg_querki_jquery_package$", "O", "prototype", "init___", "ApplicationCache ", "Blob ", "BlobPropertyBag ", "ClipboardEventInit ", "DOMException ", "Event ", "EventException ", "EventSource ", "FileReader ", "FormData ", "KeyboardEvent ", "MediaError ", "MutationEvent ", "MutationObserverInit ", "Node ", "NodeFilter ", "PerformanceNavigation ", "PositionError ", "Range ", "TextEvent ", "TextTrack ", "URL ", "VisibilityState ", "WebSocket ", "WheelEvent ", "XMLHttpRequest ", "XPathResult ", "window ", "document ", "console ", "bitmap$0", "console$lzycompute__Lorg_scalajs_dom_raw_Console", "window__Lorg_scalajs_dom_raw_Window", "console", "document__Lorg_scalajs_dom_raw_HTMLDocument", "document$lzycompute__Lorg_scalajs_dom_raw_HTMLDocument", "window$lzycompute__Lorg_scalajs_dom_raw_Window", "window", "document", "console__Lorg_scalajs_dom_raw_Console", "org.scalajs.dom.package", "Lorg_scalajs_dom_package$", "logger ", "apply__T__Lorg_scalalang_utils_LoggerUtil__Lorg_scalalang_utils_Logger", "getClassOf", "getName__T", "setupMainDownload__V", "this", "apply__O__s_Option", "isEmpty__Z", "arg1", "get__O", "$uI", "length", "osLabel", "apply__Lorg_scalalang_utils_OS", "label__T", "text", "intelliJlink", "sbtLink", "html", "stepOneContent", "attr", "apply__V", "setupBinariesElement__V", "os", "anchor", "getElementById", "x$2", "link", "getAttribute", "addClass", "org.scalalang.DownloadLinks", "Lorg_scalalang_DownloadLinks$", "logLevel ", "Trace ", "$anonfun$main$1__O", "message", "__sjs_js_Function0", "array", "optionalMessages", "__sjs_js_Array", "internalLog__F2__I__F0__sc_Seq__V", "__sjs_js_Function2", "message$2", "optionalParams", "log", "x2", "x3", "array ", "result", "foreach__F1__V", "__sjs_js_Function1", "push", "concat", "apply", "main__AT__V", "args", "ready", "org.scalalang.FunctionsApp", "Lorg_scalalang_FunctionsApp$", "imageWidth ", "targetX ", "targetY ", "updatePointer__Lorg_querki_jquery_JQuery__F0", "pointer", "windowWidth", "width", "xScale", "$doubleToInt", "css", "updater", "resize", "org.scalalang.PositionMarker", "Lorg_scalalang_PositionMarker$", "prefix", "parentLogger", "__T__Lorg_scalalang_utils_LoggerUtil", "org.scalalang.utils.Logger", "Lorg_scalalang_utils_Logger$", "Error ", "Warn ", "Info ", "Debug ", "org.scalalang.utils.Logger$Level", "Lorg_scalalang_utils_Logger$Level$", "appVersion", "navigator", "default", "xs", "len", "$newArrayObject", "getArrayOf", "elem ", "__sc_IndexedSeqLike__I__I", "hasNext__Z", "next__O", "set", "start", "end", "u", "z", "temp$start", "index", "arg2", "get", "last", "s", "navigator__T", "temp$z", "indexOf", "info", "org.scalalang.utils.OS", "Lorg_scalalang_utils_OS$", "data", "name", "isPrimitive__Z", "$uZ", "isPrimitive", "toString__T", "isInterface__Z", "__jl_ScalaJSClassData", "isInterface", "java.lang.Class", "jl_Class", "scala.Product", "s_Product", "s_Equals", "mixLast__I__I__I", "hash", "k", "$imul", "i", "mix__I__I__I", "h", "avalanche__I__I", "productHash__s_Product__I__I", "seed", "arr", "productArity__I", "productPrefix__T", "productElement__I__O", "finalizeHash__I__I__I", "orderedHash__sc_TraversableOnce__I__I", "n", "__I", "elem", "listHash__sci_List__I__I", "empty ", "scala.collection.Iterator", "sc_Iterator$", "mkString__T__T__T__T", "sep", "b", "addString__scm_StringBuilder__T__T__T__scm_StringBuilder", "underlying ", "content", "first", "__Z", "append__T__scm_StringBuilder", "append__O__scm_StringBuilder", "_areTypedArraysSupported", "arrayBuffer ", "int32Array ", "float32Array ", "float64Array ", "areTypedArraysBigEndian ", "highOffset ", "lowOffset ", "ArrayBuffer", "Int32Array", "Float32Array", "Float64Array", "$uB", "Int8Array", "numberHashCode__D__I", "value", "iv", "t", "doubleToLongBits__D__J", "lo", "lo ", "hi", "hi ", "init___I__I", "scala.scalajs.runtime.Bits", "sjsr_Bits$", "scala.scalajs.runtime.Compat", "sjsr_Compat$", "CASE_INSENSITIVE_ORDER ", "hashCode__T__I", "thiz", "res", "mul", "charCodeAt", "scala.scalajs.runtime.RuntimeString", "sjsr_RuntimeString$", "unwrapJavaScriptException__jl_Throwable__O", "th", "e", "exception ", "wrapJavaScriptException__O__jl_Throwable", "__O", "scala.scalajs.runtime.package", "sjsr_package$", "_toString__s_Product__T", "productIterator__sc_Iterator", "scala.runtime.ScalaRunTime", "sr_ScalaRunTime$", "doubleHash__D__I", "dv", "fromDoubleImpl__D__I", "hiReturn", "toDouble__I__I__D", "anyHash__O__I", "$uJ", "longHash__J__I", "$objectHashCode", "lv", "scala.runtime.Statics", "sr_Statics$", "parentLogger ", "logger", "level", "lazyMessage", "Lorg_scalalang_utils_Logger", "Lorg_scalalang_utils_LoggerUtil", "apply__O__O__O", "org.scalalang.utils.RootLogger", "Lorg_scalalang_utils_RootLogger$", "e ", "stackTrace", "fillInStackTrace__jl_Throwable", "v", "Error", "captureStackTrace", "undef", "x5", "stackdata", "getMessage__T", "className", "__T__jl_Throwable", "jl_Throwable", "seqSeed ", "mapSeed ", "setSeed ", "seqHash__sc_Seq__I", "scala.util.hashing.MurmurHash3", "s_util_hashing_MurmurHash3$", "s_util_hashing_MurmurHash3", "apply__O__O", "scala.runtime.BooleanRef", "sr_BooleanRef", "Ljava_io_Serializable", "scala.runtime.BoxedUnit", "sr_BoxedUnit", "scala.runtime.IntRef", "sr_IntRef", "java.lang.Boolean", "jl_Boolean", "jl_Comparable", "value ", "c", "String", "fromCharCode", "__C", "hashCode__I", "java.lang.Character", "jl_Character", "doubleStrPat ", "doubleStrHexPat ", "compare__D__D__I", "ainf", "java.lang.Double", "jl_Double$", "s_Serializable", "scala.Option", "s_Option$", "scala.scalajs.runtime.AnonFunction0", "sjsr_AnonFunction0", "sr_AbstractFunction0", "F0", "scala.scalajs.runtime.AnonFunction1", "sjsr_AnonFunction1", "sr_AbstractFunction1", "F1", "scala.scalajs.runtime.AnonFunction2", "sjsr_AnonFunction2", "sr_AbstractFunction2", "F2", "Zero ", "__I__I", "Zero__sjsr_RuntimeLong", "toUnsignedString__I__I__T", "unsignedDivModHelper__I__I__I__I__I__sjs_js_$bar", "divideImpl__I__I__I__I__I", "alo", "ahi", "blo", "bhi", "__T", "neg", "abs.lo ", "abs.hi ", "jsx$1.lo ", "jsx$1.hi ", "jsx$2.lo ", "jsx$2.hi ", "jsx$3.lo ", "jsx$3.hi ", "jsx$4.lo ", "jsx$4.hi ", "absRLo", "unsigned_/__I__I__I__I__I", "fromDouble__D__sjsr_RuntimeLong", "rawLo", "rawHi", "aDouble", "bDouble", "rDouble", "pow", "$clz32", "toString__I__I__T", "compare__I__I__I__I__I", "ask", "shift", "bShiftLo", "bShiftHi", "remLo", "remHi", "quotLo", "quotHi", "remDouble", "rem_mod_bDouble", "quot", "remStr", "substring", "remainderImpl__I__I__I__I__I", "unsigned_%__I__I__I__I__I", "scala.scalajs.runtime.RuntimeLong", "sjsr_RuntimeLong$", "java.lang.Byte", "jl_Byte", "jl_Number", "$isByte", "call", "java.lang.CloneNotSupportedException", "jl_CloneNotSupportedException", "jl_Exception", "jl_Double", "java.lang.Float", "jl_Float", "$isFloat", "java.lang.Integer", "jl_Integer", "$isInt", "jl_Long", "java.lang.Long", "java.lang.Short", "jl_Short", "$isShort", "initialCapacity", "length__I", "charAt__I__C", "java.lang.StringBuilder", "jl_StringBuilder", "jl_CharSequence", "jl_Appendable", "longValue__J", "|__sjsr_RuntimeLong__sjsr_RuntimeLong", ">=__sjsr_RuntimeLong__Z", "byteValue__B", "equals__O__Z", "that", "<__sjsr_RuntimeLong__Z", "*__sjsr_RuntimeLong__sjsr_RuntimeLong", "a0", "a1", "b0", "b1", "a0b0", "a1b0", "a0b1", "c1part", "__I__I__I", "l", "m", "%__sjsr_RuntimeLong__sjsr_RuntimeLong", "compareTo__O__I", "x$1", "<=__sjsr_RuntimeLong__Z", "&__sjsr_RuntimeLong__sjsr_RuntimeLong", ">>>__I__sjsr_RuntimeLong", ">__sjsr_RuntimeLong__Z", "<<__I__sjsr_RuntimeLong", "toInt__I", "notEquals__sjsr_RuntimeLong__Z", "unary_-__sjsr_RuntimeLong", "+__sjsr_RuntimeLong__sjsr_RuntimeLong", "shortValue__S", ">>__I__sjsr_RuntimeLong", "toDouble__D", "/__sjsr_RuntimeLong__sjsr_RuntimeLong", "doubleValue__D", "intValue__I", "unary_~__sjsr_RuntimeLong", "compareTo__jl_Long__I", "floatValue__F", "$fround", "-__sjsr_RuntimeLong__sjsr_RuntimeLong", "^__sjsr_RuntimeLong__sjsr_RuntimeLong", "equals__sjsr_RuntimeLong__Z", "sjsr_RuntimeLong", "java.lang.ArithmeticException", "jl_ArithmeticException", "jl_RuntimeException", "java.lang.ClassCastException", "jl_ClassCastException", "java.lang.IndexOutOfBoundsException", "jl_IndexOutOfBoundsException", "java.lang.NegativeArraySizeException", "jl_NegativeArraySizeException", "java.lang.NullPointerException", "jl_NullPointerException", "java.util.NoSuchElementException", "ju_NoSuchElementException", "next__sr_Nothing$", "scala.collection.Iterator$$anon$2", "sc_Iterator$$anon$2", "sc_AbstractIterator", "sc_Iterator", "sc_TraversableOnce", "sc_GenTraversableOnce", "c ", "cmax ", "__s_Product", "scala.runtime.ScalaRunTime$$anon$1", "sr_ScalaRunTime$$anon$1", "navigator ", "label ", "org.scalalang.utils.OS$Linux", "Lorg_scalalang_utils_OS$Linux$", "org.scalalang.utils.OS$Mac", "Lorg_scalalang_utils_OS$Mac$", "org.scalalang.utils.OS$Unix", "Lorg_scalalang_utils_OS$Unix$", "org.scalalang.utils.OS$Windows", "Lorg_scalalang_utils_OS$Windows$", "java.lang.ArrayIndexOutOfBoundsException", "jl_ArrayIndexOutOfBoundsException", "get__sr_Nothing$", "scala.None", "s_None$", "s_Option", "scala.Some", "s_Some", "isPartLikelySynthetic$1__T__I__Z", "fqn$1", "partStart$1", "firstChar", "stringPrefix__T", "repr__O", "fqn", "pos", "partEnd", "lastNonDigit", "partStart", "atEnd", "part", "__jl_Throwable", "cause", "scala.scalajs.runtime.UndefinedBehaviorError", "sjsr_UndefinedBehaviorError", "jl_Error", "s_util_control_ControlThrowable", "s_util_control_NoStackTrace", "index ", "$outer ", "apply__I__O", "$outer", "scala.collection.IndexedSeqLike$Elements", "sc_IndexedSeqLike$Elements", "sc_BufferedIterator", "$objectToString", "exception", "sjs_js_JavaScriptException", "scala.scalajs.js.JavaScriptException", "sc_Seq", "sjs_js_ArrayOps", "sci_List", "__I__T", "idx", "v1", "initCapacity", "initValue", "__jl_StringBuilder", "underlying", "str", "scala.collection.mutable.StringBuilder", "scm_StringBuilder", "scm_AbstractSeq", "sc_AbstractSeq", "sc_AbstractIterable", "sc_AbstractTraversable", "sc_Traversable", "sc_TraversableLike", "scg_HasNewBuilder", "scg_FilterMonadic", "sc_GenTraversableLike", "sc_Parallelizable", "sc_GenTraversable", "scg_GenericTraversableTemplate", "sc_Iterable", "sc_GenIterable", "sc_GenIterableLike", "sc_IterableLike", "s_PartialFunction", "sc_GenSeq", "sc_GenSeqLike", "sc_SeqLike", "scm_Seq", "scm_Iterable", "scm_Traversable", "s_Mutable", "scm_SeqLike", "scm_Cloneable", "s_Cloneable", "jl_Cloneable", "scm_IndexedSeq", "sc_IndexedSeq", "sc_IndexedSeqLike", "scm_IndexedSeqLike", "sci_StringLike", "sc_IndexedSeqOptimized", "s_math_Ordered", "scm_ReusableBuilder", "scm_Builder", "scg_Growable", "scg_Clearable", "sjs_js_WrappedArray", "scala.scalajs.js.WrappedArray", "scm_AbstractBuffer", "scm_Buffer", "scm_BufferLike", "scg_Shrinkable", "sc_script_Scriptable", "scg_Subtractable", "scm_ArrayLike", "scm_IndexedSeqOptimized"], +"lineCount": 4135 +} From 7a868f8b275458df76e5510533520b1adf8fdac3 Mon Sep 17 00:00:00 2001 From: Dylan Owen Date: Sun, 15 Jul 2018 22:05:15 -0700 Subject: [PATCH 2/7] cleaned up things and added the tooltips --- js-src/functions/build.sbt | 3 +- .../scala/org/scalalang/DownloadLinks.scala | 5 - .../scala/org/scalalang/FunctionsApp.scala | 4 +- .../scala/org/scalalang/PositionMarker.scala | 3 - .../main/scala/org/scalalang/Tooltip.scala | 40 + .../scala/org/scalalang/utils/JsUtils.scala | 6 - .../scala/org/scalalang/utils/Logger.scala | 5 +- .../main/scala/org/scalalang/utils/OS.scala | 7 +- resources/js/functions.js | 23 - resources/js/scala-functions.js | 4208 +---------------- resources/js/scala-functions.js.map | 8 - 11 files changed, 120 insertions(+), 4192 deletions(-) create mode 100644 js-src/functions/src/main/scala/org/scalalang/Tooltip.scala delete mode 100644 resources/js/scala-functions.js.map diff --git a/js-src/functions/build.sbt b/js-src/functions/build.sbt index 68480d9d8..b3224dae8 100644 --- a/js-src/functions/build.sbt +++ b/js-src/functions/build.sbt @@ -12,6 +12,7 @@ libraryDependencies ++= Seq( // move our output folder to static artifactPath in(Compile, fastOptJS) := baseDirectory.value / ".." / ".." / "resources" / "js" / s"scala-${name.value}.js" artifactPath in(Compile, fullOptJS) := baseDirectory.value / ".." / ".." / "resources" / "js" / s"scala-${name.value}.js" +scalaJSOptimizerOptions in (Compile, fullOptJS) ~= { _.withUseClosureCompiler(true) } scalaJSUseMainModuleInitializer := true -scalaJSOutputMode := OutputMode.ECMAScript6 \ No newline at end of file +emitSourceMaps := false \ No newline at end of file diff --git a/js-src/functions/src/main/scala/org/scalalang/DownloadLinks.scala b/js-src/functions/src/main/scala/org/scalalang/DownloadLinks.scala index 08a696aa1..e24962a09 100644 --- a/js-src/functions/src/main/scala/org/scalalang/DownloadLinks.scala +++ b/js-src/functions/src/main/scala/org/scalalang/DownloadLinks.scala @@ -6,14 +6,9 @@ import org.scalalang.utils.{JsUtils, Logger, OS} /** * This updates our download links based on the OS of the client - * - * @author dylan.owen - * @since Jul-2018 */ object DownloadLinks { - private val logger: Logger = Logger[DownloadLinks.type] - def apply(): Unit = { setupBinariesElement() setupMainDownload() diff --git a/js-src/functions/src/main/scala/org/scalalang/FunctionsApp.scala b/js-src/functions/src/main/scala/org/scalalang/FunctionsApp.scala index cc670a403..8a9756fc9 100644 --- a/js-src/functions/src/main/scala/org/scalalang/FunctionsApp.scala +++ b/js-src/functions/src/main/scala/org/scalalang/FunctionsApp.scala @@ -6,9 +6,6 @@ import org.scalalang.utils.{Logger, RootLogger} /** * This is the main entry point for our application - * - * @author dylan.owen - * @since Jul-2018 */ object FunctionsApp { RootLogger.setTrace() @@ -19,6 +16,7 @@ object FunctionsApp { $(document).ready(() => { logger.trace("Dom Ready") + Tooltip() DownloadLinks() PositionMarker() }) diff --git a/js-src/functions/src/main/scala/org/scalalang/PositionMarker.scala b/js-src/functions/src/main/scala/org/scalalang/PositionMarker.scala index 1fd53e75d..9658f4065 100644 --- a/js-src/functions/src/main/scala/org/scalalang/PositionMarker.scala +++ b/js-src/functions/src/main/scala/org/scalalang/PositionMarker.scala @@ -6,9 +6,6 @@ import org.scalalang.utils.JsUtils /** * This renders / updates the position marker on the front page - * - * @author dylan.owen - * @since Jul-2018 */ object PositionMarker { diff --git a/js-src/functions/src/main/scala/org/scalalang/Tooltip.scala b/js-src/functions/src/main/scala/org/scalalang/Tooltip.scala new file mode 100644 index 000000000..80a954da3 --- /dev/null +++ b/js-src/functions/src/main/scala/org/scalalang/Tooltip.scala @@ -0,0 +1,40 @@ +package org.scalalang + +import org.querki.jquery._ +import org.scalajs.dom.Element + +import scala.scalajs.js + +/** + * This renders tooltips for any .masterTooltip class element + */ +object Tooltip { + def apply(): Unit = { + $(".masterTooltip") + .hover( + (tooltip: Element) => { + // make sure we have a title + $(tooltip).attr("title").toOption.foreach((title: String) => { + // create our tooltip and place it on the body + $("

") + .text(title) + .appendTo("body") + .fadeIn("slow") + }) + }, + () => { + // remove our tooltip when we mouse off + $(".tooltip").remove() + } + ) + .mousemove((e: JQueryEventObject) => { + val mouseX: Int = e.pageX + 20 //Get X coordinates + val mouseY: Int = e.pageY + 10 //Get Y coordinates + + $(".tooltip").css(js.Dictionary[js.Any]( + "left" -> mouseX, + "top" -> mouseY + )) + }) + } +} diff --git a/js-src/functions/src/main/scala/org/scalalang/utils/JsUtils.scala b/js-src/functions/src/main/scala/org/scalalang/utils/JsUtils.scala index 3ebd46d05..e34651f1f 100644 --- a/js-src/functions/src/main/scala/org/scalalang/utils/JsUtils.scala +++ b/js-src/functions/src/main/scala/org/scalalang/utils/JsUtils.scala @@ -2,12 +2,6 @@ package org.scalalang.utils import org.querki.jquery._ -/** - * TODO add description - * - * @author dylan.owen - * @since Feb-2017 - */ object JsUtils { /** * @param element the element we wish to find diff --git a/js-src/functions/src/main/scala/org/scalalang/utils/Logger.scala b/js-src/functions/src/main/scala/org/scalalang/utils/Logger.scala index 1c71b08de..ee040f4c3 100644 --- a/js-src/functions/src/main/scala/org/scalalang/utils/Logger.scala +++ b/js-src/functions/src/main/scala/org/scalalang/utils/Logger.scala @@ -6,10 +6,7 @@ import scala.reflect.ClassTag import scala.scalajs.js /** - * TODO add description - * - * @author dylan.owen - * @since Mar-2017 + * A basic logger for the debugging console */ object Logger { diff --git a/js-src/functions/src/main/scala/org/scalalang/utils/OS.scala b/js-src/functions/src/main/scala/org/scalalang/utils/OS.scala index 00d906c65..7218ea0b5 100644 --- a/js-src/functions/src/main/scala/org/scalalang/utils/OS.scala +++ b/js-src/functions/src/main/scala/org/scalalang/utils/OS.scala @@ -3,10 +3,7 @@ package org.scalalang.utils import org.scalajs.dom.window /** - * TODO add description - * - * @author dylan.owen - * @since Jul-2018 + * Find which OS our client is running */ sealed trait OS { val navigator: String @@ -51,7 +48,7 @@ object OS { } }) - logger.info("OS: " + os) + logger.trace("OS: " + os) os } diff --git a/resources/js/functions.js b/resources/js/functions.js index db6c33c8e..4faa11ef6 100644 --- a/resources/js/functions.js +++ b/resources/js/functions.js @@ -35,29 +35,6 @@ $(document).ready(function() { }); }); -// Tooltip -$(document).ready(function() { - // Tooltip only Text - $('.masterTooltip').hover(function(){ - // Hover over code - var title = $(this).attr('title'); - $(this).data('tipText', title).removeAttr('title'); - $('

') - .text(title) - .appendTo('body') - .fadeIn('slow'); - }, function() { - // Hover out code - $(this).attr('title', $(this).data('tipText')); - $('.tooltip').remove(); - }).mousemove(function(e) { - var mousex = e.pageX + 20; //Get X coordinates - var mousey = e.pageY + 10; //Get Y coordinates - $('.tooltip') - .css({ top: mousey, left: mousex }) - }); -}); - // Highlight $(document).ready(function() { hljs.configure({ diff --git a/resources/js/scala-functions.js b/resources/js/scala-functions.js index c74dce531..e3cd0157e 100644 --- a/resources/js/scala-functions.js +++ b/resources/js/scala-functions.js @@ -1,4135 +1,75 @@ -(function(){ -'use strict'; -/* Scala.js runtime support - * Copyright 2013 LAMP/EPFL - * Author: Sébastien Doeraene - */ - -/* ---------------------------------- * - * The top-level Scala.js environment * - * ---------------------------------- */ - - - - - -// Get the environment info -const $env = (typeof __ScalaJSEnv === "object" && __ScalaJSEnv) ? __ScalaJSEnv : {}; - -// Global scope -const $g = - (typeof $env["global"] === "object" && $env["global"]) - ? $env["global"] - : ((typeof global === "object" && global && global["Object"] === Object) ? global : this); -$env["global"] = $g; - -// Where to send exports - - - -const $e = - (typeof $env["exportsNamespace"] === "object" && $env["exportsNamespace"]) - ? $env["exportsNamespace"] : $g; - -$env["exportsNamespace"] = $e; - -// Freeze the environment info -$g["Object"]["freeze"]($env); - -// Linking info - must be in sync with scala.scalajs.runtime.LinkingInfo -const $linkingInfo = { - "envInfo": $env, - "semantics": { - - - - - "asInstanceOfs": 1, - - - - - - - - - "arrayIndexOutOfBounds": 1, - - - - - - - - - - - "moduleInit": 2, - - - - - - "strictFloats": false, - - - - - "productionMode": false - - }, - - "assumingES6": true, - - - - "linkerVersion": "0.6.24", - "globalThis": this -}; -$g["Object"]["freeze"]($linkingInfo); -$g["Object"]["freeze"]($linkingInfo["semantics"]); - -// Snapshots of builtins and polyfills - - -const $imul = $g["Math"]["imul"]; -const $fround = $g["Math"]["fround"]; -const $clz32 = $g["Math"]["clz32"]; - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -// Other fields - - - - - - - - - - - - - - - - - - - - -let $lastIDHash = 0; // last value attributed to an id hash code - -const $idHashCodeMap = new $g["WeakMap"](); - - - - - -// Core mechanism - -const $makeIsArrayOfPrimitive = function(primitiveData) { - return function(obj, depth) { - return !!(obj && obj.$classData && - (obj.$classData.arrayDepth === depth) && - (obj.$classData.arrayBase === primitiveData)); - } -}; - - -const $makeAsArrayOfPrimitive = function(isInstanceOfFunction, arrayEncodedName) { - return function(obj, depth) { - if (isInstanceOfFunction(obj, depth) || (obj === null)) - return obj; - else - $throwArrayCastException(obj, arrayEncodedName, depth); - } -}; - - -/** Encode a property name for runtime manipulation - * Usage: - * env.propertyName({someProp:0}) - * Returns: - * "someProp" - * Useful when the property is renamed by a global optimizer (like Closure) - * but we must still get hold of a string of that name for runtime - * reflection. - */ -const $propertyName = function(obj) { - for (const prop in obj) - return prop; -}; - -// Runtime functions - -const $isScalaJSObject = function(obj) { - return !!(obj && obj.$classData); -}; - - -const $throwClassCastException = function(instance, classFullName) { - - - - - throw new $c_sjsr_UndefinedBehaviorError().init___jl_Throwable( - new $c_jl_ClassCastException().init___T( - instance + " is not an instance of " + classFullName)); - -}; - -const $throwArrayCastException = function(instance, classArrayEncodedName, depth) { - for (; depth; --depth) - classArrayEncodedName = "[" + classArrayEncodedName; - $throwClassCastException(instance, classArrayEncodedName); -}; - - - -const $throwArrayIndexOutOfBoundsException = function(i) { - const msg = (i === null) ? null : ("" + i); - - - - throw new $c_sjsr_UndefinedBehaviorError().init___jl_Throwable( - new $c_jl_ArrayIndexOutOfBoundsException().init___T(msg)); - -}; - - -const $noIsInstance = function(instance) { - throw new $g["TypeError"]( - "Cannot call isInstance() on a Class representing a raw JS trait/object"); -}; - -const $makeNativeArrayWrapper = function(arrayClassData, nativeArray) { - return new arrayClassData.constr(nativeArray); -}; - -const $newArrayObject = function(arrayClassData, lengths) { - return $newArrayObjectInternal(arrayClassData, lengths, 0); -}; - -const $newArrayObjectInternal = function(arrayClassData, lengths, lengthIndex) { - const result = new arrayClassData.constr(lengths[lengthIndex]); - - if (lengthIndex < lengths.length-1) { - const subArrayClassData = arrayClassData.componentData; - const subLengthIndex = lengthIndex+1; - const underlying = result.u; - for (let i = 0; i < underlying.length; i++) { - underlying[i] = $newArrayObjectInternal( - subArrayClassData, lengths, subLengthIndex); - } - } - - return result; -}; - -const $objectToString = function(instance) { - if (instance === void 0) - return "undefined"; - else - return instance.toString(); -}; - -const $objectGetClass = function(instance) { - switch (typeof instance) { - case "string": - return $d_T.getClassOf(); - case "number": { - const v = instance | 0; - if (v === instance) { // is the value integral? - if ($isByte(v)) - return $d_jl_Byte.getClassOf(); - else if ($isShort(v)) - return $d_jl_Short.getClassOf(); - else - return $d_jl_Integer.getClassOf(); - } else { - if ($isFloat(instance)) - return $d_jl_Float.getClassOf(); - else - return $d_jl_Double.getClassOf(); - } - } - case "boolean": - return $d_jl_Boolean.getClassOf(); - case "undefined": - return $d_sr_BoxedUnit.getClassOf(); - default: - if (instance === null) - return instance.getClass__jl_Class(); - else if ($is_sjsr_RuntimeLong(instance)) - return $d_jl_Long.getClassOf(); - else if ($isScalaJSObject(instance)) - return instance.$classData.getClassOf(); - else - return null; // Exception? - } -}; - -const $objectClone = function(instance) { - if ($isScalaJSObject(instance) || (instance === null)) - return instance.clone__O(); - else - throw new $c_jl_CloneNotSupportedException().init___(); -}; - -const $objectNotify = function(instance) { - // final and no-op in java.lang.Object - if (instance === null) - instance.notify__V(); -}; - -const $objectNotifyAll = function(instance) { - // final and no-op in java.lang.Object - if (instance === null) - instance.notifyAll__V(); -}; - -const $objectFinalize = function(instance) { - if ($isScalaJSObject(instance) || (instance === null)) - instance.finalize__V(); - // else no-op -}; - -const $objectEquals = function(instance, rhs) { - if ($isScalaJSObject(instance) || (instance === null)) - return instance.equals__O__Z(rhs); - else if (typeof instance === "number") - return typeof rhs === "number" && $numberEquals(instance, rhs); - else - return instance === rhs; -}; - -const $numberEquals = function(lhs, rhs) { - return (lhs === rhs) ? ( - // 0.0.equals(-0.0) must be false - lhs !== 0 || 1/lhs === 1/rhs - ) : ( - // are they both NaN? - (lhs !== lhs) && (rhs !== rhs) - ); -}; - -const $objectHashCode = function(instance) { - switch (typeof instance) { - case "string": - return $m_sjsr_RuntimeString$().hashCode__T__I(instance); - case "number": - return $m_sjsr_Bits$().numberHashCode__D__I(instance); - case "boolean": - return instance ? 1231 : 1237; - case "undefined": - return 0; - default: - if ($isScalaJSObject(instance) || instance === null) - return instance.hashCode__I(); - - - - - else - return $systemIdentityHashCode(instance); - } -}; - -const $comparableCompareTo = function(instance, rhs) { - switch (typeof instance) { - case "string": - - $as_T(rhs); - - return instance === rhs ? 0 : (instance < rhs ? -1 : 1); - case "number": - - $as_jl_Number(rhs); - - return $m_jl_Double$().compare__D__D__I(instance, rhs); - case "boolean": - - $asBoolean(rhs); - - return instance - rhs; // yes, this gives the right result - default: - return instance.compareTo__O__I(rhs); - } -}; - -const $charSequenceLength = function(instance) { - if (typeof(instance) === "string") - - return $uI(instance["length"]); - - - - else - return instance.length__I(); -}; - -const $charSequenceCharAt = function(instance, index) { - if (typeof(instance) === "string") - - return $uI(instance["charCodeAt"](index)) & 0xffff; - - - - else - return instance.charAt__I__C(index); -}; - -const $charSequenceSubSequence = function(instance, start, end) { - if (typeof(instance) === "string") - - return $as_T(instance["substring"](start, end)); - - - - else - return instance.subSequence__I__I__jl_CharSequence(start, end); -}; - -const $booleanBooleanValue = function(instance) { - if (typeof instance === "boolean") return instance; - else return instance.booleanValue__Z(); -}; - -const $numberByteValue = function(instance) { - if (typeof instance === "number") return (instance << 24) >> 24; - else return instance.byteValue__B(); -}; -const $numberShortValue = function(instance) { - if (typeof instance === "number") return (instance << 16) >> 16; - else return instance.shortValue__S(); -}; -const $numberIntValue = function(instance) { - if (typeof instance === "number") return instance | 0; - else return instance.intValue__I(); -}; -const $numberLongValue = function(instance) { - if (typeof instance === "number") - return $m_sjsr_RuntimeLong$().fromDouble__D__sjsr_RuntimeLong(instance); - else - return instance.longValue__J(); -}; -const $numberFloatValue = function(instance) { - if (typeof instance === "number") return $fround(instance); - else return instance.floatValue__F(); -}; -const $numberDoubleValue = function(instance) { - if (typeof instance === "number") return instance; - else return instance.doubleValue__D(); -}; - -const $isNaN = function(instance) { - return instance !== instance; -}; - -const $isInfinite = function(instance) { - return !$g["isFinite"](instance) && !$isNaN(instance); -}; - -const $doubleToInt = function(x) { - return (x > 2147483647) ? (2147483647) : ((x < -2147483648) ? -2147483648 : (x | 0)); -}; - -/** Instantiates a JS object with variadic arguments to the constructor. */ -const $newJSObjectWithVarargs = function(ctor, args) { - // This basically emulates the ECMAScript specification for 'new'. - const instance = $g["Object"]["create"](ctor.prototype); - const result = ctor["apply"](instance, args); - switch (typeof result) { - case "string": case "number": case "boolean": case "undefined": case "symbol": - return instance; - default: - return result === null ? instance : result; - } -}; - -const $resolveSuperRef = function(initialProto, propName) { - const getPrototypeOf = $g["Object"]["getPrototypeOf"]; - const getOwnPropertyDescriptor = $g["Object"]["getOwnPropertyDescriptor"]; - - let superProto = getPrototypeOf(initialProto); - while (superProto !== null) { - const desc = getOwnPropertyDescriptor(superProto, propName); - if (desc !== void 0) - return desc; - superProto = getPrototypeOf(superProto); - } - - return void 0; -}; - -const $superGet = function(initialProto, self, propName) { - const desc = $resolveSuperRef(initialProto, propName); - if (desc !== void 0) { - const getter = desc["get"]; - if (getter !== void 0) - return getter["call"](self); - else - return desc["value"]; - } - return void 0; -}; - -const $superSet = function(initialProto, self, propName, value) { - const desc = $resolveSuperRef(initialProto, propName); - if (desc !== void 0) { - const setter = desc["set"]; - if (setter !== void 0) { - setter["call"](self, value); - return void 0; - } - } - throw new $g["TypeError"]("super has no setter '" + propName + "'."); -}; - - - - - - - -const $propertiesOf = function(obj) { - const result = []; - for (const prop in obj) - result["push"](prop); - return result; -}; - -const $systemArraycopy = function(src, srcPos, dest, destPos, length) { - const srcu = src.u; - const destu = dest.u; - - - if (srcPos < 0 || destPos < 0 || length < 0 || - (srcPos > ((srcu.length - length) | 0)) || - (destPos > ((destu.length - length) | 0))) { - $throwArrayIndexOutOfBoundsException(null); - } - - - if (srcu !== destu || destPos < srcPos || (((srcPos + length) | 0) < destPos)) { - for (let i = 0; i < length; i = (i + 1) | 0) - destu[(destPos + i) | 0] = srcu[(srcPos + i) | 0]; - } else { - for (let i = (length - 1) | 0; i >= 0; i = (i - 1) | 0) - destu[(destPos + i) | 0] = srcu[(srcPos + i) | 0]; - } -}; - -const $systemIdentityHashCode = - - - - (function(obj) { - switch (typeof obj) { - case "string": case "number": case "boolean": case "undefined": - return $objectHashCode(obj); - default: - if (obj === null) { - return 0; - } else { - let hash = $idHashCodeMap["get"](obj); - if (hash === void 0) { - hash = ($lastIDHash + 1) | 0; - $lastIDHash = hash; - $idHashCodeMap["set"](obj, hash); - } - return hash; - } - } - - - - - - - - - - - - - - - - - - - - - - }); - -// is/as for hijacked boxed classes (the non-trivial ones) - -const $isByte = function(v) { - return typeof v === "number" && (v << 24 >> 24) === v && 1/v !== 1/-0; -}; - -const $isShort = function(v) { - return typeof v === "number" && (v << 16 >> 16) === v && 1/v !== 1/-0; -}; - -const $isInt = function(v) { - return typeof v === "number" && (v | 0) === v && 1/v !== 1/-0; -}; - -const $isFloat = function(v) { - - - - return typeof v === "number"; - -}; - - -const $asUnit = function(v) { - if (v === void 0 || v === null) - return v; - else - $throwClassCastException(v, "scala.runtime.BoxedUnit"); -}; - -const $asBoolean = function(v) { - if (typeof v === "boolean" || v === null) - return v; - else - $throwClassCastException(v, "java.lang.Boolean"); -}; - -const $asByte = function(v) { - if ($isByte(v) || v === null) - return v; - else - $throwClassCastException(v, "java.lang.Byte"); -}; - -const $asShort = function(v) { - if ($isShort(v) || v === null) - return v; - else - $throwClassCastException(v, "java.lang.Short"); -}; - -const $asInt = function(v) { - if ($isInt(v) || v === null) - return v; - else - $throwClassCastException(v, "java.lang.Integer"); -}; - -const $asFloat = function(v) { - if ($isFloat(v) || v === null) - return v; - else - $throwClassCastException(v, "java.lang.Float"); -}; - -const $asDouble = function(v) { - if (typeof v === "number" || v === null) - return v; - else - $throwClassCastException(v, "java.lang.Double"); -}; - - -// Unboxes - - -const $uZ = function(value) { - return !!$asBoolean(value); -}; -const $uB = function(value) { - return $asByte(value) | 0; -}; -const $uS = function(value) { - return $asShort(value) | 0; -}; -const $uI = function(value) { - return $asInt(value) | 0; -}; -const $uJ = function(value) { - return null === value ? $m_sjsr_RuntimeLong$().Zero$1 - : $as_sjsr_RuntimeLong(value); -}; -const $uF = function(value) { - /* Here, it is fine to use + instead of fround, because asFloat already - * ensures that the result is either null or a float. - */ - return +$asFloat(value); -}; -const $uD = function(value) { - return +$asDouble(value); -}; - - - - - - -// TypeArray conversions - -const $byteArray2TypedArray = function(value) { return new $g["Int8Array"](value.u); }; -const $shortArray2TypedArray = function(value) { return new $g["Int16Array"](value.u); }; -const $charArray2TypedArray = function(value) { return new $g["Uint16Array"](value.u); }; -const $intArray2TypedArray = function(value) { return new $g["Int32Array"](value.u); }; -const $floatArray2TypedArray = function(value) { return new $g["Float32Array"](value.u); }; -const $doubleArray2TypedArray = function(value) { return new $g["Float64Array"](value.u); }; - -const $typedArray2ByteArray = function(value) { - const arrayClassData = $d_B.getArrayOf(); - return new arrayClassData.constr(new $g["Int8Array"](value)); -}; -const $typedArray2ShortArray = function(value) { - const arrayClassData = $d_S.getArrayOf(); - return new arrayClassData.constr(new $g["Int16Array"](value)); -}; -const $typedArray2CharArray = function(value) { - const arrayClassData = $d_C.getArrayOf(); - return new arrayClassData.constr(new $g["Uint16Array"](value)); -}; -const $typedArray2IntArray = function(value) { - const arrayClassData = $d_I.getArrayOf(); - return new arrayClassData.constr(new $g["Int32Array"](value)); -}; -const $typedArray2FloatArray = function(value) { - const arrayClassData = $d_F.getArrayOf(); - return new arrayClassData.constr(new $g["Float32Array"](value)); -}; -const $typedArray2DoubleArray = function(value) { - const arrayClassData = $d_D.getArrayOf(); - return new arrayClassData.constr(new $g["Float64Array"](value)); -}; - -// TypeData class - - - - - -class $TypeData { -constructor() { - - // Runtime support - this.constr = void 0; - this.parentData = void 0; - this.ancestors = null; - this.componentData = null; - this.arrayBase = null; - this.arrayDepth = 0; - this.zero = null; - this.arrayEncodedName = ""; - this._classOf = void 0; - this._arrayOf = void 0; - this.isArrayOf = void 0; - - // java.lang.Class support - this["name"] = ""; - this["isPrimitive"] = false; - this["isInterface"] = false; - this["isArrayClass"] = false; - this["isRawJSType"] = false; - this["isInstance"] = void 0; -}; - - - - -initPrim( - - zero, arrayEncodedName, displayName) { - // Runtime support - this.ancestors = {}; - this.componentData = null; - this.zero = zero; - this.arrayEncodedName = arrayEncodedName; - this.isArrayOf = function(obj, depth) { return false; }; - - // java.lang.Class support - this["name"] = displayName; - this["isPrimitive"] = true; - this["isInstance"] = function(obj) { return false; }; - - return this; -}; - - - - -initClass( - - internalNameObj, isInterface, fullName, - ancestors, isRawJSType, parentData, isInstance, isArrayOf) { - const internalName = $propertyName(internalNameObj); - - isInstance = isInstance || function(obj) { - return !!(obj && obj.$classData && obj.$classData.ancestors[internalName]); - }; - - isArrayOf = isArrayOf || function(obj, depth) { - return !!(obj && obj.$classData && (obj.$classData.arrayDepth === depth) - && obj.$classData.arrayBase.ancestors[internalName]) - }; - - // Runtime support - this.parentData = parentData; - this.ancestors = ancestors; - this.arrayEncodedName = "L"+fullName+";"; - this.isArrayOf = isArrayOf; - - // java.lang.Class support - this["name"] = fullName; - this["isInterface"] = isInterface; - this["isRawJSType"] = !!isRawJSType; - this["isInstance"] = isInstance; - - return this; -}; - - - - -initArray( - - componentData) { - // The constructor - - const componentZero0 = componentData.zero; - - // The zero for the Long runtime representation - // is a special case here, since the class has not - // been defined yet, when this file is read - const componentZero = (componentZero0 == "longZero") - ? $m_sjsr_RuntimeLong$().Zero$1 - : componentZero0; - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - class ArrayClass extends $c_O { - constructor(arg) { - super(); - if (typeof(arg) === "number") { - // arg is the length of the array - this.u = new Array(arg); - for (let i = 0; i < arg; i++) - this.u[i] = componentZero; - } else { - // arg is a native array that we wrap - this.u = arg; - } - }; - - - get(i) { - if (i < 0 || i >= this.u.length) - $throwArrayIndexOutOfBoundsException(i); - return this.u[i]; - }; - set(i, v) { - if (i < 0 || i >= this.u.length) - $throwArrayIndexOutOfBoundsException(i); - this.u[i] = v; - }; - - - clone__O() { - if (this.u instanceof Array) - return new ArrayClass(this.u["slice"](0)); - else - // The underlying Array is a TypedArray - return new ArrayClass(new this.u.constructor(this.u)); - }; - }; - - - ArrayClass.prototype.$classData = this; - - // Don't generate reflective call proxies. The compiler special cases - // reflective calls to methods on scala.Array - - // The data - - const encodedName = "[" + componentData.arrayEncodedName; - const componentBase = componentData.arrayBase || componentData; - const arrayDepth = componentData.arrayDepth + 1; - - const isInstance = function(obj) { - return componentBase.isArrayOf(obj, arrayDepth); - } - - // Runtime support - this.constr = ArrayClass; - this.parentData = $d_O; - this.ancestors = {O: 1, jl_Cloneable: 1, Ljava_io_Serializable: 1}; - this.componentData = componentData; - this.arrayBase = componentBase; - this.arrayDepth = arrayDepth; - this.zero = null; - this.arrayEncodedName = encodedName; - this._classOf = undefined; - this._arrayOf = undefined; - this.isArrayOf = undefined; - - // java.lang.Class support - this["name"] = encodedName; - this["isPrimitive"] = false; - this["isInterface"] = false; - this["isArrayClass"] = true; - this["isInstance"] = isInstance; - - return this; -}; - - - - -getClassOf() { - - if (!this._classOf) - this._classOf = new $c_jl_Class().init___jl_ScalaJSClassData(this); - return this._classOf; -}; - - - - -getArrayOf() { - - if (!this._arrayOf) - this._arrayOf = new $TypeData().initArray(this); - return this._arrayOf; -}; - -// java.lang.Class support - - - - -"getFakeInstance"() { - - if (this === $d_T) - return "some string"; - else if (this === $d_jl_Boolean) - return false; - else if (this === $d_jl_Byte || - this === $d_jl_Short || - this === $d_jl_Integer || - this === $d_jl_Float || - this === $d_jl_Double) - return 0; - else if (this === $d_jl_Long) - return $m_sjsr_RuntimeLong$().Zero$1; - else if (this === $d_sr_BoxedUnit) - return void 0; - else - return {$classData: this}; -}; - - - - -"getSuperclass"() { - - return this.parentData ? this.parentData.getClassOf() : null; -}; - - - - -"getComponentType"() { - - return this.componentData ? this.componentData.getClassOf() : null; -}; - - - - -"newArrayOfThisClass"(lengths) { - - let arrayClassData = this; - for (let i = 0; i < lengths.length; i++) - arrayClassData = arrayClassData.getArrayOf(); - return $newArrayObject(arrayClassData, lengths); -}; - -}; - - -// Create primitive types - -const $d_V = new $TypeData().initPrim(undefined, "V", "void"); -const $d_Z = new $TypeData().initPrim(false, "Z", "boolean"); -const $d_C = new $TypeData().initPrim(0, "C", "char"); -const $d_B = new $TypeData().initPrim(0, "B", "byte"); -const $d_S = new $TypeData().initPrim(0, "S", "short"); -const $d_I = new $TypeData().initPrim(0, "I", "int"); -const $d_J = new $TypeData().initPrim("longZero", "J", "long"); -const $d_F = new $TypeData().initPrim(0.0, "F", "float"); -const $d_D = new $TypeData().initPrim(0.0, "D", "double"); - -// Instance tests for array of primitives - -const $isArrayOf_Z = $makeIsArrayOfPrimitive($d_Z); -$d_Z.isArrayOf = $isArrayOf_Z; - -const $isArrayOf_C = $makeIsArrayOfPrimitive($d_C); -$d_C.isArrayOf = $isArrayOf_C; - -const $isArrayOf_B = $makeIsArrayOfPrimitive($d_B); -$d_B.isArrayOf = $isArrayOf_B; - -const $isArrayOf_S = $makeIsArrayOfPrimitive($d_S); -$d_S.isArrayOf = $isArrayOf_S; - -const $isArrayOf_I = $makeIsArrayOfPrimitive($d_I); -$d_I.isArrayOf = $isArrayOf_I; - -const $isArrayOf_J = $makeIsArrayOfPrimitive($d_J); -$d_J.isArrayOf = $isArrayOf_J; - -const $isArrayOf_F = $makeIsArrayOfPrimitive($d_F); -$d_F.isArrayOf = $isArrayOf_F; - -const $isArrayOf_D = $makeIsArrayOfPrimitive($d_D); -$d_D.isArrayOf = $isArrayOf_D; - - -// asInstanceOfs for array of primitives -const $asArrayOf_Z = $makeAsArrayOfPrimitive($isArrayOf_Z, "Z"); -const $asArrayOf_C = $makeAsArrayOfPrimitive($isArrayOf_C, "C"); -const $asArrayOf_B = $makeAsArrayOfPrimitive($isArrayOf_B, "B"); -const $asArrayOf_S = $makeAsArrayOfPrimitive($isArrayOf_S, "S"); -const $asArrayOf_I = $makeAsArrayOfPrimitive($isArrayOf_I, "I"); -const $asArrayOf_J = $makeAsArrayOfPrimitive($isArrayOf_J, "J"); -const $asArrayOf_F = $makeAsArrayOfPrimitive($isArrayOf_F, "F"); -const $asArrayOf_D = $makeAsArrayOfPrimitive($isArrayOf_D, "D"); - -const $is_Lorg_scalalang_utils_OS = (function(obj) { - return (!(!((obj && obj.$classData) && obj.$classData.ancestors.Lorg_scalalang_utils_OS))) -}); -const $as_Lorg_scalalang_utils_OS = (function(obj) { - return (($is_Lorg_scalalang_utils_OS(obj) || (obj === null)) ? obj : $throwClassCastException(obj, "org.scalalang.utils.OS")) -}); -const $isArrayOf_Lorg_scalalang_utils_OS = (function(obj, depth) { - return (!(!(((obj && obj.$classData) && (obj.$classData.arrayDepth === depth)) && obj.$classData.arrayBase.ancestors.Lorg_scalalang_utils_OS))) -}); -const $asArrayOf_Lorg_scalalang_utils_OS = (function(obj, depth) { - return (($isArrayOf_Lorg_scalalang_utils_OS(obj, depth) || (obj === null)) ? obj : $throwArrayCastException(obj, "Lorg.scalalang.utils.OS;", depth)) -}); -class $c_O { - init___() { - return this - }; - toString__T() { - const jsx$2 = $objectGetClass(this).getName__T(); - const i = this.hashCode__I(); - const x = $uD((i >>> 0)); - const jsx$1 = x.toString(16); - return ((jsx$2 + "@") + $as_T(jsx$1)) - }; - hashCode__I() { - return $systemIdentityHashCode(this) - }; - "toString"() { - return this.toString__T() - }; -} -const $is_O = (function(obj) { - return (obj !== null) -}); -const $as_O = (function(obj) { - return obj -}); -const $isArrayOf_O = (function(obj, depth) { - const data = (obj && obj.$classData); - if ((!data)) { - return false - } else { - const arrayDepth = (data.arrayDepth || 0); - return ((!(arrayDepth < depth)) && ((arrayDepth > depth) || (!data.arrayBase.isPrimitive))) - } -}); -const $asArrayOf_O = (function(obj, depth) { - return (($isArrayOf_O(obj, depth) || (obj === null)) ? obj : $throwArrayCastException(obj, "Ljava.lang.Object;", depth)) -}); -const $d_O = new $TypeData().initClass({ - O: 0 -}, false, "java.lang.Object", { - O: 1 -}, (void 0), (void 0), $is_O, $isArrayOf_O); -$c_O.prototype.$classData = $d_O; -class $c_Lorg_querki_jquery_package$ extends $c_O { - constructor() { - super(); - this.$$$1 = null - }; - init___() { - $n_Lorg_querki_jquery_package$ = this; - this.$$$1 = $g.$; - return this - }; - f02EventHandler__F0__sjs_js_$bar(func) { - const a = (function(f) { - return (function() { - return f.apply__O() - }) - })(func); - return a - }; -} -const $d_Lorg_querki_jquery_package$ = new $TypeData().initClass({ - Lorg_querki_jquery_package$: 0 -}, false, "org.querki.jquery.package$", { - Lorg_querki_jquery_package$: 1, - O: 1 -}); -$c_Lorg_querki_jquery_package$.prototype.$classData = $d_Lorg_querki_jquery_package$; -let $n_Lorg_querki_jquery_package$ = (void 0); -const $m_Lorg_querki_jquery_package$ = (function() { - if ((!$n_Lorg_querki_jquery_package$)) { - $n_Lorg_querki_jquery_package$ = new $c_Lorg_querki_jquery_package$().init___() - }; - return $n_Lorg_querki_jquery_package$ -}); -class $c_Lorg_scalajs_dom_package$ extends $c_O { - constructor() { - super(); - this.ApplicationCache$1 = null; - this.Blob$1 = null; - this.BlobPropertyBag$1 = null; - this.ClipboardEventInit$1 = null; - this.DOMException$1 = null; - this.Event$1 = null; - this.EventException$1 = null; - this.EventSource$1 = null; - this.FileReader$1 = null; - this.FormData$1 = null; - this.KeyboardEvent$1 = null; - this.MediaError$1 = null; - this.MutationEvent$1 = null; - this.MutationObserverInit$1 = null; - this.Node$1 = null; - this.NodeFilter$1 = null; - this.PerformanceNavigation$1 = null; - this.PositionError$1 = null; - this.Range$1 = null; - this.TextEvent$1 = null; - this.TextTrack$1 = null; - this.URL$1 = null; - this.VisibilityState$1 = null; - this.WebSocket$1 = null; - this.WheelEvent$1 = null; - this.XMLHttpRequest$1 = null; - this.XPathResult$1 = null; - this.window$1 = null; - this.document$1 = null; - this.console$1 = null; - this.bitmap$0$1 = 0 - }; - init___() { - return this - }; - console$lzycompute__p1__Lorg_scalajs_dom_raw_Console() { - if (((536870912 & this.bitmap$0$1) === 0)) { - this.console$1 = this.window__Lorg_scalajs_dom_raw_Window().console; - this.bitmap$0$1 = (536870912 | this.bitmap$0$1) - }; - return this.console$1 - }; - document__Lorg_scalajs_dom_raw_HTMLDocument() { - return (((268435456 & this.bitmap$0$1) === 0) ? this.document$lzycompute__p1__Lorg_scalajs_dom_raw_HTMLDocument() : this.document$1) - }; - window__Lorg_scalajs_dom_raw_Window() { - return (((134217728 & this.bitmap$0$1) === 0) ? this.window$lzycompute__p1__Lorg_scalajs_dom_raw_Window() : this.window$1) - }; - window$lzycompute__p1__Lorg_scalajs_dom_raw_Window() { - if (((134217728 & this.bitmap$0$1) === 0)) { - this.window$1 = $g.window; - this.bitmap$0$1 = (134217728 | this.bitmap$0$1) - }; - return this.window$1 - }; - document$lzycompute__p1__Lorg_scalajs_dom_raw_HTMLDocument() { - if (((268435456 & this.bitmap$0$1) === 0)) { - this.document$1 = this.window__Lorg_scalajs_dom_raw_Window().document; - this.bitmap$0$1 = (268435456 | this.bitmap$0$1) - }; - return this.document$1 - }; - console__Lorg_scalajs_dom_raw_Console() { - return (((536870912 & this.bitmap$0$1) === 0) ? this.console$lzycompute__p1__Lorg_scalajs_dom_raw_Console() : this.console$1) - }; -} -const $d_Lorg_scalajs_dom_package$ = new $TypeData().initClass({ - Lorg_scalajs_dom_package$: 0 -}, false, "org.scalajs.dom.package$", { - Lorg_scalajs_dom_package$: 1, - O: 1 -}); -$c_Lorg_scalajs_dom_package$.prototype.$classData = $d_Lorg_scalajs_dom_package$; -let $n_Lorg_scalajs_dom_package$ = (void 0); -const $m_Lorg_scalajs_dom_package$ = (function() { - if ((!$n_Lorg_scalajs_dom_package$)) { - $n_Lorg_scalajs_dom_package$ = new $c_Lorg_scalajs_dom_package$().init___() - }; - return $n_Lorg_scalajs_dom_package$ -}); -class $c_Lorg_scalalang_DownloadLinks$ extends $c_O { - constructor() { - super(); - this.logger$1 = null - }; - init___() { - $n_Lorg_scalalang_DownloadLinks$ = this; - this.logger$1 = $m_Lorg_scalalang_utils_Logger$().apply__T__Lorg_scalalang_utils_LoggerUtil__Lorg_scalalang_utils_Logger($d_Lorg_scalalang_DownloadLinks$.getClassOf().getName__T(), $m_Lorg_scalalang_utils_RootLogger$()); - return this - }; - setupMainDownload__p1__V() { - const this$7 = $m_s_Option$().apply__O__s_Option((0, $m_Lorg_querki_jquery_package$().$$$1)(".main-download")); - let jsx$1; - if (this$7.isEmpty__Z()) { - jsx$1 = true - } else { - const arg1 = this$7.get__O(); - jsx$1 = ($uI(arg1.length) > 0) - }; - let this$8; - if (jsx$1) { - this$8 = this$7 - } else { - this$8 = $m_s_None$() - }; - if ((!this$8.isEmpty__Z())) { - this$8.get__O(); - const osLabel = $m_Lorg_scalalang_utils_OS$().apply__Lorg_scalalang_utils_OS().label__T(); - const jsx$4 = $m_Lorg_querki_jquery_package$().$$$1; - const a = ("#intellij-" + osLabel); - const jsx$3 = jsx$4(a); - const jsx$2 = jsx$3.text(); - const intelliJlink = $as_T(jsx$2); - const jsx$7 = $m_Lorg_querki_jquery_package$().$$$1; - const a$1 = ("#sbt-" + osLabel); - const jsx$6 = jsx$7(a$1); - const jsx$5 = jsx$6.text(); - const sbtLink = $as_T(jsx$5); - const jsx$10 = $m_Lorg_querki_jquery_package$().$$$1; - const a$2 = ("#stepOne-" + osLabel); - const jsx$9 = jsx$10(a$2); - const jsx$8 = jsx$9.html(); - const stepOneContent = $as_T(jsx$8); - (0, $m_Lorg_querki_jquery_package$().$$$1)("#download-intellij-link").attr("href", intelliJlink); - (0, $m_Lorg_querki_jquery_package$().$$$1)("#download-sbt-link").attr("href", sbtLink); - (0, $m_Lorg_querki_jquery_package$().$$$1)("#download-step-one").html(stepOneContent) - } - }; - apply__V() { - this.setupBinariesElement__p1__V(); - this.setupMainDownload__p1__V() - }; - setupBinariesElement__p1__V() { - const this$7 = $m_s_Option$().apply__O__s_Option((0, $m_Lorg_querki_jquery_package$().$$$1)("#download-binaries")); - let jsx$1; - if (this$7.isEmpty__Z()) { - jsx$1 = true - } else { - const arg1 = this$7.get__O(); - jsx$1 = ($uI(arg1.length) > 0) - }; - let this$8; - if (jsx$1) { - this$8 = this$7 - } else { - this$8 = $m_s_None$() - }; - if ((!this$8.isEmpty__Z())) { - const arg1$1 = this$8.get__O(); - const os = $m_Lorg_scalalang_utils_OS$().apply__Lorg_scalalang_utils_OS(); - const osLabel = os.label__T(); - let anchor = $m_Lorg_scalajs_dom_package$().document__Lorg_scalajs_dom_raw_HTMLDocument().getElementById("#link-main-unixsys"); - const x$2 = $m_Lorg_scalalang_utils_OS$Windows$(); - if (((os !== null) && (os === x$2))) { - anchor = $m_Lorg_scalajs_dom_package$().document__Lorg_scalajs_dom_raw_HTMLDocument().getElementById("#link-main-windows") - }; - if ((anchor === null)) { - anchor = $m_Lorg_scalajs_dom_package$().document__Lorg_scalajs_dom_raw_HTMLDocument().getElementById("#link-main-one4all") - }; - const link = $as_T(anchor.getAttribute("href")); - arg1$1.attr("href", link).addClass(osLabel); - (0, $m_Lorg_querki_jquery_package$().$$$1)("#users-os").text(osLabel) - } - }; -} -const $d_Lorg_scalalang_DownloadLinks$ = new $TypeData().initClass({ - Lorg_scalalang_DownloadLinks$: 0 -}, false, "org.scalalang.DownloadLinks$", { - Lorg_scalalang_DownloadLinks$: 1, - O: 1 -}); -$c_Lorg_scalalang_DownloadLinks$.prototype.$classData = $d_Lorg_scalalang_DownloadLinks$; -let $n_Lorg_scalalang_DownloadLinks$ = (void 0); -const $m_Lorg_scalalang_DownloadLinks$ = (function() { - if ((!$n_Lorg_scalalang_DownloadLinks$)) { - $n_Lorg_scalalang_DownloadLinks$ = new $c_Lorg_scalalang_DownloadLinks$().init___() - }; - return $n_Lorg_scalalang_DownloadLinks$ -}); -class $c_Lorg_scalalang_FunctionsApp$ extends $c_O { - constructor() { - super(); - this.logger$1 = null - }; - init___() { - $n_Lorg_scalalang_FunctionsApp$ = this; - const this$1 = $m_Lorg_scalalang_utils_RootLogger$(); - this$1.logLevel$1 = $m_Lorg_scalalang_utils_Logger$Level$().Trace$1; - this.logger$1 = $m_Lorg_scalalang_utils_Logger$().apply__T__Lorg_scalalang_utils_LoggerUtil__Lorg_scalalang_utils_Logger($d_Lorg_scalalang_FunctionsApp$.getClassOf().getName__T(), $m_Lorg_scalalang_utils_RootLogger$()); - return this - }; - org$scalalang$FunctionsApp$$$anonfun$main$1__O() { - const this$4 = $m_Lorg_scalalang_FunctionsApp$().logger$1; - const message = new $c_sjsr_AnonFunction0().init___sjs_js_Function0((function($this) { - return (function() { - return "Dom Ready" - }) - })(this)); - const array = []; - const optionalMessages = new $c_sjs_js_WrappedArray().init___sjs_js_Array(array); - this$4.internalLog__F2__I__F0__sc_Seq__V(new $c_sjsr_AnonFunction2().init___sjs_js_Function2((function($this$1) { - return (function(message$2$2, optionalParams$2) { - const optionalParams = $as_sc_Seq(optionalParams$2); - const jsx$1 = $m_Lorg_scalajs_dom_package$().console__Lorg_scalajs_dom_raw_Console(); - const jsx$4 = jsx$1.log; - const this$6 = $m_sjsr_Compat$(); - let jsx$3; - if ($is_sjs_js_ArrayOps(optionalParams)) { - const x2 = $as_sjs_js_ArrayOps(optionalParams); - jsx$3 = x2.scala$scalajs$js$ArrayOps$$array$f - } else if ($is_sjs_js_WrappedArray(optionalParams)) { - const x3 = $as_sjs_js_WrappedArray(optionalParams); - jsx$3 = x3.array$6 - } else { - const result = []; - optionalParams.foreach__F1__V(new $c_sjsr_AnonFunction1().init___sjs_js_Function1((function($this$2, result$1) { - return (function(x$2) { - return $uI(result$1.push(x$2)) - }) - })(this$6, result))); - jsx$3 = result - }; - const jsx$2 = [message$2$2].concat(jsx$3); - jsx$4.apply(jsx$1, jsx$2) - }) - })(this$4)), $m_Lorg_scalalang_utils_Logger$Level$().Trace$1, message, optionalMessages); - $m_Lorg_scalalang_DownloadLinks$().apply__V(); - $m_Lorg_scalalang_PositionMarker$().apply__V() - }; - main__AT__V(args) { - (0, $m_Lorg_querki_jquery_package$().$$$1)($m_Lorg_scalajs_dom_package$().document__Lorg_scalajs_dom_raw_HTMLDocument()).ready((function() { - return $m_Lorg_scalalang_FunctionsApp$().org$scalalang$FunctionsApp$$$anonfun$main$1__O() - })) - }; -} -const $d_Lorg_scalalang_FunctionsApp$ = new $TypeData().initClass({ - Lorg_scalalang_FunctionsApp$: 0 -}, false, "org.scalalang.FunctionsApp$", { - Lorg_scalalang_FunctionsApp$: 1, - O: 1 -}); -$c_Lorg_scalalang_FunctionsApp$.prototype.$classData = $d_Lorg_scalalang_FunctionsApp$; -let $n_Lorg_scalalang_FunctionsApp$ = (void 0); -const $m_Lorg_scalalang_FunctionsApp$ = (function() { - if ((!$n_Lorg_scalalang_FunctionsApp$)) { - $n_Lorg_scalalang_FunctionsApp$ = new $c_Lorg_scalalang_FunctionsApp$().init___() - }; - return $n_Lorg_scalalang_FunctionsApp$ -}); -class $c_Lorg_scalalang_PositionMarker$ extends $c_O { - constructor() { - super(); - this.imageWidth$1 = 0; - this.targetX$1 = 0; - this.targetY$1 = 0 - }; - init___() { - this.imageWidth$1 = 1680; - this.targetX$1 = 1028; - this.targetY$1 = 290; - return this - }; - updatePointer__p1__Lorg_querki_jquery_JQuery__F0(pointer) { - return new $c_sjsr_AnonFunction0().init___sjs_js_Function0((function($this, pointer$1) { - return (function() { - const windowWidth = $uD((0, $m_Lorg_querki_jquery_package$().$$$1)($m_Lorg_scalajs_dom_package$().window__Lorg_scalajs_dom_raw_Window()).width()); - const xScale = (windowWidth / $m_Lorg_scalalang_PositionMarker$().imageWidth$1); - const a = $doubleToInt(($m_Lorg_scalalang_PositionMarker$().targetX$1 * xScale)); - pointer$1.css("left", a) - }) - })(this, pointer)) - }; - apply__V() { - const this$7 = $m_s_Option$().apply__O__s_Option((0, $m_Lorg_querki_jquery_package$().$$$1)("#position-marker")); - let jsx$1; - if (this$7.isEmpty__Z()) { - jsx$1 = true - } else { - const arg1 = this$7.get__O(); - jsx$1 = ($uI(arg1.length) > 0) - }; - let this$8; - if (jsx$1) { - this$8 = this$7 - } else { - this$8 = $m_s_None$() - }; - if ((!this$8.isEmpty__Z())) { - const arg1$1 = this$8.get__O(); - const updater = $m_Lorg_scalalang_PositionMarker$().updatePointer__p1__Lorg_querki_jquery_JQuery__F0(arg1$1); - (0, $m_Lorg_querki_jquery_package$().$$$1)($m_Lorg_scalajs_dom_package$().window__Lorg_scalajs_dom_raw_Window()).resize($m_Lorg_querki_jquery_package$().f02EventHandler__F0__sjs_js_$bar(updater)); - const a = $m_Lorg_scalalang_PositionMarker$().targetY$1; - arg1$1.css("top", a); - updater.apply__O() - } - }; -} -const $d_Lorg_scalalang_PositionMarker$ = new $TypeData().initClass({ - Lorg_scalalang_PositionMarker$: 0 -}, false, "org.scalalang.PositionMarker$", { - Lorg_scalalang_PositionMarker$: 1, - O: 1 -}); -$c_Lorg_scalalang_PositionMarker$.prototype.$classData = $d_Lorg_scalalang_PositionMarker$; -let $n_Lorg_scalalang_PositionMarker$ = (void 0); -const $m_Lorg_scalalang_PositionMarker$ = (function() { - if ((!$n_Lorg_scalalang_PositionMarker$)) { - $n_Lorg_scalalang_PositionMarker$ = new $c_Lorg_scalalang_PositionMarker$().init___() - }; - return $n_Lorg_scalalang_PositionMarker$ -}); -class $c_Lorg_scalalang_utils_Logger$ extends $c_O { - init___() { - return this - }; - apply__T__Lorg_scalalang_utils_LoggerUtil__Lorg_scalalang_utils_Logger(prefix, parentLogger) { - return new $c_Lorg_scalalang_utils_Logger().init___T__Lorg_scalalang_utils_LoggerUtil((prefix + ":\t"), parentLogger) - }; -} -const $d_Lorg_scalalang_utils_Logger$ = new $TypeData().initClass({ - Lorg_scalalang_utils_Logger$: 0 -}, false, "org.scalalang.utils.Logger$", { - Lorg_scalalang_utils_Logger$: 1, - O: 1 -}); -$c_Lorg_scalalang_utils_Logger$.prototype.$classData = $d_Lorg_scalalang_utils_Logger$; -let $n_Lorg_scalalang_utils_Logger$ = (void 0); -const $m_Lorg_scalalang_utils_Logger$ = (function() { - if ((!$n_Lorg_scalalang_utils_Logger$)) { - $n_Lorg_scalalang_utils_Logger$ = new $c_Lorg_scalalang_utils_Logger$().init___() - }; - return $n_Lorg_scalalang_utils_Logger$ -}); -class $c_Lorg_scalalang_utils_Logger$Level$ extends $c_O { - constructor() { - super(); - this.Error$1 = 0; - this.Warn$1 = 0; - this.Info$1 = 0; - this.Debug$1 = 0; - this.Trace$1 = 0 - }; - init___() { - this.Error$1 = 1; - this.Warn$1 = 3; - this.Info$1 = 5; - this.Debug$1 = 7; - this.Trace$1 = 9; - return this - }; -} -const $d_Lorg_scalalang_utils_Logger$Level$ = new $TypeData().initClass({ - Lorg_scalalang_utils_Logger$Level$: 0 -}, false, "org.scalalang.utils.Logger$Level$", { - Lorg_scalalang_utils_Logger$Level$: 1, - O: 1 -}); -$c_Lorg_scalalang_utils_Logger$Level$.prototype.$classData = $d_Lorg_scalalang_utils_Logger$Level$; -let $n_Lorg_scalalang_utils_Logger$Level$ = (void 0); -const $m_Lorg_scalalang_utils_Logger$Level$ = (function() { - if ((!$n_Lorg_scalalang_utils_Logger$Level$)) { - $n_Lorg_scalalang_utils_Logger$Level$ = new $c_Lorg_scalalang_utils_Logger$Level$().init___() - }; - return $n_Lorg_scalalang_utils_Logger$Level$ -}); -class $c_Lorg_scalalang_utils_OS$ extends $c_O { - constructor() { - super(); - this.logger$1 = null - }; - init___() { - $n_Lorg_scalalang_utils_OS$ = this; - this.logger$1 = $m_Lorg_scalalang_utils_Logger$().apply__T__Lorg_scalalang_utils_LoggerUtil__Lorg_scalalang_utils_Logger($d_Lorg_scalalang_utils_OS$.getClassOf().getName__T(), $m_Lorg_scalalang_utils_RootLogger$()); - return this - }; - apply__Lorg_scalalang_utils_OS() { - const appVersion = $as_T($m_Lorg_scalajs_dom_package$().window__Lorg_scalajs_dom_raw_Window().navigator.appVersion); - const $default = $m_Lorg_scalalang_utils_OS$Linux$(); - const array = [$m_Lorg_scalalang_utils_OS$Windows$(), $m_Lorg_scalalang_utils_OS$Mac$(), $m_Lorg_scalalang_utils_OS$Linux$(), $m_Lorg_scalalang_utils_OS$Unix$()]; - const xs = new $c_sjs_js_WrappedArray().init___sjs_js_Array(array); - const len = $uI(xs.array$6.length); - const array$1 = $newArrayObject($d_s_Product.getArrayOf(), [len]); - let elem$1 = 0; - elem$1 = 0; - const this$6 = new $c_sc_IndexedSeqLike$Elements().init___sc_IndexedSeqLike__I__I(xs, 0, $uI(xs.array$6.length)); - while (this$6.hasNext__Z()) { - const arg1 = this$6.next__O(); - array$1.set(elem$1, arg1); - elem$1 = ((1 + elem$1) | 0) - }; - let start = 0; - const end = array$1.u.length; - let z = $default; - let start$1 = start; - let z$1 = z; - let jsx$1; - _foldl: while (true) { - if ((start$1 !== end)) { - const temp$start = ((1 + start$1) | 0); - const arg1$1 = z$1; - const index = start$1; - const arg2 = array$1.get(index); - const last = $as_Lorg_scalalang_utils_OS(arg1$1); - const os = $as_Lorg_scalalang_utils_OS(arg2); - const s = os.navigator__T(); - let temp$z; - if (($uI(appVersion.indexOf(s)) !== (-1))) { - temp$z = os - } else { - temp$z = last - }; - start$1 = temp$start; - z$1 = temp$z; - continue _foldl - }; - jsx$1 = z$1; - break - }; - const os$3 = $as_Lorg_scalalang_utils_OS(jsx$1); - const this$16 = this.logger$1; - const message = new $c_sjsr_AnonFunction0().init___sjs_js_Function0((function(this$2$1, os$3$1) { - return (function() { - const s$1 = ("OS: " + os$3$1); - return s$1 - }) - })(this, os$3)); - const array$2 = []; - const optionalMessages = new $c_sjs_js_WrappedArray().init___sjs_js_Array(array$2); - this$16.internalLog__F2__I__F0__sc_Seq__V(new $c_sjsr_AnonFunction2().init___sjs_js_Function2((function($this) { - return (function(message$2$2, optionalParams$2) { - const optionalParams = $as_sc_Seq(optionalParams$2); - const jsx$2 = $m_Lorg_scalajs_dom_package$().console__Lorg_scalajs_dom_raw_Console(); - const jsx$5 = jsx$2.info; - const this$18 = $m_sjsr_Compat$(); - let jsx$4; - if ($is_sjs_js_ArrayOps(optionalParams)) { - const x2 = $as_sjs_js_ArrayOps(optionalParams); - jsx$4 = x2.scala$scalajs$js$ArrayOps$$array$f - } else if ($is_sjs_js_WrappedArray(optionalParams)) { - const x3 = $as_sjs_js_WrappedArray(optionalParams); - jsx$4 = x3.array$6 - } else { - const result = []; - optionalParams.foreach__F1__V(new $c_sjsr_AnonFunction1().init___sjs_js_Function1((function($this$1, result$1) { - return (function(x$2) { - return $uI(result$1.push(x$2)) - }) - })(this$18, result))); - jsx$4 = result - }; - const jsx$3 = [message$2$2].concat(jsx$4); - jsx$5.apply(jsx$2, jsx$3) - }) - })(this$16)), $m_Lorg_scalalang_utils_Logger$Level$().Info$1, message, optionalMessages); - return os$3 - }; -} -const $d_Lorg_scalalang_utils_OS$ = new $TypeData().initClass({ - Lorg_scalalang_utils_OS$: 0 -}, false, "org.scalalang.utils.OS$", { - Lorg_scalalang_utils_OS$: 1, - O: 1 -}); -$c_Lorg_scalalang_utils_OS$.prototype.$classData = $d_Lorg_scalalang_utils_OS$; -let $n_Lorg_scalalang_utils_OS$ = (void 0); -const $m_Lorg_scalalang_utils_OS$ = (function() { - if ((!$n_Lorg_scalalang_utils_OS$)) { - $n_Lorg_scalalang_utils_OS$ = new $c_Lorg_scalalang_utils_OS$().init___() - }; - return $n_Lorg_scalalang_utils_OS$ -}); -class $c_jl_Class extends $c_O { - constructor() { - super(); - this.data$1 = null - }; - getName__T() { - return $as_T(this.data$1.name) - }; - isPrimitive__Z() { - return $uZ(this.data$1.isPrimitive) - }; - toString__T() { - return ((this.isInterface__Z() ? "interface " : (this.isPrimitive__Z() ? "" : "class ")) + this.getName__T()) - }; - init___jl_ScalaJSClassData(data) { - this.data$1 = data; - return this - }; - isInterface__Z() { - return $uZ(this.data$1.isInterface) - }; -} -const $d_jl_Class = new $TypeData().initClass({ - jl_Class: 0 -}, false, "java.lang.Class", { - jl_Class: 1, - O: 1 -}); -$c_jl_Class.prototype.$classData = $d_jl_Class; -const $d_s_Product = new $TypeData().initClass({ - s_Product: 0 -}, true, "scala.Product", { - s_Product: 1, - s_Equals: 1 -}); -class $c_s_util_hashing_MurmurHash3 extends $c_O { - mixLast__I__I__I(hash, data) { - let k = data; - k = $imul((-862048943), k); - const i = k; - k = ((i << 15) | ((i >>> 17) | 0)); - k = $imul(461845907, k); - return (hash ^ k) - }; - mix__I__I__I(hash, data) { - let h = this.mixLast__I__I__I(hash, data); - const i = h; - h = ((i << 13) | ((i >>> 19) | 0)); - return (((-430675100) + $imul(5, h)) | 0) - }; - avalanche__p1__I__I(hash) { - let 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 - }; - productHash__s_Product__I__I(x, seed) { - const arr = x.productArity__I(); - if ((arr === 0)) { - const this$1 = x.productPrefix__T(); - return $m_sjsr_RuntimeString$().hashCode__T__I(this$1) - } else { - let h = seed; - let i = 0; - while ((i < arr)) { - h = this.mix__I__I__I(h, $m_sr_Statics$().anyHash__O__I(x.productElement__I__O(i))); - i = ((1 + i) | 0) - }; - return this.finalizeHash__I__I__I(h, arr) - } - }; - finalizeHash__I__I__I(hash, length) { - return this.avalanche__p1__I__I((hash ^ length)) - }; - orderedHash__sc_TraversableOnce__I__I(xs, seed) { - const n = new $c_sr_IntRef().init___I(0); - const 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_Statics$().anyHash__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) - }; - listHash__sci_List__I__I(xs, seed) { - let n = 0; - let h = seed; - return this.finalizeHash__I__I__I(h, n) - }; -} -class $c_sc_Iterator$ extends $c_O { - constructor() { - super(); - this.empty$1 = null - }; - init___() { - $n_sc_Iterator$ = this; - this.empty$1 = new $c_sc_Iterator$$anon$2().init___(); - return this - }; -} -const $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$; -let $n_sc_Iterator$ = (void 0); -const $m_sc_Iterator$ = (function() { - if ((!$n_sc_Iterator$)) { - $n_sc_Iterator$ = new $c_sc_Iterator$().init___() - }; - return $n_sc_Iterator$ -}); -const $f_sc_TraversableOnce__mkString__T__T__T__T = (function($thiz, start, sep, end) { - const b = new $c_scm_StringBuilder().init___(); - const this$1 = $f_sc_TraversableOnce__addString__scm_StringBuilder__T__T__T__scm_StringBuilder($thiz, b, start, sep, end); - return this$1.underlying$5.java$lang$StringBuilder$$content$f -}); -const $f_sc_TraversableOnce__addString__scm_StringBuilder__T__T__T__scm_StringBuilder = (function($thiz, b, start, sep, end) { - const first = new $c_sr_BooleanRef().init___Z(true); - b.append__T__scm_StringBuilder(start); - $thiz.foreach__F1__V(new $c_sjsr_AnonFunction1().init___sjs_js_Function1((function($this, b$1, sep$1, first$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) - } - }) - })($thiz, b, sep, first))); - b.append__T__scm_StringBuilder(end); - return b -}); -class $c_sjsr_Bits$ extends $c_O { - constructor() { - super(); - this.scala$scalajs$runtime$Bits$$$undareTypedArraysSupported$f = false; - this.arrayBuffer$1 = null; - this.int32Array$1 = null; - this.float32Array$1 = null; - this.float64Array$1 = null; - this.areTypedArraysBigEndian$1 = false; - this.highOffset$1 = 0; - this.lowOffset$1 = 0 - }; - init___() { - $n_sjsr_Bits$ = this; - this.scala$scalajs$runtime$Bits$$$undareTypedArraysSupported$f = true; - this.arrayBuffer$1 = new $g.ArrayBuffer(8); - this.int32Array$1 = new $g.Int32Array(this.arrayBuffer$1, 0, 2); - this.float32Array$1 = new $g.Float32Array(this.arrayBuffer$1, 0, 2); - this.float64Array$1 = new $g.Float64Array(this.arrayBuffer$1, 0, 1); - this.int32Array$1[0] = 16909060; - this.areTypedArraysBigEndian$1 = ($uB(new $g.Int8Array(this.arrayBuffer$1, 0, 8)[0]) === 1); - this.highOffset$1 = (this.areTypedArraysBigEndian$1 ? 0 : 1); - this.lowOffset$1 = (this.areTypedArraysBigEndian$1 ? 1 : 0); - return this - }; - numberHashCode__D__I(value) { - const iv = $uI((value | 0)); - if (((iv === value) && ((1.0 / value) !== (-Infinity)))) { - return iv - } else { - const t = this.doubleToLongBits__D__J(value); - const lo = t.lo$2; - const hi = t.hi$2; - return (lo ^ hi) - } - }; - doubleToLongBits__D__J(value) { - this.float64Array$1[0] = value; - const value$1 = $uI(this.int32Array$1[this.highOffset$1]); - const value$2 = $uI(this.int32Array$1[this.lowOffset$1]); - return new $c_sjsr_RuntimeLong().init___I__I(value$2, value$1) - }; -} -const $d_sjsr_Bits$ = new $TypeData().initClass({ - sjsr_Bits$: 0 -}, false, "scala.scalajs.runtime.Bits$", { - sjsr_Bits$: 1, - O: 1 -}); -$c_sjsr_Bits$.prototype.$classData = $d_sjsr_Bits$; -let $n_sjsr_Bits$ = (void 0); -const $m_sjsr_Bits$ = (function() { - if ((!$n_sjsr_Bits$)) { - $n_sjsr_Bits$ = new $c_sjsr_Bits$().init___() - }; - return $n_sjsr_Bits$ -}); -class $c_sjsr_Compat$ extends $c_O { - init___() { - return this - }; -} -const $d_sjsr_Compat$ = new $TypeData().initClass({ - sjsr_Compat$: 0 -}, false, "scala.scalajs.runtime.Compat$", { - sjsr_Compat$: 1, - O: 1 -}); -$c_sjsr_Compat$.prototype.$classData = $d_sjsr_Compat$; -let $n_sjsr_Compat$ = (void 0); -const $m_sjsr_Compat$ = (function() { - if ((!$n_sjsr_Compat$)) { - $n_sjsr_Compat$ = new $c_sjsr_Compat$().init___() - }; - return $n_sjsr_Compat$ -}); -class $c_sjsr_RuntimeString$ extends $c_O { - constructor() { - super(); - this.CASE$undINSENSITIVE$undORDER$1 = null; - this.bitmap$0$1 = false - }; - init___() { - return this - }; - hashCode__T__I(thiz) { - let res = 0; - let mul = 1; - let i = (((-1) + $uI(thiz.length)) | 0); - while ((i >= 0)) { - const jsx$1 = res; - const index = i; - res = ((jsx$1 + $imul((65535 & $uI(thiz.charCodeAt(index))), mul)) | 0); - mul = $imul(31, mul); - i = (((-1) + i) | 0) - }; - return res - }; -} -const $d_sjsr_RuntimeString$ = new $TypeData().initClass({ - sjsr_RuntimeString$: 0 -}, false, "scala.scalajs.runtime.RuntimeString$", { - sjsr_RuntimeString$: 1, - O: 1 -}); -$c_sjsr_RuntimeString$.prototype.$classData = $d_sjsr_RuntimeString$; -let $n_sjsr_RuntimeString$ = (void 0); -const $m_sjsr_RuntimeString$ = (function() { - if ((!$n_sjsr_RuntimeString$)) { - $n_sjsr_RuntimeString$ = new $c_sjsr_RuntimeString$().init___() - }; - return $n_sjsr_RuntimeString$ -}); -class $c_sjsr_package$ extends $c_O { - init___() { - return this - }; - unwrapJavaScriptException__jl_Throwable__O(th) { - if ($is_sjs_js_JavaScriptException(th)) { - const x2 = $as_sjs_js_JavaScriptException(th); - const e = x2.exception$4; - return e - } else { - return th - } - }; - wrapJavaScriptException__O__jl_Throwable(e) { - if ($is_jl_Throwable(e)) { - const x2 = $as_jl_Throwable(e); - return x2 - } else { - return new $c_sjs_js_JavaScriptException().init___O(e) - } - }; -} -const $d_sjsr_package$ = new $TypeData().initClass({ - sjsr_package$: 0 -}, false, "scala.scalajs.runtime.package$", { - sjsr_package$: 1, - O: 1 -}); -$c_sjsr_package$.prototype.$classData = $d_sjsr_package$; -let $n_sjsr_package$ = (void 0); -const $m_sjsr_package$ = (function() { - if ((!$n_sjsr_package$)) { - $n_sjsr_package$ = new $c_sjsr_package$().init___() - }; - return $n_sjsr_package$ -}); -class $c_sr_ScalaRunTime$ extends $c_O { - init___() { - return this - }; - $$undtoString__s_Product__T(x) { - const this$1 = x.productIterator__sc_Iterator(); - const start = (x.productPrefix__T() + "("); - return $f_sc_TraversableOnce__mkString__T__T__T__T(this$1, start, ",", ")") - }; -} -const $d_sr_ScalaRunTime$ = new $TypeData().initClass({ - sr_ScalaRunTime$: 0 -}, false, "scala.runtime.ScalaRunTime$", { - sr_ScalaRunTime$: 1, - O: 1 -}); -$c_sr_ScalaRunTime$.prototype.$classData = $d_sr_ScalaRunTime$; -let $n_sr_ScalaRunTime$ = (void 0); -const $m_sr_ScalaRunTime$ = (function() { - if ((!$n_sr_ScalaRunTime$)) { - $n_sr_ScalaRunTime$ = new $c_sr_ScalaRunTime$().init___() - }; - return $n_sr_ScalaRunTime$ -}); -class $c_sr_Statics$ extends $c_O { - init___() { - return this - }; - doubleHash__D__I(dv) { - const iv = $doubleToInt(dv); - if ((iv === dv)) { - return iv - } else { - const this$1 = $m_sjsr_RuntimeLong$(); - const lo = this$1.scala$scalajs$runtime$RuntimeLong$$fromDoubleImpl__D__I(dv); - const hi = this$1.scala$scalajs$runtime$RuntimeLong$$hiReturn$f; - return (($m_sjsr_RuntimeLong$().scala$scalajs$runtime$RuntimeLong$$toDouble__I__I__D(lo, hi) === dv) ? (lo ^ hi) : $m_sjsr_Bits$().numberHashCode__D__I(dv)) - } - }; - anyHash__O__I(x) { - if ((x === null)) { - return 0 - } else if (((typeof x) === "number")) { - const x3 = $uD(x); - return this.doubleHash__D__I(x3) - } else if ($is_sjsr_RuntimeLong(x)) { - const t = $uJ(x); - const lo = t.lo$2; - const hi = t.hi$2; - return this.longHash__J__I(new $c_sjsr_RuntimeLong().init___I__I(lo, hi)) - } else { - return $objectHashCode(x) - } - }; - longHash__J__I(lv) { - const lo = lv.lo$2; - const lo$1 = lv.hi$2; - return ((lo$1 === (lo >> 31)) ? lo : (lo ^ lo$1)) - }; -} -const $d_sr_Statics$ = new $TypeData().initClass({ - sr_Statics$: 0 -}, false, "scala.runtime.Statics$", { - sr_Statics$: 1, - O: 1 -}); -$c_sr_Statics$.prototype.$classData = $d_sr_Statics$; -let $n_sr_Statics$ = (void 0); -const $m_sr_Statics$ = (function() { - if ((!$n_sr_Statics$)) { - $n_sr_Statics$ = new $c_sr_Statics$().init___() - }; - return $n_sr_Statics$ -}); -class $c_Lorg_scalalang_utils_Logger extends $c_O { - constructor() { - super(); - this.prefix$1 = null; - this.parentLogger$1 = null; - this.logLevel$1 = 0 - }; - init___T__Lorg_scalalang_utils_LoggerUtil(prefix, parentLogger) { - this.prefix$1 = prefix; - this.parentLogger$1 = parentLogger; - this.logLevel$1 = $m_Lorg_scalalang_utils_Logger$Level$().Trace$1; - return this - }; - internalLog__F2__I__F0__sc_Seq__V(logger, level, lazyMessage, optionalMessages) { - if ((this.logLevel$1 >= level)) { - this.parentLogger$1.internalLog__F2__I__F0__sc_Seq__V(logger, level, new $c_sjsr_AnonFunction0().init___sjs_js_Function0((function($this, lazyMessage$1) { - return (function() { - const s = (("" + $this.prefix$1) + lazyMessage$1.apply__O()); - return s - }) - })(this, lazyMessage)), optionalMessages) - } - }; -} -const $d_Lorg_scalalang_utils_Logger = new $TypeData().initClass({ - Lorg_scalalang_utils_Logger: 0 -}, false, "org.scalalang.utils.Logger", { - Lorg_scalalang_utils_Logger: 1, - O: 1, - Lorg_scalalang_utils_LoggerUtil: 1 -}); -$c_Lorg_scalalang_utils_Logger.prototype.$classData = $d_Lorg_scalalang_utils_Logger; -class $c_Lorg_scalalang_utils_RootLogger$ extends $c_O { - constructor() { - super(); - this.logLevel$1 = 0 - }; - init___() { - $n_Lorg_scalalang_utils_RootLogger$ = this; - this.logLevel$1 = $m_Lorg_scalalang_utils_Logger$Level$().Trace$1; - this.logLevel$1 = $m_Lorg_scalalang_utils_Logger$Level$().Info$1; - return this - }; - internalLog__F2__I__F0__sc_Seq__V(logger, level, lazyMessage, optionalMessages) { - if ((this.logLevel$1 >= level)) { - const message = lazyMessage.apply__O(); - logger.apply__O__O__O(message, optionalMessages) - } - }; -} -const $d_Lorg_scalalang_utils_RootLogger$ = new $TypeData().initClass({ - Lorg_scalalang_utils_RootLogger$: 0 -}, false, "org.scalalang.utils.RootLogger$", { - Lorg_scalalang_utils_RootLogger$: 1, - O: 1, - Lorg_scalalang_utils_LoggerUtil: 1 -}); -$c_Lorg_scalalang_utils_RootLogger$.prototype.$classData = $d_Lorg_scalalang_utils_RootLogger$; -let $n_Lorg_scalalang_utils_RootLogger$ = (void 0); -const $m_Lorg_scalalang_utils_RootLogger$ = (function() { - if ((!$n_Lorg_scalalang_utils_RootLogger$)) { - $n_Lorg_scalalang_utils_RootLogger$ = new $c_Lorg_scalalang_utils_RootLogger$().init___() - }; - return $n_Lorg_scalalang_utils_RootLogger$ -}); -class $c_jl_Number extends $c_O { -} -class $c_jl_Throwable extends $c_O { - constructor() { - super(); - this.s$1 = null; - this.e$1 = null; - this.stackTrace$1 = null - }; - fillInStackTrace__jl_Throwable() { - const v = $g.Error.captureStackTrace; - if ((v === (void 0))) { - let e$1; - try { - e$1 = {}.undef() - } catch (e) { - const e$2 = $m_sjsr_package$().wrapJavaScriptException__O__jl_Throwable(e); - if ((e$2 !== null)) { - if ($is_sjs_js_JavaScriptException(e$2)) { - const x5 = $as_sjs_js_JavaScriptException(e$2); - const e$3 = x5.exception$4; - e$1 = e$3 - } else { - throw $m_sjsr_package$().unwrapJavaScriptException__jl_Throwable__O(e$2) - } - } else { - throw e - } - }; - this.stackdata = e$1 - } else { - $g.Error.captureStackTrace(this); - this.stackdata = this - }; - return this - }; - getMessage__T() { - return this.s$1 - }; - toString__T() { - const className = $objectGetClass(this).getName__T(); - const message = this.getMessage__T(); - return ((message === null) ? className : ((className + ": ") + message)) - }; - init___T__jl_Throwable(s, e) { - this.s$1 = s; - this.e$1 = e; - this.fillInStackTrace__jl_Throwable(); - return this - }; -} -const $is_jl_Throwable = (function(obj) { - return (!(!((obj && obj.$classData) && obj.$classData.ancestors.jl_Throwable))) -}); -const $as_jl_Throwable = (function(obj) { - return (($is_jl_Throwable(obj) || (obj === null)) ? obj : $throwClassCastException(obj, "java.lang.Throwable")) -}); -const $isArrayOf_jl_Throwable = (function(obj, depth) { - return (!(!(((obj && obj.$classData) && (obj.$classData.arrayDepth === depth)) && obj.$classData.arrayBase.ancestors.jl_Throwable))) -}); -const $asArrayOf_jl_Throwable = (function(obj, depth) { - return (($isArrayOf_jl_Throwable(obj, depth) || (obj === null)) ? obj : $throwArrayCastException(obj, "Ljava.lang.Throwable;", depth)) -}); -class $c_s_util_hashing_MurmurHash3$ extends $c_s_util_hashing_MurmurHash3 { - constructor() { - super(); - this.seqSeed$2 = 0; - this.mapSeed$2 = 0; - this.setSeed$2 = 0 - }; - init___() { - $n_s_util_hashing_MurmurHash3$ = this; - 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 - }; - seqHash__sc_Seq__I(xs) { - if ($is_sci_List(xs)) { - const x2 = $as_sci_List(xs); - return this.listHash__sci_List__I__I(x2, this.seqSeed$2) - } else { - return this.orderedHash__sc_TraversableOnce__I__I(xs, this.seqSeed$2) - } - }; -} -const $d_s_util_hashing_MurmurHash3$ = new $TypeData().initClass({ - s_util_hashing_MurmurHash3$: 0 -}, false, "scala.util.hashing.MurmurHash3$", { - s_util_hashing_MurmurHash3$: 1, - s_util_hashing_MurmurHash3: 1, - O: 1 -}); -$c_s_util_hashing_MurmurHash3$.prototype.$classData = $d_s_util_hashing_MurmurHash3$; -let $n_s_util_hashing_MurmurHash3$ = (void 0); -const $m_s_util_hashing_MurmurHash3$ = (function() { - if ((!$n_s_util_hashing_MurmurHash3$)) { - $n_s_util_hashing_MurmurHash3$ = new $c_s_util_hashing_MurmurHash3$().init___() - }; - return $n_s_util_hashing_MurmurHash3$ -}); -const $f_sc_Iterator__toString__T = (function($thiz) { - return (($thiz.hasNext__Z() ? "non-empty" : "empty") + " iterator") -}); -const $f_sc_Iterator__foreach__F1__V = (function($thiz, f) { - while ($thiz.hasNext__Z()) { - f.apply__O__O($thiz.next__O()) - } -}); -class $c_sr_AbstractFunction0 extends $c_O { - toString__T() { - return "" - }; -} -class $c_sr_AbstractFunction1 extends $c_O { - toString__T() { - return "" - }; -} -class $c_sr_AbstractFunction2 extends $c_O { - toString__T() { - return "" - }; -} -class $c_sr_BooleanRef extends $c_O { - constructor() { - super(); - this.elem$1 = false - }; - toString__T() { - const b = this.elem$1; - return ("" + b) - }; - init___Z(elem) { - this.elem$1 = elem; - return this - }; -} -const $d_sr_BooleanRef = new $TypeData().initClass({ - sr_BooleanRef: 0 -}, false, "scala.runtime.BooleanRef", { - sr_BooleanRef: 1, - O: 1, - Ljava_io_Serializable: 1 -}); -$c_sr_BooleanRef.prototype.$classData = $d_sr_BooleanRef; -const $d_sr_BoxedUnit = new $TypeData().initClass({ - sr_BoxedUnit: 0 -}, false, "scala.runtime.BoxedUnit", { - sr_BoxedUnit: 1, - O: 1, - Ljava_io_Serializable: 1 -}, (void 0), (void 0), (function(x) { - return (x === (void 0)) -})); -class $c_sr_IntRef extends $c_O { - constructor() { - super(); - this.elem$1 = 0 - }; - toString__T() { - const i = this.elem$1; - return ("" + i) - }; - init___I(elem) { - this.elem$1 = elem; - return this - }; -} -const $d_sr_IntRef = new $TypeData().initClass({ - sr_IntRef: 0 -}, false, "scala.runtime.IntRef", { - sr_IntRef: 1, - O: 1, - Ljava_io_Serializable: 1 -}); -$c_sr_IntRef.prototype.$classData = $d_sr_IntRef; -const $d_jl_Boolean = new $TypeData().initClass({ - jl_Boolean: 0 -}, false, "java.lang.Boolean", { - jl_Boolean: 1, - O: 1, - Ljava_io_Serializable: 1, - jl_Comparable: 1 -}, (void 0), (void 0), (function(x) { - return ((typeof x) === "boolean") -})); -class $c_jl_Character extends $c_O { - constructor() { - super(); - this.value$1 = 0 - }; - toString__T() { - const c = this.value$1; - return $as_T($g.String.fromCharCode(c)) - }; - init___C(value) { - this.value$1 = value; - return this - }; - hashCode__I() { - return this.value$1 - }; -} -const $d_jl_Character = new $TypeData().initClass({ - jl_Character: 0 -}, false, "java.lang.Character", { - jl_Character: 1, - O: 1, - Ljava_io_Serializable: 1, - jl_Comparable: 1 -}); -$c_jl_Character.prototype.$classData = $d_jl_Character; -class $c_jl_Double$ extends $c_O { - constructor() { - super(); - this.doubleStrPat$1 = null; - this.doubleStrHexPat$1 = null; - this.bitmap$0$1 = 0 - }; - init___() { - return this - }; - compare__D__D__I(a, b) { - if ((a !== a)) { - return ((b !== b) ? 0 : 1) - } else if ((b !== b)) { - return (-1) - } else if ((a === b)) { - if ((a === 0.0)) { - const ainf = (1.0 / a); - return ((ainf === (1.0 / b)) ? 0 : ((ainf < 0) ? (-1) : 1)) - } else { - return 0 - } - } else { - return ((a < b) ? (-1) : 1) - } - }; -} -const $d_jl_Double$ = new $TypeData().initClass({ - jl_Double$: 0 -}, false, "java.lang.Double$", { - jl_Double$: 1, - O: 1, - s_Serializable: 1, - Ljava_io_Serializable: 1 -}); -$c_jl_Double$.prototype.$classData = $d_jl_Double$; -let $n_jl_Double$ = (void 0); -const $m_jl_Double$ = (function() { - if ((!$n_jl_Double$)) { - $n_jl_Double$ = new $c_jl_Double$().init___() - }; - return $n_jl_Double$ -}); -class $c_jl_Error extends $c_jl_Throwable { -} -class $c_jl_Exception extends $c_jl_Throwable { -} -class $c_s_Option$ extends $c_O { - init___() { - return this - }; - apply__O__s_Option(x) { - return ((x === null) ? $m_s_None$() : new $c_s_Some().init___O(x)) - }; -} -const $d_s_Option$ = new $TypeData().initClass({ - s_Option$: 0 -}, false, "scala.Option$", { - s_Option$: 1, - O: 1, - s_Serializable: 1, - Ljava_io_Serializable: 1 -}); -$c_s_Option$.prototype.$classData = $d_s_Option$; -let $n_s_Option$ = (void 0); -const $m_s_Option$ = (function() { - if ((!$n_s_Option$)) { - $n_s_Option$ = new $c_s_Option$().init___() - }; - return $n_s_Option$ -}); -class $c_sjsr_AnonFunction0 extends $c_sr_AbstractFunction0 { - constructor() { - super(); - this.f$2 = null - }; - apply__O() { - return (0, this.f$2)() - }; - init___sjs_js_Function0(f) { - this.f$2 = f; - return this - }; -} -const $d_sjsr_AnonFunction0 = new $TypeData().initClass({ - sjsr_AnonFunction0: 0 -}, false, "scala.scalajs.runtime.AnonFunction0", { - sjsr_AnonFunction0: 1, - sr_AbstractFunction0: 1, - O: 1, - F0: 1 -}); -$c_sjsr_AnonFunction0.prototype.$classData = $d_sjsr_AnonFunction0; -class $c_sjsr_AnonFunction1 extends $c_sr_AbstractFunction1 { - constructor() { - super(); - this.f$2 = null - }; - apply__O__O(arg1) { - return (0, this.f$2)(arg1) - }; - init___sjs_js_Function1(f) { - this.f$2 = f; - return this - }; -} -const $d_sjsr_AnonFunction1 = new $TypeData().initClass({ - sjsr_AnonFunction1: 0 -}, false, "scala.scalajs.runtime.AnonFunction1", { - sjsr_AnonFunction1: 1, - sr_AbstractFunction1: 1, - O: 1, - F1: 1 -}); -$c_sjsr_AnonFunction1.prototype.$classData = $d_sjsr_AnonFunction1; -class $c_sjsr_AnonFunction2 extends $c_sr_AbstractFunction2 { - constructor() { - super(); - this.f$2 = null - }; - init___sjs_js_Function2(f) { - this.f$2 = f; - return this - }; - apply__O__O__O(arg1, arg2) { - return (0, this.f$2)(arg1, arg2) - }; -} -const $d_sjsr_AnonFunction2 = new $TypeData().initClass({ - sjsr_AnonFunction2: 0 -}, false, "scala.scalajs.runtime.AnonFunction2", { - sjsr_AnonFunction2: 1, - sr_AbstractFunction2: 1, - O: 1, - F2: 1 -}); -$c_sjsr_AnonFunction2.prototype.$classData = $d_sjsr_AnonFunction2; -class $c_sjsr_RuntimeLong$ extends $c_O { - constructor() { - super(); - this.scala$scalajs$runtime$RuntimeLong$$hiReturn$f = 0; - this.Zero$1 = null - }; - init___() { - $n_sjsr_RuntimeLong$ = this; - this.Zero$1 = new $c_sjsr_RuntimeLong().init___I__I(0, 0); - return this - }; - Zero__sjsr_RuntimeLong() { - return this.Zero$1 - }; - toUnsignedString__p1__I__I__T(lo, hi) { - if ((((-2097152) & hi) === 0)) { - const this$5 = ((4.294967296E9 * hi) + $uD((lo >>> 0))); - return ("" + this$5) - } else { - return $as_T(this.unsignedDivModHelper__p1__I__I__I__I__I__sjs_js_$bar(lo, hi, 1000000000, 0, 2)) - } - }; - divideImpl__I__I__I__I__I(alo, ahi, blo, bhi) { - if (((blo | bhi) === 0)) { - throw new $c_jl_ArithmeticException().init___T("/ by zero") - }; - if ((ahi === (alo >> 31))) { - if ((bhi === (blo >> 31))) { - if (((alo === (-2147483648)) && (blo === (-1)))) { - this.scala$scalajs$runtime$RuntimeLong$$hiReturn$f = 0; - return (-2147483648) - } else { - const lo = ((alo / blo) | 0); - this.scala$scalajs$runtime$RuntimeLong$$hiReturn$f = (lo >> 31); - return lo - } - } else if (((alo === (-2147483648)) && ((blo === (-2147483648)) && (bhi === 0)))) { - this.scala$scalajs$runtime$RuntimeLong$$hiReturn$f = (-1); - return (-1) - } else { - this.scala$scalajs$runtime$RuntimeLong$$hiReturn$f = 0; - return 0 - } - } else { - const neg = (ahi < 0); - let abs_$_lo$2; - let abs_$_hi$2; - if (neg) { - const lo$1 = ((-alo) | 0); - const hi = ((alo !== 0) ? (~ahi) : ((-ahi) | 0)); - const jsx$1_$_lo$2 = lo$1; - const jsx$1_$_hi$2 = hi; - abs_$_lo$2 = jsx$1_$_lo$2; - abs_$_hi$2 = jsx$1_$_hi$2 - } else { - const jsx$2_$_lo$2 = alo; - const jsx$2_$_hi$2 = ahi; - abs_$_lo$2 = jsx$2_$_lo$2; - abs_$_hi$2 = jsx$2_$_hi$2 - }; - const neg$1 = (bhi < 0); - let abs$1_$_lo$2; - let abs$1_$_hi$2; - if (neg$1) { - const lo$2 = ((-blo) | 0); - const hi$1 = ((blo !== 0) ? (~bhi) : ((-bhi) | 0)); - const jsx$3_$_lo$2 = lo$2; - const jsx$3_$_hi$2 = hi$1; - abs$1_$_lo$2 = jsx$3_$_lo$2; - abs$1_$_hi$2 = jsx$3_$_hi$2 - } else { - const jsx$4_$_lo$2 = blo; - const jsx$4_$_hi$2 = bhi; - abs$1_$_lo$2 = jsx$4_$_lo$2; - abs$1_$_hi$2 = jsx$4_$_hi$2 - }; - const absRLo = this.unsigned$und$div__p1__I__I__I__I__I(abs_$_lo$2, abs_$_hi$2, abs$1_$_lo$2, abs$1_$_hi$2); - if ((neg === neg$1)) { - return absRLo - } else { - const hi$2 = this.scala$scalajs$runtime$RuntimeLong$$hiReturn$f; - this.scala$scalajs$runtime$RuntimeLong$$hiReturn$f = ((absRLo !== 0) ? (~hi$2) : ((-hi$2) | 0)); - return ((-absRLo) | 0) - } - } - }; - scala$scalajs$runtime$RuntimeLong$$toDouble__I__I__D(lo, hi) { - if ((hi < 0)) { - const x = ((lo !== 0) ? (~hi) : ((-hi) | 0)); - const jsx$1 = $uD((x >>> 0)); - const x$1 = ((-lo) | 0); - return (-((4.294967296E9 * jsx$1) + $uD((x$1 >>> 0)))) - } else { - return ((4.294967296E9 * hi) + $uD((lo >>> 0))) - } - }; - fromDouble__D__sjsr_RuntimeLong(value) { - const lo = this.scala$scalajs$runtime$RuntimeLong$$fromDoubleImpl__D__I(value); - return new $c_sjsr_RuntimeLong().init___I__I(lo, this.scala$scalajs$runtime$RuntimeLong$$hiReturn$f) - }; - scala$scalajs$runtime$RuntimeLong$$fromDoubleImpl__D__I(value) { - if ((value < (-9.223372036854776E18))) { - this.scala$scalajs$runtime$RuntimeLong$$hiReturn$f = (-2147483648); - return 0 - } else if ((value >= 9.223372036854776E18)) { - this.scala$scalajs$runtime$RuntimeLong$$hiReturn$f = 2147483647; - return (-1) - } else { - const rawLo = $uI((value | 0)); - const x = (value / 4.294967296E9); - const rawHi = $uI((x | 0)); - this.scala$scalajs$runtime$RuntimeLong$$hiReturn$f = (((value < 0) && (rawLo !== 0)) ? (((-1) + rawHi) | 0) : rawHi); - return rawLo - } - }; - unsigned$und$div__p1__I__I__I__I__I(alo, ahi, blo, bhi) { - if ((((-2097152) & ahi) === 0)) { - if ((((-2097152) & bhi) === 0)) { - const aDouble = ((4.294967296E9 * ahi) + $uD((alo >>> 0))); - const bDouble = ((4.294967296E9 * bhi) + $uD((blo >>> 0))); - const rDouble = (aDouble / bDouble); - const x = (rDouble / 4.294967296E9); - this.scala$scalajs$runtime$RuntimeLong$$hiReturn$f = $uI((x | 0)); - return $uI((rDouble | 0)) - } else { - this.scala$scalajs$runtime$RuntimeLong$$hiReturn$f = 0; - return 0 - } - } else if (((bhi === 0) && ((blo & (((-1) + blo) | 0)) === 0))) { - const pow = ((31 - $clz32(blo)) | 0); - this.scala$scalajs$runtime$RuntimeLong$$hiReturn$f = ((ahi >>> pow) | 0); - return (((alo >>> pow) | 0) | ((ahi << 1) << ((31 - pow) | 0))) - } else if (((blo === 0) && ((bhi & (((-1) + bhi) | 0)) === 0))) { - const pow$2 = ((31 - $clz32(bhi)) | 0); - this.scala$scalajs$runtime$RuntimeLong$$hiReturn$f = 0; - return ((ahi >>> pow$2) | 0) - } else { - return $uI(this.unsignedDivModHelper__p1__I__I__I__I__I__sjs_js_$bar(alo, ahi, blo, bhi, 0)) - } - }; - scala$scalajs$runtime$RuntimeLong$$toString__I__I__T(lo, hi) { - return ((hi === (lo >> 31)) ? ("" + lo) : ((hi < 0) ? ("-" + this.toUnsignedString__p1__I__I__T(((-lo) | 0), ((lo !== 0) ? (~hi) : ((-hi) | 0)))) : this.toUnsignedString__p1__I__I__T(lo, hi))) - }; - scala$scalajs$runtime$RuntimeLong$$compare__I__I__I__I__I(alo, ahi, blo, bhi) { - return ((ahi === bhi) ? ((alo === blo) ? 0 : ((((-2147483648) ^ alo) < ((-2147483648) ^ blo)) ? (-1) : 1)) : ((ahi < bhi) ? (-1) : 1)) - }; - unsignedDivModHelper__p1__I__I__I__I__I__sjs_js_$bar(alo, ahi, blo, bhi, ask) { - let shift = ((((bhi !== 0) ? $clz32(bhi) : ((32 + $clz32(blo)) | 0)) - ((ahi !== 0) ? $clz32(ahi) : ((32 + $clz32(alo)) | 0))) | 0); - const n = shift; - const lo = (((32 & n) === 0) ? (blo << n) : 0); - const hi = (((32 & n) === 0) ? (((((blo >>> 1) | 0) >>> ((31 - n) | 0)) | 0) | (bhi << n)) : (blo << n)); - let bShiftLo = lo; - let bShiftHi = hi; - let remLo = alo; - let remHi = ahi; - let quotLo = 0; - let quotHi = 0; - while (((shift >= 0) && (((-2097152) & remHi) !== 0))) { - const alo$1 = remLo; - const ahi$1 = remHi; - const blo$1 = bShiftLo; - const bhi$1 = bShiftHi; - if (((ahi$1 === bhi$1) ? (((-2147483648) ^ alo$1) >= ((-2147483648) ^ blo$1)) : (((-2147483648) ^ ahi$1) >= ((-2147483648) ^ bhi$1)))) { - const lo$1 = remLo; - const hi$1 = remHi; - const lo$2 = bShiftLo; - const hi$2 = bShiftHi; - const lo$3 = ((lo$1 - lo$2) | 0); - const hi$3 = ((((-2147483648) ^ lo$3) > ((-2147483648) ^ lo$1)) ? (((-1) + ((hi$1 - hi$2) | 0)) | 0) : ((hi$1 - hi$2) | 0)); - remLo = lo$3; - remHi = hi$3; - if ((shift < 32)) { - quotLo = (quotLo | (1 << shift)) - } else { - quotHi = (quotHi | (1 << shift)) - } - }; - shift = (((-1) + shift) | 0); - const lo$4 = bShiftLo; - const hi$4 = bShiftHi; - const lo$5 = (((lo$4 >>> 1) | 0) | (hi$4 << 31)); - const hi$5 = ((hi$4 >>> 1) | 0); - bShiftLo = lo$5; - bShiftHi = hi$5 - }; - const alo$2 = remLo; - const ahi$2 = remHi; - if (((ahi$2 === bhi) ? (((-2147483648) ^ alo$2) >= ((-2147483648) ^ blo)) : (((-2147483648) ^ ahi$2) >= ((-2147483648) ^ bhi)))) { - const lo$6 = remLo; - const hi$6 = remHi; - const remDouble = ((4.294967296E9 * hi$6) + $uD((lo$6 >>> 0))); - const bDouble = ((4.294967296E9 * bhi) + $uD((blo >>> 0))); - if ((ask !== 1)) { - const x = (remDouble / bDouble); - const lo$7 = $uI((x | 0)); - const x$1 = (x / 4.294967296E9); - const hi$7 = $uI((x$1 | 0)); - const lo$8 = quotLo; - const hi$8 = quotHi; - const lo$9 = ((lo$8 + lo$7) | 0); - const hi$9 = ((((-2147483648) ^ lo$9) < ((-2147483648) ^ lo$8)) ? ((1 + ((hi$8 + hi$7) | 0)) | 0) : ((hi$8 + hi$7) | 0)); - quotLo = lo$9; - quotHi = hi$9 - }; - if ((ask !== 0)) { - const rem_mod_bDouble = (remDouble % bDouble); - remLo = $uI((rem_mod_bDouble | 0)); - const x$2 = (rem_mod_bDouble / 4.294967296E9); - remHi = $uI((x$2 | 0)) - } - }; - if ((ask === 0)) { - this.scala$scalajs$runtime$RuntimeLong$$hiReturn$f = quotHi; - const a = quotLo; - return a - } else if ((ask === 1)) { - this.scala$scalajs$runtime$RuntimeLong$$hiReturn$f = remHi; - const a$1 = remLo; - return a$1 - } else { - const lo$10 = quotLo; - const hi$10 = quotHi; - const quot = ((4.294967296E9 * hi$10) + $uD((lo$10 >>> 0))); - const this$25 = remLo; - const remStr = ("" + this$25); - const a$2 = ((("" + quot) + $as_T("000000000".substring($uI(remStr.length)))) + remStr); - return a$2 - } - }; - remainderImpl__I__I__I__I__I(alo, ahi, blo, bhi) { - if (((blo | bhi) === 0)) { - throw new $c_jl_ArithmeticException().init___T("/ by zero") - }; - if ((ahi === (alo >> 31))) { - if ((bhi === (blo >> 31))) { - if ((blo !== (-1))) { - const lo = ((alo % blo) | 0); - this.scala$scalajs$runtime$RuntimeLong$$hiReturn$f = (lo >> 31); - return lo - } else { - this.scala$scalajs$runtime$RuntimeLong$$hiReturn$f = 0; - return 0 - } - } else if (((alo === (-2147483648)) && ((blo === (-2147483648)) && (bhi === 0)))) { - this.scala$scalajs$runtime$RuntimeLong$$hiReturn$f = 0; - return 0 - } else { - this.scala$scalajs$runtime$RuntimeLong$$hiReturn$f = ahi; - return alo - } - } else { - const neg = (ahi < 0); - let abs_$_lo$2; - let abs_$_hi$2; - if (neg) { - const lo$1 = ((-alo) | 0); - const hi = ((alo !== 0) ? (~ahi) : ((-ahi) | 0)); - const jsx$1_$_lo$2 = lo$1; - const jsx$1_$_hi$2 = hi; - abs_$_lo$2 = jsx$1_$_lo$2; - abs_$_hi$2 = jsx$1_$_hi$2 - } else { - const jsx$2_$_lo$2 = alo; - const jsx$2_$_hi$2 = ahi; - abs_$_lo$2 = jsx$2_$_lo$2; - abs_$_hi$2 = jsx$2_$_hi$2 - }; - const neg$1 = (bhi < 0); - let abs$1_$_lo$2; - let abs$1_$_hi$2; - if (neg$1) { - const lo$2 = ((-blo) | 0); - const hi$1 = ((blo !== 0) ? (~bhi) : ((-bhi) | 0)); - const jsx$3_$_lo$2 = lo$2; - const jsx$3_$_hi$2 = hi$1; - abs$1_$_lo$2 = jsx$3_$_lo$2; - abs$1_$_hi$2 = jsx$3_$_hi$2 - } else { - const jsx$4_$_lo$2 = blo; - const jsx$4_$_hi$2 = bhi; - abs$1_$_lo$2 = jsx$4_$_lo$2; - abs$1_$_hi$2 = jsx$4_$_hi$2 - }; - const absRLo = this.unsigned$und$percent__p1__I__I__I__I__I(abs_$_lo$2, abs_$_hi$2, abs$1_$_lo$2, abs$1_$_hi$2); - if (neg) { - const hi$2 = this.scala$scalajs$runtime$RuntimeLong$$hiReturn$f; - this.scala$scalajs$runtime$RuntimeLong$$hiReturn$f = ((absRLo !== 0) ? (~hi$2) : ((-hi$2) | 0)); - return ((-absRLo) | 0) - } else { - return absRLo - } - } - }; - unsigned$und$percent__p1__I__I__I__I__I(alo, ahi, blo, bhi) { - if ((((-2097152) & ahi) === 0)) { - if ((((-2097152) & bhi) === 0)) { - const aDouble = ((4.294967296E9 * ahi) + $uD((alo >>> 0))); - const bDouble = ((4.294967296E9 * bhi) + $uD((blo >>> 0))); - const rDouble = (aDouble % bDouble); - const x = (rDouble / 4.294967296E9); - this.scala$scalajs$runtime$RuntimeLong$$hiReturn$f = $uI((x | 0)); - return $uI((rDouble | 0)) - } else { - this.scala$scalajs$runtime$RuntimeLong$$hiReturn$f = ahi; - return alo - } - } else if (((bhi === 0) && ((blo & (((-1) + blo) | 0)) === 0))) { - this.scala$scalajs$runtime$RuntimeLong$$hiReturn$f = 0; - return (alo & (((-1) + blo) | 0)) - } else if (((blo === 0) && ((bhi & (((-1) + bhi) | 0)) === 0))) { - this.scala$scalajs$runtime$RuntimeLong$$hiReturn$f = (ahi & (((-1) + bhi) | 0)); - return alo - } else { - return $uI(this.unsignedDivModHelper__p1__I__I__I__I__I__sjs_js_$bar(alo, ahi, blo, bhi, 1)) - } - }; -} -const $d_sjsr_RuntimeLong$ = new $TypeData().initClass({ - sjsr_RuntimeLong$: 0 -}, false, "scala.scalajs.runtime.RuntimeLong$", { - sjsr_RuntimeLong$: 1, - O: 1, - s_Serializable: 1, - Ljava_io_Serializable: 1 -}); -$c_sjsr_RuntimeLong$.prototype.$classData = $d_sjsr_RuntimeLong$; -let $n_sjsr_RuntimeLong$ = (void 0); -const $m_sjsr_RuntimeLong$ = (function() { - if ((!$n_sjsr_RuntimeLong$)) { - $n_sjsr_RuntimeLong$ = new $c_sjsr_RuntimeLong$().init___() - }; - return $n_sjsr_RuntimeLong$ -}); -const $is_T = (function(obj) { - return ((typeof obj) === "string") -}); -const $as_T = (function(obj) { - return (($is_T(obj) || (obj === null)) ? obj : $throwClassCastException(obj, "java.lang.String")) -}); -const $isArrayOf_T = (function(obj, depth) { - return (!(!(((obj && obj.$classData) && (obj.$classData.arrayDepth === depth)) && obj.$classData.arrayBase.ancestors.T))) -}); -const $asArrayOf_T = (function(obj, depth) { - return (($isArrayOf_T(obj, depth) || (obj === null)) ? obj : $throwArrayCastException(obj, "Ljava.lang.String;", depth)) -}); -const $d_T = new $TypeData().initClass({ - T: 0 -}, false, "java.lang.String", { - T: 1, - O: 1, - Ljava_io_Serializable: 1, - jl_CharSequence: 1, - jl_Comparable: 1 -}, (void 0), (void 0), $is_T); -const $d_jl_Byte = new $TypeData().initClass({ - jl_Byte: 0 -}, false, "java.lang.Byte", { - jl_Byte: 1, - jl_Number: 1, - O: 1, - Ljava_io_Serializable: 1, - jl_Comparable: 1 -}, (void 0), (void 0), (function(x) { - return $isByte(x) -})); -class $c_jl_CloneNotSupportedException extends $c_jl_Exception { - init___() { - $c_jl_Throwable.prototype.init___T__jl_Throwable.call(this, null, null); - return this - }; -} -const $d_jl_CloneNotSupportedException = new $TypeData().initClass({ - jl_CloneNotSupportedException: 0 -}, false, "java.lang.CloneNotSupportedException", { - jl_CloneNotSupportedException: 1, - jl_Exception: 1, - jl_Throwable: 1, - O: 1, - Ljava_io_Serializable: 1 -}); -$c_jl_CloneNotSupportedException.prototype.$classData = $d_jl_CloneNotSupportedException; -const $isArrayOf_jl_Double = (function(obj, depth) { - return (!(!(((obj && obj.$classData) && (obj.$classData.arrayDepth === depth)) && obj.$classData.arrayBase.ancestors.jl_Double))) -}); -const $asArrayOf_jl_Double = (function(obj, depth) { - return (($isArrayOf_jl_Double(obj, depth) || (obj === null)) ? obj : $throwArrayCastException(obj, "Ljava.lang.Double;", depth)) -}); -const $d_jl_Double = new $TypeData().initClass({ - jl_Double: 0 -}, false, "java.lang.Double", { - jl_Double: 1, - jl_Number: 1, - O: 1, - Ljava_io_Serializable: 1, - jl_Comparable: 1 -}, (void 0), (void 0), (function(x) { - return ((typeof x) === "number") -})); -const $d_jl_Float = new $TypeData().initClass({ - jl_Float: 0 -}, false, "java.lang.Float", { - jl_Float: 1, - jl_Number: 1, - O: 1, - Ljava_io_Serializable: 1, - jl_Comparable: 1 -}, (void 0), (void 0), (function(x) { - return $isFloat(x) -})); -const $d_jl_Integer = new $TypeData().initClass({ - jl_Integer: 0 -}, false, "java.lang.Integer", { - jl_Integer: 1, - jl_Number: 1, - O: 1, - Ljava_io_Serializable: 1, - jl_Comparable: 1 -}, (void 0), (void 0), (function(x) { - return $isInt(x) -})); -const $isArrayOf_jl_Long = (function(obj, depth) { - return (!(!(((obj && obj.$classData) && (obj.$classData.arrayDepth === depth)) && obj.$classData.arrayBase.ancestors.jl_Long))) -}); -const $asArrayOf_jl_Long = (function(obj, depth) { - return (($isArrayOf_jl_Long(obj, depth) || (obj === null)) ? obj : $throwArrayCastException(obj, "Ljava.lang.Long;", depth)) -}); -const $d_jl_Long = new $TypeData().initClass({ - jl_Long: 0 -}, false, "java.lang.Long", { - jl_Long: 1, - jl_Number: 1, - O: 1, - Ljava_io_Serializable: 1, - jl_Comparable: 1 -}, (void 0), (void 0), (function(x) { - return $is_sjsr_RuntimeLong(x) -})); -class $c_jl_RuntimeException extends $c_jl_Exception { -} -const $d_jl_Short = new $TypeData().initClass({ - jl_Short: 0 -}, false, "java.lang.Short", { - jl_Short: 1, - jl_Number: 1, - O: 1, - Ljava_io_Serializable: 1, - jl_Comparable: 1 -}, (void 0), (void 0), (function(x) { - return $isShort(x) -})); -class $c_jl_StringBuilder extends $c_O { - constructor() { - super(); - this.java$lang$StringBuilder$$content$f = null - }; - init___() { - this.java$lang$StringBuilder$$content$f = ""; - return this - }; - toString__T() { - return this.java$lang$StringBuilder$$content$f - }; - init___I(initialCapacity) { - $c_jl_StringBuilder.prototype.init___.call(this); - if ((initialCapacity < 0)) { - throw new $c_jl_NegativeArraySizeException().init___() - }; - return this - }; - length__I() { - const thiz = this.java$lang$StringBuilder$$content$f; - return $uI(thiz.length) - }; - charAt__I__C(index) { - const thiz = this.java$lang$StringBuilder$$content$f; - return (65535 & $uI(thiz.charCodeAt(index))) - }; -} -const $d_jl_StringBuilder = new $TypeData().initClass({ - jl_StringBuilder: 0 -}, false, "java.lang.StringBuilder", { - jl_StringBuilder: 1, - O: 1, - jl_CharSequence: 1, - jl_Appendable: 1, - Ljava_io_Serializable: 1 -}); -$c_jl_StringBuilder.prototype.$classData = $d_jl_StringBuilder; -class $c_sc_AbstractIterator extends $c_O { - toString__T() { - return $f_sc_Iterator__toString__T(this) - }; - foreach__F1__V(f) { - $f_sc_Iterator__foreach__F1__V(this, f) - }; -} -class $c_sjsr_RuntimeLong extends $c_jl_Number { - constructor() { - super(); - this.lo$2 = 0; - this.hi$2 = 0 - }; - longValue__J() { - return $uJ(this) - }; - $$bar__sjsr_RuntimeLong__sjsr_RuntimeLong(b) { - return new $c_sjsr_RuntimeLong().init___I__I((this.lo$2 | b.lo$2), (this.hi$2 | b.hi$2)) - }; - $$greater$eq__sjsr_RuntimeLong__Z(b) { - const ahi = this.hi$2; - const bhi = b.hi$2; - return ((ahi === bhi) ? (((-2147483648) ^ this.lo$2) >= ((-2147483648) ^ b.lo$2)) : (ahi > bhi)) - }; - byteValue__B() { - return ((this.lo$2 << 24) >> 24) - }; - equals__O__Z(that) { - if ($is_sjsr_RuntimeLong(that)) { - const x2 = $as_sjsr_RuntimeLong(that); - return ((this.lo$2 === x2.lo$2) && (this.hi$2 === x2.hi$2)) - } else { - return false - } - }; - $$less__sjsr_RuntimeLong__Z(b) { - const ahi = this.hi$2; - const bhi = b.hi$2; - return ((ahi === bhi) ? (((-2147483648) ^ this.lo$2) < ((-2147483648) ^ b.lo$2)) : (ahi < bhi)) - }; - $$times__sjsr_RuntimeLong__sjsr_RuntimeLong(b) { - const alo = this.lo$2; - const blo = b.lo$2; - const a0 = (65535 & alo); - const a1 = ((alo >>> 16) | 0); - const b0 = (65535 & blo); - const b1 = ((blo >>> 16) | 0); - const a0b0 = $imul(a0, b0); - const a1b0 = $imul(a1, b0); - const a0b1 = $imul(a0, b1); - const lo = ((a0b0 + (((a1b0 + a0b1) | 0) << 16)) | 0); - const c1part = ((((a0b0 >>> 16) | 0) + a0b1) | 0); - const hi = (((((((($imul(alo, b.hi$2) + $imul(this.hi$2, blo)) | 0) + $imul(a1, b1)) | 0) + ((c1part >>> 16) | 0)) | 0) + (((((65535 & c1part) + a1b0) | 0) >>> 16) | 0)) | 0); - return new $c_sjsr_RuntimeLong().init___I__I(lo, hi) - }; - init___I__I__I(l, m, h) { - $c_sjsr_RuntimeLong.prototype.init___I__I.call(this, (l | (m << 22)), ((m >> 10) | (h << 12))); - return this - }; - $$percent__sjsr_RuntimeLong__sjsr_RuntimeLong(b) { - const this$1 = $m_sjsr_RuntimeLong$(); - const lo = this$1.remainderImpl__I__I__I__I__I(this.lo$2, this.hi$2, b.lo$2, b.hi$2); - return new $c_sjsr_RuntimeLong().init___I__I(lo, this$1.scala$scalajs$runtime$RuntimeLong$$hiReturn$f) - }; - toString__T() { - return $m_sjsr_RuntimeLong$().scala$scalajs$runtime$RuntimeLong$$toString__I__I__T(this.lo$2, this.hi$2) - }; - init___I__I(lo, hi) { - this.lo$2 = lo; - this.hi$2 = hi; - return this - }; - compareTo__O__I(x$1) { - const that = $as_sjsr_RuntimeLong(x$1); - return $m_sjsr_RuntimeLong$().scala$scalajs$runtime$RuntimeLong$$compare__I__I__I__I__I(this.lo$2, this.hi$2, that.lo$2, that.hi$2) - }; - $$less$eq__sjsr_RuntimeLong__Z(b) { - const ahi = this.hi$2; - const bhi = b.hi$2; - return ((ahi === bhi) ? (((-2147483648) ^ this.lo$2) <= ((-2147483648) ^ b.lo$2)) : (ahi < bhi)) - }; - $$amp__sjsr_RuntimeLong__sjsr_RuntimeLong(b) { - return new $c_sjsr_RuntimeLong().init___I__I((this.lo$2 & b.lo$2), (this.hi$2 & b.hi$2)) - }; - $$greater$greater$greater__I__sjsr_RuntimeLong(n) { - return new $c_sjsr_RuntimeLong().init___I__I((((32 & n) === 0) ? (((this.lo$2 >>> n) | 0) | ((this.hi$2 << 1) << ((31 - n) | 0))) : ((this.hi$2 >>> n) | 0)), (((32 & n) === 0) ? ((this.hi$2 >>> n) | 0) : 0)) - }; - $$greater__sjsr_RuntimeLong__Z(b) { - const ahi = this.hi$2; - const bhi = b.hi$2; - return ((ahi === bhi) ? (((-2147483648) ^ this.lo$2) > ((-2147483648) ^ b.lo$2)) : (ahi > bhi)) - }; - $$less$less__I__sjsr_RuntimeLong(n) { - return new $c_sjsr_RuntimeLong().init___I__I((((32 & n) === 0) ? (this.lo$2 << n) : 0), (((32 & n) === 0) ? (((((this.lo$2 >>> 1) | 0) >>> ((31 - n) | 0)) | 0) | (this.hi$2 << n)) : (this.lo$2 << n))) - }; - init___I(value) { - $c_sjsr_RuntimeLong.prototype.init___I__I.call(this, value, (value >> 31)); - return this - }; - toInt__I() { - return this.lo$2 - }; - notEquals__sjsr_RuntimeLong__Z(b) { - return (!((this.lo$2 === b.lo$2) && (this.hi$2 === b.hi$2))) - }; - unary$und$minus__sjsr_RuntimeLong() { - const lo = this.lo$2; - const hi = this.hi$2; - return new $c_sjsr_RuntimeLong().init___I__I(((-lo) | 0), ((lo !== 0) ? (~hi) : ((-hi) | 0))) - }; - $$plus__sjsr_RuntimeLong__sjsr_RuntimeLong(b) { - const alo = this.lo$2; - const ahi = this.hi$2; - const bhi = b.hi$2; - const lo = ((alo + b.lo$2) | 0); - return new $c_sjsr_RuntimeLong().init___I__I(lo, ((((-2147483648) ^ lo) < ((-2147483648) ^ alo)) ? ((1 + ((ahi + bhi) | 0)) | 0) : ((ahi + bhi) | 0))) - }; - shortValue__S() { - return ((this.lo$2 << 16) >> 16) - }; - $$greater$greater__I__sjsr_RuntimeLong(n) { - return new $c_sjsr_RuntimeLong().init___I__I((((32 & n) === 0) ? (((this.lo$2 >>> n) | 0) | ((this.hi$2 << 1) << ((31 - n) | 0))) : (this.hi$2 >> n)), (((32 & n) === 0) ? (this.hi$2 >> n) : (this.hi$2 >> 31))) - }; - toDouble__D() { - return $m_sjsr_RuntimeLong$().scala$scalajs$runtime$RuntimeLong$$toDouble__I__I__D(this.lo$2, this.hi$2) - }; - $$div__sjsr_RuntimeLong__sjsr_RuntimeLong(b) { - const this$1 = $m_sjsr_RuntimeLong$(); - const lo = this$1.divideImpl__I__I__I__I__I(this.lo$2, this.hi$2, b.lo$2, b.hi$2); - return new $c_sjsr_RuntimeLong().init___I__I(lo, this$1.scala$scalajs$runtime$RuntimeLong$$hiReturn$f) - }; - doubleValue__D() { - return $m_sjsr_RuntimeLong$().scala$scalajs$runtime$RuntimeLong$$toDouble__I__I__D(this.lo$2, this.hi$2) - }; - hashCode__I() { - return (this.lo$2 ^ this.hi$2) - }; - intValue__I() { - return this.lo$2 - }; - unary$und$tilde__sjsr_RuntimeLong() { - return new $c_sjsr_RuntimeLong().init___I__I((~this.lo$2), (~this.hi$2)) - }; - compareTo__jl_Long__I(that) { - return $m_sjsr_RuntimeLong$().scala$scalajs$runtime$RuntimeLong$$compare__I__I__I__I__I(this.lo$2, this.hi$2, that.lo$2, that.hi$2) - }; - floatValue__F() { - return $fround($m_sjsr_RuntimeLong$().scala$scalajs$runtime$RuntimeLong$$toDouble__I__I__D(this.lo$2, this.hi$2)) - }; - $$minus__sjsr_RuntimeLong__sjsr_RuntimeLong(b) { - const alo = this.lo$2; - const ahi = this.hi$2; - const bhi = b.hi$2; - const lo = ((alo - b.lo$2) | 0); - return new $c_sjsr_RuntimeLong().init___I__I(lo, ((((-2147483648) ^ lo) > ((-2147483648) ^ alo)) ? (((-1) + ((ahi - bhi) | 0)) | 0) : ((ahi - bhi) | 0))) - }; - $$up__sjsr_RuntimeLong__sjsr_RuntimeLong(b) { - return new $c_sjsr_RuntimeLong().init___I__I((this.lo$2 ^ b.lo$2), (this.hi$2 ^ b.hi$2)) - }; - equals__sjsr_RuntimeLong__Z(b) { - return ((this.lo$2 === b.lo$2) && (this.hi$2 === b.hi$2)) - }; -} -const $is_sjsr_RuntimeLong = (function(obj) { - return (!(!((obj && obj.$classData) && obj.$classData.ancestors.sjsr_RuntimeLong))) -}); -const $as_sjsr_RuntimeLong = (function(obj) { - return (($is_sjsr_RuntimeLong(obj) || (obj === null)) ? obj : $throwClassCastException(obj, "scala.scalajs.runtime.RuntimeLong")) -}); -const $isArrayOf_sjsr_RuntimeLong = (function(obj, depth) { - return (!(!(((obj && obj.$classData) && (obj.$classData.arrayDepth === depth)) && obj.$classData.arrayBase.ancestors.sjsr_RuntimeLong))) -}); -const $asArrayOf_sjsr_RuntimeLong = (function(obj, depth) { - return (($isArrayOf_sjsr_RuntimeLong(obj, depth) || (obj === null)) ? obj : $throwArrayCastException(obj, "Lscala.scalajs.runtime.RuntimeLong;", depth)) -}); -const $d_sjsr_RuntimeLong = new $TypeData().initClass({ - sjsr_RuntimeLong: 0 -}, false, "scala.scalajs.runtime.RuntimeLong", { - sjsr_RuntimeLong: 1, - jl_Number: 1, - O: 1, - Ljava_io_Serializable: 1, - jl_Comparable: 1 -}); -$c_sjsr_RuntimeLong.prototype.$classData = $d_sjsr_RuntimeLong; -class $c_jl_ArithmeticException extends $c_jl_RuntimeException { - init___T(s) { - $c_jl_Throwable.prototype.init___T__jl_Throwable.call(this, s, null); - return this - }; -} -const $d_jl_ArithmeticException = new $TypeData().initClass({ - jl_ArithmeticException: 0 -}, false, "java.lang.ArithmeticException", { - jl_ArithmeticException: 1, - jl_RuntimeException: 1, - jl_Exception: 1, - jl_Throwable: 1, - O: 1, - Ljava_io_Serializable: 1 -}); -$c_jl_ArithmeticException.prototype.$classData = $d_jl_ArithmeticException; -class $c_jl_ClassCastException extends $c_jl_RuntimeException { - init___T(s) { - $c_jl_Throwable.prototype.init___T__jl_Throwable.call(this, s, null); - return this - }; -} -const $d_jl_ClassCastException = new $TypeData().initClass({ - jl_ClassCastException: 0 -}, false, "java.lang.ClassCastException", { - jl_ClassCastException: 1, - jl_RuntimeException: 1, - jl_Exception: 1, - jl_Throwable: 1, - O: 1, - Ljava_io_Serializable: 1 -}); -$c_jl_ClassCastException.prototype.$classData = $d_jl_ClassCastException; -class $c_jl_IndexOutOfBoundsException extends $c_jl_RuntimeException { - init___T(s) { - $c_jl_Throwable.prototype.init___T__jl_Throwable.call(this, s, null); - return this - }; -} -const $d_jl_IndexOutOfBoundsException = new $TypeData().initClass({ - jl_IndexOutOfBoundsException: 0 -}, false, "java.lang.IndexOutOfBoundsException", { - jl_IndexOutOfBoundsException: 1, - jl_RuntimeException: 1, - jl_Exception: 1, - jl_Throwable: 1, - O: 1, - Ljava_io_Serializable: 1 -}); -$c_jl_IndexOutOfBoundsException.prototype.$classData = $d_jl_IndexOutOfBoundsException; -class $c_jl_NegativeArraySizeException extends $c_jl_RuntimeException { - init___() { - $c_jl_Throwable.prototype.init___T__jl_Throwable.call(this, null, null); - return this - }; -} -const $d_jl_NegativeArraySizeException = new $TypeData().initClass({ - jl_NegativeArraySizeException: 0 -}, false, "java.lang.NegativeArraySizeException", { - jl_NegativeArraySizeException: 1, - jl_RuntimeException: 1, - jl_Exception: 1, - jl_Throwable: 1, - O: 1, - Ljava_io_Serializable: 1 -}); -$c_jl_NegativeArraySizeException.prototype.$classData = $d_jl_NegativeArraySizeException; -class $c_jl_NullPointerException extends $c_jl_RuntimeException { - init___() { - $c_jl_Throwable.prototype.init___T__jl_Throwable.call(this, null, null); - return this - }; -} -const $d_jl_NullPointerException = new $TypeData().initClass({ - jl_NullPointerException: 0 -}, false, "java.lang.NullPointerException", { - jl_NullPointerException: 1, - jl_RuntimeException: 1, - jl_Exception: 1, - jl_Throwable: 1, - O: 1, - Ljava_io_Serializable: 1 -}); -$c_jl_NullPointerException.prototype.$classData = $d_jl_NullPointerException; -class $c_ju_NoSuchElementException extends $c_jl_RuntimeException { - init___T(s) { - $c_jl_Throwable.prototype.init___T__jl_Throwable.call(this, s, null); - return this - }; -} -const $d_ju_NoSuchElementException = new $TypeData().initClass({ - ju_NoSuchElementException: 0 -}, false, "java.util.NoSuchElementException", { - ju_NoSuchElementException: 1, - jl_RuntimeException: 1, - jl_Exception: 1, - jl_Throwable: 1, - O: 1, - Ljava_io_Serializable: 1 -}); -$c_ju_NoSuchElementException.prototype.$classData = $d_ju_NoSuchElementException; -class $c_s_Option extends $c_O { -} -class $c_sc_Iterator$$anon$2 extends $c_sc_AbstractIterator { - init___() { - return this - }; - next__O() { - this.next__sr_Nothing$() - }; - next__sr_Nothing$() { - throw new $c_ju_NoSuchElementException().init___T("next on empty iterator") - }; - hasNext__Z() { - return false - }; -} -const $d_sc_Iterator$$anon$2 = new $TypeData().initClass({ - sc_Iterator$$anon$2: 0 -}, false, "scala.collection.Iterator$$anon$2", { - sc_Iterator$$anon$2: 1, - sc_AbstractIterator: 1, - O: 1, - sc_Iterator: 1, - sc_TraversableOnce: 1, - sc_GenTraversableOnce: 1 -}); -$c_sc_Iterator$$anon$2.prototype.$classData = $d_sc_Iterator$$anon$2; -class $c_sr_ScalaRunTime$$anon$1 extends $c_sc_AbstractIterator { - constructor() { - super(); - this.c$2 = 0; - this.cmax$2 = 0; - this.x$2$2 = null - }; - next__O() { - const result = this.x$2$2.productElement__I__O(this.c$2); - this.c$2 = ((1 + this.c$2) | 0); - return result - }; - init___s_Product(x$2) { - this.x$2$2 = x$2; - this.c$2 = 0; - this.cmax$2 = x$2.productArity__I(); - return this - }; - hasNext__Z() { - return (this.c$2 < this.cmax$2) - }; -} -const $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; -class $c_Lorg_scalalang_utils_OS$Linux$ extends $c_O { - constructor() { - super(); - this.navigator$1 = null; - this.label$1 = null - }; - init___() { - this.navigator$1 = "Linux"; - this.label$1 = "linux"; - return this - }; - productPrefix__T() { - return "Linux" - }; - productArity__I() { - return 0 - }; - productElement__I__O(x$1) { - throw new $c_jl_IndexOutOfBoundsException().init___T(("" + x$1)) - }; - label__T() { - return this.label$1 - }; - toString__T() { - return "Linux" - }; - navigator__T() { - return this.navigator$1 - }; - hashCode__I() { - return 73425108 - }; - productIterator__sc_Iterator() { - return new $c_sr_ScalaRunTime$$anon$1().init___s_Product(this) - }; -} -const $d_Lorg_scalalang_utils_OS$Linux$ = new $TypeData().initClass({ - Lorg_scalalang_utils_OS$Linux$: 0 -}, false, "org.scalalang.utils.OS$Linux$", { - Lorg_scalalang_utils_OS$Linux$: 1, - O: 1, - Lorg_scalalang_utils_OS: 1, - s_Product: 1, - s_Equals: 1, - s_Serializable: 1, - Ljava_io_Serializable: 1 -}); -$c_Lorg_scalalang_utils_OS$Linux$.prototype.$classData = $d_Lorg_scalalang_utils_OS$Linux$; -let $n_Lorg_scalalang_utils_OS$Linux$ = (void 0); -const $m_Lorg_scalalang_utils_OS$Linux$ = (function() { - if ((!$n_Lorg_scalalang_utils_OS$Linux$)) { - $n_Lorg_scalalang_utils_OS$Linux$ = new $c_Lorg_scalalang_utils_OS$Linux$().init___() - }; - return $n_Lorg_scalalang_utils_OS$Linux$ -}); -class $c_Lorg_scalalang_utils_OS$Mac$ extends $c_O { - constructor() { - super(); - this.navigator$1 = null; - this.label$1 = null - }; - init___() { - this.navigator$1 = "Mac"; - this.label$1 = "osx"; - return this - }; - productPrefix__T() { - return "Mac" - }; - productArity__I() { - return 0 - }; - productElement__I__O(x$1) { - throw new $c_jl_IndexOutOfBoundsException().init___T(("" + x$1)) - }; - label__T() { - return this.label$1 - }; - toString__T() { - return "Mac" - }; - navigator__T() { - return this.navigator$1 - }; - hashCode__I() { - return 77103 - }; - productIterator__sc_Iterator() { - return new $c_sr_ScalaRunTime$$anon$1().init___s_Product(this) - }; -} -const $d_Lorg_scalalang_utils_OS$Mac$ = new $TypeData().initClass({ - Lorg_scalalang_utils_OS$Mac$: 0 -}, false, "org.scalalang.utils.OS$Mac$", { - Lorg_scalalang_utils_OS$Mac$: 1, - O: 1, - Lorg_scalalang_utils_OS: 1, - s_Product: 1, - s_Equals: 1, - s_Serializable: 1, - Ljava_io_Serializable: 1 -}); -$c_Lorg_scalalang_utils_OS$Mac$.prototype.$classData = $d_Lorg_scalalang_utils_OS$Mac$; -let $n_Lorg_scalalang_utils_OS$Mac$ = (void 0); -const $m_Lorg_scalalang_utils_OS$Mac$ = (function() { - if ((!$n_Lorg_scalalang_utils_OS$Mac$)) { - $n_Lorg_scalalang_utils_OS$Mac$ = new $c_Lorg_scalalang_utils_OS$Mac$().init___() - }; - return $n_Lorg_scalalang_utils_OS$Mac$ -}); -class $c_Lorg_scalalang_utils_OS$Unix$ extends $c_O { - constructor() { - super(); - this.navigator$1 = null; - this.label$1 = null - }; - init___() { - this.navigator$1 = "X11"; - this.label$1 = "unix"; - return this - }; - productPrefix__T() { - return "Unix" - }; - productArity__I() { - return 0 - }; - productElement__I__O(x$1) { - throw new $c_jl_IndexOutOfBoundsException().init___T(("" + x$1)) - }; - label__T() { - return this.label$1 - }; - toString__T() { - return "Unix" - }; - navigator__T() { - return this.navigator$1 - }; - hashCode__I() { - return 2641320 - }; - productIterator__sc_Iterator() { - return new $c_sr_ScalaRunTime$$anon$1().init___s_Product(this) - }; -} -const $d_Lorg_scalalang_utils_OS$Unix$ = new $TypeData().initClass({ - Lorg_scalalang_utils_OS$Unix$: 0 -}, false, "org.scalalang.utils.OS$Unix$", { - Lorg_scalalang_utils_OS$Unix$: 1, - O: 1, - Lorg_scalalang_utils_OS: 1, - s_Product: 1, - s_Equals: 1, - s_Serializable: 1, - Ljava_io_Serializable: 1 -}); -$c_Lorg_scalalang_utils_OS$Unix$.prototype.$classData = $d_Lorg_scalalang_utils_OS$Unix$; -let $n_Lorg_scalalang_utils_OS$Unix$ = (void 0); -const $m_Lorg_scalalang_utils_OS$Unix$ = (function() { - if ((!$n_Lorg_scalalang_utils_OS$Unix$)) { - $n_Lorg_scalalang_utils_OS$Unix$ = new $c_Lorg_scalalang_utils_OS$Unix$().init___() - }; - return $n_Lorg_scalalang_utils_OS$Unix$ -}); -class $c_Lorg_scalalang_utils_OS$Windows$ extends $c_O { - constructor() { - super(); - this.navigator$1 = null; - this.label$1 = null - }; - init___() { - this.navigator$1 = "Win"; - this.label$1 = "windows"; - return this - }; - productPrefix__T() { - return "Windows" - }; - productArity__I() { - return 0 - }; - productElement__I__O(x$1) { - throw new $c_jl_IndexOutOfBoundsException().init___T(("" + x$1)) - }; - label__T() { - return this.label$1 - }; - toString__T() { - return "Windows" - }; - navigator__T() { - return this.navigator$1 - }; - hashCode__I() { - return (-1280820637) - }; - productIterator__sc_Iterator() { - return new $c_sr_ScalaRunTime$$anon$1().init___s_Product(this) - }; -} -const $d_Lorg_scalalang_utils_OS$Windows$ = new $TypeData().initClass({ - Lorg_scalalang_utils_OS$Windows$: 0 -}, false, "org.scalalang.utils.OS$Windows$", { - Lorg_scalalang_utils_OS$Windows$: 1, - O: 1, - Lorg_scalalang_utils_OS: 1, - s_Product: 1, - s_Equals: 1, - s_Serializable: 1, - Ljava_io_Serializable: 1 -}); -$c_Lorg_scalalang_utils_OS$Windows$.prototype.$classData = $d_Lorg_scalalang_utils_OS$Windows$; -let $n_Lorg_scalalang_utils_OS$Windows$ = (void 0); -const $m_Lorg_scalalang_utils_OS$Windows$ = (function() { - if ((!$n_Lorg_scalalang_utils_OS$Windows$)) { - $n_Lorg_scalalang_utils_OS$Windows$ = new $c_Lorg_scalalang_utils_OS$Windows$().init___() - }; - return $n_Lorg_scalalang_utils_OS$Windows$ -}); -class $c_jl_ArrayIndexOutOfBoundsException extends $c_jl_IndexOutOfBoundsException { - init___T(s) { - $c_jl_Throwable.prototype.init___T__jl_Throwable.call(this, s, null); - return this - }; -} -const $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_jl_ArrayIndexOutOfBoundsException.prototype.$classData = $d_jl_ArrayIndexOutOfBoundsException; -class $c_s_None$ extends $c_s_Option { - init___() { - return this - }; - productPrefix__T() { - return "None" - }; - productArity__I() { - return 0 - }; - isEmpty__Z() { - return true - }; - get__O() { - this.get__sr_Nothing$() - }; - productElement__I__O(x$1) { - throw new $c_jl_IndexOutOfBoundsException().init___T(("" + x$1)) - }; - toString__T() { - return "None" - }; - get__sr_Nothing$() { - throw new $c_ju_NoSuchElementException().init___T("None.get") - }; - hashCode__I() { - return 2433880 - }; - productIterator__sc_Iterator() { - return new $c_sr_ScalaRunTime$$anon$1().init___s_Product(this) - }; -} -const $d_s_None$ = new $TypeData().initClass({ - s_None$: 0 -}, false, "scala.None$", { - s_None$: 1, - s_Option: 1, - O: 1, - s_Product: 1, - s_Equals: 1, - s_Serializable: 1, - Ljava_io_Serializable: 1 -}); -$c_s_None$.prototype.$classData = $d_s_None$; -let $n_s_None$ = (void 0); -const $m_s_None$ = (function() { - if ((!$n_s_None$)) { - $n_s_None$ = new $c_s_None$().init___() - }; - return $n_s_None$ -}); -class $c_s_Some extends $c_s_Option { - constructor() { - super(); - this.value$2 = null - }; - productPrefix__T() { - return "Some" - }; - productArity__I() { - return 1 - }; - isEmpty__Z() { - return false - }; - productElement__I__O(x$1) { - switch (x$1) { - case 0: { - return this.value$2; - break - } - default: { - throw new $c_jl_IndexOutOfBoundsException().init___T(("" + x$1)) - } - } - }; - get__O() { - return this.value$2 - }; - toString__T() { - return $m_sr_ScalaRunTime$().$$undtoString__s_Product__T(this) - }; - init___O(value) { - this.value$2 = value; - return this - }; - hashCode__I() { - const this$2 = $m_s_util_hashing_MurmurHash3$(); - return this$2.productHash__s_Product__I__I(this, (-889275714)) - }; - productIterator__sc_Iterator() { - return new $c_sr_ScalaRunTime$$anon$1().init___s_Product(this) - }; -} -const $d_s_Some = new $TypeData().initClass({ - s_Some: 0 -}, false, "scala.Some", { - s_Some: 1, - s_Option: 1, - O: 1, - s_Product: 1, - s_Equals: 1, - s_Serializable: 1, - Ljava_io_Serializable: 1 -}); -$c_s_Some.prototype.$classData = $d_s_Some; -const $f_sc_TraversableLike__isPartLikelySynthetic$1__psc_TraversableLike__T__I__Z = (function($thiz, fqn$1, partStart$1) { - const firstChar = (65535 & $uI(fqn$1.charCodeAt(partStart$1))); - return (((firstChar > 90) && (firstChar < 127)) || (firstChar < 65)) -}); -const $f_sc_TraversableLike__toString__T = (function($thiz) { - const start = ($thiz.stringPrefix__T() + "("); - return $f_sc_TraversableOnce__mkString__T__T__T__T($thiz, start, ", ", ")") -}); -const $f_sc_TraversableLike__stringPrefix__T = (function($thiz) { - const this$1 = $thiz.repr__O(); - const fqn = $objectGetClass(this$1).getName__T(); - let pos = (((-1) + $uI(fqn.length)) | 0); - while (true) { - let jsx$1; - if ((pos !== (-1))) { - const index = pos; - jsx$1 = ((65535 & $uI(fqn.charCodeAt(index))) === 36) - } else { - jsx$1 = false - }; - if (jsx$1) { - pos = (((-1) + pos) | 0) - } else { - break - } - }; - let jsx$2; - if ((pos === (-1))) { - jsx$2 = true - } else { - const index$1 = pos; - jsx$2 = ((65535 & $uI(fqn.charCodeAt(index$1))) === 46) - }; - if (jsx$2) { - return "" - }; - let result = ""; - while (true) { - const partEnd = ((1 + pos) | 0); - while (true) { - let jsx$4; - if ((pos !== (-1))) { - const index$2 = pos; - jsx$4 = ((65535 & $uI(fqn.charCodeAt(index$2))) <= 57) - } else { - jsx$4 = false - }; - let jsx$3; - if (jsx$4) { - const index$3 = pos; - jsx$3 = ((65535 & $uI(fqn.charCodeAt(index$3))) >= 48) - } else { - jsx$3 = false - }; - if (jsx$3) { - pos = (((-1) + pos) | 0) - } else { - break - } - }; - const lastNonDigit = pos; - while (true) { - let jsx$6; - if ((pos !== (-1))) { - const index$4 = pos; - jsx$6 = ((65535 & $uI(fqn.charCodeAt(index$4))) !== 36) - } else { - jsx$6 = false - }; - let jsx$5; - if (jsx$6) { - const index$5 = pos; - jsx$5 = ((65535 & $uI(fqn.charCodeAt(index$5))) !== 46) - } else { - jsx$5 = false - }; - if (jsx$5) { - pos = (((-1) + pos) | 0) - } else { - break - } - }; - const partStart = ((1 + pos) | 0); - if (((pos === lastNonDigit) && (partEnd !== $uI(fqn.length)))) { - return result - }; - while (true) { - let jsx$7; - if ((pos !== (-1))) { - const index$6 = pos; - jsx$7 = ((65535 & $uI(fqn.charCodeAt(index$6))) === 36) - } else { - jsx$7 = false - }; - if (jsx$7) { - pos = (((-1) + pos) | 0) - } else { - break - } - }; - let atEnd; - if ((pos === (-1))) { - atEnd = true - } else { - const index$7 = pos; - atEnd = ((65535 & $uI(fqn.charCodeAt(index$7))) === 46) - }; - if ((atEnd || (!$f_sc_TraversableLike__isPartLikelySynthetic$1__psc_TraversableLike__T__I__Z($thiz, fqn, partStart)))) { - const part = $as_T(fqn.substring(partStart, partEnd)); - const thiz = result; - if ((thiz === null)) { - throw new $c_jl_NullPointerException().init___() - }; - if ((thiz === "")) { - result = part - } else { - result = ((("" + part) + new $c_jl_Character().init___C(46)) + result) - }; - if (atEnd) { - return result - } - } - } -}); -class $c_sjsr_UndefinedBehaviorError extends $c_jl_Error { - fillInStackTrace__jl_Throwable() { - return $c_jl_Throwable.prototype.fillInStackTrace__jl_Throwable.call(this) - }; - init___jl_Throwable(cause) { - $c_sjsr_UndefinedBehaviorError.prototype.init___T__jl_Throwable.call(this, ("An undefined behavior was detected" + ((cause === null) ? "" : (": " + cause.getMessage__T()))), cause); - return this - }; - init___T__jl_Throwable(message, cause) { - $c_jl_Throwable.prototype.init___T__jl_Throwable.call(this, message, cause); - return this - }; -} -const $d_sjsr_UndefinedBehaviorError = new $TypeData().initClass({ - sjsr_UndefinedBehaviorError: 0 -}, false, "scala.scalajs.runtime.UndefinedBehaviorError", { - sjsr_UndefinedBehaviorError: 1, - jl_Error: 1, - jl_Throwable: 1, - O: 1, - Ljava_io_Serializable: 1, - s_util_control_ControlThrowable: 1, - s_util_control_NoStackTrace: 1 -}); -$c_sjsr_UndefinedBehaviorError.prototype.$classData = $d_sjsr_UndefinedBehaviorError; -class $c_sc_IndexedSeqLike$Elements extends $c_sc_AbstractIterator { - constructor() { - super(); - this.end$2 = 0; - this.index$2 = 0; - this.$$outer$2 = null - }; - next__O() { - if ((this.index$2 >= this.end$2)) { - $m_sc_Iterator$().empty$1.next__O() - }; - const x = this.$$outer$2.apply__I__O(this.index$2); - this.index$2 = ((1 + this.index$2) | 0); - return x - }; - init___sc_IndexedSeqLike__I__I($$outer, start, end) { - this.end$2 = end; - if (($$outer === null)) { - throw $m_sjsr_package$().unwrapJavaScriptException__jl_Throwable__O(null) - } else { - this.$$outer$2 = $$outer - }; - this.index$2 = start; - return this - }; - hasNext__Z() { - return (this.index$2 < this.end$2) - }; -} -const $d_sc_IndexedSeqLike$Elements = new $TypeData().initClass({ - sc_IndexedSeqLike$Elements: 0 -}, false, "scala.collection.IndexedSeqLike$Elements", { - sc_IndexedSeqLike$Elements: 1, - sc_AbstractIterator: 1, - O: 1, - sc_Iterator: 1, - sc_TraversableOnce: 1, - sc_GenTraversableOnce: 1, - sc_BufferedIterator: 1, - s_Serializable: 1, - Ljava_io_Serializable: 1 -}); -$c_sc_IndexedSeqLike$Elements.prototype.$classData = $d_sc_IndexedSeqLike$Elements; -class $c_sjs_js_JavaScriptException extends $c_jl_RuntimeException { - constructor() { - super(); - this.exception$4 = null - }; - productPrefix__T() { - return "JavaScriptException" - }; - productArity__I() { - return 1 - }; - fillInStackTrace__jl_Throwable() { - const e = this.exception$4; - this.stackdata = e; - return this - }; - productElement__I__O(x$1) { - switch (x$1) { - case 0: { - return this.exception$4; - break - } - default: { - throw new $c_jl_IndexOutOfBoundsException().init___T(("" + x$1)) - } - } - }; - getMessage__T() { - return $objectToString(this.exception$4) - }; - init___O(exception) { - this.exception$4 = exception; - $c_jl_Throwable.prototype.init___T__jl_Throwable.call(this, null, null); - return this - }; - hashCode__I() { - const this$2 = $m_s_util_hashing_MurmurHash3$(); - return this$2.productHash__s_Product__I__I(this, (-889275714)) - }; - productIterator__sc_Iterator() { - return new $c_sr_ScalaRunTime$$anon$1().init___s_Product(this) - }; -} -const $is_sjs_js_JavaScriptException = (function(obj) { - return (!(!((obj && obj.$classData) && obj.$classData.ancestors.sjs_js_JavaScriptException))) -}); -const $as_sjs_js_JavaScriptException = (function(obj) { - return (($is_sjs_js_JavaScriptException(obj) || (obj === null)) ? obj : $throwClassCastException(obj, "scala.scalajs.js.JavaScriptException")) -}); -const $isArrayOf_sjs_js_JavaScriptException = (function(obj, depth) { - return (!(!(((obj && obj.$classData) && (obj.$classData.arrayDepth === depth)) && obj.$classData.arrayBase.ancestors.sjs_js_JavaScriptException))) -}); -const $asArrayOf_sjs_js_JavaScriptException = (function(obj, depth) { - return (($isArrayOf_sjs_js_JavaScriptException(obj, depth) || (obj === null)) ? obj : $throwArrayCastException(obj, "Lscala.scalajs.js.JavaScriptException;", depth)) -}); -const $d_sjs_js_JavaScriptException = new $TypeData().initClass({ - sjs_js_JavaScriptException: 0 -}, false, "scala.scalajs.js.JavaScriptException", { - sjs_js_JavaScriptException: 1, - jl_RuntimeException: 1, - jl_Exception: 1, - jl_Throwable: 1, - O: 1, - Ljava_io_Serializable: 1, - s_Product: 1, - s_Equals: 1, - s_Serializable: 1 -}); -$c_sjs_js_JavaScriptException.prototype.$classData = $d_sjs_js_JavaScriptException; -class $c_sc_AbstractTraversable extends $c_O { - repr__O() { - return this - }; - stringPrefix__T() { - return $f_sc_TraversableLike__stringPrefix__T(this) - }; -} -const $f_sc_IndexedSeqOptimized__foreach__F1__V = (function($thiz, f) { - let i = 0; - const len = $thiz.length__I(); - while ((i < len)) { - f.apply__O__O($thiz.apply__I__O(i)); - i = ((1 + i) | 0) - } -}); -class $c_sc_AbstractIterable extends $c_sc_AbstractTraversable { -} -const $is_sc_Seq = (function(obj) { - return (!(!((obj && obj.$classData) && obj.$classData.ancestors.sc_Seq))) -}); -const $as_sc_Seq = (function(obj) { - return (($is_sc_Seq(obj) || (obj === null)) ? obj : $throwClassCastException(obj, "scala.collection.Seq")) -}); -const $isArrayOf_sc_Seq = (function(obj, depth) { - return (!(!(((obj && obj.$classData) && (obj.$classData.arrayDepth === depth)) && obj.$classData.arrayBase.ancestors.sc_Seq))) -}); -const $asArrayOf_sc_Seq = (function(obj, depth) { - return (($isArrayOf_sc_Seq(obj, depth) || (obj === null)) ? obj : $throwArrayCastException(obj, "Lscala.collection.Seq;", depth)) -}); -const $is_sjs_js_ArrayOps = (function(obj) { - return (!(!((obj && obj.$classData) && obj.$classData.ancestors.sjs_js_ArrayOps))) -}); -const $as_sjs_js_ArrayOps = (function(obj) { - return (($is_sjs_js_ArrayOps(obj) || (obj === null)) ? obj : $throwClassCastException(obj, "scala.scalajs.js.ArrayOps")) -}); -const $isArrayOf_sjs_js_ArrayOps = (function(obj, depth) { - return (!(!(((obj && obj.$classData) && (obj.$classData.arrayDepth === depth)) && obj.$classData.arrayBase.ancestors.sjs_js_ArrayOps))) -}); -const $asArrayOf_sjs_js_ArrayOps = (function(obj, depth) { - return (($isArrayOf_sjs_js_ArrayOps(obj, depth) || (obj === null)) ? obj : $throwArrayCastException(obj, "Lscala.scalajs.js.ArrayOps;", depth)) -}); -class $c_sc_AbstractSeq extends $c_sc_AbstractIterable { - toString__T() { - return $f_sc_TraversableLike__toString__T(this) - }; -} -class $c_scm_AbstractSeq extends $c_sc_AbstractSeq { -} -const $is_sci_List = (function(obj) { - return (!(!((obj && obj.$classData) && obj.$classData.ancestors.sci_List))) -}); -const $as_sci_List = (function(obj) { - return (($is_sci_List(obj) || (obj === null)) ? obj : $throwClassCastException(obj, "scala.collection.immutable.List")) -}); -const $isArrayOf_sci_List = (function(obj, depth) { - return (!(!(((obj && obj.$classData) && (obj.$classData.arrayDepth === depth)) && obj.$classData.arrayBase.ancestors.sci_List))) -}); -const $asArrayOf_sci_List = (function(obj, depth) { - return (($isArrayOf_sci_List(obj, depth) || (obj === null)) ? obj : $throwArrayCastException(obj, "Lscala.collection.immutable.List;", depth)) -}); -class $c_scm_AbstractBuffer extends $c_scm_AbstractSeq { -} -class $c_scm_StringBuilder extends $c_scm_AbstractSeq { - constructor() { - super(); - this.underlying$5 = null - }; - init___() { - $c_scm_StringBuilder.prototype.init___I__T.call(this, 16, ""); - return this - }; - apply__I__O(idx) { - const c = this.underlying$5.charAt__I__C(idx); - return new $c_jl_Character().init___C(c) - }; - apply__O__O(v1) { - const index = $uI(v1); - const c = this.underlying$5.charAt__I__C(index); - return new $c_jl_Character().init___C(c) - }; - toString__T() { - return this.underlying$5.java$lang$StringBuilder$$content$f - }; - foreach__F1__V(f) { - $f_sc_IndexedSeqOptimized__foreach__F1__V(this, f) - }; - append__T__scm_StringBuilder(s) { - const this$1 = this.underlying$5; - this$1.java$lang$StringBuilder$$content$f = (("" + this$1.java$lang$StringBuilder$$content$f) + s); - return this - }; - init___I__T(initCapacity, initValue) { - const this$2 = new $c_jl_StringBuilder().init___I((($uI(initValue.length) + initCapacity) | 0)); - this$2.java$lang$StringBuilder$$content$f = (("" + this$2.java$lang$StringBuilder$$content$f) + initValue); - $c_scm_StringBuilder.prototype.init___jl_StringBuilder.call(this, this$2); - return this - }; - length__I() { - return this.underlying$5.length__I() - }; - init___jl_StringBuilder(underlying) { - this.underlying$5 = underlying; - return this - }; - append__O__scm_StringBuilder(x) { - const this$2 = this.underlying$5; - const str = ("" + x); - this$2.java$lang$StringBuilder$$content$f = (this$2.java$lang$StringBuilder$$content$f + str); - return this - }; - hashCode__I() { - return $m_s_util_hashing_MurmurHash3$().seqHash__sc_Seq__I(this) - }; -} -const $d_scm_StringBuilder = new $TypeData().initClass({ - scm_StringBuilder: 0 -}, false, "scala.collection.mutable.StringBuilder", { - scm_StringBuilder: 1, - scm_AbstractSeq: 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, - scm_Seq: 1, - scm_Iterable: 1, - scm_Traversable: 1, - s_Mutable: 1, - scm_SeqLike: 1, - scm_Cloneable: 1, - s_Cloneable: 1, - jl_Cloneable: 1, - jl_CharSequence: 1, - scm_IndexedSeq: 1, - sc_IndexedSeq: 1, - sc_IndexedSeqLike: 1, - scm_IndexedSeqLike: 1, - sci_StringLike: 1, - sc_IndexedSeqOptimized: 1, - s_math_Ordered: 1, - jl_Comparable: 1, - scm_ReusableBuilder: 1, - scm_Builder: 1, - scg_Growable: 1, - scg_Clearable: 1, - s_Serializable: 1, - Ljava_io_Serializable: 1 -}); -$c_scm_StringBuilder.prototype.$classData = $d_scm_StringBuilder; -class $c_sjs_js_WrappedArray extends $c_scm_AbstractBuffer { - constructor() { - super(); - this.array$6 = null - }; - apply__I__O(index) { - return this.array$6[index] - }; - apply__O__O(v1) { - const index = $uI(v1); - return this.array$6[index] - }; - foreach__F1__V(f) { - $f_sc_IndexedSeqOptimized__foreach__F1__V(this, f) - }; - length__I() { - return $uI(this.array$6.length) - }; - hashCode__I() { - return $m_s_util_hashing_MurmurHash3$().seqHash__sc_Seq__I(this) - }; - init___sjs_js_Array(array) { - this.array$6 = array; - return this - }; - stringPrefix__T() { - return "WrappedArray" - }; -} -const $is_sjs_js_WrappedArray = (function(obj) { - return (!(!((obj && obj.$classData) && obj.$classData.ancestors.sjs_js_WrappedArray))) -}); -const $as_sjs_js_WrappedArray = (function(obj) { - return (($is_sjs_js_WrappedArray(obj) || (obj === null)) ? obj : $throwClassCastException(obj, "scala.scalajs.js.WrappedArray")) -}); -const $isArrayOf_sjs_js_WrappedArray = (function(obj, depth) { - return (!(!(((obj && obj.$classData) && (obj.$classData.arrayDepth === depth)) && obj.$classData.arrayBase.ancestors.sjs_js_WrappedArray))) -}); -const $asArrayOf_sjs_js_WrappedArray = (function(obj, depth) { - return (($isArrayOf_sjs_js_WrappedArray(obj, depth) || (obj === null)) ? obj : $throwArrayCastException(obj, "Lscala.scalajs.js.WrappedArray;", depth)) -}); -const $d_sjs_js_WrappedArray = new $TypeData().initClass({ - sjs_js_WrappedArray: 0 -}, false, "scala.scalajs.js.WrappedArray", { - sjs_js_WrappedArray: 1, - scm_AbstractBuffer: 1, - scm_AbstractSeq: 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, - scm_Seq: 1, - scm_Iterable: 1, - scm_Traversable: 1, - s_Mutable: 1, - scm_SeqLike: 1, - scm_Cloneable: 1, - s_Cloneable: 1, - jl_Cloneable: 1, - scm_Buffer: 1, - scm_BufferLike: 1, - scg_Growable: 1, - scg_Clearable: 1, - scg_Shrinkable: 1, - sc_script_Scriptable: 1, - scg_Subtractable: 1, - scm_IndexedSeq: 1, - sc_IndexedSeq: 1, - sc_IndexedSeqLike: 1, - scm_IndexedSeqLike: 1, - scm_ArrayLike: 1, - scm_IndexedSeqOptimized: 1, - sc_IndexedSeqOptimized: 1, - scm_Builder: 1 -}); -$c_sjs_js_WrappedArray.prototype.$classData = $d_sjs_js_WrappedArray; -$m_Lorg_scalalang_FunctionsApp$().main__AT__V($makeNativeArrayWrapper($d_T.getArrayOf(), [])); +(function(){'use strict'; +var e,f="object"===typeof __ScalaJSEnv&&__ScalaJSEnv?__ScalaJSEnv:{},k="object"===typeof f.global&&f.global?f.global:"object"===typeof global&&global&&global.Object===Object?global:this;f.global=k;f.exportsNamespace="object"===typeof f.exportsNamespace&&f.exportsNamespace?f.exportsNamespace:k;k.Object.freeze(f);var aa={envInfo:f,semantics:{asInstanceOfs:2,arrayIndexOutOfBounds:2,moduleInit:2,strictFloats:!1,productionMode:!0},assumingES6:!1,linkerVersion:"0.6.24",globalThis:this};k.Object.freeze(aa); +k.Object.freeze(aa.semantics);var l=k.Math.imul||function(a,b){var c=a&65535,d=b&65535;return c*d+((a>>>16&65535)*d+c*(b>>>16&65535)<<16>>>0)|0},ba=k.Math.clz32||function(a){if(0===a)return 32;var b=1;0===(a&4294901760)&&(a<<=16,b+=16);0===(a&4278190080)&&(a<<=8,b+=8);0===(a&4026531840)&&(a<<=4,b+=4);0===(a&3221225472)&&(a<<=2,b+=2);return b+(a>>31)},ca=0,da=k.WeakMap?new k.WeakMap:null;function n(a){return function(b,c){return!(!b||!b.$classData||b.$classData.U!==c||b.$classData.S!==a)}} +function ea(a){for(var b in a)return b}function fa(a,b){return ga(a,b,0)}function ga(a,b,c){var d=new a.wa(b[c]);if(c>24===a&&1/a!==1/-0} +function ma(a){return"number"===typeof a&&a<<16>>16===a&&1/a!==1/-0}function t(){this.oa=this.wa=void 0;this.S=this.W=this.f=null;this.U=0;this.Ea=null;this.ja="";this.k=this.ha=this.ia=void 0;this.name="";this.isRawJSType=this.isArrayClass=this.isInterface=this.isPrimitive=!1;this.isInstance=void 0}function u(a,b,c){var d=new t;d.f={};d.W=null;d.Ea=a;d.ja=b;d.k=function(){return!1};d.name=c;d.isPrimitive=!0;d.isInstance=function(){return!1};return d} +function v(a,b,c,d,g,h,m,r){var p=new t,Va=ea(a);m=m||function(a){return!!(a&&a.$classData&&a.$classData.f[Va])};r=r||function(a,b){return!!(a&&a.$classData&&a.$classData.U===b&&a.$classData.S.f[Va])};p.oa=h;p.f=d;p.ja="L"+c+";";p.k=r;p.name=c;p.isInterface=b;p.isRawJSType=!!g;p.isInstance=m;return p} +function Ea(a){function b(a){if("number"===typeof a){this.Q=Array(a);for(var b=0;b>>0)).toString(16);return a+"@"+b};z.prototype.g=function(){return Aa(this)};z.prototype.toString=function(){return this.d()};var Fa=v({b:0},!1,"java.lang.Object",{b:1},void 0,void 0,function(a){return null!==a},function(a,b){if(a=a&&a.$classData){var c=a.U||0;return!(cb||!a.S.isPrimitive)}return!1});z.prototype.$classData=Fa; +function B(){this.e=null}B.prototype=new x;B.prototype.constructor=B;B.prototype.a=function(){Pa=this;this.e=k.$;return this};function Qa(a,b){return function(a){return function(){return a.w(this)}}(b)}function Ra(a,b){return function(a){return function(b){return a.w(b)}}(b)}function Sa(a,b){return function(a){return function(){return Ta(a)}}(b)}B.prototype.$classData=v({gb:0},!1,"org.querki.jquery.package$",{gb:1,b:1});var Pa=void 0;function C(){Pa||(Pa=(new B).a());return Pa} +function D(){this.Ka=this.La=this.eb=null;this.h=0}D.prototype=new x;D.prototype.constructor=D;D.prototype.a=function(){return this};function Ua(){var a=Wa();0===(268435456&a.h)&&0===(268435456&a.h)&&(a.La=Xa(a).document,a.h|=268435456);return a.La}function Xa(a){0===(134217728&a.h)&&0===(134217728&a.h)&&(a.eb=k.window,a.h|=134217728);return a.eb}function Ya(){var a=Wa();0===(536870912&a.h)&&0===(536870912&a.h)&&(a.Ka=Xa(a).console,a.h|=536870912);return a.Ka} +D.prototype.$classData=v({hb:0},!1,"org.scalajs.dom.package$",{hb:1,b:1});var Za=void 0;function Wa(){Za||(Za=(new D).a());return Za}function E(){this.F=null}E.prototype=new x;E.prototype.constructor=E;E.prototype.a=function(){$a=this;this.F=ab(bb(),A(q(cb)));return this}; +E.prototype.R=function(){var a=db(eb(),(0,C().e)("#download-binaries")),a=a.A()||0<(a.z().length|0)?a:fb();if(!a.A()){var a=a.z(),b=gb(),c=b.r,d=Ua().getElementById("#link-main-unixsys"),g=hb();null!==b&&b===g&&(d=Ua().getElementById("#link-main-windows"));null===d&&(d=Ua().getElementById("#link-main-one4all"));b=d.getAttribute("href");a.attr("href",b).addClass(c);(0,C().e)("#users-os").text(c)}a=db(eb(),(0,C().e)(".main-download"));a=a.A()||0<(a.z().length|0)?a:fb();a.A()||(a.z(),a=gb().r,c=C().e, +c=c("#intellij-"+a).text(),b=C().e,b=b("#sbt-"+a).text(),d=C().e,a=d("#stepOne-"+a).html(),(0,C().e)("#download-intellij-link").attr("href",c),(0,C().e)("#download-sbt-link").attr("href",b),(0,C().e)("#download-step-one").html(a))};var cb=v({ib:0},!1,"org.scalalang.DownloadLinks$",{ib:1,b:1});E.prototype.$classData=cb;var $a=void 0;function F(){this.F=null}F.prototype=new x;F.prototype.constructor=F;F.prototype.a=function(){ib=this;jb().E=G().H;this.F=ab(bb(),A(q(kb)));return this}; +function lb(){var a=mb(),b=mb().F,a=nb(function(){return function(){return"Dom Ready"}}(a)),c=ob(new H,[]);b.ma(pb(function(){return function(a,b){var c=Ya(),m=c.log,r=qb();if(b&&b.$classData&&b.$classData.f.Ic)b=b.tc;else if(b&&b.$classData&&b.$classData.f.Ba)b=b.x;else{var p=[];b.q(I(function(a,b){return function(a){return b.push(a)|0}}(r,p)));b=p}a=[a].concat(b);m.apply(c,a)}}(b)),G().H,a,c);rb||(rb=(new J).a());rb.R();$a||($a=(new E).a());$a.R();sb().R()} +var kb=v({jb:0},!1,"org.scalalang.FunctionsApp$",{jb:1,b:1});F.prototype.$classData=kb;var ib=void 0;function mb(){ib||(ib=(new F).a());return ib}function K(){this.db=this.cb=this.Qa=0}K.prototype=new x;K.prototype.constructor=K;K.prototype.a=function(){this.Qa=1680;this.cb=1028;this.db=290;return this};function tb(a,b){return nb(function(a,b){return function(){var a=+(0,C().e)(Xa(Wa())).width()/sb().Qa,a=sb().cb*a;b.css("left",2147483647a?-2147483648:a|0)}}(a,b))} +K.prototype.R=function(){var a=db(eb(),(0,C().e)("#position-marker")),a=a.A()||0<(a.z().length|0)?a:fb();if(!a.A()){var a=a.z(),b=tb(sb(),a);(0,C().e)(Xa(Wa())).resize(Sa(C(),b));var c=sb().db;a.css("top",c);Ta(b)}};K.prototype.$classData=v({kb:0},!1,"org.scalalang.PositionMarker$",{kb:1,b:1});var ub=void 0;function sb(){ub||(ub=(new K).a());return ub}function J(){}J.prototype=new x;J.prototype.constructor=J;J.prototype.a=function(){return this}; +J.prototype.R=function(){(0,C().e)(".masterTooltip").hover(Qa(C(),I(function(){return function(a){a=(0,C().e)(a).attr("title");a=void 0===a?fb():(new L).L(a);a.A()||(a=a.z(),(0,C().e)('\x3cp class\x3d"tooltip"\x3e\x3c/p\x3e').text(a).appendTo("body").fadeIn("slow"))}}(this))),Sa(C(),nb(function(){return function(){return(0,C().e)(".tooltip").remove()}}(this)))).mousemove(Ra(C(),I(function(){return function(a){var b=20+(a.pageX|0)|0;a=10+(a.pageY|0)|0;var c=(0,C().e)(".tooltip");vb||(vb=(new wb).a()); +return c.css(xb(vb,ob(new H,[yb("left",b),yb("top",a)])))}}(this))))};J.prototype.$classData=v({lb:0},!1,"org.scalalang.Tooltip$",{lb:1,b:1});var rb=void 0;function zb(){}zb.prototype=new x;zb.prototype.constructor=zb;zb.prototype.a=function(){return this};function ab(a,b){a=jb();var c=new Ab;c.Xa=b+":\t";c.Wa=a;c.E=G().H;return c}zb.prototype.$classData=v({nb:0},!1,"org.scalalang.utils.Logger$",{nb:1,b:1});var Bb=void 0;function bb(){Bb||(Bb=(new zb).a());return Bb} +function Cb(){this.H=this.Ia=0}Cb.prototype=new x;Cb.prototype.constructor=Cb;Cb.prototype.a=function(){this.Ia=5;this.H=9;return this};Cb.prototype.$classData=v({ob:0},!1,"org.scalalang.utils.Logger$Level$",{ob:1,b:1});var Db=void 0;function G(){Db||(Db=(new Cb).a());return Db}function Eb(){this.F=null}Eb.prototype=new x;Eb.prototype.constructor=Eb;Eb.prototype.a=function(){Fb=this;this.F=ab(bb(),A(q(Gb)));return this}; +function gb(){var a;Fb||(Fb=(new Eb).a());a=Fb;var b=Xa(Wa()).navigator.appVersion,c=Hb(),d=hb();Ib||(Ib=(new Jb).a());var g=Ib,h=Hb();Kb||(Kb=(new Lb).a());h=ob(new H,[d,g,h,Kb]);d=h.x.length|0;d=fa(Ga(Mb),[d]);g=g=0;for(h=Nb(h,h.x.length|0);h.X();){var m=h.ca();d.Q[g]=m;g=1+g|0}g=d.Q.length;h=0;m=c;a:for(;;){if(h!==g){c=1+h|0;h=d.Q[h];m=-1!==(b.indexOf(h.B)|0)?h:m;h=c;continue a}b=m;break}d=a.F;a=nb(function(a,b){return function(){return"OS: "+b}}(a,b));c=ob(new H,[]);d.ma(pb(function(){return function(a, +b){var c=Ya(),d=c.log,h=qb();if(b&&b.$classData&&b.$classData.f.Ic)b=b.tc;else if(b&&b.$classData&&b.$classData.f.Ba)b=b.x;else{var g=[];b.q(I(function(a,b){return function(a){return b.push(a)|0}}(h,g)));b=g}a=[a].concat(b);d.apply(c,a)}}(d)),G().H,a,c);return b}var Gb=v({qb:0},!1,"org.scalalang.utils.OS$",{qb:1,b:1});Eb.prototype.$classData=Gb;var Fb=void 0;function y(){this.ka=null}y.prototype=new x;y.prototype.constructor=y;function A(a){return a.ka.name} +y.prototype.d=function(){return(this.ka.isInterface?"interface ":this.ka.isPrimitive?"":"class ")+A(this)};y.prototype.$classData=v({Db:0},!1,"java.lang.Class",{Db:1,b:1});var Mb=v({v:0},!0,"scala.Product",{v:1,p:1});function Ob(){}Ob.prototype=new x;Ob.prototype.constructor=Ob;function Pb(){}Pb.prototype=Ob.prototype;function Qb(a,b){b=l(-862048943,b);b=l(461845907,b<<15|b>>>17|0);a^=b;return-430675100+l(5,a<<13|a>>>19|0)|0} +function Rb(a){a=l(-2048144789,a^(a>>>16|0));a=l(-1028477387,a^(a>>>13|0));return a^(a>>>16|0)}function Sb(a){Tb();var b=a.s();if(0===b)return a=a.u(),wa(xa(),a);for(var c=-889275714,d=0;db,b=2047,c=0;else if(0===b)a=-Infinity===1/b,c=b=0;else{var d=(a=0>b)?-b:b;if(d>=+k.Math.pow(2,-1022)){b=+k.Math.pow(2,52);var c=+k.Math.log(d)/.6931471805599453,c=+k.Math.floor(c)|0,c=1023>c?c:1023,g=+k.Math.pow(2,c);g>d&&(c=-1+c|0,g/=2);g=d/g*b;d=+k.Math.floor(g);g-=d;d=.5>g?d:.5d?c:.5a?-2147483648:a|0;if(b===a)a=b;else{b=w();var c;if(-9223372036854775808>a)b.ra=-2147483648,c=0;else if(0x7fffffffffffffff<=a)b.ra=2147483647,c=-1;else{c=a|0;var d=a/4294967296|0;b.ra=0>a&&0!==c?-1+d|0:d}b=b.ra;w();a=(0>b?-(4294967296*+((0!==c?~b:-b|0)>>>0)+ +((-c|0)>>>0)):4294967296*b+ +(c>>>0))===a?c^b:ya(za(),a)}return a}return ta(b)?(a=null===b?w().ga:b,b=(new Q).Z(a.P,a.J),a=b.P,b=b.J,b=== +a>>31?a:a^b):va(b)}uc.prototype.$classData=v({Xc:0},!1,"scala.runtime.Statics$",{Xc:1,b:1});var vc=void 0;function Vb(){vc||(vc=(new uc).a());return vc}function Ab(){this.Wa=this.Xa=null;this.E=0}Ab.prototype=new x;Ab.prototype.constructor=Ab;Ab.prototype.ma=function(a,b,c,d){this.E>=b&&this.Wa.ma(a,b,nb(function(a,b){return function(){return""+a.Xa+Ta(b)}}(this,c)),d)};Ab.prototype.$classData=v({mb:0},!1,"org.scalalang.utils.Logger",{mb:1,b:1,pb:1});function R(){this.E=0}R.prototype=new x; +R.prototype.constructor=R;R.prototype.a=function(){wc=this;this.E=G().H;this.E=G().Ia;return this};R.prototype.ma=function(a,b,c,d){this.E>=b&&(b=Ta(c),(0,a.y)(b,d))};R.prototype.$classData=v({vb:0},!1,"org.scalalang.utils.RootLogger$",{vb:1,b:1,pb:1});var wc=void 0;function jb(){wc||(wc=(new R).a());return wc}function xc(){}xc.prototype=new x;xc.prototype.constructor=xc;function yc(){}yc.prototype=xc.prototype;function S(){this.o=null}S.prototype=new x;S.prototype.constructor=S;function zc(){} +zc.prototype=S.prototype;S.prototype.Na=function(){if(void 0===k.Error.captureStackTrace){try{var a={}.undef()}catch(b){if(a=nc(rc(),b),null!==a)if(a&&a.$classData&&a.$classData.f.Aa)a=a.I;else throw mc(rc(),a);else throw b;}this.stackdata=a}else k.Error.captureStackTrace(this),this.stackdata=this;return this};S.prototype.ya=function(){return this.o};S.prototype.d=function(){var a=A(ia(this)),b=this.ya();return null===b?a:a+": "+b};S.prototype.M=function(a){this.o=a;this.Na();return this}; +function Ac(){this.za=0}Ac.prototype=new Pb;Ac.prototype.constructor=Ac;Ac.prototype.a=function(){Bc=this;this.za=wa(xa(),"Seq");wa(xa(),"Map");wa(xa(),"Set");return this};function Cc(a){var b=Tb();return a&&a.$classData&&a.$classData.f.id?Rb(b.za^0):Wb(b,a,b.za)}Ac.prototype.$classData=v({Wb:0},!1,"scala.util.hashing.MurmurHash3$",{Wb:1,dd:1,b:1});var Bc=void 0;function Tb(){Bc||(Bc=(new Ac).a());return Bc}function ec(){this.Fa=this.Va=null}ec.prototype=new x;ec.prototype.constructor=ec; +ec.prototype.q=function(a){this.Fa.q(I(function(a,c){return function(d){return a.Va.w(d)?c.w(d):void 0}}(this,a)))};function dc(a,b,c){a.Va=c;if(null===b)throw mc(rc(),null);a.Fa=b;return a}ec.prototype.$classData=v({sc:0},!1,"scala.collection.TraversableLike$WithFilter",{sc:1,b:1,$a:1});function Dc(){}Dc.prototype=new x;Dc.prototype.constructor=Dc;function Ec(){}Ec.prototype=Dc.prototype;Dc.prototype.d=function(){return"\x3cfunction0\x3e"};function Fc(){}Fc.prototype=new x; +Fc.prototype.constructor=Fc;function Gc(){}Gc.prototype=Fc.prototype;Fc.prototype.d=function(){return"\x3cfunction1\x3e"};function Hc(){}Hc.prototype=new x;Hc.prototype.constructor=Hc;function Ic(){}Ic.prototype=Hc.prototype;Hc.prototype.d=function(){return"\x3cfunction2\x3e"};function Jc(){this.i=!1}Jc.prototype=new x;Jc.prototype.constructor=Jc;Jc.prototype.d=function(){return""+this.i};function ac(){var a=new Jc;a.i=!0;return a} +Jc.prototype.$classData=v({Sc:0},!1,"scala.runtime.BooleanRef",{Sc:1,b:1,c:1});var sa=v({Tc:0},!1,"scala.runtime.BoxedUnit",{Tc:1,b:1,c:1},void 0,void 0,function(a){return void 0===a});function M(){this.i=0}M.prototype=new x;M.prototype.constructor=M;M.prototype.d=function(){return""+this.i};M.prototype.Y=function(a){this.i=a;return this};M.prototype.$classData=v({Uc:0},!1,"scala.runtime.IntRef",{Uc:1,b:1,c:1}); +var ra=v({Ab:0},!1,"java.lang.Boolean",{Ab:1,b:1,c:1,n:1},void 0,void 0,function(a){return"boolean"===typeof a});function T(){this.Ca=0}T.prototype=new x;T.prototype.constructor=T;T.prototype.d=function(){return k.String.fromCharCode(this.Ca)};function Kc(a){var b=new T;b.Ca=a;return b}T.prototype.g=function(){return this.Ca};T.prototype.$classData=v({Cb:0},!1,"java.lang.Character",{Cb:1,b:1,c:1,n:1});function Lc(){this.o=null}Lc.prototype=new zc;Lc.prototype.constructor=Lc;function Mc(){} +Mc.prototype=Lc.prototype;function Nc(){}Nc.prototype=new x;Nc.prototype.constructor=Nc;Nc.prototype.a=function(){return this};function db(a,b){return null===b?fb():(new L).L(b)}Nc.prototype.$classData=v({Tb:0},!1,"scala.Option$",{Tb:1,b:1,m:1,c:1});var Oc=void 0;function eb(){Oc||(Oc=(new Nc).a());return Oc}function Pc(){this.y=null}Pc.prototype=new Ec;Pc.prototype.constructor=Pc;function Ta(a){return(0,a.y)()}function nb(a){var b=new Pc;b.y=a;return b} +Pc.prototype.$classData=v({Kc:0},!1,"scala.scalajs.runtime.AnonFunction0",{Kc:1,qd:1,b:1,Yc:1});function Qc(){this.y=null}Qc.prototype=new Gc;Qc.prototype.constructor=Qc;Qc.prototype.w=function(a){return(0,this.y)(a)};function I(a){var b=new Qc;b.y=a;return b}Qc.prototype.$classData=v({Lc:0},!1,"scala.scalajs.runtime.AnonFunction1",{Lc:1,rd:1,b:1,Ha:1});function Rc(){this.y=null}Rc.prototype=new Ic;Rc.prototype.constructor=Rc;function pb(a){var b=new Rc;b.y=a;return b} +Rc.prototype.$classData=v({Mc:0},!1,"scala.scalajs.runtime.AnonFunction2",{Mc:1,sd:1,b:1,Zc:1});function Sc(){this.ra=0;this.ga=null}Sc.prototype=new x;Sc.prototype.constructor=Sc;Sc.prototype.a=function(){Tc=this;this.ga=(new Q).Z(0,0);return this}; +function Uc(a,b){if(0===(-2097152&b))b=""+(4294967296*b+ +(a>>>0));else{var c=(32+ba(1E9)|0)-(0!==b?ba(b):32+ba(a)|0)|0,d=c,g=0===(32&d)?1E9<>>(31-d|0)|0|0<=(-2147483648^Va):(-2147483648^p)>=(-2147483648^oc))r=m,p=d,m=h-g|0,r=(-2147483648^m)>(-2147483648^h)?-1+(r-p|0)|0:r-p|0,h=m,m=r,32>c?b|=1<>>1|0;g=g>>>1|0|d<<31;d=r}c=m;if(0===c?-1147483648<=(-2147483648^ +h):-2147483648<=(-2147483648^c))c=4294967296*m+ +(h>>>0),h=c/1E9,g=h/4294967296|0,d=b,b=h=d+(h|0)|0,a=(-2147483648^h)<(-2147483648^d)?1+(a+g|0)|0:a+g|0,h=c%1E9|0;c=""+h;b=""+(4294967296*a+ +(b>>>0))+"000000000".substring(c.length|0)+c}return b}Sc.prototype.$classData=v({Pc:0},!1,"scala.scalajs.runtime.RuntimeLong$",{Pc:1,b:1,m:1,c:1});var Tc=void 0;function w(){Tc||(Tc=(new Sc).a());return Tc} +var ja=v({wb:0},!1,"java.lang.String",{wb:1,b:1,c:1,Ra:1,n:1},void 0,void 0,function(a){return"string"===typeof a}),la=v({Bb:0},!1,"java.lang.Byte",{Bb:1,N:1,b:1,c:1,n:1},void 0,void 0,function(a){return ka(a)}),qa=v({Eb:0},!1,"java.lang.Double",{Eb:1,N:1,b:1,c:1,n:1},void 0,void 0,function(a){return"number"===typeof a}),pa=v({Fb:0},!1,"java.lang.Float",{Fb:1,N:1,b:1,c:1,n:1},void 0,void 0,function(a){return"number"===typeof a}),oa=v({Hb:0},!1,"java.lang.Integer",{Hb:1,N:1,b:1,c:1,n:1},void 0,void 0, +function(a){return"number"===typeof a&&(a|0)===a&&1/a!==1/-0}),ua=v({Ib:0},!1,"java.lang.Long",{Ib:1,N:1,b:1,c:1,n:1},void 0,void 0,function(a){return ta(a)});function Vc(){this.o=null}Vc.prototype=new Mc;Vc.prototype.constructor=Vc;function U(){}U.prototype=Vc.prototype;var na=v({Lb:0},!1,"java.lang.Short",{Lb:1,N:1,b:1,c:1,n:1},void 0,void 0,function(a){return ma(a)});function Wc(){this.j=null}Wc.prototype=new x;Wc.prototype.constructor=Wc;e=Wc.prototype;e.a=function(){this.j="";return this}; +e.d=function(){return this.j};e.Y=function(a){Wc.prototype.a.call(this);if(0>a)throw(new Xc).a();return this};e.na=function(){return this.j.length|0};e.$classData=v({Mb:0},!1,"java.lang.StringBuilder",{Mb:1,b:1,Ra:1,ad:1,c:1});function Yc(){}Yc.prototype=new x;Yc.prototype.constructor=Yc;function Zc(){}Zc.prototype=Yc.prototype;Yc.prototype.d=function(){return(this.X()?"non-empty":"empty")+" iterator"};Yc.prototype.q=function(a){for(;this.X();)a.w(this.ca())};function Q(){this.J=this.P=0} +Q.prototype=new yc;Q.prototype.constructor=Q;e=Q.prototype;e.d=function(){w();var a=this.P,b=this.J;return b===a>>31?""+a:0>b?"-"+Uc(-a|0,0!==a?~b:-b|0):Uc(a,b)};e.Z=function(a,b){this.P=a;this.J=b;return this};e.Y=function(a){Q.prototype.Z.call(this,a,a>>31);return this};e.g=function(){return this.P^this.J};function ta(a){return!!(a&&a.$classData&&a.$classData.f.ab)}e.$classData=v({ab:0},!1,"scala.scalajs.runtime.RuntimeLong",{ab:1,N:1,b:1,c:1,n:1});function V(){this.o=null}V.prototype=new U; +V.prototype.constructor=V;V.prototype.l=function(a){S.prototype.M.call(this,a);return this};V.prototype.$classData=v({Gb:0},!1,"java.lang.IndexOutOfBoundsException",{Gb:1,ba:1,aa:1,O:1,b:1,c:1});function Xc(){this.o=null}Xc.prototype=new U;Xc.prototype.constructor=Xc;Xc.prototype.a=function(){S.prototype.M.call(this,null);return this};Xc.prototype.$classData=v({Jb:0},!1,"java.lang.NegativeArraySizeException",{Jb:1,ba:1,aa:1,O:1,b:1,c:1});function $c(){this.o=null}$c.prototype=new U; +$c.prototype.constructor=$c;$c.prototype.a=function(){S.prototype.M.call(this,null);return this};$c.prototype.$classData=v({Kb:0},!1,"java.lang.NullPointerException",{Kb:1,ba:1,aa:1,O:1,b:1,c:1});function W(){this.o=null}W.prototype=new U;W.prototype.constructor=W;W.prototype.l=function(a){S.prototype.M.call(this,a);return this};W.prototype.$classData=v({Nb:0},!1,"java.util.NoSuchElementException",{Nb:1,ba:1,aa:1,O:1,b:1,c:1});function P(){this.da=this.Ua=this.o=null;this.va=!1}P.prototype=new U; +P.prototype.constructor=P;P.prototype.ya=function(){if(!this.va&&!this.va){var a;if(null===this.da)a="null";else try{a=ha(this.da)+" ("+("of class "+A(ia(this.da)))+")"}catch(b){if(null!==nc(rc(),b))a="an instance of class "+A(ia(this.da));else throw b;}this.Ua=a;this.va=!0}return this.Ua};P.prototype.L=function(a){this.da=a;S.prototype.M.call(this,null);return this};P.prototype.$classData=v({Pb:0},!1,"scala.MatchError",{Pb:1,ba:1,aa:1,O:1,b:1,c:1});function ad(){}ad.prototype=new x; +ad.prototype.constructor=ad;function bd(){}bd.prototype=ad.prototype;function N(){}N.prototype=new Zc;N.prototype.constructor=N;N.prototype.a=function(){return this};N.prototype.ca=function(){throw(new W).l("next on empty iterator");};N.prototype.X=function(){return!1};N.prototype.$classData=v({mc:0},!1,"scala.collection.Iterator$$anon$2",{mc:1,Ya:1,b:1,Za:1,qa:1,pa:1});function X(){this.Ja=this.V=0;this.fb=null}X.prototype=new Zc;X.prototype.constructor=X; +X.prototype.ca=function(){var a=this.fb.t(this.V);this.V=1+this.V|0;return a};function Y(a){var b=new X;b.fb=a;b.V=0;b.Ja=a.s();return b}X.prototype.X=function(){return this.V=this.xa&&(Yb||(Yb=(new Xb).a()),Yb.Ma.ca());var a=this.Ga.ta(this.K);this.K=1+this.K|0;return a}; +function Nb(a,b){var c=new Z;c.xa=b;if(null===a)throw mc(rc(),null);c.Ga=a;c.K=0;return c}Z.prototype.X=function(){return this.K=(65535&(a.charCodeAt(b)|0))&&48<=(65535&(a.charCodeAt(b)|0)))b=-1+b|0;else break;for(var g=b;;)if(-1!==b&&36!==(65535&(a.charCodeAt(b)|0))&&46!==(65535&(a.charCodeAt(b)|0)))b=-1+b|0;else break;var h=1+b|0;if(b===g&&d!==(a.length|0)){a=c;break a}for(;;)if(-1!== +b&&36===(65535&(a.charCodeAt(b)|0)))b=-1+b|0;else break;var g=-1===b?!0:46===(65535&(a.charCodeAt(b)|0)),m;(m=g)||(m=65535&(a.charCodeAt(h)|0),m=!(90m||65>m));if(m){d=a.substring(h,d);h=c;if(null===h)throw(new $c).a();c=""===h?d:""+d+Kc(46)+c;if(g){a=c;break a}}}}return a};function ld(a,b){for(var c=0,d=a.na();c__", "$g", "$", "f02EventHandler__F0__sjs_js_$bar", "func", "a", "f", "apply__O", "$TypeData", "initClass", "org.querki.jquery.package", "Lorg_querki_jquery_package$", "O", "prototype", "init___", "ApplicationCache ", "Blob ", "BlobPropertyBag ", "ClipboardEventInit ", "DOMException ", "Event ", "EventException ", "EventSource ", "FileReader ", "FormData ", "KeyboardEvent ", "MediaError ", "MutationEvent ", "MutationObserverInit ", "Node ", "NodeFilter ", "PerformanceNavigation ", "PositionError ", "Range ", "TextEvent ", "TextTrack ", "URL ", "VisibilityState ", "WebSocket ", "WheelEvent ", "XMLHttpRequest ", "XPathResult ", "window ", "document ", "console ", "bitmap$0", "console$lzycompute__Lorg_scalajs_dom_raw_Console", "window__Lorg_scalajs_dom_raw_Window", "console", "document__Lorg_scalajs_dom_raw_HTMLDocument", "document$lzycompute__Lorg_scalajs_dom_raw_HTMLDocument", "window$lzycompute__Lorg_scalajs_dom_raw_Window", "window", "document", "console__Lorg_scalajs_dom_raw_Console", "org.scalajs.dom.package", "Lorg_scalajs_dom_package$", "logger ", "apply__T__Lorg_scalalang_utils_LoggerUtil__Lorg_scalalang_utils_Logger", "getClassOf", "getName__T", "setupMainDownload__V", "this", "apply__O__s_Option", "isEmpty__Z", "arg1", "get__O", "$uI", "length", "osLabel", "apply__Lorg_scalalang_utils_OS", "label__T", "text", "intelliJlink", "sbtLink", "html", "stepOneContent", "attr", "apply__V", "setupBinariesElement__V", "os", "anchor", "getElementById", "x$2", "link", "getAttribute", "addClass", "org.scalalang.DownloadLinks", "Lorg_scalalang_DownloadLinks$", "logLevel ", "Trace ", "$anonfun$main$1__O", "message", "__sjs_js_Function0", "array", "optionalMessages", "__sjs_js_Array", "internalLog__F2__I__F0__sc_Seq__V", "__sjs_js_Function2", "message$2", "optionalParams", "log", "x2", "x3", "array ", "result", "foreach__F1__V", "__sjs_js_Function1", "push", "concat", "apply", "main__AT__V", "args", "ready", "org.scalalang.FunctionsApp", "Lorg_scalalang_FunctionsApp$", "imageWidth ", "targetX ", "targetY ", "updatePointer__Lorg_querki_jquery_JQuery__F0", "pointer", "windowWidth", "width", "xScale", "$doubleToInt", "css", "updater", "resize", "org.scalalang.PositionMarker", "Lorg_scalalang_PositionMarker$", "prefix", "parentLogger", "__T__Lorg_scalalang_utils_LoggerUtil", "org.scalalang.utils.Logger", "Lorg_scalalang_utils_Logger$", "Error ", "Warn ", "Info ", "Debug ", "org.scalalang.utils.Logger$Level", "Lorg_scalalang_utils_Logger$Level$", "appVersion", "navigator", "default", "xs", "len", "$newArrayObject", "getArrayOf", "elem ", "__sc_IndexedSeqLike__I__I", "hasNext__Z", "next__O", "set", "start", "end", "u", "z", "temp$start", "index", "arg2", "get", "last", "s", "navigator__T", "temp$z", "indexOf", "info", "org.scalalang.utils.OS", "Lorg_scalalang_utils_OS$", "data", "name", "isPrimitive__Z", "$uZ", "isPrimitive", "toString__T", "isInterface__Z", "__jl_ScalaJSClassData", "isInterface", "java.lang.Class", "jl_Class", "scala.Product", "s_Product", "s_Equals", "mixLast__I__I__I", "hash", "k", "$imul", "i", "mix__I__I__I", "h", "avalanche__I__I", "productHash__s_Product__I__I", "seed", "arr", "productArity__I", "productPrefix__T", "productElement__I__O", "finalizeHash__I__I__I", "orderedHash__sc_TraversableOnce__I__I", "n", "__I", "elem", "listHash__sci_List__I__I", "empty ", "scala.collection.Iterator", "sc_Iterator$", "mkString__T__T__T__T", "sep", "b", "addString__scm_StringBuilder__T__T__T__scm_StringBuilder", "underlying ", "content", "first", "__Z", "append__T__scm_StringBuilder", "append__O__scm_StringBuilder", "_areTypedArraysSupported", "arrayBuffer ", "int32Array ", "float32Array ", "float64Array ", "areTypedArraysBigEndian ", "highOffset ", "lowOffset ", "ArrayBuffer", "Int32Array", "Float32Array", "Float64Array", "$uB", "Int8Array", "numberHashCode__D__I", "value", "iv", "t", "doubleToLongBits__D__J", "lo", "lo ", "hi", "hi ", "init___I__I", "scala.scalajs.runtime.Bits", "sjsr_Bits$", "scala.scalajs.runtime.Compat", "sjsr_Compat$", "CASE_INSENSITIVE_ORDER ", "hashCode__T__I", "thiz", "res", "mul", "charCodeAt", "scala.scalajs.runtime.RuntimeString", "sjsr_RuntimeString$", "unwrapJavaScriptException__jl_Throwable__O", "th", "e", "exception ", "wrapJavaScriptException__O__jl_Throwable", "__O", "scala.scalajs.runtime.package", "sjsr_package$", "_toString__s_Product__T", "productIterator__sc_Iterator", "scala.runtime.ScalaRunTime", "sr_ScalaRunTime$", "doubleHash__D__I", "dv", "fromDoubleImpl__D__I", "hiReturn", "toDouble__I__I__D", "anyHash__O__I", "$uJ", "longHash__J__I", "$objectHashCode", "lv", "scala.runtime.Statics", "sr_Statics$", "parentLogger ", "logger", "level", "lazyMessage", "Lorg_scalalang_utils_Logger", "Lorg_scalalang_utils_LoggerUtil", "apply__O__O__O", "org.scalalang.utils.RootLogger", "Lorg_scalalang_utils_RootLogger$", "e ", "stackTrace", "fillInStackTrace__jl_Throwable", "v", "Error", "captureStackTrace", "undef", "x5", "stackdata", "getMessage__T", "className", "__T__jl_Throwable", "jl_Throwable", "seqSeed ", "mapSeed ", "setSeed ", "seqHash__sc_Seq__I", "scala.util.hashing.MurmurHash3", "s_util_hashing_MurmurHash3$", "s_util_hashing_MurmurHash3", "apply__O__O", "scala.runtime.BooleanRef", "sr_BooleanRef", "Ljava_io_Serializable", "scala.runtime.BoxedUnit", "sr_BoxedUnit", "scala.runtime.IntRef", "sr_IntRef", "java.lang.Boolean", "jl_Boolean", "jl_Comparable", "value ", "c", "String", "fromCharCode", "__C", "hashCode__I", "java.lang.Character", "jl_Character", "doubleStrPat ", "doubleStrHexPat ", "compare__D__D__I", "ainf", "java.lang.Double", "jl_Double$", "s_Serializable", "scala.Option", "s_Option$", "scala.scalajs.runtime.AnonFunction0", "sjsr_AnonFunction0", "sr_AbstractFunction0", "F0", "scala.scalajs.runtime.AnonFunction1", "sjsr_AnonFunction1", "sr_AbstractFunction1", "F1", "scala.scalajs.runtime.AnonFunction2", "sjsr_AnonFunction2", "sr_AbstractFunction2", "F2", "Zero ", "__I__I", "Zero__sjsr_RuntimeLong", "toUnsignedString__I__I__T", "unsignedDivModHelper__I__I__I__I__I__sjs_js_$bar", "divideImpl__I__I__I__I__I", "alo", "ahi", "blo", "bhi", "__T", "neg", "abs.lo ", "abs.hi ", "jsx$1.lo ", "jsx$1.hi ", "jsx$2.lo ", "jsx$2.hi ", "jsx$3.lo ", "jsx$3.hi ", "jsx$4.lo ", "jsx$4.hi ", "absRLo", "unsigned_/__I__I__I__I__I", "fromDouble__D__sjsr_RuntimeLong", "rawLo", "rawHi", "aDouble", "bDouble", "rDouble", "pow", "$clz32", "toString__I__I__T", "compare__I__I__I__I__I", "ask", "shift", "bShiftLo", "bShiftHi", "remLo", "remHi", "quotLo", "quotHi", "remDouble", "rem_mod_bDouble", "quot", "remStr", "substring", "remainderImpl__I__I__I__I__I", "unsigned_%__I__I__I__I__I", "scala.scalajs.runtime.RuntimeLong", "sjsr_RuntimeLong$", "java.lang.Byte", "jl_Byte", "jl_Number", "$isByte", "call", "java.lang.CloneNotSupportedException", "jl_CloneNotSupportedException", "jl_Exception", "jl_Double", "java.lang.Float", "jl_Float", "$isFloat", "java.lang.Integer", "jl_Integer", "$isInt", "jl_Long", "java.lang.Long", "java.lang.Short", "jl_Short", "$isShort", "initialCapacity", "length__I", "charAt__I__C", "java.lang.StringBuilder", "jl_StringBuilder", "jl_CharSequence", "jl_Appendable", "longValue__J", "|__sjsr_RuntimeLong__sjsr_RuntimeLong", ">=__sjsr_RuntimeLong__Z", "byteValue__B", "equals__O__Z", "that", "<__sjsr_RuntimeLong__Z", "*__sjsr_RuntimeLong__sjsr_RuntimeLong", "a0", "a1", "b0", "b1", "a0b0", "a1b0", "a0b1", "c1part", "__I__I__I", "l", "m", "%__sjsr_RuntimeLong__sjsr_RuntimeLong", "compareTo__O__I", "x$1", "<=__sjsr_RuntimeLong__Z", "&__sjsr_RuntimeLong__sjsr_RuntimeLong", ">>>__I__sjsr_RuntimeLong", ">__sjsr_RuntimeLong__Z", "<<__I__sjsr_RuntimeLong", "toInt__I", "notEquals__sjsr_RuntimeLong__Z", "unary_-__sjsr_RuntimeLong", "+__sjsr_RuntimeLong__sjsr_RuntimeLong", "shortValue__S", ">>__I__sjsr_RuntimeLong", "toDouble__D", "/__sjsr_RuntimeLong__sjsr_RuntimeLong", "doubleValue__D", "intValue__I", "unary_~__sjsr_RuntimeLong", "compareTo__jl_Long__I", "floatValue__F", "$fround", "-__sjsr_RuntimeLong__sjsr_RuntimeLong", "^__sjsr_RuntimeLong__sjsr_RuntimeLong", "equals__sjsr_RuntimeLong__Z", "sjsr_RuntimeLong", "java.lang.ArithmeticException", "jl_ArithmeticException", "jl_RuntimeException", "java.lang.ClassCastException", "jl_ClassCastException", "java.lang.IndexOutOfBoundsException", "jl_IndexOutOfBoundsException", "java.lang.NegativeArraySizeException", "jl_NegativeArraySizeException", "java.lang.NullPointerException", "jl_NullPointerException", "java.util.NoSuchElementException", "ju_NoSuchElementException", "next__sr_Nothing$", "scala.collection.Iterator$$anon$2", "sc_Iterator$$anon$2", "sc_AbstractIterator", "sc_Iterator", "sc_TraversableOnce", "sc_GenTraversableOnce", "c ", "cmax ", "__s_Product", "scala.runtime.ScalaRunTime$$anon$1", "sr_ScalaRunTime$$anon$1", "navigator ", "label ", "org.scalalang.utils.OS$Linux", "Lorg_scalalang_utils_OS$Linux$", "org.scalalang.utils.OS$Mac", "Lorg_scalalang_utils_OS$Mac$", "org.scalalang.utils.OS$Unix", "Lorg_scalalang_utils_OS$Unix$", "org.scalalang.utils.OS$Windows", "Lorg_scalalang_utils_OS$Windows$", "java.lang.ArrayIndexOutOfBoundsException", "jl_ArrayIndexOutOfBoundsException", "get__sr_Nothing$", "scala.None", "s_None$", "s_Option", "scala.Some", "s_Some", "isPartLikelySynthetic$1__T__I__Z", "fqn$1", "partStart$1", "firstChar", "stringPrefix__T", "repr__O", "fqn", "pos", "partEnd", "lastNonDigit", "partStart", "atEnd", "part", "__jl_Throwable", "cause", "scala.scalajs.runtime.UndefinedBehaviorError", "sjsr_UndefinedBehaviorError", "jl_Error", "s_util_control_ControlThrowable", "s_util_control_NoStackTrace", "index ", "$outer ", "apply__I__O", "$outer", "scala.collection.IndexedSeqLike$Elements", "sc_IndexedSeqLike$Elements", "sc_BufferedIterator", "$objectToString", "exception", "sjs_js_JavaScriptException", "scala.scalajs.js.JavaScriptException", "sc_Seq", "sjs_js_ArrayOps", "sci_List", "__I__T", "idx", "v1", "initCapacity", "initValue", "__jl_StringBuilder", "underlying", "str", "scala.collection.mutable.StringBuilder", "scm_StringBuilder", "scm_AbstractSeq", "sc_AbstractSeq", "sc_AbstractIterable", "sc_AbstractTraversable", "sc_Traversable", "sc_TraversableLike", "scg_HasNewBuilder", "scg_FilterMonadic", "sc_GenTraversableLike", "sc_Parallelizable", "sc_GenTraversable", "scg_GenericTraversableTemplate", "sc_Iterable", "sc_GenIterable", "sc_GenIterableLike", "sc_IterableLike", "s_PartialFunction", "sc_GenSeq", "sc_GenSeqLike", "sc_SeqLike", "scm_Seq", "scm_Iterable", "scm_Traversable", "s_Mutable", "scm_SeqLike", "scm_Cloneable", "s_Cloneable", "jl_Cloneable", "scm_IndexedSeq", "sc_IndexedSeq", "sc_IndexedSeqLike", "scm_IndexedSeqLike", "sci_StringLike", "sc_IndexedSeqOptimized", "s_math_Ordered", "scm_ReusableBuilder", "scm_Builder", "scg_Growable", "scg_Clearable", "sjs_js_WrappedArray", "scala.scalajs.js.WrappedArray", "scm_AbstractBuffer", "scm_Buffer", "scm_BufferLike", "scg_Shrinkable", "sc_script_Scriptable", "scg_Subtractable", "scm_ArrayLike", "scm_IndexedSeqOptimized"], -"lineCount": 4135 -} From 94bec6836e6b46bf06e1204ac6f237071ba18fb9 Mon Sep 17 00:00:00 2001 From: Dylan Owen Date: Sun, 15 Jul 2018 22:06:59 -0700 Subject: [PATCH 3/7] cleanup --- _config.yml | 1 + build.sbt | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/_config.yml b/_config.yml index 618de1925..2b4929740 100644 --- a/_config.yml +++ b/_config.yml @@ -10,6 +10,7 @@ exclude: - bundle-vendor/ - bin/ - js-src/ + - project/ - blog/README.md - training/README.md - README.md diff --git a/build.sbt b/build.sbt index c760f91d8..e71f15f20 100644 --- a/build.sbt +++ b/build.sbt @@ -1,6 +1,6 @@ name := "scala-lang" -organization in ThisBuild := "com.scala" +organization in ThisBuild := "org.scalalang" version in ThisBuild := "0.1" scalaVersion in ThisBuild := "2.12.6" scalacOptions in ThisBuild ++= Seq( From 27a9cfb16020fb1312f33845d359bded3fe0759a Mon Sep 17 00:00:00 2001 From: Dylan Owen Date: Mon, 16 Jul 2018 13:04:16 -0700 Subject: [PATCH 4/7] first pass at a local incremental build --- .gitignore | 2 + README.md | 6 +++ _config.yml | 1 + bin/build-js | 3 ++ bin/serve | 3 +- docker-compose.yml | 8 +++- resources/js/.gitignore | 1 + resources/js/scala-functions.js | 75 --------------------------------- 8 files changed, 22 insertions(+), 77 deletions(-) create mode 100644 bin/build-js create mode 100644 resources/js/.gitignore delete mode 100644 resources/js/scala-functions.js diff --git a/.gitignore b/.gitignore index 2db87e2e6..3ff004e10 100644 --- a/.gitignore +++ b/.gitignore @@ -7,4 +7,6 @@ vendor/ /.idea .ruby-version .sass-cache/ +.ivy2/ +.sbt/ target \ No newline at end of file diff --git a/README.md b/README.md index 2e56188a7..6c180b425 100644 --- a/README.md +++ b/README.md @@ -25,6 +25,12 @@ bin/serve bundle exec jekyll serve --incremental ``` +### For ScalaJs Development +``` +sbt ~fastOptJS +``` +Then follow `For Compose` + ## Viewing the site Regardless of your method of running Jekyll, the generated site is available at `http://localhost:4000`. diff --git a/_config.yml b/_config.yml index 2b4929740..4405cb398 100644 --- a/_config.yml +++ b/_config.yml @@ -21,6 +21,7 @@ exclude: - vendor - Procfile - Rakefile + - docker-compose.yml future: true diff --git a/bin/build-js b/bin/build-js new file mode 100644 index 000000000..fc5ccc0bf --- /dev/null +++ b/bin/build-js @@ -0,0 +1,3 @@ +#!/bin/bash -x +command -v docker-compose >/dev/null 2>&1 || { echo >&2 "Please install Docker Compose: https://docs.docker.com/compose/install/"; exit 1; } +docker-compose run js-build sbt fullOptJS diff --git a/bin/serve b/bin/serve index 9e05fa696..5cabd58ec 100755 --- a/bin/serve +++ b/bin/serve @@ -1,3 +1,4 @@ #!/bin/bash command -v docker-compose >/dev/null 2>&1 || { echo >&2 "Please install Docker Compose: https://docs.docker.com/compose/install/"; exit 1; } -docker-compose run --service-ports scala-lang jekyll serve --incremental +docker-compose up +docker-compose stop \ No newline at end of file diff --git a/docker-compose.yml b/docker-compose.yml index 516153962..ac035af2e 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -1,5 +1,10 @@ version: "2" services: + js-build: + image: hseeberger/scala-sbt:latest + volumes: + - $PWD:/root + command: sbt ~fastOptJS scala-lang: image: jekyll/jekyll:latest volumes: @@ -9,4 +14,5 @@ services: - 4000:4000 - 35729:35729 - 3000:3000 - - 80:4000 \ No newline at end of file + - 80:4000 + command: jekyll serve --incremental \ No newline at end of file diff --git a/resources/js/.gitignore b/resources/js/.gitignore new file mode 100644 index 000000000..074fb6891 --- /dev/null +++ b/resources/js/.gitignore @@ -0,0 +1 @@ +scala-functions.* \ No newline at end of file diff --git a/resources/js/scala-functions.js b/resources/js/scala-functions.js deleted file mode 100644 index e3cd0157e..000000000 --- a/resources/js/scala-functions.js +++ /dev/null @@ -1,75 +0,0 @@ -(function(){'use strict'; -var e,f="object"===typeof __ScalaJSEnv&&__ScalaJSEnv?__ScalaJSEnv:{},k="object"===typeof f.global&&f.global?f.global:"object"===typeof global&&global&&global.Object===Object?global:this;f.global=k;f.exportsNamespace="object"===typeof f.exportsNamespace&&f.exportsNamespace?f.exportsNamespace:k;k.Object.freeze(f);var aa={envInfo:f,semantics:{asInstanceOfs:2,arrayIndexOutOfBounds:2,moduleInit:2,strictFloats:!1,productionMode:!0},assumingES6:!1,linkerVersion:"0.6.24",globalThis:this};k.Object.freeze(aa); -k.Object.freeze(aa.semantics);var l=k.Math.imul||function(a,b){var c=a&65535,d=b&65535;return c*d+((a>>>16&65535)*d+c*(b>>>16&65535)<<16>>>0)|0},ba=k.Math.clz32||function(a){if(0===a)return 32;var b=1;0===(a&4294901760)&&(a<<=16,b+=16);0===(a&4278190080)&&(a<<=8,b+=8);0===(a&4026531840)&&(a<<=4,b+=4);0===(a&3221225472)&&(a<<=2,b+=2);return b+(a>>31)},ca=0,da=k.WeakMap?new k.WeakMap:null;function n(a){return function(b,c){return!(!b||!b.$classData||b.$classData.U!==c||b.$classData.S!==a)}} -function ea(a){for(var b in a)return b}function fa(a,b){return ga(a,b,0)}function ga(a,b,c){var d=new a.wa(b[c]);if(c>24===a&&1/a!==1/-0} -function ma(a){return"number"===typeof a&&a<<16>>16===a&&1/a!==1/-0}function t(){this.oa=this.wa=void 0;this.S=this.W=this.f=null;this.U=0;this.Ea=null;this.ja="";this.k=this.ha=this.ia=void 0;this.name="";this.isRawJSType=this.isArrayClass=this.isInterface=this.isPrimitive=!1;this.isInstance=void 0}function u(a,b,c){var d=new t;d.f={};d.W=null;d.Ea=a;d.ja=b;d.k=function(){return!1};d.name=c;d.isPrimitive=!0;d.isInstance=function(){return!1};return d} -function v(a,b,c,d,g,h,m,r){var p=new t,Va=ea(a);m=m||function(a){return!!(a&&a.$classData&&a.$classData.f[Va])};r=r||function(a,b){return!!(a&&a.$classData&&a.$classData.U===b&&a.$classData.S.f[Va])};p.oa=h;p.f=d;p.ja="L"+c+";";p.k=r;p.name=c;p.isInterface=b;p.isRawJSType=!!g;p.isInstance=m;return p} -function Ea(a){function b(a){if("number"===typeof a){this.Q=Array(a);for(var b=0;b>>0)).toString(16);return a+"@"+b};z.prototype.g=function(){return Aa(this)};z.prototype.toString=function(){return this.d()};var Fa=v({b:0},!1,"java.lang.Object",{b:1},void 0,void 0,function(a){return null!==a},function(a,b){if(a=a&&a.$classData){var c=a.U||0;return!(cb||!a.S.isPrimitive)}return!1});z.prototype.$classData=Fa; -function B(){this.e=null}B.prototype=new x;B.prototype.constructor=B;B.prototype.a=function(){Pa=this;this.e=k.$;return this};function Qa(a,b){return function(a){return function(){return a.w(this)}}(b)}function Ra(a,b){return function(a){return function(b){return a.w(b)}}(b)}function Sa(a,b){return function(a){return function(){return Ta(a)}}(b)}B.prototype.$classData=v({gb:0},!1,"org.querki.jquery.package$",{gb:1,b:1});var Pa=void 0;function C(){Pa||(Pa=(new B).a());return Pa} -function D(){this.Ka=this.La=this.eb=null;this.h=0}D.prototype=new x;D.prototype.constructor=D;D.prototype.a=function(){return this};function Ua(){var a=Wa();0===(268435456&a.h)&&0===(268435456&a.h)&&(a.La=Xa(a).document,a.h|=268435456);return a.La}function Xa(a){0===(134217728&a.h)&&0===(134217728&a.h)&&(a.eb=k.window,a.h|=134217728);return a.eb}function Ya(){var a=Wa();0===(536870912&a.h)&&0===(536870912&a.h)&&(a.Ka=Xa(a).console,a.h|=536870912);return a.Ka} -D.prototype.$classData=v({hb:0},!1,"org.scalajs.dom.package$",{hb:1,b:1});var Za=void 0;function Wa(){Za||(Za=(new D).a());return Za}function E(){this.F=null}E.prototype=new x;E.prototype.constructor=E;E.prototype.a=function(){$a=this;this.F=ab(bb(),A(q(cb)));return this}; -E.prototype.R=function(){var a=db(eb(),(0,C().e)("#download-binaries")),a=a.A()||0<(a.z().length|0)?a:fb();if(!a.A()){var a=a.z(),b=gb(),c=b.r,d=Ua().getElementById("#link-main-unixsys"),g=hb();null!==b&&b===g&&(d=Ua().getElementById("#link-main-windows"));null===d&&(d=Ua().getElementById("#link-main-one4all"));b=d.getAttribute("href");a.attr("href",b).addClass(c);(0,C().e)("#users-os").text(c)}a=db(eb(),(0,C().e)(".main-download"));a=a.A()||0<(a.z().length|0)?a:fb();a.A()||(a.z(),a=gb().r,c=C().e, -c=c("#intellij-"+a).text(),b=C().e,b=b("#sbt-"+a).text(),d=C().e,a=d("#stepOne-"+a).html(),(0,C().e)("#download-intellij-link").attr("href",c),(0,C().e)("#download-sbt-link").attr("href",b),(0,C().e)("#download-step-one").html(a))};var cb=v({ib:0},!1,"org.scalalang.DownloadLinks$",{ib:1,b:1});E.prototype.$classData=cb;var $a=void 0;function F(){this.F=null}F.prototype=new x;F.prototype.constructor=F;F.prototype.a=function(){ib=this;jb().E=G().H;this.F=ab(bb(),A(q(kb)));return this}; -function lb(){var a=mb(),b=mb().F,a=nb(function(){return function(){return"Dom Ready"}}(a)),c=ob(new H,[]);b.ma(pb(function(){return function(a,b){var c=Ya(),m=c.log,r=qb();if(b&&b.$classData&&b.$classData.f.Ic)b=b.tc;else if(b&&b.$classData&&b.$classData.f.Ba)b=b.x;else{var p=[];b.q(I(function(a,b){return function(a){return b.push(a)|0}}(r,p)));b=p}a=[a].concat(b);m.apply(c,a)}}(b)),G().H,a,c);rb||(rb=(new J).a());rb.R();$a||($a=(new E).a());$a.R();sb().R()} -var kb=v({jb:0},!1,"org.scalalang.FunctionsApp$",{jb:1,b:1});F.prototype.$classData=kb;var ib=void 0;function mb(){ib||(ib=(new F).a());return ib}function K(){this.db=this.cb=this.Qa=0}K.prototype=new x;K.prototype.constructor=K;K.prototype.a=function(){this.Qa=1680;this.cb=1028;this.db=290;return this};function tb(a,b){return nb(function(a,b){return function(){var a=+(0,C().e)(Xa(Wa())).width()/sb().Qa,a=sb().cb*a;b.css("left",2147483647a?-2147483648:a|0)}}(a,b))} -K.prototype.R=function(){var a=db(eb(),(0,C().e)("#position-marker")),a=a.A()||0<(a.z().length|0)?a:fb();if(!a.A()){var a=a.z(),b=tb(sb(),a);(0,C().e)(Xa(Wa())).resize(Sa(C(),b));var c=sb().db;a.css("top",c);Ta(b)}};K.prototype.$classData=v({kb:0},!1,"org.scalalang.PositionMarker$",{kb:1,b:1});var ub=void 0;function sb(){ub||(ub=(new K).a());return ub}function J(){}J.prototype=new x;J.prototype.constructor=J;J.prototype.a=function(){return this}; -J.prototype.R=function(){(0,C().e)(".masterTooltip").hover(Qa(C(),I(function(){return function(a){a=(0,C().e)(a).attr("title");a=void 0===a?fb():(new L).L(a);a.A()||(a=a.z(),(0,C().e)('\x3cp class\x3d"tooltip"\x3e\x3c/p\x3e').text(a).appendTo("body").fadeIn("slow"))}}(this))),Sa(C(),nb(function(){return function(){return(0,C().e)(".tooltip").remove()}}(this)))).mousemove(Ra(C(),I(function(){return function(a){var b=20+(a.pageX|0)|0;a=10+(a.pageY|0)|0;var c=(0,C().e)(".tooltip");vb||(vb=(new wb).a()); -return c.css(xb(vb,ob(new H,[yb("left",b),yb("top",a)])))}}(this))))};J.prototype.$classData=v({lb:0},!1,"org.scalalang.Tooltip$",{lb:1,b:1});var rb=void 0;function zb(){}zb.prototype=new x;zb.prototype.constructor=zb;zb.prototype.a=function(){return this};function ab(a,b){a=jb();var c=new Ab;c.Xa=b+":\t";c.Wa=a;c.E=G().H;return c}zb.prototype.$classData=v({nb:0},!1,"org.scalalang.utils.Logger$",{nb:1,b:1});var Bb=void 0;function bb(){Bb||(Bb=(new zb).a());return Bb} -function Cb(){this.H=this.Ia=0}Cb.prototype=new x;Cb.prototype.constructor=Cb;Cb.prototype.a=function(){this.Ia=5;this.H=9;return this};Cb.prototype.$classData=v({ob:0},!1,"org.scalalang.utils.Logger$Level$",{ob:1,b:1});var Db=void 0;function G(){Db||(Db=(new Cb).a());return Db}function Eb(){this.F=null}Eb.prototype=new x;Eb.prototype.constructor=Eb;Eb.prototype.a=function(){Fb=this;this.F=ab(bb(),A(q(Gb)));return this}; -function gb(){var a;Fb||(Fb=(new Eb).a());a=Fb;var b=Xa(Wa()).navigator.appVersion,c=Hb(),d=hb();Ib||(Ib=(new Jb).a());var g=Ib,h=Hb();Kb||(Kb=(new Lb).a());h=ob(new H,[d,g,h,Kb]);d=h.x.length|0;d=fa(Ga(Mb),[d]);g=g=0;for(h=Nb(h,h.x.length|0);h.X();){var m=h.ca();d.Q[g]=m;g=1+g|0}g=d.Q.length;h=0;m=c;a:for(;;){if(h!==g){c=1+h|0;h=d.Q[h];m=-1!==(b.indexOf(h.B)|0)?h:m;h=c;continue a}b=m;break}d=a.F;a=nb(function(a,b){return function(){return"OS: "+b}}(a,b));c=ob(new H,[]);d.ma(pb(function(){return function(a, -b){var c=Ya(),d=c.log,h=qb();if(b&&b.$classData&&b.$classData.f.Ic)b=b.tc;else if(b&&b.$classData&&b.$classData.f.Ba)b=b.x;else{var g=[];b.q(I(function(a,b){return function(a){return b.push(a)|0}}(h,g)));b=g}a=[a].concat(b);d.apply(c,a)}}(d)),G().H,a,c);return b}var Gb=v({qb:0},!1,"org.scalalang.utils.OS$",{qb:1,b:1});Eb.prototype.$classData=Gb;var Fb=void 0;function y(){this.ka=null}y.prototype=new x;y.prototype.constructor=y;function A(a){return a.ka.name} -y.prototype.d=function(){return(this.ka.isInterface?"interface ":this.ka.isPrimitive?"":"class ")+A(this)};y.prototype.$classData=v({Db:0},!1,"java.lang.Class",{Db:1,b:1});var Mb=v({v:0},!0,"scala.Product",{v:1,p:1});function Ob(){}Ob.prototype=new x;Ob.prototype.constructor=Ob;function Pb(){}Pb.prototype=Ob.prototype;function Qb(a,b){b=l(-862048943,b);b=l(461845907,b<<15|b>>>17|0);a^=b;return-430675100+l(5,a<<13|a>>>19|0)|0} -function Rb(a){a=l(-2048144789,a^(a>>>16|0));a=l(-1028477387,a^(a>>>13|0));return a^(a>>>16|0)}function Sb(a){Tb();var b=a.s();if(0===b)return a=a.u(),wa(xa(),a);for(var c=-889275714,d=0;db,b=2047,c=0;else if(0===b)a=-Infinity===1/b,c=b=0;else{var d=(a=0>b)?-b:b;if(d>=+k.Math.pow(2,-1022)){b=+k.Math.pow(2,52);var c=+k.Math.log(d)/.6931471805599453,c=+k.Math.floor(c)|0,c=1023>c?c:1023,g=+k.Math.pow(2,c);g>d&&(c=-1+c|0,g/=2);g=d/g*b;d=+k.Math.floor(g);g-=d;d=.5>g?d:.5d?c:.5a?-2147483648:a|0;if(b===a)a=b;else{b=w();var c;if(-9223372036854775808>a)b.ra=-2147483648,c=0;else if(0x7fffffffffffffff<=a)b.ra=2147483647,c=-1;else{c=a|0;var d=a/4294967296|0;b.ra=0>a&&0!==c?-1+d|0:d}b=b.ra;w();a=(0>b?-(4294967296*+((0!==c?~b:-b|0)>>>0)+ +((-c|0)>>>0)):4294967296*b+ +(c>>>0))===a?c^b:ya(za(),a)}return a}return ta(b)?(a=null===b?w().ga:b,b=(new Q).Z(a.P,a.J),a=b.P,b=b.J,b=== -a>>31?a:a^b):va(b)}uc.prototype.$classData=v({Xc:0},!1,"scala.runtime.Statics$",{Xc:1,b:1});var vc=void 0;function Vb(){vc||(vc=(new uc).a());return vc}function Ab(){this.Wa=this.Xa=null;this.E=0}Ab.prototype=new x;Ab.prototype.constructor=Ab;Ab.prototype.ma=function(a,b,c,d){this.E>=b&&this.Wa.ma(a,b,nb(function(a,b){return function(){return""+a.Xa+Ta(b)}}(this,c)),d)};Ab.prototype.$classData=v({mb:0},!1,"org.scalalang.utils.Logger",{mb:1,b:1,pb:1});function R(){this.E=0}R.prototype=new x; -R.prototype.constructor=R;R.prototype.a=function(){wc=this;this.E=G().H;this.E=G().Ia;return this};R.prototype.ma=function(a,b,c,d){this.E>=b&&(b=Ta(c),(0,a.y)(b,d))};R.prototype.$classData=v({vb:0},!1,"org.scalalang.utils.RootLogger$",{vb:1,b:1,pb:1});var wc=void 0;function jb(){wc||(wc=(new R).a());return wc}function xc(){}xc.prototype=new x;xc.prototype.constructor=xc;function yc(){}yc.prototype=xc.prototype;function S(){this.o=null}S.prototype=new x;S.prototype.constructor=S;function zc(){} -zc.prototype=S.prototype;S.prototype.Na=function(){if(void 0===k.Error.captureStackTrace){try{var a={}.undef()}catch(b){if(a=nc(rc(),b),null!==a)if(a&&a.$classData&&a.$classData.f.Aa)a=a.I;else throw mc(rc(),a);else throw b;}this.stackdata=a}else k.Error.captureStackTrace(this),this.stackdata=this;return this};S.prototype.ya=function(){return this.o};S.prototype.d=function(){var a=A(ia(this)),b=this.ya();return null===b?a:a+": "+b};S.prototype.M=function(a){this.o=a;this.Na();return this}; -function Ac(){this.za=0}Ac.prototype=new Pb;Ac.prototype.constructor=Ac;Ac.prototype.a=function(){Bc=this;this.za=wa(xa(),"Seq");wa(xa(),"Map");wa(xa(),"Set");return this};function Cc(a){var b=Tb();return a&&a.$classData&&a.$classData.f.id?Rb(b.za^0):Wb(b,a,b.za)}Ac.prototype.$classData=v({Wb:0},!1,"scala.util.hashing.MurmurHash3$",{Wb:1,dd:1,b:1});var Bc=void 0;function Tb(){Bc||(Bc=(new Ac).a());return Bc}function ec(){this.Fa=this.Va=null}ec.prototype=new x;ec.prototype.constructor=ec; -ec.prototype.q=function(a){this.Fa.q(I(function(a,c){return function(d){return a.Va.w(d)?c.w(d):void 0}}(this,a)))};function dc(a,b,c){a.Va=c;if(null===b)throw mc(rc(),null);a.Fa=b;return a}ec.prototype.$classData=v({sc:0},!1,"scala.collection.TraversableLike$WithFilter",{sc:1,b:1,$a:1});function Dc(){}Dc.prototype=new x;Dc.prototype.constructor=Dc;function Ec(){}Ec.prototype=Dc.prototype;Dc.prototype.d=function(){return"\x3cfunction0\x3e"};function Fc(){}Fc.prototype=new x; -Fc.prototype.constructor=Fc;function Gc(){}Gc.prototype=Fc.prototype;Fc.prototype.d=function(){return"\x3cfunction1\x3e"};function Hc(){}Hc.prototype=new x;Hc.prototype.constructor=Hc;function Ic(){}Ic.prototype=Hc.prototype;Hc.prototype.d=function(){return"\x3cfunction2\x3e"};function Jc(){this.i=!1}Jc.prototype=new x;Jc.prototype.constructor=Jc;Jc.prototype.d=function(){return""+this.i};function ac(){var a=new Jc;a.i=!0;return a} -Jc.prototype.$classData=v({Sc:0},!1,"scala.runtime.BooleanRef",{Sc:1,b:1,c:1});var sa=v({Tc:0},!1,"scala.runtime.BoxedUnit",{Tc:1,b:1,c:1},void 0,void 0,function(a){return void 0===a});function M(){this.i=0}M.prototype=new x;M.prototype.constructor=M;M.prototype.d=function(){return""+this.i};M.prototype.Y=function(a){this.i=a;return this};M.prototype.$classData=v({Uc:0},!1,"scala.runtime.IntRef",{Uc:1,b:1,c:1}); -var ra=v({Ab:0},!1,"java.lang.Boolean",{Ab:1,b:1,c:1,n:1},void 0,void 0,function(a){return"boolean"===typeof a});function T(){this.Ca=0}T.prototype=new x;T.prototype.constructor=T;T.prototype.d=function(){return k.String.fromCharCode(this.Ca)};function Kc(a){var b=new T;b.Ca=a;return b}T.prototype.g=function(){return this.Ca};T.prototype.$classData=v({Cb:0},!1,"java.lang.Character",{Cb:1,b:1,c:1,n:1});function Lc(){this.o=null}Lc.prototype=new zc;Lc.prototype.constructor=Lc;function Mc(){} -Mc.prototype=Lc.prototype;function Nc(){}Nc.prototype=new x;Nc.prototype.constructor=Nc;Nc.prototype.a=function(){return this};function db(a,b){return null===b?fb():(new L).L(b)}Nc.prototype.$classData=v({Tb:0},!1,"scala.Option$",{Tb:1,b:1,m:1,c:1});var Oc=void 0;function eb(){Oc||(Oc=(new Nc).a());return Oc}function Pc(){this.y=null}Pc.prototype=new Ec;Pc.prototype.constructor=Pc;function Ta(a){return(0,a.y)()}function nb(a){var b=new Pc;b.y=a;return b} -Pc.prototype.$classData=v({Kc:0},!1,"scala.scalajs.runtime.AnonFunction0",{Kc:1,qd:1,b:1,Yc:1});function Qc(){this.y=null}Qc.prototype=new Gc;Qc.prototype.constructor=Qc;Qc.prototype.w=function(a){return(0,this.y)(a)};function I(a){var b=new Qc;b.y=a;return b}Qc.prototype.$classData=v({Lc:0},!1,"scala.scalajs.runtime.AnonFunction1",{Lc:1,rd:1,b:1,Ha:1});function Rc(){this.y=null}Rc.prototype=new Ic;Rc.prototype.constructor=Rc;function pb(a){var b=new Rc;b.y=a;return b} -Rc.prototype.$classData=v({Mc:0},!1,"scala.scalajs.runtime.AnonFunction2",{Mc:1,sd:1,b:1,Zc:1});function Sc(){this.ra=0;this.ga=null}Sc.prototype=new x;Sc.prototype.constructor=Sc;Sc.prototype.a=function(){Tc=this;this.ga=(new Q).Z(0,0);return this}; -function Uc(a,b){if(0===(-2097152&b))b=""+(4294967296*b+ +(a>>>0));else{var c=(32+ba(1E9)|0)-(0!==b?ba(b):32+ba(a)|0)|0,d=c,g=0===(32&d)?1E9<>>(31-d|0)|0|0<=(-2147483648^Va):(-2147483648^p)>=(-2147483648^oc))r=m,p=d,m=h-g|0,r=(-2147483648^m)>(-2147483648^h)?-1+(r-p|0)|0:r-p|0,h=m,m=r,32>c?b|=1<>>1|0;g=g>>>1|0|d<<31;d=r}c=m;if(0===c?-1147483648<=(-2147483648^ -h):-2147483648<=(-2147483648^c))c=4294967296*m+ +(h>>>0),h=c/1E9,g=h/4294967296|0,d=b,b=h=d+(h|0)|0,a=(-2147483648^h)<(-2147483648^d)?1+(a+g|0)|0:a+g|0,h=c%1E9|0;c=""+h;b=""+(4294967296*a+ +(b>>>0))+"000000000".substring(c.length|0)+c}return b}Sc.prototype.$classData=v({Pc:0},!1,"scala.scalajs.runtime.RuntimeLong$",{Pc:1,b:1,m:1,c:1});var Tc=void 0;function w(){Tc||(Tc=(new Sc).a());return Tc} -var ja=v({wb:0},!1,"java.lang.String",{wb:1,b:1,c:1,Ra:1,n:1},void 0,void 0,function(a){return"string"===typeof a}),la=v({Bb:0},!1,"java.lang.Byte",{Bb:1,N:1,b:1,c:1,n:1},void 0,void 0,function(a){return ka(a)}),qa=v({Eb:0},!1,"java.lang.Double",{Eb:1,N:1,b:1,c:1,n:1},void 0,void 0,function(a){return"number"===typeof a}),pa=v({Fb:0},!1,"java.lang.Float",{Fb:1,N:1,b:1,c:1,n:1},void 0,void 0,function(a){return"number"===typeof a}),oa=v({Hb:0},!1,"java.lang.Integer",{Hb:1,N:1,b:1,c:1,n:1},void 0,void 0, -function(a){return"number"===typeof a&&(a|0)===a&&1/a!==1/-0}),ua=v({Ib:0},!1,"java.lang.Long",{Ib:1,N:1,b:1,c:1,n:1},void 0,void 0,function(a){return ta(a)});function Vc(){this.o=null}Vc.prototype=new Mc;Vc.prototype.constructor=Vc;function U(){}U.prototype=Vc.prototype;var na=v({Lb:0},!1,"java.lang.Short",{Lb:1,N:1,b:1,c:1,n:1},void 0,void 0,function(a){return ma(a)});function Wc(){this.j=null}Wc.prototype=new x;Wc.prototype.constructor=Wc;e=Wc.prototype;e.a=function(){this.j="";return this}; -e.d=function(){return this.j};e.Y=function(a){Wc.prototype.a.call(this);if(0>a)throw(new Xc).a();return this};e.na=function(){return this.j.length|0};e.$classData=v({Mb:0},!1,"java.lang.StringBuilder",{Mb:1,b:1,Ra:1,ad:1,c:1});function Yc(){}Yc.prototype=new x;Yc.prototype.constructor=Yc;function Zc(){}Zc.prototype=Yc.prototype;Yc.prototype.d=function(){return(this.X()?"non-empty":"empty")+" iterator"};Yc.prototype.q=function(a){for(;this.X();)a.w(this.ca())};function Q(){this.J=this.P=0} -Q.prototype=new yc;Q.prototype.constructor=Q;e=Q.prototype;e.d=function(){w();var a=this.P,b=this.J;return b===a>>31?""+a:0>b?"-"+Uc(-a|0,0!==a?~b:-b|0):Uc(a,b)};e.Z=function(a,b){this.P=a;this.J=b;return this};e.Y=function(a){Q.prototype.Z.call(this,a,a>>31);return this};e.g=function(){return this.P^this.J};function ta(a){return!!(a&&a.$classData&&a.$classData.f.ab)}e.$classData=v({ab:0},!1,"scala.scalajs.runtime.RuntimeLong",{ab:1,N:1,b:1,c:1,n:1});function V(){this.o=null}V.prototype=new U; -V.prototype.constructor=V;V.prototype.l=function(a){S.prototype.M.call(this,a);return this};V.prototype.$classData=v({Gb:0},!1,"java.lang.IndexOutOfBoundsException",{Gb:1,ba:1,aa:1,O:1,b:1,c:1});function Xc(){this.o=null}Xc.prototype=new U;Xc.prototype.constructor=Xc;Xc.prototype.a=function(){S.prototype.M.call(this,null);return this};Xc.prototype.$classData=v({Jb:0},!1,"java.lang.NegativeArraySizeException",{Jb:1,ba:1,aa:1,O:1,b:1,c:1});function $c(){this.o=null}$c.prototype=new U; -$c.prototype.constructor=$c;$c.prototype.a=function(){S.prototype.M.call(this,null);return this};$c.prototype.$classData=v({Kb:0},!1,"java.lang.NullPointerException",{Kb:1,ba:1,aa:1,O:1,b:1,c:1});function W(){this.o=null}W.prototype=new U;W.prototype.constructor=W;W.prototype.l=function(a){S.prototype.M.call(this,a);return this};W.prototype.$classData=v({Nb:0},!1,"java.util.NoSuchElementException",{Nb:1,ba:1,aa:1,O:1,b:1,c:1});function P(){this.da=this.Ua=this.o=null;this.va=!1}P.prototype=new U; -P.prototype.constructor=P;P.prototype.ya=function(){if(!this.va&&!this.va){var a;if(null===this.da)a="null";else try{a=ha(this.da)+" ("+("of class "+A(ia(this.da)))+")"}catch(b){if(null!==nc(rc(),b))a="an instance of class "+A(ia(this.da));else throw b;}this.Ua=a;this.va=!0}return this.Ua};P.prototype.L=function(a){this.da=a;S.prototype.M.call(this,null);return this};P.prototype.$classData=v({Pb:0},!1,"scala.MatchError",{Pb:1,ba:1,aa:1,O:1,b:1,c:1});function ad(){}ad.prototype=new x; -ad.prototype.constructor=ad;function bd(){}bd.prototype=ad.prototype;function N(){}N.prototype=new Zc;N.prototype.constructor=N;N.prototype.a=function(){return this};N.prototype.ca=function(){throw(new W).l("next on empty iterator");};N.prototype.X=function(){return!1};N.prototype.$classData=v({mc:0},!1,"scala.collection.Iterator$$anon$2",{mc:1,Ya:1,b:1,Za:1,qa:1,pa:1});function X(){this.Ja=this.V=0;this.fb=null}X.prototype=new Zc;X.prototype.constructor=X; -X.prototype.ca=function(){var a=this.fb.t(this.V);this.V=1+this.V|0;return a};function Y(a){var b=new X;b.fb=a;b.V=0;b.Ja=a.s();return b}X.prototype.X=function(){return this.V=this.xa&&(Yb||(Yb=(new Xb).a()),Yb.Ma.ca());var a=this.Ga.ta(this.K);this.K=1+this.K|0;return a}; -function Nb(a,b){var c=new Z;c.xa=b;if(null===a)throw mc(rc(),null);c.Ga=a;c.K=0;return c}Z.prototype.X=function(){return this.K=(65535&(a.charCodeAt(b)|0))&&48<=(65535&(a.charCodeAt(b)|0)))b=-1+b|0;else break;for(var g=b;;)if(-1!==b&&36!==(65535&(a.charCodeAt(b)|0))&&46!==(65535&(a.charCodeAt(b)|0)))b=-1+b|0;else break;var h=1+b|0;if(b===g&&d!==(a.length|0)){a=c;break a}for(;;)if(-1!== -b&&36===(65535&(a.charCodeAt(b)|0)))b=-1+b|0;else break;var g=-1===b?!0:46===(65535&(a.charCodeAt(b)|0)),m;(m=g)||(m=65535&(a.charCodeAt(h)|0),m=!(90m||65>m));if(m){d=a.substring(h,d);h=c;if(null===h)throw(new $c).a();c=""===h?d:""+d+Kc(46)+c;if(g){a=c;break a}}}}return a};function ld(a,b){for(var c=0,d=a.na();c Date: Mon, 16 Jul 2018 22:52:12 -0700 Subject: [PATCH 5/7] tiny cleanup --- README.md | 1 - project/Versions.scala | 7 +------ 2 files changed, 1 insertion(+), 7 deletions(-) diff --git a/README.md b/README.md index 6c180b425..6a05de01c 100644 --- a/README.md +++ b/README.md @@ -29,7 +29,6 @@ bundle exec jekyll serve --incremental ``` sbt ~fastOptJS ``` -Then follow `For Compose` ## Viewing the site diff --git a/project/Versions.scala b/project/Versions.scala index b459b8fa3..32bb8a215 100644 --- a/project/Versions.scala +++ b/project/Versions.scala @@ -1,10 +1,5 @@ -import sbt._ - /** - * TODO add description - * - * @author dylan.owen - * @since Jun-2018 + * Shared Versions */ object Versions { val Dom = "0.9.2" From 61f7165d70ec3a09acf6008f500501fd73112b49 Mon Sep 17 00:00:00 2001 From: Dylan Owen Date: Mon, 16 Jul 2018 23:49:05 -0700 Subject: [PATCH 6/7] setInfo logging --- .../functions/src/main/scala/org/scalalang/FunctionsApp.scala | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js-src/functions/src/main/scala/org/scalalang/FunctionsApp.scala b/js-src/functions/src/main/scala/org/scalalang/FunctionsApp.scala index 8a9756fc9..07bc92189 100644 --- a/js-src/functions/src/main/scala/org/scalalang/FunctionsApp.scala +++ b/js-src/functions/src/main/scala/org/scalalang/FunctionsApp.scala @@ -8,7 +8,7 @@ import org.scalalang.utils.{Logger, RootLogger} * This is the main entry point for our application */ object FunctionsApp { - RootLogger.setTrace() + RootLogger.setInfo() private val logger: Logger = Logger[FunctionsApp.type] From 12ed633a13b810e9ad687b42ff57a93c9d1e62cd Mon Sep 17 00:00:00 2001 From: Dylan Owen Date: Sat, 21 Jul 2018 12:00:19 -0700 Subject: [PATCH 7/7] updated with review comments --- js-src/functions/build.sbt | 5 +- .../scala/org/scalalang/DownloadLinks.scala | 2 +- .../scala/org/scalalang/FunctionsApp.scala | 7 +- .../scala/org/scalalang/utils/Logger.scala | 158 ------------------ .../main/scala/org/scalalang/utils/OS.scala | 41 +---- 5 files changed, 12 insertions(+), 201 deletions(-) delete mode 100644 js-src/functions/src/main/scala/org/scalalang/utils/Logger.scala diff --git a/js-src/functions/build.sbt b/js-src/functions/build.sbt index b3224dae8..d06ea1803 100644 --- a/js-src/functions/build.sbt +++ b/js-src/functions/build.sbt @@ -1,5 +1,3 @@ -import org.scalajs.core.tools.linker.backend.OutputMode - enablePlugins(ScalaJSPlugin) name := "functions" @@ -12,7 +10,6 @@ libraryDependencies ++= Seq( // move our output folder to static artifactPath in(Compile, fastOptJS) := baseDirectory.value / ".." / ".." / "resources" / "js" / s"scala-${name.value}.js" artifactPath in(Compile, fullOptJS) := baseDirectory.value / ".." / ".." / "resources" / "js" / s"scala-${name.value}.js" -scalaJSOptimizerOptions in (Compile, fullOptJS) ~= { _.withUseClosureCompiler(true) } scalaJSUseMainModuleInitializer := true -emitSourceMaps := false \ No newline at end of file +scalaJSLinkerConfig ~= { _.withSourceMap(false) } \ No newline at end of file diff --git a/js-src/functions/src/main/scala/org/scalalang/DownloadLinks.scala b/js-src/functions/src/main/scala/org/scalalang/DownloadLinks.scala index e24962a09..63cf14c31 100644 --- a/js-src/functions/src/main/scala/org/scalalang/DownloadLinks.scala +++ b/js-src/functions/src/main/scala/org/scalalang/DownloadLinks.scala @@ -2,7 +2,7 @@ package org.scalalang import org.querki.jquery._ import org.scalajs.dom.{Element, document} -import org.scalalang.utils.{JsUtils, Logger, OS} +import org.scalalang.utils.{JsUtils, OS} /** * This updates our download links based on the OS of the client diff --git a/js-src/functions/src/main/scala/org/scalalang/FunctionsApp.scala b/js-src/functions/src/main/scala/org/scalalang/FunctionsApp.scala index 07bc92189..24f873101 100644 --- a/js-src/functions/src/main/scala/org/scalalang/FunctionsApp.scala +++ b/js-src/functions/src/main/scala/org/scalalang/FunctionsApp.scala @@ -2,19 +2,14 @@ package org.scalalang import org.querki.jquery._ import org.scalajs.dom.document -import org.scalalang.utils.{Logger, RootLogger} /** * This is the main entry point for our application */ object FunctionsApp { - RootLogger.setInfo() - - private val logger: Logger = Logger[FunctionsApp.type] - def main(args: Array[String]): Unit = { $(document).ready(() => { - logger.trace("Dom Ready") + println("Dom Ready") Tooltip() DownloadLinks() diff --git a/js-src/functions/src/main/scala/org/scalalang/utils/Logger.scala b/js-src/functions/src/main/scala/org/scalalang/utils/Logger.scala deleted file mode 100644 index ee040f4c3..000000000 --- a/js-src/functions/src/main/scala/org/scalalang/utils/Logger.scala +++ /dev/null @@ -1,158 +0,0 @@ -package org.scalalang.utils - -import org.scalajs.dom.console - -import scala.reflect.ClassTag -import scala.scalajs.js - -/** - * A basic logger for the debugging console - */ -object Logger { - - type Level = Int - - object Level { - val Error: Level = 1 - val Warn: Level = 3 - val Info: Level = 5 - val Debug: Level = 7 - val Trace: Level = 9 - } - - def apply[C](implicit clazz: ClassTag[C]): Logger = { - Logger(clazz.runtimeClass.getName, RootLogger) - } - - def apply(prefix: String, parentLogger: LoggerUtil = RootLogger): Logger = { - new Logger(prefix + ":\t", parentLogger) - } -} - -trait LoggerUtil { - - import Logger.Level - - protected var logLevel: Level = Level.Trace - - @inline - def logAndThrow(message: String, t: String => Throwable = new RuntimeException(_)): Nothing = { - throw logAndGet(message, t) - } - - @inline - def logAndThrow(message: String, t: Throwable): Nothing = { - error(message, t.getMessage) - - throw t - } - - @inline - def logAndThrow(t: Throwable): Nothing = { - error(t.getMessage) - - throw t - } - - @inline - def logAndGet(message: String, t: String => Throwable = new RuntimeException(_)): Throwable = { - error(message) - - t(message) - } - - @inline - def log(logLevel: Level, message: => js.Any, optionalMessages: js.Any*): Unit = logLevel match { - case Level.Trace => trace(message, optionalMessages) - case Level.Debug => debug(message, optionalMessages) - case Level.Info => info(message, optionalMessages) - case Level.Warn => warn(message, optionalMessages) - case Level.Error => error(message, optionalMessages) - } - - @inline - def warn(t: Throwable): Unit = { - warn(t.getMessage) - } - - @inline - def error(t: Throwable): Unit = { - error(t.getMessage) - t.printStackTrace() - } - - @inline - def trace(message: => js.Any, optionalMessages: js.Any*): Unit = { - internalLog(console.log, Level.Trace, message, optionalMessages) - } - - @inline - def debug(message: => js.Any, optionalMessages: js.Any*): Unit = { - internalLog(console.log, Level.Debug, message, optionalMessages) - } - - @inline - def info(message: => js.Any, optionalMessages: js.Any*): Unit = { - internalLog(console.info, Level.Info, message, optionalMessages) - } - - @inline - def warn(message: => js.Any, optionalMessages: js.Any*): Unit = { - internalLog(console.warn, Level.Warn, message, optionalMessages) - } - - @inline - def error(message: => js.Any, optionalMessages: js.Any*): Unit = { - internalLog(console.error, Level.Error, message, optionalMessages) - } - - @inline - private[utils] def internalLog(logger: (js.Any, Seq[js.Any]) => Unit, - level: Level, - lazyMessage: => js.Any, - optionalMessages: Seq[js.Any]): Unit - - def setTrace(): Unit = this.logLevel = Level.Trace - - def setDebug(): Unit = this.logLevel = Level.Debug - - def setInfo(): Unit = this.logLevel = Level.Info - - def setWarn(): Unit = this.logLevel = Level.Warn - - def setError(): Unit = this.logLevel = Level.Error -} - -class Logger private(prefix: String, private val parentLogger: LoggerUtil) extends LoggerUtil { - - import Logger._ - - override private[utils] def internalLog(logger: (js.Any, Seq[js.Any]) => Unit, - level: Level, - lazyMessage: => js.Any, - optionalMessages: Seq[js.Any]): Unit = { - if (logLevel >= level) { - parentLogger.internalLog(logger, level, { - prefix + lazyMessage - }, optionalMessages) - } - } -} - -object RootLogger extends LoggerUtil { - - import Logger.Level - - logLevel = Level.Info - - @inline - override private[utils] def internalLog(logger: (js.Any, Seq[js.Any]) => Unit, - level: Level, - lazyMessage: => js.Any, - optionalMessages: Seq[js.Any]): Unit = { - if (logLevel >= level) { - val message: js.Any = lazyMessage - logger(message, optionalMessages) - } - } -} \ No newline at end of file diff --git a/js-src/functions/src/main/scala/org/scalalang/utils/OS.scala b/js-src/functions/src/main/scala/org/scalalang/utils/OS.scala index 7218ea0b5..f952be2a6 100644 --- a/js-src/functions/src/main/scala/org/scalalang/utils/OS.scala +++ b/js-src/functions/src/main/scala/org/scalalang/utils/OS.scala @@ -5,50 +5,27 @@ import org.scalajs.dom.window /** * Find which OS our client is running */ -sealed trait OS { - val navigator: String - val label: String -} +sealed abstract class OS(val navigator: String, val label: String) object OS { - private val logger: Logger = Logger[OS.type] + case object Windows extends OS("Win", "windows") - case object Windows extends OS { - override val navigator: String = "Win" - override val label: String = "windows" - } - - case object Mac extends OS { - override val navigator: String = "Mac" - override val label: String = "osx" - } + case object Mac extends OS("Mac", "osx") - case object Linux extends OS { - override val navigator: String = "Linux" - override val label: String = "linux" - } + case object Linux extends OS("Linux", "linux") - case object Unix extends OS { - override val navigator: String = "X11" - override val label: String = "unix" - } + case object Unix extends OS("X11", "unix") def apply(): OS = { val appVersion: String = window.navigator.appVersion val default: OS = Linux val os: OS = Array(Windows, Mac, Linux, Unix) - .foldLeft(default)((last: OS, os: OS) => { - if (appVersion.contains(os.navigator)) { - os - } - else { - last - } - }) - - logger.trace("OS: " + os) + .find(os => appVersion.contains(os.navigator)) + .getOrElse(default) + + println("OS: " + os) os }