(window.webpackJsonp=window.webpackJsonp||[]).push([[191,5,6,7,8,10],{"+NIl":function(I,$,R){(function(M){M(R("VrN/"))})(function(M){"use strict";M.defineMode("stex",function(g,T){"use strict";function D(u,p){u.cmdState.push(p)}function v(u){return u.cmdState.length>0?u.cmdState[u.cmdState.length-1]:null}function f(u){var p=u.cmdState.pop();p&&p.closeBracket()}function S(u){for(var p=u.cmdState,m=p.length-1;m>=0;m--){var i=p[m];if(i.name=="DEFAULT")continue;return i}return{styleIdentifier:function(){return null}}}function y(u,p,m){return function(){this.name=u,this.bracketNo=0,this.style=p,this.styles=m,this.argument=null,this.styleIdentifier=function(){return this.styles[this.bracketNo-1]||null},this.openBracket=function(){return this.bracketNo++,"bracket"},this.closeBracket=function(){}}}var c={};c.importmodule=y("importmodule","tag",["string","builtin"]),c.documentclass=y("documentclass","tag",["","atom"]),c.usepackage=y("usepackage","tag",["atom"]),c.begin=y("begin","tag",["atom"]),c.end=y("end","tag",["atom"]),c.label=y("label","tag",["atom"]),c.ref=y("ref","tag",["atom"]),c.eqref=y("eqref","tag",["atom"]),c.cite=y("cite","tag",["atom"]),c.bibitem=y("bibitem","tag",["atom"]),c.Bibitem=y("Bibitem","tag",["atom"]),c.RBibitem=y("RBibitem","tag",["atom"]),c.DEFAULT=function(){this.name="DEFAULT",this.style="tag",this.styleIdentifier=this.openBracket=this.closeBracket=function(){}};function o(u,p){u.f=p}function r(u,p){var m;if(u.match(/^\\[a-zA-Z@]+/)){var i=u.current().slice(1);return m=c.hasOwnProperty(i)?c[i]:c.DEFAULT,m=new m,D(p,m),o(p,d),m.style}if(u.match(/^\\[$&%#{}_]/))return"tag";if(u.match(/^\\[,;!\/\\]/))return"tag";if(u.match("\\["))return o(p,function(a,l){return s(a,l,"\\]")}),"keyword";if(u.match("\\("))return o(p,function(a,l){return s(a,l,"\\)")}),"keyword";if(u.match("$$"))return o(p,function(a,l){return s(a,l,"$$")}),"keyword";if(u.match("$"))return o(p,function(a,l){return s(a,l,"$")}),"keyword";var t=u.next();if(t=="%")return u.skipToEnd(),"comment";if(t=="}"||t=="]"){if(m=v(p),m)m.closeBracket(t),o(p,d);else return"error";return"bracket"}else return t=="{"||t=="["?(m=c.DEFAULT,m=new m,D(p,m),"bracket"):/\d/.test(t)?(u.eatWhile(/[\w.%]/),"atom"):(u.eatWhile(/[\w\-_]/),m=S(p),m.name=="begin"&&(m.argument=u.current()),m.styleIdentifier())}function s(u,p,m){if(u.eatSpace())return null;if(m&&u.match(m))return o(p,r),"keyword";if(u.match(/^\\[a-zA-Z@]+/))return"tag";if(u.match(/^[a-zA-Z]+/))return"variable-2";if(u.match(/^\\[$&%#{}_]/))return"tag";if(u.match(/^\\[,;!\/]/))return"tag";if(u.match(/^[\^_&]/))return"tag";if(u.match(/^[+\-<>|=,\/@!*:;'"`~#?]/))return null;if(u.match(/^(\d+\.\d*|\d*\.\d+|\d+)/))return"number";var i=u.next();return i=="{"||i=="}"||i=="["||i=="]"||i=="("||i==")"?"bracket":i=="%"?(u.skipToEnd(),"comment"):"error"}function d(u,p){var m=u.peek(),i;return m=="{"||m=="["?(i=v(p),i.openBracket(m),u.eat(m),o(p,r),"bracket"):/[ \t\r]/.test(m)?(u.eat(m),null):(o(p,r),f(p),r(u,p))}return{startState:function(){var u=T.inMathMode?function(p,m){return s(p,m)}:r;return{cmdState:[],f:u}},copyState:function(u){return{cmdState:u.cmdState.slice(),f:u.f}},token:function(u,p){return p.f(u,p)},blankLine:function(u){u.f=r,u.cmdState.length=0},lineComment:"%"}}),M.defineMIME("text/x-stex","stex"),M.defineMIME("text/x-latex","stex")})},"+ua5":function(I,$,R){},"/cxE":function(I,$,R){"use strict";R.d($,"e",function(){return T}),R.d($,"f",function(){return D}),R.d($,"g",function(){return v}),R.d($,"d",function(){return S}),R.d($,"a",function(){return y}),R.d($,"b",function(){return c}),R.d($,"c",function(){return o});var M=function(){function r(){this.listeners=[],this.unexpectedErrorHandler=function(s){setTimeout(function(){throw s.stack?new Error(s.message+`
`+s.stack):s},0)}}return r.prototype.emit=function(s){this.listeners.forEach(function(d){d(s)})},r.prototype.onUnexpectedError=function(s){this.unexpectedErrorHandler(s),this.emit(s)},r.prototype.onUnexpectedExternalError=function(s){this.unexpectedErrorHandler(s)},r}(),g=new M;function T(r){S(r)||g.onUnexpectedError(r);return}function D(r){S(r)||g.onUnexpectedExternalError(r);return}function v(r){if(r instanceof Error){var s=r.name,d=r.message,u=r.stacktrace||r.stack;return{$isError:!0,name:s,message:d,stack:u}}return r}var f="Canceled";function S(r){return r instanceof Error&&r.name===f&&r.message===f}function y(){var r=new Error(f);return r.name=r.message,r}function c(r){return r?new Error("Illegal argument: "+r):new Error("Illegal argument")}function o(r){return r?new Error("Illegal state: "+r):new Error("Illegal state")}},"19Vz":function(I,$,R){(function(M){M(R("VrN/"))})(function(M){M.defineOption("placeholder","",function(y,c,o){var r=o&&o!=M.Init;if(c&&!r)y.on("blur",v),y.on("change",f),y.on("swapDoc",f),M.on(y.getInputField(),"compositionupdate",y.state.placeholderCompose=function(){D(y)}),f(y);else if(!c&&r){y.off("blur",v),y.off("change",f),y.off("swapDoc",f),M.off(y.getInputField(),"compositionupdate",y.state.placeholderCompose),g(y);var s=y.getWrapperElement();s.className=s.className.replace(" CodeMirror-empty","")}c&&!y.hasFocus()&&v(y)});function g(y){y.state.placeholder&&(y.state.placeholder.parentNode.removeChild(y.state.placeholder),y.state.placeholder=null)}function T(y){g(y);var c=y.state.placeholder=document.createElement("pre");c.style.cssText="height: 0; overflow: visible",c.style.direction=y.getOption("direction"),c.className="CodeMirror-placeholder CodeMirror-line-like";var o=y.getOption("placeholder");typeof o=="string"&&(o=document.createTextNode(o)),c.appendChild(o),y.display.lineSpace.insertBefore(c,y.display.lineSpace.firstChild)}function D(y){setTimeout(function(){var c=!1,o=y.getInputField();o.nodeName=="TEXTAREA"?c=!o.value:y.lineCount()==1&&(c=!/[^\u200b]/.test(o.querySelector(".CodeMirror-line").textContent)),c?T(y):g(y)},20)}function v(y){S(y)&&T(y)}function f(y){var c=y.getWrapperElement(),o=S(y);c.className=c.className.replace(" CodeMirror-empty","")+(o?" CodeMirror-empty":""),o?T(y):g(y)}function S(y){return y.lineCount()===1&&y.getLine(0)===""}})},"1T2W":function(I,$,R){I.exports={"code-panel-container":"code-panel-container___1BMQ9","action-oj-bar":"action-oj-bar___1PRBr",active:"active___2710v"}},"1eCo":function(I,$,R){(function(M){M(R("VrN/"))})(function(M){"use strict";var g={autoSelfClosers:{area:!0,base:!0,br:!0,col:!0,command:!0,embed:!0,frame:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0,menuitem:!0},implicitlyClosed:{dd:!0,li:!0,optgroup:!0,option:!0,p:!0,rp:!0,rt:!0,tbody:!0,td:!0,tfoot:!0,th:!0,tr:!0},contextGrabbers:{dd:{dd:!0,dt:!0},dt:{dd:!0,dt:!0},li:{li:!0},option:{option:!0,optgroup:!0},optgroup:{optgroup:!0},p:{address:!0,article:!0,aside:!0,blockquote:!0,dir:!0,div:!0,dl:!0,fieldset:!0,footer:!0,form:!0,h1:!0,h2:!0,h3:!0,h4:!0,h5:!0,h6:!0,header:!0,hgroup:!0,hr:!0,menu:!0,nav:!0,ol:!0,p:!0,pre:!0,section:!0,table:!0,ul:!0},rp:{rp:!0,rt:!0},rt:{rp:!0,rt:!0},tbody:{tbody:!0,tfoot:!0},td:{td:!0,th:!0},tfoot:{tbody:!0},th:{td:!0,th:!0},thead:{tbody:!0,tfoot:!0},tr:{tr:!0}},doNotIndent:{pre:!0},allowUnquoted:!0,allowMissing:!0,caseFold:!0},T={autoSelfClosers:{},implicitlyClosed:{},contextGrabbers:{},doNotIndent:{},allowUnquoted:!1,allowMissing:!1,allowMissingTagName:!1,caseFold:!1};M.defineMode("xml",function(D,v){var f=D.indentUnit,S={},y=v.htmlMode?g:T;for(var c in y)S[c]=y[c];for(var c in v)S[c]=v[c];var o,r;function s(_,j){function N(z){return j.tokenize=z,z(_,j)}var P=_.next();if(P=="<")return _.eat("!")?_.eat("[")?_.match("CDATA[")?N(p("atom","]]>")):null:_.match("--")?N(p("comment","-->")):_.match("DOCTYPE",!0,!0)?(_.eatWhile(/[\w\._\-]/),N(m(1))):null:_.eat("?")?(_.eatWhile(/[\w\._\-]/),j.tokenize=p("meta","?>"),"meta"):(o=_.eat("/")?"closeTag":"openTag",j.tokenize=d,"tag bracket");if(P=="&"){var V;return _.eat("#")?_.eat("x")?V=_.eatWhile(/[a-fA-F\d]/)&&_.eat(";"):V=_.eatWhile(/[\d]/)&&_.eat(";"):V=_.eatWhile(/[\w\.\-:]/)&&_.eat(";"),V?"atom":"error"}else return _.eatWhile(/[^&<]/),null}s.isInText=!0;function d(_,j){var N=_.next();if(N==">"||N=="/"&&_.eat(">"))return j.tokenize=s,o=N==">"?"endTag":"selfcloseTag","tag bracket";if(N=="=")return o="equals",null;if(N=="<"){j.tokenize=s,j.state=l,j.tagName=j.tagStart=null;var P=j.tokenize(_,j);return P?P+" tag error":"tag error"}else return/[\'\"]/.test(N)?(j.tokenize=u(N),j.stringStartCol=_.column(),j.tokenize(_,j)):(_.match(/^[^\s\u00a0=<>\"\']*[^\s\u00a0=<>\"\'\/]/),"word")}function u(_){var j=function(N,P){for(;!N.eol();)if(N.next()==_){P.tokenize=d;break}return"string"};return j.isInAttribute=!0,j}function p(_,j){return function(N,P){for(;!N.eol();){if(N.match(j)){P.tokenize=s;break}N.next()}return _}}function m(_){return function(j,N){for(var P;(P=j.next())!=null;){if(P=="<")return N.tokenize=m(_+1),N.tokenize(j,N);if(P==">")if(_==1){N.tokenize=s;break}else return N.tokenize=m(_-1),N.tokenize(j,N)}return"meta"}}function i(_,j,N){this.prev=_.context,this.tagName=j,this.indent=_.indented,this.startOfLine=N,(S.doNotIndent.hasOwnProperty(j)||_.context&&_.context.noIndent)&&(this.noIndent=!0)}function t(_){_.context&&(_.context=_.context.prev)}function a(_,j){for(var N;;){if(!_.context)return;if(N=_.context.tagName,!S.contextGrabbers.hasOwnProperty(N)||!S.contextGrabbers[N].hasOwnProperty(j))return;t(_)}}function l(_,j,N){return _=="openTag"?(N.tagStart=j.column(),E):_=="closeTag"?b:l}function E(_,j,N){return _=="word"?(N.tagName=j.current(),r="tag",O):S.allowMissingTagName&&_=="endTag"?(r="tag bracket",O(_,j,N)):(r="error",E)}function b(_,j,N){if(_=="word"){var P=j.current();return N.context&&N.context.tagName!=P&&S.implicitlyClosed.hasOwnProperty(N.context.tagName)&&t(N),N.context&&N.context.tagName==P||S.matchClosing===!1?(r="tag",h):(r="tag error",L)}else return S.allowMissingTagName&&_=="endTag"?(r="tag bracket",h(_,j,N)):(r="error",L)}function h(_,j,N){return _!="endTag"?(r="error",h):(t(N),l)}function L(_,j,N){return r="error",h(_,j,N)}function O(_,j,N){if(_=="word")return r="attribute",w;if(_=="endTag"||_=="selfcloseTag"){var P=N.tagName,V=N.tagStart;return N.tagName=N.tagStart=null,_=="selfcloseTag"||S.autoSelfClosers.hasOwnProperty(P)?a(N,P):(a(N,P),N.context=new i(N,P,V==N.indented)),l}return r="error",O}function w(_,j,N){return _=="equals"?C:(S.allowMissing||(r="error"),O(_,j,N))}function C(_,j,N){return _=="string"?x:_=="word"&&S.allowUnquoted?(r="string",O):(r="error",O(_,j,N))}function x(_,j,N){return _=="string"?x:O(_,j,N)}return{startState:function(_){var j={tokenize:s,state:l,indented:_||0,tagName:null,tagStart:null,context:null};return _!=null&&(j.baseIndent=_),j},token:function(_,j){if(!j.tagName&&_.sol()&&(j.indented=_.indentation()),_.eatSpace())return null;o=null;var N=j.tokenize(_,j);return(N||o)&&N!="comment"&&(r=null,j.state=j.state(o||N,_,j),r&&(N=r=="error"?N+" error":r)),N},indent:function(_,j,N){var P=_.context;if(_.tokenize.isInAttribute)return _.tagStart==_.indented?_.stringStartCol+1:_.indented+f;if(P&&P.noIndent)return M.Pass;if(_.tokenize!=d&&_.tokenize!=s)return N?N.match(/^(\s*)/)[0].length:0;if(_.tagName)return S.multilineTagIndentPastTag!==!1?_.tagStart+_.tagName.length+2:_.tagStart+f*(S.multilineTagIndentFactor||1);if(S.alignCDATA&&/$/,blockCommentStart:"",configuration:S.htmlMode?"html":"xml",helperType:S.htmlMode?"html":"xml",skipAttribute:function(_){_.state==C&&(_.state=O)},xmlCurrentTag:function(_){return _.tagName?{name:_.tagName,close:_.type=="closeTag"}:null},xmlCurrentContext:function(_){for(var j=[],N=_.context;N;N=N.prev)N.tagName&&j.push(N.tagName);return j.reverse()}}}),M.defineMIME("text/xml","xml"),M.defineMIME("application/xml","xml"),M.mimeModes.hasOwnProperty("text/html")||M.defineMIME("text/html",{name:"xml",htmlMode:!0})})},"1uat":function(I,$,R){(function(M,g,T){I.exports=$=g(R("Ib8C"),R("MlIO"))})(this,function(M){return function(){var g=M,T=g.lib,D=T.Hasher,v=g.x64,f=v.Word,S=v.WordArray,y=g.algo;function c(){return f.create.apply(f,arguments)}var o=[c(1116352408,3609767458),c(1899447441,602891725),c(3049323471,3964484399),c(3921009573,2173295548),c(961987163,4081628472),c(1508970993,3053834265),c(2453635748,2937671579),c(2870763221,3664609560),c(3624381080,2734883394),c(310598401,1164996542),c(607225278,1323610764),c(1426881987,3590304994),c(1925078388,4068182383),c(2162078206,991336113),c(2614888103,633803317),c(3248222580,3479774868),c(3835390401,2666613458),c(4022224774,944711139),c(264347078,2341262773),c(604807628,2007800933),c(770255983,1495990901),c(1249150122,1856431235),c(1555081692,3175218132),c(1996064986,2198950837),c(2554220882,3999719339),c(2821834349,766784016),c(2952996808,2566594879),c(3210313671,3203337956),c(3336571891,1034457026),c(3584528711,2466948901),c(113926993,3758326383),c(338241895,168717936),c(666307205,1188179964),c(773529912,1546045734),c(1294757372,1522805485),c(1396182291,2643833823),c(1695183700,2343527390),c(1986661051,1014477480),c(2177026350,1206759142),c(2456956037,344077627),c(2730485921,1290863460),c(2820302411,3158454273),c(3259730800,3505952657),c(3345764771,106217008),c(3516065817,3606008344),c(3600352804,1432725776),c(4094571909,1467031594),c(275423344,851169720),c(430227734,3100823752),c(506948616,1363258195),c(659060556,3750685593),c(883997877,3785050280),c(958139571,3318307427),c(1322822218,3812723403),c(1537002063,2003034995),c(1747873779,3602036899),c(1955562222,1575990012),c(2024104815,1125592928),c(2227730452,2716904306),c(2361852424,442776044),c(2428436474,593698344),c(2756734187,3733110249),c(3204031479,2999351573),c(3329325298,3815920427),c(3391569614,3928383900),c(3515267271,566280711),c(3940187606,3454069534),c(4118630271,4000239992),c(116418474,1914138554),c(174292421,2731055270),c(289380356,3203993006),c(460393269,320620315),c(685471733,587496836),c(852142971,1086792851),c(1017036298,365543100),c(1126000580,2618297676),c(1288033470,3409855158),c(1501505948,4234509866),c(1607167915,987167468),c(1816402316,1246189591)],r=[];(function(){for(var d=0;d<80;d++)r[d]=c()})();var s=y.SHA512=D.extend({_doReset:function(){this._hash=new S.init([new f.init(1779033703,4089235720),new f.init(3144134277,2227873595),new f.init(1013904242,4271175723),new f.init(2773480762,1595750129),new f.init(1359893119,2917565137),new f.init(2600822924,725511199),new f.init(528734635,4215389547),new f.init(1541459225,327033209)])},_doProcessBlock:function(d,u){for(var p=this._hash.words,m=p[0],i=p[1],t=p[2],a=p[3],l=p[4],E=p[5],b=p[6],h=p[7],L=m.high,O=m.low,w=i.high,C=i.low,x=t.high,_=t.low,j=a.high,N=a.low,P=l.high,V=l.low,z=E.high,B=E.low,K=b.high,U=b.low,W=h.high,H=h.low,q=L,ne=O,te=w,_e=C,Ce=x,me=_,Me=j,Oe=N,he=P,ce=V,se=z,Te=B,re=K,ue=U,fe=W,ee=H,Q=0;Q<80;Q++){var X,Z,ve=r[Q];if(Q<16)Z=ve.high=d[u+Q*2]|0,X=ve.low=d[u+Q*2+1]|0;else{var ye=r[Q-15],Re=ye.high,Je=ye.low,Ze=(Re>>>1|Je<<31)^(Re>>>8|Je<<24)^Re>>>7,rt=(Je>>>1|Re<<31)^(Je>>>8|Re<<24)^(Je>>>7|Re<<25),tt=r[Q-2],st=tt.high,ot=tt.low,Fe=(st>>>19|ot<<13)^(st<<3|ot>>>29)^st>>>6,Ae=(ot>>>19|st<<13)^(ot<<3|st>>>29)^(ot>>>6|st<<26),qe=r[Q-7],ut=qe.high,$e=qe.low,nt=r[Q-16],je=nt.high,De=nt.low;X=rt+$e,Z=Ze+ut+(X>>>0
",L()),E()),Ir=Ir.replace(/(__special_katext_id_\d+__)/g,function(fi,gn){var zn=mn[gn],Di=zn.type,yi=zn.expression;return Object(ne.renderToString)(vr(yi)||"",{displayMode:Di==="block",throwOnError:!1,output:"html"})}),Ir=Ir.replace(/▁/g,"\u2581\u2581\u2581"),N(),ze){var Nr=document.createElement("div");return Nr.innerHTML=Ir,Nr.innerText}return setTimeout(function(){return dn()},500),Ir},[rn]),ln=Object(o.useRef)();b.WebkitLineClamp=ft,ft&&(Vt=Object(v.a)(Object(v.a)({},Vt),b));function Ri(Jr){var ur=Jr.target;if(ur.tagName.toUpperCase()==="IMG"){if(Ft){var nn=ur.getAttribute("src");gr(nn),wi("image")}}else if(ur.tagName.toUpperCase()==="A"){var Ir=ur.getAttribute("href");if(Ir.indexOf("office")>-1)Jr.preventDefault(),gr(Ir),wi("office");else if(Ir.indexOf("application/pdf")>-1)Jr.preventDefault(),gr(Ir),wi("pdf");else if(Ir.indexOf("type=text")>-1)Jr.preventDefault(),gr(Ir),wi("html");else if(Ir.startsWith("#")){Jr.preventDefault();var mn=document.getElementById(Ir.replace("#",""));mn&&mn.scrollIntoView(!0)}}}var dn=function(){var ur,nn=(ur=ln.current)===null||ur===void 0?void 0:ur.querySelectorAll("video");nn==null||nn.forEach(function(Ir){if(Ir.oncontextmenu=function(){return!1},Ir.src.indexOf(".m3u8")>-1&&!Ir.canPlayType("application/vnd.apple.mpegurl")){if(H.a.isSupported()){var mn=new H.a;mn.loadSource(Ir.src),mn.attachMedia(Ir)}}})};Object(o.useEffect)(function(){if(ln.current&&Zn&&(Zn.match(hr)&&window.PR.prettyPrint()),ln.current)return ln.current.addEventListener("click",Ri),function(){ln.current.removeEventListener("click",Ri),N(),E()}},[Zn,ln.current,Ri]);var hi=function(ur){if(!de)return;ur.target.nodeName==="IMG"?(tr.current.style.display="flex",tr.current.style.width=ur.target.clientWidth+"px",tr.current.style.height=ur.target.clientHeight+"px",tr.current.style.top=ur.target.offsetTop+"px",tr.current.style.left=ur.target.offsetLeft+"px",$r.current.src=ur.target.getAttribute("src")):tr.current.style.display="none"};return r.a.createElement("div",{style:{position:"relative"}},r.a.createElement("div",{ref:ln,style:Object(v.a)({},Vt),className:"".concat(oe||""," markdown-body ").concat($t.a.mdBody),onMouseOver:hi,dangerouslySetInnerHTML:{__html:Zn}}),r.a.createElement("div",{ref:tr,className:$t.a.button},r.a.createElement(g.a,null,r.a.createElement(D.a,{onClick:function(){return Vi()}},"\u88C1\u526A"),r.a.createElement(D.a,{onClick:function(){return Ui()}},"\u7F16\u8F91"))),r.a.createElement("img",{ref:$r,src:"",alt:"sample",crossOrigin:"anonymous",style:{maxWidth:"90%",opacity:0,position:"absolute",zIndex:-1,top:"-10000px"}}),r.a.createElement(te.a,{close:!0,data:sr,hasMask:mt,type:sr!=null&&sr.length?Sn:"",style:Object(v.a)({},cn),onClose:function(){return gr("")}}))}},"9OqN":function(I,$,R){(function(M,g,T){I.exports=$=g(R("Ib8C"),R("OLod"))})(this,function(M){return M.mode.CTR=function(){var g=M.lib.BlockCipherMode.extend(),T=g.Encryptor=g.extend({processBlock:function(D,v){var f=this._cipher,S=f.blockSize,y=this._iv,c=this._counter;y&&(c=this._counter=y.slice(0),this._iv=void 0);var o=c.slice(0);f.encryptBlock(o,0),c[S-1]=c[S-1]+1|0;for(var r=0;r-1?"."+tt.split(".").pop():"");H===null&&(Fe="testsets/".concat(ot).concat(tt.indexOf(".")>-1?"."+tt.split(".").pop():"")),rt.multipartUpload(Fe,new Blob([Ze.file],{type:Ze.file.type}),{timeout:3600*1e3,partSize:1002400,callback:{customValue:{id:tt+""},url:Me==null?void 0:Me.callback_url,host:Me==null?void 0:Me.bucket_host,body:"bucket=${bucket}&object=${object}&etag=${etag}&size=${size}&mimeType=${mimeType}&my_var=${x:my_var}&"+Object(w.e)(st)}}).then(function(Ae){if(Ae.data.status===0){ue.current=ue.current+1;var qe=re.current.map(function($e){var nt,je;if($e.name===((nt=Ae.data)===null||nt===void 0||((je=nt.data)===null||je===void 0)?void 0:je.file_name)){var De,Pe,xe,Se=Object(c.a)({},$e);if((De=Ae.data)!==null&&De!==void 0&&(Pe=De.data)!==null&&Pe!==void 0&&(xe=Pe.file_name)!==null&&xe!==void 0&&xe.includes(".in")){var Le,Ne,et,Xe,ct,gt;Se.in_object_key=(Le=Ae.data)===null||Le===void 0||((Ne=Le.data)===null||Ne===void 0)?void 0:Ne.object,Se.in_object_size=(et=Ae.data)===null||et===void 0||((Xe=et.data)===null||Xe===void 0)?void 0:Xe.size,Se.input=(ct=Ae.data)===null||ct===void 0||((gt=ct.data)===null||gt===void 0)?void 0:gt.file_name,Se.in_file=Ze}else{var wt,vt,Mt,Pt,_t,rr;Se.out_object_key=(wt=Ae.data)===null||wt===void 0||((vt=wt.data)===null||vt===void 0)?void 0:vt.object,Se.out_object_size=(Mt=Ae.data)===null||Mt===void 0||((Pt=Mt.data)===null||Pt===void 0)?void 0:Pt.size,Se.output=(_t=Ae.data)===null||_t===void 0||((rr=_t.data)===null||rr===void 0)?void 0:rr.file_name,Se.out_file=Ze}return Se}return $e});if(re.current=Object(s.a)(qe),_e(Object(s.a)(qe)),ue.current>0&&ue.current===te.length){Te(!1);var ut=j(qe);ut=ut.filter(function($e){var nt,je;return!!((nt=$e[0])!==null&&nt!==void 0&&nt.name&&(je=$e[1])!==null&&je!==void 0&&je.name)}),ut=ut.map(function($e){return Object(c.a)(Object(c.a)(Object(c.a)({},$e[0]),$e[1]),{},{is_file:!0})}),K(ut),B()}}})},ve=function(){if(te.length===0){y.b.warn("\u8BF7\u9009\u62E9\u4E0A\u4F20\u6587\u4EF6");return}Te(!0);var Ze=j(te);if(Ze.some(function(rt){var tt,st;return!((tt=rt[0])!==null&&tt!==void 0&&tt.name&&(st=rt[1])!==null&&st!==void 0&&st.name)})){f.a.confirm({centered:!0,okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",title:"\u63D0\u793A",content:"\u4E0A\u4F20\u7684\u6D4B\u8BD5\u7528\u4F8B\u4E2D\u5B58\u5728\u672A\u914D\u5BF9\u7684\u6587\u4EF6\uFF0C\u8BF7\u786E\u8BA4\u662F\u5426\u4EC5\u4FDD\u5B58\u5DF2\u914D\u5BF9\u7684\u6D4B\u8BD5\u7528\u4F8B\uFF1F",onOk:function(){var rt=Object(o.a)(m.a.mark(function st(){return m.a.wrap(function(Fe){for(;;)switch(Fe.prev=Fe.next){case 0:te.map(function(){var Ae=Object(o.a)(m.a.mark(function qe(ut){return m.a.wrap(function(nt){for(;;)switch(nt.prev=nt.next){case 0:Z(ut);case 1:case"end":return nt.stop()}},qe)}));return function(qe){return Ae.apply(this,arguments)}}());case 1:case"end":return Fe.stop()}},st)}));function tt(){return rt.apply(this,arguments)}return tt}(),onCancel:function(){Te(!1)}});return}te.map(function(){var rt=Object(o.a)(m.a.mark(function tt(st){return m.a.wrap(function(Fe){for(;;)switch(Fe.prev=Fe.next){case 0:Z(st);case 1:case"end":return Fe.stop()}},tt)}));return function(tt){return rt.apply(this,arguments)}}())},ye={name:"file",fileList:te,multiple:!0,accept:".in, .out",showUploadList:!1,beforeUpload:function(Ze){if(te!=null&&te.some(function(tt){return tt.name===Ze.name}))return y.b.info("".concat(Ze.name,"\u6587\u4EF6\u5DF2\u5B58\u5728")),!1;if(Ze.size/1024/1024>100)return y.b.info("\u6587\u4EF6\u8D85\u8FC7100M\uFF0C\u4E0D\u7B26\u5408\u4E0A\u4F20\u8981\u6C42"),!1;if(!/\.(in|out|IN|OUT)$/.test(Ze.name))return y.b.warn("\u8F93\u5165\u6587\u4EF6\u53EA\u80FD\u4E0A\u4F20.in\u548C.out\u7C7B\u578B\u7684\u6587\u672C\u6587\u4EF6"),!1;var rt={name:Ze.name,uid:Ze.uid,file:Ze,percent:0};return te.push(rt),re.current=Object(s.a)(te),_e(Object(s.a)(te)),!1}},Re=j(te);return console.log(te,Re,"fileList"),t.a.createElement(f.a,{visible:U,wrapClassName:W,onOk:ve,centered:!0,okText:"\u786E\u8BA4",cancelText:"\u53D6\u6D88",okButtonProps:{loading:se},onCancel:fe,width:"1000px",title:"\u6279\u91CF\u4E0A\u4F20\u6D4B\u8BD5\u7528\u4F8B"},t.a.createElement("div",{className:l.a.wrap},te.length?t.a.createElement("div",null,t.a.createElement(u.a,ye,t.a.createElement(D.a,{className:l.a.btnS},"\u4E0A\u4F20\u6587\u4EF6")),t.a.createElement(P,{data:Re,onRemove:X})):t.a.createElement("div",{className:l.a.noData},t.a.createElement("img",{src:b.a,alt:""}),t.a.createElement(u.a,ye,t.a.createElement(D.a,{className:l.a.btn},"\u4E0A\u4F20\u6587\u4EF6"))),t.a.createElement("div",{className:l.a.text},"\u4E0A\u4F20\u9650\u5236\uFF1A",t.a.createElement("br",null),"1\u3001\u6587\u4EF6\u5FC5\u987B\u4E0A\u4F20.in\u548C.out\u7C7B\u578B\u7684\u6587\u672C\u6587\u4EF6\u3002",t.a.createElement("br",null),"2\u3001\u8F93\u5165\u8F93\u51FA\u6587\u4EF6\u9700\u6587\u4EF6\u540D\u79F0\u4E00\u4E00\u5BF9\u5E94\uFF0C\u672A\u5BF9\u5E94\u65F6\uFF0C\u5C06\u65E0\u6CD5\u4E0A\u4F20\u3002",t.a.createElement("br",null),"3\u3001\u5355\u4E2A\u4E0A\u4F20\u6587\u4EF6\u4E0D\u80FD\u8D85\u8FC7100MB\uFF0C\u8D85\u8FC7\u65F6\u53EF\u4EE5\u5206\u6279\u6B21\u4E0A\u4F20\u3002")))},P=function(z){var B=z.data,K=B===void 0?[]:B,U=z.onRemove,W=z.width,H=W===void 0?"auto":W,q=z.showScore,ne=q===void 0?!1:q,te=z.disabled,_e=te===void 0?!1:te,Ce=z.inputChange,me=function(ce){var se=document.createElement("a");document.body.appendChild(se);var Te=URL.createObjectURL(ce.file);se.href=Te,se.download=ce.name,se.click(),URL.revokeObjectURL(Te),document.body.removeChild(se)},Me=function(ce,se){Object(x.w)(ce,se)},Oe=function(ce,se){f.a.confirm({centered:!0,okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",title:"\u63D0\u793A",content:t.a.createElement("div",{className:"tc font16"},"\u8BF7\u786E\u8BA4\u662F\u5426\u5220\u9664\u8BE5\u6D4B\u8BD5\u7528\u4F8B?"),onOk:function(){U(ce,se)},onCancel:function(){}})};return K.length?t.a.createElement("div",{style:{width:H}},t.a.createElement("div",{className:l.a.head},t.a.createElement("div",{style:{width:"20%"}},"\u7528\u4F8B"),t.a.createElement("div",{style:{width:ne?"25%":"35%"}},"\u8F93\u5165"),t.a.createElement("div",{style:{width:ne?"25%":"35%"}},"\u8F93\u51FA"),ne&&t.a.createElement("div",{style:{width:"20%"}},"\u5F97\u5206\u6BD4\u4F8B"),t.a.createElement("div",{style:{width:"10%"}},"\u64CD\u4F5C")),K.map(function(he,ce){var se,Te,re,ue;return t.a.createElement("div",{key:ce,className:l.a.list},t.a.createElement("div",{style:{width:"20%"}},"\u6D4B\u8BD5\u7528\u4F8B",ce+1),t.a.createElement("div",{className:l.a.info,style:{width:ne?"25%":"35%"}},t.a.createElement("span",{title:he.input||((se=he[0])===null||se===void 0?void 0:se.name),onClick:function(){he.input?he.input_file_url?Me(he.input_file_url,he.input):me(he.in_file):me(he[0])}},he.input||((Te=he[0])===null||Te===void 0?void 0:Te.name))),t.a.createElement("div",{className:l.a.info,style:{width:ne?"25%":"35%"}},t.a.createElement("span",{title:he.output||((re=he[1])===null||re===void 0?void 0:re.name),onClick:function(){he.input?he.output_file_url?Me(he.output_file_url,he.output):me(he.out_file):me(he[1])}},he.output||((ue=he[1])===null||ue===void 0?void 0:ue.name))),ne&&t.a.createElement("div",{style:{width:"20%"}},t.a.createElement(g.a,{disabled:_e,style:{width:"70%"},onChange:function(ee){return Ce(ee,ce)},value:he.score}),t.a.createElement("span",null,"\xA0%")),t.a.createElement("div",{onClick:function(){return Oe(he,ce)},style:{width:"10%"}},t.a.createElement("span",{className:l.a.del},"\u5220\u9664")))})):t.a.createElement(t.a.Fragment,null)};$.b=N},BU3w:function(I,$,R){"use strict";R.d($,"a",function(){return f});var M=R("MNnm"),g="rc-util-key";function T(S){if(S.attachTo)return S.attachTo;var y=document.querySelector("head");return y||document.body}function D(S){var y,c=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(!Object(M.a)())return null;var o=document.createElement("style");if((y=c.csp)===null||y===void 0?void 0:y.nonce){var r;o.nonce=(r=c.csp)===null||r===void 0?void 0:r.nonce}o.innerHTML=S;var s=T(c),d=s.firstChild;return c.prepend&&s.prepend?s.prepend(o):c.prepend&&d?s.insertBefore(o,d):s.appendChild(o),o}var v=new Map;function f(S,y){var c=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},o=T(c);if(!v.has(o)){var r=D("",c),s=r.parentNode;v.set(o,s),s.removeChild(r)}var d=Array.from(v.get(o).children).find(function(t){return t.tagName==="STYLE"&&t[g]===y});if(d){var u,p;if(((u=c.csp)===null||u===void 0?void 0:u.nonce)&&d.nonce!==((p=c.csp)===null||p===void 0?void 0:p.nonce)){var m;d.nonce=(m=c.csp)===null||m===void 0?void 0:m.nonce}return d.innerHTML!==S&&(d.innerHTML=S),d}var i=D(S,c);return i[g]=y,i}},Bd2K:function(I,$,R){(function(M){M(R("VrN/"),R("osHv"))})(function(M){M.defineOption("autoCloseTags",!1,function(c,o,r){if(r!=M.Init&&r&&c.removeKeyMap("autoCloseTags"),!o)return;var s={name:"autoCloseTags"};(typeof o!="object"||o.whenClosing!==!1)&&(s["'/'"]=function(d){return f(d)}),(typeof o!="object"||o.whenOpening!==!1)&&(s["'>'"]=function(d){return D(d)}),c.addKeyMap(s)});var g=["area","base","br","col","command","embed","hr","img","input","keygen","link","meta","param","source","track","wbr"],T=["applet","blockquote","body","button","div","dl","fieldset","form","frameset","h1","h2","h3","h4","h5","h6","head","html","iframe","layer","legend","object","ol","p","select","table","ul"];function D(c){if(c.getOption("disableInput"))return M.Pass;for(var o=c.listSelections(),r=[],s=c.getOption("autoCloseTags"),d=0;du.ch&&(a=a.slice(0,a.length-p.end+u.ch));var h=a.toLowerCase();if(!a||p.type=="string"&&(p.end!=u.ch||!/[\"\']/.test(p.string.charAt(p.string.length-1))||p.string.length==1)||p.type=="tag"&&t.close||p.string.indexOf("/")==u.ch-p.start-1||E&&S(E,h)>-1||y(c,m.mode.xmlCurrentContext&&m.mode.xmlCurrentContext(i)||[],a,u,!0))return M.Pass;var L=typeof s=="object"&&s.emptyTags;if(L&&S(L,a)>-1){r[d]={text:"/>",newPos:M.Pos(u.line,u.ch+2)};continue}var O=b&&S(b,h)>-1;r[d]={indent:O,text:">"+(O?`
`:"")+""+a+">",newPos:O?M.Pos(u.line+1,0):M.Pos(u.line,u.ch+1)}}for(var w=typeof s=="object"&&s.dontIndentOnAutoClose,d=o.length-1;d>=0;d--){var C=r[d];c.replaceRange(C.text,o[d].head,o[d].anchor,"+insert");var x=c.listSelections().slice(0);x[d]={head:C.newPos,anchor:C.newPos},c.setSelections(x),!w&&C.indent&&(c.indentLine(C.newPos.line,null,!0),c.indentLine(C.newPos.line+1,null,!0))}}function v(c,o){for(var r=c.listSelections(),s=[],d=o?"/":"",u=c.getOption("autoCloseTags"),p=typeof u=="object"&&u.dontIndentOnSlash,m=0;m"&&(E+=">"),s[m]=E}if(c.replaceSelections(s),r=c.listSelections(),!p)for(var m=0;m=0&&o[i]==r;i--)++m;s=p.to;for(var i=1;i0){for(var o=0;o1&&arguments[1]!==void 0?arguments[1]:"",o=[],r=0;r=0;o--){var r=T().key(o);c(D(r),r)}}function S(c){return T().removeItem(c)}function y(){return T().clear()}},DlQD:function(I,$,R){(function(M,g){I.exports=g()})(this,function(){"use strict";function M(je,De){for(var Pe=0;Peje.length)&&(De=je.length);for(var Pe=0,xe=new Array(De);Pe=je.length?{done:!0}:{done:!1,value:je[xe++]}}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}return Pe=je[Symbol.iterator](),Pe.next.bind(Pe)}function f(je,De){return De={exports:{}},je(De,De.exports),De.exports}var S=f(function(je){function De(){return{baseUrl:null,breaks:!1,gfm:!0,headerIds:!0,headerPrefix:"",highlight:null,langPrefix:"language-",mangle:!0,pedantic:!1,renderer:null,sanitize:!1,sanitizer:null,silent:!1,smartLists:!1,smartypants:!1,tokenizer:null,walkTokens:null,xhtml:!1}}function Pe(xe){je.exports.defaults=xe}je.exports={defaults:De(),getDefaults:De,changeDefaults:Pe}}),y=S.defaults,c=S.getDefaults,o=S.changeDefaults,r=/[&<>"']/,s=/[&<>"']/g,d=/[<>"']|&(?!#?\w+;)/,u=/[<>"']|&(?!#?\w+;)/g,p={"&":"&","<":"<",">":">",'"':""","'":"'"},m=function(De){return p[De]};function i(je,De){if(De){if(r.test(je))return je.replace(s,m)}else if(d.test(je))return je.replace(u,m);return je}var t=/&(#(?:\d+)|(?:#x[0-9A-Fa-f]+)|(?:\w+));?/ig;function a(je){return je.replace(t,function(De,Pe){return Pe=Pe.toLowerCase(),Pe==="colon"?":":Pe.charAt(0)==="#"?Pe.charAt(1)==="x"?String.fromCharCode(parseInt(Pe.substring(2),16)):String.fromCharCode(+Pe.substring(1)):""})}var l=/(^|[^\[])\^/g;function E(je,De){je=je.source||je,De=De||"";var Pe={replace:function(Se,Le){return Le=Le.source||Le,Le=Le.replace(l,"$1"),je=je.replace(Se,Le),Pe},getRegex:function(){return new RegExp(je,De)}};return Pe}var b=/[^\w:]/g,h=/^$|^[a-z][a-z0-9+.-]*:|^[?#]/i;function L(je,De,Pe){if(je){var xe;try{xe=decodeURIComponent(a(Pe)).replace(b,"").toLowerCase()}catch(Se){return null}if(xe.indexOf("javascript:")===0||xe.indexOf("vbscript:")===0||xe.indexOf("data:")===0)return null}De&&!h.test(Pe)&&(Pe=_(De,Pe));try{Pe=encodeURI(Pe).replace(/%25/g,"%")}catch(Se){return null}return Pe}var O={},w=/^[^:]+:\/*[^/]*$/,C=/^([^:]+:)[\s\S]*$/,x=/^([^:]+:\/*[^/]*)[\s\S]*$/;function _(je,De){O[" "+je]||(w.test(je)?O[" "+je]=je+"/":O[" "+je]=V(je,"/",!0)),je=O[" "+je];var Pe=je.indexOf(":")===-1;return De.substring(0,2)==="//"?Pe?De:je.replace(C,"$1")+De:De.charAt(0)==="/"?Pe?De:je.replace(x,"$1")+De:je+De}var j={exec:function(){}};function N(je){for(var De=1,Pe,xe;De=0&&et[ct]==="\\";)Xe=!Xe;return Xe?"|":" |"}),xe=Pe.split(/ \|/),Se=0;if(xe.length>De)xe.splice(De);else for(;xe.length=xe.length?Se.slice(xe.length):Se}).join(`
`)}var Ce=function(){function je(Pe){this.options=Pe||U}var De=je.prototype;return De.space=function(xe){var Se=this.rules.block.newline.exec(xe);if(Se)return Se[0].length>1?{type:"space",raw:Se[0]}:{raw:`
`}},De.code=function(xe,Se){var Le=this.rules.block.code.exec(xe);if(Le){var Ne=Se[Se.length-1];if(Ne&&Ne.type==="paragraph")return{raw:Le[0],text:Le[0].trimRight()};var et=Le[0].replace(/^ {4}/gm,"");return{type:"code",raw:Le[0],codeBlockStyle:"indented",text:this.options.pedantic?et:W(et,`
`)}}},De.fences=function(xe){var Se=this.rules.block.fences.exec(xe);if(Se){var Le=Se[0],Ne=_e(Le,Se[3]||"");return{type:"code",raw:Le,lang:Se[2]?Se[2].trim():Se[2],text:Ne}}},De.heading=function(xe){var Se=this.rules.block.heading.exec(xe);if(Se)return{type:"heading",raw:Se[0],depth:Se[1].length,text:Se[2]}},De.nptable=function(xe){var Se=this.rules.block.nptable.exec(xe);if(Se){var Le={type:"table",header:H(Se[1].replace(/^ *| *\| *$/g,"")),align:Se[2].replace(/^ *|\| *$/g,"").split(/ *\| */),cells:Se[3]?Se[3].replace(/\n$/,"").split(`
`):[],raw:Se[0]};if(Le.header.length===Le.align.length){var Ne=Le.align.length,et;for(et=0;et ?/gm,"");return{type:"blockquote",raw:Se[0],text:Le}}},De.list=function(xe){var Se=this.rules.block.list.exec(xe);if(Se){for(var Le=Se[0],Ne=Se[2],et=Ne.length>1,Xe=Ne[Ne.length-1]===")",ct={type:"list",raw:Le,ordered:et,start:et?+Ne.slice(0,-1):"",loose:!1,items:[]},gt=Se[0].match(this.rules.block.item),wt=!1,vt,Mt,Pt,_t,rr,dr,Zt,fr=gt.length,Ht=0;Ht1||this.options.smartLists&&Pt!==Ne)&&(_t=gt.slice(Ht+1).join(`
`),ct.raw=ct.raw.substring(0,ct.raw.length-_t.length),Ht=fr-1)),rr=wt||/\n\n(?!\s*$)/.test(vt),Ht!==fr-1&&(wt=vt.charAt(vt.length-1)===`
`,rr||(rr=wt)),rr&&(ct.loose=!0),dr=/^\[[ xX]\] /.test(vt),Zt=void 0,dr&&(Zt=vt[1]!==" ",vt=vt.replace(/^\[[ xX]\] +/,"")),ct.items.push({type:"list_item",raw:Le,task:dr,checked:Zt,loose:rr,text:vt});return ct}},De.html=function(xe){var Se=this.rules.block.html.exec(xe);if(Se)return{type:this.options.sanitize?"paragraph":"html",raw:Se[0],pre:!this.options.sanitizer&&(Se[1]==="pre"||Se[1]==="script"||Se[1]==="style"),text:this.options.sanitize?this.options.sanitizer?this.options.sanitizer(Se[0]):q(Se[0]):Se[0]}},De.def=function(xe){var Se=this.rules.block.def.exec(xe);if(Se){Se[3]&&(Se[3]=Se[3].substring(1,Se[3].length-1));var Le=Se[1].toLowerCase().replace(/\s+/g," ");return{tag:Le,raw:Se[0],href:Se[2],title:Se[3]}}},De.table=function(xe){var Se=this.rules.block.table.exec(xe);if(Se){var Le={type:"table",header:H(Se[1].replace(/^ *| *\| *$/g,"")),align:Se[2].replace(/^ *|\| *$/g,"").split(/ *\| */),cells:Se[3]?Se[3].replace(/\n$/,"").split(`
`):[]};if(Le.header.length===Le.align.length){Le.raw=Se[0];var Ne=Le.align.length,et;for(et=0;et/i.test(Ne[0])&&(Se=!1),!Le&&/^<(pre|code|kbd|script)(\s|>)/i.test(Ne[0])?Le=!0:Le&&/^<\/(pre|code|kbd|script)(\s|>)/i.test(Ne[0])&&(Le=!1),{type:this.options.sanitize?"text":"html",raw:Ne[0],inLink:Se,inRawBlock:Le,text:this.options.sanitize?this.options.sanitizer?this.options.sanitizer(Ne[0]):q(Ne[0]):Ne[0]}},De.link=function(xe){var Se=this.rules.inline.link.exec(xe);if(Se){var Le=ne(Se[2],"()");if(Le>-1){var Ne=Se[0].indexOf("!")===0?5:4,et=Ne+Se[1].length+Le;Se[2]=Se[2].substring(0,Le),Se[0]=Se[0].substring(0,et).trim(),Se[3]=""}var Xe=Se[2],ct="";if(this.options.pedantic){var gt=/^([^'"]*[^\s])\s+(['"])(.*)\2/.exec(Xe);gt?(Xe=gt[1],ct=gt[3]):ct=""}else ct=Se[3]?Se[3].slice(1,-1):"";Xe=Xe.trim().replace(/^<([\s\S]*)>$/,"$1");var wt=te(Se,{href:Xe&&Xe.replace(this.rules.inline._escapes,"$1"),title:ct&&ct.replace(this.rules.inline._escapes,"$1")},Se[0]);return wt}},De.reflink=function(xe,Se){var Le;if((Le=this.rules.inline.reflink.exec(xe))||(Le=this.rules.inline.nolink.exec(xe))){var Ne=(Le[2]||Le[1]).replace(/\s+/g," ");if(Ne=Se[Ne.toLowerCase()],!Ne||!Ne.href){var et=Le[0].charAt(0);return{type:"text",raw:et,text:et}}var Xe=te(Le,Ne,Le[0]);return Xe}},De.strong=function(xe,Se,Le){Le===void 0&&(Le="");var Ne=this.rules.inline.strong.start.exec(xe);if(Ne&&(!Ne[1]||Ne[1]&&(Le===""||this.rules.inline.punctuation.exec(Le)))){Se=Se.slice(-1*xe.length);var et=Ne[0]==="**"?this.rules.inline.strong.endAst:this.rules.inline.strong.endUnd;et.lastIndex=0;for(var Xe;(Ne=et.exec(Se))!=null;)if(Xe=this.rules.inline.strong.middle.exec(Se.slice(0,Ne.index+3)),Xe)return{type:"strong",raw:xe.slice(0,Xe[0].length),text:xe.slice(2,Xe[0].length-2)}}},De.em=function(xe,Se,Le){Le===void 0&&(Le="");var Ne=this.rules.inline.em.start.exec(xe);if(Ne&&(!Ne[1]||Ne[1]&&(Le===""||this.rules.inline.punctuation.exec(Le)))){Se=Se.slice(-1*xe.length);var et=Ne[0]==="*"?this.rules.inline.em.endAst:this.rules.inline.em.endUnd;et.lastIndex=0;for(var Xe;(Ne=et.exec(Se))!=null;)if(Xe=this.rules.inline.em.middle.exec(Se.slice(0,Ne.index+2)),Xe)return{type:"em",raw:xe.slice(0,Xe[0].length),text:xe.slice(1,Xe[0].length-1)}}},De.codespan=function(xe){var Se=this.rules.inline.code.exec(xe);if(Se){var Le=Se[2].replace(/\n/g," "),Ne=/[^ ]/.test(Le),et=Le.startsWith(" ")&&Le.endsWith(" ");return Ne&&et&&(Le=Le.substring(1,Le.length-1)),Le=q(Le,!0),{type:"codespan",raw:Se[0],text:Le}}},De.br=function(xe){var Se=this.rules.inline.br.exec(xe);if(Se)return{type:"br",raw:Se[0]}},De.del=function(xe){var Se=this.rules.inline.del.exec(xe);if(Se)return{type:"del",raw:Se[0],text:Se[1]}},De.autolink=function(xe,Se){var Le=this.rules.inline.autolink.exec(xe);if(Le){var Ne,et;return Le[2]==="@"?(Ne=q(this.options.mangle?Se(Le[1]):Le[1]),et="mailto:"+Ne):(Ne=q(Le[1]),et=Ne),{type:"link",raw:Le[0],text:Ne,href:et,tokens:[{type:"text",raw:Ne,text:Ne}]}}},De.url=function(xe,Se){var Le;if(Le=this.rules.inline.url.exec(xe)){var Ne,et;if(Le[2]==="@")Ne=q(this.options.mangle?Se(Le[0]):Le[0]),et="mailto:"+Ne;else{var Xe;do Xe=Le[0],Le[0]=this.rules.inline._backpedal.exec(Le[0])[0];while(Xe!==Le[0]);Ne=q(Le[0]),Le[1]==="www."?et="http://"+Ne:et=Ne}return{type:"link",raw:Le[0],text:Ne,href:et,tokens:[{type:"text",raw:Ne,text:Ne}]}}},De.inlineText=function(xe,Se,Le){var Ne=this.rules.inline.text.exec(xe);if(Ne){var et;return Se?et=this.options.sanitize?this.options.sanitizer?this.options.sanitizer(Ne[0]):q(Ne[0]):Ne[0]:et=q(this.options.smartypants?Le(Ne[0]):Ne[0]),{type:"text",raw:Ne[0],text:et}}},je}(),me=K.noopTest,Me=K.edit,Oe=K.merge,he={newline:/^\n+/,code:/^( {4}[^\n]+\n*)+/,fences:/^ {0,3}(`{3,}(?=[^`\n]*\n)|~{3,})([^\n]*)\n(?:|([\s\S]*?)\n)(?: {0,3}\1[~`]* *(?:\n+|$)|$)/,hr:/^ {0,3}((?:- *){3,}|(?:_ *){3,}|(?:\* *){3,})(?:\n+|$)/,heading:/^ {0,3}(#{1,6}) +([^\n]*?)(?: +#+)? *(?:\n+|$)/,blockquote:/^( {0,3}> ?(paragraph|[^\n]*)(?:\n|$))+/,list:/^( {0,3})(bull) [\s\S]+?(?:hr|def|\n{2,}(?! )(?!\1bull )\n*|\s*$)/,html:"^ {0,3}(?:<(script|pre|style)[\\s>][\\s\\S]*?(?:\\1>[^\\n]*\\n+|$)|comment[^\\n]*(\\n+|$)|<\\?[\\s\\S]*?\\?>\\n*|\\n*|\\n*|?(tag)(?: +|\\n|/?>)[\\s\\S]*?(?:\\n{2,}|$)|<(?!script|pre|style)([a-z][\\w-]*)(?:attribute)*? */?>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:\\n{2,}|$)|(?!script|pre|style)[a-z][\\w-]*\\s*>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:\\n{2,}|$))",def:/^ {0,3}\[(label)\]: *\n? *([^\s>]+)>?(?:(?: +\n? *| *\n *)(title))? *(?:\n+|$)/,nptable:me,table:me,lheading:/^([^\n]+)\n {0,3}(=+|-+) *(?:\n+|$)/,_paragraph:/^([^\n]+(?:\n(?!hr|heading|lheading|blockquote|fences|list|html)[^\n]+)*)/,text:/^[^\n]+/};he._label=/(?!\s*\])(?:\\[\[\]]|[^\[\]])+/,he._title=/(?:"(?:\\"?|[^"\\])*"|'[^'\n]*(?:\n[^'\n]+)*\n?'|\([^()]*\))/,he.def=Me(he.def).replace("label",he._label).replace("title",he._title).getRegex(),he.bullet=/(?:[*+-]|\d{1,9}[.)])/,he.item=/^( *)(bull) ?[^\n]*(?:\n(?!\1bull ?)[^\n]*)*/,he.item=Me(he.item,"gm").replace(/bull/g,he.bullet).getRegex(),he.list=Me(he.list).replace(/bull/g,he.bullet).replace("hr","\\n+(?=\\1?(?:(?:- *){3,}|(?:_ *){3,}|(?:\\* *){3,})(?:\\n+|$))").replace("def","\\n+(?="+he.def.source+")").getRegex(),he._tag="address|article|aside|base|basefont|blockquote|body|caption|center|col|colgroup|dd|details|dialog|dir|div|dl|dt|fieldset|figcaption|figure|footer|form|frame|frameset|h[1-6]|head|header|hr|html|iframe|legend|li|link|main|menu|menuitem|meta|nav|noframes|ol|optgroup|option|p|param|section|source|summary|table|tbody|td|tfoot|th|thead|title|tr|track|ul",he._comment=//,he.html=Me(he.html,"i").replace("comment",he._comment).replace("tag",he._tag).replace("attribute",/ +[a-zA-Z:_][\w.:-]*(?: *= *"[^"\n]*"| *= *'[^'\n]*'| *= *[^\s"'=<>`]+)?/).getRegex(),he.paragraph=Me(he._paragraph).replace("hr",he.hr).replace("heading"," {0,3}#{1,6} ").replace("|lheading","").replace("blockquote"," {0,3}>").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html","?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|!--)").replace("tag",he._tag).getRegex(),he.blockquote=Me(he.blockquote).replace("paragraph",he.paragraph).getRegex(),he.normal=Oe({},he),he.gfm=Oe({},he.normal,{nptable:"^ *([^|\\n ].*\\|.*)\\n *([-:]+ *\\|[-| :]*)(?:\\n((?:(?!\\n|hr|heading|blockquote|code|fences|list|html).*(?:\\n|$))*)\\n*|$)",table:"^ *\\|(.+)\\n *\\|?( *[-:]+[-| :]*)(?:\\n *((?:(?!\\n|hr|heading|blockquote|code|fences|list|html).*(?:\\n|$))*)\\n*|$)"}),he.gfm.nptable=Me(he.gfm.nptable).replace("hr",he.hr).replace("heading"," {0,3}#{1,6} ").replace("blockquote"," {0,3}>").replace("code"," {4}[^\\n]").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html","?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|!--)").replace("tag",he._tag).getRegex(),he.gfm.table=Me(he.gfm.table).replace("hr",he.hr).replace("heading"," {0,3}#{1,6} ").replace("blockquote"," {0,3}>").replace("code"," {4}[^\\n]").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html","?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|!--)").replace("tag",he._tag).getRegex(),he.pedantic=Oe({},he.normal,{html:Me(`^ *(?:comment *(?:\\n|\\s*$)|<(tag)[\\s\\S]+?\\1> *(?:\\n{2,}|\\s*$)|\\s]*)*?/?> *(?:\\n{2,}|\\s*$))`).replace("comment",he._comment).replace(/tag/g,"(?!(?:a|em|strong|small|s|cite|q|dfn|abbr|data|time|code|var|samp|kbd|sub|sup|i|b|u|mark|ruby|rt|rp|bdi|bdo|span|br|wbr|ins|del|img)\\b)\\w+(?!:|[^\\w\\s@]*@)\\b").getRegex(),def:/^ *\[([^\]]+)\]: *([^\s>]+)>?(?: +(["(][^\n]+[")]))? *(?:\n+|$)/,heading:/^ *(#{1,6}) *([^\n]+?) *(?:#+ *)?(?:\n+|$)/,fences:me,paragraph:Me(he.normal._paragraph).replace("hr",he.hr).replace("heading",` *#{1,6} *[^
]`).replace("lheading",he.lheading).replace("blockquote"," {0,3}>").replace("|fences","").replace("|list","").replace("|html","").getRegex()});var ce={escape:/^\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/,autolink:/^<(scheme:[^\s\x00-\x1f<>]*|email)>/,url:me,tag:"^comment|^[a-zA-Z][\\w:-]*\\s*>|^<[a-zA-Z][\\w-]*(?:attribute)*?\\s*/?>|^<\\?[\\s\\S]*?\\?>|^|^",link:/^!?\[(label)\]\(\s*(href)(?:\s+(title))?\s*\)/,reflink:/^!?\[(label)\]\[(?!\s*\])((?:\\[\[\]]?|[^\[\]\\])+)\]/,nolink:/^!?\[(?!\s*\])((?:\[[^\[\]]*\]|\\[\[\]]|[^\[\]])*)\](?:\[\])?/,reflinkSearch:"reflink|nolink(?!\\()",strong:{start:/^(?:(\*\*(?=[*punctuation]))|\*\*)(?![\s])|__/,middle:/^\*\*(?:(?:(?!overlapSkip)(?:[^*]|\\\*)|overlapSkip)|\*(?:(?!overlapSkip)(?:[^*]|\\\*)|overlapSkip)*?\*)+?\*\*$|^__(?![\s])((?:(?:(?!overlapSkip)(?:[^_]|\\_)|overlapSkip)|_(?:(?!overlapSkip)(?:[^_]|\\_)|overlapSkip)*?_)+?)__$/,endAst:/[^punctuation\s]\*\*(?!\*)|[punctuation]\*\*(?!\*)(?:(?=[punctuation\s]|$))/,endUnd:/[^\s]__(?!_)(?:(?=[punctuation\s])|$)/},em:{start:/^(?:(\*(?=[punctuation]))|\*)(?![*\s])|_/,middle:/^\*(?:(?:(?!overlapSkip)(?:[^*]|\\\*)|overlapSkip)|\*(?:(?!overlapSkip)(?:[^*]|\\\*)|overlapSkip)*?\*)+?\*$|^_(?![_\s])(?:(?:(?!overlapSkip)(?:[^_]|\\_)|overlapSkip)|_(?:(?!overlapSkip)(?:[^_]|\\_)|overlapSkip)*?_)+?_$/,endAst:/[^punctuation\s]\*(?!\*)|[punctuation]\*(?!\*)(?:(?=[punctuation\s]|$))/,endUnd:/[^\s]_(?!_)(?:(?=[punctuation\s])|$)/},code:/^(`+)([^`]|[^`][\s\S]*?[^`])\1(?!`)/,br:/^( {2,}|\\)\n(?!\s*$)/,del:me,text:/^(`+|[^`])(?:[\s\S]*?(?:(?=[\\?@\\[\\]`^{|}~",ce.punctuation=Me(ce.punctuation).replace(/punctuation/g,ce._punctuation).getRegex(),ce._blockSkip="\\[[^\\]]*?\\]\\([^\\)]*?\\)|`[^`]*?`|<[^>]*?>",ce._overlapSkip="__[^_]*?__|\\*\\*\\[^\\*\\]*?\\*\\*",ce.em.start=Me(ce.em.start).replace(/punctuation/g,ce._punctuation).getRegex(),ce.em.middle=Me(ce.em.middle).replace(/punctuation/g,ce._punctuation).replace(/overlapSkip/g,ce._overlapSkip).getRegex(),ce.em.endAst=Me(ce.em.endAst,"g").replace(/punctuation/g,ce._punctuation).getRegex(),ce.em.endUnd=Me(ce.em.endUnd,"g").replace(/punctuation/g,ce._punctuation).getRegex(),ce.strong.start=Me(ce.strong.start).replace(/punctuation/g,ce._punctuation).getRegex(),ce.strong.middle=Me(ce.strong.middle).replace(/punctuation/g,ce._punctuation).replace(/blockSkip/g,ce._blockSkip).getRegex(),ce.strong.endAst=Me(ce.strong.endAst,"g").replace(/punctuation/g,ce._punctuation).getRegex(),ce.strong.endUnd=Me(ce.strong.endUnd,"g").replace(/punctuation/g,ce._punctuation).getRegex(),ce.blockSkip=Me(ce._blockSkip,"g").getRegex(),ce.overlapSkip=Me(ce._overlapSkip,"g").getRegex(),ce._escapes=/\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/g,ce._scheme=/[a-zA-Z][a-zA-Z0-9+.-]{1,31}/,ce._email=/[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+(@)[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)+(?![-_])/,ce.autolink=Me(ce.autolink).replace("scheme",ce._scheme).replace("email",ce._email).getRegex(),ce._attribute=/\s+[a-zA-Z:_][\w.:-]*(?:\s*=\s*"[^"]*"|\s*=\s*'[^']*'|\s*=\s*[^\s"'=<>`]+)?/,ce.tag=Me(ce.tag).replace("comment",he._comment).replace("attribute",ce._attribute).getRegex(),ce._label=/(?:\[(?:\\.|[^\[\]\\])*\]|\\.|`[^`]*`|[^\[\]\\`])*?/,ce._href=/<(?:\\[<>]?|[^\s<>\\])*>|[^\s\x00-\x1f]*/,ce._title=/"(?:\\"?|[^"\\])*"|'(?:\\'?|[^'\\])*'|\((?:\\\)?|[^)\\])*\)/,ce.link=Me(ce.link).replace("label",ce._label).replace("href",ce._href).replace("title",ce._title).getRegex(),ce.reflink=Me(ce.reflink).replace("label",ce._label).getRegex(),ce.reflinkSearch=Me(ce.reflinkSearch,"g").replace("reflink",ce.reflink).replace("nolink",ce.nolink).getRegex(),ce.normal=Oe({},ce),ce.pedantic=Oe({},ce.normal,{strong:{start:/^__|\*\*/,middle:/^__(?=\S)([\s\S]*?\S)__(?!_)|^\*\*(?=\S)([\s\S]*?\S)\*\*(?!\*)/,endAst:/\*\*(?!\*)/g,endUnd:/__(?!_)/g},em:{start:/^_|\*/,middle:/^()\*(?=\S)([\s\S]*?\S)\*(?!\*)|^_(?=\S)([\s\S]*?\S)_(?!_)/,endAst:/\*(?!\*)/g,endUnd:/_(?!_)/g},link:Me(/^!?\[(label)\]\((.*?)\)/).replace("label",ce._label).getRegex(),reflink:Me(/^!?\[(label)\]\s*\[([^\]]*)\]/).replace("label",ce._label).getRegex()}),ce.gfm=Oe({},ce.normal,{escape:Me(ce.escape).replace("])","~|])").getRegex(),_extended_email:/[A-Za-z0-9._+-]+(@)[a-zA-Z0-9-_]+(?:\.[a-zA-Z0-9-_]*[a-zA-Z0-9])+(?![-_])/,url:/^((?:ftp|https?):\/\/|www\.)(?:[a-zA-Z0-9\-]+\.?)+[^\s<]*|^email/,_backpedal:/(?:[^?!.,:;*_~()&]+|\([^)]*\)|&(?![a-zA-Z0-9]+;$)|[?!.,:;*_~)]+(?!$))+/,del:/^~+(?=\S)([\s\S]*?\S)~+/,text:/^(`+|[^`])(?:[\s\S]*?(?:(?=[\\.5&&(xe="x"+xe.toString(16)),De+=""+xe+";";return De}var Q=function(){function je(Pe){this.tokens=[],this.tokens.links=Object.create(null),this.options=Pe||Te,this.options.tokenizer=this.options.tokenizer||new Ce,this.tokenizer=this.options.tokenizer,this.tokenizer.options=this.options;var xe={block:re.normal,inline:ue.normal};this.options.pedantic?(xe.block=re.pedantic,xe.inline=ue.pedantic):this.options.gfm&&(xe.block=re.gfm,this.options.breaks?xe.inline=ue.breaks:xe.inline=ue.gfm),this.tokenizer.rules=xe}je.lex=function(xe,Se){var Le=new je(Se);return Le.lex(xe)};var De=je.prototype;return De.lex=function(xe){return xe=xe.replace(/\r\n|\r/g,`
`).replace(/\t/g," "),this.blockTokens(xe,this.tokens,!0),this.inline(this.tokens),this.tokens},De.blockTokens=function(xe,Se,Le){Se===void 0&&(Se=[]),Le===void 0&&(Le=!0),xe=xe.replace(/^ +$/gm,"");for(var Ne,et,Xe,ct;xe;){if(Ne=this.tokenizer.space(xe)){xe=xe.substring(Ne.raw.length),Ne.type&&Se.push(Ne);continue}if(Ne=this.tokenizer.code(xe,Se)){xe=xe.substring(Ne.raw.length),Ne.type?Se.push(Ne):(ct=Se[Se.length-1],ct.raw+=`
`+Ne.raw,ct.text+=`
`+Ne.text);continue}if(Ne=this.tokenizer.fences(xe)){xe=xe.substring(Ne.raw.length),Se.push(Ne);continue}if(Ne=this.tokenizer.heading(xe)){xe=xe.substring(Ne.raw.length),Se.push(Ne);continue}if(Ne=this.tokenizer.nptable(xe)){xe=xe.substring(Ne.raw.length),Se.push(Ne);continue}if(Ne=this.tokenizer.hr(xe)){xe=xe.substring(Ne.raw.length),Se.push(Ne);continue}if(Ne=this.tokenizer.blockquote(xe)){xe=xe.substring(Ne.raw.length),Ne.tokens=this.blockTokens(Ne.text,[],Le),Se.push(Ne);continue}if(Ne=this.tokenizer.list(xe)){for(xe=xe.substring(Ne.raw.length),Xe=Ne.items.length,et=0;et0)for(;(gt=this.tokenizer.rules.inline.reflinkSearch.exec(ct))!=null;)wt.includes(gt[0].slice(gt[0].lastIndexOf("[")+1,-1))&&(ct=ct.slice(0,gt.index)+"["+"a".repeat(gt[0].length-2)+"]"+ct.slice(this.tokenizer.rules.inline.reflinkSearch.lastIndex))}for(;(gt=this.tokenizer.rules.inline.blockSkip.exec(ct))!=null;)ct=ct.slice(0,gt.index)+"["+"a".repeat(gt[0].length-2)+"]"+ct.slice(this.tokenizer.rules.inline.blockSkip.lastIndex);for(;xe;){if(Xe=this.tokenizer.escape(xe)){xe=xe.substring(Xe.raw.length),Se.push(Xe);continue}if(Xe=this.tokenizer.tag(xe,Le,Ne)){xe=xe.substring(Xe.raw.length),Le=Xe.inLink,Ne=Xe.inRawBlock,Se.push(Xe);continue}if(Xe=this.tokenizer.link(xe)){xe=xe.substring(Xe.raw.length),Xe.type==="link"&&(Xe.tokens=this.inlineTokens(Xe.text,[],!0,Ne)),Se.push(Xe);continue}if(Xe=this.tokenizer.reflink(xe,this.tokens.links)){xe=xe.substring(Xe.raw.length),Xe.type==="link"&&(Xe.tokens=this.inlineTokens(Xe.text,[],!0,Ne)),Se.push(Xe);continue}if(Xe=this.tokenizer.strong(xe,ct,et)){xe=xe.substring(Xe.raw.length),Xe.tokens=this.inlineTokens(Xe.text,[],Le,Ne),Se.push(Xe);continue}if(Xe=this.tokenizer.em(xe,ct,et)){xe=xe.substring(Xe.raw.length),Xe.tokens=this.inlineTokens(Xe.text,[],Le,Ne),Se.push(Xe);continue}if(Xe=this.tokenizer.codespan(xe)){xe=xe.substring(Xe.raw.length),Se.push(Xe);continue}if(Xe=this.tokenizer.br(xe)){xe=xe.substring(Xe.raw.length),Se.push(Xe);continue}if(Xe=this.tokenizer.del(xe)){xe=xe.substring(Xe.raw.length),Xe.tokens=this.inlineTokens(Xe.text,[],Le,Ne),Se.push(Xe);continue}if(Xe=this.tokenizer.autolink(xe,ee)){xe=xe.substring(Xe.raw.length),Se.push(Xe);continue}if(!Le&&(Xe=this.tokenizer.url(xe,ee))){xe=xe.substring(Xe.raw.length),Se.push(Xe);continue}if(Xe=this.tokenizer.inlineText(xe,Ne,fe)){xe=xe.substring(Xe.raw.length),et=Xe.raw.slice(-1),Se.push(Xe);continue}if(xe){var vt="Infinite loop on byte: "+xe.charCodeAt(0);if(this.options.silent){console.error(vt);break}else throw new Error(vt)}}return Se},g(je,null,[{key:"rules",get:function(){return{block:re,inline:ue}}}]),je}(),X=S.defaults,Z=K.cleanUrl,ve=K.escape,ye=function(){function je(Pe){this.options=Pe||X}var De=je.prototype;return De.code=function(xe,Se,Le){var Ne=(Se||"").match(/\S*/)[0];if(this.options.highlight){var et=this.options.highlight(xe,Ne);et!=null&&et!==xe&&(Le=!0,xe=et)}return Ne?''+(Le?xe:ve(xe,!0))+`
`:""+(Le?xe:ve(xe,!0))+`
`},De.blockquote=function(xe){return`
`+xe+`
`},De.html=function(xe){return xe},De.heading=function(xe,Se,Le,Ne){return this.options.headerIds?"
`:""+xe+"
`},De.hr=function(){return this.options.xhtml?`
`:`
`},De.list=function(xe,Se,Le){var Ne=Se?"ol":"ul",et=Se&&Le!==1?' start="'+Le+'"':"";return"<"+Ne+et+`>
`+xe+""+Ne+`>
`},De.listitem=function(xe){return""+xe+`
`},De.checkbox=function(xe){return" "},De.paragraph=function(xe){return""+xe+`
`},De.table=function(xe,Se){return Se&&(Se=""+Se+""),`
`},De.tablerow=function(xe){return`
`+xe+`
`},De.tablecell=function(xe,Se){var Le=Se.header?"th":"td",Ne=Se.align?"<"+Le+' align="'+Se.align+'">':"<"+Le+">";return Ne+xe+""+Le+`>
`},De.strong=function(xe){return""+xe+""},De.em=function(xe){return""+xe+""},De.codespan=function(xe){return""+xe+""},De.br=function(){return this.options.xhtml?"
":"
"},De.del=function(xe){return""+xe+""},De.link=function(xe,Se,Le){if(xe=Z(this.options.sanitize,this.options.baseUrl,xe),xe===null)return Le;var Ne='"+Le+"",Ne},De.image=function(xe,Se,Le){if(xe=Z(this.options.sanitize,this.options.baseUrl,xe),xe===null)return Le;var Ne='
":">",Ne},De.text=function(xe){return xe},je}(),Re=function(){function je(){}var De=je.prototype;return De.strong=function(xe){return xe},De.em=function(xe){return xe},De.codespan=function(xe){return xe},De.del=function(xe){return xe},De.html=function(xe){return xe},De.text=function(xe){return xe},De.link=function(xe,Se,Le){return""+Le},De.image=function(xe,Se,Le){return""+Le},De.br=function(){return""},je}(),Je=function(){function je(){this.seen={}}var De=je.prototype;return De.slug=function(xe){var Se=xe.toLowerCase().trim().replace(/<[!\/a-z].*?>/ig,"").replace(/[\u2000-\u206F\u2E00-\u2E7F\\'!"#$%&()*+,./:;<=>?@[\]^`{|}~]/g,"").replace(/\s/g,"-");if(this.seen.hasOwnProperty(Se)){var Le=Se;do this.seen[Le]++,Se=Le+"-"+this.seen[Le];while(this.seen.hasOwnProperty(Se))}return this.seen[Se]=0,Se},je}(),Ze=S.defaults,rt=K.unescape,tt=function(){function je(Pe){this.options=Pe||Ze,this.options.renderer=this.options.renderer||new ye,this.renderer=this.options.renderer,this.renderer.options=this.options,this.textRenderer=new Re,this.slugger=new Je}je.parse=function(xe,Se){var Le=new je(Se);return Le.parse(xe)};var De=je.prototype;return De.parse=function(xe,Se){Se===void 0&&(Se=!0);var Le="",Ne,et,Xe,ct,gt,wt,vt,Mt,Pt,_t,rr,dr,Zt,fr,Ht,Mr,Sr,Tt,Ot=xe.length;for(Ne=0;Ne0&&Ht.tokens[0].type==="text"?(Ht.tokens[0].text=Tt+" "+Ht.tokens[0].text,Ht.tokens[0].tokens&&Ht.tokens[0].tokens.length>0&&Ht.tokens[0].tokens[0].type==="text"&&(Ht.tokens[0].tokens[0].text=Tt+" "+Ht.tokens[0].tokens[0].text)):Ht.tokens.unshift({type:"text",text:Tt}):fr+=Tt),fr+=this.parse(Ht.tokens,Zt),Pt+=this.renderer.listitem(fr,Sr,Mr);Le+=this.renderer.list(Pt,rr,dr);continue}case"html":{Le+=this.renderer.html(_t.text);continue}case"paragraph":{Le+=this.renderer.paragraph(this.parseInline(_t.tokens));continue}case"text":{for(Pt=_t.tokens?this.parseInline(_t.tokens):_t.text;Ne+1An error occurred:"+Fe(Xe.message+"",!0)+"
";throw Xe}}$e.options=$e.setOptions=function(je){return st($e.defaults,je),qe($e.defaults),$e},$e.getDefaults=Ae,$e.defaults=ut,$e.use=function(je){var De=st({},je);if(je.renderer&&function(){var xe=$e.defaults.renderer||new ye,Se=function(et){var Xe=xe[et];xe[et]=function(){for(var ct=arguments.length,gt=new Array(ct),wt=0;wt=0;d--){if(!T(s[d]))continue;var u=s[d].split("="),p=unescape(u[0]),m=unescape(u[1]);r(m,p)}}function S(r,s){if(!r)return;D.cookie=escape(r)+"="+escape(s)+"; expires=Tue, 19 Jan 2038 03:14:07 GMT; path=/"}function y(r){if(!r||!o(r))return;D.cookie=escape(r)+"=; expires=Thu, 01 Jan 1970 00:00:00 GMT; path=/"}function c(){f(function(r,s){y(s)})}function o(r){return new RegExp("(?:^|;\\s*)"+escape(r).replace(/[\-\.\+\*]/g,"\\$&")+"\\s*\\=").test(D.cookie)}},E4JC:function(I,$,R){(function(M,g,T){I.exports=$=g(R("Ib8C"),R("ETIr"),R("cv67"),R("K3mO"),R("OLod"))})(this,function(M){return function(){var g=M,T=g.lib,D=T.StreamCipher,v=g.algo,f=[],S=[],y=[],c=v.Rabbit=D.extend({_doReset:function(){for(var r=this._key.words,s=this.cfg.iv,d=0;d<4;d++)r[d]=(r[d]<<8|r[d]>>>24)&16711935|(r[d]<<24|r[d]>>>8)&4278255360;var u=this._X=[r[0],r[3]<<16|r[2]>>>16,r[1],r[0]<<16|r[3]>>>16,r[2],r[1]<<16|r[0]>>>16,r[3],r[2]<<16|r[1]>>>16],p=this._C=[r[2]<<16|r[2]>>>16,r[0]&4294901760|r[1]&65535,r[3]<<16|r[3]>>>16,r[1]&4294901760|r[2]&65535,r[0]<<16|r[0]>>>16,r[2]&4294901760|r[3]&65535,r[1]<<16|r[1]>>>16,r[3]&4294901760|r[0]&65535];this._b=0;for(var d=0;d<4;d++)o.call(this);for(var d=0;d<8;d++)p[d]^=u[d+4&7];if(s){var m=s.words,i=m[0],t=m[1],a=(i<<8|i>>>24)&16711935|(i<<24|i>>>8)&4278255360,l=(t<<8|t>>>24)&16711935|(t<<24|t>>>8)&4278255360,E=a>>>16|l&4294901760,b=l<<16|a&65535;p[0]^=a,p[1]^=E,p[2]^=l,p[3]^=b,p[4]^=a,p[5]^=E,p[6]^=l,p[7]^=b;for(var d=0;d<4;d++)o.call(this)}},_doProcessBlock:function(r,s){var d=this._X;o.call(this),f[0]=d[0]^d[5]>>>16^d[3]<<16,f[1]=d[2]^d[7]>>>16^d[5]<<16,f[2]=d[4]^d[1]>>>16^d[7]<<16,f[3]=d[6]^d[3]>>>16^d[1]<<16;for(var u=0;u<4;u++)f[u]=(f[u]<<8|f[u]>>>24)&16711935|(f[u]<<24|f[u]>>>8)&4278255360,r[s+u]^=f[u]},blockSize:128/32,ivSize:64/32});function o(){for(var r=this._X,s=this._C,d=0;d<8;d++)S[d]=s[d];s[0]=s[0]+1295307597+this._b|0,s[1]=s[1]+3545052371+(s[0]>>>0>>0?1:0)|0,s[2]=s[2]+886263092+(s[1]>>>0>>0?1:0)|0,s[3]=s[3]+1295307597+(s[2]>>>0>>0?1:0)|0,s[4]=s[4]+3545052371+(s[3]>>>0>>0?1:0)|0,s[5]=s[5]+886263092+(s[4]>>>0>>0?1:0)|0,s[6]=s[6]+1295307597+(s[5]>>>0>>0?1:0)|0,s[7]=s[7]+3545052371+(s[6]>>>0>>0?1:0)|0,this._b=s[7]>>>0>>0?1:0;for(var d=0;d<8;d++){var u=r[d]+s[d],p=u&65535,m=u>>>16,i=((p*p>>>17)+p*m>>>15)+m*m,t=((u&4294901760)*u|0)+((u&65535)*u|0);y[d]=i^t}r[0]=y[0]+(y[7]<<16|y[7]>>>16)+(y[6]<<16|y[6]>>>16)|0,r[1]=y[1]+(y[0]<<8|y[0]>>>24)+y[7]|0,r[2]=y[2]+(y[1]<<16|y[1]>>>16)+(y[0]<<16|y[0]>>>16)|0,r[3]=y[3]+(y[2]<<8|y[2]>>>24)+y[1]|0,r[4]=y[4]+(y[3]<<16|y[3]>>>16)+(y[2]<<16|y[2]>>>16)|0,r[5]=y[5]+(y[4]<<8|y[4]>>>24)+y[3]|0,r[6]=y[6]+(y[5]<<16|y[5]>>>16)+(y[4]<<16|y[4]>>>16)|0,r[7]=y[7]+(y[6]<<8|y[6]>>>24)+y[5]|0}g.Rabbit=D._createHelper(c)}(),M.Rabbit})},ELLl:function(I,$,R){(function(M){M(R("VrN/"))})(function(M){var g={pairs:`()[]{}''""`,closeBefore:`)]}'":;>`,triples:"",explode:"[]{}"},T=M.Pos;M.defineOption("autoCloseBrackets",!1,function(p,m,i){i&&i!=M.Init&&(p.removeKeyMap(v),p.state.closeBrackets=null),m&&(f(D(m,"pairs")),p.state.closeBrackets=m,p.addKeyMap(v))});function D(p,m){return m=="pairs"&&typeof p=="string"?p:typeof p=="object"&&p[m]!=null?p[m]:g[m]}var v={Backspace:c,Enter:o};function f(p){for(var m=0;m=0;a--){var E=t[a].head;p.replaceRange("",T(E.line,E.ch-1),T(E.line,E.ch+1),"+delete")}}function o(p){var m=y(p),i=m&&D(m,"explode");if(!i||p.getOption("disableInput"))return M.Pass;for(var t=p.listSelections(),a=0;a0;return{anchor:new T(p.anchor.line,p.anchor.ch+(m?-1:1)),head:new T(p.head.line,p.head.ch+(m?1:-1))}}function s(p,m){var i=y(p);if(!i||p.getOption("disableInput"))return M.Pass;var t=D(i,"pairs"),a=t.indexOf(m);if(a==-1)return M.Pass;for(var l=D(i,"closeBefore"),E=D(i,"triples"),b=t.charAt(a+1)==m,h=p.listSelections(),L=a%2==0,O,w=0;w=0&&p.getRange(x,T(x.line,x.ch+3))==m+m+m?_="skipThree":_="skip";else if(b&&x.ch>1&&E.indexOf(m)>=0&&p.getRange(T(x.line,x.ch-2),x)==m+m){if(x.ch>2&&/\bstring/.test(p.getTokenTypeAt(T(x.line,x.ch-2))))return M.Pass;_="addFour"}else if(b){var N=x.ch==0?" ":p.getRange(T(x.line,x.ch-1),x);if(!M.isWordChar(j)&&N!=m&&!M.isWordChar(N))_="both";else return M.Pass}else if(L&&(j.length===0||/\s/.test(j)||l.indexOf(j)>-1))_="both";else return M.Pass;if(!O)O=_;else if(O!=_)return M.Pass}var P=a%2?t.charAt(a-1):m,V=a%2?m:t.charAt(a+1);p.operation(function(){if(O=="skip")p.execCommand("goCharRight");else if(O=="skipThree")for(var z=0;z<3;z++)p.execCommand("goCharRight");else if(O=="surround"){for(var B=p.getSelections(),z=0;z>>24)&16711935|(O<<24|O>>>8)&4278255360}var w=this._hash.words,C=s.words,x=d.words,_=y.words,j=c.words,N=o.words,P=r.words,V,z,B,K,U,W,H,q,ne,te;W=V=w[0],H=z=w[1],q=B=w[2],ne=K=w[3],te=U=w[4];for(var _e,h=0;h<80;h+=1)_e=V+E[b+_[h]]|0,h<16?_e+=p(z,B,K)+C[0]:h<32?_e+=m(z,B,K)+C[1]:h<48?_e+=i(z,B,K)+C[2]:h<64?_e+=t(z,B,K)+C[3]:_e+=a(z,B,K)+C[4],_e=_e|0,_e=l(_e,N[h]),_e=_e+U|0,V=U,U=K,K=l(B,10),B=z,z=_e,_e=W+E[b+j[h]]|0,h<16?_e+=a(H,q,ne)+x[0]:h<32?_e+=t(H,q,ne)+x[1]:h<48?_e+=i(H,q,ne)+x[2]:h<64?_e+=m(H,q,ne)+x[3]:_e+=p(H,q,ne)+x[4],_e=_e|0,_e=l(_e,P[h]),_e=_e+te|0,W=te,te=ne,ne=l(q,10),q=H,H=_e;_e=w[1]+B+ne|0,w[1]=w[2]+K+te|0,w[2]=w[3]+U+W|0,w[3]=w[4]+V+H|0,w[4]=w[0]+z+q|0,w[0]=_e},_doFinalize:function(){var E=this._data,b=E.words,h=this._nDataBytes*8,L=E.sigBytes*8;b[L>>>5]|=128<<24-L%32,b[(L+64>>>9<<4)+14]=(h<<8|h>>>24)&16711935|(h<<24|h>>>8)&4278255360,E.sigBytes=(b.length+1)*4,this._process();for(var O=this._hash,w=O.words,C=0;C<5;C++){var x=w[C];w[C]=(x<<8|x>>>24)&16711935|(x<<24|x>>>8)&4278255360}return O},clone:function(){var E=f.clone.call(this);return E._hash=this._hash.clone(),E}});function p(E,b,h){return E^b^h}function m(E,b,h){return E&b|~E&h}function i(E,b,h){return(E|~b)^h}function t(E,b,h){return E&h|b&~h}function a(E,b,h){return E^(b|~h)}function l(E,b){return E<>>32-b}T.RIPEMD160=f._createHelper(u),T.HmacRIPEMD160=f._createHmacHelper(u)}(Math),M.RIPEMD160})},ETIr:function(I,$,R){(function(M,g){I.exports=$=g(R("Ib8C"))})(this,function(M){return function(){var g=M,T=g.lib,D=T.WordArray,v=g.enc,f=v.Base64={stringify:function(y){var c=y.words,o=y.sigBytes,r=this._map;y.clamp();for(var s=[],d=0;d>>2]>>>24-d%4*8&255,p=c[d+1>>>2]>>>24-(d+1)%4*8&255,m=c[d+2>>>2]>>>24-(d+2)%4*8&255,i=u<<16|p<<8|m,t=0;t<4&&d+t*.75>>6*(3-t)&63));var a=r.charAt(64);if(a)for(;s.length%4;)s.push(a);return s.join("")},parse:function(y){var c=y.length,o=this._map,r=this._reverseMap;if(!r){r=this._reverseMap=[];for(var s=0;s>>6-d%4*2,m=u|p;r[s>>>2]|=m<<24-s%4*8,s++}return D.create(r,s)}}(),M.enc.Base64})},"F+F2":function(I,$,R){(function(M,g){I.exports=$=g(R("Ib8C"))})(this,function(M){return function(){if(typeof ArrayBuffer!="function")return;var g=M,T=g.lib,D=T.WordArray,v=D.init,f=D.init=function(S){if(S instanceof ArrayBuffer&&(S=new Uint8Array(S)),(S instanceof Int8Array||typeof Uint8ClampedArray!="undefined"&&S instanceof Uint8ClampedArray||S instanceof Int16Array||S instanceof Uint16Array||S instanceof Int32Array||S instanceof Uint32Array||S instanceof Float32Array||S instanceof Float64Array)&&(S=new Uint8Array(S.buffer,S.byteOffset,S.byteLength)),S instanceof Uint8Array){for(var y=S.byteLength,c=[],o=0;o>>2]|=S[o]<<24-o%4*8;v.call(this,c,y)}else v.apply(this,arguments)};f.prototype=D}(),M.lib.WordArray})},GRuw:function(I,$,R){(function(M,g,T){I.exports=$=g(R("Ib8C"),R("lPiR"))})(this,function(M){return function(){var g=M,T=g.lib,D=T.WordArray,v=g.algo,f=v.SHA256,S=v.SHA224=f.extend({_doReset:function(){this._hash=new D.init([3238371032,914150663,812702999,4144912697,4290775857,1750603025,1694076839,3204075428])},_doFinalize:function(){var y=f._doFinalize.call(this);return y.sigBytes-=4,y}});g.SHA224=f._createHelper(S),g.HmacSHA224=f._createHmacHelper(S)}(),M.SHA224})},GfqC:function(I,$,R){"use strict";var M=R("q1tI"),g=R.n(M),T=R("TSYQ"),D=R.n(T);function v(K,U){var W="cannot "+K.method+" "+K.action+" "+U.status+"'",H=new Error(W);return H.status=U.status,H.method=K.method,H.url=K.action,H}function f(K){var U=K.responseText||K.response;if(!U)return U;try{return JSON.parse(U)}catch(W){return U}}function S(K){var U=new XMLHttpRequest;K.onProgress&&U.upload&&(U.upload.onprogress=function(ne){ne.total>0&&(ne.percent=ne.loaded/ne.total*100),K.onProgress(ne)});var W=new FormData;K.data&&Object.keys(K.data).forEach(function(q){var ne=K.data[q];if(Array.isArray(ne)){ne.forEach(function(te){W.append(q+"[]",te)});return}W.append(q,K.data[q])}),K.file instanceof Blob?W.append(K.filename,K.file,K.file.name):W.append(K.filename,K.file),U.onerror=function(ne){K.onError(ne)},U.onload=function(){return U.status<200||U.status>=300?K.onError(v(K,U),f(U)):K.onSuccess(f(U),U)},U.open(K.method,K.action,!0),K.withCredentials&&"withCredentials"in U&&(U.withCredentials=!0);var H=K.headers||{};return H["X-Requested-With"]!==null&&U.setRequestHeader("X-Requested-With","XMLHttpRequest"),Object.keys(H).forEach(function(q){H[q]!==null&&U.setRequestHeader(q,H[q])}),U.send(W),{abort:function(){U.abort()}}}var y=+new Date,c=0;function o(){return"rc-upload-"+y+"-"+ ++c}function r(K,U){return K.indexOf(U,K.length-U.length)!==-1}var s=function(K,U){if(K&&U){var W=Array.isArray(U)?U:U.split(","),H=K.name||"",q=K.type||"",ne=q.replace(/\/.*$/,"");return W.some(function(te){var _e=te.trim();return _e.charAt(0)==="."?r(H.toLowerCase(),_e.toLowerCase()):/\/\*$/.test(_e)?ne===_e.replace(/\/.*$/,""):q===_e})}return!0};function d(K,U){var W=K.createReader(),H=[];function q(){W.readEntries(function(ne){var te=Array.prototype.slice.apply(ne);H=H.concat(te);var _e=!te.length;_e?U(H):q()})}q()}var u=function(U,W,H){var q=function ne(te,_e){_e=_e||"",te.isFile?te.file(function(Ce){H(Ce)&&(te.fullPath&&!Ce.webkitRelativePath&&(Object.defineProperties(Ce,{webkitRelativePath:{writable:!0}}),Ce.webkitRelativePath=te.fullPath.replace(/^\//,""),Object.defineProperties(Ce,{webkitRelativePath:{writable:!1}})),W([Ce]))}):te.isDirectory&&d(te,function(Ce){Ce.forEach(function(me){ne(me,""+_e+te.name+"/")})})};U.forEach(function(ne){q(ne.webkitGetAsEntry())})},p=u,m=Object.assign||function(K){for(var U=1;U=0)continue;if(!Object.prototype.hasOwnProperty.call(K,H))continue;W[H]=K[H]}return W}function E(K,U){if(!(K instanceof U))throw new TypeError("Cannot call a class as a function")}function b(K,U){if(!K)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return U&&(typeof U=="object"||typeof U=="function")?U:K}function h(K,U){if(typeof U!="function"&&U!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof U);K.prototype=Object.create(U&&U.prototype,{constructor:{value:K,enumerable:!1,writable:!0,configurable:!0}}),U&&(Object.setPrototypeOf?Object.setPrototypeOf(K,U):K.__proto__=U)}var L=function(U){return Object.keys(U).reduce(function(W,H){return(H.substr(0,5)==="data-"||H.substr(0,5)==="aria-"||H==="role")&&(W[H]=U[H]),W},{})},O=function(K){h(U,K);function U(){var W,H,q,ne;E(this,U);for(var te=arguments.length,_e=Array(te),Ce=0;Ce>>2]>>>24-L%4*8&255;l[b+L>>>2]|=O<<24-(b+L)%4*8}else for(var w=0;w>>2]=E[w>>>2];return this.sigBytes+=h,this},clamp:function(){var a=this.words,l=this.sigBytes;a[l>>>2]&=4294967295<<32-l%4*8,a.length=T.ceil(l/4)},clone:function(){var a=o.clone.call(this);return a.words=this.words.slice(0),a},random:function(a){for(var l=[],E=0;E>>2]>>>24-h%4*8&255;b.push((L>>>4).toString(16)),b.push((L&15).toString(16))}return b.join("")},parse:function(a){for(var l=a.length,E=[],b=0;b>>3]|=parseInt(a.substr(b,2),16)<<24-b%8*4;return new r.init(E,l/2)}},u=s.Latin1={stringify:function(a){for(var l=a.words,E=a.sigBytes,b=[],h=0;h>>2]>>>24-h%4*8&255;b.push(String.fromCharCode(L))}return b.join("")},parse:function(a){for(var l=a.length,E=[],b=0;b>>2]|=(a.charCodeAt(b)&255)<<24-b%4*8;return new r.init(E,l)}},p=s.Utf8={stringify:function(a){try{return decodeURIComponent(escape(u.stringify(a)))}catch(l){throw new Error("Malformed UTF-8 data")}},parse:function(a){return u.parse(unescape(encodeURIComponent(a)))}},m=c.BufferedBlockAlgorithm=o.extend({reset:function(){this._data=new r.init,this._nDataBytes=0},_append:function(a){typeof a=="string"&&(a=p.parse(a)),this._data.concat(a),this._nDataBytes+=a.sigBytes},_process:function(a){var l,E=this._data,b=E.words,h=E.sigBytes,L=this.blockSize,O=L*4,w=h/O;a?w=T.ceil(w):w=T.max((w|0)-this._minBufferSize,0);var C=w*L,x=T.min(C*4,h);if(C){for(var _=0;_>>6)+c(128|V&63):c(224|V>>>12&15)+c(128|V>>>6&63)+c(128|V&63)}else{var V=65536+(P.charCodeAt(0)-55296)*1024+(P.charCodeAt(1)-56320);return c(240|V>>>18&7)+c(128|V>>>12&63)+c(128|V>>>6&63)+c(128|V&63)}},r=/[\uD800-\uDBFF][\uDC00-\uDFFFF]|[^\x00-\x7F]/g,s=function(P){return P.replace(r,o)},d=function(P){var V=[0,2,1][P.length%3],z=P.charCodeAt(0)<<16|(P.length>1?P.charCodeAt(1):0)<<8|(P.length>2?P.charCodeAt(2):0),B=[S.charAt(z>>>18),S.charAt(z>>>12&63),V>=2?"=":S.charAt(z>>>6&63),V>=1?"=":S.charAt(z&63)];return B.join("")},u=D.btoa&&typeof D.btoa=="function"?function(P){return D.btoa(P)}:function(P){if(P.match(/[^\x00-\xFF]/))throw new RangeError("The string contains invalid characters.");return P.replace(/[\s\S]{1,3}/g,d)},p=function(P){return u(s(String(P)))},m=function(P){return P.replace(/[+\/]/g,function(V){return V=="+"?"-":"_"}).replace(/=/g,"")},i=function(P,V){return V?m(p(P)):p(P)},t=function(P){return i(P,!0)},a;D.Uint8Array&&(a=function(P,V){for(var z="",B=0,K=P.length;B>>18)+S.charAt(q>>>12&63)+(typeof W!="undefined"?S.charAt(q>>>6&63):"=")+(typeof H!="undefined"?S.charAt(q&63):"=")}return V?m(z):z});var l=/[\xC0-\xDF][\x80-\xBF]|[\xE0-\xEF][\x80-\xBF]{2}|[\xF0-\xF7][\x80-\xBF]{3}/g,E=function(P){switch(P.length){case 4:var V=(7&P.charCodeAt(0))<<18|(63&P.charCodeAt(1))<<12|(63&P.charCodeAt(2))<<6|63&P.charCodeAt(3),z=V-65536;return c((z>>>10)+55296)+c((z&1023)+56320);case 3:return c((15&P.charCodeAt(0))<<12|(63&P.charCodeAt(1))<<6|63&P.charCodeAt(2));default:return c((31&P.charCodeAt(0))<<6|63&P.charCodeAt(1))}},b=function(P){return P.replace(l,E)},h=function(P){var V=P.length,z=V%4,B=(V>0?y[P.charAt(0)]<<18:0)|(V>1?y[P.charAt(1)]<<12:0)|(V>2?y[P.charAt(2)]<<6:0)|(V>3?y[P.charAt(3)]:0),K=[c(B>>>16),c(B>>>8&255),c(B&255)];return K.length-=[0,0,2,1][z],K.join("")},L=D.atob&&typeof D.atob=="function"?function(P){return D.atob(P)}:function(P){return P.replace(/\S{1,4}/g,h)},O=function(P){return L(String(P).replace(/[^A-Za-z0-9\+\/]/g,""))},w=function(P){return b(L(P))},C=function(P){return String(P).replace(/[-_]/g,function(V){return V=="-"?"+":"/"}).replace(/[^A-Za-z0-9\+\/]/g,"")},x=function(P){return w(C(P))},_;D.Uint8Array&&(_=function(P){return Uint8Array.from(O(C(P)),function(V){return V.charCodeAt(0)})});var j=function(){var P=D.Base64;return D.Base64=v,P};if(D.Base64={VERSION:f,atob:O,btoa:u,fromBase64:x,toBase64:i,utob:s,encode:i,encodeURI:t,btou:b,decode:x,noConflict:j,fromUint8Array:a,toUint8Array:_},typeof Object.defineProperty=="function"){var N=function(P){return{value:P,enumerable:!1,writable:!0,configurable:!0}};D.Base64.extendString=function(){Object.defineProperty(String.prototype,"fromBase64",N(function(){return x(this)})),Object.defineProperty(String.prototype,"toBase64",N(function(P){return i(this,P)})),Object.defineProperty(String.prototype,"toBase64URI",N(function(){return i(this,!0)}))}}return D.Meteor&&(Base64=D.Base64),I.exports?I.exports.Base64=D.Base64:!(g=[],T=function(){return D.Base64}.apply($,g),T!==void 0&&(I.exports=T)),{Base64:D.Base64}})}).call(this,R("IyRk"))},JYp7:function(I,$,R){"use strict";R.d($,"c",function(){return g}),R.d($,"d",function(){return T}),R.d($,"f",function(){return v}),R.d($,"a",function(){return f}),R.d($,"b",function(){return S}),R.d($,"e",function(){return y});var M=function(){var c=function(o,r){return c=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(s,d){s.__proto__=d}||function(s,d){for(var u in d)d.hasOwnProperty(u)&&(s[u]=d[u])},c(o,r)};return function(o,r){c(o,r);function s(){this.constructor=o}o.prototype=r===null?Object.create(r):(s.prototype=r.prototype,new s)}}(),g={done:!0,value:void 0},T;(function(c){var o={next:function(){return g}};function r(){return o}c.empty=r;function s(b){var h=!1;return{next:function(){return h?g:(h=!0,{done:!1,value:b})}}}c.single=s;function d(b,h,L){return h===void 0&&(h=0),L===void 0&&(L=b.length),{next:function(){return h>=L?g:{done:!1,value:b[h++]}}}}c.fromArray=d;function u(b){return{next:function(){var h=b.next();return h.done?g:{done:!1,value:h.value}}}}c.fromNativeIterator=u;function p(b){return b?Array.isArray(b)?c.fromArray(b):b:c.empty()}c.from=p;function m(b,h){return{next:function(){var L=b.next();return L.done?g:{done:!1,value:h(L.value)}}}}c.map=m;function i(b,h){return{next:function(){for(;;){var L=b.next();if(L.done)return g;if(h(L.value))return{done:!1,value:L.value}}}}}c.filter=i;function t(b,h){for(var L=b.next();!L.done;L=b.next())h(L.value)}c.forEach=t;function a(b,h){h===void 0&&(h=Number.POSITIVE_INFINITY);var L=[];if(h===0)return L;for(var O=0,w=b.next();!w.done&&!(L.push(w.value),++O>=h);w=b.next());return L}c.collect=a;function l(){for(var b=[],h=0;h=b.length)return g;var O=b[L],w=O.next();return w.done?(L++,this.next()):w}}}c.concat=l;function E(b){return new D(b)}c.chain=E})(T||(T={}));var D=function(){function c(o){this.it=o}return c.prototype.next=function(){return this.it.next()},c}();function v(c){return Array.isArray(c)?T.fromArray(c):c||T.empty()}var f=function(){function c(o,r,s,d){r===void 0&&(r=0),s===void 0&&(s=o.length),d===void 0&&(d=r-1),this.items=o,this.start=r,this.end=s,this.index=d}return c.prototype.first=function(){return this.index=this.start,this.current()},c.prototype.next=function(){return this.index=Math.min(this.index+1,this.end),this.current()},c.prototype.current=function(){return this.index===this.start-1||this.index===this.end?null:this.items[this.index]},c}(),S=function(c){M(o,c);function o(r,s,d,u){return s===void 0&&(s=0),d===void 0&&(d=r.length),u===void 0&&(u=s-1),c.call(this,r,s,d,u)||this}return o.prototype.current=function(){return c.prototype.current.call(this)},o.prototype.previous=function(){return this.index=Math.max(this.index-1,this.start-1),this.current()},o.prototype.first=function(){return this.index=this.start,this.current()},o.prototype.last=function(){return this.index=this.end-1,this.current()},o.prototype.parent=function(){return null},o}(f),y=function(){function c(o,r){this.iterator=o,this.fn=r}return c.prototype.next=function(){return this.fn(this.iterator.next())},c}()},K3mO:function(I,$,R){(function(M,g,T){I.exports=$=g(R("Ib8C"),R("3y9D"),R("WYAk"))})(this,function(M){return function(){var g=M,T=g.lib,D=T.Base,v=T.WordArray,f=g.algo,S=f.MD5,y=f.EvpKDF=D.extend({cfg:D.extend({keySize:128/32,hasher:S,iterations:1}),init:function(c){this.cfg=this.cfg.extend(c)},compute:function(c,o){for(var r,s=this.cfg,d=s.hasher.create(),u=v.create(),p=u.words,m=s.keySize,i=s.iterations;p.lengthMe)){he.next=7;break}return T.b.info("\u6587\u4EF6\u8D85\u8FC7".concat(Me/1024/1024/1024,"GB\uFF0C\u4E0D\u7B26\u5408\u4E0A\u4F20\u8981\u6C42")),he.abrupt("return",!1);case 7:return z.push({name:me.name,file:me}),B(Object(D.a)(z)),N.onChange(z),he.abrupt("return",!1);case 11:case"end":return he.stop()}},Ce)}));function _e(Ce){return te.apply(this,arguments)}return _e}()},ne=function(){var te=Object(y.a)(s.a.mark(function _e(Ce,me){var Me,Oe,he,ce,se,Te,re,ue,fe;return s.a.wrap(function(Q){for(;;)switch(Q.prev=Q.next){case 0:return me.file_name=Ce.name,re=Ce.name,Q.next=4,Object(p.a)("/api/buckets/get_upload_token_for_big_files.json",{method:"get"});case 4:if(ue=Q.sent,ue.data=JSON.parse(h(ue.data)),!((ue==null?void 0:ue.status)!==0)){Q.next=12;break}return z[z.findIndex(function(X){return X.name===re})].status="error",z[z.findIndex(function(X){return X.name===re})].file.status="error",N.onChange(z),T.b.warn("\u4E0A\u4F20\u5931\u8D25\uFF0C\u8BF7\u91CD\u65B0\u5C1D\u8BD5"),Q.abrupt("return");case 12:return W=new E.a({endpoint:ue==null||((Me=ue.data)===null||Me===void 0)?void 0:Me.end_point,region:ue==null||((Oe=ue.data)===null||Oe===void 0)?void 0:Oe.region,accessKeyId:ue==null||((he=ue.data)===null||he===void 0)?void 0:he.access_key_id,accessKeySecret:ue==null||((ce=ue.data)===null||ce===void 0)?void 0:ce.access_key_secret,bucket:ue==null||((se=ue.data)===null||se===void 0)?void 0:se.bucket,stsToken:ue==null||((Te=ue.data)===null||Te===void 0)?void 0:Te.security_token}),console.log(Ce,"file"),H(W),fe=Object(t.a)(),Q.abrupt("return",new Promise(function(X,Z){try{var ve;W.multipartUpload("".concat(N.identifier,"/").concat(fe).concat(re.indexOf(".")>-1?"."+re.split(".").pop():""),new Blob([Ce.file],{type:Ce.file.type}),{timeout:3600*1e3,partSize:1002400,progress:function(Re,Je,Ze){try{console.log("\u8FDB\u5EA6",Re,Je,Ze);var rt=z.findIndex(function(tt){return tt.name===re});z[rt].file.percent=Re*100,z[rt].tempCheckpoint=Je,B(Object(D.a)(z))}catch(tt){}},checkpoint:z[z.findIndex(function(ye){return ye.name===re})].tempCheckpoint,callback:{customValue:{id:re+""},url:ue==null||((ve=ue.data)===null||ve===void 0)?void 0:ve.callback_url,host:ue==null?void 0:ue.data.bucket_host,body:"bucket=${bucket}&object=${object}&etag=${etag}&size=${size}&mimeType=${mimeType}&my_var=${x:my_var}&"+Object(p.e)(me)}}).then(function(ye){var Re,Je=z.findIndex(function(ot){return ot.name===re}),Ze="done";if(((Re=ye.data)===null||Re===void 0?void 0:Re.status)===0){var rt;Ce.response=(rt=ye.data)===null||rt===void 0?void 0:rt.data;var tt=z.findIndex(function(ot){return ot.name===re});z[tt].status="done",z[tt].file.status="done"}else{var st;T.b.warn((st=ye.data)===null||st===void 0?void 0:st.message),Ze="error"}z[Je].status=Ze,z[Je].file.status=Ze,N.onChange(z),X(ye==null?void 0:ye.data)}).catch(function(ye){z[z.findIndex(function(Re){return Re.name===re})].status="error",z[z.findIndex(function(Re){return Re.name===re})].file.status="error",T.b.warn("\u4E0A\u4F20\u5931\u8D25\uFF0C\u8BF7\u91CD\u65B0\u5C1D\u8BD5"),B(Object(D.a)(z)),N.onChange(z),Z(ye),console.log("err:",ye)})}catch(ye){}}));case 17:case"end":return Q.stop()}},_e)}));return function(Ce,me){return te.apply(this,arguments)}}();return Object(d.useEffect)(function(){z.every(function(te){return te==="done"||te==="error"})&&N.onComplete(z)},[z]),Object(d.useEffect)(function(){if(j){var te;(te=W)===null||te===void 0||te.cancel()}},[j]),Object(d.useEffect)(function(){N.uploading&&z.map(function(){var te=Object(y.a)(s.a.mark(function _e(Ce){var me,Me;return s.a.wrap(function(he){for(;;)switch(he.prev=he.next){case 0:if(!((!Ce.status||Ce.status==="error")&&!j)){he.next=6;break}return Ce.status="uploading",Ce.file.status="uploading",he.next=5,ne(Ce,{login:_==null||((me=_.userInfo)===null||me===void 0)?void 0:me.login,container_type:N.container_type,container_id:N.container_id,description:N.description});case 5:Me=he.sent;case 6:case"end":return he.stop()}},_e)}));return function(_e){return te.apply(this,arguments)}}())},[N.uploading]),u.a.createElement(b,Object(M.a)({},q,{height:N.height,className:N.className}),u.a.createElement("p",{className:"ant-upload-hint"},N.text||"\u62D6\u62FD\u6587\u4EF6\u6216\u8005\u70B9\u51FB\u4E0A\u4F20"))};$.b=Object(a.a)(function(C){var x=C.loading,_=C.globalSetting,j=C.user;return{globalSetting:_,loading:x.models.competitions,user:j}})(w)},KmYQ:function(I,$,R){(function(M,g,T){I.exports=$=g(R("Ib8C"),R("OLod"))})(this,function(M){return M.pad.ZeroPadding={pad:function(g,T){var D=T*4;g.clamp(),g.sigBytes+=D-(g.sigBytes%D||D)},unpad:function(g){for(var T=g.words,D=g.sigBytes-1,D=g.sigBytes-1;D>=0;D--)if(T[D>>>2]>>>24-D%4*8&255){g.sigBytes=D+1;break}}},M.pad.ZeroPadding})},L9qf:function(I,$,R){I.exports={flex_box_center:"flex_box_center___3J7Qj",flex_space_between:"flex_space_between___3P3xx",flex_box_vertical_center:"flex_box_vertical_center___3QrMz",flex_box_center_end:"flex_box_center_end___37g4V",flex_box_column:"flex_box_column___2PxMN",wrap:"wrap___1xDeN",in:"in___364z1",btns:"btns___8vHXH",customModal:"customModal___2Vkln"}},LdHM:function(I,$,R){"use strict";R.d($,"b",function(){return l}),R.d($,"a",function(){return b});var M=R("1OyB"),g=R("vuIU"),T=R("Ji7U"),D=R("LK+K"),v=R("q1tI"),f=R("rePB"),S=R("Ff2n"),y=R("ODXe"),c=R("4IlW"),o=R("bX4T"),r=R("YrtM"),s=R("TSYQ"),d=R.n(s),u=R("+nKL"),p=R("8OUc"),m=function(H,q){var ne=H.prefixCls,te=H.id,_e=H.flattenOptions,Ce=H.childrenAsData,me=H.values,Me=H.searchValue,Oe=H.multiple,he=H.defaultActiveFirstOption,ce=H.height,se=H.itemHeight,Te=H.notFoundContent,re=H.open,ue=H.menuItemSelectedIcon,fe=H.virtual,ee=H.onSelect,Q=H.onToggleOpen,X=H.onActiveValue,Z=H.onScroll,ve=H.onMouseEnter,ye="".concat(ne,"-item"),Re=Object(r.a)(function(){return _e},[re,_e],function(nt,je){return je[0]&&nt[1]!==je[1]}),Je=v.useRef(null),Ze=function(je){je.preventDefault()},rt=function(je){Je.current&&Je.current.scrollTo({index:je})},tt=function(je){for(var De=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1,Pe=Re.length,xe=0;xe1&&arguments[1]!==void 0?arguments[1]:!1;return Object(L.a)(W).map(function(q,ne){if(!v.isValidElement(q)||!q.type)return null;var te=q.type.isSelectOptGroup,_e=q.key,Ce=q.props,me=Ce.children,Me=Object(S.a)(Ce,["children"]);return H||!te?O(q):Object(h.a)(Object(h.a)({key:"__RC_SELECT_GRP__".concat(_e===null?ne:_e,"__"),label:_e},Me),{},{options:w(me)})}).filter(function(q){return q})}var C=R("2Qr1"),x=R("qNPg"),_=R("U8pU"),j=R("Kwbf"),N=R("WKfj");function P(W){var H=W.mode,q=W.options,ne=W.children,te=W.backfill,_e=W.allowClear,Ce=W.placeholder,me=W.getInputElement,Me=W.showSearch,Oe=W.onSearch,he=W.defaultOpen,ce=W.autoFocus,se=W.labelInValue,Te=W.value,re=W.inputValue,ue=W.optionLabelProp,fe=H==="multiple"||H==="tags",ee=Me!==void 0?Me:fe||H==="combobox",Q=q||w(ne);if(Object(j.a)(H!=="tags"||Q.every(function(ye){return!ye.disabled}),"Please avoid setting option to disabled in tags mode since user can always type text as tag."),H==="tags"||H==="combobox"){var X=Q.some(function(ye){return ye.options?ye.options.some(function(Re){return typeof("value"in Re?Re.value:Re.key)=="number"}):typeof("value"in ye?ye.value:ye.key)=="number"});Object(j.a)(!X,"`value` of Option should not use number type when `mode` is `tags` or `combobox`.")}if(Object(j.a)(H!=="combobox"||!ue,"`combobox` mode not support `optionLabelProp`. Please set `value` on Option directly."),Object(j.a)(H==="combobox"||!te,"`backfill` only works with `combobox` mode."),Object(j.a)(H==="combobox"||!me,"`getInputElement` only work with `combobox` mode."),Object(j.b)(H!=="combobox"||!me||!_e||!Ce,"Customize `getInputElement` should customize clear and placeholder logic instead of configuring `allowClear` and `placeholder`."),Oe&&!ee&&H!=="combobox"&&H!=="tags"&&Object(j.a)(!1,"`onSearch` should work with `showSearch` instead of use alone."),Object(j.b)(!he||ce,"`defaultOpen` makes Select open without focus which means it will not close by click outside. You can set `autoFocus` if needed."),Te!=null){var Z=Object(N.d)(Te);Object(j.a)(!se||Z.every(function(ye){return Object(_.a)(ye)==="object"&&("key"in ye||"value"in ye)}),"`value` should in shape of `{ value: string | number, label?: ReactNode }` when you set `labelInValue` to `true`"),Object(j.a)(!fe||Array.isArray(Te),"`value` should be array when `mode` is `multiple` or `tags`")}if(ne){var ve=null;Object(L.a)(ne).some(function(ye){if(!v.isValidElement(ye)||!ye.type)return!1;var Re=ye.type;if(Re.isSelectOption)return!1;if(Re.isSelectOptGroup){var Je=Object(L.a)(ye.props.children).every(function(Ze){return!v.isValidElement(Ze)||!ye.type||Ze.type.isSelectOption?!0:(ve=Ze.type,!1)});return!Je}return ve=Re,!0}),ve&&Object(j.a)(!1,"`children` should be `Select.Option` or `Select.OptGroup` instead of `".concat(ve.displayName||ve.name||ve,"`.")),Object(j.a)(re===void 0,"`inputValue` is deprecated, please use `searchValue` instead.")}}var V=P,z=Object(x.a)({prefixCls:"rc-select",components:{optionList:t},convertChildrenToData:w,flattenOptions:C.d,getLabeledValue:C.e,filterOptions:C.b,isValueDisabled:C.g,findValueOption:C.c,warningProps:V,fillOptionsWithMissingValue:C.a}),B=function(W){Object(T.a)(q,W);var H=Object(D.a)(q);function q(){var ne;return Object(M.a)(this,q),ne=H.apply(this,arguments),ne.selectRef=v.createRef(),ne.focus=function(){ne.selectRef.current.focus()},ne.blur=function(){ne.selectRef.current.blur()},ne}return Object(g.a)(q,[{key:"render",value:function(){return v.createElement(z,Object.assign({ref:this.selectRef},this.props))}}]),q}(v.Component);B.Option=l,B.OptGroup=b;var K=B,U=$.c=K},M8RZ:function(I,$,R){"use strict";R.d($,"a",function(){return c});var M=R("fWQN"),g=R("mtLc"),T=R("yKVA"),D=R("879j"),v=R("q1tI"),f=R.n(v),S=R("i8i4"),y=R.n(S),c=function(o){Object(T.a)(s,o);var r=Object(D.a)(s);function s(d){var u;Object(M.a)(this,s),u=r.call(this,d);var p=window.document;return u.node=p.createElement("div"),p.body.appendChild(u.node),u}return Object(g.a)(s,[{key:"render",value:function(){var u=this.props.children;return Object(S.createPortal)(u,this.node)}},{key:"componentWillUnmount",value:function(){window.document.body.removeChild(this.node)}}]),s}(f.a.Component)},MFOe:function(I,$,R){(function(M){var g=f(),T=S(),D=y(),v=typeof window!="undefined"?window:M;I.exports={assign:g,create:T,trim:D,bind:c,slice:o,each:r,map:s,pluck:d,isList:u,isFunction:p,isObject:m,Global:v};function f(){return Object.assign?Object.assign:function(t,a,l,E){for(var b=1;b1)&&te.fire(Ce),ne=0},B)})},onLastListenerRemove:function(){W.dispose()}});return te.event}u.debounce=h;function L(V){var z=new Date().getTime();return m(p(V),function(B){return new Date().getTime()-z})}u.stopwatch=L;function O(V){var z=!0,B;return t(V,function(K){var U=z||K!==B;return z=!1,B=K,U})}u.latch=O;function w(V,z,B){z===void 0&&(z=!1),B===void 0&&(B=[]);var K=B.slice(),U=V(function(q){K?K.push(q):H.fire(q)}),W=function(){K&&K.forEach(function(q){return H.fire(q)}),K=null},H=new c({onFirstListenerAdd:function(){U||(U=V(function(q){return H.fire(q)}))},onFirstListenerDidAdd:function(){K&&(z?setTimeout(W):W())},onLastListenerRemove:function(){U&&U.dispose(),U=null}});return H.event}u.buffer=w;var C=function(){function V(z){this.event=z}return V.prototype.map=function(z){return new V(m(this.event,z))},V.prototype.forEach=function(z){return new V(i(this.event,z))},V.prototype.filter=function(z){return new V(t(this.event,z))},V.prototype.reduce=function(z,B){return new V(E(this.event,z,B))},V.prototype.latch=function(){return new V(O(this.event))},V.prototype.debounce=function(z,B,K,U){return B===void 0&&(B=100),K===void 0&&(K=!1),new V(h(this.event,z,B,K,U))},V.prototype.on=function(z,B,K){return this.event(z,B,K)},V.prototype.once=function(z,B,K){return p(this.event)(z,B,K)},V}();function x(V){return new C(V)}u.chain=x;function _(V,z,B){B===void 0&&(B=function(q){return q});var K=function(){for(var q=[],ne=0;ne0?new y(this._options&&this._options.leakWarningThreshold):void 0}return Object.defineProperty(u.prototype,"event",{get:function(){var p=this;return this._event||(this._event=function(m,i,t){p._listeners||(p._listeners=new D.a);var a=p._listeners.isEmpty();a&&p._options&&p._options.onFirstListenerAdd&&p._options.onFirstListenerAdd(p);var l=p._listeners.push(i?[m,i]:m);a&&p._options&&p._options.onFirstListenerDidAdd&&p._options.onFirstListenerDidAdd(p),p._options&&p._options.onListenerDidAdd&&p._options.onListenerDidAdd(p,m,i);var E;p._leakageMon&&(E=p._leakageMon.check(p._listeners.size));var b;return b={dispose:function(){if(E&&E(),b.dispose=u._noop,!p._disposed&&(l(),p._options&&p._options.onLastListenerRemove)){var h=p._listeners&&!p._listeners.isEmpty();h||p._options.onLastListenerRemove(p)}}},t instanceof T.b?t.add(b):Array.isArray(t)&&t.push(b),b}),this._event},enumerable:!0,configurable:!0}),u.prototype.fire=function(p){if(this._listeners){this._deliveryQueue||(this._deliveryQueue=new D.a);for(var m=this._listeners.iterator(),i=m.next();!i.done;i=m.next())this._deliveryQueue.push([i.value,p]);for(;this._deliveryQueue.size>0;){var t=this._deliveryQueue.shift(),a=t[0],l=t[1];try{typeof a=="function"?a.call(void 0,l):a[0].call(a[1],l)}catch(E){Object(M.e)(E)}}}},u.prototype.dispose=function(){this._listeners&&this._listeners.clear(),this._deliveryQueue&&this._deliveryQueue.clear(),this._leakageMon&&this._leakageMon.dispose(),this._disposed=!0},u._noop=function(){},u}(),o=function(u){v(p,u);function p(m){var i=u.call(this,m)||this;return i._isPaused=0,i._eventQueue=new D.a,i._mergeFn=m&&m.merge,i}return p.prototype.pause=function(){this._isPaused++},p.prototype.resume=function(){if(this._isPaused!==0&&--this._isPaused===0)if(this._mergeFn){var m=this._eventQueue.toArray();this._eventQueue.clear(),u.prototype.fire.call(this,this._mergeFn(m))}else for(;!this._isPaused&&this._eventQueue.size!==0;)u.prototype.fire.call(this,this._eventQueue.shift())},p.prototype.fire=function(m){this._listeners&&(this._isPaused!==0?this._eventQueue.push(m):u.prototype.fire.call(this,m))},p}(c),r=function(){function u(){var p=this;this.hasListeners=!1,this.events=[],this.emitter=new c({onFirstListenerAdd:function(){return p.onFirstListenerAdd()},onLastListenerRemove:function(){return p.onLastListenerRemove()}})}return Object.defineProperty(u.prototype,"event",{get:function(){return this.emitter.event},enumerable:!0,configurable:!0}),u.prototype.add=function(p){var m=this,i={event:p,listener:null};this.events.push(i),this.hasListeners&&this.hook(i);var t=function(){m.hasListeners&&m.unhook(i);var a=m.events.indexOf(i);m.events.splice(a,1)};return Object(T.h)(Object(g.a)(t))},u.prototype.onFirstListenerAdd=function(){var p=this;this.hasListeners=!0,this.events.forEach(function(m){return p.hook(m)})},u.prototype.onLastListenerRemove=function(){var p=this;this.hasListeners=!1,this.events.forEach(function(m){return p.unhook(m)})},u.prototype.hook=function(p){var m=this;p.listener=p.event(function(i){return m.emitter.fire(i)})},u.prototype.unhook=function(p){p.listener&&p.listener.dispose(),p.listener=null},u.prototype.dispose=function(){this.emitter.dispose()},u}(),s=function(){function u(){this.buffers=[]}return u.prototype.wrapEvent=function(p){var m=this;return function(i,t,a){return p(function(l){var E=m.buffers[m.buffers.length-1];E?E.push(function(){return i.call(t,l)}):i.call(t,l)},void 0,a)}},u.prototype.bufferEvents=function(p){var m=[];this.buffers.push(m);var i=p();return this.buffers.pop(),m.forEach(function(t){return t()}),i},u}(),d=function(){function u(){var p=this;this.listening=!1,this.inputEvent=f.None,this.inputEventListener=T.a.None,this.emitter=new c({onFirstListenerDidAdd:function(){p.listening=!0,p.inputEventListener=p.inputEvent(p.emitter.fire,p.emitter)},onLastListenerRemove:function(){p.listening=!1,p.inputEventListener.dispose()}}),this.event=this.emitter.event}return Object.defineProperty(u.prototype,"input",{set:function(p){this.inputEvent=p,this.listening&&(this.inputEventListener.dispose(),this.inputEventListener=p(this.emitter.fire,this.emitter))},enumerable:!0,configurable:!0}),u.prototype.dispose=function(){this.inputEventListener.dispose(),this.emitter.dispose()},u}()},MlIO:function(I,$,R){(function(M,g){I.exports=$=g(R("Ib8C"))})(this,function(M){return function(g){var T=M,D=T.lib,v=D.Base,f=D.WordArray,S=T.x64={},y=S.Word=v.extend({init:function(o,r){this.high=o,this.low=r}}),c=S.WordArray=v.extend({init:function(o,r){o=this.words=o||[],r!=g?this.sigBytes=r:this.sigBytes=o.length*8},toX32:function(){for(var o=this.words,r=o.length,s=[],d=0;d=ee.length?X:ee[ve]})}function v(fe){return fe.replace(/[<>&]/g,function(ee){switch(ee){case"<":return"<";case">":return">";case"&":return"&";default:return ee}})}function f(fe){return fe.replace(/[\\\{\}\*\+\?\|\^\$\.\[\]\(\)]/g,"\\$&")}function S(fe,ee){ee===void 0&&(ee=" ");var Q=y(fe,ee);return c(Q,ee)}function y(fe,ee){if(!fe||!ee)return fe;var Q=ee.length;if(Q===0||fe.length===0)return fe;for(var X=0;fe.indexOf(ee,X)===X;)X=X+Q;return fe.substring(X)}function c(fe,ee){if(!fe||!ee)return fe;var Q=ee.length,X=fe.length;if(Q===0||X===0)return fe;for(var Z=X,ve=-1;!(ve=fe.lastIndexOf(ee,Z-1),ve===-1||ve+Q!==Z);){if(ve===0)return"";Z=ve}return fe.substring(0,Z)}function o(fe){return fe.replace(/[\-\\\{\}\+\?\|\^\$\.\,\[\]\(\)\#\s]/g,"\\$&").replace(/[\*]/g,".*")}function r(fe,ee){if(fe.length0?fe.indexOf(ee,Q)===Q:Q===0?fe===ee:!1}function d(fe,ee,Q){if(Q===void 0&&(Q={}),!fe)throw new Error("Cannot create regex from empty string");ee||(fe=f(fe)),Q.wholeWord&&(/\B/.test(fe.charAt(0))||(fe="\\b"+fe),/\B/.test(fe.charAt(fe.length-1))||(fe=fe+"\\b"));var X="";return Q.global&&(X+="g"),Q.matchCase||(X+="i"),Q.multiline&&(X+="m"),Q.unicode&&(X+="u"),new RegExp(fe,X)}function u(fe){if(fe.source==="^"||fe.source==="^$"||fe.source==="$"||fe.source==="^\\s*$")return!1;var ee=fe.exec("");return!!(ee&&fe.lastIndex===0)}function p(fe){return(fe.global?"g":"")+(fe.ignoreCase?"i":"")+(fe.multiline?"m":"")+(fe.unicode?"u":"")}function m(fe){for(var ee=0,Q=fe.length;ee=0;Q--){var X=fe.charCodeAt(Q);if(X!==32&&X!==9)return Q}return-1}function a(fe,ee){return feee?1:0}function l(fe,ee){for(var Q=Math.min(fe.length,ee.length),X=0;Xee.length?1:0}function E(fe){return fe>=97&&fe<=122}function b(fe){return fe>=65&&fe<=90}function h(fe){return E(fe)||b(fe)}function L(fe,ee){return fe.length===ee.length&&O(fe,ee)}function O(fe,ee,Q){Q===void 0&&(Q=fe.length);for(var X=0;Xfe.length?!1:O(fe,ee,Q)}function C(fe,ee){var Q,X=Math.min(fe.length,ee.length);for(Q=0;Q1){var X=fe.charCodeAt(ee-2);if(_(X))return(X-55296<<10)+(Q-56320)+65536}return Q}function V(fe,ee){var Q=re.getInstance(),X=ee,Z=fe.length,ve=N(fe,Z,ee);ee+=ve>=65536?2:1;for(var ye=Q.getGraphemeBreakType(ve);ee=65536?2:1,ye=Je}return ee-X}function z(fe,ee){var Q=re.getInstance(),X=ee,Z=P(fe,ee);ee-=Z>=65536?2:1;for(var ve=Q.getGraphemeBreakType(Z);ee>0;){var ye=P(fe,ee),Re=Q.getGraphemeBreakType(ye);if(Te(Re,ve))break;ee-=ye>=65536?2:1,ve=Re}return X-ee}var B=/(?:[\u05BE\u05C0\u05C3\u05C6\u05D0-\u05F4\u0608\u060B\u060D\u061B-\u064A\u066D-\u066F\u0671-\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u0710\u0712-\u072F\u074D-\u07A5\u07B1-\u07EA\u07F4\u07F5\u07FA-\u0815\u081A\u0824\u0828\u0830-\u0858\u085E-\u08BD\u200F\uFB1D\uFB1F-\uFB28\uFB2A-\uFD3D\uFD50-\uFDFC\uFE70-\uFEFC]|\uD802[\uDC00-\uDD1B\uDD20-\uDE00\uDE10-\uDE33\uDE40-\uDEE4\uDEEB-\uDF35\uDF40-\uDFFF]|\uD803[\uDC00-\uDCFF]|\uD83A[\uDC00-\uDCCF\uDD00-\uDD43\uDD50-\uDFFF]|\uD83B[\uDC00-\uDEBB])/;function K(fe){return B.test(fe)}var U=/(?:[\u231A\u231B\u23F0\u23F3\u2600-\u27BF\u2B50\u2B55]|\uD83C[\uDDE6-\uDDFF\uDF00-\uDFFF]|\uD83D[\uDC00-\uDE4F\uDE80-\uDEFC\uDFE0-\uDFEB]|\uD83E[\uDD00-\uDDFF\uDE70-\uDE73\uDE78-\uDE82\uDE90-\uDE95])/;function W(fe){return U.test(fe)}var H=/^[\t\n\r\x20-\x7E]*$/;function q(fe){return H.test(fe)}function ne(fe){for(var ee=0,Q=fe.length;ee=11904&&fe<=55215||fe>=63744&&fe<=64255||fe>=65281&&fe<=65374}function _e(fe){return fe>=127462&&fe<=127487||fe>=9728&&fe<=10175||fe>=127744&&fe<=128591||fe>=128640&&fe<=128764||fe>=128992&&fe<=129003||fe>=129280&&fe<=129535||fe>=129648&&fe<=129651||fe>=129656&&fe<=129666||fe>=129680&&fe<=129685}var Ce=String.fromCharCode(65279);function me(fe){return!!(fe&&fe.length>0&&fe.charCodeAt(0)===65279)}function Me(fe){return btoa(encodeURIComponent(fe))}function Oe(fe,ee){for(var Q="",X=0;XQ[3*Z+1])Z=2*Z+1;else return Q[3*Z+2];return 0},fe._INSTANCE=null,fe}();function ue(){return JSON.parse("[0,0,0,51592,51592,11,44424,44424,11,72251,72254,5,7150,7150,7,48008,48008,11,55176,55176,11,128420,128420,14,3276,3277,5,9979,9980,14,46216,46216,11,49800,49800,11,53384,53384,11,70726,70726,5,122915,122916,5,129320,129327,14,2558,2558,5,5906,5908,5,9762,9763,14,43360,43388,8,45320,45320,11,47112,47112,11,48904,48904,11,50696,50696,11,52488,52488,11,54280,54280,11,70082,70083,1,71350,71350,7,73111,73111,5,127892,127893,14,128726,128727,14,129473,129474,14,2027,2035,5,2901,2902,5,3784,3789,5,6754,6754,5,8418,8420,5,9877,9877,14,11088,11088,14,44008,44008,5,44872,44872,11,45768,45768,11,46664,46664,11,47560,47560,11,48456,48456,11,49352,49352,11,50248,50248,11,51144,51144,11,52040,52040,11,52936,52936,11,53832,53832,11,54728,54728,11,69811,69814,5,70459,70460,5,71096,71099,7,71998,71998,5,72874,72880,5,119149,119149,7,127374,127374,14,128335,128335,14,128482,128482,14,128765,128767,14,129399,129400,14,129680,129685,14,1476,1477,5,2377,2380,7,2759,2760,5,3137,3140,7,3458,3459,7,4153,4154,5,6432,6434,5,6978,6978,5,7675,7679,5,9723,9726,14,9823,9823,14,9919,9923,14,10035,10036,14,42736,42737,5,43596,43596,5,44200,44200,11,44648,44648,11,45096,45096,11,45544,45544,11,45992,45992,11,46440,46440,11,46888,46888,11,47336,47336,11,47784,47784,11,48232,48232,11,48680,48680,11,49128,49128,11,49576,49576,11,50024,50024,11,50472,50472,11,50920,50920,11,51368,51368,11,51816,51816,11,52264,52264,11,52712,52712,11,53160,53160,11,53608,53608,11,54056,54056,11,54504,54504,11,54952,54952,11,68108,68111,5,69933,69940,5,70197,70197,7,70498,70499,7,70845,70845,5,71229,71229,5,71727,71735,5,72154,72155,5,72344,72345,5,73023,73029,5,94095,94098,5,121403,121452,5,126981,127182,14,127538,127546,14,127990,127990,14,128391,128391,14,128445,128449,14,128500,128505,14,128752,128752,14,129160,129167,14,129356,129356,14,129432,129442,14,129648,129651,14,129751,131069,14,173,173,4,1757,1757,1,2274,2274,1,2494,2494,5,2641,2641,5,2876,2876,5,3014,3016,7,3262,3262,7,3393,3396,5,3570,3571,7,3968,3972,5,4228,4228,7,6086,6086,5,6679,6680,5,6912,6915,5,7080,7081,5,7380,7392,5,8252,8252,14,9096,9096,14,9748,9749,14,9784,9786,14,9833,9850,14,9890,9894,14,9938,9938,14,9999,9999,14,10085,10087,14,12349,12349,14,43136,43137,7,43454,43456,7,43755,43755,7,44088,44088,11,44312,44312,11,44536,44536,11,44760,44760,11,44984,44984,11,45208,45208,11,45432,45432,11,45656,45656,11,45880,45880,11,46104,46104,11,46328,46328,11,46552,46552,11,46776,46776,11,47000,47000,11,47224,47224,11,47448,47448,11,47672,47672,11,47896,47896,11,48120,48120,11,48344,48344,11,48568,48568,11,48792,48792,11,49016,49016,11,49240,49240,11,49464,49464,11,49688,49688,11,49912,49912,11,50136,50136,11,50360,50360,11,50584,50584,11,50808,50808,11,51032,51032,11,51256,51256,11,51480,51480,11,51704,51704,11,51928,51928,11,52152,52152,11,52376,52376,11,52600,52600,11,52824,52824,11,53048,53048,11,53272,53272,11,53496,53496,11,53720,53720,11,53944,53944,11,54168,54168,11,54392,54392,11,54616,54616,11,54840,54840,11,55064,55064,11,65438,65439,5,69633,69633,5,69837,69837,1,70018,70018,7,70188,70190,7,70368,70370,7,70465,70468,7,70712,70719,5,70835,70840,5,70850,70851,5,71132,71133,5,71340,71340,7,71458,71461,5,71985,71989,7,72002,72002,7,72193,72202,5,72281,72283,5,72766,72766,7,72885,72886,5,73104,73105,5,92912,92916,5,113824,113827,4,119173,119179,5,121505,121519,5,125136,125142,5,127279,127279,14,127489,127490,14,127570,127743,14,127900,127901,14,128254,128254,14,128369,128370,14,128400,128400,14,128425,128432,14,128468,128475,14,128489,128494,14,128715,128720,14,128745,128745,14,128759,128760,14,129004,129023,14,129296,129304,14,129340,129342,14,129388,129392,14,129404,129407,14,129454,129455,14,129485,129487,14,129659,129663,14,129719,129727,14,917536,917631,5,13,13,2,1160,1161,5,1564,1564,4,1807,1807,1,2085,2087,5,2363,2363,7,2402,2403,5,2507,2508,7,2622,2624,7,2691,2691,7,2786,2787,5,2881,2884,5,3006,3006,5,3072,3072,5,3170,3171,5,3267,3268,7,3330,3331,7,3406,3406,1,3538,3540,5,3655,3662,5,3897,3897,5,4038,4038,5,4184,4185,5,4352,4447,8,6068,6069,5,6155,6157,5,6448,6449,7,6742,6742,5,6783,6783,5,6966,6970,5,7042,7042,7,7143,7143,7,7212,7219,5,7412,7412,5,8206,8207,4,8294,8303,4,8596,8601,14,9410,9410,14,9742,9742,14,9757,9757,14,9770,9770,14,9794,9794,14,9828,9828,14,9855,9855,14,9882,9882,14,9900,9903,14,9929,9933,14,9963,9967,14,9987,9988,14,10006,10006,14,10062,10062,14,10175,10175,14,11744,11775,5,42607,42607,5,43043,43044,7,43263,43263,5,43444,43445,7,43569,43570,5,43698,43700,5,43766,43766,5,44032,44032,11,44144,44144,11,44256,44256,11,44368,44368,11,44480,44480,11,44592,44592,11,44704,44704,11,44816,44816,11,44928,44928,11,45040,45040,11,45152,45152,11,45264,45264,11,45376,45376,11,45488,45488,11,45600,45600,11,45712,45712,11,45824,45824,11,45936,45936,11,46048,46048,11,46160,46160,11,46272,46272,11,46384,46384,11,46496,46496,11,46608,46608,11,46720,46720,11,46832,46832,11,46944,46944,11,47056,47056,11,47168,47168,11,47280,47280,11,47392,47392,11,47504,47504,11,47616,47616,11,47728,47728,11,47840,47840,11,47952,47952,11,48064,48064,11,48176,48176,11,48288,48288,11,48400,48400,11,48512,48512,11,48624,48624,11,48736,48736,11,48848,48848,11,48960,48960,11,49072,49072,11,49184,49184,11,49296,49296,11,49408,49408,11,49520,49520,11,49632,49632,11,49744,49744,11,49856,49856,11,49968,49968,11,50080,50080,11,50192,50192,11,50304,50304,11,50416,50416,11,50528,50528,11,50640,50640,11,50752,50752,11,50864,50864,11,50976,50976,11,51088,51088,11,51200,51200,11,51312,51312,11,51424,51424,11,51536,51536,11,51648,51648,11,51760,51760,11,51872,51872,11,51984,51984,11,52096,52096,11,52208,52208,11,52320,52320,11,52432,52432,11,52544,52544,11,52656,52656,11,52768,52768,11,52880,52880,11,52992,52992,11,53104,53104,11,53216,53216,11,53328,53328,11,53440,53440,11,53552,53552,11,53664,53664,11,53776,53776,11,53888,53888,11,54000,54000,11,54112,54112,11,54224,54224,11,54336,54336,11,54448,54448,11,54560,54560,11,54672,54672,11,54784,54784,11,54896,54896,11,55008,55008,11,55120,55120,11,64286,64286,5,66272,66272,5,68900,68903,5,69762,69762,7,69817,69818,5,69927,69931,5,70003,70003,5,70070,70078,5,70094,70094,7,70194,70195,7,70206,70206,5,70400,70401,5,70463,70463,7,70475,70477,7,70512,70516,5,70722,70724,5,70832,70832,5,70842,70842,5,70847,70848,5,71088,71089,7,71102,71102,7,71219,71226,5,71231,71232,5,71342,71343,7,71453,71455,5,71463,71467,5,71737,71738,5,71995,71996,5,72000,72000,7,72145,72147,7,72160,72160,5,72249,72249,7,72273,72278,5,72330,72342,5,72752,72758,5,72850,72871,5,72882,72883,5,73018,73018,5,73031,73031,5,73109,73109,5,73461,73462,7,94031,94031,5,94192,94193,7,119142,119142,7,119155,119162,4,119362,119364,5,121476,121476,5,122888,122904,5,123184,123190,5,126976,126979,14,127184,127231,14,127344,127345,14,127405,127461,14,127514,127514,14,127561,127567,14,127778,127779,14,127896,127896,14,127985,127986,14,127995,127999,5,128326,128328,14,128360,128366,14,128378,128378,14,128394,128397,14,128405,128406,14,128422,128423,14,128435,128443,14,128453,128464,14,128479,128480,14,128484,128487,14,128496,128498,14,128640,128709,14,128723,128724,14,128736,128741,14,128747,128748,14,128755,128755,14,128762,128762,14,128981,128991,14,129096,129103,14,129292,129292,14,129311,129311,14,129329,129330,14,129344,129349,14,129360,129374,14,129394,129394,14,129402,129402,14,129413,129425,14,129445,129450,14,129466,129471,14,129483,129483,14,129511,129535,14,129653,129655,14,129667,129670,14,129705,129711,14,129731,129743,14,917505,917505,4,917760,917999,5,10,10,3,127,159,4,768,879,5,1471,1471,5,1536,1541,1,1648,1648,5,1767,1768,5,1840,1866,5,2070,2073,5,2137,2139,5,2307,2307,7,2366,2368,7,2382,2383,7,2434,2435,7,2497,2500,5,2519,2519,5,2563,2563,7,2631,2632,5,2677,2677,5,2750,2752,7,2763,2764,7,2817,2817,5,2879,2879,5,2891,2892,7,2914,2915,5,3008,3008,5,3021,3021,5,3076,3076,5,3146,3149,5,3202,3203,7,3264,3265,7,3271,3272,7,3298,3299,5,3390,3390,5,3402,3404,7,3426,3427,5,3535,3535,5,3544,3550,7,3635,3635,7,3763,3763,7,3893,3893,5,3953,3966,5,3981,3991,5,4145,4145,7,4157,4158,5,4209,4212,5,4237,4237,5,4520,4607,10,5970,5971,5,6071,6077,5,6089,6099,5,6277,6278,5,6439,6440,5,6451,6456,7,6683,6683,5,6744,6750,5,6765,6770,7,6846,6846,5,6964,6964,5,6972,6972,5,7019,7027,5,7074,7077,5,7083,7085,5,7146,7148,7,7154,7155,7,7222,7223,5,7394,7400,5,7416,7417,5,8204,8204,5,8233,8233,4,8288,8292,4,8413,8416,5,8482,8482,14,8986,8987,14,9193,9203,14,9654,9654,14,9733,9733,14,9745,9745,14,9752,9752,14,9760,9760,14,9766,9766,14,9774,9775,14,9792,9792,14,9800,9811,14,9825,9826,14,9831,9831,14,9852,9853,14,9872,9873,14,9880,9880,14,9885,9887,14,9896,9897,14,9906,9916,14,9926,9927,14,9936,9936,14,9941,9960,14,9974,9974,14,9982,9985,14,9992,9997,14,10002,10002,14,10017,10017,14,10055,10055,14,10071,10071,14,10145,10145,14,11013,11015,14,11503,11505,5,12334,12335,5,12951,12951,14,42612,42621,5,43014,43014,5,43047,43047,7,43204,43205,5,43335,43345,5,43395,43395,7,43450,43451,7,43561,43566,5,43573,43574,5,43644,43644,5,43710,43711,5,43758,43759,7,44005,44005,5,44012,44012,7,44060,44060,11,44116,44116,11,44172,44172,11,44228,44228,11,44284,44284,11,44340,44340,11,44396,44396,11,44452,44452,11,44508,44508,11,44564,44564,11,44620,44620,11,44676,44676,11,44732,44732,11,44788,44788,11,44844,44844,11,44900,44900,11,44956,44956,11,45012,45012,11,45068,45068,11,45124,45124,11,45180,45180,11,45236,45236,11,45292,45292,11,45348,45348,11,45404,45404,11,45460,45460,11,45516,45516,11,45572,45572,11,45628,45628,11,45684,45684,11,45740,45740,11,45796,45796,11,45852,45852,11,45908,45908,11,45964,45964,11,46020,46020,11,46076,46076,11,46132,46132,11,46188,46188,11,46244,46244,11,46300,46300,11,46356,46356,11,46412,46412,11,46468,46468,11,46524,46524,11,46580,46580,11,46636,46636,11,46692,46692,11,46748,46748,11,46804,46804,11,46860,46860,11,46916,46916,11,46972,46972,11,47028,47028,11,47084,47084,11,47140,47140,11,47196,47196,11,47252,47252,11,47308,47308,11,47364,47364,11,47420,47420,11,47476,47476,11,47532,47532,11,47588,47588,11,47644,47644,11,47700,47700,11,47756,47756,11,47812,47812,11,47868,47868,11,47924,47924,11,47980,47980,11,48036,48036,11,48092,48092,11,48148,48148,11,48204,48204,11,48260,48260,11,48316,48316,11,48372,48372,11,48428,48428,11,48484,48484,11,48540,48540,11,48596,48596,11,48652,48652,11,48708,48708,11,48764,48764,11,48820,48820,11,48876,48876,11,48932,48932,11,48988,48988,11,49044,49044,11,49100,49100,11,49156,49156,11,49212,49212,11,49268,49268,11,49324,49324,11,49380,49380,11,49436,49436,11,49492,49492,11,49548,49548,11,49604,49604,11,49660,49660,11,49716,49716,11,49772,49772,11,49828,49828,11,49884,49884,11,49940,49940,11,49996,49996,11,50052,50052,11,50108,50108,11,50164,50164,11,50220,50220,11,50276,50276,11,50332,50332,11,50388,50388,11,50444,50444,11,50500,50500,11,50556,50556,11,50612,50612,11,50668,50668,11,50724,50724,11,50780,50780,11,50836,50836,11,50892,50892,11,50948,50948,11,51004,51004,11,51060,51060,11,51116,51116,11,51172,51172,11,51228,51228,11,51284,51284,11,51340,51340,11,51396,51396,11,51452,51452,11,51508,51508,11,51564,51564,11,51620,51620,11,51676,51676,11,51732,51732,11,51788,51788,11,51844,51844,11,51900,51900,11,51956,51956,11,52012,52012,11,52068,52068,11,52124,52124,11,52180,52180,11,52236,52236,11,52292,52292,11,52348,52348,11,52404,52404,11,52460,52460,11,52516,52516,11,52572,52572,11,52628,52628,11,52684,52684,11,52740,52740,11,52796,52796,11,52852,52852,11,52908,52908,11,52964,52964,11,53020,53020,11,53076,53076,11,53132,53132,11,53188,53188,11,53244,53244,11,53300,53300,11,53356,53356,11,53412,53412,11,53468,53468,11,53524,53524,11,53580,53580,11,53636,53636,11,53692,53692,11,53748,53748,11,53804,53804,11,53860,53860,11,53916,53916,11,53972,53972,11,54028,54028,11,54084,54084,11,54140,54140,11,54196,54196,11,54252,54252,11,54308,54308,11,54364,54364,11,54420,54420,11,54476,54476,11,54532,54532,11,54588,54588,11,54644,54644,11,54700,54700,11,54756,54756,11,54812,54812,11,54868,54868,11,54924,54924,11,54980,54980,11,55036,55036,11,55092,55092,11,55148,55148,11,55216,55238,9,65056,65071,5,65529,65531,4,68097,68099,5,68159,68159,5,69446,69456,5,69688,69702,5,69808,69810,7,69815,69816,7,69821,69821,1,69888,69890,5,69932,69932,7,69957,69958,7,70016,70017,5,70067,70069,7,70079,70080,7,70089,70092,5,70095,70095,5,70191,70193,5,70196,70196,5,70198,70199,5,70367,70367,5,70371,70378,5,70402,70403,7,70462,70462,5,70464,70464,5,70471,70472,7,70487,70487,5,70502,70508,5,70709,70711,7,70720,70721,7,70725,70725,7,70750,70750,5,70833,70834,7,70841,70841,7,70843,70844,7,70846,70846,7,70849,70849,7,71087,71087,5,71090,71093,5,71100,71101,5,71103,71104,5,71216,71218,7,71227,71228,7,71230,71230,7,71339,71339,5,71341,71341,5,71344,71349,5,71351,71351,5,71456,71457,7,71462,71462,7,71724,71726,7,71736,71736,7,71984,71984,5,71991,71992,7,71997,71997,7,71999,71999,1,72001,72001,1,72003,72003,5,72148,72151,5,72156,72159,7,72164,72164,7,72243,72248,5,72250,72250,1,72263,72263,5,72279,72280,7,72324,72329,1,72343,72343,7,72751,72751,7,72760,72765,5,72767,72767,5,72873,72873,7,72881,72881,7,72884,72884,7,73009,73014,5,73020,73021,5,73030,73030,1,73098,73102,7,73107,73108,7,73110,73110,7,73459,73460,5,78896,78904,4,92976,92982,5,94033,94087,7,94180,94180,5,113821,113822,5,119141,119141,5,119143,119145,5,119150,119154,5,119163,119170,5,119210,119213,5,121344,121398,5,121461,121461,5,121499,121503,5,122880,122886,5,122907,122913,5,122918,122922,5,123628,123631,5,125252,125258,5,126980,126980,14,127183,127183,14,127245,127247,14,127340,127343,14,127358,127359,14,127377,127386,14,127462,127487,6,127491,127503,14,127535,127535,14,127548,127551,14,127568,127569,14,127744,127777,14,127780,127891,14,127894,127895,14,127897,127899,14,127902,127984,14,127987,127989,14,127991,127994,14,128000,128253,14,128255,128317,14,128329,128334,14,128336,128359,14,128367,128368,14,128371,128377,14,128379,128390,14,128392,128393,14,128398,128399,14,128401,128404,14,128407,128419,14,128421,128421,14,128424,128424,14,128433,128434,14,128444,128444,14,128450,128452,14,128465,128467,14,128476,128478,14,128481,128481,14,128483,128483,14,128488,128488,14,128495,128495,14,128499,128499,14,128506,128591,14,128710,128714,14,128721,128722,14,128725,128725,14,128728,128735,14,128742,128744,14,128746,128746,14,128749,128751,14,128753,128754,14,128756,128758,14,128761,128761,14,128763,128764,14,128884,128895,14,128992,129003,14,129036,129039,14,129114,129119,14,129198,129279,14,129293,129295,14,129305,129310,14,129312,129319,14,129328,129328,14,129331,129338,14,129343,129343,14,129351,129355,14,129357,129359,14,129375,129387,14,129393,129393,14,129395,129398,14,129401,129401,14,129403,129403,14,129408,129412,14,129426,129431,14,129443,129444,14,129451,129453,14,129456,129465,14,129472,129472,14,129475,129482,14,129484,129484,14,129488,129510,14,129536,129647,14,129652,129652,14,129656,129658,14,129664,129666,14,129671,129679,14,129686,129704,14,129712,129718,14,129728,129730,14,129744,129750,14,917504,917504,4,917506,917535,4,917632,917759,4,918000,921599,4,0,9,4,11,12,4,14,31,4,169,169,14,174,174,14,1155,1159,5,1425,1469,5,1473,1474,5,1479,1479,5,1552,1562,5,1611,1631,5,1750,1756,5,1759,1764,5,1770,1773,5,1809,1809,5,1958,1968,5,2045,2045,5,2075,2083,5,2089,2093,5,2259,2273,5,2275,2306,5,2362,2362,5,2364,2364,5,2369,2376,5,2381,2381,5,2385,2391,5,2433,2433,5,2492,2492,5,2495,2496,7,2503,2504,7,2509,2509,5,2530,2531,5,2561,2562,5,2620,2620,5,2625,2626,5,2635,2637,5,2672,2673,5,2689,2690,5,2748,2748,5,2753,2757,5,2761,2761,7,2765,2765,5,2810,2815,5,2818,2819,7,2878,2878,5,2880,2880,7,2887,2888,7,2893,2893,5,2903,2903,5,2946,2946,5,3007,3007,7,3009,3010,7,3018,3020,7,3031,3031,5,3073,3075,7,3134,3136,5,3142,3144,5,3157,3158,5,3201,3201,5,3260,3260,5,3263,3263,5,3266,3266,5,3270,3270,5,3274,3275,7,3285,3286,5,3328,3329,5,3387,3388,5,3391,3392,7,3398,3400,7,3405,3405,5,3415,3415,5,3457,3457,5,3530,3530,5,3536,3537,7,3542,3542,5,3551,3551,5,3633,3633,5,3636,3642,5,3761,3761,5,3764,3772,5,3864,3865,5,3895,3895,5,3902,3903,7,3967,3967,7,3974,3975,5,3993,4028,5,4141,4144,5,4146,4151,5,4155,4156,7,4182,4183,7,4190,4192,5,4226,4226,5,4229,4230,5,4253,4253,5,4448,4519,9,4957,4959,5,5938,5940,5,6002,6003,5,6070,6070,7,6078,6085,7,6087,6088,7,6109,6109,5,6158,6158,4,6313,6313,5,6435,6438,7,6441,6443,7,6450,6450,5,6457,6459,5,6681,6682,7,6741,6741,7,6743,6743,7,6752,6752,5,6757,6764,5,6771,6780,5,6832,6845,5,6847,6848,5,6916,6916,7,6965,6965,5,6971,6971,7,6973,6977,7,6979,6980,7,7040,7041,5,7073,7073,7,7078,7079,7,7082,7082,7,7142,7142,5,7144,7145,5,7149,7149,5,7151,7153,5,7204,7211,7,7220,7221,7,7376,7378,5,7393,7393,7,7405,7405,5,7415,7415,7,7616,7673,5,8203,8203,4,8205,8205,13,8232,8232,4,8234,8238,4,8265,8265,14,8293,8293,4,8400,8412,5,8417,8417,5,8421,8432,5,8505,8505,14,8617,8618,14,9000,9000,14,9167,9167,14,9208,9210,14,9642,9643,14,9664,9664,14,9728,9732,14,9735,9741,14,9743,9744,14,9746,9746,14,9750,9751,14,9753,9756,14,9758,9759,14,9761,9761,14,9764,9765,14,9767,9769,14,9771,9773,14,9776,9783,14,9787,9791,14,9793,9793,14,9795,9799,14,9812,9822,14,9824,9824,14,9827,9827,14,9829,9830,14,9832,9832,14,9851,9851,14,9854,9854,14,9856,9861,14,9874,9876,14,9878,9879,14,9881,9881,14,9883,9884,14,9888,9889,14,9895,9895,14,9898,9899,14,9904,9905,14,9917,9918,14,9924,9925,14,9928,9928,14,9934,9935,14,9937,9937,14,9939,9940,14,9961,9962,14,9968,9973,14,9975,9978,14,9981,9981,14,9986,9986,14,9989,9989,14,9998,9998,14,10000,10001,14,10004,10004,14,10013,10013,14,10024,10024,14,10052,10052,14,10060,10060,14,10067,10069,14,10083,10084,14,10133,10135,14,10160,10160,14,10548,10549,14,11035,11036,14,11093,11093,14,11647,11647,5,12330,12333,5,12336,12336,14,12441,12442,5,12953,12953,14,42608,42610,5,42654,42655,5,43010,43010,5,43019,43019,5,43045,43046,5,43052,43052,5,43188,43203,7,43232,43249,5,43302,43309,5,43346,43347,7,43392,43394,5,43443,43443,5,43446,43449,5,43452,43453,5,43493,43493,5,43567,43568,7,43571,43572,7,43587,43587,5,43597,43597,7,43696,43696,5,43703,43704,5,43713,43713,5,43756,43757,5,43765,43765,7,44003,44004,7,44006,44007,7,44009,44010,7,44013,44013,5,44033,44059,12,44061,44087,12,44089,44115,12,44117,44143,12,44145,44171,12,44173,44199,12,44201,44227,12,44229,44255,12,44257,44283,12,44285,44311,12,44313,44339,12,44341,44367,12,44369,44395,12,44397,44423,12,44425,44451,12,44453,44479,12,44481,44507,12,44509,44535,12,44537,44563,12,44565,44591,12,44593,44619,12,44621,44647,12,44649,44675,12,44677,44703,12,44705,44731,12,44733,44759,12,44761,44787,12,44789,44815,12,44817,44843,12,44845,44871,12,44873,44899,12,44901,44927,12,44929,44955,12,44957,44983,12,44985,45011,12,45013,45039,12,45041,45067,12,45069,45095,12,45097,45123,12,45125,45151,12,45153,45179,12,45181,45207,12,45209,45235,12,45237,45263,12,45265,45291,12,45293,45319,12,45321,45347,12,45349,45375,12,45377,45403,12,45405,45431,12,45433,45459,12,45461,45487,12,45489,45515,12,45517,45543,12,45545,45571,12,45573,45599,12,45601,45627,12,45629,45655,12,45657,45683,12,45685,45711,12,45713,45739,12,45741,45767,12,45769,45795,12,45797,45823,12,45825,45851,12,45853,45879,12,45881,45907,12,45909,45935,12,45937,45963,12,45965,45991,12,45993,46019,12,46021,46047,12,46049,46075,12,46077,46103,12,46105,46131,12,46133,46159,12,46161,46187,12,46189,46215,12,46217,46243,12,46245,46271,12,46273,46299,12,46301,46327,12,46329,46355,12,46357,46383,12,46385,46411,12,46413,46439,12,46441,46467,12,46469,46495,12,46497,46523,12,46525,46551,12,46553,46579,12,46581,46607,12,46609,46635,12,46637,46663,12,46665,46691,12,46693,46719,12,46721,46747,12,46749,46775,12,46777,46803,12,46805,46831,12,46833,46859,12,46861,46887,12,46889,46915,12,46917,46943,12,46945,46971,12,46973,46999,12,47001,47027,12,47029,47055,12,47057,47083,12,47085,47111,12,47113,47139,12,47141,47167,12,47169,47195,12,47197,47223,12,47225,47251,12,47253,47279,12,47281,47307,12,47309,47335,12,47337,47363,12,47365,47391,12,47393,47419,12,47421,47447,12,47449,47475,12,47477,47503,12,47505,47531,12,47533,47559,12,47561,47587,12,47589,47615,12,47617,47643,12,47645,47671,12,47673,47699,12,47701,47727,12,47729,47755,12,47757,47783,12,47785,47811,12,47813,47839,12,47841,47867,12,47869,47895,12,47897,47923,12,47925,47951,12,47953,47979,12,47981,48007,12,48009,48035,12,48037,48063,12,48065,48091,12,48093,48119,12,48121,48147,12,48149,48175,12,48177,48203,12,48205,48231,12,48233,48259,12,48261,48287,12,48289,48315,12,48317,48343,12,48345,48371,12,48373,48399,12,48401,48427,12,48429,48455,12,48457,48483,12,48485,48511,12,48513,48539,12,48541,48567,12,48569,48595,12,48597,48623,12,48625,48651,12,48653,48679,12,48681,48707,12,48709,48735,12,48737,48763,12,48765,48791,12,48793,48819,12,48821,48847,12,48849,48875,12,48877,48903,12,48905,48931,12,48933,48959,12,48961,48987,12,48989,49015,12,49017,49043,12,49045,49071,12,49073,49099,12,49101,49127,12,49129,49155,12,49157,49183,12,49185,49211,12,49213,49239,12,49241,49267,12,49269,49295,12,49297,49323,12,49325,49351,12,49353,49379,12,49381,49407,12,49409,49435,12,49437,49463,12,49465,49491,12,49493,49519,12,49521,49547,12,49549,49575,12,49577,49603,12,49605,49631,12,49633,49659,12,49661,49687,12,49689,49715,12,49717,49743,12,49745,49771,12,49773,49799,12,49801,49827,12,49829,49855,12,49857,49883,12,49885,49911,12,49913,49939,12,49941,49967,12,49969,49995,12,49997,50023,12,50025,50051,12,50053,50079,12,50081,50107,12,50109,50135,12,50137,50163,12,50165,50191,12,50193,50219,12,50221,50247,12,50249,50275,12,50277,50303,12,50305,50331,12,50333,50359,12,50361,50387,12,50389,50415,12,50417,50443,12,50445,50471,12,50473,50499,12,50501,50527,12,50529,50555,12,50557,50583,12,50585,50611,12,50613,50639,12,50641,50667,12,50669,50695,12,50697,50723,12,50725,50751,12,50753,50779,12,50781,50807,12,50809,50835,12,50837,50863,12,50865,50891,12,50893,50919,12,50921,50947,12,50949,50975,12,50977,51003,12,51005,51031,12,51033,51059,12,51061,51087,12,51089,51115,12,51117,51143,12,51145,51171,12,51173,51199,12,51201,51227,12,51229,51255,12,51257,51283,12,51285,51311,12,51313,51339,12,51341,51367,12,51369,51395,12,51397,51423,12,51425,51451,12,51453,51479,12,51481,51507,12,51509,51535,12,51537,51563,12,51565,51591,12,51593,51619,12,51621,51647,12,51649,51675,12,51677,51703,12,51705,51731,12,51733,51759,12,51761,51787,12,51789,51815,12,51817,51843,12,51845,51871,12,51873,51899,12,51901,51927,12,51929,51955,12,51957,51983,12,51985,52011,12,52013,52039,12,52041,52067,12,52069,52095,12,52097,52123,12,52125,52151,12,52153,52179,12,52181,52207,12,52209,52235,12,52237,52263,12,52265,52291,12,52293,52319,12,52321,52347,12,52349,52375,12,52377,52403,12,52405,52431,12,52433,52459,12,52461,52487,12,52489,52515,12,52517,52543,12,52545,52571,12,52573,52599,12,52601,52627,12,52629,52655,12,52657,52683,12,52685,52711,12,52713,52739,12,52741,52767,12,52769,52795,12,52797,52823,12,52825,52851,12,52853,52879,12,52881,52907,12,52909,52935,12,52937,52963,12,52965,52991,12,52993,53019,12,53021,53047,12,53049,53075,12,53077,53103,12,53105,53131,12,53133,53159,12,53161,53187,12,53189,53215,12,53217,53243,12,53245,53271,12,53273,53299,12,53301,53327,12,53329,53355,12,53357,53383,12,53385,53411,12,53413,53439,12,53441,53467,12,53469,53495,12,53497,53523,12,53525,53551,12,53553,53579,12,53581,53607,12,53609,53635,12,53637,53663,12,53665,53691,12,53693,53719,12,53721,53747,12,53749,53775,12,53777,53803,12,53805,53831,12,53833,53859,12,53861,53887,12,53889,53915,12,53917,53943,12,53945,53971,12,53973,53999,12,54001,54027,12,54029,54055,12,54057,54083,12,54085,54111,12,54113,54139,12,54141,54167,12,54169,54195,12,54197,54223,12,54225,54251,12,54253,54279,12,54281,54307,12,54309,54335,12,54337,54363,12,54365,54391,12,54393,54419,12,54421,54447,12,54449,54475,12,54477,54503,12,54505,54531,12,54533,54559,12,54561,54587,12,54589,54615,12,54617,54643,12,54645,54671,12,54673,54699,12,54701,54727,12,54729,54755,12,54757,54783,12,54785,54811,12,54813,54839,12,54841,54867,12,54869,54895,12,54897,54923,12,54925,54951,12,54953,54979,12,54981,55007,12,55009,55035,12,55037,55063,12,55065,55091,12,55093,55119,12,55121,55147,12,55149,55175,12,55177,55203,12,55243,55291,10,65024,65039,5,65279,65279,4,65520,65528,4,66045,66045,5,66422,66426,5,68101,68102,5,68152,68154,5,68325,68326,5,69291,69292,5,69632,69632,7,69634,69634,7,69759,69761,5]")}},NFKh:function(I,$,R){(function(M,g,T){I.exports=$=g(R("Ib8C"),R("MlIO"),R("F+F2"),R("qM6L"),R("ETIr"),R("wbyO"),R("cv67"),R("3y9D"),R("lPiR"),R("GRuw"),R("1uat"),R("uGsb"),R("5hvy"),R("ELcG"),R("WYAk"),R("e7zE"),R("K3mO"),R("OLod"),R("ALsQ"),R("9OqN"),R("qu8F"),R("S6kV"),R("gb/T"),R("qBft"),R("oRuE"),R("jO9C"),R("KmYQ"),R("uGxW"),R("bQjk"),R("wZgz"),R("pA7S"),R("w7YG"),R("E4JC"),R("PVpz"))})(this,function(M){return M})},NvD2:function(I,$,R){"use strict";R.d($,"a",function(){return f});var M=R("Kwbf");function g(S,y){var c=new Set;return S.forEach(function(o){y.has(o)||c.add(o)}),c}function T(S){var y=S||{},c=y.disabled,o=y.disableCheckbox,r=y.checkable;return!!(c||o)||r===!1}function D(S,y,c,o){for(var r=new Set(S),s=new Set,d=0;d<=c;d+=1){var u=y.get(d)||new Set;u.forEach(function(t){var a=t.key,l=t.node,E=t.children,b=E===void 0?[]:E;r.has(a)&&!o(l)&&b.filter(function(h){return!o(h.node)}).forEach(function(h){r.add(h.key)})})}for(var p=new Set,m=c;m>=0;m-=1){var i=y.get(m)||new Set;i.forEach(function(t){var a=t.parent,l=t.node;if(o(l)||!t.parent||p.has(t.parent.key))return;if(o(t.parent.node)){p.add(a.key);return}var E=!0,b=!1;(a.children||[]).filter(function(h){return!o(h.node)}).forEach(function(h){var L=h.key,O=r.has(L);E&&!O&&(E=!1),!b&&(O||s.has(L))&&(b=!0)}),E&&r.add(a.key),b&&s.add(a.key),p.add(a.key)})}return{checkedKeys:Array.from(r),halfCheckedKeys:Array.from(g(s,r))}}function v(S,y,c,o,r){for(var s=new Set(S),d=new Set(y),u=0;u<=o;u+=1){var p=c.get(u)||new Set;p.forEach(function(a){var l=a.key,E=a.node,b=a.children,h=b===void 0?[]:b;!s.has(l)&&!d.has(l)&&!r(E)&&h.filter(function(L){return!r(L.node)}).forEach(function(L){s.delete(L.key)})})}d=new Set;for(var m=new Set,i=o;i>=0;i-=1){var t=c.get(i)||new Set;t.forEach(function(a){var l=a.parent,E=a.node;if(r(E)||!a.parent||m.has(a.parent.key))return;if(r(a.parent.node)){m.add(l.key);return}var b=!0,h=!1;(l.children||[]).filter(function(L){return!r(L.node)}).forEach(function(L){var O=L.key,w=s.has(O);b&&!w&&(b=!1),!h&&(w||d.has(O))&&(h=!0)}),b||s.delete(l.key),h&&d.add(l.key),m.add(l.key)})}return{checkedKeys:Array.from(s),halfCheckedKeys:Array.from(g(d,s))}}function f(S,y,c,o){var r=[],s;o?s=o:s=T;var d=new Set(S.filter(function(i){var t=!!c[i];return t||r.push(i),t})),u=new Map,p=0;Object.keys(c).forEach(function(i){var t=c[i],a=t.level,l=u.get(a);l||(l=new Set,u.set(a,l)),l.add(t),p=Math.max(p,a)}),Object(M.a)(!r.length,"Tree missing follow keys: ".concat(r.slice(0,100).map(function(i){return"'".concat(i,"'")}).join(", ")));var m;return y===!0?m=D(d,u,p,s):m=v(d,y.halfCheckedKeys,u,p,s),m}},OLod:function(I,$,R){(function(M,g,T){I.exports=$=g(R("Ib8C"),R("K3mO"))})(this,function(M){M.lib.Cipher||function(g){var T=M,D=T.lib,v=D.Base,f=D.WordArray,S=D.BufferedBlockAlgorithm,y=T.enc,c=y.Utf8,o=y.Base64,r=T.algo,s=r.EvpKDF,d=D.Cipher=S.extend({cfg:v.extend(),createEncryptor:function(x,_){return this.create(this._ENC_XFORM_MODE,x,_)},createDecryptor:function(x,_){return this.create(this._DEC_XFORM_MODE,x,_)},init:function(x,_,j){this.cfg=this.cfg.extend(j),this._xformMode=x,this._key=_,this.reset()},reset:function(){S.reset.call(this),this._doReset()},process:function(x){return this._append(x),this._process()},finalize:function(x){x&&this._append(x);var _=this._doFinalize();return _},keySize:128/32,ivSize:128/32,_ENC_XFORM_MODE:1,_DEC_XFORM_MODE:2,_createHelper:function(){function x(_){return typeof _=="string"?C:L}return function(_){return{encrypt:function(j,N,P){return x(N).encrypt(_,j,N,P)},decrypt:function(j,N,P){return x(N).decrypt(_,j,N,P)}}}}()}),u=D.StreamCipher=d.extend({_doFinalize:function(){var x=this._process(!0);return x},blockSize:1}),p=T.mode={},m=D.BlockCipherMode=v.extend({createEncryptor:function(x,_){return this.Encryptor.create(x,_)},createDecryptor:function(x,_){return this.Decryptor.create(x,_)},init:function(x,_){this._cipher=x,this._iv=_}}),i=p.CBC=function(){var x=m.extend();x.Encryptor=x.extend({processBlock:function(j,N){var P=this._cipher,V=P.blockSize;_.call(this,j,N,V),P.encryptBlock(j,N),this._prevBlock=j.slice(N,N+V)}}),x.Decryptor=x.extend({processBlock:function(j,N){var P=this._cipher,V=P.blockSize,z=j.slice(N,N+V);P.decryptBlock(j,N),_.call(this,j,N,V),this._prevBlock=z}});function _(j,N,P){var V,z=this._iv;z?(V=z,this._iv=g):V=this._prevBlock;for(var B=0;B>>2]&255;x.sigBytes-=_}},l=D.BlockCipher=d.extend({cfg:d.cfg.extend({mode:i,padding:a}),reset:function(){var x;d.reset.call(this);var _=this.cfg,j=_.iv,N=_.mode;this._xformMode==this._ENC_XFORM_MODE?x=N.createEncryptor:(x=N.createDecryptor,this._minBufferSize=1),this._mode&&this._mode.__creator==x?this._mode.init(this,j&&j.words):(this._mode=x.call(N,this,j&&j.words),this._mode.__creator=x)},_doProcessBlock:function(x,_){this._mode.processBlock(x,_)},_doFinalize:function(){var x,_=this.cfg.padding;return this._xformMode==this._ENC_XFORM_MODE?(_.pad(this._data,this.blockSize),x=this._process(!0)):(x=this._process(!0),_.unpad(x)),x},blockSize:128/32}),E=D.CipherParams=v.extend({init:function(x){this.mixIn(x)},toString:function(x){return(x||this.formatter).stringify(this)}}),b=T.format={},h=b.OpenSSL={stringify:function(x){var _,j=x.ciphertext,N=x.salt;return N?_=f.create([1398893684,1701076831]).concat(N).concat(j):_=j,_.toString(o)},parse:function(x){var _,j=o.parse(x),N=j.words;return N[0]==1398893684&&N[1]==1701076831&&(_=f.create(N.slice(2,4)),N.splice(0,4),j.sigBytes-=16),E.create({ciphertext:j,salt:_})}},L=D.SerializableCipher=v.extend({cfg:v.extend({format:h}),encrypt:function(x,_,j,N){N=this.cfg.extend(N);var P=x.createEncryptor(j,N),V=P.finalize(_),z=P.cfg;return E.create({ciphertext:V,key:j,iv:z.iv,algorithm:x,mode:z.mode,padding:z.padding,blockSize:x.blockSize,formatter:N.format})},decrypt:function(x,_,j,N){N=this.cfg.extend(N),_=this._parse(_,N.format);var P=x.createDecryptor(j,N).finalize(_.ciphertext);return P},_parse:function(x,_){return typeof x=="string"?_.parse(x,this):x}}),O=T.kdf={},w=O.OpenSSL={execute:function(x,_,j,N){N||(N=f.random(64/8));var P=s.create({keySize:_+j}).compute(x,N),V=f.create(P.words.slice(_),j*4);return P.sigBytes=_*4,E.create({key:P,iv:V,salt:N})}},C=D.PasswordBasedCipher=L.extend({cfg:L.cfg.extend({kdf:w}),encrypt:function(x,_,j,N){N=this.cfg.extend(N);var P=N.kdf.execute(j,x.keySize,x.ivSize);N.iv=P.iv;var V=L.encrypt.call(this,x,_,P.key,N);return V.mixIn(P),V},decrypt:function(x,_,j,N){N=this.cfg.extend(N),_=this._parse(_,N.format);var P=N.kdf.execute(j,x.keySize,x.ivSize,_.salt);N.iv=P.iv;var V=L.decrypt.call(this,x,_,P.key,N);return V}})}()})},OZM5:function(I,$,R){"use strict";R.d($,"b",function(){return o}),R.d($,"a",function(){return r}),R.d($,"k",function(){return s}),R.d($,"h",function(){return d}),R.d($,"i",function(){return u}),R.d($,"g",function(){return p}),R.d($,"c",function(){return m}),R.d($,"d",function(){return i}),R.d($,"j",function(){return l}),R.d($,"e",function(){return E}),R.d($,"f",function(){return b});var M=R("KQm4"),g=R("U8pU"),T=R("Ff2n"),D=R("q1tI"),v=R.n(D),f=R("Kwbf"),S=R("WaYH"),y=.25,c=2;function o(h,L){var O=h.slice(),w=O.indexOf(L);return w>=0&&O.splice(w,1),O}function r(h,L){var O=h.slice();return O.indexOf(L)===-1&&O.push(L),O}function s(h){return h.split("-")}function d(h,L){return"".concat(h,"-").concat(L)}function u(h){return h&&h.type&&h.type.isTreeNode}function p(h,L){var O=[h],w=L[h];function C(){var x=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];x.forEach(function(_){var j=_.key,N=_.children;O.push(j),C(N)})}return C(w.children),O}function m(h,L){var O=h.clientY,w=L.selectHandle.getBoundingClientRect(),C=w.top,x=w.bottom,_=w.height,j=Math.max(_*y,c);return O<=C+j?-1:O>=x-j?1:0}function i(h,L){if(!h)return;var O=L.multiple;return O?h.slice():h.length?[h[0]]:h}var t=function(L){return L};function a(h,L){if(!h)return[];var O=L||{},w=O.processProps,C=w===void 0?t:w,x=Array.isArray(h)?h:[h];return x.map(function(_){var j=_.children,N=Object(T.a)(_,["children"]),P=a(j,L);return v.a.createElement(S.a,Object.assign({},C(N)),P)})}function l(h){if(!h)return null;var L;if(Array.isArray(h))L={checkedKeys:h,halfCheckedKeys:void 0};else if(Object(g.a)(h)==="object")L={checkedKeys:h.checked||void 0,halfCheckedKeys:h.halfChecked||void 0};else return Object(f.a)(!1,"`checkedKeys` is not an array or an object"),null;return L}function E(h,L){var O=new Set;function w(C){if(O.has(C))return;var x=L[C];if(!x)return;O.add(C);var _=x.parent,j=x.node;if(j.disabled)return;_&&w(_.key)}return(h||[]).forEach(function(C){w(C)}),Object(M.a)(O)}function b(h){var L={};return Object.keys(h).forEach(function(O){(O.startsWith("data-")||O.startsWith("aria-"))&&(L[O]=h[O])}),L}},Ot1p:function(I,$,R){"use strict";var M=R("2qtc"),g=R("kLXV"),T=R("rAM+"),D=R("miYZ"),v=R("tsqr"),f=R("9og8"),S=R("tJVT"),y=R("jrin"),c=R("WmNS"),o=R.n(c),r=R("q1tI"),s=R.n(r),d=R("VrN/"),u=R.n(d),p=R("bdgK"),m=R("p77/"),i=R("Bd2K"),t=R("ELLl"),a=R("19Vz"),l=R("lZu9"),E=R("+NIl"),b=R("kSUc"),h=R("9Bee"),L=function(Xe){var ct=Xe.value,gt=ct===void 0?"":ct,wt=Xe.className,vt=Xe.showTextOnly,Mt=Xe.showLines,Pt=Xe.style,_t=Pt===void 0?{}:Pt,rr=Object(r.useMemo)(function(){return""},[gt]);return s.a.createElement(s.a.Fragment,null,s.a.createElement("div",{dangerouslySetInnerHTML:{__html:rr}}))},O=R("0Owb"),w=R("dejd"),C=R("C+DQ"),x=R("1vsH"),_=R("m3rI"),j=[{title:"\u7C97\u4F53",icon:"icon-bold",actionName:"bold"},{title:"\u659C\u4F53",icon:"icon-italic",actionName:"italic"},"|",{title:"\u65E0\u5E8F\u5217\u8868",icon:"icon-unorder-list",actionName:"list-ul"},{title:"\u6709\u5E8F\u5217\u8868",icon:"icon-order-list",actionName:"list-ol"},"|",{title:"\u884C\u5185\u4EE3\u7801",icon:"icon-code",actionName:"code"},{title:"\u4EE3\u7801\u5757\uFF08\u591A\u8BED\u8A00\u98CE\u683C\uFF09",icon:"icon-file-code",actionName:"code-block"},{title:"\u94FE\u63A5",icon:"icon-link",actionName:"link"},"|",{title:"\u884C\u5185\u516C\u5F0F",icon:"icon-sum",actionName:"inline-latex"},{title:"\u591A\u884C\u516C\u5F0F",icon:"icon-formula",actionName:"latex"},"|",{title:"\u6DFB\u52A0\u56FE\u7247",icon:"icon-picture",actionName:"upload-image"},{title:"\u8868\u683C",icon:"icon-table",actionName:"add-table"},"|",{title:"\u6362\u884C",icon:"icon-minus",actionName:"line-break"},{title:"\u6E05\u7A7A",icon:"icon-eraser",actionName:"eraser"}];function N(Xe){var ct=Xe.onActionCallback,gt=Xe.title,wt=Xe.icon,vt=Xe.actionName,Mt=Xe.className,Pt=Mt===void 0?"":Mt,_t=Xe.children;function rr(){ct(vt)}return s.a.createElement("a",{title:gt,className:Pt,onClick:rr},s.a.createElement("i",{className:"md-iconfont ".concat(wt)}),_t)}var P=function(Xe){var ct=Xe.watch,gt=Xe.showNullButton,wt=Xe.onActionCallback,vt=Xe.fullScreen,Mt=Xe.insertTemp,Pt=Xe.hidetoolBar,_t=Xe.uuid,rr=Xe.setOpenPhones;console.log("link:","".concat(location.origin,"/upload.html?_educoder_session_login=").concat(Object(x.D)("_educoder_session_login"),"&_educoder_session=").concat(Object(x.D)("_educoder_session"),"&key=").concat(_t,"&api=").concat(encodeURIComponent(_.a.PROXY_SERVER)));var dr=[].concat(j,[{title:"".concat(ct?"\u5173\u95ED\u5B9E\u65F6\u9884\u89C8":"\u5F00\u542F\u5B9E\u65F6\u9884\u89C8"),icon:"".concat(ct?"icon-eye-slash":"icon-eye"),actionName:"trigger-watch"}]);return s.a.createElement("ul",{className:"markdown-toolbar-container"},!Pt&&dr.map(function(Zt,fr){return s.a.createElement("li",{key:fr},Zt.actionName?s.a.createElement(N,Object(O.a)({},Zt,{onActionCallback:wt})):s.a.createElement("span",{className:"v-line"}))}),gt?s.a.createElement("li",null,s.a.createElement(N,{icon:"icon-edit",className:"btn-null",title:"\u589E\u52A0\u586B\u7A7A",actionName:"add-null-ch",onActionCallback:wt},s.a.createElement("span",{className:"fill-tip"},"\u70B9\u51FB\u63D2\u5165\b\u586B\u7A7A\u9879"))):null,Mt&&s.a.createElement("li",null,s.a.createElement(N,{icon:"icon-edit",className:"btn-null",title:"\u63D2\u5165\u6A21\u677F",actionName:"inster-template-".concat(Mt),onActionCallback:wt},s.a.createElement("span",{className:"fill-tip"},"\u63D2\u5165\u6A21\u677F"))),s.a.createElement("li",{className:"btn-full-screen"},s.a.createElement(N,{icon:"".concat(vt?"icon-shrink":"icon-enlarge"),title:vt?"\u5173\u95ED\u5168\u5C4F":"\u5F00\u542F\u5168\u5C4F",actionName:"trigger-full-screen",onActionCallback:wt})))},V=R("M8RZ"),z=R("+L6B"),B=R("2/Rp"),K=R("y8nQ"),U=R("Vl3Y"),W=R("5NDa"),H=R("5rEg"),q={labelCol:{span:4},wrapperCol:{span:20}},ne=function(Xe){var ct=Xe.callback,gt=Xe.onCancel;function wt(vt){ct(vt)}return s.a.createElement(U.a,Object(O.a)({},q,{initialValues:{link:"http://",title:""},className:"link-panel",onFinish:wt}),s.a.createElement(U.a.Item,{label:"\u94FE\u63A5\u5730\u5740",name:"link",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u94FE\u63A5\u5730\u5740"}]},s.a.createElement(H.a,null)),s.a.createElement(U.a.Item,{label:"\u94FE\u63A5\u6807\u9898",name:"title",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u94FE\u63A5\u6807\u9898"}]},s.a.createElement(H.a,null)),s.a.createElement("div",{className:"flex-container flex-end"},s.a.createElement(B.a,{type:"primary",htmlType:"submit",style:{marginRight:10}},"\u786E\u5B9A"),s.a.createElement(B.a,{type:"ghost",onClick:gt},"\u53D6\u6D88")))},te=R("7ahc"),_e=R("k1fw"),Ce=R("HmJG"),me=R("BjJ7"),Me=U.a.useForm,Oe={width:280,marginRight:10},he={labelCol:{span:5},wrapperCol:{span:19}},ce=function(Xe){var ct=Xe.callback,gt=Xe.onCancel,wt=Me(),vt=Object(S.a)(wt,1),Mt=vt[0],Pt=Object(r.useRef)();function _t(Zt){ct(Object(_e.a)(Object(_e.a)({},Zt),{},{name:Pt.current}))}function rr(Zt,fr){Mt.setFieldsValue({src:"/api/attachments/".concat(Zt.id,"?type=").concat(Zt.content_type),type:fr.type})}function dr(Zt){var fr=Zt.target.files[0];Pt.current=fr.name,Te(fr,rr)}return s.a.createElement(U.a,Object(O.a)({form:Mt},he,{className:"upload-image-panel",onFinish:_t}),s.a.createElement(U.a.Item,{label:"\u6587\u4EF6\u5730\u5740",required:!0},s.a.createElement("div",{className:"flex-container"},s.a.createElement(U.a.Item,{noStyle:!0,name:"src",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u6587\u4EF6\u5730\u5740"}]},s.a.createElement(H.a,{style:Oe})),s.a.createElement(se,{onFileChange:dr}))),s.a.createElement(U.a.Item,{label:"\u6587\u4EF6\u63CF\u8FF0",name:"alt"},s.a.createElement(H.a,{style:{width:264}})),s.a.createElement(U.a.Item,{style:{textAlign:"right"}},s.a.createElement(B.a,{type:"primary",htmlType:"submit",style:{marginRight:10}},"\u786E\u5B9A"),s.a.createElement(B.a,{type:"ghost",onClick:gt},"\u53D6\u6D88")))};function se(Xe){var ct=Xe.onFileChange;return s.a.createElement("a",{className:"upload-button"},"\u672C\u5730\u4E0A\u4F20",s.a.createElement("input",{type:"file",onChange:ct}))}function Te(Xe,ct){if(!Xe)throw new String("\u6CA1\u6709\u6587\u4EF6");var gt=new FormData;gt.append("editormd-image-file",Xe),gt.append("file_param_name","editormd-image-file"),gt.append("byxhr","true");var wt=new window.XMLHttpRequest;wt.withCredentials=!0,wt.addEventListener("load",function(vt){ct(JSON.parse(vt.target.responseText),Xe)},!1),wt.addEventListener("error",function(vt){console.error(vt)},!1),wt.open("POST","".concat(me.a,"/api/attachments.json")),wt.send(gt)}var re=R("giR+"),ue=R("fyUT"),fe=R("7Kak"),ee=R("9yH6"),Q=ee.a.Group,X={margin:"0 8px"},Z=function(Xe){var ct=Xe.callback,gt=Xe.onCancel;function wt(vt){ct(vt)}return s.a.createElement(U.a,{className:"add-table-panel",initialValues:{row:3,col:2,align:"default"},onFinish:wt},s.a.createElement("div",{className:"flex-container"},s.a.createElement("span",{style:X},"\u5355\u5143\u683C\u6570\uFF1A"),s.a.createElement("span",{style:X},"\u884C\u6570"),s.a.createElement(U.a.Item,{name:"row",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u884C\u6570"}]},s.a.createElement(ue.a,null)),s.a.createElement("span",{style:X},"\u5217\u6570"),s.a.createElement(U.a.Item,{name:"col",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u5217\u6570"}]},s.a.createElement(ue.a,null))),s.a.createElement("div",{className:"flex-container",style:{marginTop:12}},s.a.createElement("span",{style:X},"\u5BF9\u9F50\u65B9\u5F0F\uFF1A"),s.a.createElement(U.a.Item,{name:"align"},s.a.createElement(Q,null,s.a.createElement(ee.a,{value:"default"},s.a.createElement("i",{className:"fa fa-align-justify"})),s.a.createElement(ee.a,{value:"left"},s.a.createElement("i",{className:"fa fa-align-left"})),s.a.createElement(ee.a,{value:"center"},s.a.createElement("i",{className:"fa fa-align-center"})),s.a.createElement(ee.a,{value:"right"},s.a.createElement("i",{className:"fa fa-align-right"}))))),s.a.createElement("div",{className:"flex-container flex-end"},s.a.createElement(B.a,{type:"primary",htmlType:"submit",style:{marginRight:10}},"\u786E\u5B9A"),s.a.createElement(B.a,{type:"ghost",onClick:gt},"\u53D6\u6D88")))},ve=R("ErOA"),ye=R("7Cbv"),Re="link",Je="upload-image",Ze="code-block",rt="add-table",tt="------------",st={default:tt,left:":".concat(tt),center:":".concat(tt,":"),right:"".concat(tt,":")},ot=R("9VGf"),Fe,Ae;function qe(){}var ut=0,$e=1e4,nt="\u2581",je=`
**\u6A21\u677F\u6807\u9898**
\u6A21\u677F\u6B63\u6587\u5185\u5BB9\uFF0C\u53EF\u8F93\u5165\u6587\u672C\u5185\u5BB9\u548C\u7C98\u8D34\u56FE\u7247\u7B49\u64CD\u4F5C`;function De(Xe){return/^\d+$/.test(Xe)?"".concat(Xe,"px"):Xe}var Pe=navigator.platform.toUpperCase().indexOf("MAC")>=0,xe=Pe?"Cmd":"Ctrl",Se=["pptm","pptx","ppt","pot","pps","ppa","potx","ppsx","ppam","pptm","potm","ppsm","doc","docx","dot","dotx","docm","dotm","xls","xlsx","csv","xlt","xla","xltx","xlsm","xltm","xlam","xlsb"],Le=(Fe={},Object(y.a)(Fe,xe+"-B","bold"),Object(y.a)(Fe,xe+"-I","italic"),Fe),Ne=(Ae={},Object(y.a)(Ae,Re,"\u6DFB\u52A0\u94FE\u63A5"),Object(y.a)(Ae,Ze,"\u6DFB\u52A0\u4EE3\u7801\u5757"),Object(y.a)(Ae,Je,"\u6DFB\u52A0\u6587\u4EF6"),Object(y.a)(Ae,rt,"\u6DFB\u52A0\u8868\u683C"),Ae),et=$.a=function(Xe){var ct=Xe.defaultValue,gt=ct===void 0?"":ct,wt=Xe.onChange,vt=Xe.width,Mt=vt===void 0?"100%":vt,Pt=Xe.height,_t=Pt===void 0?400:Pt,rr=Xe.miniToolbar,dr=rr===void 0?!1:rr,Zt=Xe.isFocus,fr=Zt===void 0?!1:Zt,Ht=Xe.watch,Mr=Xe.insertTemp,Sr=Xe.mode,Tt=Sr===void 0?"markdown":Sr,Ot=Xe.id,Rt=Ot===void 0?"markdown-editor-id":Ot,Bt=Xe.showResizeBar,lr=Bt===void 0?!1:Bt,sn=Xe.noStorage,yt=sn===void 0?!1:sn,kt=Xe.showNullButton,Ct=kt===void 0?!1:kt,Ar=Xe.hidetoolBar,Wr=Ar===void 0?!1:Ar,Yt=Xe.fullScreen,Ut=Yt===void 0?!1:Yt,Pr=Xe.onBlur,yn=Xe.onCMBeforeChange,Vr=Xe.onFullScreen,dt=Xe.className,At=dt===void 0?"":dt,$t=Xe.disablePaste,hr=$t===void 0?!1:$t,vr=Xe.placeholder,Er=vr===void 0?"":vr,ae=Xe.values,G=ae===void 0?"":ae,Y=Object(r.useState)(null),ie=Object(S.a)(Y,2),de=ie[0],oe=ie[1],ze=Object(r.useState)(gt),ft=Object(S.a)(ze,2),St=ft[0],Ft=ft[1],mt=Object(r.useState)(Ht),Gt=Object(S.a)(mt,2),Vt=Gt[0],Hr=Gt[1],cn=Object(r.useState)(Ut),rn=Object(S.a)(cn,2),tr=rn[0],$r=rn[1],pr=Object(r.useState)(""),qt=Object(S.a)(pr,2),sr=qt[0],gr=qt[1],en=Object(r.useState)(0),fn=Object(S.a)(en,2),Sn=fn[0],wi=fn[1],Vi=Object(r.useState)(_t),Ui=Object(S.a)(Vi,2),Zn=Ui[0],ln=Ui[1],Ri=Object(r.useState)(!1),dn=Object(S.a)(Ri,2),hi=dn[0],Jr=dn[1],ur=Object(r.useRef)(Object(ye.a)()),nn=Object(r.useRef)(!1),Ir=Object(r.useRef)(),mn=Object(r.useRef)(),Nr=Object(r.useRef)(),fi=Object(r.useRef)(),gn=Object(r.useRef)(),zn=function(){var zt=Object(f.a)(o.a.mark(function er(){var Jt,yr;return o.a.wrap(function(Qr){for(;;)switch(Qr.prev=Qr.next){case 0:return Qr.next=2,Object(ve.a)("/api/attachments/distinct_hash_val.json",{method:"post",body:{hash_val:ur.current}});case 2:yr=Qr.sent,yr!=null&&(Jt=yr.attachments)!==null&&Jt!==void 0&&Jt.length&&(console.log("cm:",de,mn),yr.attachments.map(function(Tr){Tr.content_type.indexOf("image")>-1?de.replaceSelection(".concat(Tr.content_type,")")):Tr.content_type.indexOf("video")>-1?de.replaceSelection('')):Tr.content_type.indexOf("pdf")>-1?de.replaceSelection('').concat(Tr.name,"")):de.replaceSelection("[".concat(Tr.name,"](").concat(_.a.API_SERVER,"/api/attachments/").concat(Tr.id,"?type=").concat(Tr.content_type,")"))}));case 4:case"end":return Qr.stop()}},er)}));return function(){return zt.apply(this,arguments)}}();Object(r.useEffect)(function(){Ft(G),de==null||de.setValue(G)},[G]),Object(r.useEffect)(function(){Vr==null||Vr(tr)},[tr]),Object(r.useEffect)(function(){if(mn.current){var zt=u.a.fromTextArea(mn.current,{mode:Tt,lineNumbers:!dr,lineWrapping:!0,value:gt,autoCloseTags:!0,autoCloseBrackets:!0});fr&&zt.focus();function er(Jt,yr){if(hr){yr.preventDefault();return}var Rr=yr.clipboardData;if(Rr){var Qr=Rr.types.toString(),Tr=Rr.items;if(Qr==="Files"||Rr.types.indexOf("Files")>-1){if(yr.preventDefault(),Tt=="stex")return;try{var Rn,Kn=Tr[1];((Rn=Tr[0])===null||Rn===void 0?void 0:Rn.kind)==="file"&&(Kn=Tr[0]);var wr=Kn.getAsFile(),ji=wr.name.split(".").pop();Te(wr,function(Fr){if(Fr.id){var Pn,mi,ei;(wr==null||((Pn=wr.type)===null||Pn===void 0)?void 0:Pn.indexOf("image"))>-1?zt.replaceSelection(".concat(Fr.content_type,")")):(wr==null||((mi=wr.type)===null||mi===void 0)?void 0:mi.indexOf("video"))>-1?zt.replaceSelection('')):(wr==null||((ei=wr.type)===null||ei===void 0)?void 0:ei.indexOf("pdf"))>-1?zt.replaceSelection('').concat(wr.name,"")):Se.includes(ji)?zt.replaceSelection('').concat(wr.name,"")):zt.replaceSelection("[".concat(wr.name,"](").concat(_.a.API_SERVER,"/api/attachments/").concat(Fr.id,"?type=").concat(Fr.content_type,")"))}else(Fr==null?void 0:Fr.status)===401&&(document.location.href="/user/login")})}catch(Fr){v.b.warn("\u8BF7\u4F7F\u7528chrome\u6D4F\u89C8\u5668\u7C98\u8D34")}return!0}else return!0}return!0}return zt.on("paste",er),zt.on("dragleave",function(Jt,yr){Nr.current.classList.remove("mouse-hover-md")}),zt.on("dragover",function(Jt,yr){Nr.current.classList.add("mouse-hover-md")}),zt.on("drop",function(Jt,yr){Nr.current.classList.add("mouse-hover-md");var Rr;if(Rr=yr.dataTransfer.files,Rr.length>0){yr.preventDefault(),yr.stopPropagation();for(var Qr=function(Kn){var wr=Rr[Kn],ji=wr.name.split(".").pop();Te(wr,function(Fr){if(Fr.id){var Pn,mi,ei;(wr==null||((Pn=wr.type)===null||Pn===void 0)?void 0:Pn.indexOf("image"))>-1?zt.replaceSelection(".concat(Fr.content_type,")")):(wr==null||((mi=wr.type)===null||mi===void 0)?void 0:mi.indexOf("video"))>-1?zt.replaceSelection('')):(wr==null||((ei=wr.type)===null||ei===void 0)?void 0:ei.indexOf("pdf"))>-1?zt.replaceSelection('').concat(wr.name,"")):Se.includes(ji)?zt.replaceSelection('').concat(wr.name,"")):zt.replaceSelection("[".concat(wr.name,"](").concat(_.a.API_SERVER,"/api/attachments/").concat(Fr.id,"?type=").concat(Fr.content_type,")"))}else(Fr==null?void 0:Fr.status)===401&&(document.location.href="/user/login")})},Tr=0;Tr0||Tr.target.offsetWidth>0)&&(Di(),de.setSize("100%","100%"),de.refresh())}}catch(Rn){Rr.e(Rn)}finally{Rr.f()}});return Jt.observe(mn.current.parentElement),Jt}if(de){var er=zt();return function(){er.unobserve(mn.current.parentElement)}}},[de,Di]),Object(r.useEffect)(function(){if(de){for(var zt=[],er=function(){var Tr=yr[Jt];Rr=Object(S.a)(Tr,2);var Rn=Rr[0],Kn=Rr[1],wr=Object(y.a)({},Rn,function(){yi(Kn)});zt.push(wr),de.addKeyMap(wr)},Jt=0,yr=Object.entries(Le);Jt0){var zt=new Date().getTime(),er=window.sessionStorage.getItem(Rt);zt>=Sn+$e&&(!er||er!==St)&&(window.sessionStorage.setItem(Rt,St),Jr(!0))}},$e),Object(r.useEffect)(function(){Hr(Ht)},[de,Ht]),Object(r.useEffect)(function(){de&&(fr&&de.focus())},[de,fr]),Object(r.useEffect)(function(){if(Vt&&de){var zt=de.getScrollerElement();function er(Jt){var yr=Jt.target;if(gn.current){var Rr=yr.scrollTop/yr.scrollHeight;gn.current.scrollTop=gn.current.scrollHeight*Rr}}return zt.addEventListener("scroll",er),function(){zt.removeEventListener("scroll",er)}}},[de,Vt]),Object(r.useEffect)(function(){if(de&&yn){function zt(er,Jt){yn(er,Jt)}return de.on("beforeChange",zt),function(){de.off("beforeChange",zt)}}},[de,yn]),Object(r.useEffect)(function(){if(de&&Pr){function zt(){Pr(de.getValue())}return de.on("blur",zt),function(){de.off("blur",zt)}}},[de,Pr]),Object(r.useEffect)(function(){if(de){function zt(er){var Jt=er.getValue();Ft(Jt),wi(new Date().getTime()),er.getScrollerElement().dispatchEvent(new CustomEvent("scroll")),wt&&wt(Jt)}return de.on("change",zt),function(){de.off("change",zt)}}},[de,wt]),Object(r.useEffect)(function(){de&&(gt==null?(de.setValue(""),Ft("")):gt!==de.getValue()&&(de.setValue(gt),Ft(gt),de.setCursor(de.lineCount(),0)))},[de,gt]);var yi=Object(r.useCallback)(function(zt){var er=de.getCursor(),Jt=de.getSelection(),yr=Jt.split(`
`);switch(zt){case"bold":return de.replaceSelection("**"+Jt+"**"),Jt===""&&de.setCursor(er.line,er.ch+2),de.focus();case"italic":return de.replaceSelection("*"+Jt+"*"),Jt===""&&de.setCursor(er.line,er.ch+1),de.focus();case"code":return de.replaceSelection("`"+Jt+"`"),Jt===""&&de.setCursor(er.line,er.ch+1),de.focus();case"inline-latex":return de.replaceSelection("`$$"+Jt+"$$`"),Jt===""&&de.setCursor(er.line,er.ch+3),de.focus();case"latex":return de.replaceSelection("```latex\n"+Jt+"\n```"),de.setCursor(er.line+1,Jt.length+1),de.focus();case"line-break":return de.replaceSelection(`
`),de.focus();case"list-ul":return Jt===""?de.replaceSelection("- "+Jt):de.replaceSelection(yr.map(function(Rr){return Rr===""?"":"- ".concat(Rr)}).join(`
`)),de.focus();case"list-ol":return Jt===""?de.replaceSelection("1. "+Jt):de.replaceSelection(yr.map(function(Rr,Qr){return Rr===""?"":"".concat(Qr+1,". ").concat(Rr)}).join(`
`)),de.focus();case"add-null-ch":return Jt===""&&de.setCursor(er.line,er.ch+1),de.replaceSelection(nt),de.focus();case"inster-template-1":return Jt===""&&de.setCursor(er.line,er.ch),de.replaceSelection(je),de.focus();case"eraser":return de.setValue(""),de.focus();case"trigger-watch":return Hr(!Vt),de.focus();case"trigger-full-screen":return $r(!tr),de.focus();case Re:gr(Re);return;case Ze:gr(Ze);return;case Je:gr(Je);return;case rt:gr(rt);return;default:throw new Error}},[de,Vt,tr]),qn=Object(r.useCallback)(function(zt){gr("");switch(sr){case Re:var er=zt.title,Jt=zt.link;return de.replaceSelection("[".concat(er,"](").concat(Jt,")")),de.focus();case Ze:var yr=zt.language,Rr=zt.content;return de.replaceSelection(["```"+yr,Rr,"```"].join(`
`)),de.focus();case Je:var Qr=zt.src,Tr=zt.alt,Rn=zt.name;return Qr.indexOf("type=image")>-1?de.replaceSelection(".concat(Qr,' "').concat(Tr||"",'" )')):Qr.indexOf("type=application/pdf")>-1?de.replaceSelection('').concat(Rn,"")):de.replaceSelection('').concat(Rn,"")),de.focus();case rt:for(var Kn=zt.row,wr=zt.col,ji=zt.align,Fr=`
`,Pn=0;Pn300&&(Rn=300);var Kn=_t+Rn+"px";ln(Kn)}}return zt.addEventListener("mousedown",yr),document.addEventListener("mousemove",Qr),document.addEventListener("mouseup",Rr),function(){zt.removeEventListener("mousedown",yr),document.removeEventListener("mousemove",Qr),document.removeEventListener("mouseup",Rr)}}},[de,fi]),Object(r.useEffect)(function(){ln(_t)},[_t]);var Ni=De(Mt),si=De(Zn),pi={width:Ni,height:si},Bi=Object(r.useMemo)(function(){if(Sn){var zt=new Date(Sn),er=zt.getHours(),Jt=zt.getMinutes(),yr=zt.getSeconds();return er=er<10?"0"+er:er,Jt=Jt<10?"0"+Jt:Jt,yr=yr<10?"0"+yr:yr,"".concat(er,":").concat(Jt,":").concat(yr)}return 0},[Sn]);function li(){window.sessionStorage.removeItem(Rt),Jr(!1),wi(0)}function an(){Jr(!1),wi(0),de.setValue(window.sessionStorage.getItem(Rt))}function Qi(zt,er){var Jt=de.getValue();Jt=Jt.replace(zt,er),Ft(Jt),de==null||de.setValue(Jt)}return s.a.createElement(r.Fragment,null,s.a.createElement("div",{className:"markdown-editor-wrapper",ref:Nr},s.a.createElement("div",{className:"markdown-editor-container ".concat(At," ").concat(Vt?"on-preview":""," ").concat(dr?"mini":""," ").concat(tr?"full-screen":""),style:pi},s.a.createElement(P,{insertTemp:Mr,watch:Vt,fullScreen:tr,showNullButton:Ct,onActionCallback:yi,hidetoolBar:Wr,uuid:ur.current,setOpenPhones:function(){nn.current=!0}}),s.a.createElement("div",{className:"markdown-editor-body"},s.a.createElement("div",{className:"codemirror-container"},s.a.createElement("textarea",{ref:mn,placeholder:Er})),Vt?s.a.createElement("div",{ref:gn,className:"preview-container"},Tt==="stex"&&s.a.createElement(L,{value:St}),Tt!=="stex"&&s.a.createElement(h.a,{edit:!0,value:St,replaces:Qi})):null))),lr?s.a.createElement("a",{ref:fi,className:"editor-resize"}):null,s.a.createElement(V.a,null,Ne[sr]?s.a.createElement(g.a,{centered:!0,title:Ne[sr],visible:!0,onCancel:Fn,footer:null},Ci):null))}},PD8m:function(I,$){I.exports={name:"memoryStorage",read:M,write:g,each:T,remove:D,clearAll:v};var R={};function M(f){return R[f]}function g(f,S){R[f]=S}function T(f){for(var S in R)R.hasOwnProperty(S)&&f(R[S],S)}function D(f){delete R[f]}function v(f){R={}}},PVpz:function(I,$,R){(function(M,g,T){I.exports=$=g(R("Ib8C"),R("ETIr"),R("cv67"),R("K3mO"),R("OLod"))})(this,function(M){return function(){var g=M,T=g.lib,D=T.StreamCipher,v=g.algo,f=[],S=[],y=[],c=v.RabbitLegacy=D.extend({_doReset:function(){var r=this._key.words,s=this.cfg.iv,d=this._X=[r[0],r[3]<<16|r[2]>>>16,r[1],r[0]<<16|r[3]>>>16,r[2],r[1]<<16|r[0]>>>16,r[3],r[2]<<16|r[1]>>>16],u=this._C=[r[2]<<16|r[2]>>>16,r[0]&4294901760|r[1]&65535,r[3]<<16|r[3]>>>16,r[1]&4294901760|r[2]&65535,r[0]<<16|r[0]>>>16,r[2]&4294901760|r[3]&65535,r[1]<<16|r[1]>>>16,r[3]&4294901760|r[0]&65535];this._b=0;for(var p=0;p<4;p++)o.call(this);for(var p=0;p<8;p++)u[p]^=d[p+4&7];if(s){var m=s.words,i=m[0],t=m[1],a=(i<<8|i>>>24)&16711935|(i<<24|i>>>8)&4278255360,l=(t<<8|t>>>24)&16711935|(t<<24|t>>>8)&4278255360,E=a>>>16|l&4294901760,b=l<<16|a&65535;u[0]^=a,u[1]^=E,u[2]^=l,u[3]^=b,u[4]^=a,u[5]^=E,u[6]^=l,u[7]^=b;for(var p=0;p<4;p++)o.call(this)}},_doProcessBlock:function(r,s){var d=this._X;o.call(this),f[0]=d[0]^d[5]>>>16^d[3]<<16,f[1]=d[2]^d[7]>>>16^d[5]<<16,f[2]=d[4]^d[1]>>>16^d[7]<<16,f[3]=d[6]^d[3]>>>16^d[1]<<16;for(var u=0;u<4;u++)f[u]=(f[u]<<8|f[u]>>>24)&16711935|(f[u]<<24|f[u]>>>8)&4278255360,r[s+u]^=f[u]},blockSize:128/32,ivSize:64/32});function o(){for(var r=this._X,s=this._C,d=0;d<8;d++)S[d]=s[d];s[0]=s[0]+1295307597+this._b|0,s[1]=s[1]+3545052371+(s[0]>>>0>>0?1:0)|0,s[2]=s[2]+886263092+(s[1]>>>0>>0?1:0)|0,s[3]=s[3]+1295307597+(s[2]>>>0>>0?1:0)|0,s[4]=s[4]+3545052371+(s[3]>>>0>>0?1:0)|0,s[5]=s[5]+886263092+(s[4]>>>0>>0?1:0)|0,s[6]=s[6]+1295307597+(s[5]>>>0>>0?1:0)|0,s[7]=s[7]+3545052371+(s[6]>>>0>>0?1:0)|0,this._b=s[7]>>>0>>0?1:0;for(var d=0;d<8;d++){var u=r[d]+s[d],p=u&65535,m=u>>>16,i=((p*p>>>17)+p*m>>>15)+m*m,t=((u&4294901760)*u|0)+((u&65535)*u|0);y[d]=i^t}r[0]=y[0]+(y[7]<<16|y[7]>>>16)+(y[6]<<16|y[6]>>>16)|0,r[1]=y[1]+(y[0]<<8|y[0]>>>24)+y[7]|0,r[2]=y[2]+(y[1]<<16|y[1]>>>16)+(y[0]<<16|y[0]>>>16)|0,r[3]=y[3]+(y[2]<<8|y[2]>>>24)+y[1]|0,r[4]=y[4]+(y[3]<<16|y[3]>>>16)+(y[2]<<16|y[2]>>>16)|0,r[5]=y[5]+(y[4]<<8|y[4]>>>24)+y[3]|0,r[6]=y[6]+(y[5]<<16|y[5]>>>16)+(y[4]<<16|y[4]>>>16)|0,r[7]=y[7]+(y[6]<<8|y[6]>>>24)+y[5]|0}g.RabbitLegacy=D._createHelper(c)}(),M.RabbitLegacy})},QDVR:function(I,$,R){"use strict";R.d($,"e",function(){return g}),R.d($,"d",function(){return T}),R.d($,"c",function(){return S}),R.d($,"b",function(){return y}),R.d($,"a",function(){return o});var M=function(){var r=function(s,d){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(u,p){u.__proto__=p}||function(u,p){for(var m in p)p.hasOwnProperty(m)&&(u[m]=p[m])},r(s,d)};return function(s,d){r(s,d);function u(){this.constructor=s}s.prototype=d===null?Object.create(d):(u.prototype=d.prototype,new u)}}();function g(r){var s=[];return r.forEach(function(d){return s.push(d)}),s}function T(r){var s=[];return r.forEach(function(d,u){return s.push(u)}),s}var D=function(){function r(){this._value="",this._pos=0}return r.prototype.reset=function(s){return this._value=s,this._pos=0,this},r.prototype.next=function(){return this._pos+=1,this},r.prototype.hasNext=function(){return this._pos0)p.left||(p.left=new f,p.left.segment=u.value()),p=p.left;else if(m<0)p.right||(p.right=new f,p.right.segment=u.value()),p=p.right;else if(u.hasNext())u.next(),p.mid||(p.mid=new f,p.mid.segment=u.value()),p=p.mid;else break}var i=p.value;return p.value=d,p.key=s,i},r.prototype.get=function(s){for(var d=this._iter.reset(s),u=this._root;u;){var p=d.cmp(u.segment);if(p>0)u=u.left;else if(p<0)u=u.right;else if(d.hasNext())d.next(),u=u.mid;else break}return u?u.value:void 0},r.prototype.findSubstr=function(s){for(var d=this._iter.reset(s),u=this._root,p=void 0;u;){var m=d.cmp(u.segment);if(m>0)u=u.left;else if(m<0)u=u.right;else if(d.hasNext())d.next(),p=u.value||p,u=u.mid;else break}return u&&u.value||p},r.prototype.forEach=function(s){this._forEach(this._root,s)},r.prototype._forEach=function(s,d){s&&(this._forEach(s.left,d),s.value&&d(s.value,s.key),this._forEach(s.mid,d),this._forEach(s.right,d))},r}(),y=function(){function r(){this.map=new Map,this.ignoreCase=!1}return r.prototype.set=function(s,d){this.map.set(this.toKey(s),d)},r.prototype.get=function(s){return this.map.get(this.toKey(s))},r.prototype.toKey=function(s){var d=s.toString();return this.ignoreCase&&(d=d.toLowerCase()),d},r}(),c=function(){function r(){this._map=new Map,this._head=void 0,this._tail=void 0,this._size=0}return r.prototype.clear=function(){this._map.clear(),this._head=void 0,this._tail=void 0,this._size=0},Object.defineProperty(r.prototype,"size",{get:function(){return this._size},enumerable:!0,configurable:!0}),r.prototype.get=function(s,d){d===void 0&&(d=0);var u=this._map.get(s);return u?(d!==0&&this.touch(u,d),u.value):void 0},r.prototype.set=function(s,d,u){u===void 0&&(u=0);var p=this._map.get(s);if(p)p.value=d,u!==0&&this.touch(p,u);else{p={key:s,value:d,next:void 0,previous:void 0};switch(u){case 0:this.addItemLast(p);break;case 1:this.addItemFirst(p);break;case 2:this.addItemLast(p);break;default:this.addItemLast(p);break}this._map.set(s,p),this._size++}},r.prototype.delete=function(s){return!!this.remove(s)},r.prototype.remove=function(s){var d=this._map.get(s);return d?(this._map.delete(s),this.removeItem(d),this._size--,d.value):void 0},r.prototype.forEach=function(s,d){for(var u=this._head;u;)d?s.bind(d)(u.value,u.key,this):s(u.value,u.key,this),u=u.next},r.prototype.trimOld=function(s){if(s>=this.size)return;if(s===0){this.clear();return}for(var d=this._head,u=this.size;d&&u>s;)this._map.delete(d.key),d=d.next,u--;this._head=d,this._size=u,d&&(d.previous=void 0)},r.prototype.addItemFirst=function(s){if(!this._head&&!this._tail)this._tail=s;else if(this._head)s.next=this._head,this._head.previous=s;else throw new Error("Invalid list");this._head=s},r.prototype.addItemLast=function(s){if(!this._head&&!this._tail)this._head=s;else if(this._tail)s.previous=this._tail,this._tail.next=s;else throw new Error("Invalid list");this._tail=s},r.prototype.removeItem=function(s){if(s===this._head&&s===this._tail)this._head=void 0,this._tail=void 0;else if(s===this._head){if(!s.next)throw new Error("Invalid list");s.next.previous=void 0,this._head=s.next}else if(s===this._tail){if(!s.previous)throw new Error("Invalid list");s.previous.next=void 0,this._tail=s.previous}else{var d=s.next,u=s.previous;if(!d||!u)throw new Error("Invalid list");d.previous=u,u.next=d}s.next=void 0,s.previous=void 0},r.prototype.touch=function(s,d){if(!this._head||!this._tail)throw new Error("Invalid list");if(d!==1&&d!==2)return;if(d===1){if(s===this._head)return;var u=s.next,p=s.previous;s===this._tail?(p.next=void 0,this._tail=p):(u.previous=p,p.next=u),s.previous=void 0,s.next=this._head,this._head.previous=s,this._head=s}else if(d===2){if(s===this._tail)return;var u=s.next,p=s.previous;s===this._head?(u.previous=void 0,this._head=u):(u.previous=p,p.next=u),s.next=void 0,s.previous=this._tail,this._tail.next=s,this._tail=s}},r.prototype.toJSON=function(){var s=[];return this.forEach(function(d,u){s.push([u,d])}),s},r}(),o=function(r){M(s,r);function s(d,u){u===void 0&&(u=1);var p=r.call(this)||this;return p._limit=d,p._ratio=Math.min(Math.max(0,u),1),p}return s.prototype.get=function(d){return r.prototype.get.call(this,d,2)},s.prototype.peek=function(d){return r.prototype.get.call(this,d,0)},s.prototype.set=function(d,u){r.prototype.set.call(this,d,u,2),this.checkTrim()},s.prototype.checkTrim=function(){this.size>this._limit&&this.trimOld(Math.round(this._limit*this._ratio))},s}(c)},RELg:function(I,$,R){var M=R("MFOe"),g=M.Global;I.exports={name:"oldIE-userDataStorage",write:S,read:y,each:c,remove:o,clearAll:r};var T="storejs",D=g.document,v=u(),f=(g.navigator?g.navigator.userAgent:"").match(/ (MSIE 8|MSIE 9|MSIE 10)\./);function S(p,m){if(f)return;var i=d(p);v(function(t){t.setAttribute(i,m),t.save(T)})}function y(p){if(f)return;var m=d(p),i=null;return v(function(t){i=t.getAttribute(m)}),i}function c(p){v(function(m){for(var i=m.XMLDocument.documentElement.attributes,t=i.length-1;t>=0;t--){var a=i[t];p(m.getAttribute(a.name),a.name)}})}function o(p){var m=d(p);v(function(i){i.removeAttribute(m),i.save(T)})}function r(){v(function(p){var m=p.XMLDocument.documentElement.attributes;p.load(T);for(var i=m.length-1;i>=0;i--)p.removeAttribute(m[i].name);p.save(T)})}var s=new RegExp("[!\"#$%&'()*+,/\\\\:;<=>?@[\\]^`{|}~]","g");function d(p){return p.replace(/^\d/,"___$&").replace(s,"___")}function u(){if(!D||!D.documentElement||!D.documentElement.addBehavior)return null;var p="script",m,i,t;try{i=new ActiveXObject("htmlfile"),i.open(),i.write("<"+p+">document.w=window"+p+'>'),i.close(),m=i.w.frames[0].document,t=m.createElement("div")}catch(a){t=D.createElement("div"),m=D.body}return function(a){var l=[].slice.call(arguments,0);l.unshift(t),m.appendChild(t),t.addBehavior("#default#userData"),t.load(T),a.apply(this,l),m.removeChild(t);return}}},S6kV:function(I,$,R){(function(M,g,T){I.exports=$=g(R("Ib8C"),R("OLod"))})(this,function(M){return M.mode.OFB=function(){var g=M.lib.BlockCipherMode.extend(),T=g.Encryptor=g.extend({processBlock:function(D,v){var f=this._cipher,S=f.blockSize,y=this._iv,c=this._keystream;y&&(c=this._keystream=y.slice(0),this._iv=void 0),f.encryptBlock(c,0);for(var o=0;o|\\/=?|::?|<=?|>>?>?=?|,|;|\\?|@|\\[|~|{|\\^\\^?=?|\\|\\|?=?|break|case|continue|delete|do|else|finally|instanceof|return|throw|try|typeof)\\s*";function U(ee){for(var Q=0,X=!1,Z=!1,ve=0,ye=ee.length;ve122||(xe<65||Pe>90||qe.push([Math.max(65,Pe)|32,Math.min(xe,90)|32]),xe<97||Pe>122||qe.push([Math.max(97,Pe)&~32,Math.min(xe,122)&~32]))}}qe.sort(function(et,Xe){return et[0]-Xe[0]||Xe[1]-et[1]});for(var Se=[],Le=[],nt=0;ntNe[0]&&(Ne[1]+1>Ne[0]&&$e.push("-"),$e.push(rt(Ne[1])))}return $e.push("]"),$e.join("")}function st(Fe){for(var Ae=Fe.source.match(new RegExp("(?:\\[(?:[^\\x5C\\x5D]|\\\\[\\s\\S])*\\]|\\\\u[A-Fa-f0-9]{4}|\\\\x[A-Fa-f0-9]{2}|\\\\[0-9]+|\\\\[^ux0-9]|\\(\\?[:!=]|[\\(\\)\\^]|[^\\x5B\\x5C\\(\\)\\^]+)","g")),qe=Ae.length,ut=[],$e=0,nt=0;$e=2&&Pe==="["?Ae[$e]=tt(je):Pe!=="\\"&&(Ae[$e]=je.replace(/[a-zA-Z]/g,function(Le){var Ne=Le.charCodeAt(0);return"["+String.fromCharCode(Ne&~32,Ne|32)+"]"}))}return Ae.join("")}for(var ot=[],ve=0,ye=ee.length;ve=0;)X[ot.charAt(Fe)]=st;var Ae=st[1],qe=""+Ae;Ze.hasOwnProperty(qe)||(Je.push(Ae),Ze[qe]=null)}Je.push(/[\0-\uffff]/),Z=U(Je)})();var ve=Q.length,ye=function(Re){for(var Je=Re.sourceCode,Ze=Re.basePos,rt=Re.sourceNode,tt=[Ze,_],st=0,ot=Je.match(Z)||[],Fe={},Ae=0,qe=ot.length;Ae=5&&$e.substring(0,5)==="lang-",je&&!(nt&&typeof nt[1]=="string")&&(je=!1,$e=P),je||(Fe[ut]=$e)}var xe=st;if(st+=ut.length,!je)tt.push(Ze+xe,$e);else{var Se=nt[1],Le=ut.indexOf(Se),Ne=Le+Se.length;nt[2]&&(Ne=ut.length-nt[2].length,Le=Ne-Se.length);var et=$e.substring(5);H(rt,Ze+xe,ut.substring(0,Le),ye,tt),H(rt,Ze+xe+Le,Se,ce(et,Se),tt),H(rt,Ze+xe+Ne,ut.substring(Ne),ye,tt)}}Re.decorations=tt};return ye}function _e(ee){var Q=[],X=[];ee.tripleQuotedStrings?Q.push([h,/^(?:\'\'\'(?:[^\'\\]|\\[\s\S]|\'{1,2}(?=[^\']))*(?:\'\'\'|$)|\"\"\"(?:[^\"\\]|\\[\s\S]|\"{1,2}(?=[^\"]))*(?:\"\"\"|$)|\'(?:[^\\\']|\\[\s\S])*(?:\'|$)|\"(?:[^\\\"]|\\[\s\S])*(?:\"|$))/,null,`'"`]):ee.multiLineStrings?Q.push([h,/^(?:\'(?:[^\\\']|\\[\s\S])*(?:\'|$)|\"(?:[^\\\"]|\\[\s\S])*(?:\"|$)|\`(?:[^\\\`]|\\[\s\S])*(?:\`|$))/,null,"'\"`"]):Q.push([h,/^(?:\'(?:[^\\\'\r\n]|\\.)*(?:\'|$)|\"(?:[^\\\"\r\n]|\\.)*(?:\"|$))/,null,`"'`]),ee.verbatimStrings&&X.push([h,/^@\"(?:[^\"]|\"\")*(?:\"|$)/,null]);var Z=ee.hashComments;Z&&(ee.cStyleComments?(Z>1?Q.push([O,/^#(?:##(?:[^#]|#(?!##))*(?:###|$)|.*)/,null,"#"]):Q.push([O,/^#(?:(?:define|e(?:l|nd)if|else|error|ifn?def|include|line|pragma|undef|warning)\b|[^\r\n]*)/,null,"#"]),X.push([h,/^<(?:(?:(?:\.\.\/)*|\/?)(?:[\w-]+(?:\/[\w-]+)+)?[\w-]+\.h(?:h|pp|\+\+)?|[a-z]\w*)>/,null])):Q.push([O,/^#[^\r\n]*/,null,"#"])),ee.cStyleComments&&(X.push([O,/^\/\/[^\r\n]*/,null]),X.push([O,/^\/\*[\s\S]*?(?:\*\/|$)/,null]));var ve=ee.regexLiterals;if(ve){var ye=ve>1?"":`
\r`,Re=ye?".":"[\\S\\s]",Je="/(?=[^/*"+ye+"])(?:[^/\\x5B\\x5C"+ye+"]|\\x5C"+Re+"|\\x5B(?:[^\\x5C\\x5D"+ye+"]|\\x5C"+Re+")*(?:\\x5D|$))+/";X.push(["lang-regex",RegExp("^"+K+"("+Je+")")])}var Ze=ee.types;Ze&&X.push([w,Ze]);var rt=(""+ee.keywords).replace(/^ | $/g,"");rt.length&&X.push([L,new RegExp("^(?:"+rt.replace(/[\s,]+/g,"|")+")\\b"),null]),Q.push([_,/^\s+/,null,` \r
\xA0`]);var tt="^.[^\\s\\w.$@'\"`/\\\\]*";return ee.regexLiterals&&(tt+="(?!s*/)"),X.push([C,/^@[a-z_$][a-z_$@0-9]*/i,null],[w,/^(?:[@_]?[A-Z]+[a-z][A-Za-z_$@0-9]*|\w+_t\b)/,null],[_,/^[a-z_$][a-z_$@0-9]*/i,null],[C,new RegExp("^(?:0x[a-f0-9]+|(?:\\d(?:_\\d+)*\\d*(?:\\.\\d*)?|\\.\\d\\+)(?:e[+\\-]?\\d+)?)[a-z]*","i"),null,"0123456789"],[_,/^\\[\s\S]?/,null],[x,new RegExp(tt),null]),te(Q,X)}var Ce=_e({keywords:E,hashComments:!0,cStyleComments:!0,multiLineStrings:!0,regexLiterals:!0});function me(ee,Q,X){for(var Z=/(?:^|\s)nocode(?:\s|$)/,ve=/\r\n?|\n/,ye=ee.ownerDocument,Re=ye.createElement("li");ee.firstChild;)Re.appendChild(ee.firstChild);var Je=[Re];function Ze(Ae){var qe=Ae.nodeType;if(qe==1&&!Z.test(Ae.className))if(Ae.nodeName==="br")rt(Ae),Ae.parentNode&&Ae.parentNode.removeChild(Ae);else for(var ut=Ae.firstChild;ut;ut=ut.nextSibling)Ze(ut);else if((qe==3||qe==4)&&X){var $e=Ae.nodeValue,nt=$e.match(ve);if(nt){var je=$e.substring(0,nt.index);Ae.nodeValue=je;var De=$e.substring(nt.index+nt[0].length);if(De){var Pe=Ae.parentNode;Pe.insertBefore(ye.createTextNode(De),Ae.nextSibling)}rt(Ae),je||Ae.parentNode.removeChild(Ae)}}}function rt(Ae){for(;!Ae.nextSibling;)if(Ae=Ae.parentNode,!Ae)return;function qe(nt,je){var De=je?nt.cloneNode(!1):nt,Pe=nt.parentNode;if(Pe){var xe=qe(Pe,1),Se=nt.nextSibling;xe.appendChild(De);for(var Le=Se;Le;Le=Se)Se=Le.nextSibling,xe.appendChild(Le)}return De}for(var ut=qe(Ae.nextSibling,0),$e;($e=ut.parentNode)&&$e.nodeType===1;)ut=$e;Je.push(ut)}for(var tt=0;tt=Pe&&(Ze+=2),ye>=xe&&(st+=2)}}finally{$e&&($e.style.display=nt)}}var Oe={};function he(ee,Q){for(var X=Q.length;--X>=0;){var Z=Q[X];Oe.hasOwnProperty(Z)?y.console&&console.warn("cannot override language handler %s",Z):Oe[Z]=ee}}function ce(ee,Q){return ee&&Oe.hasOwnProperty(ee)||(ee=/^\s*]*(?:>|$)/],[O,/^<\!--[\s\S]*?(?:-\->|$)/],["lang-",/^<\?([\s\S]+?)(?:\?>|$)/],["lang-",/^<%([\s\S]+?)(?:%>|$)/],[x,/^(?:<[%?]|[%?]>)/],["lang-",/^]*>([\s\S]+?)<\/xmp\b[^>]*>/i],["lang-js",/^