73 lines
3.8 MiB
JavaScript
73 lines
3.8 MiB
JavaScript
|
|
"use strict";
|
||
|
|
(function() {
|
||
|
|
|
||
|
|
var $goVersion = "go1.19.13";
|
||
|
|
var z=Object.defineProperty;var f=(r,e)=>z(r,"name",{value:e,configurable:!0});Error.stackTraceLimit=1/0;var $NaN=NaN,$global,$module;if(typeof window!="undefined"?$global=window:typeof self!="undefined"?$global=self:typeof global!="undefined"?($global=global,$global.require=require):$global=this,$global===void 0||$global.Array===void 0)throw new Error("no global object found");if(typeof module!="undefined"&&($module=module),!$global.fs&&$global.require)try{var fs=$global.require("fs");typeof fs=="object"&&fs!==null&&Object.keys(fs).length!==0&&($global.fs=fs)}catch(r){}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:f(function(e,n){outputBuf+=decoder.decode(n);var t=outputBuf.lastIndexOf(`
|
||
|
|
`);return t!=-1&&(console.log(outputBuf.substr(0,t)),outputBuf=outputBuf.substr(t+1)),n.length},"writeSync"),write:f(function(e,n,t,i,u,l){if(t!==0||i!==n.length||u!==null){l(enosys());return}var a=this.writeSync(e,n);l(null,a)},"write")}}var $linknames={},$packages={},$idCounter=0,$keys=f(r=>r?Object.keys(r):[],"$keys"),$flushConsole=f(()=>{},"$flushConsole"),$throwRuntimeError,$throwNilPointerError=f(()=>{$throwRuntimeError("invalid memory address or nil pointer dereference")},"$throwNilPointerError"),$call=f((r,e,n)=>r.apply(e,n),"$call"),$makeFunc=f(r=>function(...e){return $externalize(r(this,new($sliceType($jsObjectPtr))($global.Array.prototype.slice.call(e,[]))),$emptyInterface)},"$makeFunc"),$unused=f(r=>{},"$unused"),$print=console.log;if($global.process!==void 0&&$global.require)try{var util=$global.require("util");$print=f(function(...r){$global.process.stderr.write(util.format.apply(this,r))},"$print")}catch(r){}var $println=console.log,$initAllLinknames=f(()=>{for(var r=$keys($packages),e=0;e<r.length;e++){var n=$packages[r[e]].$initLinknames;typeof n=="function"&&n()}},"$initAllLinknames"),$mapArray=f((r,e)=>{for(var n=new r.constructor(r.length),t=0;t<r.length;t++)n[t]=e(r[t]);return n},"$mapArray"),$mapIndex=f((r,e)=>typeof r.get=="function"?r.get(e):void 0,"$mapIndex"),$mapDelete=f((r,e)=>{typeof r.delete=="function"&&r.delete(e)},"$mapDelete"),$methodVal=f((r,e)=>{var n=r.$methodVals||{};r.$methodVals=n;var t=n[e];if(t!==void 0)return t;var i=r[e];return t=i.bind(r),n[e]=t,t},"$methodVal"),$methodExpr=f((r,e)=>{var n=r.prototype[e];return n.$expr===void 0&&(n.$expr=(...t)=>{$stackDepthOffset--;try{return r.wrapped&&(t[0]=new r(t[0])),Function.call.apply(n,t)}finally{$stackDepthOffset++}}),n.$expr},"$methodExpr"),$ifaceMethodExprs={},$ifaceMethodExpr=f(r=>{var e=$ifaceMethodExprs["$"+r];return e===void 0&&(e=$ifaceMethodExprs["$"+r]=(...n)=>{$stackDepthOffset--;try{return Function.call.apply(n[0][r],n)}finally{$stackDepthOffset++}}),e},"$ifaceMethodExpr"),$subslice=f((r,e,n,t)=>{if(n===void 0&&(n=r.$length),t===void 0&&(t=r.$capacity),(e<0||n<e||t<n||n>r.$capacity||t>r.$capacity)&&$throwRuntimeError("slice bounds out of range"),r===r.constructor.nil)return r;var i=new r.constructor(r.$array);return i.$offset=r.$offset+e,i.$length=n-e,i.$capacity=t-e,i},"$subslice"),$substring=f((r,e,n)=>((e<0||n<e||n>r.length)&&$throwRuntimeError("slice bounds out of range"),r.substring(e,n)),"$substring"),$sliceToNativeArray=f(r=>r.$array.constructor!==Array?r.$array.subarray(r.$offset,r.$offset+r.$length):r.$array.slice(r.$offset,r.$offset+r.$length),"$sliceToNativeArray"),$sliceToGoArray=f((r,e)=>{var n=e.elem;if(n!==void 0&&r.$length<n.len&&$throwRuntimeError("cannot convert slice with length "+r.$length+" to pointer to array with length "+n.len),r==r.constructor.nil)return e.nil;if(r.$array.constructor!==Array)return r.$array.subarray(r.$offset,r.$offset+n.len);if(r.$offset==0&&r.$length==r.$capacity&&r.$length==n.len)return r.$array;if(n.len==0)return new n([]);$throwRuntimeError("gopherjs: non-numeric slice to underlying array conversion is not supported for subslices")},"$sliceToGoArray"),$convertSliceType=f((r,e)=>r==r.constructor.nil?e.nil:$subslice(new e(r.$array),r.$offset,r.$offset+r.$length),"$convertSliceType"),$decodeRune=f((r,e)=>{var n=r.charCodeAt(e);if(n<128)return[n,1];if(n!==n||n<192)return[65533,1];var t=r.charCodeAt(e+1);if(t!==t||t<128||192<=t)return[65533,1];if(n<224){var i=(n&31)<<6|t&63;return i<=127?[65533,1]:[i,2]}var u=r.charCodeAt(e+2);if(u!==u||u<128||192<=u)return[65533,1];if(n<240){var i=(n&15)<<12|(t&63)<<6|u&63;return i<=2047?[65533,1]:55296<=i&&i<=57343?[65533,1]:[i,3]}var l=r.charCodeAt(e+3);if(l!==l||l<128||192<=l)return[65533,1];if(n<248){var i=(n&7)<<18|(t&63)<<12|(u&63)<<6|l&63;return i<=65535||1114111<i?[65533,1]:[i,4]}return[65533,1]},"$decodeRune"),$encodeRune=f(r=>((r<0||r>1114111||55296<=r&&r<=57343)&&(r=65533),r<=127?String.fromCharCode(r):r<=2047?String.fromCharCode(192|r>>6,128|r&63):r<=65535?String.fromCharCode(224|r>>12,128|r>>6&63,128|r&63):String.fromCharCode(240|r>
|
||
|
|
`).length},"$getStackDepth"),$panicStackDepth=null,$panicValue,$callDeferred=f((r,e,n)=>{if(!n&&r!==null&&$curGoroutine.deferStack.indexOf(r)==-1)throw e;if(e!==null){var t=null;try{$panic(new $jsErrorPtr(e))}catch(s){t=s}$callDeferred(r,t);return}if(!$curGoroutine.asleep){$stackDepthOffset--;var i=$panicStackDepth,u=$panicValue,l=$curGoroutine.panicStack.pop();l!==void 0&&($panicStackDepth=$getStackDepth(),$panicValue=l);try{for(;;){if(r===null&&(r=$curGoroutine.deferStack[$curGoroutine.deferStack.length-1],r===void 0)){if($panicStackDepth=null,l.Object instanceof Error)throw l.Object;var a;throw l.constructor===$String?a=l.$val:l.Error!==void 0?a=l.Error():l.String!==void 0?a=l.String():a=l,new Error(a)}var $=r.pop();if($===void 0){if($curGoroutine.deferStack.pop(),l!==void 0){r=null;continue}return}var o=$[0].apply($[2],$[1]);if(o&&o.$blk!==void 0){if(r.push([o.$blk,[],o]),n)throw null;return}if(l!==void 0&&$panicStackDepth===null){if(n)throw null;return}}}catch(s){if(n)throw s;$callDeferred(r,s,n)}finally{l!==void 0&&($panicStackDepth!==null&&$curGoroutine.panicStack.push(l),$panicStackDepth=i,$panicValue=u),$stackDepthOffset++}}},"$callDeferred"),$panic=f(r=>{$curGoroutine.panicStack.push(r),$callDeferred(null,null,!0)},"$panic"),$recover=f(()=>$panicStackDepth===null||$panicStackDepth!==void 0&&$panicStackDepth!==$getStackDepth()-2?$ifaceNil:($panicStackDepth=null,$panicValue),"$recover"),$throw=f(r=>{throw r},"$throw"),$noGoroutine={asleep:!1,exit:!1,deferStack:[],panicStack:[]},$curGoroutine=$noGoroutine,$totalGoroutines=0,$awakeGoroutines=0,$checkForDeadlock=!0,$exportedFunctions=0,$mainFinished=!1,$go=f((r,e)=>{$totalGoroutines++,$awakeGoroutines++;var n=f(()=>{try{$curGoroutine=n;var t=r(...e);if(t&&t.$blk!==void 0){r=f(()=>t.$blk(),"fun"),e=[];return}n.exit=!0}catch(i){if(!n.exit)throw i}finally{$curGoroutine=$noGoroutine,n.exit&&($totalGoroutines--,n.asleep=!0),n.asleep&&($awakeGoroutines--,!$mainFinished&&$awakeGoroutines===0&&$checkForDeadlock&&$exportedFunctions===0&&(console.error("fatal error: all goroutines are asleep - deadlock!"),$global.process!==void 0&&$global.process.exit(2)))}},"$goroutine");n.asleep=!1,n.exit=!1,n.deferStack=[],n.panicStack=[],$schedule(n)},"$go"),$scheduled=[],$runScheduled=f(()=>{var r=setTimeout($runScheduled);try{for(var e=Date.now(),n;(n=$scheduled.shift())!==void 0;){n();var t=Date.now()-e;if(t>4||t<0)break}}finally{$scheduled.length==0&&clearTimeout(r)}},"$runScheduled"),$schedule=f(r=>{r.asleep&&(r.asleep=!1,$awakeGoroutines++),$scheduled.push(r),$curGoroutine===$noGoroutine&&$runScheduled()},"$schedule"),$setTimeout=f((r,e)=>($awakeGoroutines++,setTimeout(()=>{$awakeGoroutines--,r()},e)),"$setTimeout"),$block=f(()=>{$curGoroutine===$noGoroutine&&$throwRuntimeError("cannot block in JavaScript callback, fix by wrapping code in goroutine"),$curGoroutine.asleep=!0},"$block"),$restore=f((r,e)=>r!==void 0&&r.$blk!==void 0?r:e,"$restore"),$send=f((r,e)=>{r.$closed&&$throwRuntimeError("send on closed channel");var n=r.$recvQueue.shift();if(n!==void 0){n([e,!0]);return}if(r.$buffer.length<r.$capacity){r.$buffer.push(e);return}var t=$curGoroutine,i;return r.$sendQueue.push(u=>(i=u,$schedule(t),e)),$block(),{$blk(){i&&$throwRuntimeError("send on closed channel")}}},"$send"),$recv=f(r=>{var e=r.$sendQueue.shift();e!==void 0&&r.$buffer.push(e(!1));var n=r.$buffer.shift();if(n!==void 0)return[n,!0];if(r.$closed)return[r.$elem.zero(),!1];var t=$curGoroutine,i={$blk(){return this.value}},u=f(l=>{i.value=l,$schedule(t)},"queueEntry");return r.$recvQueue.push(u),$block(),i},"$recv"),$close=f(r=>{for(r.$closed&&$throwRuntimeError("close of closed channel"),r.$closed=!0;;){var e=r.$sendQueue.shift();if(e===void 0)break;e(!0)}for(;;){var n=r.$recvQueue.shift();if(n===void 0)break;n([r.$elem.zero(),!1])}},"$close"),$select=f(r=>{for(var e=[],n=-1,t=0;t<r.length;t++){var i=r[t],u=i[0];switch(i.length){case 0:n=t;break;case 1:(u.$sendQueue.length!==0||u.$buffer.length!==0||u.$closed)&&e.push(t);break;case 2:u.$closed&&$throwRuntimeError("send on closed channel"),(u.$recvQueue.length!==0||u.$
|
||
|
|
|
||
|
|
$packages["github.com/gopherjs/gopherjs/js"]=(function(){var $pkg={},$init,A,B,J,M,O,P,Q,T,E,G,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);M=$sliceType($emptyInterface);O=$ptrType(A);P=$sliceType(O);Q=$funcType([P],[O],true);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,$ex
|
||
|
|
$packages["runtime"]=(function(){var $pkg={},$init,A,C,D,L,U,V,AF,AT,BA,BB,BC,BD,BE,BF,BG,BH,H,I,N,O,AM,E,F,J,K,M,P,Q,S,T,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=BC.nil;this.concrete=BC.nil;this.asserted=BC.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_;});U=$pkg.Frames=$newType(0,$kindStruct,"runtime.Frames",true,"runtime",true,function(frames_,current_){this.$val=this;if(arguments.length===0){this.frames=BF.nil;this.current=0;return;}this.frames=frames_;this.current=current_;});V=$pkg.Frame=$newType(0,$kindStruct,"runtime.Frame",true,"runtime",true,function(PC_,Func_,Function_,File_,Line_,Entry_){this.$val=this;if(arguments.length===0){this.PC=0;this.Func=BA.nil;this.Function="";this.File="";this.Line=0;this.Entry=0;return;}this.PC=PC_;this.Func=Func_;this.Function=Function_;this.File=File_;this.Line=Line_;this.Entry=Entry_;});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 BD.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);BA=$ptrType(AF);BB=$sliceType(BA);BC=$ptrType(C);BD=$structType("",[]);BE=$sliceType(L);BF=$sliceType(V);BG=$ptrType(D);BH=$ptrType(U);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===BC.nil)){b=a._interface.string();}c=a.asserted.string();if(a.concrete===BC.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(BC.nil,BC.nil,BC.nil,"");$unused(b);};F=function(){var a,b,c;a=$global.process;if(a===undefined||a.env===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=$mapIndex(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 BD.ptr());k=((I.$length>>>0));I=$append(I,j);l=e;(H||$throwRuntimeError("assignment to entry in nil map")).set($String.keyFor(l),{k:l,v:k});return k;};K=function(a){var a;return $in
|
||
|
|
$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/reflectlite"]=(function(){var $pkg={},$init,B,A,C,D,G,M,N,O,P,Q,R,S,T,U,V,W,X,Y,Z,AA,AE,AF,AG,AR,AT,BJ,BL,BM,BN,CS,CU,DS,DT,DU,DV,DW,DX,DY,EA,EB,EC,ED,EE,EF,EG,EH,EI,EJ,EK,EL,EM,EQ,ER,ES,ET,EU,EV,EW,EX,AB,AP,AZ,BB,BC,BD,BE,BF,BK,BO,BQ,BS,DF,DL,AI,AJ,AK,AL,AN,AO,AS,AY,BA,BG,BH,BI,BP,BR,BT,BU,BV,BW,BX,BZ,CA,CD,CF,CH,CK,CO,CP,CT,CV,CW,CX,DA,DB,DC,DD,DE,DG,DH,DI,DJ,DK;B=$packages["github.com/gopherjs/gopherjs/js"];A=$packages["internal/goarch"];C=$pkg.Value=$newType(0,$kindStruct,"reflectlite.Value",true,"internal/reflectlite",true,function(typ_,ptr_,flag_){this.$val=this;if(arguments.length===0){this.typ=DS.nil;this.ptr=0;this.flag=0;return;}this.typ=typ_;this.ptr=ptr_;this.flag=flag_;});D=$pkg.flag=$newType(4,$kindUintptr,"reflectlite.flag",true,"internal/reflectlite",false,null);G=$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_;});M=$pkg.Type=$newType(8,$kindInterface,"reflectlite.Type",true,"internal/reflectlite",true,null);N=$pkg.Kind=$newType(4,$kindUint,"reflectlite.Kind",true,"internal/reflectlite",true,null);O=$pkg.tflag=$newType(1,$kindUint8,"reflectlite.tflag",true,"internal/reflectlite",false,null);P=$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=EE.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_;});Q=$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_;});R=$pkg.chanDir=$newType(4,$kindInt,"reflectlite.chanDir",true,"internal/reflectlite",false,null);S=$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 P.ptr(0,0,0,0,0,0,0,$throwNilPointerError,EE.nil,0,0);this.elem=DS.nil;this.slice=DS.nil;this.len=0;return;}this.rtype=rtype_;this.elem=elem_;this.slice=slice_;this.len=len_;});T=$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 P.ptr(0,0,0,0,0,0,0,$throwNilPointerError,EE.nil,0,0);this.elem=DS.nil;this.dir=0;return;}this.rtype=rtype_;this.elem=elem_;this.dir=dir_;});U=$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_;});V=$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 P.ptr(0,0,0,0,0,0,0,$throwNilPointerError,EE.nil,0,0);this.pkgPath=new BM.ptr(EE.nil);this.methods=EI.nil;return;}this.rtype=rtype_;this.pkgPath=pkgPath_;this.methods=methods_;});W=$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 P.ptr(0,0,0,0,0,0,0,$throwNilPointerError,EE.nil,0,0);this.key=DS.nil;this.elem=DS.nil;this.bucket=DS.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=ele
|
||
|
|
$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/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,B,C,D,G,K,M,O,Q,S;A=$packages["internal/cpu"];B=function(a,b){var a,b;$panic(new $String("unimplemented"));};$pkg.Index=B;C=function(a,b){var a,b;$panic(new $String("unimplemented"));};$pkg.IndexString=C;D=function(a){var a;$panic(new $String("unimplemented"));};$pkg.Cutover=D;G=function(a,b){var a,b,c,d,e,f;c=0;d=a;e=0;while(true){if(!(e<d.$length)){break;}f=((e<0||e>=d.$length)?($throwRuntimeError("index out of range"),undefined):d.$array[d.$offset+e]);if(f===b){c=c+(1)>>0;}e++;}return c;};$pkg.Count=G;K=function(a){var a,b,c,d,e,f,g,h;b=0;c=0;while(true){if(!(c<a.$length)){break;}b=($imul(b,16777619)>>>0)+((((c<0||c>=a.$length)?($throwRuntimeError("index out of range"),undefined):a.$array[a.$offset+c])>>>0))>>>0;c=c+(1)>>0;}d=1;e=16777619;f=d;g=e;h=a.$length;while(true){if(!(h>0)){break;}if(!(((h&1)===0))){f=$imul(f,(g))>>>0;}g=$imul(g,(g))>>>0;h=(h>>$min((1),31))>>0;}return[b,f];};$pkg.HashStrBytes=K;M=function(a){var a,b,c,d,e,f,g,h;b=0;c=a.$length-1>>0;while(true){if(!(c>=0)){break;}b=($imul(b,16777619)>>>0)+((((c<0||c>=a.$length)?($throwRuntimeError("index out of range"),undefined):a.$array[a.$offset+c])>>>0))>>>0;c=c-(1)>>0;}d=1;e=16777619;f=d;g=e;h=a.$length;while(true){if(!(h>0)){break;}if(!(((h&1)===0))){f=$imul(f,(g))>>>0;}g=$imul(g,(g))>>>0;h=(h>>$min((1),31))>>0;}return[b,f];};$pkg.HashStrRevBytes=M;O=function(a,b){var a,b,c,d,e,f,g,h,i,j;c=K(b);d=c[0];e=c[1];f=b.$length;g=0;h=0;while(true){if(!(h<f)){break;}g=($imul(g,16777619)>>>0)+((((h<0||h>=a.$length)?($throwRuntimeError("index out of range"),undefined):a.$array[a.$offset+h])>>>0))>>>0;h=h+(1)>>0;}if((g===d)&&Q($subslice(a,0,f),b)){return 0;}i=f;while(true){if(!(i<a.$length)){break;}g=$imul(g,(16777619))>>>0;g=g+(((((i<0||i>=a.$length)?($throwRuntimeError("index out of range"),undefined):a.$array[a.$offset+i])>>>0)))>>>0;g=g-(($imul(e,(((j=i-f>>0,((j<0||j>=a.$length)?($throwRuntimeError("index out of range"),undefined):a.$array[a.$offset+j]))>>>0)))>>>0))>>>0;i=i+(1)>>0;if((g===d)&&Q($subslice(a,(i-f>>0),i),b)){return i-f>>0;}}return-1;};$pkg.IndexRabinKarpBytes=O;Q=function(a,b){var a,b,c,d,e,f;if(!((a.$length===b.$length))){return false;}c=a;d=0;while(true){if(!(d<c.$length)){break;}e=d;f=((d<0||d>=c.$length)?($throwRuntimeError("index out of range"),undefined):c.$array[c.$offset+d]);if(!((f===((e<0||e>=b.$length)?($throwRuntimeError("index out of range"),undefined):b.$array[b.$offset+e])))){return false;}d++;}return true;};$pkg.Equal=Q;S=function(a,b){var a,b,c;c=0;while(true){if(!(c<a.length)){break;}if(a.charCodeAt(c)===b){return c;}c=c+(1)>>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;}$pkg.MaxLen=0;}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,AY,V,Y,AB,AG,AI,AJ,AM,AO,AS;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_;});AY=$ptrType(B);V=function(a,b,c){var a,b,c;if(a.$get()===b){a.$set(c);return true;}return false;};$pkg.CompareAndSwapInt32=V;Y=function(a,b,c){var a,b,c,d;if((d=a.$get(),(d.$high===b.$high&&d.$low===b.$low))){a.$set(c);return true;}return false;};$pkg.CompareAndSwapUint64=Y;AB=function(a,b){var a,b,c;c=a.$get()+b>>0;a.$set(c);return c;};$pkg.AddInt32=AB;AG=function(a){var a;return a.$get();};$pkg.LoadInt32=AG;AI=function(a){var a;return a.$get();};$pkg.LoadUint32=AI;AJ=function(a){var a;return a.$get();};$pkg.LoadUint64=AJ;AM=function(a,b){var a,b;a.$set(b);};$pkg.StoreInt32=AM;AO=function(a,b){var a,b;a.$set(b);};$pkg.StoreUint32=AO;B.ptr.prototype.Load=function(){var a,b;a=$ifaceNil;b=this;a=b.v;return a;};B.prototype.Load=function(){return this.$val.Load();};B.ptr.prototype.Store=function(a){var a,b;b=this;b.checkNew("store",a);b.v=a;};B.prototype.Store=function(a){return this.$val.Store(a);};B.ptr.prototype.Swap=function(a){var a,b,c,d,e;b=$ifaceNil;c=this;c.checkNew("swap",a);d=c.v;e=a;b=d;c.v=e;b=b;return b;};B.prototype.Swap=function(a){return this.$val.Swap(a);};B.ptr.prototype.CompareAndSwap=function(a,b){var a,b,c,d;c=false;d=this;d.checkNew("compare and swap",b);if(!($interfaceIsEqual(d.v,$ifaceNil)&&$interfaceIsEqual(a,$ifaceNil))&&!AS(a,b)){$panic(new $String("sync/atomic: compare and swap of inconsistently typed values into Value"));}if(!($interfaceIsEqual(d.v,a))){c=false;return c;}d.v=b;c=true;return c;};B.prototype.CompareAndSwap=function(a,b){return this.$val.CompareAndSwap(a,b);};B.ptr.prototype.checkNew=function(a,b){var a,b,c;c=this;if($interfaceIsEqual(b,$ifaceNil)){$panic(new $String("sync/atomic: "+a+" of nil value into Value"));}if(!($interfaceIsEqual(c.v,$ifaceNil))&&!AS(b,c.v)){$panic(new $String("sync/atomic: "+a+" of inconsistently typed value into Value"));}};B.prototype.checkNew=function(a,b){return this.$val.checkNew(a,b);};AS=function(a,b){var a,b;return a.constructor===b.constructor;};AY.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,T,V,W,AP,AU,AW,AX,AY,BI,BJ,BM,BN,BO,BW,BX,BY,Z,AG,AH,K,L,U,AI,AJ,AK,AL,AM,AN,AO;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 V.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 V.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_;});T=$pkg.Once=$newType(0,$kindStruct,"sync.Once",true,"sync",true,function(done_,m_){this.$val=this;if(arguments.length===0){this.done=0;this.m=new V.ptr(0,0);return;}this.done=done_;this.m=m_;});V=$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_;});W=$pkg.Locker=$newType(8,$kindInterface,"sync.Locker",true,"sync",true,null);AP=$pkg.Pool=$newType(0,$kindStruct,"sync.Pool",true,"sync",true,function(store_,New_){this.$val=this;if(arguments.length===0){this.store=BW.nil;this.New=$throwNilPointerError;return;}this.store=store_;this.New=New_;});AU=$ptrType($Uint32);AW=$ptrType($Int32);AX=$ptrType(E);AY=$ptrType(D);BI=$chanType($Bool,false,false);BJ=$sliceType(BI);BM=$funcType([],[],false);BN=$ptrType(T);BO=$ptrType(V);BW=$sliceType($emptyInterface);BX=$ptrType(AP);BY=$funcType([],[$emptyInterface],false);D.ptr.prototype.RLock=function(){var{a,$s,$r,$c}=$restore(this,{});$s=$s||0;s:while(true){switch($s){case 0:a=this;if(false){$unused(a.w.state);A.Disable();}if(B.AddInt32((a.$ptr_readerCount||(a.$ptr_readerCount=new AW(function(){return this.$target.readerCount;},function($v){this.$target.readerCount=$v;},a))),1)<0){$s=1;continue;}$s=2;continue;case 1:$r=AJ((a.$ptr_readerSem||(a.$ptr_readerSem=new AU(function(){return this.$target.readerSem;},function($v){this.$target.readerSem=$v;},a))),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(((a.$ptr_readerSem||(a.$ptr_readerSem=new AU(function(){return this.$target.readerSem;},function($v){this.$target.readerSem=$v;},a)))));}$s=-1;return;}return;}var $f={$blk:D.ptr.prototype.RLock,$c:true,$r,a,$s};return $f;};D.prototype.RLock=function(){return this.$val.RLock();};D.ptr.prototype.TryRLock=function(){var a,b;a=this;if(false){$unused(a.w.state);A.Disable();}while(true){b=B.LoadInt32((a.$ptr_readerCount||(a.$ptr_readerCount=new AW(function(){return this.$target.readerCount;},function($v){this.$target.readerCount=$v;},a))));if(b<0){if(false){A.Enable();}return false;}if(B.CompareAndSwapInt32((a.$ptr_readerCount||(a.$ptr_readerCount=new AW(function(){return this.$target.readerCount;},function($v){this.$target.readerCount=$v;},a))),b,b+1>>0)){if(false){A.Enable();A.Acquire(((a.$ptr_readerSem||(a.$ptr_readerSem=new AU(function(){return this.$target.readerSem;},function($v){this.$target.readerSem=$v;},a)))));}return true;}}};D.prototype.TryRLock=function(){return this.$val.TryRLock();};D.ptr.prototype.RUnlock=function(){var{a,b,$s,$r,$c}=$restore(this,{});$s=$s||0;s:while(true){switch($s){case 0:a=this;if(false){$unused(a.w.state);A.ReleaseMerge(((a.
|
||
|
|
$packages["io"]=(function(){var $pkg={},$init,A,B,N,O,Z,AA,AH,AI,AR,BG,BH,BI,BM,M,AU,AV,AZ,AJ,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);AI=$pkg.StringWriter=$newType(8,$kindInterface,"io.StringWriter",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_;});BG=$sliceType($emptyInterface);BH=$sliceType($Uint8);BI=$ptrType(BH);BM=$ptrType(AR);AJ=function(c,d){var{c,d,e,f,g,h,i,j,k,l,m,n,o,$s,$r,$c}=$restore(this,{c,d});$s=$s||0;s:while(true){switch($s){case 0:e=0;f=$ifaceNil;g=$assertType(c,AI,true);h=g[0];i=g[1];if(i){$s=1;continue;}$s=2;continue;case 1:k=h.WriteString(d);$s=3;case 3:if($c){$c=false;k=k.$blk();}if(k&&k.$blk!==undefined){break s;}j=k;e=j[0];f=j[1];l=[e,f];$s=4;case 4:return l;case 2:n=c.Write((new BH($stringToBytes(d))));$s=5;case 5:if($c){$c=false;n=n.$blk();}if(n&&n.$blk!==undefined){break s;}m=n;e=m[0];f=m[1];o=[e,f];$s=6;case 6:return o;}return;}var $f={$blk:AJ,$c:true,$r,c,d,e,f,g,h,i,j,k,l,m,n,o,$s};return $f;};$pkg.WriteString=AJ;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,BH.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===BH.nil){t=32768;u=$assertType(d,BM,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(BH,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||ad<ah){ah=0;if($interfaceIsEqual(ai,$ifaceNil)){ai=M;}}f=(aj=(new $Int64(0,ah)),new $Int64(f.$high+aj.$high,f.$low+aj.$low));if(!($interfaceIsEqual(ai,$ifaceNil))){g=ai;$s=10;continue;}if(!((ad===ah))){g=$pkg.ErrShortWrite;$s=10;continue;}case 13:if(!($interfaceIsEqual(ae,$ifaceNil))){if(!($interfaceIsEqual(ae,$pkg.EOF))){g=ae;}$s=10;continue;}$s=9;continue;case 10:ak=f;al=g;f=ak;g=al;$s=-1;return[f,g];}return;}var $f={$blk:AP,$c:true,$r,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};return $f;};AR.ptr.prototype.Read=function(c){var{c,d,e,f,g,h,i,j,k,l,m,n,o,$s,$r,$c}=$restore(this,{c});$s=$s||0;s:while(true){switch($s){case 0:d=0;e=$ifaceNil;f=this;if((g=f.N,(g.$high<0||(g.$high===0&&g.$low<=0)))){h=0;i=$pkg.EOF;d=h;e=i;$s=-1;return[d,e];}if((j=(new $Int64(0,c.$length)),k=f.N,(j.$high>k.$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:
|
||
|
|
$packages["unicode"]=(function(){var $pkg={},$init,IF,IG,IH,II,IK,IW,JM,JN,JO,JP,JQ,JR,JS,F,H,L,P,Q,T,AB,AJ,CE,CF,CK,CS,HR,HS,HT,HU,HV,IL,IM,IN,IO,IS,IT,IU,IX,IZ,JB,JC,JD,JG,JH,JI,JJ,JL;IF=$pkg.RangeTable=$newType(0,$kindStruct,"unicode.RangeTable",true,"unicode",true,function(R16_,R32_,LatinOffset_){this.$val=this;if(arguments.length===0){this.R16=JM.nil;this.R32=JN.nil;this.LatinOffset=0;return;}this.R16=R16_;this.R32=R32_;this.LatinOffset=LatinOffset_;});IG=$pkg.Range16=$newType(0,$kindStruct,"unicode.Range16",true,"unicode",true,function(Lo_,Hi_,Stride_){this.$val=this;if(arguments.length===0){this.Lo=0;this.Hi=0;this.Stride=0;return;}this.Lo=Lo_;this.Hi=Hi_;this.Stride=Stride_;});IH=$pkg.Range32=$newType(0,$kindStruct,"unicode.Range32",true,"unicode",true,function(Lo_,Hi_,Stride_){this.$val=this;if(arguments.length===0){this.Lo=0;this.Hi=0;this.Stride=0;return;}this.Lo=Lo_;this.Hi=Hi_;this.Stride=Stride_;});II=$pkg.CaseRange=$newType(0,$kindStruct,"unicode.CaseRange",true,"unicode",true,function(Lo_,Hi_,Delta_){this.$val=this;if(arguments.length===0){this.Lo=0;this.Hi=0;this.Delta=JP.zero();return;}this.Lo=Lo_;this.Hi=Hi_;this.Delta=Delta_;});IK=$pkg.d=$newType(12,$kindArray,"unicode.d",true,"unicode",false,null);IW=$pkg.foldPair=$newType(0,$kindStruct,"unicode.foldPair",true,"unicode",false,function(From_,To_){this.$val=this;if(arguments.length===0){this.From=0;this.To=0;return;}this.From=From_;this.To=To_;});JM=$sliceType(IG);JN=$sliceType(IH);JO=$sliceType(II);JP=$arrayType($Int32,3);JQ=$sliceType(IW);JR=$ptrType(IF);JS=$sliceType(JR);IL=function(a,b){var a,b,c,d,e,f,g,h,i,j,k,l,m;if(a.$length<=18||b<=255){c=a;d=0;while(true){if(!(d<c.$length)){break;}e=d;f=((e<0||e>=a.$length)?($throwRuntimeError("index out of range"),undefined):a.$array[a.$offset+e]);if(b<f.Lo){return false;}if(b<=f.Hi){return(f.Stride===1)||((g=((b-f.Lo<<16>>>16))%f.Stride,g===g?g:$throwRuntimeError("integer divide by zero"))===0);}d++;}return false;}h=0;i=a.$length;while(true){if(!(h<i)){break;}k=h+(j=((i-h>>0))/2,(j===j&&j!==1/0&&j!==-1/0)?j>>0:$throwRuntimeError("integer divide by zero"))>>0;l=((k<0||k>=a.$length)?($throwRuntimeError("index out of range"),undefined):a.$array[a.$offset+k]);if(l.Lo<=b&&b<=l.Hi){return(l.Stride===1)||((m=((b-l.Lo<<16>>>16))%l.Stride,m===m?m:$throwRuntimeError("integer divide by zero"))===0);}if(b<l.Lo){i=k;}else{h=k+1>>0;}}return false;};IM=function(a,b){var a,b,c,d,e,f,g,h,i,j,k,l,m;if(a.$length<=18){c=a;d=0;while(true){if(!(d<c.$length)){break;}e=d;f=((e<0||e>=a.$length)?($throwRuntimeError("index out of range"),undefined):a.$array[a.$offset+e]);if(b<f.Lo){return false;}if(b<=f.Hi){return(f.Stride===1)||((g=((b-f.Lo>>>0))%f.Stride,g===g?g:$throwRuntimeError("integer divide by zero"))===0);}d++;}return false;}h=0;i=a.$length;while(true){if(!(h<i)){break;}k=h+(j=((i-h>>0))/2,(j===j&&j!==1/0&&j!==-1/0)?j>>0:$throwRuntimeError("integer divide by zero"))>>0;l=$clone(((k<0||k>=a.$length)?($throwRuntimeError("index out of range"),undefined):a.$array[a.$offset+k]),IH);if(l.Lo<=b&&b<=l.Hi){return(l.Stride===1)||((m=((b-l.Lo>>>0))%l.Stride,m===m?m:$throwRuntimeError("integer divide by zero"))===0);}if(b<l.Lo){i=k;}else{h=k+1>>0;}}return false;};IN=function(a,b){var a,b,c,d,e;c=a.R16;if(c.$length>0&&((b>>>0))<=(((d=c.$length-1>>0,((d<0||d>=c.$length)?($throwRuntimeError("index out of range"),undefined):c.$array[c.$offset+d])).Hi>>>0))){return IL(c,((b<<16>>>16)));}e=a.R32;if(e.$length>0&&b>=(((0>=e.$length?($throwRuntimeError("index out of range"),undefined):e.$array[e.$offset+0]).Lo>>0))){return IM(e,((b>>>0)));}return false;};$pkg.Is=IN;IO=function(a,b){var a,b,c,d,e,f;c=a.R16;d=a.LatinOffset;if(c.$length>d&&((b>>>0))<=(((e=c.$length-1>>0,((e<0||e>=c.$length)?($throwRuntimeError("index out of range"),undefined):c.$array[c.$offset+e])).Hi>>>0))){return IL($subslice(c,d),((b<<16>>>16)));}f=a.R32;if(f.$length>0&&b>=(((0>=f.$length?($throwRuntimeError("index out of range"),undefined):f.$array[f.$offset+0]).Lo>>0))){return IM(f,((b>>>0)));}return false;};IS=function(a,b){var a,b,c;c=JL(a,b,$pkg.CaseRanges);b=c[0];return
|
||
|
|
$packages["unicode/utf8"]=(function(){var $pkg={},$init,B,A,C,F,G,H,I,J,K,N,O,P,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<l){o=65533;p=1;b=o;c=p;return[b,c];}q=(1>=a.$length?($throwRuntimeError("index out of range"),undefined):a.$array[a.$offset+1]);if(q<n.lo||n.hi<q){r=65533;s=1;b=r;c=s;return[b,c];}if(l<=2){t=(((((g&31)>>>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<v){w=65533;x=1;b=w;c=x;return[b,c];}if(l<=3){y=((((((g&15)>>>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<aa){ab=65533;ac=1;b=ab;c=ac;return[b,c];}ad=(((((((g&7)>>>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<l){o=65533;p=1;b=o;c=p;return[b,c];}q=a.charCodeAt(1);if(q<n.lo||n.hi<q){r=65533;s=1;b=r;c=s;return[b,c];}if(l<=2){t=(((((g&31)>>>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<v){w=65533;x=1;b=w;c=x;return[b,c];}if(l<=3){y=((((((g&15)>>>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<aa){ab=65533;ac=1;b=ab;c=ac;return[b,c];}ad=(((((((g&7)>>>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;H=function(a){var a,b,c,d,e,f,g,h,i,j,k,l,m,n,o;b=0;c=0;d=a.$length;if(d===0){e=65533;f=0;b=e;c=f;return[b,c];}g=d-1>>0;b=((((g<0||g>=a.$length)?($throwRuntimeError("index out of range"),undefined):a.$array[a.$offset+g])>>0));if(b<128){h=b;i=1;b=h;c=i;return[b,c];}j=d-4>>0;if(j<0){j=0;}g=g-(1)>>0;while(true){if(!(g>=j)){break;}if(P(((g<0||g>=a.$length)?($throwRuntimeError("index out of range"),undefined):a.$array[a.$offset+g]))){break;}g=g-(1)>>0;}if(g<0){g=0;}k=F($subslice(a,g,d));b=k[0];c=k[1];if(!(((g+c>>0)===d))){l=65533;m=1;b=l;c=m;return[b,c];}n=b;o=c;b=n;c=o;return[b,c];};$pkg.DecodeLastRune=H;I=function(a){var a,b,c,d,e,f,g,h,i,j,k,l,m,n,o;b=0;c=0;d=a.length;if(d===0){e=65533;f=0;b=e;c=f;return[b,c];}g=d-1>>0;b=((a.charCodeAt(g)>>0));if(b<128){h=b;i=1;b=h;c=i;return[b,c];}j=d-4>>0;if(j<0){j=0;}g=g-(1)>>0;while(true){if(!(g>=j)){break;}if(P(a.charCodeAt(g))){break;}g=g-(1)>>0;}if(g<0){g=0;}k=G($substring(a,g,d));b=k[0];c=k[1];if(!(((g+c>>0)===d))){l=65533;m=1;b=l;c=m;return[b,c];}n=b;o=c;b=n;c=o;return[b,c];};$pkg.DecodeLastRuneInString=I;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){r
|
||
|
|
$packages["bytes"]=(function(){var $pkg={},$init,A,D,B,E,C,F,AX,BQ,BR,CA,CB,CC,CD,CG,CI,CJ,X,BS,BU,G,H,I,J,K,N,O,P,Q,S,T,V,W,AA,AB,AC,AD,AE,AG,AO,AP,AQ,AR,AS,AV,AW,AY,AZ,BA,BB,BC,BD,BE,BF,BG,BH,BI,BJ,BL,BM,BN,BO,BT,BW,BX,BY;A=$packages["errors"];D=$packages["internal/bytealg"];B=$packages["io"];E=$packages["unicode"];C=$packages["unicode/utf8"];F=$pkg.Reader=$newType(0,$kindStruct,"bytes.Reader",true,"bytes",true,function(s_,i_,prevRune_){this.$val=this;if(arguments.length===0){this.s=CA.nil;this.i=new $Int64(0,0);this.prevRune=0;return;}this.s=s_;this.i=i_;this.prevRune=prevRune_;});AX=$pkg.asciiSet=$newType(32,$kindArray,"bytes.asciiSet",true,"bytes",false,null);BQ=$pkg.Buffer=$newType(0,$kindStruct,"bytes.Buffer",true,"bytes",true,function(buf_,off_,lastRead_){this.$val=this;if(arguments.length===0){this.buf=CA.nil;this.off=0;this.lastRead=0;return;}this.buf=buf_;this.off=off_;this.lastRead=lastRead_;});BR=$pkg.readOp=$newType(1,$kindInt8,"bytes.readOp",true,"bytes",false,null);CA=$sliceType($Uint8);CB=$sliceType(CA);CC=$arrayType($Uint8,4);CD=$ptrType(AX);CG=$arrayType($Uint32,8);CI=$ptrType(BQ);CJ=$ptrType(F);F.ptr.prototype.Len=function(){var a,b,c,d,e,f;a=this;if((b=a.i,c=(new $Int64(0,a.s.$length)),(b.$high>c.$high||(b.$high===c.$high&&b.$low>=c.$low)))){return 0;}return(((d=(e=(new $Int64(0,a.s.$length)),f=a.i,new $Int64(e.$high-f.$high,e.$low-f.$low)),d.$low+((d.$high>>31)*4294967296))>>0));};F.prototype.Len=function(){return this.$val.Len();};F.ptr.prototype.Size=function(){var a;a=this;return(new $Int64(0,a.s.$length));};F.prototype.Size=function(){return this.$val.Size();};F.ptr.prototype.Read=function(a){var a,b,c,d,e,f,g,h,i,j;b=0;c=$ifaceNil;d=this;if((e=d.i,f=(new $Int64(0,d.s.$length)),(e.$high>f.$high||(e.$high===f.$high&&e.$low>=f.$low)))){g=0;h=B.EOF;b=g;c=h;return[b,c];}d.prevRune=-1;b=$copySlice(a,$subslice(d.s,$flatten64(d.i)));d.i=(i=d.i,j=(new $Int64(0,b)),new $Int64(i.$high+j.$high,i.$low+j.$low));return[b,c];};F.prototype.Read=function(a){return this.$val.Read(a);};F.ptr.prototype.ReadAt=function(a,b){var a,b,c,d,e,f,g,h,i,j;c=0;d=$ifaceNil;e=this;if((b.$high<0||(b.$high===0&&b.$low<0))){f=0;g=A.New("bytes.Reader.ReadAt: negative offset");c=f;d=g;return[c,d];}if((h=(new $Int64(0,e.s.$length)),(b.$high>h.$high||(b.$high===h.$high&&b.$low>=h.$low)))){i=0;j=B.EOF;c=i;d=j;return[c,d];}c=$copySlice(a,$subslice(e.s,$flatten64(b)));if(c<a.$length){d=B.EOF;}return[c,d];};F.prototype.ReadAt=function(a,b){return this.$val.ReadAt(a,b);};F.ptr.prototype.ReadByte=function(){var a,b,c,d,e,f,g,h;a=this;a.prevRune=-1;if((b=a.i,c=(new $Int64(0,a.s.$length)),(b.$high>c.$high||(b.$high===c.$high&&b.$low>=c.$low)))){return[0,B.EOF];}f=(d=a.s,e=a.i,(($flatten64(e)<0||$flatten64(e)>=d.$length)?($throwRuntimeError("index out of range"),undefined):d.$array[d.$offset+$flatten64(e)]));a.i=(g=a.i,h=new $Int64(0,1),new $Int64(g.$high+h.$high,g.$low+h.$low));return[f,$ifaceNil];};F.prototype.ReadByte=function(){return this.$val.ReadByte();};F.ptr.prototype.UnreadByte=function(){var a,b,c,d;a=this;if((b=a.i,(b.$high<0||(b.$high===0&&b.$low<=0)))){return A.New("bytes.Reader.UnreadByte: at beginning of slice");}a.prevRune=-1;a.i=(c=a.i,d=new $Int64(0,1),new $Int64(c.$high-d.$high,c.$low-d.$low));return $ifaceNil;};F.prototype.UnreadByte=function(){return this.$val.UnreadByte();};F.ptr.prototype.ReadRune=function(){var a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u;a=0;b=0;c=$ifaceNil;d=this;if((e=d.i,f=(new $Int64(0,d.s.$length)),(e.$high>f.$high||(e.$high===f.$high&&e.$low>=f.$low)))){d.prevRune=-1;g=0;h=0;i=B.EOF;a=g;b=h;c=i;return[a,b,c];}d.prevRune=(((j=d.i,j.$low+((j.$high>>31)*4294967296))>>0));m=(k=d.s,l=d.i,(($flatten64(l)<0||$flatten64(l)>=k.$length)?($throwRuntimeError("index out of range"),undefined):k.$array[k.$offset+$flatten64(l)]));if(m<128){d.i=(n=d.i,o=new $Int64(0,1),new $Int64(n.$high+o.$high,n.$low+o.$low));p=((m>>0));q=1;r=$ifaceNil;a=p;b=q;c=r;return[a,b,c];}s=C.DecodeRune($subslice(d.s,$flatten64(d.i)));a=s[0];b=s[1];d.i=(t=d.i,u=(new $Int64(0,b)),new $Int64(t.$high+u.$high,t.$low+u.$low));return[a,b,c];};
|
||
|
|
$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/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["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["math/bits"]=(function(){var $pkg={},$init,F,G,E,H,K,L,AF,AI,AJ,AL,AQ;E=function(a){var a;return 64-AJ(a)>>0;};$pkg.LeadingZeros64=E;H=function(a){var a;if(true){return K(((a>>>0)));}return L((new $Uint64(0,a)));};$pkg.TrailingZeros=H;K=function(a){var a,b;if(a===0){return 32;}return(((b=($imul((((a&(-a>>>0))>>>0)),125613361)>>>0)>>>27>>>0,((b<0||b>=F.length)?($throwRuntimeError("index out of range"),undefined):F[b]))>>0));};$pkg.TrailingZeros32=K;L=function(a){var a,b,c;if((a.$high===0&&a.$low===0)){return 64;}return(((b=$shiftRightUint64($mul64(((c=new $Uint64(-a.$high,-a.$low),new $Uint64(a.$high&c.$high,(a.$low&c.$low)>>>0))),new $Uint64(66559345,3033172745)),58),(($flatten64(b)<0||$flatten64(b)>=G.length)?($throwRuntimeError("index out of range"),undefined):G[$flatten64(b)]))>>0));};$pkg.TrailingZeros64=L;AF=function(a){var a;if(true){return AI(((a>>>0)));}return AJ((new $Uint64(0,a)));};$pkg.Len=AF;AI=function(a){var a,b,c,d;b=0;if(a>=65536){a=(c=(16),c<32?(a>>>c):0)>>>0;b=16;}if(a>=256){a=(d=(8),d<32?(a>>>d):0)>>>0;b=b+(8)>>0;}b=b+(("\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(a)>>0))>>0;return b;};$pkg.Len32=AI;AJ=function(a){var a,b;b=0;if((a.$high>1||(a.$high===1&&a.$low>=0))){a=$shiftRightUint64(a,(32));b=32;}if((a.$high>0||(a.$high===0&&a.$low>=65536))){a=$shiftRightUint64(a,(16));b=b+(16)>>0;}if((a.$high>0||(a.$high===0&&a.$low>=256))){a=$shiftRightUint64(a,(8));b=b+(8)>>0;}b=b+(("\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(a))>>0))>>0;return b;};$pkg.Len64=AJ;AL=function(a,b,c){var a,b,c,d,e,f,g,h,i;d=new $Uint64(0,0);e=new $Uint64(0,0);d=(f=new $Uint64(a.$high+b.$high,a.$low+b.$low),new $Uint64(f.$high+c.$high,f.$low+c.$low));e=$shiftRightUint64(((g=new $Uint64(a.$high&b.$high,(a.$low&b.$low)>>>0),h=(i=new $Uint64(a.$high|b.$high,(a.$low|b.$low)>>>0),new $Uint64(i.$high&~d.$high,(i.$low&~d.$low)>>>0)),new $Uint64(g.$high|h.$high,(g.$low|h.$low)>>>0))),63);return[d,e];};$pkg.Add64=AL;AQ=function(a,b){var a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r;c=new $Uint64(0,0);d=new $Uint64(0,0);e=new $Uint64(a.$high&0,(a.$low&4294967295)>>>0);f=$shiftRightUint64(a,32);g=new $Uint64(b.$high&0,(b.$low&4294967295)>>>0);h=$shiftRightUint64(b,32);i=$mul64(e,g);l=(j=$mul64(f,g),k=$shiftRightUint64(i,32),new $Uint64(j.$high+k.$high,j.$low+k.$low));m=new $Uint64(l.$high&0,(l.$low&4294967295)>>>0);n=$shiftRightUint64(l,32);m=(o=$mul64(e,h),new $Uint64(m.$high+o.$high,m.$low+o.$low));c=(p=(q=$mul64(f,h),new $Uint64(q.$high+n.$high,q.$low+n.$low)),r=$shiftRightUint64(m,32),new $Uint64(p.$high+r.$high,p.$low+r.$low));d=$mul64(a,b);return[c,d];};$pkg.Mul64=AQ;$init=funct
|
||
|
|
$packages["math"]=(function(){var $pkg={},$init,B,A,IT,IU,IV,IW,FL,FM,FN,FO,FP,HH,FK,GE,GK,GL,GM,GO,GW,HI,HJ,HK,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:""}]);FK=function(a){var a,b;return HM((b=HL(a),new $Uint64(b.$high&~2147483648,(b.$low&~0)>>>0)));};$pkg.Abs=FK;GE=function(a){var a;return $parseFloat(FL.exp(a));};$pkg.Exp=GE;GK=function(a){var a;if(a>=0){return FN;}else{return FO;}};$pkg.Inf=GK;GL=function(a,b){var a,b;if(a===FN){return b>=0;}if(a===FO){return b<=0;}return false;};$pkg.IsInf=GL;GM=function(a){var a,b;b=false;b=!((a===a));return b;};$pkg.IsNaN=GM;GO=function(a){var a;if(!((a===a))){return FP;}return $parseFloat(FL.log(a));};$pkg.Log=GO;GW=function(){return FP;};$pkg.NaN=GW;HI=function(){var a;a=new($global.ArrayBuffer)(8);HH.uint32array=new($global.Uint32Array)(a);HH.float32array=new($global.Float32Array)(a);HH.float64array=new($global.Float64Array)(a);};HJ=function(a){var a;HH.float32array[0]=a;return HH.uint32array[0];};$pkg.Float32bits=HJ;HK=function(a){var a;HH.uint32array[0]=a;return HH.float32array[0];};$pkg.Float32frombits=HK;HL=function(a){var a,b,c;HH.float64array[0]=a;return(b=$shiftLeft64((new $Uint64(0,HH.uint32array[1])),32),c=(new $Uint64(0,HH.uint32array[0])),new $Uint64(b.$high+c.$high,b.$low+c.$low));};$pkg.Float64bits=HL;HM=function(a){var a;HH.uint32array[0]=((a.$low>>>0));HH.uint32array[1]=(($shiftRightUint64(a,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["strconv"]=(function(){var $pkg={},$init,E,F,D,C,B,A,BJ,BS,CC,CG,CO,DT,DU,DV,DW,DX,DY,DZ,EA,EB,EC,ED,EE,EF,EG,EH,EI,AQ,AR,AS,AT,AU,AX,BK,DR,BL,DS,CB,CH,CW,DA,DB,DC,G,H,J,K,L,M,N,P,T,V,Y,Z,AA,AC,AD,AE,AF,AG,AI,AJ,AK,AL,AM,AN,AO,AP,AV,AW,AY,AZ,BA,BB,BC,BD,BE,BF,BG,BH,BI,BM,BN,BO,BP,BQ,BR,BT,BU,BV,BW,BX,BY,BZ,CA,CD,CE,CF,CI,CJ,CK,CM,CN,CP,CQ,CR,CS,CT,CU,CV,CX,CY,CZ,DD,DE,DF,DG,DH,DI,DJ,DN,DP,DQ;E=$packages["errors"];F=$packages["github.com/gopherjs/gopherjs/js"];D=$packages["internal/bytealg"];C=$packages["math"];B=$packages["math/bits"];A=$packages["unicode/utf8"];BJ=$pkg.floatInfo=$newType(0,$kindStruct,"strconv.floatInfo",true,"strconv",false,function(mantbits_,expbits_,bias_){this.$val=this;if(arguments.length===0){this.mantbits=0;this.expbits=0;this.bias=0;return;}this.mantbits=mantbits_;this.expbits=expbits_;this.bias=bias_;});BS=$pkg.decimalSlice=$newType(0,$kindStruct,"strconv.decimalSlice",true,"strconv",false,function(d_,nd_,dp_,neg_){this.$val=this;if(arguments.length===0){this.d=EA.nil;this.nd=0;this.dp=0;this.neg=false;return;}this.d=d_;this.nd=nd_;this.dp=dp_;this.neg=neg_;});CC=$pkg.decimal=$newType(0,$kindStruct,"strconv.decimal",true,"strconv",false,function(d_,nd_,dp_,neg_,trunc_){this.$val=this;if(arguments.length===0){this.d=EG.zero();this.nd=0;this.dp=0;this.neg=false;this.trunc=false;return;}this.d=d_;this.nd=nd_;this.dp=dp_;this.neg=neg_;this.trunc=trunc_;});CG=$pkg.leftCheat=$newType(0,$kindStruct,"strconv.leftCheat",true,"strconv",false,function(delta_,cutoff_){this.$val=this;if(arguments.length===0){this.delta=0;this.cutoff="";return;}this.delta=delta_;this.cutoff=cutoff_;});CO=$pkg.NumError=$newType(0,$kindStruct,"strconv.NumError",true,"strconv",true,function(Func_,Num_,Err_){this.$val=this;if(arguments.length===0){this.Func="";this.Num="";this.Err=$ifaceNil;return;}this.Func=Func_;this.Num=Num_;this.Err=Err_;});DT=$sliceType($Uint16);DU=$sliceType($Uint32);DV=$arrayType($Uint64,2);DW=$sliceType(CG);DX=$sliceType($Int);DY=$sliceType($Float64);DZ=$sliceType($Float32);EA=$sliceType($Uint8);EB=$arrayType($Uint8,4);EC=$arrayType($Uint8,65);ED=$ptrType(BJ);EE=$arrayType($Uint8,32);EF=$arrayType($Uint8,24);EG=$arrayType($Uint8,800);EH=$ptrType(CO);EI=$ptrType(CC);G=function(a,b){var a,b;return!((CM(a,b)===-1));};H=function(a,b,c,d){var a,b,c,d,e;return($bytesToString(J($makeSlice(EA,0,(e=($imul(3,a.length))/2,(e===e&&e!==1/0&&e!==-1/0)?e>>0:$throwRuntimeError("integer divide by zero"))),a,b,c,d)));};J=function(a,b,c,d,e){var a,b,c,d,e,f,g,h,i;if((a.$capacity-a.$length>>0)<b.length){f=$makeSlice(EA,a.$length,(((a.$length+1>>0)+b.length>>0)+1>>0));$copySlice(f,a);a=f;}a=$append(a,c);g=0;while(true){if(!(b.length>0)){break;}h=((b.charCodeAt(0)>>0));g=1;if(h>=128){i=A.DecodeRuneInString(b);h=i[0];g=i[1];}if((g===1)&&(h===65533)){a=$appendSlice(a,"\\x");a=$append(a,"0123456789abcdef".charCodeAt((b.charCodeAt(0)>>>4<<24>>>24)));a=$append(a,"0123456789abcdef".charCodeAt(((b.charCodeAt(0)&15)>>>0)));b=$substring(b,g);continue;}a=L(a,h,c,d,e);b=$substring(b,g);}a=$append(a,c);return a;};K=function(a,b,c,d,e){var a,b,c,d,e;a=$append(a,c);if(!A.ValidRune(b)){b=65533;}a=L(a,b,c,d,e);a=$append(a,c);return a;};L=function(a,b,c,d,e){var a,b,c,d,e,f,g,h,i,j;f=EB.zero();if((b===((c>>0)))||(b===92)){a=$append(a,92);a=$append(a,((b<<24>>>24)));return a;}if(d){if(b<128&&AG(b)){a=$append(a,((b<<24>>>24)));return a;}}else if(AG(b)||e&&AI(b)){g=A.EncodeRune(new EA(f),b);a=$appendSlice(a,$subslice(new EA(f),0,g));return a;}h=b;if(h===(7)){a=$appendSlice(a,"\\a");}else if(h===(8)){a=$appendSlice(a,"\\b");}else if(h===(12)){a=$appendSlice(a,"\\f");}else if(h===(10)){a=$appendSlice(a,"\\n");}else if(h===(13)){a=$appendSlice(a,"\\r");}else if(h===(9)){a=$appendSlice(a,"\\t");}else if(h===(11)){a=$appendSlice(a,"\\v");}else{if(b<32||(b===127)){a=$appendSlice(a,"\\x");a=$append(a,"0123456789abcdef".charCodeAt((((b<<24>>>24))>>>4<<24>>>24)));a=$append(a,"0123456789abcdef".charCodeAt(((((b<<24>>>24))&15)>>>0)));}else if(!A.ValidRune(b)){b=65533;a=$appendSlice(a,"\\u");i=12;while(true){if(!(i>=0)){break;}a=$append(a,"012345
|
||
|
|
$packages["reflect"]=(function(){var $pkg={},$init,A,L,B,K,C,M,D,E,F,G,H,I,J,P,Q,T,AF,CJ,CK,CL,CM,CN,CO,CP,CQ,CR,CS,CT,CU,CV,CW,CX,CZ,DG,DH,DI,DK,DL,DM,GJ,GK,GL,GM,HX,JC,JD,JE,JF,JG,JH,JI,JJ,JL,JN,JU,JW,JX,JZ,KA,KB,KC,KD,KE,KF,KG,KK,KN,KO,KP,KQ,KR,KU,KV,KW,KX,LA,LB,LF,LG,LH,LI,LN,LO,LP,LZ,W,AD,AE,DA,GD,GN,GQ,GS,IK,IL,IP,AG,AH,BA,BB,BC,BD,BE,BF,BG,BH,BI,BJ,BK,BL,BM,BN,BO,BP,BQ,BR,BS,BT,BU,BV,BW,DO,DP,DR,DS,DT,DU,DV,EW,FB,FH,FI,GE,GF,GG,GH,GI,GO,GP,GR,GT,GV,GW,GX,GY,GZ,HA,HB,HE,HG,HI,HJ,HK,HM,HQ,HR,HS,HT,HU,HV,HW,HY,HZ,IA,IB,IC,ID,IE,IG,IH,II,IJ,IM,IN,IO,IQ,IR,IV,IW,IX,IY;A=$packages["errors"];L=$packages["github.com/gopherjs/gopherjs/js"];B=$packages["internal/abi"];K=$packages["internal/bytealg"];C=$packages["internal/goarch"];M=$packages["internal/itoa"];D=$packages["internal/unsafeheader"];E=$packages["math"];F=$packages["runtime"];G=$packages["strconv"];H=$packages["sync"];I=$packages["unicode"];J=$packages["unicode/utf8"];P=$pkg.Value=$newType(0,$kindStruct,"reflect.Value",true,"reflect",true,function(typ_,ptr_,flag_){this.$val=this;if(arguments.length===0){this.typ=JD.nil;this.ptr=0;this.flag=0;return;}this.typ=typ_;this.ptr=ptr_;this.flag=flag_;});Q=$pkg.flag=$newType(4,$kindUintptr,"reflect.flag",true,"reflect",false,null);T=$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_;});AF=$pkg.MapIter=$newType(0,$kindStruct,"reflect.MapIter",true,"reflect",true,function(m_,hiter_){this.$val=this;if(arguments.length===0){this.m=new P.ptr(JD.nil,0,0);this.hiter=new HX.ptr($ifaceNil,null,null,0,null);return;}this.m=m_;this.hiter=hiter_;});CJ=$pkg.Type=$newType(8,$kindInterface,"reflect.Type",true,"reflect",true,null);CK=$pkg.Kind=$newType(4,$kindUint,"reflect.Kind",true,"reflect",true,null);CL=$pkg.tflag=$newType(1,$kindUint8,"reflect.tflag",true,"reflect",false,null);CM=$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_;});CN=$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_;});CO=$pkg.ChanDir=$newType(4,$kindInt,"reflect.ChanDir",true,"reflect",true,null);CP=$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 CM.ptr(0,0,0,0,0,0,0,$throwNilPointerError,KG.nil,0,0);this.elem=JD.nil;this.slice=JD.nil;this.len=0;return;}this.rtype=rtype_;this.elem=elem_;this.slice=slice_;this.len=len_;});CQ=$pkg.chanType=$newType(0,$kindStruct,"reflect.chanType",true,"reflect",false,function(rtype_,elem_,dir_){this.$val=this;if(arguments.length===0){this.rtype=new CM.ptr(0,0,0,0,0,0,0,$throwNilPointerError,KG.nil,0,0);this.elem=JD.nil;this.dir=0;return;}this.rtype=rtype_;this.elem=elem_;this.dir=dir_;});CR=$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_;});CS=$pkg.interfaceType=$newType(0,$kindStruct,"reflect.interfaceType",true,"reflect",false,function(rtype_,pkgPath_,methods_){this.$val=this;if(arguments.length===0){this.rtype=new CM.ptr(0,0,0,0,0,0,0,$throwNilPointerError,KG.nil,0,0);this.pkgPath=new GL.ptr(KG.nil);this.methods=KN.nil;return;}this.rtype=rtype_;this.pkgPath=p
|
||
|
|
$packages["sort"]=(function(){var $pkg={},$init,B,A,AN,AP,AW,BO,BP,BS,BT,BU,BE,BF,C,D,E,F,G,H,I,J,K,L,M,N,O,P,Q,R,S,T,U,V,W,X,Y,Z,AA,AB,AC,AD,AE,AF,AL,AO,AZ,BD,BG,BJ,BN;B=$packages["internal/reflectlite"];A=$packages["math/bits"];AN=$pkg.xorshift=$newType(8,$kindUint64,"sort.xorshift",true,"sort",false,null);AP=$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_;});AW=$pkg.StringSlice=$newType(12,$kindSlice,"sort.StringSlice",true,"sort",true,null);BO=$ptrType(AN);BP=$ptrType($Int);BS=$sliceType($String);BT=$funcType([$Int,$Int],[$Bool],false);BU=$funcType([$Int,$Int],[],false);C=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(!(d<c)){$s=2;continue;}e=d;case 3:if(!(e>b)){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:C,$c:true,$r,a,b,c,d,e,f,g,$s};return $f;};D=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)<c)){g=false;$s=5;continue s;}h=a.Less(d+f>>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:D,$c:true,$r,a,b,c,d,e,f,g,h,i,$s};return $f;};E=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=D(a,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=D(a,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:E,$c:true,$r,a,b,c,d,e,f,g,h,i,$s};return $f;};F=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,w,x,y,z,$s,$r,$c}=$restore(this,{a,b,c,d});$s=$s||0;s:while(true){switch($s){case 0:e=true;f=true;case 1:g=c-b>>0;if(g<=12){$s=3;continue;}$s=4;continue;case 3:$r=C(a,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:if(d===0){$s=6;continue;}$s=7;continue;case 6:$r=E(a,b,c);$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return;case 7:if(!e){$s=9;continue;}$s=10;continue;case 9:$r=J(a,b,c);$s=11;case 11:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}d=d-(1)>>0;case 10:i=K(a,b,c);$s=12;case 12:if($c){$c=false;i=i.$blk();}if(i&&i.$blk!==undefined){break s;}h=i;j=h[0];k=h[1];if(k===2){$s=13;continue;}$s=14;continue;case 13:$r=O(a,b,c);$s=15;case 15:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}j=((c-1>>0))-((j-b>>0))>>0;k=1;case 14:if(e&&f&&(k===1)){$s=16;continue;}$s=17;continue;case 16:l=I(a,b,c);$s=20;case 20:if($c){$c=false;l=l.$blk();}if(l&&l.$blk!==undefined){break s;}if(l){$s=18;continue;}$s=19;continue;case 18:$s=-1;return;case 19:case 17:if(!(b>0)){m=false;$s=23;continue s;}n=a.Less(b-1>>0,j);$s=24;case 24:if($c){$c=false;n=n.$blk(
|
||
|
|
$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,k,$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();$s=4;case 4:if($c){$c=false;c=c.$blk();}if(c&&c.$blk!==undefined){break s;}d=c;e=$makeSlice(J,0,d);f=$makeSlice(J,0,d);g=$clone(a,A.Value).MapRange();case 5:h=g.Next();$s=7;case 7:if($c){$c=false;h=h.$blk();}if(h&&h.$blk!==undefined){break s;}if(!(h)){$s=6;continue;}i=g.Key();$s=8;case 8:if($c){$c=false;i=i.$blk();}if(i&&i.$blk!==undefined){break s;}e=$append(e,i);j=g.Value();$s=9;case 9:if($c){$c=false;j=j.$blk();}if(j&&j.$blk!==undefined){break s;}f=$append(f,j);$s=5;continue;case 6:k=new C.ptr(e,f);$r=B.Stable(k);$s=10;case 10:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return k;}return;}var $f={$blk:D,$c:true,$r,a,b,c,d,e,f,g,h,i,j,k,$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,bx,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,
|
||
|
|
$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,G,I,J,T,W,X,Y,Z,AA,AB,AC,AD,AE,AF,C,L,M,N,D,E,F,H,K,O,P,Q,R,S,U,V;A=$packages["github.com/gopherjs/gopherjs/js"];B=$pkg.Type=$newType(4,$kindInt,"js.Type",true,"syscall/js",true,null);G=$pkg.Func=$newType(0,$kindStruct,"js.Func",true,"syscall/js",true,function(Value_){this.$val=this;if(arguments.length===0){this.Value=new J.ptr(null,false,Y.zero());return;}this.Value=Value_;});I=$pkg.Error=$newType(0,$kindStruct,"js.Error",true,"syscall/js",true,function(Value_){this.$val=this;if(arguments.length===0){this.Value=new J.ptr(null,false,Y.zero());return;}this.Value=Value_;});J=$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=Y.zero();return;}this.v=v_;this.inited=inited_;this._$2=_$2_;});T=$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_;});W=$sliceType($String);X=$funcType([],[],false);Y=$arrayType(X,0);Z=$sliceType(J);AA=$mapType($String,$emptyInterface);AB=$sliceType($emptyInterface);AC=$ptrType(A.Error);AD=$sliceType($Uint8);AE=$ptrType(A.Object);AF=$ptrType(T);B.prototype.String=function(){var a;a=this.$val;if(((a>>0))<0||C.$length<=((a>>0))){$panic(new $String("bad type"));}return((a<0||a>=C.$length)?($throwRuntimeError("index out of range"),undefined):C.$array[C.$offset+a]);};$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();};D=function(){return K($global);};$pkg.Global=D;E=function(){return K(null);};$pkg.Null=E;F=function(){return K(undefined);};$pkg.Undefined=F;G.ptr.prototype.Release=function(){var a;a=this;$exportedFunctions=($parseInt($exportedFunctions)>>0)-1>>0;J.copy(a.Value,E());};G.prototype.Release=function(){return this.$val.Release();};H=function(a){var a;$exportedFunctions=($parseInt($exportedFunctions)>>0)+1>>0;return new G.ptr($clone(K(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(Z,c.$length);e=c;f=0;while(true){if(!(f<e.$length)){break;}g=f;h=((f<0||f>=e.$length)?($throwRuntimeError("index out of range"),undefined):e.$array[e.$offset+f]);J.copy(((g<0||g>=d.$length)?($throwRuntimeError("index out of range"),undefined):d.$array[d.$offset+g]),K(h));f++;}i=a($clone(K(b),J),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;}))),J));};$pkg.FuncOf=H;I.ptr.prototype.Error=function(){var a;a=this;return"JavaScript error: "+$clone($clone(a.Value,J).Get("message"),J).String();};I.prototype.Error=function(){return this.$val.Error();};K=function(a){var a;if(a===undefined){return new J.ptr(null,false,Y.zero());}return new J.ptr(a,true,Y.zero());};O=function(){if(!($global===null)){L=$id;M=$instanceOf;N=$typeOf;}};P=function(a){var a,b,c,d,e,f;if(a===null){return 1;}b=$internalize(N(a),$String);c=C;d=0;while(true){if(!(d<c.$length)){break;}e=d;f=((d<0||d>=c.$length)?($throwRuntimeError("index out of range"),undefined):c.$array[c.$offset+d]);if(b===f){return((e>>0));}d++;}return 6;};Q=function(a){var a,b,c,d,e,f,g;b=a;if($assertType(b,J,true)[1]){c=$clone(b.$val,J);return c;}else if($assertType(b,G,true)[1]){d=$clone(b.$val,G);return d.Value;}else if(b===$ifaceNil){e=b;return E();}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]||$as
|
||
|
|
$packages["syscall"]=(function(){var $pkg={},$init,F,E,B,C,A,D,G,W,Z,AX,BI,BJ,BK,CC,CR,FL,FD,FG,FI,FK,FM,FN,FS,FT,FU,FV,M,N,O,P,R,CH,CI,CJ,CK,CL,CM,CN,CO,CP,CQ,CS,CT,EJ,a,L,Q,BO,BQ,BS,BT,BU,BV,BY,BZ,CA,CB,CU,CW,CX,CZ,DB,DC,DG,DI,DN,DP,DQ,DU,DV,DW,DX,DY,DZ,EA,ED,EE,EF,EW,EZ,FB;F=$packages["errors"];E=$packages["internal/bytealg"];B=$packages["internal/itoa"];C=$packages["internal/oserror"];A=$packages["runtime"];D=$packages["sync"];G=$packages["syscall/js"];W=$pkg.Errno=$newType(4,$kindUintptr,"syscall.Errno",true,"syscall",true,null);Z=$pkg.Stat_t=$newType(0,$kindStruct,"syscall.Stat_t",true,"syscall",true,function(Dev_,Ino_,Mode_,Nlink_,Uid_,Gid_,Rdev_,Size_,Blksize_,Blocks_,Atime_,AtimeNsec_,Mtime_,MtimeNsec_,Ctime_,CtimeNsec_){this.$val=this;if(arguments.length===0){this.Dev=new $Int64(0,0);this.Ino=new $Uint64(0,0);this.Mode=0;this.Nlink=0;this.Uid=0;this.Gid=0;this.Rdev=new $Int64(0,0);this.Size=new $Int64(0,0);this.Blksize=0;this.Blocks=0;this.Atime=new $Int64(0,0);this.AtimeNsec=new $Int64(0,0);this.Mtime=new $Int64(0,0);this.MtimeNsec=new $Int64(0,0);this.Ctime=new $Int64(0,0);this.CtimeNsec=new $Int64(0,0);return;}this.Dev=Dev_;this.Ino=Ino_;this.Mode=Mode_;this.Nlink=Nlink_;this.Uid=Uid_;this.Gid=Gid_;this.Rdev=Rdev_;this.Size=Size_;this.Blksize=Blksize_;this.Blocks=Blocks_;this.Atime=Atime_;this.AtimeNsec=AtimeNsec_;this.Mtime=Mtime_;this.MtimeNsec=MtimeNsec_;this.Ctime=Ctime_;this.CtimeNsec=CtimeNsec_;});AX=$pkg.Iovec=$newType(0,$kindStruct,"syscall.Iovec",true,"syscall",true,function(){this.$val=this;if(arguments.length===0){return;}});BI=$pkg.Sockaddr=$newType(8,$kindInterface,"syscall.Sockaddr",true,"syscall",true,null);BJ=$pkg.SockaddrInet4=$newType(0,$kindStruct,"syscall.SockaddrInet4",true,"syscall",true,function(Port_,Addr_){this.$val=this;if(arguments.length===0){this.Port=0;this.Addr=FS.zero();return;}this.Port=Port_;this.Addr=Addr_;});BK=$pkg.SockaddrInet6=$newType(0,$kindStruct,"syscall.SockaddrInet6",true,"syscall",true,function(Port_,ZoneId_,Addr_){this.$val=this;if(arguments.length===0){this.Port=0;this.ZoneId=0;this.Addr=FT.zero();return;}this.Port=Port_;this.ZoneId=ZoneId_;this.Addr=Addr_;});CC=$pkg.RawConn=$newType(8,$kindInterface,"syscall.RawConn",true,"syscall",true,null);CR=$pkg.jsFile=$newType(0,$kindStruct,"syscall.jsFile",true,"syscall",false,function(path_,entries_,dirIdx_,pos_,seeked_){this.$val=this;if(arguments.length===0){this.path="";this.entries=FD.nil;this.dirIdx=0;this.pos=new $Int64(0,0);this.seeked=false;return;}this.path=path_;this.entries=entries_;this.dirIdx=dirIdx_;this.pos=pos_;this.seeked=seeked_;});FL=$newType(0,$kindStruct,"syscall.callResult",true,"syscall",false,function(val_,err_){this.$val=this;if(arguments.length===0){this.val=new G.Value.ptr(null,false,FN.zero());this.err=$ifaceNil;return;}this.val=val_;this.err=err_;});FD=$sliceType($String);FG=$sliceType($emptyInterface);FI=$ptrType($error);FK=$ptrType(CR);FM=$funcType([],[],false);FN=$arrayType(FM,0);FS=$arrayType($Uint8,4);FT=$arrayType($Uint8,16);FU=$funcType([$Uintptr],[],false);FV=$funcType([$Uintptr],[$Bool],false);L=function(b,c){var b,c;$panic(new $String("not implemented"));};Q=function(b){var b,c;c=b;if(c===(0)){return $ifaceNil;}else if(c===(11)){return N;}else if(c===(22)){return O;}else if(c===(2)){return P;}return new W(b);};W.prototype.Error=function(){var b,c;b=this.$val;if(0<=((b>>0))&&((b>>0))<2054){c=((b<0||b>=M.length)?($throwRuntimeError("index out of range"),undefined):M[b]);if(!(c==="")){return c;}}return"errno "+B.Itoa(((b>>0)));};$ptrType(W).prototype.Error=function(){return new W(this.$get()).Error();};W.prototype.Is=function(b){var b,c,d;c=this.$val;d=b;if($interfaceIsEqual(d,(C.ErrPermission))){return(c===13)||(c===1);}else if($interfaceIsEqual(d,(C.ErrExist))){return(c===17)||(c===39);}else if($interfaceIsEqual(d,(C.ErrNotExist))){return c===2;}return false;};$ptrType(W).prototype.Is=function(b){return new W(this.$get()).Is(b);};W.prototype.Temporary=function(){var b;b=this.$val;return(b===4)||(b===24)||new W(b).Timeout();};$ptrType(W).prototype.Temporary=function(){return new W(
|
||
|
|
$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,A,B,C,E,F,G,H,I,J,K,L,N,O,P,Q;A=$pkg.Pool=$newType(0,$kindStruct,"nosync.Pool",true,"github.com/gopherjs/gopherjs/nosync",true,function(store_,New_){this.$val=this;if(arguments.length===0){this.store=G.nil;this.New=$throwNilPointerError;return;}this.store=store_;this.New=New_;});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_;});C=$pkg.Mutex=$newType(0,$kindStruct,"nosync.Mutex",true,"github.com/gopherjs/gopherjs/nosync",true,function(locked_,_$1_,_$2_,_$3_,_$4_){this.$val=this;if(arguments.length===0){this.locked=false;this._$1=false;this._$2=false;this._$3=false;this._$4=0;return;}this.locked=locked_;this._$1=_$1_;this._$2=_$2_;this._$3=_$3_;this._$4=_$4_;});E=$pkg.WaitGroup=$newType(0,$kindStruct,"nosync.WaitGroup",true,"github.com/gopherjs/gopherjs/nosync",true,function(counter_){this.$val=this;if(arguments.length===0){this.counter=0;return;}this.counter=counter_;});F=$pkg.Map=$newType(0,$kindStruct,"nosync.Map",true,"github.com/gopherjs/gopherjs/nosync",true,function(m_){this.$val=this;if(arguments.length===0){this.m=false;return;}this.m=m_;});G=$sliceType($emptyInterface);H=$ptrType(A);I=$funcType([],[$emptyInterface],false);J=$funcType([],[],false);K=$ptrType(B);L=$ptrType(C);N=$ptrType(E);O=$funcType([$emptyInterface,$emptyInterface],[$Bool],false);P=$ptrType(F);Q=$mapType($emptyInterface,$emptyInterface);A.ptr.prototype.Get=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;if(a.store.$length===0){$s=1;continue;}$s=2;continue;case 1:if(!(a.New===$throwNilPointerError)){$s=3;continue;}$s=4;continue;case 3:b=a.New();$s=5;case 5:if($c){$c=false;b=b.$blk();}if(b&&b.$blk!==undefined){break s;}c=b;$s=6;case 6:return c;case 4:$s=-1;return $ifaceNil;case 2:f=(d=a.store,e=a.store.$length-1>>0,((e<0||e>=d.$length)?($throwRuntimeError("index out of range"),undefined):d.$array[d.$offset+e]));a.store=$subslice(a.store,0,(a.store.$length-1>>0));$s=-1;return f;}return;}var $f={$blk:A.ptr.prototype.Get,$c:true,$r,a,b,c,d,e,f,$s};return $f;};A.prototype.Get=function(){return this.$val.Get();};A.ptr.prototype.Put=function(a){var a,b;b=this;if($interfaceIsEqual(a,$ifaceNil)){return;}b.store=$append(b.store,a);};A.prototype.Put=function(a){return this.$val.Put(a);};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);};C.ptr.prototype.Lock=function(){var a;a=this;if(a.locked){$panic(new $String("nosync: mutex is already locked"));}a.locked=true;};C.prototype.Lock=function(){return this.$val.Lock();};C.ptr.prototype.Unlock=function(){var a;a=this;if(!a.locked){$panic(new $String("nosync: unlock of unlocked mutex"));}a.locked=false;};C.prototype.Unlock=function(){return this.$val.Unlock();};E.ptr.prototype.Add=function(a){var a,b;b=this;b.counter=b.counter+(a)>>0;if(b.counter<0){$panic(new $String("sync: negative WaitGroup counter"));}};E.prototype.Add=function(a){return this.$val.Add(a);};E.ptr.prototype.Done=function(){var a;a=this;a.Add(-1);};E.prototype.Done=function(){return this.$val.Done();};E.ptr.prototype.Wait=function(){var a;a=this;if(!((a.counter===0))){$panic(new $String("sync: WaitGroup counte
|
||
|
|
$packages["time"]=(function(){var $pkg={},$init,A,E,D,B,C,X,Y,Z,AH,AI,AR,AS,AT,AW,CX,EG,EH,EI,EK,EL,EM,EP,ES,ET,EU,EX,FB,K,AA,EE,AB,EF,AC,AM,BD,BH,CG,CJ,CK,CL,CM,CQ,CW,DM,EC,a,b,AD,AE,AF,AG,AJ,AK,AL,AU,AV,AX,AY,AZ,BC,BE,BF,BG,BI,BJ,BK,BN,BO,BP,BQ,CH,CI,CN,CO,CP,CR,CS,CT,CU,CV,CY,CZ,DA,DB,DC,DD,DE,DG,DH,DI,DJ,DK,DL,DN,DR,DS,DT,DV;A=$packages["errors"];E=$packages["github.com/gopherjs/gopherjs/js"];D=$packages["github.com/gopherjs/gopherjs/nosync"];B=$packages["runtime"];C=$packages["syscall"];X=$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=EG.nil;this.tx=EH.nil;this.extend="";this.cacheStart=new $Int64(0,0);this.cacheEnd=new $Int64(0,0);this.cacheZone=EI.nil;return;}this.name=name_;this.zone=zone_;this.tx=tx_;this.extend=extend_;this.cacheStart=cacheStart_;this.cacheEnd=cacheEnd_;this.cacheZone=cacheZone_;});Y=$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_;});Z=$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_;});AH=$pkg.ruleKind=$newType(4,$kindInt,"time.ruleKind",true,"time",false,null);AI=$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_;});AR=$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=EM.nil;return;}this.wall=wall_;this.ext=ext_;this.loc=loc_;});AS=$pkg.Month=$newType(4,$kindInt,"time.Month",true,"time",true,null);AT=$pkg.Weekday=$newType(4,$kindInt,"time.Weekday",true,"time",true,null);AW=$pkg.Duration=$newType(8,$kindInt64,"time.Duration",true,"time",true,null);CX=$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_;});EG=$sliceType(Y);EH=$sliceType(Z);EI=$ptrType(Y);EK=$sliceType($String);EL=$sliceType($Uint8);EM=$ptrType(X);EP=$arrayType($Uint8,32);ES=$arrayType($Uint8,20);ET=$arrayType($Uint8,9);EU=$arrayType($Uint8,64);EX=$ptrType(AR);FB=$ptrType(CX);X.ptr.prototype.get=function(){var{c,$s,$r,$c}=$restore(this,{});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(c===EM.nil){$s=-1;return AA;}if(c===AB){$s=1;continue;}$s=2;continue;case 1:$r=AC.Do(DR);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return c;}return;}var $f={$blk:X.ptr.prototype.get,$c:true,$r,c,$s};return $f;};X.prototype.get=function(){return this.$val.get();};X.ptr.prototype.String=function(){var{c,d,e,$s,$r,$c}=$restore(this,{});$s=$s||0;s:while(true){switch($s){case 0:c=this;d=c.get();$s=1;case 1:if($c){$c=false;d=d.$blk();}if(d&&d.$blk!==undefined){break s;}e=d.name;$s=2;case 2:return e;}return;}var $f={$blk:X.ptr.prototype.String,$c:true,$r,c,d,e,$s};return $f;};X.prototype.String=function(){return this.$val.String();};AD=function(c,d){var c,d,e,f;e=new X.ptr(c,new EG([$clone(new Y.ptr(c,d,false),Y)]),new EH([$clone(new Z.ptr(new $Int64(-2147483648,0),0,false,false),Z)]),"",new $Int64(-2147483648,0),new $Int64(2147483647,4294967295),EI.nil);e.cacheZone=(f=e.zone,(0>=f.$length?($throwRuntimeError("index out of range"),unde
|
||
|
|
$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=AF.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($Uint8);AE=$sliceType(A.Iovec);AF=$ptrType(AE);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(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:c=$pkg.AcceptFunc(a);$s=1;case 1:if($c){$c=false;c=c.$blk();}if(c&&c.$blk!==undefined){break s;}b=c;d=b[0];e=b[1];f=b[2];if($interfaceIsEqual(f,$ifaceNil)){A.CloseOnExec(d);}if(!($interfaceIsEqual(f,$ifaceNil))){$s=-1;return[-1,$ifaceNil,"accept",f];}f=A.SetNonblock(d,true);if(!($interfaceIsEqual(f,$ifaceNil))){$s=2;continue;}$s=3;continue;case 2:g=$pkg.CloseFunc(d);$s=4;case 4:if($c){$c=false;g=g.$blk();}if(g&&g.$blk!==undefined){break s;}g;$s=-1;return[-1,$ifaceNil,"setnonblock",f];case 3:$s=-1;return[d,e,"",$ifaceNil];}return;}var $f={$blk:G,$c:true,$r,a,b,c,d,e,f,g,$s};return $f;};H.ptr.prototype.Init=function(a,b){var a,b,c,d;c=this;if(a==="file"){c.isFile=true;}if(!b){c.isBlocking=1;return $ifaceNil;}d=c.pd.init(c);if(!($interfaceIsEqual(d,$ifaceNil))){c.isBlocking=1;}return d;};H.prototype.Init=function(a,b){return this.$val.Init(a,b);};H.ptr.prototype.destroy=function(){var{a,b,c,$s,$r,$c}=$restore(this,{});$s=$s||0;s:while(true){switch($s){case 0:a=this;a.pd.close();b=$pkg.CloseFunc(a.Sysfd);$s=1;case 1:if($c){$c=false;b=b.$blk();}if(b&&b.$blk!==undefined){break s;}c=b;a.Sysfd=-1;$r=X((a.$ptr_csema||(a.$ptr_csema=new Z(function(){return this.$target.csema;},function($v){this.$target.csema=$v;},a))));$s=2;case 2:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return c;}return;}var $f={$blk:H.ptr.prototype.destroy,$c:true,$r,a,b,c,$s};return $f;};H.prototype.destroy=function(){return this.$val.destroy();};H.ptr.prototype.Close=function(){var{a,b,c,d,$s,$r,$c}=$restore(this,{});$s=$s||0;s:while(true){switch($s){case 0:a=this;b=a.fdmu.increfAndClose();$s=3;case 3:if($c){$c=false;b=b.$blk();}if(b&&b.$blk!==undefined){break s;}if(!b){$s=1;continue;}$s=2;continue;case 1:$s=-1;return S(a.isFile);case 2:a.pd.evict();c=a.decref();$s=4;case 4:if($c){$c=false;c=c.$blk();}if(c&&c.$blk!==undefined){break s;}d=c;if(a.isBlocking===0){$s=5;continue;}$s=6;continue;case 5:$r=W((a.$ptr_csema||(a.$ptr_cs
|
||
|
|
$packages["internal/safefilepath"]=(function(){var $pkg={},$init,B,A,D;B=$packages["errors"];A=$packages["runtime"];$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=B.New("invalid path");}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,I;A=$packages["errors"];B=$packages["internal/bytealg"];C=$packages["unicode/utf8"];I=function(a){var a,b;b=a.length-1>>0;while(true){if(!(b>=0&&!((a.charCodeAt(b)===47)))){break;}if(a.charCodeAt(b)===46){return $substring(a,b);}b=b-(1)>>0;}return"";};$pkg.Ext=I;$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<d.length)){break;}f=$decodeRune(d,e);g=e;h=f[0];if(!((((a&(((i=(((31-g>>0)>>>0)),i<32?(1<<i):0)>>>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<j.length)){break;}l=$decodeRune(j,k);m=k;n=l[0];if(!((((a&(((o=(((8-m>>0)>>>0)),o<32?(1<<o):0)>>>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:
|
||
|
|
$packages["os"]=(function(){var $pkg={},$init,D,Q,E,O,J,L,M,K,F,G,C,H,P,I,N,A,B,R,U,AQ,BL,BX,CG,CI,DW,DY,EV,FA,FJ,FL,FM,FN,FO,FP,FR,FT,FW,FX,FY,FZ,GA,GB,GN,GO,GP,GQ,GR,GS,GT,GU,AA,CJ,CQ,EW,FC,a,b,c,AK,AL,AO,AR,AS,BB,BM,BO,BP,BY,BZ,CA,CF,CH,DU,DV,EB,EE,EF,ER,ES,ET,EU,EX,EY,EZ,FE,FF;D=$packages["errors"];Q=$packages["github.com/gopherjs/gopherjs/js"];E=$packages["internal/itoa"];O=$packages["internal/oserror"];J=$packages["internal/poll"];L=$packages["internal/safefilepath"];M=$packages["internal/syscall/execenv"];K=$packages["internal/syscall/unix"];F=$packages["internal/testlog"];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),FR.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=GA.nil;return;}this.file=file_;});AQ=$pkg.rawConn=$newType(0,$kindStruct,"os.rawConn",true,"os",false,function(file_){this.$val=this;if(arguments.length===0){this.file=FP.nil;return;}this.file=file_;});BL=$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(FW.nil,false),FY.nil,0,0,false,false,false);this.name="";this.dirinfo=FZ.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_;});BX=$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_;});CG=$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_;});CI=$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_;});DW=$pkg.timeout=$newType(8,$kindInterface,"os.timeout",true,"os",false,null);DY=$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_;});EV=$pkg.dirInfo=$newType(0,$kindStruct,"os.dirInfo",true,"os",false,function(buf_,nbuf_,bufp_){this.$val=this;if(arguments.length===0){this.buf=FN.nil;this.nbuf=0;this.bufp=0;return;}this.buf=buf_;this.nbuf=nbuf_;this.bufp=bufp_;});FA=$pkg.readdirMode=$newType(4,$kindInt,"os.readdirMode",true,"os",false,null);FJ=$sliceType($String);FL=$sliceType($emptyInterface);FM=$sliceType($Uint8);FN=$ptrType(FM);FO=$ptrType(R);FP=$ptrType(U);FR=$ptrType(B.Location);FT=$ptrType(C.PathError);FW=$ptrType(J.FD);FX=$sliceType(A.Iovec);FY=$ptrType(FX);FZ=$ptrType(EV);GA=$ptrType(BL);GB=$funcType([GA],[$error],false);GN=$ptrType(CG);GO=$ptrType(DY);GP=$sliceType(C.DirEntry);GQ=$sliceType(C.FileInfo);GR=$funcType([$Uintptr],[],false);GS=$funcType([$Uintptr],[$Bool],false);GT=$ptrType(AQ);GU=$ptrType(BX);R.ptr.prototype.Size=function(){var d;d=this;return d.size;};R.prototype.Size=func
|
||
|
|
$packages["fmt"]=(function(){var $pkg={},$init,A,I,B,C,D,E,F,G,H,V,W,X,AK,AL,AM,AN,AO,AP,BJ,BK,BM,BN,BO,BP,BQ,BR,BS,BV,BW,CR,CS,CT,CV,CW,Y,AC,AE,AF,AQ,Z,AA,AG,AR,AU,BE,BF,BG,BH,BI,BL;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(BQ.nil,0,0);this.fmt=new BK.ptr(BR.nil,new BJ.ptr(false,false,false,false,false,false,false,false,false),0,0,BS.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_;});BJ=$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_;});BK=$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=BR.nil;this.fmtFlags=new BJ.ptr(false,false,false,false,false,false,false,false,false);this.wid=0;this.prec=0;this.intbuf=BS.zero();return;}this.buf=buf_;this.fmtFlags=fmtFlags_;this.wid=wid_;this.prec=prec_;this.intbuf=intbuf_;});BM=$pkg.wrapError=$newType(0,$kindStruct,"fmt.wrapError",true,"fmt",false,function(msg_,err_){this.$val=this;if(arguments.length===0){this.msg="";this.err=$ifaceNil;return;}this.msg=msg_;this.err=err_;});BN=$arrayType($Uint16,2);BO=$sliceType(BN);BP=$sliceType($emptyInterface);BQ=$ptrType(E.rtype);BR=$ptrType(AO);BS=$arrayType($Uint8,68);BV=$sliceType($Uint8);BW=$ptrType(W);CR=$ptrType(AP);CS=$arrayType($Uint8,6);CT=$funcType([$Int32],[$Bool],false);CV=$ptrType(BK);CW=$ptrType(BM);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.p
|
||
|
|
$packages["github.com/88250/lute/editor"]=(function(){var $pkg={},$init,A,B,a;A=$sliceType($Uint8);B=$sliceType($Int32);$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:$pkg.CaretTokens=(new A($stringToBytes("\xE2\x80\xB8")));$pkg.CaretRune=(a=(new B($stringToRunes("\xE2\x80\xB8"))),(0>=a.$length?($throwRuntimeError("index out of range"),undefined):a.$array[a.$offset+0]));$pkg.CaretNewlineTokens=(new A($stringToBytes("\xE2\x80\xB8\n")));}return;}if($f===undefined){$f={$blk:$init};}$f.$s=$s;$f.$r=$r;return $f;};$pkg.$init=$init;return $pkg;})();
|
||
|
|
$packages["strings"]=(function(){var $pkg={},$init,E,F,C,D,A,B,AR,BJ,BN,BO,BQ,BR,BT,BU,BW,BY,BZ,CA,CD,CM,CK,CL,CN,CO,CP,CQ,CR,CS,CT,CU,CV,CW,CX,CY,CZ,DA,DB,DC,DD,DE,T,G,H,J,K,L,O,R,U,V,W,X,Y,Z,AA,AC,AK,AL,AM,AP,AQ,AS,AT,AU,AV,AW,AX,AY,AZ,BA,BB,BC,BD,BE,BF,BG,BH,BI,BK,BL,BM,BP,BS,BV,BX,CB,CF,CG,CH,CI;E=$packages["errors"];F=$packages["github.com/gopherjs/gopherjs/js"];C=$packages["io"];D=$packages["sync"];A=$packages["unicode"];B=$packages["unicode/utf8"];AR=$pkg.asciiSet=$newType(32,$kindArray,"strings.asciiSet",true,"strings",false,null);BJ=$pkg.stringFinder=$newType(0,$kindStruct,"strings.stringFinder",true,"strings",false,function(pattern_,badCharSkip_,goodSuffixSkip_){this.$val=this;if(arguments.length===0){this.pattern="";this.badCharSkip=CR.zero();this.goodSuffixSkip=CS.nil;return;}this.pattern=pattern_;this.badCharSkip=badCharSkip_;this.goodSuffixSkip=goodSuffixSkip_;});BN=$pkg.Replacer=$newType(0,$kindStruct,"strings.Replacer",true,"strings",true,function(once_,r_,oldnew_){this.$val=this;if(arguments.length===0){this.once=new D.Once.ptr(0,new D.Mutex.ptr(0,0));this.r=$ifaceNil;this.oldnew=CK.nil;return;}this.once=once_;this.r=r_;this.oldnew=oldnew_;});BO=$pkg.replacer=$newType(8,$kindInterface,"strings.replacer",true,"strings",false,null);BQ=$pkg.trieNode=$newType(0,$kindStruct,"strings.trieNode",true,"strings",false,function(value_,priority_,prefix_,next_,table_){this.$val=this;if(arguments.length===0){this.value="";this.priority=0;this.prefix="";this.next=CW.nil;this.table=CX.nil;return;}this.value=value_;this.priority=priority_;this.prefix=prefix_;this.next=next_;this.table=table_;});BR=$pkg.genericReplacer=$newType(0,$kindStruct,"strings.genericReplacer",true,"strings",false,function(root_,tableSize_,mapping_){this.$val=this;if(arguments.length===0){this.root=new BQ.ptr("",0,"",CW.nil,CX.nil);this.tableSize=0;this.mapping=CT.zero();return;}this.root=root_;this.tableSize=tableSize_;this.mapping=mapping_;});BT=$pkg.appendSliceWriter=$newType(12,$kindSlice,"strings.appendSliceWriter",true,"strings",false,null);BU=$pkg.stringWriter=$newType(0,$kindStruct,"strings.stringWriter",true,"strings",false,function(w_){this.$val=this;if(arguments.length===0){this.w=$ifaceNil;return;}this.w=w_;});BW=$pkg.singleStringReplacer=$newType(0,$kindStruct,"strings.singleStringReplacer",true,"strings",false,function(finder_,value_){this.$val=this;if(arguments.length===0){this.finder=CZ.nil;this.value="";return;}this.finder=finder_;this.value=value_;});BY=$pkg.byteReplacer=$newType(256,$kindArray,"strings.byteReplacer",true,"strings",false,null);BZ=$pkg.byteStringReplacer=$newType(0,$kindStruct,"strings.byteStringReplacer",true,"strings",false,function(replacements_,toReplace_){this.$val=this;if(arguments.length===0){this.replacements=CV.zero();this.toReplace=CK.nil;return;}this.replacements=replacements_;this.toReplace=toReplace_;});CA=$pkg.Reader=$newType(0,$kindStruct,"strings.Reader",true,"strings",true,function(s_,i_,prevRune_){this.$val=this;if(arguments.length===0){this.s="";this.i=new $Int64(0,0);this.prevRune=0;return;}this.s=s_;this.i=i_;this.prevRune=prevRune_;});CD=$pkg.Builder=$newType(0,$kindStruct,"strings.Builder",true,"strings",true,function(addr_,buf_){this.$val=this;if(arguments.length===0){this.addr=CO.nil;this.buf=CP.nil;return;}this.addr=addr_;this.buf=buf_;});CM=$newType(0,$kindStruct,"strings.span",true,"strings",false,function(start_,end_){this.$val=this;if(arguments.length===0){this.start=0;this.end=0;return;}this.start=start_;this.end=end_;});CK=$sliceType($String);CL=$ptrType(AR);CN=$sliceType(CM);CO=$ptrType(CD);CP=$sliceType($Uint8);CQ=$arrayType($Uint32,8);CR=$arrayType($Int,256);CS=$sliceType($Int);CT=$arrayType($Uint8,256);CU=$ptrType(BY);CV=$arrayType(CP,256);CW=$ptrType(BQ);CX=$sliceType(CW);CY=$ptrType(BT);CZ=$ptrType(BJ);DA=$ptrType(BN);DB=$ptrType(BR);DC=$ptrType(BW);DD=$ptrType(BZ);DE=$ptrType(CA);G=function(a,b){var a,b,c,d,e,f,g,h,i;c=B.RuneCountInString(a);if(b<0||b>c){b=c;}d=$makeSlice(CK,b);e=0;while(true){if(!(e<(b-1>>0))){break;}f=B.DecodeRuneInString(a);g=f[0];h=f[1];((e<0||e>=d.$lengt
|
||
|
|
$packages["bufio"]=(function(){var $pkg={},$init,A,B,C,E,D,U,Z,AD,S,T,V,W;A=$packages["bytes"];B=$packages["errors"];C=$packages["io"];E=$packages["strings"];D=$packages["unicode/utf8"];U=$pkg.Writer=$newType(0,$kindStruct,"bufio.Writer",true,"bufio",true,function(err_,buf_,n_,wr_){this.$val=this;if(arguments.length===0){this.err=$ifaceNil;this.buf=Z.nil;this.n=0;this.wr=$ifaceNil;return;}this.err=err_;this.buf=buf_;this.n=n_;this.wr=wr_;});Z=$sliceType($Uint8);AD=$ptrType(U);V=function(a,b){var a,b,c,d,e;c=$assertType(a,AD,true);d=c[0];e=c[1];if(e&&d.buf.$length>=b){return d;}if(b<=0){b=4096;}return new U.ptr($ifaceNil,$makeSlice(Z,b),0,a);};$pkg.NewWriterSize=V;W=function(a){var a;return V(a,4096);};$pkg.NewWriter=W;U.ptr.prototype.Size=function(){var a;a=this;return a.buf.$length;};U.prototype.Size=function(){return this.$val.Size();};U.ptr.prototype.Reset=function(a){var a,b;b=this;if(b.buf===Z.nil){b.buf=$makeSlice(Z,4096);}b.err=$ifaceNil;b.n=0;b.wr=a;};U.prototype.Reset=function(a){return this.$val.Reset(a);};U.ptr.prototype.Flush=function(){var{a,b,c,d,e,$s,$r,$c}=$restore(this,{});$s=$s||0;s:while(true){switch($s){case 0:a=this;if(!($interfaceIsEqual(a.err,$ifaceNil))){$s=-1;return a.err;}if(a.n===0){$s=-1;return $ifaceNil;}c=a.wr.Write($subslice(a.buf,0,a.n));$s=1;case 1:if($c){$c=false;c=c.$blk();}if(c&&c.$blk!==undefined){break s;}b=c;d=b[0];e=b[1];if(d<a.n&&$interfaceIsEqual(e,$ifaceNil)){e=C.ErrShortWrite;}if(!($interfaceIsEqual(e,$ifaceNil))){if(d>0&&d<a.n){$copySlice($subslice(a.buf,0,(a.n-d>>0)),$subslice(a.buf,d,a.n));}a.n=a.n-(d)>>0;a.err=e;$s=-1;return e;}a.n=0;$s=-1;return $ifaceNil;}return;}var $f={$blk:U.ptr.prototype.Flush,$c:true,$r,a,b,c,d,e,$s};return $f;};U.prototype.Flush=function(){return this.$val.Flush();};U.ptr.prototype.Available=function(){var a;a=this;return a.buf.$length-a.n>>0;};U.prototype.Available=function(){return this.$val.Available();};U.ptr.prototype.AvailableBuffer=function(){var a;a=this;return $subslice($subslice(a.buf,a.n),0,0);};U.prototype.AvailableBuffer=function(){return this.$val.AvailableBuffer();};U.ptr.prototype.Buffered=function(){var a;a=this;return a.n;};U.prototype.Buffered=function(){return this.$val.Buffered();};U.ptr.prototype.Write=function(a){var{a,b,c,d,e,f,g,h,i,j,k,l,m,$s,$r,$c}=$restore(this,{a});$s=$s||0;s:while(true){switch($s){case 0:b=0;c=$ifaceNil;d=this;case 1:if(!(a.$length>d.Available()&&$interfaceIsEqual(d.err,$ifaceNil))){$s=2;continue;}e=0;if(d.Buffered()===0){$s=3;continue;}$s=4;continue;case 3:g=d.wr.Write(a);$s=6;case 6:if($c){$c=false;g=g.$blk();}if(g&&g.$blk!==undefined){break s;}f=g;e=f[0];d.err=f[1];$s=5;continue;case 4:e=$copySlice($subslice(d.buf,d.n),a);d.n=d.n+(e)>>0;h=d.Flush();$s=7;case 7:if($c){$c=false;h=h.$blk();}if(h&&h.$blk!==undefined){break s;}h;case 5:b=b+(e)>>0;a=$subslice(a,e);$s=1;continue;case 2:if(!($interfaceIsEqual(d.err,$ifaceNil))){i=b;j=d.err;b=i;c=j;$s=-1;return[b,c];}k=$copySlice($subslice(d.buf,d.n),a);d.n=d.n+(k)>>0;b=b+(k)>>0;l=b;m=$ifaceNil;b=l;c=m;$s=-1;return[b,c];}return;}var $f={$blk:U.ptr.prototype.Write,$c:true,$r,a,b,c,d,e,f,g,h,i,j,k,l,m,$s};return $f;};U.prototype.Write=function(a){return this.$val.Write(a);};U.ptr.prototype.WriteByte=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=this;if(!($interfaceIsEqual(b.err,$ifaceNil))){$s=-1;return b.err;}if(!(b.Available()<=0)){c=false;$s=3;continue s;}d=b.Flush();$s=4;case 4:if($c){$c=false;d=d.$blk();}if(d&&d.$blk!==undefined){break s;}c=!($interfaceIsEqual(d,$ifaceNil));case 3:if(c){$s=1;continue;}$s=2;continue;case 1:$s=-1;return b.err;case 2:(e=b.buf,f=b.n,((f<0||f>=e.$length)?($throwRuntimeError("index out of range"),undefined):e.$array[e.$offset+f]=a));b.n=b.n+(1)>>0;$s=-1;return $ifaceNil;}return;}var $f={$blk:U.ptr.prototype.WriteByte,$c:true,$r,a,b,c,d,e,f,$s};return $f;};U.prototype.WriteByte=function(a){return this.$val.WriteByte(a);};U.ptr.prototype.WriteRune=function(a){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});$s=$s||0;s:while(true){switch($s){case 0:b=0;c
|
||
|
|
$packages["github.com/88250/lute/html/atom"]=(function(){var $pkg={},$init,B,A,C,D,E,F;B=$pkg.Atom=$newType(4,$kindUint32,"atom.Atom",true,"github.com/88250/lute/html/atom",true,null);B.prototype.String=function(){var a,b,c;a=this.$val;b=(((a>>>8>>>0)>>>0));c=((((a&255)>>>0)>>>0));if((b+c>>>0)>1834){return"";}return $substring("abbradiogrouparamainavalueaccept-charsetbodyaccesskeygenobrbasefontimeupdateviacacheightmlabelooptgroupatternoembedetailsampictureversedfnoframesetdirnameterowspanomoduleacronymalignmarkbdialogallowpaymentrequestrikeytypeallowusermediagroupingaltfooterubyasyncanvasidefaultitleaudioncancelautofocusandboxmplaceholderautoplaysinlinebdoncanplaythrough1bgsoundisabledivarbigblinkindraggablegendblockquotebuttonabortcitempropenoncecolgrouplaintextrackcolorcolspannotation-xmlcommandcontrolshapecoordslotranslatecrossoriginsmallowfullscreenoscriptfacenterfieldsetfigcaptionafterprintegrityfigurequiredforeignObjectforeignobjectformactionautocompleteerrorformenctypemustmatchallengeformmethodformnovalidatetimeformtargethgrouposterhiddenhigh2hreflanghttp-equivideonclickiframeimageimglyph3isindexismappletitemtypemarqueematheadersortedmaxlength4minlength5mtextareadonlymultiplemutedoncloseamlessourceoncontextmenuitemidoncopyoncuechangeoncutondblclickondragendondragenterondragexitemreferrerpolicyondragleaveondragoverondragstarticleondropzonemptiedondurationchangeonendedonerroronfocuspaceronhashchangeoninputmodeloninvalidonkeydownloadonkeypresspellcheckedonkeyupreloadonlanguagechangeonloadeddatalistingonloadedmetadatabindexonloadendonloadstartonmessageerroronmousedownonmouseenteronmouseleaveonmousemoveonmouseoutputonmouseoveronmouseupromptonmousewheelonofflineononlineonpagehidesclassectionbluronpageshowbronpastepublicontenteditableonpausemaponplayingonpopstateonprogressrcdocodeferonratechangeonrejectionhandledonresetonresizesrclangonscrollonsecuritypolicyviolationauxclickonseekedonseekingonselectedonshowidth6onsortableonstalledonstorageonsubmitemscopedonsuspendontoggleonunhandledrejectionbeforeprintonunloadonvolumechangeonwaitingonwheeloptimumanifestrongoptionbeforeunloaddressrcsetstylesummarysupsvgsystemplateworkertypewrap",b,(b+c>>>0));};$ptrType(B).prototype.String=function(){return new B(this.$get()).String();};B.prototype.string=function(){var a;a=this.$val;return $substring("abbradiogrouparamainavalueaccept-charsetbodyaccesskeygenobrbasefontimeupdateviacacheightmlabelooptgroupatternoembedetailsampictureversedfnoframesetdirnameterowspanomoduleacronymalignmarkbdialogallowpaymentrequestrikeytypeallowusermediagroupingaltfooterubyasyncanvasidefaultitleaudioncancelautofocusandboxmplaceholderautoplaysinlinebdoncanplaythrough1bgsoundisabledivarbigblinkindraggablegendblockquotebuttonabortcitempropenoncecolgrouplaintextrackcolorcolspannotation-xmlcommandcontrolshapecoordslotranslatecrossoriginsmallowfullscreenoscriptfacenterfieldsetfigcaptionafterprintegrityfigurequiredforeignObjectforeignobjectformactionautocompleteerrorformenctypemustmatchallengeformmethodformnovalidatetimeformtargethgrouposterhiddenhigh2hreflanghttp-equivideonclickiframeimageimglyph3isindexismappletitemtypemarqueematheadersortedmaxlength4minlength5mtextareadonlymultiplemutedoncloseamlessourceoncontextmenuitemidoncopyoncuechangeoncutondblclickondragendondragenterondragexitemreferrerpolicyondragleaveondragoverondragstarticleondropzonemptiedondurationchangeonendedonerroronfocuspaceronhashchangeoninputmodeloninvalidonkeydownloadonkeypresspellcheckedonkeyupreloadonlanguagechangeonloadeddatalistingonloadedmetadatabindexonloadendonloadstartonmessageerroronmousedownonmouseenteronmouseleaveonmousemoveonmouseoutputonmouseoveronmouseupromptonmousewheelonofflineononlineonpagehidesclassectionbluronpageshowbronpastepublicontenteditableonpausemaponplayingonpopstateonprogressrcdocodeferonratechangeonrejectionhandledonresetonresizesrclangonscrollonsecuritypolicyviolationauxclickonseekedonseekingonselectedonshowidth6onsortableonstalledonstorageonsubmitemscopedonsuspendontoggleonunhandledrejectionbeforeprintonunloadonvolumechangeonwaitingonwheeloptimumanifestrongoptionb
|
||
|
|
$packages["github.com/88250/lute/lex"]=(function(){var $pkg={},$init,A,B,C,AN,AP,AQ,AR,D,E,F,G,H,I,J,K,L,M,N,O,P,Q,R,S,T,U,V,W,X,Y,Z,AA,AB,AC,AD,AE,AF,AG,AH,AI,AJ,AK,AL,AM,AO;A=$packages["bytes"];B=$packages["unicode"];C=$packages["unicode/utf8"];AN=$pkg.Lexer=$newType(0,$kindStruct,"lex.Lexer",true,"github.com/88250/lute/lex",true,function(input_,length_,offset_,width_){this.$val=this;if(arguments.length===0){this.input=AP.nil;this.length=0;this.offset=0;this.width=0;return;}this.input=input_;this.length=length_;this.offset=offset_;this.width=width_;});AP=$sliceType($Uint8);AQ=$sliceType(AP);AR=$ptrType(AN);D=function(a){var a;return(32===a)||(10===a)||(9===a)||(11===a)||(12===a)||(13===a);};$pkg.IsWhitespace=D;E=function(a){var a;return B.IsSpace(a)||B.Is(B.Zs,a);};$pkg.IsUnicodeWhitespace=E;F=function(a){var a;return 48<=a&&57>=a;};$pkg.IsDigit=F;G=function(a){var a;return F(a)||a>=97&&a<=102||a>=65&&a<=70;};$pkg.IsHexDigit=G;H=function(a){var a;if(a>=97&&a<=122){return(a-97<<24>>>24)+65<<24>>>24;}return a;};$pkg.TokenToUpper=H;I=function(a){var a;return(33<=a&&47>=a)||(58<=a&&64>=a)||(91<=a&&96>=a)||(123<=a&&126>=a);};$pkg.IsASCIIPunct=I;J=function(a){var a;return(65<=a&&90>=a)||(97<=a&&122>=a);};$pkg.IsASCIILetter=J;K=function(a){var a;return(65<=a&&90>=a)||(97<=a&&122>=a)||(48<=a&&57>=a);};$pkg.IsASCIILetterNum=K;L=function(a){var a,b,c,d;b=a;c=0;while(true){if(!(c<b.$length)){break;}d=((c<0||c>=b.$length)?($throwRuntimeError("index out of range"),undefined):b.$array[b.$offset+c]);if(!K(d)){return false;}c++;}return true;};$pkg.IsASCIILetterNums=L;M=function(a){var a;return(65<=a&&90>=a)||(97<=a&&122>=a)||(48<=a&&57>=a)||(45===a);};$pkg.IsASCIILetterNumHyphen=M;N=function(a){var a;return B.IsControl(((a>>0)));};$pkg.IsControl=N;O=function(a){var a,b,c,d;b=a;c=0;while(true){if(!(c<b.$length)){break;}d=((c<0||c>=b.$length)?($throwRuntimeError("index out of range"),undefined):b.$array[b.$offset+c]);if(!((32===d))){return false;}c++;}return true;};$pkg.IsBlank=O;P=function(a,b){var a,b,c,d,e,f,g;c=AQ.nil;d=a.$length;e=0;f=0;g=AP.nil;while(true){if(!(e<d)){break;}f=((e<0||e>=a.$length)?($throwRuntimeError("index out of range"),undefined):a.$array[a.$offset+e]);if(!((b===f))){g=$append(g,f);e=e+(1)>>0;continue;}c=$append(c,g);g=new AP([]);e=e+(1)>>0;}if(0<g.$length){c=$append(c,g);}return c;};$pkg.Split=P;Q=function(a,b){var a,b,c,d,e,f,g;c=AQ.nil;d=a.$length;e=0;f=AP.nil;g=0;while(true){if(!(g<d)){break;}e=((g<0||g>=a.$length)?($throwRuntimeError("index out of range"),undefined):a.$array[a.$offset+g]);if(!((b===e))||AC(a,g)){f=$append(f,e);g=g+(1)>>0;continue;}c=$append(c,f);f=new AP([]);g=g+(1)>>0;}if(0<f.$length){c=$append(c,f);}return c;};$pkg.SplitWithoutBackslashEscape=Q;R=function(a,b,c){var a,b,c,d,e,f,g;d=a;e=0;while(true){if(!(e<d.$length)){break;}f=e;g=((e<0||e>=d.$length)?($throwRuntimeError("index out of range"),undefined):d.$array[d.$offset+e]);if(g===b){((f<0||f>=a.$length)?($throwRuntimeError("index out of range"),undefined):a.$array[a.$offset+f]=c);}e++;}return a;};$pkg.ReplaceAll=R;S=function(a){var a,b,c,d,e;b=a.$length;c=0;d=b-1>>0;while(true){if(!(0<=d)){break;}c=((d<0||d>=a.$length)?($throwRuntimeError("index out of range"),undefined):a.$array[a.$offset+d]);if(!((10===c))&&!((32===c))){break;}if((10===(e=d-1>>0,((e<0||e>=a.$length)?($throwRuntimeError("index out of range"),undefined):a.$array[a.$offset+e])))&&((32===c)||(10===c))){a=$subslice(a,0,d);}d=d-(1)>>0;}return a;};$pkg.ReplaceNewlineSpace=S;T=function(a){var a,b,c;b=AP.nil;c=U(a);b=c[2];return b;};$pkg.TrimWhitespace=T;U=function(a){var a,b,c,d,e,f,g,h,i,j,k,l;b=AP.nil;c=AP.nil;d=AP.nil;e=a.$length;if(0===e){f=AP.nil;g=AP.nil;h=a;b=f;c=g;d=h;return[b,c,d];}i=0;j=e-1>>0;k=i;l=j;while(true){if(!(k<e)){break;}if(!D(((k<0||k>=a.$length)?($throwRuntimeError("index out of range"),undefined):a.$array[a.$offset+k]))){break;}k=k+(1)>>0;}b=$subslice(a,0,k);if(k===e){k=k-(1)>>0;}while(true){if(!(0<=l)){break;}if(!D(((l<0||l>=a.$length)?($throwRuntimeError("index out of range"),undefined):a.$array[a.$offset+l]))){break;}l=l-(1)>>0;}if(l<k){l=k-1>>0;}i
|
||
|
|
$packages["github.com/88250/lute/html"]=(function(){var $pkg={},$init,J,E,F,H,I,D,G,A,B,C,O,P,Q,R,S,Z,AG,AI,AJ,BK,BO,BQ,BS,BT,DC,DD,DE,DF,DG,DH,DI,DJ,DK,DL,DM,DN,DO,DP,DQ,DR,V,W,AB,AF,AH,BP,DB,BY,BZ,CA,CB,CC,CD,CE,CF,CQ,CY,CZ,K,L,M,N,T,U,X,Y,AA,AC,AD,AE,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,BM,BN,BR,BU,BV,BW,BX,CG,CH,CI,CJ,CK,CL,CM,CR,CS,CT,CU,CV,CW,CX,DA;J=$packages["bufio"];E=$packages["bytes"];F=$packages["errors"];H=$packages["github.com/88250/lute/editor"];I=$packages["github.com/88250/lute/html/atom"];D=$packages["github.com/88250/lute/lex"];G=$packages["io"];A=$packages["strconv"];B=$packages["strings"];C=$packages["unicode/utf8"];O=$pkg.TokenType=$newType(4,$kindUint32,"html.TokenType",true,"github.com/88250/lute/html",true,null);P=$pkg.Attribute=$newType(0,$kindStruct,"html.Attribute",true,"github.com/88250/lute/html",true,function(Namespace_,Key_,Val_){this.$val=this;if(arguments.length===0){this.Namespace="";this.Key="";this.Val="";return;}this.Namespace=Namespace_;this.Key=Key_;this.Val=Val_;});Q=$pkg.Token=$newType(0,$kindStruct,"html.Token",true,"github.com/88250/lute/html",true,function(Type_,DataAtom_,Data_,Attr_){this.$val=this;if(arguments.length===0){this.Type=0;this.DataAtom=0;this.Data="";this.Attr=DG.nil;return;}this.Type=Type_;this.DataAtom=DataAtom_;this.Data=Data_;this.Attr=Attr_;});R=$pkg.span=$newType(0,$kindStruct,"html.span",true,"github.com/88250/lute/html",false,function(start_,end_){this.$val=this;if(arguments.length===0){this.start=0;this.end=0;return;}this.start=start_;this.end=end_;});S=$pkg.Tokenizer=$newType(0,$kindStruct,"html.Tokenizer",true,"github.com/88250/lute/html",true,function(r_,tt_,err_,readErr_,raw_,buf_,maxBuf_,data_,pendingAttr_,attr_,nAttrReturned_,rawTag_,textIsRaw_,convertNUL_,allowCDATA_){this.$val=this;if(arguments.length===0){this.r=$ifaceNil;this.tt=0;this.err=$ifaceNil;this.readErr=$ifaceNil;this.raw=new R.ptr(0,0);this.buf=DC.nil;this.maxBuf=0;this.data=new R.ptr(0,0);this.pendingAttr=DJ.zero();this.attr=DK.nil;this.nAttrReturned=0;this.rawTag="";this.textIsRaw=false;this.convertNUL=false;this.allowCDATA=false;return;}this.r=r_;this.tt=tt_;this.err=err_;this.readErr=readErr_;this.raw=raw_;this.buf=buf_;this.maxBuf=maxBuf_;this.data=data_;this.pendingAttr=pendingAttr_;this.attr=attr_;this.nAttrReturned=nAttrReturned_;this.rawTag=rawTag_;this.textIsRaw=textIsRaw_;this.convertNUL=convertNUL_;this.allowCDATA=allowCDATA_;});Z=$pkg.writer=$newType(8,$kindInterface,"html.writer",true,"github.com/88250/lute/html",false,null);AG=$pkg.parser=$newType(0,$kindStruct,"html.parser",true,"github.com/88250/lute/html",false,function(tokenizer_,tok_,hasSelfClosingToken_,doc_,oe_,afe_,head_,form_,scripting_,framesetOK_,templateStack_,im_,originalIM_,fosterParenting_,quirks_,fragment_,context_){this.$val=this;if(arguments.length===0){this.tokenizer=DO.nil;this.tok=new Q.ptr(0,0,"",DG.nil);this.hasSelfClosingToken=false;this.doc=DE.nil;this.oe=BS.nil;this.afe=BS.nil;this.head=DE.nil;this.form=DE.nil;this.scripting=false;this.framesetOK=false;this.templateStack=BT.nil;this.im=$throwNilPointerError;this.originalIM=$throwNilPointerError;this.fosterParenting=false;this.quirks=false;this.fragment=false;this.context=DE.nil;return;}this.tokenizer=tokenizer_;this.tok=tok_;this.hasSelfClosingToken=hasSelfClosingToken_;this.doc=doc_;this.oe=oe_;this.afe=afe_;this.head=head_;this.form=form_;this.scripting=scripting_;this.framesetOK=framesetOK_;this.templateStack=templateStack_;this.im=im_;this.originalIM=originalIM_;this.fosterParenting=fosterParenting_;this.quirks=quirks_;this.fragment=fragment_;this.context=context_;});AI=$pkg.scope=$newType(4,$kindInt,"html.scope",true,"github.com/88250/lute/html",false,null);AJ=$pkg.insertionMode=$newType(4,$kindFunc,"html.insertionMode",true,"github.com/88250/lute/html",false,null);BK=$pkg.ParseOption=$newType(4,$kindFunc,"html.ParseOption",true,"github.com/88250/lute/html",true,null);BO=$pkg.NodeType=$newType(4,$kindUint32,"html.NodeType",true,"github.com/88250/lute/html",true,null);BQ=$pkg.Node=$newType(0,$kindSt
|
||
|
|
$packages["github.com/88250/lute/util"]=(function(){var $pkg={},$init,E,D,F,G,A,B,C,AY,BA,BB,BC,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,AT,AV,AW,AX;E=$packages["bytes"];D=$packages["github.com/88250/lute/editor"];F=$packages["github.com/88250/lute/html"];G=$packages["github.com/88250/lute/html/atom"];A=$packages["strconv"];B=$packages["strings"];C=$packages["unicode/utf8"];AY=$sliceType($Uint8);BA=$sliceType($Int32);BB=$ptrType(F.Node);BC=$sliceType(BB);R=function(a,b){var a,b,c,d,e;if(0===b.$length){return false;}c=b;d=0;while(true){if(!(d<c.$length)){break;}e=((d<0||d>=c.$length)?($throwRuntimeError("index out of range"),undefined):c.$array[c.$offset+d]);if(B.Contains(a,e)){return true;}d++;}return false;};$pkg.ContainsStr=R;S=function(a){var{a,b,c,$s,$r,$c}=$restore(this,{a});$s=$s||0;s:while(true){switch($s){case 0:a=B.ReplaceAll(a,"\xE2\x80\x8B","");a=B.ReplaceAll(a,"\xE2\x80\x8D","");b=B.TrimSpace(a);$s=1;case 1:if($c){$c=false;b=b.$blk();}if(b&&b.$blk!==undefined){break s;}c=0===b.length;$s=2;case 2:return c;}return;}var $f={$blk:S,$c:true,$r,a,b,c,$s};return $f;};$pkg.IsEmptyStr=S;T=function(a){var{a,b,c,d,e,f,g,h,i,j,k,$s,$r,$c}=$restore(this,{a});$s=$s||0;s:while(true){switch($s){case 0:b=0;c=0;d=B.Fields(a);$s=1;case 1:if($c){$c=false;d=d.$blk();}if(d&&d.$blk!==undefined){break s;}e=d;f=e;g=0;while(true){if(!(g<f.$length)){break;}h=((g<0||g>=f.$length)?($throwRuntimeError("index out of range"),undefined):f.$array[f.$offset+g]);i=U(h);j=i[0];k=i[1];b=b+(j)>>0;c=c+(k)>>0;g++;}$s=-1;return[b,c];}return;}var $f={$blk:T,$c:true,$r,a,b,c,d,e,f,g,h,i,j,k,$s};return $f;};$pkg.WordCount=T;U=function(a){var a,b,c,d,e,f,g,h,i,j;b=0;c=0;d=(new BA($stringToRunes(a)));e=d.$length;if(1>e){return[b,c];}f=1;g=1;b=f;c=g;h=(0>=d.$length?($throwRuntimeError("index out of range"),undefined):d.$array[d.$offset+0])<128;i=1;while(true){if(!(i<e)){break;}j=((i<0||i>=d.$length)?($throwRuntimeError("index out of range"),undefined):d.$array[d.$offset+i]);b=b+(1)>>0;if(j>=128){c=c+(1)>>0;h=false;i=i+(1)>>0;continue;}if(j<128===h){i=i+(1)>>0;continue;}c=c+(1)>>0;h=!h;i=i+(1)>>0;}return[b,c];};V=function(a){var a,b,c,d,e;if(0===a.length){return false;}b=a;c=0;while(true){if(!(c<b.length)){break;}d=$decodeRune(b,c);e=d[0];if(e<48||e>57){return false;}c+=d[1];}return true;};$pkg.IsDigit=V;W=function(a){var a;};$pkg.RecoverPanic=W;X=function(a){var a;return E.Contains(a,(new AY($stringToBytes("type=\"doc\""))));};$pkg.IsDocIAL=X;Y=function(a){var a,b,c,d;b=a;c=0;while(true){if(!(c<b.$length)){break;}d=((c<0||c>=b.$length)?($throwRuntimeError("index out of range"),undefined):b.$array[b.$offset+c]);if("type"===(0>=d.$length?($throwRuntimeError("index out of range"),undefined):d.$array[d.$offset+0])&&"doc"===(1>=d.$length?($throwRuntimeError("index out of range"),undefined):d.$array[d.$offset+1])){return true;}c++;}return false;};$pkg.IsDocIAL2=Y;Z=function(a){var{a,b,c,$s,$r,$c}=$restore(this,{a});$s=$s||0;s:while(true){switch($s){case 0:b="";c=AP(a);$s=1;case 1:if($c){$c=false;c=c.$blk();}if(c&&c.$blk!==undefined){break s;}b=c;b=B.ReplaceAll(b,"\xE2\x80\x8B","");b=B.TrimSuffix(b,"\n");b=F.EscapeHTMLStr(b);b=B.ReplaceAll(b,""","\"");while(true){if(!(B.Contains(b,"\n\n"))){break;}b=B.ReplaceAll(b,"\n\n","\n");}$s=-1;return b;}return;}var $f={$blk:Z,$c:true,$r,a,b,c,$s};return $f;};$pkg.GetTextMarkTextDataWithoutEscapeQuote=Z;AA=function(a){var{a,b,c,$s,$r,$c}=$restore(this,{a});$s=$s||0;s:while(true){switch($s){case 0:b="";c=Z(a);$s=1;case 1:if($c){$c=false;c=c.$blk();}if(c&&c.$blk!==undefined){break s;}b=c;b=B.TrimPrefix(b,"\n");b=B.ReplaceAll(b,"'","'");while(true){if(!(B.Contains(b,"\n\n"))){break;}b=B.ReplaceAll(b,"\n\n","\n");}$s=-1;return b;}return;}var $f={$blk:AA,$c:true,$r,a,b,c,$s};return $f;};$pkg.GetTextMarkTextData=AA;AB=function(a){var a,b;b="";b=AT(a,"data-inline-memo-content");b=B.ReplaceAll(b,"\xE2\x80\x8B","");b=B.ReplaceAll(b,"\n","_esc_newline_");b=F.UnescapeHTMLStr(b);return b;};$pkg.GetTextMarkInlineMemoData=AB;AC=function(a){var a,b,c;b="";c="";b=AT(a,"data-href");b=F.EscapeHTML
|
||
|
|
$packages["math/rand"]=(function(){var $pkg={},$init,B,A,F,H,I,K,AE,AM,AN,AO,AQ,AR,AS,AT,AU,AV,E,N,AG,AH,AI,AJ,AK,AL,G,J,L,M,O,W,AF;B=$packages["github.com/gopherjs/gopherjs/nosync"];A=$packages["math"];F=$pkg.rngSource=$newType(0,$kindStruct,"rand.rngSource",true,"math/rand",false,function(tap_,feed_,vec_){this.$val=this;if(arguments.length===0){this.tap=0;this.feed=0;this.vec=AQ.zero();return;}this.tap=tap_;this.feed=feed_;this.vec=vec_;});H=$pkg.Source=$newType(8,$kindInterface,"rand.Source",true,"math/rand",true,null);I=$pkg.Source64=$newType(8,$kindInterface,"rand.Source64",true,"math/rand",true,null);K=$pkg.Rand=$newType(0,$kindStruct,"rand.Rand",true,"math/rand",true,function(src_,s64_,readVal_,readPos_){this.$val=this;if(arguments.length===0){this.src=$ifaceNil;this.s64=$ifaceNil;this.readVal=new $Int64(0,0);this.readPos=0;return;}this.src=src_;this.s64=s64_;this.readVal=readVal_;this.readPos=readPos_;});AE=$pkg.lockedSource=$newType(0,$kindStruct,"rand.lockedSource",true,"math/rand",false,function(lk_,src_){this.$val=this;if(arguments.length===0){this.lk=new B.Mutex.ptr(false,false,false,false,0);this.src=AM.nil;return;}this.lk=lk_;this.src=src_;});AM=$ptrType(F);AN=$ptrType(AE);AO=$ptrType(K);AQ=$arrayType($Int64,607);AR=$ptrType($Int8);AS=$sliceType($Int);AT=$ptrType($Int64);AU=$funcType([$Int,$Int],[],false);AV=$sliceType($Uint8);G=function(a){var a,b,c,d,e;c=(b=a/44488,(b===b&&b!==1/0&&b!==-1/0)?b>>0:$throwRuntimeError("integer divide by zero"));e=(d=a%44488,d===d?d:$throwRuntimeError("integer divide by zero"));a=($imul(48271,e))-($imul(3399,c))>>0;if(a<0){a=a+(2147483647)>>0;}return a;};F.ptr.prototype.Seed=function(a){var a,b,c,d,e,f,g,h,i,j;b=this;b.tap=0;b.feed=334;a=$div64(a,new $Int64(0,2147483647),true);if((a.$high<0||(a.$high===0&&a.$low<0))){a=(c=new $Int64(0,2147483647),new $Int64(a.$high+c.$high,a.$low+c.$low));}if((a.$high===0&&a.$low===0)){a=new $Int64(0,89482311);}d=(((a.$low+((a.$high>>31)*4294967296))>>0));e=-20;while(true){if(!(e<607)){break;}d=G(d);if(e>=0){f=new $Int64(0,0);f=$shiftLeft64((new $Int64(0,d)),40);d=G(d);f=(g=$shiftLeft64((new $Int64(0,d)),20),new $Int64(f.$high^g.$high,(f.$low^g.$low)>>>0));d=G(d);f=(h=(new $Int64(0,d)),new $Int64(f.$high^h.$high,(f.$low^h.$low)>>>0));f=(i=((e<0||e>=E.length)?($throwRuntimeError("index out of range"),undefined):E[e]),new $Int64(f.$high^i.$high,(f.$low^i.$low)>>>0));(j=b.vec,((e<0||e>=j.length)?($throwRuntimeError("index out of range"),undefined):j[e]=f));}e=e+(1)>>0;}};F.prototype.Seed=function(a){return this.$val.Seed(a);};F.ptr.prototype.Int63=function(){var a,b,c;a=this;return((b=(c=a.Uint64(),new $Uint64(c.$high&2147483647,(c.$low&4294967295)>>>0)),new $Int64(b.$high,b.$low)));};F.prototype.Int63=function(){return this.$val.Int63();};F.ptr.prototype.Uint64=function(){var a,b,c,d,e,f,g,h,i,j;a=this;a.tap=a.tap-(1)>>0;if(a.tap<0){a.tap=a.tap+(607)>>0;}a.feed=a.feed-(1)>>0;if(a.feed<0){a.feed=a.feed+(607)>>0;}h=(b=(c=a.vec,d=a.feed,((d<0||d>=c.length)?($throwRuntimeError("index out of range"),undefined):c[d])),e=(f=a.vec,g=a.tap,((g<0||g>=f.length)?($throwRuntimeError("index out of range"),undefined):f[g])),new $Int64(b.$high+e.$high,b.$low+e.$low));(i=a.vec,j=a.feed,((j<0||j>=i.length)?($throwRuntimeError("index out of range"),undefined):i[j]=h));return(new $Uint64(h.$high,h.$low));};F.prototype.Uint64=function(){return this.$val.Uint64();};J=function(a){var a,b;b=new F.ptr(0,0,AQ.zero());b.Seed(a);return b;};$pkg.NewSource=J;L=function(a){var a,b,c;b=$assertType(a,I,true);c=b[0];return new K.ptr(a,c,new $Int64(0,0),0);};$pkg.New=L;K.ptr.prototype.Seed=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=$assertType(b.src,AN,true);d=c[0];e=c[1];if(e){d.seedPos(a,(b.$ptr_readPos||(b.$ptr_readPos=new AR(function(){return this.$target.readPos;},function($v){this.$target.readPos=$v;},b))));$s=-1;return;}$r=b.src.Seed(a);$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}b.readPos=0;$s=-1;return;}return;}var $f={$blk:K.ptr.prototype.Seed,$c:true,$r,a,b,c,d,e,$s};ret
|
||
|
|
$packages["github.com/88250/lute/ast"]=(function(){var $pkg={},$init,B,I,J,K,L,C,D,A,E,F,G,H,M,R,S,X,AB,AC,AD,AE,AF,AG,AH,AI,AJ,AK,Q,Y,Z,O,P,T,U,V,W,AA;B=$packages["bytes"];I=$packages["github.com/88250/lute/editor"];J=$packages["github.com/88250/lute/html"];K=$packages["github.com/88250/lute/lex"];L=$packages["github.com/88250/lute/util"];C=$packages["math/rand"];D=$packages["sort"];A=$packages["strconv"];E=$packages["strings"];F=$packages["sync"];G=$packages["time"];H=$packages["unicode/utf8"];M=$pkg.WalkStatus=$newType(4,$kindInt,"ast.WalkStatus",true,"github.com/88250/lute/ast",true,null);R=$pkg.Node=$newType(0,$kindStruct,"ast.Node",true,"github.com/88250/lute/ast",true,function(ID_,Box_,Path_,Spec_,Type_,Parent_,Previous_,Next_,FirstChild_,LastChild_,Children_,Tokens_,TypeStr_,Data_,Close_,LastLineBlank_,LastLineChecked_,CodeMarkerLen_,IsFencedCodeBlock_,CodeBlockFenceChar_,CodeBlockFenceLen_,CodeBlockFenceOffset_,CodeBlockOpenFence_,CodeBlockInfo_,CodeBlockCloseFence_,HtmlBlockType_,ListData_,TaskListItemChecked_,TableAligns_,TableCellAlign_,TableCellContentWidth_,TableCellContentMaxWidth_,LinkType_,LinkRefLabel_,HeadingLevel_,HeadingSetext_,HeadingNormalizedID_,MathBlockDollarOffset_,FootnotesRefLabel_,FootnotesRefId_,FootnotesRefs_,HtmlEntityTokens_,KramdownIAL_,Properties_,TextMarkType_,TextMarkAHref_,TextMarkATitle_,TextMarkInlineMathContent_,TextMarkInlineMemoContent_,TextMarkBlockRefID_,TextMarkBlockRefSubtype_,TextMarkFileAnnotationRefID_,TextMarkTextContent_,AttributeViewID_,AttributeViewType_,CustomBlockFenceOffset_,CustomBlockInfo_){this.$val=this;if(arguments.length===0){this.ID="";this.Box="";this.Path="";this.Spec="";this.Type=0;this.Parent=AB.nil;this.Previous=AB.nil;this.Next=AB.nil;this.FirstChild=AB.nil;this.LastChild=AB.nil;this.Children=AE.nil;this.Tokens=AF.nil;this.TypeStr="";this.Data="";this.Close=false;this.LastLineBlank=false;this.LastLineChecked=false;this.CodeMarkerLen=0;this.IsFencedCodeBlock=false;this.CodeBlockFenceChar=0;this.CodeBlockFenceLen=0;this.CodeBlockFenceOffset=0;this.CodeBlockOpenFence=AF.nil;this.CodeBlockInfo=AF.nil;this.CodeBlockCloseFence=AF.nil;this.HtmlBlockType=0;this.ListData=AG.nil;this.TaskListItemChecked=false;this.TableAligns=AH.nil;this.TableCellAlign=0;this.TableCellContentWidth=0;this.TableCellContentMaxWidth=0;this.LinkType=0;this.LinkRefLabel=AF.nil;this.HeadingLevel=0;this.HeadingSetext=false;this.HeadingNormalizedID="";this.MathBlockDollarOffset=0;this.FootnotesRefLabel=AF.nil;this.FootnotesRefId="";this.FootnotesRefs=AE.nil;this.HtmlEntityTokens=AF.nil;this.KramdownIAL=AI.nil;this.Properties=false;this.TextMarkType="";this.TextMarkAHref="";this.TextMarkATitle="";this.TextMarkInlineMathContent="";this.TextMarkInlineMemoContent="";this.TextMarkBlockRefID="";this.TextMarkBlockRefSubtype="";this.TextMarkFileAnnotationRefID="";this.TextMarkTextContent="";this.AttributeViewID="";this.AttributeViewType="";this.CustomBlockFenceOffset=0;this.CustomBlockInfo="";return;}this.ID=ID_;this.Box=Box_;this.Path=Path_;this.Spec=Spec_;this.Type=Type_;this.Parent=Parent_;this.Previous=Previous_;this.Next=Next_;this.FirstChild=FirstChild_;this.LastChild=LastChild_;this.Children=Children_;this.Tokens=Tokens_;this.TypeStr=TypeStr_;this.Data=Data_;this.Close=Close_;this.LastLineBlank=LastLineBlank_;this.LastLineChecked=LastLineChecked_;this.CodeMarkerLen=CodeMarkerLen_;this.IsFencedCodeBlock=IsFencedCodeBlock_;this.CodeBlockFenceChar=CodeBlockFenceChar_;this.CodeBlockFenceLen=CodeBlockFenceLen_;this.CodeBlockFenceOffset=CodeBlockFenceOffset_;this.CodeBlockOpenFence=CodeBlockOpenFence_;this.CodeBlockInfo=CodeBlockInfo_;this.CodeBlockCloseFence=CodeBlockCloseFence_;this.HtmlBlockType=HtmlBlockType_;this.ListData=ListData_;this.TaskListItemChecked=TaskListItemChecked_;this.TableAligns=TableAligns_;this.TableCellAlign=TableCellAlign_;this.TableCellContentWidth=TableCellContentWidth_;this.TableCellContentMaxWidth=TableCellContentMaxWidth_;this.LinkType=LinkType_;this.LinkRefLabel=LinkRefLabel_;this.HeadingLevel=HeadingLevel_;this.HeadingSetext=HeadingSetext_;this.HeadingNormalized
|
||
|
|
$packages["github.com/88250/lute/parse"]=(function(){var $pkg={},$init,A,B,C,G,K,D,E,I,F,H,L,J,AB,AC,AD,AE,CA,CL,CW,CX,CY,CZ,DA,DB,DC,DD,DE,DF,DG,DH,DI,DJ,DK,DL,DM,DN,DO,DP,DQ,DR,U,AM,AO,AY,AZ,BK,BL,BM,BN,BO,BP,BQ,BR,BZ,CG,CN,CP,CQ,CR,CS,CT,CV,a,M,N,O,P,R,S,T,V,W,X,Y,AA,AF,AG,AH,AI,AJ,AK,AL,AN,AP,AQ,AR,AS,AT,AU,AV,AW,AX,BA,BD,BE,BF,BG,BH,BI,BJ,BS,BT,BU,BV,BW,BX,BY,CC,CD,CE,CF,CH,CI,CJ,CK,CM,CU;A=$packages["bytes"];B=$packages["github.com/88250/lute/ast"];C=$packages["github.com/88250/lute/editor"];G=$packages["github.com/88250/lute/html"];K=$packages["github.com/88250/lute/html/atom"];D=$packages["github.com/88250/lute/lex"];E=$packages["github.com/88250/lute/util"];I=$packages["strconv"];F=$packages["strings"];H=$packages["sync"];L=$packages["unicode"];J=$packages["unicode/utf8"];AB=$pkg.Context=$newType(0,$kindStruct,"parse.Context",true,"github.com/88250/lute/parse",true,function(Tree_,ParseOption_,Tip_,oldtip_,currentLine_,currentLineLen_,offset_,column_,nextNonspace_,nextNonspaceColumn_,indent_,indented_,blank_,partiallyConsumedTab_,allClosed_,lastMatchedContainer_,rootIAL_){this.$val=this;if(arguments.length===0){this.Tree=DH.nil;this.ParseOption=DL.nil;this.Tip=CY.nil;this.oldtip=CY.nil;this.currentLine=CW.nil;this.currentLineLen=0;this.offset=0;this.column=0;this.nextNonspace=0;this.nextNonspaceColumn=0;this.indent=0;this.indented=false;this.blank=false;this.partiallyConsumedTab=false;this.allClosed=false;this.lastMatchedContainer=CY.nil;this.rootIAL=CY.nil;return;}this.Tree=Tree_;this.ParseOption=ParseOption_;this.Tip=Tip_;this.oldtip=oldtip_;this.currentLine=currentLine_;this.currentLineLen=currentLineLen_;this.offset=offset_;this.column=column_;this.nextNonspace=nextNonspace_;this.nextNonspaceColumn=nextNonspaceColumn_;this.indent=indent_;this.indented=indented_;this.blank=blank_;this.partiallyConsumedTab=partiallyConsumedTab_;this.allClosed=allClosed_;this.lastMatchedContainer=lastMatchedContainer_;this.rootIAL=rootIAL_;});AC=$pkg.InlineContext=$newType(0,$kindStruct,"parse.InlineContext",true,"github.com/88250/lute/parse",true,function(tokens_,tokensLen_,pos_,delimiters_,brackets_){this.$val=this;if(arguments.length===0){this.tokens=CW.nil;this.tokensLen=0;this.pos=0;this.delimiters=DM.nil;this.brackets=DM.nil;return;}this.tokens=tokens_;this.tokensLen=tokensLen_;this.pos=pos_;this.delimiters=delimiters_;this.brackets=brackets_;});AD=$pkg.Tree=$newType(0,$kindStruct,"parse.Tree",true,"github.com/88250/lute/parse",true,function(Root_,Context_,lexer_,inlineContext_,Name_,ID_,Box_,Path_,HPath_,Marks_,Created_,Updated_,Hash_){this.$val=this;if(arguments.length===0){this.Root=CY.nil;this.Context=DI.nil;this.lexer=DJ.nil;this.inlineContext=DK.nil;this.Name="";this.ID="";this.Box="";this.Path="";this.HPath="";this.Marks=DC.nil;this.Created=new $Int64(0,0);this.Updated=new $Int64(0,0);this.Hash="";return;}this.Root=Root_;this.Context=Context_;this.lexer=lexer_;this.inlineContext=inlineContext_;this.Name=Name_;this.ID=ID_;this.Box=Box_;this.Path=Path_;this.HPath=HPath_;this.Marks=Marks_;this.Created=Created_;this.Updated=Updated_;this.Hash=Hash_;});AE=$pkg.Options=$newType(0,$kindStruct,"parse.Options",true,"github.com/88250/lute/parse",true,function(GFMTable_,GFMTaskListItem_,GFMStrikethrough_,GFMStrikethrough1_,GFMAutoLink_,Footnotes_,HeadingID_,ToC_,Emoji_,AliasEmoji_,EmojiAlias_,EmojiSite_,VditorWYSIWYG_,VditorIR_,VditorSV_,ProtyleWYSIWYG_,InlineMath_,InlineMathAllowDigitAfterOpenMarker_,Setext_,YamlFrontMatter_,BlockRef_,FileAnnotationRef_,Mark_,KramdownBlockIAL_,KramdownSpanIAL_,Tag_,ImgPathAllowSpace_,SuperBlock_,Sup_,Sub_,InlineAsterisk_,InlineUnderscore_,GitConflict_,LinkRef_,IndentCodeBlock_,ParagraphBeginningSpace_,DataImage_,TextMark_,HTMLTag2TextMark_,Spin_,HTML2MarkdownAttrs_){this.$val=this;if(arguments.length===0){this.GFMTable=false;this.GFMTaskListItem=false;this.GFMStrikethrough=false;this.GFMStrikethrough1=false;this.GFMAutoLink=false;this.Footnotes=false;this.HeadingID=false;this.ToC=false;this.Emoji=false;this.AliasEmoji=false;this.EmojiAlias=false;this.EmojiSite="";this.VditorWYSIWYG=false;thi
|
||
|
|
$packages["encoding"]=(function(){var $pkg={},$init,C,D,E;C=$pkg.TextMarshaler=$newType(8,$kindInterface,"encoding.TextMarshaler",true,"encoding",true,null);D=$pkg.TextUnmarshaler=$newType(8,$kindInterface,"encoding.TextUnmarshaler",true,"encoding",true,null);E=$sliceType($Uint8);C.init([{prop:"MarshalText",name:"MarshalText",pkg:"",typ:$funcType([],[E,$error],false)}]);D.init([{prop:"UnmarshalText",name:"UnmarshalText",pkg:"",typ:$funcType([E],[$error],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:}return;}if($f===undefined){$f={$blk:$init};}$f.$s=$s;$f.$r=$r;return $f;};$pkg.$init=$init;return $pkg;})();
|
||
|
|
$packages["encoding/binary"]=(function(){var $pkg={},$init,A,B,C,D,E,R,AC,L;A=$packages["errors"];B=$packages["io"];C=$packages["math"];D=$packages["reflect"];E=$packages["sync"];R=$pkg.bigEndian=$newType(0,$kindStruct,"binary.bigEndian",true,"encoding/binary",false,function(){this.$val=this;if(arguments.length===0){return;}});AC=$sliceType($Uint8);R.ptr.prototype.Uint16=function(a){var a;$unused((1>=a.$length?($throwRuntimeError("index out of range"),undefined):a.$array[a.$offset+1]));return((((1>=a.$length?($throwRuntimeError("index out of range"),undefined):a.$array[a.$offset+1])<<16>>>16))|((((0>=a.$length?($throwRuntimeError("index out of range"),undefined):a.$array[a.$offset+0])<<16>>>16))<<8<<16>>>16))>>>0;};R.prototype.Uint16=function(a){return this.$val.Uint16(a);};R.ptr.prototype.PutUint16=function(a,b){var a,b;$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]=(((b>>>8<<16>>>16)<<24>>>24)));(1>=a.$length?($throwRuntimeError("index out of range"),undefined):a.$array[a.$offset+1]=((b<<24>>>24)));};R.prototype.PutUint16=function(a,b){return this.$val.PutUint16(a,b);};R.ptr.prototype.AppendUint16=function(a,b){var a,b;return $append(a,(((b>>>8<<16>>>16)<<24>>>24)),((b<<24>>>24)));};R.prototype.AppendUint16=function(a,b){return this.$val.AppendUint16(a,b);};R.ptr.prototype.Uint32=function(a){var a;$unused((3>=a.$length?($throwRuntimeError("index out of range"),undefined):a.$array[a.$offset+3]));return((((((((3>=a.$length?($throwRuntimeError("index out of range"),undefined):a.$array[a.$offset+3])>>>0))|((((2>=a.$length?($throwRuntimeError("index out of range"),undefined):a.$array[a.$offset+2])>>>0))<<8>>>0))>>>0)|((((1>=a.$length?($throwRuntimeError("index out of range"),undefined):a.$array[a.$offset+1])>>>0))<<16>>>0))>>>0)|((((0>=a.$length?($throwRuntimeError("index out of range"),undefined):a.$array[a.$offset+0])>>>0))<<24>>>0))>>>0;};R.prototype.Uint32=function(a){return this.$val.Uint32(a);};R.ptr.prototype.PutUint32=function(a,b){var a,b;$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]=(((b>>>24>>>0)<<24>>>24)));(1>=a.$length?($throwRuntimeError("index out of range"),undefined):a.$array[a.$offset+1]=(((b>>>16>>>0)<<24>>>24)));(2>=a.$length?($throwRuntimeError("index out of range"),undefined):a.$array[a.$offset+2]=(((b>>>8>>>0)<<24>>>24)));(3>=a.$length?($throwRuntimeError("index out of range"),undefined):a.$array[a.$offset+3]=((b<<24>>>24)));};R.prototype.PutUint32=function(a,b){return this.$val.PutUint32(a,b);};R.ptr.prototype.AppendUint32=function(a,b){var a,b;return $append(a,(((b>>>24>>>0)<<24>>>24)),(((b>>>16>>>0)<<24>>>24)),(((b>>>8>>>0)<<24>>>24)),((b<<24>>>24)));};R.prototype.AppendUint32=function(a,b){return this.$val.AppendUint32(a,b);};R.ptr.prototype.Uint64=function(a){var a,b,c,d,e,f,g,h,i,j,k,l,m,n,o;$unused((7>=a.$length?($throwRuntimeError("index out of range"),undefined):a.$array[a.$offset+7]));return(b=(c=(d=(e=(f=(g=(h=(new $Uint64(0,(7>=a.$length?($throwRuntimeError("index out of range"),undefined):a.$array[a.$offset+7]))),i=$shiftLeft64((new $Uint64(0,(6>=a.$length?($throwRuntimeError("index out of range"),undefined):a.$array[a.$offset+6]))),8),new $Uint64(h.$high|i.$high,(h.$low|i.$low)>>>0)),j=$shiftLeft64((new $Uint64(0,(5>=a.$length?($throwRuntimeError("index out of range"),undefined):a.$array[a.$offset+5]))),16),new $Uint64(g.$high|j.$high,(g.$low|j.$low)>>>0)),k=$shiftLeft64((new $Uint64(0,(4>=a.$length?($throwRuntimeError("index out of range"),undefined):a.$array[a.$offset+4]))),24),new $Uint64(f.$high|k.$high,(f.$low|k.$low)>>>0)),l=$shiftLeft64((new $Uint64(0,(3>=a.$length?($throwRuntimeError("index out of range"),undefined):a.$array[a.$offset+3]))),32),new $Uint64(e.$high|l.$high,(e.$low|l.$low)>>>0)),m=$shiftLeft64((new $Uint64(0,(2>=a.$length?($throwRuntimeError("index out of range"),undefined):a.$array[a.
|
||
|
|
$packages["encoding/base64"]=(function(){var $pkg={},$init,A,B,C,D,F,H,N,O,P,Q,R,S,T,V,E,G,J,K;A=$packages["encoding/binary"];B=$packages["io"];C=$packages["strconv"];D=$pkg.Encoding=$newType(0,$kindStruct,"base64.Encoding",true,"encoding/base64",true,function(encode_,decodeMap_,padChar_,strict_){this.$val=this;if(arguments.length===0){this.encode=N.zero();this.decodeMap=O.zero();this.padChar=0;this.strict=false;return;}this.encode=encode_;this.decodeMap=decodeMap_;this.padChar=padChar_;this.strict=strict_;});F=$pkg.encoder=$newType(0,$kindStruct,"base64.encoder",true,"encoding/base64",false,function(err_,enc_,w_,buf_,nbuf_,out_){this.$val=this;if(arguments.length===0){this.err=$ifaceNil;this.enc=Q.nil;this.w=$ifaceNil;this.buf=R.zero();this.nbuf=0;this.out=S.zero();return;}this.err=err_;this.enc=enc_;this.w=w_;this.buf=buf_;this.nbuf=nbuf_;this.out=out_;});H=$pkg.CorruptInputError=$newType(8,$kindInt64,"base64.CorruptInputError",true,"encoding/base64",true,null);N=$arrayType($Uint8,64);O=$arrayType($Uint8,256);P=$sliceType($Uint8);Q=$ptrType(D);R=$arrayType($Uint8,3);S=$arrayType($Uint8,1024);T=$arrayType($Uint8,4);V=$ptrType(F);E=function(a){var a,b,c,d,e,f,g,h;if(!((a.length===64))){$panic(new $String("encoding alphabet is not 64-bytes long"));}b=0;while(true){if(!(b<a.length)){break;}if((a.charCodeAt(b)===10)||(a.charCodeAt(b)===13)){$panic(new $String("encoding alphabet contains newline character"));}b=b+(1)>>0;}c=new D.ptr(N.zero(),O.zero(),0,false);c.padChar=61;$copyString(new P(c.encode),a);d=0;while(true){if(!(d<256)){break;}(e=c.decodeMap,((d<0||d>=e.length)?($throwRuntimeError("index out of range"),undefined):e[d]=255));d=d+(1)>>0;}f=0;while(true){if(!(f<a.length)){break;}(g=c.decodeMap,h=a.charCodeAt(f),((h<0||h>=g.length)?($throwRuntimeError("index out of range"),undefined):g[h]=((f<<24>>>24))));f=f+(1)>>0;}return c;};$pkg.NewEncoding=E;D.ptr.prototype.WithPadding=function(a){var a,b,c,d;b=this;if((a===13)||(a===10)||a>255){$panic(new $String("invalid padding"));}c=0;while(true){if(!(c<64)){break;}if((((d=b.encode,((c<0||c>=d.length)?($throwRuntimeError("index out of range"),undefined):d[c]))>>0))===a){$panic(new $String("padding contained in alphabet"));}c=c+(1)>>0;}b.padChar=a;return b;};D.prototype.WithPadding=function(a){return this.$val.WithPadding(a);};D.ptr.prototype.Strict=function(){var a;a=this;a.strict=true;return a;};D.prototype.Strict=function(){return this.$val.Strict();};D.ptr.prototype.Encode=function(a,b){var a,aa,ab,ac,ad,ae,af,ag,ah,ai,aj,ak,al,am,an,ao,ap,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;c=this;if(b.$length===0){return;}$unused(c.encode);d=0;e=0;f=d;g=e;i=$imul(((h=b.$length/3,(h===h&&h!==1/0&&h!==-1/0)?h>>0:$throwRuntimeError("integer divide by zero"))),3);while(true){if(!(g<i)){break;}m=(((((((j=g+0>>0,((j<0||j>=b.$length)?($throwRuntimeError("index out of range"),undefined):b.$array[b.$offset+j]))>>>0))<<16>>>0)|((((k=g+1>>0,((k<0||k>=b.$length)?($throwRuntimeError("index out of range"),undefined):b.$array[b.$offset+k]))>>>0))<<8>>>0))>>>0)|(((l=g+2>>0,((l<0||l>=b.$length)?($throwRuntimeError("index out of range"),undefined):b.$array[b.$offset+l]))>>>0)))>>>0;(p=f+0>>0,((p<0||p>=a.$length)?($throwRuntimeError("index out of range"),undefined):a.$array[a.$offset+p]=(n=c.encode,o=((m>>>18>>>0)&63)>>>0,((o<0||o>=n.length)?($throwRuntimeError("index out of range"),undefined):n[o]))));(s=f+1>>0,((s<0||s>=a.$length)?($throwRuntimeError("index out of range"),undefined):a.$array[a.$offset+s]=(q=c.encode,r=((m>>>12>>>0)&63)>>>0,((r<0||r>=q.length)?($throwRuntimeError("index out of range"),undefined):q[r]))));(v=f+2>>0,((v<0||v>=a.$length)?($throwRuntimeError("index out of range"),undefined):a.$array[a.$offset+v]=(t=c.encode,u=((m>>>6>>>0)&63)>>>0,((u<0||u>=t.length)?($throwRuntimeError("index out of range"),undefined):t[u]))));(y=f+3>>0,((y<0||y>=a.$length)?($throwRuntimeError("index out of range"),undefined):a.$array[a.$offset+y]=(w=c.encode,x=(m&63)>>>0,((x<0||x>=w.length)?($throwRuntimeError("index out of range"),undefined):w[x]))));g=g+(3)>>0;f=f+(4)>>0;}z=b.$length-g>>0;if
|
||
|
|
$packages["unicode/utf16"]=(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["encoding/json"]=(function(){var $pkg={},$init,C,H,I,D,J,G,E,K,L,M,F,A,N,O,B,P,AD,AE,CA,CB,CC,CE,CG,CJ,CL,CM,DB,DI,DJ,DL,DO,DQ,DS,DU,DY,DZ,EA,EK,EV,EX,EY,EZ,FA,FB,FG,FH,FI,FJ,FK,FL,FM,FO,FU,FV,FW,FX,FZ,GA,GB,GC,GD,R,S,AF,CF,CH,CN,CQ,CR,DC,DD,ED,EQ,ER,a,b,c,Q,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,BQ,BT,BU,BV,BW,BX,BZ,CI,CK,CO,CP,CS,CT,CU,CV,CW,CX,CY,CZ,DA,DE,DF,DG,DH,DK,DM,DN,DP,DR,DT,DV,DW,DX,EB,EC,EE;C=$packages["bytes"];H=$packages["encoding"];I=$packages["encoding/base64"];D=$packages["errors"];J=$packages["fmt"];G=$packages["github.com/gopherjs/gopherjs/nosync"];E=$packages["io"];K=$packages["math"];L=$packages["reflect"];M=$packages["sort"];F=$packages["strconv"];A=$packages["strings"];N=$packages["unicode"];O=$packages["unicode/utf16"];B=$packages["unicode/utf8"];P=$pkg.tagOptions=$newType(8,$kindString,"json.tagOptions",true,"encoding/json",false,null);AD=$pkg.SyntaxError=$newType(0,$kindStruct,"json.SyntaxError",true,"encoding/json",true,function(msg_,Offset_){this.$val=this;if(arguments.length===0){this.msg="";this.Offset=new $Int64(0,0);return;}this.msg=msg_;this.Offset=Offset_;});AE=$pkg.scanner=$newType(0,$kindStruct,"json.scanner",true,"encoding/json",false,function(step_,endTop_,parseState_,err_,bytes_){this.$val=this;if(arguments.length===0){this.step=$throwNilPointerError;this.endTop=false;this.parseState=EX.nil;this.err=$ifaceNil;this.bytes=new $Int64(0,0);return;}this.step=step_;this.endTop=endTop_;this.parseState=parseState_;this.err=err_;this.bytes=bytes_;});CA=$pkg.Marshaler=$newType(8,$kindInterface,"json.Marshaler",true,"encoding/json",true,null);CB=$pkg.UnsupportedTypeError=$newType(0,$kindStruct,"json.UnsupportedTypeError",true,"encoding/json",true,function(Type_){this.$val=this;if(arguments.length===0){this.Type=$ifaceNil;return;}this.Type=Type_;});CC=$pkg.UnsupportedValueError=$newType(0,$kindStruct,"json.UnsupportedValueError",true,"encoding/json",true,function(Value_,Str_){this.$val=this;if(arguments.length===0){this.Value=new L.Value.ptr(FO.nil,0,0);this.Str="";return;}this.Value=Value_;this.Str=Str_;});CE=$pkg.MarshalerError=$newType(0,$kindStruct,"json.MarshalerError",true,"encoding/json",true,function(Type_,Err_,sourceFunc_){this.$val=this;if(arguments.length===0){this.Type=$ifaceNil;this.Err=$ifaceNil;this.sourceFunc="";return;}this.Type=Type_;this.Err=Err_;this.sourceFunc=sourceFunc_;});CG=$pkg.encodeState=$newType(0,$kindStruct,"json.encodeState",true,"encoding/json",false,function(Buffer_,scratch_,ptrLevel_,ptrSeen_){this.$val=this;if(arguments.length===0){this.Buffer=new C.Buffer.ptr(FA.nil,0,0);this.scratch=FI.zero();this.ptrLevel=0;this.ptrSeen=false;return;}this.Buffer=Buffer_;this.scratch=scratch_;this.ptrLevel=ptrLevel_;this.ptrSeen=ptrSeen_;});CJ=$pkg.jsonError=$newType(0,$kindStruct,"json.jsonError",true,"encoding/json",false,function(error_){this.$val=this;if(arguments.length===0){this.error=$ifaceNil;return;}this.error=error_;});CL=$pkg.encOpts=$newType(0,$kindStruct,"json.encOpts",true,"encoding/json",false,function(quoted_,escapeHTML_){this.$val=this;if(arguments.length===0){this.quoted=false;this.escapeHTML=false;return;}this.quoted=quoted_;this.escapeHTML=escapeHTML_;});CM=$pkg.encoderFunc=$newType(4,$kindFunc,"json.encoderFunc",true,"encoding/json",false,null);DB=$pkg.floatEncoder=$newType(4,$kindInt,"json.floatEncoder",true,"encoding/json",false,null);DI=$pkg.structEncoder=$newType(0,$kindStruct,"json.structEncoder",true,"encoding/json",false,function(fields_){this.$val=this;if(arguments.length===0){this.fields=new DJ.ptr(FJ.nil,false);return;}this.fields=fields_;});DJ=$pkg.structFields=$newType(0,$kindStruct,"json.structFields",true,"encoding/json",false,function(list_,nameIndex_){this.$val=this;if(arguments.length===0){this.list=FJ.nil;this.nameIndex=false;return;}this.list=list_;this.nameIndex=nameIndex_;});DL=$pkg.mapEncoder=$newType(0,$kindStruct,"json.mapEncoder",true,"encoding/json",false,function(elemEnc_){this.$val=this;if(arguments.length===0){this.elemEnc=$throwNilPointerError;retu
|
||
|
|
$packages["github.com/88250/lute/render"]=(function(){var $pkg={},$init,A,M,H,F,G,I,J,K,L,B,C,D,E,N,P,R,T,AL,AM,AO,AQ,AW,BC,BE,BI,BS,BV,BY,CA,CG,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,DO,DP,DR,DT,DU,DV,DW,X,AC,AK,AZ,CD,CF,O,Q,S,U,V,W,Y,Z,AA,AB,AD,AE,AF,AG,AH,AI,AJ,AP,AR,AS,AT,AU,AV,AX,AY,BA,BD,BF,BJ,BK,BN,BO,BP,BQ,BR,BT,BU,BW,BX,BZ,CB,CH;A=$packages["bytes"];M=$packages["encoding/json"];H=$packages["github.com/88250/lute/ast"];F=$packages["github.com/88250/lute/editor"];G=$packages["github.com/88250/lute/html"];I=$packages["github.com/88250/lute/lex"];J=$packages["github.com/88250/lute/parse"];K=$packages["github.com/88250/lute/util"];L=$packages["io"];B=$packages["strconv"];C=$packages["strings"];D=$packages["unicode"];E=$packages["unicode/utf8"];N=$pkg.VditorRenderer=$newType(0,$kindStruct,"render.VditorRenderer",true,"github.com/88250/lute/render",true,function(BaseRenderer_,commentStackDepth_){this.$val=this;if(arguments.length===0){this.BaseRenderer=CK.nil;this.commentStackDepth=0;return;}this.BaseRenderer=BaseRenderer_;this.commentStackDepth=commentStackDepth_;});P=$pkg.VditorSVRenderer=$newType(0,$kindStruct,"render.VditorSVRenderer",true,"github.com/88250/lute/render",true,function(BaseRenderer_,nodeWriterStack_,LastOut_){this.$val=this;if(arguments.length===0){this.BaseRenderer=CK.nil;this.nodeWriterStack=CT.nil;this.LastOut=CI.nil;return;}this.BaseRenderer=BaseRenderer_;this.nodeWriterStack=nodeWriterStack_;this.LastOut=LastOut_;});R=$pkg.VditorIRRenderer=$newType(0,$kindStruct,"render.VditorIRRenderer",true,"github.com/88250/lute/render",true,function(BaseRenderer_){this.$val=this;if(arguments.length===0){this.BaseRenderer=CK.nil;return;}this.BaseRenderer=BaseRenderer_;});T=$pkg.TextBundleRenderer=$newType(0,$kindStruct,"render.TextBundleRenderer",true,"github.com/88250/lute/render",true,function(FormatRenderer_,linkPrefixes_,originalLink_){this.$val=this;if(arguments.length===0){this.FormatRenderer=CX.nil;this.linkPrefixes=CJ.nil;this.originalLink=CJ.nil;return;}this.FormatRenderer=FormatRenderer_;this.linkPrefixes=linkPrefixes_;this.originalLink=originalLink_;});AL=$pkg.RendererFunc=$newType(4,$kindFunc,"render.RendererFunc",true,"github.com/88250/lute/render",true,null);AM=$pkg.ExtRendererFunc=$newType(4,$kindFunc,"render.ExtRendererFunc",true,"github.com/88250/lute/render",true,null);AO=$pkg.Options=$newType(0,$kindStruct,"render.Options",true,"github.com/88250/lute/render",true,function(SoftBreak2HardBreak_,AutoSpace_,RenderListStyle_,CodeSyntaxHighlight_,CodeSyntaxHighlightDetectLang_,CodeSyntaxHighlightInlineStyle_,CodeSyntaxHighlightLineNum_,CodeSyntaxHighlightStyleName_,VditorWYSIWYG_,VditorIR_,VditorSV_,ProtyleWYSIWYG_,KramdownBlockIAL_,KramdownSpanIAL_,SuperBlock_,ImageLazyLoading_,ChineseParagraphBeginningSpace_,Sanitize_,FixTermTypo_,Terms_,ToC_,HeadingID_,KramdownIALIDRenderName_,HeadingAnchor_,GFMTaskListItemClass_,VditorCodeBlockPreview_,VditorMathBlockPreview_,VditorHTMLBlockPreview_,LinkBase_,LinkPrefix_,NodeIndexStart_,ProtyleContenteditable_,KeepParagraphBeginningSpace_,ProtyleMarkNetImg_,Spellcheck_,UnorderedListMarker_,ImgTag_,PreventEncodeLinkSpace_){this.$val=this;if(arguments.length===0){this.SoftBreak2HardBreak=false;this.AutoSpace=false;this.RenderListStyle=false;this.CodeSyntaxHighlight=false;this.CodeSyntaxHighlightDetectLang=false;this.CodeSyntaxHighlightInlineStyle=false;this.CodeSyntaxHighlightLineNum=false;this.CodeSyntaxHighlightStyleName="";this.VditorWYSIWYG=false;this.VditorIR=false;this.VditorSV=false;this.ProtyleWYSIWYG=false;this.KramdownBlockIAL=false;this.KramdownSpanIAL=false;this.SuperBlock=false;this.ImageLazyLoading="";this.ChineseParagraphBeginningSpace=false;this.Sanitize=false;this.FixTermTypo=false;this.Terms=false;this.ToC=false;this.HeadingID=false;this.KramdownIALIDRenderName="";this.HeadingAnchor=false;this.GFMTaskListItemClass="";this.VditorCodeBlockPreview=false;this.VditorMathBlockPreview=false;this.VditorHTMLBlockPreview=false;this.LinkBase="";this.LinkPrefix="";this.NodeIndexStart=0;this.Protyle
|
||
|
|
$packages["github.com/88250/lute"]=(function(){var $pkg={},$init,A,M,K,D,E,F,G,L,H,I,J,O,P,B,C,N,Q,S,AA,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,U,V,X,a,b,R,T,W,AB,AC,AD;A=$packages["bytes"];M=$packages["errors"];K=$packages["fmt"];D=$packages["github.com/88250/lute/ast"];E=$packages["github.com/88250/lute/editor"];F=$packages["github.com/88250/lute/html"];G=$packages["github.com/88250/lute/html/atom"];L=$packages["github.com/88250/lute/lex"];H=$packages["github.com/88250/lute/parse"];I=$packages["github.com/88250/lute/render"];J=$packages["github.com/88250/lute/util"];O=$packages["github.com/gopherjs/gopherjs/js"];P=$packages["path"];B=$packages["strconv"];C=$packages["strings"];N=$packages["sync"];Q=$packages["unicode"];S=$pkg.Lute=$newType(0,$kindStruct,"lute.Lute",true,"github.com/88250/lute",true,function(ParseOptions_,RenderOptions_,HTML2MdRendererFuncs_,HTML2VditorDOMRendererFuncs_,HTML2VditorIRDOMRendererFuncs_,HTML2BlockDOMRendererFuncs_,HTML2VditorSVDOMRendererFuncs_,Md2HTMLRendererFuncs_,Md2VditorDOMRendererFuncs_,Md2VditorIRDOMRendererFuncs_,Md2BlockDOMRendererFuncs_,Md2VditorSVDOMRendererFuncs_){this.$val=this;if(arguments.length===0){this.ParseOptions=AR.nil;this.RenderOptions=AF.nil;this.HTML2MdRendererFuncs=false;this.HTML2VditorDOMRendererFuncs=false;this.HTML2VditorIRDOMRendererFuncs=false;this.HTML2BlockDOMRendererFuncs=false;this.HTML2VditorSVDOMRendererFuncs=false;this.Md2HTMLRendererFuncs=false;this.Md2VditorDOMRendererFuncs=false;this.Md2VditorIRDOMRendererFuncs=false;this.Md2BlockDOMRendererFuncs=false;this.Md2VditorSVDOMRendererFuncs=false;return;}this.ParseOptions=ParseOptions_;this.RenderOptions=RenderOptions_;this.HTML2MdRendererFuncs=HTML2MdRendererFuncs_;this.HTML2VditorDOMRendererFuncs=HTML2VditorDOMRendererFuncs_;this.HTML2VditorIRDOMRendererFuncs=HTML2VditorIRDOMRendererFuncs_;this.HTML2BlockDOMRendererFuncs=HTML2BlockDOMRendererFuncs_;this.HTML2VditorSVDOMRendererFuncs=HTML2VditorSVDOMRendererFuncs_;this.Md2HTMLRendererFuncs=Md2HTMLRendererFuncs_;this.Md2VditorDOMRendererFuncs=Md2VditorDOMRendererFuncs_;this.Md2VditorIRDOMRendererFuncs=Md2VditorIRDOMRendererFuncs_;this.Md2BlockDOMRendererFuncs=Md2BlockDOMRendererFuncs_;this.Md2VditorSVDOMRendererFuncs=Md2VditorSVDOMRendererFuncs_;});AA=$pkg.ParseOption=$newType(4,$kindFunc,"lute.ParseOption",true,"github.com/88250/lute",true,null);AE=$ptrType(H.Tree);AF=$ptrType(I.Options);AG=$sliceType($Uint8);AH=$ptrType(F.Node);AI=$ptrType(D.Node);AJ=$ptrType(H.Context);AK=$ptrType(L.Lexer);AL=$ptrType(H.InlineContext);AM=$sliceType($String);AN=$sliceType(AI);AO=$ptrType(D.ListData);AP=$sliceType($Int);AQ=$sliceType(AM);AR=$ptrType(H.Options);AS=$sliceType(G.Atom);AT=$ptrType(F.Attribute);AU=$sliceType(AT);AV=$sliceType(AH);AW=$ptrType(AV);AX=$sliceType($emptyInterface);AY=$ptrType(S);AZ=$sliceType(AA);BA=$ptrType($error);BB=$ptrType(A.Buffer);BC=$sliceType(BB);BD=$mapType($String,$emptyInterface);BE=$sliceType(D.NodeType);BF=$sliceType($Int32);BG=$mapType($String,$String);BH=$ptrType(O.Object);BI=$mapType($String,BH);BJ=$mapType($String,BI);BK=$mapType(D.NodeType,I.ExtRendererFunc);S.ptr.prototype.Md2HTML=function(c){var{c,d,e,f,$s,$r,$c}=$restore(this,{c});$s=$s||0;s:while(true){switch($s){case 0:d="";e=this;f=e.MarkdownStr("",c);$s=1;case 1:if($c){$c=false;f=f.$blk();}if(f&&f.$blk!==undefined){break s;}d=f;$s=-1;return d;}return;}var $f={$blk:S.ptr.prototype.Md2HTML,$c:true,$r,c,d,e,f,$s};return $f;};S.prototype.Md2HTML=function(c){return this.$val.Md2HTML(c);};S.ptr.prototype.SpinVditorDOM=function(c){var{c,d,e,f,g,h,i,j,k,l,m,$s,$r,$c}=$restore(this,{c});$s=$s||0;s:while(true){switch($s){case 0:d="";e=this;c=C.ReplaceAll(c,"<wbr>","\xE2\x80\xB8");f=e.vditorDOM2Md(c);$s=1;case 1:if($c){$c=false;f=f.$blk();}if(f&&f.$blk!==undefined){break s;}g=f;h=H.Parse("",(new AG($stringToBytes(g))),e.ParseOptions);$s=2;case 2:if($c){$c=false;h=h.$blk();}if(h&&h.$blk!==undefined){break s;}i=h;j=I.NewVditorRenderer(i,e.RenderOptions);$s=3;case 3:if($c){$c=false;j=j.$blk();}if(j&&j.$blk!==undefined){break
|
||
|
|
$packages["github.com/88250/lute/javascript"]=(function(){var $pkg={},$init,A,B,C,D,E,F,J,K,L,M,N,O,P,Q,R,S,G,H,I;A=$packages["github.com/88250/lute"];B=$packages["github.com/88250/lute/ast"];C=$packages["github.com/88250/lute/editor"];D=$packages["github.com/88250/lute/html"];E=$packages["github.com/88250/lute/render"];F=$packages["github.com/gopherjs/gopherjs/js"];J=$ptrType(F.Object);K=$mapType($String,J);L=$mapType($String,K);M=$funcType([L],[J],false);N=$ptrType(B.Node);O=$funcType([N],[$String],false);P=$funcType([],[$String],false);Q=$funcType([$String],[$String],false);R=$mapType($String,$emptyInterface);S=$sliceType(A.ParseOption);G=function(){$global.Lute=$externalize($makeMap($String.keyFor,[{k:"Version",v:new $String("1.7.6")},{k:"New",v:new M(H)},{k:"WalkStop",v:new $Int(0)},{k:"WalkSkipChildren",v:new $Int(1)},{k:"WalkContinue",v:new $Int(2)},{k:"GetHeadingID",v:new O(E.HeadingID)},{k:"Caret",v:new $String("\xE2\x80\xB8")},{k:"NewNodeID",v:new P(B.NewNodeID)},{k:"EscapeHTMLStr",v:new Q(D.EscapeHTMLStr)},{k:"UnEscapeHTMLStr",v:new Q(D.UnescapeHTMLStr)},{k:"EChartsMindmapStr",v:new Q(E.EChartsMindmapStr)},{k:"Sanitize",v:new Q(E.Sanitize)},{k:"BlockDOM2Content",v:new Q(I)}]),R);};H=function(a){var{a,b,c,$s,$r,$c}=$restore(this,{a});$s=$s||0;s:while(true){switch($s){case 0:b=A.New(S.nil);$s=1;case 1:if($c){$c=false;b=b.$blk();}if(b&&b.$blk!==undefined){break s;}c=b;$r=c.SetJSRenderers(a);$s=2;case 2:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return F.MakeWrapper(c);}return;}var $f={$blk:H,$c:true,$r,a,b,c,$s};return $f;};$pkg.New=H;I=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=A.New(S.nil);$s=1;case 1:if($c){$c=false;b=b.$blk();}if(b&&b.$blk!==undefined){break s;}c=b;c.SetProtyleWYSIWYG(true);c.SetBlockRef(true);c.SetFileAnnotationRef(true);c.SetKramdownIAL(true);c.SetTag(true);c.SetSuperBlock(true);c.SetImgPathAllowSpace(true);c.SetGitConflict(true);c.SetMark(true);c.SetSup(true);c.SetSub(true);c.SetInlineMathAllowDigitAfterOpenMarker(true);c.SetFootnotes(false);c.SetToC(false);c.SetIndentCodeBlock(false);c.SetParagraphBeginningSpace(true);c.SetAutoSpace(false);c.SetHeadingID(false);c.SetSetext(false);c.SetYamlFrontMatter(false);c.SetLinkRef(false);c.SetCodeSyntaxHighlight(false);c.SetSanitize(true);d=c.BlockDOM2Content(a);$s=2;case 2:if($c){$c=false;d=d.$blk();}if(d&&d.$blk!==undefined){break s;}e=d;$s=3;case 3:return e;}return;}var $f={$blk:I,$c:true,$r,a,b,c,d,e,$s};return $f;};$pkg.BlockDOM2Content=I;$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;}$r=D.$init();$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=E.$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;}if($pkg===$mainPkg){G();$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["github.com/88250/lute/javascript"];
|
||
|
|
$packages["runtime"].$init();
|
||
|
|
$go($mainPkg.$init, []);
|
||
|
|
$flushConsole();
|
||
|
|
|
||
|
|
}).call(this);
|
||
|
|
|