🐛 有图片的表格拖拽后列宽异常 Fix https://github.com/siyuan-note/siyuan/issues/7556

This commit is contained in:
Liang Ding committed 2023-03-03 12:43:16 +08:00
1 parent 4f11da8176
commit fd89393938
3 files changed
+7 -3

No files matched your search

+2 -2
View File
@@ -35,7 +35,7 @@ $packages["internal/oserror"]=(function(){var $pkg={},$init,A;A=$packages["error
$packages["syscall"]=(function(){var $pkg={},$init,D,A,E,F,G,H,B,C,CM,EU,EV,HS,HT,IB,IC,ID,IE,OL,OU,OZ,PA,PB,PC,PD,PE,PF,PG,PH,PI,PJ,PK,PL,PM,QJ,QO,QQ,QY,RD,RJ,RK,RL,RP,RX,RY,SE,SF,SG,SH,SI,SK,SO,SP,SS,ST,SV,SX,SY,SZ,TA,TB,TC,TD,TE,TK,TQ,I,J,T,U,V,AK,HD,HU,HV,HW,IX,QX,JD,K,L,M,P,Q,W,X,Y,Z,AC,BM,BN,CK,CL,DK,DL,EW,EX,EY,FH,FI,FK,GC,HI,HX,HZ,IA,II,IJ,IK,IL,IM,IN,IO,IP,IR,IY,JW,JX,KC,KD,KF,KI,KJ,LC,LR,LU,LY,MH,MI,MK,MV,MW,MY,NE,NK,NL,NO,NQ,NR,NW,NX,NY,NZ,OA;D=$packages["errors"];A=$packages["github.com/gopherjs/gopherjs/js"];E=$packages["internal/bytealg"];F=$packages["internal/oserror"];G=$packages["internal/race"];H=$packages["internal/unsafeheader"];B=$packages["runtime"];C=$packages["sync"];CM=$pkg.RawConn=$newType(8,$kindInterface,"syscall.RawConn",true,"syscall",true,null);EU=$pkg.SockaddrLinklayer=$newType(0,$kindStruct,"syscall.SockaddrLinklayer",true,"syscall",true,function(Protocol_,Ifindex_,Hatype_,Pkttype_,Halen_,Addr_,raw_){this.$val=this;if(arguments.length===0){this.Protocol=0;this.Ifindex=0;this.Hatype=0;this.Pkttype=0;this.Halen=0;this.Addr=RJ.zero();this.raw=new PC.ptr(0,0,0,0,0,0,RJ.zero());return;}this.Protocol=Protocol_;this.Ifindex=Ifindex_;this.Hatype=Hatype_;this.Pkttype=Pkttype_;this.Halen=Halen_;this.Addr=Addr_;this.raw=raw_;});EV=$pkg.SockaddrNetlink=$newType(0,$kindStruct,"syscall.SockaddrNetlink",true,"syscall",true,function(Family_,Pad_,Pid_,Groups_,raw_){this.$val=this;if(arguments.length===0){this.Family=0;this.Pad=0;this.Pid=0;this.Groups=0;this.raw=new PD.ptr(0,0,0,0);return;}this.Family=Family_;this.Pad=Pad_;this.Pid=Pid_;this.Groups=Groups_;this.raw=raw_;});HS=$pkg.mmapper=$newType(0,$kindStruct,"syscall.mmapper",true,"syscall",false,function(Mutex_,active_,mmap_,munmap_){this.$val=this;if(arguments.length===0){this.Mutex=new C.Mutex.ptr(0,0);this.active=false;this.mmap=$throwNilPointerError;this.munmap=$throwNilPointerError;return;}this.Mutex=Mutex_;this.active=active_;this.mmap=mmap_;this.munmap=munmap_;});HT=$pkg.Errno=$newType(4,$kindUintptr,"syscall.Errno",true,"syscall",true,null);IB=$pkg.Sockaddr=$newType(8,$kindInterface,"syscall.Sockaddr",true,"syscall",true,null);IC=$pkg.SockaddrInet4=$newType(0,$kindStruct,"syscall.SockaddrInet4",true,"syscall",true,function(Port_,Addr_,raw_){this.$val=this;if(arguments.length===0){this.Port=0;this.Addr=SF.zero();this.raw=new OZ.ptr(0,0,SF.zero(),RJ.zero());return;}this.Port=Port_;this.Addr=Addr_;this.raw=raw_;});ID=$pkg.SockaddrInet6=$newType(0,$kindStruct,"syscall.SockaddrInet6",true,"syscall",true,function(Port_,ZoneId_,Addr_,raw_){this.$val=this;if(arguments.length===0){this.Port=0;this.ZoneId=0;this.Addr=RL.zero();this.raw=new PA.ptr(0,0,0,RL.zero(),0);return;}this.Port=Port_;this.ZoneId=ZoneId_;this.Addr=Addr_;this.raw=raw_;});IE=$pkg.SockaddrUnix=$newType(0,$kindStruct,"syscall.SockaddrUnix",true,"syscall",true,function(Name_,raw_){this.$val=this;if(arguments.length===0){this.Name="";this.raw=new PB.ptr(0,SE.zero());return;}this.Name=Name_;this.raw=raw_;});OL=$pkg.Timespec=$newType(0,$kindStruct,"syscall.Timespec",true,"syscall",true,function(Sec_,Nsec_){this.$val=this;if(arguments.length===0){this.Sec=new $Int64(0,0);this.Nsec=new $Int64(0,0);return;}this.Sec=Sec_;this.Nsec=Nsec_;});OU=$pkg.Stat_t=$newType(0,$kindStruct,"syscall.Stat_t",true,"syscall",true,function(Dev_,Ino_,Nlink_,Mode_,Uid_,Gid_,X__pad0_,Rdev_,Size_,Blksize_,Blocks_,Atim_,Mtim_,Ctim_,X__unused_){this.$val=this;if(arguments.length===0){this.Dev=new $Uint64(0,0);this.Ino=new $Uint64(0,0);this.Nlink=new $Uint64(0,0);this.Mode=0;this.Uid=0;this.Gid=0;this.X__pad0=0;this.Rdev=new $Uint64(0,0);this.Size=new $Int64(0,0);this.Blksize=new $Int64(0,0);this.Blocks=new $Int64(0,0);this.Atim=new OL.ptr(new $Int64(0,0),new $Int64(0,0));this.Mtim=new OL.ptr(new $Int64(0,0),new $Int64(0,0));this.Ctim=new OL.ptr(new $Int64(0,0),new $Int64(0,0));this.X__unused=RY.zero();return;}this.Dev=Dev_;this.Ino=Ino_;this.Nlink=Nlink_;this.Mode=Mode_;this.Uid=Uid_;this.Gid=Gid_;this.X__pad0=X__pad0_;this.Rdev=Rdev_;this.Size=Size_;this.Blksize=Blksize_;this.Blocks=Blocks_;this.Atim=Atim_;this.Mtim=Mtim_;this.Ctim=Ctim_;this.X__unused=X__unused_;});OZ=$pkg.RawSockaddrInet4=$newType(0,$kindStruct,"syscall.RawSockaddrInet4",true,"syscall",true,function(Family_,Port_,Addr_,Zero_){this.$val=this;if(arguments.length===0){this.Family=0;this.Port=0;this.Addr=SF.zero();this.Zero=RJ.zero();return;}this.Family=Family_;this.Port=Port_;this.Addr=Addr_;this.Zero=Zero_;});PA=$pkg.RawSockaddrInet6=$newType(0,$kindStruct,"syscall.RawSockaddrInet6",true,"syscall",true,function(Family_,Port_,Flowinfo_,Addr_,Scope_id_){this.$val=this;if(arguments.length===0){this.Family=0;this.Port=0;this.Flowinfo=0;this.Addr=RL.zero();this.Scope_id=0;return;}this.Family=Family_;this.Port=Port_;this.Flowinfo=Flowinfo_;this.Addr=Addr_;this.Scope_id=Scope_id_;});PB=$pkg.RawSockaddrUnix=$newType(0,$kindStruct,"syscall.RawSockaddrUnix",true,"syscall",true,function(Family_,Path_){this.$val=this;if(arguments.length===0){this.Line truncated
$packages["time"]=(function(){var $pkg={},$init,C,B,E,A,D,AG,BO,BP,BQ,BT,CM,CN,CO,CW,CX,DY,DZ,EA,EC,EE,EF,EG,EH,EI,EL,EQ,EU,O,S,V,W,X,Y,AC,AF,AU,CA,CE,CP,DW,CQ,DX,CR,DB,DL,i,F,H,Q,R,T,U,Z,AA,AB,AD,AE,AH,AI,AJ,AK,AL,AM,AN,AP,AQ,AR,AS,AT,AV,BR,BS,BU,BV,BW,BZ,CB,CC,CD,CF,CG,CH,CI,CJ,CK,CL,CS,CT,CU,CV,CY,CZ,DA;C=$packages["errors"];B=$packages["github.com/gopherjs/gopherjs/js"];E=$packages["github.com/gopherjs/gopherjs/nosync"];A=$packages["runtime"];D=$packages["syscall"];AG=$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_;});BO=$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=EI.nil;return;}this.wall=wall_;this.ext=ext_;this.loc=loc_;});BP=$pkg.Month=$newType(4,$kindInt,"time.Month",true,"time",true,null);BQ=$pkg.Weekday=$newType(4,$kindInt,"time.Weekday",true,"time",true,null);BT=$pkg.Duration=$newType(8,$kindInt64,"time.Duration",true,"time",true,null);CM=$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=DY.nil;this.tx=DZ.nil;this.extend="";this.cacheStart=new $Int64(0,0);this.cacheEnd=new $Int64(0,0);this.cacheZone=EA.nil;return;}this.name=name_;this.zone=zone_;this.tx=tx_;this.extend=extend_;this.cacheStart=cacheStart_;this.cacheEnd=cacheEnd_;this.cacheZone=cacheZone_;});CN=$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_;});CO=$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_;});CW=$pkg.ruleKind=$newType(4,$kindInt,"time.ruleKind",true,"time",false,null);CX=$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_;});DY=$sliceType(CN);DZ=$sliceType(CO);EA=$ptrType(CN);EC=$sliceType($String);EE=$arrayType($Uint8,20);EF=$sliceType($Uint8);EG=$arrayType($Uint8,9);EH=$arrayType($Uint8,64);EI=$ptrType(CM);EL=$arrayType($Uint8,32);EQ=$ptrType(AG);EU=$ptrType(BO);F=function(){$unused(CH(new $Int64(0,0),new $Int64(0,0)));};H=function(){var j,k,l,m,n,o,p,q;j=new $Int64(0,0);k=0;l=new $Int64(0,0);m=CD();n=$div64(m,new $Int64(0,1000000000),false);o=(((p=$div64(m,new $Int64(0,1000000000),true),p.$low+((p.$high>>31)*4294967296))>>0));q=m;j=n;k=o;l=q;return[j,k,l];};Q=function(){var j,k,l,m,n,o;CQ.name="Local";j=new CN.ptr("",0,false);k=new($global.Date)();l=$imul(($parseInt(k.getTimezoneOffset())>>0),-1);j.offset=$imul(l,60);j.name="UTC";if(l<0){j.name=j.name+("-");l=$imul(l,(-1));}else{j.name=j.name+("+");}j.name=j.name+(R((m=l/60,(m===m&&m!==1/0&&m!==-1/0)?m>>0:$throwRuntimeError("integer divide by zero"))));o=(n=l%60,n===n?n:$throwRuntimeError("integer divide by zero"));if(!((o===0))){j.name=j.name+(":"+R(o));}CQ.zone=new DY([$clone(j,CN)]);};R=function(j){var j;if(j<10){return $substring("0123456789",j,(j+1>>0));}return $substring("00010203040506070809101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899",($imul(j,2)),(($imul(j,2))+2>>0));};T=function(j){var j,k;if(j.length===0){return false;}k=j.charCodeAt(0);return 97<=k&&k<=122;};U=function(j){var aa,ab,ac,ad,ae,af,ag,ah,ai,aj,ak,al,am,an,ao,ap,aq,ar,as,at,au,av,aw,ax,ay,az,ba,bb,bc,bd,be,bf,bg,bh,bi,bj,bk,bl,bm,bn,bo,bp,bq,br,bs,bt,bu,bv,bw,bx,by,bz,ca,cb,cc,cd,ce,cf,cg,ch,ci,cj,ck,cl,cm,cn,co,cp,cq,cr,cs,ct,cu,cv,cw,cx,cy,cz,da,db,dc,dd,de,df,dg,dh,di,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z;k="";l=0;m="";n=0;while(true){if(!(n<j.length)){break;}o=((j.charCodeAt(n)>>0));p=o;if(p===(74)){if(j.length>=(n+3>>0)&&$substring(j,n,(n+3>>0))==="Jan"){if(j.length>=(n+7>>0)&&$substring(j,n,(n+7>>0))==="January"){q=$substring(j,0,n);r=257;s=$substring(j,(n+7>>0));k=q;l=r;m=s;return[k,l,m];}if(!T($substring(j,(n+3>>0)))){t=$substring(j,0,n);u=258;v=$substring(j,(n+3>>0));k=t;l=u;m=v;return[k,l,m];}}}else if(p===(77)){if(j.length>=(n+3>>0)){if($substring(j,n,(n+3>>0))==="Mon"){if(j.length>=(n+6Line truncated
$packages["github.com/88250/lute/ast"]=(function(){var $pkg={},$init,A,H,I,J,B,C,K,D,E,F,G,L,M,R,W,AA,AB,AC,AD,AE,AF,AG,AH,AI,AJ,S,T,V,N,O,P,Q,U,Y,Z;A=$packages["bytes"];H=$packages["github.com/88250/lute/html"];I=$packages["github.com/88250/lute/lex"];J=$packages["github.com/88250/lute/util"];B=$packages["math/rand"];C=$packages["sort"];K=$packages["strconv"];D=$packages["strings"];E=$packages["sync"];F=$packages["time"];G=$packages["unicode/utf8"];L=$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_){this.$val=this;if(arguments.length===0){this.ID="";this.Box="";this.Path="";this.Spec="";this.Type=0;this.Parent=AC.nil;this.Previous=AC.nil;this.Next=AC.nil;this.FirstChild=AC.nil;this.LastChild=AC.nil;this.Children=AD.nil;this.Tokens=AE.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=AE.nil;this.CodeBlockInfo=AE.nil;this.CodeBlockCloseFence=AE.nil;this.HtmlBlockType=0;this.ListData=AF.nil;this.TaskListItemChecked=false;this.TableAligns=AG.nil;this.TableCellAlign=0;this.TableCellContentWidth=0;this.TableCellContentMaxWidth=0;this.LinkType=0;this.LinkRefLabel=AE.nil;this.HeadingLevel=0;this.HeadingSetext=false;this.HeadingNormalizedID="";this.MathBlockDollarOffset=0;this.FootnotesRefLabel=AE.nil;this.FootnotesRefId="";this.FootnotesRefs=AD.nil;this.HtmlEntityTokens=AE.nil;this.KramdownIAL=AH.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="";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.HeadingNormalizedID=HeadingNormalizedID_;this.MathBlockDollarOffset=MathBlockDollarOffset_;this.FootnotesRefLabel=FootnotesRefLabel_;this.FootnotesRefId=FootnotesRefId_;this.FootnotesRefs=FootnotesRefs_;this.HtmlEntityTokens=HtmlEntityTokens_;this.KramdownIAL=KramdownIAL_;this.Properties=Properties_;this.TextMarkType=TextMarkType_;this.TextMarkAHref=TextMarkAHref_;this.TextMarkATitle=TextMarkATitle_;this.TextMarkInlineMathContent=TextMarkInlineMathContent_;this.TextMarkInlineMemoContent=TextMarkInlineMemoContent_;this.TextMarkBlockRefID=TextMarkBlockRefID_;this.TextMarkBlockRefSubtype=TextMarkBlockRefSubtype_;this.TextMarkFileAnnotationRefID=TextMarkFileAnnotationRefID_;this.TextMarkTextContent=TextMarkTextContent_;this.AttributeViewID=AttributeViewID_;this.AttributeViewType=AttributeViewType_;});M=$pkg.ListData=$newType(0,$kindStruct,"ast.ListData",true,"github.com/88250/lute/ast",true,function(Typ_,Tight_,BulletChar_,Start_,Delimiter_,Padding_,MarkerOffset_,Checked_,Marker_,Num_){this.$val=this;if(arguments.length===0){this.Typ=0;this.Tight=false;this.BulletChar=0;this.Start=0;this.Delimiter=0;this.Padding=0;this.MarkerOffset=0;this.Checked=fLine truncated
$packages["github.com/88250/lute/parse"]=(function(){var $pkg={},$init,A,D,E,F,K,G,H,J,B,L,I,C,X,AF,CC,CD,CE,CF,CQ,CR,CS,CT,CU,CV,CW,CX,CY,CZ,DA,DB,DC,DD,DE,DF,DG,DH,DI,DJ,DK,DL,M,O,P,Q,R,S,U,AE,AG,AO,AP,AS,AT,AU,AV,AW,AX,AZ,BA,BQ,BT,CJ,a,T,V,W,Y,Z,AA,AB,AC,AD,AH,AI,AJ,AK,AL,AM,AN,AQ,AR,AY,BB,BE,BF,BH,BI,BJ,BK,BL,BM,BN,BO,BP,BR,BS,BU,BV,BW,BX,BY,BZ,CB,CG,CH,CI,CK,CL,CM,CN,CO,CP;A=$packages["bytes"];D=$packages["github.com/88250/lute/ast"];E=$packages["github.com/88250/lute/editor"];F=$packages["github.com/88250/lute/html"];K=$packages["github.com/88250/lute/html/atom"];G=$packages["github.com/88250/lute/lex"];H=$packages["github.com/88250/lute/util"];J=$packages["strconv"];B=$packages["strings"];L=$packages["sync"];I=$packages["unicode"];C=$packages["unicode/utf8"];X=$pkg.blockStartFunc=$newType(4,$kindFunc,"parse.blockStartFunc",true,"github.com/88250/lute/parse",false,null);AF=$pkg.delimiter=$newType(0,$kindStruct,"parse.delimiter",true,"github.com/88250/lute/parse",false,function(node_,typ_,num_,originalNum_,canOpen_,canClose_,previous_,next_,active_,image_,bracketAfter_,index_,previousDelimiter_){this.$val=this;if(arguments.length===0){this.node=CS.nil;this.typ=0;this.num=0;this.originalNum=0;this.canOpen=false;this.canClose=false;this.previous=DA.nil;this.next=DA.nil;this.active=false;this.image=false;this.bracketAfter=false;this.index=0;this.previousDelimiter=DA.nil;return;}this.node=node_;this.typ=typ_;this.num=num_;this.originalNum=originalNum_;this.canOpen=canOpen_;this.canClose=canClose_;this.previous=previous_;this.next=next_;this.active=active_;this.image=image_;this.bracketAfter=bracketAfter_;this.index=index_;this.previousDelimiter=previousDelimiter_;});CC=$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=DE.nil;this.ParseOption=DI.nil;this.Tip=CS.nil;this.oldtip=CS.nil;this.currentLine=CQ.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=CS.nil;this.rootIAL=CS.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_;});CD=$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=CQ.nil;this.tokensLen=0;this.pos=0;this.delimiters=DA.nil;this.brackets=DA.nil;return;}this.tokens=tokens_;this.tokensLen=tokensLen_;this.pos=pos_;this.delimiters=delimiters_;this.brackets=brackets_;});CE=$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=CS.nil;this.Context=DF.nil;this.lexer=DG.nil;this.inlineContext=DH.nil;this.Name="";this.ID="";this.Box="";this.Path="";this.HPath="";this.Marks=CW.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_;});CF=$pkg.Options=$newType(0,$kindStruct,"parse.Options",true,"github.com/88250/lute/parse",true,function(GFMTable_,GFMTaskListItem_,GFMStrikethrough_,GFMAutoLink_,Footnotes_,HeadingID_,ToC_,Emoji_,AliasEmoji_,EmojiAlias_,EmojiSite_,VditorWYSIWYG_,VditorIR_,VditorSV_,ProtyleWYSIWYG_,InlineMathAllowDigitAfterOpenMarker_,Setext_,YamlFrontMatter_,BlockRef_,FileAnnotationRef_,Mark_,KramdownBlockIAL_,KramdownSpanIAL_,Tag_,ImgPathAllowSpace_,SuperBlock_,Sup_,Sub_,GitConflict_,LinkRef_,IndentCodeBlock_,ParagraphBeginningSpace_,DataImage_,TextMark_,HTMLTag2TextMark_,Spin_){this.$val=this;if(arguments.length===0){this.GFMTable=false;this.GFMTaskListItem=false;this.GFMStrikethrough=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;this.VditorIR=false;this.VditorSV=false;this.ProtyleWYSIWYG=false;this.InlineMathAllowDigitAfterOpenMarker=false;thisLine truncated
$packages["github.com/88250/lute/parse"]=(function(){var $pkg={},$init,A,D,E,F,K,G,H,J,B,L,I,C,X,AF,CC,CD,CE,CF,CQ,CR,CS,CT,CU,CV,CW,CX,CY,CZ,DA,DB,DC,DD,DE,DF,DG,DH,DI,DJ,DK,DL,M,O,P,Q,R,S,U,AE,AG,AO,AP,AS,AT,AU,AV,AW,AX,AZ,BA,BQ,BT,CJ,a,T,V,W,Y,Z,AA,AB,AC,AD,AH,AI,AJ,AK,AL,AM,AN,AQ,AR,AY,BB,BE,BF,BH,BI,BJ,BK,BL,BM,BN,BO,BP,BR,BS,BU,BV,BW,BX,BY,BZ,CB,CG,CH,CI,CK,CL,CM,CN,CO,CP;A=$packages["bytes"];D=$packages["github.com/88250/lute/ast"];E=$packages["github.com/88250/lute/editor"];F=$packages["github.com/88250/lute/html"];K=$packages["github.com/88250/lute/html/atom"];G=$packages["github.com/88250/lute/lex"];H=$packages["github.com/88250/lute/util"];J=$packages["strconv"];B=$packages["strings"];L=$packages["sync"];I=$packages["unicode"];C=$packages["unicode/utf8"];X=$pkg.blockStartFunc=$newType(4,$kindFunc,"parse.blockStartFunc",true,"github.com/88250/lute/parse",false,null);AF=$pkg.delimiter=$newType(0,$kindStruct,"parse.delimiter",true,"github.com/88250/lute/parse",false,function(node_,typ_,num_,originalNum_,canOpen_,canClose_,previous_,next_,active_,image_,bracketAfter_,index_,previousDelimiter_){this.$val=this;if(arguments.length===0){this.node=CS.nil;this.typ=0;this.num=0;this.originalNum=0;this.canOpen=false;this.canClose=false;this.previous=DA.nil;this.next=DA.nil;this.active=false;this.image=false;this.bracketAfter=false;this.index=0;this.previousDelimiter=DA.nil;return;}this.node=node_;this.typ=typ_;this.num=num_;this.originalNum=originalNum_;this.canOpen=canOpen_;this.canClose=canClose_;this.previous=previous_;this.next=next_;this.active=active_;this.image=image_;this.bracketAfter=bracketAfter_;this.index=index_;this.previousDelimiter=previousDelimiter_;});CC=$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=DE.nil;this.ParseOption=DI.nil;this.Tip=CS.nil;this.oldtip=CS.nil;this.currentLine=CQ.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=CS.nil;this.rootIAL=CS.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_;});CD=$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=CQ.nil;this.tokensLen=0;this.pos=0;this.delimiters=DA.nil;this.brackets=DA.nil;return;}this.tokens=tokens_;this.tokensLen=tokensLen_;this.pos=pos_;this.delimiters=delimiters_;this.brackets=brackets_;});CE=$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=CS.nil;this.Context=DF.nil;this.lexer=DG.nil;this.inlineContext=DH.nil;this.Name="";this.ID="";this.Box="";this.Path="";this.HPath="";this.Marks=CW.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_;});CF=$pkg.Options=$newType(0,$kindStruct,"parse.Options",true,"github.com/88250/lute/parse",true,function(GFMTable_,GFMTaskListItem_,GFMStrikethrough_,GFMAutoLink_,Footnotes_,HeadingID_,ToC_,Emoji_,AliasEmoji_,EmojiAlias_,EmojiSite_,VditorWYSIWYG_,VditorIR_,VditorSV_,ProtyleWYSIWYG_,InlineMathAllowDigitAfterOpenMarker_,Setext_,YamlFrontMatter_,BlockRef_,FileAnnotationRef_,Mark_,KramdownBlockIAL_,KramdownSpanIAL_,Tag_,ImgPathAllowSpace_,SuperBlock_,Sup_,Sub_,GitConflict_,LinkRef_,IndentCodeBlock_,ParagraphBeginningSpace_,DataImage_,TextMark_,HTMLTag2TextMark_,Spin_){this.$val=this;if(arguments.length===0){this.GFMTable=false;this.GFMTaskListItem=false;this.GFMStrikethrough=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;this.VditorIR=false;this.VditorSV=false;this.ProtyleWYSIWYG=false;this.InlineMathAllowDigitAfterOpenMarker=false;thisLine truncated
$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["reflect"]=(function(){var $pkg={},$init,A,C,D,H,I,B,E,F,G,O,Q,R,S,AZ,CD,CE,CF,CG,CH,CI,CJ,CK,CL,CM,CN,CO,CP,CQ,CR,CS,DA,DB,DC,DE,DF,DG,EX,EY,FB,FN,HS,HT,HU,HY,HZ,IA,IB,IC,ID,IE,IF,IG,IH,II,IJ,IM,IN,IO,IP,IQ,IT,IU,IV,IW,IX,IY,JC,JE,JG,JI,JJ,JK,JL,JS,JT,JU,J,P,T,V,X,BL,BM,BQ,CT,FM,K,L,M,N,U,W,Y,AA,AB,AC,AD,AE,AF,AG,AJ,AL,AN,AO,AP,AR,AV,AW,AX,AY,BA,BB,BC,BD,BE,BF,BH,BI,BJ,BK,BN,BO,BP,BR,BS,DI,DK,DL,DM,DN,DO,EP,EU,FC,FD,FO,FP,GH,GJ,GK,GL,GM,GN,GO,GP,GQ,GR,GS,GT,GU,GV,GW,GX,GY,GZ,HA,HB,HC,HD,HE,HF;A=$packages["errors"];C=$packages["github.com/gopherjs/gopherjs/js"];D=$packages["internal/unsafeheader"];H=$packages["math"];I=$packages["runtime"];B=$packages["strconv"];E=$packages["sync"];F=$packages["unicode"];G=$packages["unicode/utf8"];O=$pkg.uncommonType=$newType(0,$kindStruct,"reflect.uncommonType",true,"reflect",false,function(pkgPath_,mcount_,xcount_,moff_,_methods_){this.$val=this;if(arguments.length===0){this.pkgPath=0;this.mcount=0;this.xcount=0;this.moff=0;this._methods=ID.nil;return;}this.pkgPath=pkgPath_;this.mcount=mcount_;this.xcount=xcount_;this.moff=moff_;this._methods=_methods_;});Q=$pkg.funcType=$newType(0,$kindStruct,"reflect.funcType",true,"reflect",false,function(rtype_,inCount_,outCount_,_in_,_out_){this.$val=this;if(arguments.length===0){this.rtype=new CG.ptr(0,0,0,0,0,0,0,$throwNilPointerError,IC.nil,0,0);this.inCount=0;this.outCount=0;this._in=HU.nil;this._out=HU.nil;return;}this.rtype=rtype_;this.inCount=inCount_;this.outCount=outCount_;this._in=_in_;this._out=_out_;});R=$pkg.name=$newType(0,$kindStruct,"reflect.name",true,"reflect",false,function(bytes_){this.$val=this;if(arguments.length===0){this.bytes=IC.nil;return;}this.bytes=bytes_;});S=$pkg.nameData=$newType(0,$kindStruct,"reflect.nameData",true,"reflect",false,function(name_,tag_,exported_){this.$val=this;if(arguments.length===0){this.name="";this.tag="";this.exported=false;return;}this.name=name_;this.tag=tag_;this.exported=exported_;});AZ=$pkg.mapIter=$newType(0,$kindStruct,"reflect.mapIter",true,"reflect",false,function(t_,m_,keys_,i_,last_){this.$val=this;if(arguments.length===0){this.t=$ifaceNil;this.m=null;this.keys=null;this.i=0;this.last=null;return;}this.t=t_;this.m=m_;this.keys=keys_;this.i=i_;this.last=last_;});CD=$pkg.Type=$newType(8,$kindInterface,"reflect.Type",true,"reflect",true,null);CE=$pkg.Kind=$newType(4,$kindUint,"reflect.Kind",true,"reflect",true,null);CF=$pkg.tflag=$newType(1,$kindUint8,"reflect.tflag",true,"reflect",false,null);CG=$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=IC.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_;});CH=$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_;});CI=$pkg.ChanDir=$newType(4,$kindInt,"reflect.ChanDir",true,"reflect",true,null);CJ=$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 CG.ptr(0,0,0,0,0,0,0,$throwNilPointerError,IC.nil,0,0);this.elem=HT.nil;this.slice=HT.nil;this.len=0;return;}this.rtype=rtype_;this.elem=elem_;this.slice=slice_;this.len=len_;});CK=$pkg.chanType=$newType(0,$kindStruct,"reflect.chanType",true,"reflect",false,function(rtype_,elem_,dir_){this.$val=this;if(arguments.length===0){this.rtype=new CG.ptr(0,0,0,0,0,0,0,$throwNilPointerError,IC.nil,0,0);this.elem=HT.nil;this.dir=0;return;}this.rtype=rtype_;this.elem=elem_;this.dir=dir_;});CL=$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_;});CM=$pkg.interfaceType=$newType(0,$kindStruct,"reflect.interfaceType",true,"reflect",false,function(rtype_,pkgPath_,methods_){this.$val=this;if(arguments.length===0){this.rtype=new CG.ptr(0,0,0,0,0,0,0,$throwNilPointerError,IC.nil,0,0);this.pkgPath=new R.ptr(IC.nil);this.methods=IE.nil;return;}this.rtype=rtype_;this.pkgPath=pkgPath_;this.methods=methods_;});CN=$pkg.mapType=$newType(0,$kindStruct,"reflect.mapType",true,"reflect",false,function(rtype_,key_,elem_,bucket_,hasher_,keysize_,valuesize_,bucketsize_,flags_){this.$val=this;if(arguments.length===0){this.rtype=new CG.ptr(0,0,0,0,0,0,0,$throwNilPointerError,IC.nil,0,0);this.key=HT.nil;this.elem=HT.nil;this.bucket=HT.nil;this.hasher=$throwNilPoinLine truncated
$packages["encoding/binary"]=(function(){var $pkg={},$init,A,B,C,D,E,H,Z,W;A=$packages["errors"];B=$packages["io"];C=$packages["math"];D=$packages["reflect"];E=$packages["sync"];H=$pkg.bigEndian=$newType(0,$kindStruct,"binary.bigEndian",true,"encoding/binary",false,function(){this.$val=this;if(arguments.length===0){return;}});Z=$sliceType($Uint8);H.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;};H.prototype.Uint16=function(a){return this.$val.Uint16(a);};H.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)));};H.prototype.PutUint16=function(a,b){return this.$val.PutUint16(a,b);};H.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;};H.prototype.Uint32=function(a){return this.$val.Uint32(a);};H.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)));};H.prototype.PutUint32=function(a,b){return this.$val.PutUint32(a,b);};H.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.$offset+2]))),40),new $Uint64(d.$high|m.$high,(d.$low|m.$low)>>>0)),n=$shiftLeft64((new $Uint64(0,(1>=a.$length?($throwRuntimeError("index out of range"),undefined):a.$array[a.$offset+1]))),48),new $Uint64(c.$high|n.$high,(c.$low|n.$low)>>>0)),o=$shiftLeft64((new $Uint64(0,(0>=a.$length?($throwRuntimeError("index out of range"),undefined):a.$array[a.$offset+0]))),56),new $Uint64(b.$high|o.$high,(b.$low|o.$low)>>>0));};H.prototype.Uint64=function(a){return this.$val.Uint64(a);};H.ptr.prototype.PutUint64=function(a,b){var a,b;$unused((7>=a.$length?($throwRuntimeError("index out of range"),undefined):a.$array[a.$offset+7]));(0>=a.$length?($throwRuntimeError("index out of range"),undefined):a.$array[a.$offset+0]=(($shiftRightUint64(b,56).$low<<24>>>24)));(1>=a.$length?($throwRuntimeError("index out of range"),undefined):a.$array[a.$offset+1]=(($shiftRightUint64(b,48).$low<<24>>>24)));(2>=a.$length?($throwRuntimeError("index out of range"),undefined):a.$array[a.$offset+2]=(($shiftRightUint64(b,40).$low<<24>>>24)));(3>=a.$length?($throwRuntimeError("index out of range"),undefined):a.$array[a.$offset+3]=(($shiftRightUint64(b,32).$low<<24>>>24)));(4>=a.$length?($throwRuntimeError("index out of range"),undefined):a.$array[a.$offset+4]=(($shiftRightUint64(b,24).$low<<24>>>24)));(5>=a.$length?($throwRuntimeError("index out of Line truncated
@@ -51,7 +51,7 @@ $packages["os"]=(function(){var $pkg={},$init,A,B,I,J,N,O,H,C,F,D,G,K,L,E,M,V,Z,
$packages["fmt"]=(function(){var $pkg={},$init,A,D,E,I,F,G,B,H,C,K,L,M,N,O,P,Q,R,S,AV,AW,AX,BK,BL,BM,BN,BO,BP,BQ,BR,BS,BV,CQ,CR,CS,T,AY,BC,BE,BF,J,U,X,AE,AF,AG,AH,AI,AZ,BA,BG;A=$packages["errors"];D=$packages["internal/fmtsort"];E=$packages["io"];I=$packages["math"];F=$packages["os"];G=$packages["reflect"];B=$packages["strconv"];H=$packages["sync"];C=$packages["unicode/utf8"];K=$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_;});L=$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_;});M=$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=BM.nil;this.fmtFlags=new L.ptr(false,false,false,false,false,false,false,false,false);this.wid=0;this.prec=0;this.intbuf=BN.zero();return;}this.buf=buf_;this.fmtFlags=fmtFlags_;this.wid=wid_;this.prec=prec_;this.intbuf=intbuf_;});N=$pkg.State=$newType(8,$kindInterface,"fmt.State",true,"fmt",true,null);O=$pkg.Formatter=$newType(8,$kindInterface,"fmt.Formatter",true,"fmt",true,null);P=$pkg.Stringer=$newType(8,$kindInterface,"fmt.Stringer",true,"fmt",true,null);Q=$pkg.GoStringer=$newType(8,$kindInterface,"fmt.GoStringer",true,"fmt",true,null);R=$pkg.buffer=$newType(12,$kindSlice,"fmt.buffer",true,"fmt",false,null);S=$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=R.nil;this.arg=$ifaceNil;this.value=new G.Value.ptr(BL.nil,0,0);this.fmt=new M.ptr(BM.nil,new L.ptr(false,false,false,false,false,false,false,false,false),0,0,BN.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_;});AV=$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_;});AW=$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=R.nil;this.count=0;this.atEOF=false;this.ssave=new AX.ptr(false,false,false,0,0,0);return;}this.rs=rs_;this.buf=buf_;this.count=count_;this.atEOF=atEOF_;this.ssave=ssave_;});AX=$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_;});BK=$sliceType($emptyInterface);BL=$ptrType(G.rtype);BM=$ptrType(R);BN=$arrayType($Uint8,68);BO=$arrayType($Uint16,2);BP=$sliceType(BO);BQ=$sliceType($Uint8);BR=$arrayType($Uint8,6);BS=$ptrType(S);BV=$ptrType(AW);CQ=$ptrType(K);CR=$ptrType(M);CS=$funcType([$Int32],[$Bool],false);J=function(a,b){var a,b,c,d,e,f,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:c=U();$s=1;case 1:if($c){$c=false;c=c.$blk();}if(c&&c.$blk!==undefined){break s;}d=c;d.wrapErrs=true;$r=d.doPrintf(a,b);$s=2;case 2:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}e=($bytesToString(d.buf));f=$ifaceNil;if($interfaceIsEqual(d.wrappedErr,$ifaceNil)){f=A.New(e);}else{f=new K.ptr(e,d.wrappedErr);}d.free();$s=-1;return f;}return;}if($f===undefined){$f={$blk:J};}$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.$s=$s;$f.$r=$r;return $f;};$pkg.Errorf=J;K.ptr.prototype.Error=function(){var a;a=this;return a.msg;};K.prototype.Error=function(){return this.$val.Error();};K.ptr.prototype.Unwrap=function(){var a;a=this;return a.err;};K.prototype.Unwrap=function(){return this.$val.Unwrap();};M.ptr.prototype.clearflags=function(){var a;a=this;L.copy(a.fmtFlags,new L.ptr(false,false,false,false,false,false,false,false,false));};M.prototype.clearflags=function(){return this.$val.clearflags();};M.ptr.prototyLine truncated
$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,J,A,B,N,C,M,O,K,D,L,E,F,G,H,I,U,AH,AI,AJ,AL,AN,AQ,AS,AT,BI,BP,BQ,BS,BV,BX,BZ,CB,CF,CG,CH,CW,CX,ES,EU,EV,EW,EX,EY,EZ,FE,FG,FI,FJ,FK,FL,FM,FN,FU,FV,FX,FY,FZ,GA,GB,GC,GD,Z,AA,AM,AO,AU,AX,AY,BJ,BK,CK,CY,EQ,ER,a,b,c,AE,AG,AP,AR,AV,AW,AZ,BA,BB,BC,BD,BE,BF,BG,BH,BL,BM,BN,BO,BR,BT,BU,BW,BY,CA,CC,CD,CE,CI,CJ,CL,CM,CN,CO,CP,CR,CZ,DA,DB,DC,DD,DE,DF,DG,DH,DI,DJ,DK,DL,DM,DN,DO,DP,DQ,DR,DS,DT,DU,DV,DW,DX,DY,DZ,EA,EB,EC,ED,EE,EF,EG,EH,ET;J=$packages["bytes"];A=$packages["encoding"];B=$packages["encoding/base64"];N=$packages["errors"];C=$packages["fmt"];M=$packages["github.com/gopherjs/gopherjs/nosync"];O=$packages["io"];K=$packages["math"];D=$packages["reflect"];L=$packages["sort"];E=$packages["strconv"];F=$packages["strings"];G=$packages["unicode"];H=$packages["unicode/utf16"];I=$packages["unicode/utf8"];U=$pkg.Number=$newType(8,$kindString,"json.Number",true,"encoding/json",true,null);AH=$pkg.Marshaler=$newType(8,$kindInterface,"json.Marshaler",true,"encoding/json",true,null);AI=$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_;});AJ=$pkg.UnsupportedValueError=$newType(0,$kindStruct,"json.UnsupportedValueError",true,"encoding/json",true,function(Value_,Str_){this.$val=this;if(arguments.length===0){this.Value=new D.Value.ptr(FE.nil,0,0);this.Str="";return;}this.Value=Value_;this.Str=Str_;});AL=$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_;});AN=$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 J.Buffer.ptr(EV.nil,0,0);this.scratch=FJ.zero();this.ptrLevel=0;this.ptrSeen=false;return;}this.Buffer=Buffer_;this.scratch=scratch_;this.ptrLevel=ptrLevel_;this.ptrSeen=ptrSeen_;});AQ=$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_;});AS=$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_;});AT=$pkg.encoderFunc=$newType(4,$kindFunc,"json.encoderFunc",true,"encoding/json",false,null);BI=$pkg.floatEncoder=$newType(4,$kindInt,"json.floatEncoder",true,"encoding/json",false,null);BP=$pkg.structEncoder=$newType(0,$kindStruct,"json.structEncoder",true,"encoding/json",false,function(fields_){this.$val=this;if(arguments.length===0){this.fields=new BQ.ptr(FG.nil,false);return;}this.fields=fields_;});BQ=$pkg.structFields=$newType(0,$kindStruct,"json.structFields",true,"encoding/json",false,function(list_,nameIndex_){this.$val=this;if(arguments.length===0){this.list=FG.nil;this.nameIndex=false;return;}this.list=list_;this.nameIndex=nameIndex_;});BS=$pkg.mapEncoder=$newType(0,$kindStruct,"json.mapEncoder",true,"encoding/json",false,function(elemEnc_){this.$val=this;if(arguments.length===0){this.elemEnc=$throwNilPointerError;return;}this.elemEnc=elemEnc_;});BV=$pkg.sliceEncoder=$newType(0,$kindStruct,"json.sliceEncoder",true,"encoding/json",false,function(arrayEnc_){this.$val=this;if(arguments.length===0){this.arrayEnc=$throwNilPointerError;return;}this.arrayEnc=arrayEnc_;});BX=$pkg.arrayEncoder=$newType(0,$kindStruct,"json.arrayEncoder",true,"encoding/json",false,function(elemEnc_){this.$val=this;if(arguments.length===0){this.elemEnc=$throwNilPointerError;return;}this.elemEnc=elemEnc_;});BZ=$pkg.ptrEncoder=$newType(0,$kindStruct,"json.ptrEncoder",true,"encoding/json",false,function(elemEnc_){this.$val=this;if(arguments.length===0){this.elemEnc=$throwNilPointerError;return;}this.elemEnc=elemEnc_;});CB=$pkg.condAddrEncoder=$newType(0,$kindStruct,"json.condAddrEncoder",true,"encoding/json",false,function(canAddrEnc_,elseEnc_){this.$val=this;if(arguments.length===0){this.canAddrEnc=$throwNilPointerError;this.elseEnc=$throwNilPointerError;return;}this.canAddrEnc=canAddrEnc_;this.elseEnc=elseEnc_;});CF=$pkg.reflectWithString=$newType(0,$kindStruct,"json.reflectWithString",true,"encoding/json",false,function(v_,s_){this.$val=this;if(arguments.length===0){this.v=new D.Value.ptr(FE.nil,0,0);this.s="";return;}this.v=v_;this.s=s_;});CG=$pkg.field=$newType(0,$kindStruct,"json.field",true,"encoding/json",false,function(name_,nameBytes_,equalFold_,nameNonEsc_,nameEscHTML_,tag_,index_,typ_,omitEmpty_,quoted_,encoder_){this.$val=this;if(arguments.length===0){this.name="";this.nameBytes=EV.nil;this.equalFold=$throwNilPointerError;this.nameNonEsc="";this.namLine truncated
$packages["github.com/88250/lute/render"]=(function(){var $pkg={},$init,G,L,A,K,B,C,E,F,N,M,H,D,I,J,O,U,W,Y,AB,AL,AQ,AS,AU,AV,AX,AZ,BF,CA,CC,CE,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,DM,DO,DP,DQ,DR,DS,DT,DU,DV,DW,R,T,BI,BL,BS,BZ,P,V,X,Z,AA,AC,AD,AE,AF,AG,AH,AI,AM,AN,AR,AT,AY,BA,BB,BC,BD,BE,BG,BH,BJ,BM,BN,BO,BP,BQ,BR,BT,BU,BV,BW,BX,BY,CB,CD,CF,CH;G=$packages["bytes"];L=$packages["encoding/json"];A=$packages["github.com/88250/lute/ast"];K=$packages["github.com/88250/lute/editor"];B=$packages["github.com/88250/lute/html"];C=$packages["github.com/88250/lute/lex"];E=$packages["github.com/88250/lute/parse"];F=$packages["github.com/88250/lute/util"];N=$packages["io"];M=$packages["sort"];H=$packages["strconv"];D=$packages["strings"];I=$packages["unicode"];J=$packages["unicode/utf8"];O=$pkg.EChartsJSONRenderer=$newType(0,$kindStruct,"render.EChartsJSONRenderer",true,"github.com/88250/lute/render",true,function(BaseRenderer_){this.$val=this;if(arguments.length===0){this.BaseRenderer=CM.nil;return;}this.BaseRenderer=BaseRenderer_;});U=$pkg.FormatRenderer=$newType(0,$kindStruct,"render.FormatRenderer",true,"github.com/88250/lute/render",true,function(BaseRenderer_,NodeWriterStack_){this.$val=this;if(arguments.length===0){this.BaseRenderer=CM.nil;this.NodeWriterStack=CO.nil;return;}this.BaseRenderer=BaseRenderer_;this.NodeWriterStack=NodeWriterStack_;});W=$pkg.HtmlRenderer=$newType(0,$kindStruct,"render.HtmlRenderer",true,"github.com/88250/lute/render",true,function(BaseRenderer_){this.$val=this;if(arguments.length===0){this.BaseRenderer=CM.nil;return;}this.BaseRenderer=BaseRenderer_;});Y=$pkg.JSONRenderer=$newType(0,$kindStruct,"render.JSONRenderer",true,"github.com/88250/lute/render",true,function(BaseRenderer_){this.$val=this;if(arguments.length===0){this.BaseRenderer=CM.nil;return;}this.BaseRenderer=BaseRenderer_;});AB=$pkg.KityMinderJSONRenderer=$newType(0,$kindStruct,"render.KityMinderJSONRenderer",true,"github.com/88250/lute/render",true,function(BaseRenderer_){this.$val=this;if(arguments.length===0){this.BaseRenderer=CM.nil;return;}this.BaseRenderer=BaseRenderer_;});AL=$pkg.ProtyleExportMdRenderer=$newType(0,$kindStruct,"render.ProtyleExportMdRenderer",true,"github.com/88250/lute/render",true,function(BaseRenderer_,NodeWriterStack_){this.$val=this;if(arguments.length===0){this.BaseRenderer=CM.nil;this.NodeWriterStack=CO.nil;return;}this.BaseRenderer=BaseRenderer_;this.NodeWriterStack=NodeWriterStack_;});AQ=$pkg.ProtylePreviewRenderer=$newType(0,$kindStruct,"render.ProtylePreviewRenderer",true,"github.com/88250/lute/render",true,function(BaseRenderer_){this.$val=this;if(arguments.length===0){this.BaseRenderer=CM.nil;return;}this.BaseRenderer=BaseRenderer_;});AS=$pkg.ProtyleRenderer=$newType(0,$kindStruct,"render.ProtyleRenderer",true,"github.com/88250/lute/render",true,function(BaseRenderer_,NodeIndex_){this.$val=this;if(arguments.length===0){this.BaseRenderer=CM.nil;this.NodeIndex=0;return;}this.BaseRenderer=BaseRenderer_;this.NodeIndex=NodeIndex_;});AU=$pkg.RendererFunc=$newType(4,$kindFunc,"render.RendererFunc",true,"github.com/88250/lute/render",true,null);AV=$pkg.ExtRendererFunc=$newType(4,$kindFunc,"render.ExtRendererFunc",true,"github.com/88250/lute/render",true,null);AX=$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_){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.ProtyleContenteditable=false;this.KeepParagraphBeginningSpace=false;this.ProtyleMaLine truncated
$packages["github.com/88250/lute/render"]=(function(){var $pkg={},$init,G,L,A,K,B,C,E,F,N,M,H,D,I,J,O,U,W,Y,AB,AL,AQ,AS,AU,AV,AX,AZ,BF,CA,CC,CE,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,DM,DO,DP,DQ,DR,DS,DT,DU,DV,DW,R,T,BI,BL,BS,BZ,P,V,X,Z,AA,AC,AD,AE,AF,AG,AH,AI,AM,AN,AR,AT,AY,BA,BB,BC,BD,BE,BG,BH,BJ,BM,BN,BO,BP,BQ,BR,BT,BU,BV,BW,BX,BY,CB,CD,CF,CH;G=$packages["bytes"];L=$packages["encoding/json"];A=$packages["github.com/88250/lute/ast"];K=$packages["github.com/88250/lute/editor"];B=$packages["github.com/88250/lute/html"];C=$packages["github.com/88250/lute/lex"];E=$packages["github.com/88250/lute/parse"];F=$packages["github.com/88250/lute/util"];N=$packages["io"];M=$packages["sort"];H=$packages["strconv"];D=$packages["strings"];I=$packages["unicode"];J=$packages["unicode/utf8"];O=$pkg.EChartsJSONRenderer=$newType(0,$kindStruct,"render.EChartsJSONRenderer",true,"github.com/88250/lute/render",true,function(BaseRenderer_){this.$val=this;if(arguments.length===0){this.BaseRenderer=CM.nil;return;}this.BaseRenderer=BaseRenderer_;});U=$pkg.FormatRenderer=$newType(0,$kindStruct,"render.FormatRenderer",true,"github.com/88250/lute/render",true,function(BaseRenderer_,NodeWriterStack_){this.$val=this;if(arguments.length===0){this.BaseRenderer=CM.nil;this.NodeWriterStack=CO.nil;return;}this.BaseRenderer=BaseRenderer_;this.NodeWriterStack=NodeWriterStack_;});W=$pkg.HtmlRenderer=$newType(0,$kindStruct,"render.HtmlRenderer",true,"github.com/88250/lute/render",true,function(BaseRenderer_){this.$val=this;if(arguments.length===0){this.BaseRenderer=CM.nil;return;}this.BaseRenderer=BaseRenderer_;});Y=$pkg.JSONRenderer=$newType(0,$kindStruct,"render.JSONRenderer",true,"github.com/88250/lute/render",true,function(BaseRenderer_){this.$val=this;if(arguments.length===0){this.BaseRenderer=CM.nil;return;}this.BaseRenderer=BaseRenderer_;});AB=$pkg.KityMinderJSONRenderer=$newType(0,$kindStruct,"render.KityMinderJSONRenderer",true,"github.com/88250/lute/render",true,function(BaseRenderer_){this.$val=this;if(arguments.length===0){this.BaseRenderer=CM.nil;return;}this.BaseRenderer=BaseRenderer_;});AL=$pkg.ProtyleExportMdRenderer=$newType(0,$kindStruct,"render.ProtyleExportMdRenderer",true,"github.com/88250/lute/render",true,function(BaseRenderer_,NodeWriterStack_){this.$val=this;if(arguments.length===0){this.BaseRenderer=CM.nil;this.NodeWriterStack=CO.nil;return;}this.BaseRenderer=BaseRenderer_;this.NodeWriterStack=NodeWriterStack_;});AQ=$pkg.ProtylePreviewRenderer=$newType(0,$kindStruct,"render.ProtylePreviewRenderer",true,"github.com/88250/lute/render",true,function(BaseRenderer_){this.$val=this;if(arguments.length===0){this.BaseRenderer=CM.nil;return;}this.BaseRenderer=BaseRenderer_;});AS=$pkg.ProtyleRenderer=$newType(0,$kindStruct,"render.ProtyleRenderer",true,"github.com/88250/lute/render",true,function(BaseRenderer_,NodeIndex_){this.$val=this;if(arguments.length===0){this.BaseRenderer=CM.nil;this.NodeIndex=0;return;}this.BaseRenderer=BaseRenderer_;this.NodeIndex=NodeIndex_;});AU=$pkg.RendererFunc=$newType(4,$kindFunc,"render.RendererFunc",true,"github.com/88250/lute/render",true,null);AV=$pkg.ExtRendererFunc=$newType(4,$kindFunc,"render.ExtRendererFunc",true,"github.com/88250/lute/render",true,null);AX=$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_){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.ProtyleContenteditable=false;this.KeepParagraphBeginningSpace=false;this.ProtyleMaLine truncated
$packages["github.com/88250/lute"]=(function(){var $pkg={},$init,A,L,D,E,F,G,H,I,J,K,N,O,B,M,C,Q,Y,AB,AC,AD,AE,AF,AG,AH,AI,AJ,AK,AL,AM,AN,AO,AP,AQ,AR,AS,AT,AU,AW,AY,AZ,BA,BB,BC,BD,BE,BF,BG,S,V,P,R,AA;A=$packages["bytes"];L=$packages["errors"];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"];H=$packages["github.com/88250/lute/lex"];I=$packages["github.com/88250/lute/parse"];J=$packages["github.com/88250/lute/render"];K=$packages["github.com/88250/lute/util"];N=$packages["github.com/gopherjs/gopherjs/js"];O=$packages["strconv"];B=$packages["strings"];M=$packages["sync"];C=$packages["unicode"];Q=$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=AO.nil;this.RenderOptions=AC.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_;});Y=$pkg.ParseOption=$newType(4,$kindFunc,"lute.ParseOption",true,"github.com/88250/lute",true,null);AB=$ptrType(I.Tree);AC=$ptrType(J.Options);AD=$sliceType($Uint8);AE=$ptrType(F.Node);AF=$ptrType(D.Node);AG=$ptrType(I.Context);AH=$ptrType(H.Lexer);AI=$ptrType(I.InlineContext);AJ=$sliceType($String);AK=$sliceType(AF);AL=$ptrType(D.ListData);AM=$sliceType($Int);AN=$sliceType(AJ);AO=$ptrType(I.Options);AP=$sliceType(G.Atom);AQ=$ptrType(F.Attribute);AR=$sliceType(AQ);AS=$sliceType($Int32);AT=$ptrType(Q);AU=$sliceType(Y);AW=$ptrType(A.Buffer);AY=$mapType($String,$emptyInterface);AZ=$sliceType($emptyInterface);BA=$sliceType(AE);BB=$ptrType(BA);BC=$mapType($String,$String);BD=$ptrType(N.Object);BE=$mapType($String,BD);BF=$mapType($String,BE);BG=$mapType(D.NodeType,J.ExtRendererFunc);Q.ptr.prototype.HTML2Markdown=function(a){var a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;o=$f.o;p=$f.p;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:b="";c=$ifaceNil;d=this;e=d.HTML2Tree(a);$s=1;case 1:if($c){$c=false;e=e.$blk();}if(e&&e.$blk!==undefined){break s;}f=e;g=AD.nil;h=J.NewFormatRenderer(f,d.RenderOptions);i=d.HTML2MdRendererFuncs;j=0;k=$keys(i);while(true){if(!(j<k.length)){break;}l=i[k[j]];if(l===undefined){j++;continue;}m=l.k;n=l.v;o=m;(h.BaseRenderer.ExtRendererFuncs||$throwRuntimeError("assignment to entry in nil map"))[D.NodeType.keyFor(o)]={k:o,v:n};j++;}p=h.BaseRenderer.Render();$s=2;case 2:if($c){$c=false;p=p.$blk();}if(p&&p.$blk!==undefined){break s;}g=p;b=K.BytesToStr(g);$s=-1;return[b,c];}return;}if($f===undefined){$f={$blk:Q.ptr.prototype.HTML2Markdown};}$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.o=o;$f.p=p;$f.$s=$s;$f.$r=$r;return $f;};Q.prototype.HTML2Markdown=function(a){return this.$val.HTML2Markdown(a);};Q.ptr.prototype.HTML2Tree=function(a){var a,b,c,d,e,f,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:b=AB.nil;c=this;d=c.parseHTML(a);$s=1;case 1:if($c){$c=false;d=d.$blk();}if(d&&d.$blk!==undefined){break s;}e=d;if(AE.nil===e){$s=-1;return b;}$r=c.adjustVditorDOM(e);$s=2;case 2:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}b=new I.Tree.ptr(new D.Node.ptr("","","","",0,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","",""),new I.Context.ptr(AB.nil,cLine truncated
$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.5")},{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;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;a=$f.a;b=$f.b;c=$f.c;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:b=A.New(new S([]));$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;}if($f===undefined){$f={$blk:H};}$f.a=a;$f.b=b;$f.c=c;$f.$s=$s;$f.$r=$r;return $f;};$pkg.New=H;I=function(a){var a,b,c,d,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;a=$f.a;b=$f.b;c=$f.c;d=$f.d;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:b=A.New(new S([]));$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;}$s=-1;return d;}return;}if($f===undefined){$f={$blk:I};}$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.$s=$s;$f.$r=$r;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();
+1 -1
View File
@@ -6,7 +6,7 @@ require (
github.com/88250/clipboard v0.1.5
github.com/88250/css v0.1.2
github.com/88250/gulu v1.2.3-0.20230223100136-26e5f16ac3c0
github.com/88250/lute v1.7.6-0.20230302102529-4dd94587d7da
github.com/88250/lute v1.7.6-0.20230303043953-04b4d2f358fd
github.com/88250/pdfcpu v0.3.14-0.20230224021324-e51076eb6390
github.com/88250/vitess-sqlparser v0.0.0-20210205111146-56a2ded2aba1
github.com/ClarkThan/ahocorasick v0.0.0-20230220142845-f237b6348b3e
+4
View File
@@ -10,6 +10,10 @@ github.com/88250/gulu v1.2.3-0.20230223100136-26e5f16ac3c0 h1:hZn2F/kNKcxoK41Jhf
github.com/88250/gulu v1.2.3-0.20230223100136-26e5f16ac3c0/go.mod h1:pTWnjt+6qUqNnP9xltswsJxgCBVu3C7eW09u48LWX0k=
github.com/88250/lute v1.7.6-0.20230302102529-4dd94587d7da h1:HPz4B8anvSVxuJGCKADZ3uYKdDeO6HfHPT0jhHwjHlc=
github.com/88250/lute v1.7.6-0.20230302102529-4dd94587d7da/go.mod h1:+wUqx/1kdFDbWtxn9LYJlaCOAeol2pjSO6w+WJTVQsg=
github.com/88250/lute v1.7.6-0.20230303043637-f075ff078228 h1:KE7Z2HgKn1ycRzpEapyowUby0GdLMNzaQy+EM/HCyL8=
github.com/88250/lute v1.7.6-0.20230303043637-f075ff078228/go.mod h1:+wUqx/1kdFDbWtxn9LYJlaCOAeol2pjSO6w+WJTVQsg=
github.com/88250/lute v1.7.6-0.20230303043953-04b4d2f358fd h1:6gD0wQUTwXQhWExyCRujk4Mb1gcfEcRg767WidA5JVc=
github.com/88250/lute v1.7.6-0.20230303043953-04b4d2f358fd/go.mod h1:+wUqx/1kdFDbWtxn9LYJlaCOAeol2pjSO6w+WJTVQsg=
github.com/88250/pdfcpu v0.3.14-0.20230224021324-e51076eb6390 h1:q2AR33VoQ87WYtvZ4pEvwj5gZkv22HK/yMlPWwF1oyc=
github.com/88250/pdfcpu v0.3.14-0.20230224021324-e51076eb6390/go.mod h1:S5YT38L/GCjVjmB4PB84PymA1qfopjEhfhTNQilLpv4=
github.com/88250/vitess-sqlparser v0.0.0-20210205111146-56a2ded2aba1 h1:48T899JQDwyyRu9yXHePYlPdHtpJfrJEUGBMH3SMBWY=