You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
117 lines
453 KiB
117 lines
453 KiB
(window.webpackJsonp=window.webpackJsonp||[]).push([[190,7,8],{"+NIl":function(me,ne,u){(function(T){T(u("VrN/"))})(function(T){"use strict";T.defineMode("stex",function(Ae,J){"use strict";function ce(K,I){K.cmdState.push(I)}function se(K){return K.cmdState.length>0?K.cmdState[K.cmdState.length-1]:null}function ee(K){var I=K.cmdState.pop();I&&I.closeBracket()}function M(K){for(var I=K.cmdState,R=I.length-1;R>=0;R--){var D=I[R];if(D.name=="DEFAULT")continue;return D}return{styleIdentifier:function(){return null}}}function S(K,I,R){return function(){this.name=K,this.bracketNo=0,this.style=I,this.styles=R,this.argument=null,this.styleIdentifier=function(){return this.styles[this.bracketNo-1]||null},this.openBracket=function(){return this.bracketNo++,"bracket"},this.closeBracket=function(){}}}var E={};E.importmodule=S("importmodule","tag",["string","builtin"]),E.documentclass=S("documentclass","tag",["","atom"]),E.usepackage=S("usepackage","tag",["atom"]),E.begin=S("begin","tag",["atom"]),E.end=S("end","tag",["atom"]),E.label=S("label","tag",["atom"]),E.ref=S("ref","tag",["atom"]),E.eqref=S("eqref","tag",["atom"]),E.cite=S("cite","tag",["atom"]),E.bibitem=S("bibitem","tag",["atom"]),E.Bibitem=S("Bibitem","tag",["atom"]),E.RBibitem=S("RBibitem","tag",["atom"]),E.DEFAULT=function(){this.name="DEFAULT",this.style="tag",this.styleIdentifier=this.openBracket=this.closeBracket=function(){}};function ie(K,I){K.f=I}function N(K,I){var R;if(K.match(/^\\[a-zA-Z@]+/)){var D=K.current().slice(1);return R=E.hasOwnProperty(D)?E[D]:E.DEFAULT,R=new R,ce(I,R),ie(I,ae),R.style}if(K.match(/^\\[$&%#{}_]/))return"tag";if(K.match(/^\\[,;!\/\\]/))return"tag";if(K.match("\\["))return ie(I,function(Q,ge){return z(Q,ge,"\\]")}),"keyword";if(K.match("\\("))return ie(I,function(Q,ge){return z(Q,ge,"\\)")}),"keyword";if(K.match("$$"))return ie(I,function(Q,ge){return z(Q,ge,"$$")}),"keyword";if(K.match("$"))return ie(I,function(Q,ge){return z(Q,ge,"$")}),"keyword";var H=K.next();if(H=="%")return K.skipToEnd(),"comment";if(H=="}"||H=="]"){if(R=se(I),R)R.closeBracket(H),ie(I,ae);else return"error";return"bracket"}else return H=="{"||H=="["?(R=E.DEFAULT,R=new R,ce(I,R),"bracket"):/\d/.test(H)?(K.eatWhile(/[\w.%]/),"atom"):(K.eatWhile(/[\w\-_]/),R=M(I),R.name=="begin"&&(R.argument=K.current()),R.styleIdentifier())}function z(K,I,R){if(K.eatSpace())return null;if(R&&K.match(R))return ie(I,N),"keyword";if(K.match(/^\\[a-zA-Z@]+/))return"tag";if(K.match(/^[a-zA-Z]+/))return"variable-2";if(K.match(/^\\[$&%#{}_]/))return"tag";if(K.match(/^\\[,;!\/]/))return"tag";if(K.match(/^[\^_&]/))return"tag";if(K.match(/^[+\-<>|=,\/@!*:;'"`~#?]/))return null;if(K.match(/^(\d+\.\d*|\d*\.\d+|\d+)/))return"number";var D=K.next();return D=="{"||D=="}"||D=="["||D=="]"||D=="("||D==")"?"bracket":D=="%"?(K.skipToEnd(),"comment"):"error"}function ae(K,I){var R=K.peek(),D;return R=="{"||R=="["?(D=se(I),D.openBracket(R),K.eat(R),ie(I,N),"bracket"):/[ \t\r]/.test(R)?(K.eat(R),null):(ie(I,N),ee(I),N(K,I))}return{startState:function(){var K=J.inMathMode?function(I,R){return z(I,R)}:N;return{cmdState:[],f:K}},copyState:function(K){return{cmdState:K.cmdState.slice(),f:K.f}},token:function(K,I){return I.f(K,I)},blankLine:function(K){K.f=N,K.cmdState.length=0},lineComment:"%"}}),T.defineMIME("text/x-stex","stex"),T.defineMIME("text/x-latex","stex")})},"/GNS":function(me,ne,u){me.exports=u.p+"static/search1.c4136dd4.png"},"19Vz":function(me,ne,u){(function(T){T(u("VrN/"))})(function(T){T.defineOption("placeholder","",function(S,E,ie){var N=ie&&ie!=T.Init;if(E&&!N)S.on("blur",se),S.on("change",ee),S.on("swapDoc",ee),T.on(S.getInputField(),"compositionupdate",S.state.placeholderCompose=function(){ce(S)}),ee(S);else if(!E&&N){S.off("blur",se),S.off("change",ee),S.off("swapDoc",ee),T.off(S.getInputField(),"compositionupdate",S.state.placeholderCompose),Ae(S);var z=S.getWrapperElement();z.className=z.className.replace(" CodeMirror-empty","")}E&&!S.hasFocus()&&se(S)});function Ae(S){S.state.placeholder&&(S.state.placeholder.parentNode.removeChild(S.state.placeholder),S.state.placeholder=null)}function J(S){Ae(S);var E=S.state.placeholder=document.createElement("pre");E.style.cssText="height: 0; overflow: visible",E.style.direction=S.getOption("direction"),E.className="CodeMirror-placeholder CodeMirror-line-like";var ie=S.getOption("placeholder");typeof ie=="string"&&(ie=document.createTextNode(ie)),E.appendChild(ie),S.display.lineSpace.insertBefore(E,S.display.lineSpace.firstChild)}function ce(S){setTimeout(function(){var E=!1,ie=S.getInputField();ie.nodeName=="TEXTAREA"?E=!ie.value:S.lineCount()==1&&(E=!/[^\u200b]/.test(ie.querySelector(".CodeMirror-line").textContent)),E?J(S):Ae(S)},20)}function se(S){M(S)&&J(S)}function ee(S){var E=S.getWrapperElement(),ie=M(S);E.className=E.className.replace(" CodeMirror-empty","")+(ie?" CodeMirror-empty":""),ie?J(S):Ae(S)}function M(S){return S.lineCount()===1&&S.getLine(0)===""}})},"1eCo":function(me,ne,u){(function(T){T(u("VrN/"))})(function(T){"use strict";var Ae={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},J={autoSelfClosers:{},implicitlyClosed:{},contextGrabbers:{},doNotIndent:{},allowUnquoted:!1,allowMissing:!1,allowMissingTagName:!1,caseFold:!1};T.defineMode("xml",function(ce,se){var ee=ce.indentUnit,M={},S=se.htmlMode?Ae:J;for(var E in S)M[E]=S[E];for(var E in se)M[E]=se[E];var ie,N;function z(m,_){function O(X){return _.tokenize=X,X(m,_)}var b=m.next();if(b=="<")return m.eat("!")?m.eat("[")?m.match("CDATA[")?O(I("atom","]]>")):null:m.match("--")?O(I("comment","-->")):m.match("DOCTYPE",!0,!0)?(m.eatWhile(/[\w\._\-]/),O(R(1))):null:m.eat("?")?(m.eatWhile(/[\w\._\-]/),_.tokenize=I("meta","?>"),"meta"):(ie=m.eat("/")?"closeTag":"openTag",_.tokenize=ae,"tag bracket");if(b=="&"){var j;return m.eat("#")?m.eat("x")?j=m.eatWhile(/[a-fA-F\d]/)&&m.eat(";"):j=m.eatWhile(/[\d]/)&&m.eat(";"):j=m.eatWhile(/[\w\.\-:]/)&&m.eat(";"),j?"atom":"error"}else return m.eatWhile(/[^&<]/),null}z.isInText=!0;function ae(m,_){var O=m.next();if(O==">"||O=="/"&&m.eat(">"))return _.tokenize=z,ie=O==">"?"endTag":"selfcloseTag","tag bracket";if(O=="=")return ie="equals",null;if(O=="<"){_.tokenize=z,_.state=ge,_.tagName=_.tagStart=null;var b=_.tokenize(m,_);return b?b+" tag error":"tag error"}else return/[\'\"]/.test(O)?(_.tokenize=K(O),_.stringStartCol=m.column(),_.tokenize(m,_)):(m.match(/^[^\s\u00a0=<>\"\']*[^\s\u00a0=<>\"\'\/]/),"word")}function K(m){var _=function(O,b){for(;!O.eol();)if(O.next()==m){b.tokenize=ae;break}return"string"};return _.isInAttribute=!0,_}function I(m,_){return function(O,b){for(;!O.eol();){if(O.match(_)){b.tokenize=z;break}O.next()}return m}}function R(m){return function(_,O){for(var b;(b=_.next())!=null;){if(b=="<")return O.tokenize=R(m+1),O.tokenize(_,O);if(b==">")if(m==1){O.tokenize=z;break}else return O.tokenize=R(m-1),O.tokenize(_,O)}return"meta"}}function D(m,_,O){this.prev=m.context,this.tagName=_,this.indent=m.indented,this.startOfLine=O,(M.doNotIndent.hasOwnProperty(_)||m.context&&m.context.noIndent)&&(this.noIndent=!0)}function H(m){m.context&&(m.context=m.context.prev)}function Q(m,_){for(var O;;){if(!m.context)return;if(O=m.context.tagName,!M.contextGrabbers.hasOwnProperty(O)||!M.contextGrabbers[O].hasOwnProperty(_))return;H(m)}}function ge(m,_,O){return m=="openTag"?(O.tagStart=_.column(),ye):m=="closeTag"?Y:ge}function ye(m,_,O){return m=="word"?(O.tagName=_.current(),N="tag",re):M.allowMissingTagName&&m=="endTag"?(N="tag bracket",re(m,_,O)):(N="error",ye)}function Y(m,_,O){if(m=="word"){var b=_.current();return O.context&&O.context.tagName!=b&&M.implicitlyClosed.hasOwnProperty(O.context.tagName)&&H(O),O.context&&O.context.tagName==b||M.matchClosing===!1?(N="tag",he):(N="tag error",Re)}else return M.allowMissingTagName&&m=="endTag"?(N="tag bracket",he(m,_,O)):(N="error",Re)}function he(m,_,O){return m!="endTag"?(N="error",he):(H(O),ge)}function Re(m,_,O){return N="error",he(m,_,O)}function re(m,_,O){if(m=="word")return N="attribute",te;if(m=="endTag"||m=="selfcloseTag"){var b=O.tagName,j=O.tagStart;return O.tagName=O.tagStart=null,m=="selfcloseTag"||M.autoSelfClosers.hasOwnProperty(b)?Q(O,b):(Q(O,b),O.context=new D(O,b,j==O.indented)),ge}return N="error",re}function te(m,_,O){return m=="equals"?Z:(M.allowMissing||(N="error"),re(m,_,O))}function Z(m,_,O){return m=="string"?P:m=="word"&&M.allowUnquoted?(N="string",re):(N="error",re(m,_,O))}function P(m,_,O){return m=="string"?P:re(m,_,O)}return{startState:function(m){var _={tokenize:z,state:ge,indented:m||0,tagName:null,tagStart:null,context:null};return m!=null&&(_.baseIndent=m),_},token:function(m,_){if(!_.tagName&&m.sol()&&(_.indented=m.indentation()),m.eatSpace())return null;ie=null;var O=_.tokenize(m,_);return(O||ie)&&O!="comment"&&(N=null,_.state=_.state(ie||O,m,_),N&&(O=N=="error"?O+" error":N)),O},indent:function(m,_,O){var b=m.context;if(m.tokenize.isInAttribute)return m.tagStart==m.indented?m.stringStartCol+1:m.indented+ee;if(b&&b.noIndent)return T.Pass;if(m.tokenize!=ae&&m.tokenize!=z)return O?O.match(/^(\s*)/)[0].length:0;if(m.tagName)return M.multilineTagIndentPastTag!==!1?m.tagStart+m.tagName.length+2:m.tagStart+ee*(M.multilineTagIndentFactor||1);if(M.alignCDATA&&/<!\[CDATA\[/.test(_))return 0;var j=_&&/^<(\/)?([\w_:\.-]*)/.exec(_);if(j&&j[1])for(;b;)if(b.tagName==j[2]){b=b.prev;break}else if(M.implicitlyClosed.hasOwnProperty(b.tagName))b=b.prev;else break;else if(j)for(;b;){var X=M.contextGrabbers[b.tagName];if(X&&X.hasOwnProperty(j[2]))b=b.prev;else break}for(;b&&b.prev&&!b.startOfLine;)b=b.prev;return b?b.indent+ee:m.baseIndent||0},electricInput:/<\/[\s\w:]+>$/,blockCommentStart:"<!--",blockCommentEnd:"-->",configuration:M.htmlMode?"html":"xml",helperType:M.htmlMode?"html":"xml",skipAttribute:function(m){m.state==Z&&(m.state=re)},xmlCurrentTag:function(m){return m.tagName?{name:m.tagName,close:m.type=="closeTag"}:null},xmlCurrentContext:function(m){for(var _=[],O=m.context;O;O=O.prev)O.tagName&&_.push(O.tagName);return _.reverse()}}}),T.defineMIME("text/xml","xml"),T.defineMIME("application/xml","xml"),T.mimeModes.hasOwnProperty("text/html")||T.defineMIME("text/html",{name:"xml",htmlMode:!0})})},"4YB9":function(me,ne,u){"use strict";var T=u("cDcd"),Ae=u.n(T),J=u("Ty5D"),ce=u("55Ip"),se=u("W1YM"),ee=u.n(se);ne.a=function(M){var S=M.activeIndex,E=Object(J.i)(),ie=E.id,N=E.challengesId,z=Object(T.useMemo)(function(){return[{name:"1\u3001\u672C\u5173\u4EFB\u52A1",url:"/shixuns/".concat(ie,"/challenges/").concat(N,"/editcheckpoint")},{name:"2\u3001\u8BC4\u6D4B\u8BBE\u7F6E",url:"/shixuns/".concat(ie,"/challenges/").concat(N,"/tab=2")},{name:"3\u3001\u53C2\u8003\u7B54\u6848",url:"/shixuns/".concat(ie,"/challenges/").concat(N,"/tab=3")},{name:"4\u3001\u5173\u5361\u6392\u884C\u699C",url:"/shixuns/".concat(ie,"/challenges/").concat(N,"/tab=4")}]},[ie,N]);return Ae.a.createElement("ul",{className:"challenge-nav"},z.map(function(ae,K){return S===K?Ae.a.createElement("li",{key:ae.url}," ",Ae.a.createElement("a",{className:"active"},ae.name)," "):Ae.a.createElement("li",{key:ae.url}," ",Ae.a.createElement(ce.a,{to:ae.url},ae.name)," ")}))}},"4qgm":function(me,ne){me.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADgAAAAwCAYAAABE1blzAAAIeUlEQVRoQ72aa2wU1xXHf2dm1jYEBClJGgofIFJLU0W04AdQWgJSW0UprZRIpB/aJBTxStIShWchJvbytA2lBCKKeajhQ5s2tGpFK1G1UowqKNjYBkraJCqqiCDEDZSncezdmTnVnd2FxaztmfWaa632w9459/7v75xzz71j4R61ssM6TkrYqMon3qesPjFNLt6LoWWgB5n1ttr/GcMCLKrE5qFgPJf3gRXN5XJgoMcfUIFlR/QxiqgV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ZXi/2U3BFdBJxHIAvRNfX150/QaOn8cG6PLgI5g0BWoicj3+D2fSM7Zybljuoi4DQCmYiupdKNDEw+GeH00G5/LgKxQ+A80bVUmpLhzcVSMHbDuyO5CMQGAS/Rtf6U55Q3sNnZj2jFRgZ3FBcBSwQ83pTOG7z5EQMy11i2cyu4COQqBDxaMq8BvXPVrN3JugiEiYClC0CY/bnVXQRii0DHWkEJbYKG95ABnmSX6LFdFnc0pxEISXTPWTxaN+Ztn+US3Wng3f5ii4A50U/hydOZeT94P8rkEj22y+KO5jQCRkT3eI6T5GnPHH/ea5foTgPv9hdbBLIS/RD58t7C7C0rAyfiEj22y+KO5jQCmYm+j3yeG5m97ZvgYVyiOw28219sEfATfTd5klozZ2vAR6b8U3GJHttlcUdzGgFF9J8gbyvmb/nFrHuX6E4D7/YXWwTurLWJQnnbMGPLnlADu0SP7bK4ozmNQLe6pZn2wwGrbv8PSygpSs9Cw9cAAAAASUVORK5CYII="},"55Ip":function(me,ne,u){"use strict";u.d(ne,"a",function(){return Q}),u.d(ne,"b",function(){return re});var T=u("Ty5D"),Ae=u("dI71"),J=u("cDcd"),ce=u.n(J),se=u("YS25"),ee=u("17x9"),M=u.n(ee),S=u("wx14"),E=u("zLVn"),ie=u("9R94"),N=function(Z){Object(Ae.a)(P,Z);function P(){for(var _,O=arguments.length,b=new Array(O),j=0;j<O;j++)b[j]=arguments[j];return _=Z.call.apply(Z,[this].concat(b))||this,_.history=Object(se.a)(_.props),_}var m=P.prototype;return m.render=function(){return ce.a.createElement(T.c,{history:this.history,children:this.props.children})},P}(ce.a.Component),z=function(Z){Object(Ae.a)(P,Z);function P(){for(var _,O=arguments.length,b=new Array(O),j=0;j<O;j++)b[j]=arguments[j];return _=Z.call.apply(Z,[this].concat(b))||this,_.history=Object(se.b)(_.props),_}var m=P.prototype;return m.render=function(){return ce.a.createElement(T.c,{history:this.history,children:this.props.children})},P}(ce.a.Component),ae=function(P,m){return typeof P=="function"?P(m):P},K=function(P,m){return typeof P=="string"?Object(se.c)(P,null,null,m):P},I=function(P){return P},R=ce.a.forwardRef;typeof R=="undefined"&&(R=I);function D(Z){return!!(Z.metaKey||Z.altKey||Z.ctrlKey||Z.shiftKey)}var H=R(function(Z,P){var m=Z.innerRef,_=Z.navigate,O=Z.onClick,b=Object(E.a)(Z,["innerRef","navigate","onClick"]),j=b.target,X=Object(S.a)({},b,{onClick:function(pe){try{O&&O(pe)}catch(g){throw pe.preventDefault(),g}!pe.defaultPrevented&&pe.button===0&&(!j||j==="_self")&&!D(pe)&&(pe.preventDefault(),_())}});return I!==R?X.ref=P||m:X.ref=m,ce.a.createElement("a",X)}),Q=R(function(Z,P){var m=Z.component,_=m===void 0?H:m,O=Z.replace,b=Z.to,j=Z.innerRef,X=Object(E.a)(Z,["component","replace","to","innerRef"]);return ce.a.createElement(T.e.Consumer,null,function(W){W||Object(ie.a)(!1);var pe=W.history,g=K(ae(b,W.location),W.location),d=g?pe.createHref(g):"",k=Object(S.a)({},X,{href:d,navigate:function(){var q=ae(b,W.location),Se=O?pe.replace:pe.push;Se(q)}});return I!==R?k.ref=P||j:k.innerRef=j,ce.a.createElement(_,k)})});if(!1)var ge,ye;var Y=function(P){return P},he=ce.a.forwardRef;typeof he=="undefined"&&(he=Y);function Re(){for(var Z=arguments.length,P=new Array(Z),m=0;m<Z;m++)P[m]=arguments[m];return P.filter(function(_){return _}).join(" ")}var re=he(function(Z,P){var m=Z["aria-current"],_=m===void 0?"page":m,O=Z.activeClassName,b=O===void 0?"active":O,j=Z.activeStyle,X=Z.className,W=Z.exact,pe=Z.isActive,g=Z.location,d=Z.sensitive,k=Z.strict,$=Z.style,q=Z.to,Se=Z.innerRef,Be=Object(E.a)(Z,["aria-current","activeClassName","activeStyle","className","exact","isActive","location","sensitive","strict","style","to","innerRef"]);return ce.a.createElement(T.e.Consumer,null,function(ve){ve||Object(ie.a)(!1);var Ie=g||ve.location,oe=K(ae(q,Ie),Ie),be=oe.pathname,U=be&&be.replace(/([.+*?=^!:${}()[\]|/\\])/g,"\\$1"),G=U?Object(T.f)(Ie.pathname,{path:U,exact:W,sensitive:d,strict:k}):null,Te=!!(pe?pe(G,Ie):G),Fe=Te?Re(X,b):X,ze=Te?Object(S.a)({},$,{},j):$,Pe=Object(S.a)({"aria-current":Te&&_||null,className:Fe,style:ze,to:oe},Be);return Y!==he?Pe.ref=P||Se:Pe.innerRef=Se,ce.a.createElement(Q,Pe)})});if(!1)var te},"5D2P":function(me,ne){me.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAYAAABXAvmHAAAFTklEQVRoQ91aS4xURRQ993UzUUZcqFEc4meh0cQFSlwgrvAHSgQWhOhCk4GZqmdw+ERUWDkrBMUBnIzzqqYjcTaaGBLFxA8MjIk/3PhZCCa6UAyKC11ARnDo6Wvu+HrS0/R7r96nWVBJpxfv3nPPrbp169aHUEAzxsxl5gcB3AdgAREtkH8AXSH87wBOMfMp+QfwFREd0Vr/k9c8ZQUwxixi5mWe5y1l5qUAyimxqkQ0XqvVxonoE631Nyn1p8VTO7B///75Fy5c2MzMWwB0ZDHaQmeSiPbMmTNnb3d39+k0mKkcMMZsBiC/W9IYSSH7K4C9Wuu9rjpODoyMjNxQq9VGADzuCpxT7gPP83p7e3v/TMJJdCAIgoVEdBDAzUlgBX8/ycwrfd//Pg431gFr7RPM/HbBxFLBEdGTSql3opQiHQiCoI+IXk9lrU3CzLzR9/3BVvAtHbDWPsrMH7aJTyZYInpMKfVRs/JFDlQqlduq1eoxIro2k6U2KTHzX+VyeXFPT8/PjSYucsBae4iZH24Tj1ywRHRYKfVIpANhnt+Ty0r7lbc0rhMzI2CMuRHAlwBubT+HXBZ+AbBEa/3HrFLCWruTmV/MBZ1N+TiAdyNUX2qZeYh2KaW2zThQqVTumZqaOlZgbePqynEiWquU+qFZwRjzBoBnIoAmS6WSTOhvp0PIGPMcgN2uVguSiyQfBIFPRMMJdrZqrV+bdsBa+x4zryqImAtMJHlr7RJmPgxgbhwQEb2vl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ict";u.r(ne);var T=u("+L6B"),Ae=u("2/Rp"),J=u("oBTY"),ce=u("giR+"),se=u("fyUT"),ee=u("k1fw"),M=u("5Dmo"),S=u("3S7+"),E=u("miYZ"),ie=u("tsqr"),N=u("9og8"),z=u("tJVT"),ae=u("PpiC"),K=u("5NDa"),I=u("5rEg"),R=u("OaEy"),D=u("2fM7"),H=u("WmNS"),Q=u.n(H),ge=u("cDcd"),ye=u.n(ge),Y=u("9kvl"),he=u("Ot1p"),Re=u("HBuW"),re=u("E3HF"),te=u.n(re),Z=u("9ZNV"),P=u("CJF0"),m=u("4YB9"),_=D.a.Option,O=I.a.TextArea,b=function(X){var W=X.shixunsDetail,pe=X.dispatch,g=X.loading,d=X.match,k=Object(ae.a)(X,["shixunsDetail","dispatch","loading","match"]),$=Object(ge.useState)({}),q=Object(z.a)($,2),Se=q[0],Be=q[1],ve=Object(ge.useState)([]),Ie=Object(z.a)(ve,2),oe=Ie[0],be=Ie[1];Object(ge.useEffect)(function(){return pe({type:"globalSetting/footerToggle",payload:!1}),function(){pe({type:"globalSetting/footerToggle",payload:!0})}},[]),Object(ge.useEffect)(function(){U(),G()},[]);var U=function(){var Fe=Object(N.a)(Q.a.mark(function ze(){var Pe;return Q.a.wrap(function(le){for(;;)switch(le.prev=le.next){case 0:return le.next=2,Object(Re.D)({id:d.params.id,challengeId:d.params.challengesId,tab:2});case 2:Pe=le.sent,Pe&&Be(Pe);case 4:case"end":return le.stop()}},ze)}));return function(){return Fe.apply(this,arguments)}}(),G=function(){var Fe=Object(N.a)(Q.a.mark(function ze(){var Pe;return Q.a.wrap(function(le){for(;;)switch(le.prev=le.next){case 0:return le.next=2,Object(Re.E)({id:d.params.id,challengeId:d.params.challengesId});case 2:Pe=le.sent,Pe&&be(Pe);case 4:case"end":return le.stop()}},ze)}));return function(){return Fe.apply(this,arguments)}}(),Te=function(){var Fe=Object(N.a)(Q.a.mark(function ze(){var Pe,je,le;return Q.a.wrap(function(De){for(;;)switch(De.prev=De.next){case 0:if(Pe=oe.map(function(We){return We.score}),je=Pe.reduce(function(We,Qe){return We+Qe},0),!(je!==100&&oe!==null&&oe!==void 0&&oe.length)){De.next=5;break}return ie.b.info("\u6D4B\u8BD5\u96C6\u7684\u8BC4\u5206\u5360\u6BD4\u4E4B\u548C\u5FC5\u987B\u7B49\u4E8E100"),De.abrupt("return");case 5:if(oe.every(function(We){return We.name})){De.next=8;break}return ie.b.info("\u8BF7\u5148\u586B\u5199\u53C2\u8003\u7B54\u6848\u540D\u79F0"),De.abrupt("return");case 8:if(oe.every(function(We){return We.contents})){De.next=11;break}return ie.b.info("\u8BF7\u5148\u586B\u5199\u53C2\u8003\u7B54\u6848\u5185\u5BB9"),De.abrupt("return");case 11:return De.next=13,Object(Re.Eb)({id:d.params.id,challengeId:d.params.challengesId,challenge_answer:oe});case 13:le=De.sent,le!=null&&le.message&&ie.b.info(le.message),le.status===1&&Y.d.push("/shixuns/".concat(d.params.id,"/challenges/").concat(d.params.challengesId,"/tab=4"));case 16:case"end":return De.stop()}},ze)}));return function(){return Fe.apply(this,arguments)}}();return ye.a.createElement("section",{className:te.a.bg},ye.a.createElement("aside",{className:"bg-white mb10 pl20 pr20 "},ye.a.createElement(P.a,{data:Se,title:"\u5B9E\u8DF5\u9898"})),ye.a.createElement(m.a,{activeIndex:2}),ye.a.createElement("div",{className:te.a.fieldWrap},ye.a.createElement("p",{className:"font14"},"\u53EF\u4EE5\u5C06\u53C2\u8003\u7B54\u6848\u5206\u7EA7\u8BBE\u7F6E\uFF0C\u8BA9\u5B66\u5458\u81EA\u884C\u9009\u62E9\u7EA7\u522B\uFF0C\u6BCF\u7EA7\u67E5\u770B\u540E\u6309\u7167\u6BD4\u4F8B\u6263\u5206\u503C\uFF08\u5B66\u5458\u5DF2\u5B8C\u6210\u4EFB\u52A1\u518D\u67E5\u770B\uFF0C\u5219\u4E0D\u5F71\u54CD\u5B66\u5458\u5DF2\u83B7\u5F97\u7684\u6210\u7EE9\uFF09"),ye.a.createElement("div",null,ye.a.createElement("div",null,"\u793A\u4F8B\uFF1A\u7EA7\u522B1\uFF0C\u6263\u51CF\u5206\u503C\u5360\u6BD425%\uFF1B\u7EA7\u522B2\uFF0C\u6263\u51CF\u5206\u503C\u5360\u6BD435%\uFF1B\u7EA7\u522B3\uFF0C\u6263\u51CF\u5206\u503C\u5360\u6BD440%\uFF1B"),ye.a.createElement("div",{className:"mt5 ml40"},"\u82E5\u5B66\u5458\u9009\u62E9\u67E5\u770B\u7EA7\u522B1\u7684\u7B54\u6848\uFF0C\u5C06\u88AB\u6263\u51CF25%\u7684\u5206\u503C\uFF1B\u9009\u62E9\u67E5\u770B\u7EA7\u522B2\u7684\u7B54\u6848\uFF0C\u5C06\u88AB\u6263\u51CF60%\u7684\u5206\u503C\uFF1B\u9009\u62E9\u67E5\u770B\u7EA7\u522B3\u7684\u7B54\u6848\uFF0C\u5C06\u88AB\u6263\u51CF100%\u7684\u5206\u503C\u3002")),oe==null?void 0:oe.map(function(Fe,ze){return ye.a.createElement("div",{className:"mt30"},ye.a.createElement("div",{className:te.a.flexRow},ye.a.createElement("div",{className:"font16"},"\u7EA7\u522B\uFF1A",ze+1),ye.a.createElement("div",{className:"tr flex1"},ye.a.createElement(S.a,{placement:"bottom",title:"\u5220\u9664"},ye.a.createElement("i",{className:"iconfont icon-shanchu_Hover font16 c-red current",onClick:function(){be(oe.filter(function(je,le){return le!==ze}))}})))),ye.a.createElement("div",{className:te.a.contentWrap},ye.a.createElement("div",{className:te.a.flexRow},ye.a.createElement("div",null,ye.a.createElement("p",{className:"font16"},"\u540D\u79F0\uFF1A"),ye.a.createElement(I.a,{style:{width:"200px"},value:Fe.name,onChange:function(je){var le=oe.map(function(xe,De){return De===ze?Object(ee.a)(Object(ee.a)({},xe),{},{name:je.target.value}):xe});be(le)}})),ye.a.createElement("div",{className:"ml10"},ye.a.createElement("p",{className:"font16"},"\u6263\u51CF\u5206\u503C\u5360\u6BD4\uFF1A"),ye.a.createElement(se.a,{style:{width:"200px"},value:Fe.score,onChange:function(je){var le=oe.map(function(xe,De){return De===ze?Object(ee.a)(Object(ee.a)({},xe),{},{score:je}):xe});be(le)}})," %"))),ye.a.createElement("div",{className:"mt10 mb10"},ye.a.createElement("div",{className:"font16 mb10"},"\u5185\u5BB9\uFF1A"),ye.a.createElement(he.a,{defaultValue:Fe.contents,onChange:function(je){var le=oe.map(function(xe,De){return De===ze?Object(ee.a)(Object(ee.a)({},xe),{},{contents:je}):xe});be(le)}})))}),ye.a.createElement("div",{className:"tc"},ye.a.createElement(Ae.a,{type:"primary",ghost:!0,className:"mt10",onClick:function(){be([].concat(Object(J.a)(oe),[{name:"\u89E3\u9898\u601D\u8DEF".concat(oe.length+1),contents:"",score:10,id:null,level:null}]))}},"\u65B0\u589E\u53C2\u8003\u7B54\u6848"))),ye.a.createElement(Z.a,{onOk:Te,onCancel:function(){return Y.d.push("/shixuns/".concat(d.params.id,"/challenges"))}}))};ne.default=Object(Y.a)(function(j){var X=j.shixunsDetail,W=j.newCourse,pe=j.loading,g=j.globalSetting;return{shixunsDetail:X,newCourse:W,globalSetting:g,loading:pe.effects}})(b)},"7ZXX":function(me,ne,u){me.exports=u.p+"static/err.6e7c5817.png"},"7ahc":function(me,ne,u){"use strict";u.d(ne,"a",function(){return ye});var T=u("k1fw"),Ae=u("0Owb"),J=u("+L6B"),ce=u("2/Rp"),se=u("y8nQ"),ee=u("Vl3Y"),M=u("tJVT"),S=u("OaEy"),E=u("2fM7"),ie=u("cDcd"),N=u.n(ie),z=u("VrN/"),ae=u.n(z),K=u("p77/"),I=u.n(K),R=u("c5Ni"),D=u.n(R),H=E.a.Option,Q={labelCol:{span:4},wrapperCol:{span:20}},ge={asp:["ASP","vbscript"],actionscript:["ActionScript(3.0)/Flash/Flex","clike"],bash:["Bash/Bat","shell"],css:["CSS","css"],c:["C","clike"],cpp:["C++","clike"],csharp:["C#","clike"],coffeescript:["CoffeeScript","coffeescript"],d:["D","d"],dart:["Dart","dart"],delphi:["Delphi/Pascal","pascal"],erlang:["Erlang","erlang"],go:["Golang","go"],groovy:["Groovy","groovy"],html:["HTML","text/html"],java:["Java","clike"],json:["JSON","text/json"],javascript:["Javascript","javascript"],lua:["Lua","lua"],less:["LESS","css"],markdown:["Markdown","gfm"],"objective-c":["Objective-C","clike"],php:["PHP","php"],perl:["Perl","perl"],python:["Python","python"],r:["R","r"],rst:["reStructedText","rst"],ruby:["Ruby","ruby"],sql:["SQL","sql"],sass:["SASS/SCSS","sass"],shell:["Shell","shell"],scala:["Scala","clike"],swift:["Swift","clike"],vb:["VB/VBScript","vb"],xml:["XML","text/xml"],yaml:["YAML","yaml"]};ne.b=function(Y){var he=Y.callback,Re=Y.onCancel,re=Object(ie.useState)("python"),te=Object(M.a)(re,2),Z=te[0],P=te[1];function m(O){P(ge[O][1])}function _(O){he(O)}return N.a.createElement(ee.a,Object(Ae.a)({},Q,{className:"code-block-panel",initialValues:{language:"python",content:""},onFinish:_}),N.a.createElement(ee.a.Item,{label:"\u4EE3\u7801\u8BED\u8A00",name:"language"},N.a.createElement(E.a,{onChange:m},Object.keys(ge).map(function(O){return N.a.createElement(H,{key:O,value:O},ge[O][0])}))),N.a.createElement(ee.a.Item,{label:"\u4EE3\u7801\u5185\u5BB9",name:"content",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u4EE3\u7801\u5185\u5BB9"}]},N.a.createElement(ye,{mode:Z})),N.a.createElement("div",{className:"flex-container flex-end"},N.a.createElement(ce.a,{type:"primary",htmlType:"submit",style:{marginRight:10}},"\u786E\u5B9A"),N.a.createElement(ce.a,{type:"ghost",onClick:Re},"\u53D6\u6D88")))};function ye(Y){var he=Y.value,Re=Y.onChange,re=Y.mode,te=Y.options,Z=te===void 0?{}:te,P=Object(ie.useRef)(),m=Object(ie.useState)(),_=Object(M.a)(m,2),O=_[0],b=_[1];return Object(ie.useEffect)(function(){if(O){function j(X){var W=X.getValue();Re&&Re(W)}return O.on("change",j),function(){O.off("change",j)}}},[O,Re]),Object(ie.useEffect)(function(){O&&O.setOption("mode",re)},[O,re]),Object(ie.useEffect)(function(){O&&((he!==O.getValue()||he==="")&&setTimeout(function(){O.setValue(he||" ")},300))},[O,he]),Object(ie.useEffect)(function(){if(P.current&&!O){var j=ae.a.fromTextArea(P.current,Object(T.a)({mode:re,lineNumbers:!0,lineWrapping:!0,autoCloseBrackets:!0,tabSize:4,autofocus:!0,autoCloseTags:!0,matchBrackets:!0,styleActiveLine:!0},Z));b(j)}},[P.current,O]),N.a.createElement("div",{className:"my-codemirror-container"},N.a.createElement("textarea",{ref:P}))}},"7ixt":function(me,ne,u){"use strict";u.d(ne,"a",function(){return J});var T={adjustX:1,adjustY:1},Ae=[0,0],J={left:{points:["cr","cl"],overflow:T,offset:[-4,0],targetOffset:Ae},right:{points:["cl","cr"],overflow:T,offset:[4,0],targetOffset:Ae},top:{points:["bc","tc"],overflow:T,offset:[0,-4],targetOffset:Ae},bottom:{points:["tc","bc"],overflow:T,offset:[0,4],targetOffset:Ae},topLeft:{points:["bl","tl"],overflow:T,offset:[0,-4],targetOffset:Ae},leftTop:{points:["tr","tl"],overflow:T,offset:[-4,0],targetOffset:Ae},topRight:{points:["br","tr"],overflow:T,offset:[0,-4],targetOffset:Ae},rightTop:{points:["tl","tr"],overflow:T,offset:[4,0],targetOffset:Ae},bottomRight:{points:["tr","br"],overflow:T,offset:[0,4],targetOffset:Ae},rightBottom:{points:["bl","br"],overflow:T,offset:[4,0],targetOffset:Ae},bottomLeft:{points:["tl","bl"],overflow:T,offset:[0,4],targetOffset:Ae},leftBottom:{points:["br","bl"],overflow:T,offset:[-4,0],targetOffset:Ae}},ce=J},"7v3h":function(me,ne,u){me.exports=u.p+"static/empty2.dd73f390.png"},"8/bI":function(me,ne,u){me.exports=u.p+"static/empty.8918e228.png"},"8EBN":function(me,ne,u){(function(T){T(u("VrN/"))})(function(T){"use strict";T.modeInfo=[{name:"APL",mime:"text/apl",mode:"apl",ext:["dyalog","apl"]},{name:"PGP",mimes:["application/pgp","application/pgp-encrypted","application/pgp-keys","application/pgp-signature"],mode:"asciiarmor",ext:["asc","pgp","sig"]},{name:"ASN.1",mime:"text/x-ttcn-asn",mode:"asn.1",ext:["asn","asn1"]},{name:"Asterisk",mime:"text/x-asterisk",mode:"asterisk",file:/^extensions\.conf$/i},{name:"Brainfuck",mime:"text/x-brainfuck",mode:"brainfuck",ext:["b","bf"]},{name:"C",mime:"text/x-csrc",mode:"clike",ext:["c","h","ino"]},{name:"C++",mime:"text/x-c++src",mode:"clike",ext:["cpp","c++","cc","cxx","hpp","h++","hh","hxx"],alias:["cpp"]},{name:"Cobol",mime:"text/x-cobol",mode:"cobol",ext:["cob","cpy"]},{name:"C#",mime:"text/x-csharp",mode:"clike",ext:["cs"],alias:["csharp","cs"]},{name:"Clojure",mime:"text/x-clojure",mode:"clojure",ext:["clj","cljc","cljx"]},{name:"ClojureScript",mime:"text/x-clojurescript",mode:"clojure",ext:["cljs"]},{name:"Closure Stylesheets (GSS)",mime:"text/x-gss",mode:"css",ext:["gss"]},{name:"CMake",mime:"text/x-cmake",mode:"cmake",ext:["cmake","cmake.in"],file:/^CMakeLists\.txt$/},{name:"CoffeeScript",mimes:["application/vnd.coffeescript","text/coffeescript","text/x-coffeescript"],mode:"coffeescript",ext:["coffee"],alias:["coffee","coffee-script"]},{name:"Common Lisp",mime:"text/x-common-lisp",mode:"commonlisp",ext:["cl","lisp","el"],alias:["lisp"]},{name:"Cypher",mime:"application/x-cypher-query",mode:"cypher",ext:["cyp","cypher"]},{name:"Cython",mime:"text/x-cython",mode:"python",ext:["pyx","pxd","pxi"]},{name:"Crystal",mime:"text/x-crystal",mode:"crystal",ext:["cr"]},{name:"CSS",mime:"text/css",mode:"css",ext:["css"]},{name:"CQL",mime:"text/x-cassandra",mode:"sql",ext:["cql"]},{name:"D",mime:"text/x-d",mode:"d",ext:["d"]},{name:"Dart",mimes:["application/dart","text/x-dart"],mode:"dart",ext:["dart"]},{name:"diff",mime:"text/x-diff",mode:"diff",ext:["diff","patch"]},{name:"Django",mime:"text/x-django",mode:"django"},{name:"Dockerfile",mime:"text/x-dockerfile",mode:"dockerfile",file:/^Dockerfile$/},{name:"DTD",mime:"application/xml-dtd",mode:"dtd",ext:["dtd"]},{name:"Dylan",mime:"text/x-dylan",mode:"dylan",ext:["dylan","dyl","intr"]},{name:"EBNF",mime:"text/x-ebnf",mode:"ebnf"},{name:"ECL",mime:"text/x-ecl",mode:"ecl",ext:["ecl"]},{name:"edn",mime:"application/edn",mode:"clojure",ext:["edn"]},{name:"Eiffel",mime:"text/x-eiffel",mode:"eiffel",ext:["e"]},{name:"Elm",mime:"text/x-elm",mode:"elm",ext:["elm"]},{name:"Embedded Javascript",mime:"application/x-ejs",mode:"htmlembedded",ext:["ejs"]},{name:"Embedded Ruby",mime:"application/x-erb",mode:"htmlembedded",ext:["erb"]},{name:"Erlang",mime:"text/x-erlang",mode:"erlang",ext:["erl"]},{name:"Esper",mime:"text/x-esper",mode:"sql"},{name:"Factor",mime:"text/x-factor",mode:"factor",ext:["factor"]},{name:"FCL",mime:"text/x-fcl",mode:"fcl"},{name:"Forth",mime:"text/x-forth",mode:"forth",ext:["forth","fth","4th"]},{name:"Fortran",mime:"text/x-fortran",mode:"fortran",ext:["f","for","f77","f90","f95"]},{name:"F#",mime:"text/x-fsharp",mode:"mllike",ext:["fs"],alias:["fsharp"]},{name:"Gas",mime:"text/x-gas",mode:"gas",ext:["s"]},{name:"Gherkin",mime:"text/x-feature",mode:"gherkin",ext:["feature"]},{name:"GitHub Flavored Markdown",mime:"text/x-gfm",mode:"gfm",file:/^(readme|contributing|history)\.md$/i},{name:"Go",mime:"text/x-go",mode:"go",ext:["go"]},{name:"Groovy",mime:"text/x-groovy",mode:"groovy",ext:["groovy","gradle"],file:/^Jenkinsfile$/},{name:"HAML",mime:"text/x-haml",mode:"haml",ext:["haml"]},{name:"Haskell",mime:"text/x-haskell",mode:"haskell",ext:["hs"]},{name:"Haskell (Literate)",mime:"text/x-literate-haskell",mode:"haskell-literate",ext:["lhs"]},{name:"Haxe",mime:"text/x-haxe",mode:"haxe",ext:["hx"]},{name:"HXML",mime:"text/x-hxml",mode:"haxe",ext:["hxml"]},{name:"ASP.NET",mime:"application/x-aspx",mode:"htmlembedded",ext:["aspx"],alias:["asp","aspx"]},{name:"HTML",mime:"text/html",mode:"htmlmixed",ext:["html","htm","handlebars","hbs"],alias:["xhtml"]},{name:"HTTP",mime:"message/http",mode:"http"},{name:"IDL",mime:"text/x-idl",mode:"idl",ext:["pro"]},{name:"Pug",mime:"text/x-pug",mode:"pug",ext:["jade","pug"],alias:["jade"]},{name:"Java",mime:"text/x-java",mode:"clike",ext:["java"]},{name:"Java Server Pages",mime:"application/x-jsp",mode:"htmlembedded",ext:["jsp"],alias:["jsp"]},{name:"JavaScript",mimes:["text/javascript","text/ecmascript","application/javascript","application/x-javascript","application/ecmascript"],mode:"javascript",ext:["js"],alias:["ecmascript","js","node"]},{name:"JSON",mimes:["application/json","application/x-json"],mode:"javascript",ext:["json","map"],alias:["json5"]},{name:"JSON-LD",mime:"application/ld+json",mode:"javascript",ext:["jsonld"],alias:["jsonld"]},{name:"JSX",mime:"text/jsx",mode:"jsx",ext:["jsx"]},{name:"Jinja2",mime:"text/jinja2",mode:"jinja2",ext:["j2","jinja","jinja2"]},{name:"Julia",mime:"text/x-julia",mode:"julia",ext:["jl"]},{name:"Kotlin",mime:"text/x-kotlin",mode:"clike",ext:["kt"]},{name:"LESS",mime:"text/x-less",mode:"css",ext:["less"]},{name:"LiveScript",mime:"text/x-livescript",mode:"livescript",ext:["ls"],alias:["ls"]},{name:"Lua",mime:"text/x-lua",mode:"lua",ext:["lua"]},{name:"Markdown",mime:"text/x-markdown",mode:"markdown",ext:["markdown","md","mkd"]},{name:"mIRC",mime:"text/mirc",mode:"mirc"},{name:"MariaDB SQL",mime:"text/x-mariadb",mode:"sql"},{name:"Mathematica",mime:"text/x-mathematica",mode:"mathematica",ext:["m","nb","wl","wls"]},{name:"Modelica",mime:"text/x-modelica",mode:"modelica",ext:["mo"]},{name:"MUMPS",mime:"text/x-mumps",mode:"mumps",ext:["mps"]},{name:"MS SQL",mime:"text/x-mssql",mode:"sql"},{name:"mbox",mime:"application/mbox",mode:"mbox",ext:["mbox"]},{name:"MySQL",mime:"text/x-mysql",mode:"sql"},{name:"Nginx",mime:"text/x-nginx-conf",mode:"nginx",file:/nginx.*\.conf$/i},{name:"NSIS",mime:"text/x-nsis",mode:"nsis",ext:["nsh","nsi"]},{name:"NTriples",mimes:["application/n-triples","application/n-quads","text/n-triples"],mode:"ntriples",ext:["nt","nq"]},{name:"Objective-C",mime:"text/x-objectivec",mode:"clike",ext:["m"],alias:["objective-c","objc"]},{name:"Objective-C++",mime:"text/x-objectivec++",mode:"clike",ext:["mm"],alias:["objective-c++","objc++"]},{name:"OCaml",mime:"text/x-ocaml",mode:"mllike",ext:["ml","mli","mll","mly"]},{name:"Octave",mime:"text/x-octave",mode:"octave",ext:["m"]},{name:"Oz",mime:"text/x-oz",mode:"oz",ext:["oz"]},{name:"Pascal",mime:"text/x-pascal",mode:"pascal",ext:["p","pas"]},{name:"PEG.js",mime:"null",mode:"pegjs",ext:["jsonld"]},{name:"Perl",mime:"text/x-perl",mode:"perl",ext:["pl","pm"]},{name:"PHP",mimes:["text/x-php","application/x-httpd-php","application/x-httpd-php-open"],mode:"php",ext:["php","php3","php4","php5","php7","phtml"]},{name:"Pig",mime:"text/x-pig",mode:"pig",ext:["pig"]},{name:"Plain Text",mime:"text/plain",mode:"null",ext:["txt","text","conf","def","list","log"]},{name:"PLSQL",mime:"text/x-plsql",mode:"sql",ext:["pls"]},{name:"PostgreSQL",mime:"text/x-pgsql",mode:"sql"},{name:"PowerShell",mime:"application/x-powershell",mode:"powershell",ext:["ps1","psd1","psm1"]},{name:"Properties files",mime:"text/x-properties",mode:"properties",ext:["properties","ini","in"],alias:["ini","properties"]},{name:"ProtoBuf",mime:"text/x-protobuf",mode:"protobuf",ext:["proto"]},{name:"Python",mime:"text/x-python",mode:"python",ext:["BUILD","bzl","py","pyw"],file:/^(BUCK|BUILD)$/},{name:"Puppet",mime:"text/x-puppet",mode:"puppet",ext:["pp"]},{name:"Q",mime:"text/x-q",mode:"q",ext:["q"]},{name:"R",mime:"text/x-rsrc",mode:"r",ext:["r","R"],alias:["rscript"]},{name:"reStructuredText",mime:"text/x-rst",mode:"rst",ext:["rst"],alias:["rst"]},{name:"RPM Changes",mime:"text/x-rpm-changes",mode:"rpm"},{name:"RPM Spec",mime:"text/x-rpm-spec",mode:"rpm",ext:["spec"]},{name:"Ruby",mime:"text/x-ruby",mode:"ruby",ext:["rb"],alias:["jruby","macruby","rake","rb","rbx"]},{name:"Rust",mime:"text/x-rustsrc",mode:"rust",ext:["rs"]},{name:"SAS",mime:"text/x-sas",mode:"sas",ext:["sas"]},{name:"Sass",mime:"text/x-sass",mode:"sass",ext:["sass"]},{name:"Scala",mime:"text/x-scala",mode:"clike",ext:["scala"]},{name:"Scheme",mime:"text/x-scheme",mode:"scheme",ext:["scm","ss"]},{name:"SCSS",mime:"text/x-scss",mode:"css",ext:["scss"]},{name:"Shell",mimes:["text/x-sh","application/x-sh"],mode:"shell",ext:["sh","ksh","bash"],alias:["bash","sh","zsh"],file:/^PKGBUILD$/},{name:"Sieve",mime:"application/sieve",mode:"sieve",ext:["siv","sieve"]},{name:"Slim",mimes:["text/x-slim","application/x-slim"],mode:"slim",ext:["slim"]},{name:"Smalltalk",mime:"text/x-stsrc",mode:"smalltalk",ext:["st"]},{name:"Smarty",mime:"text/x-smarty",mode:"smarty",ext:["tpl"]},{name:"Solr",mime:"text/x-solr",mode:"solr"},{name:"SML",mime:"text/x-sml",mode:"mllike",ext:["sml","sig","fun","smackspec"]},{name:"Soy",mime:"text/x-soy",mode:"soy",ext:["soy"],alias:["closure template"]},{name:"SPARQL",mime:"application/sparql-query",mode:"sparql",ext:["rq","sparql"],alias:["sparul"]},{name:"Spreadsheet",mime:"text/x-spreadsheet",mode:"spreadsheet",alias:["excel","formula"]},{name:"SQL",mime:"text/x-sql",mode:"sql",ext:["sql"]},{name:"SQLite",mime:"text/x-sqlite",mode:"sql"},{name:"Squirrel",mime:"text/x-squirrel",mode:"clike",ext:["nut"]},{name:"Stylus",mime:"text/x-styl",mode:"stylus",ext:["styl"]},{name:"Swift",mime:"text/x-swift",mode:"swift",ext:["swift"]},{name:"sTeX",mime:"text/x-stex",mode:"stex"},{name:"LaTeX",mime:"text/x-latex",mode:"stex",ext:["text","ltx","tex"],alias:["tex"]},{name:"SystemVerilog",mime:"text/x-systemverilog",mode:"verilog",ext:["v","sv","svh"]},{name:"Tcl",mime:"text/x-tcl",mode:"tcl",ext:["tcl"]},{name:"Textile",mime:"text/x-textile",mode:"textile",ext:["textile"]},{name:"TiddlyWiki",mime:"text/x-tiddlywiki",mode:"tiddlywiki"},{name:"Tiki wiki",mime:"text/tiki",mode:"tiki"},{name:"TOML",mime:"text/x-toml",mode:"toml",ext:["toml"]},{name:"Tornado",mime:"text/x-tornado",mode:"tornado"},{name:"troff",mime:"text/troff",mode:"troff",ext:["1","2","3","4","5","6","7","8","9"]},{name:"TTCN",mime:"text/x-ttcn",mode:"ttcn",ext:["ttcn","ttcn3","ttcnpp"]},{name:"TTCN_CFG",mime:"text/x-ttcn-cfg",mode:"ttcn-cfg",ext:["cfg"]},{name:"Turtle",mime:"text/turtle",mode:"turtle",ext:["ttl"]},{name:"TypeScript",mime:"application/typescript",mode:"javascript",ext:["ts"],alias:["ts"]},{name:"TypeScript-JSX",mime:"text/typescript-jsx",mode:"jsx",ext:["tsx"],alias:["tsx"]},{name:"Twig",mime:"text/x-twig",mode:"twig"},{name:"Web IDL",mime:"text/x-webidl",mode:"webidl",ext:["webidl"]},{name:"VB.NET",mime:"text/x-vb",mode:"vb",ext:["vb"]},{name:"VBScript",mime:"text/vbscript",mode:"vbscript",ext:["vbs"]},{name:"Velocity",mime:"text/velocity",mode:"velocity",ext:["vtl"]},{name:"Verilog",mime:"text/x-verilog",mode:"verilog",ext:["v"]},{name:"VHDL",mime:"text/x-vhdl",mode:"vhdl",ext:["vhd","vhdl"]},{name:"Vue.js Component",mimes:["script/x-vue","text/x-vue"],mode:"vue",ext:["vue"]},{name:"XML",mimes:["application/xml","text/xml"],mode:"xml",ext:["xml","xsl","xsd","svg"],alias:["rss","wsdl","xsd"]},{name:"XQuery",mime:"application/xquery",mode:"xquery",ext:["xy","xquery"]},{name:"Yacas",mime:"text/x-yacas",mode:"yacas",ext:["ys"]},{name:"YAML",mimes:["text/x-yaml","text/yaml"],mode:"yaml",ext:["yaml","yml"],alias:["yml"]},{name:"Z80",mime:"text/x-z80",mode:"z80",ext:["z80"]},{name:"mscgen",mime:"text/x-mscgen",mode:"mscgen",ext:["mscgen","mscin","msc"]},{name:"xu",mime:"text/x-xu",mode:"mscgen",ext:["xu"]},{name:"msgenny",mime:"text/x-msgenny",mode:"mscgen",ext:["msgenny"]},{name:"WebAssembly",mime:"text/webassembly",mode:"wast",ext:["wat","wast"]}];for(var Ae=0;Ae<T.modeInfo.length;Ae++){var J=T.modeInfo[Ae];J.mimes&&(J.mime=J.mimes[0])}T.findModeByMIME=function(ce){ce=ce.toLowerCase();for(var se=0;se<T.modeInfo.length;se++){var ee=T.modeInfo[se];if(ee.mime==ce)return ee;if(ee.mimes){for(var M=0;M<ee.mimes.length;M++)if(ee.mimes[M]==ce)return ee}}if(/\+xml$/.test(ce))return T.findModeByMIME("application/xml");if(/\+json$/.test(ce))return T.findModeByMIME("application/json")},T.findModeByExtension=function(ce){ce=ce.toLowerCase();for(var se=0;se<T.modeInfo.length;se++){var ee=T.modeInfo[se];if(ee.ext){for(var M=0;M<ee.ext.length;M++)if(ee.ext[M]==ce)return ee}}},T.findModeByFileName=function(ce){for(var se=0;se<T.modeInfo.length;se++){var ee=T.modeInfo[se];if(ee.file&&ee.file.test(ce))return ee}var M=ce.lastIndexOf("."),S=M>-1&&ce.substring(M+1,ce.length);if(S)return T.findModeByExtension(S)},T.findModeByName=function(ce){ce=ce.toLowerCase();for(var se=0;se<T.modeInfo.length;se++){var ee=T.modeInfo[se];if(ee.name.toLowerCase()==ce)return ee;if(ee.alias){for(var M=0;M<ee.alias.length;M++)if(ee.alias[M].toLowerCase()==ce)return ee}}}})},"9Bee":function(me,ne,u){"use strict";var T=u("k1fw"),Ae=u("tJVT"),J=u("cDcd"),ce=u.n(J),se=u("vg9a"),ee=u("DlQD"),M=u.n(ee),S=u("rUJ1");function E(k,$){var q=k.match(/^(\s+)(?:```)/);if(q===null)return $;var Se=q[1];return $.split(`
|
|
`).map(function(Be){var ve=Be.match(/^\s+/);if(ve===null)return Be;var Ie=Object(Ae.a)(ve,1),oe=Ie[0];return oe.length>=Se.length?Be.slice(Se.length):Be}).join(`
|
|
`)}var ie=[],N=["<ul>"],z=new M.a.Renderer,ae=/^ *(#{1,6}) *([^\n]+?) *(?:#+ *)?(?:\n+|$)/;function K(){ie.length=0,N=["<ul>"]}var I={overflow:"hidden",WebkitBoxOrient:"vertical",display:"-webkit-box",WebkitLineClamp:2};function R(k,$,q,Se){if($>=k.length||k[$].level<=q)return $;var Be=k[$];Se.push("<li><a href='#"+Be.anchor+"'>"+Be.text+"</a>"),$++;var ve=[];return $=R(k,$,Be.level,ve),ve.length>0&&(Se.push("<ul>"),ve.forEach(function(Ie){Se.push(Ie)}),Se.push("</ul>")),Se.push("</li>"),$=R(k,$,q,Se),$}function D(){return R(ie,0,0,N),N.push("</ul>"),N.join("")}var H={heading:function($){var q=ae.exec($);if(q)return{type:"heading",raw:q[0],depth:q[1].length,text:q[2]}},fences:function($){var q=this.rules.block.fences.exec($);if(q){var Se=q[0],Be=E(Se,q[3]||""),ve=q[2]?q[2].trim():q[2];if(["latex","katex","math"].indexOf(ve)>=0){var Ie=ye(),oe=Be;Be=Ie,Y[Ie]={type:"block",expression:oe}}return{type:"code",raw:Se,lang:ve,text:Be}}}},Q=/(?:\${2})([^\n`]+?)(?:\${2})/gi,ge=0,ye=function(){return"__special_katext_id_".concat(ge++,"__")},Y={};function he(){return Y}function Re(){ge=0,Y={}}function re(k){return k=k.replace(Q,function($,q){var Se=ye();return Y[Se]={type:"inline",expression:q},Se}),k}var te=z.listitem;z.listitem=function(k){return te(re(k))};var Z=z.paragraph;z.paragraph=function(k){return Z(re(k))};var P=z.tablecell;z.tablecell=function(k,$){return P(re(k),$)},z.code=function(k,$,q){var Se=($||"").match(/\S*/)[0];return Se?["latex","katex","math"].indexOf(Se)>=0?"<p class='editormd-tex'>".concat(k,"</p>"):'<pre class="prettyprint linenums"><code class="language-'.concat($,'">').concat(q?k:Object(S.escape)(k,!0),`</code></pre>
|
|
`):'<pre class="prettyprint linenums"><code>'+(q?k:Object(S.escape)(k,!0))+"</code></pre>"},z.heading=function(k,$,q){var Se=this.options.headerPrefix+q.toLowerCase().replace(/[^\w\\u4e00-\\u9fa5]]+/g,"-");return ie.push({anchor:Se,level:$,text:k}),"<h"+$+' id="'+Se+'">'+k+"</h"+$+">"},M.a.setOptions({silent:!0,gfm:!0,pedantic:!1}),M.a.use({tokenizer:H,renderer:z});var m=M.a,_=u("SJMd"),O=u("ulZh"),b=u.n(O),j=u("m3rI"),X=u("Oy/b"),W=u("p5ED"),pe=/<pre[^>]*>/g;function g(k){var $=document.createElement("div");return $.innerHTML=k,$.childNodes.length===0?"":$.childNodes[0].nodeValue}var d=ne.a=function(k){var $=k.value,q=$===void 0?"":$,Se=k.className,Be=k.showTextOnly,ve=k.showLines,Ie=k.style,oe=Ie===void 0?{}:Ie,be=k.stylesPrev,U=be===void 0?{}:be,G=String(q),Te=Object(J.useState)(""),Fe=Object(Ae.a)(Te,2),ze=Fe[0],Pe=Fe[1],je=Object(J.useMemo)(function(){try{var We=/\(\s+\/api\/attachments\/|\(\/api\/attachments\/|\(\/attachments\/download\//g,Qe=/\"\/api\/attachments\/|\"\/attachments\/download\//g,Ce=/\(\s+\/files\/uploads\/|\"\/files\/uploads\//g;G=G.replace(We,"("+j.a.API_SERVER+"/api/attachments/").replace(Qe,'"'+j.a.API_SERVER+"/api/attachments/").replace(Ce,'"'+j.a.API_SERVER+"/files/uploads/").replaceAll("http://video.educoder","https://video.educoder").replaceAll("http://www.educoder.net/api","https://data.educoder.net/api").replaceAll("https://www.educoder.net/api","https://data.educoder.net/api").replace(/\r\n/g,`
|
|
`),G=G.replace(new RegExp("(?<!\\n)\\n(?!\\n)","g"),`
|
|
`)}catch(Ze){}var ke=m(G),qe=he();if(G.match(/\[TOC\]/)&&(ke=ke.replace("<p>[TOC]</p>",D()),K()),ke=ke.replace(/(__special_katext_id_\d+__)/g,function(Ze,Ke){var it=qe[Ke],$e=it.type,Ye=it.expression;return Object(X.renderToString)(g(Ye)||"",{displayMode:$e==="block",throwOnError:!1,output:"html"})}),ke=ke.replace(/▁/g,"\u2581\u2581\u2581"),Re(),Be){var Ve=document.createElement("div");return Ve.innerHTML=ke,Ve.innerText}return setTimeout(function(){return De()},500),ke},[G]),le=Object(J.useRef)();I.WebkitLineClamp=ve,ve&&(oe=Object(T.a)(Object(T.a)({},oe),I));function xe(We){var Qe=We.target;if(Qe.tagName.toUpperCase()==="A"){var Ce=Qe.getAttribute("href");if(Ce.indexOf("office")>-1)We.preventDefault(),Pe(Ce);else if(Ce.startsWith("#")){We.preventDefault();var ke=document.getElementById(Ce.replace("#",""));ke&&ke.scrollIntoView(!0)}}}var De=function(){var Qe,Ce=(Qe=le.current)===null||Qe===void 0?void 0:Qe.querySelectorAll("video");Ce==null||Ce.forEach(function(ke){if(ke.oncontextmenu=function(){return!1},ke.src.indexOf(".m3u8")>-1&&!ke.canPlayType("application/vnd.apple.mpegurl")){if(b.a.isSupported()){var qe=new b.a;qe.loadSource(ke.src),qe.attachMedia(ke)}}})};return Object(J.useEffect)(function(){if(le.current&&je&&(je.match(pe)&&window.PR.prettyPrint()),le.current)return le.current.addEventListener("click",xe),function(){le.current.removeEventListener("click",xe),Re(),K()}},[je,le.current,xe]),ce.a.createElement(ce.a.Fragment,null,ce.a.createElement("div",{ref:le,style:Object(T.a)({},oe),className:"".concat(Se||""," markdown-body "),dangerouslySetInnerHTML:{__html:je}}),ce.a.createElement(W.a,{close:!0,data:ze,type:ze!=null&&ze.length?"office":"",style:Object(T.a)({},U),onClose:function(){return Pe("")}}))}},"9VGf":function(me,ne,u){"use strict";u.d(ne,"a",function(){return J});var T=u("cDcd"),Ae=u.n(T);function J(ce,se){var ee=Object(T.useRef)();Object(T.useEffect)(function(){ee.current=ce}),Object(T.useEffect)(function(){function M(){ee.current()}if(se!==null){var S=setInterval(M,se);return function(){return clearInterval(S)}}},[se])}},"9ZNV":function(me,ne,u){"use strict";u.d(ne,"a",function(){return ie});var T=u("0Owb"),Ae=u("+L6B"),J=u("2/Rp"),ce=u("cDcd"),se=u.n(ce),ee=u("UUDw"),M=u.n(ee),S=u("TSYQ"),E=u.n(S),ie=function(z){var ae=z.cancelText,K=ae===void 0?"\u53D6\u6D88":ae,I=z.okText,R=I===void 0?"\u786E\u5B9A":I,D=z.loading,H=D===void 0?!1:D,Q=z.hasOkBtn,ge=Q===void 0?!0:Q,ye=z.okButtonProps,Y=ye===void 0?{}:ye,he=z.onCancel,Re=he===void 0?function(){}:he,re=z.onOk,te=re===void 0?function(){}:re,Z=z.className,P=Z===void 0?"":Z;return se.a.createElement("div",{className:E()(M.a.buttonFixed,P)},se.a.createElement("div",{className:M.a.buttonWrap},se.a.createElement(J.a,{size:"large",className:"".concat(M.a.button," mr20"),onClick:Re},K),ge&&se.a.createElement(J.a,Object(T.a)({size:"large",type:"primary",className:"".concat(M.a.button," mr20"),loading:H,onClick:te},Y),R)))}},"A/g1":function(me,ne){me.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAYAAABXAvmHAAAACXBIWXMAAAsTAAALEwEAmpwYAAAF92lUWHRYTUw6Y29tLmFkb2JlLnhtcAAAAAAAPD94cGFja2V0IGJlZ2luPSLvu78iIGlkPSJXNU0wTXBDZWhpSHpyZVN6TlRjemtjOWQiPz4gPHg6eG1wbWV0YSB4bWxuczp4PSJhZG9iZTpuczpt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seTags",!1,function(E,ie,N){if(N!=T.Init&&N&&E.removeKeyMap("autoCloseTags"),!ie)return;var z={name:"autoCloseTags"};(typeof ie!="object"||ie.whenClosing!==!1)&&(z["'/'"]=function(ae){return ee(ae)}),(typeof ie!="object"||ie.whenOpening!==!1)&&(z["'>'"]=function(ae){return ce(ae)}),E.addKeyMap(z)});var Ae=["area","base","br","col","command","embed","hr","img","input","keygen","link","meta","param","source","track","wbr"],J=["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 ce(E){if(E.getOption("disableInput"))return T.Pass;for(var ie=E.listSelections(),N=[],z=E.getOption("autoCloseTags"),ae=0;ae<ie.length;ae++){if(!ie[ae].empty())return T.Pass;var K=ie[ae].head,I=E.getTokenAt(K),R=T.innerMode(E.getMode(),I.state),D=R.state,H=R.mode.xmlCurrentTag&&R.mode.xmlCurrentTag(D),Q=H&&H.name;if(!Q)return T.Pass;var ge=R.mode.configuration=="html",ye=typeof z=="object"&&z.dontCloseTags||ge&&Ae,Y=typeof z=="object"&&z.indentTags||ge&&J;I.end>K.ch&&(Q=Q.slice(0,Q.length-I.end+K.ch));var he=Q.toLowerCase();if(!Q||I.type=="string"&&(I.end!=K.ch||!/[\"\']/.test(I.string.charAt(I.string.length-1))||I.string.length==1)||I.type=="tag"&&H.close||I.string.indexOf("/")==K.ch-I.start-1||ye&&M(ye,he)>-1||S(E,R.mode.xmlCurrentContext&&R.mode.xmlCurrentContext(D)||[],Q,K,!0))return T.Pass;var Re=typeof z=="object"&&z.emptyTags;if(Re&&M(Re,Q)>-1){N[ae]={text:"/>",newPos:T.Pos(K.line,K.ch+2)};continue}var re=Y&&M(Y,he)>-1;N[ae]={indent:re,text:">"+(re?`
|
|
|
|
`:"")+"</"+Q+">",newPos:re?T.Pos(K.line+1,0):T.Pos(K.line,K.ch+1)}}for(var te=typeof z=="object"&&z.dontIndentOnAutoClose,ae=ie.length-1;ae>=0;ae--){var Z=N[ae];E.replaceRange(Z.text,ie[ae].head,ie[ae].anchor,"+insert");var P=E.listSelections().slice(0);P[ae]={head:Z.newPos,anchor:Z.newPos},E.setSelections(P),!te&&Z.indent&&(E.indentLine(Z.newPos.line,null,!0),E.indentLine(Z.newPos.line+1,null,!0))}}function se(E,ie){for(var N=E.listSelections(),z=[],ae=ie?"/":"</",K=E.getOption("autoCloseTags"),I=typeof K=="object"&&K.dontIndentOnSlash,R=0;R<N.length;R++){if(!N[R].empty())return T.Pass;var D=N[R].head,H=E.getTokenAt(D),Q=T.innerMode(E.getMode(),H.state),ge=Q.state;if(ie&&(H.type=="string"||H.string.charAt(0)!="<"||H.start!=D.ch-1))return T.Pass;var ye,Y=Q.mode.name!="xml"&&E.getMode().name=="htmlmixed";if(Y&&Q.mode.name=="javascript")ye=ae+"script";else if(Y&&Q.mode.name=="css")ye=ae+"style";else{var he=Q.mode.xmlCurrentContext&&Q.mode.xmlCurrentContext(ge);if(!he||he.length&&S(E,he,he[he.length-1],D))return T.Pass;ye=ae+he[he.length-1]}E.getLine(D.line).charAt(H.end)!=">"&&(ye+=">"),z[R]=ye}if(E.replaceSelections(z),N=E.listSelections(),!I)for(var R=0;R<N.length;R++)(R==N.length-1||N[R].head.line<N[R+1].head.line)&&E.indentLine(N[R].head.line)}function ee(E){return E.getOption("disableInput")?T.Pass:se(E,!0)}T.commands.closeTag=function(E){return se(E)};function M(E,ie){if(E.indexOf)return E.indexOf(ie);for(var N=0,z=E.length;N<z;++N)if(E[N]==ie)return N;return-1}function S(E,ie,N,z,ae){if(!T.scanForClosingTag)return!1;var K=Math.min(E.lastLine()+1,z.line+500),I=T.scanForClosingTag(E,z,null,K);if(!I||I.tag!=N)return!1;for(var R=ae?1:0,D=ie.length-1;D>=0&&ie[D]==N;D--)++R;z=I.to;for(var D=1;D<R;D++){var H=T.scanForClosingTag(E,z,null,K);if(!H||H.tag!=N)return!1;z=H.to}return!0}})},BjJ7:function(me,ne,u){"use strict";u.d(ne,"d",function(){return Ae}),u.d(ne,"c",function(){return J}),u.d(ne,"e",function(){return ce}),u.d(ne,"b",function(){return se}),u.d(ne,"a",function(){return M});var T=u("m3rI");function Ae(S){var E=!0;if(S.length>0){for(var ie=0;ie<S.length;ie++)if(S[ie].compile_success==0||!S[ie].compile_success){E=!1;break}}else E=!1;return E}function J(S){for(var E=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"",ie=[],N=0;N<S.length;N++){var z=S[N],ae=E?"".concat(E,"/").concat(z.name):"".concat(z.name);ie.push({title:z.name,isLeaf:!(z.type==="tree"),key:ae})}return ie}function ce(S,E,ie){for(var N=0;N<S.length;N++){var z=S[N];if(z.key===E){z.children=ie;break}z.children&&ce(z.children,E,ie)}return S}function se(S,E,ie){var N;return function(){var z=this,ae=arguments,K=function(){N=null,ie||S.apply(z,ae)},I=ie&&!N;clearTimeout(N),N=setTimeout(K,E),I&&S.apply(z,ae)}}var ee=!0,M=T.a.API_SERVER},"C+DQ":function(me,ne,u){},CJF0:function(me,ne,u){"use strict";var T=u("14J3"),Ae=u("BMrR"),J=u("+L6B"),ce=u("2/Rp"),se=u("jCWc"),ee=u("kPKH"),M=u("PpiC"),S=u("cDcd"),E=u.n(S),ie=u("Ty5D"),N=u("9kvl"),z=u("55Ip"),ae=u("lzim"),K=u("nZ20"),I=u.n(K),R=function(H){var Q,ge,ye,Y,he=H.shixunsDetail,Re=H.dispatch,re=H.loading,te=H.match,Z=H.data,P=Z===void 0?{}:Z,m=H.title,_=Object(M.a)(H,["shixunsDetail","dispatch","loading","match","data","title"]),O=Object(ie.i)(),b=!(((Q=he.detail)===null||Q===void 0?void 0:Q.identity)>4||((ge=he.detail)===null||ge===void 0?void 0:ge.identity)===void 0||((ye=he.detail)===null||ye===void 0?void 0:ye.shixun_status)===2||((Y=he.detail)===null||Y===void 0?void 0:Y.shixun_status)===1);return E.a.createElement("aside",{className:"bg-white mb10 pl20 pr20 ".concat(I.a.wrap)},E.a.createElement(Ae.a,{gutter:[20,20],align:"middle"},E.a.createElement(ee.a,{flex:1},E.a.createElement("span",{className:I.a.icons},E.a.createElement("img",{src:ae.f,width:"14"})),E.a.createElement("span",{className:"font16"},"\u7B2C ",P==null?void 0:P.position," \u5173\uFF1A",m)),E.a.createElement(ee.a,null,(P==null?void 0:P.prev_challenge)&&E.a.createElement(ce.a,{type:"primary",ghost:!0,className:"mt10 mr5",onClick:function(){var X,W=P.prev_challenge.st===0?"/editcheckpoint":"/editquestion",pe="/shixuns/".concat(O.id,"/challenges/").concat(P==null||((X=P.prev_challenge)===null||X===void 0)?void 0:X.id).concat(W);N.d.replace(pe)}},"\u4E0A\u4E00\u5173"),P.next_challenge&&E.a.createElement(ce.a,{type:"primary",ghost:!0,className:"mt10 mr5",onClick:function(){var X,W=P.next_challenge.st===0?"/editcheckpoint":"/editquestion",pe="/shixuns/".concat(O.id,"/challenges/").concat(P==null||((X=P.next_challenge)===null||X===void 0)?void 0:X.id).concat(W);N.d.replace(pe)}},"\u4E0B\u4E00\u5173"),b&&E.a.createElement(ce.a,{type:"primary"},E.a.createElement(z.a,{to:"/shixuns/".concat(O.id,"/challenges/newquestion")},"\u65B0\u589E\u9009\u62E9\u9898\u4EFB\u52A1")),b&&E.a.createElement(ce.a,{type:"primary",className:"ml5"},E.a.createElement(z.a,{to:"/shixuns/".concat(O.id,"/challenges/new")},"\u65B0\u589E\u5B9E\u8DF5\u4EFB\u52A1")),E.a.createElement(ce.a,{type:"primary",className:"ml5"},E.a.createElement(z.a,{to:"/shixuns/".concat(O.id,"/challenges")},"\u8FD4\u56DE")))))};ne.a=Object(N.a)(function(D){var H=D.shixunsDetail,Q=D.newCourse,ge=D.loading,ye=D.globalSetting;return{shixunsDetail:H,newCourse:Q,globalSetting:ye,loading:ge.effects}})(R)},DlQD:function(me,ne,u){(function(T,Ae){me.exports=Ae()})(this,function(){"use strict";function T(A,x){for(var w=0;w<x.length;w++){var f=x[w];f.enumerable=f.enumerable||!1,f.configurable=!0,"value"in f&&(f.writable=!0),Object.defineProperty(A,f.key,f)}}function Ae(A,x,w){return x&&T(A.prototype,x),w&&T(A,w),A}function J(A,x){if(!A)return;if(typeof A=="string")return ce(A,x);var w=Object.prototype.toString.call(A).slice(8,-1);if(w==="Object"&&A.constructor&&(w=A.constructor.name),w==="Map"||w==="Set")return Array.from(A);if(w==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(w))return ce(A,x)}function ce(A,x){(x==null||x>A.length)&&(x=A.length);for(var w=0,f=new Array(x);w<x;w++)f[w]=A[w];return f}function se(A,x){var w;if(typeof Symbol=="undefined"||A[Symbol.iterator]==null){if(Array.isArray(A)||(w=J(A))||x&&A&&typeof A.length=="number"){w&&(A=w);var f=0;return function(){return f>=A.length?{done:!0}:{done:!1,value:A[f++]}}}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 w=A[Symbol.iterator](),w.next.bind(w)}function ee(A,x){return x={exports:{}},A(x,x.exports),x.exports}var M=ee(function(A){function x(){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 w(f){A.exports.defaults=f}A.exports={defaults:x(),getDefaults:x,changeDefaults:w}}),S=M.defaults,E=M.getDefaults,ie=M.changeDefaults,N=/[&<>"']/,z=/[&<>"']/g,ae=/[<>"']|&(?!#?\w+;)/,K=/[<>"']|&(?!#?\w+;)/g,I={"&":"&","<":"<",">":">",'"':""","'":"'"},R=function(x){return I[x]};function D(A,x){if(x){if(N.test(A))return A.replace(z,R)}else if(ae.test(A))return A.replace(K,R);return A}var H=/&(#(?:\d+)|(?:#x[0-9A-Fa-f]+)|(?:\w+));?/ig;function Q(A){return A.replace(H,function(x,w){return w=w.toLowerCase(),w==="colon"?":":w.charAt(0)==="#"?w.charAt(1)==="x"?String.fromCharCode(parseInt(w.substring(2),16)):String.fromCharCode(+w.substring(1)):""})}var ge=/(^|[^\[])\^/g;function ye(A,x){A=A.source||A,x=x||"";var w={replace:function(h,p){return p=p.source||p,p=p.replace(ge,"$1"),A=A.replace(h,p),w},getRegex:function(){return new RegExp(A,x)}};return w}var Y=/[^\w:]/g,he=/^$|^[a-z][a-z0-9+.-]*:|^[?#]/i;function Re(A,x,w){if(A){var f;try{f=decodeURIComponent(Q(w)).replace(Y,"").toLowerCase()}catch(h){return null}if(f.indexOf("javascript:")===0||f.indexOf("vbscript:")===0||f.indexOf("data:")===0)return null}x&&!he.test(w)&&(w=m(x,w));try{w=encodeURI(w).replace(/%25/g,"%")}catch(h){return null}return w}var re={},te=/^[^:]+:\/*[^/]*$/,Z=/^([^:]+:)[\s\S]*$/,P=/^([^:]+:\/*[^/]*)[\s\S]*$/;function m(A,x){re[" "+A]||(te.test(A)?re[" "+A]=A+"/":re[" "+A]=j(A,"/",!0)),A=re[" "+A];var w=A.indexOf(":")===-1;return x.substring(0,2)==="//"?w?x:A.replace(Z,"$1")+x:x.charAt(0)==="/"?w?x:A.replace(P,"$1")+x:A+x}var _={exec:function(){}};function O(A){for(var x=1,w,f;x<arguments.length;x++){w=arguments[x];for(f in w)Object.prototype.hasOwnProperty.call(w,f)&&(A[f]=w[f])}return A}function b(A,x){var w=A.replace(/\|/g,function(p,v,B){for(var V=!1,we=v;--we>=0&&B[we]==="\\";)V=!V;return V?"|":" |"}),f=w.split(/ \|/),h=0;if(f.length>x)f.splice(x);else for(;f.length<x;)f.push("");for(;h<f.length;h++)f[h]=f[h].trim().replace(/\\\|/g,"|");return f}function j(A,x,w){var f=A.length;if(f===0)return"";for(var h=0;h<f;){var p=A.charAt(f-h-1);if(p===x&&!w)h++;else if(p!==x&&w)h++;else break}return A.substr(0,f-h)}function X(A,x){if(A.indexOf(x[1])===-1)return-1;for(var w=A.length,f=0,h=0;h<w;h++)if(A[h]==="\\")h++;else if(A[h]===x[0])f++;else if(A[h]===x[1]&&(f--,f<0))return h;return-1}function W(A){A&&A.sanitize&&!A.silent&&console.warn("marked(): sanitize and sanitizer parameters are deprecated since version 0.7.0, should not be used and will be removed in the future. Read more here: https://marked.js.org/#/USING_ADVANCED.md#options")}var pe={escape:D,unescape:Q,edit:ye,cleanUrl:Re,resolveUrl:m,noopTest:_,merge:O,splitCells:b,rtrim:j,findClosingBracket:X,checkSanitizeDeprecation:W},g=M.defaults,d=pe.rtrim,k=pe.splitCells,$=pe.escape,q=pe.findClosingBracket;function Se(A,x,w){var f=x.href,h=x.title?$(x.title):null,p=A[1].replace(/\\([\[\]])/g,"$1");return A[0].charAt(0)!=="!"?{type:"link",raw:w,href:f,title:h,text:p}:{type:"image",raw:w,href:f,title:h,text:$(p)}}function Be(A,x){var w=A.match(/^(\s+)(?:```)/);if(w===null)return x;var f=w[1];return x.split(`
|
|
`).map(function(h){var p=h.match(/^\s+/);if(p===null)return h;var v=p[0];return v.length>=f.length?h.slice(f.length):h}).join(`
|
|
`)}var ve=function(){function A(w){this.options=w||g}var x=A.prototype;return x.space=function(f){var h=this.rules.block.newline.exec(f);if(h)return h[0].length>1?{type:"space",raw:h[0]}:{raw:`
|
|
`}},x.code=function(f,h){var p=this.rules.block.code.exec(f);if(p){var v=h[h.length-1];if(v&&v.type==="paragraph")return{raw:p[0],text:p[0].trimRight()};var B=p[0].replace(/^ {4}/gm,"");return{type:"code",raw:p[0],codeBlockStyle:"indented",text:this.options.pedantic?B:d(B,`
|
|
`)}}},x.fences=function(f){var h=this.rules.block.fences.exec(f);if(h){var p=h[0],v=Be(p,h[3]||"");return{type:"code",raw:p,lang:h[2]?h[2].trim():h[2],text:v}}},x.heading=function(f){var h=this.rules.block.heading.exec(f);if(h)return{type:"heading",raw:h[0],depth:h[1].length,text:h[2]}},x.nptable=function(f){var h=this.rules.block.nptable.exec(f);if(h){var p={type:"table",header:k(h[1].replace(/^ *| *\| *$/g,"")),align:h[2].replace(/^ *|\| *$/g,"").split(/ *\| */),cells:h[3]?h[3].replace(/\n$/,"").split(`
|
|
`):[],raw:h[0]};if(p.header.length===p.align.length){var v=p.align.length,B;for(B=0;B<v;B++)/^ *-+: *$/.test(p.align[B])?p.align[B]="right":/^ *:-+: *$/.test(p.align[B])?p.align[B]="center":/^ *:-+ *$/.test(p.align[B])?p.align[B]="left":p.align[B]=null;for(v=p.cells.length,B=0;B<v;B++)p.cells[B]=k(p.cells[B],p.header.length);return p}}},x.hr=function(f){var h=this.rules.block.hr.exec(f);if(h)return{type:"hr",raw:h[0]}},x.blockquote=function(f){var h=this.rules.block.blockquote.exec(f);if(h){var p=h[0].replace(/^ *> ?/gm,"");return{type:"blockquote",raw:h[0],text:p}}},x.list=function(f){var h=this.rules.block.list.exec(f);if(h){for(var p=h[0],v=h[2],B=v.length>1,V=v[v.length-1]===")",we={type:"list",raw:p,ordered:B,start:B?+v.slice(0,-1):"",loose:!1,items:[]},nt=h[0].match(this.rules.block.item),ft=!1,ot,Pt,pt,lt,Ft,bt,Zt,Wt=nt.length,mt=0;mt<Wt;mt++)ot=nt[mt],p=ot,Pt=ot.length,ot=ot.replace(/^ *([*+-]|\d+[.)]) */,""),~ot.indexOf(`
|
|
`)&&(Pt-=ot.length,ot=this.options.pedantic?ot.replace(/^ {1,4}/gm,""):ot.replace(new RegExp("^ {1,"+Pt+"}","gm"),"")),mt!==Wt-1&&(pt=this.rules.block.bullet.exec(nt[mt+1])[0],(B?pt.length===1||!V&&pt[pt.length-1]===")":pt.length>1||this.options.smartLists&&pt!==v)&&(lt=nt.slice(mt+1).join(`
|
|
`),we.raw=we.raw.substring(0,we.raw.length-lt.length),mt=Wt-1)),Ft=ft||/\n\n(?!\s*$)/.test(ot),mt!==Wt-1&&(ft=ot.charAt(ot.length-1)===`
|
|
`,Ft||(Ft=ft)),Ft&&(we.loose=!0),bt=/^\[[ xX]\] /.test(ot),Zt=void 0,bt&&(Zt=ot[1]!==" ",ot=ot.replace(/^\[[ xX]\] +/,"")),we.items.push({type:"list_item",raw:p,task:bt,checked:Zt,loose:Ft,text:ot});return we}},x.html=function(f){var h=this.rules.block.html.exec(f);if(h)return{type:this.options.sanitize?"paragraph":"html",raw:h[0],pre:!this.options.sanitizer&&(h[1]==="pre"||h[1]==="script"||h[1]==="style"),text:this.options.sanitize?this.options.sanitizer?this.options.sanitizer(h[0]):$(h[0]):h[0]}},x.def=function(f){var h=this.rules.block.def.exec(f);if(h){h[3]&&(h[3]=h[3].substring(1,h[3].length-1));var p=h[1].toLowerCase().replace(/\s+/g," ");return{tag:p,raw:h[0],href:h[2],title:h[3]}}},x.table=function(f){var h=this.rules.block.table.exec(f);if(h){var p={type:"table",header:k(h[1].replace(/^ *| *\| *$/g,"")),align:h[2].replace(/^ *|\| *$/g,"").split(/ *\| */),cells:h[3]?h[3].replace(/\n$/,"").split(`
|
|
`):[]};if(p.header.length===p.align.length){p.raw=h[0];var v=p.align.length,B;for(B=0;B<v;B++)/^ *-+: *$/.test(p.align[B])?p.align[B]="right":/^ *:-+: *$/.test(p.align[B])?p.align[B]="center":/^ *:-+ *$/.test(p.align[B])?p.align[B]="left":p.align[B]=null;for(v=p.cells.length,B=0;B<v;B++)p.cells[B]=k(p.cells[B].replace(/^ *\| *| *\| *$/g,""),p.header.length);return p}}},x.lheading=function(f){var h=this.rules.block.lheading.exec(f);if(h)return{type:"heading",raw:h[0],depth:h[2].charAt(0)==="="?1:2,text:h[1]}},x.paragraph=function(f){var h=this.rules.block.paragraph.exec(f);if(h)return{type:"paragraph",raw:h[0],text:h[1].charAt(h[1].length-1)===`
|
|
`?h[1].slice(0,-1):h[1]}},x.text=function(f,h){var p=this.rules.block.text.exec(f);if(p){var v=h[h.length-1];return v&&v.type==="text"?{raw:p[0],text:p[0]}:{type:"text",raw:p[0],text:p[0]}}},x.escape=function(f){var h=this.rules.inline.escape.exec(f);if(h)return{type:"escape",raw:h[0],text:$(h[1])}},x.tag=function(f,h,p){var v=this.rules.inline.tag.exec(f);if(v)return!h&&/^<a /i.test(v[0])?h=!0:h&&/^<\/a>/i.test(v[0])&&(h=!1),!p&&/^<(pre|code|kbd|script)(\s|>)/i.test(v[0])?p=!0:p&&/^<\/(pre|code|kbd|script)(\s|>)/i.test(v[0])&&(p=!1),{type:this.options.sanitize?"text":"html",raw:v[0],inLink:h,inRawBlock:p,text:this.options.sanitize?this.options.sanitizer?this.options.sanitizer(v[0]):$(v[0]):v[0]}},x.link=function(f){var h=this.rules.inline.link.exec(f);if(h){var p=q(h[2],"()");if(p>-1){var v=h[0].indexOf("!")===0?5:4,B=v+h[1].length+p;h[2]=h[2].substring(0,p),h[0]=h[0].substring(0,B).trim(),h[3]=""}var V=h[2],we="";if(this.options.pedantic){var nt=/^([^'"]*[^\s])\s+(['"])(.*)\2/.exec(V);nt?(V=nt[1],we=nt[3]):we=""}else we=h[3]?h[3].slice(1,-1):"";V=V.trim().replace(/^<([\s\S]*)>$/,"$1");var ft=Se(h,{href:V&&V.replace(this.rules.inline._escapes,"$1"),title:we&&we.replace(this.rules.inline._escapes,"$1")},h[0]);return ft}},x.reflink=function(f,h){var p;if((p=this.rules.inline.reflink.exec(f))||(p=this.rules.inline.nolink.exec(f))){var v=(p[2]||p[1]).replace(/\s+/g," ");if(v=h[v.toLowerCase()],!v||!v.href){var B=p[0].charAt(0);return{type:"text",raw:B,text:B}}var V=Se(p,v,p[0]);return V}},x.strong=function(f,h,p){p===void 0&&(p="");var v=this.rules.inline.strong.start.exec(f);if(v&&(!v[1]||v[1]&&(p===""||this.rules.inline.punctuation.exec(p)))){h=h.slice(-1*f.length);var B=v[0]==="**"?this.rules.inline.strong.endAst:this.rules.inline.strong.endUnd;B.lastIndex=0;for(var V;(v=B.exec(h))!=null;)if(V=this.rules.inline.strong.middle.exec(h.slice(0,v.index+3)),V)return{type:"strong",raw:f.slice(0,V[0].length),text:f.slice(2,V[0].length-2)}}},x.em=function(f,h,p){p===void 0&&(p="");var v=this.rules.inline.em.start.exec(f);if(v&&(!v[1]||v[1]&&(p===""||this.rules.inline.punctuation.exec(p)))){h=h.slice(-1*f.length);var B=v[0]==="*"?this.rules.inline.em.endAst:this.rules.inline.em.endUnd;B.lastIndex=0;for(var V;(v=B.exec(h))!=null;)if(V=this.rules.inline.em.middle.exec(h.slice(0,v.index+2)),V)return{type:"em",raw:f.slice(0,V[0].length),text:f.slice(1,V[0].length-1)}}},x.codespan=function(f){var h=this.rules.inline.code.exec(f);if(h){var p=h[2].replace(/\n/g," "),v=/[^ ]/.test(p),B=p.startsWith(" ")&&p.endsWith(" ");return v&&B&&(p=p.substring(1,p.length-1)),p=$(p,!0),{type:"codespan",raw:h[0],text:p}}},x.br=function(f){var h=this.rules.inline.br.exec(f);if(h)return{type:"br",raw:h[0]}},x.del=function(f){var h=this.rules.inline.del.exec(f);if(h)return{type:"del",raw:h[0],text:h[1]}},x.autolink=function(f,h){var p=this.rules.inline.autolink.exec(f);if(p){var v,B;return p[2]==="@"?(v=$(this.options.mangle?h(p[1]):p[1]),B="mailto:"+v):(v=$(p[1]),B=v),{type:"link",raw:p[0],text:v,href:B,tokens:[{type:"text",raw:v,text:v}]}}},x.url=function(f,h){var p;if(p=this.rules.inline.url.exec(f)){var v,B;if(p[2]==="@")v=$(this.options.mangle?h(p[0]):p[0]),B="mailto:"+v;else{var V;do V=p[0],p[0]=this.rules.inline._backpedal.exec(p[0])[0];while(V!==p[0]);v=$(p[0]),p[1]==="www."?B="http://"+v:B=v}return{type:"link",raw:p[0],text:v,href:B,tokens:[{type:"text",raw:v,text:v}]}}},x.inlineText=function(f,h,p){var v=this.rules.inline.text.exec(f);if(v){var B;return h?B=this.options.sanitize?this.options.sanitizer?this.options.sanitizer(v[0]):$(v[0]):v[0]:B=$(this.options.smartypants?p(v[0]):v[0]),{type:"text",raw:v[0],text:B}}},A}(),Ie=pe.noopTest,oe=pe.edit,be=pe.merge,U={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*|<![A-Z][\\s\\S]*?>\\n*|<!\\[CDATA\\[[\\s\\S]*?\\]\\]>\\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:Ie,table:Ie,lheading:/^([^\n]+)\n {0,3}(=+|-+) *(?:\n+|$)/,_paragraph:/^([^\n]+(?:\n(?!hr|heading|lheading|blockquote|fences|list|html)[^\n]+)*)/,text:/^[^\n]+/};U._label=/(?!\s*\])(?:\\[\[\]]|[^\[\]])+/,U._title=/(?:"(?:\\"?|[^"\\])*"|'[^'\n]*(?:\n[^'\n]+)*\n?'|\([^()]*\))/,U.def=oe(U.def).replace("label",U._label).replace("title",U._title).getRegex(),U.bullet=/(?:[*+-]|\d{1,9}[.)])/,U.item=/^( *)(bull) ?[^\n]*(?:\n(?!\1bull ?)[^\n]*)*/,U.item=oe(U.item,"gm").replace(/bull/g,U.bullet).getRegex(),U.list=oe(U.list).replace(/bull/g,U.bullet).replace("hr","\\n+(?=\\1?(?:(?:- *){3,}|(?:_ *){3,}|(?:\\* *){3,})(?:\\n+|$))").replace("def","\\n+(?="+U.def.source+")").getRegex(),U._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",U._comment=/<!--(?!-?>)[\s\S]*?-->/,U.html=oe(U.html,"i").replace("comment",U._comment).replace("tag",U._tag).replace("attribute",/ +[a-zA-Z:_][\w.:-]*(?: *= *"[^"\n]*"| *= *'[^'\n]*'| *= *[^\s"'=<>`]+)?/).getRegex(),U.paragraph=oe(U._paragraph).replace("hr",U.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",U._tag).getRegex(),U.blockquote=oe(U.blockquote).replace("paragraph",U.paragraph).getRegex(),U.normal=be({},U),U.gfm=be({},U.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*|$)"}),U.gfm.nptable=oe(U.gfm.nptable).replace("hr",U.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",U._tag).getRegex(),U.gfm.table=oe(U.gfm.table).replace("hr",U.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",U._tag).getRegex(),U.pedantic=be({},U.normal,{html:oe(`^ *(?:comment *(?:\\n|\\s*$)|<(tag)[\\s\\S]+?</\\1> *(?:\\n{2,}|\\s*$)|<tag(?:"[^"]*"|'[^']*'|\\s[^'"/>\\s]*)*?/?> *(?:\\n{2,}|\\s*$))`).replace("comment",U._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:Ie,paragraph:oe(U.normal._paragraph).replace("hr",U.hr).replace("heading",` *#{1,6} *[^
|
|
]`).replace("lheading",U.lheading).replace("blockquote"," {0,3}>").replace("|fences","").replace("|list","").replace("|html","").getRegex()});var G={escape:/^\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/,autolink:/^<(scheme:[^\s\x00-\x1f<>]*|email)>/,url:Ie,tag:"^comment|^</[a-zA-Z][\\w:-]*\\s*>|^<[a-zA-Z][\\w-]*(?:attribute)*?\\s*/?>|^<\\?[\\s\\S]*?\\?>|^<![a-zA-Z]+\\s[\\s\\S]*?>|^<!\\[CDATA\\[[\\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:Ie,text:/^(`+|[^`])(?:[\s\S]*?(?:(?=[\\<!\[`*]|\b_|$)|[^ ](?= {2,}\n))|(?= {2,}\n))/,punctuation:/^([\s*punctuation])/};G._punctuation="!\"#$%&'()+\\-.,/:;<=>?@\\[\\]`^{|}~",G.punctuation=oe(G.punctuation).replace(/punctuation/g,G._punctuation).getRegex(),G._blockSkip="\\[[^\\]]*?\\]\\([^\\)]*?\\)|`[^`]*?`|<[^>]*?>",G._overlapSkip="__[^_]*?__|\\*\\*\\[^\\*\\]*?\\*\\*",G.em.start=oe(G.em.start).replace(/punctuation/g,G._punctuation).getRegex(),G.em.middle=oe(G.em.middle).replace(/punctuation/g,G._punctuation).replace(/overlapSkip/g,G._overlapSkip).getRegex(),G.em.endAst=oe(G.em.endAst,"g").replace(/punctuation/g,G._punctuation).getRegex(),G.em.endUnd=oe(G.em.endUnd,"g").replace(/punctuation/g,G._punctuation).getRegex(),G.strong.start=oe(G.strong.start).replace(/punctuation/g,G._punctuation).getRegex(),G.strong.middle=oe(G.strong.middle).replace(/punctuation/g,G._punctuation).replace(/blockSkip/g,G._blockSkip).getRegex(),G.strong.endAst=oe(G.strong.endAst,"g").replace(/punctuation/g,G._punctuation).getRegex(),G.strong.endUnd=oe(G.strong.endUnd,"g").replace(/punctuation/g,G._punctuation).getRegex(),G.blockSkip=oe(G._blockSkip,"g").getRegex(),G.overlapSkip=oe(G._overlapSkip,"g").getRegex(),G._escapes=/\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/g,G._scheme=/[a-zA-Z][a-zA-Z0-9+.-]{1,31}/,G._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])?)+(?![-_])/,G.autolink=oe(G.autolink).replace("scheme",G._scheme).replace("email",G._email).getRegex(),G._attribute=/\s+[a-zA-Z:_][\w.:-]*(?:\s*=\s*"[^"]*"|\s*=\s*'[^']*'|\s*=\s*[^\s"'=<>`]+)?/,G.tag=oe(G.tag).replace("comment",U._comment).replace("attribute",G._attribute).getRegex(),G._label=/(?:\[(?:\\.|[^\[\]\\])*\]|\\.|`[^`]*`|[^\[\]\\`])*?/,G._href=/<(?:\\[<>]?|[^\s<>\\])*>|[^\s\x00-\x1f]*/,G._title=/"(?:\\"?|[^"\\])*"|'(?:\\'?|[^'\\])*'|\((?:\\\)?|[^)\\])*\)/,G.link=oe(G.link).replace("label",G._label).replace("href",G._href).replace("title",G._title).getRegex(),G.reflink=oe(G.reflink).replace("label",G._label).getRegex(),G.reflinkSearch=oe(G.reflinkSearch,"g").replace("reflink",G.reflink).replace("nolink",G.nolink).getRegex(),G.normal=be({},G),G.pedantic=be({},G.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:oe(/^!?\[(label)\]\((.*?)\)/).replace("label",G._label).getRegex(),reflink:oe(/^!?\[(label)\]\s*\[([^\]]*)\]/).replace("label",G._label).getRegex()}),G.gfm=be({},G.normal,{escape:oe(G.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]*?(?:(?=[\\<!\[`*~]|\b_|https?:\/\/|ftp:\/\/|www\.|$)|[^ ](?= {2,}\n)|[^a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-](?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@))|(?= {2,}\n|[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@))/}),G.gfm.url=oe(G.gfm.url,"i").replace("email",G.gfm._extended_email).getRegex(),G.breaks=be({},G.gfm,{br:oe(G.br).replace("{2,}","*").getRegex(),text:oe(G.gfm.text).replace("\\b_","\\b_| {2,}\\n").replace(/\{2,\}/g,"*").getRegex()});var Te={block:U,inline:G},Fe=M.defaults,ze=Te.block,Pe=Te.inline;function je(A){return A.replace(/---/g,"\u2014").replace(/--/g,"\u2013").replace(/(^|[-\u2014/(\[{"\s])'/g,"$1\u2018").replace(/'/g,"\u2019").replace(/(^|[-\u2014/(\[{\u2018\s])"/g,"$1\u201C").replace(/"/g,"\u201D").replace(/\.{3}/g,"\u2026")}function le(A){var x="",w,f,h=A.length;for(w=0;w<h;w++)f=A.charCodeAt(w),Math.random()>.5&&(f="x"+f.toString(16)),x+="&#"+f+";";return x}var xe=function(){function A(w){this.tokens=[],this.tokens.links=Object.create(null),this.options=w||Fe,this.options.tokenizer=this.options.tokenizer||new ve,this.tokenizer=this.options.tokenizer,this.tokenizer.options=this.options;var f={block:ze.normal,inline:Pe.normal};this.options.pedantic?(f.block=ze.pedantic,f.inline=Pe.pedantic):this.options.gfm&&(f.block=ze.gfm,this.options.breaks?f.inline=Pe.breaks:f.inline=Pe.gfm),this.tokenizer.rules=f}A.lex=function(f,h){var p=new A(h);return p.lex(f)};var x=A.prototype;return x.lex=function(f){return f=f.replace(/\r\n|\r/g,`
|
|
`).replace(/\t/g," "),this.blockTokens(f,this.tokens,!0),this.inline(this.tokens),this.tokens},x.blockTokens=function(f,h,p){h===void 0&&(h=[]),p===void 0&&(p=!0),f=f.replace(/^ +$/gm,"");for(var v,B,V,we;f;){if(v=this.tokenizer.space(f)){f=f.substring(v.raw.length),v.type&&h.push(v);continue}if(v=this.tokenizer.code(f,h)){f=f.substring(v.raw.length),v.type?h.push(v):(we=h[h.length-1],we.raw+=`
|
|
`+v.raw,we.text+=`
|
|
`+v.text);continue}if(v=this.tokenizer.fences(f)){f=f.substring(v.raw.length),h.push(v);continue}if(v=this.tokenizer.heading(f)){f=f.substring(v.raw.length),h.push(v);continue}if(v=this.tokenizer.nptable(f)){f=f.substring(v.raw.length),h.push(v);continue}if(v=this.tokenizer.hr(f)){f=f.substring(v.raw.length),h.push(v);continue}if(v=this.tokenizer.blockquote(f)){f=f.substring(v.raw.length),v.tokens=this.blockTokens(v.text,[],p),h.push(v);continue}if(v=this.tokenizer.list(f)){for(f=f.substring(v.raw.length),V=v.items.length,B=0;B<V;B++)v.items[B].tokens=this.blockTokens(v.items[B].text,[],!1);h.push(v);continue}if(v=this.tokenizer.html(f)){f=f.substring(v.raw.length),h.push(v);continue}if(p&&(v=this.tokenizer.def(f))){f=f.substring(v.raw.length),this.tokens.links[v.tag]||(this.tokens.links[v.tag]={href:v.href,title:v.title});continue}if(v=this.tokenizer.table(f)){f=f.substring(v.raw.length),h.push(v);continue}if(v=this.tokenizer.lheading(f)){f=f.substring(v.raw.length),h.push(v);continue}if(p&&(v=this.tokenizer.paragraph(f))){f=f.substring(v.raw.length),h.push(v);continue}if(v=this.tokenizer.text(f,h)){f=f.substring(v.raw.length),v.type?h.push(v):(we=h[h.length-1],we.raw+=`
|
|
`+v.raw,we.text+=`
|
|
`+v.text);continue}if(f){var nt="Infinite loop on byte: "+f.charCodeAt(0);if(this.options.silent){console.error(nt);break}else throw new Error(nt)}}return h},x.inline=function(f){var h,p,v,B,V,we,nt=f.length;for(h=0;h<nt;h++){we=f[h];switch(we.type){case"paragraph":case"text":case"heading":{we.tokens=[],this.inlineTokens(we.text,we.tokens);break}case"table":{for(we.tokens={header:[],cells:[]},B=we.header.length,p=0;p<B;p++)we.tokens.header[p]=[],this.inlineTokens(we.header[p],we.tokens.header[p]);for(B=we.cells.length,p=0;p<B;p++)for(V=we.cells[p],we.tokens.cells[p]=[],v=0;v<V.length;v++)we.tokens.cells[p][v]=[],this.inlineTokens(V[v],we.tokens.cells[p][v]);break}case"blockquote":{this.inline(we.tokens);break}case"list":{for(B=we.items.length,p=0;p<B;p++)this.inline(we.items[p].tokens);break}}}return f},x.inlineTokens=function(f,h,p,v,B){h===void 0&&(h=[]),p===void 0&&(p=!1),v===void 0&&(v=!1),B===void 0&&(B="");var V,we=f,nt;if(this.tokens.links){var ft=Object.keys(this.tokens.links);if(ft.length>0)for(;(nt=this.tokenizer.rules.inline.reflinkSearch.exec(we))!=null;)ft.includes(nt[0].slice(nt[0].lastIndexOf("[")+1,-1))&&(we=we.slice(0,nt.index)+"["+"a".repeat(nt[0].length-2)+"]"+we.slice(this.tokenizer.rules.inline.reflinkSearch.lastIndex))}for(;(nt=this.tokenizer.rules.inline.blockSkip.exec(we))!=null;)we=we.slice(0,nt.index)+"["+"a".repeat(nt[0].length-2)+"]"+we.slice(this.tokenizer.rules.inline.blockSkip.lastIndex);for(;f;){if(V=this.tokenizer.escape(f)){f=f.substring(V.raw.length),h.push(V);continue}if(V=this.tokenizer.tag(f,p,v)){f=f.substring(V.raw.length),p=V.inLink,v=V.inRawBlock,h.push(V);continue}if(V=this.tokenizer.link(f)){f=f.substring(V.raw.length),V.type==="link"&&(V.tokens=this.inlineTokens(V.text,[],!0,v)),h.push(V);continue}if(V=this.tokenizer.reflink(f,this.tokens.links)){f=f.substring(V.raw.length),V.type==="link"&&(V.tokens=this.inlineTokens(V.text,[],!0,v)),h.push(V);continue}if(V=this.tokenizer.strong(f,we,B)){f=f.substring(V.raw.length),V.tokens=this.inlineTokens(V.text,[],p,v),h.push(V);continue}if(V=this.tokenizer.em(f,we,B)){f=f.substring(V.raw.length),V.tokens=this.inlineTokens(V.text,[],p,v),h.push(V);continue}if(V=this.tokenizer.codespan(f)){f=f.substring(V.raw.length),h.push(V);continue}if(V=this.tokenizer.br(f)){f=f.substring(V.raw.length),h.push(V);continue}if(V=this.tokenizer.del(f)){f=f.substring(V.raw.length),V.tokens=this.inlineTokens(V.text,[],p,v),h.push(V);continue}if(V=this.tokenizer.autolink(f,le)){f=f.substring(V.raw.length),h.push(V);continue}if(!p&&(V=this.tokenizer.url(f,le))){f=f.substring(V.raw.length),h.push(V);continue}if(V=this.tokenizer.inlineText(f,v,je)){f=f.substring(V.raw.length),B=V.raw.slice(-1),h.push(V);continue}if(f){var ot="Infinite loop on byte: "+f.charCodeAt(0);if(this.options.silent){console.error(ot);break}else throw new Error(ot)}}return h},Ae(A,null,[{key:"rules",get:function(){return{block:ze,inline:Pe}}}]),A}(),De=M.defaults,We=pe.cleanUrl,Qe=pe.escape,Ce=function(){function A(w){this.options=w||De}var x=A.prototype;return x.code=function(f,h,p){var v=(h||"").match(/\S*/)[0];if(this.options.highlight){var B=this.options.highlight(f,v);B!=null&&B!==f&&(p=!0,f=B)}return v?'<pre><code class="'+this.options.langPrefix+Qe(v,!0)+'">'+(p?f:Qe(f,!0))+`</code></pre>
|
|
`:"<pre><code>"+(p?f:Qe(f,!0))+`</code></pre>
|
|
`},x.blockquote=function(f){return`<blockquote>
|
|
`+f+`</blockquote>
|
|
`},x.html=function(f){return f},x.heading=function(f,h,p,v){return this.options.headerIds?"<h"+h+' id="'+this.options.headerPrefix+v.slug(p)+'">'+f+"</h"+h+`>
|
|
`:"<h"+h+">"+f+"</h"+h+`>
|
|
`},x.hr=function(){return this.options.xhtml?`<hr/>
|
|
`:`<hr>
|
|
`},x.list=function(f,h,p){var v=h?"ol":"ul",B=h&&p!==1?' start="'+p+'"':"";return"<"+v+B+`>
|
|
`+f+"</"+v+`>
|
|
`},x.listitem=function(f){return"<li>"+f+`</li>
|
|
`},x.checkbox=function(f){return"<input "+(f?'checked="" ':"")+'disabled="" type="checkbox"'+(this.options.xhtml?" /":"")+"> "},x.paragraph=function(f){return"<p>"+f+`</p>
|
|
`},x.table=function(f,h){return h&&(h="<tbody>"+h+"</tbody>"),`<table>
|
|
<thead>
|
|
`+f+`</thead>
|
|
`+h+`</table>
|
|
`},x.tablerow=function(f){return`<tr>
|
|
`+f+`</tr>
|
|
`},x.tablecell=function(f,h){var p=h.header?"th":"td",v=h.align?"<"+p+' align="'+h.align+'">':"<"+p+">";return v+f+"</"+p+`>
|
|
`},x.strong=function(f){return"<strong>"+f+"</strong>"},x.em=function(f){return"<em>"+f+"</em>"},x.codespan=function(f){return"<code>"+f+"</code>"},x.br=function(){return this.options.xhtml?"<br/>":"<br>"},x.del=function(f){return"<del>"+f+"</del>"},x.link=function(f,h,p){if(f=We(this.options.sanitize,this.options.baseUrl,f),f===null)return p;var v='<a href="'+Qe(f)+'"';return h&&(v+=' title="'+h+'"'),v+=">"+p+"</a>",v},x.image=function(f,h,p){if(f=We(this.options.sanitize,this.options.baseUrl,f),f===null)return p;var v='<img src="'+f+'" alt="'+p+'"';return h&&(v+=' title="'+h+'"'),v+=this.options.xhtml?"/>":">",v},x.text=function(f){return f},A}(),ke=function(){function A(){}var x=A.prototype;return x.strong=function(f){return f},x.em=function(f){return f},x.codespan=function(f){return f},x.del=function(f){return f},x.html=function(f){return f},x.text=function(f){return f},x.link=function(f,h,p){return""+p},x.image=function(f,h,p){return""+p},x.br=function(){return""},A}(),qe=function(){function A(){this.seen={}}var x=A.prototype;return x.slug=function(f){var h=f.toLowerCase().trim().replace(/<[!\/a-z].*?>/ig,"").replace(/[\u2000-\u206F\u2E00-\u2E7F\\'!"#$%&()*+,./:;<=>?@[\]^`{|}~]/g,"").replace(/\s/g,"-");if(this.seen.hasOwnProperty(h)){var p=h;do this.seen[p]++,h=p+"-"+this.seen[p];while(this.seen.hasOwnProperty(h))}return this.seen[h]=0,h},A}(),Ve=M.defaults,Ze=pe.unescape,Ke=function(){function A(w){this.options=w||Ve,this.options.renderer=this.options.renderer||new Ce,this.renderer=this.options.renderer,this.renderer.options=this.options,this.textRenderer=new ke,this.slugger=new qe}A.parse=function(f,h){var p=new A(h);return p.parse(f)};var x=A.prototype;return x.parse=function(f,h){h===void 0&&(h=!0);var p="",v,B,V,we,nt,ft,ot,Pt,pt,lt,Ft,bt,Zt,Wt,mt,Cn,Kn,un,wn=f.length;for(v=0;v<wn;v++){lt=f[v];switch(lt.type){case"space":continue;case"hr":{p+=this.renderer.hr();continue}case"heading":{p+=this.renderer.heading(this.parseInline(lt.tokens),lt.depth,Ze(this.parseInline(lt.tokens,this.textRenderer)),this.slugger);continue}case"code":{p+=this.renderer.code(lt.text,lt.lang,lt.escaped);continue}case"table":{for(Pt="",ot="",we=lt.header.length,B=0;B<we;B++)ot+=this.renderer.tablecell(this.parseInline(lt.tokens.header[B]),{header:!0,align:lt.align[B]});for(Pt+=this.renderer.tablerow(ot),pt="",we=lt.cells.length,B=0;B<we;B++){for(ft=lt.tokens.cells[B],ot="",nt=ft.length,V=0;V<nt;V++)ot+=this.renderer.tablecell(this.parseInline(ft[V]),{header:!1,align:lt.align[V]});pt+=this.renderer.tablerow(ot)}p+=this.renderer.table(Pt,pt);continue}case"blockquote":{pt=this.parse(lt.tokens),p+=this.renderer.blockquote(pt);continue}case"list":{for(Ft=lt.ordered,bt=lt.start,Zt=lt.loose,we=lt.items.length,pt="",B=0;B<we;B++)mt=lt.items[B],Cn=mt.checked,Kn=mt.task,Wt="",mt.task&&(un=this.renderer.checkbox(Cn),Zt?mt.tokens.length>0&&mt.tokens[0].type==="text"?(mt.tokens[0].text=un+" "+mt.tokens[0].text,mt.tokens[0].tokens&&mt.tokens[0].tokens.length>0&&mt.tokens[0].tokens[0].type==="text"&&(mt.tokens[0].tokens[0].text=un+" "+mt.tokens[0].tokens[0].text)):mt.tokens.unshift({type:"text",text:un}):Wt+=un),Wt+=this.parse(mt.tokens,Zt),pt+=this.renderer.listitem(Wt,Kn,Cn);p+=this.renderer.list(pt,Ft,bt);continue}case"html":{p+=this.renderer.html(lt.text);continue}case"paragraph":{p+=this.renderer.paragraph(this.parseInline(lt.tokens));continue}case"text":{for(pt=lt.tokens?this.parseInline(lt.tokens):lt.text;v+1<wn&&f[v+1].type==="text";)lt=f[++v],pt+=`
|
|
`+(lt.tokens?this.parseInline(lt.tokens):lt.text);p+=h?this.renderer.paragraph(pt):pt;continue}default:{var pn='Token with "'+lt.type+'" type was not found.';if(this.options.silent){console.error(pn);return}else throw new Error(pn)}}}return p},x.parseInline=function(f,h){h=h||this.renderer;var p="",v,B,V=f.length;for(v=0;v<V;v++){B=f[v];switch(B.type){case"escape":{p+=h.text(B.text);break}case"html":{p+=h.html(B.text);break}case"link":{p+=h.link(B.href,B.title,this.parseInline(B.tokens,h));break}case"image":{p+=h.image(B.href,B.title,B.text);break}case"strong":{p+=h.strong(this.parseInline(B.tokens,h));break}case"em":{p+=h.em(this.parseInline(B.tokens,h));break}case"codespan":{p+=h.codespan(B.text);break}case"br":{p+=h.br();break}case"del":{p+=h.del(this.parseInline(B.tokens,h));break}case"text":{p+=h.text(B.text);break}default:{var we='Token with "'+B.type+'" type was not found.';if(this.options.silent){console.error(we);return}else throw new Error(we)}}}return p},A}(),it=pe.merge,$e=pe.checkSanitizeDeprecation,Ye=pe.escape,de=M.getDefaults,rt=M.changeDefaults,Ge=M.defaults;function fe(A,x,w){if(typeof A=="undefined"||A===null)throw new Error("marked(): input parameter is undefined or null");if(typeof A!="string")throw new Error("marked(): input parameter is of type "+Object.prototype.toString.call(A)+", string expected");if(typeof x=="function"&&(w=x,x=null),x=it({},fe.defaults,x||{}),$e(x),w){var f=x.highlight,h;try{h=xe.lex(A,x)}catch(V){return w(V)}var p=function(we){var nt;if(!we)try{nt=Ke.parse(h,x)}catch(ft){we=ft}return x.highlight=f,we?w(we):w(null,nt)};if(!f||f.length<3)return p();if(delete x.highlight,!h.length)return p();var v=0;fe.walkTokens(h,function(V){V.type==="code"&&(v++,setTimeout(function(){f(V.text,V.lang,function(we,nt){if(we)return p(we);nt!=null&&nt!==V.text&&(V.text=nt,V.escaped=!0),v--,v===0&&p()})},0))}),v===0&&p();return}try{var B=xe.lex(A,x);return x.walkTokens&&fe.walkTokens(B,x.walkTokens),Ke.parse(B,x)}catch(V){if(V.message+=`
|
|
Please report this to https://github.com/markedjs/marked.`,x.silent)return"<p>An error occurred:</p><pre>"+Ye(V.message+"",!0)+"</pre>";throw V}}fe.options=fe.setOptions=function(A){return it(fe.defaults,A),rt(fe.defaults),fe},fe.getDefaults=de,fe.defaults=Ge,fe.use=function(A){var x=it({},A);if(A.renderer&&function(){var f=fe.defaults.renderer||new Ce,h=function(B){var V=f[B];f[B]=function(){for(var we=arguments.length,nt=new Array(we),ft=0;ft<we;ft++)nt[ft]=arguments[ft];var ot=A.renderer[B].apply(f,nt);return ot===!1&&(ot=V.apply(f,nt)),ot}};for(var p in A.renderer)h(p);x.renderer=f}(),A.tokenizer&&function(){var f=fe.defaults.tokenizer||new ve,h=function(B){var V=f[B];f[B]=function(){for(var we=arguments.length,nt=new Array(we),ft=0;ft<we;ft++)nt[ft]=arguments[ft];var ot=A.tokenizer[B].apply(f,nt);return ot===!1&&(ot=V.apply(f,nt)),ot}};for(var p in A.tokenizer)h(p);x.tokenizer=f}(),A.walkTokens){var w=fe.defaults.walkTokens;x.walkTokens=function(f){A.walkTokens(f),w&&w(f)}}fe.setOptions(x)},fe.walkTokens=function(A,x){for(var w=se(A),f;!(f=w()).done;){var h=f.value;x(h);switch(h.type){case"table":{for(var p=se(h.tokens.header),v;!(v=p()).done;){var B=v.value;fe.walkTokens(B,x)}for(var V=se(h.tokens.cells),we;!(we=V()).done;)for(var nt=we.value,ft=se(nt),ot;!(ot=ft()).done;){var Pt=ot.value;fe.walkTokens(Pt,x)}break}case"list":{fe.walkTokens(h.items,x);break}default:h.tokens&&fe.walkTokens(h.tokens,x)}}},fe.Parser=Ke,fe.parser=Ke.parse,fe.Renderer=Ce,fe.TextRenderer=ke,fe.Lexer=xe,fe.lexer=xe.lex,fe.Tokenizer=ve,fe.Slugger=qe,fe.parse=fe;var Le=fe;return Le})},E3HF:function(me,ne,u){me.exports={flex_box_center:"flex_box_center___9yD0l",flex_space_between:"flex_space_between___12_t1",flex_box_vertical_center:"flex_box_vertical_center____RzXy",flex_box_center_end:"flex_box_center_end___w5V55",flex_box_column:"flex_box_column___1O69H",bg:"bg___1SAB4",flexRow:"flexRow___TGonw",flexJustifyCenter:"flexJustifyCenter___FdZYv",flexAlignEnd:"flexAlignEnd___2MQGW",flexAlingCenter:"flexAlingCenter___HR4pS",flexAlignCenter:"flexAlignCenter___2tpRP",flexColumn:"flexColumn___2x5QM",formWrap:"formWrap___3nPVX",titleWrap:"titleWrap___2I_px",fieldWrap:"fieldWrap___q51w8",mdWrap:"mdWrap___1_3Z7",backgroundFa:"backgroundFa___3eVc8",button:"button___BK_yA",icons:"icons___FzVfz",navBar:"navBar___3G5De",active:"active___15cJu",tipWrap:"tipWrap___20yI4",tip:"tip___2Y6MS",width300:"width300___-1o3l",popover:"popover___2-F6L",groupWrap:"groupWrap___2_3AK"}},E7E6:function(me,ne){me.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAMgAAADUCAYAAADZTGx+AAAgAElEQVR4Xu2dC3BU13nHv7MrIQkQQoCEtAIEAmxig4GACxhogpM6NY7jOKZO4nimwcFot23SNNNO02napJN0JjN9TNMm5eG3x4+YSeI3ftUGjCDGQMBgG4wxb+0u4mEeQhJI2tP539WR7i77uPfuvXfvar8zs7Mr7bnn8Z3vt9/5zlMQB5aAQQmsW7fO397eHujp6Rkfi8XGExFeDX2vABHVSSlrhBDDiKhdSnlOCBGWUu4mol1lZWWv3nfffccNZueJaMITpeBCeEICjz/++LCOjo5GIpogpWwUQjT2vU/A/wCClNJvtbBCCCml3CaEeGzChAmPLF269LLVtNx6jgFxS9IeyOehhx6q7OnpmSilnEhE2gsA4L0PhjHZillRUUHl5WUUf6+giopyKi+Pv8rKyrSX3++nnp4e7XXpUgedP3+ezp37lE6ebKPe3l4tCyFEhIj+UwjxaHNz8+ls+ebrewYkX5J3IN9169YNv3DhwsRYLIbXJAWBDoZRmbKFYkPRhw4dqgEwdCgAwOfyPiDKyefzWS454Dh58iQdPPi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pVSThGCphLJKVLSVCFoYrHCAwikpCNC0MdE4qCU9LEQ4qDf7/+4trb2aN/cRGFpeI6lLUpAMslMSulva2ub2NPT0+TzyUAsJup9PgpIKQNSinohtM/1RFRo5/1cFkJEpKSwEDIihAjHYhT2+WQkFhPhkpKSQ7W1tUdwsnmOOjWoHmdALDbn+fPnR3V2dgKW0ULEqmIxUSWlHCmErJJSVAlBVVIS3kcS4X9ULoQolVKWZnpHcaSU3UKI7szv1EUkzuNSKSEI7+eFkOelFOeFEOd8Pnz24fOZioqKcFVV1VmLVS3qx/4fQLyzKIIkCJoAAAAASUVORK5CYII="},ELLl:function(me,ne,u){(function(T){T(u("VrN/"))})(function(T){var Ae={pairs:`()[]{}''""`,closeBefore:`)]}'":;>`,triples:"",explode:"[]{}"},J=T.Pos;T.defineOption("autoCloseBrackets",!1,function(I,R,D){D&&D!=T.Init&&(I.removeKeyMap(se),I.state.closeBrackets=null),R&&(ee(ce(R,"pairs")),I.state.closeBrackets=R,I.addKeyMap(se))});function ce(I,R){return R=="pairs"&&typeof I=="string"?I:typeof I=="object"&&I[R]!=null?I[R]:Ae[R]}var se={Backspace:E,Enter:ie};function ee(I){for(var R=0;R<I.length;R++){var D=I.charAt(R),H="'"+D+"'";se[H]||(se[H]=M(D))}}ee(Ae.pairs+"`");function M(I){return function(R){return z(R,I)}}function S(I){var R=I.state.closeBrackets;if(!R||R.override)return R;var D=I.getModeAt(I.getCursor());return D.closeBrackets||R}function E(I){var R=S(I);if(!R||I.getOption("disableInput"))return T.Pass;for(var D=ce(R,"pairs"),H=I.listSelections(),Q=0;Q<H.length;Q++){if(!H[Q].empty())return T.Pass;var ge=ae(I,H[Q].head);if(!ge||D.indexOf(ge)%2!=0)return T.Pass}for(var Q=H.length-1;Q>=0;Q--){var ye=H[Q].head;I.replaceRange("",J(ye.line,ye.ch-1),J(ye.line,ye.ch+1),"+delete")}}function ie(I){var R=S(I),D=R&&ce(R,"explode");if(!D||I.getOption("disableInput"))return T.Pass;for(var H=I.listSelections(),Q=0;Q<H.length;Q++){if(!H[Q].empty())return T.Pass;var ge=ae(I,H[Q].head);if(!ge||D.indexOf(ge)%2!=0)return T.Pass}I.operation(function(){var ye=I.lineSeparator()||`
|
|
`;I.replaceSelection(ye+ye,null),I.execCommand("goCharLeft"),H=I.listSelections();for(var Y=0;Y<H.length;Y++){var he=H[Y].head.line;I.indentLine(he,null,!0),I.indentLine(he+1,null,!0)}})}function N(I){var R=T.cmpPos(I.anchor,I.head)>0;return{anchor:new J(I.anchor.line,I.anchor.ch+(R?-1:1)),head:new J(I.head.line,I.head.ch+(R?1:-1))}}function z(I,R){var D=S(I);if(!D||I.getOption("disableInput"))return T.Pass;var H=ce(D,"pairs"),Q=H.indexOf(R);if(Q==-1)return T.Pass;for(var ge=ce(D,"closeBefore"),ye=ce(D,"triples"),Y=H.charAt(Q+1)==R,he=I.listSelections(),Re=Q%2==0,re,te=0;te<he.length;te++){var Z=he[te],P=Z.head,m,_=I.getRange(P,J(P.line,P.ch+1));if(Re&&!Z.empty())m="surround";else if((Y||!Re)&&_==R)Y&&K(I,P)?m="both":ye.indexOf(R)>=0&&I.getRange(P,J(P.line,P.ch+3))==R+R+R?m="skipThree":m="skip";else if(Y&&P.ch>1&&ye.indexOf(R)>=0&&I.getRange(J(P.line,P.ch-2),P)==R+R){if(P.ch>2&&/\bstring/.test(I.getTokenTypeAt(J(P.line,P.ch-2))))return T.Pass;m="addFour"}else if(Y){var O=P.ch==0?" ":I.getRange(J(P.line,P.ch-1),P);if(!T.isWordChar(_)&&O!=R&&!T.isWordChar(O))m="both";else return T.Pass}else if(Re&&(_.length===0||/\s/.test(_)||ge.indexOf(_)>-1))m="both";else return T.Pass;if(!re)re=m;else if(re!=m)return T.Pass}var b=Q%2?H.charAt(Q-1):R,j=Q%2?R:H.charAt(Q+1);I.operation(function(){if(re=="skip")I.execCommand("goCharRight");else if(re=="skipThree")for(var X=0;X<3;X++)I.execCommand("goCharRight");else if(re=="surround"){for(var W=I.getSelections(),X=0;X<W.length;X++)W[X]=b+W[X]+j;I.replaceSelections(W,"around"),W=I.listSelections().slice();for(var X=0;X<W.length;X++)W[X]=N(W[X]);I.setSelections(W)}else re=="both"?(I.replaceSelection(b+j,null),I.triggerElectric(b+j),I.execCommand("goCharLeft")):re=="addFour"&&(I.replaceSelection(b+b+b+b,"before"),I.execCommand("goCharRight"))})}function ae(I,R){var D=I.getRange(J(R.line,R.ch-1),J(R.line,R.ch+1));return D.length==2?D:null}function K(I,R){var D=I.getTokenAt(J(R.line,R.ch+1));return/\bstring/.test(D.type)&&D.start==R.ch&&(R.ch==0||!/\bstring/.test(I.getTokenTypeAt(R)))}})},FOrL:function(me,ne,u){me.exports=u.p+"static/nodata.a6b3f948.png"},FPkq:function(me,ne,u){me.exports=u.p+"static/qrCode.dd0fe9b2.png"},GABl:function(me,ne){me.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADQAAAA0CAYAAADFeBvrAAAKi0lEQVRoQ71ae3BU1Rn//e7dzYuioNRsHlSqRiUB2eUx0hbaKAHEAMWxiQ6PTUAUGCuIQNVOZ0xnrHUE5GHHIqOwCag8BlQiQnnUokgt5AEIK5GnBpIFXwjkAdl7vs7dkJCETXLvEj3/5d7v9/u+337nfN8554bowBHo16+3YRh3K7IPBHcRSIDI9QJ0AWkA8h0E3xM8DWAvde5x6Pqe+D17jnVUGLxWogqPp78SGSeC3wP4ZUR8pJ+Ct50O7e344uKjEXFcBkUkSERY6e43RkE9JcCgawngaiw3O6A/l7CvaHckvLYFhTKi5B8C3B2JQ6sYEhvpcMxKKioqs4ox7SwLkvT0mFNnz82HqKkCaHacRGxL1gDybHJp6WKSYoXHkqBytzuF4FoR6WOFtKNtCP4b0c7s5N27v22Pu11B5e7+6ZTgBgE6t0f2Y74n8IUjOuo+1+7dx9vy06agcrf7fgjXARLzYwZrnZsB6BzevaRkf2uYVgWdcruHKnAjRJzWHf4ElmSl5nTcnbRnT3k4b2EFVfTt29NQ8l+zKf4EIUbi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yjsJQX2x50XhNWboigGcBrKam7RKRMqce+vodYwiSIOihREYAPN5wJJGDGdkQsdc6Gpxp/AtTt/2t4c9mghIKJvcU1O0VQVQk084yhjgHxKac9i45I+VZsTj3/SGI/MIyvjF6VqBrbAoTC6vDCjIfulZM/KMo9YptchsAEk8HvPkvhdbVwYznIJJnA97EVBvLXlvfblZ0whG58nPWCvCHyJy0gyKPde7WOdVcP3JkWHfUqkOAxNn2Rcxn2vbZLXFhr15vW/nEdeeNcyUArr5ctO25OUAjH6z0+tZfzs4qRFJZiU1IHTySvPoDQKt3yeb1cFDJNhHcdI0amhQk7gh4fen1YoYPhgQ/ss/NzxHtHGj2nHDYNi/Hk9/MTQka2CoiN9t3fNVkUDr0/hU5b5SK5Gnw7yyCiMcWL+GH5sxkz80nWsO1e9uftHJysqHqtoigpy3nLYxJLgt4fY+EsnMg41FAltriIzciyjm2tcy0WuXCOUnKf/xGg1VvishwW0Fc8XIhNoYpJ7J9gfpLRByGyM8tc5FzkTromXBrxlJRaM2ReW0sSi0QQTfLwZiG1P582rv876Hs+DNehpKZFvEnoWE2U7dbbrrtTrmWjhPfeqybEby0ECLjrARF8ETML9DzxD2+WikbdifqDHND2vb/PpDm5/oXcV3XRey+tsaKH1tTLhyh661H0xCsmyaQCW1dg1HTHwpMWLbmcpneBJH7Wg+QVdCwFKI/z7R/fWdHyDULaiCIL5jdScM3Y6X+m04/aXIPQGJnwJs/OCTm8yEjYSDMLSurQPkI5CrcoK2ja0vobBTpsD3l2nKU/mGe43DFiV5Ksb8SNUCj9lrlhOUl5r8JwG9evjMBhDmdjkJYBp2luLPHHrL+nq8jxv8BV2A7FHmr6w0AAAAASUVORK5CYII="},Gytx:function(me,ne){me.exports=function(T,Ae,J,ce){var se=J?J.call(ce,T,Ae):void 0;if(se!==void 0)return!!se;if(T===Ae)return!0;if(typeof T!="object"||!T||typeof Ae!="object"||!Ae)return!1;var ee=Object.keys(T),M=Object.keys(Ae);if(ee.length!==M.length)return!1;for(var S=Object.prototype.hasOwnProperty.bind(Ae),E=0;E<ee.length;E++){var ie=ee[E];if(!S(ie))return!1;var N=T[ie],z=Ae[ie];if(se=J?J.call(ce,N,z,ie):void 0,se===!1||se===void 0&&N!==z)return!1}return!0}},HmJG:function(me,ne,u){},HpTS:function(me,ne,u){me.exports=u.p+"static/small_program.f74069ec.png"},JWDV:function(me,ne,u){me.exports=u.p+"static/charpter-white.5fa14f93.svg"},JeFH:function(me,ne){me.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGgAAAAwCAYAAAD9wT87AAAe2UlEQVR4XtVcB5QUVbr+blV1T+ieGWaYBAwgOSgooJLjENeA6a2KCVfZNbum3VXXsG9VdFfc1TXtGlfXLCKgEiRnUAHJWRzAyTl3V9V957vV1dPTM+M4Hn2Pd8/xIHRV9f3vn77/+/9qgVaWlHIggHMB+AA8K4TIbe2ek/FzKWUmgLGw7THQtLlCiBUn4z6j9ySa26SUMg3A+ZDyaljBMTC87mXrAUwSQtT+fxBOSqmbpjnaMIyrYJnToRvtQ/sOAJgihFh1ssvRSEFSysEAroJlXQZdp8VhXUEAS07UYGavBPSIQz10vacQ4vjJLJiUMgPAhZByJoQYyr0erZFYmFOFZK+GK7szGOB3Qoi/nsxycG9KQVLKKyDltbDMbBge5NYD87+twvxjNdhbZiIoJZZMysRpPqsShreXECL/ZBRMSjkAwM2wzIugG2k2gOW59fjgaDU2FNbjRI2Fm/r48eigdtz+TUKIF05GOSL3JKSUDwN4SALYXBRQwqzIrUNBvQ1DAIYm4BHAJxMz0TPOLoJu9BFClJxsglVVVWXGx8d/IYTIOl4rsSCnGvNzarCvIghLAl5NoN6WuKVPAu4dkMjtXyuEeP1kk6NJDpJSHgTQ8+Ht5Xj5UBWoqBhNQAsFP/6dwi2alIlTYq1caEY/IUT5zyGYlLIvgD4AugLIgm0zF3qgaccDgcCbMTExu1v6Xinl6YDc/lWxiWvWF6E04BiYxxUEQK0lcUe/BNx9qlLQFUKIt38mOVIAnA6gG4AugM104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utUhA19TUZMXFxc0AcCZbIqG5A+YFvhvEMEQXVm4s6Jon6VKzA053dTI46OH8hMARhbwa5OCbboU/9e8//BRH8j9mLdQoDqqNCwAAAABJRU5ErkJggg=="},Jq4h:function(me,ne,u){me.exports=u.p+"static/qrcode.54870d9b.png"},LdHM:function(me,ne,u){"use strict";u.d(ne,"b",function(){return ge}),u.d(ne,"a",function(){return Y});var T=u("1OyB"),Ae=u("vuIU"),J=u("Ji7U"),ce=u("LK+K"),se=u("cDcd"),ee=u("rePB"),M=u("Ff2n"),S=u("ODXe"),E=u("4IlW"),ie=u("bX4T"),N=u("YrtM"),z=u("TSYQ"),ae=u.n(z),K=u("+nKL"),I=u("8OUc"),R=function(k,$){var q=k.prefixCls,Se=k.id,Be=k.flattenOptions,ve=k.childrenAsData,Ie=k.values,oe=k.searchValue,be=k.multiple,U=k.defaultActiveFirstOption,G=k.height,Te=k.itemHeight,Fe=k.notFoundContent,ze=k.open,Pe=k.menuItemSelectedIcon,je=k.virtual,le=k.onSelect,xe=k.onToggleOpen,De=k.onActiveValue,We=k.onScroll,Qe=k.onMouseEnter,Ce="".concat(q,"-item"),ke=Object(N.a)(function(){return Be},[ze,Be],function(Le,A){return A[0]&&Le[1]!==A[1]}),qe=se.useRef(null),Ve=function(A){A.preventDefault()},Ze=function(A){qe.current&&qe.current.scrollTo({index:A})},Ke=function(A){for(var x=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1,w=ke.length,f=0;f<w;f+=1){var h=(A+f*x+w)%w,p=ke[h],v=p.group,B=p.data;if(!v&&!B.disabled)return h}return-1},it=se.useState(function(){return Ke(0)}),$e=Object(S.a)(it,2),Ye=$e[0],de=$e[1],rt=function(A){de(A);var x=ke[A];if(!x){De(null,-1);return}De(x.data.value,A)};se.useEffect(function(){rt(U!==!1?Ke(0):-1)},[ke.length,oe]),se.useEffect(function(){var Le=setTimeout(function(){if(!be&&ze&&Ie.size===1){var A=Array.from(Ie)[0],x=ke.findIndex(function(w){var f=w.data;return f.value===A});rt(x),Ze(x)}});return function(){return clearTimeout(Le)}},[ze]);var Ge=function(A){A!==void 0&&le(A,{selected:!Ie.has(A)}),be||xe(!1)};if(se.useImperativeHandle($,function(){return{onKeyDown:function(A){var x=A.which;switch(x){case E.a.UP:case E.a.DOWN:{var w=0;if(x===E.a.UP?w=-1:x===E.a.DOWN&&(w=1),w!==0){var f=Ke(Ye+w,w);Ze(f),rt(f)}break}case E.a.ENTER:{var h=ke[Ye];h&&!h.data.disabled?Ge(h.data.value):Ge(void 0),ze&&A.preventDefault();break}case E.a.ESC:xe(!1)}},onKeyUp:function(){},scrollTo:function(A){Ze(A)}}}),ke.length===0)return se.createElement("div",{role:"listbox",id:"".concat(Se,"_list"),className:"".concat(Ce,"-empty"),onMouseDown:Ve},Fe);function fe(Le){var A=ke[Le];if(!A)return null;var x=A.data||{},w=x.value,f=x.label,h=x.children,p=Object(ie.a)(x,!0),v=ve?h:f;return A?se.createElement("div",Object.assign({"aria-label":typeof v=="string"?v:null},p,{key:Le,role:"option",id:"".concat(Se,"_list_").concat(Le),"aria-selected":Ie.has(w)}),w):null}return se.createElement(se.Fragment,null,se.createElement("div",{role:"listbox",id:"".concat(Se,"_list"),style:{height:0,width:0,overflow:"hidden"}},fe(Ye-1),fe(Ye),fe(Ye+1)),se.createElement(K.a,{itemKey:"key",ref:qe,data:ke,height:G,itemHeight:Te,fullHeight:!1,onMouseDown:Ve,onScroll:We,virtual:je,onMouseEnter:Qe},function(Le,A){var x,w=Le.group,f=Le.groupOption,h=Le.data,p=h.label,v=h.key;if(w)return se.createElement("div",{className:ae()(Ce,"".concat(Ce,"-group"))},p!==void 0?p:v);var B=h.disabled,V=h.value,we=h.title,nt=h.children,ft=h.style,ot=h.className,Pt=Object(M.a)(h,["disabled","value","title","children","style","className"]),pt=Ie.has(V),lt="".concat(Ce,"-option"),Ft=ae()(Ce,lt,ot,(x={},Object(ee.a)(x,"".concat(lt,"-grouped"),f),Object(ee.a)(x,"".concat(lt,"-active"),Ye===A&&!B),Object(ee.a)(x,"".concat(lt,"-disabled"),B),Object(ee.a)(x,"".concat(lt,"-selected"),pt),x)),bt=ve?nt:p,Zt=!Pe||typeof Pe=="function"||pt;return se.createElement("div",Object.assign({},Pt,{"aria-selected":pt,className:Ft,title:we,onMouseMove:function(){if(Ye===A||B)return;rt(A)},onClick:function(){B||Ge(V)},style:ft}),se.createElement("div",{className:"".concat(lt,"-content")},bt||V),se.isValidElement(Pe)||pt,Zt&&se.createElement(I.a,{className:"".concat(Ce,"-option-state"),customizeIcon:Pe,customizeIconProps:{isSelected:pt}},pt?"\u2713":null))}))},D=se.forwardRef(R);D.displayName="OptionList";var H=D,Q=function(){return null};Q.isSelectOption=!0;var ge=Q,ye=function(){return null};ye.isSelectOptGroup=!0;var Y=ye,he=u("VTBJ"),Re=u("Zm9Q");function re(d){var k=d.key,$=d.props,q=$.children,Se=$.value,Be=Object(M.a)($,["children","value"]);return Object(he.a)({key:k,value:Se!==void 0?Se:k,children:q},Be)}function te(d){var k=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;return Object(Re.a)(d).map(function($,q){if(!se.isValidElement($)||!$.type)return null;var Se=$.type.isSelectOptGroup,Be=$.key,ve=$.props,Ie=ve.children,oe=Object(M.a)(ve,["children"]);return k||!Se?re($):Object(he.a)(Object(he.a)({key:"__RC_SELECT_GRP__".concat(Be===null?q:Be,"__"),label:Be},oe),{},{options:te(Ie)})}).filter(function($){return $})}var Z=u("2Qr1"),P=u("qNPg"),m=u("U8pU"),_=u("Kwbf"),O=u("WKfj");function b(d){var k=d.mode,$=d.options,q=d.children,Se=d.backfill,Be=d.allowClear,ve=d.placeholder,Ie=d.getInputElement,oe=d.showSearch,be=d.onSearch,U=d.defaultOpen,G=d.autoFocus,Te=d.labelInValue,Fe=d.value,ze=d.inputValue,Pe=d.optionLabelProp,je=k==="multiple"||k==="tags",le=oe!==void 0?oe:je||k==="combobox",xe=$||te(q);if(Object(_.a)(k!=="tags"||xe.every(function(Ce){return!Ce.disabled}),"Please avoid setting option to disabled in tags mode since user can always type text as tag."),k==="tags"||k==="combobox"){var De=xe.some(function(Ce){return Ce.options?Ce.options.some(function(ke){return typeof("value"in ke?ke.value:ke.key)=="number"}):typeof("value"in Ce?Ce.value:Ce.key)=="number"});Object(_.a)(!De,"`value` of Option should not use number type when `mode` is `tags` or `combobox`.")}if(Object(_.a)(k!=="combobox"||!Pe,"`combobox` mode not support `optionLabelProp`. Please set `value` on Option directly."),Object(_.a)(k==="combobox"||!Se,"`backfill` only works with `combobox` mode."),Object(_.a)(k==="combobox"||!Ie,"`getInputElement` only work with `combobox` mode."),Object(_.b)(k!=="combobox"||!Ie||!Be||!ve,"Customize `getInputElement` should customize clear and placeholder logic instead of configuring `allowClear` and `placeholder`."),be&&!le&&k!=="combobox"&&k!=="tags"&&Object(_.a)(!1,"`onSearch` should work with `showSearch` instead of use alone."),Object(_.b)(!U||G,"`defaultOpen` makes Select open without focus which means it will not close by click outside. You can set `autoFocus` if needed."),Fe!=null){var We=Object(O.d)(Fe);Object(_.a)(!Te||We.every(function(Ce){return Object(m.a)(Ce)==="object"&&("key"in Ce||"value"in Ce)}),"`value` should in shape of `{ value: string | number, label?: ReactNode }` when you set `labelInValue` to `true`"),Object(_.a)(!je||Array.isArray(Fe),"`value` should be array when `mode` is `multiple` or `tags`")}if(q){var Qe=null;Object(Re.a)(q).some(function(Ce){if(!se.isValidElement(Ce)||!Ce.type)return!1;var ke=Ce.type;if(ke.isSelectOption)return!1;if(ke.isSelectOptGroup){var qe=Object(Re.a)(Ce.props.children).every(function(Ve){return!se.isValidElement(Ve)||!Ce.type||Ve.type.isSelectOption?!0:(Qe=Ve.type,!1)});return!qe}return Qe=ke,!0}),Qe&&Object(_.a)(!1,"`children` should be `Select.Option` or `Select.OptGroup` instead of `".concat(Qe.displayName||Qe.name||Qe,"`.")),Object(_.a)(ze===void 0,"`inputValue` is deprecated, please use `searchValue` instead.")}}var j=b,X=Object(P.a)({prefixCls:"rc-select",components:{optionList:H},convertChildrenToData:te,flattenOptions:Z.d,getLabeledValue:Z.e,filterOptions:Z.b,isValueDisabled:Z.g,findValueOption:Z.c,warningProps:j,fillOptionsWithMissingValue:Z.a}),W=function(d){Object(J.a)($,d);var k=Object(ce.a)($);function $(){var q;return Object(T.a)(this,$),q=k.apply(this,arguments),q.selectRef=se.createRef(),q.focus=function(){q.selectRef.current.focus()},q.blur=function(){q.selectRef.current.blur()},q}return Object(Ae.a)($,[{key:"render",value:function(){return se.createElement(X,Object.assign({ref:this.selectRef},this.props))}}]),$}(se.Component);W.Option=ge,W.OptGroup=Y;var pe=W,g=ne.c=pe},M8RZ:function(me,ne,u){"use strict";u.d(ne,"a",function(){return E});var T=u("fWQN"),Ae=u("mtLc"),J=u("yKVA"),ce=u("879j"),se=u("cDcd"),ee=u.n(se),M=u("faye"),S=u.n(M),E=function(ie){Object(J.a)(z,ie);var N=Object(ce.a)(z);function z(ae){var K;Object(T.a)(this,z),K=N.call(this,ae);var I=window.document;return K.node=I.createElement("div"),I.body.appendChild(K.node),K}return Object(Ae.a)(z,[{key:"render",value:function(){var K=this.props.children;return Object(M.createPortal)(K,this.node)}},{key:"componentWillUnmount",value:function(){window.document.body.removeChild(this.node)}}]),z}(ee.a.Component)},Nmxd:function(me,ne){me.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAYAAABXAvmHAAAF4ElEQVRoQ91aW2wUVRj+/rPbSivURIgKjZcHjUYTgZ0lthgv3V0LSqB9IAQeNNEIaKKwZbcFnuQJoZ1piyYawJjIiwZDwiVBaHd28QItaWeLD4KJPgimiA+YCAZj6Z7fzPZiu7e57WriJE0f5v++//tm/j3nn3MOoQyXcmJ/LdfeCBOjEUA9EdUzUA9g0ST9VQJGmXkU5n/CAN2q043Vm295TU9uCRS9MwCiFWBqAmD++R1yjQNIgTgF5tNGuCPtEJ8Nd2xgWarzPil9UbBsA1G1m6R5GOYxkOgRItM71NRxzQmnIwMBvStKoCiAB50kcRB7mcG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bTHY+zSy+ccldAkbtRjimThroCYAzA46bqUl6JmxOh+IH8mbq1K65NXLuIIAnymqAMQbyNRrhtvT0qkQgqe4lRof7RHKdEe6Y9XEe0NVDBLzsnrMwcmbp/rOs8lXPQtzODHhY+/9LEq0aCcV0M22wX21jge5yiwdwGVW+RuPZnGUVM9FkP+NlYesaIFcJ8s+TLM9UQDwY1JYOx6Y3QPLXRpNqPzEiHpJfBOAD8KgHjoJQs3VIh+Kzlj3zDCzp63zEJ8QgCHeXW4AnPsZvGSkbLjR3/DCT5/+3vD7lTkl0bQHRPk9PrVxg5q1GpL3gZkvpLaZU93qW8r/dYhJiw3DTNudbTFMPb1lf5xIpxHEQ7i/XA7XFw/hZSLlmqLn094flLqWZzNzcZikO/JvbrCTkJjub3rYMZJ8YgwJJbSuBK7zRTb3pUGwfCGznTdk3MMm2tG/vIvL7tpJE1G3vlCeMMcYCvTye2TfSvP2qHeFTMY4NTI9Sek8AJFewlCGi7IEPc/JycmWYOUVCJMHitNmYOQF7NjAzmTK8v5Z/N4/biEYI1BN46riNeeTGvEazx21Ao5DmcRs5QHfV6UbQ+3GbvwHH7EQQahyMxwAAAABJRU5ErkJggg=="},OLES:function(me,ne,u){"use strict";var T=u("U8pU"),Ae=u("VTBJ"),J=u("Ff2n"),ce=u("cDcd"),se=u("uciX"),ee=u("7ixt"),M=function(ae){var K=ae.overlay,I=ae.prefixCls,R=ae.id,D=ae.overlayInnerStyle;return ce.createElement("div",{className:"".concat(I,"-inner"),id:R,role:"tooltip",style:D},typeof K=="function"?K():K)},S=M,E=function(ae,K){var I=ae.overlayClassName,R=ae.trigger,D=R===void 0?["hover"]:R,H=ae.mouseEnterDelay,Q=H===void 0?0:H,ge=ae.mouseLeaveDelay,ye=ge===void 0?.1:ge,Y=ae.overlayStyle,he=ae.prefixCls,Re=he===void 0?"rc-tooltip":he,re=ae.children,te=ae.onVisibleChange,Z=ae.afterVisibleChange,P=ae.transitionName,m=ae.animation,_=ae.placement,O=_===void 0?"right":_,b=ae.align,j=b===void 0?{}:b,X=ae.destroyTooltipOnHide,W=X===void 0?!1:X,pe=ae.defaultVisible,g=ae.getTooltipContainer,d=ae.overlayInnerStyle,k=Object(J.a)(ae,["overlayClassName","trigger","mouseEnterDelay","mouseLeaveDelay","overlayStyle","prefixCls","children","onVisibleChange","afterVisibleChange","transitionName","animation","placement","align","destroyTooltipOnHide","defaultVisible","getTooltipContainer","overlayInnerStyle"]),$=Object(ce.useRef)(null);Object(ce.useImperativeHandle)(K,function(){return $.current});var q=Object(Ae.a)({},k);"visible"in ae&&(q.popupVisible=ae.visible);var Se=function(){var be=ae.arrowContent,U=be===void 0?null:be,G=ae.overlay,Te=ae.id;return[ce.createElement("div",{className:"".concat(Re,"-arrow"),key:"arrow"},U),ce.createElement(S,{key:"content",prefixCls:Re,id:Te,overlay:G,overlayInnerStyle:d})]},Be=!1,ve=!1;if(typeof W=="boolean")Be=W;else if(W&&Object(T.a)(W)==="object"){var Ie=W.keepParent;Be=Ie===!0,ve=Ie===!1}return ce.createElement(se.a,Object.assign({popupClassName:I,prefixCls:Re,popup:Se,action:D,builtinPlacements:ee.a,popupPlacement:O,ref:$,popupAlign:j,getPopupContainer:g,onPopupVisibleChange:te,afterPopupVisibleChange:Z,popupTransitionName:P,popupAnimation:m,defaultPopupVisible:pe,destroyPopupOnHide:Be,autoDestroy:ve,mouseLeaveDelay:ye,popupStyle:Y,mouseEnterDelay:Q},q),re)},ie=Object(ce.forwardRef)(E),N=ne.a=ie},Ohmc:function(me,ne,u){me.exports=u.p+"static/certificate.fc32dc1b.jpg"},Ot1p:function(me,ne,u){"use strict";var T=u("2qtc"),Ae=u("kLXV"),J=u("rAM+"),ce=u("miYZ"),se=u("tsqr"),ee=u("tJVT"),M=u("jrin"),S=u("cDcd"),E=u.n(S),ie=u("VrN/"),N=u.n(ie),z=u("bdgK"),ae=u("p77/"),K=u("Bd2K"),I=u("ELLl"),R=u("19Vz"),D=u("lZu9"),H=u("+NIl"),Q=u("kSUc"),ge=u("9Bee"),ye=function(A){var x=A.value,w=x===void 0?"":x,f=A.className,h=A.showTextOnly,p=A.showLines,v=A.style,B=v===void 0?{}:v,V=Object(S.useMemo)(function(){return""},[w]);return E.a.createElement(E.a.Fragment,null,E.a.createElement("div",{dangerouslySetInnerHTML:{__html:V}}))},Y=u("0Owb"),he=u("dejd"),Re=u("C+DQ"),re=[{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 te(A){var x=A.onActionCallback,w=A.title,f=A.icon,h=A.actionName,p=A.className,v=p===void 0?"":p,B=A.children;function V(){x(h)}return E.a.createElement("a",{title:w,className:v,onClick:V},E.a.createElement("i",{className:"md-iconfont ".concat(f)}),B)}var Z=function(A){var x=A.watch,w=A.showNullButton,f=A.onActionCallback,h=A.fullScreen,p=A.insertTemp,v=A.hidetoolBar,B=[].concat(re,[{title:"".concat(x?"\u5173\u95ED\u5B9E\u65F6\u9884\u89C8":"\u5F00\u542F\u5B9E\u65F6\u9884\u89C8"),icon:"".concat(x?"icon-eye-slash":"icon-eye"),actionName:"trigger-watch"}]);return E.a.createElement("ul",{className:"markdown-toolbar-container"},!v&&B.map(function(V,we){return E.a.createElement("li",{key:we},V.actionName?E.a.createElement(te,Object(Y.a)({},V,{onActionCallback:f})):E.a.createElement("span",{className:"v-line"}))}),w?E.a.createElement("li",null,E.a.createElement(te,{icon:"icon-edit",className:"btn-null",title:"\u589E\u52A0\u586B\u7A7A",actionName:"add-null-ch",onActionCallback:f},E.a.createElement("span",{className:"fill-tip"},"\u70B9\u51FB\u63D2\u5165\b\u586B\u7A7A\u9879"))):null,p&&E.a.createElement("li",null,E.a.createElement(te,{icon:"icon-edit",className:"btn-null",title:"\u63D2\u5165\u6A21\u677F",actionName:"inster-template-".concat(p),onActionCallback:f},E.a.createElement("span",{className:"fill-tip"},"\u63D2\u5165\u6A21\u677F"))),E.a.createElement("li",{className:"btn-full-screen"},E.a.createElement(te,{icon:"".concat(h?"icon-shrink":"icon-enlarge"),title:h?"\u5173\u95ED\u5168\u5C4F":"\u5F00\u542F\u5168\u5C4F",actionName:"trigger-full-screen",onActionCallback:f})))},P=u("M8RZ"),m=u("+L6B"),_=u("2/Rp"),O=u("y8nQ"),b=u("Vl3Y"),j=u("5NDa"),X=u("5rEg"),W={labelCol:{span:4},wrapperCol:{span:20}},pe=function(A){var x=A.callback,w=A.onCancel;function f(h){x(h)}return E.a.createElement(b.a,Object(Y.a)({},W,{initialValues:{link:"http://",title:""},className:"link-panel",onFinish:f}),E.a.createElement(b.a.Item,{label:"\u94FE\u63A5\u5730\u5740",name:"link",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u94FE\u63A5\u5730\u5740"}]},E.a.createElement(X.a,null)),E.a.createElement(b.a.Item,{label:"\u94FE\u63A5\u6807\u9898",name:"title",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u94FE\u63A5\u6807\u9898"}]},E.a.createElement(X.a,null)),E.a.createElement("div",{className:"flex-container flex-end"},E.a.createElement(_.a,{type:"primary",htmlType:"submit",style:{marginRight:10}},"\u786E\u5B9A"),E.a.createElement(_.a,{type:"ghost",onClick:w},"\u53D6\u6D88")))},g=u("7ahc"),d=u("HmJG"),k=u("BjJ7"),$=b.a.useForm,q={width:280,marginRight:10},Se={labelCol:{span:5},wrapperCol:{span:19}},Be=function(A){var x=A.callback,w=A.onCancel,f=$(),h=Object(ee.a)(f,1),p=h[0];function v(we){x(we)}function B(we,nt){p.setFieldsValue({src:"/api/attachments/".concat(we.id),type:nt.type})}function V(we){var nt=we.target.files[0];Ie(nt,B)}return E.a.createElement(b.a,Object(Y.a)({form:p},Se,{className:"upload-image-panel",onFinish:v}),E.a.createElement(b.a.Item,{label:"\u56FE\u7247\u5730\u5740",required:!0},E.a.createElement("div",{className:"flex-container"},E.a.createElement(b.a.Item,{noStyle:!0,name:"src",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u56FE\u7247\u5730\u5740"}]},E.a.createElement(X.a,{style:q})),E.a.createElement(ve,{onFileChange:V}))),E.a.createElement(b.a.Item,{label:"\u56FE\u7247\u63CF\u8FF0",name:"alt",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u56FE\u7247\u63CF\u8FF0"}]},E.a.createElement(X.a,{style:{width:264}})),E.a.createElement(b.a.Item,{style:{textAlign:"right"}},E.a.createElement(_.a,{type:"primary",htmlType:"submit",style:{marginRight:10}},"\u786E\u5B9A"),E.a.createElement(_.a,{type:"ghost",onClick:w},"\u53D6\u6D88")))};function ve(A){var x=A.onFileChange;return E.a.createElement("a",{className:"upload-button"},"\u672C\u5730\u4E0A\u4F20",E.a.createElement("input",{type:"file",onChange:x}))}function Ie(A,x){if(!A)throw new String("\u6CA1\u6709\u6587\u4EF6");var w=new FormData;w.append("editormd-image-file",A),w.append("file_param_name","editormd-image-file"),w.append("byxhr","true");var f=new window.XMLHttpRequest;f.withCredentials=!0,f.addEventListener("load",function(h){x(JSON.parse(h.target.responseText),A)},!1),f.addEventListener("error",function(h){console.error(h)},!1),f.open("POST","".concat(k.a,"/api/attachments.json")),f.send(w)}var oe=u("giR+"),be=u("fyUT"),U=u("7Kak"),G=u("9yH6"),Te=G.a.Group,Fe={margin:"0 8px"},ze=function(A){var x=A.callback,w=A.onCancel;function f(h){x(h)}return E.a.createElement(b.a,{className:"add-table-panel",initialValues:{row:3,col:2,align:"default"},onFinish:f},E.a.createElement("div",{className:"flex-container"},E.a.createElement("span",{style:Fe},"\u5355\u5143\u683C\u6570\uFF1A"),E.a.createElement("span",{style:Fe},"\u884C\u6570"),E.a.createElement(b.a.Item,{name:"row",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u884C\u6570"}]},E.a.createElement(be.a,null)),E.a.createElement("span",{style:Fe},"\u5217\u6570"),E.a.createElement(b.a.Item,{name:"col",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u5217\u6570"}]},E.a.createElement(be.a,null))),E.a.createElement("div",{className:"flex-container",style:{marginTop:12}},E.a.createElement("span",{style:Fe},"\u5BF9\u9F50\u65B9\u5F0F\uFF1A"),E.a.createElement(b.a.Item,{name:"align"},E.a.createElement(Te,null,E.a.createElement(G.a,{value:"default"},E.a.createElement("i",{className:"fa fa-align-justify"})),E.a.createElement(G.a,{value:"left"},E.a.createElement("i",{className:"fa fa-align-left"})),E.a.createElement(G.a,{value:"center"},E.a.createElement("i",{className:"fa fa-align-center"})),E.a.createElement(G.a,{value:"right"},E.a.createElement("i",{className:"fa fa-align-right"}))))),E.a.createElement("div",{className:"flex-container flex-end"},E.a.createElement(_.a,{type:"primary",htmlType:"submit",style:{marginRight:10}},"\u786E\u5B9A"),E.a.createElement(_.a,{type:"ghost",onClick:w},"\u53D6\u6D88")))},Pe=u("m3rI"),je="link",le="upload-image",xe="code-block",De="add-table",We="------------",Qe={default:We,left:":".concat(We),center:":".concat(We,":"),right:"".concat(We,":")},Ce=u("9VGf"),ke,qe;function Ve(){}var Ze=0,Ke=1e4,it="\u2581",$e=`
|
|
**\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 Ye(A){return/^\d+$/.test(A)?"".concat(A,"px"):A}var de=navigator.platform.toUpperCase().indexOf("MAC")>=0,rt=de?"Cmd":"Ctrl",Ge=(ke={},Object(M.a)(ke,rt+"-B","bold"),Object(M.a)(ke,rt+"-I","italic"),ke),fe=(qe={},Object(M.a)(qe,je,"\u6DFB\u52A0\u94FE\u63A5"),Object(M.a)(qe,xe,"\u6DFB\u52A0\u4EE3\u7801\u5757"),Object(M.a)(qe,le,"\u6DFB\u52A0\u56FE\u7247"),Object(M.a)(qe,De,"\u6DFB\u52A0\u8868\u683C"),qe),Le=ne.a=function(A){var x=A.defaultValue,w=x===void 0?"":x,f=A.onChange,h=A.width,p=h===void 0?"100%":h,v=A.height,B=v===void 0?400:v,V=A.miniToolbar,we=V===void 0?!1:V,nt=A.isFocus,ft=nt===void 0?!1:nt,ot=A.watch,Pt=A.insertTemp,pt=A.mode,lt=pt===void 0?"markdown":pt,Ft=A.id,bt=Ft===void 0?"markdown-editor-id":Ft,Zt=A.showResizeBar,Wt=Zt===void 0?!1:Zt,mt=A.noStorage,Cn=mt===void 0?!1:mt,Kn=A.showNullButton,un=Kn===void 0?!1:Kn,wn=A.hidetoolBar,pn=wn===void 0?!1:wn,bi=A.fullScreen,cn=bi===void 0?!1:bi,Gn=A.onBlur,dr=A.onCMBeforeChange,St=A.onFullScreen,Xe=A.className,Sn=Xe===void 0?"":Xe,fr=A.disablePaste,dn=fr===void 0?!1:fr,gt=A.placeholder,kn=gt===void 0?"":gt,In=A.values,Zn=In===void 0?"":In,Me=Object(S.useState)(null),ut=Object(ee.a)(Me,2),Ne=ut[0],_r=ut[1],hr=Object(S.useState)(w),Yn=Object(ee.a)(hr,2),Vn=Yn[0],st=Yn[1],Xi=Object(S.useState)(ot),Ur=Object(ee.a)(Xi,2),fn=Ur[0],on=Ur[1],yi=Object(S.useState)(cn),jr=Object(ee.a)(yi,2),nn=jr[0],pr=jr[1],Ei=Object(S.useState)(""),mr=Object(ee.a)(Ei,2),Mn=mr[0],Dn=mr[1],Ai=Object(S.useState)(0),Fr=Object(ee.a)(Ai,2),Xn=Fr[0],Wr=Fr[1],xi=Object(S.useState)(B),hn=Object(ee.a)(xi,2),Ci=hn[0],wi=hn[1],gr=Object(S.useState)(!1),Ln=Object(ee.a)(gr,2),_a=Ln[0],zr=Ln[1],qn=Object(S.useRef)(),Qr=Object(S.useRef)(),Pn=Object(S.useRef)(),$n=Object(S.useRef)();Object(S.useEffect)(function(){st(Zn),Ne==null||Ne.setValue(Zn)},[Zn]),Object(S.useEffect)(function(){St==null||St(nn)},[nn]),Object(S.useEffect)(function(){if(qn.current){var et=N.a.fromTextArea(qn.current,{mode:lt,lineNumbers:!we,lineWrapping:!0,value:w,autoCloseTags:!0,autoCloseBrackets:!0});ft&&et.focus();function ct(dt,Et){if(dn){Et.preventDefault();return}var At=Et.clipboardData;if(At){var Ct=At.types.toString(),Tt=At.items,kt=["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"];if(Ct==="Files"||At.types.indexOf("Files")>-1){if(Et.preventDefault(),lt=="stex")return;try{var Ht,mn=Tt[1];((Ht=Tt[0])===null||Ht===void 0?void 0:Ht.kind)==="file"&&(mn=Tt[0]);var wt=mn.getAsFile(),Nn=wt.name.split(".").pop();Ie(wt,function(Jt){if(Jt.id){var Bn,_n,br;(wt==null||((Bn=wt.type)===null||Bn===void 0)?void 0:Bn.indexOf("image"))>-1?et.replaceSelection(".concat(Jt.content_type,")")):(wt==null||((_n=wt.type)===null||_n===void 0)?void 0:_n.indexOf("video"))>-1?et.replaceSelection('<video width="100%" controls src="'.concat(Pe.a.API_SERVER,"/api/attachments/").concat(Jt.id,'"></video>')):(wt==null||((br=wt.type)===null||br===void 0)?void 0:br.indexOf("pdf"))>-1?et.replaceSelection('<a href="'.concat(Pe.a.API_SERVER,"/api/attachments/").concat(Jt.id,"?type=").concat(wt.type,'&disposition=inline" target="_blank">').concat(wt.name,"</a>")):kt.includes(Nn)?et.replaceSelection('<a href="'.concat(Pe.a.API_SERVER,"/api/attachments/").concat(Jt.id,'?type=office&disposition=inline" target="_blank">').concat(wt.name,"</a>")):et.replaceSelection("[".concat(wt.name,"](").concat(Pe.a.API_SERVER,"/api/attachments/").concat(Jt.id,"?type=").concat(Jt.content_type,")"))}else(Jt==null?void 0:Jt.status)===401&&(document.location.href="/user/login")})}catch(Jt){se.b.warn("\u8BF7\u4F7F\u7528chrome\u6D4F\u89C8\u5668\u7C98\u8D34")}return!0}else return!0}return!0}return et.on("paste",ct),_r(et),function(){et.off("paste",ct)}}},[]);var Si=Object(S.useCallback)(function(){if(Qr.current)try{}catch(et){console.log(et,"---- to set md editor body height")}},[Ci,Qr,nn]);Object(S.useEffect)(function(){function et(){var dt=new z.default(function(Et){var At=Object(J.a)(Et),Ct;try{for(At.s();!(Ct=At.n()).done;){var Tt=Ct.value;(Tt.target.offsetHeight>0||Tt.target.offsetWidth>0)&&(Si(),Ne.setSize("100%","100%"),Ne.refresh())}}catch(kt){At.e(kt)}finally{At.f()}});return dt.observe(qn.current.parentElement),dt}if(Ne){var ct=et();return function(){ct.unobserve(qn.current.parentElement)}}},[Ne,Si]),Object(S.useEffect)(function(){if(Ne){for(var et=[],ct=function(){var Tt=Et[dt];At=Object(ee.a)(Tt,2);var kt=At[0],Ht=At[1],mn=Object(M.a)({},kt,function(){Hr(Ht)});et.push(mn),Ne.addKeyMap(mn)},dt=0,Et=Object.entries(Ge);dt<Et.length;dt++){var At;ct()}return function(){var Ct=Object(J.a)(et),Tt;try{for(Ct.s();!(Tt=Ct.n()).done;){var kt=Tt.value;Ne.removeKeyMap(kt)}}catch(Ht){Ct.e(Ht)}finally{Ct.f()}}}},[Ne]),Object(S.useEffect)(function(){cn!==nn&&pr(cn)},[cn]),Object(Ce.a)(function(){if(!Cn&&Xn>0){var et=new Date().getTime(),ct=window.sessionStorage.getItem(bt);et>=Xn+Ke&&(!ct||ct!==Vn)&&(window.sessionStorage.setItem(bt,Vn),zr(!0))}},Ke),Object(S.useEffect)(function(){on(ot)},[Ne,ot]),Object(S.useEffect)(function(){Ne&&(ft&&Ne.focus())},[Ne,ft]),Object(S.useEffect)(function(){if(fn&&Ne){var et=Ne.getScrollerElement();function ct(dt){var Et=dt.target;if($n.current){var At=Et.scrollTop/Et.scrollHeight;$n.current.scrollTop=$n.current.scrollHeight*At}}return et.addEventListener("scroll",ct),function(){et.removeEventListener("scroll",ct)}}},[Ne,fn]),Object(S.useEffect)(function(){if(Ne&&dr){function et(ct,dt){dr(ct,dt)}return Ne.on("beforeChange",et),function(){Ne.off("beforeChange",et)}}},[Ne,dr]),Object(S.useEffect)(function(){if(Ne&&Gn){function et(){Gn(Ne.getValue())}return Ne.on("blur",et),function(){Ne.off("blur",et)}}},[Ne,Gn]),Object(S.useEffect)(function(){if(Ne){function et(ct){var dt=ct.getValue();st(dt),Wr(new Date().getTime()),ct.getScrollerElement().dispatchEvent(new CustomEvent("scroll")),f&&f(dt)}return Ne.on("change",et),function(){Ne.off("change",et)}}},[Ne,f]),Object(S.useEffect)(function(){Ne&&(w==null?(Ne.setValue(""),st("")):w!==Ne.getValue()&&(Ne.setValue(w),st(w),Ne.setCursor(Ne.lineCount(),0)))},[Ne,w]);var Hr=Object(S.useCallback)(function(et){var ct=Ne.getCursor(),dt=Ne.getSelection(),Et=dt.split(`
|
|
`);switch(et){case"bold":return Ne.replaceSelection("**"+dt+"**"),dt===""&&Ne.setCursor(ct.line,ct.ch+2),Ne.focus();case"italic":return Ne.replaceSelection("*"+dt+"*"),dt===""&&Ne.setCursor(ct.line,ct.ch+1),Ne.focus();case"code":return Ne.replaceSelection("`"+dt+"`"),dt===""&&Ne.setCursor(ct.line,ct.ch+1),Ne.focus();case"inline-latex":return Ne.replaceSelection("`$$"+dt+"$$`"),dt===""&&Ne.setCursor(ct.line,ct.ch+3),Ne.focus();case"latex":return Ne.replaceSelection("```latex\n"+dt+"\n```"),Ne.setCursor(ct.line+1,dt.length+1),Ne.focus();case"line-break":return Ne.replaceSelection(`<br/>
|
|
`),Ne.focus();case"list-ul":return dt===""?Ne.replaceSelection("- "+dt):Ne.replaceSelection(Et.map(function(At){return At===""?"":"- ".concat(At)}).join(`
|
|
`)),Ne.focus();case"list-ol":return dt===""?Ne.replaceSelection("1. "+dt):Ne.replaceSelection(Et.map(function(At,Ct){return At===""?"":"".concat(Ct+1,". ").concat(At)}).join(`
|
|
`)),Ne.focus();case"add-null-ch":return dt===""&&Ne.setCursor(ct.line,ct.ch+1),Ne.replaceSelection(it),Ne.focus();case"inster-template-1":return dt===""&&Ne.setCursor(ct.line,ct.ch),Ne.replaceSelection($e),Ne.focus();case"eraser":return Ne.setValue(""),Ne.focus();case"trigger-watch":return on(!fn),Ne.focus();case"trigger-full-screen":return pr(!nn),Ne.focus();case je:Dn(je);return;case xe:Dn(xe);return;case le:Dn(le);return;case De:Dn(De);return;default:throw new Error}},[Ne,fn,nn]),er=Object(S.useCallback)(function(et){Dn("");switch(Mn){case je:var ct=et.title,dt=et.link;return Ne.replaceSelection("[".concat(ct,"](").concat(dt,")")),Ne.focus();case xe:var Et=et.language,At=et.content;return Ne.replaceSelection(["```"+Et,At,"```"].join(`
|
|
`)),Ne.focus();case le:var Ct=et.src,Tt=et.alt;return Ne.replaceSelection(".concat(Ct,' "').concat(Tt,'" )')),Ne.focus();case De:for(var kt=et.row,Ht=et.col,mn=et.align,wt=`
|
|
`,Nn=0;Nn<kt;Nn++){for(var Jt=[],Bn=[],_n=0;_n<Ht;_n++)Nn===1&&Bn.push(Qe[mn]),Jt.push(" ");Nn===1&&(wt+="| ".concat(Bn.join(" | "),` |
|
|
`)),wt+="| ".concat(Jt.join(Ht===1?"":" | "),` |
|
|
`)}return Ne.replaceSelection(wt+`
|
|
`),Ne.focus();default:throw new Error}},[Ne,Mn]),vr=Object(S.useMemo)(function(){switch(Mn){case je:return E.a.createElement(pe,{callback:er,onCancel:yn});case xe:return E.a.createElement(g.b,{callback:er,onCancel:yn});case le:return E.a.createElement(Be,{callback:er,onCancel:yn});case De:return E.a.createElement(ze,{callback:er,onCancel:yn});default:return null}},[Mn]);function yn(){Dn("")}Object(S.useEffect)(function(){if(Pn.current){var et=Pn.current,ct=!1,dt=0;function Et(Tt){ct=!0,dt=Tt.pageY}function At(){ct=!1}function Ct(Tt){if(ct){var kt=Tt.pageY-dt;kt<0&&(kt=0),kt>300&&(kt=300);var Ht=B+kt+"px";wi(Ht)}}return et.addEventListener("mousedown",Et),document.addEventListener("mousemove",Ct),document.addEventListener("mouseup",At),function(){et.removeEventListener("mousedown",Et),document.removeEventListener("mousemove",Ct),document.removeEventListener("mouseup",At)}}},[Ne,Pn]),Object(S.useEffect)(function(){wi(B)},[B]);var Jr=Ye(p),ki=Ye(Ci),Mi={width:Jr,height:ki},Kr=Object(S.useMemo)(function(){if(Xn){var et=new Date(Xn),ct=et.getHours(),dt=et.getMinutes(),Et=et.getSeconds();return ct=ct<10?"0"+ct:ct,dt=dt<10?"0"+dt:dt,Et=Et<10?"0"+Et:Et,"".concat(ct,":").concat(dt,":").concat(Et)}return 0},[Xn]);function Ua(){window.sessionStorage.removeItem(bt),zr(!1),Wr(0)}function qi(){zr(!1),Wr(0),Ne.setValue(window.sessionStorage.getItem(bt))}return E.a.createElement(S.Fragment,null,E.a.createElement("div",{className:"markdown-editor-wrapper",ref:Qr},E.a.createElement("div",{className:"markdown-editor-container ".concat(Sn," ").concat(fn?"on-preview":""," ").concat(we?"mini":""," ").concat(nn?"full-screen":""),style:Mi},E.a.createElement(Z,{insertTemp:Pt,watch:fn,fullScreen:nn,showNullButton:un,onActionCallback:Hr,hidetoolBar:pn}),E.a.createElement("div",{className:"markdown-editor-body"},E.a.createElement("div",{className:"codemirror-container"},E.a.createElement("textarea",{ref:qn,placeholder:kn})),fn?E.a.createElement("div",{ref:$n,className:"preview-container"},lt==="stex"&&E.a.createElement(ye,{value:Vn}),lt!=="stex"&&E.a.createElement(ge.a,{value:Vn})):null))),Wt?E.a.createElement("a",{ref:Pn,className:"editor-resize"}):null,E.a.createElement(P.a,null,fe[Mn]?E.a.createElement(Ae.a,{centered:!0,title:fe[Mn],visible:!0,onCancel:yn,footer:null},vr):null))}},RMFE:function(me,ne){me.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAWgAAAFyCAYAAADYqEAoAAAAAXNSR0IArs4c6QAADetJREFUeAHt1jFqXUEQRUHLaP9b/jZObmYU9MAJSlGDxNBUPw76+vz9+eWHAAECBHICv3MbWYgAAQIE/gkItA+BAAECUQGBjh7GWgQIEBBo3wABAgSiAgIdPYy1CBAgINC+AQIECEQFBDp6GGsRIEBAoH0DBAgQiAoIdPQw1iJAgIBA+wYIECAQFRDo6GGsRYAAAYH2DRAgQCAqINDRw1iLAAECAu0bIECAQFRAoKOHsRYBAgQE2jdAgACBqIBARw9jLQIECAi0b4AAAQJRAYGOHsZaBAgQEGjfAAECBKICAh09jLUIECAg0L4BAgQIRAUEOnoYaxEgQECgfQMECBCICgh09DDWIkCAgED7BggQIBAVEOjoYaxFgAABgfYNECBAICog0NHDWIsAAQIC7RsgQIBAVECgo4exFgECBATaN0CAAIGogEBHD2MtAgQICLRvgAABAlEBgY4exloECBAQaN8AAQIEogICHT2MtQgQICDQvgECBAhEBQQ6ehhrESBAQKB9AwQIEIgKCHT0MNYiQICAQPsGCBAgEBUQ6OhhrEWAAAGB9g0QIEAgKiDQ0cNYiwABAgLtGyBAgEBUQKCjh7EWAQIEBNo3QIAAgaiAQEcPYy0CBAh8/5Tg6+vrp3/q7wgQIEDgPwKfz+c/v92v/Ac9CxMBAgRSAgKdOodlCBAgMAGBnoWJAAECKQGBTp3DMgQIEJiAQM/CRIAAgZSAQKfOYRkCBA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CQj0LEwECBBICXz/dJvP5/PTP/V3BAgQIHAg4D/oA0RPECBA4IWAQL9Q9SYBAgQOBAT6ANETBAgQeCEg0C9UvUmAAIEDAYE+QPQEAQIEXggI9AtVbxIgQOBAQKAPED1BgACBFwIC/ULVmwQIEDgQEOgDRE8QIEDghYBAv1D1JgECBA4EBPoA0RMECBB4ISDQL1S9SYAAgQMBgT5A9AQBAgReCAj0C1VvEiBA4EBAoA8QPUGAAIEXAgL9QtWbBAgQOBAQ6ANETxAgQOCFgEC/UPUmAQIEDgQE+gDREwQIEHghINAvVL1JgACBAwGBPkD0BAECBF4ICPQLVW8SIEDgQECgDxA9QYAAgRcCAv1C1ZsECBA4EBDoA0RPECBA4IWAQL9Q9SYBAgQOBAT6ANETBAgQeCEg0C9UvUmAAIEDAYE+QPQEAQIEXggI9AtVbxIgQOBAQKAPED1BgACBFwIC/ULVmwQIEDgQEOgDRE8QIEDghYBAv1D1JgECBA4EBPoA0RMECBB4ISDQL1S9SYAAgQMBgT5A9AQBAgReCAj0C1VvEiBA4EBAoA8QPUGAAIEXAgL9QtWbBAgQOBAQ6ANETxAgQOCFgEC/UPUmAQIEDgQE+gDREwQIEHghINAvVL1JgACBAwGBPkD0BAECBF4ICPQLVW8SIEDgQECgDxA9QYAAgRcCAv1C1ZsECBA4EBDoA0RPECBA4IXAH7PYDOHnuk1pAAAAAElFTkSuQmCC"},SJMd:function(me,ne){/**
|
|
* @license
|
|
* Copyright (C) 2006 Google Inc.
|
|
*
|
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
* you may not use this file except in compliance with the License.
|
|
* You may obtain a copy of the License at
|
|
*
|
|
* http://www.apache.org/licenses/LICENSE-2.0
|
|
*
|
|
* Unless required by applicable law or agreed to in writing, software
|
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
* See the License for the specific language governing permissions and
|
|
* limitations under the License.
|
|
*/var u,T,Ae,J=!1,ce,se;window.PR_SHOULD_USE_CONTINUATION=!0;var ee,M;(function(){var S=window,E=["break,continue,do,else,for,if,return,while"],ie=[E,"auto,case,char,const,default,double,enum,extern,float,goto,inline,int,long,register,restrict,short,signed,sizeof,static,struct,switch,typedef,union,unsigned,void,volatile"],N=[ie,"catch,class,delete,false,import,new,operator,private,protected,public,this,throw,true,try,typeof"],z=[N,"alignas,alignof,align_union,asm,axiom,bool,concept,concept_map,const_cast,constexpr,decltype,delegate,dynamic_cast,explicit,export,friend,generic,late_check,mutable,namespace,noexcept,noreturn,nullptr,property,reinterpret_cast,static_assert,static_cast,template,typeid,typename,using,virtual,where"],ae=[N,"abstract,assert,boolean,byte,extends,finally,final,implements,import,instanceof,interface,null,native,package,strictfp,super,synchronized,throws,transient"],K=[N,"abstract,add,alias,as,ascending,async,await,base,bool,by,byte,checked,decimal,delegate,descending,dynamic,event,finally,fixed,foreach,from,get,global,group,implicit,in,interface,internal,into,is,join,let,lock,null,object,out,override,orderby,params,partial,readonly,ref,remove,sbyte,sealed,select,set,stackalloc,string,select,uint,ulong,unchecked,unsafe,ushort,value,var,virtual,where,yield"],I="all,and,by,catch,class,else,extends,false,finally,for,if,in,is,isnt,loop,new,no,not,null,of,off,on,or,return,super,then,throw,true,try,unless,until,when,while,yes",R=[N,"abstract,async,await,constructor,debugger,enum,eval,export,function,get,implements,instanceof,interface,let,null,set,undefined,var,with,yield,Infinity,NaN"],D="caller,delete,die,do,dump,elsif,eval,exit,foreach,for,goto,if,import,last,local,my,next,no,our,print,package,redo,require,sub,undef,unless,until,use,wantarray,while,BEGIN,END",H=[E,"and,as,assert,class,def,del,elif,except,exec,finally,from,global,import,in,is,lambda,nonlocal,not,or,pass,print,raise,try,with,yield,False,True,None"],Q=[E,"alias,and,begin,case,class,def,defined,elsif,end,ensure,false,in,module,next,nil,not,or,redo,rescue,retry,self,super,then,true,undef,unless,until,when,yield,BEGIN,END"],ge=[E,"case,done,elif,esac,eval,fi,function,in,local,set,then,until"],ye=[z,K,ae,R,D,H,Q,ge],Y=/^(DIR|FILE|array|vector|(de|priority_)?queue|(forward_)?list|stack|(const_)?(reverse_)?iterator|(unordered_)?(multi)?(set|map)|bitset|u?(int|float)\d*)\b/,he="str",Re="kwd",re="com",te="typ",Z="lit",P="pun",m="pln",_="tag",O="dec",b="src",j="atn",X="atv",W="nocode",pe="(?:^^\\.?|[+-]|[!=]=?=?|\\#|%=?|&&?=?|\\(|\\*=?|[+\\-]=|->|\\/=?|::?|<<?=?|>>?>?=?|,|;|\\?|@|\\[|~|{|\\^\\^?=?|\\|\\|?=?|break|case|continue|delete|do|else|finally|instanceof|return|throw|try|typeof)\\s*";function g(le){for(var xe=0,De=!1,We=!1,Qe=0,Ce=le.length;Qe<Ce;++Qe){var ke=le[Qe];if(ke.ignoreCase)We=!0;else if(/[a-z]/i.test(ke.source.replace(/\\u[0-9a-f]{4}|\\x[0-9a-f]{2}|\\[^ux]/gi,""))){De=!0,We=!1;break}}var qe={b:8,t:9,n:10,v:11,f:12,r:13};function Ve(Ye){var de=Ye.charCodeAt(0);if(de!==92)return de;var rt=Ye.charAt(1);return de=qe[rt],de||("0"<=rt&&rt<="7"?parseInt(Ye.substring(1),8):rt==="u"||rt==="x"?parseInt(Ye.substring(2),16):Ye.charCodeAt(1))}function Ze(Ye){if(Ye<32)return(Ye<16?"\\x0":"\\x")+Ye.toString(16);var de=String.fromCharCode(Ye);return de==="\\"||de==="-"||de==="]"||de==="^"?"\\"+de:de}function Ke(Ye){var de=Ye.substring(1,Ye.length-1).match(new RegExp("\\\\u[0-9A-Fa-f]{4}|\\\\x[0-9A-Fa-f]{2}|\\\\[0-3][0-7]{0,2}|\\\\[0-7]{1,2}|\\\\[\\s\\S]|-|[^-\\\\]","g")),rt=[],Ge=de[0]==="^",fe=["["];Ge&&fe.push("^");for(var Le=Ge?1:0,A=de.length;Le<A;++Le){var x=de[Le];if(/\\[bdsw]/i.test(x))fe.push(x);else{var w=Ve(x),f;Le+2<A&&de[Le+1]==="-"?(f=Ve(de[Le+2]),Le+=2):f=w,rt.push([w,f]),f<65||w>122||(f<65||w>90||rt.push([Math.max(65,w)|32,Math.min(f,90)|32]),f<97||w>122||rt.push([Math.max(97,w)&~32,Math.min(f,122)&~32]))}}rt.sort(function(B,V){return B[0]-V[0]||V[1]-B[1]});for(var h=[],p=[],Le=0;Le<rt.length;++Le){var v=rt[Le];v[0]<=p[1]+1?p[1]=Math.max(p[1],v[1]):h.push(p=v)}for(var Le=0;Le<h.length;++Le){var v=h[Le];fe.push(Ze(v[0])),v[1]>v[0]&&(v[1]+1>v[0]&&fe.push("-"),fe.push(Ze(v[1])))}return fe.push("]"),fe.join("")}function it(Ye){for(var de=Ye.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")),rt=de.length,Ge=[],fe=0,Le=0;fe<rt;++fe){var A=de[fe];if(A==="(")++Le;else if(A.charAt(0)==="\\"){var x=+A.substring(1);x&&(x<=Le?Ge[x]=-1:de[fe]=Ze(x))}}for(var fe=1;fe<Ge.length;++fe)Ge[fe]===-1&&(Ge[fe]=++xe);for(var fe=0,Le=0;fe<rt;++fe){var A=de[fe];if(A==="(")++Le,Ge[Le]||(de[fe]="(?:");else if(A.charAt(0)==="\\"){var x=+A.substring(1);x&&x<=Le&&(de[fe]="\\"+Ge[x])}}for(var fe=0;fe<rt;++fe)de[fe]==="^"&&de[fe+1]!=="^"&&(de[fe]="");if(Ye.ignoreCase&&De)for(var fe=0;fe<rt;++fe){var A=de[fe],w=A.charAt(0);A.length>=2&&w==="["?de[fe]=Ke(A):w!=="\\"&&(de[fe]=A.replace(/[a-zA-Z]/g,function(p){var v=p.charCodeAt(0);return"["+String.fromCharCode(v&~32,v|32)+"]"}))}return de.join("")}for(var $e=[],Qe=0,Ce=le.length;Qe<Ce;++Qe){var ke=le[Qe];if(ke.global||ke.multiline)throw new Error(""+ke);$e.push("(?:"+it(ke)+")")}return new RegExp($e.join("|"),We?"gi":"g")}function d(le,xe){var De=/(?:^|\s)nocode(?:\s|$)/,We=[],Qe=0,Ce=[],ke=0;function qe(Ve){var Ze=Ve.nodeType;if(Ze==1){if(De.test(Ve.className))return;for(var Ke=Ve.firstChild;Ke;Ke=Ke.nextSibling)qe(Ke);var it=Ve.nodeName.toLowerCase();(it==="br"||it==="li")&&(We[ke]=`
|
|
`,Ce[ke<<1]=Qe++,Ce[ke++<<1|1]=Ve)}else if(Ze==3||Ze==4){var $e=Ve.nodeValue;$e.length&&(xe?$e=$e.replace(/\r\n?/g,`
|
|
`):$e=$e.replace(/[ \t\r\n]+/g," "),We[ke]=$e,Ce[ke<<1]=Qe,Qe+=$e.length,Ce[ke++<<1|1]=Ve)}}return qe(le),{sourceCode:We.join("").replace(/\n$/,""),spans:Ce}}function k(le,xe,De,We,Qe){if(!De)return;var Ce={sourceNode:le,pre:1,langExtension:null,numberLines:null,sourceCode:De,spans:null,basePos:xe,decorations:null};We(Ce),Qe.push.apply(Qe,Ce.decorations)}var $=/\S/;function q(le){for(var xe=void 0,De=le.firstChild;De;De=De.nextSibling){var We=De.nodeType;xe=We===1?xe?le:De:We===3&&$.test(De.nodeValue)?le:xe}return xe===le?void 0:xe}function Se(le,xe){var De={},We;(function(){for(var ke=le.concat(xe),qe=[],Ve={},Ze=0,Ke=ke.length;Ze<Ke;++Ze){var it=ke[Ze],$e=it[3];if($e)for(var Ye=$e.length;--Ye>=0;)De[$e.charAt(Ye)]=it;var de=it[1],rt=""+de;Ve.hasOwnProperty(rt)||(qe.push(de),Ve[rt]=null)}qe.push(/[\0-\uffff]/),We=g(qe)})();var Qe=xe.length,Ce=function(ke){for(var qe=ke.sourceCode,Ve=ke.basePos,Ze=ke.sourceNode,Ke=[Ve,m],it=0,$e=qe.match(We)||[],Ye={},de=0,rt=$e.length;de<rt;++de){var Ge=$e[de],fe=Ye[Ge],Le=void 0,A;if(typeof fe=="string")A=!1;else{var x=De[Ge.charAt(0)];if(x)Le=Ge.match(x[1]),fe=x[0];else{for(var w=0;w<Qe;++w)if(x=xe[w],Le=Ge.match(x[1]),Le){fe=x[0];break}Le||(fe=m)}A=fe.length>=5&&fe.substring(0,5)==="lang-",A&&!(Le&&typeof Le[1]=="string")&&(A=!1,fe=b),A||(Ye[Ge]=fe)}var f=it;if(it+=Ge.length,!A)Ke.push(Ve+f,fe);else{var h=Le[1],p=Ge.indexOf(h),v=p+h.length;Le[2]&&(v=Ge.length-Le[2].length,p=v-h.length);var B=fe.substring(5);k(Ze,Ve+f,Ge.substring(0,p),Ce,Ke),k(Ze,Ve+f+p,h,G(B,h),Ke),k(Ze,Ve+f+v,Ge.substring(v),Ce,Ke)}}ke.decorations=Ke};return Ce}function Be(le){var xe=[],De=[];le.tripleQuotedStrings?xe.push([he,/^(?:\'\'\'(?:[^\'\\]|\\[\s\S]|\'{1,2}(?=[^\']))*(?:\'\'\'|$)|\"\"\"(?:[^\"\\]|\\[\s\S]|\"{1,2}(?=[^\"]))*(?:\"\"\"|$)|\'(?:[^\\\']|\\[\s\S])*(?:\'|$)|\"(?:[^\\\"]|\\[\s\S])*(?:\"|$))/,null,`'"`]):le.multiLineStrings?xe.push([he,/^(?:\'(?:[^\\\']|\\[\s\S])*(?:\'|$)|\"(?:[^\\\"]|\\[\s\S])*(?:\"|$)|\`(?:[^\\\`]|\\[\s\S])*(?:\`|$))/,null,"'\"`"]):xe.push([he,/^(?:\'(?:[^\\\'\r\n]|\\.)*(?:\'|$)|\"(?:[^\\\"\r\n]|\\.)*(?:\"|$))/,null,`"'`]),le.verbatimStrings&&De.push([he,/^@\"(?:[^\"]|\"\")*(?:\"|$)/,null]);var We=le.hashComments;We&&(le.cStyleComments?(We>1?xe.push([re,/^#(?:##(?:[^#]|#(?!##))*(?:###|$)|.*)/,null,"#"]):xe.push([re,/^#(?:(?:define|e(?:l|nd)if|else|error|ifn?def|include|line|pragma|undef|warning)\b|[^\r\n]*)/,null,"#"]),De.push([he,/^<(?:(?:(?:\.\.\/)*|\/?)(?:[\w-]+(?:\/[\w-]+)+)?[\w-]+\.h(?:h|pp|\+\+)?|[a-z]\w*)>/,null])):xe.push([re,/^#[^\r\n]*/,null,"#"])),le.cStyleComments&&(De.push([re,/^\/\/[^\r\n]*/,null]),De.push([re,/^\/\*[\s\S]*?(?:\*\/|$)/,null]));var Qe=le.regexLiterals;if(Qe){var Ce=Qe>1?"":`
|
|
\r`,ke=Ce?".":"[\\S\\s]",qe="/(?=[^/*"+Ce+"])(?:[^/\\x5B\\x5C"+Ce+"]|\\x5C"+ke+"|\\x5B(?:[^\\x5C\\x5D"+Ce+"]|\\x5C"+ke+")*(?:\\x5D|$))+/";De.push(["lang-regex",RegExp("^"+pe+"("+qe+")")])}var Ve=le.types;Ve&&De.push([te,Ve]);var Ze=(""+le.keywords).replace(/^ | $/g,"");Ze.length&&De.push([Re,new RegExp("^(?:"+Ze.replace(/[\s,]+/g,"|")+")\\b"),null]),xe.push([m,/^\s+/,null,` \r
|
|
\xA0`]);var Ke="^.[^\\s\\w.$@'\"`/\\\\]*";return le.regexLiterals&&(Ke+="(?!s*/)"),De.push([Z,/^@[a-z_$][a-z_$@0-9]*/i,null],[te,/^(?:[@_]?[A-Z]+[a-z][A-Za-z_$@0-9]*|\w+_t\b)/,null],[m,/^[a-z_$][a-z_$@0-9]*/i,null],[Z,new RegExp("^(?:0x[a-f0-9]+|(?:\\d(?:_\\d+)*\\d*(?:\\.\\d*)?|\\.\\d\\+)(?:e[+\\-]?\\d+)?)[a-z]*","i"),null,"0123456789"],[m,/^\\[\s\S]?/,null],[P,new RegExp(Ke),null]),Se(xe,De)}var ve=Be({keywords:ye,hashComments:!0,cStyleComments:!0,multiLineStrings:!0,regexLiterals:!0});function Ie(le,xe,De){for(var We=/(?:^|\s)nocode(?:\s|$)/,Qe=/\r\n?|\n/,Ce=le.ownerDocument,ke=Ce.createElement("li");le.firstChild;)ke.appendChild(le.firstChild);var qe=[ke];function Ve(de){var rt=de.nodeType;if(rt==1&&!We.test(de.className))if(de.nodeName==="br")Ze(de),de.parentNode&&de.parentNode.removeChild(de);else for(var Ge=de.firstChild;Ge;Ge=Ge.nextSibling)Ve(Ge);else if((rt==3||rt==4)&&De){var fe=de.nodeValue,Le=fe.match(Qe);if(Le){var A=fe.substring(0,Le.index);de.nodeValue=A;var x=fe.substring(Le.index+Le[0].length);if(x){var w=de.parentNode;w.insertBefore(Ce.createTextNode(x),de.nextSibling)}Ze(de),A||de.parentNode.removeChild(de)}}}function Ze(de){for(;!de.nextSibling;)if(de=de.parentNode,!de)return;function rt(Le,A){var x=A?Le.cloneNode(!1):Le,w=Le.parentNode;if(w){var f=rt(w,1),h=Le.nextSibling;f.appendChild(x);for(var p=h;p;p=h)h=p.nextSibling,f.appendChild(p)}return x}for(var Ge=rt(de.nextSibling,0),fe;(fe=Ge.parentNode)&&fe.nodeType===1;)Ge=fe;qe.push(Ge)}for(var Ke=0;Ke<qe.length;++Ke)Ve(qe[Ke]);xe===(xe|0)&&qe[0].setAttribute("value",xe);var it=Ce.createElement("ol");it.className="linenums";for(var $e=Math.max(0,xe-1|0)||0,Ke=0,Ye=qe.length;Ke<Ye;++Ke)ke=qe[Ke],ke.className="L"+(Ke+$e)%10,ke.firstChild||ke.appendChild(Ce.createTextNode("\xA0")),it.appendChild(ke);le.appendChild(it)}function oe(le){var xe=/\bMSIE\s(\d+)/.exec(navigator.userAgent);xe=xe&&+xe[1]<=8;var De=/\n/g,We=le.sourceCode,Qe=We.length,Ce=0,ke=le.spans,qe=ke.length,Ve=0,Ze=le.decorations,Ke=Ze.length,it=0;Ze[Ke]=Qe;var $e,Ye;for(Ye=$e=0;Ye<Ke;)Ze[Ye]!==Ze[Ye+2]?(Ze[$e++]=Ze[Ye++],Ze[$e++]=Ze[Ye++]):Ye+=2;for(Ke=$e,Ye=$e=0;Ye<Ke;){for(var de=Ze[Ye],rt=Ze[Ye+1],Ge=Ye+2;Ge+2<=Ke&&Ze[Ge+1]===rt;)Ge+=2;Ze[$e++]=de,Ze[$e++]=rt,Ye=Ge}Ke=Ze.length=$e;var fe=le.sourceNode,Le="";fe&&(Le=fe.style.display,fe.style.display="none");try{for(var A=null;Ve<qe;){var x=ke[Ve],w=ke[Ve+2]||Qe,f=Ze[it+2]||Qe,Ge=Math.min(w,f),h=ke[Ve+1],p;if(h.nodeType!==1&&(p=We.substring(Ce,Ge))){xe&&(p=p.replace(De,"\r")),h.nodeValue=p;var v=h.ownerDocument,B=v.createElement("span");B.className=Ze[it+1];var V=h.parentNode;V.replaceChild(B,h),B.appendChild(h),Ce<w&&(ke[Ve+1]=h=v.createTextNode(We.substring(Ge,w)),V.insertBefore(h,B.nextSibling))}Ce=Ge,Ce>=w&&(Ve+=2),Ce>=f&&(it+=2)}}finally{fe&&(fe.style.display=Le)}}var be={};function U(le,xe){for(var De=xe.length;--De>=0;){var We=xe[De];be.hasOwnProperty(We)?S.console&&console.warn("cannot override language handler %s",We):be[We]=le}}function G(le,xe){return le&&be.hasOwnProperty(le)||(le=/^\s*</.test(xe)?"default-markup":"default-code"),be[le]}U(ve,["default-code"]),U(Se([],[[m,/^[^<?]+/],[O,/^<!\w[^>]*(?:>|$)/],[re,/^<\!--[\s\S]*?(?:-\->|$)/],["lang-",/^<\?([\s\S]+?)(?:\?>|$)/],["lang-",/^<%([\s\S]+?)(?:%>|$)/],[P,/^(?:<[%?]|[%?]>)/],["lang-",/^<xmp\b[^>]*>([\s\S]+?)<\/xmp\b[^>]*>/i],["lang-js",/^<script\b[^>]*>([\s\S]*?)(<\/script\b[^>]*>)/i],["lang-css",/^<style\b[^>]*>([\s\S]*?)(<\/style\b[^>]*>)/i],["lang-in.tag",/^(<\/?[a-z][^<>]*>)/i]]),["default-markup","htm","html","mxml","xhtml","xml","xsl"]),U(Se([[m,/^[\s]+/,null,` \r
|
|
`],[X,/^(?:\"[^\"]*\"?|\'[^\']*\'?)/,null,`"'`]],[[_,/^^<\/?[a-z](?:[\w.:-]*\w)?|\/?>$/i],[j,/^(?!style[\s=]|on)[a-z](?:[\w:-]*\w)?/i],["lang-uq.val",/^=\s*([^>\'\"\s]*(?:[^>\'\"\s\/]|\/(?=\s)))/],[P,/^[=<>\/]+/],["lang-js",/^on\w+\s*=\s*\"([^\"]+)\"/i],["lang-js",/^on\w+\s*=\s*\'([^\']+)\'/i],["lang-js",/^on\w+\s*=\s*([^\"\'>\s]+)/i],["lang-css",/^style\s*=\s*\"([^\"]+)\"/i],["lang-css",/^style\s*=\s*\'([^\']+)\'/i],["lang-css",/^style\s*=\s*([^\"\'>\s]+)/i]]),["in.tag"]),U(Se([],[[X,/^[\s\S]+/]]),["uq.val"]),U(Be({keywords:z,hashComments:!0,cStyleComments:!0,types:Y}),["c","cc","cpp","cxx","cyc","m"]),U(Be({keywords:"null,true,false"}),["json"]),U(Be({keywords:K,hashComments:!0,cStyleComments:!0,verbatimStrings:!0,types:Y}),["cs"]),U(Be({keywords:ae,cStyleComments:!0}),["java"]),U(Be({keywords:ge,hashComments:!0,multiLineStrings:!0}),["bash","bsh","csh","sh"]),U(Be({keywords:H,hashComments:!0,multiLineStrings:!0,tripleQuotedStrings:!0}),["cv","py","python"]),U(Be({keywords:D,hashComments:!0,multiLineStrings:!0,regexLiterals:2}),["perl","pl","pm"]),U(Be({keywords:Q,hashComments:!0,multiLineStrings:!0,regexLiterals:!0}),["rb","ruby"]),U(Be({keywords:R,cStyleComments:!0,regexLiterals:!0}),["javascript","js","ts","typescript"]),U(Be({keywords:I,hashComments:3,cStyleComments:!0,multilineStrings:!0,tripleQuotedStrings:!0,regexLiterals:!0}),["coffee"]),U(Se([],[[he,/^[\s\S]+/]]),["regex"]);function Te(le){var xe=le.langExtension;try{var De=d(le.sourceNode,le.pre),We=De.sourceCode;le.sourceCode=We,le.spans=De.spans,le.basePos=0,G(xe,We)(le),oe(le)}catch(Qe){S.console&&console.log(Qe&&Qe.stack||Qe)}}function Fe(le,xe,De){var We=De||!1,Qe=xe||null,Ce=document.createElement("div");Ce.innerHTML="<pre>"+le+"</pre>",Ce=Ce.firstChild,We&&Ie(Ce,We,!0);var ke={langExtension:Qe,numberLines:We,sourceNode:Ce,pre:1,sourceCode:null,basePos:null,spans:null,decorations:null};return Te(ke),Ce.innerHTML}function ze(le,xe){var De=xe||document.body,We=De.ownerDocument||document;function Qe(x){return De.getElementsByTagName(x)}for(var Ce=[Qe("pre"),Qe("code"),Qe("xmp")],ke=[],qe=0;qe<Ce.length;++qe)for(var Ve=0,Ze=Ce[qe].length;Ve<Ze;++Ve)ke.push(Ce[qe][Ve]);Ce=null;var Ke=Date;Ke.now||(Ke={now:function(){return+new Date}});var it=0,$e=/\blang(?:uage)?-([\w.]+)(?!\S)/,Ye=/\bprettyprint\b/,de=/\bprettyprinted\b/,rt=/pre|xmp/i,Ge=/^code$/i,fe=/^(?:pre|code|xmp)$/i,Le={};function A(){for(var x=S.PR_SHOULD_USE_CONTINUATION?Ke.now()+250:Infinity;it<ke.length&&Ke.now()<x;it++){for(var w=ke[it],f=Le,h=w;h=h.previousSibling;){var p=h.nodeType,v=(p===7||p===8)&&h.nodeValue;if(v?!/^\??prettify\b/.test(v):p!==3||/\S/.test(h.nodeValue))break;if(v){f={},v.replace(/\b(\w+)=([\w:.%+-]+)/g,function(Wt,mt,Cn){f[mt]=Cn});break}}var B=w.className;if((f!==Le||Ye.test(B))&&!de.test(B)){for(var V=!1,we=w.parentNode;we;we=we.parentNode){var nt=we.tagName;if(fe.test(nt)&&we.className&&Ye.test(we.className)){V=!0;break}}if(!V){w.className+=" prettyprinted";var ft=f.lang;if(!ft){ft=B.match($e);var ot;!ft&&(ot=q(w))&&Ge.test(ot.tagName)&&(ft=ot.className.match($e)),ft&&(ft=ft[1])}var Pt;if(rt.test(w.tagName))Pt=1;else{var pt=w.currentStyle,lt=We.defaultView,Ft=pt?pt.whiteSpace:lt&<.getComputedStyle?lt.getComputedStyle(w,null).getPropertyValue("white-space"):0;Pt=Ft&&Ft.substring(0,3)==="pre"}var bt=f.linenums;(bt=bt==="true"||+bt)||(bt=B.match(/\blinenums\b(?::(\d+))?/),bt=bt?bt[1]&&bt[1].length?+bt[1]:!0:!1),bt&&Ie(w,bt,Pt);var Zt={langExtension:ft,sourceNode:w,numberLines:bt,pre:Pt,sourceCode:null,basePos:null,spans:null,decorations:null};Te(Zt)}}}it<ke.length?S.setTimeout(A,250):typeof le=="function"&&le()}A()}var Pe=S.PR={createSimpleLexer:Se,registerLangHandler:U,sourceDecorator:Be,PR_ATTRIB_NAME:j,PR_ATTRIB_VALUE:X,PR_COMMENT:re,PR_DECLARATION:O,PR_KEYWORD:Re,PR_LITERAL:Z,PR_NOCODE:W,PR_PLAIN:m,PR_PUNCTUATION:P,PR_SOURCE:b,PR_STRING:he,PR_TAG:_,PR_TYPE:te,prettyPrintOne:J?S.prettyPrintOne=Fe:ee=Fe,prettyPrint:M=J?S.prettyPrint=ze:M=ze},je=S.define;typeof je=="function"&&je.amd&&je("google-code-prettify",[],function(){return Pe})})()},SMhR:function(me,ne){me.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAcYAAAHGCAYAAADuYispAAAAAklEQVR4AewaftIAABHTSURBVO3BQY4cy5IEQdNA3//KNo2/8NU8XzCQyCpSReivSJKk/zmRJEnjRJIkjRNJkjROJEnSOJEkSeNEkiSNE0mSNE4kSdI4kSRJ40SSJI0TSZI0TiRJ0jiRJEnjRJIkjRNJkjROJEnSOJEkSeNEkiSNE0mSNE4kSdI4kSRJ40SSJI0TSZI0TiRJ0jiRJEnjRJIkjRNJkjROJEnSOJEkSeNEkiSNE0mSNH7yMiB/s7a5AWTTNhsgN9pmA2TTNp8MyI22uQHkv7TNDSCbttkAudE2bwJyo22eBGTTNhsgf7O2ecuJJEkaJ5IkaZxIkqRxIkmSxokkSRonkiRpnEiSpPGTD9c2nwzIk9pmA2TTNjeAPAnIpm1uANm0zQ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qNtNkA2QN7UNhsgTwKyaZsNkE3bvAnIjbb5VCeSJGmcSJKkcSJJksaJJEkaJ5IkaZxIkqRxIkmSBv2VFwH5m7XNk4Bs2uZJQJ7UNjeA3GibTwXkRttsgNxomw2QG22zAXKjbW4AeVLbbIDcaJsNkCe1zVtOJEnSOJEkSeNEkiSNE0mSNE4kSdI4kSRJ40SSJA36K5Ik6X9OJEnSOJEkSeNEkiSNE0mSNE4kSdI4kSRJ40SSJI0TSZI0TiRJ0jiRJEnjRJIkjRNJkjROJEnSOJEkSeNEkiSNE0mSNE4kSdI4kSRJ40SSJI0TSZI0TiRJ0jiRJEnjRJIkjRNJkjROJEnSOJEkSeNEkiSNE0mSNE4kSdI4kSRJ4/8ATrCgy9kbxW8AAAAASUVORK5CYII="},TGq3:function(me,ne,u){me.exports=u.p+"static/lockclose.365036e8.svg"},UUDw:function(me,ne,u){me.exports={buttonFixed:"buttonFixed___2zLVJ",button:"button___-JgFH",buttonWrap:"buttonWrap___aZhhk"}},"VrN/":function(me,ne,u){(function(T,Ae){me.exports=Ae()})(this,function(){"use strict";var T=navigator.userAgent,Ae=navigator.platform,J=/gecko\/\d/i.test(T),ce=/MSIE \d/.test(T),se=/Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/.exec(T),ee=/Edge\/(\d+)/.exec(T),M=ce||se||ee,S=M&&(ce?document.documentMode||6:+(ee||se)[1]),E=!ee&&/WebKit\//.test(T),ie=E&&/Qt\/\d+\.\d+/.test(T),N=!ee&&/Chrome\//.test(T),z=/Opera\//.test(T),ae=/Apple Computer/.test(navigator.vendor),K=/Mac OS X 1\d\D([8-9]|\d\d)\D/.test(T),I=/PhantomJS/.test(T),R=!ee&&/AppleWebKit/.test(T)&&/Mobile\/\w+/.test(T),D=/Android/.test(T),H=R||D||/webOS|BlackBerry|Opera Mini|Opera Mobi|IEMobile/i.test(T),Q=R||/Mac/.test(Ae),ge=/\bCrOS\b/.test(T),ye=/win/i.test(Ae),Y=z&&T.match(/Version\/(\d*\.\d*)/);Y&&(Y=Number(Y[1])),Y&&Y>=15&&(z=!1,E=!0);var he=Q&&(ie||z&&(Y==null||Y<12.11)),Re=J||M&&S>=9;function re(e){return new RegExp("(^|\\s)"+e+"(?:$|\\s)\\s*")}var te=function(e,t){var r=e.className,n=re(t).exec(r);if(n){var i=r.slice(n.index+n[0].length);e.className=r.slice(0,n.index)+(i?n[1]+i:"")}};function Z(e){for(var t=e.childNodes.length;t>0;--t)e.removeChild(e.firstChild);return e}function P(e,t){return Z(e).appendChild(t)}function m(e,t,r,n){var i=document.createElement(e);if(r&&(i.className=r),n&&(i.style.cssText=n),typeof t=="string")i.appendChild(document.createTextNode(t));else if(t)for(var a=0;a<t.length;++a)i.appendChild(t[a]);return i}function _(e,t,r,n){var i=m(e,t,r,n);return i.setAttribute("role","presentation"),i}var O;document.createRange?O=function(e,t,r,n){var i=document.createRange();return i.setEnd(n||e,r),i.setStart(e,t),i}:O=function(e,t,r){var n=document.body.createTextRange();try{n.moveToElementText(e.parentNode)}catch(i){return n}return n.collapse(!0),n.moveEnd("character",r),n.moveStart("character",t),n};function b(e,t){if(t.nodeType==3&&(t=t.parentNode),e.contains)return e.contains(t);do if(t.nodeType==11&&(t=t.host),t==e)return!0;while(t=t.parentNode)}function j(){var e;try{e=document.activeElement}catch(t){e=document.body||null}for(;e&&e.shadowRoot&&e.shadowRoot.activeElement;)e=e.shadowRoot.activeElement;return e}function X(e,t){var r=e.className;re(t).test(r)||(e.className+=(r?" ":"")+t)}function W(e,t){for(var r=e.split(" "),n=0;n<r.length;n++)r[n]&&!re(r[n]).test(t)&&(t+=" "+r[n]);return t}var pe=function(e){e.select()};R?pe=function(e){e.selectionStart=0,e.selectionEnd=e.value.length}:M&&(pe=function(e){try{e.select()}catch(t){}});function g(e){var t=Array.prototype.slice.call(arguments,1);return function(){return e.apply(null,t)}}function d(e,t,r){t||(t={});for(var n in e)e.hasOwnProperty(n)&&(r!==!1||!t.hasOwnProperty(n))&&(t[n]=e[n]);return t}function k(e,t,r,n,i){t==null&&(t=e.search(/[^\s\u00a0]/),t==-1&&(t=e.length));for(var a=n||0,o=i||0;;){var s=e.indexOf(" ",a);if(s<0||s>=t)return o+(t-a);o+=s-a,o+=r-o%r,a=s+1}}var $=function(){this.id=null,this.f=null,this.time=0,this.handler=g(this.onTimeout,this)};$.prototype.onTimeout=function(e){e.id=0,e.time<=+new Date?e.f():setTimeout(e.handler,e.time-+new Date)},$.prototype.set=function(e,t){this.f=t;var r=+new Date+e;(!this.id||r<this.time)&&(clearTimeout(this.id),this.id=setTimeout(this.handler,e),this.time=r)};function q(e,t){for(var r=0;r<e.length;++r)if(e[r]==t)return r;return-1}var Se=50,Be={toString:function(){return"CodeMirror.Pass"}},ve={scroll:!1},Ie={origin:"*mouse"},oe={origin:"+move"};function be(e,t,r){for(var n=0,i=0;;){var a=e.indexOf(" ",n);a==-1&&(a=e.length);var o=a-n;if(a==e.length||i+o>=t)return n+Math.min(o,t-i);if(i+=a-n,i+=r-i%r,n=a+1,i>=t)return n}}var U=[""];function G(e){for(;U.length<=e;)U.push(Te(U)+" ");return U[e]}function Te(e){return e[e.length-1]}function Fe(e,t){for(var r=[],n=0;n<e.length;n++)r[n]=t(e[n],n);return r}function ze(e,t,r){for(var n=0,i=r(t);n<e.length&&r(e[n])<=i;)n++;e.splice(n,0,t)}function Pe(){}function je(e,t){var r;return Object.create?r=Object.create(e):(Pe.prototype=e,r=new Pe),t&&d(t,r),r}var le=/[\u00df\u0587\u0590-\u05f4\u0600-\u06ff\u3040-\u309f\u30a0-\u30ff\u3400-\u4db5\u4e00-\u9fcc\uac00-\ud7af]/;function xe(e){return/\w/.test(e)||e>"\x80"&&(e.toUpperCase()!=e.toLowerCase()||le.test(e))}function De(e,t){return t?t.source.indexOf("\\w")>-1&&xe(e)?!0:t.test(e):xe(e)}function We(e){for(var t in e)if(e.hasOwnProperty(t)&&e[t])return!1;return!0}var Qe=/[\u0300-\u036f\u0483-\u0489\u0591-\u05bd\u05bf\u05c1\u05c2\u05c4\u05c5\u05c7\u0610-\u061a\u064b-\u065e\u0670\u06d6-\u06dc\u06de-\u06e4\u06e7\u06e8\u06ea-\u06ed\u0711\u0730-\u074a\u07a6-\u07b0\u07eb-\u07f3\u0816-\u0819\u081b-\u0823\u0825-\u0827\u0829-\u082d\u0900-\u0902\u093c\u0941-\u0948\u094d\u0951-\u0955\u0962\u0963\u0981\u09bc\u09be\u09c1-\u09c4\u09cd\u09d7\u09e2\u09e3\u0a01\u0a02\u0a3c\u0a41\u0a42\u0a47\u0a48\u0a4b-\u0a4d\u0a51\u0a70\u0a71\u0a75\u0a81\u0a82\u0abc\u0ac1-\u0ac5\u0ac7\u0ac8\u0acd\u0ae2\u0ae3\u0b01\u0b3c\u0b3e\u0b3f\u0b41-\u0b44\u0b4d\u0b56\u0b57\u0b62\u0b63\u0b82\u0bbe\u0bc0\u0bcd\u0bd7\u0c3e-\u0c40\u0c46-\u0c48\u0c4a-\u0c4d\u0c55\u0c56\u0c62\u0c63\u0cbc\u0cbf\u0cc2\u0cc6\u0ccc\u0ccd\u0cd5\u0cd6\u0ce2\u0ce3\u0d3e\u0d41-\u0d44\u0d4d\u0d57\u0d62\u0d63\u0dca\u0dcf\u0dd2-\u0dd4\u0dd6\u0ddf\u0e31\u0e34-\u0e3a\u0e47-\u0e4e\u0eb1\u0eb4-\u0eb9\u0ebb\u0ebc\u0ec8-\u0ecd\u0f18\u0f19\u0f35\u0f37\u0f39\u0f71-\u0f7e\u0f80-\u0f84\u0f86\u0f87\u0f90-\u0f97\u0f99-\u0fbc\u0fc6\u102d-\u1030\u1032-\u1037\u1039\u103a\u103d\u103e\u1058\u1059\u105e-\u1060\u1071-\u1074\u1082\u1085\u1086\u108d\u109d\u135f\u1712-\u1714\u1732-\u1734\u1752\u1753\u1772\u1773\u17b7-\u17bd\u17c6\u17c9-\u17d3\u17dd\u180b-\u180d\u18a9\u1920-\u1922\u1927\u1928\u1932\u1939-\u193b\u1a17\u1a18\u1a56\u1a58-\u1a5e\u1a60\u1a62\u1a65-\u1a6c\u1a73-\u1a7c\u1a7f\u1b00-\u1b03\u1b34\u1b36-\u1b3a\u1b3c\u1b42\u1b6b-\u1b73\u1b80\u1b81\u1ba2-\u1ba5\u1ba8\u1ba9\u1c2c-\u1c33\u1c36\u1c37\u1cd0-\u1cd2\u1cd4-\u1ce0\u1ce2-\u1ce8\u1ced\u1dc0-\u1de6\u1dfd-\u1dff\u200c\u200d\u20d0-\u20f0\u2cef-\u2cf1\u2de0-\u2dff\u302a-\u302f\u3099\u309a\ua66f-\ua672\ua67c\ua67d\ua6f0\ua6f1\ua802\ua806\ua80b\ua825\ua826\ua8c4\ua8e0-\ua8f1\ua926-\ua92d\ua947-\ua951\ua980-\ua982\ua9b3\ua9b6-\ua9b9\ua9bc\uaa29-\uaa2e\uaa31\uaa32\uaa35\uaa36\uaa43\uaa4c\uaab0\uaab2-\uaab4\uaab7\uaab8\uaabe\uaabf\uaac1\uabe5\uabe8\uabed\udc00-\udfff\ufb1e\ufe00-\ufe0f\ufe20-\ufe26\uff9e\uff9f]/;function Ce(e){return e.charCodeAt(0)>=768&&Qe.test(e)}function ke(e,t,r){for(;(r<0?t>0:t<e.length)&&Ce(e.charAt(t));)t+=r;return t}function qe(e,t,r){for(var n=t>r?-1:1;;){if(t==r)return t;var i=(t+r)/2,a=n<0?Math.ceil(i):Math.floor(i);if(a==t)return e(a)?t:r;e(a)?r=a:t=a+n}}function Ve(e,t,r,n){if(!e)return n(t,r,"ltr",0);for(var i=!1,a=0;a<e.length;++a){var o=e[a];(o.from<r&&o.to>t||t==r&&o.to==t)&&(n(Math.max(o.from,t),Math.min(o.to,r),o.level==1?"rtl":"ltr",a),i=!0)}i||n(t,r,"ltr")}var Ze=null;function Ke(e,t,r){var n;Ze=null;for(var i=0;i<e.length;++i){var a=e[i];if(a.from<t&&a.to>t)return i;a.to==t&&(a.from!=a.to&&r=="before"?n=i:Ze=i),a.from==t&&(a.from!=a.to&&r!="before"?n=i:Ze=i)}return n!=null?n:Ze}var it=function(){var e="bbbbbbbbbtstwsbbbbbbbbbbbbbbssstwNN%%%NNNNNN,N,N1111111111NNNNNNNLLLLLLLLLLLLLLLLLLLLLLLLLLNNNNNNLLLLLLLLLLLLLLLLLLLLLLLLLLNNNNbbbbbbsbbbbbbbbbbbbbbbbbbbbbbbbbb,N%%%%NNNNLNNNNN%%11NLNNN1LNNNNNLLLLLLLLLLLLLLLLLLLLLLLNLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLN",t="nnnnnnNNr%%r,rNNmmmmmmmmmmmrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrmmmmmmmmmmmmmmmmmmmmmnnnnnnnnnn%nnrrrmrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrmmmmmmmnNmmmmmmrrmmNmmmmrr1111111111";function r(c){return c<=247?e.charAt(c):1424<=c&&c<=1524?"R":1536<=c&&c<=1785?t.charAt(c-1536):1774<=c&&c<=2220?"r":8192<=c&&c<=8203?"w":c==8204?"b":"L"}var n=/[\u0590-\u05f4\u0600-\u06ff\u0700-\u08ac]/,i=/[stwN]/,a=/[LRr]/,o=/[Lb1n]/,s=/[1n]/;function l(c,y,C){this.level=c,this.from=y,this.to=C}return function(c,y){var C=y=="ltr"?"L":"R";if(c.length==0||y=="ltr"&&!n.test(c))return!1;for(var F=c.length,L=[],ue=0;ue<F;++ue)L.push(r(c.charCodeAt(ue)));for(var Ee=0,Oe=C;Ee<F;++Ee){var _e=L[Ee];_e=="m"?L[Ee]=Oe:Oe=_e}for(var He=0,Ue=C;He<F;++He){var Je=L[He];Je=="1"&&Ue=="r"?L[He]="n":a.test(Je)&&(Ue=Je,Je=="r"&&(L[He]="R"))}for(var at=1,tt=L[0];at<F-1;++at){var ht=L[at];ht=="+"&&tt=="1"&&L[at+1]=="1"?L[at]="1":ht==","&&tt==L[at+1]&&(tt=="1"||tt=="n")&&(L[at]=tt),tt=ht}for(var xt=0;xt<F;++xt){var Ut=L[xt];if(Ut==",")L[xt]="N";else if(Ut=="%"){var Dt=void 0;for(Dt=xt+1;Dt<F&&L[Dt]=="%";++Dt);for(var an=xt&&L[xt-1]=="!"||Dt<F&&L[Dt]=="1"?"1":"N",$t=xt;$t<Dt;++$t)L[$t]=an;xt=Dt-1}}for(var It=0,en=C;It<F;++It){var Qt=L[It];en=="L"&&Qt=="1"?L[It]="L":a.test(Qt)&&(en=Qt)}for(var Nt=0;Nt<F;++Nt)if(i.test(L[Nt])){var Lt=void 0;for(Lt=Nt+1;Lt<F&&i.test(L[Lt]);++Lt);for(var Rt=(Nt?L[Nt-1]:C)=="L",tn=(Lt<F?L[Lt]:C)=="L",Nr=Rt==tn?Rt?"L":"R":C,Jn=Nt;Jn<Lt;++Jn)L[Jn]=Nr;Nt=Lt-1}for(var Gt=[],xn,jt=0;jt<F;)if(o.test(L[jt])){var Na=jt;for(++jt;jt<F&&o.test(L[jt]);++jt);Gt.push(new l(0,Na,jt))}else{var On=jt,ur=Gt.length,cr=y=="rtl"?1:0;for(++jt;jt<F&&L[jt]!="L";++jt);for(var Vt=On;Vt<jt;)if(s.test(L[Vt])){On<Vt&&(Gt.splice(ur,0,new l(1,On,Vt)),ur+=cr);var Br=Vt;for(++Vt;Vt<jt&&s.test(L[Vt]);++Vt);Gt.splice(ur,0,new l(2,Br,Vt)),ur+=cr,On=Vt}else++Vt;On<jt&&Gt.splice(ur,0,new l(1,On,jt))}return y=="ltr"&&(Gt[0].level==1&&(xn=c.match(/^\s+/))&&(Gt[0].from=xn[0].length,Gt.unshift(new l(0,0,xn[0].length))),Te(Gt).level==1&&(xn=c.match(/\s+$/))&&(Te(Gt).to-=xn[0].length,Gt.push(new l(0,F-xn[0].length,F)))),y=="rtl"?Gt.reverse():Gt}}();function $e(e,t){var r=e.order;return r==null&&(r=e.order=it(e.text,t)),r}var Ye=[],de=function(e,t,r){if(e.addEventListener)e.addEventListener(t,r,!1);else if(e.attachEvent)e.attachEvent("on"+t,r);else{var n=e._handlers||(e._handlers={});n[t]=(n[t]||Ye).concat(r)}};function rt(e,t){return e._handlers&&e._handlers[t]||Ye}function Ge(e,t,r){if(e.removeEventListener)e.removeEventListener(t,r,!1);else if(e.detachEvent)e.detachEvent("on"+t,r);else{var n=e._handlers,i=n&&n[t];if(i){var a=q(i,r);a>-1&&(n[t]=i.slice(0,a).concat(i.slice(a+1)))}}}function fe(e,t){var r=rt(e,t);if(!r.length)return;for(var n=Array.prototype.slice.call(arguments,2),i=0;i<r.length;++i)r[i].apply(null,n)}function Le(e,t,r){return typeof t=="string"&&(t={type:t,preventDefault:function(){this.defaultPrevented=!0}}),fe(e,r||t.type,e,t),p(t)||t.codemirrorIgnore}function A(e){var t=e._handlers&&e._handlers.cursorActivity;if(!t)return;for(var r=e.curOp.cursorActivityHandlers||(e.curOp.cursorActivityHandlers=[]),n=0;n<t.length;++n)q(r,t[n])==-1&&r.push(t[n])}function x(e,t){return rt(e,t).length>0}function w(e){e.prototype.on=function(t,r){de(this,t,r)},e.prototype.off=function(t,r){Ge(this,t,r)}}function f(e){e.preventDefault?e.preventDefault():e.returnValue=!1}function h(e){e.stopPropagation?e.stopPropagation():e.cancelBubble=!0}function p(e){return e.defaultPrevented!=null?e.defaultPrevented:e.returnValue==!1}function v(e){f(e),h(e)}function B(e){return e.target||e.srcElement}function V(e){var t=e.which;return t==null&&(e.button&1?t=1:e.button&2?t=3:e.button&4&&(t=2)),Q&&e.ctrlKey&&t==1&&(t=3),t}var we=function(){if(M&&S<9)return!1;var e=m("div");return"draggable"in e||"dragDrop"in e}(),nt;function ft(e){if(nt==null){var t=m("span","\u200B");P(e,m("span",[t,document.createTextNode("x")])),e.firstChild.offsetHeight!=0&&(nt=t.offsetWidth<=1&&t.offsetHeight>2&&!(M&&S<8))}var r=nt?m("span","\u200B"):m("span","\xA0",null,"display: inline-block; width: 1px; margin-right: -1px");return r.setAttribute("cm-text",""),r}var ot;function Pt(e){if(ot!=null)return ot;var t=P(e,document.createTextNode("A\u062EA")),r=O(t,0,1).getBoundingClientRect(),n=O(t,1,2).getBoundingClientRect();return Z(e),!r||r.left==r.right?!1:ot=n.right-r.right<3}var pt=`
|
|
|
|
b`.split(/\n/).length!=3?function(e){for(var t=0,r=[],n=e.length;t<=n;){var i=e.indexOf(`
|
|
`,t);i==-1&&(i=e.length);var a=e.slice(t,e.charAt(i-1)=="\r"?i-1:i),o=a.indexOf("\r");o!=-1?(r.push(a.slice(0,o)),t+=o+1):(r.push(a),t=i+1)}return r}:function(e){return e.split(/\r\n?|\n/)},lt=window.getSelection?function(e){try{return e.selectionStart!=e.selectionEnd}catch(t){return!1}}:function(e){var t;try{t=e.ownerDocument.selection.createRange()}catch(r){}return!t||t.parentElement()!=e?!1:t.compareEndPoints("StartToEnd",t)!=0},Ft=function(){var e=m("div");return"oncopy"in e?!0:(e.setAttribute("oncopy","return;"),typeof e.oncopy=="function")}(),bt=null;function Zt(e){if(bt!=null)return bt;var t=P(e,m("span","x")),r=t.getBoundingClientRect(),n=O(t,0,1).getBoundingClientRect();return bt=Math.abs(r.left-n.left)>1}var Wt={},mt={};function Cn(e,t){arguments.length>2&&(t.dependencies=Array.prototype.slice.call(arguments,2)),Wt[e]=t}function Kn(e,t){mt[e]=t}function un(e){if(typeof e=="string"&&mt.hasOwnProperty(e))e=mt[e];else if(e&&typeof e.name=="string"&&mt.hasOwnProperty(e.name)){var t=mt[e.name];typeof t=="string"&&(t={name:t}),e=je(t,e),e.name=t.name}else{if(typeof e=="string"&&/^[\w\-]+\/[\w\-]+\+xml$/.test(e))return un("application/xml");if(typeof e=="string"&&/^[\w\-]+\/[\w\-]+\+json$/.test(e))return un("application/json")}return typeof e=="string"?{name:e}:e||{name:"null"}}function wn(e,t){t=un(t);var r=Wt[t.name];if(!r)return wn(e,"text/plain");var n=r(e,t);if(pn.hasOwnProperty(t.name)){var i=pn[t.name];for(var a in i){if(!i.hasOwnProperty(a))continue;n.hasOwnProperty(a)&&(n["_"+a]=n[a]),n[a]=i[a]}}if(n.name=t.name,t.helperType&&(n.helperType=t.helperType),t.modeProps)for(var o in t.modeProps)n[o]=t.modeProps[o];return n}var pn={};function bi(e,t){var r=pn.hasOwnProperty(e)?pn[e]:pn[e]={};d(t,r)}function cn(e,t){if(t===!0)return t;if(e.copyState)return e.copyState(t);var r={};for(var n in t){var i=t[n];i instanceof Array&&(i=i.concat([])),r[n]=i}return r}function Gn(e,t){for(var r;e.innerMode&&!(r=e.innerMode(t),!r||r.mode==e);)t=r.state,e=r.mode;return r||{mode:e,state:t}}function dr(e,t,r){return e.startState?e.startState(t,r):!0}var St=function(e,t,r){this.pos=this.start=0,this.string=e,this.tabSize=t||8,this.lastColumnPos=this.lastColumnValue=0,this.lineStart=0,this.lineOracle=r};St.prototype.eol=function(){return this.pos>=this.string.length},St.prototype.sol=function(){return this.pos==this.lineStart},St.prototype.peek=function(){return this.string.charAt(this.pos)||void 0},St.prototype.next=function(){if(this.pos<this.string.length)return this.string.charAt(this.pos++)},St.prototype.eat=function(e){var t=this.string.charAt(this.pos),r;if(typeof e=="string"?r=t==e:r=t&&(e.test?e.test(t):e(t)),r)return++this.pos,t},St.prototype.eatWhile=function(e){for(var t=this.pos;this.eat(e););return this.pos>t},St.prototype.eatSpace=function(){for(var e=this.pos;/[\s\u00a0]/.test(this.string.charAt(this.pos));)++this.pos;return this.pos>e},St.prototype.skipToEnd=function(){this.pos=this.string.length},St.prototype.skipTo=function(e){var t=this.string.indexOf(e,this.pos);if(t>-1)return this.pos=t,!0},St.prototype.backUp=function(e){this.pos-=e},St.prototype.column=function(){return this.lastColumnPos<this.start&&(this.lastColumnValue=k(this.string,this.start,this.tabSize,this.lastColumnPos,this.lastColumnValue),this.lastColumnPos=this.start),this.lastColumnValue-(this.lineStart?k(this.string,this.lineStart,this.tabSize):0)},St.prototype.indentation=function(){return k(this.string,null,this.tabSize)-(this.lineStart?k(this.string,this.lineStart,this.tabSize):0)},St.prototype.match=function(e,t,r){if(typeof e=="string"){var n=function(o){return r?o.toLowerCase():o},i=this.string.substr(this.pos,e.length);if(n(i)==n(e))return t!==!1&&(this.pos+=e.length),!0}else{var a=this.string.slice(this.pos).match(e);return a&&a.index>0?null:(a&&t!==!1&&(this.pos+=a[0].length),a)}},St.prototype.current=function(){return this.string.slice(this.start,this.pos)},St.prototype.hideFirstChars=function(e,t){this.lineStart+=e;try{return t()}finally{this.lineStart-=e}},St.prototype.lookAhead=function(e){var t=this.lineOracle;return t&&t.lookAhead(e)},St.prototype.baseToken=function(){var e=this.lineOracle;return e&&e.baseToken(this.pos)};function Xe(e,t){if(t-=e.first,t<0||t>=e.size)throw new Error("There is no line "+(t+e.first)+" in the document.");for(var r=e;!r.lines;)for(var n=0;;++n){var i=r.children[n],a=i.chunkSize();if(t<a){r=i;break}t-=a}return r.lines[t]}function Sn(e,t,r){var n=[],i=t.line;return e.iter(t.line,r.line+1,function(a){var o=a.text;i==r.line&&(o=o.slice(0,r.ch)),i==t.line&&(o=o.slice(t.ch)),n.push(o),++i}),n}function fr(e,t,r){var n=[];return e.iter(t,r,function(i){n.push(i.text)}),n}function dn(e,t){var r=t-e.height;if(r)for(var n=e;n;n=n.parent)n.height+=r}function gt(e){if(e.parent==null)return null;for(var t=e.parent,r=q(t.lines,e),n=t.parent;n;t=n,n=n.parent)for(var i=0;!(n.children[i]==t);++i)r+=n.children[i].chunkSize();return r+t.first}function kn(e,t){var r=e.first;e:do{for(var n=0;n<e.children.length;++n){var i=e.children[n],a=i.height;if(t<a){e=i;continue e}t-=a,r+=i.chunkSize()}return r}while(!e.lines);for(var o=0;o<e.lines.length;++o){var s=e.lines[o],l=s.height;if(t<l)break;t-=l}return r+o}function In(e,t){return t>=e.first&&t<e.first+e.size}function Zn(e,t){return String(e.lineNumberFormatter(t+e.firstLineNumber))}function Me(e,t,r){if(r===void 0&&(r=null),!(this instanceof Me))return new Me(e,t,r);this.line=e,this.ch=t,this.sticky=r}function ut(e,t){return e.line-t.line||e.ch-t.ch}function Ne(e,t){return e.sticky==t.sticky&&ut(e,t)==0}function _r(e){return Me(e.line,e.ch)}function hr(e,t){return ut(e,t)<0?t:e}function Yn(e,t){return ut(e,t)<0?e:t}function Vn(e,t){return Math.max(e.first,Math.min(t,e.first+e.size-1))}function st(e,t){if(t.line<e.first)return Me(e.first,0);var r=e.first+e.size-1;return t.line>r?Me(r,Xe(e,r).text.length):Xi(t,Xe(e,t.line).text.length)}function Xi(e,t){var r=e.ch;return r==null||r>t?Me(e.line,t):r<0?Me(e.line,0):e}function Ur(e,t){for(var r=[],n=0;n<t.length;n++)r[n]=st(e,t[n]);return r}var fn=function(e,t){this.state=e,this.lookAhead=t},on=function(e,t,r,n){this.state=t,this.doc=e,this.line=r,this.maxLookAhead=n||0,this.baseTokens=null,this.baseTokenPos=1};on.prototype.lookAhead=function(e){var t=this.doc.getLine(this.line+e);return t!=null&&e>this.maxLookAhead&&(this.maxLookAhead=e),t},on.prototype.baseToken=function(e){if(!this.baseTokens)return null;for(;this.baseTokens[this.baseTokenPos]<=e;)this.baseTokenPos+=2;var t=this.baseTokens[this.baseTokenPos+1];return{type:t&&t.replace(/( |^)overlay .*/,""),size:this.baseTokens[this.baseTokenPos]-e}},on.prototype.nextLine=function(){this.line++,this.maxLookAhead>0&&this.maxLookAhead--},on.fromSaved=function(e,t,r){return t instanceof fn?new on(e,cn(e.mode,t.state),r,t.lookAhead):new on(e,cn(e.mode,t),r)},on.prototype.save=function(e){var t=e!==!1?cn(this.doc.mode,this.state):this.state;return this.maxLookAhead>0?new fn(t,this.maxLookAhead):t};function yi(e,t,r,n){var i=[e.state.modeGen],a={};Fr(e,t.text,e.doc.mode,r,function(c,y){return i.push(c,y)},a,n);for(var o=r.state,s=function(c){r.baseTokens=i;var y=e.state.overlays[c],C=1,F=0;r.state=!0,Fr(e,t.text,y.mode,r,function(L,ue){for(var Ee=C;F<L;){var Oe=i[C];Oe>L&&i.splice(C,1,L,i[C+1],Oe),C+=2,F=Math.min(L,Oe)}if(!ue)return;if(y.opaque)i.splice(Ee,C-Ee,L,"overlay "+ue),C=Ee+2;else for(;Ee<C;Ee+=2){var _e=i[Ee+1];i[Ee+1]=(_e?_e+" ":"")+"overlay "+ue}},a),r.state=o,r.baseTokens=null,r.baseTokenPos=1},l=0;l<e.state.overlays.length;++l)s(l);return{styles:i,classes:a.bgClass||a.textClass?a:null}}function jr(e,t,r){if(!t.styles||t.styles[0]!=e.state.modeGen){var n=nn(e,gt(t)),i=t.text.length>e.options.maxHighlightLength&&cn(e.doc.mode,n.state),a=yi(e,t,n);i&&(n.state=i),t.stateAfter=n.save(!i),t.styles=a.styles,a.classes?t.styleClasses=a.classes:t.styleClasses&&(t.styleClasses=null),r===e.doc.highlightFrontier&&(e.doc.modeFrontier=Math.max(e.doc.modeFrontier,++e.doc.highlightFrontier))}return t.styles}function nn(e,t,r){var n=e.doc,i=e.display;if(!n.mode.startState)return new on(n,!0,t);var a=Xn(e,t,r),o=a>n.first&&Xe(n,a-1).stateAfter,s=o?on.fromSaved(n,o,a):new on(n,dr(n.mode),a);return n.iter(a,t,function(l){pr(e,l.text,s);var c=s.line;l.stateAfter=c==t-1||c%5==0||c>=i.viewFrom&&c<i.viewTo?s.save():null,s.nextLine()}),r&&(n.modeFrontier=s.line),s}function pr(e,t,r,n){var i=e.doc.mode,a=new St(t,e.options.tabSize,r);for(a.start=a.pos=n||0,t==""&&Ei(i,r.state);!a.eol();)mr(i,a,r.state),a.start=a.pos}function Ei(e,t){if(e.blankLine)return e.blankLine(t);if(!e.innerMode)return;var r=Gn(e,t);if(r.mode.blankLine)return r.mode.blankLine(r.state)}function mr(e,t,r,n){for(var i=0;i<10;i++){n&&(n[0]=Gn(e,r).mode);var a=e.token(t,r);if(t.pos>t.start)return a}throw new Error("Mode "+e.name+" failed to advance stream.")}var Mn=function(e,t,r){this.start=e.start,this.end=e.pos,this.string=e.current(),this.type=t||null,this.state=r};function Dn(e,t,r,n){var i=e.doc,a=i.mode,o;t=st(i,t);var s=Xe(i,t.line),l=nn(e,t.line,r),c=new St(s.text,e.options.tabSize,l),y;for(n&&(y=[]);(n||c.pos<t.ch)&&!c.eol();)c.start=c.pos,o=mr(a,c,l.state),n&&y.push(new Mn(c,o,cn(i.mode,l.state)));return n?y:new Mn(c,o,l.state)}function Ai(e,t){if(e)for(;;){var r=e.match(/(?:^|\s+)line-(background-)?(\S+)/);if(!r)break;e=e.slice(0,r.index)+e.slice(r.index+r[0].length);var n=r[1]?"bgClass":"textClass";t[n]==null?t[n]=r[2]:new RegExp("(?:^|\\s)"+r[2]+"(?:$|\\s)").test(t[n])||(t[n]+=" "+r[2])}return e}function Fr(e,t,r,n,i,a,o){var s=r.flattenSpans;s==null&&(s=e.options.flattenSpans);var l=0,c=null,y=new St(t,e.options.tabSize,n),C,F=e.options.addModeClass&&[null];for(t==""&&Ai(Ei(r,n.state),a);!y.eol();){if(y.pos>e.options.maxHighlightLength?(s=!1,o&&pr(e,t,n,y.pos),y.pos=t.length,C=null):C=Ai(mr(r,y,n.state,F),a),F){var L=F[0].name;L&&(C="m-"+(C?L+" "+C:L))}if(!s||c!=C){for(;l<y.start;)l=Math.min(y.start,l+5e3),i(l,c);c=C}y.start=y.pos}for(;l<y.pos;){var ue=Math.min(y.pos,l+5e3);i(ue,c),l=ue}}function Xn(e,t,r){for(var n,i,a=e.doc,o=r?-1:t-(e.doc.mode.innerMode?1e3:100),s=t;s>o;--s){if(s<=a.first)return a.first;var l=Xe(a,s-1),c=l.stateAfter;if(c&&(!r||s+(c instanceof fn?c.lookAhead:0)<=a.modeFrontier))return s;var y=k(l.text,null,e.options.tabSize);(i==null||n>y)&&(i=s-1,n=y)}return i}function Wr(e,t){if(e.modeFrontier=Math.min(e.modeFrontier,t),e.highlightFrontier<t-10)return;for(var r=e.first,n=t-1;n>r;n--){var i=Xe(e,n).stateAfter;if(i&&(!(i instanceof fn)||n+i.lookAhead<t)){r=n+1;break}}e.highlightFrontier=Math.min(e.highlightFrontier,r)}var xi=!1,hn=!1;function Ci(){xi=!0}function wi(){hn=!0}function gr(e,t,r){this.marker=e,this.from=t,this.to=r}function Ln(e,t){if(e)for(var r=0;r<e.length;++r){var n=e[r];if(n.marker==t)return n}}function _a(e,t){for(var r,n=0;n<e.length;++n)e[n]!=t&&(r||(r=[])).push(e[n]);return r}function zr(e,t){e.markedSpans=e.markedSpans?e.markedSpans.concat([t]):[t],t.marker.attachLine(e)}function qn(e,t,r){var n;if(e)for(var i=0;i<e.length;++i){var a=e[i],o=a.marker,s=a.from==null||(o.inclusiveLeft?a.from<=t:a.from<t);if(s||a.from==t&&o.type=="bookmark"&&(!r||!a.marker.insertLeft)){var l=a.to==null||(o.inclusiveRight?a.to>=t:a.to>t);(n||(n=[])).push(new gr(o,a.from,l?null:a.to))}}return n}function Qr(e,t,r){var n;if(e)for(var i=0;i<e.length;++i){var a=e[i],o=a.marker,s=a.to==null||(o.inclusiveRight?a.to>=t:a.to>t);if(s||a.from==t&&o.type=="bookmark"&&(!r||a.marker.insertLeft)){var l=a.from==null||(o.inclusiveLeft?a.from<=t:a.from<t);(n||(n=[])).push(new gr(o,l?null:a.from-t,a.to==null?null:a.to-t))}}return n}function Pn(e,t){if(t.full)return null;var r=In(e,t.from.line)&&Xe(e,t.from.line).markedSpans,n=In(e,t.to.line)&&Xe(e,t.to.line).markedSpans;if(!r&&!n)return null;var i=t.from.ch,a=t.to.ch,o=ut(t.from,t.to)==0,s=qn(r,i,o),l=Qr(n,a,o),c=t.text.length==1,y=Te(t.text).length+(c?i:0);if(s)for(var C=0;C<s.length;++C){var F=s[C];if(F.to==null){var L=Ln(l,F.marker);L?c&&(F.to=L.to==null?null:L.to+y):F.to=i}}if(l)for(var ue=0;ue<l.length;++ue){var Ee=l[ue];if(Ee.to!=null&&(Ee.to+=y),Ee.from==null){var Oe=Ln(s,Ee.marker);Oe||(Ee.from=y,c&&(s||(s=[])).push(Ee))}else Ee.from+=y,c&&(s||(s=[])).push(Ee)}s&&(s=$n(s)),l&&l!=s&&(l=$n(l));var _e=[s];if(!c){var He=t.text.length-2,Ue;if(He>0&&s)for(var Je=0;Je<s.length;++Je)s[Je].to==null&&(Ue||(Ue=[])).push(new gr(s[Je].marker,null,null));for(var at=0;at<He;++at)_e.push(Ue);_e.push(l)}return _e}function $n(e){for(var t=0;t<e.length;++t){var r=e[t];r.from!=null&&r.from==r.to&&r.marker.clearWhenEmpty!==!1&&e.splice(t--,1)}return e.length?e:null}function Si(e,t,r){var n=null;if(e.iter(t.line,r.line+1,function(L){if(L.markedSpans)for(var ue=0;ue<L.markedSpans.length;++ue){var Ee=L.markedSpans[ue].marker;Ee.readOnly&&(!n||q(n,Ee)==-1)&&(n||(n=[])).push(Ee)}}),!n)return null;for(var i=[{from:t,to:r}],a=0;a<n.length;++a)for(var o=n[a],s=o.find(0),l=0;l<i.length;++l){var c=i[l];if(ut(c.to,s.from)<0||ut(c.from,s.to)>0)continue;var y=[l,1],C=ut(c.from,s.from),F=ut(c.to,s.to);(C<0||!o.inclusiveLeft&&!C)&&y.push({from:c.from,to:s.from}),(F>0||!o.inclusiveRight&&!F)&&y.push({from:s.to,to:c.to}),i.splice.apply(i,y),l+=y.length-3}return i}function Hr(e){var t=e.markedSpans;if(!t)return;for(var r=0;r<t.length;++r)t[r].marker.detachLine(e);e.markedSpans=null}function er(e,t){if(!t)return;for(var r=0;r<t.length;++r)t[r].marker.attachLine(e);e.markedSpans=t}function vr(e){return e.inclusiveLeft?-1:0}function yn(e){return e.inclusiveRight?1:0}function Jr(e,t){var r=e.lines.length-t.lines.length;if(r!=0)return r;var n=e.find(),i=t.find(),a=ut(n.from,i.from)||vr(e)-vr(t);if(a)return-a;var o=ut(n.to,i.to)||yn(e)-yn(t);return o||t.id-e.id}function ki(e,t){var r=hn&&e.markedSpans,n;if(r)for(var i=void 0,a=0;a<r.length;++a)i=r[a],i.marker.collapsed&&(t?i.from:i.to)==null&&(!n||Jr(n,i.marker)<0)&&(n=i.marker);return n}function Mi(e){return ki(e,!0)}function Kr(e){return ki(e,!1)}function Ua(e,t){var r=hn&&e.markedSpans,n;if(r)for(var i=0;i<r.length;++i){var a=r[i];a.marker.collapsed&&(a.from==null||a.from<t)&&(a.to==null||a.to>t)&&(!n||Jr(n,a.marker)<0)&&(n=a.marker)}return n}function qi(e,t,r,n,i){var a=Xe(e,t),o=hn&&a.markedSpans;if(o)for(var s=0;s<o.length;++s){var l=o[s];if(!l.marker.collapsed)continue;var c=l.marker.find(0),y=ut(c.from,r)||vr(l.marker)-vr(i),C=ut(c.to,n)||yn(l.marker)-yn(i);if(y>=0&&C<=0||y<=0&&C>=0)continue;if(y<=0&&(l.marker.inclusiveRight&&i.inclusiveLeft?ut(c.to,r)>=0:ut(c.to,r)>0)||y>=0&&(l.marker.inclusiveRight&&i.inclusiveLeft?ut(c.from,n)<=0:ut(c.from,n)<0))return!0}}function et(e){for(var t;t=Mi(e);)e=t.find(-1,!0).line;return e}function ct(e){for(var t;t=Kr(e);)e=t.find(1,!0).line;return e}function dt(e){for(var t,r;t=Kr(e);)e=t.find(1,!0).line,(r||(r=[])).push(e);return r}function Et(e,t){var r=Xe(e,t),n=et(r);return r==n?t:gt(n)}function At(e,t){if(t>e.lastLine())return t;var r=Xe(e,t),n;if(!Ct(e,r))return t;for(;n=Kr(r);)r=n.find(1,!0).line;return gt(r)+1}function Ct(e,t){var r=hn&&t.markedSpans;if(r)for(var n=void 0,i=0;i<r.length;++i){if(n=r[i],!n.marker.collapsed)continue;if(n.from==null)return!0;if(n.marker.widgetNode)continue;if(n.from==0&&n.marker.inclusiveLeft&&Tt(e,t,n))return!0}}function Tt(e,t,r){if(r.to==null){var n=r.marker.find(1,!0);return Tt(e,n.line,Ln(n.line.markedSpans,r.marker))}if(r.marker.inclusiveRight&&r.to==t.text.length)return!0;for(var i=void 0,a=0;a<t.markedSpans.length;++a)if(i=t.markedSpans[a],i.marker.collapsed&&!i.marker.widgetNode&&i.from==r.to&&(i.to==null||i.to!=r.from)&&(i.marker.inclusiveLeft||r.marker.inclusiveRight)&&Tt(e,t,i))return!0}function kt(e){e=et(e);for(var t=0,r=e.parent,n=0;n<r.lines.length;++n){var i=r.lines[n];if(i==e)break;t+=i.height}for(var a=r.parent;a;r=a,a=r.parent)for(var o=0;o<a.children.length;++o){var s=a.children[o];if(s==r)break;t+=s.height}return t}function Ht(e){if(e.height==0)return 0;for(var t=e.text.length,r,n=e;r=Mi(n);){var i=r.find(0,!0);n=i.from.line,t+=i.from.ch-i.to.ch}for(n=e;r=Kr(n);){var a=r.find(0,!0);t-=n.text.length-a.from.ch,n=a.to.line,t+=n.text.length-a.to.ch}return t}function mn(e){var t=e.display,r=e.doc;t.maxLine=Xe(r,r.first),t.maxLineLength=Ht(t.maxLine),t.maxLineChanged=!0,r.iter(function(n){var i=Ht(n);i>t.maxLineLength&&(t.maxLineLength=i,t.maxLine=n)})}var wt=function(e,t,r){this.text=e,er(this,t),this.height=r?r(this):1};wt.prototype.lineNo=function(){return gt(this)},w(wt);function Nn(e,t,r,n){e.text=t,e.stateAfter&&(e.stateAfter=null),e.styles&&(e.styles=null),e.order!=null&&(e.order=null),Hr(e),er(e,r);var i=n?n(e):1;i!=e.height&&dn(e,i)}function Jt(e){e.parent=null,Hr(e)}var Bn={},_n={};function br(e,t){if(!e||/^\s*$/.test(e))return null;var r=t.addModeClass?_n:Bn;return r[e]||(r[e]=e.replace(/\S+/g,"cm-$&"))}function ja(e,t){var r=_("span",null,null,E?"padding-right: .1px":null),n={pre:_("pre",[r],"CodeMirror-line"),content:r,col:0,pos:0,cm:e,trailingSpace:!1,splitSpaces:e.getOption("lineWrapping")};t.measure={};for(var i=0;i<=(t.rest?t.rest.length:0);i++){var a=i?t.rest[i-1]:t.line,o=void 0;n.pos=0,n.addToken=Ss,Pt(e.display.measure)&&(o=$e(a,e.doc.direction))&&(n.addToken=Ms(n.addToken,o)),n.map=[];var s=t!=e.display.externalMeasured&>(a);Ds(a,n,jr(e,a,s)),a.styleClasses&&(a.styleClasses.bgClass&&(n.bgClass=W(a.styleClasses.bgClass,n.bgClass||"")),a.styleClasses.textClass&&(n.textClass=W(a.styleClasses.textClass,n.textClass||""))),n.map.length==0&&n.map.push(0,0,n.content.appendChild(ft(e.display.measure))),i==0?(t.measure.map=n.map,t.measure.cache={}):((t.measure.maps||(t.measure.maps=[])).push(n.map),(t.measure.caches||(t.measure.caches=[])).push({}))}if(E){var l=n.content.lastChild;(/\bcm-tab\b/.test(l.className)||l.querySelector&&l.querySelector(".cm-tab"))&&(n.content.className="cm-tab-wrap-hack")}return fe(e,"renderLine",e,t.line,n.pre),n.pre.className&&(n.textClass=W(n.pre.className,n.textClass||"")),n}function ws(e){var t=m("span","\u2022","cm-invalidchar");return t.title="\\u"+e.charCodeAt(0).toString(16),t.setAttribute("aria-label",t.title),t}function Ss(e,t,r,n,i,a,o){if(!t)return;var s=e.splitSpaces?ks(t,e.trailingSpace):t,l=e.cm.state.specialChars,c=!1,y;if(!l.test(t))e.col+=t.length,y=document.createTextNode(s),e.map.push(e.pos,e.pos+t.length,y),M&&S<9&&(c=!0),e.pos+=t.length;else{y=document.createDocumentFragment();for(var C=0;;){l.lastIndex=C;var F=l.exec(t),L=F?F.index-C:t.length-C;if(L){var ue=document.createTextNode(s.slice(C,C+L));M&&S<9?y.appendChild(m("span",[ue])):y.appendChild(ue),e.map.push(e.pos,e.pos+L,ue),e.col+=L,e.pos+=L}if(!F)break;C+=L+1;var Ee=void 0;if(F[0]==" "){var Oe=e.cm.options.tabSize,_e=Oe-e.col%Oe;Ee=y.appendChild(m("span",G(_e),"cm-tab")),Ee.setAttribute("role","presentation"),Ee.setAttribute("cm-text"," "),e.col+=_e}else F[0]=="\r"||F[0]==`
|
|
`?(Ee=y.appendChild(m("span",F[0]=="\r"?"\u240D":"\u2424","cm-invalidchar")),Ee.setAttribute("cm-text",F[0]),e.col+=1):(Ee=e.cm.options.specialCharPlaceholder(F[0]),Ee.setAttribute("cm-text",F[0]),M&&S<9?y.appendChild(m("span",[Ee])):y.appendChild(Ee),e.col+=1);e.map.push(e.pos,e.pos+1,Ee),e.pos++}}if(e.trailingSpace=s.charCodeAt(t.length-1)==32,r||n||i||c||a||o){var He=r||"";n&&(He+=n),i&&(He+=i);var Ue=m("span",[y],He,a);if(o)for(var Je in o)o.hasOwnProperty(Je)&&Je!="style"&&Je!="class"&&Ue.setAttribute(Je,o[Je]);return e.content.appendChild(Ue)}e.content.appendChild(y)}function ks(e,t){if(e.length>1&&!/ /.test(e))return e;for(var r=t,n="",i=0;i<e.length;i++){var a=e.charAt(i);a==" "&&r&&(i==e.length-1||e.charCodeAt(i+1)==32)&&(a="\xA0"),n+=a,r=a==" "}return n}function Ms(e,t){return function(r,n,i,a,o,s,l){i=i?i+" cm-force-border":"cm-force-border";for(var c=r.pos,y=c+n.length;;){for(var C=void 0,F=0;F<t.length&&!(C=t[F],C.to>c&&C.from<=c);F++);if(C.to>=y)return e(r,n,i,a,o,s,l);e(r,n.slice(0,C.to-c),i,a,null,s,l),a=null,n=n.slice(C.to-c),c=C.to}}}function Fa(e,t,r,n){var i=!n&&r.widgetNode;i&&e.map.push(e.pos,e.pos+t,i),!n&&e.cm.display.input.needsContentAttribute&&(i||(i=e.content.appendChild(document.createElement("span"))),i.setAttribute("cm-marker",r.id)),i&&(e.cm.display.input.setUneditable(i),e.content.appendChild(i)),e.pos+=t,e.trailingSpace=!1}function Ds(e,t,r){var n=e.markedSpans,i=e.text,a=0;if(!n){for(var o=1;o<r.length;o+=2)t.addToken(t,i.slice(a,a=r[o]),br(r[o+1],t.cm.options));return}for(var s=i.length,l=0,c=1,y="",C,F,L=0,ue,Ee,Oe,_e,He;;){if(L==l){ue=Ee=Oe=F="",He=null,_e=null,L=Infinity;for(var Ue=[],Je=void 0,at=0;at<n.length;++at){var tt=n[at],ht=tt.marker;if(ht.type=="bookmark"&&tt.from==l&&ht.widgetNode)Ue.push(ht);else if(tt.from<=l&&(tt.to==null||tt.to>l||ht.collapsed&&tt.to==l&&tt.from==l)){if(tt.to!=null&&tt.to!=l&&L>tt.to&&(L=tt.to,Ee=""),ht.className&&(ue+=" "+ht.className),ht.css&&(F=(F?F+";":"")+ht.css),ht.startStyle&&tt.from==l&&(Oe+=" "+ht.startStyle),ht.endStyle&&tt.to==L&&(Je||(Je=[])).push(ht.endStyle,tt.to),ht.title&&((He||(He={})).title=ht.title),ht.attributes)for(var xt in ht.attributes)(He||(He={}))[xt]=ht.attributes[xt];ht.collapsed&&(!_e||Jr(_e.marker,ht)<0)&&(_e=tt)}else tt.from>l&&L>tt.from&&(L=tt.from)}if(Je)for(var Ut=0;Ut<Je.length;Ut+=2)Je[Ut+1]==L&&(Ee+=" "+Je[Ut]);if(!_e||_e.from==l)for(var Dt=0;Dt<Ue.length;++Dt)Fa(t,0,Ue[Dt]);if(_e&&(_e.from||0)==l){if(Fa(t,(_e.to==null?s+1:_e.to)-l,_e.marker,_e.from==null),_e.to==null)return;_e.to==l&&(_e=!1)}}if(l>=s)break;for(var an=Math.min(s,L);;){if(y){var $t=l+y.length;if(!_e){var It=$t>an?y.slice(0,an-l):y;t.addToken(t,It,C?C+ue:ue,Oe,l+It.length==L?Ee:"",F,He)}if($t>=an){y=y.slice(an-l),l=an;break}l=$t,Oe=""}y=i.slice(a,a=r[c++]),C=br(r[c++],t.cm.options)}}}function Wa(e,t,r){this.line=t,this.rest=dt(t),this.size=this.rest?gt(Te(this.rest))-r+1:1,this.node=this.text=null,this.hidden=Ct(e,t)}function Di(e,t,r){for(var n=[],i,a=t;a<r;a=i){var o=new Wa(e.doc,Xe(e.doc,a),a);i=a+o.size,n.push(o)}return n}var yr=null;function Rs(e){yr?yr.ops.push(e):e.ownsGroup=yr={ops:[e],delayedCallbacks:[]}}function Ts(e){var t=e.delayedCallbacks,r=0;do{for(;r<t.length;r++)t[r].call(null);for(var n=0;n<e.ops.length;n++){var i=e.ops[n];if(i.cursorActivityHandlers)for(;i.cursorActivityCalled<i.cursorActivityHandlers.length;)i.cursorActivityHandlers[i.cursorActivityCalled++].call(null,i.cm)}}while(r<t.length)}function Os(e,t){var r=e.ownsGroup;if(!r)return;try{Ts(r)}finally{yr=null,t(r)}}var Gr=null;function zt(e,t){var r=rt(e,t);if(!r.length)return;var n=Array.prototype.slice.call(arguments,2),i;yr?i=yr.delayedCallbacks:Gr?i=Gr:(i=Gr=[],setTimeout(Is,0));for(var a=function(s){i.push(function(){return r[s].apply(null,n)})},o=0;o<r.length;++o)a(o)}function Is(){var e=Gr;Gr=null;for(var t=0;t<e.length;++t)e[t]()}function za(e,t,r,n){for(var i=0;i<t.changes.length;i++){var a=t.changes[i];a=="text"?Ps(e,t):a=="gutter"?Ha(e,t,r,n):a=="class"?$i(e,t):a=="widget"&&Ns(e,t,n)}t.changes=null}function Zr(e){return e.node==e.text&&(e.node=m("div",null,null,"position: relative"),e.text.parentNode&&e.text.parentNode.replaceChild(e.node,e.text),e.node.appendChild(e.text),M&&S<8&&(e.node.style.zIndex=2)),e.node}function Ls(e,t){var r=t.bgClass?t.bgClass+" "+(t.line.bgClass||""):t.line.bgClass;if(r&&(r+=" CodeMirror-linebackground"),t.background)r?t.background.className=r:(t.background.parentNode.removeChild(t.background),t.background=null);else if(r){var n=Zr(t);t.background=n.insertBefore(m("div",null,r),n.firstChild),e.display.input.setUneditable(t.background)}}function Qa(e,t){var r=e.display.externalMeasured;return r&&r.line==t.line?(e.display.externalMeasured=null,t.measure=r.measure,r.built):ja(e,t)}function Ps(e,t){var r=t.text.className,n=Qa(e,t);t.text==t.node&&(t.node=n.pre),t.text.parentNode.replaceChild(n.pre,t.text),t.text=n.pre,n.bgClass!=t.bgClass||n.textClass!=t.textClass?(t.bgClass=n.bgClass,t.textClass=n.textClass,$i(e,t)):r&&(t.text.className=r)}function $i(e,t){Ls(e,t),t.line.wrapClass?Zr(t).className=t.line.wrapClass:t.node!=t.text&&(t.node.className="");var r=t.textClass?t.textClass+" "+(t.line.textClass||""):t.line.textClass;t.text.className=r||""}function Ha(e,t,r,n){if(t.gutter&&(t.node.removeChild(t.gutter),t.gutter=null),t.gutterBackground&&(t.node.removeChild(t.gutterBackground),t.gutterBackground=null),t.line.gutterClass){var i=Zr(t);t.gutterBackground=m("div",null,"CodeMirror-gutter-background "+t.line.gutterClass,"left: "+(e.options.fixedGutter?n.fixedPos:-n.gutterTotalWidth)+"px; width: "+n.gutterTotalWidth+"px"),e.display.input.setUneditable(t.gutterBackground),i.insertBefore(t.gutterBackground,t.text)}var a=t.line.gutterMarkers;if(e.options.lineNumbers||a){var o=Zr(t),s=t.gutter=m("div",null,"CodeMirror-gutter-wrapper","left: "+(e.options.fixedGutter?n.fixedPos:-n.gutterTotalWidth)+"px");if(e.display.input.setUneditable(s),o.insertBefore(s,t.text),t.line.gutterClass&&(s.className+=" "+t.line.gutterClass),e.options.lineNumbers&&(!a||!a["CodeMirror-linenumbers"])&&(t.lineNumber=s.appendChild(m("div",Zn(e.options,r),"CodeMirror-linenumber CodeMirror-gutter-elt","left: "+n.gutterLeft["CodeMirror-linenumbers"]+"px; width: "+e.display.lineNumInnerWidth+"px"))),a)for(var l=0;l<e.display.gutterSpecs.length;++l){var c=e.display.gutterSpecs[l].className,y=a.hasOwnProperty(c)&&a[c];y&&s.appendChild(m("div",[y],"CodeMirror-gutter-elt","left: "+n.gutterLeft[c]+"px; width: "+n.gutterWidth[c]+"px"))}}}function Ns(e,t,r){t.alignable&&(t.alignable=null);for(var n=re("CodeMirror-linewidget"),i=t.node.firstChild,a=void 0;i;i=a)a=i.nextSibling,n.test(i.className)&&t.node.removeChild(i);Ja(e,t,r)}function Bs(e,t,r,n){var i=Qa(e,t);return t.text=t.node=i.pre,i.bgClass&&(t.bgClass=i.bgClass),i.textClass&&(t.textClass=i.textClass),$i(e,t),Ha(e,t,r,n),Ja(e,t,n),t.node}function Ja(e,t,r){if(Ka(e,t.line,t,r,!0),t.rest)for(var n=0;n<t.rest.length;n++)Ka(e,t.rest[n],t,r,!1)}function Ka(e,t,r,n,i){if(!t.widgets)return;for(var a=Zr(r),o=0,s=t.widgets;o<s.length;++o){var l=s[o],c=m("div",[l.node],"CodeMirror-linewidget"+(l.className?" "+l.className:""));l.handleMouseEvents||c.setAttribute("cm-ignore-events","true"),_s(l,c,r,n),e.display.input.setUneditable(c),i&&l.above?a.insertBefore(c,r.gutter||r.text):a.appendChild(c),zt(l,"redraw")}}function _s(e,t,r,n){if(e.noHScroll){(r.alignable||(r.alignable=[])).push(t);var i=n.wrapperWidth;t.style.left=n.fixedPos+"px",e.coverGutter||(i-=n.gutterTotalWidth,t.style.paddingLeft=n.gutterTotalWidth+"px"),t.style.width=i+"px"}e.coverGutter&&(t.style.zIndex=5,t.style.position="relative",e.noHScroll||(t.style.marginLeft=-n.gutterTotalWidth+"px"))}function Yr(e){if(e.height!=null)return e.height;var t=e.doc.cm;if(!t)return 0;if(!b(document.body,e.node)){var r="position: relative;";e.coverGutter&&(r+="margin-left: -"+t.display.gutters.offsetWidth+"px;"),e.noHScroll&&(r+="width: "+t.display.wrapper.clientWidth+"px;"),P(t.display.measure,m("div",[e.node],null,r))}return e.height=e.node.parentNode.offsetHeight}function Rn(e,t){for(var r=B(t);r!=e.wrapper;r=r.parentNode)if(!r||r.nodeType==1&&r.getAttribute("cm-ignore-events")=="true"||r.parentNode==e.sizer&&r!=e.mover)return!0}function Ri(e){return e.lineSpace.offsetTop}function ea(e){return e.mover.offsetHeight-e.lineSpace.offsetHeight}function Ga(e){if(e.cachedPaddingH)return e.cachedPaddingH;var t=P(e.measure,m("pre","x","CodeMirror-line-like")),r=window.getComputedStyle?window.getComputedStyle(t):t.currentStyle,n={left:parseInt(r.paddingLeft),right:parseInt(r.paddingRight)};return!isNaN(n.left)&&!isNaN(n.right)&&(e.cachedPaddingH=n),n}function En(e){return Se-e.display.nativeBarWidth}function tr(e){return e.display.scroller.clientWidth-En(e)-e.display.barWidth}function ta(e){return e.display.scroller.clientHeight-En(e)-e.display.barHeight}function Us(e,t,r){var n=e.options.lineWrapping,i=n&&tr(e);if(!t.measure.heights||n&&t.measure.width!=i){var a=t.measure.heights=[];if(n){t.measure.width=i;for(var o=t.text.firstChild.getClientRects(),s=0;s<o.length-1;s++){var l=o[s],c=o[s+1];Math.abs(l.bottom-c.bottom)>2&&a.push((l.bottom+c.top)/2-r.top)}}a.push(r.bottom-r.top)}}function Za(e,t,r){if(e.line==t)return{map:e.measure.map,cache:e.measure.cache};for(var n=0;n<e.rest.length;n++)if(e.rest[n]==t)return{map:e.measure.maps[n],cache:e.measure.caches[n]};for(var i=0;i<e.rest.length;i++)if(gt(e.rest[i])>r)return{map:e.measure.maps[i],cache:e.measure.caches[i],before:!0}}function js(e,t){t=et(t);var r=gt(t),n=e.display.externalMeasured=new Wa(e.doc,t,r);n.lineN=r;var i=n.built=ja(e,n);return n.text=i.pre,P(e.display.lineMeasure,i.pre),n}function Ya(e,t,r,n){return An(e,Er(e,t),r,n)}function na(e,t){if(t>=e.display.viewFrom&&t<e.display.viewTo)return e.display.view[ir(e,t)];var r=e.display.externalMeasured;if(r&&t>=r.lineN&&t<r.lineN+r.size)return r}function Er(e,t){var r=gt(t),n=na(e,r);n&&!n.text?n=null:n&&n.changes&&(za(e,n,r,la(e)),e.curOp.forceUpdate=!0),n||(n=js(e,t));var i=Za(n,t,r);return{line:t,view:n,rect:null,map:i.map,cache:i.cache,before:i.before,hasHeights:!1}}function An(e,t,r,n,i){t.before&&(r=-1);var a=r+(n||""),o;return t.cache.hasOwnProperty(a)?o=t.cache[a]:(t.rect||(t.rect=t.view.text.getBoundingClientRect()),t.hasHeights||(Us(e,t.view,t.rect),t.hasHeights=!0),o=Ws(e,t,r,n),o.bogus||(t.cache[a]=o)),{left:o.left,right:o.right,top:i?o.rtop:o.top,bottom:i?o.rbottom:o.bottom}}var Va={left:0,right:0,top:0,bottom:0};function Xa(e,t,r){for(var n,i,a,o,s,l,c=0;c<e.length;c+=3)if(s=e[c],l=e[c+1],t<s?(i=0,a=1,o="left"):t<l?(i=t-s,a=i+1):(c==e.length-3||t==l&&e[c+3]>t)&&(a=l-s,i=a-1,t>=l&&(o="right")),i!=null){if(n=e[c+2],s==l&&r==(n.insertLeft?"left":"right")&&(o=r),r=="left"&&i==0)for(;c&&e[c-2]==e[c-3]&&e[c-1].insertLeft;)n=e[(c-=3)+2],o="left";if(r=="right"&&i==l-s)for(;c<e.length-3&&e[c+3]==e[c+4]&&!e[c+5].insertLeft;)n=e[(c+=3)+2],o="right";break}return{node:n,start:i,end:a,collapse:o,coverStart:s,coverEnd:l}}function Fs(e,t){var r=Va;if(t=="left")for(var n=0;n<e.length&&!((r=e[n]).left!=r.right);n++);else for(var i=e.length-1;i>=0&&!((r=e[i]).left!=r.right);i--);return r}function Ws(e,t,r,n){var i=Xa(t.map,r,n),a=i.node,o=i.start,s=i.end,l=i.collapse,c;if(a.nodeType==3){for(var y=0;y<4;y++){for(;o&&Ce(t.line.text.charAt(i.coverStart+o));)--o;for(;i.coverStart+s<i.coverEnd&&Ce(t.line.text.charAt(i.coverStart+s));)++s;if(M&&S<9&&o==0&&s==i.coverEnd-i.coverStart?c=a.parentNode.getBoundingClientRect():c=Fs(O(a,o,s).getClientRects(),n),c.left||c.right||o==0)break;s=o,o=o-1,l="right"}M&&S<11&&(c=zs(e.display.measure,c))}else{o>0&&(l=n="right");var C;e.options.lineWrapping&&(C=a.getClientRects()).length>1?c=C[n=="right"?C.length-1:0]:c=a.getBoundingClientRect()}if(M&&S<9&&!o&&(!c||!c.left&&!c.right)){var F=a.parentNode.getClientRects()[0];F?c={left:F.left,right:F.left+xr(e.display),top:F.top,bottom:F.bottom}:c=Va}for(var L=c.top-t.rect.top,ue=c.bottom-t.rect.top,Ee=(L+ue)/2,Oe=t.view.measure.heights,_e=0;_e<Oe.length-1&&!(Ee<Oe[_e]);_e++);var He=_e?Oe[_e-1]:0,Ue=Oe[_e],Je={left:(l=="right"?c.right:c.left)-t.rect.left,right:(l=="left"?c.left:c.right)-t.rect.left,top:He,bottom:Ue};return!c.left&&!c.right&&(Je.bogus=!0),e.options.singleCursorHeightPerLine||(Je.rtop=L,Je.rbottom=ue),Je}function zs(e,t){if(!window.screen||screen.logicalXDPI==null||screen.logicalXDPI==screen.deviceXDPI||!Zt(e))return t;var r=screen.logicalXDPI/screen.deviceXDPI,n=screen.logicalYDPI/screen.deviceYDPI;return{left:t.left*r,right:t.right*r,top:t.top*n,bottom:t.bottom*n}}function qa(e){if(e.measure&&(e.measure.cache={},e.measure.heights=null,e.rest))for(var t=0;t<e.rest.length;t++)e.measure.caches[t]={}}function $a(e){e.display.externalMeasure=null,Z(e.display.lineMeasure);for(var t=0;t<e.display.view.length;t++)qa(e.display.view[t])}function Vr(e){$a(e),e.display.cachedCharWidth=e.display.cachedTextHeight=e.display.cachedPaddingH=null,e.options.lineWrapping||(e.display.maxLineChanged=!0),e.display.lineNumChars=null}function eo(){return N&&D?-(document.body.getBoundingClientRect().left-parseInt(getComputedStyle(document.body).marginLeft)):window.pageXOffset||(document.documentElement||document.body).scrollLeft}function to(){return N&&D?-(document.body.getBoundingClientRect().top-parseInt(getComputedStyle(document.body).marginTop)):window.pageYOffset||(document.documentElement||document.body).scrollTop}function ra(e){var t=0;if(e.widgets)for(var r=0;r<e.widgets.length;++r)e.widgets[r].above&&(t+=Yr(e.widgets[r]));return t}function Ti(e,t,r,n,i){if(!i){var a=ra(t);r.top+=a,r.bottom+=a}if(n=="line")return r;n||(n="local");var o=kt(t);if(n=="local"?o+=Ri(e.display):o-=e.display.viewOffset,n=="page"||n=="window"){var s=e.display.lineSpace.getBoundingClientRect();o+=s.top+(n=="window"?0:to());var l=s.left+(n=="window"?0:eo());r.left+=l,r.right+=l}return r.top+=o,r.bottom+=o,r}function no(e,t,r){if(r=="div")return t;var n=t.left,i=t.top;if(r=="page")n-=eo(),i-=to();else if(r=="local"||!r){var a=e.display.sizer.getBoundingClientRect();n+=a.left,i+=a.top}var o=e.display.lineSpace.getBoundingClientRect();return{left:n-o.left,top:i-o.top}}function ia(e,t,r,n,i){return n||(n=Xe(e.doc,t.line)),Ti(e,n,Ya(e,n,t.ch,i),r)}function gn(e,t,r,n,i,a){n=n||Xe(e.doc,t.line),i||(i=Er(e,n));function o(ue,Ee){var Oe=An(e,i,ue,Ee?"right":"left",a);return Ee?Oe.left=Oe.right:Oe.right=Oe.left,Ti(e,n,Oe,r)}var s=$e(n,e.doc.direction),l=t.ch,c=t.sticky;if(l>=n.text.length?(l=n.text.length,c="before"):l<=0&&(l=0,c="after"),!s)return o(c=="before"?l-1:l,c=="before");function y(ue,Ee,Oe){var _e=s[Ee],He=_e.level==1;return o(Oe?ue-1:ue,He!=Oe)}var C=Ke(s,l,c),F=Ze,L=y(l,C,c=="before");return F!=null&&(L.other=y(l,F,c!="before")),L}function ro(e,t){var r=0;t=st(e.doc,t),e.options.lineWrapping||(r=xr(e.display)*t.ch);var n=Xe(e.doc,t.line),i=kt(n)+Ri(e.display);return{left:r,right:r,top:i,bottom:i+n.height}}function aa(e,t,r,n,i){var a=Me(e,t,r);return a.xRel=i,n&&(a.outside=n),a}function oa(e,t,r){var n=e.doc;if(r+=e.display.viewOffset,r<0)return aa(n.first,0,null,-1,-1);var i=kn(n,r),a=n.first+n.size-1;if(i>a)return aa(n.first+n.size-1,Xe(n,a).text.length,null,1,1);t<0&&(t=0);for(var o=Xe(n,i);;){var s=Qs(e,o,i,t,r),l=Ua(o,s.ch+(s.xRel>0||s.outside>0?1:0));if(!l)return s;var c=l.find(1);if(c.line==i)return c;o=Xe(n,i=c.line)}}function io(e,t,r,n){n-=ra(t);var i=t.text.length,a=qe(function(o){return An(e,r,o-1).bottom<=n},i,0);return i=qe(function(o){return An(e,r,o).top>n},a,i),{begin:a,end:i}}function ao(e,t,r,n){r||(r=Er(e,t));var i=Ti(e,t,An(e,r,n),"line").top;return io(e,t,r,i)}function sa(e,t,r,n){return e.bottom<=r?!1:e.top>r?!0:(n?e.left:e.right)>t}function Qs(e,t,r,n,i){i-=kt(t);var a=Er(e,t),o=ra(t),s=0,l=t.text.length,c=!0,y=$e(t,e.doc.direction);if(y){var C=(e.options.lineWrapping?Js:Hs)(e,t,r,a,y,n,i);c=C.level!=1,s=c?C.from:C.to-1,l=c?C.to:C.from-1}var F=null,L=null,ue=qe(function(at){var tt=An(e,a,at);return tt.top+=o,tt.bottom+=o,sa(tt,n,i,!1)?(tt.top<=i&&tt.left<=n&&(F=at,L=tt),!0):!1},s,l),Ee,Oe,_e=!1;if(L){var He=n-L.left<L.right-n,Ue=He==c;ue=F+(Ue?0:1),Oe=Ue?"after":"before",Ee=He?L.left:L.right}else{!c&&(ue==l||ue==s)&&ue++,Oe=ue==0?"after":ue==t.text.length?"before":An(e,a,ue-(c?1:0)).bottom+o<=i==c?"after":"before";var Je=gn(e,Me(r,ue,Oe),"line",t,a);Ee=Je.left,_e=i<Je.top?-1:i>=Je.bottom?1:0}return ue=ke(t.text,ue,1),aa(r,ue,Oe,_e,n-Ee)}function Hs(e,t,r,n,i,a,o){var s=qe(function(C){var F=i[C],L=F.level!=1;return sa(gn(e,Me(r,L?F.to:F.from,L?"before":"after"),"line",t,n),a,o,!0)},0,i.length-1),l=i[s];if(s>0){var c=l.level!=1,y=gn(e,Me(r,c?l.from:l.to,c?"after":"before"),"line",t,n);sa(y,a,o,!0)&&y.top>o&&(l=i[s-1])}return l}function Js(e,t,r,n,i,a,o){var s=io(e,t,n,o),l=s.begin,c=s.end;/\s/.test(t.text.charAt(c-1))&&c--;for(var y=null,C=null,F=0;F<i.length;F++){var L=i[F];if(L.from>=c||L.to<=l)continue;var ue=L.level!=1,Ee=An(e,n,ue?Math.min(c,L.to)-1:Math.max(l,L.from)).right,Oe=Ee<a?a-Ee+1e9:Ee-a;(!y||C>Oe)&&(y=L,C=Oe)}return y||(y=i[i.length-1]),y.from<l&&(y={from:l,to:y.to,level:y.level}),y.to>c&&(y={from:y.from,to:c,level:y.level}),y}var nr;function Ar(e){if(e.cachedTextHeight!=null)return e.cachedTextHeight;if(nr==null){nr=m("pre",null,"CodeMirror-line-like");for(var t=0;t<49;++t)nr.appendChild(document.createTextNode("x")),nr.appendChild(m("br"));nr.appendChild(document.createTextNode("x"))}P(e.measure,nr);var r=nr.offsetHeight/50;return r>3&&(e.cachedTextHeight=r),Z(e.measure),r||1}function xr(e){if(e.cachedCharWidth!=null)return e.cachedCharWidth;var t=m("span","xxxxxxxxxx"),r=m("pre",[t],"CodeMirror-line-like");P(e.measure,r);var n=t.getBoundingClientRect(),i=(n.right-n.left)/10;return i>2&&(e.cachedCharWidth=i),i||10}function la(e){for(var t=e.display,r={},n={},i=t.gutters.clientLeft,a=t.gutters.firstChild,o=0;a;a=a.nextSibling,++o){var s=e.display.gutterSpecs[o].className;r[s]=a.offsetLeft+a.clientLeft+i,n[s]=a.clientWidth}return{fixedPos:ua(t),gutterTotalWidth:t.gutters.offsetWidth,gutterLeft:r,gutterWidth:n,wrapperWidth:t.wrapper.clientWidth}}function ua(e){return e.scroller.getBoundingClientRect().left-e.sizer.getBoundingClientRect().left}function oo(e){var t=Ar(e.display),r=e.options.lineWrapping,n=r&&Math.max(5,e.display.scroller.clientWidth/xr(e.display)-3);return function(i){if(Ct(e.doc,i))return 0;var a=0;if(i.widgets)for(var o=0;o<i.widgets.length;o++)i.widgets[o].height&&(a+=i.widgets[o].height);return r?a+(Math.ceil(i.text.length/n)||1)*t:a+t}}function ca(e){var t=e.doc,r=oo(e);t.iter(function(n){var i=r(n);i!=n.height&&dn(n,i)})}function rr(e,t,r,n){var i=e.display;if(!r&&B(t).getAttribute("cm-not-content")=="true")return null;var a,o,s=i.lineSpace.getBoundingClientRect();try{a=t.clientX-s.left,o=t.clientY-s.top}catch(C){return null}var l=oa(e,a,o),c;if(n&&l.xRel>0&&(c=Xe(e.doc,l.line).text).length==l.ch){var y=k(c,c.length,e.options.tabSize)-c.length;l=Me(l.line,Math.max(0,Math.round((a-Ga(e.display).left)/xr(e.display))-y))}return l}function ir(e,t){if(t>=e.display.viewTo)return null;if(t-=e.display.viewFrom,t<0)return null;for(var r=e.display.view,n=0;n<r.length;n++)if(t-=r[n].size,t<0)return n}function Xt(e,t,r,n){t==null&&(t=e.doc.first),r==null&&(r=e.doc.first+e.doc.size),n||(n=0);var i=e.display;if(n&&r<i.viewTo&&(i.updateLineNumbers==null||i.updateLineNumbers>t)&&(i.updateLineNumbers=t),e.curOp.viewChanged=!0,t>=i.viewTo)hn&&Et(e.doc,t)<i.viewTo&&jn(e);else if(r<=i.viewFrom)hn&&At(e.doc,r+n)>i.viewFrom?jn(e):(i.viewFrom+=n,i.viewTo+=n);else if(t<=i.viewFrom&&r>=i.viewTo)jn(e);else if(t<=i.viewFrom){var a=Oi(e,r,r+n,1);a?(i.view=i.view.slice(a.index),i.viewFrom=a.lineN,i.viewTo+=n):jn(e)}else if(r>=i.viewTo){var o=Oi(e,t,t,-1);o?(i.view=i.view.slice(0,o.index),i.viewTo=o.lineN):jn(e)}else{var s=Oi(e,t,t,-1),l=Oi(e,r,r+n,1);s&&l?(i.view=i.view.slice(0,s.index).concat(Di(e,s.lineN,l.lineN)).concat(i.view.slice(l.index)),i.viewTo+=n):jn(e)}var c=i.externalMeasured;c&&(r<c.lineN?c.lineN+=n:t<c.lineN+c.size&&(i.externalMeasured=null))}function Un(e,t,r){e.curOp.viewChanged=!0;var n=e.display,i=e.display.externalMeasured;if(i&&t>=i.lineN&&t<i.lineN+i.size&&(n.externalMeasured=null),t<n.viewFrom||t>=n.viewTo)return;var a=n.view[ir(e,t)];if(a.node==null)return;var o=a.changes||(a.changes=[]);q(o,r)==-1&&o.push(r)}function jn(e){e.display.viewFrom=e.display.viewTo=e.doc.first,e.display.view=[],e.display.viewOffset=0}function Oi(e,t,r,n){var i=ir(e,t),a,o=e.display.view;if(!hn||r==e.doc.first+e.doc.size)return{index:i,lineN:r};for(var s=e.display.viewFrom,l=0;l<i;l++)s+=o[l].size;if(s!=t){if(n>0){if(i==o.length-1)return null;a=s+o[i].size-t,i++}else a=s-t;t+=a,r+=a}for(;Et(e.doc,r)!=r;){if(i==(n<0?0:o.length-1))return null;r+=n*o[i-(n<0?1:0)].size,i+=n}return{index:i,lineN:r}}function Ks(e,t,r){var n=e.display,i=n.view;i.length==0||t>=n.viewTo||r<=n.viewFrom?(n.view=Di(e,t,r),n.viewFrom=t):(n.viewFrom>t?n.view=Di(e,t,n.viewFrom).concat(n.view):n.viewFrom<t&&(n.view=n.view.slice(ir(e,t))),n.viewFrom=t,n.viewTo<r?n.view=n.view.concat(Di(e,n.viewTo,r)):n.viewTo>r&&(n.view=n.view.slice(0,ir(e,r)))),n.viewTo=r}function so(e){for(var t=e.display.view,r=0,n=0;n<t.length;n++){var i=t[n];!i.hidden&&(!i.node||i.changes)&&++r}return r}function Xr(e){e.display.input.showSelection(e.display.input.prepareSelection())}function lo(e,t){t===void 0&&(t=!0);for(var r=e.doc,n={},i=n.cursors=document.createDocumentFragment(),a=n.selection=document.createDocumentFragment(),o=0;o<r.sel.ranges.length;o++){if(!t&&o==r.sel.primIndex)continue;var s=r.sel.ranges[o];if(s.from().line>=e.display.viewTo||s.to().line<e.display.viewFrom)continue;var l=s.empty();(l||e.options.showCursorWhenSelecting)&&uo(e,s.head,i),l||Gs(e,s,a)}return n}function uo(e,t,r){var n=gn(e,t,"div",null,null,!e.options.singleCursorHeightPerLine),i=r.appendChild(m("div","\xA0","CodeMirror-cursor"));if(i.style.left=n.left+"px",i.style.top=n.top+"px",i.style.height=Math.max(0,n.bottom-n.top)*e.options.cursorHeight+"px",n.other){var a=r.appendChild(m("div","\xA0","CodeMirror-cursor CodeMirror-secondarycursor"));a.style.display="",a.style.left=n.other.left+"px",a.style.top=n.other.top+"px",a.style.height=(n.other.bottom-n.other.top)*.85+"px"}}function Ii(e,t){return e.top-t.top||e.left-t.left}function Gs(e,t,r){var n=e.display,i=e.doc,a=document.createDocumentFragment(),o=Ga(e.display),s=o.left,l=Math.max(n.sizerWidth,tr(e)-n.sizer.offsetLeft)-o.right,c=i.direction=="ltr";function y(Ue,Je,at,tt){Je<0&&(Je=0),Je=Math.round(Je),tt=Math.round(tt),a.appendChild(m("div",null,"CodeMirror-selected","position: absolute; left: "+Ue+`px;
|
|
top: `+Je+"px; width: "+(at==null?l-Ue:at)+`px;
|
|
height: `+(tt-Je)+"px"))}function C(Ue,Je,at){var tt=Xe(i,Ue),ht=tt.text.length,xt,Ut;function Dt(It,en){return ia(e,Me(Ue,It),"div",tt,en)}function an(It,en,Qt){var Nt=ao(e,tt,null,It),Lt=en=="ltr"==(Qt=="after")?"left":"right",Rt=Qt=="after"?Nt.begin:Nt.end-(/\s/.test(tt.text.charAt(Nt.end-1))?2:1);return Dt(Rt,Lt)[Lt]}var $t=$e(tt,i.direction);return Ve($t,Je||0,at==null?ht:at,function(It,en,Qt,Nt){var Lt=Qt=="ltr",Rt=Dt(It,Lt?"left":"right"),tn=Dt(en-1,Lt?"right":"left"),Nr=Je==null&&It==0,Jn=at==null&&en==ht,Gt=Nt==0,xn=!$t||Nt==$t.length-1;if(tn.top-Rt.top<=3){var jt=(c?Nr:Jn)&&Gt,Na=(c?Jn:Nr)&&xn,On=jt?s:(Lt?Rt:tn).left,ur=Na?l:(Lt?tn:Rt).right;y(On,Rt.top,ur-On,Rt.bottom)}else{var cr,Vt,Br,Ba;Lt?(cr=c&&Nr&&Gt?s:Rt.left,Vt=c?l:an(It,Qt,"before"),Br=c?s:an(en,Qt,"after"),Ba=c&&Jn&&xn?l:tn.right):(cr=c?an(It,Qt,"before"):s,Vt=!c&&Nr&&Gt?l:Rt.right,Br=!c&&Jn&&xn?s:tn.left,Ba=c?an(en,Qt,"after"):l),y(cr,Rt.top,Vt-cr,Rt.bottom),Rt.bottom<tn.top&&y(s,Rt.bottom,null,tn.top),y(Br,tn.top,Ba-Br,tn.bottom)}(!xt||Ii(Rt,xt)<0)&&(xt=Rt),Ii(tn,xt)<0&&(xt=tn),(!Ut||Ii(Rt,Ut)<0)&&(Ut=Rt),Ii(tn,Ut)<0&&(Ut=tn)}),{start:xt,end:Ut}}var F=t.from(),L=t.to();if(F.line==L.line)C(F.line,F.ch,L.ch);else{var ue=Xe(i,F.line),Ee=Xe(i,L.line),Oe=et(ue)==et(Ee),_e=C(F.line,F.ch,Oe?ue.text.length+1:null).end,He=C(L.line,Oe?0:null,L.ch).start;Oe&&(_e.top<He.top-2?(y(_e.right,_e.top,null,_e.bottom),y(s,He.top,He.left,He.bottom)):y(_e.right,_e.top,He.left-_e.right,_e.bottom)),_e.bottom<He.top&&y(s,_e.bottom,null,He.top)}r.appendChild(a)}function da(e){if(!e.state.focused)return;var t=e.display;clearInterval(t.blinker);var r=!0;t.cursorDiv.style.visibility="",e.options.cursorBlinkRate>0?t.blinker=setInterval(function(){e.hasFocus()||Cr(e),t.cursorDiv.style.visibility=(r=!r)?"":"hidden"},e.options.cursorBlinkRate):e.options.cursorBlinkRate<0&&(t.cursorDiv.style.visibility="hidden")}function co(e){e.state.focused||(e.display.input.focus(),fa(e))}function fo(e){e.state.delayingBlurEvent=!0,setTimeout(function(){e.state.delayingBlurEvent&&(e.state.delayingBlurEvent=!1,Cr(e))},100)}function fa(e,t){if(e.state.delayingBlurEvent&&(e.state.delayingBlurEvent=!1),e.options.readOnly=="nocursor")return;e.state.focused||(fe(e,"focus",e,t),e.state.focused=!0,X(e.display.wrapper,"CodeMirror-focused"),!e.curOp&&e.display.selForContextMenu!=e.doc.sel&&(e.display.input.reset(),E&&setTimeout(function(){return e.display.input.reset(!0)},20)),e.display.input.receivedFocus()),da(e)}function Cr(e,t){if(e.state.delayingBlurEvent)return;e.state.focused&&(fe(e,"blur",e,t),e.state.focused=!1,te(e.display.wrapper,"CodeMirror-focused")),clearInterval(e.display.blinker),setTimeout(function(){e.state.focused||(e.display.shift=!1)},150)}function Li(e){for(var t=e.display,r=t.lineDiv.offsetTop,n=0;n<t.view.length;n++){var i=t.view[n],a=e.options.lineWrapping,o=void 0,s=0;if(i.hidden)continue;if(M&&S<8){var l=i.node.offsetTop+i.node.offsetHeight;o=l-r,r=l}else{var c=i.node.getBoundingClientRect();o=c.bottom-c.top,!a&&i.text.firstChild&&(s=i.text.firstChild.getBoundingClientRect().right-c.left-1)}var y=i.line.height-o;if((y>.005||y<-.005)&&(dn(i.line,o),ho(i.line),i.rest))for(var C=0;C<i.rest.length;C++)ho(i.rest[C]);if(s>e.display.sizerWidth){var F=Math.ceil(s/xr(e.display));F>e.display.maxLineLength&&(e.display.maxLineLength=F,e.display.maxLine=i.line,e.display.maxLineChanged=!0)}}}function ho(e){if(e.widgets)for(var t=0;t<e.widgets.length;++t){var r=e.widgets[t],n=r.node.parentNode;n&&(r.height=n.offsetHeight)}}function Pi(e,t,r){var n=r&&r.top!=null?Math.max(0,r.top):e.scroller.scrollTop;n=Math.floor(n-Ri(e));var i=r&&r.bottom!=null?r.bottom:n+e.wrapper.clientHeight,a=kn(t,n),o=kn(t,i);if(r&&r.ensure){var s=r.ensure.from.line,l=r.ensure.to.line;s<a?(a=s,o=kn(t,kt(Xe(t,s))+e.wrapper.clientHeight)):Math.min(l,t.lastLine())>=o&&(a=kn(t,kt(Xe(t,l))-e.wrapper.clientHeight),o=l)}return{from:a,to:Math.max(o,a+1)}}function Zs(e,t){if(Le(e,"scrollCursorIntoView"))return;var r=e.display,n=r.sizer.getBoundingClientRect(),i=null;if(t.top+n.top<0?i=!0:t.bottom+n.top>(window.innerHeight||document.documentElement.clientHeight)&&(i=!1),i!=null&&!I){var a=m("div","\u200B",null,`position: absolute;
|
|
top: `+(t.top-r.viewOffset-Ri(e.display))+`px;
|
|
height: `+(t.bottom-t.top+En(e)+r.barHeight)+`px;
|
|
left: `+t.left+"px; width: "+Math.max(2,t.right-t.left)+"px;");e.display.lineSpace.appendChild(a),a.scrollIntoView(i),e.display.lineSpace.removeChild(a)}}function Ys(e,t,r,n){n==null&&(n=0);var i;!e.options.lineWrapping&&t==r&&(t=t.ch?Me(t.line,t.sticky=="before"?t.ch-1:t.ch,"after"):t,r=t.sticky=="before"?Me(t.line,t.ch+1,"before"):t);for(var a=0;a<5;a++){var o=!1,s=gn(e,t),l=!r||r==t?s:gn(e,r);i={left:Math.min(s.left,l.left),top:Math.min(s.top,l.top)-n,right:Math.max(s.left,l.left),bottom:Math.max(s.bottom,l.bottom)+n};var c=ha(e,i),y=e.doc.scrollTop,C=e.doc.scrollLeft;if(c.scrollTop!=null&&($r(e,c.scrollTop),Math.abs(e.doc.scrollTop-y)>1&&(o=!0)),c.scrollLeft!=null&&(ar(e,c.scrollLeft),Math.abs(e.doc.scrollLeft-C)>1&&(o=!0)),!o)break}return i}function Vs(e,t){var r=ha(e,t);r.scrollTop!=null&&$r(e,r.scrollTop),r.scrollLeft!=null&&ar(e,r.scrollLeft)}function ha(e,t){var r=e.display,n=Ar(e.display);t.top<0&&(t.top=0);var i=e.curOp&&e.curOp.scrollTop!=null?e.curOp.scrollTop:r.scroller.scrollTop,a=ta(e),o={};t.bottom-t.top>a&&(t.bottom=t.top+a);var s=e.doc.height+ea(r),l=t.top<n,c=t.bottom>s-n;if(t.top<i)o.scrollTop=l?0:t.top;else if(t.bottom>i+a){var y=Math.min(t.top,(c?s:t.bottom)-a);y!=i&&(o.scrollTop=y)}var C=e.options.fixedGutter?0:r.gutters.offsetWidth,F=e.curOp&&e.curOp.scrollLeft!=null?e.curOp.scrollLeft:r.scroller.scrollLeft-C,L=tr(e)-r.gutters.offsetWidth,ue=t.right-t.left>L;return ue&&(t.right=t.left+L),t.left<10?o.scrollLeft=0:t.left<F?o.scrollLeft=Math.max(0,t.left+C-(ue?0:10)):t.right>L+F-3&&(o.scrollLeft=t.right+(ue?0:10)-L),o}function pa(e,t){if(t==null)return;Ni(e),e.curOp.scrollTop=(e.curOp.scrollTop==null?e.doc.scrollTop:e.curOp.scrollTop)+t}function wr(e){Ni(e);var t=e.getCursor();e.curOp.scrollToPos={from:t,to:t,margin:e.options.cursorScrollMargin}}function qr(e,t,r){(t!=null||r!=null)&&Ni(e),t!=null&&(e.curOp.scrollLeft=t),r!=null&&(e.curOp.scrollTop=r)}function Xs(e,t){Ni(e),e.curOp.scrollToPos=t}function Ni(e){var t=e.curOp.scrollToPos;if(t){e.curOp.scrollToPos=null;var r=ro(e,t.from),n=ro(e,t.to);po(e,r,n,t.margin)}}function po(e,t,r,n){var i=ha(e,{left:Math.min(t.left,r.left),top:Math.min(t.top,r.top)-n,right:Math.max(t.right,r.right),bottom:Math.max(t.bottom,r.bottom)+n});qr(e,i.scrollLeft,i.scrollTop)}function $r(e,t){if(Math.abs(e.doc.scrollTop-t)<2)return;J||ga(e,{top:t}),mo(e,t,!0),J&&ga(e),ni(e,100)}function mo(e,t,r){if(t=Math.max(0,Math.min(e.display.scroller.scrollHeight-e.display.scroller.clientHeight,t)),e.display.scroller.scrollTop==t&&!r)return;e.doc.scrollTop=t,e.display.scrollbars.setScrollTop(t),e.display.scroller.scrollTop!=t&&(e.display.scroller.scrollTop=t)}function ar(e,t,r,n){if(t=Math.max(0,Math.min(t,e.display.scroller.scrollWidth-e.display.scroller.clientWidth)),(r?t==e.doc.scrollLeft:Math.abs(e.doc.scrollLeft-t)<2)&&!n)return;e.doc.scrollLeft=t,Eo(e),e.display.scroller.scrollLeft!=t&&(e.display.scroller.scrollLeft=t),e.display.scrollbars.setScrollLeft(t)}function ei(e){var t=e.display,r=t.gutters.offsetWidth,n=Math.round(e.doc.height+ea(e.display));return{clientHeight:t.scroller.clientHeight,viewHeight:t.wrapper.clientHeight,scrollWidth:t.scroller.scrollWidth,clientWidth:t.scroller.clientWidth,viewWidth:t.wrapper.clientWidth,barLeft:e.options.fixedGutter?r:0,docHeight:n,scrollHeight:n+En(e)+t.barHeight,nativeBarWidth:t.nativeBarWidth,gutterWidth:r}}var or=function(e,t,r){this.cm=r;var n=this.vert=m("div",[m("div",null,null,"min-width: 1px")],"CodeMirror-vscrollbar"),i=this.horiz=m("div",[m("div",null,null,"height: 100%; min-height: 1px")],"CodeMirror-hscrollbar");n.tabIndex=i.tabIndex=-1,e(n),e(i),de(n,"scroll",function(){n.clientHeight&&t(n.scrollTop,"vertical")}),de(i,"scroll",function(){i.clientWidth&&t(i.scrollLeft,"horizontal")}),this.checkedZeroWidth=!1,M&&S<8&&(this.horiz.style.minHeight=this.vert.style.minWidth="18px")};or.prototype.update=function(e){var t=e.scrollWidth>e.clientWidth+1,r=e.scrollHeight>e.clientHeight+1,n=e.nativeBarWidth;if(r){this.vert.style.display="block",this.vert.style.bottom=t?n+"px":"0";var i=e.viewHeight-(t?n:0);this.vert.firstChild.style.height=Math.max(0,e.scrollHeight-e.clientHeight+i)+"px"}else this.vert.style.display="",this.vert.firstChild.style.height="0";if(t){this.horiz.style.display="block",this.horiz.style.right=r?n+"px":"0",this.horiz.style.left=e.barLeft+"px";var a=e.viewWidth-e.barLeft-(r?n:0);this.horiz.firstChild.style.width=Math.max(0,e.scrollWidth-e.clientWidth+a)+"px"}else this.horiz.style.display="",this.horiz.firstChild.style.width="0";return!this.checkedZeroWidth&&e.clientHeight>0&&(n==0&&this.zeroWidthHack(),this.checkedZeroWidth=!0),{right:r?n:0,bottom:t?n:0}},or.prototype.setScrollLeft=function(e){this.horiz.scrollLeft!=e&&(this.horiz.scrollLeft=e),this.disableHoriz&&this.enableZeroWidthBar(this.horiz,this.disableHoriz,"horiz")},or.prototype.setScrollTop=function(e){this.vert.scrollTop!=e&&(this.vert.scrollTop=e),this.disableVert&&this.enableZeroWidthBar(this.vert,this.disableVert,"vert")},or.prototype.zeroWidthHack=function(){var e=Q&&!K?"12px":"18px";this.horiz.style.height=this.vert.style.width=e,this.horiz.style.pointerEvents=this.vert.style.pointerEvents="none",this.disableHoriz=new $,this.disableVert=new $},or.prototype.enableZeroWidthBar=function(e,t,r){e.style.pointerEvents="auto";function n(){var i=e.getBoundingClientRect(),a=r=="vert"?document.elementFromPoint(i.right-1,(i.top+i.bottom)/2):document.elementFromPoint((i.right+i.left)/2,i.bottom-1);a!=e?e.style.pointerEvents="none":t.set(1e3,n)}t.set(1e3,n)},or.prototype.clear=function(){var e=this.horiz.parentNode;e.removeChild(this.horiz),e.removeChild(this.vert)};var ti=function(){};ti.prototype.update=function(){return{bottom:0,right:0}},ti.prototype.setScrollLeft=function(){},ti.prototype.setScrollTop=function(){},ti.prototype.clear=function(){};function Sr(e,t){t||(t=ei(e));var r=e.display.barWidth,n=e.display.barHeight;go(e,t);for(var i=0;i<4&&r!=e.display.barWidth||n!=e.display.barHeight;i++)r!=e.display.barWidth&&e.options.lineWrapping&&Li(e),go(e,ei(e)),r=e.display.barWidth,n=e.display.barHeight}function go(e,t){var r=e.display,n=r.scrollbars.update(t);r.sizer.style.paddingRight=(r.barWidth=n.right)+"px",r.sizer.style.paddingBottom=(r.barHeight=n.bottom)+"px",r.heightForcer.style.borderBottom=n.bottom+"px solid transparent",n.right&&n.bottom?(r.scrollbarFiller.style.display="block",r.scrollbarFiller.style.height=n.bottom+"px",r.scrollbarFiller.style.width=n.right+"px"):r.scrollbarFiller.style.display="",n.bottom&&e.options.coverGutterNextToScrollbar&&e.options.fixedGutter?(r.gutterFiller.style.display="block",r.gutterFiller.style.height=n.bottom+"px",r.gutterFiller.style.width=t.gutterWidth+"px"):r.gutterFiller.style.display=""}var vo={native:or,null:ti};function bo(e){e.display.scrollbars&&(e.display.scrollbars.clear(),e.display.scrollbars.addClass&&te(e.display.wrapper,e.display.scrollbars.addClass)),e.display.scrollbars=new vo[e.options.scrollbarStyle](function(t){e.display.wrapper.insertBefore(t,e.display.scrollbarFiller),de(t,"mousedown",function(){e.state.focused&&setTimeout(function(){return e.display.input.focus()},0)}),t.setAttribute("cm-not-content","true")},function(t,r){r=="horizontal"?ar(e,t):$r(e,t)},e),e.display.scrollbars.addClass&&X(e.display.wrapper,e.display.scrollbars.addClass)}var qs=0;function sr(e){e.curOp={cm:e,viewChanged:!1,startHeight:e.doc.height,forceUpdate:!1,updateInput:0,typing:!1,changeObjs:null,cursorActivityHandlers:null,cursorActivityCalled:0,selectionChanged:!1,updateMaxLine:!1,scrollLeft:null,scrollTop:null,scrollToPos:null,focus:!1,id:++qs},Rs(e.curOp)}function lr(e){var t=e.curOp;t&&Os(t,function(r){for(var n=0;n<r.ops.length;n++)r.ops[n].cm.curOp=null;$s(r)})}function $s(e){for(var t=e.ops,r=0;r<t.length;r++)el(t[r]);for(var n=0;n<t.length;n++)tl(t[n]);for(var i=0;i<t.length;i++)nl(t[i]);for(var a=0;a<t.length;a++)rl(t[a]);for(var o=0;o<t.length;o++)il(t[o])}function el(e){var t=e.cm,r=t.display;ol(t),e.updateMaxLine&&mn(t),e.mustUpdate=e.viewChanged||e.forceUpdate||e.scrollTop!=null||e.scrollToPos&&(e.scrollToPos.from.line<r.viewFrom||e.scrollToPos.to.line>=r.viewTo)||r.maxLineChanged&&t.options.lineWrapping,e.update=e.mustUpdate&&new Bi(t,e.mustUpdate&&{top:e.scrollTop,ensure:e.scrollToPos},e.forceUpdate)}function tl(e){e.updatedDisplay=e.mustUpdate&&ma(e.cm,e.update)}function nl(e){var t=e.cm,r=t.display;e.updatedDisplay&&Li(t),e.barMeasure=ei(t),r.maxLineChanged&&!t.options.lineWrapping&&(e.adjustWidthTo=Ya(t,r.maxLine,r.maxLine.text.length).left+3,t.display.sizerWidth=e.adjustWidthTo,e.barMeasure.scrollWidth=Math.max(r.scroller.clientWidth,r.sizer.offsetLeft+e.adjustWidthTo+En(t)+t.display.barWidth),e.maxScrollLeft=Math.max(0,r.sizer.offsetLeft+e.adjustWidthTo-tr(t))),(e.updatedDisplay||e.selectionChanged)&&(e.preparedSelection=r.input.prepareSelection())}function rl(e){var t=e.cm;e.adjustWidthTo!=null&&(t.display.sizer.style.minWidth=e.adjustWidthTo+"px",e.maxScrollLeft<t.doc.scrollLeft&&ar(t,Math.min(t.display.scroller.scrollLeft,e.maxScrollLeft),!0),t.display.maxLineChanged=!1);var r=e.focus&&e.focus==j();e.preparedSelection&&t.display.input.showSelection(e.preparedSelection,r),(e.updatedDisplay||e.startHeight!=t.doc.height)&&Sr(t,e.barMeasure),e.updatedDisplay&&ba(t,e.barMeasure),e.selectionChanged&&da(t),t.state.focused&&e.updateInput&&t.display.input.reset(e.typing),r&&co(e.cm)}function il(e){var t=e.cm,r=t.display,n=t.doc;if(e.updatedDisplay&&yo(t,e.update),r.wheelStartX!=null&&(e.scrollTop!=null||e.scrollLeft!=null||e.scrollToPos)&&(r.wheelStartX=r.wheelStartY=null),e.scrollTop!=null&&mo(t,e.scrollTop,e.forceScroll),e.scrollLeft!=null&&ar(t,e.scrollLeft,!0,!0),e.scrollToPos){var i=Ys(t,st(n,e.scrollToPos.from),st(n,e.scrollToPos.to),e.scrollToPos.margin);Zs(t,i)}var a=e.maybeHiddenMarkers,o=e.maybeUnhiddenMarkers;if(a)for(var s=0;s<a.length;++s)a[s].lines.length||fe(a[s],"hide");if(o)for(var l=0;l<o.length;++l)o[l].lines.length&&fe(o[l],"unhide");r.wrapper.offsetHeight&&(n.scrollTop=t.display.scroller.scrollTop),e.changeObjs&&fe(t,"changes",t,e.changeObjs),e.update&&e.update.finish()}function rn(e,t){if(e.curOp)return t();sr(e);try{return t()}finally{lr(e)}}function Bt(e,t){return function(){if(e.curOp)return t.apply(e,arguments);sr(e);try{return t.apply(e,arguments)}finally{lr(e)}}}function Yt(e){return function(){if(this.curOp)return e.apply(this,arguments);sr(this);try{return e.apply(this,arguments)}finally{lr(this)}}}function _t(e){return function(){var t=this.cm;if(!t||t.curOp)return e.apply(this,arguments);sr(t);try{return e.apply(this,arguments)}finally{lr(t)}}}function ni(e,t){e.doc.highlightFrontier<e.display.viewTo&&e.state.highlight.set(t,g(al,e))}function al(e){var t=e.doc;if(t.highlightFrontier>=e.display.viewTo)return;var r=+new Date+e.options.workTime,n=nn(e,t.highlightFrontier),i=[];t.iter(n.line,Math.min(t.first+t.size,e.display.viewTo+500),function(a){if(n.line>=e.display.viewFrom){var o=a.styles,s=a.text.length>e.options.maxHighlightLength?cn(t.mode,n.state):null,l=yi(e,a,n,!0);s&&(n.state=s),a.styles=l.styles;var c=a.styleClasses,y=l.classes;y?a.styleClasses=y:c&&(a.styleClasses=null);for(var C=!o||o.length!=a.styles.length||c!=y&&(!c||!y||c.bgClass!=y.bgClass||c.textClass!=y.textClass),F=0;!C&&F<o.length;++F)C=o[F]!=a.styles[F];C&&i.push(n.line),a.stateAfter=n.save(),n.nextLine()}else a.text.length<=e.options.maxHighlightLength&&pr(e,a.text,n),a.stateAfter=n.line%5==0?n.save():null,n.nextLine();if(+new Date>r)return ni(e,e.options.workDelay),!0}),t.highlightFrontier=n.line,t.modeFrontier=Math.max(t.modeFrontier,n.line),i.length&&rn(e,function(){for(var a=0;a<i.length;a++)Un(e,i[a],"text")})}var Bi=function(e,t,r){var n=e.display;this.viewport=t,this.visible=Pi(n,e.doc,t),this.editorIsHidden=!n.wrapper.offsetWidth,this.wrapperHeight=n.wrapper.clientHeight,this.wrapperWidth=n.wrapper.clientWidth,this.oldDisplayWidth=tr(e),this.force=r,this.dims=la(e),this.events=[]};Bi.prototype.signal=function(e,t){x(e,t)&&this.events.push(arguments)},Bi.prototype.finish=function(){for(var e=0;e<this.events.length;e++)fe.apply(null,this.events[e])};function ol(e){var t=e.display;!t.scrollbarsClipped&&t.scroller.offsetWidth&&(t.nativeBarWidth=t.scroller.offsetWidth-t.scroller.clientWidth,t.heightForcer.style.height=En(e)+"px",t.sizer.style.marginBottom=-t.nativeBarWidth+"px",t.sizer.style.borderRightWidth=En(e)+"px",t.scrollbarsClipped=!0)}function sl(e){if(e.hasFocus())return null;var t=j();if(!t||!b(e.display.lineDiv,t))return null;var r={activeElt:t};if(window.getSelection){var n=window.getSelection();n.anchorNode&&n.extend&&b(e.display.lineDiv,n.anchorNode)&&(r.anchorNode=n.anchorNode,r.anchorOffset=n.anchorOffset,r.focusNode=n.focusNode,r.focusOffset=n.focusOffset)}return r}function ll(e){if(!e||!e.activeElt||e.activeElt==j())return;if(e.activeElt.focus(),!/^(INPUT|TEXTAREA)$/.test(e.activeElt.nodeName)&&e.anchorNode&&b(document.body,e.anchorNode)&&b(document.body,e.focusNode)){var t=window.getSelection(),r=document.createRange();r.setEnd(e.anchorNode,e.anchorOffset),r.collapse(!1),t.removeAllRanges(),t.addRange(r),t.extend(e.focusNode,e.focusOffset)}}function ma(e,t){var r=e.display,n=e.doc;if(t.editorIsHidden)return jn(e),!1;if(!t.force&&t.visible.from>=r.viewFrom&&t.visible.to<=r.viewTo&&(r.updateLineNumbers==null||r.updateLineNumbers>=r.viewTo)&&r.renderedView==r.view&&so(e)==0)return!1;Ao(e)&&(jn(e),t.dims=la(e));var i=n.first+n.size,a=Math.max(t.visible.from-e.options.viewportMargin,n.first),o=Math.min(i,t.visible.to+e.options.viewportMargin);r.viewFrom<a&&a-r.viewFrom<20&&(a=Math.max(n.first,r.viewFrom)),r.viewTo>o&&r.viewTo-o<20&&(o=Math.min(i,r.viewTo)),hn&&(a=Et(e.doc,a),o=At(e.doc,o));var s=a!=r.viewFrom||o!=r.viewTo||r.lastWrapHeight!=t.wrapperHeight||r.lastWrapWidth!=t.wrapperWidth;Ks(e,a,o),r.viewOffset=kt(Xe(e.doc,r.viewFrom)),e.display.mover.style.top=r.viewOffset+"px";var l=so(e);if(!s&&l==0&&!t.force&&r.renderedView==r.view&&(r.updateLineNumbers==null||r.updateLineNumbers>=r.viewTo))return!1;var c=sl(e);return l>4&&(r.lineDiv.style.display="none"),ul(e,r.updateLineNumbers,t.dims),l>4&&(r.lineDiv.style.display=""),r.renderedView=r.view,ll(c),Z(r.cursorDiv),Z(r.selectionDiv),r.gutters.style.height=r.sizer.style.minHeight=0,s&&(r.lastWrapHeight=t.wrapperHeight,r.lastWrapWidth=t.wrapperWidth,ni(e,400)),r.updateLineNumbers=null,!0}function yo(e,t){for(var r=t.viewport,n=!0;;n=!1){if(!n||!e.options.lineWrapping||t.oldDisplayWidth==tr(e)){if(r&&r.top!=null&&(r={top:Math.min(e.doc.height+ea(e.display)-ta(e),r.top)}),t.visible=Pi(e.display,e.doc,r),t.visible.from>=e.display.viewFrom&&t.visible.to<=e.display.viewTo)break}else n&&(t.visible=Pi(e.display,e.doc,r));if(!ma(e,t))break;Li(e);var i=ei(e);Xr(e),Sr(e,i),ba(e,i),t.force=!1}t.signal(e,"update",e),(e.display.viewFrom!=e.display.reportedViewFrom||e.display.viewTo!=e.display.reportedViewTo)&&(t.signal(e,"viewportChange",e,e.display.viewFrom,e.display.viewTo),e.display.reportedViewFrom=e.display.viewFrom,e.display.reportedViewTo=e.display.viewTo)}function ga(e,t){var r=new Bi(e,t);if(ma(e,r)){Li(e),yo(e,r);var n=ei(e);Xr(e),Sr(e,n),ba(e,n),r.finish()}}function ul(e,t,r){var n=e.display,i=e.options.lineNumbers,a=n.lineDiv,o=a.firstChild;function s(ue){var Ee=ue.nextSibling;return E&&Q&&e.display.currentWheelTarget==ue?ue.style.display="none":ue.parentNode.removeChild(ue),Ee}for(var l=n.view,c=n.viewFrom,y=0;y<l.length;y++){var C=l[y];if(!C.hidden)if(!C.node||C.node.parentNode!=a){var F=Bs(e,C,c,r);a.insertBefore(F,o)}else{for(;o!=C.node;)o=s(o);var L=i&&t!=null&&t<=c&&C.lineNumber;C.changes&&(q(C.changes,"gutter")>-1&&(L=!1),za(e,C,c,r)),L&&(Z(C.lineNumber),C.lineNumber.appendChild(document.createTextNode(Zn(e.options,c)))),o=C.node.nextSibling}c+=C.size}for(;o;)o=s(o)}function va(e){var t=e.gutters.offsetWidth;e.sizer.style.marginLeft=t+"px"}function ba(e,t){e.display.sizer.style.minHeight=t.docHeight+"px",e.display.heightForcer.style.top=t.docHeight+"px",e.display.gutters.style.height=t.docHeight+e.display.barHeight+En(e)+"px"}function Eo(e){var t=e.display,r=t.view;if(!t.alignWidgets&&(!t.gutters.firstChild||!e.options.fixedGutter))return;for(var n=ua(t)-t.scroller.scrollLeft+e.doc.scrollLeft,i=t.gutters.offsetWidth,a=n+"px",o=0;o<r.length;o++)if(!r[o].hidden){e.options.fixedGutter&&(r[o].gutter&&(r[o].gutter.style.left=a),r[o].gutterBackground&&(r[o].gutterBackground.style.left=a));var s=r[o].alignable;if(s)for(var l=0;l<s.length;l++)s[l].style.left=a}e.options.fixedGutter&&(t.gutters.style.left=n+i+"px")}function Ao(e){if(!e.options.lineNumbers)return!1;var t=e.doc,r=Zn(e.options,t.first+t.size-1),n=e.display;if(r.length!=n.lineNumChars){var i=n.measure.appendChild(m("div",[m("div",r)],"CodeMirror-linenumber CodeMirror-gutter-elt")),a=i.firstChild.offsetWidth,o=i.offsetWidth-a;return n.lineGutter.style.width="",n.lineNumInnerWidth=Math.max(a,n.lineGutter.offsetWidth-o)+1,n.lineNumWidth=n.lineNumInnerWidth+o,n.lineNumChars=n.lineNumInnerWidth?r.length:-1,n.lineGutter.style.width=n.lineNumWidth+"px",va(e.display),!0}return!1}function ya(e,t){for(var r=[],n=!1,i=0;i<e.length;i++){var a=e[i],o=null;if(typeof a!="string"&&(o=a.style,a=a.className),a=="CodeMirror-linenumbers")if(t)n=!0;else continue;r.push({className:a,style:o})}return t&&!n&&r.push({className:"CodeMirror-linenumbers",style:null}),r}function xo(e){var t=e.gutters,r=e.gutterSpecs;Z(t),e.lineGutter=null;for(var n=0;n<r.length;++n){var i=r[n],a=i.className,o=i.style,s=t.appendChild(m("div",null,"CodeMirror-gutter "+a));o&&(s.style.cssText=o),a=="CodeMirror-linenumbers"&&(e.lineGutter=s,s.style.width=(e.lineNumWidth||1)+"px")}t.style.display=r.length?"":"none",va(e)}function ri(e){xo(e.display),Xt(e),Eo(e)}function cl(e,t,r,n){var i=this;this.input=r,i.scrollbarFiller=m("div",null,"CodeMirror-scrollbar-filler"),i.scrollbarFiller.setAttribute("cm-not-content","true"),i.gutterFiller=m("div",null,"CodeMirror-gutter-filler"),i.gutterFiller.setAttribute("cm-not-content","true"),i.lineDiv=_("div",null,"CodeMirror-code"),i.selectionDiv=m("div",null,null,"position: relative; z-index: 1"),i.cursorDiv=m("div",null,"CodeMirror-cursors"),i.measure=m("div",null,"CodeMirror-measure"),i.lineMeasure=m("div",null,"CodeMirror-measure"),i.lineSpace=_("div",[i.measure,i.lineMeasure,i.selectionDiv,i.cursorDiv,i.lineDiv],null,"position: relative; outline: none");var a=_("div",[i.lineSpace],"CodeMirror-lines");i.mover=m("div",[a],null,"position: relative"),i.sizer=m("div",[i.mover],"CodeMirror-sizer"),i.sizerWidth=null,i.heightForcer=m("div",null,null,"position: absolute; height: "+Se+"px; width: 1px;"),i.gutters=m("div",null,"CodeMirror-gutters"),i.lineGutter=null,i.scroller=m("div",[i.sizer,i.heightForcer,i.gutters],"CodeMirror-scroll"),i.scroller.setAttribute("tabIndex","-1"),i.wrapper=m("div",[i.scrollbarFiller,i.gutterFiller,i.scroller],"CodeMirror"),M&&S<8&&(i.gutters.style.zIndex=-1,i.scroller.style.paddingRight=0),!E&&!(J&&H)&&(i.scroller.draggable=!0),e&&(e.appendChild?e.appendChild(i.wrapper):e(i.wrapper)),i.viewFrom=i.viewTo=t.first,i.reportedViewFrom=i.reportedViewTo=t.first,i.view=[],i.renderedView=null,i.externalMeasured=null,i.viewOffset=0,i.lastWrapHeight=i.lastWrapWidth=0,i.updateLineNumbers=null,i.nativeBarWidth=i.barHeight=i.barWidth=0,i.scrollbarsClipped=!1,i.lineNumWidth=i.lineNumInnerWidth=i.lineNumChars=null,i.alignWidgets=!1,i.cachedCharWidth=i.cachedTextHeight=i.cachedPaddingH=null,i.maxLine=null,i.maxLineLength=0,i.maxLineChanged=!1,i.wheelDX=i.wheelDY=i.wheelStartX=i.wheelStartY=null,i.shift=!1,i.selForContextMenu=null,i.activeTouch=null,i.gutterSpecs=ya(n.gutters,n.lineNumbers),xo(i),r.init(i)}var _i=0,sn=null;M?sn=-.53:J?sn=15:N?sn=-.7:ae&&(sn=-1/3);function Co(e){var t=e.wheelDeltaX,r=e.wheelDeltaY;return t==null&&e.detail&&e.axis==e.HORIZONTAL_AXIS&&(t=e.detail),r==null&&e.detail&&e.axis==e.VERTICAL_AXIS?r=e.detail:r==null&&(r=e.wheelDelta),{x:t,y:r}}function dl(e){var t=Co(e);return t.x*=sn,t.y*=sn,t}function wo(e,t){var r=Co(t),n=r.x,i=r.y,a=e.display,o=a.scroller,s=o.scrollWidth>o.clientWidth,l=o.scrollHeight>o.clientHeight;if(!(n&&s||i&&l))return;if(i&&Q&&E){e:for(var c=t.target,y=a.view;c!=o;c=c.parentNode)for(var C=0;C<y.length;C++)if(y[C].node==c){e.display.currentWheelTarget=c;break e}}if(n&&!J&&!z&&sn!=null){i&&l&&$r(e,Math.max(0,o.scrollTop+i*sn)),ar(e,Math.max(0,o.scrollLeft+n*sn)),(!i||i&&l)&&f(t),a.wheelStartX=null;return}if(i&&sn!=null){var F=i*sn,L=e.doc.scrollTop,ue=L+a.wrapper.clientHeight;F<0?L=Math.max(0,L+F-50):ue=Math.min(e.doc.height,ue+F+50),ga(e,{top:L,bottom:ue})}_i<20&&(a.wheelStartX==null?(a.wheelStartX=o.scrollLeft,a.wheelStartY=o.scrollTop,a.wheelDX=n,a.wheelDY=i,setTimeout(function(){if(a.wheelStartX==null)return;var Ee=o.scrollLeft-a.wheelStartX,Oe=o.scrollTop-a.wheelStartY,_e=Oe&&a.wheelDY&&Oe/a.wheelDY||Ee&&a.wheelDX&&Ee/a.wheelDX;if(a.wheelStartX=a.wheelStartY=null,!_e)return;sn=(sn*_i+_e)/(_i+1),++_i},200)):(a.wheelDX+=n,a.wheelDY+=i))}var ln=function(e,t){this.ranges=e,this.primIndex=t};ln.prototype.primary=function(){return this.ranges[this.primIndex]},ln.prototype.equals=function(e){if(e==this)return!0;if(e.primIndex!=this.primIndex||e.ranges.length!=this.ranges.length)return!1;for(var t=0;t<this.ranges.length;t++){var r=this.ranges[t],n=e.ranges[t];if(!Ne(r.anchor,n.anchor)||!Ne(r.head,n.head))return!1}return!0},ln.prototype.deepCopy=function(){for(var e=[],t=0;t<this.ranges.length;t++)e[t]=new vt(_r(this.ranges[t].anchor),_r(this.ranges[t].head));return new ln(e,this.primIndex)},ln.prototype.somethingSelected=function(){for(var e=0;e<this.ranges.length;e++)if(!this.ranges[e].empty())return!0;return!1},ln.prototype.contains=function(e,t){t||(t=e);for(var r=0;r<this.ranges.length;r++){var n=this.ranges[r];if(ut(t,n.from())>=0&&ut(e,n.to())<=0)return r}return-1};var vt=function(e,t){this.anchor=e,this.head=t};vt.prototype.from=function(){return Yn(this.anchor,this.head)},vt.prototype.to=function(){return hr(this.anchor,this.head)},vt.prototype.empty=function(){return this.head.line==this.anchor.line&&this.head.ch==this.anchor.ch};function vn(e,t,r){var n=e&&e.options.selectionsMayTouch,i=t[r];t.sort(function(F,L){return ut(F.from(),L.from())}),r=q(t,i);for(var a=1;a<t.length;a++){var o=t[a],s=t[a-1],l=ut(s.to(),o.from());if(n&&!o.empty()?l>0:l>=0){var c=Yn(s.from(),o.from()),y=hr(s.to(),o.to()),C=s.empty()?o.from()==o.head:s.from()==s.head;a<=r&&--r,t.splice(--a,2,new vt(C?y:c,C?c:y))}}return new ln(t,r)}function Fn(e,t){return new ln([new vt(e,t||e)],0)}function Wn(e){return e.text?Me(e.from.line+e.text.length-1,Te(e.text).length+(e.text.length==1?e.from.ch:0)):e.to}function So(e,t){if(ut(e,t.from)<0)return e;if(ut(e,t.to)<=0)return Wn(t);var r=e.line+t.text.length-(t.to.line-t.from.line)-1,n=e.ch;return e.line==t.to.line&&(n+=Wn(t).ch-t.to.ch),Me(r,n)}function Ea(e,t){for(var r=[],n=0;n<e.sel.ranges.length;n++){var i=e.sel.ranges[n];r.push(new vt(So(i.anchor,t),So(i.head,t)))}return vn(e.cm,r,e.sel.primIndex)}function ko(e,t,r){return e.line==t.line?Me(r.line,e.ch-t.ch+r.ch):Me(r.line+(e.line-t.line),e.ch)}function fl(e,t,r){for(var n=[],i=Me(e.first,0),a=i,o=0;o<t.length;o++){var s=t[o],l=ko(s.from,i,a),c=ko(Wn(s),i,a);if(i=s.to,a=c,r=="around"){var y=e.sel.ranges[o],C=ut(y.head,y.anchor)<0;n[o]=new vt(C?c:l,C?l:c)}else n[o]=new vt(l,l)}return new ln(n,e.sel.primIndex)}function Aa(e){e.doc.mode=wn(e.options,e.doc.modeOption),ii(e)}function ii(e){e.doc.iter(function(t){t.stateAfter&&(t.stateAfter=null),t.styles&&(t.styles=null)}),e.doc.modeFrontier=e.doc.highlightFrontier=e.doc.first,ni(e,100),e.state.modeGen++,e.curOp&&Xt(e)}function Mo(e,t){return t.from.ch==0&&t.to.ch==0&&Te(t.text)==""&&(!e.cm||e.cm.options.wholeLineUpdateBefore)}function xa(e,t,r,n){function i(He){return r?r[He]:null}function a(He,Ue,Je){Nn(He,Ue,Je,n),zt(He,"change",He,t)}function o(He,Ue){for(var Je=[],at=He;at<Ue;++at)Je.push(new wt(c[at],i(at),n));return Je}var s=t.from,l=t.to,c=t.text,y=Xe(e,s.line),C=Xe(e,l.line),F=Te(c),L=i(c.length-1),ue=l.line-s.line;if(t.full)e.insert(0,o(0,c.length)),e.remove(c.length,e.size-c.length);else if(Mo(e,t)){var Ee=o(0,c.length-1);a(C,C.text,L),ue&&e.remove(s.line,ue),Ee.length&&e.insert(s.line,Ee)}else if(y==C)if(c.length==1)a(y,y.text.slice(0,s.ch)+F+y.text.slice(l.ch),L);else{var Oe=o(1,c.length-1);Oe.push(new wt(F+y.text.slice(l.ch),L,n)),a(y,y.text.slice(0,s.ch)+c[0],i(0)),e.insert(s.line+1,Oe)}else if(c.length==1)a(y,y.text.slice(0,s.ch)+c[0]+C.text.slice(l.ch),i(0)),e.remove(s.line+1,ue);else{a(y,y.text.slice(0,s.ch)+c[0],i(0)),a(C,F+C.text.slice(l.ch),L);var _e=o(1,c.length-1);ue>1&&e.remove(s.line+1,ue-1),e.insert(s.line+1,_e)}zt(e,"change",e,t)}function zn(e,t,r){function n(i,a,o){if(i.linked)for(var s=0;s<i.linked.length;++s){var l=i.linked[s];if(l.doc==a)continue;var c=o&&l.sharedHist;if(r&&!c)continue;t(l.doc,c),n(l.doc,i,c)}}n(e,null,!0)}function Do(e,t){if(t.cm)throw new Error("This document is already in use.");e.doc=t,t.cm=e,ca(e),Aa(e),Ro(e),e.options.lineWrapping||mn(e),e.options.mode=t.modeOption,Xt(e)}function Ro(e){(e.doc.direction=="rtl"?X:te)(e.display.lineDiv,"CodeMirror-rtl")}function hl(e){rn(e,function(){Ro(e),Xt(e)})}function Ui(e){this.done=[],this.undone=[],this.undoDepth=Infinity,this.lastModTime=this.lastSelTime=0,this.lastOp=this.lastSelOp=null,this.lastOrigin=this.lastSelOrigin=null,this.generation=this.maxGeneration=e||1}function Ca(e,t){var r={from:_r(t.from),to:Wn(t),text:Sn(e,t.from,t.to)};return Io(e,r,t.from.line,t.to.line+1),zn(e,function(n){return Io(n,r,t.from.line,t.to.line+1)},!0),r}function To(e){for(;e.length;){var t=Te(e);if(t.ranges)e.pop();else break}}function pl(e,t){if(t)return To(e.done),Te(e.done);if(e.done.length&&!Te(e.done).ranges)return Te(e.done);if(e.done.length>1&&!e.done[e.done.length-2].ranges)return e.done.pop(),Te(e.done)}function Oo(e,t,r,n){var i=e.history;i.undone.length=0;var a=+new Date,o,s;if((i.lastOp==n||i.lastOrigin==t.origin&&t.origin&&(t.origin.charAt(0)=="+"&&i.lastModTime>a-(e.cm?e.cm.options.historyEventDelay:500)||t.origin.charAt(0)=="*"))&&(o=pl(i,i.lastOp==n)))s=Te(o.changes),ut(t.from,t.to)==0&&ut(t.from,s.to)==0?s.to=Wn(t):o.changes.push(Ca(e,t));else{var l=Te(i.done);for((!l||!l.ranges)&&ji(e.sel,i.done),o={changes:[Ca(e,t)],generation:i.generation},i.done.push(o);i.done.length>i.undoDepth;)i.done.shift(),i.done[0].ranges||i.done.shift()}i.done.push(r),i.generation=++i.maxGeneration,i.lastModTime=i.lastSelTime=a,i.lastOp=i.lastSelOp=n,i.lastOrigin=i.lastSelOrigin=t.origin,s||fe(e,"historyAdded")}function ml(e,t,r,n){var i=t.charAt(0);return i=="*"||i=="+"&&r.ranges.length==n.ranges.length&&r.somethingSelected()==n.somethingSelected()&&new Date-e.history.lastSelTime<=(e.cm?e.cm.options.historyEventDelay:500)}function gl(e,t,r,n){var i=e.history,a=n&&n.origin;r==i.lastSelOp||a&&i.lastSelOrigin==a&&(i.lastModTime==i.lastSelTime&&i.lastOrigin==a||ml(e,a,Te(i.done),t))?i.done[i.done.length-1]=t:ji(t,i.done),i.lastSelTime=+new Date,i.lastSelOrigin=a,i.lastSelOp=r,n&&n.clearRedo!==!1&&To(i.undone)}function ji(e,t){var r=Te(t);r&&r.ranges&&r.equals(e)||t.push(e)}function Io(e,t,r,n){var i=t["spans_"+e.id],a=0;e.iter(Math.max(e.first,r),Math.min(e.first+e.size,n),function(o){o.markedSpans&&((i||(i=t["spans_"+e.id]={}))[a]=o.markedSpans),++a})}function vl(e){if(!e)return null;for(var t,r=0;r<e.length;++r)e[r].marker.explicitlyCleared?t||(t=e.slice(0,r)):t&&t.push(e[r]);return t?t.length?t:null:e}function bl(e,t){var r=t["spans_"+e.id];if(!r)return null;for(var n=[],i=0;i<t.text.length;++i)n.push(vl(r[i]));return n}function Lo(e,t){var r=bl(e,t),n=Pn(e,t);if(!r)return n;if(!n)return r;for(var i=0;i<r.length;++i){var a=r[i],o=n[i];if(a&&o){e:for(var s=0;s<o.length;++s){for(var l=o[s],c=0;c<a.length;++c)if(a[c].marker==l.marker)continue e;a.push(l)}}else o&&(r[i]=o)}return r}function kr(e,t,r){for(var n=[],i=0;i<e.length;++i){var a=e[i];if(a.ranges){n.push(r?ln.prototype.deepCopy.call(a):a);continue}var o=a.changes,s=[];n.push({changes:s});for(var l=0;l<o.length;++l){var c=o[l],y=void 0;if(s.push({from:c.from,to:c.to,text:c.text}),t)for(var C in c)(y=C.match(/^spans_(\d+)$/))&&(q(t,Number(y[1]))>-1&&(Te(s)[C]=c[C],delete c[C]))}}return n}function wa(e,t,r,n){if(n){var i=e.anchor;if(r){var a=ut(t,i)<0;a!=ut(r,i)<0?(i=t,t=r):a!=ut(t,r)<0&&(t=r)}return new vt(i,t)}else return new vt(r||t,t)}function Fi(e,t,r,n,i){i==null&&(i=e.cm&&(e.cm.display.shift||e.extend)),Kt(e,new ln([wa(e.sel.primary(),t,r,i)],0),n)}function Po(e,t,r){for(var n=[],i=e.cm&&(e.cm.display.shift||e.extend),a=0;a<e.sel.ranges.length;a++)n[a]=wa(e.sel.ranges[a],t[a],null,i);var o=vn(e.cm,n,e.sel.primIndex);Kt(e,o,r)}function Sa(e,t,r,n){var i=e.sel.ranges.slice(0);i[t]=r,Kt(e,vn(e.cm,i,e.sel.primIndex),n)}function No(e,t,r,n){Kt(e,Fn(t,r),n)}function yl(e,t,r){var n={ranges:t.ranges,update:function(i){this.ranges=[];for(var a=0;a<i.length;a++)this.ranges[a]=new vt(st(e,i[a].anchor),st(e,i[a].head))},origin:r&&r.origin};return fe(e,"beforeSelectionChange",e,n),e.cm&&fe(e.cm,"beforeSelectionChange",e.cm,n),n.ranges!=t.ranges?vn(e.cm,n.ranges,n.ranges.length-1):t}function Bo(e,t,r){var n=e.history.done,i=Te(n);i&&i.ranges?(n[n.length-1]=t,Wi(e,t,r)):Kt(e,t,r)}function Kt(e,t,r){Wi(e,t,r),gl(e,e.sel,e.cm?e.cm.curOp.id:NaN,r)}function Wi(e,t,r){(x(e,"beforeSelectionChange")||e.cm&&x(e.cm,"beforeSelectionChange"))&&(t=yl(e,t,r));var n=r&&r.bias||(ut(t.primary().head,e.sel.primary().head)<0?-1:1);_o(e,jo(e,t,n,!0)),!(r&&r.scroll===!1)&&e.cm&&wr(e.cm)}function _o(e,t){if(t.equals(e.sel))return;e.sel=t,e.cm&&(e.cm.curOp.updateInput=1,e.cm.curOp.selectionChanged=!0,A(e.cm)),zt(e,"cursorActivity",e)}function Uo(e){_o(e,jo(e,e.sel,null,!1))}function jo(e,t,r,n){for(var i,a=0;a<t.ranges.length;a++){var o=t.ranges[a],s=t.ranges.length==e.sel.ranges.length&&e.sel.ranges[a],l=zi(e,o.anchor,s&&s.anchor,r,n),c=zi(e,o.head,s&&s.head,r,n);(i||l!=o.anchor||c!=o.head)&&(i||(i=t.ranges.slice(0,a)),i[a]=new vt(l,c))}return i?vn(e.cm,i,t.primIndex):t}function Mr(e,t,r,n,i){var a=Xe(e,t.line);if(a.markedSpans)for(var o=0;o<a.markedSpans.length;++o){var s=a.markedSpans[o],l=s.marker,c="selectLeft"in l?!l.selectLeft:l.inclusiveLeft,y="selectRight"in l?!l.selectRight:l.inclusiveRight;if((s.from==null||(c?s.from<=t.ch:s.from<t.ch))&&(s.to==null||(y?s.to>=t.ch:s.to>t.ch))){if(i&&(fe(l,"beforeCursorEnter"),l.explicitlyCleared))if(a.markedSpans){--o;continue}else break;if(!l.atomic)continue;if(r){var C=l.find(n<0?1:-1),F=void 0;if((n<0?y:c)&&(C=Fo(e,C,-n,C&&C.line==t.line?a:null)),C&&C.line==t.line&&(F=ut(C,r))&&(n<0?F<0:F>0))return Mr(e,C,t,n,i)}var L=l.find(n<0?-1:1);return(n<0?c:y)&&(L=Fo(e,L,n,L.line==t.line?a:null)),L?Mr(e,L,t,n,i):null}}return t}function zi(e,t,r,n,i){var a=n||1,o=Mr(e,t,r,a,i)||!i&&Mr(e,t,r,a,!0)||Mr(e,t,r,-a,i)||!i&&Mr(e,t,r,-a,!0);return o||(e.cantEdit=!0,Me(e.first,0))}function Fo(e,t,r,n){return r<0&&t.ch==0?t.line>e.first?st(e,Me(t.line-1)):null:r>0&&t.ch==(n||Xe(e,t.line)).text.length?t.line<e.first+e.size-1?Me(t.line+1,0):null:new Me(t.line,t.ch+r)}function Wo(e){e.setSelection(Me(e.firstLine(),0),Me(e.lastLine()),ve)}function zo(e,t,r){var n={canceled:!1,from:t.from,to:t.to,text:t.text,origin:t.origin,cancel:function(){return n.canceled=!0}};return r&&(n.update=function(i,a,o,s){i&&(n.from=st(e,i)),a&&(n.to=st(e,a)),o&&(n.text=o),s!==void 0&&(n.origin=s)}),fe(e,"beforeChange",e,n),e.cm&&fe(e.cm,"beforeChange",e.cm,n),n.canceled?(e.cm&&(e.cm.curOp.updateInput=2),null):{from:n.from,to:n.to,text:n.text,origin:n.origin}}function Dr(e,t,r){if(e.cm){if(!e.cm.curOp)return Bt(e.cm,Dr)(e,t,r);if(e.cm.state.suppressEdits)return}if((x(e,"beforeChange")||e.cm&&x(e.cm,"beforeChange"))&&(t=zo(e,t,!0),!t))return;var n=xi&&!r&&Si(e,t.from,t.to);if(n)for(var i=n.length-1;i>=0;--i)Qo(e,{from:n[i].from,to:n[i].to,text:i?[""]:t.text,origin:t.origin});else Qo(e,t)}function Qo(e,t){if(t.text.length==1&&t.text[0]==""&&ut(t.from,t.to)==0)return;var r=Ea(e,t);Oo(e,t,r,e.cm?e.cm.curOp.id:NaN),ai(e,t,r,Pn(e,t));var n=[];zn(e,function(i,a){!a&&q(n,i.history)==-1&&(Go(i.history,t),n.push(i.history)),ai(i,t,null,Pn(i,t))})}function Qi(e,t,r){var n=e.cm&&e.cm.state.suppressEdits;if(n&&!r)return;for(var i=e.history,a,o=e.sel,s=t=="undo"?i.done:i.undone,l=t=="undo"?i.undone:i.done,c=0;c<s.length&&!(a=s[c],r?a.ranges&&!a.equals(e.sel):!a.ranges);c++);if(c==s.length)return;for(i.lastOrigin=i.lastSelOrigin=null;;)if(a=s.pop(),a.ranges){if(ji(a,l),r&&!a.equals(e.sel)){Kt(e,a,{clearRedo:!1});return}o=a}else if(n){s.push(a);return}else break;var y=[];ji(o,l),l.push({changes:y,generation:i.generation}),i.generation=a.generation||++i.maxGeneration;for(var C=x(e,"beforeChange")||e.cm&&x(e.cm,"beforeChange"),F=function(Ee){var Oe=a.changes[Ee];if(Oe.origin=t,C&&!zo(e,Oe,!1))return s.length=0,{};y.push(Ca(e,Oe));var _e=Ee?Ea(e,Oe):Te(s);ai(e,Oe,_e,Lo(e,Oe)),!Ee&&e.cm&&e.cm.scrollIntoView({from:Oe.from,to:Wn(Oe)});var He=[];zn(e,function(Ue,Je){!Je&&q(He,Ue.history)==-1&&(Go(Ue.history,Oe),He.push(Ue.history)),ai(Ue,Oe,null,Lo(Ue,Oe))})},L=a.changes.length-1;L>=0;--L){var ue=F(L);if(ue)return ue.v}}function Ho(e,t){if(t==0)return;if(e.first+=t,e.sel=new ln(Fe(e.sel.ranges,function(i){return new vt(Me(i.anchor.line+t,i.anchor.ch),Me(i.head.line+t,i.head.ch))}),e.sel.primIndex),e.cm){Xt(e.cm,e.first,e.first-t,t);for(var r=e.cm.display,n=r.viewFrom;n<r.viewTo;n++)Un(e.cm,n,"gutter")}}function ai(e,t,r,n){if(e.cm&&!e.cm.curOp)return Bt(e.cm,ai)(e,t,r,n);if(t.to.line<e.first){Ho(e,t.text.length-1-(t.to.line-t.from.line));return}if(t.from.line>e.lastLine())return;if(t.from.line<e.first){var i=t.text.length-1-(e.first-t.from.line);Ho(e,i),t={from:Me(e.first,0),to:Me(t.to.line+i,t.to.ch),text:[Te(t.text)],origin:t.origin}}var a=e.lastLine();t.to.line>a&&(t={from:t.from,to:Me(a,Xe(e,a).text.length),text:[t.text[0]],origin:t.origin}),t.removed=Sn(e,t.from,t.to),r||(r=Ea(e,t)),e.cm?El(e.cm,t,n):xa(e,t,n),Wi(e,r,ve),e.cantEdit&&zi(e,Me(e.firstLine(),0))&&(e.cantEdit=!1)}function El(e,t,r){var n=e.doc,i=e.display,a=t.from,o=t.to,s=!1,l=a.line;e.options.lineWrapping||(l=gt(et(Xe(n,a.line))),n.iter(l,o.line+1,function(L){if(L==i.maxLine)return s=!0,!0})),n.sel.contains(t.from,t.to)>-1&&A(e),xa(n,t,r,oo(e)),e.options.lineWrapping||(n.iter(l,a.line+t.text.length,function(L){var ue=Ht(L);ue>i.maxLineLength&&(i.maxLine=L,i.maxLineLength=ue,i.maxLineChanged=!0,s=!1)}),s&&(e.curOp.updateMaxLine=!0)),Wr(n,a.line),ni(e,400);var c=t.text.length-(o.line-a.line)-1;t.full?Xt(e):a.line==o.line&&t.text.length==1&&!Mo(e.doc,t)?Un(e,a.line,"text"):Xt(e,a.line,o.line+1,c);var y=x(e,"changes"),C=x(e,"change");if(C||y){var F={from:a,to:o,text:t.text,removed:t.removed,origin:t.origin};C&&zt(e,"change",e,F),y&&(e.curOp.changeObjs||(e.curOp.changeObjs=[])).push(F)}e.display.selForContextMenu=null}function Rr(e,t,r,n,i){var a;n||(n=r),ut(n,r)<0&&(a=[n,r],r=a[0],n=a[1]),typeof t=="string"&&(t=e.splitLines(t)),Dr(e,{from:r,to:n,text:t,origin:i})}function Jo(e,t,r,n){r<e.line?e.line+=n:t<e.line&&(e.line=t,e.ch=0)}function Ko(e,t,r,n){for(var i=0;i<e.length;++i){var a=e[i],o=!0;if(a.ranges){a.copied||(a=e[i]=a.deepCopy(),a.copied=!0);for(var s=0;s<a.ranges.length;s++)Jo(a.ranges[s].anchor,t,r,n),Jo(a.ranges[s].head,t,r,n);continue}for(var l=0;l<a.changes.length;++l){var c=a.changes[l];if(r<c.from.line)c.from=Me(c.from.line+n,c.from.ch),c.to=Me(c.to.line+n,c.to.ch);else if(t<=c.to.line){o=!1;break}}o||(e.splice(0,i+1),i=0)}}function Go(e,t){var r=t.from.line,n=t.to.line,i=t.text.length-(n-r)-1;Ko(e.done,r,n,i),Ko(e.undone,r,n,i)}function oi(e,t,r,n){var i=t,a=t;return typeof t=="number"?a=Xe(e,Vn(e,t)):i=gt(t),i==null?null:(n(a,i)&&e.cm&&Un(e.cm,i,r),a)}function si(e){this.lines=e,this.parent=null;for(var t=0,r=0;r<e.length;++r)e[r].parent=this,t+=e[r].height;this.height=t}si.prototype={chunkSize:function(){return this.lines.length},removeInner:function(e,t){for(var r=e,n=e+t;r<n;++r){var i=this.lines[r];this.height-=i.height,Jt(i),zt(i,"delete")}this.lines.splice(e,t)},collapse:function(e){e.push.apply(e,this.lines)},insertInner:function(e,t,r){this.height+=r,this.lines=this.lines.slice(0,e).concat(t).concat(this.lines.slice(e));for(var n=0;n<t.length;++n)t[n].parent=this},iterN:function(e,t,r){for(var n=e+t;e<n;++e)if(r(this.lines[e]))return!0}};function li(e){this.children=e;for(var t=0,r=0,n=0;n<e.length;++n){var i=e[n];t+=i.chunkSize(),r+=i.height,i.parent=this}this.size=t,this.height=r,this.parent=null}li.prototype={chunkSize:function(){return this.size},removeInner:function(e,t){this.size-=t;for(var r=0;r<this.children.length;++r){var n=this.children[r],i=n.chunkSize();if(e<i){var a=Math.min(t,i-e),o=n.height;if(n.removeInner(e,a),this.height-=o-n.height,i==a&&(this.children.splice(r--,1),n.parent=null),(t-=a)==0)break;e=0}else e-=i}if(this.size-t<25&&(this.children.length>1||!(this.children[0]instanceof si))){var s=[];this.collapse(s),this.children=[new si(s)],this.children[0].parent=this}},collapse:function(e){for(var t=0;t<this.children.length;++t)this.children[t].collapse(e)},insertInner:function(e,t,r){this.size+=t.length,this.height+=r;for(var n=0;n<this.children.length;++n){var i=this.children[n],a=i.chunkSize();if(e<=a){if(i.insertInner(e,t,r),i.lines&&i.lines.length>50){for(var o=i.lines.length%25+25,s=o;s<i.lines.length;){var l=new si(i.lines.slice(s,s+=25));i.height-=l.height,this.children.splice(++n,0,l),l.parent=this}i.lines=i.lines.slice(0,o),this.maybeSpill()}break}e-=a}},maybeSpill:function(){if(this.children.length<=10)return;var e=this;do{var t=e.children.splice(e.children.length-5,5),r=new li(t);if(e.parent){e.size-=r.size,e.height-=r.height;var i=q(e.parent.children,e);e.parent.children.splice(i+1,0,r)}else{var n=new li(e.children);n.parent=e,e.children=[n,r],e=n}r.parent=e.parent}while(e.children.length>10);e.parent.maybeSpill()},iterN:function(e,t,r){for(var n=0;n<this.children.length;++n){var i=this.children[n],a=i.chunkSize();if(e<a){var o=Math.min(t,a-e);if(i.iterN(e,o,r))return!0;if((t-=o)==0)break;e=0}else e-=a}}};var ui=function(e,t,r){if(r)for(var n in r)r.hasOwnProperty(n)&&(this[n]=r[n]);this.doc=e,this.node=t};ui.prototype.clear=function(){var e=this.doc.cm,t=this.line.widgets,r=this.line,n=gt(r);if(n==null||!t)return;for(var i=0;i<t.length;++i)t[i]==this&&t.splice(i--,1);t.length||(r.widgets=null);var a=Yr(this);dn(r,Math.max(0,r.height-a)),e&&(rn(e,function(){Zo(e,r,-a),Un(e,n,"widget")}),zt(e,"lineWidgetCleared",e,this,n))},ui.prototype.changed=function(){var e=this,t=this.height,r=this.doc.cm,n=this.line;this.height=null;var i=Yr(this)-t;if(!i)return;Ct(this.doc,n)||dn(n,n.height+i),r&&rn(r,function(){r.curOp.forceUpdate=!0,Zo(r,n,i),zt(r,"lineWidgetChanged",r,e,gt(n))})},w(ui);function Zo(e,t,r){kt(t)<(e.curOp&&e.curOp.scrollTop||e.doc.scrollTop)&&pa(e,r)}function Al(e,t,r,n){var i=new ui(e,r,n),a=e.cm;return a&&i.noHScroll&&(a.display.alignWidgets=!0),oi(e,t,"widget",function(o){var s=o.widgets||(o.widgets=[]);if(i.insertAt==null?s.push(i):s.splice(Math.min(s.length-1,Math.max(0,i.insertAt)),0,i),i.line=o,a&&!Ct(e,o)){var l=kt(o)<e.scrollTop;dn(o,o.height+Yr(i)),l&&pa(a,i.height),a.curOp.forceUpdate=!0}return!0}),a&&zt(a,"lineWidgetAdded",a,i,typeof t=="number"?t:gt(t)),i}var Yo=0,Qn=function(e,t){this.lines=[],this.type=t,this.doc=e,this.id=++Yo};Qn.prototype.clear=function(){if(this.explicitlyCleared)return;var e=this.doc.cm,t=e&&!e.curOp;if(t&&sr(e),x(this,"clear")){var r=this.find();r&&zt(this,"clear",r.from,r.to)}for(var n=null,i=null,a=0;a<this.lines.length;++a){var o=this.lines[a],s=Ln(o.markedSpans,this);e&&!this.collapsed?Un(e,gt(o),"text"):e&&(s.to!=null&&(i=gt(o)),s.from!=null&&(n=gt(o))),o.markedSpans=_a(o.markedSpans,s),s.from==null&&this.collapsed&&!Ct(this.doc,o)&&e&&dn(o,Ar(e.display))}if(e&&this.collapsed&&!e.options.lineWrapping)for(var l=0;l<this.lines.length;++l){var c=et(this.lines[l]),y=Ht(c);y>e.display.maxLineLength&&(e.display.maxLine=c,e.display.maxLineLength=y,e.display.maxLineChanged=!0)}n!=null&&e&&this.collapsed&&Xt(e,n,i+1),this.lines.length=0,this.explicitlyCleared=!0,this.atomic&&this.doc.cantEdit&&(this.doc.cantEdit=!1,e&&Uo(e.doc)),e&&zt(e,"markerCleared",e,this,n,i),t&&lr(e),this.parent&&this.parent.clear()},Qn.prototype.find=function(e,t){e==null&&this.type=="bookmark"&&(e=1);for(var r,n,i=0;i<this.lines.length;++i){var a=this.lines[i],o=Ln(a.markedSpans,this);if(o.from!=null&&(r=Me(t?a:gt(a),o.from),e==-1))return r;if(o.to!=null&&(n=Me(t?a:gt(a),o.to),e==1))return n}return r&&{from:r,to:n}},Qn.prototype.changed=function(){var e=this,t=this.find(-1,!0),r=this,n=this.doc.cm;if(!t||!n)return;rn(n,function(){var i=t.line,a=gt(t.line),o=na(n,a);if(o&&(qa(o),n.curOp.selectionChanged=n.curOp.forceUpdate=!0),n.curOp.updateMaxLine=!0,!Ct(r.doc,i)&&r.height!=null){var s=r.height;r.height=null;var l=Yr(r)-s;l&&dn(i,i.height+l)}zt(n,"markerChanged",n,e)})},Qn.prototype.attachLine=function(e){if(!this.lines.length&&this.doc.cm){var t=this.doc.cm.curOp;(!t.maybeHiddenMarkers||q(t.maybeHiddenMarkers,this)==-1)&&(t.maybeUnhiddenMarkers||(t.maybeUnhiddenMarkers=[])).push(this)}this.lines.push(e)},Qn.prototype.detachLine=function(e){if(this.lines.splice(q(this.lines,e),1),!this.lines.length&&this.doc.cm){var t=this.doc.cm.curOp;(t.maybeHiddenMarkers||(t.maybeHiddenMarkers=[])).push(this)}},w(Qn);function Tr(e,t,r,n,i){if(n&&n.shared)return xl(e,t,r,n,i);if(e.cm&&!e.cm.curOp)return Bt(e.cm,Tr)(e,t,r,n,i);var a=new Qn(e,i),o=ut(t,r);if(n&&d(n,a,!1),o>0||o==0&&a.clearWhenEmpty!==!1)return a;if(a.replacedWith&&(a.collapsed=!0,a.widgetNode=_("span",[a.replacedWith],"CodeMirror-widget"),n.handleMouseEvents||a.widgetNode.setAttribute("cm-ignore-events","true"),n.insertLeft&&(a.widgetNode.insertLeft=!0)),a.collapsed){if(qi(e,t.line,t,r,a)||t.line!=r.line&&qi(e,r.line,t,r,a))throw new Error("Inserting collapsed marker partially overlapping an existing one");wi()}a.addToHistory&&Oo(e,{from:t,to:r,origin:"markText"},e.sel,NaN);var s=t.line,l=e.cm,c;if(e.iter(s,r.line+1,function(C){l&&a.collapsed&&!l.options.lineWrapping&&et(C)==l.display.maxLine&&(c=!0),a.collapsed&&s!=t.line&&dn(C,0),zr(C,new gr(a,s==t.line?t.ch:null,s==r.line?r.ch:null)),++s}),a.collapsed&&e.iter(t.line,r.line+1,function(C){Ct(e,C)&&dn(C,0)}),a.clearOnEnter&&de(a,"beforeCursorEnter",function(){return a.clear()}),a.readOnly&&(Ci(),(e.history.done.length||e.history.undone.length)&&e.clearHistory()),a.collapsed&&(a.id=++Yo,a.atomic=!0),l){if(c&&(l.curOp.updateMaxLine=!0),a.collapsed)Xt(l,t.line,r.line+1);else if(a.className||a.startStyle||a.endStyle||a.css||a.attributes||a.title)for(var y=t.line;y<=r.line;y++)Un(l,y,"text");a.atomic&&Uo(l.doc),zt(l,"markerAdded",l,a)}return a}var ci=function(e,t){this.markers=e,this.primary=t;for(var r=0;r<e.length;++r)e[r].parent=this};ci.prototype.clear=function(){if(this.explicitlyCleared)return;this.explicitlyCleared=!0;for(var e=0;e<this.markers.length;++e)this.markers[e].clear();zt(this,"clear")},ci.prototype.find=function(e,t){return this.primary.find(e,t)},w(ci);function xl(e,t,r,n,i){n=d(n),n.shared=!1;var a=[Tr(e,t,r,n,i)],o=a[0],s=n.widgetNode;return zn(e,function(l){s&&(n.widgetNode=s.cloneNode(!0)),a.push(Tr(l,st(l,t),st(l,r),n,i));for(var c=0;c<l.linked.length;++c)if(l.linked[c].isParent)return;o=Te(a)}),new ci(a,o)}function Vo(e){return e.findMarks(Me(e.first,0),e.clipPos(Me(e.lastLine())),function(t){return t.parent})}function Cl(e,t){for(var r=0;r<t.length;r++){var n=t[r],i=n.find(),a=e.clipPos(i.from),o=e.clipPos(i.to);if(ut(a,o)){var s=Tr(e,a,o,n.primary,n.primary.type);n.markers.push(s),s.parent=n}}}function wl(e){for(var t=function(n){var i=e[n],a=[i.primary.doc];zn(i.primary.doc,function(l){return a.push(l)});for(var o=0;o<i.markers.length;o++){var s=i.markers[o];q(a,s.doc)==-1&&(s.parent=null,i.markers.splice(o--,1))}},r=0;r<e.length;r++)t(r)}var Sl=0,qt=function(e,t,r,n,i){if(!(this instanceof qt))return new qt(e,t,r,n,i);r==null&&(r=0),li.call(this,[new si([new wt("",null)])]),this.first=r,this.scrollTop=this.scrollLeft=0,this.cantEdit=!1,this.cleanGeneration=1,this.modeFrontier=this.highlightFrontier=r;var a=Me(r,0);this.sel=Fn(a),this.history=new Ui(null),this.id=++Sl,this.modeOption=t,this.lineSep=n,this.direction=i=="rtl"?"rtl":"ltr",this.extend=!1,typeof e=="string"&&(e=this.splitLines(e)),xa(this,{from:a,to:a,text:e}),Kt(this,Fn(a),ve)};qt.prototype=je(li.prototype,{constructor:qt,iter:function(e,t,r){r?this.iterN(e-this.first,t-e,r):this.iterN(this.first,this.first+this.size,e)},insert:function(e,t){for(var r=0,n=0;n<t.length;++n)r+=t[n].height;this.insertInner(e-this.first,t,r)},remove:function(e,t){this.removeInner(e-this.first,t)},getValue:function(e){var t=fr(this,this.first,this.first+this.size);return e===!1?t:t.join(e||this.lineSeparator())},setValue:_t(function(e){var t=Me(this.first,0),r=this.first+this.size-1;Dr(this,{from:t,to:Me(r,Xe(this,r).text.length),text:this.splitLines(e),origin:"setValue",full:!0},!0),this.cm&&qr(this.cm,0,0),Kt(this,Fn(t),ve)}),replaceRange:function(e,t,r,n){t=st(this,t),r=r?st(this,r):t,Rr(this,e,t,r,n)},getRange:function(e,t,r){var n=Sn(this,st(this,e),st(this,t));return r===!1?n:n.join(r||this.lineSeparator())},getLine:function(e){var t=this.getLineHandle(e);return t&&t.text},getLineHandle:function(e){if(In(this,e))return Xe(this,e)},getLineNumber:function(e){return gt(e)},getLineHandleVisualStart:function(e){return typeof e=="number"&&(e=Xe(this,e)),et(e)},lineCount:function(){return this.size},firstLine:function(){return this.first},lastLine:function(){return this.first+this.size-1},clipPos:function(e){return st(this,e)},getCursor:function(e){var t=this.sel.primary(),r;return e==null||e=="head"?r=t.head:e=="anchor"?r=t.anchor:e=="end"||e=="to"||e===!1?r=t.to():r=t.from(),r},listSelections:function(){return this.sel.ranges},somethingSelected:function(){return this.sel.somethingSelected()},setCursor:_t(function(e,t,r){No(this,st(this,typeof e=="number"?Me(e,t||0):e),null,r)}),setSelection:_t(function(e,t,r){No(this,st(this,e),st(this,t||e),r)}),extendSelection:_t(function(e,t,r){Fi(this,st(this,e),t&&st(this,t),r)}),extendSelections:_t(function(e,t){Po(this,Ur(this,e),t)}),extendSelectionsBy:_t(function(e,t){var r=Fe(this.sel.ranges,e);Po(this,Ur(this,r),t)}),setSelections:_t(function(e,t,r){if(!e.length)return;for(var n=[],i=0;i<e.length;i++)n[i]=new vt(st(this,e[i].anchor),st(this,e[i].head));t==null&&(t=Math.min(e.length-1,this.sel.primIndex)),Kt(this,vn(this.cm,n,t),r)}),addSelection:_t(function(e,t,r){var n=this.sel.ranges.slice(0);n.push(new vt(st(this,e),st(this,t||e))),Kt(this,vn(this.cm,n,n.length-1),r)}),getSelection:function(e){for(var t=this.sel.ranges,r,n=0;n<t.length;n++){var i=Sn(this,t[n].from(),t[n].to());r=r?r.concat(i):i}return e===!1?r:r.join(e||this.lineSeparator())},getSelections:function(e){for(var t=[],r=this.sel.ranges,n=0;n<r.length;n++){var i=Sn(this,r[n].from(),r[n].to());e!==!1&&(i=i.join(e||this.lineSeparator())),t[n]=i}return t},replaceSelection:function(e,t,r){for(var n=[],i=0;i<this.sel.ranges.length;i++)n[i]=e;this.replaceSelections(n,t,r||"+input")},replaceSelections:_t(function(e,t,r){for(var n=[],i=this.sel,a=0;a<i.ranges.length;a++){var o=i.ranges[a];n[a]={from:o.from(),to:o.to(),text:this.splitLines(e[a]),origin:r}}for(var s=t&&t!="end"&&fl(this,n,t),l=n.length-1;l>=0;l--)Dr(this,n[l]);s?Bo(this,s):this.cm&&wr(this.cm)}),undo:_t(function(){Qi(this,"undo")}),redo:_t(function(){Qi(this,"redo")}),undoSelection:_t(function(){Qi(this,"undo",!0)}),redoSelection:_t(function(){Qi(this,"redo",!0)}),setExtending:function(e){this.extend=e},getExtending:function(){return this.extend},historySize:function(){for(var e=this.history,t=0,r=0,n=0;n<e.done.length;n++)e.done[n].ranges||++t;for(var i=0;i<e.undone.length;i++)e.undone[i].ranges||++r;return{undo:t,redo:r}},clearHistory:function(){var e=this;this.history=new Ui(this.history.maxGeneration),zn(this,function(t){return t.history=e.history},!0)},markClean:function(){this.cleanGeneration=this.changeGeneration(!0)},changeGeneration:function(e){return e&&(this.history.lastOp=this.history.lastSelOp=this.history.lastOrigin=null),this.history.generation},isClean:function(e){return this.history.generation==(e||this.cleanGeneration)},getHistory:function(){return{done:kr(this.history.done),undone:kr(this.history.undone)}},setHistory:function(e){var t=this.history=new Ui(this.history.maxGeneration);t.done=kr(e.done.slice(0),null,!0),t.undone=kr(e.undone.slice(0),null,!0)},setGutterMarker:_t(function(e,t,r){return oi(this,e,"gutter",function(n){var i=n.gutterMarkers||(n.gutterMarkers={});return i[t]=r,!r&&We(i)&&(n.gutterMarkers=null),!0})}),clearGutter:_t(function(e){var t=this;this.iter(function(r){r.gutterMarkers&&r.gutterMarkers[e]&&oi(t,r,"gutter",function(){return r.gutterMarkers[e]=null,We(r.gutterMarkers)&&(r.gutterMarkers=null),!0})})}),lineInfo:function(e){var t;if(typeof e=="number"){if(!In(this,e))return null;if(t=e,e=Xe(this,e),!e)return null}else if(t=gt(e),t==null)return null;return{line:t,handle:e,text:e.text,gutterMarkers:e.gutterMarkers,textClass:e.textClass,bgClass:e.bgClass,wrapClass:e.wrapClass,widgets:e.widgets}},addLineClass:_t(function(e,t,r){return oi(this,e,t=="gutter"?"gutter":"class",function(n){var i=t=="text"?"textClass":t=="background"?"bgClass":t=="gutter"?"gutterClass":"wrapClass";if(!n[i])n[i]=r;else{if(re(r).test(n[i]))return!1;n[i]+=" "+r}return!0})}),removeLineClass:_t(function(e,t,r){return oi(this,e,t=="gutter"?"gutter":"class",function(n){var i=t=="text"?"textClass":t=="background"?"bgClass":t=="gutter"?"gutterClass":"wrapClass",a=n[i];if(a)if(r==null)n[i]=null;else{var o=a.match(re(r));if(!o)return!1;var s=o.index+o[0].length;n[i]=a.slice(0,o.index)+(!o.index||s==a.length?"":" ")+a.slice(s)||null}else return!1;return!0})}),addLineWidget:_t(function(e,t,r){return Al(this,e,t,r)}),removeLineWidget:function(e){e.clear()},markText:function(e,t,r){return Tr(this,st(this,e),st(this,t),r,r&&r.type||"range")},setBookmark:function(e,t){var r={replacedWith:t&&(t.nodeType==null?t.widget:t),insertLeft:t&&t.insertLeft,clearWhenEmpty:!1,shared:t&&t.shared,handleMouseEvents:t&&t.handleMouseEvents};return e=st(this,e),Tr(this,e,e,r,"bookmark")},findMarksAt:function(e){e=st(this,e);var t=[],r=Xe(this,e.line).markedSpans;if(r)for(var n=0;n<r.length;++n){var i=r[n];(i.from==null||i.from<=e.ch)&&(i.to==null||i.to>=e.ch)&&t.push(i.marker.parent||i.marker)}return t},findMarks:function(e,t,r){e=st(this,e),t=st(this,t);var n=[],i=e.line;return this.iter(e.line,t.line+1,function(a){var o=a.markedSpans;if(o)for(var s=0;s<o.length;s++){var l=o[s];!(l.to!=null&&i==e.line&&e.ch>=l.to||l.from==null&&i!=e.line||l.from!=null&&i==t.line&&l.from>=t.ch)&&(!r||r(l.marker))&&n.push(l.marker.parent||l.marker)}++i}),n},getAllMarks:function(){var e=[];return this.iter(function(t){var r=t.markedSpans;if(r)for(var n=0;n<r.length;++n)r[n].from!=null&&e.push(r[n].marker)}),e},posFromIndex:function(e){var t,r=this.first,n=this.lineSeparator().length;return this.iter(function(i){var a=i.text.length+n;if(a>e)return t=e,!0;e-=a,++r}),st(this,Me(r,t))},indexFromPos:function(e){e=st(this,e);var t=e.ch;if(e.line<this.first||e.ch<0)return 0;var r=this.lineSeparator().length;return this.iter(this.first,e.line,function(n){t+=n.text.length+r}),t},copy:function(e){var t=new qt(fr(this,this.first,this.first+this.size),this.modeOption,this.first,this.lineSep,this.direction);return t.scrollTop=this.scrollTop,t.scrollLeft=this.scrollLeft,t.sel=this.sel,t.extend=!1,e&&(t.history.undoDepth=this.history.undoDepth,t.setHistory(this.getHistory())),t},linkedDoc:function(e){e||(e={});var t=this.first,r=this.first+this.size;e.from!=null&&e.from>t&&(t=e.from),e.to!=null&&e.to<r&&(r=e.to);var n=new qt(fr(this,t,r),e.mode||this.modeOption,t,this.lineSep,this.direction);return e.sharedHist&&(n.history=this.history),(this.linked||(this.linked=[])).push({doc:n,sharedHist:e.sharedHist}),n.linked=[{doc:this,isParent:!0,sharedHist:e.sharedHist}],Cl(n,Vo(this)),n},unlinkDoc:function(e){if(e instanceof Mt&&(e=e.doc),this.linked)for(var t=0;t<this.linked.length;++t){var r=this.linked[t];if(r.doc!=e)continue;this.linked.splice(t,1),e.unlinkDoc(this),wl(Vo(this));break}if(e.history==this.history){var n=[e.id];zn(e,function(i){return n.push(i.id)},!0),e.history=new Ui(null),e.history.done=kr(this.history.done,n),e.history.undone=kr(this.history.undone,n)}},iterLinkedDocs:function(e){zn(this,e)},getMode:function(){return this.mode},getEditor:function(){return this.cm},splitLines:function(e){return this.lineSep?e.split(this.lineSep):pt(e)},lineSeparator:function(){return this.lineSep||`
|
|
`},setDirection:_t(function(e){if(e!="rtl"&&(e="ltr"),e==this.direction)return;this.direction=e,this.iter(function(t){return t.order=null}),this.cm&&hl(this.cm)})}),qt.prototype.eachLine=qt.prototype.iter;var Xo=0;function kl(e){var t=this;if(qo(t),Le(t,e)||Rn(t.display,e))return;f(e),M&&(Xo=+new Date);var r=rr(t,e,!0),n=e.dataTransfer.files;if(!r||t.isReadOnly())return;if(n&&n.length&&window.FileReader&&window.File)for(var i=n.length,a=Array(i),o=0,s=function(){++o==i&&Bt(t,function(){r=st(t.doc,r);var L={from:r,to:r,text:t.doc.splitLines(a.filter(function(ue){return ue!=null}).join(t.doc.lineSeparator())),origin:"paste"};Dr(t.doc,L),Bo(t.doc,Fn(st(t.doc,r),st(t.doc,Wn(L))))})()},l=function(L,ue){if(t.options.allowDropFileTypes&&q(t.options.allowDropFileTypes,L.type)==-1){s();return}var Ee=new FileReader;Ee.onerror=function(){return s()},Ee.onload=function(){var Oe=Ee.result;if(/[\x00-\x08\x0e-\x1f]{2}/.test(Oe)){s();return}a[ue]=Oe,s()},Ee.readAsText(L)},c=0;c<n.length;c++)l(n[c],c);else{if(t.state.draggingText&&t.doc.sel.contains(r)>-1){t.state.draggingText(e),setTimeout(function(){return t.display.input.focus()},20);return}try{var y=e.dataTransfer.getData("Text");if(y){var C;if(t.state.draggingText&&!t.state.draggingText.copy&&(C=t.listSelections()),Wi(t.doc,Fn(r,r)),C)for(var F=0;F<C.length;++F)Rr(t.doc,"",C[F].anchor,C[F].head,"drag");t.replaceSelection(y,"around","paste"),t.display.input.focus()}}catch(L){}}}function Ml(e,t){if(M&&(!e.state.draggingText||+new Date-Xo<100)){v(t);return}if(Le(e,t)||Rn(e.display,t))return;if(t.dataTransfer.setData("Text",e.getSelection()),t.dataTransfer.effectAllowed="copyMove",t.dataTransfer.setDragImage&&!ae){var r=m("img",null,null,"position: fixed; left: 0; top: 0;");r.src="data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==",z&&(r.width=r.height=1,e.display.wrapper.appendChild(r),r._top=r.offsetTop),t.dataTransfer.setDragImage(r,0,0),z&&r.parentNode.removeChild(r)}}function Dl(e,t){var r=rr(e,t);if(!r)return;var n=document.createDocumentFragment();uo(e,r,n),e.display.dragCursor||(e.display.dragCursor=m("div",null,"CodeMirror-cursors CodeMirror-dragcursors"),e.display.lineSpace.insertBefore(e.display.dragCursor,e.display.cursorDiv)),P(e.display.dragCursor,n)}function qo(e){e.display.dragCursor&&(e.display.lineSpace.removeChild(e.display.dragCursor),e.display.dragCursor=null)}function $o(e){if(!document.getElementsByClassName)return;for(var t=document.getElementsByClassName("CodeMirror"),r=[],n=0;n<t.length;n++){var i=t[n].CodeMirror;i&&r.push(i)}r.length&&r[0].operation(function(){for(var a=0;a<r.length;a++)e(r[a])})}var es=!1;function Rl(){if(es)return;Tl(),es=!0}function Tl(){var e;de(window,"resize",function(){e==null&&(e=setTimeout(function(){e=null,$o(Ol)},100))}),de(window,"blur",function(){return $o(Cr)})}function Ol(e){var t=e.display;t.cachedCharWidth=t.cachedTextHeight=t.cachedPaddingH=null,t.scrollbarsClipped=!1,e.setSize()}for(var Hn={3:"Pause",8:"Backspace",9:"Tab",13:"Enter",16:"Shift",17:"Ctrl",18:"Alt",19:"Pause",20:"CapsLock",27:"Esc",32:"Space",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"Left",38:"Up",39:"Right",40:"Down",44:"PrintScrn",45:"Insert",46:"Delete",59:";",61:"=",91:"Mod",92:"Mod",93:"Mod",106:"*",107:"=",109:"-",110:".",111:"/",145:"ScrollLock",173:"-",186:";",187:"=",188:",",189:"-",190:".",191:"/",192:"`",219:"[",220:"\\",221:"]",222:"'",224:"Mod",63232:"Up",63233:"Down",63234:"Left",63235:"Right",63272:"Delete",63273:"Home",63275:"End",63276:"PageUp",63277:"PageDown",63302:"Insert"},di=0;di<10;di++)Hn[di+48]=Hn[di+96]=String(di);for(var Hi=65;Hi<=90;Hi++)Hn[Hi]=String.fromCharCode(Hi);for(var fi=1;fi<=12;fi++)Hn[fi+111]=Hn[fi+63235]="F"+fi;var Tn={};Tn.basic={Left:"goCharLeft",Right:"goCharRight",Up:"goLineUp",Down:"goLineDown",End:"goLineEnd",Home:"goLineStartSmart",PageUp:"goPageUp",PageDown:"goPageDown",Delete:"delCharAfter",Backspace:"delCharBefore","Shift-Backspace":"delCharBefore",Tab:"defaultTab","Shift-Tab":"indentAuto",Enter:"newlineAndIndent",Insert:"toggleOverwrite",Esc:"singleSelection"},Tn.pcDefault={"Ctrl-A":"selectAll","Ctrl-D":"deleteLine","Ctrl-Z":"undo","Shift-Ctrl-Z":"redo","Ctrl-Y":"redo","Ctrl-Home":"goDocStart","Ctrl-End":"goDocEnd","Ctrl-Up":"goLineUp","Ctrl-Down":"goLineDown","Ctrl-Left":"goGroupLeft","Ctrl-Right":"goGroupRight","Alt-Left":"goLineStart","Alt-Right":"goLineEnd","Ctrl-Backspace":"delGroupBefore","Ctrl-Delete":"delGroupAfter","Ctrl-S":"save","Ctrl-F":"find","Ctrl-G":"findNext","Shift-Ctrl-G":"findPrev","Shift-Ctrl-F":"replace","Shift-Ctrl-R":"replaceAll","Ctrl-[":"indentLess","Ctrl-]":"indentMore","Ctrl-U":"undoSelection","Shift-Ctrl-U":"redoSelection","Alt-U":"redoSelection",fallthrough:"basic"},Tn.emacsy={"Ctrl-F":"goCharRight","Ctrl-B":"goCharLeft","Ctrl-P":"goLineUp","Ctrl-N":"goLineDown","Alt-F":"goWordRight","Alt-B":"goWordLeft","Ctrl-A":"goLineStart","Ctrl-E":"goLineEnd","Ctrl-V":"goPageDown","Shift-Ctrl-V":"goPageUp","Ctrl-D":"delCharAfter","Ctrl-H":"delCharBefore","Alt-D":"delWordAfter","Alt-Backspace":"delWordBefore","Ctrl-K":"killLine","Ctrl-T":"transposeChars","Ctrl-O":"openLine"},Tn.macDefault={"Cmd-A":"selectAll","Cmd-D":"deleteLine","Cmd-Z":"undo","Shift-Cmd-Z":"redo","Cmd-Y":"redo","Cmd-Home":"goDocStart","Cmd-Up":"goDocStart","Cmd-End":"goDocEnd","Cmd-Down":"goDocEnd","Alt-Left":"goGroupLeft","Alt-Right":"goGroupRight","Cmd-Left":"goLineLeft","Cmd-Right":"goLineRight","Alt-Backspace":"delGroupBefore","Ctrl-Alt-Backspace":"delGroupAfter","Alt-Delete":"delGroupAfter","Cmd-S":"save","Cmd-F":"find","Cmd-G":"findNext","Shift-Cmd-G":"findPrev","Cmd-Alt-F":"replace","Shift-Cmd-Alt-F":"replaceAll","Cmd-[":"indentLess","Cmd-]":"indentMore","Cmd-Backspace":"delWrappedLineLeft","Cmd-Delete":"delWrappedLineRight","Cmd-U":"undoSelection","Shift-Cmd-U":"redoSelection","Ctrl-Up":"goDocStart","Ctrl-Down":"goDocEnd",fallthrough:["basic","emacsy"]},Tn.default=Q?Tn.macDefault:Tn.pcDefault;function Il(e){var t=e.split(/-(?!$)/);e=t[t.length-1];for(var r,n,i,a,o=0;o<t.length-1;o++){var s=t[o];if(/^(cmd|meta|m)$/i.test(s))a=!0;else if(/^a(lt)?$/i.test(s))r=!0;else if(/^(c|ctrl|control)$/i.test(s))n=!0;else if(/^s(hift)?$/i.test(s))i=!0;else throw new Error("Unrecognized modifier name: "+s)}return r&&(e="Alt-"+e),n&&(e="Ctrl-"+e),a&&(e="Cmd-"+e),i&&(e="Shift-"+e),e}function Ll(e){var t={};for(var r in e)if(e.hasOwnProperty(r)){var n=e[r];if(/^(name|fallthrough|(de|at)tach)$/.test(r))continue;if(n=="..."){delete e[r];continue}for(var i=Fe(r.split(" "),Il),a=0;a<i.length;a++){var o=void 0,s=void 0;a==i.length-1?(s=i.join(" "),o=n):(s=i.slice(0,a+1).join(" "),o="...");var l=t[s];if(!l)t[s]=o;else if(l!=o)throw new Error("Inconsistent bindings for "+s)}delete e[r]}for(var c in t)e[c]=t[c];return e}function Or(e,t,r,n){t=Ji(t);var i=t.call?t.call(e,n):t[e];if(i===!1)return"nothing";if(i==="...")return"multi";if(i!=null&&r(i))return"handled";if(t.fallthrough){if(Object.prototype.toString.call(t.fallthrough)!="[object Array]")return Or(e,t.fallthrough,r,n);for(var a=0;a<t.fallthrough.length;a++){var o=Or(e,t.fallthrough[a],r,n);if(o)return o}}}function ts(e){var t=typeof e=="string"?e:Hn[e.keyCode];return t=="Ctrl"||t=="Alt"||t=="Shift"||t=="Mod"}function ns(e,t,r){var n=e;return t.altKey&&n!="Alt"&&(e="Alt-"+e),(he?t.metaKey:t.ctrlKey)&&n!="Ctrl"&&(e="Ctrl-"+e),(he?t.ctrlKey:t.metaKey)&&n!="Mod"&&(e="Cmd-"+e),!r&&t.shiftKey&&n!="Shift"&&(e="Shift-"+e),e}function rs(e,t){if(z&&e.keyCode==34&&e.char)return!1;var r=Hn[e.keyCode];return r==null||e.altGraphKey?!1:(e.keyCode==3&&e.code&&(r=e.code),ns(r,e,t))}function Ji(e){return typeof e=="string"?Tn[e]:e}function Ir(e,t){for(var r=e.doc.sel.ranges,n=[],i=0;i<r.length;i++){for(var a=t(r[i]);n.length&&ut(a.from,Te(n).to)<=0;){var o=n.pop();if(ut(o.from,a.from)<0){a.from=o.from;break}}n.push(a)}rn(e,function(){for(var s=n.length-1;s>=0;s--)Rr(e.doc,"",n[s].from,n[s].to,"+delete");wr(e)})}function ka(e,t,r){var n=ke(e.text,t+r,r);return n<0||n>e.text.length?null:n}function Ma(e,t,r){var n=ka(e,t.ch,r);return n==null?null:new Me(t.line,n,r<0?"after":"before")}function Da(e,t,r,n,i){if(e){t.doc.direction=="rtl"&&(i=-i);var a=$e(r,t.doc.direction);if(a){var o=i<0?Te(a):a[0],s=i<0==(o.level==1),l=s?"after":"before",c;if(o.level>0||t.doc.direction=="rtl"){var y=Er(t,r);c=i<0?r.text.length-1:0;var C=An(t,y,c).top;c=qe(function(F){return An(t,y,F).top==C},i<0==(o.level==1)?o.from:o.to-1,c),l=="before"&&(c=ka(r,c,1))}else c=i<0?o.to:o.from;return new Me(n,c,l)}}return new Me(n,i<0?r.text.length:0,i<0?"before":"after")}function Pl(e,t,r,n){var i=$e(t,e.doc.direction);if(!i)return Ma(t,r,n);r.ch>=t.text.length?(r.ch=t.text.length,r.sticky="before"):r.ch<=0&&(r.ch=0,r.sticky="after");var a=Ke(i,r.ch,r.sticky),o=i[a];if(e.doc.direction=="ltr"&&o.level%2==0&&(n>0?o.to>r.ch:o.from<r.ch))return Ma(t,r,n);var s=function(_e,He){return ka(t,_e instanceof Me?_e.ch:_e,He)},l,c=function(_e){return e.options.lineWrapping?(l=l||Er(e,t),ao(e,t,l,_e)):{begin:0,end:t.text.length}},y=c(r.sticky=="before"?s(r,-1):r.ch);if(e.doc.direction=="rtl"||o.level==1){var C=o.level==1==n<0,F=s(r,C?1:-1);if(F!=null&&(C?F<=o.to&&F<=y.end:F>=o.from&&F>=y.begin)){var L=C?"before":"after";return new Me(r.line,F,L)}}var ue=function(_e,He,Ue){for(var Je=function(xt,Ut){return Ut?new Me(r.line,s(xt,1),"before"):new Me(r.line,xt,"after")};_e>=0&&_e<i.length;_e+=He){var at=i[_e],tt=He>0==(at.level!=1),ht=tt?Ue.begin:s(Ue.end,-1);if(at.from<=ht&&ht<at.to)return Je(ht,tt);if(ht=tt?at.from:s(at.to,-1),Ue.begin<=ht&&ht<Ue.end)return Je(ht,tt)}},Ee=ue(a+n,n,y);if(Ee)return Ee;var Oe=n>0?y.end:s(y.begin,-1);return Oe!=null&&!(n>0&&Oe==t.text.length)&&(Ee=ue(n>0?0:i.length-1,n,c(Oe)),Ee)?Ee:null}var hi={selectAll:Wo,singleSelection:function(e){return e.setSelection(e.getCursor("anchor"),e.getCursor("head"),ve)},killLine:function(e){return Ir(e,function(t){if(t.empty()){var r=Xe(e.doc,t.head.line).text.length;return t.head.ch==r&&t.head.line<e.lastLine()?{from:t.head,to:Me(t.head.line+1,0)}:{from:t.head,to:Me(t.head.line,r)}}else return{from:t.from(),to:t.to()}})},deleteLine:function(e){return Ir(e,function(t){return{from:Me(t.from().line,0),to:st(e.doc,Me(t.to().line+1,0))}})},delLineLeft:function(e){return Ir(e,function(t){return{from:Me(t.from().line,0),to:t.from()}})},delWrappedLineLeft:function(e){return Ir(e,function(t){var r=e.charCoords(t.head,"div").top+5,n=e.coordsChar({left:0,top:r},"div");return{from:n,to:t.from()}})},delWrappedLineRight:function(e){return Ir(e,function(t){var r=e.charCoords(t.head,"div").top+5,n=e.coordsChar({left:e.display.lineDiv.offsetWidth+100,top:r},"div");return{from:t.from(),to:n}})},undo:function(e){return e.undo()},redo:function(e){return e.redo()},undoSelection:function(e){return e.undoSelection()},redoSelection:function(e){return e.redoSelection()},goDocStart:function(e){return e.extendSelection(Me(e.firstLine(),0))},goDocEnd:function(e){return e.extendSelection(Me(e.lastLine()))},goLineStart:function(e){return e.extendSelectionsBy(function(t){return is(e,t.head.line)},{origin:"+move",bias:1})},goLineStartSmart:function(e){return e.extendSelectionsBy(function(t){return as(e,t.head)},{origin:"+move",bias:1})},goLineEnd:function(e){return e.extendSelectionsBy(function(t){return Nl(e,t.head.line)},{origin:"+move",bias:-1})},goLineRight:function(e){return e.extendSelectionsBy(function(t){var r=e.cursorCoords(t.head,"div").top+5;return e.coordsChar({left:e.display.lineDiv.offsetWidth+100,top:r},"div")},oe)},goLineLeft:function(e){return e.extendSelectionsBy(function(t){var r=e.cursorCoords(t.head,"div").top+5;return e.coordsChar({left:0,top:r},"div")},oe)},goLineLeftSmart:function(e){return e.extendSelectionsBy(function(t){var r=e.cursorCoords(t.head,"div").top+5,n=e.coordsChar({left:0,top:r},"div");return n.ch<e.getLine(n.line).search(/\S/)?as(e,t.head):n},oe)},goLineUp:function(e){return e.moveV(-1,"line")},goLineDown:function(e){return e.moveV(1,"line")},goPageUp:function(e){return e.moveV(-1,"page")},goPageDown:function(e){return e.moveV(1,"page")},goCharLeft:function(e){return e.moveH(-1,"char")},goCharRight:function(e){return e.moveH(1,"char")},goColumnLeft:function(e){return e.moveH(-1,"column")},goColumnRight:function(e){return e.moveH(1,"column")},goWordLeft:function(e){return e.moveH(-1,"word")},goGroupRight:function(e){return e.moveH(1,"group")},goGroupLeft:function(e){return e.moveH(-1,"group")},goWordRight:function(e){return e.moveH(1,"word")},delCharBefore:function(e){return e.deleteH(-1,"codepoint")},delCharAfter:function(e){return e.deleteH(1,"char")},delWordBefore:function(e){return e.deleteH(-1,"word")},delWordAfter:function(e){return e.deleteH(1,"word")},delGroupBefore:function(e){return e.deleteH(-1,"group")},delGroupAfter:function(e){return e.deleteH(1,"group")},indentAuto:function(e){return e.indentSelection("smart")},indentMore:function(e){return e.indentSelection("add")},indentLess:function(e){return e.indentSelection("subtract")},insertTab:function(e){return e.replaceSelection(" ")},insertSoftTab:function(e){for(var t=[],r=e.listSelections(),n=e.options.tabSize,i=0;i<r.length;i++){var a=r[i].from(),o=k(e.getLine(a.line),a.ch,n);t.push(G(n-o%n))}e.replaceSelections(t)},defaultTab:function(e){e.somethingSelected()?e.indentSelection("add"):e.execCommand("insertTab")},transposeChars:function(e){return rn(e,function(){for(var t=e.listSelections(),r=[],n=0;n<t.length;n++){if(!t[n].empty())continue;var i=t[n].head,a=Xe(e.doc,i.line).text;if(a){if(i.ch==a.length&&(i=new Me(i.line,i.ch-1)),i.ch>0)i=new Me(i.line,i.ch+1),e.replaceRange(a.charAt(i.ch-1)+a.charAt(i.ch-2),Me(i.line,i.ch-2),i,"+transpose");else if(i.line>e.doc.first){var o=Xe(e.doc,i.line-1).text;o&&(i=new Me(i.line,1),e.replaceRange(a.charAt(0)+e.doc.lineSeparator()+o.charAt(o.length-1),Me(i.line-1,o.length-1),i,"+transpose"))}}r.push(new vt(i,i))}e.setSelections(r)})},newlineAndIndent:function(e){return rn(e,function(){for(var t=e.listSelections(),r=t.length-1;r>=0;r--)e.replaceRange(e.doc.lineSeparator(),t[r].anchor,t[r].head,"+input");t=e.listSelections();for(var n=0;n<t.length;n++)e.indentLine(t[n].from().line,null,!0);wr(e)})},openLine:function(e){return e.replaceSelection(`
|
|
`,"start")},toggleOverwrite:function(e){return e.toggleOverwrite()}};function is(e,t){var r=Xe(e.doc,t),n=et(r);return n!=r&&(t=gt(n)),Da(!0,e,n,t,1)}function Nl(e,t){var r=Xe(e.doc,t),n=ct(r);return n!=r&&(t=gt(n)),Da(!0,e,r,t,-1)}function as(e,t){var r=is(e,t.line),n=Xe(e.doc,r.line),i=$e(n,e.doc.direction);if(!i||i[0].level==0){var a=Math.max(r.ch,n.text.search(/\S/)),o=t.line==r.line&&t.ch<=a&&t.ch;return Me(r.line,o?0:a,r.sticky)}return r}function Ki(e,t,r){if(typeof t=="string"&&(t=hi[t],!t))return!1;e.display.input.ensurePolled();var n=e.display.shift,i=!1;try{e.isReadOnly()&&(e.state.suppressEdits=!0),r&&(e.display.shift=!1),i=t(e)!=Be}finally{e.display.shift=n,e.state.suppressEdits=!1}return i}function Bl(e,t,r){for(var n=0;n<e.state.keyMaps.length;n++){var i=Or(t,e.state.keyMaps[n],r,e);if(i)return i}return e.options.extraKeys&&Or(t,e.options.extraKeys,r,e)||Or(t,e.options.keyMap,r,e)}var _l=new $;function pi(e,t,r,n){var i=e.state.keySeq;if(i){if(ts(t))return"handled";if(/\'$/.test(t)?e.state.keySeq=null:_l.set(50,function(){e.state.keySeq==i&&(e.state.keySeq=null,e.display.input.reset())}),os(e,i+" "+t,r,n))return!0}return os(e,t,r,n)}function os(e,t,r,n){var i=Bl(e,t,n);return i=="multi"&&(e.state.keySeq=t),i=="handled"&&zt(e,"keyHandled",e,t,r),(i=="handled"||i=="multi")&&(f(r),da(e)),!!i}function ss(e,t){var r=rs(t,!0);return r?t.shiftKey&&!e.state.keySeq?pi(e,"Shift-"+r,t,function(n){return Ki(e,n,!0)})||pi(e,r,t,function(n){if(typeof n=="string"?/^go[A-Z]/.test(n):n.motion)return Ki(e,n)}):pi(e,r,t,function(n){return Ki(e,n)}):!1}function Ul(e,t,r){return pi(e,"'"+r+"'",t,function(n){return Ki(e,n,!0)})}var Ra=null;function ls(e){var t=this;if(e.target&&e.target!=t.display.input.getField())return;if(t.curOp.focus=j(),Le(t,e))return;M&&S<11&&e.keyCode==27&&(e.returnValue=!1);var r=e.keyCode;t.display.shift=r==16||e.shiftKey;var n=ss(t,e);z&&(Ra=n?r:null,!n&&r==88&&!Ft&&(Q?e.metaKey:e.ctrlKey)&&t.replaceSelection("",null,"cut")),J&&!Q&&!n&&r==46&&e.shiftKey&&!e.ctrlKey&&document.execCommand&&document.execCommand("cut"),r==18&&!/\bCodeMirror-crosshair\b/.test(t.display.lineDiv.className)&&jl(t)}function jl(e){var t=e.display.lineDiv;X(t,"CodeMirror-crosshair");function r(n){(n.keyCode==18||!n.altKey)&&(te(t,"CodeMirror-crosshair"),Ge(document,"keyup",r),Ge(document,"mouseover",r))}de(document,"keyup",r),de(document,"mouseover",r)}function us(e){e.keyCode==16&&(this.doc.sel.shift=!1),Le(this,e)}function cs(e){var t=this;if(e.target&&e.target!=t.display.input.getField())return;if(Rn(t.display,e)||Le(t,e)||e.ctrlKey&&!e.altKey||Q&&e.metaKey)return;var r=e.keyCode,n=e.charCode;if(z&&r==Ra){Ra=null,f(e);return}if(z&&(!e.which||e.which<10)&&ss(t,e))return;var i=String.fromCharCode(n==null?r:n);if(i=="\b")return;if(Ul(t,e,i))return;t.display.input.onKeyPress(e)}var Fl=400,Ta=function(e,t,r){this.time=e,this.pos=t,this.button=r};Ta.prototype.compare=function(e,t,r){return this.time+Fl>e&&ut(t,this.pos)==0&&r==this.button};var mi,gi;function Wl(e,t){var r=+new Date;return gi&&gi.compare(r,e,t)?(mi=gi=null,"triple"):mi&&mi.compare(r,e,t)?(gi=new Ta(r,e,t),mi=null,"double"):(mi=new Ta(r,e,t),gi=null,"single")}function ds(e){var t=this,r=t.display;if(Le(t,e)||r.activeTouch&&r.input.supportsTouch())return;if(r.input.ensurePolled(),r.shift=e.shiftKey,Rn(r,e)){E||(r.scroller.draggable=!1,setTimeout(function(){return r.scroller.draggable=!0},100));return}if(Oa(t,e))return;var n=rr(t,e),i=V(e),a=n?Wl(n,i):"single";if(window.focus(),i==1&&t.state.selectingText&&t.state.selectingText(e),n&&zl(t,i,n,a,e))return;i==1?n?Hl(t,n,a,e):B(e)==r.scroller&&f(e):i==2?(n&&Fi(t.doc,n),setTimeout(function(){return r.input.focus()},20)):i==3&&(Re?t.display.input.onContextMenu(e):fo(t))}function zl(e,t,r,n,i){var a="Click";return n=="double"?a="Double"+a:n=="triple"&&(a="Triple"+a),a=(t==1?"Left":t==2?"Middle":"Right")+a,pi(e,ns(a,i),i,function(o){if(typeof o=="string"&&(o=hi[o]),!o)return!1;var s=!1;try{e.isReadOnly()&&(e.state.suppressEdits=!0),s=o(e,r)!=Be}finally{e.state.suppressEdits=!1}return s})}function Ql(e,t,r){var n=e.getOption("configureMouse"),i=n?n(e,t,r):{};if(i.unit==null){var a=ge?r.shiftKey&&r.metaKey:r.altKey;i.unit=a?"rectangle":t=="single"?"char":t=="double"?"word":"line"}return(i.extend==null||e.doc.extend)&&(i.extend=e.doc.extend||r.shiftKey),i.addNew==null&&(i.addNew=Q?r.metaKey:r.ctrlKey),i.moveOnDrag==null&&(i.moveOnDrag=!(Q?r.altKey:r.ctrlKey)),i}function Hl(e,t,r,n){M?setTimeout(g(co,e),0):e.curOp.focus=j();var i=Ql(e,r,n),a=e.doc.sel,o;e.options.dragDrop&&we&&!e.isReadOnly()&&r=="single"&&(o=a.contains(t))>-1&&(ut((o=a.ranges[o]).from(),t)<0||t.xRel>0)&&(ut(o.to(),t)>0||t.xRel<0)?Jl(e,n,t,i):Kl(e,n,t,i)}function Jl(e,t,r,n){var i=e.display,a=!1,o=Bt(e,function(c){E&&(i.scroller.draggable=!1),e.state.draggingText=!1,Ge(i.wrapper.ownerDocument,"mouseup",o),Ge(i.wrapper.ownerDocument,"mousemove",s),Ge(i.scroller,"dragstart",l),Ge(i.scroller,"drop",o),a||(f(c),n.addNew||Fi(e.doc,r,null,null,n.extend),E&&!ae||M&&S==9?setTimeout(function(){i.wrapper.ownerDocument.body.focus({preventScroll:!0}),i.input.focus()},20):i.input.focus())}),s=function(c){a=a||Math.abs(t.clientX-c.clientX)+Math.abs(t.clientY-c.clientY)>=10},l=function(){return a=!0};E&&(i.scroller.draggable=!0),e.state.draggingText=o,o.copy=!n.moveOnDrag,i.scroller.dragDrop&&i.scroller.dragDrop(),de(i.wrapper.ownerDocument,"mouseup",o),de(i.wrapper.ownerDocument,"mousemove",s),de(i.scroller,"dragstart",l),de(i.scroller,"drop",o),fo(e),setTimeout(function(){return i.input.focus()},20)}function fs(e,t,r){if(r=="char")return new vt(t,t);if(r=="word")return e.findWordAt(t);if(r=="line")return new vt(Me(t.line,0),st(e.doc,Me(t.line+1,0)));var n=r(e,t);return new vt(n.from,n.to)}function Kl(e,t,r,n){var i=e.display,a=e.doc;f(t);var o,s,l=a.sel,c=l.ranges;if(n.addNew&&!n.extend?(s=a.sel.contains(r),s>-1?o=c[s]:o=new vt(r,r)):(o=a.sel.primary(),s=a.sel.primIndex),n.unit=="rectangle")n.addNew||(o=new vt(r,r)),r=rr(e,t,!0,!0),s=-1;else{var y=fs(e,r,n.unit);n.extend?o=wa(o,y.anchor,y.head,n.extend):o=y}n.addNew?s==-1?(s=c.length,Kt(a,vn(e,c.concat([o]),s),{scroll:!1,origin:"*mouse"})):c.length>1&&c[s].empty()&&n.unit=="char"&&!n.extend?(Kt(a,vn(e,c.slice(0,s).concat(c.slice(s+1)),0),{scroll:!1,origin:"*mouse"}),l=a.sel):Sa(a,s,o,Ie):(s=0,Kt(a,new ln([o],0),Ie),l=a.sel);var C=r;function F(Ue){if(ut(C,Ue)==0)return;if(C=Ue,n.unit=="rectangle"){for(var Je=[],at=e.options.tabSize,tt=k(Xe(a,r.line).text,r.ch,at),ht=k(Xe(a,Ue.line).text,Ue.ch,at),xt=Math.min(tt,ht),Ut=Math.max(tt,ht),Dt=Math.min(r.line,Ue.line),an=Math.min(e.lastLine(),Math.max(r.line,Ue.line));Dt<=an;Dt++){var $t=Xe(a,Dt).text,It=be($t,xt,at);xt==Ut?Je.push(new vt(Me(Dt,It),Me(Dt,It))):$t.length>It&&Je.push(new vt(Me(Dt,It),Me(Dt,be($t,Ut,at))))}Je.length||Je.push(new vt(r,r)),Kt(a,vn(e,l.ranges.slice(0,s).concat(Je),s),{origin:"*mouse",scroll:!1}),e.scrollIntoView(Ue)}else{var en=o,Qt=fs(e,Ue,n.unit),Nt=en.anchor,Lt;ut(Qt.anchor,Nt)>0?(Lt=Qt.head,Nt=Yn(en.from(),Qt.anchor)):(Lt=Qt.anchor,Nt=hr(en.to(),Qt.head));var Rt=l.ranges.slice(0);Rt[s]=Gl(e,new vt(st(a,Nt),Lt)),Kt(a,vn(e,Rt,s),Ie)}}var L=i.wrapper.getBoundingClientRect(),ue=0;function Ee(Ue){var Je=++ue,at=rr(e,Ue,!0,n.unit=="rectangle");if(!at)return;if(ut(at,C)!=0){e.curOp.focus=j(),F(at);var tt=Pi(i,a);(at.line>=tt.to||at.line<tt.from)&&setTimeout(Bt(e,function(){ue==Je&&Ee(Ue)}),150)}else{var ht=Ue.clientY<L.top?-20:Ue.clientY>L.bottom?20:0;ht&&setTimeout(Bt(e,function(){if(ue!=Je)return;i.scroller.scrollTop+=ht,Ee(Ue)}),50)}}function Oe(Ue){e.state.selectingText=!1,ue=Infinity,Ue&&(f(Ue),i.input.focus()),Ge(i.wrapper.ownerDocument,"mousemove",_e),Ge(i.wrapper.ownerDocument,"mouseup",He),a.history.lastSelOrigin=null}var _e=Bt(e,function(Ue){Ue.buttons===0||!V(Ue)?Oe(Ue):Ee(Ue)}),He=Bt(e,Oe);e.state.selectingText=He,de(i.wrapper.ownerDocument,"mousemove",_e),de(i.wrapper.ownerDocument,"mouseup",He)}function Gl(e,t){var r=t.anchor,n=t.head,i=Xe(e.doc,r.line);if(ut(r,n)==0&&r.sticky==n.sticky)return t;var a=$e(i);if(!a)return t;var o=Ke(a,r.ch,r.sticky),s=a[o];if(s.from!=r.ch&&s.to!=r.ch)return t;var l=o+(s.from==r.ch==(s.level!=1)?0:1);if(l==0||l==a.length)return t;var c;if(n.line!=r.line)c=(n.line-r.line)*(e.doc.direction=="ltr"?1:-1)>0;else{var y=Ke(a,n.ch,n.sticky),C=y-o||(n.ch-r.ch)*(s.level==1?-1:1);y==l-1||y==l?c=C<0:c=C>0}var F=a[l+(c?-1:0)],L=c==(F.level==1),ue=L?F.from:F.to,Ee=L?"after":"before";return r.ch==ue&&r.sticky==Ee?t:new vt(new Me(r.line,ue,Ee),n)}function hs(e,t,r,n){var i,a;if(t.touches)i=t.touches[0].clientX,a=t.touches[0].clientY;else try{i=t.clientX,a=t.clientY}catch(F){return!1}if(i>=Math.floor(e.display.gutters.getBoundingClientRect().right))return!1;n&&f(t);var o=e.display,s=o.lineDiv.getBoundingClientRect();if(a>s.bottom||!x(e,r))return p(t);a-=s.top-o.viewOffset;for(var l=0;l<e.display.gutterSpecs.length;++l){var c=o.gutters.childNodes[l];if(c&&c.getBoundingClientRect().right>=i){var y=kn(e.doc,a),C=e.display.gutterSpecs[l];return fe(e,r,e,y,C.className,t),p(t)}}}function Oa(e,t){return hs(e,t,"gutterClick",!0)}function ps(e,t){if(Rn(e.display,t)||Zl(e,t))return;if(Le(e,t,"contextmenu"))return;Re||e.display.input.onContextMenu(t)}function Zl(e,t){return x(e,"gutterContextMenu")?hs(e,t,"gutterContextMenu",!1):!1}function ms(e){e.display.wrapper.className=e.display.wrapper.className.replace(/\s*cm-s-\S+/g,"")+e.options.theme.replace(/(^|\s)\s*/g," cm-s-"),Vr(e)}var Lr={toString:function(){return"CodeMirror.Init"}},gs={},Gi={};function Yl(e){var t=e.optionHandlers;function r(n,i,a,o){e.defaults[n]=i,a&&(t[n]=o?function(s,l,c){c!=Lr&&a(s,l,c)}:a)}e.defineOption=r,e.Init=Lr,r("value","",function(n,i){return n.setValue(i)},!0),r("mode",null,function(n,i){n.doc.modeOption=i,Aa(n)},!0),r("indentUnit",2,Aa,!0),r("indentWithTabs",!1),r("smartIndent",!0),r("tabSize",4,function(n){ii(n),Vr(n),Xt(n)},!0),r("lineSeparator",null,function(n,i){if(n.doc.lineSep=i,!i)return;var a=[],o=n.doc.first;n.doc.iter(function(l){for(var c=0;;){var y=l.text.indexOf(i,c);if(y==-1)break;c=y+i.length,a.push(Me(o,y))}o++});for(var s=a.length-1;s>=0;s--)Rr(n.doc,i,a[s],Me(a[s].line,a[s].ch+i.length))}),r("specialChars",/[\u0000-\u001f\u007f-\u009f\u00ad\u061c\u200b-\u200c\u200e\u200f\u2028\u2029\ufeff\ufff9-\ufffc]/g,function(n,i,a){n.state.specialChars=new RegExp(i.source+(i.test(" ")?"":"| "),"g"),a!=Lr&&n.refresh()}),r("specialCharPlaceholder",ws,function(n){return n.refresh()},!0),r("electricChars",!0),r("inputStyle",H?"contenteditable":"textarea",function(){throw new Error("inputStyle can not (yet) be changed in a running editor")},!0),r("spellcheck",!1,function(n,i){return n.getInputField().spellcheck=i},!0),r("autocorrect",!1,function(n,i){return n.getInputField().autocorrect=i},!0),r("autocapitalize",!1,function(n,i){return n.getInputField().autocapitalize=i},!0),r("rtlMoveVisually",!ye),r("wholeLineUpdateBefore",!0),r("theme","default",function(n){ms(n),ri(n)},!0),r("keyMap","default",function(n,i,a){var o=Ji(i),s=a!=Lr&&Ji(a);s&&s.detach&&s.detach(n,o),o.attach&&o.attach(n,s||null)}),r("extraKeys",null),r("configureMouse",null),r("lineWrapping",!1,Xl,!0),r("gutters",[],function(n,i){n.display.gutterSpecs=ya(i,n.options.lineNumbers),ri(n)},!0),r("fixedGutter",!0,function(n,i){n.display.gutters.style.left=i?ua(n.display)+"px":"0",n.refresh()},!0),r("coverGutterNextToScrollbar",!1,function(n){return Sr(n)},!0),r("scrollbarStyle","native",function(n){bo(n),Sr(n),n.display.scrollbars.setScrollTop(n.doc.scrollTop),n.display.scrollbars.setScrollLeft(n.doc.scrollLeft)},!0),r("lineNumbers",!1,function(n,i){n.display.gutterSpecs=ya(n.options.gutters,i),ri(n)},!0),r("firstLineNumber",1,ri,!0),r("lineNumberFormatter",function(n){return n},ri,!0),r("showCursorWhenSelecting",!1,Xr,!0),r("resetSelectionOnContextMenu",!0),r("lineWiseCopyCut",!0),r("pasteLinesPerSelection",!0),r("selectionsMayTouch",!1),r("readOnly",!1,function(n,i){i=="nocursor"&&(Cr(n),n.display.input.blur()),n.display.input.readOnlyChanged(i)}),r("screenReaderLabel",null,function(n,i){i=i===""?null:i,n.display.input.screenReaderLabelChanged(i)}),r("disableInput",!1,function(n,i){i||n.display.input.reset()},!0),r("dragDrop",!0,Vl),r("allowDropFileTypes",null),r("cursorBlinkRate",530),r("cursorScrollMargin",0),r("cursorHeight",1,Xr,!0),r("singleCursorHeightPerLine",!0,Xr,!0),r("workTime",100),r("workDelay",100),r("flattenSpans",!0,ii,!0),r("addModeClass",!1,ii,!0),r("pollInterval",100),r("undoDepth",200,function(n,i){return n.doc.history.undoDepth=i}),r("historyEventDelay",1250),r("viewportMargin",10,function(n){return n.refresh()},!0),r("maxHighlightLength",1e4,ii,!0),r("moveInputWithCursor",!0,function(n,i){i||n.display.input.resetPosition()}),r("tabindex",null,function(n,i){return n.display.input.getField().tabIndex=i||""}),r("autofocus",null),r("direction","ltr",function(n,i){return n.doc.setDirection(i)},!0),r("phrases",null)}function Vl(e,t,r){var n=r&&r!=Lr;if(!t!=!n){var i=e.display.dragFunctions,a=t?de:Ge;a(e.display.scroller,"dragstart",i.start),a(e.display.scroller,"dragenter",i.enter),a(e.display.scroller,"dragover",i.over),a(e.display.scroller,"dragleave",i.leave),a(e.display.scroller,"drop",i.drop)}}function Xl(e){e.options.lineWrapping?(X(e.display.wrapper,"CodeMirror-wrap"),e.display.sizer.style.minWidth="",e.display.sizerWidth=null):(te(e.display.wrapper,"CodeMirror-wrap"),mn(e)),ca(e),Xt(e),Vr(e),setTimeout(function(){return Sr(e)},100)}function Mt(e,t){var r=this;if(!(this instanceof Mt))return new Mt(e,t);this.options=t=t?d(t):{},d(gs,t,!1);var n=t.value;typeof n=="string"?n=new qt(n,t.mode,null,t.lineSeparator,t.direction):t.mode&&(n.modeOption=t.mode),this.doc=n;var i=new Mt.inputStyles[t.inputStyle](this),a=this.display=new cl(e,n,i,t);a.wrapper.CodeMirror=this,ms(this),t.lineWrapping&&(this.display.wrapper.className+=" CodeMirror-wrap"),bo(this),this.state={keyMaps:[],overlays:[],modeGen:0,overwrite:!1,delayingBlurEvent:!1,focused:!1,suppressEdits:!1,pasteIncoming:-1,cutIncoming:-1,selectingText:!1,draggingText:!1,highlight:new $,keySeq:null,specialChars:null},t.autofocus&&!H&&a.input.focus(),M&&S<11&&setTimeout(function(){return r.display.input.reset(!0)},20),ql(this),Rl(),sr(this),this.curOp.forceUpdate=!0,Do(this,n),t.autofocus&&!H||this.hasFocus()?setTimeout(function(){r.hasFocus()&&!r.state.focused&&fa(r)},20):Cr(this);for(var o in Gi)Gi.hasOwnProperty(o)&&Gi[o](this,t[o],Lr);Ao(this),t.finishInit&&t.finishInit(this);for(var s=0;s<Ia.length;++s)Ia[s](this);lr(this),E&&t.lineWrapping&&getComputedStyle(a.lineDiv).textRendering=="optimizelegibility"&&(a.lineDiv.style.textRendering="auto")}Mt.defaults=gs,Mt.optionHandlers=Gi;function ql(e){var t=e.display;de(t.scroller,"mousedown",Bt(e,ds)),M&&S<11?de(t.scroller,"dblclick",Bt(e,function(l){if(Le(e,l))return;var c=rr(e,l);if(!c||Oa(e,l)||Rn(e.display,l))return;f(l);var y=e.findWordAt(c);Fi(e.doc,y.anchor,y.head)})):de(t.scroller,"dblclick",function(l){return Le(e,l)||f(l)}),de(t.scroller,"contextmenu",function(l){return ps(e,l)}),de(t.input.getField(),"contextmenu",function(l){t.scroller.contains(l.target)||ps(e,l)});var r,n={end:0};function i(){t.activeTouch&&(r=setTimeout(function(){return t.activeTouch=null},1e3),n=t.activeTouch,n.end=+new Date)}function a(l){if(l.touches.length!=1)return!1;var c=l.touches[0];return c.radiusX<=1&&c.radiusY<=1}function o(l,c){if(c.left==null)return!0;var y=c.left-l.left,C=c.top-l.top;return y*y+C*C>20*20}de(t.scroller,"touchstart",function(l){if(!Le(e,l)&&!a(l)&&!Oa(e,l)){t.input.ensurePolled(),clearTimeout(r);var c=+new Date;t.activeTouch={start:c,moved:!1,prev:c-n.end<=300?n:null},l.touches.length==1&&(t.activeTouch.left=l.touches[0].pageX,t.activeTouch.top=l.touches[0].pageY)}}),de(t.scroller,"touchmove",function(){t.activeTouch&&(t.activeTouch.moved=!0)}),de(t.scroller,"touchend",function(l){var c=t.activeTouch;if(c&&!Rn(t,l)&&c.left!=null&&!c.moved&&new Date-c.start<300){var y=e.coordsChar(t.activeTouch,"page"),C;!c.prev||o(c,c.prev)?C=new vt(y,y):!c.prev.prev||o(c,c.prev.prev)?C=e.findWordAt(y):C=new vt(Me(y.line,0),st(e.doc,Me(y.line+1,0))),e.setSelection(C.anchor,C.head),e.focus(),f(l)}i()}),de(t.scroller,"touchcancel",i),de(t.scroller,"scroll",function(){t.scroller.clientHeight&&($r(e,t.scroller.scrollTop),ar(e,t.scroller.scrollLeft,!0),fe(e,"scroll",e))}),de(t.scroller,"mousewheel",function(l){return wo(e,l)}),de(t.scroller,"DOMMouseScroll",function(l){return wo(e,l)}),de(t.wrapper,"scroll",function(){return t.wrapper.scrollTop=t.wrapper.scrollLeft=0}),t.dragFunctions={enter:function(l){Le(e,l)||v(l)},over:function(l){Le(e,l)||(Dl(e,l),v(l))},start:function(l){return Ml(e,l)},drop:Bt(e,kl),leave:function(l){Le(e,l)||qo(e)}};var s=t.input.getField();de(s,"keyup",function(l){return us.call(e,l)}),de(s,"keydown",Bt(e,ls)),de(s,"keypress",Bt(e,cs)),de(s,"focus",function(l){return fa(e,l)}),de(s,"blur",function(l){return Cr(e,l)})}var Ia=[];Mt.defineInitHook=function(e){return Ia.push(e)};function vi(e,t,r,n){var i=e.doc,a;r==null&&(r="add"),r=="smart"&&(i.mode.indent?a=nn(e,t).state:r="prev");var o=e.options.tabSize,s=Xe(i,t),l=k(s.text,null,o);s.stateAfter&&(s.stateAfter=null);var c=s.text.match(/^\s*/)[0],y;if(!n&&!/\S/.test(s.text))y=0,r="not";else if(r=="smart"&&(y=i.mode.indent(a,s.text.slice(c.length),s.text),y==Be||y>150)){if(!n)return;r="prev"}r=="prev"?t>i.first?y=k(Xe(i,t-1).text,null,o):y=0:r=="add"?y=l+e.options.indentUnit:r=="subtract"?y=l-e.options.indentUnit:typeof r=="number"&&(y=l+r),y=Math.max(0,y);var C="",F=0;if(e.options.indentWithTabs)for(var L=Math.floor(y/o);L;--L)F+=o,C+=" ";if(F<y&&(C+=G(y-F)),C!=c)return Rr(i,C,Me(t,0),Me(t,c.length),"+input"),s.stateAfter=null,!0;for(var ue=0;ue<i.sel.ranges.length;ue++){var Ee=i.sel.ranges[ue];if(Ee.head.line==t&&Ee.head.ch<c.length){var Oe=Me(t,c.length);Sa(i,ue,new vt(Oe,Oe));break}}}var bn=null;function Zi(e){bn=e}function La(e,t,r,n,i){var a=e.doc;e.display.shift=!1,n||(n=a.sel);var o=+new Date-200,s=i=="paste"||e.state.pasteIncoming>o,l=pt(t),c=null;if(s&&n.ranges.length>1)if(bn&&bn.text.join(`
|
|
`)==t){if(n.ranges.length%bn.text.length==0){c=[];for(var y=0;y<bn.text.length;y++)c.push(a.splitLines(bn.text[y]))}}else l.length==n.ranges.length&&e.options.pasteLinesPerSelection&&(c=Fe(l,function(_e){return[_e]}));for(var C=e.curOp.updateInput,F=n.ranges.length-1;F>=0;F--){var L=n.ranges[F],ue=L.from(),Ee=L.to();L.empty()&&(r&&r>0?ue=Me(ue.line,ue.ch-r):e.state.overwrite&&!s?Ee=Me(Ee.line,Math.min(Xe(a,Ee.line).text.length,Ee.ch+Te(l).length)):s&&bn&&bn.lineWise&&bn.text.join(`
|
|
`)==l.join(`
|
|
`)&&(ue=Ee=Me(ue.line,0)));var Oe={from:ue,to:Ee,text:c?c[F%c.length]:l,origin:i||(s?"paste":e.state.cutIncoming>o?"cut":"+input")};Dr(e.doc,Oe),zt(e,"inputRead",e,Oe)}t&&!s&&bs(e,t),wr(e),e.curOp.updateInput<2&&(e.curOp.updateInput=C),e.curOp.typing=!0,e.state.pasteIncoming=e.state.cutIncoming=-1}function vs(e,t){var r=e.clipboardData&&e.clipboardData.getData("Text");if(r)return e.preventDefault(),!t.isReadOnly()&&!t.options.disableInput&&rn(t,function(){return La(t,r,0,null,"paste")}),!0}function bs(e,t){if(!e.options.electricChars||!e.options.smartIndent)return;for(var r=e.doc.sel,n=r.ranges.length-1;n>=0;n--){var i=r.ranges[n];if(i.head.ch>100||n&&r.ranges[n-1].head.line==i.head.line)continue;var a=e.getModeAt(i.head),o=!1;if(a.electricChars){for(var s=0;s<a.electricChars.length;s++)if(t.indexOf(a.electricChars.charAt(s))>-1){o=vi(e,i.head.line,"smart");break}}else a.electricInput&&(a.electricInput.test(Xe(e.doc,i.head.line).text.slice(0,i.head.ch))&&(o=vi(e,i.head.line,"smart")));o&&zt(e,"electricInput",e,i.head.line)}}function ys(e){for(var t=[],r=[],n=0;n<e.doc.sel.ranges.length;n++){var i=e.doc.sel.ranges[n].head.line,a={anchor:Me(i,0),head:Me(i+1,0)};r.push(a),t.push(e.getRange(a.anchor,a.head))}return{text:t,ranges:r}}function Es(e,t,r,n){e.setAttribute("autocorrect",r?"":"off"),e.setAttribute("autocapitalize",n?"":"off"),e.setAttribute("spellcheck",!!t)}function As(){var e=m("textarea",null,null,"position: absolute; bottom: -1em; padding: 0; width: 1px; height: 1em; outline: none"),t=m("div",[e],null,"overflow: hidden; position: relative; width: 3px; height: 0px;");return E?e.style.width="1000px":e.setAttribute("wrap","off"),R&&(e.style.border="1px solid black"),Es(e),t}function $l(e){var t=e.optionHandlers,r=e.helpers={};e.prototype={constructor:e,focus:function(){window.focus(),this.display.input.focus()},setOption:function(n,i){var a=this.options,o=a[n];if(a[n]==i&&n!="mode")return;a[n]=i,t.hasOwnProperty(n)&&Bt(this,t[n])(this,i,o),fe(this,"optionChange",this,n)},getOption:function(n){return this.options[n]},getDoc:function(){return this.doc},addKeyMap:function(n,i){this.state.keyMaps[i?"push":"unshift"](Ji(n))},removeKeyMap:function(n){for(var i=this.state.keyMaps,a=0;a<i.length;++a)if(i[a]==n||i[a].name==n)return i.splice(a,1),!0},addOverlay:Yt(function(n,i){var a=n.token?n:e.getMode(this.options,n);if(a.startState)throw new Error("Overlays may not be stateful.");ze(this.state.overlays,{mode:a,modeSpec:n,opaque:i&&i.opaque,priority:i&&i.priority||0},function(o){return o.priority}),this.state.modeGen++,Xt(this)}),removeOverlay:Yt(function(n){for(var i=this.state.overlays,a=0;a<i.length;++a){var o=i[a].modeSpec;if(o==n||typeof n=="string"&&o.name==n){i.splice(a,1),this.state.modeGen++,Xt(this);return}}}),indentLine:Yt(function(n,i,a){typeof i!="string"&&typeof i!="number"&&(i==null?i=this.options.smartIndent?"smart":"prev":i=i?"add":"subtract"),In(this.doc,n)&&vi(this,n,i,a)}),indentSelection:Yt(function(n){for(var i=this.doc.sel.ranges,a=-1,o=0;o<i.length;o++){var s=i[o];if(s.empty())s.head.line>a&&(vi(this,s.head.line,n,!0),a=s.head.line,o==this.doc.sel.primIndex&&wr(this));else{var l=s.from(),c=s.to(),y=Math.max(a,l.line);a=Math.min(this.lastLine(),c.line-(c.ch?0:1))+1;for(var C=y;C<a;++C)vi(this,C,n);var F=this.doc.sel.ranges;l.ch==0&&i.length==F.length&&F[o].from().ch>0&&Sa(this.doc,o,new vt(l,F[o].to()),ve)}}}),getTokenAt:function(n,i){return Dn(this,n,i)},getLineTokens:function(n,i){return Dn(this,Me(n),i,!0)},getTokenTypeAt:function(n){n=st(this.doc,n);var i=jr(this,Xe(this.doc,n.line)),a=0,o=(i.length-1)/2,s=n.ch,l;if(s==0)l=i[2];else for(;;){var c=a+o>>1;if((c?i[c*2-1]:0)>=s)o=c;else if(i[c*2+1]<s)a=c+1;else{l=i[c*2+2];break}}var y=l?l.indexOf("overlay "):-1;return y<0?l:y==0?null:l.slice(0,y-1)},getModeAt:function(n){var i=this.doc.mode;return i.innerMode?e.innerMode(i,this.getTokenAt(n).state).mode:i},getHelper:function(n,i){return this.getHelpers(n,i)[0]},getHelpers:function(n,i){var a=[];if(!r.hasOwnProperty(i))return a;var o=r[i],s=this.getModeAt(n);if(typeof s[i]=="string")o[s[i]]&&a.push(o[s[i]]);else if(s[i])for(var l=0;l<s[i].length;l++){var c=o[s[i][l]];c&&a.push(c)}else s.helperType&&o[s.helperType]?a.push(o[s.helperType]):o[s.name]&&a.push(o[s.name]);for(var y=0;y<o._global.length;y++){var C=o._global[y];C.pred(s,this)&&q(a,C.val)==-1&&a.push(C.val)}return a},getStateAfter:function(n,i){var a=this.doc;return n=Vn(a,n==null?a.first+a.size-1:n),nn(this,n+1,i).state},cursorCoords:function(n,i){var a,o=this.doc.sel.primary();return n==null?a=o.head:typeof n=="object"?a=st(this.doc,n):a=n?o.from():o.to(),gn(this,a,i||"page")},charCoords:function(n,i){return ia(this,st(this.doc,n),i||"page")},coordsChar:function(n,i){return n=no(this,n,i||"page"),oa(this,n.left,n.top)},lineAtHeight:function(n,i){return n=no(this,{top:n,left:0},i||"page").top,kn(this.doc,n+this.display.viewOffset)},heightAtLine:function(n,i,a){var o=!1,s;if(typeof n=="number"){var l=this.doc.first+this.doc.size-1;n<this.doc.first?n=this.doc.first:n>l&&(n=l,o=!0),s=Xe(this.doc,n)}else s=n;return Ti(this,s,{top:0,left:0},i||"page",a||o).top+(o?this.doc.height-kt(s):0)},defaultTextHeight:function(){return Ar(this.display)},defaultCharWidth:function(){return xr(this.display)},getViewport:function(){return{from:this.display.viewFrom,to:this.display.viewTo}},addWidget:function(n,i,a,o,s){var l=this.display;n=gn(this,st(this.doc,n));var c=n.bottom,y=n.left;if(i.style.position="absolute",i.setAttribute("cm-ignore-events","true"),this.display.input.setUneditable(i),l.sizer.appendChild(i),o=="over")c=n.top;else if(o=="above"||o=="near"){var C=Math.max(l.wrapper.clientHeight,this.doc.height),F=Math.max(l.sizer.clientWidth,l.lineSpace.clientWidth);(o=="above"||n.bottom+i.offsetHeight>C)&&n.top>i.offsetHeight?c=n.top-i.offsetHeight:n.bottom+i.offsetHeight<=C&&(c=n.bottom),y+i.offsetWidth>F&&(y=F-i.offsetWidth)}i.style.top=c+"px",i.style.left=i.style.right="",s=="right"?(y=l.sizer.clientWidth-i.offsetWidth,i.style.right="0px"):(s=="left"?y=0:s=="middle"&&(y=(l.sizer.clientWidth-i.offsetWidth)/2),i.style.left=y+"px"),a&&Vs(this,{left:y,top:c,right:y+i.offsetWidth,bottom:c+i.offsetHeight})},triggerOnKeyDown:Yt(ls),triggerOnKeyPress:Yt(cs),triggerOnKeyUp:us,triggerOnMouseDown:Yt(ds),execCommand:function(n){if(hi.hasOwnProperty(n))return hi[n].call(null,this)},triggerElectric:Yt(function(n){bs(this,n)}),findPosH:function(n,i,a,o){var s=1;i<0&&(s=-1,i=-i);for(var l=st(this.doc,n),c=0;c<i&&!(l=Pa(this.doc,l,s,a,o),l.hitSide);++c);return l},moveH:Yt(function(n,i){var a=this;this.extendSelectionsBy(function(o){return a.display.shift||a.doc.extend||o.empty()?Pa(a.doc,o.head,n,i,a.options.rtlMoveVisually):n<0?o.from():o.to()},oe)}),deleteH:Yt(function(n,i){var a=this.doc.sel,o=this.doc;a.somethingSelected()?o.replaceSelection("",null,"+delete"):Ir(this,function(s){var l=Pa(o,s.head,n,i,!1);return n<0?{from:l,to:s.head}:{from:s.head,to:l}})}),findPosV:function(n,i,a,o){var s=1,l=o;i<0&&(s=-1,i=-i);for(var c=st(this.doc,n),y=0;y<i;++y){var C=gn(this,c,"div");if(l==null?l=C.left:C.left=l,c=xs(this,C,s,a),c.hitSide)break}return c},moveV:Yt(function(n,i){var a=this,o=this.doc,s=[],l=!this.display.shift&&!o.extend&&o.sel.somethingSelected();if(o.extendSelectionsBy(function(y){if(l)return n<0?y.from():y.to();var C=gn(a,y.head,"div");y.goalColumn!=null&&(C.left=y.goalColumn),s.push(C.left);var F=xs(a,C,n,i);return i=="page"&&y==o.sel.primary()&&pa(a,ia(a,F,"div").top-C.top),F},oe),s.length)for(var c=0;c<o.sel.ranges.length;c++)o.sel.ranges[c].goalColumn=s[c]}),findWordAt:function(n){var i=this.doc,a=Xe(i,n.line).text,o=n.ch,s=n.ch;if(a){var l=this.getHelper(n,"wordChars");(n.sticky=="before"||s==a.length)&&o?--o:++s;for(var c=a.charAt(o),y=De(c,l)?function(C){return De(C,l)}:/\s/.test(c)?function(C){return/\s/.test(C)}:function(C){return!/\s/.test(C)&&!De(C)};o>0&&y(a.charAt(o-1));)--o;for(;s<a.length&&y(a.charAt(s));)++s}return new vt(Me(n.line,o),Me(n.line,s))},toggleOverwrite:function(n){if(n!=null&&n==this.state.overwrite)return;(this.state.overwrite=!this.state.overwrite)?X(this.display.cursorDiv,"CodeMirror-overwrite"):te(this.display.cursorDiv,"CodeMirror-overwrite"),fe(this,"overwriteToggle",this,this.state.overwrite)},hasFocus:function(){return this.display.input.getField()==j()},isReadOnly:function(){return!!(this.options.readOnly||this.doc.cantEdit)},scrollTo:Yt(function(n,i){qr(this,n,i)}),getScrollInfo:function(){var n=this.display.scroller;return{left:n.scrollLeft,top:n.scrollTop,height:n.scrollHeight-En(this)-this.display.barHeight,width:n.scrollWidth-En(this)-this.display.barWidth,clientHeight:ta(this),clientWidth:tr(this)}},scrollIntoView:Yt(function(n,i){n==null?(n={from:this.doc.sel.primary().head,to:null},i==null&&(i=this.options.cursorScrollMargin)):typeof n=="number"?n={from:Me(n,0),to:null}:n.from==null&&(n={from:n,to:null}),n.to||(n.to=n.from),n.margin=i||0,n.from.line!=null?Xs(this,n):po(this,n.from,n.to,n.margin)}),setSize:Yt(function(n,i){var a=this,o=function(l){return typeof l=="number"||/^\d+$/.test(String(l))?l+"px":l};n!=null&&(this.display.wrapper.style.width=o(n)),i!=null&&(this.display.wrapper.style.height=o(i)),this.options.lineWrapping&&$a(this);var s=this.display.viewFrom;this.doc.iter(s,this.display.viewTo,function(l){if(l.widgets){for(var c=0;c<l.widgets.length;c++)if(l.widgets[c].noHScroll){Un(a,s,"widget");break}}++s}),this.curOp.forceUpdate=!0,fe(this,"refresh",this)}),operation:function(n){return rn(this,n)},startOperation:function(){return sr(this)},endOperation:function(){return lr(this)},refresh:Yt(function(){var n=this.display.cachedTextHeight;Xt(this),this.curOp.forceUpdate=!0,Vr(this),qr(this,this.doc.scrollLeft,this.doc.scrollTop),va(this.display),(n==null||Math.abs(n-Ar(this.display))>.5||this.options.lineWrapping)&&ca(this),fe(this,"refresh",this)}),swapDoc:Yt(function(n){var i=this.doc;return i.cm=null,this.state.selectingText&&this.state.selectingText(),Do(this,n),Vr(this),this.display.input.reset(),qr(this,n.scrollLeft,n.scrollTop),this.curOp.forceScroll=!0,zt(this,"swapDoc",this,i),i}),phrase:function(n){var i=this.options.phrases;return i&&Object.prototype.hasOwnProperty.call(i,n)?i[n]:n},getInputField:function(){return this.display.input.getField()},getWrapperElement:function(){return this.display.wrapper},getScrollerElement:function(){return this.display.scroller},getGutterElement:function(){return this.display.gutters}},w(e),e.registerHelper=function(n,i,a){r.hasOwnProperty(n)||(r[n]=e[n]={_global:[]}),r[n][i]=a},e.registerGlobalHelper=function(n,i,a,o){e.registerHelper(n,i,o),r[n]._global.push({pred:a,val:o})}}function Pa(e,t,r,n,i){var a=t,o=r,s=Xe(e,t.line),l=i&&e.direction=="rtl"?-r:r;function c(){var He=t.line+l;return He<e.first||He>=e.first+e.size?!1:(t=new Me(He,t.ch,t.sticky),s=Xe(e,He))}function y(He){var Ue;if(n=="codepoint"){var Je=s.text.charCodeAt(t.ch+(n>0?0:-1));isNaN(Je)?Ue=null:Ue=new Me(t.line,Math.max(0,Math.min(s.text.length,t.ch+r*(Je>=55296&&Je<56320?2:1))),-r)}else i?Ue=Pl(e.cm,s,t,r):Ue=Ma(s,t,r);if(Ue==null)if(!He&&c())t=Da(i,e.cm,s,t.line,l);else return!1;else t=Ue;return!0}if(n=="char"||n=="codepoint")y();else if(n=="column")y(!0);else if(n=="word"||n=="group")for(var C=null,F=n=="group",L=e.cm&&e.cm.getHelper(t,"wordChars"),ue=!0;!(r<0&&!y(!ue));ue=!1){var Ee=s.text.charAt(t.ch)||`
|
|
`,Oe=De(Ee,L)?"w":F&&Ee==`
|
|
`?"n":!F||/\s/.test(Ee)?null:"p";if(F&&!ue&&!Oe&&(Oe="s"),C&&C!=Oe){r<0&&(r=1,y(),t.sticky="after");break}if(Oe&&(C=Oe),r>0&&!y(!ue))break}var _e=zi(e,t,a,o,!0);return Ne(a,_e)&&(_e.hitSide=!0),_e}function xs(e,t,r,n){var i=e.doc,a=t.left,o;if(n=="page"){var s=Math.min(e.display.wrapper.clientHeight,window.innerHeight||document.documentElement.clientHeight),l=Math.max(s-.5*Ar(e.display),3);o=(r>0?t.bottom:t.top)+r*l}else n=="line"&&(o=r>0?t.bottom+3:t.top-3);for(var c;!(c=oa(e,a,o),!c.outside);){if(r<0?o<=0:o>=i.height){c.hitSide=!0;break}o+=r*5}return c}var yt=function(e){this.cm=e,this.lastAnchorNode=this.lastAnchorOffset=this.lastFocusNode=this.lastFocusOffset=null,this.polling=new $,this.composing=null,this.gracePeriod=!1,this.readDOMTimeout=null};yt.prototype.init=function(e){var t=this,r=this,n=r.cm,i=r.div=e.lineDiv;Es(i,n.options.spellcheck,n.options.autocorrect,n.options.autocapitalize);function a(s){for(var l=s.target;l;l=l.parentNode){if(l==i)return!0;if(/\bCodeMirror-(?:line)?widget\b/.test(l.className))break}return!1}de(i,"paste",function(s){if(!a(s)||Le(n,s)||vs(s,n))return;S<=11&&setTimeout(Bt(n,function(){return t.updateFromDOM()}),20)}),de(i,"compositionstart",function(s){t.composing={data:s.data,done:!1}}),de(i,"compositionupdate",function(s){t.composing||(t.composing={data:s.data,done:!1})}),de(i,"compositionend",function(s){t.composing&&(s.data!=t.composing.data&&t.readFromDOMSoon(),t.composing.done=!0)}),de(i,"touchstart",function(){return r.forceCompositionEnd()}),de(i,"input",function(){t.composing||t.readFromDOMSoon()});function o(s){if(!a(s)||Le(n,s))return;if(n.somethingSelected())Zi({lineWise:!1,text:n.getSelections()}),s.type=="cut"&&n.replaceSelection("",null,"cut");else if(n.options.lineWiseCopyCut){var l=ys(n);Zi({lineWise:!0,text:l.text}),s.type=="cut"&&n.operation(function(){n.setSelections(l.ranges,0,ve),n.replaceSelection("",null,"cut")})}else return;if(s.clipboardData){s.clipboardData.clearData();var c=bn.text.join(`
|
|
`);if(s.clipboardData.setData("Text",c),s.clipboardData.getData("Text")==c){s.preventDefault();return}}var y=As(),C=y.firstChild;n.display.lineSpace.insertBefore(y,n.display.lineSpace.firstChild),C.value=bn.text.join(`
|
|
`);var F=document.activeElement;pe(C),setTimeout(function(){n.display.lineSpace.removeChild(y),F.focus(),F==i&&r.showPrimarySelection()},50)}de(i,"copy",o),de(i,"cut",o)},yt.prototype.screenReaderLabelChanged=function(e){e?this.div.setAttribute("aria-label",e):this.div.removeAttribute("aria-label")},yt.prototype.prepareSelection=function(){var e=lo(this.cm,!1);return e.focus=document.activeElement==this.div,e},yt.prototype.showSelection=function(e,t){if(!e||!this.cm.display.view.length)return;(e.focus||t)&&this.showPrimarySelection(),this.showMultipleSelections(e)},yt.prototype.getSelection=function(){return this.cm.display.wrapper.ownerDocument.getSelection()},yt.prototype.showPrimarySelection=function(){var e=this.getSelection(),t=this.cm,r=t.doc.sel.primary(),n=r.from(),i=r.to();if(t.display.viewTo==t.display.viewFrom||n.line>=t.display.viewTo||i.line<t.display.viewFrom){e.removeAllRanges();return}var a=Yi(t,e.anchorNode,e.anchorOffset),o=Yi(t,e.focusNode,e.focusOffset);if(a&&!a.bad&&o&&!o.bad&&ut(Yn(a,o),n)==0&&ut(hr(a,o),i)==0)return;var s=t.display.view,l=n.line>=t.display.viewFrom&&Cs(t,n)||{node:s[0].measure.map[2],offset:0},c=i.line<t.display.viewTo&&Cs(t,i);if(!c){var y=s[s.length-1].measure,C=y.maps?y.maps[y.maps.length-1]:y.map;c={node:C[C.length-1],offset:C[C.length-2]-C[C.length-3]}}if(!l||!c){e.removeAllRanges();return}var F=e.rangeCount&&e.getRangeAt(0),L;try{L=O(l.node,l.offset,c.offset,c.node)}catch(ue){}L&&(!J&&t.state.focused?(e.collapse(l.node,l.offset),L.collapsed||(e.removeAllRanges(),e.addRange(L))):(e.removeAllRanges(),e.addRange(L)),F&&e.anchorNode==null?e.addRange(F):J&&this.startGracePeriod()),this.rememberSelection()},yt.prototype.startGracePeriod=function(){var e=this;clearTimeout(this.gracePeriod),this.gracePeriod=setTimeout(function(){e.gracePeriod=!1,e.selectionChanged()&&e.cm.operation(function(){return e.cm.curOp.selectionChanged=!0})},20)},yt.prototype.showMultipleSelections=function(e){P(this.cm.display.cursorDiv,e.cursors),P(this.cm.display.selectionDiv,e.selection)},yt.prototype.rememberSelection=function(){var e=this.getSelection();this.lastAnchorNode=e.anchorNode,this.lastAnchorOffset=e.anchorOffset,this.lastFocusNode=e.focusNode,this.lastFocusOffset=e.focusOffset},yt.prototype.selectionInEditor=function(){var e=this.getSelection();if(!e.rangeCount)return!1;var t=e.getRangeAt(0).commonAncestorContainer;return b(this.div,t)},yt.prototype.focus=function(){this.cm.options.readOnly!="nocursor"&&((!this.selectionInEditor()||document.activeElement!=this.div)&&this.showSelection(this.prepareSelection(),!0),this.div.focus())},yt.prototype.blur=function(){this.div.blur()},yt.prototype.getField=function(){return this.div},yt.prototype.supportsTouch=function(){return!0},yt.prototype.receivedFocus=function(){var e=this;this.selectionInEditor()?this.pollSelection():rn(this.cm,function(){return e.cm.curOp.selectionChanged=!0});function t(){e.cm.state.focused&&(e.pollSelection(),e.polling.set(e.cm.options.pollInterval,t))}this.polling.set(this.cm.options.pollInterval,t)},yt.prototype.selectionChanged=function(){var e=this.getSelection();return e.anchorNode!=this.lastAnchorNode||e.anchorOffset!=this.lastAnchorOffset||e.focusNode!=this.lastFocusNode||e.focusOffset!=this.lastFocusOffset},yt.prototype.pollSelection=function(){if(this.readDOMTimeout!=null||this.gracePeriod||!this.selectionChanged())return;var e=this.getSelection(),t=this.cm;if(D&&N&&this.cm.display.gutterSpecs.length&&eu(e.anchorNode)){this.cm.triggerOnKeyDown({type:"keydown",keyCode:8,preventDefault:Math.abs}),this.blur(),this.focus();return}if(this.composing)return;this.rememberSelection();var r=Yi(t,e.anchorNode,e.anchorOffset),n=Yi(t,e.focusNode,e.focusOffset);r&&n&&rn(t,function(){Kt(t.doc,Fn(r,n),ve),(r.bad||n.bad)&&(t.curOp.selectionChanged=!0)})},yt.prototype.pollContent=function(){this.readDOMTimeout!=null&&(clearTimeout(this.readDOMTimeout),this.readDOMTimeout=null);var e=this.cm,t=e.display,r=e.doc.sel.primary(),n=r.from(),i=r.to();if(n.ch==0&&n.line>e.firstLine()&&(n=Me(n.line-1,Xe(e.doc,n.line-1).length)),i.ch==Xe(e.doc,i.line).text.length&&i.line<e.lastLine()&&(i=Me(i.line+1,0)),n.line<t.viewFrom||i.line>t.viewTo-1)return!1;var a,o,s;n.line==t.viewFrom||(a=ir(e,n.line))==0?(o=gt(t.view[0].line),s=t.view[0].node):(o=gt(t.view[a].line),s=t.view[a-1].node.nextSibling);var l=ir(e,i.line),c,y;if(l==t.view.length-1?(c=t.viewTo-1,y=t.lineDiv.lastChild):(c=gt(t.view[l+1].line)-1,y=t.view[l+1].node.previousSibling),!s)return!1;for(var C=e.doc.splitLines(tu(e,s,y,o,c)),F=Sn(e.doc,Me(o,0),Me(c,Xe(e.doc,c).text.length));C.length>1&&F.length>1;)if(Te(C)==Te(F))C.pop(),F.pop(),c--;else if(C[0]==F[0])C.shift(),F.shift(),o++;else break;for(var L=0,ue=0,Ee=C[0],Oe=F[0],_e=Math.min(Ee.length,Oe.length);L<_e&&Ee.charCodeAt(L)==Oe.charCodeAt(L);)++L;for(var He=Te(C),Ue=Te(F),Je=Math.min(He.length-(C.length==1?L:0),Ue.length-(F.length==1?L:0));ue<Je&&He.charCodeAt(He.length-ue-1)==Ue.charCodeAt(Ue.length-ue-1);)++ue;if(C.length==1&&F.length==1&&o==n.line)for(;L&&L>n.ch&&He.charCodeAt(He.length-ue-1)==Ue.charCodeAt(Ue.length-ue-1);)L--,ue++;C[C.length-1]=He.slice(0,He.length-ue).replace(/^\u200b+/,""),C[0]=C[0].slice(L).replace(/\u200b+$/,"");var at=Me(o,L),tt=Me(c,F.length?Te(F).length-ue:0);if(C.length>1||C[0]||ut(at,tt))return Rr(e.doc,C,at,tt,"+input"),!0},yt.prototype.ensurePolled=function(){this.forceCompositionEnd()},yt.prototype.reset=function(){this.forceCompositionEnd()},yt.prototype.forceCompositionEnd=function(){if(!this.composing)return;clearTimeout(this.readDOMTimeout),this.composing=null,this.updateFromDOM(),this.div.blur(),this.div.focus()},yt.prototype.readFromDOMSoon=function(){var e=this;if(this.readDOMTimeout!=null)return;this.readDOMTimeout=setTimeout(function(){if(e.readDOMTimeout=null,e.composing)if(e.composing.done)e.composing=null;else return;e.updateFromDOM()},80)},yt.prototype.updateFromDOM=function(){var e=this;(this.cm.isReadOnly()||!this.pollContent())&&rn(this.cm,function(){return Xt(e.cm)})},yt.prototype.setUneditable=function(e){e.contentEditable="false"},yt.prototype.onKeyPress=function(e){if(e.charCode==0||this.composing)return;e.preventDefault(),this.cm.isReadOnly()||Bt(this.cm,La)(this.cm,String.fromCharCode(e.charCode==null?e.keyCode:e.charCode),0)},yt.prototype.readOnlyChanged=function(e){this.div.contentEditable=String(e!="nocursor")},yt.prototype.onContextMenu=function(){},yt.prototype.resetPosition=function(){},yt.prototype.needsContentAttribute=!0;function Cs(e,t){var r=na(e,t.line);if(!r||r.hidden)return null;var n=Xe(e.doc,t.line),i=Za(r,n,t.line),a=$e(n,e.doc.direction),o="left";if(a){var s=Ke(a,t.ch);o=s%2?"right":"left"}var l=Xa(i.map,t.ch,o);return l.offset=l.collapse=="right"?l.end:l.start,l}function eu(e){for(var t=e;t;t=t.parentNode)if(/CodeMirror-gutter-wrapper/.test(t.className))return!0;return!1}function Pr(e,t){return t&&(e.bad=!0),e}function tu(e,t,r,n,i){var a="",o=!1,s=e.doc.lineSeparator(),l=!1;function c(L){return function(ue){return ue.id==L}}function y(){o&&(a+=s,l&&(a+=s),o=l=!1)}function C(L){L&&(y(),a+=L)}function F(L){if(L.nodeType==1){var ue=L.getAttribute("cm-text");if(ue){C(ue);return}var Ee=L.getAttribute("cm-marker"),Oe;if(Ee){var _e=e.findMarks(Me(n,0),Me(i+1,0),c(+Ee));_e.length&&(Oe=_e[0].find(0))&&C(Sn(e.doc,Oe.from,Oe.to).join(s));return}if(L.getAttribute("contenteditable")=="false")return;var He=/^(pre|div|p|li|table|br)$/i.test(L.nodeName);if(!/^br$/i.test(L.nodeName)&&L.textContent.length==0)return;He&&y();for(var Ue=0;Ue<L.childNodes.length;Ue++)F(L.childNodes[Ue]);/^(pre|p)$/i.test(L.nodeName)&&(l=!0),He&&(o=!0)}else L.nodeType==3&&C(L.nodeValue.replace(/\u200b/g,"").replace(/\u00a0/g," "))}for(;!(F(t),t==r);)t=t.nextSibling,l=!1;return a}function Yi(e,t,r){var n;if(t==e.display.lineDiv){if(n=e.display.lineDiv.childNodes[r],!n)return Pr(e.clipPos(Me(e.display.viewTo-1)),!0);t=null,r=0}else for(n=t;;n=n.parentNode){if(!n||n==e.display.lineDiv)return null;if(n.parentNode&&n.parentNode==e.display.lineDiv)break}for(var i=0;i<e.display.view.length;i++){var a=e.display.view[i];if(a.node==n)return nu(a,t,r)}}function nu(e,t,r){var n=e.text.firstChild,i=!1;if(!t||!b(n,t))return Pr(Me(gt(e.line),0),!0);if(t==n&&(i=!0,t=n.childNodes[r],r=0,!t)){var a=e.rest?Te(e.rest):e.line;return Pr(Me(gt(a),a.text.length),i)}var o=t.nodeType==3?t:null,s=t;for(!o&&t.childNodes.length==1&&t.firstChild.nodeType==3&&(o=t.firstChild,r&&(r=o.nodeValue.length));s.parentNode!=n;)s=s.parentNode;var l=e.measure,c=l.maps;function y(Oe,_e,He){for(var Ue=-1;Ue<(c?c.length:0);Ue++)for(var Je=Ue<0?l.map:c[Ue],at=0;at<Je.length;at+=3){var tt=Je[at+2];if(tt==Oe||tt==_e){var ht=gt(Ue<0?e.line:e.rest[Ue]),xt=Je[at]+He;return(He<0||tt!=Oe)&&(xt=Je[at+(He?1:0)]),Me(ht,xt)}}}var C=y(o,s,r);if(C)return Pr(C,i);for(var F=s.nextSibling,L=o?o.nodeValue.length-r:0;F;F=F.nextSibling){if(C=y(F,F.firstChild,0),C)return Pr(Me(C.line,C.ch-L),i);L+=F.textContent.length}for(var ue=s.previousSibling,Ee=r;ue;ue=ue.previousSibling){if(C=y(ue,ue.firstChild,-1),C)return Pr(Me(C.line,C.ch+Ee),i);Ee+=ue.textContent.length}}var Ot=function(e){this.cm=e,this.prevInput="",this.pollingFast=!1,this.polling=new $,this.hasSelection=!1,this.composing=null};Ot.prototype.init=function(e){var t=this,r=this,n=this.cm;this.createField(e);var i=this.textarea;e.wrapper.insertBefore(this.wrapper,e.wrapper.firstChild),R&&(i.style.width="0px"),de(i,"input",function(){M&&S>=9&&t.hasSelection&&(t.hasSelection=null),r.poll()}),de(i,"paste",function(o){if(Le(n,o)||vs(o,n))return;n.state.pasteIncoming=+new Date,r.fastPoll()});function a(o){if(Le(n,o))return;if(n.somethingSelected())Zi({lineWise:!1,text:n.getSelections()});else if(n.options.lineWiseCopyCut){var s=ys(n);Zi({lineWise:!0,text:s.text}),o.type=="cut"?n.setSelections(s.ranges,null,ve):(r.prevInput="",i.value=s.text.join(`
|
|
`),pe(i))}else return;o.type=="cut"&&(n.state.cutIncoming=+new Date)}de(i,"cut",a),de(i,"copy",a),de(e.scroller,"paste",function(o){if(Rn(e,o)||Le(n,o))return;if(!i.dispatchEvent){n.state.pasteIncoming=+new Date,r.focus();return}var s=new Event("paste");s.clipboardData=o.clipboardData,i.dispatchEvent(s)}),de(e.lineSpace,"selectstart",function(o){Rn(e,o)||f(o)}),de(i,"compositionstart",function(){var o=n.getCursor("from");r.composing&&r.composing.range.clear(),r.composing={start:o,range:n.markText(o,n.getCursor("to"),{className:"CodeMirror-composing"})}}),de(i,"compositionend",function(){r.composing&&(r.poll(),r.composing.range.clear(),r.composing=null)})},Ot.prototype.createField=function(e){this.wrapper=As(),this.textarea=this.wrapper.firstChild},Ot.prototype.screenReaderLabelChanged=function(e){e?this.textarea.setAttribute("aria-label",e):this.textarea.removeAttribute("aria-label")},Ot.prototype.prepareSelection=function(){var e=this.cm,t=e.display,r=e.doc,n=lo(e);if(e.options.moveInputWithCursor){var i=gn(e,r.sel.primary().head,"div"),a=t.wrapper.getBoundingClientRect(),o=t.lineDiv.getBoundingClientRect();n.teTop=Math.max(0,Math.min(t.wrapper.clientHeight-10,i.top+o.top-a.top)),n.teLeft=Math.max(0,Math.min(t.wrapper.clientWidth-10,i.left+o.left-a.left))}return n},Ot.prototype.showSelection=function(e){var t=this.cm,r=t.display;P(r.cursorDiv,e.cursors),P(r.selectionDiv,e.selection),e.teTop!=null&&(this.wrapper.style.top=e.teTop+"px",this.wrapper.style.left=e.teLeft+"px")},Ot.prototype.reset=function(e){if(this.contextMenuPending||this.composing)return;var t=this.cm;if(t.somethingSelected()){this.prevInput="";var r=t.getSelection();this.textarea.value=r,t.state.focused&&pe(this.textarea),M&&S>=9&&(this.hasSelection=r)}else e||(this.prevInput=this.textarea.value="",M&&S>=9&&(this.hasSelection=null))},Ot.prototype.getField=function(){return this.textarea},Ot.prototype.supportsTouch=function(){return!1},Ot.prototype.focus=function(){if(this.cm.options.readOnly!="nocursor"&&(!H||j()!=this.textarea))try{this.textarea.focus()}catch(e){}},Ot.prototype.blur=function(){this.textarea.blur()},Ot.prototype.resetPosition=function(){this.wrapper.style.top=this.wrapper.style.left=0},Ot.prototype.receivedFocus=function(){this.slowPoll()},Ot.prototype.slowPoll=function(){var e=this;if(this.pollingFast)return;this.polling.set(this.cm.options.pollInterval,function(){e.poll(),e.cm.state.focused&&e.slowPoll()})},Ot.prototype.fastPoll=function(){var e=!1,t=this;t.pollingFast=!0;function r(){var n=t.poll();!n&&!e?(e=!0,t.polling.set(60,r)):(t.pollingFast=!1,t.slowPoll())}t.polling.set(20,r)},Ot.prototype.poll=function(){var e=this,t=this.cm,r=this.textarea,n=this.prevInput;if(this.contextMenuPending||!t.state.focused||lt(r)&&!n&&!this.composing||t.isReadOnly()||t.options.disableInput||t.state.keySeq)return!1;var i=r.value;if(i==n&&!t.somethingSelected())return!1;if(M&&S>=9&&this.hasSelection===i||Q&&/[\uf700-\uf7ff]/.test(i))return t.display.input.reset(),!1;if(t.doc.sel==t.display.selForContextMenu){var a=i.charCodeAt(0);if(a==8203&&!n&&(n="\u200B"),a==8666)return this.reset(),this.cm.execCommand("undo")}for(var o=0,s=Math.min(n.length,i.length);o<s&&n.charCodeAt(o)==i.charCodeAt(o);)++o;return rn(t,function(){La(t,i.slice(o),n.length-o,null,e.composing?"*compose":null),i.length>1e3||i.indexOf(`
|
|
`)>-1?r.value=e.prevInput="":e.prevInput=i,e.composing&&(e.composing.range.clear(),e.composing.range=t.markText(e.composing.start,t.getCursor("to"),{className:"CodeMirror-composing"}))}),!0},Ot.prototype.ensurePolled=function(){this.pollingFast&&this.poll()&&(this.pollingFast=!1)},Ot.prototype.onKeyPress=function(){M&&S>=9&&(this.hasSelection=null),this.fastPoll()},Ot.prototype.onContextMenu=function(e){var t=this,r=t.cm,n=r.display,i=t.textarea;t.contextMenuPending&&t.contextMenuPending();var a=rr(r,e),o=n.scroller.scrollTop;if(!a||z)return;var s=r.options.resetSelectionOnContextMenu;s&&r.doc.sel.contains(a)==-1&&Bt(r,Kt)(r.doc,Fn(a),ve);var l=i.style.cssText,c=t.wrapper.style.cssText,y=t.wrapper.offsetParent.getBoundingClientRect();t.wrapper.style.cssText="position: static",i.style.cssText=`position: absolute; width: 30px; height: 30px;
|
|
top: `+(e.clientY-y.top-5)+"px; left: "+(e.clientX-y.left-5)+`px;
|
|
z-index: 1000; background: `+(M?"rgba(255, 255, 255, .05)":"transparent")+`;
|
|
outline: none; border-width: 0; outline: none; overflow: hidden; opacity: .05; filter: alpha(opacity=5);`;var C;E&&(C=window.scrollY),n.input.focus(),E&&window.scrollTo(null,C),n.input.reset(),r.somethingSelected()||(i.value=t.prevInput=" "),t.contextMenuPending=L,n.selForContextMenu=r.doc.sel,clearTimeout(n.detectingSelectAll);function F(){if(i.selectionStart!=null){var Ee=r.somethingSelected(),Oe="\u200B"+(Ee?i.value:"");i.value="\u21DA",i.value=Oe,t.prevInput=Ee?"":"\u200B",i.selectionStart=1,i.selectionEnd=Oe.length,n.selForContextMenu=r.doc.sel}}function L(){if(t.contextMenuPending!=L)return;if(t.contextMenuPending=!1,t.wrapper.style.cssText=c,i.style.cssText=l,M&&S<9&&n.scrollbars.setScrollTop(n.scroller.scrollTop=o),i.selectionStart!=null){(!M||M&&S<9)&&F();var Ee=0,Oe=function(){n.selForContextMenu==r.doc.sel&&i.selectionStart==0&&i.selectionEnd>0&&t.prevInput=="\u200B"?Bt(r,Wo)(r):Ee++<10?n.detectingSelectAll=setTimeout(Oe,500):(n.selForContextMenu=null,n.input.reset())};n.detectingSelectAll=setTimeout(Oe,200)}}if(M&&S>=9&&F(),Re){v(e);var ue=function(){Ge(window,"mouseup",ue),setTimeout(L,20)};de(window,"mouseup",ue)}else setTimeout(L,50)},Ot.prototype.readOnlyChanged=function(e){e||this.reset(),this.textarea.disabled=e=="nocursor",this.textarea.readOnly=!!e},Ot.prototype.setUneditable=function(){},Ot.prototype.needsContentAttribute=!1;function ru(e,t){if(t=t?d(t):{},t.value=e.value,!t.tabindex&&e.tabIndex&&(t.tabindex=e.tabIndex),!t.placeholder&&e.placeholder&&(t.placeholder=e.placeholder),t.autofocus==null){var r=j();t.autofocus=r==e||e.getAttribute("autofocus")!=null&&r==document.body}function n(){e.value=s.getValue()}var i;if(e.form&&(de(e.form,"submit",n),!t.leaveSubmitMethodAlone)){var a=e.form;i=a.submit;try{var o=a.submit=function(){n(),a.submit=i,a.submit(),a.submit=o}}catch(l){}}t.finishInit=function(l){l.save=n,l.getTextArea=function(){return e},l.toTextArea=function(){l.toTextArea=isNaN,n(),e.parentNode.removeChild(l.getWrapperElement()),e.style.display="",e.form&&(Ge(e.form,"submit",n),!t.leaveSubmitMethodAlone&&typeof e.form.submit=="function"&&(e.form.submit=i))}},e.style.display="none";var s=Mt(function(l){return e.parentNode.insertBefore(l,e.nextSibling)},t);return s}function iu(e){e.off=Ge,e.on=de,e.wheelEventPixels=dl,e.Doc=qt,e.splitLines=pt,e.countColumn=k,e.findColumn=be,e.isWordChar=xe,e.Pass=Be,e.signal=fe,e.Line=wt,e.changeEnd=Wn,e.scrollbarModel=vo,e.Pos=Me,e.cmpPos=ut,e.modes=Wt,e.mimeModes=mt,e.resolveMode=un,e.getMode=wn,e.modeExtensions=pn,e.extendMode=bi,e.copyState=cn,e.startState=dr,e.innerMode=Gn,e.commands=hi,e.keyMap=Tn,e.keyName=rs,e.isModifierKey=ts,e.lookupKey=Or,e.normalizeKeyMap=Ll,e.StringStream=St,e.SharedTextMarker=ci,e.TextMarker=Qn,e.LineWidget=ui,e.e_preventDefault=f,e.e_stopPropagation=h,e.e_stop=v,e.addClass=X,e.contains=b,e.rmClass=te,e.keyNames=Hn}Yl(Mt),$l(Mt);var au="iter insert remove copy getEditor constructor".split(" ");for(var Vi in qt.prototype)qt.prototype.hasOwnProperty(Vi)&&q(au,Vi)<0&&(Mt.prototype[Vi]=function(e){return function(){return e.apply(this.doc,arguments)}}(qt.prototype[Vi]));return w(qt),Mt.inputStyles={textarea:Ot,contenteditable:yt},Mt.defineMode=function(e){!Mt.defaults.mode&&e!="null"&&(Mt.defaults.mode=e),Cn.apply(this,arguments)},Mt.defineMIME=Kn,Mt.defineMode("null",function(){return{token:function(e){return e.skipToEnd()}}}),Mt.defineMIME("text/plain","null"),Mt.defineExtension=function(e,t){Mt.prototype[e]=t},Mt.defineDocExtension=function(e,t){qt.prototype[e]=t},Mt.fromTextArea=ru,iu(Mt),Mt.version="5.58.2",Mt})},W1YM:function(me,ne,u){},W6BS:function(me,ne){me.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADgAAAA4CAYAAACohjseAAAVs0lEQVRoQ+2aa6xlZ3nff++677Xv+9zPHM/YHo+xwQ4E14GKKESkiFsSM8bYQBIEkaBEAkqbRmo/9FulSoX2Qz9GVVQJqUJBhKKA1KRJCIlowwdDDDa+jOd65syc275f1v1d1fOufYYE2ZhJZKRWXjOjvffaa6/1/p//8/yfyzuqLMuS/48P9RrA/8fZfY3B2yXQBHQpf185tBUK+SvH8uV2H/eK1/+jGfwRIBC5ks/Vq/yplq2Wqz+B/ONg5LNlrlz+Qhnot373iih+wgX/YIAivrJgjTKA9BKcYa/Uy/MnUEpD0S2AyzdKkMslZYklbwVYWZpXQSygrSVoc+4fcPzUAKtsom4xpIG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tYDNzU3W1tfpdbvm2pc6bgE0u7IvsRUs56M4Yj6dmfJrOhwyGE8YjkaMxkNmszlpLDGbkeUx02RAlC2Y5UeUSZ+pdYyaz1k4Y9OdhE4D5dVoB6dZWbuLlneaXm2DPC1NR5BGCbF0CWVJEAQ0GnXanTb1sE69Xmdzc4uNjQ1ardZy4+dlN3fNF6+4R/9SP5eHJ0nMYhEh8TscDun3+0aoJuMJi8WCJMnRZgRZkJOR5FMKvWBz/QyN2gqqsEjTBE1q7iU5znZsfN83i2+32zSbTXq9HisrK6yurtJoNH4ympf49rYAvhzL1b5JSZqmZqGTyZT+4Jj+cd+4+mg4Yh7F5Kk0xqK4Jb7rVP87w1KGpU6nR6vVNMAEkPzrdDqGxX/McVsAb/dBsh0mKWgxnzMajxgOhhwf9+n3j5nNZ7RbbbrdrgElYE5Aua57u4962etfNYAvx7YISJIkxrXFxdvtlnFJW+Yiy+MnecrtIn/VAN7uQl6t618D+GpZ9md139cY/FlZ+tV6zmsMvlqW/Vnd9/8CAe3hZpCQX/4AAAAASUVORK5CYII="},Xsq0:function(me,ne,u){me.exports=u.p+"static/mainbanner.0a951716.jpg"},Y1PL:function(me,ne,u){"use strict";u.r(ne),u.d(ne,"ResizableTextArea",function(){return q});var T=u("wx14"),Ae=u("1OyB"),J=u("vuIU"),ce=u("Ji7U"),se=u("LK+K"),ee=u("cDcd"),M=u("VTBJ"),S=u("rePB"),E=u("Zm9Q"),ie=u("Kwbf"),N=u("c+Xe"),z=u("m+aA"),ae=u("bdgK"),K=new Map;function I(ve){ve.forEach(function(Ie){var oe,be=Ie.target;(oe=K.get(be))===null||oe===void 0||oe.forEach(function(U){return U(be)})})}var R=new ae.default(I),D=null,H=null;function Q(ve,Ie){K.has(ve)||(K.set(ve,new Set),R.observe(ve)),K.get(ve).add(Ie)}function ge(ve,Ie){K.has(ve)&&(K.get(ve).delete(Ie),K.get(ve).size||(R.unobserve(ve),K.delete(ve)))}var ye=function(ve){Object(ce.a)(oe,ve);var Ie=Object(se.a)(oe);function oe(){return Object(Ae.a)(this,oe),Ie.apply(this,arguments)}return Object(J.a)(oe,[{key:"render",value:function(){return this.props.children}}]),oe}(ee.Component),Y=ee.createContext(null);function he(ve){var Ie=ve.children,oe=ve.onBatchResize,be=ee.useRef(0),U=ee.useRef([]),G=ee.useContext(Y),Te=ee.useCallback(function(Fe,ze,Pe){be.current+=1;var je=be.current;U.current.push({size:Fe,element:ze,data:Pe}),Promise.resolve().then(function(){je===be.current&&(oe==null||oe(U.current),U.current=[])}),G==null||G(Fe,ze,Pe)},[oe,G]);return ee.createElement(Y.Provider,{value:Te},Ie)}function Re(ve){var Ie=ve.children,oe=ve.disabled,be=ee.useRef(null),U=ee.useRef(null),G=ee.useContext(Y),Te=ee.useRef({width:-1,height:-1,offsetWidth:-1,offsetHeight:-1}),Fe=ee.isValidElement(Ie)&&Object(N.c)(Ie),ze=Fe?Ie.ref:null,Pe=ee.useMemo(function(){return Object(N.a)(ze,be)},[ze,be]),je=ee.useRef(ve);je.current=ve;var le=ee.useCallback(function(xe){var De=je.current,We=De.onResize,Qe=De.data,Ce=xe.getBoundingClientRect(),ke=Ce.width,qe=Ce.height,Ve=xe.offsetWidth,Ze=xe.offsetHeight,Ke=Math.floor(ke),it=Math.floor(qe);if(Te.current.width!==Ke||Te.current.height!==it||Te.current.offsetWidth!==Ve||Te.current.offsetHeight!==Ze){var $e={width:Ke,height:it,offsetWidth:Ve,offsetHeight:Ze};Te.current=$e;var Ye=Ve===Math.round(ke)?ke:Ve,de=Ze===Math.round(qe)?qe:Ze,rt=Object(M.a)(Object(M.a)({},$e),{},{offsetWidth:Ye,offsetHeight:de});G==null||G(rt,xe,Qe),We&&Promise.resolve().then(function(){We(rt,xe)})}},[]);return ee.useEffect(function(){var xe=Object(z.a)(be.current)||Object(z.a)(U.current);return xe&&!oe&&Q(xe,le),function(){return ge(xe,le)}},[be.current,oe]),ee.createElement(ye,{ref:U},Fe?ee.cloneElement(Ie,{ref:Pe}):Ie)}var re="rc-observer-key";function te(ve){var Ie=ve.children,oe=Object(E.a)(Ie);return oe.map(function(be,U){var G=(be==null?void 0:be.key)||"".concat(re,"-").concat(U);return ee.createElement(Re,Object(T.a)({},ve,{key:G}),be)})}te.Collection=he;var Z=te,P=u("bT9E"),m=u("TSYQ"),_=u.n(m),O=`
|
|
min-height:0 !important;
|
|
max-height:none !important;
|
|
height:0 !important;
|
|
visibility:hidden !important;
|
|
overflow:hidden !important;
|
|
position:absolute !important;
|
|
z-index:-1000 !important;
|
|
top:0 !important;
|
|
right:0 !important
|
|
`,b=["letter-spacing","line-height","padding-top","padding-bottom","font-family","font-weight","font-size","font-variant","text-rendering","text-transform","width","text-indent","padding-left","padding-right","border-width","box-sizing","word-break"],j={},X;function W(ve){var Ie=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,oe=ve.getAttribute("id")||ve.getAttribute("data-reactid")||ve.getAttribute("name");if(Ie&&j[oe])return j[oe];var be=window.getComputedStyle(ve),U=be.getPropertyValue("box-sizing")||be.getPropertyValue("-moz-box-sizing")||be.getPropertyValue("-webkit-box-sizing"),G=parseFloat(be.getPropertyValue("padding-bottom"))+parseFloat(be.getPropertyValue("padding-top")),Te=parseFloat(be.getPropertyValue("border-bottom-width"))+parseFloat(be.getPropertyValue("border-top-width")),Fe=b.map(function(Pe){return"".concat(Pe,":").concat(be.getPropertyValue(Pe))}).join(";"),ze={sizingStyle:Fe,paddingSize:G,borderSize:Te,boxSizing:U};return Ie&&oe&&(j[oe]=ze),ze}function pe(ve){var Ie=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,oe=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null,be=arguments.length>3&&arguments[3]!==void 0?arguments[3]:null;X||(X=document.createElement("textarea"),X.setAttribute("tab-index","-1"),X.setAttribute("aria-hidden","true"),document.body.appendChild(X)),ve.getAttribute("wrap")?X.setAttribute("wrap",ve.getAttribute("wrap")):X.removeAttribute("wrap");var U=W(ve,Ie),G=U.paddingSize,Te=U.borderSize,Fe=U.boxSizing,ze=U.sizingStyle;X.setAttribute("style","".concat(ze,";").concat(O)),X.value=ve.value||ve.placeholder||"";var Pe=Number.MIN_SAFE_INTEGER,je=Number.MAX_SAFE_INTEGER,le=X.scrollHeight,xe;if(Fe==="border-box"?le+=Te:Fe==="content-box"&&(le-=G),oe!==null||be!==null){X.value=" ";var De=X.scrollHeight-G;oe!==null&&(Pe=De*oe,Fe==="border-box"&&(Pe=Pe+G+Te),le=Math.max(Pe,le)),be!==null&&(je=De*be,Fe==="border-box"&&(je=je+G+Te),xe=le>je?"":"hidden",le=Math.min(je,le))}return{height:le,minHeight:Pe,maxHeight:je,overflowY:xe,resize:"none"}}var g=u("Gytx"),d=u.n(g),k;(function(ve){ve[ve.NONE=0]="NONE",ve[ve.RESIZING=1]="RESIZING",ve[ve.RESIZED=2]="RESIZED"})(k||(k={}));var $=function(ve){Object(ce.a)(oe,ve);var Ie=Object(se.a)(oe);function oe(be){var U;return Object(Ae.a)(this,oe),U=Ie.call(this,be),U.nextFrameActionId=void 0,U.resizeFrameId=void 0,U.textArea=void 0,U.saveTextArea=function(G){U.textArea=G},U.handleResize=function(G){var Te=U.state.resizeStatus,Fe=U.props,ze=Fe.autoSize,Pe=Fe.onResize;if(Te!==k.NONE)return;typeof Pe=="function"&&Pe(G),ze&&U.resizeOnNextFrame()},U.resizeOnNextFrame=function(){cancelAnimationFrame(U.nextFrameActionId),U.nextFrameActionId=requestAnimationFrame(U.resizeTextarea)},U.resizeTextarea=function(){var G=U.props.autoSize;if(!G||!U.textArea)return;var Te=G.minRows,Fe=G.maxRows,ze=pe(U.textArea,!1,Te,Fe);U.setState({textareaStyles:ze,resizeStatus:k.RESIZING},function(){cancelAnimationFrame(U.resizeFrameId),U.resizeFrameId=requestAnimationFrame(function(){U.setState({resizeStatus:k.RESIZED},function(){U.resizeFrameId=requestAnimationFrame(function(){U.setState({resizeStatus:k.NONE}),U.fixFirefoxAutoScroll()})})})})},U.renderTextArea=function(){var G=U.props,Te=G.prefixCls,Fe=Te===void 0?"rc-textarea":Te,ze=G.autoSize,Pe=G.onResize,je=G.className,le=G.disabled,xe=U.state,De=xe.textareaStyles,We=xe.resizeStatus,Qe=Object(P.a)(U.props,["prefixCls","onPressEnter","autoSize","defaultValue","onResize"]),Ce=_()(Fe,je,Object(S.a)({},"".concat(Fe,"-disabled"),le));"value"in Qe&&(Qe.value=Qe.value||"");var ke=Object(M.a)(Object(M.a)(Object(M.a)({},U.props.style),De),We===k.RESIZING?{overflowX:"hidden",overflowY:"hidden"}:null);return ee.createElement(Z,{onResize:U.handleResize,disabled:!(ze||Pe)},ee.createElement("textarea",Object(T.a)({},Qe,{className:Ce,style:ke,ref:U.saveTextArea})))},U.state={textareaStyles:{},resizeStatus:k.NONE},U}return Object(J.a)(oe,[{key:"componentDidUpdate",value:function(U){(U.value!==this.props.value||!d()(U.autoSize,this.props.autoSize))&&this.resizeTextarea()}},{key:"componentWillUnmount",value:function(){cancelAnimationFrame(this.nextFrameActionId),cancelAnimationFrame(this.resizeFrameId)}},{key:"fixFirefoxAutoScroll",value:function(){try{if(document.activeElement===this.textArea){var U=this.textArea.selectionStart,G=this.textArea.selectionEnd;this.textArea.setSelectionRange(U,G)}}catch(Te){}}},{key:"render",value:function(){return this.renderTextArea()}}]),oe}(ee.Component),q=$,Se=function(ve){Object(ce.a)(oe,ve);var Ie=Object(se.a)(oe);function oe(be){var U;Object(Ae.a)(this,oe),U=Ie.call(this,be),U.resizableTextArea=void 0,U.focus=function(){U.resizableTextArea.textArea.focus()},U.saveTextArea=function(Te){U.resizableTextArea=Te},U.handleChange=function(Te){var Fe=U.props.onChange;U.setValue(Te.target.value,function(){U.resizableTextArea.resizeTextarea()}),Fe&&Fe(Te)},U.handleKeyDown=function(Te){var Fe=U.props,ze=Fe.onPressEnter,Pe=Fe.onKeyDown;Te.keyCode===13&&ze&&ze(Te),Pe&&Pe(Te)};var G=typeof be.value=="undefined"||be.value===null?be.defaultValue:be.value;return U.state={value:G},U}return Object(J.a)(oe,[{key:"setValue",value:function(U,G){"value"in this.props||this.setState({value:U},G)}},{key:"blur",value:function(){this.resizableTextArea.textArea.blur()}},{key:"render",value:function(){return ee.createElement(q,Object(T.a)({},this.props,{value:this.state.value,onKeyDown:this.handleKeyDown,onChange:this.handleChange,ref:this.saveTextArea}))}}],[{key:"getDerivedStateFromProps",value:function(U){return"value"in U?{value:U.value}:null}}]),oe}(ee.Component),Be=ne.default=Se},ZW9T:function(me,ne,u){"use strict";u.d(ne,"a",function(){return ye});var T=u("k1fw"),Ae=u("miYZ"),J=u("tsqr"),ce=u("rAM+"),se=u("tJVT"),ee=u("PpiC"),M=u("cDcd"),S=u.n(M),E=u("bdgK");function ie(Y,he,Re,re,te){var Z=he.getWordUntilPosition(Re),P={startLineNumber:Re.lineNumber,endLineNumber:Re.lineNumber,startColumn:Z.startColumn,endColumn:Z.endColumn},m=re.map(function(_){return{label:_,kind:Y.languages.CompletionItemKind.Keyword,insertText:_,insertTextRules:Y.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:P}});return te.map(function(_){m.push(Object(T.a)(Object(T.a)({},_),{},{range:P}))}),m}var N=function(Y){var he={label:"ifelse",kind:Y.languages.CompletionItemKind.Method,insertText:["if (${1:condition}) {"," $0","} else {"," ","}"].join(`
|
|
`),insertTextRules:Y.languages.CompletionItemInsertTextRule.InsertAsSnippet},Re=["auto","break","case","char","const","continue","default","do","double","else","enum","extern","float","for","goto","if","int","long","register","return","short","signed","sizeof","static","struct","switch","typedef","union","unsigned","void","volatile","while","inline","restrict","_Bool","_Complex","_Imaginary","_Alignas","_Alignof","_Atomic","_Static_assert","_Noreturn","_Thread_local","_Generic"];Y.languages.registerCompletionItemProvider("cpp",{provideCompletionItems:function(P,m){var _=ie(Y,P,m,Re,[he]);return{suggestions:_}}});var re=["False","None","True","and","as","assert","break","class","continue","def","del","elif","else","except","finally","for","from","global","if","import","in","is","lambda","nonlocal","not","or","pass","raise","return","try","while","with","yield"];Y.languages.registerCompletionItemProvider("python",{provideCompletionItems:function(P,m){var _=[{label:"print",kind:Y.languages.CompletionItemKind.Snippet,insertText:["print($0)"].join(`
|
|
`),insertTextRules:Y.languages.CompletionItemInsertTextRule.InsertAsSnippet}],O=ie(Y,P,m,re,_);return{suggestions:O}}});var te=["abstract","assert","boolean","break","byte","case","catch","char","class","const","continue","default","do","double","else","enum","extends","final","finally","float","for","goto","if","implements","import","instance of","int","interface","long","native","new","package","private","protected","public","return","strictfp","short","static","super","switch","synchronized","this","throw","throws","transient","try","void","volatile","while"];Y.languages.registerCompletionItemProvider("java",{provideCompletionItems:function(P,m){var _=[he,{label:"main",kind:Y.languages.CompletionItemKind.Snippet,insertText:["public static void main(String[] args) {"," $0","}"].join(`
|
|
`),insertTextRules:Y.languages.CompletionItemInsertTextRule.InsertAsSnippet},{label:"System.out.print",kind:Y.languages.CompletionItemKind.Snippet,insertText:["System.out.print($0)"].join(`
|
|
`),insertTextRules:Y.languages.CompletionItemInsertTextRule.InsertAsSnippet}],O=ie(Y,P,m,te,_);return{suggestions:O}}})},z="\u8BE5\u4EFB\u52A1\u5173\u5361\u8BBE\u7F6E\u4E86\u7981\u6B62\u590D\u5236\u7C98\u8D34\uFF0C\u8BF7\u624B\u52A8\u8F93\u5165\u4EE3\u7801\u3002",ae=u("LvDl");function K(Y){return/^\d+$/.test(Y)?"".concat(Y,"px"):Y}function I(){}var R=!1,D={"Python3.6":"python","Python2.7":"python",Dynamips:"cpp",Java:"java",Web:"php",Html:"html",Hive:"sql",Hadoop:"java",SDL:"cpp",PHP:"php",Matlab:"python",Git:"python",Python:"python","C/C++":"cpp","C++":"cpp",C:"cpp",Ruby:"ruby",Shell:"shell",JavaScript:"javascript",Perl6:"perl",Kotlin:"kotlin",Elixir:"elixir",Android:"java",JavaWeb:"java",Go:"go",Spark:"sql",MachineLearning:"python",Verilog:"xml","Verilog/VNC":"xml",Docker:"dockerfile","C#":"csharp",SQLite3:"sql",Oracle:"sql",Vhdl:"vhdl",R:"r",Swift:"swift",SQLServer:"mysql",MySQL:"mysql",Mongo:"sql",PostgreSql:"pgsql",Hbase:"powershell",Sqoop:"sql",Nasm:"cpp",Kafka:"java",Flink:"java",Sml:"javascript",OpenGL:"cpp",Perl5:"perl",Orange:"python"};function H(){var Y=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],he=Y;if(Array.isArray(Y)){for(var Re=0;Re<Y.length;Re++){var re=D[Y[Re]];if(re)return re}return he[0]}return D[he]||he}var Q=null,ge=ne.b=function(Y){var he=Y.width,Re=he===void 0?"100%":he,re=Y.height,te=re===void 0?"100%":re,Z=Y.value,P=Y.language,m=P===void 0?"javascript":P,_=Y.style,O=_===void 0?{}:_,b=Y.options,j=b===void 0?{}:b,X=Y.overrideServices,W=X===void 0?{}:X,pe=Y.theme,g=pe===void 0?"vs-dark":pe,d=Y.onEditBlur,k=Y.onSave,$=Y.autoHeight,q=$===void 0?!1:$,Se=Y.forbidCopy,Be=Se===void 0?!1:Se,ve=Y.onChange,Ie=ve===void 0?I:ve,oe=Y.editorDidMount,be=oe===void 0?I:oe,U=Y.onFocus,G=U===void 0?I:U,Te=Y.filename,Fe=Te===void 0?"educoder.txt":Te,ze=Object(ee.a)(Y,["width","height","value","language","style","options","overrideServices","theme","onEditBlur","onSave","autoHeight","forbidCopy","onChange","editorDidMount","onFocus","filename"]),Pe=Object(M.useRef)(),je=Object(M.useRef)({}),le=Object(M.useRef)(),xe=Object(M.useRef)(!1),De=Object(M.useRef)(),We=Object(M.useState)(!1),Qe=Object(se.a)(We,2),Ce=Qe[0],ke=Qe[1];function qe(){var p;return Pe.current&&(p=new E.default(function(v){var B=Object(ce.a)(v),V;try{for(B.s();!(V=B.n()).done;){var we=V.value;(we.target.offsetHeight>0||we.target.offsetWidth>0)&&je.current.instance.layout()}}catch(nt){B.e(nt)}finally{B.f()}}),p.observe(Pe.current)),p}function Ve(){J.b.warn(decodeURIComponent(z))}var Ze=function(){var v=je.current.instance;if(Z!=null&&v&&Ce){var B=v.getModel();B&&Z!==B.getValue()&&(R=!0,B.setValue(Z),v.layout(),R=!1)}};Object(M.useEffect)(function(){le.current&&clearTimeout(le.current),le.current=setTimeout(function(){Ze()},500)},[Z,Ce,je.current]);function Ke(){var p=je.current.instance;if(p){var v=p.getSelection(),B=je.current.pastePos||{},V=new Q.Range(B.startLineNumber||v.endLineNumber,B.startColumn||v.endColumn,B.endLineNumber||v.endLineNumber,B.endColumn||v.endColumn);setTimeout(function(){p.executeEdits("",[{range:V,text:""}])},300)}}function it(p){(window.navigator.platform.match("Mac")?p.metaKey:p.ctrlKey)&&p.keyCode==83&&(p.preventDefault(),k())}var $e=function(){if(q&&je.current.instance){var v=je.current.instance.getContentHeight();f(v<te?te:v)}else f(te)};function Ye(p){var v=document.createEvent("MouseEvents");v.initMouseEvent("click",!0,!1,window,0,0,0,0,0,!1,!1,!1,!1,0,null),p.dispatchEvent(v)}function de(p,v){var B=window.URL||window.webkitURL||window,V=new Blob([v]),we=document.createElementNS("http://www.w3.org/1999/xhtml","a");we.href=B.createObjectURL(V),we.download=p,Ye(we)}Object(M.useEffect)(function(){$e()},[$e]),Object(M.useEffect)(function(){Pe.current&&!Ce&&u.e(27).then(u.t.bind(null,"M/lh",7)).then(function(p){try{Q=p,je.current.instance=Q.editor.create(Pe.current,{value:Z,language:H(m),theme:g,requireConfig:{"vs/nls":{availableLanguages:{"*":"zh-cn"}}},wordWrap:!0},W);var v=je.current.instance;if(be(v,Q),setTimeout(function(){$e(),je.current.instance.addAction({id:"d123123",label:"Download File",contextMenuGroupId:"9_cutcopypaste",run:function(){de(Fe||"educoder.txt",v.getValue())}})},500),je.current.subscription=v.onDidChangeModelContent(function(V){xe.current?clearTimeout(De.current):($e(),Ie(v.getValue(),V)),De.current=setTimeout(function(){xe.current=!1},500)}),window.Monaco||N(Q),Be&&(v.addCommand(Q.KeyMod.CtrlCmd|Q.KeyMod.Shift|Q.KeyCode.KEY_V,function(){return Ve(),null}),v.addCommand(Q.KeyMod.CtrlCmd|Q.KeyCode.KEY_C,function(){return Ve(),null})),window.Monaco=Q,d&&v.onDidBlurEditorWidget(function(){d(v.getValue())}),G&&v.onDidFocusEditorText(function(){G(v.getValue())}),Be){v.addCommand(Q.KeyMod.CtrlCmd|Q.KeyCode.KEY_V,function(){return Ve(),null}),v.onDidPaste(function(V){je.current.pastePos=V});try{window.addEventListener("paste",Ke)}catch(V){}}var B=qe();return ke(!0),function(){var V=je.current.instance;V.dispose();var we=V.getModel();we&&we.dispose(),je.current.subscription&&je.current.subscription.dispose(),Be&&window.removeEventListener("paste",Ke),B.unobserve(Pe.current)}}catch(V){}})},[]),Object(M.useEffect)(function(){var p=je.current.instance;if(p&&Ce)return document.addEventListener("keydown",it,!1),function(){document.removeEventListener("keydown",it)}},[k,Ce]),Object(M.useEffect)(function(){var p=je.current.instance;if(p&&Ce){var v=H(m);Q.editor.setModelLanguage(p.getModel(),v),console.log("language:",m,p.getModel(),v)}},[m,Ce]),Object(M.useEffect)(function(){var p=je.current.instance;p&&Ce&&Q.editor.setTheme(g)},[g,Ce]),Object(M.useEffect)(function(){var p=je.current.instance;p&&Ce&&(p.updateOptions(Object(T.a)({},j)),setTimeout(function(){p.getModel().updateOptions(Object(T.a)({},j))},200))},[JSON.stringify(j),Ce]),Object(M.useEffect)(function(){var p=je.current.instance;p&&Ce&&p.layout()},[Re,te,Ce]);var rt=Object(M.useState)(K(Re)),Ge=Object(se.a)(rt,2),fe=Ge[0],Le=Ge[1],A=Object(M.useState)(K(te)),x=Object(se.a)(A,2),w=x[0],f=x[1],h=Object(T.a)(Object(T.a)({},O),{},{width:fe,height:w});return S.a.createElement("div",{className:"my-monaco-editor",ref:Pe,style:h})};function ye(Y){var he=Y.width,Re=he===void 0?"100%":he,re=Y.height,te=re===void 0?"100%":re,Z=Y.original,P=Y.modified,m=Y.language,_=Y.options,O=_===void 0?{}:_,b=Object(M.useRef)(),j=Object(M.useState)(null),X=Object(se.a)(j,2),W=X[0],pe=X[1];function g(q){var Se;return b.current&&(Se=new E.default(function(Be){var ve=Object(ce.a)(Be),Ie;try{for(ve.s();!(Ie=ve.n()).done;){var oe=Ie.value;(oe.target.offsetHeight>0||oe.target.offsetWidth>0)&&q.layout()}}catch(be){ve.e(be)}finally{ve.f()}}),Se.observe(b.current)),Se}Object(M.useEffect)(function(){b.current&&u.e(27).then(u.t.bind(null,"M/lh",7)).then(function(q){Q=q;var Se=Q.editor.createDiffEditor(b.current,Object(T.a)(Object(T.a)({enableSplitViewResizing:!1,scrollBeyondLastLine:!1,roundedSelection:!1,renderIndicators:!1,useShadows:!1,horizontal:"hidden",lineNumbers:"off",ignoreTrimWhitespace:!1,followsCaret:!0,ignoreCharChanges:!0,minimap:{enabled:!1},readOnly:!0},O),{},{wordWrap:!0}));pe(Se);var Be=g(Se);return function(){Se.dispose();var ve=Se.getModel();ve&&ve.dispose(),Be.unobserve(b.current)}})},[]),Object(M.useEffect)(function(){W&&W.setModel({original:Q.editor.createModel(Z,m),modified:Q.editor.createModel(P,m)})},[Z,P,m,W]);var d=K(Re),k=K(te),$={width:d,height:k};return S.a.createElement("div",{className:"my-diff-editor",ref:b,style:$})}},ZpRC:function(me,ne,u){"use strict";function T(N){return typeof N=="object"&&N!=null&&N.nodeType===1}function Ae(N,z){return(!z||N!=="hidden")&&N!=="visible"&&N!=="clip"}function J(N,z){if(N.clientHeight<N.scrollHeight||N.clientWidth<N.scrollWidth){var ae=getComputedStyle(N,null);return Ae(ae.overflowY,z)||Ae(ae.overflowX,z)||function(K){var I=function(R){if(!R.ownerDocument||!R.ownerDocument.defaultView)return null;try{return R.ownerDocument.defaultView.frameElement}catch(D){return null}}(K);return!!I&&(I.clientHeight<K.scrollHeight||I.clientWidth<K.scrollWidth)}(N)}return!1}function ce(N,z,ae,K,I,R,D,H){return R<N&&D>z||R>N&&D<z?0:R<=N&&H<=ae||D>=z&&H>=ae?R-N-K:D>z&&H<ae||R<N&&H>ae?D-z+I:0}var se=function(N,z){var ae=window,K=z.scrollMode,I=z.block,R=z.inline,D=z.boundary,H=z.skipOverflowHiddenElements,Q=typeof D=="function"?D:function(De){return De!==D};if(!T(N))throw new TypeError("Invalid target");for(var ge=document.scrollingElement||document.documentElement,ye=[],Y=N;T(Y)&&Q(Y);){if((Y=Y.parentElement)===ge){ye.push(Y);break}Y!=null&&Y===document.body&&J(Y)&&!J(document.documentElement)||Y!=null&&J(Y,H)&&ye.push(Y)}for(var he=ae.visualViewport?ae.visualViewport.width:innerWidth,Re=ae.visualViewport?ae.visualViewport.height:innerHeight,re=window.scrollX||pageXOffset,te=window.scrollY||pageYOffset,Z=N.getBoundingClientRect(),P=Z.height,m=Z.width,_=Z.top,O=Z.right,b=Z.bottom,j=Z.left,X=I==="start"||I==="nearest"?_:I==="end"?b:_+P/2,W=R==="center"?j+m/2:R==="end"?O:j,pe=[],g=0;g<ye.length;g++){var d=ye[g],k=d.getBoundingClientRect(),$=k.height,q=k.width,Se=k.top,Be=k.right,ve=k.bottom,Ie=k.left;if(K==="if-needed"&&_>=0&&j>=0&&b<=Re&&O<=he&&_>=Se&&b<=ve&&j>=Ie&&O<=Be)return pe;var oe=getComputedStyle(d),be=parseInt(oe.borderLeftWidth,10),U=parseInt(oe.borderTopWidth,10),G=parseInt(oe.borderRightWidth,10),Te=parseInt(oe.borderBottomWidth,10),Fe=0,ze=0,Pe="offsetWidth"in d?d.offsetWidth-d.clientWidth-be-G:0,je="offsetHeight"in d?d.offsetHeight-d.clientHeight-U-Te:0;if(ge===d)Fe=I==="start"?X:I==="end"?X-Re:I==="nearest"?ce(te,te+Re,Re,U,Te,te+X,te+X+P,P):X-Re/2,ze=R==="start"?W:R==="center"?W-he/2:R==="end"?W-he:ce(re,re+he,he,be,G,re+W,re+W+m,m),Fe=Math.max(0,Fe+te),ze=Math.max(0,ze+re);else{Fe=I==="start"?X-Se-U:I==="end"?X-ve+Te+je:I==="nearest"?ce(Se,ve,$,U,Te+je,X,X+P,P):X-(Se+$/2)+je/2,ze=R==="start"?W-Ie-be:R==="center"?W-(Ie+q/2)+Pe/2:R==="end"?W-Be+G+Pe:ce(Ie,Be,q,be,G+Pe,W,W+m,m);var le=d.scrollLeft,xe=d.scrollTop;X+=xe-(Fe=Math.max(0,Math.min(xe+Fe,d.scrollHeight-$+je))),W+=le-(ze=Math.max(0,Math.min(le+ze,d.scrollWidth-q+Pe)))}pe.push({el:d,top:Fe,left:ze})}return pe};function ee(N){return N===Object(N)&&Object.keys(N).length!==0}function M(N,z){z===void 0&&(z="auto");var ae="scrollBehavior"in document.body.style;N.forEach(function(K){var I=K.el,R=K.top,D=K.left;I.scroll&&ae?I.scroll({top:R,left:D,behavior:z}):(I.scrollTop=R,I.scrollLeft=D)})}function S(N){return N===!1?{block:"end",inline:"nearest"}:ee(N)?N:{block:"start",inline:"nearest"}}function E(N,z){var ae=!N.ownerDocument.documentElement.contains(N);if(ee(z)&&typeof z.behavior=="function")return z.behavior(ae?[]:se(N,z));if(ae)return;var K=S(z);return M(se(N,K),K.behavior)}var ie=ne.a=E},bT9E:function(me,ne,u){"use strict";u.d(ne,"a",function(){return Ae});var T=u("VTBJ");function Ae(J,ce){var se=Object(T.a)({},J);return Array.isArray(ce)&&ce.forEach(function(ee){delete se[ee]}),se}},c5Ni:function(me,ne,u){},cRFk:function(me,ne,u){me.exports=u.p+"static/RepositoryNoneData.828085a8.png"},csWT:function(me,ne,u){me.exports=u.p+"static/choose.4ad1045f.svg"},dejd:function(me,ne,u){},djh8:function(me,ne,u){me.exports=u.p+"static/qrCode.42927872.png"},dmUQ:function(me,ne,u){"use strict";var T=u("Ff2n"),Ae=u("rePB"),J=u("1OyB"),ce=u("vuIU"),se=u("Ji7U"),ee=u("md7G"),M=u("foSv"),S=u("cDcd"),E=u.n(S),ie=u("TSYQ"),N=u.n(ie),z=u("4IlW");function ae(P,m){var _=Object.keys(P);if(Object.getOwnPropertySymbols){var O=Object.getOwnPropertySymbols(P);m&&(O=O.filter(function(b){return Object.getOwnPropertyDescriptor(P,b).enumerable})),_.push.apply(_,O)}return _}function K(P){for(var m=1;m<arguments.length;m++){var _=arguments[m]!=null?arguments[m]:{};m%2?ae(Object(_),!0).forEach(function(O){Object(Ae.a)(P,O,_[O])}):Object.getOwnPropertyDescriptors?Object.defineProperties(P,Object.getOwnPropertyDescriptors(_)):ae(Object(_)).forEach(function(O){Object.defineProperty(P,O,Object.getOwnPropertyDescriptor(_,O))})}return P}function I(P){var m=R();return function(){var O=Object(M.a)(P),b;if(m){var j=Object(M.a)(this).constructor;b=Reflect.construct(O,arguments,j)}else b=O.apply(this,arguments);return Object(ee.a)(this,b)}}function R(){if(typeof Reflect=="undefined"||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(P){return!1}}function D(){}function H(P){P.preventDefault()}var Q=function(m){return m.replace(/[^\w.-]+/g,"")},ge=200,ye=600,Y=Number.MAX_SAFE_INTEGER||Math.pow(2,53)-1,he=function(m){return m!=null},Re=function(m,_){return _===m||typeof _=="number"&&typeof m=="number"&&isNaN(_)&&isNaN(m)},re=function(P){Object(se.a)(_,P);var m=I(_);function _(O){var b;Object(J.a)(this,_),b=m.call(this,O),b.onKeyDown=function(W){var pe=b.props,g=pe.onKeyDown,d=pe.onPressEnter;if(W.keyCode===z.a.UP){var k=b.getRatio(W);b.up(W,k,null),b.stop()}else if(W.keyCode===z.a.DOWN){var $=b.getRatio(W);b.down(W,$,null),b.stop()}else W.keyCode===z.a.ENTER&&d&&d(W);if(b.recordCursorPosition(),b.lastKeyCode=W.keyCode,g){for(var q=arguments.length,Se=new Array(q>1?q-1:0),Be=1;Be<q;Be++)Se[Be-1]=arguments[Be];g.apply(void 0,[W].concat(Se))}},b.onKeyUp=function(W){var pe=b.props.onKeyUp;if(b.stop(),b.recordCursorPosition(),pe){for(var g=arguments.length,d=new Array(g>1?g-1:0),k=1;k<g;k++)d[k-1]=arguments[k];pe.apply(void 0,[W].concat(d))}},b.onChange=function(W){var pe=b.props.onChange;b.state.focused&&(b.inputting=!0),b.rawInput=b.props.parser(b.getValueFromEvent(W)),b.setState({inputValue:b.rawInput}),pe(b.toNumber(b.rawInput))},b.onMouseUp=function(){var W=b.props.onMouseUp;b.recordCursorPosition(),W&&W.apply(void 0,arguments)},b.onFocus=function(){var W;b.setState({focused:!0}),(W=b.props).onFocus.apply(W,arguments)},b.onBlur=function(){var W=b.props.onBlur;b.inputting=!1,b.setState({focused:!1});var pe=b.getCurrentValidValue(b.state.inputValue),g=b.setValue(pe,D);if(W){var d=b.input.value,k=b.getInputDisplayValue({focus:!1,value:g});b.input.value=k&&Number(k),W.apply(void 0,arguments),b.input.value=d}},b.getRatio=function(W){var pe=1;return W.metaKey||W.ctrlKey?pe=.1:W.shiftKey&&(pe=10),pe},b.getFullNum=function(W){return isNaN(W)?W:/e/i.test(String(W))?Number(W).toFixed(18).replace(/\.?0+$/,""):W},b.getPrecision=function(W){if(he(b.props.precision))return b.props.precision;var pe=String(W);if(pe.indexOf("e-")>=0)return parseInt(pe.slice(pe.indexOf("e-")+2),10);var g=0;return pe.indexOf(".")>=0&&(g=pe.length-pe.indexOf(".")-1),g},b.getInputDisplayValue=function(W){var pe=W||b.state,g=pe.focused,d=pe.inputValue,k=pe.value,$;g?$=d:$=b.toPrecisionAsStep(k),$==null&&($="");var q=b.formatWrapper($);return he(b.props.decimalSeparator)&&(q=q.toString().replace(".",b.props.decimalSeparator)),q},b.recordCursorPosition=function(){try{b.cursorStart=b.input.selectionStart,b.cursorEnd=b.input.selectionEnd,b.currentValue=b.input.value,b.cursorBefore=b.input.value.substring(0,b.cursorStart),b.cursorAfter=b.input.value.substring(b.cursorEnd)}catch(W){}},b.restoreByAfter=function(W){if(W===void 0)return!1;var pe=b.input.value,g=pe.lastIndexOf(W);if(g===-1)return!1;var d=b.cursorBefore.length;return b.lastKeyCode===z.a.DELETE&&b.cursorBefore.charAt(d-1)===W[0]?(b.fixCaret(d,d),!0):g+W.length===pe.length?(b.fixCaret(g,g),!0):!1},b.partRestoreByAfter=function(W){return W===void 0?!1:Array.prototype.some.call(W,function(pe,g){var d=W.substring(g);return b.restoreByAfter(d)})},b.isNotCompleteNumber=function(W){return isNaN(W)||W===""||W===null||W&&W.toString().indexOf(".")===W.toString().length-1},b.stop=function(){b.autoStepTimer&&clearTimeout(b.autoStepTimer)},b.down=function(W,pe,g){b.pressingUpOrDown=!0,b.step("down",W,pe,g)},b.up=function(W,pe,g){b.pressingUpOrDown=!0,b.step("up",W,pe,g)},b.saveInput=function(W){b.input=W};var j=O.value;j===void 0&&(j=O.defaultValue),b.state={focused:O.autoFocus};var X=b.getValidValue(b.toNumber(j));return b.state=K(K({},b.state),{},{inputValue:b.toPrecisionAsStep(X),value:X}),b}return Object(ce.a)(_,[{key:"componentDidMount",value:function(){this.componentDidUpdate(null)}},{key:"componentDidUpdate",value:function(b){var j=this.props,X=j.value,W=j.onChange,pe=j.max,g=j.min,d=this.state.focused;if(b){if(!Re(b.value,X)||!Re(b.max,pe)||!Re(b.min,g)){var k=d?X:this.getValidValue(X),$;this.pressingUpOrDown?$=k:this.inputting?$=this.rawInput:$=this.toPrecisionAsStep(k),this.setState({value:k,inputValue:$})}var q="value"in this.props?X:this.state.value;"max"in this.props&&b.max!==pe&&typeof q=="number"&&q>pe&&W&&W(pe),"min"in this.props&&b.min!==g&&typeof q=="number"&&q<g&&W&&W(g)}try{if(this.cursorStart!==void 0&&this.state.focused){if(!this.partRestoreByAfter(this.cursorAfter)&&this.state.value!==this.props.value){var Se=this.cursorStart+1;this.cursorAfter?this.lastKeyCode===z.a.BACKSPACE?Se=this.cursorStart-1:this.lastKeyCode===z.a.DELETE&&(Se=this.cursorStart):Se=this.input.value.length,this.fixCaret(Se,Se)}else if(this.currentValue===this.input.value)switch(this.lastKeyCode){case z.a.BACKSPACE:this.fixCaret(this.cursorStart-1,this.cursorStart-1);break;case z.a.DELETE:this.fixCaret(this.cursorStart+1,this.cursorStart+1);break;default:}}}catch(Be){}if(this.lastKeyCode=null,!this.pressingUpOrDown)return;this.props.focusOnUpDown&&this.state.focused&&(document.activeElement!==this.input&&this.focus())}},{key:"componentWillUnmount",value:function(){this.stop()}},{key:"getCurrentValidValue",value:function(b){var j=b;return j===""?j="":this.isNotCompleteNumber(parseFloat(j))?j=this.state.value:j=this.getValidValue(j),this.toNumber(j)}},{key:"getValueFromEvent",value:function(b){var j=b.target.value.trim().replace(/。/g,".");return he(this.props.decimalSeparator)&&(j=j.replace(this.props.decimalSeparator,".")),j}},{key:"getValidValue",value:function(b){var j=arguments.length>1&&arguments[1]!==void 0?arguments[1]:this.props.min,X=arguments.length>2&&arguments[2]!==void 0?arguments[2]:this.props.max,W=parseFloat(b);return isNaN(W)?b:(W<j&&(W=j),W>X&&(W=X),W)}},{key:"setValue",value:function(b,j){var X=this.props.precision,W=this.isNotCompleteNumber(parseFloat(b))?null:parseFloat(b),pe=this.state.value,g=pe===void 0?null:pe,d=this.state.inputValue,k=d===void 0?null:d,$=typeof W=="number"?W.toFixed(X):"".concat(W),q=W!==g||$!=="".concat(k);return"value"in this.props?(k=this.toPrecisionAsStep(this.state.value),this.setState({inputValue:k},j)):this.setState({value:W,inputValue:this.toPrecisionAsStep(b)},j),q&&this.props.onChange(W),W}},{key:"getMaxPrecision",value:function(b){var j=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1,X=this.props,W=X.precision,pe=X.step;if(he(W))return W;var g=this.getPrecision(j),d=this.getPrecision(pe),k=this.getPrecision(b);return b?Math.max(k,g+d):g+d}},{key:"getPrecisionFactor",value:function(b){var j=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1,X=this.getMaxPrecision(b,j);return Math.pow(10,X)}},{key:"focus",value:function(){this.input.focus(),this.recordCursorPosition()}},{key:"blur",value:function(){this.input.blur()}},{key:"select",value:function(){this.input.select()}},{key:"formatWrapper",value:function(b){return this.props.formatter?this.props.formatter(b):b}},{key:"toPrecisionAsStep",value:function(b){if(this.isNotCompleteNumber(b)||b==="")return b;var j=Math.abs(this.getMaxPrecision(b));return isNaN(j)?b.toString():Number(b).toFixed(j)}},{key:"toNumber",value:function(b){var j=this.props.precision,X=this.state.focused,W=b&&b.length>16&&X;return this.isNotCompleteNumber(b)||W?b:he(j)?Math.round(b*Math.pow(10,j))/Math.pow(10,j):Number(b)}},{key:"upStep",value:function(b,j){var X=this.props.step,W=this.getPrecisionFactor(b,j),pe=Math.abs(this.getMaxPrecision(b,j)),g=((W*b+W*X*j)/W).toFixed(pe);return this.toNumber(g)}},{key:"downStep",value:function(b,j){var X=this.props.step,W=this.getPrecisionFactor(b,j),pe=Math.abs(this.getMaxPrecision(b,j)),g=((W*b-W*X*j)/W).toFixed(pe);return this.toNumber(g)}},{key:"step",value:function(b,j){var X=this,W=arguments.length>2&&arguments[2]!==void 0?arguments[2]:1,pe=arguments.length>3?arguments[3]:void 0;this.stop(),j&&(j.persist(),j.preventDefault());var g=this.props;if(g.disabled)return;var d=this.getCurrentValidValue(this.state.inputValue)||0;if(this.isNotCompleteNumber(d))return;var k=this["".concat(b,"Step")](d,W),$=k>g.max||k<g.min;if(k>g.max?k=g.max:k<g.min&&(k=g.min),this.setValue(k,null),this.setState({focused:!0},function(){X.pressingUpOrDown=!1}),$)return;this.autoStepTimer=setTimeout(function(){X[b](j,W,!0)},pe?ge:ye)}},{key:"fixCaret",value:function(b,j){if(b===void 0||j===void 0||!this.input||!this.input.value)return;try{var X=this.input.selectionStart,W=this.input.selectionEnd;(b!==X||j!==W)&&this.input.setSelectionRange(b,j)}catch(pe){}}},{key:"render",value:function(){var b,j=this.props,X=j.prefixCls,W=j.disabled,pe=j.readOnly,g=j.useTouch,d=j.autoComplete,k=j.upHandler,$=j.downHandler,q=j.className,Se=j.max,Be=j.min,ve=j.style,Ie=j.title,oe=j.onMouseEnter,be=j.onMouseLeave,U=j.onMouseOver,G=j.onMouseOut,Te=j.required,Fe=j.onClick,ze=j.tabIndex,Pe=j.type,je=j.placeholder,le=j.id,xe=j.inputMode,De=j.pattern,We=j.step,Qe=j.maxLength,Ce=j.autoFocus,ke=j.name,qe=j.onPaste,Ve=j.onInput,Ze=Object(T.a)(j,["prefixCls","disabled","readOnly","useTouch","autoComplete","upHandler","downHandler","className","max","min","style","title","onMouseEnter","onMouseLeave","onMouseOver","onMouseOut","required","onClick","tabIndex","type","placeholder","id","inputMode","pattern","step","maxLength","autoFocus","name","onPaste","onInput"]),Ke=this.state,it=Ke.value,$e=Ke.focused,Ye=N()(X,(b={},Object(Ae.a)(b,q,!!q),Object(Ae.a)(b,"".concat(X,"-disabled"),W),Object(Ae.a)(b,"".concat(X,"-focused"),$e),b)),de={};Object.keys(Ze).forEach(function(v){(v.substr(0,5)==="data-"||v.substr(0,5)==="aria-"||v==="role")&&(de[v]=Ze[v])});var rt=!pe&&!W,Ge=this.getInputDisplayValue(null),fe=(it||it===0)&&(isNaN(it)||Number(it)>=Se),Le=(it||it===0)&&(isNaN(it)||Number(it)<=Be),A=fe||W||pe,x=Le||W||pe,w=N()("".concat(X,"-handler"),"".concat(X,"-handler-up"),Object(Ae.a)({},"".concat(X,"-handler-up-disabled"),A)),f=N()("".concat(X,"-handler"),"".concat(X,"-handler-down"),Object(Ae.a)({},"".concat(X,"-handler-down-disabled"),x)),h=g?{onTouchStart:A?D:this.up,onTouchEnd:this.stop}:{onMouseDown:A?D:this.up,onMouseUp:this.stop,onMouseLeave:this.stop},p=g?{onTouchStart:x?D:this.down,onTouchEnd:this.stop}:{onMouseDown:x?D:this.down,onMouseUp:this.stop,onMouseLeave:this.stop};return E.a.createElement("div",{className:Ye,style:ve,title:Ie,onMouseEnter:oe,onMouseLeave:be,onMouseOver:U,onMouseOut:G,onFocus:function(){return null},onBlur:function(){return null}},E.a.createElement("div",{className:"".concat(X,"-handler-wrap")},E.a.createElement("span",Object.assign({unselectable:"on"},h,{role:"button","aria-label":"Increase Value","aria-disabled":A,className:w}),k||E.a.createElement("span",{unselectable:"on",className:"".concat(X,"-handler-up-inner"),onClick:H})),E.a.createElement("span",Object.assign({unselectable:"on"},p,{role:"button","aria-label":"Decrease Value","aria-disabled":x,className:f}),$||E.a.createElement("span",{unselectable:"on",className:"".concat(X,"-handler-down-inner"),onClick:H}))),E.a.createElement("div",{className:"".concat(X,"-input-wrap")},E.a.createElement("input",Object.assign({role:"spinbutton","aria-valuemin":Be,"aria-valuemax":Se,"aria-valuenow":it,required:Te,type:Pe,placeholder:je,onPaste:qe,onClick:Fe,onMouseUp:this.onMouseUp,className:"".concat(X,"-input"),tabIndex:ze,autoComplete:d,onFocus:this.onFocus,onBlur:this.onBlur,onKeyDown:rt?this.onKeyDown:D,onKeyUp:rt?this.onKeyUp:D,autoFocus:Ce,maxLength:Qe,readOnly:pe,disabled:W,max:Se,min:Be,step:We,name:ke,title:Ie,id:le,onChange:this.onChange,ref:this.saveInput,value:this.getFullNum(Ge),pattern:De,inputMode:xe,onInput:Ve},de))))}}]),_}(E.a.Component);re.defaultProps={focusOnUpDown:!0,useTouch:!1,prefixCls:"rc-input-number",max:Y,min:-Y,step:1,style:{},onChange:D,onKeyDown:D,onPressEnter:D,onFocus:D,onBlur:D,parser:Q,required:!1,autoComplete:"off"};var te=re,Z=ne.a=te},ji0R:function(me,ne,u){me.exports=u.p+"static/douyu.3e6df9ee.jpg"},kPWJ:function(me,ne,u){me.exports=u.p+"static/question.cb52bef9.gif"},kPYp:function(me,ne){me.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAF8AAAAUCAYAAADr0+FaAAANEklEQVRYR8WZe5RX1XXHP/vce3/zHoaXgFp5DQyOQLRgUTEtDW1qYyVmZUGNklRdiRpKE3lHfPyc4TngIBgfC0wx1ixt1NRWal2kotbE2lbRiCIISBCGhzDAvGd+87v37K5z5zfDzMCM46pr9fw1a+45+5zz3fvs/d3fn4yr1F8Do0UIUb74UFR8Gm3IO/Wf8MThat7mOYnaDZUmNUF/htpWLlePK4xwCcoQICHQbOGoKDuM4U1p5r0Px1DNrDPrezzQs+qNPUh/o4xXj6tRJhlhGEqeQNrCCYXdGvGf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u("8EBN"))})(function(T){"use strict";T.defineMode("markdown",function(Ae,J){var ce=T.getMode(Ae,"text/html"),se=ce.name=="null";function ee(g){if(T.findModeByName){var d=T.findModeByName(g);d&&(g=d.mime||d.mimes[0])}var k=T.getMode(Ae,g);return k.name=="null"?null:k}J.highlightFormatting===void 0&&(J.highlightFormatting=!1),J.maxBlockquoteDepth===void 0&&(J.maxBlockquoteDepth=0),J.taskLists===void 0&&(J.taskLists=!1),J.strikethrough===void 0&&(J.strikethrough=!1),J.emoji===void 0&&(J.emoji=!1),J.fencedCodeBlockHighlighting===void 0&&(J.fencedCodeBlockHighlighting=!0),J.fencedCodeBlockDefaultMode===void 0&&(J.fencedCodeBlockDefaultMode="text/plain"),J.xml===void 0&&(J.xml=!0),J.tokenTypeOverrides===void 0&&(J.tokenTypeOverrides={});var M={header:"header",code:"comment",quote:"quote",list1:"variable-2",list2:"variable-3",list3:"keyword",hr:"hr",image:"image",imageAltText:"image-alt-text",imageMarker:"image-marker",formatting:"formatting",linkInline:"link",linkEmail:"link",linkText:"link",linkHref:"string",em:"em",strong:"strong",strikethrough:"strikethrough",emoji:"builtin"};for(var S in M)M.hasOwnProperty(S)&&J.tokenTypeOverrides[S]&&(M[S]=J.tokenTypeOverrides[S]);var E=/^([*\-_])(?:\s*\1){2,}\s*$/,ie=/^(?:[*\-+]|^[0-9]+([.)]))\s+/,N=/^\[(x| )\](?=\s)/i,z=J.allowAtxHeaderWithoutSpace?/^(#+)/:/^(#+)(?: |$)/,ae=/^ {0,3}(?:\={1,}|-{2,})\s*$/,K=/^[^#!\[\]*_\\<>` "'(~:]+/,I=/^(~~~+|```+)[ \t]*([\w\/+#-]*)[^\n`]*$/,R=/^\s*\[[^\]]+?\]:.*$/,D=/[!"#$%&'()*+,\-.\/:;<=>?@\[\\\]^_`{|}~\xA1\xA7\xAB\xB6\xB7\xBB\xBF\u037E\u0387\u055A-\u055F\u0589\u058A\u05BE\u05C0\u05C3\u05C6\u05F3\u05F4\u0609\u060A\u060C\u060D\u061B\u061E\u061F\u066A-\u066D\u06D4\u0700-\u070D\u07F7-\u07F9\u0830-\u083E\u085E\u0964\u0965\u0970\u0AF0\u0DF4\u0E4F\u0E5A\u0E5B\u0F04-\u0F12\u0F14\u0F3A-\u0F3D\u0F85\u0FD0-\u0FD4\u0FD9\u0FDA\u104A-\u104F\u10FB\u1360-\u1368\u1400\u166D\u166E\u169B\u169C\u16EB-\u16ED\u1735\u1736\u17D4-\u17D6\u17D8-\u17DA\u1800-\u180A\u1944\u1945\u1A1E\u1A1F\u1AA0-\u1AA6\u1AA8-\u1AAD\u1B5A-\u1B60\u1BFC-\u1BFF\u1C3B-\u1C3F\u1C7E\u1C7F\u1CC0-\u1CC7\u1CD3\u2010-\u2027\u2030-\u2043\u2045-\u2051\u2053-\u205E\u207D\u207E\u208D\u208E\u2308-\u230B\u2329\u232A\u2768-\u2775\u27C5\u27C6\u27E6-\u27EF\u2983-\u2998\u29D8-\u29DB\u29FC\u29FD\u2CF9-\u2CFC\u2CFE\u2CFF\u2D70\u2E00-\u2E2E\u2E30-\u2E42\u3001-\u3003\u3008-\u3011\u3014-\u301F\u3030\u303D\u30A0\u30FB\uA4FE\uA4FF\uA60D-\uA60F\uA673\uA67E\uA6F2-\uA6F7\uA874-\uA877\uA8CE\uA8CF\uA8F8-\uA8FA\uA8FC\uA92E\uA92F\uA95F\uA9C1-\uA9CD\uA9DE\uA9DF\uAA5C-\uAA5F\uAADE\uAADF\uAAF0\uAAF1\uABEB\uFD3E\uFD3F\uFE10-\uFE19\uFE30-\uFE52\uFE54-\uFE61\uFE63\uFE68\uFE6A\uFE6B\uFF01-\uFF03\uFF05-\uFF0A\uFF0C-\uFF0F\uFF1A\uFF1B\uFF1F\uFF20\uFF3B-\uFF3D\uFF3F\uFF5B\uFF5D\uFF5F-\uFF65]|\uD800[\uDD00-\uDD02\uDF9F\uDFD0]|\uD801\uDD6F|\uD802[\uDC57\uDD1F\uDD3F\uDE50-\uDE58\uDE7F\uDEF0-\uDEF6\uDF39-\uDF3F\uDF99-\uDF9C]|\uD804[\uDC47-\uDC4D\uDCBB\uDCBC\uDCBE-\uDCC1\uDD40-\uDD43\uDD74\uDD75\uDDC5-\uDDC9\uDDCD\uDDDB\uDDDD-\uDDDF\uDE38-\uDE3D\uDEA9]|\uD805[\uDCC6\uDDC1-\uDDD7\uDE41-\uDE43\uDF3C-\uDF3E]|\uD809[\uDC70-\uDC74]|\uD81A[\uDE6E\uDE6F\uDEF5\uDF37-\uDF3B\uDF44]|\uD82F\uDC9F|\uD836[\uDE87-\uDE8B]/,H=" ";function Q(g,d,k){return d.f=d.inline=k,k(g,d)}function ge(g,d,k){return d.f=d.block=k,k(g,d)}function ye(g){return!g||!/\S/.test(g.string)}function Y(g){if(g.linkTitle=!1,g.linkHref=!1,g.linkText=!1,g.em=!1,g.strong=!1,g.strikethrough=!1,g.quote=0,g.indentedCode=!1,g.f==Re){var d=se;if(!d){var k=T.innerMode(ce,g.htmlState);d=k.mode.name=="xml"&&k.state.tagStart===null&&!k.state.context&&k.state.tokenize.isInText}d&&(g.f=P,g.block=he,g.htmlState=null)}return g.trailingSpace=0,g.trailingSpaceNewLine=!1,g.prevLine=g.thisLine,g.thisLine={stream:null},null}function he(g,d){var k=g.column()===d.indentation,$=ye(d.prevLine.stream),q=d.indentedCode,Se=d.prevLine.hr,Be=d.list!==!1,ve=(d.listStack[d.listStack.length-1]||0)+3;d.indentedCode=!1;var Ie=d.indentation;if(d.indentationDiff===null&&(d.indentationDiff=d.indentation,Be)){for(d.list=null;Ie<d.listStack[d.listStack.length-1];)d.listStack.pop(),d.listStack.length?d.indentation=d.listStack[d.listStack.length-1]:d.list=!1;d.list!==!1&&(d.indentationDiff=Ie-d.listStack[d.listStack.length-1])}var oe=!$&&!Se&&!d.prevLine.header&&(!Be||!q)&&!d.prevLine.fencedCodeEnd,be=(d.list===!1||Se||$)&&d.indentation<=ve&&g.match(E),U=null;if(d.indentationDiff>=4&&(q||d.prevLine.fencedCodeEnd||d.prevLine.header||$))return g.skipToEnd(),d.indentedCode=!0,M.code;if(g.eatSpace())return null;if(k&&d.indentation<=ve&&(U=g.match(z))&&U[1].length<=6)return d.quote=0,d.header=U[1].length,d.thisLine.header=!0,J.highlightFormatting&&(d.formatting="header"),d.f=d.inline,te(d);if(d.indentation<=ve&&g.eat(">"))return d.quote=k?1:d.quote+1,J.highlightFormatting&&(d.formatting="quote"),g.eatSpace(),te(d);if(!be&&!d.setext&&k&&d.indentation<=ve&&(U=g.match(ie))){var G=U[1]?"ol":"ul";return d.indentation=Ie+g.current().length,d.list=!0,d.quote=0,d.listStack.push(d.indentation),d.em=!1,d.strong=!1,d.code=!1,d.strikethrough=!1,J.taskLists&&g.match(N,!1)&&(d.taskList=!0),d.f=d.inline,J.highlightFormatting&&(d.formatting=["list","list-"+G]),te(d)}else{if(k&&d.indentation<=ve&&(U=g.match(I,!0)))return d.quote=0,d.fencedEndRE=new RegExp(U[1]+"+ *$"),d.localMode=J.fencedCodeBlockHighlighting&&ee(U[2]||J.fencedCodeBlockDefaultMode),d.localMode&&(d.localState=T.startState(d.localMode)),d.f=d.block=re,J.highlightFormatting&&(d.formatting="code-block"),d.code=-1,te(d);if(d.setext||(!oe||!Be)&&!d.quote&&d.list===!1&&!d.code&&!be&&!R.test(g.string)&&(U=g.lookAhead(1))&&(U=U.match(ae)))return d.setext?(d.header=d.setext,d.setext=0,g.skipToEnd(),J.highlightFormatting&&(d.formatting="header")):(d.header=U[0].charAt(0)=="="?1:2,d.setext=d.header),d.thisLine.header=!0,d.f=d.inline,te(d);if(be)return g.skipToEnd(),d.hr=!0,d.thisLine.hr=!0,M.hr;if(g.peek()==="[")return Q(g,d,j)}return Q(g,d,d.inline)}function Re(g,d){var k=ce.token(g,d.htmlState);if(!se){var $=T.innerMode(ce,d.htmlState);($.mode.name=="xml"&&$.state.tagStart===null&&!$.state.context&&$.state.tokenize.isInText||d.md_inside&&g.current().indexOf(">")>-1)&&(d.f=P,d.block=he,d.htmlState=null)}return k}function re(g,d){var k=d.listStack[d.listStack.length-1]||0,$=d.indentation<k,q=k+3;if(d.fencedEndRE&&d.indentation<=q&&($||g.match(d.fencedEndRE))){J.highlightFormatting&&(d.formatting="code-block");var Se;return $||(Se=te(d)),d.localMode=d.localState=null,d.block=he,d.f=P,d.fencedEndRE=null,d.code=0,d.thisLine.fencedCodeEnd=!0,$?ge(g,d,d.block):Se}else return d.localMode?d.localMode.token(g,d.localState):(g.skipToEnd(),M.code)}function te(g){var d=[];if(g.formatting){d.push(M.formatting),typeof g.formatting=="string"&&(g.formatting=[g.formatting]);for(var k=0;k<g.formatting.length;k++)d.push(M.formatting+"-"+g.formatting[k]),g.formatting[k]==="header"&&d.push(M.formatting+"-"+g.formatting[k]+"-"+g.header),g.formatting[k]==="quote"&&(!J.maxBlockquoteDepth||J.maxBlockquoteDepth>=g.quote?d.push(M.formatting+"-"+g.formatting[k]+"-"+g.quote):d.push("error"))}if(g.taskOpen)return d.push("meta"),d.length?d.join(" "):null;if(g.taskClosed)return d.push("property"),d.length?d.join(" "):null;if(g.linkHref?d.push(M.linkHref,"url"):(g.strong&&d.push(M.strong),g.em&&d.push(M.em),g.strikethrough&&d.push(M.strikethrough),g.emoji&&d.push(M.emoji),g.linkText&&d.push(M.linkText),g.code&&d.push(M.code),g.image&&d.push(M.image),g.imageAltText&&d.push(M.imageAltText,"link"),g.imageMarker&&d.push(M.imageMarker)),g.header&&d.push(M.header,M.header+"-"+g.header),g.quote&&(d.push(M.quote),!J.maxBlockquoteDepth||J.maxBlockquoteDepth>=g.quote?d.push(M.quote+"-"+g.quote):d.push(M.quote+"-"+J.maxBlockquoteDepth)),g.list!==!1){var $=(g.listStack.length-1)%3;$?$===1?d.push(M.list2):d.push(M.list3):d.push(M.list1)}return g.trailingSpaceNewLine?d.push("trailing-space-new-line"):g.trailingSpace&&d.push("trailing-space-"+(g.trailingSpace%2?"a":"b")),d.length?d.join(" "):null}function Z(g,d){return g.match(K,!0)?te(d):void 0}function P(g,d){var k=d.text(g,d);if(typeof k!="undefined")return k;if(d.list)return d.list=null,te(d);if(d.taskList){var $=g.match(N,!0)[1]===" ";return $?d.taskOpen=!0:d.taskClosed=!0,J.highlightFormatting&&(d.formatting="task"),d.taskList=!1,te(d)}if(d.taskOpen=!1,d.taskClosed=!1,d.header&&g.match(/^#+$/,!0))return J.highlightFormatting&&(d.formatting="header"),te(d);var q=g.next();if(d.linkTitle){d.linkTitle=!1;var Se=q;q==="("&&(Se=")"),Se=(Se+"").replace(/([.?*+^\[\]\\(){}|-])/g,"\\$1");var Be="^\\s*(?:[^"+Se+"\\\\]+|\\\\\\\\|\\\\.)"+Se;if(g.match(new RegExp(Be),!0))return M.linkHref}if(q==="`"){var ve=d.formatting;J.highlightFormatting&&(d.formatting="code"),g.eatWhile("`");var Ie=g.current().length;if(d.code==0&&(!d.quote||Ie==1))return d.code=Ie,te(d);if(Ie==d.code){var oe=te(d);return d.code=0,oe}else return d.formatting=ve,te(d)}else if(d.code)return te(d);if(q==="\\"&&(g.next(),J.highlightFormatting)){var be=te(d),U=M.formatting+"-escape";return be?be+" "+U:U}if(q==="!"&&g.match(/\[[^\]]*\] ?(?:\(|\[)/,!1))return d.imageMarker=!0,d.image=!0,J.highlightFormatting&&(d.formatting="image"),te(d);if(q==="["&&d.imageMarker&&g.match(/[^\]]*\](\(.*?\)| ?\[.*?\])/,!1))return d.imageMarker=!1,d.imageAltText=!0,J.highlightFormatting&&(d.formatting="image"),te(d);if(q==="]"&&d.imageAltText){J.highlightFormatting&&(d.formatting="image");var be=te(d);return d.imageAltText=!1,d.image=!1,d.inline=d.f=_,be}if(q==="["&&!d.image)return d.linkText&&g.match(/^.*?\]/)||(d.linkText=!0,J.highlightFormatting&&(d.formatting="link")),te(d);if(q==="]"&&d.linkText){J.highlightFormatting&&(d.formatting="link");var be=te(d);return d.linkText=!1,d.inline=d.f=g.match(/\(.*?\)| ?\[.*?\]/,!1)?_:P,be}if(q==="<"&&g.match(/^(https?|ftps?):\/\/(?:[^\\>]|\\.)+>/,!1)){d.f=d.inline=m,J.highlightFormatting&&(d.formatting="link");var be=te(d);return be?be+=" ":be="",be+M.linkInline}if(q==="<"&&g.match(/^[^> \\]+@(?:[^\\>]|\\.)+>/,!1)){d.f=d.inline=m,J.highlightFormatting&&(d.formatting="link");var be=te(d);return be?be+=" ":be="",be+M.linkEmail}if(J.xml&&q==="<"&&g.match(/^(!--|\?|!\[CDATA\[|[a-z][a-z0-9-]*(?:\s+[a-z_:.\-]+(?:\s*=\s*[^>]+)?)*\s*(?:>|$))/i,!1)){var G=g.string.indexOf(">",g.pos);if(G!=-1){var Te=g.string.substring(g.start,G);/markdown\s*=\s*('|"){0,1}1('|"){0,1}/.test(Te)&&(d.md_inside=!0)}return g.backUp(1),d.htmlState=T.startState(ce),ge(g,d,Re)}if(J.xml&&q==="<"&&g.match(/^\/\w*?>/))return d.md_inside=!1,"tag";if(q==="*"||q==="_"){for(var Fe=1,ze=g.pos==1?" ":g.string.charAt(g.pos-2);Fe<3&&g.eat(q);)Fe++;var Pe=g.peek()||" ",je=!/\s/.test(Pe)&&(!D.test(Pe)||/\s/.test(ze)||D.test(ze)),le=!/\s/.test(ze)&&(!D.test(ze)||/\s/.test(Pe)||D.test(Pe)),xe=null,De=null;if(Fe%2&&(!d.em&&je&&(q==="*"||!le||D.test(ze))?xe=!0:d.em==q&&le&&(q==="*"||!je||D.test(Pe))&&(xe=!1)),Fe>1&&(!d.strong&&je&&(q==="*"||!le||D.test(ze))?De=!0:d.strong==q&&le&&(q==="*"||!je||D.test(Pe))&&(De=!1)),De!=null||xe!=null){J.highlightFormatting&&(d.formatting=xe==null?"strong":De==null?"em":"strong em"),xe===!0&&(d.em=q),De===!0&&(d.strong=q);var oe=te(d);return xe===!1&&(d.em=!1),De===!1&&(d.strong=!1),oe}}else if(q===" "&&(g.eat("*")||g.eat("_"))){if(g.peek()===" ")return te(d);g.backUp(1)}if(J.strikethrough){if(q==="~"&&g.eatWhile(q)){if(d.strikethrough){J.highlightFormatting&&(d.formatting="strikethrough");var oe=te(d);return d.strikethrough=!1,oe}else if(g.match(/^[^\s]/,!1))return d.strikethrough=!0,J.highlightFormatting&&(d.formatting="strikethrough"),te(d)}else if(q===" "&&g.match(/^~~/,!0)){if(g.peek()===" ")return te(d);g.backUp(2)}}if(J.emoji&&q===":"&&g.match(/^(?:[a-z_\d+][a-z_\d+-]*|\-[a-z_\d+][a-z_\d+-]*):/)){d.emoji=!0,J.highlightFormatting&&(d.formatting="emoji");var We=te(d);return d.emoji=!1,We}return q===" "&&(g.match(/^ +$/,!1)?d.trailingSpace++:d.trailingSpace&&(d.trailingSpaceNewLine=!0)),te(d)}function m(g,d){var k=g.next();if(k===">"){d.f=d.inline=P,J.highlightFormatting&&(d.formatting="link");var $=te(d);return $?$+=" ":$="",$+M.linkInline}return g.match(/^[^>]+/,!0),M.linkInline}function _(g,d){if(g.eatSpace())return null;var k=g.next();return k==="("||k==="["?(d.f=d.inline=b(k==="("?")":"]"),J.highlightFormatting&&(d.formatting="link-string"),d.linkHref=!0,te(d)):"error"}var O={")":/^(?:[^\\\(\)]|\\.|\((?:[^\\\(\)]|\\.)*\))*?(?=\))/,"]":/^(?:[^\\\[\]]|\\.|\[(?:[^\\\[\]]|\\.)*\])*?(?=\])/};function b(g){return function(d,k){var $=d.next();if($===g){k.f=k.inline=P,J.highlightFormatting&&(k.formatting="link-string");var q=te(k);return k.linkHref=!1,q}return d.match(O[g]),k.linkHref=!0,te(k)}}function j(g,d){return g.match(/^([^\]\\]|\\.)*\]:/,!1)?(d.f=X,g.next(),J.highlightFormatting&&(d.formatting="link"),d.linkText=!0,te(d)):Q(g,d,P)}function X(g,d){if(g.match(/^\]:/,!0)){d.f=d.inline=W,J.highlightFormatting&&(d.formatting="link");var k=te(d);return d.linkText=!1,k}return g.match(/^([^\]\\]|\\.)+/,!0),M.linkText}function W(g,d){return g.eatSpace()?null:(g.match(/^[^\s]+/,!0),g.peek()===void 0?d.linkTitle=!0:g.match(/^(?:\s+(?:"(?:[^"\\]|\\\\|\\.)+"|'(?:[^'\\]|\\\\|\\.)+'|\((?:[^)\\]|\\\\|\\.)+\)))?/,!0),d.f=d.inline=P,M.linkHref+" url")}var pe={startState:function(){return{f:he,prevLine:{stream:null},thisLine:{stream:null},block:he,htmlState:null,indentation:0,inline:P,text:Z,formatting:!1,linkText:!1,linkHref:!1,linkTitle:!1,code:0,em:!1,strong:!1,header:0,setext:0,hr:!1,taskList:!1,list:!1,listStack:[],quote:0,trailingSpace:0,trailingSpaceNewLine:!1,strikethrough:!1,emoji:!1,fencedEndRE:null}},copyState:function(g){return{f:g.f,prevLine:g.prevLine,thisLine:g.thisLine,block:g.block,htmlState:g.htmlState&&T.copyState(ce,g.htmlState),indentation:g.indentation,localMode:g.localMode,localState:g.localMode?T.copyState(g.localMode,g.localState):null,inline:g.inline,text:g.text,formatting:!1,linkText:g.linkText,linkTitle:g.linkTitle,linkHref:g.linkHref,code:g.code,em:g.em,strong:g.strong,strikethrough:g.strikethrough,emoji:g.emoji,header:g.header,setext:g.setext,hr:g.hr,taskList:g.taskList,list:g.list,listStack:g.listStack.slice(0),quote:g.quote,indentedCode:g.indentedCode,trailingSpace:g.trailingSpace,trailingSpaceNewLine:g.trailingSpaceNewLine,md_inside:g.md_inside,fencedEndRE:g.fencedEndRE}},token:function(g,d){if(d.formatting=!1,g!=d.thisLine.stream){if(d.header=0,d.hr=!1,g.match(/^\s*$/,!0))return Y(d),null;if(d.prevLine=d.thisLine,d.thisLine={stream:g},d.taskList=!1,d.trailingSpace=0,d.trailingSpaceNewLine=!1,!d.localState&&(d.f=d.block,d.f!=Re)){var k=g.match(/^\s*/,!0)[0].replace(/\t/g,H).length;if(d.indentation=k,d.indentationDiff=null,k>0)return null}}return d.f(g,d)},innerMode:function(g){return g.block==Re?{state:g.htmlState,mode:ce}:g.localState?{state:g.localState,mode:g.localMode}:{state:g,mode:pe}},indent:function(g,d,k){return g.block==Re&&ce.indent?ce.indent(g.htmlState,d,k):g.localState&&g.localMode.indent?g.localMode.indent(g.localState,d,k):T.Pass},blankLine:Y,getType:te,blockCommentStart:"<!--",blockCommentEnd:"-->",closeBrackets:"()[]{}''\"\"``",fold:"markdown"};return pe},"xml"),T.defineMIME("text/markdown","markdown"),T.defineMIME("text/x-markdown","markdown")})},lzim:function(me,ne,u){"use strict";var T=u("E7E6"),Ae=u.n(T);u.d(ne,"B",function(){return Ae.a});var J=u("/GNS"),ce=u.n(J);u.d(ne,"A",function(){return ce.a});var se=u("FOrL"),ee=u.n(se);u.d(ne,"u",function(){return ee.a});var M=u("HpTS"),S=u.n(M);u.d(ne,"C",function(){return S.a});var E=u("tWlo"),ie=u.n(E);u.d(ne,"b",function(){return ie.a});var N=u("7ZXX"),z=u.n(N);u.d(ne,"n",function(){return z.a});var ae=u("GABl"),K=u.n(ae);u.d(ne,"g",function(){return K.a});var I=u("onxn"),R=u.n(I);u.d(ne,"p",function(){return R.a});var D=u("nKGa"),H=u.n(D);u.d(ne,"o",function(){return H.a});var Q=u("4qgm"),ge=u.n(Q);u.d(ne,"E",function(){return ge.a});var ye=u("JeFH"),Y=u.n(ye);u.d(ne,"c",function(){return Y.a});var he=u("ji0R"),Re=u.n(he);u.d(ne,"k",function(){return Re.a});var re=u("W6BS"),te=u.n(re);u.d(ne,"F",function(){return te.a});var Z=u("kPYp"),P=u.n(Z);u.d(ne,"G",function(){return P.a});var m=u("nukY"),_=u.n(m),O=u("4u4S"),b=u.n(O),j=u("yslc"),X=u.n(j),W=u("l2Kq"),pe=u.n(W);u.d(ne,"t",function(){return pe.a});var g=u("RMFE"),d=u.n(g);u.d(ne,"q",function(){return d.a});var k=u("TGq3"),$=u.n(k);u.d(ne,"r",function(){return $.a});var q=u("SMhR"),Se=u.n(q);u.d(ne,"D",function(){return Se.a});var Be=u("8/bI"),ve=u.n(Be);u.d(ne,"l",function(){return ve.a});var Ie=u("JWDV"),oe=u.n(Ie);u.d(ne,"e",function(){return oe.a});var be=u("Xsq0"),U=u.n(be);u.d(ne,"s",function(){return U.a});var G=u("Ohmc"),Te=u.n(G);u.d(ne,"d",function(){return Te.a});var Fe=u("csWT"),ze=u.n(Fe);u.d(ne,"f",function(){return ze.a});var Pe=u("7v3h"),je=u.n(Pe);u.d(ne,"m",function(){return je.a});var le=u("cRFk"),xe=u.n(le);u.d(ne,"z",function(){return xe.a});var De=u("kPWJ"),We=u.n(De);u.d(ne,"y",function(){return We.a});var Qe=u("qgvg"),Ce=u.n(Qe);u.d(ne,"v",function(){return Ce.a});var ke=u("FPkq"),qe=u.n(ke);u.d(ne,"x",function(){return qe.a});var Ve=u("A/g1"),Ze=u.n(Ve);u.d(ne,"h",function(){return Ze.a});var Ke=u("Nmxd"),it=u.n(Ke);u.d(ne,"i",function(){return it.a});var $e=u("5D2P"),Ye=u.n($e);u.d(ne,"j",function(){return Ye.a});var de=u("djh8"),rt=u.n(de);u.d(ne,"w",function(){return rt.a});var Ge=u("Jq4h"),fe=u.n(Ge);u.d(ne,"a",function(){return fe.a})},nKGa:function(me,ne,u){me.exports=u.p+"static/export_exercise-template.f7655c19.png"},nZ20:function(me,ne,u){me.exports={icons:"icons___3O80F"}},nukY:function(me,ne){me.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAALoAAABSCAYAAADjGc4eAAAMkklEQVR4Xu2dWWwcSRnHv7Yd577v+74vkgWEQCAEy6IVWuCB62GVICFIYkcsvMC+LW8LL7BIiTiEhCweInjgPrRCC2KBJTBVYzm24yRO4ty3kziJj9ie+tC/d9oaT2b67ume7irJsjdbVf19X/266quvjjaEEG8w8yukk7ZAii1gMHODEOK3RPRSivXUqmXcAgb07+jomDk2NvYPZn4u4/bQ6qfUAiboSEKI5cz8XyJanVJdtVoZtsAE6EXYdzPzv4hoToZtolVPoQUmgV6E/QVm/hMRNaVQX61SRi3wDOiwg5Tya0qpn2TUJlrtFFqgIujFnv27zPztFOqsVcqgBaqCzsyGlPJXzPy5DNpFq5wyC1QFHXr29fVN6+/v/zszfyBlemt1MmYBW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rRNFnBG8RRxza2utYf3syDjWVoIjV30Z8kzc7aR6579BgYRl30tvXLH7rPLn+7h8bjlZ5mFP9MDt8EMxD13lt4lpb2ZQc0qegnTeyyKOv2QE5FO3OSgzvFjjporyX6qKNwdMU/6UxpWTfmsuOFCrtZT8WKMKqyJkdbfSPpn5nql4XamMamN5GB0TvUK4KE6HbTqS5ma+eahgtO2ZY9fx2TlKtVziZp3Zl/FigUiZ3wOIYWZ/52pLR35oOU6oPtuw+dNdl6QfsAHmYlMZcEpiXsak6tnQY70bWubrUepjkNJTKTbGv8s8SSlOaD5Z0LwhL4XWmQvSa42rWrgf7+Fn7byVVV5KX6mLbTWcKueEa6etz+M+OphwqlZtmnSUME1bjJyb6vOmm8tc3PvrCeMIJZTLt5zBb1i59tUxuvDeRm+14RscbD1IB9Uo6ZnHRfp2XsX4489Ujy8eT08YTAjSg6Plf333p9HDLpzPlpnEvg4kYH83TrZrxcugy7IkU4SnrdszlW6AS5iOzndzu2FAbexmKY2RCgDR5zVsfrFm2YSrc92cqveNe2xMF9pk4HZvFMmQwflxrqMZFXKub49R1+ZtOne5hJaZpwoAG1GpXjhf/YXuxTK37pyLFPZSGErM7JleYCPVGRN7kreaXsp45OnY7aAwN3xvQcH1b1y65VabMwzMU5zQ79bMKmLHLm2GCEXC0jUkVRSLUF6hdW62c8n7WyzXHfsianBVAg16rqGCOerYt+E4tuOIbviR3suK+cBp1Zdpp0GRVRfZl4/XHD7AzTpnYSFWB0vHlzS2TDiz/cPn4vx2YAML/AxiD3K8wfl5pAAAAAElFTkSuQmCC"},osHv:function(me,ne,u){(function(T){T(u("VrN/"))})(function(T){"use strict";var Ae=T.Pos;function J(D,H){return D.line-H.line||D.ch-H.ch}var ce="A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD",se=ce+"-:.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040",ee=new RegExp("<(/?)(["+ce+"]["+se+"]*)","g");function M(D,H,Q,ge){this.line=H,this.ch=Q,this.cm=D,this.text=D.getLine(H),this.min=ge?Math.max(ge.from,D.firstLine()):D.firstLine(),this.max=ge?Math.min(ge.to-1,D.lastLine()):D.lastLine()}function S(D,H){var Q=D.cm.getTokenTypeAt(Ae(D.line,H));return Q&&/\btag\b/.test(Q)}function E(D){return D.line>=D.max?void 0:(D.ch=0,D.text=D.cm.getLine(++D.line),!0)}function ie(D){return D.line<=D.min?void 0:(D.text=D.cm.getLine(--D.line),D.ch=D.text.length,!0)}function N(D){for(;;){var H=D.text.indexOf(">",D.ch);if(H==-1){if(E(D))continue;return}if(!S(D,H+1)){D.ch=H+1;continue}var Q=D.text.lastIndexOf("/",H),ge=Q>-1&&!/\S/.test(D.text.slice(Q+1,H));return D.ch=H+1,ge?"selfClose":"regular"}}function z(D){for(;;){var H=D.ch?D.text.lastIndexOf("<",D.ch-1):-1;if(H==-1){if(ie(D))continue;return}if(!S(D,H+1)){D.ch=H;continue}ee.lastIndex=H,D.ch=H;var Q=ee.exec(D.text);if(Q&&Q.index==H)return Q}}function ae(D){for(;;){ee.lastIndex=D.ch;var H=ee.exec(D.text);if(!H){if(E(D))continue;return}if(!S(D,H.index+1)){D.ch=H.index+1;continue}return D.ch=H.index+H[0].length,H}}function K(D){for(;;){var H=D.ch?D.text.lastIndexOf(">",D.ch-1):-1;if(H==-1){if(ie(D))continue;return}if(!S(D,H+1)){D.ch=H;continue}var Q=D.text.lastIndexOf("/",H),ge=Q>-1&&!/\S/.test(D.text.slice(Q+1,H));return D.ch=H+1,ge?"selfClose":"regular"}}function I(D,H){for(var Q=[];;){var ge=ae(D),ye,Y=D.line,he=D.ch-(ge?ge[0].length:0);if(!ge||!(ye=N(D)))return;if(ye=="selfClose")continue;if(ge[1]){for(var Re=Q.length-1;Re>=0;--Re)if(Q[Re]==ge[2]){Q.length=Re;break}if(Re<0&&(!H||H==ge[2]))return{tag:ge[2],from:Ae(Y,he),to:Ae(D.line,D.ch)}}else Q.push(ge[2])}}function R(D,H){for(var Q=[];;){var ge=K(D);if(!ge)return;if(ge=="selfClose"){z(D);continue}var ye=D.line,Y=D.ch,he=z(D);if(!he)return;if(he[1])Q.push(he[2]);else{for(var Re=Q.length-1;Re>=0;--Re)if(Q[Re]==he[2]){Q.length=Re;break}if(Re<0&&(!H||H==he[2]))return{tag:he[2],from:Ae(D.line,D.ch),to:Ae(ye,Y)}}}}T.registerHelper("fold","xml",function(D,H){for(var Q=new M(D,H.line,0);;){var ge=ae(Q);if(!ge||Q.line!=H.line)return;var ye=N(Q);if(!ye)return;if(!ge[1]&&ye!="selfClose"){var Y=Ae(Q.line,Q.ch),he=I(Q,ge[2]);return he&&J(he.from,Y)>0?{from:Y,to:he.from}:null}}}),T.findMatchingTag=function(D,H,Q){var ge=new M(D,H.line,H.ch,Q);if(ge.text.indexOf(">")==-1&&ge.text.indexOf("<")==-1)return;var ye=N(ge),Y=ye&&Ae(ge.line,ge.ch),he=ye&&z(ge);if(!ye||!he||J(ge,H)>0)return;var Re={from:Ae(ge.line,ge.ch),to:Y,tag:he[2]};return ye=="selfClose"?{open:Re,close:null,at:"open"}:he[1]?{open:R(ge,he[2]),close:Re,at:"close"}:(ge=new M(D,Y.line,Y.ch,Q),{open:Re,close:I(ge,he[2]),at:"open"})},T.findEnclosingTag=function(D,H,Q,ge){for(var ye=new M(D,H.line,H.ch,Q);;){var Y=R(ye,ge);if(!Y)break;var he=new M(D,H.line,H.ch,Q),Re=I(he,Y.tag);if(Re)return{open:Y,close:Re}}},T.scanForClosingTag=function(D,H,Q,ge){var ye=new M(D,H.line,H.ch,ge?{from:0,to:ge}:null);return I(ye,Q)}})},p5ED:function(me,ne,u){"use strict";var T=u("+L6B"),Ae=u("2/Rp"),J=u("5Dmo"),ce=u("3S7+"),se=u("k1fw"),ee=u("tJVT"),M=u("cDcd"),S=u.n(M),E=u("vHTk"),ie=u.n(E),N=u("yEEn"),z=u("ZW9T"),ae=u("1vsH");ne.a=function(K){var I=K.name,R=K.data,D=K.theme,H=K.type,Q=K.filename,ge=K.monacoEditor,ye=K.className,Y=K.style,he=K.close,Re=K.onClose,re=K.hasMask,te=Object(M.useState)("https://view.officeapps.live.com/op/view.aspx?src=http://testgs.educoder.net//rails/active_storage/blobs/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaHBCZz09IiwiZXhwIjpudWxsLCJwdXIiOiJibG9iX2lkIn19--03541f6234b93d7ac3b2d84e7eb0e6594a952945/1.ppt"),Z=Object(ee.a)(te,2),P=Z[0],m=Z[1],_=Object(M.useState)(""),O=Object(ee.a)(_,2),b=O[0],j=O[1],X=Object(M.useRef)();Q&&(ge.filename=Q),Object(M.useEffect)(function(){var g,d,k=(g=document.cookie)===null||g===void 0||((d=g.replace(/\s/g,""))===null||d===void 0)?void 0:d.split(";");k==null||k.map(function($){var q=$.split("=");q[0]==="_educoder_session"&&j(q[1])})},[]);var W=function(){if(R.startsWith("http")||R.startsWith("/")){pe();return}Object(ae.x)(Q||"educoder",R,Q)},pe=function(){Object(ae.v)(Q||I,R)};return console.log("data:",R,"fileanme:",Q," name:",I),S.a.createElement("div",{style:Object(se.a)({},Y||{}),className:"".concat(re&&ie.a.bgBlack," ").concat(H?ie.a.wrp:"hide")},he&&S.a.createElement("div",{className:ie.a.close,ref:X},S.a.createElement(ce.a,{title:"\u70B9\u51FB\u4E0B\u8F7D\u6B64\u6587\u4EF6",getPopupContainer:function(){return X.current}},S.a.createElement("span",{onClick:pe},S.a.createElement("i",{className:"icon-quxiaozhiding"}))),S.a.createElement(ce.a,{title:"\u5173\u95ED",getPopupContainer:function(){return X.current}},S.a.createElement("span",{className:"",onClick:Re},S.a.createElement("i",{className:"icon-guanbi1"})))),S.a.createElement("div",{className:"".concat(ie.a[ye]," ").concat(ye," ").concat(ie.a.monaco," ").concat(H==="txt"?"show":"hide")},H==="txt"&&S.a.createElement(z.b,ge)),H==="audio"&&S.a.createElement("audio",{src:"".concat(R!=null&&R.startsWith("/")||(R==null?void 0:R.indexOf("https://"))>-1?R:"data:audio/mp3;base64,").concat(R),autoPlay:!0}),H==="video"&&S.a.createElement(S.a.Fragment,null,R!=null&&R.startsWith("/")?S.a.createElement("video",{controls:!0,src:"".concat(R),autoPlay:!0}):S.a.createElement("video",{controls:!0,src:"data:video/mp4;base64,".concat(R),autoPlay:!0})),H==="pdf"&&S.a.createElement("embed",{className:ie.a.embed,src:R}),H==="image"&&S.a.createElement(S.a.Fragment,null,S.a.createElement("img",{src:"".concat(R!=null&&R.startsWith("/")||(R==null?void 0:R.indexOf("https://"))>-1?"":"data:image/png;base64,").concat(R)})),H==="other"&&S.a.createElement("div",null,S.a.createElement(Ae.a,{type:"primary",size:"large",onClick:W},S.a.createElement(N.a,null),"\u70B9\u51FB\u4E0B\u8F7D")),(H==="download"||H==="office")&&S.a.createElement(Ae.a,{type:"primary",size:"large",onClick:W},S.a.createElement(N.a,null),"\u70B9\u51FB\u4E0B\u8F7D"))}},"p77/":function(me,ne,u){},qgvg:function(me,ne){me.exports="data:image/gif;base64,R0lGODlhFAAQAOZVAD6Q33p6ezZto2VnaW5vcDuCxiYvNysvM1tdXzNij5eXlyg0QTA0OExOUWZnaS8zN19hYzFYf0Oi/Sg1QoeHh2JjZWZoaTdzrTRmljl5tzFZgDBWez6P3Tl4tjl8uzdxqWBiYys/VCUqL39/gHV2dy4yNScyPDJeiEpNTzk8P0CX6jc7PiYuNWlqaywwNDZtojAzNytDWScrLitAVUGb8Xl6eoWFhTp+wDNgjWRmZ4+QkFdZWzo9QIODgyo/Uzh3syg0QCczPmprbTRllW9wcSotMVJUVjZupDuEylBSVUGb8kxPUZGRkTd0rUGc82JkZUKe9j2M1zg7P4iIiEOj/yUpLQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA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RpZDo3RTc3OTU2RTlCREYxMUVBQjNDMUNCNjkwRUU4NkMwNyIvPiA8L3JkZjpEZXNjcmlwdGlvbj4gPC9yZGY6UkRGPiA8L3g6eG1wbWV0YT4gPD94cGFja2V0IGVuZD0iciI/PgH//v38+/r5+Pf29fTz8vHw7+7t7Ovq6ejn5uXk4+Lh4N/e3dzb2tnY19bV1NPS0dDPzs3My8rJyMfGxcTDwsHAv769vLu6ubi3trW0s7KxsK+urayrqqmop6alpKOioaCfnp2cm5qZmJeWlZSTkpGQj46NjIuKiYiHhoWEg4KBgH9+fXx7enl4d3Z1dHNycXBvbm1sa2ppaGdmZWRjYmFgX15dXFtaWVhXVlVUU1JRUE9OTUxLSklIR0ZFRENCQUA/Pj08Ozo5ODc2NTQzMjEwLy4tLCsqKSgnJiUkIyIhIB8eHRwbGhkYFxYVFBMSERAPDg0MCwoJCAcGBQQDAgEAACH5BAUyAFUALAAAAAAUABAAAAd5gFWCg4RSLoSIiVUPFlNEhAwDCIoyST1TUwGCBwM6AweJPCSYmJpVCAMMgykgFRUtFKSlilVCsreZtAS4sqaJu7yzisDBvhAKyBDEvL6Iy7jNhA7BwoklKA0NRiO30bRFOzakpqiqtItPsTWbA0wWoOcrOUuEMA6TgQAh+QQFMgBVACwAAAAAFAAQAAAHeIBVgoOEISaEiIlVExlUSIQLAgmKIidOVFQAggYCNAIGiTFRmJiaVQkCC4MzHxcXHhKkpYpVN7K3mbQFuLKmibu8s4rAwb4YpBjEvL6IyrjMhB3BwolBGxEROCq30LQsQ1CkpqiqtItNsRybAkpHoOY+PxqEQC+TgQA7"},"rAM+":function(me,ne,u){"use strict";u.d(ne,"a",function(){return Ae});var T=u("Qw5x");function Ae(J,ce){var se;if(typeof Symbol=="undefined"||J[Symbol.iterator]==null){if(Array.isArray(J)||(se=Object(T.a)(J))||ce&&J&&typeof J.length=="number"){se&&(J=se);var ee=0,M=function(){};return{s:M,n:function(){return ee>=J.length?{done:!0}:{done:!1,value:J[ee++]}},e:function(z){throw z},f:M}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
|
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var S=!0,E=!1,ie;return{s:function(){se=J[Symbol.iterator]()},n:function(){var z=se.next();return S=z.done,z},e:function(z){E=!0,ie=z},f:function(){try{!S&&se.return!=null&&se.return()}finally{if(E)throw ie}}}}},rUJ1:function(me,ne){const u=/[&<>"']/,T=/[&<>"']/g,Ae=/[<>"']|&(?!#?\w+;)/,J=/[<>"']|&(?!#?\w+;)/g,ce={"&":"&","<":"<",">":">",'"':""","'":"'"},se=re=>ce[re];function ee(re,te){if(te){if(u.test(re))return re.replace(T,se)}else if(Ae.test(re))return re.replace(J,se);return re}const M=/&(#(?:\d+)|(?:#x[0-9A-Fa-f]+)|(?:\w+));?/ig;function S(re){return re.replace(M,(te,Z)=>(Z=Z.toLowerCase(),Z==="colon"?":":Z.charAt(0)==="#"?Z.charAt(1)==="x"?String.fromCharCode(parseInt(Z.substring(2),16)):String.fromCharCode(+Z.substring(1)):""))}const E=/(^|[^\[])\^/g;function ie(re,te){re=re.source||re,te=te||"";const Z={replace:(P,m)=>(m=m.source||m,m=m.replace(E,"$1"),re=re.replace(P,m),Z),getRegex:()=>new RegExp(re,te)};return Z}const N=/[^\w:]/g,z=/^$|^[a-z][a-z0-9+.-]*:|^[?#]/i;function ae(re,te,Z){if(re){let P;try{P=decodeURIComponent(S(Z)).replace(N,"").toLowerCase()}catch(m){return null}if(P.indexOf("javascript:")===0||P.indexOf("vbscript:")===0||P.indexOf("data:")===0)return null}te&&!z.test(Z)&&(Z=H(te,Z));try{Z=encodeURI(Z).replace(/%25/g,"%")}catch(P){return null}return Z}const K={},I=/^[^:]+:\/*[^/]*$/,R=/^([^:]+:)[\s\S]*$/,D=/^([^:]+:\/*[^/]*)[\s\S]*$/;function H(re,te){K[" "+re]||(I.test(re)?K[" "+re]=re+"/":K[" "+re]=Y(re,"/",!0)),re=K[" "+re];const Z=re.indexOf(":")===-1;return te.substring(0,2)==="//"?Z?te:re.replace(R,"$1")+te:te.charAt(0)==="/"?Z?te:re.replace(D,"$1")+te:re+te}const Q={exec:function(){}};function ge(re){let te=1,Z,P;for(;te<arguments.length;te++){Z=arguments[te];for(P in Z)Object.prototype.hasOwnProperty.call(Z,P)&&(re[P]=Z[P])}return re}function ye(re,te){const Z=re.replace(/\|/g,(_,O,b)=>{let j=!1,X=O;for(;--X>=0&&b[X]==="\\";)j=!j;return j?"|":" |"}),P=Z.split(/ \|/);let m=0;if(P.length>te)P.splice(te);else for(;P.length<te;)P.push("");for(;m<P.length;m++)P[m]=P[m].trim().replace(/\\\|/g,"|");return P}function Y(re,te,Z){const P=re.length;if(P===0)return"";let m=0;for(;m<P;){const _=re.charAt(P-m-1);if(_===te&&!Z)m++;else if(_!==te&&Z)m++;else break}return re.substr(0,P-m)}function he(re,te){if(re.indexOf(te[1])===-1)return-1;const Z=re.length;let P=0,m=0;for(;m<Z;m++)if(re[m]==="\\")m++;else if(re[m]===te[0])P++;else if(re[m]===te[1]&&(P--,P<0))return m;return-1}function Re(re){re&&re.sanitize&&!re.silent&&console.warn("marked(): sanitize and sanitizer parameters are deprecated since version 0.7.0, should not be used and will be removed in the future. Read more here: https://marked.js.org/#/USING_ADVANCED.md#options")}me.exports={escape:ee,unescape:S,edit:ie,cleanUrl:ae,resolveUrl:H,noopTest:Q,merge:ge,splitCells:ye,rtrim:Y,findClosingBracket:he,checkSanitizeDeprecation:Re}},tWlo:function(me,ne){me.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAYAAABXAvmHAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyZpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6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4J2aka23tzB4VETrdct6zoCECC7wjjWIy1tbewZT//9R4RYzxZOtZTwK0C2vEjHjT2Ov3sx2d3TA7ZxPzuhrB5nVdiQ8pNPPvKP+XkEjjbYKtXm0VOpHe5x01KDDI72dFtmI+EGz1IkDyOeIvnlETH/T/digqKoLXeLLts3UNgY0REXGQZpmpqtCmrjV1/ZWcrEzIzEhnTtwQhwQb/5vNDc1dkinak4gDsMUFSEhwMJQ9vhueqihnWhYBMhnokYRGowGLZRwcW9fWLsGxTV6HqA8F6sMfR5z0qiDUKsjQpoEuPQ1SsSILVPDd1FJTrDA/Fwry9NDX1w9dxh7MSs2+ytTjcI+7gc0IkHwpMD+JnpbnZGdCXk4WPJSUKFlHzj0bGTrtGqhZNjJqgQHzIHRjWMbzhd7/MqLaZxqzxfjVFU+UjhcZCs+gp7f9nowcszMhfg17SoptSKDyym9N9cbePt8O2GrQ5pbrDRMTkwbe6MQpN6hfFRUVWa+Qb+7je23ideLAtPdGZ/cUZpw1iTsTFtFLJcBwEc2RIryHqELvW2q/qQPT4JA4AmupL5aP/Saza8A0eDU2Jvr0DrWaNkEe3L32kULmhXV+cHHR8cOvV5tcDd9f8qvm9ouAW2Zm5yhpm5uwWi9HRoRXq1UqC9zt08cDe391VUiJPyaPo+F1zddaZy80XFyLRv52v2ViPrehiJSvz6Z7rthQpZI+t6E+K91yuj+3UXnkL+7PbYxCFdiIKfgYdTcohHZ23QTnEntd8Y8AAwCTubpzlq2wWAAAAABJRU5ErkJggg=="},vHTk:function(me,ne,u){me.exports={wrp:"wrp___z2l1F",bgBlack:"bgBlack___3ezfX",monaco:"monaco___1ypjT",darkBlue:"darkBlue___2ViJc",close:"close___3q-z4",embed:"embed___3dQqc"}},yslc:function(me,ne){me.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAALoAAABSCAYAAADjGc4eAAAOHklEQVR4Xu1dCXQURRr+emZyTO6D3BCEgKCInCKeK3IoiyIqlxLyQBRBV8DNhCCrS3Z9Cq66KOoi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