'use strict'; var $linkingInfo = Object.freeze(({ "esVersion": 6, "assumingES6": true, "isWebAssembly": false, "productionMode": false, "linkerVersion": "1.17.0", "fileLevelThis": this })); var $getOwnPropertyDescriptors = (Object.getOwnPropertyDescriptors || (() => { var ownKeysFun; if ((((typeof Reflect) !== "undefined") && Reflect.ownKeys)) { ownKeysFun = Reflect.ownKeys; } else { var getOwnPropertySymbols = (Object.getOwnPropertySymbols || ((o) => [])); ownKeysFun = ((o) => Object.getOwnPropertyNames(o).concat(getOwnPropertySymbols(o))); } return ((o) => { var ownKeys = ownKeysFun(o); var descriptors = ({}); var len = (ownKeys.length | 0); var i = 0; while ((i !== len)) { var key = ownKeys[i]; Object.defineProperty(descriptors, key, ({ "configurable": true, "enumerable": true, "writable": true, "value": Object.getOwnPropertyDescriptor(o, key) })); i = ((i + 1) | 0); } return descriptors; }); })()); var $L0; function $Char(c) { this.c = c; } $Char.prototype.toString = (function() { return String.fromCharCode(this.c); }); function $valueDescription(arg0) { return (((typeof arg0) === "number") ? (((arg0 === 0) && ((1 / arg0) < 0)) ? "number(-0)" : (("number(" + arg0) + ")")) : ((arg0 instanceof $c_RTLong) ? "long" : ((arg0 instanceof $Char) ? "char" : ((!(!(arg0 && arg0.$classData))) ? arg0.$classData.name : (typeof arg0))))); } function $throwClassCastException(arg0, arg1) { throw new $c_Lorg_scalajs_linker_runtime_UndefinedBehaviorError(new $c_jl_ClassCastException((($valueDescription(arg0) + " cannot be cast to ") + arg1))); } function $throwArrayCastException(arg0, arg1, arg2) { while ((--arg2)) { arg1 = ("[" + arg1); } $throwClassCastException(arg0, arg1); } function $throwArrayIndexOutOFBoundsException(arg0) { throw new $c_Lorg_scalajs_linker_runtime_UndefinedBehaviorError(new $c_jl_ArrayIndexOutOfBoundsException(((arg0 === null) ? null : ("" + arg0)))); } function $throwArrayStoreException(arg0) { throw new $c_Lorg_scalajs_linker_runtime_UndefinedBehaviorError(new $c_jl_ArrayStoreException(((arg0 === null) ? null : $valueDescription(arg0)))); } function $throwNegativeArraySizeException() { throw new $c_Lorg_scalajs_linker_runtime_UndefinedBehaviorError(new $c_jl_NegativeArraySizeException()); } function $throwNullPointerException() { throw new $c_Lorg_scalajs_linker_runtime_UndefinedBehaviorError(new $c_jl_NullPointerException()); } function $n(arg0) { if ((arg0 === null)) { $throwNullPointerException(); } return arg0; } function $noIsInstance(arg0) { throw new TypeError("Cannot call isInstance() on a Class representing a JS trait/object"); } function $objectClone(arg0) { return Object.create(Object.getPrototypeOf(arg0), $getOwnPropertyDescriptors(arg0)); } function $objectOrArrayClone(arg0) { return (arg0.$classData.isArrayClass ? arg0.clone__O() : $objectClone(arg0)); } function $objectGetClass(arg0) { switch ((typeof arg0)) { case "string": { return $d_T.getClassOf(); } case "number": { if ($isInt(arg0)) { if ((((arg0 << 24) >> 24) === arg0)) { return $d_jl_Byte.getClassOf(); } else if ((((arg0 << 16) >> 16) === arg0)) { return $d_jl_Short.getClassOf(); } else { return $d_jl_Integer.getClassOf(); } } else if ($isFloat(arg0)) { return $d_jl_Float.getClassOf(); } else { return $d_jl_Double.getClassOf(); } } case "boolean": { return $d_jl_Boolean.getClassOf(); } case "undefined": { return $d_jl_Void.getClassOf(); } default: { if ((arg0 === null)) { $throwNullPointerException(); } else if ((arg0 instanceof $c_RTLong)) { return $d_jl_Long.getClassOf(); } else if ((arg0 instanceof $Char)) { return $d_jl_Character.getClassOf(); } else if ((!(!(arg0 && arg0.$classData)))) { return arg0.$classData.getClassOf(); } else { return null; } } } } function $objectClassName(arg0) { switch ((typeof arg0)) { case "string": { return "java.lang.String"; } case "number": { if ($isInt(arg0)) { if ((((arg0 << 24) >> 24) === arg0)) { return "java.lang.Byte"; } else if ((((arg0 << 16) >> 16) === arg0)) { return "java.lang.Short"; } else { return "java.lang.Integer"; } } else if ($isFloat(arg0)) { return "java.lang.Float"; } else { return "java.lang.Double"; } } case "boolean": { return "java.lang.Boolean"; } case "undefined": { return "java.lang.Void"; } default: { if ((arg0 === null)) { $throwNullPointerException(); } else if ((arg0 instanceof $c_RTLong)) { return "java.lang.Long"; } else if ((arg0 instanceof $Char)) { return "java.lang.Character"; } else if ((!(!(arg0 && arg0.$classData)))) { return arg0.$classData.name; } else { return $throwNullPointerException(); } } } } function $dp_equals__O__Z(instance, x0) { switch ((typeof instance)) { case "string": { return $f_T__equals__O__Z(instance, x0); } case "number": { return $f_jl_Double__equals__O__Z(instance, x0); } case "boolean": { return $f_jl_Boolean__equals__O__Z(instance, x0); } case "undefined": { return $f_jl_Void__equals__O__Z(instance, x0); } default: { if (((!(!(instance && instance.$classData))) || (instance === null))) { return instance.equals__O__Z(x0); } else if ((instance instanceof $c_RTLong)) { return $f_jl_Long__equals__O__Z(instance, x0); } else if ((instance instanceof $Char)) { return $f_jl_Character__equals__O__Z($uC(instance), x0); } else { return $c_O.prototype.equals__O__Z.call(instance, x0); } } } } function $dp_hashCode__I(instance) { switch ((typeof instance)) { case "string": { return $f_T__hashCode__I(instance); } case "number": { return $f_jl_Double__hashCode__I(instance); } case "boolean": { return $f_jl_Boolean__hashCode__I(instance); } case "undefined": { return $f_jl_Void__hashCode__I(instance); } default: { if (((!(!(instance && instance.$classData))) || (instance === null))) { return instance.hashCode__I(); } else if ((instance instanceof $c_RTLong)) { return $f_jl_Long__hashCode__I(instance); } else if ((instance instanceof $Char)) { return $f_jl_Character__hashCode__I($uC(instance)); } else { return $c_O.prototype.hashCode__I.call(instance); } } } } function $dp_toString__T(instance) { return ((instance === (void 0)) ? "undefined" : instance.toString()); } function $intDiv(arg0, arg1) { if ((arg1 === 0)) { throw new $c_jl_ArithmeticException("/ by zero"); } else { return ((arg0 / arg1) | 0); } } function $intMod(arg0, arg1) { if ((arg1 === 0)) { throw new $c_jl_ArithmeticException("/ by zero"); } else { return ((arg0 % arg1) | 0); } } function $doubleToInt(arg0) { return ((arg0 > 2147483647) ? 2147483647 : ((arg0 < (-2147483648)) ? (-2147483648) : (arg0 | 0))); } function $cToS(arg0) { return String.fromCharCode(arg0); } function $charAt(arg0, arg1) { var r = arg0.charCodeAt(arg1); if ((r !== r)) { throw new $c_Lorg_scalajs_linker_runtime_UndefinedBehaviorError(new $c_jl_StringIndexOutOfBoundsException(arg1)); } else { return r; } } function $resolveSuperRef(arg0, arg1) { var getPrototypeOf = Object.getPrototyeOf; var getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor; var superProto = arg0.prototype; while ((superProto !== null)) { var desc = getOwnPropertyDescriptor(superProto, arg1); if ((desc !== (void 0))) { return desc; } superProto = getPrototypeOf(superProto); } } function $superGet(arg0, arg1, arg2) { var desc = $resolveSuperRef(arg0, arg2); if ((desc !== (void 0))) { var getter = desc.get; return ((getter !== (void 0)) ? getter.call(arg1) : getter.value); } } function $superSet(arg0, arg1, arg2, arg3) { var desc = $resolveSuperRef(arg0, arg2); if ((desc !== (void 0))) { var setter = desc.set; if ((setter !== (void 0))) { setter.call(arg1, arg3); return (void 0); } } throw new TypeError((("super has no setter '" + arg2) + "'.")); } function $arraycopyCheckBounds(arg0, arg1, arg2, arg3, arg4) { if ((((((arg1 < 0) || (arg3 < 0)) || (arg4 < 0)) || (arg1 > ((arg0 - arg4) | 0))) || (arg3 > ((arg2 - arg4) | 0)))) { $throwArrayIndexOutOFBoundsException(null); } } function $arraycopyGeneric(arg0, arg1, arg2, arg3, arg4) { $arraycopyCheckBounds(arg0.length, arg1, arg2.length, arg3, arg4); if ((((arg0 !== arg2) || (arg3 < arg1)) || (((arg1 + arg4) | 0) < arg3))) { for (var i = 0; (i < arg4); i = ((i + 1) | 0)) { arg2[((arg3 + i) | 0)] = arg0[((arg1 + i) | 0)]; } } else { for (var i = ((arg4 - 1) | 0); (i >= 0); i = ((i - 1) | 0)) { arg2[((arg3 + i) | 0)] = arg0[((arg1 + i) | 0)]; } } } function $systemArraycopy(arg0, arg1, arg2, arg3, arg4) { arg0.copyTo(arg1, arg2, arg3, arg4); } function $systemArraycopyRefs(arg0, arg1, arg2, arg3, arg4) { if (arg2.$classData.isAssignableFrom(arg0.$classData)) { $arraycopyGeneric(arg0.u, arg1, arg2.u, arg3, arg4); } else { var srcArray = arg0.u; $arraycopyCheckBounds(srcArray.length, arg1, arg2.u.length, arg3, arg4); for (var i = 0; (i < arg4); i = ((i + 1) | 0)) { arg2.set(((arg3 + i) | 0), srcArray[((arg1 + i) | 0)]); } } } function $systemArraycopyFull(arg0, arg1, arg2, arg3, arg4) { var srcData = (arg0 && arg0.$classData); if ((srcData === (arg2 && arg2.$classData))) { if ((srcData && srcData.isArrayClass)) { $systemArraycopy(arg0, arg1, arg2, arg3, arg4); } else { $throwArrayStoreException(null); } } else if (((arg0 instanceof $ac_O) && (arg2 instanceof $ac_O))) { $systemArraycopyRefs(arg0, arg1, arg2, arg3, arg4); } else { $throwArrayStoreException(null); } } var $lastIDHash = 0; var $idHashCodeMap = new WeakMap(); function $systemIdentityHashCode(obj) { switch ((typeof obj)) { case "string": { return $f_T__hashCode__I(obj); } case "number": { return $f_jl_Double__hashCode__I(obj); } case "bigint": { var biHash = 0; if ((obj < BigInt(0))) { obj = (~obj); } while ((obj !== BigInt(0))) { biHash = (biHash ^ Number(BigInt.asIntN(32, obj))); obj = (obj >> BigInt(32)); } return biHash; } case "boolean": { return (obj ? 1231 : 1237); } case "undefined": { return 0; } case "symbol": { var description = obj.description; return ((description === (void 0)) ? 0 : $f_T__hashCode__I(description)); } default: { if ((obj === null)) { return 0; } else { var hash = $idHashCodeMap.get(obj); if ((hash === (void 0))) { hash = (($lastIDHash + 1) | 0); $lastIDHash = hash; $idHashCodeMap.set(obj, hash); } return hash; } } } } function $isByte(arg0) { return ((((typeof arg0) === "number") && (((arg0 << 24) >> 24) === arg0)) && ((1 / arg0) !== (1 / (-0)))); } function $isShort(arg0) { return ((((typeof arg0) === "number") && (((arg0 << 16) >> 16) === arg0)) && ((1 / arg0) !== (1 / (-0)))); } function $isInt(arg0) { return ((((typeof arg0) === "number") && ((arg0 | 0) === arg0)) && ((1 / arg0) !== (1 / (-0)))); } function $isFloat(arg0) { return (((typeof arg0) === "number") && ((arg0 !== arg0) || (Math.fround(arg0) === arg0))); } function $bC(arg0) { return new $Char(arg0); } var $bC0 = $bC(0); function $uV(arg0) { return (((arg0 === (void 0)) || (arg0 === null)) ? (void 0) : $throwClassCastException(arg0, "java.lang.Void")); } function $uZ(arg0) { return ((((typeof arg0) === "boolean") || (arg0 === null)) ? (!(!arg0)) : $throwClassCastException(arg0, "java.lang.Boolean")); } function $uC(arg0) { return (((arg0 instanceof $Char) || (arg0 === null)) ? ((arg0 === null) ? 0 : arg0.c) : $throwClassCastException(arg0, "java.lang.Character")); } function $uB(arg0) { return (($isByte(arg0) || (arg0 === null)) ? (arg0 | 0) : $throwClassCastException(arg0, "java.lang.Byte")); } function $uS(arg0) { return (($isShort(arg0) || (arg0 === null)) ? (arg0 | 0) : $throwClassCastException(arg0, "java.lang.Short")); } function $uI(arg0) { return (($isInt(arg0) || (arg0 === null)) ? (arg0 | 0) : $throwClassCastException(arg0, "java.lang.Integer")); } function $uJ(arg0) { return (((arg0 instanceof $c_RTLong) || (arg0 === null)) ? ((arg0 === null) ? $L0 : arg0) : $throwClassCastException(arg0, "java.lang.Long")); } function $uF(arg0) { return (($isFloat(arg0) || (arg0 === null)) ? (+arg0) : $throwClassCastException(arg0, "java.lang.Float")); } function $uD(arg0) { return ((((typeof arg0) === "number") || (arg0 === null)) ? (+arg0) : $throwClassCastException(arg0, "java.lang.Double")); } function $uT(arg0) { return ((((typeof arg0) === "string") || (arg0 === null)) ? ((arg0 === null) ? "" : arg0) : $throwClassCastException(arg0, "java.lang.String")); } /** @constructor */ function $c_O() { } $c_O.prototype.constructor = $c_O; /** @constructor */ function $h_O() { } $h_O.prototype = $c_O.prototype; $c_O.prototype.hashCode__I = (function() { return $systemIdentityHashCode(this); }); $c_O.prototype.equals__O__Z = (function(that) { return (this === that); }); $c_O.prototype.toString__T = (function() { var i = this.hashCode__I(); return (($objectClassName(this) + "@") + $as_T($uD((i >>> 0.0)).toString(16))); }); $c_O.prototype.toString = (function() { return this.toString__T(); }); function $ac_O(arg) { if (((typeof arg) === "number")) { if ((arg < 0)) { $throwNegativeArraySizeException(); } this.u = new Array(arg); for (var i = 0; (i < arg); (i++)) { this.u[i] = null; } } else { this.u = arg; } } $ac_O.prototype = new $h_O(); $ac_O.prototype.constructor = $ac_O; $ac_O.prototype.get = (function(i) { if (((i < 0) || (i >= this.u.length))) { $throwArrayIndexOutOFBoundsException(i); } return this.u[i]; }); $ac_O.prototype.set = (function(i, v) { if (((i < 0) || (i >= this.u.length))) { $throwArrayIndexOutOFBoundsException(i); } this.u[i] = v; }); $ac_O.prototype.copyTo = (function(srcPos, dest, destPos, length) { $arraycopyGeneric(this.u, srcPos, dest.u, destPos, length); }); $ac_O.prototype.clone__O = (function() { return new $ac_O(this.u.slice()); }); function $ah_O() { } $ah_O.prototype = $ac_O.prototype; function $ac_Z(arg) { if (((typeof arg) === "number")) { if ((arg < 0)) { $throwNegativeArraySizeException(); } this.u = new Array(arg); for (var i = 0; (i < arg); (i++)) { this.u[i] = false; } } else { this.u = arg; } } $ac_Z.prototype = new $h_O(); $ac_Z.prototype.constructor = $ac_Z; $ac_Z.prototype.get = (function(i) { if (((i < 0) || (i >= this.u.length))) { $throwArrayIndexOutOFBoundsException(i); } return this.u[i]; }); $ac_Z.prototype.set = (function(i, v) { if (((i < 0) || (i >= this.u.length))) { $throwArrayIndexOutOFBoundsException(i); } this.u[i] = v; }); $ac_Z.prototype.copyTo = (function(srcPos, dest, destPos, length) { $arraycopyGeneric(this.u, srcPos, dest.u, destPos, length); }); $ac_Z.prototype.clone__O = (function() { return new $ac_Z(this.u.slice()); }); function $ac_C(arg) { if (((typeof arg) === "number")) { if ((arg < 0)) { $throwNegativeArraySizeException(); } this.u = new Uint16Array(arg); } else { this.u = arg; } } $ac_C.prototype = new $h_O(); $ac_C.prototype.constructor = $ac_C; $ac_C.prototype.get = (function(i) { if (((i < 0) || (i >= this.u.length))) { $throwArrayIndexOutOFBoundsException(i); } return this.u[i]; }); $ac_C.prototype.set = (function(i, v) { if (((i < 0) || (i >= this.u.length))) { $throwArrayIndexOutOFBoundsException(i); } this.u[i] = v; }); $ac_C.prototype.copyTo = (function(srcPos, dest, destPos, length) { $arraycopyCheckBounds(this.u.length, srcPos, dest.u.length, destPos, length); dest.u.set(this.u.subarray(srcPos, ((srcPos + length) | 0)), destPos); }); $ac_C.prototype.clone__O = (function() { return new $ac_C(this.u.slice()); }); function $ac_B(arg) { if (((typeof arg) === "number")) { if ((arg < 0)) { $throwNegativeArraySizeException(); } this.u = new Int8Array(arg); } else { this.u = arg; } } $ac_B.prototype = new $h_O(); $ac_B.prototype.constructor = $ac_B; $ac_B.prototype.get = (function(i) { if (((i < 0) || (i >= this.u.length))) { $throwArrayIndexOutOFBoundsException(i); } return this.u[i]; }); $ac_B.prototype.set = (function(i, v) { if (((i < 0) || (i >= this.u.length))) { $throwArrayIndexOutOFBoundsException(i); } this.u[i] = v; }); $ac_B.prototype.copyTo = (function(srcPos, dest, destPos, length) { $arraycopyCheckBounds(this.u.length, srcPos, dest.u.length, destPos, length); dest.u.set(this.u.subarray(srcPos, ((srcPos + length) | 0)), destPos); }); $ac_B.prototype.clone__O = (function() { return new $ac_B(this.u.slice()); }); function $ac_S(arg) { if (((typeof arg) === "number")) { if ((arg < 0)) { $throwNegativeArraySizeException(); } this.u = new Int16Array(arg); } else { this.u = arg; } } $ac_S.prototype = new $h_O(); $ac_S.prototype.constructor = $ac_S; $ac_S.prototype.get = (function(i) { if (((i < 0) || (i >= this.u.length))) { $throwArrayIndexOutOFBoundsException(i); } return this.u[i]; }); $ac_S.prototype.set = (function(i, v) { if (((i < 0) || (i >= this.u.length))) { $throwArrayIndexOutOFBoundsException(i); } this.u[i] = v; }); $ac_S.prototype.copyTo = (function(srcPos, dest, destPos, length) { $arraycopyCheckBounds(this.u.length, srcPos, dest.u.length, destPos, length); dest.u.set(this.u.subarray(srcPos, ((srcPos + length) | 0)), destPos); }); $ac_S.prototype.clone__O = (function() { return new $ac_S(this.u.slice()); }); function $ac_I(arg) { if (((typeof arg) === "number")) { if ((arg < 0)) { $throwNegativeArraySizeException(); } this.u = new Int32Array(arg); } else { this.u = arg; } } $ac_I.prototype = new $h_O(); $ac_I.prototype.constructor = $ac_I; $ac_I.prototype.get = (function(i) { if (((i < 0) || (i >= this.u.length))) { $throwArrayIndexOutOFBoundsException(i); } return this.u[i]; }); $ac_I.prototype.set = (function(i, v) { if (((i < 0) || (i >= this.u.length))) { $throwArrayIndexOutOFBoundsException(i); } this.u[i] = v; }); $ac_I.prototype.copyTo = (function(srcPos, dest, destPos, length) { $arraycopyCheckBounds(this.u.length, srcPos, dest.u.length, destPos, length); dest.u.set(this.u.subarray(srcPos, ((srcPos + length) | 0)), destPos); }); $ac_I.prototype.clone__O = (function() { return new $ac_I(this.u.slice()); }); function $ac_J(arg) { if (((typeof arg) === "number")) { if ((arg < 0)) { $throwNegativeArraySizeException(); } this.u = new Array(arg); for (var i = 0; (i < arg); (i++)) { this.u[i] = $L0; } } else { this.u = arg; } } $ac_J.prototype = new $h_O(); $ac_J.prototype.constructor = $ac_J; $ac_J.prototype.get = (function(i) { if (((i < 0) || (i >= this.u.length))) { $throwArrayIndexOutOFBoundsException(i); } return this.u[i]; }); $ac_J.prototype.set = (function(i, v) { if (((i < 0) || (i >= this.u.length))) { $throwArrayIndexOutOFBoundsException(i); } this.u[i] = v; }); $ac_J.prototype.copyTo = (function(srcPos, dest, destPos, length) { $arraycopyGeneric(this.u, srcPos, dest.u, destPos, length); }); $ac_J.prototype.clone__O = (function() { return new $ac_J(this.u.slice()); }); function $ac_F(arg) { if (((typeof arg) === "number")) { if ((arg < 0)) { $throwNegativeArraySizeException(); } this.u = new Float32Array(arg); } else { this.u = arg; } } $ac_F.prototype = new $h_O(); $ac_F.prototype.constructor = $ac_F; $ac_F.prototype.get = (function(i) { if (((i < 0) || (i >= this.u.length))) { $throwArrayIndexOutOFBoundsException(i); } return this.u[i]; }); $ac_F.prototype.set = (function(i, v) { if (((i < 0) || (i >= this.u.length))) { $throwArrayIndexOutOFBoundsException(i); } this.u[i] = v; }); $ac_F.prototype.copyTo = (function(srcPos, dest, destPos, length) { $arraycopyCheckBounds(this.u.length, srcPos, dest.u.length, destPos, length); dest.u.set(this.u.subarray(srcPos, ((srcPos + length) | 0)), destPos); }); $ac_F.prototype.clone__O = (function() { return new $ac_F(this.u.slice()); }); function $ac_D(arg) { if (((typeof arg) === "number")) { if ((arg < 0)) { $throwNegativeArraySizeException(); } this.u = new Float64Array(arg); } else { this.u = arg; } } $ac_D.prototype = new $h_O(); $ac_D.prototype.constructor = $ac_D; $ac_D.prototype.get = (function(i) { if (((i < 0) || (i >= this.u.length))) { $throwArrayIndexOutOFBoundsException(i); } return this.u[i]; }); $ac_D.prototype.set = (function(i, v) { if (((i < 0) || (i >= this.u.length))) { $throwArrayIndexOutOFBoundsException(i); } this.u[i] = v; }); $ac_D.prototype.copyTo = (function(srcPos, dest, destPos, length) { $arraycopyCheckBounds(this.u.length, srcPos, dest.u.length, destPos, length); dest.u.set(this.u.subarray(srcPos, ((srcPos + length) | 0)), destPos); }); $ac_D.prototype.clone__O = (function() { return new $ac_D(this.u.slice()); }); function $TypeData() { this.constr = (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.isAssignableFromFun = (void 0); this.wrapArray = (void 0); this.isJSType = false; this.name = ""; this.isPrimitive = false; this.isInterface = false; this.isArrayClass = false; this.isInstance = (void 0); } $TypeData.prototype.initPrim = (function(zero, arrayEncodedName, displayName, arrayClass, typedArrayClass) { this.ancestors = ({}); this.zero = zero; this.arrayEncodedName = arrayEncodedName; var self = this; this.isAssignableFromFun = ((that) => (that === self)); this.name = displayName; this.isPrimitive = true; this.isInstance = ((obj) => false); if ((arrayClass !== (void 0))) { this._arrayOf = new $TypeData().initSpecializedArray(this, arrayClass, typedArrayClass); } return this; }); $TypeData.prototype.initClass = (function(kindOrCtor, fullName, ancestors, isInstance) { var internalName = Object.getOwnPropertyNames(ancestors)[0]; this.ancestors = ancestors; this.arrayEncodedName = (("L" + fullName) + ";"); this.isAssignableFromFun = ((that) => (!(!that.ancestors[internalName]))); this.isJSType = (kindOrCtor === 2); this.name = fullName; this.isInterface = (kindOrCtor === 1); this.isInstance = (isInstance || ((obj) => (!(!((obj && obj.$classData) && obj.$classData.ancestors[internalName]))))); if (((typeof kindOrCtor) !== "number")) { kindOrCtor.prototype.$classData = this; } return this; }); $TypeData.prototype.initSpecializedArray = (function(componentData, arrayClass, typedArrayClass, isAssignableFromFun) { arrayClass.prototype.$classData = this; var name = ("[" + componentData.arrayEncodedName); this.constr = arrayClass; this.ancestors = ({ jl_Cloneable: 1, Ljava_io_Serializable: 1 }); this.componentData = componentData; this.arrayBase = componentData; this.arrayDepth = 1; this.arrayEncodedName = name; this.name = name; this.isArrayClass = true; var self = this; this.isAssignableFromFun = (isAssignableFromFun || ((that) => (self === that))); this.wrapArray = (typedArrayClass ? ((array) => new arrayClass(new typedArrayClass(array))) : ((array) => new arrayClass(array))); this.isInstance = ((obj) => (obj instanceof arrayClass)); return this; }); $TypeData.prototype.initArray = (function(componentData) { function ArrayClass(arg) { if (((typeof arg) === "number")) { if ((arg < 0)) { $throwNegativeArraySizeException(); } this.u = new Array(arg); for (var i = 0; (i < arg); (i++)) { this.u[i] = null; } } else { this.u = arg; } } ArrayClass.prototype = new $ah_O(); ArrayClass.prototype.constructor = ArrayClass; ArrayClass.prototype.set = (function(i, v) { if (((i < 0) || (i >= this.u.length))) { $throwArrayIndexOutOFBoundsException(i); } if ((((v !== null) && (!componentData.isJSType)) && (!componentData.isInstance(v)))) { $throwArrayStoreException(v); } this.u[i] = v; }); ArrayClass.prototype.copyTo = (function(srcPos, dest, destPos, length) { $arraycopyGeneric(this.u, srcPos, dest.u, destPos, length); }); ArrayClass.prototype.clone__O = (function() { return new ArrayClass(this.u.slice()); }); ArrayClass.prototype.$classData = this; var arrayBase = (componentData.arrayBase || componentData); var arrayDepth = (componentData.arrayDepth + 1); var name = ("[" + componentData.arrayEncodedName); this.constr = ArrayClass; this.ancestors = ({ jl_Cloneable: 1, Ljava_io_Serializable: 1 }); this.componentData = componentData; this.arrayBase = arrayBase; this.arrayDepth = arrayDepth; this.arrayEncodedName = name; this.name = name; this.isArrayClass = true; var isAssignableFromFun = ((that) => { var thatDepth = that.arrayDepth; return ((thatDepth === arrayDepth) ? arrayBase.isAssignableFromFun(that.arrayBase) : ((thatDepth > arrayDepth) && (arrayBase === $d_O))); }); this.isAssignableFromFun = isAssignableFromFun; this.wrapArray = ((array) => new ArrayClass(array)); var self = this; this.isInstance = ((obj) => { var data = (obj && obj.$classData); return ((!(!data)) && ((data === self) || isAssignableFromFun(data))); }); return this; }); $TypeData.prototype.getArrayOf = (function() { if ((!this._arrayOf)) { this._arrayOf = new $TypeData().initArray(this); } return this._arrayOf; }); $TypeData.prototype.getClassOf = (function() { if ((!this._classOf)) { this._classOf = new $c_jl_Class(this); } return this._classOf; }); $TypeData.prototype.isAssignableFrom = (function(that) { return ((this === that) || this.isAssignableFromFun(that)); }); $TypeData.prototype.cast = (function(obj) { if ((((obj !== null) && (!this.isJSType)) && (!this.isInstance(obj)))) { $throwClassCastException(obj, this.name); } return obj; }); $TypeData.prototype.getSuperclass = (function() { return (this.parentData ? this.parentData.getClassOf() : null); }); $TypeData.prototype.getComponentType = (function() { return (this.componentData ? this.componentData.getClassOf() : null); }); function $isArrayOf_O(obj, depth) { var data = (obj && obj.$classData); if ((!data)) { return false; } else { var arrayDepth = data.arrayDepth; return ((arrayDepth === depth) ? (!data.arrayBase.isPrimitive) : (arrayDepth > depth)); } } function $isArrayOf_Z(obj, depth) { return (!(!(((obj && obj.$classData) && (obj.$classData.arrayDepth === depth)) && (obj.$classData.arrayBase === $d_Z)))); } function $isArrayOf_C(obj, depth) { return (!(!(((obj && obj.$classData) && (obj.$classData.arrayDepth === depth)) && (obj.$classData.arrayBase === $d_C)))); } function $isArrayOf_B(obj, depth) { return (!(!(((obj && obj.$classData) && (obj.$classData.arrayDepth === depth)) && (obj.$classData.arrayBase === $d_B)))); } function $isArrayOf_S(obj, depth) { return (!(!(((obj && obj.$classData) && (obj.$classData.arrayDepth === depth)) && (obj.$classData.arrayBase === $d_S)))); } function $isArrayOf_I(obj, depth) { return (!(!(((obj && obj.$classData) && (obj.$classData.arrayDepth === depth)) && (obj.$classData.arrayBase === $d_I)))); } function $isArrayOf_J(obj, depth) { return (!(!(((obj && obj.$classData) && (obj.$classData.arrayDepth === depth)) && (obj.$classData.arrayBase === $d_J)))); } function $isArrayOf_F(obj, depth) { return (!(!(((obj && obj.$classData) && (obj.$classData.arrayDepth === depth)) && (obj.$classData.arrayBase === $d_F)))); } function $isArrayOf_D(obj, depth) { return (!(!(((obj && obj.$classData) && (obj.$classData.arrayDepth === depth)) && (obj.$classData.arrayBase === $d_D)))); } function $asArrayOf_O(obj, depth) { if (($isArrayOf_O(obj, depth) || (obj === null))) { return obj; } else { $throwArrayCastException(obj, "Ljava.lang.Object;", depth); } } function $asArrayOf_Z(obj, depth) { if (($isArrayOf_Z(obj, depth) || (obj === null))) { return obj; } else { $throwArrayCastException(obj, "Z", depth); } } function $asArrayOf_C(obj, depth) { if (($isArrayOf_C(obj, depth) || (obj === null))) { return obj; } else { $throwArrayCastException(obj, "C", depth); } } function $asArrayOf_B(obj, depth) { if (($isArrayOf_B(obj, depth) || (obj === null))) { return obj; } else { $throwArrayCastException(obj, "B", depth); } } function $asArrayOf_S(obj, depth) { if (($isArrayOf_S(obj, depth) || (obj === null))) { return obj; } else { $throwArrayCastException(obj, "S", depth); } } function $asArrayOf_I(obj, depth) { if (($isArrayOf_I(obj, depth) || (obj === null))) { return obj; } else { $throwArrayCastException(obj, "I", depth); } } function $asArrayOf_J(obj, depth) { if (($isArrayOf_J(obj, depth) || (obj === null))) { return obj; } else { $throwArrayCastException(obj, "J", depth); } } function $asArrayOf_F(obj, depth) { if (($isArrayOf_F(obj, depth) || (obj === null))) { return obj; } else { $throwArrayCastException(obj, "F", depth); } } function $asArrayOf_D(obj, depth) { if (($isArrayOf_D(obj, depth) || (obj === null))) { return obj; } else { $throwArrayCastException(obj, "D", depth); } } var $d_O = new $TypeData(); $d_O.ancestors = ({}); $d_O.arrayEncodedName = "Ljava.lang.Object;"; $d_O.isAssignableFromFun = ((that) => (!that.isPrimitive)); $d_O.name = "java.lang.Object"; $d_O.isInstance = ((obj) => (obj !== null)); $d_O._arrayOf = new $TypeData().initSpecializedArray($d_O, $ac_O, (void 0), ((that) => { var thatDepth = that.arrayDepth; return ((thatDepth === 1) ? (!that.arrayBase.isPrimitive) : (thatDepth > 1)); })); $c_O.prototype.$classData = $d_O; var $d_V = new $TypeData().initPrim((void 0), "V", "void", (void 0), (void 0)); var $d_Z = new $TypeData().initPrim(false, "Z", "boolean", $ac_Z, (void 0)); var $d_C = new $TypeData().initPrim(0, "C", "char", $ac_C, Uint16Array); var $d_B = new $TypeData().initPrim(0, "B", "byte", $ac_B, Int8Array); var $d_S = new $TypeData().initPrim(0, "S", "short", $ac_S, Int16Array); var $d_I = new $TypeData().initPrim(0, "I", "int", $ac_I, Int32Array); var $d_J = new $TypeData().initPrim(null, "J", "long", $ac_J, (void 0)); var $d_F = new $TypeData().initPrim(0.0, "F", "float", $ac_F, Float32Array); var $d_D = new $TypeData().initPrim(0.0, "D", "double", $ac_D, Float64Array); function $s_LMatrixButtons__main__AT__V(args) { $m_LMatrixButtons$().main__AT__V(args); } /** @constructor */ function $c_LMatrixButtons$() { this.LMatrixButtons$__f_buttonLabels = null; this.LMatrixButtons$__f_buttonLinks = null; this.LMatrixButtons$__f_buttonColors = null; this.LMatrixButtons$__f_windowWidth = 0; this.LMatrixButtons$__f_windowHeight = 0; $n_LMatrixButtons$ = this; this.LMatrixButtons$__f_buttonLabels = new ($d_T.getArrayOf().constr)(["GITHUB", "ABOUT", "BLOG", "CONTACT"]); this.LMatrixButtons$__f_buttonLinks = new ($d_T.getArrayOf().constr)(["https://github.com/qxrein", "https://about.qxrein.xyz", "https://blog.qxrein.xyz", "https://contact.qxrein.xyz"]); this.LMatrixButtons$__f_buttonColors = new ($d_T.getArrayOf().constr)(["rgba(128, 0, 128, 0.3)", "rgba(139, 0, 0, 0.3)", "rgba(165, 42, 42, 0.3)", "rgba(255, 140, 0, 0.3)"]); this.LMatrixButtons$__f_windowWidth = 0; this.LMatrixButtons$__f_windowHeight = 0; } $c_LMatrixButtons$.prototype = new $h_O(); $c_LMatrixButtons$.prototype.constructor = $c_LMatrixButtons$; /** @constructor */ function $h_LMatrixButtons$() { } $h_LMatrixButtons$.prototype = $c_LMatrixButtons$.prototype; $c_LMatrixButtons$.prototype.main__AT__V = (function(args) { document.addEventListener("DOMContentLoaded", ((_$1) => { $m_LMatrixButtons$().setupMatrix__V(); })); }); $c_LMatrixButtons$.prototype.setupMatrix__V = (function() { var container = document.getElementById("matrix-container"); this.updateWindowDimensions__V(); this.fillViewport__Lorg_scalajs_dom_Element__V(container); window.addEventListener("resize", ((_$2) => { $m_LMatrixButtons$().updateWindowDimensions__V(); while ((container.firstChild !== null)) { container.removeChild(container.firstChild); } $m_LMatrixButtons$().fillViewport__Lorg_scalajs_dom_Element__V(container); })); }); $c_LMatrixButtons$.prototype.updateWindowDimensions__V = (function() { this.LMatrixButtons$__f_windowWidth = $doubleToInt($uD(window.innerWidth)); this.LMatrixButtons$__f_windowHeight = $doubleToInt($uD(window.innerHeight)); }); $c_LMatrixButtons$.prototype.fillViewport__Lorg_scalajs_dom_Element__V = (function(container) { var x = ((this.LMatrixButtons$__f_windowHeight / 80) | 0); var a = x; var rowsNeeded = $doubleToInt($uD(Math.ceil(a))); var isEmpty = (rowsNeeded <= 0); var scala$collection$immutable$Range$$lastElement = (((-1) + rowsNeeded) | 0); if ((!isEmpty)) { var i = 0; while (true) { $m_LMatrixButtons$().addMatrixRow__Lorg_scalajs_dom_Element__V(container); if ((i === scala$collection$immutable$Range$$lastElement)) { break; } i = ((1 + i) | 0); } } }); $c_LMatrixButtons$.prototype.addMatrixRow__Lorg_scalajs_dom_Element__V = (function(container) { var row = document.createElement("div"); row.setAttribute("class", "matrix-row"); var b = ((this.LMatrixButtons$__f_windowWidth / 150) | 0); var buttonsPerRow = ((b < 4) ? 4 : b); var isEmpty = (buttonsPerRow <= 0); var scala$collection$immutable$Range$$lastElement = (((-1) + buttonsPerRow) | 0); if ((!isEmpty)) { var i = 0; while (true) { $m_LMatrixButtons$().addButton__Lorg_scalajs_dom_Element__V(row); if ((i === scala$collection$immutable$Range$$lastElement)) { break; } i = ((1 + i) | 0); } } container.appendChild(row); }); $c_LMatrixButtons$.prototype.addButton__Lorg_scalajs_dom_Element__V = (function(row) { var button = document.createElement("div"); button.setAttribute("class", "matrix-button"); var this$1 = $m_s_util_Random$(); var n = $n(this.LMatrixButtons$__f_buttonLabels).u.length; var labelIndex = $n(this$1.s_util_Random__f_self).nextInt__I__I(n); var this$2 = $m_s_util_Random$(); var n$1 = $n(this.LMatrixButtons$__f_buttonColors).u.length; var colorIndex = $n(this$2.s_util_Random__f_self).nextInt__I__I(n$1); button.textContent = $n(this.LMatrixButtons$__f_buttonLabels).get(labelIndex); button.style.backgroundColor = $n(this.LMatrixButtons$__f_buttonColors).get(colorIndex); var this$3 = $m_s_util_Random$(); var width = ((100 + $n(this$3.s_util_Random__f_self).nextInt__I__I(101)) | 0); button.style.width = (width + "px"); button.addEventListener("click", ((_$3) => { var currentLabel = $as_T(button.textContent); var xs = $m_LMatrixButtons$().LMatrixButtons$__f_buttonLabels; var linkIndex = $m_sc_ArrayOps$().indexOf$extension__O__O__I__I(xs, currentLabel, 0); return ((linkIndex >= 0) ? (window.open($n($m_LMatrixButtons$().LMatrixButtons$__f_buttonLinks).get(linkIndex), "_blank"), (void 0)) : (void 0)); })); row.appendChild(button); }); var $d_LMatrixButtons$ = new $TypeData().initClass($c_LMatrixButtons$, "MatrixButtons$", ({ LMatrixButtons$: 1 })); var $n_LMatrixButtons$; function $m_LMatrixButtons$() { if ((!$n_LMatrixButtons$)) { $n_LMatrixButtons$ = new $c_LMatrixButtons$(); } return $n_LMatrixButtons$; } /** @constructor */ function $c_jl_FloatingPointBits$() { this.jl_FloatingPointBits$__f_java$lang$FloatingPointBits$$_areTypedArraysSupported = false; this.jl_FloatingPointBits$__f_arrayBuffer = null; this.jl_FloatingPointBits$__f_int32Array = null; this.jl_FloatingPointBits$__f_float64Array = null; this.jl_FloatingPointBits$__f_areTypedArraysBigEndian = false; this.jl_FloatingPointBits$__f_highOffset = 0; this.jl_FloatingPointBits$__f_lowOffset = 0; this.jl_FloatingPointBits$__f_java$lang$FloatingPointBits$$doublePowsOf2 = null; $n_jl_FloatingPointBits$ = this; this.jl_FloatingPointBits$__f_java$lang$FloatingPointBits$$_areTypedArraysSupported = true; this.jl_FloatingPointBits$__f_arrayBuffer = new ArrayBuffer(8); this.jl_FloatingPointBits$__f_int32Array = new Int32Array(this.jl_FloatingPointBits$__f_arrayBuffer, 0, 2); new Float32Array(this.jl_FloatingPointBits$__f_arrayBuffer, 0, 2); this.jl_FloatingPointBits$__f_float64Array = new Float64Array(this.jl_FloatingPointBits$__f_arrayBuffer, 0, 1); this.jl_FloatingPointBits$__f_int32Array[0] = 16909060; this.jl_FloatingPointBits$__f_areTypedArraysBigEndian = ($uB(new Int8Array(this.jl_FloatingPointBits$__f_arrayBuffer, 0, 8)[0]) === 1); this.jl_FloatingPointBits$__f_highOffset = (this.jl_FloatingPointBits$__f_areTypedArraysBigEndian ? 0 : 1); this.jl_FloatingPointBits$__f_lowOffset = (this.jl_FloatingPointBits$__f_areTypedArraysBigEndian ? 1 : 0); this.jl_FloatingPointBits$__f_java$lang$FloatingPointBits$$doublePowsOf2 = null; } $c_jl_FloatingPointBits$.prototype = new $h_O(); $c_jl_FloatingPointBits$.prototype.constructor = $c_jl_FloatingPointBits$; /** @constructor */ function $h_jl_FloatingPointBits$() { } $h_jl_FloatingPointBits$.prototype = $c_jl_FloatingPointBits$.prototype; $c_jl_FloatingPointBits$.prototype.numberHashCode__D__I = (function(value) { var iv = $uI((value | 0.0)); if (((iv === value) && ((1.0 / value) !== (-Infinity)))) { return iv; } else { this.jl_FloatingPointBits$__f_float64Array[0] = value; return ($uI(this.jl_FloatingPointBits$__f_int32Array[0]) ^ $uI(this.jl_FloatingPointBits$__f_int32Array[1])); } }); var $d_jl_FloatingPointBits$ = new $TypeData().initClass($c_jl_FloatingPointBits$, "java.lang.FloatingPointBits$", ({ jl_FloatingPointBits$: 1 })); var $n_jl_FloatingPointBits$; function $m_jl_FloatingPointBits$() { if ((!$n_jl_FloatingPointBits$)) { $n_jl_FloatingPointBits$ = new $c_jl_FloatingPointBits$(); } return $n_jl_FloatingPointBits$; } function $f_jl_Void__equals__O__Z($thiz, that) { return ($thiz === that); } function $f_jl_Void__hashCode__I($thiz) { return 0; } function $f_jl_Void__toString__T($thiz) { return "undefined"; } var $d_jl_Void = new $TypeData().initClass(0, "java.lang.Void", ({ jl_Void: 1 }), ((x) => (x === (void 0)))); function $p_jl_reflect_Array$__mismatch__O__E($thiz, array) { $n(array); throw new $c_jl_IllegalArgumentException("argument type mismatch"); } /** @constructor */ function $c_jl_reflect_Array$() { } $c_jl_reflect_Array$.prototype = new $h_O(); $c_jl_reflect_Array$.prototype.constructor = $c_jl_reflect_Array$; /** @constructor */ function $h_jl_reflect_Array$() { } $h_jl_reflect_Array$.prototype = $c_jl_reflect_Array$.prototype; $c_jl_reflect_Array$.prototype.getLength__O__I = (function(array) { if ((array instanceof $ac_O)) { var x2 = $asArrayOf_O(array, 1); return $n(x2).u.length; } else if ((array instanceof $ac_Z)) { var x3 = $asArrayOf_Z(array, 1); return $n(x3).u.length; } else if ((array instanceof $ac_C)) { var x4 = $asArrayOf_C(array, 1); return $n(x4).u.length; } else if ((array instanceof $ac_B)) { var x5 = $asArrayOf_B(array, 1); return $n(x5).u.length; } else if ((array instanceof $ac_S)) { var x6 = $asArrayOf_S(array, 1); return $n(x6).u.length; } else if ((array instanceof $ac_I)) { var x7 = $asArrayOf_I(array, 1); return $n(x7).u.length; } else if ((array instanceof $ac_J)) { var x8 = $asArrayOf_J(array, 1); return $n(x8).u.length; } else if ((array instanceof $ac_F)) { var x9 = $asArrayOf_F(array, 1); return $n(x9).u.length; } else if ((array instanceof $ac_D)) { var x10 = $asArrayOf_D(array, 1); return $n(x10).u.length; } else { $p_jl_reflect_Array$__mismatch__O__E(this, array); } }); var $d_jl_reflect_Array$ = new $TypeData().initClass($c_jl_reflect_Array$, "java.lang.reflect.Array$", ({ jl_reflect_Array$: 1 })); var $n_jl_reflect_Array$; function $m_jl_reflect_Array$() { if ((!$n_jl_reflect_Array$)) { $n_jl_reflect_Array$ = new $c_jl_reflect_Array$(); } return $n_jl_reflect_Array$; } /** @constructor */ function $c_RTLong(lo, hi) { this.RTLong__f_lo = 0; this.RTLong__f_hi = 0; this.RTLong__f_lo = lo; this.RTLong__f_hi = hi; } $c_RTLong.prototype = new $h_O(); $c_RTLong.prototype.constructor = $c_RTLong; /** @constructor */ function $h_RTLong() { } $h_RTLong.prototype = $c_RTLong.prototype; $c_RTLong.prototype.equals__O__Z = (function(that) { if ((that instanceof $c_RTLong)) { var x2 = $as_RTLong(that); return ((this.RTLong__f_lo === $n(x2).RTLong__f_lo) && (this.RTLong__f_hi === $n(x2).RTLong__f_hi)); } else { return false; } }); $c_RTLong.prototype.hashCode__I = (function() { return (this.RTLong__f_lo ^ this.RTLong__f_hi); }); $c_RTLong.prototype.toString__T = (function() { return $m_RTLong$().org$scalajs$linker$runtime$RuntimeLong$$toString__I__I__T(this.RTLong__f_lo, this.RTLong__f_hi); }); $c_RTLong.prototype.toInt__I = (function() { return this.RTLong__f_lo; }); $c_RTLong.prototype.toFloat__F = (function() { return $m_RTLong$().org$scalajs$linker$runtime$RuntimeLong$$toFloat__I__I__F(this.RTLong__f_lo, this.RTLong__f_hi); }); $c_RTLong.prototype.toDouble__D = (function() { return $m_RTLong$().org$scalajs$linker$runtime$RuntimeLong$$toDouble__I__I__D(this.RTLong__f_lo, this.RTLong__f_hi); }); $c_RTLong.prototype.byteValue__B = (function() { return ((this.RTLong__f_lo << 24) >> 24); }); $c_RTLong.prototype.shortValue__S = (function() { return ((this.RTLong__f_lo << 16) >> 16); }); $c_RTLong.prototype.intValue__I = (function() { return this.RTLong__f_lo; }); $c_RTLong.prototype.longValue__J = (function() { return $uJ(this); }); $c_RTLong.prototype.floatValue__F = (function() { return $m_RTLong$().org$scalajs$linker$runtime$RuntimeLong$$toFloat__I__I__F(this.RTLong__f_lo, this.RTLong__f_hi); }); $c_RTLong.prototype.doubleValue__D = (function() { return $m_RTLong$().org$scalajs$linker$runtime$RuntimeLong$$toDouble__I__I__D(this.RTLong__f_lo, this.RTLong__f_hi); }); $c_RTLong.prototype.compareTo__O__I = (function(that) { var b = $as_RTLong(that); return $m_RTLong$().org$scalajs$linker$runtime$RuntimeLong$$compare__I__I__I__I__I(this.RTLong__f_lo, this.RTLong__f_hi, $n(b).RTLong__f_lo, $n(b).RTLong__f_hi); }); $c_RTLong.prototype.compareTo__jl_Long__I = (function(that) { return $m_RTLong$().org$scalajs$linker$runtime$RuntimeLong$$compare__I__I__I__I__I(this.RTLong__f_lo, this.RTLong__f_hi, $n(that).RTLong__f_lo, $n(that).RTLong__f_hi); }); $c_RTLong.prototype.equals__RTLong__Z = (function(b) { return ((this.RTLong__f_lo === $n(b).RTLong__f_lo) && (this.RTLong__f_hi === $n(b).RTLong__f_hi)); }); $c_RTLong.prototype.notEquals__RTLong__Z = (function(b) { return (!((this.RTLong__f_lo === $n(b).RTLong__f_lo) && (this.RTLong__f_hi === $n(b).RTLong__f_hi))); }); $c_RTLong.prototype.$less__RTLong__Z = (function(b) { var ahi = this.RTLong__f_hi; var bhi = $n(b).RTLong__f_hi; return ((ahi === bhi) ? (((-2147483648) ^ this.RTLong__f_lo) < ((-2147483648) ^ $n(b).RTLong__f_lo)) : (ahi < bhi)); }); $c_RTLong.prototype.$less$eq__RTLong__Z = (function(b) { var ahi = this.RTLong__f_hi; var bhi = $n(b).RTLong__f_hi; return ((ahi === bhi) ? (((-2147483648) ^ this.RTLong__f_lo) <= ((-2147483648) ^ $n(b).RTLong__f_lo)) : (ahi < bhi)); }); $c_RTLong.prototype.$greater__RTLong__Z = (function(b) { var ahi = this.RTLong__f_hi; var bhi = $n(b).RTLong__f_hi; return ((ahi === bhi) ? (((-2147483648) ^ this.RTLong__f_lo) > ((-2147483648) ^ $n(b).RTLong__f_lo)) : (ahi > bhi)); }); $c_RTLong.prototype.$greater$eq__RTLong__Z = (function(b) { var ahi = this.RTLong__f_hi; var bhi = $n(b).RTLong__f_hi; return ((ahi === bhi) ? (((-2147483648) ^ this.RTLong__f_lo) >= ((-2147483648) ^ $n(b).RTLong__f_lo)) : (ahi > bhi)); }); $c_RTLong.prototype.unary_$tilde__RTLong = (function() { return new $c_RTLong((~this.RTLong__f_lo), (~this.RTLong__f_hi)); }); $c_RTLong.prototype.$bar__RTLong__RTLong = (function(b) { return new $c_RTLong((this.RTLong__f_lo | $n(b).RTLong__f_lo), (this.RTLong__f_hi | $n(b).RTLong__f_hi)); }); $c_RTLong.prototype.$amp__RTLong__RTLong = (function(b) { return new $c_RTLong((this.RTLong__f_lo & $n(b).RTLong__f_lo), (this.RTLong__f_hi & $n(b).RTLong__f_hi)); }); $c_RTLong.prototype.$up__RTLong__RTLong = (function(b) { return new $c_RTLong((this.RTLong__f_lo ^ $n(b).RTLong__f_lo), (this.RTLong__f_hi ^ $n(b).RTLong__f_hi)); }); $c_RTLong.prototype.$less$less__I__RTLong = (function(n) { var lo = this.RTLong__f_lo; return new $c_RTLong((((32 & n) === 0) ? (lo << n) : 0), (((32 & n) === 0) ? (((((lo >>> 1) | 0) >>> ((31 - n) | 0)) | 0) | (this.RTLong__f_hi << n)) : (lo << n))); }); $c_RTLong.prototype.$greater$greater$greater__I__RTLong = (function(n) { var hi = this.RTLong__f_hi; return new $c_RTLong((((32 & n) === 0) ? (((this.RTLong__f_lo >>> n) | 0) | ((hi << 1) << ((31 - n) | 0))) : ((hi >>> n) | 0)), (((32 & n) === 0) ? ((hi >>> n) | 0) : 0)); }); $c_RTLong.prototype.$greater$greater__I__RTLong = (function(n) { var hi = this.RTLong__f_hi; return new $c_RTLong((((32 & n) === 0) ? (((this.RTLong__f_lo >>> n) | 0) | ((hi << 1) << ((31 - n) | 0))) : (hi >> n)), (((32 & n) === 0) ? (hi >> n) : (hi >> 31))); }); $c_RTLong.prototype.unary_$minus__RTLong = (function() { var lo = this.RTLong__f_lo; var hi = this.RTLong__f_hi; return new $c_RTLong(((-lo) | 0), ((lo !== 0) ? (~hi) : ((-hi) | 0))); }); $c_RTLong.prototype.$plus__RTLong__RTLong = (function(b) { var alo = this.RTLong__f_lo; var ahi = this.RTLong__f_hi; var bhi = $n(b).RTLong__f_hi; var lo = ((alo + $n(b).RTLong__f_lo) | 0); return new $c_RTLong(lo, ((((-2147483648) ^ lo) < ((-2147483648) ^ alo)) ? ((1 + ((ahi + bhi) | 0)) | 0) : ((ahi + bhi) | 0))); }); $c_RTLong.prototype.$minus__RTLong__RTLong = (function(b) { var alo = this.RTLong__f_lo; var ahi = this.RTLong__f_hi; var bhi = $n(b).RTLong__f_hi; var lo = ((alo - $n(b).RTLong__f_lo) | 0); return new $c_RTLong(lo, ((((-2147483648) ^ lo) > ((-2147483648) ^ alo)) ? (((-1) + ((ahi - bhi) | 0)) | 0) : ((ahi - bhi) | 0))); }); $c_RTLong.prototype.$times__RTLong__RTLong = (function(b) { var alo = this.RTLong__f_lo; var blo = $n(b).RTLong__f_lo; var a0 = (65535 & alo); var a1 = ((alo >>> 16) | 0); var b0 = (65535 & blo); var b1 = ((blo >>> 16) | 0); var a0b0 = Math.imul(a0, b0); var a1b0 = Math.imul(a1, b0); var a0b1 = Math.imul(a0, b1); var lo = ((a0b0 + (((a1b0 + a0b1) | 0) << 16)) | 0); var c1part = ((((a0b0 >>> 16) | 0) + a0b1) | 0); var hi = ((((((((Math.imul(alo, $n(b).RTLong__f_hi) + Math.imul(this.RTLong__f_hi, blo)) | 0) + Math.imul(a1, b1)) | 0) + ((c1part >>> 16) | 0)) | 0) + (((((65535 & c1part) + a1b0) | 0) >>> 16) | 0)) | 0); return new $c_RTLong(lo, hi); }); $c_RTLong.prototype.$div__RTLong__RTLong = (function(b) { var this$1 = $m_RTLong$(); var lo = this$1.divideImpl__I__I__I__I__I(this.RTLong__f_lo, this.RTLong__f_hi, $n(b).RTLong__f_lo, $n(b).RTLong__f_hi); return new $c_RTLong(lo, this$1.RTLong$__f_org$scalajs$linker$runtime$RuntimeLong$$hiReturn); }); $c_RTLong.prototype.$percent__RTLong__RTLong = (function(b) { var this$1 = $m_RTLong$(); var lo = this$1.remainderImpl__I__I__I__I__I(this.RTLong__f_lo, this.RTLong__f_hi, $n(b).RTLong__f_lo, $n(b).RTLong__f_hi); return new $c_RTLong(lo, this$1.RTLong$__f_org$scalajs$linker$runtime$RuntimeLong$$hiReturn); }); function $as_RTLong(obj) { return (((obj instanceof $c_RTLong) || (obj === null)) ? obj : $throwClassCastException(obj, "org.scalajs.linker.runtime.RuntimeLong")); } function $isArrayOf_RTLong(obj, depth) { return (!(!(((obj && obj.$classData) && (obj.$classData.arrayDepth === depth)) && obj.$classData.arrayBase.ancestors.RTLong))); } function $asArrayOf_RTLong(obj, depth) { return (($isArrayOf_RTLong(obj, depth) || (obj === null)) ? obj : $throwArrayCastException(obj, "Lorg.scalajs.linker.runtime.RuntimeLong;", depth)); } var $d_RTLong = new $TypeData().initClass($c_RTLong, "org.scalajs.linker.runtime.RuntimeLong", ({ RTLong: 1 })); function $p_RTLong$__toUnsignedString__I__I__T($thiz, lo, hi) { if ((((-2097152) & hi) === 0)) { var this$1 = ((4.294967296E9 * hi) + $uD((lo >>> 0.0))); return ("" + this$1); } else { return $as_T($p_RTLong$__unsignedDivModHelper__I__I__I__I__I__O($thiz, lo, hi, 1000000000, 0, 2)); } } function $p_RTLong$__unsigned_$div__I__I__I__I__I($thiz, alo, ahi, blo, bhi) { if ((((-2097152) & ahi) === 0)) { if ((((-2097152) & bhi) === 0)) { var aDouble = ((4.294967296E9 * ahi) + $uD((alo >>> 0.0))); var bDouble = ((4.294967296E9 * bhi) + $uD((blo >>> 0.0))); var rDouble = (aDouble / bDouble); var x = (rDouble / 4.294967296E9); $thiz.RTLong$__f_org$scalajs$linker$runtime$RuntimeLong$$hiReturn = $uI((x | 0.0)); return $uI((rDouble | 0.0)); } else { $thiz.RTLong$__f_org$scalajs$linker$runtime$RuntimeLong$$hiReturn = 0; return 0; } } else if (((bhi === 0) && ((blo & (((-1) + blo) | 0)) === 0))) { var pow = ((31 - $uI(Math.clz32(blo))) | 0); $thiz.RTLong$__f_org$scalajs$linker$runtime$RuntimeLong$$hiReturn = ((ahi >>> pow) | 0); return (((alo >>> pow) | 0) | ((ahi << 1) << ((31 - pow) | 0))); } else if (((blo === 0) && ((bhi & (((-1) + bhi) | 0)) === 0))) { var pow$2 = ((31 - $uI(Math.clz32(bhi))) | 0); $thiz.RTLong$__f_org$scalajs$linker$runtime$RuntimeLong$$hiReturn = 0; return ((ahi >>> pow$2) | 0); } else { return $uI($p_RTLong$__unsignedDivModHelper__I__I__I__I__I__O($thiz, alo, ahi, blo, bhi, 0)); } } function $p_RTLong$__unsigned_$percent__I__I__I__I__I($thiz, alo, ahi, blo, bhi) { if ((((-2097152) & ahi) === 0)) { if ((((-2097152) & bhi) === 0)) { var aDouble = ((4.294967296E9 * ahi) + $uD((alo >>> 0.0))); var bDouble = ((4.294967296E9 * bhi) + $uD((blo >>> 0.0))); var rDouble = (aDouble % bDouble); var x = (rDouble / 4.294967296E9); $thiz.RTLong$__f_org$scalajs$linker$runtime$RuntimeLong$$hiReturn = $uI((x | 0.0)); return $uI((rDouble | 0.0)); } else { $thiz.RTLong$__f_org$scalajs$linker$runtime$RuntimeLong$$hiReturn = ahi; return alo; } } else if (((bhi === 0) && ((blo & (((-1) + blo) | 0)) === 0))) { $thiz.RTLong$__f_org$scalajs$linker$runtime$RuntimeLong$$hiReturn = 0; return (alo & (((-1) + blo) | 0)); } else if (((blo === 0) && ((bhi & (((-1) + bhi) | 0)) === 0))) { $thiz.RTLong$__f_org$scalajs$linker$runtime$RuntimeLong$$hiReturn = (ahi & (((-1) + bhi) | 0)); return alo; } else { return $uI($p_RTLong$__unsignedDivModHelper__I__I__I__I__I__O($thiz, alo, ahi, blo, bhi, 1)); } } function $p_RTLong$__unsignedDivModHelper__I__I__I__I__I__O($thiz, alo, ahi, blo, bhi, ask) { var shift = ((((bhi !== 0) ? $uI(Math.clz32(bhi)) : ((32 + $uI(Math.clz32(blo))) | 0)) - ((ahi !== 0) ? $uI(Math.clz32(ahi)) : ((32 + $uI(Math.clz32(alo))) | 0))) | 0); var n = shift; var lo = (((32 & n) === 0) ? (blo << n) : 0); var hi = (((32 & n) === 0) ? (((((blo >>> 1) | 0) >>> ((31 - n) | 0)) | 0) | (bhi << n)) : (blo << n)); var bShiftLo = lo; var bShiftHi = hi; var remLo = alo; var remHi = ahi; var quotLo = 0; var quotHi = 0; while (((shift >= 0) && (((-2097152) & remHi) !== 0))) { var alo$1 = remLo; var ahi$1 = remHi; var blo$1 = bShiftLo; var bhi$1 = bShiftHi; if (((ahi$1 === bhi$1) ? (((-2147483648) ^ alo$1) >= ((-2147483648) ^ blo$1)) : (((-2147483648) ^ ahi$1) >= ((-2147483648) ^ bhi$1)))) { var lo$1 = remLo; var hi$1 = remHi; var lo$2 = bShiftLo; var hi$2 = bShiftHi; var lo$3 = ((lo$1 - lo$2) | 0); var 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); var lo$4 = bShiftLo; var hi$4 = bShiftHi; var lo$5 = (((lo$4 >>> 1) | 0) | (hi$4 << 31)); var hi$5 = ((hi$4 >>> 1) | 0); bShiftLo = lo$5; bShiftHi = hi$5; } var alo$2 = remLo; var ahi$2 = remHi; if (((ahi$2 === bhi) ? (((-2147483648) ^ alo$2) >= ((-2147483648) ^ blo)) : (((-2147483648) ^ ahi$2) >= ((-2147483648) ^ bhi)))) { var lo$6 = remLo; var hi$6 = remHi; var remDouble = ((4.294967296E9 * hi$6) + $uD((lo$6 >>> 0.0))); var bDouble = ((4.294967296E9 * bhi) + $uD((blo >>> 0.0))); if ((ask !== 1)) { var x = (remDouble / bDouble); var lo$7 = $uI((x | 0.0)); var x$1 = (x / 4.294967296E9); var hi$7 = $uI((x$1 | 0.0)); var lo$8 = quotLo; var hi$8 = quotHi; var lo$9 = ((lo$8 + lo$7) | 0); var 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)) { var rem_mod_bDouble = (remDouble % bDouble); remLo = $uI((rem_mod_bDouble | 0.0)); var x$2 = (rem_mod_bDouble / 4.294967296E9); remHi = $uI((x$2 | 0.0)); } } if ((ask === 0)) { $thiz.RTLong$__f_org$scalajs$linker$runtime$RuntimeLong$$hiReturn = quotHi; return quotLo; } else if ((ask === 1)) { $thiz.RTLong$__f_org$scalajs$linker$runtime$RuntimeLong$$hiReturn = remHi; return remLo; } else { var lo$10 = quotLo; var hi$10 = quotHi; var quot = ((4.294967296E9 * hi$10) + $uD((lo$10 >>> 0.0))); var this$7 = remLo; var remStr = ("" + this$7); var start = remStr.length; return ((("" + quot) + $as_T("000000000".substring(start))) + remStr); } } /** @constructor */ function $c_RTLong$() { this.RTLong$__f_org$scalajs$linker$runtime$RuntimeLong$$hiReturn = 0; } $c_RTLong$.prototype = new $h_O(); $c_RTLong$.prototype.constructor = $c_RTLong$; /** @constructor */ function $h_RTLong$() { } $h_RTLong$.prototype = $c_RTLong$.prototype; $c_RTLong$.prototype.org$scalajs$linker$runtime$RuntimeLong$$toString__I__I__T = (function(lo, hi) { return ((hi === (lo >> 31)) ? ("" + lo) : ((hi < 0) ? ("-" + $p_RTLong$__toUnsignedString__I__I__T(this, ((-lo) | 0), ((lo !== 0) ? (~hi) : ((-hi) | 0)))) : $p_RTLong$__toUnsignedString__I__I__T(this, lo, hi))); }); $c_RTLong$.prototype.org$scalajs$linker$runtime$RuntimeLong$$toDouble__I__I__D = (function(lo, hi) { if ((hi < 0)) { var x = ((lo !== 0) ? (~hi) : ((-hi) | 0)); var $x_1 = $uD((x >>> 0.0)); var x$1 = ((-lo) | 0); return (-((4.294967296E9 * $x_1) + $uD((x$1 >>> 0.0)))); } else { return ((4.294967296E9 * hi) + $uD((lo >>> 0.0))); } }); $c_RTLong$.prototype.org$scalajs$linker$runtime$RuntimeLong$$toFloat__I__I__F = (function(lo, hi) { if ((hi < 0)) { var lo$1 = ((-lo) | 0); var hi$1 = ((lo !== 0) ? (~hi) : ((-hi) | 0)); var abs__lo = lo$1; var abs__hi = hi$1; } else { var abs__lo = lo; var abs__hi = hi; } var hi$2 = abs__hi; if (((((-2097152) & hi$2) === 0) || ((65535 & abs__lo) === 0))) { var compressedAbsLo = abs__lo; } else { var compressedAbsLo = (32768 | ((-65536) & abs__lo)); } var x = abs__hi; var absRes = ((4.294967296E9 * $uD((x >>> 0.0))) + $uD((compressedAbsLo >>> 0.0))); return Math.fround(((hi < 0) ? (-absRes) : absRes)); }); $c_RTLong$.prototype.fromInt__I__RTLong = (function(value) { return new $c_RTLong(value, (value >> 31)); }); $c_RTLong$.prototype.fromDouble__D__RTLong = (function(value) { var lo = this.org$scalajs$linker$runtime$RuntimeLong$$fromDoubleImpl__D__I(value); return new $c_RTLong(lo, this.RTLong$__f_org$scalajs$linker$runtime$RuntimeLong$$hiReturn); }); $c_RTLong$.prototype.org$scalajs$linker$runtime$RuntimeLong$$fromDoubleImpl__D__I = (function(value) { if ((value < (-9.223372036854776E18))) { this.RTLong$__f_org$scalajs$linker$runtime$RuntimeLong$$hiReturn = (-2147483648); return 0; } else if ((value >= 9.223372036854776E18)) { this.RTLong$__f_org$scalajs$linker$runtime$RuntimeLong$$hiReturn = 2147483647; return (-1); } else { var rawLo = $uI((value | 0.0)); var x = (value / 4.294967296E9); var rawHi = $uI((x | 0.0)); this.RTLong$__f_org$scalajs$linker$runtime$RuntimeLong$$hiReturn = (((value < 0.0) && (rawLo !== 0)) ? (((-1) + rawHi) | 0) : rawHi); return rawLo; } }); $c_RTLong$.prototype.org$scalajs$linker$runtime$RuntimeLong$$compare__I__I__I__I__I = (function(alo, ahi, blo, bhi) { return ((ahi === bhi) ? ((alo === blo) ? 0 : ((((-2147483648) ^ alo) < ((-2147483648) ^ blo)) ? (-1) : 1)) : ((ahi < bhi) ? (-1) : 1)); }); $c_RTLong$.prototype.divideImpl__I__I__I__I__I = (function(alo, ahi, blo, bhi) { if (((blo | bhi) === 0)) { throw new $c_jl_ArithmeticException("/ by zero"); } if ((ahi === (alo >> 31))) { if ((bhi === (blo >> 31))) { if (((alo === (-2147483648)) && (blo === (-1)))) { this.RTLong$__f_org$scalajs$linker$runtime$RuntimeLong$$hiReturn = 0; return (-2147483648); } else { var lo = $intDiv(alo, blo); this.RTLong$__f_org$scalajs$linker$runtime$RuntimeLong$$hiReturn = (lo >> 31); return lo; } } else if (((alo === (-2147483648)) && ((blo === (-2147483648)) && (bhi === 0)))) { this.RTLong$__f_org$scalajs$linker$runtime$RuntimeLong$$hiReturn = (-1); return (-1); } else { this.RTLong$__f_org$scalajs$linker$runtime$RuntimeLong$$hiReturn = 0; return 0; } } else { if ((ahi < 0)) { var lo$1 = ((-alo) | 0); var hi = ((alo !== 0) ? (~ahi) : ((-ahi) | 0)); var aAbs__lo = lo$1; var aAbs__hi = hi; } else { var aAbs__lo = alo; var aAbs__hi = ahi; } if ((bhi < 0)) { var lo$2 = ((-blo) | 0); var hi$1 = ((blo !== 0) ? (~bhi) : ((-bhi) | 0)); var bAbs__lo = lo$2; var bAbs__hi = hi$1; } else { var bAbs__lo = blo; var bAbs__hi = bhi; } var absRLo = $p_RTLong$__unsigned_$div__I__I__I__I__I(this, aAbs__lo, aAbs__hi, bAbs__lo, bAbs__hi); if (((ahi ^ bhi) >= 0)) { return absRLo; } else { var hi$2 = this.RTLong$__f_org$scalajs$linker$runtime$RuntimeLong$$hiReturn; this.RTLong$__f_org$scalajs$linker$runtime$RuntimeLong$$hiReturn = ((absRLo !== 0) ? (~hi$2) : ((-hi$2) | 0)); return ((-absRLo) | 0); } } }); $c_RTLong$.prototype.remainderImpl__I__I__I__I__I = (function(alo, ahi, blo, bhi) { if (((blo | bhi) === 0)) { throw new $c_jl_ArithmeticException("/ by zero"); } if ((ahi === (alo >> 31))) { if ((bhi === (blo >> 31))) { if ((blo !== (-1))) { var lo = $intMod(alo, blo); this.RTLong$__f_org$scalajs$linker$runtime$RuntimeLong$$hiReturn = (lo >> 31); return lo; } else { this.RTLong$__f_org$scalajs$linker$runtime$RuntimeLong$$hiReturn = 0; return 0; } } else if (((alo === (-2147483648)) && ((blo === (-2147483648)) && (bhi === 0)))) { this.RTLong$__f_org$scalajs$linker$runtime$RuntimeLong$$hiReturn = 0; return 0; } else { this.RTLong$__f_org$scalajs$linker$runtime$RuntimeLong$$hiReturn = ahi; return alo; } } else { if ((ahi < 0)) { var lo$1 = ((-alo) | 0); var hi = ((alo !== 0) ? (~ahi) : ((-ahi) | 0)); var aAbs__lo = lo$1; var aAbs__hi = hi; } else { var aAbs__lo = alo; var aAbs__hi = ahi; } if ((bhi < 0)) { var lo$2 = ((-blo) | 0); var hi$1 = ((blo !== 0) ? (~bhi) : ((-bhi) | 0)); var bAbs__lo = lo$2; var bAbs__hi = hi$1; } else { var bAbs__lo = blo; var bAbs__hi = bhi; } var absRLo = $p_RTLong$__unsigned_$percent__I__I__I__I__I(this, aAbs__lo, aAbs__hi, bAbs__lo, bAbs__hi); if ((ahi < 0)) { var hi$2 = this.RTLong$__f_org$scalajs$linker$runtime$RuntimeLong$$hiReturn; this.RTLong$__f_org$scalajs$linker$runtime$RuntimeLong$$hiReturn = ((absRLo !== 0) ? (~hi$2) : ((-hi$2) | 0)); return ((-absRLo) | 0); } else { return absRLo; } } }); var $d_RTLong$ = new $TypeData().initClass($c_RTLong$, "org.scalajs.linker.runtime.RuntimeLong$", ({ RTLong$: 1 })); var $n_RTLong$; function $m_RTLong$() { if ((!$n_RTLong$)) { $n_RTLong$ = new $c_RTLong$(); } return $n_RTLong$; } /** @constructor */ function $c_sc_ArrayOps$() { this.sc_ArrayOps$__f_fallback = null; $n_sc_ArrayOps$ = this; this.sc_ArrayOps$__f_fallback = new $c_sjsr_AnonFunction1(((x$1$2) => $m_sc_ArrayOps$().sc_ArrayOps$__f_fallback)); } $c_sc_ArrayOps$.prototype = new $h_O(); $c_sc_ArrayOps$.prototype.constructor = $c_sc_ArrayOps$; /** @constructor */ function $h_sc_ArrayOps$() { } $h_sc_ArrayOps$.prototype = $c_sc_ArrayOps$.prototype; $c_sc_ArrayOps$.prototype.indexOf$extension__O__O__I__I = (function(this$, elem, from) { var i = from; while ((i < $m_jl_reflect_Array$().getLength__O__I(this$))) { if ($m_sr_BoxesRunTime$().equals__O__O__Z(elem, $m_sr_ScalaRunTime$().array_apply__O__I__O(this$, i))) { return i; } i = ((1 + i) | 0); } return (-1); }); var $d_sc_ArrayOps$ = new $TypeData().initClass($c_sc_ArrayOps$, "scala.collection.ArrayOps$", ({ sc_ArrayOps$: 1 })); var $n_sc_ArrayOps$; function $m_sc_ArrayOps$() { if ((!$n_sc_ArrayOps$)) { $n_sc_ArrayOps$ = new $c_sc_ArrayOps$(); } return $n_sc_ArrayOps$; } /** @constructor */ function $c_sr_BoxesRunTime$() { } $c_sr_BoxesRunTime$.prototype = new $h_O(); $c_sr_BoxesRunTime$.prototype.constructor = $c_sr_BoxesRunTime$; /** @constructor */ function $h_sr_BoxesRunTime$() { } $h_sr_BoxesRunTime$.prototype = $c_sr_BoxesRunTime$.prototype; $c_sr_BoxesRunTime$.prototype.equals__O__O__Z = (function(x, y) { if ((x === y)) { return true; } else if ($is_jl_Number(x)) { var x2 = $as_jl_Number(x); return this.equalsNumObject__jl_Number__O__Z(x2, y); } else if ((x instanceof $Char)) { var x3 = $as_jl_Character(x); return this.equalsCharObject__jl_Character__O__Z(x3, y); } else { return ((x === null) ? (y === null) : $dp_equals__O__Z($n(x), y)); } }); $c_sr_BoxesRunTime$.prototype.equalsNumObject__jl_Number__O__Z = (function(xn, y) { if ($is_jl_Number(y)) { var x2 = $as_jl_Number(y); return this.equalsNumNum__jl_Number__jl_Number__Z(xn, x2); } else if ((y instanceof $Char)) { var x3 = $as_jl_Character(y); if (((typeof xn) === "number")) { var x2$1 = $uD(xn); var this$1 = $n(x3).c; return (x2$1 === this$1); } else if ((xn instanceof $c_RTLong)) { var t = $uJ(xn); var lo = t.RTLong__f_lo; var hi = t.RTLong__f_hi; var this$2 = $n(x3).c; var value = this$2; var hi$1 = (value >> 31); return ((lo === value) && (hi === hi$1)); } else { return ((xn === null) ? (x3 === null) : $dp_equals__O__Z($n(xn), x3)); } } else { return ((xn === null) ? (y === null) : $dp_equals__O__Z($n(xn), y)); } }); $c_sr_BoxesRunTime$.prototype.equalsNumNum__jl_Number__jl_Number__Z = (function(xn, yn) { if (((typeof xn) === "number")) { var x2 = $uD(xn); if (((typeof yn) === "number")) { var x2$2 = $uD(yn); return (x2 === x2$2); } else if ((yn instanceof $c_RTLong)) { var t = $uJ(yn); var lo = t.RTLong__f_lo; var hi = t.RTLong__f_hi; return (x2 === $m_RTLong$().org$scalajs$linker$runtime$RuntimeLong$$toDouble__I__I__D(lo, hi)); } else if (false) { var x4 = $as_s_math_ScalaNumber(yn); return $n(x4).equals__O__Z(x2); } else { return false; } } else if ((xn instanceof $c_RTLong)) { var t$1 = $uJ(xn); var lo$1 = t$1.RTLong__f_lo; var hi$1 = t$1.RTLong__f_hi; if ((yn instanceof $c_RTLong)) { var t$2 = $uJ(yn); var lo$2 = t$2.RTLong__f_lo; var hi$2 = t$2.RTLong__f_hi; return ((lo$1 === lo$2) && (hi$1 === hi$2)); } else if (((typeof yn) === "number")) { var x3$3 = $uD(yn); return ($m_RTLong$().org$scalajs$linker$runtime$RuntimeLong$$toDouble__I__I__D(lo$1, hi$1) === x3$3); } else if (false) { var x4$2 = $as_s_math_ScalaNumber(yn); return $n(x4$2).equals__O__Z(new $c_RTLong(lo$1, hi$1)); } else { return false; } } else { return ((xn === null) ? (yn === null) : $dp_equals__O__Z($n(xn), yn)); } }); $c_sr_BoxesRunTime$.prototype.equalsCharObject__jl_Character__O__Z = (function(xc, y) { if ((y instanceof $Char)) { var x2 = $as_jl_Character(y); var this$1 = $n(xc).c; var this$2 = $n(x2).c; return (this$1 === this$2); } else if ($is_jl_Number(y)) { var x3 = $as_jl_Number(y); if (((typeof x3) === "number")) { var x2$1 = $uD(x3); var this$3 = $n(xc).c; return (x2$1 === this$3); } else if ((x3 instanceof $c_RTLong)) { var t = $uJ(x3); var lo = t.RTLong__f_lo; var hi = t.RTLong__f_hi; var this$4 = $n(xc).c; var value = this$4; var hi$1 = (value >> 31); return ((lo === value) && (hi === hi$1)); } else { return ((x3 === null) ? (xc === null) : $dp_equals__O__Z($n(x3), xc)); } } else { return ((xc === null) && (y === null)); } }); var $d_sr_BoxesRunTime$ = new $TypeData().initClass($c_sr_BoxesRunTime$, "scala.runtime.BoxesRunTime$", ({ sr_BoxesRunTime$: 1 })); var $n_sr_BoxesRunTime$; function $m_sr_BoxesRunTime$() { if ((!$n_sr_BoxesRunTime$)) { $n_sr_BoxesRunTime$ = new $c_sr_BoxesRunTime$(); } return $n_sr_BoxesRunTime$; } /** @constructor */ function $c_sr_ScalaRunTime$() { } $c_sr_ScalaRunTime$.prototype = new $h_O(); $c_sr_ScalaRunTime$.prototype.constructor = $c_sr_ScalaRunTime$; /** @constructor */ function $h_sr_ScalaRunTime$() { } $h_sr_ScalaRunTime$.prototype = $c_sr_ScalaRunTime$.prototype; $c_sr_ScalaRunTime$.prototype.array_apply__O__I__O = (function(xs, idx) { if ((xs instanceof $ac_O)) { var x2 = $asArrayOf_O(xs, 1); return $n(x2).get(idx); } else if ((xs instanceof $ac_I)) { var x3 = $asArrayOf_I(xs, 1); return $n(x3).get(idx); } else if ((xs instanceof $ac_D)) { var x4 = $asArrayOf_D(xs, 1); return $n(x4).get(idx); } else if ((xs instanceof $ac_J)) { var x5 = $asArrayOf_J(xs, 1); return $n(x5).get(idx); } else if ((xs instanceof $ac_F)) { var x6 = $asArrayOf_F(xs, 1); return $n(x6).get(idx); } else if ((xs instanceof $ac_C)) { var x7 = $asArrayOf_C(xs, 1); return $bC($n(x7).get(idx)); } else if ((xs instanceof $ac_B)) { var x8 = $asArrayOf_B(xs, 1); return $n(x8).get(idx); } else if ((xs instanceof $ac_S)) { var x9 = $asArrayOf_S(xs, 1); return $n(x9).get(idx); } else if ((xs instanceof $ac_Z)) { var x10 = $asArrayOf_Z(xs, 1); return $n(x10).get(idx); } else if ((xs === null)) { throw new $c_jl_NullPointerException(); } else { throw new $c_s_MatchError(xs); } }); var $d_sr_ScalaRunTime$ = new $TypeData().initClass($c_sr_ScalaRunTime$, "scala.runtime.ScalaRunTime$", ({ sr_ScalaRunTime$: 1 })); var $n_sr_ScalaRunTime$; function $m_sr_ScalaRunTime$() { if ((!$n_sr_ScalaRunTime$)) { $n_sr_ScalaRunTime$ = new $c_sr_ScalaRunTime$(); } return $n_sr_ScalaRunTime$; } /** @constructor */ function $c_jl_Number() { } $c_jl_Number.prototype = new $h_O(); $c_jl_Number.prototype.constructor = $c_jl_Number; /** @constructor */ function $h_jl_Number() { } $h_jl_Number.prototype = $c_jl_Number.prototype; function $is_jl_Number(obj) { return (((obj instanceof $c_jl_Number) || ((typeof obj) === "number")) || (obj instanceof $c_RTLong)); } function $as_jl_Number(obj) { return (($is_jl_Number(obj) || (obj === null)) ? obj : $throwClassCastException(obj, "java.lang.Number")); } function $isArrayOf_jl_Number(obj, depth) { return (!(!(((obj && obj.$classData) && (obj.$classData.arrayDepth === depth)) && obj.$classData.arrayBase.ancestors.jl_Number))); } function $asArrayOf_jl_Number(obj, depth) { return (($isArrayOf_jl_Number(obj, depth) || (obj === null)) ? obj : $throwArrayCastException(obj, "Ljava.lang.Number;", depth)); } function $ct_jl_Throwable__T__jl_Throwable__Z__Z__($thiz, s, e, enableSuppression, writableStackTrace) { $thiz.jl_Throwable__f_s = s; if (writableStackTrace) { $thiz.fillInStackTrace__jl_Throwable(); } return $thiz; } class $c_jl_Throwable extends Error { constructor() { super(); this.jl_Throwable__f_s = null; } getMessage__T() { return this.jl_Throwable__f_s; } fillInStackTrace__jl_Throwable() { var $x_1 = this; var reference = (false ? $x_1.sjs_js_JavaScriptException__f_exception : $n($x_1)); var identifyingString = Object.prototype.toString.call(reference); if ((identifyingString !== "[object Error]")) { if (((Error.captureStackTrace === (void 0)) || $uZ(Object.isSealed(this)))) { new Error(); } else { Error.captureStackTrace(this); } } return this; } toString__T() { var className = $objectClassName(this); var message = this.getMessage__T(); return ((message === null) ? className : ((className + ": ") + message)); } hashCode__I() { return $c_O.prototype.hashCode__I.call(this); } equals__O__Z(that) { return $c_O.prototype.equals__O__Z.call(this, that); } get "message"() { var m = this.getMessage__T(); return ((m === null) ? "" : m); } get "name"() { return $objectClassName(this); } "toString"() { return this.toString__T(); } } function $p_ju_Random__loop$1__I__I($thiz, n$1) { while (true) { var bits = $thiz.next__I__I(31); var value = $intMod(bits, n$1); if ((((((bits - value) | 0) + (((-1) + n$1) | 0)) | 0) < 0)) { } else { return value; } } } function $ct_ju_Random__J__($thiz, seed_in) { $thiz.setSeed__J__V(seed_in); return $thiz; } function $ct_ju_Random__($thiz) { $ct_ju_Random__J__($thiz, $m_ju_Random$().java$util$Random$$randomSeed__J()); return $thiz; } /** @constructor */ function $c_ju_Random() { this.ju_Random__f_java$util$Random$$seedHi = 0; this.ju_Random__f_java$util$Random$$seedLo = 0; } $c_ju_Random.prototype = new $h_O(); $c_ju_Random.prototype.constructor = $c_ju_Random; /** @constructor */ function $h_ju_Random() { } $h_ju_Random.prototype = $c_ju_Random.prototype; $c_ju_Random.prototype.setSeed__J__V = (function(seed_in) { var lo = ((-554899859) ^ seed_in.RTLong__f_lo); var hi = (5 ^ seed_in.RTLong__f_hi); var hi$1 = (65535 & hi); var lo$1 = (((lo >>> 24) | 0) | (hi$1 << 8)); this.ju_Random__f_java$util$Random$$seedHi = lo$1; this.ju_Random__f_java$util$Random$$seedLo = (16777215 & lo); }); $c_ju_Random.prototype.next__I__I = (function(bits) { var oldSeedHi = this.ju_Random__f_java$util$Random$$seedHi; var oldSeedLo = this.ju_Random__f_java$util$Random$$seedLo; var loProd = ((1.5525485E7 * oldSeedLo) + 11.0); var hiProd = ((1502.0 * oldSeedLo) + (1.5525485E7 * oldSeedHi)); var x = (loProd / 1.6777216E7); var newSeedHi = (16777215 & (($uI((x | 0)) + (16777215 & $uI((hiProd | 0)))) | 0)); var newSeedLo = (16777215 & $uI((loProd | 0))); this.ju_Random__f_java$util$Random$$seedHi = newSeedHi; this.ju_Random__f_java$util$Random$$seedLo = newSeedLo; var result32 = ((newSeedHi << 8) | (newSeedLo >> 16)); return ((result32 >>> ((32 - bits) | 0)) | 0); }); $c_ju_Random.prototype.nextInt__I__I = (function(n) { if ((n <= 0)) { throw new $c_jl_IllegalArgumentException("n must be positive"); } else { return (((n & ((-n) | 0)) === n) ? (this.next__I__I(31) >> $uI(Math.clz32(n))) : $p_ju_Random__loop$1__I__I(this, n)); } }); var $d_ju_Random = new $TypeData().initClass($c_ju_Random, "java.util.Random", ({ ju_Random: 1, Ljava_io_Serializable: 1 })); function $p_ju_Random$__randomInt__I($thiz) { var a = (4.294967296E9 * $uD(Math.random())); return $doubleToInt(($uD(Math.floor(a)) - 2.147483648E9)); } /** @constructor */ function $c_ju_Random$() { } $c_ju_Random$.prototype = new $h_O(); $c_ju_Random$.prototype.constructor = $c_ju_Random$; /** @constructor */ function $h_ju_Random$() { } $h_ju_Random$.prototype = $c_ju_Random$.prototype; $c_ju_Random$.prototype.java$util$Random$$randomSeed__J = (function() { var value = $p_ju_Random$__randomInt__I(this); var value$1 = $p_ju_Random$__randomInt__I(this); return new $c_RTLong(value$1, value); }); var $d_ju_Random$ = new $TypeData().initClass($c_ju_Random$, "java.util.Random$", ({ ju_Random$: 1, Ljava_io_Serializable: 1 })); var $n_ju_Random$; function $m_ju_Random$() { if ((!$n_ju_Random$)) { $n_ju_Random$ = new $c_ju_Random$(); } return $n_ju_Random$; } /** @constructor */ function $c_sr_AbstractFunction1() { } $c_sr_AbstractFunction1.prototype = new $h_O(); $c_sr_AbstractFunction1.prototype.constructor = $c_sr_AbstractFunction1; /** @constructor */ function $h_sr_AbstractFunction1() { } $h_sr_AbstractFunction1.prototype = $c_sr_AbstractFunction1.prototype; $c_sr_AbstractFunction1.prototype.toString__T = (function() { return ""; }); function $ct_s_util_Random__ju_Random__($thiz, self) { $thiz.s_util_Random__f_self = self; return $thiz; } /** @constructor */ function $c_s_util_Random() { this.s_util_Random__f_self = null; } $c_s_util_Random.prototype = new $h_O(); $c_s_util_Random.prototype.constructor = $c_s_util_Random; /** @constructor */ function $h_s_util_Random() { } $h_s_util_Random.prototype = $c_s_util_Random.prototype; /** @constructor */ function $c_jl_Class($data) { this.data = $data; } $c_jl_Class.prototype = new $h_O(); $c_jl_Class.prototype.constructor = $c_jl_Class; /** @constructor */ function $h_jl_Class() { } $h_jl_Class.prototype = $c_jl_Class.prototype; $c_jl_Class.prototype.toString__T = (function() { return ((this.data.isInterface ? "interface " : (this.data.isPrimitive ? "" : "class ")) + this.data.name); }); var $d_jl_Class = new $TypeData().initClass($c_jl_Class, "java.lang.Class", ({ jl_Class: 1, Ljava_io_Serializable: 1, jl_constant_Constable: 1 })); class $c_jl_Error extends $c_jl_Throwable { } class $c_jl_Exception extends $c_jl_Throwable { } function $as_s_math_ScalaNumber(obj) { return ((false || (obj === null)) ? obj : $throwClassCastException(obj, "scala.math.ScalaNumber")); } function $isArrayOf_s_math_ScalaNumber(obj, depth) { return (!(!(((obj && obj.$classData) && (obj.$classData.arrayDepth === depth)) && obj.$classData.arrayBase.ancestors.s_math_ScalaNumber))); } function $asArrayOf_s_math_ScalaNumber(obj, depth) { return (($isArrayOf_s_math_ScalaNumber(obj, depth) || (obj === null)) ? obj : $throwArrayCastException(obj, "Lscala.math.ScalaNumber;", depth)); } /** @constructor */ function $c_sjsr_AnonFunction1(f) { this.sjsr_AnonFunction1__f_f = null; this.sjsr_AnonFunction1__f_f = f; } $c_sjsr_AnonFunction1.prototype = new $h_sr_AbstractFunction1(); $c_sjsr_AnonFunction1.prototype.constructor = $c_sjsr_AnonFunction1; /** @constructor */ function $h_sjsr_AnonFunction1() { } $h_sjsr_AnonFunction1.prototype = $c_sjsr_AnonFunction1.prototype; var $d_sjsr_AnonFunction1 = new $TypeData().initClass($c_sjsr_AnonFunction1, "scala.scalajs.runtime.AnonFunction1", ({ sjsr_AnonFunction1: 1, sr_AbstractFunction1: 1, F1: 1 })); /** @constructor */ function $c_s_util_Random$() { this.s_util_Random__f_self = null; $ct_s_util_Random__ju_Random__(this, $ct_ju_Random__(new $c_ju_Random())); } $c_s_util_Random$.prototype = new $h_s_util_Random(); $c_s_util_Random$.prototype.constructor = $c_s_util_Random$; /** @constructor */ function $h_s_util_Random$() { } $h_s_util_Random$.prototype = $c_s_util_Random$.prototype; var $d_s_util_Random$ = new $TypeData().initClass($c_s_util_Random$, "scala.util.Random$", ({ s_util_Random$: 1, s_util_Random: 1, Ljava_io_Serializable: 1 })); var $n_s_util_Random$; function $m_s_util_Random$() { if ((!$n_s_util_Random$)) { $n_s_util_Random$ = new $c_s_util_Random$(); } return $n_s_util_Random$; } function $f_jl_Boolean__equals__O__Z($thiz, that) { return ($thiz === that); } function $f_jl_Boolean__hashCode__I($thiz) { return ($thiz ? 1231 : 1237); } function $f_jl_Boolean__toString__T($thiz) { return ("" + $thiz); } var $d_jl_Boolean = new $TypeData().initClass(0, "java.lang.Boolean", ({ jl_Boolean: 1, Ljava_io_Serializable: 1, jl_Comparable: 1, jl_constant_Constable: 1 }), ((x) => ((typeof x) === "boolean"))); function $f_jl_Character__hashCode__I($thiz) { return $thiz; } function $f_jl_Character__equals__O__Z($thiz, that) { if ((that instanceof $Char)) { var this$1 = $n($as_jl_Character(that)).c; return ($thiz === this$1); } else { return false; } } function $f_jl_Character__toString__T($thiz) { return ("" + $cToS($thiz)); } function $as_jl_Character(obj) { return (((obj instanceof $Char) || (obj === null)) ? obj : $throwClassCastException(obj, "java.lang.Character")); } function $isArrayOf_jl_Character(obj, depth) { return (!(!(((obj && obj.$classData) && (obj.$classData.arrayDepth === depth)) && obj.$classData.arrayBase.ancestors.jl_Character))); } function $asArrayOf_jl_Character(obj, depth) { return (($isArrayOf_jl_Character(obj, depth) || (obj === null)) ? obj : $throwArrayCastException(obj, "Ljava.lang.Character;", depth)); } var $d_jl_Character = new $TypeData().initClass(0, "java.lang.Character", ({ jl_Character: 1, Ljava_io_Serializable: 1, jl_Comparable: 1, jl_constant_Constable: 1 }), ((x) => (x instanceof $Char))); class $c_jl_RuntimeException extends $c_jl_Exception { } class $c_jl_VirtualMachineError extends $c_jl_Error { } class $c_jl_ArithmeticException extends $c_jl_RuntimeException { constructor(s) { super(); $ct_jl_Throwable__T__jl_Throwable__Z__Z__(this, s, null, true, true); } } var $d_jl_ArithmeticException = new $TypeData().initClass($c_jl_ArithmeticException, "java.lang.ArithmeticException", ({ jl_ArithmeticException: 1, jl_RuntimeException: 1, jl_Exception: 1, jl_Throwable: 1, Ljava_io_Serializable: 1 })); class $c_jl_ArrayStoreException extends $c_jl_RuntimeException { constructor(s) { super(); $ct_jl_Throwable__T__jl_Throwable__Z__Z__(this, s, null, true, true); } } var $d_jl_ArrayStoreException = new $TypeData().initClass($c_jl_ArrayStoreException, "java.lang.ArrayStoreException", ({ jl_ArrayStoreException: 1, jl_RuntimeException: 1, jl_Exception: 1, jl_Throwable: 1, Ljava_io_Serializable: 1 })); function $f_jl_Byte__equals__O__Z($thiz, that) { return Object.is($thiz, that); } function $f_jl_Byte__hashCode__I($thiz) { return $thiz; } function $f_jl_Byte__toString__T($thiz) { return ("" + $thiz); } var $d_jl_Byte = new $TypeData().initClass(0, "java.lang.Byte", ({ jl_Byte: 1, jl_Number: 1, Ljava_io_Serializable: 1, jl_Comparable: 1, jl_constant_Constable: 1 }), ((x) => $isByte(x))); class $c_jl_ClassCastException extends $c_jl_RuntimeException { constructor(s) { super(); $ct_jl_Throwable__T__jl_Throwable__Z__Z__(this, s, null, true, true); } } var $d_jl_ClassCastException = new $TypeData().initClass($c_jl_ClassCastException, "java.lang.ClassCastException", ({ jl_ClassCastException: 1, jl_RuntimeException: 1, jl_Exception: 1, jl_Throwable: 1, Ljava_io_Serializable: 1 })); class $c_jl_IllegalArgumentException extends $c_jl_RuntimeException { constructor(s) { super(); $ct_jl_Throwable__T__jl_Throwable__Z__Z__(this, s, null, true, true); } } var $d_jl_IllegalArgumentException = new $TypeData().initClass($c_jl_IllegalArgumentException, "java.lang.IllegalArgumentException", ({ jl_IllegalArgumentException: 1, jl_RuntimeException: 1, jl_Exception: 1, jl_Throwable: 1, Ljava_io_Serializable: 1 })); class $c_jl_IndexOutOfBoundsException extends $c_jl_RuntimeException { } class $c_jl_NegativeArraySizeException extends $c_jl_RuntimeException { constructor() { super(); $ct_jl_Throwable__T__jl_Throwable__Z__Z__(this, null, null, true, true); } } var $d_jl_NegativeArraySizeException = new $TypeData().initClass($c_jl_NegativeArraySizeException, "java.lang.NegativeArraySizeException", ({ jl_NegativeArraySizeException: 1, jl_RuntimeException: 1, jl_Exception: 1, jl_Throwable: 1, Ljava_io_Serializable: 1 })); class $c_jl_NullPointerException extends $c_jl_RuntimeException { constructor() { super(); $ct_jl_Throwable__T__jl_Throwable__Z__Z__(this, null, null, true, true); } } var $d_jl_NullPointerException = new $TypeData().initClass($c_jl_NullPointerException, "java.lang.NullPointerException", ({ jl_NullPointerException: 1, jl_RuntimeException: 1, jl_Exception: 1, jl_Throwable: 1, Ljava_io_Serializable: 1 })); function $f_jl_Short__equals__O__Z($thiz, that) { return Object.is($thiz, that); } function $f_jl_Short__hashCode__I($thiz) { return $thiz; } function $f_jl_Short__toString__T($thiz) { return ("" + $thiz); } var $d_jl_Short = new $TypeData().initClass(0, "java.lang.Short", ({ jl_Short: 1, jl_Number: 1, Ljava_io_Serializable: 1, jl_Comparable: 1, jl_constant_Constable: 1 }), ((x) => $isShort(x))); class $c_Lorg_scalajs_linker_runtime_UndefinedBehaviorError extends $c_jl_VirtualMachineError { constructor(cause) { super(); var message = ((cause === null) ? null : $n(cause).toString__T()); $ct_jl_Throwable__T__jl_Throwable__Z__Z__(this, message, cause, true, true); } } var $d_Lorg_scalajs_linker_runtime_UndefinedBehaviorError = new $TypeData().initClass($c_Lorg_scalajs_linker_runtime_UndefinedBehaviorError, "org.scalajs.linker.runtime.UndefinedBehaviorError", ({ Lorg_scalajs_linker_runtime_UndefinedBehaviorError: 1, jl_VirtualMachineError: 1, jl_Error: 1, jl_Throwable: 1, Ljava_io_Serializable: 1 })); function $p_s_MatchError__objString$lzycompute__T($thiz) { if ((!$thiz.s_MatchError__f_bitmap$0)) { $thiz.s_MatchError__f_objString = (($thiz.s_MatchError__f_obj === null) ? "null" : $p_s_MatchError__liftedTree1$1__T($thiz)); $thiz.s_MatchError__f_bitmap$0 = true; } return $thiz.s_MatchError__f_objString; } function $p_s_MatchError__objString__T($thiz) { return ((!$thiz.s_MatchError__f_bitmap$0) ? $p_s_MatchError__objString$lzycompute__T($thiz) : $thiz.s_MatchError__f_objString); } function $p_s_MatchError__ofClass$1__T($thiz) { var this$1 = $n($thiz.s_MatchError__f_obj); var this$2 = $n($objectGetClass(this$1)); return ("of class " + this$2.data.name); } function $p_s_MatchError__liftedTree1$1__T($thiz) { try { return ((($thiz.s_MatchError__f_obj + " (") + $p_s_MatchError__ofClass$1__T($thiz)) + ")"); } catch (e) { return ("an instance " + $p_s_MatchError__ofClass$1__T($thiz)); } } class $c_s_MatchError extends $c_jl_RuntimeException { constructor(obj) { super(); this.s_MatchError__f_objString = null; this.s_MatchError__f_obj = null; this.s_MatchError__f_bitmap$0 = false; this.s_MatchError__f_obj = obj; $ct_jl_Throwable__T__jl_Throwable__Z__Z__(this, null, null, true, true); } getMessage__T() { return $p_s_MatchError__objString__T(this); } } var $d_s_MatchError = new $TypeData().initClass($c_s_MatchError, "scala.MatchError", ({ s_MatchError: 1, jl_RuntimeException: 1, jl_Exception: 1, jl_Throwable: 1, Ljava_io_Serializable: 1 })); class $c_jl_ArrayIndexOutOfBoundsException extends $c_jl_IndexOutOfBoundsException { constructor(s) { super(); $ct_jl_Throwable__T__jl_Throwable__Z__Z__(this, s, null, true, true); } } var $d_jl_ArrayIndexOutOfBoundsException = new $TypeData().initClass($c_jl_ArrayIndexOutOfBoundsException, "java.lang.ArrayIndexOutOfBoundsException", ({ jl_ArrayIndexOutOfBoundsException: 1, jl_IndexOutOfBoundsException: 1, jl_RuntimeException: 1, jl_Exception: 1, jl_Throwable: 1, Ljava_io_Serializable: 1 })); function $f_jl_Double__equals__O__Z($thiz, that) { return Object.is($thiz, that); } function $f_jl_Double__hashCode__I($thiz) { return $m_jl_FloatingPointBits$().numberHashCode__D__I($thiz); } function $f_jl_Double__toString__T($thiz) { return ("" + $thiz); } function $as_jl_Double(obj) { return ((((typeof obj) === "number") || (obj === null)) ? obj : $throwClassCastException(obj, "java.lang.Double")); } function $isArrayOf_jl_Double(obj, depth) { return (!(!(((obj && obj.$classData) && (obj.$classData.arrayDepth === depth)) && obj.$classData.arrayBase.ancestors.jl_Double))); } function $asArrayOf_jl_Double(obj, depth) { return (($isArrayOf_jl_Double(obj, depth) || (obj === null)) ? obj : $throwArrayCastException(obj, "Ljava.lang.Double;", depth)); } var $d_jl_Double = new $TypeData().initClass(0, "java.lang.Double", ({ jl_Double: 1, jl_Number: 1, Ljava_io_Serializable: 1, jl_Comparable: 1, jl_constant_Constable: 1, jl_constant_ConstantDesc: 1 }), ((x) => ((typeof x) === "number"))); function $f_jl_Float__equals__O__Z($thiz, that) { return Object.is($thiz, that); } function $f_jl_Float__hashCode__I($thiz) { var value = $thiz; return $m_jl_FloatingPointBits$().numberHashCode__D__I(value); } function $f_jl_Float__toString__T($thiz) { return ("" + $thiz); } var $d_jl_Float = new $TypeData().initClass(0, "java.lang.Float", ({ jl_Float: 1, jl_Number: 1, Ljava_io_Serializable: 1, jl_Comparable: 1, jl_constant_Constable: 1, jl_constant_ConstantDesc: 1 }), ((x) => $isFloat(x))); function $f_jl_Integer__equals__O__Z($thiz, that) { return Object.is($thiz, that); } function $f_jl_Integer__hashCode__I($thiz) { return $thiz; } function $f_jl_Integer__toString__T($thiz) { return ("" + $thiz); } var $d_jl_Integer = new $TypeData().initClass(0, "java.lang.Integer", ({ jl_Integer: 1, jl_Number: 1, Ljava_io_Serializable: 1, jl_Comparable: 1, jl_constant_Constable: 1, jl_constant_ConstantDesc: 1 }), ((x) => $isInt(x))); function $f_jl_Long__equals__O__Z($thiz, that) { if ((that instanceof $c_RTLong)) { var x2 = $as_jl_Long(that); var this$1 = $n(x2); var b = $uJ(this$1); return (($thiz.RTLong__f_lo === b.RTLong__f_lo) && ($thiz.RTLong__f_hi === b.RTLong__f_hi)); } else { return false; } } function $f_jl_Long__hashCode__I($thiz) { var $x_1 = $thiz.RTLong__f_lo; var hi = $thiz.RTLong__f_hi; return ($x_1 ^ hi); } function $f_jl_Long__toString__T($thiz) { return $m_RTLong$().org$scalajs$linker$runtime$RuntimeLong$$toString__I__I__T($thiz.RTLong__f_lo, $thiz.RTLong__f_hi); } function $as_jl_Long(obj) { return (((obj instanceof $c_RTLong) || (obj === null)) ? obj : $throwClassCastException(obj, "java.lang.Long")); } function $isArrayOf_jl_Long(obj, depth) { return (!(!(((obj && obj.$classData) && (obj.$classData.arrayDepth === depth)) && obj.$classData.arrayBase.ancestors.jl_Long))); } function $asArrayOf_jl_Long(obj, depth) { return (($isArrayOf_jl_Long(obj, depth) || (obj === null)) ? obj : $throwArrayCastException(obj, "Ljava.lang.Long;", depth)); } var $d_jl_Long = new $TypeData().initClass(0, "java.lang.Long", ({ jl_Long: 1, jl_Number: 1, Ljava_io_Serializable: 1, jl_Comparable: 1, jl_constant_Constable: 1, jl_constant_ConstantDesc: 1 }), ((x) => (x instanceof $c_RTLong))); function $f_T__hashCode__I($thiz) { var res = 0; var mul = 1; var i = (((-1) + $thiz.length) | 0); while ((i >= 0)) { var $x_1 = res; var index = i; res = (($x_1 + Math.imul($charAt($thiz, index), mul)) | 0); mul = Math.imul(31, mul); i = (((-1) + i) | 0); } return res; } function $f_T__equals__O__Z($thiz, that) { return ($thiz === that); } function $f_T__toString__T($thiz) { return $thiz; } function $as_T(obj) { return ((((typeof obj) === "string") || (obj === null)) ? obj : $throwClassCastException(obj, "java.lang.String")); } function $isArrayOf_T(obj, depth) { return (!(!(((obj && obj.$classData) && (obj.$classData.arrayDepth === depth)) && obj.$classData.arrayBase.ancestors.T))); } function $asArrayOf_T(obj, depth) { return (($isArrayOf_T(obj, depth) || (obj === null)) ? obj : $throwArrayCastException(obj, "Ljava.lang.String;", depth)); } var $d_T = new $TypeData().initClass(0, "java.lang.String", ({ T: 1, Ljava_io_Serializable: 1, jl_Comparable: 1, jl_CharSequence: 1, jl_constant_Constable: 1, jl_constant_ConstantDesc: 1 }), ((x) => ((typeof x) === "string"))); class $c_jl_StringIndexOutOfBoundsException extends $c_jl_IndexOutOfBoundsException { constructor(index) { super(); var s = ("String index out of range: " + index); $ct_jl_Throwable__T__jl_Throwable__Z__Z__(this, s, null, true, true); } } var $d_jl_StringIndexOutOfBoundsException = new $TypeData().initClass($c_jl_StringIndexOutOfBoundsException, "java.lang.StringIndexOutOfBoundsException", ({ jl_StringIndexOutOfBoundsException: 1, jl_IndexOutOfBoundsException: 1, jl_RuntimeException: 1, jl_Exception: 1, jl_Throwable: 1, Ljava_io_Serializable: 1 })); function $as_sjs_js_JavaScriptException(obj) { return ((false || (obj === null)) ? obj : $throwClassCastException(obj, "scala.scalajs.js.JavaScriptException")); } function $isArrayOf_sjs_js_JavaScriptException(obj, depth) { return (!(!(((obj && obj.$classData) && (obj.$classData.arrayDepth === depth)) && obj.$classData.arrayBase.ancestors.sjs_js_JavaScriptException))); } function $asArrayOf_sjs_js_JavaScriptException(obj, depth) { return (($isArrayOf_sjs_js_JavaScriptException(obj, depth) || (obj === null)) ? obj : $throwArrayCastException(obj, "Lscala.scalajs.js.JavaScriptException;", depth)); } $L0 = new $c_RTLong(0, 0); $d_J.zero = $L0; $s_LMatrixButtons__main__AT__V(new ($d_T.getArrayOf().constr)([])); //# sourceMappingURL=matrix-buttons-fastopt.js.map