"use strict"; (function() { var $goVersion = "go1.18.6"; Error.stackTraceLimit=1/0;var $global,$module,$NaN=NaN;if("undefined"!=typeof window?$global=window:"undefined"!=typeof self?$global=self:"undefined"!=typeof global?($global=global).require=require:$global=this,void 0===$global||void 0===$global.Array)throw new Error("no global object found");if("undefined"!=typeof module&&($module=module),!$global.fs&&$global.require)try{var fs=$global.require("fs");"object"==typeof fs&&null!==fs&&0!==Object.keys(fs).length&&($global.fs=fs)}catch(e){}if(!$global.fs){var outputBuf="",decoder=new TextDecoder("utf-8");$global.fs={constants:{O_WRONLY:-1,O_RDWR:-1,O_CREAT:-1,O_TRUNC:-1,O_APPEND:-1,O_EXCL:-1},writeSync:function(e,n){var r=(outputBuf+=decoder.decode(n)).lastIndexOf("\n");return-1!=r&&(console.log(outputBuf.substr(0,r)),outputBuf=outputBuf.substr(r+1)),n.length},write:function(e,n,r,t,i,a){0===r&&t===n.length&&null===i?a(null,this.writeSync(e,n)):a(enosys())}}}var $throwRuntimeError,$linknames={},$packages={},$idCounter=0,$keys=function(e){return e?Object.keys(e):[]},$flushConsole=function(){},$throwNilPointerError=function(){$throwRuntimeError("invalid memory address or nil pointer dereference")},$call=function(e,n,r){return e.apply(n,r)},$makeFunc=function(e){return function(){return $externalize(e(this,new($sliceType($jsObjectPtr))($global.Array.prototype.slice.call(arguments,[]))),$emptyInterface)}},$unused=function(e){},$print=console.log;if(void 0!==$global.process&&$global.require)try{var util=$global.require("util");$print=function(){$global.process.stderr.write(util.format.apply(this,arguments))}}catch(e){}var $println=console.log,$initAllLinknames=function(){for(var e=$keys($packages),n=0;ne.$capacity||t>e.$capacity)&&$throwRuntimeError("slice bounds out of range"),e===e.constructor.nil)return e;var i=new e.constructor(e.$array);return i.$offset=e.$offset+n,i.$length=r-n,i.$capacity=t-n,i},$substring=function(e,n,r){return(n<0||re.length)&&$throwRuntimeError("slice bounds out of range"),e.substring(n,r)},$sliceToNativeArray=function(e){return e.$array.constructor!==Array?e.$array.subarray(e.$offset,e.$offset+e.$length):e.$array.slice(e.$offset,e.$offset+e.$length)},$sliceToGoArray=function(e,n){var r=n.elem;return void 0!==r&&e.$length1114111||55296<=e&&e<=57343)&&(e=65533),e<=127?String.fromCharCode(e):e<=2047?String.fromCharCode(192|e>>6,128|63&e):e<=65535?String.fromCharCode(224|e>>12,128|e>>6&63,128|63&e):String.fromCharCode(240|e>>18,128|e>>12&63,128|e>>6&63,128|63&e)},$stringToBytes=function(e){for(var n=new Uint8Array(e.length),r=0;rt){for(var o=i-1;o>=0;o--)a.copy(e[r+o],n[t+o]);return}for(o=0;ot)for(o=i-1;o>=0;o--)e[r+o]=n[t+o];else for(o=0;oc)if(a=0,c=Math.max(o,e.$capacity<1024?2*e.$capacity:Math.floor(5*e.$capacity/4)),e.$array.constructor===Array){(i=e.$array.slice(e.$offset,e.$offset+e.$length)).length=c;for(var $=e.constructor.elem.zero,u=e.$length;u>>16&65535)*t+r*(n>>>16&65535)<<16>>>0)>>0},$floatKey=function(e){return e!=e?"NaN$"+ ++$idCounter:String(e)},$flatten64=function(e){return 4294967296*e.$high+e.$low},$shiftLeft64=function(e,n){return 0===n?e:n<32?new e.constructor(e.$high<>>32-n,e.$low<>>0):n<64?new e.constructor(e.$low<>n,(e.$low>>>n|e.$high<<32-n)>>>0):n<64?new e.constructor(e.$high>>31,e.$high>>n-32>>>0):e.$high<0?new e.constructor(-1,4294967295):new e.constructor(0,0)},$shiftRightUint64=function(e,n){return 0===n?e:n<32?new e.constructor(e.$high>>>n,(e.$low>>>n|e.$high<<32-n)>>>0):n<64?new e.constructor(0,e.$high>>>n-32):new e.constructor(0,0)},$mul64=function(e,n){var r=e.$high>>>16,t=65535&e.$high,i=e.$low>>>16,a=65535&e.$low,o=n.$high>>>16,c=65535&n.$high,$=n.$low>>>16,u=65535&n.$low,l=0,s=0,f=0,d=0;f+=(d+=a*u)>>>16,s+=(f+=i*u)>>>16,f&=65535,s+=(f+=a*$)>>>16,l+=(s+=t*u)>>>16,s&=65535,l+=(s+=i*$)>>>16,s&=65535,l+=(s+=a*c)>>>16,l+=r*u+t*$+i*c+a*o;var p=((l&=65535)<<16|(s&=65535))>>>0,h=((f&=65535)<<16|(d&=65535))>>>0;return new e.constructor(p,h)},$div64=function(e,n,r){0===n.$high&&0===n.$low&&$throwRuntimeError("integer divide by zero");var t=1,i=1,a=e.$high,o=e.$low;a<0&&(t=-1,i=-1,a=-a,0!==o&&(a--,o=4294967296-o));var c=n.$high,$=n.$low;n.$high<0&&(t*=-1,c=-c,0!==$&&(c--,$=4294967296-$));for(var u=0,l=0,s=0;c<2147483648&&(a>c||a===c&&o>$);)c=(c<<1|$>>>31)>>>0,$=$<<1>>>0,s++;for(var f=0;f<=s;f++)u=u<<1|l>>>31,l=l<<1>>>0,(a>c||a===c&&o>=$)&&(a-=c,(o-=$)<0&&(a--,o+=4294967296),4294967296===++l&&(u++,l=0)),$=($>>>1|c<<31)>>>0,c>>>=1;return r?new e.constructor(a*i,o*i):new e.constructor(u*t,l*t)},$divComplex=function(e,n){var r=e.$real===1/0||e.$real===-1/0||e.$imag===1/0||e.$imag===-1/0,t=n.$real===1/0||n.$real===-1/0||n.$imag===1/0||n.$imag===-1/0,i=!r&&(e.$real!=e.$real||e.$imag!=e.$imag),a=!t&&(n.$real!=n.$real||n.$imag!=n.$imag);if(i||a)return new e.constructor(NaN,NaN);if(r&&!t)return new e.constructor(1/0,1/0);if(!r&&t)return new e.constructor(0,0);if(0===n.$real&&0===n.$imag)return 0===e.$real&&0===e.$imag?new e.constructor(NaN,NaN):new e.constructor(1/0,1/0);if(Math.abs(n.$real)<=Math.abs(n.$imag)){var o=n.$real/n.$imag,c=n.$real*o+n.$imag;return new e.constructor((e.$real*o+e.$imag)/c,(e.$imag*o-e.$real)/c)}o=n.$imag/n.$real,c=n.$imag*o+n.$real;return new e.constructor((e.$imag*o+e.$real)/c,(e.$imag-e.$real*o)/c)},$kindBool=1,$kindInt=2,$kindInt8=3,$kindInt16=4,$kindInt32=5,$kindInt64=6,$kindUint=7,$kindUint8=8,$kindUint16=9,$kindUint32=10,$kindUint64=11,$kindUintptr=12,$kindFloat32=13,$kindFloat64=14,$kindComplex64=15,$kindComplex128=16,$kindArray=17,$kindChan=18,$kindFunc=19,$kindInterface=20,$kindMap=21,$kindPtr=22,$kindSlice=23,$kindString=24,$kindStruct=25,$kindUnsafePointer=26,$methodSynthesizers=[],$addMethodSynthesizer=function(e){null!==$methodSynthesizers?$methodSynthesizers.push(e):e()},$synthesizeMethods=function(){$methodSynthesizers.forEach(function(e){e()}),$methodSynthesizers=null},$ifaceKeyFor=function(e){if(e===$ifaceNil)return"nil";var n=e.constructor;return n.string+"$"+n.keyFor(e.$val)},$identity=function(e){return e},$typeIDCounter=0,$idKey=function(e){return void 0===e.$id&&($idCounter++,e.$id=$idCounter),String(e.$id)},$arrayPtrCtor=function(){return function(e){this.$get=function(){return e},this.$set=function(e){typ.copy(this,e)},this.$val=e}},$newType=function(e,n,r,t,i,a,o){var c;switch(n){case $kindBool:case $kindInt:case $kindInt8:case $kindInt16:case $kindInt32:case $kindUint:case $kindUint8:case $kindUint16:case $kindUint32:case $kindUintptr:case $kindUnsafePointer:(c=function(e){this.$val=e}).wrapped=!0,c.keyFor=$identity;break;case $kindString:(c=function(e){this.$val=e}).wrapped=!0,c.keyFor=function(e){return"$"+e};break;case $kindFloat32:case $kindFloat64:(c=function(e){this.$val=e}).wrapped=!0,c.keyFor=function(e){return $floatKey(e)};break;case $kindInt64:(c=function(e,n){this.$high=e+Math.floor(Math.ceil(n)/4294967296)>>0,this.$low=n>>>0,this.$val=this}).keyFor=function(e){return e.$high+"$"+e.$low};break;case $kindUint64:(c=function(e,n){this.$high=e+Math.floor(Math.ceil(n)/4294967296)>>>0,this.$low=n>>>0,this.$val=this}).keyFor=function(e){return e.$high+"$"+e.$low};break;case $kindComplex64:(c=function(e,n){this.$real=$fround(e),this.$imag=$fround(n),this.$val=this}).keyFor=function(e){return e.$real+"$"+e.$imag};break;case $kindComplex128:(c=function(e,n){this.$real=e,this.$imag=n,this.$val=this}).keyFor=function(e){return e.$real+"$"+e.$imag};break;case $kindArray:(c=function(e){this.$val=e}).wrapped=!0,c.ptr=$newType(4,$kindPtr,"*"+r,!1,"",!1,$arrayPtrCtor()),c.init=function(e,n){c.elem=e,c.len=n,c.comparable=e.comparable,c.keyFor=function(n){return Array.prototype.join.call($mapArray(n,function(n){return String(e.keyFor(n)).replace(/\\/g,"\\\\").replace(/\$/g,"\\$")}),"$")},c.copy=function(n,r){$copyArray(n,r,0,0,r.length,e)},c.ptr.init(c),Object.defineProperty(c.ptr.nil,"nilCheck",{get:$throwNilPointerError})};break;case $kindChan:(c=function(e){this.$val=e}).wrapped=!0,c.keyFor=$idKey,c.init=function(e,n,r){c.elem=e,c.sendOnly=n,c.recvOnly=r};break;case $kindFunc:(c=function(e){this.$val=e}).wrapped=!0,c.init=function(e,n,r){c.params=e,c.results=n,c.variadic=r,c.comparable=!1};break;case $kindInterface:(c={implementedBy:{},missingMethodFor:{}}).keyFor=$ifaceKeyFor,c.init=function(e){c.methods=e,e.forEach(function(e){$ifaceNil[e.prop]=$throwNilPointerError})};break;case $kindMap:(c=function(e){this.$val=e}).wrapped=!0,c.init=function(e,n){c.key=e,c.elem=n,c.comparable=!1};break;case $kindPtr:(c=o||function(e,n,r){this.$get=e,this.$set=n,this.$target=r,this.$val=this}).keyFor=$idKey,c.init=function(e){c.elem=e,c.wrapped=e.kind===$kindArray,c.nil=new c($throwNilPointerError,$throwNilPointerError)};break;case $kindSlice:(c=function(e){e.constructor!==c.nativeArray&&(e=new c.nativeArray(e)),this.$array=e,this.$offset=0,this.$length=e.length,this.$capacity=e.length,this.$val=this}).init=function(e){c.elem=e,c.comparable=!1,c.nativeArray=$nativeArray(e.kind),c.nil=new c([])};break;case $kindStruct:(c=function(e){this.$val=e}).wrapped=!0,c.ptr=$newType(4,$kindPtr,"*"+r,!1,i,a,o),c.ptr.elem=c,c.ptr.prototype.$get=function(){return this},c.ptr.prototype.$set=function(e){c.copy(this,e)},c.init=function(e,n){c.pkgPath=e,c.fields=n,n.forEach(function(e){e.typ.comparable||(c.comparable=!1)}),c.keyFor=function(e){var r=e.$val;return $mapArray(n,function(e){return String(e.typ.keyFor(r[e.prop])).replace(/\\/g,"\\\\").replace(/\$/g,"\\$")}).join("$")},c.copy=function(e,r){for(var t=0;t0;){var a=[],o=[];t.forEach(function(e){if(!i[e.typ.string])switch(i[e.typ.string]=!0,e.typ.named&&(o=o.concat(e.typ.methods),e.indirect&&(o=o.concat($ptrType(e.typ).methods))),e.typ.kind){case $kindStruct:e.typ.fields.forEach(function(n){if(n.embedded){var r=n.typ,t=r.kind===$kindPtr;a.push({typ:t?r.elem:r,indirect:e.indirect||t})}});break;case $kindInterface:o=o.concat(e.typ.methods)}}),o.forEach(function(e){void 0===n[e.name]&&(n[e.name]=e)}),t=a}return e.methodSetCache=[],Object.keys(n).sort().forEach(function(r){e.methodSetCache.push(n[r])}),e.methodSetCache},$Bool=$newType(1,$kindBool,"bool",!0,"",!1,null),$Int=$newType(4,$kindInt,"int",!0,"",!1,null),$Int8=$newType(1,$kindInt8,"int8",!0,"",!1,null),$Int16=$newType(2,$kindInt16,"int16",!0,"",!1,null),$Int32=$newType(4,$kindInt32,"int32",!0,"",!1,null),$Int64=$newType(8,$kindInt64,"int64",!0,"",!1,null),$Uint=$newType(4,$kindUint,"uint",!0,"",!1,null),$Uint8=$newType(1,$kindUint8,"uint8",!0,"",!1,null),$Uint16=$newType(2,$kindUint16,"uint16",!0,"",!1,null),$Uint32=$newType(4,$kindUint32,"uint32",!0,"",!1,null),$Uint64=$newType(8,$kindUint64,"uint64",!0,"",!1,null),$Uintptr=$newType(4,$kindUintptr,"uintptr",!0,"",!1,null),$Float32=$newType(4,$kindFloat32,"float32",!0,"",!1,null),$Float64=$newType(8,$kindFloat64,"float64",!0,"",!1,null),$Complex64=$newType(8,$kindComplex64,"complex64",!0,"",!1,null),$Complex128=$newType(16,$kindComplex128,"complex128",!0,"",!1,null),$String=$newType(8,$kindString,"string",!0,"",!1,null),$UnsafePointer=$newType(4,$kindUnsafePointer,"unsafe.Pointer",!0,"unsafe",!1,null),$nativeArray=function(e){switch(e){case $kindInt:return Int32Array;case $kindInt8:return Int8Array;case $kindInt16:return Int16Array;case $kindInt32:return Int32Array;case $kindUint:return Uint32Array;case $kindUint8:return Uint8Array;case $kindUint16:return Uint16Array;case $kindUint32:case $kindUintptr:return Uint32Array;case $kindFloat32:return Float32Array;case $kindFloat64:return Float64Array;default:return Array}},$toNativeArray=function(e,n){var r=$nativeArray(e);return r===Array?n:new r(n)},$arrayTypes={},$arrayType=function(e,n){var r=e.id+"$"+n,t=$arrayTypes[r];return void 0===t&&(t=$newType(12,$kindArray,"["+n+"]"+e.string,!1,"",!1,null),$arrayTypes[r]=t,t.init(e,n)),t},$chanType=function(e,n,r){var t=(r?"<-":"")+"chan"+(n?"<- ":" ");n||r||"<"!=e.string[0]?t+=e.string:t+="("+e.string+")";var i=n?"SendChan":r?"RecvChan":"Chan",a=e[i];return void 0===a&&(a=$newType(4,$kindChan,t,!1,"",!1,null),e[i]=a,a.init(e,n,r)),a},$Chan=function(e,n){(n<0||n>2147483647)&&$throwRuntimeError("makechan: size out of range"),this.$elem=e,this.$capacity=n,this.$buffer=[],this.$sendQueue=[],this.$recvQueue=[],this.$closed=!1},$chanNil=new $Chan(null,0);$chanNil.$sendQueue=$chanNil.$recvQueue={length:0,push:function(){},shift:function(){},indexOf:function(){return-1}};var $funcTypes={},$funcType=function(e,n,r){var t=$mapArray(e,function(e){return e.id}).join(",")+"$"+$mapArray(n,function(e){return e.id}).join(",")+"$"+r,i=$funcTypes[t];if(void 0===i){var a=$mapArray(e,function(e){return e.string});r&&(a[a.length-1]="..."+a[a.length-1].substr(2));var o="func("+a.join(", ")+")";1===n.length?o+=" "+n[0].string:n.length>1&&(o+=" ("+$mapArray(n,function(e){return e.string}).join(", ")+")"),i=$newType(4,$kindFunc,o,!1,"",!1,null),$funcTypes[t]=i,i.init(e,n,r)}return i},$interfaceTypes={},$interfaceType=function(e){var n=$mapArray(e,function(e){return e.pkg+","+e.name+","+e.typ.id}).join("$"),r=$interfaceTypes[n];if(void 0===r){var t="interface {}";0!==e.length&&(t="interface { "+$mapArray(e,function(e){return(""!==e.pkg?e.pkg+".":"")+e.name+e.typ.string.substr(4)}).join("; ")+" }"),r=$newType(8,$kindInterface,t,!1,"",!1,null),$interfaceTypes[n]=r,r.init(e)}return r},$emptyInterface=$interfaceType([]),$ifaceNil={},$error=$newType(8,$kindInterface,"error",!0,"",!1,null);$error.init([{prop:"Error",name:"Error",pkg:"",typ:$funcType([],[$String],!1)}]);var $panicValue,$jsObjectPtr,$jsErrorPtr,$mapTypes={},$mapType=function(e,n){var r=e.id+"$"+n.id,t=$mapTypes[r];return void 0===t&&(t=$newType(4,$kindMap,"map["+e.string+"]"+n.string,!1,"",!1,null),$mapTypes[r]=t,t.init(e,n)),t},$makeMap=function(e,n){for(var r={},t=0;t2147483647)&&$throwRuntimeError("makeslice: len out of range"),(r<0||r2147483647)&&$throwRuntimeError("makeslice: cap out of range");var t=new e.nativeArray(r);if(e.nativeArray===Array)for(var i=0;i4||t<0)break}}finally{0==$scheduled.length&&clearTimeout(e)}},$schedule=function(e){e.asleep&&(e.asleep=!1,$awakeGoroutines++),$scheduled.push(e),$curGoroutine===$noGoroutine&&$runScheduled()},$setTimeout=function(e,n){return $awakeGoroutines++,setTimeout(function(){$awakeGoroutines--,e()},n)},$block=function(){$curGoroutine===$noGoroutine&&$throwRuntimeError("cannot block in JavaScript callback, fix by wrapping code in goroutine"),$curGoroutine.asleep=!0},$restore=function(e,n){return void 0!==e&&void 0!==e.$blk?e:n},$send=function(e,n){e.$closed&&$throwRuntimeError("send on closed channel");var r=e.$recvQueue.shift();if(void 0===r){if(!(e.$buffer.length65535){var l=Math.floor((u-65536)/1024)+55296,s=(u-65536)%1024+56320;$+=String.fromCharCode(l,s)}else $+=String.fromCharCode(u)}return $;case $kindStruct:var f=$packages.time;if(void 0!==f&&e.constructor===f.Time.ptr){var d=$div64(e.UnixNano(),new $Int64(0,1e6));return new Date($flatten64(d))}var p={},h=function(e,n){if(n===$jsObjectPtr)return e;switch(n.kind){case $kindPtr:return e===n.nil?p:h(e.$get(),n.elem);case $kindStruct:var r=n.fields[0];return h(e[r.prop],r.typ);case $kindInterface:return h(e.$val,e.constructor);default:return p}},k=h(e,n);if(k!==p)return k;if(void 0!==r)return r(e);k={};for(a=0;a>24;case $kindInt16:return parseInt(e)<<16>>16;case $kindInt32:return parseInt(e)>>0;case $kindUint:return parseInt(e);case $kindUint8:return parseInt(e)<<24>>>24;case $kindUint16:return parseInt(e)<<16>>>16;case $kindUint32:case $kindUintptr:return parseInt(e)>>>0;case $kindInt64:case $kindUint64:return new n(0,e);case $kindFloat32:case $kindFloat64:return parseFloat(e);case $kindArray:return e.length!==n.len&&$throwRuntimeError("got array with wrong size from JavaScript native"),$mapArray(e,function(e){return $internalize(e,n.elem,i)});case $kindFunc:return function(){for(var t=[],a=0;a=128)return!1;return!0}; $packages["github.com/gopherjs/gopherjs/js"]=(function(){var $pkg={},$init,A,B,J,K,M,O,P,Q,R,S,T,E,G,H,L;A=$pkg.Object=$newType(0,$kindStruct,"js.Object",true,"github.com/gopherjs/gopherjs/js",true,function(object_){this.$val=this;if(arguments.length===0){this.object=null;return;}this.object=object_;});B=$pkg.Error=$newType(0,$kindStruct,"js.Error",true,"github.com/gopherjs/gopherjs/js",true,function(Object_){this.$val=this;if(arguments.length===0){this.Object=null;return;}this.Object=Object_;});J=$pkg.M=$newType(4,$kindMap,"js.M",true,"github.com/gopherjs/gopherjs/js",true,null);K=$pkg.S=$newType(12,$kindSlice,"js.S",true,"github.com/gopherjs/gopherjs/js",true,null);M=$sliceType($emptyInterface);O=$ptrType(A);P=$sliceType(O);Q=$funcType([P],[O],true);R=$funcType([],[O],false);S=$funcType([O],[],false);T=$ptrType(B);A.ptr.prototype.Get=function(a){var a,b;b=this;return b.object[$externalize(a,$String)];};A.prototype.Get=function(a){return this.$val.Get(a);};A.ptr.prototype.Set=function(a,b){var a,b,c;c=this;c.object[$externalize(a,$String)]=$externalize(b,$emptyInterface);};A.prototype.Set=function(a,b){return this.$val.Set(a,b);};A.ptr.prototype.Delete=function(a){var a,b;b=this;delete b.object[$externalize(a,$String)];};A.prototype.Delete=function(a){return this.$val.Delete(a);};A.ptr.prototype.Length=function(){var a;a=this;return $parseInt(a.object.length);};A.prototype.Length=function(){return this.$val.Length();};A.ptr.prototype.Index=function(a){var a,b;b=this;return b.object[a];};A.prototype.Index=function(a){return this.$val.Index(a);};A.ptr.prototype.SetIndex=function(a,b){var a,b,c;c=this;c.object[a]=$externalize(b,$emptyInterface);};A.prototype.SetIndex=function(a,b){return this.$val.SetIndex(a,b);};A.ptr.prototype.Call=function(a,b){var a,b,c,d;c=this;return(d=c.object,d[$externalize(a,$String)].apply(d,$externalize(b,M)));};A.prototype.Call=function(a,b){return this.$val.Call(a,b);};A.ptr.prototype.Invoke=function(a){var a,b;b=this;return b.object.apply(undefined,$externalize(a,M));};A.prototype.Invoke=function(a){return this.$val.Invoke(a);};A.ptr.prototype.New=function(a){var a,b;b=this;return new($global.Function.prototype.bind.apply(b.object,[undefined].concat($externalize(a,M))));};A.prototype.New=function(a){return this.$val.New(a);};A.ptr.prototype.Bool=function(){var a;a=this;return!!(a.object);};A.prototype.Bool=function(){return this.$val.Bool();};A.ptr.prototype.String=function(){var a;a=this;return $internalize(a.object,$String);};A.prototype.String=function(){return this.$val.String();};A.ptr.prototype.Int=function(){var a;a=this;return $parseInt(a.object)>>0;};A.prototype.Int=function(){return this.$val.Int();};A.ptr.prototype.Int64=function(){var a;a=this;return $internalize(a.object,$Int64);};A.prototype.Int64=function(){return this.$val.Int64();};A.ptr.prototype.Uint64=function(){var a;a=this;return $internalize(a.object,$Uint64);};A.prototype.Uint64=function(){return this.$val.Uint64();};A.ptr.prototype.Float=function(){var a;a=this;return $parseFloat(a.object);};A.prototype.Float=function(){return this.$val.Float();};A.ptr.prototype.Interface=function(){var a;a=this;return $internalize(a.object,$emptyInterface);};A.prototype.Interface=function(){return this.$val.Interface();};A.ptr.prototype.Unsafe=function(){var a;a=this;return a.object;};A.prototype.Unsafe=function(){return this.$val.Unsafe();};B.ptr.prototype.Error=function(){var a;a=this;return"JavaScript error: "+$internalize(a.Object.message,$String);};B.prototype.Error=function(){return this.$val.Error();};B.ptr.prototype.Stack=function(){var a;a=this;return $internalize(a.Object.stack,$String);};B.prototype.Stack=function(){return this.$val.Stack();};E=function(a){var a;return $makeFunc(a);};$pkg.MakeFunc=E;G=function(a){var a,b,c,d,e,f;b=a;c=new($global.Object)();c.__internal_object__=b;d=b.constructor.methods;e=0;while(true){if(!(e<$parseInt(d.length))){break;}f=[f];f[0]=d[e];if(!($internalize(f[0].pkg,$String)==="")){e=e+(1)>>0;continue;}c[$externalize($internalize(f[0].name,$String),$String)]=$externalize((function(f){return function(g){var g;return $externalizeFunction(b[$externalize($internalize(f[0].prop,$String),$String)],f[0].typ,$externalize(true,$Bool)).apply(b,$externalize(g,P));};})(f),Q);e=e+(1)>>0;}return c;};$pkg.MakeWrapper=G;H=function(a){var{a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,$s,$r,$c}=$restore(this,{a});$s=$s||0;s:while(true){switch($s){case 0:b=[b];c=[c];b[0]=a;d=b[0].constructor;c[0]=new($global.Object)();e=(function(b,c){return function(e,f){var e,f;$global.Object.defineProperty(c[0],$externalize(e,$String),$externalize(f,J));};})(b,c);$r=e("__internal_object__",$makeMap($String.keyFor,[{k:"value",v:new $jsObjectPtr(b[0])}]));$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}f=$internalize(d.string,$String);g=$internalize(d.pkg,$String);h="";if(f.charCodeAt(0)===42){h="*";}i=0;while(true){if(!(i>0));break;}i=i+(1)>>0;}j=g+"."+h+f;$r=e("$type",$makeMap($String.keyFor,[{k:"value",v:new $String(j)}]));$s=2;case 2:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}k=null;l=new($global.Array)();m=d.methods;if(!(m===undefined)){l=l.concat(m);}n=d.elem;if(!(n===undefined)){k=n.fields;l=l.concat(n.methods);}else{k=d.fields;}o=0;case 3:if(!(o<$parseInt(l.length))){$s=4;continue;}p=[p];p[0]=l[o];if(!($internalize(p[0].pkg,$String)==="")){o=o+(1)>>0;$s=3;continue;}$r=e($internalize(p[0].prop,$String),$makeMap($String.keyFor,[{k:"value",v:new Q((function(b,c,p){return function(q){var q;return $externalizeFunction(b[0][$externalize($internalize(p[0].prop,$String),$String)],p[0].typ,$externalize(true,$Bool),H).apply(b[0],$externalize(q,P));};})(b,c,p))}]));$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}o=o+(1)>>0;$s=3;continue;case 4:if(!(k===undefined)){$s=6;continue;}$s=7;continue;case 6:q=0;case 8:if(!(q<$parseInt(k.length))){$s=9;continue;}r=[r];r[0]=k[q];if(!!!(r[0].exported)){q=q+(1)>>0;$s=8;continue;}$r=e($internalize(r[0].prop,$String),$makeMap($String.keyFor,[{k:"get",v:new R((function(b,c,r){return function(){var s;s=$copyIfRequired(b[0].$val[$externalize($internalize(r[0].prop,$String),$String)],r[0].typ);return $externalize(s,r[0].typ,H);};})(b,c,r))},{k:"set",v:new S((function(b,c,r){return function(s){var s,t;t=$internalize(s,r[0].typ,H);b[0].$val[$externalize($internalize(r[0].prop,$String),$String)]=t;};})(b,c,r))}]));$s=10;case 10:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}q=q+(1)>>0;$s=8;continue;case 9:case 7:$s=-1;return c[0];}return;}var $f={$blk:H,$c:true,$r,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,$s};return $f;};$pkg.MakeFullWrapper=H;L=function(){var a;a=new B.ptr(null);$unused(a);};O.methods=[{prop:"Get",name:"Get",pkg:"",typ:$funcType([$String],[O],false)},{prop:"Set",name:"Set",pkg:"",typ:$funcType([$String,$emptyInterface],[],false)},{prop:"Delete",name:"Delete",pkg:"",typ:$funcType([$String],[],false)},{prop:"Length",name:"Length",pkg:"",typ:$funcType([],[$Int],false)},{prop:"Index",name:"Index",pkg:"",typ:$funcType([$Int],[O],false)},{prop:"SetIndex",name:"SetIndex",pkg:"",typ:$funcType([$Int,$emptyInterface],[],false)},{prop:"Call",name:"Call",pkg:"",typ:$funcType([$String,M],[O],true)},{prop:"Invoke",name:"Invoke",pkg:"",typ:$funcType([M],[O],true)},{prop:"New",name:"New",pkg:"",typ:$funcType([M],[O],true)},{prop:"Bool",name:"Bool",pkg:"",typ:$funcType([],[$Bool],false)},{prop:"String",name:"String",pkg:"",typ:$funcType([],[$String],false)},{prop:"Int",name:"Int",pkg:"",typ:$funcType([],[$Int],false)},{prop:"Int64",name:"Int64",pkg:"",typ:$funcType([],[$Int64],false)},{prop:"Uint64",name:"Uint64",pkg:"",typ:$funcType([],[$Uint64],false)},{prop:"Float",name:"Float",pkg:"",typ:$funcType([],[$Float64],false)},{prop:"Interface",name:"Interface",pkg:"",typ:$funcType([],[$emptyInterface],false)},{prop:"Unsafe",name:"Unsafe",pkg:"",typ:$funcType([],[$Uintptr],false)}];T.methods=[{prop:"Error",name:"Error",pkg:"",typ:$funcType([],[$String],false)},{prop:"Stack",name:"Stack",pkg:"",typ:$funcType([],[$String],false)}];A.init("github.com/gopherjs/gopherjs/js",[{prop:"object",name:"object",embedded:false,exported:false,typ:O,tag:""}]);B.init("",[{prop:"Object",name:"Object",embedded:true,exported:true,typ:O,tag:""}]);J.init($String,$emptyInterface);K.init($emptyInterface);$init=function(){$pkg.$init=function(){};var $f,$c=false,$s=0,$r;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:L();}return;}if($f===undefined){$f={$blk:$init};}$f.$s=$s;$f.$r=$r;return $f;};$pkg.$init=$init;return $pkg;})(); $packages["runtime"]=(function(){var $pkg={},$init,A,C,D,L,AF,AT,AX,AY,AZ,BA,BB,BD,H,I,N,O,AM,E,F,J,K,M,P,Q,R,AE,AG,AS,AU,AV,AW;A=$packages["github.com/gopherjs/gopherjs/js"];C=$pkg._type=$newType(0,$kindStruct,"runtime._type",true,"runtime",false,function(str_){this.$val=this;if(arguments.length===0){this.str="";return;}this.str=str_;});D=$pkg.TypeAssertionError=$newType(0,$kindStruct,"runtime.TypeAssertionError",true,"runtime",true,function(_interface_,concrete_,asserted_,missingMethod_){this.$val=this;if(arguments.length===0){this._interface=AZ.nil;this.concrete=AZ.nil;this.asserted=AZ.nil;this.missingMethod="";return;}this._interface=_interface_;this.concrete=concrete_;this.asserted=asserted_;this.missingMethod=missingMethod_;});L=$pkg.basicFrame=$newType(0,$kindStruct,"runtime.basicFrame",true,"runtime",false,function(FuncName_,File_,Line_,Col_){this.$val=this;if(arguments.length===0){this.FuncName="";this.File="";this.Line=0;this.Col=0;return;}this.FuncName=FuncName_;this.File=File_;this.Line=Line_;this.Col=Col_;});AF=$pkg.Func=$newType(0,$kindStruct,"runtime.Func",true,"runtime",true,function(name_,file_,line_,opaque_){this.$val=this;if(arguments.length===0){this.name="";this.file="";this.line=0;this.opaque=new BA.ptr();return;}this.name=name_;this.file=file_;this.line=line_;this.opaque=opaque_;});AT=$pkg.errorString=$newType(8,$kindString,"runtime.errorString",true,"runtime",false,null);AX=$ptrType(AF);AY=$sliceType(AX);AZ=$ptrType(C);BA=$structType("",[]);BB=$sliceType(L);BD=$ptrType(D);C.ptr.prototype.string=function(){var a;a=this;return a.str;};C.prototype.string=function(){return this.$val.string();};C.ptr.prototype.pkgpath=function(){var a;a=this;return"";};C.prototype.pkgpath=function(){return this.$val.pkgpath();};D.ptr.prototype.RuntimeError=function(){};D.prototype.RuntimeError=function(){return this.$val.RuntimeError();};D.ptr.prototype.Error=function(){var a,b,c,d,e;a=this;b="interface";if(!(a._interface===AZ.nil)){b=a._interface.string();}c=a.asserted.string();if(a.concrete===AZ.nil){return"interface conversion: "+b+" is nil, not "+c;}d=a.concrete.string();if(a.missingMethod===""){e="interface conversion: "+b+" is "+d+", not "+c;if(d===c){if(!(a.concrete.pkgpath()===a.asserted.pkgpath())){e=e+(" (types from different packages)");}else{e=e+(" (types from different scopes)");}}return e;}return"interface conversion: "+d+" is not "+c+": missing method "+a.missingMethod;};D.prototype.Error=function(){return this.$val.Error();};E=function(){var a,b;a=$packages[$externalize("github.com/gopherjs/gopherjs/js",$String)];$jsObjectPtr=a.Object.ptr;$jsErrorPtr=a.Error.ptr;$throwRuntimeError=AU;AM=$internalize($goVersion,$String);b=$ifaceNil;b=new D.ptr(AZ.nil,AZ.nil,AZ.nil,"");$unused(b);};F=function(){var a,b,c;a=$global.process;if(a===undefined){return"/";}b=a.env.GOPHERJS_GOROOT;if(!(b===undefined)&&!($internalize(b,$String)==="")){return $internalize(b,$String);}else{c=a.env.GOROOT;if(!(c===undefined)&&!($internalize(c,$String)==="")){return $internalize(c,$String);}}return"/usr/local/go";};$pkg.GOROOT=F;J=function(a,b,c,d){var a,b,c,d,e,f,g,h,i,j,k,l;e=b+":"+K(c)+":"+K(d);f=(g=H[$String.keyFor(e)],g!==undefined?[g.v,true]:[0,false]);h=f[0];i=f[1];if(i){return h;}j=new AF.ptr(a,b,c,new BA.ptr());k=((I.$length>>>0));I=$append(I,j);l=e;(H||$throwRuntimeError("assignment to entry in nil map"))[$String.keyFor(l)]={k:l,v:k};return k;};K=function(a){var a;return $internalize(new($global.String)(a),$String);};M=function(a,b){var a,b,c;a=(a+1>>0)+1>>0;c=new($global.Error)().stack.split($externalize("\n",$String)).slice(a,a+b>>0);return P(c);};P=function(a){var a,b,c,d,e,f,g,h,i,j;b=new BB([]);c=$parseInt(a.length);d=0;while(true){if(!(d>0;continue;}g=(h=O[$String.keyFor(e.FuncName)],h!==undefined?[h.v,true]:["",false]);i=g[0];j=g[1];if(j){e.FuncName=i;}b=$append(b,e);if(e.FuncName==="runtime.goexit"){break;}d=d+(1)>>0;}return b;};Q=function(a){var a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q;if(($parseInt(a.indexOf($externalize("@",$String)))>>0)>=0){b=new($global.RegExp)($externalize("[@:]",$String));c=a.split(b);return new L.ptr($internalize(c[0],$String),$internalize(c.slice(1,$parseInt(c.length)-2>>0).join($externalize(":",$String)),$String),$parseInt(c[($parseInt(c.length)-2>>0)])>>0,$parseInt(c[($parseInt(c.length)-1>>0)])>>0);}d=$parseInt(a.lastIndexOf($externalize("(",$String)))>>0;if(d===-1){e=a.split($externalize(":",$String));return new L.ptr("",$internalize(e.slice(0,$parseInt(e.length)-2>>0).join($externalize(":",$String)).replace(new($global.RegExp)($externalize("^\\s*at ",$String)),$externalize("",$String)),$String),$parseInt(e[($parseInt(e.length)-2>>0)])>>0,$parseInt(e[($parseInt(e.length)-1>>0)])>>0);}f="";g="";h=f;i=g;j=0;k=0;l=j;m=k;n=a.substring(d+1>>0,$parseInt(a.indexOf($externalize(")",$String)))>>0);o=n.split($externalize(":",$String));if($internalize(n,$String)===""){h="";}else{h=$internalize(o.slice(0,$parseInt(o.length)-2>>0).join($externalize(":",$String)),$String);l=$parseInt(o[($parseInt(o.length)-2>>0)])>>0;m=$parseInt(o[($parseInt(o.length)-1>>0)])>>0;}p=a.substring(($parseInt(a.indexOf($externalize("at ",$String)))>>0)+3>>0,$parseInt(a.indexOf($externalize(" (",$String)))>>0);q=$parseInt(p.indexOf($externalize("[as ",$String)))>>0;if(q>0){p=p.substring(q+4>>0,p.indexOf($externalize("]",$String)));}i=$internalize(p,$String);return new L.ptr(i,h,l,m);};$pkg.ParseCallFrame=Q;R=function(a){var a,b,c,d,e,f,g,h,i,j,k,l,m,n;b=0;c="";d=0;e=false;a=a+1>>0;f=M(a,1);if(!((f.$length===1))){g=0;h="";i=0;j=false;b=g;c=h;d=i;e=j;return[b,c,d,e];}b=J((0>=f.$length?($throwRuntimeError("index out of range"),undefined):f.$array[f.$offset+0]).FuncName,(0>=f.$length?($throwRuntimeError("index out of range"),undefined):f.$array[f.$offset+0]).File,(0>=f.$length?($throwRuntimeError("index out of range"),undefined):f.$array[f.$offset+0]).Line,(0>=f.$length?($throwRuntimeError("index out of range"),undefined):f.$array[f.$offset+0]).Col);k=b;l=(0>=f.$length?($throwRuntimeError("index out of range"),undefined):f.$array[f.$offset+0]).File;m=(0>=f.$length?($throwRuntimeError("index out of range"),undefined):f.$array[f.$offset+0]).Line;n=true;b=k;c=l;d=m;e=n;return[b,c,d,e];};$pkg.Caller=R;AE=function(a,b){var a,b;};$pkg.SetFinalizer=AE;AF.ptr.prototype.Entry=function(){return 0;};AF.prototype.Entry=function(){return this.$val.Entry();};AF.ptr.prototype.FileLine=function(a){var a,b,c,d,e,f,g,h;b="";c=0;d=this;if(d===AX.nil){e="";f=0;b=e;c=f;return[b,c];}g=d.file;h=d.line;b=g;c=h;return[b,c];};AF.prototype.FileLine=function(a){return this.$val.FileLine(a);};AF.ptr.prototype.Name=function(){var a;a=this;if(a===AX.nil||a.name===""){return"";}return a.name;};AF.prototype.Name=function(){return this.$val.Name();};AG=function(a){var a,b;b=((a>>0));if(b>=I.$length){$panic(new $String("GopherJS: pc="+K(b)+" is out of range of known position counters"));}return((b<0||b>=I.$length)?($throwRuntimeError("index out of range"),undefined):I.$array[I.$offset+b]);};$pkg.FuncForPC=AG;AS=function(a){var a;};$pkg.KeepAlive=AS;AT.prototype.RuntimeError=function(){var a;a=this.$val;};$ptrType(AT).prototype.RuntimeError=function(){return new AT(this.$get()).RuntimeError();};AT.prototype.Error=function(){var a;a=this.$val;return"runtime error: "+(a);};$ptrType(AT).prototype.Error=function(){return new AT(this.$get()).Error();};AU=function(a){var a;$panic(new AT((a)));};AV=function(){return $mul64($internalize(new($global.Date)().getTime(),$Int64),new $Int64(0,1000000));};$linknames["runtime.nanotime"]=AV;AW=function(){return(($parseFloat($global.Math.random())*4.294967295e+09>>0));};$linknames["runtime.fastrand"]=AW;AZ.methods=[{prop:"string",name:"string",pkg:"runtime",typ:$funcType([],[$String],false)},{prop:"pkgpath",name:"pkgpath",pkg:"runtime",typ:$funcType([],[$String],false)}];BD.methods=[{prop:"RuntimeError",name:"RuntimeError",pkg:"",typ:$funcType([],[],false)},{prop:"Error",name:"Error",pkg:"",typ:$funcType([],[$String],false)}];AX.methods=[{prop:"Entry",name:"Entry",pkg:"",typ:$funcType([],[$Uintptr],false)},{prop:"FileLine",name:"FileLine",pkg:"",typ:$funcType([$Uintptr],[$String,$Int],false)},{prop:"Name",name:"Name",pkg:"",typ:$funcType([],[$String],false)}];AT.methods=[{prop:"RuntimeError",name:"RuntimeError",pkg:"",typ:$funcType([],[],false)},{prop:"Error",name:"Error",pkg:"",typ:$funcType([],[$String],false)}];C.init("runtime",[{prop:"str",name:"str",embedded:false,exported:false,typ:$String,tag:""}]);D.init("runtime",[{prop:"_interface",name:"_interface",embedded:false,exported:false,typ:AZ,tag:""},{prop:"concrete",name:"concrete",embedded:false,exported:false,typ:AZ,tag:""},{prop:"asserted",name:"asserted",embedded:false,exported:false,typ:AZ,tag:""},{prop:"missingMethod",name:"missingMethod",embedded:false,exported:false,typ:$String,tag:""}]);L.init("",[{prop:"FuncName",name:"FuncName",embedded:false,exported:true,typ:$String,tag:""},{prop:"File",name:"File",embedded:false,exported:true,typ:$String,tag:""},{prop:"Line",name:"Line",embedded:false,exported:true,typ:$Int,tag:""},{prop:"Col",name:"Col",embedded:false,exported:true,typ:$Int,tag:""}]);AF.init("runtime",[{prop:"name",name:"name",embedded:false,exported:false,typ:$String,tag:""},{prop:"file",name:"file",embedded:false,exported:false,typ:$String,tag:""},{prop:"line",name:"line",embedded:false,exported:false,typ:$Int,tag:""},{prop:"opaque",name:"opaque",embedded:false,exported:false,typ:BA,tag:""}]);$init=function(){$pkg.$init=function(){};var $f,$c=false,$s=0,$r;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:$r=A.$init();$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}AM="";H=$makeMap($String.keyFor,[]);I=new AY([]);N=$makeMap($String.keyFor,[{k:"$callDeferred",v:true}]);O=$makeMap($String.keyFor,[{k:"$panic",v:"runtime.gopanic"},{k:"$goroutine",v:"runtime.goexit"}]);E();}return;}if($f===undefined){$f={$blk:$init};}$f.$s=$s;$f.$r=$r;return $f;};$pkg.$init=$init;return $pkg;})(); $packages["internal/goarch"]=(function(){var $pkg={},$init;$init=function(){$pkg.$init=function(){};var $f,$c=false,$s=0,$r;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:}return;}if($f===undefined){$f={$blk:$init};}$f.$s=$s;$f.$r=$r;return $f;};$pkg.$init=$init;return $pkg;})(); $packages["internal/unsafeheader"]=(function(){var $pkg={},$init,A;A=$pkg.Slice=$newType(0,$kindStruct,"unsafeheader.Slice",true,"internal/unsafeheader",true,function(Data_,Len_,Cap_){this.$val=this;if(arguments.length===0){this.Data=0;this.Len=0;this.Cap=0;return;}this.Data=Data_;this.Len=Len_;this.Cap=Cap_;});A.init("",[{prop:"Data",name:"Data",embedded:false,exported:true,typ:$UnsafePointer,tag:""},{prop:"Len",name:"Len",embedded:false,exported:true,typ:$Int,tag:""},{prop:"Cap",name:"Cap",embedded:false,exported:true,typ:$Int,tag:""}]);$init=function(){$pkg.$init=function(){};var $f,$c=false,$s=0,$r;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:}return;}if($f===undefined){$f={$blk:$init};}$f.$s=$s;$f.$r=$r;return $f;};$pkg.$init=$init;return $pkg;})(); $packages["internal/reflectlite"]=(function(){var $pkg={},$init,D,A,B,C,E,F,I,O,P,Q,R,S,T,U,V,W,X,Y,Z,AA,AB,AC,AG,AH,AI,AT,AV,BL,BN,BO,BP,CU,CW,DU,DV,DW,DX,DY,DZ,EA,EC,ED,EE,EF,EG,EH,EI,EJ,EK,EL,EM,EN,EO,ES,ET,EU,EV,EW,EX,EY,EZ,AD,AR,BB,BD,BE,BF,BG,BH,BM,BQ,BS,BU,DH,DN,AK,AL,AM,AN,AP,AQ,AU,BA,BC,BI,BJ,BK,BR,BT,BV,BW,BX,BY,BZ,CB,CC,CF,CH,CJ,CM,CQ,CR,CV,CX,CY,CZ,DC,DD,DE,DF,DG,DI,DJ,DK,DL,DM;D=$packages["github.com/gopherjs/gopherjs/js"];A=$packages["internal/goarch"];B=$packages["internal/unsafeheader"];C=$packages["runtime"];E=$pkg.Value=$newType(0,$kindStruct,"reflectlite.Value",true,"internal/reflectlite",true,function(typ_,ptr_,flag_){this.$val=this;if(arguments.length===0){this.typ=DU.nil;this.ptr=0;this.flag=0;return;}this.typ=typ_;this.ptr=ptr_;this.flag=flag_;});F=$pkg.flag=$newType(4,$kindUintptr,"reflectlite.flag",true,"internal/reflectlite",false,null);I=$pkg.ValueError=$newType(0,$kindStruct,"reflectlite.ValueError",true,"internal/reflectlite",true,function(Method_,Kind_){this.$val=this;if(arguments.length===0){this.Method="";this.Kind=0;return;}this.Method=Method_;this.Kind=Kind_;});O=$pkg.Type=$newType(8,$kindInterface,"reflectlite.Type",true,"internal/reflectlite",true,null);P=$pkg.Kind=$newType(4,$kindUint,"reflectlite.Kind",true,"internal/reflectlite",true,null);Q=$pkg.tflag=$newType(1,$kindUint8,"reflectlite.tflag",true,"internal/reflectlite",false,null);R=$pkg.rtype=$newType(0,$kindStruct,"reflectlite.rtype",true,"internal/reflectlite",false,function(size_,ptrdata_,hash_,tflag_,align_,fieldAlign_,kind_,equal_,gcdata_,str_,ptrToThis_){this.$val=this;if(arguments.length===0){this.size=0;this.ptrdata=0;this.hash=0;this.tflag=0;this.align=0;this.fieldAlign=0;this.kind=0;this.equal=$throwNilPointerError;this.gcdata=EG.nil;this.str=0;this.ptrToThis=0;return;}this.size=size_;this.ptrdata=ptrdata_;this.hash=hash_;this.tflag=tflag_;this.align=align_;this.fieldAlign=fieldAlign_;this.kind=kind_;this.equal=equal_;this.gcdata=gcdata_;this.str=str_;this.ptrToThis=ptrToThis_;});S=$pkg.method=$newType(0,$kindStruct,"reflectlite.method",true,"internal/reflectlite",false,function(name_,mtyp_,ifn_,tfn_){this.$val=this;if(arguments.length===0){this.name=0;this.mtyp=0;this.ifn=0;this.tfn=0;return;}this.name=name_;this.mtyp=mtyp_;this.ifn=ifn_;this.tfn=tfn_;});T=$pkg.chanDir=$newType(4,$kindInt,"reflectlite.chanDir",true,"internal/reflectlite",false,null);U=$pkg.arrayType=$newType(0,$kindStruct,"reflectlite.arrayType",true,"internal/reflectlite",false,function(rtype_,elem_,slice_,len_){this.$val=this;if(arguments.length===0){this.rtype=new R.ptr(0,0,0,0,0,0,0,$throwNilPointerError,EG.nil,0,0);this.elem=DU.nil;this.slice=DU.nil;this.len=0;return;}this.rtype=rtype_;this.elem=elem_;this.slice=slice_;this.len=len_;});V=$pkg.chanType=$newType(0,$kindStruct,"reflectlite.chanType",true,"internal/reflectlite",false,function(rtype_,elem_,dir_){this.$val=this;if(arguments.length===0){this.rtype=new R.ptr(0,0,0,0,0,0,0,$throwNilPointerError,EG.nil,0,0);this.elem=DU.nil;this.dir=0;return;}this.rtype=rtype_;this.elem=elem_;this.dir=dir_;});W=$pkg.imethod=$newType(0,$kindStruct,"reflectlite.imethod",true,"internal/reflectlite",false,function(name_,typ_){this.$val=this;if(arguments.length===0){this.name=0;this.typ=0;return;}this.name=name_;this.typ=typ_;});X=$pkg.interfaceType=$newType(0,$kindStruct,"reflectlite.interfaceType",true,"internal/reflectlite",false,function(rtype_,pkgPath_,methods_){this.$val=this;if(arguments.length===0){this.rtype=new R.ptr(0,0,0,0,0,0,0,$throwNilPointerError,EG.nil,0,0);this.pkgPath=new BO.ptr(EG.nil);this.methods=EK.nil;return;}this.rtype=rtype_;this.pkgPath=pkgPath_;this.methods=methods_;});Y=$pkg.mapType=$newType(0,$kindStruct,"reflectlite.mapType",true,"internal/reflectlite",false,function(rtype_,key_,elem_,bucket_,hasher_,keysize_,valuesize_,bucketsize_,flags_){this.$val=this;if(arguments.length===0){this.rtype=new R.ptr(0,0,0,0,0,0,0,$throwNilPointerError,EG.nil,0,0);this.key=DU.nil;this.elem=DU.nil;this.bucket=DU.nil;this.hasher=$throwNilPointerError;this.keysize=0;this.valuesize=0;this.bucketsize=0;this.flags=0;return;}this.rtype=rtype_;this.key=key_;this.elem=elem_;this.bucket=bucket_;this.hasher=hasher_;this.keysize=keysize_;this.valuesize=valuesize_;this.bucketsize=bucketsize_;this.flags=flags_;});Z=$pkg.ptrType=$newType(0,$kindStruct,"reflectlite.ptrType",true,"internal/reflectlite",false,function(rtype_,elem_){this.$val=this;if(arguments.length===0){this.rtype=new R.ptr(0,0,0,0,0,0,0,$throwNilPointerError,EG.nil,0,0);this.elem=DU.nil;return;}this.rtype=rtype_;this.elem=elem_;});AA=$pkg.sliceType=$newType(0,$kindStruct,"reflectlite.sliceType",true,"internal/reflectlite",false,function(rtype_,elem_){this.$val=this;if(arguments.length===0){this.rtype=new R.ptr(0,0,0,0,0,0,0,$throwNilPointerError,EG.nil,0,0);this.elem=DU.nil;return;}this.rtype=rtype_;this.elem=elem_;});AB=$pkg.structField=$newType(0,$kindStruct,"reflectlite.structField",true,"internal/reflectlite",false,function(name_,typ_,offsetEmbed_){this.$val=this;if(arguments.length===0){this.name=new BO.ptr(EG.nil);this.typ=DU.nil;this.offsetEmbed=0;return;}this.name=name_;this.typ=typ_;this.offsetEmbed=offsetEmbed_;});AC=$pkg.structType=$newType(0,$kindStruct,"reflectlite.structType",true,"internal/reflectlite",false,function(rtype_,pkgPath_,fields_){this.$val=this;if(arguments.length===0){this.rtype=new R.ptr(0,0,0,0,0,0,0,$throwNilPointerError,EG.nil,0,0);this.pkgPath=new BO.ptr(EG.nil);this.fields=EL.nil;return;}this.rtype=rtype_;this.pkgPath=pkgPath_;this.fields=fields_;});AG=$pkg.nameOff=$newType(4,$kindInt32,"reflectlite.nameOff",true,"internal/reflectlite",false,null);AH=$pkg.typeOff=$newType(4,$kindInt32,"reflectlite.typeOff",true,"internal/reflectlite",false,null);AI=$pkg.textOff=$newType(4,$kindInt32,"reflectlite.textOff",true,"internal/reflectlite",false,null);AT=$pkg.errorString=$newType(0,$kindStruct,"reflectlite.errorString",true,"internal/reflectlite",false,function(s_){this.$val=this;if(arguments.length===0){this.s="";return;}this.s=s_;});AV=$pkg.Method=$newType(0,$kindStruct,"reflectlite.Method",true,"internal/reflectlite",true,function(Name_,PkgPath_,Type_,Func_,Index_){this.$val=this;if(arguments.length===0){this.Name="";this.PkgPath="";this.Type=$ifaceNil;this.Func=new E.ptr(DU.nil,0,0);this.Index=0;return;}this.Name=Name_;this.PkgPath=PkgPath_;this.Type=Type_;this.Func=Func_;this.Index=Index_;});BL=$pkg.uncommonType=$newType(0,$kindStruct,"reflectlite.uncommonType",true,"internal/reflectlite",false,function(pkgPath_,mcount_,xcount_,moff_,_methods_){this.$val=this;if(arguments.length===0){this.pkgPath=0;this.mcount=0;this.xcount=0;this.moff=0;this._methods=ED.nil;return;}this.pkgPath=pkgPath_;this.mcount=mcount_;this.xcount=xcount_;this.moff=moff_;this._methods=_methods_;});BN=$pkg.funcType=$newType(0,$kindStruct,"reflectlite.funcType",true,"internal/reflectlite",false,function(rtype_,inCount_,outCount_,_in_,_out_){this.$val=this;if(arguments.length===0){this.rtype=new R.ptr(0,0,0,0,0,0,0,$throwNilPointerError,EG.nil,0,0);this.inCount=0;this.outCount=0;this._in=DW.nil;this._out=DW.nil;return;}this.rtype=rtype_;this.inCount=inCount_;this.outCount=outCount_;this._in=_in_;this._out=_out_;});BO=$pkg.name=$newType(0,$kindStruct,"reflectlite.name",true,"internal/reflectlite",false,function(bytes_){this.$val=this;if(arguments.length===0){this.bytes=EG.nil;return;}this.bytes=bytes_;});BP=$pkg.nameData=$newType(0,$kindStruct,"reflectlite.nameData",true,"internal/reflectlite",false,function(name_,tag_,exported_){this.$val=this;if(arguments.length===0){this.name="";this.tag="";this.exported=false;return;}this.name=name_;this.tag=tag_;this.exported=exported_;});CU=$pkg.mapIter=$newType(0,$kindStruct,"reflectlite.mapIter",true,"internal/reflectlite",false,function(t_,m_,keys_,i_,last_){this.$val=this;if(arguments.length===0){this.t=$ifaceNil;this.m=null;this.keys=null;this.i=0;this.last=null;return;}this.t=t_;this.m=m_;this.keys=keys_;this.i=i_;this.last=last_;});CW=$pkg.TypeEx=$newType(8,$kindInterface,"reflectlite.TypeEx",true,"internal/reflectlite",true,null);DU=$ptrType(R);DV=$sliceType(BO);DW=$sliceType(DU);DX=$sliceType($String);DY=$sliceType($emptyInterface);DZ=$ptrType(D.Object);EA=$funcType([DY],[DZ],true);EC=$ptrType(BL);ED=$sliceType(S);EE=$ptrType(BN);EF=$sliceType(E);EG=$ptrType($Uint8);EH=$ptrType($UnsafePointer);EI=$sliceType(O);EJ=$sliceType(DZ);EK=$sliceType(W);EL=$sliceType(AB);EM=$ptrType(BP);EN=$structType("internal/reflectlite",[{prop:"str",name:"str",embedded:false,exported:false,typ:$String,tag:""}]);EO=$ptrType(CU);ES=$arrayType($Uintptr,2);ET=$sliceType($Uint8);EU=$ptrType(I);EV=$funcType([$UnsafePointer,$UnsafePointer],[$Bool],false);EW=$ptrType(X);EX=$funcType([$UnsafePointer,$Uintptr],[$Uintptr],false);EY=$ptrType(AB);EZ=$ptrType(AT);F.prototype.kind=function(){var m;m=this.$val;return((((m&31)>>>0)>>>0));};$ptrType(F).prototype.kind=function(){return new F(this.$get()).kind();};F.prototype.ro=function(){var m;m=this.$val;if(!((((m&96)>>>0)===0))){return 32;}return 0;};$ptrType(F).prototype.ro=function(){return new F(this.$get()).ro();};E.ptr.prototype.pointer=function(){var m;m=this;if(!((m.typ.size===4))||!m.typ.pointers()){$panic(new $String("can't call pointer on a non-pointer Value"));}if(!((((m.flag&128)>>>0)===0))){return(m.ptr).$get();}return m.ptr;};E.prototype.pointer=function(){return this.$val.pointer();};I.ptr.prototype.Error=function(){var m;m=this;if(m.Kind===0){return"reflect: call of "+m.Method+" on zero Value";}return"reflect: call of "+m.Method+" on "+new P(m.Kind).String()+" Value";};I.prototype.Error=function(){return this.$val.Error();};F.prototype.mustBeExported=function(){var m;m=this.$val;if(m===0){$panic(new I.ptr(DF(),0));}if(!((((m&96)>>>0)===0))){$panic(new $String("reflect: "+DF()+" using value obtained using unexported field"));}};$ptrType(F).prototype.mustBeExported=function(){return new F(this.$get()).mustBeExported();};F.prototype.mustBeAssignable=function(){var m;m=this.$val;if(m===0){$panic(new I.ptr(DF(),0));}if(!((((m&96)>>>0)===0))){$panic(new $String("reflect: "+DF()+" using value obtained using unexported field"));}if(((m&256)>>>0)===0){$panic(new $String("reflect: "+DF()+" using unaddressable value"));}};$ptrType(F).prototype.mustBeAssignable=function(){return new F(this.$get()).mustBeAssignable();};E.ptr.prototype.CanSet=function(){var m;m=this;return((m.flag&352)>>>0)===256;};E.prototype.CanSet=function(){return this.$val.CanSet();};E.ptr.prototype.IsValid=function(){var m;m=this;return!((m.flag===0));};E.prototype.IsValid=function(){return this.$val.IsValid();};E.ptr.prototype.Kind=function(){var m;m=this;return new F(m.flag).kind();};E.prototype.Kind=function(){return this.$val.Kind();};E.ptr.prototype.Type=function(){var m,n;m=this;n=m.flag;if(n===0){$panic(new I.ptr("reflectlite.Value.Type",0));}return m.typ;};E.prototype.Type=function(){return this.$val.Type();};AB.ptr.prototype.embedded=function(){var m;m=this;return!((((m.offsetEmbed&1)>>>0)===0));};AB.prototype.embedded=function(){return this.$val.embedded();};P.prototype.String=function(){var m;m=this.$val;if(((m>>0))=AD.$length)?($throwRuntimeError("index out of range"),undefined):AD.$array[AD.$offset+m]);}return(0>=AD.$length?($throwRuntimeError("index out of range"),undefined):AD.$array[AD.$offset+0]);};$ptrType(P).prototype.String=function(){return new P(this.$get()).String();};R.ptr.prototype.String=function(){var m,n;m=this;n=$clone(m.nameOff(m.str),BO).name();if(!((((m.tflag&2)>>>0)===0))){return $substring(n,1);}return n;};R.prototype.String=function(){return this.$val.String();};R.ptr.prototype.Size=function(){var m;m=this;return m.size;};R.prototype.Size=function(){return this.$val.Size();};R.ptr.prototype.Kind=function(){var m;m=this;return((((m.kind&31)>>>0)>>>0));};R.prototype.Kind=function(){return this.$val.Kind();};R.ptr.prototype.pointers=function(){var m;m=this;return!((m.ptrdata===0));};R.prototype.pointers=function(){return this.$val.pointers();};R.ptr.prototype.common=function(){var m;m=this;return m;};R.prototype.common=function(){return this.$val.common();};R.ptr.prototype.exportedMethods=function(){var m,n;m=this;n=m.uncommon();if(n===EC.nil){return ED.nil;}return n.exportedMethods();};R.prototype.exportedMethods=function(){return this.$val.exportedMethods();};R.ptr.prototype.NumMethod=function(){var m,n;m=this;if(m.Kind()===20){n=(m.kindType);return n.NumMethod();}return m.exportedMethods().$length;};R.prototype.NumMethod=function(){return this.$val.NumMethod();};R.ptr.prototype.PkgPath=function(){var m,n;m=this;if(((m.tflag&4)>>>0)===0){return"";}n=m.uncommon();if(n===EC.nil){return"";}return $clone(m.nameOff(n.pkgPath),BO).name();};R.prototype.PkgPath=function(){return this.$val.PkgPath();};R.ptr.prototype.hasName=function(){var m;m=this;return!((((m.tflag&4)>>>0)===0));};R.prototype.hasName=function(){return this.$val.hasName();};R.ptr.prototype.Name=function(){var m,n,o;m=this;if(!m.hasName()){return"";}n=m.String();o=n.length-1>>0;while(true){if(!(o>=0&&!((n.charCodeAt(o)===46)))){break;}o=o-(1)>>0;}return $substring(n,(o+1>>0));};R.prototype.Name=function(){return this.$val.Name();};R.ptr.prototype.chanDir=function(){var m,n;m=this;if(!((m.Kind()===18))){$panic(new $String("reflect: chanDir of non-chan type"));}n=(m.kindType);return((n.dir>>0));};R.prototype.chanDir=function(){return this.$val.chanDir();};R.ptr.prototype.Elem=function(){var m,n,o,p,q,r,s;m=this;n=m.Kind();if(n===(17)){o=(m.kindType);return AP(o.elem);}else if(n===(18)){p=(m.kindType);return AP(p.elem);}else if(n===(21)){q=(m.kindType);return AP(q.elem);}else if(n===(22)){r=(m.kindType);return AP(r.elem);}else if(n===(23)){s=(m.kindType);return AP(s.elem);}$panic(new $String("reflect: Elem of invalid type"));};R.prototype.Elem=function(){return this.$val.Elem();};R.ptr.prototype.In=function(m){var m,n,o,p;n=this;if(!((n.Kind()===19))){$panic(new $String("reflect: In of non-func type"));}o=(n.kindType);return AP((p=o.in$(),((m<0||m>=p.$length)?($throwRuntimeError("index out of range"),undefined):p.$array[p.$offset+m])));};R.prototype.In=function(m){return this.$val.In(m);};R.ptr.prototype.Len=function(){var m,n;m=this;if(!((m.Kind()===17))){$panic(new $String("reflect: Len of non-array type"));}n=(m.kindType);return((n.len>>0));};R.prototype.Len=function(){return this.$val.Len();};R.ptr.prototype.NumIn=function(){var m,n;m=this;if(!((m.Kind()===19))){$panic(new $String("reflect: NumIn of non-func type"));}n=(m.kindType);return((n.inCount>>0));};R.prototype.NumIn=function(){return this.$val.NumIn();};R.ptr.prototype.NumOut=function(){var m,n;m=this;if(!((m.Kind()===19))){$panic(new $String("reflect: NumOut of non-func type"));}n=(m.kindType);return n.out().$length;};R.prototype.NumOut=function(){return this.$val.NumOut();};R.ptr.prototype.Out=function(m){var m,n,o,p;n=this;if(!((n.Kind()===19))){$panic(new $String("reflect: Out of non-func type"));}o=(n.kindType);return AP((p=o.out(),((m<0||m>=p.$length)?($throwRuntimeError("index out of range"),undefined):p.$array[p.$offset+m])));};R.prototype.Out=function(m){return this.$val.Out(m);};X.ptr.prototype.NumMethod=function(){var m;m=this;return m.methods.$length;};X.prototype.NumMethod=function(){return this.$val.NumMethod();};R.ptr.prototype.Implements=function(m){var{m,n,o,$s,$r,$c}=$restore(this,{m});$s=$s||0;s:while(true){switch($s){case 0:n=this;if($interfaceIsEqual(m,$ifaceNil)){$panic(new $String("reflect: nil type passed to Type.Implements"));}o=m.Kind();$s=3;case 3:if($c){$c=false;o=o.$blk();}if(o&&o.$blk!==undefined){break s;}if(!((o===20))){$s=1;continue;}$s=2;continue;case 1:$panic(new $String("reflect: non-interface type passed to Type.Implements"));case 2:$s=-1;return AK($assertType(m,DU),n);}return;}var $f={$blk:R.ptr.prototype.Implements,$c:true,$r,m,n,o,$s};return $f;};R.prototype.Implements=function(m){return this.$val.Implements(m);};R.ptr.prototype.AssignableTo=function(m){var{m,n,o,p,q,$s,$r,$c}=$restore(this,{m});$s=$s||0;s:while(true){switch($s){case 0:n=this;if($interfaceIsEqual(m,$ifaceNil)){$panic(new $String("reflect: nil type passed to Type.AssignableTo"));}o=$assertType(m,DU);p=AL(o,n);$s=1;case 1:if($c){$c=false;p=p.$blk();}if(p&&p.$blk!==undefined){break s;}q=p||AK(o,n);$s=2;case 2:return q;}return;}var $f={$blk:R.ptr.prototype.AssignableTo,$c:true,$r,m,n,o,p,q,$s};return $f;};R.prototype.AssignableTo=function(m){return this.$val.AssignableTo(m);};AK=function(m,n){var aa,ab,ac,ad,ae,af,ag,ah,ai,aj,ak,m,n,o,p,q,r,s,t,u,v,w,x,y,z;if(!((m.Kind()===20))){return false;}o=(m.kindType);if(o.methods.$length===0){return true;}if(n.Kind()===20){p=(n.kindType);q=0;r=0;while(true){if(!(r=s.$length)?($throwRuntimeError("index out of range"),undefined):s.$array[s.$offset+q]));u=$clone(o.rtype.nameOff(t.name),BO);w=(v=p.methods,((r<0||r>=v.$length)?($throwRuntimeError("index out of range"),undefined):v.$array[v.$offset+r]));x=$clone(n.nameOff(w.name),BO);if($clone(x,BO).name()===$clone(u,BO).name()&&n.typeOff(w.typ)===o.rtype.typeOff(t.typ)){if(!$clone(u,BO).isExported()){y=$clone(u,BO).pkgPath();if(y===""){y=$clone(o.pkgPath,BO).name();}z=$clone(x,BO).pkgPath();if(z===""){z=$clone(p.pkgPath,BO).name();}if(!(y===z)){r=r+(1)>>0;continue;}}q=q+(1)>>0;if(q>=o.methods.$length){return true;}}r=r+(1)>>0;}return false;}aa=n.uncommon();if(aa===EC.nil){return false;}ab=0;ac=aa.methods();ad=0;while(true){if(!(ad<((aa.mcount>>0)))){break;}af=(ae=o.methods,((ab<0||ab>=ae.$length)?($throwRuntimeError("index out of range"),undefined):ae.$array[ae.$offset+ab]));ag=$clone(o.rtype.nameOff(af.name),BO);ah=$clone(((ad<0||ad>=ac.$length)?($throwRuntimeError("index out of range"),undefined):ac.$array[ac.$offset+ad]),S);ai=$clone(n.nameOff(ah.name),BO);if($clone(ai,BO).name()===$clone(ag,BO).name()&&n.typeOff(ah.mtyp)===o.rtype.typeOff(af.typ)){if(!$clone(ag,BO).isExported()){aj=$clone(ag,BO).pkgPath();if(aj===""){aj=$clone(o.pkgPath,BO).name();}ak=$clone(ai,BO).pkgPath();if(ak===""){ak=$clone(n.nameOff(aa.pkgPath),BO).name();}if(!(aj===ak)){ad=ad+(1)>>0;continue;}}ab=ab+(1)>>0;if(ab>=o.methods.$length){return true;}}ad=ad+(1)>>0;}return false;};AL=function(m,n){var{m,n,o,p,$s,$r,$c}=$restore(this,{m,n});$s=$s||0;s:while(true){switch($s){case 0:if(m===n){$s=-1;return true;}if(m.hasName()&&n.hasName()||!((m.Kind()===n.Kind()))){$s=-1;return false;}o=AN(m,n,true);$s=1;case 1:if($c){$c=false;o=o.$blk();}if(o&&o.$blk!==undefined){break s;}p=o;$s=2;case 2:return p;}return;}var $f={$blk:AL,$c:true,$r,m,n,o,p,$s};return $f;};AM=function(m,n,o){var{m,n,o,p,q,r,s,t,u,v,w,x,y,z,$s,$r,$c}=$restore(this,{m,n,o});$s=$s||0;s:while(true){switch($s){case 0:if(o){$s=-1;return $interfaceIsEqual(m,n);}q=m.Name();$s=4;case 4:if($c){$c=false;q=q.$blk();}if(q&&q.$blk!==undefined){break s;}r=n.Name();$s=5;case 5:if($c){$c=false;r=r.$blk();}if(r&&r.$blk!==undefined){break s;}if(!(q===r)){p=true;$s=3;continue s;}s=m.Kind();$s=6;case 6:if($c){$c=false;s=s.$blk();}if(s&&s.$blk!==undefined){break s;}t=n.Kind();$s=7;case 7:if($c){$c=false;t=t.$blk();}if(t&&t.$blk!==undefined){break s;}p=!((s===t));case 3:if(p){$s=1;continue;}$s=2;continue;case 1:$s=-1;return false;case 2:u=m.common();$s=8;case 8:if($c){$c=false;u=u.$blk();}if(u&&u.$blk!==undefined){break s;}v=u;w=n.common();$s=9;case 9:if($c){$c=false;w=w.$blk();}if(w&&w.$blk!==undefined){break s;}x=w;y=AN(v,x,false);$s=10;case 10:if($c){$c=false;y=y.$blk();}if(y&&y.$blk!==undefined){break s;}z=y;$s=11;case 11:return z;}return;}var $f={$blk:AM,$c:true,$r,m,n,o,p,q,r,s,t,u,v,w,x,y,z,$s};return $f;};AN=function(m,n,o){var{aa,ab,ac,ad,ae,af,ag,ah,ai,aj,ak,al,am,an,ao,ap,aq,ar,as,at,au,av,aw,m,n,o,p,q,r,s,t,u,v,w,x,y,z,$s,$r,$c}=$restore(this,{m,n,o});$s=$s||0;s:while(true){switch($s){case 0:if(m===n){$s=-1;return true;}p=m.Kind();if(!((p===n.Kind()))){$s=-1;return false;}if(1<=p&&p<=16||(p===24)||(p===26)){$s=-1;return true;}q=p;if(q===(17)){$s=2;continue;}if(q===(18)){$s=3;continue;}if(q===(19)){$s=4;continue;}if(q===(20)){$s=5;continue;}if(q===(21)){$s=6;continue;}if((q===(22))||(q===(23))){$s=7;continue;}if(q===(25)){$s=8;continue;}$s=9;continue;case 2:if(!(m.Len()===n.Len())){r=false;$s=10;continue s;}s=AM(m.Elem(),n.Elem(),o);$s=11;case 11:if($c){$c=false;s=s.$blk();}if(s&&s.$blk!==undefined){break s;}r=s;case 10:t=r;$s=12;case 12:return t;case 3:if(!(n.chanDir()===3)){u=false;$s=15;continue s;}v=AM(m.Elem(),n.Elem(),o);$s=16;case 16:if($c){$c=false;v=v.$blk();}if(v&&v.$blk!==undefined){break s;}u=v;case 15:if(u){$s=13;continue;}$s=14;continue;case 13:$s=-1;return true;case 14:if(!(n.chanDir()===m.chanDir())){w=false;$s=17;continue s;}x=AM(m.Elem(),n.Elem(),o);$s=18;case 18:if($c){$c=false;x=x.$blk();}if(x&&x.$blk!==undefined){break s;}w=x;case 17:y=w;$s=19;case 19:return y;case 4:z=(m.kindType);aa=(n.kindType);if(!((z.outCount===aa.outCount))||!((z.inCount===aa.inCount))){$s=-1;return false;}ab=0;case 20:if(!(ab>0;$s=20;continue;case 21:ad=0;case 25:if(!(ad>0;$s=25;continue;case 26:$s=-1;return true;case 5:af=(m.kindType);ag=(n.kindType);if((af.methods.$length===0)&&(ag.methods.$length===0)){$s=-1;return true;}$s=-1;return false;case 6:ai=AM(m.Key(),n.Key(),o);$s=31;case 31:if($c){$c=false;ai=ai.$blk();}if(ai&&ai.$blk!==undefined){break s;}if(!(ai)){ah=false;$s=30;continue s;}aj=AM(m.Elem(),n.Elem(),o);$s=32;case 32:if($c){$c=false;aj=aj.$blk();}if(aj&&aj.$blk!==undefined){break s;}ah=aj;case 30:ak=ah;$s=33;case 33:return ak;case 7:al=AM(m.Elem(),n.Elem(),o);$s=34;case 34:if($c){$c=false;al=al.$blk();}if(al&&al.$blk!==undefined){break s;}am=al;$s=35;case 35:return am;case 8:an=(m.kindType);ao=(n.kindType);if(!((an.fields.$length===ao.fields.$length))){$s=-1;return false;}if(!($clone(an.pkgPath,BO).name()===$clone(ao.pkgPath,BO).name())){$s=-1;return false;}ap=an.fields;aq=0;case 36:if(!(aq=as.$length)?($throwRuntimeError("index out of range"),undefined):as.$array[as.$offset+ar]));av=(au=ao.fields,((ar<0||ar>=au.$length)?($throwRuntimeError("index out of range"),undefined):au.$array[au.$offset+ar]));if(!($clone(at.name,BO).name()===$clone(av.name,BO).name())){$s=-1;return false;}aw=AM(at.typ,av.typ,o);$s=40;case 40:if($c){$c=false;aw=aw.$blk();}if(aw&&aw.$blk!==undefined){break s;}if(!aw){$s=38;continue;}$s=39;continue;case 38:$s=-1;return false;case 39:if(o&&!($clone(at.name,BO).tag()===$clone(av.name,BO).tag())){$s=-1;return false;}if(!((at.offsetEmbed===av.offsetEmbed))){$s=-1;return false;}aq++;$s=36;continue;case 37:$s=-1;return true;case 9:case 1:$s=-1;return false;}return;}var $f={$blk:AN,$c:true,$r,aa,ab,ac,ad,ae,af,ag,ah,ai,aj,ak,al,am,an,ao,ap,aq,ar,as,at,au,av,aw,m,n,o,p,q,r,s,t,u,v,w,x,y,z,$s};return $f;};AP=function(m){var m;if(m===DU.nil){return $ifaceNil;}return m;};AQ=function(m){var m;return((m.kind&32)>>>0)===0;};E.ptr.prototype.object=function(){var m,n,o,p;m=this;if((m.typ.Kind()===17)||(m.typ.Kind()===25)){return m.ptr;}if(!((((m.flag&128)>>>0)===0))){n=m.ptr.$get();if(!(n===$ifaceNil)&&!(n.constructor===BI(m.typ))){switch(0){default:o=m.typ.Kind();if((o===(11))||(o===(6))){n=new(BI(m.typ))(n.$high,n.$low);}else if((o===(15))||(o===(16))){n=new(BI(m.typ))(n.$real,n.$imag);}else if(o===(23)){if(n===n.constructor.nil){n=BI(m.typ).nil;break;}p=new(BI(m.typ))(n.$array);p.$offset=n.$offset;p.$length=n.$length;p.$capacity=n.$capacity;n=p;}}}return n;}return m.ptr;};E.prototype.object=function(){return this.$val.object();};E.ptr.prototype.assignTo=function(m,n,o){var{m,n,o,p,q,r,s,t,u,$s,$r,$c}=$restore(this,{m,n,o});$s=$s||0;s:while(true){switch($s){case 0:p=this;if(!((((p.flag&512)>>>0)===0))){$s=1;continue;}$s=2;continue;case 1:q=DG(m,$clone(p,E));$s=3;case 3:if($c){$c=false;q=q.$blk();}if(q&&q.$blk!==undefined){break s;}E.copy(p,q);case 2:r=AL(n,p.typ);$s=8;case 8:if($c){$c=false;r=r.$blk();}if(r&&r.$blk!==undefined){break s;}if(r){$s=5;continue;}if(AK(n,p.typ)){$s=6;continue;}$s=7;continue;case 5:s=(((p.flag&384)>>>0)|new F(p.flag).ro())>>>0;s=(s|(((n.Kind()>>>0))))>>>0;$s=-1;return new E.ptr(n,p.ptr,s);case 6:if(o===0){o=CJ(n);}t=DD($clone(p,E));$s=9;case 9:if($c){$c=false;t=t.$blk();}if(t&&t.$blk!==undefined){break s;}u=t;if(n.NumMethod()===0){(o).$set(u);}else{DE(n,u,o);}$s=-1;return new E.ptr(n,o,148);case 7:case 4:$panic(new $String(m+": value of type "+p.typ.String()+" is not assignable to type "+n.String()));$s=-1;return new E.ptr(DU.nil,0,0);}return;}var $f={$blk:E.ptr.prototype.assignTo,$c:true,$r,m,n,o,p,q,r,s,t,u,$s};return $f;};E.prototype.assignTo=function(m,n,o){return this.$val.assignTo(m,n,o);};E.ptr.prototype.Cap=function(){var m,n,o;m=this;n=new F(m.flag).kind();o=n;if(o===(17)){return m.typ.Len();}else if((o===(18))||(o===(23))){return $parseInt($clone(m,E).object().$capacity)>>0;}$panic(new I.ptr("reflect.Value.Cap",n));};E.prototype.Cap=function(){return this.$val.Cap();};E.ptr.prototype.Index=function(m){var{aa,ab,ac,ad,ae,af,m,n,o,p,q,r,s,t,u,v,w,x,y,z,$s,$r,$c}=$restore(this,{m});$s=$s||0;s:while(true){switch($s){case 0:m=[m];n=[n];o=[o];p=[p];q=[q];r=[r];s=this;t=new F(s.flag).kind();u=t;if(u===(17)){$s=2;continue;}if(u===(23)){$s=3;continue;}if(u===(24)){$s=4;continue;}$s=5;continue;case 2:v=(s.typ.kindType);if(m[0]<0||m[0]>((v.len>>0))){$panic(new $String("reflect: array index out of range"));}q[0]=v.elem;w=(((((s.flag&384)>>>0)|new F(s.flag).ro())>>>0)|((q[0].Kind()>>>0)))>>>0;n[0]=s.ptr;if(!((((w&128)>>>0)===0))&&!((q[0].Kind()===17))&&!((q[0].Kind()===25))){$s=7;continue;}$s=8;continue;case 7:$s=-1;return new E.ptr(q[0],(new(BI(DL(q[0])))((function(m,n,o,p,q,r){return function(){return DI(q[0],n[0][m[0]]);};})(m,n,o,p,q,r),(function(m,n,o,p,q,r){return function(x){var x;n[0][m[0]]=DJ(q[0],x);};})(m,n,o,p,q,r))),w);case 8:x=BZ(q[0],DI(q[0],n[0][m[0]]),w);$s=9;case 9:if($c){$c=false;x=x.$blk();}if(x&&x.$blk!==undefined){break s;}y=x;$s=10;case 10:return y;case 3:z=$clone(s,E).object();if(m[0]<0||m[0]>=($parseInt(z.$length)>>0)){$panic(new $String("reflect: slice index out of range"));}aa=(s.typ.kindType);r[0]=aa.elem;ab=(((384|new F(s.flag).ro())>>>0)|((r[0].Kind()>>>0)))>>>0;m[0]=m[0]+(($parseInt(z.$offset)>>0))>>0;o[0]=z.$array;if(!((((ab&128)>>>0)===0))&&!((r[0].Kind()===17))&&!((r[0].Kind()===25))){$s=11;continue;}$s=12;continue;case 11:$s=-1;return new E.ptr(r[0],(new(BI(DL(r[0])))((function(m,n,o,p,q,r){return function(){return DI(r[0],o[0][m[0]]);};})(m,n,o,p,q,r),(function(m,n,o,p,q,r){return function(ac){var ac;o[0][m[0]]=DJ(r[0],ac);};})(m,n,o,p,q,r))),ab);case 12:ac=BZ(r[0],DI(r[0],o[0][m[0]]),ab);$s=13;case 13:if($c){$c=false;ac=ac.$blk();}if(ac&&ac.$blk!==undefined){break s;}ad=ac;$s=14;case 14:return ad;case 4:ae=(s.ptr).$get();if(m[0]<0||m[0]>=ae.length){$panic(new $String("reflect: string index out of range"));}af=(((new F(s.flag).ro()|8)>>>0)|128)>>>0;p[0]=ae.charCodeAt(m[0]);$s=-1;return new E.ptr(BD,((p.$ptr||(p.$ptr=new EG(function(){return this.$target[0];},function($v){this.$target[0]=$v;},p)))),af);case 5:$panic(new I.ptr("reflect.Value.Index",t));case 6:case 1:$s=-1;return new E.ptr(DU.nil,0,0);}return;}var $f={$blk:E.ptr.prototype.Index,$c:true,$r,aa,ab,ac,ad,ae,af,m,n,o,p,q,r,s,t,u,v,w,x,y,z,$s};return $f;};E.prototype.Index=function(m){return this.$val.Index(m);};E.ptr.prototype.InterfaceData=function(){var m;m=this;$panic(new $String("InterfaceData is not supported by GopherJS"));};E.prototype.InterfaceData=function(){return this.$val.InterfaceData();};E.ptr.prototype.IsNil=function(){var m,n,o;m=this;n=new F(m.flag).kind();o=n;if((o===(22))||(o===(23))){return $clone(m,E).object()===BI(m.typ).nil;}else if(o===(18)){return $clone(m,E).object()===$chanNil;}else if(o===(19)){return $clone(m,E).object()===$throwNilPointerError;}else if(o===(21)){return $clone(m,E).object()===false;}else if(o===(20)){return $clone(m,E).object()===$ifaceNil;}else if(o===(26)){return $clone(m,E).object()===0;}else{$panic(new I.ptr("reflect.Value.IsNil",n));}};E.prototype.IsNil=function(){return this.$val.IsNil();};E.ptr.prototype.Len=function(){var m,n,o;m=this;n=new F(m.flag).kind();o=n;if((o===(17))||(o===(24))){return $parseInt($clone(m,E).object().length);}else if(o===(23)){return $parseInt($clone(m,E).object().$length)>>0;}else if(o===(18)){return $parseInt($clone(m,E).object().$buffer.length)>>0;}else if(o===(21)){return $parseInt($keys($clone(m,E).object()).length);}else{$panic(new I.ptr("reflect.Value.Len",n));}};E.prototype.Len=function(){return this.$val.Len();};E.ptr.prototype.Pointer=function(){var m,n,o;m=this;n=new F(m.flag).kind();o=n;if((o===(18))||(o===(21))||(o===(22))||(o===(26))){if($clone(m,E).IsNil()){return 0;}return $clone(m,E).object();}else if(o===(19)){if($clone(m,E).IsNil()){return 0;}return 1;}else if(o===(23)){if($clone(m,E).IsNil()){return 0;}return $clone(m,E).object().$array;}else{$panic(new I.ptr("reflect.Value.Pointer",n));}};E.prototype.Pointer=function(){return this.$val.Pointer();};E.ptr.prototype.Set=function(m){var{m,n,o,p,q,$s,$r,$c}=$restore(this,{m});$s=$s||0;s:while(true){switch($s){case 0:n=this;new F(n.flag).mustBeAssignable();new F(m.flag).mustBeExported();o=$clone(m,E).assignTo("reflect.Set",n.typ,0);$s=1;case 1:if($c){$c=false;o=o.$blk();}if(o&&o.$blk!==undefined){break s;}E.copy(m,o);if(!((((n.flag&128)>>>0)===0))){$s=2;continue;}$s=3;continue;case 2:p=n.typ.Kind();if(p===(17)){$s=5;continue;}if(p===(20)){$s=6;continue;}if(p===(25)){$s=7;continue;}$s=8;continue;case 5:BI(n.typ).copy(n.ptr,m.ptr);$s=9;continue;case 6:q=DD($clone(m,E));$s=10;case 10:if($c){$c=false;q=q.$blk();}if(q&&q.$blk!==undefined){break s;}n.ptr.$set(q);$s=9;continue;case 7:BY(n.ptr,m.ptr,n.typ);$s=9;continue;case 8:n.ptr.$set($clone(m,E).object());case 9:case 4:$s=-1;return;case 3:n.ptr=m.ptr;$s=-1;return;}return;}var $f={$blk:E.ptr.prototype.Set,$c:true,$r,m,n,o,p,q,$s};return $f;};E.prototype.Set=function(m){return this.$val.Set(m);};E.ptr.prototype.SetBytes=function(m){var{m,n,o,p,q,r,s,$s,$r,$c}=$restore(this,{m});$s=$s||0;s:while(true){switch($s){case 0:n=this;new F(n.flag).mustBeAssignable();new F(n.flag).mustBe(23);o=n.typ.Elem().Kind();$s=3;case 3:if($c){$c=false;o=o.$blk();}if(o&&o.$blk!==undefined){break s;}if(!((o===8))){$s=1;continue;}$s=2;continue;case 1:$panic(new $String("reflect.Value.SetBytes of non-byte slice"));case 2:p=m;if(!(n.typ.Name()==="")){q=true;$s=6;continue s;}r=n.typ.Elem().Name();$s=7;case 7:if($c){$c=false;r=r.$blk();}if(r&&r.$blk!==undefined){break s;}q=!(r==="");case 6:if(q){$s=4;continue;}$s=5;continue;case 4:s=new(BI(n.typ))(p.$array);s.$offset=p.$offset;s.$length=p.$length;s.$capacity=p.$capacity;p=s;case 5:n.ptr.$set(p);$s=-1;return;}return;}var $f={$blk:E.ptr.prototype.SetBytes,$c:true,$r,m,n,o,p,q,r,s,$s};return $f;};E.prototype.SetBytes=function(m){return this.$val.SetBytes(m);};E.ptr.prototype.SetCap=function(m){var m,n,o,p;n=this;new F(n.flag).mustBeAssignable();new F(n.flag).mustBe(23);o=n.ptr.$get();if(m<($parseInt(o.$length)>>0)||m>($parseInt(o.$capacity)>>0)){$panic(new $String("reflect: slice capacity out of range in SetCap"));}p=new(BI(n.typ))(o.$array);p.$offset=o.$offset;p.$length=o.$length;p.$capacity=m;n.ptr.$set(p);};E.prototype.SetCap=function(m){return this.$val.SetCap(m);};E.ptr.prototype.SetLen=function(m){var m,n,o,p;n=this;new F(n.flag).mustBeAssignable();new F(n.flag).mustBe(23);o=n.ptr.$get();if(m<0||m>($parseInt(o.$capacity)>>0)){$panic(new $String("reflect: slice length out of range in SetLen"));}p=new(BI(n.typ))(o.$array);p.$offset=o.$offset;p.$length=m;p.$capacity=o.$capacity;n.ptr.$set(p);};E.prototype.SetLen=function(m){return this.$val.SetLen(m);};E.ptr.prototype.Slice=function(m,n){var{m,n,o,p,q,r,s,t,u,v,w,x,y,z,$s,$r,$c}=$restore(this,{m,n});$s=$s||0;s:while(true){switch($s){case 0:o=this;p=0;q=$ifaceNil;r=null;s=new F(o.flag).kind();t=s;if(t===(17)){$s=2;continue;}if(t===(23)){$s=3;continue;}if(t===(24)){$s=4;continue;}$s=5;continue;case 2:if(((o.flag&256)>>>0)===0){$panic(new $String("reflect.Value.Slice: slice of unaddressable array"));}u=(o.typ.kindType);p=((u.len>>0));q=CH(u.elem);r=new(BI(q))($clone(o,E).object());$s=6;continue;case 3:q=o.typ;r=$clone(o,E).object();p=$parseInt(r.$capacity)>>0;$s=6;continue;case 4:v=(o.ptr).$get();if(m<0||nv.length){$panic(new $String("reflect.Value.Slice: string slice index out of bounds"));}w=CC(new $String($substring(v,m,n)));$s=7;case 7:if($c){$c=false;w=w.$blk();}if(w&&w.$blk!==undefined){break s;}x=w;$s=8;case 8:return x;case 5:$panic(new I.ptr("reflect.Value.Slice",s));case 6:case 1:if(m<0||np){$panic(new $String("reflect.Value.Slice: slice index out of bounds"));}y=BZ(q,$subslice(r,m,n),new F(o.flag).ro());$s=9;case 9:if($c){$c=false;y=y.$blk();}if(y&&y.$blk!==undefined){break s;}z=y;$s=10;case 10:return z;}return;}var $f={$blk:E.ptr.prototype.Slice,$c:true,$r,m,n,o,p,q,r,s,t,u,v,w,x,y,z,$s};return $f;};E.prototype.Slice=function(m,n){return this.$val.Slice(m,n);};E.ptr.prototype.Slice3=function(m,n,o){var{m,n,o,p,q,r,s,t,u,v,w,x,$s,$r,$c}=$restore(this,{m,n,o});$s=$s||0;s:while(true){switch($s){case 0:p=this;q=0;r=$ifaceNil;s=null;t=new F(p.flag).kind();u=t;if(u===(17)){if(((p.flag&256)>>>0)===0){$panic(new $String("reflect.Value.Slice: slice of unaddressable array"));}v=(p.typ.kindType);q=((v.len>>0));r=CH(v.elem);s=new(BI(r))($clone(p,E).object());}else if(u===(23)){r=p.typ;s=$clone(p,E).object();q=$parseInt(s.$capacity)>>0;}else{$panic(new I.ptr("reflect.Value.Slice3",t));}if(m<0||nq){$panic(new $String("reflect.Value.Slice3: slice index out of bounds"));}w=BZ(r,$subslice(s,m,n,o),new F(p.flag).ro());$s=1;case 1:if($c){$c=false;w=w.$blk();}if(w&&w.$blk!==undefined){break s;}x=w;$s=2;case 2:return x;}return;}var $f={$blk:E.ptr.prototype.Slice3,$c:true,$r,m,n,o,p,q,r,s,t,u,v,w,x,$s};return $f;};E.prototype.Slice3=function(m,n,o){return this.$val.Slice3(m,n,o);};E.ptr.prototype.Close=function(){var m;m=this;new F(m.flag).mustBe(18);new F(m.flag).mustBeExported();$close($clone(m,E).object());};E.prototype.Close=function(){return this.$val.Close();};E.ptr.prototype.Elem=function(){var{m,n,o,p,q,r,s,t,u,v,$s,$r,$c}=$restore(this,{});$s=$s||0;s:while(true){switch($s){case 0:m=this;n=new F(m.flag).kind();o=n;if(o===(20)){$s=2;continue;}if(o===(22)){$s=3;continue;}$s=4;continue;case 2:p=$clone(m,E).object();if(p===$ifaceNil){$s=-1;return new E.ptr(DU.nil,0,0);}q=BJ(p.constructor);r=BZ(q,p.$val,new F(m.flag).ro());$s=6;case 6:if($c){$c=false;r=r.$blk();}if(r&&r.$blk!==undefined){break s;}s=r;$s=7;case 7:return s;case 3:if($clone(m,E).IsNil()){$s=-1;return new E.ptr(DU.nil,0,0);}t=$clone(m,E).object();u=(m.typ.kindType);v=(((((m.flag&96)>>>0)|128)>>>0)|256)>>>0;v=(v|(((u.elem.Kind()>>>0))))>>>0;$s=-1;return new E.ptr(u.elem,(DI(u.elem,t)),v);case 4:$panic(new I.ptr("reflect.Value.Elem",n));case 5:case 1:$s=-1;return new E.ptr(DU.nil,0,0);}return;}var $f={$blk:E.ptr.prototype.Elem,$c:true,$r,m,n,o,p,q,r,s,t,u,v,$s};return $f;};E.prototype.Elem=function(){return this.$val.Elem();};E.ptr.prototype.NumField=function(){var m,n;m=this;new F(m.flag).mustBe(25);n=(m.typ.kindType);return n.fields.$length;};E.prototype.NumField=function(){return this.$val.NumField();};E.ptr.prototype.MapKeys=function(){var{m,n,o,p,q,r,s,t,u,v,w,$s,$r,$c}=$restore(this,{});$s=$s||0;s:while(true){switch($s){case 0:m=this;new F(m.flag).mustBe(21);n=(m.typ.kindType);o=n.key;p=(new F(m.flag).ro()|((o.Kind()>>>0)))>>>0;q=$clone(m,E).pointer();r=0;if(!(q===0)){r=CZ(q);}s=CV(m.typ,q);t=$makeSlice(EF,r);u=0;u=0;case 1:if(!(u=t.$length)?($throwRuntimeError("index out of range"),undefined):t.$array[t.$offset+u]),DM(o,p,w));CY(s);u=u+(1)>>0;$s=1;continue;case 2:$s=-1;return $subslice(t,0,u);}return;}var $f={$blk:E.ptr.prototype.MapKeys,$c:true,$r,m,n,o,p,q,r,s,t,u,v,w,$s};return $f;};E.prototype.MapKeys=function(){return this.$val.MapKeys();};E.ptr.prototype.MapIndex=function(m){var{m,n,o,p,q,r,s,t,$s,$r,$c}=$restore(this,{m});$s=$s||0;s:while(true){switch($s){case 0:n=this;new F(n.flag).mustBe(21);o=(n.typ.kindType);p=$clone(m,E).assignTo("reflect.Value.MapIndex",o.key,0);$s=1;case 1:if($c){$c=false;p=p.$blk();}if(p&&p.$blk!==undefined){break s;}E.copy(m,p);q=0;if(!((((m.flag&128)>>>0)===0))){q=m.ptr;}else{q=((m.$ptr_ptr||(m.$ptr_ptr=new EH(function(){return this.$target.ptr;},function($v){this.$target.ptr=$v;},m))));}r=CR(n.typ,$clone(n,E).pointer(),q);if(r===0){$s=-1;return new E.ptr(DU.nil,0,0);}s=o.elem;t=new F((((n.flag|m.flag)>>>0))).ro();t=(t|(((s.Kind()>>>0))))>>>0;$s=-1;return DM(s,t,r);}return;}var $f={$blk:E.ptr.prototype.MapIndex,$c:true,$r,m,n,o,p,q,r,s,t,$s};return $f;};E.prototype.MapIndex=function(m){return this.$val.MapIndex(m);};E.ptr.prototype.Field=function(m){var{aa,ab,ac,m,n,o,p,q,r,s,t,u,v,w,x,y,z,$s,$r,$c}=$restore(this,{m});$s=$s||0;s:while(true){switch($s){case 0:n=[n];o=[o];p=[p];q=[q];r=this;if(!((new F(r.flag).kind()===25))){$panic(new I.ptr("reflect.Value.Field",new F(r.flag).kind()));}s=(r.typ.kindType);if(((m>>>0))>=((s.fields.$length>>>0))){$panic(new $String("reflect: Field index out of range"));}o[0]=$internalize(BI(r.typ).fields[m].prop,$String);u=(t=s.fields,((m<0||m>=t.$length)?($throwRuntimeError("index out of range"),undefined):t.$array[t.$offset+m]));q[0]=u.typ;v=(((r.flag&416)>>>0)|((q[0].Kind()>>>0)))>>>0;if(!$clone(u.name,BO).isExported()){if(u.embedded()){v=(v|(64))>>>0;}else{v=(v|(32))>>>0;}}x=$clone((w=s.fields,((m<0||m>=w.$length)?($throwRuntimeError("index out of range"),undefined):w.$array[w.$offset+m])).name,BO).tag();if(!(x==="")&&!((m===0))){$s=1;continue;}$s=2;continue;case 1:n[0]=DK(x);if(!(n[0]==="")){$s=3;continue;}$s=4;continue;case 3:case 5:y=[y];z=$clone(r,E).Field(0);$s=7;case 7:if($c){$c=false;z=z.$blk();}if(z&&z.$blk!==undefined){break s;}E.copy(r,z);if(r.typ===DH){$s=8;continue;}$s=9;continue;case 8:y[0]=$clone(r,E).object().object;$s=-1;return new E.ptr(q[0],(new(BI(DL(q[0])))((function(n,o,p,q,y){return function(){return $internalize(y[0][$externalize(n[0],$String)],BI(q[0]));};})(n,o,p,q,y),(function(n,o,p,q,y){return function(aa){var aa;y[0][$externalize(n[0],$String)]=$externalize(aa,BI(q[0]));};})(n,o,p,q,y))),v);case 9:if(r.typ.Kind()===22){$s=10;continue;}$s=11;continue;case 10:aa=$clone(r,E).Elem();$s=12;case 12:if($c){$c=false;aa=aa.$blk();}if(aa&&aa.$blk!==undefined){break s;}E.copy(r,aa);case 11:$s=5;continue;case 6:case 4:case 2:p[0]=r.ptr;if(!((((v&128)>>>0)===0))&&!((q[0].Kind()===17))&&!((q[0].Kind()===25))){$s=13;continue;}$s=14;continue;case 13:$s=-1;return new E.ptr(q[0],(new(BI(DL(q[0])))((function(n,o,p,q){return function(){return DI(q[0],p[0][$externalize(o[0],$String)]);};})(n,o,p,q),(function(n,o,p,q){return function(ab){var ab;p[0][$externalize(o[0],$String)]=DJ(q[0],ab);};})(n,o,p,q))),v);case 14:ab=BZ(q[0],DI(q[0],p[0][$externalize(o[0],$String)]),v);$s=15;case 15:if($c){$c=false;ab=ab.$blk();}if(ab&&ab.$blk!==undefined){break s;}ac=ab;$s=16;case 16:return ac;}return;}var $f={$blk:E.ptr.prototype.Field,$c:true,$r,aa,ab,ac,m,n,o,p,q,r,s,t,u,v,w,x,y,z,$s};return $f;};E.prototype.Field=function(m){return this.$val.Field(m);};AT.ptr.prototype.Error=function(){var m;m=this;return m.s;};AT.prototype.Error=function(){return this.$val.Error();};AU=function(m){var m;if(m.length<2){return[m,$ifaceNil];}if((m.charCodeAt(0)===39)||(m.charCodeAt(0)===34)){if(m.charCodeAt((m.length-1>>0))===m.charCodeAt(0)){return[$substring(m,1,(m.length-1>>0)),$ifaceNil];}return["",$pkg.ErrSyntax];}return[m,$ifaceNil];};F.prototype.mustBe=function(m){var m,n;n=this.$val;if(!((((((n&31)>>>0)>>>0))===m))){$panic(new I.ptr(DF(),new F(n).kind()));}};$ptrType(F).prototype.mustBe=function(m){return new F(this.$get()).mustBe(m);};R.ptr.prototype.Comparable=function(){var{m,n,o,p,q,r,s,$s,$r,$c}=$restore(this,{});$s=$s||0;s:while(true){switch($s){case 0:m=this;n=m.Kind();if((n===(19))||(n===(23))||(n===(21))){$s=2;continue;}if(n===(17)){$s=3;continue;}if(n===(25)){$s=4;continue;}$s=5;continue;case 2:$s=-1;return false;case 3:o=m.Elem().Comparable();$s=6;case 6:if($c){$c=false;o=o.$blk();}if(o&&o.$blk!==undefined){break s;}p=o;$s=7;case 7:return p;case 4:q=0;case 8:if(!(q>0;$s=8;continue;case 9:case 5:case 1:$s=-1;return true;}return;}var $f={$blk:R.ptr.prototype.Comparable,$c:true,$r,m,n,o,p,q,r,s,$s};return $f;};R.prototype.Comparable=function(){return this.$val.Comparable();};R.ptr.prototype.IsVariadic=function(){var m,n;m=this;if(!((m.Kind()===19))){$panic(new $String("reflect: IsVariadic of non-func type"));}n=(m.kindType);return!((((n.outCount&32768)>>>0)===0));};R.prototype.IsVariadic=function(){return this.$val.IsVariadic();};R.ptr.prototype.Field=function(m){var m,n,o,p;n=this;if(!((n.Kind()===25))){$panic(new $String("reflect: Field of non-struct type"));}o=(n.kindType);if(m<0||m>=o.fields.$length){$panic(new $String("reflect: Field index out of bounds"));}return(p=o.fields,((m<0||m>=p.$length)?($throwRuntimeError("index out of range"),undefined):p.$array[p.$offset+m]));};R.prototype.Field=function(m){return this.$val.Field(m);};R.ptr.prototype.Key=function(){var m,n;m=this;if(!((m.Kind()===21))){$panic(new $String("reflect: Key of non-map type"));}n=(m.kindType);return AP(n.key);};R.prototype.Key=function(){return this.$val.Key();};R.ptr.prototype.NumField=function(){var m,n;m=this;if(!((m.Kind()===25))){$panic(new $String("reflect: NumField of non-struct type"));}n=(m.kindType);return n.fields.$length;};R.prototype.NumField=function(){return this.$val.NumField();};R.ptr.prototype.Method=function(m){var{aa,ab,ac,ad,ae,af,ag,ah,ai,aj,m,n,o,p,q,r,s,t,u,v,w,x,y,z,$s,$r,$c}=$restore(this,{m});$s=$s||0;s:while(true){switch($s){case 0:n=[n];o=new AV.ptr("","",$ifaceNil,new E.ptr(DU.nil,0,0),0);p=this;if(p.Kind()===20){$s=1;continue;}$s=2;continue;case 1:q=(p.kindType);r=q.rtype.Method(m);$s=3;case 3:if($c){$c=false;r=r.$blk();}if(r&&r.$blk!==undefined){break s;}AV.copy(o,r);s=o;$s=4;case 4:return s;case 2:t=p.exportedMethods();if(m<0||m>=t.$length){$panic(new $String("reflect: Method index out of range"));}u=$clone(((m<0||m>=t.$length)?($throwRuntimeError("index out of range"),undefined):t.$array[t.$offset+m]),S);v=$clone(p.nameOff(u.name),BO);o.Name=$clone(v,BO).name();w=19;x=p.typeOff(u.mtyp);y=(x.kindType);z=$makeSlice(EI,0,(1+y.in$().$length>>0));z=$append(z,p);aa=y.in$();ab=0;while(true){if(!(ab=aa.$length)?($throwRuntimeError("index out of range"),undefined):aa.$array[aa.$offset+ab]);z=$append(z,ac);ab++;}ad=$makeSlice(EI,0,y.out().$length);ae=y.out();af=0;while(true){if(!(af=ae.$length)?($throwRuntimeError("index out of range"),undefined):ae.$array[ae.$offset+af]);ad=$append(ad,ag);af++;}ah=CF(z,ad,y.rtype.IsVariadic());$s=5;case 5:if($c){$c=false;ah=ah.$blk();}if(ah&&ah.$blk!==undefined){break s;}ai=ah;o.Type=ai;n[0]=$internalize($methodSet(p[$externalize(BE,$String)])[m].prop,$String);aj=D.MakeFunc((function(n){return function(aj,ak){var aj,ak,al;al=(0>=ak.$length?($throwRuntimeError("index out of range"),undefined):ak.$array[ak.$offset+0]);return new $jsObjectPtr(al[$externalize(n[0],$String)].apply(al,$externalize($subslice(ak,1),EJ)));};})(n));E.copy(o.Func,new E.ptr($assertType(ai,DU),(aj),w));o.Index=m;AV.copy(o,o);$s=-1;return o;}return;}var $f={$blk:R.ptr.prototype.Method,$c:true,$r,aa,ab,ac,ad,ae,af,ag,ah,ai,aj,m,n,o,p,q,r,s,t,u,v,w,x,y,z,$s};return $f;};R.prototype.Method=function(m){return this.$val.Method(m);};BA=function(m){var{m,n,o,p,q,r,s,$s,$r,$c}=$restore(this,{m});$s=$s||0;s:while(true){switch($s){case 0:n=[n];o=[o];p=[p];q=CC(m);$s=1;case 1:if($c){$c=false;q=q.$blk();}if(q&&q.$blk!==undefined){break s;}r=$clone(q,E);if(!(($clone(r,E).Kind()===23))){$panic(new I.ptr("Swapper",$clone(r,E).Kind()));}p[0]=(($clone(r,E).Len()>>>0));s=p[0];if(s===(0)){$s=-1;return(function(n,o,p){return function(t,u){var t,u;$panic(new $String("reflect: slice index out of range"));};})(n,o,p);}else if(s===(1)){$s=-1;return(function(n,o,p){return function(t,u){var t,u;if(!((t===0))||!((u===0))){$panic(new $String("reflect: slice index out of range"));}};})(n,o,p);}n[0]=m.$array;o[0]=$parseInt(m.$offset)>>0;$s=-1;return(function(n,o,p){return function(t,u){var t,u,v;if(((t>>>0))>=p[0]||((u>>>0))>=p[0]){$panic(new $String("reflect: slice index out of range"));}t=t+(o[0])>>0;u=u+(o[0])>>0;v=n[0][t];n[0][t]=n[0][u];n[0][u]=v;};})(n,o,p);}return;}var $f={$blk:BA,$c:true,$r,m,n,o,p,q,r,s,$s};return $f;};$pkg.Swapper=BA;BC=function(){var{m,n,o,p,q,r,s,t,u,v,w,x,y,z,$s,$r,$c}=$restore(this,{});$s=$s||0;s:while(true){switch($s){case 0:m=(function(m){var m;});$r=m((n=new R.ptr(0,0,0,0,0,0,0,$throwNilPointerError,EG.nil,0,0),new n.constructor.elem(n)));$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=m((o=new BL.ptr(0,0,0,0,ED.nil),new o.constructor.elem(o)));$s=2;case 2:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=m((p=new S.ptr(0,0,0,0),new p.constructor.elem(p)));$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=m((q=new U.ptr(new R.ptr(0,0,0,0,0,0,0,$throwNilPointerError,EG.nil,0,0),DU.nil,DU.nil,0),new q.constructor.elem(q)));$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=m((r=new V.ptr(new R.ptr(0,0,0,0,0,0,0,$throwNilPointerError,EG.nil,0,0),DU.nil,0),new r.constructor.elem(r)));$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=m((s=new BN.ptr(new R.ptr(0,0,0,0,0,0,0,$throwNilPointerError,EG.nil,0,0),0,0,DW.nil,DW.nil),new s.constructor.elem(s)));$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=m((t=new X.ptr(new R.ptr(0,0,0,0,0,0,0,$throwNilPointerError,EG.nil,0,0),new BO.ptr(EG.nil),EK.nil),new t.constructor.elem(t)));$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=m((u=new Y.ptr(new R.ptr(0,0,0,0,0,0,0,$throwNilPointerError,EG.nil,0,0),DU.nil,DU.nil,DU.nil,$throwNilPointerError,0,0,0,0),new u.constructor.elem(u)));$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=m((v=new Z.ptr(new R.ptr(0,0,0,0,0,0,0,$throwNilPointerError,EG.nil,0,0),DU.nil),new v.constructor.elem(v)));$s=9;case 9:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=m((w=new AA.ptr(new R.ptr(0,0,0,0,0,0,0,$throwNilPointerError,EG.nil,0,0),DU.nil),new w.constructor.elem(w)));$s=10;case 10:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=m((x=new AC.ptr(new R.ptr(0,0,0,0,0,0,0,$throwNilPointerError,EG.nil,0,0),new BO.ptr(EG.nil),EL.nil),new x.constructor.elem(x)));$s=11;case 11:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=m((y=new W.ptr(0,0),new y.constructor.elem(y)));$s=12;case 12:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=m((z=new AB.ptr(new BO.ptr(EG.nil),DU.nil,0),new z.constructor.elem(z)));$s=13;case 13:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}BB=true;BD=$assertType(CB(new $Uint8(0)),DU);$s=-1;return;}return;}var $f={$blk:BC,$c:true,$r,m,n,o,p,q,r,s,t,u,v,w,x,y,z,$s};return $f;};BI=function(m){var m;return m[$externalize(BE,$String)];};BJ=function(m){var aa,ab,ac,ad,ae,af,ag,ah,ai,aj,ak,al,am,an,ao,ap,aq,ar,as,at,au,av,aw,ax,ay,m,n,o,p,q,r,s,t,u,v,w,x,y,z;if(m[$externalize(BF,$String)]===undefined){n=new R.ptr(((($parseInt(m.size)>>0)>>>0)),0,0,0,0,0,((($parseInt(m.kind)>>0)<<24>>>24)),$throwNilPointerError,EG.nil,BT($clone(BR(BW(m.string),"",!!(m.exported)),BO)),0);n[$externalize(BE,$String)]=m;m[$externalize(BF,$String)]=n;o=$methodSet(m);if(!(($parseInt(o.length)===0))||!!(m.named)){n.tflag=(n.tflag|(1))>>>0;if(!!(m.named)){n.tflag=(n.tflag|(4))>>>0;}p=ED.nil;q=0;while(true){if(!(q<$parseInt(o.length))){break;}r=o[q];s=BW(r.pkg)==="";if(!s){q=q+(1)>>0;continue;}p=$append(p,new S.ptr(BT($clone(BR(BW(r.name),"",s),BO)),BV(BJ(r.typ)),0,0));q=q+(1)>>0;}t=((p.$length<<16>>>16));u=0;while(true){if(!(u<$parseInt(o.length))){break;}v=o[u];w=BW(v.pkg)==="";if(w){u=u+(1)>>0;continue;}p=$append(p,new S.ptr(BT($clone(BR(BW(v.name),"",w),BO)),BV(BJ(v.typ)),0,0));u=u+(1)>>0;}x=new BL.ptr(BT($clone(BR(BW(m.pkg),"",false),BO)),(($parseInt(o.length)<<16>>>16)),t,0,p);y=n;(BM||$throwRuntimeError("assignment to entry in nil map"))[DU.keyFor(y)]={k:y,v:x};x[$externalize(BE,$String)]=m;}z=n.Kind();if(z===(17)){BK(n,new U.ptr(new R.ptr(0,0,0,0,0,0,0,$throwNilPointerError,EG.nil,0,0),BJ(m.elem),DU.nil,((($parseInt(m.len)>>0)>>>0))));}else if(z===(18)){aa=3;if(!!(m.sendOnly)){aa=2;}if(!!(m.recvOnly)){aa=1;}BK(n,new V.ptr(new R.ptr(0,0,0,0,0,0,0,$throwNilPointerError,EG.nil,0,0),BJ(m.elem),((aa>>>0))));}else if(z===(19)){ab=m.params;ac=$makeSlice(DW,$parseInt(ab.length));ad=ac;ae=0;while(true){if(!(ae=ac.$length)?($throwRuntimeError("index out of range"),undefined):ac.$array[ac.$offset+af]=BJ(ab[af]));ae++;}ag=m.results;ah=$makeSlice(DW,$parseInt(ag.length));ai=ah;aj=0;while(true){if(!(aj=ah.$length)?($throwRuntimeError("index out of range"),undefined):ah.$array[ah.$offset+ak]=BJ(ag[ak]));aj++;}al=(($parseInt(ag.length)<<16>>>16));if(!!(m.variadic)){al=(al|(32768))>>>0;}BK(n,new BN.ptr($clone(n,R),(($parseInt(ab.length)<<16>>>16)),al,ac,ah));}else if(z===(20)){am=m.methods;an=$makeSlice(EK,$parseInt(am.length));ao=an;ap=0;while(true){if(!(ap=an.$length)?($throwRuntimeError("index out of range"),undefined):an.$array[an.$offset+aq]),new W.ptr(BT($clone(BR(BW(ar.name),"",BW(ar.pkg)===""),BO)),BV(BJ(ar.typ))));ap++;}BK(n,new X.ptr($clone(n,R),$clone(BR(BW(m.pkg),"",false),BO),an));}else if(z===(21)){BK(n,new Y.ptr(new R.ptr(0,0,0,0,0,0,0,$throwNilPointerError,EG.nil,0,0),BJ(m.key),BJ(m.elem),DU.nil,$throwNilPointerError,0,0,0,0));}else if(z===(22)){BK(n,new Z.ptr(new R.ptr(0,0,0,0,0,0,0,$throwNilPointerError,EG.nil,0,0),BJ(m.elem)));}else if(z===(23)){BK(n,new AA.ptr(new R.ptr(0,0,0,0,0,0,0,$throwNilPointerError,EG.nil,0,0),BJ(m.elem)));}else if(z===(25)){as=m.fields;at=$makeSlice(EL,$parseInt(as.length));au=at;av=0;while(true){if(!(av>>0))<<1>>>0;if(!!(ax.embedded)){ay=(ay|(1))>>>0;}AB.copy(((aw<0||aw>=at.$length)?($throwRuntimeError("index out of range"),undefined):at.$array[at.$offset+aw]),new AB.ptr($clone(BR(BW(ax.name),BW(ax.tag),!!(ax.exported)),BO),BJ(ax.typ),ay));av++;}BK(n,new AC.ptr($clone(n,R),$clone(BR(BW(m.pkgPath),"",false),BO),at));}}return((m[$externalize(BF,$String)]));};BK=function(m,n){var m,n;m[$externalize(BG,$String)]=n;n[$externalize(BH,$String)]=m;};BL.ptr.prototype.methods=function(){var m;m=this;return m._methods;};BL.prototype.methods=function(){return this.$val.methods();};BL.ptr.prototype.exportedMethods=function(){var m;m=this;return $subslice(m._methods,0,m.xcount,m.xcount);};BL.prototype.exportedMethods=function(){return this.$val.exportedMethods();};R.ptr.prototype.uncommon=function(){var m,n;m=this;return(n=BM[DU.keyFor(m)],n!==undefined?n.v:EC.nil);};R.prototype.uncommon=function(){return this.$val.uncommon();};BN.ptr.prototype.in$=function(){var m;m=this;return m._in;};BN.prototype.in$=function(){return this.$val.in$();};BN.ptr.prototype.out=function(){var m;m=this;return m._out;};BN.prototype.out=function(){return this.$val.out();};BO.ptr.prototype.name=function(){var m,n,o;m="";n=this;m=(o=BQ[EG.keyFor(n.bytes)],o!==undefined?o.v:EM.nil).name;return m;};BO.prototype.name=function(){return this.$val.name();};BO.ptr.prototype.tag=function(){var m,n,o;m="";n=this;m=(o=BQ[EG.keyFor(n.bytes)],o!==undefined?o.v:EM.nil).tag;return m;};BO.prototype.tag=function(){return this.$val.tag();};BO.ptr.prototype.pkgPath=function(){var m;m=this;return"";};BO.prototype.pkgPath=function(){return this.$val.pkgPath();};BO.ptr.prototype.isExported=function(){var m,n;m=this;return(n=BQ[EG.keyFor(m.bytes)],n!==undefined?n.v:EM.nil).exported;};BO.prototype.isExported=function(){return this.$val.isExported();};BR=function(m,n,o){var m,n,o,p,q;p=$newDataPointer(0,EG);q=p;(BQ||$throwRuntimeError("assignment to entry in nil map"))[EG.keyFor(q)]={k:q,v:new BP.ptr(m,n,o)};return new BO.ptr(p);};R.ptr.prototype.nameOff=function(m){var m,n,o;n=this;return(o=((m>>0)),((o<0||o>=BS.$length)?($throwRuntimeError("index out of range"),undefined):BS.$array[BS.$offset+o]));};R.prototype.nameOff=function(m){return this.$val.nameOff(m);};BT=function(m){var m,n;n=BS.$length;BS=$append(BS,m);return((n>>0));};R.ptr.prototype.typeOff=function(m){var m,n,o;n=this;return(o=((m>>0)),((o<0||o>=BU.$length)?($throwRuntimeError("index out of range"),undefined):BU.$array[BU.$offset+o]));};R.prototype.typeOff=function(m){return this.$val.typeOff(m);};BV=function(m){var m,n;n=BU.$length;BU=$append(BU,m);return((n>>0));};BW=function(m){var m,n;n=new EN.ptr("");n.str=m;return n.str;};BX=function(m){var m;return!!(BI(m).wrapped);};BY=function(m,n,o){var m,n,o,p,q,r;p=BI(o).fields;q=0;while(true){if(!(q<$parseInt(p.length))){break;}r=$internalize(p[q].prop,$String);m[$externalize(r,$String)]=n[$externalize(r,$String)];q=q+(1)>>0;}};BZ=function(m,n,o){var{m,n,o,p,q,r,s,t,u,v,w,x,y,z,$s,$r,$c}=$restore(this,{m,n,o});$s=$s||0;s:while(true){switch($s){case 0:p=m.common();$s=1;case 1:if($c){$c=false;p=p.$blk();}if(p&&p.$blk!==undefined){break s;}q=p;t=m.Kind();$s=6;case 6:if($c){$c=false;t=t.$blk();}if(t&&t.$blk!==undefined){break s;}if(t===17){s=true;$s=5;continue s;}u=m.Kind();$s=7;case 7:if($c){$c=false;u=u.$blk();}if(u&&u.$blk!==undefined){break s;}s=u===25;case 5:if(s){r=true;$s=4;continue s;}v=m.Kind();$s=8;case 8:if($c){$c=false;v=v.$blk();}if(v&&v.$blk!==undefined){break s;}r=v===22;case 4:if(r){$s=2;continue;}$s=3;continue;case 2:w=m.Kind();$s=9;case 9:if($c){$c=false;w=w.$blk();}if(w&&w.$blk!==undefined){break s;}x=new E.ptr(q,(n),(o|((w>>>0)))>>>0);$s=10;case 10:return x;case 3:y=m.Kind();$s=11;case 11:if($c){$c=false;y=y.$blk();}if(y&&y.$blk!==undefined){break s;}z=new E.ptr(q,($newDataPointer(n,BI(q.ptrTo()))),(((o|((y>>>0)))>>>0)|128)>>>0);$s=12;case 12:return z;}return;}var $f={$blk:BZ,$c:true,$r,m,n,o,p,q,r,s,t,u,v,w,x,y,z,$s};return $f;};CB=function(m){var m;if(!BB){return new R.ptr(0,0,0,0,0,0,0,$throwNilPointerError,EG.nil,0,0);}if($interfaceIsEqual(m,$ifaceNil)){return $ifaceNil;}return BJ(m.constructor);};$pkg.TypeOf=CB;CC=function(m){var{m,n,o,$s,$r,$c}=$restore(this,{m});$s=$s||0;s:while(true){switch($s){case 0:if($interfaceIsEqual(m,$ifaceNil)){$s=-1;return new E.ptr(DU.nil,0,0);}n=BZ(BJ(m.constructor),m.$val,0);$s=1;case 1:if($c){$c=false;n=n.$blk();}if(n&&n.$blk!==undefined){break s;}o=n;$s=2;case 2:return o;}return;}var $f={$blk:CC,$c:true,$r,m,n,o,$s};return $f;};$pkg.ValueOf=CC;CF=function(m,n,o){var{aa,ab,ac,m,n,o,p,q,r,s,t,u,v,w,x,y,z,$s,$r,$c}=$restore(this,{m,n,o});$s=$s||0;s:while(true){switch($s){case 0:if(!(o)){p=false;$s=3;continue s;}if(m.$length===0){q=true;$s=4;continue s;}s=(r=m.$length-1>>0,((r<0||r>=m.$length)?($throwRuntimeError("index out of range"),undefined):m.$array[m.$offset+r])).Kind();$s=5;case 5:if($c){$c=false;s=s.$blk();}if(s&&s.$blk!==undefined){break s;}q=!((s===23));case 4:p=q;case 3:if(p){$s=1;continue;}$s=2;continue;case 1:$panic(new $String("reflect.FuncOf: last arg of variadic func must be slice"));case 2:t=$makeSlice(EJ,m.$length);u=m;v=0;while(true){if(!(v=u.$length)?($throwRuntimeError("index out of range"),undefined):u.$array[u.$offset+v]);((w<0||w>=t.$length)?($throwRuntimeError("index out of range"),undefined):t.$array[t.$offset+w]=BI(x));v++;}y=$makeSlice(EJ,n.$length);z=n;aa=0;while(true){if(!(aa=z.$length)?($throwRuntimeError("index out of range"),undefined):z.$array[z.$offset+aa]);((ab<0||ab>=y.$length)?($throwRuntimeError("index out of range"),undefined):y.$array[y.$offset+ab]=BI(ac));aa++;}$s=-1;return BJ($funcType($externalize(t,EJ),$externalize(y,EJ),$externalize(o,$Bool)));}return;}var $f={$blk:CF,$c:true,$r,aa,ab,ac,m,n,o,p,q,r,s,t,u,v,w,x,y,z,$s};return $f;};$pkg.FuncOf=CF;R.ptr.prototype.ptrTo=function(){var m;m=this;return BJ($ptrType(BI(m)));};R.prototype.ptrTo=function(){return this.$val.ptrTo();};CH=function(m){var m;return BJ($sliceType(BI(m)));};$pkg.SliceOf=CH;CJ=function(m){var m,n;n=m.Kind();if(n===(25)){return(new(BI(m).ptr)());}else if(n===(17)){return(BI(m).zero());}else{return($newDataPointer(BI(m).zero(),BI(m.ptrTo())));}};CM=function(m,n,o){var m,n,o;n.$set(o.$get());};CQ=function(m,n){var m,n,o,p;o=n;if(!(o.$get===undefined)){o=o.$get();}p=$internalize(BI(m.Key()).keyFor(o),$String);return[o,p];};CR=function(m,n,o){var m,n,o,p,q,r;p=CQ(m,o);q=p[1];r=n[$externalize(q,$String)];if(r===undefined){return 0;}return($newDataPointer(r.v,BI(DL(m.Elem()))));};CU.ptr.prototype.skipUntilValidKey=function(){var m,n;m=this;while(true){if(!(m.i<$parseInt(m.keys.length))){break;}n=m.keys[m.i];if(!(m.m[$externalize($internalize(n,$String),$String)]===undefined)){break;}m.i=m.i+(1)>>0;}};CU.prototype.skipUntilValidKey=function(){return this.$val.skipUntilValidKey();};CV=function(m,n){var m,n;return(new CU.ptr(m,n,$keys(n),0,null));};CX=function(m){var{m,n,o,p,q,r,s,t,$s,$r,$c}=$restore(this,{m});$s=$s||0;s:while(true){switch($s){case 0:n=($pointerOfStructConversion(m,EO));o=null;if(!(n.last===null)){o=n.last;}else{n.skipUntilValidKey();if(n.i===$parseInt(n.keys.length)){$s=-1;return 0;}p=n.keys[n.i];o=n.m[$externalize($internalize(p,$String),$String)];n.last=o;}q=$assertType(n.t,CW).Key();$s=1;case 1:if($c){$c=false;q=q.$blk();}if(q&&q.$blk!==undefined){break s;}r=DL(q);$s=2;case 2:if($c){$c=false;r=r.$blk();}if(r&&r.$blk!==undefined){break s;}s=BI(r);$s=3;case 3:if($c){$c=false;s=s.$blk();}if(s&&s.$blk!==undefined){break s;}t=($newDataPointer(o.k,s));$s=4;case 4:return t;}return;}var $f={$blk:CX,$c:true,$r,m,n,o,p,q,r,s,t,$s};return $f;};CY=function(m){var m,n;n=($pointerOfStructConversion(m,EO));n.last=null;n.i=n.i+(1)>>0;};CZ=function(m){var m;return $parseInt($keys(m).length);};DC=function(m,n,o){var m,n,o,p,q,r,s,t,u,v,w,x,y;p=DU.nil;q=EE.nil;r=0;s="";if(n.typ.Kind()===20){t=(n.typ.kindType);if(o<0||o>=t.methods.$length){$panic(new $String("reflect: internal error: invalid method index"));}v=(u=t.methods,((o<0||o>=u.$length)?($throwRuntimeError("index out of range"),undefined):u.$array[u.$offset+o]));if(!$clone(t.rtype.nameOff(v.name),BO).isExported()){$panic(new $String("reflect: "+m+" of unexported method"));}q=(t.rtype.typeOff(v.typ).kindType);s=$clone(t.rtype.nameOff(v.name),BO).name();}else{w=n.typ.exportedMethods();if(((o>>>0))>=((w.$length>>>0))){$panic(new $String("reflect: internal error: invalid method index"));}x=$clone(((o<0||o>=w.$length)?($throwRuntimeError("index out of range"),undefined):w.$array[w.$offset+o]),S);if(!$clone(n.typ.nameOff(x.name),BO).isExported()){$panic(new $String("reflect: "+m+" of unexported method"));}q=(n.typ.typeOff(x.mtyp).kindType);s=$internalize($methodSet(BI(n.typ))[o].prop,$String);}y=$clone(n,E).object();if(BX(n.typ)){y=new(BI(n.typ))(y);}r=(y[$externalize(s,$String)]);return[p,q,r];};DD=function(m){var{m,n,$s,$r,$c}=$restore(this,{m});$s=$s||0;s:while(true){switch($s){case 0:if(m.flag===0){$panic(new I.ptr("reflect.Value.Interface",0));}if(!((((m.flag&512)>>>0)===0))){$s=1;continue;}$s=2;continue;case 1:n=DG("Interface",$clone(m,E));$s=3;case 3:if($c){$c=false;n=n.$blk();}if(n&&n.$blk!==undefined){break s;}E.copy(m,n);case 2:if(BX(m.typ)){$s=-1;return((new(BI(m.typ))($clone(m,E).object())));}$s=-1;return(($clone(m,E).object()));}return;}var $f={$blk:DD,$c:true,$r,m,n,$s};return $f;};DE=function(m,n,o){var m,n,o;o.$set(n);};DF=function(){return"?FIXME?";};DG=function(m,n){var{m,n,o,p,q,r,s,t,$s,$r,$c}=$restore(this,{m,n});$s=$s||0;s:while(true){switch($s){case 0:o=[o];p=[p];if(((n.flag&512)>>>0)===0){$panic(new $String("reflect: internal error: invalid use of makePartialFunc"));}q=DC(m,$clone(n,E),((n.flag>>0))>>10>>0);o[0]=q[2];p[0]=$clone(n,E).object();if(BX(n.typ)){p[0]=new(BI(n.typ))(p[0]);}r=D.MakeFunc((function(o,p){return function(r,s){var r,s;return new $jsObjectPtr(o[0].apply(p[0],$externalize(s,EJ)));};})(o,p));s=$clone(n,E).Type().common();$s=1;case 1:if($c){$c=false;s=s.$blk();}if(s&&s.$blk!==undefined){break s;}t=new E.ptr(s,(r),(new F(n.flag).ro()|19)>>>0);$s=2;case 2:return t;}return;}var $f={$blk:DG,$c:true,$r,m,n,o,p,q,r,s,t,$s};return $f;};DI=function(m,n){var m,n;if($interfaceIsEqual(m,DH)){return new(BI(DH))(n);}return n;};DJ=function(m,n){var m,n;if($interfaceIsEqual(m,DH)){return n.object;}return n;};DK=function(m){var m,n,o,p,q,r;while(true){if(!(!(m===""))){break;}n=0;while(true){if(!(n>0;}m=$substring(m,n);if(m===""){break;}n=0;while(true){if(!(n>0;}if((n+1>>0)>=m.length||!((m.charCodeAt(n)===58))||!((m.charCodeAt((n+1>>0))===34))){break;}o=($substring(m,0,n));m=$substring(m,(n+1>>0));n=1;while(true){if(!(n>0;}n=n+(1)>>0;}if(n>=m.length){break;}p=($substring(m,0,(n+1>>0)));m=$substring(m,(n+1>>0));if(o==="js"){q=AU(p);r=q[0];return r;}}return"";};DL=function(m){var m;return $assertType(m,DU).ptrTo();};$pkg.PtrTo=DL;DM=function(m,n,o){var m,n,o,p;if(AQ(m)){p=CJ(m);CM(m,p,o);return new E.ptr(m,p,(n|128)>>>0);}return new E.ptr(m,(o).$get(),n);};E.methods=[{prop:"pointer",name:"pointer",pkg:"internal/reflectlite",typ:$funcType([],[$UnsafePointer],false)},{prop:"CanSet",name:"CanSet",pkg:"",typ:$funcType([],[$Bool],false)},{prop:"IsValid",name:"IsValid",pkg:"",typ:$funcType([],[$Bool],false)},{prop:"Kind",name:"Kind",pkg:"",typ:$funcType([],[P],false)},{prop:"numMethod",name:"numMethod",pkg:"internal/reflectlite",typ:$funcType([],[$Int],false)},{prop:"Type",name:"Type",pkg:"",typ:$funcType([],[O],false)},{prop:"object",name:"object",pkg:"internal/reflectlite",typ:$funcType([],[DZ],false)},{prop:"assignTo",name:"assignTo",pkg:"internal/reflectlite",typ:$funcType([$String,DU,$UnsafePointer],[E],false)},{prop:"call",name:"call",pkg:"internal/reflectlite",typ:$funcType([$String,EF],[EF],false)},{prop:"Cap",name:"Cap",pkg:"",typ:$funcType([],[$Int],false)},{prop:"Index",name:"Index",pkg:"",typ:$funcType([$Int],[E],false)},{prop:"InterfaceData",name:"InterfaceData",pkg:"",typ:$funcType([],[ES],false)},{prop:"IsNil",name:"IsNil",pkg:"",typ:$funcType([],[$Bool],false)},{prop:"Len",name:"Len",pkg:"",typ:$funcType([],[$Int],false)},{prop:"Pointer",name:"Pointer",pkg:"",typ:$funcType([],[$Uintptr],false)},{prop:"Set",name:"Set",pkg:"",typ:$funcType([E],[],false)},{prop:"SetBytes",name:"SetBytes",pkg:"",typ:$funcType([ET],[],false)},{prop:"SetCap",name:"SetCap",pkg:"",typ:$funcType([$Int],[],false)},{prop:"SetLen",name:"SetLen",pkg:"",typ:$funcType([$Int],[],false)},{prop:"Slice",name:"Slice",pkg:"",typ:$funcType([$Int,$Int],[E],false)},{prop:"Slice3",name:"Slice3",pkg:"",typ:$funcType([$Int,$Int,$Int],[E],false)},{prop:"Close",name:"Close",pkg:"",typ:$funcType([],[],false)},{prop:"Elem",name:"Elem",pkg:"",typ:$funcType([],[E],false)},{prop:"NumField",name:"NumField",pkg:"",typ:$funcType([],[$Int],false)},{prop:"MapKeys",name:"MapKeys",pkg:"",typ:$funcType([],[EF],false)},{prop:"MapIndex",name:"MapIndex",pkg:"",typ:$funcType([E],[E],false)},{prop:"Field",name:"Field",pkg:"",typ:$funcType([$Int],[E],false)}];F.methods=[{prop:"kind",name:"kind",pkg:"internal/reflectlite",typ:$funcType([],[P],false)},{prop:"ro",name:"ro",pkg:"internal/reflectlite",typ:$funcType([],[F],false)},{prop:"mustBeExported",name:"mustBeExported",pkg:"internal/reflectlite",typ:$funcType([],[],false)},{prop:"mustBeAssignable",name:"mustBeAssignable",pkg:"internal/reflectlite",typ:$funcType([],[],false)},{prop:"mustBe",name:"mustBe",pkg:"internal/reflectlite",typ:$funcType([P],[],false)}];EU.methods=[{prop:"Error",name:"Error",pkg:"",typ:$funcType([],[$String],false)}];P.methods=[{prop:"String",name:"String",pkg:"",typ:$funcType([],[$String],false)}];DU.methods=[{prop:"String",name:"String",pkg:"",typ:$funcType([],[$String],false)},{prop:"Size",name:"Size",pkg:"",typ:$funcType([],[$Uintptr],false)},{prop:"Kind",name:"Kind",pkg:"",typ:$funcType([],[P],false)},{prop:"pointers",name:"pointers",pkg:"internal/reflectlite",typ:$funcType([],[$Bool],false)},{prop:"common",name:"common",pkg:"internal/reflectlite",typ:$funcType([],[DU],false)},{prop:"exportedMethods",name:"exportedMethods",pkg:"internal/reflectlite",typ:$funcType([],[ED],false)},{prop:"NumMethod",name:"NumMethod",pkg:"",typ:$funcType([],[$Int],false)},{prop:"PkgPath",name:"PkgPath",pkg:"",typ:$funcType([],[$String],false)},{prop:"hasName",name:"hasName",pkg:"internal/reflectlite",typ:$funcType([],[$Bool],false)},{prop:"Name",name:"Name",pkg:"",typ:$funcType([],[$String],false)},{prop:"chanDir",name:"chanDir",pkg:"internal/reflectlite",typ:$funcType([],[T],false)},{prop:"Elem",name:"Elem",pkg:"",typ:$funcType([],[O],false)},{prop:"In",name:"In",pkg:"",typ:$funcType([$Int],[O],false)},{prop:"Len",name:"Len",pkg:"",typ:$funcType([],[$Int],false)},{prop:"NumIn",name:"NumIn",pkg:"",typ:$funcType([],[$Int],false)},{prop:"NumOut",name:"NumOut",pkg:"",typ:$funcType([],[$Int],false)},{prop:"Out",name:"Out",pkg:"",typ:$funcType([$Int],[O],false)},{prop:"Implements",name:"Implements",pkg:"",typ:$funcType([O],[$Bool],false)},{prop:"AssignableTo",name:"AssignableTo",pkg:"",typ:$funcType([O],[$Bool],false)},{prop:"Comparable",name:"Comparable",pkg:"",typ:$funcType([],[$Bool],false)},{prop:"IsVariadic",name:"IsVariadic",pkg:"",typ:$funcType([],[$Bool],false)},{prop:"kindType",name:"kindType",pkg:"internal/reflectlite",typ:$funcType([],[DU],false)},{prop:"Field",name:"Field",pkg:"",typ:$funcType([$Int],[AB],false)},{prop:"Key",name:"Key",pkg:"",typ:$funcType([],[O],false)},{prop:"NumField",name:"NumField",pkg:"",typ:$funcType([],[$Int],false)},{prop:"Method",name:"Method",pkg:"",typ:$funcType([$Int],[AV],false)},{prop:"uncommon",name:"uncommon",pkg:"internal/reflectlite",typ:$funcType([],[EC],false)},{prop:"nameOff",name:"nameOff",pkg:"internal/reflectlite",typ:$funcType([AG],[BO],false)},{prop:"typeOff",name:"typeOff",pkg:"internal/reflectlite",typ:$funcType([AH],[DU],false)},{prop:"ptrTo",name:"ptrTo",pkg:"internal/reflectlite",typ:$funcType([],[DU],false)}];EW.methods=[{prop:"NumMethod",name:"NumMethod",pkg:"",typ:$funcType([],[$Int],false)}];EY.methods=[{prop:"offset",name:"offset",pkg:"internal/reflectlite",typ:$funcType([],[$Uintptr],false)},{prop:"embedded",name:"embedded",pkg:"internal/reflectlite",typ:$funcType([],[$Bool],false)}];EZ.methods=[{prop:"Error",name:"Error",pkg:"",typ:$funcType([],[$String],false)}];EC.methods=[{prop:"methods",name:"methods",pkg:"internal/reflectlite",typ:$funcType([],[ED],false)},{prop:"exportedMethods",name:"exportedMethods",pkg:"internal/reflectlite",typ:$funcType([],[ED],false)}];EE.methods=[{prop:"in$",name:"in",pkg:"internal/reflectlite",typ:$funcType([],[DW],false)},{prop:"out",name:"out",pkg:"internal/reflectlite",typ:$funcType([],[DW],false)}];BO.methods=[{prop:"data",name:"data",pkg:"internal/reflectlite",typ:$funcType([$Int,$String],[EG],false)},{prop:"hasTag",name:"hasTag",pkg:"internal/reflectlite",typ:$funcType([],[$Bool],false)},{prop:"readVarint",name:"readVarint",pkg:"internal/reflectlite",typ:$funcType([$Int],[$Int,$Int],false)},{prop:"name",name:"name",pkg:"internal/reflectlite",typ:$funcType([],[$String],false)},{prop:"tag",name:"tag",pkg:"internal/reflectlite",typ:$funcType([],[$String],false)},{prop:"pkgPath",name:"pkgPath",pkg:"internal/reflectlite",typ:$funcType([],[$String],false)},{prop:"isExported",name:"isExported",pkg:"internal/reflectlite",typ:$funcType([],[$Bool],false)}];EO.methods=[{prop:"skipUntilValidKey",name:"skipUntilValidKey",pkg:"internal/reflectlite",typ:$funcType([],[],false)}];E.init("internal/reflectlite",[{prop:"typ",name:"typ",embedded:false,exported:false,typ:DU,tag:""},{prop:"ptr",name:"ptr",embedded:false,exported:false,typ:$UnsafePointer,tag:""},{prop:"flag",name:"flag",embedded:true,exported:false,typ:F,tag:""}]);I.init("",[{prop:"Method",name:"Method",embedded:false,exported:true,typ:$String,tag:""},{prop:"Kind",name:"Kind",embedded:false,exported:true,typ:P,tag:""}]);O.init([{prop:"AssignableTo",name:"AssignableTo",pkg:"",typ:$funcType([O],[$Bool],false)},{prop:"Comparable",name:"Comparable",pkg:"",typ:$funcType([],[$Bool],false)},{prop:"Elem",name:"Elem",pkg:"",typ:$funcType([],[O],false)},{prop:"Implements",name:"Implements",pkg:"",typ:$funcType([O],[$Bool],false)},{prop:"Kind",name:"Kind",pkg:"",typ:$funcType([],[P],false)},{prop:"Name",name:"Name",pkg:"",typ:$funcType([],[$String],false)},{prop:"PkgPath",name:"PkgPath",pkg:"",typ:$funcType([],[$String],false)},{prop:"Size",name:"Size",pkg:"",typ:$funcType([],[$Uintptr],false)},{prop:"String",name:"String",pkg:"",typ:$funcType([],[$String],false)},{prop:"common",name:"common",pkg:"internal/reflectlite",typ:$funcType([],[DU],false)},{prop:"uncommon",name:"uncommon",pkg:"internal/reflectlite",typ:$funcType([],[EC],false)}]);R.init("internal/reflectlite",[{prop:"size",name:"size",embedded:false,exported:false,typ:$Uintptr,tag:""},{prop:"ptrdata",name:"ptrdata",embedded:false,exported:false,typ:$Uintptr,tag:""},{prop:"hash",name:"hash",embedded:false,exported:false,typ:$Uint32,tag:""},{prop:"tflag",name:"tflag",embedded:false,exported:false,typ:Q,tag:""},{prop:"align",name:"align",embedded:false,exported:false,typ:$Uint8,tag:""},{prop:"fieldAlign",name:"fieldAlign",embedded:false,exported:false,typ:$Uint8,tag:""},{prop:"kind",name:"kind",embedded:false,exported:false,typ:$Uint8,tag:""},{prop:"equal",name:"equal",embedded:false,exported:false,typ:EV,tag:""},{prop:"gcdata",name:"gcdata",embedded:false,exported:false,typ:EG,tag:""},{prop:"str",name:"str",embedded:false,exported:false,typ:AG,tag:""},{prop:"ptrToThis",name:"ptrToThis",embedded:false,exported:false,typ:AH,tag:""}]);S.init("internal/reflectlite",[{prop:"name",name:"name",embedded:false,exported:false,typ:AG,tag:""},{prop:"mtyp",name:"mtyp",embedded:false,exported:false,typ:AH,tag:""},{prop:"ifn",name:"ifn",embedded:false,exported:false,typ:AI,tag:""},{prop:"tfn",name:"tfn",embedded:false,exported:false,typ:AI,tag:""}]);U.init("internal/reflectlite",[{prop:"rtype",name:"rtype",embedded:true,exported:false,typ:R,tag:""},{prop:"elem",name:"elem",embedded:false,exported:false,typ:DU,tag:""},{prop:"slice",name:"slice",embedded:false,exported:false,typ:DU,tag:""},{prop:"len",name:"len",embedded:false,exported:false,typ:$Uintptr,tag:""}]);V.init("internal/reflectlite",[{prop:"rtype",name:"rtype",embedded:true,exported:false,typ:R,tag:""},{prop:"elem",name:"elem",embedded:false,exported:false,typ:DU,tag:""},{prop:"dir",name:"dir",embedded:false,exported:false,typ:$Uintptr,tag:""}]);W.init("internal/reflectlite",[{prop:"name",name:"name",embedded:false,exported:false,typ:AG,tag:""},{prop:"typ",name:"typ",embedded:false,exported:false,typ:AH,tag:""}]);X.init("internal/reflectlite",[{prop:"rtype",name:"rtype",embedded:true,exported:false,typ:R,tag:""},{prop:"pkgPath",name:"pkgPath",embedded:false,exported:false,typ:BO,tag:""},{prop:"methods",name:"methods",embedded:false,exported:false,typ:EK,tag:""}]);Y.init("internal/reflectlite",[{prop:"rtype",name:"rtype",embedded:true,exported:false,typ:R,tag:""},{prop:"key",name:"key",embedded:false,exported:false,typ:DU,tag:""},{prop:"elem",name:"elem",embedded:false,exported:false,typ:DU,tag:""},{prop:"bucket",name:"bucket",embedded:false,exported:false,typ:DU,tag:""},{prop:"hasher",name:"hasher",embedded:false,exported:false,typ:EX,tag:""},{prop:"keysize",name:"keysize",embedded:false,exported:false,typ:$Uint8,tag:""},{prop:"valuesize",name:"valuesize",embedded:false,exported:false,typ:$Uint8,tag:""},{prop:"bucketsize",name:"bucketsize",embedded:false,exported:false,typ:$Uint16,tag:""},{prop:"flags",name:"flags",embedded:false,exported:false,typ:$Uint32,tag:""}]);Z.init("internal/reflectlite",[{prop:"rtype",name:"rtype",embedded:true,exported:false,typ:R,tag:""},{prop:"elem",name:"elem",embedded:false,exported:false,typ:DU,tag:""}]);AA.init("internal/reflectlite",[{prop:"rtype",name:"rtype",embedded:true,exported:false,typ:R,tag:""},{prop:"elem",name:"elem",embedded:false,exported:false,typ:DU,tag:""}]);AB.init("internal/reflectlite",[{prop:"name",name:"name",embedded:false,exported:false,typ:BO,tag:""},{prop:"typ",name:"typ",embedded:false,exported:false,typ:DU,tag:""},{prop:"offsetEmbed",name:"offsetEmbed",embedded:false,exported:false,typ:$Uintptr,tag:""}]);AC.init("internal/reflectlite",[{prop:"rtype",name:"rtype",embedded:true,exported:false,typ:R,tag:""},{prop:"pkgPath",name:"pkgPath",embedded:false,exported:false,typ:BO,tag:""},{prop:"fields",name:"fields",embedded:false,exported:false,typ:EL,tag:""}]);AT.init("internal/reflectlite",[{prop:"s",name:"s",embedded:false,exported:false,typ:$String,tag:""}]);AV.init("",[{prop:"Name",name:"Name",embedded:false,exported:true,typ:$String,tag:""},{prop:"PkgPath",name:"PkgPath",embedded:false,exported:true,typ:$String,tag:""},{prop:"Type",name:"Type",embedded:false,exported:true,typ:O,tag:""},{prop:"Func",name:"Func",embedded:false,exported:true,typ:E,tag:""},{prop:"Index",name:"Index",embedded:false,exported:true,typ:$Int,tag:""}]);BL.init("internal/reflectlite",[{prop:"pkgPath",name:"pkgPath",embedded:false,exported:false,typ:AG,tag:""},{prop:"mcount",name:"mcount",embedded:false,exported:false,typ:$Uint16,tag:""},{prop:"xcount",name:"xcount",embedded:false,exported:false,typ:$Uint16,tag:""},{prop:"moff",name:"moff",embedded:false,exported:false,typ:$Uint32,tag:""},{prop:"_methods",name:"_methods",embedded:false,exported:false,typ:ED,tag:""}]);BN.init("internal/reflectlite",[{prop:"rtype",name:"rtype",embedded:true,exported:false,typ:R,tag:"reflect:\"func\""},{prop:"inCount",name:"inCount",embedded:false,exported:false,typ:$Uint16,tag:""},{prop:"outCount",name:"outCount",embedded:false,exported:false,typ:$Uint16,tag:""},{prop:"_in",name:"_in",embedded:false,exported:false,typ:DW,tag:""},{prop:"_out",name:"_out",embedded:false,exported:false,typ:DW,tag:""}]);BO.init("internal/reflectlite",[{prop:"bytes",name:"bytes",embedded:false,exported:false,typ:EG,tag:""}]);BP.init("internal/reflectlite",[{prop:"name",name:"name",embedded:false,exported:false,typ:$String,tag:""},{prop:"tag",name:"tag",embedded:false,exported:false,typ:$String,tag:""},{prop:"exported",name:"exported",embedded:false,exported:false,typ:$Bool,tag:""}]);CU.init("internal/reflectlite",[{prop:"t",name:"t",embedded:false,exported:false,typ:O,tag:""},{prop:"m",name:"m",embedded:false,exported:false,typ:DZ,tag:""},{prop:"keys",name:"keys",embedded:false,exported:false,typ:DZ,tag:""},{prop:"i",name:"i",embedded:false,exported:false,typ:$Int,tag:""},{prop:"last",name:"last",embedded:false,exported:false,typ:DZ,tag:""}]);CW.init([{prop:"AssignableTo",name:"AssignableTo",pkg:"",typ:$funcType([O],[$Bool],false)},{prop:"Comparable",name:"Comparable",pkg:"",typ:$funcType([],[$Bool],false)},{prop:"Elem",name:"Elem",pkg:"",typ:$funcType([],[O],false)},{prop:"Implements",name:"Implements",pkg:"",typ:$funcType([O],[$Bool],false)},{prop:"Key",name:"Key",pkg:"",typ:$funcType([],[O],false)},{prop:"Kind",name:"Kind",pkg:"",typ:$funcType([],[P],false)},{prop:"Name",name:"Name",pkg:"",typ:$funcType([],[$String],false)},{prop:"PkgPath",name:"PkgPath",pkg:"",typ:$funcType([],[$String],false)},{prop:"Size",name:"Size",pkg:"",typ:$funcType([],[$Uintptr],false)},{prop:"String",name:"String",pkg:"",typ:$funcType([],[$String],false)},{prop:"common",name:"common",pkg:"internal/reflectlite",typ:$funcType([],[DU],false)},{prop:"uncommon",name:"uncommon",pkg:"internal/reflectlite",typ:$funcType([],[EC],false)}]);$init=function(){$pkg.$init=function(){};var $f,$c=false,$s=0,$r;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:$r=D.$init();$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=A.$init();$s=2;case 2:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=B.$init();$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=C.$init();$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}BD=DU.nil;BS=DV.nil;BU=DW.nil;AD=new DX(["invalid","bool","int","int8","int16","int32","int64","uint","uint8","uint16","uint32","uint64","uintptr","float32","float64","complex64","complex128","array","chan","func","interface","map","ptr","slice","string","struct","unsafe.Pointer"]);AR=$assertType($internalize($call,$emptyInterface),EA);$pkg.ErrSyntax=new AT.ptr("invalid syntax");BB=false;BE="_jsType";BF="_reflectType";BG="kindType";BH="_rtype";BM={};BQ={};DH=BJ($jsObjectPtr);DN=$assertType($internalize($select,$emptyInterface),EA);$r=BC();$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}}return;}if($f===undefined){$f={$blk:$init};}$f.$s=$s;$f.$r=$r;return $f;};$pkg.$init=$init;return $pkg;})(); $packages["errors"]=(function(){var $pkg={},$init,A,G,H,L,E,a,F;A=$packages["internal/reflectlite"];G=$pkg.errorString=$newType(0,$kindStruct,"errors.errorString",true,"errors",false,function(s_){this.$val=this;if(arguments.length===0){this.s="";return;}this.s=s_;});H=$ptrType($error);L=$ptrType(G);F=function(b){var b;return new G.ptr(b);};$pkg.New=F;G.ptr.prototype.Error=function(){var b;b=this;return b.s;};G.prototype.Error=function(){return this.$val.Error();};L.methods=[{prop:"Error",name:"Error",pkg:"",typ:$funcType([],[$String],false)}];G.init("errors",[{prop:"s",name:"s",embedded:false,exported:false,typ:$String,tag:""}]);$init=function(){$pkg.$init=function(){};var $f,$c=false,$s=0,$r;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:$r=A.$init();$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}a=A.TypeOf((H.nil)).Elem();$s=2;case 2:if($c){$c=false;a=a.$blk();}if(a&&a.$blk!==undefined){break s;}E=a;}return;}if($f===undefined){$f={$blk:$init};}$f.$s=$s;$f.$r=$r;return $f;};$pkg.$init=$init;return $pkg;})(); $packages["internal/abi"]=(function(){var $pkg={},$init,A,D;A=$packages["internal/goarch"];D=function(){$throwRuntimeError("native function not implemented: internal/abi.FuncPCABI0");};$pkg.FuncPCABI0=D;$init=function(){$pkg.$init=function(){};var $f,$c=false,$s=0,$r;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:$r=A.$init();$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}}return;}if($f===undefined){$f={$blk:$init};}$f.$s=$s;$f.$r=$r;return $f;};$pkg.$init=$init;return $pkg;})(); $packages["internal/cpu"]=(function(){var $pkg={},$init;$init=function(){$pkg.$init=function(){};var $f,$c=false,$s=0,$r;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:}return;}if($f===undefined){$f={$blk:$init};}$f.$s=$s;$f.$r=$r;return $f;};$pkg.$init=$init;return $pkg;})(); $packages["internal/bytealg"]=(function(){var $pkg={},$init,A,S;A=$packages["internal/cpu"];S=function(d,e){var d,e,f;f=0;while(true){if(!(f>0;}return-1;};$pkg.IndexByteString=S;$init=function(){$pkg.$init=function(){};var $f,$c=false,$s=0,$r;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:$r=A.$init();$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}}return;}if($f===undefined){$f={$blk:$init};}$f.$s=$s;$f.$r=$r;return $f;};$pkg.$init=$init;return $pkg;})(); $packages["internal/goexperiment"]=(function(){var $pkg={},$init;$init=function(){$pkg.$init=function(){};var $f,$c=false,$s=0,$r;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:}return;}if($f===undefined){$f={$blk:$init};}$f.$s=$s;$f.$r=$r;return $f;};$pkg.$init=$init;return $pkg;})(); $packages["internal/itoa"]=(function(){var $pkg={},$init,C,D,A,B;C=$arrayType($Uint8,20);D=$sliceType($Uint8);A=function(a){var a;if(a<0){return"-"+B(((-a>>>0)));}return B(((a>>>0)));};$pkg.Itoa=A;B=function(a){var a,b,c,d,e;if(a===0){return"0";}b=C.zero();c=19;while(true){if(!(a>=10)){break;}e=(d=a/10,(d===d&&d!==1/0&&d!==-1/0)?d>>>0:$throwRuntimeError("integer divide by zero"));((c<0||c>=b.length)?($throwRuntimeError("index out of range"),undefined):b[c]=((((48+a>>>0)-(e*10>>>0)>>>0)<<24>>>24)));c=c-(1)>>0;a=e;}((c<0||c>=b.length)?($throwRuntimeError("index out of range"),undefined):b[c]=(((48+a>>>0)<<24>>>24)));return($bytesToString($subslice(new D(b),c)));};$pkg.Uitoa=B;$init=function(){$pkg.$init=function(){};var $f,$c=false,$s=0,$r;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:}return;}if($f===undefined){$f={$blk:$init};}$f.$s=$s;$f.$r=$r;return $f;};$pkg.$init=$init;return $pkg;})(); $packages["math/bits"]=(function(){var $pkg={},$init,F,G,H,K,L,AI,AJ,AL,AQ;H=function(e){var e;if(true){return K(((e>>>0)));}return L((new $Uint64(0,e)));};$pkg.TrailingZeros=H;K=function(e){var e,f;if(e===0){return 32;}return(((f=($imul((((e&(-e>>>0))>>>0)),125613361)>>>0)>>>27>>>0,((f<0||f>=F.length)?($throwRuntimeError("index out of range"),undefined):F[f]))>>0));};$pkg.TrailingZeros32=K;L=function(e){var e,f,g;if((e.$high===0&&e.$low===0)){return 64;}return(((f=$shiftRightUint64($mul64(((g=new $Uint64(-e.$high,-e.$low),new $Uint64(e.$high&g.$high,(e.$low&g.$low)>>>0))),new $Uint64(66559345,3033172745)),58),(($flatten64(f)<0||$flatten64(f)>=G.length)?($throwRuntimeError("index out of range"),undefined):G[$flatten64(f)]))>>0));};$pkg.TrailingZeros64=L;AI=function(e){var e,f,g,h;f=0;if(e>=65536){e=(g=(16),g<32?(e>>>g):0)>>>0;f=16;}if(e>=256){e=(h=(8),h<32?(e>>>h):0)>>>0;f=f+(8)>>0;}f=f+(("\x00\x01\x02\x02\x03\x03\x03\x03\x04\x04\x04\x04\x04\x04\x04\x04\x05\x05\x05\x05\x05\x05\x05\x05\x05\x05\x05\x05\x05\x05\x05\x05\x06\x06\x06\x06\x06\x06\x06\x06\x06\x06\x06\x06\x06\x06\x06\x06\x06\x06\x06\x06\x06\x06\x06\x06\x06\x06\x06\x06\x06\x06\x06\x06\x07\x07\x07\x07\x07\x07\x07\x07\x07\x07\x07\x07\x07\x07\x07\x07\x07\x07\x07\x07\x07\x07\x07\x07\x07\x07\x07\x07\x07\x07\x07\x07\x07\x07\x07\x07\x07\x07\x07\x07\x07\x07\x07\x07\x07\x07\x07\x07\x07\x07\x07\x07\x07\x07\x07\x07\x07\x07\x07\x07\x07\x07\x07\x07\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b".charCodeAt(e)>>0))>>0;return f;};$pkg.Len32=AI;AJ=function(e){var e,f;f=0;if((e.$high>1||(e.$high===1&&e.$low>=0))){e=$shiftRightUint64(e,(32));f=32;}if((e.$high>0||(e.$high===0&&e.$low>=65536))){e=$shiftRightUint64(e,(16));f=f+(16)>>0;}if((e.$high>0||(e.$high===0&&e.$low>=256))){e=$shiftRightUint64(e,(8));f=f+(8)>>0;}f=f+(("\x00\x01\x02\x02\x03\x03\x03\x03\x04\x04\x04\x04\x04\x04\x04\x04\x05\x05\x05\x05\x05\x05\x05\x05\x05\x05\x05\x05\x05\x05\x05\x05\x06\x06\x06\x06\x06\x06\x06\x06\x06\x06\x06\x06\x06\x06\x06\x06\x06\x06\x06\x06\x06\x06\x06\x06\x06\x06\x06\x06\x06\x06\x06\x06\x07\x07\x07\x07\x07\x07\x07\x07\x07\x07\x07\x07\x07\x07\x07\x07\x07\x07\x07\x07\x07\x07\x07\x07\x07\x07\x07\x07\x07\x07\x07\x07\x07\x07\x07\x07\x07\x07\x07\x07\x07\x07\x07\x07\x07\x07\x07\x07\x07\x07\x07\x07\x07\x07\x07\x07\x07\x07\x07\x07\x07\x07\x07\x07\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b".charCodeAt($flatten64(e))>>0))>>0;return f;};$pkg.Len64=AJ;AL=function(e,f,g){var e,f,g,h,i,j,k,l,m;h=new $Uint64(0,0);i=new $Uint64(0,0);h=(j=new $Uint64(e.$high+f.$high,e.$low+f.$low),new $Uint64(j.$high+g.$high,j.$low+g.$low));i=$shiftRightUint64(((k=new $Uint64(e.$high&f.$high,(e.$low&f.$low)>>>0),l=(m=new $Uint64(e.$high|f.$high,(e.$low|f.$low)>>>0),new $Uint64(m.$high&~h.$high,(m.$low&~h.$low)>>>0)),new $Uint64(k.$high|l.$high,(k.$low|l.$low)>>>0))),63);return[h,i];};$pkg.Add64=AL;AQ=function(e,f){var e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v;g=new $Uint64(0,0);h=new $Uint64(0,0);i=new $Uint64(e.$high&0,(e.$low&4294967295)>>>0);j=$shiftRightUint64(e,32);k=new $Uint64(f.$high&0,(f.$low&4294967295)>>>0);l=$shiftRightUint64(f,32);m=$mul64(i,k);p=(n=$mul64(j,k),o=$shiftRightUint64(m,32),new $Uint64(n.$high+o.$high,n.$low+o.$low));q=new $Uint64(p.$high&0,(p.$low&4294967295)>>>0);r=$shiftRightUint64(p,32);q=(s=$mul64(i,l),new $Uint64(q.$high+s.$high,q.$low+s.$low));g=(t=(u=$mul64(j,l),new $Uint64(u.$high+r.$high,u.$low+r.$low)),v=$shiftRightUint64(q,32),new $Uint64(t.$high+v.$high,t.$low+v.$low));h=$mul64(e,f);return[g,h];};$pkg.Mul64=AQ;$init=function(){$pkg.$init=function(){};var $f,$c=false,$s=0,$r;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:F=$toNativeArray($kindUint8,[0,1,28,2,29,14,24,3,30,22,20,15,25,17,4,8,31,27,13,23,21,19,16,7,26,12,18,6,11,5,10,9]);G=$toNativeArray($kindUint8,[0,1,56,2,57,49,28,3,61,58,42,50,38,29,17,4,62,47,59,36,45,43,51,22,53,39,33,30,24,18,12,5,63,55,48,27,60,41,37,16,46,35,44,21,52,32,23,11,54,26,40,15,34,20,31,10,25,14,19,9,13,8,7,6]);}return;}if($f===undefined){$f={$blk:$init};}$f.$s=$s;$f.$r=$r;return $f;};$pkg.$init=$init;return $pkg;})(); $packages["math"]=(function(){var $pkg={},$init,B,A,IT,IU,IV,IW,FL,FM,FN,FO,FP,HH,EI,EX,EY,FK,GA,GH,GK,GL,GM,GS,GT,GW,GX,GZ,HA,HD,HI,HJ,HL,HM;B=$packages["github.com/gopherjs/gopherjs/js"];A=$packages["math/bits"];IT=$arrayType($Uint32,2);IU=$arrayType($Float32,2);IV=$arrayType($Float64,1);IW=$structType("math",[{prop:"uint32array",name:"uint32array",embedded:false,exported:false,typ:IT,tag:""},{prop:"float32array",name:"float32array",embedded:false,exported:false,typ:IU,tag:""},{prop:"float64array",name:"float64array",embedded:false,exported:false,typ:IV,tag:""}]);EI=function(av){var av,aw,ax,ay,az,ba,bb;aw=HL(av);ax=((($shiftRightUint64(aw,52).$low>>>0))&2047)>>>0;if(ax<1023){aw=(ay=new $Uint64(2147483648,0),new $Uint64(aw.$high&ay.$high,(aw.$low&ay.$low)>>>0));if(ax===1022){aw=(az=new $Uint64(1072693248,0),new $Uint64(aw.$high|az.$high,(aw.$low|az.$low)>>>0));}}else if(ax<1075){ax=ax-(1023)>>>0;aw=(ba=$shiftRightUint64(new $Uint64(524288,0),ax),new $Uint64(aw.$high+ba.$high,aw.$low+ba.$low));aw=(bb=$shiftRightUint64(new $Uint64(1048575,4294967295),ax),new $Uint64(aw.$high&~bb.$high,(aw.$low&~bb.$low)>>>0));}return HM(aw);};$pkg.Round=EI;EX=function(av,aw){var av,aw;if(GL(av,1)||GL(aw,1)){return GK(1);}else if(GM(av)||GM(aw)){return GW();}else if((av===0)&&(av===aw)){if(GZ(av)){return aw;}return av;}if(av>aw){return av;}return aw;};EY=function(av,aw){var av,aw;if(GL(av,-1)||GL(aw,-1)){return GK(-1);}else if(GM(av)||GM(aw)){return GW();}else if((av===0)&&(av===aw)){if(GZ(av)){return av;}return aw;}if(av>>0)));};$pkg.Abs=FK;GA=function(av){var av;return $parseFloat(FL.cos(av));};$pkg.Cos=GA;GH=function(av){var av;return $parseFloat(FL.floor(av));};$pkg.Floor=GH;GK=function(av){var av;if(av>=0){return FN;}else{return FO;}};$pkg.Inf=GK;GL=function(av,aw){var av,aw;if(av===FN){return aw>=0;}if(av===FO){return aw<=0;}return false;};$pkg.IsInf=GL;GM=function(av){var av,aw;aw=false;aw=!((av===av));return aw;};$pkg.IsNaN=GM;GS=function(av,aw){var av,aw;return EX(av,aw);};$pkg.Max=GS;GT=function(av,aw){var av,aw;return EY(av,aw);};$pkg.Min=GT;GW=function(){return FP;};$pkg.NaN=GW;GX=function(av,aw){var av,aw;if((av===1)||((av===-1)&&((aw===FN)||(aw===FO)))){return 1;}return $parseFloat(FL.pow(av,aw));};$pkg.Pow=GX;GZ=function(av){var av;return av<0||(1/av===FO);};$pkg.Signbit=GZ;HA=function(av){var av;return $parseFloat(FL.sin(av));};$pkg.Sin=HA;HD=function(av){var av;return $parseFloat(FL.sqrt(av));};$pkg.Sqrt=HD;HI=function(){var av;av=new($global.ArrayBuffer)(8);HH.uint32array=new($global.Uint32Array)(av);HH.float32array=new($global.Float32Array)(av);HH.float64array=new($global.Float64Array)(av);};HJ=function(av){var av;HH.float32array[0]=av;return HH.uint32array[0];};$pkg.Float32bits=HJ;HL=function(av){var av,aw,ax;HH.float64array[0]=av;return(aw=$shiftLeft64((new $Uint64(0,HH.uint32array[1])),32),ax=(new $Uint64(0,HH.uint32array[0])),new $Uint64(aw.$high+ax.$high,aw.$low+ax.$low));};$pkg.Float64bits=HL;HM=function(av){var av;HH.uint32array[0]=((av.$low>>>0));HH.uint32array[1]=(($shiftRightUint64(av,32).$low>>>0));return HH.float64array[0];};$pkg.Float64frombits=HM;$init=function(){$pkg.$init=function(){};var $f,$c=false,$s=0,$r;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:$r=B.$init();$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=A.$init();$s=2;case 2:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}HH=new IW.ptr(IT.zero(),IU.zero(),IV.zero());FL=$global.Math;FM=0;FN=1/FM;FO=-1/FM;FP=$parseFloat($NaN);HI();}return;}if($f===undefined){$f={$blk:$init};}$f.$s=$s;$f.$r=$r;return $f;};$pkg.$init=$init;return $pkg;})(); $packages["unicode/utf8"]=(function(){var $pkg={},$init,B,A,C,F,G,J,K,N,O,R,S;B=$pkg.acceptRange=$newType(0,$kindStruct,"utf8.acceptRange",true,"unicode/utf8",false,function(lo_,hi_){this.$val=this;if(arguments.length===0){this.lo=0;this.hi=0;return;}this.lo=lo_;this.hi=hi_;});F=function(a){var a,aa,ab,ac,ad,ae,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z;b=0;c=0;d=a.$length;if(d<1){e=65533;f=0;b=e;c=f;return[b,c];}g=(0>=a.$length?($throwRuntimeError("index out of range"),undefined):a.$array[a.$offset+0]);h=((g<0||g>=A.length)?($throwRuntimeError("index out of range"),undefined):A[g]);if(h>=240){i=(((h>>0))<<31>>0)>>31>>0;j=(((((0>=a.$length?($throwRuntimeError("index out of range"),undefined):a.$array[a.$offset+0])>>0))&~i)>>0)|(65533&i);k=1;b=j;c=k;return[b,c];}l=((((h&7)>>>0)>>0));n=$clone((m=h>>>4<<24>>>24,((m<0||m>=C.length)?($throwRuntimeError("index out of range"),undefined):C[m])),B);if(d=a.$length?($throwRuntimeError("index out of range"),undefined):a.$array[a.$offset+1]);if(q>>0)>>0))<<6>>0)|((((q&63)>>>0)>>0));u=2;b=t;c=u;return[b,c];}v=(2>=a.$length?($throwRuntimeError("index out of range"),undefined):a.$array[a.$offset+2]);if(v<128||191>>0)>>0))<<12>>0)|(((((q&63)>>>0)>>0))<<6>>0))|((((v&63)>>>0)>>0));z=3;b=y;c=z;return[b,c];}aa=(3>=a.$length?($throwRuntimeError("index out of range"),undefined):a.$array[a.$offset+3]);if(aa<128||191>>0)>>0))<<18>>0)|(((((q&63)>>>0)>>0))<<12>>0))|(((((v&63)>>>0)>>0))<<6>>0))|((((aa&63)>>>0)>>0));ae=4;b=ad;c=ae;return[b,c];};$pkg.DecodeRune=F;G=function(a){var a,aa,ab,ac,ad,ae,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z;b=0;c=0;d=a.length;if(d<1){e=65533;f=0;b=e;c=f;return[b,c];}g=a.charCodeAt(0);h=((g<0||g>=A.length)?($throwRuntimeError("index out of range"),undefined):A[g]);if(h>=240){i=(((h>>0))<<31>>0)>>31>>0;j=((((a.charCodeAt(0)>>0))&~i)>>0)|(65533&i);k=1;b=j;c=k;return[b,c];}l=((((h&7)>>>0)>>0));n=$clone((m=h>>>4<<24>>>24,((m<0||m>=C.length)?($throwRuntimeError("index out of range"),undefined):C[m])),B);if(d>>0)>>0))<<6>>0)|((((q&63)>>>0)>>0));u=2;b=t;c=u;return[b,c];}v=a.charCodeAt(2);if(v<128||191>>0)>>0))<<12>>0)|(((((q&63)>>>0)>>0))<<6>>0))|((((v&63)>>>0)>>0));z=3;b=y;c=z;return[b,c];}aa=a.charCodeAt(3);if(aa<128||191>>0)>>0))<<18>>0)|(((((q&63)>>>0)>>0))<<12>>0))|(((((v&63)>>>0)>>0))<<6>>0))|((((aa&63)>>>0)>>0));ae=4;b=ad;c=ae;return[b,c];};$pkg.DecodeRuneInString=G;J=function(a){var a;if(a<0){return-1;}else if(a<=127){return 1;}else if(a<=2047){return 2;}else if(55296<=a&&a<=57343){return-1;}else if(a<=65535){return 3;}else if(a<=1114111){return 4;}return-1;};$pkg.RuneLen=J;K=function(a,b){var a,b,c;c=((b>>>0));if(c<=127){(0>=a.$length?($throwRuntimeError("index out of range"),undefined):a.$array[a.$offset+0]=((b<<24>>>24)));return 1;}else if(c<=2047){$unused((1>=a.$length?($throwRuntimeError("index out of range"),undefined):a.$array[a.$offset+1]));(0>=a.$length?($throwRuntimeError("index out of range"),undefined):a.$array[a.$offset+0]=((192|(((b>>6>>0)<<24>>>24)))>>>0));(1>=a.$length?($throwRuntimeError("index out of range"),undefined):a.$array[a.$offset+1]=((128|((((b<<24>>>24))&63)>>>0))>>>0));return 2;}else if((c>1114111)||(55296<=c&&c<=57343)){b=65533;$unused((2>=a.$length?($throwRuntimeError("index out of range"),undefined):a.$array[a.$offset+2]));(0>=a.$length?($throwRuntimeError("index out of range"),undefined):a.$array[a.$offset+0]=((224|(((b>>12>>0)<<24>>>24)))>>>0));(1>=a.$length?($throwRuntimeError("index out of range"),undefined):a.$array[a.$offset+1]=((128|(((((b>>6>>0)<<24>>>24))&63)>>>0))>>>0));(2>=a.$length?($throwRuntimeError("index out of range"),undefined):a.$array[a.$offset+2]=((128|((((b<<24>>>24))&63)>>>0))>>>0));return 3;}else if(c<=65535){$unused((2>=a.$length?($throwRuntimeError("index out of range"),undefined):a.$array[a.$offset+2]));(0>=a.$length?($throwRuntimeError("index out of range"),undefined):a.$array[a.$offset+0]=((224|(((b>>12>>0)<<24>>>24)))>>>0));(1>=a.$length?($throwRuntimeError("index out of range"),undefined):a.$array[a.$offset+1]=((128|(((((b>>6>>0)<<24>>>24))&63)>>>0))>>>0));(2>=a.$length?($throwRuntimeError("index out of range"),undefined):a.$array[a.$offset+2]=((128|((((b<<24>>>24))&63)>>>0))>>>0));return 3;}else{$unused((3>=a.$length?($throwRuntimeError("index out of range"),undefined):a.$array[a.$offset+3]));(0>=a.$length?($throwRuntimeError("index out of range"),undefined):a.$array[a.$offset+0]=((240|(((b>>18>>0)<<24>>>24)))>>>0));(1>=a.$length?($throwRuntimeError("index out of range"),undefined):a.$array[a.$offset+1]=((128|(((((b>>12>>0)<<24>>>24))&63)>>>0))>>>0));(2>=a.$length?($throwRuntimeError("index out of range"),undefined):a.$array[a.$offset+2]=((128|(((((b>>6>>0)<<24>>>24))&63)>>>0))>>>0));(3>=a.$length?($throwRuntimeError("index out of range"),undefined):a.$array[a.$offset+3]=((128|((((b<<24>>>24))&63)>>>0))>>>0));return 4;}};$pkg.EncodeRune=K;N=function(a){var a,b,c,d,e,f,g,h,i,j,k,l,m,n,o;b=a.$length;c=0;d=0;while(true){if(!(d>0;e=((d<0||d>=a.$length)?($throwRuntimeError("index out of range"),undefined):a.$array[a.$offset+d]);if(e<128){d=d+(1)>>0;continue;}f=((e<0||e>=A.length)?($throwRuntimeError("index out of range"),undefined):A[e]);if(f===241){d=d+(1)>>0;continue;}g=((((f&7)>>>0)>>0));if((d+g>>0)>b){d=d+(1)>>0;continue;}i=$clone((h=f>>>4<<24>>>24,((h<0||h>=C.length)?($throwRuntimeError("index out of range"),undefined):C[h])),B);k=(j=d+1>>0,((j<0||j>=a.$length)?($throwRuntimeError("index out of range"),undefined):a.$array[a.$offset+j]));if(k>0,((l<0||l>=a.$length)?($throwRuntimeError("index out of range"),undefined):a.$array[a.$offset+l]));if(m<128||191>0,((n<0||n>=a.$length)?($throwRuntimeError("index out of range"),undefined):a.$array[a.$offset+n]));if(o<128||191>0;}return c;};$pkg.RuneCount=N;O=function(a){var a,b,c,d,e,f,g,h,i,j,k,l;b=0;c=a.length;d=0;while(true){if(!(d>0;b=b+(1)>>0;continue;}f=((e<0||e>=A.length)?($throwRuntimeError("index out of range"),undefined):A[e]);if(f===241){d=d+(1)>>0;b=b+(1)>>0;continue;}g=((((f&7)>>>0)>>0));if((d+g>>0)>c){d=d+(1)>>0;b=b+(1)>>0;continue;}i=$clone((h=f>>>4<<24>>>24,((h<0||h>=C.length)?($throwRuntimeError("index out of range"),undefined):C[h])),B);j=a.charCodeAt((d+1>>0));if(j>0));if(k<128||191>0));if(l<128||191>0;b=b+(1)>>0;}b=b;return b;};$pkg.RuneCountInString=O;R=function(a){var a,b,c,d,e,f,g,h,i,j,k,l,m;while(true){if(!(a.length>=8)){break;}b=(((((((a.charCodeAt(0)>>>0))|(((a.charCodeAt(1)>>>0))<<8>>>0))>>>0)|(((a.charCodeAt(2)>>>0))<<16>>>0))>>>0)|(((a.charCodeAt(3)>>>0))<<24>>>0))>>>0;c=(((((((a.charCodeAt(4)>>>0))|(((a.charCodeAt(5)>>>0))<<8>>>0))>>>0)|(((a.charCodeAt(6)>>>0))<<16>>>0))>>>0)|(((a.charCodeAt(7)>>>0))<<24>>>0))>>>0;if(!(((((((b|c)>>>0))&2155905152)>>>0)===0))){break;}a=$substring(a,8);}d=a.length;e=0;while(true){if(!(e>0;continue;}g=((f<0||f>=A.length)?($throwRuntimeError("index out of range"),undefined):A[f]);if(g===241){return false;}h=((((g&7)>>>0)>>0));if((e+h>>0)>d){return false;}j=$clone((i=g>>>4<<24>>>24,((i<0||i>=C.length)?($throwRuntimeError("index out of range"),undefined):C[i])),B);k=a.charCodeAt((e+1>>0));if(k>0));if(l<128||191>0));if(m<128||191>0;}return true;};$pkg.ValidString=R;S=function(a){var a;if(0<=a&&a<55296){return true;}else if(57343>0)>0)+d.length>>0)+1>>0));$copySlice(h,c);c=h;}c=$append(c,e);i=0;while(true){if(!(d.length>0)){break;}j=((d.charCodeAt(0)>>0));i=1;if(j>=128){k=A.DecodeRuneInString(d);j=k[0];i=k[1];}if((i===1)&&(j===65533)){c=$appendSlice(c,"\\x");c=$append(c,"0123456789abcdef".charCodeAt((d.charCodeAt(0)>>>4<<24>>>24)));c=$append(c,"0123456789abcdef".charCodeAt(((d.charCodeAt(0)&15)>>>0)));d=$substring(d,i);continue;}c=L(c,j,e,f,g);d=$substring(d,i);}c=$append(c,e);return c;};K=function(c,d,e,f,g){var c,d,e,f,g;c=$append(c,e);if(!A.ValidRune(d)){d=65533;}c=L(c,d,e,f,g);c=$append(c,e);return c;};L=function(c,d,e,f,g){var c,d,e,f,g,h,i,j,k,l;h=EB.zero();if((d===((e>>0)))||(d===92)){c=$append(c,92);c=$append(c,((d<<24>>>24)));return c;}if(f){if(d<128&&AG(d)){c=$append(c,((d<<24>>>24)));return c;}}else if(AG(d)||g&&AI(d)){i=A.EncodeRune(new EA(h),d);c=$appendSlice(c,$subslice(new EA(h),0,i));return c;}j=d;if(j===(7)){c=$appendSlice(c,"\\a");}else if(j===(8)){c=$appendSlice(c,"\\b");}else if(j===(12)){c=$appendSlice(c,"\\f");}else if(j===(10)){c=$appendSlice(c,"\\n");}else if(j===(13)){c=$appendSlice(c,"\\r");}else if(j===(9)){c=$appendSlice(c,"\\t");}else if(j===(11)){c=$appendSlice(c,"\\v");}else{if(d<32){c=$appendSlice(c,"\\x");c=$append(c,"0123456789abcdef".charCodeAt((((d<<24>>>24))>>>4<<24>>>24)));c=$append(c,"0123456789abcdef".charCodeAt(((((d<<24>>>24))&15)>>>0)));}else if(!A.ValidRune(d)){d=65533;c=$appendSlice(c,"\\u");k=12;while(true){if(!(k>=0)){break;}c=$append(c,"0123456789abcdef".charCodeAt((((d>>$min(((k>>>0)),31))>>0)&15)));k=k-(4)>>0;}}else if(d<65536){c=$appendSlice(c,"\\u");k=12;while(true){if(!(k>=0)){break;}c=$append(c,"0123456789abcdef".charCodeAt((((d>>$min(((k>>>0)),31))>>0)&15)));k=k-(4)>>0;}}else{c=$appendSlice(c,"\\U");l=28;while(true){if(!(l>=0)){break;}c=$append(c,"0123456789abcdef".charCodeAt((((d>>$min(((l>>>0)),31))>>0)&15)));l=l-(4)>>0;}}}return c;};N=function(c,d){var c,d;return J(c,d,34,false,false);};$pkg.AppendQuote=N;P=function(c,d){var c,d;return J(c,d,34,true,false);};$pkg.AppendQuoteToASCII=P;T=function(c,d){var c,d;return K(c,d,39,false,false);};$pkg.AppendQuoteRune=T;V=function(c,d){var c,d;return K(c,d,39,true,false);};$pkg.AppendQuoteRuneToASCII=V;Y=function(c){var c,d,e,f;while(true){if(!(c.length>0)){break;}d=A.DecodeRuneInString(c);e=d[0];f=d[1];c=$substring(c,f);if(f>1){if(e===65279){return false;}continue;}if(e===65533){return false;}if((e<32&&!((e===9)))||(e===96)||(e===127)){return false;}}return true;};$pkg.CanBackquote=Y;Z=function(c){var c,d,e,f,g,h,i,j,k,l;d=0;e=false;f=((c>>0));if(48<=f&&f<=57){g=f-48>>0;h=true;d=g;e=h;return[d,e];}else if(97<=f&&f<=102){i=(f-97>>0)+10>>0;j=true;d=i;e=j;return[d,e];}else if(65<=f&&f<=70){k=(f-65>>0)+10>>0;l=true;d=k;e=l;return[d,e];}return[d,e];};AA=function(c,d){var aa,ab,ac,ad,ae,af,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z;e=0;f=false;g="";h=$ifaceNil;if(c.length===0){h=$pkg.ErrSyntax;return[e,f,g,h];}i=c.charCodeAt(0);if((i===d)&&((d===39)||(d===34))){h=$pkg.ErrSyntax;return[e,f,g,h];}else if(i>=128){j=A.DecodeRuneInString(c);k=j[0];l=j[1];m=k;n=true;o=$substring(c,l);p=$ifaceNil;e=m;f=n;g=o;h=p;return[e,f,g,h];}else if(!((i===92))){q=((c.charCodeAt(0)>>0));r=false;s=$substring(c,1);t=$ifaceNil;e=q;f=r;g=s;h=t;return[e,f,g,h];}if(c.length<=1){h=$pkg.ErrSyntax;return[e,f,g,h];}u=c.charCodeAt(1);c=$substring(c,2);switch(0){default:v=u;if(v===(97)){e=7;}else if(v===(98)){e=8;}else if(v===(102)){e=12;}else if(v===(110)){e=10;}else if(v===(114)){e=13;}else if(v===(116)){e=9;}else if(v===(118)){e=11;}else if((v===(120))||(v===(117))||(v===(85))){w=0;x=u;if(x===(120)){w=2;}else if(x===(117)){w=4;}else if(x===(85)){w=8;}y=0;if(c.length>0)|ab;z=z+(1)>>0;}c=$substring(c,w);if(u===120){e=y;break;}if(!A.ValidRune(y)){h=$pkg.ErrSyntax;return[e,f,g,h];}e=y;f=true;}else if((v===(48))||(v===(49))||(v===(50))||(v===(51))||(v===(52))||(v===(53))||(v===(54))||(v===(55))){ad=((u>>0))-48>>0;if(c.length<2){h=$pkg.ErrSyntax;return[e,f,g,h];}ae=0;while(true){if(!(ae<2)){break;}af=((c.charCodeAt(ae)>>0))-48>>0;if(af<0||af>7){h=$pkg.ErrSyntax;return[e,f,g,h];}ad=((ad<<3>>0))|af;ae=ae+(1)>>0;}c=$substring(c,2);if(ad>255){h=$pkg.ErrSyntax;return[e,f,g,h];}e=ad;}else if(v===(92)){e=92;}else if((v===(39))||(v===(34))){if(!((u===d))){h=$pkg.ErrSyntax;return[e,f,g,h];}e=((u>>0));}else{h=$pkg.ErrSyntax;return[e,f,g,h];}}g=c;return[e,f,g,h];};$pkg.UnquoteChar=AA;AC=function(c){var c,d,e,f,g;d=AD(c,true);e=d[0];f=d[1];g=d[2];if(f.length>0){return["",$pkg.ErrSyntax];}return[e,g];};$pkg.Unquote=AC;AD=function(c,d){var aa,ab,ac,ad,ae,af,ag,ah,ai,aj,ak,al,am,an,ao,ap,aq,ar,as,at,au,av,aw,ax,ay,az,ba,bb,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z;e="";f="";g=$ifaceNil;if(c.length<2){h="";i=c;j=$pkg.ErrSyntax;e=h;f=i;g=j;return[e,f,g];}k=c.charCodeAt(0);l=CM($substring(c,1),k);if(l<0){m="";n=c;o=$pkg.ErrSyntax;e=m;f=n;g=o;return[e,f,g];}l=l+(2)>>0;p=k;if(p===(96)){if(!d){e=$substring(c,0,l);}else if(!G($substring(c,0,l),13)){e=$substring(c,1,(l-1>>0));}else{q=$makeSlice(EA,0,(((l-1>>0)-1>>0)-1>>0));r=1;while(true){if(!(r<(l-1>>0))){break;}if(!((c.charCodeAt(r)===13))){q=$append(q,c.charCodeAt(r));}r=r+(1)>>0;}e=($bytesToString(q));}s=e;t=$substring(c,l);u=$ifaceNil;e=s;f=t;g=u;return[e,f,g];}else if((p===(34))||(p===(39))){if(!G($substring(c,0,l),92)&&!G($substring(c,0,l),10)){v=false;w=k;if(w===(34)){v=A.ValidString($substring(c,1,(l-1>>0)));}else if(w===(39)){x=A.DecodeRuneInString($substring(c,1,(l-1>>0)));y=x[0];z=x[1];v=(((1+z>>0)+1>>0)===l)&&(!((y===65533))||!((z===1)));}if(v){e=$substring(c,0,l);if(d){e=$substring(e,1,(l-1>>0));}aa=e;ab=$substring(c,l);ac=$ifaceNil;e=aa;f=ab;g=ac;return[e,f,g];}}ad=EA.nil;ae=c;c=$substring(c,1);if(d){ad=$makeSlice(EA,0,(af=($imul(3,l))/2,(af===af&&af!==1/0&&af!==-1/0)?af>>0:$throwRuntimeError("integer divide by zero")));}while(true){if(!(c.length>0&&!((c.charCodeAt(0)===k)))){break;}ag=AA(c,k);ah=ag[0];ai=ag[1];aj=ag[2];ak=ag[3];if((c.charCodeAt(0)===10)||!($interfaceIsEqual(ak,$ifaceNil))){al="";am=ae;an=$pkg.ErrSyntax;e=al;f=am;g=an;return[e,f,g];}c=aj;if(d){if(ah<128||!ai){ad=$append(ad,((ah<<24>>>24)));}else{ao=EB.zero();ap=A.EncodeRune(new EA(ao),ah);ad=$appendSlice(ad,$subslice(new EA(ao),0,ap));}}if(k===39){break;}}if(!(c.length>0&&(c.charCodeAt(0)===k))){aq="";ar=ae;as=$pkg.ErrSyntax;e=aq;f=ar;g=as;return[e,f,g];}c=$substring(c,1);if(d){at=($bytesToString(ad));au=c;av=$ifaceNil;e=at;f=au;g=av;return[e,f,g];}aw=$substring(ae,0,(ae.length-c.length>>0));ax=c;ay=$ifaceNil;e=aw;f=ax;g=ay;return[e,f,g];}else{az="";ba=c;bb=$pkg.ErrSyntax;e=az;f=ba;g=bb;return[e,f,g];}};AE=function(c,d){var c,d,e,f,g,h,i;e=0;f=c.$length;g=e;h=f;while(true){if(!(g>0))>>1>>0)>>0;if(((i<0||i>=c.$length)?($throwRuntimeError("index out of range"),undefined):c.$array[c.$offset+i])>0;}else{h=i;}}return g;};AF=function(c,d){var c,d,e,f,g,h,i;e=0;f=c.$length;g=e;h=f;while(true){if(!(g>0))>>1>>0)>>0;if(((i<0||i>=c.$length)?($throwRuntimeError("index out of range"),undefined):c.$array[c.$offset+i])>0;}else{h=i;}}return g;};AG=function(c){var c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w;if(c<=255){if(32<=c&&c<=126){return true;}if(161<=c&&c<=255){return!((c===173));}return false;}if(0<=c&&c<65536){d=((c<<16>>>16));e=AQ;f=AR;g=d;h=e;i=f;j=AE(h,g);if(j>=h.$length||g<(k=(j&~1)>>0,((k<0||k>=h.$length)?($throwRuntimeError("index out of range"),undefined):h.$array[h.$offset+k]))||(l=j|1,((l<0||l>=h.$length)?($throwRuntimeError("index out of range"),undefined):h.$array[h.$offset+l]))=i.$length||!((((m<0||m>=i.$length)?($throwRuntimeError("index out of range"),undefined):i.$array[i.$offset+m])===g));}n=((c>>>0));o=AS;p=AT;q=n;r=o;s=p;t=AF(r,q);if(t>=r.$length||q<(u=(t&~1)>>0,((u<0||u>=r.$length)?($throwRuntimeError("index out of range"),undefined):r.$array[r.$offset+u]))||(v=t|1,((v<0||v>=r.$length)?($throwRuntimeError("index out of range"),undefined):r.$array[r.$offset+v]))=131072){return true;}c=c-(65536)>>0;w=AE(s,((c<<16>>>16)));return w>=s.$length||!((((w<0||w>=s.$length)?($throwRuntimeError("index out of range"),undefined):s.$array[s.$offset+w])===((c<<16>>>16))));};$pkg.IsPrint=AG;AI=function(c){var c,d,e;if(c>65535){return false;}d=((c<<16>>>16));e=AE(AU,d);return e=AU.$length)?($throwRuntimeError("index out of range"),undefined):AU.$array[AU.$offset+e]));};AO=function(c,d,e,f,g){var aa,ab,ac,ad,ae,af,ag,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z;h=EA.nil;i="";if(e<2||e>36){$panic(new $String("strconv: illegal AppendInt/FormatInt base"));}j=EC.zero();k=65;if(f){d=new $Uint64(-d.$high,-d.$low);}if(e===10){if(true){while(true){if(!((d.$high>0||(d.$high===0&&d.$low>=1000000000)))){break;}l=$div64(d,new $Uint64(0,1000000000),false);n=(((m=$mul64(l,new $Uint64(0,1000000000)),new $Uint64(d.$high-m.$high,d.$low-m.$low)).$low>>>0));o=4;while(true){if(!(o>0)){break;}q=(p=n%100,p===p?p:$throwRuntimeError("integer divide by zero"))*2>>>0;n=(r=n/(100),(r===r&&r!==1/0&&r!==-1/0)?r>>>0:$throwRuntimeError("integer divide by zero"));k=k-(2)>>0;(s=k+1>>0,((s<0||s>=j.length)?($throwRuntimeError("index out of range"),undefined):j[s]="00010203040506070809101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899".charCodeAt((q+1>>>0))));(t=k+0>>0,((t<0||t>=j.length)?($throwRuntimeError("index out of range"),undefined):j[t]="00010203040506070809101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899".charCodeAt((q+0>>>0))));o=o-(1)>>0;}k=k-(1)>>0;((k<0||k>=j.length)?($throwRuntimeError("index out of range"),undefined):j[k]="00010203040506070809101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899".charCodeAt(((n*2>>>0)+1>>>0)));d=l;}}u=((d.$low>>>0));while(true){if(!(u>=100)){break;}w=(v=u%100,v===v?v:$throwRuntimeError("integer divide by zero"))*2>>>0;u=(x=u/(100),(x===x&&x!==1/0&&x!==-1/0)?x>>>0:$throwRuntimeError("integer divide by zero"));k=k-(2)>>0;(y=k+1>>0,((y<0||y>=j.length)?($throwRuntimeError("index out of range"),undefined):j[y]="00010203040506070809101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899".charCodeAt((w+1>>>0))));(z=k+0>>0,((z<0||z>=j.length)?($throwRuntimeError("index out of range"),undefined):j[z]="00010203040506070809101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899".charCodeAt((w+0>>>0))));}aa=u*2>>>0;k=k-(1)>>0;((k<0||k>=j.length)?($throwRuntimeError("index out of range"),undefined):j[k]="00010203040506070809101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899".charCodeAt((aa+1>>>0)));if(u>=10){k=k-(1)>>0;((k<0||k>=j.length)?($throwRuntimeError("index out of range"),undefined):j[k]="00010203040506070809101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899".charCodeAt(aa));}}else if(AP(e)){ab=(((B.TrailingZeros(((e>>>0)))>>>0))&7)>>>0;ac=(new $Uint64(0,e));ad=((e>>>0))-1>>>0;while(true){if(!((d.$high>ac.$high||(d.$high===ac.$high&&d.$low>=ac.$low)))){break;}k=k-(1)>>0;((k<0||k>=j.length)?($throwRuntimeError("index out of range"),undefined):j[k]="0123456789abcdefghijklmnopqrstuvwxyz".charCodeAt(((((d.$low>>>0))&ad)>>>0)));d=$shiftRightUint64(d,(ab));}k=k-(1)>>0;((k<0||k>=j.length)?($throwRuntimeError("index out of range"),undefined):j[k]="0123456789abcdefghijklmnopqrstuvwxyz".charCodeAt(((d.$low>>>0))));}else{ae=(new $Uint64(0,e));while(true){if(!((d.$high>ae.$high||(d.$high===ae.$high&&d.$low>=ae.$low)))){break;}k=k-(1)>>0;af=$div64(d,ae,false);((k<0||k>=j.length)?($throwRuntimeError("index out of range"),undefined):j[k]="0123456789abcdefghijklmnopqrstuvwxyz".charCodeAt((((ag=$mul64(af,ae),new $Uint64(d.$high-ag.$high,d.$low-ag.$low)).$low>>>0))));d=af;}k=k-(1)>>0;((k<0||k>=j.length)?($throwRuntimeError("index out of range"),undefined):j[k]="0123456789abcdefghijklmnopqrstuvwxyz".charCodeAt(((d.$low>>>0))));}if(f){k=k-(1)>>0;((k<0||k>=j.length)?($throwRuntimeError("index out of range"),undefined):j[k]=45);}if(g){h=$appendSlice(c,$subslice(new EA(j),k));return[h,i];}i=($bytesToString($subslice(new EA(j),k)));return[h,i];};AP=function(c){var c;return(c&((c-1>>0)))===0;};AV=function(c,d,e,f){var aa,ab,ac,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z;if(f<0){$panic(new $String("ryuFtoaFixed32 called with negative prec"));}if(f>9){$panic(new $String("ryuFtoaFixed32 called with prec > 9"));}if(d===0){g=0;h=0;c.nd=g;c.dp=h;return;}i=e;j=B.Len32(d);if(j<25){d=(k=((((25-j>>0)>>>0))),k<32?(d<>>0;i=i+(((j)-25>>0))>>0;}l=(-BA(i+24>>0)+f>>0)-1>>0;m=l<=27&&l>=0;n=BF(d,i,l);o=n[0];p=n[1];q=n[2];if(p>=0){$panic(new $String("not enough significant bits after mult64bitPow10"));}if(l<0&&l>=-10&&BH((new $Uint64(0,d)),-l)){m=true;q=true;}r=((-p>>>0));t=((((s=r,s<32?(1<>>0)-1>>>0));u=(v=r,v<32?(o>>>v):0)>>>0;w=(o&t)>>>0;o=u;x=w;y=false;if(m){y=x>((z=((r-1>>>0)),z<32?(1<>>0)||((x===((aa=((r-1>>>0)),aa<32?(1<>>0))&&!q)||((x===((ab=((r-1>>>0)),ab<32?(1<>>0))&&q&&(((o&1)>>>0)===1));}else{y=((ac=((r-1>>>0)),ac<32?(x>>>ac):0)>>>0)===1;}if(!((x===0))){q=false;}AY(c,(new $Uint64(0,o)),!q,y,f);c.dp=c.dp-(l)>>0;};AW=function(c,d,e,f){var aa,ab,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z;if(f>18){$panic(new $String("ryuFtoaFixed64 called with prec > 18"));}if((d.$high===0&&d.$low===0)){g=0;h=0;c.nd=g;c.dp=h;return;}i=e;j=B.Len64(d);if(j<55){d=$shiftLeft64(d,(((55-j>>0)>>>0)));i=i+(((j)-55>>0))>>0;}k=(-BA(i+54>>0)+f>>0)-1>>0;l=k<=55&&k>=0;m=BG(d,i,k);n=m[0];o=m[1];p=m[2];if(o>=0){$panic(new $String("not enough significant bits after mult128bitPow10"));}if(k<0&&k>=-22&&BH(d,-k)){l=true;p=true;}q=((-o>>>0));s=((r=$shiftLeft64(new $Uint64(0,1),q),new $Uint64(r.$high-0,r.$low-1)));t=$shiftRightUint64(n,q);u=new $Uint64(n.$high&s.$high,(n.$low&s.$low)>>>0);n=t;v=u;w=false;if(l){w=(x=$shiftLeft64(new $Uint64(0,1),((q-1>>>0))),(v.$high>x.$high||(v.$high===x.$high&&v.$low>x.$low)))||((y=$shiftLeft64(new $Uint64(0,1),((q-1>>>0))),(v.$high===y.$high&&v.$low===y.$low))&&!p)||((z=$shiftLeft64(new $Uint64(0,1),((q-1>>>0))),(v.$high===z.$high&&v.$low===z.$low))&&p&&(aa=new $Uint64(n.$high&0,(n.$low&1)>>>0),(aa.$high===0&&aa.$low===1)));}else{w=(ab=$shiftRightUint64(v,((q-1>>>0))),(ab.$high===0&&ab.$low===1));}if(!((v.$high===0&&v.$low===0))){p=false;}AY(c,n,!p,w,f);c.dp=c.dp-(k)>>0;};AY=function(c,d,e,f,g){var aa,ab,ac,ad,ae,af,ag,ah,ai,aj,ak,al,am,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z;h=((g<0||g>=AX.length)?($throwRuntimeError("index out of range"),undefined):AX[g]);i=0;while(true){if(!((d.$high>h.$high||(d.$high===h.$high&&d.$low>=h.$low)))){break;}j=$div64(d,new $Uint64(0,10),false);k=$div64(d,new $Uint64(0,10),true);l=j;m=k;d=l;i=i+(1)>>0;if((m.$high>0||(m.$high===0&&m.$low>5))){f=true;}else if((m.$high<0||(m.$high===0&&m.$low<5))){f=false;}else{f=e||(n=new $Uint64(d.$high&0,(d.$low&1)>>>0),(n.$high===0&&n.$low===1));}if(!((m.$high===0&&m.$low===0))){e=true;}}if(f){d=(o=new $Uint64(0,1),new $Uint64(d.$high+o.$high,d.$low+o.$low));}if((d.$high>h.$high||(d.$high===h.$high&&d.$low>=h.$low))){d=$div64(d,(new $Uint64(0,10)),false);i=i+(1)>>0;}p=((g>>>0));c.nd=(g);q=d;while(true){if(!((q.$high>0||(q.$high===0&&q.$low>=100)))){break;}r=new $Uint64(0,0);s=new $Uint64(0,0);t=r;u=s;if((v=$shiftRightUint64(q,32),(v.$high===0&&v.$low===0))){w=(new $Uint64(0,(x=((q.$low>>>0))/100,(x===x&&x!==1/0&&x!==-1/0)?x>>>0:$throwRuntimeError("integer divide by zero"))));y=(new $Uint64(0,(z=((q.$low>>>0))%100,z===z?z:$throwRuntimeError("integer divide by zero"))));t=w;u=y;}else{aa=$div64(q,new $Uint64(0,100),false);ab=$div64(q,new $Uint64(0,100),true);t=aa;u=ab;}p=p-(2)>>>0;(ad=c.d,ae=p+1>>>0,((ae<0||ae>=ad.$length)?($throwRuntimeError("index out of range"),undefined):ad.$array[ad.$offset+ae]="00010203040506070809101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899".charCodeAt($flatten64((ac=$mul64(new $Uint64(0,2),u),new $Uint64(ac.$high+0,ac.$low+1))))));(ag=c.d,ah=p+0>>>0,((ah<0||ah>=ag.$length)?($throwRuntimeError("index out of range"),undefined):ag.$array[ag.$offset+ah]="00010203040506070809101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899".charCodeAt($flatten64((af=$mul64(new $Uint64(0,2),u),new $Uint64(af.$high+0,af.$low+0))))));q=t;}if((q.$high>0||(q.$high===0&&q.$low>0))){p=p-(1)>>>0;(aj=c.d,((p<0||p>=aj.$length)?($throwRuntimeError("index out of range"),undefined):aj.$array[aj.$offset+p]="00010203040506070809101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899".charCodeAt($flatten64((ai=$mul64(new $Uint64(0,2),q),new $Uint64(ai.$high+0,ai.$low+1))))));}if((q.$high>0||(q.$high===0&&q.$low>=10))){p=p-(1)>>>0;(ak=c.d,((p<0||p>=ak.$length)?($throwRuntimeError("index out of range"),undefined):ak.$array[ak.$offset+p]="00010203040506070809101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899".charCodeAt($flatten64($mul64(new $Uint64(0,2),q)))));}while(true){if(!((al=c.d,am=c.nd-1>>0,((am<0||am>=al.$length)?($throwRuntimeError("index out of range"),undefined):al.$array[al.$offset+am]))===48)){break;}c.nd=c.nd-(1)>>0;i=i+(1)>>0;}c.dp=c.nd+i>>0;};AZ=function(c,d,e,f){var aa,ab,ac,ad,ae,af,ag,ah,ai,aj,ak,al,am,an,ao,ap,aq,ar,as,at,au,av,aw,ax,ay,az,ba,bb,bc,bd,be,bf,bg,bh,bi,bj,bk,bl,bm,bn,bo,bp,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z;if((d.$high===0&&d.$low===0)){g=0;h=0;c.nd=g;c.dp=h;return;}if(e<=0&&B.TrailingZeros64(d)>=-e){d=$shiftRightUint64(d,(((-e>>>0))));BD(c,d,d,d,true,false);return;}i=BC(d,e,f);j=i[0];k=i[1];l=i[2];m=i[3];if(m===0){BD(c,j,k,l,true,false);return;}n=BA(-m)+1>>0;o=new $Uint64(0,0);p=new $Uint64(0,0);q=new $Uint64(0,0);r=o;s=p;t=q;u=false;v=false;w=false;x=u;y=v;z=w;if(f===BK){aa=0;ab=0;ac=0;ad=aa;ae=ab;af=ac;ag=BF(((j.$low>>>0)),m,n);ad=ag[0];x=ag[2];ah=BF(((k.$low>>>0)),m,n);ae=ah[0];y=ah[2];ai=BF(((l.$low>>>0)),m,n);af=ai[0];m=ai[1];z=ai[2];aj=(new $Uint64(0,ad));ak=(new $Uint64(0,ae));al=(new $Uint64(0,af));r=aj;s=ak;t=al;}else{am=BG(j,m,n);r=am[0];x=am[2];an=BG(k,m,n);s=an[0];y=an[2];ao=BG(l,m,n);t=ao[0];m=ao[1];z=ao[2];}if(m>=0){$panic(new $String("not enough significant bits after mult128bitPow10"));}if(n>55){ap=false;aq=false;ar=false;x=ap;y=aq;z=ar;}if(n<0&&n>=-24){if(BH(j,-n)){x=true;}if(BH(k,-n)){y=true;}if(BH(l,-n)){z=true;}}as=((-m>>>0));au=((at=$shiftLeft64(new $Uint64(0,1),as),new $Uint64(at.$high-0,at.$low-1)));av=$shiftRightUint64(r,as);aw=new $Uint64(r.$high&au.$high,(r.$low&au.$low)>>>0);r=av;ax=aw;ay=$shiftRightUint64(s,as);az=new $Uint64(s.$high&au.$high,(s.$low&au.$low)>>>0);s=ay;ba=az;bb=$shiftRightUint64(t,as);bc=new $Uint64(t.$high&au.$high,(t.$low&au.$low)>>>0);t=bb;bd=bc;be=!z||(bd.$high>0||(bd.$high===0&&bd.$low>0));if(z&&(bd.$high===0&&bd.$low===0)){be=(bf=new $Uint64(d.$high&0,(d.$low&1)>>>0),(bf.$high===0&&bf.$low===0));}if(!be){t=(bg=new $Uint64(0,1),new $Uint64(t.$high-bg.$high,t.$low-bg.$low));}bh=false;if(y){bh=(bi=$shiftLeft64(new $Uint64(0,1),((as-1>>>0))),(ba.$high>bi.$high||(ba.$high===bi.$high&&ba.$low>bi.$low)))||((bj=$shiftLeft64(new $Uint64(0,1),((as-1>>>0))),(ba.$high===bj.$high&&ba.$low===bj.$low))&&(bk=new $Uint64(s.$high&0,(s.$low&1)>>>0),(bk.$high===0&&bk.$low===1)));}else{bh=(bl=$shiftRightUint64(ba,((as-1>>>0))),(bl.$high===0&&bl.$low===1));}bn=x&&(ax.$high===0&&ax.$low===0)&&((bm=new $Uint64(d.$high&0,(d.$low&1)>>>0),(bm.$high===0&&bm.$low===0)));if(!bn){r=(bo=new $Uint64(0,1),new $Uint64(r.$high+bo.$high,r.$low+bo.$low));}bp=y&&(ba.$high===0&&ba.$low===0);BD(c,r,s,t,bp,bh);c.dp=c.dp-(n)>>0;};BA=function(c){var c;return(($imul(c,78913)))>>18>>0;};BB=function(c){var c;return(($imul(c,108853)))>>15>>0;};BC=function(c,d,e){var c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t;f=new $Uint64(0,0);g=new $Uint64(0,0);h=new $Uint64(0,0);i=0;if(!((j=$shiftLeft64(new $Uint64(0,1),e.mantbits),(c.$high===j.$high&&c.$low===j.$low)))||(d===((e.bias+1>>0)-((e.mantbits>>0))>>0))){k=(l=$mul64(new $Uint64(0,2),c),new $Uint64(l.$high-0,l.$low-1));m=$mul64(new $Uint64(0,2),c);n=(o=$mul64(new $Uint64(0,2),c),new $Uint64(o.$high+0,o.$low+1));f=k;g=m;h=n;i=d-1>>0;return[f,g,h,i];}else{p=(q=$mul64(new $Uint64(0,4),c),new $Uint64(q.$high-0,q.$low-1));r=$mul64(new $Uint64(0,4),c);s=(t=$mul64(new $Uint64(0,4),c),new $Uint64(t.$high+0,t.$low+2));f=p;g=r;h=s;i=d-2>>0;return[f,g,h,i];}};BD=function(c,d,e,f,g,h){var aa,ab,ac,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z;i=BI(d);j=i[0];k=i[1];l=BI(e);m=l[0];n=l[1];o=BI(f);p=o[0];q=o[1];if(p===0){BE(c,k,n,q,g,h,8);}else if(j>>0;}g=g&&(n===0);h=(n>500000000)||((n===500000000)&&h);BE(c,j,m,p,g,h,8);c.dp=c.dp+(9)>>0;}else{c.nd=0;r=9;s=m;while(true){if(!(s>0)){break;}t=(u=s/10,(u===u&&u!==1/0&&u!==-1/0)?u>>>0:$throwRuntimeError("integer divide by zero"));v=(w=s%10,w===w?w:$throwRuntimeError("integer divide by zero"));x=t;y=v;s=x;r=r-(1)>>>0;(z=c.d,((r<0||r>=z.$length)?($throwRuntimeError("index out of range"),undefined):z.$array[z.$offset+r]=(((y+48>>>0)<<24>>>24))));}c.d=$subslice(c.d,r);c.nd=(((9-r>>>0)>>0));BE(c,k,n,q,g,h,c.nd+8>>0);}while(true){if(!(c.nd>0&&((aa=c.d,ab=c.nd-1>>0,((ab<0||ab>=aa.$length)?($throwRuntimeError("index out of range"),undefined):aa.$array[aa.$offset+ab]))===48))){break;}c.nd=c.nd-(1)>>0;}while(true){if(!(c.nd>0&&((ac=c.d,(0>=ac.$length?($throwRuntimeError("index out of range"),undefined):ac.$array[ac.$offset+0]))===48))){break;}c.nd=c.nd-(1)>>0;c.dp=c.dp-(1)>>0;c.d=$subslice(c.d,1);}};BE=function(c,d,e,f,g,h,i){var aa,ab,ac,ad,ae,af,ag,ah,ai,aj,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z;if(f===0){c.dp=i+1>>0;return;}j=0;k=0;while(true){if(!(f>0)){break;}m=(l=((d+9>>>0))/10,(l===l&&l!==1/0&&l!==-1/0)?l>>>0:$throwRuntimeError("integer divide by zero"));n=(o=e/10,(o===o&&o!==1/0&&o!==-1/0)?o>>>0:$throwRuntimeError("integer divide by zero"));p=(q=e%10,q===q?q:$throwRuntimeError("integer divide by zero"));r=n;s=p;u=(t=f/10,(t===t&&t!==1/0&&t!==-1/0)?t>>>0:$throwRuntimeError("integer divide by zero"));if(m>u){break;}if((m===(r+1>>>0))&&r>>0;s=0;h=false;}j=j+(1)>>0;g=g&&(k===0);k=((s>>0));v=m;w=r;x=u;d=v;e=w;f=x;}if(j>0){h=k>5||((k===5)&&!g)||((k===5)&&g&&(((e&1)>>>0)===1));}if(e>>0;}i=i-(j)>>0;y=e;z=i;while(true){if(!(z>c.nd)){break;}aa=(ab=y/100,(ab===ab&&ab!==1/0&&ab!==-1/0)?ab>>>0:$throwRuntimeError("integer divide by zero"));ac=(ad=y%100,ad===ad?ad:$throwRuntimeError("integer divide by zero"));ae=aa;af=ac;(ag=c.d,((z<0||z>=ag.$length)?($throwRuntimeError("index out of range"),undefined):ag.$array[ag.$offset+z]="00010203040506070809101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899".charCodeAt((($imul(2,af)>>>0)+1>>>0))));(ah=c.d,ai=z-1>>0,((ai<0||ai>=ah.$length)?($throwRuntimeError("index out of range"),undefined):ah.$array[ah.$offset+ai]="00010203040506070809101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899".charCodeAt((($imul(2,af)>>>0)+0>>>0))));z=z-(2)>>0;y=ae;}if(z===c.nd){(aj=c.d,((z<0||z>=aj.$length)?($throwRuntimeError("index out of range"),undefined):aj.$array[aj.$offset+z]=(((y+48>>>0)<<24>>>24))));}c.nd=i+1>>0;c.dp=c.nd+j>>0;};BF=function(c,d,e){var c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w;f=0;g=0;h=false;if(e===0){i=c<<6>>>0;j=d-6>>0;k=true;f=i;g=j;h=k;return[f,g,h];}if(e<-348||347>0,((l<0||l>=CB.length)?($throwRuntimeError("index out of range"),undefined):CB[l]))[1];if(e<0){m=(n=new $Uint64(0,1),new $Uint64(m.$high+n.$high,m.$low+n.$low));}o=B.Mul64((new $Uint64(0,c)),m);p=o[0];q=o[1];d=d+(((BB(e)-63>>0)+57>>0))>>0;r=(((s=$shiftLeft64(p,7),t=$shiftRightUint64(q,57),new $Uint64(s.$high|t.$high,(s.$low|t.$low)>>>0)).$low>>>0));u=d;v=(w=$shiftLeft64(q,7),(w.$high===0&&w.$low===0));f=r;g=u;h=v;return[f,g,h];};BG=function(c,d,e){var aa,ab,ac,ad,ae,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z;f=new $Uint64(0,0);g=0;h=false;if(e===0){i=$shiftLeft64(c,8);j=d-8>>0;k=true;f=i;g=j;h=k;return[f,g,h];}if(e<-348||347>0,((l<0||l>=CB.length)?($throwRuntimeError("index out of range"),undefined):CB[l])),DV);if(e<0){m[0]=(n=m[0],o=new $Uint64(0,1),new $Uint64(n.$high+o.$high,n.$low+o.$low));}d=d+(((BB(e)-127>>0)+119>>0))>>0;p=B.Mul64(c,m[0]);q=p[0];r=p[1];s=B.Mul64(c,m[1]);t=s[0];u=s[1];v=B.Add64(q,u,new $Uint64(0,0));w=v[0];x=v[1];t=(y=x,new $Uint64(t.$high+y.$high,t.$low+y.$low));z=(aa=$shiftLeft64(t,9),ab=$shiftRightUint64(w,55),new $Uint64(aa.$high|ab.$high,(aa.$low|ab.$low)>>>0));ac=d;ad=(ae=$shiftLeft64(w,9),(ae.$high===0&&ae.$low===0))&&(r.$high===0&&r.$low===0);f=z;g=ac;h=ad;return[f,g,h];};BH=function(c,d){var c,d,e,f;if((c.$high===0&&c.$low===0)){return true;}e=0;while(true){if(!(e>0;}return true;};BI=function(c){var c,d,e,f,g;if(false){return[(($div64(c,new $Uint64(0,1000000000),false).$low>>>0)),(($div64(c,new $Uint64(0,1000000000),true).$low>>>0))];}d=B.Mul64($shiftRightUint64(c,1),new $Uint64(2305843009,917808536));e=d[0];f=$shiftRightUint64(e,28);return[((f.$low>>>0)),(((g=$mul64(f,new $Uint64(0,1000000000)),new $Uint64(c.$high-g.$high,c.$low-g.$low)).$low>>>0))];};BN=function(c,d,e,f,g){var c,d,e,f,g;return BO(c,d,e,f,g);};$pkg.AppendFloat=BN;BO=function(c,d,e,f,g){var aa,ab,ac,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z;h=new $Uint64(0,0);i=ED.nil;j=g;if(j===(32)){h=(new $Uint64(0,C.Float32bits(($fround(d)))));i=BK;}else if(j===(64)){h=C.Float64bits(d);i=BL;}else{$panic(new $String("strconv: illegal AppendFloat/FormatFloat bitSize"));}l=!((k=$shiftRightUint64(h,((i.expbits+i.mantbits>>>0))),(k.$high===0&&k.$low===0)));n=(($shiftRightUint64(h,i.mantbits).$low>>0))&((((m=i.expbits,m<32?(1<>0)-1>>0));q=(o=(p=$shiftLeft64(new $Uint64(0,1),i.mantbits),new $Uint64(p.$high-0,p.$low-1)),new $Uint64(h.$high&o.$high,(h.$low&o.$low)>>>0));r=n;if(r===((((s=i.expbits,s<32?(1<>0)-1>>0))){t="";if(!((q.$high===0&&q.$low===0))){t="NaN";}else if(l){t="-Inf";}else{t="+Inf";}return $appendSlice(c,t);}else if(r===(0)){n=n+(1)>>0;}else{q=(u=$shiftLeft64(new $Uint64(0,1),i.mantbits),new $Uint64(q.$high|u.$high,(q.$low|u.$low)>>>0));}n=n+(i.bias)>>0;if(e===98){return BV(c,l,q,n,i);}if((e===120)||(e===88)){return BW(c,f,e,l,q,n,i);}if(!CW){return BP(c,f,e,l,q,n,i);}v=new BS.ptr(EA.nil,0,0,false);w=false;x=f<0;if(x){y=EE.zero();v.d=new EA(y);AZ(v,q,n-((i.mantbits>>0))>>0,i);w=true;z=e;if((z===(101))||(z===(69))){f=BY(v.nd-1>>0,0);}else if(z===(102)){f=BY(v.nd-v.dp>>0,0);}else if((z===(103))||(z===(71))){f=v.nd;}}else if(!((e===102))){aa=f;ab=e;if((ab===(101))||(ab===(69))){aa=aa+(1)>>0;}else if((ab===(103))||(ab===(71))){if(f===0){f=1;}aa=f;}ac=EF.zero();if((g===32)&&aa<=9){v.d=new EA(ac);AV(v,((q.$low>>>0)),n-((i.mantbits>>0))>>0,aa);w=true;}else if(aa<=18){v.d=new EA(ac);AW(v,q,n-((i.mantbits>>0))>>0,aa);w=true;}}if(!w){return BP(c,f,e,l,q,n,i);}return BQ(c,x,l,$clone(v,BS),f,e);};BP=function(c,d,e,f,g,h,i){var c,d,e,f,g,h,i,j,k,l,m,n;j=new CC.ptr(EG.zero(),0,0,false,false);j.Assign(g);j.Shift(h-((i.mantbits>>0))>>0);k=new BS.ptr(EA.nil,0,0,false);l=d<0;if(l){BR(j,g,h,i);BS.copy(k,new BS.ptr(new EA(j.d),j.nd,j.dp,false));m=e;if((m===(101))||(m===(69))){d=k.nd-1>>0;}else if(m===(102)){d=BY(k.nd-k.dp>>0,0);}else if((m===(103))||(m===(71))){d=k.nd;}}else{n=e;if((n===(101))||(n===(69))){j.Round(d+1>>0);}else if(n===(102)){j.Round(j.dp+d>>0);}else if((n===(103))||(n===(71))){if(d===0){d=1;}j.Round(d);}BS.copy(k,new BS.ptr(new EA(j.d),j.nd,j.dp,false));}return BQ(c,l,f,$clone(k,BS),d,e);};BQ=function(c,d,e,f,g,h){var c,d,e,f,g,h,i,j,k;i=h;if((i===(101))||(i===(69))){return BT(c,e,$clone(f,BS),g,h);}else if(i===(102)){return BU(c,e,$clone(f,BS),g);}else if((i===(103))||(i===(71))){j=g;if(j>f.nd&&f.nd>=f.dp){j=f.nd;}if(d){j=6;}k=f.dp-1>>0;if(k<-4||k>=j){if(g>f.nd){g=f.nd;}return BT(c,e,$clone(f,BS),g-1>>0,(h+101<<24>>>24)-103<<24>>>24);}if(g>f.dp){g=f.nd;}return BU(c,e,$clone(f,BS),BY(g-f.dp>>0,0));}return $append(c,37,h);};BR=function(c,d,e,f){var aa,ab,ac,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z;if((d.$high===0&&d.$low===0)){c.nd=0;return;}g=f.bias+1>>0;if(e>g&&($imul(332,((c.dp-c.nd>>0))))>=($imul(100,((e-((f.mantbits>>0))>>0))))){return;}h=new CC.ptr(EG.zero(),0,0,false,false);h.Assign((i=$mul64(d,new $Uint64(0,2)),new $Uint64(i.$high+0,i.$low+1)));h.Shift((e-((f.mantbits>>0))>>0)-1>>0);j=new $Uint64(0,0);k=0;if((l=$shiftLeft64(new $Uint64(0,1),f.mantbits),(d.$high>l.$high||(d.$high===l.$high&&d.$low>l.$low)))||(e===g)){j=new $Uint64(d.$high-0,d.$low-1);k=e;}else{j=(m=$mul64(d,new $Uint64(0,2)),new $Uint64(m.$high-0,m.$low-1));k=e-1>>0;}n=new CC.ptr(EG.zero(),0,0,false,false);n.Assign((o=$mul64(j,new $Uint64(0,2)),new $Uint64(o.$high+0,o.$low+1)));n.Shift((k-((f.mantbits>>0))>>0)-1>>0);q=(p=$div64(d,new $Uint64(0,2),true),(p.$high===0&&p.$low===0));r=0;s=0;while(true){t=(s-h.dp>>0)+c.dp>>0;if(t>=c.nd){break;}u=(s-h.dp>>0)+n.dp>>0;v=48;if(u>=0&&u=w.length)?($throwRuntimeError("index out of range"),undefined):w[u]));}x=48;if(t>=0){x=(y=c.d,((t<0||t>=y.length)?($throwRuntimeError("index out of range"),undefined):y[t]));}z=48;if(s=aa.length)?($throwRuntimeError("index out of range"),undefined):aa[s]));}ab=!((v===x))||q&&((u+1>>0)===n.nd);if((r===0)&&(x+1<<24>>>24)0&&(q||r>1||(s+1>>0)>0);return;}else if(ab){c.RoundDown(t+1>>0);return;}else if(ac){c.RoundUp(t+1>>0);return;}s=s+(1)>>0;}};BT=function(c,d,e,f,g){var c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r;if(d){c=$append(c,45);}h=48;if(!((e.nd===0))){h=(i=e.d,(0>=i.$length?($throwRuntimeError("index out of range"),undefined):i.$array[i.$offset+0]));}c=$append(c,h);if(f>0){c=$append(c,46);j=1;k=BX(e.nd,f+1>>0);if(j>0;}}c=$append(c,g);l=e.dp-1>>0;if(e.nd===0){l=0;}if(l<0){h=45;l=-l;}else{h=43;}c=$append(c,h);if(l<10){c=$append(c,48,((l<<24>>>24))+48<<24>>>24);}else if(l<100){c=$append(c,(((m=l/10,(m===m&&m!==1/0&&m!==-1/0)?m>>0:$throwRuntimeError("integer divide by zero"))<<24>>>24))+48<<24>>>24,(((n=l%10,n===n?n:$throwRuntimeError("integer divide by zero"))<<24>>>24))+48<<24>>>24);}else{c=$append(c,(((o=l/100,(o===o&&o!==1/0&&o!==-1/0)?o>>0:$throwRuntimeError("integer divide by zero"))<<24>>>24))+48<<24>>>24,(p=(((q=l/10,(q===q&&q!==1/0&&q!==-1/0)?q>>0:$throwRuntimeError("integer divide by zero"))<<24>>>24))%10,p===p?p:$throwRuntimeError("integer divide by zero"))+48<<24>>>24,(((r=l%10,r===r?r:$throwRuntimeError("integer divide by zero"))<<24>>>24))+48<<24>>>24);}return c;};BU=function(c,d,e,f){var c,d,e,f,g,h,i,j,k;if(d){c=$append(c,45);}if(e.dp>0){g=BX(e.nd,e.dp);c=$appendSlice(c,$subslice(e.d,0,g));while(true){if(!(g>0;}}else{c=$append(c,48);}if(f>0){c=$append(c,46);h=0;while(true){if(!(h>0;if(0<=j&&j=k.$length)?($throwRuntimeError("index out of range"),undefined):k.$array[k.$offset+j]));}c=$append(c,i);h=h+(1)>>0;}}return c;};BV=function(c,d,e,f,g){var c,d,e,f,g,h,i;if(d){c=$append(c,45);}h=AO(c,e,10,false,true);c=h[0];c=$append(c,112);f=f-(((g.mantbits>>0)))>>0;if(f>=0){c=$append(c,43);}i=AO(c,(new $Uint64(0,f)),10,f<0,true);c=i[0];return c;};BW=function(c,d,e,f,g,h,i){var aa,ab,ac,ad,ae,af,ag,ah,ai,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z;if((g.$high===0&&g.$low===0)){h=0;}g=$shiftLeft64(g,((60-i.mantbits>>>0)));while(true){if(!(!((g.$high===0&&g.$low===0))&&(j=new $Uint64(g.$high&268435456,(g.$low&0)>>>0),(j.$high===0&&j.$low===0)))){break;}g=$shiftLeft64(g,(1));h=h-(1)>>0;}if(d>=0&&d<15){k=((($imul(d,4))>>>0));m=(l=$shiftLeft64(g,k),new $Uint64(l.$high&268435455,(l.$low&4294967295)>>>0));g=$shiftRightUint64(g,((60-k>>>0)));if((n=(o=new $Uint64(g.$high&0,(g.$low&1)>>>0),new $Uint64(m.$high|o.$high,(m.$low|o.$low)>>>0)),(n.$high>134217728||(n.$high===134217728&&n.$low>0)))){g=(p=new $Uint64(0,1),new $Uint64(g.$high+p.$high,g.$low+p.$low));}g=$shiftLeft64(g,((60-k>>>0)));if(!((q=new $Uint64(g.$high&536870912,(g.$low&0)>>>0),(q.$high===0&&q.$low===0)))){g=$shiftRightUint64(g,(1));h=h+(1)>>0;}}r="0123456789abcdef";if(e===88){r="0123456789ABCDEF";}if(f){c=$append(c,45);}c=$append(c,48,e,48+(((s=$shiftRightUint64(g,60),new $Uint64(s.$high&0,(s.$low&1)>>>0)).$low<<24>>>24))<<24>>>24);g=$shiftLeft64(g,(4));if(d<0&&!((g.$high===0&&g.$low===0))){c=$append(c,46);while(true){if(!(!((g.$high===0&&g.$low===0)))){break;}c=$append(c,r.charCodeAt($flatten64((t=$shiftRightUint64(g,60),new $Uint64(t.$high&0,(t.$low&15)>>>0)))));g=$shiftLeft64(g,(4));}}else if(d>0){c=$append(c,46);u=0;while(true){if(!(u>>0)))));g=$shiftLeft64(g,(4));u=u+(1)>>0;}}w=80;if(e===CN(e)){w=112;}c=$append(c,w);if(h<0){w=45;h=-h;}else{w=43;}c=$append(c,w);if(h<100){c=$append(c,(((x=h/10,(x===x&&x!==1/0&&x!==-1/0)?x>>0:$throwRuntimeError("integer divide by zero"))<<24>>>24))+48<<24>>>24,(((y=h%10,y===y?y:$throwRuntimeError("integer divide by zero"))<<24>>>24))+48<<24>>>24);}else if(h<1000){c=$append(c,(((z=h/100,(z===z&&z!==1/0&&z!==-1/0)?z>>0:$throwRuntimeError("integer divide by zero"))<<24>>>24))+48<<24>>>24,(((aa=((ab=h/10,(ab===ab&&ab!==1/0&&ab!==-1/0)?ab>>0:$throwRuntimeError("integer divide by zero")))%10,aa===aa?aa:$throwRuntimeError("integer divide by zero"))<<24>>>24))+48<<24>>>24,(((ac=h%10,ac===ac?ac:$throwRuntimeError("integer divide by zero"))<<24>>>24))+48<<24>>>24);}else{c=$append(c,(((ad=h/1000,(ad===ad&&ad!==1/0&&ad!==-1/0)?ad>>0:$throwRuntimeError("integer divide by zero"))<<24>>>24))+48<<24>>>24,(ae=(((af=h/100,(af===af&&af!==1/0&&af!==-1/0)?af>>0:$throwRuntimeError("integer divide by zero"))<<24>>>24))%10,ae===ae?ae:$throwRuntimeError("integer divide by zero"))+48<<24>>>24,(((ag=((ah=h/10,(ah===ah&&ah!==1/0&&ah!==-1/0)?ah>>0:$throwRuntimeError("integer divide by zero")))%10,ag===ag?ag:$throwRuntimeError("integer divide by zero"))<<24>>>24))+48<<24>>>24,(((ai=h%10,ai===ai?ai:$throwRuntimeError("integer divide by zero"))<<24>>>24))+48<<24>>>24);}return c;};BX=function(c,d){var c,d;if(cd){return c;}return d;};CC.ptr.prototype.String=function(){var c,d,e,f;c=this;d=10+c.nd>>0;if(c.dp>0){d=d+(c.dp)>>0;}if(c.dp<0){d=d+(-c.dp)>>0;}e=$makeSlice(EA,d);f=0;if((c.nd===0)){return"0";}else if(c.dp<=0){((f<0||f>=e.$length)?($throwRuntimeError("index out of range"),undefined):e.$array[e.$offset+f]=48);f=f+(1)>>0;((f<0||f>=e.$length)?($throwRuntimeError("index out of range"),undefined):e.$array[e.$offset+f]=46);f=f+(1)>>0;f=f+(CD($subslice(e,f,(f+-c.dp>>0))))>>0;f=f+($copySlice($subslice(e,f),$subslice(new EA(c.d),0,c.nd)))>>0;}else if(c.dp>0;((f<0||f>=e.$length)?($throwRuntimeError("index out of range"),undefined):e.$array[e.$offset+f]=46);f=f+(1)>>0;f=f+($copySlice($subslice(e,f),$subslice(new EA(c.d),c.dp,c.nd)))>>0;}else{f=f+($copySlice($subslice(e,f),$subslice(new EA(c.d),0,c.nd)))>>0;f=f+(CD($subslice(e,f,((f+c.dp>>0)-c.nd>>0))))>>0;}return($bytesToString($subslice(e,0,f)));};CC.prototype.String=function(){return this.$val.String();};CD=function(c){var c,d,e,f;d=c;e=0;while(true){if(!(e=c.$length)?($throwRuntimeError("index out of range"),undefined):c.$array[c.$offset+f]=48);e++;}return c.$length;};CE=function(c){var c,d,e;while(true){if(!(c.nd>0&&((d=c.d,e=c.nd-1>>0,((e<0||e>=d.length)?($throwRuntimeError("index out of range"),undefined):d[e]))===48))){break;}c.nd=c.nd-(1)>>0;}if(c.nd===0){c.dp=0;}};CC.ptr.prototype.Assign=function(c){var c,d,e,f,g,h,i,j;d=this;e=EF.zero();f=0;while(true){if(!((c.$high>0||(c.$high===0&&c.$low>0)))){break;}g=$div64(c,new $Uint64(0,10),false);c=(h=$mul64(new $Uint64(0,10),g),new $Uint64(c.$high-h.$high,c.$low-h.$low));((f<0||f>=e.length)?($throwRuntimeError("index out of range"),undefined):e[f]=((new $Uint64(c.$high+0,c.$low+48).$low<<24>>>24)));f=f+(1)>>0;c=g;}d.nd=0;f=f-(1)>>0;while(true){if(!(f>=0)){break;}(i=d.d,j=d.nd,((j<0||j>=i.length)?($throwRuntimeError("index out of range"),undefined):i[j]=((f<0||f>=e.length)?($throwRuntimeError("index out of range"),undefined):e[f])));d.nd=d.nd+(1)>>0;f=f-(1)>>0;}d.dp=d.nd;CE(d);};CC.prototype.Assign=function(c){return this.$val.Assign(c);};CF=function(c,d){var c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u;e=0;f=0;g=0;while(true){if(!(((h=d,h<32?(g>>>h):0)>>>0)===0)){break;}if(e>=c.nd){if(g===0){c.nd=0;return;}while(true){if(!(((i=d,i<32?(g>>>i):0)>>>0)===0)){break;}g=g*10>>>0;e=e+(1)>>0;}break;}k=(((j=c.d,((e<0||e>=j.length)?($throwRuntimeError("index out of range"),undefined):j[e]))>>>0));g=((g*10>>>0)+k>>>0)-48>>>0;e=e+(1)>>0;}c.dp=c.dp-((e-1>>0))>>0;m=(((l=d,l<32?(1<>>0))-1>>>0;while(true){if(!(e=n.length)?($throwRuntimeError("index out of range"),undefined):n[e]))>>>0));q=(p=d,p<32?(g>>>p):0)>>>0;g=(g&(m))>>>0;(r=c.d,((f<0||f>=r.length)?($throwRuntimeError("index out of range"),undefined):r[f]=(((q+48>>>0)<<24>>>24))));f=f+(1)>>0;g=((g*10>>>0)+o>>>0)-48>>>0;e=e+(1)>>0;}while(true){if(!(g>0)){break;}t=(s=d,s<32?(g>>>s):0)>>>0;g=(g&(m))>>>0;if(f<800){(u=c.d,((f<0||f>=u.length)?($throwRuntimeError("index out of range"),undefined):u[f]=(((t+48>>>0)<<24>>>24))));f=f+(1)>>0;}else if(t>0){c.trunc=true;}g=g*10>>>0;}c.nd=f;CE(c);};CI=function(c,d){var c,d,e;e=0;while(true){if(!(e=c.$length){return true;}if(!((((e<0||e>=c.$length)?($throwRuntimeError("index out of range"),undefined):c.$array[c.$offset+e])===d.charCodeAt(e)))){return((e<0||e>=c.$length)?($throwRuntimeError("index out of range"),undefined):c.$array[c.$offset+e])>0;}return false;};CJ=function(c,d){var c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r;e=((d<0||d>=CH.$length)?($throwRuntimeError("index out of range"),undefined):CH.$array[CH.$offset+d]).delta;if(CI($subslice(new EA(c.d),0,c.nd),((d<0||d>=CH.$length)?($throwRuntimeError("index out of range"),undefined):CH.$array[CH.$offset+d]).cutoff)){e=e-(1)>>0;}f=c.nd;g=c.nd+e>>0;h=0;f=f-(1)>>0;while(true){if(!(f>=0)){break;}h=h+(((i=d,i<32?((((((j=c.d,((f<0||f>=j.length)?($throwRuntimeError("index out of range"),undefined):j[f]))>>>0))-48>>>0))<>>0))>>>0;l=(k=h/10,(k===k&&k!==1/0&&k!==-1/0)?k>>>0:$throwRuntimeError("integer divide by zero"));m=h-(10*l>>>0)>>>0;g=g-(1)>>0;if(g<800){(n=c.d,((g<0||g>=n.length)?($throwRuntimeError("index out of range"),undefined):n[g]=(((m+48>>>0)<<24>>>24))));}else if(!((m===0))){c.trunc=true;}h=l;f=f-(1)>>0;}while(true){if(!(h>0)){break;}p=(o=h/10,(o===o&&o!==1/0&&o!==-1/0)?o>>>0:$throwRuntimeError("integer divide by zero"));q=h-(10*p>>>0)>>>0;g=g-(1)>>0;if(g<800){(r=c.d,((g<0||g>=r.length)?($throwRuntimeError("index out of range"),undefined):r[g]=(((q+48>>>0)<<24>>>24))));}else if(!((q===0))){c.trunc=true;}h=p;}c.nd=c.nd+(e)>>0;if(c.nd>=800){c.nd=800;}c.dp=c.dp+(e)>>0;CE(c);};CC.ptr.prototype.Shift=function(c){var c,d;d=this;if((d.nd===0)){}else if(c>0){while(true){if(!(c>28)){break;}CJ(d,28);c=c-(28)>>0;}CJ(d,((c>>>0)));}else if(c<0){while(true){if(!(c<-28)){break;}CF(d,28);c=c+(28)>>0;}CF(d,((-c>>>0)));}};CC.prototype.Shift=function(c){return this.$val.Shift(c);};CK=function(c,d){var c,d,e,f,g,h,i;if(d<0||d>=c.nd){return false;}if(((e=c.d,((d<0||d>=e.length)?($throwRuntimeError("index out of range"),undefined):e[d]))===53)&&((d+1>>0)===c.nd)){if(c.trunc){return true;}return d>0&&!(((f=(((g=c.d,h=d-1>>0,((h<0||h>=g.length)?($throwRuntimeError("index out of range"),undefined):g[h]))-48<<24>>>24))%2,f===f?f:$throwRuntimeError("integer divide by zero"))===0));}return(i=c.d,((d<0||d>=i.length)?($throwRuntimeError("index out of range"),undefined):i[d]))>=53;};CC.ptr.prototype.Round=function(c){var c,d;d=this;if(c<0||c>=d.nd){return;}if(CK(d,c)){d.RoundUp(c);}else{d.RoundDown(c);}};CC.prototype.Round=function(c){return this.$val.Round(c);};CC.ptr.prototype.RoundDown=function(c){var c,d;d=this;if(c<0||c>=d.nd){return;}d.nd=c;CE(d);};CC.prototype.RoundDown=function(c){return this.$val.RoundDown(c);};CC.ptr.prototype.RoundUp=function(c){var c,d,e,f,g,h,i;d=this;if(c<0||c>=d.nd){return;}e=c-1>>0;while(true){if(!(e>=0)){break;}g=(f=d.d,((e<0||e>=f.length)?($throwRuntimeError("index out of range"),undefined):f[e]));if(g<57){(i=d.d,((e<0||e>=i.length)?($throwRuntimeError("index out of range"),undefined):i[e]=((h=d.d,((e<0||e>=h.length)?($throwRuntimeError("index out of range"),undefined):h[e]))+(1)<<24>>>24)));d.nd=e+1>>0;return;}e=e-(1)>>0;}d.d[0]=49;d.nd=1;d.dp=d.dp+(1)>>0;};CC.prototype.RoundUp=function(c){return this.$val.RoundUp(c);};CC.ptr.prototype.RoundedInteger=function(){var c,d,e,f,g,h,i;c=this;if(c.dp>20){return new $Uint64(4294967295,4294967295);}d=0;e=new $Uint64(0,0);d=0;while(true){if(!(d=h.length)?($throwRuntimeError("index out of range"),undefined):h[d]))-48<<24>>>24))),new $Uint64(f.$high+g.$high,f.$low+g.$low));d=d+(1)>>0;}while(true){if(!(d>0;}if(CK(c,c.dp)){e=(i=new $Uint64(0,1),new $Uint64(e.$high+i.$high,e.$low+i.$low));}return e;};CC.prototype.RoundedInteger=function(){return this.$val.RoundedInteger();};CM=function(c,d){var c,d;return D.IndexByteString(c,d);};CN=function(c){var c;return(c|32)>>>0;};DP=function(c){var c;return $internalize(c.toString(),$String);};$pkg.Itoa=DP;EI.methods=[{prop:"String",name:"String",pkg:"",typ:$funcType([],[$String],false)},{prop:"Assign",name:"Assign",pkg:"",typ:$funcType([$Uint64],[],false)},{prop:"Shift",name:"Shift",pkg:"",typ:$funcType([$Int],[],false)},{prop:"Round",name:"Round",pkg:"",typ:$funcType([$Int],[],false)},{prop:"RoundDown",name:"RoundDown",pkg:"",typ:$funcType([$Int],[],false)},{prop:"RoundUp",name:"RoundUp",pkg:"",typ:$funcType([$Int],[],false)},{prop:"RoundedInteger",name:"RoundedInteger",pkg:"",typ:$funcType([],[$Uint64],false)},{prop:"set",name:"set",pkg:"strconv",typ:$funcType([$String],[$Bool],false)},{prop:"floatBits",name:"floatBits",pkg:"strconv",typ:$funcType([ED],[$Uint64,$Bool],false)}];BJ.init("strconv",[{prop:"mantbits",name:"mantbits",embedded:false,exported:false,typ:$Uint,tag:""},{prop:"expbits",name:"expbits",embedded:false,exported:false,typ:$Uint,tag:""},{prop:"bias",name:"bias",embedded:false,exported:false,typ:$Int,tag:""}]);BS.init("strconv",[{prop:"d",name:"d",embedded:false,exported:false,typ:EA,tag:""},{prop:"nd",name:"nd",embedded:false,exported:false,typ:$Int,tag:""},{prop:"dp",name:"dp",embedded:false,exported:false,typ:$Int,tag:""},{prop:"neg",name:"neg",embedded:false,exported:false,typ:$Bool,tag:""}]);CC.init("strconv",[{prop:"d",name:"d",embedded:false,exported:false,typ:EG,tag:""},{prop:"nd",name:"nd",embedded:false,exported:false,typ:$Int,tag:""},{prop:"dp",name:"dp",embedded:false,exported:false,typ:$Int,tag:""},{prop:"neg",name:"neg",embedded:false,exported:false,typ:$Bool,tag:""},{prop:"trunc",name:"trunc",embedded:false,exported:false,typ:$Bool,tag:""}]);CG.init("strconv",[{prop:"delta",name:"delta",embedded:false,exported:false,typ:$Int,tag:""},{prop:"cutoff",name:"cutoff",embedded:false,exported:false,typ:$String,tag:""}]);$init=function(){$pkg.$init=function(){};var $f,$c=false,$s=0,$r;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:$r=E.$init();$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=F.$init();$s=2;case 2:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=D.$init();$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=C.$init();$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=B.$init();$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=A.$init();$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}AQ=new DT([32,126,161,887,890,895,900,1366,1369,1418,1421,1479,1488,1514,1519,1524,1542,1563,1566,1805,1808,1866,1869,1969,1984,2042,2045,2093,2096,2139,2142,2154,2208,2247,2259,2444,2447,2448,2451,2482,2486,2489,2492,2500,2503,2504,2507,2510,2519,2519,2524,2531,2534,2558,2561,2570,2575,2576,2579,2617,2620,2626,2631,2632,2635,2637,2641,2641,2649,2654,2662,2678,2689,2745,2748,2765,2768,2768,2784,2787,2790,2801,2809,2828,2831,2832,2835,2873,2876,2884,2887,2888,2891,2893,2901,2903,2908,2915,2918,2935,2946,2954,2958,2965,2969,2975,2979,2980,2984,2986,2990,3001,3006,3010,3014,3021,3024,3024,3031,3031,3046,3066,3072,3129,3133,3149,3157,3162,3168,3171,3174,3183,3191,3257,3260,3277,3285,3286,3294,3299,3302,3314,3328,3407,3412,3427,3430,3478,3482,3517,3520,3526,3530,3530,3535,3551,3558,3567,3570,3572,3585,3642,3647,3675,3713,3773,3776,3789,3792,3801,3804,3807,3840,3948,3953,4058,4096,4295,4301,4301,4304,4685,4688,4701,4704,4749,4752,4789,4792,4805,4808,4885,4888,4954,4957,4988,4992,5017,5024,5109,5112,5117,5120,5788,5792,5880,5888,5908,5920,5942,5952,5971,5984,6003,6016,6109,6112,6121,6128,6137,6144,6157,6160,6169,6176,6264,6272,6314,6320,6389,6400,6443,6448,6459,6464,6464,6468,6509,6512,6516,6528,6571,6576,6601,6608,6618,6622,6683,6686,6780,6783,6793,6800,6809,6816,6829,6832,6848,6912,6987,6992,7036,7040,7155,7164,7223,7227,7241,7245,7304,7312,7354,7357,7367,7376,7418,7424,7957,7960,7965,7968,8005,8008,8013,8016,8061,8064,8147,8150,8175,8178,8190,8208,8231,8240,8286,8304,8305,8308,8348,8352,8383,8400,8432,8448,8587,8592,9254,9280,9290,9312,11123,11126,11507,11513,11559,11565,11565,11568,11623,11631,11632,11647,11670,11680,11858,11904,12019,12032,12245,12272,12283,12289,12438,12441,12543,12549,12771,12784,40956,40960,42124,42128,42182,42192,42539,42560,42743,42752,42943,42946,42954,42997,43052,43056,43065,43072,43127,43136,43205,43214,43225,43232,43347,43359,43388,43392,43481,43486,43574,43584,43597,43600,43609,43612,43714,43739,43766,43777,43782,43785,43790,43793,43798,43808,43883,43888,44013,44016,44025,44032,55203,55216,55238,55243,55291,63744,64109,64112,64217,64256,64262,64275,64279,64285,64449,64467,64831,64848,64911,64914,64967,65008,65021,65024,65049,65056,65131,65136,65276,65281,65470,65474,65479,65482,65487,65490,65495,65498,65500,65504,65518,65532,65533]);AR=new DT([173,907,909,930,1328,1424,1757,2111,2143,2229,2274,2436,2473,2481,2526,2564,2601,2609,2612,2615,2621,2653,2692,2702,2706,2729,2737,2740,2758,2762,2816,2820,2857,2865,2868,2910,2948,2961,2971,2973,3017,3085,3089,3113,3141,3145,3159,3213,3217,3241,3252,3269,3273,3295,3312,3341,3345,3397,3401,3456,3460,3506,3516,3541,3543,3715,3717,3723,3748,3750,3781,3783,3912,3992,4029,4045,4294,4681,4695,4697,4745,4785,4799,4801,4823,4881,5760,5901,5997,6001,6431,6751,7674,8024,8026,8028,8030,8117,8133,8156,8181,8335,11158,11311,11359,11558,11687,11695,11703,11711,11719,11727,11735,11743,11930,12352,12592,12687,12831,43470,43519,43815,43823,64311,64317,64319,64322,64325,65107,65127,65141,65511]);AS=new DU([65536,65613,65616,65629,65664,65786,65792,65794,65799,65843,65847,65948,65952,65952,66000,66045,66176,66204,66208,66256,66272,66299,66304,66339,66349,66378,66384,66426,66432,66499,66504,66517,66560,66717,66720,66729,66736,66771,66776,66811,66816,66855,66864,66915,66927,66927,67072,67382,67392,67413,67424,67431,67584,67589,67592,67640,67644,67644,67647,67742,67751,67759,67808,67829,67835,67867,67871,67897,67903,67903,67968,68023,68028,68047,68050,68102,68108,68149,68152,68154,68159,68168,68176,68184,68192,68255,68288,68326,68331,68342,68352,68405,68409,68437,68440,68466,68472,68497,68505,68508,68521,68527,68608,68680,68736,68786,68800,68850,68858,68903,68912,68921,69216,69293,69296,69297,69376,69415,69424,69465,69552,69579,69600,69622,69632,69709,69714,69743,69759,69825,69840,69864,69872,69881,69888,69959,69968,70006,70016,70132,70144,70206,70272,70313,70320,70378,70384,70393,70400,70412,70415,70416,70419,70468,70471,70472,70475,70477,70480,70480,70487,70487,70493,70499,70502,70508,70512,70516,70656,70753,70784,70855,70864,70873,71040,71093,71096,71133,71168,71236,71248,71257,71264,71276,71296,71352,71360,71369,71424,71450,71453,71467,71472,71487,71680,71739,71840,71922,71935,71942,71945,71945,71948,71992,71995,72006,72016,72025,72096,72103,72106,72151,72154,72164,72192,72263,72272,72354,72384,72440,72704,72773,72784,72812,72816,72847,72850,72886,72960,73014,73018,73031,73040,73049,73056,73112,73120,73129,73440,73464,73648,73648,73664,73713,73727,74649,74752,74868,74880,75075,77824,78894,82944,83526,92160,92728,92736,92777,92782,92783,92880,92909,92912,92917,92928,92997,93008,93047,93053,93071,93760,93850,93952,94026,94031,94087,94095,94111,94176,94180,94192,94193,94208,100343,100352,101589,101632,101640,110592,110878,110928,110930,110948,110951,110960,111355,113664,113770,113776,113788,113792,113800,113808,113817,113820,113823,118784,119029,119040,119078,119081,119154,119163,119272,119296,119365,119520,119539,119552,119638,119648,119672,119808,119967,119970,119970,119973,119974,119977,120074,120077,120134,120138,120485,120488,120779,120782,121483,121499,121519,122880,122904,122907,122922,123136,123180,123184,123197,123200,123209,123214,123215,123584,123641,123647,123647,124928,125124,125127,125142,125184,125259,125264,125273,125278,125279,126065,126132,126209,126269,126464,126500,126503,126523,126530,126530,126535,126548,126551,126564,126567,126619,126625,126651,126704,126705,126976,127019,127024,127123,127136,127150,127153,127221,127232,127405,127462,127490,127504,127547,127552,127560,127568,127569,127584,127589,127744,128727,128736,128748,128752,128764,128768,128883,128896,128984,128992,129003,129024,129035,129040,129095,129104,129113,129120,129159,129168,129197,129200,129201,129280,129619,129632,129645,129648,129652,129656,129658,129664,129670,129680,129704,129712,129718,129728,129730,129744,129750,129792,129994,130032,130041,131072,173789,173824,177972,177984,178205,178208,183969,183984,191456,194560,195101,196608,201546,917760,917999]);AT=new DT([12,39,59,62,399,926,2057,2102,2134,2291,2564,2580,2584,3711,3754,4285,4405,4576,4626,4743,4745,4750,4766,4868,4905,4913,4916,4922,5212,6420,6423,6454,7177,7223,7336,7431,7434,7483,7486,7526,7529,7567,7570,9327,27231,27482,27490,54357,54429,54445,54458,54460,54468,54534,54549,54557,54586,54591,54597,54609,55968,57351,57378,57381,60932,60960,60963,60968,60979,60984,60986,61000,61002,61004,61008,61011,61016,61018,61020,61022,61024,61027,61035,61043,61048,61053,61055,61066,61092,61098,61632,61648,63865,63948,64403]);AU=new DT([160,5760,8192,8193,8194,8195,8196,8197,8198,8199,8200,8201,8202,8239,8287,12288]);AX=$toNativeArray($kindUint64,[new $Uint64(0,1),new $Uint64(0,10),new $Uint64(0,100),new $Uint64(0,1000),new $Uint64(0,10000),new $Uint64(0,100000),new $Uint64(0,1000000),new $Uint64(0,10000000),new $Uint64(0,100000000),new $Uint64(0,1000000000),new $Uint64(2,1410065408),new $Uint64(23,1215752192),new $Uint64(232,3567587328),new $Uint64(2328,1316134912),new $Uint64(23283,276447232),new $Uint64(232830,2764472320),new $Uint64(2328306,1874919424),new $Uint64(23283064,1569325056),new $Uint64(232830643,2808348672),new $Uint64(2328306436,2313682944)]);BK=new BJ.ptr(23,8,-127);BL=new BJ.ptr(52,11,-1023);CB=$toNativeArray($kindArray,[$toNativeArray($kindUint64,[new $Uint64(389204073,3445679187),new $Uint64(4203730336,136053384)]),$toNativeArray($kindUint64,[new $Uint64(243252546,542936756),new $Uint64(2627331460,85033365)]),$toNativeArray($kindUint64,[new $Uint64(1377807506,2826154593),new $Uint64(3284164325,106291706)]),$toNativeArray($kindUint64,[new $Uint64(3869743031,1385209593),new $Uint64(4105205406,1206606456)]),$toNativeArray($kindUint64,[new $Uint64(2418589394,2476368732),new $Uint64(2565753378,3975354507)]),$toNativeArray($kindUint64,[new $Uint64(1949494919,947977267),new $Uint64(3207191723,2821709486)]),$toNativeArray($kindUint64,[new $Uint64(289385001,111229759),new $Uint64(4008989654,2453395034)]),$toNativeArray($kindUint64,[new $Uint64(1254607449,2753873159),new $Uint64(2505618534,459630072)]),$toNativeArray($kindUint64,[new $Uint64(1568259312,221115977),new $Uint64(3132023167,2722021238)]),$toNativeArray($kindUint64,[new $Uint64(4107807788,276394972),new $Uint64(3915028959,2328784723)]),$toNativeArray($kindUint64,[new $Uint64(2030508955,2320230505),new $Uint64(2446893099,3066103188)]),$toNativeArray($kindUint64,[new $Uint64(2538136194,1826546308),new $Uint64(3058616374,2758887161)]),$toNativeArray($kindUint64,[new $Uint64(4246412067,135699237),new $Uint64(3823270468,1301125303)]),$toNativeArray($kindUint64,[new $Uint64(4264620277,3842908407),new $Uint64(2389544042,2960686962)]),$toNativeArray($kindUint64,[new $Uint64(3183291699,1582410037),new $Uint64(2986930053,1553375055)]),$toNativeArray($kindUint64,[new $Uint64(2905372800,904270722),new $Uint64(3733662566,3015460643)]),$toNativeArray($kindUint64,[new $Uint64(1278987088,565169201),new $Uint64(2333539104,810921078)]),$toNativeArray($kindUint64,[new $Uint64(3746217508,706461501),new $Uint64(2916923880,1013651347)]),$toNativeArray($kindUint64,[new $Uint64(3609030061,883076877),new $Uint64(3646154850,1267064184)]),$toNativeArray($kindUint64,[new $Uint64(2255643788,1088793960),new $Uint64(2278846781,1865656939)]),$toNativeArray($kindUint64,[new $Uint64(1745812911,1360992450),new $Uint64(2848558476,3405812998)]),$toNativeArray($kindUint64,[new $Uint64(34782491,627498738),new $Uint64(3560698095,4257266248)]),$toNativeArray($kindUint64,[new $Uint64(21739056,4150283095),new $Uint64(2225436309,4271404141)]),$toNativeArray($kindUint64,[new $Uint64(1100915645,892886573),new $Uint64(2781795387,2118029704)]),$toNativeArray($kindUint64,[new $Uint64(1376144556,2189850041),new $Uint64(3477244234,1573795306)]),$toNativeArray($kindUint64,[new $Uint64(1933832171,3516139923),new $Uint64(2173277646,2057363890)]),$toNativeArray($kindUint64,[new $Uint64(269806566,3321433080),new $Uint64(2716597058,424221215)]),$toNativeArray($kindUint64,[new $Uint64(3558483680,2004307702),new $Uint64(3395746322,2677760166)]),$toNativeArray($kindUint64,[new $Uint64(2300620952,2505384628),new $Uint64(4244682903,1199716560)]),$toNativeArray($kindUint64,[new $Uint64(1437888095,1565865392),new $Uint64(2652926814,2360435586)]),$toNativeArray($kindUint64,[new $Uint64(3944843767,883589917),new $Uint64(3316158518,803060834)]),$toNativeArray($kindUint64,[new $Uint64(2783571061,30745572),new $Uint64(4145198147,3151309691)]),$toNativeArray($kindUint64,[new $Uint64(1202861001,556086894),new $Uint64(2590748842,1432697645)]),$toNativeArray($kindUint64,[new $Uint64(2577318075,1768850442),new $Uint64(3238436052,3938355704)]),$toNativeArray($kindUint64,[new $Uint64(3221647594,1137321229),new $Uint64(4048045066,627977334)]),$toNativeArray($kindUint64,[new $Uint64(939787922,1784567592),new $Uint64(2530028166,1466227658)]),$toNativeArray($kindUint64,[new $Uint64(3322218551,83225842),new $Uint64(3162535207,3980268220)]),$toNativeArray($kindUint64,[new $Uint64(4152773188,3325257774),new $Uint64(3953169009,3901593451)]),$toNativeArray($kindUint64,[new $Uint64(2058612330,4225769757),new $Uint64(2470730631,827883171)]),$toNativeArray($kindUint64,[new $Uint64(1499523589,3134728548),new $Uint64(3088413288,4256079436)]),$toNativeArray($kindUint64,[new $Uint64(1874404487,697185213),new $Uint64(3860516611,1025131999)]),$toNativeArray($kindUint64,[new $Uint64(2782115540,2046353494),new $Uint64(2412822882,103836587)]),$toNativeArray($kindUint64,[new $Uint64(2403902601,2557941868),new $Uint64(3016028602,2277279382)]),$toNativeArray($kindUint64,[new $Uint64(857394603,4271169159),new $Uint64(3770035753,699115580)]),$toNativeArray($kindUint64,[new $Uint64(2683355275,2132609812),new $Uint64(2356272345,3121301797)]),$toNativeArray($kindUint64,[new $Uint64(132968622,1592020441),new $Uint64(2945340432,680401775)]),$toNativeArray($kindUint64,[new $Uint64(3387436249,4137509200),new $Uint64(3681675540,850502218)]),$toNativeArray($kindUint64,[new $Uint64(3190889480,975330514),new $Uint64(2301047212,2679047534)]),$toNativeArray($kindUint64,[new $Uint64(1841128202,1219163142),new $Uint64(2876309015,3348809418)]),$toNativeArray($kindUint64,[new $Uint64(153926604,3671437576),new $Uint64(3595386269,3112269949)]),$toNativeArray($kindUint64,[new $Uint64(633075040,147164837),new $Uint64(2247116418,2482039630)]),$toNativeArray($kindUint64,[new $Uint64(2938827448,183956046),new $Uint64(2808895523,955065889)]),$toNativeArray($kindUint64,[new $Uint64(452308838,229945057),new $Uint64(3511119404,120090538)]),$toNativeArray($kindUint64,[new $Uint64(1356434847,3364941133),new $Uint64(2194449627,2222540234)]),$toNativeArray($kindUint64,[new $Uint64(3843027207,3132434592),new $Uint64(2743062034,1704433468)]),$toNativeArray($kindUint64,[new $Uint64(508816713,2841801416),new $Uint64(3428827542,4278025484)]),$toNativeArray($kindUint64,[new $Uint64(636020892,331026298),new $Uint64(4286034428,3200048207)]),$toNativeArray($kindUint64,[new $Uint64(2008125793,2354375084),new $Uint64(2678771517,4147513777)]),$toNativeArray($kindUint64,[new $Uint64(3583899065,4016710679),new $Uint64(3348464397,1963166749)]),$toNativeArray($kindUint64,[new $Uint64(1258648360,1799662877),new $Uint64(4185580496,3527700261)]),$toNativeArray($kindUint64,[new $Uint64(1323526137,1124789298),new $Uint64(2615987810,2204812663)]),$toNativeArray($kindUint64,[new $Uint64(580665847,2479728447),new $Uint64(3269984763,608532181)]),$toNativeArray($kindUint64,[new $Uint64(1799574133,2025918735),new $Uint64(4087480953,3981890698)]),$toNativeArray($kindUint64,[new $Uint64(2198475657,1803070121),new $Uint64(2554675596,878068950)]),$toNativeArray($kindUint64,[new $Uint64(600610923,3327579475),new $Uint64(3193344495,1097586188)]),$toNativeArray($kindUint64,[new $Uint64(750763654,3085732520),new $Uint64(3991680619,298240911)]),$toNativeArray($kindUint64,[new $Uint64(2079840020,854841001),new $Uint64(2494800386,3944496953)]),$toNativeArray($kindUint64,[new $Uint64(3673541849,1068551251),new $Uint64(3118500483,2783137543)]),$toNativeArray($kindUint64,[new $Uint64(3518185487,2409430888),new $Uint64(3898125604,2405180105)]),$toNativeArray($kindUint64,[new $Uint64(588253193,3116507041),new $Uint64(2436328502,3650721214)]),$toNativeArray($kindUint64,[new $Uint64(2882800140,674408330),new $Uint64(3045410628,2415917869)]),$toNativeArray($kindUint64,[new $Uint64(382274703,843010412),new $Uint64(3806763285,3019897337)]),$toNativeArray($kindUint64,[new $Uint64(2923276249,2137494243),new $Uint64(2379227053,2424306747)]),$toNativeArray($kindUint64,[new $Uint64(2580353487,3745609628),new $Uint64(2974033816,4104125258)]),$toNativeArray($kindUint64,[new $Uint64(1077958211,3608270211),new $Uint64(3717542271,835189277)]),$toNativeArray($kindUint64,[new $Uint64(1210594794,1718297970),new $Uint64(2323463919,2132606034)]),$toNativeArray($kindUint64,[new $Uint64(3660727141,388815),new $Uint64(2904329899,1592015718)]),$toNativeArray($kindUint64,[new $Uint64(2428425278,1074227842),new $Uint64(3630412374,916277824)]),$toNativeArray($kindUint64,[new $Uint64(1517765798,3892617873),new $Uint64(2269007733,3793899112)]),$toNativeArray($kindUint64,[new $Uint64(1897207248,2718288694),new $Uint64(2836259667,1521148418)]),$toNativeArray($kindUint64,[new $Uint64(224025412,3397860867),new $Uint64(3545324584,827693699)]),$toNativeArray($kindUint64,[new $Uint64(3898112266,4271146690),new $Uint64(2215827865,517308561)]),$toNativeArray($kindUint64,[new $Uint64(1651414861,3191449714),new $Uint64(2769784831,1720377526)]),$toNativeArray($kindUint64,[new $Uint64(4211752225,768086671),new $Uint64(3462231039,1076730083)]),$toNativeArray($kindUint64,[new $Uint64(2095474228,3164408729),new $Uint64(2163894399,2283569038)]),$toNativeArray($kindUint64,[new $Uint64(471859137,3955510912),new $Uint64(2704867999,1780719474)]),$toNativeArray($kindUint64,[new $Uint64(2737307570,1723163168),new $Uint64(3381084999,1152157518)]),$toNativeArray($kindUint64,[new $Uint64(1274150815,6470312),new $Uint64(4226356249,366455074)]),$toNativeArray($kindUint64,[new $Uint64(1870086083,1614656681),new $Uint64(2641472655,2913388981)]),$toNativeArray($kindUint64,[new $Uint64(3411349428,944579027),new $Uint64(3301840819,2567994402)]),$toNativeArray($kindUint64,[new $Uint64(2116703137,1180723784),new $Uint64(4127301024,2136251179)]),$toNativeArray($kindUint64,[new $Uint64(786068548,3422306925),new $Uint64(2579563140,1335156987)]),$toNativeArray($kindUint64,[new $Uint64(4203811157,4277883656),new $Uint64(3224453925,1668946233)]),$toNativeArray($kindUint64,[new $Uint64(2033538475,2126129098),new $Uint64(4030567406,3159924616)]),$toNativeArray($kindUint64,[new $Uint64(1270961547,791959774),new $Uint64(2519104629,901211061)]),$toNativeArray($kindUint64,[new $Uint64(2662443757,4211175190),new $Uint64(3148880786,2200255650)]),$toNativeArray($kindUint64,[new $Uint64(1180571049,2042743516),new $Uint64(3936100983,602835915)]),$toNativeArray($kindUint64,[new $Uint64(200985993,3961069257),new $Uint64(2460063114,1987385183)]),$toNativeArray($kindUint64,[new $Uint64(3472457964,1730111099),new $Uint64(3075078893,336747830)]),$toNativeArray($kindUint64,[new $Uint64(2193088807,2162638874),new $Uint64(3843848616,1494676612)]),$toNativeArray($kindUint64,[new $Uint64(3518164152,2962262032),new $Uint64(2402405385,934172882)]),$toNativeArray($kindUint64,[new $Uint64(2250221542,3702827541),new $Uint64(3003006731,2241457927)]),$toNativeArray($kindUint64,[new $Uint64(1739035104,2481050778),new $Uint64(3753758414,1728080585)]),$toNativeArray($kindUint64,[new $Uint64(3771251500,1550656736),new $Uint64(2346099009,6308541)]),$toNativeArray($kindUint64,[new $Uint64(1492838903,1938320920),new $Uint64(2932623761,1081627501)]),$toNativeArray($kindUint64,[new $Uint64(2939790453,1349159326),new $Uint64(3665779701,2425776200)]),$toNativeArray($kindUint64,[new $Uint64(1837369033,1380095491),new $Uint64(2291112313,2052981037)]),$toNativeArray($kindUint64,[new $Uint64(3370453115,2798861187),new $Uint64(2863890391,3639968120)]),$toNativeArray($kindUint64,[new $Uint64(4213066394,2424834660),new $Uint64(3579862989,3476218326)]),$toNativeArray($kindUint64,[new $Uint64(1559424672,2589263487),new $Uint64(2237414368,2709507366)]),$toNativeArray($kindUint64,[new $Uint64(4096764488,3236579358),new $Uint64(2796767960,3386884207)]),$toNativeArray($kindUint64,[new $Uint64(4047213786,4045724198),new $Uint64(3495959950,4233605259)]),$toNativeArray($kindUint64,[new $Uint64(1992637704,3602319448),new $Uint64(2184974969,1572261463)]),$toNativeArray($kindUint64,[new $Uint64(1417055307,207932014),new $Uint64(2731218711,3039068653)]),$toNativeArray($kindUint64,[new $Uint64(2845060957,3481140489),new $Uint64(3414023389,2725093992)]),$toNativeArray($kindUint64,[new $Uint64(3556326197,1130200140),new $Uint64(4267529237,185142018)]),$toNativeArray($kindUint64,[new $Uint64(3296445697,1243245999),new $Uint64(2667205773,652584673)]),$toNativeArray($kindUint64,[new $Uint64(899331649,2627799323),new $Uint64(3334007216,1889472666)]),$toNativeArray($kindUint64,[new $Uint64(3271648210,63523682),new $Uint64(4167509020,2361840832)]),$toNativeArray($kindUint64,[new $Uint64(2044780131,1113444125),new $Uint64(2604693137,3623634168)]),$toNativeArray($kindUint64,[new $Uint64(2555975164,318063332),new $Uint64(3255866422,1308317238)]),$toNativeArray($kindUint64,[new $Uint64(1047485307,397579165),new $Uint64(4069833027,3782880196)]),$toNativeArray($kindUint64,[new $Uint64(2802161964,4006583362),new $Uint64(2543645642,1827429210)]),$toNativeArray($kindUint64,[new $Uint64(1355218808,713261907),new $Uint64(3179557053,136802865)]),$toNativeArray($kindUint64,[new $Uint64(2767765334,891577384),new $Uint64(3974446316,1244745405)]),$toNativeArray($kindUint64,[new $Uint64(2266724245,3778461337),new $Uint64(2484028947,2925449526)]),$toNativeArray($kindUint64,[new $Uint64(685921659,1501851199),new $Uint64(3105036184,2583070084)]),$toNativeArray($kindUint64,[new $Uint64(857402074,803572175),new $Uint64(3881295230,3228837605)]),$toNativeArray($kindUint64,[new $Uint64(1072747208,1575974433),new $Uint64(2425809519,944281679)]),$toNativeArray($kindUint64,[new $Uint64(267192186,1969968041),new $Uint64(3032261899,106610275)]),$toNativeArray($kindUint64,[new $Uint64(3555215705,314976404),new $Uint64(3790327373,3354488315)]),$toNativeArray($kindUint64,[new $Uint64(1685138903,2881214812),new $Uint64(2368954608,2633426109)]),$toNativeArray($kindUint64,[new $Uint64(3180165453,2527776691),new $Uint64(2961193260,3291782636)]),$toNativeArray($kindUint64,[new $Uint64(3975206816,4233462688),new $Uint64(3701491575,4114728295)]),$toNativeArray($kindUint64,[new $Uint64(4095116996,2645914180),new $Uint64(2313432234,4182317920)]),$toNativeArray($kindUint64,[new $Uint64(823928949,3307392725),new $Uint64(2891790293,3080413753)]),$toNativeArray($kindUint64,[new $Uint64(2103653011,913015435),new $Uint64(3614737867,629291719)]),$toNativeArray($kindUint64,[new $Uint64(2925395868,33763735),new $Uint64(2259211166,4151403708)]),$toNativeArray($kindUint64,[new $Uint64(3656744835,42204668),new $Uint64(2824013958,3041770987)]),$toNativeArray($kindUint64,[new $Uint64(3497189219,3273981307),new $Uint64(3530017448,1654730086)]),$toNativeArray($kindUint64,[new $Uint64(1112001438,1509367405),new $Uint64(2206260905,1034206304)]),$toNativeArray($kindUint64,[new $Uint64(1390001797,4034192904),new $Uint64(2757826131,2366499704)]),$toNativeArray($kindUint64,[new $Uint64(1737502247,1821515659),new $Uint64(3447282664,1884382806)]),$toNativeArray($kindUint64,[new $Uint64(12197080,2749060022),new $Uint64(2154551665,1177739254)]),$toNativeArray($kindUint64,[new $Uint64(2162729998,3436325028),new $Uint64(2693189581,2545915891)]),$toNativeArray($kindUint64,[new $Uint64(1629670674,2147922637),new $Uint64(3366486976,4256136688)]),$toNativeArray($kindUint64,[new $Uint64(2037088343,537419649),new $Uint64(4208108721,1025203564)]),$toNativeArray($kindUint64,[new $Uint64(3420663862,1946500016),new $Uint64(2630067950,3325106787)]),$toNativeArray($kindUint64,[new $Uint64(3202088004,285641372),new $Uint64(3287584938,2008899836)]),$toNativeArray($kindUint64,[new $Uint64(4002610005,357051716),new $Uint64(4109481173,363641147)]),$toNativeArray($kindUint64,[new $Uint64(1964760341,760028234),new $Uint64(2568425733,764146629)]),$toNativeArray($kindUint64,[new $Uint64(3529692250,2023777117),new $Uint64(3210532166,2028925110)]),$toNativeArray($kindUint64,[new $Uint64(2264631665,382237748),new $Uint64(4013165208,388672740)]),$toNativeArray($kindUint64,[new $Uint64(3562878438,2923253152),new $Uint64(2508228255,242920462)]),$toNativeArray($kindUint64,[new $Uint64(2306114400,1506582793),new $Uint64(3135285318,3524876050)]),$toNativeArray($kindUint64,[new $Uint64(735159352,1883228491),new $Uint64(3919106648,2258611415)]),$toNativeArray($kindUint64,[new $Uint64(2070087331,1177017807),new $Uint64(2449441655,1411632134)]),$toNativeArray($kindUint64,[new $Uint64(440125516,397530434),new $Uint64(3061802069,690798344)]),$toNativeArray($kindUint64,[new $Uint64(550156895,496913043),new $Uint64(3827252586,1937239754)]),$toNativeArray($kindUint64,[new $Uint64(1417589883,1921183388),new $Uint64(2392032866,2284516670)]),$toNativeArray($kindUint64,[new $Uint64(3919471002,1327737411),new $Uint64(2990041083,708162189)]),$toNativeArray($kindUint64,[new $Uint64(1678113280,3807155412),new $Uint64(3737551353,4106428209)]),$toNativeArray($kindUint64,[new $Uint64(3733175360,2379472132),new $Uint64(2335969596,955904894)]),$toNativeArray($kindUint64,[new $Uint64(2518985552,2974340165),new $Uint64(2919961995,1194881118)]),$toNativeArray($kindUint64,[new $Uint64(1001248292,3717925207),new $Uint64(3649952494,419859574)]),$toNativeArray($kindUint64,[new $Uint64(3847005655,176219606),new $Uint64(2281220308,3483637705)]),$toNativeArray($kindUint64,[new $Uint64(1587531596,3441499980),new $Uint64(2851525386,59579836)]),$toNativeArray($kindUint64,[new $Uint64(1984414496,6907679),new $Uint64(3564406732,2221958443)]),$toNativeArray($kindUint64,[new $Uint64(703388148,4317299),new $Uint64(2227754207,3536207675)]),$toNativeArray($kindUint64,[new $Uint64(4100460657,5396624),new $Uint64(2784692759,3346517769)]),$toNativeArray($kindUint64,[new $Uint64(1904350349,1080487604),new $Uint64(3480865949,3109405388)]),$toNativeArray($kindUint64,[new $Uint64(3337702616,1212175664),new $Uint64(2175541218,2480249279)]),$toNativeArray($kindUint64,[new $Uint64(3098386446,1515219580),new $Uint64(2719426523,952827951)]),$toNativeArray($kindUint64,[new $Uint64(2799241233,4041508124),new $Uint64(3399283154,117293115)]),$toNativeArray($kindUint64,[new $Uint64(2425309718,1830659683),new $Uint64(4249103942,2294100042)]),$toNativeArray($kindUint64,[new $Uint64(2589560398,70420478),new $Uint64(2655689964,360070702)]),$toNativeArray($kindUint64,[new $Uint64(1089466849,2235509245),new $Uint64(3319612455,450088378)]),$toNativeArray($kindUint64,[new $Uint64(3509317209,3868128380),new $Uint64(4149515568,3783835944)]),$toNativeArray($kindUint64,[new $Uint64(2193323256,806967502),new $Uint64(2593447230,2364897465)]),$toNativeArray($kindUint64,[new $Uint64(3815395894,1008709377),new $Uint64(3241809038,808638183)]),$toNativeArray($kindUint64,[new $Uint64(3695503043,3408370369),new $Uint64(4052261297,3158281377)]),$toNativeArray($kindUint64,[new $Uint64(699076666,1593360569),new $Uint64(2532663311,363313125)]),$toNativeArray($kindUint64,[new $Uint64(1947587656,4139184359),new $Uint64(3165829138,3675366878)]),$toNativeArray($kindUint64,[new $Uint64(287000923,879013153),new $Uint64(3957286423,2446724950)]),$toNativeArray($kindUint64,[new $Uint64(3400601049,12512308),new $Uint64(2473304014,3139815829)]),$toNativeArray($kindUint64,[new $Uint64(1029525839,1089382210),new $Uint64(3091630018,1777286139)]),$toNativeArray($kindUint64,[new $Uint64(213165475,287985938),new $Uint64(3864537523,74124026)]),$toNativeArray($kindUint64,[new $Uint64(1206970245,3938087595),new $Uint64(2415335951,3804423900)]),$toNativeArray($kindUint64,[new $Uint64(1508712807,1701384022),new $Uint64(3019169939,3681788051)]),$toNativeArray($kindUint64,[new $Uint64(812149185,1052988204),new $Uint64(3773962424,3528493240)]),$toNativeArray($kindUint64,[new $Uint64(507593240,3342472187),new $Uint64(2358726515,2205308275)]),$toNativeArray($kindUint64,[new $Uint64(3855717022,4178090234),new $Uint64(2948408144,1682893519)]),$toNativeArray($kindUint64,[new $Uint64(3745904454,3075129145),new $Uint64(3685510180,2103616899)]),$toNativeArray($kindUint64,[new $Uint64(1804319372,848213891),new $Uint64(2303443862,3462244210)]),$toNativeArray($kindUint64,[new $Uint64(107915567,1060267364),new $Uint64(2879304828,2180321615)]),$toNativeArray($kindUint64,[new $Uint64(3356119931,251592381),new $Uint64(3599131035,2725402018)]),$toNativeArray($kindUint64,[new $Uint64(3171316780,3915341622),new $Uint64(2249456897,1166505349)]),$toNativeArray($kindUint64,[new $Uint64(742920504,599209732),new $Uint64(2811821121,2531873511)]),$toNativeArray($kindUint64,[new $Uint64(4149876102,749012165),new $Uint64(3514776401,4238583712)]),$toNativeArray($kindUint64,[new $Uint64(2593672563,3689358075),new $Uint64(2196735251,1038502084)]),$toNativeArray($kindUint64,[new $Uint64(3242090704,3537955770),new $Uint64(2745919064,224385781)]),$toNativeArray($kindUint64,[new $Uint64(831387909,127477416),new $Uint64(3432398830,280482227)]),$toNativeArray($kindUint64,[new $Uint64(4260460358,1233088594),new $Uint64(4290498537,2498086431)]),$toNativeArray($kindUint64,[new $Uint64(4273400459,3991905843),new $Uint64(2681561585,4245658579)]),$toNativeArray($kindUint64,[new $Uint64(4268008750,3916140480),new $Uint64(3351951982,2085847752)]),$toNativeArray($kindUint64,[new $Uint64(1040043642,2747691952),new $Uint64(4189939978,459826043)]),$toNativeArray($kindUint64,[new $Uint64(113156364,2791049294),new $Uint64(2618712486,1361133101)]),$toNativeArray($kindUint64,[new $Uint64(1215187279,3488811618),new $Uint64(3273390607,3848900024)]),$toNativeArray($kindUint64,[new $Uint64(1518984099,3287272698),new $Uint64(4091738259,3737383206)]),$toNativeArray($kindUint64,[new $Uint64(4170590534,1517674524),new $Uint64(2557336412,1798993591)]),$toNativeArray($kindUint64,[new $Uint64(4139496343,4044576803),new $Uint64(3196670515,2248741989)]),$toNativeArray($kindUint64,[new $Uint64(1953144957,3981979180),new $Uint64(3995838144,1737185663)]),$toNativeArray($kindUint64,[new $Uint64(2831328334,3025607900),new $Uint64(2497398840,1085741039)]),$toNativeArray($kindUint64,[new $Uint64(2465418594,1634526227),new $Uint64(3121748550,1357176299)]),$toNativeArray($kindUint64,[new $Uint64(2008031418,4190641431),new $Uint64(3902185687,3843954022)]),$toNativeArray($kindUint64,[new $Uint64(181277812,3692892718),new $Uint64(2438866054,4013084000)]),$toNativeArray($kindUint64,[new $Uint64(226597266,321148602),new $Uint64(3048582568,2868871352)]),$toNativeArray($kindUint64,[new $Uint64(283246582,2548919401),new $Uint64(3810728210,3586089190)]),$toNativeArray($kindUint64,[new $Uint64(3398254586,519332801),new $Uint64(2381705131,3315047567)]),$toNativeArray($kindUint64,[new $Uint64(3174076408,2796649650),new $Uint64(2977131414,3070067635)]),$toNativeArray($kindUint64,[new $Uint64(2893853686,3495812062),new $Uint64(3721414268,1690100896)]),$toNativeArray($kindUint64,[new $Uint64(1808658554,1111140715),new $Uint64(2325883917,3203796708)]),$toNativeArray($kindUint64,[new $Uint64(2260823192,3536409542),new $Uint64(2907354897,783520413)]),$toNativeArray($kindUint64,[new $Uint64(3899770815,125544631),new $Uint64(3634193621,2053142340)]),$toNativeArray($kindUint64,[new $Uint64(289873111,1689078130),new $Uint64(2271371013,1820084875)]),$toNativeArray($kindUint64,[new $Uint64(3583566861,1037605839),new $Uint64(2839213766,3348847917)]),$toNativeArray($kindUint64,[new $Uint64(1258233104,2370749123),new $Uint64(3549017208,2038576249)]),$toNativeArray($kindUint64,[new $Uint64(3470750250,1481718202),new $Uint64(2218135755,1274110155)]),$toNativeArray($kindUint64,[new $Uint64(3264695988,3999631400),new $Uint64(2772669694,518895870)]),$toNativeArray($kindUint64,[new $Uint64(1933386338,704571954),new $Uint64(3465837117,2796103486)]),$toNativeArray($kindUint64,[new $Uint64(134624637,1514099295),new $Uint64(2166148198,2284435591)]),$toNativeArray($kindUint64,[new $Uint64(3389506268,2966365943),new $Uint64(2707685248,708060840)]),$toNativeArray($kindUint64,[new $Uint64(4236882835,3707957429),new $Uint64(3384606560,885076050)]),$toNativeArray($kindUint64,[new $Uint64(3148619896,3561204962),new $Uint64(4230758200,1106345063)]),$toNativeArray($kindUint64,[new $Uint64(3578500171,2225753101),new $Uint64(2644223875,691465664)]),$toNativeArray($kindUint64,[new $Uint64(178157918,1708449553),new $Uint64(3305279843,4085557553)]),$toNativeArray($kindUint64,[new $Uint64(1296439221,4283045589),new $Uint64(4131599804,4033205117)]),$toNativeArray($kindUint64,[new $Uint64(1347145425,3213774405),new $Uint64(2582249878,373269550)]),$toNativeArray($kindUint64,[new $Uint64(3831415430,795992534),new $Uint64(3227812347,2614070585)]),$toNativeArray($kindUint64,[new $Uint64(1568043815,3142474316),new $Uint64(4034765434,2193846408)]),$toNativeArray($kindUint64,[new $Uint64(980027384,3574659183),new $Uint64(2521728396,2444895829)]),$toNativeArray($kindUint64,[new $Uint64(2298776055,173356683),new $Uint64(3152160495,3056119786)]),$toNativeArray($kindUint64,[new $Uint64(725986420,3437921326),new $Uint64(3940200619,2746407909)]),$toNativeArray($kindUint64,[new $Uint64(990612425,1217181),new $Uint64(2462625387,1179634031)]),$toNativeArray($kindUint64,[new $Uint64(164523707,1075263300),new $Uint64(3078281734,400800715)]),$toNativeArray($kindUint64,[new $Uint64(3426880106,270337301),new $Uint64(3847852167,2648484541)]),$toNativeArray($kindUint64,[new $Uint64(2678670978,1242702637),new $Uint64(2404907604,3265915574)]),$toNativeArray($kindUint64,[new $Uint64(1200855074,3700861945),new $Uint64(3006134505,4082394468)]),$toNativeArray($kindUint64,[new $Uint64(1501068843,2478593783),new $Uint64(3757668132,1881767613)]),$toNativeArray($kindUint64,[new $Uint64(1475038939,1012250202),new $Uint64(2348542582,3323588406)]),$toNativeArray($kindUint64,[new $Uint64(3991282322,191570929),new $Uint64(2935678228,2007001859)]),$toNativeArray($kindUint64,[new $Uint64(3915361078,2386947309),new $Uint64(3669597785,2508752324)]),$toNativeArray($kindUint64,[new $Uint64(299617026,418100244),new $Uint64(2293498615,4252324763)]),$toNativeArray($kindUint64,[new $Uint64(3595746754,2670108953),new $Uint64(2866873269,4241664129)]),$toNativeArray($kindUint64,[new $Uint64(1273457971,1190152543),new $Uint64(3583591587,2080854690)]),$toNativeArray($kindUint64,[new $Uint64(1869653056,206974427),new $Uint64(2239744742,763663269)]),$toNativeArray($kindUint64,[new $Uint64(3410808144,258718034),new $Uint64(2799680927,3102062734)]),$toNativeArray($kindUint64,[new $Uint64(2116026532,323397543),new $Uint64(3499601159,2803836594)]),$toNativeArray($kindUint64,[new $Uint64(2396258406,2349607112),new $Uint64(2187250724,3363010607)]),$toNativeArray($kindUint64,[new $Uint64(1921581184,789525242),new $Uint64(2734063405,4203763259)]),$toNativeArray($kindUint64,[new $Uint64(1328234656,986906553),new $Uint64(3417579257,2033478602)]),$toNativeArray($kindUint64,[new $Uint64(3807776968,1233633192),new $Uint64(4271974071,3615590076)]),$toNativeArray($kindUint64,[new $Uint64(232376957,771020745),new $Uint64(2669983794,3870356534)]),$toNativeArray($kindUint64,[new $Uint64(2437954844,2037517755),new $Uint64(3337479743,2690462019)]),$toNativeArray($kindUint64,[new $Uint64(1973701731,2546897194),new $Uint64(4171849679,2289335700)]),$toNativeArray($kindUint64,[new $Uint64(3381047230,1054939834),new $Uint64(2607406049,3041447548)]),$toNativeArray($kindUint64,[new $Uint64(4226309037,3466158440),new $Uint64(3259257562,580583963)]),$toNativeArray($kindUint64,[new $Uint64(4209144473,1111472579),new $Uint64(4074071952,2873213602)]),$toNativeArray($kindUint64,[new $Uint64(3704457119,3379024922),new $Uint64(2546294970,1795758501)]),$toNativeArray($kindUint64,[new $Uint64(1409345927,3150039328),new $Uint64(3182868713,97214479)]),$toNativeArray($kindUint64,[new $Uint64(687940585,2863807336),new $Uint64(3978585891,1195259923)]),$toNativeArray($kindUint64,[new $Uint64(4188059250,179266849),new $Uint64(2486616182,210166539)]),$toNativeArray($kindUint64,[new $Uint64(4161332238,2371567209),new $Uint64(3108270227,2410191822)]),$toNativeArray($kindUint64,[new $Uint64(3054181650,816975364),new $Uint64(3885337784,1938997954)]),$toNativeArray($kindUint64,[new $Uint64(2982605355,1584351426),new $Uint64(2428336115,1211873721)]),$toNativeArray($kindUint64,[new $Uint64(507031222,906697459),new $Uint64(3035420144,441100328)]),$toNativeArray($kindUint64,[new $Uint64(633789027,3280855472),new $Uint64(3794275180,551375410)]),$toNativeArray($kindUint64,[new $Uint64(1469859966,1513663758),new $Uint64(2371421987,2492093279)]),$toNativeArray($kindUint64,[new $Uint64(763583133,4039563345),new $Uint64(2964277484,2041374775)]),$toNativeArray($kindUint64,[new $Uint64(4175704389,1828228709),new $Uint64(3705346855,2551718468)]),$toNativeArray($kindUint64,[new $Uint64(462331595,1679513855),new $Uint64(2315841784,3205436779)]),$toNativeArray($kindUint64,[new $Uint64(3799139966,1025650495),new $Uint64(2894802230,4006795973)]),$toNativeArray($kindUint64,[new $Uint64(1527699485,3429546767),new $Uint64(3618502788,2861011319)]),$toNativeArray($kindUint64,[new $Uint64(2565424914,2680337641),new $Uint64(2261564242,3935615722)]),$toNativeArray($kindUint64,[new $Uint64(1059297495,1202938404),new $Uint64(2826955303,2772036005)]),$toNativeArray($kindUint64,[new $Uint64(2397863693,429931181),new $Uint64(3533694129,2391303182)]),$toNativeArray($kindUint64,[new $Uint64(424922984,805577900),new $Uint64(2208558830,4178919049)]),$toNativeArray($kindUint64,[new $Uint64(1604895554,1006972375),new $Uint64(2760698538,3076165163)]),$toNativeArray($kindUint64,[new $Uint64(932377618,3406199117),new $Uint64(3450873173,1697722806)]),$toNativeArray($kindUint64,[new $Uint64(3803961483,3202616272),new $Uint64(2156795733,1597947665)]),$toNativeArray($kindUint64,[new $Uint64(1533726382,2929528516),new $Uint64(2695994666,3071176406)]),$toNativeArray($kindUint64,[new $Uint64(4064641626,1514426997),new $Uint64(3369993333,1691486859)]),$toNativeArray($kindUint64,[new $Uint64(4007060208,4040517394),new $Uint64(4212491666,3188100398)]),$toNativeArray($kindUint64,[new $Uint64(1430670806,2525323371),new $Uint64(2632807291,3066304573)]),$toNativeArray($kindUint64,[new $Uint64(2862080332,1009170566),new $Uint64(3291009114,2759138892)]),$toNativeArray($kindUint64,[new $Uint64(3577600415,1261463208),new $Uint64(4113761393,1301439967)]),$toNativeArray($kindUint64,[new $Uint64(3846612995,2399027241),new $Uint64(2571100870,3497754539)]),$toNativeArray($kindUint64,[new $Uint64(3734524420,1925042227),new $Uint64(3213876088,2224709526)]),$toNativeArray($kindUint64,[new $Uint64(2520671877,2406302784),new $Uint64(4017345110,2780886908)]),$toNativeArray($kindUint64,[new $Uint64(3722903571,2040810152),new $Uint64(2510840694,664312493)]),$toNativeArray($kindUint64,[new $Uint64(1432403992,1477270866),new $Uint64(3138550867,2977874265)]),$toNativeArray($kindUint64,[new $Uint64(2864246814,1846588582),new $Uint64(3923188584,2648601007)]),$toNativeArray($kindUint64,[new $Uint64(3400766995,80376040),new $Uint64(2451992865,1655375629)]),$toNativeArray($kindUint64,[new $Uint64(1029733271,3321695522),new $Uint64(3064991081,3142961361)]),$toNativeArray($kindUint64,[new $Uint64(2360908413,3078377578),new $Uint64(3831238852,707476229)]),$toNativeArray($kindUint64,[new $Uint64(2012438670,2460856898),new $Uint64(2394524282,2589656291)]),$toNativeArray($kindUint64,[new $Uint64(1441806514,928587475),new $Uint64(2993155353,1089586716)]),$toNativeArray($kindUint64,[new $Uint64(1802258142,3308217992),new $Uint64(3741444191,2435725219)]),$toNativeArray($kindUint64,[new $Uint64(589540427,993894421),new $Uint64(2338402619,3132940998)]),$toNativeArray($kindUint64,[new $Uint64(2884409182,168626202),new $Uint64(2923003274,2842434423)]),$toNativeArray($kindUint64,[new $Uint64(2531769653,2358266401),new $Uint64(3653754093,1405559381)]),$toNativeArray($kindUint64,[new $Uint64(2119226945,2010787412),new $Uint64(2283596308,1415345525)]),$toNativeArray($kindUint64,[new $Uint64(3722775505,3587226089),new $Uint64(2854495385,1769181906)]),$toNativeArray($kindUint64,[new $Uint64(2505985734,1262807140),new $Uint64(3568119231,3285219207)]),$toNativeArray($kindUint64,[new $Uint64(3176853819,4010479934),new $Uint64(2230074519,3663874740)]),$toNativeArray($kindUint64,[new $Uint64(3971067274,3939358094),new $Uint64(2787593149,3506101601)]),$toNativeArray($kindUint64,[new $Uint64(1742608621,2776713970),new $Uint64(3484491437,1161401530)]),$toNativeArray($kindUint64,[new $Uint64(2162872212,2272317143),new $Uint64(2177807148,1262746868)]),$toNativeArray($kindUint64,[new $Uint64(2703590265,2840396429),new $Uint64(2722258935,1578433585)]),$toNativeArray($kindUint64,[new $Uint64(158262360,329270064),new $Uint64(3402823669,899300158)]),$toNativeArray($kindUint64,[new $Uint64(2345311598,411587580),new $Uint64(4253529586,2197867021)]),$toNativeArray($kindUint64,[new $Uint64(2002690660,3478467709),new $Uint64(2658455991,2447408712)]),$toNativeArray($kindUint64,[new $Uint64(2503363326,53117341),new $Uint64(3323069989,1985519066)]),$toNativeArray($kindUint64,[new $Uint64(981720509,2213880324),new $Uint64(4153837486,3555640657)]),$toNativeArray($kindUint64,[new $Uint64(3297929878,1920546114),new $Uint64(2596148429,1148533586)]),$toNativeArray($kindUint64,[new $Uint64(1974928700,253198995),new $Uint64(3245185536,2509408807)]),$toNativeArray($kindUint64,[new $Uint64(1394919051,316498744),new $Uint64(4056481920,3136761009)]),$toNativeArray($kindUint64,[new $Uint64(3556178966,3955908099),new $Uint64(2535301200,1960475630)]),$toNativeArray($kindUint64,[new $Uint64(2297740060,2797401476),new $Uint64(3169126500,2450594538)]),$toNativeArray($kindUint64,[new $Uint64(724691427,3496751845),new $Uint64(3961408125,3063243173)]),$toNativeArray($kindUint64,[new $Uint64(989803054,1648598991),new $Uint64(2475880078,2451397895)]),$toNativeArray($kindUint64,[new $Uint64(163511993,4208232386),new $Uint64(3094850098,916763721)]),$toNativeArray($kindUint64,[new $Uint64(1278131816,2039065011),new $Uint64(3868562622,3293438299)]),$toNativeArray($kindUint64,[new $Uint64(261961473,1274415632),new $Uint64(2417851639,984657113)]),$toNativeArray($kindUint64,[new $Uint64(1401193665,2666761364),new $Uint64(3022314549,157079567)]),$toNativeArray($kindUint64,[new $Uint64(677750258,112226233),new $Uint64(3777893186,1270091283)]),$toNativeArray($kindUint64,[new $Uint64(4181690295,1143883219),new $Uint64(2361183241,1867548875)]),$toNativeArray($kindUint64,[new $Uint64(4153371045,356112200),new $Uint64(2951479051,3408177918)]),$toNativeArray($kindUint64,[new $Uint64(3044230158,1518882075),new $Uint64(3689348814,3186480574)]),$toNativeArray($kindUint64,[new $Uint64(828902024,4170526768),new $Uint64(2305843009,917808535)]),$toNativeArray($kindUint64,[new $Uint64(4257353003,918191165),new $Uint64(2882303761,2221002492)]),$toNativeArray($kindUint64,[new $Uint64(1026723958,73997132),new $Uint64(3602879701,3849994940)]),$toNativeArray($kindUint64,[new $Uint64(2789186121,3267473679),new $Uint64(2251799813,2943117749)]),$toNativeArray($kindUint64,[new $Uint64(265257180,863116627),new $Uint64(2814749767,457671715)]),$toNativeArray($kindUint64,[new $Uint64(3552796947,1078895784),new $Uint64(3518437208,3793315115)]),$toNativeArray($kindUint64,[new $Uint64(1683627180,137438953),new $Uint64(2199023255,2370821947)]),$toNativeArray($kindUint64,[new $Uint64(1030792151,171798691),new $Uint64(2748779069,1889785610)]),$toNativeArray($kindUint64,[new $Uint64(3435973836,3435973836),new $Uint64(3435973836,3435973836)]),$toNativeArray($kindUint64,[new $Uint64(0,0),new $Uint64(2147483648,0)]),$toNativeArray($kindUint64,[new $Uint64(0,0),new $Uint64(2684354560,0)]),$toNativeArray($kindUint64,[new $Uint64(0,0),new $Uint64(3355443200,0)]),$toNativeArray($kindUint64,[new $Uint64(0,0),new $Uint64(4194304000,0)]),$toNativeArray($kindUint64,[new $Uint64(0,0),new $Uint64(2621440000,0)]),$toNativeArray($kindUint64,[new $Uint64(0,0),new $Uint64(3276800000,0)]),$toNativeArray($kindUint64,[new $Uint64(0,0),new $Uint64(4096000000,0)]),$toNativeArray($kindUint64,[new $Uint64(0,0),new $Uint64(2560000000,0)]),$toNativeArray($kindUint64,[new $Uint64(0,0),new $Uint64(3200000000,0)]),$toNativeArray($kindUint64,[new $Uint64(0,0),new $Uint64(4000000000,0)]),$toNativeArray($kindUint64,[new $Uint64(0,0),new $Uint64(2500000000,0)]),$toNativeArray($kindUint64,[new $Uint64(0,0),new $Uint64(3125000000,0)]),$toNativeArray($kindUint64,[new $Uint64(0,0),new $Uint64(3906250000,0)]),$toNativeArray($kindUint64,[new $Uint64(0,0),new $Uint64(2441406250,0)]),$toNativeArray($kindUint64,[new $Uint64(0,0),new $Uint64(3051757812,2147483648)]),$toNativeArray($kindUint64,[new $Uint64(0,0),new $Uint64(3814697265,2684354560)]),$toNativeArray($kindUint64,[new $Uint64(0,0),new $Uint64(2384185791,67108864)]),$toNativeArray($kindUint64,[new $Uint64(0,0),new $Uint64(2980232238,3305111552)]),$toNativeArray($kindUint64,[new $Uint64(0,0),new $Uint64(3725290298,1983905792)]),$toNativeArray($kindUint64,[new $Uint64(0,0),new $Uint64(2328306436,2313682944)]),$toNativeArray($kindUint64,[new $Uint64(0,0),new $Uint64(2910383045,2892103680)]),$toNativeArray($kindUint64,[new $Uint64(0,0),new $Uint64(3637978807,393904128)]),$toNativeArray($kindUint64,[new $Uint64(0,0),new $Uint64(2273736754,1856802816)]),$toNativeArray($kindUint64,[new $Uint64(0,0),new $Uint64(2842170943,173519872)]),$toNativeArray($kindUint64,[new $Uint64(0,0),new $Uint64(3552713678,3438125312)]),$toNativeArray($kindUint64,[new $Uint64(0,0),new $Uint64(2220446049,1075086496)]),$toNativeArray($kindUint64,[new $Uint64(0,0),new $Uint64(2775557561,2417599944)]),$toNativeArray($kindUint64,[new $Uint64(0,0),new $Uint64(3469446951,4095741754)]),$toNativeArray($kindUint64,[new $Uint64(1073741824,0),new $Uint64(2168404344,4170451332)]),$toNativeArray($kindUint64,[new $Uint64(1342177280,0),new $Uint64(2710505431,918096869)]),$toNativeArray($kindUint64,[new $Uint64(2751463424,0),new $Uint64(3388131789,73879262)]),$toNativeArray($kindUint64,[new $Uint64(1291845632,0),new $Uint64(4235164736,1166090902)]),$toNativeArray($kindUint64,[new $Uint64(4028628992,0),new $Uint64(2646977960,728806813)]),$toNativeArray($kindUint64,[new $Uint64(1814560768,0),new $Uint64(3308722450,911008517)]),$toNativeArray($kindUint64,[new $Uint64(3341942784,0),new $Uint64(4135903062,3286244294)]),$toNativeArray($kindUint64,[new $Uint64(1014972416,0),new $Uint64(2584939414,980160860)]),$toNativeArray($kindUint64,[new $Uint64(1268715520,0),new $Uint64(3231174267,3372684723)]),$toNativeArray($kindUint64,[new $Uint64(512152576,0),new $Uint64(4038967834,3142114080)]),$toNativeArray($kindUint64,[new $Uint64(320095360,0),new $Uint64(2524354896,3037563124)]),$toNativeArray($kindUint64,[new $Uint64(400119200,0),new $Uint64(3155443620,3796953905)]),$toNativeArray($kindUint64,[new $Uint64(1573890824,0),new $Uint64(3944304526,451225085)]),$toNativeArray($kindUint64,[new $Uint64(1520552677,0),new $Uint64(2465190328,3503241150)]),$toNativeArray($kindUint64,[new $Uint64(4048174494,1073741824),new $Uint64(3081487911,84084141)]),$toNativeArray($kindUint64,[new $Uint64(1838992645,3489660928),new $Uint64(3851859888,3326330649)]),$toNativeArray($kindUint64,[new $Uint64(3833724963,2717908992),new $Uint64(2407412430,2078956655)]),$toNativeArray($kindUint64,[new $Uint64(3718414380,2323644416),new $Uint64(3009265538,451212171)]),$toNativeArray($kindUint64,[new $Uint64(3574276151,2904555520),new $Uint64(3761581922,2711498862)]),$toNativeArray($kindUint64,[new $Uint64(1160180770,3425959936),new $Uint64(2350988701,2768428613)]),$toNativeArray($kindUint64,[new $Uint64(2523967787,2134966272),new $Uint64(2938735877,239310294)]),$toNativeArray($kindUint64,[new $Uint64(1007476086,1594966016),new $Uint64(3673419846,1372879692)]),$toNativeArray($kindUint64,[new $Uint64(2777156201,4218079232),new $Uint64(2295887403,4079275279)]),$toNativeArray($kindUint64,[new $Uint64(2397703428,2051373568),new $Uint64(2869859254,4025352275)]),$toNativeArray($kindUint64,[new $Uint64(1923387461,2564216960),new $Uint64(3587324068,2884206696)]),$toNativeArray($kindUint64,[new $Uint64(1202117163,2139506512),new $Uint64(2242077542,3950112833)]),$toNativeArray($kindUint64,[new $Uint64(2576388278,1600641316),new $Uint64(2802596928,2790157393)]),$toNativeArray($kindUint64,[new $Uint64(4294227171,4148285293),new $Uint64(3503246160,3487696741)]),$toNativeArray($kindUint64,[new $Uint64(3220762894,2055807396),new $Uint64(2189528850,2179810463)]),$toNativeArray($kindUint64,[new $Uint64(2952211794,422275597),new $Uint64(2736911063,577279431)]),$toNativeArray($kindUint64,[new $Uint64(2616522918,2675328144),new $Uint64(3421138828,3942824761)]),$toNativeArray($kindUint64,[new $Uint64(49428176,1196676532),new $Uint64(4276423536,633563656)]),$toNativeArray($kindUint64,[new $Uint64(30892610,747922832),new $Uint64(2672764710,395977285)]),$toNativeArray($kindUint64,[new $Uint64(1112357586,3082387189),new $Uint64(3340955887,2642455254)]),$toNativeArray($kindUint64,[new $Uint64(3537930631,1705500338),new $Uint64(4176194859,2229327243)]),$toNativeArray($kindUint64,[new $Uint64(1674335732,2676550447),new $Uint64(2610121787,856458615)]),$toNativeArray($kindUint64,[new $Uint64(1019177841,3345688059),new $Uint64(3262652233,4291798741)]),$toNativeArray($kindUint64,[new $Uint64(2347714126,960884602),new $Uint64(4078315292,2143522954)]),$toNativeArray($kindUint64,[new $Uint64(2541063152,3821778348),new $Uint64(2548947057,3487185494)]),$toNativeArray($kindUint64,[new $Uint64(1028845293,482255639),new $Uint64(3186183822,1137756396)]),$toNativeArray($kindUint64,[new $Uint64(1286056616,1676561373),new $Uint64(3982729777,3569679143)]),$toNativeArray($kindUint64,[new $Uint64(2414398121,1047850858),new $Uint64(2489206111,620436728)]),$toNativeArray($kindUint64,[new $Uint64(3017997651,2383555396),new $Uint64(3111507638,3996771382)]),$toNativeArray($kindUint64,[new $Uint64(1625013416,1905702422),new $Uint64(3889384548,2848480580)]),$toNativeArray($kindUint64,[new $Uint64(3163117033,1191064013),new $Uint64(2430865342,3927784010)]),$toNativeArray($kindUint64,[new $Uint64(1806412643,2562571841),new $Uint64(3038581678,2762246365)]),$toNativeArray($kindUint64,[new $Uint64(3331757628,2129472977),new $Uint64(3798227098,1305324308)]),$toNativeArray($kindUint64,[new $Uint64(4229832165,3478404258),new $Uint64(2373891936,1889569516)]),$toNativeArray($kindUint64,[new $Uint64(992322911,1126779851),new $Uint64(2967364920,2361961896)]),$toNativeArray($kindUint64,[new $Uint64(1240403639,334732990),new $Uint64(3709206150,2952452370)]),$toNativeArray($kindUint64,[new $Uint64(1848994098,1819820855),new $Uint64(2318253844,771540907)]),$toNativeArray($kindUint64,[new $Uint64(1237500799,127292420),new $Uint64(2897817305,964426134)]),$toNativeArray($kindUint64,[new $Uint64(3694359646,3380340998),new $Uint64(3622271631,2279274491)]),$toNativeArray($kindUint64,[new $Uint64(1772103867,1038971299),new $Uint64(2263919769,3035159293)]),$toNativeArray($kindUint64,[new $Uint64(3288871658,224972300),new $Uint64(2829899712,572723644)]),$toNativeArray($kindUint64,[new $Uint64(4111089572,2428699024),new $Uint64(3537374640,715904555)]),$toNativeArray($kindUint64,[new $Uint64(2032560070,3665420538),new $Uint64(2210859150,447440347)]),$toNativeArray($kindUint64,[new $Uint64(1466958264,2434292024),new $Uint64(2763573937,2706784082)]),$toNativeArray($kindUint64,[new $Uint64(3981181478,3042865030),new $Uint64(3454467422,162254630)]),$toNativeArray($kindUint64,[new $Uint64(1414496600,828048820),new $Uint64(2159042138,3322634616)]),$toNativeArray($kindUint64,[new $Uint64(1768120750,1035061025),new $Uint64(2698802673,2005809622)]),$toNativeArray($kindUint64,[new $Uint64(62667289,3441309929),new $Uint64(3373503341,3581003852)]),$toNativeArray($kindUint64,[new $Uint64(78334112,1080411939),new $Uint64(4216879177,1255029343)]),$toNativeArray($kindUint64,[new $Uint64(1659571556,675257462),new $Uint64(2635549485,3468747899)]),$toNativeArray($kindUint64,[new $Uint64(1000722621,844071828),new $Uint64(3294436857,1114709402)]),$toNativeArray($kindUint64,[new $Uint64(3398386924,2128831609),new $Uint64(4118046071,2467128576)]),$toNativeArray($kindUint64,[new $Uint64(2123991827,3478003403),new $Uint64(2573778794,3152568096)]),$toNativeArray($kindUint64,[new $Uint64(2654989784,3273762430),new $Uint64(3217223493,1793226472)]),$toNativeArray($kindUint64,[new $Uint64(3318737230,4092203038),new $Uint64(4021529366,3315274914)]),$toNativeArray($kindUint64,[new $Uint64(3147952593,1483885074),new $Uint64(2513455854,998304997)]),$toNativeArray($kindUint64,[new $Uint64(713715269,2928598167),new $Uint64(3141819817,3395364895)]),$toNativeArray($kindUint64,[new $Uint64(4113369559,439522237),new $Uint64(3927274772,1022980646)]),$toNativeArray($kindUint64,[new $Uint64(1497114150,1885314134),new $Uint64(2454546732,2786846552)]),$toNativeArray($kindUint64,[new $Uint64(1871392688,209159020),new $Uint64(3068183415,3483558190)]),$toNativeArray($kindUint64,[new $Uint64(191757212,261448775),new $Uint64(3835229269,3280705914)]),$toNativeArray($kindUint64,[new $Uint64(1193590081,2310889132),new $Uint64(2397018293,2587312108)]),$toNativeArray($kindUint64,[new $Uint64(1491987601,3962353239),new $Uint64(2996272867,12914663)]),$toNativeArray($kindUint64,[new $Uint64(791242678,1731716077),new $Uint64(3745341083,3237368801)]),$toNativeArray($kindUint64,[new $Uint64(3178881234,8580724),new $Uint64(2340838177,1486484588)]),$toNativeArray($kindUint64,[new $Uint64(3973601542,2158209553),new $Uint64(2926047721,2931847559)]),$toNativeArray($kindUint64,[new $Uint64(3893260104,550278293),new $Uint64(3657559652,443583977)]),$toNativeArray($kindUint64,[new $Uint64(822674829,343923933),new $Uint64(2285974782,2424723634)]),$toNativeArray($kindUint64,[new $Uint64(3175827184,1503646741),new $Uint64(2857468478,883420894)]),$toNativeArray($kindUint64,[new $Uint64(1822300332,1879558426),new $Uint64(3571835597,3251759766)]),$toNativeArray($kindUint64,[new $Uint64(65195883,3322207664),new $Uint64(2232397248,2569220766)]),$toNativeArray($kindUint64,[new $Uint64(2228978502,3079017756),new $Uint64(2790496560,3211525957)]),$toNativeArray($kindUint64,[new $Uint64(3859964952,1701288547),new $Uint64(3488120700,4014407446)]),$toNativeArray($kindUint64,[new $Uint64(1338736271,1063305342),new $Uint64(2180075438,361521006)]),$toNativeArray($kindUint64,[new $Uint64(3820903987,255389853),new $Uint64(2725094297,2599384905)]),$toNativeArray($kindUint64,[new $Uint64(1554904511,3540462789),new $Uint64(3406367872,28005660)]),$toNativeArray($kindUint64,[new $Uint64(1943630639,3351836662),new $Uint64(4257959840,35007075)]),$toNativeArray($kindUint64,[new $Uint64(677898237,3705510650),new $Uint64(2661224900,21879422)]),$toNativeArray($kindUint64,[new $Uint64(2994856445,1410662840),new $Uint64(3326531125,27349277)]),$toNativeArray($kindUint64,[new $Uint64(522345084,2837070374),new $Uint64(4158163906,1107928421)]),$toNativeArray($kindUint64,[new $Uint64(863336589,3920652632),new $Uint64(2598852441,1766197087)]),$toNativeArray($kindUint64,[new $Uint64(5428913,1679590318),new $Uint64(3248565551,3281488183)]),$toNativeArray($kindUint64,[new $Uint64(3228011613,3173229722),new $Uint64(4060706939,3028118404)]),$toNativeArray($kindUint64,[new $Uint64(4164990906,2520139488),new $Uint64(2537941837,1355703090)]),$toNativeArray($kindUint64,[new $Uint64(3058754985,1002690712),new $Uint64(3172427296,2768370687)]),$toNativeArray($kindUint64,[new $Uint64(2749701907,2327105214),new $Uint64(3965534120,3460463359)]),$toNativeArray($kindUint64,[new $Uint64(3329176428,917569847),new $Uint64(2478458825,2162789599)]),$toNativeArray($kindUint64,[new $Uint64(3087728711,1146962308),new $Uint64(3098073531,3777228823)]),$toNativeArray($kindUint64,[new $Uint64(2785919065,359961061),new $Uint64(3872591914,3647794205)]),$toNativeArray($kindUint64,[new $Uint64(2278070327,2909330223),new $Uint64(2420369946,3353613202)]),$toNativeArray($kindUint64,[new $Uint64(700104261,2562920955),new $Uint64(3025462433,2044532855)]),$toNativeArray($kindUint64,[new $Uint64(4096355798,4277393018),new $Uint64(3781828041,3629407892)]),$toNativeArray($kindUint64,[new $Uint64(412738726,1599628812),new $Uint64(2363642526,657767197)]),$toNativeArray($kindUint64,[new $Uint64(1589665231,4147019663),new $Uint64(2954553157,2969692644)]),$toNativeArray($kindUint64,[new $Uint64(1987081539,4110032755),new $Uint64(3693191447,490890333)]),$toNativeArray($kindUint64,[new $Uint64(1778796874,2031899560),new $Uint64(2308244654,1917419194)]),$toNativeArray($kindUint64,[new $Uint64(76012445,392390802),new $Uint64(2885305818,249290345)]),$toNativeArray($kindUint64,[new $Uint64(1168757380,1564230326),new $Uint64(3606632272,2459096579)]),$toNativeArray($kindUint64,[new $Uint64(193602450,3125127602),new $Uint64(2254145170,1536935362)]),$toNativeArray($kindUint64,[new $Uint64(2389486711,1758925854),new $Uint64(2817681462,4068652850)]),$toNativeArray($kindUint64,[new $Uint64(839374741,1124915494),new $Uint64(3522101828,2938332415)]),$toNativeArray($kindUint64,[new $Uint64(2135221949,1239943096),new $Uint64(2201313642,3983941407)]),$toNativeArray($kindUint64,[new $Uint64(1595285612,2623670694),new $Uint64(2751642053,2832443111)]),$toNativeArray($kindUint64,[new $Uint64(920365191,3279588367),new $Uint64(3439552567,319328417)]),$toNativeArray($kindUint64,[new $Uint64(3259582804,3660355465),new $Uint64(2149720354,1810192996)]),$toNativeArray($kindUint64,[new $Uint64(4074478506,280477036),new $Uint64(2687150443,115257597)]),$toNativeArray($kindUint64,[new $Uint64(1871872660,2498079943),new $Uint64(3358938053,3365297469)]),$toNativeArray($kindUint64,[new $Uint64(3413582649,3122599929),new $Uint64(4198672567,985396364)]),$toNativeArray($kindUint64,[new $Uint64(4280972804,341012219),new $Uint64(2624170354,2226485463)]),$toNativeArray($kindUint64,[new $Uint64(4277474181,426265274),new $Uint64(3280212943,635623181)]),$toNativeArray($kindUint64,[new $Uint64(2125617254,1606573417),new $Uint64(4100266178,4015754449)]),$toNativeArray($kindUint64,[new $Uint64(4012865343,4225333857),new $Uint64(2562666361,3583588354)]),$toNativeArray($kindUint64,[new $Uint64(2868598031,4207925498),new $Uint64(3203332952,1258259971)]),$toNativeArray($kindUint64,[new $Uint64(2512005715,4186165048),new $Uint64(4004166190,1572824964)]),$toNativeArray($kindUint64,[new $Uint64(3717487220,2079482243),new $Uint64(2502603868,4204241074)]),$toNativeArray($kindUint64,[new $Uint64(2499375377,2599352804),new $Uint64(3128254836,960334047)]),$toNativeArray($kindUint64,[new $Uint64(2050477398,27965533),new $Uint64(3910318545,1200417559)]),$toNativeArray($kindUint64,[new $Uint64(2892161109,3238703930),new $Uint64(2443949090,3434615534)]),$toNativeArray($kindUint64,[new $Uint64(1467717739,827154441),new $Uint64(3054936363,2145785770)]),$toNativeArray($kindUint64,[new $Uint64(3982130821,4255168523),new $Uint64(3818670454,1608490388)]),$toNativeArray($kindUint64,[new $Uint64(341348115,3196351239),new $Uint64(2386669033,4226531965)]),$toNativeArray($kindUint64,[new $Uint64(1500426968,2921697224),new $Uint64(2983336292,2061939484)]),$toNativeArray($kindUint64,[new $Uint64(1875533710,3652121531),new $Uint64(3729170365,2577424355)]),$toNativeArray($kindUint64,[new $Uint64(635337657,1208834132),new $Uint64(2330731478,2147761134)]),$toNativeArray($kindUint64,[new $Uint64(2941655719,2584784490),new $Uint64(2913414348,537217769)]),$toNativeArray($kindUint64,[new $Uint64(455844177,2157238788),new $Uint64(3641767935,671522212)]),$toNativeArray($kindUint64,[new $Uint64(2432386258,4032628802),new $Uint64(2276104959,2030314118)]),$toNativeArray($kindUint64,[new $Uint64(892999175,2893302355),new $Uint64(2845131199,1464150824)]),$toNativeArray($kindUint64,[new $Uint64(1116248969,2542886120),new $Uint64(3556413999,756446706)]),$toNativeArray($kindUint64,[new $Uint64(1771397429,4273658385),new $Uint64(2222758749,2083391927)]),$toNativeArray($kindUint64,[new $Uint64(1140504963,2120847509),new $Uint64(2778448436,3677981733)]),$toNativeArray($kindUint64,[new $Uint64(2499373028,1577317563),new $Uint64(3473060546,302509870)]),$toNativeArray($kindUint64,[new $Uint64(488366318,3133307125),new $Uint64(2170662841,1262810493)]),$toNativeArray($kindUint64,[new $Uint64(1684199722,1769150258),new $Uint64(2713328551,2652254940)]),$toNativeArray($kindUint64,[new $Uint64(2105249653,63954174),new $Uint64(3391660689,2241576851)]),$toNativeArray($kindUint64,[new $Uint64(1557820242,1153684542),new $Uint64(4239575861,3875712888)]),$toNativeArray($kindUint64,[new $Uint64(973637651,1794794663),new $Uint64(2649734913,2959191467)]),$toNativeArray($kindUint64,[new $Uint64(143305240,1169751504),new $Uint64(3312168642,477763862)]),$toNativeArray($kindUint64,[new $Uint64(2326615198,1462189381),new $Uint64(4140210802,2744688475)]),$toNativeArray($kindUint64,[new $Uint64(917263586,4135093835),new $Uint64(2587631751,2789172121)]),$toNativeArray($kindUint64,[new $Uint64(2220321307,3021383645),new $Uint64(3234539689,2412723327)]),$toNativeArray($kindUint64,[new $Uint64(1701659810,2702987733),new $Uint64(4043174611,4089645983)]),$toNativeArray($kindUint64,[new $Uint64(2674150117,2763109157),new $Uint64(2526984132,2019157827)]),$toNativeArray($kindUint64,[new $Uint64(2268945823,232660974),new $Uint64(3158730165,2523947284)]),$toNativeArray($kindUint64,[new $Uint64(2836182278,3512051690),new $Uint64(3948412706,4228675929)]),$toNativeArray($kindUint64,[new $Uint64(162001188,1121290482),new $Uint64(2467757941,3716664280)]),$toNativeArray($kindUint64,[new $Uint64(202501485,1401613103),new $Uint64(3084697427,1424604878)]),$toNativeArray($kindUint64,[new $Uint64(2400610504,2825758202),new $Uint64(3855871784,707014273)]),$toNativeArray($kindUint64,[new $Uint64(4184736125,1766098876),new $Uint64(2409919865,441883920)]),$toNativeArray($kindUint64,[new $Uint64(935952860,3281365420),new $Uint64(3012399831,1626096725)]),$toNativeArray($kindUint64,[new $Uint64(2243682899,4101706775),new $Uint64(3765499789,958879082)]),$toNativeArray($kindUint64,[new $Uint64(2476043636,2026695822),new $Uint64(2353437368,1136170338)]),$toNativeArray($kindUint64,[new $Uint64(947570897,2533369778),new $Uint64(2941796710,1420212923)]),$toNativeArray($kindUint64,[new $Uint64(110721797,4240454046),new $Uint64(3677245887,3922749802)]),$toNativeArray($kindUint64,[new $Uint64(1142942947,3187154691),new $Uint64(2298278679,4062331362)]),$toNativeArray($kindUint64,[new $Uint64(3576162332,2910201539),new $Uint64(2872848349,4004172378)]),$toNativeArray($kindUint64,[new $Uint64(2322719267,3637751924),new $Uint64(3591060437,1783990001)]),$toNativeArray($kindUint64,[new $Uint64(4136054102,1736724041),new $Uint64(2244412773,1651864662)]),$toNativeArray($kindUint64,[new $Uint64(3022583980,23421403),new $Uint64(2805515966,3138572652)]),$toNativeArray($kindUint64,[new $Uint64(3778229975,29276754),new $Uint64(3506894958,1775732167)]),$toNativeArray($kindUint64,[new $Uint64(3972006470,1628910707),new $Uint64(2191809349,36090780)]),$toNativeArray($kindUint64,[new $Uint64(670040791,4183622032),new $Uint64(2739761686,1118855300)]),$toNativeArray($kindUint64,[new $Uint64(837550989,4155785716),new $Uint64(3424702107,3546052773)]),$toNativeArray($kindUint64,[new $Uint64(2120680561,1973506673),new $Uint64(4280877634,3358824142)]),$toNativeArray($kindUint64,[new $Uint64(251683526,3917796230),new $Uint64(2675548521,3173006913)]),$toNativeArray($kindUint64,[new $Uint64(1388346232,2749761640),new $Uint64(3344435652,745033169)]),$toNativeArray($kindUint64,[new $Uint64(2809174614,3437202050),new $Uint64(4180544565,931291461)]),$toNativeArray($kindUint64,[new $Uint64(2292605046,1074509457),new $Uint64(2612840353,1118928075)]),$toNativeArray($kindUint64,[new $Uint64(1792014483,3490620469),new $Uint64(3266050441,2472401918)]),$toNativeArray($kindUint64,[new $Uint64(92534456,3289533763),new $Uint64(4082563051,4164244222)]),$toNativeArray($kindUint64,[new $Uint64(3279059507,2055958602),new $Uint64(2551601907,2065781726)]),$toNativeArray($kindUint64,[new $Uint64(1951340736,1496206428),new $Uint64(3189502384,1508485334)]),$toNativeArray($kindUint64,[new $Uint64(291692272,1870258035),new $Uint64(3986877980,1885606668)]),$toNativeArray($kindUint64,[new $Uint64(2329791318,1168911272),new $Uint64(2491798737,3325987815)]),$toNativeArray($kindUint64,[new $Uint64(1838497323,3608622738),new $Uint64(3114748422,936259297)]),$toNativeArray($kindUint64,[new $Uint64(3371863478,3437036599),new $Uint64(3893435527,3317807769)]),$toNativeArray($kindUint64,[new $Uint64(496801938,1074406050),new $Uint64(2433397204,3684242592)]),$toNativeArray($kindUint64,[new $Uint64(621002422,3490491211),new $Uint64(3041746506,310335944)]),$toNativeArray($kindUint64,[new $Uint64(776253028,2215630365),new $Uint64(3802183132,2535403578)]),$toNativeArray($kindUint64,[new $Uint64(1558899966,3532252626),new $Uint64(2376364457,3732110884)]),$toNativeArray($kindUint64,[new $Uint64(1948624958,2267832135),new $Uint64(2970455572,1443913133)]),$toNativeArray($kindUint64,[new $Uint64(3509523022,687306521),new $Uint64(3713069465,1804891416)]),$toNativeArray($kindUint64,[new $Uint64(2193451888,3650792047),new $Uint64(2320668415,3812411695)]),$toNativeArray($kindUint64,[new $Uint64(1668073037,268522763),new $Uint64(2900835519,3691772795)]),$toNativeArray($kindUint64,[new $Uint64(1011349472,1409395278),new $Uint64(3626044399,3540974170)]),$toNativeArray($kindUint64,[new $Uint64(1705835244,880872049),new $Uint64(2266277749,3823721592)]),$toNativeArray($kindUint64,[new $Uint64(2132294055,1101090061),new $Uint64(2832847187,1558426518)]),$toNativeArray($kindUint64,[new $Uint64(517883921,302620752),new $Uint64(3541058984,874291324)]),$toNativeArray($kindUint64,[new $Uint64(2471161098,2873492530),new $Uint64(2213161865,546432077)]),$toNativeArray($kindUint64,[new $Uint64(4162693197,1444382015),new $Uint64(2766452331,1756781920)]),$toNativeArray($kindUint64,[new $Uint64(908399200,2879219342),new $Uint64(3458065414,1122235577)]),$toNativeArray($kindUint64,[new $Uint64(3252104060,1799512089),new $Uint64(2161290883,3922622707)]),$toNativeArray($kindUint64,[new $Uint64(2991388251,2249390111),new $Uint64(2701613604,3829536560)]),$toNativeArray($kindUint64,[new $Uint64(3739235314,1737995815),new $Uint64(3377017006,491953404)]),$toNativeArray($kindUint64,[new $Uint64(379076847,25011121),new $Uint64(4221271257,2762425404)]),$toNativeArray($kindUint64,[new $Uint64(2384406677,1626244686),new $Uint64(2638294536,115903141)]),$toNativeArray($kindUint64,[new $Uint64(4054250170,3106547682),new $Uint64(3297868170,144878926)]),$toNativeArray($kindUint64,[new $Uint64(2920329065,1735700955),new $Uint64(4122335212,2328582306)]),$toNativeArray($kindUint64,[new $Uint64(2898947489,3769167657),new $Uint64(2576459507,3602847589)]),$toNativeArray($kindUint64,[new $Uint64(402458890,1490234099),new $Uint64(3220574384,3429817663)]),$toNativeArray($kindUint64,[new $Uint64(3724299084,4010276272),new $Uint64(4025717980,4287272078)]),$toNativeArray($kindUint64,[new $Uint64(1253945104,358939022),new $Uint64(2516073738,532061401)]),$toNativeArray($kindUint64,[new $Uint64(2641173204,448673777),new $Uint64(3145092172,2812560399)]),$toNativeArray($kindUint64,[new $Uint64(2227724681,560842221),new $Uint64(3931365215,3515700499)]),$toNativeArray($kindUint64,[new $Uint64(855457013,3034880948),new $Uint64(2457103259,3807925548)]),$toNativeArray($kindUint64,[new $Uint64(1069321267,572375713),new $Uint64(3071379074,3686165111)]),$toNativeArray($kindUint64,[new $Uint64(262909759,3936695114),new $Uint64(3839223843,2460222741)]),$toNativeArray($kindUint64,[new $Uint64(701189511,4071047182),new $Uint64(2399514902,1000768301)]),$toNativeArray($kindUint64,[new $Uint64(1950228713,4015067154),new $Uint64(2999393627,3398444024)]),$toNativeArray($kindUint64,[new $Uint64(2437785892,1797608470),new $Uint64(3749242034,3174313206)]),$toNativeArray($kindUint64,[new $Uint64(449874358,3270988942),new $Uint64(2343276271,3057687578)]),$toNativeArray($kindUint64,[new $Uint64(2709826596,1941252529),new $Uint64(2929095339,2748367648)]),$toNativeArray($kindUint64,[new $Uint64(3387283245,2426565662),new $Uint64(3661369174,2361717736)]),$toNativeArray($kindUint64,[new $Uint64(2117052028,2053474450),new $Uint64(2288355734,402331761)]),$toNativeArray($kindUint64,[new $Uint64(3720056859,2566843063),new $Uint64(2860444667,2650398349)]),$toNativeArray($kindUint64,[new $Uint64(1428845602,2134812005),new $Uint64(3575555834,2239256113)]),$toNativeArray($kindUint64,[new $Uint64(3577383061,2407999327),new $Uint64(2234722396,2473276894)]),$toNativeArray($kindUint64,[new $Uint64(2324245178,4083740983),new $Uint64(2793402995,3091596118)]),$toNativeArray($kindUint64,[new $Uint64(757822825,2957192581),new $Uint64(3491753744,2790753324)]),$toNativeArray($kindUint64,[new $Uint64(2621122914,237632627),new $Uint64(2182346090,1744220827)]),$toNativeArray($kindUint64,[new $Uint64(2202661818,2444524431),new $Uint64(2727932613,32792386)]),$toNativeArray($kindUint64,[new $Uint64(605843625,908171891),new $Uint64(3409915766,1114732307)]),$toNativeArray($kindUint64,[new $Uint64(3978530003,2208956688),new $Uint64(4262394707,3540899031)]),$toNativeArray($kindUint64,[new $Uint64(4097193988,843727018),new $Uint64(2663996692,1676190982)]),$toNativeArray($kindUint64,[new $Uint64(2974008837,1054658773),new $Uint64(3329995865,2095238728)]),$toNativeArray($kindUint64,[new $Uint64(3717511046,2392065290),new $Uint64(4162494831,3692790234)]),$toNativeArray($kindUint64,[new $Uint64(3397186228,421298982),new $Uint64(2601559269,3918606632)]),$toNativeArray($kindUint64,[new $Uint64(4246482785,526623728),new $Uint64(3251949087,1677032818)]),$toNativeArray($kindUint64,[new $Uint64(3160619833,1732021484),new $Uint64(4064936359,1022549199)]),$toNativeArray($kindUint64,[new $Uint64(3586000131,3766867987),new $Uint64(2540585224,2249705985)]),$toNativeArray($kindUint64,[new $Uint64(1261274692,3634843160),new $Uint64(3175731530,2812132482)]),$toNativeArray($kindUint64,[new $Uint64(3724077014,248586654),new $Uint64(3969664413,1367681954)]),$toNativeArray($kindUint64,[new $Uint64(3401289957,3376592131),new $Uint64(2481040258,1391672133)]),$toNativeArray($kindUint64,[new $Uint64(1030386975,999514691),new $Uint64(3101300322,3887073815)]),$toNativeArray($kindUint64,[new $Uint64(214241895,175651540),new $Uint64(3876625403,2711358621)]),$toNativeArray($kindUint64,[new $Uint64(670772096,1720394949),new $Uint64(2422890877,1157728226)]),$toNativeArray($kindUint64,[new $Uint64(2985948768,2150493686),new $Uint64(3028613596,2520902106)]),$toNativeArray($kindUint64,[new $Uint64(1584952312,2688117107),new $Uint64(3785766995,3151127633)]),$toNativeArray($kindUint64,[new $Uint64(3674949755,1680073192),new $Uint64(2366104372,1432583858)]),$toNativeArray($kindUint64,[new $Uint64(2446203546,1026349666),new $Uint64(2957630465,1790729823)]),$toNativeArray($kindUint64,[new $Uint64(1984012608,3430420731),new $Uint64(3697038081,3312154103)]),$toNativeArray($kindUint64,[new $Uint64(2850620616,2144012957),new $Uint64(2310648801,459483578)]),$toNativeArray($kindUint64,[new $Uint64(1415792122,2680016196),new $Uint64(2888311001,1648096297)]),$toNativeArray($kindUint64,[new $Uint64(2843481977,1202536597),new $Uint64(3610388751,3133862195)]),$toNativeArray($kindUint64,[new $Uint64(1240305323,3435939933),new $Uint64(2256492969,3569276608)]),$toNativeArray($kindUint64,[new $Uint64(1550381654,3221183092),new $Uint64(2820616212,1240370288)]),$toNativeArray($kindUint64,[new $Uint64(1937977068,1878995217),new $Uint64(3525770265,1550462860)]),$toNativeArray($kindUint64,[new $Uint64(3358719315,3321855659),new $Uint64(2203606415,3653393847)]),$toNativeArray($kindUint64,[new $Uint64(3124657320,3078577749),new $Uint64(2754508019,3493000485)]),$toNativeArray($kindUint64,[new $Uint64(684596178,3848222187),new $Uint64(3443135024,3292508783)]),$toNativeArray($kindUint64,[new $Uint64(2038485347,3478880691),new $Uint64(2151959390,2057817989)]),$toNativeArray($kindUint64,[new $Uint64(3621848508,3274859039),new $Uint64(2689949238,424788838)]),$toNativeArray($kindUint64,[new $Uint64(2379826987,4093573799),new $Uint64(3362436547,2678469696)]),$toNativeArray($kindUint64,[new $Uint64(2974783734,4043225425),new $Uint64(4203045684,2274345296)]),$toNativeArray($kindUint64,[new $Uint64(1859239834,1453274067),new $Uint64(2626903552,3568949458)]),$toNativeArray($kindUint64,[new $Uint64(176566144,3964076232),new $Uint64(3283629441,166219527)]),$toNativeArray($kindUint64,[new $Uint64(3441933153,660127994),new $Uint64(4104536801,1281516232)]),$toNativeArray($kindUint64,[new $Uint64(2151208220,3096934556),new $Uint64(2565335500,3485302205)]),$toNativeArray($kindUint64,[new $Uint64(3762752099,3871168195),new $Uint64(3206669376,61660460)]),$toNativeArray($kindUint64,[new $Uint64(408472828,3765218420),new $Uint64(4008336720,77075576)]),$toNativeArray($kindUint64,[new $Uint64(255295518,205777864),new $Uint64(2505210450,48172235)]),$toNativeArray($kindUint64,[new $Uint64(3540344869,2404705978),new $Uint64(3131513062,2207698941)]),$toNativeArray($kindUint64,[new $Uint64(1204205614,4079624297),new $Uint64(3914391328,612140029)]),$toNativeArray($kindUint64,[new $Uint64(1289499421,1476023361),new $Uint64(2446494580,382587518)]),$toNativeArray($kindUint64,[new $Uint64(3759357924,2918771026),new $Uint64(3058118225,478234397)]),$toNativeArray($kindUint64,[new $Uint64(1477971933,3648463782),new $Uint64(3822647781,1671534821)]),$toNativeArray($kindUint64,[new $Uint64(1460603370,2817160776),new $Uint64(2389154863,1581580175)]),$toNativeArray($kindUint64,[new $Uint64(752012389,1373967322),new $Uint64(2986443579,903233395)]),$toNativeArray($kindUint64,[new $Uint64(4161240958,2791200977),new $Uint64(3733054474,55299919)]),$toNativeArray($kindUint64,[new $Uint64(4211388335,670758786),new $Uint64(2333159046,1108304273)]),$toNativeArray($kindUint64,[new $Uint64(2043009946,4059673955),new $Uint64(2916448807,3532863990)]),$toNativeArray($kindUint64,[new $Uint64(406278785,2927108796),new $Uint64(3645561009,3342338164)]),$toNativeArray($kindUint64,[new $Uint64(2401407889,218830261),new $Uint64(2278475631,478348616)]),$toNativeArray($kindUint64,[new $Uint64(3001759861,1347279650),new $Uint64(2848094538,3819161242)]),$toNativeArray($kindUint64,[new $Uint64(1604716178,2757841387),new $Uint64(3560118173,2626467905)]),$toNativeArray($kindUint64,[new $Uint64(3687302171,2797392691),new $Uint64(2225073858,2178413352)]),$toNativeArray($kindUint64,[new $Uint64(314160418,2422999040),new $Uint64(2781342323,575533043)]),$toNativeArray($kindUint64,[new $Uint64(3613925995,881265152),new $Uint64(3476677903,3940641775)]),$toNativeArray($kindUint64,[new $Uint64(3869316483,13919808),new $Uint64(2172923689,4073513845)]),$toNativeArray($kindUint64,[new $Uint64(1615420131,3238625232),new $Uint64(2716154612,1870666835)]),$toNativeArray($kindUint64,[new $Uint64(945533340,2974539716),new $Uint64(3395193265,2338333544)]),$toNativeArray($kindUint64,[new $Uint64(1181916675,3718174645),new $Uint64(4243991581,3996658754)]),$toNativeArray($kindUint64,[new $Uint64(1812439746,1786988241),new $Uint64(2652494738,3034782633)]),$toNativeArray($kindUint64,[new $Uint64(3339291507,86251653),new $Uint64(3315618423,1645994643)]),$toNativeArray($kindUint64,[new $Uint64(3100372559,3329040039),new $Uint64(4144523029,983751480)]),$toNativeArray($kindUint64,[new $Uint64(1937732849,3691262760),new $Uint64(2590326893,1151715587)]),$toNativeArray($kindUint64,[new $Uint64(1348424238,1392852978),new $Uint64(3237908616,2513386308)]),$toNativeArray($kindUint64,[new $Uint64(1685530297,3888549871),new $Uint64(4047385770,3141732885)]),$toNativeArray($kindUint64,[new $Uint64(1590327348,819730933),new $Uint64(2529616106,3037324877)]),$toNativeArray($kindUint64,[new $Uint64(3061651009,1024663666),new $Uint64(3162020133,1649172448)]),$toNativeArray($kindUint64,[new $Uint64(3827063761,2354571407),new $Uint64(3952525166,3135207384)]),$toNativeArray($kindUint64,[new $Uint64(2391914850,4155961689),new $Uint64(2470328229,885762791)]),$toNativeArray($kindUint64,[new $Uint64(1916151739,3047468464),new $Uint64(3087910286,2180945313)]),$toNativeArray($kindUint64,[new $Uint64(3468931498,2735593756),new $Uint64(3859887858,578697993)]),$toNativeArray($kindUint64,[new $Uint64(557469450,2783487921),new $Uint64(2412429911,1435428070)]),$toNativeArray($kindUint64,[new $Uint64(2844320461,1331876253),new $Uint64(3015537389,720543263)]),$toNativeArray($kindUint64,[new $Uint64(2481658752,2738587141),new $Uint64(3769421736,1974420903)]),$toNativeArray($kindUint64,[new $Uint64(3161649456,1711616963),new $Uint64(2355888585,1234013064)]),$toNativeArray($kindUint64,[new $Uint64(3952061820,2139521204),new $Uint64(2944860731,2616258154)]),$toNativeArray($kindUint64,[new $Uint64(2792593627,2674401505),new $Uint64(3681075914,2196580869)]),$toNativeArray($kindUint64,[new $Uint64(2282241929,1134630028),new $Uint64(2300672446,2446604867)]),$toNativeArray($kindUint64,[new $Uint64(1779060587,2492029360),new $Uint64(2875840558,910772436)]),$toNativeArray($kindUint64,[new $Uint64(2223825734,2041294876),new $Uint64(3594800697,3285949193)]),$toNativeArray($kindUint64,[new $Uint64(4074245644,202067473),new $Uint64(2246750436,443105509)]),$toNativeArray($kindUint64,[new $Uint64(1871581583,252584341),new $Uint64(2808438045,553881887)]),$toNativeArray($kindUint64,[new $Uint64(1265735154,3536955899),new $Uint64(3510547556,1766094183)])]);CH=new DW([new CG.ptr(0,""),new CG.ptr(1,"5"),new CG.ptr(1,"25"),new CG.ptr(1,"125"),new CG.ptr(2,"625"),new CG.ptr(2,"3125"),new CG.ptr(2,"15625"),new CG.ptr(3,"78125"),new CG.ptr(3,"390625"),new CG.ptr(3,"1953125"),new CG.ptr(4,"9765625"),new CG.ptr(4,"48828125"),new CG.ptr(4,"244140625"),new CG.ptr(4,"1220703125"),new CG.ptr(5,"6103515625"),new CG.ptr(5,"30517578125"),new CG.ptr(5,"152587890625"),new CG.ptr(6,"762939453125"),new CG.ptr(6,"3814697265625"),new CG.ptr(6,"19073486328125"),new CG.ptr(7,"95367431640625"),new CG.ptr(7,"476837158203125"),new CG.ptr(7,"2384185791015625"),new CG.ptr(7,"11920928955078125"),new CG.ptr(8,"59604644775390625"),new CG.ptr(8,"298023223876953125"),new CG.ptr(8,"1490116119384765625"),new CG.ptr(9,"7450580596923828125"),new CG.ptr(9,"37252902984619140625"),new CG.ptr(9,"186264514923095703125"),new CG.ptr(10,"931322574615478515625"),new CG.ptr(10,"4656612873077392578125"),new CG.ptr(10,"23283064365386962890625"),new CG.ptr(10,"116415321826934814453125"),new CG.ptr(11,"582076609134674072265625"),new CG.ptr(11,"2910383045673370361328125"),new CG.ptr(11,"14551915228366851806640625"),new CG.ptr(12,"72759576141834259033203125"),new CG.ptr(12,"363797880709171295166015625"),new CG.ptr(12,"1818989403545856475830078125"),new CG.ptr(13,"9094947017729282379150390625"),new CG.ptr(13,"45474735088646411895751953125"),new CG.ptr(13,"227373675443232059478759765625"),new CG.ptr(13,"1136868377216160297393798828125"),new CG.ptr(14,"5684341886080801486968994140625"),new CG.ptr(14,"28421709430404007434844970703125"),new CG.ptr(14,"142108547152020037174224853515625"),new CG.ptr(15,"710542735760100185871124267578125"),new CG.ptr(15,"3552713678800500929355621337890625"),new CG.ptr(15,"17763568394002504646778106689453125"),new CG.ptr(16,"88817841970012523233890533447265625"),new CG.ptr(16,"444089209850062616169452667236328125"),new CG.ptr(16,"2220446049250313080847263336181640625"),new CG.ptr(16,"11102230246251565404236316680908203125"),new CG.ptr(17,"55511151231257827021181583404541015625"),new CG.ptr(17,"277555756156289135105907917022705078125"),new CG.ptr(17,"1387778780781445675529539585113525390625"),new CG.ptr(18,"6938893903907228377647697925567626953125"),new CG.ptr(18,"34694469519536141888238489627838134765625"),new CG.ptr(18,"173472347597680709441192448139190673828125"),new CG.ptr(19,"867361737988403547205962240695953369140625")]);$pkg.ErrRange=E.New("value out of range");$pkg.ErrSyntax=E.New("invalid syntax");CW=true;}return;}if($f===undefined){$f={$blk:$init};}$f.$s=$s;$f.$r=$r;return $f;};$pkg.$init=$init;return $pkg;})(); $packages["internal/race"]=(function(){var $pkg={},$init,A,B,C,D,E;A=function(a){var a;};$pkg.Acquire=A;B=function(a){var a;};$pkg.Release=B;C=function(a){var a;};$pkg.ReleaseMerge=C;D=function(){};$pkg.Disable=D;E=function(){};$pkg.Enable=E;$init=function(){$pkg.$init=function(){};var $f,$c=false,$s=0,$r;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:}return;}if($f===undefined){$f={$blk:$init};}$f.$s=$s;$f.$r=$r;return $f;};$pkg.$init=$init;return $pkg;})(); $packages["sync/atomic"]=(function(){var $pkg={},$init,A,B,AL,M,P,S,X,AA,AD,AF,AJ;A=$packages["github.com/gopherjs/gopherjs/js"];B=$pkg.Value=$newType(0,$kindStruct,"atomic.Value",true,"sync/atomic",true,function(v_){this.$val=this;if(arguments.length===0){this.v=$ifaceNil;return;}this.v=v_;});AL=$ptrType(B);M=function(ad,ae,af){var ad,ae,af;if(ad.$get()===ae){ad.$set(af);return true;}return false;};$pkg.CompareAndSwapInt32=M;P=function(ad,ae,af){var ad,ae,af,ag;if((ag=ad.$get(),(ag.$high===ae.$high&&ag.$low===ae.$low))){ad.$set(af);return true;}return false;};$pkg.CompareAndSwapUint64=P;S=function(ad,ae){var ad,ae,af;af=ad.$get()+ae>>0;ad.$set(af);return af;};$pkg.AddInt32=S;X=function(ad){var ad;return ad.$get();};$pkg.LoadInt32=X;AA=function(ad){var ad;return ad.$get();};$pkg.LoadUint64=AA;AD=function(ad,ae){var ad,ae;ad.$set(ae);};$pkg.StoreInt32=AD;AF=function(ad,ae){var ad,ae;ad.$set(ae);};$pkg.StoreUint32=AF;B.ptr.prototype.Load=function(){var ad,ae;ad=$ifaceNil;ae=this;ad=ae.v;return ad;};B.prototype.Load=function(){return this.$val.Load();};B.ptr.prototype.Store=function(ad){var ad,ae;ae=this;ae.checkNew("store",ad);ae.v=ad;};B.prototype.Store=function(ad){return this.$val.Store(ad);};B.ptr.prototype.Swap=function(ad){var ad,ae,af,ag,ah;ae=$ifaceNil;af=this;af.checkNew("swap",ad);ag=af.v;ah=ad;ae=ag;af.v=ah;ae=ae;return ae;};B.prototype.Swap=function(ad){return this.$val.Swap(ad);};B.ptr.prototype.CompareAndSwap=function(ad,ae){var ad,ae,af,ag;af=false;ag=this;ag.checkNew("compare and swap",ae);if(!($interfaceIsEqual(ag.v,$ifaceNil)&&$interfaceIsEqual(ad,$ifaceNil))&&!AJ(ad,ae)){$panic(new $String("sync/atomic: compare and swap of inconsistently typed values into Value"));}if(!($interfaceIsEqual(ag.v,ad))){af=false;return af;}ag.v=ae;af=true;return af;};B.prototype.CompareAndSwap=function(ad,ae){return this.$val.CompareAndSwap(ad,ae);};B.ptr.prototype.checkNew=function(ad,ae){var ad,ae,af;af=this;if($interfaceIsEqual(ae,$ifaceNil)){$panic(new $String("sync/atomic: "+ad+" of nil value into Value"));}if(!($interfaceIsEqual(af.v,$ifaceNil))&&!AJ(ae,af.v)){$panic(new $String("sync/atomic: "+ad+" of inconsistently typed value into Value"));}};B.prototype.checkNew=function(ad,ae){return this.$val.checkNew(ad,ae);};AJ=function(ad,ae){var ad,ae;return ad.constructor===ae.constructor;};AL.methods=[{prop:"Load",name:"Load",pkg:"",typ:$funcType([],[$emptyInterface],false)},{prop:"Store",name:"Store",pkg:"",typ:$funcType([$emptyInterface],[],false)},{prop:"Swap",name:"Swap",pkg:"",typ:$funcType([$emptyInterface],[$emptyInterface],false)},{prop:"CompareAndSwap",name:"CompareAndSwap",pkg:"",typ:$funcType([$emptyInterface,$emptyInterface],[$Bool],false)},{prop:"checkNew",name:"checkNew",pkg:"sync/atomic",typ:$funcType([$String,$emptyInterface],[],false)}];B.init("sync/atomic",[{prop:"v",name:"v",embedded:false,exported:false,typ:$emptyInterface,tag:""}]);$init=function(){$pkg.$init=function(){};var $f,$c=false,$s=0,$r;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:$r=A.$init();$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}}return;}if($f===undefined){$f={$blk:$init};}$f.$s=$s;$f.$r=$r;return $f;};$pkg.$init=$init;return $pkg;})(); $packages["sync"]=(function(){var $pkg={},$init,C,A,B,D,E,F,U,V,AO,AT,AV,AW,AX,BH,BI,BN,BV,BW,BX,Y,AF,AG,K,L,AH,AI,AJ,AK,AL,AM,AN;C=$packages["github.com/gopherjs/gopherjs/js"];A=$packages["internal/race"];B=$packages["sync/atomic"];D=$pkg.RWMutex=$newType(0,$kindStruct,"sync.RWMutex",true,"sync",true,function(w_,writerSem_,readerSem_,readerCount_,readerWait_){this.$val=this;if(arguments.length===0){this.w=new U.ptr(0,0);this.writerSem=0;this.readerSem=0;this.readerCount=0;this.readerWait=0;return;}this.w=w_;this.writerSem=writerSem_;this.readerSem=readerSem_;this.readerCount=readerCount_;this.readerWait=readerWait_;});E=$pkg.rlocker=$newType(0,$kindStruct,"sync.rlocker",true,"sync",false,function(w_,writerSem_,readerSem_,readerCount_,readerWait_){this.$val=this;if(arguments.length===0){this.w=new U.ptr(0,0);this.writerSem=0;this.readerSem=0;this.readerCount=0;this.readerWait=0;return;}this.w=w_;this.writerSem=writerSem_;this.readerSem=readerSem_;this.readerCount=readerCount_;this.readerWait=readerWait_;});F=$pkg.notifyList=$newType(0,$kindStruct,"sync.notifyList",true,"sync",false,function(wait_,notify_,lock_,head_,tail_){this.$val=this;if(arguments.length===0){this.wait=0;this.notify=0;this.lock=0;this.head=0;this.tail=0;return;}this.wait=wait_;this.notify=notify_;this.lock=lock_;this.head=head_;this.tail=tail_;});U=$pkg.Mutex=$newType(0,$kindStruct,"sync.Mutex",true,"sync",true,function(state_,sema_){this.$val=this;if(arguments.length===0){this.state=0;this.sema=0;return;}this.state=state_;this.sema=sema_;});V=$pkg.Locker=$newType(8,$kindInterface,"sync.Locker",true,"sync",true,null);AO=$pkg.Pool=$newType(0,$kindStruct,"sync.Pool",true,"sync",true,function(store_,New_){this.$val=this;if(arguments.length===0){this.store=BV.nil;this.New=$throwNilPointerError;return;}this.store=store_;this.New=New_;});AT=$ptrType($Uint32);AV=$ptrType($Int32);AW=$ptrType(E);AX=$ptrType(D);BH=$chanType($Bool,false,false);BI=$sliceType(BH);BN=$ptrType(U);BV=$sliceType($emptyInterface);BW=$ptrType(AO);BX=$funcType([],[$emptyInterface],false);D.ptr.prototype.RLock=function(){var{j,$s,$r,$c}=$restore(this,{});$s=$s||0;s:while(true){switch($s){case 0:j=this;if(false){$unused(j.w.state);A.Disable();}if(B.AddInt32((j.$ptr_readerCount||(j.$ptr_readerCount=new AV(function(){return this.$target.readerCount;},function($v){this.$target.readerCount=$v;},j))),1)<0){$s=1;continue;}$s=2;continue;case 1:$r=AI((j.$ptr_readerSem||(j.$ptr_readerSem=new AT(function(){return this.$target.readerSem;},function($v){this.$target.readerSem=$v;},j))),false,0);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:if(false){A.Enable();A.Acquire(((j.$ptr_readerSem||(j.$ptr_readerSem=new AT(function(){return this.$target.readerSem;},function($v){this.$target.readerSem=$v;},j)))));}$s=-1;return;}return;}var $f={$blk:D.ptr.prototype.RLock,$c:true,$r,j,$s};return $f;};D.prototype.RLock=function(){return this.$val.RLock();};D.ptr.prototype.TryRLock=function(){var j,k;j=this;if(false){$unused(j.w.state);A.Disable();}while(true){k=B.LoadInt32((j.$ptr_readerCount||(j.$ptr_readerCount=new AV(function(){return this.$target.readerCount;},function($v){this.$target.readerCount=$v;},j))));if(k<0){if(false){A.Enable();}return false;}if(B.CompareAndSwapInt32((j.$ptr_readerCount||(j.$ptr_readerCount=new AV(function(){return this.$target.readerCount;},function($v){this.$target.readerCount=$v;},j))),k,k+1>>0)){if(false){A.Enable();A.Acquire(((j.$ptr_readerSem||(j.$ptr_readerSem=new AT(function(){return this.$target.readerSem;},function($v){this.$target.readerSem=$v;},j)))));}return true;}}};D.prototype.TryRLock=function(){return this.$val.TryRLock();};D.ptr.prototype.RUnlock=function(){var{j,k,$s,$r,$c}=$restore(this,{});$s=$s||0;s:while(true){switch($s){case 0:j=this;if(false){$unused(j.w.state);A.ReleaseMerge(((j.$ptr_writerSem||(j.$ptr_writerSem=new AT(function(){return this.$target.writerSem;},function($v){this.$target.writerSem=$v;},j)))));A.Disable();}k=B.AddInt32((j.$ptr_readerCount||(j.$ptr_readerCount=new AV(function(){return this.$target.readerCount;},function($v){this.$target.readerCount=$v;},j))),-1);if(k<0){$s=1;continue;}$s=2;continue;case 1:$r=j.rUnlockSlow(k);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:if(false){A.Enable();}$s=-1;return;}return;}var $f={$blk:D.ptr.prototype.RUnlock,$c:true,$r,j,k,$s};return $f;};D.prototype.RUnlock=function(){return this.$val.RUnlock();};D.ptr.prototype.rUnlockSlow=function(j){var{j,k,$s,$r,$c}=$restore(this,{j});$s=$s||0;s:while(true){switch($s){case 0:k=this;if(((j+1>>0)===0)||((j+1>>0)===-1073741824)){A.Enable();AN("sync: RUnlock of unlocked RWMutex");}if(B.AddInt32((k.$ptr_readerWait||(k.$ptr_readerWait=new AV(function(){return this.$target.readerWait;},function($v){this.$target.readerWait=$v;},k))),-1)===0){$s=1;continue;}$s=2;continue;case 1:$r=AJ((k.$ptr_writerSem||(k.$ptr_writerSem=new AT(function(){return this.$target.writerSem;},function($v){this.$target.writerSem=$v;},k))),false,1);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return;}return;}var $f={$blk:D.ptr.prototype.rUnlockSlow,$c:true,$r,j,k,$s};return $f;};D.prototype.rUnlockSlow=function(j){return this.$val.rUnlockSlow(j);};D.ptr.prototype.Lock=function(){var{j,k,$s,$r,$c}=$restore(this,{});$s=$s||0;s:while(true){switch($s){case 0:j=this;if(false){$unused(j.w.state);A.Disable();}$r=j.w.Lock();$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}k=B.AddInt32((j.$ptr_readerCount||(j.$ptr_readerCount=new AV(function(){return this.$target.readerCount;},function($v){this.$target.readerCount=$v;},j))),-1073741824)+1073741824>>0;if(!((k===0))&&!((B.AddInt32((j.$ptr_readerWait||(j.$ptr_readerWait=new AV(function(){return this.$target.readerWait;},function($v){this.$target.readerWait=$v;},j))),k)===0))){$s=2;continue;}$s=3;continue;case 2:$r=AI((j.$ptr_writerSem||(j.$ptr_writerSem=new AT(function(){return this.$target.writerSem;},function($v){this.$target.writerSem=$v;},j))),false,0);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:if(false){A.Enable();A.Acquire(((j.$ptr_readerSem||(j.$ptr_readerSem=new AT(function(){return this.$target.readerSem;},function($v){this.$target.readerSem=$v;},j)))));A.Acquire(((j.$ptr_writerSem||(j.$ptr_writerSem=new AT(function(){return this.$target.writerSem;},function($v){this.$target.writerSem=$v;},j)))));}$s=-1;return;}return;}var $f={$blk:D.ptr.prototype.Lock,$c:true,$r,j,k,$s};return $f;};D.prototype.Lock=function(){return this.$val.Lock();};D.ptr.prototype.TryLock=function(){var{j,$s,$r,$c}=$restore(this,{});$s=$s||0;s:while(true){switch($s){case 0:j=this;if(false){$unused(j.w.state);A.Disable();}if(!j.w.TryLock()){if(false){A.Enable();}$s=-1;return false;}if(!B.CompareAndSwapInt32((j.$ptr_readerCount||(j.$ptr_readerCount=new AV(function(){return this.$target.readerCount;},function($v){this.$target.readerCount=$v;},j))),0,-1073741824)){$s=1;continue;}$s=2;continue;case 1:$r=j.w.Unlock();$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if(false){A.Enable();}$s=-1;return false;case 2:if(false){A.Enable();A.Acquire(((j.$ptr_readerSem||(j.$ptr_readerSem=new AT(function(){return this.$target.readerSem;},function($v){this.$target.readerSem=$v;},j)))));A.Acquire(((j.$ptr_writerSem||(j.$ptr_writerSem=new AT(function(){return this.$target.writerSem;},function($v){this.$target.writerSem=$v;},j)))));}$s=-1;return true;}return;}var $f={$blk:D.ptr.prototype.TryLock,$c:true,$r,j,$s};return $f;};D.prototype.TryLock=function(){return this.$val.TryLock();};D.ptr.prototype.Unlock=function(){var{j,k,l,$s,$r,$c}=$restore(this,{});$s=$s||0;s:while(true){switch($s){case 0:j=this;if(false){$unused(j.w.state);A.Release(((j.$ptr_readerSem||(j.$ptr_readerSem=new AT(function(){return this.$target.readerSem;},function($v){this.$target.readerSem=$v;},j)))));A.Disable();}k=B.AddInt32((j.$ptr_readerCount||(j.$ptr_readerCount=new AV(function(){return this.$target.readerCount;},function($v){this.$target.readerCount=$v;},j))),1073741824);if(k>=1073741824){A.Enable();AN("sync: Unlock of unlocked RWMutex");}l=0;case 1:if(!(l<((k>>0)))){$s=2;continue;}$r=AJ((j.$ptr_readerSem||(j.$ptr_readerSem=new AT(function(){return this.$target.readerSem;},function($v){this.$target.readerSem=$v;},j))),false,0);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}l=l+(1)>>0;$s=1;continue;case 2:$r=j.w.Unlock();$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if(false){A.Enable();}$s=-1;return;}return;}var $f={$blk:D.ptr.prototype.Unlock,$c:true,$r,j,k,l,$s};return $f;};D.prototype.Unlock=function(){return this.$val.Unlock();};D.ptr.prototype.RLocker=function(){var j;j=this;return($pointerOfStructConversion(j,AW));};D.prototype.RLocker=function(){return this.$val.RLocker();};E.ptr.prototype.Lock=function(){var{j,$s,$r,$c}=$restore(this,{});$s=$s||0;s:while(true){switch($s){case 0:j=this;$r=($pointerOfStructConversion(j,AX)).RLock();$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return;}return;}var $f={$blk:E.ptr.prototype.Lock,$c:true,$r,j,$s};return $f;};E.prototype.Lock=function(){return this.$val.Lock();};E.ptr.prototype.Unlock=function(){var{j,$s,$r,$c}=$restore(this,{});$s=$s||0;s:while(true){switch($s){case 0:j=this;$r=($pointerOfStructConversion(j,AX)).RUnlock();$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return;}return;}var $f={$blk:E.ptr.prototype.Unlock,$c:true,$r,j,$s};return $f;};E.prototype.Unlock=function(){return this.$val.Unlock();};K=function(){var j;j=new F.ptr(0,0,0,0,0);AK(20);};L=function(){$throwRuntimeError("native function not implemented: sync.runtime_doSpin");};U.ptr.prototype.Lock=function(){var{j,$s,$r,$c}=$restore(this,{});$s=$s||0;s:while(true){switch($s){case 0:j=this;if(B.CompareAndSwapInt32((j.$ptr_state||(j.$ptr_state=new AV(function(){return this.$target.state;},function($v){this.$target.state=$v;},j))),0,1)){if(false){A.Acquire((j));}$s=-1;return;}$r=j.lockSlow();$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return;}return;}var $f={$blk:U.ptr.prototype.Lock,$c:true,$r,j,$s};return $f;};U.prototype.Lock=function(){return this.$val.Lock();};U.ptr.prototype.TryLock=function(){var j,k;j=this;k=j.state;if(!(((k&5)===0))){return false;}if(!B.CompareAndSwapInt32((j.$ptr_state||(j.$ptr_state=new AV(function(){return this.$target.state;},function($v){this.$target.state=$v;},j))),k,k|1)){return false;}if(false){A.Acquire((j));}return true;};U.prototype.TryLock=function(){return this.$val.TryLock();};U.ptr.prototype.lockSlow=function(){var{j,k,l,m,n,o,p,q,r,s,t,$s,$r,$c}=$restore(this,{});$s=$s||0;s:while(true){switch($s){case 0:j=this;k=new $Int64(0,0);l=false;m=false;n=0;o=j.state;case 1:if(((o&5)===1)&&AL(n)){$s=3;continue;}$s=4;continue;case 3:if(!m&&((o&2)===0)&&!(((o>>3>>0)===0))&&B.CompareAndSwapInt32((j.$ptr_state||(j.$ptr_state=new AV(function(){return this.$target.state;},function($v){this.$target.state=$v;},j))),o,o|2)){m=true;}$r=L();$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}n=n+(1)>>0;o=j.state;$s=1;continue;case 4:p=o;if((o&4)===0){p=p|(1);}if(!(((o&5)===0))){p=p+(8)>>0;}if(l&&!(((o&1)===0))){p=p|(4);}if(m){if((p&2)===0){AN("sync: inconsistent mutex state");}p=(p&~(2))>>0;}if(B.CompareAndSwapInt32((j.$ptr_state||(j.$ptr_state=new AV(function(){return this.$target.state;},function($v){this.$target.state=$v;},j))),o,p)){$s=6;continue;}$s=7;continue;case 6:if((o&5)===0){$s=2;continue;}q=!((k.$high===0&&k.$low===0));if((k.$high===0&&k.$low===0)){k=AM();}$r=AI((j.$ptr_sema||(j.$ptr_sema=new AT(function(){return this.$target.sema;},function($v){this.$target.sema=$v;},j))),q,1);$s=9;case 9:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}l=l||(r=(s=AM(),new $Int64(s.$high-k.$high,s.$low-k.$low)),(r.$high>0||(r.$high===0&&r.$low>1000000)));o=j.state;if(!(((o&4)===0))){if(!(((o&3)===0))||((o>>3>>0)===0)){AN("sync: inconsistent mutex state");}t=-7;if(!l||((o>>3>>0)===1)){t=t-(4)>>0;}B.AddInt32((j.$ptr_state||(j.$ptr_state=new AV(function(){return this.$target.state;},function($v){this.$target.state=$v;},j))),t);$s=2;continue;}m=true;n=0;$s=8;continue;case 7:o=j.state;case 8:$s=1;continue;case 2:if(false){A.Acquire((j));}$s=-1;return;}return;}var $f={$blk:U.ptr.prototype.lockSlow,$c:true,$r,j,k,l,m,n,o,p,q,r,s,t,$s};return $f;};U.prototype.lockSlow=function(){return this.$val.lockSlow();};U.ptr.prototype.Unlock=function(){var{j,k,$s,$r,$c}=$restore(this,{});$s=$s||0;s:while(true){switch($s){case 0:j=this;if(false){$unused(j.state);A.Release((j));}k=B.AddInt32((j.$ptr_state||(j.$ptr_state=new AV(function(){return this.$target.state;},function($v){this.$target.state=$v;},j))),-1);if(!((k===0))){$s=1;continue;}$s=2;continue;case 1:$r=j.unlockSlow(k);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return;}return;}var $f={$blk:U.ptr.prototype.Unlock,$c:true,$r,j,k,$s};return $f;};U.prototype.Unlock=function(){return this.$val.Unlock();};U.ptr.prototype.unlockSlow=function(j){var{j,k,l,$s,$r,$c}=$restore(this,{j});$s=$s||0;s:while(true){switch($s){case 0:k=this;if((((j+1>>0))&1)===0){AN("sync: unlock of unlocked mutex");}if((j&4)===0){$s=1;continue;}$s=2;continue;case 1:l=j;case 4:if(((l>>3>>0)===0)||!(((l&7)===0))){$s=-1;return;}j=((l-8>>0))|2;if(B.CompareAndSwapInt32((k.$ptr_state||(k.$ptr_state=new AV(function(){return this.$target.state;},function($v){this.$target.state=$v;},k))),l,j)){$s=6;continue;}$s=7;continue;case 6:$r=AJ((k.$ptr_sema||(k.$ptr_sema=new AT(function(){return this.$target.sema;},function($v){this.$target.sema=$v;},k))),false,1);$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return;case 7:l=k.state;$s=4;continue;case 5:$s=3;continue;case 2:$r=AJ((k.$ptr_sema||(k.$ptr_sema=new AT(function(){return this.$target.sema;},function($v){this.$target.sema=$v;},k))),true,1);$s=9;case 9:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return;}return;}var $f={$blk:U.ptr.prototype.unlockSlow,$c:true,$r,j,k,l,$s};return $f;};U.prototype.unlockSlow=function(j){return this.$val.unlockSlow(j);};AH=function(j){var{j,$s,$r,$c}=$restore(this,{j});$s=$s||0;s:while(true){switch($s){case 0:$r=AI(j,false,1);$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return;}return;}var $f={$blk:AH,$c:true,$r,j,$s};return $f;};$linknames["sync.runtime_Semacquire"]=AH;AI=function(j,k,l){var{j,k,l,m,n,o,p,q,r,s,t,u,v,$s,$r,$c}=$restore(this,{j,k,l});$s=$s||0;s:while(true){switch($s){case 0:if(((j.$get()-(m=AG[AT.keyFor(j)],m!==undefined?m.v:0)>>>0))===0){$s=1;continue;}$s=2;continue;case 1:n=new $Chan($Bool,0);if(k){o=j;(AF||$throwRuntimeError("assignment to entry in nil map"))[AT.keyFor(o)]={k:o,v:$appendSlice(new BI([n]),(p=AF[AT.keyFor(j)],p!==undefined?p.v:BI.nil))};}else{q=j;(AF||$throwRuntimeError("assignment to entry in nil map"))[AT.keyFor(q)]={k:q,v:$append((r=AF[AT.keyFor(j)],r!==undefined?r.v:BI.nil),n)};}s=$recv(n);$s=3;case 3:if($c){$c=false;s=s.$blk();}if(s&&s.$blk!==undefined){break s;}s[0];t=j;(AG||$throwRuntimeError("assignment to entry in nil map"))[AT.keyFor(t)]={k:t,v:(u=AG[AT.keyFor(j)],u!==undefined?u.v:0)-(1)>>>0};if((v=AG[AT.keyFor(j)],v!==undefined?v.v:0)===0){delete AG[AT.keyFor(j)];}case 2:j.$set(j.$get()-(1)>>>0);$s=-1;return;}return;}var $f={$blk:AI,$c:true,$r,j,k,l,m,n,o,p,q,r,s,t,u,v,$s};return $f;};AJ=function(j,k,l){var{j,k,l,m,n,o,p,q,r,$s,$r,$c}=$restore(this,{j,k,l});$s=$s||0;s:while(true){switch($s){case 0:j.$set(j.$get()+(1)>>>0);n=(m=AF[AT.keyFor(j)],m!==undefined?m.v:BI.nil);if(n.$length===0){$s=-1;return;}o=(0>=n.$length?($throwRuntimeError("index out of range"),undefined):n.$array[n.$offset+0]);n=$subslice(n,1);p=j;(AF||$throwRuntimeError("assignment to entry in nil map"))[AT.keyFor(p)]={k:p,v:n};if(n.$length===0){delete AF[AT.keyFor(j)];}q=j;(AG||$throwRuntimeError("assignment to entry in nil map"))[AT.keyFor(q)]={k:q,v:(r=AG[AT.keyFor(j)],r!==undefined?r.v:0)+(1)>>>0};$r=$send(o,true);$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return;}return;}var $f={$blk:AJ,$c:true,$r,j,k,l,m,n,o,p,q,r,$s};return $f;};$linknames["sync.runtime_Semrelease"]=AJ;AK=function(j){var j;};AL=function(j){var j;return false;};AM=function(){return $mul64($internalize(new($global.Date)().getTime(),$Int64),new $Int64(0,1000000));};AN=function(j){var j;$throwRuntimeError($externalize(j,$String));};AO.ptr.prototype.Get=function(){var{j,k,l,m,n,o,$s,$r,$c}=$restore(this,{});$s=$s||0;s:while(true){switch($s){case 0:j=this;if(j.store.$length===0){$s=1;continue;}$s=2;continue;case 1:if(!(j.New===$throwNilPointerError)){$s=3;continue;}$s=4;continue;case 3:k=j.New();$s=5;case 5:if($c){$c=false;k=k.$blk();}if(k&&k.$blk!==undefined){break s;}l=k;$s=6;case 6:return l;case 4:$s=-1;return $ifaceNil;case 2:o=(m=j.store,n=j.store.$length-1>>0,((n<0||n>=m.$length)?($throwRuntimeError("index out of range"),undefined):m.$array[m.$offset+n]));j.store=$subslice(j.store,0,(j.store.$length-1>>0));$s=-1;return o;}return;}var $f={$blk:AO.ptr.prototype.Get,$c:true,$r,j,k,l,m,n,o,$s};return $f;};AO.prototype.Get=function(){return this.$val.Get();};AO.ptr.prototype.Put=function(j){var j,k;k=this;if($interfaceIsEqual(j,$ifaceNil)){return;}k.store=$append(k.store,j);};AO.prototype.Put=function(j){return this.$val.Put(j);};AX.methods=[{prop:"RLock",name:"RLock",pkg:"",typ:$funcType([],[],false)},{prop:"TryRLock",name:"TryRLock",pkg:"",typ:$funcType([],[$Bool],false)},{prop:"RUnlock",name:"RUnlock",pkg:"",typ:$funcType([],[],false)},{prop:"rUnlockSlow",name:"rUnlockSlow",pkg:"sync",typ:$funcType([$Int32],[],false)},{prop:"Lock",name:"Lock",pkg:"",typ:$funcType([],[],false)},{prop:"TryLock",name:"TryLock",pkg:"",typ:$funcType([],[$Bool],false)},{prop:"Unlock",name:"Unlock",pkg:"",typ:$funcType([],[],false)},{prop:"RLocker",name:"RLocker",pkg:"",typ:$funcType([],[V],false)}];AW.methods=[{prop:"Lock",name:"Lock",pkg:"",typ:$funcType([],[],false)},{prop:"Unlock",name:"Unlock",pkg:"",typ:$funcType([],[],false)}];BN.methods=[{prop:"Lock",name:"Lock",pkg:"",typ:$funcType([],[],false)},{prop:"TryLock",name:"TryLock",pkg:"",typ:$funcType([],[$Bool],false)},{prop:"lockSlow",name:"lockSlow",pkg:"sync",typ:$funcType([],[],false)},{prop:"Unlock",name:"Unlock",pkg:"",typ:$funcType([],[],false)},{prop:"unlockSlow",name:"unlockSlow",pkg:"sync",typ:$funcType([$Int32],[],false)}];BW.methods=[{prop:"Get",name:"Get",pkg:"",typ:$funcType([],[$emptyInterface],false)},{prop:"Put",name:"Put",pkg:"",typ:$funcType([$emptyInterface],[],false)}];D.init("sync",[{prop:"w",name:"w",embedded:false,exported:false,typ:U,tag:""},{prop:"writerSem",name:"writerSem",embedded:false,exported:false,typ:$Uint32,tag:""},{prop:"readerSem",name:"readerSem",embedded:false,exported:false,typ:$Uint32,tag:""},{prop:"readerCount",name:"readerCount",embedded:false,exported:false,typ:$Int32,tag:""},{prop:"readerWait",name:"readerWait",embedded:false,exported:false,typ:$Int32,tag:""}]);E.init("sync",[{prop:"w",name:"w",embedded:false,exported:false,typ:U,tag:""},{prop:"writerSem",name:"writerSem",embedded:false,exported:false,typ:$Uint32,tag:""},{prop:"readerSem",name:"readerSem",embedded:false,exported:false,typ:$Uint32,tag:""},{prop:"readerCount",name:"readerCount",embedded:false,exported:false,typ:$Int32,tag:""},{prop:"readerWait",name:"readerWait",embedded:false,exported:false,typ:$Int32,tag:""}]);F.init("sync",[{prop:"wait",name:"wait",embedded:false,exported:false,typ:$Uint32,tag:""},{prop:"notify",name:"notify",embedded:false,exported:false,typ:$Uint32,tag:""},{prop:"lock",name:"lock",embedded:false,exported:false,typ:$Uintptr,tag:""},{prop:"head",name:"head",embedded:false,exported:false,typ:$UnsafePointer,tag:""},{prop:"tail",name:"tail",embedded:false,exported:false,typ:$UnsafePointer,tag:""}]);U.init("sync",[{prop:"state",name:"state",embedded:false,exported:false,typ:$Int32,tag:""},{prop:"sema",name:"sema",embedded:false,exported:false,typ:$Uint32,tag:""}]);V.init([{prop:"Lock",name:"Lock",pkg:"",typ:$funcType([],[],false)},{prop:"Unlock",name:"Unlock",pkg:"",typ:$funcType([],[],false)}]);AO.init("sync",[{prop:"store",name:"store",embedded:false,exported:false,typ:BV,tag:""},{prop:"New",name:"New",embedded:false,exported:true,typ:BX,tag:""}]);$init=function(){$pkg.$init=function(){};var $f,$c=false,$s=0,$r;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:$r=C.$init();$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=A.$init();$s=2;case 2:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=B.$init();$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}Y=(new Uint8Array(8));AF={};AG={};K();}return;}if($f===undefined){$f={$blk:$init};}$f.$s=$s;$f.$r=$r;return $f;};$pkg.$init=$init;return $pkg;})(); $packages["unicode"]=(function(){var $pkg={},$init;$init=function(){$pkg.$init=function(){};var $f,$c=false,$s=0,$r;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:}return;}if($f===undefined){$f={$blk:$init};}$f.$s=$s;$f.$r=$r;return $f;};$pkg.$init=$init;return $pkg;})(); $packages["reflect"]=(function(){var $pkg={},$init,A,N,B,L,C,M,D,E,F,G,H,I,J,K,Q,R,U,AG,CK,CL,CM,CN,CO,CP,CQ,CR,CS,CT,CU,CV,CW,CX,CY,DA,DI,DJ,DK,DM,DN,DO,GL,GN,GO,GP,IA,JD,JE,JF,JG,JH,JI,JJ,JL,JN,JO,JV,JW,JY,JZ,KA,KB,KC,KD,KE,KF,KG,KK,KN,KO,KP,KQ,KR,KU,KV,KW,KX,LD,LE,LF,LG,LL,LM,LN,LX,AE,AF,DB,GF,GM,GQ,GT,GV,IN,IO,IS,V,AH,AI,BB,BC,BD,BE,BF,BG,BH,BI,BJ,BK,BL,BM,BN,BO,BP,BQ,BR,BS,BT,BU,BV,BW,BX,DQ,DR,DT,DU,DV,DW,DX,EY,FD,FJ,FK,GG,GH,GI,GJ,GK,GR,GS,GU,GW,GY,GZ,HA,HB,HC,HD,HE,HH,HJ,HL,HM,HN,HP,HT,HU,HV,HW,HX,HY,HZ,IB,IC,ID,IE,IF,IG,IH,IJ,IK,IL,IM,IP,IQ,IR,IT,IU,IY,IZ;A=$packages["errors"];N=$packages["github.com/gopherjs/gopherjs/js"];B=$packages["internal/abi"];L=$packages["internal/bytealg"];C=$packages["internal/goarch"];M=$packages["internal/goexperiment"];D=$packages["internal/itoa"];E=$packages["internal/unsafeheader"];F=$packages["math"];G=$packages["runtime"];H=$packages["strconv"];I=$packages["sync"];J=$packages["unicode"];K=$packages["unicode/utf8"];Q=$pkg.Value=$newType(0,$kindStruct,"reflect.Value",true,"reflect",true,function(typ_,ptr_,flag_){this.$val=this;if(arguments.length===0){this.typ=JE.nil;this.ptr=0;this.flag=0;return;}this.typ=typ_;this.ptr=ptr_;this.flag=flag_;});R=$pkg.flag=$newType(4,$kindUintptr,"reflect.flag",true,"reflect",false,null);U=$pkg.ValueError=$newType(0,$kindStruct,"reflect.ValueError",true,"reflect",true,function(Method_,Kind_){this.$val=this;if(arguments.length===0){this.Method="";this.Kind=0;return;}this.Method=Method_;this.Kind=Kind_;});AG=$pkg.MapIter=$newType(0,$kindStruct,"reflect.MapIter",true,"reflect",true,function(m_,hiter_){this.$val=this;if(arguments.length===0){this.m=new Q.ptr(JE.nil,0,0);this.hiter=new IA.ptr($ifaceNil,null,null,0,null);return;}this.m=m_;this.hiter=hiter_;});CK=$pkg.Type=$newType(8,$kindInterface,"reflect.Type",true,"reflect",true,null);CL=$pkg.Kind=$newType(4,$kindUint,"reflect.Kind",true,"reflect",true,null);CM=$pkg.tflag=$newType(1,$kindUint8,"reflect.tflag",true,"reflect",false,null);CN=$pkg.rtype=$newType(0,$kindStruct,"reflect.rtype",true,"reflect",false,function(size_,ptrdata_,hash_,tflag_,align_,fieldAlign_,kind_,equal_,gcdata_,str_,ptrToThis_){this.$val=this;if(arguments.length===0){this.size=0;this.ptrdata=0;this.hash=0;this.tflag=0;this.align=0;this.fieldAlign=0;this.kind=0;this.equal=$throwNilPointerError;this.gcdata=KG.nil;this.str=0;this.ptrToThis=0;return;}this.size=size_;this.ptrdata=ptrdata_;this.hash=hash_;this.tflag=tflag_;this.align=align_;this.fieldAlign=fieldAlign_;this.kind=kind_;this.equal=equal_;this.gcdata=gcdata_;this.str=str_;this.ptrToThis=ptrToThis_;});CO=$pkg.method=$newType(0,$kindStruct,"reflect.method",true,"reflect",false,function(name_,mtyp_,ifn_,tfn_){this.$val=this;if(arguments.length===0){this.name=0;this.mtyp=0;this.ifn=0;this.tfn=0;return;}this.name=name_;this.mtyp=mtyp_;this.ifn=ifn_;this.tfn=tfn_;});CP=$pkg.ChanDir=$newType(4,$kindInt,"reflect.ChanDir",true,"reflect",true,null);CQ=$pkg.arrayType=$newType(0,$kindStruct,"reflect.arrayType",true,"reflect",false,function(rtype_,elem_,slice_,len_){this.$val=this;if(arguments.length===0){this.rtype=new CN.ptr(0,0,0,0,0,0,0,$throwNilPointerError,KG.nil,0,0);this.elem=JE.nil;this.slice=JE.nil;this.len=0;return;}this.rtype=rtype_;this.elem=elem_;this.slice=slice_;this.len=len_;});CR=$pkg.chanType=$newType(0,$kindStruct,"reflect.chanType",true,"reflect",false,function(rtype_,elem_,dir_){this.$val=this;if(arguments.length===0){this.rtype=new CN.ptr(0,0,0,0,0,0,0,$throwNilPointerError,KG.nil,0,0);this.elem=JE.nil;this.dir=0;return;}this.rtype=rtype_;this.elem=elem_;this.dir=dir_;});CS=$pkg.imethod=$newType(0,$kindStruct,"reflect.imethod",true,"reflect",false,function(name_,typ_){this.$val=this;if(arguments.length===0){this.name=0;this.typ=0;return;}this.name=name_;this.typ=typ_;});CT=$pkg.interfaceType=$newType(0,$kindStruct,"reflect.interfaceType",true,"reflect",false,function(rtype_,pkgPath_,methods_){this.$val=this;if(arguments.length===0){this.rtype=new CN.ptr(0,0,0,0,0,0,0,$throwNilPointerError,KG.nil,0,0);this.pkgPath=new GO.ptr(KG.nil);this.methods=KN.nil;return;}this.rtype=rtype_;this.pkgPath=pkgPath_;this.methods=methods_;});CU=$pkg.mapType=$newType(0,$kindStruct,"reflect.mapType",true,"reflect",false,function(rtype_,key_,elem_,bucket_,hasher_,keysize_,valuesize_,bucketsize_,flags_){this.$val=this;if(arguments.length===0){this.rtype=new CN.ptr(0,0,0,0,0,0,0,$throwNilPointerError,KG.nil,0,0);this.key=JE.nil;this.elem=JE.nil;this.bucket=JE.nil;this.hasher=$throwNilPointerError;this.keysize=0;this.valuesize=0;this.bucketsize=0;this.flags=0;return;}this.rtype=rtype_;this.key=key_;this.elem=elem_;this.bucket=bucket_;this.hasher=hasher_;this.keysize=keysize_;this.valuesize=valuesize_;this.bucketsize=bucketsize_;this.flags=flags_;});CV=$pkg.ptrType=$newType(0,$kindStruct,"reflect.ptrType",true,"reflect",false,function(rtype_,elem_){this.$val=this;if(arguments.length===0){this.rtype=new CN.ptr(0,0,0,0,0,0,0,$throwNilPointerError,KG.nil,0,0);this.elem=JE.nil;return;}this.rtype=rtype_;this.elem=elem_;});CW=$pkg.sliceType=$newType(0,$kindStruct,"reflect.sliceType",true,"reflect",false,function(rtype_,elem_){this.$val=this;if(arguments.length===0){this.rtype=new CN.ptr(0,0,0,0,0,0,0,$throwNilPointerError,KG.nil,0,0);this.elem=JE.nil;return;}this.rtype=rtype_;this.elem=elem_;});CX=$pkg.structField=$newType(0,$kindStruct,"reflect.structField",true,"reflect",false,function(name_,typ_,offsetEmbed_){this.$val=this;if(arguments.length===0){this.name=new GO.ptr(KG.nil);this.typ=JE.nil;this.offsetEmbed=0;return;}this.name=name_;this.typ=typ_;this.offsetEmbed=offsetEmbed_;});CY=$pkg.structType=$newType(0,$kindStruct,"reflect.structType",true,"reflect",false,function(rtype_,pkgPath_,fields_){this.$val=this;if(arguments.length===0){this.rtype=new CN.ptr(0,0,0,0,0,0,0,$throwNilPointerError,KG.nil,0,0);this.pkgPath=new GO.ptr(KG.nil);this.fields=KO.nil;return;}this.rtype=rtype_;this.pkgPath=pkgPath_;this.fields=fields_;});DA=$pkg.Method=$newType(0,$kindStruct,"reflect.Method",true,"reflect",true,function(Name_,PkgPath_,Type_,Func_,Index_){this.$val=this;if(arguments.length===0){this.Name="";this.PkgPath="";this.Type=$ifaceNil;this.Func=new Q.ptr(JE.nil,0,0);this.Index=0;return;}this.Name=Name_;this.PkgPath=PkgPath_;this.Type=Type_;this.Func=Func_;this.Index=Index_;});DI=$pkg.nameOff=$newType(4,$kindInt32,"reflect.nameOff",true,"reflect",false,null);DJ=$pkg.typeOff=$newType(4,$kindInt32,"reflect.typeOff",true,"reflect",false,null);DK=$pkg.textOff=$newType(4,$kindInt32,"reflect.textOff",true,"reflect",false,null);DM=$pkg.StructField=$newType(0,$kindStruct,"reflect.StructField",true,"reflect",true,function(Name_,PkgPath_,Type_,Tag_,Offset_,Index_,Anonymous_){this.$val=this;if(arguments.length===0){this.Name="";this.PkgPath="";this.Type=$ifaceNil;this.Tag="";this.Offset=0;this.Index=JL.nil;this.Anonymous=false;return;}this.Name=Name_;this.PkgPath=PkgPath_;this.Type=Type_;this.Tag=Tag_;this.Offset=Offset_;this.Index=Index_;this.Anonymous=Anonymous_;});DN=$pkg.StructTag=$newType(8,$kindString,"reflect.StructTag",true,"reflect",true,null);DO=$pkg.fieldScan=$newType(0,$kindStruct,"reflect.fieldScan",true,"reflect",false,function(typ_,index_){this.$val=this;if(arguments.length===0){this.typ=KF.nil;this.index=JL.nil;return;}this.typ=typ_;this.index=index_;});GL=$pkg.uncommonType=$newType(0,$kindStruct,"reflect.uncommonType",true,"reflect",false,function(pkgPath_,mcount_,xcount_,moff_,_methods_){this.$val=this;if(arguments.length===0){this.pkgPath=0;this.mcount=0;this.xcount=0;this.moff=0;this._methods=KB.nil;return;}this.pkgPath=pkgPath_;this.mcount=mcount_;this.xcount=xcount_;this.moff=moff_;this._methods=_methods_;});GN=$pkg.funcType=$newType(0,$kindStruct,"reflect.funcType",true,"reflect",false,function(rtype_,inCount_,outCount_,_in_,_out_){this.$val=this;if(arguments.length===0){this.rtype=new CN.ptr(0,0,0,0,0,0,0,$throwNilPointerError,KG.nil,0,0);this.inCount=0;this.outCount=0;this._in=JF.nil;this._out=JF.nil;return;}this.rtype=rtype_;this.inCount=inCount_;this.outCount=outCount_;this._in=_in_;this._out=_out_;});GO=$pkg.name=$newType(0,$kindStruct,"reflect.name",true,"reflect",false,function(bytes_){this.$val=this;if(arguments.length===0){this.bytes=KG.nil;return;}this.bytes=bytes_;});GP=$pkg.nameData=$newType(0,$kindStruct,"reflect.nameData",true,"reflect",false,function(name_,tag_,exported_,pkgPath_){this.$val=this;if(arguments.length===0){this.name="";this.tag="";this.exported=false;this.pkgPath="";return;}this.name=name_;this.tag=tag_;this.exported=exported_;this.pkgPath=pkgPath_;});IA=$pkg.hiter=$newType(0,$kindStruct,"reflect.hiter",true,"reflect",false,function(t_,m_,keys_,i_,last_){this.$val=this;if(arguments.length===0){this.t=$ifaceNil;this.m=null;this.keys=null;this.i=0;this.last=null;return;}this.t=t_;this.m=m_;this.keys=keys_;this.i=i_;this.last=last_;});JD=$sliceType(GO);JE=$ptrType(CN);JF=$sliceType(JE);JG=$sliceType($String);JH=$sliceType($emptyInterface);JI=$ptrType(N.Object);JJ=$funcType([JH],[JI],true);JL=$sliceType($Int);JN=$ptrType(G.Func);JO=$sliceType(Q);JV=$ptrType($UnsafePointer);JW=$ptrType(E.Slice);JY=$sliceType($Uint8);JZ=$sliceType($Int32);KA=$ptrType(GL);KB=$sliceType(CO);KC=$ptrType(CT);KD=$ptrType(CS);KE=$sliceType(DO);KF=$ptrType(CY);KG=$ptrType($Uint8);KK=$funcType([],[],false);KN=$sliceType(CS);KO=$sliceType(CX);KP=$ptrType(GP);KQ=$structType("reflect",[{prop:"str",name:"str",embedded:false,exported:false,typ:$String,tag:""}]);KR=$sliceType(JI);KU=$ptrType($String);KV=$ptrType(GN);KW=$sliceType(CK);KX=$sliceType(KR);LD=$funcType([$String],[$Bool],false);LE=$ptrType(AG);LF=$arrayType($Uintptr,2);LG=$ptrType(U);LL=$funcType([$UnsafePointer,$UnsafePointer],[$Bool],false);LM=$funcType([$UnsafePointer,$Uintptr],[$Uintptr],false);LN=$ptrType(CX);LX=$ptrType(IA);R.prototype.kind=function(){var aw;aw=this.$val;return((((aw&31)>>>0)>>>0));};$ptrType(R).prototype.kind=function(){return new R(this.$get()).kind();};R.prototype.ro=function(){var aw;aw=this.$val;if(!((((aw&96)>>>0)===0))){return 32;}return 0;};$ptrType(R).prototype.ro=function(){return new R(this.$get()).ro();};Q.ptr.prototype.pointer=function(){var aw;aw=this;if(!((aw.typ.size===4))||!aw.typ.pointers()){$panic(new $String("can't call pointer on a non-pointer Value"));}if(!((((aw.flag&128)>>>0)===0))){return(aw.ptr).$get();}return aw.ptr;};Q.prototype.pointer=function(){return this.$val.pointer();};U.ptr.prototype.Error=function(){var aw;aw=this;if(aw.Kind===0){return"reflect: call of "+aw.Method+" on zero Value";}return"reflect: call of "+aw.Method+" on "+new CL(aw.Kind).String()+" Value";};U.prototype.Error=function(){return this.$val.Error();};V=function(){var aw,ax,ay;aw=G.Caller(2);ax=aw[0];ay=G.FuncForPC(ax);if(ay===JN.nil){return"unknown method";}return ay.Name();};R.prototype.mustBe=function(aw){var aw,ax;ax=this.$val;if(!((((((ax&31)>>>0)>>>0))===aw))){$panic(new U.ptr(V(),new R(ax).kind()));}};$ptrType(R).prototype.mustBe=function(aw){return new R(this.$get()).mustBe(aw);};R.prototype.mustBeExported=function(){var aw;aw=this.$val;if((aw===0)||!((((aw&96)>>>0)===0))){new R(aw).mustBeExportedSlow();}};$ptrType(R).prototype.mustBeExported=function(){return new R(this.$get()).mustBeExported();};R.prototype.mustBeExportedSlow=function(){var aw;aw=this.$val;if(aw===0){$panic(new U.ptr(IY(),0));}if(!((((aw&96)>>>0)===0))){$panic(new $String("reflect: "+IY()+" using value obtained using unexported field"));}};$ptrType(R).prototype.mustBeExportedSlow=function(){return new R(this.$get()).mustBeExportedSlow();};R.prototype.mustBeAssignable=function(){var aw;aw=this.$val;if(!((((aw&96)>>>0)===0))||(((aw&256)>>>0)===0)){new R(aw).mustBeAssignableSlow();}};$ptrType(R).prototype.mustBeAssignable=function(){return new R(this.$get()).mustBeAssignable();};R.prototype.mustBeAssignableSlow=function(){var aw;aw=this.$val;if(aw===0){$panic(new U.ptr(IY(),0));}if(!((((aw&96)>>>0)===0))){$panic(new $String("reflect: "+IY()+" using value obtained using unexported field"));}if(((aw&256)>>>0)===0){$panic(new $String("reflect: "+IY()+" using unaddressable value"));}};$ptrType(R).prototype.mustBeAssignableSlow=function(){return new R(this.$get()).mustBeAssignableSlow();};Q.ptr.prototype.Addr=function(){var aw,ax;aw=this;if(((aw.flag&256)>>>0)===0){$panic(new $String("reflect.Value.Addr of unaddressable value"));}ax=(aw.flag&96)>>>0;return new Q.ptr(aw.typ.ptrTo(),aw.ptr,(ax|22)>>>0);};Q.prototype.Addr=function(){return this.$val.Addr();};Q.ptr.prototype.Bool=function(){var aw;aw=this;new R(aw.flag).mustBe(1);return(aw.ptr).$get();};Q.prototype.Bool=function(){return this.$val.Bool();};Q.ptr.prototype.Bytes=function(){var{aw,ax,$s,$r,$c}=$restore(this,{});$s=$s||0;s:while(true){switch($s){case 0:aw=this;new R(aw.flag).mustBe(23);ax=aw.typ.Elem().Kind();$s=3;case 3:if($c){$c=false;ax=ax.$blk();}if(ax&&ax.$blk!==undefined){break s;}if(!((ax===8))){$s=1;continue;}$s=2;continue;case 1:$panic(new $String("reflect.Value.Bytes of non-byte slice"));case 2:$s=-1;return(aw.ptr).$get();}return;}var $f={$blk:Q.ptr.prototype.Bytes,$c:true,$r,aw,ax,$s};return $f;};Q.prototype.Bytes=function(){return this.$val.Bytes();};Q.ptr.prototype.runes=function(){var{aw,ax,$s,$r,$c}=$restore(this,{});$s=$s||0;s:while(true){switch($s){case 0:aw=this;new R(aw.flag).mustBe(23);ax=aw.typ.Elem().Kind();$s=3;case 3:if($c){$c=false;ax=ax.$blk();}if(ax&&ax.$blk!==undefined){break s;}if(!((ax===5))){$s=1;continue;}$s=2;continue;case 1:$panic(new $String("reflect.Value.Bytes of non-rune slice"));case 2:$s=-1;return(aw.ptr).$get();}return;}var $f={$blk:Q.ptr.prototype.runes,$c:true,$r,aw,ax,$s};return $f;};Q.prototype.runes=function(){return this.$val.runes();};Q.ptr.prototype.CanAddr=function(){var aw;aw=this;return!((((aw.flag&256)>>>0)===0));};Q.prototype.CanAddr=function(){return this.$val.CanAddr();};Q.ptr.prototype.CanSet=function(){var aw;aw=this;return((aw.flag&352)>>>0)===256;};Q.prototype.CanSet=function(){return this.$val.CanSet();};Q.ptr.prototype.Call=function(aw){var{aw,ax,ay,az,$s,$r,$c}=$restore(this,{aw});$s=$s||0;s:while(true){switch($s){case 0:ax=this;new R(ax.flag).mustBe(19);new R(ax.flag).mustBeExported();ay=$clone(ax,Q).call("Call",aw);$s=1;case 1:if($c){$c=false;ay=ay.$blk();}if(ay&&ay.$blk!==undefined){break s;}az=ay;$s=2;case 2:return az;}return;}var $f={$blk:Q.ptr.prototype.Call,$c:true,$r,aw,ax,ay,az,$s};return $f;};Q.prototype.Call=function(aw){return this.$val.Call(aw);};Q.ptr.prototype.CallSlice=function(aw){var{aw,ax,ay,az,$s,$r,$c}=$restore(this,{aw});$s=$s||0;s:while(true){switch($s){case 0:ax=this;new R(ax.flag).mustBe(19);new R(ax.flag).mustBeExported();ay=$clone(ax,Q).call("CallSlice",aw);$s=1;case 1:if($c){$c=false;ay=ay.$blk();}if(ay&&ay.$blk!==undefined){break s;}az=ay;$s=2;case 2:return az;}return;}var $f={$blk:Q.ptr.prototype.CallSlice,$c:true,$r,aw,ax,ay,az,$s};return $f;};Q.prototype.CallSlice=function(aw){return this.$val.CallSlice(aw);};Q.ptr.prototype.CanComplex=function(){var aw,ax;aw=this;ax=new R(aw.flag).kind();if((ax===(15))||(ax===(16))){return true;}else{return false;}};Q.prototype.CanComplex=function(){return this.$val.CanComplex();};Q.ptr.prototype.Complex=function(){var aw,ax,ay,az;aw=this;ax=new R(aw.flag).kind();ay=ax;if(ay===(15)){return((az=(aw.ptr).$get(),new $Complex128(az.$real,az.$imag)));}else if(ay===(16)){return(aw.ptr).$get();}$panic(new U.ptr("reflect.Value.Complex",new R(aw.flag).kind()));};Q.prototype.Complex=function(){return this.$val.Complex();};Q.ptr.prototype.FieldByIndex=function(aw){var{aw,ax,ay,az,ba,bb,bc,bd,be,bf,bg,bh,$s,$r,$c}=$restore(this,{aw});$s=$s||0;s:while(true){switch($s){case 0:ax=this;if(aw.$length===1){$s=1;continue;}$s=2;continue;case 1:ay=$clone(ax,Q).Field((0>=aw.$length?($throwRuntimeError("index out of range"),undefined):aw.$array[aw.$offset+0]));$s=3;case 3:if($c){$c=false;ay=ay.$blk();}if(ay&&ay.$blk!==undefined){break s;}az=ay;$s=4;case 4:return az;case 2:new R(ax.flag).mustBe(25);ba=aw;bb=0;case 5:if(!(bb=ba.$length)?($throwRuntimeError("index out of range"),undefined):ba.$array[ba.$offset+bb]);if(bc>0){$s=7;continue;}$s=8;continue;case 7:if(!($clone(ax,Q).Kind()===22)){be=false;$s=11;continue s;}bf=ax.typ.Elem().Kind();$s=12;case 12:if($c){$c=false;bf=bf.$blk();}if(bf&&bf.$blk!==undefined){break s;}be=bf===25;case 11:if(be){$s=9;continue;}$s=10;continue;case 9:if($clone(ax,Q).IsNil()){$panic(new $String("reflect: indirection through nil pointer to embedded struct"));}bg=$clone(ax,Q).Elem();$s=13;case 13:if($c){$c=false;bg=bg.$blk();}if(bg&&bg.$blk!==undefined){break s;}ax=bg;case 10:case 8:bh=$clone(ax,Q).Field(bd);$s=14;case 14:if($c){$c=false;bh=bh.$blk();}if(bh&&bh.$blk!==undefined){break s;}ax=bh;bb++;$s=5;continue;case 6:$s=-1;return ax;}return;}var $f={$blk:Q.ptr.prototype.FieldByIndex,$c:true,$r,aw,ax,ay,az,ba,bb,bc,bd,be,bf,bg,bh,$s};return $f;};Q.prototype.FieldByIndex=function(aw){return this.$val.FieldByIndex(aw);};Q.ptr.prototype.FieldByIndexErr=function(aw){var{aw,ax,ay,az,ba,bb,bc,bd,be,bf,bg,bh,bi,bj,bk,$s,$r,$c}=$restore(this,{aw});$s=$s||0;s:while(true){switch($s){case 0:ax=this;if(aw.$length===1){$s=1;continue;}$s=2;continue;case 1:ay=$clone(ax,Q).Field((0>=aw.$length?($throwRuntimeError("index out of range"),undefined):aw.$array[aw.$offset+0]));$s=3;case 3:if($c){$c=false;ay=ay.$blk();}if(ay&&ay.$blk!==undefined){break s;}az=[ay,$ifaceNil];$s=4;case 4:return az;case 2:new R(ax.flag).mustBe(25);ba=aw;bb=0;case 5:if(!(bb=ba.$length)?($throwRuntimeError("index out of range"),undefined):ba.$array[ba.$offset+bb]);if(bc>0){$s=7;continue;}$s=8;continue;case 7:if(!($clone(ax,Q).Kind()===22)){be=false;$s=11;continue s;}bf=ax.typ.Elem().Kind();$s=12;case 12:if($c){$c=false;bf=bf.$blk();}if(bf&&bf.$blk!==undefined){break s;}be=bf===25;case 11:if(be){$s=9;continue;}$s=10;continue;case 9:if($clone(ax,Q).IsNil()){$s=13;continue;}$s=14;continue;case 13:bg=ax.typ.Elem().Name();$s=15;case 15:if($c){$c=false;bg=bg.$blk();}if(bg&&bg.$blk!==undefined){break s;}bh=A.New("reflect: indirection through nil pointer to embedded struct field "+bg);$s=16;case 16:if($c){$c=false;bh=bh.$blk();}if(bh&&bh.$blk!==undefined){break s;}bi=[new Q.ptr(JE.nil,0,0),bh];$s=17;case 17:return bi;case 14:bj=$clone(ax,Q).Elem();$s=18;case 18:if($c){$c=false;bj=bj.$blk();}if(bj&&bj.$blk!==undefined){break s;}ax=bj;case 10:case 8:bk=$clone(ax,Q).Field(bd);$s=19;case 19:if($c){$c=false;bk=bk.$blk();}if(bk&&bk.$blk!==undefined){break s;}ax=bk;bb++;$s=5;continue;case 6:$s=-1;return[ax,$ifaceNil];}return;}var $f={$blk:Q.ptr.prototype.FieldByIndexErr,$c:true,$r,aw,ax,ay,az,ba,bb,bc,bd,be,bf,bg,bh,bi,bj,bk,$s};return $f;};Q.prototype.FieldByIndexErr=function(aw){return this.$val.FieldByIndexErr(aw);};Q.ptr.prototype.FieldByName=function(aw){var{aw,ax,ay,az,ba,bb,bc,bd,$s,$r,$c}=$restore(this,{aw});$s=$s||0;s:while(true){switch($s){case 0:ax=this;new R(ax.flag).mustBe(25);az=ax.typ.FieldByName(aw);$s=1;case 1:if($c){$c=false;az=az.$blk();}if(az&&az.$blk!==undefined){break s;}ay=az;ba=$clone(ay[0],DM);bb=ay[1];if(bb){$s=2;continue;}$s=3;continue;case 2:bc=$clone(ax,Q).FieldByIndex(ba.Index);$s=4;case 4:if($c){$c=false;bc=bc.$blk();}if(bc&&bc.$blk!==undefined){break s;}bd=bc;$s=5;case 5:return bd;case 3:$s=-1;return new Q.ptr(JE.nil,0,0);}return;}var $f={$blk:Q.ptr.prototype.FieldByName,$c:true,$r,aw,ax,ay,az,ba,bb,bc,bd,$s};return $f;};Q.prototype.FieldByName=function(aw){return this.$val.FieldByName(aw);};Q.ptr.prototype.FieldByNameFunc=function(aw){var{aw,ax,ay,az,ba,bb,bc,bd,$s,$r,$c}=$restore(this,{aw});$s=$s||0;s:while(true){switch($s){case 0:ax=this;az=ax.typ.FieldByNameFunc(aw);$s=1;case 1:if($c){$c=false;az=az.$blk();}if(az&&az.$blk!==undefined){break s;}ay=az;ba=$clone(ay[0],DM);bb=ay[1];if(bb){$s=2;continue;}$s=3;continue;case 2:bc=$clone(ax,Q).FieldByIndex(ba.Index);$s=4;case 4:if($c){$c=false;bc=bc.$blk();}if(bc&&bc.$blk!==undefined){break s;}bd=bc;$s=5;case 5:return bd;case 3:$s=-1;return new Q.ptr(JE.nil,0,0);}return;}var $f={$blk:Q.ptr.prototype.FieldByNameFunc,$c:true,$r,aw,ax,ay,az,ba,bb,bc,bd,$s};return $f;};Q.prototype.FieldByNameFunc=function(aw){return this.$val.FieldByNameFunc(aw);};Q.ptr.prototype.CanFloat=function(){var aw,ax;aw=this;ax=new R(aw.flag).kind();if((ax===(13))||(ax===(14))){return true;}else{return false;}};Q.prototype.CanFloat=function(){return this.$val.CanFloat();};Q.ptr.prototype.Float=function(){var aw,ax,ay;aw=this;ax=new R(aw.flag).kind();ay=ax;if(ay===(13)){return((aw.ptr).$get());}else if(ay===(14)){return(aw.ptr).$get();}$panic(new U.ptr("reflect.Value.Float",new R(aw.flag).kind()));};Q.prototype.Float=function(){return this.$val.Float();};Q.ptr.prototype.CanInt=function(){var aw,ax;aw=this;ax=new R(aw.flag).kind();if((ax===(2))||(ax===(3))||(ax===(4))||(ax===(5))||(ax===(6))){return true;}else{return false;}};Q.prototype.CanInt=function(){return this.$val.CanInt();};Q.ptr.prototype.Int=function(){var aw,ax,ay,az;aw=this;ax=new R(aw.flag).kind();ay=aw.ptr;az=ax;if(az===(2)){return(new $Int64(0,(ay).$get()));}else if(az===(3)){return(new $Int64(0,(ay).$get()));}else if(az===(4)){return(new $Int64(0,(ay).$get()));}else if(az===(5)){return(new $Int64(0,(ay).$get()));}else if(az===(6)){return(ay).$get();}$panic(new U.ptr("reflect.Value.Int",new R(aw.flag).kind()));};Q.prototype.Int=function(){return this.$val.Int();};Q.ptr.prototype.CanInterface=function(){var aw;aw=this;if(aw.flag===0){$panic(new U.ptr("reflect.Value.CanInterface",0));}return((aw.flag&96)>>>0)===0;};Q.prototype.CanInterface=function(){return this.$val.CanInterface();};Q.ptr.prototype.Interface=function(){var{aw,ax,ay,az,$s,$r,$c}=$restore(this,{});$s=$s||0;s:while(true){switch($s){case 0:aw=$ifaceNil;ax=this;ay=IK($clone(ax,Q),true);$s=1;case 1:if($c){$c=false;ay=ay.$blk();}if(ay&&ay.$blk!==undefined){break s;}aw=ay;az=aw;$s=2;case 2:return az;}return;}var $f={$blk:Q.ptr.prototype.Interface,$c:true,$r,aw,ax,ay,az,$s};return $f;};Q.prototype.Interface=function(){return this.$val.Interface();};Q.ptr.prototype.IsValid=function(){var aw;aw=this;return!((aw.flag===0));};Q.prototype.IsValid=function(){return this.$val.IsValid();};Q.ptr.prototype.IsZero=function(){var{aw,ax,ay,az,ba,bb,bc,bd,be,bf,bg,bh,bi,bj,$s,$r,$c}=$restore(this,{});$s=$s||0;s:while(true){switch($s){case 0:aw=this;ax=new R(aw.flag).kind();if(ax===(1)){$s=2;continue;}if((ax===(2))||(ax===(3))||(ax===(4))||(ax===(5))||(ax===(6))){$s=3;continue;}if((ax===(7))||(ax===(8))||(ax===(9))||(ax===(10))||(ax===(11))||(ax===(12))){$s=4;continue;}if((ax===(13))||(ax===(14))){$s=5;continue;}if((ax===(15))||(ax===(16))){$s=6;continue;}if(ax===(17)){$s=7;continue;}if((ax===(18))||(ax===(19))||(ax===(20))||(ax===(21))||(ax===(22))||(ax===(23))||(ax===(26))){$s=8;continue;}if(ax===(24)){$s=9;continue;}if(ax===(25)){$s=10;continue;}$s=11;continue;case 2:$s=-1;return!$clone(aw,Q).Bool();case 3:$s=-1;return(ay=$clone(aw,Q).Int(),(ay.$high===0&&ay.$low===0));case 4:$s=-1;return(az=$clone(aw,Q).Uint(),(az.$high===0&&az.$low===0));case 5:$s=-1;return(ba=F.Float64bits($clone(aw,Q).Float()),(ba.$high===0&&ba.$low===0));case 6:bb=$clone(aw,Q).Complex();$s=-1;return(bc=F.Float64bits(bb.$real),(bc.$high===0&&bc.$low===0))&&(bd=F.Float64bits(bb.$imag),(bd.$high===0&&bd.$low===0));case 7:be=0;case 13:if(!(be<$clone(aw,Q).Len())){$s=14;continue;}bf=$clone(aw,Q).Index(be);$s=17;case 17:if($c){$c=false;bf=bf.$blk();}if(bf&&bf.$blk!==undefined){break s;}bg=$clone(bf,Q).IsZero();$s=18;case 18:if($c){$c=false;bg=bg.$blk();}if(bg&&bg.$blk!==undefined){break s;}if(!bg){$s=15;continue;}$s=16;continue;case 15:$s=-1;return false;case 16:be=be+(1)>>0;$s=13;continue;case 14:$s=-1;return true;case 8:$s=-1;return $clone(aw,Q).IsNil();case 9:$s=-1;return $clone(aw,Q).Len()===0;case 10:bh=0;case 19:if(!(bh<$clone(aw,Q).NumField())){$s=20;continue;}bi=$clone(aw,Q).Field(bh);$s=23;case 23:if($c){$c=false;bi=bi.$blk();}if(bi&&bi.$blk!==undefined){break s;}bj=$clone(bi,Q).IsZero();$s=24;case 24:if($c){$c=false;bj=bj.$blk();}if(bj&&bj.$blk!==undefined){break s;}if(!bj){$s=21;continue;}$s=22;continue;case 21:$s=-1;return false;case 22:bh=bh+(1)>>0;$s=19;continue;case 20:$s=-1;return true;case 11:$panic(new U.ptr("reflect.Value.IsZero",$clone(aw,Q).Kind()));case 12:case 1:$s=-1;return false;}return;}var $f={$blk:Q.ptr.prototype.IsZero,$c:true,$r,aw,ax,ay,az,ba,bb,bc,bd,be,bf,bg,bh,bi,bj,$s};return $f;};Q.prototype.IsZero=function(){return this.$val.IsZero();};Q.ptr.prototype.Kind=function(){var aw;aw=this;return new R(aw.flag).kind();};Q.prototype.Kind=function(){return this.$val.Kind();};Q.ptr.prototype.MapIndex=function(aw){var{aw,ax,ay,az,ba,bb,bc,bd,be,$s,$r,$c}=$restore(this,{aw});$s=$s||0;s:while(true){switch($s){case 0:ax=this;new R(ax.flag).mustBe(21);ay=(ax.typ.kindType);az=0;if((ay.key===AF||(new R(aw.flag).kind()===24))&&ay.key===aw.typ&&ay.elem.size<=128){$s=1;continue;}$s=2;continue;case 1:ba=(aw.ptr).$get();az=HX(ax.typ,$clone(ax,Q).pointer(),ba);$s=3;continue;case 2:bb=$clone(aw,Q).assignTo("reflect.Value.MapIndex",ay.key,0);$s=4;case 4:if($c){$c=false;bb=bb.$blk();}if(bb&&bb.$blk!==undefined){break s;}aw=bb;bc=0;if(!((((aw.flag&128)>>>0)===0))){bc=aw.ptr;}else{bc=((aw.$ptr_ptr||(aw.$ptr_ptr=new JV(function(){return this.$target.ptr;},function($v){this.$target.ptr=$v;},aw))));}az=HU(ax.typ,$clone(ax,Q).pointer(),bc);case 3:if(az===0){$s=-1;return new Q.ptr(JE.nil,0,0);}bd=ay.elem;be=new R((((ax.flag|aw.flag)>>>0))).ro();be=(be|(((bd.Kind()>>>0))))>>>0;$s=-1;return AH(bd,be,az);}return;}var $f={$blk:Q.ptr.prototype.MapIndex,$c:true,$r,aw,ax,ay,az,ba,bb,bc,bd,be,$s};return $f;};Q.prototype.MapIndex=function(aw){return this.$val.MapIndex(aw);};Q.ptr.prototype.MapKeys=function(){var{aw,ax,ay,az,ba,bb,bc,bd,be,bf,bg,$s,$r,$c}=$restore(this,{});$s=$s||0;s:while(true){switch($s){case 0:aw=[aw];ax=this;new R(ax.flag).mustBe(21);ay=(ax.typ.kindType);az=ay.key;ba=(new R(ax.flag).ro()|((az.Kind()>>>0)))>>>0;bb=$clone(ax,Q).pointer();bc=0;if(!(bb===0)){bc=IF(bb);}aw[0]=new IA.ptr($ifaceNil,null,null,0,null);IB(ax.typ,bb,aw[0]);bd=$makeSlice(JO,bc);be=0;be=0;case 1:if(!(be=bd.$length)?($throwRuntimeError("index out of range"),undefined):bd.$array[bd.$offset+be]=AH(az,ba,bg));IE(aw[0]);be=be+(1)>>0;$s=1;continue;case 2:$s=-1;return $subslice(bd,0,be);}return;}var $f={$blk:Q.ptr.prototype.MapKeys,$c:true,$r,aw,ax,ay,az,ba,bb,bc,bd,be,bf,bg,$s};return $f;};Q.prototype.MapKeys=function(){return this.$val.MapKeys();};IA.ptr.prototype.initialized=function(){var aw;aw=this;return!($interfaceIsEqual(aw.t,$ifaceNil));};IA.prototype.initialized=function(){return this.$val.initialized();};AG.ptr.prototype.Key=function(){var{aw,ax,ay,az,ba,$s,$r,$c}=$restore(this,{});$s=$s||0;s:while(true){switch($s){case 0:aw=this;if(!aw.hiter.initialized()){$panic(new $String("MapIter.Key called before Next"));}ax=IC(aw.hiter);$s=1;case 1:if($c){$c=false;ax=ax.$blk();}if(ax&&ax.$blk!==undefined){break s;}ay=ax;if(ay===0){$panic(new $String("MapIter.Key called on exhausted iterator"));}az=(aw.m.typ.kindType);ba=az.key;$s=-1;return AH(ba,(new R(aw.m.flag).ro()|((ba.Kind()>>>0)))>>>0,ay);}return;}var $f={$blk:AG.ptr.prototype.Key,$c:true,$r,aw,ax,ay,az,ba,$s};return $f;};AG.prototype.Key=function(){return this.$val.Key();};Q.ptr.prototype.SetIterKey=function(aw){var{aw,ax,ay,az,ba,bb,bc,bd,be,$s,$r,$c}=$restore(this,{aw});$s=$s||0;s:while(true){switch($s){case 0:ax=this;if(!aw.hiter.initialized()){$panic(new $String("reflect: Value.SetIterKey called before Next"));}ay=IC(aw.hiter);$s=1;case 1:if($c){$c=false;ay=ay.$blk();}if(ay&&ay.$blk!==undefined){break s;}az=ay;if(az===0){$panic(new $String("reflect: Value.SetIterKey called on exhausted iterator"));}new R(ax.flag).mustBeAssignable();ba=0;if(new R(ax.flag).kind()===20){ba=ax.ptr;}bb=(aw.m.typ.kindType);bc=bb.key;bd=new Q.ptr(bc,az,(((aw.m.flag|((bc.Kind()>>>0)))>>>0)|128)>>>0);be=$clone(bd,Q).assignTo("reflect.MapIter.SetKey",ax.typ,ba);$s=2;case 2:if($c){$c=false;be=be.$blk();}if(be&&be.$blk!==undefined){break s;}bd=be;HP(ax.typ,ax.ptr,bd.ptr);$s=-1;return;}return;}var $f={$blk:Q.ptr.prototype.SetIterKey,$c:true,$r,aw,ax,ay,az,ba,bb,bc,bd,be,$s};return $f;};Q.prototype.SetIterKey=function(aw){return this.$val.SetIterKey(aw);};AG.ptr.prototype.Value=function(){var{aw,ax,ay,az,ba,$s,$r,$c}=$restore(this,{});$s=$s||0;s:while(true){switch($s){case 0:aw=this;if(!aw.hiter.initialized()){$panic(new $String("MapIter.Value called before Next"));}ax=ID(aw.hiter);$s=1;case 1:if($c){$c=false;ax=ax.$blk();}if(ax&&ax.$blk!==undefined){break s;}ay=ax;if(ay===0){$panic(new $String("MapIter.Value called on exhausted iterator"));}az=(aw.m.typ.kindType);ba=az.elem;$s=-1;return AH(ba,(new R(aw.m.flag).ro()|((ba.Kind()>>>0)))>>>0,ay);}return;}var $f={$blk:AG.ptr.prototype.Value,$c:true,$r,aw,ax,ay,az,ba,$s};return $f;};AG.prototype.Value=function(){return this.$val.Value();};Q.ptr.prototype.SetIterValue=function(aw){var{aw,ax,ay,az,ba,bb,bc,bd,be,$s,$r,$c}=$restore(this,{aw});$s=$s||0;s:while(true){switch($s){case 0:ax=this;if(!aw.hiter.initialized()){$panic(new $String("reflect: Value.SetIterValue called before Next"));}ay=ID(aw.hiter);$s=1;case 1:if($c){$c=false;ay=ay.$blk();}if(ay&&ay.$blk!==undefined){break s;}az=ay;if(az===0){$panic(new $String("reflect: Value.SetIterValue called on exhausted iterator"));}new R(ax.flag).mustBeAssignable();ba=0;if(new R(ax.flag).kind()===20){ba=ax.ptr;}bb=(aw.m.typ.kindType);bc=bb.elem;bd=new Q.ptr(bc,az,(((aw.m.flag|((bc.Kind()>>>0)))>>>0)|128)>>>0);be=$clone(bd,Q).assignTo("reflect.MapIter.SetValue",ax.typ,ba);$s=2;case 2:if($c){$c=false;be=be.$blk();}if(be&&be.$blk!==undefined){break s;}bd=be;HP(ax.typ,ax.ptr,bd.ptr);$s=-1;return;}return;}var $f={$blk:Q.ptr.prototype.SetIterValue,$c:true,$r,aw,ax,ay,az,ba,bb,bc,bd,be,$s};return $f;};Q.prototype.SetIterValue=function(aw){return this.$val.SetIterValue(aw);};AG.ptr.prototype.Next=function(){var{aw,ax,ay,az,$s,$r,$c}=$restore(this,{});$s=$s||0;s:while(true){switch($s){case 0:aw=this;if(!$clone(aw.m,Q).IsValid()){$panic(new $String("MapIter.Next called on an iterator that does not have an associated map Value"));}if(!aw.hiter.initialized()){$s=1;continue;}$s=2;continue;case 1:IB(aw.m.typ,$clone(aw.m,Q).pointer(),aw.hiter);$s=3;continue;case 2:ax=IC(aw.hiter);$s=6;case 6:if($c){$c=false;ax=ax.$blk();}if(ax&&ax.$blk!==undefined){break s;}if(ax===0){$s=4;continue;}$s=5;continue;case 4:$panic(new $String("MapIter.Next called on exhausted iterator"));case 5:IE(aw.hiter);case 3:ay=IC(aw.hiter);$s=7;case 7:if($c){$c=false;ay=ay.$blk();}if(ay&&ay.$blk!==undefined){break s;}az=!(ay===0);$s=8;case 8:return az;}return;}var $f={$blk:AG.ptr.prototype.Next,$c:true,$r,aw,ax,ay,az,$s};return $f;};AG.prototype.Next=function(){return this.$val.Next();};AG.ptr.prototype.Reset=function(aw){var aw,ax;ax=this;if($clone(aw,Q).IsValid()){new R(aw.flag).mustBe(21);}ax.m=aw;IA.copy(ax.hiter,new IA.ptr($ifaceNil,null,null,0,null));};AG.prototype.Reset=function(aw){return this.$val.Reset(aw);};Q.ptr.prototype.MapRange=function(){var aw;aw=this;new R(aw.flag).mustBe(21);return new AG.ptr($clone(aw,Q),new IA.ptr($ifaceNil,null,null,0,null));};Q.prototype.MapRange=function(){return this.$val.MapRange();};AH=function(aw,ax,ay){var aw,ax,ay,az;if(FD(aw)){az=HM(aw);HP(aw,az,ay);return new Q.ptr(aw,az,(ax|128)>>>0);}return new Q.ptr(aw,(ay).$get(),ax);};Q.ptr.prototype.Method=function(aw){var aw,ax,ay;ax=this;if(ax.typ===JE.nil){$panic(new U.ptr("reflect.Value.Method",0));}if(!((((ax.flag&512)>>>0)===0))||((aw>>>0))>=((ax.typ.NumMethod()>>>0))){$panic(new $String("reflect: Method index out of range"));}if((ax.typ.Kind()===20)&&$clone(ax,Q).IsNil()){$panic(new $String("reflect: Method on nil interface value"));}ay=(new R(ax.flag).ro()|(((ax.flag&128)>>>0)))>>>0;ay=(ay|(19))>>>0;ay=(ay|((((((aw>>>0))<<10>>>0)|512)>>>0)))>>>0;return new Q.ptr(ax.typ,ax.ptr,ay);};Q.prototype.Method=function(aw){return this.$val.Method(aw);};Q.ptr.prototype.NumMethod=function(){var aw;aw=this;if(aw.typ===JE.nil){$panic(new U.ptr("reflect.Value.NumMethod",0));}if(!((((aw.flag&512)>>>0)===0))){return 0;}return aw.typ.NumMethod();};Q.prototype.NumMethod=function(){return this.$val.NumMethod();};Q.ptr.prototype.MethodByName=function(aw){var{aw,ax,ay,az,ba,bb,$s,$r,$c}=$restore(this,{aw});$s=$s||0;s:while(true){switch($s){case 0:ax=this;if(ax.typ===JE.nil){$panic(new U.ptr("reflect.Value.MethodByName",0));}if(!((((ax.flag&512)>>>0)===0))){$s=-1;return new Q.ptr(JE.nil,0,0);}az=ax.typ.MethodByName(aw);$s=1;case 1:if($c){$c=false;az=az.$blk();}if(az&&az.$blk!==undefined){break s;}ay=az;ba=$clone(ay[0],DA);bb=ay[1];if(!bb){$s=-1;return new Q.ptr(JE.nil,0,0);}$s=-1;return $clone(ax,Q).Method(ba.Index);}return;}var $f={$blk:Q.ptr.prototype.MethodByName,$c:true,$r,aw,ax,ay,az,ba,bb,$s};return $f;};Q.prototype.MethodByName=function(aw){return this.$val.MethodByName(aw);};Q.ptr.prototype.NumField=function(){var aw,ax;aw=this;new R(aw.flag).mustBe(25);ax=(aw.typ.kindType);return ax.fields.$length;};Q.prototype.NumField=function(){return this.$val.NumField();};Q.ptr.prototype.OverflowComplex=function(aw){var aw,ax,ay,az;ax=this;ay=new R(ax.flag).kind();az=ay;if(az===(15)){return AI(aw.$real)||AI(aw.$imag);}else if(az===(16)){return false;}$panic(new U.ptr("reflect.Value.OverflowComplex",new R(ax.flag).kind()));};Q.prototype.OverflowComplex=function(aw){return this.$val.OverflowComplex(aw);};Q.ptr.prototype.OverflowFloat=function(aw){var aw,ax,ay,az;ax=this;ay=new R(ax.flag).kind();az=ay;if(az===(13)){return AI(aw);}else if(az===(14)){return false;}$panic(new U.ptr("reflect.Value.OverflowFloat",new R(ax.flag).kind()));};Q.prototype.OverflowFloat=function(aw){return this.$val.OverflowFloat(aw);};AI=function(aw){var aw;if(aw<0){aw=-aw;}return 3.4028234663852886e+38>>0;bb=$shiftRightInt64(($shiftLeft64(aw,((64-ba>>>0)))),((64-ba>>>0)));return!((aw.$high===bb.$high&&aw.$low===bb.$low));}$panic(new U.ptr("reflect.Value.OverflowInt",new R(ax.flag).kind()));};Q.prototype.OverflowInt=function(aw){return this.$val.OverflowInt(aw);};Q.ptr.prototype.OverflowUint=function(aw){var aw,ax,ay,az,ba,bb;ax=this;ay=new R(ax.flag).kind();az=ay;if((az===(7))||(az===(12))||(az===(8))||(az===(9))||(az===(10))||(az===(11))){ba=$imul(ax.typ.size,8)>>>0;bb=$shiftRightUint64(($shiftLeft64(aw,((64-ba>>>0)))),((64-ba>>>0)));return!((aw.$high===bb.$high&&aw.$low===bb.$low));}$panic(new U.ptr("reflect.Value.OverflowUint",new R(ax.flag).kind()));};Q.prototype.OverflowUint=function(aw){return this.$val.OverflowUint(aw);};Q.ptr.prototype.Recv=function(){var{aw,ax,ay,az,ba,bb,$s,$r,$c}=$restore(this,{});$s=$s||0;s:while(true){switch($s){case 0:aw=new Q.ptr(JE.nil,0,0);ax=false;ay=this;new R(ay.flag).mustBe(18);new R(ay.flag).mustBeExported();ba=$clone(ay,Q).recv(false);$s=1;case 1:if($c){$c=false;ba=ba.$blk();}if(ba&&ba.$blk!==undefined){break s;}az=ba;aw=az[0];ax=az[1];bb=[aw,ax];$s=2;case 2:return bb;}return;}var $f={$blk:Q.ptr.prototype.Recv,$c:true,$r,aw,ax,ay,az,ba,bb,$s};return $f;};Q.prototype.Recv=function(){return this.$val.Recv();};Q.ptr.prototype.recv=function(aw){var{aw,ax,ay,az,ba,bb,bc,bd,be,bf,$s,$r,$c}=$restore(this,{aw});$s=$s||0;s:while(true){switch($s){case 0:ax=new Q.ptr(JE.nil,0,0);ay=false;az=this;ba=(az.typ.kindType);if((((ba.dir>>0))&1)===0){$panic(new $String("reflect: recv on send-only channel"));}bb=ba.elem;ax=new Q.ptr(bb,0,((bb.Kind()>>>0)));bc=0;if(FD(bb)){bc=HM(bb);ax.ptr=bc;ax.flag=(ax.flag|(128))>>>0;}else{bc=((ax.$ptr_ptr||(ax.$ptr_ptr=new JV(function(){return this.$target.ptr;},function($v){this.$target.ptr=$v;},ax))));}be=IT($clone(az,Q).pointer(),aw,bc);$s=1;case 1:if($c){$c=false;be=be.$blk();}if(be&&be.$blk!==undefined){break s;}bd=be;bf=bd[0];ay=bd[1];if(!bf){ax=new Q.ptr(JE.nil,0,0);}$s=-1;return[ax,ay];}return;}var $f={$blk:Q.ptr.prototype.recv,$c:true,$r,aw,ax,ay,az,ba,bb,bc,bd,be,bf,$s};return $f;};Q.prototype.recv=function(aw){return this.$val.recv(aw);};Q.ptr.prototype.Send=function(aw){var{aw,ax,ay,$s,$r,$c}=$restore(this,{aw});$s=$s||0;s:while(true){switch($s){case 0:ax=this;new R(ax.flag).mustBe(18);new R(ax.flag).mustBeExported();ay=$clone(ax,Q).send($clone(aw,Q),false);$s=1;case 1:if($c){$c=false;ay=ay.$blk();}if(ay&&ay.$blk!==undefined){break s;}ay;$s=-1;return;}return;}var $f={$blk:Q.ptr.prototype.Send,$c:true,$r,aw,ax,ay,$s};return $f;};Q.prototype.Send=function(aw){return this.$val.Send(aw);};Q.ptr.prototype.send=function(aw,ax){var{aw,ax,ay,az,ba,bb,bc,bd,be,$s,$r,$c}=$restore(this,{aw,ax});$s=$s||0;s:while(true){switch($s){case 0:ay=false;az=this;ba=(az.typ.kindType);if((((ba.dir>>0))&2)===0){$panic(new $String("reflect: send on recv-only channel"));}new R(aw.flag).mustBeExported();bb=$clone(aw,Q).assignTo("reflect.Value.Send",ba.elem,0);$s=1;case 1:if($c){$c=false;bb=bb.$blk();}if(bb&&bb.$blk!==undefined){break s;}aw=bb;bc=0;if(!((((aw.flag&128)>>>0)===0))){bc=aw.ptr;}else{bc=((aw.$ptr_ptr||(aw.$ptr_ptr=new JV(function(){return this.$target.ptr;},function($v){this.$target.ptr=$v;},aw))));}bd=IU($clone(az,Q).pointer(),bc,ax);$s=2;case 2:if($c){$c=false;bd=bd.$blk();}if(bd&&bd.$blk!==undefined){break s;}ay=bd;be=ay;$s=3;case 3:return be;}return;}var $f={$blk:Q.ptr.prototype.send,$c:true,$r,aw,ax,ay,az,ba,bb,bc,bd,be,$s};return $f;};Q.prototype.send=function(aw,ax){return this.$val.send(aw,ax);};Q.ptr.prototype.SetBool=function(aw){var aw,ax;ax=this;new R(ax.flag).mustBeAssignable();new R(ax.flag).mustBe(1);(ax.ptr).$set(aw);};Q.prototype.SetBool=function(aw){return this.$val.SetBool(aw);};Q.ptr.prototype.setRunes=function(aw){var{aw,ax,ay,$s,$r,$c}=$restore(this,{aw});$s=$s||0;s:while(true){switch($s){case 0:ax=this;new R(ax.flag).mustBeAssignable();new R(ax.flag).mustBe(23);ay=ax.typ.Elem().Kind();$s=3;case 3:if($c){$c=false;ay=ay.$blk();}if(ay&&ay.$blk!==undefined){break s;}if(!((ay===5))){$s=1;continue;}$s=2;continue;case 1:$panic(new $String("reflect.Value.setRunes of non-rune slice"));case 2:(ax.ptr).$set(aw);$s=-1;return;}return;}var $f={$blk:Q.ptr.prototype.setRunes,$c:true,$r,aw,ax,ay,$s};return $f;};Q.prototype.setRunes=function(aw){return this.$val.setRunes(aw);};Q.ptr.prototype.SetComplex=function(aw){var aw,ax,ay,az;ax=this;new R(ax.flag).mustBeAssignable();ay=new R(ax.flag).kind();az=ay;if(az===(15)){(ax.ptr).$set((new $Complex64(aw.$real,aw.$imag)));}else if(az===(16)){(ax.ptr).$set(aw);}else{$panic(new U.ptr("reflect.Value.SetComplex",new R(ax.flag).kind()));}};Q.prototype.SetComplex=function(aw){return this.$val.SetComplex(aw);};Q.ptr.prototype.SetFloat=function(aw){var aw,ax,ay,az;ax=this;new R(ax.flag).mustBeAssignable();ay=new R(ax.flag).kind();az=ay;if(az===(13)){(ax.ptr).$set(($fround(aw)));}else if(az===(14)){(ax.ptr).$set(aw);}else{$panic(new U.ptr("reflect.Value.SetFloat",new R(ax.flag).kind()));}};Q.prototype.SetFloat=function(aw){return this.$val.SetFloat(aw);};Q.ptr.prototype.SetInt=function(aw){var aw,ax,ay,az;ax=this;new R(ax.flag).mustBeAssignable();ay=new R(ax.flag).kind();az=ay;if(az===(2)){(ax.ptr).$set((((aw.$low+((aw.$high>>31)*4294967296))>>0)));}else if(az===(3)){(ax.ptr).$set((((aw.$low+((aw.$high>>31)*4294967296))<<24>>24)));}else if(az===(4)){(ax.ptr).$set((((aw.$low+((aw.$high>>31)*4294967296))<<16>>16)));}else if(az===(5)){(ax.ptr).$set((((aw.$low+((aw.$high>>31)*4294967296))>>0)));}else if(az===(6)){(ax.ptr).$set(aw);}else{$panic(new U.ptr("reflect.Value.SetInt",new R(ax.flag).kind()));}};Q.prototype.SetInt=function(aw){return this.$val.SetInt(aw);};Q.ptr.prototype.SetMapIndex=function(aw,ax){var{aw,ax,ay,az,ba,bb,bc,bd,be,bf,bg,$s,$r,$c}=$restore(this,{aw,ax});$s=$s||0;s:while(true){switch($s){case 0:ay=this;new R(ay.flag).mustBe(21);new R(ay.flag).mustBeExported();new R(aw.flag).mustBeExported();az=(ay.typ.kindType);if((az.key===AF||(new R(aw.flag).kind()===24))&&az.key===aw.typ&&az.elem.size<=128){$s=1;continue;}$s=2;continue;case 1:ba=(aw.ptr).$get();if(ax.typ===JE.nil){HZ(ay.typ,$clone(ay,Q).pointer(),ba);$s=-1;return;}new R(ax.flag).mustBeExported();bb=$clone(ax,Q).assignTo("reflect.Value.SetMapIndex",az.elem,0);$s=3;case 3:if($c){$c=false;bb=bb.$blk();}if(bb&&bb.$blk!==undefined){break s;}ax=bb;bc=0;if(!((((ax.flag&128)>>>0)===0))){bc=ax.ptr;}else{bc=((ax.$ptr_ptr||(ax.$ptr_ptr=new JV(function(){return this.$target.ptr;},function($v){this.$target.ptr=$v;},ax))));}$r=HY(ay.typ,$clone(ay,Q).pointer(),ba,bc);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return;case 2:bd=$clone(aw,Q).assignTo("reflect.Value.SetMapIndex",az.key,0);$s=5;case 5:if($c){$c=false;bd=bd.$blk();}if(bd&&bd.$blk!==undefined){break s;}aw=bd;be=0;if(!((((aw.flag&128)>>>0)===0))){be=aw.ptr;}else{be=((aw.$ptr_ptr||(aw.$ptr_ptr=new JV(function(){return this.$target.ptr;},function($v){this.$target.ptr=$v;},aw))));}if(ax.typ===JE.nil){HW(ay.typ,$clone(ay,Q).pointer(),be);$s=-1;return;}new R(ax.flag).mustBeExported();bf=$clone(ax,Q).assignTo("reflect.Value.SetMapIndex",az.elem,0);$s=6;case 6:if($c){$c=false;bf=bf.$blk();}if(bf&&bf.$blk!==undefined){break s;}ax=bf;bg=0;if(!((((ax.flag&128)>>>0)===0))){bg=ax.ptr;}else{bg=((ax.$ptr_ptr||(ax.$ptr_ptr=new JV(function(){return this.$target.ptr;},function($v){this.$target.ptr=$v;},ax))));}$r=HV(ay.typ,$clone(ay,Q).pointer(),be,bg);$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return;}return;}var $f={$blk:Q.ptr.prototype.SetMapIndex,$c:true,$r,aw,ax,ay,az,ba,bb,bc,bd,be,bf,bg,$s};return $f;};Q.prototype.SetMapIndex=function(aw,ax){return this.$val.SetMapIndex(aw,ax);};Q.ptr.prototype.SetUint=function(aw){var aw,ax,ay,az;ax=this;new R(ax.flag).mustBeAssignable();ay=new R(ax.flag).kind();az=ay;if(az===(7)){(ax.ptr).$set(((aw.$low>>>0)));}else if(az===(8)){(ax.ptr).$set(((aw.$low<<24>>>24)));}else if(az===(9)){(ax.ptr).$set(((aw.$low<<16>>>16)));}else if(az===(10)){(ax.ptr).$set(((aw.$low>>>0)));}else if(az===(11)){(ax.ptr).$set(aw);}else if(az===(12)){(ax.ptr).$set(((aw.$low>>>0)));}else{$panic(new U.ptr("reflect.Value.SetUint",new R(ax.flag).kind()));}};Q.prototype.SetUint=function(aw){return this.$val.SetUint(aw);};Q.ptr.prototype.SetPointer=function(aw){var aw,ax;ax=this;new R(ax.flag).mustBeAssignable();new R(ax.flag).mustBe(26);(ax.ptr).$set(aw);};Q.prototype.SetPointer=function(aw){return this.$val.SetPointer(aw);};Q.ptr.prototype.SetString=function(aw){var aw,ax;ax=this;new R(ax.flag).mustBeAssignable();new R(ax.flag).mustBe(24);(ax.ptr).$set(aw);};Q.prototype.SetString=function(aw){return this.$val.SetString(aw);};Q.ptr.prototype.String=function(){var{aw,ax,ay,az,ba,$s,$r,$c}=$restore(this,{});$s=$s||0;s:while(true){switch($s){case 0:aw=this;ax=new R(aw.flag).kind();ay=ax;if(ay===(0)){$s=-1;return"";}else if(ay===(24)){$s=-1;return(aw.ptr).$get();}az=$clone(aw,Q).Type().String();$s=1;case 1:if($c){$c=false;az=az.$blk();}if(az&&az.$blk!==undefined){break s;}ba="<"+az+" Value>";$s=2;case 2:return ba;}return;}var $f={$blk:Q.ptr.prototype.String,$c:true,$r,aw,ax,ay,az,ba,$s};return $f;};Q.prototype.String=function(){return this.$val.String();};Q.ptr.prototype.TryRecv=function(){var{aw,ax,ay,az,ba,bb,$s,$r,$c}=$restore(this,{});$s=$s||0;s:while(true){switch($s){case 0:aw=new Q.ptr(JE.nil,0,0);ax=false;ay=this;new R(ay.flag).mustBe(18);new R(ay.flag).mustBeExported();ba=$clone(ay,Q).recv(true);$s=1;case 1:if($c){$c=false;ba=ba.$blk();}if(ba&&ba.$blk!==undefined){break s;}az=ba;aw=az[0];ax=az[1];bb=[aw,ax];$s=2;case 2:return bb;}return;}var $f={$blk:Q.ptr.prototype.TryRecv,$c:true,$r,aw,ax,ay,az,ba,bb,$s};return $f;};Q.prototype.TryRecv=function(){return this.$val.TryRecv();};Q.ptr.prototype.TrySend=function(aw){var{aw,ax,ay,az,$s,$r,$c}=$restore(this,{aw});$s=$s||0;s:while(true){switch($s){case 0:ax=this;new R(ax.flag).mustBe(18);new R(ax.flag).mustBeExported();ay=$clone(ax,Q).send($clone(aw,Q),true);$s=1;case 1:if($c){$c=false;ay=ay.$blk();}if(ay&&ay.$blk!==undefined){break s;}az=ay;$s=2;case 2:return az;}return;}var $f={$blk:Q.ptr.prototype.TrySend,$c:true,$r,aw,ax,ay,az,$s};return $f;};Q.prototype.TrySend=function(aw){return this.$val.TrySend(aw);};Q.ptr.prototype.Type=function(){var aw,ax,ay,az,ba,bb,bc,bd;aw=this;ax=aw.flag;if(ax===0){$panic(new U.ptr("reflect.Value.Type",0));}if(((ax&512)>>>0)===0){return aw.typ;}ay=((aw.flag>>0))>>10>>0;if(aw.typ.Kind()===20){az=(aw.typ.kindType);if(((ay>>>0))>=((az.methods.$length>>>0))){$panic(new $String("reflect: internal error: invalid method index"));}bb=(ba=az.methods,((ay<0||ay>=ba.$length)?($throwRuntimeError("index out of range"),undefined):ba.$array[ba.$offset+ay]));return aw.typ.typeOff(bb.typ);}bc=aw.typ.exportedMethods();if(((ay>>>0))>=((bc.$length>>>0))){$panic(new $String("reflect: internal error: invalid method index"));}bd=$clone(((ay<0||ay>=bc.$length)?($throwRuntimeError("index out of range"),undefined):bc.$array[bc.$offset+ay]),CO);return aw.typ.typeOff(bd.mtyp);};Q.prototype.Type=function(){return this.$val.Type();};Q.ptr.prototype.CanUint=function(){var aw,ax;aw=this;ax=new R(aw.flag).kind();if((ax===(7))||(ax===(8))||(ax===(9))||(ax===(10))||(ax===(11))||(ax===(12))){return true;}else{return false;}};Q.prototype.CanUint=function(){return this.$val.CanUint();};Q.ptr.prototype.Uint=function(){var aw,ax,ay,az,ba;aw=this;ax=new R(aw.flag).kind();ay=aw.ptr;az=ax;if(az===(7)){return(new $Uint64(0,(ay).$get()));}else if(az===(8)){return(new $Uint64(0,(ay).$get()));}else if(az===(9)){return(new $Uint64(0,(ay).$get()));}else if(az===(10)){return(new $Uint64(0,(ay).$get()));}else if(az===(11)){return(ay).$get();}else if(az===(12)){return((ba=(ay).$get(),new $Uint64(0,ba.constructor===Number?ba:1)));}$panic(new U.ptr("reflect.Value.Uint",new R(aw.flag).kind()));};Q.prototype.Uint=function(){return this.$val.Uint();};Q.ptr.prototype.UnsafeAddr=function(){var aw;aw=this;if(aw.typ===JE.nil){$panic(new U.ptr("reflect.Value.UnsafeAddr",0));}if(((aw.flag&256)>>>0)===0){$panic(new $String("reflect.Value.UnsafeAddr of unaddressable value"));}return(aw.ptr);};Q.prototype.UnsafeAddr=function(){return this.$val.UnsafeAddr();};Q.ptr.prototype.UnsafePointer=function(){var{aw,ax,ay,az,ba,bb,$s,$r,$c}=$restore(this,{});$s=$s||0;s:while(true){switch($s){case 0:aw=[aw];ax=this;ay=new R(ax.flag).kind();az=ay;if(az===(22)){$s=2;continue;}if((az===(18))||(az===(21))||(az===(26))){$s=3;continue;}if(az===(19)){$s=4;continue;}if(az===(23)){$s=5;continue;}$s=6;continue;case 2:if(ax.typ.ptrdata===0){if(!IZ((ax.ptr).$get())){$panic(new $String("reflect: reflect.Value.UnsafePointer on an invalid notinheap pointer"));}$s=-1;return(ax.ptr).$get();}$s=-1;return $clone(ax,Q).pointer();case 3:$s=-1;return $clone(ax,Q).pointer();case 4:if(!((((ax.flag&512)>>>0)===0))){$s=7;continue;}$s=8;continue;case 7:ba=FJ();$s=9;case 9:if($c){$c=false;ba=ba.$blk();}if(ba&&ba.$blk!==undefined){break s;}aw[0]=ba;$s=-1;return aw[0];case 8:bb=$clone(ax,Q).pointer();if(!(bb===0)){bb=(bb).$get();}$s=-1;return bb;case 5:$s=-1;return($pointerOfStructConversion(ax.ptr,JW)).Data;case 6:case 1:$panic(new U.ptr("reflect.Value.UnsafePointer",new R(ax.flag).kind()));$s=-1;return 0;}return;}var $f={$blk:Q.ptr.prototype.UnsafePointer,$c:true,$r,aw,ax,ay,az,ba,bb,$s};return $f;};Q.prototype.UnsafePointer=function(){return this.$val.UnsafePointer();};Q.ptr.prototype.Convert=function(aw){var{aw,ax,ay,az,ba,bb,bc,bd,be,$s,$r,$c}=$restore(this,{aw});$s=$s||0;s:while(true){switch($s){case 0:ax=this;if(!((((ax.flag&512)>>>0)===0))){$s=1;continue;}$s=2;continue;case 1:ay=IM("Convert",$clone(ax,Q));$s=3;case 3:if($c){$c=false;ay=ay.$blk();}if(ay&&ay.$blk!==undefined){break s;}ax=ay;case 2:az=aw.common();$s=4;case 4:if($c){$c=false;az=az.$blk();}if(az&&az.$blk!==undefined){break s;}ba=BB(az,ax.typ);$s=5;case 5:if($c){$c=false;ba=ba.$blk();}if(ba&&ba.$blk!==undefined){break s;}bb=ba;if(bb===$throwNilPointerError){$s=6;continue;}$s=7;continue;case 6:bc=aw.String();$s=8;case 8:if($c){$c=false;bc=bc.$blk();}if(bc&&bc.$blk!==undefined){break s;}$panic(new $String("reflect.Value.Convert: value of type "+ax.typ.String()+" cannot be converted to type "+bc));case 7:bd=bb($clone(ax,Q),aw);$s=9;case 9:if($c){$c=false;bd=bd.$blk();}if(bd&&bd.$blk!==undefined){break s;}be=bd;$s=10;case 10:return be;}return;}var $f={$blk:Q.ptr.prototype.Convert,$c:true,$r,aw,ax,ay,az,ba,bb,bc,bd,be,$s};return $f;};Q.prototype.Convert=function(aw){return this.$val.Convert(aw);};Q.ptr.prototype.CanConvert=function(aw){var{aw,ax,ay,az,ba,bb,bc,bd,be,bf,bg,bh,bi,$s,$r,$c}=$restore(this,{aw});$s=$s||0;s:while(true){switch($s){case 0:ax=this;ay=$clone(ax,Q).Type();az=ay.ConvertibleTo(aw);$s=3;case 3:if($c){$c=false;az=az.$blk();}if(az&&az.$blk!==undefined){break s;}if(!az){$s=1;continue;}$s=2;continue;case 1:$s=-1;return false;case 2:bc=ay.Kind();$s=8;case 8:if($c){$c=false;bc=bc.$blk();}if(bc&&bc.$blk!==undefined){break s;}if(!(bc===23)){bb=false;$s=7;continue s;}bd=aw.Kind();$s=9;case 9:if($c){$c=false;bd=bd.$blk();}if(bd&&bd.$blk!==undefined){break s;}bb=bd===22;case 7:if(!(bb)){ba=false;$s=6;continue s;}be=aw.Elem();$s=10;case 10:if($c){$c=false;be=be.$blk();}if(be&&be.$blk!==undefined){break s;}bf=be.Kind();$s=11;case 11:if($c){$c=false;bf=bf.$blk();}if(bf&&bf.$blk!==undefined){break s;}ba=bf===17;case 6:if(ba){$s=4;continue;}$s=5;continue;case 4:bg=aw.Elem();$s=12;case 12:if($c){$c=false;bg=bg.$blk();}if(bg&&bg.$blk!==undefined){break s;}bh=bg.Len();$s=13;case 13:if($c){$c=false;bh=bh.$blk();}if(bh&&bh.$blk!==undefined){break s;}bi=bh;if(bi>$clone(ax,Q).Len()){$s=-1;return false;}case 5:$s=-1;return true;}return;}var $f={$blk:Q.ptr.prototype.CanConvert,$c:true,$r,aw,ax,ay,az,ba,bb,bc,bd,be,bf,bg,bh,bi,$s};return $f;};Q.prototype.CanConvert=function(aw){return this.$val.CanConvert(aw);};BB=function(aw,ax){var{aw,ax,ay,az,ba,bb,bc,bd,be,bf,bg,bh,bi,bj,bk,bl,bm,bn,bo,bp,bq,br,bs,bt,bu,bv,bw,bx,$s,$r,$c}=$restore(this,{aw,ax});$s=$s||0;s:while(true){switch($s){case 0:ay=ax.Kind();if((ay===(2))||(ay===(3))||(ay===(4))||(ay===(5))||(ay===(6))){$s=2;continue;}if((ay===(7))||(ay===(8))||(ay===(9))||(ay===(10))||(ay===(11))||(ay===(12))){$s=3;continue;}if((ay===(13))||(ay===(14))){$s=4;continue;}if((ay===(15))||(ay===(16))){$s=5;continue;}if(ay===(24)){$s=6;continue;}if(ay===(23)){$s=7;continue;}if(ay===(18)){$s=8;continue;}$s=9;continue;case 2:az=aw.Kind();if((az===(2))||(az===(3))||(az===(4))||(az===(5))||(az===(6))||(az===(7))||(az===(8))||(az===(9))||(az===(10))||(az===(11))||(az===(12))){$s=-1;return BI;}else if((az===(13))||(az===(14))){$s=-1;return BM;}else if(az===(24)){$s=-1;return BQ;}$s=9;continue;case 3:ba=aw.Kind();if((ba===(2))||(ba===(3))||(ba===(4))||(ba===(5))||(ba===(6))||(ba===(7))||(ba===(8))||(ba===(9))||(ba===(10))||(ba===(11))||(ba===(12))){$s=-1;return BJ;}else if((ba===(13))||(ba===(14))){$s=-1;return BN;}else if(ba===(24)){$s=-1;return BR;}$s=9;continue;case 4:bb=aw.Kind();if((bb===(2))||(bb===(3))||(bb===(4))||(bb===(5))||(bb===(6))){$s=-1;return BK;}else if((bb===(7))||(bb===(8))||(bb===(9))||(bb===(10))||(bb===(11))||(bb===(12))){$s=-1;return BL;}else if((bb===(13))||(bb===(14))){$s=-1;return BO;}$s=9;continue;case 5:bc=aw.Kind();if((bc===(15))||(bc===(16))){$s=-1;return BP;}$s=9;continue;case 6:if(!(aw.Kind()===23)){bd=false;$s=12;continue s;}be=aw.Elem().PkgPath();$s=13;case 13:if($c){$c=false;be=be.$blk();}if(be&&be.$blk!==undefined){break s;}bd=be==="";case 12:if(bd){$s=10;continue;}$s=11;continue;case 10:bf=aw.Elem().Kind();$s=15;case 15:if($c){$c=false;bf=bf.$blk();}if(bf&&bf.$blk!==undefined){break s;}bg=bf;if(bg===(8)){$s=-1;return BT;}else if(bg===(5)){$s=-1;return BV;}case 14:case 11:$s=9;continue;case 7:if(!(aw.Kind()===24)){bh=false;$s=18;continue s;}bi=ax.Elem().PkgPath();$s=19;case 19:if($c){$c=false;bi=bi.$blk();}if(bi&&bi.$blk!==undefined){break s;}bh=bi==="";case 18:if(bh){$s=16;continue;}$s=17;continue;case 16:bj=ax.Elem().Kind();$s=21;case 21:if($c){$c=false;bj=bj.$blk();}if(bj&&bj.$blk!==undefined){break s;}bk=bj;if(bk===(8)){$s=-1;return BS;}else if(bk===(5)){$s=-1;return BU;}case 20:case 17:if(!(aw.Kind()===22)){bm=false;$s=25;continue s;}bn=aw.Elem().Kind();$s=26;case 26:if($c){$c=false;bn=bn.$blk();}if(bn&&bn.$blk!==undefined){break s;}bm=bn===17;case 25:if(!(bm)){bl=false;$s=24;continue s;}bo=aw.Elem().Elem();$s=27;case 27:if($c){$c=false;bo=bo.$blk();}if(bo&&bo.$blk!==undefined){break s;}bl=$interfaceIsEqual(ax.Elem(),bo);case 24:if(bl){$s=22;continue;}$s=23;continue;case 22:$s=-1;return IH;case 23:$s=9;continue;case 8:if(!(aw.Kind()===18)){bp=false;$s=30;continue s;}bq=DU(aw,ax);$s=31;case 31:if($c){$c=false;bq=bq.$blk();}if(bq&&bq.$blk!==undefined){break s;}bp=bq;case 30:if(bp){$s=28;continue;}$s=29;continue;case 28:$s=-1;return IG;case 29:case 9:case 1:br=DX(aw,ax,false);$s=34;case 34:if($c){$c=false;br=br.$blk();}if(br&&br.$blk!==undefined){break s;}if(br){$s=32;continue;}$s=33;continue;case 32:$s=-1;return IG;case 33:if(!((aw.Kind()===22)&&aw.Name()===""&&(ax.Kind()===22)&&ax.Name()==="")){bs=false;$s=37;continue s;}bt=aw.Elem().common();$s=38;case 38:if($c){$c=false;bt=bt.$blk();}if(bt&&bt.$blk!==undefined){break s;}bu=bt;bv=ax.Elem().common();$s=39;case 39:if($c){$c=false;bv=bv.$blk();}if(bv&&bv.$blk!==undefined){break s;}bw=bv;bx=DX(bu,bw,false);$s=40;case 40:if($c){$c=false;bx=bx.$blk();}if(bx&&bx.$blk!==undefined){break s;}bs=bx;case 37:if(bs){$s=35;continue;}$s=36;continue;case 35:$s=-1;return IG;case 36:if(DT(aw,ax)){if(ax.Kind()===20){$s=-1;return BX;}$s=-1;return BW;}$s=-1;return $throwNilPointerError;}return;}var $f={$blk:BB,$c:true,$r,aw,ax,ay,az,ba,bb,bc,bd,be,bf,bg,bh,bi,bj,bk,bl,bm,bn,bo,bp,bq,br,bs,bt,bu,bv,bw,bx,$s};return $f;};BC=function(aw,ax,ay){var{aw,ax,ay,az,ba,bb,bc,$s,$r,$c}=$restore(this,{aw,ax,ay});$s=$s||0;s:while(true){switch($s){case 0:az=ay.common();$s=1;case 1:if($c){$c=false;az=az.$blk();}if(az&&az.$blk!==undefined){break s;}ba=az;bb=HM(ba);bc=ba.size;if(bc===(4)){(bb).$set(($fround(ax)));}else if(bc===(8)){(bb).$set(ax);}$s=-1;return new Q.ptr(ba,bb,(((aw|128)>>>0)|((ba.Kind()>>>0)))>>>0);}return;}var $f={$blk:BC,$c:true,$r,aw,ax,ay,az,ba,bb,bc,$s};return $f;};BD=function(aw,ax,ay){var{aw,ax,ay,az,ba,bb,$s,$r,$c}=$restore(this,{aw,ax,ay});$s=$s||0;s:while(true){switch($s){case 0:az=ay.common();$s=1;case 1:if($c){$c=false;az=az.$blk();}if(az&&az.$blk!==undefined){break s;}ba=az;bb=HM(ba);(bb).$set(ax);$s=-1;return new Q.ptr(ba,bb,(((aw|128)>>>0)|((ba.Kind()>>>0)))>>>0);}return;}var $f={$blk:BD,$c:true,$r,aw,ax,ay,az,ba,bb,$s};return $f;};BE=function(aw,ax,ay){var{aw,ax,ay,az,ba,bb,bc,$s,$r,$c}=$restore(this,{aw,ax,ay});$s=$s||0;s:while(true){switch($s){case 0:az=ay.common();$s=1;case 1:if($c){$c=false;az=az.$blk();}if(az&&az.$blk!==undefined){break s;}ba=az;bb=HM(ba);bc=ba.size;if(bc===(8)){(bb).$set((new $Complex64(ax.$real,ax.$imag)));}else if(bc===(16)){(bb).$set(ax);}$s=-1;return new Q.ptr(ba,bb,(((aw|128)>>>0)|((ba.Kind()>>>0)))>>>0);}return;}var $f={$blk:BE,$c:true,$r,aw,ax,ay,az,ba,bb,bc,$s};return $f;};BF=function(aw,ax,ay){var{aw,ax,ay,az,ba,$s,$r,$c}=$restore(this,{aw,ax,ay});$s=$s||0;s:while(true){switch($s){case 0:az=$clone(GH(ay),Q).Elem();$s=1;case 1:if($c){$c=false;az=az.$blk();}if(az&&az.$blk!==undefined){break s;}ba=az;$clone(ba,Q).SetString(ax);ba.flag=(((ba.flag&~256)>>>0)|aw)>>>0;$s=-1;return ba;}return;}var $f={$blk:BF,$c:true,$r,aw,ax,ay,az,ba,$s};return $f;};BG=function(aw,ax,ay){var{aw,ax,ay,az,ba,$s,$r,$c}=$restore(this,{aw,ax,ay});$s=$s||0;s:while(true){switch($s){case 0:az=$clone(GH(ay),Q).Elem();$s=1;case 1:if($c){$c=false;az=az.$blk();}if(az&&az.$blk!==undefined){break s;}ba=az;$r=$clone(ba,Q).SetBytes(ax);$s=2;case 2:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}ba.flag=(((ba.flag&~256)>>>0)|aw)>>>0;$s=-1;return ba;}return;}var $f={$blk:BG,$c:true,$r,aw,ax,ay,az,ba,$s};return $f;};BH=function(aw,ax,ay){var{aw,ax,ay,az,ba,$s,$r,$c}=$restore(this,{aw,ax,ay});$s=$s||0;s:while(true){switch($s){case 0:az=$clone(GH(ay),Q).Elem();$s=1;case 1:if($c){$c=false;az=az.$blk();}if(az&&az.$blk!==undefined){break s;}ba=az;$r=$clone(ba,Q).setRunes(ax);$s=2;case 2:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}ba.flag=(((ba.flag&~256)>>>0)|aw)>>>0;$s=-1;return ba;}return;}var $f={$blk:BH,$c:true,$r,aw,ax,ay,az,ba,$s};return $f;};BI=function(aw,ax){var{aw,ax,ay,az,ba,$s,$r,$c}=$restore(this,{aw,ax});$s=$s||0;s:while(true){switch($s){case 0:az=HN(new R(aw.flag).ro(),((ay=$clone(aw,Q).Int(),new $Uint64(ay.$high,ay.$low))),ax);$s=1;case 1:if($c){$c=false;az=az.$blk();}if(az&&az.$blk!==undefined){break s;}ba=az;$s=2;case 2:return ba;}return;}var $f={$blk:BI,$c:true,$r,aw,ax,ay,az,ba,$s};return $f;};BJ=function(aw,ax){var{aw,ax,ay,az,$s,$r,$c}=$restore(this,{aw,ax});$s=$s||0;s:while(true){switch($s){case 0:ay=HN(new R(aw.flag).ro(),$clone(aw,Q).Uint(),ax);$s=1;case 1:if($c){$c=false;ay=ay.$blk();}if(ay&&ay.$blk!==undefined){break s;}az=ay;$s=2;case 2:return az;}return;}var $f={$blk:BJ,$c:true,$r,aw,ax,ay,az,$s};return $f;};BK=function(aw,ax){var{aw,ax,ay,az,ba,$s,$r,$c}=$restore(this,{aw,ax});$s=$s||0;s:while(true){switch($s){case 0:az=HN(new R(aw.flag).ro(),((ay=(new $Int64(0,$clone(aw,Q).Float())),new $Uint64(ay.$high,ay.$low))),ax);$s=1;case 1:if($c){$c=false;az=az.$blk();}if(az&&az.$blk!==undefined){break s;}ba=az;$s=2;case 2:return ba;}return;}var $f={$blk:BK,$c:true,$r,aw,ax,ay,az,ba,$s};return $f;};BL=function(aw,ax){var{aw,ax,ay,az,$s,$r,$c}=$restore(this,{aw,ax});$s=$s||0;s:while(true){switch($s){case 0:ay=HN(new R(aw.flag).ro(),(new $Uint64(0,$clone(aw,Q).Float())),ax);$s=1;case 1:if($c){$c=false;ay=ay.$blk();}if(ay&&ay.$blk!==undefined){break s;}az=ay;$s=2;case 2:return az;}return;}var $f={$blk:BL,$c:true,$r,aw,ax,ay,az,$s};return $f;};BM=function(aw,ax){var{aw,ax,ay,az,$s,$r,$c}=$restore(this,{aw,ax});$s=$s||0;s:while(true){switch($s){case 0:ay=BC(new R(aw.flag).ro(),($flatten64($clone(aw,Q).Int())),ax);$s=1;case 1:if($c){$c=false;ay=ay.$blk();}if(ay&&ay.$blk!==undefined){break s;}az=ay;$s=2;case 2:return az;}return;}var $f={$blk:BM,$c:true,$r,aw,ax,ay,az,$s};return $f;};BN=function(aw,ax){var{aw,ax,ay,az,$s,$r,$c}=$restore(this,{aw,ax});$s=$s||0;s:while(true){switch($s){case 0:ay=BC(new R(aw.flag).ro(),($flatten64($clone(aw,Q).Uint())),ax);$s=1;case 1:if($c){$c=false;ay=ay.$blk();}if(ay&&ay.$blk!==undefined){break s;}az=ay;$s=2;case 2:return az;}return;}var $f={$blk:BN,$c:true,$r,aw,ax,ay,az,$s};return $f;};BO=function(aw,ax){var{aw,ax,ay,az,ba,bb,bc,bd,be,$s,$r,$c}=$restore(this,{aw,ax});$s=$s||0;s:while(true){switch($s){case 0:az=$clone(aw,Q).Type().Kind();$s=4;case 4:if($c){$c=false;az=az.$blk();}if(az&&az.$blk!==undefined){break s;}if(!(az===13)){ay=false;$s=3;continue s;}ba=ax.Kind();$s=5;case 5:if($c){$c=false;ba=ba.$blk();}if(ba&&ba.$blk!==undefined){break s;}ay=ba===13;case 3:if(ay){$s=1;continue;}$s=2;continue;case 1:bb=BD(new R(aw.flag).ro(),(aw.ptr).$get(),ax);$s=6;case 6:if($c){$c=false;bb=bb.$blk();}if(bb&&bb.$blk!==undefined){break s;}bc=bb;$s=7;case 7:return bc;case 2:bd=BC(new R(aw.flag).ro(),$clone(aw,Q).Float(),ax);$s=8;case 8:if($c){$c=false;bd=bd.$blk();}if(bd&&bd.$blk!==undefined){break s;}be=bd;$s=9;case 9:return be;}return;}var $f={$blk:BO,$c:true,$r,aw,ax,ay,az,ba,bb,bc,bd,be,$s};return $f;};BP=function(aw,ax){var{aw,ax,ay,az,$s,$r,$c}=$restore(this,{aw,ax});$s=$s||0;s:while(true){switch($s){case 0:ay=BE(new R(aw.flag).ro(),$clone(aw,Q).Complex(),ax);$s=1;case 1:if($c){$c=false;ay=ay.$blk();}if(ay&&ay.$blk!==undefined){break s;}az=ay;$s=2;case 2:return az;}return;}var $f={$blk:BP,$c:true,$r,aw,ax,ay,az,$s};return $f;};BQ=function(aw,ax){var{aw,ax,ay,az,ba,bb,bc,$s,$r,$c}=$restore(this,{aw,ax});$s=$s||0;s:while(true){switch($s){case 0:ay="\xEF\xBF\xBD";az=$clone(aw,Q).Int();if((ba=(new $Int64(0,(((az.$low+((az.$high>>31)*4294967296))>>0)))),(ba.$high===az.$high&&ba.$low===az.$low))){ay=($encodeRune((((az.$low+((az.$high>>31)*4294967296))>>0))));}bb=BF(new R(aw.flag).ro(),ay,ax);$s=1;case 1:if($c){$c=false;bb=bb.$blk();}if(bb&&bb.$blk!==undefined){break s;}bc=bb;$s=2;case 2:return bc;}return;}var $f={$blk:BQ,$c:true,$r,aw,ax,ay,az,ba,bb,bc,$s};return $f;};BR=function(aw,ax){var{aw,ax,ay,az,ba,bb,bc,$s,$r,$c}=$restore(this,{aw,ax});$s=$s||0;s:while(true){switch($s){case 0:ay="\xEF\xBF\xBD";az=$clone(aw,Q).Uint();if((ba=(new $Uint64(0,((az.$low>>0)))),(ba.$high===az.$high&&ba.$low===az.$low))){ay=($encodeRune(((az.$low>>0))));}bb=BF(new R(aw.flag).ro(),ay,ax);$s=1;case 1:if($c){$c=false;bb=bb.$blk();}if(bb&&bb.$blk!==undefined){break s;}bc=bb;$s=2;case 2:return bc;}return;}var $f={$blk:BR,$c:true,$r,aw,ax,ay,az,ba,bb,bc,$s};return $f;};BS=function(aw,ax){var{aw,ax,ay,az,ba,bb,bc,bd,$s,$r,$c}=$restore(this,{aw,ax});$s=$s||0;s:while(true){switch($s){case 0:ay=new R(aw.flag).ro();az=$clone(aw,Q).Bytes();$s=1;case 1:if($c){$c=false;az=az.$blk();}if(az&&az.$blk!==undefined){break s;}ba=($bytesToString(az));bb=ax;bc=BF(ay,ba,bb);$s=2;case 2:if($c){$c=false;bc=bc.$blk();}if(bc&&bc.$blk!==undefined){break s;}bd=bc;$s=3;case 3:return bd;}return;}var $f={$blk:BS,$c:true,$r,aw,ax,ay,az,ba,bb,bc,bd,$s};return $f;};BT=function(aw,ax){var{aw,ax,ay,az,ba,bb,bc,bd,$s,$r,$c}=$restore(this,{aw,ax});$s=$s||0;s:while(true){switch($s){case 0:ay=new R(aw.flag).ro();az=$clone(aw,Q).String();$s=1;case 1:if($c){$c=false;az=az.$blk();}if(az&&az.$blk!==undefined){break s;}ba=(new JY($stringToBytes(az)));bb=ax;bc=BG(ay,ba,bb);$s=2;case 2:if($c){$c=false;bc=bc.$blk();}if(bc&&bc.$blk!==undefined){break s;}bd=bc;$s=3;case 3:return bd;}return;}var $f={$blk:BT,$c:true,$r,aw,ax,ay,az,ba,bb,bc,bd,$s};return $f;};BU=function(aw,ax){var{aw,ax,ay,az,ba,bb,bc,bd,$s,$r,$c}=$restore(this,{aw,ax});$s=$s||0;s:while(true){switch($s){case 0:ay=new R(aw.flag).ro();az=$clone(aw,Q).runes();$s=1;case 1:if($c){$c=false;az=az.$blk();}if(az&&az.$blk!==undefined){break s;}ba=($runesToString(az));bb=ax;bc=BF(ay,ba,bb);$s=2;case 2:if($c){$c=false;bc=bc.$blk();}if(bc&&bc.$blk!==undefined){break s;}bd=bc;$s=3;case 3:return bd;}return;}var $f={$blk:BU,$c:true,$r,aw,ax,ay,az,ba,bb,bc,bd,$s};return $f;};BV=function(aw,ax){var{aw,ax,ay,az,ba,bb,bc,bd,$s,$r,$c}=$restore(this,{aw,ax});$s=$s||0;s:while(true){switch($s){case 0:ay=new R(aw.flag).ro();az=$clone(aw,Q).String();$s=1;case 1:if($c){$c=false;az=az.$blk();}if(az&&az.$blk!==undefined){break s;}ba=(new JZ($stringToRunes(az)));bb=ax;bc=BH(ay,ba,bb);$s=2;case 2:if($c){$c=false;bc=bc.$blk();}if(bc&&bc.$blk!==undefined){break s;}bd=bc;$s=3;case 3:return bd;}return;}var $f={$blk:BV,$c:true,$r,aw,ax,ay,az,ba,bb,bc,bd,$s};return $f;};BW=function(aw,ax){var{aw,ax,ay,az,ba,bb,bc,bd,be,bf,$s,$r,$c}=$restore(this,{aw,ax});$s=$s||0;s:while(true){switch($s){case 0:ay=ax.common();$s=1;case 1:if($c){$c=false;ay=ay.$blk();}if(ay&&ay.$blk!==undefined){break s;}az=HM(ay);$s=2;case 2:if($c){$c=false;az=az.$blk();}if(az&&az.$blk!==undefined){break s;}ba=az;bb=IK($clone(aw,Q),false);$s=3;case 3:if($c){$c=false;bb=bb.$blk();}if(bb&&bb.$blk!==undefined){break s;}bc=bb;bd=ax.NumMethod();$s=7;case 7:if($c){$c=false;bd=bd.$blk();}if(bd&&bd.$blk!==undefined){break s;}if(bd===0){$s=4;continue;}$s=5;continue;case 4:(ba).$set(bc);$s=6;continue;case 5:IL($assertType(ax,JE),bc,ba);case 6:be=ax.common();$s=8;case 8:if($c){$c=false;be=be.$blk();}if(be&&be.$blk!==undefined){break s;}bf=new Q.ptr(be,ba,(((new R(aw.flag).ro()|128)>>>0)|20)>>>0);$s=9;case 9:return bf;}return;}var $f={$blk:BW,$c:true,$r,aw,ax,ay,az,ba,bb,bc,bd,be,bf,$s};return $f;};BX=function(aw,ax){var{aw,ax,ay,az,ba,bb,bc,$s,$r,$c}=$restore(this,{aw,ax});$s=$s||0;s:while(true){switch($s){case 0:if($clone(aw,Q).IsNil()){$s=1;continue;}$s=2;continue;case 1:ay=HL(ax);$s=3;case 3:if($c){$c=false;ay=ay.$blk();}if(ay&&ay.$blk!==undefined){break s;}az=ay;az.flag=(az.flag|(new R(aw.flag).ro()))>>>0;$s=-1;return az;case 2:ba=$clone(aw,Q).Elem();$s=4;case 4:if($c){$c=false;ba=ba.$blk();}if(ba&&ba.$blk!==undefined){break s;}bb=BW($clone(ba,Q),ax);$s=5;case 5:if($c){$c=false;bb=bb.$blk();}if(bb&&bb.$blk!==undefined){break s;}bc=bb;$s=6;case 6:return bc;}return;}var $f={$blk:BX,$c:true,$r,aw,ax,ay,az,ba,bb,bc,$s};return $f;};CX.ptr.prototype.offset=function(){var aw;aw=this;return aw.offsetEmbed>>>1>>>0;};CX.prototype.offset=function(){return this.$val.offset();};CX.ptr.prototype.embedded=function(){var aw;aw=this;return!((((aw.offsetEmbed&1)>>>0)===0));};CX.prototype.embedded=function(){return this.$val.embedded();};DA.ptr.prototype.IsExported=function(){var aw;aw=this;return aw.PkgPath==="";};DA.prototype.IsExported=function(){return this.$val.IsExported();};CL.prototype.String=function(){var aw;aw=this.$val;if(((aw>>0))=DB.$length)?($throwRuntimeError("index out of range"),undefined):DB.$array[DB.$offset+aw]);}return"kind"+H.Itoa(((aw>>0)));};$ptrType(CL).prototype.String=function(){return new CL(this.$get()).String();};CN.ptr.prototype.String=function(){var aw,ax;aw=this;ax=$clone(aw.nameOff(aw.str),GO).name();if(!((((aw.tflag&2)>>>0)===0))){return $substring(ax,1);}return ax;};CN.prototype.String=function(){return this.$val.String();};CN.ptr.prototype.Size=function(){var aw;aw=this;return aw.size;};CN.prototype.Size=function(){return this.$val.Size();};CN.ptr.prototype.Bits=function(){var aw,ax;aw=this;if(aw===JE.nil){$panic(new $String("reflect: Bits of nil Type"));}ax=aw.Kind();if(ax<2||ax>16){$panic(new $String("reflect: Bits of non-arithmetic Type "+aw.String()));}return $imul(((aw.size>>0)),8);};CN.prototype.Bits=function(){return this.$val.Bits();};CN.ptr.prototype.Align=function(){var aw;aw=this;return((aw.align>>0));};CN.prototype.Align=function(){return this.$val.Align();};CN.ptr.prototype.FieldAlign=function(){var aw;aw=this;return((aw.fieldAlign>>0));};CN.prototype.FieldAlign=function(){return this.$val.FieldAlign();};CN.ptr.prototype.Kind=function(){var aw;aw=this;return((((aw.kind&31)>>>0)>>>0));};CN.prototype.Kind=function(){return this.$val.Kind();};CN.ptr.prototype.common=function(){var aw;aw=this;return aw;};CN.prototype.common=function(){return this.$val.common();};CN.ptr.prototype.exportedMethods=function(){var aw,ax;aw=this;ax=aw.uncommon();if(ax===KA.nil){return KB.nil;}return ax.exportedMethods();};CN.prototype.exportedMethods=function(){return this.$val.exportedMethods();};CN.ptr.prototype.NumMethod=function(){var aw,ax;aw=this;if(aw.Kind()===20){ax=(aw.kindType);return ax.NumMethod();}return aw.exportedMethods().$length;};CN.prototype.NumMethod=function(){return this.$val.NumMethod();};CN.ptr.prototype.MethodByName=function(aw){var{aw,ax,ay,az,ba,bb,bc,bd,be,bf,bg,bh,bi,bj,bk,bl,bm,bn,bo,$s,$r,$c}=$restore(this,{aw});$s=$s||0;s:while(true){switch($s){case 0:ax=new DA.ptr("","",$ifaceNil,new Q.ptr(JE.nil,0,0),0);ay=false;az=this;if(az.Kind()===20){ba=(az.kindType);bb=ba.MethodByName(aw);DA.copy(ax,bb[0]);ay=bb[1];$s=-1;return[ax,ay];}bc=az.uncommon();if(bc===KA.nil){bd=new DA.ptr("","",$ifaceNil,new Q.ptr(JE.nil,0,0),0);be=false;DA.copy(ax,bd);ay=be;$s=-1;return[ax,ay];}bf=bc.exportedMethods();bg=0;case 1:if(!(bg=bf.$length)?($throwRuntimeError("index out of range"),undefined):bf.$array[bf.$offset+bg]),CO);if($clone(az.nameOff(bi.name),GO).name()===aw){$s=3;continue;}$s=4;continue;case 3:bk=az.Method(bh);$s=5;case 5:if($c){$c=false;bk=bk.$blk();}if(bk&&bk.$blk!==undefined){break s;}bj=$clone(bk,DA);bl=true;DA.copy(ax,bj);ay=bl;bm=[ax,ay];$s=6;case 6:return bm;case 4:bg++;$s=1;continue;case 2:bn=new DA.ptr("","",$ifaceNil,new Q.ptr(JE.nil,0,0),0);bo=false;DA.copy(ax,bn);ay=bo;$s=-1;return[ax,ay];}return;}var $f={$blk:CN.ptr.prototype.MethodByName,$c:true,$r,aw,ax,ay,az,ba,bb,bc,bd,be,bf,bg,bh,bi,bj,bk,bl,bm,bn,bo,$s};return $f;};CN.prototype.MethodByName=function(aw){return this.$val.MethodByName(aw);};CN.ptr.prototype.PkgPath=function(){var aw,ax;aw=this;if(((aw.tflag&4)>>>0)===0){return"";}ax=aw.uncommon();if(ax===KA.nil){return"";}return $clone(aw.nameOff(ax.pkgPath),GO).name();};CN.prototype.PkgPath=function(){return this.$val.PkgPath();};CN.ptr.prototype.hasName=function(){var aw;aw=this;return!((((aw.tflag&4)>>>0)===0));};CN.prototype.hasName=function(){return this.$val.hasName();};CN.ptr.prototype.Name=function(){var aw,ax,ay,az,ba;aw=this;if(!aw.hasName()){return"";}ax=aw.String();ay=ax.length-1>>0;az=0;while(true){if(!(ay>=0&&(!((ax.charCodeAt(ay)===46))||!((az===0))))){break;}ba=ax.charCodeAt(ay);if(ba===(93)){az=az+(1)>>0;}else if(ba===(91)){az=az-(1)>>0;}ay=ay-(1)>>0;}return $substring(ax,(ay+1>>0));};CN.prototype.Name=function(){return this.$val.Name();};CN.ptr.prototype.ChanDir=function(){var aw,ax;aw=this;if(!((aw.Kind()===18))){$panic(new $String("reflect: ChanDir of non-chan type "+aw.String()));}ax=(aw.kindType);return((ax.dir>>0));};CN.prototype.ChanDir=function(){return this.$val.ChanDir();};CN.ptr.prototype.IsVariadic=function(){var aw,ax;aw=this;if(!((aw.Kind()===19))){$panic(new $String("reflect: IsVariadic of non-func type "+aw.String()));}ax=(aw.kindType);return!((((ax.outCount&32768)>>>0)===0));};CN.prototype.IsVariadic=function(){return this.$val.IsVariadic();};CN.ptr.prototype.Elem=function(){var aw,ax,ay,az,ba,bb,bc;aw=this;ax=aw.Kind();if(ax===(17)){ay=(aw.kindType);return EY(ay.elem);}else if(ax===(18)){az=(aw.kindType);return EY(az.elem);}else if(ax===(21)){ba=(aw.kindType);return EY(ba.elem);}else if(ax===(22)){bb=(aw.kindType);return EY(bb.elem);}else if(ax===(23)){bc=(aw.kindType);return EY(bc.elem);}$panic(new $String("reflect: Elem of invalid type "+aw.String()));};CN.prototype.Elem=function(){return this.$val.Elem();};CN.ptr.prototype.Field=function(aw){var aw,ax,ay;ax=this;if(!((ax.Kind()===25))){$panic(new $String("reflect: Field of non-struct type "+ax.String()));}ay=(ax.kindType);return ay.Field(aw);};CN.prototype.Field=function(aw){return this.$val.Field(aw);};CN.ptr.prototype.FieldByIndex=function(aw){var{aw,ax,ay,az,ba,$s,$r,$c}=$restore(this,{aw});$s=$s||0;s:while(true){switch($s){case 0:ax=this;if(!((ax.Kind()===25))){$panic(new $String("reflect: FieldByIndex of non-struct type "+ax.String()));}ay=(ax.kindType);az=ay.FieldByIndex(aw);$s=1;case 1:if($c){$c=false;az=az.$blk();}if(az&&az.$blk!==undefined){break s;}ba=az;$s=2;case 2:return ba;}return;}var $f={$blk:CN.ptr.prototype.FieldByIndex,$c:true,$r,aw,ax,ay,az,ba,$s};return $f;};CN.prototype.FieldByIndex=function(aw){return this.$val.FieldByIndex(aw);};CN.ptr.prototype.FieldByName=function(aw){var{aw,ax,ay,az,ba,$s,$r,$c}=$restore(this,{aw});$s=$s||0;s:while(true){switch($s){case 0:ax=this;if(!((ax.Kind()===25))){$panic(new $String("reflect: FieldByName of non-struct type "+ax.String()));}ay=(ax.kindType);az=ay.FieldByName(aw);$s=1;case 1:if($c){$c=false;az=az.$blk();}if(az&&az.$blk!==undefined){break s;}ba=az;$s=2;case 2:return ba;}return;}var $f={$blk:CN.ptr.prototype.FieldByName,$c:true,$r,aw,ax,ay,az,ba,$s};return $f;};CN.prototype.FieldByName=function(aw){return this.$val.FieldByName(aw);};CN.ptr.prototype.FieldByNameFunc=function(aw){var{aw,ax,ay,az,ba,$s,$r,$c}=$restore(this,{aw});$s=$s||0;s:while(true){switch($s){case 0:ax=this;if(!((ax.Kind()===25))){$panic(new $String("reflect: FieldByNameFunc of non-struct type "+ax.String()));}ay=(ax.kindType);az=ay.FieldByNameFunc(aw);$s=1;case 1:if($c){$c=false;az=az.$blk();}if(az&&az.$blk!==undefined){break s;}ba=az;$s=2;case 2:return ba;}return;}var $f={$blk:CN.ptr.prototype.FieldByNameFunc,$c:true,$r,aw,ax,ay,az,ba,$s};return $f;};CN.prototype.FieldByNameFunc=function(aw){return this.$val.FieldByNameFunc(aw);};CN.ptr.prototype.In=function(aw){var aw,ax,ay,az;ax=this;if(!((ax.Kind()===19))){$panic(new $String("reflect: In of non-func type "+ax.String()));}ay=(ax.kindType);return EY((az=ay.in$(),((aw<0||aw>=az.$length)?($throwRuntimeError("index out of range"),undefined):az.$array[az.$offset+aw])));};CN.prototype.In=function(aw){return this.$val.In(aw);};CN.ptr.prototype.Key=function(){var aw,ax;aw=this;if(!((aw.Kind()===21))){$panic(new $String("reflect: Key of non-map type "+aw.String()));}ax=(aw.kindType);return EY(ax.key);};CN.prototype.Key=function(){return this.$val.Key();};CN.ptr.prototype.Len=function(){var aw,ax;aw=this;if(!((aw.Kind()===17))){$panic(new $String("reflect: Len of non-array type "+aw.String()));}ax=(aw.kindType);return((ax.len>>0));};CN.prototype.Len=function(){return this.$val.Len();};CN.ptr.prototype.NumField=function(){var aw,ax;aw=this;if(!((aw.Kind()===25))){$panic(new $String("reflect: NumField of non-struct type "+aw.String()));}ax=(aw.kindType);return ax.fields.$length;};CN.prototype.NumField=function(){return this.$val.NumField();};CN.ptr.prototype.NumIn=function(){var aw,ax;aw=this;if(!((aw.Kind()===19))){$panic(new $String("reflect: NumIn of non-func type "+aw.String()));}ax=(aw.kindType);return((ax.inCount>>0));};CN.prototype.NumIn=function(){return this.$val.NumIn();};CN.ptr.prototype.NumOut=function(){var aw,ax;aw=this;if(!((aw.Kind()===19))){$panic(new $String("reflect: NumOut of non-func type "+aw.String()));}ax=(aw.kindType);return ax.out().$length;};CN.prototype.NumOut=function(){return this.$val.NumOut();};CN.ptr.prototype.Out=function(aw){var aw,ax,ay,az;ax=this;if(!((ax.Kind()===19))){$panic(new $String("reflect: Out of non-func type "+ax.String()));}ay=(ax.kindType);return EY((az=ay.out(),((aw<0||aw>=az.$length)?($throwRuntimeError("index out of range"),undefined):az.$array[az.$offset+aw])));};CN.prototype.Out=function(aw){return this.$val.Out(aw);};CP.prototype.String=function(){var aw,ax;aw=this.$val;ax=aw;if(ax===(2)){return"chan<-";}else if(ax===(1)){return"<-chan";}else if(ax===(3)){return"chan";}return"ChanDir"+H.Itoa(((aw>>0)));};$ptrType(CP).prototype.String=function(){return new CP(this.$get()).String();};CT.ptr.prototype.Method=function(aw){var aw,ax,ay,az,ba,bb;ax=new DA.ptr("","",$ifaceNil,new Q.ptr(JE.nil,0,0),0);ay=this;if(aw<0||aw>=ay.methods.$length){return ax;}ba=(az=ay.methods,((aw<0||aw>=az.$length)?($throwRuntimeError("index out of range"),undefined):az.$array[az.$offset+aw]));bb=$clone(ay.rtype.nameOff(ba.name),GO);ax.Name=$clone(bb,GO).name();if(!$clone(bb,GO).isExported()){ax.PkgPath=$clone(bb,GO).pkgPath();if(ax.PkgPath===""){ax.PkgPath=$clone(ay.pkgPath,GO).name();}}ax.Type=EY(ay.rtype.typeOff(ba.typ));ax.Index=aw;return ax;};CT.prototype.Method=function(aw){return this.$val.Method(aw);};CT.ptr.prototype.NumMethod=function(){var aw;aw=this;return aw.methods.$length;};CT.prototype.NumMethod=function(){return this.$val.NumMethod();};CT.ptr.prototype.MethodByName=function(aw){var aw,ax,ay,az,ba,bb,bc,bd,be,bf,bg;ax=new DA.ptr("","",$ifaceNil,new Q.ptr(JE.nil,0,0),0);ay=false;az=this;if(az===KC.nil){return[ax,ay];}ba=KD.nil;bb=az.methods;bc=0;while(true){if(!(bc=be.$length)?($throwRuntimeError("index out of range"),undefined):be.$array[be.$offset+bd]));if($clone(az.rtype.nameOff(ba.name),GO).name()===aw){bf=$clone(az.Method(bd),DA);bg=true;DA.copy(ax,bf);ay=bg;return[ax,ay];}bc++;}return[ax,ay];};CT.prototype.MethodByName=function(aw){return this.$val.MethodByName(aw);};DM.ptr.prototype.IsExported=function(){var aw;aw=this;return aw.PkgPath==="";};DM.prototype.IsExported=function(){return this.$val.IsExported();};DN.prototype.Get=function(aw){var aw,ax,ay,az;ax=this.$val;ay=new DN(ax).Lookup(aw);az=ay[0];return az;};$ptrType(DN).prototype.Get=function(aw){return new DN(this.$get()).Get(aw);};DN.prototype.Lookup=function(aw){var aw,ax,ay,az,ba,bb,bc,bd,be,bf,bg,bh,bi,bj;ax="";ay=false;az=this.$val;while(true){if(!(!(az===""))){break;}ba=0;while(true){if(!(ba>0;}az=$substring(az,ba);if(az===""){break;}ba=0;while(true){if(!(ba32&&!((az.charCodeAt(ba)===58))&&!((az.charCodeAt(ba)===34))&&!((az.charCodeAt(ba)===127)))){break;}ba=ba+(1)>>0;}if((ba===0)||(ba+1>>0)>=az.length||!((az.charCodeAt(ba)===58))||!((az.charCodeAt((ba+1>>0))===34))){break;}bb=($substring(az,0,ba));az=$substring(az,(ba+1>>0));ba=1;while(true){if(!(ba>0;}ba=ba+(1)>>0;}if(ba>=az.length){break;}bc=($substring(az,0,(ba+1>>0)));az=$substring(az,(ba+1>>0));if(aw===bb){bd=H.Unquote(bc);be=bd[0];bf=bd[1];if(!($interfaceIsEqual(bf,$ifaceNil))){break;}bg=be;bh=true;ax=bg;ay=bh;return[ax,ay];}}bi="";bj=false;ax=bi;ay=bj;return[ax,ay];};$ptrType(DN).prototype.Lookup=function(aw){return new DN(this.$get()).Lookup(aw);};CY.ptr.prototype.Field=function(aw){var aw,ax,ay,az,ba,bb;ax=new DM.ptr("","",$ifaceNil,"",0,JL.nil,false);ay=this;if(aw<0||aw>=ay.fields.$length){$panic(new $String("reflect: Field index out of bounds"));}ba=(az=ay.fields,((aw<0||aw>=az.$length)?($throwRuntimeError("index out of range"),undefined):az.$array[az.$offset+aw]));ax.Type=EY(ba.typ);ax.Name=$clone(ba.name,GO).name();ax.Anonymous=ba.embedded();if(!$clone(ba.name,GO).isExported()){ax.PkgPath=$clone(ay.pkgPath,GO).name();}bb=$clone(ba.name,GO).tag();if(!(bb==="")){ax.Tag=(bb);}ax.Offset=ba.offset();ax.Index=new JL([aw]);return ax;};CY.prototype.Field=function(aw){return this.$val.Field(aw);};CY.ptr.prototype.FieldByIndex=function(aw){var{aw,ax,ay,az,ba,bb,bc,bd,be,bf,bg,bh,bi,bj,$s,$r,$c}=$restore(this,{aw});$s=$s||0;s:while(true){switch($s){case 0:ax=new DM.ptr("","",$ifaceNil,"",0,JL.nil,false);ay=this;ax.Type=EY(ay.rtype);az=aw;ba=0;case 1:if(!(ba=az.$length)?($throwRuntimeError("index out of range"),undefined):az.$array[az.$offset+ba]);if(bb>0){$s=3;continue;}$s=4;continue;case 3:bd=ax.Type;bf=bd.Kind();$s=8;case 8:if($c){$c=false;bf=bf.$blk();}if(bf&&bf.$blk!==undefined){break s;}if(!(bf===22)){be=false;$s=7;continue s;}bg=bd.Elem();$s=9;case 9:if($c){$c=false;bg=bg.$blk();}if(bg&&bg.$blk!==undefined){break s;}bh=bg.Kind();$s=10;case 10:if($c){$c=false;bh=bh.$blk();}if(bh&&bh.$blk!==undefined){break s;}be=bh===25;case 7:if(be){$s=5;continue;}$s=6;continue;case 5:bi=bd.Elem();$s=11;case 11:if($c){$c=false;bi=bi.$blk();}if(bi&&bi.$blk!==undefined){break s;}bd=bi;case 6:ax.Type=bd;case 4:bj=ax.Type.Field(bc);$s=12;case 12:if($c){$c=false;bj=bj.$blk();}if(bj&&bj.$blk!==undefined){break s;}DM.copy(ax,bj);ba++;$s=1;continue;case 2:$s=-1;return ax;}return;}var $f={$blk:CY.ptr.prototype.FieldByIndex,$c:true,$r,aw,ax,ay,az,ba,bb,bc,bd,be,bf,bg,bh,bi,bj,$s};return $f;};CY.prototype.FieldByIndex=function(aw){return this.$val.FieldByIndex(aw);};CY.ptr.prototype.FieldByNameFunc=function(aw){var{aw,ax,ay,az,ba,bb,bc,bd,be,bf,bg,bh,bi,bj,bk,bl,bm,bn,bo,bp,bq,br,bs,bt,bu,bv,bw,bx,by,bz,ca,cb,cc,cd,ce,cf,$s,$r,$c}=$restore(this,{aw});$s=$s||0;s:while(true){switch($s){case 0:ax=new DM.ptr("","",$ifaceNil,"",0,JL.nil,false);ay=false;az=this;ba=new KE([]);bb=new KE([new DO.ptr(az,JL.nil)]);bc=false;bd=$makeMap(KF.keyFor,[]);case 1:if(!(bb.$length>0)){$s=2;continue;}be=bb;bf=$subslice(ba,0,0);ba=be;bb=bf;bg=bc;bc=false;bh=ba;bi=0;case 3:if(!(bi=bh.$length)?($throwRuntimeError("index out of range"),undefined):bh.$array[bh.$offset+bi]),DO);bk=bj.typ;if((bl=bd[KF.keyFor(bk)],bl!==undefined?bl.v:false)){bi++;$s=3;continue;}bm=bk;(bd||$throwRuntimeError("assignment to entry in nil map"))[KF.keyFor(bm)]={k:bm,v:true};bn=bk.fields;bo=0;case 5:if(!(bo=bq.$length)?($throwRuntimeError("index out of range"),undefined):bq.$array[bq.$offset+bp]));bs=$clone(br.name,GO).name();bt=JE.nil;if(br.embedded()){$s=7;continue;}$s=8;continue;case 7:bt=br.typ;if(bt.Kind()===22){$s=9;continue;}$s=10;continue;case 9:bu=bt.Elem().common();$s=11;case 11:if($c){$c=false;bu=bu.$blk();}if(bu&&bu.$blk!==undefined){break s;}bt=bu;case 10:case 8:bv=aw(bs);$s=14;case 14:if($c){$c=false;bv=bv.$blk();}if(bv&&bv.$blk!==undefined){break s;}if(bv){$s=12;continue;}$s=13;continue;case 12:if((bw=bg[KF.keyFor(bk)],bw!==undefined?bw.v:0)>1||ay){bx=new DM.ptr("","",$ifaceNil,"",0,JL.nil,false);by=false;DM.copy(ax,bx);ay=by;$s=-1;return[ax,ay];}DM.copy(ax,bk.Field(bp));ax.Index=JL.nil;ax.Index=$appendSlice(ax.Index,bj.index);ax.Index=$append(ax.Index,bp);ay=true;bo++;$s=5;continue;case 13:if(ay||bt===JE.nil||!((bt.Kind()===25))){bo++;$s=5;continue;}bz=(bt.kindType);if((ca=bc[KF.keyFor(bz)],ca!==undefined?ca.v:0)>0){cb=bz;(bc||$throwRuntimeError("assignment to entry in nil map"))[KF.keyFor(cb)]={k:cb,v:2};bo++;$s=5;continue;}if(bc===false){bc=$makeMap(KF.keyFor,[]);}cc=bz;(bc||$throwRuntimeError("assignment to entry in nil map"))[KF.keyFor(cc)]={k:cc,v:1};if((cd=bg[KF.keyFor(bk)],cd!==undefined?cd.v:0)>1){ce=bz;(bc||$throwRuntimeError("assignment to entry in nil map"))[KF.keyFor(ce)]={k:ce,v:2};}cf=JL.nil;cf=$appendSlice(cf,bj.index);cf=$append(cf,bp);bb=$append(bb,new DO.ptr(bz,cf));bo++;$s=5;continue;case 6:bi++;$s=3;continue;case 4:if(ay){$s=2;continue;}$s=1;continue;case 2:$s=-1;return[ax,ay];}return;}var $f={$blk:CY.ptr.prototype.FieldByNameFunc,$c:true,$r,aw,ax,ay,az,ba,bb,bc,bd,be,bf,bg,bh,bi,bj,bk,bl,bm,bn,bo,bp,bq,br,bs,bt,bu,bv,bw,bx,by,bz,ca,cb,cc,cd,ce,cf,$s};return $f;};CY.prototype.FieldByNameFunc=function(aw){return this.$val.FieldByNameFunc(aw);};CY.ptr.prototype.FieldByName=function(aw){var{aw,ax,ay,az,ba,bb,bc,bd,be,bf,bg,bh,bi,bj,bk,$s,$r,$c}=$restore(this,{aw});$s=$s||0;s:while(true){switch($s){case 0:aw=[aw];ax=new DM.ptr("","",$ifaceNil,"",0,JL.nil,false);ay=false;az=this;ba=false;if(!(aw[0]==="")){bb=az.fields;bc=0;while(true){if(!(bc=be.$length)?($throwRuntimeError("index out of range"),undefined):be.$array[be.$offset+bd]));if($clone(bf.name,GO).name()===aw[0]){bg=$clone(az.Field(bd),DM);bh=true;DM.copy(ax,bg);ay=bh;$s=-1;return[ax,ay];}if(bf.embedded()){ba=true;}bc++;}}if(!ba){$s=-1;return[ax,ay];}bj=az.FieldByNameFunc((function(aw){return function(bj){var bj;return bj===aw[0];};})(aw));$s=1;case 1:if($c){$c=false;bj=bj.$blk();}if(bj&&bj.$blk!==undefined){break s;}bi=bj;DM.copy(ax,bi[0]);ay=bi[1];bk=[ax,ay];$s=2;case 2:return bk;}return;}var $f={$blk:CY.ptr.prototype.FieldByName,$c:true,$r,aw,ax,ay,az,ba,bb,bc,bd,be,bf,bg,bh,bi,bj,bk,$s};return $f;};CY.prototype.FieldByName=function(aw){return this.$val.FieldByName(aw);};DQ=function(aw){var aw;return DR(aw);};$pkg.PtrTo=DQ;DR=function(aw){var aw;return $assertType(aw,JE).ptrTo();};$pkg.PointerTo=DR;CN.ptr.prototype.Implements=function(aw){var{aw,ax,ay,$s,$r,$c}=$restore(this,{aw});$s=$s||0;s:while(true){switch($s){case 0:ax=this;if($interfaceIsEqual(aw,$ifaceNil)){$panic(new $String("reflect: nil type passed to Type.Implements"));}ay=aw.Kind();$s=3;case 3:if($c){$c=false;ay=ay.$blk();}if(ay&&ay.$blk!==undefined){break s;}if(!((ay===20))){$s=1;continue;}$s=2;continue;case 1:$panic(new $String("reflect: non-interface type passed to Type.Implements"));case 2:$s=-1;return DT($assertType(aw,JE),ax);}return;}var $f={$blk:CN.ptr.prototype.Implements,$c:true,$r,aw,ax,ay,$s};return $f;};CN.prototype.Implements=function(aw){return this.$val.Implements(aw);};CN.ptr.prototype.AssignableTo=function(aw){var{aw,ax,ay,az,ba,$s,$r,$c}=$restore(this,{aw});$s=$s||0;s:while(true){switch($s){case 0:ax=this;if($interfaceIsEqual(aw,$ifaceNil)){$panic(new $String("reflect: nil type passed to Type.AssignableTo"));}ay=$assertType(aw,JE);az=DV(ay,ax);$s=1;case 1:if($c){$c=false;az=az.$blk();}if(az&&az.$blk!==undefined){break s;}ba=az||DT(ay,ax);$s=2;case 2:return ba;}return;}var $f={$blk:CN.ptr.prototype.AssignableTo,$c:true,$r,aw,ax,ay,az,ba,$s};return $f;};CN.prototype.AssignableTo=function(aw){return this.$val.AssignableTo(aw);};CN.ptr.prototype.ConvertibleTo=function(aw){var{aw,ax,ay,az,ba,$s,$r,$c}=$restore(this,{aw});$s=$s||0;s:while(true){switch($s){case 0:ax=this;if($interfaceIsEqual(aw,$ifaceNil)){$panic(new $String("reflect: nil type passed to Type.ConvertibleTo"));}ay=$assertType(aw,JE);az=BB(ay,ax);$s=1;case 1:if($c){$c=false;az=az.$blk();}if(az&&az.$blk!==undefined){break s;}ba=!(az===$throwNilPointerError);$s=2;case 2:return ba;}return;}var $f={$blk:CN.ptr.prototype.ConvertibleTo,$c:true,$r,aw,ax,ay,az,ba,$s};return $f;};CN.prototype.ConvertibleTo=function(aw){return this.$val.ConvertibleTo(aw);};DT=function(aw,ax){var aw,ax,ay,az,ba,bb,bc,bd,be,bf,bg,bh,bi,bj,bk,bl,bm,bn,bo,bp,bq,br,bs,bt,bu;if(!((aw.Kind()===20))){return false;}ay=(aw.kindType);if(ay.methods.$length===0){return true;}if(ax.Kind()===20){az=(ax.kindType);ba=0;bb=0;while(true){if(!(bb=bc.$length)?($throwRuntimeError("index out of range"),undefined):bc.$array[bc.$offset+ba]));be=$clone(ay.rtype.nameOff(bd.name),GO);bg=(bf=az.methods,((bb<0||bb>=bf.$length)?($throwRuntimeError("index out of range"),undefined):bf.$array[bf.$offset+bb]));bh=$clone(ax.nameOff(bg.name),GO);if($clone(bh,GO).name()===$clone(be,GO).name()&&ax.typeOff(bg.typ)===ay.rtype.typeOff(bd.typ)){if(!$clone(be,GO).isExported()){bi=$clone(be,GO).pkgPath();if(bi===""){bi=$clone(ay.pkgPath,GO).name();}bj=$clone(bh,GO).pkgPath();if(bj===""){bj=$clone(az.pkgPath,GO).name();}if(!(bi===bj)){bb=bb+(1)>>0;continue;}}ba=ba+(1)>>0;if(ba>=ay.methods.$length){return true;}}bb=bb+(1)>>0;}return false;}bk=ax.uncommon();if(bk===KA.nil){return false;}bl=0;bm=bk.methods();bn=0;while(true){if(!(bn<((bk.mcount>>0)))){break;}bp=(bo=ay.methods,((bl<0||bl>=bo.$length)?($throwRuntimeError("index out of range"),undefined):bo.$array[bo.$offset+bl]));bq=$clone(ay.rtype.nameOff(bp.name),GO);br=$clone(((bn<0||bn>=bm.$length)?($throwRuntimeError("index out of range"),undefined):bm.$array[bm.$offset+bn]),CO);bs=$clone(ax.nameOff(br.name),GO);if($clone(bs,GO).name()===$clone(bq,GO).name()&&ax.typeOff(br.mtyp)===ay.rtype.typeOff(bp.typ)){if(!$clone(bq,GO).isExported()){bt=$clone(bq,GO).pkgPath();if(bt===""){bt=$clone(ay.pkgPath,GO).name();}bu=$clone(bs,GO).pkgPath();if(bu===""){bu=$clone(ax.nameOff(bk.pkgPath),GO).name();}if(!(bt===bu)){bn=bn+(1)>>0;continue;}}bl=bl+(1)>>0;if(bl>=ay.methods.$length){return true;}}bn=bn+(1)>>0;}return false;};DU=function(aw,ax){var{aw,ax,ay,az,ba,$s,$r,$c}=$restore(this,{aw,ax});$s=$s||0;s:while(true){switch($s){case 0:if(!((ax.ChanDir()===3)&&(aw.Name()===""||ax.Name()===""))){ay=false;$s=1;continue s;}az=DW(aw.Elem(),ax.Elem(),true);$s=2;case 2:if($c){$c=false;az=az.$blk();}if(az&&az.$blk!==undefined){break s;}ay=az;case 1:ba=ay;$s=3;case 3:return ba;}return;}var $f={$blk:DU,$c:true,$r,aw,ax,ay,az,ba,$s};return $f;};DV=function(aw,ax){var{aw,ax,ay,az,ba,bb,$s,$r,$c}=$restore(this,{aw,ax});$s=$s||0;s:while(true){switch($s){case 0:if(aw===ax){$s=-1;return true;}if(aw.hasName()&&ax.hasName()||!((aw.Kind()===ax.Kind()))){$s=-1;return false;}if(!(aw.Kind()===18)){ay=false;$s=3;continue s;}az=DU(aw,ax);$s=4;case 4:if($c){$c=false;az=az.$blk();}if(az&&az.$blk!==undefined){break s;}ay=az;case 3:if(ay){$s=1;continue;}$s=2;continue;case 1:$s=-1;return true;case 2:ba=DX(aw,ax,true);$s=5;case 5:if($c){$c=false;ba=ba.$blk();}if(ba&&ba.$blk!==undefined){break s;}bb=ba;$s=6;case 6:return bb;}return;}var $f={$blk:DV,$c:true,$r,aw,ax,ay,az,ba,bb,$s};return $f;};DW=function(aw,ax,ay){var{aw,ax,ay,az,ba,bb,bc,bd,be,bf,bg,bh,bi,bj,bk,bl,bm,$s,$r,$c}=$restore(this,{aw,ax,ay});$s=$s||0;s:while(true){switch($s){case 0:if(ay){$s=-1;return $interfaceIsEqual(aw,ax);}bb=aw.Name();$s=5;case 5:if($c){$c=false;bb=bb.$blk();}if(bb&&bb.$blk!==undefined){break s;}bc=ax.Name();$s=6;case 6:if($c){$c=false;bc=bc.$blk();}if(bc&&bc.$blk!==undefined){break s;}if(!(bb===bc)){ba=true;$s=4;continue s;}bd=aw.Kind();$s=7;case 7:if($c){$c=false;bd=bd.$blk();}if(bd&&bd.$blk!==undefined){break s;}be=ax.Kind();$s=8;case 8:if($c){$c=false;be=be.$blk();}if(be&&be.$blk!==undefined){break s;}ba=!((bd===be));case 4:if(ba){az=true;$s=3;continue s;}bf=aw.PkgPath();$s=9;case 9:if($c){$c=false;bf=bf.$blk();}if(bf&&bf.$blk!==undefined){break s;}bg=ax.PkgPath();$s=10;case 10:if($c){$c=false;bg=bg.$blk();}if(bg&&bg.$blk!==undefined){break s;}az=!(bf===bg);case 3:if(az){$s=1;continue;}$s=2;continue;case 1:$s=-1;return false;case 2:bh=aw.common();$s=11;case 11:if($c){$c=false;bh=bh.$blk();}if(bh&&bh.$blk!==undefined){break s;}bi=bh;bj=ax.common();$s=12;case 12:if($c){$c=false;bj=bj.$blk();}if(bj&&bj.$blk!==undefined){break s;}bk=bj;bl=DX(bi,bk,false);$s=13;case 13:if($c){$c=false;bl=bl.$blk();}if(bl&&bl.$blk!==undefined){break s;}bm=bl;$s=14;case 14:return bm;}return;}var $f={$blk:DW,$c:true,$r,aw,ax,ay,az,ba,bb,bc,bd,be,bf,bg,bh,bi,bj,bk,bl,bm,$s};return $f;};DX=function(aw,ax,ay){var{aw,ax,ay,az,ba,bb,bc,bd,be,bf,bg,bh,bi,bj,bk,bl,bm,bn,bo,bp,bq,br,bs,bt,bu,bv,bw,bx,by,bz,ca,cb,cc,cd,ce,$s,$r,$c}=$restore(this,{aw,ax,ay});$s=$s||0;s:while(true){switch($s){case 0:if(aw===ax){$s=-1;return true;}az=aw.Kind();if(!((az===ax.Kind()))){$s=-1;return false;}if(1<=az&&az<=16||(az===24)||(az===26)){$s=-1;return true;}ba=az;if(ba===(17)){$s=2;continue;}if(ba===(18)){$s=3;continue;}if(ba===(19)){$s=4;continue;}if(ba===(20)){$s=5;continue;}if(ba===(21)){$s=6;continue;}if((ba===(22))||(ba===(23))){$s=7;continue;}if(ba===(25)){$s=8;continue;}$s=9;continue;case 2:if(!(aw.Len()===ax.Len())){bb=false;$s=10;continue s;}bc=DW(aw.Elem(),ax.Elem(),ay);$s=11;case 11:if($c){$c=false;bc=bc.$blk();}if(bc&&bc.$blk!==undefined){break s;}bb=bc;case 10:bd=bb;$s=12;case 12:return bd;case 3:if(!(ax.ChanDir()===aw.ChanDir())){be=false;$s=13;continue s;}bf=DW(aw.Elem(),ax.Elem(),ay);$s=14;case 14:if($c){$c=false;bf=bf.$blk();}if(bf&&bf.$blk!==undefined){break s;}be=bf;case 13:bg=be;$s=15;case 15:return bg;case 4:bh=(aw.kindType);bi=(ax.kindType);if(!((bh.outCount===bi.outCount))||!((bh.inCount===bi.inCount))){$s=-1;return false;}bj=0;case 16:if(!(bj>0;$s=16;continue;case 17:bl=0;case 21:if(!(bl>0;$s=21;continue;case 22:$s=-1;return true;case 5:bn=(aw.kindType);bo=(ax.kindType);if((bn.methods.$length===0)&&(bo.methods.$length===0)){$s=-1;return true;}$s=-1;return false;case 6:bq=DW(aw.Key(),ax.Key(),ay);$s=27;case 27:if($c){$c=false;bq=bq.$blk();}if(bq&&bq.$blk!==undefined){break s;}if(!(bq)){bp=false;$s=26;continue s;}br=DW(aw.Elem(),ax.Elem(),ay);$s=28;case 28:if($c){$c=false;br=br.$blk();}if(br&&br.$blk!==undefined){break s;}bp=br;case 26:bs=bp;$s=29;case 29:return bs;case 7:bt=DW(aw.Elem(),ax.Elem(),ay);$s=30;case 30:if($c){$c=false;bt=bt.$blk();}if(bt&&bt.$blk!==undefined){break s;}bu=bt;$s=31;case 31:return bu;case 8:bv=(aw.kindType);bw=(ax.kindType);if(!((bv.fields.$length===bw.fields.$length))){$s=-1;return false;}if(!($clone(bv.pkgPath,GO).name()===$clone(bw.pkgPath,GO).name())){$s=-1;return false;}bx=bv.fields;by=0;case 32:if(!(by=ca.$length)?($throwRuntimeError("index out of range"),undefined):ca.$array[ca.$offset+bz]));cd=(cc=bw.fields,((bz<0||bz>=cc.$length)?($throwRuntimeError("index out of range"),undefined):cc.$array[cc.$offset+bz]));if(!($clone(cb.name,GO).name()===$clone(cd.name,GO).name())){$s=-1;return false;}ce=DW(cb.typ,cd.typ,ay);$s=36;case 36:if($c){$c=false;ce=ce.$blk();}if(ce&&ce.$blk!==undefined){break s;}if(!ce){$s=34;continue;}$s=35;continue;case 34:$s=-1;return false;case 35:if(ay&&!($clone(cb.name,GO).tag()===$clone(cd.name,GO).tag())){$s=-1;return false;}if(!((cb.offsetEmbed===cd.offsetEmbed))){$s=-1;return false;}by++;$s=32;continue;case 33:$s=-1;return true;case 9:case 1:$s=-1;return false;}return;}var $f={$blk:DX,$c:true,$r,aw,ax,ay,az,ba,bb,bc,bd,be,bf,bg,bh,bi,bj,bk,bl,bm,bn,bo,bp,bq,br,bs,bt,bu,bv,bw,bx,by,bz,ca,cb,cc,cd,ce,$s};return $f;};EY=function(aw){var aw;if(aw===JE.nil){return $ifaceNil;}return aw;};FD=function(aw){var aw;return((aw.kind&32)>>>0)===0;};FJ=function(){var{aw,ax,$s,$r,$c}=$restore(this,{});$s=$s||0;s:while(true){switch($s){case 0:aw=B.FuncPCABI0(new KK(FK));$s=1;case 1:if($c){$c=false;aw=aw.$blk();}if(aw&&aw.$blk!==undefined){break s;}ax=aw;$s=2;case 2:return ax;}return;}var $f={$blk:FJ,$c:true,$r,aw,ax,$s};return $f;};FK=function(){$throwRuntimeError("native function not implemented: reflect.methodValueCall");};GG=function(){var{aw,ax,ay,az,ba,bb,bc,bd,be,bf,bg,bh,bi,bj,$s,$r,$c}=$restore(this,{});$s=$s||0;s:while(true){switch($s){case 0:aw=(function(aw){var aw;});$r=aw((ax=new CN.ptr(0,0,0,0,0,0,0,$throwNilPointerError,KG.nil,0,0),new ax.constructor.elem(ax)));$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=aw((ay=new GL.ptr(0,0,0,0,KB.nil),new ay.constructor.elem(ay)));$s=2;case 2:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=aw((az=new CO.ptr(0,0,0,0),new az.constructor.elem(az)));$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=aw((ba=new CQ.ptr(new CN.ptr(0,0,0,0,0,0,0,$throwNilPointerError,KG.nil,0,0),JE.nil,JE.nil,0),new ba.constructor.elem(ba)));$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=aw((bb=new CR.ptr(new CN.ptr(0,0,0,0,0,0,0,$throwNilPointerError,KG.nil,0,0),JE.nil,0),new bb.constructor.elem(bb)));$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=aw((bc=new GN.ptr(new CN.ptr(0,0,0,0,0,0,0,$throwNilPointerError,KG.nil,0,0),0,0,JF.nil,JF.nil),new bc.constructor.elem(bc)));$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=aw((bd=new CT.ptr(new CN.ptr(0,0,0,0,0,0,0,$throwNilPointerError,KG.nil,0,0),new GO.ptr(KG.nil),KN.nil),new bd.constructor.elem(bd)));$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=aw((be=new CU.ptr(new CN.ptr(0,0,0,0,0,0,0,$throwNilPointerError,KG.nil,0,0),JE.nil,JE.nil,JE.nil,$throwNilPointerError,0,0,0,0),new be.constructor.elem(be)));$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=aw((bf=new CV.ptr(new CN.ptr(0,0,0,0,0,0,0,$throwNilPointerError,KG.nil,0,0),JE.nil),new bf.constructor.elem(bf)));$s=9;case 9:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=aw((bg=new CW.ptr(new CN.ptr(0,0,0,0,0,0,0,$throwNilPointerError,KG.nil,0,0),JE.nil),new bg.constructor.elem(bg)));$s=10;case 10:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=aw((bh=new CY.ptr(new CN.ptr(0,0,0,0,0,0,0,$throwNilPointerError,KG.nil,0,0),new GO.ptr(KG.nil),KO.nil),new bh.constructor.elem(bh)));$s=11;case 11:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=aw((bi=new CS.ptr(0,0),new bi.constructor.elem(bi)));$s=12;case 12:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=aw((bj=new CX.ptr(new GO.ptr(KG.nil),JE.nil,0),new bj.constructor.elem(bj)));$s=13;case 13:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}GF=true;AE=$assertType(HD(new $Uint8(0)),JE);$s=-1;return;}return;}var $f={$blk:GG,$c:true,$r,aw,ax,ay,az,ba,bb,bc,bd,be,bf,bg,bh,bi,bj,$s};return $f;};GH=function(aw){var aw,ax,ay,az,ba;if($interfaceIsEqual(aw,$ifaceNil)){$panic(new $String("reflect: New(nil)"));}ax=$assertType(aw,JE);ay=ax.ptrTo();az=HM(ax);ba=22;return new Q.ptr(ay,az,ba);};$pkg.New=GH;GI=function(aw){var aw;return aw.jsType;};GJ=function(aw){var aw,ax,ay,az,ba,bb,bc,bd,be,bf,bg,bh,bi,bj,bk,bl,bm,bn,bo,bp,bq,br,bs,bt,bu,bv,bw,bx,by,bz,ca,cb,cc,cd,ce,cf,cg,ch,ci;if(aw.reflectType===undefined){ax=new CN.ptr(((($parseInt(aw.size)>>0)>>>0)),0,0,0,0,0,((($parseInt(aw.kind)>>0)<<24>>>24)),$throwNilPointerError,KG.nil,GU($clone(GR(GY(aw.string),"",!!(aw.exported)),GO)),0);ax.jsType=aw;aw.reflectType=ax;ay=$methodSet(aw);if(!(($parseInt(ay.length)===0))||!!(aw.named)){ax.tflag=(ax.tflag|(1))>>>0;if(!!(aw.named)){ax.tflag=(ax.tflag|(4))>>>0;}az=KB.nil;ba=0;while(true){if(!(ba<$parseInt(ay.length))){break;}bb=ay[ba];bc=GY(bb.pkg)==="";if(!bc){ba=ba+(1)>>0;continue;}az=$append(az,new CO.ptr(GU($clone(GS(bb),GO)),GW(GJ(bb.typ)),0,0));ba=ba+(1)>>0;}bd=((az.$length<<16>>>16));be=0;while(true){if(!(be<$parseInt(ay.length))){break;}bf=ay[be];bg=GY(bf.pkg)==="";if(bg){be=be+(1)>>0;continue;}az=$append(az,new CO.ptr(GU($clone(GS(bf),GO)),GW(GJ(bf.typ)),0,0));be=be+(1)>>0;}bh=new GL.ptr(GU($clone(GR(GY(aw.pkg),"",false),GO)),(($parseInt(ay.length)<<16>>>16)),bd,0,az);bi=ax;(GM||$throwRuntimeError("assignment to entry in nil map"))[JE.keyFor(bi)]={k:bi,v:bh};bh.jsType=aw;}bj=ax.Kind();if(bj===(17)){GK(ax,new CQ.ptr(new CN.ptr(0,0,0,0,0,0,0,$throwNilPointerError,KG.nil,0,0),GJ(aw.elem),JE.nil,((($parseInt(aw.len)>>0)>>>0))));}else if(bj===(18)){bk=3;if(!!(aw.sendOnly)){bk=2;}if(!!(aw.recvOnly)){bk=1;}GK(ax,new CR.ptr(new CN.ptr(0,0,0,0,0,0,0,$throwNilPointerError,KG.nil,0,0),GJ(aw.elem),((bk>>>0))));}else if(bj===(19)){bl=aw.params;bm=$makeSlice(JF,$parseInt(bl.length));bn=bm;bo=0;while(true){if(!(bo=bm.$length)?($throwRuntimeError("index out of range"),undefined):bm.$array[bm.$offset+bp]=GJ(bl[bp]));bo++;}bq=aw.results;br=$makeSlice(JF,$parseInt(bq.length));bs=br;bt=0;while(true){if(!(bt=br.$length)?($throwRuntimeError("index out of range"),undefined):br.$array[br.$offset+bu]=GJ(bq[bu]));bt++;}bv=(($parseInt(bq.length)<<16>>>16));if(!!(aw.variadic)){bv=(bv|(32768))>>>0;}GK(ax,new GN.ptr($clone(ax,CN),(($parseInt(bl.length)<<16>>>16)),bv,bm,br));}else if(bj===(20)){bw=aw.methods;bx=$makeSlice(KN,$parseInt(bw.length));by=bx;bz=0;while(true){if(!(bz=bx.$length)?($throwRuntimeError("index out of range"),undefined):bx.$array[bx.$offset+ca]),new CS.ptr(GU($clone(GS(cb),GO)),GW(GJ(cb.typ))));bz++;}GK(ax,new CT.ptr($clone(ax,CN),$clone(GR(GY(aw.pkg),"",false),GO),bx));}else if(bj===(21)){GK(ax,new CU.ptr(new CN.ptr(0,0,0,0,0,0,0,$throwNilPointerError,KG.nil,0,0),GJ(aw.key),GJ(aw.elem),JE.nil,$throwNilPointerError,0,0,0,0));}else if(bj===(22)){GK(ax,new CV.ptr(new CN.ptr(0,0,0,0,0,0,0,$throwNilPointerError,KG.nil,0,0),GJ(aw.elem)));}else if(bj===(23)){GK(ax,new CW.ptr(new CN.ptr(0,0,0,0,0,0,0,$throwNilPointerError,KG.nil,0,0),GJ(aw.elem)));}else if(bj===(25)){cc=aw.fields;cd=$makeSlice(KO,$parseInt(cc.length));ce=cd;cf=0;while(true){if(!(cf>>0))<<1>>>0;if(!!(ch.embedded)){ci=(ci|(1))>>>0;}CX.copy(((cg<0||cg>=cd.$length)?($throwRuntimeError("index out of range"),undefined):cd.$array[cd.$offset+cg]),new CX.ptr($clone(GR(GY(ch.name),GY(ch.tag),!!(ch.exported)),GO),GJ(ch.typ),ci));cf++;}GK(ax,new CY.ptr($clone(ax,CN),$clone(GR(GY(aw.pkgPath),"",false),GO),cd));}}return((aw.reflectType));};GK=function(aw,ax){var aw,ax;aw.kindType=ax;ax.rtype=aw;};GL.ptr.prototype.methods=function(){var aw;aw=this;return aw._methods;};GL.prototype.methods=function(){return this.$val.methods();};GL.ptr.prototype.exportedMethods=function(){var aw;aw=this;return $subslice(aw._methods,0,aw.xcount,aw.xcount);};GL.prototype.exportedMethods=function(){return this.$val.exportedMethods();};CN.ptr.prototype.uncommon=function(){var aw,ax;aw=this;return(ax=GM[JE.keyFor(aw)],ax!==undefined?ax.v:KA.nil);};CN.prototype.uncommon=function(){return this.$val.uncommon();};GN.ptr.prototype.in$=function(){var aw;aw=this;return aw._in;};GN.prototype.in$=function(){return this.$val.in$();};GN.ptr.prototype.out=function(){var aw;aw=this;return aw._out;};GN.prototype.out=function(){return this.$val.out();};GO.ptr.prototype.name=function(){var aw,ax,ay;aw="";ax=this;aw=(ay=GQ[KG.keyFor(ax.bytes)],ay!==undefined?ay.v:KP.nil).name;return aw;};GO.prototype.name=function(){return this.$val.name();};GO.ptr.prototype.tag=function(){var aw,ax,ay;aw="";ax=this;aw=(ay=GQ[KG.keyFor(ax.bytes)],ay!==undefined?ay.v:KP.nil).tag;return aw;};GO.prototype.tag=function(){return this.$val.tag();};GO.ptr.prototype.pkgPath=function(){var aw,ax;aw=this;return(ax=GQ[KG.keyFor(aw.bytes)],ax!==undefined?ax.v:KP.nil).pkgPath;};GO.prototype.pkgPath=function(){return this.$val.pkgPath();};GO.ptr.prototype.isExported=function(){var aw,ax;aw=this;return(ax=GQ[KG.keyFor(aw.bytes)],ax!==undefined?ax.v:KP.nil).exported;};GO.prototype.isExported=function(){return this.$val.isExported();};GR=function(aw,ax,ay){var aw,ax,ay,az,ba;az=$newDataPointer(0,KG);ba=az;(GQ||$throwRuntimeError("assignment to entry in nil map"))[KG.keyFor(ba)]={k:ba,v:new GP.ptr(aw,ax,ay,"")};return new GO.ptr(az);};GS=function(aw){var aw,ax,ay;ax=$newDataPointer(0,KG);ay=ax;(GQ||$throwRuntimeError("assignment to entry in nil map"))[KG.keyFor(ay)]={k:ay,v:new GP.ptr(GY(aw.name),"",GY(aw.pkg)==="",GY(aw.pkg))};return new GO.ptr(ax);};CN.ptr.prototype.nameOff=function(aw){var aw,ax,ay;ax=this;return(ay=((aw>>0)),((ay<0||ay>=GT.$length)?($throwRuntimeError("index out of range"),undefined):GT.$array[GT.$offset+ay]));};CN.prototype.nameOff=function(aw){return this.$val.nameOff(aw);};GU=function(aw){var aw,ax;ax=GT.$length;GT=$append(GT,aw);return((ax>>0));};CN.ptr.prototype.typeOff=function(aw){var aw,ax,ay;ax=this;return(ay=((aw>>0)),((ay<0||ay>=GV.$length)?($throwRuntimeError("index out of range"),undefined):GV.$array[GV.$offset+ay]));};CN.prototype.typeOff=function(aw){return this.$val.typeOff(aw);};GW=function(aw){var aw,ax;ax=GV.$length;GV=$append(GV,aw);return((ax>>0));};GY=function(aw){var aw,ax;ax=new KQ.ptr("");ax.str=aw;return ax.str;};GZ=function(aw){var aw;return!!(GI(aw).wrapped);};HA=function(aw,ax,ay){var aw,ax,ay,az,ba,bb;az=GI(ay).fields;ba=0;while(true){if(!(ba<$parseInt(az.length))){break;}bb=$internalize(az[ba].prop,$String);aw[$externalize(bb,$String)]=ax[$externalize(bb,$String)];ba=ba+(1)>>0;}};HB=function(aw,ax,ay){var{aw,ax,ay,az,ba,bb,bc,bd,be,bf,bg,bh,bi,bj,$s,$r,$c}=$restore(this,{aw,ax,ay});$s=$s||0;s:while(true){switch($s){case 0:az=aw.common();$s=1;case 1:if($c){$c=false;az=az.$blk();}if(az&&az.$blk!==undefined){break s;}ba=az;bd=aw.Kind();$s=6;case 6:if($c){$c=false;bd=bd.$blk();}if(bd&&bd.$blk!==undefined){break s;}if(bd===17){bc=true;$s=5;continue s;}be=aw.Kind();$s=7;case 7:if($c){$c=false;be=be.$blk();}if(be&&be.$blk!==undefined){break s;}bc=be===25;case 5:if(bc){bb=true;$s=4;continue s;}bf=aw.Kind();$s=8;case 8:if($c){$c=false;bf=bf.$blk();}if(bf&&bf.$blk!==undefined){break s;}bb=bf===22;case 4:if(bb){$s=2;continue;}$s=3;continue;case 2:bg=aw.Kind();$s=9;case 9:if($c){$c=false;bg=bg.$blk();}if(bg&&bg.$blk!==undefined){break s;}bh=new Q.ptr(ba,(ax),(ay|((bg>>>0)))>>>0);$s=10;case 10:return bh;case 3:bi=aw.Kind();$s=11;case 11:if($c){$c=false;bi=bi.$blk();}if(bi&&bi.$blk!==undefined){break s;}bj=new Q.ptr(ba,($newDataPointer(ax,GI(ba.ptrTo()))),(((ay|((bi>>>0)))>>>0)|128)>>>0);$s=12;case 12:return bj;}return;}var $f={$blk:HB,$c:true,$r,aw,ax,ay,az,ba,bb,bc,bd,be,bf,bg,bh,bi,bj,$s};return $f;};HC=function(aw,ax,ay){var{aw,ax,ay,az,ba,bb,$s,$r,$c}=$restore(this,{aw,ax,ay});$s=$s||0;s:while(true){switch($s){case 0:aw=[aw];az=aw[0].Kind();$s=3;case 3:if($c){$c=false;az=az.$blk();}if(az&&az.$blk!==undefined){break s;}if(!((az===23))){$s=1;continue;}$s=2;continue;case 1:$panic(new $String("reflect.MakeSlice of non-slice type"));case 2:if(ax<0){$panic(new $String("reflect.MakeSlice: negative len"));}if(ay<0){$panic(new $String("reflect.MakeSlice: negative cap"));}if(ax>ay){$panic(new $String("reflect.MakeSlice: len > cap"));}ba=HB(aw[0],$makeSlice(GI(aw[0]),ax,ay,(function(aw){return function $b(){var{ba,bb,bc,$s,$r,$c}=$restore(this,{});$s=$s||0;s:while(true){switch($s){case 0:ba=aw[0].Elem();$s=1;case 1:if($c){$c=false;ba=ba.$blk();}if(ba&&ba.$blk!==undefined){break s;}bb=GI(ba);$s=2;case 2:if($c){$c=false;bb=bb.$blk();}if(bb&&bb.$blk!==undefined){break s;}bc=bb.zero();$s=3;case 3:return bc;}return;}var $f={$blk:$b,$c:true,$r,ba,bb,bc,$s};return $f;};})(aw)),0);$s=4;case 4:if($c){$c=false;ba=ba.$blk();}if(ba&&ba.$blk!==undefined){break s;}bb=ba;$s=5;case 5:return bb;}return;}var $f={$blk:HC,$c:true,$r,aw,ax,ay,az,ba,bb,$s};return $f;};$pkg.MakeSlice=HC;HD=function(aw){var aw;if(!GF){return new CN.ptr(0,0,0,0,0,0,0,$throwNilPointerError,KG.nil,0,0);}if($interfaceIsEqual(aw,$ifaceNil)){return $ifaceNil;}return GJ(aw.constructor);};$pkg.TypeOf=HD;HE=function(aw){var{aw,ax,ay,$s,$r,$c}=$restore(this,{aw});$s=$s||0;s:while(true){switch($s){case 0:if($interfaceIsEqual(aw,$ifaceNil)){$s=-1;return new Q.ptr(JE.nil,0,0);}ax=HB(GJ(aw.constructor),aw.$val,0);$s=1;case 1:if($c){$c=false;ax=ax.$blk();}if(ax&&ax.$blk!==undefined){break s;}ay=ax;$s=2;case 2:return ay;}return;}var $f={$blk:HE,$c:true,$r,aw,ax,ay,$s};return $f;};$pkg.ValueOf=HE;HH=function(aw,ax,ay){var{aw,ax,ay,az,ba,bb,bc,bd,be,bf,bg,bh,bi,bj,bk,bl,bm,$s,$r,$c}=$restore(this,{aw,ax,ay});$s=$s||0;s:while(true){switch($s){case 0:if(!(ay)){az=false;$s=3;continue s;}if(aw.$length===0){ba=true;$s=4;continue s;}bc=(bb=aw.$length-1>>0,((bb<0||bb>=aw.$length)?($throwRuntimeError("index out of range"),undefined):aw.$array[aw.$offset+bb])).Kind();$s=5;case 5:if($c){$c=false;bc=bc.$blk();}if(bc&&bc.$blk!==undefined){break s;}ba=!((bc===23));case 4:az=ba;case 3:if(az){$s=1;continue;}$s=2;continue;case 1:$panic(new $String("reflect.FuncOf: last arg of variadic func must be slice"));case 2:bd=$makeSlice(KR,aw.$length);be=aw;bf=0;while(true){if(!(bf=be.$length)?($throwRuntimeError("index out of range"),undefined):be.$array[be.$offset+bf]);((bg<0||bg>=bd.$length)?($throwRuntimeError("index out of range"),undefined):bd.$array[bd.$offset+bg]=GI(bh));bf++;}bi=$makeSlice(KR,ax.$length);bj=ax;bk=0;while(true){if(!(bk=bj.$length)?($throwRuntimeError("index out of range"),undefined):bj.$array[bj.$offset+bk]);((bl<0||bl>=bi.$length)?($throwRuntimeError("index out of range"),undefined):bi.$array[bi.$offset+bl]=GI(bm));bk++;}$s=-1;return GJ($funcType($externalize(bd,KR),$externalize(bi,KR),$externalize(ay,$Bool)));}return;}var $f={$blk:HH,$c:true,$r,aw,ax,ay,az,ba,bb,bc,bd,be,bf,bg,bh,bi,bj,bk,bl,bm,$s};return $f;};$pkg.FuncOf=HH;CN.ptr.prototype.ptrTo=function(){var aw;aw=this;return GJ($ptrType(GI(aw)));};CN.prototype.ptrTo=function(){return this.$val.ptrTo();};HJ=function(aw){var aw;return GJ($sliceType(GI(aw)));};$pkg.SliceOf=HJ;HL=function(aw){var{aw,ax,ay,$s,$r,$c}=$restore(this,{aw});$s=$s||0;s:while(true){switch($s){case 0:ax=HB(aw,GI(aw).zero(),0);$s=1;case 1:if($c){$c=false;ax=ax.$blk();}if(ax&&ax.$blk!==undefined){break s;}ay=ax;$s=2;case 2:return ay;}return;}var $f={$blk:HL,$c:true,$r,aw,ax,ay,$s};return $f;};$pkg.Zero=HL;HM=function(aw){var aw,ax;ax=aw.Kind();if(ax===(25)){return(new(GI(aw).ptr)());}else if(ax===(17)){return(GI(aw).zero());}else{return($newDataPointer(GI(aw).zero(),GI(aw.ptrTo())));}};HN=function(aw,ax,ay){var{aw,ax,ay,az,ba,bb,bc,$s,$r,$c}=$restore(this,{aw,ax,ay});$s=$s||0;s:while(true){switch($s){case 0:az=ay.common();$s=1;case 1:if($c){$c=false;az=az.$blk();}if(az&&az.$blk!==undefined){break s;}ba=az;bb=HM(ba);bc=ba.Kind();if(bc===(3)){(bb).$set(((ax.$low<<24>>24)));}else if(bc===(4)){(bb).$set(((ax.$low<<16>>16)));}else if((bc===(2))||(bc===(5))){(bb).$set(((ax.$low>>0)));}else if(bc===(6)){(bb).$set((new $Int64(ax.$high,ax.$low)));}else if(bc===(8)){(bb).$set(((ax.$low<<24>>>24)));}else if(bc===(9)){(bb).$set(((ax.$low<<16>>>16)));}else if((bc===(7))||(bc===(10))||(bc===(12))){(bb).$set(((ax.$low>>>0)));}else if(bc===(11)){(bb).$set((ax));}$s=-1;return new Q.ptr(ba,bb,(((aw|128)>>>0)|((ba.Kind()>>>0)))>>>0);}return;}var $f={$blk:HN,$c:true,$r,aw,ax,ay,az,ba,bb,bc,$s};return $f;};HP=function(aw,ax,ay){var aw,ax,ay;ax.$set(ay.$get());};HT=function(aw,ax){var aw,ax,ay,az;ay=ax;if(!(ay.$get===undefined)){ay=ay.$get();}az=$internalize(GI(aw.Key()).keyFor(ay),$String);return[ay,az];};HU=function(aw,ax,ay){var aw,ax,ay,az,ba,bb;az=HT(aw,ay);ba=az[1];bb=ax[$externalize(ba,$String)];if(bb===undefined){return 0;}return($newDataPointer(bb.v,GI(DQ(aw.Elem()))));};HV=function(aw,ax,ay,az){var{aw,ax,ay,az,ba,bb,bc,bd,be,bf,bg,bh,$s,$r,$c}=$restore(this,{aw,ax,ay,az});$s=$s||0;s:while(true){switch($s){case 0:ba=HT(aw,ay);bb=ba[0];bc=ba[1];bd=az.$get();be=aw.Elem();bf=be.Kind();$s=3;case 3:if($c){$c=false;bf=bf.$blk();}if(bf&&bf.$blk!==undefined){break s;}if(bf===25){$s=1;continue;}$s=2;continue;case 1:bg=GI(be).zero();HA(bg,bd,be);bd=bg;case 2:bh=new($global.Object)();bh.k=bb;bh.v=bd;ax[$externalize(bc,$String)]=bh;$s=-1;return;}return;}var $f={$blk:HV,$c:true,$r,aw,ax,ay,az,ba,bb,bc,bd,be,bf,bg,bh,$s};return $f;};HW=function(aw,ax,ay){var aw,ax,ay,az,ba;az=HT(aw,ay);ba=az[1];delete ax[$externalize(ba,$String)];};HX=function(aw,ax,ay){var aw,ax,ay,az,ba;az=0;az=HU(aw,ax,((ba||(ba=new KU(function(){return ay;},function($v){ay=$v;})))));return az;};HY=function(aw,ax,ay,az){var{aw,ax,ay,az,$s,$r,$c}=$restore(this,{aw,ax,ay,az});$s=$s||0;s:while(true){switch($s){case 0:ay=[ay];$r=HV(aw,ax,((ay.$ptr||(ay.$ptr=new KU(function(){return this.$target[0];},function($v){this.$target[0]=$v;},ay)))),az);$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return;}return;}var $f={$blk:HY,$c:true,$r,aw,ax,ay,az,$s};return $f;};HZ=function(aw,ax,ay){var aw,ax,ay,az;HW(aw,ax,((az||(az=new KU(function(){return ay;},function($v){ay=$v;})))));};IA.ptr.prototype.skipUntilValidKey=function(){var aw,ax;aw=this;while(true){if(!(aw.i<$parseInt(aw.keys.length))){break;}ax=aw.keys[aw.i];if(!(aw.m[$externalize($internalize(ax,$String),$String)]===undefined)){break;}aw.i=aw.i+(1)>>0;}};IA.prototype.skipUntilValidKey=function(){return this.$val.skipUntilValidKey();};IB=function(aw,ax,ay){var aw,ax,ay;IA.copy(ay,new IA.ptr(aw,ax,$keys(ax),0,null));};IC=function(aw){var{aw,ax,ay,az,ba,bb,bc,$s,$r,$c}=$restore(this,{aw});$s=$s||0;s:while(true){switch($s){case 0:ax=null;if(!(aw.last===null)){ax=aw.last;}else{aw.skipUntilValidKey();if(aw.i===$parseInt(aw.keys.length)){$s=-1;return 0;}ay=aw.keys[aw.i];ax=aw.m[$externalize($internalize(ay,$String),$String)];aw.last=ax;}az=aw.t.Key();$s=1;case 1:if($c){$c=false;az=az.$blk();}if(az&&az.$blk!==undefined){break s;}ba=DQ(az);$s=2;case 2:if($c){$c=false;ba=ba.$blk();}if(ba&&ba.$blk!==undefined){break s;}bb=GI(ba);$s=3;case 3:if($c){$c=false;bb=bb.$blk();}if(bb&&bb.$blk!==undefined){break s;}bc=($newDataPointer(ax.k,bb));$s=4;case 4:return bc;}return;}var $f={$blk:IC,$c:true,$r,aw,ax,ay,az,ba,bb,bc,$s};return $f;};ID=function(aw){var{aw,ax,ay,az,ba,bb,bc,$s,$r,$c}=$restore(this,{aw});$s=$s||0;s:while(true){switch($s){case 0:ax=null;if(!(aw.last===null)){ax=aw.last;}else{aw.skipUntilValidKey();if(aw.i===$parseInt(aw.keys.length)){$s=-1;return 0;}ay=aw.keys[aw.i];ax=aw.m[$externalize($internalize(ay,$String),$String)];aw.last=ax;}az=aw.t.Elem();$s=1;case 1:if($c){$c=false;az=az.$blk();}if(az&&az.$blk!==undefined){break s;}ba=DQ(az);$s=2;case 2:if($c){$c=false;ba=ba.$blk();}if(ba&&ba.$blk!==undefined){break s;}bb=GI(ba);$s=3;case 3:if($c){$c=false;bb=bb.$blk();}if(bb&&bb.$blk!==undefined){break s;}bc=($newDataPointer(ax.v,bb));$s=4;case 4:return bc;}return;}var $f={$blk:ID,$c:true,$r,aw,ax,ay,az,ba,bb,bc,$s};return $f;};IE=function(aw){var aw;aw.last=null;aw.i=aw.i+(1)>>0;};IF=function(aw){var aw;return $parseInt($keys(aw).length);};IG=function(aw,ax){var{aw,ax,ay,az,ba,bb,bc,bd,be,bf,bg,bh,bi,bj,bk,bl,bm,bn,bo,bp,bq,$s,$r,$c}=$restore(this,{aw,ax});$s=$s||0;s:while(true){switch($s){case 0:ay=$clone(aw,Q).object();if(ay===GI(aw.typ).nil){$s=1;continue;}$s=2;continue;case 1:az=HB(ax,GI(ax).nil,aw.flag);$s=3;case 3:if($c){$c=false;az=az.$blk();}if(az&&az.$blk!==undefined){break s;}ba=az;$s=4;case 4:return ba;case 2:bb=null;bc=ax.Kind();$s=6;case 6:if($c){$c=false;bc=bc.$blk();}if(bc&&bc.$blk!==undefined){break s;}bd=bc;be=bd;if(be===(23)){$s=7;continue;}if(be===(22)){$s=8;continue;}if(be===(25)){$s=9;continue;}if((be===(17))||(be===(1))||(be===(18))||(be===(19))||(be===(20))||(be===(21))||(be===(24))||(be===(26))){$s=10;continue;}$s=11;continue;case 7:bf=new(GI(ax))(ay.$array);bf.$offset=ay.$offset;bf.$length=ay.$length;bf.$capacity=ay.$capacity;bb=$newDataPointer(bf,GI(DQ(ax)));$s=12;continue;case 8:bg=ax.Elem();$s=14;case 14:if($c){$c=false;bg=bg.$blk();}if(bg&&bg.$blk!==undefined){break s;}bh=bg.Kind();$s=15;case 15:if($c){$c=false;bh=bh.$blk();}if(bh&&bh.$blk!==undefined){break s;}bi=bh;if(bi===(25)){$s=16;continue;}if(bi===(17)){$s=17;continue;}$s=18;continue;case 16:bj=ax.Elem();$s=22;case 22:if($c){$c=false;bj=bj.$blk();}if(bj&&bj.$blk!==undefined){break s;}if($interfaceIsEqual(bj,aw.typ.Elem())){$s=20;continue;}$s=21;continue;case 20:bb=ay;$s=13;continue;case 21:bb=new(GI(ax))();bk=bb;bl=ay;bm=ax.Elem();$s=23;case 23:if($c){$c=false;bm=bm.$blk();}if(bm&&bm.$blk!==undefined){break s;}bn=bm;$r=HA(bk,bl,bn);$s=24;case 24:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=19;continue;case 17:bb=ay;$s=19;continue;case 18:bb=new(GI(ax))(ay.$get,ay.$set);case 19:case 13:$s=12;continue;case 9:bb=new(GI(ax).ptr)();HA(bb,ay,ax);$s=12;continue;case 10:bb=aw.ptr;$s=12;continue;case 11:$panic(new U.ptr("reflect.Convert",bd));case 12:case 5:bo=ax.common();$s=25;case 25:if($c){$c=false;bo=bo.$blk();}if(bo&&bo.$blk!==undefined){break s;}bp=ax.Kind();$s=26;case 26:if($c){$c=false;bp=bp.$blk();}if(bp&&bp.$blk!==undefined){break s;}bq=new Q.ptr(bo,(bb),(((new R(aw.flag).ro()|((aw.flag&128)>>>0))>>>0)|((bp>>>0)))>>>0);$s=27;case 27:return bq;}return;}var $f={$blk:IG,$c:true,$r,aw,ax,ay,az,ba,bb,bc,bd,be,bf,bg,bh,bi,bj,bk,bl,bm,bn,bo,bp,bq,$s};return $f;};IH=function(aw,ax){var{aw,ax,ay,az,ba,bb,bc,bd,be,bf,$s,$r,$c}=$restore(this,{aw,ax});$s=$s||0;s:while(true){switch($s){case 0:ay=$clone(aw,Q).object();az=$parseInt(ay.$length)>>0;ba=ax.Elem();$s=1;case 1:if($c){$c=false;ba=ba.$blk();}if(ba&&ba.$blk!==undefined){break s;}bb=ba.Len();$s=2;case 2:if($c){$c=false;bb=bb.$blk();}if(bb&&bb.$blk!==undefined){break s;}bc=bb;if(bc>az){$panic(new $String("reflect: cannot convert slice with length "+D.Itoa(az)+" to pointer to array with length "+D.Itoa(bc)));}bd=$sliceToGoArray(ay,GI(ax));be=ax.common();$s=3;case 3:if($c){$c=false;be=be.$blk();}if(be&&be.$blk!==undefined){break s;}bf=new Q.ptr(be,(bd),(((aw.flag&~415)>>>0)|22)>>>0);$s=4;case 4:return bf;}return;}var $f={$blk:IH,$c:true,$r,aw,ax,ay,az,ba,bb,bc,bd,be,bf,$s};return $f;};IJ=function(aw,ax,ay){var aw,ax,ay,az,ba,bb,bc,bd,be,bf,bg,bh,bi;az=JE.nil;ba=KV.nil;bb=0;bc="";if(ax.typ.Kind()===20){bd=(ax.typ.kindType);if(ay<0||ay>=bd.methods.$length){$panic(new $String("reflect: internal error: invalid method index"));}bf=(be=bd.methods,((ay<0||ay>=be.$length)?($throwRuntimeError("index out of range"),undefined):be.$array[be.$offset+ay]));if(!$clone(bd.rtype.nameOff(bf.name),GO).isExported()){$panic(new $String("reflect: "+aw+" of unexported method"));}ba=(bd.rtype.typeOff(bf.typ).kindType);bc=$clone(bd.rtype.nameOff(bf.name),GO).name();}else{bg=ax.typ.exportedMethods();if(((ay>>>0))>=((bg.$length>>>0))){$panic(new $String("reflect: internal error: invalid method index"));}bh=$clone(((ay<0||ay>=bg.$length)?($throwRuntimeError("index out of range"),undefined):bg.$array[bg.$offset+ay]),CO);if(!$clone(ax.typ.nameOff(bh.name),GO).isExported()){$panic(new $String("reflect: "+aw+" of unexported method"));}ba=(ax.typ.typeOff(bh.mtyp).kindType);bc=$internalize($methodSet(GI(ax.typ))[ay].prop,$String);}bi=$clone(ax,Q).object();if(GZ(ax.typ)){bi=new(GI(ax.typ))(bi);}bb=(bi[$externalize(bc,$String)]);return[az,ba,bb];};IK=function(aw,ax){var{aw,ax,ay,$s,$r,$c}=$restore(this,{aw,ax});$s=$s||0;s:while(true){switch($s){case 0:if(aw.flag===0){$panic(new U.ptr("reflect.Value.Interface",0));}if(ax&&!((((aw.flag&96)>>>0)===0))){$panic(new $String("reflect.Value.Interface: cannot return value obtained from unexported field or method"));}if(!((((aw.flag&512)>>>0)===0))){$s=1;continue;}$s=2;continue;case 1:ay=IM("Interface",$clone(aw,Q));$s=3;case 3:if($c){$c=false;ay=ay.$blk();}if(ay&&ay.$blk!==undefined){break s;}aw=ay;case 2:if(GZ(aw.typ)){$s=-1;return((new(GI(aw.typ))($clone(aw,Q).object())));}$s=-1;return(($clone(aw,Q).object()));}return;}var $f={$blk:IK,$c:true,$r,aw,ax,ay,$s};return $f;};IL=function(aw,ax,ay){var aw,ax,ay;ay.$set(ax);};IM=function(aw,ax){var{aw,ax,ay,az,ba,bb,bc,bd,$s,$r,$c}=$restore(this,{aw,ax});$s=$s||0;s:while(true){switch($s){case 0:ay=[ay];az=[az];if(((ax.flag&512)>>>0)===0){$panic(new $String("reflect: internal error: invalid use of makePartialFunc"));}ba=IJ(aw,$clone(ax,Q),((ax.flag>>0))>>10>>0);ay[0]=ba[2];az[0]=$clone(ax,Q).object();if(GZ(ax.typ)){az[0]=new(GI(ax.typ))(az[0]);}bb=N.MakeFunc((function(ay,az){return function(bb,bc){var bb,bc;return new $jsObjectPtr(ay[0].apply(az[0],$externalize(bc,KR)));};})(ay,az));bc=$clone(ax,Q).Type().common();$s=1;case 1:if($c){$c=false;bc=bc.$blk();}if(bc&&bc.$blk!==undefined){break s;}bd=new Q.ptr(bc,(bb),(new R(ax.flag).ro()|19)>>>0);$s=2;case 2:return bd;}return;}var $f={$blk:IM,$c:true,$r,aw,ax,ay,az,ba,bb,bc,bd,$s};return $f;};CN.ptr.prototype.pointers=function(){var aw,ax;aw=this;ax=aw.Kind();if((ax===(22))||(ax===(21))||(ax===(18))||(ax===(19))||(ax===(25))||(ax===(17))){return true;}else{return false;}};CN.prototype.pointers=function(){return this.$val.pointers();};CN.ptr.prototype.Comparable=function(){var{aw,ax,ay,az,ba,bb,$s,$r,$c}=$restore(this,{});$s=$s||0;s:while(true){switch($s){case 0:aw=this;ax=aw.Kind();if((ax===(19))||(ax===(23))||(ax===(21))){$s=2;continue;}if(ax===(17)){$s=3;continue;}if(ax===(25)){$s=4;continue;}$s=5;continue;case 2:$s=-1;return false;case 3:ay=aw.Elem().Comparable();$s=6;case 6:if($c){$c=false;ay=ay.$blk();}if(ay&&ay.$blk!==undefined){break s;}az=ay;$s=7;case 7:return az;case 4:ba=0;case 8:if(!(ba>0;$s=8;continue;case 9:case 5:case 1:$s=-1;return true;}return;}var $f={$blk:CN.ptr.prototype.Comparable,$c:true,$r,aw,ax,ay,az,ba,bb,$s};return $f;};CN.prototype.Comparable=function(){return this.$val.Comparable();};CN.ptr.prototype.Method=function(aw){var{aw,ax,ay,az,ba,bb,bc,bd,be,bf,bg,bh,bi,bj,bk,bl,bm,bn,bo,bp,bq,br,$s,$r,$c}=$restore(this,{aw});$s=$s||0;s:while(true){switch($s){case 0:ax=[ax];ay=new DA.ptr("","",$ifaceNil,new Q.ptr(JE.nil,0,0),0);az=this;if(az.Kind()===20){ba=(az.kindType);DA.copy(ay,ba.Method(aw));$s=-1;return ay;}bb=az.exportedMethods();if(aw<0||aw>=bb.$length){$panic(new $String("reflect: Method index out of range"));}bc=$clone(((aw<0||aw>=bb.$length)?($throwRuntimeError("index out of range"),undefined):bb.$array[bb.$offset+aw]),CO);bd=$clone(az.nameOff(bc.name),GO);ay.Name=$clone(bd,GO).name();be=19;bf=az.typeOff(bc.mtyp);bg=(bf.kindType);bh=$makeSlice(KW,0,(1+bg.in$().$length>>0));bh=$append(bh,az);bi=bg.in$();bj=0;while(true){if(!(bj=bi.$length)?($throwRuntimeError("index out of range"),undefined):bi.$array[bi.$offset+bj]);bh=$append(bh,bk);bj++;}bl=$makeSlice(KW,0,bg.out().$length);bm=bg.out();bn=0;while(true){if(!(bn=bm.$length)?($throwRuntimeError("index out of range"),undefined):bm.$array[bm.$offset+bn]);bl=$append(bl,bo);bn++;}bp=HH(bh,bl,bg.rtype.IsVariadic());$s=1;case 1:if($c){$c=false;bp=bp.$blk();}if(bp&&bp.$blk!==undefined){break s;}bq=bp;ay.Type=bq;ax[0]=$internalize($methodSet(az.jsType)[aw].prop,$String);br=N.MakeFunc((function(ax){return function(br,bs){var br,bs,bt;bt=(0>=bs.$length?($throwRuntimeError("index out of range"),undefined):bs.$array[bs.$offset+0]);return new $jsObjectPtr(bt[$externalize(ax[0],$String)].apply(bt,$externalize($subslice(bs,1),KR)));};})(ax));ay.Func=new Q.ptr($assertType(bq,JE),(br),be);ay.Index=aw;DA.copy(ay,ay);$s=-1;return ay;}return;}var $f={$blk:CN.ptr.prototype.Method,$c:true,$r,aw,ax,ay,az,ba,bb,bc,bd,be,bf,bg,bh,bi,bj,bk,bl,bm,bn,bo,bp,bq,br,$s};return $f;};CN.prototype.Method=function(aw){return this.$val.Method(aw);};Q.ptr.prototype.object=function(){var aw,ax,ay,az;aw=this;if((aw.typ.Kind()===17)||(aw.typ.Kind()===25)){return aw.ptr;}if(!((((aw.flag&128)>>>0)===0))){ax=aw.ptr.$get();if(!(ax===$ifaceNil)&&!(ax.constructor===GI(aw.typ))){switch(0){default:ay=aw.typ.Kind();if((ay===(11))||(ay===(6))){ax=new(GI(aw.typ))(ax.$high,ax.$low);}else if((ay===(15))||(ay===(16))){ax=new(GI(aw.typ))(ax.$real,ax.$imag);}else if(ay===(23)){if(ax===ax.constructor.nil){ax=GI(aw.typ).nil;break;}az=new(GI(aw.typ))(ax.$array);az.$offset=ax.$offset;az.$length=ax.$length;az.$capacity=ax.$capacity;ax=az;}}}return ax;}return aw.ptr;};Q.prototype.object=function(){return this.$val.object();};Q.ptr.prototype.assignTo=function(aw,ax,ay){var{aw,ax,ay,az,ba,bb,bc,bd,be,$s,$r,$c}=$restore(this,{aw,ax,ay});$s=$s||0;s:while(true){switch($s){case 0:az=this;if(!((((az.flag&512)>>>0)===0))){$s=1;continue;}$s=2;continue;case 1:ba=IM(aw,$clone(az,Q));$s=3;case 3:if($c){$c=false;ba=ba.$blk();}if(ba&&ba.$blk!==undefined){break s;}az=ba;case 2:bb=DV(ax,az.typ);$s=8;case 8:if($c){$c=false;bb=bb.$blk();}if(bb&&bb.$blk!==undefined){break s;}if(bb){$s=5;continue;}if(DT(ax,az.typ)){$s=6;continue;}$s=7;continue;case 5:bc=(((az.flag&384)>>>0)|new R(az.flag).ro())>>>0;bc=(bc|(((ax.Kind()>>>0))))>>>0;$s=-1;return new Q.ptr(ax,az.ptr,bc);case 6:if(ay===0){ay=HM(ax);}bd=IK($clone(az,Q),false);$s=9;case 9:if($c){$c=false;bd=bd.$blk();}if(bd&&bd.$blk!==undefined){break s;}be=bd;if(ax.NumMethod()===0){(ay).$set(be);}else{IL(ax,be,ay);}$s=-1;return new Q.ptr(ax,ay,148);case 7:case 4:$panic(new $String(aw+": value of type "+az.typ.String()+" is not assignable to type "+ax.String()));$s=-1;return new Q.ptr(JE.nil,0,0);}return;}var $f={$blk:Q.ptr.prototype.assignTo,$c:true,$r,aw,ax,ay,az,ba,bb,bc,bd,be,$s};return $f;};Q.prototype.assignTo=function(aw,ax,ay){return this.$val.assignTo(aw,ax,ay);};Q.ptr.prototype.call=function(aw,ax){var{aw,ax,ay,az,ba,bb,bc,bd,be,bf,bg,bh,bi,bj,bk,bl,bm,bn,bo,bp,bq,br,bs,bt,bu,bv,bw,bx,by,bz,ca,cb,cc,cd,ce,cf,cg,ch,ci,cj,ck,cl,cm,cn,co,cp,cq,cr,cs,ct,cu,cv,cw,cx,cy,cz,da,db,dc,$s,$r,$c}=$restore(this,{aw,ax});$s=$s||0;s:while(true){switch($s){case 0:ay=this;az=KV.nil;ba=0;bb=null;if(!((((ay.flag&512)>>>0)===0))){bc=IJ(aw,$clone(ay,Q),((ay.flag>>0))>>10>>0);az=bc[1];ba=bc[2];bb=$clone(ay,Q).object();if(GZ(ay.typ)){bb=new(GI(ay.typ))(bb);}}else{az=(ay.typ.kindType);ba=($clone(ay,Q).object());bb=undefined;}if(ba===0){$panic(new $String("reflect.Value.Call: call of nil function"));}bd=aw==="CallSlice";be=az.rtype.NumIn();if(bd){if(!az.rtype.IsVariadic()){$panic(new $String("reflect: CallSlice of non-variadic function"));}if(ax.$lengthbe){$panic(new $String("reflect: CallSlice with too many input arguments"));}}else{if(az.rtype.IsVariadic()){be=be-(1)>>0;}if(ax.$lengthbe){$panic(new $String("reflect: Call with too many input arguments"));}}bf=ax;bg=0;while(true){if(!(bg=bf.$length)?($throwRuntimeError("index out of range"),undefined):bf.$array[bf.$offset+bg]);if($clone(bh,Q).Kind()===0){$panic(new $String("reflect: "+aw+" using zero Value argument"));}bg++;}bi=0;case 1:if(!(bi=ax.$length)?($throwRuntimeError("index out of range"),undefined):ax.$array[ax.$offset+bi]),Q).Type();bk=az.rtype.In(bi);bl=bj;bm=bk;bn=bl.AssignableTo(bm);$s=5;case 5:if($c){$c=false;bn=bn.$blk();}if(bn&&bn.$blk!==undefined){break s;}if(!bn){$s=3;continue;}$s=4;continue;case 3:bo=bl.String();$s=6;case 6:if($c){$c=false;bo=bo.$blk();}if(bo&&bo.$blk!==undefined){break s;}bp=bm.String();$s=7;case 7:if($c){$c=false;bp=bp.$blk();}if(bp&&bp.$blk!==undefined){break s;}$panic(new $String("reflect: "+aw+" using "+bo+" as type "+bp));case 4:bi=bi+(1)>>0;$s=1;continue;case 2:if(!bd&&az.rtype.IsVariadic()){$s=8;continue;}$s=9;continue;case 8:bq=ax.$length-be>>0;br=HC(az.rtype.In(be),bq,bq);$s=10;case 10:if($c){$c=false;br=br.$blk();}if(br&&br.$blk!==undefined){break s;}bs=br;bt=az.rtype.In(be).Elem();$s=11;case 11:if($c){$c=false;bt=bt.$blk();}if(bt&&bt.$blk!==undefined){break s;}bu=bt;bv=0;case 12:if(!(bv>0,((bw<0||bw>=ax.$length)?($throwRuntimeError("index out of range"),undefined):ax.$array[ax.$offset+bw]));by=$clone(bx,Q).Type();bz=by.AssignableTo(bu);$s=16;case 16:if($c){$c=false;bz=bz.$blk();}if(bz&&bz.$blk!==undefined){break s;}if(!bz){$s=14;continue;}$s=15;continue;case 14:ca=by.String();$s=17;case 17:if($c){$c=false;ca=ca.$blk();}if(ca&&ca.$blk!==undefined){break s;}cb=bu.String();$s=18;case 18:if($c){$c=false;cb=cb.$blk();}if(cb&&cb.$blk!==undefined){break s;}$panic(new $String("reflect: cannot use "+ca+" as type "+cb+" in "+aw));case 15:cc=$clone(bs,Q).Index(bv);$s=19;case 19:if($c){$c=false;cc=cc.$blk();}if(cc&&cc.$blk!==undefined){break s;}$r=$clone(cc,Q).Set($clone(bx,Q));$s=20;case 20:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}bv=bv+(1)>>0;$s=12;continue;case 13:cd=ax;ax=$makeSlice(JO,(be+1>>0));$copySlice($subslice(ax,0,be),cd);((be<0||be>=ax.$length)?($throwRuntimeError("index out of range"),undefined):ax.$array[ax.$offset+be]=bs);case 9:ce=ax.$length;if(!((ce===az.rtype.NumIn()))){$panic(new $String("reflect.Value.Call: wrong argument count"));}cf=az.rtype.NumOut();cg=new($global.Array)(az.rtype.NumIn());ch=ax;ci=0;case 21:if(!(ci=ch.$length)?($throwRuntimeError("index out of range"),undefined):ch.$array[ch.$offset+ci]);cl=az.rtype.In(cj);cm=az.rtype.In(cj).common();$s=23;case 23:if($c){$c=false;cm=cm.$blk();}if(cm&&cm.$blk!==undefined){break s;}cn=cm;co=0;cp=$clone(ck,Q).assignTo("reflect.Value.Call",cn,co);$s=24;case 24:if($c){$c=false;cp=cp.$blk();}if(cp&&cp.$blk!==undefined){break s;}cq=$clone(cp,Q).object();$s=25;case 25:if($c){$c=false;cq=cq.$blk();}if(cq&&cq.$blk!==undefined){break s;}cr=cq;cs=IQ(cl,cr);$s=26;case 26:if($c){$c=false;cs=cs.$blk();}if(cs&&cs.$blk!==undefined){break s;}cg[cj]=cs;ci++;$s=21;continue;case 22:ct=IN(new JH([new $jsObjectPtr(ba),new $jsObjectPtr(bb),new $jsObjectPtr(cg)]));$s=27;case 27:if($c){$c=false;ct=ct.$blk();}if(ct&&ct.$blk!==undefined){break s;}cu=ct;cv=cf;if(cv===(0)){$s=29;continue;}if(cv===(1)){$s=30;continue;}$s=31;continue;case 29:$s=-1;return JO.nil;case 30:cw=HB(az.rtype.Out(0),IP(az.rtype.Out(0),cu),0);$s=33;case 33:if($c){$c=false;cw=cw.$blk();}if(cw&&cw.$blk!==undefined){break s;}cx=new JO([$clone(cw,Q)]);$s=34;case 34:return cx;case 31:cy=$makeSlice(JO,cf);cz=cy;da=0;case 35:if(!(da=cy.$length)?($throwRuntimeError("index out of range"),undefined):cy.$array[cy.$offset+db]=dc);da++;$s=35;continue;case 36:$s=-1;return cy;case 32:case 28:$s=-1;return JO.nil;}return;}var $f={$blk:Q.ptr.prototype.call,$c:true,$r,aw,ax,ay,az,ba,bb,bc,bd,be,bf,bg,bh,bi,bj,bk,bl,bm,bn,bo,bp,bq,br,bs,bt,bu,bv,bw,bx,by,bz,ca,cb,cc,cd,ce,cf,cg,ch,ci,cj,ck,cl,cm,cn,co,cp,cq,cr,cs,ct,cu,cv,cw,cx,cy,cz,da,db,dc,$s};return $f;};Q.prototype.call=function(aw,ax){return this.$val.call(aw,ax);};Q.ptr.prototype.Cap=function(){var aw,ax,ay;aw=this;ax=new R(aw.flag).kind();ay=ax;if(ay===(17)){return aw.typ.Len();}else if((ay===(18))||(ay===(23))){return $parseInt($clone(aw,Q).object().$capacity)>>0;}$panic(new U.ptr("reflect.Value.Cap",ax));};Q.prototype.Cap=function(){return this.$val.Cap();};IP=function(aw,ax){var aw,ax;if($interfaceIsEqual(aw,IO)){return new(GI(IO))(ax);}return ax;};IQ=function(aw,ax){var aw,ax;if($interfaceIsEqual(aw,IO)){return ax.object;}return ax;};Q.ptr.prototype.Elem=function(){var{aw,ax,ay,az,ba,bb,bc,bd,be,bf,$s,$r,$c}=$restore(this,{});$s=$s||0;s:while(true){switch($s){case 0:aw=this;ax=new R(aw.flag).kind();ay=ax;if(ay===(20)){$s=2;continue;}if(ay===(22)){$s=3;continue;}$s=4;continue;case 2:az=$clone(aw,Q).object();if(az===$ifaceNil){$s=-1;return new Q.ptr(JE.nil,0,0);}ba=GJ(az.constructor);bb=HB(ba,az.$val,new R(aw.flag).ro());$s=6;case 6:if($c){$c=false;bb=bb.$blk();}if(bb&&bb.$blk!==undefined){break s;}bc=bb;$s=7;case 7:return bc;case 3:if($clone(aw,Q).IsNil()){$s=-1;return new Q.ptr(JE.nil,0,0);}bd=$clone(aw,Q).object();be=(aw.typ.kindType);bf=(((((aw.flag&96)>>>0)|128)>>>0)|256)>>>0;bf=(bf|(((be.elem.Kind()>>>0))))>>>0;$s=-1;return new Q.ptr(be.elem,(IP(be.elem,bd)),bf);case 4:$panic(new U.ptr("reflect.Value.Elem",ax));case 5:case 1:$s=-1;return new Q.ptr(JE.nil,0,0);}return;}var $f={$blk:Q.ptr.prototype.Elem,$c:true,$r,aw,ax,ay,az,ba,bb,bc,bd,be,bf,$s};return $f;};Q.prototype.Elem=function(){return this.$val.Elem();};Q.ptr.prototype.Field=function(aw){var{aw,ax,ay,az,ba,bb,bc,bd,be,bf,bg,bh,bi,bj,bk,bl,bm,$s,$r,$c}=$restore(this,{aw});$s=$s||0;s:while(true){switch($s){case 0:ax=[ax];ay=[ay];az=[az];ba=[ba];bb=this;if(!((new R(bb.flag).kind()===25))){$panic(new U.ptr("reflect.Value.Field",new R(bb.flag).kind()));}bc=(bb.typ.kindType);if(((aw>>>0))>=((bc.fields.$length>>>0))){$panic(new $String("reflect: Field index out of range"));}ay[0]=$internalize(GI(bb.typ).fields[aw].prop,$String);be=(bd=bc.fields,((aw<0||aw>=bd.$length)?($throwRuntimeError("index out of range"),undefined):bd.$array[bd.$offset+aw]));ba[0]=be.typ;bf=(((bb.flag&416)>>>0)|((ba[0].Kind()>>>0)))>>>0;if(!$clone(be.name,GO).isExported()){if(be.embedded()){bf=(bf|(64))>>>0;}else{bf=(bf|(32))>>>0;}}bh=$clone((bg=bc.fields,((aw<0||aw>=bg.$length)?($throwRuntimeError("index out of range"),undefined):bg.$array[bg.$offset+aw])).name,GO).tag();if(!(bh==="")&&!((aw===0))){$s=1;continue;}$s=2;continue;case 1:ax[0]=IR(bh);if(!(ax[0]==="")){$s=3;continue;}$s=4;continue;case 3:case 5:bi=[bi];bj=$clone(bb,Q).Field(0);$s=7;case 7:if($c){$c=false;bj=bj.$blk();}if(bj&&bj.$blk!==undefined){break s;}bb=bj;if(bb.typ===IO){$s=8;continue;}$s=9;continue;case 8:bi[0]=$clone(bb,Q).object().object;$s=-1;return new Q.ptr(ba[0],(new(GI(DQ(ba[0])))((function(ax,ay,az,ba,bi){return function(){return $internalize(bi[0][$externalize(ax[0],$String)],GI(ba[0]));};})(ax,ay,az,ba,bi),(function(ax,ay,az,ba,bi){return function(bk){var bk;bi[0][$externalize(ax[0],$String)]=$externalize(bk,GI(ba[0]));};})(ax,ay,az,ba,bi))),bf);case 9:if(bb.typ.Kind()===22){$s=10;continue;}$s=11;continue;case 10:bk=$clone(bb,Q).Elem();$s=12;case 12:if($c){$c=false;bk=bk.$blk();}if(bk&&bk.$blk!==undefined){break s;}bb=bk;case 11:$s=5;continue;case 6:case 4:case 2:az[0]=bb.ptr;if(!((((bf&128)>>>0)===0))&&!((ba[0].Kind()===17))&&!((ba[0].Kind()===25))){$s=13;continue;}$s=14;continue;case 13:$s=-1;return new Q.ptr(ba[0],(new(GI(DQ(ba[0])))((function(ax,ay,az,ba){return function(){return IP(ba[0],az[0][$externalize(ay[0],$String)]);};})(ax,ay,az,ba),(function(ax,ay,az,ba){return function(bl){var bl;az[0][$externalize(ay[0],$String)]=IQ(ba[0],bl);};})(ax,ay,az,ba))),bf);case 14:bl=HB(ba[0],IP(ba[0],az[0][$externalize(ay[0],$String)]),bf);$s=15;case 15:if($c){$c=false;bl=bl.$blk();}if(bl&&bl.$blk!==undefined){break s;}bm=bl;$s=16;case 16:return bm;}return;}var $f={$blk:Q.ptr.prototype.Field,$c:true,$r,aw,ax,ay,az,ba,bb,bc,bd,be,bf,bg,bh,bi,bj,bk,bl,bm,$s};return $f;};Q.prototype.Field=function(aw){return this.$val.Field(aw);};IR=function(aw){var aw,ax,ay,az,ba,bb;while(true){if(!(!(aw===""))){break;}ax=0;while(true){if(!(ax>0;}aw=$substring(aw,ax);if(aw===""){break;}ax=0;while(true){if(!(ax>0;}if((ax+1>>0)>=aw.length||!((aw.charCodeAt(ax)===58))||!((aw.charCodeAt((ax+1>>0))===34))){break;}ay=($substring(aw,0,ax));aw=$substring(aw,(ax+1>>0));ax=1;while(true){if(!(ax>0;}ax=ax+(1)>>0;}if(ax>=aw.length){break;}az=($substring(aw,0,(ax+1>>0)));aw=$substring(aw,(ax+1>>0));if(ay==="js"){ba=H.Unquote(az);bb=ba[0];return bb;}}return"";};Q.ptr.prototype.Index=function(aw){var{aw,ax,ay,az,ba,bb,bc,bd,be,bf,bg,bh,bi,bj,bk,bl,bm,bn,bo,bp,$s,$r,$c}=$restore(this,{aw});$s=$s||0;s:while(true){switch($s){case 0:aw=[aw];ax=[ax];ay=[ay];az=[az];ba=[ba];bb=[bb];bc=this;bd=new R(bc.flag).kind();be=bd;if(be===(17)){$s=2;continue;}if(be===(23)){$s=3;continue;}if(be===(24)){$s=4;continue;}$s=5;continue;case 2:bf=(bc.typ.kindType);if(aw[0]<0||aw[0]>((bf.len>>0))){$panic(new $String("reflect: array index out of range"));}ba[0]=bf.elem;bg=(((((bc.flag&384)>>>0)|new R(bc.flag).ro())>>>0)|((ba[0].Kind()>>>0)))>>>0;ax[0]=bc.ptr;if(!((((bg&128)>>>0)===0))&&!((ba[0].Kind()===17))&&!((ba[0].Kind()===25))){$s=7;continue;}$s=8;continue;case 7:$s=-1;return new Q.ptr(ba[0],(new(GI(DQ(ba[0])))((function(aw,ax,ay,az,ba,bb){return function(){return IP(ba[0],ax[0][aw[0]]);};})(aw,ax,ay,az,ba,bb),(function(aw,ax,ay,az,ba,bb){return function(bh){var bh;ax[0][aw[0]]=IQ(ba[0],bh);};})(aw,ax,ay,az,ba,bb))),bg);case 8:bh=HB(ba[0],IP(ba[0],ax[0][aw[0]]),bg);$s=9;case 9:if($c){$c=false;bh=bh.$blk();}if(bh&&bh.$blk!==undefined){break s;}bi=bh;$s=10;case 10:return bi;case 3:bj=$clone(bc,Q).object();if(aw[0]<0||aw[0]>=($parseInt(bj.$length)>>0)){$panic(new $String("reflect: slice index out of range"));}bk=(bc.typ.kindType);bb[0]=bk.elem;bl=(((384|new R(bc.flag).ro())>>>0)|((bb[0].Kind()>>>0)))>>>0;aw[0]=aw[0]+(($parseInt(bj.$offset)>>0))>>0;ay[0]=bj.$array;if(!((((bl&128)>>>0)===0))&&!((bb[0].Kind()===17))&&!((bb[0].Kind()===25))){$s=11;continue;}$s=12;continue;case 11:$s=-1;return new Q.ptr(bb[0],(new(GI(DQ(bb[0])))((function(aw,ax,ay,az,ba,bb){return function(){return IP(bb[0],ay[0][aw[0]]);};})(aw,ax,ay,az,ba,bb),(function(aw,ax,ay,az,ba,bb){return function(bm){var bm;ay[0][aw[0]]=IQ(bb[0],bm);};})(aw,ax,ay,az,ba,bb))),bl);case 12:bm=HB(bb[0],IP(bb[0],ay[0][aw[0]]),bl);$s=13;case 13:if($c){$c=false;bm=bm.$blk();}if(bm&&bm.$blk!==undefined){break s;}bn=bm;$s=14;case 14:return bn;case 4:bo=(bc.ptr).$get();if(aw[0]<0||aw[0]>=bo.length){$panic(new $String("reflect: string index out of range"));}bp=(((new R(bc.flag).ro()|8)>>>0)|128)>>>0;az[0]=bo.charCodeAt(aw[0]);$s=-1;return new Q.ptr(AE,((az.$ptr||(az.$ptr=new KG(function(){return this.$target[0];},function($v){this.$target[0]=$v;},az)))),bp);case 5:$panic(new U.ptr("reflect.Value.Index",bd));case 6:case 1:$s=-1;return new Q.ptr(JE.nil,0,0);}return;}var $f={$blk:Q.ptr.prototype.Index,$c:true,$r,aw,ax,ay,az,ba,bb,bc,bd,be,bf,bg,bh,bi,bj,bk,bl,bm,bn,bo,bp,$s};return $f;};Q.prototype.Index=function(aw){return this.$val.Index(aw);};Q.ptr.prototype.InterfaceData=function(){var aw;aw=this;$panic(A.New("InterfaceData is not supported by GopherJS"));};Q.prototype.InterfaceData=function(){return this.$val.InterfaceData();};Q.ptr.prototype.IsNil=function(){var aw,ax,ay;aw=this;ax=new R(aw.flag).kind();ay=ax;if((ay===(22))||(ay===(23))){return $clone(aw,Q).object()===GI(aw.typ).nil;}else if(ay===(18)){return $clone(aw,Q).object()===$chanNil;}else if(ay===(19)){return $clone(aw,Q).object()===$throwNilPointerError;}else if(ay===(21)){return $clone(aw,Q).object()===false;}else if(ay===(20)){return $clone(aw,Q).object()===$ifaceNil;}else if(ay===(26)){return $clone(aw,Q).object()===0;}else{$panic(new U.ptr("reflect.Value.IsNil",ax));}};Q.prototype.IsNil=function(){return this.$val.IsNil();};Q.ptr.prototype.Len=function(){var aw,ax,ay;aw=this;ax=new R(aw.flag).kind();ay=ax;if((ay===(17))||(ay===(24))){return $parseInt($clone(aw,Q).object().length);}else if(ay===(23)){return $parseInt($clone(aw,Q).object().$length)>>0;}else if(ay===(18)){return $parseInt($clone(aw,Q).object().$buffer.length)>>0;}else if(ay===(21)){return $parseInt($keys($clone(aw,Q).object()).length);}else{$panic(new U.ptr("reflect.Value.Len",ax));}};Q.prototype.Len=function(){return this.$val.Len();};Q.ptr.prototype.Pointer=function(){var aw,ax,ay;aw=this;ax=new R(aw.flag).kind();ay=ax;if((ay===(18))||(ay===(21))||(ay===(22))||(ay===(26))){if($clone(aw,Q).IsNil()){return 0;}return $clone(aw,Q).object();}else if(ay===(19)){if($clone(aw,Q).IsNil()){return 0;}return 1;}else if(ay===(23)){if($clone(aw,Q).IsNil()){return 0;}return $clone(aw,Q).object().$array;}else{$panic(new U.ptr("reflect.Value.Pointer",ax));}};Q.prototype.Pointer=function(){return this.$val.Pointer();};Q.ptr.prototype.Set=function(aw){var{aw,ax,ay,az,ba,$s,$r,$c}=$restore(this,{aw});$s=$s||0;s:while(true){switch($s){case 0:ax=this;new R(ax.flag).mustBeAssignable();new R(aw.flag).mustBeExported();ay=$clone(aw,Q).assignTo("reflect.Set",ax.typ,0);$s=1;case 1:if($c){$c=false;ay=ay.$blk();}if(ay&&ay.$blk!==undefined){break s;}aw=ay;if(!((((ax.flag&128)>>>0)===0))){$s=2;continue;}$s=3;continue;case 2:az=ax.typ.Kind();if(az===(17)){$s=5;continue;}if(az===(20)){$s=6;continue;}if(az===(25)){$s=7;continue;}$s=8;continue;case 5:GI(ax.typ).copy(ax.ptr,aw.ptr);$s=9;continue;case 6:ba=IK($clone(aw,Q),false);$s=10;case 10:if($c){$c=false;ba=ba.$blk();}if(ba&&ba.$blk!==undefined){break s;}ax.ptr.$set(ba);$s=9;continue;case 7:HA(ax.ptr,aw.ptr,ax.typ);$s=9;continue;case 8:ax.ptr.$set($clone(aw,Q).object());case 9:case 4:$s=-1;return;case 3:ax.ptr=aw.ptr;$s=-1;return;}return;}var $f={$blk:Q.ptr.prototype.Set,$c:true,$r,aw,ax,ay,az,ba,$s};return $f;};Q.prototype.Set=function(aw){return this.$val.Set(aw);};Q.ptr.prototype.SetBytes=function(aw){var{aw,ax,ay,az,ba,bb,bc,$s,$r,$c}=$restore(this,{aw});$s=$s||0;s:while(true){switch($s){case 0:ax=this;new R(ax.flag).mustBeAssignable();new R(ax.flag).mustBe(23);ay=ax.typ.Elem().Kind();$s=3;case 3:if($c){$c=false;ay=ay.$blk();}if(ay&&ay.$blk!==undefined){break s;}if(!((ay===8))){$s=1;continue;}$s=2;continue;case 1:$panic(new $String("reflect.Value.SetBytes of non-byte slice"));case 2:az=aw;if(!(ax.typ.Name()==="")){ba=true;$s=6;continue s;}bb=ax.typ.Elem().Name();$s=7;case 7:if($c){$c=false;bb=bb.$blk();}if(bb&&bb.$blk!==undefined){break s;}ba=!(bb==="");case 6:if(ba){$s=4;continue;}$s=5;continue;case 4:bc=new(GI(ax.typ))(az.$array);bc.$offset=az.$offset;bc.$length=az.$length;bc.$capacity=az.$capacity;az=bc;case 5:ax.ptr.$set(az);$s=-1;return;}return;}var $f={$blk:Q.ptr.prototype.SetBytes,$c:true,$r,aw,ax,ay,az,ba,bb,bc,$s};return $f;};Q.prototype.SetBytes=function(aw){return this.$val.SetBytes(aw);};Q.ptr.prototype.SetCap=function(aw){var aw,ax,ay,az;ax=this;new R(ax.flag).mustBeAssignable();new R(ax.flag).mustBe(23);ay=ax.ptr.$get();if(aw<($parseInt(ay.$length)>>0)||aw>($parseInt(ay.$capacity)>>0)){$panic(new $String("reflect: slice capacity out of range in SetCap"));}az=new(GI(ax.typ))(ay.$array);az.$offset=ay.$offset;az.$length=ay.$length;az.$capacity=aw;ax.ptr.$set(az);};Q.prototype.SetCap=function(aw){return this.$val.SetCap(aw);};Q.ptr.prototype.SetLen=function(aw){var aw,ax,ay,az;ax=this;new R(ax.flag).mustBeAssignable();new R(ax.flag).mustBe(23);ay=ax.ptr.$get();if(aw<0||aw>($parseInt(ay.$capacity)>>0)){$panic(new $String("reflect: slice length out of range in SetLen"));}az=new(GI(ax.typ))(ay.$array);az.$offset=ay.$offset;az.$length=aw;az.$capacity=ay.$capacity;ax.ptr.$set(az);};Q.prototype.SetLen=function(aw){return this.$val.SetLen(aw);};Q.ptr.prototype.Slice=function(aw,ax){var{aw,ax,ay,az,ba,bb,bc,bd,be,bf,bg,bh,bi,bj,$s,$r,$c}=$restore(this,{aw,ax});$s=$s||0;s:while(true){switch($s){case 0:ay=this;az=0;ba=$ifaceNil;bb=null;bc=new R(ay.flag).kind();bd=bc;if(bd===(17)){$s=2;continue;}if(bd===(23)){$s=3;continue;}if(bd===(24)){$s=4;continue;}$s=5;continue;case 2:if(((ay.flag&256)>>>0)===0){$panic(new $String("reflect.Value.Slice: slice of unaddressable array"));}be=(ay.typ.kindType);az=((be.len>>0));ba=HJ(be.elem);bb=new(GI(ba))($clone(ay,Q).object());$s=6;continue;case 3:ba=ay.typ;bb=$clone(ay,Q).object();az=$parseInt(bb.$capacity)>>0;$s=6;continue;case 4:bf=(ay.ptr).$get();if(aw<0||axbf.length){$panic(new $String("reflect.Value.Slice: string slice index out of bounds"));}bg=HE(new $String($substring(bf,aw,ax)));$s=7;case 7:if($c){$c=false;bg=bg.$blk();}if(bg&&bg.$blk!==undefined){break s;}bh=bg;$s=8;case 8:return bh;case 5:$panic(new U.ptr("reflect.Value.Slice",bc));case 6:case 1:if(aw<0||axaz){$panic(new $String("reflect.Value.Slice: slice index out of bounds"));}bi=HB(ba,$subslice(bb,aw,ax),new R(ay.flag).ro());$s=9;case 9:if($c){$c=false;bi=bi.$blk();}if(bi&&bi.$blk!==undefined){break s;}bj=bi;$s=10;case 10:return bj;}return;}var $f={$blk:Q.ptr.prototype.Slice,$c:true,$r,aw,ax,ay,az,ba,bb,bc,bd,be,bf,bg,bh,bi,bj,$s};return $f;};Q.prototype.Slice=function(aw,ax){return this.$val.Slice(aw,ax);};Q.ptr.prototype.Slice3=function(aw,ax,ay){var{aw,ax,ay,az,ba,bb,bc,bd,be,bf,bg,bh,$s,$r,$c}=$restore(this,{aw,ax,ay});$s=$s||0;s:while(true){switch($s){case 0:az=this;ba=0;bb=$ifaceNil;bc=null;bd=new R(az.flag).kind();be=bd;if(be===(17)){if(((az.flag&256)>>>0)===0){$panic(new $String("reflect.Value.Slice: slice of unaddressable array"));}bf=(az.typ.kindType);ba=((bf.len>>0));bb=HJ(bf.elem);bc=new(GI(bb))($clone(az,Q).object());}else if(be===(23)){bb=az.typ;bc=$clone(az,Q).object();ba=$parseInt(bc.$capacity)>>0;}else{$panic(new U.ptr("reflect.Value.Slice3",bd));}if(aw<0||axba){$panic(new $String("reflect.Value.Slice3: slice index out of bounds"));}bg=HB(bb,$subslice(bc,aw,ax,ay),new R(az.flag).ro());$s=1;case 1:if($c){$c=false;bg=bg.$blk();}if(bg&&bg.$blk!==undefined){break s;}bh=bg;$s=2;case 2:return bh;}return;}var $f={$blk:Q.ptr.prototype.Slice3,$c:true,$r,aw,ax,ay,az,ba,bb,bc,bd,be,bf,bg,bh,$s};return $f;};Q.prototype.Slice3=function(aw,ax,ay){return this.$val.Slice3(aw,ax,ay);};Q.ptr.prototype.Close=function(){var aw;aw=this;new R(aw.flag).mustBe(18);new R(aw.flag).mustBeExported();$close($clone(aw,Q).object());};Q.prototype.Close=function(){return this.$val.Close();};IT=function(aw,ax,ay){var{aw,ax,ay,az,ba,bb,bc,bd,be,bf,bg,bh,bi,$s,$r,$c}=$restore(this,{aw,ax,ay});$s=$s||0;s:while(true){switch($s){case 0:az=false;ba=false;bb=new KX([new KR([aw])]);if(ax){bb=$append(bb,new KR([]));}bc=IS(new JH([bb]));$s=1;case 1:if($c){$c=false;bc=bc.$blk();}if(bc&&bc.$blk!==undefined){break s;}bd=bc;if(ax&&(($parseInt(bd[0])>>0)===1)){be=false;bf=false;az=be;ba=bf;$s=-1;return[az,ba];}bg=bd[1];ay.$set(bg[0]);bh=true;bi=!!(bg[1]);az=bh;ba=bi;$s=-1;return[az,ba];}return;}var $f={$blk:IT,$c:true,$r,aw,ax,ay,az,ba,bb,bc,bd,be,bf,bg,bh,bi,$s};return $f;};IU=function(aw,ax,ay){var{aw,ax,ay,az,ba,bb,$s,$r,$c}=$restore(this,{aw,ax,ay});$s=$s||0;s:while(true){switch($s){case 0:az=new KX([new KR([aw,ax.$get()])]);if(ay){az=$append(az,new KR([]));}ba=IS(new JH([az]));$s=1;case 1:if($c){$c=false;ba=ba.$blk();}if(ba&&ba.$blk!==undefined){break s;}bb=ba;if(ay&&(($parseInt(bb[0])>>0)===1)){$s=-1;return false;}$s=-1;return true;}return;}var $f={$blk:IU,$c:true,$r,aw,ax,ay,az,ba,bb,$s};return $f;};IY=function(){var aw,ax,ay,az,ba;aw=G.Caller(3);ax=aw[0];ay=G.FuncForPC(ax);if(ay===JN.nil){return"unknown method";}az=ay.Name();ba=az.length-1>>0;while(true){if(!(ba>0)){break;}if(az.charCodeAt(ba)===46){break;}ba=ba-(1)>>0;}if(ba<0){return az;}return"Value"+$substring(az,ba);};IZ=function(aw){var aw;return true;};Q.methods=[{prop:"pointer",name:"pointer",pkg:"reflect",typ:$funcType([],[$UnsafePointer],false)},{prop:"Addr",name:"Addr",pkg:"",typ:$funcType([],[Q],false)},{prop:"Bool",name:"Bool",pkg:"",typ:$funcType([],[$Bool],false)},{prop:"Bytes",name:"Bytes",pkg:"",typ:$funcType([],[JY],false)},{prop:"runes",name:"runes",pkg:"reflect",typ:$funcType([],[JZ],false)},{prop:"CanAddr",name:"CanAddr",pkg:"",typ:$funcType([],[$Bool],false)},{prop:"CanSet",name:"CanSet",pkg:"",typ:$funcType([],[$Bool],false)},{prop:"Call",name:"Call",pkg:"",typ:$funcType([JO],[JO],false)},{prop:"CallSlice",name:"CallSlice",pkg:"",typ:$funcType([JO],[JO],false)},{prop:"CanComplex",name:"CanComplex",pkg:"",typ:$funcType([],[$Bool],false)},{prop:"Complex",name:"Complex",pkg:"",typ:$funcType([],[$Complex128],false)},{prop:"FieldByIndex",name:"FieldByIndex",pkg:"",typ:$funcType([JL],[Q],false)},{prop:"FieldByIndexErr",name:"FieldByIndexErr",pkg:"",typ:$funcType([JL],[Q,$error],false)},{prop:"FieldByName",name:"FieldByName",pkg:"",typ:$funcType([$String],[Q],false)},{prop:"FieldByNameFunc",name:"FieldByNameFunc",pkg:"",typ:$funcType([LD],[Q],false)},{prop:"CanFloat",name:"CanFloat",pkg:"",typ:$funcType([],[$Bool],false)},{prop:"Float",name:"Float",pkg:"",typ:$funcType([],[$Float64],false)},{prop:"CanInt",name:"CanInt",pkg:"",typ:$funcType([],[$Bool],false)},{prop:"Int",name:"Int",pkg:"",typ:$funcType([],[$Int64],false)},{prop:"CanInterface",name:"CanInterface",pkg:"",typ:$funcType([],[$Bool],false)},{prop:"Interface",name:"Interface",pkg:"",typ:$funcType([],[$emptyInterface],false)},{prop:"IsValid",name:"IsValid",pkg:"",typ:$funcType([],[$Bool],false)},{prop:"IsZero",name:"IsZero",pkg:"",typ:$funcType([],[$Bool],false)},{prop:"Kind",name:"Kind",pkg:"",typ:$funcType([],[CL],false)},{prop:"MapIndex",name:"MapIndex",pkg:"",typ:$funcType([Q],[Q],false)},{prop:"MapKeys",name:"MapKeys",pkg:"",typ:$funcType([],[JO],false)},{prop:"SetIterKey",name:"SetIterKey",pkg:"",typ:$funcType([LE],[],false)},{prop:"SetIterValue",name:"SetIterValue",pkg:"",typ:$funcType([LE],[],false)},{prop:"MapRange",name:"MapRange",pkg:"",typ:$funcType([],[LE],false)},{prop:"Method",name:"Method",pkg:"",typ:$funcType([$Int],[Q],false)},{prop:"NumMethod",name:"NumMethod",pkg:"",typ:$funcType([],[$Int],false)},{prop:"MethodByName",name:"MethodByName",pkg:"",typ:$funcType([$String],[Q],false)},{prop:"NumField",name:"NumField",pkg:"",typ:$funcType([],[$Int],false)},{prop:"OverflowComplex",name:"OverflowComplex",pkg:"",typ:$funcType([$Complex128],[$Bool],false)},{prop:"OverflowFloat",name:"OverflowFloat",pkg:"",typ:$funcType([$Float64],[$Bool],false)},{prop:"OverflowInt",name:"OverflowInt",pkg:"",typ:$funcType([$Int64],[$Bool],false)},{prop:"OverflowUint",name:"OverflowUint",pkg:"",typ:$funcType([$Uint64],[$Bool],false)},{prop:"Recv",name:"Recv",pkg:"",typ:$funcType([],[Q,$Bool],false)},{prop:"recv",name:"recv",pkg:"reflect",typ:$funcType([$Bool],[Q,$Bool],false)},{prop:"Send",name:"Send",pkg:"",typ:$funcType([Q],[],false)},{prop:"send",name:"send",pkg:"reflect",typ:$funcType([Q,$Bool],[$Bool],false)},{prop:"SetBool",name:"SetBool",pkg:"",typ:$funcType([$Bool],[],false)},{prop:"setRunes",name:"setRunes",pkg:"reflect",typ:$funcType([JZ],[],false)},{prop:"SetComplex",name:"SetComplex",pkg:"",typ:$funcType([$Complex128],[],false)},{prop:"SetFloat",name:"SetFloat",pkg:"",typ:$funcType([$Float64],[],false)},{prop:"SetInt",name:"SetInt",pkg:"",typ:$funcType([$Int64],[],false)},{prop:"SetMapIndex",name:"SetMapIndex",pkg:"",typ:$funcType([Q,Q],[],false)},{prop:"SetUint",name:"SetUint",pkg:"",typ:$funcType([$Uint64],[],false)},{prop:"SetPointer",name:"SetPointer",pkg:"",typ:$funcType([$UnsafePointer],[],false)},{prop:"SetString",name:"SetString",pkg:"",typ:$funcType([$String],[],false)},{prop:"String",name:"String",pkg:"",typ:$funcType([],[$String],false)},{prop:"TryRecv",name:"TryRecv",pkg:"",typ:$funcType([],[Q,$Bool],false)},{prop:"TrySend",name:"TrySend",pkg:"",typ:$funcType([Q],[$Bool],false)},{prop:"Type",name:"Type",pkg:"",typ:$funcType([],[CK],false)},{prop:"CanUint",name:"CanUint",pkg:"",typ:$funcType([],[$Bool],false)},{prop:"Uint",name:"Uint",pkg:"",typ:$funcType([],[$Uint64],false)},{prop:"UnsafeAddr",name:"UnsafeAddr",pkg:"",typ:$funcType([],[$Uintptr],false)},{prop:"UnsafePointer",name:"UnsafePointer",pkg:"",typ:$funcType([],[$UnsafePointer],false)},{prop:"Convert",name:"Convert",pkg:"",typ:$funcType([CK],[Q],false)},{prop:"CanConvert",name:"CanConvert",pkg:"",typ:$funcType([CK],[$Bool],false)},{prop:"object",name:"object",pkg:"reflect",typ:$funcType([],[JI],false)},{prop:"assignTo",name:"assignTo",pkg:"reflect",typ:$funcType([$String,JE,$UnsafePointer],[Q],false)},{prop:"call",name:"call",pkg:"reflect",typ:$funcType([$String,JO],[JO],false)},{prop:"Cap",name:"Cap",pkg:"",typ:$funcType([],[$Int],false)},{prop:"Elem",name:"Elem",pkg:"",typ:$funcType([],[Q],false)},{prop:"Field",name:"Field",pkg:"",typ:$funcType([$Int],[Q],false)},{prop:"Index",name:"Index",pkg:"",typ:$funcType([$Int],[Q],false)},{prop:"InterfaceData",name:"InterfaceData",pkg:"",typ:$funcType([],[LF],false)},{prop:"IsNil",name:"IsNil",pkg:"",typ:$funcType([],[$Bool],false)},{prop:"Len",name:"Len",pkg:"",typ:$funcType([],[$Int],false)},{prop:"Pointer",name:"Pointer",pkg:"",typ:$funcType([],[$Uintptr],false)},{prop:"Set",name:"Set",pkg:"",typ:$funcType([Q],[],false)},{prop:"SetBytes",name:"SetBytes",pkg:"",typ:$funcType([JY],[],false)},{prop:"SetCap",name:"SetCap",pkg:"",typ:$funcType([$Int],[],false)},{prop:"SetLen",name:"SetLen",pkg:"",typ:$funcType([$Int],[],false)},{prop:"Slice",name:"Slice",pkg:"",typ:$funcType([$Int,$Int],[Q],false)},{prop:"Slice3",name:"Slice3",pkg:"",typ:$funcType([$Int,$Int,$Int],[Q],false)},{prop:"Close",name:"Close",pkg:"",typ:$funcType([],[],false)}];R.methods=[{prop:"kind",name:"kind",pkg:"reflect",typ:$funcType([],[CL],false)},{prop:"ro",name:"ro",pkg:"reflect",typ:$funcType([],[R],false)},{prop:"mustBe",name:"mustBe",pkg:"reflect",typ:$funcType([CL],[],false)},{prop:"mustBeExported",name:"mustBeExported",pkg:"reflect",typ:$funcType([],[],false)},{prop:"mustBeExportedSlow",name:"mustBeExportedSlow",pkg:"reflect",typ:$funcType([],[],false)},{prop:"mustBeAssignable",name:"mustBeAssignable",pkg:"reflect",typ:$funcType([],[],false)},{prop:"mustBeAssignableSlow",name:"mustBeAssignableSlow",pkg:"reflect",typ:$funcType([],[],false)}];LG.methods=[{prop:"Error",name:"Error",pkg:"",typ:$funcType([],[$String],false)}];LE.methods=[{prop:"Key",name:"Key",pkg:"",typ:$funcType([],[Q],false)},{prop:"Value",name:"Value",pkg:"",typ:$funcType([],[Q],false)},{prop:"Next",name:"Next",pkg:"",typ:$funcType([],[$Bool],false)},{prop:"Reset",name:"Reset",pkg:"",typ:$funcType([Q],[],false)}];CL.methods=[{prop:"String",name:"String",pkg:"",typ:$funcType([],[$String],false)}];JE.methods=[{prop:"textOff",name:"textOff",pkg:"reflect",typ:$funcType([DK],[$UnsafePointer],false)},{prop:"String",name:"String",pkg:"",typ:$funcType([],[$String],false)},{prop:"Size",name:"Size",pkg:"",typ:$funcType([],[$Uintptr],false)},{prop:"Bits",name:"Bits",pkg:"",typ:$funcType([],[$Int],false)},{prop:"Align",name:"Align",pkg:"",typ:$funcType([],[$Int],false)},{prop:"FieldAlign",name:"FieldAlign",pkg:"",typ:$funcType([],[$Int],false)},{prop:"Kind",name:"Kind",pkg:"",typ:$funcType([],[CL],false)},{prop:"common",name:"common",pkg:"reflect",typ:$funcType([],[JE],false)},{prop:"exportedMethods",name:"exportedMethods",pkg:"reflect",typ:$funcType([],[KB],false)},{prop:"NumMethod",name:"NumMethod",pkg:"",typ:$funcType([],[$Int],false)},{prop:"MethodByName",name:"MethodByName",pkg:"",typ:$funcType([$String],[DA,$Bool],false)},{prop:"PkgPath",name:"PkgPath",pkg:"",typ:$funcType([],[$String],false)},{prop:"hasName",name:"hasName",pkg:"reflect",typ:$funcType([],[$Bool],false)},{prop:"Name",name:"Name",pkg:"",typ:$funcType([],[$String],false)},{prop:"ChanDir",name:"ChanDir",pkg:"",typ:$funcType([],[CP],false)},{prop:"IsVariadic",name:"IsVariadic",pkg:"",typ:$funcType([],[$Bool],false)},{prop:"Elem",name:"Elem",pkg:"",typ:$funcType([],[CK],false)},{prop:"Field",name:"Field",pkg:"",typ:$funcType([$Int],[DM],false)},{prop:"FieldByIndex",name:"FieldByIndex",pkg:"",typ:$funcType([JL],[DM],false)},{prop:"FieldByName",name:"FieldByName",pkg:"",typ:$funcType([$String],[DM,$Bool],false)},{prop:"FieldByNameFunc",name:"FieldByNameFunc",pkg:"",typ:$funcType([LD],[DM,$Bool],false)},{prop:"In",name:"In",pkg:"",typ:$funcType([$Int],[CK],false)},{prop:"Key",name:"Key",pkg:"",typ:$funcType([],[CK],false)},{prop:"Len",name:"Len",pkg:"",typ:$funcType([],[$Int],false)},{prop:"NumField",name:"NumField",pkg:"",typ:$funcType([],[$Int],false)},{prop:"NumIn",name:"NumIn",pkg:"",typ:$funcType([],[$Int],false)},{prop:"NumOut",name:"NumOut",pkg:"",typ:$funcType([],[$Int],false)},{prop:"Out",name:"Out",pkg:"",typ:$funcType([$Int],[CK],false)},{prop:"Implements",name:"Implements",pkg:"",typ:$funcType([CK],[$Bool],false)},{prop:"AssignableTo",name:"AssignableTo",pkg:"",typ:$funcType([CK],[$Bool],false)},{prop:"ConvertibleTo",name:"ConvertibleTo",pkg:"",typ:$funcType([CK],[$Bool],false)},{prop:"gcSlice",name:"gcSlice",pkg:"reflect",typ:$funcType([$Uintptr,$Uintptr],[JY],false)},{prop:"uncommon",name:"uncommon",pkg:"reflect",typ:$funcType([],[KA],false)},{prop:"nameOff",name:"nameOff",pkg:"reflect",typ:$funcType([DI],[GO],false)},{prop:"typeOff",name:"typeOff",pkg:"reflect",typ:$funcType([DJ],[JE],false)},{prop:"ptrTo",name:"ptrTo",pkg:"reflect",typ:$funcType([],[JE],false)},{prop:"pointers",name:"pointers",pkg:"reflect",typ:$funcType([],[$Bool],false)},{prop:"Comparable",name:"Comparable",pkg:"",typ:$funcType([],[$Bool],false)},{prop:"Method",name:"Method",pkg:"",typ:$funcType([$Int],[DA],false)}];CP.methods=[{prop:"String",name:"String",pkg:"",typ:$funcType([],[$String],false)}];KC.methods=[{prop:"Method",name:"Method",pkg:"",typ:$funcType([$Int],[DA],false)},{prop:"NumMethod",name:"NumMethod",pkg:"",typ:$funcType([],[$Int],false)},{prop:"MethodByName",name:"MethodByName",pkg:"",typ:$funcType([$String],[DA,$Bool],false)}];LN.methods=[{prop:"offset",name:"offset",pkg:"reflect",typ:$funcType([],[$Uintptr],false)},{prop:"embedded",name:"embedded",pkg:"reflect",typ:$funcType([],[$Bool],false)}];KF.methods=[{prop:"Field",name:"Field",pkg:"",typ:$funcType([$Int],[DM],false)},{prop:"FieldByIndex",name:"FieldByIndex",pkg:"",typ:$funcType([JL],[DM],false)},{prop:"FieldByNameFunc",name:"FieldByNameFunc",pkg:"",typ:$funcType([LD],[DM,$Bool],false)},{prop:"FieldByName",name:"FieldByName",pkg:"",typ:$funcType([$String],[DM,$Bool],false)}];DA.methods=[{prop:"IsExported",name:"IsExported",pkg:"",typ:$funcType([],[$Bool],false)}];DM.methods=[{prop:"IsExported",name:"IsExported",pkg:"",typ:$funcType([],[$Bool],false)}];DN.methods=[{prop:"Get",name:"Get",pkg:"",typ:$funcType([$String],[$String],false)},{prop:"Lookup",name:"Lookup",pkg:"",typ:$funcType([$String],[$String,$Bool],false)}];KA.methods=[{prop:"methods",name:"methods",pkg:"reflect",typ:$funcType([],[KB],false)},{prop:"exportedMethods",name:"exportedMethods",pkg:"reflect",typ:$funcType([],[KB],false)}];KV.methods=[{prop:"in$",name:"in",pkg:"reflect",typ:$funcType([],[JF],false)},{prop:"out",name:"out",pkg:"reflect",typ:$funcType([],[JF],false)}];GO.methods=[{prop:"data",name:"data",pkg:"reflect",typ:$funcType([$Int,$String],[KG],false)},{prop:"hasTag",name:"hasTag",pkg:"reflect",typ:$funcType([],[$Bool],false)},{prop:"readVarint",name:"readVarint",pkg:"reflect",typ:$funcType([$Int],[$Int,$Int],false)},{prop:"name",name:"name",pkg:"reflect",typ:$funcType([],[$String],false)},{prop:"tag",name:"tag",pkg:"reflect",typ:$funcType([],[$String],false)},{prop:"pkgPath",name:"pkgPath",pkg:"reflect",typ:$funcType([],[$String],false)},{prop:"isExported",name:"isExported",pkg:"reflect",typ:$funcType([],[$Bool],false)}];LX.methods=[{prop:"initialized",name:"initialized",pkg:"reflect",typ:$funcType([],[$Bool],false)},{prop:"skipUntilValidKey",name:"skipUntilValidKey",pkg:"reflect",typ:$funcType([],[],false)}];Q.init("reflect",[{prop:"typ",name:"typ",embedded:false,exported:false,typ:JE,tag:""},{prop:"ptr",name:"ptr",embedded:false,exported:false,typ:$UnsafePointer,tag:""},{prop:"flag",name:"flag",embedded:true,exported:false,typ:R,tag:""}]);U.init("",[{prop:"Method",name:"Method",embedded:false,exported:true,typ:$String,tag:""},{prop:"Kind",name:"Kind",embedded:false,exported:true,typ:CL,tag:""}]);AG.init("reflect",[{prop:"m",name:"m",embedded:false,exported:false,typ:Q,tag:""},{prop:"hiter",name:"hiter",embedded:false,exported:false,typ:IA,tag:""}]);CK.init([{prop:"Align",name:"Align",pkg:"",typ:$funcType([],[$Int],false)},{prop:"AssignableTo",name:"AssignableTo",pkg:"",typ:$funcType([CK],[$Bool],false)},{prop:"Bits",name:"Bits",pkg:"",typ:$funcType([],[$Int],false)},{prop:"ChanDir",name:"ChanDir",pkg:"",typ:$funcType([],[CP],false)},{prop:"Comparable",name:"Comparable",pkg:"",typ:$funcType([],[$Bool],false)},{prop:"ConvertibleTo",name:"ConvertibleTo",pkg:"",typ:$funcType([CK],[$Bool],false)},{prop:"Elem",name:"Elem",pkg:"",typ:$funcType([],[CK],false)},{prop:"Field",name:"Field",pkg:"",typ:$funcType([$Int],[DM],false)},{prop:"FieldAlign",name:"FieldAlign",pkg:"",typ:$funcType([],[$Int],false)},{prop:"FieldByIndex",name:"FieldByIndex",pkg:"",typ:$funcType([JL],[DM],false)},{prop:"FieldByName",name:"FieldByName",pkg:"",typ:$funcType([$String],[DM,$Bool],false)},{prop:"FieldByNameFunc",name:"FieldByNameFunc",pkg:"",typ:$funcType([LD],[DM,$Bool],false)},{prop:"Implements",name:"Implements",pkg:"",typ:$funcType([CK],[$Bool],false)},{prop:"In",name:"In",pkg:"",typ:$funcType([$Int],[CK],false)},{prop:"IsVariadic",name:"IsVariadic",pkg:"",typ:$funcType([],[$Bool],false)},{prop:"Key",name:"Key",pkg:"",typ:$funcType([],[CK],false)},{prop:"Kind",name:"Kind",pkg:"",typ:$funcType([],[CL],false)},{prop:"Len",name:"Len",pkg:"",typ:$funcType([],[$Int],false)},{prop:"Method",name:"Method",pkg:"",typ:$funcType([$Int],[DA],false)},{prop:"MethodByName",name:"MethodByName",pkg:"",typ:$funcType([$String],[DA,$Bool],false)},{prop:"Name",name:"Name",pkg:"",typ:$funcType([],[$String],false)},{prop:"NumField",name:"NumField",pkg:"",typ:$funcType([],[$Int],false)},{prop:"NumIn",name:"NumIn",pkg:"",typ:$funcType([],[$Int],false)},{prop:"NumMethod",name:"NumMethod",pkg:"",typ:$funcType([],[$Int],false)},{prop:"NumOut",name:"NumOut",pkg:"",typ:$funcType([],[$Int],false)},{prop:"Out",name:"Out",pkg:"",typ:$funcType([$Int],[CK],false)},{prop:"PkgPath",name:"PkgPath",pkg:"",typ:$funcType([],[$String],false)},{prop:"Size",name:"Size",pkg:"",typ:$funcType([],[$Uintptr],false)},{prop:"String",name:"String",pkg:"",typ:$funcType([],[$String],false)},{prop:"common",name:"common",pkg:"reflect",typ:$funcType([],[JE],false)},{prop:"uncommon",name:"uncommon",pkg:"reflect",typ:$funcType([],[KA],false)}]);CN.init("reflect",[{prop:"size",name:"size",embedded:false,exported:false,typ:$Uintptr,tag:""},{prop:"ptrdata",name:"ptrdata",embedded:false,exported:false,typ:$Uintptr,tag:""},{prop:"hash",name:"hash",embedded:false,exported:false,typ:$Uint32,tag:""},{prop:"tflag",name:"tflag",embedded:false,exported:false,typ:CM,tag:""},{prop:"align",name:"align",embedded:false,exported:false,typ:$Uint8,tag:""},{prop:"fieldAlign",name:"fieldAlign",embedded:false,exported:false,typ:$Uint8,tag:""},{prop:"kind",name:"kind",embedded:false,exported:false,typ:$Uint8,tag:""},{prop:"equal",name:"equal",embedded:false,exported:false,typ:LL,tag:""},{prop:"gcdata",name:"gcdata",embedded:false,exported:false,typ:KG,tag:""},{prop:"str",name:"str",embedded:false,exported:false,typ:DI,tag:""},{prop:"ptrToThis",name:"ptrToThis",embedded:false,exported:false,typ:DJ,tag:""}]);CO.init("reflect",[{prop:"name",name:"name",embedded:false,exported:false,typ:DI,tag:""},{prop:"mtyp",name:"mtyp",embedded:false,exported:false,typ:DJ,tag:""},{prop:"ifn",name:"ifn",embedded:false,exported:false,typ:DK,tag:""},{prop:"tfn",name:"tfn",embedded:false,exported:false,typ:DK,tag:""}]);CQ.init("reflect",[{prop:"rtype",name:"rtype",embedded:true,exported:false,typ:CN,tag:""},{prop:"elem",name:"elem",embedded:false,exported:false,typ:JE,tag:""},{prop:"slice",name:"slice",embedded:false,exported:false,typ:JE,tag:""},{prop:"len",name:"len",embedded:false,exported:false,typ:$Uintptr,tag:""}]);CR.init("reflect",[{prop:"rtype",name:"rtype",embedded:true,exported:false,typ:CN,tag:""},{prop:"elem",name:"elem",embedded:false,exported:false,typ:JE,tag:""},{prop:"dir",name:"dir",embedded:false,exported:false,typ:$Uintptr,tag:""}]);CS.init("reflect",[{prop:"name",name:"name",embedded:false,exported:false,typ:DI,tag:""},{prop:"typ",name:"typ",embedded:false,exported:false,typ:DJ,tag:""}]);CT.init("reflect",[{prop:"rtype",name:"rtype",embedded:true,exported:false,typ:CN,tag:""},{prop:"pkgPath",name:"pkgPath",embedded:false,exported:false,typ:GO,tag:""},{prop:"methods",name:"methods",embedded:false,exported:false,typ:KN,tag:""}]);CU.init("reflect",[{prop:"rtype",name:"rtype",embedded:true,exported:false,typ:CN,tag:""},{prop:"key",name:"key",embedded:false,exported:false,typ:JE,tag:""},{prop:"elem",name:"elem",embedded:false,exported:false,typ:JE,tag:""},{prop:"bucket",name:"bucket",embedded:false,exported:false,typ:JE,tag:""},{prop:"hasher",name:"hasher",embedded:false,exported:false,typ:LM,tag:""},{prop:"keysize",name:"keysize",embedded:false,exported:false,typ:$Uint8,tag:""},{prop:"valuesize",name:"valuesize",embedded:false,exported:false,typ:$Uint8,tag:""},{prop:"bucketsize",name:"bucketsize",embedded:false,exported:false,typ:$Uint16,tag:""},{prop:"flags",name:"flags",embedded:false,exported:false,typ:$Uint32,tag:""}]);CV.init("reflect",[{prop:"rtype",name:"rtype",embedded:true,exported:false,typ:CN,tag:""},{prop:"elem",name:"elem",embedded:false,exported:false,typ:JE,tag:""}]);CW.init("reflect",[{prop:"rtype",name:"rtype",embedded:true,exported:false,typ:CN,tag:""},{prop:"elem",name:"elem",embedded:false,exported:false,typ:JE,tag:""}]);CX.init("reflect",[{prop:"name",name:"name",embedded:false,exported:false,typ:GO,tag:""},{prop:"typ",name:"typ",embedded:false,exported:false,typ:JE,tag:""},{prop:"offsetEmbed",name:"offsetEmbed",embedded:false,exported:false,typ:$Uintptr,tag:""}]);CY.init("reflect",[{prop:"rtype",name:"rtype",embedded:true,exported:false,typ:CN,tag:""},{prop:"pkgPath",name:"pkgPath",embedded:false,exported:false,typ:GO,tag:""},{prop:"fields",name:"fields",embedded:false,exported:false,typ:KO,tag:""}]);DA.init("",[{prop:"Name",name:"Name",embedded:false,exported:true,typ:$String,tag:""},{prop:"PkgPath",name:"PkgPath",embedded:false,exported:true,typ:$String,tag:""},{prop:"Type",name:"Type",embedded:false,exported:true,typ:CK,tag:""},{prop:"Func",name:"Func",embedded:false,exported:true,typ:Q,tag:""},{prop:"Index",name:"Index",embedded:false,exported:true,typ:$Int,tag:""}]);DM.init("",[{prop:"Name",name:"Name",embedded:false,exported:true,typ:$String,tag:""},{prop:"PkgPath",name:"PkgPath",embedded:false,exported:true,typ:$String,tag:""},{prop:"Type",name:"Type",embedded:false,exported:true,typ:CK,tag:""},{prop:"Tag",name:"Tag",embedded:false,exported:true,typ:DN,tag:""},{prop:"Offset",name:"Offset",embedded:false,exported:true,typ:$Uintptr,tag:""},{prop:"Index",name:"Index",embedded:false,exported:true,typ:JL,tag:""},{prop:"Anonymous",name:"Anonymous",embedded:false,exported:true,typ:$Bool,tag:""}]);DO.init("reflect",[{prop:"typ",name:"typ",embedded:false,exported:false,typ:KF,tag:""},{prop:"index",name:"index",embedded:false,exported:false,typ:JL,tag:""}]);GL.init("reflect",[{prop:"pkgPath",name:"pkgPath",embedded:false,exported:false,typ:DI,tag:""},{prop:"mcount",name:"mcount",embedded:false,exported:false,typ:$Uint16,tag:""},{prop:"xcount",name:"xcount",embedded:false,exported:false,typ:$Uint16,tag:""},{prop:"moff",name:"moff",embedded:false,exported:false,typ:$Uint32,tag:""},{prop:"_methods",name:"_methods",embedded:false,exported:false,typ:KB,tag:""}]);GN.init("reflect",[{prop:"rtype",name:"rtype",embedded:true,exported:false,typ:CN,tag:"reflect:\"func\""},{prop:"inCount",name:"inCount",embedded:false,exported:false,typ:$Uint16,tag:""},{prop:"outCount",name:"outCount",embedded:false,exported:false,typ:$Uint16,tag:""},{prop:"_in",name:"_in",embedded:false,exported:false,typ:JF,tag:""},{prop:"_out",name:"_out",embedded:false,exported:false,typ:JF,tag:""}]);GO.init("reflect",[{prop:"bytes",name:"bytes",embedded:false,exported:false,typ:KG,tag:""}]);GP.init("reflect",[{prop:"name",name:"name",embedded:false,exported:false,typ:$String,tag:""},{prop:"tag",name:"tag",embedded:false,exported:false,typ:$String,tag:""},{prop:"exported",name:"exported",embedded:false,exported:false,typ:$Bool,tag:""},{prop:"pkgPath",name:"pkgPath",embedded:false,exported:false,typ:$String,tag:""}]);IA.init("reflect",[{prop:"t",name:"t",embedded:false,exported:false,typ:CK,tag:""},{prop:"m",name:"m",embedded:false,exported:false,typ:JI,tag:""},{prop:"keys",name:"keys",embedded:false,exported:false,typ:JI,tag:""},{prop:"i",name:"i",embedded:false,exported:false,typ:$Int,tag:""},{prop:"last",name:"last",embedded:false,exported:false,typ:JI,tag:""}]);$init=function(){$pkg.$init=function(){};var $f,$c=false,$s=0,$r;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:$r=A.$init();$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=N.$init();$s=2;case 2:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=B.$init();$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=L.$init();$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=C.$init();$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=M.$init();$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=D.$init();$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=E.$init();$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=F.$init();$s=9;case 9:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=G.$init();$s=10;case 10:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=H.$init();$s=11;case 11:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=I.$init();$s=12;case 12:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=J.$init();$s=13;case 13:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=K.$init();$s=14;case 14:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}GT=JD.nil;GV=JF.nil;DB=new JG(["invalid","bool","int","int8","int16","int32","int64","uint","uint8","uint16","uint32","uint64","uintptr","float32","float64","complex64","complex128","array","chan","func","interface","map","ptr","slice","string","struct","unsafe.Pointer"]);GF=false;GM={};GQ={};AE=$assertType(HD(new $Uint8(0)),JE);AF=$assertType(HD(new $String("")),JE);IN=$assertType($internalize($call,$emptyInterface),JJ);IO=GJ($jsObjectPtr);IS=$assertType($internalize($select,$emptyInterface),JJ);$r=GG();$s=15;case 15:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}}return;}if($f===undefined){$f={$blk:$init};}$f.$s=$s;$f.$r=$r;return $f;};$pkg.$init=$init;return $pkg;})(); $packages["sort"]=(function(){var $pkg={},$init,A,V,AZ,BA,AN,AO,B,C,D,E,G,H,M,Q,U,AJ,AK,AL,AM,AP;A=$packages["internal/reflectlite"];V=$pkg.lessSwap=$newType(0,$kindStruct,"sort.lessSwap",true,"sort",false,function(Less_,Swap_){this.$val=this;if(arguments.length===0){this.Less=$throwNilPointerError;this.Swap=$throwNilPointerError;return;}this.Less=Less_;this.Swap=Swap_;});AZ=$funcType([$Int,$Int],[$Bool],false);BA=$funcType([$Int,$Int],[],false);B=function(a,b,c){var{a,b,c,d,e,f,g,$s,$r,$c}=$restore(this,{a,b,c});$s=$s||0;s:while(true){switch($s){case 0:d=b+1>>0;case 1:if(!(db)){f=false;$s=5;continue s;}g=a.Less(e,e-1>>0);$s=6;case 6:if($c){$c=false;g=g.$blk();}if(g&&g.$blk!==undefined){break s;}f=g;case 5:if(!(f)){$s=4;continue;}$r=a.Swap(e,e-1>>0);$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}e=e-(1)>>0;$s=3;continue;case 4:d=d+(1)>>0;$s=1;continue;case 2:$s=-1;return;}return;}var $f={$blk:B,$c:true,$r,a,b,c,d,e,f,g,$s};return $f;};C=function(a,b,c,d){var{a,b,c,d,e,f,g,h,i,$s,$r,$c}=$restore(this,{a,b,c,d});$s=$s||0;s:while(true){switch($s){case 0:e=b;case 1:f=($imul(2,e))+1>>0;if(f>=c){$s=2;continue;}if(!((f+1>>0)>0,(d+f>>0)+1>>0);$s=6;case 6:if($c){$c=false;h=h.$blk();}if(h&&h.$blk!==undefined){break s;}g=h;case 5:if(g){$s=3;continue;}$s=4;continue;case 3:f=f+(1)>>0;case 4:i=a.Less(d+e>>0,d+f>>0);$s=9;case 9:if($c){$c=false;i=i.$blk();}if(i&&i.$blk!==undefined){break s;}if(!i){$s=7;continue;}$s=8;continue;case 7:$s=-1;return;case 8:$r=a.Swap(d+e>>0,d+f>>0);$s=10;case 10:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}e=f;$s=1;continue;case 2:$s=-1;return;}return;}var $f={$blk:C,$c:true,$r,a,b,c,d,e,f,g,h,i,$s};return $f;};D=function(a,b,c){var{a,b,c,d,e,f,g,h,i,$s,$r,$c}=$restore(this,{a,b,c});$s=$s||0;s:while(true){switch($s){case 0:d=b;e=0;f=c-b>>0;h=(g=((f-1>>0))/2,(g===g&&g!==1/0&&g!==-1/0)?g>>0:$throwRuntimeError("integer divide by zero"));case 1:if(!(h>=0)){$s=2;continue;}$r=C($clone(a,V),h,f,d);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}h=h-(1)>>0;$s=1;continue;case 2:i=f-1>>0;case 4:if(!(i>=0)){$s=5;continue;}$r=a.Swap(d,d+i>>0);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=C($clone(a,V),e,i,d);$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}i=i-(1)>>0;$s=4;continue;case 5:$s=-1;return;}return;}var $f={$blk:D,$c:true,$r,a,b,c,d,e,f,g,h,i,$s};return $f;};E=function(a,b,c,d){var{a,b,c,d,e,f,g,$s,$r,$c}=$restore(this,{a,b,c,d});$s=$s||0;s:while(true){switch($s){case 0:e=a.Less(b,c);$s=3;case 3:if($c){$c=false;e=e.$blk();}if(e&&e.$blk!==undefined){break s;}if(e){$s=1;continue;}$s=2;continue;case 1:$r=a.Swap(b,c);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:f=a.Less(d,b);$s=7;case 7:if($c){$c=false;f=f.$blk();}if(f&&f.$blk!==undefined){break s;}if(f){$s=5;continue;}$s=6;continue;case 5:$r=a.Swap(d,b);$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}g=a.Less(b,c);$s=11;case 11:if($c){$c=false;g=g.$blk();}if(g&&g.$blk!==undefined){break s;}if(g){$s=9;continue;}$s=10;continue;case 9:$r=a.Swap(b,c);$s=12;case 12:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 10:case 6:$s=-1;return;}return;}var $f={$blk:E,$c:true,$r,a,b,c,d,e,f,g,$s};return $f;};G=function(a,b,c){var{a,aa,ab,ac,ad,ae,af,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,$s,$r,$c}=$restore(this,{a,b,c});$s=$s||0;s:while(true){switch($s){case 0:d=0;e=0;f=((((((b+c>>0)>>>0))>>>1>>>0)>>0));if((c-b>>0)>40){$s=1;continue;}$s=2;continue;case 1:h=(g=((c-b>>0))/8,(g===g&&g!==1/0&&g!==-1/0)?g>>0:$throwRuntimeError("integer divide by zero"));$r=E($clone(a,V),b,b+h>>0,b+($imul(2,h))>>0);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=E($clone(a,V),f,f-h>>0,f+h>>0);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=E($clone(a,V),c-1>>0,(c-1>>0)-h>>0,(c-1>>0)-($imul(2,h))>>0);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$r=E($clone(a,V),b,f,c-1>>0);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}i=b;j=b+1>>0;k=c-1>>0;l=j;m=k;case 7:if(!(l>0;$s=7;continue;case 8:p=l;case 11:case 13:if(!(p>0;$s=13;continue;case 14:case 17:if(!(p>0);$s=20;case 20:if($c){$c=false;t=t.$blk();}if(t&&t.$blk!==undefined){break s;}s=t;case 19:if(!(s)){$s=18;continue;}m=m-(1)>>0;$s=17;continue;case 18:if(p>=m){$s=12;continue;}$r=a.Swap(p,m-1>>0);$s=21;case 21:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}p=p+(1)>>0;m=m-(1)>>0;$s=11;continue;case 12:u=(c-m>>0)<5;if(!u&&(c-m>>0)<(v=((c-b>>0))/4,(v===v&&v!==1/0&&v!==-1/0)?v>>0:$throwRuntimeError("integer divide by zero"))){$s=22;continue;}$s=23;continue;case 22:w=0;x=a.Less(i,c-1>>0);$s=26;case 26:if($c){$c=false;x=x.$blk();}if(x&&x.$blk!==undefined){break s;}if(!x){$s=24;continue;}$s=25;continue;case 24:$r=a.Swap(m,c-1>>0);$s=27;case 27:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}m=m+(1)>>0;w=w+(1)>>0;case 25:y=a.Less(p-1>>0,i);$s=30;case 30:if($c){$c=false;y=y.$blk();}if(y&&y.$blk!==undefined){break s;}if(!y){$s=28;continue;}$s=29;continue;case 28:p=p-(1)>>0;w=w+(1)>>0;case 29:z=a.Less(f,i);$s=33;case 33:if($c){$c=false;z=z.$blk();}if(z&&z.$blk!==undefined){break s;}if(!z){$s=31;continue;}$s=32;continue;case 31:$r=a.Swap(f,p-1>>0);$s=34;case 34:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}p=p-(1)>>0;w=w+(1)>>0;case 32:u=w>1;case 23:if(u){$s=35;continue;}$s=36;continue;case 35:case 37:case 39:if(!(l>0,i);$s=42;case 42:if($c){$c=false;ab=ab.$blk();}if(ab&&ab.$blk!==undefined){break s;}aa=!ab;case 41:if(!(aa)){$s=40;continue;}p=p-(1)>>0;$s=39;continue;case 40:case 43:if(!(l>0;$s=43;continue;case 44:if(l>=p){$s=38;continue;}$r=a.Swap(l,p-1>>0);$s=47;case 47:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}l=l+(1)>>0;p=p-(1)>>0;$s=37;continue;case 38:case 36:$r=a.Swap(i,p-1>>0);$s=48;case 48:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}ae=p-1>>0;af=m;d=ae;e=af;$s=-1;return[d,e];}return;}var $f={$blk:G,$c:true,$r,a,aa,ab,ac,ad,ae,af,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,$s};return $f;};H=function(a,b,c,d){var{a,b,c,d,e,f,g,h,i,j,$s,$r,$c}=$restore(this,{a,b,c,d});$s=$s||0;s:while(true){switch($s){case 0:case 1:if(!((c-b>>0)>12)){$s=2;continue;}if(d===0){$s=3;continue;}$s=4;continue;case 3:$r=D($clone(a,V),b,c);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return;case 4:d=d-(1)>>0;f=G($clone(a,V),b,c);$s=6;case 6:if($c){$c=false;f=f.$blk();}if(f&&f.$blk!==undefined){break s;}e=f;g=e[0];h=e[1];if((g-b>>0)<(c-h>>0)){$s=7;continue;}$s=8;continue;case 7:$r=H($clone(a,V),b,g,d);$s=10;case 10:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}b=h;$s=9;continue;case 8:$r=H($clone(a,V),h,c,d);$s=11;case 11:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}c=g;case 9:$s=1;continue;case 2:if((c-b>>0)>1){$s=12;continue;}$s=13;continue;case 12:i=b+6>>0;case 14:if(!(i>0);$s=18;case 18:if($c){$c=false;j=j.$blk();}if(j&&j.$blk!==undefined){break s;}if(j){$s=16;continue;}$s=17;continue;case 16:$r=a.Swap(i,i-6>>0);$s=19;case 19:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 17:i=i+(1)>>0;$s=14;continue;case 15:$r=B($clone(a,V),b,c);$s=20;case 20:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 13:$s=-1;return;}return;}var $f={$blk:H,$c:true,$r,a,b,c,d,e,f,g,h,i,j,$s};return $f;};M=function(a,b,c){var{a,b,c,d,e,f,g,$s,$r,$c}=$restore(this,{a,b,c});$s=$s||0;s:while(true){switch($s){case 0:d=b+1>>0;case 1:if(!(db)){f=false;$s=5;continue s;}g=a.Less(e,e-1>>0);$s=6;case 6:if($c){$c=false;g=g.$blk();}if(g&&g.$blk!==undefined){break s;}f=g;case 5:if(!(f)){$s=4;continue;}$r=a.Swap(e,e-1>>0);$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}e=e-(1)>>0;$s=3;continue;case 4:d=d+(1)>>0;$s=1;continue;case 2:$s=-1;return;}return;}var $f={$blk:M,$c:true,$r,a,b,c,d,e,f,g,$s};return $f;};Q=function(a,b,c,d){var{a,b,c,d,e,$s,$r,$c}=$restore(this,{a,b,c,d});$s=$s||0;s:while(true){switch($s){case 0:e=0;case 1:if(!(e>0,c+e>>0);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}e=e+(1)>>0;$s=1;continue;case 2:$s=-1;return;}return;}var $f={$blk:Q,$c:true,$r,a,b,c,d,e,$s};return $f;};U=function(a){var a,b,c;b=0;c=a;while(true){if(!(c>0)){break;}b=b+(1)>>0;c=(c>>$min((1),31))>>0;}return $imul(b,2);};AJ=function(a){var{a,b,c,d,$s,$r,$c}=$restore(this,{a});$s=$s||0;s:while(true){switch($s){case 0:b=a;c=a.Len();$s=1;case 1:if($c){$c=false;c=c.$blk();}if(c&&c.$blk!==undefined){break s;}d=c;$r=AK(b,d);$s=2;case 2:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return;}return;}var $f={$blk:AJ,$c:true,$r,a,b,c,d,$s};return $f;};$pkg.Stable=AJ;AK=function(a,b){var{a,b,c,d,e,f,g,h,i,j,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=20;d=0;e=c;f=d;g=e;case 1:if(!(g<=b)){$s=2;continue;}$r=M(a,f,g);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}f=g;g=g+(c)>>0;$s=1;continue;case 2:$r=M(a,f,b);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 5:if(!(c>0,g);$s=9;case 9:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}f=g;g=g+(($imul(2,c)))>>0;$s=7;continue;case 8:j=f+c>>0;if(j>0)===1){$s=1;continue;}$s=2;continue;case 1:e=c;f=d;case 3:if(!(e>0)>>>0))>>>1>>>0)>>0));h=a.Less(g,b);$s=8;case 8:if($c){$c=false;h=h.$blk();}if(h&&h.$blk!==undefined){break s;}if(h){$s=5;continue;}$s=6;continue;case 5:e=g+1>>0;$s=7;continue;case 6:f=g;case 7:$s=3;continue;case 4:i=b;case 9:if(!(i<(e-1>>0))){$s=10;continue;}$r=a.Swap(i,i+1>>0);$s=11;case 11:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}i=i+(1)>>0;$s=9;continue;case 10:$s=-1;return;case 2:if((d-c>>0)===1){$s=12;continue;}$s=13;continue;case 12:j=b;k=c;case 14:if(!(j>0)>>>0))>>>1>>>0)>>0));m=a.Less(c,l);$s=19;case 19:if($c){$c=false;m=m.$blk();}if(m&&m.$blk!==undefined){break s;}if(!m){$s=16;continue;}$s=17;continue;case 16:j=l+1>>0;$s=18;continue;case 17:k=l;case 18:$s=14;continue;case 15:n=c;case 20:if(!(n>j)){$s=21;continue;}$r=a.Swap(n,n-1>>0);$s=22;case 22:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}n=n-(1)>>0;$s=20;continue;case 21:$s=-1;return;case 13:o=((((((b+d>>0)>>>0))>>>1>>>0)>>0));p=o+c>>0;q=0;r=0;s=q;t=r;if(c>o){s=p-d>>0;t=o;}else{s=b;t=c;}u=p-1>>0;case 23:if(!(s>0)>>>0))>>>1>>>0)>>0));w=a.Less(u-v>>0,v);$s=28;case 28:if($c){$c=false;w=w.$blk();}if(w&&w.$blk!==undefined){break s;}if(!w){$s=25;continue;}$s=26;continue;case 25:s=v+1>>0;$s=27;continue;case 26:t=v;case 27:$s=23;continue;case 24:x=p-s>>0;if(s>0;f=d-c>>0;case 1:if(!(!((e===f)))){$s=2;continue;}if(e>f){$s=3;continue;}$s=4;continue;case 3:$r=Q(a,c-e>>0,c,f);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}e=e-(f)>>0;$s=5;continue;case 4:$r=Q(a,c-e>>0,(c+f>>0)-e>>0,e);$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}f=f-(e)>>0;case 5:$s=1;continue;case 2:$r=Q(a,c-e>>0,c,e);$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return;}return;}var $f={$blk:AM,$c:true,$r,a,b,c,d,e,f,$s};return $f;};AP=function(a,b){var{a,b,c,d,e,f,g,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=AN(a);$s=1;case 1:if($c){$c=false;c=c.$blk();}if(c&&c.$blk!==undefined){break s;}d=$clone(c,A.Value);e=AO(a);$s=2;case 2:if($c){$c=false;e=e.$blk();}if(e&&e.$blk!==undefined){break s;}f=e;g=$clone(d,A.Value).Len();$r=H(new V.ptr(b,f),0,g,U(g));$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return;}return;}var $f={$blk:AP,$c:true,$r,a,b,c,d,e,f,g,$s};return $f;};$pkg.Slice=AP;V.init("",[{prop:"Less",name:"Less",embedded:false,exported:true,typ:AZ,tag:""},{prop:"Swap",name:"Swap",embedded:false,exported:true,typ:BA,tag:""}]);$init=function(){$pkg.$init=function(){};var $f,$c=false,$s=0,$r;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:$r=A.$init();$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}AN=A.ValueOf;AO=A.Swapper;}return;}if($f===undefined){$f={$blk:$init};}$f.$s=$s;$f.$r=$r;return $f;};$pkg.$init=$init;return $pkg;})(); $packages["internal/fmtsort"]=(function(){var $pkg={},$init,A,B,C,I,J,D,E,F,G,H;A=$packages["reflect"];B=$packages["sort"];C=$pkg.SortedMap=$newType(0,$kindStruct,"fmtsort.SortedMap",true,"internal/fmtsort",true,function(Key_,Value_){this.$val=this;if(arguments.length===0){this.Key=J.nil;this.Value=J.nil;return;}this.Key=Key_;this.Value=Value_;});I=$ptrType(C);J=$sliceType(A.Value);C.ptr.prototype.Len=function(){var a;a=this;return a.Key.$length;};C.prototype.Len=function(){return this.$val.Len();};C.ptr.prototype.Less=function(a,b){var{a,b,c,d,e,f,g,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;f=E($clone((d=c.Key,((a<0||a>=d.$length)?($throwRuntimeError("index out of range"),undefined):d.$array[d.$offset+a])),A.Value),$clone((e=c.Key,((b<0||b>=e.$length)?($throwRuntimeError("index out of range"),undefined):e.$array[e.$offset+b])),A.Value));$s=1;case 1:if($c){$c=false;f=f.$blk();}if(f&&f.$blk!==undefined){break s;}g=f<0;$s=2;case 2:return g;}return;}var $f={$blk:C.ptr.prototype.Less,$c:true,$r,a,b,c,d,e,f,g,$s};return $f;};C.prototype.Less=function(a,b){return this.$val.Less(a,b);};C.ptr.prototype.Swap=function(a,b){var a,b,c,d,e,f,g,h,i,j,k,l,m,n,o;c=this;d=(e=c.Key,((b<0||b>=e.$length)?($throwRuntimeError("index out of range"),undefined):e.$array[e.$offset+b]));f=(g=c.Key,((a<0||a>=g.$length)?($throwRuntimeError("index out of range"),undefined):g.$array[g.$offset+a]));(h=c.Key,((a<0||a>=h.$length)?($throwRuntimeError("index out of range"),undefined):h.$array[h.$offset+a]=d));(i=c.Key,((b<0||b>=i.$length)?($throwRuntimeError("index out of range"),undefined):i.$array[i.$offset+b]=f));j=(k=c.Value,((b<0||b>=k.$length)?($throwRuntimeError("index out of range"),undefined):k.$array[k.$offset+b]));l=(m=c.Value,((a<0||a>=m.$length)?($throwRuntimeError("index out of range"),undefined):m.$array[m.$offset+a]));(n=c.Value,((a<0||a>=n.$length)?($throwRuntimeError("index out of range"),undefined):n.$array[n.$offset+a]=j));(o=c.Value,((b<0||b>=o.$length)?($throwRuntimeError("index out of range"),undefined):o.$array[o.$offset+b]=l));};C.prototype.Swap=function(a,b){return this.$val.Swap(a,b);};D=function(a){var{a,b,c,d,e,f,g,h,i,j,$s,$r,$c}=$restore(this,{a});$s=$s||0;s:while(true){switch($s){case 0:b=$clone(a,A.Value).Type().Kind();$s=3;case 3:if($c){$c=false;b=b.$blk();}if(b&&b.$blk!==undefined){break s;}if(!((b===21))){$s=1;continue;}$s=2;continue;case 1:$s=-1;return I.nil;case 2:c=$clone(a,A.Value).Len();d=$makeSlice(J,0,c);e=$makeSlice(J,0,c);f=$clone(a,A.Value).MapRange();case 4:g=f.Next();$s=6;case 6:if($c){$c=false;g=g.$blk();}if(g&&g.$blk!==undefined){break s;}if(!(g)){$s=5;continue;}h=f.Key();$s=7;case 7:if($c){$c=false;h=h.$blk();}if(h&&h.$blk!==undefined){break s;}d=$append(d,h);i=f.Value();$s=8;case 8:if($c){$c=false;i=i.$blk();}if(i&&i.$blk!==undefined){break s;}e=$append(e,i);$s=4;continue;case 5:j=new C.ptr(d,e);$r=B.Stable(j);$s=9;case 9:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return j;}return;}var $f={$blk:D,$c:true,$r,a,b,c,d,e,f,g,h,i,j,$s};return $f;};$pkg.Sort=D;E=function(a,b){var{a,aa,ab,ac,ad,ae,af,ag,ah,ai,aj,ak,al,am,an,ao,ap,aq,ar,as,at,au,av,aw,ax,ay,az,b,ba,bb,bc,bd,be,bf,bg,bh,bi,bj,bk,bl,bm,bn,bo,bp,bq,br,bs,bt,bu,bv,bw,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=$clone(a,A.Value).Type();d=$clone(b,A.Value).Type();e=c;f=d;if(!($interfaceIsEqual(e,f))){$s=-1;return-1;}g=$clone(a,A.Value).Kind();if((g===(2))||(g===(3))||(g===(4))||(g===(5))||(g===(6))){$s=2;continue;}if((g===(7))||(g===(8))||(g===(9))||(g===(10))||(g===(11))||(g===(12))){$s=3;continue;}if(g===(24)){$s=4;continue;}if((g===(13))||(g===(14))){$s=5;continue;}if((g===(15))||(g===(16))){$s=6;continue;}if(g===(1)){$s=7;continue;}if((g===(22))||(g===(26))){$s=8;continue;}if(g===(18)){$s=9;continue;}if(g===(25)){$s=10;continue;}if(g===(17)){$s=11;continue;}if(g===(20)){$s=12;continue;}$s=13;continue;case 2:h=$clone(a,A.Value).Int();i=$clone(b,A.Value).Int();j=h;k=i;if((j.$highk.$high||(j.$high===k.$high&&j.$low>k.$low))){$s=-1;return 1;}else{$s=-1;return 0;}$s=14;continue;case 3:l=$clone(a,A.Value).Uint();m=$clone(b,A.Value).Uint();n=l;o=m;if((n.$higho.$high||(n.$high===o.$high&&n.$low>o.$low))){$s=-1;return 1;}else{$s=-1;return 0;}$s=14;continue;case 4:q=$clone(a,A.Value).String();$s=15;case 15:if($c){$c=false;q=q.$blk();}if(q&&q.$blk!==undefined){break s;}p=q;s=$clone(b,A.Value).String();$s=16;case 16:if($c){$c=false;s=s.$blk();}if(s&&s.$blk!==undefined){break s;}r=s;t=p;u=r;if(tu){$s=-1;return 1;}else{$s=-1;return 0;}$s=14;continue;case 5:$s=-1;return G($clone(a,A.Value).Float(),$clone(b,A.Value).Float());case 6:v=$clone(a,A.Value).Complex();w=$clone(b,A.Value).Complex();x=v;y=w;z=G(x.$real,y.$real);if(!((z===0))){$s=-1;return z;}$s=-1;return G(x.$imag,y.$imag);case 7:aa=$clone(a,A.Value).Bool();ab=$clone(b,A.Value).Bool();ac=aa;ad=ab;if(ac===ad){$s=-1;return 0;}else if(ac){$s=-1;return 1;}else{$s=-1;return-1;}$s=14;continue;case 8:ae=$clone(a,A.Value).Pointer();af=$clone(b,A.Value).Pointer();ag=ae;ah=af;if(agah){$s=-1;return 1;}else{$s=-1;return 0;}$s=14;continue;case 9:ai=F($clone(a,A.Value),$clone(b,A.Value));aj=ai[0];ak=ai[1];if(ak){$s=-1;return aj;}al=$clone(a,A.Value).Pointer();am=$clone(b,A.Value).Pointer();an=al;ao=am;if(anao){$s=-1;return 1;}else{$s=-1;return 0;}$s=14;continue;case 10:ap=0;case 17:if(!(ap<$clone(a,A.Value).NumField())){$s=18;continue;}aq=$clone(a,A.Value).Field(ap);$s=19;case 19:if($c){$c=false;aq=aq.$blk();}if(aq&&aq.$blk!==undefined){break s;}ar=$clone(aq,A.Value);as=$clone(b,A.Value).Field(ap);$s=20;case 20:if($c){$c=false;as=as.$blk();}if(as&&as.$blk!==undefined){break s;}at=$clone(as,A.Value);au=E(ar,at);$s=21;case 21:if($c){$c=false;au=au.$blk();}if(au&&au.$blk!==undefined){break s;}av=au;if(!((av===0))){$s=-1;return av;}ap=ap+(1)>>0;$s=17;continue;case 18:$s=-1;return 0;case 11:aw=0;case 22:if(!(aw<$clone(a,A.Value).Len())){$s=23;continue;}ax=$clone(a,A.Value).Index(aw);$s=24;case 24:if($c){$c=false;ax=ax.$blk();}if(ax&&ax.$blk!==undefined){break s;}ay=$clone(ax,A.Value);az=$clone(b,A.Value).Index(aw);$s=25;case 25:if($c){$c=false;az=az.$blk();}if(az&&az.$blk!==undefined){break s;}ba=$clone(az,A.Value);bb=E(ay,ba);$s=26;case 26:if($c){$c=false;bb=bb.$blk();}if(bb&&bb.$blk!==undefined){break s;}bc=bb;if(!((bc===0))){$s=-1;return bc;}aw=aw+(1)>>0;$s=22;continue;case 23:$s=-1;return 0;case 12:bd=F($clone(a,A.Value),$clone(b,A.Value));be=bd[0];bf=bd[1];if(bf){$s=-1;return be;}bg=$clone(a,A.Value).Elem();$s=27;case 27:if($c){$c=false;bg=bg.$blk();}if(bg&&bg.$blk!==undefined){break s;}bh=$clone(bg,A.Value).Type();$s=28;case 28:if($c){$c=false;bh=bh.$blk();}if(bh&&bh.$blk!==undefined){break s;}bi=A.ValueOf(bh);$s=29;case 29:if($c){$c=false;bi=bi.$blk();}if(bi&&bi.$blk!==undefined){break s;}bj=$clone(bi,A.Value);bk=$clone(b,A.Value).Elem();$s=30;case 30:if($c){$c=false;bk=bk.$blk();}if(bk&&bk.$blk!==undefined){break s;}bl=$clone(bk,A.Value).Type();$s=31;case 31:if($c){$c=false;bl=bl.$blk();}if(bl&&bl.$blk!==undefined){break s;}bm=A.ValueOf(bl);$s=32;case 32:if($c){$c=false;bm=bm.$blk();}if(bm&&bm.$blk!==undefined){break s;}bn=$clone(bm,A.Value);bo=E(bj,bn);$s=33;case 33:if($c){$c=false;bo=bo.$blk();}if(bo&&bo.$blk!==undefined){break s;}bp=bo;if(!((bp===0))){$s=-1;return bp;}bq=$clone(a,A.Value).Elem();$s=34;case 34:if($c){$c=false;bq=bq.$blk();}if(bq&&bq.$blk!==undefined){break s;}br=$clone(bq,A.Value);bs=$clone(b,A.Value).Elem();$s=35;case 35:if($c){$c=false;bs=bs.$blk();}if(bs&&bs.$blk!==undefined){break s;}bt=$clone(bs,A.Value);bu=E(br,bt);$s=36;case 36:if($c){$c=false;bu=bu.$blk();}if(bu&&bu.$blk!==undefined){break s;}bv=bu;$s=37;case 37:return bv;case 13:bw=e.String();$s=38;case 38:if($c){$c=false;bw=bw.$blk();}if(bw&&bw.$blk!==undefined){break s;}$panic(new $String("bad type in compare: "+bw));case 14:case 1:$s=-1;return 0;}return;}var $f={$blk:E,$c:true,$r,a,aa,ab,ac,ad,ae,af,ag,ah,ai,aj,ak,al,am,an,ao,ap,aq,ar,as,at,au,av,aw,ax,ay,az,b,ba,bb,bc,bd,be,bf,bg,bh,bi,bj,bk,bl,bm,bn,bo,bp,bq,br,bs,bt,bu,bv,bw,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,$s};return $f;};F=function(a,b){var a,b;if($clone(a,A.Value).IsNil()){if($clone(b,A.Value).IsNil()){return[0,true];}return[-1,true];}if($clone(b,A.Value).IsNil()){return[1,true];}return[0,false];};G=function(a,b){var a,b;if(H(a)){return-1;}else if(H(b)){return 1;}else if(ab){return 1;}return 0;};H=function(a){var a;return!((a===a));};I.methods=[{prop:"Len",name:"Len",pkg:"",typ:$funcType([],[$Int],false)},{prop:"Less",name:"Less",pkg:"",typ:$funcType([$Int,$Int],[$Bool],false)},{prop:"Swap",name:"Swap",pkg:"",typ:$funcType([$Int,$Int],[],false)}];C.init("",[{prop:"Key",name:"Key",embedded:false,exported:true,typ:J,tag:""},{prop:"Value",name:"Value",embedded:false,exported:true,typ:J,tag:""}]);$init=function(){$pkg.$init=function(){};var $f,$c=false,$s=0,$r;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:$r=A.$init();$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=B.$init();$s=2;case 2:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}}return;}if($f===undefined){$f={$blk:$init};}$f.$s=$s;$f.$r=$r;return $f;};$pkg.$init=$init;return $pkg;})(); $packages["io"]=(function(){var $pkg={},$init,A,B,N,O,Z,AA,AH,AR,BE,BF,BG,BL,M,AU,AV,AZ,AN,AP;A=$packages["errors"];B=$packages["sync"];N=$pkg.Reader=$newType(8,$kindInterface,"io.Reader",true,"io",true,null);O=$pkg.Writer=$newType(8,$kindInterface,"io.Writer",true,"io",true,null);Z=$pkg.ReaderFrom=$newType(8,$kindInterface,"io.ReaderFrom",true,"io",true,null);AA=$pkg.WriterTo=$newType(8,$kindInterface,"io.WriterTo",true,"io",true,null);AH=$pkg.RuneScanner=$newType(8,$kindInterface,"io.RuneScanner",true,"io",true,null);AR=$pkg.LimitedReader=$newType(0,$kindStruct,"io.LimitedReader",true,"io",true,function(R_,N_){this.$val=this;if(arguments.length===0){this.R=$ifaceNil;this.N=new $Int64(0,0);return;}this.R=R_;this.N=N_;});BE=$sliceType($emptyInterface);BF=$sliceType($Uint8);BG=$ptrType(BF);BL=$ptrType(AR);AN=function(c,d){var{c,d,e,f,g,h,i,$s,$r,$c}=$restore(this,{c,d});$s=$s||0;s:while(true){switch($s){case 0:e=new $Int64(0,0);f=$ifaceNil;h=AP(c,d,BF.nil);$s=1;case 1:if($c){$c=false;h=h.$blk();}if(h&&h.$blk!==undefined){break s;}g=h;e=g[0];f=g[1];i=[e,f];$s=2;case 2:return i;}return;}var $f={$blk:AN,$c:true,$r,c,d,e,f,g,h,i,$s};return $f;};$pkg.Copy=AN;AP=function(c,d,e){var{aa,ab,ac,ad,ae,af,ag,ah,ai,aj,ak,al,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,$s,$r,$c}=$restore(this,{c,d,e});$s=$s||0;s:while(true){switch($s){case 0:f=new $Int64(0,0);g=$ifaceNil;h=$assertType(d,AA,true);i=h[0];j=h[1];if(j){$s=1;continue;}$s=2;continue;case 1:l=i.WriteTo(c);$s=3;case 3:if($c){$c=false;l=l.$blk();}if(l&&l.$blk!==undefined){break s;}k=l;f=k[0];g=k[1];m=[f,g];$s=4;case 4:return m;case 2:n=$assertType(c,Z,true);o=n[0];p=n[1];if(p){$s=5;continue;}$s=6;continue;case 5:r=o.ReadFrom(d);$s=7;case 7:if($c){$c=false;r=r.$blk();}if(r&&r.$blk!==undefined){break s;}q=r;f=q[0];g=q[1];s=[f,g];$s=8;case 8:return s;case 6:if(e===BF.nil){t=32768;u=$assertType(d,BL,true);v=u[0];w=u[1];if(w&&(x=(new $Int64(0,t)),y=v.N,(x.$high>y.$high||(x.$high===y.$high&&x.$low>y.$low)))){if((z=v.N,(z.$high<0||(z.$high===0&&z.$low<1)))){t=1;}else{t=(((aa=v.N,aa.$low+((aa.$high>>31)*4294967296))>>0));}}e=$makeSlice(BF,t);}case 9:ac=d.Read(e);$s=11;case 11:if($c){$c=false;ac=ac.$blk();}if(ac&&ac.$blk!==undefined){break s;}ab=ac;ad=ab[0];ae=ab[1];if(ad>0){$s=12;continue;}$s=13;continue;case 12:ag=c.Write($subslice(e,0,ad));$s=14;case 14:if($c){$c=false;ag=ag.$blk();}if(ag&&ag.$blk!==undefined){break s;}af=ag;ah=af[0];ai=af[1];if(ah<0||adk.$high||(j.$high===k.$high&&j.$low>k.$low)))){c=$subslice(c,0,$flatten64(f.N));}m=f.R.Read(c);$s=1;case 1:if($c){$c=false;m=m.$blk();}if(m&&m.$blk!==undefined){break s;}l=m;d=l[0];e=l[1];f.N=(n=f.N,o=(new $Int64(0,d)),new $Int64(n.$high-o.$high,n.$low-o.$low));$s=-1;return[d,e];}return;}var $f={$blk:AR.ptr.prototype.Read,$c:true,$r,c,d,e,f,g,h,i,j,k,l,m,n,o,$s};return $f;};AR.prototype.Read=function(c){return this.$val.Read(c);};BL.methods=[{prop:"Read",name:"Read",pkg:"",typ:$funcType([BF],[$Int,$error],false)}];N.init([{prop:"Read",name:"Read",pkg:"",typ:$funcType([BF],[$Int,$error],false)}]);O.init([{prop:"Write",name:"Write",pkg:"",typ:$funcType([BF],[$Int,$error],false)}]);Z.init([{prop:"ReadFrom",name:"ReadFrom",pkg:"",typ:$funcType([N],[$Int64,$error],false)}]);AA.init([{prop:"WriteTo",name:"WriteTo",pkg:"",typ:$funcType([O],[$Int64,$error],false)}]);AH.init([{prop:"ReadRune",name:"ReadRune",pkg:"",typ:$funcType([],[$Int32,$Int,$error],false)},{prop:"UnreadRune",name:"UnreadRune",pkg:"",typ:$funcType([],[$error],false)}]);AR.init("",[{prop:"R",name:"R",embedded:false,exported:true,typ:N,tag:""},{prop:"N",name:"N",embedded:false,exported:true,typ:$Int64,tag:""}]);$init=function(){$pkg.$init=function(){};var $f,$c=false,$s=0,$r;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:$r=A.$init();$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=B.$init();$s=2;case 2:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$pkg.ErrClosedPipe=A.New("io: read/write on closed pipe");$pkg.ErrShortWrite=A.New("short write");M=A.New("invalid write result");$pkg.ErrShortBuffer=A.New("short buffer");$pkg.EOF=A.New("EOF");$pkg.ErrUnexpectedEOF=A.New("unexpected EOF");$pkg.ErrNoProgress=A.New("multiple Read calls return no data or error");AU=A.New("Seek: invalid whence");AV=A.New("Seek: invalid offset");AZ=new B.Pool.ptr(BE.nil,(function(){var c,d;c=$makeSlice(BF,8192);return(d||(d=new BG(function(){return c;},function($v){c=$convertSliceType($v,BF);})));}));}return;}if($f===undefined){$f={$blk:$init};}$f.$s=$s;$f.$r=$r;return $f;};$pkg.$init=$init;return $pkg;})(); $packages["internal/oserror"]=(function(){var $pkg={},$init,A;A=$packages["errors"];$init=function(){$pkg.$init=function(){};var $f,$c=false,$s=0,$r;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:$r=A.$init();$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$pkg.ErrInvalid=A.New("invalid argument");$pkg.ErrPermission=A.New("permission denied");$pkg.ErrExist=A.New("file already exists");$pkg.ErrNotExist=A.New("file does not exist");$pkg.ErrClosed=A.New("file already closed");}return;}if($f===undefined){$f={$blk:$init};}$f.$s=$s;$f.$r=$r;return $f;};$pkg.$init=$init;return $pkg;})(); $packages["syscall/js"]=(function(){var $pkg={},$init,A,B,F,H,I,R,U,V,W,X,Y,Z,AA,AB,AC,K,L,M,C,D,E,G,J,N,O,P,Q,S,T;A=$packages["github.com/gopherjs/gopherjs/js"];B=$pkg.Type=$newType(4,$kindInt,"js.Type",true,"syscall/js",true,null);F=$pkg.Func=$newType(0,$kindStruct,"js.Func",true,"syscall/js",true,function(Value_){this.$val=this;if(arguments.length===0){this.Value=new I.ptr(null,false,V.zero());return;}this.Value=Value_;});H=$pkg.Error=$newType(0,$kindStruct,"js.Error",true,"syscall/js",true,function(Value_){this.$val=this;if(arguments.length===0){this.Value=new I.ptr(null,false,V.zero());return;}this.Value=Value_;});I=$pkg.Value=$newType(0,$kindStruct,"js.Value",true,"syscall/js",true,function(v_,inited_,_$2_){this.$val=this;if(arguments.length===0){this.v=null;this.inited=false;this._$2=V.zero();return;}this.v=v_;this.inited=inited_;this._$2=_$2_;});R=$pkg.ValueError=$newType(0,$kindStruct,"js.ValueError",true,"syscall/js",true,function(Method_,Type_){this.$val=this;if(arguments.length===0){this.Method="";this.Type=0;return;}this.Method=Method_;this.Type=Type_;});U=$funcType([],[],false);V=$arrayType(U,0);W=$sliceType(I);X=$mapType($String,$emptyInterface);Y=$sliceType($emptyInterface);Z=$ptrType(A.Error);AA=$sliceType($Uint8);AB=$ptrType(A.Object);AC=$ptrType(R);B.prototype.String=function(){var a,b;a=this.$val;b=a;if(b===(0)){return"undefined";}else if(b===(1)){return"null";}else if(b===(2)){return"boolean";}else if(b===(3)){return"number";}else if(b===(4)){return"string";}else if(b===(5)){return"symbol";}else if(b===(6)){return"object";}else if(b===(7)){return"function";}else{$panic(new $String("bad type"));}};$ptrType(B).prototype.String=function(){return new B(this.$get()).String();};B.prototype.isObject=function(){var a;a=this.$val;return(a===6)||(a===7);};$ptrType(B).prototype.isObject=function(){return new B(this.$get()).isObject();};C=function(){return J($global);};$pkg.Global=C;D=function(){return J(null);};$pkg.Null=D;E=function(){return J(undefined);};$pkg.Undefined=E;F.ptr.prototype.Release=function(){var a;a=this;$exportedFunctions=($parseInt($exportedFunctions)>>0)-1>>0;I.copy(a.Value,D());};F.prototype.Release=function(){return this.$val.Release();};G=function(a){var a;$exportedFunctions=($parseInt($exportedFunctions)>>0)+1>>0;return new F.ptr($clone(J(A.MakeFunc((function $b(b,c){var{b,c,d,e,f,g,h,i,j,$s,$r,$c}=$restore(this,{b,c});$s=$s||0;s:while(true){switch($s){case 0:d=$makeSlice(W,c.$length);e=c;f=0;while(true){if(!(f=e.$length)?($throwRuntimeError("index out of range"),undefined):e.$array[e.$offset+f]);I.copy(((g<0||g>=d.$length)?($throwRuntimeError("index out of range"),undefined):d.$array[d.$offset+g]),J(h));f++;}i=a($clone(J(b),I),d);$s=1;case 1:if($c){$c=false;i=i.$blk();}if(i&&i.$blk!==undefined){break s;}j=i;$s=2;case 2:return j;}return;}var $f={$blk:$b,$c:true,$r,b,c,d,e,f,g,h,i,j,$s};return $f;}))),I));};$pkg.FuncOf=G;H.ptr.prototype.Error=function(){var a;a=this;return"JavaScript error: "+$clone($clone(a.Value,I).Get("message"),I).String();};H.prototype.Error=function(){return this.$val.Error();};J=function(a){var a;if(a===undefined){return new I.ptr(null,false,V.zero());}return new I.ptr(a,true,V.zero());};N=function(){if(!($global===null)){K=$global.eval($externalize("(function(x) { return x; })",$String));L=$global.eval($externalize("(function(x, y) { return x instanceof y; })",$String));M=$global.eval($externalize("(function(x) {\n if (typeof(x) === \"undefined\") {\n return 0; // TypeUndefined\n }\n if (x === null) {\n return 1; // TypeNull\n }\n if (typeof(x) === \"boolean\") {\n return 2; // TypeBoolean\n }\n if (typeof(x) === \"number\") {\n return 3; // TypeNumber\n }\n if (typeof(x) === \"string\") {\n return 4; // TypeString\n }\n if (typeof(x) === \"symbol\") {\n return 5; // TypeSymbol\n }\n if (typeof(x) === \"function\") {\n return 7; // TypeFunction\n }\n return 6; // TypeObject\n})",$String));}};O=function(a){var a,b,c,d,e,f,g;b=a;if($assertType(b,I,true)[1]){c=$clone(b.$val,I);return c;}else if($assertType(b,F,true)[1]){d=$clone(b.$val,F);return d.Value;}else if(b===$ifaceNil){e=b;return D();}else if($assertType(b,$Bool,true)[1]||$assertType(b,$Int,true)[1]||$assertType(b,$Int8,true)[1]||$assertType(b,$Int16,true)[1]||$assertType(b,$Int32,true)[1]||$assertType(b,$Int64,true)[1]||$assertType(b,$Uint,true)[1]||$assertType(b,$Uint8,true)[1]||$assertType(b,$Uint16,true)[1]||$assertType(b,$Uint32,true)[1]||$assertType(b,$Uint64,true)[1]||$assertType(b,$Float32,true)[1]||$assertType(b,$Float64,true)[1]||$assertType(b,$UnsafePointer,true)[1]||$assertType(b,$String,true)[1]||$assertType(b,X,true)[1]||$assertType(b,Y,true)[1]){f=b;return J(K($externalize(f,$emptyInterface)));}else{g=b;$panic(new $String("ValueOf: invalid value"));}};$pkg.ValueOf=O;I.ptr.prototype.internal=function(){var a;a=this;if(!a.inited){return undefined;}return a.v;};I.prototype.internal=function(){return this.$val.internal();};I.ptr.prototype.Bool=function(){var a,b;a=this;b=$clone(a,I).Type();if(!((b===2))){$panic(new R.ptr("Value.Bool",b));}return!!($clone(a,I).internal());};I.prototype.Bool=function(){return this.$val.Bool();};P=function(a){var a,b,c,d,e,f;b=new Y([]);c=a;d=0;while(true){if(!(d=c.$length)?($throwRuntimeError("index out of range"),undefined):c.$array[c.$offset+d]);f=$clone(O(e),I);b=$append(b,new $jsObjectPtr($clone(f,I).internal()));d++;}return b;};Q=function(){var a,b,c,d,e;a=$recover();if($interfaceIsEqual(a,$ifaceNil)){return;}b=$assertType(a,Z,true);c=b[0];d=b[1];if(d){$panic((e=new H.ptr($clone(J(c.Object),I)),new e.constructor.elem(e)));}$panic(a);};I.ptr.prototype.Call=function(a,b){var{a,b,c,d,e,f,g,$s,$deferred,$r,$c}=$restore(this,{a,b});$s=$s||0;var $err=null;try{s:while(true){switch($s){case 0:$deferred=[];$curGoroutine.deferStack.push($deferred);c=this;d=$clone(c,I).Type();if(!((d===6))&&!((d===7))){$panic(new R.ptr("Value.Call",d));}e=$clone($clone(c,I).Get(a),I).Type();if(!((e===7))){$panic(new $String("js: Value.Call: property "+a+" is not a function, got "+new B(e).String()));}$deferred.push([Q,[]]);g=J((f=$clone(c,I).internal(),f[$externalize(a,$String)].apply(f,$externalize(P(b),Y))));$s=1;case 1:return g;}return;}}catch(err){$err=err;$s=-1;return new I.ptr(null,false,V.zero());}finally{$callDeferred($deferred,$err);if($curGoroutine.asleep){var $f={$blk:I.ptr.prototype.Call,$c:true,$r,a,b,c,d,e,f,g,$s,$deferred};return $f;}}};I.prototype.Call=function(a,b){return this.$val.Call(a,b);};I.ptr.prototype.Float=function(){var a,b;a=this;b=$clone(a,I).Type();if(!((b===3))){$panic(new R.ptr("Value.Float",b));}return $parseFloat($clone(a,I).internal());};I.prototype.Float=function(){return this.$val.Float();};I.ptr.prototype.Get=function(a){var a,b,c;b=this;c=$clone(b,I).Type();if(!new B(c).isObject()){$panic(new R.ptr("Value.Get",c));}return J($clone(b,I).internal()[$externalize(a,$String)]);};I.prototype.Get=function(a){return this.$val.Get(a);};I.ptr.prototype.Index=function(a){var a,b,c;b=this;c=$clone(b,I).Type();if(!new B(c).isObject()){$panic(new R.ptr("Value.Index",c));}return J($clone(b,I).internal()[a]);};I.prototype.Index=function(a){return this.$val.Index(a);};I.ptr.prototype.Int=function(){var a,b;a=this;b=$clone(a,I).Type();if(!((b===3))){$panic(new R.ptr("Value.Int",b));}return $parseInt($clone(a,I).internal())>>0;};I.prototype.Int=function(){return this.$val.Int();};I.ptr.prototype.InstanceOf=function(a){var a,b;b=this;return!!(L($clone(b,I).internal(),$clone(a,I).internal()));};I.prototype.InstanceOf=function(a){return this.$val.InstanceOf(a);};I.ptr.prototype.Invoke=function(a){var a,b,c;b=this;c=$clone(b,I).Type();if(!((c===7))){$panic(new R.ptr("Value.Invoke",c));}return J($clone(b,I).internal().apply(undefined,$externalize(P(a),Y)));};I.prototype.Invoke=function(a){return this.$val.Invoke(a);};I.ptr.prototype.JSValue=function(){var a;a=this;return a;};I.prototype.JSValue=function(){return this.$val.JSValue();};I.ptr.prototype.Length=function(){var a;a=this;return $parseInt($clone(a,I).internal().length);};I.prototype.Length=function(){return this.$val.Length();};I.ptr.prototype.New=function(a){var{a,b,c,$s,$deferred,$r,$c}=$restore(this,{a});$s=$s||0;var $err=null;try{s:while(true){switch($s){case 0:$deferred=[];$curGoroutine.deferStack.push($deferred);b=[b];b[0]=this;$deferred.push([(function(b){return function(){var c,d,e,f,g,h;c=$recover();if($interfaceIsEqual(c,$ifaceNil)){return;}d=$clone(b[0],I).Type();if(!((d===7))){$panic(new R.ptr("Value.New",d));}e=$assertType(c,Z,true);f=e[0];g=e[1];if(g){$panic((h=new H.ptr($clone(J(f.Object),I)),new h.constructor.elem(h)));}$panic(c);};})(b),[]]);c=J(new($global.Function.prototype.bind.apply($clone(b[0],I).internal(),[undefined].concat($externalize(P(a),Y)))));$s=1;case 1:return c;}return;}}catch(err){$err=err;$s=-1;return new I.ptr(null,false,V.zero());}finally{$callDeferred($deferred,$err);if($curGoroutine.asleep){var $f={$blk:I.ptr.prototype.New,$c:true,$r,a,b,c,$s,$deferred};return $f;}}};I.prototype.New=function(a){return this.$val.New(a);};I.ptr.prototype.Set=function(a,b){var a,b,c,d,e;c=this;d=$clone(c,I).Type();if(!new B(d).isObject()){$panic(new R.ptr("Value.Set",d));}$clone(c,I).internal()[$externalize(a,$String)]=$externalize((e=P(new Y([b])),(0>=e.$length?($throwRuntimeError("index out of range"),undefined):e.$array[e.$offset+0])),$emptyInterface);};I.prototype.Set=function(a,b){return this.$val.Set(a,b);};I.ptr.prototype.SetIndex=function(a,b){var a,b,c,d,e;c=this;d=$clone(c,I).Type();if(!new B(d).isObject()){$panic(new R.ptr("Value.SetIndex",d));}$clone(c,I).internal()[a]=$externalize((e=P(new Y([b])),(0>=e.$length?($throwRuntimeError("index out of range"),undefined):e.$array[e.$offset+0])),$emptyInterface);};I.prototype.SetIndex=function(a,b){return this.$val.SetIndex(a,b);};I.ptr.prototype.String=function(){var a,b;a=this;b=$clone(a,I).Type();if(b===(4)){return $internalize($clone(a,I).internal(),$String);}else if(b===(0)){return"";}else if(b===(1)){return"";}else if(b===(2)){return"";}else if(b===(3)){return"";}else if(b===(5)){return"";}else if(b===(6)){return"";}else if(b===(7)){return"";}else{$panic(new $String("bad type"));}};I.prototype.String=function(){return this.$val.String();};I.ptr.prototype.Truthy=function(){var a;a=this;return!!($clone(a,I).internal());};I.prototype.Truthy=function(){return this.$val.Truthy();};I.ptr.prototype.Type=function(){var a;a=this;return((($parseInt(M($clone(a,I).internal()))>>0)>>0));};I.prototype.Type=function(){return this.$val.Type();};I.ptr.prototype.IsNull=function(){var a;a=this;return $clone(a,I).Type()===1;};I.prototype.IsNull=function(){return this.$val.IsNull();};I.ptr.prototype.IsUndefined=function(){var a;a=this;return!a.inited;};I.prototype.IsUndefined=function(){return this.$val.IsUndefined();};I.ptr.prototype.IsNaN=function(){var a;a=this;return!!($global.isNaN($clone(a,I).internal()));};I.prototype.IsNaN=function(){return this.$val.IsNaN();};I.ptr.prototype.Delete=function(a){var a,b,c;b=this;c=$clone(b,I).Type();if(!new B(c).isObject()){$panic(new R.ptr("Value.Delete",c));}delete $clone(b,I).internal()[$externalize(a,$String)];};I.prototype.Delete=function(a){return this.$val.Delete(a);};I.ptr.prototype.Equal=function(a){var a,b;b=this;return $clone(b,I).internal()===$clone(a,I).internal();};I.prototype.Equal=function(a){return this.$val.Equal(a);};R.ptr.prototype.Error=function(){var a;a=this;return"syscall/js: call of "+a.Method+" on "+new B(a.Type).String();};R.prototype.Error=function(){return this.$val.Error();};S=function(a,b){var a,b,c,d;c=$parseInt(b.v.length);d=a.$length;if(d>0))&&((h>>0))<2054){i=((h<0||h>=L.length)?($throwRuntimeError("index out of range"),undefined):L[h]);if(!(i==="")){return i;}}return"errno "+B.Itoa(((h>>0)));};$ptrType(V).prototype.Error=function(){return new V(this.$get()).Error();};V.prototype.Is=function(h){var h,i,j;i=this.$val;j=h;if($interfaceIsEqual(j,(C.ErrPermission))){return(i===13)||(i===1);}else if($interfaceIsEqual(j,(C.ErrExist))){return(i===17)||(i===39);}else if($interfaceIsEqual(j,(C.ErrNotExist))){return i===2;}return false;};$ptrType(V).prototype.Is=function(h){return new V(this.$get()).Is(h);};V.prototype.Temporary=function(){var h;h=this.$val;return(h===4)||(h===24)||new V(h).Timeout();};$ptrType(V).prototype.Temporary=function(){return new V(this.$get()).Temporary();};V.prototype.Timeout=function(){var h;h=this.$val;return(h===11)||(h===11)||(h===110);};$ptrType(V).prototype.Timeout=function(){return new V(this.$get()).Timeout();};BN=function(h){var h;return new V(38);};$pkg.StopIO=BN;BP=function(h){var h,i,j,k,l,m,n;i=0;j=$ifaceNil;k=$ifaceNil;l=0;m=$ifaceNil;n=new V(38);i=l;j=m;k=n;return[i,j,k];};$pkg.Accept=BP;BR=function(h,i,j){var h,i,j,k,l,m,n,o,p;k=0;l=$ifaceNil;m=$ifaceNil;n=0;o=$ifaceNil;p=new V(38);k=n;l=o;m=p;return[k,l,m];};$pkg.Recvfrom=BR;BS=function(h,i,j,k){var h,i,j,k;return new V(38);};$pkg.Sendto=BS;BT=function(h,i,j,k){var h,i,j,k,l,m,n,o,p,q,r,s,t,u;l=0;m=0;n=0;o=$ifaceNil;p=$ifaceNil;q=0;r=0;s=0;t=$ifaceNil;u=new V(38);l=q;m=r;n=s;o=t;p=u;return[l,m,n,o,p];};$pkg.Recvmsg=BT;BU=function(h,i,j,k,l){var h,i,j,k,l,m,n,o,p;m=0;n=$ifaceNil;o=0;p=new V(38);m=o;n=p;return[m,n];};$pkg.SendmsgN=BU;BX=function(h,i){var h,i;return new V(38);};$pkg.SetReadDeadline=BX;BY=function(h,i){var h,i;return new V(38);};$pkg.SetWriteDeadline=BY;BZ=function(h,i){var h,i;return new V(38);};$pkg.Shutdown=BZ;CA=function(h,i){var h,i;return $ifaceNil;};$pkg.SetNonblock=CA;CT=function(h){var{h,i,j,k,l,$s,$r,$c}=$restore(this,{h});$s=$s||0;s:while(true){switch($s){case 0:$r=CR.Lock();$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}i=(j=CS[$Int.keyFor(h)],j!==undefined?[j.v,true]:[FJ.nil,false]);k=i[0];l=i[1];$r=CR.Unlock();$s=2;case 2:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if(!l){$s=-1;return[FJ.nil,new V(9)];}$s=-1;return[k,$ifaceNil];}return;}var $f={$blk:CT,$c:true,$r,h,i,j,k,l,$s};return $f;};CV=function(h){var{h,i,j,k,$s,$r,$c}=$restore(this,{h});$s=$s||0;s:while(true){switch($s){case 0:$r=CR.Lock();$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}delete CS[$Int.keyFor(h)];$r=CR.Unlock();$s=2;case 2:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}j=FA("close",new FF([new $Int(h)]));$s=3;case 3:if($c){$c=false;j=j.$blk();}if(j&&j.$blk!==undefined){break s;}i=j;k=i[1];$s=-1;return k;}return;}var $f={$blk:CV,$c:true,$r,h,i,j,k,$s};return $f;};$pkg.Close=CV;CW=function(h){var h;};$pkg.CloseOnExec=CW;CY=function(h,i){var{h,i,j,k,l,m,n,o,p,q,r,$s,$r,$c}=$restore(this,{h,i});$s=$s||0;s:while(true){switch($s){case 0:k=CT(h);$s=1;case 1:if($c){$c=false;k=k.$blk();}if(k&&k.$blk!==undefined){break s;}j=k;l=j[0];m=j[1];if(!($interfaceIsEqual(m,$ifaceNil))){$s=-1;return[0,m];}if(l.entries===FC.nil){$s=-1;return[0,new V(22)];}n=0;while(true){if(!(l.dirIdx=o.$length)?($throwRuntimeError("index out of range"),undefined):o.$array[o.$offset+p]));r=2+q.length>>0;if(r>i.$length){break;}(0>=i.$length?($throwRuntimeError("index out of range"),undefined):i.$array[i.$offset+0]=((r<<24>>>24)));(1>=i.$length?($throwRuntimeError("index out of range"),undefined):i.$array[i.$offset+1]=(((r>>8>>0)<<24>>>24)));$copyString($subslice(i,2),q);i=$subslice(i,r);n=n+(r)>>0;l.dirIdx=l.dirIdx+(1)>>0;}$s=-1;return[n,$ifaceNil];}return;}var $f={$blk:CY,$c:true,$r,h,i,j,k,l,m,n,o,p,q,r,$s};return $f;};$pkg.ReadDirent=CY;DA=function(h,i){var{h,i,j,k,l,m,n,$s,$r,$c}=$restore(this,{h,i});$s=$s||0;s:while(true){switch($s){case 0:j=EC(h);if(!($interfaceIsEqual(j,$ifaceNil))){$s=-1;return j;}l=FA("lstat",new FF([new $String(h)]));$s=1;case 1:if($c){$c=false;l=l.$blk();}if(l&&l.$blk!==undefined){break s;}k=l;m=$clone(k[0],F.Value);n=k[1];if(!($interfaceIsEqual(n,$ifaceNil))){$s=-1;return n;}EY(i,$clone(m,F.Value));$s=-1;return $ifaceNil;}return;}var $f={$blk:DA,$c:true,$r,h,i,j,k,l,m,n,$s};return $f;};$pkg.Lstat=DA;DB=function(h,i){var{h,i,j,k,l,m,$s,$r,$c}=$restore(this,{h,i});$s=$s||0;s:while(true){switch($s){case 0:k=FA("fstat",new FF([new $Int(h)]));$s=1;case 1:if($c){$c=false;k=k.$blk();}if(k&&k.$blk!==undefined){break s;}j=k;l=$clone(j[0],F.Value);m=j[1];if(!($interfaceIsEqual(m,$ifaceNil))){$s=-1;return m;}EY(i,$clone(l,F.Value));$s=-1;return $ifaceNil;}return;}var $f={$blk:DB,$c:true,$r,h,i,j,k,l,m,$s};return $f;};$pkg.Fstat=DB;DF=function(h,i){var{h,i,j,k,l,$s,$r,$c}=$restore(this,{h,i});$s=$s||0;s:while(true){switch($s){case 0:k=FA("fchmod",new FF([new $Int(h),new $Uint32(i)]));$s=1;case 1:if($c){$c=false;k=k.$blk();}if(k&&k.$blk!==undefined){break s;}j=k;l=j[1];$s=-1;return l;}return;}var $f={$blk:DF,$c:true,$r,h,i,j,k,l,$s};return $f;};$pkg.Fchmod=DF;DH=function(h,i,j){var{h,i,j,k,l,m,$s,$r,$c}=$restore(this,{h,i,j});$s=$s||0;s:while(true){switch($s){case 0:l=FA("fchown",new FF([new $Int(h),new $Uint32(((i>>>0))),new $Uint32(((j>>>0)))]));$s=1;case 1:if($c){$c=false;l=l.$blk();}if(l&&l.$blk!==undefined){break s;}k=l;m=k[1];$s=-1;return m;}return;}var $f={$blk:DH,$c:true,$r,h,i,j,k,l,m,$s};return $f;};$pkg.Fchown=DH;DM=function(h,i){var{h,i,j,k,l,$s,$r,$c}=$restore(this,{h,i});$s=$s||0;s:while(true){switch($s){case 0:k=FA("ftruncate",new FF([new $Int(h),i]));$s=1;case 1:if($c){$c=false;k=k.$blk();}if(k&&k.$blk!==undefined){break s;}j=k;l=j[1];$s=-1;return l;}return;}var $f={$blk:DM,$c:true,$r,h,i,j,k,l,$s};return $f;};$pkg.Ftruncate=DM;DO=function(h){var{h,i,j,k,l,m,$s,$deferred,$r,$c}=$restore(this,{h});$s=$s||0;var $err=null;try{s:while(true){switch($s){case 0:$deferred=[];$curGoroutine.deferStack.push($deferred);i=[i];i[0]=$ifaceNil;j=EC(h);if(!($interfaceIsEqual(j,$ifaceNil))){$s=1;continue;}$s=2;continue;case 1:i[0]=j;k=i[0];$s=3;case 3:return k;case 2:$deferred.push([ED,[(i.$ptr||(i.$ptr=new FH(function(){return this.$target[0];},function($v){this.$target[0]=$v;},i)))]]);l=$clone(CG,F.Value).Call("chdir",new FF([new $String(h)]));$s=4;case 4:if($c){$c=false;l=l.$blk();}if(l&&l.$blk!==undefined){break s;}l;m=i[0];$s=5;case 5:return m;}return;}}catch(err){$err=err;$s=-1;}finally{$callDeferred($deferred,$err);if(!$curGoroutine.asleep){return i[0];}if($curGoroutine.asleep){var $f={$blk:DO,$c:true,$r,h,i,j,k,l,m,$s,$deferred};return $f;}}};$pkg.Chdir=DO;DP=function(h){var{h,i,j,k,l,m,n,$s,$r,$c}=$restore(this,{h});$s=$s||0;s:while(true){switch($s){case 0:j=CT(h);$s=1;case 1:if($c){$c=false;j=j.$blk();}if(j&&j.$blk!==undefined){break s;}i=j;k=i[0];l=i[1];if(!($interfaceIsEqual(l,$ifaceNil))){$s=-1;return l;}m=DO(k.path);$s=2;case 2:if($c){$c=false;m=m.$blk();}if(m&&m.$blk!==undefined){break s;}n=m;$s=3;case 3:return n;}return;}var $f={$blk:DP,$c:true,$r,h,i,j,k,l,m,n,$s};return $f;};$pkg.Fchdir=DP;DT=function(h){var{h,i,j,k,$s,$r,$c}=$restore(this,{h});$s=$s||0;s:while(true){switch($s){case 0:j=FA("fsync",new FF([new $Int(h)]));$s=1;case 1:if($c){$c=false;j=j.$blk();}if(j&&j.$blk!==undefined){break s;}i=j;k=i[1];$s=-1;return k;}return;}var $f={$blk:DT,$c:true,$r,h,i,j,k,$s};return $f;};$pkg.Fsync=DT;DU=function(h,i){var{aa,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,$s,$r,$c}=$restore(this,{h,i});$s=$s||0;s:while(true){switch($s){case 0:k=CT(h);$s=1;case 1:if($c){$c=false;k=k.$blk();}if(k&&k.$blk!==undefined){break s;}j=k;l=j[0];m=j[1];if(!($interfaceIsEqual(m,$ifaceNil))){$s=-1;return[0,m];}if(l.seeked){$s=2;continue;}$s=3;continue;case 2:o=DW(h,i,l.pos);$s=4;case 4:if($c){$c=false;o=o.$blk();}if(o&&o.$blk!==undefined){break s;}n=o;p=n[0];q=n[1];l.pos=(r=l.pos,s=(new $Int64(0,p)),new $Int64(r.$high+s.$high,r.$low+s.$low));$s=-1;return[p,q];case 3:t=$clone(CJ,F.Value).New(new FF([new $Int(i.$length)]));$s=5;case 5:if($c){$c=false;t=t.$blk();}if(t&&t.$blk!==undefined){break s;}u=$clone(t,F.Value);w=FA("read",new FF([new $Int(h),new u.constructor.elem(u),new $Int(0),new $Int(i.$length),$ifaceNil]));$s=6;case 6:if($c){$c=false;w=w.$blk();}if(w&&w.$blk!==undefined){break s;}v=w;x=$clone(v[0],F.Value);m=v[1];if(!($interfaceIsEqual(m,$ifaceNil))){$s=-1;return[0,m];}F.CopyBytesToGo(i,$clone(u,F.Value));y=$clone(x,F.Value).Int();l.pos=(z=l.pos,aa=(new $Int64(0,y)),new $Int64(z.$high+aa.$high,z.$low+aa.$low));$s=-1;return[y,m];}return;}var $f={$blk:DU,$c:true,$r,aa,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,$s};return $f;};$pkg.Read=DU;DV=function(h,i){var{aa,ab,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,$s,$r,$c}=$restore(this,{h,i});$s=$s||0;s:while(true){switch($s){case 0:k=CT(h);$s=1;case 1:if($c){$c=false;k=k.$blk();}if(k&&k.$blk!==undefined){break s;}j=k;l=j[0];m=j[1];if(!($interfaceIsEqual(m,$ifaceNil))){$s=-1;return[0,m];}if(l.seeked){$s=2;continue;}$s=3;continue;case 2:o=DX(h,i,l.pos);$s=4;case 4:if($c){$c=false;o=o.$blk();}if(o&&o.$blk!==undefined){break s;}n=o;p=n[0];q=n[1];l.pos=(r=l.pos,s=(new $Int64(0,p)),new $Int64(r.$high+s.$high,r.$low+s.$low));$s=-1;return[p,q];case 3:if(false&&((h===1)||(h===2))){t=K(h,i);if(t<0){$s=-1;return[0,P(((-t>>>0)))];}$s=-1;return[t,$ifaceNil];}u=$clone(CJ,F.Value).New(new FF([new $Int(i.$length)]));$s=5;case 5:if($c){$c=false;u=u.$blk();}if(u&&u.$blk!==undefined){break s;}v=$clone(u,F.Value);F.CopyBytesToJS($clone(v,F.Value),i);x=FA("write",new FF([new $Int(h),new v.constructor.elem(v),new $Int(0),new $Int(i.$length),$ifaceNil]));$s=6;case 6:if($c){$c=false;x=x.$blk();}if(x&&x.$blk!==undefined){break s;}w=x;y=$clone(w[0],F.Value);m=w[1];if(!($interfaceIsEqual(m,$ifaceNil))){$s=-1;return[0,m];}z=$clone(y,F.Value).Int();l.pos=(aa=l.pos,ab=(new $Int64(0,z)),new $Int64(aa.$high+ab.$high,aa.$low+ab.$low));$s=-1;return[z,m];}return;}var $f={$blk:DV,$c:true,$r,aa,ab,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,$s};return $f;};$pkg.Write=DV;DW=function(h,i,j){var{h,i,j,k,l,m,n,o,p,$s,$r,$c}=$restore(this,{h,i,j});$s=$s||0;s:while(true){switch($s){case 0:k=$clone(CJ,F.Value).New(new FF([new $Int(i.$length)]));$s=1;case 1:if($c){$c=false;k=k.$blk();}if(k&&k.$blk!==undefined){break s;}l=$clone(k,F.Value);n=FA("read",new FF([new $Int(h),new l.constructor.elem(l),new $Int(0),new $Int(i.$length),j]));$s=2;case 2:if($c){$c=false;n=n.$blk();}if(n&&n.$blk!==undefined){break s;}m=n;o=$clone(m[0],F.Value);p=m[1];if(!($interfaceIsEqual(p,$ifaceNil))){$s=-1;return[0,p];}F.CopyBytesToGo(i,$clone(l,F.Value));$s=-1;return[$clone(o,F.Value).Int(),$ifaceNil];}return;}var $f={$blk:DW,$c:true,$r,h,i,j,k,l,m,n,o,p,$s};return $f;};$pkg.Pread=DW;DX=function(h,i,j){var{h,i,j,k,l,m,n,o,p,$s,$r,$c}=$restore(this,{h,i,j});$s=$s||0;s:while(true){switch($s){case 0:k=$clone(CJ,F.Value).New(new FF([new $Int(i.$length)]));$s=1;case 1:if($c){$c=false;k=k.$blk();}if(k&&k.$blk!==undefined){break s;}l=$clone(k,F.Value);F.CopyBytesToJS($clone(l,F.Value),i);n=FA("write",new FF([new $Int(h),new l.constructor.elem(l),new $Int(0),new $Int(i.$length),j]));$s=2;case 2:if($c){$c=false;n=n.$blk();}if(n&&n.$blk!==undefined){break s;}m=n;o=$clone(m[0],F.Value);p=m[1];if(!($interfaceIsEqual(p,$ifaceNil))){$s=-1;return[0,p];}$s=-1;return[$clone(o,F.Value).Int(),$ifaceNil];}return;}var $f={$blk:DX,$c:true,$r,h,i,j,k,l,m,n,o,p,$s};return $f;};$pkg.Pwrite=DX;DY=function(h,i,j){var{h,i,j,k,l,m,n,o,p,q,r,s,t,u,$s,$r,$c}=$restore(this,{h,i,j});$s=$s||0;s:while(true){switch($s){case 0:k=[k];m=CT(h);$s=1;case 1:if($c){$c=false;m=m.$blk();}if(m&&m.$blk!==undefined){break s;}l=m;n=l[0];o=l[1];if(!($interfaceIsEqual(o,$ifaceNil))){$s=-1;return[new $Int64(0,0),o];}p=new $Int64(0,0);q=j;if(q===(0)){$s=3;continue;}if(q===(1)){$s=4;continue;}if(q===(2)){$s=5;continue;}$s=6;continue;case 3:p=i;$s=7;continue;case 4:p=(r=n.pos,new $Int64(r.$high+i.$high,r.$low+i.$low));$s=7;continue;case 5:k[0]=new Y.ptr(new $Int64(0,0),new $Uint64(0,0),0,0,0,0,new $Int64(0,0),new $Int64(0,0),0,0,new $Int64(0,0),new $Int64(0,0),new $Int64(0,0),new $Int64(0,0),new $Int64(0,0),new $Int64(0,0));s=DB(h,k[0]);$s=8;case 8:if($c){$c=false;s=s.$blk();}if(s&&s.$blk!==undefined){break s;}t=s;if(!($interfaceIsEqual(t,$ifaceNil))){$s=-1;return[new $Int64(0,0),t];}p=(u=k[0].Size,new $Int64(u.$high+i.$high,u.$low+i.$low));$s=7;continue;case 6:$s=-1;return[new $Int64(0,0),P(22)];case 7:case 2:if((p.$high<0||(p.$high===0&&p.$low<0))){$s=-1;return[new $Int64(0,0),P(22)];}n.seeked=true;n.dirIdx=0;n.pos=p;$s=-1;return[p,$ifaceNil];}return;}var $f={$blk:DY,$c:true,$r,h,i,j,k,l,m,n,o,p,q,r,s,t,u,$s};return $f;};$pkg.Seek=DY;DZ=function(h){var h;return[0,new V(38)];};$pkg.Dup=DZ;EC=function(h){var h,i;if(h===""){return new V(22);}i=0;while(true){if(!(i>0;}return $ifaceNil;};ED=function(h){var h,i,j,k,l;i=$recover();if(!($interfaceIsEqual(i,$ifaceNil))){j=$assertType(i,F.Error,true);k=$clone(j[0],F.Error);l=j[1];if(!l){$panic(i);}h.$set(EE($clone(k.Value,F.Value)));}};EE=function(h){var h,i,j,k,l;i=(j=Q[$String.keyFor($clone($clone(h,F.Value).Get("code"),F.Value).String())],j!==undefined?[j.v,true]:[0,false]);k=i[0];l=i[1];if(!l){$panic(new h.constructor.elem(h));}return P((k));};EV=function(){var{h,i,j,k,l,m,n,$s,$r,$c}=$restore(this,{});$s=$s||0;s:while(true){switch($s){case 0:h=$clone($clone(F.Global(),F.Value).Get("process"),F.Value);if($clone(h,F.Value).IsUndefined()){$s=-1;return FC.nil;}i=$clone($clone(h,F.Value).Get("env"),F.Value);j=$clone($clone(F.Global(),F.Value).Get("Object"),F.Value).Call("keys",new FF([new i.constructor.elem(i)]));$s=1;case 1:if($c){$c=false;j=j.$blk();}if(j&&j.$blk!==undefined){break s;}k=$clone(j,F.Value);l=$makeSlice(FC,$clone(k,F.Value).Length());m=0;while(true){if(!(m<$clone(k,F.Value).Length())){break;}n=$clone($clone(k,F.Value).Index(m),F.Value).String();((m<0||m>=l.$length)?($throwRuntimeError("index out of range"),undefined):l.$array[l.$offset+m]=n+"="+$clone($clone(i,F.Value).Get(n),F.Value).String());m=m+(1)>>0;}$s=-1;return l;}return;}var $f={$blk:EV,$c:true,$r,h,i,j,k,l,m,n,$s};return $f;};EY=function(h,i){var h,i,j,k,l;h.Dev=(new $Int64(0,$clone($clone(i,F.Value).Get("dev"),F.Value).Int()));h.Ino=(new $Uint64(0,$clone($clone(i,F.Value).Get("ino"),F.Value).Int()));h.Mode=(($clone($clone(i,F.Value).Get("mode"),F.Value).Int()>>>0));h.Nlink=(($clone($clone(i,F.Value).Get("nlink"),F.Value).Int()>>>0));h.Uid=(($clone($clone(i,F.Value).Get("uid"),F.Value).Int()>>>0));h.Gid=(($clone($clone(i,F.Value).Get("gid"),F.Value).Int()>>>0));h.Rdev=(new $Int64(0,$clone($clone(i,F.Value).Get("rdev"),F.Value).Int()));h.Size=(new $Int64(0,$clone($clone(i,F.Value).Get("size"),F.Value).Int()));h.Blksize=(($clone($clone(i,F.Value).Get("blksize"),F.Value).Int()>>0));h.Blocks=(($clone($clone(i,F.Value).Get("blocks"),F.Value).Int()>>0));j=(new $Int64(0,$clone($clone(i,F.Value).Get("atimeMs"),F.Value).Float()));h.Atime=$div64(j,new $Int64(0,1000),false);h.AtimeNsec=$mul64(($div64(j,new $Int64(0,1000),true)),new $Int64(0,1000000));k=(new $Int64(0,$clone($clone(i,F.Value).Get("mtimeMs"),F.Value).Float()));h.Mtime=$div64(k,new $Int64(0,1000),false);h.MtimeNsec=$mul64(($div64(k,new $Int64(0,1000),true)),new $Int64(0,1000000));l=(new $Int64(0,$clone($clone(i,F.Value).Get("ctimeMs"),F.Value).Float()));h.Ctime=$div64(l,new $Int64(0,1000),false);h.CtimeNsec=$mul64(($div64(l,new $Int64(0,1000),true)),new $Int64(0,1000000));};FA=function(h,i){var{h,i,j,k,l,m,n,o,p,$s,$deferred,$r,$c}=$restore(this,{h,i});$s=$s||0;var $err=null;try{s:while(true){switch($s){case 0:$deferred=[];$curGoroutine.deferStack.push($deferred);j=[j];j[0]=new $Chan(FK,1);k=$clone(F.FuncOf((function(j){return function $b(k,l){var{k,l,m,n,$s,$r,$c}=$restore(this,{k,l});$s=$s||0;s:while(true){switch($s){case 0:m=new FK.ptr(new F.Value.ptr(null,false,FM.zero()),$ifaceNil);if(l.$length>=1){n=$clone((0>=l.$length?($throwRuntimeError("index out of range"),undefined):l.$array[l.$offset+0]),F.Value);if(!$clone(n,F.Value).IsUndefined()&&!$clone(n,F.Value).IsNull()){m.err=EE($clone(n,F.Value));}}F.Value.copy(m.val,F.Undefined());if(l.$length>=2){F.Value.copy(m.val,(1>=l.$length?($throwRuntimeError("index out of range"),undefined):l.$array[l.$offset+1]));}$r=$send(j[0],$clone($clone(m,FK),FK));$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return $ifaceNil;}return;}var $f={$blk:$b,$c:true,$r,k,l,m,n,$s};return $f;};})(j)),F.Func);$deferred.push([$methodVal($clone(k,F.Func),"Release"),[]]);if($clone($clone(CH,F.Value).Get(h),F.Value).IsUndefined()){$s=1;continue;}$s=2;continue;case 1:l=[F.Undefined(),new V(38)];$s=3;case 3:return l;case 2:m=$clone(CH,F.Value).Call(h,$append(i,new k.constructor.elem(k)));$s=4;case 4:if($c){$c=false;m=m.$blk();}if(m&&m.$blk!==undefined){break s;}m;n=$recv(j[0]);$s=5;case 5:if($c){$c=false;n=n.$blk();}if(n&&n.$blk!==undefined){break s;}o=$clone(n[0],FK);p=[o.val,o.err];$s=6;case 6:return p;}return;}}catch(err){$err=err;$s=-1;return[new F.Value.ptr(null,false,FM.zero()),$ifaceNil];}finally{$callDeferred($deferred,$err);if($curGoroutine.asleep){var $f={$blk:FA,$c:true,$r,h,i,j,k,l,m,n,o,p,$s,$deferred};return $f;}}};V.methods=[{prop:"Error",name:"Error",pkg:"",typ:$funcType([],[$String],false)},{prop:"Is",name:"Is",pkg:"",typ:$funcType([$error],[$Bool],false)},{prop:"Temporary",name:"Temporary",pkg:"",typ:$funcType([],[$Bool],false)},{prop:"Timeout",name:"Timeout",pkg:"",typ:$funcType([],[$Bool],false)}];Y.init("",[{prop:"Dev",name:"Dev",embedded:false,exported:true,typ:$Int64,tag:""},{prop:"Ino",name:"Ino",embedded:false,exported:true,typ:$Uint64,tag:""},{prop:"Mode",name:"Mode",embedded:false,exported:true,typ:$Uint32,tag:""},{prop:"Nlink",name:"Nlink",embedded:false,exported:true,typ:$Uint32,tag:""},{prop:"Uid",name:"Uid",embedded:false,exported:true,typ:$Uint32,tag:""},{prop:"Gid",name:"Gid",embedded:false,exported:true,typ:$Uint32,tag:""},{prop:"Rdev",name:"Rdev",embedded:false,exported:true,typ:$Int64,tag:""},{prop:"Size",name:"Size",embedded:false,exported:true,typ:$Int64,tag:""},{prop:"Blksize",name:"Blksize",embedded:false,exported:true,typ:$Int32,tag:""},{prop:"Blocks",name:"Blocks",embedded:false,exported:true,typ:$Int32,tag:""},{prop:"Atime",name:"Atime",embedded:false,exported:true,typ:$Int64,tag:""},{prop:"AtimeNsec",name:"AtimeNsec",embedded:false,exported:true,typ:$Int64,tag:""},{prop:"Mtime",name:"Mtime",embedded:false,exported:true,typ:$Int64,tag:""},{prop:"MtimeNsec",name:"MtimeNsec",embedded:false,exported:true,typ:$Int64,tag:""},{prop:"Ctime",name:"Ctime",embedded:false,exported:true,typ:$Int64,tag:""},{prop:"CtimeNsec",name:"CtimeNsec",embedded:false,exported:true,typ:$Int64,tag:""}]);AW.init("",[]);BH.init([]);BI.init("",[{prop:"Port",name:"Port",embedded:false,exported:true,typ:$Int,tag:""},{prop:"Addr",name:"Addr",embedded:false,exported:true,typ:FR,tag:""}]);BJ.init("",[{prop:"Port",name:"Port",embedded:false,exported:true,typ:$Int,tag:""},{prop:"ZoneId",name:"ZoneId",embedded:false,exported:true,typ:$Uint32,tag:""},{prop:"Addr",name:"Addr",embedded:false,exported:true,typ:FS,tag:""}]);CB.init([{prop:"Control",name:"Control",pkg:"",typ:$funcType([FT],[$error],false)},{prop:"Read",name:"Read",pkg:"",typ:$funcType([FU],[$error],false)},{prop:"Write",name:"Write",pkg:"",typ:$funcType([FU],[$error],false)}]);CQ.init("syscall",[{prop:"path",name:"path",embedded:false,exported:false,typ:$String,tag:""},{prop:"entries",name:"entries",embedded:false,exported:false,typ:FC,tag:""},{prop:"dirIdx",name:"dirIdx",embedded:false,exported:false,typ:$Int,tag:""},{prop:"pos",name:"pos",embedded:false,exported:false,typ:$Int64,tag:""},{prop:"seeked",name:"seeked",embedded:false,exported:false,typ:$Bool,tag:""}]);FK.init("syscall",[{prop:"val",name:"val",embedded:false,exported:false,typ:F.Value,tag:""},{prop:"err",name:"err",embedded:false,exported:false,typ:$error,tag:""}]);$init=function(){$pkg.$init=function(){};var $f,$c=false,$s=0,$r;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:$r=E.$init();$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=B.$init();$s=2;case 2:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=C.$init();$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=A.$init();$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=D.$init();$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=F.$init();$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$pkg.ForkLock=new D.RWMutex.ptr(new D.Mutex.ptr(0,0),0,0,0,0);CR=new D.Mutex.ptr(0,0);L=$toNativeArray($kindString,["","Operation not permitted","No such file or directory","No such process","Interrupted system call","I/O error","No such device or address","Argument list too long","Exec format error","Bad file number","No child processes","Try again","Out of memory","Permission denied","Bad address","","Device or resource busy","File exists","Cross-device link","No such device","Not a directory","Is a directory","Invalid argument","File table overflow","Too many open files","Not a typewriter","","File too large","No space left on device","Illegal seek","Read-only file system","Too many links","Broken pipe","Math arg out of domain of func","Math result not representable","Deadlock condition","File name too long","No record locks available","not implemented on js","Directory not empty","Too many symbolic links","","No message of desired type","Identifier removed","Channel number out of range","Level 2 not synchronized","Level 3 halted","Level 3 reset","Link number out of range","Protocol driver not attached","No CSI structure available","Level 2 halted","Invalid exchange","Invalid request descriptor","Exchange full","No anode","Invalid request code","Invalid slot","","Bad font file fmt","Device not a stream","No data (for no delay io)","Timer expired","Out of streams resources","Machine is not on the network","Package not installed","The object is remote","The link has been severed","Advertise error","Srmount error","Communication error on send","Protocol error","Multihop attempted","Cross mount point (not really error)","Trying to read unreadable message","Value too large for defined data type","Given log. name not unique","f.d. invalid for this operation","Remote address changed","Can't access a needed shared lib","Accessing a corrupted shared lib",".lib section in a.out corrupted","Attempting to link in too many libs","Attempting to exec a shared library","","","","","Socket operation on non-socket","Destination address required","Message too long","Protocol wrong type for socket","Protocol not available","Unknown protocol","Socket type not supported","Operation not supported on transport endpoint","Protocol family not supported","Address family not supported by protocol family","Address already in use","Address not available","Network interface is not configured","Network is unreachable","","Connection aborted","Connection reset by peer","No buffer space available","Socket is already connected","Socket is not connected","Can't send after socket shutdown","","Connection timed out","Connection refused","Host is down","Host is unreachable","Socket already connected","Connection already in progress","","","","","","","Quota exceeded","No medium (in tape drive)","","Operation canceled.","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","Inode is remote (not really error)","Inappropriate file type or format","No more files","","No such host or network path","Filename exists with different case"]);M=new V(11);N=new V(22);O=new V(2);Q=$makeMap($String.keyFor,[{k:"EPERM",v:1},{k:"ENOENT",v:2},{k:"ESRCH",v:3},{k:"EINTR",v:4},{k:"EIO",v:5},{k:"ENXIO",v:6},{k:"E2BIG",v:7},{k:"ENOEXEC",v:8},{k:"EBADF",v:9},{k:"ECHILD",v:10},{k:"EAGAIN",v:11},{k:"ENOMEM",v:12},{k:"EACCES",v:13},{k:"EFAULT",v:14},{k:"EBUSY",v:16},{k:"EEXIST",v:17},{k:"EXDEV",v:18},{k:"ENODEV",v:19},{k:"ENOTDIR",v:20},{k:"EISDIR",v:21},{k:"EINVAL",v:22},{k:"ENFILE",v:23},{k:"EMFILE",v:24},{k:"ENOTTY",v:25},{k:"EFBIG",v:27},{k:"ENOSPC",v:28},{k:"ESPIPE",v:29},{k:"EROFS",v:30},{k:"EMLINK",v:31},{k:"EPIPE",v:32},{k:"ENAMETOOLONG",v:36},{k:"ENOSYS",v:38},{k:"EDQUOT",v:122},{k:"EDOM",v:33},{k:"ERANGE",v:34},{k:"EDEADLK",v:35},{k:"ENOLCK",v:37},{k:"ENOTEMPTY",v:39},{k:"ELOOP",v:40},{k:"ENOMSG",v:42},{k:"EIDRM",v:43},{k:"ECHRNG",v:44},{k:"EL2NSYNC",v:45},{k:"EL3HLT",v:46},{k:"EL3RST",v:47},{k:"ELNRNG",v:48},{k:"EUNATCH",v:49},{k:"ENOCSI",v:50},{k:"EL2HLT",v:51},{k:"EBADE",v:52},{k:"EBADR",v:53},{k:"EXFULL",v:54},{k:"ENOANO",v:55},{k:"EBADRQC",v:56},{k:"EBADSLT",v:57},{k:"EDEADLOCK",v:35},{k:"EBFONT",v:59},{k:"ENOSTR",v:60},{k:"ENODATA",v:61},{k:"ETIME",v:62},{k:"ENOSR",v:63},{k:"ENONET",v:64},{k:"ENOPKG",v:65},{k:"EREMOTE",v:66},{k:"ENOLINK",v:67},{k:"EADV",v:68},{k:"ESRMNT",v:69},{k:"ECOMM",v:70},{k:"EPROTO",v:71},{k:"EMULTIHOP",v:72},{k:"EDOTDOT",v:73},{k:"EBADMSG",v:74},{k:"EOVERFLOW",v:75},{k:"ENOTUNIQ",v:76},{k:"EBADFD",v:77},{k:"EREMCHG",v:78},{k:"ELIBACC",v:79},{k:"ELIBBAD",v:80},{k:"ELIBSCN",v:81},{k:"ELIBMAX",v:82},{k:"ELIBEXEC",v:83},{k:"EILSEQ",v:84},{k:"EUSERS",v:87},{k:"ENOTSOCK",v:88},{k:"EDESTADDRREQ",v:89},{k:"EMSGSIZE",v:90},{k:"EPROTOTYPE",v:91},{k:"ENOPROTOOPT",v:92},{k:"EPROTONOSUPPORT",v:93},{k:"ESOCKTNOSUPPORT",v:94},{k:"EOPNOTSUPP",v:95},{k:"EPFNOSUPPORT",v:96},{k:"EAFNOSUPPORT",v:97},{k:"EADDRINUSE",v:98},{k:"EADDRNOTAVAIL",v:99},{k:"ENETDOWN",v:100},{k:"ENETUNREACH",v:101},{k:"ENETRESET",v:102},{k:"ECONNABORTED",v:103},{k:"ECONNRESET",v:104},{k:"ENOBUFS",v:105},{k:"EISCONN",v:106},{k:"ENOTCONN",v:107},{k:"ESHUTDOWN",v:108},{k:"ETOOMANYREFS",v:109},{k:"ETIMEDOUT",v:110},{k:"ECONNREFUSED",v:111},{k:"EHOSTDOWN",v:112},{k:"EHOSTUNREACH",v:113},{k:"EALREADY",v:114},{k:"EINPROGRESS",v:115},{k:"ESTALE",v:116},{k:"ENOTSUP",v:95},{k:"ENOMEDIUM",v:123},{k:"ECANCELED",v:125},{k:"ELBIN",v:2048},{k:"EFTYPE",v:2049},{k:"ENMFILE",v:2050},{k:"EPROCLIM",v:2051},{k:"ENOSHARE",v:2052},{k:"ECASECLASH",v:2053},{k:"EWOULDBLOCK",v:11}]);CG=$clone($clone(F.Global(),F.Value).Get("process"),F.Value);CH=$clone($clone(F.Global(),F.Value).Get("fs"),F.Value);CI=$clone($clone(CH,F.Value).Get("constants"),F.Value);CJ=$clone($clone(F.Global(),F.Value).Get("Uint8Array"),F.Value);CK=$clone($clone(CI,F.Value).Get("O_WRONLY"),F.Value).Int();CL=$clone($clone(CI,F.Value).Get("O_RDWR"),F.Value).Int();CM=$clone($clone(CI,F.Value).Get("O_CREAT"),F.Value).Int();CN=$clone($clone(CI,F.Value).Get("O_TRUNC"),F.Value).Int();CO=$clone($clone(CI,F.Value).Get("O_APPEND"),F.Value).Int();CP=$clone($clone(CI,F.Value).Get("O_EXCL"),F.Value).Int();CS=$makeMap($Int.keyFor,[{k:0,v:new CQ.ptr("",FC.nil,0,new $Int64(0,0),false)},{k:1,v:new CQ.ptr("",FC.nil,0,new $Int64(0,0),false)},{k:2,v:new CQ.ptr("",FC.nil,0,new $Int64(0,0),false)}]);g=EV();$s=7;case 7:if($c){$c=false;g=g.$blk();}if(g&&g.$blk!==undefined){break s;}EI=g;}return;}if($f===undefined){$f={$blk:$init};}$f.$s=$s;$f.$r=$r;return $f;};$pkg.$init=$init;return $pkg;})(); $packages["internal/syscall/unix"]=(function(){var $pkg={},$init,A,B,C,D,E,F,G,H,I,J;A=$packages["syscall"];B=function(a){var a,b,c,d,e;b=false;c=$ifaceNil;d=false;e=$ifaceNil;b=d;c=e;return[b,c];};$pkg.IsNonblock=B;C=function(a,b,c,d){var a,b,c,d;return[0,new A.Errno(38)];};$pkg.RecvfromInet4=C;D=function(a,b,c,d){var a,b,c,d,e,f,g,h;e=0;f=$ifaceNil;g=0;h=new A.Errno(38);e=g;f=h;return[e,f];};$pkg.RecvfromInet6=D;E=function(a,b,c,d){var a,b,c,d,e;e=$ifaceNil;e=new A.Errno(38);return e;};$pkg.SendtoInet4=E;F=function(a,b,c,d){var a,b,c,d,e;e=$ifaceNil;e=new A.Errno(38);return e;};$pkg.SendtoInet6=F;G=function(a,b,c,d,e){var a,b,c,d,e,f,g,h,i;f=0;g=$ifaceNil;h=0;i=new A.Errno(38);f=h;g=i;return[f,g];};$pkg.SendmsgNInet4=G;H=function(a,b,c,d,e){var a,b,c,d,e,f,g,h,i;f=0;g=$ifaceNil;h=0;i=new A.Errno(38);f=h;g=i;return[f,g];};$pkg.SendmsgNInet6=H;I=function(a,b,c,d,e){var a,b,c,d,e,f,g,h,i,j,k,l,m;f=0;g=0;h=0;i=$ifaceNil;j=0;k=0;l=0;m=new A.Errno(38);f=j;g=k;h=l;i=m;return[f,g,h,i];};$pkg.RecvmsgInet4=I;J=function(a,b,c,d,e){var a,b,c,d,e,f,g,h,i,j,k,l,m;f=0;g=0;h=0;i=$ifaceNil;j=0;k=0;l=0;m=new A.Errno(38);f=j;g=k;h=l;i=m;return[f,g,h,i];};$pkg.RecvmsgInet6=J;$init=function(){$pkg.$init=function(){};var $f,$c=false,$s=0,$r;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:$r=A.$init();$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}}return;}if($f===undefined){$f={$blk:$init};}$f.$s=$s;$f.$r=$r;return $f;};$pkg.$init=$init;return $pkg;})(); $packages["github.com/gopherjs/gopherjs/nosync"]=(function(){var $pkg={},$init,B,J,K;B=$pkg.Once=$newType(0,$kindStruct,"nosync.Once",true,"github.com/gopherjs/gopherjs/nosync",true,function(doing_,done_){this.$val=this;if(arguments.length===0){this.doing=false;this.done=false;return;}this.doing=doing_;this.done=done_;});J=$funcType([],[],false);K=$ptrType(B);B.ptr.prototype.Do=function(a){var{a,b,$s,$deferred,$r,$c}=$restore(this,{a});$s=$s||0;var $err=null;try{s:while(true){switch($s){case 0:$deferred=[];$curGoroutine.deferStack.push($deferred);b=[b];b[0]=this;if(b[0].done){$s=1;continue;}$s=2;continue;case 1:$s=3;case 3:return;case 2:if(b[0].doing){$panic(new $String("nosync: Do called within f"));}b[0].doing=true;$deferred.push([(function(b){return function(){b[0].doing=false;b[0].done=true;};})(b),[]]);$r=a();$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return;}return;}}catch(err){$err=err;$s=-1;}finally{$callDeferred($deferred,$err);if($curGoroutine.asleep){var $f={$blk:B.ptr.prototype.Do,$c:true,$r,a,b,$s,$deferred};return $f;}}};B.prototype.Do=function(a){return this.$val.Do(a);};K.methods=[{prop:"Do",name:"Do",pkg:"",typ:$funcType([J],[],false)}];B.init("github.com/gopherjs/gopherjs/nosync",[{prop:"doing",name:"doing",embedded:false,exported:false,typ:$Bool,tag:""},{prop:"done",name:"done",embedded:false,exported:false,typ:$Bool,tag:""}]);$init=function(){$pkg.$init=function(){};var $f,$c=false,$s=0,$r;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:}return;}if($f===undefined){$f={$blk:$init};}$f.$s=$s;$f.$r=$r;return $f;};$pkg.$init=$init;return $pkg;})(); $packages["time"]=(function(){var $pkg={},$init,A,F,E,B,C,D,W,X,Y,AG,AH,AQ,AR,AS,AV,CW,EF,EG,EH,EJ,EK,EL,EO,ER,ES,ET,EW,FA,L,Z,ED,AA,EE,AB,AL,BC,BG,CF,CI,CJ,CK,CL,CP,CV,DL,EB,j,k,AC,AD,AE,AF,AI,AJ,AK,AT,AU,AW,AX,AY,BB,BD,BE,BF,BI,BJ,BM,BN,BO,BP,CG,CH,CM,CN,CO,CQ,CR,CS,CT,CU,CX,CY,CZ,DA,DB,DC,DD,DF,DG,DH,DI,DJ,DK,DM,DQ,DR,DS;A=$packages["errors"];F=$packages["github.com/gopherjs/gopherjs/js"];E=$packages["github.com/gopherjs/gopherjs/nosync"];B=$packages["runtime"];C=$packages["syscall"];D=$packages["syscall/js"];W=$pkg.Location=$newType(0,$kindStruct,"time.Location",true,"time",true,function(name_,zone_,tx_,extend_,cacheStart_,cacheEnd_,cacheZone_){this.$val=this;if(arguments.length===0){this.name="";this.zone=EF.nil;this.tx=EG.nil;this.extend="";this.cacheStart=new $Int64(0,0);this.cacheEnd=new $Int64(0,0);this.cacheZone=EH.nil;return;}this.name=name_;this.zone=zone_;this.tx=tx_;this.extend=extend_;this.cacheStart=cacheStart_;this.cacheEnd=cacheEnd_;this.cacheZone=cacheZone_;});X=$pkg.zone=$newType(0,$kindStruct,"time.zone",true,"time",false,function(name_,offset_,isDST_){this.$val=this;if(arguments.length===0){this.name="";this.offset=0;this.isDST=false;return;}this.name=name_;this.offset=offset_;this.isDST=isDST_;});Y=$pkg.zoneTrans=$newType(0,$kindStruct,"time.zoneTrans",true,"time",false,function(when_,index_,isstd_,isutc_){this.$val=this;if(arguments.length===0){this.when=new $Int64(0,0);this.index=0;this.isstd=false;this.isutc=false;return;}this.when=when_;this.index=index_;this.isstd=isstd_;this.isutc=isutc_;});AG=$pkg.ruleKind=$newType(4,$kindInt,"time.ruleKind",true,"time",false,null);AH=$pkg.rule=$newType(0,$kindStruct,"time.rule",true,"time",false,function(kind_,day_,week_,mon_,time_){this.$val=this;if(arguments.length===0){this.kind=0;this.day=0;this.week=0;this.mon=0;this.time=0;return;}this.kind=kind_;this.day=day_;this.week=week_;this.mon=mon_;this.time=time_;});AQ=$pkg.Time=$newType(0,$kindStruct,"time.Time",true,"time",true,function(wall_,ext_,loc_){this.$val=this;if(arguments.length===0){this.wall=new $Uint64(0,0);this.ext=new $Int64(0,0);this.loc=EL.nil;return;}this.wall=wall_;this.ext=ext_;this.loc=loc_;});AR=$pkg.Month=$newType(4,$kindInt,"time.Month",true,"time",true,null);AS=$pkg.Weekday=$newType(4,$kindInt,"time.Weekday",true,"time",true,null);AV=$pkg.Duration=$newType(8,$kindInt64,"time.Duration",true,"time",true,null);CW=$pkg.ParseError=$newType(0,$kindStruct,"time.ParseError",true,"time",true,function(Layout_,Value_,LayoutElem_,ValueElem_,Message_){this.$val=this;if(arguments.length===0){this.Layout="";this.Value="";this.LayoutElem="";this.ValueElem="";this.Message="";return;}this.Layout=Layout_;this.Value=Value_;this.LayoutElem=LayoutElem_;this.ValueElem=ValueElem_;this.Message=Message_;});EF=$sliceType(X);EG=$sliceType(Y);EH=$ptrType(X);EJ=$sliceType($String);EK=$sliceType($Uint8);EL=$ptrType(W);EO=$arrayType($Uint8,32);ER=$arrayType($Uint8,20);ES=$arrayType($Uint8,9);ET=$arrayType($Uint8,64);EW=$ptrType(AQ);FA=$ptrType(CW);W.ptr.prototype.get=function(){var{l,$s,$r,$c}=$restore(this,{});$s=$s||0;s:while(true){switch($s){case 0:l=this;if(l===EL.nil){$s=-1;return Z;}if(l===AA){$s=1;continue;}$s=2;continue;case 1:$r=AB.Do(DQ);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return l;}return;}var $f={$blk:W.ptr.prototype.get,$c:true,$r,l,$s};return $f;};W.prototype.get=function(){return this.$val.get();};W.ptr.prototype.String=function(){var{l,m,n,$s,$r,$c}=$restore(this,{});$s=$s||0;s:while(true){switch($s){case 0:l=this;m=l.get();$s=1;case 1:if($c){$c=false;m=m.$blk();}if(m&&m.$blk!==undefined){break s;}n=m.name;$s=2;case 2:return n;}return;}var $f={$blk:W.ptr.prototype.String,$c:true,$r,l,m,n,$s};return $f;};W.prototype.String=function(){return this.$val.String();};AC=function(l,m){var l,m,n,o;n=new W.ptr(l,new EF([new X.ptr(l,m,false)]),new EG([new Y.ptr(new $Int64(-2147483648,0),0,false,false)]),"",new $Int64(-2147483648,0),new $Int64(2147483647,4294967295),EH.nil);n.cacheZone=(o=n.zone,(0>=o.$length?($throwRuntimeError("index out of range"),undefined):o.$array[o.$offset+0]));return n;};$pkg.FixedZone=AC;W.ptr.prototype.lookup=function(l){var{aa,ab,ac,ad,ae,af,ag,ah,ai,aj,ak,al,am,an,ao,ap,aq,ar,as,at,au,av,aw,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,$s,$r,$c}=$restore(this,{l});$s=$s||0;s:while(true){switch($s){case 0:m="";n=0;o=new $Int64(0,0);p=new $Int64(0,0);q=false;r=this;s=r.get();$s=1;case 1:if($c){$c=false;s=s.$blk();}if(s&&s.$blk!==undefined){break s;}r=s;if(r.zone.$length===0){m="UTC";n=0;o=new $Int64(-2147483648,0);p=new $Int64(2147483647,4294967295);q=false;$s=-1;return[m,n,o,p,q];}t=r.cacheZone;if(!(t===EH.nil)&&(u=r.cacheStart,(u.$high=x.$length?($throwRuntimeError("index out of range"),undefined):x.$array[x.$offset+0])).when,(l.$high=y.$length)?($throwRuntimeError("index out of range"),undefined):y.$array[y.$offset+z]));m=aa.name;n=aa.offset;o=new $Int64(-2147483648,0);if(r.tx.$length>0){p=(ab=r.tx,(0>=ab.$length?($throwRuntimeError("index out of range"),undefined):ab.$array[ab.$offset+0])).when;}else{p=new $Int64(2147483647,4294967295);}q=aa.isDST;$s=-1;return[m,n,o,p,q];}ac=r.tx;p=new $Int64(2147483647,4294967295);ad=0;ae=ac.$length;while(true){if(!((ae-ad>>0)>1)){break;}ag=ad+(af=((ae-ad>>0))/2,(af===af&&af!==1/0&&af!==-1/0)?af>>0:$throwRuntimeError("integer divide by zero"))>>0;ah=((ag<0||ag>=ac.$length)?($throwRuntimeError("index out of range"),undefined):ac.$array[ac.$offset+ag]).when;if((l.$high=ac.$length)?($throwRuntimeError("index out of range"),undefined):ac.$array[ac.$offset+ad]).index,((aj<0||aj>=ai.$length)?($throwRuntimeError("index out of range"),undefined):ai.$array[ai.$offset+aj]));m=ak.name;n=ak.offset;o=((ad<0||ad>=ac.$length)?($throwRuntimeError("index out of range"),undefined):ac.$array[ac.$offset+ad]).when;q=ak.isDST;if((ad===(ac.$length-1>>0))&&!(r.extend==="")){al=AD(r.extend,p,l);am=al[0];an=al[1];ao=al[2];ap=al[3];aq=al[4];ar=al[5];if(ar){as=am;at=an;au=ao;av=ap;aw=aq;m=as;n=at;o=au;p=av;q=aw;$s=-1;return[m,n,o,p,q];}}$s=-1;return[m,n,o,p,q];}return;}var $f={$blk:W.ptr.prototype.lookup,$c:true,$r,aa,ab,ac,ad,ae,af,ag,ah,ai,aj,ak,al,am,an,ao,ap,aq,ar,as,at,au,av,aw,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,$s};return $f;};W.prototype.lookup=function(l){return this.$val.lookup(l);};W.ptr.prototype.lookupFirstZone=function(){var l,m,n,o,p,q,r,s,t,u,v;l=this;if(!l.firstZoneUsed()){return 0;}if(l.tx.$length>0&&(m=l.zone,n=(o=l.tx,(0>=o.$length?($throwRuntimeError("index out of range"),undefined):o.$array[o.$offset+0])).index,((n<0||n>=m.$length)?($throwRuntimeError("index out of range"),undefined):m.$array[m.$offset+n])).isDST){q=(((p=l.tx,(0>=p.$length?($throwRuntimeError("index out of range"),undefined):p.$array[p.$offset+0])).index>>0))-1>>0;while(true){if(!(q>=0)){break;}if(!(r=l.zone,((q<0||q>=r.$length)?($throwRuntimeError("index out of range"),undefined):r.$array[r.$offset+q])).isDST){return q;}q=q-(1)>>0;}}s=l.zone;t=0;while(true){if(!(t=v.$length)?($throwRuntimeError("index out of range"),undefined):v.$array[v.$offset+u])).isDST){return u;}t++;}return 0;};W.prototype.lookupFirstZone=function(){return this.$val.lookupFirstZone();};W.ptr.prototype.firstZoneUsed=function(){var l,m,n,o;l=this;m=l.tx;n=0;while(true){if(!(n=m.$length)?($throwRuntimeError("index out of range"),undefined):m.$array[m.$offset+n]),Y);if(o.index===0){return true;}n++;}return false;};W.prototype.firstZoneUsed=function(){return this.$val.firstZoneUsed();};AD=function(l,m,n){var aa,ab,ac,ad,ae,af,ag,ah,ai,aj,ak,al,am,an,ao,ap,aq,ar,as,at,au,av,aw,ax,ay,az,ba,bb,bc,bd,be,bf,bg,bh,bi,bj,bk,bl,bm,bn,bo,bp,bq,br,bs,bt,bu,bv,bw,bx,by,bz,ca,cb,cc,cd,ce,cf,cg,ch,ci,cj,ck,cl,cm,cn,co,cp,cq,cr,cs,ct,cu,cv,cw,cx,cy,cz,da,db,dc,dd,de,df,dg,dh,di,dj,dk,dl,dm,dn,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z;o="";p=0;q=new $Int64(0,0);r=new $Int64(0,0);s=false;t=false;u="";v="";w=u;x=v;y=0;z=0;aa=y;ab=z;ac=AE(l);w=ac[0];l=ac[1];t=ac[2];if(t){ad=AF(l);aa=ad[0];l=ad[1];t=ad[2];}if(!t){ae="";af=0;ag=new $Int64(0,0);ah=new $Int64(0,0);ai=false;aj=false;o=ae;p=af;q=ag;r=ah;s=ai;t=aj;return[o,p,q,r,s,t];}aa=-aa;if((l.length===0)||(l.charCodeAt(0)===44)){ak=w;al=aa;am=m;an=new $Int64(2147483647,4294967295);ao=false;ap=true;o=ak;p=al;q=am;r=an;s=ao;t=ap;return[o,p,q,r,s,t];}aq=AE(l);x=aq[0];l=aq[1];t=aq[2];if(t){if((l.length===0)||(l.charCodeAt(0)===44)){ab=aa+3600>>0;}else{ar=AF(l);ab=ar[0];l=ar[1];t=ar[2];ab=-ab;}}if(!t){as="";at=0;au=new $Int64(0,0);av=new $Int64(0,0);aw=false;ax=false;o=as;p=at;q=au;r=av;s=aw;t=ax;return[o,p,q,r,s,t];}if(l.length===0){l=",M3.2.0,M11.1.0";}if(!((l.charCodeAt(0)===44))&&!((l.charCodeAt(0)===59))){ay="";az=0;ba=new $Int64(0,0);bb=new $Int64(0,0);bc=false;bd=false;o=ay;p=az;q=ba;r=bb;s=bc;t=bd;return[o,p,q,r,s,t];}l=$substring(l,1);be=new AH.ptr(0,0,0,0,0);bf=new AH.ptr(0,0,0,0,0);bg=$clone(be,AH);bh=$clone(bf,AH);bi=AI(l);AH.copy(bg,bi[0]);l=bi[1];t=bi[2];if(!t||(l.length===0)||!((l.charCodeAt(0)===44))){bj="";bk=0;bl=new $Int64(0,0);bm=new $Int64(0,0);bn=false;bo=false;o=bj;p=bk;q=bl;r=bm;s=bn;t=bo;return[o,p,q,r,s,t];}l=$substring(l,1);bp=AI(l);AH.copy(bh,bp[0]);l=bp[1];t=bp[2];if(!t||l.length>0){bq="";br=0;bs=new $Int64(0,0);bt=new $Int64(0,0);bu=false;bv=false;o=bq;p=br;q=bs;r=bt;s=bu;t=bv;return[o,p,q,r,s,t];}bw=BB(((bx=(by=new $Int64(n.$high+14,n.$low+2006054656),new $Int64(by.$high+2147483631,by.$low+2739393024)),new $Uint64(bx.$high,bx.$low))),false);bz=bw[0];ca=bw[3];cd=(cb=(new $Int64(0,($imul(ca,86400)))),cc=$div64(n,new $Int64(0,86400),true),new $Int64(cb.$high+cc.$high,cb.$low+cc.$low));ce=BE(bz);cg=((cf=$mul64(ce,new $Uint64(0,86400)),new $Int64(cf.$high,cf.$low)));cg=(ch=new $Int64(-2147483647,3844486912),new $Int64(cg.$high+ch.$high,cg.$low+ch.$low));ci=(new $Int64(0,AK(bz,$clone(bg,AH),aa)));cj=(new $Int64(0,AK(bz,$clone(bh,AH),ab)));ck=true;cl=false;cm=ck;cn=cl;if((cj.$highcj.$high||(cd.$high===cj.$high&&cd.$low>=cj.$low))){dc=w;dd=aa;de=new $Int64(cj.$high+cg.$high,cj.$low+cg.$low);df=new $Int64(cg.$high+0,cg.$low+31536000);dg=cn;dh=true;o=dc;p=dd;q=de;r=df;s=dg;t=dh;return[o,p,q,r,s,t];}else{di=x;dj=ab;dk=new $Int64(ci.$high+cg.$high,ci.$low+cg.$low);dl=new $Int64(cj.$high+cg.$high,cj.$low+cg.$low);dm=cm;dn=true;o=di;p=dj;q=dk;r=dl;s=dm;t=dn;return[o,p,q,r,s,t];}};AE=function(l){var l,m,n,o,p,q,r,s,t,u,v,w;if(l.length===0){return["","",false];}if(!((l.charCodeAt(0)===60))){m=l;n=0;while(true){if(!(n>0)),true];}t+=u[1];}return["","",false];}};AF=function(l){var aa,ab,ac,ad,ae,af,ag,ah,ai,aj,ak,al,am,an,ao,ap,aq,ar,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z;m=0;n="";o=false;if(l.length===0){p=0;q="";r=false;m=p;n=q;o=r;return[m,n,o];}s=false;if(l.charCodeAt(0)===43){l=$substring(l,1);}else if(l.charCodeAt(0)===45){l=$substring(l,1);s=true;}t=0;u=AJ(l,0,168);t=u[0];l=u[1];o=u[2];if(!o){v=0;w="";x=false;m=v;n=w;o=x;return[m,n,o];}y=$imul(t,3600);if((l.length===0)||!((l.charCodeAt(0)===58))){if(s){y=-y;}z=y;aa=l;ab=true;m=z;n=aa;o=ab;return[m,n,o];}ac=0;ad=AJ($substring(l,1),0,59);ac=ad[0];l=ad[1];o=ad[2];if(!o){ae=0;af="";ag=false;m=ae;n=af;o=ag;return[m,n,o];}y=y+(($imul(ac,60)))>>0;if((l.length===0)||!((l.charCodeAt(0)===58))){if(s){y=-y;}ah=y;ai=l;aj=true;m=ah;n=ai;o=aj;return[m,n,o];}ak=0;al=AJ($substring(l,1),0,59);ak=al[0];l=al[1];o=al[2];if(!o){am=0;an="";ao=false;m=am;n=an;o=ao;return[m,n,o];}y=y+(ak)>>0;if(s){y=-y;}ap=y;aq=l;ar=true;m=ap;n=aq;o=ar;return[m,n,o];};AI=function(l){var l,m,n,o,p,q,r,s,t,u,v,w,x,y,z;m=new AH.ptr(0,0,0,0,0);if(l.length===0){return[new AH.ptr(0,0,0,0,0),"",false];}n=false;if(l.charCodeAt(0)===74){o=0;p=AJ($substring(l,1),1,365);o=p[0];l=p[1];n=p[2];if(!n){return[new AH.ptr(0,0,0,0,0),"",false];}m.kind=0;m.day=o;}else if(l.charCodeAt(0)===77){q=0;r=AJ($substring(l,1),1,12);q=r[0];l=r[1];n=r[2];if(!n||(l.length===0)||!((l.charCodeAt(0)===46))){return[new AH.ptr(0,0,0,0,0),"",false];}s=0;t=AJ($substring(l,1),1,5);s=t[0];l=t[1];n=t[2];if(!n||(l.length===0)||!((l.charCodeAt(0)===46))){return[new AH.ptr(0,0,0,0,0),"",false];}u=0;v=AJ($substring(l,1),0,6);u=v[0];l=v[1];n=v[2];if(!n){return[new AH.ptr(0,0,0,0,0),"",false];}m.kind=2;m.day=u;m.week=s;m.mon=q;}else{w=0;x=AJ(l,0,365);w=x[0];l=x[1];n=x[2];if(!n){return[new AH.ptr(0,0,0,0,0),"",false];}m.kind=1;m.day=w;}if((l.length===0)||!((l.charCodeAt(0)===47))){m.time=7200;return[m,l,true];}y=AF($substring(l,1));z=y[0];l=y[1];n=y[2];if(!n){return[new AH.ptr(0,0,0,0,0),"",false];}m.time=z;return[m,l,true];};AJ=function(l,m,n){var aa,ab,ac,ad,ae,af,ag,ah,ai,aj,ak,al,am,an,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z;o=0;p="";q=false;if(l.length===0){r=0;s="";t=false;o=r;p=s;q=t;return[o,p,q];}o=0;u=l;v=0;while(true){if(!(v57){if((x===0)||o>0))-48>>0))>>0;if(o>n){af=0;ag="";ah=false;o=af;p=ag;q=ah;return[o,p,q];}v+=w[1];}if(o>0)),86400);if(BM(l)&&m.day>=60){o=o+(86400)>>0;}}else if(p===(1)){o=$imul(m.day,86400);}else if(p===(2)){r=(q=((m.mon+9>>0))%12,q===q?q:$throwRuntimeError("integer divide by zero"))+1>>0;s=l;if(m.mon<=2){s=s-(1)>>0;}u=(t=s/100,(t===t&&t!==1/0&&t!==-1/0)?t>>0:$throwRuntimeError("integer divide by zero"));w=(v=s%100,v===v?v:$throwRuntimeError("integer divide by zero"));ab=(x=(((((((y=((($imul(26,r))-2>>0))/10,(y===y&&y!==1/0&&y!==-1/0)?y>>0:$throwRuntimeError("integer divide by zero"))+1>>0)+w>>0)+(z=w/4,(z===z&&z!==1/0&&z!==-1/0)?z>>0:$throwRuntimeError("integer divide by zero"))>>0)+(aa=u/4,(aa===aa&&aa!==1/0&&aa!==-1/0)?aa>>0:$throwRuntimeError("integer divide by zero"))>>0)-($imul(2,u))>>0))%7,x===x?x:$throwRuntimeError("integer divide by zero"));if(ab<0){ab=ab+(7)>>0;}ac=m.day-ab>>0;if(ac<0){ac=ac+(7)>>0;}ad=1;while(true){if(!(ad>0)>=BD(((m.mon>>0)),l)){break;}ac=ac+(7)>>0;ad=ad+(1)>>0;}ac=ac+((((ae=m.mon-1>>0,((ae<0||ae>=BC.length)?($throwRuntimeError("index out of range"),undefined):BC[ae]))>>0)))>>0;if(BM(l)&&m.mon>2){ac=ac+(1)>>0;}o=$imul(ac,86400);}return(o+m.time>>0)-n>>0;};W.ptr.prototype.lookupName=function(l,m){var{aa,ab,ac,ad,ae,af,ag,ah,ai,aj,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,$s,$r,$c}=$restore(this,{l,m});$s=$s||0;s:while(true){switch($s){case 0:n=0;o=false;p=this;q=p.get();$s=1;case 1:if($c){$c=false;q=q.$blk();}if(q&&q.$blk!==undefined){break s;}p=q;r=p.zone;s=0;case 2:if(!(s=u.$length)?($throwRuntimeError("index out of range"),undefined):u.$array[u.$offset+t]));if(v.name===l){$s=4;continue;}$s=5;continue;case 4:y=p.lookup((x=(new $Int64(0,v.offset)),new $Int64(m.$high-x.$high,m.$low-x.$low)));$s=6;case 6:if($c){$c=false;y=y.$blk();}if(y&&y.$blk!==undefined){break s;}w=y;z=w[0];aa=w[1];if(z===v.name){ab=aa;ac=true;n=ab;o=ac;$s=-1;return[n,o];}case 5:s++;$s=2;continue;case 3:ad=p.zone;ae=0;while(true){if(!(ae=ag.$length)?($throwRuntimeError("index out of range"),undefined):ag.$array[ag.$offset+af]));if(ah.name===l){ai=ah.offset;aj=true;n=ai;o=aj;$s=-1;return[n,o];}ae++;}$s=-1;return[n,o];}return;}var $f={$blk:W.ptr.prototype.lookupName,$c:true,$r,aa,ab,ac,ad,ae,af,ag,ah,ai,aj,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,$s};return $f;};W.prototype.lookupName=function(l,m){return this.$val.lookupName(l,m);};AQ.ptr.prototype.nsec=function(){var l,m;l=this;return(((m=l.wall,new $Uint64(m.$high&0,(m.$low&1073741823)>>>0)).$low>>0));};AQ.prototype.nsec=function(){return this.$val.nsec();};AQ.ptr.prototype.sec=function(){var l,m,n,o,p;l=this;if(!((m=(n=l.wall,new $Uint64(n.$high&2147483648,(n.$low&0)>>>0)),(m.$high===0&&m.$low===0)))){return(o=((p=$shiftRightUint64($shiftLeft64(l.wall,1),31),new $Int64(p.$high,p.$low))),new $Int64(13+o.$high,3618733952+o.$low));}return l.ext;};AQ.prototype.sec=function(){return this.$val.sec();};AQ.ptr.prototype.unixSec=function(){var l,m;l=this;return(m=l.sec(),new $Int64(m.$high+-15,m.$low+2288912640));};AQ.prototype.unixSec=function(){return this.$val.unixSec();};AQ.ptr.prototype.addSec=function(l){var l,m,n,o,p,q,r,s,t,u,v,w,x,y;m=this;if(!((n=(o=m.wall,new $Uint64(o.$high&2147483648,(o.$low&0)>>>0)),(n.$high===0&&n.$low===0)))){q=((p=$shiftRightUint64($shiftLeft64(m.wall,1),31),new $Int64(p.$high,p.$low)));r=new $Int64(q.$high+l.$high,q.$low+l.$low);if((0>>0)),v=$shiftLeft64((new $Uint64(r.$high,r.$low)),30),new $Uint64(t.$high|v.$high,(t.$low|v.$low)>>>0)),new $Uint64(s.$high|2147483648,(s.$low|0)>>>0));return;}m.stripMono();}x=(w=m.ext,new $Int64(w.$high+l.$high,w.$low+l.$low));if(((y=m.ext,(x.$high>y.$high||(x.$high===y.$high&&x.$low>y.$low))))===((l.$high>0||(l.$high===0&&l.$low>0)))){m.ext=x;}else if((l.$high>0||(l.$high===0&&l.$low>0))){m.ext=new $Int64(2147483647,4294967295);}else{m.ext=new $Int64(-2147483648,1);}};AQ.prototype.addSec=function(l){return this.$val.addSec(l);};AQ.ptr.prototype.setLoc=function(l){var l,m;m=this;if(l===Z){l=EL.nil;}m.stripMono();m.loc=l;};AQ.prototype.setLoc=function(l){return this.$val.setLoc(l);};AQ.ptr.prototype.stripMono=function(){var l,m,n,o,p;l=this;if(!((m=(n=l.wall,new $Uint64(n.$high&2147483648,(n.$low&0)>>>0)),(m.$high===0&&m.$low===0)))){l.ext=l.sec();l.wall=(o=l.wall,p=new $Uint64(0,1073741823),new $Uint64(o.$high&p.$high,(o.$low&p.$low)>>>0));}};AQ.prototype.stripMono=function(){return this.$val.stripMono();};AQ.ptr.prototype.After=function(l){var l,m,n,o,p,q,r,s,t,u;m=this;if(!((n=(o=(p=m.wall,q=l.wall,new $Uint64(p.$high&q.$high,(p.$low&q.$low)>>>0)),new $Uint64(o.$high&2147483648,(o.$low&0)>>>0)),(n.$high===0&&n.$low===0)))){return(r=m.ext,s=l.ext,(r.$high>s.$high||(r.$high===s.$high&&r.$low>s.$low)));}t=m.sec();u=l.sec();return(t.$high>u.$high||(t.$high===u.$high&&t.$low>u.$low))||(t.$high===u.$high&&t.$low===u.$low)&&m.nsec()>l.nsec();};AQ.prototype.After=function(l){return this.$val.After(l);};AQ.ptr.prototype.Before=function(l){var l,m,n,o,p,q,r,s,t,u;m=this;if(!((n=(o=(p=m.wall,q=l.wall,new $Uint64(p.$high&q.$high,(p.$low&q.$low)>>>0)),new $Uint64(o.$high&2147483648,(o.$low&0)>>>0)),(n.$high===0&&n.$low===0)))){return(r=m.ext,s=l.ext,(r.$high>>0)),new $Uint64(o.$high&2147483648,(o.$low&0)>>>0)),(n.$high===0&&n.$low===0)))){return(r=m.ext,s=l.ext,(r.$high===s.$high&&r.$low===s.$low));}return(t=m.sec(),u=l.sec(),(t.$high===u.$high&&t.$low===u.$low))&&(m.nsec()===l.nsec());};AQ.prototype.Equal=function(l){return this.$val.Equal(l);};AR.prototype.String=function(){var l,m,n,o;l=this.$val;if(1<=l&&l<=12){return(m=l-1>>0,((m<0||m>=CL.$length)?($throwRuntimeError("index out of range"),undefined):CL.$array[CL.$offset+m]));}n=$makeSlice(EK,20);o=AX(n,(new $Uint64(0,l)));return"%!Month("+($bytesToString($subslice(n,o)))+")";};$ptrType(AR).prototype.String=function(){return new AR(this.$get()).String();};AS.prototype.String=function(){var l,m,n;l=this.$val;if(0<=l&&l<=6){return((l<0||l>=CI.$length)?($throwRuntimeError("index out of range"),undefined):CI.$array[CI.$offset+l]);}m=$makeSlice(EK,20);n=AX(m,(new $Uint64(0,l)));return"%!Weekday("+($bytesToString($subslice(m,n)))+")";};$ptrType(AS).prototype.String=function(){return new AS(this.$get()).String();};AQ.ptr.prototype.IsZero=function(){var l,m;l=this;return(m=l.sec(),(m.$high===0&&m.$low===0))&&(l.nsec()===0);};AQ.prototype.IsZero=function(){return this.$val.IsZero();};AQ.ptr.prototype.abs=function(){var{l,m,n,o,p,q,r,s,t,u,v,w,$s,$r,$c}=$restore(this,{});$s=$s||0;s:while(true){switch($s){case 0:l=this;m=l.loc;if(m===EL.nil||m===AA){$s=1;continue;}$s=2;continue;case 1:n=m.get();$s=3;case 3:if($c){$c=false;n=n.$blk();}if(n&&n.$blk!==undefined){break s;}m=n;case 2:o=l.unixSec();if(!(m===Z)){$s=4;continue;}$s=5;continue;case 4:if(!(m.cacheZone===EH.nil)&&(p=m.cacheStart,(p.$high>0))/86400,(n===n&&n!==1/0&&n!==-1/0)?n>>0:$throwRuntimeError("integer divide by zero"))>>0));};AQ.ptr.prototype.ISOWeek=function(){var{l,m,n,o,p,q,r,s,t,u,v,w,$s,$r,$c}=$restore(this,{});$s=$s||0;s:while(true){switch($s){case 0:l=0;m=0;n=this;o=$clone(n,AQ).abs();$s=1;case 1:if($c){$c=false;o=o.$blk();}if(o&&o.$blk!==undefined){break s;}p=o;q=4-AT(p)>>0;if(q===4){q=-3;}p=(r=$mul64((new $Uint64(0,q)),new $Uint64(0,86400)),new $Uint64(p.$high+r.$high,p.$low+r.$low));s=BB(p,false);l=s[0];t=s[3];u=l;v=(w=t/7,(w===w&&w!==1/0&&w!==-1/0)?w>>0:$throwRuntimeError("integer divide by zero"))+1>>0;l=u;m=v;$s=-1;return[l,m];}return;}var $f={$blk:AQ.ptr.prototype.ISOWeek,$c:true,$r,l,m,n,o,p,q,r,s,t,u,v,w,$s};return $f;};AQ.prototype.ISOWeek=function(){return this.$val.ISOWeek();};AQ.ptr.prototype.Clock=function(){var{l,m,n,o,p,q,r,s,$s,$r,$c}=$restore(this,{});$s=$s||0;s:while(true){switch($s){case 0:l=0;m=0;n=0;o=this;q=$clone(o,AQ).abs();$s=1;case 1:if($c){$c=false;q=q.$blk();}if(q&&q.$blk!==undefined){break s;}r=AU(q);$s=2;case 2:if($c){$c=false;r=r.$blk();}if(r&&r.$blk!==undefined){break s;}p=r;l=p[0];m=p[1];n=p[2];s=[l,m,n];$s=3;case 3:return s;}return;}var $f={$blk:AQ.ptr.prototype.Clock,$c:true,$r,l,m,n,o,p,q,r,s,$s};return $f;};AQ.prototype.Clock=function(){return this.$val.Clock();};AU=function(l){var l,m,n,o,p,q;m=0;n=0;o=0;o=(($div64(l,new $Uint64(0,86400),true).$low>>0));m=(p=o/3600,(p===p&&p!==1/0&&p!==-1/0)?p>>0:$throwRuntimeError("integer divide by zero"));o=o-(($imul(m,3600)))>>0;n=(q=o/60,(q===q&&q!==1/0&&q!==-1/0)?q>>0:$throwRuntimeError("integer divide by zero"));o=o-(($imul(n,60)))>>0;return[m,n,o];};AQ.ptr.prototype.Hour=function(){var{l,m,n,o,$s,$r,$c}=$restore(this,{});$s=$s||0;s:while(true){switch($s){case 0:l=this;n=$clone(l,AQ).abs();$s=1;case 1:if($c){$c=false;n=n.$blk();}if(n&&n.$blk!==undefined){break s;}o=(m=(($div64(n,new $Uint64(0,86400),true).$low>>0))/3600,(m===m&&m!==1/0&&m!==-1/0)?m>>0:$throwRuntimeError("integer divide by zero"));$s=2;case 2:return o;}return;}var $f={$blk:AQ.ptr.prototype.Hour,$c:true,$r,l,m,n,o,$s};return $f;};AQ.prototype.Hour=function(){return this.$val.Hour();};AQ.ptr.prototype.Minute=function(){var{l,m,n,o,$s,$r,$c}=$restore(this,{});$s=$s||0;s:while(true){switch($s){case 0:l=this;n=$clone(l,AQ).abs();$s=1;case 1:if($c){$c=false;n=n.$blk();}if(n&&n.$blk!==undefined){break s;}o=(m=(($div64(n,new $Uint64(0,3600),true).$low>>0))/60,(m===m&&m!==1/0&&m!==-1/0)?m>>0:$throwRuntimeError("integer divide by zero"));$s=2;case 2:return o;}return;}var $f={$blk:AQ.ptr.prototype.Minute,$c:true,$r,l,m,n,o,$s};return $f;};AQ.prototype.Minute=function(){return this.$val.Minute();};AQ.ptr.prototype.Second=function(){var{l,m,n,$s,$r,$c}=$restore(this,{});$s=$s||0;s:while(true){switch($s){case 0:l=this;m=$clone(l,AQ).abs();$s=1;case 1:if($c){$c=false;m=m.$blk();}if(m&&m.$blk!==undefined){break s;}n=(($div64(m,new $Uint64(0,60),true).$low>>0));$s=2;case 2:return n;}return;}var $f={$blk:AQ.ptr.prototype.Second,$c:true,$r,l,m,n,$s};return $f;};AQ.prototype.Second=function(){return this.$val.Second();};AQ.ptr.prototype.Nanosecond=function(){var l;l=this;return((l.nsec()>>0));};AQ.prototype.Nanosecond=function(){return this.$val.Nanosecond();};AQ.ptr.prototype.YearDay=function(){var{l,m,n,o,$s,$r,$c}=$restore(this,{});$s=$s||0;s:while(true){switch($s){case 0:l=this;n=$clone(l,AQ).date(false);$s=1;case 1:if($c){$c=false;n=n.$blk();}if(n&&n.$blk!==undefined){break s;}m=n;o=m[3];$s=-1;return o+1>>0;}return;}var $f={$blk:AQ.ptr.prototype.YearDay,$c:true,$r,l,m,n,o,$s};return $f;};AQ.prototype.YearDay=function(){return this.$val.YearDay();};AV.prototype.String=function(){var l,m,n,o,p,q,r,s;l=this;m=EO.zero();n=32;o=(new $Uint64(l.$high,l.$low));p=(l.$high<0||(l.$high===0&&l.$low<0));if(p){o=new $Uint64(-o.$high,-o.$low);}if((o.$high<0||(o.$high===0&&o.$low<1000000000))){q=0;n=n-(1)>>0;((n<0||n>=m.length)?($throwRuntimeError("index out of range"),undefined):m[n]=115);n=n-(1)>>0;if((o.$high===0&&o.$low===0)){return"0s";}else if((o.$high<0||(o.$high===0&&o.$low<1000))){q=0;((n<0||n>=m.length)?($throwRuntimeError("index out of range"),undefined):m[n]=110);}else if((o.$high<0||(o.$high===0&&o.$low<1000000))){q=3;n=n-(1)>>0;$copyString($subslice(new EK(m),n),"\xC2\xB5");}else{q=6;((n<0||n>=m.length)?($throwRuntimeError("index out of range"),undefined):m[n]=109);}r=AW($subslice(new EK(m),0,n),o,q);n=r[0];o=r[1];n=AX($subslice(new EK(m),0,n),o);}else{n=n-(1)>>0;((n<0||n>=m.length)?($throwRuntimeError("index out of range"),undefined):m[n]=115);s=AW($subslice(new EK(m),0,n),o,9);n=s[0];o=s[1];n=AX($subslice(new EK(m),0,n),$div64(o,new $Uint64(0,60),true));o=$div64(o,(new $Uint64(0,60)),false);if((o.$high>0||(o.$high===0&&o.$low>0))){n=n-(1)>>0;((n<0||n>=m.length)?($throwRuntimeError("index out of range"),undefined):m[n]=109);n=AX($subslice(new EK(m),0,n),$div64(o,new $Uint64(0,60),true));o=$div64(o,(new $Uint64(0,60)),false);if((o.$high>0||(o.$high===0&&o.$low>0))){n=n-(1)>>0;((n<0||n>=m.length)?($throwRuntimeError("index out of range"),undefined):m[n]=104);n=AX($subslice(new EK(m),0,n),o);}}}if(p){n=n-(1)>>0;((n<0||n>=m.length)?($throwRuntimeError("index out of range"),undefined):m[n]=45);}return($bytesToString($subslice(new EK(m),n)));};$ptrType(AV).prototype.String=function(){return this.$get().String();};AW=function(l,m,n){var l,m,n,o,p,q,r,s,t,u,v;o=0;p=new $Uint64(0,0);q=l.$length;r=false;s=0;while(true){if(!(s>0;((q<0||q>=l.$length)?($throwRuntimeError("index out of range"),undefined):l.$array[l.$offset+q]=(((t.$low<<24>>>24))+48<<24>>>24));}m=$div64(m,(new $Uint64(0,10)),false);s=s+(1)>>0;}if(r){q=q-(1)>>0;((q<0||q>=l.$length)?($throwRuntimeError("index out of range"),undefined):l.$array[l.$offset+q]=46);}u=q;v=m;o=u;p=v;return[o,p];};AX=function(l,m){var l,m,n;n=l.$length;if((m.$high===0&&m.$low===0)){n=n-(1)>>0;((n<0||n>=l.$length)?($throwRuntimeError("index out of range"),undefined):l.$array[l.$offset+n]=48);}else{while(true){if(!((m.$high>0||(m.$high===0&&m.$low>0)))){break;}n=n-(1)>>0;((n<0||n>=l.$length)?($throwRuntimeError("index out of range"),undefined):l.$array[l.$offset+n]=((($div64(m,new $Uint64(0,10),true).$low<<24>>>24))+48<<24>>>24));m=$div64(m,(new $Uint64(0,10)),false);}}return n;};AV.prototype.Nanoseconds=function(){var l;l=this;return(new $Int64(l.$high,l.$low));};$ptrType(AV).prototype.Nanoseconds=function(){return this.$get().Nanoseconds();};AV.prototype.Microseconds=function(){var l;l=this;return $div64((new $Int64(l.$high,l.$low)),new $Int64(0,1000),false);};$ptrType(AV).prototype.Microseconds=function(){return this.$get().Microseconds();};AV.prototype.Milliseconds=function(){var l;l=this;return $div64((new $Int64(l.$high,l.$low)),new $Int64(0,1000000),false);};$ptrType(AV).prototype.Milliseconds=function(){return this.$get().Milliseconds();};AV.prototype.Seconds=function(){var l,m,n;l=this;m=$div64(l,new AV(0,1000000000),false);n=$div64(l,new AV(0,1000000000),true);return($flatten64(m))+($flatten64(n))/1e+09;};$ptrType(AV).prototype.Seconds=function(){return this.$get().Seconds();};AV.prototype.Minutes=function(){var l,m,n;l=this;m=$div64(l,new AV(13,4165425152),false);n=$div64(l,new AV(13,4165425152),true);return($flatten64(m))+($flatten64(n))/6e+10;};$ptrType(AV).prototype.Minutes=function(){return this.$get().Minutes();};AV.prototype.Hours=function(){var l,m,n;l=this;m=$div64(l,new AV(838,817405952),false);n=$div64(l,new AV(838,817405952),true);return($flatten64(m))+($flatten64(n))/3.6e+12;};$ptrType(AV).prototype.Hours=function(){return this.$get().Hours();};AV.prototype.Truncate=function(l){var l,m,n;m=this;if((l.$high<0||(l.$high===0&&l.$low<=0))){return m;}return(n=$div64(m,l,true),new AV(m.$high-n.$high,m.$low-n.$low));};$ptrType(AV).prototype.Truncate=function(l){return this.$get().Truncate(l);};AY=function(l,m){var l,m,n,o,p,q;return(n=(o=(new $Uint64(l.$high,l.$low)),p=(new $Uint64(l.$high,l.$low)),new $Uint64(o.$high+p.$high,o.$low+p.$low)),q=(new $Uint64(m.$high,m.$low)),(n.$highm.$high||(r.$high===m.$high&&r.$low>m.$low))){return r;}return new AV(2147483647,4294967295);};$ptrType(AV).prototype.Round=function(l){return this.$get().Round(l);};AQ.ptr.prototype.Add=function(l){var aa,ab,ac,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z;m=this;o=((n=$div64(l,new AV(0,1000000000),false),new $Int64(n.$high,n.$low)));q=m.nsec()+(((p=$div64(l,new AV(0,1000000000),true),p.$low+((p.$high>>31)*4294967296))>>0))>>0;if(q>=1000000000){o=(r=new $Int64(0,1),new $Int64(o.$high+r.$high,o.$low+r.$low));q=q-(1000000000)>>0;}else if(q<0){o=(s=new $Int64(0,1),new $Int64(o.$high-s.$high,o.$low-s.$low));q=q+(1000000000)>>0;}m.wall=(t=(u=m.wall,new $Uint64(u.$high&~0,(u.$low&~1073741823)>>>0)),v=(new $Uint64(0,q)),new $Uint64(t.$high|v.$high,(t.$low|v.$low)>>>0));m.addSec(o);if(!((w=(x=m.wall,new $Uint64(x.$high&2147483648,(x.$low&0)>>>0)),(w.$high===0&&w.$low===0)))){aa=(y=m.ext,z=(new $Int64(l.$high,l.$low)),new $Int64(y.$high+z.$high,y.$low+z.$low));if((l.$high<0||(l.$high===0&&l.$low<0))&&(ab=m.ext,(aa.$high>ab.$high||(aa.$high===ab.$high&&aa.$low>ab.$low)))||(l.$high>0||(l.$high===0&&l.$low>0))&&(ac=m.ext,(aa.$high>>0)),new $Uint64(o.$high&2147483648,(o.$low&0)>>>0)),(n.$high===0&&n.$low===0)))){r=m.ext;s=l.ext;u=((t=new $Int64(r.$high-s.$high,r.$low-s.$low),new AV(t.$high,t.$low)));if((u.$high<0||(u.$high===0&&u.$low<0))&&(r.$high>s.$high||(r.$high===s.$high&&r.$low>s.$low))){return new AV(2147483647,4294967295);}if((u.$high>0||(u.$high===0&&u.$low>0))&&(r.$high>0))),new AV(v.$high+z.$high,v.$low+z.$low));if($clone($clone(l,AQ).Add(aa),AQ).Equal($clone(m,AQ))){return aa;}else if($clone(m,AQ).Before($clone(l,AQ))){return new AV(-2147483648,0);}else{return new AV(2147483647,4294967295);}};AQ.prototype.Sub=function(l){return this.$val.Sub(l);};AQ.ptr.prototype.AddDate=function(l,m,n){var{aa,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,$s,$r,$c}=$restore(this,{l,m,n});$s=$s||0;s:while(true){switch($s){case 0:o=this;q=$clone(o,AQ).Date();$s=1;case 1:if($c){$c=false;q=q.$blk();}if(q&&q.$blk!==undefined){break s;}p=q;r=p[0];s=p[1];t=p[2];v=$clone(o,AQ).Clock();$s=2;case 2:if($c){$c=false;v=v.$blk();}if(v&&v.$blk!==undefined){break s;}u=v;w=u[0];x=u[1];y=u[2];z=BO(r+l>>0,s+((m>>0))>>0,t+n>>0,w,x,y,((o.nsec()>>0)),$clone(o,AQ).Location());$s=3;case 3:if($c){$c=false;z=z.$blk();}if(z&&z.$blk!==undefined){break s;}aa=z;$s=4;case 4:return aa;}return;}var $f={$blk:AQ.ptr.prototype.AddDate,$c:true,$r,aa,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,$s};return $f;};AQ.prototype.AddDate=function(l,m,n){return this.$val.AddDate(l,m,n);};AQ.ptr.prototype.date=function(l){var{l,m,n,o,p,q,r,s,t,u,$s,$r,$c}=$restore(this,{l});$s=$s||0;s:while(true){switch($s){case 0:m=0;n=0;o=0;p=0;q=this;s=$clone(q,AQ).abs();$s=1;case 1:if($c){$c=false;s=s.$blk();}if(s&&s.$blk!==undefined){break s;}t=BB(s,l);$s=2;case 2:if($c){$c=false;t=t.$blk();}if(t&&t.$blk!==undefined){break s;}r=t;m=r[0];n=r[1];o=r[2];p=r[3];u=[m,n,o,p];$s=3;case 3:return u;}return;}var $f={$blk:AQ.ptr.prototype.date,$c:true,$r,l,m,n,o,p,q,r,s,t,u,$s};return $f;};AQ.prototype.date=function(l){return this.$val.date(l);};BB=function(l,m){var aa,ab,ac,ad,ae,af,ag,ah,ai,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z;n=0;o=0;p=0;q=0;r=$div64(l,new $Uint64(0,86400),false);s=$div64(r,new $Uint64(0,146097),false);t=$mul64(new $Uint64(0,400),s);r=(u=$mul64(new $Uint64(0,146097),s),new $Uint64(r.$high-u.$high,r.$low-u.$low));s=$div64(r,new $Uint64(0,36524),false);s=(v=$shiftRightUint64(s,2),new $Uint64(s.$high-v.$high,s.$low-v.$low));t=(w=$mul64(new $Uint64(0,100),s),new $Uint64(t.$high+w.$high,t.$low+w.$low));r=(x=$mul64(new $Uint64(0,36524),s),new $Uint64(r.$high-x.$high,r.$low-x.$low));s=$div64(r,new $Uint64(0,1461),false);t=(y=$mul64(new $Uint64(0,4),s),new $Uint64(t.$high+y.$high,t.$low+y.$low));r=(z=$mul64(new $Uint64(0,1461),s),new $Uint64(r.$high-z.$high,r.$low-z.$low));s=$div64(r,new $Uint64(0,365),false);s=(aa=$shiftRightUint64(s,2),new $Uint64(s.$high-aa.$high,s.$low-aa.$low));t=(ab=s,new $Uint64(t.$high+ab.$high,t.$low+ab.$low));r=(ac=$mul64(new $Uint64(0,365),s),new $Uint64(r.$high-ac.$high,r.$low-ac.$low));n=(((ad=(ae=(new $Int64(t.$high,t.$low)),new $Int64(ae.$high+-69,ae.$low+4075721025)),ad.$low+((ad.$high>>31)*4294967296))>>0));q=((r.$low>>0));if(!m){return[n,o,p,q];}p=q;if(BM(n)){if(p>59){p=p-(1)>>0;}else if((p===59)){o=2;p=29;return[n,o,p,q];}}o=(((af=p/31,(af===af&&af!==1/0&&af!==-1/0)?af>>0:$throwRuntimeError("integer divide by zero"))>>0));ah=(((ag=o+1>>0,((ag<0||ag>=BC.length)?($throwRuntimeError("index out of range"),undefined):BC[ag]))>>0));ai=0;if(p>=ah){o=o+(1)>>0;ai=ah;}else{ai=((((o<0||o>=BC.length)?($throwRuntimeError("index out of range"),undefined):BC[o])>>0));}o=o+(1)>>0;p=(p-ai>>0)+1>>0;return[n,o,p,q];};BD=function(l,m){var l,m,n;if((l===2)&&BM(m)){return 29;}return(((((l<0||l>=BC.length)?($throwRuntimeError("index out of range"),undefined):BC[l])-(n=l-1>>0,((n<0||n>=BC.length)?($throwRuntimeError("index out of range"),undefined):BC[n]))>>0)>>0));};BE=function(l){var l,m,n,o,p,q,r,s,t,u,v,w;o=((m=(n=(new $Int64(0,l)),new $Int64(n.$high- -69,n.$low-4075721025)),new $Uint64(m.$high,m.$low)));p=$div64(o,new $Uint64(0,400),false);o=(q=$mul64(new $Uint64(0,400),p),new $Uint64(o.$high-q.$high,o.$low-q.$low));r=$mul64(new $Uint64(0,146097),p);p=$div64(o,new $Uint64(0,100),false);o=(s=$mul64(new $Uint64(0,100),p),new $Uint64(o.$high-s.$high,o.$low-s.$low));r=(t=$mul64(new $Uint64(0,36524),p),new $Uint64(r.$high+t.$high,r.$low+t.$low));p=$div64(o,new $Uint64(0,4),false);o=(u=$mul64(new $Uint64(0,4),p),new $Uint64(o.$high-u.$high,o.$low-u.$low));r=(v=$mul64(new $Uint64(0,1461),p),new $Uint64(r.$high+v.$high,r.$low+v.$low));p=o;r=(w=$mul64(new $Uint64(0,365),p),new $Uint64(r.$high+w.$high,r.$low+w.$low));return r;};BF=function(){$throwRuntimeError("native function not implemented: time.runtimeNano");};BI=function(l,m){var l,m;return new AQ.ptr((new $Uint64(0,m)),new $Int64(l.$high+14,l.$low+2006054656),$pkg.Local);};AQ.ptr.prototype.UTC=function(){var l;l=this;l.setLoc(Z);return l;};AQ.prototype.UTC=function(){return this.$val.UTC();};AQ.ptr.prototype.Local=function(){var l;l=this;l.setLoc($pkg.Local);return l;};AQ.prototype.Local=function(){return this.$val.Local();};AQ.ptr.prototype.In=function(l){var l,m;m=this;if(l===EL.nil){$panic(new $String("time: missing Location in call to Time.In"));}m.setLoc(l);return m;};AQ.prototype.In=function(l){return this.$val.In(l);};AQ.ptr.prototype.Location=function(){var l,m;l=this;m=l.loc;if(m===EL.nil){m=$pkg.UTC;}return m;};AQ.prototype.Location=function(){return this.$val.Location();};AQ.ptr.prototype.Zone=function(){var{l,m,n,o,p,$s,$r,$c}=$restore(this,{});$s=$s||0;s:while(true){switch($s){case 0:l="";m=0;n=this;p=n.loc.lookup(n.unixSec());$s=1;case 1:if($c){$c=false;p=p.$blk();}if(p&&p.$blk!==undefined){break s;}o=p;l=o[0];m=o[1];$s=-1;return[l,m];}return;}var $f={$blk:AQ.ptr.prototype.Zone,$c:true,$r,l,m,n,o,p,$s};return $f;};AQ.prototype.Zone=function(){return this.$val.Zone();};AQ.ptr.prototype.Unix=function(){var l;l=this;return l.unixSec();};AQ.prototype.Unix=function(){return this.$val.Unix();};AQ.ptr.prototype.UnixMilli=function(){var l,m,n;l=this;return(m=$mul64(l.unixSec(),new $Int64(0,1000)),n=$div64((new $Int64(0,l.nsec())),new $Int64(0,1000000),false),new $Int64(m.$high+n.$high,m.$low+n.$low));};AQ.prototype.UnixMilli=function(){return this.$val.UnixMilli();};AQ.ptr.prototype.UnixMicro=function(){var l,m,n;l=this;return(m=$mul64(l.unixSec(),new $Int64(0,1000000)),n=$div64((new $Int64(0,l.nsec())),new $Int64(0,1000),false),new $Int64(m.$high+n.$high,m.$low+n.$low));};AQ.prototype.UnixMicro=function(){return this.$val.UnixMicro();};AQ.ptr.prototype.UnixNano=function(){var l,m,n;l=this;return(m=$mul64((l.unixSec()),new $Int64(0,1000000000)),n=(new $Int64(0,l.nsec())),new $Int64(m.$high+n.$high,m.$low+n.$low));};AQ.prototype.UnixNano=function(){return this.$val.UnixNano();};AQ.ptr.prototype.MarshalBinary=function(){var{l,m,n,o,p,q,r,s,t,u,v,w,x,$s,$r,$c}=$restore(this,{});$s=$s||0;s:while(true){switch($s){case 0:l=this;m=0;n=0;o=1;if($clone(l,AQ).Location()===$pkg.UTC){$s=1;continue;}$s=2;continue;case 1:m=-1;$s=3;continue;case 2:q=$clone(l,AQ).Zone();$s=4;case 4:if($c){$c=false;q=q.$blk();}if(q&&q.$blk!==undefined){break s;}p=q;r=p[1];if(!(((s=r%60,s===s?s:$throwRuntimeError("integer divide by zero"))===0))){o=2;n=(((t=r%60,t===t?t:$throwRuntimeError("integer divide by zero"))<<24>>24));}r=(u=r/(60),(u===u&&u!==1/0&&u!==-1/0)?u>>0:$throwRuntimeError("integer divide by zero"));if(r<-32768||(r===-1)||r>32767){$s=-1;return[EK.nil,A.New("Time.MarshalBinary: unexpected zone offset")];}m=((r<<16>>16));case 3:v=l.sec();w=l.nsec();x=new EK([o,(($shiftRightInt64(v,56).$low<<24>>>24)),(($shiftRightInt64(v,48).$low<<24>>>24)),(($shiftRightInt64(v,40).$low<<24>>>24)),(($shiftRightInt64(v,32).$low<<24>>>24)),(($shiftRightInt64(v,24).$low<<24>>>24)),(($shiftRightInt64(v,16).$low<<24>>>24)),(($shiftRightInt64(v,8).$low<<24>>>24)),((v.$low<<24>>>24)),(((w>>24>>0)<<24>>>24)),(((w>>16>>0)<<24>>>24)),(((w>>8>>0)<<24>>>24)),((w<<24>>>24)),(((m>>8<<16>>16)<<24>>>24)),((m<<24>>>24))]);if(o===2){x=$append(x,((n<<24>>>24)));}$s=-1;return[x,$ifaceNil];}return;}var $f={$blk:AQ.ptr.prototype.MarshalBinary,$c:true,$r,l,m,n,o,p,q,r,s,t,u,v,w,x,$s};return $f;};AQ.prototype.MarshalBinary=function(){return this.$val.MarshalBinary();};AQ.ptr.prototype.UnmarshalBinary=function(l){var{aa,ab,ac,ad,ae,af,ag,ah,ai,aj,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,$s,$r,$c}=$restore(this,{l});$s=$s||0;s:while(true){switch($s){case 0:m=this;n=l;if(n.$length===0){$s=-1;return A.New("Time.UnmarshalBinary: no data");}o=(0>=n.$length?($throwRuntimeError("index out of range"),undefined):n.$array[n.$offset+0]);if(!((o===1))&&!((o===2))){$s=-1;return A.New("Time.UnmarshalBinary: unsupported version");}p=15;if(o===2){p=p+(1)>>0;}if(!((n.$length===p))){$s=-1;return A.New("Time.UnmarshalBinary: invalid length");}n=$subslice(n,1);ae=(q=(r=(s=(t=(u=(v=(w=(new $Int64(0,(7>=n.$length?($throwRuntimeError("index out of range"),undefined):n.$array[n.$offset+7]))),x=$shiftLeft64((new $Int64(0,(6>=n.$length?($throwRuntimeError("index out of range"),undefined):n.$array[n.$offset+6]))),8),new $Int64(w.$high|x.$high,(w.$low|x.$low)>>>0)),y=$shiftLeft64((new $Int64(0,(5>=n.$length?($throwRuntimeError("index out of range"),undefined):n.$array[n.$offset+5]))),16),new $Int64(v.$high|y.$high,(v.$low|y.$low)>>>0)),z=$shiftLeft64((new $Int64(0,(4>=n.$length?($throwRuntimeError("index out of range"),undefined):n.$array[n.$offset+4]))),24),new $Int64(u.$high|z.$high,(u.$low|z.$low)>>>0)),aa=$shiftLeft64((new $Int64(0,(3>=n.$length?($throwRuntimeError("index out of range"),undefined):n.$array[n.$offset+3]))),32),new $Int64(t.$high|aa.$high,(t.$low|aa.$low)>>>0)),ab=$shiftLeft64((new $Int64(0,(2>=n.$length?($throwRuntimeError("index out of range"),undefined):n.$array[n.$offset+2]))),40),new $Int64(s.$high|ab.$high,(s.$low|ab.$low)>>>0)),ac=$shiftLeft64((new $Int64(0,(1>=n.$length?($throwRuntimeError("index out of range"),undefined):n.$array[n.$offset+1]))),48),new $Int64(r.$high|ac.$high,(r.$low|ac.$low)>>>0)),ad=$shiftLeft64((new $Int64(0,(0>=n.$length?($throwRuntimeError("index out of range"),undefined):n.$array[n.$offset+0]))),56),new $Int64(q.$high|ad.$high,(q.$low|ad.$low)>>>0));n=$subslice(n,8);af=(((((3>=n.$length?($throwRuntimeError("index out of range"),undefined):n.$array[n.$offset+3])>>0))|((((2>=n.$length?($throwRuntimeError("index out of range"),undefined):n.$array[n.$offset+2])>>0))<<8>>0))|((((1>=n.$length?($throwRuntimeError("index out of range"),undefined):n.$array[n.$offset+1])>>0))<<16>>0))|((((0>=n.$length?($throwRuntimeError("index out of range"),undefined):n.$array[n.$offset+0])>>0))<<24>>0);n=$subslice(n,4);ag=$imul(((((((1>=n.$length?($throwRuntimeError("index out of range"),undefined):n.$array[n.$offset+1])<<16>>16))|((((0>=n.$length?($throwRuntimeError("index out of range"),undefined):n.$array[n.$offset+0])<<16>>16))<<8<<16>>16))>>0)),60);if(o===2){ag=ag+((((2>=n.$length?($throwRuntimeError("index out of range"),undefined):n.$array[n.$offset+2])>>0)))>>0;}AQ.copy(m,new AQ.ptr(new $Uint64(0,0),new $Int64(0,0),EL.nil));m.wall=(new $Uint64(0,af));m.ext=ae;if(ag===-60){$s=1;continue;}$s=2;continue;case 1:m.setLoc(Z);$s=3;continue;case 2:ai=$pkg.Local.lookup(m.unixSec());$s=4;case 4:if($c){$c=false;ai=ai.$blk();}if(ai&&ai.$blk!==undefined){break s;}ah=ai;aj=ah[1];if(ag===aj){m.setLoc($pkg.Local);}else{m.setLoc(AC("",ag));}case 3:$s=-1;return $ifaceNil;}return;}var $f={$blk:AQ.ptr.prototype.UnmarshalBinary,$c:true,$r,aa,ab,ac,ad,ae,af,ag,ah,ai,aj,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,$s};return $f;};AQ.prototype.UnmarshalBinary=function(l){return this.$val.UnmarshalBinary(l);};AQ.ptr.prototype.GobEncode=function(){var{l,m,n,$s,$r,$c}=$restore(this,{});$s=$s||0;s:while(true){switch($s){case 0:l=this;m=$clone(l,AQ).MarshalBinary();$s=1;case 1:if($c){$c=false;m=m.$blk();}if(m&&m.$blk!==undefined){break s;}n=m;$s=2;case 2:return n;}return;}var $f={$blk:AQ.ptr.prototype.GobEncode,$c:true,$r,l,m,n,$s};return $f;};AQ.prototype.GobEncode=function(){return this.$val.GobEncode();};AQ.ptr.prototype.GobDecode=function(l){var{l,m,n,o,$s,$r,$c}=$restore(this,{l});$s=$s||0;s:while(true){switch($s){case 0:m=this;n=m.UnmarshalBinary(l);$s=1;case 1:if($c){$c=false;n=n.$blk();}if(n&&n.$blk!==undefined){break s;}o=n;$s=2;case 2:return o;}return;}var $f={$blk:AQ.ptr.prototype.GobDecode,$c:true,$r,l,m,n,o,$s};return $f;};AQ.prototype.GobDecode=function(l){return this.$val.GobDecode(l);};AQ.ptr.prototype.MarshalJSON=function(){var{l,m,n,o,p,$s,$r,$c}=$restore(this,{});$s=$s||0;s:while(true){switch($s){case 0:l=this;m=$clone(l,AQ).Year();$s=1;case 1:if($c){$c=false;m=m.$blk();}if(m&&m.$blk!==undefined){break s;}n=m;if(n<0||n>=10000){$s=-1;return[EK.nil,A.New("Time.MarshalJSON: year outside of range [0,9999]")];}o=$makeSlice(EK,0,37);o=$append(o,34);p=$clone(l,AQ).AppendFormat(o,"2006-01-02T15:04:05.999999999Z07:00");$s=2;case 2:if($c){$c=false;p=p.$blk();}if(p&&p.$blk!==undefined){break s;}o=p;o=$append(o,34);$s=-1;return[o,$ifaceNil];}return;}var $f={$blk:AQ.ptr.prototype.MarshalJSON,$c:true,$r,l,m,n,o,p,$s};return $f;};AQ.prototype.MarshalJSON=function(){return this.$val.MarshalJSON();};AQ.ptr.prototype.UnmarshalJSON=function(l){var{l,m,n,o,p,$s,$r,$c}=$restore(this,{l});$s=$s||0;s:while(true){switch($s){case 0:m=this;if(($bytesToString(l))==="null"){$s=-1;return $ifaceNil;}n=$ifaceNil;p=DD("\"2006-01-02T15:04:05Z07:00\"",($bytesToString(l)));$s=1;case 1:if($c){$c=false;p=p.$blk();}if(p&&p.$blk!==undefined){break s;}o=p;AQ.copy(m,o[0]);n=o[1];$s=-1;return n;}return;}var $f={$blk:AQ.ptr.prototype.UnmarshalJSON,$c:true,$r,l,m,n,o,p,$s};return $f;};AQ.prototype.UnmarshalJSON=function(l){return this.$val.UnmarshalJSON(l);};AQ.ptr.prototype.MarshalText=function(){var{l,m,n,o,p,q,$s,$r,$c}=$restore(this,{});$s=$s||0;s:while(true){switch($s){case 0:l=this;m=$clone(l,AQ).Year();$s=1;case 1:if($c){$c=false;m=m.$blk();}if(m&&m.$blk!==undefined){break s;}n=m;if(n<0||n>=10000){$s=-1;return[EK.nil,A.New("Time.MarshalText: year outside of range [0,9999]")];}o=$makeSlice(EK,0,35);p=$clone(l,AQ).AppendFormat(o,"2006-01-02T15:04:05.999999999Z07:00");$s=2;case 2:if($c){$c=false;p=p.$blk();}if(p&&p.$blk!==undefined){break s;}q=[p,$ifaceNil];$s=3;case 3:return q;}return;}var $f={$blk:AQ.ptr.prototype.MarshalText,$c:true,$r,l,m,n,o,p,q,$s};return $f;};AQ.prototype.MarshalText=function(){return this.$val.MarshalText();};AQ.ptr.prototype.UnmarshalText=function(l){var{l,m,n,o,p,$s,$r,$c}=$restore(this,{l});$s=$s||0;s:while(true){switch($s){case 0:m=this;n=$ifaceNil;p=DD("2006-01-02T15:04:05Z07:00",($bytesToString(l)));$s=1;case 1:if($c){$c=false;p=p.$blk();}if(p&&p.$blk!==undefined){break s;}o=p;AQ.copy(m,o[0]);n=o[1];$s=-1;return n;}return;}var $f={$blk:AQ.ptr.prototype.UnmarshalText,$c:true,$r,l,m,n,o,p,$s};return $f;};AQ.prototype.UnmarshalText=function(l){return this.$val.UnmarshalText(l);};BJ=function(l,m){var l,m,n,o,p,q,r;if((m.$high<0||(m.$high===0&&m.$low<0))||(m.$high>0||(m.$high===0&&m.$low>=1000000000))){n=$div64(m,new $Int64(0,1000000000),false);l=(o=n,new $Int64(l.$high+o.$high,l.$low+o.$low));m=(p=$mul64(n,new $Int64(0,1000000000)),new $Int64(m.$high-p.$high,m.$low-p.$low));if((m.$high<0||(m.$high===0&&m.$low<0))){m=(q=new $Int64(0,1000000000),new $Int64(m.$high+q.$high,m.$low+q.$low));l=(r=new $Int64(0,1),new $Int64(l.$high-r.$high,l.$low-r.$low));}}return BI(l,(((m.$low+((m.$high>>31)*4294967296))>>0)));};$pkg.Unix=BJ;AQ.ptr.prototype.IsDST=function(){var{l,m,n,o,$s,$r,$c}=$restore(this,{});$s=$s||0;s:while(true){switch($s){case 0:l=this;n=l.loc.lookup($clone(l,AQ).Unix());$s=1;case 1:if($c){$c=false;n=n.$blk();}if(n&&n.$blk!==undefined){break s;}m=n;o=m[4];$s=-1;return o;}return;}var $f={$blk:AQ.ptr.prototype.IsDST,$c:true,$r,l,m,n,o,$s};return $f;};AQ.prototype.IsDST=function(){return this.$val.IsDST();};BM=function(l){var l,m,n,o;return((m=l%4,m===m?m:$throwRuntimeError("integer divide by zero"))===0)&&(!(((n=l%100,n===n?n:$throwRuntimeError("integer divide by zero"))===0))||((o=l%400,o===o?o:$throwRuntimeError("integer divide by zero"))===0));};BN=function(l,m,n){var l,m,n,o,p,q,r,s,t,u,v;o=0;p=0;if(m<0){r=(q=((-m-1>>0))/n,(q===q&&q!==1/0&&q!==-1/0)?q>>0:$throwRuntimeError("integer divide by zero"))+1>>0;l=l-(r)>>0;m=m+(($imul(r,n)))>>0;}if(m>=n){t=(s=m/n,(s===s&&s!==1/0&&s!==-1/0)?s>>0:$throwRuntimeError("integer divide by zero"));l=l+(t)>>0;m=m-(($imul(t,n)))>>0;}u=l;v=m;o=u;p=v;return[o,p];};BO=function(l,m,n,o,p,q,r,s){var{aa,ab,ac,ad,ae,af,ag,ah,ai,aj,ak,al,am,an,ao,ap,aq,ar,as,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,$s,$r,$c}=$restore(this,{l,m,n,o,p,q,r,s});$s=$s||0;s:while(true){switch($s){case 0:if(s===EL.nil){$panic(new $String("time: missing Location in call to Date"));}t=((m>>0))-1>>0;u=BN(l,t,12);l=u[0];t=u[1];m=((t>>0))+1>>0;v=BN(q,r,1000000000);q=v[0];r=v[1];w=BN(p,q,60);p=w[0];q=w[1];x=BN(o,p,60);o=x[0];p=x[1];y=BN(n,o,24);n=y[0];o=y[1];z=BE(l);z=(aa=(new $Uint64(0,(ab=m-1>>0,((ab<0||ab>=BC.length)?($throwRuntimeError("index out of range"),undefined):BC[ab])))),new $Uint64(z.$high+aa.$high,z.$low+aa.$low));if(BM(l)&&m>=3){z=(ac=new $Uint64(0,1),new $Uint64(z.$high+ac.$high,z.$low+ac.$low));}z=(ad=(new $Uint64(0,(n-1>>0))),new $Uint64(z.$high+ad.$high,z.$low+ad.$low));ae=$mul64(z,new $Uint64(0,86400));ae=(af=(new $Uint64(0,((($imul(o,3600))+($imul(p,60))>>0)+q>>0))),new $Uint64(ae.$high+af.$high,ae.$low+af.$low));ah=(ag=(new $Int64(ae.$high,ae.$low)),new $Int64(ag.$high+-2147483647,ag.$low+3844486912));aj=s.lookup(ah);$s=1;case 1:if($c){$c=false;aj=aj.$blk();}if(aj&&aj.$blk!==undefined){break s;}ai=aj;ak=ai[1];al=ai[2];am=ai[3];if(!((ak===0))){$s=2;continue;}$s=3;continue;case 2:ao=(an=(new $Int64(0,ak)),new $Int64(ah.$high-an.$high,ah.$low-an.$low));if((ao.$higham.$high||(ao.$high===am.$high&&ao.$low>=am.$low))){$s=4;continue;}$s=5;continue;case 4:aq=s.lookup(ao);$s=6;case 6:if($c){$c=false;aq=aq.$blk();}if(aq&&aq.$blk!==undefined){break s;}ap=aq;ak=ap[1];case 5:ah=(ar=(new $Int64(0,ak)),new $Int64(ah.$high-ar.$high,ah.$low-ar.$low));case 3:as=$clone(BI(ah,((r>>0))),AQ);as.setLoc(s);$s=-1;return as;}return;}var $f={$blk:BO,$c:true,$r,aa,ab,ac,ad,ae,af,ag,ah,ai,aj,ak,al,am,an,ao,ap,aq,ar,as,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,$s};return $f;};$pkg.Date=BO;AQ.ptr.prototype.Truncate=function(l){var l,m,n,o;m=this;m.stripMono();if((l.$high<0||(l.$high===0&&l.$low<=0))){return m;}n=BP($clone(m,AQ),l);o=n[1];return $clone(m,AQ).Add(new AV(-o.$high,-o.$low));};AQ.prototype.Truncate=function(l){return this.$val.Truncate(l);};AQ.ptr.prototype.Round=function(l){var l,m,n,o;m=this;m.stripMono();if((l.$high<0||(l.$high===0&&l.$low<=0))){return m;}n=BP($clone(m,AQ),l);o=n[1];if(AY(o,l)){return $clone(m,AQ).Add(new AV(-o.$high,-o.$low));}return $clone(m,AQ).Add(new AV(l.$high-o.$high,l.$low-o.$low));};AQ.prototype.Round=function(l){return this.$val.Round(l);};BP=function(l,m){var aa,ab,ac,ad,ae,af,ag,ah,ai,aj,ak,al,am,an,ao,ap,aq,ar,as,at,au,av,aw,ax,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z;n=0;o=new AV(0,0);p=false;q=l.nsec();r=l.sec();if((r.$high<0||(r.$high===0&&r.$low<0))){p=true;r=new $Int64(-r.$high,-r.$low);q=-q;if(q<0){q=q+(1000000000)>>0;r=(s=new $Int64(0,1),new $Int64(r.$high-s.$high,r.$low-s.$low));}}if((m.$high<0||(m.$high===0&&m.$low<1000000000))&&(t=$div64(new AV(0,1000000000),(new AV(m.$high+m.$high,m.$low+m.$low)),true),(t.$high===0&&t.$low===0))){n=(((v=q/(((m.$low+((m.$high>>31)*4294967296))>>0)),(v===v&&v!==1/0&&v!==-1/0)?v>>0:$throwRuntimeError("integer divide by zero"))>>0))&1;o=(new AV(0,(w=q%(((m.$low+((m.$high>>31)*4294967296))>>0)),w===w?w:$throwRuntimeError("integer divide by zero"))));}else if((u=$div64(m,new AV(0,1000000000),true),(u.$high===0&&u.$low===0))){y=((x=$div64(m,new AV(0,1000000000),false),new $Int64(x.$high,x.$low)));n=(((z=$div64(r,y,false),z.$low+((z.$high>>31)*4294967296))>>0))&1;o=(aa=$mul64(((ab=$div64(r,y,true),new AV(ab.$high,ab.$low))),new AV(0,1000000000)),ac=(new AV(0,q)),new AV(aa.$high+ac.$high,aa.$low+ac.$low));}else{ad=(new $Uint64(r.$high,r.$low));ae=$mul64(($shiftRightUint64(ad,32)),new $Uint64(0,1000000000));af=$shiftRightUint64(ae,32);ag=$shiftLeft64(ae,32);ae=$mul64((new $Uint64(ad.$high&0,(ad.$low&4294967295)>>>0)),new $Uint64(0,1000000000));ah=ag;ai=new $Uint64(ag.$high+ae.$high,ag.$low+ae.$low);aj=ah;ag=ai;if((ag.$highap.$high||(af.$high===ap.$high&&af.$low>ap.$low))||(af.$high===ap.$high&&af.$low===ap.$low)&&(ag.$high>ar.$high||(ag.$high===ar.$high&&ag.$low>=ar.$low))){n=1;as=ag;at=new $Uint64(ag.$high-ar.$high,ag.$low-ar.$low);aj=as;ag=at;if((ag.$high>aj.$high||(ag.$high===aj.$high&&ag.$low>aj.$low))){af=(au=new $Uint64(0,1),new $Uint64(af.$high-au.$high,af.$low-au.$low));}af=(av=ap,new $Uint64(af.$high-av.$high,af.$low-av.$low));}if((ap.$high===0&&ap.$low===0)&&(aw=(new $Uint64(m.$high,m.$low)),(ar.$high===aw.$high&&ar.$low===aw.$low))){break;}ar=$shiftRightUint64(ar,(1));ar=(ax=$shiftLeft64((new $Uint64(ap.$high&0,(ap.$low&1)>>>0)),63),new $Uint64(ar.$high|ax.$high,(ar.$low|ax.$low)>>>0));ap=$shiftRightUint64(ap,(1));}o=(new AV(ag.$high,ag.$low));}if(p&&!((o.$high===0&&o.$low===0))){n=(n^(1))>>0;o=new AV(m.$high-o.$high,m.$low-o.$low);}return[n,o];};CG=function(l){var l,m;if(l.length===0){return false;}m=l.charCodeAt(0);return 97<=m&&m<=122;};CH=function(l){var aa,ab,ac,ad,ae,af,ag,ah,ai,aj,ak,al,am,an,ao,ap,aq,ar,as,at,au,av,aw,ax,ay,az,ba,bb,bc,bd,be,bf,bg,bh,bi,bj,bk,bl,bm,bn,bo,bp,bq,br,bs,bt,bu,bv,bw,bx,by,bz,ca,cb,cc,cd,ce,cf,cg,ch,ci,cj,ck,cl,cm,cn,co,cp,cq,cr,cs,ct,cu,cv,cw,cx,cy,cz,da,db,dc,dd,de,df,dg,dh,di,dj,dk,dl,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z;m="";n=0;o="";p=0;while(true){if(!(p>0));r=q;if(r===(74)){if(l.length>=(p+3>>0)&&$substring(l,p,(p+3>>0))==="Jan"){if(l.length>=(p+7>>0)&&$substring(l,p,(p+7>>0))==="January"){s=$substring(l,0,p);t=257;u=$substring(l,(p+7>>0));m=s;n=t;o=u;return[m,n,o];}if(!CG($substring(l,(p+3>>0)))){v=$substring(l,0,p);w=258;x=$substring(l,(p+3>>0));m=v;n=w;o=x;return[m,n,o];}}}else if(r===(77)){if(l.length>=(p+3>>0)){if($substring(l,p,(p+3>>0))==="Mon"){if(l.length>=(p+6>>0)&&$substring(l,p,(p+6>>0))==="Monday"){y=$substring(l,0,p);z=261;aa=$substring(l,(p+6>>0));m=y;n=z;o=aa;return[m,n,o];}if(!CG($substring(l,(p+3>>0)))){ab=$substring(l,0,p);ac=262;ad=$substring(l,(p+3>>0));m=ab;n=ac;o=ad;return[m,n,o];}}if($substring(l,p,(p+3>>0))==="MST"){ae=$substring(l,0,p);af=23;ag=$substring(l,(p+3>>0));m=ae;n=af;o=ag;return[m,n,o];}}}else if(r===(48)){if(l.length>=(p+2>>0)&&49<=l.charCodeAt((p+1>>0))&&l.charCodeAt((p+1>>0))<=54){ah=$substring(l,0,p);ai=(aj=l.charCodeAt((p+1>>0))-49<<24>>>24,((aj<0||aj>=CF.length)?($throwRuntimeError("index out of range"),undefined):CF[aj]));ak=$substring(l,(p+2>>0));m=ah;n=ai;o=ak;return[m,n,o];}if(l.length>=(p+3>>0)&&(l.charCodeAt((p+1>>0))===48)&&(l.charCodeAt((p+2>>0))===50)){al=$substring(l,0,p);am=267;an=$substring(l,(p+3>>0));m=al;n=am;o=an;return[m,n,o];}}else if(r===(49)){if(l.length>=(p+2>>0)&&(l.charCodeAt((p+1>>0))===53)){ao=$substring(l,0,p);ap=524;aq=$substring(l,(p+2>>0));m=ao;n=ap;o=aq;return[m,n,o];}ar=$substring(l,0,p);as=259;at=$substring(l,(p+1>>0));m=ar;n=as;o=at;return[m,n,o];}else if(r===(50)){if(l.length>=(p+4>>0)&&$substring(l,p,(p+4>>0))==="2006"){au=$substring(l,0,p);av=275;aw=$substring(l,(p+4>>0));m=au;n=av;o=aw;return[m,n,o];}ax=$substring(l,0,p);ay=263;az=$substring(l,(p+1>>0));m=ax;n=ay;o=az;return[m,n,o];}else if(r===(95)){if(l.length>=(p+2>>0)&&(l.charCodeAt((p+1>>0))===50)){if(l.length>=(p+5>>0)&&$substring(l,(p+1>>0),(p+5>>0))==="2006"){ba=$substring(l,0,(p+1>>0));bb=275;bc=$substring(l,(p+5>>0));m=ba;n=bb;o=bc;return[m,n,o];}bd=$substring(l,0,p);be=264;bf=$substring(l,(p+2>>0));m=bd;n=be;o=bf;return[m,n,o];}if(l.length>=(p+3>>0)&&(l.charCodeAt((p+1>>0))===95)&&(l.charCodeAt((p+2>>0))===50)){bg=$substring(l,0,p);bh=266;bi=$substring(l,(p+3>>0));m=bg;n=bh;o=bi;return[m,n,o];}}else if(r===(51)){bj=$substring(l,0,p);bk=525;bl=$substring(l,(p+1>>0));m=bj;n=bk;o=bl;return[m,n,o];}else if(r===(52)){bm=$substring(l,0,p);bn=527;bo=$substring(l,(p+1>>0));m=bm;n=bn;o=bo;return[m,n,o];}else if(r===(53)){bp=$substring(l,0,p);bq=529;br=$substring(l,(p+1>>0));m=bp;n=bq;o=br;return[m,n,o];}else if(r===(80)){if(l.length>=(p+2>>0)&&(l.charCodeAt((p+1>>0))===77)){bs=$substring(l,0,p);bt=533;bu=$substring(l,(p+2>>0));m=bs;n=bt;o=bu;return[m,n,o];}}else if(r===(112)){if(l.length>=(p+2>>0)&&(l.charCodeAt((p+1>>0))===109)){bv=$substring(l,0,p);bw=534;bx=$substring(l,(p+2>>0));m=bv;n=bw;o=bx;return[m,n,o];}}else if(r===(45)){if(l.length>=(p+7>>0)&&$substring(l,p,(p+7>>0))==="-070000"){by=$substring(l,0,p);bz=30;ca=$substring(l,(p+7>>0));m=by;n=bz;o=ca;return[m,n,o];}if(l.length>=(p+9>>0)&&$substring(l,p,(p+9>>0))==="-07:00:00"){cb=$substring(l,0,p);cc=33;cd=$substring(l,(p+9>>0));m=cb;n=cc;o=cd;return[m,n,o];}if(l.length>=(p+5>>0)&&$substring(l,p,(p+5>>0))==="-0700"){ce=$substring(l,0,p);cf=29;cg=$substring(l,(p+5>>0));m=ce;n=cf;o=cg;return[m,n,o];}if(l.length>=(p+6>>0)&&$substring(l,p,(p+6>>0))==="-07:00"){ch=$substring(l,0,p);ci=32;cj=$substring(l,(p+6>>0));m=ch;n=ci;o=cj;return[m,n,o];}if(l.length>=(p+3>>0)&&$substring(l,p,(p+3>>0))==="-07"){ck=$substring(l,0,p);cl=31;cm=$substring(l,(p+3>>0));m=ck;n=cl;o=cm;return[m,n,o];}}else if(r===(90)){if(l.length>=(p+7>>0)&&$substring(l,p,(p+7>>0))==="Z070000"){cn=$substring(l,0,p);co=25;cp=$substring(l,(p+7>>0));m=cn;n=co;o=cp;return[m,n,o];}if(l.length>=(p+9>>0)&&$substring(l,p,(p+9>>0))==="Z07:00:00"){cq=$substring(l,0,p);cr=28;cs=$substring(l,(p+9>>0));m=cq;n=cr;o=cs;return[m,n,o];}if(l.length>=(p+5>>0)&&$substring(l,p,(p+5>>0))==="Z0700"){ct=$substring(l,0,p);cu=24;cv=$substring(l,(p+5>>0));m=ct;n=cu;o=cv;return[m,n,o];}if(l.length>=(p+6>>0)&&$substring(l,p,(p+6>>0))==="Z07:00"){cw=$substring(l,0,p);cx=27;cy=$substring(l,(p+6>>0));m=cw;n=cx;o=cy;return[m,n,o];}if(l.length>=(p+3>>0)&&$substring(l,p,(p+3>>0))==="Z07"){cz=$substring(l,0,p);da=26;db=$substring(l,(p+3>>0));m=cz;n=da;o=db;return[m,n,o];}}else if((r===(46))||(r===(44))){if((p+1>>0)>0))===48)||(l.charCodeAt((p+1>>0))===57))){dc=l.charCodeAt((p+1>>0));dd=p+1>>0;while(true){if(!(dd>0;}if(!CY(l,dd)){de=34;if(l.charCodeAt((p+1>>0))===57){de=35;}df=CR(de,dd-((p+1>>0))>>0,q);dg=$substring(l,0,p);dh=df;di=$substring(l,dd);m=dg;n=dh;o=di;return[m,n,o];}}}p=p+(1)>>0;}dj=l;dk=0;dl="";m=dj;n=dk;o=dl;return[m,n,o];};CM=function(l,m){var l,m,n,o,p;n=0;while(true){if(!(n>>0;p=(p|(32))>>>0;if(!((o===p))||o<97||o>122){return false;}}n=n+(1)>>0;}return true;};CN=function(l,m){var l,m,n,o,p,q;n=l;o=0;while(true){if(!(o=n.$length)?($throwRuntimeError("index out of range"),undefined):n.$array[n.$offset+o]);if(m.length>=q.length&&CM($substring(m,0,q.length),q)){return[p,$substring(m,q.length),$ifaceNil];}o++;}return[-1,m,CV];};CO=function(l,m,n){var l,m,n,o,p,q,r,s,t;o=((m>>>0));if(m<0){l=$append(l,45);o=((-m>>>0));}p=ER.zero();q=20;while(true){if(!(o>=10)){break;}q=q-(1)>>0;s=(r=o/10,(r===r&&r!==1/0&&r!==-1/0)?r>>>0:$throwRuntimeError("integer divide by zero"));((q<0||q>=p.length)?($throwRuntimeError("index out of range"),undefined):p[q]=((((48+o>>>0)-(s*10>>>0)>>>0)<<24>>>24)));o=s;}q=q-(1)>>0;((q<0||q>=p.length)?($throwRuntimeError("index out of range"),undefined):p[q]=(((48+o>>>0)<<24>>>24)));t=20-q>>0;while(true){if(!(t>0;}return $appendSlice(l,$subslice(new EK(p),q));};CQ=function(l){var l,m,n,o,p,q,r,s,t,u,v;m=0;n=$ifaceNil;o=false;if(!(l==="")&&((l.charCodeAt(0)===45)||(l.charCodeAt(0)===43))){o=l.charCodeAt(0)===45;l=$substring(l,1);}p=DM(l);q=p[0];r=p[1];n=p[2];m=((q.$low>>0));if(!($interfaceIsEqual(n,$ifaceNil))||!(r==="")){s=0;t=CP;m=s;n=t;return[m,n];}if(o){m=-m;}u=m;v=$ifaceNil;m=u;n=v;return[m,n];};CR=function(l,m,n){var l,m,n;if(n===46){return l|((((m&4095))<<16>>0));}return(l|((((m&4095))<<16>>0)))|268435456;};CS=function(l){var l;return((l>>16>>0))&4095;};CT=function(l){var l;if(((l>>28>>0))===0){return 46;}return 44;};CU=function(l,m,n){var l,m,n,o,p,q,r,s,t,u,v,w;o=CS(n);p=CT(n);q=(n&65535)===35;r=m;s=ES.zero();t=9;while(true){if(!(t>0)){break;}t=t-(1)>>0;((t<0||t>=s.length)?($throwRuntimeError("index out of range"),undefined):s[t]=((((u=r%10,u===u?u:$throwRuntimeError("integer divide by zero"))+48>>>0)<<24>>>24)));r=(v=r/(10),(v===v&&v!==1/0&&v!==-1/0)?v>>>0:$throwRuntimeError("integer divide by zero"));}if(o>9){o=9;}if(q){while(true){if(!(o>0&&((w=o-1>>0,((w<0||w>=s.length)?($throwRuntimeError("index out of range"),undefined):s[w]))===48))){break;}o=o-(1)>>0;}if(o===0){return l;}}l=$append(l,p);return $appendSlice(l,$subslice(new EK(s),0,o));};AQ.ptr.prototype.String=function(){var{aa,ab,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,$s,$r,$c}=$restore(this,{});$s=$s||0;s:while(true){switch($s){case 0:l=this;m=$clone(l,AQ).Format("2006-01-02 15:04:05.999999999 -0700 MST");$s=1;case 1:if($c){$c=false;m=m.$blk();}if(m&&m.$blk!==undefined){break s;}n=m;if(!((o=(p=l.wall,new $Uint64(p.$high&2147483648,(p.$low&0)>>>0)),(o.$high===0&&o.$low===0)))){r=((q=l.ext,new $Uint64(q.$high,q.$low)));s=43;if((t=l.ext,(t.$high<0||(t.$high===0&&t.$low<0)))){s=45;r=new $Uint64(-r.$high,-r.$low);}u=$div64(r,new $Uint64(0,1000000000),false);v=$div64(r,new $Uint64(0,1000000000),true);w=u;r=v;x=$div64(w,new $Uint64(0,1000000000),false);y=$div64(w,new $Uint64(0,1000000000),true);z=x;w=y;aa=$makeSlice(EK,0,24);aa=$appendSlice(aa," m=");aa=$append(aa,s);ab=0;if(!((z.$high===0&&z.$low===0))){aa=CO(aa,((z.$low>>0)),0);ab=9;}aa=CO(aa,((w.$low>>0)),ab);aa=$append(aa,46);aa=CO(aa,((r.$low>>0)),9);n=n+(($bytesToString(aa)));}$s=-1;return n;}return;}var $f={$blk:AQ.ptr.prototype.String,$c:true,$r,aa,ab,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,$s};return $f;};AQ.prototype.String=function(){return this.$val.String();};AQ.ptr.prototype.GoString=function(){var{aa,ab,ac,ad,ae,af,ag,ah,ai,aj,ak,al,am,an,ao,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,$s,$r,$c}=$restore(this,{});$s=$s||0;s:while(true){switch($s){case 0:l=this;m=$makeSlice(EK,0,70);m=$appendSlice(m,"time.Date(");n=m;o=$clone(l,AQ).Year();$s=1;case 1:if($c){$c=false;o=o.$blk();}if(o&&o.$blk!==undefined){break s;}p=o;q=CO(n,p,0);$s=2;case 2:if($c){$c=false;q=q.$blk();}if(q&&q.$blk!==undefined){break s;}m=q;r=$clone(l,AQ).Month();$s=3;case 3:if($c){$c=false;r=r.$blk();}if(r&&r.$blk!==undefined){break s;}s=r;if(1<=s&&s<=12){$s=4;continue;}$s=5;continue;case 4:m=$appendSlice(m,", time.");t=m;u=$clone(l,AQ).Month();$s=7;case 7:if($c){$c=false;u=u.$blk();}if(u&&u.$blk!==undefined){break s;}v=new AR(u).String();$s=8;case 8:if($c){$c=false;v=v.$blk();}if(v&&v.$blk!==undefined){break s;}w=v;m=$appendSlice(t,w);$s=6;continue;case 5:m=CO(m,((s>>0)),0);case 6:m=$appendSlice(m,", ");x=m;y=$clone(l,AQ).Day();$s=9;case 9:if($c){$c=false;y=y.$blk();}if(y&&y.$blk!==undefined){break s;}z=y;aa=CO(x,z,0);$s=10;case 10:if($c){$c=false;aa=aa.$blk();}if(aa&&aa.$blk!==undefined){break s;}m=aa;m=$appendSlice(m,", ");ab=m;ac=$clone(l,AQ).Hour();$s=11;case 11:if($c){$c=false;ac=ac.$blk();}if(ac&&ac.$blk!==undefined){break s;}ad=ac;ae=CO(ab,ad,0);$s=12;case 12:if($c){$c=false;ae=ae.$blk();}if(ae&&ae.$blk!==undefined){break s;}m=ae;m=$appendSlice(m,", ");af=m;ag=$clone(l,AQ).Minute();$s=13;case 13:if($c){$c=false;ag=ag.$blk();}if(ag&&ag.$blk!==undefined){break s;}ah=ag;ai=CO(af,ah,0);$s=14;case 14:if($c){$c=false;ai=ai.$blk();}if(ai&&ai.$blk!==undefined){break s;}m=ai;m=$appendSlice(m,", ");aj=m;ak=$clone(l,AQ).Second();$s=15;case 15:if($c){$c=false;ak=ak.$blk();}if(ak&&ak.$blk!==undefined){break s;}al=ak;am=CO(aj,al,0);$s=16;case 16:if($c){$c=false;am=am.$blk();}if(am&&am.$blk!==undefined){break s;}m=am;m=$appendSlice(m,", ");m=CO(m,$clone(l,AQ).Nanosecond(),0);m=$appendSlice(m,", ");an=$clone(l,AQ).Location();ao=an;if(ao===($pkg.UTC)||ao===EL.nil){m=$appendSlice(m,"time.UTC");}else if(ao===($pkg.Local)){m=$appendSlice(m,"time.Local");}else{m=$appendSlice(m,"time.Location(");m=$appendSlice(m,(new EK($stringToBytes(CX(an.name)))));m=$appendSlice(m,")");}m=$append(m,41);$s=-1;return($bytesToString(m));}return;}var $f={$blk:AQ.ptr.prototype.GoString,$c:true,$r,aa,ab,ac,ad,ae,af,ag,ah,ai,aj,ak,al,am,an,ao,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,$s};return $f;};AQ.prototype.GoString=function(){return this.$val.GoString();};AQ.ptr.prototype.Format=function(l){var{l,m,n,o,p,q,$s,$r,$c}=$restore(this,{l});$s=$s||0;s:while(true){switch($s){case 0:m=this;n=EK.nil;o=l.length+10>>0;if(o<64){p=ET.zero();n=$subslice(new EK(p),0,0);}else{n=$makeSlice(EK,0,o);}q=$clone(m,AQ).AppendFormat(n,l);$s=1;case 1:if($c){$c=false;q=q.$blk();}if(q&&q.$blk!==undefined){break s;}n=q;$s=-1;return($bytesToString(n));}return;}var $f={$blk:AQ.ptr.prototype.Format,$c:true,$r,l,m,n,o,p,q,$s};return $f;};AQ.prototype.Format=function(l){return this.$val.Format(l);};AQ.ptr.prototype.AppendFormat=function(l,m){var{aa,ab,ac,ad,ae,af,ag,ah,ai,aj,ak,al,am,an,ao,ap,aq,ar,as,at,au,av,aw,ax,ay,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,$s,$r,$c}=$restore(this,{l,m});$s=$s||0;s:while(true){switch($s){case 0:n=this;p=$clone(n,AQ).locabs();$s=1;case 1:if($c){$c=false;p=p.$blk();}if(p&&p.$blk!==undefined){break s;}o=p;q=o[0];r=o[1];s=o[2];t=-1;u=0;v=0;w=0;x=-1;y=0;z=0;while(true){if(!(!(m===""))){break;}aa=CH(m);ab=aa[0];ac=aa[1];ad=aa[2];if(!(ab==="")){l=$appendSlice(l,ab);}if(ac===0){break;}m=ad;if(t<0&&!(((ac&256)===0))){ae=BB(s,true);t=ae[0];u=ae[1];v=ae[2];w=ae[3];w=w+(1)>>0;}if(x<0&&!(((ac&512)===0))){af=AU(s);x=af[0];y=af[1];z=af[2];}switch(0){default:ag=ac&65535;if(ag===(276)){ah=t;if(ah<0){ah=-ah;}l=CO(l,(ai=ah%100,ai===ai?ai:$throwRuntimeError("integer divide by zero")),2);}else if(ag===(275)){l=CO(l,t,4);}else if(ag===(258)){l=$appendSlice(l,$substring(new AR(u).String(),0,3));}else if(ag===(257)){aj=new AR(u).String();l=$appendSlice(l,aj);}else if(ag===(259)){l=CO(l,((u>>0)),0);}else if(ag===(260)){l=CO(l,((u>>0)),2);}else if(ag===(262)){l=$appendSlice(l,$substring(new AS(AT(s)).String(),0,3));}else if(ag===(261)){ak=new AS(AT(s)).String();l=$appendSlice(l,ak);}else if(ag===(263)){l=CO(l,v,0);}else if(ag===(264)){if(v<10){l=$append(l,32);}l=CO(l,v,0);}else if(ag===(265)){l=CO(l,v,2);}else if(ag===(266)){if(w<100){l=$append(l,32);if(w<10){l=$append(l,32);}}l=CO(l,w,0);}else if(ag===(267)){l=CO(l,w,3);}else if(ag===(524)){l=CO(l,x,2);}else if(ag===(525)){am=(al=x%12,al===al?al:$throwRuntimeError("integer divide by zero"));if(am===0){am=12;}l=CO(l,am,0);}else if(ag===(526)){ao=(an=x%12,an===an?an:$throwRuntimeError("integer divide by zero"));if(ao===0){ao=12;}l=CO(l,ao,2);}else if(ag===(527)){l=CO(l,y,0);}else if(ag===(528)){l=CO(l,y,2);}else if(ag===(529)){l=CO(l,z,0);}else if(ag===(530)){l=CO(l,z,2);}else if(ag===(533)){if(x>=12){l=$appendSlice(l,"PM");}else{l=$appendSlice(l,"AM");}}else if(ag===(534)){if(x>=12){l=$appendSlice(l,"pm");}else{l=$appendSlice(l,"am");}}else if((ag===(24))||(ag===(27))||(ag===(25))||(ag===(26))||(ag===(28))||(ag===(29))||(ag===(32))||(ag===(30))||(ag===(31))||(ag===(33))){if((r===0)&&((ac===24)||(ac===27)||(ac===25)||(ac===26)||(ac===28))){l=$append(l,90);break;}aq=(ap=r/60,(ap===ap&&ap!==1/0&&ap!==-1/0)?ap>>0:$throwRuntimeError("integer divide by zero"));ar=r;if(aq<0){l=$append(l,45);aq=-aq;ar=-ar;}else{l=$append(l,43);}l=CO(l,(as=aq/60,(as===as&&as!==1/0&&as!==-1/0)?as>>0:$throwRuntimeError("integer divide by zero")),2);if((ac===27)||(ac===32)||(ac===28)||(ac===33)){l=$append(l,58);}if(!((ac===31))&&!((ac===26))){l=CO(l,(at=aq%60,at===at?at:$throwRuntimeError("integer divide by zero")),2);}if((ac===25)||(ac===30)||(ac===33)||(ac===28)){if((ac===33)||(ac===28)){l=$append(l,58);}l=CO(l,(au=ar%60,au===au?au:$throwRuntimeError("integer divide by zero")),2);}}else if(ag===(23)){if(!(q==="")){l=$appendSlice(l,q);break;}aw=(av=r/60,(av===av&&av!==1/0&&av!==-1/0)?av>>0:$throwRuntimeError("integer divide by zero"));if(aw<0){l=$append(l,45);aw=-aw;}else{l=$append(l,43);}l=CO(l,(ax=aw/60,(ax===ax&&ax!==1/0&&ax!==-1/0)?ax>>0:$throwRuntimeError("integer divide by zero")),2);l=CO(l,(ay=aw%60,ay===ay?ay:$throwRuntimeError("integer divide by zero")),2);}else if((ag===(34))||(ag===(35))){l=CU(l,(($clone(n,AQ).Nanosecond()>>>0)),ac);}}}$s=-1;return l;}return;}var $f={$blk:AQ.ptr.prototype.AppendFormat,$c:true,$r,aa,ab,ac,ad,ae,af,ag,ah,ai,aj,ak,al,am,an,ao,ap,aq,ar,as,at,au,av,aw,ax,ay,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,$s};return $f;};AQ.prototype.AppendFormat=function(l,m){return this.$val.AppendFormat(l,m);};CX=function(l){var l,m,n,o,p,q,r,s,t;m=$makeSlice(EK,1,(l.length+2>>0));(0>=m.$length?($throwRuntimeError("index out of range"),undefined):m.$array[m.$offset+0]=34);n=l;o=0;while(true){if(!(o=128||r<32){s=0;if(r===65533){s=1;if((q+2>>0)>0))==="\xEF\xBF\xBD"){s=3;}}else{s=($encodeRune(r)).length;}t=0;while(true){if(!(t>0))>>>4<<24>>>24)));m=$append(m,"0123456789abcdef".charCodeAt(((l.charCodeAt((q+t>>0))&15)>>>0)));t=t+(1)>>0;}}else{if((r===34)||(r===92)){m=$append(m,92);}m=$appendSlice(m,($encodeRune(r)));}o+=p[1];}m=$append(m,34);return($bytesToString(m));};CW.ptr.prototype.Error=function(){var l;l=this;if(l.Message===""){return"parsing time "+CX(l.Value)+" as "+CX(l.Layout)+": cannot parse "+CX(l.ValueElem)+" as "+CX(l.LayoutElem);}return"parsing time "+CX(l.Value)+l.Message;};CW.prototype.Error=function(){return this.$val.Error();};CY=function(l,m){var l,m,n;if(l.length<=m){return false;}n=l.charCodeAt(m);return 48<=n&&n<=57;};CZ=function(l,m){var l,m;if(!CY(l,0)){return[0,l,CV];}if(!CY(l,1)){if(m){return[0,l,CV];}return[(((l.charCodeAt(0)-48<<24>>>24)>>0)),$substring(l,1),$ifaceNil];}return[($imul((((l.charCodeAt(0)-48<<24>>>24)>>0)),10))+(((l.charCodeAt(1)-48<<24>>>24)>>0))>>0,$substring(l,2),$ifaceNil];};DA=function(l,m){var l,m,n,o,p,q;n=0;o=0;p=n;q=o;q=0;while(true){if(!(q<3&&CY(l,q))){break;}p=($imul(p,10))+(((l.charCodeAt(q)-48<<24>>>24)>>0))>>0;q=q+(1)>>0;}if((q===0)||m&&!((q===3))){return[0,l,CV];}return[p,$substring(l,q),$ifaceNil];};DB=function(l){var l;while(true){if(!(l.length>0&&(l.charCodeAt(0)===32))){break;}l=$substring(l,1);}return l;};DC=function(l,m){var l,m;while(true){if(!(m.length>0)){break;}if(m.charCodeAt(0)===32){if(l.length>0&&!((l.charCodeAt(0)===32))){return[l,CV];}m=DB(m);l=DB(l);continue;}if((l.length===0)||!((l.charCodeAt(0)===m.charCodeAt(0)))){return[l,CV];}m=$substring(m,1);l=$substring(l,1);}return[l,$ifaceNil];};DD=function(l,m){var{l,m,n,o,$s,$r,$c}=$restore(this,{l,m});$s=$s||0;s:while(true){switch($s){case 0:n=DF(l,m,$pkg.UTC,$pkg.Local);$s=1;case 1:if($c){$c=false;n=n.$blk();}if(n&&n.$blk!==undefined){break s;}o=n;$s=2;case 2:return o;}return;}var $f={$blk:DD,$c:true,$r,l,m,n,o,$s};return $f;};$pkg.Parse=DD;DF=function(l,m,n,o){var{aa,ab,ac,ad,ae,af,ag,ah,ai,aj,ak,al,am,an,ao,ap,aq,ar,as,at,au,av,aw,ax,ay,az,ba,bb,bc,bd,be,bf,bg,bh,bi,bj,bk,bl,bm,bn,bo,bp,bq,br,bs,bt,bu,bv,bw,bx,by,bz,ca,cb,cc,cd,ce,cf,cg,ch,ci,cj,ck,cl,cm,cn,co,cp,cq,cr,cs,ct,cu,cv,cw,cx,cy,cz,da,db,dc,dd,de,df,dg,dh,di,dj,dk,dl,dm,dn,dp,dq,dr,ds,dt,du,dv,dw,dx,dy,dz,ea,eb,ec,ed,ee,ef,eg,eh,ei,ej,ek,el,em,en,eo,ep,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,$s,$r,$c}=$restore(this,{l,m,n,o});$s=$s||0;s:while(true){switch($s){case 0:p=l;q=m;r=p;s=q;t="";u=false;v=false;w=0;x=-1;y=-1;z=-1;aa=0;ab=0;ac=0;ad=0;ae=EL.nil;af=-1;ag="";while(true){ah=$ifaceNil;ai=CH(l);aj=ai[0];ak=ai[1];al=ai[2];am=$substring(l,aj.length,(l.length-al.length>>0));an=DC(m,aj);m=an[0];ah=an[1];if(!($interfaceIsEqual(ah,$ifaceNil))){$s=-1;return[new AQ.ptr(new $Uint64(0,0),new $Int64(0,0),EL.nil),new CW.ptr(r,s,aj,m,"")];}if(ak===0){if(!((m.length===0))){$s=-1;return[new AQ.ptr(new $Uint64(0,0),new $Int64(0,0),EL.nil),new CW.ptr(r,s,"",m,": extra text: "+CX(m))];}break;}l=al;ao="";switch(0){default:ap=ak&65535;if(ap===(276)){if(m.length<2){ah=CV;break;}aq=m;ar=$substring(m,0,2);as=$substring(m,2);ao=ar;m=as;at=CQ(ao);w=at[0];ah=at[1];if(!($interfaceIsEqual(ah,$ifaceNil))){m=aq;}else if(w>=69){w=w+(1900)>>0;}else{w=w+(2000)>>0;}}else if(ap===(275)){if(m.length<4||!CY(m,0)){ah=CV;break;}au=$substring(m,0,4);av=$substring(m,4);ao=au;m=av;aw=CQ(ao);w=aw[0];ah=aw[1];}else if(ap===(258)){ax=CN(CK,m);x=ax[0];m=ax[1];ah=ax[2];x=x+(1)>>0;}else if(ap===(257)){ay=CN(CL,m);x=ay[0];m=ay[1];ah=ay[2];x=x+(1)>>0;}else if((ap===(259))||(ap===(260))){az=CZ(m,ak===260);x=az[0];m=az[1];ah=az[2];if($interfaceIsEqual(ah,$ifaceNil)&&(x<=0||120&&(m.charCodeAt(0)===32)){m=$substring(m,1);}bc=CZ(m,ak===265);y=bc[0];m=bc[1];ah=bc[2];}else if((ap===(266))||(ap===(267))){bd=0;while(true){if(!(bd<2)){break;}if((ak===266)&&m.length>0&&(m.charCodeAt(0)===32)){m=$substring(m,1);}bd=bd+(1)>>0;}be=DA(m,ak===267);z=be[0];m=be[1];ah=be[2];}else if(ap===(524)){bf=CZ(m,false);aa=bf[0];m=bf[1];ah=bf[2];if(aa<0||24<=aa){t="hour";}}else if((ap===(525))||(ap===(526))){bg=CZ(m,ak===526);aa=bg[0];m=bg[1];ah=bg[2];if(aa<0||12=2&&DJ(m.charCodeAt(0))&&CY(m,1)){bj=CH(l);ak=bj[1];ak=ak&(65535);if((ak===34)||(ak===35)){break;}bk=2;while(true){if(!(bk>0;}bl=DK(m,bk);ad=bl[0];t=bl[1];ah=bl[2];m=$substring(m,bk);}}else if(ap===(533)){if(m.length<2){ah=CV;break;}bm=$substring(m,0,2);bn=$substring(m,2);ao=bm;m=bn;bo=ao;if(bo===("PM")){v=true;}else if(bo===("AM")){u=true;}else{ah=CV;}}else if(ap===(534)){if(m.length<2){ah=CV;break;}bp=$substring(m,0,2);bq=$substring(m,2);ao=bp;m=bq;br=ao;if(br===("pm")){v=true;}else if(br===("am")){u=true;}else{ah=CV;}}else if((ap===(24))||(ap===(27))||(ap===(25))||(ap===(26))||(ap===(28))||(ap===(29))||(ap===(31))||(ap===(32))||(ap===(30))||(ap===(33))){if(((ak===24)||(ak===26)||(ak===27))&&m.length>=1&&(m.charCodeAt(0)===90)){m=$substring(m,1);ae=$pkg.UTC;break;}bs="";bt="";bu="";bv="";bw=bs;bx=bt;by=bu;bz=bv;if((ak===27)||(ak===32)){if(m.length<6){ah=CV;break;}if(!((m.charCodeAt(3)===58))){ah=CV;break;}ca=$substring(m,0,1);cb=$substring(m,1,3);cc=$substring(m,4,6);cd="00";ce=$substring(m,6);bw=ca;bx=cb;by=cc;bz=cd;m=ce;}else if((ak===31)||(ak===26)){if(m.length<3){ah=CV;break;}cf=$substring(m,0,1);cg=$substring(m,1,3);ch="00";ci="00";cj=$substring(m,3);bw=cf;bx=cg;by=ch;bz=ci;m=cj;}else if((ak===28)||(ak===33)){if(m.length<9){ah=CV;break;}if(!((m.charCodeAt(3)===58))||!((m.charCodeAt(6)===58))){ah=CV;break;}ck=$substring(m,0,1);cl=$substring(m,1,3);cm=$substring(m,4,6);cn=$substring(m,7,9);co=$substring(m,9);bw=ck;bx=cl;by=cm;bz=cn;m=co;}else if((ak===25)||(ak===30)){if(m.length<7){ah=CV;break;}cp=$substring(m,0,1);cq=$substring(m,1,3);cr=$substring(m,3,5);cs=$substring(m,5,7);ct=$substring(m,7);bw=cp;bx=cq;by=cr;bz=cs;m=ct;}else{if(m.length<5){ah=CV;break;}cu=$substring(m,0,1);cv=$substring(m,1,3);cw=$substring(m,3,5);cx="00";cy=$substring(m,5);bw=cu;bx=cv;by=cw;bz=cx;m=cy;}cz=0;da=0;db=0;dc=cz;dd=da;de=db;df=CQ(bx);dc=df[0];ah=df[1];if($interfaceIsEqual(ah,$ifaceNil)){dg=CQ(by);dd=dg[0];ah=dg[1];}if($interfaceIsEqual(ah,$ifaceNil)){dh=CQ(bz);de=dh[0];ah=dh[1];}af=($imul(((($imul(dc,60))+dd>>0)),60))+de>>0;di=bw.charCodeAt(0);if(di===(43)){}else if(di===(45)){af=-af;}else{ah=CV;}}else if(ap===(23)){if(m.length>=3&&$substring(m,0,3)==="UTC"){ae=$pkg.UTC;m=$substring(m,3);break;}dj=DG(m);dk=dj[0];dl=dj[1];if(!dl){ah=CV;break;}dm=$substring(m,0,dk);dn=$substring(m,dk);ag=dm;m=dn;}else if(ap===(34)){dp=1+CS(ak)>>0;if(m.length>0)>0))&&m.charCodeAt((dr+1>>0))<=57)){break;}dr=dr+(1)>>0;}ds=DK(m,1+dr>>0);ad=ds[0];t=ds[1];ah=ds[2];m=$substring(m,(1+dr>>0));}}if(!(t==="")){$s=-1;return[new AQ.ptr(new $Uint64(0,0),new $Int64(0,0),EL.nil),new CW.ptr(r,s,am,m,": "+t+" out of range")];}if(!($interfaceIsEqual(ah,$ifaceNil))){$s=-1;return[new AQ.ptr(new $Uint64(0,0),new $Int64(0,0),EL.nil),new CW.ptr(r,s,am,m,"")];}}if(v&&aa<12){aa=aa+(12)>>0;}else if(u&&(aa===12)){aa=0;}if(z>=0){dt=0;du=0;if(BM(w)){if(z===60){du=2;dt=29;}else if(z>60){z=z-(1)>>0;}}if(z<1||z>365){$s=-1;return[new AQ.ptr(new $Uint64(0,0),new $Int64(0,0),EL.nil),new CW.ptr(r,s,"",m,": day-of-year out of range")];}if(du===0){du=(dv=((z-1>>0))/31,(dv===dv&&dv!==1/0&&dv!==-1/0)?dv>>0:$throwRuntimeError("integer divide by zero"))+1>>0;if(((((du<0||du>=BC.length)?($throwRuntimeError("index out of range"),undefined):BC[du])>>0))>0;}dt=z-(((dw=du-1>>0,((dw<0||dw>=BC.length)?($throwRuntimeError("index out of range"),undefined):BC[dw]))>>0))>>0;}if(x>=0&&!((x===du))){$s=-1;return[new AQ.ptr(new $Uint64(0,0),new $Int64(0,0),EL.nil),new CW.ptr(r,s,"",m,": day-of-year does not match month")];}x=du;if(y>=0&&!((y===dt))){$s=-1;return[new AQ.ptr(new $Uint64(0,0),new $Int64(0,0),EL.nil),new CW.ptr(r,s,"",m,": day-of-year does not match day")];}y=dt;}else{if(x<0){x=1;}if(y<0){y=1;}}if(y<1||y>BD(((x>>0)),w)){$s=-1;return[new AQ.ptr(new $Uint64(0,0),new $Int64(0,0),EL.nil),new CW.ptr(r,s,"",m,": day out of range")];}if(!(ae===EL.nil)){$s=1;continue;}$s=2;continue;case 1:dx=BO(w,((x>>0)),y,aa,ab,ac,ad,ae);$s=3;case 3:if($c){$c=false;dx=dx.$blk();}if(dx&&dx.$blk!==undefined){break s;}dy=[dx,$ifaceNil];$s=4;case 4:return dy;case 2:if(!((af===-1))){$s=5;continue;}$s=6;continue;case 5:dz=BO(w,((x>>0)),y,aa,ab,ac,ad,$pkg.UTC);$s=7;case 7:if($c){$c=false;dz=dz.$blk();}if(dz&&dz.$blk!==undefined){break s;}ea=$clone(dz,AQ);ea.addSec((eb=(new $Int64(0,af)),new $Int64(-eb.$high,-eb.$low)));ed=o.lookup(ea.unixSec());$s=8;case 8:if($c){$c=false;ed=ed.$blk();}if(ed&&ed.$blk!==undefined){break s;}ec=ed;ee=ec[0];ef=ec[1];if((ef===af)&&(ag===""||ee===ag)){ea.setLoc(o);$s=-1;return[ea,$ifaceNil];}ea.setLoc(AC(ag,af));$s=-1;return[ea,$ifaceNil];case 6:if(!(ag==="")){$s=9;continue;}$s=10;continue;case 9:eg=BO(w,((x>>0)),y,aa,ab,ac,ad,$pkg.UTC);$s=11;case 11:if($c){$c=false;eg=eg.$blk();}if(eg&&eg.$blk!==undefined){break s;}eh=$clone(eg,AQ);ej=o.lookupName(ag,eh.unixSec());$s=12;case 12:if($c){$c=false;ej=ej.$blk();}if(ej&&ej.$blk!==undefined){break s;}ei=ej;ek=ei[0];el=ei[1];if(el){eh.addSec((em=(new $Int64(0,ek)),new $Int64(-em.$high,-em.$low)));eh.setLoc(o);$s=-1;return[eh,$ifaceNil];}if(ag.length>3&&$substring(ag,0,3)==="GMT"){en=CQ($substring(ag,3));ek=en[0];ek=$imul(ek,(3600));}eh.setLoc(AC(ag,ek));$s=-1;return[eh,$ifaceNil];case 10:eo=BO(w,((x>>0)),y,aa,ab,ac,ad,n);$s=13;case 13:if($c){$c=false;eo=eo.$blk();}if(eo&&eo.$blk!==undefined){break s;}ep=[eo,$ifaceNil];$s=14;case 14:return ep;}return;}var $f={$blk:DF,$c:true,$r,aa,ab,ac,ad,ae,af,ag,ah,ai,aj,ak,al,am,an,ao,ap,aq,ar,as,at,au,av,aw,ax,ay,az,ba,bb,bc,bd,be,bf,bg,bh,bi,bj,bk,bl,bm,bn,bo,bp,bq,br,bs,bt,bu,bv,bw,bx,by,bz,ca,cb,cc,cd,ce,cf,cg,ch,ci,cj,ck,cl,cm,cn,co,cp,cq,cr,cs,ct,cu,cv,cw,cx,cy,cz,da,db,dc,dd,de,df,dg,dh,di,dj,dk,dl,dm,dn,dp,dq,dr,ds,dt,du,dv,dw,dx,dy,dz,ea,eb,ec,ed,ee,ef,eg,eh,ei,ej,ek,el,em,en,eo,ep,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,$s};return $f;};DG=function(l){var aa,ab,ac,ad,ae,af,ag,ah,ai,aj,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z;m=0;n=false;if(l.length<3){o=0;p=false;m=o;n=p;return[m,n];}if(l.length>=4&&($substring(l,0,4)==="ChST"||$substring(l,0,4)==="MeST")){q=4;r=true;m=q;n=r;return[m,n];}if($substring(l,0,3)==="GMT"){m=DH(l);s=m;t=true;m=s;n=t;return[m,n];}if((l.charCodeAt(0)===43)||(l.charCodeAt(0)===45)){m=DI(l);u=m>0;v=m;w=u;m=v;n=w;return[m,n];}x=0;x=0;while(true){if(!(x<6)){break;}if(x>=l.length){break;}y=l.charCodeAt(x);if(y<65||90>0;}z=x;if((z===(0))||(z===(1))||(z===(2))||(z===(6))){aa=0;ab=false;m=aa;n=ab;return[m,n];}else if(z===(5)){if(l.charCodeAt(4)===84){ac=5;ad=true;m=ac;n=ad;return[m,n];}}else if(z===(4)){if((l.charCodeAt(3)===84)||$substring(l,0,4)==="WITA"){ae=4;af=true;m=ae;n=af;return[m,n];}}else if(z===(3)){ag=3;ah=true;m=ag;n=ah;return[m,n];}ai=0;aj=false;m=ai;n=aj;return[m,n];};DH=function(l){var l;l=$substring(l,3);if(l.length===0){return 3;}return 3+DI(l)>>0;};DI=function(l){var l,m,n,o,p,q;m=l.charCodeAt(0);if(!((m===45))&&!((m===43))){return 0;}n=DM($substring(l,1));o=n[0];p=n[1];q=n[2];if(!($interfaceIsEqual(q,$ifaceNil))||$substring(l,1)===p){return 0;}if((o.$high>0||(o.$high===0&&o.$low>23))){return 0;}return l.length-p.length>>0;};DJ=function(l){var l;return(l===46)||(l===44);};DK=function(l,m){var l,m,n,o,p,q,r,s;n=0;o="";p=$ifaceNil;if(!DJ(l.charCodeAt(0))){p=CV;return[n,o,p];}if(m>10){l=$substring(l,0,10);m=10;}q=CQ($substring(l,1,m));n=q[0];p=q[1];if(!($interfaceIsEqual(p,$ifaceNil))){return[n,o,p];}if(n<0){o="fractional second";return[n,o,p];}r=10-m>>0;s=0;while(true){if(!(s>0;}return[n,o,p];};DM=function(l){var aa,ab,ac,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z;m=new $Uint64(0,0);n="";o=$ifaceNil;p=0;while(true){if(!(p57){break;}if((m.$high>214748364||(m.$high===214748364&&m.$low>3435973836))){r=new $Uint64(0,0);s="";t=DL;m=r;n=s;o=t;return[m,n,o];}m=(u=(v=$mul64(m,new $Uint64(0,10)),w=(new $Uint64(0,q)),new $Uint64(v.$high+w.$high,v.$low+w.$low)),new $Uint64(u.$high-0,u.$low-48));if((m.$high>2147483648||(m.$high===2147483648&&m.$low>0))){x=new $Uint64(0,0);y="";z=DL;m=x;n=y;o=z;return[m,n,o];}p=p+(1)>>0;}aa=m;ab=$substring(l,p);ac=$ifaceNil;m=aa;n=ab;o=ac;return[m,n,o];};DQ=function(){var l,m,n,o,p,q;AA.name="Local";l=new X.ptr("",0,false);m=new($global.Date)();n=$imul(($parseInt(m.getTimezoneOffset())>>0),-1);l.offset=$imul(n,60);l.name="UTC";if(n<0){l.name=l.name+("-");n=$imul(n,(-1));}else{l.name=l.name+("+");}l.name=l.name+(DR((o=n/60,(o===o&&o!==1/0&&o!==-1/0)?o>>0:$throwRuntimeError("integer divide by zero"))));q=(p=n%60,p===p?p:$throwRuntimeError("integer divide by zero"));if(!((q===0))){l.name=l.name+(":"+DR(q));}AA.zone=new EF([$clone(l,X)]);};DR=function(l){var l;if(l<10){return $substring("0123456789",l,(l+1>>0));}return $substring("00010203040506070809101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899",($imul(l,2)),(($imul(l,2))+2>>0));};DS=function(){$unused(BJ(new $Int64(0,0),new $Int64(0,0)));};EL.methods=[{prop:"get",name:"get",pkg:"time",typ:$funcType([],[EL],false)},{prop:"String",name:"String",pkg:"",typ:$funcType([],[$String],false)},{prop:"lookup",name:"lookup",pkg:"time",typ:$funcType([$Int64],[$String,$Int,$Int64,$Int64,$Bool],false)},{prop:"lookupFirstZone",name:"lookupFirstZone",pkg:"time",typ:$funcType([],[$Int],false)},{prop:"firstZoneUsed",name:"firstZoneUsed",pkg:"time",typ:$funcType([],[$Bool],false)},{prop:"lookupName",name:"lookupName",pkg:"time",typ:$funcType([$String,$Int64],[$Int,$Bool],false)}];AQ.methods=[{prop:"After",name:"After",pkg:"",typ:$funcType([AQ],[$Bool],false)},{prop:"Before",name:"Before",pkg:"",typ:$funcType([AQ],[$Bool],false)},{prop:"Equal",name:"Equal",pkg:"",typ:$funcType([AQ],[$Bool],false)},{prop:"IsZero",name:"IsZero",pkg:"",typ:$funcType([],[$Bool],false)},{prop:"abs",name:"abs",pkg:"time",typ:$funcType([],[$Uint64],false)},{prop:"locabs",name:"locabs",pkg:"time",typ:$funcType([],[$String,$Int,$Uint64],false)},{prop:"Date",name:"Date",pkg:"",typ:$funcType([],[$Int,AR,$Int],false)},{prop:"Year",name:"Year",pkg:"",typ:$funcType([],[$Int],false)},{prop:"Month",name:"Month",pkg:"",typ:$funcType([],[AR],false)},{prop:"Day",name:"Day",pkg:"",typ:$funcType([],[$Int],false)},{prop:"Weekday",name:"Weekday",pkg:"",typ:$funcType([],[AS],false)},{prop:"ISOWeek",name:"ISOWeek",pkg:"",typ:$funcType([],[$Int,$Int],false)},{prop:"Clock",name:"Clock",pkg:"",typ:$funcType([],[$Int,$Int,$Int],false)},{prop:"Hour",name:"Hour",pkg:"",typ:$funcType([],[$Int],false)},{prop:"Minute",name:"Minute",pkg:"",typ:$funcType([],[$Int],false)},{prop:"Second",name:"Second",pkg:"",typ:$funcType([],[$Int],false)},{prop:"Nanosecond",name:"Nanosecond",pkg:"",typ:$funcType([],[$Int],false)},{prop:"YearDay",name:"YearDay",pkg:"",typ:$funcType([],[$Int],false)},{prop:"Add",name:"Add",pkg:"",typ:$funcType([AV],[AQ],false)},{prop:"Sub",name:"Sub",pkg:"",typ:$funcType([AQ],[AV],false)},{prop:"AddDate",name:"AddDate",pkg:"",typ:$funcType([$Int,$Int,$Int],[AQ],false)},{prop:"date",name:"date",pkg:"time",typ:$funcType([$Bool],[$Int,AR,$Int,$Int],false)},{prop:"UTC",name:"UTC",pkg:"",typ:$funcType([],[AQ],false)},{prop:"Local",name:"Local",pkg:"",typ:$funcType([],[AQ],false)},{prop:"In",name:"In",pkg:"",typ:$funcType([EL],[AQ],false)},{prop:"Location",name:"Location",pkg:"",typ:$funcType([],[EL],false)},{prop:"Zone",name:"Zone",pkg:"",typ:$funcType([],[$String,$Int],false)},{prop:"Unix",name:"Unix",pkg:"",typ:$funcType([],[$Int64],false)},{prop:"UnixMilli",name:"UnixMilli",pkg:"",typ:$funcType([],[$Int64],false)},{prop:"UnixMicro",name:"UnixMicro",pkg:"",typ:$funcType([],[$Int64],false)},{prop:"UnixNano",name:"UnixNano",pkg:"",typ:$funcType([],[$Int64],false)},{prop:"MarshalBinary",name:"MarshalBinary",pkg:"",typ:$funcType([],[EK,$error],false)},{prop:"GobEncode",name:"GobEncode",pkg:"",typ:$funcType([],[EK,$error],false)},{prop:"MarshalJSON",name:"MarshalJSON",pkg:"",typ:$funcType([],[EK,$error],false)},{prop:"MarshalText",name:"MarshalText",pkg:"",typ:$funcType([],[EK,$error],false)},{prop:"IsDST",name:"IsDST",pkg:"",typ:$funcType([],[$Bool],false)},{prop:"Truncate",name:"Truncate",pkg:"",typ:$funcType([AV],[AQ],false)},{prop:"Round",name:"Round",pkg:"",typ:$funcType([AV],[AQ],false)},{prop:"String",name:"String",pkg:"",typ:$funcType([],[$String],false)},{prop:"GoString",name:"GoString",pkg:"",typ:$funcType([],[$String],false)},{prop:"Format",name:"Format",pkg:"",typ:$funcType([$String],[$String],false)},{prop:"AppendFormat",name:"AppendFormat",pkg:"",typ:$funcType([EK,$String],[EK],false)}];EW.methods=[{prop:"nsec",name:"nsec",pkg:"time",typ:$funcType([],[$Int32],false)},{prop:"sec",name:"sec",pkg:"time",typ:$funcType([],[$Int64],false)},{prop:"unixSec",name:"unixSec",pkg:"time",typ:$funcType([],[$Int64],false)},{prop:"addSec",name:"addSec",pkg:"time",typ:$funcType([$Int64],[],false)},{prop:"setLoc",name:"setLoc",pkg:"time",typ:$funcType([EL],[],false)},{prop:"stripMono",name:"stripMono",pkg:"time",typ:$funcType([],[],false)},{prop:"setMono",name:"setMono",pkg:"time",typ:$funcType([$Int64],[],false)},{prop:"mono",name:"mono",pkg:"time",typ:$funcType([],[$Int64],false)},{prop:"UnmarshalBinary",name:"UnmarshalBinary",pkg:"",typ:$funcType([EK],[$error],false)},{prop:"GobDecode",name:"GobDecode",pkg:"",typ:$funcType([EK],[$error],false)},{prop:"UnmarshalJSON",name:"UnmarshalJSON",pkg:"",typ:$funcType([EK],[$error],false)},{prop:"UnmarshalText",name:"UnmarshalText",pkg:"",typ:$funcType([EK],[$error],false)}];AR.methods=[{prop:"String",name:"String",pkg:"",typ:$funcType([],[$String],false)}];AS.methods=[{prop:"String",name:"String",pkg:"",typ:$funcType([],[$String],false)}];AV.methods=[{prop:"String",name:"String",pkg:"",typ:$funcType([],[$String],false)},{prop:"Nanoseconds",name:"Nanoseconds",pkg:"",typ:$funcType([],[$Int64],false)},{prop:"Microseconds",name:"Microseconds",pkg:"",typ:$funcType([],[$Int64],false)},{prop:"Milliseconds",name:"Milliseconds",pkg:"",typ:$funcType([],[$Int64],false)},{prop:"Seconds",name:"Seconds",pkg:"",typ:$funcType([],[$Float64],false)},{prop:"Minutes",name:"Minutes",pkg:"",typ:$funcType([],[$Float64],false)},{prop:"Hours",name:"Hours",pkg:"",typ:$funcType([],[$Float64],false)},{prop:"Truncate",name:"Truncate",pkg:"",typ:$funcType([AV],[AV],false)},{prop:"Round",name:"Round",pkg:"",typ:$funcType([AV],[AV],false)}];FA.methods=[{prop:"Error",name:"Error",pkg:"",typ:$funcType([],[$String],false)}];W.init("time",[{prop:"name",name:"name",embedded:false,exported:false,typ:$String,tag:""},{prop:"zone",name:"zone",embedded:false,exported:false,typ:EF,tag:""},{prop:"tx",name:"tx",embedded:false,exported:false,typ:EG,tag:""},{prop:"extend",name:"extend",embedded:false,exported:false,typ:$String,tag:""},{prop:"cacheStart",name:"cacheStart",embedded:false,exported:false,typ:$Int64,tag:""},{prop:"cacheEnd",name:"cacheEnd",embedded:false,exported:false,typ:$Int64,tag:""},{prop:"cacheZone",name:"cacheZone",embedded:false,exported:false,typ:EH,tag:""}]);X.init("time",[{prop:"name",name:"name",embedded:false,exported:false,typ:$String,tag:""},{prop:"offset",name:"offset",embedded:false,exported:false,typ:$Int,tag:""},{prop:"isDST",name:"isDST",embedded:false,exported:false,typ:$Bool,tag:""}]);Y.init("time",[{prop:"when",name:"when",embedded:false,exported:false,typ:$Int64,tag:""},{prop:"index",name:"index",embedded:false,exported:false,typ:$Uint8,tag:""},{prop:"isstd",name:"isstd",embedded:false,exported:false,typ:$Bool,tag:""},{prop:"isutc",name:"isutc",embedded:false,exported:false,typ:$Bool,tag:""}]);AH.init("time",[{prop:"kind",name:"kind",embedded:false,exported:false,typ:AG,tag:""},{prop:"day",name:"day",embedded:false,exported:false,typ:$Int,tag:""},{prop:"week",name:"week",embedded:false,exported:false,typ:$Int,tag:""},{prop:"mon",name:"mon",embedded:false,exported:false,typ:$Int,tag:""},{prop:"time",name:"time",embedded:false,exported:false,typ:$Int,tag:""}]);AQ.init("time",[{prop:"wall",name:"wall",embedded:false,exported:false,typ:$Uint64,tag:""},{prop:"ext",name:"ext",embedded:false,exported:false,typ:$Int64,tag:""},{prop:"loc",name:"loc",embedded:false,exported:false,typ:EL,tag:""}]);CW.init("",[{prop:"Layout",name:"Layout",embedded:false,exported:true,typ:$String,tag:""},{prop:"Value",name:"Value",embedded:false,exported:true,typ:$String,tag:""},{prop:"LayoutElem",name:"LayoutElem",embedded:false,exported:true,typ:$String,tag:""},{prop:"ValueElem",name:"ValueElem",embedded:false,exported:true,typ:$String,tag:""},{prop:"Message",name:"Message",embedded:false,exported:true,typ:$String,tag:""}]);$pkg.$initLinknames=function(){BF=$linknames["runtime.nanotime"];};$init=function(){$pkg.$init=function(){};var $f,$c=false,$s=0,$r;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:$r=A.$init();$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=F.$init();$s=2;case 2:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=E.$init();$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=B.$init();$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=C.$init();$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=D.$init();$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}AA=new W.ptr("",EF.nil,EG.nil,"",new $Int64(0,0),new $Int64(0,0),EH.nil);AB=new E.Once.ptr(false,false);L=A.New("malformed time zone information");$unused(new EJ(["/usr/share/zoneinfo/","/usr/share/lib/zoneinfo/","/usr/lib/locale/TZ/",B.GOROOT()+"/lib/time/zoneinfo.zip"]));Z=new W.ptr("UTC",EF.nil,EG.nil,"",new $Int64(0,0),new $Int64(0,0),EH.nil);$pkg.UTC=Z;$pkg.Local=AA;AL=A.New("time: invalid location name");BC=$toNativeArray($kindInt32,[0,31,59,90,120,151,181,212,243,273,304,334,365]);k=BF();$s=7;case 7:if($c){$c=false;k=k.$blk();}if(k&&k.$blk!==undefined){break s;}BG=(j=k,new $Int64(j.$high-0,j.$low-1));CF=$toNativeArray($kindInt,[260,265,526,528,530,276]);CI=new EJ(["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]);CJ=new EJ(["Sun","Mon","Tue","Wed","Thu","Fri","Sat"]);CK=new EJ(["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"]);CL=new EJ(["January","February","March","April","May","June","July","August","September","October","November","December"]);CP=A.New("time: invalid number");CV=A.New("bad value for field");DL=A.New("time: bad [0-9]*");EB=new EJ([B.GOROOT()+"/lib/time/zoneinfo.zip"]);DS();}return;}if($f===undefined){$f={$blk:$init};}$f.$s=$s;$f.$r=$r;return $f;};$pkg.$init=$init;return $pkg;})(); $packages["internal/poll"]=(function(){var $pkg={},$init,F,B,C,D,A,E,H,N,Q,R,T,Z,AA,AB,AC,AD,AE,AF,AG,AH,AI,AJ,AK,AL,AM,AN,I,Y,G,J,K,L,M,O,S,V,W,X;F=$packages["errors"];B=$packages["internal/syscall/unix"];C=$packages["io"];D=$packages["sync/atomic"];A=$packages["syscall"];E=$packages["time"];H=$pkg.FD=$newType(0,$kindStruct,"poll.FD",true,"internal/poll",true,function(fdmu_,Sysfd_,pd_,iovecs_,csema_,isBlocking_,IsStream_,ZeroReadIsEOF_,isFile_){this.$val=this;if(arguments.length===0){this.fdmu=new Q.ptr(new $Uint64(0,0),0,0);this.Sysfd=0;this.pd=new N.ptr(AB.nil,false);this.iovecs=AE.nil;this.csema=0;this.isBlocking=0;this.IsStream=false;this.ZeroReadIsEOF=false;this.isFile=false;return;}this.fdmu=fdmu_;this.Sysfd=Sysfd_;this.pd=pd_;this.iovecs=iovecs_;this.csema=csema_;this.isBlocking=isBlocking_;this.IsStream=IsStream_;this.ZeroReadIsEOF=ZeroReadIsEOF_;this.isFile=isFile_;});N=$pkg.pollDesc=$newType(0,$kindStruct,"poll.pollDesc",true,"internal/poll",false,function(fd_,closing_){this.$val=this;if(arguments.length===0){this.fd=AB.nil;this.closing=false;return;}this.fd=fd_;this.closing=closing_;});Q=$pkg.fdMutex=$newType(0,$kindStruct,"poll.fdMutex",true,"internal/poll",false,function(state_,rsema_,wsema_){this.$val=this;if(arguments.length===0){this.state=new $Uint64(0,0);this.rsema=0;this.wsema=0;return;}this.state=state_;this.rsema=rsema_;this.wsema=wsema_;});R=$pkg.errNetClosing=$newType(0,$kindStruct,"poll.errNetClosing",true,"internal/poll",false,function(){this.$val=this;if(arguments.length===0){return;}});T=$pkg.DeadlineExceededError=$newType(0,$kindStruct,"poll.DeadlineExceededError",true,"internal/poll",true,function(){this.$val=this;if(arguments.length===0){return;}});Z=$ptrType($Uint32);AA=$ptrType($Int32);AB=$ptrType(H);AC=$ptrType($Uint64);AD=$sliceType(A.Iovec);AE=$ptrType(AD);AF=$sliceType($Uint8);AG=$ptrType(A.SockaddrInet4);AH=$ptrType(A.SockaddrInet6);AI=$ptrType(A.Stat_t);AJ=$funcType([$Uintptr],[$Bool],false);AK=$funcType([$Uintptr],[],false);AL=$ptrType(N);AM=$ptrType(Q);AN=$ptrType(T);G=function(c){var{c,d,e,f,g,h,i,$s,$r,$c}=$restore(this,{c});$s=$s||0;s:while(true){switch($s){case 0:e=$pkg.AcceptFunc(c);$s=1;case 1:if($c){$c=false;e=e.$blk();}if(e&&e.$blk!==undefined){break s;}d=e;f=d[0];g=d[1];h=d[2];if($interfaceIsEqual(h,$ifaceNil)){A.CloseOnExec(f);}if(!($interfaceIsEqual(h,$ifaceNil))){$s=-1;return[-1,$ifaceNil,"accept",h];}h=A.SetNonblock(f,true);if(!($interfaceIsEqual(h,$ifaceNil))){$s=2;continue;}$s=3;continue;case 2:i=$pkg.CloseFunc(f);$s=4;case 4:if($c){$c=false;i=i.$blk();}if(i&&i.$blk!==undefined){break s;}i;$s=-1;return[-1,$ifaceNil,"setnonblock",h];case 3:$s=-1;return[f,g,"",$ifaceNil];}return;}var $f={$blk:G,$c:true,$r,c,d,e,f,g,h,i,$s};return $f;};H.ptr.prototype.Init=function(c,d){var c,d,e,f;e=this;if(c==="file"){e.isFile=true;}if(!d){e.isBlocking=1;return $ifaceNil;}f=e.pd.init(e);if(!($interfaceIsEqual(f,$ifaceNil))){e.isBlocking=1;}return f;};H.prototype.Init=function(c,d){return this.$val.Init(c,d);};H.ptr.prototype.destroy=function(){var{c,d,e,$s,$r,$c}=$restore(this,{});$s=$s||0;s:while(true){switch($s){case 0:c=this;c.pd.close();d=$pkg.CloseFunc(c.Sysfd);$s=1;case 1:if($c){$c=false;d=d.$blk();}if(d&&d.$blk!==undefined){break s;}e=d;c.Sysfd=-1;$r=X((c.$ptr_csema||(c.$ptr_csema=new Z(function(){return this.$target.csema;},function($v){this.$target.csema=$v;},c))));$s=2;case 2:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return e;}return;}var $f={$blk:H.ptr.prototype.destroy,$c:true,$r,c,d,e,$s};return $f;};H.prototype.destroy=function(){return this.$val.destroy();};H.ptr.prototype.Close=function(){var{c,d,e,f,$s,$r,$c}=$restore(this,{});$s=$s||0;s:while(true){switch($s){case 0:c=this;d=c.fdmu.increfAndClose();$s=3;case 3:if($c){$c=false;d=d.$blk();}if(d&&d.$blk!==undefined){break s;}if(!d){$s=1;continue;}$s=2;continue;case 1:$s=-1;return S(c.isFile);case 2:c.pd.evict();e=c.decref();$s=4;case 4:if($c){$c=false;e=e.$blk();}if(e&&e.$blk!==undefined){break s;}f=e;if(c.isBlocking===0){$s=5;continue;}$s=6;continue;case 5:$r=W((c.$ptr_csema||(c.$ptr_csema=new Z(function(){return this.$target.csema;},function($v){this.$target.csema=$v;},c))));$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 6:$s=-1;return f;}return;}var $f={$blk:H.ptr.prototype.Close,$c:true,$r,c,d,e,f,$s};return $f;};H.prototype.Close=function(){return this.$val.Close();};H.ptr.prototype.SetBlocking=function(){var{c,d,e,f,$s,$deferred,$r,$c}=$restore(this,{});$s=$s||0;var $err=null;try{s:while(true){switch($s){case 0:$deferred=[];$curGoroutine.deferStack.push($deferred);c=this;d=c.incref();if(!($interfaceIsEqual(d,$ifaceNil))){$s=1;continue;}$s=2;continue;case 1:e=d;$s=3;case 3:return e;case 2:$deferred.push([$methodVal(c,"decref"),[]]);D.StoreUint32((c.$ptr_isBlocking||(c.$ptr_isBlocking=new Z(function(){return this.$target.isBlocking;},function($v){this.$target.isBlocking=$v;},c))),1);f=A.SetNonblock(c.Sysfd,false);$s=4;case 4:return f;}return;}}catch(err){$err=err;$s=-1;return $ifaceNil;}finally{$callDeferred($deferred,$err);if($curGoroutine.asleep){var $f={$blk:H.ptr.prototype.SetBlocking,$c:true,$r,c,d,e,f,$s,$deferred};return $f;}}};H.prototype.SetBlocking=function(){return this.$val.SetBlocking();};H.ptr.prototype.Read=function(c){var{c,d,e,f,g,h,i,j,k,l,m,n,o,$s,$deferred,$r,$c}=$restore(this,{c});$s=$s||0;var $err=null;try{s:while(true){switch($s){case 0:$deferred=[];$curGoroutine.deferStack.push($deferred);d=this;e=d.readLock();$s=1;case 1:if($c){$c=false;e=e.$blk();}if(e&&e.$blk!==undefined){break s;}f=e;if(!($interfaceIsEqual(f,$ifaceNil))){$s=2;continue;}$s=3;continue;case 2:g=[0,f];$s=4;case 4:return g;case 3:$deferred.push([$methodVal(d,"readUnlock"),[]]);if(c.$length===0){$s=5;continue;}$s=6;continue;case 5:h=[0,$ifaceNil];$s=7;case 7:return h;case 6:i=d.pd.prepareRead(d.isFile);if(!($interfaceIsEqual(i,$ifaceNil))){$s=8;continue;}$s=9;continue;case 8:j=[0,i];$s=10;case 10:return j;case 9:if(d.IsStream&&c.$length>1073741824){c=$subslice(c,0,1073741824);}case 11:l=L(A.Read,d.Sysfd,c);$s=13;case 13:if($c){$c=false;l=l.$blk();}if(l&&l.$blk!==undefined){break s;}k=l;m=k[0];n=k[1];if(!($interfaceIsEqual(n,$ifaceNil))){m=0;if($interfaceIsEqual(n,new A.Errno(11))&&d.pd.pollable()){n=d.pd.waitRead(d.isFile);if($interfaceIsEqual(n,$ifaceNil)){$s=11;continue;}}}n=d.eofError(m,n);o=[m,n];$s=14;case 14:return o;case 12:$s=-1;return[0,$ifaceNil];}return;}}catch(err){$err=err;$s=-1;return[0,$ifaceNil];}finally{$callDeferred($deferred,$err);if($curGoroutine.asleep){var $f={$blk:H.ptr.prototype.Read,$c:true,$r,c,d,e,f,g,h,i,j,k,l,m,n,o,$s,$deferred};return $f;}}};H.prototype.Read=function(c){return this.$val.Read(c);};H.ptr.prototype.Pread=function(c,d){var{c,d,e,f,g,h,i,j,k,$s,$r,$c}=$restore(this,{c,d});$s=$s||0;s:while(true){switch($s){case 0:e=this;f=e.incref();if(!($interfaceIsEqual(f,$ifaceNil))){$s=-1;return[0,f];}if(e.IsStream&&c.$length>1073741824){c=$subslice(c,0,1073741824);}g=0;h=$ifaceNil;case 1:j=A.Pread(e.Sysfd,c,d);$s=3;case 3:if($c){$c=false;j=j.$blk();}if(j&&j.$blk!==undefined){break s;}i=j;g=i[0];h=i[1];if(!($interfaceIsEqual(h,new A.Errno(4)))){$s=2;continue;}$s=1;continue;case 2:if(!($interfaceIsEqual(h,$ifaceNil))){g=0;}k=e.decref();$s=4;case 4:if($c){$c=false;k=k.$blk();}if(k&&k.$blk!==undefined){break s;}k;h=e.eofError(g,h);$s=-1;return[g,h];}return;}var $f={$blk:H.ptr.prototype.Pread,$c:true,$r,c,d,e,f,g,h,i,j,k,$s};return $f;};H.prototype.Pread=function(c,d){return this.$val.Pread(c,d);};H.ptr.prototype.ReadFrom=function(c){var{c,d,e,f,g,h,i,j,k,l,m,n,$s,$deferred,$r,$c}=$restore(this,{c});$s=$s||0;var $err=null;try{s:while(true){switch($s){case 0:$deferred=[];$curGoroutine.deferStack.push($deferred);d=this;e=d.readLock();$s=1;case 1:if($c){$c=false;e=e.$blk();}if(e&&e.$blk!==undefined){break s;}f=e;if(!($interfaceIsEqual(f,$ifaceNil))){$s=2;continue;}$s=3;continue;case 2:g=[0,$ifaceNil,f];$s=4;case 4:return g;case 3:$deferred.push([$methodVal(d,"readUnlock"),[]]);h=d.pd.prepareRead(d.isFile);if(!($interfaceIsEqual(h,$ifaceNil))){$s=5;continue;}$s=6;continue;case 5:i=[0,$ifaceNil,h];$s=7;case 7:return i;case 6:case 8:j=A.Recvfrom(d.Sysfd,c,0);k=j[0];l=j[1];m=j[2];if(!($interfaceIsEqual(m,$ifaceNil))){if($interfaceIsEqual(m,new A.Errno(4))){$s=8;continue;}k=0;if($interfaceIsEqual(m,new A.Errno(11))&&d.pd.pollable()){m=d.pd.waitRead(d.isFile);if($interfaceIsEqual(m,$ifaceNil)){$s=8;continue;}}}m=d.eofError(k,m);n=[k,l,m];$s=10;case 10:return n;case 9:$s=-1;return[0,$ifaceNil,$ifaceNil];}return;}}catch(err){$err=err;$s=-1;return[0,$ifaceNil,$ifaceNil];}finally{$callDeferred($deferred,$err);if($curGoroutine.asleep){var $f={$blk:H.ptr.prototype.ReadFrom,$c:true,$r,c,d,e,f,g,h,i,j,k,l,m,n,$s,$deferred};return $f;}}};H.prototype.ReadFrom=function(c){return this.$val.ReadFrom(c);};H.ptr.prototype.ReadFromInet4=function(c,d){var{c,d,e,f,g,h,i,j,k,l,m,n,$s,$deferred,$r,$c}=$restore(this,{c,d});$s=$s||0;var $err=null;try{s:while(true){switch($s){case 0:$deferred=[];$curGoroutine.deferStack.push($deferred);e=this;f=e.readLock();$s=1;case 1:if($c){$c=false;f=f.$blk();}if(f&&f.$blk!==undefined){break s;}g=f;if(!($interfaceIsEqual(g,$ifaceNil))){$s=2;continue;}$s=3;continue;case 2:h=[0,g];$s=4;case 4:return h;case 3:$deferred.push([$methodVal(e,"readUnlock"),[]]);i=e.pd.prepareRead(e.isFile);if(!($interfaceIsEqual(i,$ifaceNil))){$s=5;continue;}$s=6;continue;case 5:j=[0,i];$s=7;case 7:return j;case 6:case 8:k=B.RecvfromInet4(e.Sysfd,c,0,d);l=k[0];m=k[1];if(!($interfaceIsEqual(m,$ifaceNil))){if($interfaceIsEqual(m,new A.Errno(4))){$s=8;continue;}l=0;if($interfaceIsEqual(m,new A.Errno(11))&&e.pd.pollable()){m=e.pd.waitRead(e.isFile);if($interfaceIsEqual(m,$ifaceNil)){$s=8;continue;}}}m=e.eofError(l,m);n=[l,m];$s=10;case 10:return n;case 9:$s=-1;return[0,$ifaceNil];}return;}}catch(err){$err=err;$s=-1;return[0,$ifaceNil];}finally{$callDeferred($deferred,$err);if($curGoroutine.asleep){var $f={$blk:H.ptr.prototype.ReadFromInet4,$c:true,$r,c,d,e,f,g,h,i,j,k,l,m,n,$s,$deferred};return $f;}}};H.prototype.ReadFromInet4=function(c,d){return this.$val.ReadFromInet4(c,d);};H.ptr.prototype.ReadFromInet6=function(c,d){var{c,d,e,f,g,h,i,j,k,l,m,n,$s,$deferred,$r,$c}=$restore(this,{c,d});$s=$s||0;var $err=null;try{s:while(true){switch($s){case 0:$deferred=[];$curGoroutine.deferStack.push($deferred);e=this;f=e.readLock();$s=1;case 1:if($c){$c=false;f=f.$blk();}if(f&&f.$blk!==undefined){break s;}g=f;if(!($interfaceIsEqual(g,$ifaceNil))){$s=2;continue;}$s=3;continue;case 2:h=[0,g];$s=4;case 4:return h;case 3:$deferred.push([$methodVal(e,"readUnlock"),[]]);i=e.pd.prepareRead(e.isFile);if(!($interfaceIsEqual(i,$ifaceNil))){$s=5;continue;}$s=6;continue;case 5:j=[0,i];$s=7;case 7:return j;case 6:case 8:k=B.RecvfromInet6(e.Sysfd,c,0,d);l=k[0];m=k[1];if(!($interfaceIsEqual(m,$ifaceNil))){if($interfaceIsEqual(m,new A.Errno(4))){$s=8;continue;}l=0;if($interfaceIsEqual(m,new A.Errno(11))&&e.pd.pollable()){m=e.pd.waitRead(e.isFile);if($interfaceIsEqual(m,$ifaceNil)){$s=8;continue;}}}m=e.eofError(l,m);n=[l,m];$s=10;case 10:return n;case 9:$s=-1;return[0,$ifaceNil];}return;}}catch(err){$err=err;$s=-1;return[0,$ifaceNil];}finally{$callDeferred($deferred,$err);if($curGoroutine.asleep){var $f={$blk:H.ptr.prototype.ReadFromInet6,$c:true,$r,c,d,e,f,g,h,i,j,k,l,m,n,$s,$deferred};return $f;}}};H.prototype.ReadFromInet6=function(c,d){return this.$val.ReadFromInet6(c,d);};H.ptr.prototype.ReadMsg=function(c,d,e){var{c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,$s,$deferred,$r,$c}=$restore(this,{c,d,e});$s=$s||0;var $err=null;try{s:while(true){switch($s){case 0:$deferred=[];$curGoroutine.deferStack.push($deferred);f=this;g=f.readLock();$s=1;case 1:if($c){$c=false;g=g.$blk();}if(g&&g.$blk!==undefined){break s;}h=g;if(!($interfaceIsEqual(h,$ifaceNil))){$s=2;continue;}$s=3;continue;case 2:i=[0,0,0,$ifaceNil,h];$s=4;case 4:return i;case 3:$deferred.push([$methodVal(f,"readUnlock"),[]]);j=f.pd.prepareRead(f.isFile);if(!($interfaceIsEqual(j,$ifaceNil))){$s=5;continue;}$s=6;continue;case 5:k=[0,0,0,$ifaceNil,j];$s=7;case 7:return k;case 6:case 8:l=A.Recvmsg(f.Sysfd,c,d,e);m=l[0];n=l[1];o=l[2];p=l[3];q=l[4];if(!($interfaceIsEqual(q,$ifaceNil))){if($interfaceIsEqual(q,new A.Errno(4))){$s=8;continue;}if($interfaceIsEqual(q,new A.Errno(11))&&f.pd.pollable()){q=f.pd.waitRead(f.isFile);if($interfaceIsEqual(q,$ifaceNil)){$s=8;continue;}}}q=f.eofError(m,q);r=[m,n,o,p,q];$s=10;case 10:return r;case 9:$s=-1;return[0,0,0,$ifaceNil,$ifaceNil];}return;}}catch(err){$err=err;$s=-1;return[0,0,0,$ifaceNil,$ifaceNil];}finally{$callDeferred($deferred,$err);if($curGoroutine.asleep){var $f={$blk:H.ptr.prototype.ReadMsg,$c:true,$r,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,$s,$deferred};return $f;}}};H.prototype.ReadMsg=function(c,d,e){return this.$val.ReadMsg(c,d,e);};H.ptr.prototype.ReadMsgInet4=function(c,d,e,f){var{c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,$s,$deferred,$r,$c}=$restore(this,{c,d,e,f});$s=$s||0;var $err=null;try{s:while(true){switch($s){case 0:$deferred=[];$curGoroutine.deferStack.push($deferred);g=this;h=g.readLock();$s=1;case 1:if($c){$c=false;h=h.$blk();}if(h&&h.$blk!==undefined){break s;}i=h;if(!($interfaceIsEqual(i,$ifaceNil))){$s=2;continue;}$s=3;continue;case 2:j=[0,0,0,i];$s=4;case 4:return j;case 3:$deferred.push([$methodVal(g,"readUnlock"),[]]);k=g.pd.prepareRead(g.isFile);if(!($interfaceIsEqual(k,$ifaceNil))){$s=5;continue;}$s=6;continue;case 5:l=[0,0,0,k];$s=7;case 7:return l;case 6:case 8:m=B.RecvmsgInet4(g.Sysfd,c,d,e,f);n=m[0];o=m[1];p=m[2];q=m[3];if(!($interfaceIsEqual(q,$ifaceNil))){if($interfaceIsEqual(q,new A.Errno(4))){$s=8;continue;}if($interfaceIsEqual(q,new A.Errno(11))&&g.pd.pollable()){q=g.pd.waitRead(g.isFile);if($interfaceIsEqual(q,$ifaceNil)){$s=8;continue;}}}q=g.eofError(n,q);r=[n,o,p,q];$s=10;case 10:return r;case 9:$s=-1;return[0,0,0,$ifaceNil];}return;}}catch(err){$err=err;$s=-1;return[0,0,0,$ifaceNil];}finally{$callDeferred($deferred,$err);if($curGoroutine.asleep){var $f={$blk:H.ptr.prototype.ReadMsgInet4,$c:true,$r,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,$s,$deferred};return $f;}}};H.prototype.ReadMsgInet4=function(c,d,e,f){return this.$val.ReadMsgInet4(c,d,e,f);};H.ptr.prototype.ReadMsgInet6=function(c,d,e,f){var{c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,$s,$deferred,$r,$c}=$restore(this,{c,d,e,f});$s=$s||0;var $err=null;try{s:while(true){switch($s){case 0:$deferred=[];$curGoroutine.deferStack.push($deferred);g=this;h=g.readLock();$s=1;case 1:if($c){$c=false;h=h.$blk();}if(h&&h.$blk!==undefined){break s;}i=h;if(!($interfaceIsEqual(i,$ifaceNil))){$s=2;continue;}$s=3;continue;case 2:j=[0,0,0,i];$s=4;case 4:return j;case 3:$deferred.push([$methodVal(g,"readUnlock"),[]]);k=g.pd.prepareRead(g.isFile);if(!($interfaceIsEqual(k,$ifaceNil))){$s=5;continue;}$s=6;continue;case 5:l=[0,0,0,k];$s=7;case 7:return l;case 6:case 8:m=B.RecvmsgInet6(g.Sysfd,c,d,e,f);n=m[0];o=m[1];p=m[2];q=m[3];if(!($interfaceIsEqual(q,$ifaceNil))){if($interfaceIsEqual(q,new A.Errno(4))){$s=8;continue;}if($interfaceIsEqual(q,new A.Errno(11))&&g.pd.pollable()){q=g.pd.waitRead(g.isFile);if($interfaceIsEqual(q,$ifaceNil)){$s=8;continue;}}}q=g.eofError(n,q);r=[n,o,p,q];$s=10;case 10:return r;case 9:$s=-1;return[0,0,0,$ifaceNil];}return;}}catch(err){$err=err;$s=-1;return[0,0,0,$ifaceNil];}finally{$callDeferred($deferred,$err);if($curGoroutine.asleep){var $f={$blk:H.ptr.prototype.ReadMsgInet6,$c:true,$r,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,$s,$deferred};return $f;}}};H.prototype.ReadMsgInet6=function(c,d,e,f){return this.$val.ReadMsgInet6(c,d,e,f);};H.ptr.prototype.Write=function(c){var{c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,$s,$deferred,$r,$c}=$restore(this,{c});$s=$s||0;var $err=null;try{s:while(true){switch($s){case 0:$deferred=[];$curGoroutine.deferStack.push($deferred);d=this;e=d.writeLock();$s=1;case 1:if($c){$c=false;e=e.$blk();}if(e&&e.$blk!==undefined){break s;}f=e;if(!($interfaceIsEqual(f,$ifaceNil))){$s=2;continue;}$s=3;continue;case 2:g=[0,f];$s=4;case 4:return g;case 3:$deferred.push([$methodVal(d,"writeUnlock"),[]]);h=d.pd.prepareWrite(d.isFile);if(!($interfaceIsEqual(h,$ifaceNil))){$s=5;continue;}$s=6;continue;case 5:i=[0,h];$s=7;case 7:return i;case 6:j=0;case 8:k=c.$length;if(d.IsStream&&(k-j>>0)>1073741824){k=j+1073741824>>0;}m=L(A.Write,d.Sysfd,$subslice(c,j,k));$s=10;case 10:if($c){$c=false;m=m.$blk();}if(m&&m.$blk!==undefined){break s;}l=m;n=l[0];o=l[1];if(n>0){j=j+(n)>>0;}if(j===c.$length){$s=11;continue;}$s=12;continue;case 11:p=[j,o];$s=13;case 13:return p;case 12:if($interfaceIsEqual(o,new A.Errno(11))&&d.pd.pollable()){o=d.pd.waitWrite(d.isFile);if($interfaceIsEqual(o,$ifaceNil)){$s=8;continue;}}if(!($interfaceIsEqual(o,$ifaceNil))){$s=14;continue;}$s=15;continue;case 14:q=[j,o];$s=16;case 16:return q;case 15:if(n===0){$s=17;continue;}$s=18;continue;case 17:r=[j,C.ErrUnexpectedEOF];$s=19;case 19:return r;case 18:$s=8;continue;case 9:$s=-1;return[0,$ifaceNil];}return;}}catch(err){$err=err;$s=-1;return[0,$ifaceNil];}finally{$callDeferred($deferred,$err);if($curGoroutine.asleep){var $f={$blk:H.ptr.prototype.Write,$c:true,$r,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,$s,$deferred};return $f;}}};H.prototype.Write=function(c){return this.$val.Write(c);};H.ptr.prototype.Pwrite=function(c,d){var{c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,$s,$deferred,$r,$c}=$restore(this,{c,d});$s=$s||0;var $err=null;try{s:while(true){switch($s){case 0:$deferred=[];$curGoroutine.deferStack.push($deferred);e=this;f=e.incref();if(!($interfaceIsEqual(f,$ifaceNil))){$s=1;continue;}$s=2;continue;case 1:g=[0,f];$s=3;case 3:return g;case 2:$deferred.push([$methodVal(e,"decref"),[]]);h=0;case 4:i=c.$length;if(e.IsStream&&(i-h>>0)>1073741824){i=h+1073741824>>0;}l=A.Pwrite(e.Sysfd,$subslice(c,h,i),(k=(new $Int64(0,h)),new $Int64(d.$high+k.$high,d.$low+k.$low)));$s=6;case 6:if($c){$c=false;l=l.$blk();}if(l&&l.$blk!==undefined){break s;}j=l;m=j[0];n=j[1];if($interfaceIsEqual(n,new A.Errno(4))){$s=4;continue;}if(m>0){h=h+(m)>>0;}if(h===c.$length){$s=7;continue;}$s=8;continue;case 7:o=[h,n];$s=9;case 9:return o;case 8:if(!($interfaceIsEqual(n,$ifaceNil))){$s=10;continue;}$s=11;continue;case 10:p=[h,n];$s=12;case 12:return p;case 11:if(m===0){$s=13;continue;}$s=14;continue;case 13:q=[h,C.ErrUnexpectedEOF];$s=15;case 15:return q;case 14:$s=4;continue;case 5:$s=-1;return[0,$ifaceNil];}return;}}catch(err){$err=err;$s=-1;return[0,$ifaceNil];}finally{$callDeferred($deferred,$err);if($curGoroutine.asleep){var $f={$blk:H.ptr.prototype.Pwrite,$c:true,$r,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,$s,$deferred};return $f;}}};H.prototype.Pwrite=function(c,d){return this.$val.Pwrite(c,d);};H.ptr.prototype.WriteToInet4=function(c,d){var{c,d,e,f,g,h,i,j,k,l,m,$s,$deferred,$r,$c}=$restore(this,{c,d});$s=$s||0;var $err=null;try{s:while(true){switch($s){case 0:$deferred=[];$curGoroutine.deferStack.push($deferred);e=this;f=e.writeLock();$s=1;case 1:if($c){$c=false;f=f.$blk();}if(f&&f.$blk!==undefined){break s;}g=f;if(!($interfaceIsEqual(g,$ifaceNil))){$s=2;continue;}$s=3;continue;case 2:h=[0,g];$s=4;case 4:return h;case 3:$deferred.push([$methodVal(e,"writeUnlock"),[]]);i=e.pd.prepareWrite(e.isFile);if(!($interfaceIsEqual(i,$ifaceNil))){$s=5;continue;}$s=6;continue;case 5:j=[0,i];$s=7;case 7:return j;case 6:case 8:k=B.SendtoInet4(e.Sysfd,c,0,d);if($interfaceIsEqual(k,new A.Errno(4))){$s=8;continue;}if($interfaceIsEqual(k,new A.Errno(11))&&e.pd.pollable()){k=e.pd.waitWrite(e.isFile);if($interfaceIsEqual(k,$ifaceNil)){$s=8;continue;}}if(!($interfaceIsEqual(k,$ifaceNil))){$s=10;continue;}$s=11;continue;case 10:l=[0,k];$s=12;case 12:return l;case 11:m=[c.$length,$ifaceNil];$s=13;case 13:return m;case 9:$s=-1;return[0,$ifaceNil];}return;}}catch(err){$err=err;$s=-1;return[0,$ifaceNil];}finally{$callDeferred($deferred,$err);if($curGoroutine.asleep){var $f={$blk:H.ptr.prototype.WriteToInet4,$c:true,$r,c,d,e,f,g,h,i,j,k,l,m,$s,$deferred};return $f;}}};H.prototype.WriteToInet4=function(c,d){return this.$val.WriteToInet4(c,d);};H.ptr.prototype.WriteToInet6=function(c,d){var{c,d,e,f,g,h,i,j,k,l,m,$s,$deferred,$r,$c}=$restore(this,{c,d});$s=$s||0;var $err=null;try{s:while(true){switch($s){case 0:$deferred=[];$curGoroutine.deferStack.push($deferred);e=this;f=e.writeLock();$s=1;case 1:if($c){$c=false;f=f.$blk();}if(f&&f.$blk!==undefined){break s;}g=f;if(!($interfaceIsEqual(g,$ifaceNil))){$s=2;continue;}$s=3;continue;case 2:h=[0,g];$s=4;case 4:return h;case 3:$deferred.push([$methodVal(e,"writeUnlock"),[]]);i=e.pd.prepareWrite(e.isFile);if(!($interfaceIsEqual(i,$ifaceNil))){$s=5;continue;}$s=6;continue;case 5:j=[0,i];$s=7;case 7:return j;case 6:case 8:k=B.SendtoInet6(e.Sysfd,c,0,d);if($interfaceIsEqual(k,new A.Errno(4))){$s=8;continue;}if($interfaceIsEqual(k,new A.Errno(11))&&e.pd.pollable()){k=e.pd.waitWrite(e.isFile);if($interfaceIsEqual(k,$ifaceNil)){$s=8;continue;}}if(!($interfaceIsEqual(k,$ifaceNil))){$s=10;continue;}$s=11;continue;case 10:l=[0,k];$s=12;case 12:return l;case 11:m=[c.$length,$ifaceNil];$s=13;case 13:return m;case 9:$s=-1;return[0,$ifaceNil];}return;}}catch(err){$err=err;$s=-1;return[0,$ifaceNil];}finally{$callDeferred($deferred,$err);if($curGoroutine.asleep){var $f={$blk:H.ptr.prototype.WriteToInet6,$c:true,$r,c,d,e,f,g,h,i,j,k,l,m,$s,$deferred};return $f;}}};H.prototype.WriteToInet6=function(c,d){return this.$val.WriteToInet6(c,d);};H.ptr.prototype.WriteTo=function(c,d){var{c,d,e,f,g,h,i,j,k,l,m,$s,$deferred,$r,$c}=$restore(this,{c,d});$s=$s||0;var $err=null;try{s:while(true){switch($s){case 0:$deferred=[];$curGoroutine.deferStack.push($deferred);e=this;f=e.writeLock();$s=1;case 1:if($c){$c=false;f=f.$blk();}if(f&&f.$blk!==undefined){break s;}g=f;if(!($interfaceIsEqual(g,$ifaceNil))){$s=2;continue;}$s=3;continue;case 2:h=[0,g];$s=4;case 4:return h;case 3:$deferred.push([$methodVal(e,"writeUnlock"),[]]);i=e.pd.prepareWrite(e.isFile);if(!($interfaceIsEqual(i,$ifaceNil))){$s=5;continue;}$s=6;continue;case 5:j=[0,i];$s=7;case 7:return j;case 6:case 8:k=A.Sendto(e.Sysfd,c,0,d);if($interfaceIsEqual(k,new A.Errno(4))){$s=8;continue;}if($interfaceIsEqual(k,new A.Errno(11))&&e.pd.pollable()){k=e.pd.waitWrite(e.isFile);if($interfaceIsEqual(k,$ifaceNil)){$s=8;continue;}}if(!($interfaceIsEqual(k,$ifaceNil))){$s=10;continue;}$s=11;continue;case 10:l=[0,k];$s=12;case 12:return l;case 11:m=[c.$length,$ifaceNil];$s=13;case 13:return m;case 9:$s=-1;return[0,$ifaceNil];}return;}}catch(err){$err=err;$s=-1;return[0,$ifaceNil];}finally{$callDeferred($deferred,$err);if($curGoroutine.asleep){var $f={$blk:H.ptr.prototype.WriteTo,$c:true,$r,c,d,e,f,g,h,i,j,k,l,m,$s,$deferred};return $f;}}};H.prototype.WriteTo=function(c,d){return this.$val.WriteTo(c,d);};H.ptr.prototype.WriteMsg=function(c,d,e){var{c,d,e,f,g,h,i,j,k,l,m,n,o,p,$s,$deferred,$r,$c}=$restore(this,{c,d,e});$s=$s||0;var $err=null;try{s:while(true){switch($s){case 0:$deferred=[];$curGoroutine.deferStack.push($deferred);f=this;g=f.writeLock();$s=1;case 1:if($c){$c=false;g=g.$blk();}if(g&&g.$blk!==undefined){break s;}h=g;if(!($interfaceIsEqual(h,$ifaceNil))){$s=2;continue;}$s=3;continue;case 2:i=[0,0,h];$s=4;case 4:return i;case 3:$deferred.push([$methodVal(f,"writeUnlock"),[]]);j=f.pd.prepareWrite(f.isFile);if(!($interfaceIsEqual(j,$ifaceNil))){$s=5;continue;}$s=6;continue;case 5:k=[0,0,j];$s=7;case 7:return k;case 6:case 8:l=A.SendmsgN(f.Sysfd,c,d,e,0);m=l[0];n=l[1];if($interfaceIsEqual(n,new A.Errno(4))){$s=8;continue;}if($interfaceIsEqual(n,new A.Errno(11))&&f.pd.pollable()){n=f.pd.waitWrite(f.isFile);if($interfaceIsEqual(n,$ifaceNil)){$s=8;continue;}}if(!($interfaceIsEqual(n,$ifaceNil))){$s=10;continue;}$s=11;continue;case 10:o=[m,0,n];$s=12;case 12:return o;case 11:p=[m,d.$length,n];$s=13;case 13:return p;case 9:$s=-1;return[0,0,$ifaceNil];}return;}}catch(err){$err=err;$s=-1;return[0,0,$ifaceNil];}finally{$callDeferred($deferred,$err);if($curGoroutine.asleep){var $f={$blk:H.ptr.prototype.WriteMsg,$c:true,$r,c,d,e,f,g,h,i,j,k,l,m,n,o,p,$s,$deferred};return $f;}}};H.prototype.WriteMsg=function(c,d,e){return this.$val.WriteMsg(c,d,e);};H.ptr.prototype.WriteMsgInet4=function(c,d,e){var{c,d,e,f,g,h,i,j,k,l,m,n,o,p,$s,$deferred,$r,$c}=$restore(this,{c,d,e});$s=$s||0;var $err=null;try{s:while(true){switch($s){case 0:$deferred=[];$curGoroutine.deferStack.push($deferred);f=this;g=f.writeLock();$s=1;case 1:if($c){$c=false;g=g.$blk();}if(g&&g.$blk!==undefined){break s;}h=g;if(!($interfaceIsEqual(h,$ifaceNil))){$s=2;continue;}$s=3;continue;case 2:i=[0,0,h];$s=4;case 4:return i;case 3:$deferred.push([$methodVal(f,"writeUnlock"),[]]);j=f.pd.prepareWrite(f.isFile);if(!($interfaceIsEqual(j,$ifaceNil))){$s=5;continue;}$s=6;continue;case 5:k=[0,0,j];$s=7;case 7:return k;case 6:case 8:l=B.SendmsgNInet4(f.Sysfd,c,d,e,0);m=l[0];n=l[1];if($interfaceIsEqual(n,new A.Errno(4))){$s=8;continue;}if($interfaceIsEqual(n,new A.Errno(11))&&f.pd.pollable()){n=f.pd.waitWrite(f.isFile);if($interfaceIsEqual(n,$ifaceNil)){$s=8;continue;}}if(!($interfaceIsEqual(n,$ifaceNil))){$s=10;continue;}$s=11;continue;case 10:o=[m,0,n];$s=12;case 12:return o;case 11:p=[m,d.$length,n];$s=13;case 13:return p;case 9:$s=-1;return[0,0,$ifaceNil];}return;}}catch(err){$err=err;$s=-1;return[0,0,$ifaceNil];}finally{$callDeferred($deferred,$err);if($curGoroutine.asleep){var $f={$blk:H.ptr.prototype.WriteMsgInet4,$c:true,$r,c,d,e,f,g,h,i,j,k,l,m,n,o,p,$s,$deferred};return $f;}}};H.prototype.WriteMsgInet4=function(c,d,e){return this.$val.WriteMsgInet4(c,d,e);};H.ptr.prototype.WriteMsgInet6=function(c,d,e){var{c,d,e,f,g,h,i,j,k,l,m,n,o,p,$s,$deferred,$r,$c}=$restore(this,{c,d,e});$s=$s||0;var $err=null;try{s:while(true){switch($s){case 0:$deferred=[];$curGoroutine.deferStack.push($deferred);f=this;g=f.writeLock();$s=1;case 1:if($c){$c=false;g=g.$blk();}if(g&&g.$blk!==undefined){break s;}h=g;if(!($interfaceIsEqual(h,$ifaceNil))){$s=2;continue;}$s=3;continue;case 2:i=[0,0,h];$s=4;case 4:return i;case 3:$deferred.push([$methodVal(f,"writeUnlock"),[]]);j=f.pd.prepareWrite(f.isFile);if(!($interfaceIsEqual(j,$ifaceNil))){$s=5;continue;}$s=6;continue;case 5:k=[0,0,j];$s=7;case 7:return k;case 6:case 8:l=B.SendmsgNInet6(f.Sysfd,c,d,e,0);m=l[0];n=l[1];if($interfaceIsEqual(n,new A.Errno(4))){$s=8;continue;}if($interfaceIsEqual(n,new A.Errno(11))&&f.pd.pollable()){n=f.pd.waitWrite(f.isFile);if($interfaceIsEqual(n,$ifaceNil)){$s=8;continue;}}if(!($interfaceIsEqual(n,$ifaceNil))){$s=10;continue;}$s=11;continue;case 10:o=[m,0,n];$s=12;case 12:return o;case 11:p=[m,d.$length,n];$s=13;case 13:return p;case 9:$s=-1;return[0,0,$ifaceNil];}return;}}catch(err){$err=err;$s=-1;return[0,0,$ifaceNil];}finally{$callDeferred($deferred,$err);if($curGoroutine.asleep){var $f={$blk:H.ptr.prototype.WriteMsgInet6,$c:true,$r,c,d,e,f,g,h,i,j,k,l,m,n,o,p,$s,$deferred};return $f;}}};H.prototype.WriteMsgInet6=function(c,d,e){return this.$val.WriteMsgInet6(c,d,e);};H.ptr.prototype.Accept=function(){var{c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,$s,$deferred,$r,$c}=$restore(this,{});$s=$s||0;var $err=null;try{s:while(true){switch($s){case 0:$deferred=[];$curGoroutine.deferStack.push($deferred);c=this;d=c.readLock();$s=1;case 1:if($c){$c=false;d=d.$blk();}if(d&&d.$blk!==undefined){break s;}e=d;if(!($interfaceIsEqual(e,$ifaceNil))){$s=2;continue;}$s=3;continue;case 2:f=[-1,$ifaceNil,"",e];$s=4;case 4:return f;case 3:$deferred.push([$methodVal(c,"readUnlock"),[]]);g=c.pd.prepareRead(c.isFile);if(!($interfaceIsEqual(g,$ifaceNil))){$s=5;continue;}$s=6;continue;case 5:h=[-1,$ifaceNil,"",g];$s=7;case 7:return h;case 6:case 8:j=G(c.Sysfd);$s=10;case 10:if($c){$c=false;j=j.$blk();}if(j&&j.$blk!==undefined){break s;}i=j;k=i[0];l=i[1];m=i[2];n=i[3];if($interfaceIsEqual(n,$ifaceNil)){$s=11;continue;}$s=12;continue;case 11:o=[k,l,"",n];$s=13;case 13:return o;case 12:p=n;if($interfaceIsEqual(p,new A.Errno((4)))){$s=8;continue;}else if($interfaceIsEqual(p,new A.Errno((11)))){if(c.pd.pollable()){n=c.pd.waitRead(c.isFile);if($interfaceIsEqual(n,$ifaceNil)){$s=8;continue;}}}else if($interfaceIsEqual(p,new A.Errno((103)))){$s=8;continue;}q=[-1,$ifaceNil,m,n];$s=14;case 14:return q;case 9:$s=-1;return[0,$ifaceNil,"",$ifaceNil];}return;}}catch(err){$err=err;$s=-1;return[0,$ifaceNil,"",$ifaceNil];}finally{$callDeferred($deferred,$err);if($curGoroutine.asleep){var $f={$blk:H.ptr.prototype.Accept,$c:true,$r,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,$s,$deferred};return $f;}}};H.prototype.Accept=function(){return this.$val.Accept();};H.ptr.prototype.Seek=function(c,d){var{c,d,e,f,g,h,i,$s,$deferred,$r,$c}=$restore(this,{c,d});$s=$s||0;var $err=null;try{s:while(true){switch($s){case 0:$deferred=[];$curGoroutine.deferStack.push($deferred);e=this;f=e.incref();if(!($interfaceIsEqual(f,$ifaceNil))){$s=1;continue;}$s=2;continue;case 1:g=[new $Int64(0,0),f];$s=3;case 3:return g;case 2:$deferred.push([$methodVal(e,"decref"),[]]);h=A.Seek(e.Sysfd,c,d);$s=4;case 4:if($c){$c=false;h=h.$blk();}if(h&&h.$blk!==undefined){break s;}i=h;$s=5;case 5:return i;}return;}}catch(err){$err=err;$s=-1;return[new $Int64(0,0),$ifaceNil];}finally{$callDeferred($deferred,$err);if($curGoroutine.asleep){var $f={$blk:H.ptr.prototype.Seek,$c:true,$r,c,d,e,f,g,h,i,$s,$deferred};return $f;}}};H.prototype.Seek=function(c,d){return this.$val.Seek(c,d);};H.ptr.prototype.ReadDirent=function(c){var{c,d,e,f,g,h,i,j,k,$s,$deferred,$r,$c}=$restore(this,{c});$s=$s||0;var $err=null;try{s:while(true){switch($s){case 0:$deferred=[];$curGoroutine.deferStack.push($deferred);d=this;e=d.incref();if(!($interfaceIsEqual(e,$ifaceNil))){$s=1;continue;}$s=2;continue;case 1:f=[0,e];$s=3;case 3:return f;case 2:$deferred.push([$methodVal(d,"decref"),[]]);case 4:h=L(A.ReadDirent,d.Sysfd,c);$s=6;case 6:if($c){$c=false;h=h.$blk();}if(h&&h.$blk!==undefined){break s;}g=h;i=g[0];j=g[1];if(!($interfaceIsEqual(j,$ifaceNil))){i=0;if($interfaceIsEqual(j,new A.Errno(11))&&d.pd.pollable()){j=d.pd.waitRead(d.isFile);if($interfaceIsEqual(j,$ifaceNil)){$s=4;continue;}}}k=[i,j];$s=7;case 7:return k;case 5:$s=-1;return[0,$ifaceNil];}return;}}catch(err){$err=err;$s=-1;return[0,$ifaceNil];}finally{$callDeferred($deferred,$err);if($curGoroutine.asleep){var $f={$blk:H.ptr.prototype.ReadDirent,$c:true,$r,c,d,e,f,g,h,i,j,k,$s,$deferred};return $f;}}};H.prototype.ReadDirent=function(c){return this.$val.ReadDirent(c);};H.ptr.prototype.Fchmod=function(c){var{c,d,e,f,g,h,$s,$deferred,$r,$c}=$restore(this,{c});$s=$s||0;var $err=null;try{s:while(true){switch($s){case 0:$deferred=[];$curGoroutine.deferStack.push($deferred);c=[c];d=[d];d[0]=this;e=d[0].incref();if(!($interfaceIsEqual(e,$ifaceNil))){$s=1;continue;}$s=2;continue;case 1:f=e;$s=3;case 3:return f;case 2:$deferred.push([$methodVal(d[0],"decref"),[]]);g=M((function(c,d){return function $b(){var{g,h,$s,$r,$c}=$restore(this,{});$s=$s||0;s:while(true){switch($s){case 0:g=A.Fchmod(d[0].Sysfd,c[0]);$s=1;case 1:if($c){$c=false;g=g.$blk();}if(g&&g.$blk!==undefined){break s;}h=g;$s=2;case 2:return h;}return;}var $f={$blk:$b,$c:true,$r,g,h,$s};return $f;};})(c,d));$s=4;case 4:if($c){$c=false;g=g.$blk();}if(g&&g.$blk!==undefined){break s;}h=g;$s=5;case 5:return h;}return;}}catch(err){$err=err;$s=-1;return $ifaceNil;}finally{$callDeferred($deferred,$err);if($curGoroutine.asleep){var $f={$blk:H.ptr.prototype.Fchmod,$c:true,$r,c,d,e,f,g,h,$s,$deferred};return $f;}}};H.prototype.Fchmod=function(c){return this.$val.Fchmod(c);};H.ptr.prototype.Fchdir=function(){var{c,d,e,f,g,$s,$deferred,$r,$c}=$restore(this,{});$s=$s||0;var $err=null;try{s:while(true){switch($s){case 0:$deferred=[];$curGoroutine.deferStack.push($deferred);c=this;d=c.incref();if(!($interfaceIsEqual(d,$ifaceNil))){$s=1;continue;}$s=2;continue;case 1:e=d;$s=3;case 3:return e;case 2:$deferred.push([$methodVal(c,"decref"),[]]);f=A.Fchdir(c.Sysfd);$s=4;case 4:if($c){$c=false;f=f.$blk();}if(f&&f.$blk!==undefined){break s;}g=f;$s=5;case 5:return g;}return;}}catch(err){$err=err;$s=-1;return $ifaceNil;}finally{$callDeferred($deferred,$err);if($curGoroutine.asleep){var $f={$blk:H.ptr.prototype.Fchdir,$c:true,$r,c,d,e,f,g,$s,$deferred};return $f;}}};H.prototype.Fchdir=function(){return this.$val.Fchdir();};H.ptr.prototype.Fstat=function(c){var{c,d,e,f,g,h,$s,$deferred,$r,$c}=$restore(this,{c});$s=$s||0;var $err=null;try{s:while(true){switch($s){case 0:$deferred=[];$curGoroutine.deferStack.push($deferred);c=[c];d=[d];d[0]=this;e=d[0].incref();if(!($interfaceIsEqual(e,$ifaceNil))){$s=1;continue;}$s=2;continue;case 1:f=e;$s=3;case 3:return f;case 2:$deferred.push([$methodVal(d[0],"decref"),[]]);g=M((function(c,d){return function $b(){var{g,h,$s,$r,$c}=$restore(this,{});$s=$s||0;s:while(true){switch($s){case 0:g=A.Fstat(d[0].Sysfd,c[0]);$s=1;case 1:if($c){$c=false;g=g.$blk();}if(g&&g.$blk!==undefined){break s;}h=g;$s=2;case 2:return h;}return;}var $f={$blk:$b,$c:true,$r,g,h,$s};return $f;};})(c,d));$s=4;case 4:if($c){$c=false;g=g.$blk();}if(g&&g.$blk!==undefined){break s;}h=g;$s=5;case 5:return h;}return;}}catch(err){$err=err;$s=-1;return $ifaceNil;}finally{$callDeferred($deferred,$err);if($curGoroutine.asleep){var $f={$blk:H.ptr.prototype.Fstat,$c:true,$r,c,d,e,f,g,h,$s,$deferred};return $f;}}};H.prototype.Fstat=function(c){return this.$val.Fstat(c);};J=function(c){var{c,d,e,f,g,h,i,$s,$r,$c}=$restore(this,{c});$s=$s||0;s:while(true){switch($s){case 0:if(true&&(D.LoadInt32((Y||(Y=new AA(function(){return I;},function($v){I=$v;}))))===1)){d=V(c,1,0);e=d[0];f=d[1];if($interfaceIsEqual(f,$ifaceNil)){$s=-1;return[e,"",$ifaceNil];}g=$assertType(f,A.Errno);if((g===(22))||(g===(38))){D.StoreInt32((Y||(Y=new AA(function(){return I;},function($v){I=$v;}))),0);}else{$s=-1;return[-1,"fcntl",f];}}h=K(c);$s=1;case 1:if($c){$c=false;h=h.$blk();}if(h&&h.$blk!==undefined){break s;}i=h;$s=2;case 2:return i;}return;}var $f={$blk:J,$c:true,$r,c,d,e,f,g,h,i,$s};return $f;};$pkg.DupCloseOnExec=J;K=function(c){var{c,d,e,f,g,h,$s,$deferred,$r,$c}=$restore(this,{c});$s=$s||0;var $err=null;try{s:while(true){switch($s){case 0:$deferred=[];$curGoroutine.deferStack.push($deferred);$r=A.ForkLock.RLock();$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$deferred.push([$methodVal(A.ForkLock,"RUnlock"),[]]);d=A.Dup(c);e=d[0];f=d[1];if(!($interfaceIsEqual(f,$ifaceNil))){$s=2;continue;}$s=3;continue;case 2:g=[-1,"dup",f];$s=4;case 4:return g;case 3:A.CloseOnExec(e);h=[e,"",$ifaceNil];$s=5;case 5:return h;}return;}}catch(err){$err=err;$s=-1;return[0,"",$ifaceNil];}finally{$callDeferred($deferred,$err);if($curGoroutine.asleep){var $f={$blk:K,$c:true,$r,c,d,e,f,g,h,$s,$deferred};return $f;}}};H.ptr.prototype.Dup=function(){var{c,d,e,f,g,$s,$deferred,$r,$c}=$restore(this,{});$s=$s||0;var $err=null;try{s:while(true){switch($s){case 0:$deferred=[];$curGoroutine.deferStack.push($deferred);c=this;d=c.incref();if(!($interfaceIsEqual(d,$ifaceNil))){$s=1;continue;}$s=2;continue;case 1:e=[-1,"",d];$s=3;case 3:return e;case 2:$deferred.push([$methodVal(c,"decref"),[]]);f=J(c.Sysfd);$s=4;case 4:if($c){$c=false;f=f.$blk();}if(f&&f.$blk!==undefined){break s;}g=f;$s=5;case 5:return g;}return;}}catch(err){$err=err;$s=-1;return[0,"",$ifaceNil];}finally{$callDeferred($deferred,$err);if($curGoroutine.asleep){var $f={$blk:H.ptr.prototype.Dup,$c:true,$r,c,d,e,f,g,$s,$deferred};return $f;}}};H.prototype.Dup=function(){return this.$val.Dup();};H.ptr.prototype.WaitWrite=function(){var c;c=this;return c.pd.waitWrite(c.isFile);};H.prototype.WaitWrite=function(){return this.$val.WaitWrite();};H.ptr.prototype.WriteOnce=function(c){var{c,d,e,f,g,h,i,$s,$deferred,$r,$c}=$restore(this,{c});$s=$s||0;var $err=null;try{s:while(true){switch($s){case 0:$deferred=[];$curGoroutine.deferStack.push($deferred);d=this;e=d.writeLock();$s=1;case 1:if($c){$c=false;e=e.$blk();}if(e&&e.$blk!==undefined){break s;}f=e;if(!($interfaceIsEqual(f,$ifaceNil))){$s=2;continue;}$s=3;continue;case 2:g=[0,f];$s=4;case 4:return g;case 3:$deferred.push([$methodVal(d,"writeUnlock"),[]]);h=L(A.Write,d.Sysfd,c);$s=5;case 5:if($c){$c=false;h=h.$blk();}if(h&&h.$blk!==undefined){break s;}i=h;$s=6;case 6:return i;}return;}}catch(err){$err=err;$s=-1;return[0,$ifaceNil];}finally{$callDeferred($deferred,$err);if($curGoroutine.asleep){var $f={$blk:H.ptr.prototype.WriteOnce,$c:true,$r,c,d,e,f,g,h,i,$s,$deferred};return $f;}}};H.prototype.WriteOnce=function(c){return this.$val.WriteOnce(c);};H.ptr.prototype.RawRead=function(c){var{c,d,e,f,g,h,i,j,k,l,m,$s,$deferred,$r,$c}=$restore(this,{c});$s=$s||0;var $err=null;try{s:while(true){switch($s){case 0:$deferred=[];$curGoroutine.deferStack.push($deferred);d=this;e=d.readLock();$s=1;case 1:if($c){$c=false;e=e.$blk();}if(e&&e.$blk!==undefined){break s;}f=e;if(!($interfaceIsEqual(f,$ifaceNil))){$s=2;continue;}$s=3;continue;case 2:g=f;$s=4;case 4:return g;case 3:$deferred.push([$methodVal(d,"readUnlock"),[]]);h=d.pd.prepareRead(d.isFile);if(!($interfaceIsEqual(h,$ifaceNil))){$s=5;continue;}$s=6;continue;case 5:i=h;$s=7;case 7:return i;case 6:case 8:j=c(((d.Sysfd>>>0)));$s=12;case 12:if($c){$c=false;j=j.$blk();}if(j&&j.$blk!==undefined){break s;}if(j){$s=10;continue;}$s=11;continue;case 10:k=$ifaceNil;$s=13;case 13:return k;case 11:l=d.pd.waitRead(d.isFile);if(!($interfaceIsEqual(l,$ifaceNil))){$s=14;continue;}$s=15;continue;case 14:m=l;$s=16;case 16:return m;case 15:$s=8;continue;case 9:$s=-1;return $ifaceNil;}return;}}catch(err){$err=err;$s=-1;return $ifaceNil;}finally{$callDeferred($deferred,$err);if($curGoroutine.asleep){var $f={$blk:H.ptr.prototype.RawRead,$c:true,$r,c,d,e,f,g,h,i,j,k,l,m,$s,$deferred};return $f;}}};H.prototype.RawRead=function(c){return this.$val.RawRead(c);};H.ptr.prototype.RawWrite=function(c){var{c,d,e,f,g,h,i,j,k,l,m,$s,$deferred,$r,$c}=$restore(this,{c});$s=$s||0;var $err=null;try{s:while(true){switch($s){case 0:$deferred=[];$curGoroutine.deferStack.push($deferred);d=this;e=d.writeLock();$s=1;case 1:if($c){$c=false;e=e.$blk();}if(e&&e.$blk!==undefined){break s;}f=e;if(!($interfaceIsEqual(f,$ifaceNil))){$s=2;continue;}$s=3;continue;case 2:g=f;$s=4;case 4:return g;case 3:$deferred.push([$methodVal(d,"writeUnlock"),[]]);h=d.pd.prepareWrite(d.isFile);if(!($interfaceIsEqual(h,$ifaceNil))){$s=5;continue;}$s=6;continue;case 5:i=h;$s=7;case 7:return i;case 6:case 8:j=c(((d.Sysfd>>>0)));$s=12;case 12:if($c){$c=false;j=j.$blk();}if(j&&j.$blk!==undefined){break s;}if(j){$s=10;continue;}$s=11;continue;case 10:k=$ifaceNil;$s=13;case 13:return k;case 11:l=d.pd.waitWrite(d.isFile);if(!($interfaceIsEqual(l,$ifaceNil))){$s=14;continue;}$s=15;continue;case 14:m=l;$s=16;case 16:return m;case 15:$s=8;continue;case 9:$s=-1;return $ifaceNil;}return;}}catch(err){$err=err;$s=-1;return $ifaceNil;}finally{$callDeferred($deferred,$err);if($curGoroutine.asleep){var $f={$blk:H.ptr.prototype.RawWrite,$c:true,$r,c,d,e,f,g,h,i,j,k,l,m,$s,$deferred};return $f;}}};H.prototype.RawWrite=function(c){return this.$val.RawWrite(c);};L=function(c,d,e){var{c,d,e,f,g,h,i,$s,$r,$c}=$restore(this,{c,d,e});$s=$s||0;s:while(true){switch($s){case 0:case 1:g=c(d,e);$s=3;case 3:if($c){$c=false;g=g.$blk();}if(g&&g.$blk!==undefined){break s;}f=g;h=f[0];i=f[1];if(!($interfaceIsEqual(i,new A.Errno(4)))){$s=-1;return[h,i];}$s=1;continue;case 2:$s=-1;return[0,$ifaceNil];}return;}var $f={$blk:L,$c:true,$r,c,d,e,f,g,h,i,$s};return $f;};H.ptr.prototype.eofError=function(c,d){var c,d,e;e=this;if((c===0)&&$interfaceIsEqual(d,$ifaceNil)&&e.ZeroReadIsEOF){return C.EOF;}return d;};H.prototype.eofError=function(c,d){return this.$val.eofError(c,d);};H.ptr.prototype.Shutdown=function(c){var{c,d,e,f,g,$s,$deferred,$r,$c}=$restore(this,{c});$s=$s||0;var $err=null;try{s:while(true){switch($s){case 0:$deferred=[];$curGoroutine.deferStack.push($deferred);d=this;e=d.incref();if(!($interfaceIsEqual(e,$ifaceNil))){$s=1;continue;}$s=2;continue;case 1:f=e;$s=3;case 3:return f;case 2:$deferred.push([$methodVal(d,"decref"),[]]);g=A.Shutdown(d.Sysfd,c);$s=4;case 4:return g;}return;}}catch(err){$err=err;$s=-1;return $ifaceNil;}finally{$callDeferred($deferred,$err);if($curGoroutine.asleep){var $f={$blk:H.ptr.prototype.Shutdown,$c:true,$r,c,d,e,f,g,$s,$deferred};return $f;}}};H.prototype.Shutdown=function(c){return this.$val.Shutdown(c);};H.ptr.prototype.Fchown=function(c,d){var{c,d,e,f,g,h,i,$s,$deferred,$r,$c}=$restore(this,{c,d});$s=$s||0;var $err=null;try{s:while(true){switch($s){case 0:$deferred=[];$curGoroutine.deferStack.push($deferred);c=[c];d=[d];e=[e];e[0]=this;f=e[0].incref();if(!($interfaceIsEqual(f,$ifaceNil))){$s=1;continue;}$s=2;continue;case 1:g=f;$s=3;case 3:return g;case 2:$deferred.push([$methodVal(e[0],"decref"),[]]);h=M((function(c,d,e){return function $b(){var{h,i,$s,$r,$c}=$restore(this,{});$s=$s||0;s:while(true){switch($s){case 0:h=A.Fchown(e[0].Sysfd,c[0],d[0]);$s=1;case 1:if($c){$c=false;h=h.$blk();}if(h&&h.$blk!==undefined){break s;}i=h;$s=2;case 2:return i;}return;}var $f={$blk:$b,$c:true,$r,h,i,$s};return $f;};})(c,d,e));$s=4;case 4:if($c){$c=false;h=h.$blk();}if(h&&h.$blk!==undefined){break s;}i=h;$s=5;case 5:return i;}return;}}catch(err){$err=err;$s=-1;return $ifaceNil;}finally{$callDeferred($deferred,$err);if($curGoroutine.asleep){var $f={$blk:H.ptr.prototype.Fchown,$c:true,$r,c,d,e,f,g,h,i,$s,$deferred};return $f;}}};H.prototype.Fchown=function(c,d){return this.$val.Fchown(c,d);};H.ptr.prototype.Ftruncate=function(c){var{c,d,e,f,g,h,$s,$deferred,$r,$c}=$restore(this,{c});$s=$s||0;var $err=null;try{s:while(true){switch($s){case 0:$deferred=[];$curGoroutine.deferStack.push($deferred);c=[c];d=[d];d[0]=this;e=d[0].incref();if(!($interfaceIsEqual(e,$ifaceNil))){$s=1;continue;}$s=2;continue;case 1:f=e;$s=3;case 3:return f;case 2:$deferred.push([$methodVal(d[0],"decref"),[]]);g=M((function(c,d){return function $b(){var{g,h,$s,$r,$c}=$restore(this,{});$s=$s||0;s:while(true){switch($s){case 0:g=A.Ftruncate(d[0].Sysfd,c[0]);$s=1;case 1:if($c){$c=false;g=g.$blk();}if(g&&g.$blk!==undefined){break s;}h=g;$s=2;case 2:return h;}return;}var $f={$blk:$b,$c:true,$r,g,h,$s};return $f;};})(c,d));$s=4;case 4:if($c){$c=false;g=g.$blk();}if(g&&g.$blk!==undefined){break s;}h=g;$s=5;case 5:return h;}return;}}catch(err){$err=err;$s=-1;return $ifaceNil;}finally{$callDeferred($deferred,$err);if($curGoroutine.asleep){var $f={$blk:H.ptr.prototype.Ftruncate,$c:true,$r,c,d,e,f,g,h,$s,$deferred};return $f;}}};H.prototype.Ftruncate=function(c){return this.$val.Ftruncate(c);};H.ptr.prototype.RawControl=function(c){var{c,d,e,f,g,$s,$deferred,$r,$c}=$restore(this,{c});$s=$s||0;var $err=null;try{s:while(true){switch($s){case 0:$deferred=[];$curGoroutine.deferStack.push($deferred);d=this;e=d.incref();if(!($interfaceIsEqual(e,$ifaceNil))){$s=1;continue;}$s=2;continue;case 1:f=e;$s=3;case 3:return f;case 2:$deferred.push([$methodVal(d,"decref"),[]]);$r=c(((d.Sysfd>>>0)));$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}g=$ifaceNil;$s=5;case 5:return g;}return;}}catch(err){$err=err;$s=-1;return $ifaceNil;}finally{$callDeferred($deferred,$err);if($curGoroutine.asleep){var $f={$blk:H.ptr.prototype.RawControl,$c:true,$r,c,d,e,f,g,$s,$deferred};return $f;}}};H.prototype.RawControl=function(c){return this.$val.RawControl(c);};M=function(c){var{c,d,e,$s,$r,$c}=$restore(this,{c});$s=$s||0;s:while(true){switch($s){case 0:case 1:d=c();$s=3;case 3:if($c){$c=false;d=d.$blk();}if(d&&d.$blk!==undefined){break s;}e=d;if(!($interfaceIsEqual(e,new A.Errno(4)))){$s=-1;return e;}$s=1;continue;case 2:$s=-1;return $ifaceNil;}return;}var $f={$blk:M,$c:true,$r,c,d,e,$s};return $f;};N.ptr.prototype.init=function(c){var c,d;d=this;d.fd=c;return $ifaceNil;};N.prototype.init=function(c){return this.$val.init(c);};N.ptr.prototype.close=function(){var c;c=this;};N.prototype.close=function(){return this.$val.close();};N.ptr.prototype.evict=function(){var c;c=this;c.closing=true;if(!(c.fd===AB.nil)){A.StopIO(c.fd.Sysfd);}};N.prototype.evict=function(){return this.$val.evict();};N.ptr.prototype.prepare=function(c,d){var c,d,e;e=this;if(e.closing){return S(d);}return $ifaceNil;};N.prototype.prepare=function(c,d){return this.$val.prepare(c,d);};N.ptr.prototype.prepareRead=function(c){var c,d;d=this;return d.prepare(114,c);};N.prototype.prepareRead=function(c){return this.$val.prepareRead(c);};N.ptr.prototype.prepareWrite=function(c){var c,d;d=this;return d.prepare(119,c);};N.prototype.prepareWrite=function(c){return this.$val.prepareWrite(c);};N.ptr.prototype.wait=function(c,d){var c,d,e;e=this;if(e.closing){return S(d);}if(d){return $ifaceNil;}return $pkg.ErrDeadlineExceeded;};N.prototype.wait=function(c,d){return this.$val.wait(c,d);};N.ptr.prototype.waitRead=function(c){var c,d;d=this;return d.wait(114,c);};N.prototype.waitRead=function(c){return this.$val.waitRead(c);};N.ptr.prototype.waitWrite=function(c){var c,d;d=this;return d.wait(119,c);};N.prototype.waitWrite=function(c){return this.$val.waitWrite(c);};N.ptr.prototype.pollable=function(){var c;c=this;return true;};N.prototype.pollable=function(){return this.$val.pollable();};H.ptr.prototype.SetDeadline=function(c){var{c,d,e,f,$s,$r,$c}=$restore(this,{c});$s=$s||0;s:while(true){switch($s){case 0:d=this;e=O(d,$clone(c,E.Time),233);$s=1;case 1:if($c){$c=false;e=e.$blk();}if(e&&e.$blk!==undefined){break s;}f=e;$s=2;case 2:return f;}return;}var $f={$blk:H.ptr.prototype.SetDeadline,$c:true,$r,c,d,e,f,$s};return $f;};H.prototype.SetDeadline=function(c){return this.$val.SetDeadline(c);};H.ptr.prototype.SetReadDeadline=function(c){var{c,d,e,f,$s,$r,$c}=$restore(this,{c});$s=$s||0;s:while(true){switch($s){case 0:d=this;e=O(d,$clone(c,E.Time),114);$s=1;case 1:if($c){$c=false;e=e.$blk();}if(e&&e.$blk!==undefined){break s;}f=e;$s=2;case 2:return f;}return;}var $f={$blk:H.ptr.prototype.SetReadDeadline,$c:true,$r,c,d,e,f,$s};return $f;};H.prototype.SetReadDeadline=function(c){return this.$val.SetReadDeadline(c);};H.ptr.prototype.SetWriteDeadline=function(c){var{c,d,e,f,$s,$r,$c}=$restore(this,{c});$s=$s||0;s:while(true){switch($s){case 0:d=this;e=O(d,$clone(c,E.Time),119);$s=1;case 1:if($c){$c=false;e=e.$blk();}if(e&&e.$blk!==undefined){break s;}f=e;$s=2;case 2:return f;}return;}var $f={$blk:H.ptr.prototype.SetWriteDeadline,$c:true,$r,c,d,e,f,$s};return $f;};H.prototype.SetWriteDeadline=function(c){return this.$val.SetWriteDeadline(c);};O=function(c,d,e){var{c,d,e,f,g,h,i,$s,$r,$c}=$restore(this,{c,d,e});$s=$s||0;s:while(true){switch($s){case 0:f=$clone(d,E.Time).UnixNano();if($clone(d,E.Time).IsZero()){f=new $Int64(0,0);}g=c.incref();if(!($interfaceIsEqual(g,$ifaceNil))){$s=-1;return g;}h=e;if(h===(114)){A.SetReadDeadline(c.Sysfd,f);}else if(h===(119)){A.SetWriteDeadline(c.Sysfd,f);}else if(h===(233)){A.SetReadDeadline(c.Sysfd,f);A.SetWriteDeadline(c.Sysfd,f);}i=c.decref();$s=1;case 1:if($c){$c=false;i=i.$blk();}if(i&&i.$blk!==undefined){break s;}i;$s=-1;return $ifaceNil;}return;}var $f={$blk:O,$c:true,$r,c,d,e,f,g,h,i,$s};return $f;};Q.ptr.prototype.incref=function(){var c,d,e,f,g;c=this;while(true){d=D.LoadUint64((c.$ptr_state||(c.$ptr_state=new AC(function(){return this.$target.state;},function($v){this.$target.state=$v;},c))));if(!((e=new $Uint64(d.$high&0,(d.$low&1)>>>0),(e.$high===0&&e.$low===0)))){return false;}f=new $Uint64(d.$high+0,d.$low+8);if((g=new $Uint64(f.$high&0,(f.$low&8388600)>>>0),(g.$high===0&&g.$low===0))){$panic(new $String("too many concurrent operations on a single file or socket (max 1048575)"));}if(D.CompareAndSwapUint64((c.$ptr_state||(c.$ptr_state=new AC(function(){return this.$target.state;},function($v){this.$target.state=$v;},c))),d,f)){return true;}}};Q.prototype.incref=function(){return this.$val.incref();};Q.ptr.prototype.increfAndClose=function(){var{c,d,e,f,g,h,i,j,k,l,m,$s,$r,$c}=$restore(this,{});$s=$s||0;s:while(true){switch($s){case 0:c=this;case 1:d=D.LoadUint64((c.$ptr_state||(c.$ptr_state=new AC(function(){return this.$target.state;},function($v){this.$target.state=$v;},c))));if(!((e=new $Uint64(d.$high&0,(d.$low&1)>>>0),(e.$high===0&&e.$low===0)))){$s=-1;return false;}g=(f=new $Uint64(d.$high|0,(d.$low|1)>>>0),new $Uint64(f.$high+0,f.$low+8));if((h=new $Uint64(g.$high&0,(g.$low&8388600)>>>0),(h.$high===0&&h.$low===0))){$panic(new $String("too many concurrent operations on a single file or socket (max 1048575)"));}g=(i=new $Uint64(2147483647,4286578688),new $Uint64(g.$high&~i.$high,(g.$low&~i.$low)>>>0));if(D.CompareAndSwapUint64((c.$ptr_state||(c.$ptr_state=new AC(function(){return this.$target.state;},function($v){this.$target.state=$v;},c))),d,g)){$s=3;continue;}$s=4;continue;case 3:case 5:if(!(!((j=new $Uint64(d.$high&2047,(d.$low&4286578688)>>>0),(j.$high===0&&j.$low===0))))){$s=6;continue;}d=(k=new $Uint64(0,8388608),new $Uint64(d.$high-k.$high,d.$low-k.$low));$r=X((c.$ptr_rsema||(c.$ptr_rsema=new Z(function(){return this.$target.rsema;},function($v){this.$target.rsema=$v;},c))));$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=5;continue;case 6:case 8:if(!(!((l=new $Uint64(d.$high&2147481600,(d.$low&0)>>>0),(l.$high===0&&l.$low===0))))){$s=9;continue;}d=(m=new $Uint64(2048,0),new $Uint64(d.$high-m.$high,d.$low-m.$low));$r=X((c.$ptr_wsema||(c.$ptr_wsema=new Z(function(){return this.$target.wsema;},function($v){this.$target.wsema=$v;},c))));$s=10;case 10:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=8;continue;case 9:$s=-1;return true;case 4:$s=1;continue;case 2:$s=-1;return false;}return;}var $f={$blk:Q.ptr.prototype.increfAndClose,$c:true,$r,c,d,e,f,g,h,i,j,k,l,m,$s};return $f;};Q.prototype.increfAndClose=function(){return this.$val.increfAndClose();};Q.ptr.prototype.decref=function(){var c,d,e,f,g;c=this;while(true){d=D.LoadUint64((c.$ptr_state||(c.$ptr_state=new AC(function(){return this.$target.state;},function($v){this.$target.state=$v;},c))));if((e=new $Uint64(d.$high&0,(d.$low&8388600)>>>0),(e.$high===0&&e.$low===0))){$panic(new $String("inconsistent poll.fdMutex"));}f=new $Uint64(d.$high-0,d.$low-8);if(D.CompareAndSwapUint64((c.$ptr_state||(c.$ptr_state=new AC(function(){return this.$target.state;},function($v){this.$target.state=$v;},c))),d,f)){return(g=new $Uint64(f.$high&0,(f.$low&8388601)>>>0),(g.$high===0&&g.$low===1));}}};Q.prototype.decref=function(){return this.$val.decref();};Q.ptr.prototype.rwlock=function(c){var{c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,$s,$r,$c}=$restore(this,{c});$s=$s||0;s:while(true){switch($s){case 0:d=this;e=new $Uint64(0,0);f=new $Uint64(0,0);g=new $Uint64(0,0);h=e;i=f;j=g;k=Z.nil;if(c){h=new $Uint64(0,2);i=new $Uint64(0,8388608);j=new $Uint64(2047,4286578688);k=(d.$ptr_rsema||(d.$ptr_rsema=new Z(function(){return this.$target.rsema;},function($v){this.$target.rsema=$v;},d)));}else{h=new $Uint64(0,4);i=new $Uint64(2048,0);j=new $Uint64(2147481600,0);k=(d.$ptr_wsema||(d.$ptr_wsema=new Z(function(){return this.$target.wsema;},function($v){this.$target.wsema=$v;},d)));}case 1:l=D.LoadUint64((d.$ptr_state||(d.$ptr_state=new AC(function(){return this.$target.state;},function($v){this.$target.state=$v;},d))));if(!((m=new $Uint64(l.$high&0,(l.$low&1)>>>0),(m.$high===0&&m.$low===0)))){$s=-1;return false;}n=new $Uint64(0,0);if((o=new $Uint64(l.$high&h.$high,(l.$low&h.$low)>>>0),(o.$high===0&&o.$low===0))){n=(p=new $Uint64(l.$high|h.$high,(l.$low|h.$low)>>>0),new $Uint64(p.$high+0,p.$low+8));if((q=new $Uint64(n.$high&0,(n.$low&8388600)>>>0),(q.$high===0&&q.$low===0))){$panic(new $String("too many concurrent operations on a single file or socket (max 1048575)"));}}else{n=new $Uint64(l.$high+i.$high,l.$low+i.$low);if((r=new $Uint64(n.$high&j.$high,(n.$low&j.$low)>>>0),(r.$high===0&&r.$low===0))){$panic(new $String("too many concurrent operations on a single file or socket (max 1048575)"));}}if(D.CompareAndSwapUint64((d.$ptr_state||(d.$ptr_state=new AC(function(){return this.$target.state;},function($v){this.$target.state=$v;},d))),l,n)){$s=3;continue;}$s=4;continue;case 3:if((s=new $Uint64(l.$high&h.$high,(l.$low&h.$low)>>>0),(s.$high===0&&s.$low===0))){$s=-1;return true;}$r=W(k);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 4:$s=1;continue;case 2:$s=-1;return false;}return;}var $f={$blk:Q.ptr.prototype.rwlock,$c:true,$r,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,$s};return $f;};Q.prototype.rwlock=function(c){return this.$val.rwlock(c);};Q.ptr.prototype.rwunlock=function(c){var{c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,$s,$r,$c}=$restore(this,{c});$s=$s||0;s:while(true){switch($s){case 0:d=this;e=new $Uint64(0,0);f=new $Uint64(0,0);g=new $Uint64(0,0);h=e;i=f;j=g;k=Z.nil;if(c){h=new $Uint64(0,2);i=new $Uint64(0,8388608);j=new $Uint64(2047,4286578688);k=(d.$ptr_rsema||(d.$ptr_rsema=new Z(function(){return this.$target.rsema;},function($v){this.$target.rsema=$v;},d)));}else{h=new $Uint64(0,4);i=new $Uint64(2048,0);j=new $Uint64(2147481600,0);k=(d.$ptr_wsema||(d.$ptr_wsema=new Z(function(){return this.$target.wsema;},function($v){this.$target.wsema=$v;},d)));}case 1:l=D.LoadUint64((d.$ptr_state||(d.$ptr_state=new AC(function(){return this.$target.state;},function($v){this.$target.state=$v;},d))));if((m=new $Uint64(l.$high&h.$high,(l.$low&h.$low)>>>0),(m.$high===0&&m.$low===0))||(n=new $Uint64(l.$high&0,(l.$low&8388600)>>>0),(n.$high===0&&n.$low===0))){$panic(new $String("inconsistent poll.fdMutex"));}p=(o=new $Uint64(l.$high&~h.$high,(l.$low&~h.$low)>>>0),new $Uint64(o.$high-0,o.$low-8));if(!((q=new $Uint64(l.$high&j.$high,(l.$low&j.$low)>>>0),(q.$high===0&&q.$low===0)))){p=(r=i,new $Uint64(p.$high-r.$high,p.$low-r.$low));}if(D.CompareAndSwapUint64((d.$ptr_state||(d.$ptr_state=new AC(function(){return this.$target.state;},function($v){this.$target.state=$v;},d))),l,p)){$s=3;continue;}$s=4;continue;case 3:if(!((s=new $Uint64(l.$high&j.$high,(l.$low&j.$low)>>>0),(s.$high===0&&s.$low===0)))){$s=5;continue;}$s=6;continue;case 5:$r=X(k);$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 6:$s=-1;return(t=new $Uint64(p.$high&0,(p.$low&8388601)>>>0),(t.$high===0&&t.$low===1));case 4:$s=1;continue;case 2:$s=-1;return false;}return;}var $f={$blk:Q.ptr.prototype.rwunlock,$c:true,$r,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,$s};return $f;};Q.prototype.rwunlock=function(c){return this.$val.rwunlock(c);};H.ptr.prototype.incref=function(){var c;c=this;if(!c.fdmu.incref()){return S(c.isFile);}return $ifaceNil;};H.prototype.incref=function(){return this.$val.incref();};H.ptr.prototype.decref=function(){var{c,d,e,$s,$r,$c}=$restore(this,{});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(c.fdmu.decref()){$s=1;continue;}$s=2;continue;case 1:d=c.destroy();$s=3;case 3:if($c){$c=false;d=d.$blk();}if(d&&d.$blk!==undefined){break s;}e=d;$s=4;case 4:return e;case 2:$s=-1;return $ifaceNil;}return;}var $f={$blk:H.ptr.prototype.decref,$c:true,$r,c,d,e,$s};return $f;};H.prototype.decref=function(){return this.$val.decref();};H.ptr.prototype.readLock=function(){var{c,d,$s,$r,$c}=$restore(this,{});$s=$s||0;s:while(true){switch($s){case 0:c=this;d=c.fdmu.rwlock(true);$s=3;case 3:if($c){$c=false;d=d.$blk();}if(d&&d.$blk!==undefined){break s;}if(!d){$s=1;continue;}$s=2;continue;case 1:$s=-1;return S(c.isFile);case 2:$s=-1;return $ifaceNil;}return;}var $f={$blk:H.ptr.prototype.readLock,$c:true,$r,c,d,$s};return $f;};H.prototype.readLock=function(){return this.$val.readLock();};H.ptr.prototype.readUnlock=function(){var{c,d,e,$s,$r,$c}=$restore(this,{});$s=$s||0;s:while(true){switch($s){case 0:c=this;d=c.fdmu.rwunlock(true);$s=3;case 3:if($c){$c=false;d=d.$blk();}if(d&&d.$blk!==undefined){break s;}if(d){$s=1;continue;}$s=2;continue;case 1:e=c.destroy();$s=4;case 4:if($c){$c=false;e=e.$blk();}if(e&&e.$blk!==undefined){break s;}e;case 2:$s=-1;return;}return;}var $f={$blk:H.ptr.prototype.readUnlock,$c:true,$r,c,d,e,$s};return $f;};H.prototype.readUnlock=function(){return this.$val.readUnlock();};H.ptr.prototype.writeLock=function(){var{c,d,$s,$r,$c}=$restore(this,{});$s=$s||0;s:while(true){switch($s){case 0:c=this;d=c.fdmu.rwlock(false);$s=3;case 3:if($c){$c=false;d=d.$blk();}if(d&&d.$blk!==undefined){break s;}if(!d){$s=1;continue;}$s=2;continue;case 1:$s=-1;return S(c.isFile);case 2:$s=-1;return $ifaceNil;}return;}var $f={$blk:H.ptr.prototype.writeLock,$c:true,$r,c,d,$s};return $f;};H.prototype.writeLock=function(){return this.$val.writeLock();};H.ptr.prototype.writeUnlock=function(){var{c,d,e,$s,$r,$c}=$restore(this,{});$s=$s||0;s:while(true){switch($s){case 0:c=this;d=c.fdmu.rwunlock(false);$s=3;case 3:if($c){$c=false;d=d.$blk();}if(d&&d.$blk!==undefined){break s;}if(d){$s=1;continue;}$s=2;continue;case 1:e=c.destroy();$s=4;case 4:if($c){$c=false;e=e.$blk();}if(e&&e.$blk!==undefined){break s;}e;case 2:$s=-1;return;}return;}var $f={$blk:H.ptr.prototype.writeUnlock,$c:true,$r,c,d,e,$s};return $f;};H.prototype.writeUnlock=function(){return this.$val.writeUnlock();};H.ptr.prototype.Fsync=function(){var{c,d,e,f,g,$s,$deferred,$r,$c}=$restore(this,{});$s=$s||0;var $err=null;try{s:while(true){switch($s){case 0:$deferred=[];$curGoroutine.deferStack.push($deferred);c=[c];c[0]=this;d=c[0].incref();if(!($interfaceIsEqual(d,$ifaceNil))){$s=1;continue;}$s=2;continue;case 1:e=d;$s=3;case 3:return e;case 2:$deferred.push([$methodVal(c[0],"decref"),[]]);f=M((function(c){return function $b(){var{f,g,$s,$r,$c}=$restore(this,{});$s=$s||0;s:while(true){switch($s){case 0:f=A.Fsync(c[0].Sysfd);$s=1;case 1:if($c){$c=false;f=f.$blk();}if(f&&f.$blk!==undefined){break s;}g=f;$s=2;case 2:return g;}return;}var $f={$blk:$b,$c:true,$r,f,g,$s};return $f;};})(c));$s=4;case 4:if($c){$c=false;f=f.$blk();}if(f&&f.$blk!==undefined){break s;}g=f;$s=5;case 5:return g;}return;}}catch(err){$err=err;$s=-1;return $ifaceNil;}finally{$callDeferred($deferred,$err);if($curGoroutine.asleep){var $f={$blk:H.ptr.prototype.Fsync,$c:true,$r,c,d,e,f,g,$s,$deferred};return $f;}}};H.prototype.Fsync=function(){return this.$val.Fsync();};R.ptr.prototype.Error=function(){var c;c=this;return"use of closed network connection";};R.prototype.Error=function(){return this.$val.Error();};R.ptr.prototype.Timeout=function(){var c;c=this;return false;};R.prototype.Timeout=function(){return this.$val.Timeout();};R.ptr.prototype.Temporary=function(){var c;c=this;return false;};R.prototype.Temporary=function(){return this.$val.Temporary();};S=function(c){var c;if(c){return $pkg.ErrFileClosing;}return new $pkg.ErrNetClosing.constructor.elem($pkg.ErrNetClosing);};T.ptr.prototype.Error=function(){var c;c=this;return"i/o timeout";};T.prototype.Error=function(){return this.$val.Error();};T.ptr.prototype.Timeout=function(){var c;c=this;return true;};T.prototype.Timeout=function(){return this.$val.Timeout();};T.ptr.prototype.Temporary=function(){var c;c=this;return true;};T.prototype.Temporary=function(){return this.$val.Temporary();};V=function(c,d,e){var c,d,e;return[0,new A.Errno(38)];};W=function(){$throwRuntimeError("native function not implemented: internal/poll.runtime_Semacquire");};X=function(){$throwRuntimeError("native function not implemented: internal/poll.runtime_Semrelease");};AB.methods=[{prop:"Init",name:"Init",pkg:"",typ:$funcType([$String,$Bool],[$error],false)},{prop:"destroy",name:"destroy",pkg:"internal/poll",typ:$funcType([],[$error],false)},{prop:"Close",name:"Close",pkg:"",typ:$funcType([],[$error],false)},{prop:"SetBlocking",name:"SetBlocking",pkg:"",typ:$funcType([],[$error],false)},{prop:"Read",name:"Read",pkg:"",typ:$funcType([AF],[$Int,$error],false)},{prop:"Pread",name:"Pread",pkg:"",typ:$funcType([AF,$Int64],[$Int,$error],false)},{prop:"ReadFrom",name:"ReadFrom",pkg:"",typ:$funcType([AF],[$Int,A.Sockaddr,$error],false)},{prop:"ReadFromInet4",name:"ReadFromInet4",pkg:"",typ:$funcType([AF,AG],[$Int,$error],false)},{prop:"ReadFromInet6",name:"ReadFromInet6",pkg:"",typ:$funcType([AF,AH],[$Int,$error],false)},{prop:"ReadMsg",name:"ReadMsg",pkg:"",typ:$funcType([AF,AF,$Int],[$Int,$Int,$Int,A.Sockaddr,$error],false)},{prop:"ReadMsgInet4",name:"ReadMsgInet4",pkg:"",typ:$funcType([AF,AF,$Int,AG],[$Int,$Int,$Int,$error],false)},{prop:"ReadMsgInet6",name:"ReadMsgInet6",pkg:"",typ:$funcType([AF,AF,$Int,AH],[$Int,$Int,$Int,$error],false)},{prop:"Write",name:"Write",pkg:"",typ:$funcType([AF],[$Int,$error],false)},{prop:"Pwrite",name:"Pwrite",pkg:"",typ:$funcType([AF,$Int64],[$Int,$error],false)},{prop:"WriteToInet4",name:"WriteToInet4",pkg:"",typ:$funcType([AF,AG],[$Int,$error],false)},{prop:"WriteToInet6",name:"WriteToInet6",pkg:"",typ:$funcType([AF,AH],[$Int,$error],false)},{prop:"WriteTo",name:"WriteTo",pkg:"",typ:$funcType([AF,A.Sockaddr],[$Int,$error],false)},{prop:"WriteMsg",name:"WriteMsg",pkg:"",typ:$funcType([AF,AF,A.Sockaddr],[$Int,$Int,$error],false)},{prop:"WriteMsgInet4",name:"WriteMsgInet4",pkg:"",typ:$funcType([AF,AF,AG],[$Int,$Int,$error],false)},{prop:"WriteMsgInet6",name:"WriteMsgInet6",pkg:"",typ:$funcType([AF,AF,AH],[$Int,$Int,$error],false)},{prop:"Accept",name:"Accept",pkg:"",typ:$funcType([],[$Int,A.Sockaddr,$String,$error],false)},{prop:"Seek",name:"Seek",pkg:"",typ:$funcType([$Int64,$Int],[$Int64,$error],false)},{prop:"ReadDirent",name:"ReadDirent",pkg:"",typ:$funcType([AF],[$Int,$error],false)},{prop:"Fchmod",name:"Fchmod",pkg:"",typ:$funcType([$Uint32],[$error],false)},{prop:"Fchdir",name:"Fchdir",pkg:"",typ:$funcType([],[$error],false)},{prop:"Fstat",name:"Fstat",pkg:"",typ:$funcType([AI],[$error],false)},{prop:"Dup",name:"Dup",pkg:"",typ:$funcType([],[$Int,$String,$error],false)},{prop:"WaitWrite",name:"WaitWrite",pkg:"",typ:$funcType([],[$error],false)},{prop:"WriteOnce",name:"WriteOnce",pkg:"",typ:$funcType([AF],[$Int,$error],false)},{prop:"RawRead",name:"RawRead",pkg:"",typ:$funcType([AJ],[$error],false)},{prop:"RawWrite",name:"RawWrite",pkg:"",typ:$funcType([AJ],[$error],false)},{prop:"eofError",name:"eofError",pkg:"internal/poll",typ:$funcType([$Int,$error],[$error],false)},{prop:"Shutdown",name:"Shutdown",pkg:"",typ:$funcType([$Int],[$error],false)},{prop:"Fchown",name:"Fchown",pkg:"",typ:$funcType([$Int,$Int],[$error],false)},{prop:"Ftruncate",name:"Ftruncate",pkg:"",typ:$funcType([$Int64],[$error],false)},{prop:"RawControl",name:"RawControl",pkg:"",typ:$funcType([AK],[$error],false)},{prop:"SetDeadline",name:"SetDeadline",pkg:"",typ:$funcType([E.Time],[$error],false)},{prop:"SetReadDeadline",name:"SetReadDeadline",pkg:"",typ:$funcType([E.Time],[$error],false)},{prop:"SetWriteDeadline",name:"SetWriteDeadline",pkg:"",typ:$funcType([E.Time],[$error],false)},{prop:"incref",name:"incref",pkg:"internal/poll",typ:$funcType([],[$error],false)},{prop:"decref",name:"decref",pkg:"internal/poll",typ:$funcType([],[$error],false)},{prop:"readLock",name:"readLock",pkg:"internal/poll",typ:$funcType([],[$error],false)},{prop:"readUnlock",name:"readUnlock",pkg:"internal/poll",typ:$funcType([],[],false)},{prop:"writeLock",name:"writeLock",pkg:"internal/poll",typ:$funcType([],[$error],false)},{prop:"writeUnlock",name:"writeUnlock",pkg:"internal/poll",typ:$funcType([],[],false)},{prop:"Fsync",name:"Fsync",pkg:"",typ:$funcType([],[$error],false)}];AL.methods=[{prop:"init",name:"init",pkg:"internal/poll",typ:$funcType([AB],[$error],false)},{prop:"close",name:"close",pkg:"internal/poll",typ:$funcType([],[],false)},{prop:"evict",name:"evict",pkg:"internal/poll",typ:$funcType([],[],false)},{prop:"prepare",name:"prepare",pkg:"internal/poll",typ:$funcType([$Int,$Bool],[$error],false)},{prop:"prepareRead",name:"prepareRead",pkg:"internal/poll",typ:$funcType([$Bool],[$error],false)},{prop:"prepareWrite",name:"prepareWrite",pkg:"internal/poll",typ:$funcType([$Bool],[$error],false)},{prop:"wait",name:"wait",pkg:"internal/poll",typ:$funcType([$Int,$Bool],[$error],false)},{prop:"waitRead",name:"waitRead",pkg:"internal/poll",typ:$funcType([$Bool],[$error],false)},{prop:"waitWrite",name:"waitWrite",pkg:"internal/poll",typ:$funcType([$Bool],[$error],false)},{prop:"waitCanceled",name:"waitCanceled",pkg:"internal/poll",typ:$funcType([$Int],[],false)},{prop:"pollable",name:"pollable",pkg:"internal/poll",typ:$funcType([],[$Bool],false)}];AM.methods=[{prop:"incref",name:"incref",pkg:"internal/poll",typ:$funcType([],[$Bool],false)},{prop:"increfAndClose",name:"increfAndClose",pkg:"internal/poll",typ:$funcType([],[$Bool],false)},{prop:"decref",name:"decref",pkg:"internal/poll",typ:$funcType([],[$Bool],false)},{prop:"rwlock",name:"rwlock",pkg:"internal/poll",typ:$funcType([$Bool],[$Bool],false)},{prop:"rwunlock",name:"rwunlock",pkg:"internal/poll",typ:$funcType([$Bool],[$Bool],false)}];R.methods=[{prop:"Error",name:"Error",pkg:"",typ:$funcType([],[$String],false)},{prop:"Timeout",name:"Timeout",pkg:"",typ:$funcType([],[$Bool],false)},{prop:"Temporary",name:"Temporary",pkg:"",typ:$funcType([],[$Bool],false)}];AN.methods=[{prop:"Error",name:"Error",pkg:"",typ:$funcType([],[$String],false)},{prop:"Timeout",name:"Timeout",pkg:"",typ:$funcType([],[$Bool],false)},{prop:"Temporary",name:"Temporary",pkg:"",typ:$funcType([],[$Bool],false)}];H.init("internal/poll",[{prop:"fdmu",name:"fdmu",embedded:false,exported:false,typ:Q,tag:""},{prop:"Sysfd",name:"Sysfd",embedded:false,exported:true,typ:$Int,tag:""},{prop:"pd",name:"pd",embedded:false,exported:false,typ:N,tag:""},{prop:"iovecs",name:"iovecs",embedded:false,exported:false,typ:AE,tag:""},{prop:"csema",name:"csema",embedded:false,exported:false,typ:$Uint32,tag:""},{prop:"isBlocking",name:"isBlocking",embedded:false,exported:false,typ:$Uint32,tag:""},{prop:"IsStream",name:"IsStream",embedded:false,exported:true,typ:$Bool,tag:""},{prop:"ZeroReadIsEOF",name:"ZeroReadIsEOF",embedded:false,exported:true,typ:$Bool,tag:""},{prop:"isFile",name:"isFile",embedded:false,exported:false,typ:$Bool,tag:""}]);N.init("internal/poll",[{prop:"fd",name:"fd",embedded:false,exported:false,typ:AB,tag:""},{prop:"closing",name:"closing",embedded:false,exported:false,typ:$Bool,tag:""}]);Q.init("internal/poll",[{prop:"state",name:"state",embedded:false,exported:false,typ:$Uint64,tag:""},{prop:"rsema",name:"rsema",embedded:false,exported:false,typ:$Uint32,tag:""},{prop:"wsema",name:"wsema",embedded:false,exported:false,typ:$Uint32,tag:""}]);R.init("",[]);T.init("",[]);$pkg.$initLinknames=function(){W=$linknames["sync.runtime_Semacquire"];X=$linknames["sync.runtime_Semrelease"];};$init=function(){$pkg.$init=function(){};var $f,$c=false,$s=0,$r;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:$r=F.$init();$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=B.$init();$s=2;case 2:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=C.$init();$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=D.$init();$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=A.$init();$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=E.$init();$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$pkg.CloseFunc=A.Close;$pkg.AcceptFunc=A.Accept;I=1;$pkg.ErrNetClosing=new R.ptr();$pkg.ErrFileClosing=F.New("use of closed file");$pkg.ErrNoDeadline=F.New("file type does not support deadline");$pkg.ErrDeadlineExceeded=new T.ptr();$pkg.ErrNotPollable=F.New("not pollable");}return;}if($f===undefined){$f={$blk:$init};}$f.$s=$s;$f.$r=$r;return $f;};$pkg.$init=$init;return $pkg;})(); $packages["internal/syscall/execenv"]=(function(){var $pkg={},$init,A;A=$packages["syscall"];$init=function(){$pkg.$init=function(){};var $f,$c=false,$s=0,$r;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:$r=A.$init();$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}}return;}if($f===undefined){$f={$blk:$init};}$f.$s=$s;$f.$r=$r;return $f;};$pkg.$init=$init;return $pkg;})(); $packages["internal/testlog"]=(function(){var $pkg={},$init,B,A,C,N,D,F,I;B=$packages["sync"];A=$packages["sync/atomic"];C=$pkg.Interface=$newType(8,$kindInterface,"testlog.Interface",true,"internal/testlog",true,null);N=$ptrType(C);F=function(){var a;a=D.Load();if($interfaceIsEqual(a,$ifaceNil)){return $ifaceNil;}return $assertType(a,N).$get();};$pkg.Logger=F;I=function(a){var{a,b,$s,$r,$c}=$restore(this,{a});$s=$s||0;s:while(true){switch($s){case 0:b=F();if(!($interfaceIsEqual(b,$ifaceNil))){$s=1;continue;}$s=2;continue;case 1:$r=b.Stat(a);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return;}return;}var $f={$blk:I,$c:true,$r,a,b,$s};return $f;};$pkg.Stat=I;C.init([{prop:"Chdir",name:"Chdir",pkg:"",typ:$funcType([$String],[],false)},{prop:"Getenv",name:"Getenv",pkg:"",typ:$funcType([$String],[],false)},{prop:"Open",name:"Open",pkg:"",typ:$funcType([$String],[],false)},{prop:"Stat",name:"Stat",pkg:"",typ:$funcType([$String],[],false)}]);$init=function(){$pkg.$init=function(){};var $f,$c=false,$s=0,$r;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:$r=B.$init();$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=A.$init();$s=2;case 2:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}D=new A.Value.ptr($ifaceNil);}return;}if($f===undefined){$f={$blk:$init};}$f.$s=$s;$f.$r=$r;return $f;};$pkg.$init=$init;return $pkg;})(); $packages["path"]=(function(){var $pkg={},$init,A,B,C;A=$packages["errors"];B=$packages["internal/bytealg"];C=$packages["unicode/utf8"];$init=function(){$pkg.$init=function(){};var $f,$c=false,$s=0,$r;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:$r=A.$init();$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=B.$init();$s=2;case 2:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=C.$init();$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$pkg.ErrBadPattern=A.New("syntax error in pattern");}return;}if($f===undefined){$f={$blk:$init};}$f.$s=$s;$f.$r=$r;return $f;};$pkg.$init=$init;return $pkg;})(); $packages["io/fs"]=(function(){var $pkg={},$init,A,E,C,B,D,F,G,AF,AM,AN,AO,AQ,AS,AT,AU,AH,AI,AJ,AK,AL;A=$packages["errors"];E=$packages["internal/oserror"];C=$packages["io"];B=$packages["path"];D=$packages["sort"];F=$packages["time"];G=$packages["unicode/utf8"];AF=$pkg.DirEntry=$newType(8,$kindInterface,"fs.DirEntry",true,"io/fs",true,null);AM=$pkg.FileInfo=$newType(8,$kindInterface,"fs.FileInfo",true,"io/fs",true,null);AN=$pkg.FileMode=$newType(4,$kindUint32,"fs.FileMode",true,"io/fs",true,null);AO=$pkg.PathError=$newType(0,$kindStruct,"fs.PathError",true,"io/fs",true,function(Op_,Path_,Err_){this.$val=this;if(arguments.length===0){this.Op="";this.Path="";this.Err=$ifaceNil;return;}this.Op=Op_;this.Path=Path_;this.Err=Err_;});AQ=$ptrType(AO);AS=$sliceType($Uint8);AT=$arrayType($Uint8,32);AU=$interfaceType([{prop:"Timeout",name:"Timeout",pkg:"",typ:$funcType([],[$Bool],false)}]);AH=function(){return E.ErrInvalid;};AI=function(){return E.ErrPermission;};AJ=function(){return E.ErrExist;};AK=function(){return E.ErrNotExist;};AL=function(){return E.ErrClosed;};AN.prototype.String=function(){var a,b,c,d,e,f,g,h,i,j,k,l,m,n,o;a=this.$val;b=AT.zero();c=0;d="dalTLDpSugct?";e=0;while(true){if(!(e>0)>>>0)),i<32?(1<>>0)))>>>0)===0))){((c<0||c>=b.length)?($throwRuntimeError("index out of range"),undefined):b[c]=((h<<24>>>24)));c=c+(1)>>0;}e+=f[1];}if(c===0){((c<0||c>=b.length)?($throwRuntimeError("index out of range"),undefined):b[c]=45);c=c+(1)>>0;}j="rwxrwxrwx";k=0;while(true){if(!(k>0)>>>0)),o<32?(1<>>0)))>>>0)===0))){((c<0||c>=b.length)?($throwRuntimeError("index out of range"),undefined):b[c]=((n<<24>>>24)));}else{((c<0||c>=b.length)?($throwRuntimeError("index out of range"),undefined):b[c]=45);}c=c+(1)>>0;k+=l[1];}return($bytesToString($subslice(new AS(b),0,c)));};$ptrType(AN).prototype.String=function(){return new AN(this.$get()).String();};AN.prototype.IsDir=function(){var a;a=this.$val;return!((((a&2147483648)>>>0)===0));};$ptrType(AN).prototype.IsDir=function(){return new AN(this.$get()).IsDir();};AN.prototype.IsRegular=function(){var a;a=this.$val;return((a&2401763328)>>>0)===0;};$ptrType(AN).prototype.IsRegular=function(){return new AN(this.$get()).IsRegular();};AN.prototype.Perm=function(){var a;a=this.$val;return(a&511)>>>0;};$ptrType(AN).prototype.Perm=function(){return new AN(this.$get()).Perm();};AN.prototype.Type=function(){var a;a=this.$val;return(a&2401763328)>>>0;};$ptrType(AN).prototype.Type=function(){return new AN(this.$get()).Type();};AO.ptr.prototype.Error=function(){var{a,b,c,$s,$r,$c}=$restore(this,{});$s=$s||0;s:while(true){switch($s){case 0:a=this;b=a.Err.Error();$s=1;case 1:if($c){$c=false;b=b.$blk();}if(b&&b.$blk!==undefined){break s;}c=a.Op+" "+a.Path+": "+b;$s=2;case 2:return c;}return;}var $f={$blk:AO.ptr.prototype.Error,$c:true,$r,a,b,c,$s};return $f;};AO.prototype.Error=function(){return this.$val.Error();};AO.ptr.prototype.Unwrap=function(){var a;a=this;return a.Err;};AO.prototype.Unwrap=function(){return this.$val.Unwrap();};AO.ptr.prototype.Timeout=function(){var{a,b,c,d,e,f,g,$s,$r,$c}=$restore(this,{});$s=$s||0;s:while(true){switch($s){case 0:a=this;b=$assertType(a.Err,AU,true);c=b[0];d=b[1];if(!(d)){e=false;$s=1;continue s;}f=c.Timeout();$s=2;case 2:if($c){$c=false;f=f.$blk();}if(f&&f.$blk!==undefined){break s;}e=f;case 1:g=e;$s=3;case 3:return g;}return;}var $f={$blk:AO.ptr.prototype.Timeout,$c:true,$r,a,b,c,d,e,f,g,$s};return $f;};AO.prototype.Timeout=function(){return this.$val.Timeout();};AN.methods=[{prop:"String",name:"String",pkg:"",typ:$funcType([],[$String],false)},{prop:"IsDir",name:"IsDir",pkg:"",typ:$funcType([],[$Bool],false)},{prop:"IsRegular",name:"IsRegular",pkg:"",typ:$funcType([],[$Bool],false)},{prop:"Perm",name:"Perm",pkg:"",typ:$funcType([],[AN],false)},{prop:"Type",name:"Type",pkg:"",typ:$funcType([],[AN],false)}];AQ.methods=[{prop:"Error",name:"Error",pkg:"",typ:$funcType([],[$String],false)},{prop:"Unwrap",name:"Unwrap",pkg:"",typ:$funcType([],[$error],false)},{prop:"Timeout",name:"Timeout",pkg:"",typ:$funcType([],[$Bool],false)}];AF.init([{prop:"Info",name:"Info",pkg:"",typ:$funcType([],[AM,$error],false)},{prop:"IsDir",name:"IsDir",pkg:"",typ:$funcType([],[$Bool],false)},{prop:"Name",name:"Name",pkg:"",typ:$funcType([],[$String],false)},{prop:"Type",name:"Type",pkg:"",typ:$funcType([],[AN],false)}]);AM.init([{prop:"IsDir",name:"IsDir",pkg:"",typ:$funcType([],[$Bool],false)},{prop:"ModTime",name:"ModTime",pkg:"",typ:$funcType([],[F.Time],false)},{prop:"Mode",name:"Mode",pkg:"",typ:$funcType([],[AN],false)},{prop:"Name",name:"Name",pkg:"",typ:$funcType([],[$String],false)},{prop:"Size",name:"Size",pkg:"",typ:$funcType([],[$Int64],false)},{prop:"Sys",name:"Sys",pkg:"",typ:$funcType([],[$emptyInterface],false)}]);AO.init("",[{prop:"Op",name:"Op",embedded:false,exported:true,typ:$String,tag:""},{prop:"Path",name:"Path",embedded:false,exported:true,typ:$String,tag:""},{prop:"Err",name:"Err",embedded:false,exported:true,typ:$error,tag:""}]);$init=function(){$pkg.$init=function(){};var $f,$c=false,$s=0,$r;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:$r=A.$init();$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=E.$init();$s=2;case 2:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=C.$init();$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=B.$init();$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=D.$init();$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=F.$init();$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=G.$init();$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$pkg.SkipDir=A.New("skip this directory");$pkg.ErrInvalid=AH();$pkg.ErrPermission=AI();$pkg.ErrExist=AJ();$pkg.ErrNotExist=AK();$pkg.ErrClosed=AL();}return;}if($f===undefined){$f={$blk:$init};}$f.$s=$s;$f.$r=$r;return $f;};$pkg.$init=$init;return $pkg;})(); $packages["os"]=(function(){var $pkg={},$init,D,Q,E,O,J,M,K,F,L,G,C,H,P,I,N,A,B,R,U,AR,BM,BY,CH,CJ,DX,DZ,EW,FB,FK,FM,FN,FO,FP,FQ,FS,FU,FX,FY,FZ,GA,GB,GC,GO,GP,GQ,GR,GS,GT,GU,GV,AA,CK,CR,EX,FD,e,f,g,AK,AL,AM,AP,AS,AT,BC,BN,BP,BQ,BZ,CA,CB,CG,CI,DV,DW,EC,EF,EG,ES,ET,EU,EV,EY,EZ,FA,FF,FG;D=$packages["errors"];Q=$packages["github.com/gopherjs/gopherjs/js"];E=$packages["internal/itoa"];O=$packages["internal/oserror"];J=$packages["internal/poll"];M=$packages["internal/syscall/execenv"];K=$packages["internal/syscall/unix"];F=$packages["internal/testlog"];L=$packages["internal/unsafeheader"];G=$packages["io"];C=$packages["io/fs"];H=$packages["runtime"];P=$packages["sort"];I=$packages["sync"];N=$packages["sync/atomic"];A=$packages["syscall"];B=$packages["time"];R=$pkg.fileStat=$newType(0,$kindStruct,"os.fileStat",true,"os",false,function(name_,size_,mode_,modTime_,sys_){this.$val=this;if(arguments.length===0){this.name="";this.size=new $Int64(0,0);this.mode=0;this.modTime=new B.Time.ptr(new $Uint64(0,0),new $Int64(0,0),FS.nil);this.sys=new A.Stat_t.ptr(new $Int64(0,0),new $Uint64(0,0),0,0,0,0,new $Int64(0,0),new $Int64(0,0),0,0,new $Int64(0,0),new $Int64(0,0),new $Int64(0,0),new $Int64(0,0),new $Int64(0,0),new $Int64(0,0));return;}this.name=name_;this.size=size_;this.mode=mode_;this.modTime=modTime_;this.sys=sys_;});U=$pkg.File=$newType(0,$kindStruct,"os.File",true,"os",true,function(file_){this.$val=this;if(arguments.length===0){this.file=GB.nil;return;}this.file=file_;});AR=$pkg.rawConn=$newType(0,$kindStruct,"os.rawConn",true,"os",false,function(file_){this.$val=this;if(arguments.length===0){this.file=FQ.nil;return;}this.file=file_;});BM=$pkg.file=$newType(0,$kindStruct,"os.file",true,"os",false,function(pfd_,name_,dirinfo_,nonblock_,stdoutOrErr_,appendMode_){this.$val=this;if(arguments.length===0){this.pfd=new J.FD.ptr(new J.fdMutex.ptr(new $Uint64(0,0),0,0),0,new J.pollDesc.ptr(FX.nil,false),FZ.nil,0,0,false,false,false);this.name="";this.dirinfo=GA.nil;this.nonblock=false;this.stdoutOrErr=false;this.appendMode=false;return;}this.pfd=pfd_;this.name=name_;this.dirinfo=dirinfo_;this.nonblock=nonblock_;this.stdoutOrErr=stdoutOrErr_;this.appendMode=appendMode_;});BY=$pkg.unixDirent=$newType(0,$kindStruct,"os.unixDirent",true,"os",false,function(parent_,name_,typ_,info_){this.$val=this;if(arguments.length===0){this.parent="";this.name="";this.typ=0;this.info=$ifaceNil;return;}this.parent=parent_;this.name=name_;this.typ=typ_;this.info=info_;});CH=$pkg.LinkError=$newType(0,$kindStruct,"os.LinkError",true,"os",true,function(Op_,Old_,New_,Err_){this.$val=this;if(arguments.length===0){this.Op="";this.Old="";this.New="";this.Err=$ifaceNil;return;}this.Op=Op_;this.Old=Old_;this.New=New_;this.Err=Err_;});CJ=$pkg.onlyWriter=$newType(0,$kindStruct,"os.onlyWriter",true,"os",false,function(Writer_){this.$val=this;if(arguments.length===0){this.Writer=$ifaceNil;return;}this.Writer=Writer_;});DX=$pkg.timeout=$newType(8,$kindInterface,"os.timeout",true,"os",false,null);DZ=$pkg.SyscallError=$newType(0,$kindStruct,"os.SyscallError",true,"os",true,function(Syscall_,Err_){this.$val=this;if(arguments.length===0){this.Syscall="";this.Err=$ifaceNil;return;}this.Syscall=Syscall_;this.Err=Err_;});EW=$pkg.dirInfo=$newType(0,$kindStruct,"os.dirInfo",true,"os",false,function(buf_,nbuf_,bufp_){this.$val=this;if(arguments.length===0){this.buf=FO.nil;this.nbuf=0;this.bufp=0;return;}this.buf=buf_;this.nbuf=nbuf_;this.bufp=bufp_;});FB=$pkg.readdirMode=$newType(4,$kindInt,"os.readdirMode",true,"os",false,null);FK=$sliceType($String);FM=$sliceType($emptyInterface);FN=$sliceType($Uint8);FO=$ptrType(FN);FP=$ptrType(R);FQ=$ptrType(U);FS=$ptrType(B.Location);FU=$ptrType(C.PathError);FX=$ptrType(J.FD);FY=$sliceType(A.Iovec);FZ=$ptrType(FY);GA=$ptrType(EW);GB=$ptrType(BM);GC=$funcType([GB],[$error],false);GO=$ptrType(CH);GP=$ptrType(DZ);GQ=$sliceType(C.DirEntry);GR=$sliceType(C.FileInfo);GS=$funcType([$Uintptr],[],false);GT=$funcType([$Uintptr],[$Bool],false);GU=$ptrType(AR);GV=$ptrType(BY);R.ptr.prototype.Size=function(){var h;h=this;return h.size;};R.prototype.Size=function(){return this.$val.Size();};R.ptr.prototype.Mode=function(){var h;h=this;return h.mode;};R.prototype.Mode=function(){return this.$val.Mode();};R.ptr.prototype.ModTime=function(){var h;h=this;return h.modTime;};R.prototype.ModTime=function(){return this.$val.ModTime();};R.ptr.prototype.Sys=function(){var h;h=this;return h.sys;};R.prototype.Sys=function(){return this.$val.Sys();};R.ptr.prototype.Name=function(){var h;h=this;return h.name;};R.prototype.Name=function(){return this.$val.Name();};R.ptr.prototype.IsDir=function(){var h;h=this;return new C.FileMode(h.Mode()).IsDir();};R.prototype.IsDir=function(){return this.$val.IsDir();};U.ptr.prototype.Stat=function(){var{h,i,j,k,$s,$r,$c}=$restore(this,{});$s=$s||0;s:while(true){switch($s){case 0:h=[h];i=this;if(i===FQ.nil){$s=-1;return[$ifaceNil,$pkg.ErrInvalid];}h[0]=new R.ptr("",new $Int64(0,0),0,new B.Time.ptr(new $Uint64(0,0),new $Int64(0,0),FS.nil),new A.Stat_t.ptr(new $Int64(0,0),new $Uint64(0,0),0,0,0,0,new $Int64(0,0),new $Int64(0,0),0,0,new $Int64(0,0),new $Int64(0,0),new $Int64(0,0),new $Int64(0,0),new $Int64(0,0),new $Int64(0,0)));j=i.file.pfd.Fstat(h[0].sys);$s=1;case 1:if($c){$c=false;j=j.$blk();}if(j&&j.$blk!==undefined){break s;}k=j;if(!($interfaceIsEqual(k,$ifaceNil))){$s=-1;return[$ifaceNil,new C.PathError.ptr("stat",i.file.name,k)];}AL(h[0],i.file.name);$s=-1;return[h[0],$ifaceNil];}return;}var $f={$blk:U.ptr.prototype.Stat,$c:true,$r,h,i,j,k,$s};return $f;};U.prototype.Stat=function(){return this.$val.Stat();};AK=function(h){var{h,i,j,k,$s,$r,$c}=$restore(this,{h});$s=$s||0;s:while(true){switch($s){case 0:h=[h];i=[i];i[0]=new R.ptr("",new $Int64(0,0),0,new B.Time.ptr(new $Uint64(0,0),new $Int64(0,0),FS.nil),new A.Stat_t.ptr(new $Int64(0,0),new $Uint64(0,0),0,0,0,0,new $Int64(0,0),new $Int64(0,0),0,0,new $Int64(0,0),new $Int64(0,0),new $Int64(0,0),new $Int64(0,0),new $Int64(0,0),new $Int64(0,0)));j=CG((function(h,i){return function $b(){var{j,k,$s,$r,$c}=$restore(this,{});$s=$s||0;s:while(true){switch($s){case 0:j=A.Lstat(h[0],i[0].sys);$s=1;case 1:if($c){$c=false;j=j.$blk();}if(j&&j.$blk!==undefined){break s;}k=j;$s=2;case 2:return k;}return;}var $f={$blk:$b,$c:true,$r,j,k,$s};return $f;};})(h,i));$s=1;case 1:if($c){$c=false;j=j.$blk();}if(j&&j.$blk!==undefined){break s;}k=j;if(!($interfaceIsEqual(k,$ifaceNil))){$s=-1;return[$ifaceNil,new C.PathError.ptr("lstat",h[0],k)];}AL(i[0],h[0]);$s=-1;return[i[0],$ifaceNil];}return;}var $f={$blk:AK,$c:true,$r,h,i,j,k,$s};return $f;};AL=function(h,i){var h,i,j;h.name=BC(i);h.size=h.sys.Size;B.Time.copy(h.modTime,AM(h.sys.Mtime,h.sys.MtimeNsec));h.mode=((((h.sys.Mode&511)>>>0)>>>0));j=(h.sys.Mode&126976)>>>0;if(j===(24576)){h.mode=(h.mode|(67108864))>>>0;}else if(j===(8192)){h.mode=(h.mode|(69206016))>>>0;}else if(j===(16384)){h.mode=(h.mode|(2147483648))>>>0;}else if(j===(4096)){h.mode=(h.mode|(33554432))>>>0;}else if(j===(40960)){h.mode=(h.mode|(134217728))>>>0;}else if(j===(32768)){}else if(j===(49152)){h.mode=(h.mode|(16777216))>>>0;}if(!((((h.sys.Mode&1024)>>>0)===0))){h.mode=(h.mode|(4194304))>>>0;}if(!((((h.sys.Mode&2048)>>>0)===0))){h.mode=(h.mode|(8388608))>>>0;}if(!((((h.sys.Mode&512)>>>0)===0))){h.mode=(h.mode|(1048576))>>>0;}};AM=function(h,i){var h,i;return B.Unix(h,i);};AP=function(h){var{h,i,j,$s,$r,$c}=$restore(this,{h});$s=$s||0;s:while(true){switch($s){case 0:$r=F.Stat(h);$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}i=AK(h);$s=2;case 2:if($c){$c=false;i=i.$blk();}if(i&&i.$blk!==undefined){break s;}j=i;$s=3;case 3:return j;}return;}var $f={$blk:AP,$c:true,$r,h,i,j,$s};return $f;};$pkg.Lstat=AP;U.ptr.prototype.readFrom=function(h){var h,i,j,k,l,m,n,o;i=new $Int64(0,0);j=false;k=$ifaceNil;l=this;m=new $Int64(0,0);n=false;o=$ifaceNil;i=m;j=n;k=o;return[i,j,k];};U.prototype.readFrom=function(h){return this.$val.readFrom(h);};AR.ptr.prototype.Control=function(h){var{h,i,j,k,l,$s,$r,$c}=$restore(this,{h});$s=$s||0;s:while(true){switch($s){case 0:i=this;j=i.file.checkValid("SyscallConn.Control");if(!($interfaceIsEqual(j,$ifaceNil))){$s=-1;return j;}k=i.file.file.pfd.RawControl(h);$s=1;case 1:if($c){$c=false;k=k.$blk();}if(k&&k.$blk!==undefined){break s;}l=k;H.KeepAlive(i.file);$s=-1;return l;}return;}var $f={$blk:AR.ptr.prototype.Control,$c:true,$r,h,i,j,k,l,$s};return $f;};AR.prototype.Control=function(h){return this.$val.Control(h);};AR.ptr.prototype.Read=function(h){var{h,i,j,k,l,$s,$r,$c}=$restore(this,{h});$s=$s||0;s:while(true){switch($s){case 0:i=this;j=i.file.checkValid("SyscallConn.Read");if(!($interfaceIsEqual(j,$ifaceNil))){$s=-1;return j;}k=i.file.file.pfd.RawRead(h);$s=1;case 1:if($c){$c=false;k=k.$blk();}if(k&&k.$blk!==undefined){break s;}l=k;H.KeepAlive(i.file);$s=-1;return l;}return;}var $f={$blk:AR.ptr.prototype.Read,$c:true,$r,h,i,j,k,l,$s};return $f;};AR.prototype.Read=function(h){return this.$val.Read(h);};AR.ptr.prototype.Write=function(h){var{h,i,j,k,l,$s,$r,$c}=$restore(this,{h});$s=$s||0;s:while(true){switch($s){case 0:i=this;j=i.file.checkValid("SyscallConn.Write");if(!($interfaceIsEqual(j,$ifaceNil))){$s=-1;return j;}k=i.file.file.pfd.RawWrite(h);$s=1;case 1:if($c){$c=false;k=k.$blk();}if(k&&k.$blk!==undefined){break s;}l=k;H.KeepAlive(i.file);$s=-1;return l;}return;}var $f={$blk:AR.ptr.prototype.Write,$c:true,$r,h,i,j,k,l,$s};return $f;};AR.prototype.Write=function(h){return this.$val.Write(h);};AS=function(h){var h;return[new AR.ptr(h),$ifaceNil];};AT=function(){if(false){return;}$pkg.Args=FF();};BC=function(h){var h,i;i=h.length-1>>0;while(true){if(!(i>0&&(h.charCodeAt(i)===47))){break;}h=$substring(h,0,i);i=i-(1)>>0;}i=i-(1)>>0;while(true){if(!(i>=0)){break;}if(h.charCodeAt(i)===47){h=$substring(h,(i+1>>0));break;}i=i-(1)>>0;}return h;};U.ptr.prototype.Fd=function(){var{h,i,$s,$r,$c}=$restore(this,{});$s=$s||0;s:while(true){switch($s){case 0:h=this;if(h===FQ.nil){$s=-1;return 4294967295;}if(h.file.nonblock){$s=1;continue;}$s=2;continue;case 1:i=h.file.pfd.SetBlocking();$s=3;case 3:if($c){$c=false;i=i.$blk();}if(i&&i.$blk!==undefined){break s;}i;case 2:$s=-1;return((h.file.pfd.Sysfd>>>0));}return;}var $f={$blk:U.ptr.prototype.Fd,$c:true,$r,h,i,$s};return $f;};U.prototype.Fd=function(){return this.$val.Fd();};BN=function(h,i){var{h,i,j,k,l,m,n,o,$s,$r,$c}=$restore(this,{h,i});$s=$s||0;s:while(true){switch($s){case 0:j=0;k=K.IsNonblock(((h>>0)));l=k[0];m=k[1];if($interfaceIsEqual(m,$ifaceNil)&&l){j=3;}n=BP(h,i,j);$s=1;case 1:if($c){$c=false;n=n.$blk();}if(n&&n.$blk!==undefined){break s;}o=n;$s=2;case 2:return o;}return;}var $f={$blk:BN,$c:true,$r,h,i,j,k,l,m,n,o,$s};return $f;};$pkg.NewFile=BN;BP=function(h,i,j){var{h,i,j,k,l,m,n,o,p,q,r,s,t,$s,$r,$c}=$restore(this,{h,i,j});$s=$s||0;s:while(true){switch($s){case 0:k=[k];l=[l];k[0]=((h>>0));if(k[0]<0){$s=-1;return FQ.nil;}m=new U.ptr(new BM.ptr(new J.FD.ptr(new J.fdMutex.ptr(new $Uint64(0,0),0,0),k[0],new J.pollDesc.ptr(FX.nil,false),FZ.nil,0,0,true,true,false),i,GA.nil,false,(k[0]===1)||(k[0]===2),false));n=(j===1)||(j===2)||(j===3);if(j===1){$s=1;continue;}$s=2;continue;case 1:o="js";if(o===("darwin")||o===("ios")||o===("dragonfly")||o===("freebsd")||o===("netbsd")||o===("openbsd")){$s=4;continue;}$s=5;continue;case 4:l[0]=new A.Stat_t.ptr(new $Int64(0,0),new $Uint64(0,0),0,0,0,0,new $Int64(0,0),new $Int64(0,0),0,0,new $Int64(0,0),new $Int64(0,0),new $Int64(0,0),new $Int64(0,0),new $Int64(0,0),new $Int64(0,0));p=CG((function(k,l){return function $b(){var{p,q,$s,$r,$c}=$restore(this,{});$s=$s||0;s:while(true){switch($s){case 0:p=A.Fstat(k[0],l[0]);$s=1;case 1:if($c){$c=false;p=p.$blk();}if(p&&p.$blk!==undefined){break s;}q=p;$s=2;case 2:return q;}return;}var $f={$blk:$b,$c:true,$r,p,q,$s};return $f;};})(k,l));$s=6;case 6:if($c){$c=false;p=p.$blk();}if(p&&p.$blk!==undefined){break s;}q=p;r=(l[0].Mode&126976)>>>0;if($interfaceIsEqual(q,$ifaceNil)&&((r===32768)||(r===16384))){n=false;}if(false&&(r===4096)){n=false;}case 5:case 3:case 2:s=m.file.pfd.Init("file",n);if(!($interfaceIsEqual(s,$ifaceNil))){}else if(n){t=A.SetNonblock(k[0],true);if($interfaceIsEqual(t,$ifaceNil)){m.file.nonblock=true;}}H.SetFinalizer(m.file,new GC($methodExpr(GB,"close")));$s=-1;return m;}return;}var $f={$blk:BP,$c:true,$r,h,i,j,k,l,m,n,o,p,q,r,s,t,$s};return $f;};BQ=function(h,i){var{h,i,$s,$r,$c}=$restore(this,{h,i});$s=$s||0;s:while(true){switch($s){case 0:if($interfaceIsEqual(i,new A.Errno(32))&&h.file.stdoutOrErr){$s=1;continue;}$s=2;continue;case 1:$r=CA();$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return;}return;}var $f={$blk:BQ,$c:true,$r,h,i,$s};return $f;};BM.ptr.prototype.close=function(){var{h,i,j,k,$s,$r,$c}=$restore(this,{});$s=$s||0;s:while(true){switch($s){case 0:h=this;if(h===GB.nil){$s=-1;return new A.Errno(22);}if(!(h.dirinfo===GA.nil)){h.dirinfo.close();h.dirinfo=GA.nil;}i=$ifaceNil;j=h.pfd.Close();$s=1;case 1:if($c){$c=false;j=j.$blk();}if(j&&j.$blk!==undefined){break s;}k=j;if(!($interfaceIsEqual(k,$ifaceNil))){if($interfaceIsEqual(k,J.ErrFileClosing)){k=$pkg.ErrClosed;}i=new C.PathError.ptr("close",h.name,k);}H.SetFinalizer(h,$ifaceNil);$s=-1;return i;}return;}var $f={$blk:BM.ptr.prototype.close,$c:true,$r,h,i,j,k,$s};return $f;};BM.prototype.close=function(){return this.$val.close();};U.ptr.prototype.seek=function(h,i){var{h,i,j,k,l,m,n,o,p,$s,$r,$c}=$restore(this,{h,i});$s=$s||0;s:while(true){switch($s){case 0:j=new $Int64(0,0);k=$ifaceNil;l=this;if(!(l.file.dirinfo===GA.nil)){l.file.dirinfo.close();l.file.dirinfo=GA.nil;}n=l.file.pfd.Seek(h,i);$s=1;case 1:if($c){$c=false;n=n.$blk();}if(n&&n.$blk!==undefined){break s;}m=n;j=m[0];k=m[1];H.KeepAlive(l);o=j;p=k;j=o;k=p;$s=-1;return[j,k];}return;}var $f={$blk:U.ptr.prototype.seek,$c:true,$r,h,i,j,k,l,m,n,o,p,$s};return $f;};U.prototype.seek=function(h,i){return this.$val.seek(h,i);};BY.ptr.prototype.Name=function(){var h;h=this;return h.name;};BY.prototype.Name=function(){return this.$val.Name();};BY.ptr.prototype.IsDir=function(){var h;h=this;return new C.FileMode(h.typ).IsDir();};BY.prototype.IsDir=function(){return this.$val.IsDir();};BY.ptr.prototype.Type=function(){var h;h=this;return h.typ;};BY.prototype.Type=function(){return this.$val.Type();};BY.ptr.prototype.Info=function(){var{h,i,j,$s,$r,$c}=$restore(this,{});$s=$s||0;s:while(true){switch($s){case 0:h=this;if(!($interfaceIsEqual(h.info,$ifaceNil))){$s=-1;return[h.info,$ifaceNil];}i=CR(h.parent+"/"+h.name);$s=1;case 1:if($c){$c=false;i=i.$blk();}if(i&&i.$blk!==undefined){break s;}j=i;$s=2;case 2:return j;}return;}var $f={$blk:BY.ptr.prototype.Info,$c:true,$r,h,i,j,$s};return $f;};BY.prototype.Info=function(){return this.$val.Info();};BZ=function(h,i,j){var{h,i,j,k,l,m,n,o,p,q,$s,$r,$c}=$restore(this,{h,i,j});$s=$s||0;s:while(true){switch($s){case 0:k=new BY.ptr(h,i,j,$ifaceNil);if(!((j===4294967295))&&!FD){$s=-1;return[k,$ifaceNil];}m=CR(h+"/"+i);$s=1;case 1:if($c){$c=false;m=m.$blk();}if(m&&m.$blk!==undefined){break s;}l=m;n=l[0];o=l[1];if(!($interfaceIsEqual(o,$ifaceNil))){$s=-1;return[$ifaceNil,o];}p=n.Mode();$s=2;case 2:if($c){$c=false;p=p.$blk();}if(p&&p.$blk!==undefined){break s;}q=new C.FileMode(p).Type();$s=3;case 3:if($c){$c=false;q=q.$blk();}if(q&&q.$blk!==undefined){break s;}k.typ=q;k.info=n;$s=-1;return[k,$ifaceNil];}return;}var $f={$blk:BZ,$c:true,$r,h,i,j,k,l,m,n,o,p,q,$s};return $f;};CA=function(){$throwRuntimeError("native function not implemented: os.sigpipe");};U.ptr.prototype.Close=function(){var{h,i,j,$s,$r,$c}=$restore(this,{});$s=$s||0;s:while(true){switch($s){case 0:h=this;if(h===FQ.nil){$s=-1;return $pkg.ErrInvalid;}i=h.file.close();$s=1;case 1:if($c){$c=false;i=i.$blk();}if(i&&i.$blk!==undefined){break s;}j=i;$s=2;case 2:return j;}return;}var $f={$blk:U.ptr.prototype.Close,$c:true,$r,h,i,j,$s};return $f;};U.prototype.Close=function(){return this.$val.Close();};U.ptr.prototype.read=function(h){var{h,i,j,k,l,m,n,o,$s,$r,$c}=$restore(this,{h});$s=$s||0;s:while(true){switch($s){case 0:i=0;j=$ifaceNil;k=this;m=k.file.pfd.Read(h);$s=1;case 1:if($c){$c=false;m=m.$blk();}if(m&&m.$blk!==undefined){break s;}l=m;i=l[0];j=l[1];H.KeepAlive(k);n=i;o=j;i=n;j=o;$s=-1;return[i,j];}return;}var $f={$blk:U.ptr.prototype.read,$c:true,$r,h,i,j,k,l,m,n,o,$s};return $f;};U.prototype.read=function(h){return this.$val.read(h);};U.ptr.prototype.pread=function(h,i){var{h,i,j,k,l,m,n,o,p,$s,$r,$c}=$restore(this,{h,i});$s=$s||0;s:while(true){switch($s){case 0:j=0;k=$ifaceNil;l=this;n=l.file.pfd.Pread(h,i);$s=1;case 1:if($c){$c=false;n=n.$blk();}if(n&&n.$blk!==undefined){break s;}m=n;j=m[0];k=m[1];H.KeepAlive(l);o=j;p=k;j=o;k=p;$s=-1;return[j,k];}return;}var $f={$blk:U.ptr.prototype.pread,$c:true,$r,h,i,j,k,l,m,n,o,p,$s};return $f;};U.prototype.pread=function(h,i){return this.$val.pread(h,i);};U.ptr.prototype.write=function(h){var{h,i,j,k,l,m,n,o,$s,$r,$c}=$restore(this,{h});$s=$s||0;s:while(true){switch($s){case 0:i=0;j=$ifaceNil;k=this;m=k.file.pfd.Write(h);$s=1;case 1:if($c){$c=false;m=m.$blk();}if(m&&m.$blk!==undefined){break s;}l=m;i=l[0];j=l[1];H.KeepAlive(k);n=i;o=j;i=n;j=o;$s=-1;return[i,j];}return;}var $f={$blk:U.ptr.prototype.write,$c:true,$r,h,i,j,k,l,m,n,o,$s};return $f;};U.prototype.write=function(h){return this.$val.write(h);};U.ptr.prototype.pwrite=function(h,i){var{h,i,j,k,l,m,n,o,p,$s,$r,$c}=$restore(this,{h,i});$s=$s||0;s:while(true){switch($s){case 0:j=0;k=$ifaceNil;l=this;n=l.file.pfd.Pwrite(h,i);$s=1;case 1:if($c){$c=false;n=n.$blk();}if(n&&n.$blk!==undefined){break s;}m=n;j=m[0];k=m[1];H.KeepAlive(l);o=j;p=k;j=o;k=p;$s=-1;return[j,k];}return;}var $f={$blk:U.ptr.prototype.pwrite,$c:true,$r,h,i,j,k,l,m,n,o,p,$s};return $f;};U.prototype.pwrite=function(h,i){return this.$val.pwrite(h,i);};CB=function(h){var h,i;i=0;i=(i|(((new C.FileMode(h).Perm()>>>0))))>>>0;if(!((((h&8388608)>>>0)===0))){i=(i|(2048))>>>0;}if(!((((h&4194304)>>>0)===0))){i=(i|(1024))>>>0;}if(!((((h&1048576)>>>0)===0))){i=(i|(512))>>>0;}return i;};U.ptr.prototype.chmod=function(h){var{h,i,j,k,l,$s,$r,$c}=$restore(this,{h});$s=$s||0;s:while(true){switch($s){case 0:i=this;j=i.checkValid("chmod");if(!($interfaceIsEqual(j,$ifaceNil))){$s=-1;return j;}k=i.file.pfd.Fchmod(CB(h));$s=1;case 1:if($c){$c=false;k=k.$blk();}if(k&&k.$blk!==undefined){break s;}l=k;if(!($interfaceIsEqual(l,$ifaceNil))){$s=-1;return i.wrapErr("chmod",l);}$s=-1;return $ifaceNil;}return;}var $f={$blk:U.ptr.prototype.chmod,$c:true,$r,h,i,j,k,l,$s};return $f;};U.prototype.chmod=function(h){return this.$val.chmod(h);};U.ptr.prototype.Chown=function(h,i){var{h,i,j,k,l,m,$s,$r,$c}=$restore(this,{h,i});$s=$s||0;s:while(true){switch($s){case 0:j=this;k=j.checkValid("chown");if(!($interfaceIsEqual(k,$ifaceNil))){$s=-1;return k;}l=j.file.pfd.Fchown(h,i);$s=1;case 1:if($c){$c=false;l=l.$blk();}if(l&&l.$blk!==undefined){break s;}m=l;if(!($interfaceIsEqual(m,$ifaceNil))){$s=-1;return j.wrapErr("chown",m);}$s=-1;return $ifaceNil;}return;}var $f={$blk:U.ptr.prototype.Chown,$c:true,$r,h,i,j,k,l,m,$s};return $f;};U.prototype.Chown=function(h,i){return this.$val.Chown(h,i);};U.ptr.prototype.Truncate=function(h){var{h,i,j,k,l,$s,$r,$c}=$restore(this,{h});$s=$s||0;s:while(true){switch($s){case 0:i=this;j=i.checkValid("truncate");if(!($interfaceIsEqual(j,$ifaceNil))){$s=-1;return j;}k=i.file.pfd.Ftruncate(h);$s=1;case 1:if($c){$c=false;k=k.$blk();}if(k&&k.$blk!==undefined){break s;}l=k;if(!($interfaceIsEqual(l,$ifaceNil))){$s=-1;return i.wrapErr("truncate",l);}$s=-1;return $ifaceNil;}return;}var $f={$blk:U.ptr.prototype.Truncate,$c:true,$r,h,i,j,k,l,$s};return $f;};U.prototype.Truncate=function(h){return this.$val.Truncate(h);};U.ptr.prototype.Sync=function(){var{h,i,j,k,$s,$r,$c}=$restore(this,{});$s=$s||0;s:while(true){switch($s){case 0:h=this;i=h.checkValid("sync");if(!($interfaceIsEqual(i,$ifaceNil))){$s=-1;return i;}j=h.file.pfd.Fsync();$s=1;case 1:if($c){$c=false;j=j.$blk();}if(j&&j.$blk!==undefined){break s;}k=j;if(!($interfaceIsEqual(k,$ifaceNil))){$s=-1;return h.wrapErr("sync",k);}$s=-1;return $ifaceNil;}return;}var $f={$blk:U.ptr.prototype.Sync,$c:true,$r,h,i,j,k,$s};return $f;};U.prototype.Sync=function(){return this.$val.Sync();};U.ptr.prototype.Chdir=function(){var{h,i,j,k,$s,$r,$c}=$restore(this,{});$s=$s||0;s:while(true){switch($s){case 0:h=this;i=h.checkValid("chdir");if(!($interfaceIsEqual(i,$ifaceNil))){$s=-1;return i;}j=h.file.pfd.Fchdir();$s=1;case 1:if($c){$c=false;j=j.$blk();}if(j&&j.$blk!==undefined){break s;}k=j;if(!($interfaceIsEqual(k,$ifaceNil))){$s=-1;return h.wrapErr("chdir",k);}$s=-1;return $ifaceNil;}return;}var $f={$blk:U.ptr.prototype.Chdir,$c:true,$r,h,i,j,k,$s};return $f;};U.prototype.Chdir=function(){return this.$val.Chdir();};U.ptr.prototype.setDeadline=function(h){var{h,i,j,k,l,$s,$r,$c}=$restore(this,{h});$s=$s||0;s:while(true){switch($s){case 0:i=this;j=i.checkValid("SetDeadline");if(!($interfaceIsEqual(j,$ifaceNil))){$s=-1;return j;}k=i.file.pfd.SetDeadline($clone(h,B.Time));$s=1;case 1:if($c){$c=false;k=k.$blk();}if(k&&k.$blk!==undefined){break s;}l=k;$s=2;case 2:return l;}return;}var $f={$blk:U.ptr.prototype.setDeadline,$c:true,$r,h,i,j,k,l,$s};return $f;};U.prototype.setDeadline=function(h){return this.$val.setDeadline(h);};U.ptr.prototype.setReadDeadline=function(h){var{h,i,j,k,l,$s,$r,$c}=$restore(this,{h});$s=$s||0;s:while(true){switch($s){case 0:i=this;j=i.checkValid("SetReadDeadline");if(!($interfaceIsEqual(j,$ifaceNil))){$s=-1;return j;}k=i.file.pfd.SetReadDeadline($clone(h,B.Time));$s=1;case 1:if($c){$c=false;k=k.$blk();}if(k&&k.$blk!==undefined){break s;}l=k;$s=2;case 2:return l;}return;}var $f={$blk:U.ptr.prototype.setReadDeadline,$c:true,$r,h,i,j,k,l,$s};return $f;};U.prototype.setReadDeadline=function(h){return this.$val.setReadDeadline(h);};U.ptr.prototype.setWriteDeadline=function(h){var{h,i,j,k,l,$s,$r,$c}=$restore(this,{h});$s=$s||0;s:while(true){switch($s){case 0:i=this;j=i.checkValid("SetWriteDeadline");if(!($interfaceIsEqual(j,$ifaceNil))){$s=-1;return j;}k=i.file.pfd.SetWriteDeadline($clone(h,B.Time));$s=1;case 1:if($c){$c=false;k=k.$blk();}if(k&&k.$blk!==undefined){break s;}l=k;$s=2;case 2:return l;}return;}var $f={$blk:U.ptr.prototype.setWriteDeadline,$c:true,$r,h,i,j,k,l,$s};return $f;};U.prototype.setWriteDeadline=function(h){return this.$val.setWriteDeadline(h);};U.ptr.prototype.checkValid=function(h){var h,i;i=this;if(i===FQ.nil){return $pkg.ErrInvalid;}return $ifaceNil;};U.prototype.checkValid=function(h){return this.$val.checkValid(h);};CG=function(h){var{h,i,j,$s,$r,$c}=$restore(this,{h});$s=$s||0;s:while(true){switch($s){case 0:case 1:i=h();$s=3;case 3:if($c){$c=false;i=i.$blk();}if(i&&i.$blk!==undefined){break s;}j=i;if(!($interfaceIsEqual(j,new A.Errno(4)))){$s=-1;return j;}$s=1;continue;case 2:$s=-1;return $ifaceNil;}return;}var $f={$blk:CG,$c:true,$r,h,i,j,$s};return $f;};U.ptr.prototype.Name=function(){var h;h=this;return h.file.name;};U.prototype.Name=function(){return this.$val.Name();};CH.ptr.prototype.Error=function(){var{h,i,j,$s,$r,$c}=$restore(this,{});$s=$s||0;s:while(true){switch($s){case 0:h=this;i=h.Err.Error();$s=1;case 1:if($c){$c=false;i=i.$blk();}if(i&&i.$blk!==undefined){break s;}j=h.Op+" "+h.Old+" "+h.New+": "+i;$s=2;case 2:return j;}return;}var $f={$blk:CH.ptr.prototype.Error,$c:true,$r,h,i,j,$s};return $f;};CH.prototype.Error=function(){return this.$val.Error();};CH.ptr.prototype.Unwrap=function(){var h;h=this;return h.Err;};CH.prototype.Unwrap=function(){return this.$val.Unwrap();};U.ptr.prototype.Read=function(h){var{h,i,j,k,l,m,n,o,p,q,r,s,$s,$r,$c}=$restore(this,{h});$s=$s||0;s:while(true){switch($s){case 0:i=0;j=$ifaceNil;k=this;l=k.checkValid("read");if(!($interfaceIsEqual(l,$ifaceNil))){m=0;n=l;i=m;j=n;$s=-1;return[i,j];}p=k.read(h);$s=1;case 1:if($c){$c=false;p=p.$blk();}if(p&&p.$blk!==undefined){break s;}o=p;i=o[0];q=o[1];r=i;s=k.wrapErr("read",q);i=r;j=s;$s=-1;return[i,j];}return;}var $f={$blk:U.ptr.prototype.Read,$c:true,$r,h,i,j,k,l,m,n,o,p,q,r,s,$s};return $f;};U.prototype.Read=function(h){return this.$val.Read(h);};U.ptr.prototype.ReadAt=function(h,i){var{h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,$s,$r,$c}=$restore(this,{h,i});$s=$s||0;s:while(true){switch($s){case 0:j=0;k=$ifaceNil;l=this;m=l.checkValid("read");if(!($interfaceIsEqual(m,$ifaceNil))){n=0;o=m;j=n;k=o;$s=-1;return[j,k];}if((i.$high<0||(i.$high===0&&i.$low<0))){p=0;q=new C.PathError.ptr("readat",l.file.name,D.New("negative offset"));j=p;k=q;$s=-1;return[j,k];}case 1:if(!(h.$length>0)){$s=2;continue;}s=l.pread(h,i);$s=3;case 3:if($c){$c=false;s=s.$blk();}if(s&&s.$blk!==undefined){break s;}r=s;t=r[0];u=r[1];if(!($interfaceIsEqual(u,$ifaceNil))){k=l.wrapErr("read",u);$s=2;continue;}j=j+(t)>>0;h=$subslice(h,t);i=(v=(new $Int64(0,t)),new $Int64(i.$high+v.$high,i.$low+v.$low));$s=1;continue;case 2:$s=-1;return[j,k];}return;}var $f={$blk:U.ptr.prototype.ReadAt,$c:true,$r,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,$s};return $f;};U.prototype.ReadAt=function(h,i){return this.$val.ReadAt(h,i);};U.ptr.prototype.ReadFrom=function(h){var{h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,$s,$r,$c}=$restore(this,{h});$s=$s||0;s:while(true){switch($s){case 0:i=new $Int64(0,0);j=$ifaceNil;k=this;l=k.checkValid("write");if(!($interfaceIsEqual(l,$ifaceNil))){m=new $Int64(0,0);n=l;i=m;j=n;$s=-1;return[i,j];}o=k.readFrom(h);i=o[0];p=o[1];q=o[2];if(!p){$s=1;continue;}$s=2;continue;case 1:s=CI(k,h);$s=3;case 3:if($c){$c=false;s=s.$blk();}if(s&&s.$blk!==undefined){break s;}r=s;i=r[0];j=r[1];t=[i,j];$s=4;case 4:return t;case 2:u=i;v=k.wrapErr("write",q);i=u;j=v;$s=-1;return[i,j];}return;}var $f={$blk:U.ptr.prototype.ReadFrom,$c:true,$r,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,$s};return $f;};U.prototype.ReadFrom=function(h){return this.$val.ReadFrom(h);};CI=function(h,i){var{h,i,j,k,l,$s,$r,$c}=$restore(this,{h,i});$s=$s||0;s:while(true){switch($s){case 0:k=G.Copy((j=new CJ.ptr(h),new j.constructor.elem(j)),i);$s=1;case 1:if($c){$c=false;k=k.$blk();}if(k&&k.$blk!==undefined){break s;}l=k;$s=2;case 2:return l;}return;}var $f={$blk:CI,$c:true,$r,h,i,j,k,l,$s};return $f;};U.ptr.prototype.Write=function(h){var{h,i,j,k,l,m,n,o,p,q,r,s,$s,$r,$c}=$restore(this,{h});$s=$s||0;s:while(true){switch($s){case 0:i=0;j=$ifaceNil;k=this;l=k.checkValid("write");if(!($interfaceIsEqual(l,$ifaceNil))){m=0;n=l;i=m;j=n;$s=-1;return[i,j];}p=k.write(h);$s=1;case 1:if($c){$c=false;p=p.$blk();}if(p&&p.$blk!==undefined){break s;}o=p;i=o[0];q=o[1];if(i<0){i=0;}if(!((i===h.$length))){j=G.ErrShortWrite;}$r=BQ(k,q);$s=2;case 2:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if(!($interfaceIsEqual(q,$ifaceNil))){j=k.wrapErr("write",q);}r=i;s=j;i=r;j=s;$s=-1;return[i,j];}return;}var $f={$blk:U.ptr.prototype.Write,$c:true,$r,h,i,j,k,l,m,n,o,p,q,r,s,$s};return $f;};U.prototype.Write=function(h){return this.$val.Write(h);};U.ptr.prototype.WriteAt=function(h,i){var{h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,$s,$r,$c}=$restore(this,{h,i});$s=$s||0;s:while(true){switch($s){case 0:j=0;k=$ifaceNil;l=this;m=l.checkValid("write");if(!($interfaceIsEqual(m,$ifaceNil))){n=0;o=m;j=n;k=o;$s=-1;return[j,k];}if(l.file.appendMode){p=0;q=CK;j=p;k=q;$s=-1;return[j,k];}if((i.$high<0||(i.$high===0&&i.$low<0))){r=0;s=new C.PathError.ptr("writeat",l.file.name,D.New("negative offset"));j=r;k=s;$s=-1;return[j,k];}case 1:if(!(h.$length>0)){$s=2;continue;}u=l.pwrite(h,i);$s=3;case 3:if($c){$c=false;u=u.$blk();}if(u&&u.$blk!==undefined){break s;}t=u;v=t[0];w=t[1];if(!($interfaceIsEqual(w,$ifaceNil))){k=l.wrapErr("write",w);$s=2;continue;}j=j+(v)>>0;h=$subslice(h,v);i=(x=(new $Int64(0,v)),new $Int64(i.$high+x.$high,i.$low+x.$low));$s=1;continue;case 2:$s=-1;return[j,k];}return;}var $f={$blk:U.ptr.prototype.WriteAt,$c:true,$r,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,$s};return $f;};U.prototype.WriteAt=function(h,i){return this.$val.WriteAt(h,i);};U.ptr.prototype.Seek=function(h,i){var{h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,$s,$r,$c}=$restore(this,{h,i});$s=$s||0;s:while(true){switch($s){case 0:j=new $Int64(0,0);k=$ifaceNil;l=this;m=l.checkValid("seek");if(!($interfaceIsEqual(m,$ifaceNil))){n=new $Int64(0,0);o=m;j=n;k=o;$s=-1;return[j,k];}q=l.seek(h,i);$s=1;case 1:if($c){$c=false;q=q.$blk();}if(q&&q.$blk!==undefined){break s;}p=q;r=p[0];s=p[1];if($interfaceIsEqual(s,$ifaceNil)&&!(l.file.dirinfo===GA.nil)&&!((r.$high===0&&r.$low===0))){s=new A.Errno(21);}if(!($interfaceIsEqual(s,$ifaceNil))){t=new $Int64(0,0);u=l.wrapErr("seek",s);j=t;k=u;$s=-1;return[j,k];}v=r;w=$ifaceNil;j=v;k=w;$s=-1;return[j,k];}return;}var $f={$blk:U.ptr.prototype.Seek,$c:true,$r,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,$s};return $f;};U.prototype.Seek=function(h,i){return this.$val.Seek(h,i);};U.ptr.prototype.wrapErr=function(h,i){var h,i,j;j=this;if($interfaceIsEqual(i,$ifaceNil)||$interfaceIsEqual(i,G.EOF)){return i;}if($interfaceIsEqual(i,J.ErrFileClosing)){i=$pkg.ErrClosed;}return new C.PathError.ptr(h,j.file.name,i);};U.prototype.wrapErr=function(h,i){return this.$val.wrapErr(h,i);};U.ptr.prototype.Chmod=function(h){var{h,i,j,k,$s,$r,$c}=$restore(this,{h});$s=$s||0;s:while(true){switch($s){case 0:i=this;j=i.chmod(h);$s=1;case 1:if($c){$c=false;j=j.$blk();}if(j&&j.$blk!==undefined){break s;}k=j;$s=2;case 2:return k;}return;}var $f={$blk:U.ptr.prototype.Chmod,$c:true,$r,h,i,j,k,$s};return $f;};U.prototype.Chmod=function(h){return this.$val.Chmod(h);};U.ptr.prototype.SetDeadline=function(h){var{h,i,j,k,$s,$r,$c}=$restore(this,{h});$s=$s||0;s:while(true){switch($s){case 0:i=this;j=i.setDeadline($clone(h,B.Time));$s=1;case 1:if($c){$c=false;j=j.$blk();}if(j&&j.$blk!==undefined){break s;}k=j;$s=2;case 2:return k;}return;}var $f={$blk:U.ptr.prototype.SetDeadline,$c:true,$r,h,i,j,k,$s};return $f;};U.prototype.SetDeadline=function(h){return this.$val.SetDeadline(h);};U.ptr.prototype.SetReadDeadline=function(h){var{h,i,j,k,$s,$r,$c}=$restore(this,{h});$s=$s||0;s:while(true){switch($s){case 0:i=this;j=i.setReadDeadline($clone(h,B.Time));$s=1;case 1:if($c){$c=false;j=j.$blk();}if(j&&j.$blk!==undefined){break s;}k=j;$s=2;case 2:return k;}return;}var $f={$blk:U.ptr.prototype.SetReadDeadline,$c:true,$r,h,i,j,k,$s};return $f;};U.prototype.SetReadDeadline=function(h){return this.$val.SetReadDeadline(h);};U.ptr.prototype.SetWriteDeadline=function(h){var{h,i,j,k,$s,$r,$c}=$restore(this,{h});$s=$s||0;s:while(true){switch($s){case 0:i=this;j=i.setWriteDeadline($clone(h,B.Time));$s=1;case 1:if($c){$c=false;j=j.$blk();}if(j&&j.$blk!==undefined){break s;}k=j;$s=2;case 2:return k;}return;}var $f={$blk:U.ptr.prototype.SetWriteDeadline,$c:true,$r,h,i,j,k,$s};return $f;};U.prototype.SetWriteDeadline=function(h){return this.$val.SetWriteDeadline(h);};U.ptr.prototype.SyscallConn=function(){var h,i,j;h=this;i=h.checkValid("SyscallConn");if(!($interfaceIsEqual(i,$ifaceNil))){return[$ifaceNil,i];}j=AS(h);return[j[0],j[1]];};U.prototype.SyscallConn=function(){return this.$val.SyscallConn();};DV=function(){return J.ErrNoDeadline;};DW=function(){return J.ErrDeadlineExceeded;};DZ.ptr.prototype.Error=function(){var{h,i,j,$s,$r,$c}=$restore(this,{});$s=$s||0;s:while(true){switch($s){case 0:h=this;i=h.Err.Error();$s=1;case 1:if($c){$c=false;i=i.$blk();}if(i&&i.$blk!==undefined){break s;}j=h.Syscall+": "+i;$s=2;case 2:return j;}return;}var $f={$blk:DZ.ptr.prototype.Error,$c:true,$r,h,i,j,$s};return $f;};DZ.prototype.Error=function(){return this.$val.Error();};DZ.ptr.prototype.Unwrap=function(){var h;h=this;return h.Err;};DZ.prototype.Unwrap=function(){return this.$val.Unwrap();};DZ.ptr.prototype.Timeout=function(){var{h,i,j,k,l,m,n,$s,$r,$c}=$restore(this,{});$s=$s||0;s:while(true){switch($s){case 0:h=this;i=$assertType(h.Err,DX,true);j=i[0];k=i[1];if(!(k)){l=false;$s=1;continue s;}m=j.Timeout();$s=2;case 2:if($c){$c=false;m=m.$blk();}if(m&&m.$blk!==undefined){break s;}l=m;case 1:n=l;$s=3;case 3:return n;}return;}var $f={$blk:DZ.ptr.prototype.Timeout,$c:true,$r,h,i,j,k,l,m,n,$s};return $f;};DZ.prototype.Timeout=function(){return this.$val.Timeout();};EC=function(h){var h;return EF(h,$pkg.ErrNotExist);};$pkg.IsNotExist=EC;EF=function(h,i){var h,i,j,k,l;h=EG(h);if($interfaceIsEqual(h,i)){return true;}j=$assertType(h,A.Errno,true);k=j[0];l=j[1];return l&&new A.Errno(k).Is(i);};EG=function(h){var h,i,j,k,l;i=h;if($assertType(i,FU,true)[1]){j=i.$val;return j.Err;}else if($assertType(i,GO,true)[1]){k=i.$val;return k.Err;}else if($assertType(i,GP,true)[1]){l=i.$val;return l.Err;}return h;};ES=function(h){var h;return[new $Uint64(0,1),true];};ET=function(h){var h;return EY(h,0,2);};EU=function(h){var h,i,j,k;i=ET(h);j=i[0];k=i[1];if(!k){return[new $Uint64(0,0),false];}return[new $Uint64(j.$high-0,j.$low-2),true];};EV=function(h){var h;return 4294967295;};EW.ptr.prototype.close=function(){var h;h=this;if(!(h.buf===FO.nil)){EX.Put(h.buf);h.buf=FO.nil;}};EW.prototype.close=function(){return this.$val.close();};U.ptr.prototype.readdir=function(h,i){var{aa,ab,ac,ad,ae,af,ag,ah,ai,aj,ak,al,am,an,ao,ap,aq,ar,as,at,au,av,aw,ax,ay,az,ba,bb,bc,bd,be,bf,bg,bh,bi,bj,bk,bl,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,$s,$r,$c}=$restore(this,{h,i});$s=$s||0;s:while(true){switch($s){case 0:j=FK.nil;k=GQ.nil;l=GR.nil;m=$ifaceNil;n=this;if(n.file.dirinfo===GA.nil){$s=1;continue;}$s=2;continue;case 1:n.file.dirinfo=new EW.ptr(FO.nil,0,0);o=EX.Get();$s=3;case 3:if($c){$c=false;o=o.$blk();}if(o&&o.$blk!==undefined){break s;}n.file.dirinfo.buf=$assertType(o,FO);case 2:p=n.file.dirinfo;if(h===0){h=-1;}case 4:if(!(!((h===0)))){$s=5;continue;}if(p.bufp>=p.nbuf){$s=6;continue;}$s=7;continue;case 6:p.bufp=0;q=$ifaceNil;s=n.file.pfd.ReadDirent(p.buf.$get());$s=8;case 8:if($c){$c=false;s=s.$blk();}if(s&&s.$blk!==undefined){break s;}r=s;p.nbuf=r[0];q=r[1];H.KeepAlive(n);if(!($interfaceIsEqual(q,$ifaceNil))){t=j;u=k;v=l;w=new C.PathError.ptr("readdirent",n.file.name,q);j=t;k=u;l=v;m=w;$s=-1;return[j,k,l,m];}if(p.nbuf<=0){$s=5;continue;}case 7:x=$subslice((p.buf.$get()),p.bufp,p.nbuf);y=ET(x);z=y[0];aa=y[1];if(!aa||(ab=(new $Uint64(0,x.$length)),(z.$high>ab.$high||(z.$high===ab.$high&&z.$low>ab.$low)))){$s=5;continue;}ac=$subslice(x,0,$flatten64(z));p.bufp=p.bufp+(((z.$low>>0)))>>0;ad=ES(ac);ae=ad[0];aa=ad[1];if(!aa){$s=5;continue;}if((ae.$high===0&&ae.$low===0)){$s=4;continue;}af=EU(ac);ag=af[0];aa=af[1];if(!aa||(ah=new $Uint64(0+ag.$high,2+ag.$low),ai=(new $Uint64(0,ac.$length)),(ah.$high>ai.$high||(ah.$high===ai.$high&&ah.$low>ai.$low)))){$s=5;continue;}aj=$subslice(ac,2,$flatten64(new $Uint64(0+ag.$high,2+ag.$low)));ak=aj;al=0;while(true){if(!(al=ak.$length)?($throwRuntimeError("index out of range"),undefined):ak.$array[ak.$offset+al]);if(an===0){aj=$subslice(aj,0,am);break;}al++;}if(($bytesToString(aj))==="."||($bytesToString(aj))===".."){$s=4;continue;}if(h>0){h=h-(1)>>0;}if(i===0){$s=9;continue;}if(i===1){$s=10;continue;}$s=11;continue;case 9:j=$append(j,($bytesToString(aj)));$s=12;continue;case 10:ap=BZ(n.file.name,($bytesToString(aj)),EV(ac));$s=13;case 13:if($c){$c=false;ap=ap.$blk();}if(ap&&ap.$blk!==undefined){break s;}ao=ap;aq=ao[0];ar=ao[1];if(EC(ar)){$s=4;continue;}if(!($interfaceIsEqual(ar,$ifaceNil))){as=FK.nil;at=k;au=GR.nil;av=ar;j=as;k=at;l=au;m=av;$s=-1;return[j,k,l,m];}k=$append(k,aq);$s=12;continue;case 11:ax=CR(n.file.name+"/"+($bytesToString(aj)));$s=14;case 14:if($c){$c=false;ax=ax.$blk();}if(ax&&ax.$blk!==undefined){break s;}aw=ax;ay=aw[0];az=aw[1];if(EC(az)){$s=4;continue;}if(!($interfaceIsEqual(az,$ifaceNil))){ba=FK.nil;bb=GQ.nil;bc=l;bd=az;j=ba;k=bb;l=bc;m=bd;$s=-1;return[j,k,l,m];}l=$append(l,ay);case 12:$s=4;continue;case 5:if(h>0&&(((j.$length+k.$length>>0)+l.$length>>0)===0)){be=FK.nil;bf=GQ.nil;bg=GR.nil;bh=G.EOF;j=be;k=bf;l=bg;m=bh;$s=-1;return[j,k,l,m];}bi=j;bj=k;bk=l;bl=$ifaceNil;j=bi;k=bj;l=bk;m=bl;$s=-1;return[j,k,l,m];}return;}var $f={$blk:U.ptr.prototype.readdir,$c:true,$r,aa,ab,ac,ad,ae,af,ag,ah,ai,aj,ak,al,am,an,ao,ap,aq,ar,as,at,au,av,aw,ax,ay,az,ba,bb,bc,bd,be,bf,bg,bh,bi,bj,bk,bl,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,$s};return $f;};U.prototype.readdir=function(h,i){return this.$val.readdir(h,i);};EY=function(h,i,j){var h,i,j,k,l,m,n,o,p,q,r;k=new $Uint64(0,0);l=false;if(h.$length<(((i+j>>>0)>>0))){m=new $Uint64(0,0);n=false;k=m;l=n;return[k,l];}if(false){o=EZ($subslice(h,i),j);p=true;k=o;l=p;return[k,l];}q=FA($subslice(h,i),j);r=true;k=q;l=r;return[k,l];};EZ=function(h,i){var aa,ab,ac,ad,ae,af,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z;j=i;if(j===(1)){return(new $Uint64(0,(0>=h.$length?($throwRuntimeError("index out of range"),undefined):h.$array[h.$offset+0])));}else if(j===(2)){$unused((1>=h.$length?($throwRuntimeError("index out of range"),undefined):h.$array[h.$offset+1]));return(k=(new $Uint64(0,(1>=h.$length?($throwRuntimeError("index out of range"),undefined):h.$array[h.$offset+1]))),l=$shiftLeft64((new $Uint64(0,(0>=h.$length?($throwRuntimeError("index out of range"),undefined):h.$array[h.$offset+0]))),8),new $Uint64(k.$high|l.$high,(k.$low|l.$low)>>>0));}else if(j===(4)){$unused((3>=h.$length?($throwRuntimeError("index out of range"),undefined):h.$array[h.$offset+3]));return(m=(n=(o=(new $Uint64(0,(3>=h.$length?($throwRuntimeError("index out of range"),undefined):h.$array[h.$offset+3]))),p=$shiftLeft64((new $Uint64(0,(2>=h.$length?($throwRuntimeError("index out of range"),undefined):h.$array[h.$offset+2]))),8),new $Uint64(o.$high|p.$high,(o.$low|p.$low)>>>0)),q=$shiftLeft64((new $Uint64(0,(1>=h.$length?($throwRuntimeError("index out of range"),undefined):h.$array[h.$offset+1]))),16),new $Uint64(n.$high|q.$high,(n.$low|q.$low)>>>0)),r=$shiftLeft64((new $Uint64(0,(0>=h.$length?($throwRuntimeError("index out of range"),undefined):h.$array[h.$offset+0]))),24),new $Uint64(m.$high|r.$high,(m.$low|r.$low)>>>0));}else if(j===(8)){$unused((7>=h.$length?($throwRuntimeError("index out of range"),undefined):h.$array[h.$offset+7]));return(s=(t=(u=(v=(w=(x=(y=(new $Uint64(0,(7>=h.$length?($throwRuntimeError("index out of range"),undefined):h.$array[h.$offset+7]))),z=$shiftLeft64((new $Uint64(0,(6>=h.$length?($throwRuntimeError("index out of range"),undefined):h.$array[h.$offset+6]))),8),new $Uint64(y.$high|z.$high,(y.$low|z.$low)>>>0)),aa=$shiftLeft64((new $Uint64(0,(5>=h.$length?($throwRuntimeError("index out of range"),undefined):h.$array[h.$offset+5]))),16),new $Uint64(x.$high|aa.$high,(x.$low|aa.$low)>>>0)),ab=$shiftLeft64((new $Uint64(0,(4>=h.$length?($throwRuntimeError("index out of range"),undefined):h.$array[h.$offset+4]))),24),new $Uint64(w.$high|ab.$high,(w.$low|ab.$low)>>>0)),ac=$shiftLeft64((new $Uint64(0,(3>=h.$length?($throwRuntimeError("index out of range"),undefined):h.$array[h.$offset+3]))),32),new $Uint64(v.$high|ac.$high,(v.$low|ac.$low)>>>0)),ad=$shiftLeft64((new $Uint64(0,(2>=h.$length?($throwRuntimeError("index out of range"),undefined):h.$array[h.$offset+2]))),40),new $Uint64(u.$high|ad.$high,(u.$low|ad.$low)>>>0)),ae=$shiftLeft64((new $Uint64(0,(1>=h.$length?($throwRuntimeError("index out of range"),undefined):h.$array[h.$offset+1]))),48),new $Uint64(t.$high|ae.$high,(t.$low|ae.$low)>>>0)),af=$shiftLeft64((new $Uint64(0,(0>=h.$length?($throwRuntimeError("index out of range"),undefined):h.$array[h.$offset+0]))),56),new $Uint64(s.$high|af.$high,(s.$low|af.$low)>>>0));}else{$panic(new $String("syscall: readInt with unsupported size"));}};FA=function(h,i){var aa,ab,ac,ad,ae,af,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z;j=i;if(j===(1)){return(new $Uint64(0,(0>=h.$length?($throwRuntimeError("index out of range"),undefined):h.$array[h.$offset+0])));}else if(j===(2)){$unused((1>=h.$length?($throwRuntimeError("index out of range"),undefined):h.$array[h.$offset+1]));return(k=(new $Uint64(0,(0>=h.$length?($throwRuntimeError("index out of range"),undefined):h.$array[h.$offset+0]))),l=$shiftLeft64((new $Uint64(0,(1>=h.$length?($throwRuntimeError("index out of range"),undefined):h.$array[h.$offset+1]))),8),new $Uint64(k.$high|l.$high,(k.$low|l.$low)>>>0));}else if(j===(4)){$unused((3>=h.$length?($throwRuntimeError("index out of range"),undefined):h.$array[h.$offset+3]));return(m=(n=(o=(new $Uint64(0,(0>=h.$length?($throwRuntimeError("index out of range"),undefined):h.$array[h.$offset+0]))),p=$shiftLeft64((new $Uint64(0,(1>=h.$length?($throwRuntimeError("index out of range"),undefined):h.$array[h.$offset+1]))),8),new $Uint64(o.$high|p.$high,(o.$low|p.$low)>>>0)),q=$shiftLeft64((new $Uint64(0,(2>=h.$length?($throwRuntimeError("index out of range"),undefined):h.$array[h.$offset+2]))),16),new $Uint64(n.$high|q.$high,(n.$low|q.$low)>>>0)),r=$shiftLeft64((new $Uint64(0,(3>=h.$length?($throwRuntimeError("index out of range"),undefined):h.$array[h.$offset+3]))),24),new $Uint64(m.$high|r.$high,(m.$low|r.$low)>>>0));}else if(j===(8)){$unused((7>=h.$length?($throwRuntimeError("index out of range"),undefined):h.$array[h.$offset+7]));return(s=(t=(u=(v=(w=(x=(y=(new $Uint64(0,(0>=h.$length?($throwRuntimeError("index out of range"),undefined):h.$array[h.$offset+0]))),z=$shiftLeft64((new $Uint64(0,(1>=h.$length?($throwRuntimeError("index out of range"),undefined):h.$array[h.$offset+1]))),8),new $Uint64(y.$high|z.$high,(y.$low|z.$low)>>>0)),aa=$shiftLeft64((new $Uint64(0,(2>=h.$length?($throwRuntimeError("index out of range"),undefined):h.$array[h.$offset+2]))),16),new $Uint64(x.$high|aa.$high,(x.$low|aa.$low)>>>0)),ab=$shiftLeft64((new $Uint64(0,(3>=h.$length?($throwRuntimeError("index out of range"),undefined):h.$array[h.$offset+3]))),24),new $Uint64(w.$high|ab.$high,(w.$low|ab.$low)>>>0)),ac=$shiftLeft64((new $Uint64(0,(4>=h.$length?($throwRuntimeError("index out of range"),undefined):h.$array[h.$offset+4]))),32),new $Uint64(v.$high|ac.$high,(v.$low|ac.$low)>>>0)),ad=$shiftLeft64((new $Uint64(0,(5>=h.$length?($throwRuntimeError("index out of range"),undefined):h.$array[h.$offset+5]))),40),new $Uint64(u.$high|ad.$high,(u.$low|ad.$low)>>>0)),ae=$shiftLeft64((new $Uint64(0,(6>=h.$length?($throwRuntimeError("index out of range"),undefined):h.$array[h.$offset+6]))),48),new $Uint64(t.$high|ae.$high,(t.$low|ae.$low)>>>0)),af=$shiftLeft64((new $Uint64(0,(7>=h.$length?($throwRuntimeError("index out of range"),undefined):h.$array[h.$offset+7]))),56),new $Uint64(s.$high|af.$high,(s.$low|af.$low)>>>0));}else{$panic(new $String("syscall: readInt with unsupported size"));}};U.ptr.prototype.Readdir=function(h){var{h,i,j,k,l,m,$s,$r,$c}=$restore(this,{h});$s=$s||0;s:while(true){switch($s){case 0:i=this;if(i===FQ.nil){$s=-1;return[GR.nil,$pkg.ErrInvalid];}k=i.readdir(h,2);$s=1;case 1:if($c){$c=false;k=k.$blk();}if(k&&k.$blk!==undefined){break s;}j=k;l=j[2];m=j[3];if(l===GR.nil){l=new GR([]);}$s=-1;return[l,m];}return;}var $f={$blk:U.ptr.prototype.Readdir,$c:true,$r,h,i,j,k,l,m,$s};return $f;};U.prototype.Readdir=function(h){return this.$val.Readdir(h);};U.ptr.prototype.Readdirnames=function(h){var{h,i,j,k,l,m,n,o,p,q,$s,$r,$c}=$restore(this,{h});$s=$s||0;s:while(true){switch($s){case 0:i=FK.nil;j=$ifaceNil;k=this;if(k===FQ.nil){l=FK.nil;m=$pkg.ErrInvalid;i=l;j=m;$s=-1;return[i,j];}o=k.readdir(h,0);$s=1;case 1:if($c){$c=false;o=o.$blk();}if(o&&o.$blk!==undefined){break s;}n=o;i=n[0];j=n[3];if(i===FK.nil){i=new FK([]);}p=i;q=j;i=p;j=q;$s=-1;return[i,j];}return;}var $f={$blk:U.ptr.prototype.Readdirnames,$c:true,$r,h,i,j,k,l,m,n,o,p,q,$s};return $f;};U.prototype.Readdirnames=function(h){return this.$val.Readdirnames(h);};U.ptr.prototype.ReadDir=function(h){var{h,i,j,k,l,m,$s,$r,$c}=$restore(this,{h});$s=$s||0;s:while(true){switch($s){case 0:i=this;if(i===FQ.nil){$s=-1;return[GQ.nil,$pkg.ErrInvalid];}k=i.readdir(h,1);$s=1;case 1:if($c){$c=false;k=k.$blk();}if(k&&k.$blk!==undefined){break s;}j=k;l=j[1];m=j[3];if(l===GQ.nil){l=new GQ([]);}$s=-1;return[l,m];}return;}var $f={$blk:U.ptr.prototype.ReadDir,$c:true,$r,h,i,j,k,l,m,$s};return $f;};U.prototype.ReadDir=function(h){return this.$val.ReadDir(h);};FF=function(){return $pkg.Args;};FG=function(){var h,i,j;h=$global.process;if(!(h===undefined)){i=h.argv;if(!(i===undefined)&&$parseInt(i.length)>=1){$pkg.Args=$makeSlice(FK,($parseInt(i.length)-1>>0));j=0;while(true){if(!(j<($parseInt(i.length)-1>>0))){break;}((j<0||j>=$pkg.Args.$length)?($throwRuntimeError("index out of range"),undefined):$pkg.Args.$array[$pkg.Args.$offset+j]=$internalize(i[(j+1>>0)],$String));j=j+(1)>>0;}}}if($pkg.Args.$length===0){$pkg.Args=new FK(["?"]);}};U.ptr.prototype.WriteString=function(h){var{h,i,j,k,l,m,n,$s,$r,$c}=$restore(this,{h});$s=$s||0;s:while(true){switch($s){case 0:i=0;j=$ifaceNil;k=this;m=k.Write((new FN($stringToBytes(h))));$s=1;case 1:if($c){$c=false;m=m.$blk();}if(m&&m.$blk!==undefined){break s;}l=m;i=l[0];j=l[1];n=[i,j];$s=2;case 2:return n;}return;}var $f={$blk:U.ptr.prototype.WriteString,$c:true,$r,h,i,j,k,l,m,n,$s};return $f;};U.prototype.WriteString=function(h){return this.$val.WriteString(h);};FP.methods=[{prop:"Size",name:"Size",pkg:"",typ:$funcType([],[$Int64],false)},{prop:"Mode",name:"Mode",pkg:"",typ:$funcType([],[C.FileMode],false)},{prop:"ModTime",name:"ModTime",pkg:"",typ:$funcType([],[B.Time],false)},{prop:"Sys",name:"Sys",pkg:"",typ:$funcType([],[$emptyInterface],false)},{prop:"Name",name:"Name",pkg:"",typ:$funcType([],[$String],false)},{prop:"IsDir",name:"IsDir",pkg:"",typ:$funcType([],[$Bool],false)}];FQ.methods=[{prop:"Stat",name:"Stat",pkg:"",typ:$funcType([],[C.FileInfo,$error],false)},{prop:"readFrom",name:"readFrom",pkg:"os",typ:$funcType([G.Reader],[$Int64,$Bool,$error],false)},{prop:"Fd",name:"Fd",pkg:"",typ:$funcType([],[$Uintptr],false)},{prop:"seek",name:"seek",pkg:"os",typ:$funcType([$Int64,$Int],[$Int64,$error],false)},{prop:"Close",name:"Close",pkg:"",typ:$funcType([],[$error],false)},{prop:"read",name:"read",pkg:"os",typ:$funcType([FN],[$Int,$error],false)},{prop:"pread",name:"pread",pkg:"os",typ:$funcType([FN,$Int64],[$Int,$error],false)},{prop:"write",name:"write",pkg:"os",typ:$funcType([FN],[$Int,$error],false)},{prop:"pwrite",name:"pwrite",pkg:"os",typ:$funcType([FN,$Int64],[$Int,$error],false)},{prop:"chmod",name:"chmod",pkg:"os",typ:$funcType([C.FileMode],[$error],false)},{prop:"Chown",name:"Chown",pkg:"",typ:$funcType([$Int,$Int],[$error],false)},{prop:"Truncate",name:"Truncate",pkg:"",typ:$funcType([$Int64],[$error],false)},{prop:"Sync",name:"Sync",pkg:"",typ:$funcType([],[$error],false)},{prop:"Chdir",name:"Chdir",pkg:"",typ:$funcType([],[$error],false)},{prop:"setDeadline",name:"setDeadline",pkg:"os",typ:$funcType([B.Time],[$error],false)},{prop:"setReadDeadline",name:"setReadDeadline",pkg:"os",typ:$funcType([B.Time],[$error],false)},{prop:"setWriteDeadline",name:"setWriteDeadline",pkg:"os",typ:$funcType([B.Time],[$error],false)},{prop:"checkValid",name:"checkValid",pkg:"os",typ:$funcType([$String],[$error],false)},{prop:"Name",name:"Name",pkg:"",typ:$funcType([],[$String],false)},{prop:"Read",name:"Read",pkg:"",typ:$funcType([FN],[$Int,$error],false)},{prop:"ReadAt",name:"ReadAt",pkg:"",typ:$funcType([FN,$Int64],[$Int,$error],false)},{prop:"ReadFrom",name:"ReadFrom",pkg:"",typ:$funcType([G.Reader],[$Int64,$error],false)},{prop:"Write",name:"Write",pkg:"",typ:$funcType([FN],[$Int,$error],false)},{prop:"WriteAt",name:"WriteAt",pkg:"",typ:$funcType([FN,$Int64],[$Int,$error],false)},{prop:"Seek",name:"Seek",pkg:"",typ:$funcType([$Int64,$Int],[$Int64,$error],false)},{prop:"wrapErr",name:"wrapErr",pkg:"os",typ:$funcType([$String,$error],[$error],false)},{prop:"Chmod",name:"Chmod",pkg:"",typ:$funcType([C.FileMode],[$error],false)},{prop:"SetDeadline",name:"SetDeadline",pkg:"",typ:$funcType([B.Time],[$error],false)},{prop:"SetReadDeadline",name:"SetReadDeadline",pkg:"",typ:$funcType([B.Time],[$error],false)},{prop:"SetWriteDeadline",name:"SetWriteDeadline",pkg:"",typ:$funcType([B.Time],[$error],false)},{prop:"SyscallConn",name:"SyscallConn",pkg:"",typ:$funcType([],[A.RawConn,$error],false)},{prop:"readdir",name:"readdir",pkg:"os",typ:$funcType([$Int,FB],[FK,GQ,GR,$error],false)},{prop:"Readdir",name:"Readdir",pkg:"",typ:$funcType([$Int],[GR,$error],false)},{prop:"Readdirnames",name:"Readdirnames",pkg:"",typ:$funcType([$Int],[FK,$error],false)},{prop:"ReadDir",name:"ReadDir",pkg:"",typ:$funcType([$Int],[GQ,$error],false)},{prop:"WriteString",name:"WriteString",pkg:"",typ:$funcType([$String],[$Int,$error],false)}];GU.methods=[{prop:"Control",name:"Control",pkg:"",typ:$funcType([GS],[$error],false)},{prop:"Read",name:"Read",pkg:"",typ:$funcType([GT],[$error],false)},{prop:"Write",name:"Write",pkg:"",typ:$funcType([GT],[$error],false)}];GB.methods=[{prop:"close",name:"close",pkg:"os",typ:$funcType([],[$error],false)}];GV.methods=[{prop:"Name",name:"Name",pkg:"",typ:$funcType([],[$String],false)},{prop:"IsDir",name:"IsDir",pkg:"",typ:$funcType([],[$Bool],false)},{prop:"Type",name:"Type",pkg:"",typ:$funcType([],[C.FileMode],false)},{prop:"Info",name:"Info",pkg:"",typ:$funcType([],[C.FileInfo,$error],false)}];GO.methods=[{prop:"Error",name:"Error",pkg:"",typ:$funcType([],[$String],false)},{prop:"Unwrap",name:"Unwrap",pkg:"",typ:$funcType([],[$error],false)}];GP.methods=[{prop:"Error",name:"Error",pkg:"",typ:$funcType([],[$String],false)},{prop:"Unwrap",name:"Unwrap",pkg:"",typ:$funcType([],[$error],false)},{prop:"Timeout",name:"Timeout",pkg:"",typ:$funcType([],[$Bool],false)}];GA.methods=[{prop:"close",name:"close",pkg:"os",typ:$funcType([],[],false)}];R.init("os",[{prop:"name",name:"name",embedded:false,exported:false,typ:$String,tag:""},{prop:"size",name:"size",embedded:false,exported:false,typ:$Int64,tag:""},{prop:"mode",name:"mode",embedded:false,exported:false,typ:C.FileMode,tag:""},{prop:"modTime",name:"modTime",embedded:false,exported:false,typ:B.Time,tag:""},{prop:"sys",name:"sys",embedded:false,exported:false,typ:A.Stat_t,tag:""}]);U.init("os",[{prop:"file",name:"file",embedded:true,exported:false,typ:GB,tag:""}]);AR.init("os",[{prop:"file",name:"file",embedded:false,exported:false,typ:FQ,tag:""}]);BM.init("os",[{prop:"pfd",name:"pfd",embedded:false,exported:false,typ:J.FD,tag:""},{prop:"name",name:"name",embedded:false,exported:false,typ:$String,tag:""},{prop:"dirinfo",name:"dirinfo",embedded:false,exported:false,typ:GA,tag:""},{prop:"nonblock",name:"nonblock",embedded:false,exported:false,typ:$Bool,tag:""},{prop:"stdoutOrErr",name:"stdoutOrErr",embedded:false,exported:false,typ:$Bool,tag:""},{prop:"appendMode",name:"appendMode",embedded:false,exported:false,typ:$Bool,tag:""}]);BY.init("os",[{prop:"parent",name:"parent",embedded:false,exported:false,typ:$String,tag:""},{prop:"name",name:"name",embedded:false,exported:false,typ:$String,tag:""},{prop:"typ",name:"typ",embedded:false,exported:false,typ:C.FileMode,tag:""},{prop:"info",name:"info",embedded:false,exported:false,typ:C.FileInfo,tag:""}]);CH.init("",[{prop:"Op",name:"Op",embedded:false,exported:true,typ:$String,tag:""},{prop:"Old",name:"Old",embedded:false,exported:true,typ:$String,tag:""},{prop:"New",name:"New",embedded:false,exported:true,typ:$String,tag:""},{prop:"Err",name:"Err",embedded:false,exported:true,typ:$error,tag:""}]);CJ.init("",[{prop:"Writer",name:"Writer",embedded:true,exported:true,typ:G.Writer,tag:""}]);DX.init([{prop:"Timeout",name:"Timeout",pkg:"",typ:$funcType([],[$Bool],false)}]);DZ.init("",[{prop:"Syscall",name:"Syscall",embedded:false,exported:true,typ:$String,tag:""},{prop:"Err",name:"Err",embedded:false,exported:true,typ:$error,tag:""}]);EW.init("os",[{prop:"buf",name:"buf",embedded:false,exported:false,typ:FO,tag:""},{prop:"nbuf",name:"nbuf",embedded:false,exported:false,typ:$Int,tag:""},{prop:"bufp",name:"bufp",embedded:false,exported:false,typ:$Int,tag:""}]);$init=function(){$pkg.$init=function(){};var $f,$c=false,$s=0,$r;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:$r=D.$init();$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=Q.$init();$s=2;case 2:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=E.$init();$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=O.$init();$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=J.$init();$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=M.$init();$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=K.$init();$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=F.$init();$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=L.$init();$s=9;case 9:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=G.$init();$s=10;case 10:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=C.$init();$s=11;case 11:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=H.$init();$s=12;case 12:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=P.$init();$s=13;case 13:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=I.$init();$s=14;case 14:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=N.$init();$s=15;case 15:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=A.$init();$s=16;case 16:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=B.$init();$s=17;case 17:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$pkg.Args=FK.nil;FD=false;AA=D.New("pattern contains path separator");CK=D.New("os: invalid use of WriteAt on file opened with O_APPEND");CR=AP;$pkg.ErrProcessDone=D.New("os: process already finished");$pkg.ErrInvalid=C.ErrInvalid;$pkg.ErrNotExist=C.ErrNotExist;$pkg.ErrClosed=C.ErrClosed;$pkg.ErrNoDeadline=DV();$pkg.ErrDeadlineExceeded=DW();EX=new I.Pool.ptr(FM.nil,(function(){var e,f;e=$makeSlice(FN,8192);return(f||(f=new FO(function(){return e;},function($v){e=$convertSliceType($v,FN);})));}));e=BN(0,"/dev/stdin");$s=18;case 18:if($c){$c=false;e=e.$blk();}if(e&&e.$blk!==undefined){break s;}$pkg.Stdin=e;f=BN(1,"/dev/stdout");$s=19;case 19:if($c){$c=false;f=f.$blk();}if(f&&f.$blk!==undefined){break s;}$pkg.Stdout=f;g=BN(2,"/dev/stderr");$s=20;case 20:if($c){$c=false;g=g.$blk();}if(g&&g.$blk!==undefined){break s;}$pkg.Stderr=g;AT();FG();}return;}if($f===undefined){$f={$blk:$init};}$f.$s=$s;$f.$r=$r;return $f;};$pkg.$init=$init;return $pkg;})(); $packages["fmt"]=(function(){var $pkg={},$init,A,I,B,C,D,E,F,G,H,V,W,X,AK,AL,AM,AN,AO,AP,BG,BH,BK,BL,BM,BN,BO,BP,BS,BT,CO,CP,CQ,CS,Y,AC,AE,AF,AQ,Z,AA,AG,AR,AX,BB;A=$packages["errors"];I=$packages["internal/fmtsort"];B=$packages["io"];C=$packages["math"];D=$packages["os"];E=$packages["reflect"];F=$packages["strconv"];G=$packages["sync"];H=$packages["unicode/utf8"];V=$pkg.scanError=$newType(0,$kindStruct,"fmt.scanError",true,"fmt",false,function(err_){this.$val=this;if(arguments.length===0){this.err=$ifaceNil;return;}this.err=err_;});W=$pkg.ss=$newType(0,$kindStruct,"fmt.ss",true,"fmt",false,function(rs_,buf_,count_,atEOF_,ssave_){this.$val=this;if(arguments.length===0){this.rs=$ifaceNil;this.buf=AO.nil;this.count=0;this.atEOF=false;this.ssave=new X.ptr(false,false,false,0,0,0);return;}this.rs=rs_;this.buf=buf_;this.count=count_;this.atEOF=atEOF_;this.ssave=ssave_;});X=$pkg.ssave=$newType(0,$kindStruct,"fmt.ssave",true,"fmt",false,function(validSave_,nlIsEnd_,nlIsSpace_,argLimit_,limit_,maxWid_){this.$val=this;if(arguments.length===0){this.validSave=false;this.nlIsEnd=false;this.nlIsSpace=false;this.argLimit=0;this.limit=0;this.maxWid=0;return;}this.validSave=validSave_;this.nlIsEnd=nlIsEnd_;this.nlIsSpace=nlIsSpace_;this.argLimit=argLimit_;this.limit=limit_;this.maxWid=maxWid_;});AK=$pkg.State=$newType(8,$kindInterface,"fmt.State",true,"fmt",true,null);AL=$pkg.Formatter=$newType(8,$kindInterface,"fmt.Formatter",true,"fmt",true,null);AM=$pkg.Stringer=$newType(8,$kindInterface,"fmt.Stringer",true,"fmt",true,null);AN=$pkg.GoStringer=$newType(8,$kindInterface,"fmt.GoStringer",true,"fmt",true,null);AO=$pkg.buffer=$newType(12,$kindSlice,"fmt.buffer",true,"fmt",false,null);AP=$pkg.pp=$newType(0,$kindStruct,"fmt.pp",true,"fmt",false,function(buf_,arg_,value_,fmt_,reordered_,goodArgNum_,panicking_,erroring_,wrapErrs_,wrappedErr_){this.$val=this;if(arguments.length===0){this.buf=AO.nil;this.arg=$ifaceNil;this.value=new E.Value.ptr(BN.nil,0,0);this.fmt=new BH.ptr(BO.nil,new BG.ptr(false,false,false,false,false,false,false,false,false),0,0,BP.zero());this.reordered=false;this.goodArgNum=false;this.panicking=false;this.erroring=false;this.wrapErrs=false;this.wrappedErr=$ifaceNil;return;}this.buf=buf_;this.arg=arg_;this.value=value_;this.fmt=fmt_;this.reordered=reordered_;this.goodArgNum=goodArgNum_;this.panicking=panicking_;this.erroring=erroring_;this.wrapErrs=wrapErrs_;this.wrappedErr=wrappedErr_;});BG=$pkg.fmtFlags=$newType(0,$kindStruct,"fmt.fmtFlags",true,"fmt",false,function(widPresent_,precPresent_,minus_,plus_,sharp_,space_,zero_,plusV_,sharpV_){this.$val=this;if(arguments.length===0){this.widPresent=false;this.precPresent=false;this.minus=false;this.plus=false;this.sharp=false;this.space=false;this.zero=false;this.plusV=false;this.sharpV=false;return;}this.widPresent=widPresent_;this.precPresent=precPresent_;this.minus=minus_;this.plus=plus_;this.sharp=sharp_;this.space=space_;this.zero=zero_;this.plusV=plusV_;this.sharpV=sharpV_;});BH=$pkg.fmt=$newType(0,$kindStruct,"fmt.fmt",true,"fmt",false,function(buf_,fmtFlags_,wid_,prec_,intbuf_){this.$val=this;if(arguments.length===0){this.buf=BO.nil;this.fmtFlags=new BG.ptr(false,false,false,false,false,false,false,false,false);this.wid=0;this.prec=0;this.intbuf=BP.zero();return;}this.buf=buf_;this.fmtFlags=fmtFlags_;this.wid=wid_;this.prec=prec_;this.intbuf=intbuf_;});BK=$arrayType($Uint16,2);BL=$sliceType(BK);BM=$sliceType($emptyInterface);BN=$ptrType(E.rtype);BO=$ptrType(AO);BP=$arrayType($Uint8,68);BS=$sliceType($Uint8);BT=$ptrType(W);CO=$ptrType(AP);CP=$arrayType($Uint8,6);CQ=$funcType([$Int32],[$Bool],false);CS=$ptrType(BH);W.ptr.prototype.Read=function(a){var a,b,c,d,e,f;b=0;c=$ifaceNil;d=this;e=0;f=A.New("ScanState's Read should not be called. Use ReadRune");b=e;c=f;return[b,c];};W.prototype.Read=function(a){return this.$val.Read(a);};W.ptr.prototype.ReadRune=function(){var{a,b,c,d,e,f,$s,$r,$c}=$restore(this,{});$s=$s||0;s:while(true){switch($s){case 0:a=0;b=0;c=$ifaceNil;d=this;if(d.atEOF||d.count>=d.ssave.argLimit){c=B.EOF;$s=-1;return[a,b,c];}f=d.rs.ReadRune();$s=1;case 1:if($c){$c=false;f=f.$blk();}if(f&&f.$blk!==undefined){break s;}e=f;a=e[0];b=e[1];c=e[2];if($interfaceIsEqual(c,$ifaceNil)){d.count=d.count+(1)>>0;if(d.ssave.nlIsEnd&&(a===10)){d.atEOF=true;}}else if($interfaceIsEqual(c,B.EOF)){d.atEOF=true;}$s=-1;return[a,b,c];}return;}var $f={$blk:W.ptr.prototype.ReadRune,$c:true,$r,a,b,c,d,e,f,$s};return $f;};W.prototype.ReadRune=function(){return this.$val.ReadRune();};W.ptr.prototype.Width=function(){var a,b,c,d,e,f,g;a=0;b=false;c=this;if(c.ssave.maxWid===1073741824){d=0;e=false;a=d;b=e;return[a,b];}f=c.ssave.maxWid;g=true;a=f;b=g;return[a,b];};W.prototype.Width=function(){return this.$val.Width();};W.ptr.prototype.getRune=function(){var{a,b,c,d,e,$s,$r,$c}=$restore(this,{});$s=$s||0;s:while(true){switch($s){case 0:a=0;b=this;d=b.ReadRune();$s=1;case 1:if($c){$c=false;d=d.$blk();}if(d&&d.$blk!==undefined){break s;}c=d;a=c[0];e=c[2];if(!($interfaceIsEqual(e,$ifaceNil))){if($interfaceIsEqual(e,B.EOF)){a=-1;$s=-1;return a;}b.error(e);}$s=-1;return a;}return;}var $f={$blk:W.ptr.prototype.getRune,$c:true,$r,a,b,c,d,e,$s};return $f;};W.prototype.getRune=function(){return this.$val.getRune();};W.ptr.prototype.UnreadRune=function(){var{a,b,$s,$r,$c}=$restore(this,{});$s=$s||0;s:while(true){switch($s){case 0:a=this;b=a.rs.UnreadRune();$s=1;case 1:if($c){$c=false;b=b.$blk();}if(b&&b.$blk!==undefined){break s;}b;a.atEOF=false;a.count=a.count-(1)>>0;$s=-1;return $ifaceNil;}return;}var $f={$blk:W.ptr.prototype.UnreadRune,$c:true,$r,a,b,$s};return $f;};W.prototype.UnreadRune=function(){return this.$val.UnreadRune();};W.ptr.prototype.error=function(a){var a,b,c;b=this;$panic((c=new V.ptr(a),new c.constructor.elem(c)));};W.prototype.error=function(a){return this.$val.error(a);};W.ptr.prototype.errorString=function(a){var a,b,c;b=this;$panic((c=new V.ptr(A.New(a)),new c.constructor.elem(c)));};W.prototype.errorString=function(a){return this.$val.errorString(a);};W.ptr.prototype.Token=function(a,b){var{a,b,c,d,e,f,g,$s,$deferred,$r,$c}=$restore(this,{a,b});$s=$s||0;var $err=null;try{s:while(true){switch($s){case 0:$deferred=[];$curGoroutine.deferStack.push($deferred);c=[c];d=BS.nil;c[0]=$ifaceNil;e=this;$deferred.push([(function(c){return function(){var f,g,h,i;f=$recover();if(!($interfaceIsEqual(f,$ifaceNil))){g=$assertType(f,V,true);h=$clone(g[0],V);i=g[1];if(i){c[0]=h.err;}else{$panic(f);}}};})(c),[]]);if(b===$throwNilPointerError){b=AA;}e.buf=$subslice(e.buf,0,0);f=e.token(a,b);$s=1;case 1:if($c){$c=false;f=f.$blk();}if(f&&f.$blk!==undefined){break s;}d=f;g=[d,c[0]];$s=2;case 2:return g;}return;}}catch(err){$err=err;$s=-1;}finally{$callDeferred($deferred,$err);if(!$curGoroutine.asleep){return[d,c[0]];}if($curGoroutine.asleep){var $f={$blk:W.ptr.prototype.Token,$c:true,$r,a,b,c,d,e,f,g,$s,$deferred};return $f;}}};W.prototype.Token=function(a,b){return this.$val.Token(a,b);};Z=function(a){var a,b,c,d,e;if(a>=65536){return false;}b=((a<<16>>>16));c=Y;d=0;while(true){if(!(d=c.$length)?($throwRuntimeError("index out of range"),undefined):c.$array[c.$offset+d]),BK);if(b1024){return;}b.buf=$subslice(b.buf,0,0);b.rs=$ifaceNil;AC.Put(b);};W.prototype.free=function(a){return this.$val.free(a);};W.ptr.prototype.SkipSpace=function(){var{a,b,c,d,e,f,$s,$r,$c}=$restore(this,{});$s=$s||0;s:while(true){switch($s){case 0:a=this;case 1:b=a.getRune();$s=3;case 3:if($c){$c=false;b=b.$blk();}if(b&&b.$blk!==undefined){break s;}c=b;if(c===-1){$s=-1;return;}if(!(c===13)){d=false;$s=6;continue s;}e=a.peek("\n");$s=7;case 7:if($c){$c=false;e=e.$blk();}if(e&&e.$blk!==undefined){break s;}d=e;case 6:if(d){$s=4;continue;}$s=5;continue;case 4:$s=1;continue;case 5:if(c===10){if(a.ssave.nlIsSpace){$s=1;continue;}a.errorString("unexpected newline");$s=-1;return;}if(!Z(c)){$s=8;continue;}$s=9;continue;case 8:f=a.UnreadRune();$s=10;case 10:if($c){$c=false;f=f.$blk();}if(f&&f.$blk!==undefined){break s;}f;$s=2;continue;case 9:$s=1;continue;case 2:$s=-1;return;}return;}var $f={$blk:W.ptr.prototype.SkipSpace,$c:true,$r,a,b,c,d,e,f,$s};return $f;};W.prototype.SkipSpace=function(){return this.$val.SkipSpace();};W.ptr.prototype.token=function(a,b){var{a,b,c,d,e,f,g,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(a){$s=1;continue;}$s=2;continue;case 1:$r=c.SkipSpace();$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:case 4:d=c.getRune();$s=6;case 6:if($c){$c=false;d=d.$blk();}if(d&&d.$blk!==undefined){break s;}e=d;if(e===-1){$s=5;continue;}f=b(e);$s=9;case 9:if($c){$c=false;f=f.$blk();}if(f&&f.$blk!==undefined){break s;}if(!f){$s=7;continue;}$s=8;continue;case 7:g=c.UnreadRune();$s=10;case 10:if($c){$c=false;g=g.$blk();}if(g&&g.$blk!==undefined){break s;}g;$s=5;continue;case 8:(c.$ptr_buf||(c.$ptr_buf=new BO(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},c))).writeRune(e);$s=4;continue;case 5:$s=-1;return $convertSliceType(c.buf,BS);}return;}var $f={$blk:W.ptr.prototype.token,$c:true,$r,a,b,c,d,e,f,g,$s};return $f;};W.prototype.token=function(a,b){return this.$val.token(a,b);};AG=function(a,b){var a,b,c,d,e,f,g;c=a;d=0;while(true){if(!(d=0;}return;}var $f={$blk:W.ptr.prototype.peek,$c:true,$r,a,b,c,d,e,$s};return $f;};W.prototype.peek=function(a){return this.$val.peek(a);};$ptrType(AO).prototype.write=function(a){var a,b;b=this;b.$set($appendSlice(b.$get(),a));};$ptrType(AO).prototype.writeString=function(a){var a,b;b=this;b.$set($appendSlice(b.$get(),a));};$ptrType(AO).prototype.writeByte=function(a){var a,b;b=this;b.$set($append(b.$get(),a));};$ptrType(AO).prototype.writeRune=function(a){var a,b,c,d,e;b=this;if(a<128){b.$set($append(b.$get(),((a<<24>>>24))));return;}c=b.$get();d=c.$length;while(true){if(!((d+4>>0)>c.$capacity)){break;}c=$append(c,0);}e=H.EncodeRune($convertSliceType($subslice(c,d,(d+4>>0)),BS),a);b.$set($subslice(c,0,(d+e>>0)));};AR=function(){var{a,b,$s,$r,$c}=$restore(this,{});$s=$s||0;s:while(true){switch($s){case 0:a=AQ.Get();$s=1;case 1:if($c){$c=false;a=a.$blk();}if(a&&a.$blk!==undefined){break s;}b=$assertType(a,CO);b.panicking=false;b.erroring=false;b.wrapErrs=false;b.fmt.init((b.$ptr_buf||(b.$ptr_buf=new BO(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},b))));$s=-1;return b;}return;}var $f={$blk:AR,$c:true,$r,a,b,$s};return $f;};AP.ptr.prototype.free=function(){var a;a=this;if(a.buf.$capacity>65536){return;}a.buf=$subslice(a.buf,0,0);a.arg=$ifaceNil;a.value=new E.Value.ptr(BN.nil,0,0);a.wrappedErr=$ifaceNil;AQ.Put(a);};AP.prototype.free=function(){return this.$val.free();};AP.ptr.prototype.Width=function(){var a,b,c,d,e;a=0;b=false;c=this;d=c.fmt.wid;e=c.fmt.fmtFlags.widPresent;a=d;b=e;return[a,b];};AP.prototype.Width=function(){return this.$val.Width();};AP.ptr.prototype.Precision=function(){var a,b,c,d,e;a=0;b=false;c=this;d=c.fmt.prec;e=c.fmt.fmtFlags.precPresent;a=d;b=e;return[a,b];};AP.prototype.Precision=function(){return this.$val.Precision();};AP.ptr.prototype.Flag=function(a){var a,b,c;b=this;c=a;if(c===(45)){return b.fmt.fmtFlags.minus;}else if(c===(43)){return b.fmt.fmtFlags.plus||b.fmt.fmtFlags.plusV;}else if(c===(35)){return b.fmt.fmtFlags.sharp||b.fmt.fmtFlags.sharpV;}else if(c===(32)){return b.fmt.fmtFlags.space;}else if(c===(48)){return b.fmt.fmtFlags.zero;}return false;};AP.prototype.Flag=function(a){return this.$val.Flag(a);};AP.ptr.prototype.Write=function(a){var a,b,c,d,e,f;b=0;c=$ifaceNil;d=this;(d.$ptr_buf||(d.$ptr_buf=new BO(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},d))).write(a);e=a.$length;f=$ifaceNil;b=e;c=f;return[b,c];};AP.prototype.Write=function(a){return this.$val.Write(a);};AP.ptr.prototype.WriteString=function(a){var a,b,c,d,e,f;b=0;c=$ifaceNil;d=this;(d.$ptr_buf||(d.$ptr_buf=new BO(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},d))).writeString(a);e=a.length;f=$ifaceNil;b=e;c=f;return[b,c];};AP.prototype.WriteString=function(a){return this.$val.WriteString(a);};AX=function(a){var{a,b,c,d,$s,$r,$c}=$restore(this,{a});$s=$s||0;s:while(true){switch($s){case 0:b=AR();$s=1;case 1:if($c){$c=false;b=b.$blk();}if(b&&b.$blk!==undefined){break s;}c=b;$r=c.doPrint(a);$s=2;case 2:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}d=($bytesToString(c.buf));c.free();$s=-1;return d;}return;}var $f={$blk:AX,$c:true,$r,a,b,c,d,$s};return $f;};$pkg.Sprint=AX;BB=function(a,b){var{a,b,c,d,e,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=$clone(a,E.Value).Field(b);$s=1;case 1:if($c){$c=false;c=c.$blk();}if(c&&c.$blk!==undefined){break s;}d=c;if(($clone(d,E.Value).Kind()===20)&&!$clone(d,E.Value).IsNil()){$s=2;continue;}$s=3;continue;case 2:e=$clone(d,E.Value).Elem();$s=4;case 4:if($c){$c=false;e=e.$blk();}if(e&&e.$blk!==undefined){break s;}d=e;case 3:$s=-1;return d;}return;}var $f={$blk:BB,$c:true,$r,a,b,c,d,e,$s};return $f;};AP.ptr.prototype.unknownType=function(a){var{a,b,c,$s,$r,$c}=$restore(this,{a});$s=$s||0;s:while(true){switch($s){case 0:b=this;if(!$clone(a,E.Value).IsValid()){(b.$ptr_buf||(b.$ptr_buf=new BO(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},b))).writeString("");$s=-1;return;}(b.$ptr_buf||(b.$ptr_buf=new BO(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},b))).writeByte(63);c=$clone(a,E.Value).Type().String();$s=1;case 1:if($c){$c=false;c=c.$blk();}if(c&&c.$blk!==undefined){break s;}$r=(b.$ptr_buf||(b.$ptr_buf=new BO(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},b))).writeString(c);$s=2;case 2:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}(b.$ptr_buf||(b.$ptr_buf=new BO(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},b))).writeByte(63);$s=-1;return;}return;}var $f={$blk:AP.ptr.prototype.unknownType,$c:true,$r,a,b,c,$s};return $f;};AP.prototype.unknownType=function(a){return this.$val.unknownType(a);};AP.ptr.prototype.badVerb=function(a){var{a,b,c,d,$s,$r,$c}=$restore(this,{a});$s=$s||0;s:while(true){switch($s){case 0:b=this;b.erroring=true;(b.$ptr_buf||(b.$ptr_buf=new BO(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},b))).writeString("%!");(b.$ptr_buf||(b.$ptr_buf=new BO(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},b))).writeRune(a);(b.$ptr_buf||(b.$ptr_buf=new BO(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},b))).writeByte(40);if(!($interfaceIsEqual(b.arg,$ifaceNil))){$s=2;continue;}if($clone(b.value,E.Value).IsValid()){$s=3;continue;}$s=4;continue;case 2:c=E.TypeOf(b.arg).String();$s=6;case 6:if($c){$c=false;c=c.$blk();}if(c&&c.$blk!==undefined){break s;}$r=(b.$ptr_buf||(b.$ptr_buf=new BO(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},b))).writeString(c);$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}(b.$ptr_buf||(b.$ptr_buf=new BO(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},b))).writeByte(61);$r=b.printArg(b.arg,118);$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=5;continue;case 3:d=$clone(b.value,E.Value).Type().String();$s=9;case 9:if($c){$c=false;d=d.$blk();}if(d&&d.$blk!==undefined){break s;}$r=(b.$ptr_buf||(b.$ptr_buf=new BO(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},b))).writeString(d);$s=10;case 10:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}(b.$ptr_buf||(b.$ptr_buf=new BO(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},b))).writeByte(61);$r=b.printValue($clone(b.value,E.Value),118,0);$s=11;case 11:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=5;continue;case 4:(b.$ptr_buf||(b.$ptr_buf=new BO(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},b))).writeString("");case 5:case 1:(b.$ptr_buf||(b.$ptr_buf=new BO(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},b))).writeByte(41);b.erroring=false;$s=-1;return;}return;}var $f={$blk:AP.ptr.prototype.badVerb,$c:true,$r,a,b,c,d,$s};return $f;};AP.prototype.badVerb=function(a){return this.$val.badVerb(a);};AP.ptr.prototype.fmtBool=function(a,b){var{a,b,c,d,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;d=b;if((d===(116))||(d===(118))){$s=2;continue;}$s=3;continue;case 2:c.fmt.fmtBoolean(a);$s=4;continue;case 3:$r=c.badVerb(b);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 4:case 1:$s=-1;return;}return;}var $f={$blk:AP.ptr.prototype.fmtBool,$c:true,$r,a,b,c,d,$s};return $f;};AP.prototype.fmtBool=function(a,b){return this.$val.fmtBool(a,b);};AP.ptr.prototype.fmt0x64=function(a,b){var a,b,c,d;c=this;d=c.fmt.fmtFlags.sharp;c.fmt.fmtFlags.sharp=b;c.fmt.fmtInteger(a,16,false,118,"0123456789abcdefx");c.fmt.fmtFlags.sharp=d;};AP.prototype.fmt0x64=function(a,b){return this.$val.fmt0x64(a,b);};AP.ptr.prototype.fmtInteger=function(a,b,c){var{a,b,c,d,e,$s,$r,$c}=$restore(this,{a,b,c});$s=$s||0;s:while(true){switch($s){case 0:d=this;e=c;if(e===(118)){$s=2;continue;}if(e===(100)){$s=3;continue;}if(e===(98)){$s=4;continue;}if((e===(111))||(e===(79))){$s=5;continue;}if(e===(120)){$s=6;continue;}if(e===(88)){$s=7;continue;}if(e===(99)){$s=8;continue;}if(e===(113)){$s=9;continue;}if(e===(85)){$s=10;continue;}$s=11;continue;case 2:if(d.fmt.fmtFlags.sharpV&&!b){d.fmt0x64(a,true);}else{d.fmt.fmtInteger(a,10,b,c,"0123456789abcdefx");}$s=12;continue;case 3:d.fmt.fmtInteger(a,10,b,c,"0123456789abcdefx");$s=12;continue;case 4:d.fmt.fmtInteger(a,2,b,c,"0123456789abcdefx");$s=12;continue;case 5:d.fmt.fmtInteger(a,8,b,c,"0123456789abcdefx");$s=12;continue;case 6:d.fmt.fmtInteger(a,16,b,c,"0123456789abcdefx");$s=12;continue;case 7:d.fmt.fmtInteger(a,16,b,c,"0123456789ABCDEFX");$s=12;continue;case 8:d.fmt.fmtC(a);$s=12;continue;case 9:d.fmt.fmtQc(a);$s=12;continue;case 10:d.fmt.fmtUnicode(a);$s=12;continue;case 11:$r=d.badVerb(c);$s=13;case 13:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 12:case 1:$s=-1;return;}return;}var $f={$blk:AP.ptr.prototype.fmtInteger,$c:true,$r,a,b,c,d,e,$s};return $f;};AP.prototype.fmtInteger=function(a,b,c){return this.$val.fmtInteger(a,b,c);};AP.ptr.prototype.fmtFloat=function(a,b,c){var{a,b,c,d,e,$s,$r,$c}=$restore(this,{a,b,c});$s=$s||0;s:while(true){switch($s){case 0:d=this;e=c;if(e===(118)){$s=2;continue;}if((e===(98))||(e===(103))||(e===(71))||(e===(120))||(e===(88))){$s=3;continue;}if((e===(102))||(e===(101))||(e===(69))){$s=4;continue;}if(e===(70)){$s=5;continue;}$s=6;continue;case 2:d.fmt.fmtFloat(a,b,103,-1);$s=7;continue;case 3:d.fmt.fmtFloat(a,b,c,-1);$s=7;continue;case 4:d.fmt.fmtFloat(a,b,c,6);$s=7;continue;case 5:d.fmt.fmtFloat(a,b,102,6);$s=7;continue;case 6:$r=d.badVerb(c);$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 7:case 1:$s=-1;return;}return;}var $f={$blk:AP.ptr.prototype.fmtFloat,$c:true,$r,a,b,c,d,e,$s};return $f;};AP.prototype.fmtFloat=function(a,b,c){return this.$val.fmtFloat(a,b,c);};AP.ptr.prototype.fmtComplex=function(a,b,c){var{a,b,c,d,e,f,g,h,$s,$r,$c}=$restore(this,{a,b,c});$s=$s||0;s:while(true){switch($s){case 0:d=this;e=c;if((e===(118))||(e===(98))||(e===(103))||(e===(71))||(e===(120))||(e===(88))||(e===(102))||(e===(70))||(e===(101))||(e===(69))){$s=2;continue;}$s=3;continue;case 2:f=d.fmt.fmtFlags.plus;(d.$ptr_buf||(d.$ptr_buf=new BO(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},d))).writeByte(40);$r=d.fmtFloat(a.$real,(g=b/2,(g===g&&g!==1/0&&g!==-1/0)?g>>0:$throwRuntimeError("integer divide by zero")),c);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}d.fmt.fmtFlags.plus=true;$r=d.fmtFloat(a.$imag,(h=b/2,(h===h&&h!==1/0&&h!==-1/0)?h>>0:$throwRuntimeError("integer divide by zero")),c);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}(d.$ptr_buf||(d.$ptr_buf=new BO(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},d))).writeString("i)");d.fmt.fmtFlags.plus=f;$s=4;continue;case 3:$r=d.badVerb(c);$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 4:case 1:$s=-1;return;}return;}var $f={$blk:AP.ptr.prototype.fmtComplex,$c:true,$r,a,b,c,d,e,f,g,h,$s};return $f;};AP.prototype.fmtComplex=function(a,b,c){return this.$val.fmtComplex(a,b,c);};AP.ptr.prototype.fmtString=function(a,b){var{a,b,c,d,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;d=b;if(d===(118)){$s=2;continue;}if(d===(115)){$s=3;continue;}if(d===(120)){$s=4;continue;}if(d===(88)){$s=5;continue;}if(d===(113)){$s=6;continue;}$s=7;continue;case 2:if(c.fmt.fmtFlags.sharpV){c.fmt.fmtQ(a);}else{c.fmt.fmtS(a);}$s=8;continue;case 3:c.fmt.fmtS(a);$s=8;continue;case 4:c.fmt.fmtSx(a,"0123456789abcdefx");$s=8;continue;case 5:c.fmt.fmtSx(a,"0123456789ABCDEFX");$s=8;continue;case 6:c.fmt.fmtQ(a);$s=8;continue;case 7:$r=c.badVerb(b);$s=9;case 9:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 8:case 1:$s=-1;return;}return;}var $f={$blk:AP.ptr.prototype.fmtString,$c:true,$r,a,b,c,d,$s};return $f;};AP.prototype.fmtString=function(a,b){return this.$val.fmtString(a,b);};AP.ptr.prototype.fmtBytes=function(a,b,c){var{a,b,c,d,e,f,g,h,i,j,k,l,m,n,$s,$r,$c}=$restore(this,{a,b,c});$s=$s||0;s:while(true){switch($s){case 0:d=this;e=b;if((e===(118))||(e===(100))){$s=2;continue;}if(e===(115)){$s=3;continue;}if(e===(120)){$s=4;continue;}if(e===(88)){$s=5;continue;}if(e===(113)){$s=6;continue;}$s=7;continue;case 2:if(d.fmt.fmtFlags.sharpV){(d.$ptr_buf||(d.$ptr_buf=new BO(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},d))).writeString(c);if(a===BS.nil){(d.$ptr_buf||(d.$ptr_buf=new BO(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},d))).writeString("(nil)");$s=-1;return;}(d.$ptr_buf||(d.$ptr_buf=new BO(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},d))).writeByte(123);f=a;g=0;while(true){if(!(g=f.$length)?($throwRuntimeError("index out of range"),undefined):f.$array[f.$offset+g]);if(h>0){(d.$ptr_buf||(d.$ptr_buf=new BO(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},d))).writeString(", ");}d.fmt0x64((new $Uint64(0,i)),true);g++;}(d.$ptr_buf||(d.$ptr_buf=new BO(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},d))).writeByte(125);}else{(d.$ptr_buf||(d.$ptr_buf=new BO(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},d))).writeByte(91);j=a;k=0;while(true){if(!(k=j.$length)?($throwRuntimeError("index out of range"),undefined):j.$array[j.$offset+k]);if(l>0){(d.$ptr_buf||(d.$ptr_buf=new BO(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},d))).writeByte(32);}d.fmt.fmtInteger((new $Uint64(0,m)),10,false,b,"0123456789abcdefx");k++;}(d.$ptr_buf||(d.$ptr_buf=new BO(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},d))).writeByte(93);}$s=8;continue;case 3:d.fmt.fmtBs(a);$s=8;continue;case 4:d.fmt.fmtBx(a,"0123456789abcdefx");$s=8;continue;case 5:d.fmt.fmtBx(a,"0123456789ABCDEFX");$s=8;continue;case 6:d.fmt.fmtQ(($bytesToString(a)));$s=8;continue;case 7:n=E.ValueOf(a);$s=9;case 9:if($c){$c=false;n=n.$blk();}if(n&&n.$blk!==undefined){break s;}$r=d.printValue($clone(n,E.Value),b,0);$s=10;case 10:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 8:case 1:$s=-1;return;}return;}var $f={$blk:AP.ptr.prototype.fmtBytes,$c:true,$r,a,b,c,d,e,f,g,h,i,j,k,l,m,n,$s};return $f;};AP.prototype.fmtBytes=function(a,b,c){return this.$val.fmtBytes(a,b,c);};AP.ptr.prototype.fmtPointer=function(a,b){var{a,b,c,d,e,f,g,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;d=0;e=$clone(a,E.Value).Kind();if((e===(18))||(e===(19))||(e===(21))||(e===(22))||(e===(23))||(e===(26))){$s=2;continue;}$s=3;continue;case 2:d=$clone(a,E.Value).Pointer();$s=4;continue;case 3:$r=c.badVerb(b);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return;case 4:case 1:f=b;if(f===(118)){$s=7;continue;}if(f===(112)){$s=8;continue;}if((f===(98))||(f===(111))||(f===(100))||(f===(120))||(f===(88))){$s=9;continue;}$s=10;continue;case 7:if(c.fmt.fmtFlags.sharpV){$s=12;continue;}$s=13;continue;case 12:(c.$ptr_buf||(c.$ptr_buf=new BO(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},c))).writeByte(40);g=$clone(a,E.Value).Type().String();$s=15;case 15:if($c){$c=false;g=g.$blk();}if(g&&g.$blk!==undefined){break s;}$r=(c.$ptr_buf||(c.$ptr_buf=new BO(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},c))).writeString(g);$s=16;case 16:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}(c.$ptr_buf||(c.$ptr_buf=new BO(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},c))).writeString(")(");if(d===0){(c.$ptr_buf||(c.$ptr_buf=new BO(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},c))).writeString("nil");}else{c.fmt0x64((new $Uint64(0,d.constructor===Number?d:1)),true);}(c.$ptr_buf||(c.$ptr_buf=new BO(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},c))).writeByte(41);$s=14;continue;case 13:if(d===0){c.fmt.padString("");}else{c.fmt0x64((new $Uint64(0,d.constructor===Number?d:1)),!c.fmt.fmtFlags.sharp);}case 14:$s=11;continue;case 8:c.fmt0x64((new $Uint64(0,d.constructor===Number?d:1)),!c.fmt.fmtFlags.sharp);$s=11;continue;case 9:$r=c.fmtInteger((new $Uint64(0,d.constructor===Number?d:1)),false,b);$s=17;case 17:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=11;continue;case 10:$r=c.badVerb(b);$s=18;case 18:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 11:case 6:$s=-1;return;}return;}var $f={$blk:AP.ptr.prototype.fmtPointer,$c:true,$r,a,b,c,d,e,f,g,$s};return $f;};AP.prototype.fmtPointer=function(a,b){return this.$val.fmtPointer(a,b);};AP.ptr.prototype.catchPanic=function(a,b,c){var{a,b,c,d,e,f,g,h,$s,$r,$c}=$restore(this,{a,b,c});$s=$s||0;s:while(true){switch($s){case 0:d=this;e=$recover();if(!($interfaceIsEqual(e,$ifaceNil))){$s=1;continue;}$s=2;continue;case 1:f=E.ValueOf(a);$s=3;case 3:if($c){$c=false;f=f.$blk();}if(f&&f.$blk!==undefined){break s;}g=f;if(($clone(g,E.Value).Kind()===22)&&$clone(g,E.Value).IsNil()){(d.$ptr_buf||(d.$ptr_buf=new BO(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},d))).writeString("");$s=-1;return;}if(d.panicking){$panic(e);}h=$clone(d.fmt.fmtFlags,BG);d.fmt.clearflags();(d.$ptr_buf||(d.$ptr_buf=new BO(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},d))).writeString("%!");(d.$ptr_buf||(d.$ptr_buf=new BO(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},d))).writeRune(b);(d.$ptr_buf||(d.$ptr_buf=new BO(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},d))).writeString("(PANIC=");(d.$ptr_buf||(d.$ptr_buf=new BO(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},d))).writeString(c);(d.$ptr_buf||(d.$ptr_buf=new BO(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},d))).writeString(" method: ");d.panicking=true;$r=d.printArg(e,118);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}d.panicking=false;(d.$ptr_buf||(d.$ptr_buf=new BO(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},d))).writeByte(41);BG.copy(d.fmt.fmtFlags,h);case 2:$s=-1;return;}return;}var $f={$blk:AP.ptr.prototype.catchPanic,$c:true,$r,a,b,c,d,e,f,g,h,$s};return $f;};AP.prototype.catchPanic=function(a,b,c){return this.$val.catchPanic(a,b,c);};AP.ptr.prototype.handleMethods=function(a){var{a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,$s,$deferred,$r,$c}=$restore(this,{a});$s=$s||0;var $err=null;try{s:while(true){switch($s){case 0:$deferred=[];$curGoroutine.deferStack.push($deferred);b=false;c=this;if(c.erroring){$s=1;continue;}$s=2;continue;case 1:d=b;$s=3;case 3:return d;case 2:if(a===119){$s=4;continue;}$s=5;continue;case 4:e=$assertType(c.arg,$error,true);f=e[0];g=e[1];if(!g||!c.wrapErrs||!($interfaceIsEqual(c.wrappedErr,$ifaceNil))){$s=6;continue;}$s=7;continue;case 6:c.wrappedErr=$ifaceNil;c.wrapErrs=false;$r=c.badVerb(a);$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}b=true;h=b;$s=9;case 9:return h;case 7:c.wrappedErr=f;a=118;case 5:i=$assertType(c.arg,AL,true);j=i[0];k=i[1];if(k){$s=10;continue;}$s=11;continue;case 10:b=true;$deferred.push([$methodVal(c,"catchPanic"),[c.arg,a,"Format"]]);$r=j.Format(c,a);$s=12;case 12:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}l=b;$s=13;case 13:return l;case 11:if(c.fmt.fmtFlags.sharpV){$s=14;continue;}$s=15;continue;case 14:m=$assertType(c.arg,AN,true);n=m[0];o=m[1];if(o){$s=17;continue;}$s=18;continue;case 17:b=true;$deferred.push([$methodVal(c,"catchPanic"),[c.arg,a,"GoString"]]);p=n.GoString();$s=19;case 19:if($c){$c=false;p=p.$blk();}if(p&&p.$blk!==undefined){break s;}$r=c.fmt.fmtS(p);$s=20;case 20:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}q=b;$s=21;case 21:return q;case 18:$s=16;continue;case 15:r=a;if((r===(118))||(r===(115))||(r===(120))||(r===(88))||(r===(113))){$s=23;continue;}$s=24;continue;case 23:s=c.arg;if($assertType(s,$error,true)[1]){$s=25;continue;}if($assertType(s,AM,true)[1]){$s=26;continue;}$s=27;continue;case 25:t=s;b=true;$deferred.push([$methodVal(c,"catchPanic"),[c.arg,a,"Error"]]);v=t.Error();$s=28;case 28:if($c){$c=false;v=v.$blk();}if(v&&v.$blk!==undefined){break s;}$r=c.fmtString(v,a);$s=29;case 29:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}w=b;$s=30;case 30:return w;case 26:u=s;b=true;$deferred.push([$methodVal(c,"catchPanic"),[c.arg,a,"String"]]);x=u.String();$s=31;case 31:if($c){$c=false;x=x.$blk();}if(x&&x.$blk!==undefined){break s;}$r=c.fmtString(x,a);$s=32;case 32:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}y=b;$s=33;case 33:return y;case 27:case 24:case 22:case 16:b=false;z=b;$s=34;case 34:return z;}return;}}catch(err){$err=err;$s=-1;}finally{$callDeferred($deferred,$err);if(!$curGoroutine.asleep){return b;}if($curGoroutine.asleep){var $f={$blk:AP.ptr.prototype.handleMethods,$c:true,$r,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,$s,$deferred};return $f;}}};AP.prototype.handleMethods=function(a){return this.$val.handleMethods(a);};AP.ptr.prototype.printArg=function(a,b){var{a,aa,ab,ac,ad,ae,af,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;c.arg=a;c.value=new E.Value.ptr(BN.nil,0,0);if($interfaceIsEqual(a,$ifaceNil)){$s=1;continue;}$s=2;continue;case 1:d=b;if((d===(84))||(d===(118))){$s=4;continue;}$s=5;continue;case 4:c.fmt.padString("");$s=6;continue;case 5:$r=c.badVerb(b);$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 6:case 3:$s=-1;return;case 2:e=b;if(e===(84)){$s=9;continue;}if(e===(112)){$s=10;continue;}$s=11;continue;case 9:f=E.TypeOf(a).String();$s=12;case 12:if($c){$c=false;f=f.$blk();}if(f&&f.$blk!==undefined){break s;}$r=c.fmt.fmtS(f);$s=13;case 13:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return;case 10:g=E.ValueOf(a);$s=14;case 14:if($c){$c=false;g=g.$blk();}if(g&&g.$blk!==undefined){break s;}$r=c.fmtPointer($clone(g,E.Value),112);$s=15;case 15:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return;case 11:case 8:h=a;if($assertType(h,$Bool,true)[1]){$s=16;continue;}if($assertType(h,$Float32,true)[1]){$s=17;continue;}if($assertType(h,$Float64,true)[1]){$s=18;continue;}if($assertType(h,$Complex64,true)[1]){$s=19;continue;}if($assertType(h,$Complex128,true)[1]){$s=20;continue;}if($assertType(h,$Int,true)[1]){$s=21;continue;}if($assertType(h,$Int8,true)[1]){$s=22;continue;}if($assertType(h,$Int16,true)[1]){$s=23;continue;}if($assertType(h,$Int32,true)[1]){$s=24;continue;}if($assertType(h,$Int64,true)[1]){$s=25;continue;}if($assertType(h,$Uint,true)[1]){$s=26;continue;}if($assertType(h,$Uint8,true)[1]){$s=27;continue;}if($assertType(h,$Uint16,true)[1]){$s=28;continue;}if($assertType(h,$Uint32,true)[1]){$s=29;continue;}if($assertType(h,$Uint64,true)[1]){$s=30;continue;}if($assertType(h,$Uintptr,true)[1]){$s=31;continue;}if($assertType(h,$String,true)[1]){$s=32;continue;}if($assertType(h,BS,true)[1]){$s=33;continue;}if($assertType(h,E.Value,true)[1]){$s=34;continue;}$s=35;continue;case 16:i=h.$val;$r=c.fmtBool(i,b);$s=37;case 37:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=36;continue;case 17:j=h.$val;$r=c.fmtFloat((j),32,b);$s=38;case 38:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=36;continue;case 18:k=h.$val;$r=c.fmtFloat(k,64,b);$s=39;case 39:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=36;continue;case 19:l=h.$val;$r=c.fmtComplex((new $Complex128(l.$real,l.$imag)),64,b);$s=40;case 40:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=36;continue;case 20:m=h.$val;$r=c.fmtComplex(m,128,b);$s=41;case 41:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=36;continue;case 21:n=h.$val;$r=c.fmtInteger((new $Uint64(0,n)),true,b);$s=42;case 42:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=36;continue;case 22:o=h.$val;$r=c.fmtInteger((new $Uint64(0,o)),true,b);$s=43;case 43:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=36;continue;case 23:p=h.$val;$r=c.fmtInteger((new $Uint64(0,p)),true,b);$s=44;case 44:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=36;continue;case 24:q=h.$val;$r=c.fmtInteger((new $Uint64(0,q)),true,b);$s=45;case 45:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=36;continue;case 25:r=h.$val;$r=c.fmtInteger((new $Uint64(r.$high,r.$low)),true,b);$s=46;case 46:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=36;continue;case 26:s=h.$val;$r=c.fmtInteger((new $Uint64(0,s)),false,b);$s=47;case 47:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=36;continue;case 27:t=h.$val;$r=c.fmtInteger((new $Uint64(0,t)),false,b);$s=48;case 48:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=36;continue;case 28:u=h.$val;$r=c.fmtInteger((new $Uint64(0,u)),false,b);$s=49;case 49:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=36;continue;case 29:v=h.$val;$r=c.fmtInteger((new $Uint64(0,v)),false,b);$s=50;case 50:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=36;continue;case 30:w=h.$val;$r=c.fmtInteger(w,false,b);$s=51;case 51:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=36;continue;case 31:x=h.$val;$r=c.fmtInteger((new $Uint64(0,x.constructor===Number?x:1)),false,b);$s=52;case 52:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=36;continue;case 32:y=h.$val;$r=c.fmtString(y,b);$s=53;case 53:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=36;continue;case 33:z=h.$val;$r=c.fmtBytes(z,b,"[]byte");$s=54;case 54:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=36;continue;case 34:aa=h.$val;if($clone(aa,E.Value).IsValid()&&$clone(aa,E.Value).CanInterface()){$s=55;continue;}$s=56;continue;case 55:ac=$clone(aa,E.Value).Interface();$s=57;case 57:if($c){$c=false;ac=ac.$blk();}if(ac&&ac.$blk!==undefined){break s;}c.arg=ac;ad=c.handleMethods(b);$s=60;case 60:if($c){$c=false;ad=ad.$blk();}if(ad&&ad.$blk!==undefined){break s;}if(ad){$s=58;continue;}$s=59;continue;case 58:$s=-1;return;case 59:case 56:$r=c.printValue($clone(aa,E.Value),b,0);$s=61;case 61:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=36;continue;case 35:ab=h;ae=c.handleMethods(b);$s=64;case 64:if($c){$c=false;ae=ae.$blk();}if(ae&&ae.$blk!==undefined){break s;}if(!ae){$s=62;continue;}$s=63;continue;case 62:af=E.ValueOf(ab);$s=65;case 65:if($c){$c=false;af=af.$blk();}if(af&&af.$blk!==undefined){break s;}$r=c.printValue($clone(af,E.Value),b,0);$s=66;case 66:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 63:case 36:$s=-1;return;}return;}var $f={$blk:AP.ptr.prototype.printArg,$c:true,$r,a,aa,ab,ac,ad,ae,af,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,$s};return $f;};AP.prototype.printArg=function(a,b){return this.$val.printArg(a,b);};AP.ptr.prototype.printValue=function(a,b,c){var{a,aa,ab,ac,ad,ae,af,ag,ah,ai,aj,ak,al,am,an,ao,ap,aq,ar,as,at,au,av,aw,ax,ay,az,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,$s,$r,$c}=$restore(this,{a,b,c});$s=$s||0;s:while(true){switch($s){case 0:d=this;if(c>0&&$clone(a,E.Value).IsValid()&&$clone(a,E.Value).CanInterface()){$s=1;continue;}$s=2;continue;case 1:e=$clone(a,E.Value).Interface();$s=3;case 3:if($c){$c=false;e=e.$blk();}if(e&&e.$blk!==undefined){break s;}d.arg=e;f=d.handleMethods(b);$s=6;case 6:if($c){$c=false;f=f.$blk();}if(f&&f.$blk!==undefined){break s;}if(f){$s=4;continue;}$s=5;continue;case 4:$s=-1;return;case 5:case 2:d.arg=$ifaceNil;d.value=a;g=a;h=$clone(a,E.Value).Kind();if(h===(0)){$s=8;continue;}if(h===(1)){$s=9;continue;}if((h===(2))||(h===(3))||(h===(4))||(h===(5))||(h===(6))){$s=10;continue;}if((h===(7))||(h===(8))||(h===(9))||(h===(10))||(h===(11))||(h===(12))){$s=11;continue;}if(h===(13)){$s=12;continue;}if(h===(14)){$s=13;continue;}if(h===(15)){$s=14;continue;}if(h===(16)){$s=15;continue;}if(h===(24)){$s=16;continue;}if(h===(21)){$s=17;continue;}if(h===(25)){$s=18;continue;}if(h===(20)){$s=19;continue;}if((h===(17))||(h===(23))){$s=20;continue;}if(h===(22)){$s=21;continue;}if((h===(18))||(h===(19))||(h===(26))){$s=22;continue;}$s=23;continue;case 8:if(c===0){$s=25;continue;}$s=26;continue;case 25:(d.$ptr_buf||(d.$ptr_buf=new BO(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},d))).writeString("");$s=27;continue;case 26:i=b;if(i===(118)){$s=29;continue;}$s=30;continue;case 29:(d.$ptr_buf||(d.$ptr_buf=new BO(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},d))).writeString("");$s=31;continue;case 30:$r=d.badVerb(b);$s=32;case 32:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 31:case 28:case 27:$s=24;continue;case 9:$r=d.fmtBool($clone(g,E.Value).Bool(),b);$s=33;case 33:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=24;continue;case 10:$r=d.fmtInteger(((j=$clone(g,E.Value).Int(),new $Uint64(j.$high,j.$low))),true,b);$s=34;case 34:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=24;continue;case 11:$r=d.fmtInteger($clone(g,E.Value).Uint(),false,b);$s=35;case 35:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=24;continue;case 12:$r=d.fmtFloat($clone(g,E.Value).Float(),32,b);$s=36;case 36:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=24;continue;case 13:$r=d.fmtFloat($clone(g,E.Value).Float(),64,b);$s=37;case 37:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=24;continue;case 14:$r=d.fmtComplex($clone(g,E.Value).Complex(),64,b);$s=38;case 38:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=24;continue;case 15:$r=d.fmtComplex($clone(g,E.Value).Complex(),128,b);$s=39;case 39:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=24;continue;case 16:k=$clone(g,E.Value).String();$s=40;case 40:if($c){$c=false;k=k.$blk();}if(k&&k.$blk!==undefined){break s;}$r=d.fmtString(k,b);$s=41;case 41:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=24;continue;case 17:if(d.fmt.fmtFlags.sharpV){$s=42;continue;}$s=43;continue;case 42:l=$clone(g,E.Value).Type().String();$s=45;case 45:if($c){$c=false;l=l.$blk();}if(l&&l.$blk!==undefined){break s;}$r=(d.$ptr_buf||(d.$ptr_buf=new BO(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},d))).writeString(l);$s=46;case 46:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if($clone(g,E.Value).IsNil()){(d.$ptr_buf||(d.$ptr_buf=new BO(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},d))).writeString("(nil)");$s=-1;return;}(d.$ptr_buf||(d.$ptr_buf=new BO(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},d))).writeByte(123);$s=44;continue;case 43:(d.$ptr_buf||(d.$ptr_buf=new BO(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},d))).writeString("map[");case 44:m=I.Sort($clone(g,E.Value));$s=47;case 47:if($c){$c=false;m=m.$blk();}if(m&&m.$blk!==undefined){break s;}n=m;o=n.Key;p=0;case 48:if(!(p=o.$length)?($throwRuntimeError("index out of range"),undefined):o.$array[o.$offset+p]);if(q>0){if(d.fmt.fmtFlags.sharpV){(d.$ptr_buf||(d.$ptr_buf=new BO(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},d))).writeString(", ");}else{(d.$ptr_buf||(d.$ptr_buf=new BO(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},d))).writeByte(32);}}$r=d.printValue($clone(r,E.Value),b,c+1>>0);$s=50;case 50:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}(d.$ptr_buf||(d.$ptr_buf=new BO(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},d))).writeByte(58);$r=d.printValue($clone((s=n.Value,((q<0||q>=s.$length)?($throwRuntimeError("index out of range"),undefined):s.$array[s.$offset+q])),E.Value),b,c+1>>0);$s=51;case 51:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}p++;$s=48;continue;case 49:if(d.fmt.fmtFlags.sharpV){(d.$ptr_buf||(d.$ptr_buf=new BO(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},d))).writeByte(125);}else{(d.$ptr_buf||(d.$ptr_buf=new BO(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},d))).writeByte(93);}$s=24;continue;case 18:if(d.fmt.fmtFlags.sharpV){$s=52;continue;}$s=53;continue;case 52:t=$clone(g,E.Value).Type().String();$s=54;case 54:if($c){$c=false;t=t.$blk();}if(t&&t.$blk!==undefined){break s;}$r=(d.$ptr_buf||(d.$ptr_buf=new BO(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},d))).writeString(t);$s=55;case 55:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 53:(d.$ptr_buf||(d.$ptr_buf=new BO(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},d))).writeByte(123);u=0;case 56:if(!(u<$clone(g,E.Value).NumField())){$s=57;continue;}if(u>0){if(d.fmt.fmtFlags.sharpV){(d.$ptr_buf||(d.$ptr_buf=new BO(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},d))).writeString(", ");}else{(d.$ptr_buf||(d.$ptr_buf=new BO(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},d))).writeByte(32);}}if(d.fmt.fmtFlags.plusV||d.fmt.fmtFlags.sharpV){$s=58;continue;}$s=59;continue;case 58:v=$clone(g,E.Value).Type().Field(u);$s=60;case 60:if($c){$c=false;v=v.$blk();}if(v&&v.$blk!==undefined){break s;}w=v.Name;if(!(w==="")){(d.$ptr_buf||(d.$ptr_buf=new BO(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},d))).writeString(w);(d.$ptr_buf||(d.$ptr_buf=new BO(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},d))).writeByte(58);}case 59:x=BB($clone(g,E.Value),u);$s=61;case 61:if($c){$c=false;x=x.$blk();}if(x&&x.$blk!==undefined){break s;}$r=d.printValue($clone(x,E.Value),b,c+1>>0);$s=62;case 62:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}u=u+(1)>>0;$s=56;continue;case 57:(d.$ptr_buf||(d.$ptr_buf=new BO(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},d))).writeByte(125);$s=24;continue;case 19:y=$clone(g,E.Value).Elem();$s=63;case 63:if($c){$c=false;y=y.$blk();}if(y&&y.$blk!==undefined){break s;}z=y;if(!$clone(z,E.Value).IsValid()){$s=64;continue;}$s=65;continue;case 64:if(d.fmt.fmtFlags.sharpV){$s=67;continue;}$s=68;continue;case 67:aa=$clone(g,E.Value).Type().String();$s=70;case 70:if($c){$c=false;aa=aa.$blk();}if(aa&&aa.$blk!==undefined){break s;}$r=(d.$ptr_buf||(d.$ptr_buf=new BO(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},d))).writeString(aa);$s=71;case 71:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}(d.$ptr_buf||(d.$ptr_buf=new BO(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},d))).writeString("(nil)");$s=69;continue;case 68:(d.$ptr_buf||(d.$ptr_buf=new BO(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},d))).writeString("");case 69:$s=66;continue;case 65:$r=d.printValue($clone(z,E.Value),b,c+1>>0);$s=72;case 72:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 66:$s=24;continue;case 20:ab=b;if((ab===(115))||(ab===(113))||(ab===(120))||(ab===(88))){$s=74;continue;}$s=75;continue;case 74:ac=$clone(g,E.Value).Type();ad=ac.Elem();$s=78;case 78:if($c){$c=false;ad=ad.$blk();}if(ad&&ad.$blk!==undefined){break s;}ae=ad.Kind();$s=79;case 79:if($c){$c=false;ae=ae.$blk();}if(ae&&ae.$blk!==undefined){break s;}if(ae===8){$s=76;continue;}$s=77;continue;case 76:af=BS.nil;if($clone(g,E.Value).Kind()===23){$s=80;continue;}if($clone(g,E.Value).CanAddr()){$s=81;continue;}$s=82;continue;case 80:ag=$clone(g,E.Value).Bytes();$s=84;case 84:if($c){$c=false;ag=ag.$blk();}if(ag&&ag.$blk!==undefined){break s;}af=ag;$s=83;continue;case 81:ah=$clone(g,E.Value).Slice(0,$clone(g,E.Value).Len());$s=85;case 85:if($c){$c=false;ah=ah.$blk();}if(ah&&ah.$blk!==undefined){break s;}ai=$clone(ah,E.Value).Bytes();$s=86;case 86:if($c){$c=false;ai=ai.$blk();}if(ai&&ai.$blk!==undefined){break s;}af=ai;$s=83;continue;case 82:af=$makeSlice(BS,$clone(g,E.Value).Len());aj=af;ak=0;case 87:if(!(ak=af.$length)?($throwRuntimeError("index out of range"),undefined):af.$array[af.$offset+al]=((an.$low<<24>>>24)));ak++;$s=87;continue;case 88:case 83:ao=af;ap=b;aq=ac.String();$s=91;case 91:if($c){$c=false;aq=aq.$blk();}if(aq&&aq.$blk!==undefined){break s;}ar=aq;$r=d.fmtBytes(ao,ap,ar);$s=92;case 92:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return;case 77:case 75:case 73:if(d.fmt.fmtFlags.sharpV){$s=93;continue;}$s=94;continue;case 93:as=$clone(g,E.Value).Type().String();$s=96;case 96:if($c){$c=false;as=as.$blk();}if(as&&as.$blk!==undefined){break s;}$r=(d.$ptr_buf||(d.$ptr_buf=new BO(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},d))).writeString(as);$s=97;case 97:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if(($clone(g,E.Value).Kind()===23)&&$clone(g,E.Value).IsNil()){(d.$ptr_buf||(d.$ptr_buf=new BO(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},d))).writeString("(nil)");$s=-1;return;}(d.$ptr_buf||(d.$ptr_buf=new BO(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},d))).writeByte(123);at=0;case 98:if(!(at<$clone(g,E.Value).Len())){$s=99;continue;}if(at>0){(d.$ptr_buf||(d.$ptr_buf=new BO(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},d))).writeString(", ");}au=$clone(g,E.Value).Index(at);$s=100;case 100:if($c){$c=false;au=au.$blk();}if(au&&au.$blk!==undefined){break s;}$r=d.printValue($clone(au,E.Value),b,c+1>>0);$s=101;case 101:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}at=at+(1)>>0;$s=98;continue;case 99:(d.$ptr_buf||(d.$ptr_buf=new BO(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},d))).writeByte(125);$s=95;continue;case 94:(d.$ptr_buf||(d.$ptr_buf=new BO(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},d))).writeByte(91);av=0;case 102:if(!(av<$clone(g,E.Value).Len())){$s=103;continue;}if(av>0){(d.$ptr_buf||(d.$ptr_buf=new BO(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},d))).writeByte(32);}aw=$clone(g,E.Value).Index(av);$s=104;case 104:if($c){$c=false;aw=aw.$blk();}if(aw&&aw.$blk!==undefined){break s;}$r=d.printValue($clone(aw,E.Value),b,c+1>>0);$s=105;case 105:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}av=av+(1)>>0;$s=102;continue;case 103:(d.$ptr_buf||(d.$ptr_buf=new BO(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},d))).writeByte(93);case 95:$s=24;continue;case 21:if((c===0)&&!(($clone(g,E.Value).Pointer()===0))){$s=106;continue;}$s=107;continue;case 106:ax=$clone(g,E.Value).Elem();$s=109;case 109:if($c){$c=false;ax=ax.$blk();}if(ax&&ax.$blk!==undefined){break s;}ay=ax;az=$clone(ay,E.Value).Kind();if((az===(17))||(az===(23))||(az===(25))||(az===(21))){$s=110;continue;}$s=111;continue;case 110:(d.$ptr_buf||(d.$ptr_buf=new BO(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},d))).writeByte(38);$r=d.printValue($clone(ay,E.Value),b,c+1>>0);$s=112;case 112:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return;case 111:case 108:case 107:$r=d.fmtPointer($clone(g,E.Value),b);$s=113;case 113:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=24;continue;case 22:$r=d.fmtPointer($clone(g,E.Value),b);$s=114;case 114:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=24;continue;case 23:$r=d.unknownType($clone(g,E.Value));$s=115;case 115:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 24:case 7:$s=-1;return;}return;}var $f={$blk:AP.ptr.prototype.printValue,$c:true,$r,a,aa,ab,ac,ad,ae,af,ag,ah,ai,aj,ak,al,am,an,ao,ap,aq,ar,as,at,au,av,aw,ax,ay,az,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,$s};return $f;};AP.prototype.printValue=function(a,b,c){return this.$val.printValue(a,b,c);};AP.ptr.prototype.doPrint=function(a){var{a,b,c,d,e,f,g,h,i,j,$s,$r,$c}=$restore(this,{a});$s=$s||0;s:while(true){switch($s){case 0:b=this;c=false;d=a;e=0;case 1:if(!(e=d.$length)?($throwRuntimeError("index out of range"),undefined):d.$array[d.$offset+e]);if(!(!($interfaceIsEqual(g,$ifaceNil)))){h=false;$s=3;continue s;}i=E.TypeOf(g).Kind();$s=4;case 4:if($c){$c=false;i=i.$blk();}if(i&&i.$blk!==undefined){break s;}h=i===24;case 3:j=h;if(f>0&&!j&&!c){(b.$ptr_buf||(b.$ptr_buf=new BO(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},b))).writeByte(32);}$r=b.printArg(g,118);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}c=j;e++;$s=1;continue;case 2:$s=-1;return;}return;}var $f={$blk:AP.ptr.prototype.doPrint,$c:true,$r,a,b,c,d,e,f,g,h,i,j,$s};return $f;};AP.prototype.doPrint=function(a){return this.$val.doPrint(a);};BH.ptr.prototype.clearflags=function(){var a;a=this;BG.copy(a.fmtFlags,new BG.ptr(false,false,false,false,false,false,false,false,false));};BH.prototype.clearflags=function(){return this.$val.clearflags();};BH.ptr.prototype.init=function(a){var a,b;b=this;b.buf=a;b.clearflags();};BH.prototype.init=function(a){return this.$val.init(a);};BH.ptr.prototype.writePadding=function(a){var a,b,c,d,e,f,g,h,i,j;b=this;if(a<=0){return;}c=b.buf.$get();d=c.$length;e=d+a>>0;if(e>c.$capacity){c=$makeSlice(AO,(($imul(c.$capacity,2))+a>>0));$copySlice(c,b.buf.$get());}f=32;if(b.fmtFlags.zero){f=48;}g=$subslice(c,d,e);h=g;i=0;while(true){if(!(i=g.$length)?($throwRuntimeError("index out of range"),undefined):g.$array[g.$offset+j]=f);i++;}b.buf.$set($subslice(c,0,e));};BH.prototype.writePadding=function(a){return this.$val.writePadding(a);};BH.ptr.prototype.pad=function(a){var a,b,c;b=this;if(!b.fmtFlags.widPresent||(b.wid===0)){b.buf.write(a);return;}c=b.wid-H.RuneCount(a)>>0;if(!b.fmtFlags.minus){b.writePadding(c);b.buf.write(a);}else{b.buf.write(a);b.writePadding(c);}};BH.prototype.pad=function(a){return this.$val.pad(a);};BH.ptr.prototype.padString=function(a){var a,b,c;b=this;if(!b.fmtFlags.widPresent||(b.wid===0)){b.buf.writeString(a);return;}c=b.wid-H.RuneCountInString(a)>>0;if(!b.fmtFlags.minus){b.writePadding(c);b.buf.writeString(a);}else{b.buf.writeString(a);b.writePadding(c);}};BH.prototype.padString=function(a){return this.$val.padString(a);};BH.ptr.prototype.fmtBoolean=function(a){var a,b;b=this;if(a){b.padString("true");}else{b.padString("false");}};BH.prototype.fmtBoolean=function(a){return this.$val.fmtBoolean(a);};BH.ptr.prototype.fmtUnicode=function(a){var a,b,c,d,e,f,g;b=this;c=$subslice(new BS(b.intbuf),0);d=4;if(b.fmtFlags.precPresent&&b.prec>4){d=b.prec;e=(((2+d>>0)+2>>0)+4>>0)+1>>0;if(e>c.$length){c=$makeSlice(BS,e);}}f=c.$length;if(b.fmtFlags.sharp&&(a.$high<0||(a.$high===0&&a.$low<=1114111))&&F.IsPrint(((a.$low>>0)))){f=f-(1)>>0;((f<0||f>=c.$length)?($throwRuntimeError("index out of range"),undefined):c.$array[c.$offset+f]=39);f=f-(H.RuneLen(((a.$low>>0))))>>0;H.EncodeRune($subslice(c,f),((a.$low>>0)));f=f-(1)>>0;((f<0||f>=c.$length)?($throwRuntimeError("index out of range"),undefined):c.$array[c.$offset+f]=39);f=f-(1)>>0;((f<0||f>=c.$length)?($throwRuntimeError("index out of range"),undefined):c.$array[c.$offset+f]=32);}while(true){if(!((a.$high>0||(a.$high===0&&a.$low>=16)))){break;}f=f-(1)>>0;((f<0||f>=c.$length)?($throwRuntimeError("index out of range"),undefined):c.$array[c.$offset+f]="0123456789ABCDEFX".charCodeAt($flatten64(new $Uint64(a.$high&0,(a.$low&15)>>>0))));d=d-(1)>>0;a=$shiftRightUint64(a,(4));}f=f-(1)>>0;((f<0||f>=c.$length)?($throwRuntimeError("index out of range"),undefined):c.$array[c.$offset+f]="0123456789ABCDEFX".charCodeAt($flatten64(a)));d=d-(1)>>0;while(true){if(!(d>0)){break;}f=f-(1)>>0;((f<0||f>=c.$length)?($throwRuntimeError("index out of range"),undefined):c.$array[c.$offset+f]=48);d=d-(1)>>0;}f=f-(1)>>0;((f<0||f>=c.$length)?($throwRuntimeError("index out of range"),undefined):c.$array[c.$offset+f]=43);f=f-(1)>>0;((f<0||f>=c.$length)?($throwRuntimeError("index out of range"),undefined):c.$array[c.$offset+f]=85);g=b.fmtFlags.zero;b.fmtFlags.zero=false;b.pad($subslice(c,f));b.fmtFlags.zero=g;};BH.prototype.fmtUnicode=function(a){return this.$val.fmtUnicode(a);};BH.ptr.prototype.fmtInteger=function(a,b,c,d,e){var a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u;f=this;h=c&&(g=(new $Int64(a.$high,a.$low)),(g.$high<0||(g.$high===0&&g.$low<0)));if(h){a=new $Uint64(-a.$high,-a.$low);}i=$subslice(new BS(f.intbuf),0);if(f.fmtFlags.widPresent||f.fmtFlags.precPresent){j=(3+f.wid>>0)+f.prec>>0;if(j>i.$length){i=$makeSlice(BS,j);}}k=0;if(f.fmtFlags.precPresent){k=f.prec;if((k===0)&&(a.$high===0&&a.$low===0)){l=f.fmtFlags.zero;f.fmtFlags.zero=false;f.writePadding(f.wid);f.fmtFlags.zero=l;return;}}else if(f.fmtFlags.zero&&f.fmtFlags.widPresent){k=f.wid;if(h||f.fmtFlags.plus||f.fmtFlags.space){k=k-(1)>>0;}}m=i.$length;n=b;if(n===(10)){while(true){if(!((a.$high>0||(a.$high===0&&a.$low>=10)))){break;}m=m-(1)>>0;o=$div64(a,new $Uint64(0,10),false);((m<0||m>=i.$length)?($throwRuntimeError("index out of range"),undefined):i.$array[i.$offset+m]=(((p=new $Uint64(0+a.$high,48+a.$low),q=$mul64(o,new $Uint64(0,10)),new $Uint64(p.$high-q.$high,p.$low-q.$low)).$low<<24>>>24)));a=o;}}else if(n===(16)){while(true){if(!((a.$high>0||(a.$high===0&&a.$low>=16)))){break;}m=m-(1)>>0;((m<0||m>=i.$length)?($throwRuntimeError("index out of range"),undefined):i.$array[i.$offset+m]=e.charCodeAt($flatten64(new $Uint64(a.$high&0,(a.$low&15)>>>0))));a=$shiftRightUint64(a,(4));}}else if(n===(8)){while(true){if(!((a.$high>0||(a.$high===0&&a.$low>=8)))){break;}m=m-(1)>>0;((m<0||m>=i.$length)?($throwRuntimeError("index out of range"),undefined):i.$array[i.$offset+m]=(((r=new $Uint64(a.$high&0,(a.$low&7)>>>0),new $Uint64(0+r.$high,48+r.$low)).$low<<24>>>24)));a=$shiftRightUint64(a,(3));}}else if(n===(2)){while(true){if(!((a.$high>0||(a.$high===0&&a.$low>=2)))){break;}m=m-(1)>>0;((m<0||m>=i.$length)?($throwRuntimeError("index out of range"),undefined):i.$array[i.$offset+m]=(((s=new $Uint64(a.$high&0,(a.$low&1)>>>0),new $Uint64(0+s.$high,48+s.$low)).$low<<24>>>24)));a=$shiftRightUint64(a,(1));}}else{$panic(new $String("fmt: unknown base; can't happen"));}m=m-(1)>>0;((m<0||m>=i.$length)?($throwRuntimeError("index out of range"),undefined):i.$array[i.$offset+m]=e.charCodeAt($flatten64(a)));while(true){if(!(m>0&&k>(i.$length-m>>0))){break;}m=m-(1)>>0;((m<0||m>=i.$length)?($throwRuntimeError("index out of range"),undefined):i.$array[i.$offset+m]=48);}if(f.fmtFlags.sharp){t=b;if(t===(2)){m=m-(1)>>0;((m<0||m>=i.$length)?($throwRuntimeError("index out of range"),undefined):i.$array[i.$offset+m]=98);m=m-(1)>>0;((m<0||m>=i.$length)?($throwRuntimeError("index out of range"),undefined):i.$array[i.$offset+m]=48);}else if(t===(8)){if(!((((m<0||m>=i.$length)?($throwRuntimeError("index out of range"),undefined):i.$array[i.$offset+m])===48))){m=m-(1)>>0;((m<0||m>=i.$length)?($throwRuntimeError("index out of range"),undefined):i.$array[i.$offset+m]=48);}}else if(t===(16)){m=m-(1)>>0;((m<0||m>=i.$length)?($throwRuntimeError("index out of range"),undefined):i.$array[i.$offset+m]=e.charCodeAt(16));m=m-(1)>>0;((m<0||m>=i.$length)?($throwRuntimeError("index out of range"),undefined):i.$array[i.$offset+m]=48);}}if(d===79){m=m-(1)>>0;((m<0||m>=i.$length)?($throwRuntimeError("index out of range"),undefined):i.$array[i.$offset+m]=111);m=m-(1)>>0;((m<0||m>=i.$length)?($throwRuntimeError("index out of range"),undefined):i.$array[i.$offset+m]=48);}if(h){m=m-(1)>>0;((m<0||m>=i.$length)?($throwRuntimeError("index out of range"),undefined):i.$array[i.$offset+m]=45);}else if(f.fmtFlags.plus){m=m-(1)>>0;((m<0||m>=i.$length)?($throwRuntimeError("index out of range"),undefined):i.$array[i.$offset+m]=43);}else if(f.fmtFlags.space){m=m-(1)>>0;((m<0||m>=i.$length)?($throwRuntimeError("index out of range"),undefined):i.$array[i.$offset+m]=32);}u=f.fmtFlags.zero;f.fmtFlags.zero=false;f.pad($subslice(i,m));f.fmtFlags.zero=u;};BH.prototype.fmtInteger=function(a,b,c,d,e){return this.$val.fmtInteger(a,b,c,d,e);};BH.ptr.prototype.truncateString=function(a){var a,b,c,d,e,f,g;b=this;if(b.fmtFlags.precPresent){c=b.prec;d=a;e=0;while(true){if(!(e>0;if(c<0){return $substring(a,0,g);}e+=f[1];}}return a;};BH.prototype.truncateString=function(a){return this.$val.truncateString(a);};BH.ptr.prototype.truncate=function(a){var a,b,c,d,e,f;b=this;if(b.fmtFlags.precPresent){c=b.prec;d=0;while(true){if(!(d>0;if(c<0){return $subslice(a,0,d);}e=1;if(((d<0||d>=a.$length)?($throwRuntimeError("index out of range"),undefined):a.$array[a.$offset+d])>=128){f=H.DecodeRune($subslice(a,d));e=f[1];}d=d+(e)>>0;}}return a;};BH.prototype.truncate=function(a){return this.$val.truncate(a);};BH.ptr.prototype.fmtS=function(a){var a,b;b=this;a=b.truncateString(a);b.padString(a);};BH.prototype.fmtS=function(a){return this.$val.fmtS(a);};BH.ptr.prototype.fmtBs=function(a){var a,b;b=this;a=b.truncate(a);b.pad(a);};BH.prototype.fmtBs=function(a){return this.$val.fmtBs(a);};BH.ptr.prototype.fmtSbx=function(a,b,c){var a,b,c,d,e,f,g,h,i;d=this;e=b.$length;if(b===BS.nil){e=a.length;}if(d.fmtFlags.precPresent&&d.prec0){if(d.fmtFlags.space){if(d.fmtFlags.sharp){f=$imul(f,(2));}f=f+((e-1>>0))>>0;}else if(d.fmtFlags.sharp){f=f+(2)>>0;}}else{if(d.fmtFlags.widPresent){d.writePadding(d.wid);}return;}if(d.fmtFlags.widPresent&&d.wid>f&&!d.fmtFlags.minus){d.writePadding(d.wid-f>>0);}g=d.buf.$get();if(d.fmtFlags.sharp){g=$append(g,48,c.charCodeAt(16));}h=0;i=0;while(true){if(!(i0){g=$append(g,32);if(d.fmtFlags.sharp){g=$append(g,48,c.charCodeAt(16));}}if(!(b===BS.nil)){h=((i<0||i>=b.$length)?($throwRuntimeError("index out of range"),undefined):b.$array[b.$offset+i]);}else{h=a.charCodeAt(i);}g=$append(g,c.charCodeAt((h>>>4<<24>>>24)),c.charCodeAt(((h&15)>>>0)));i=i+(1)>>0;}d.buf.$set(g);if(d.fmtFlags.widPresent&&d.wid>f&&d.fmtFlags.minus){d.writePadding(d.wid-f>>0);}};BH.prototype.fmtSbx=function(a,b,c){return this.$val.fmtSbx(a,b,c);};BH.ptr.prototype.fmtSx=function(a,b){var a,b,c;c=this;c.fmtSbx(a,BS.nil,b);};BH.prototype.fmtSx=function(a,b){return this.$val.fmtSx(a,b);};BH.ptr.prototype.fmtBx=function(a,b){var a,b,c;c=this;c.fmtSbx("",a,b);};BH.prototype.fmtBx=function(a,b){return this.$val.fmtBx(a,b);};BH.ptr.prototype.fmtQ=function(a){var a,b,c;b=this;a=b.truncateString(a);if(b.fmtFlags.sharp&&F.CanBackquote(a)){b.padString("`"+a+"`");return;}c=$subslice(new BS(b.intbuf),0,0);if(b.fmtFlags.plus){b.pad(F.AppendQuoteToASCII(c,a));}else{b.pad(F.AppendQuote(c,a));}};BH.prototype.fmtQ=function(a){return this.$val.fmtQ(a);};BH.ptr.prototype.fmtC=function(a){var a,b,c,d,e;b=this;c=((a.$low>>0));if((a.$high>0||(a.$high===0&&a.$low>1114111))){c=65533;}d=$subslice(new BS(b.intbuf),0,0);e=H.EncodeRune($subslice(d,0,4),c);b.pad($subslice(d,0,e));};BH.prototype.fmtC=function(a){return this.$val.fmtC(a);};BH.ptr.prototype.fmtQc=function(a){var a,b,c,d;b=this;c=((a.$low>>0));if((a.$high>0||(a.$high===0&&a.$low>1114111))){c=65533;}d=$subslice(new BS(b.intbuf),0,0);if(b.fmtFlags.plus){b.pad(F.AppendQuoteRuneToASCII(d,c));}else{b.pad(F.AppendQuoteRune(d,c));}};BH.prototype.fmtQc=function(a){return this.$val.fmtQc(a);};BH.ptr.prototype.fmtFloat=function(a,b,c,d){var a,b,c,d,e,f,g,h,i,j,k,l,m,n,o;e=this;if(e.fmtFlags.precPresent){d=e.prec;}f=F.AppendFloat($subslice(new BS(e.intbuf),0,1),a,((c<<24>>>24)),d,b);if(((1>=f.$length?($throwRuntimeError("index out of range"),undefined):f.$array[f.$offset+1])===45)||((1>=f.$length?($throwRuntimeError("index out of range"),undefined):f.$array[f.$offset+1])===43)){f=$subslice(f,1);}else{(0>=f.$length?($throwRuntimeError("index out of range"),undefined):f.$array[f.$offset+0]=43);}if(e.fmtFlags.space&&((0>=f.$length?($throwRuntimeError("index out of range"),undefined):f.$array[f.$offset+0])===43)&&!e.fmtFlags.plus){(0>=f.$length?($throwRuntimeError("index out of range"),undefined):f.$array[f.$offset+0]=32);}if(((1>=f.$length?($throwRuntimeError("index out of range"),undefined):f.$array[f.$offset+1])===73)||((1>=f.$length?($throwRuntimeError("index out of range"),undefined):f.$array[f.$offset+1])===78)){g=e.fmtFlags.zero;e.fmtFlags.zero=false;if(((1>=f.$length?($throwRuntimeError("index out of range"),undefined):f.$array[f.$offset+1])===78)&&!e.fmtFlags.space&&!e.fmtFlags.plus){f=$subslice(f,1);}e.pad(f);e.fmtFlags.zero=g;return;}if(e.fmtFlags.sharp&&!((c===98))){h=0;i=c;if((i===(118))||(i===(103))||(i===(71))||(i===(120))){h=d;if(h===-1){h=6;}}j=CP.zero();k=$subslice(new BS(j),0,0);l=false;m=false;n=1;while(true){if(!(n=f.$length)?($throwRuntimeError("index out of range"),undefined):f.$array[f.$offset+n]);if(o===(46)){l=true;}else if((o===(112))||(o===(80))){k=$appendSlice(k,$subslice(f,n));f=$subslice(f,0,n);}else if((o===(101))||(o===(69))){if(!((c===120))&&!((c===88))){k=$appendSlice(k,$subslice(f,n));f=$subslice(f,0,n);break;}if(!((((n<0||n>=f.$length)?($throwRuntimeError("index out of range"),undefined):f.$array[f.$offset+n])===48))){m=true;}if(m){h=h-(1)>>0;}}else{if(!((((n<0||n>=f.$length)?($throwRuntimeError("index out of range"),undefined):f.$array[f.$offset+n])===48))){m=true;}if(m){h=h-(1)>>0;}}}n=n+(1)>>0;}if(!l){if((f.$length===2)&&((1>=f.$length?($throwRuntimeError("index out of range"),undefined):f.$array[f.$offset+1])===48)){h=h-(1)>>0;}f=$append(f,46);}while(true){if(!(h>0)){break;}f=$append(f,48);h=h-(1)>>0;}f=$appendSlice(f,k);}if(e.fmtFlags.plus||!(((0>=f.$length?($throwRuntimeError("index out of range"),undefined):f.$array[f.$offset+0])===43))){if(e.fmtFlags.zero&&e.fmtFlags.widPresent&&e.wid>f.$length){e.buf.writeByte((0>=f.$length?($throwRuntimeError("index out of range"),undefined):f.$array[f.$offset+0]));e.writePadding(e.wid-f.$length>>0);e.buf.write($subslice(f,1));return;}e.pad(f);return;}e.pad($subslice(f,1));};BH.prototype.fmtFloat=function(a,b,c,d){return this.$val.fmtFloat(a,b,c,d);};BT.methods=[{prop:"Read",name:"Read",pkg:"",typ:$funcType([BS],[$Int,$error],false)},{prop:"ReadRune",name:"ReadRune",pkg:"",typ:$funcType([],[$Int32,$Int,$error],false)},{prop:"Width",name:"Width",pkg:"",typ:$funcType([],[$Int,$Bool],false)},{prop:"getRune",name:"getRune",pkg:"fmt",typ:$funcType([],[$Int32],false)},{prop:"mustReadRune",name:"mustReadRune",pkg:"fmt",typ:$funcType([],[$Int32],false)},{prop:"UnreadRune",name:"UnreadRune",pkg:"",typ:$funcType([],[$error],false)},{prop:"error",name:"error",pkg:"fmt",typ:$funcType([$error],[],false)},{prop:"errorString",name:"errorString",pkg:"fmt",typ:$funcType([$String],[],false)},{prop:"Token",name:"Token",pkg:"",typ:$funcType([$Bool,CQ],[BS,$error],false)},{prop:"free",name:"free",pkg:"fmt",typ:$funcType([X],[],false)},{prop:"SkipSpace",name:"SkipSpace",pkg:"",typ:$funcType([],[],false)},{prop:"token",name:"token",pkg:"fmt",typ:$funcType([$Bool,CQ],[BS],false)},{prop:"consume",name:"consume",pkg:"fmt",typ:$funcType([$String,$Bool],[$Bool],false)},{prop:"peek",name:"peek",pkg:"fmt",typ:$funcType([$String],[$Bool],false)},{prop:"notEOF",name:"notEOF",pkg:"fmt",typ:$funcType([],[],false)},{prop:"accept",name:"accept",pkg:"fmt",typ:$funcType([$String],[$Bool],false)},{prop:"okVerb",name:"okVerb",pkg:"fmt",typ:$funcType([$Int32,$String,$String],[$Bool],false)},{prop:"scanBool",name:"scanBool",pkg:"fmt",typ:$funcType([$Int32],[$Bool],false)},{prop:"getBase",name:"getBase",pkg:"fmt",typ:$funcType([$Int32],[$Int,$String],false)},{prop:"scanNumber",name:"scanNumber",pkg:"fmt",typ:$funcType([$String,$Bool],[$String],false)},{prop:"scanRune",name:"scanRune",pkg:"fmt",typ:$funcType([$Int],[$Int64],false)},{prop:"scanBasePrefix",name:"scanBasePrefix",pkg:"fmt",typ:$funcType([],[$Int,$String,$Bool],false)},{prop:"scanInt",name:"scanInt",pkg:"fmt",typ:$funcType([$Int32,$Int],[$Int64],false)},{prop:"scanUint",name:"scanUint",pkg:"fmt",typ:$funcType([$Int32,$Int],[$Uint64],false)},{prop:"floatToken",name:"floatToken",pkg:"fmt",typ:$funcType([],[$String],false)},{prop:"complexTokens",name:"complexTokens",pkg:"fmt",typ:$funcType([],[$String,$String],false)},{prop:"convertFloat",name:"convertFloat",pkg:"fmt",typ:$funcType([$String,$Int],[$Float64],false)},{prop:"scanComplex",name:"scanComplex",pkg:"fmt",typ:$funcType([$Int32,$Int],[$Complex128],false)},{prop:"convertString",name:"convertString",pkg:"fmt",typ:$funcType([$Int32],[$String],false)},{prop:"quotedString",name:"quotedString",pkg:"fmt",typ:$funcType([],[$String],false)},{prop:"hexByte",name:"hexByte",pkg:"fmt",typ:$funcType([],[$Uint8,$Bool],false)},{prop:"hexString",name:"hexString",pkg:"fmt",typ:$funcType([],[$String],false)},{prop:"scanPercent",name:"scanPercent",pkg:"fmt",typ:$funcType([],[],false)},{prop:"scanOne",name:"scanOne",pkg:"fmt",typ:$funcType([$Int32,$emptyInterface],[],false)},{prop:"doScan",name:"doScan",pkg:"fmt",typ:$funcType([BM],[$Int,$error],false)},{prop:"advance",name:"advance",pkg:"fmt",typ:$funcType([$String],[$Int],false)},{prop:"doScanf",name:"doScanf",pkg:"fmt",typ:$funcType([$String,BM],[$Int,$error],false)}];BO.methods=[{prop:"write",name:"write",pkg:"fmt",typ:$funcType([BS],[],false)},{prop:"writeString",name:"writeString",pkg:"fmt",typ:$funcType([$String],[],false)},{prop:"writeByte",name:"writeByte",pkg:"fmt",typ:$funcType([$Uint8],[],false)},{prop:"writeRune",name:"writeRune",pkg:"fmt",typ:$funcType([$Int32],[],false)}];CO.methods=[{prop:"free",name:"free",pkg:"fmt",typ:$funcType([],[],false)},{prop:"Width",name:"Width",pkg:"",typ:$funcType([],[$Int,$Bool],false)},{prop:"Precision",name:"Precision",pkg:"",typ:$funcType([],[$Int,$Bool],false)},{prop:"Flag",name:"Flag",pkg:"",typ:$funcType([$Int],[$Bool],false)},{prop:"Write",name:"Write",pkg:"",typ:$funcType([BS],[$Int,$error],false)},{prop:"WriteString",name:"WriteString",pkg:"",typ:$funcType([$String],[$Int,$error],false)},{prop:"unknownType",name:"unknownType",pkg:"fmt",typ:$funcType([E.Value],[],false)},{prop:"badVerb",name:"badVerb",pkg:"fmt",typ:$funcType([$Int32],[],false)},{prop:"fmtBool",name:"fmtBool",pkg:"fmt",typ:$funcType([$Bool,$Int32],[],false)},{prop:"fmt0x64",name:"fmt0x64",pkg:"fmt",typ:$funcType([$Uint64,$Bool],[],false)},{prop:"fmtInteger",name:"fmtInteger",pkg:"fmt",typ:$funcType([$Uint64,$Bool,$Int32],[],false)},{prop:"fmtFloat",name:"fmtFloat",pkg:"fmt",typ:$funcType([$Float64,$Int,$Int32],[],false)},{prop:"fmtComplex",name:"fmtComplex",pkg:"fmt",typ:$funcType([$Complex128,$Int,$Int32],[],false)},{prop:"fmtString",name:"fmtString",pkg:"fmt",typ:$funcType([$String,$Int32],[],false)},{prop:"fmtBytes",name:"fmtBytes",pkg:"fmt",typ:$funcType([BS,$Int32,$String],[],false)},{prop:"fmtPointer",name:"fmtPointer",pkg:"fmt",typ:$funcType([E.Value,$Int32],[],false)},{prop:"catchPanic",name:"catchPanic",pkg:"fmt",typ:$funcType([$emptyInterface,$Int32,$String],[],false)},{prop:"handleMethods",name:"handleMethods",pkg:"fmt",typ:$funcType([$Int32],[$Bool],false)},{prop:"printArg",name:"printArg",pkg:"fmt",typ:$funcType([$emptyInterface,$Int32],[],false)},{prop:"printValue",name:"printValue",pkg:"fmt",typ:$funcType([E.Value,$Int32,$Int],[],false)},{prop:"argNumber",name:"argNumber",pkg:"fmt",typ:$funcType([$Int,$String,$Int,$Int],[$Int,$Int,$Bool],false)},{prop:"badArgNum",name:"badArgNum",pkg:"fmt",typ:$funcType([$Int32],[],false)},{prop:"missingArg",name:"missingArg",pkg:"fmt",typ:$funcType([$Int32],[],false)},{prop:"doPrintf",name:"doPrintf",pkg:"fmt",typ:$funcType([$String,BM],[],false)},{prop:"doPrint",name:"doPrint",pkg:"fmt",typ:$funcType([BM],[],false)},{prop:"doPrintln",name:"doPrintln",pkg:"fmt",typ:$funcType([BM],[],false)}];CS.methods=[{prop:"clearflags",name:"clearflags",pkg:"fmt",typ:$funcType([],[],false)},{prop:"init",name:"init",pkg:"fmt",typ:$funcType([BO],[],false)},{prop:"writePadding",name:"writePadding",pkg:"fmt",typ:$funcType([$Int],[],false)},{prop:"pad",name:"pad",pkg:"fmt",typ:$funcType([BS],[],false)},{prop:"padString",name:"padString",pkg:"fmt",typ:$funcType([$String],[],false)},{prop:"fmtBoolean",name:"fmtBoolean",pkg:"fmt",typ:$funcType([$Bool],[],false)},{prop:"fmtUnicode",name:"fmtUnicode",pkg:"fmt",typ:$funcType([$Uint64],[],false)},{prop:"fmtInteger",name:"fmtInteger",pkg:"fmt",typ:$funcType([$Uint64,$Int,$Bool,$Int32,$String],[],false)},{prop:"truncateString",name:"truncateString",pkg:"fmt",typ:$funcType([$String],[$String],false)},{prop:"truncate",name:"truncate",pkg:"fmt",typ:$funcType([BS],[BS],false)},{prop:"fmtS",name:"fmtS",pkg:"fmt",typ:$funcType([$String],[],false)},{prop:"fmtBs",name:"fmtBs",pkg:"fmt",typ:$funcType([BS],[],false)},{prop:"fmtSbx",name:"fmtSbx",pkg:"fmt",typ:$funcType([$String,BS,$String],[],false)},{prop:"fmtSx",name:"fmtSx",pkg:"fmt",typ:$funcType([$String,$String],[],false)},{prop:"fmtBx",name:"fmtBx",pkg:"fmt",typ:$funcType([BS,$String],[],false)},{prop:"fmtQ",name:"fmtQ",pkg:"fmt",typ:$funcType([$String],[],false)},{prop:"fmtC",name:"fmtC",pkg:"fmt",typ:$funcType([$Uint64],[],false)},{prop:"fmtQc",name:"fmtQc",pkg:"fmt",typ:$funcType([$Uint64],[],false)},{prop:"fmtFloat",name:"fmtFloat",pkg:"fmt",typ:$funcType([$Float64,$Int,$Int32,$Int],[],false)}];V.init("fmt",[{prop:"err",name:"err",embedded:false,exported:false,typ:$error,tag:""}]);W.init("fmt",[{prop:"rs",name:"rs",embedded:false,exported:false,typ:B.RuneScanner,tag:""},{prop:"buf",name:"buf",embedded:false,exported:false,typ:AO,tag:""},{prop:"count",name:"count",embedded:false,exported:false,typ:$Int,tag:""},{prop:"atEOF",name:"atEOF",embedded:false,exported:false,typ:$Bool,tag:""},{prop:"ssave",name:"ssave",embedded:true,exported:false,typ:X,tag:""}]);X.init("fmt",[{prop:"validSave",name:"validSave",embedded:false,exported:false,typ:$Bool,tag:""},{prop:"nlIsEnd",name:"nlIsEnd",embedded:false,exported:false,typ:$Bool,tag:""},{prop:"nlIsSpace",name:"nlIsSpace",embedded:false,exported:false,typ:$Bool,tag:""},{prop:"argLimit",name:"argLimit",embedded:false,exported:false,typ:$Int,tag:""},{prop:"limit",name:"limit",embedded:false,exported:false,typ:$Int,tag:""},{prop:"maxWid",name:"maxWid",embedded:false,exported:false,typ:$Int,tag:""}]);AK.init([{prop:"Flag",name:"Flag",pkg:"",typ:$funcType([$Int],[$Bool],false)},{prop:"Precision",name:"Precision",pkg:"",typ:$funcType([],[$Int,$Bool],false)},{prop:"Width",name:"Width",pkg:"",typ:$funcType([],[$Int,$Bool],false)},{prop:"Write",name:"Write",pkg:"",typ:$funcType([BS],[$Int,$error],false)}]);AL.init([{prop:"Format",name:"Format",pkg:"",typ:$funcType([AK,$Int32],[],false)}]);AM.init([{prop:"String",name:"String",pkg:"",typ:$funcType([],[$String],false)}]);AN.init([{prop:"GoString",name:"GoString",pkg:"",typ:$funcType([],[$String],false)}]);AO.init($Uint8);AP.init("fmt",[{prop:"buf",name:"buf",embedded:false,exported:false,typ:AO,tag:""},{prop:"arg",name:"arg",embedded:false,exported:false,typ:$emptyInterface,tag:""},{prop:"value",name:"value",embedded:false,exported:false,typ:E.Value,tag:""},{prop:"fmt",name:"fmt",embedded:false,exported:false,typ:BH,tag:""},{prop:"reordered",name:"reordered",embedded:false,exported:false,typ:$Bool,tag:""},{prop:"goodArgNum",name:"goodArgNum",embedded:false,exported:false,typ:$Bool,tag:""},{prop:"panicking",name:"panicking",embedded:false,exported:false,typ:$Bool,tag:""},{prop:"erroring",name:"erroring",embedded:false,exported:false,typ:$Bool,tag:""},{prop:"wrapErrs",name:"wrapErrs",embedded:false,exported:false,typ:$Bool,tag:""},{prop:"wrappedErr",name:"wrappedErr",embedded:false,exported:false,typ:$error,tag:""}]);BG.init("fmt",[{prop:"widPresent",name:"widPresent",embedded:false,exported:false,typ:$Bool,tag:""},{prop:"precPresent",name:"precPresent",embedded:false,exported:false,typ:$Bool,tag:""},{prop:"minus",name:"minus",embedded:false,exported:false,typ:$Bool,tag:""},{prop:"plus",name:"plus",embedded:false,exported:false,typ:$Bool,tag:""},{prop:"sharp",name:"sharp",embedded:false,exported:false,typ:$Bool,tag:""},{prop:"space",name:"space",embedded:false,exported:false,typ:$Bool,tag:""},{prop:"zero",name:"zero",embedded:false,exported:false,typ:$Bool,tag:""},{prop:"plusV",name:"plusV",embedded:false,exported:false,typ:$Bool,tag:""},{prop:"sharpV",name:"sharpV",embedded:false,exported:false,typ:$Bool,tag:""}]);BH.init("fmt",[{prop:"buf",name:"buf",embedded:false,exported:false,typ:BO,tag:""},{prop:"fmtFlags",name:"fmtFlags",embedded:true,exported:false,typ:BG,tag:""},{prop:"wid",name:"wid",embedded:false,exported:false,typ:$Int,tag:""},{prop:"prec",name:"prec",embedded:false,exported:false,typ:$Int,tag:""},{prop:"intbuf",name:"intbuf",embedded:false,exported:false,typ:BP,tag:""}]);$init=function(){$pkg.$init=function(){};var $f,$c=false,$s=0,$r;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:$r=A.$init();$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=I.$init();$s=2;case 2:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=B.$init();$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=C.$init();$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=D.$init();$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=E.$init();$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=F.$init();$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=G.$init();$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=H.$init();$s=9;case 9:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}Y=new BL([$toNativeArray($kindUint16,[9,13]),$toNativeArray($kindUint16,[32,32]),$toNativeArray($kindUint16,[133,133]),$toNativeArray($kindUint16,[160,160]),$toNativeArray($kindUint16,[5760,5760]),$toNativeArray($kindUint16,[8192,8202]),$toNativeArray($kindUint16,[8232,8233]),$toNativeArray($kindUint16,[8239,8239]),$toNativeArray($kindUint16,[8287,8287]),$toNativeArray($kindUint16,[12288,12288])]);AC=new G.Pool.ptr(BM.nil,(function(){return new W.ptr($ifaceNil,AO.nil,0,false,new X.ptr(false,false,false,0,0,0));}));AE=A.New("syntax error scanning complex number");AF=A.New("syntax error scanning boolean");AQ=new G.Pool.ptr(BM.nil,(function(){return new AP.ptr(AO.nil,$ifaceNil,new E.Value.ptr(BN.nil,0,0),new BH.ptr(BO.nil,new BG.ptr(false,false,false,false,false,false,false,false,false),0,0,BP.zero()),false,false,false,false,false,$ifaceNil);}));}return;}if($f===undefined){$f={$blk:$init};}$f.$s=$s;$f.$r=$r;return $f;};$pkg.$init=$init;return $pkg;})(); $packages["github.com/kvartborg/vector"]=(function(){var $pkg={},$init,A,B,C,D,E,R,S,T,U,M,P,Q;A=$packages["errors"];B=$packages["fmt"];C=$packages["math"];D=$pkg.Vector=$newType(12,$kindSlice,"vector.Vector",true,"github.com/kvartborg/vector",true,null);E=$pkg.Axis=$newType(4,$kindInt,"vector.Axis",true,"github.com/kvartborg/vector",true,null);R=$sliceType($Float64);S=$sliceType($emptyInterface);T=$sliceType(D);U=$sliceType(E);D.prototype.Clone=function(){var a,b;a=this;b=$makeSlice(D,a.$length);$copySlice(b,a);return b;};$ptrType(D).prototype.Clone=function(){return this.$get().Clone();};D.prototype.Add=function(a){var a,b,c,d,e,f;b=this;c=b.$length;d=a;e=0;while(true){if(!(e=a.$length)?($throwRuntimeError("index out of range"),undefined):a.$array[a.$offset+f]).$length>c){P($convertSliceType(b,R),1,$convertSliceType(b,R),$convertSliceType($subslice(((f<0||f>=a.$length)?($throwRuntimeError("index out of range"),undefined):a.$array[a.$offset+f]),0,c),R));}else{P($convertSliceType(b,R),1,$convertSliceType(b,R),$convertSliceType(((f<0||f>=a.$length)?($throwRuntimeError("index out of range"),undefined):a.$array[a.$offset+f]),R));}e++;}return b;};$ptrType(D).prototype.Add=function(a){return this.$get().Add(a);};D.prototype.Sub=function(a){var a,b,c,d,e,f;b=this;c=b.$length;d=a;e=0;while(true){if(!(e=a.$length)?($throwRuntimeError("index out of range"),undefined):a.$array[a.$offset+f]).$length>c){P($convertSliceType(b,R),-1,$convertSliceType($subslice(((f<0||f>=a.$length)?($throwRuntimeError("index out of range"),undefined):a.$array[a.$offset+f]),0,c),R),$convertSliceType(b,R));}else{P($convertSliceType(b,R),-1,$convertSliceType(((f<0||f>=a.$length)?($throwRuntimeError("index out of range"),undefined):a.$array[a.$offset+f]),R),$convertSliceType(b,R));}e++;}return b;};$ptrType(D).prototype.Sub=function(a){return this.$get().Sub(a);};D.prototype.Scale=function(a){var a,b;b=this;Q($convertSliceType(b,R),a,$convertSliceType(b,R));return b;};$ptrType(D).prototype.Scale=function(a){return this.$get().Scale(a);};D.prototype.Equal=function(a){var a,b,c,d,e;b=this;if(!((b.$length===a.$length))){return false;}c=b;d=0;while(true){if(!(d=b.$length)?($throwRuntimeError("index out of range"),undefined):b.$array[b.$offset+e])-((e<0||e>=a.$length)?($throwRuntimeError("index out of range"),undefined):a.$array[a.$offset+e]))>1e-08){return false;}d++;}return true;};$ptrType(D).prototype.Equal=function(a){return this.$get().Equal(a);};D.prototype.Magnitude=function(){var a,b,c,d,e;a=this;b=0;c=a;d=0;while(true){if(!(d=c.$length)?($throwRuntimeError("index out of range"),undefined):c.$array[c.$offset+d]);b=b+(e*e);d++;}return C.Sqrt(b);};$ptrType(D).prototype.Magnitude=function(){return this.$get().Magnitude();};D.prototype.Unit=function(){var a,b,c,d,e;a=this;b=a.Magnitude();if(b<1e-08){return a;}c=a;d=0;while(true){if(!(d=a.$length)?($throwRuntimeError("index out of range"),undefined):a.$array[a.$offset+e]=((e<0||e>=a.$length)?($throwRuntimeError("index out of range"),undefined):a.$array[a.$offset+e])/b);d++;}return a;};$ptrType(D).prototype.Unit=function(){return this.$get().Unit();};M=function(a,b){var a,b,c,d,e,f,g,h,i,j,k;c=0;d=a.$length;e=b.$length;f=c;g=d;h=e;if(g>h){b=$appendSlice(b,$convertSliceType($makeSlice(D,(g-h>>0)),R));}if(g>0)),R));}i=a;j=0;while(true){if(!(j=a.$length)?($throwRuntimeError("index out of range"),undefined):a.$array[a.$offset+k])*((k<0||k>=b.$length)?($throwRuntimeError("index out of range"),undefined):b.$array[b.$offset+k]));j++;}return f;};$pkg.Dot=M;D.prototype.Dot=function(a){var a,b;b=this;return M(b,a);};$ptrType(D).prototype.Dot=function(a){return this.$get().Dot(a);};D.prototype.Cross=function(a){var a,b;b=this;if(!((b.$length===3))||!((a.$length===3))){return[D.nil,$pkg.ErrNot3Dimensional];}return[new D([(1>=b.$length?($throwRuntimeError("index out of range"),undefined):b.$array[b.$offset+1])*(2>=a.$length?($throwRuntimeError("index out of range"),undefined):a.$array[a.$offset+2])-(2>=b.$length?($throwRuntimeError("index out of range"),undefined):b.$array[b.$offset+2])*(1>=a.$length?($throwRuntimeError("index out of range"),undefined):a.$array[a.$offset+1]),(2>=b.$length?($throwRuntimeError("index out of range"),undefined):b.$array[b.$offset+2])*(0>=a.$length?($throwRuntimeError("index out of range"),undefined):a.$array[a.$offset+0])-(0>=b.$length?($throwRuntimeError("index out of range"),undefined):b.$array[b.$offset+0])*(2>=a.$length?($throwRuntimeError("index out of range"),undefined):a.$array[a.$offset+2]),(0>=b.$length?($throwRuntimeError("index out of range"),undefined):b.$array[b.$offset+0])*(2>=a.$length?($throwRuntimeError("index out of range"),undefined):a.$array[a.$offset+2])-(2>=b.$length?($throwRuntimeError("index out of range"),undefined):b.$array[b.$offset+2])*(0>=a.$length?($throwRuntimeError("index out of range"),undefined):a.$array[a.$offset+0])]),$ifaceNil];};$ptrType(D).prototype.Cross=function(a){return this.$get().Cross(a);};D.prototype.Rotate=function(a,b){var a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r;c=this;d=2;e=c.$length;f=d;g=e;if(g===0){return c;}if(b.$length>0){f=(0>=b.$length?($throwRuntimeError("index out of range"),undefined):b.$array[b.$offset+0]);}if((g===1)&&!((f===2))){c=$append(c,0,0);}if((g<2&&(f===2))||((g===2)&&!((f===2)))){c=$append(c,0);}h=(0>=c.$length?($throwRuntimeError("index out of range"),undefined):c.$array[c.$offset+0]);i=(1>=c.$length?($throwRuntimeError("index out of range"),undefined):c.$array[c.$offset+1]);j=h;k=i;l=C.Cos(a);m=C.Sin(a);n=l;o=m;p=f;if(p===(0)){q=(2>=c.$length?($throwRuntimeError("index out of range"),undefined):c.$array[c.$offset+2]);(1>=c.$length?($throwRuntimeError("index out of range"),undefined):c.$array[c.$offset+1]=k*n-q*o);(2>=c.$length?($throwRuntimeError("index out of range"),undefined):c.$array[c.$offset+2]=k*o+q*n);}else if(p===(1)){r=(2>=c.$length?($throwRuntimeError("index out of range"),undefined):c.$array[c.$offset+2]);(0>=c.$length?($throwRuntimeError("index out of range"),undefined):c.$array[c.$offset+0]=j*n+r*o);(2>=c.$length?($throwRuntimeError("index out of range"),undefined):c.$array[c.$offset+2]=-j*o+r*n);}else if(p===(2)){(0>=c.$length?($throwRuntimeError("index out of range"),undefined):c.$array[c.$offset+0]=j*n-k*o);(1>=c.$length?($throwRuntimeError("index out of range"),undefined):c.$array[c.$offset+1]=j*o+k*n);}if(g>3){return $subslice(c,0,3);}return c;};$ptrType(D).prototype.Rotate=function(a,b){return this.$get().Rotate(a,b);};D.prototype.String=function(){var{a,b,c,d,e,f,$s,$r,$c}=$restore(this,{});$s=$s||0;s:while(true){switch($s){case 0:a="";b=this;if(b===D.nil){a="[]";$s=-1;return a;}c=b;d=0;case 1:if(!(d=b.$length)?($throwRuntimeError("index out of range"),undefined):b.$array[b.$offset+e])<1e-08&&((e<0||e>=b.$length)?($throwRuntimeError("index out of range"),undefined):b.$array[b.$offset+e])>0){$s=3;continue;}$s=4;continue;case 3:a=a+("0 ");$s=5;continue;case 4:f=B.Sprint(new S([new $Float64(((e<0||e>=b.$length)?($throwRuntimeError("index out of range"),undefined):b.$array[b.$offset+e]))]));$s=6;case 6:if($c){$c=false;f=f.$blk();}if(f&&f.$blk!==undefined){break s;}a=a+(f+" ");case 5:d++;$s=1;continue;case 2:a="["+$substring(a,0,(a.length-1>>0))+"]";$s=-1;return a;}return;}var $f={$blk:D.prototype.String,$c:true,$r,a,b,c,d,e,f,$s};return $f;};$ptrType(D).prototype.String=function(){return this.$get().String();};D.prototype.X=function(){var a;a=this;if(a.$length<1){return 0;}return(0>=a.$length?($throwRuntimeError("index out of range"),undefined):a.$array[a.$offset+0]);};$ptrType(D).prototype.X=function(){return this.$get().X();};D.prototype.Y=function(){var a;a=this;if(a.$length<2){return 0;}return(1>=a.$length?($throwRuntimeError("index out of range"),undefined):a.$array[a.$offset+1]);};$ptrType(D).prototype.Y=function(){return this.$get().Y();};D.prototype.Z=function(){var a;a=this;if(a.$length<3){return 0;}return(2>=a.$length?($throwRuntimeError("index out of range"),undefined):a.$array[a.$offset+2]);};$ptrType(D).prototype.Z=function(){return this.$get().Z();};P=function(a,b,c,d){var a,b,c,d,e,f,g,h,i;e=d.$length;f=c;g=0;while(true){if(!(g=f.$length)?($throwRuntimeError("index out of range"),undefined):f.$array[f.$offset+g]);if(h===e){return;}((h<0||h>=a.$length)?($throwRuntimeError("index out of range"),undefined):a.$array[a.$offset+h]=b*i+((h<0||h>=d.$length)?($throwRuntimeError("index out of range"),undefined):d.$array[d.$offset+h]));g++;}};Q=function(a,b,c){var a,b,c,d,e,f;d=c;e=0;while(true){if(!(e=a.$length)?($throwRuntimeError("index out of range"),undefined):a.$array[a.$offset+f]=((f<0||f>=a.$length)?($throwRuntimeError("index out of range"),undefined):a.$array[a.$offset+f])*(b));e++;}};D.methods=[{prop:"Clone",name:"Clone",pkg:"",typ:$funcType([],[D],false)},{prop:"Add",name:"Add",pkg:"",typ:$funcType([T],[D],true)},{prop:"Sub",name:"Sub",pkg:"",typ:$funcType([T],[D],true)},{prop:"Scale",name:"Scale",pkg:"",typ:$funcType([$Float64],[D],false)},{prop:"Equal",name:"Equal",pkg:"",typ:$funcType([D],[$Bool],false)},{prop:"Magnitude",name:"Magnitude",pkg:"",typ:$funcType([],[$Float64],false)},{prop:"Unit",name:"Unit",pkg:"",typ:$funcType([],[D],false)},{prop:"Dot",name:"Dot",pkg:"",typ:$funcType([D],[$Float64],false)},{prop:"Cross",name:"Cross",pkg:"",typ:$funcType([D],[D,$error],false)},{prop:"Rotate",name:"Rotate",pkg:"",typ:$funcType([$Float64,U],[D],true)},{prop:"String",name:"String",pkg:"",typ:$funcType([],[$String],false)},{prop:"X",name:"X",pkg:"",typ:$funcType([],[$Float64],false)},{prop:"Y",name:"Y",pkg:"",typ:$funcType([],[$Float64],false)},{prop:"Z",name:"Z",pkg:"",typ:$funcType([],[$Float64],false)}];D.init($Float64);$init=function(){$pkg.$init=function(){};var $f,$c=false,$s=0,$r;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:$r=A.$init();$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=B.$init();$s=2;case 2:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=C.$init();$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$pkg.ErrNot3Dimensional=A.New("vector is not 3 dimensional");}return;}if($f===undefined){$f={$blk:$init};}$f.$s=$s;$f.$r=$r;return $f;};$pkg.$init=$init;return $pkg;})(); $packages["github.com/solarlune/resolv"]=(function(){var $pkg={},$init,B,A,C,D,F,G,I,K,N,P,Q,S,U,W,X,Y,Z,AA,AB,AC,AD,AE,AF,AG,AH,AI,AJ,AK,AL,E,H,J,L,M,O,R,T,V;B=$packages["github.com/kvartborg/vector"];A=$packages["math"];C=$packages["sort"];D=$pkg.Space=$newType(0,$kindStruct,"resolv.Space",true,"github.com/solarlune/resolv",true,function(Cells_,CellWidth_,CellHeight_){this.$val=this;if(arguments.length===0){this.Cells=Y.nil;this.CellWidth=0;this.CellHeight=0;return;}this.Cells=Cells_;this.CellWidth=CellWidth_;this.CellHeight=CellHeight_;});F=$pkg.Shape=$newType(8,$kindInterface,"resolv.Shape",true,"github.com/solarlune/resolv",true,null);G=$pkg.Line=$newType(0,$kindStruct,"resolv.Line",true,"github.com/solarlune/resolv",true,function(Start_,End_){this.$val=this;if(arguments.length===0){this.Start=B.Vector.nil;this.End=B.Vector.nil;return;}this.Start=Start_;this.End=End_;});I=$pkg.ConvexPolygon=$newType(0,$kindStruct,"resolv.ConvexPolygon",true,"github.com/solarlune/resolv",true,function(Points_,X_,Y_,Closed_){this.$val=this;if(arguments.length===0){this.Points=AC.nil;this.X=0;this.Y=0;this.Closed=false;return;}this.Points=Points_;this.X=X_;this.Y=Y_;this.Closed=Closed_;});K=$pkg.ContactSet=$newType(0,$kindStruct,"resolv.ContactSet",true,"github.com/solarlune/resolv",true,function(Points_,MTV_,Center_){this.$val=this;if(arguments.length===0){this.Points=AC.nil;this.MTV=B.Vector.nil;this.Center=B.Vector.nil;return;}this.Points=Points_;this.MTV=MTV_;this.Center=Center_;});N=$pkg.Circle=$newType(0,$kindStruct,"resolv.Circle",true,"github.com/solarlune/resolv",true,function(X_,Y_,Radius_){this.$val=this;if(arguments.length===0){this.X=0;this.Y=0;this.Radius=0;return;}this.X=X_;this.Y=Y_;this.Radius=Radius_;});P=$pkg.Projection=$newType(0,$kindStruct,"resolv.Projection",true,"github.com/solarlune/resolv",true,function(Min_,Max_){this.$val=this;if(arguments.length===0){this.Min=0;this.Max=0;return;}this.Min=Min_;this.Max=Max_;});Q=$pkg.Object=$newType(0,$kindStruct,"resolv.Object",true,"github.com/solarlune/resolv",true,function(Shape_,Space_,X_,Y_,W_,H_,TouchingCells_,Data_,ignoreList_,tags_){this.$val=this;if(arguments.length===0){this.Shape=$ifaceNil;this.Space=Z.nil;this.X=0;this.Y=0;this.W=0;this.H=0;this.TouchingCells=X.nil;this.Data=$ifaceNil;this.ignoreList=false;this.tags=AJ.nil;return;}this.Shape=Shape_;this.Space=Space_;this.X=X_;this.Y=Y_;this.W=W_;this.H=H_;this.TouchingCells=TouchingCells_;this.Data=Data_;this.ignoreList=ignoreList_;this.tags=tags_;});S=$pkg.Collision=$newType(0,$kindStruct,"resolv.Collision",true,"github.com/solarlune/resolv",true,function(checkingObject_,dx_,dy_,Objects_,Cells_){this.$val=this;if(arguments.length===0){this.checkingObject=AA.nil;this.dx=0;this.dy=0;this.Objects=AB.nil;this.Cells=X.nil;return;}this.checkingObject=checkingObject_;this.dx=dx_;this.dy=dy_;this.Objects=Objects_;this.Cells=Cells_;});U=$pkg.Cell=$newType(0,$kindStruct,"resolv.Cell",true,"github.com/solarlune/resolv",true,function(X_,Y_,Objects_){this.$val=this;if(arguments.length===0){this.X=0;this.Y=0;this.Objects=AB.nil;return;}this.X=X_;this.Y=Y_;this.Objects=Objects_;});W=$ptrType(U);X=$sliceType(W);Y=$sliceType(X);Z=$ptrType(D);AA=$ptrType(Q);AB=$sliceType(AA);AC=$sliceType(B.Vector);AD=$sliceType($Float64);AE=$ptrType(G);AF=$sliceType(AE);AG=$ptrType(N);AH=$ptrType(I);AI=$ptrType(K);AJ=$sliceType($String);AK=$ptrType(S);AL=$mapType(AA,$Bool);E=function(a,b,c,d){var a,b,c,d,e,f,g;e=new D.ptr(Y.nil,c,d);e.Resize((f=a/c,(f===f&&f!==1/0&&f!==-1/0)?f>>0:$throwRuntimeError("integer divide by zero")),(g=b/d,(g===g&&g!==1/0&&g!==-1/0)?g>>0:$throwRuntimeError("integer divide by zero")));return e;};$pkg.NewSpace=E;D.ptr.prototype.Add=function(a){var{a,b,c,d,e,$s,$r,$c}=$restore(this,{a});$s=$s||0;s:while(true){switch($s){case 0:b=this;c=a;d=0;case 1:if(!(d=c.$length)?($throwRuntimeError("index out of range"),undefined):c.$array[c.$offset+d]);e.Space=b;$r=e.Update();$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}d++;$s=1;continue;case 2:$s=-1;return;}return;}var $f={$blk:D.ptr.prototype.Add,$c:true,$r,a,b,c,d,e,$s};return $f;};D.prototype.Add=function(a){return this.$val.Add(a);};D.ptr.prototype.Remove=function(a){var a,b,c,d,e,f,g,h;b=this;c=a;d=0;while(true){if(!(d=c.$length)?($throwRuntimeError("index out of range"),undefined):c.$array[c.$offset+d]);f=e.TouchingCells;g=0;while(true){if(!(g=f.$length)?($throwRuntimeError("index out of range"),undefined):f.$array[f.$offset+g]);h.unregister(e);g++;}e.TouchingCells=new X([]);e.Space=Z.nil;d++;}};D.prototype.Remove=function(a){return this.$val.Remove(a);};D.ptr.prototype.Objects=function(){var a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s;a=this;b=$makeMap(AA.keyFor,[]);c=new AB([]);d=a.Cells;e=0;while(true){if(!(e=h.$length)?($throwRuntimeError("index out of range"),undefined):h.$array[h.$offset+f]));i=0;while(true){if(!(i=m.$length)?($throwRuntimeError("index out of range"),undefined):m.$array[m.$offset+f])),((j<0||j>=l.$length)?($throwRuntimeError("index out of range"),undefined):l.$array[l.$offset+j])).Objects;n=0;while(true){if(!(n=k.$length)?($throwRuntimeError("index out of range"),undefined):k.$array[k.$offset+n]);p=(q=b[AA.keyFor(o)],q!==undefined?[q.v,true]:[false,false]);r=p[1];if(!r){c=$append(c,o);s=o;(b||$throwRuntimeError("assignment to entry in nil map"))[AA.keyFor(s)]={k:s,v:true};}n++;}i++;}e++;}return c;};D.prototype.Objects=function(){return this.$val.Objects();};D.ptr.prototype.Resize=function(a,b){var a,b,c,d,e,f,g;c=this;c.Cells=new Y([]);d=0;while(true){if(!(d=g.$length)?($throwRuntimeError("index out of range"),undefined):g.$array[g.$offset+d]=$append((f=c.Cells,((d<0||d>=f.$length)?($throwRuntimeError("index out of range"),undefined):f.$array[f.$offset+d])),V(e,d))));e=e+(1)>>0;}d=d+(1)>>0;}};D.prototype.Resize=function(a,b){return this.$val.Resize(a,b);};D.ptr.prototype.Cell=function(a,b){var a,b,c,d,e,f;c=this;if(b>=0&&b=0&&a<(d=c.Cells,((b<0||b>=d.$length)?($throwRuntimeError("index out of range"),undefined):d.$array[d.$offset+b])).$length){return(e=(f=c.Cells,((b<0||b>=f.$length)?($throwRuntimeError("index out of range"),undefined):f.$array[f.$offset+b])),((a<0||a>=e.$length)?($throwRuntimeError("index out of range"),undefined):e.$array[e.$offset+a]));}return W.nil;};D.prototype.Cell=function(a,b){return this.$val.Cell(a,b);};D.ptr.prototype.CheckCells=function(a,b,c,d,e){var a,b,c,d,e,f,g,h,i,j,k,l,m;f=this;g=a;while(true){if(!(g<(a+c>>0))){break;}h=b;while(true){if(!(h<(b+d>>0))){break;}i=f.Cell(g,h);if(!(i===W.nil)){if(e.$length>0){if(i.ContainsTags(e)){j=i.Objects;k=0;while(true){if(!(k=j.$length)?($throwRuntimeError("index out of range"),undefined):j.$array[j.$offset+k]);if(l.HasTags(e)){return l;}k++;}}}else if(i.Occupied()){return(m=i.Objects,(0>=m.$length?($throwRuntimeError("index out of range"),undefined):m.$array[m.$offset+0]));}}h=h+(1)>>0;}g=g+(1)>>0;}return AA.nil;};D.prototype.CheckCells=function(a,b,c,d,e){return this.$val.CheckCells(a,b,c,d,e);};D.ptr.prototype.UnregisterAllObjects=function(){var a,b,c,d,e,f,g;a=this;b=0;while(true){if(!(b=d.$length)?($throwRuntimeError("index out of range"),undefined):d.$array[d.$offset+b])).$length)){break;}g=(e=(f=a.Cells,((b<0||b>=f.$length)?($throwRuntimeError("index out of range"),undefined):f.$array[f.$offset+b])),((c<0||c>=e.$length)?($throwRuntimeError("index out of range"),undefined):e.$array[e.$offset+c]));a.Remove(g.Objects);c=c+(1)>>0;}b=b+(1)>>0;}};D.prototype.UnregisterAllObjects=function(){return this.$val.UnregisterAllObjects();};D.ptr.prototype.WorldToSpace=function(a,b){var a,b,c,d,e;c=this;d=((A.Floor(a/(c.CellWidth))>>0));e=((A.Floor(b/(c.CellHeight))>>0));return[d,e];};D.prototype.WorldToSpace=function(a,b){return this.$val.WorldToSpace(a,b);};D.ptr.prototype.SpaceToWorld=function(a,b){var a,b,c,d,e;c=this;d=(($imul(a,c.CellWidth)));e=(($imul(b,c.CellHeight)));return[d,e];};D.prototype.SpaceToWorld=function(a,b){return this.$val.SpaceToWorld(a,b);};D.ptr.prototype.Height=function(){var a;a=this;return a.Cells.$length;};D.prototype.Height=function(){return this.$val.Height();};D.ptr.prototype.Width=function(){var a,b;a=this;if(a.Cells.$length>0){return(b=a.Cells,(0>=b.$length?($throwRuntimeError("index out of range"),undefined):b.$array[b.$offset+0])).$length;}return 0;};D.prototype.Width=function(){return this.$val.Width();};D.ptr.prototype.CellsInLine=function(a,b,c,d){var a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v;e=this;f=new X([]);g=e.Cell(a,b);h=e.Cell(c,d);if(!(g===W.nil)&&!(h===W.nil)){i=new B.Vector([((c-a>>0)),((d-b>>0))]).Unit();(0>=i.$length?($throwRuntimeError("index out of range"),undefined):i.$array[i.$offset+0]=(0>=i.$length?($throwRuntimeError("index out of range"),undefined):i.$array[i.$offset+0])*(((j=e.CellWidth/2,(j===j&&j!==1/0&&j!==-1/0)?j>>0:$throwRuntimeError("integer divide by zero")))));(1>=i.$length?($throwRuntimeError("index out of range"),undefined):i.$array[i.$offset+1]=(1>=i.$length?($throwRuntimeError("index out of range"),undefined):i.$array[i.$offset+1])*(((k=e.CellHeight/2,(k===k&&k!==1/0&&k!==-1/0)?k>>0:$throwRuntimeError("integer divide by zero")))));l=e.SpaceToWorld(a,b);m=l[0];n=l[1];q=new B.Vector([m+((o=e.CellWidth/2,(o===o&&o!==1/0&&o!==-1/0)?o>>0:$throwRuntimeError("integer divide by zero"))),n+((p=e.CellHeight/2,(p===p&&p!==1/0&&p!==-1/0)?p>>0:$throwRuntimeError("integer divide by zero")))]);r=false;while(true){if(!(!(g===W.nil))){break;}if(g===h){f=$append(f,g);break;}f=$append(f,g);if(r){(1>=q.$length?($throwRuntimeError("index out of range"),undefined):q.$array[q.$offset+1]=(1>=q.$length?($throwRuntimeError("index out of range"),undefined):q.$array[q.$offset+1])+((1>=i.$length?($throwRuntimeError("index out of range"),undefined):i.$array[i.$offset+1])));}else{(0>=q.$length?($throwRuntimeError("index out of range"),undefined):q.$array[q.$offset+0]=(0>=q.$length?($throwRuntimeError("index out of range"),undefined):q.$array[q.$offset+0])+((0>=i.$length?($throwRuntimeError("index out of range"),undefined):i.$array[i.$offset+0])));}s=e.WorldToSpace((0>=q.$length?($throwRuntimeError("index out of range"),undefined):q.$array[q.$offset+0]),(1>=q.$length?($throwRuntimeError("index out of range"),undefined):q.$array[q.$offset+1]));t=s[0];u=s[1];v=e.Cell(t,u);if(!(v===g)){g=v;}r=!r;}}return f;};D.prototype.CellsInLine=function(a,b,c,d){return this.$val.CellsInLine(a,b,c,d);};H=function(a,b,c,d){var a,b,c,d;return new G.ptr(new B.Vector([a,b]),new B.Vector([c,d]));};$pkg.NewLine=H;G.ptr.prototype.Project=function(a){var a,b;b=this;return b.Vector().Scale(a.Dot(b.Start.Sub(new AC([b.End]))));};G.prototype.Project=function(a){return this.$val.Project(a);};G.ptr.prototype.Normal=function(){var a,b;a=this;b=a.Vector();return new B.Vector([(1>=b.$length?($throwRuntimeError("index out of range"),undefined):b.$array[b.$offset+1]),-(0>=b.$length?($throwRuntimeError("index out of range"),undefined):b.$array[b.$offset+0])]).Unit();};G.prototype.Normal=function(){return this.$val.Normal();};G.ptr.prototype.Vector=function(){var a;a=this;return a.End.Clone().Sub(new AC([a.Start])).Unit();};G.prototype.Vector=function(){return this.$val.Vector();};G.ptr.prototype.IntersectionPointsLine=function(a){var a,aa,ab,ac,ad,ae,af,ag,ah,ai,aj,ak,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z;b=this;k=((c=b.End,(0>=c.$length?($throwRuntimeError("index out of range"),undefined):c.$array[c.$offset+0]))-(d=b.Start,(0>=d.$length?($throwRuntimeError("index out of range"),undefined):d.$array[d.$offset+0])))*((e=a.End,(1>=e.$length?($throwRuntimeError("index out of range"),undefined):e.$array[e.$offset+1]))-(f=a.Start,(1>=f.$length?($throwRuntimeError("index out of range"),undefined):f.$array[f.$offset+1])))-((g=a.End,(0>=g.$length?($throwRuntimeError("index out of range"),undefined):g.$array[g.$offset+0]))-(h=a.Start,(0>=h.$length?($throwRuntimeError("index out of range"),undefined):h.$array[h.$offset+0])))*((i=b.End,(1>=i.$length?($throwRuntimeError("index out of range"),undefined):i.$array[i.$offset+1]))-(j=b.Start,(1>=j.$length?($throwRuntimeError("index out of range"),undefined):j.$array[j.$offset+1])));if(!((k===0))){t=((((l=b.Start,(1>=l.$length?($throwRuntimeError("index out of range"),undefined):l.$array[l.$offset+1]))-(m=a.Start,(1>=m.$length?($throwRuntimeError("index out of range"),undefined):m.$array[m.$offset+1])))*((n=a.End,(0>=n.$length?($throwRuntimeError("index out of range"),undefined):n.$array[n.$offset+0]))-(o=a.Start,(0>=o.$length?($throwRuntimeError("index out of range"),undefined):o.$array[o.$offset+0]))))-(((p=b.Start,(0>=p.$length?($throwRuntimeError("index out of range"),undefined):p.$array[p.$offset+0]))-(q=a.Start,(0>=q.$length?($throwRuntimeError("index out of range"),undefined):q.$array[q.$offset+0])))*((r=a.End,(1>=r.$length?($throwRuntimeError("index out of range"),undefined):r.$array[r.$offset+1]))-(s=a.Start,(1>=s.$length?($throwRuntimeError("index out of range"),undefined):s.$array[s.$offset+1]))))+1)/k;ac=((((u=b.Start,(1>=u.$length?($throwRuntimeError("index out of range"),undefined):u.$array[u.$offset+1]))-(v=a.Start,(1>=v.$length?($throwRuntimeError("index out of range"),undefined):v.$array[v.$offset+1])))*((w=b.End,(0>=w.$length?($throwRuntimeError("index out of range"),undefined):w.$array[w.$offset+0]))-(x=b.Start,(0>=x.$length?($throwRuntimeError("index out of range"),undefined):x.$array[x.$offset+0]))))-(((y=b.Start,(0>=y.$length?($throwRuntimeError("index out of range"),undefined):y.$array[y.$offset+0]))-(z=a.Start,(0>=z.$length?($throwRuntimeError("index out of range"),undefined):z.$array[z.$offset+0])))*((aa=b.End,(1>=aa.$length?($throwRuntimeError("index out of range"),undefined):aa.$array[aa.$offset+1]))-(ab=b.Start,(1>=ab.$length?($throwRuntimeError("index out of range"),undefined):ab.$array[ab.$offset+1]))))+1)/k;if((0=ad.$length?($throwRuntimeError("index out of range"),undefined):ad.$array[ad.$offset+0]))-(ae=b.Start,(0>=ae.$length?($throwRuntimeError("index out of range"),undefined):ae.$array[ae.$offset+0]));ai=(ag=b.End,(1>=ag.$length?($throwRuntimeError("index out of range"),undefined):ag.$array[ag.$offset+1]))-(ah=b.Start,(1>=ah.$length?($throwRuntimeError("index out of range"),undefined):ah.$array[ah.$offset+1]));return new B.Vector([(aj=b.Start,(0>=aj.$length?($throwRuntimeError("index out of range"),undefined):aj.$array[aj.$offset+0]))+(t*af),(ak=b.Start,(1>=ak.$length?($throwRuntimeError("index out of range"),undefined):ak.$array[ak.$offset+1]))+(t*ai)]);}}return B.Vector.nil;};G.prototype.IntersectionPointsLine=function(a){return this.$val.IntersectionPointsLine(a);};G.ptr.prototype.IntersectionPointsCircle=function(a){var a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s;b=this;c=new AC([]);d=new B.Vector([a.X,a.Y]);e=b.Start.Sub(new AC([d]));f=b.End.Sub(new AC([d]));g=f.Sub(new AC([e]));h=(0>=g.$length?($throwRuntimeError("index out of range"),undefined):g.$array[g.$offset+0])*(0>=g.$length?($throwRuntimeError("index out of range"),undefined):g.$array[g.$offset+0])+(1>=g.$length?($throwRuntimeError("index out of range"),undefined):g.$array[g.$offset+1])*(1>=g.$length?($throwRuntimeError("index out of range"),undefined):g.$array[g.$offset+1]);i=2*(((0>=g.$length?($throwRuntimeError("index out of range"),undefined):g.$array[g.$offset+0])*(0>=e.$length?($throwRuntimeError("index out of range"),undefined):e.$array[e.$offset+0]))+((1>=g.$length?($throwRuntimeError("index out of range"),undefined):g.$array[g.$offset+1])*(1>=e.$length?($throwRuntimeError("index out of range"),undefined):e.$array[e.$offset+1])));j=((0>=e.$length?($throwRuntimeError("index out of range"),undefined):e.$array[e.$offset+0])*(0>=e.$length?($throwRuntimeError("index out of range"),undefined):e.$array[e.$offset+0]))+((1>=e.$length?($throwRuntimeError("index out of range"),undefined):e.$array[e.$offset+1])*(1>=e.$length?($throwRuntimeError("index out of range"),undefined):e.$array[e.$offset+1]))-(a.Radius*a.Radius);k=i*i-(4*h*j);if(k<0){}else if(k===0){l=-i/(2*h);if(l>=0&&l<=1){c=$append(c,new B.Vector([(m=b.Start,(0>=m.$length?($throwRuntimeError("index out of range"),undefined):m.$array[m.$offset+0]))+l*(0>=g.$length?($throwRuntimeError("index out of range"),undefined):g.$array[g.$offset+0]),(n=b.Start,(1>=n.$length?($throwRuntimeError("index out of range"),undefined):n.$array[n.$offset+1]))+l*(1>=g.$length?($throwRuntimeError("index out of range"),undefined):g.$array[g.$offset+1])]));}}else{o=(-i+A.Sqrt(k))/(2*h);if(o>=0&&o<=1){c=$append(c,new B.Vector([(p=b.Start,(0>=p.$length?($throwRuntimeError("index out of range"),undefined):p.$array[p.$offset+0]))+o*(0>=g.$length?($throwRuntimeError("index out of range"),undefined):g.$array[g.$offset+0]),(q=b.Start,(1>=q.$length?($throwRuntimeError("index out of range"),undefined):q.$array[q.$offset+1]))+o*(1>=g.$length?($throwRuntimeError("index out of range"),undefined):g.$array[g.$offset+1])]));}o=(-i-A.Sqrt(k))/(2*h);if(o>=0&&o<=1){c=$append(c,new B.Vector([(r=b.Start,(0>=r.$length?($throwRuntimeError("index out of range"),undefined):r.$array[r.$offset+0]))+o*(0>=g.$length?($throwRuntimeError("index out of range"),undefined):g.$array[g.$offset+0]),(s=b.Start,(1>=s.$length?($throwRuntimeError("index out of range"),undefined):s.$array[s.$offset+1]))+o*(1>=g.$length?($throwRuntimeError("index out of range"),undefined):g.$array[g.$offset+1])]));}}return c;};G.prototype.IntersectionPointsCircle=function(a){return this.$val.IntersectionPointsCircle(a);};J=function(a){var a,b;b=new I.ptr(new AC([]),0,0,true);b.AddPoints(a);return b;};$pkg.NewConvexPolygon=J;I.ptr.prototype.Clone=function(){var a,b,c,d,e,f;a=this;b=new AC([]);c=a.Points;d=0;while(true){if(!(d=c.$length)?($throwRuntimeError("index out of range"),undefined):c.$array[c.$offset+d]);b=$append(b,e.Clone());d++;}f=J(AD.nil);f.X=a.X;f.Y=a.Y;f.AddPointsVec(b);f.Closed=a.Closed;return f;};I.prototype.Clone=function(){return this.$val.Clone();};I.ptr.prototype.AddPointsVec=function(a){var a,b;b=this;b.Points=$appendSlice(b.Points,a);};I.prototype.AddPointsVec=function(a){return this.$val.AddPointsVec(a);};I.ptr.prototype.AddPoints=function(a){var a,b,c,d;b=this;c=0;while(true){if(!(c=a.$length)?($throwRuntimeError("index out of range"),undefined):a.$array[a.$offset+c]),(d=c+1>>0,((d<0||d>=a.$length)?($throwRuntimeError("index out of range"),undefined):a.$array[a.$offset+d]))]));c=c+(2)>>0;}};I.prototype.AddPoints=function(a){return this.$val.AddPoints(a);};I.ptr.prototype.Lines=function(){var a,b,c,d,e,f,g,h,i,j;a=this;b=new AF([]);c=a.Transformed();d=0;while(true){if(!(d=c.$length)?($throwRuntimeError("index out of range"),undefined):c.$array[c.$offset+d]);f=(0>=c.$length?($throwRuntimeError("index out of range"),undefined):c.$array[c.$offset+0]);g=e;h=f;if(d<(c.$length-1>>0)){h=(i=d+1>>0,((i<0||i>=c.$length)?($throwRuntimeError("index out of range"),undefined):c.$array[c.$offset+i]));}else if(!a.Closed){break;}j=H((0>=g.$length?($throwRuntimeError("index out of range"),undefined):g.$array[g.$offset+0]),(1>=g.$length?($throwRuntimeError("index out of range"),undefined):g.$array[g.$offset+1]),(0>=h.$length?($throwRuntimeError("index out of range"),undefined):h.$array[h.$offset+0]),(1>=h.$length?($throwRuntimeError("index out of range"),undefined):h.$array[h.$offset+1]));b=$append(b,j);d=d+(1)>>0;}return b;};I.prototype.Lines=function(){return this.$val.Lines();};I.ptr.prototype.Transformed=function(){var a,b,c,d,e;a=this;b=new AC([]);c=a.Points;d=0;while(true){if(!(d=c.$length)?($throwRuntimeError("index out of range"),undefined):c.$array[c.$offset+d]);b=$append(b,new B.Vector([(0>=e.$length?($throwRuntimeError("index out of range"),undefined):e.$array[e.$offset+0])+a.X,(1>=e.$length?($throwRuntimeError("index out of range"),undefined):e.$array[e.$offset+1])+a.Y]));d++;}return b;};I.prototype.Transformed=function(){return this.$val.Transformed();};I.ptr.prototype.Bounds=function(){var a,b,c,d,e,f,g,h;a=this;b=a.Transformed();e=new B.Vector([(c=(0>=b.$length?($throwRuntimeError("index out of range"),undefined):b.$array[b.$offset+0]),(0>=c.$length?($throwRuntimeError("index out of range"),undefined):c.$array[c.$offset+0])),(d=(0>=b.$length?($throwRuntimeError("index out of range"),undefined):b.$array[b.$offset+0]),(1>=d.$length?($throwRuntimeError("index out of range"),undefined):d.$array[d.$offset+1]))]);f=e.Clone();g=0;while(true){if(!(g=b.$length)?($throwRuntimeError("index out of range"),undefined):b.$array[b.$offset+g]);if((0>=h.$length?($throwRuntimeError("index out of range"),undefined):h.$array[h.$offset+0])<(0>=e.$length?($throwRuntimeError("index out of range"),undefined):e.$array[e.$offset+0])){(0>=e.$length?($throwRuntimeError("index out of range"),undefined):e.$array[e.$offset+0]=(0>=h.$length?($throwRuntimeError("index out of range"),undefined):h.$array[h.$offset+0]));}else if((0>=h.$length?($throwRuntimeError("index out of range"),undefined):h.$array[h.$offset+0])>(0>=f.$length?($throwRuntimeError("index out of range"),undefined):f.$array[f.$offset+0])){(0>=f.$length?($throwRuntimeError("index out of range"),undefined):f.$array[f.$offset+0]=(0>=h.$length?($throwRuntimeError("index out of range"),undefined):h.$array[h.$offset+0]));}if((1>=h.$length?($throwRuntimeError("index out of range"),undefined):h.$array[h.$offset+1])<(1>=e.$length?($throwRuntimeError("index out of range"),undefined):e.$array[e.$offset+1])){(1>=e.$length?($throwRuntimeError("index out of range"),undefined):e.$array[e.$offset+1]=(1>=h.$length?($throwRuntimeError("index out of range"),undefined):h.$array[h.$offset+1]));}else if((1>=h.$length?($throwRuntimeError("index out of range"),undefined):h.$array[h.$offset+1])>(1>=f.$length?($throwRuntimeError("index out of range"),undefined):f.$array[f.$offset+1])){(1>=f.$length?($throwRuntimeError("index out of range"),undefined):f.$array[f.$offset+1]=(1>=h.$length?($throwRuntimeError("index out of range"),undefined):h.$array[h.$offset+1]));}g=g+(1)>>0;}return[e,f];};I.prototype.Bounds=function(){return this.$val.Bounds();};I.ptr.prototype.Position=function(){var a;a=this;return[a.X,a.Y];};I.prototype.Position=function(){return this.$val.Position();};I.ptr.prototype.SetPosition=function(a,b){var a,b,c;c=this;c.X=a;c.Y=b;};I.prototype.SetPosition=function(a,b){return this.$val.SetPosition(a,b);};I.ptr.prototype.SetPositionVec=function(a){var a,b;b=this;b.X=a.X();b.Y=a.Y();};I.prototype.SetPositionVec=function(a){return this.$val.SetPositionVec(a);};I.ptr.prototype.Move=function(a,b){var a,b,c;c=this;c.X=c.X+(a);c.Y=c.Y+(b);};I.prototype.Move=function(a,b){return this.$val.Move(a,b);};I.ptr.prototype.MoveVec=function(a){var a,b;b=this;b.X=b.X+(a.X());b.Y=b.Y+(a.Y());};I.prototype.MoveVec=function(a){return this.$val.MoveVec(a);};I.ptr.prototype.Center=function(){var a,b,c,d,e;a=this;b=new B.Vector([0,0]);c=a.Transformed();d=0;while(true){if(!(d=c.$length)?($throwRuntimeError("index out of range"),undefined):c.$array[c.$offset+d]);b.Add(new AC([e]));d++;}(0>=b.$length?($throwRuntimeError("index out of range"),undefined):b.$array[b.$offset+0]=(0>=b.$length?($throwRuntimeError("index out of range"),undefined):b.$array[b.$offset+0])/((a.Transformed().$length)));(1>=b.$length?($throwRuntimeError("index out of range"),undefined):b.$array[b.$offset+1]=(1>=b.$length?($throwRuntimeError("index out of range"),undefined):b.$array[b.$offset+1])/((a.Transformed().$length)));return b;};I.prototype.Center=function(){return this.$val.Center();};I.ptr.prototype.Project=function(a){var a,b,c,d,e,f,g,h,i,j,k;b=this;a=a.Unit();c=b.Transformed();f=a.Dot(new B.Vector([(d=(0>=c.$length?($throwRuntimeError("index out of range"),undefined):c.$array[c.$offset+0]),(0>=d.$length?($throwRuntimeError("index out of range"),undefined):d.$array[d.$offset+0])),(e=(0>=c.$length?($throwRuntimeError("index out of range"),undefined):c.$array[c.$offset+0]),(1>=e.$length?($throwRuntimeError("index out of range"),undefined):e.$array[e.$offset+1]))]));g=f;h=1;while(true){if(!(h=c.$length)?($throwRuntimeError("index out of range"),undefined):c.$array[c.$offset+h]),(0>=i.$length?($throwRuntimeError("index out of range"),undefined):i.$array[i.$offset+0])),(j=((h<0||h>=c.$length)?($throwRuntimeError("index out of range"),undefined):c.$array[c.$offset+h]),(1>=j.$length?($throwRuntimeError("index out of range"),undefined):j.$array[j.$offset+1]))]));if(kg){g=k;}h=h+(1)>>0;}return new P.ptr(f,g);};I.prototype.Project=function(a){return this.$val.Project(a);};I.ptr.prototype.SATAxes=function(){var a,b,c,d,e;a=this;b=new AC([]);c=a.Lines();d=0;while(true){if(!(d=c.$length)?($throwRuntimeError("index out of range"),undefined):c.$array[c.$offset+d]);b=$append(b,e.Normal());d++;}return b;};I.prototype.SATAxes=function(){return this.$val.SATAxes();};I.ptr.prototype.PointInside=function(a){var a,b,c,d,e,f,g;b=this;c=H((0>=a.$length?($throwRuntimeError("index out of range"),undefined):a.$array[a.$offset+0]),(1>=a.$length?($throwRuntimeError("index out of range"),undefined):a.$array[a.$offset+1]),(0>=a.$length?($throwRuntimeError("index out of range"),undefined):a.$array[a.$offset+0])+9.99999999999e+11,(1>=a.$length?($throwRuntimeError("index out of range"),undefined):a.$array[a.$offset+1]));d=0;e=b.Lines();f=0;while(true){if(!(f=e.$length)?($throwRuntimeError("index out of range"),undefined):e.$array[e.$offset+f]);if(!(g.IntersectionPointsLine(c)===B.Vector.nil)){d=d+(1)>>0;}f++;}return d===1;};I.prototype.PointInside=function(a){return this.$val.PointInside(a);};L=function(){return new K.ptr(new AC([]),new B.Vector([0,0]),new B.Vector([0,0]));};$pkg.NewContactSet=L;K.ptr.prototype.LeftmostPoint=function(){var a,b,c,d,e;a=this;b=B.Vector.nil;c=a.Points;d=0;while(true){if(!(d=c.$length)?($throwRuntimeError("index out of range"),undefined):c.$array[c.$offset+d]);if(b===B.Vector.nil||(0>=e.$length?($throwRuntimeError("index out of range"),undefined):e.$array[e.$offset+0])<(0>=b.$length?($throwRuntimeError("index out of range"),undefined):b.$array[b.$offset+0])){b=e;}d++;}return b;};K.prototype.LeftmostPoint=function(){return this.$val.LeftmostPoint();};K.ptr.prototype.RightmostPoint=function(){var a,b,c,d,e;a=this;b=B.Vector.nil;c=a.Points;d=0;while(true){if(!(d=c.$length)?($throwRuntimeError("index out of range"),undefined):c.$array[c.$offset+d]);if(b===B.Vector.nil||(0>=e.$length?($throwRuntimeError("index out of range"),undefined):e.$array[e.$offset+0])>(0>=b.$length?($throwRuntimeError("index out of range"),undefined):b.$array[b.$offset+0])){b=e;}d++;}return b;};K.prototype.RightmostPoint=function(){return this.$val.RightmostPoint();};K.ptr.prototype.TopmostPoint=function(){var a,b,c,d,e;a=this;b=B.Vector.nil;c=a.Points;d=0;while(true){if(!(d=c.$length)?($throwRuntimeError("index out of range"),undefined):c.$array[c.$offset+d]);if(b===B.Vector.nil||(1>=e.$length?($throwRuntimeError("index out of range"),undefined):e.$array[e.$offset+1])<(1>=b.$length?($throwRuntimeError("index out of range"),undefined):b.$array[b.$offset+1])){b=e;}d++;}return b;};K.prototype.TopmostPoint=function(){return this.$val.TopmostPoint();};K.ptr.prototype.BottommostPoint=function(){var a,b,c,d,e;a=this;b=B.Vector.nil;c=a.Points;d=0;while(true){if(!(d=c.$length)?($throwRuntimeError("index out of range"),undefined):c.$array[c.$offset+d]);if(b===B.Vector.nil||(1>=e.$length?($throwRuntimeError("index out of range"),undefined):e.$array[e.$offset+1])>(1>=b.$length?($throwRuntimeError("index out of range"),undefined):b.$array[b.$offset+1])){b=e;}d++;}return b;};K.prototype.BottommostPoint=function(){return this.$val.BottommostPoint();};I.ptr.prototype.Intersection=function(a,b,c){var{a,aa,ab,ac,ad,ae,af,ag,ah,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,$s,$r,$c}=$restore(this,{a,b,c});$s=$s||0;s:while(true){switch($s){case 0:d=this;e=L();f=d.X;g=d.Y;d.X=d.X+(a);d.Y=d.Y+(b);h=$assertType(c,AG,true);i=h[0];j=h[1];if(j){k=d.Lines();l=0;while(true){if(!(l=k.$length)?($throwRuntimeError("index out of range"),undefined):k.$array[k.$offset+l]);e.Points=$appendSlice(e.Points,m.IntersectionPointsCircle(i));l++;}}else{n=$assertType(c,AH,true);o=n[0];p=n[1];if(p){q=d.Lines();r=0;while(true){if(!(r=q.$length)?($throwRuntimeError("index out of range"),undefined):q.$array[q.$offset+r]);t=o.Lines();u=0;while(true){if(!(u=t.$length)?($throwRuntimeError("index out of range"),undefined):t.$array[t.$offset+u]);w=s.IntersectionPointsLine(v);if(!(w===B.Vector.nil)){e.Points=$append(e.Points,w);}u++;}r++;}}}if(e.Points.$length>0){$s=1;continue;}$s=2;continue;case 1:x=e.Points;y=0;while(true){if(!(y=x.$length)?($throwRuntimeError("index out of range"),undefined):x.$array[x.$offset+y]);e.Center=e.Center.Add(new AC([z]));y++;}(ab=e.Center,(0>=ab.$length?($throwRuntimeError("index out of range"),undefined):ab.$array[ab.$offset+0]=(aa=e.Center,(0>=aa.$length?($throwRuntimeError("index out of range"),undefined):aa.$array[aa.$offset+0]))/((e.Points.$length))));(ad=e.Center,(1>=ad.$length?($throwRuntimeError("index out of range"),undefined):ad.$array[ad.$offset+1]=(ac=e.Center,(1>=ac.$length?($throwRuntimeError("index out of range"),undefined):ac.$array[ac.$offset+1]))/((e.Points.$length))));ae=d.calculateMTV(e,c);$s=4;case 4:if($c){$c=false;ae=ae.$blk();}if(ae&&ae.$blk!==undefined){break s;}af=ae;if(!(af===B.Vector.nil)){e.MTV=af;}$s=3;continue;case 2:e=AI.nil;case 3:if(!(e===AI.nil)&&(!((a===0))||!((b===0)))){ag=new B.Vector([a,b]).Magnitude();ah=e.MTV.Magnitude();e.MTV=e.MTV.Unit().Scale(ah-ag);}d.X=f;d.Y=g;$s=-1;return e;}return;}var $f={$blk:I.ptr.prototype.Intersection,$c:true,$r,a,aa,ab,ac,ad,ae,af,ag,ah,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,$s};return $f;};I.prototype.Intersection=function(a,b,c){return this.$val.Intersection(a,b,c);};I.ptr.prototype.calculateMTV=function(a,b){var{a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=[c];d=[d];e=this;f=new B.Vector([0,0]);g=new B.Vector([1.7976931348623157e+308,0]);h=b;if($assertType(h,AH,true)[1]){$s=1;continue;}if($assertType(h,AG,true)[1]){$s=2;continue;}$s=3;continue;case 1:i=h.$val;k=e.SATAxes();l=0;while(true){if(!(l=k.$length)?($throwRuntimeError("index out of range"),undefined):k.$array[k.$offset+l]);if(!$clone(e.Project(m),P).Overlapping($clone(i.Project(m),P))){$s=-1;return B.Vector.nil;}n=$clone(e.Project(m),P).Overlap($clone(i.Project(m),P));if(g.Magnitude()>n){g=m.Scale(n);}l++;}o=i.SATAxes();p=0;while(true){if(!(p=o.$length)?($throwRuntimeError("index out of range"),undefined):o.$array[o.$offset+p]);if(!$clone(e.Project(q),P).Overlapping($clone(i.Project(q),P))){$s=-1;return B.Vector.nil;}r=$clone(e.Project(q),P).Overlap($clone(i.Project(q),P));if(g.Magnitude()>r){g=q.Scale(r);}p++;}$s=3;continue;case 2:j=h.$val;d[0]=$appendSlice(new AC([]),e.Transformed());d[0]=$append(d[0],a.Center);c[0]=new B.Vector([j.X,j.Y]);$r=C.Slice(d[0],(function(c,d){return function(s,t){var s,t;return((s<0||s>=d[0].$length)?($throwRuntimeError("index out of range"),undefined):d[0].$array[d[0].$offset+s]).Sub(new AC([c[0]])).Magnitude()<((t<0||t>=d[0].$length)?($throwRuntimeError("index out of range"),undefined):d[0].$array[d[0].$offset+t]).Sub(new AC([c[0]])).Magnitude();};})(c,d));$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}g=new B.Vector([(0>=c[0].$length?($throwRuntimeError("index out of range"),undefined):c[0].$array[c[0].$offset+0])-(s=(0>=d[0].$length?($throwRuntimeError("index out of range"),undefined):d[0].$array[d[0].$offset+0]),(0>=s.$length?($throwRuntimeError("index out of range"),undefined):s.$array[s.$offset+0])),(1>=c[0].$length?($throwRuntimeError("index out of range"),undefined):c[0].$array[c[0].$offset+1])-(t=(0>=d[0].$length?($throwRuntimeError("index out of range"),undefined):d[0].$array[d[0].$offset+0]),(1>=t.$length?($throwRuntimeError("index out of range"),undefined):t.$array[t.$offset+1]))]);g=g.Unit().Scale(g.Magnitude()-j.Radius);case 3:(0>=f.$length?($throwRuntimeError("index out of range"),undefined):f.$array[f.$offset+0]=(0>=g.$length?($throwRuntimeError("index out of range"),undefined):g.$array[g.$offset+0]));(1>=f.$length?($throwRuntimeError("index out of range"),undefined):f.$array[f.$offset+1]=(1>=g.$length?($throwRuntimeError("index out of range"),undefined):g.$array[g.$offset+1]));$s=-1;return f;}return;}var $f={$blk:I.ptr.prototype.calculateMTV,$c:true,$r,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,$s};return $f;};I.prototype.calculateMTV=function(a,b){return this.$val.calculateMTV(a,b);};I.ptr.prototype.ContainedBy=function(a){var a,b,c,d,e,f,g,h,i,j;b=this;c=a;if($assertType(c,AH,true)[1]){d=c.$val;e=b.SATAxes();f=0;while(true){if(!(f=e.$length)?($throwRuntimeError("index out of range"),undefined):e.$array[e.$offset+f]);if(!$clone(b.Project(g),P).IsInside($clone(d.Project(g),P))){return false;}f++;}h=d.SATAxes();i=0;while(true){if(!(i=h.$length)?($throwRuntimeError("index out of range"),undefined):h.$array[h.$offset+i]);if(!$clone(b.Project(j),P).IsInside($clone(d.Project(j),P))){return false;}i++;}}return true;};I.prototype.ContainedBy=function(a){return this.$val.ContainedBy(a);};I.ptr.prototype.FlipH=function(){var a,b,c,d;a=this;b=a.Points;c=0;while(true){if(!(c=b.$length)?($throwRuntimeError("index out of range"),undefined):b.$array[b.$offset+c]);(0>=d.$length?($throwRuntimeError("index out of range"),undefined):d.$array[d.$offset+0]=-(0>=d.$length?($throwRuntimeError("index out of range"),undefined):d.$array[d.$offset+0]));c++;}a.ReverseVertexOrder();};I.prototype.FlipH=function(){return this.$val.FlipH();};I.ptr.prototype.FlipV=function(){var a,b,c,d;a=this;b=a.Points;c=0;while(true){if(!(c=b.$length)?($throwRuntimeError("index out of range"),undefined):b.$array[b.$offset+c]);(1>=d.$length?($throwRuntimeError("index out of range"),undefined):d.$array[d.$offset+1]=-(1>=d.$length?($throwRuntimeError("index out of range"),undefined):d.$array[d.$offset+1]));c++;}a.ReverseVertexOrder();};I.prototype.FlipV=function(){return this.$val.FlipV();};I.ptr.prototype.ReverseVertexOrder=function(){var a,b,c,d,e;a=this;c=new AC([(b=a.Points,(0>=b.$length?($throwRuntimeError("index out of range"),undefined):b.$array[b.$offset+0]))]);d=a.Points.$length-1>>0;while(true){if(!(d>=1)){break;}c=$append(c,(e=a.Points,((d<0||d>=e.$length)?($throwRuntimeError("index out of range"),undefined):e.$array[e.$offset+d])));d=d-(1)>>0;}a.Points=c;};I.prototype.ReverseVertexOrder=function(){return this.$val.ReverseVertexOrder();};M=function(a,b,c,d){var a,b,c,d;return J(new AD([a,b,a+c,b,a+c,b+d,a,b+d]));};$pkg.NewRectangle=M;O=function(a,b,c){var a,b,c,d;d=new N.ptr(a,b,c);return d;};$pkg.NewCircle=O;N.ptr.prototype.Clone=function(){var a;a=this;return O(a.X,a.Y,a.Radius);};N.prototype.Clone=function(){return this.$val.Clone();};N.ptr.prototype.Bounds=function(){var a;a=this;return[new B.Vector([a.X-a.Radius,a.Y-a.Radius]),new B.Vector([a.X+a.Radius,a.Y+a.Radius])];};N.prototype.Bounds=function(){return this.$val.Bounds();};N.ptr.prototype.Intersection=function(a,b,c){var{a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,$s,$r,$c}=$restore(this,{a,b,c});$s=$s||0;s:while(true){switch($s){case 0:d=this;e=AI.nil;f=d.X;g=d.Y;d.X=d.X+(a);d.Y=d.Y+(b);h=c;if($assertType(h,AH,true)[1]){$s=1;continue;}if($assertType(h,AG,true)[1]){$s=2;continue;}$s=3;continue;case 1:i=h.$val;k=i.Intersection(-a,-b,d);$s=4;case 4:if($c){$c=false;k=k.$blk();}if(k&&k.$blk!==undefined){break s;}e=k;if(!(e===AI.nil)){e.MTV=e.MTV.Scale(-1);}$s=3;continue;case 2:j=h.$val;e=L();e.Points=d.IntersectionPointsCircle(j);if(e.Points.$length===0){$s=-1;return AI.nil;}e.MTV=new B.Vector([d.X-j.X,d.Y-j.Y]);l=e.MTV.Magnitude();e.MTV=e.MTV.Unit().Scale(d.Radius+j.Radius-l);m=e.Points;n=0;while(true){if(!(n=m.$length)?($throwRuntimeError("index out of range"),undefined):m.$array[m.$offset+n]);e.Center=e.Center.Add(new AC([o]));n++;}(q=e.Center,(0>=q.$length?($throwRuntimeError("index out of range"),undefined):q.$array[q.$offset+0]=(p=e.Center,(0>=p.$length?($throwRuntimeError("index out of range"),undefined):p.$array[p.$offset+0]))/((e.Points.$length))));(s=e.Center,(1>=s.$length?($throwRuntimeError("index out of range"),undefined):s.$array[s.$offset+1]=(r=e.Center,(1>=r.$length?($throwRuntimeError("index out of range"),undefined):r.$array[r.$offset+1]))/((e.Points.$length))));case 3:d.X=f;d.Y=g;$s=-1;return e;}return;}var $f={$blk:N.ptr.prototype.Intersection,$c:true,$r,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,$s};return $f;};N.prototype.Intersection=function(a,b,c){return this.$val.Intersection(a,b,c);};N.ptr.prototype.Move=function(a,b){var a,b,c;c=this;c.X=c.X+(a);c.Y=c.Y+(b);};N.prototype.Move=function(a,b){return this.$val.Move(a,b);};N.ptr.prototype.MoveVec=function(a){var a,b;b=this;b.X=b.X+(a.X());b.Y=b.Y+(a.Y());};N.prototype.MoveVec=function(a){return this.$val.MoveVec(a);};N.ptr.prototype.SetPosition=function(a,b){var a,b,c;c=this;c.X=a;c.Y=b;};N.prototype.SetPosition=function(a,b){return this.$val.SetPosition(a,b);};N.ptr.prototype.SetPositionVec=function(a){var a,b;b=this;b.X=a.X();b.Y=a.Y();};N.prototype.SetPositionVec=function(a){return this.$val.SetPositionVec(a);};N.ptr.prototype.Position=function(){var a;a=this;return[a.X,a.Y];};N.prototype.Position=function(){return this.$val.Position();};N.ptr.prototype.PointInside=function(a){var a,b;b=this;return a.Sub(new AC([new B.Vector([b.X,b.Y])])).Magnitude()<=b.Radius;};N.prototype.PointInside=function(a){return this.$val.PointInside(a);};N.ptr.prototype.IntersectionPointsCircle=function(a){var a,b,c,d,e,f,g;b=this;c=A.Sqrt(A.Pow(a.X-b.X,2)+A.Pow(a.Y-b.Y,2));if(c>b.Radius+a.Radius||c0;};P.prototype.Overlapping=function(a){return this.$val.Overlapping(a);};P.ptr.prototype.Overlap=function(a){var a,b;b=this;return A.Min(b.Max,a.Max)-A.Max(b.Min,a.Min);};P.prototype.Overlap=function(a){return this.$val.Overlap(a);};P.ptr.prototype.IsInside=function(a){var a,b;b=this;return b.Min>=a.Min&&b.Max<=a.Max;};P.prototype.IsInside=function(a){return this.$val.IsInside(a);};R=function(a,b,c,d,e){var a,b,c,d,e,f;f=new Q.ptr($ifaceNil,Z.nil,a,b,c,d,X.nil,$ifaceNil,$makeMap(AA.keyFor,[]),new AJ([]));if(e.$length>0){f.AddTags(e);}return f;};$pkg.NewObject=R;Q.ptr.prototype.Clone=function(){var{a,b,c,d,e,f,g,h,$s,$r,$c}=$restore(this,{});$s=$s||0;s:while(true){switch($s){case 0:a=this;b=R(a.X,a.Y,a.W,a.H,a.Tags());b.Data=a.Data;if(!($interfaceIsEqual(a.Shape,$ifaceNil))){$s=1;continue;}$s=2;continue;case 1:c=a.Shape.Clone();$s=3;case 3:if($c){$c=false;c=c.$blk();}if(c&&c.$blk!==undefined){break s;}$r=b.SetShape(c);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:d=a.ignoreList;e=0;f=$keys(d);while(true){if(!(e>0;}h=h+(1)>>0;}}if(!($interfaceIsEqual(a.Shape,$ifaceNil))){$s=1;continue;}$s=2;continue;case 1:$r=a.Shape.SetPosition(a.X,a.Y);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return;}return;}var $f={$blk:Q.ptr.prototype.Update,$c:true,$r,a,b,c,d,e,f,g,h,i,j,$s};return $f;};Q.prototype.Update=function(){return this.$val.Update();};Q.ptr.prototype.AddTags=function(a){var a,b;b=this;b.tags=$appendSlice(b.tags,a);};Q.prototype.AddTags=function(a){return this.$val.AddTags(a);};Q.ptr.prototype.RemoveTags=function(a){var a,b,c,d,e,f,g,h,i;b=this;c=a;d=0;while(true){if(!(d=c.$length)?($throwRuntimeError("index out of range"),undefined):c.$array[c.$offset+d]);f=b.tags;g=0;while(true){if(!(g=f.$length)?($throwRuntimeError("index out of range"),undefined):f.$array[f.$offset+g]);if(i===e){b.tags=$appendSlice($subslice(b.tags,0,h),$subslice(b.tags,(h+1>>0)));break;}g++;}d++;}};Q.prototype.RemoveTags=function(a){return this.$val.RemoveTags(a);};Q.ptr.prototype.HasTags=function(a){var a,b,c,d,e,f,g,h;b=this;c=a;d=0;while(true){if(!(d=c.$length)?($throwRuntimeError("index out of range"),undefined):c.$array[c.$offset+d]);f=b.tags;g=0;while(true){if(!(g=f.$length)?($throwRuntimeError("index out of range"),undefined):f.$array[f.$offset+g]);if(h===e){return true;}g++;}d++;}return false;};Q.prototype.HasTags=function(a){return this.$val.HasTags(a);};Q.ptr.prototype.Tags=function(){var a;a=this;return $appendSlice(new AJ([]),a.tags);};Q.prototype.Tags=function(){return this.$val.Tags();};Q.ptr.prototype.SetShape=function(a){var{a,b,$s,$r,$c}=$restore(this,{a});$s=$s||0;s:while(true){switch($s){case 0:b=this;if(!($interfaceIsEqual(b.Shape,a))){$s=1;continue;}$s=2;continue;case 1:b.Shape=a;$r=b.Update();$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return;}return;}var $f={$blk:Q.ptr.prototype.SetShape,$c:true,$r,a,b,$s};return $f;};Q.prototype.SetShape=function(a){return this.$val.SetShape(a);};Q.ptr.prototype.BoundsToSpace=function(a,b){var a,b,c,d,e,f,g,h,i;c=this;d=c.Space.WorldToSpace(c.X+a,c.Y+b);e=d[0];f=d[1];g=c.Space.WorldToSpace(c.X+c.W+a-1,c.Y+c.H+b-1);h=g[0];i=g[1];return[e,f,h,i];};Q.prototype.BoundsToSpace=function(a,b){return this.$val.BoundsToSpace(a,b);};Q.ptr.prototype.SharesCells=function(a){var a,b,c,d,e;b=this;c=b.TouchingCells;d=0;while(true){if(!(d=c.$length)?($throwRuntimeError("index out of range"),undefined):c.$array[c.$offset+d]);if(e.Contains(a)){return true;}d++;}return false;};Q.prototype.SharesCells=function(a){return this.$val.SharesCells(a);};Q.ptr.prototype.SharesCellsTags=function(a){var a,b,c,d,e;b=this;c=b.TouchingCells;d=0;while(true){if(!(d=c.$length)?($throwRuntimeError("index out of range"),undefined):c.$array[c.$offset+d]);if(e.ContainsTags(a)){return true;}d++;}return false;};Q.prototype.SharesCellsTags=function(a){return this.$val.SharesCellsTags(a);};Q.ptr.prototype.Center=function(){var a;a=this;return[a.X+(a.W/2),a.Y+(a.H/2)];};Q.prototype.Center=function(){return this.$val.Center();};Q.ptr.prototype.SetCenter=function(a,b){var a,b,c;c=this;c.X=a-(c.W/2);c.Y=b-(c.H/2);};Q.prototype.SetCenter=function(a,b){return this.$val.SetCenter(a,b);};Q.ptr.prototype.CellPosition=function(){var a,b;a=this;b=a.Center();return a.Space.WorldToSpace(b[0],b[1]);};Q.prototype.CellPosition=function(){return this.$val.CellPosition();};Q.ptr.prototype.SetRight=function(a){var a,b;b=this;b.X=a-b.W;};Q.prototype.SetRight=function(a){return this.$val.SetRight(a);};Q.ptr.prototype.SetBottom=function(a){var a,b;b=this;b.Y=a-b.H;};Q.prototype.SetBottom=function(a){return this.$val.SetBottom(a);};Q.ptr.prototype.Bottom=function(){var a;a=this;return a.Y+a.H;};Q.prototype.Bottom=function(){return this.$val.Bottom();};Q.ptr.prototype.Right=function(){var a;a=this;return a.X+a.W;};Q.prototype.Right=function(){return this.$val.Right();};Q.ptr.prototype.SetBounds=function(a,b){var a,b,c;c=this;c.X=(0>=a.$length?($throwRuntimeError("index out of range"),undefined):a.$array[a.$offset+0]);c.Y=(1>=a.$length?($throwRuntimeError("index out of range"),undefined):a.$array[a.$offset+1]);c.W=(0>=b.$length?($throwRuntimeError("index out of range"),undefined):b.$array[b.$offset+0])-c.X;c.H=(1>=b.$length?($throwRuntimeError("index out of range"),undefined):b.$array[b.$offset+1])-c.Y;};Q.prototype.SetBounds=function(a,b){return this.$val.SetBounds(a,b);};Q.ptr.prototype.Check=function(a,b,c){var{a,aa,ab,ac,ad,ae,af,ag,ah,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,$s,$r,$c}=$restore(this,{a,b,c});$s=$s||0;s:while(true){switch($s){case 0:d=[d];e=[e];f=[f];g=[g];h=this;if(h.Space===Z.nil){$s=-1;return AK.nil;}d[0]=T();d[0].checkingObject=h;if(a<0){a=A.Min(a,-1);}else if(a>0){a=A.Max(a,1);}if(b<0){b=A.Min(b,-1);}else if(b>0){b=A.Max(b,1);}d[0].dx=a;d[0].dy=b;i=h.BoundsToSpace(a,b);j=i[0];k=i[1];l=i[2];m=i[3];n=$makeMap(AA.keyFor,[]);o=$makeMap(W.keyFor,[]);p=k;while(true){if(!(p<=m)){break;}q=j;while(true){if(!(q<=l)){break;}r=h.Space.Cell(q,p);if(!(r===W.nil)){s=r.Objects;t=0;while(true){if(!(t=s.$length)?($throwRuntimeError("index out of range"),undefined):s.$array[s.$offset+t]);w=(v=h.ignoreList[AA.keyFor(u)],v!==undefined?v.v:false);if(u===h||w){t++;continue;}x=(y=n[AA.keyFor(u)],y!==undefined?[y.v,true]:[false,false]);z=x[1];if(((c.$length===0)||u.HasTags(c))&&!z){d[0].Objects=$append(d[0].Objects,u);aa=u;(n||$throwRuntimeError("assignment to entry in nil map"))[AA.keyFor(aa)]={k:aa,v:true};ab=(ac=o[W.keyFor(r)],ac!==undefined?[ac.v,true]:[false,false]);ad=ab[1];if(!ad){d[0].Cells=$append(d[0].Cells,r);ae=r;(o||$throwRuntimeError("assignment to entry in nil map"))[W.keyFor(ae)]={k:ae,v:true};}t++;continue;}t++;}}q=q+(1)>>0;}p=p+(1)>>0;}if(d[0].Objects.$length===0){$s=-1;return AK.nil;}af=d[0].checkingObject.Center();ag=af[0];ah=af[1];g[0]=new B.Vector([ag,ah]);$r=C.Slice(d[0].Objects,(function(d,e,f,g){return function(ai,aj){var ai,aj,ak,al,am,an,ao,ap,aq,ar;ak=(al=d[0].Objects,((ai<0||ai>=al.$length)?($throwRuntimeError("index out of range"),undefined):al.$array[al.$offset+ai])).Center();am=ak[0];an=ak[1];ao=(ap=d[0].Objects,((aj<0||aj>=ap.$length)?($throwRuntimeError("index out of range"),undefined):ap.$array[ap.$offset+aj])).Center();aq=ao[0];ar=ao[1];return new B.Vector([am,an]).Sub(new AC([g[0]])).Magnitude()=ak.$length)?($throwRuntimeError("index out of range"),undefined):ak.$array[ak.$offset+ai])).X,f[0]))+((al=f[0]/2,(al===al&&al!==1/0&&al!==-1/0)?al>>0:$throwRuntimeError("integer divide by zero")))>>0)),((($imul((am=d[0].Cells,((ai<0||ai>=am.$length)?($throwRuntimeError("index out of range"),undefined):am.$array[am.$offset+ai])).Y,e[0]))+((an=e[0]/2,(an===an&&an!==1/0&&an!==-1/0)?an>>0:$throwRuntimeError("integer divide by zero")))>>0))]).Sub(new AC([g[0]])).Magnitude()=ao.$length)?($throwRuntimeError("index out of range"),undefined):ao.$array[ao.$offset+aj])).X,f[0]))+((ap=f[0]/2,(ap===ap&&ap!==1/0&&ap!==-1/0)?ap>>0:$throwRuntimeError("integer divide by zero")))>>0)),((($imul((aq=d[0].Cells,((aj<0||aj>=aq.$length)?($throwRuntimeError("index out of range"),undefined):aq.$array[aq.$offset+aj])).Y,e[0]))+((ar=e[0]/2,(ar===ar&&ar!==1/0&&ar!==-1/0)?ar>>0:$throwRuntimeError("integer divide by zero")))>>0))]).Sub(new AC([g[0]])).Magnitude();};})(d,e,f,g));$s=2;case 2:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return d[0];}return;}var $f={$blk:Q.ptr.prototype.Check,$c:true,$r,a,aa,ab,ac,ad,ae,af,ag,ah,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,$s};return $f;};Q.prototype.Check=function(a,b,c){return this.$val.Check(a,b,c);};Q.ptr.prototype.Overlaps=function(a){var a,b;b=this;return a.X<=b.X+b.W&&a.X+a.W>=b.X&&a.Y<=b.Y+b.H&&a.Y+a.H>=b.Y;};Q.prototype.Overlaps=function(a){return this.$val.Overlaps(a);};Q.ptr.prototype.AddToIgnoreList=function(a){var a,b,c;b=this;c=a;(b.ignoreList||$throwRuntimeError("assignment to entry in nil map"))[AA.keyFor(c)]={k:c,v:true};};Q.prototype.AddToIgnoreList=function(a){return this.$val.AddToIgnoreList(a);};Q.ptr.prototype.RemoveFromIgnoreList=function(a){var a,b;b=this;delete b.ignoreList[AA.keyFor(a)];};Q.prototype.RemoveFromIgnoreList=function(a){return this.$val.RemoveFromIgnoreList(a);};T=function(){return new S.ptr(AA.nil,0,0,new AB([]),X.nil);};$pkg.NewCollision=T;S.ptr.prototype.HasTags=function(a){var a,b,c,d,e;b=this;c=b.Objects;d=0;while(true){if(!(d=c.$length)?($throwRuntimeError("index out of range"),undefined):c.$array[c.$offset+d]);if(e===b.checkingObject){d++;continue;}if(e.HasTags(a)){return true;}d++;}return false;};S.prototype.HasTags=function(a){return this.$val.HasTags(a);};S.ptr.prototype.ObjectsByTags=function(a){var a,b,c,d,e,f;b=this;c=new AB([]);d=b.Objects;e=0;while(true){if(!(e=d.$length)?($throwRuntimeError("index out of range"),undefined):d.$array[d.$offset+e]);if(f===b.checkingObject){e++;continue;}if(f.HasTags(a)){c=$append(c,f);}e++;}return c;};S.prototype.ObjectsByTags=function(a){return this.$val.ObjectsByTags(a);};S.ptr.prototype.ContactWithObject=function(a){var a,b,c;b=this;c=new B.Vector([0,0]);if(b.dx<0){(0>=c.$length?($throwRuntimeError("index out of range"),undefined):c.$array[c.$offset+0]=a.X+a.W-b.checkingObject.X);}else if(b.dx>0){(0>=c.$length?($throwRuntimeError("index out of range"),undefined):c.$array[c.$offset+0]=a.X-b.checkingObject.W-b.checkingObject.X);}if(b.dy<0){(1>=c.$length?($throwRuntimeError("index out of range"),undefined):c.$array[c.$offset+1]=a.Y+a.H-b.checkingObject.Y);}else if(b.dy>0){(1>=c.$length?($throwRuntimeError("index out of range"),undefined):c.$array[c.$offset+1]=a.Y-b.checkingObject.H-b.checkingObject.Y);}return c;};S.prototype.ContactWithObject=function(a){return this.$val.ContactWithObject(a);};S.ptr.prototype.ContactWithCell=function(a){var a,b,c,d,e;b=this;c=new B.Vector([0,0]);d=(($imul(a.X,b.checkingObject.Space.CellWidth)));e=(($imul(a.Y,b.checkingObject.Space.CellHeight)));if(b.dx<0){(0>=c.$length?($throwRuntimeError("index out of range"),undefined):c.$array[c.$offset+0]=d+(b.checkingObject.Space.CellWidth)-b.checkingObject.X);}else if(b.dx>0){(0>=c.$length?($throwRuntimeError("index out of range"),undefined):c.$array[c.$offset+0]=d-b.checkingObject.W-b.checkingObject.X);}if(b.dy<0){(1>=c.$length?($throwRuntimeError("index out of range"),undefined):c.$array[c.$offset+1]=e+(b.checkingObject.Space.CellHeight)-b.checkingObject.Y);}else if(b.dy>0){(1>=c.$length?($throwRuntimeError("index out of range"),undefined):c.$array[c.$offset+1]=e-b.checkingObject.H-b.checkingObject.Y);}return c;};S.prototype.ContactWithCell=function(a){return this.$val.ContactWithCell(a);};S.ptr.prototype.SlideAgainstCell=function(a,b){var a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u;c=this;d=c.checkingObject.Space;f=(e=c.Cells,(0>=e.$length?($throwRuntimeError("index out of range"),undefined):e.$array[e.$offset+0]));g=d.SpaceToWorld(f.X,f.Y);h=g[0];i=g[1];j=(d.CellWidth)/2;k=(d.CellHeight)/2;h=h+(j);i=i+(k);l=c.checkingObject.Center();m=l[0];n=l[1];o=m-h;p=n-i;q=d.Cell(f.X-1>>0,f.Y);r=d.Cell(f.X+1>>0,f.Y);s=d.Cell(f.X,f.Y-1>>0);t=d.Cell(f.X,f.Y+1>>0);u=new B.Vector([0,0]);if(!((c.dy===0))){if(o>0&&(r===W.nil||!r.ContainsTags(b))){(0>=u.$length?($throwRuntimeError("index out of range"),undefined):u.$array[u.$offset+0]=h+j-c.checkingObject.X);}else if(o<0&&(q===W.nil||!q.ContainsTags(b))){(0>=u.$length?($throwRuntimeError("index out of range"),undefined):u.$array[u.$offset+0]=h-j-(c.checkingObject.X+c.checkingObject.W));}else{return B.Vector.nil;}}if(!((c.dx===0))){if(p>0&&(t===W.nil||!t.ContainsTags(b))){(1>=u.$length?($throwRuntimeError("index out of range"),undefined):u.$array[u.$offset+1]=i+k-c.checkingObject.Y);}else if(p<0&&(s===W.nil||!s.ContainsTags(b))){(1>=u.$length?($throwRuntimeError("index out of range"),undefined):u.$array[u.$offset+1]=i-k-(c.checkingObject.Y+c.checkingObject.H));}else{return B.Vector.nil;}}return u;};S.prototype.SlideAgainstCell=function(a,b){return this.$val.SlideAgainstCell(a,b);};V=function(a,b){var a,b;return new U.ptr(a,b,new AB([]));};U.ptr.prototype.register=function(a){var a,b;b=this;if(!b.Contains(a)){b.Objects=$append(b.Objects,a);}};U.prototype.register=function(a){return this.$val.register(a);};U.ptr.prototype.unregister=function(a){var a,b,c,d,e,f,g,h,i;b=this;c=b.Objects;d=0;while(true){if(!(d=c.$length)?($throwRuntimeError("index out of range"),undefined):c.$array[c.$offset+d]);if(f===a){(i=b.Objects,((e<0||e>=i.$length)?($throwRuntimeError("index out of range"),undefined):i.$array[i.$offset+e]=(g=b.Objects,h=b.Objects.$length-1>>0,((h<0||h>=g.$length)?($throwRuntimeError("index out of range"),undefined):g.$array[g.$offset+h]))));b.Objects=$subslice(b.Objects,0,(b.Objects.$length-1>>0));break;}d++;}};U.prototype.unregister=function(a){return this.$val.unregister(a);};U.ptr.prototype.Contains=function(a){var a,b,c,d,e;b=this;c=b.Objects;d=0;while(true){if(!(d=c.$length)?($throwRuntimeError("index out of range"),undefined):c.$array[c.$offset+d]);if(e===a){return true;}d++;}return false;};U.prototype.Contains=function(a){return this.$val.Contains(a);};U.ptr.prototype.ContainsTags=function(a){var a,b,c,d,e;b=this;c=b.Objects;d=0;while(true){if(!(d=c.$length)?($throwRuntimeError("index out of range"),undefined):c.$array[c.$offset+d]);if(e.HasTags(a)){return true;}d++;}return false;};U.prototype.ContainsTags=function(a){return this.$val.ContainsTags(a);};U.ptr.prototype.Occupied=function(){var a;a=this;return a.Objects.$length>0;};U.prototype.Occupied=function(){return this.$val.Occupied();};Z.methods=[{prop:"Add",name:"Add",pkg:"",typ:$funcType([AB],[],true)},{prop:"Remove",name:"Remove",pkg:"",typ:$funcType([AB],[],true)},{prop:"Objects",name:"Objects",pkg:"",typ:$funcType([],[AB],false)},{prop:"Resize",name:"Resize",pkg:"",typ:$funcType([$Int,$Int],[],false)},{prop:"Cell",name:"Cell",pkg:"",typ:$funcType([$Int,$Int],[W],false)},{prop:"CheckCells",name:"CheckCells",pkg:"",typ:$funcType([$Int,$Int,$Int,$Int,AJ],[AA],true)},{prop:"UnregisterAllObjects",name:"UnregisterAllObjects",pkg:"",typ:$funcType([],[],false)},{prop:"WorldToSpace",name:"WorldToSpace",pkg:"",typ:$funcType([$Float64,$Float64],[$Int,$Int],false)},{prop:"SpaceToWorld",name:"SpaceToWorld",pkg:"",typ:$funcType([$Int,$Int],[$Float64,$Float64],false)},{prop:"Height",name:"Height",pkg:"",typ:$funcType([],[$Int],false)},{prop:"Width",name:"Width",pkg:"",typ:$funcType([],[$Int],false)},{prop:"CellsInLine",name:"CellsInLine",pkg:"",typ:$funcType([$Int,$Int,$Int,$Int],[X],false)}];AE.methods=[{prop:"Project",name:"Project",pkg:"",typ:$funcType([B.Vector],[B.Vector],false)},{prop:"Normal",name:"Normal",pkg:"",typ:$funcType([],[B.Vector],false)},{prop:"Vector",name:"Vector",pkg:"",typ:$funcType([],[B.Vector],false)},{prop:"IntersectionPointsLine",name:"IntersectionPointsLine",pkg:"",typ:$funcType([AE],[B.Vector],false)},{prop:"IntersectionPointsCircle",name:"IntersectionPointsCircle",pkg:"",typ:$funcType([AG],[AC],false)}];AH.methods=[{prop:"Clone",name:"Clone",pkg:"",typ:$funcType([],[F],false)},{prop:"AddPointsVec",name:"AddPointsVec",pkg:"",typ:$funcType([AC],[],true)},{prop:"AddPoints",name:"AddPoints",pkg:"",typ:$funcType([AD],[],true)},{prop:"Lines",name:"Lines",pkg:"",typ:$funcType([],[AF],false)},{prop:"Transformed",name:"Transformed",pkg:"",typ:$funcType([],[AC],false)},{prop:"Bounds",name:"Bounds",pkg:"",typ:$funcType([],[B.Vector,B.Vector],false)},{prop:"Position",name:"Position",pkg:"",typ:$funcType([],[$Float64,$Float64],false)},{prop:"SetPosition",name:"SetPosition",pkg:"",typ:$funcType([$Float64,$Float64],[],false)},{prop:"SetPositionVec",name:"SetPositionVec",pkg:"",typ:$funcType([B.Vector],[],false)},{prop:"Move",name:"Move",pkg:"",typ:$funcType([$Float64,$Float64],[],false)},{prop:"MoveVec",name:"MoveVec",pkg:"",typ:$funcType([B.Vector],[],false)},{prop:"Center",name:"Center",pkg:"",typ:$funcType([],[B.Vector],false)},{prop:"Project",name:"Project",pkg:"",typ:$funcType([B.Vector],[P],false)},{prop:"SATAxes",name:"SATAxes",pkg:"",typ:$funcType([],[AC],false)},{prop:"PointInside",name:"PointInside",pkg:"",typ:$funcType([B.Vector],[$Bool],false)},{prop:"Intersection",name:"Intersection",pkg:"",typ:$funcType([$Float64,$Float64,F],[AI],false)},{prop:"calculateMTV",name:"calculateMTV",pkg:"github.com/solarlune/resolv",typ:$funcType([AI,F],[B.Vector],false)},{prop:"ContainedBy",name:"ContainedBy",pkg:"",typ:$funcType([F],[$Bool],false)},{prop:"FlipH",name:"FlipH",pkg:"",typ:$funcType([],[],false)},{prop:"FlipV",name:"FlipV",pkg:"",typ:$funcType([],[],false)},{prop:"ReverseVertexOrder",name:"ReverseVertexOrder",pkg:"",typ:$funcType([],[],false)}];AI.methods=[{prop:"LeftmostPoint",name:"LeftmostPoint",pkg:"",typ:$funcType([],[B.Vector],false)},{prop:"RightmostPoint",name:"RightmostPoint",pkg:"",typ:$funcType([],[B.Vector],false)},{prop:"TopmostPoint",name:"TopmostPoint",pkg:"",typ:$funcType([],[B.Vector],false)},{prop:"BottommostPoint",name:"BottommostPoint",pkg:"",typ:$funcType([],[B.Vector],false)}];AG.methods=[{prop:"Clone",name:"Clone",pkg:"",typ:$funcType([],[F],false)},{prop:"Bounds",name:"Bounds",pkg:"",typ:$funcType([],[B.Vector,B.Vector],false)},{prop:"Intersection",name:"Intersection",pkg:"",typ:$funcType([$Float64,$Float64,F],[AI],false)},{prop:"Move",name:"Move",pkg:"",typ:$funcType([$Float64,$Float64],[],false)},{prop:"MoveVec",name:"MoveVec",pkg:"",typ:$funcType([B.Vector],[],false)},{prop:"SetPosition",name:"SetPosition",pkg:"",typ:$funcType([$Float64,$Float64],[],false)},{prop:"SetPositionVec",name:"SetPositionVec",pkg:"",typ:$funcType([B.Vector],[],false)},{prop:"Position",name:"Position",pkg:"",typ:$funcType([],[$Float64,$Float64],false)},{prop:"PointInside",name:"PointInside",pkg:"",typ:$funcType([B.Vector],[$Bool],false)},{prop:"IntersectionPointsCircle",name:"IntersectionPointsCircle",pkg:"",typ:$funcType([AG],[AC],false)}];P.methods=[{prop:"Overlapping",name:"Overlapping",pkg:"",typ:$funcType([P],[$Bool],false)},{prop:"Overlap",name:"Overlap",pkg:"",typ:$funcType([P],[$Float64],false)},{prop:"IsInside",name:"IsInside",pkg:"",typ:$funcType([P],[$Bool],false)}];AA.methods=[{prop:"Clone",name:"Clone",pkg:"",typ:$funcType([],[AA],false)},{prop:"Update",name:"Update",pkg:"",typ:$funcType([],[],false)},{prop:"AddTags",name:"AddTags",pkg:"",typ:$funcType([AJ],[],true)},{prop:"RemoveTags",name:"RemoveTags",pkg:"",typ:$funcType([AJ],[],true)},{prop:"HasTags",name:"HasTags",pkg:"",typ:$funcType([AJ],[$Bool],true)},{prop:"Tags",name:"Tags",pkg:"",typ:$funcType([],[AJ],false)},{prop:"SetShape",name:"SetShape",pkg:"",typ:$funcType([F],[],false)},{prop:"BoundsToSpace",name:"BoundsToSpace",pkg:"",typ:$funcType([$Float64,$Float64],[$Int,$Int,$Int,$Int],false)},{prop:"SharesCells",name:"SharesCells",pkg:"",typ:$funcType([AA],[$Bool],false)},{prop:"SharesCellsTags",name:"SharesCellsTags",pkg:"",typ:$funcType([AJ],[$Bool],true)},{prop:"Center",name:"Center",pkg:"",typ:$funcType([],[$Float64,$Float64],false)},{prop:"SetCenter",name:"SetCenter",pkg:"",typ:$funcType([$Float64,$Float64],[],false)},{prop:"CellPosition",name:"CellPosition",pkg:"",typ:$funcType([],[$Int,$Int],false)},{prop:"SetRight",name:"SetRight",pkg:"",typ:$funcType([$Float64],[],false)},{prop:"SetBottom",name:"SetBottom",pkg:"",typ:$funcType([$Float64],[],false)},{prop:"Bottom",name:"Bottom",pkg:"",typ:$funcType([],[$Float64],false)},{prop:"Right",name:"Right",pkg:"",typ:$funcType([],[$Float64],false)},{prop:"SetBounds",name:"SetBounds",pkg:"",typ:$funcType([B.Vector,B.Vector],[],false)},{prop:"Check",name:"Check",pkg:"",typ:$funcType([$Float64,$Float64,AJ],[AK],true)},{prop:"Overlaps",name:"Overlaps",pkg:"",typ:$funcType([AA],[$Bool],false)},{prop:"AddToIgnoreList",name:"AddToIgnoreList",pkg:"",typ:$funcType([AA],[],false)},{prop:"RemoveFromIgnoreList",name:"RemoveFromIgnoreList",pkg:"",typ:$funcType([AA],[],false)}];AK.methods=[{prop:"HasTags",name:"HasTags",pkg:"",typ:$funcType([AJ],[$Bool],true)},{prop:"ObjectsByTags",name:"ObjectsByTags",pkg:"",typ:$funcType([AJ],[AB],true)},{prop:"ContactWithObject",name:"ContactWithObject",pkg:"",typ:$funcType([AA],[B.Vector],false)},{prop:"ContactWithCell",name:"ContactWithCell",pkg:"",typ:$funcType([W],[B.Vector],false)},{prop:"SlideAgainstCell",name:"SlideAgainstCell",pkg:"",typ:$funcType([W,AJ],[B.Vector],true)}];W.methods=[{prop:"register",name:"register",pkg:"github.com/solarlune/resolv",typ:$funcType([AA],[],false)},{prop:"unregister",name:"unregister",pkg:"github.com/solarlune/resolv",typ:$funcType([AA],[],false)},{prop:"Contains",name:"Contains",pkg:"",typ:$funcType([AA],[$Bool],false)},{prop:"ContainsTags",name:"ContainsTags",pkg:"",typ:$funcType([AJ],[$Bool],true)},{prop:"Occupied",name:"Occupied",pkg:"",typ:$funcType([],[$Bool],false)}];D.init("",[{prop:"Cells",name:"Cells",embedded:false,exported:true,typ:Y,tag:""},{prop:"CellWidth",name:"CellWidth",embedded:false,exported:true,typ:$Int,tag:""},{prop:"CellHeight",name:"CellHeight",embedded:false,exported:true,typ:$Int,tag:""}]);F.init([{prop:"Bounds",name:"Bounds",pkg:"",typ:$funcType([],[B.Vector,B.Vector],false)},{prop:"Clone",name:"Clone",pkg:"",typ:$funcType([],[F],false)},{prop:"Intersection",name:"Intersection",pkg:"",typ:$funcType([$Float64,$Float64,F],[AI],false)},{prop:"Position",name:"Position",pkg:"",typ:$funcType([],[$Float64,$Float64],false)},{prop:"SetPosition",name:"SetPosition",pkg:"",typ:$funcType([$Float64,$Float64],[],false)}]);G.init("",[{prop:"Start",name:"Start",embedded:false,exported:true,typ:B.Vector,tag:""},{prop:"End",name:"End",embedded:false,exported:true,typ:B.Vector,tag:""}]);I.init("",[{prop:"Points",name:"Points",embedded:false,exported:true,typ:AC,tag:""},{prop:"X",name:"X",embedded:false,exported:true,typ:$Float64,tag:""},{prop:"Y",name:"Y",embedded:false,exported:true,typ:$Float64,tag:""},{prop:"Closed",name:"Closed",embedded:false,exported:true,typ:$Bool,tag:""}]);K.init("",[{prop:"Points",name:"Points",embedded:false,exported:true,typ:AC,tag:""},{prop:"MTV",name:"MTV",embedded:false,exported:true,typ:B.Vector,tag:""},{prop:"Center",name:"Center",embedded:false,exported:true,typ:B.Vector,tag:""}]);N.init("",[{prop:"X",name:"X",embedded:false,exported:true,typ:$Float64,tag:""},{prop:"Y",name:"Y",embedded:false,exported:true,typ:$Float64,tag:""},{prop:"Radius",name:"Radius",embedded:false,exported:true,typ:$Float64,tag:""}]);P.init("",[{prop:"Min",name:"Min",embedded:false,exported:true,typ:$Float64,tag:""},{prop:"Max",name:"Max",embedded:false,exported:true,typ:$Float64,tag:""}]);Q.init("github.com/solarlune/resolv",[{prop:"Shape",name:"Shape",embedded:false,exported:true,typ:F,tag:""},{prop:"Space",name:"Space",embedded:false,exported:true,typ:Z,tag:""},{prop:"X",name:"X",embedded:false,exported:true,typ:$Float64,tag:""},{prop:"Y",name:"Y",embedded:false,exported:true,typ:$Float64,tag:""},{prop:"W",name:"W",embedded:false,exported:true,typ:$Float64,tag:""},{prop:"H",name:"H",embedded:false,exported:true,typ:$Float64,tag:""},{prop:"TouchingCells",name:"TouchingCells",embedded:false,exported:true,typ:X,tag:""},{prop:"Data",name:"Data",embedded:false,exported:true,typ:$emptyInterface,tag:""},{prop:"ignoreList",name:"ignoreList",embedded:false,exported:false,typ:AL,tag:""},{prop:"tags",name:"tags",embedded:false,exported:false,typ:AJ,tag:""}]);S.init("github.com/solarlune/resolv",[{prop:"checkingObject",name:"checkingObject",embedded:false,exported:false,typ:AA,tag:""},{prop:"dx",name:"dx",embedded:false,exported:false,typ:$Float64,tag:""},{prop:"dy",name:"dy",embedded:false,exported:false,typ:$Float64,tag:""},{prop:"Objects",name:"Objects",embedded:false,exported:true,typ:AB,tag:""},{prop:"Cells",name:"Cells",embedded:false,exported:true,typ:X,tag:""}]);U.init("",[{prop:"X",name:"X",embedded:false,exported:true,typ:$Int,tag:""},{prop:"Y",name:"Y",embedded:false,exported:true,typ:$Int,tag:""},{prop:"Objects",name:"Objects",embedded:false,exported:true,typ:AB,tag:""}]);$init=function(){$pkg.$init=function(){};var $f,$c=false,$s=0,$r;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:$r=B.$init();$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=A.$init();$s=2;case 2:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=C.$init();$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}}return;}if($f===undefined){$f={$blk:$init};}$f.$s=$s;$f.$r=$r;return $f;};$pkg.$init=$init;return $pkg;})(); $packages["jsexport/battle"]=(function(){var $pkg={},$init,A,B,C,D,E,F,G,I,J,K,N,AD,AE,AF,AG,AH,AI,AJ,AK,AL,AM,AN,AO,AP,AQ,AR,AS,AT,AU,AV,AW,M,O,P,Q,R,S,T,U,V,W,X,Y,Z,AA,AB,AC;A=$packages["github.com/kvartborg/vector"];B=$packages["github.com/solarlune/resolv"];C=$packages["math"];D=$pkg.Vec2D=$newType(0,$kindStruct,"battle.Vec2D",true,"jsexport/battle",true,function(X_,Y_){this.$val=this;if(arguments.length===0){this.X=0;this.Y=0;return;}this.X=X_;this.Y=Y_;});E=$pkg.Polygon2D=$newType(0,$kindStruct,"battle.Polygon2D",true,"jsexport/battle",true,function(Anchor_,Points_){this.$val=this;if(arguments.length===0){this.Anchor=AT.nil;this.Points=AU.nil;return;}this.Anchor=Anchor_;this.Points=Points_;});F=$pkg.PlayerDownsync=$newType(0,$kindStruct,"battle.PlayerDownsync",true,"jsexport/battle",true,function(Id_,VirtualGridX_,VirtualGridY_,DirX_,DirY_,VelX_,VelY_,Speed_,BattleState_,JoinIndex_,ColliderRadius_,Removed_,Score_,LastMoveGmtMillis_,FramesToRecover_,Hp_,MaxHp_,CharacterState_,InAir_,Name_,DisplayName_,Avatar_){this.$val=this;if(arguments.length===0){this.Id=0;this.VirtualGridX=0;this.VirtualGridY=0;this.DirX=0;this.DirY=0;this.VelX=0;this.VelY=0;this.Speed=0;this.BattleState=0;this.JoinIndex=0;this.ColliderRadius=0;this.Removed=false;this.Score=0;this.LastMoveGmtMillis=0;this.FramesToRecover=0;this.Hp=0;this.MaxHp=0;this.CharacterState=0;this.InAir=false;this.Name="";this.DisplayName="";this.Avatar="";return;}this.Id=Id_;this.VirtualGridX=VirtualGridX_;this.VirtualGridY=VirtualGridY_;this.DirX=DirX_;this.DirY=DirY_;this.VelX=VelX_;this.VelY=VelY_;this.Speed=Speed_;this.BattleState=BattleState_;this.JoinIndex=JoinIndex_;this.ColliderRadius=ColliderRadius_;this.Removed=Removed_;this.Score=Score_;this.LastMoveGmtMillis=LastMoveGmtMillis_;this.FramesToRecover=FramesToRecover_;this.Hp=Hp_;this.MaxHp=MaxHp_;this.CharacterState=CharacterState_;this.InAir=InAir_;this.Name=Name_;this.DisplayName=DisplayName_;this.Avatar=Avatar_;});G=$pkg.InputFrameDecoded=$newType(0,$kindStruct,"battle.InputFrameDecoded",true,"jsexport/battle",true,function(Dx_,Dy_,BtnALevel_,BtnBLevel_){this.$val=this;if(arguments.length===0){this.Dx=0;this.Dy=0;this.BtnALevel=0;this.BtnBLevel=0;return;}this.Dx=Dx_;this.Dy=Dy_;this.BtnALevel=BtnALevel_;this.BtnBLevel=BtnBLevel_;});I=$pkg.Barrier=$newType(0,$kindStruct,"battle.Barrier",true,"jsexport/battle",true,function(Boundary_){this.$val=this;if(arguments.length===0){this.Boundary=AV.nil;return;}this.Boundary=Boundary_;});J=$pkg.MeleeBullet=$newType(0,$kindStruct,"battle.MeleeBullet",true,"jsexport/battle",true,function(BattleLocalId_,StartupFrames_,ActiveFrames_,RecoveryFrames_,RecoveryFramesOnBlock_,RecoveryFramesOnHit_,Moveforward_,HitboxOffset_,HitboxSize_,OriginatedRenderFrameId_,HitStunFrames_,BlockStunFrames_,Pushback_,ReleaseTriggerType_,Damage_,OffenderJoinIndex_,OffenderPlayerId_){this.$val=this;if(arguments.length===0){this.BattleLocalId=0;this.StartupFrames=0;this.ActiveFrames=0;this.RecoveryFrames=0;this.RecoveryFramesOnBlock=0;this.RecoveryFramesOnHit=0;this.Moveforward=AT.nil;this.HitboxOffset=0;this.HitboxSize=AT.nil;this.OriginatedRenderFrameId=0;this.HitStunFrames=0;this.BlockStunFrames=0;this.Pushback=0;this.ReleaseTriggerType=0;this.Damage=0;this.OffenderJoinIndex=0;this.OffenderPlayerId=0;return;}this.BattleLocalId=BattleLocalId_;this.StartupFrames=StartupFrames_;this.ActiveFrames=ActiveFrames_;this.RecoveryFrames=RecoveryFrames_;this.RecoveryFramesOnBlock=RecoveryFramesOnBlock_;this.RecoveryFramesOnHit=RecoveryFramesOnHit_;this.Moveforward=Moveforward_;this.HitboxOffset=HitboxOffset_;this.HitboxSize=HitboxSize_;this.OriginatedRenderFrameId=OriginatedRenderFrameId_;this.HitStunFrames=HitStunFrames_;this.BlockStunFrames=BlockStunFrames_;this.Pushback=Pushback_;this.ReleaseTriggerType=ReleaseTriggerType_;this.Damage=Damage_;this.OffenderJoinIndex=OffenderJoinIndex_;this.OffenderPlayerId=OffenderPlayerId_;});K=$pkg.RoomDownsyncFrame=$newType(0,$kindStruct,"battle.RoomDownsyncFrame",true,"jsexport/battle",true,function(Id_,PlayersArr_,CountdownNanos_,MeleeBullets_,BackendUnconfirmedMask_,ShouldForceResync_,Players_){this.$val=this;if(arguments.length===0){this.Id=0;this.PlayersArr=AM.nil;this.CountdownNanos=new $Int64(0,0);this.MeleeBullets=AR.nil;this.BackendUnconfirmedMask=new $Uint64(0,0);this.ShouldForceResync=false;this.Players=false;return;}this.Id=Id_;this.PlayersArr=PlayersArr_;this.CountdownNanos=CountdownNanos_;this.MeleeBullets=MeleeBullets_;this.BackendUnconfirmedMask=BackendUnconfirmedMask_;this.ShouldForceResync=ShouldForceResync_;this.Players=Players_;});N=$pkg.SatResult=$newType(0,$kindStruct,"battle.SatResult",true,"jsexport/battle",true,function(Overlap_,OverlapX_,OverlapY_,AContainedInB_,BContainedInA_,Axis_){this.$val=this;if(arguments.length===0){this.Overlap=0;this.OverlapX=0;this.OverlapY=0;this.AContainedInB=false;this.BContainedInA=false;this.Axis=A.Vector.nil;return;}this.Overlap=Overlap_;this.OverlapX=OverlapX_;this.OverlapY=OverlapY_;this.AContainedInB=AContainedInB_;this.BContainedInA=BContainedInA_;this.Axis=Axis_;});AD=$sliceType($Int32);AE=$sliceType(AD);AF=$ptrType(N);AG=$sliceType(D);AH=$sliceType($String);AI=$ptrType(B.Collision);AJ=$ptrType(I);AK=$ptrType(B.ConvexPolygon);AL=$ptrType(F);AM=$sliceType(AL);AN=$sliceType(AG);AO=$sliceType($Uint64);AP=$ptrType(B.Object);AQ=$ptrType(J);AR=$sliceType(AQ);AS=$sliceType($Float64);AT=$ptrType(D);AU=$sliceType(AT);AV=$ptrType(E);AW=$mapType($Int32,AL);M=function(a){var a,b,c,d,e,f,g,h;b=new $Uint64(a.$high&0,(a.$low&15)>>>0);d=(((c=$shiftRightUint64(a,4),new $Uint64(c.$high&0,(c.$low&1)>>>0)).$low>>0));f=(((e=$shiftRightUint64(a,5),new $Uint64(e.$high&0,(e.$low&1)>>>0)).$low>>0));return new G.ptr((g=(($flatten64(b)<0||$flatten64(b)>=$pkg.DIRECTION_DECODER.$length)?($throwRuntimeError("index out of range"),undefined):$pkg.DIRECTION_DECODER.$array[$pkg.DIRECTION_DECODER.$offset+$flatten64(b)]),(0>=g.$length?($throwRuntimeError("index out of range"),undefined):g.$array[g.$offset+0])),(h=(($flatten64(b)<0||$flatten64(b)>=$pkg.DIRECTION_DECODER.$length)?($throwRuntimeError("index out of range"),undefined):$pkg.DIRECTION_DECODER.$array[$pkg.DIRECTION_DECODER.$offset+$flatten64(b)]),(1>=h.$length?($throwRuntimeError("index out of range"),undefined):h.$array[h.$offset+1])),d,f);};O=function(a,b,c,d){var{a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,$s,$deferred,$r,$c}=$restore(this,{a,b,c,d});$s=$s||0;var $err=null;try{s:while(true){switch($s){case 0:$deferred=[];$curGoroutine.deferStack.push($deferred);c=[c];e=[e];f=[f];g=c[0].Position();e[0]=g[0];f[0]=g[1];$deferred.push([(function(c,e,f){return function(){c[0].SetPosition(e[0],f[0]);};})(c,e,f),[]]);c[0].SetPosition(e[0]+a,f[0]+b);h=new N.ptr(0,0,0,true,true,new A.Vector([0,0]));i=P(c[0],d,h);if(i){$s=1;continue;}$s=2;continue;case 1:j=h.Overlap*h.OverlapX;k=h.Overlap*h.OverlapY;l=j;m=k;n=[true,l,m,h];$s=4;case 4:return n;case 2:o=[false,0,0,h];$s=5;case 5:return o;case 3:$s=-1;return[false,0,0,AF.nil];}return;}}catch(err){$err=err;$s=-1;return[false,0,0,AF.nil];}finally{$callDeferred($deferred,$err);if($curGoroutine.asleep){var $f={$blk:O,$c:true,$r,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,$s,$deferred};return $f;}}};$pkg.CalcPushbacks=O;P=function(a,b,c){var a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u;d=a.Points.$length;e=b.Points.$length;f=d;g=e;if((1===f)&&(1===g)){if(!(AF.nil===c)){c.Overlap=0;}return((h=(i=a.Points,(0>=i.$length?($throwRuntimeError("index out of range"),undefined):i.$array[i.$offset+0])),(0>=h.$length?($throwRuntimeError("index out of range"),undefined):h.$array[h.$offset+0]))===(j=(k=b.Points,(0>=k.$length?($throwRuntimeError("index out of range"),undefined):k.$array[k.$offset+0])),(0>=j.$length?($throwRuntimeError("index out of range"),undefined):j.$array[j.$offset+0])))&&((l=(m=a.Points,(0>=m.$length?($throwRuntimeError("index out of range"),undefined):m.$array[m.$offset+0])),(1>=l.$length?($throwRuntimeError("index out of range"),undefined):l.$array[l.$offset+1]))===(n=(o=b.Points,(0>=o.$length?($throwRuntimeError("index out of range"),undefined):o.$array[o.$offset+0])),(1>=n.$length?($throwRuntimeError("index out of range"),undefined):n.$array[n.$offset+1])));}if(1=p.$length)?($throwRuntimeError("index out of range"),undefined):p.$array[p.$offset+q]);if(Q(a,b,r.Unit(),c)){return false;}q++;}}if(1=s.$length)?($throwRuntimeError("index out of range"),undefined):s.$array[s.$offset+t]);if(Q(a,b,u.Unit(),c)){return false;}t++;}}return true;};Q=function(a,b,c,d){var a,aa,ab,ac,ad,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z;e=1.7e+308;f=-1.7e+308;g=1.7e+308;h=-1.7e+308;i=e;j=f;k=g;l=h;m=a.Points;n=0;while(true){if(!(n=m.$length)?($throwRuntimeError("index out of range"),undefined):m.$array[m.$offset+n]);p=((0>=o.$length?($throwRuntimeError("index out of range"),undefined):o.$array[o.$offset+0])+a.X)*(0>=c.$length?($throwRuntimeError("index out of range"),undefined):c.$array[c.$offset+0])+((1>=o.$length?($throwRuntimeError("index out of range"),undefined):o.$array[o.$offset+1])+a.Y)*(1>=c.$length?($throwRuntimeError("index out of range"),undefined):c.$array[c.$offset+1]);if(i>p){i=p;}if(j=q.$length)?($throwRuntimeError("index out of range"),undefined):q.$array[q.$offset+r]);t=((0>=s.$length?($throwRuntimeError("index out of range"),undefined):s.$array[s.$offset+0])+b.X)*(0>=c.$length?($throwRuntimeError("index out of range"),undefined):c.$array[c.$offset+0])+((1>=s.$length?($throwRuntimeError("index out of range"),undefined):s.$array[s.$offset+1])+b.Y)*(1>=c.$length?($throwRuntimeError("index out of range"),undefined):c.$array[c.$offset+1]);if(k>t){k=t;}if(ll||jl){u=i-l;d.AContainedInB=false;}else{x=j-k;y=l-i;if(x=ab.$length?($throwRuntimeError("index out of range"),undefined):ab.$array[ab.$offset+0])))&&(0===(ac=d.Axis,(1>=ac.$length?($throwRuntimeError("index out of range"),undefined):ac.$array[ac.$offset+1]))))||z>aa){ad=1;if(u<0){ad=-1;}d.Overlap=aa;d.OverlapX=(0>=c.$length?($throwRuntimeError("index out of range"),undefined):c.$array[c.$offset+0])*ad;d.OverlapY=(1>=c.$length?($throwRuntimeError("index out of range"),undefined):c.$array[c.$offset+1])*ad;}d.Axis=c;}return false;};R=function(a,b,c){var a,b,c,d,e;d=((C.Round(a*c)>>0));e=((C.Round(b*c)>>0));return[d,e];};$pkg.WorldToVirtualGridPos=R;S=function(a,b,c){var a,b,c,d,e;d=(a)*c;e=(b)*c;return[d,e];};$pkg.VirtualGridToWorldPos=S;T=function(a,b,c,d,e,f,g,h,i,j){var a,b,c,d,e,f,g,h,i,j;return[a-c-g+i,b-d-f+j];};$pkg.WorldToPolygonColliderBLPos=T;U=function(a,b,c,d,e,f,g,h,i,j){var a,b,c,d,e,f,g,h,i,j;return[a+c+g-i,b+d+f-j];};$pkg.PolygonColliderBLToWorldPos=U;V=function(a,b,c,d,e,f,g,h,i,j,k){var a,b,c,d,e,f,g,h,i,j,k,l,m,n;l=U(a,b,c,d,e,f,g,h,i,j);m=l[0];n=l[1];return R(m,n,k);};$pkg.PolygonColliderBLToVirtualGridPos=V;W=function(a,b,c,d,e,f,g,h,i,j,k){var a,b,c,d,e,f,g,h,i,j,k,l,m,n;l=S(a,b,k);m=l[0];n=l[1];return T(m,n,c,d,e,f,g,h,i,j);};$pkg.VirtualGridToPolygonColliderBLPos=W;X=function(a,b,c,d){var{a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,$s,$r,$c}=$restore(this,{a,b,c,d});$s=$s||0;s:while(true){switch($s){case 0:e=$makeSlice(AG,0,10);f=a.Check(0,0,new AH([]));$s=1;case 1:if($c){$c=false;f=f.$blk();}if(f&&f.$blk!==undefined){break s;}g=f;if(AI.nil===g){$s=-1;return e;}h=g.Objects;i=0;case 2:if(!(i=h.$length)?($throwRuntimeError("index out of range"),undefined):h.$array[h.$offset+i]);k=j.Data;if($assertType(k,AJ,true)[1]){$s=4;continue;}$s=5;continue;case 4:l=$assertType(j.Shape,AK);n=O(0,0,b,l);$s=7;case 7:if($c){$c=false;n=n.$blk();}if(n&&n.$blk!==undefined){break s;}m=n;o=m[0];p=m[1];q=m[2];r=m[3];if(!o){i++;$s=2;continue;}s=(r.Overlap-c)*r.OverlapX;t=(r.Overlap-c)*r.OverlapY;p=s;q=t;e=$append(e,new D.ptr(r.OverlapX,r.OverlapY));d.X=d.X+(p);d.Y=d.Y+(q);$s=6;continue;case 5:case 6:i++;$s=2;continue;case 3:$s=-1;return e;}return;}var $f={$blk:X,$c:true,$r,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,$s};return $f;};Y=function(a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p){var{a,aa,ab,ac,ad,ae,af,ag,ah,ai,aj,ak,al,am,an,ao,ap,aq,ar,as,at,au,av,aw,ax,ay,az,b,ba,bb,bc,bd,be,bf,bg,bh,bi,bj,bk,bl,bm,bn,bo,bp,bq,br,bs,bt,bu,bv,bw,bx,by,bz,c,ca,cb,cc,cd,ce,cf,cg,ch,ci,cj,ck,cl,cm,cn,co,cp,cq,cr,cs,ct,cu,cv,cw,cx,cy,cz,d,da,db,dc,dd,de,df,dg,dh,di,dj,dk,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,$s,$r,$c}=$restore(this,{a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p});$s=$s||0;s:while(true){switch($s){case 0:q=c.PlayersArr.$length;r=$makeSlice(AM,q);s=c.PlayersArr;t=0;while(true){if(!(t=s.$length)?($throwRuntimeError("index out of range"),undefined):s.$array[s.$offset+t]);((u<0||u>=r.$length)?($throwRuntimeError("index out of range"),undefined):r.$array[r.$offset+u]=new F.ptr(v.Id,v.VirtualGridX,v.VirtualGridY,v.DirX,v.DirY,v.VelX,v.VelY,v.Speed,v.BattleState,v.JoinIndex,0,v.Removed,v.Score,0,v.FramesToRecover-1>>0,v.Hp,v.MaxHp,v.CharacterState,true,"","",""));if(((u<0||u>=r.$length)?($throwRuntimeError("index out of range"),undefined):r.$array[r.$offset+u]).FramesToRecover<0){((u<0||u>=r.$length)?($throwRuntimeError("index out of range"),undefined):r.$array[r.$offset+u]).FramesToRecover=0;}t++;}w=$makeSlice(AG,q);x=$makeSlice(AN,q);if(!(AO.nil===a)){y=c.PlayersArr;z=0;while(true){if(!(z=y.$length)?($throwRuntimeError("index out of range"),undefined):y.$array[y.$offset+z]);ac=ab.JoinIndex;ad=((aa<0||aa>=r.$length)?($throwRuntimeError("index out of range"),undefined):r.$array[r.$offset+aa]);if(0>0,((ae<0||ae>=a.$length)?($throwRuntimeError("index out of range"),undefined):a.$array[a.$offset+ae])));ag=0;if(!(AO.nil===b)){ai=M((ah=ac-1>>0,((ah<0||ah>=b.$length)?($throwRuntimeError("index out of range"),undefined):b.$array[b.$offset+ah])));ag=ai.BtnBLevel;}if(af.BtnBLevel>ag){aj=false;if((4===ad.CharacterState)||(5===ad.CharacterState)||(6===ad.CharacterState)){aj=true;}ak=false;if((0===ad.CharacterState)||(1===ad.CharacterState)||(4===ad.CharacterState)){ak=true;}if(!aj&&ak){ad.VelY=h;}}if(!((0===af.Dx))||!((0===af.Dy))){ad.DirX=af.Dx;ad.DirY=af.Dy;ad.VelX=$imul(af.Dx,ab.Speed);ad.CharacterState=1;}else{ad.CharacterState=0;ad.VelX=0;}z++;}}al=c.PlayersArr;am=0;case 1:if(!(am=al.$length)?($throwRuntimeError("index out of range"),undefined):al.$array[al.$offset+am]);ap=ao.JoinIndex;aq=0;ar=0;(as=ap-1>>0,((as<0||as>=w.$length)?($throwRuntimeError("index out of range"),undefined):w.$array[w.$offset+as])).X=aq;(at=ap-1>>0,((at<0||at>=w.$length)?($throwRuntimeError("index out of range"),undefined):w.$array[w.$offset+at])).Y=ar;au=131072+ap>>0;aw=(av=e[$Int32.keyFor(au)],av!==undefined?av.v:AP.nil);ax=((an<0||an>=r.$length)?($throwRuntimeError("index out of range"),undefined):r.$array[r.$offset+an]);ay=ao.VirtualGridX+ao.VelX>>0;az=ao.VirtualGridY+ao.VelY>>0;ba=ay;bb=az;if(ax.VelY===h){bb=bb+(ax.VelY)>>0;}bc=W(ba,bb,aw.W*0.5,aw.H*0.5,0,0,0,0,k,l,p);aw.X=bc[0];aw.Y=bc[1];$r=aw.Update();$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if(ao.InAir){ax.VelX=ax.VelX+(f)>>0;ax.VelY=ax.VelY+(g)>>0;}am++;$s=1;continue;case 2:bd=c.PlayersArr;be=0;case 4:if(!(be=bd.$length)?($throwRuntimeError("index out of range"),undefined):bd.$array[bd.$offset+be]);bh=bg.JoinIndex;bi=131072+bh>>0;bk=(bj=e[$Int32.keyFor(bi)],bj!==undefined?bj.v:AP.nil);bl=$assertType(bk.Shape,AK);bn=X(bk,bl,m,(bm=bh-1>>0,((bm<0||bm>=w.$length)?($throwRuntimeError("index out of range"),undefined):w.$array[w.$offset+bm])));$s=6;case 6:if($c){$c=false;bn=bn.$blk();}if(bn&&bn.$blk!==undefined){break s;}(bo=bh-1>>0,((bo<0||bo>=x.$length)?($throwRuntimeError("index out of range"),undefined):x.$array[x.$offset+bo]=bn));bp=((bf<0||bf>=r.$length)?($throwRuntimeError("index out of range"),undefined):r.$array[r.$offset+bf]);bq=false;br=bk.Check(0,0,new AH([]));$s=7;case 7:if($c){$c=false;br=br.$blk();}if(br&&br.$blk!==undefined){break s;}bs=br;if(!(AI.nil===bs)){$s=8;continue;}$s=9;continue;case 8:bt=bs.Objects;bu=0;case 10:if(!(bu=bt.$length)?($throwRuntimeError("index out of range"),undefined):bt.$array[bt.$offset+bu]);bw=false;bx=false;by=false;bz=bw;ca=bx;cb=by;cc=bv.Data;if($assertType(cc,AL,true)[1]){ca=true;}else if($assertType(cc,AQ,true)[1]){cb=true;}else{bz=true;}if(cb){bu++;$s=10;continue;}cd=$assertType(bv.Shape,AK);cf=O(0,0,bl,cd);$s=12;case 12:if($c){$c=false;cf=cf.$blk();}if(cf&&cf.$blk!==undefined){break s;}ce=cf;cg=ce[0];ch=ce[1];ci=ce[2];cj=ce[3];if(!cg){bu++;$s=10;continue;}ck=cj.OverlapX*0+cj.OverlapY*-1;cl=n>0,((cr<0||cr>=x.$length)?($throwRuntimeError("index out of range"),undefined):x.$array[x.$offset+cr]));cs=0;while(true){if(!(cs=cq.$length)?($throwRuntimeError("index out of range"),undefined):cq.$array[cq.$offset+cs]),D);cu=ch*ct.X+ci*ct.Y;if(bz||(ca&&0>cu)){ch=ch-(cu*ct.X);ci=ci-(cu*ct.Y);}cs++;}cv=bh-1>>0;((cv<0||cv>=w.$length)?($throwRuntimeError("index out of range"),undefined):w.$array[w.$offset+cv]).X=((cv<0||cv>=w.$length)?($throwRuntimeError("index out of range"),undefined):w.$array[w.$offset+cv]).X+(ch);cw=bh-1>>0;((cw<0||cw>=w.$length)?($throwRuntimeError("index out of range"),undefined):w.$array[w.$offset+cw]).Y=((cw<0||cw>=w.$length)?($throwRuntimeError("index out of range"),undefined):w.$array[w.$offset+cw]).Y+(ci);if(bg.InAir&&cl){bq=true;}bu++;$s=10;continue;case 11:case 9:if(bq){bp.VelX=0;bp.VelY=0;bp.CharacterState=0;bp.FramesToRecover=0;}if(bg.InAir){cx=bp.CharacterState;cy=cx;if((cy===(0))||(cy===(1))){bp.CharacterState=4;}else if(cy===(2)){bp.CharacterState=5;}else if(cy===(3)){bp.CharacterState=6;}}be++;$s=4;continue;case 5:cz=c.PlayersArr;da=0;while(true){if(!(da=cz.$length)?($throwRuntimeError("index out of range"),undefined):cz.$array[cz.$offset+da]);dd=dc.JoinIndex;de=131072+dd>>0;dg=(df=e[$Int32.keyFor(de)],df!==undefined?df.v:AP.nil);dh=((db<0||db>=r.$length)?($throwRuntimeError("index out of range"),undefined):r.$array[r.$offset+db]);di=V(dg.X-(dj=dd-1>>0,((dj<0||dj>=w.$length)?($throwRuntimeError("index out of range"),undefined):w.$array[w.$offset+dj])).X,dg.Y-(dk=dd-1>>0,((dk<0||dk>=w.$length)?($throwRuntimeError("index out of range"),undefined):w.$array[w.$offset+dk])).Y,dg.W*0.5,dg.H*0.5,0,0,0,0,k,l,o);dh.VirtualGridX=di[0];dh.VirtualGridY=di[1];da++;}$s=-1;return new K.ptr(c.Id+1>>0,r,new $Int64(0,0),AR.nil,new $Uint64(0,0),false,false);}return;}var $f={$blk:Y,$c:true,$r,a,aa,ab,ac,ad,ae,af,ag,ah,ai,aj,ak,al,am,an,ao,ap,aq,ar,as,at,au,av,aw,ax,ay,az,b,ba,bb,bc,bd,be,bf,bg,bh,bi,bj,bk,bl,bm,bn,bo,bp,bq,br,bs,bt,bu,bv,bw,bx,by,bz,c,ca,cb,cc,cd,ce,cf,cg,ch,ci,cj,ck,cl,cm,cn,co,cp,cq,cr,cs,ct,cu,cv,cw,cx,cy,cz,d,da,db,dc,dd,de,df,dg,dh,di,dj,dk,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,$s};return $f;};$pkg.ApplyInputFrameDownsyncDynamicsOnSingleRenderFrame=Y;Z=function(a,b,c,d,e,f,g,h,i,j,k,l){var{a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,$s,$r,$c}=$restore(this,{a,b,c,d,e,f,g,h,i,j,k,l});$s=$s||0;s:while(true){switch($s){case 0:m=T(a,b,c*0.5,d*0.5,e,f,g,h,i,j);n=m[0];o=m[1];p=AA(n,o,g+c+h,f+d+e,k,l);$s=1;case 1:if($c){$c=false;p=p.$blk();}if(p&&p.$blk!==undefined){break s;}q=p;$s=2;case 2:return q;}return;}var $f={$blk:Z,$c:true,$r,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,$s};return $f;};$pkg.GenerateRectCollider=Z;AA=function(a,b,c,d,e,f){var{a,b,c,d,e,f,g,h,$s,$r,$c}=$restore(this,{a,b,c,d,e,f});$s=$s||0;s:while(true){switch($s){case 0:g=B.NewObject(a,b,c,d,new AH([f]));h=B.NewRectangle(0,0,c,d);$r=g.SetShape(h);$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}g.Data=e;$s=-1;return g;}return;}var $f={$blk:AA,$c:true,$r,a,b,c,d,e,f,g,h,$s};return $f;};AB=function(a,b,c,d,e){var{a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,$s,$r,$c}=$restore(this,{a,b,c,d,e});$s=$s||0;s:while(true){switch($s){case 0:f=AC(a);g=0;h=0;i=g;j=h;k=B.NewConvexPolygon(AS.nil);l=f.Points;m=0;while(true){if(!(m=l.$length)?($throwRuntimeError("index out of range"),undefined):l.$array[l.$offset+m]);p=f.Points;q=0;while(true){if(!(q=p.$length)?($throwRuntimeError("index out of range"),undefined):p.$array[p.$offset+q]);if(n===r){q++;continue;}if(C.Abs(s.X-o.X)>i){i=C.Abs(s.X-o.X);}if(C.Abs(s.Y-o.Y)>j){j=C.Abs(s.Y-o.Y);}q++;}m++;}t=0;while(true){if(!(t=u.$length)?($throwRuntimeError("index out of range"),undefined):u.$array[u.$offset+t]));k.AddPoints(new AS([v.X,v.Y]));t=t+(1)>>0;}w=B.NewObject(f.Anchor.X+b,f.Anchor.Y+c,i,j,new AH([e]));$r=w.SetShape(k);$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}w.Data=d;$s=-1;return w;}return;}var $f={$blk:AB,$c:true,$r,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,$s};return $f;};$pkg.GenerateConvexPolygonCollider=AB;AC=function(a){var a,b,c,d,e,f,g,h,i,j,k;b=new D.ptr(1.7e+308,1.7e+308);c=a.Points;d=0;while(true){if(!(d=c.$length)?($throwRuntimeError("index out of range"),undefined):c.$array[c.$offset+d]);if(e.X=g.$length)?($throwRuntimeError("index out of range"),undefined):g.$array[g.$offset+h]);(k=f.Points,((i<0||i>=k.$length)?($throwRuntimeError("index out of range"),undefined):k.$array[k.$offset+i]=new D.ptr(j.X-b.X,j.Y-b.Y)));h++;}return f;};$pkg.AlignPolygon2DToBoundingBox=AC;D.init("",[{prop:"X",name:"X",embedded:false,exported:true,typ:$Float64,tag:""},{prop:"Y",name:"Y",embedded:false,exported:true,typ:$Float64,tag:""}]);E.init("",[{prop:"Anchor",name:"Anchor",embedded:false,exported:true,typ:AT,tag:""},{prop:"Points",name:"Points",embedded:false,exported:true,typ:AU,tag:""}]);F.init("",[{prop:"Id",name:"Id",embedded:false,exported:true,typ:$Int32,tag:""},{prop:"VirtualGridX",name:"VirtualGridX",embedded:false,exported:true,typ:$Int32,tag:""},{prop:"VirtualGridY",name:"VirtualGridY",embedded:false,exported:true,typ:$Int32,tag:""},{prop:"DirX",name:"DirX",embedded:false,exported:true,typ:$Int32,tag:""},{prop:"DirY",name:"DirY",embedded:false,exported:true,typ:$Int32,tag:""},{prop:"VelX",name:"VelX",embedded:false,exported:true,typ:$Int32,tag:""},{prop:"VelY",name:"VelY",embedded:false,exported:true,typ:$Int32,tag:""},{prop:"Speed",name:"Speed",embedded:false,exported:true,typ:$Int32,tag:""},{prop:"BattleState",name:"BattleState",embedded:false,exported:true,typ:$Int32,tag:""},{prop:"JoinIndex",name:"JoinIndex",embedded:false,exported:true,typ:$Int32,tag:""},{prop:"ColliderRadius",name:"ColliderRadius",embedded:false,exported:true,typ:$Float64,tag:""},{prop:"Removed",name:"Removed",embedded:false,exported:true,typ:$Bool,tag:""},{prop:"Score",name:"Score",embedded:false,exported:true,typ:$Int32,tag:""},{prop:"LastMoveGmtMillis",name:"LastMoveGmtMillis",embedded:false,exported:true,typ:$Int32,tag:""},{prop:"FramesToRecover",name:"FramesToRecover",embedded:false,exported:true,typ:$Int32,tag:""},{prop:"Hp",name:"Hp",embedded:false,exported:true,typ:$Int32,tag:""},{prop:"MaxHp",name:"MaxHp",embedded:false,exported:true,typ:$Int32,tag:""},{prop:"CharacterState",name:"CharacterState",embedded:false,exported:true,typ:$Int32,tag:""},{prop:"InAir",name:"InAir",embedded:false,exported:true,typ:$Bool,tag:""},{prop:"Name",name:"Name",embedded:false,exported:true,typ:$String,tag:""},{prop:"DisplayName",name:"DisplayName",embedded:false,exported:true,typ:$String,tag:""},{prop:"Avatar",name:"Avatar",embedded:false,exported:true,typ:$String,tag:""}]);G.init("",[{prop:"Dx",name:"Dx",embedded:false,exported:true,typ:$Int32,tag:""},{prop:"Dy",name:"Dy",embedded:false,exported:true,typ:$Int32,tag:""},{prop:"BtnALevel",name:"BtnALevel",embedded:false,exported:true,typ:$Int32,tag:""},{prop:"BtnBLevel",name:"BtnBLevel",embedded:false,exported:true,typ:$Int32,tag:""}]);I.init("",[{prop:"Boundary",name:"Boundary",embedded:false,exported:true,typ:AV,tag:""}]);J.init("",[{prop:"BattleLocalId",name:"BattleLocalId",embedded:false,exported:true,typ:$Int32,tag:""},{prop:"StartupFrames",name:"StartupFrames",embedded:false,exported:true,typ:$Int32,tag:""},{prop:"ActiveFrames",name:"ActiveFrames",embedded:false,exported:true,typ:$Int32,tag:""},{prop:"RecoveryFrames",name:"RecoveryFrames",embedded:false,exported:true,typ:$Int32,tag:""},{prop:"RecoveryFramesOnBlock",name:"RecoveryFramesOnBlock",embedded:false,exported:true,typ:$Int32,tag:""},{prop:"RecoveryFramesOnHit",name:"RecoveryFramesOnHit",embedded:false,exported:true,typ:$Int32,tag:""},{prop:"Moveforward",name:"Moveforward",embedded:false,exported:true,typ:AT,tag:""},{prop:"HitboxOffset",name:"HitboxOffset",embedded:false,exported:true,typ:$Float64,tag:""},{prop:"HitboxSize",name:"HitboxSize",embedded:false,exported:true,typ:AT,tag:""},{prop:"OriginatedRenderFrameId",name:"OriginatedRenderFrameId",embedded:false,exported:true,typ:$Int32,tag:""},{prop:"HitStunFrames",name:"HitStunFrames",embedded:false,exported:true,typ:$Int32,tag:""},{prop:"BlockStunFrames",name:"BlockStunFrames",embedded:false,exported:true,typ:$Int32,tag:""},{prop:"Pushback",name:"Pushback",embedded:false,exported:true,typ:$Float64,tag:""},{prop:"ReleaseTriggerType",name:"ReleaseTriggerType",embedded:false,exported:true,typ:$Int32,tag:""},{prop:"Damage",name:"Damage",embedded:false,exported:true,typ:$Int32,tag:""},{prop:"OffenderJoinIndex",name:"OffenderJoinIndex",embedded:false,exported:true,typ:$Int32,tag:""},{prop:"OffenderPlayerId",name:"OffenderPlayerId",embedded:false,exported:true,typ:$Int32,tag:""}]);K.init("",[{prop:"Id",name:"Id",embedded:false,exported:true,typ:$Int32,tag:""},{prop:"PlayersArr",name:"PlayersArr",embedded:false,exported:true,typ:AM,tag:""},{prop:"CountdownNanos",name:"CountdownNanos",embedded:false,exported:true,typ:$Int64,tag:""},{prop:"MeleeBullets",name:"MeleeBullets",embedded:false,exported:true,typ:AR,tag:""},{prop:"BackendUnconfirmedMask",name:"BackendUnconfirmedMask",embedded:false,exported:true,typ:$Uint64,tag:""},{prop:"ShouldForceResync",name:"ShouldForceResync",embedded:false,exported:true,typ:$Bool,tag:""},{prop:"Players",name:"Players",embedded:false,exported:true,typ:AW,tag:""}]);N.init("",[{prop:"Overlap",name:"Overlap",embedded:false,exported:true,typ:$Float64,tag:""},{prop:"OverlapX",name:"OverlapX",embedded:false,exported:true,typ:$Float64,tag:""},{prop:"OverlapY",name:"OverlapY",embedded:false,exported:true,typ:$Float64,tag:""},{prop:"AContainedInB",name:"AContainedInB",embedded:false,exported:true,typ:$Bool,tag:""},{prop:"BContainedInA",name:"BContainedInA",embedded:false,exported:true,typ:$Bool,tag:""},{prop:"Axis",name:"Axis",embedded:false,exported:true,typ:A.Vector,tag:""}]);$init=function(){$pkg.$init=function(){};var $f,$c=false,$s=0,$r;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:$r=A.$init();$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=B.$init();$s=2;case 2:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=C.$init();$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$pkg.DIRECTION_DECODER=new AE([new AD([0,0]),new AD([0,2]),new AD([0,-2]),new AD([2,0]),new AD([-2,0]),new AD([1,1]),new AD([-1,-1]),new AD([1,-1]),new AD([-1,1])]);}return;}if($f===undefined){$f={$blk:$init};}$f.$s=$s;$f.$r=$r;return $f;};$pkg.$init=$init;return $pkg;})(); $packages["jsexport"]=(function(){var $pkg={},$init,A,B,C,Q,R,S,T,U,V,W,X,Y,Z,AA,AB,AC,AD,AE,AF,AG,AH,AI,AJ,AK,AL,AM,AN,AO,AP,AQ,AR,AS,D,E,F,G,H,I,J,K,L,M,N,O,P;A=$packages["github.com/gopherjs/gopherjs/js"];B=$packages["github.com/solarlune/resolv"];C=$packages["jsexport/battle"];Q=$ptrType(C.Vec2D);R=$sliceType(Q);S=$ptrType(C.Polygon2D);T=$ptrType(C.PlayerDownsync);U=$sliceType(T);V=$ptrType(C.MeleeBullet);W=$sliceType(V);X=$ptrType(A.Object);Y=$sliceType(X);Z=$sliceType($String);AA=$funcType([$Float64,$Float64],[X],false);AB=$funcType([Q,R],[X],false);AC=$funcType([S],[X],false);AD=$funcType([$Int32,$Int32,$Int32,$Int32,$Int32,$Int32,$Int32,$Int32,$Int32,$Int32,$Int32,$Int32,$Int32,$Bool,$Float64],[X],false);AE=$funcType([$Int32,U,W],[X],false);AF=$funcType([$Int,$Int,$Int,$Int],[X],false);AG=$funcType([$Float64,$Float64,$Float64,$Float64,$Float64,$Float64,$Float64,$Float64,$Float64,$Float64,$emptyInterface,$String],[X],false);AH=$funcType([S,$Float64,$Float64,$emptyInterface,$String],[X],false);AI=$ptrType(C.RoomDownsyncFrame);AJ=$funcType([AI],[Y],false);AK=$ptrType(B.Space);AL=$funcType([AK],[Y],false);AM=$sliceType($Uint64);AN=$ptrType(B.Object);AO=$mapType($Int32,AN);AP=$funcType([AM,AM,AI,AK,AO,$Int32,$Int32,$Int32,$Int32,$Int32,$Float64,$Float64,$Float64,$Float64,$Float64,$Float64],[X],false);AQ=$funcType([$Float64,$Float64,$Float64,$Float64,$Float64,$Float64,$Float64,$Float64,$Float64,$Float64],[$Float64,$Float64],false);AR=$funcType([AN,$Float64,$Float64],[X],false);AS=$mapType($String,$emptyInterface);D=function(a,b,c,d){var a,b,c,d;return A.MakeWrapper(B.NewSpace(a,b,c,d));};$pkg.NewCollisionSpaceJs=D;E=function(a,b){var{a,b,c,d,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=A.MakeFullWrapper(new C.Vec2D.ptr(a,b));$s=1;case 1:if($c){$c=false;c=c.$blk();}if(c&&c.$blk!==undefined){break s;}d=c;$s=2;case 2:return d;}return;}var $f={$blk:E,$c:true,$r,a,b,c,d,$s};return $f;};$pkg.NewVec2DJs=E;F=function(a,b){var{a,b,c,d,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=A.MakeFullWrapper(new C.Polygon2D.ptr(a,b));$s=1;case 1:if($c){$c=false;c=c.$blk();}if(c&&c.$blk!==undefined){break s;}d=c;$s=2;case 2:return d;}return;}var $f={$blk:F,$c:true,$r,a,b,c,d,$s};return $f;};$pkg.NewPolygon2DJs=F;G=function(a){var a;return A.MakeWrapper(new C.Barrier.ptr(a));};$pkg.NewBarrierJs=G;H=function(a,b,c,d,e,f,g,h,i,j,k,l,m,n,o){var a,b,c,d,e,f,g,h,i,j,k,l,m,n,o;return A.MakeWrapper(new C.PlayerDownsync.ptr(a,b,c,d,e,f,g,h,i,k,o,false,0,0,0,l,m,j,n,"","",""));};$pkg.NewPlayerDownsyncJs=H;I=function(a,b,c){var{a,b,c,d,e,$s,$r,$c}=$restore(this,{a,b,c});$s=$s||0;s:while(true){switch($s){case 0:d=A.MakeFullWrapper(new C.RoomDownsyncFrame.ptr(a,b,new $Int64(0,0),c,new $Uint64(0,0),false,false));$s=1;case 1:if($c){$c=false;d=d.$blk();}if(d&&d.$blk!==undefined){break s;}e=d;$s=2;case 2:return e;}return;}var $f={$blk:I,$c:true,$r,a,b,c,d,e,$s};return $f;};$pkg.NewRoomDownsyncFrameJs=I;J=function(a){var{a,b,c,d,e,f,g,$s,$r,$c}=$restore(this,{a});$s=$s||0;s:while(true){switch($s){case 0:b=a.Objects();c=$makeSlice(Y,0,b.$length);d=b;e=0;case 1:if(!(e=d.$length)?($throwRuntimeError("index out of range"),undefined):d.$array[d.$offset+e]);g=A.MakeFullWrapper(f);$s=3;case 3:if($c){$c=false;g=g.$blk();}if(g&&g.$blk!==undefined){break s;}c=$append(c,g);e++;$s=1;continue;case 2:$s=-1;return c;}return;}var $f={$blk:J,$c:true,$r,a,b,c,d,e,f,g,$s};return $f;};$pkg.GetCollisionSpaceObjsJs=J;K=function(a){var{a,b,c,d,e,f,$s,$r,$c}=$restore(this,{a});$s=$s||0;s:while(true){switch($s){case 0:b=$makeSlice(Y,0,a.PlayersArr.$length);c=a.PlayersArr;d=0;case 1:if(!(d=c.$length)?($throwRuntimeError("index out of range"),undefined):c.$array[c.$offset+d]);f=A.MakeFullWrapper(e);$s=3;case 3:if($c){$c=false;f=f.$blk();}if(f&&f.$blk!==undefined){break s;}b=$append(b,f);d++;$s=1;continue;case 2:$s=-1;return b;}return;}var $f={$blk:K,$c:true,$r,a,b,c,d,e,f,$s};return $f;};$pkg.GetPlayersArrJs=K;L=function(a,b,c,d,e,f,g,h,i,j,k,l){var{a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,$s,$r,$c}=$restore(this,{a,b,c,d,e,f,g,h,i,j,k,l});$s=$s||0;s:while(true){switch($s){case 0:m=C.GenerateRectCollider(a,b,c,d,e,f,g,h,i,j,k,l);$s=1;case 1:if($c){$c=false;m=m.$blk();}if(m&&m.$blk!==undefined){break s;}n=A.MakeFullWrapper(m);$s=2;case 2:if($c){$c=false;n=n.$blk();}if(n&&n.$blk!==undefined){break s;}o=n;$s=3;case 3:return o;}return;}var $f={$blk:L,$c:true,$r,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,$s};return $f;};$pkg.GenerateRectColliderJs=L;M=function(a,b,c,d,e){var{a,b,c,d,e,f,g,h,$s,$r,$c}=$restore(this,{a,b,c,d,e});$s=$s||0;s:while(true){switch($s){case 0:f=C.GenerateConvexPolygonCollider(a,b,c,d,e);$s=1;case 1:if($c){$c=false;f=f.$blk();}if(f&&f.$blk!==undefined){break s;}g=A.MakeFullWrapper(f);$s=2;case 2:if($c){$c=false;g=g.$blk();}if(g&&g.$blk!==undefined){break s;}h=g;$s=3;case 3:return h;}return;}var $f={$blk:M,$c:true,$r,a,b,c,d,e,f,g,h,$s};return $f;};$pkg.GenerateConvexPolygonColliderJs=M;N=function(a,b,c){var{a,b,c,d,e,f,$s,$r,$c}=$restore(this,{a,b,c});$s=$s||0;s:while(true){switch($s){case 0:d=a.Check(b,c,new Z([]));$s=1;case 1:if($c){$c=false;d=d.$blk();}if(d&&d.$blk!==undefined){break s;}e=A.MakeFullWrapper(d);$s=2;case 2:if($c){$c=false;e=e.$blk();}if(e&&e.$blk!==undefined){break s;}f=e;$s=3;case 3:return f;}return;}var $f={$blk:N,$c:true,$r,a,b,c,d,e,f,$s};return $f;};$pkg.CheckCollisionJs=N;O=function(a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p){var{a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,$s,$r,$c}=$restore(this,{a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p});$s=$s||0;s:while(true){switch($s){case 0:q=C.ApplyInputFrameDownsyncDynamicsOnSingleRenderFrame(a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p);$s=1;case 1:if($c){$c=false;q=q.$blk();}if(q&&q.$blk!==undefined){break s;}r=A.MakeFullWrapper(q);$s=2;case 2:if($c){$c=false;r=r.$blk();}if(r&&r.$blk!==undefined){break s;}s=r;$s=3;case 3:return s;}return;}var $f={$blk:O,$c:true,$r,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,$s};return $f;};$pkg.ApplyInputFrameDownsyncDynamicsOnSingleRenderFrameJs=O;P=function(){$global.gopkgs=$externalize($makeMap($String.keyFor,[{k:"NewVec2DJs",v:new AA(E)},{k:"NewPolygon2DJs",v:new AB(F)},{k:"NewBarrierJs",v:new AC(G)},{k:"NewPlayerDownsyncJs",v:new AD(H)},{k:"NewRoomDownsyncFrameJs",v:new AE(I)},{k:"NewCollisionSpaceJs",v:new AF(D)},{k:"GenerateRectColliderJs",v:new AG(L)},{k:"GenerateConvexPolygonColliderJs",v:new AH(M)},{k:"GetPlayersArrJs",v:new AJ(K)},{k:"GetCollisionSpaceObjsJs",v:new AL(J)},{k:"ApplyInputFrameDownsyncDynamicsOnSingleRenderFrameJs",v:new AP(O)},{k:"WorldToPolygonColliderBLPos",v:new AQ(C.WorldToPolygonColliderBLPos)},{k:"PolygonColliderBLToWorldPos",v:new AQ(C.PolygonColliderBLToWorldPos)},{k:"CheckCollisionJs",v:new AR(N)}]),AS);};$init=function(){$pkg.$init=function(){};var $f,$c=false,$s=0,$r;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:$r=A.$init();$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=B.$init();$s=2;case 2:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=C.$init();$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if($pkg===$mainPkg){P();$mainFinished=true;}}return;}if($f===undefined){$f={$blk:$init};}$f.$s=$s;$f.$r=$r;return $f;};$pkg.$init=$init;return $pkg;})(); $synthesizeMethods(); $initAllLinknames(); var $mainPkg = $packages["jsexport"]; $packages["runtime"].$init(); $go($mainPkg.$init, []); $flushConsole(); }).call(this); //# sourceMappingURL=jsexport.js.map