-
Notifications
You must be signed in to change notification settings - Fork 34
/
Copy pathclasses.js
161 lines (160 loc) · 22.9 KB
/
classes.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
"use strict";
(function(){
var $rt_seed=2463534242;function $rt_nextId(){var x=$rt_seed;x^=x<<13;x^=x>>17;x^=x<<5;$rt_seed=x;return x;}function $rt_compare(a,b){return a>b?1:a<b? -1:a===b?0:1;}function $rt_isInstance(obj,cls){return obj!==null&&!!obj.constructor.$meta&&$rt_isAssignable(obj.constructor,cls);}function $rt_isAssignable(from,to){if(from===to){return true;}if(to.$meta.item!==null){return from.$meta.item!==null&&$rt_isAssignable(from.$meta.item,to.$meta.item);}var supertypes=from.$meta.supertypes;for(var i=0;i<supertypes.length;i
=i+1|0){if($rt_isAssignable(supertypes[i],to)){return true;}}return false;}function $rt_createArray(cls,sz){var data=new Array(sz);var arr=new $rt_array(cls,data);if(sz>0){var i=0;do {data[i]=null;i=i+1|0;}while(i<sz);}return arr;}function $rt_wrapArray(cls,data){return new $rt_array(cls,data);}function $rt_createUnfilledArray(cls,sz){return new $rt_array(cls,new Array(sz));}function $rt_createLongArray(sz){var data=new Array(sz);var arr=new $rt_array($rt_longcls(),data);for(var i=0;i<sz;i=i+1|0){data[i]=Long_ZERO;}return arr;}function $rt_createNumericArray(cls,
nativeArray){return new $rt_array(cls,nativeArray);}function $rt_createCharArray(sz){return $rt_createNumericArray($rt_charcls(),new Uint16Array(sz));}function $rt_createByteArray(sz){return $rt_createNumericArray($rt_bytecls(),new Int8Array(sz));}function $rt_createShortArray(sz){return $rt_createNumericArray($rt_shortcls(),new Int16Array(sz));}function $rt_createIntArray(sz){return $rt_createNumericArray($rt_intcls(),new Int32Array(sz));}function $rt_createBooleanArray(sz){return $rt_createNumericArray($rt_booleancls(),
new Int8Array(sz));}function $rt_createFloatArray(sz){return $rt_createNumericArray($rt_floatcls(),new Float32Array(sz));}function $rt_createDoubleArray(sz){return $rt_createNumericArray($rt_doublecls(),new Float64Array(sz));}function $rt_arraycls(cls){var result=cls.$array;if(result===null){var arraycls={};var name="["+cls.$meta.binaryName;arraycls.$meta={item:cls,supertypes:[$rt_objcls()],primitive:false,superclass:$rt_objcls(),name:name,binaryName:name,enum:false};arraycls.classObject=null;arraycls.$array
=null;result=arraycls;cls.$array=arraycls;}return result;}function $rt_createcls(){return {$array:null,classObject:null,$meta:{supertypes:[],superclass:null}};}function $rt_createPrimitiveCls(name,binaryName){var cls=$rt_createcls();cls.$meta.primitive=true;cls.$meta.name=name;cls.$meta.binaryName=binaryName;cls.$meta.enum=false;cls.$meta.item=null;return cls;}var $rt_booleanclsCache=null;function $rt_booleancls(){if($rt_booleanclsCache===null){$rt_booleanclsCache=$rt_createPrimitiveCls("boolean","Z");}return $rt_booleanclsCache;}var $rt_charclsCache
=null;function $rt_charcls(){if($rt_charclsCache===null){$rt_charclsCache=$rt_createPrimitiveCls("char","C");}return $rt_charclsCache;}var $rt_byteclsCache=null;function $rt_bytecls(){if($rt_byteclsCache===null){$rt_byteclsCache=$rt_createPrimitiveCls("byte","B");}return $rt_byteclsCache;}var $rt_shortclsCache=null;function $rt_shortcls(){if($rt_shortclsCache===null){$rt_shortclsCache=$rt_createPrimitiveCls("short","S");}return $rt_shortclsCache;}var $rt_intclsCache=null;function $rt_intcls(){if($rt_intclsCache
===null){$rt_intclsCache=$rt_createPrimitiveCls("int","I");}return $rt_intclsCache;}var $rt_longclsCache=null;function $rt_longcls(){if($rt_longclsCache===null){$rt_longclsCache=$rt_createPrimitiveCls("long","J");}return $rt_longclsCache;}var $rt_floatclsCache=null;function $rt_floatcls(){if($rt_floatclsCache===null){$rt_floatclsCache=$rt_createPrimitiveCls("float","F");}return $rt_floatclsCache;}var $rt_doubleclsCache=null;function $rt_doublecls(){if($rt_doubleclsCache===null){$rt_doubleclsCache=$rt_createPrimitiveCls("double",
"D");}return $rt_doubleclsCache;}var $rt_voidclsCache=null;function $rt_voidcls(){if($rt_voidclsCache===null){$rt_voidclsCache=$rt_createPrimitiveCls("void","V");}return $rt_voidclsCache;}function $rt_throw(ex){throw $rt_exception(ex);}function $rt_exception(ex){var err=ex.$jsException;if(!err){err=new Error("Java exception thrown");if(typeof Error.captureStackTrace==="function"){Error.captureStackTrace(err);}err.$javaException=ex;ex.$jsException=err;$rt_fillStack(err,ex);}return err;}function $rt_fillStack(err,
ex){if(typeof $rt_decodeStack==="function"&&err.stack){var stack=$rt_decodeStack(err.stack);var javaStack=$rt_createArray($rt_objcls(),stack.length);var elem;var noStack=false;for(var i=0;i<stack.length;++i){var element=stack[i];elem=$rt_createStackElement($rt_str(element.className),$rt_str(element.methodName),$rt_str(element.fileName),element.lineNumber);if(elem==null){noStack=true;break;}javaStack.data[i]=elem;}if(!noStack){$rt_setStack(ex,javaStack);}}}function $rt_createMultiArray(cls,dimensions){var first
=0;for(var i=dimensions.length -1;i>=0;i=i -1|0){if(dimensions[i]===0){first=i;break;}}if(first>0){for(i=0;i<first;i=i+1|0){cls=$rt_arraycls(cls);}if(first===dimensions.length -1){return $rt_createArray(cls,dimensions[first]);}}var arrays=new Array($rt_primitiveArrayCount(dimensions,first));var firstDim=dimensions[first]|0;for(i=0;i<arrays.length;i=i+1|0){arrays[i]=$rt_createArray(cls,firstDim);}return $rt_createMultiArrayImpl(cls,arrays,dimensions,first);}function $rt_createByteMultiArray(dimensions){var arrays
=new Array($rt_primitiveArrayCount(dimensions,0));if(arrays.length===0){return $rt_createMultiArray($rt_bytecls(),dimensions);}var firstDim=dimensions[0]|0;for(var i=0;i<arrays.length;i=i+1|0){arrays[i]=$rt_createByteArray(firstDim);}return $rt_createMultiArrayImpl($rt_bytecls(),arrays,dimensions);}function $rt_createCharMultiArray(dimensions){var arrays=new Array($rt_primitiveArrayCount(dimensions,0));if(arrays.length===0){return $rt_createMultiArray($rt_charcls(),dimensions);}var firstDim=dimensions[0]|0;for
(var i=0;i<arrays.length;i=i+1|0){arrays[i]=$rt_createCharArray(firstDim);}return $rt_createMultiArrayImpl($rt_charcls(),arrays,dimensions,0);}function $rt_createBooleanMultiArray(dimensions){var arrays=new Array($rt_primitiveArrayCount(dimensions,0));if(arrays.length===0){return $rt_createMultiArray($rt_booleancls(),dimensions);}var firstDim=dimensions[0]|0;for(var i=0;i<arrays.length;i=i+1|0){arrays[i]=$rt_createBooleanArray(firstDim);}return $rt_createMultiArrayImpl($rt_booleancls(),arrays,dimensions,0);}function $rt_createShortMultiArray(dimensions)
{var arrays=new Array($rt_primitiveArrayCount(dimensions,0));if(arrays.length===0){return $rt_createMultiArray($rt_shortcls(),dimensions);}var firstDim=dimensions[0]|0;for(var i=0;i<arrays.length;i=i+1|0){arrays[i]=$rt_createShortArray(firstDim);}return $rt_createMultiArrayImpl($rt_shortcls(),arrays,dimensions,0);}function $rt_createIntMultiArray(dimensions){var arrays=new Array($rt_primitiveArrayCount(dimensions,0));if(arrays.length===0){return $rt_createMultiArray($rt_intcls(),dimensions);}var firstDim=dimensions[0]
|0;for(var i=0;i<arrays.length;i=i+1|0){arrays[i]=$rt_createIntArray(firstDim);}return $rt_createMultiArrayImpl($rt_intcls(),arrays,dimensions,0);}function $rt_createLongMultiArray(dimensions){var arrays=new Array($rt_primitiveArrayCount(dimensions,0));if(arrays.length===0){return $rt_createMultiArray($rt_longcls(),dimensions);}var firstDim=dimensions[0]|0;for(var i=0;i<arrays.length;i=i+1|0){arrays[i]=$rt_createLongArray(firstDim);}return $rt_createMultiArrayImpl($rt_longcls(),arrays,dimensions,0);}function $rt_createFloatMultiArray(dimensions)
{var arrays=new Array($rt_primitiveArrayCount(dimensions,0));if(arrays.length===0){return $rt_createMultiArray($rt_floatcls(),dimensions);}var firstDim=dimensions[0]|0;for(var i=0;i<arrays.length;i=i+1|0){arrays[i]=$rt_createFloatArray(firstDim);}return $rt_createMultiArrayImpl($rt_floatcls(),arrays,dimensions,0);}function $rt_createDoubleMultiArray(dimensions){var arrays=new Array($rt_primitiveArrayCount(dimensions,0));if(arrays.length===0){return $rt_createMultiArray($rt_doublecls(),dimensions);}var firstDim
=dimensions[0]|0;for(var i=0;i<arrays.length;i=i+1|0){arrays[i]=$rt_createDoubleArray(firstDim);}return $rt_createMultiArrayImpl($rt_doublecls(),arrays,dimensions,0);}function $rt_primitiveArrayCount(dimensions,start){var val=dimensions[start+1]|0;for(var i=start+2;i<dimensions.length;i=i+1|0){val=val*(dimensions[i]|0)|0;if(val===0){break;}}return val;}function $rt_createMultiArrayImpl(cls,arrays,dimensions,start){var limit=arrays.length;for(var i=start+1|0;i<dimensions.length;i=i+1|0){cls=$rt_arraycls(cls);var dim
=dimensions[i];var index=0;var packedIndex=0;while(index<limit){var arr=$rt_createUnfilledArray(cls,dim);for(var j=0;j<dim;j=j+1|0){arr.data[j]=arrays[index];index=index+1|0;}arrays[packedIndex]=arr;packedIndex=packedIndex+1|0;}limit=packedIndex;}return arrays[0];}function $rt_assertNotNaN(value){if(typeof value==='number'&&isNaN(value)){throw "NaN";}return value;}var $rt_stdoutBuffer="";var $rt_putStdout=typeof $rt_putStdoutCustom==="function"?$rt_putStdoutCustom:function(ch){if(ch===0xA){if(console){console.info($rt_stdoutBuffer);}$rt_stdoutBuffer
="";}else {$rt_stdoutBuffer+=String.fromCharCode(ch);}};var $rt_stderrBuffer="";var $rt_putStderr=typeof $rt_putStderrCustom==="function"?$rt_putStderrCustom:function(ch){if(ch===0xA){if(console){console.error($rt_stderrBuffer);}$rt_stderrBuffer="";}else {$rt_stderrBuffer+=String.fromCharCode(ch);}};var $rt_packageData=null;function $rt_packages(data){var i=0;var packages=new Array(data.length);for(var j=0;j<data.length;++j){var prefixIndex=data[i++];var prefix=prefixIndex>=0?packages[prefixIndex]:"";packages[j]
=prefix+data[i++]+".";}$rt_packageData=packages;}function $rt_metadata(data){var packages=$rt_packageData;var i=0;while(i<data.length){var cls=data[i++];cls.$meta={};var m=cls.$meta;var className=data[i++];m.name=className!==0?className:null;if(m.name!==null){var packageIndex=data[i++];if(packageIndex>=0){m.name=packages[packageIndex]+m.name;}}m.binaryName="L"+m.name+";";var superclass=data[i++];m.superclass=superclass!==0?superclass:null;m.supertypes=data[i++];if(m.superclass){m.supertypes.push(m.superclass);cls.prototype
=Object.create(m.superclass.prototype);}else {cls.prototype={};}var flags=data[i++];m.enum=(flags&8)!==0;m.flags=flags;m.primitive=false;m.item=null;cls.prototype.constructor=cls;cls.classObject=null;m.accessLevel=data[i++];var clinit=data[i++];cls.$clinit=clinit!==0?clinit:function(){};var virtualMethods=data[i++];if(virtualMethods!==0){for(var j=0;j<virtualMethods.length;j+=2){var name=virtualMethods[j];var func=virtualMethods[j+1];if(typeof name==='string'){name=[name];}for(var k=0;k<name.length;++k){cls.prototype[name[k]]
=func;}}}cls.$array=null;}}function $rt_threadStarter(f){return function(){var args=Array.prototype.slice.apply(arguments);$rt_startThread(function(){f.apply(this,args);});};}function $rt_mainStarter(f){return function(args,callback){if(!args){args=[];}var javaArgs=$rt_createArray($rt_objcls(),args.length);for(var i=0;i<args.length;++i){javaArgs.data[i]=$rt_str(args[i]);}$rt_startThread(function(){f.call(null,javaArgs);},callback);};}var $rt_stringPool_instance;function $rt_stringPool(strings){$rt_stringPool_instance
=new Array(strings.length);for(var i=0;i<strings.length;++i){$rt_stringPool_instance[i]=$rt_intern($rt_str(strings[i]));}}function $rt_s(index){return $rt_stringPool_instance[index];}function $rt_eraseClinit(target){return target.$clinit=function(){};}var $rt_numberConversionView=new DataView(new ArrayBuffer(8));function $rt_doubleToLongBits(n){$rt_numberConversionView.setFloat64(0,n,true);return new Long($rt_numberConversionView.getInt32(0,true),$rt_numberConversionView.getInt32(4,true));}function $rt_longBitsToDouble(n)
{$rt_numberConversionView.setInt32(0,n.lo,true);$rt_numberConversionView.setInt32(4,n.hi,true);return $rt_numberConversionView.getFloat64(0,true);}function $rt_floatToIntBits(n){$rt_numberConversionView.setFloat32(0,n);return $rt_numberConversionView.getInt32(0);}function $rt_intBitsToFloat(n){$rt_numberConversionView.setInt32(0,n);return $rt_numberConversionView.getFloat32(0);}function $rt_javaException(e){return e instanceof Error&&typeof e.$javaException==='object'?e.$javaException:null;}function $rt_jsException(e)
{return typeof e.$jsException==='object'?e.$jsException:null;}function $rt_wrapException(err){var ex=err.$javaException;if(!ex){ex=$rt_createException($rt_str("(JavaScript) "+err.toString()));err.$javaException=ex;ex.$jsException=err;$rt_fillStack(err,ex);}return ex;}function $dbg_class(obj){var cls=obj.constructor;var arrayDegree=0;while(cls.$meta&&cls.$meta.item){++arrayDegree;cls=cls.$meta.item;}var clsName="";if(cls===$rt_booleancls()){clsName="boolean";}else if(cls===$rt_bytecls()){clsName="byte";}else if
(cls===$rt_shortcls()){clsName="short";}else if(cls===$rt_charcls()){clsName="char";}else if(cls===$rt_intcls()){clsName="int";}else if(cls===$rt_longcls()){clsName="long";}else if(cls===$rt_floatcls()){clsName="float";}else if(cls===$rt_doublecls()){clsName="double";}else {clsName=cls.$meta?cls.$meta.name||"a/"+cls.name:"@"+cls.name;}while(arrayDegree-->0){clsName+="[]";}return clsName;}function Long(lo,hi){this.lo=lo|0;this.hi=hi|0;}Long.prototype.__teavm_class__=function(){return "long";};Long.prototype.toString
=function(){var result=[];var n=this;var positive=Long_isPositive(n);if(!positive){n=Long_neg(n);}var radix=new Long(10,0);do {var divRem=Long_divRem(n,radix);result.push(String.fromCharCode(48+divRem[1].lo));n=divRem[0];}while(n.lo!==0||n.hi!==0);result=(result.reverse()).join('');return positive?result:"-"+result;};Long.prototype.valueOf=function(){return Long_toNumber(this);};var Long_ZERO=new Long(0,0);var Long_MAX_NORMAL=1<<18;function Long_fromInt(val){return val>=0?new Long(val,0):new Long(val, -1);}function Long_fromNumber(val)
{if(val>=0){return new Long(val|0,val/0x100000000|0);}else {return Long_neg(new Long( -val|0, -val/0x100000000|0));}}function Long_toNumber(val){var lo=val.lo;var hi=val.hi;if(lo<0){lo+=0x100000000;}return 0x100000000*hi+lo;}var $rt_imul=Math.imul||function(a,b){var ah=a>>>16&0xFFFF;var al=a&0xFFFF;var bh=b>>>16&0xFFFF;var bl=b&0xFFFF;return al*bl+(ah*bl+al*bh<<16>>>0)|0;};var $rt_udiv=function(a,b){if(a<0){a+=0x100000000;}if(b<0){b+=0x100000000;}return a/b|0;};var $rt_umod=function(a,b){if(a<0){a+=0x100000000;}if
(b<0){b+=0x100000000;}return a%b|0;};function $rt_setCloneMethod(target, f){target.I=f;}
function $rt_cls(cls){return BQ(cls);}
function $rt_str(str) {if (str === null) {return null;}var characters = $rt_createCharArray(str.length);var charsBuffer = characters.data;for (var i = 0; i < str.length; i = (i + 1) | 0) {charsBuffer[i] = str.charCodeAt(i) & 0xFFFF;}return Co(characters);}
function $rt_ustr(str) {if (str === null) {return null;}var data = str.b.data;var result = "";for (var i = 0; i < data.length; i = (i + 1) | 0) {result += String.fromCharCode(data[i]);}return result;}
function $rt_objcls() { return B; }
function $rt_nullCheck(val) {if (val === null) {$rt_throw(Cs());}return val;}
function $rt_intern(str) {return str;}function $rt_getThread(){return null;}
function $rt_setThread(t){}
function $rt_createException(message){return Ct(message);}
function $rt_createStackElement(className,methodName,fileName,lineNumber){return null;}
function $rt_setStack(e,stack){}
var A=Object.create(null);
var BM=$rt_throw;var Cu=$rt_compare;var Cv=$rt_nullCheck;var BP=$rt_cls;var Cp=$rt_createArray;var Cw=$rt_isInstance;var Cx=$rt_nativeThread;var Cy=$rt_suspending;var Cz=$rt_resuming;var CA=$rt_invalidPointer;var C=$rt_s;var Bu=$rt_eraseClinit;var Cj=$rt_imul;var CB=$rt_wrapException;
function B(){this.$id$=0;}
function CC(){var a=new B();G(a);return a;}
function G(a){return;}
function Bm(a){return BQ(a.constructor);}
function B6(a){return Cm().i(Bm(a).x()).i(C(0)).i(Bl(BD(a))).h();}
function BD(a){var b,c;b=a;if(!b.$id$){c=$rt_nextId();b.$id$=c;}return a.$id$;}
function F(){var a=this;B.call(a);a.y=null;a.o=0;a.l=0;}
function CD(){var a=new F();Bg(a);return a;}
function CE(a){var b=new F();Y(b,a);return b;}
function Bg(a){a.o=1;a.l=1;a.n();}
function Y(a,b){a.o=1;a.l=1;a.n();a.y=b;}
function B8(a){return a;}
function R(){F.call(this);}
function CF(){var a=new R();Bz(a);return a;}
function CG(a){var b=new R();Bb(b,a);return b;}
function Bz(a){Bg(a);}
function Bb(a,b){Y(a,b);}
function S(){R.call(this);}
function CH(){var a=new S();Bf(a);return a;}
function Ct(a){var b=new S();BZ(b,a);return b;}
function Bf(a){Bz(a);}
function BZ(a,b){Bb(a,b);}
function T(){S.call(this);}
function CI(){var a=new T();BF(a);return a;}
function BF(a){Bf(a);}
function BH(){B.call(this);}
function BV(b,c){var d,e,f,g;d=b.data;e=$rt_createCharArray(c);f=B7(c,d.length);g=0;while(g<f){e.data[g]=d[g];g=g+1|0;}return e;}
function N(){F.call(this);}
function CJ(a){var b=new N();Bc(b,a);return b;}
function Bc(a,b){Y(a,b);}
function I(){}
function P(){B.call(this);}
function J(){}
function V(){P.call(this);}
var CK=null;function Cf(){Cf=Bu(V);BL();}
function Bl(b){Cf();return BO(b,4);}
function Bv(b){var c,d,e;Cf();if(!b)return 32;c=0;d=b>>>16;if(d)c=16;else d=b;e=d>>>8;if(!e)e=d;else c=c|8;d=e>>>4;if(!d)d=e;else c=c|4;e=d>>>2;if(!e)e=d;else c=c|2;if(e>>>1)c=c|1;return (32-c|0)-1|0;}
function BL(){CK=BP($rt_intcls());}
function E(){N.call(this);}
function CL(a){var b=new E();Bq(b,a);return b;}
function Bq(a,b){Bc(a,b);}
function H(){E.call(this);}
function CM(a){var b=new H();W(b,a);return b;}
function W(a,b){Bq(a,b);}
function BB(){H.call(this);}
function CN(a){var b=new BB();B_(b,a);return b;}
function B_(a,b){W(a,b);}
function Br(){B.call(this);}
function Ca(b){return $rt_str(b.$meta.name);}
function K(){B.call(this);}
var CO=null;var CP=null;function Cn(){Cn=Bu(K);B$();}
function Bw(b,c){Cn();if(c>=2&&c<=36&&b<c)return b<10?(48+b|0)&65535:((97+b|0)-10|0)&65535;return 0;}
function B$(){CO=BP($rt_charcls());CP=Cp(K,128);}
function By(){B.call(this);}
function BO(b,c){var d,e,f,g,h,i,j,k;if(!b)return C(1);d=1<<c;e=d-1|0;f=(((32-Bv(b)|0)+c|0)-1|0)/c|0;g=$rt_createCharArray(f);h=Cj(f-1|0,c);i=0;while(h>=0){j=g.data;k=i+1|0;j[i]=Bw(b>>>h&e,d);h=h-c|0;i=k;}return Co(g);}
function M(){}
function O(){var a=this;B.call(a);a.a=null;a.d=0;}
function CQ(){var a=new O();BA(a);return a;}
function CR(a){var b=new O();Bn(b,a);return b;}
function BA(a){Bn(a,16);}
function Bn(a,b){G(a);a.a=$rt_createCharArray(b);}
function Bd(a,b){return a.m(a.d,b);}
function Bi(a,b,c){var d,e,f;if(b>=0&&b<=a.d){if(c===null)c=C(2);else if(c.s())return a;a.p(a.d+c.e()|0);d=a.d-1|0;while(d>=b){a.a.data[d+c.e()|0]=a.a.data[d];d=d+(-1)|0;}a.d=a.d+c.e()|0;d=0;while(d<c.e()){e=a.a.data;f=b+1|0;e[b]=c.j(d);d=d+1|0;b=f;}return a;}BM(BW());}
function Bp(a,b){var c,d;if(a.a.data.length>=b)return;if(a.a.data.length>=1073741823)c=2147483647;else{d=a.a.data.length*2|0;c=Bh(b,Bh(d,5));}a.a=BV(a.a,c);}
function BG(a){return Ch(a.a,0,a.d);}
function Bx(){B.call(this);}
function B7(b,c){if(b<c)c=b;return c;}
function Bh(b,c){if(b>c)c=b;return c;}
function Q(){var a=this;B.call(a);a.b=null;a.g=0;}
var CS=null;function BT(){BT=Bu(Q);BR();}
function Co(a){var b=new Q();Bj(b,a);return b;}
function Ch(a,b,c){var d=new Q();BC(d,a,b,c);return d;}
function Bj(a,b){var c,d,e;BT();c=b.data;G(a);d=c.length;a.b=$rt_createCharArray(d);e=0;while(e<d){a.b.data[e]=c[e];e=e+1|0;}}
function BC(a,b,c,d){var e,f;BT();G(a);a.b=$rt_createCharArray(d);e=0;while(e<d){f=b.data;a.b.data[e]=f[e+c|0];e=e+1|0;}}
function B9(a,b){if(b>=0&&b<a.b.data.length)return a.b.data[b];BM(BW());}
function B3(a){return a.b.data.length;}
function BK(a){return a.b.data.length?0:1;}
function Cd(a,b){var c,d;if(a===b)return 1;if(!(b instanceof Q))return 0;c=b;if(c.e()!=a.e())return 0;d=0;while(d<c.e()){if(a.j(d)!=c.j(d))return 0;d=d+1|0;}return 1;}
function B1(a){var b,c,d,e;a:{if(!a.g){b=a.b.data;c=b.length;d=0;while(true){if(d>=c)break a;e=b[d];a.g=(31*a.g|0)+e|0;d=d+1|0;}}}return a.g;}
function BR(){CS=Cg();}
function Bk(){E.call(this);}
function BI(){B.call(this);}
function Ba(){}
function BE(){H.call(this);}
function CT(a){var b=new BE();B0(b,a);return b;}
function B0(a,b){W(a,b);}
function Bs(){T.call(this);}
function BW(){var a=new Bs();Ce(a);return a;}
function Ce(a){BF(a);}
function X(){}
function BJ(){B.call(this);}
function Cg(){var a=new BJ();BX(a);return a;}
function BX(a){G(a);}
function U(){}
function Bt(){var a=this;B.call(a);a.k=null;a.q=null;}
function Ci(a){var b=new Bt();B4(b,a);return b;}
function B4(a,b){var c;G(a);a.q=b;c=a;b.classObject=c;}
function BQ(b){var c;if(b===null)return null;c=b.classObject;if(c===null)c=Ci(b);return c;}
function Cc(a){if(a.k===null)a.k=Ca(a.q);return a.k;}
function Be(){O.call(this);}
function Cm(){var a=new Be();B5(a);return a;}
function B5(a){BA(a);}
function BY(a,b){Bd(a,b);return a;}
function Cb(a,b,c){Bi(a,b,c);return a;}
function BS(a){return BG(a);}
function BN(a,b){Bp(a,b);}
function B2(a,b,c){return a.r(b,c);}
$rt_packages([-1,"java",0,"lang"]);
$rt_metadata([B,"Object",1,0,[],0,3,0,["z",function(){return Bm(this);},"h",function(){return B6(this);},"B",function(){return BD(this);}],F,0,B,[],0,3,0,["n",function(){return B8(this);}],R,0,F,[],0,3,0,0,S,0,R,[],0,3,0,0,T,0,S,[],0,3,0,0,BH,0,B,[],0,3,0,0,N,0,F,[],0,3,0,0,I,0,B,[],3,3,0,0,P,0,B,[I],1,3,0,0,J,0,B,[],3,3,0,0,V,0,P,[J],0,3,Cf,0,E,0,N,[],0,3,0,0,H,0,E,[],0,3,0,0,BB,0,H,[],0,3,0,0,Br,0,B,[],4,3,0,0,K,0,B,[J],0,3,Cn,0,By,0,B,[],4,3,0,0,M,0,B,[],3,3,0,0,O,0,B,[I,M],0,0,0,["H",function(b){return Bd(this,
b);},"m",function(b,c){return Bi(this,b,c);},"p",function(b){Bp(this,b);},"h",function(){return BG(this);}],Bx,0,B,[],4,3,0,0,Q,0,B,[I,J,M],0,3,BT,["j",function(b){return B9(this,b);},"e",function(){return B3(this);},"s",function(){return BK(this);},"E",function(b){return Cd(this,b);},"F",function(){return B1(this);}],Bk,0,E,[],0,3,0,0,BI,0,B,[],4,0,0,0,Ba,0,B,[],3,3,0,0,BE,0,H,[],0,3,0,0,Bs,0,T,[],0,3,0,0,X,0,B,[],3,3,0,0,BJ,0,B,[X],0,3,0,0,U,0,B,[],3,3,0,0,Bt,0,B,[U],0,3,0,["x",function(){return Cc(this);
}],Be,0,O,[Ba],0,3,0,["i",function(b){return BY(this,b);},"r",function(b,c){return Cb(this,b,c);},"h",function(){return BS(this);},"p",function(b){BN(this,b);},"m",function(b,c){return B2(this,b,c);}]]);
function $rt_array(cls,data){this.S=null;this.$id$=0;this.type=cls;this.data=data;this.constructor=$rt_arraycls(cls);}$rt_array.prototype=Object.create(($rt_objcls()).prototype);$rt_array.prototype.toString=function(){var str="[";for(var i=0;i<this.data.length;++i){if(i>0){str+=", ";}str+=this.data[i].toString();}str+="]";return str;};$rt_setCloneMethod($rt_array.prototype,function(){var dataCopy;if('slice' in this.data){dataCopy=this.data.slice();}else {dataCopy=new this.data.constructor(this.data.length);for
(var i=0;i<dataCopy.length;++i){dataCopy[i]=this.data[i];}}return new $rt_array(this.type,dataCopy);});$rt_stringPool(["@","0","null"]);
Q.prototype.toString=function(){return $rt_ustr(this);};
Q.prototype.valueOf=Q.prototype.toString;B.prototype.toString=function(){return $rt_ustr(B6(this));};
B.prototype.__teavm_class__=function(){return $dbg_class(this);};
function $rt_startThread(runner,callback){var result;try {result=runner();}catch(e){result=e;}if(typeof callback!=='undefined'){callback(result);}else if(result instanceof Error){throw result;}}function $rt_suspending(){return false;}function $rt_resuming(){return false;}function $rt_nativeThread(){return null;}function $rt_invalidPointer(){}})();
//# sourceMappingURL=classes.js.map