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.
NewEduCoderBuild/p__Demo__index.fccfc2ff.asy...

119 lines
773 KiB

(window.webpackJsonp=window.webpackJsonp||[]).push([[141,5,6,9,14],{"+QRC":function(Me,L,s){"use strict";var re=s("E9nw"),ie={"text/plain":"Text","text/html":"Url",default:"Text"},Ie="Copy to clipboard: #{key}, Enter";function ae(I){var ue=(/mac os x/i.test(navigator.userAgent)?"\u2318":"Ctrl")+"+C";return I.replace(/#{\s*key\s*}/g,ue)}function y(I,ue){var ge,a,N,S,E,f,h=!1;ue||(ue={}),ge=ue.debug||!1;try{N=re(),S=document.createRange(),E=document.getSelection(),f=document.createElement("span"),f.textContent=I,f.style.all="unset",f.style.position="fixed",f.style.top=0,f.style.clip="rect(0, 0, 0, 0)",f.style.whiteSpace="pre",f.style.webkitUserSelect="text",f.style.MozUserSelect="text",f.style.msUserSelect="text",f.style.userSelect="text",f.addEventListener("copy",function(m){if(m.stopPropagation(),ue.format)if(m.preventDefault(),typeof m.clipboardData=="undefined"){ge&&console.warn("unable to use e.clipboardData"),ge&&console.warn("trying IE specific stuff"),window.clipboardData.clearData();var C=ie[ue.format]||ie.default;window.clipboardData.setData(C,I)}else m.clipboardData.clearData(),m.clipboardData.setData(ue.format,I);ue.onCopy&&(m.preventDefault(),ue.onCopy(m.clipboardData))}),document.body.appendChild(f),S.selectNodeContents(f),E.addRange(S);var d=document.execCommand("copy");if(!d)throw new Error("copy command was unsuccessful");h=!0}catch(m){ge&&console.error("unable to copy using execCommand: ",m),ge&&console.warn("trying IE specific stuff");try{window.clipboardData.setData(ue.format||"text",I),ue.onCopy&&ue.onCopy(window.clipboardData),h=!0}catch(C){ge&&console.error("unable to copy using clipboardData: ",C),ge&&console.error("falling back to prompt"),a=ae("message"in ue?ue.message:Ie),window.prompt(a,I)}}finally{E&&(typeof E.removeRange=="function"?E.removeRange(S):E.removeAllRanges()),f&&document.body.removeChild(f),N()}return h}Me.exports=y},"+ua5":function(Me,L,s){},"/GNS":function(Me,L,s){Me.exports=s.p+"static/search1.c4136dd4.png"},"/cxE":function(Me,L,s){"use strict";s.d(L,"f",function(){return Ie}),s.d(L,"g",function(){return ae}),s.d(L,"h",function(){return y}),s.d(L,"e",function(){return ue}),s.d(L,"b",function(){return ge}),s.d(L,"c",function(){return a}),s.d(L,"d",function(){return N}),s.d(L,"a",function(){return S});class re{constructor(){this.listeners=[],this.unexpectedErrorHandler=function(E){setTimeout(()=>{throw E.stack?new Error(E.message+`
`+E.stack):E},0)}}emit(E){this.listeners.forEach(f=>{f(E)})}onUnexpectedError(E){this.unexpectedErrorHandler(E),this.emit(E)}onUnexpectedExternalError(E){this.unexpectedErrorHandler(E)}}const ie=new re;function Ie(E){ue(E)||ie.onUnexpectedError(E);return}function ae(E){ue(E)||ie.onUnexpectedExternalError(E);return}function y(E){if(E instanceof Error){let{name:f,message:h}=E;const d=E.stacktrace||E.stack;return{$isError:!0,name:f,message:h,stack:d}}return E}const I="Canceled";function ue(E){return E instanceof Error&&E.name===I&&E.message===I}function ge(){const E=new Error(I);return E.name=E.message,E}function a(E){return E?new Error(`Illegal argument: ${E}`):new Error("Illegal argument")}function N(E){return E?new Error(`Illegal state: ${E}`):new Error("Illegal state")}class S extends Error{constructor(E){super("NotSupported");E&&(this.message=E)}}},"0/SM":function(Me,L,s){Me.exports={flex_box_center:"flex_box_center___gv1YF",flex_space_between:"flex_space_between___pJTp_",flex_box_vertical_center:"flex_box_vertical_center___2X-O9",flex_box_center_end:"flex_box_center_end___21hK4",flex_box_column:"flex_box_column___psPJb",wrap:"wrap___QvUDk",full:"full___2gLfk"}},"24hK":function(Me,L,s){"use strict";s.d(L,"a",function(){return ie});class re{constructor(Ie){this.element=Ie,this.next=re.Undefined,this.prev=re.Undefined}}re.Undefined=new re(void 0);class ie{constructor(){this._first=re.Undefined,this._last=re.Undefined,this._size=0}get size(){return this._size}isEmpty(){return this._first===re.Undefined}clear(){let Ie=this._first;for(;Ie!==re.Undefined;){const ae=Ie.next;Ie.prev=re.Undefined,Ie.next=re.Undefined,Ie=ae}this._first=re.Undefined,this._last=re.Undefined,this._size=0}unshift(Ie){return this._insert(Ie,!1)}push(Ie){return this._insert(Ie,!0)}_insert(Ie,ae){const y=new re(Ie);if(this._first===re.Undefined)this._first=y,this._last=y;else if(ae){const ue=this._last;this._last=y,y.prev=ue,ue.next=y}else{const ue=this._first;this._first=y,y.next=ue,ue.prev=y}this._size+=1;let I=!1;return()=>{I||(I=!0,this._remove(y))}}shift(){if(this._first===re.Undefined)return;{const Ie=this._first.element;return this._remove(this._first),Ie}}pop(){if(this._last===re.Undefined)return;{const Ie=this._last.element;return this._remove(this._last),Ie}}_remove(Ie){if(Ie.prev!==re.Undefined&&Ie.next!==re.Undefined){const ae=Ie.prev;ae.next=Ie.next,Ie.next.prev=ae}else Ie.prev===re.Undefined&&Ie.next===re.Undefined?(this._first=re.Undefined,this._last=re.Undefined):Ie.next===re.Undefined?(this._last=this._last.prev,this._last.next=re.Undefined):Ie.prev===re.Undefined&&(this._first=this._first.next,this._first.prev=re.Undefined);this._size-=1}*[Symbol.iterator](){let Ie=this._first;for(;Ie!==re.Undefined;)yield Ie.element,Ie=Ie.next}}},"25Vc":function(Me,L,s){Me.exports={wrap:"wrap___3gf4v",title:"title___BnbVm",path:"path___1Prpu",colorBlue:"colorBlue___1sUTa"}},"3/fG":function(Me,L,s){"use strict";s.d(L,"a",function(){return ie});function re(Ie,ae){let y;return ae.length===0?y=Ie:y=Ie.replace(/\{(\d+)\}/g,function(I,ue){const ge=ue[0];return typeof ae[ge]!="undefined"?ae[ge]:I}),y}function ie(Ie,ae,...y){return re(ae,y)}},"4K8j":function(Me,L,s){"use strict";s.r(L);var re=s("14J3"),ie=s("BMrR"),Ie=s("jCWc"),ae=s("kPKH"),y=s("q1tI"),I=s.n(y),ue=s("bntm"),ge=s("1vsH"),a=s("0/SM"),N=s.n(a),S=s("2qtc"),E=s("kLXV"),f=s("+L6B"),h=s("2/Rp"),d=s("T2oS"),m=s("W9HT"),C=s("lUTK"),z=s("BvKs"),v=s("miYZ"),g=s("tsqr"),j=s("9og8"),G=s("5Dmo"),J=s("3S7+"),P=s("k1fw"),X=s("tJVT"),F=s("PpiC"),oe=s("Znn+"),he=s("ZTPi"),ce=s("WmNS"),Q=s.n(ce),W=s("5DcX"),H=s.n(W),Re=s("Ty5D"),D=s("9kvl"),u=s("oBTY"),_=s("qVdP"),A=s("jsC+"),l=s("ozfa"),R=s("MJZm"),M=s("IZBM"),fe=s("P5Jw"),Ee=s("5NDa"),Ae=s("5rEg"),_e=s("y8nQ"),K=s("Vl3Y"),ee=s("FfZY"),ve=s.n(ee),Z=function(We){var pt=We.shixunsDetail,Dt=We.globalSetting,Ht=We.loading,Ut=We.user,In=We.dispatch,ln=We.taskData,rt=We.isRepository,Ze=Object(F.a)(We,["shixunsDetail","globalSetting","loading","user","dispatch","taskData","isRepository"]),at=Object(Re.h)(),Xe=Object(P.a)(Object(P.a)({},Object(Re.i)()),Object(Re.h)().query),Ct=Object(y.useState)({}),Ge=Object(X.a)(Ct,2),ze=Ge[0],Zt=Ge[1],Ot=Object(y.useRef)(),kt=K.a.useForm(),Nt=Object(X.a)(kt,1),Kt=Nt[0],un=Object(y.useState)(""),Hn=Object(X.a)(un,2),je=Hn[0],lt=Hn[1];Object(y.useEffect)(function(){Ze.visible&&Kt.resetFields()},[Ze.visible]),Object(y.useEffect)(function(){var wn=sessionStorage.getItem("pathArray");if(wn){var Rt=wn.split(",").join("/"),xt=Rt.indexOf("/")===0?Rt.substr(1):Rt;lt(xt)}},[]),Object(y.useEffect)(function(){var wn,Rt;Ot.current=(wn=at.pathname)===null||wn===void 0||((Rt=wn.split("/"))===null||Rt===void 0)?void 0:Rt[2]},[]);var Un=function(){var wn=Object(j.a)(Q.a.mark(function Rt(){var xt,et,Pt=arguments;return Q.a.wrap(function(gt){for(;;)switch(gt.prev=gt.next){case 0:return xt=Pt.length>0&&Pt[0]!==void 0?Pt[0]:{},gt.next=3,In({type:"shixunsDetail/addRepositoryFile",payload:{id:ln.myshixun.identifier,message:xt.commitMessage,content:"",path:(Ze.defaultPath?Ze.defaultPath+"/":"")+xt.path+"/"+(xt.file||".gitkeep"),secret_repository:rt?void 0:!0}});case 3:et=gt.sent,(et==null?void 0:et.status)===0&&(g.b.success("\u6DFB\u52A0\u6210\u529F"),Ze.onOK({path:(Ze.defaultPath?Ze.defaultPath+"/":"")+xt.path+"/"+(xt.file||".gitkeep"),name:xt.path.split("/")[xt.path.split("/").length-1]}),Ze.onClose());case 5:case"end":return gt.stop()}},Rt)}));return function(){return wn.apply(this,arguments)}}(),bi=function(){var Rt,xt;D.d.push("/shixuns/".concat(Ot.current,"/").concat((Rt=at.pathname)===null||Rt===void 0||((xt=Rt.split("/"))===null||xt===void 0)?void 0:xt[3]).concat(je?"/master/shixun_show/".concat(je):""))};return I.a.createElement(E.a,{width:"60%",centered:!0,visible:Ze.visible,wrapClassName:ve.a.modal,onOk:function(){Kt.submit()},onCancel:Ze.onClose,title:"\u65B0\u5EFA\u6587\u4EF6\u5939"},I.a.createElement("section",{className:ve.a.bg},I.a.createElement("div",{className:ve.a.wrap},I.a.createElement(K.a,{className:"mt10",form:Kt,scrollToFirstError:!0,layout:"vertical",onFinish:Un,onChange:function(){var Rt,xt,et,Pt,yt=Object(P.a)({},Kt.getFieldsValue()),gt=yt==null||((Rt=yt.path)===null||Rt===void 0)?void 0:Rt.split(""),Mt=yt==null||((xt=yt.file)===null||xt===void 0)?void 0:xt.split("");gt!=null&&(et=gt.filter(function(Gn){return Gn=="/"}))!==null&&et!==void 0&&et.length&&(yt.path=yt.path.substring(0,yt.path.length-1)),Mt!=null&&(Pt=Mt.filter(function(Gn){return Gn=="/"}))!==null&&Pt!==void 0&&Pt.length&&(yt.file=yt.file.substring(0,yt.path.length-1)),Kt.setFieldsValue(Object(P.a)({},yt)),Zt(yt)}},I.a.createElement(K.a.Item,{label:"\u6587\u4EF6\u5939\u540D\u79F0\uFF1A",name:"path"},I.a.createElement(ie.a,null,I.a.createElement(ae.a,null,I.a.createElement("span",{className:ve.a.filePath},Ze.defaultPath+"/")),I.a.createElement(ae.a,{flex:"1"},I.a.createElement(K.a.Item,{name:"path",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u6587\u4EF6\u5939\u540D\u79F0"},{whitespace:!0,message:"\u8BF7\u52FF\u8F93\u5165\u7A7A\u683C"}]},I.a.createElement(Ae.a,{placeholder:"\u8BF7\u8F93\u5165\u6587\u4EF6\u5939\u540D\u79F0",size:"large"}))))),I.a.createElement(K.a.Item,{label:"\u6587\u4EF6\u540D\u79F0\uFF1A",name:"file"},I.a.createElement(Ae.a,{placeholder:"\u8BF7\u8F93\u5165\u6587\u4EF6\u540D\u79F0\uFF0C\u5982\u679C\u4E0D\u586B\u5199\u7CFB\u7EDF\u5C06\u5728\u6587\u4EF6\u5939\u4E0B\u521B\u5EFA.gitkeep\u7684\u9ED8\u8BA4\u6587\u4EF6",size:"large"})),I.a.createElement(K.a.Item,{label:"\u63D0\u4EA4\u4FE1\u606F\uFF1A",name:"commitMessage",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u63D0\u4EA4\u4FE1\u606F"},{whitespace:!0,message:"\u8BF7\u52FF\u8F93\u5165\u7A7A\u683C"}]},I.a.createElement(Ae.a,{placeholder:"\u8BF7\u8F93\u5165\u672C\u6B21\u63D0\u4EA4\u7684\u4E3B\u8981\u4FE1\u606F\uFF0C\u5408\u7406\u7684\u63CF\u8FF0\u4FE1\u606F\u6709\u5229\u4E8E\u4EE3\u7801\u5386\u53F2\u8BB0\u5F55\u7684\u7BA1\u7406",size:"large"}))))))},Oe=Object(D.a)(function(ht){var We=ht.shixunsDetail,pt=ht.loading,Dt=ht.globalSetting,Ht=ht.user;return{shixunsDetail:We,globalSetting:Dt,user:Ht,loading:pt.models.index}})(Z),T=s("7ahc"),Y=function(We){var pt=We.shixunsDetail,Dt=We.globalSetting,Ht=We.loading,Ut=We.user,In=We.taskData,ln=We.dispatch,rt=We.isRepository,Ze=We.onClose,at=Object(F.a)(We,["shixunsDetail","globalSetting","loading","user","taskData","dispatch","isRepository","onClose"]),Xe=Object(Re.h)(),Ct=Object(P.a)(Object(P.a)({},Object(Re.i)()),Object(Re.h)().query),Ge=Object(y.useState)({}),ze=Object(X.a)(Ge,2),Zt=ze[0],Ot=ze[1],kt=Object(y.useRef)(),Nt=K.a.useForm(),Kt=Object(X.a)(Nt,1),un=Kt[0],Hn=Object(y.useState)(""),je=Object(X.a)(Hn,2),lt=je[0],Un=je[1];Object(y.useEffect)(function(){at.visible&&un.resetFields()},[at.visible]),Object(y.useEffect)(function(){var Rt=sessionStorage.getItem("pathArray");if(Rt){var xt=Rt.split(",").join("/"),et=xt.indexOf("/")===0?xt.substr(1):xt;Un(et)}},[]),Object(y.useEffect)(function(){var Rt,xt;kt.current=(Rt=Xe.pathname)===null||Rt===void 0||((xt=Rt.split("/"))===null||xt===void 0)?void 0:xt[2]},[]);var bi=function(){var Rt=Object(j.a)(Q.a.mark(function xt(){var et,Pt,yt=arguments;return Q.a.wrap(function(Mt){for(;;)switch(Mt.prev=Mt.next){case 0:return et=yt.length>0&&yt[0]!==void 0?yt[0]:{},Mt.next=3,Object(M.b)({id:In.myshixun.identifier,message:et.commitMessage,content:et.codeMirror,path:(at.defaultPath?at.defaultPath+"/":"")+et.path,secret_repository:rt?void 0:!0});case 3:Pt=Mt.sent,(Pt==null?void 0:Pt.status)===0&&(g.b.success("\u6DFB\u52A0\u6210\u529F"),at.onOK({path:(at.defaultPath?at.defaultPath+"/":"")+et.path,name:et.path.split("/")[et.path.split("/").length-1]}),Ze());case 5:case"end":return Mt.stop()}},xt)}));return function(){return Rt.apply(this,arguments)}}(),wn=function(){var xt,et;D.d.push("/shixuns/".concat(kt.current,"/").concat((xt=Xe.pathname)===null||xt===void 0||((et=xt.split("/"))===null||et===void 0)?void 0:et[3]).concat(lt?"/master/shixun_show/".concat(lt):""))};return I.a.createElement(E.a,{width:"60%",visible:at.visible,wrapClassName:ve.a.modal,centered:!0,onOk:function(){un.submit()},onCancel:Ze,title:"\u65B0\u5EFA\u6587\u4EF6"},I.a.createElement("section",{className:ve.a.bg},I.a.createElement("div",{className:ve.a.wrap},I.a.createElement(K.a,{className:"mt10",form:un,scrollToFirstError:!0,layout:"vertical",onFinish:bi,onChange:function(){var xt,et,Pt=Object(P.a)({},un.getFieldsValue()),yt=Pt==null||((xt=Pt.path)===null||xt===void 0)?void 0:xt.split("");(yt==null||((et=yt.filter(function(gt){return gt=="/"}))===null||et===void 0)?void 0:et.length)>1&&(Pt.path=Pt.path.substring(0,Pt.path.length-1)),un.setFieldsValue(Object(P.a)({},Pt)),Ot(Pt)}},I.a.createElement(K.a.Item,{label:"\u6587\u4EF6\u540D\u79F0\u6216\u6587\u4EF6\u8DEF\u5F84\uFF1A",name:"path"},I.a.createElement(ie.a,null,I.a.createElement(ae.a,null,I.a.createElement("span",{className:ve.a.filePath},at.defaultPath+"/")),I.a.createElement(ae.a,{flex:"1"},I.a.createElement(K.a.Item,{name:"path",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u6587\u4EF6\u540D\u79F0"},{whitespace:!0,message:"\u8BF7\u52FF\u8F93\u5165\u7A7A\u683C"}]},I.a.createElement(Ae.a,{placeholder:"\u8BF7\u8F93\u5165\u6587\u4EF6\u540D\u79F0",size:"large"}))))),I.a.createElement(K.a.Item,{label:"\u63D0\u4EA4\u4FE1\u606F\uFF1A",name:"commitMessage",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u63D0\u4EA4\u4FE1\u606F"},{whitespace:!0,message:"\u8BF7\u52FF\u8F93\u5165\u7A7A\u683C"}]},I.a.createElement(Ae.a,{placeholder:"\u8BF7\u8F93\u5165\u672C\u6B21\u63D0\u4EA4\u7684\u4E3B\u8981\u4FE1\u606F\uFF0C\u5408\u7406\u7684\u63CF\u8FF0\u4FE1\u606F\u6709\u5229\u4E8E\u4EE3\u7801\u5386\u53F2\u8BB0\u5F55\u7684\u7BA1\u7406",size:"large"})),I.a.createElement("div",{className:"mt10 mb20"},I.a.createElement(K.a.Item,{name:"codeMirror",label:"\u6587\u4EF6\u5185\u5BB9\uFF1A",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u6587\u4EF6\u5185\u5BB9"}]},I.a.createElement(T.a,{options:{modal:"javascript",lineNumbers:!0,theme:"railscasts",indentUnit:4,matchBrackets:!0,autoRefresh:!0,smartIndent:!0,extraKeys:{"Alt-/":"autocomplete"},autofocus:!0,styleActiveLine:!0,lint:!0,linkurl:"",gutters:["CodeMirror-linenumbers","breakpoints","CodeMirror-lint-markers"]}})))))))},k=Object(D.a)(function(ht){var We=ht.shixunsDetail,pt=ht.loading,Dt=ht.globalSetting,Ht=ht.user;return{shixunsDetail:We,globalSetting:Dt,user:Ht,loading:pt.models.index}})(Y),pe=function(We){var pt=We.shixunsDetail,Dt=We.globalSetting,Ht=We.loading,Ut=We.user,In=We.dispatch,ln=We.isRepository,rt=We.taskData,Ze=Object(F.a)(We,["shixunsDetail","globalSetting","loading","user","dispatch","isRepository","taskData"]),at=Object(Re.h)(),Xe=Object(P.a)(Object(P.a)({},Object(Re.i)()),Object(Re.h)().query),Ct=Object(y.useState)({}),Ge=Object(X.a)(Ct,2),ze=Ge[0],Zt=Ge[1],Ot=Object(y.useRef)(),kt=K.a.useForm(),Nt=Object(X.a)(kt,1),Kt=Nt[0],un=Object(y.useState)(""),Hn=Object(X.a)(un,2),je=Hn[0],lt=Hn[1],Un=Object(y.useState)(""),bi=Object(X.a)(Un,2),wn=bi[0],Rt=bi[1];Object(y.useEffect)(function(){Ze.visible&&Kt.resetFields()},[Ze.visible]),Object(y.useEffect)(function(){var Pt=Ze.defaultPath.split("/");Pt.length===1?(lt(""),Rt(Ze.defaultPath)):(Rt(Pt.pop()),lt(Pt.join("/")+"/"))},[Ze.defaultPath]),Object(y.useEffect)(function(){var Pt,yt;Ot.current=(Pt=at.pathname)===null||Pt===void 0||((yt=Pt.split("/"))===null||yt===void 0)?void 0:yt[2]},[]);var xt=function(){var Pt=Object(j.a)(Q.a.mark(function yt(){var gt,Mt,Gn,yn=arguments;return Q.a.wrap(function(rn){for(;;)switch(rn.prev=rn.next){case 0:return Mt=yn.length>0&&yn[0]!==void 0?yn[0]:{},rn.next=3,Object(M.w)({id:rt==null||((gt=rt.shixun)===null||gt===void 0)?void 0:gt.identifier,from:Ze.defaultPath,to:je+Mt.path,message:Mt.commitMessage||"".concat(Ze.defaultPath," rename to ").concat(je).concat(Mt.path," ")});case 3:Gn=rn.sent,(Gn==null?void 0:Gn.status)===0&&(g.b.success("\u64CD\u4F5C\u6210\u529F"),Ze.onOK({path:Mt.path,name:Mt.path}),Ze.onClose());case 5:case"end":return rn.stop()}},yt)}));return function(){return Pt.apply(this,arguments)}}(),et=function(){var yt,gt;D.d.push("/shixuns/".concat(Ot.current,"/").concat((yt=at.pathname)===null||yt===void 0||((gt=yt.split("/"))===null||gt===void 0)?void 0:gt[3]).concat(je?"/master/shixun_show/".concat(je):""))};return I.a.createElement(E.a,{width:"40%",visible:Ze.visible,wrapClassName:ve.a.modal,centered:!0,onOk:function(){Kt.submit()},onCancel:Ze.onClose,title:"\u63D0\u4EA4\u8BF4\u660E"},I.a.createElement("section",{className:ve.a.bg},I.a.createElement("div",{className:ve.a.wrap},I.a.createElement(K.a,{className:"mt10",form:Kt,scrollToFirstError:!0,layout:"vertical",onFinish:xt,onChange:function(){var yt,gt,Mt=Object(P.a)({},Kt.getFieldsValue()),Gn=Mt==null||((yt=Mt.path)===null||yt===void 0)?void 0:yt.split("");(Gn==null||((gt=Gn.filter(function(yn){return yn=="/"}))===null||gt===void 0)?void 0:gt.length)>1&&(Mt.path=Mt.path.substring(0,Mt.path.length-1)),Kt.setFieldsValue(Object(P.a)({},Mt)),Zt(Mt)}},I.a.createElement(K.a.Item,{label:"\u91CD\u547D\u540D\uFF1A",name:"path"},I.a.createElement(ie.a,null,I.a.createElement(ae.a,{flex:"1"},I.a.createElement(K.a.Item,{name:"path",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u6587\u4EF6\u540D\u79F0"},{whitespace:!0,message:"\u8BF7\u52FF\u8F93\u5165\u7A7A\u683C"}]},I.a.createElement(Ae.a,{placeholder:"\u8BF7\u8F93\u5165\u6587\u4EF6\u540D\u79F0",size:"large",defaultValue:wn}))))),I.a.createElement(K.a.Item,{label:"\u63D0\u4EA4\u4FE1\u606F\uFF1A",name:"commitMessage"},I.a.createElement(Ae.a,{placeholder:"\u5982\u4E0D\u586B\u5199\uFF0C\u9ED8\u8BA4\u63D0\u4EA4\u4FE1\u606F\u662F\uFF08".concat(Ze.defaultPath," rename to \u65B0\u7684\u540D\u79F0 \uFF09"),size:"large"}))))))},De=Object(D.a)(function(ht){var We=ht.shixunsDetail,pt=ht.loading,Dt=ht.globalSetting,Ht=ht.user;return{shixunsDetail:We,globalSetting:Dt,user:Ht,loading:pt.models.index}})(pe),le=s("DZo9"),Se=s("8z0m"),Ue=s("m3rI"),U=s("8j3D"),we=s("25Vc"),Ne=s.n(we),Le=Se.a.Dragger,Ye=function(We){var pt,Dt=We.shixunsDetail,Ht=We.globalSetting,Ut=We.loading,In=We.user,ln=We.taskData,rt=We.dispatch,Ze=We.isRepository,at=Object(F.a)(We,["shixunsDetail","globalSetting","loading","user","taskData","dispatch","isRepository"]),Xe=Object(Re.h)(),Ct=Object(P.a)(Object(P.a)({},Object(Re.i)()),Object(Re.h)().query),Ge=Object(y.useState)({}),ze=Object(X.a)(Ge,2),Zt=ze[0],Ot=ze[1],kt=Object(y.useRef)(),Nt=K.a.useForm(),Kt=Object(X.a)(Nt,1),un=Kt[0],Hn=Object(y.useState)([]),je=Object(X.a)(Hn,2),lt=je[0],Un=je[1],bi=Object(y.useState)(),wn=Object(X.a)(bi,2),Rt=wn[0],xt=wn[1],et;Object(y.useEffect)(function(){at.visible&&(un.resetFields(),Un([]))},[at.visible]),Object(y.useEffect)(function(){kt.current=Ct.id},[]),Object(y.useEffect)(function(){var yn=sessionStorage.getItem("pathArray");if(yn){var Jt=yn.split(",").join("/"),rn=Jt.indexOf("/")===0?Jt.substr(1):Jt;xt(rn)}},[]);var Pt=function(Jt){if(et=Jt.file.name,Jt.file.status==="done"||Jt.file.status==="uploading"){var rn,fi,Kn;if(Un(Jt.fileList),!Jt.file.response)return;if(((rn=Jt.file.response)===null||rn===void 0?void 0:rn.status)===0){g.b.success("\u4E0A\u4F20\u6210\u529F\uFF01");return}Un(lt.filter(function(ti){return ti.uid!==Jt.file.uid})),((fi=Jt.file.response)===null||fi===void 0?void 0:fi.message)&&g.b.info((Kn=Jt.file.response)===null||Kn===void 0?void 0:Kn.message)}},yt=function(){var yn=Object(j.a)(Q.a.mark(function Jt(rn){var fi;return Q.a.wrap(function(ti){for(;;)switch(ti.prev=ti.next){case 0:if(rn.response){ti.next=3;break}return g.b.info("\u8FD8\u672A\u4E0A\u4F20\u5B8C\u6210\uFF0C\u65E0\u6CD5\u8FDB\u884C\u5220\u9664\u64CD\u4F5C\uFF01"),ti.abrupt("return");case 3:return ti.next=5,rt({type:"shixunsDetail/deleteGitFile",payload:{id:Ct.id,path:Rt?"".concat(Rt,"/").concat(rn.name):rn.name,message:un.getFieldValue("commitMessage")||"\u5220\u9664\u4E86".concat(Rt?"".concat(Rt,"/").concat(rn.name):rn.name),secret_repository:Ze?null:!0}});case 5:fi=ti.sent,fi.status===0&&(Un(lt.filter(function(Fn){return Fn.uid!==rn.uid})),g.b.info("\u5220\u9664\u6210\u529F"));case 7:case"end":return ti.stop()}},Jt)}));return function(rn){return yn.apply(this,arguments)}}(),gt={height:300,multiple:!0,withCredentials:!0,data:function(){var yn=Object(j.a)(Q.a.mark(function rn(){return Q.a.wrap(function(Kn){for(;;)switch(Kn.prev=Kn.next){case 0:return Kn.abrupt("return",new Promise(function(){var ti=Object(j.a)(Q.a.mark(function Fn(hn,cn){return Q.a.wrap(function(tn){for(;;)switch(tn.prev=tn.next){case 0:setTimeout(Object(j.a)(Q.a.mark(function Ci(){var kn,Qn;return Q.a.wrap(function(pi){for(;;)switch(pi.prev=pi.next){case 0:return pi.next=2,un.getFieldsValue();case 2:kn=pi.sent,Qn=Object(P.a)(Object(P.a)({},{path:at.defaultPath?at.defaultPath:"",message:Zt.commitMessage||"\u4E0A\u4F20\u4E86".concat(et)}),Ze?{}:{secret_repository:!0}),hn(Qn);case 5:case"end":return pi.stop()}},Ci)})),200);case 1:case"end":return tn.stop()}},Fn)}));return function(Fn,hn){return ti.apply(this,arguments)}}()));case 1:case"end":return Kn.stop()}},rn)}));function Jt(){return yn.apply(this,arguments)}return Jt}(),fileList:lt,method:"post",action:"".concat(Ue.a.API_SERVER,"/api/myshixuns/").concat(ln==null||((pt=ln.myshixun)===null||pt===void 0)?void 0:pt.identifier,"/upload_git_file.json"),onChange:Pt,onRemove:yt,beforeUpload:function(Jt){et=Jt.name}},Mt=function(){var yn=Object(j.a)(Q.a.mark(function Jt(rn){return Q.a.wrap(function(Kn){for(;;)switch(Kn.prev=Kn.next){case 0:return Kn.next=2,un.validateFields();case 2:at.onClose(),at.onOK({path:at.defaultPath}),Gn();case 5:case"end":return Kn.stop()}},Jt)}));return function(rn){return yn.apply(this,arguments)}}(),Gn=function(){};return I.a.createElement(E.a,{visible:at.visible,onOk:Mt,centered:!0,onCancel:at.onClose,width:"70%"},I.a.createElement("section",{className:Ne.a.bg},I.a.createElement("div",{className:Ne.a.wrap},I.a.createElement("div",{className:Ne.a.title},"\u4E0A\u4F20\u6587\u4EF6"),I.a.createElement(K.a,{className:"mt10",form:un,scrollToFirstError:!0,layout:"vertical",onFinish:Mt,onValuesChange:function(){return Ot(Object(P.a)({},un.getFieldsValue()))}},I.a.createElement(K.a.Item,{label:"\u63D0\u4EA4\u4FE1\u606F\uFF1A",name:"commitMessage",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u63D0\u4EA4\u4FE1\u606F"},{whitespace:!0,message:"\u8BF7\u52FF\u8F93\u5165\u7A7A\u683C"}]},I.a.createElement(Ae.a,{placeholder:"\u5FC5\u586B\uFF0C\u63CF\u8FF0\u4E3B\u8981\u4FEE\u6539\u5185\u5BB9\uFF08\u76F8\u5F53\u4E8EGit Commit message\u7684Header\uFF09"})),I.a.createElement(K.a.Item,{label:"\u9009\u62E9\u6587\u4EF6",name:"file",rules:[{required:!0,message:"\u8BF7\u9009\u62E9\u6587\u4EF6"}]},I.a.createElement(Le,gt,I.a.createElement("div",null,I.a.createElement("i",{className:"iconfont icon-shangchuan font50 ".concat(Ne.a.colorBlue)})),I.a.createElement("div",{className:"font14 mt30"},"\u62D6\u62FD\u6587\u4EF6\u6216",I.a.createElement("span",{className:"".concat(Ne.a.colorBlue," ml5")},"\u70B9\u51FB\u6B64\u5904\u4E0A\u4F20")))))),I.a.createElement(U.a,{onFinish:function(Jt){return xt(Jt)}})))},Qe=Object(D.a)(function(ht){var We=ht.shixunsDetail,pt=ht.loading,Dt=ht.globalSetting,Ht=ht.user;return{shixunsDetail:We,globalSetting:Dt,user:Ht,loading:pt.models.index}})(Ye),ot=s("aVK0"),Ve=s.n(ot),_t=s("TXba"),mt=s.n(_t),Lt=function(We){var pt=We.shixunsDetail,Dt=We.globalSetting,Ht=We.loading,Ut=We.dispatch,In=We.title,ln=We.pathList,rt=ln===void 0?[]:ln,Ze=We.showInputPath,at=Ze===void 0?!1:Ze,Xe=We.isMergeSelectFile,Ct=Xe===void 0?!1:Xe,Ge=We.onFinish,ze=Ge===void 0?function(){}:Ge,Zt=K.a.useForm(),Ot=Object(X.a)(Zt,1),kt=Ot[0],Nt=Object(P.a)(Object(P.a)({},Object(Re.i)()),Object(Re.h)().query),Kt=Object(Re.h)(),un=Object(y.useRef)(),Hn=Object(y.useState)(""),je=Object(X.a)(Hn,2),lt=je[0],Un=je[1],bi=Object(y.useState)(""),wn=Object(X.a)(bi,2),Rt=wn[0],xt=wn[1],et=Object(y.useState)([]),Pt=Object(X.a)(et,2),yt=Pt[0],gt=Pt[1],Mt=Object(y.useState)([]),Gn=Object(X.a)(Mt,2),yn=Gn[0],Jt=Gn[1];Object(y.useEffect)(function(){var hn,cn;un.current=((hn=Kt.pathname)===null||hn===void 0||((cn=hn.split("/"))===null||cn===void 0)?void 0:cn[3])==="repository"},[]),Object(y.useEffect)(function(){if(pt.actionTabs.key!=="Repository-SelectFilePath")return;var hn=rt.join("/"),cn=[];rt.map(function(fn,tn){tn===0?cn.push({val:"\u6839\u76EE\u5F55",path:""},{val:"/".concat(fn),path:hn}):cn.push({val:"/".concat(fn),path:hn})}),gt(cn),Un(hn),xt(hn),rn(hn)},[pt.actionTabs.key]);var rn=function(){var hn=Object(j.a)(Q.a.mark(function cn(fn){var tn;return Q.a.wrap(function(kn){for(;;)switch(kn.prev=kn.next){case 0:return kn.next=2,Ut({type:un.current?"shixunsDetail/getRepository":"shixunsDetail/getSecretRepository",payload:{id:Nt.id,path:fn}});case 2:tn=kn.sent,tn&&Jt(tn.trees||[]);case 4:case"end":return kn.stop()}},cn)}));return function(fn){return hn.apply(this,arguments)}}(),fi=function(cn){var fn=lt;cn.type==="tree"&&(yt.length?yt.push({val:"/".concat(cn.name),path:cn.name}):yt.push({val:"\u6839\u76EE\u5F55",path:""},{val:"/".concat(cn.name),path:cn.name}),gt(yt),fn=lt?"".concat(lt,"/").concat(cn.name):cn.name,Un(fn)),rn(fn)},Kn=function(cn,fn){var tn=yt.filter(function(kn,Qn){return Qn<=fn});gt(tn);var Ci=tn.filter(function(kn,Qn){return Qn!==0}).map(function(kn){return kn.val}).join("").substr(1);Un(Ci),rn(Ci)},ti=function(){var hn=Object(j.a)(Q.a.mark(function cn(){var fn,tn,Ci;return Q.a.wrap(function(Qn){for(;;)switch(Qn.prev=Qn.next){case 0:if(fn=kt==null?void 0:kt.getFieldsValue(),tn=lt?"".concat(lt).concat(fn!=null&&fn.name?"/".concat(fn==null?void 0:fn.name):""):fn==null?void 0:fn.name,!Ct){Qn.next=6;break}return ze(tn),Fn(),Qn.abrupt("return");case 6:if(!at){Qn.next=16;break}return Qn.next=9,kt.validateFields();case 9:return Qn.next=11,Ut({type:"shixunsDetail/uploadGitFolder",payload:Object(P.a)(Object(P.a)({},{id:Nt.id,path:tn}),un.current?{}:{secret_repository:!0})});case 11:Ci=Qn.sent,ze(Rt),Ci.status===0&&g.b.info("\u65B0\u5EFA\u6210\u529F"),Qn.next=18;break;case 16:ze(tn),g.b.success("\u9009\u62E9\u6587\u4EF6\u76EE\u5F55\u6210\u529F");case 18:Fn();case 19:case"end":return Qn.stop()}},cn)}));return function(){return hn.apply(this,arguments)}}(),Fn=function(){Ut({type:"shixunsDetail/setActionTabs",payload:{}}),kt.resetFields()};return I.a.createElement(E.a,{centered:!0,title:In||"\u65B0\u5EFA\u6587\u4EF6\u5939",closable:!1,keyboard:!1,visible:pt.actionTabs.key==="Repository-SelectFilePath",onOk:ti,onCancel:Fn},I.a.createElement("div",{className:mt.a.wrap},I.a.createElement("div",{className:mt.a.content},I.a.createElement("div",{className:mt.a.mainPathWrap},!!(yt!=null&&yt.length)&&yt.map(function(hn,cn){return I.a.createElement("a",{key:cn,onClick:function(){return Kn(hn,cn)}},hn.val)})),!!(yn!=null&&yn.length)&&yn.map(function(hn,cn){return hn.type==="tree"&&I.a.createElement("a",{key:cn,onClick:function(){return fi(hn)}},I.a.createElement("i",{className:"iconfont icon-wenjianjia ".concat(mt.a.colorBlue)}),hn.name)})),I.a.createElement("label",{className:"mt5"},"\u9009\u4E2D\u7684\u65B0\u5EFA\u6587\u4EF6\u5939\u76EE\u5F55\uFF1A"),I.a.createElement("div",{className:"mt5 mb5"},lt),at&&I.a.createElement(K.a,{form:kt,scrollToFirstError:!0,className:"mt20"},I.a.createElement(K.a.Item,{name:"name",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u540D\u79F0"},{whitespace:!0,message:"\u8BF7\u52FF\u8F93\u5165\u7A7A\u683C"}]},I.a.createElement(Ae.a,{placeholder:"\u8BF7\u8F93\u5165\u65B0\u6587\u4EF6\u5939\u540D/\u5B50\u6587\u4EF6\u5939\u540D\u3002\uFF08\u5982\uFF1Asrc/step1\uFF09"})))))},$e=Object(D.a)(function(ht){var We=ht.shixunsDetail,pt=ht.loading,Dt=ht.globalSetting;return{shixunsDetail:We,globalSetting:Dt,loading:pt.models.index}})(Lt),Xn=s("GZ0F"),Rn=s("8Skl"),Bt=s("HBuW"),ut=s("LvDl"),Wt=s("NLgs"),It=s("lzim"),pn=R.a.DirectoryTree,en=function(We){var pt,Dt,Ht,Ut=We.shixunsDetail,In=We.globalSetting,ln=We.loading,rt=We.user,Ze=We.activeKey,at=We.dispatch,Xe=We.taskData,Ct=We.practiceSetting,Ge=We.isRepository,ze=We.treeData,Zt=We.setTreeData,Ot=We.params,kt=Object(F.a)(We,["shixunsDetail","globalSetting","loading","user","activeKey","dispatch","taskData","practiceSetting","isRepository","treeData","setTreeData","params"]),Nt=Object(Re.h)(),Kt=Object(y.useState)(),un=Object(X.a)(Kt,2),Hn=un[0],je=un[1],lt=Object(y.useState)(!1),Un=Object(X.a)(lt,2),bi=Un[0],wn=Un[1],Rt=Object(y.useState)(!1),xt=Object(X.a)(Rt,2),et=xt[0],Pt=xt[1],yt=Object(y.useState)(!1),gt=Object(X.a)(yt,2),Mt=gt[0],Gn=gt[1],yn=Object(y.useState)(!1),Jt=Object(X.a)(yn,2),rn=Jt[0],fi=Jt[1],Kn=Object(y.useState)(""),ti=Object(X.a)(Kn,2),Fn=ti[0],hn=ti[1],cn=Object(y.useState)([]),fn=Object(X.a)(cn,2),tn=fn[0],Ci=fn[1],kn=Object(y.useState)([]),Qn=Object(X.a)(kn,2),sr=Qn[0],pi=Qn[1],lr=Object(y.useState)([]),jr=Object(X.a)(lr,2),_a=jr[0],Vr=jr[1],sa=Object(y.useState)(!1),Ur=Object(X.a)(sa,2),Vi=Ur[0],En=Ur[1],vn=Object(y.useState)(),Zn=Object(X.a)(vn,2),Di=Zn[0],ur=Zn[1],Ri=Object(y.useState)(),Bi=Object(X.a)(Ri,2),Ji=Bi[0],Pn=Bi[1],Wi=Object(y.useState)(""),yr=Object(X.a)(Wi,2),Mi=yr[0],ya=yr[1],gr=Object(y.useState)(),vr=Object(X.a)(gr,2),Sr=vr[0],Xi=vr[1],la=Object(y.useState)(!1),Zi=Object(X.a)(la,2),Fr=Zi[0],Jr=Zi[1];Object(y.useEffect)(function(){Zt([]),qi(""),localStorage.warehouseHideTip||En(!0)},[Nt.pathname,Ge]),Object(y.useEffect)(function(){var wt;if(Xe!=null&&(wt=Xe.challenge)!==null&&wt!==void 0&&wt.path&&ze!==null&&ze!==void 0&&ze.length){var Be,ct,qe,Et=Xe==null||((Be=Xe.challenge)===null||Be===void 0||((ct=Be.path)===null||ct===void 0))?void 0:ct.replaceAll("\uFF1B",""),jt=(qe=Object(ut.cloneDeep)(ze))===null||qe===void 0?void 0:qe.filter(function(mn){var bn;return mn.name===(Et==null||((bn=Et.split("/"))===null||bn===void 0)?void 0:bn[0])});Cr(Et),(ze==null?void 0:ze.length)!==1&&(console.log(jt,"filterTreeData"),Zt(jt))}},[Xe==null||((pt=Xe.challenge)===null||pt===void 0)?void 0:pt.path,ze]);var Cr=function(Be){br(Be),sr=[Be],pi([Be])},Ya=function(){var wt=Object(j.a)(Q.a.mark(function Be(){var ct,qe,Et=arguments;return Q.a.wrap(function(mn){for(;;)switch(mn.prev=mn.next){case 0:return ct=Et.length>0&&Et[0]!==void 0?Et[0]:"",mn.next=3,Object(Bt.Gb)({id:Ot.id,secret_dir_path:ct});case 3:qe=mn.sent,qe&&Xi(ct);case 5:case"end":return mn.stop()}},Be)}));return function(){return wt.apply(this,arguments)}}(),ua=function(Be){return I.a.createElement(z.a,{className:Ve.a.menu,onClick:function(qe){hn(Be.path||"");switch(qe.key){case"1":Object(ge.cb)(["\u5B9E\u8DF5\u9879\u76EE","\u8BBE\u7F6E","\u4EE3\u7801\u4ED3\u5E93","\u65B0\u5EFA\u6587\u4EF6"]),wn(!0);break;case"2":Object(ge.cb)(["\u5B9E\u8DF5\u9879\u76EE","\u8BBE\u7F6E","\u4EE3\u7801\u4ED3\u5E93","\u65B0\u5EFA\u6587\u4EF6\u5939"]),Gn(!0);break;case"3":Object(ge.cb)(["\u5B9E\u8DF5\u9879\u76EE","\u8BBE\u7F6E","\u4EE3\u7801\u4ED3\u5E93","\u4E0A\u4F20"]),fi(!0);break;case"4":Object(ge.cb)(["\u5B9E\u8DF5\u9879\u76EE","\u8BBE\u7F6E","\u4EE3\u7801\u4ED3\u5E93","\u91CD\u547D\u540D"]),Pt(!0);break;case"5":Object(ge.cb)(["\u5B9E\u8DF5\u9879\u76EE","\u8BBE\u7F6E","\u4EE3\u7801\u4ED3\u5E93","\u5220\u9664"]),Oa(Be.path,Be.name,Be);break;case"6":Object(ge.cb)(["\u5B9E\u8DF5\u9879\u76EE","\u8BBE\u7F6E","\u4EE3\u7801\u4ED3\u5E93","\u590D\u5236\u8DEF\u5F84"]),Ja(Be);break}}},(Be.type==="topTree"||Be.type==="tree")&&I.a.createElement(z.a.Item,{key:"1"},"\u65B0\u5EFA\u6587\u4EF6"),(Be.type==="topTree"||Be.type==="tree")&&I.a.createElement(z.a.Item,{key:"2"},"\u65B0\u5EFA\u6587\u4EF6\u5939"),(Be.type==="topTree"||Be.type==="tree")&&I.a.createElement(z.a.Item,{key:"3"},"\u4E0A\u4F20"),Be.type!=="topTree"&&Be.type!=="tree"&&I.a.createElement(z.a.Item,{key:"4"},"\u91CD\u547D\u540D"),Be.type!=="topTree"&&I.a.createElement(fe.CopyToClipboard,{text:"/data/workspace/myshixun/".concat(Ge?"":"secret/").concat(Be==null?void 0:Be.path),onCopy:function(){return g.b.success("\u590D\u5236\u6210\u529F")}},I.a.createElement(z.a.Item,{key:"6"},I.a.createElement(I.a.Fragment,null,"\u590D\u5236\u8DEF\u5F84"))),Be.type!=="topTree"&&I.a.createElement(z.a.Item,{key:"5"},"\u5220\u9664"))},Va=function(Be,ct){return Be.map(function(qe){return ct==""?qe.path=ct+qe.name:qe.path=ct+"/"+qe.name,qe.title=I.a.createElement(ie.a,{className:"font14"},I.a.createElement(ae.a,{flex:"1"},I.a.createElement(ie.a,null,I.a.createElement(ae.a,{flex:"20px"},qe.type==="blob"&&I.a.createElement("span",{className:"iconfont icon-wenjian11 font12"})),I.a.createElement(ae.a,{flex:"1"},I.a.createElement("span",{className:" multi_ellipsis1"},qe.name)))),I.a.createElement(ae.a,null,(qe.type==="blob"||qe.type==="tree")&&I.a.createElement(A.a,{overlay:ua(qe),className:Ve.a.ellipsis},I.a.createElement("i",{className:"iconfont icon-gengduo2 c-555a88"})))),qe.disableCheckbox=Hn&&Hn!==qe.name,qe.className=qe.type==="tree"?Ve.a.pl23:"",qe.checkable=qe.type!=="tree",qe.isLeaf=qe.type!=="tree",qe.children=qe.type==="tree"&&[],qe.key=qe.path,qe})},br=function(Be){at({type:"practiceSetting/setSideBarTabs",payload:{selectPath:Be}})},ca=function(){var wt=Object(j.a)(Q.a.mark(function Be(ct,qe){var Et;return Q.a.wrap(function(mn){for(;;)switch(mn.prev=mn.next){case 0:return Et=ct.split("/"),mn.next=3,qi(Fn);case 3:setTimeout(function(){br(ct),tn=[Et[0]||""],sr=[ct],pi(Object(u.a)(sr)),Ci(Object(u.a)(tn))},150);case 4:case"end":return mn.stop()}},Be)}));return function(ct,qe){return wt.apply(this,arguments)}}(),Ea=function(Be,ct){if(console.log(Be,"data"),ct=="")Zt(Object(u.a)(Be));else{var qe=Xr(ze,ct,Be);Zt(Object(u.a)(qe))}};function Xr(wt,Be,ct){return wt.map(function(qe){return qe.key===Be?(qe.children=Object(u.a)(ct),Object(P.a)({},qe)):qe.children?Object(P.a)(Object(P.a)({},qe),{},{children:Xr(qe.children,Be,ct)}):qe})}var qi=function(){var wt=Object(j.a)(Q.a.mark(function Be(){var ct,qe,Et,jt,mn,bn,zn=arguments;return Q.a.wrap(function(ii){for(;;)switch(ii.prev=ii.next){case 0:return qe=zn.length>0&&zn[0]!==void 0?zn[0]:"",console.log("location:",Nt),ii.next=4,Object(M.m)(Xe==null||((ct=Xe.myshixun)===null||ct===void 0)?void 0:ct.identifier,{path:qe});case 4:return Et=ii.sent,Et&&((jt=Et.trees)!==null&&jt!==void 0&&jt.length?(bn=Va(Object(u.a)(Et.trees),qe),Ea(bn,qe),Vr(Et.trees||[]),Pn((Et==null?void 0:Et.secret_dir_path)||""),console.log("handleGetRepository:",bn,qe),setTimeout(function(){return console.log(ze)},2e3)):qe==""&&Zt([]),ur(((mn=Et.commits)===null||mn===void 0?void 0:mn[0])||{})),ii.abrupt("return",Et);case 7:case"end":return ii.stop()}},Be)}));return function(){return wt.apply(this,arguments)}}(),Aa=function(){var wt=Object(j.a)(Q.a.mark(function Be(ct){return Q.a.wrap(function(Et){for(;;)switch(Et.prev=Et.next){case 0:return Et.abrupt("return",new Promise(function(){var jt=Object(j.a)(Q.a.mark(function mn(bn,zn){return Q.a.wrap(function(ii){for(;;)switch(ii.prev=ii.next){case 0:return ct.children.length&&bn(),ya(ct.path),ii.next=4,qi(ct.path);case 4:bn();case 5:case"end":return ii.stop()}},mn)}));return function(mn,bn){return jt.apply(this,arguments)}}()));case 1:case"end":return Et.stop()}},Be)}));return function(ct){return wt.apply(this,arguments)}}(),Oo=function(){var wt=Object(j.a)(Q.a.mark(function Be(ct,qe){var Et,jt;return Q.a.wrap(function(bn){for(;;)switch(bn.prev=bn.next){case 0:if(console.log("handleSelectTree",ct,qe.nativeEvent.target.nodeName,qe),Et=function(){br(qe.node.path),ct=[qe.node.path],pi(Object(u.a)(ct))},!(qe.nativeEvent.target.nodeName==="svg"||qe.nativeEvent.target.nodeName==="LI"||qe.nativeEvent.target.nodeName==="I")){bn.next=4;break}return bn.abrupt("return");case 4:qe.node.type==="blob"&&(Ct!=null&&(jt=Ct.sideBar)!==null&&jt!==void 0&&jt.confirmLeave?E.a.confirm({title:"\u79BB\u5F00\u6B64\u9875\u63D0\u793A",content:"\u7CFB\u7EDF\u53EF\u80FD\u4E0D\u4F1A\u4FDD\u5B58\u60A8\u6240\u505A\u7684\u66F4\u6539\u3002",okText:"\u79BB\u5F00",cancelText:"\u53D6\u6D88",onOk:function(){Et(),at({type:"practiceSetting/setSideBarTabs",payload:{confirmLeave:!1}})}}):Et());case 5:case"end":return bn.stop()}},Be)}));return function(ct,qe){return wt.apply(this,arguments)}}(),Oa=function(Be,ct,qe){E.a.confirm({centered:!0,title:"\u786E\u8BA4\u9700\u8981\u5220\u9664\u8BE5\u6587\u4EF6".concat(qe.children?"\u5939":"","?"),okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",onOk:function(){var Et=Object(j.a)(Q.a.mark(function mn(){var bn,zn,Nn,ii;return Q.a.wrap(function(xi){for(;;)switch(xi.prev=xi.next){case 0:return xi.next=2,Object(M.h)({id:Xe==null||((bn=Xe.myshixun)===null||bn===void 0)?void 0:bn.identifier,path:Be,message:"\u5220\u9664".concat(Be)});case 2:if(zn=xi.sent,Nn=Be.split("/"),!((zn==null?void 0:zn.status)===0)){xi.next=20;break}return g.b.info("\u5220\u9664\u6210\u529F"),Nn.splice(Nn.length-1,1),xi.next=9,qi(Nn.length>1?Nn.join("/"):"");case 9:if(ii=xi.sent,!(ii!=null&&ii.trees)){xi.next=13;break}xi.next=16;break;case 13:return Nn.splice(Nn.length-1,1),xi.next=16,qi(Nn.length>1?Nn.join("/"):"");case 16:return br(""),xi.abrupt("return",!0);case 20:(zn==null?void 0:zn.status)===-3&&E.a.info({title:"\u5220\u9664\u5931\u8D25",content:I.a.createElement("div",null,"\u8BE5\u6587\u4EF6\u201C",Be,"\u201D\u5DF2\u7ECF\u88AB\u4EFB\u52A1\u5173\u5361\u7684\u5B66\u5458\u4EFB\u52A1\u6587\u4EF6\u6216\u8BC4\u6D4B\u6267\u884C\u6587\u4EF6\u4F7F\u7528\uFF0C\u8BF7\u5148\u4FEE\u6539\u4EFB\u52A1\u5173\u5361\u4E2D\u8BC4\u6D4B\u8BBE\u7F6E\u7684\u6587\u4EF6\u8DEF\u5F84\u540E\u518D\u5220\u9664\u3002"),okText:"\u6211\u77E5\u9053\u4E86",onOk:function(){}});case 21:case"end":return xi.stop()}},mn)}));function jt(){return Et.apply(this,arguments)}return jt}()})},Ja=function(Be){console.log(Be,"item")},wa=function(){var wt=Object(j.a)(Q.a.mark(function Be(ct,qe){return Q.a.wrap(function(jt){for(;;)switch(jt.prev=jt.next){case 0:if(console.log("handleExpand",qe),!(qe.nativeEvent.target.nodeName==="svg"||qe.nativeEvent.target.nodeName==="path"||qe.nativeEvent.target.nodeName==="LI")){jt.next=5;break}return jt.abrupt("return",!0);case 5:return jt.next=7,Aa(qe.node);case 7:tn.includes(qe.node.path)?tn.splice(tn.indexOf(qe.node.path),1):tn.push(qe.node.path);case 8:Ci(Object(u.a)(tn));case 9:case"end":return jt.stop()}},Be)}));return function(ct,qe){return wt.apply(this,arguments)}}(),Rr=function(){En(!1),localStorage.warehouseHideTip=!0},Br=function(){var wt=Object(j.a)(Q.a.mark(function Be(ct){var qe,Et,jt,mn,bn;return Q.a.wrap(function(Nn){for(;;)switch(Nn.prev=Nn.next){case 0:jt="",Nn.t0=Ge,Nn.next=Nn.t0===!0?4:Nn.t0===!1?9:11;break;case 4:return jt="\u5F00\u542F\u7248\u672C\u5E93",mn="\u5F00\u542F",bn="\u4E0D\u5F00\u542F",Et=I.a.createElement("div",null,"\u65B0\u5EFA\u5B9E\u8DF5\u9898\u5173\u5361\u65F6\uFF0C\u9700\u8981\u4F7F\u7528\u4EE3\u7801\u4ED3\u5E93\uFF1B\u5982\u679C\u53EA\u6709\u9009\u62E9\u9898\u5173\u5361\uFF0C\u5219\u4E0D\u9700\u8981\u4EE3\u7801\u4ED3\u5E93\u3002\u4EE3\u7801\u4ED3\u5E93\u542F\u7528\u540E\uFF0C\u5C06\u65E0\u6CD5\u5173\u95ED\u3002"),Nn.abrupt("break",11);case 9:return Ut!=null&&(qe=Ut.detail)!==null&&qe!==void 0&&qe.secret_repository?(jt="\u5173\u95ED\u79C1\u5BC6\u4EE3\u7801\u4ED3\u5E93",mn="\u786E\u5B9A",bn="\u53D6\u6D88",Et=I.a.createElement("div",null,"\u5173\u95ED\u79C1\u5BC6\u4EE3\u7801\u4ED3\u5E93\u540E\uFF0C\u5DF2\u521B\u5EFA\u7684\u79C1\u5BC6\u4EE3\u7801\u4ED3\u5E93\u53CA\u5176\u5185\u5BB9\uFF0C\u5C06\u88AB\u5220\u9664\u3002\u786E\u8BA4\u8981\u5173\u95ED\u79C1\u5BC6\u4EE3\u7801\u4ED3\u5E93\uFF1F")):(jt="\u5F00\u542F\u79C1\u5BC6\u4EE3\u7801\u4ED3\u5E93",mn="\u4E0D\u4F7F\u7528",bn="\u4F7F\u7528",Et=I.a.createElement("div",null,"\u79C1\u5BC6\u7248\u672C\u5E93\u7684\u6587\u4EF6\u5BF9\u5B66\u5458\u59CB\u7EC8\u9690\u85CF\uFF0C\u65E0\u6CD5\u8BBF\u95EE\u67E5\u770B\u3002\u9002\u7528\u4E8E\u547D\u4EE4\u884C\u3001\u56FE\u5F62\u5316\u684C\u9762\u4E24\u7C7B\u5B9E\u8BAD\uFF0C\u5176\u4ED6\u7C7B\u578B\u5B9E\u8BAD\u4E0D\u5EFA\u8BAE\u4F7F\u7528\u79C1\u5BC6\u7248\u672C\u5E93\u3002")),Nn.abrupt("break",11);case 11:if(!(!Ge&&Object(Wt.b)(at,"\u4E0D\u80FD\u5F00\u542F/\u5173\u95ED\u79C1\u5BC6\u4EE3\u7801\u4ED3\u5E93"))){Nn.next=13;break}return Nn.abrupt("return");case 13:E.a.confirm({title:jt,okText:mn,cancelText:bn,content:Et,onOk:function(){var ar;Object(ge.cb)(["\u5B9E\u8DF5\u9879\u76EE","\u8BBE\u7F6E","\u4EE3\u7801\u4ED3\u5E93",jt]),!Ge&&!(Ut!=null&&(ar=Ut.detail)!==null&&ar!==void 0&&ar.secret_repository)||Ta(ct)},onCancel:function(){var ar;!Ge&&!(Ut!=null&&(ar=Ut.detail)!==null&&ar!==void 0&&ar.secret_repository)&&Ta(ct)}});case 14:case"end":return Nn.stop()}},Be)}));return function(ct){return wt.apply(this,arguments)}}(),Ta=function(){var wt=Object(j.a)(Q.a.mark(function Be(ct){return Q.a.wrap(function(Et){for(;;)switch(Et.prev=Et.next){case 0:if(!Ge){Et.next=6;break}return Et.next=3,Object(Bt.r)(Object(P.a)({},Ot));case 3:at({type:"practiceSetting/getCommonData",payload:Object(P.a)({},Ot)}),Et.next=8;break;case 6:return Et.next=8,Object(Bt.t)(Object(P.a)(Object(P.a)({},Ot),{},{is_secret_repository:ct}));case 8:qi(),at({type:"shixunsDetail/getShixunsDetail",payload:{id:Ot.id}});case 10:case"end":return Et.stop()}},Be)}));return function(ct){return wt.apply(this,arguments)}}(),da=function(Be){console.log(Be)},Xa=function(){var wt=Object(j.a)(Q.a.mark(function Be(ct){var qe,Et,jt,mn,bn,zn,Nn,ii,ar,xi,Sa;return Q.a.wrap(function(mi){for(;;)switch(mi.prev=mi.next){case 0:if(console.log(ct),qe=ct.node.key,Et=ct.dragNode.key,jt=ct.node.pos.split("-"),mn=ct.dropPosition-Number(jt[jt.length-1]),!(ct.node.type!=="tree"||ct.dragNode.path.split("/").length===1)){mi.next=8;break}return g.b.warn("\u672A\u79FB\u52A8\u6587\u4EF6\u76EE\u5F55\u4F4D\u7F6E"),mi.abrupt("return");case 8:return mi.next=10,at({type:"shixunsDetail/moveGitFile",payload:{id:Ot.id,from:ct.dragNode.path,to:ct.node.path+"/"+ct.dragNode.name,message:"".concat(ct.dragNode.path," move to ").concat(ct.node.path+"/"+ct.dragNode.name," ")}});case 10:if(bn=mi.sent,!(bn.status===0)){mi.next=22;break}return br(""),zn=ct.dragNode.path.split("/"),zn.pop(),mi.next=17,qi(ct.node.path);case 17:return mi.next=19,qi(zn.join("/"));case 19:return zn.pop(),mi.next=22,qi(zn.join("/"));case 22:return mi.abrupt("return");case 28:case"end":return mi.stop()}},Be)}));return function(ct){return wt.apply(this,arguments)}}();return I.a.createElement("section",{className:Ve.a.bg},I.a.createElement("div",{className:Ve.a.contentbg},I.a.createElement("div",{className:Ve.a.wrap},I.a.createElement(ie.a,{className:Ve.a.gitCode},I.a.createElement(ae.a,{flex:"1"},I.a.createElement("span",{className:"iconfont icon-daimacangku2 mr8"}),Ge?"\u4EE3\u7801\u4ED3\u5E93":"\u79C1\u5BC6\u4EE3\u7801\u4ED3\u5E93"),I.a.createElement(ae.a,null,I.a.createElement(A.a,{overlay:ua({type:"topTree"}),className:"current"},I.a.createElement(J.a,{visible:Vi,title:I.a.createElement("div",{className:"font16"},I.a.createElement(Xn.a,{style:{position:"relative",left:-35},onClick:function(){return Rr()}}),"\u70B9\u51FB\u6B64\u5904\u65B0\u5EFA\u6587\u4EF6\u3001\u65B0\u5EFA\u6587\u4EF6\u5939\u3001\u4E0A\u4F20\u6587\u4EF6\u3002",I.a.createElement("span",{onClick:function(){return Rr()},className:"iconfont icon-guanbi1 ml8 current font14"})),overlayClassName:Ve.a.overlayClass,overlayStyle:{maxWidth:500},arrowPointAtCenter:!0,placement:"right",color:"#F7B500"})))),!!ze.length&&!Ge&&I.a.createElement("div",{className:"mt20 pl20 pr20 font14 c-white"},I.a.createElement("div",null,"\u5B9E\u8BAD\u8BC4\u6D4B\u7684\u65F6\u5019\uFF0C\u7CFB\u7EDF\u4F1A\u4E34\u65F6\u5C06\u79C1\u5BC6\u4EE3\u7801\u5E93\u79FB\u52A8\u666E\u901A\u4EE3\u7801\u5E93\u7684secret\u76EE\u5F55\u4E0B\u9762\uFF0C\u8BC4\u6D4B\u7ED3\u675F\u4F1A\u6E05\u7A7Asecret\u76EE\u5F55\u5185\u5BB9\u3002\u5982\u679C\u79C1\u5BC6\u4EE3\u7801\u5E93\u4E2D\u5B58\u5728\u6587\u4EF6src/test.sh\uFF0C\u5728\u666E\u901A\u4EE3\u7801\u5E93\u8C03\u7528\u8BE5\u6587\u4EF6\u5219\u4F7F\u7528\u8DEF\u5F84\uFF1Asecret/src/test.sh")),ze.length?I.a.createElement(I.a.Fragment,null,I.a.createElement("div",{className:Ve.a.content},I.a.createElement(pn,{disabled:!!ln.effects["shixunsDetail/getFileContent"],multiple:!0,showIcon:!1,treeData:ze,switcherIcon:I.a.createElement(Rn.a,{style:{fontWeight:"bold",fontSize:14,position:"relative",top:3,marginLeft:22}}),onExpand:wa,expandedKeys:tn,selectedKeys:sr,onSelect:Oo,draggable:!0,onDragEnter:da,onDrop:Xa,allowDrop:function(Be){var ct=Be.dropNode,qe=Be.dropPosition;return!1}}))):"",!ze.length&&Ge&&(Ut==null||((Dt=Ut.detail)===null||Dt===void 0)?void 0:Dt.init_repository)&&I.a.createElement(xn,null),!ze.length&&!Ge&&(Ut==null||((Ht=Ut.detail)===null||Ht===void 0)?void 0:Ht.secret_repository)&&I.a.createElement(xn,null))),I.a.createElement(De,{taskData:Xe,visible:et,defaultPath:Fn,onClose:function(){return Pt(!1)},isRepository:!Ge,onOK:function(){var wt=Object(j.a)(Q.a.mark(function Be(ct){var qe;return Q.a.wrap(function(jt){for(;;)switch(jt.prev=jt.next){case 0:return qe=Fn.split("/"),qe.pop(),jt.next=4,qi(qe.join("/"));case 4:br("");case 5:case"end":return jt.stop()}},Be)}));return function(Be){return wt.apply(this,arguments)}}()}),I.a.createElement(k,{taskData:Xe,visible:bi,defaultPath:Fn,onClose:function(){return wn(!1)},isRepository:Ge,onOK:function(Be){ca(Be.path,Be.name)}}),I.a.createElement(Oe,{taskData:Xe,visible:Mt,defaultPath:Fn,onClose:function(){return Gn(!1)},isRepository:Ge,onOK:function(Be){ca(Be.path,Be.name)}}),I.a.createElement(Qe,{taskData:Xe,defaultPath:Fn,visible:rn,isRepository:Ge,onClose:function(){return fi(!1)},onOK:function(){var wt=Object(j.a)(Q.a.mark(function Be(ct){var qe;return Q.a.wrap(function(jt){for(;;)switch(jt.prev=jt.next){case 0:return qe=Fn.split("/"),jt.next=3,qi(Fn);case 3:tn=[qe[0]||""],sr=[Fn],pi(Object(u.a)(sr)),Ci(Object(u.a)(tn));case 7:case"end":return jt.stop()}},Be)}));return function(Be){return wt.apply(this,arguments)}}()}),I.a.createElement($e,{pathList:Fn==null?void 0:Fn.split("/"),showInputPath:!0,isMergeSelectFile:Fr,onFinish:function(Be){Fr?Ya(Be):qi(Be),Jr(!1)}}))},xn=function(){return I.a.createElement("div",{className:"mt20 pb50 ".concat(Ve.a.nodata)},I.a.createElement("div",{className:Ve.a.headLeft},"\u63D0\u793A\uFF1A",I.a.createElement("br",null),"\u6B64\u5904\u5B58\u653E\u672C\u5B9E\u8BAD\u6240\u9700\u7684\u6240\u6709\u4EE3\u7801\u7B49\u76F8\u5173\u6587\u4EF6\uFF0C\u4F60\u53EF\u4EE5\u901A\u8FC7\u4EE5\u4E0B",I.a.createElement("br",null),"\u4E24\u79CD\u65B9\u5F0F\u6765\u4F7F\u7528\uFF1A",I.a.createElement("br",null),"1\u3001",I.a.createElement("a",{href:"/forums/2784",target:"_blank"},"Git\u5BA2\u6237\u7AEF")," ","\u4E0A\u4F20\u5DF2\u6709\u6587\u4EF6\u6765\u5F00\u59CB\u4F7F\u7528\u3002",I.a.createElement("br",null),"2\u3001\u76F4\u63A5\u5728\u5E73\u53F0\u4E0A\u521B\u5EFA\u6587\u4EF6\u76EE\u5F55\u4EE5\u53CA\u76F8\u5173\u4EE3\u7801\u6587\u4EF6\u3002"),I.a.createElement("img",{width:"100%",src:It.u}))},oi=Object(D.a)(function(ht){var We=ht.shixunsDetail,pt=ht.loading,Dt=ht.globalSetting,Ht=ht.practiceSetting,Ut=ht.user;return{shixunsDetail:We,globalSetting:Dt,user:Ut,practiceSetting:Ht,loading:pt}})(en),On=s("/zsF"),si=s("PArb"),Ti=s("5GGG"),li=s.n(Ti),ir=function(We){var pt=We.shixunsDetail,Dt=We.globalSetting,Ht=We.loading,Ut=We.user,In=We.dispatch,ln=We.isRepository,rt=Object(F.a)(We,["shixunsDetail","globalSetting","loading","user","dispatch","isRepository"]),Ze=Object(P.a)(Object(P.a)({},Object(Re.i)()),Object(Re.h)().query),at=Object(y.useState)([]),Xe=Object(X.a)(at,2),Ct=Xe[0],Ge=Xe[1];Object(y.useEffect)(function(){ze()},[ln]);var ze=function(){var Zt=Object(j.a)(Q.a.mark(function Ot(){var kt;return Q.a.wrap(function(Kt){for(;;)switch(Kt.prev=Kt.next){case 0:return Kt.next=2,In({type:"shixunsDetail/getRepositoryCommit",payload:{id:Ze.id,secret_repository:ln?void 0:!0}});case 2:kt=Kt.sent,kt&&Ge(kt.commits||[]);case 4:case"end":return Kt.stop()}},Ot)}));return function(){return Zt.apply(this,arguments)}}();return I.a.createElement(I.a.Fragment,null,Ct==""&&I.a.createElement("div",{className:li.a.empty},I.a.createElement("img",{src:It.k,width:"258"}),I.a.createElement("br",null),I.a.createElement("span",{className:"c-grey-c font14"},"\u6682\u65E0\u63D0\u4EA4\u8BB0\u5F55")),Ct!=""&&I.a.createElement("section",{className:li.a.bg},I.a.createElement("div",{className:li.a.wrap},I.a.createElement("div",{className:li.a.content},Ct==null?void 0:Ct.map(function(Zt){var Ot,kt;return I.a.createElement("div",null,I.a.createElement(ie.a,{align:"middle",className:"c-white font16"},I.a.createElement(ae.a,null,Zt.title)),I.a.createElement(ie.a,{align:"middle",className:"mt20 "},I.a.createElement(ae.a,null,I.a.createElement("img",{className:li.a.imageUrl,src:Ue.a.IMG_SERVER+"/"+((Ot=Zt.author)===null||Ot===void 0?void 0:Ot.image_url)})),I.a.createElement(ae.a,{className:li.a.blueLight},I.a.createElement("span",{className:"ml20"},(kt=Zt.author)===null||kt===void 0?void 0:kt.username)),I.a.createElement(ae.a,null,I.a.createElement("span",{className:"ml20 ".concat(li.a.blueLight)},"\u63D0\u4EA4\u4E8E"),I.a.createElement("span",{className:"ml20 ".concat(li.a.blueLight)},Zt.time))),I.a.createElement(si.a,{className:li.a.divider}))})))))},rr=Object(D.a)(function(ht){var We=ht.shixunsDetail,pt=ht.loading,Dt=ht.globalSetting,Ht=ht.user;return{shixunsDetail:We,globalSetting:Dt,user:Ht,loading:pt.models.index}})(ir),Yi=s("p5ED"),Pi=he.a.TabPane,Si=function(We){var pt,Dt,Ht,Ut,In,ln,rt=We.globalSetting,Ze=We.loading,at=We.dispatch,Xe=We.practiceSetting,Ct=We.shixunsDetail,Ge=We.taskData,ze=We.taskId,Zt=We.onEditRepCode,Ot=Object(F.a)(We,["globalSetting","loading","dispatch","practiceSetting","shixunsDetail","taskData","taskId","onEditRepCode"]),kt=!(Ge!=null&&Ge.is_last_game)&&((Ge==null?void 0:Ge.shixun.status)>0||(Ge==null||((pt=Ge.user)===null||pt===void 0)?void 0:pt.identity)<5),Nt=Object(y.useState)("1"),Kt=Object(X.a)(Nt,2),un=Kt[0],Hn=Kt[1],je=Object(y.useState)("1"),lt=Object(X.a)(je,2),Un=lt[0],bi=lt[1],wn=Object(y.useState)(!0),Rt=Object(X.a)(wn,2),xt=Rt[0],et=Rt[1],Pt=Object(y.useState)({}),yt=Object(X.a)(Pt,2),gt=yt[0],Mt=yt[1],Gn=Object(y.useRef)(),yn=Object(y.useState)(!0),Jt=Object(X.a)(yn,2),rn=Jt[0],fi=Jt[1],Kn=Object(y.useState)(["2","1"]),ti=Object(X.a)(Kn,2),Fn=ti[0],hn=ti[1],cn=Object(y.useState)([]),fn=Object(X.a)(cn,2),tn=fn[0],Ci=fn[1],kn=Object(y.useRef)(),Qn=Object(P.a)(Object(P.a)({},Object(Re.i)()),{},{taskId:ze}),sr=Object(y.useState)(!1),pi=Object(X.a)(sr,2),lr=pi[0],jr=pi[1],_a=[{id:"1",name:"\u4EE3\u7801\u4ED3\u5E93"},{id:"2",name:I.a.createElement("span",null,I.a.createElement("span",null,"\u79C1\u5BC6\u4EE3\u7801\u4ED3\u5E93"),I.a.createElement(J.a,{title:"\u79C1\u5BC6\u7248\u672C\u5E93\u7684\u6587\u4EF6\u5BF9\u5B66\u5458\u59CB\u7EC8\u9690\u85CF\uFF0C\u65E0\u6CD5\u8BBF\u95EE\u67E5\u770B\u3002"},I.a.createElement("i",{className:"iconfont icon-xiaowenhao",style:{marginLeft:2,fontSize:14}})))}];Object(y.useEffect)(function(){var En,vn=Xe==null||((En=Xe.sideBar)===null||En===void 0)?void 0:En.selectPath.split("/");hn(vn)},[Xe==null||((Dt=Xe.sideBar)===null||Dt===void 0)?void 0:Dt.selectPath]);var Vr=function(vn){vn.data==="compileResltDone"&&jr(!1)};Object(y.useEffect)(function(){return window.addEventListener("message",Vr),function(){window.removeEventListener("message",Vr)}},[]);var sa=function(vn){(gt==null?void 0:gt.file_type)==="txt"&&(gt.content=vn,Mt(Object(P.a)({},gt)),Zt(vn))};Object(y.useEffect)(function(){var En;console.log(Xe==null||((En=Xe.sideBar)===null||En===void 0)?void 0:En.selectPath,"sideBar"),new Promise(function(){var vn=Object(j.a)(Q.a.mark(function Zn(Di,ur){var Ri,Bi,Ji,Pn,Wi,yr,Mi;return Q.a.wrap(function(gr){for(;;)switch(gr.prev=gr.next){case 0:if(!((Xe==null||((Ri=Xe.sideBar)===null||Ri===void 0)?void 0:Ri.selectPath)!==""&&Xe!==null&&Xe!==void 0&&(Bi=Xe.sideBar)!==null&&Bi!==void 0&&Bi.selectPath)){gr.next=5;break}return gr.next=3,Object(M.j)(ze,{path:Xe==null||((Ji=Xe.sideBar)===null||Ji===void 0)?void 0:Ji.selectPath});case 3:if(Pn=gr.sent,Pn!=null&&Pn.content||(Pn==null?void 0:Pn.content)=="")try{(Pn==null?void 0:Pn.file_type)==="txt"?(Pn.content=window.decodeURIComponent(escape(window.atob((Wi=Pn.content)===null||Wi===void 0?void 0:Wi.content))),Mt(Object(P.a)({},Pn))):(Pn.content=(yr=Pn.content)===null||yr===void 0?void 0:yr.content,Mt(Object(P.a)({},Pn)))}catch(vr){gt.content&&(Pn.content=window.atob((Mi=Pn.content)===null||Mi===void 0?void 0:Mi.content)),Mt(Object(P.a)({},Pn)),g.b.warn("\u8BF7\u786E\u8BA4\u6587\u4EF6\u5B57\u7B26\u96C6\u7F16\u7801\u662F\u5426\u4E3AUTF-8")}else at({type:"practiceSetting/setSideBarTabs",payload:{selectPath:""}});case 5:case"end":return gr.stop()}},Zn)}));return function(Zn,Di){return vn.apply(this,arguments)}}())},[Xe==null||((Ht=Xe.sideBar)===null||Ht===void 0)?void 0:Ht.selectPath]);var Ur=I.a.createElement(z.a,{className:H.a.menu,onClick:function(vn){var Zn;!(Ct!=null&&(Zn=Ct.detail)!==null&&Zn!==void 0&&Zn.secret_repository)&&vn.key==="2"&&bi("1"),Hn(vn.key),vn.key==="1"?fi(!0):fi(!1)}},I.a.createElement(z.a.Item,{disabled:!0,key:"0"},"\u5207\u6362\u4ED3\u5E93"),_a.filter(function(En){var vn,Zn;return!(Ct!=null&&(vn=Ct.detail)!==null&&vn!==void 0&&vn.init_repository)||Ct!=null&&(Zn=Ct.detail)!==null&&Zn!==void 0&&Zn.is_jupyter_lab?En.id!=="2":En}).map(function(En,vn){return I.a.createElement(z.a.Item,{className:"leaveClick",key:En.id},En.name)})),Vi=function(){var En=Object(j.a)(Q.a.mark(function vn(){var Zn,Di,ur,Ri,Bi,Ji;return Q.a.wrap(function(Wi){for(;;)switch(Wi.prev=Wi.next){case 0:return jr(!0),Wi.next=3,Object(M.L)(Ge==null||((Zn=Ge.myshixun)===null||Zn===void 0)?void 0:Zn.identifier,Object(P.a)(Object(P.a)({path:Xe==null||((Di=Xe.sideBar)===null||Di===void 0)?void 0:Di.selectPath},gt),{},{evaluate:0,game_id:Ge==null||((ur=Ge.game)===null||ur===void 0)?void 0:ur.id}));case 3:Ji=Wi.sent,(Ri=document.getElementById("latexIframeRef"))===null||Ri===void 0||((Bi=Ri.contentWindow)===null||Bi===void 0)||Bi.postMessage("compile","*"),Ji!=null&&Ji.content&&at({type:"practiceSetting/setSideBarTabs",payload:Object(P.a)(Object(P.a)({},Xe.sideBar),{},{confirmLeave:!1})});case 6:case"end":return Wi.stop()}},vn)}));return function(){return En.apply(this,arguments)}}();return I.a.createElement("div",{className:H.a.warehouse},I.a.createElement("div",{className:H.a.content},Un==="1"&&I.a.createElement(I.a.Fragment,null,I.a.createElement("aside",{className:H.a.left,id:"latex-drawer",style:{width:xt?"36%":"0%"}},I.a.createElement(m.a,{spinning:!!Ze.effects["shixunsDetail/getRepository"],wrapperClassName:"".concat(H.a.loading," ").concat(H.a.bottom0)},I.a.createElement(oi,{taskData:Ge,params:Qn,setTreeData:Ci,treeData:tn,activeKey:un,isRepository:rn})),I.a.createElement("span",{onClick:function(){return et(!1)},className:"".concat(H.a.close," iconfont icon-quxiao")})),I.a.createElement("aside",{className:H.a.right,ref:kn},(Xe==null||((Ut=Xe.sideBar)===null||Ut===void 0)?void 0:Ut.selectPath)!==""&&I.a.createElement(I.a.Fragment,null,I.a.createElement(m.a,{spinning:!!Ze.effects["shixunsDetail/getFileContent"],wrapperClassName:H.a.loading},I.a.createElement("div",{className:H.a.filePathWrp},I.a.createElement(ie.a,{align:"middle",className:"w100"},I.a.createElement(ae.a,null,I.a.createElement("span",{onClick:function(){return et(!0)},className:"iconfont icon-daimacangku2 c-white current"})),I.a.createElement(ae.a,{flex:"40px"},I.a.createElement("div",{className:H.a.line,style:{marginLeft:20}})),I.a.createElement(ae.a,{className:H.a.filePath},Fn.map(function(En,vn){return I.a.createElement("span",{className:"c-blue"},En)})))),I.a.createElement("div",{className:Ze.effects["shixunsDetail/getFileContent"]?"hide":"show"},I.a.createElement(Yi.a,{className:"darkBlue",style:{top:66,height:"calc(100% - 60px)",position:"absolute"},filename:gt.filename,type:gt.file_type==="office"?"download":gt.file_type,data:gt.content,monacoEditor:{value:gt.content,language:gt.language,onChange:function(vn){return sa(vn)},options:{fontSize:14,minimap:{enabled:!1}}}}))),(gt==null?void 0:gt.file_type)==="txt"&&I.a.createElement("div",{className:H.a.footer},(Ge==null?void 0:Ge.prev_game)&&I.a.createElement("a",{href:"/tasks/".concat(Ge==null?void 0:Ge.prev_game).concat(location.search),style:{marginRight:"auto"},onClick:function(vn){vn.preventDefault(),setTimeout(function(){return window.location.href="/tasks/".concat(Ge==null?void 0:Ge.prev_game).concat(location.search)},300)}},"\u4E0A\u4E00\u5173"),I.a.createElement(h.a,{type:"primary",size:"large",loading:lr,onClick:Vi},"\u5F00\u59CB\u7F16\u8BD1"),kt&&I.a.createElement("a",{href:"/tasks/".concat(Ge==null?void 0:Ge.next_game).concat(location.search),style:{marginLeft:"auto"},onClick:function(vn){var Zn,Di;if(vn.preventDefault(),Ge!=null&&(Zn=Ge.shixun)!==null&&Zn!==void 0&&Zn.task_pass||(Ge==null?void 0:Ge.game.status)===2||(Ge==null||((Di=Ge.user)===null||Di===void 0)?void 0:Di.identity)<5){setTimeout(function(){return window.location.href="/tasks/".concat(Ge==null?void 0:Ge.next_game).concat(location.search)},300);return}E.a.warning({centered:!0,width:530,title:"\u63D0\u793A",okText:"\u6211\u77E5\u9053\u4E86",content:I.a.createElement("p",null,"\u8BE5\u5B9E\u8DF5\u9879\u76EE\u8BBE\u7F6E\u4E86\u4E0D\u5141\u8BB8\u8DF3\u5173\u3002\u901A\u8FC7\u5F53\u524D\u5173\u5361\u540E\uFF0C\u624D\u80FD\u8FDB\u5165\u4E0B\u4E00\u5173\u3002")})}},"\u4E0B\u4E00\u5173"))),(Xe==null||((In=Xe.sideBar)===null||In===void 0)?void 0:In.selectPath)==""&&(Ct==null||((ln=Ct.detail)===null||ln===void 0)?void 0:ln.init_repository)&&I.a.createElement("div",{className:H.a.empty},I.a.createElement("img",{src:It.j,width:"258"}),I.a.createElement("br",null),I.a.createElement("span",{className:"c-grey-c"},!!(tn!=null&&tn.length)&&"\u5728\u5DE6\u4FA7\u4EE3\u7801\u4ED3\u5E93\u533A\u57DF\u70B9\u51FB\u76EE\u5F55\u6253\u5F00\u6587\u4EF6",!(tn!=null&&tn.length)&&"\u8BF7\u5148\u5728\u5DE6\u4FA7\u4E0A\u4F20\u6587\u4EF6\u6216\u65B0\u5EFA\u6587\u4EF6\uFF01")))),Un==="2"&&I.a.createElement("div",{className:H.a.commit},I.a.createElement(rr,{isRepository:rn}))))},hi=Object(D.a)(function(ht){var We=ht.loading,pt=ht.globalSetting,Dt=ht.practiceSetting,Ht=ht.shixunsDetail;return{globalSetting:pt,loading:We,practiceSetting:Dt,shixunsDetail:Ht}})(Si),mr=L.default=function(ht){var We=ht.taskId,pt=ht.taskData,Dt=ht.onEditRepCode,Ht=Object(y.useRef)(),Ut=Object(y.useRef)(),In=Object(y.useMemo)(function(){if(pt){var ln,rt,Ze,at,Xe,Ct=pt==null||((ln=pt.challenge)===null||ln===void 0||((rt=ln.path)===null||rt===void 0||((Ze=rt.replace("\uFF1B",";"))===null||Ze===void 0)))?void 0:Ze.split(";")[0];return"https://latexjs.educoder.net/index.html?id=".concat(pt==null||((at=pt.shixun)===null||at===void 0)?void 0:at.identifier,"&path=").concat(Ct,"&taskId=").concat(We,"&myshixunId=").concat(pt==null||((Xe=pt.myshixun)===null||Xe===void 0)?void 0:Xe.identifier,"&token=").concat(Object(ge.F)("_educoder_session"))}},[pt]);return I.a.createElement(ie.a,{style:{height:"100vh"},ref:Ut},I.a.createElement(ae.a,{flex:"1"},(pt==null?void 0:pt.shixun)&&I.a.createElement(hi,{taskId:We,taskData:pt,onEditRepCode:Dt})),I.a.createElement(ae.a,{flex:"1",className:N.a.wrap},I.a.createElement("iframe",{ref:Ht,id:"latexIframeRef",style:{width:"100%",border:"none",height:"100%"},src:In}),I.a.createElement("span",{className:N.a.full,onClick:function(){Object(ue.a)()?Object(ue.b)():Object(ue.d)(Ut.current)}},I.a.createElement("span",{className:"iconfont icon-quanping mr5 font12"}),"\u5168\u5C4F / \u9000\u51FA\u5168\u5C4F")))}},"4qgm":function(Me,L){Me.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADgAAAAwCAYAAABE1blzAAAIeUlEQVRoQ72aa2wU1xXHf2dm1jYEBClJGgofIFJLU0W04AdQWgJSW0UprZRIpB/aJBTxStIShWchJvbytA2lBCKKeajhQ5s2tGpFK1G1UowqKNjYBkraJCqqiCDEDZSncezdmTnVnd2FxaztmfWaa632w9459/7v75xzz71j4R61ssM6TkrYqMon3qesPjFNLt6LoWWgB5n1ttr/GcMCLKrE5qFgPJf3gRXN5XJgoMcfUIFl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agS5/I7XG0JpI4B9ebqsQN1NWuuWly2X7xVTvfestXfXarWDRHRTgT2aCMXMv3metzJp/5F4SymWhoaG5pfLZVlpL9k1a7VaVRs2bEi89HZyIOwu2b1tukQX3TL3OHGYsjw1GBwc7Oro6Kg7UthTA7mhn5yc3NfX1ycPQ5xbmhGYBSqPPYhINkMPAJDHHrJ4pWlTAOShx1FmvnSPPVoxbHxu43neAmauP7eRf2nTz2yI6FStViv0uc1/ndZCH8rgOooAAAAASUVORK5CYII="},"5DcX":function(Me,L,s){Me.exports={flex_box_center:"flex_box_center___ITCrt",flex_space_between:"flex_space_between___miKTU",flex_box_vertical_center:"flex_box_vertical_center___21Sc2",flex_box_center_end:"flex_box_center_end___3G7O1",flex_box_column:"flex_box_column___2UQvZ",menu:"menu___3WFLo",warehouse:"warehouse___2PwKB",header:"header___Sod9H",title:"title___1Y3oM",content:"content___1E7ip",left:"left___2pmQt",close:"close___37Pej",right:"right___1JM70",loading:"loading___2h7Lc",empty:"empty___2PqJB",tabs:"tabs___zn34y",line:"line___2Ft7K",footer:"footer___cQjHk",commit:"commit___1TgxV",blueLight:"blueLight___a6l-z",filePathWrp:"filePathWrp___104JD",filePath:"filePath___21Vqm",bottom0:"bottom0___3wcE2"}},"5GGG":function(Me,L,s){Me.exports={flex_box_center:"flex_box_center___jZegZ",flex_space_between:"flex_space_between___LWg4q",flex_box_vertical_center:"flex_box_vertical_center___29tJ6",flex_box_center_end:"flex_box_center_end___21Gx8",flex_box_column:"flex_box_column___1Vfub",commitWrap:"commitWrap___1Pjn4",wrap:"wrap___2rrrf",colorGray:"colorGray___qLOU5",content:"content___26EBx",itemTime:"itemTime___sQDA2",imageUrl:"imageUrl___29qPZ",blueLight:"blueLight___WsUcs",divider:"divider___1Yxuo",empty:"empty___1tN2T"}},"5VLF":function(Me,L,s){"use strict";var re,ie;function Ie(ae,y,I){var ue=function(ge,a){return ae.js_beautify(ge,a)};return ue.js=ae.js_beautify,ue.css=y.css_beautify,ue.html=I.html_beautify,ue.js_beautify=ae.js_beautify,ue.css_beautify=y.css_beautify,ue.html_beautify=I.html_beautify,ue}!(re=[s("6UM0"),s("TXwP"),s("psGv")],ie=function(ae,y,I){return Ie(ae,y,I)}.apply(L,re),ie!==void 0&&(Me.exports=ie))},"5Y4S":function(Me,L,s){"use strict";s.d(L,"a",function(){return Ie});var re=s("MNsG");const ie=re.b.performance&&typeof re.b.performance.now=="function";class Ie{constructor(ae){this._highResolution=ie&&ae,this._startTime=this._now(),this._stopTime=-1}static create(ae=!0){return new Ie(ae)}stop(){this._stopTime=this._now()}elapsed(){return this._stopTime!==-1?this._stopTime-this._startTime:this._now()-this._startTime}_now(){return this._highResolution?re.b.performance.now():Date.now()}}},"6UM0":function(Me,L,s){var re,ie;(function(){var Ie;(function(){"use strict";var y=[function(a,N,S){var E=S(1).Beautifier,f=S(5).Options;function h(d,m){var C=new E(d,m);return C.beautify()}a.exports=h,a.exports.defaultOptions=function(){return new f}},function(a,N,S){var E=S(2).Output,f=S(3).Token,h=S(4),d=S(5).Options,m=S(7).Tokenizer,C=S(7).line_starters,z=S(7).positionable_operators,v=S(7).TOKEN;function g(l,R){return R.indexOf(l)!==-1}function j(l){return l.replace(/^\s+/g,"")}function G(l){for(var R={},M=0;M<l.length;M++)R[l[M].replace(/-/g,"_")]=l[M];return R}function J(l,R){return l&&l.type===v.RESERVED&&l.text===R}function P(l,R){return l&&l.type===v.RESERVED&&g(l.text,R)}var X=["case","return","do","if","throw","else","await","break","continue","async"],F=["before-newline","after-newline","preserve-newline"],oe=G(F),he=[oe.before_newline,oe.preserve_newline],ce={BlockStatement:"BlockStatement",Statement:"Statement",ObjectLiteral:"ObjectLiteral",ArrayLiteral:"ArrayLiteral",ForInitializer:"ForInitializer",Conditional:"Conditional",Expression:"Expression"};function Q(l,R){if(R.multiline_frame||R.mode===ce.ForInitializer||R.mode===ce.Conditional)return;l.remove_indent(R.start_line_index)}function W(l){l=l.replace(h.allLineBreaks,`
`);for(var R=[],M=l.indexOf(`
`);M!==-1;)R.push(l.substring(0,M)),l=l.substring(M+1),M=l.indexOf(`
`);return l.length&&R.push(l),R}function H(l){return l===ce.ArrayLiteral}function Re(l){return g(l,[ce.Expression,ce.ForInitializer,ce.Conditional])}function D(l,R){for(var M=0;M<l.length;M++){var fe=l[M].trim();if(fe.charAt(0)!==R)return!1}return!0}function u(l,R){for(var M=0,fe=l.length,Ee;M<fe;M++)if(Ee=l[M],Ee&&Ee.indexOf(R)!==0)return!1;return!0}function _(l,R){R=R||{},this._source_text=l||"",this._output=null,this._tokens=null,this._last_last_text=null,this._flags=null,this._previous_flags=null,this._flag_store=null,this._options=new d(R)}_.prototype.create_flags=function(l,R){var M=0;l&&(M=l.indentation_level,!this._output.just_added_newline()&&l.line_indent_level>M&&(M=l.line_indent_level));var fe={mode:R,parent:l,last_token:l?l.last_token:new f(v.START_BLOCK,""),last_word:l?l.last_word:"",declaration_statement:!1,declaration_assignment:!1,multiline_frame:!1,inline_frame:!1,if_block:!1,else_block:!1,class_start_block:!1,do_block:!1,do_while:!1,import_block:!1,in_case_statement:!1,in_case:!1,case_body:!1,case_block:!1,indentation_level:M,alignment:0,line_indent_level:l?l.line_indent_level:M,start_line_index:this._output.get_line_number(),ternary_depth:0};return fe},_.prototype._reset=function(l){var R=l.match(/^[\t ]*/)[0];this._last_last_text="",this._output=new E(this._options,R),this._output.raw=this._options.test_output_raw,this._flag_store=[],this.set_mode(ce.BlockStatement);var M=new m(l,this._options);return this._tokens=M.tokenize(),l},_.prototype.beautify=function(){if(this._options.disabled)return this._source_text;var l,R=this._reset(this._source_text),M=this._options.eol;this._options.eol==="auto"&&(M=`
`,R&&h.lineBreak.test(R||"")&&(M=R.match(h.lineBreak)[0]));for(var fe=this._tokens.next();fe;)this.handle_token(fe),this._last_last_text=this._flags.last_token.text,this._flags.last_token=fe,fe=this._tokens.next();return l=this._output.get_code(M),l},_.prototype.handle_token=function(l,R){l.type===v.START_EXPR?this.handle_start_expr(l):l.type===v.END_EXPR?this.handle_end_expr(l):l.type===v.START_BLOCK?this.handle_start_block(l):l.type===v.END_BLOCK?this.handle_end_block(l):l.type===v.WORD?this.handle_word(l):l.type===v.RESERVED?this.handle_word(l):l.type===v.SEMICOLON?this.handle_semicolon(l):l.type===v.STRING?this.handle_string(l):l.type===v.EQUALS?this.handle_equals(l):l.type===v.OPERATOR?this.handle_operator(l):l.type===v.COMMA?this.handle_comma(l):l.type===v.BLOCK_COMMENT?this.handle_block_comment(l,R):l.type===v.COMMENT?this.handle_comment(l,R):l.type===v.DOT?this.handle_dot(l):l.type===v.EOF?this.handle_eof(l):l.type===v.UNKNOWN?this.handle_unknown(l,R):this.handle_unknown(l,R)},_.prototype.handle_whitespace_and_comments=function(l,R){var M=l.newlines,fe=this._options.keep_array_indentation&&H(this._flags.mode);if(l.comments_before)for(var Ee=l.comments_before.next();Ee;)this.handle_whitespace_and_comments(Ee,R),this.handle_token(Ee,R),Ee=l.comments_before.next();if(fe)for(var Ae=0;Ae<M;Ae+=1)this.print_newline(Ae>0,R);else if(this._options.max_preserve_newlines&&M>this._options.max_preserve_newlines&&(M=this._options.max_preserve_newlines),this._options.preserve_newlines&&M>1){this.print_newline(!1,R);for(var _e=1;_e<M;_e+=1)this.print_newline(!0,R)}};var A=["async","break","continue","return","throw","yield"];_.prototype.allow_wrap_or_preserved_newline=function(l,R){if(R=R===void 0?!1:R,this._output.just_added_newline())return;var M=this._options.preserve_newlines&&l.newlines||R,fe=g(this._flags.last_token.text,z)||g(l.text,z);if(fe){var Ee=g(this._flags.last_token.text,z)&&g(this._options.operator_position,he)||g(l.text,z);M=M&&Ee}if(M)this.print_newline(!1,!0);else if(this._options.wrap_line_length){if(P(this._flags.last_token,A))return;this._output.set_wrap_point()}},_.prototype.print_newline=function(l,R){if(!R&&(this._flags.last_token.text!==";"&&this._flags.last_token.text!==","&&this._flags.last_token.text!=="="&&(this._flags.last_token.type!==v.OPERATOR||this._flags.last_token.text==="--"||this._flags.last_token.text==="++")))for(var M=this._tokens.peek();this._flags.mode===ce.Statement&&!(this._flags.if_block&&J(M,"else"))&&!this._flags.do_block;)this.restore_mode();this._output.add_new_line(l)&&(this._flags.multiline_frame=!0)},_.prototype.print_token_line_indentation=function(l){this._output.just_added_newline()&&(this._options.keep_array_indentation&&l.newlines&&(l.text==="["||H(this._flags.mode))?(this._output.current_line.set_indent(-1),this._output.current_line.push(l.whitespace_before),this._output.space_before_token=!1):this._output.set_indent(this._flags.indentation_level,this._flags.alignment)&&(this._flags.line_indent_level=this._flags.indentation_level))},_.prototype.print_token=function(l){if(this._output.raw){this._output.add_raw_token(l);return}if(this._options.comma_first&&l.previous&&l.previous.type===v.COMMA&&this._output.just_added_newline()&&this._output.previous_line.last()===","){var R=this._output.previous_line.pop();this._output.previous_line.is_empty()&&(this._output.previous_line.push(R),this._output.trim(!0),this._output.current_line.pop(),this._output.trim()),this.print_token_line_indentation(l),this._output.add_token(","),this._output.space_before_token=!0}this.print_token_line_indentation(l),this._output.non_breaking_space=!0,this._output.add_token(l.text),this._output.previous_token_wrapped&&(this._flags.multiline_frame=!0)},_.prototype.indent=function(){this._flags.indentation_level+=1,this._output.set_indent(this._flags.indentation_level,this._flags.alignment)},_.prototype.deindent=function(){this._flags.indentation_level>0&&(!this._flags.parent||this._flags.indentation_level>this._flags.parent.indentation_level)&&(this._flags.indentation_level-=1,this._output.set_indent(this._flags.indentation_level,this._flags.alignment))},_.prototype.set_mode=function(l){this._flags?(this._flag_store.push(this._flags),this._previous_flags=this._flags):this._previous_flags=this.create_flags(null,l),this._flags=this.create_flags(this._previous_flags,l),this._output.set_indent(this._flags.indentation_level,this._flags.alignment)},_.prototype.restore_mode=function(){this._flag_store.length>0&&(this._previous_flags=this._flags,this._flags=this._flag_store.pop(),this._previous_flags.mode===ce.Statement&&Q(this._output,this._previous_flags),this._output.set_indent(this._flags.indentation_level,this._flags.alignment))},_.prototype.start_of_object_property=function(){return this._flags.parent.mode===ce.ObjectLiteral&&this._flags.mode===ce.Statement&&(this._flags.last_token.text===":"&&this._flags.ternary_depth===0||P(this._flags.last_token,["get","set"]))},_.prototype.start_of_statement=function(l){var R=!1;return R=R||P(this._flags.last_token,["var","let","const"])&&l.type===v.WORD,R=R||J(this._flags.last_token,"do"),R=R||!(this._flags.parent.mode===ce.ObjectLiteral&&this._flags.mode===ce.Statement)&&P(this._flags.last_token,A)&&!l.newlines,R=R||J(this._flags.last_token,"else")&&!(J(l,"if")&&!l.comments_before),R=R||this._flags.last_token.type===v.END_EXPR&&(this._previous_flags.mode===ce.ForInitializer||this._previous_flags.mode===ce.Conditional),R=R||this._flags.last_token.type===v.WORD&&this._flags.mode===ce.BlockStatement&&!this._flags.in_case&&!(l.text==="--"||l.text==="++")&&this._last_last_text!=="function"&&l.type!==v.WORD&&l.type!==v.RESERVED,R=R||this._flags.mode===ce.ObjectLiteral&&(this._flags.last_token.text===":"&&this._flags.ternary_depth===0||P(this._flags.last_token,["get","set"])),R?(this.set_mode(ce.Statement),this.indent(),this.handle_whitespace_and_comments(l,!0),this.start_of_object_property()||this.allow_wrap_or_preserved_newline(l,P(l,["do","for","if","while"])),!0):!1},_.prototype.handle_start_expr=function(l){this.start_of_statement(l)||this.handle_whitespace_and_comments(l);var R=ce.Expression;if(l.text==="["){if(this._flags.last_token.type===v.WORD||this._flags.last_token.text===")"){P(this._flags.last_token,C)&&(this._output.space_before_token=!0),this.print_token(l),this.set_mode(R),this.indent(),this._options.space_in_paren&&(this._output.space_before_token=!0);return}R=ce.ArrayLiteral,H(this._flags.mode)&&((this._flags.last_token.text==="["||this._flags.last_token.text===","&&(this._last_last_text==="]"||this._last_last_text==="}"))&&(this._options.keep_array_indentation||this.print_newline())),g(this._flags.last_token.type,[v.START_EXPR,v.END_EXPR,v.WORD,v.OPERATOR,v.DOT])||(this._output.space_before_token=!0)}else{if(this._flags.last_token.type===v.RESERVED)this._flags.last_token.text==="for"?(this._output.space_before_token=this._options.space_before_conditional,R=ce.ForInitializer):g(this._flags.last_token.text,["if","while","switch"])?(this._output.space_before_token=this._options.space_before_conditional,R=ce.Conditional):g(this._flags.last_word,["await","async"])?this._output.space_before_token=!0:this._flags.last_token.text==="import"&&l.whitespace_before===""?this._output.space_before_token=!1:(g(this._flags.last_token.text,C)||this._flags.last_token.text==="catch")&&(this._output.space_before_token=!0);else if(this._flags.last_token.type===v.EQUALS||this._flags.last_token.type===v.OPERATOR)this.start_of_object_property()||this.allow_wrap_or_preserved_newline(l);else if(this._flags.last_token.type===v.WORD){this._output.space_before_token=!1;var M=this._tokens.peek(-3);if(this._options.space_after_named_function&&M){var fe=this._tokens.peek(-4);P(M,["async","function"])||M.text==="*"&&P(fe,["async","function"])?this._output.space_before_token=!0:this._flags.mode===ce.ObjectLiteral?(M.text==="{"||M.text===","||M.text==="*"&&(fe.text==="{"||fe.text===","))&&(this._output.space_before_token=!0):this._flags.parent&&this._flags.parent.class_start_block&&(this._output.space_before_token=!0)}}else this.allow_wrap_or_preserved_newline(l);(this._flags.last_token.type===v.RESERVED&&(this._flags.last_word==="function"||this._flags.last_word==="typeof")||this._flags.last_token.text==="*"&&(g(this._last_last_text,["function","yield"])||this._flags.mode===ce.ObjectLiteral&&g(this._last_last_text,["{",","])))&&(this._output.space_before_token=this._options.space_after_anon_function)}this._flags.last_token.text===";"||this._flags.last_token.type===v.START_BLOCK?this.print_newline():(this._flags.last_token.type===v.END_EXPR||this._flags.last_token.type===v.START_EXPR||this._flags.last_token.type===v.END_BLOCK||this._flags.last_token.text==="."||this._flags.last_token.type===v.COMMA)&&this.allow_wrap_or_preserved_newline(l,l.newlines),this.print_token(l),this.set_mode(R),this._options.space_in_paren&&(this._output.space_before_token=!0),this.indent()},_.prototype.handle_end_expr=function(l){for(;this._flags.mode===ce.Statement;)this.restore_mode();this.handle_whitespace_and_comments(l),this._flags.multiline_frame&&this.allow_wrap_or_preserved_newline(l,l.text==="]"&&H(this._flags.mode)&&!this._options.keep_array_indentation),this._options.space_in_paren&&(this._flags.last_token.type===v.START_EXPR&&!this._options.space_in_empty_paren?(this._output.trim(),this._output.space_before_token=!1):this._output.space_before_token=!0),this.deindent(),this.print_token(l),this.restore_mode(),Q(this._output,this._previous_flags),this._flags.do_while&&this._previous_flags.mode===ce.Conditional&&(this._previous_flags.mode=ce.Expression,this._flags.do_block=!1,this._flags.do_while=!1)},_.prototype.handle_start_block=function(l){this.handle_whitespace_and_comments(l);var R=this._tokens.peek(),M=this._tokens.peek(1);this._flags.last_word==="switch"&&this._flags.last_token.type===v.END_EXPR?(this.set_mode(ce.BlockStatement),this._flags.in_case_statement=!0):this._flags.case_body?this.set_mode(ce.BlockStatement):M&&(g(M.text,[":",","])&&g(R.type,[v.STRING,v.WORD,v.RESERVED])||g(R.text,["get","set","..."])&&g(M.type,[v.WORD,v.RESERVED]))?g(this._last_last_text,["class","interface"])&&!g(M.text,[":",","])?this.set_mode(ce.BlockStatement):this.set_mode(ce.ObjectLiteral):this._flags.last_token.type===v.OPERATOR&&this._flags.last_token.text==="=>"?this.set_mode(ce.BlockStatement):g(this._flags.last_token.type,[v.EQUALS,v.START_EXPR,v.COMMA,v.OPERATOR])||P(this._flags.last_token,["return","throw","import","default"])?this.set_mode(ce.ObjectLiteral):this.set_mode(ce.BlockStatement),this._flags.last_token&&(P(this._flags.last_token.previous,["class","extends"])&&(this._flags.class_start_block=!0));var fe=!R.comments_before&&R.text==="}",Ee=fe&&this._flags.last_word==="function"&&this._flags.last_token.type===v.END_EXPR;if(this._options.brace_preserve_inline){var Ae=0,_e=null;this._flags.inline_frame=!0;do if(Ae+=1,_e=this._tokens.peek(Ae-1),_e.newlines){this._flags.inline_frame=!1;break}while(_e.type!==v.EOF&&!(_e.type===v.END_BLOCK&&_e.opened===l))}(this._options.brace_style==="expand"||this._options.brace_style==="none"&&l.newlines)&&!this._flags.inline_frame?this._flags.last_token.type!==v.OPERATOR&&(Ee||this._flags.last_token.type===v.EQUALS||P(this._flags.last_token,X)&&this._flags.last_token.text!=="else")?this._output.space_before_token=!0:this.print_newline(!1,!0):(H(this._previous_flags.mode)&&(this._flags.last_token.type===v.START_EXPR||this._flags.last_token.type===v.COMMA)&&((this._flags.last_token.type===v.COMMA||this._options.space_in_paren)&&(this._output.space_before_token=!0),(this._flags.last_token.type===v.COMMA||this._flags.last_token.type===v.START_EXPR&&this._flags.inline_frame)&&(this.allow_wrap_or_preserved_newline(l),this._previous_flags.multiline_frame=this._previous_flags.multiline_frame||this._flags.multiline_frame,this._flags.multiline_frame=!1)),this._flags.last_token.type!==v.OPERATOR&&this._flags.last_token.type!==v.START_EXPR&&(this._flags.last_token.type===v.START_BLOCK&&!this._flags.inline_frame?this.print_newline():this._output.space_before_token=!0)),this.print_token(l),this.indent(),!fe&&!(this._options.brace_preserve_inline&&this._flags.inline_frame)&&this.print_newline()},_.prototype.handle_end_block=function(l){for(this.handle_whitespace_and_comments(l);this._flags.mode===ce.Statement;)this.restore_mode();var R=this._flags.last_token.type===v.START_BLOCK;this._flags.inline_frame&&!R?this._output.space_before_token=!0:this._options.brace_style==="expand"?R||this.print_newline():R||(H(this._flags.mode)&&this._options.keep_array_indentation?(this._options.keep_array_indentation=!1,this.print_newline(),this._options.keep_array_indentation=!0):this.print_newline()),this.restore_mode(),this.print_token(l)},_.prototype.handle_word=function(l){if(l.type===v.RESERVED){if(g(l.text,["set","get"])&&this._flags.mode!==ce.ObjectLiteral)l.type=v.WORD;else if(l.text==="import"&&g(this._tokens.peek().text,["(","."]))l.type=v.WORD;else if(g(l.text,["as","from"])&&!this._flags.import_block)l.type=v.WORD;else if(this._flags.mode===ce.ObjectLiteral){var R=this._tokens.peek();R.text===":"&&(l.type=v.WORD)}}if(this.start_of_statement(l)?P(this._flags.last_token,["var","let","const"])&&l.type===v.WORD&&(this._flags.declaration_statement=!0):l.newlines&&!Re(this._flags.mode)&&(this._flags.last_token.type!==v.OPERATOR||this._flags.last_token.text==="--"||this._flags.last_token.text==="++")&&this._flags.last_token.type!==v.EQUALS&&(this._options.preserve_newlines||!P(this._flags.last_token,["var","let","const","set","get"]))?(this.handle_whitespace_and_comments(l),this.print_newline()):this.handle_whitespace_and_comments(l),this._flags.do_block&&!this._flags.do_while)if(J(l,"while")){this._output.space_before_token=!0,this.print_token(l),this._output.space_before_token=!0,this._flags.do_while=!0;return}else this.print_newline(),this._flags.do_block=!1;if(this._flags.if_block)if(!this._flags.else_block&&J(l,"else"))this._flags.else_block=!0;else{for(;this._flags.mode===ce.Statement;)this.restore_mode();this._flags.if_block=!1,this._flags.else_block=!1}if(this._flags.in_case_statement&&P(l,["case","default"])){this.print_newline(),!this._flags.case_block&&(this._flags.case_body||this._options.jslint_happy)&&this.deindent(),this._flags.case_body=!1,this.print_token(l),this._flags.in_case=!0;return}if((this._flags.last_token.type===v.COMMA||this._flags.last_token.type===v.START_EXPR||this._flags.last_token.type===v.EQUALS||this._flags.last_token.type===v.OPERATOR)&&(this.start_of_object_property()||this.allow_wrap_or_preserved_newline(l)),J(l,"function")){(g(this._flags.last_token.text,["}",";"])||this._output.just_added_newline()&&!(g(this._flags.last_token.text,["(","[","{",":","=",","])||this._flags.last_token.type===v.OPERATOR))&&(!this._output.just_added_blankline()&&!l.comments_before&&(this.print_newline(),this.print_newline(!0))),this._flags.last_token.type===v.RESERVED||this._flags.last_token.type===v.WORD?P(this._flags.last_token,["get","set","new","export"])||P(this._flags.last_token,A)?this._output.space_before_token=!0:J(this._flags.last_token,"default")&&this._last_last_text==="export"?this._output.space_before_token=!0:this._flags.last_token.text==="declare"?this._output.space_before_token=!0:this.print_newline():this._flags.last_token.type===v.OPERATOR||this._flags.last_token.text==="="?this._output.space_before_token=!0:!this._flags.multiline_frame&&(Re(this._flags.mode)||H(this._flags.mode))||this.print_newline(),this.print_token(l),this._flags.last_word=l.text;return}var M="NONE";if(this._flags.last_token.type===v.END_BLOCK?this._previous_flags.inline_frame?M="SPACE":P(l,["else","catch","finally","from"])?this._options.brace_style==="expand"||this._options.brace_style==="end-expand"||this._options.brace_style==="none"&&l.newlines?M="NEWLINE":(M="SPACE",this._output.space_before_token=!0):M="NEWLINE":this._flags.last_token.type===v.SEMICOLON&&this._flags.mode===ce.BlockStatement?M="NEWLINE":this._flags.last_token.type===v.SEMICOLON&&Re(this._flags.mode)?M="SPACE":this._flags.last_token.type===v.STRING?M="NEWLINE":this._flags.last_token.type===v.RESERVED||this._flags.last_token.type===v.WORD||this._flags.last_token.text==="*"&&(g(this._last_last_text,["function","yield"])||this._flags.mode===ce.ObjectLiteral&&g(this._last_last_text,["{",","]))?M="SPACE":this._flags.last_token.type===v.START_BLOCK?this._flags.inline_frame?M="SPACE":M="NEWLINE":this._flags.last_token.type===v.END_EXPR&&(this._output.space_before_token=!0,M="NEWLINE"),P(l,C)&&this._flags.last_token.text!==")"&&(this._flags.inline_frame||this._flags.last_token.text==="else"||this._flags.last_token.text==="export"?M="SPACE":M="NEWLINE"),P(l,["else","catch","finally"]))if((!(this._flags.last_token.type===v.END_BLOCK&&this._previous_flags.mode===ce.BlockStatement)||this._options.brace_style==="expand"||this._options.brace_style==="end-expand"||this._options.brace_style==="none"&&l.newlines)&&!this._flags.inline_frame)this.print_newline();else{this._output.trim(!0);var fe=this._output.current_line;fe.last()!=="}"&&this.print_newline(),this._output.space_before_token=!0}else M==="NEWLINE"?P(this._flags.last_token,X)?this._output.space_before_token=!0:this._flags.last_token.text==="declare"&&P(l,["var","let","const"])?this._output.space_before_token=!0:this._flags.last_token.type!==v.END_EXPR?(this._flags.last_token.type!==v.START_EXPR||!P(l,["var","let","const"]))&&this._flags.last_token.text!==":"&&(J(l,"if")&&J(l.previous,"else")?this._output.space_before_token=!0:this.print_newline()):P(l,C)&&this._flags.last_token.text!==")"&&this.print_newline():this._flags.multiline_frame&&H(this._flags.mode)&&this._flags.last_token.text===","&&this._last_last_text==="}"?this.print_newline():M==="SPACE"&&(this._output.space_before_token=!0);l.previous&&(l.previous.type===v.WORD||l.previous.type===v.RESERVED)&&(this._output.space_before_token=!0),this.print_token(l),this._flags.last_word=l.text,l.type===v.RESERVED&&(l.text==="do"?this._flags.do_block=!0:l.text==="if"?this._flags.if_block=!0:l.text==="import"?this._flags.import_block=!0:this._flags.import_block&&J(l,"from")&&(this._flags.import_block=!1))},_.prototype.handle_semicolon=function(l){this.start_of_statement(l)?this._output.space_before_token=!1:this.handle_whitespace_and_comments(l);for(var R=this._tokens.peek();this._flags.mode===ce.Statement&&!(this._flags.if_block&&J(R,"else"))&&!this._flags.do_block;)this.restore_mode();this._flags.import_block&&(this._flags.import_block=!1),this.print_token(l)},_.prototype.handle_string=function(l){l.text.startsWith("`")&&l.newlines===0&&l.whitespace_before===""&&(l.previous.text===")"||this._flags.last_token.type===v.WORD)||(this.start_of_statement(l)?this._output.space_before_token=!0:(this.handle_whitespace_and_comments(l),this._flags.last_token.type===v.RESERVED||this._flags.last_token.type===v.WORD||this._flags.inline_frame?this._output.space_before_token=!0:this._flags.last_token.type===v.COMMA||this._flags.last_token.type===v.START_EXPR||this._flags.last_token.type===v.EQUALS||this._flags.last_token.type===v.OPERATOR?this.start_of_object_property()||this.allow_wrap_or_preserved_newline(l):l.text.startsWith("`")&&this._flags.last_token.type===v.END_EXPR&&(l.previous.text==="]"||l.previous.text===")")&&l.newlines===0?this._output.space_before_token=!0:this.print_newline())),this.print_token(l)},_.prototype.handle_equals=function(l){this.start_of_statement(l)||this.handle_whitespace_and_comments(l),this._flags.declaration_statement&&(this._flags.declaration_assignment=!0),this._output.space_before_token=!0,this.print_token(l),this._output.space_before_token=!0},_.prototype.handle_comma=function(l){this.handle_whitespace_and_comments(l,!0),this.print_token(l),this._output.space_before_token=!0,this._flags.declaration_statement?(Re(this._flags.parent.mode)&&(this._flags.declaration_assignment=!1),this._flags.declaration_assignment?(this._flags.declaration_assignment=!1,this.print_newline(!1,!0)):this._options.comma_first&&this.allow_wrap_or_preserved_newline(l)):this._flags.mode===ce.ObjectLiteral||this._flags.mode===ce.Statement&&this._flags.parent.mode===ce.ObjectLiteral?(this._flags.mode===ce.Statement&&this.restore_mode(),this._flags.inline_frame||this.print_newline()):this._options.comma_first&&this.allow_wrap_or_preserved_newline(l)},_.prototype.handle_operator=function(l){var R=l.text==="*"&&(P(this._flags.last_token,["function","yield"])||g(this._flags.last_token.type,[v.START_BLOCK,v.COMMA,v.END_BLOCK,v.SEMICOLON])),M=g(l.text,["-","+"])&&(g(this._flags.last_token.type,[v.START_BLOCK,v.START_EXPR,v.EQUALS,v.OPERATOR])||g(this._flags.last_token.text,C)||this._flags.last_token.text===",");if(!this.start_of_statement(l)){var fe=!R;this.handle_whitespace_and_comments(l,fe)}if(l.text==="*"&&this._flags.last_token.type===v.DOT){this.print_token(l);return}if(l.text==="::"){this.print_token(l);return}if(this._flags.last_token.type===v.OPERATOR&&g(this._options.operator_position,he)&&this.allow_wrap_or_preserved_newline(l),l.text===":"&&this._flags.in_case){this.print_token(l),this._flags.in_case=!1,this._flags.case_body=!0,this._tokens.peek().type!==v.START_BLOCK?(this.indent(),this.print_newline(),this._flags.case_block=!1):(this._flags.case_block=!0,this._output.space_before_token=!0);return}var Ee=!0,Ae=!0,_e=!1;if(l.text===":"?this._flags.ternary_depth===0?Ee=!1:(this._flags.ternary_depth-=1,_e=!0):l.text==="?"&&(this._flags.ternary_depth+=1),!M&&!R&&this._options.preserve_newlines&&g(l.text,z)){var K=l.text===":",ee=K&&_e,ve=K&&!_e;switch(this._options.operator_position){case oe.before_newline:this._output.space_before_token=!ve,this.print_token(l),(!K||ee)&&this.allow_wrap_or_preserved_newline(l),this._output.space_before_token=!0;return;case oe.after_newline:this._output.space_before_token=!0,!K||ee?this._tokens.peek().newlines?this.print_newline(!1,!0):this.allow_wrap_or_preserved_newline(l):this._output.space_before_token=!1,this.print_token(l),this._output.space_before_token=!0;return;case oe.preserve_newline:ve||this.allow_wrap_or_preserved_newline(l),Ee=!(this._output.just_added_newline()||ve),this._output.space_before_token=Ee,this.print_token(l),this._output.space_before_token=!0;return}}if(R){this.allow_wrap_or_preserved_newline(l),Ee=!1;var Z=this._tokens.peek();Ae=Z&&g(Z.type,[v.WORD,v.RESERVED])}else if(l.text==="...")this.allow_wrap_or_preserved_newline(l),Ee=this._flags.last_token.type===v.START_BLOCK,Ae=!1;else if(g(l.text,["--","++","!","~"])||M){if((this._flags.last_token.type===v.COMMA||this._flags.last_token.type===v.START_EXPR)&&this.allow_wrap_or_preserved_newline(l),Ee=!1,Ae=!1,l.newlines&&(l.text==="--"||l.text==="++"||l.text==="~")){var Oe=P(this._flags.last_token,X)&&l.newlines;Oe&&(this._previous_flags.if_block||this._previous_flags.else_block)&&this.restore_mode(),this.print_newline(Oe,!0)}this._flags.last_token.text===";"&&Re(this._flags.mode)&&(Ee=!0),this._flags.last_token.type===v.RESERVED?Ee=!0:this._flags.last_token.type===v.END_EXPR?Ee=!(this._flags.last_token.text==="]"&&(l.text==="--"||l.text==="++")):this._flags.last_token.type===v.OPERATOR&&(Ee=g(l.text,["--","-","++","+"])&&g(this._flags.last_token.text,["--","-","++","+"]),g(l.text,["+","-"])&&g(this._flags.last_token.text,["--","++"])&&(Ae=!0)),(this._flags.mode===ce.BlockStatement&&!this._flags.inline_frame||this._flags.mode===ce.Statement)&&(this._flags.last_token.text==="{"||this._flags.last_token.text===";")&&this.print_newline()}this._output.space_before_token=this._output.space_before_token||Ee,this.print_token(l),this._output.space_before_token=Ae},_.prototype.handle_block_comment=function(l,R){if(this._output.raw){this._output.add_raw_token(l),l.directives&&l.directives.preserve==="end"&&(this._output.raw=this._options.test_output_raw);return}if(l.directives){this.print_newline(!1,R),this.print_token(l),l.directives.preserve==="start"&&(this._output.raw=!0),this.print_newline(!1,!0);return}if(!h.newline.test(l.text)&&!l.newlines){this._output.space_before_token=!0,this.print_token(l),this._output.space_before_token=!0;return}else this.print_block_commment(l,R)},_.prototype.print_block_commment=function(l,R){var M=W(l.text),fe,Ee=!1,Ae=!1,_e=l.whitespace_before,K=_e.length;if(this.print_newline(!1,R),this.print_token_line_indentation(l),this._output.add_token(M[0]),this.print_newline(!1,R),M.length>1){for(M=M.slice(1),Ee=D(M,"*"),Ae=u(M,_e),Ee&&(this._flags.alignment=1),fe=0;fe<M.length;fe++)Ee?(this.print_token_line_indentation(l),this._output.add_token(j(M[fe]))):Ae&&M[fe]?(this.print_token_line_indentation(l),this._output.add_token(M[fe].substring(K))):(this._output.current_line.set_indent(-1),this._output.add_token(M[fe])),this.print_newline(!1,R);this._flags.alignment=0}},_.prototype.handle_comment=function(l,R){l.newlines?this.print_newline(!1,R):this._output.trim(!0),this._output.space_before_token=!0,this.print_token(l),this.print_newline(!1,R)},_.prototype.handle_dot=function(l){this.start_of_statement(l)||this.handle_whitespace_and_comments(l,!0),this._flags.last_token.text.match("^[0-9]+$")&&(this._output.space_before_token=!0),P(this._flags.last_token,X)?this._output.space_before_token=!1:this.allow_wrap_or_preserved_newline(l,this._flags.last_token.text===")"&&this._options.break_chained_methods),this._options.unindent_chained_methods&&this._output.just_added_newline()&&this.deindent(),this.print_token(l)},_.prototype.handle_unknown=function(l,R){this.print_token(l),l.text[l.text.length-1]===`
`&&this.print_newline(!1,R)},_.prototype.handle_eof=function(l){for(;this._flags.mode===ce.Statement;)this.restore_mode();this.handle_whitespace_and_comments(l)},a.exports.Beautifier=_},function(a){function N(f){this.__parent=f,this.__character_count=0,this.__indent_count=-1,this.__alignment_count=0,this.__wrap_point_index=0,this.__wrap_point_character_count=0,this.__wrap_point_indent_count=-1,this.__wrap_point_alignment_count=0,this.__items=[]}N.prototype.clone_empty=function(){var f=new N(this.__parent);return f.set_indent(this.__indent_count,this.__alignment_count),f},N.prototype.item=function(f){return f<0?this.__items[this.__items.length+f]:this.__items[f]},N.prototype.has_match=function(f){for(var h=this.__items.length-1;h>=0;h--)if(this.__items[h].match(f))return!0;return!1},N.prototype.set_indent=function(f,h){this.is_empty()&&(this.__indent_count=f||0,this.__alignment_count=h||0,this.__character_count=this.__parent.get_indent_size(this.__indent_count,this.__alignment_count))},N.prototype._set_wrap_point=function(){this.__parent.wrap_line_length&&(this.__wrap_point_index=this.__items.length,this.__wrap_point_character_count=this.__character_count,this.__wrap_point_indent_count=this.__parent.next_line.__indent_count,this.__wrap_point_alignment_count=this.__parent.next_line.__alignment_count)},N.prototype._should_wrap=function(){return this.__wrap_point_index&&this.__character_count>this.__parent.wrap_line_length&&this.__wrap_point_character_count>this.__parent.next_line.__character_count},N.prototype._allow_wrap=function(){if(this._should_wrap()){this.__parent.add_new_line();var f=this.__parent.current_line;return f.set_indent(this.__wrap_point_indent_count,this.__wrap_point_alignment_count),f.__items=this.__items.slice(this.__wrap_point_index),this.__items=this.__items.slice(0,this.__wrap_point_index),f.__character_count+=this.__character_count-this.__wrap_point_character_count,this.__character_count=this.__wrap_point_character_count,f.__items[0]===" "&&(f.__items.splice(0,1),f.__character_count-=1),!0}return!1},N.prototype.is_empty=function(){return this.__items.length===0},N.prototype.last=function(){return this.is_empty()?null:this.__items[this.__items.length-1]},N.prototype.push=function(f){this.__items.push(f);var h=f.lastIndexOf(`
`);h!==-1?this.__character_count=f.length-h:this.__character_count+=f.length},N.prototype.pop=function(){var f=null;return this.is_empty()||(f=this.__items.pop(),this.__character_count-=f.length),f},N.prototype._remove_indent=function(){this.__indent_count>0&&(this.__indent_count-=1,this.__character_count-=this.__parent.indent_size)},N.prototype._remove_wrap_indent=function(){this.__wrap_point_indent_count>0&&(this.__wrap_point_indent_count-=1)},N.prototype.trim=function(){for(;this.last()===" ";)this.__items.pop(),this.__character_count-=1},N.prototype.toString=function(){var f="";return this.is_empty()?this.__parent.indent_empty_lines&&(f=this.__parent.get_indent_string(this.__indent_count)):(f=this.__parent.get_indent_string(this.__indent_count,this.__alignment_count),f+=this.__items.join("")),f};function S(f,h){this.__cache=[""],this.__indent_size=f.indent_size,this.__indent_string=f.indent_char,f.indent_with_tabs||(this.__indent_string=new Array(f.indent_size+1).join(f.indent_char)),h=h||"",f.indent_level>0&&(h=new Array(f.indent_level+1).join(this.__indent_string)),this.__base_string=h,this.__base_string_length=h.length}S.prototype.get_indent_size=function(f,h){var d=this.__base_string_length;return h=h||0,f<0&&(d=0),d+=f*this.__indent_size,d+=h,d},S.prototype.get_indent_string=function(f,h){var d=this.__base_string;return h=h||0,f<0&&(f=0,d=""),h+=f*this.__indent_size,this.__ensure_cache(h),d+=this.__cache[h],d},S.prototype.__ensure_cache=function(f){for(;f>=this.__cache.length;)this.__add_column()},S.prototype.__add_column=function(){var f=this.__cache.length,h=0,d="";this.__indent_size&&f>=this.__indent_size&&(h=Math.floor(f/this.__indent_size),f-=h*this.__indent_size,d=new Array(h+1).join(this.__indent_string)),f&&(d+=new Array(f+1).join(" ")),this.__cache.push(d)};function E(f,h){this.__indent_cache=new S(f,h),this.raw=!1,this._end_with_newline=f.end_with_newline,this.indent_size=f.indent_size,this.wrap_line_length=f.wrap_line_length,this.indent_empty_lines=f.indent_empty_lines,this.__lines=[],this.previous_line=null,this.current_line=null,this.next_line=new N(this),this.space_before_token=!1,this.non_breaking_space=!1,this.previous_token_wrapped=!1,this.__add_outputline()}E.prototype.__add_outputline=function(){this.previous_line=this.current_line,this.current_line=this.next_line.clone_empty(),this.__lines.push(this.current_line)},E.prototype.get_line_number=function(){return this.__lines.length},E.prototype.get_indent_string=function(f,h){return this.__indent_cache.get_indent_string(f,h)},E.prototype.get_indent_size=function(f,h){return this.__indent_cache.get_indent_size(f,h)},E.prototype.is_empty=function(){return!this.previous_line&&this.current_line.is_empty()},E.prototype.add_new_line=function(f){return this.is_empty()||!f&&this.just_added_newline()?!1:(this.raw||this.__add_outputline(),!0)},E.prototype.get_code=function(f){this.trim(!0);var h=this.current_line.pop();h&&(h[h.length-1]===`
`&&(h=h.replace(/\n+$/g,"")),this.current_line.push(h)),this._end_with_newline&&this.__add_outputline();var d=this.__lines.join(`
`);return f!==`
`&&(d=d.replace(/[\n]/g,f)),d},E.prototype.set_wrap_point=function(){this.current_line._set_wrap_point()},E.prototype.set_indent=function(f,h){return f=f||0,h=h||0,this.next_line.set_indent(f,h),this.__lines.length>1?(this.current_line.set_indent(f,h),!0):(this.current_line.set_indent(),!1)},E.prototype.add_raw_token=function(f){for(var h=0;h<f.newlines;h++)this.__add_outputline();this.current_line.set_indent(-1),this.current_line.push(f.whitespace_before),this.current_line.push(f.text),this.space_before_token=!1,this.non_breaking_space=!1,this.previous_token_wrapped=!1},E.prototype.add_token=function(f){this.__add_space_before_token(),this.current_line.push(f),this.space_before_token=!1,this.non_breaking_space=!1,this.previous_token_wrapped=this.current_line._allow_wrap()},E.prototype.__add_space_before_token=function(){this.space_before_token&&!this.just_added_newline()&&(this.non_breaking_space||this.set_wrap_point(),this.current_line.push(" "))},E.prototype.remove_indent=function(f){for(var h=this.__lines.length;f<h;)this.__lines[f]._remove_indent(),f++;this.current_line._remove_wrap_indent()},E.prototype.trim=function(f){for(f=f===void 0?!1:f,this.current_line.trim();f&&this.__lines.length>1&&this.current_line.is_empty();)this.__lines.pop(),this.current_line=this.__lines[this.__lines.length-1],this.current_line.trim();this.previous_line=this.__lines.length>1?this.__lines[this.__lines.length-2]:null},E.prototype.just_added_newline=function(){return this.current_line.is_empty()},E.prototype.just_added_blankline=function(){return this.is_empty()||this.current_line.is_empty()&&this.previous_line.is_empty()},E.prototype.ensure_empty_line_above=function(f,h){for(var d=this.__lines.length-2;d>=0;){var m=this.__lines[d];if(m.is_empty())break;if(m.item(0).indexOf(f)!==0&&m.item(-1)!==h){this.__lines.splice(d+1,0,new N(this)),this.previous_line=this.__lines[this.__lines.length-2];break}d--}},a.exports.Output=E},function(a){function N(S,E,f,h){this.type=S,this.text=E,this.comments_before=null,this.newlines=f||0,this.whitespace_before=h||"",this.parent=null,this.next=null,this.previous=null,this.opened=null,this.closed=null,this.directives=null}a.exports.Token=N},function(a,N){var S="\\x23\\x24\\x40\\x41-\\x5a\\x5f\\x61-\\x7a",E="\\x24\\x30-\\x39\\x41-\\x5a\\x5f\\x61-\\x7a",f="\\xaa\\xb5\\xba\\xc0-\\xd6\\xd8-\\xf6\\xf8-\\u02c1\\u02c6-\\u02d1\\u02e0-\\u02e4\\u02ec\\u02ee\\u0370-\\u0374\\u0376\\u0377\\u037a-\\u037d\\u0386\\u0388-\\u038a\\u038c\\u038e-\\u03a1\\u03a3-\\u03f5\\u03f7-\\u0481\\u048a-\\u0527\\u0531-\\u0556\\u0559\\u0561-\\u0587\\u05d0-\\u05ea\\u05f0-\\u05f2\\u0620-\\u064a\\u066e\\u066f\\u0671-\\u06d3\\u06d5\\u06e5\\u06e6\\u06ee\\u06ef\\u06fa-\\u06fc\\u06ff\\u0710\\u0712-\\u072f\\u074d-\\u07a5\\u07b1\\u07ca-\\u07ea\\u07f4\\u07f5\\u07fa\\u0800-\\u0815\\u081a\\u0824\\u0828\\u0840-\\u0858\\u08a0\\u08a2-\\u08ac\\u0904-\\u0939\\u093d\\u0950\\u0958-\\u0961\\u0971-\\u0977\\u0979-\\u097f\\u0985-\\u098c\\u098f\\u0990\\u0993-\\u09a8\\u09aa-\\u09b0\\u09b2\\u09b6-\\u09b9\\u09bd\\u09ce\\u09dc\\u09dd\\u09df-\\u09e1\\u09f0\\u09f1\\u0a05-\\u0a0a\\u0a0f\\u0a10\\u0a13-\\u0a28\\u0a2a-\\u0a30\\u0a32\\u0a33\\u0a35\\u0a36\\u0a38\\u0a39\\u0a59-\\u0a5c\\u0a5e\\u0a72-\\u0a74\\u0a85-\\u0a8d\\u0a8f-\\u0a91\\u0a93-\\u0aa8\\u0aaa-\\u0ab0\\u0ab2\\u0ab3\\u0ab5-\\u0ab9\\u0abd\\u0ad0\\u0ae0\\u0ae1\\u0b05-\\u0b0c\\u0b0f\\u0b10\\u0b13-\\u0b28\\u0b2a-\\u0b30\\u0b32\\u0b33\\u0b35-\\u0b39\\u0b3d\\u0b5c\\u0b5d\\u0b5f-\\u0b61\\u0b71\\u0b83\\u0b85-\\u0b8a\\u0b8e-\\u0b90\\u0b92-\\u0b95\\u0b99\\u0b9a\\u0b9c\\u0b9e\\u0b9f\\u0ba3\\u0ba4\\u0ba8-\\u0baa\\u0bae-\\u0bb9\\u0bd0\\u0c05-\\u0c0c\\u0c0e-\\u0c10\\u0c12-\\u0c28\\u0c2a-\\u0c33\\u0c35-\\u0c39\\u0c3d\\u0c58\\u0c59\\u0c60\\u0c61\\u0c85-\\u0c8c\\u0c8e-\\u0c90\\u0c92-\\u0ca8\\u0caa-\\u0cb3\\u0cb5-\\u0cb9\\u0cbd\\u0cde\\u0ce0\\u0ce1\\u0cf1\\u0cf2\\u0d05-\\u0d0c\\u0d0e-\\u0d10\\u0d12-\\u0d3a\\u0d3d\\u0d4e\\u0d60\\u0d61\\u0d7a-\\u0d7f\\u0d85-\\u0d96\\u0d9a-\\u0db1\\u0db3-\\u0dbb\\u0dbd\\u0dc0-\\u0dc6\\u0e01-\\u0e30\\u0e32\\u0e33\\u0e40-\\u0e46\\u0e81\\u0e82\\u0e84\\u0e87\\u0e88\\u0e8a\\u0e8d\\u0e94-\\u0e97\\u0e99-\\u0e9f\\u0ea1-\\u0ea3\\u0ea5\\u0ea7\\u0eaa\\u0eab\\u0ead-\\u0eb0\\u0eb2\\u0eb3\\u0ebd\\u0ec0-\\u0ec4\\u0ec6\\u0edc-\\u0edf\\u0f00\\u0f40-\\u0f47\\u0f49-\\u0f6c\\u0f88-\\u0f8c\\u1000-\\u102a\\u103f\\u1050-\\u1055\\u105a-\\u105d\\u1061\\u1065\\u1066\\u106e-\\u1070\\u1075-\\u1081\\u108e\\u10a0-\\u10c5\\u10c7\\u10cd\\u10d0-\\u10fa\\u10fc-\\u1248\\u124a-\\u124d\\u1250-\\u1256\\u1258\\u125a-\\u125d\\u1260-\\u1288\\u128a-\\u128d\\u1290-\\u12b0\\u12b2-\\u12b5\\u12b8-\\u12be\\u12c0\\u12c2-\\u12c5\\u12c8-\\u12d6\\u12d8-\\u1310\\u1312-\\u1315\\u1318-\\u135a\\u1380-\\u138f\\u13a0-\\u13f4\\u1401-\\u166c\\u166f-\\u167f\\u1681-\\u169a\\u16a0-\\u16ea\\u16ee-\\u16f0\\u1700-\\u170c\\u170e-\\u1711\\u1720-\\u1731\\u1740-\\u1751\\u1760-\\u176c\\u176e-\\u1770\\u1780-\\u17b3\\u17d7\\u17dc\\u1820-\\u1877\\u1880-\\u18a8\\u18aa\\u18b0-\\u18f5\\u1900-\\u191c\\u1950-\\u196d\\u1970-\\u1974\\u1980-\\u19ab\\u19c1-\\u19c7\\u1a00-\\u1a16\\u1a20-\\u1a54\\u1aa7\\u1b05-\\u1b33\\u1b45-\\u1b4b\\u1b83-\\u1ba0\\u1bae\\u1baf\\u1bba-\\u1be5\\u1c00-\\u1c23\\u1c4d-\\u1c4f\\u1c5a-\\u1c7d\\u1ce9-\\u1cec\\u1cee-\\u1cf1\\u1cf5\\u1cf6\\u1d00-\\u1dbf\\u1e00-\\u1f15\\u1f18-\\u1f1d\\u1f20-\\u1f45\\u1f48-\\u1f4d\\u1f50-\\u1f57\\u1f59\\u1f5b\\u1f5d\\u1f5f-\\u1f7d\\u1f80-\\u1fb4\\u1fb6-\\u1fbc\\u1fbe\\u1fc2-\\u1fc4\\u1fc6-\\u1fcc\\u1fd0-\\u1fd3\\u1fd6-\\u1fdb\\u1fe0-\\u1fec\\u1ff2-\\u1ff4\\u1ff6-\\u1ffc\\u2071\\u207f\\u2090-\\u209c\\u2102\\u2107\\u210a-\\u2113\\u2115\\u2119-\\u211d\\u2124\\u2126\\u2128\\u212a-\\u212d\\u212f-\\u2139\\u213c-\\u213f\\u2145-\\u2149\\u214e\\u2160-\\u2188\\u2c00-\\u2c2e\\u2c30-\\u2c5e\\u2c60-\\u2ce4\\u2ceb-\\u2cee\\u2cf2\\u2cf3\\u2d00-\\u2d25\\u2d27\\u2d2d\\u2d30-\\u2d67\\u2d6f\\u2d80-\\u2d96\\u2da0-\\u2da6\\u2da8-\\u2dae\\u2db0-\\u2db6\\u2db8-\\u2dbe\\u2dc0-\\u2dc6\\u2dc8-\\u2dce\\u2dd0-\\u2dd6\\u2dd8-\\u2dde\\u2e2f\\u3005-\\u3007\\u3021-\\u3029\\u3031-\\u3035\\u3038-\\u303c\\u3041-\\u3096\\u309d-\\u309f\\u30a1-\\u30fa\\u30fc-\\u30ff\\u3105-\\u312d\\u3131-\\u318e\\u31a0-\\u31ba\\u31f0-\\u31ff\\u3400-\\u4db5\\u4e00-\\u9fcc\\ua000-\\ua48c\\ua4d0-\\ua4fd\\ua500-\\ua60c\\ua610-\\ua61f\\ua62a\\ua62b\\ua640-\\ua66e\\ua67f-\\ua697\\ua6a0-\\ua6ef\\ua717-\\ua71f\\ua722-\\ua788\\ua78b-\\ua78e\\ua790-\\ua793\\ua7a0-\\ua7aa\\ua7f8-\\ua801\\ua803-\\ua805\\ua807-\\ua80a\\ua80c-\\ua822\\ua840-\\ua873\\ua882-\\ua8b3\\ua8f2-\\ua8f7\\ua8fb\\ua90a-\\ua925\\ua930-\\ua946\\ua960-\\ua97c\\ua984-\\ua9b2\\ua9cf\\uaa00-\\uaa28\\uaa40-\\uaa42\\uaa44-\\uaa4b\\uaa60-\\uaa76\\uaa7a\\uaa80-\\uaaaf\\uaab1\\uaab5\\uaab6\\uaab9-\\uaabd\\uaac0\\uaac2\\uaadb-\\uaadd\\uaae0-\\uaaea\\uaaf2-\\uaaf4\\uab01-\\uab06\\uab09-\\uab0e\\uab11-\\uab16\\uab20-\\uab26\\uab28-\\uab2e\\uabc0-\\uabe2\\uac00-\\ud7a3\\ud7b0-\\ud7c6\\ud7cb-\\ud7fb\\uf900-\\ufa6d\\ufa70-\\ufad9\\ufb00-\\ufb06\\ufb13-\\ufb17\\ufb1d\\ufb1f-\\ufb28\\ufb2a-\\ufb36\\ufb38-\\ufb3c\\ufb3e\\ufb40\\ufb41\\ufb43\\ufb44\\ufb46-\\ufbb1\\ufbd3-\\ufd3d\\ufd50-\\ufd8f\\ufd92-\\ufdc7\\ufdf0-\\ufdfb\\ufe70-\\ufe74\\ufe76-\\ufefc\\uff21-\\uff3a\\uff41-\\uff5a\\uff66-\\uffbe\\uffc2-\\uffc7\\uffca-\\uffcf\\uffd2-\\uffd7\\uffda-\\uffdc",h="\\u0300-\\u036f\\u0483-\\u0487\\u0591-\\u05bd\\u05bf\\u05c1\\u05c2\\u05c4\\u05c5\\u05c7\\u0610-\\u061a\\u0620-\\u0649\\u0672-\\u06d3\\u06e7-\\u06e8\\u06fb-\\u06fc\\u0730-\\u074a\\u0800-\\u0814\\u081b-\\u0823\\u0825-\\u0827\\u0829-\\u082d\\u0840-\\u0857\\u08e4-\\u08fe\\u0900-\\u0903\\u093a-\\u093c\\u093e-\\u094f\\u0951-\\u0957\\u0962-\\u0963\\u0966-\\u096f\\u0981-\\u0983\\u09bc\\u09be-\\u09c4\\u09c7\\u09c8\\u09d7\\u09df-\\u09e0\\u0a01-\\u0a03\\u0a3c\\u0a3e-\\u0a42\\u0a47\\u0a48\\u0a4b-\\u0a4d\\u0a51\\u0a66-\\u0a71\\u0a75\\u0a81-\\u0a83\\u0abc\\u0abe-\\u0ac5\\u0ac7-\\u0ac9\\u0acb-\\u0acd\\u0ae2-\\u0ae3\\u0ae6-\\u0aef\\u0b01-\\u0b03\\u0b3c\\u0b3e-\\u0b44\\u0b47\\u0b48\\u0b4b-\\u0b4d\\u0b56\\u0b57\\u0b5f-\\u0b60\\u0b66-\\u0b6f\\u0b82\\u0bbe-\\u0bc2\\u0bc6-\\u0bc8\\u0bca-\\u0bcd\\u0bd7\\u0be6-\\u0bef\\u0c01-\\u0c03\\u0c46-\\u0c48\\u0c4a-\\u0c4d\\u0c55\\u0c56\\u0c62-\\u0c63\\u0c66-\\u0c6f\\u0c82\\u0c83\\u0cbc\\u0cbe-\\u0cc4\\u0cc6-\\u0cc8\\u0cca-\\u0ccd\\u0cd5\\u0cd6\\u0ce2-\\u0ce3\\u0ce6-\\u0cef\\u0d02\\u0d03\\u0d46-\\u0d48\\u0d57\\u0d62-\\u0d63\\u0d66-\\u0d6f\\u0d82\\u0d83\\u0dca\\u0dcf-\\u0dd4\\u0dd6\\u0dd8-\\u0ddf\\u0df2\\u0df3\\u0e34-\\u0e3a\\u0e40-\\u0e45\\u0e50-\\u0e59\\u0eb4-\\u0eb9\\u0ec8-\\u0ecd\\u0ed0-\\u0ed9\\u0f18\\u0f19\\u0f20-\\u0f29\\u0f35\\u0f37\\u0f39\\u0f41-\\u0f47\\u0f71-\\u0f84\\u0f86-\\u0f87\\u0f8d-\\u0f97\\u0f99-\\u0fbc\\u0fc6\\u1000-\\u1029\\u1040-\\u1049\\u1067-\\u106d\\u1071-\\u1074\\u1082-\\u108d\\u108f-\\u109d\\u135d-\\u135f\\u170e-\\u1710\\u1720-\\u1730\\u1740-\\u1750\\u1772\\u1773\\u1780-\\u17b2\\u17dd\\u17e0-\\u17e9\\u180b-\\u180d\\u1810-\\u1819\\u1920-\\u192b\\u1930-\\u193b\\u1951-\\u196d\\u19b0-\\u19c0\\u19c8-\\u19c9\\u19d0-\\u19d9\\u1a00-\\u1a15\\u1a20-\\u1a53\\u1a60-\\u1a7c\\u1a7f-\\u1a89\\u1a90-\\u1a99\\u1b46-\\u1b4b\\u1b50-\\u1b59\\u1b6b-\\u1b73\\u1bb0-\\u1bb9\\u1be6-\\u1bf3\\u1c00-\\u1c22\\u1c40-\\u1c49\\u1c5b-\\u1c7d\\u1cd0-\\u1cd2\\u1d00-\\u1dbe\\u1e01-\\u1f15\\u200c\\u200d\\u203f\\u2040\\u2054\\u20d0-\\u20dc\\u20e1\\u20e5-\\u20f0\\u2d81-\\u2d96\\u2de0-\\u2dff\\u3021-\\u3028\\u3099\\u309a\\ua640-\\ua66d\\ua674-\\ua67d\\ua69f\\ua6f0-\\ua6f1\\ua7f8-\\ua800\\ua806\\ua80b\\ua823-\\ua827\\ua880-\\ua881\\ua8b4-\\ua8c4\\ua8d0-\\ua8d9\\ua8f3-\\ua8f7\\ua900-\\ua909\\ua926-\\ua92d\\ua930-\\ua945\\ua980-\\ua983\\ua9b3-\\ua9c0\\uaa00-\\uaa27\\uaa40-\\uaa41\\uaa4c-\\uaa4d\\uaa50-\\uaa59\\uaa7b\\uaae0-\\uaae9\\uaaf2-\\uaaf3\\uabc0-\\uabe1\\uabec\\uabed\\uabf0-\\uabf9\\ufb20-\\ufb28\\ufe00-\\ufe0f\\ufe20-\\ufe26\\ufe33\\ufe34\\ufe4d-\\ufe4f\\uff10-\\uff19\\uff3f",d="(?:\\\\u[0-9a-fA-F]{4}|["+S+f+"])",m="(?:\\\\u[0-9a-fA-F]{4}|["+E+f+h+"])*";N.identifier=new RegExp(d+m,"g"),N.identifierStart=new RegExp(d),N.identifierMatch=new RegExp("(?:\\\\u[0-9a-fA-F]{4}|["+E+f+h+"])+");var C=/[\u1680\u180e\u2000-\u200a\u202f\u205f\u3000\ufeff]/;N.newline=/[\n\r\u2028\u2029]/,N.lineBreak=new RegExp(`\r
|`+N.newline.source),N.allLineBreaks=new RegExp(N.lineBreak.source,"g")},function(a,N,S){var E=S(6).Options,f=["before-newline","after-newline","preserve-newline"];function h(d){E.call(this,d,"js");var m=this.raw_options.brace_style||null;m==="expand-strict"?this.raw_options.brace_style="expand":m==="collapse-preserve-inline"?this.raw_options.brace_style="collapse,preserve-inline":this.raw_options.braces_on_own_line!==void 0&&(this.raw_options.brace_style=this.raw_options.braces_on_own_line?"expand":"collapse");var C=this._get_selection_list("brace_style",["collapse","expand","end-expand","none","preserve-inline"]);this.brace_preserve_inline=!1,this.brace_style="collapse";for(var z=0;z<C.length;z++)C[z]==="preserve-inline"?this.brace_preserve_inline=!0:this.brace_style=C[z];this.unindent_chained_methods=this._get_boolean("unindent_chained_methods"),this.break_chained_methods=this._get_boolean("break_chained_methods"),this.space_in_paren=this._get_boolean("space_in_paren"),this.space_in_empty_paren=this._get_boolean("space_in_empty_paren"),this.jslint_happy=this._get_boolean("jslint_happy"),this.space_after_anon_function=this._get_boolean("space_after_anon_function"),this.space_after_named_function=this._get_boolean("space_after_named_function"),this.keep_array_indentation=this._get_boolean("keep_array_indentation"),this.space_before_conditional=this._get_boolean("space_before_conditional",!0),this.unescape_strings=this._get_boolean("unescape_strings"),this.e4x=this._get_boolean("e4x"),this.comma_first=this._get_boolean("comma_first"),this.operator_position=this._get_selection("operator_position",f),this.test_output_raw=this._get_boolean("test_output_raw"),this.jslint_happy&&(this.space_after_anon_function=!0)}h.prototype=new E,a.exports.Options=h},function(a){function N(f,h){this.raw_options=S(f,h),this.disabled=this._get_boolean("disabled"),this.eol=this._get_characters("eol","auto"),this.end_with_newline=this._get_boolean("end_with_newline"),this.indent_size=this._get_number("indent_size",4),this.indent_char=this._get_characters("indent_char"," "),this.indent_level=this._get_number("indent_level"),this.preserve_newlines=this._get_boolean("preserve_newlines",!0),this.max_preserve_newlines=this._get_number("max_preserve_newlines",32786),this.preserve_newlines||(this.max_preserve_newlines=0),this.indent_with_tabs=this._get_boolean("indent_with_tabs",this.indent_char===" "),this.indent_with_tabs&&(this.indent_char=" ",this.indent_size===1&&(this.indent_size=4)),this.wrap_line_length=this._get_number("wrap_line_length",this._get_number("max_char")),this.indent_empty_lines=this._get_boolean("indent_empty_lines"),this.templating=this._get_selection_list("templating",["auto","none","django","erb","handlebars","php","smarty"],["auto"])}N.prototype._get_array=function(f,h){var d=this.raw_options[f],m=h||[];return typeof d=="object"?d!==null&&typeof d.concat=="function"&&(m=d.concat()):typeof d=="string"&&(m=d.split(/[^a-zA-Z0-9_\/\-]+/)),m},N.prototype._get_boolean=function(f,h){var d=this.raw_options[f],m=d===void 0?!!h:!!d;return m},N.prototype._get_characters=function(f,h){var d=this.raw_options[f],m=h||"";return typeof d=="string"&&(m=d.replace(/\\r/,"\r").replace(/\\n/,`
`).replace(/\\t/," ")),m},N.prototype._get_number=function(f,h){var d=this.raw_options[f];h=parseInt(h,10),isNaN(h)&&(h=0);var m=parseInt(d,10);return isNaN(m)&&(m=h),m},N.prototype._get_selection=function(f,h,d){var m=this._get_selection_list(f,h,d);if(m.length!==1)throw new Error("Invalid Option Value: The option '"+f+`' can only be one of the following values:
`+h+`
You passed in: '`+this.raw_options[f]+"'");return m[0]},N.prototype._get_selection_list=function(f,h,d){if(!h||h.length===0)throw new Error("Selection list cannot be empty.");if(d=d||[h[0]],!this._is_valid_selection(d,h))throw new Error("Invalid Default Value!");var m=this._get_array(f,d);if(!this._is_valid_selection(m,h))throw new Error("Invalid Option Value: The option '"+f+`' can contain only the following values:
`+h+`
You passed in: '`+this.raw_options[f]+"'");return m},N.prototype._is_valid_selection=function(f,h){return f.length&&h.length&&!f.some(function(d){return h.indexOf(d)===-1})};function S(f,h){var d={};f=E(f);var m;for(m in f)m!==h&&(d[m]=f[m]);if(h&&f[h])for(m in f[h])d[m]=f[h][m];return d}function E(f){var h={},d;for(d in f){var m=d.replace(/-/g,"_");h[m]=f[d]}return h}a.exports.Options=N,a.exports.normalizeOpts=E,a.exports.mergeOpts=S},function(a,N,S){var E=S(8).InputScanner,f=S(9).Tokenizer,h=S(9).TOKEN,d=S(13).Directives,m=S(4),C=S(12).Pattern,z=S(14).TemplatablePattern;function v(D,u){return u.indexOf(D)!==-1}var g={START_EXPR:"TK_START_EXPR",END_EXPR:"TK_END_EXPR",START_BLOCK:"TK_START_BLOCK",END_BLOCK:"TK_END_BLOCK",WORD:"TK_WORD",RESERVED:"TK_RESERVED",SEMICOLON:"TK_SEMICOLON",STRING:"TK_STRING",EQUALS:"TK_EQUALS",OPERATOR:"TK_OPERATOR",COMMA:"TK_COMMA",BLOCK_COMMENT:"TK_BLOCK_COMMENT",COMMENT:"TK_COMMENT",DOT:"TK_DOT",UNKNOWN:"TK_UNKNOWN",START:h.START,RAW:h.RAW,EOF:h.EOF},j=new d(/\/\*/,/\*\//),G=/0[xX][0123456789abcdefABCDEF_]*n?|0[oO][01234567_]*n?|0[bB][01_]*n?|\d[\d_]*n|(?:\.\d[\d_]*|\d[\d_]*\.?[\d_]*)(?:[eE][+-]?[\d_]+)?/,J=/[0-9]/,P=/[^\d\.]/,X=">>> === !== &&= ??= ||= << && >= ** != == <= >> || ?? |> < / - + > : & % ? ^ | *".split(" "),F=">>>= ... >>= <<= === >>> !== **= &&= ??= ||= => ^= :: /= << <= == && -= >= >> != -- += ** || ?? ++ %= &= *= |= |> = ! ? > < : / ^ - + * & % ~ |";F=F.replace(/[-[\]{}()*+?.,\\^$|#]/g,"\\$&"),F="\\?\\.(?!\\d) "+F,F=F.replace(/ /g,"|");var oe=new RegExp(F),he="continue,try,throw,return,var,let,const,if,switch,case,default,for,while,break,function,import,export".split(","),ce=he.concat(["do","in","of","else","get","set","new","catch","finally","typeof","yield","async","await","from","as","class","extends"]),Q=new RegExp("^(?:"+ce.join("|")+")$"),W,H=function(D,u){f.call(this,D,u),this._patterns.whitespace=this._patterns.whitespace.matching(/\u00A0\u1680\u180e\u2000-\u200a\u202f\u205f\u3000\ufeff/.source,/\u2028\u2029/.source);var _=new C(this._input),A=new z(this._input).read_options(this._options);this.__patterns={template:A,identifier:A.starting_with(m.identifier).matching(m.identifierMatch),number:_.matching(G),punct:_.matching(oe),comment:_.starting_with(/\/\//).until(/[\n\r\u2028\u2029]/),block_comment:_.starting_with(/\/\*/).until_after(/\*\//),html_comment_start:_.matching(/<!--/),html_comment_end:_.matching(/-->/),include:_.starting_with(/#include/).until_after(m.lineBreak),shebang:_.starting_with(/#!/).until_after(m.lineBreak),xml:_.matching(/[\s\S]*?<(\/?)([-a-zA-Z:0-9_.]+|{[^}]+?}|!\[CDATA\[[^\]]*?\]\]|)(\s*{[^}]+?}|\s+[-a-zA-Z:0-9_.]+|\s+[-a-zA-Z:0-9_.]+\s*=\s*('[^']*'|"[^"]*"|{([^{}]|{[^}]+?})+?}))*\s*(\/?)\s*>/),single_quote:A.until(/['\\\n\r\u2028\u2029]/),double_quote:A.until(/["\\\n\r\u2028\u2029]/),template_text:A.until(/[`\\$]/),template_expression:A.until(/[`}\\]/)}};H.prototype=new f,H.prototype._is_comment=function(D){return D.type===g.COMMENT||D.type===g.BLOCK_COMMENT||D.type===g.UNKNOWN},H.prototype._is_opening=function(D){return D.type===g.START_BLOCK||D.type===g.START_EXPR},H.prototype._is_closing=function(D,u){return(D.type===g.END_BLOCK||D.type===g.END_EXPR)&&u&&(D.text==="]"&&u.text==="["||D.text===")"&&u.text==="("||D.text==="}"&&u.text==="{")},H.prototype._reset=function(){W=!1},H.prototype._get_next_token=function(D,u){var _=null;this._readWhitespace();var A=this._input.peek();return A===null?this._create_token(g.EOF,""):(_=_||this._read_non_javascript(A),_=_||this._read_string(A),_=_||this._read_word(D),_=_||this._read_singles(A),_=_||this._read_comment(A),_=_||this._read_regexp(A,D),_=_||this._read_xml(A,D),_=_||this._read_punctuation(),_=_||this._create_token(g.UNKNOWN,this._input.next()),_)},H.prototype._read_word=function(D){var u;if(u=this.__patterns.identifier.read(),u!=="")return u=u.replace(m.allLineBreaks,`
`),!(D.type===g.DOT||D.type===g.RESERVED&&(D.text==="set"||D.text==="get"))&&Q.test(u)?(u==="in"||u==="of")&&(D.type===g.WORD||D.type===g.STRING)?this._create_token(g.OPERATOR,u):this._create_token(g.RESERVED,u):this._create_token(g.WORD,u);if(u=this.__patterns.number.read(),u!=="")return this._create_token(g.WORD,u)},H.prototype._read_singles=function(D){var u=null;return D==="("||D==="["?u=this._create_token(g.START_EXPR,D):D===")"||D==="]"?u=this._create_token(g.END_EXPR,D):D==="{"?u=this._create_token(g.START_BLOCK,D):D==="}"?u=this._create_token(g.END_BLOCK,D):D===";"?u=this._create_token(g.SEMICOLON,D):D==="."&&P.test(this._input.peek(1))?u=this._create_token(g.DOT,D):D===","&&(u=this._create_token(g.COMMA,D)),u&&this._input.next(),u},H.prototype._read_punctuation=function(){var D=this.__patterns.punct.read();if(D!=="")return D==="="?this._create_token(g.EQUALS,D):D==="?."?this._create_token(g.DOT,D):this._create_token(g.OPERATOR,D)},H.prototype._read_non_javascript=function(D){var u="";if(D==="#"){if(this._is_first_token()&&(u=this.__patterns.shebang.read(),u))return this._create_token(g.UNKNOWN,u.trim()+`
`);if(u=this.__patterns.include.read(),u)return this._create_token(g.UNKNOWN,u.trim()+`
`);D=this._input.next();var _="#";if(this._input.hasNext()&&this._input.testChar(J)){do D=this._input.next(),_+=D;while(this._input.hasNext()&&D!=="#"&&D!=="=");return D==="#"||(this._input.peek()==="["&&this._input.peek(1)==="]"?(_+="[]",this._input.next(),this._input.next()):this._input.peek()==="{"&&this._input.peek(1)==="}"&&(_+="{}",this._input.next(),this._input.next())),this._create_token(g.WORD,_)}this._input.back()}else if(D==="<"&&this._is_first_token()){if(u=this.__patterns.html_comment_start.read(),u){for(;this._input.hasNext()&&!this._input.testChar(m.newline);)u+=this._input.next();return W=!0,this._create_token(g.COMMENT,u)}}else if(W&&D==="-"&&(u=this.__patterns.html_comment_end.read(),u))return W=!1,this._create_token(g.COMMENT,u);return null},H.prototype._read_comment=function(D){var u=null;if(D==="/"){var _="";if(this._input.peek(1)==="*"){_=this.__patterns.block_comment.read();var A=j.get_directives(_);A&&A.ignore==="start"&&(_+=j.readIgnored(this._input)),_=_.replace(m.allLineBreaks,`
`),u=this._create_token(g.BLOCK_COMMENT,_),u.directives=A}else this._input.peek(1)==="/"&&(_=this.__patterns.comment.read(),u=this._create_token(g.COMMENT,_))}return u},H.prototype._read_string=function(D){if(D==="`"||D==="'"||D==='"'){var u=this._input.next();return this.has_char_escapes=!1,D==="`"?u+=this._read_string_recursive("`",!0,"${"):u+=this._read_string_recursive(D),this.has_char_escapes&&this._options.unescape_strings&&(u=Re(u)),this._input.peek()===D&&(u+=this._input.next()),u=u.replace(m.allLineBreaks,`
`),this._create_token(g.STRING,u)}return null},H.prototype._allow_regexp_or_xml=function(D){return D.type===g.RESERVED&&v(D.text,["return","case","throw","else","do","typeof","yield"])||D.type===g.END_EXPR&&D.text===")"&&D.opened.previous.type===g.RESERVED&&v(D.opened.previous.text,["if","while","for"])||v(D.type,[g.COMMENT,g.START_EXPR,g.START_BLOCK,g.START,g.END_BLOCK,g.OPERATOR,g.EQUALS,g.EOF,g.SEMICOLON,g.COMMA])},H.prototype._read_regexp=function(D,u){if(D==="/"&&this._allow_regexp_or_xml(u)){for(var _=this._input.next(),A=!1,l=!1;this._input.hasNext()&&(A||l||this._input.peek()!==D)&&!this._input.testChar(m.newline);)_+=this._input.peek(),A?A=!1:(A=this._input.peek()==="\\",this._input.peek()==="["?l=!0:this._input.peek()==="]"&&(l=!1)),this._input.next();return this._input.peek()===D&&(_+=this._input.next(),_+=this._input.read(m.identifier)),this._create_token(g.STRING,_)}return null},H.prototype._read_xml=function(D,u){if(this._options.e4x&&D==="<"&&this._allow_regexp_or_xml(u)){var _="",A=this.__patterns.xml.read_match();if(A){for(var l=A[2].replace(/^{\s+/,"{").replace(/\s+}$/,"}"),R=l.indexOf("{")===0,M=0;A;){var fe=!!A[1],Ee=A[2],Ae=!!A[A.length-1]||Ee.slice(0,8)==="![CDATA[";if(!Ae&&(Ee===l||R&&Ee.replace(/^{\s+/,"{").replace(/\s+}$/,"}"))&&(fe?--M:++M),_+=A[0],M<=0)break;A=this.__patterns.xml.read_match()}return A||(_+=this._input.match(/[\s\S]*/g)[0]),_=_.replace(m.allLineBreaks,`
`),this._create_token(g.STRING,_)}}return null};function Re(D){for(var u="",_=0,A=new E(D),l=null;A.hasNext();)if(l=A.match(/([\s]|[^\\]|\\\\)+/g),l&&(u+=l[0]),A.peek()==="\\"){if(A.next(),A.peek()==="x")l=A.match(/x([0-9A-Fa-f]{2})/g);else if(A.peek()==="u")l=A.match(/u([0-9A-Fa-f]{4})/g);else{u+="\\",A.hasNext()&&(u+=A.next());continue}if(!l)return D;if(_=parseInt(l[1],16),_>126&&_<=255&&l[0].indexOf("x")===0)return D;if(_>=0&&_<32){u+="\\"+l[0];continue}else _===34||_===39||_===92?u+="\\"+String.fromCharCode(_):u+=String.fromCharCode(_)}return u}H.prototype._read_string_recursive=function(D,u,_){var A,l;D==="'"?l=this.__patterns.single_quote:D==='"'?l=this.__patterns.double_quote:D==="`"?l=this.__patterns.template_text:D==="}"&&(l=this.__patterns.template_expression);for(var R=l.read(),M="";this._input.hasNext();){if(M=this._input.next(),M===D||!u&&m.newline.test(M)){this._input.back();break}else M==="\\"&&this._input.hasNext()?(A=this._input.peek(),A==="x"||A==="u"?this.has_char_escapes=!0:A==="\r"&&this._input.peek(1)===`
`&&this._input.next(),M+=this._input.next()):_&&(_==="${"&&M==="$"&&this._input.peek()==="{"&&(M+=this._input.next()),_===M&&(D==="`"?M+=this._read_string_recursive("}",u,"`"):M+=this._read_string_recursive("`",u,"${"),this._input.hasNext()&&(M+=this._input.next())));M+=l.read(),R+=M}return R},a.exports.Tokenizer=H,a.exports.TOKEN=g,a.exports.positionable_operators=X.slice(),a.exports.line_starters=he.slice()},function(a){var N=RegExp.prototype.hasOwnProperty("sticky");function S(E){this.__input=E||"",this.__input_length=this.__input.length,this.__position=0}S.prototype.restart=function(){this.__position=0},S.prototype.back=function(){this.__position>0&&(this.__position-=1)},S.prototype.hasNext=function(){return this.__position<this.__input_length},S.prototype.next=function(){var E=null;return this.hasNext()&&(E=this.__input.charAt(this.__position),this.__position+=1),E},S.prototype.peek=function(E){var f=null;return E=E||0,E+=this.__position,E>=0&&E<this.__input_length&&(f=this.__input.charAt(E)),f},S.prototype.__match=function(E,f){E.lastIndex=f;var h=E.exec(this.__input);return h&&!(N&&E.sticky)&&(h.index!==f&&(h=null)),h},S.prototype.test=function(E,f){return f=f||0,f+=this.__position,f>=0&&f<this.__input_length?!!this.__match(E,f):!1},S.prototype.testChar=function(E,f){var h=this.peek(f);return E.lastIndex=0,h!==null&&E.test(h)},S.prototype.match=function(E){var f=this.__match(E,this.__position);return f?this.__position+=f[0].length:f=null,f},S.prototype.read=function(E,f,h){var d="",m;return E&&(m=this.match(E),m&&(d+=m[0])),f&&(m||!E)&&(d+=this.readUntil(f,h)),d},S.prototype.readUntil=function(E,f){var h="",d=this.__position;E.lastIndex=this.__position;var m=E.exec(this.__input);return m?(d=m.index,f&&(d+=m[0].length)):d=this.__input_length,h=this.__input.substring(this.__position,d),this.__position=d,h},S.prototype.readUntilAfter=function(E){return this.readUntil(E,!0)},S.prototype.get_regexp=function(E,f){var h=null,d="g";return f&&N&&(d="y"),typeof E=="string"&&E!==""?h=new RegExp(E,d):E&&(h=new RegExp(E.source,d)),h},S.prototype.get_literal_regexp=function(E){return RegExp(E.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&"))},S.prototype.peekUntilAfter=function(E){var f=this.__position,h=this.readUntilAfter(E);return this.__position=f,h},S.prototype.lookBack=function(E){var f=this.__position-1;return f>=E.length&&this.__input.substring(f-E.length,f).toLowerCase()===E},a.exports.InputScanner=S},function(a,N,S){var E=S(8).InputScanner,f=S(3).Token,h=S(10).TokenStream,d=S(11).WhitespacePattern,m={START:"TK_START",RAW:"TK_RAW",EOF:"TK_EOF"},C=function(z,v){this._input=new E(z),this._options=v||{},this.__tokens=null,this._patterns={},this._patterns.whitespace=new d(this._input)};C.prototype.tokenize=function(){this._input.restart(),this.__tokens=new h,this._reset();for(var z,v=new f(m.START,""),g=null,j=[],G=new h;v.type!==m.EOF;){for(z=this._get_next_token(v,g);this._is_comment(z);)G.add(z),z=this._get_next_token(v,g);G.isEmpty()||(z.comments_before=G,G=new h),z.parent=g,this._is_opening(z)?(j.push(g),g=z):g&&this._is_closing(z,g)&&(z.opened=g,g.closed=z,g=j.pop(),z.parent=g),z.previous=v,v.next=z,this.__tokens.add(z),v=z}return this.__tokens},C.prototype._is_first_token=function(){return this.__tokens.isEmpty()},C.prototype._reset=function(){},C.prototype._get_next_token=function(z,v){this._readWhitespace();var g=this._input.read(/.+/g);return g?this._create_token(m.RAW,g):this._create_token(m.EOF,"")},C.prototype._is_comment=function(z){return!1},C.prototype._is_opening=function(z){return!1},C.prototype._is_closing=function(z,v){return!1},C.prototype._create_token=function(z,v){var g=new f(z,v,this._patterns.whitespace.newline_count,this._patterns.whitespace.whitespace_before_token);return g},C.prototype._readWhitespace=function(){return this._patterns.whitespace.read()},a.exports.Tokenizer=C,a.exports.TOKEN=m},function(a){function N(S){this.__tokens=[],this.__tokens_length=this.__tokens.length,this.__position=0,this.__parent_token=S}N.prototype.restart=function(){this.__position=0},N.prototype.isEmpty=function(){return this.__tokens_length===0},N.prototype.hasNext=function(){return this.__position<this.__tokens_length},N.prototype.next=function(){var S=null;return this.hasNext()&&(S=this.__tokens[this.__position],this.__position+=1),S},N.prototype.peek=function(S){var E=null;return S=S||0,S+=this.__position,S>=0&&S<this.__tokens_length&&(E=this.__tokens[S]),E},N.prototype.add=function(S){this.__parent_token&&(S.parent=this.__parent_token),this.__tokens.push(S),this.__tokens_length+=1},a.exports.TokenStream=N},function(a,N,S){var E=S(12).Pattern;function f(h,d){E.call(this,h,d),d?this._line_regexp=this._input.get_regexp(d._line_regexp):this.__set_whitespace_patterns("",""),this.newline_count=0,this.whitespace_before_token=""}f.prototype=new E,f.prototype.__set_whitespace_patterns=function(h,d){h+="\\t ",d+="\\n\\r",this._match_pattern=this._input.get_regexp("["+h+d+"]+",!0),this._newline_regexp=this._input.get_regexp("\\r\\n|["+d+"]")},f.prototype.read=function(){this.newline_count=0,this.whitespace_before_token="";var h=this._input.read(this._match_pattern);if(h===" ")this.whitespace_before_token=" ";else if(h){var d=this.__split(this._newline_regexp,h);this.newline_count=d.length-1,this.whitespace_before_token=d[this.newline_count]}return h},f.prototype.matching=function(h,d){var m=this._create();return m.__set_whitespace_patterns(h,d),m._update(),m},f.prototype._create=function(){return new f(this._input,this)},f.prototype.__split=function(h,d){h.lastIndex=0;for(var m=0,C=[],z=h.exec(d);z;)C.push(d.substring(m,z.index)),m=z.index+z[0].length,z=h.exec(d);return m<d.length?C.push(d.substring(m,d.length)):C.push(""),C},a.exports.WhitespacePattern=f},function(a){function N(S,E){this._input=S,this._starting_pattern=null,this._match_pattern=null,this._until_pattern=null,this._until_after=!1,E&&(this._starting_pattern=this._input.get_regexp(E._starting_pattern,!0),this._match_pattern=this._input.get_regexp(E._match_pattern,!0),this._until_pattern=this._input.get_regexp(E._until_pattern),this._until_after=E._until_after)}N.prototype.read=function(){var S=this._input.read(this._starting_pattern);return(!this._starting_pattern||S)&&(S+=this._input.read(this._match_pattern,this._until_pattern,this._until_after)),S},N.prototype.read_match=function(){return this._input.match(this._match_pattern)},N.prototype.until_after=function(S){var E=this._create();return E._until_after=!0,E._until_pattern=this._input.get_regexp(S),E._update(),E},N.prototype.until=function(S){var E=this._create();return E._until_after=!1,E._until_pattern=this._input.get_regexp(S),E._update(),E},N.prototype.starting_with=function(S){var E=this._create();return E._starting_pattern=this._input.get_regexp(S,!0),E._update(),E},N.prototype.matching=function(S){var E=this._create();return E._match_pattern=this._input.get_regexp(S,!0),E._update(),E},N.prototype._create=function(){return new N(this._input,this)},N.prototype._update=function(){},a.exports.Pattern=N},function(a){function N(S,E){S=typeof S=="string"?S:S.source,E=typeof E=="string"?E:E.source,this.__directives_block_pattern=new RegExp(S+/ beautify( \w+[:]\w+)+ /.source+E,"g"),this.__directive_pattern=/ (\w+)[:](\w+)/g,this.__directives_end_ignore_pattern=new RegExp(S+/\sbeautify\signore:end\s/.source+E,"g")}N.prototype.get_directives=function(S){if(!S.match(this.__directives_block_pattern))return null;var E={};this.__directive_pattern.lastIndex=0;for(var f=this.__directive_pattern.exec(S);f;)E[f[1]]=f[2],f=this.__directive_pattern.exec(S);return E},N.prototype.readIgnored=function(S){return S.readUntilAfter(this.__directives_end_ignore_pattern)},a.exports.Directives=N},function(a,N,S){var E=S(12).Pattern,f={django:!1,erb:!1,handlebars:!1,php:!1,smarty:!1};function h(d,m){E.call(this,d,m),this.__template_pattern=null,this._disabled=Object.assign({},f),this._excluded=Object.assign({},f),m&&(this.__template_pattern=this._input.get_regexp(m.__template_pattern),this._excluded=Object.assign(this._excluded,m._excluded),this._disabled=Object.assign(this._disabled,m._disabled));var C=new E(d);this.__patterns={handlebars_comment:C.starting_with(/{{!--/).until_after(/--}}/),handlebars_unescaped:C.starting_with(/{{{/).until_after(/}}}/),handlebars:C.starting_with(/{{/).until_after(/}}/),php:C.starting_with(/<\?(?:[= ]|php)/).until_after(/\?>/),erb:C.starting_with(/<%[^%]/).until_after(/[^%]%>/),django:C.starting_with(/{%/).until_after(/%}/),django_value:C.starting_with(/{{/).until_after(/}}/),django_comment:C.starting_with(/{#/).until_after(/#}/),smarty:C.starting_with(/{(?=[^}{\s\n])/).until_after(/[^\s\n]}/),smarty_comment:C.starting_with(/{\*/).until_after(/\*}/),smarty_literal:C.starting_with(/{literal}/).until_after(/{\/literal}/)}}h.prototype=new E,h.prototype._create=function(){return new h(this._input,this)},h.prototype._update=function(){this.__set_templated_pattern()},h.prototype.disable=function(d){var m=this._create();return m._disabled[d]=!0,m._update(),m},h.prototype.read_options=function(d){var m=this._create();for(var C in f)m._disabled[C]=d.templating.indexOf(C)===-1;return m._update(),m},h.prototype.exclude=function(d){var m=this._create();return m._excluded[d]=!0,m._update(),m},h.prototype.read=function(){var d="";this._match_pattern?d=this._input.read(this._starting_pattern):d=this._input.read(this._starting_pattern,this.__template_pattern);for(var m=this._read_template();m;)this._match_pattern?m+=this._input.read(this._match_pattern):m+=this._input.readUntil(this.__template_pattern),d+=m,m=this._read_template();return this._until_after&&(d+=this._input.readUntilAfter(this._until_pattern)),d},h.prototype.__set_templated_pattern=function(){var d=[];this._disabled.php||d.push(this.__patterns.php._starting_pattern.source),this._disabled.handlebars||d.push(this.__patterns.handlebars._starting_pattern.source),this._disabled.erb||d.push(this.__patterns.erb._starting_pattern.source),this._disabled.django||(d.push(this.__patterns.django._starting_pattern.source),d.push(this.__patterns.django_value._starting_pattern.source),d.push(this.__patterns.django_comment._starting_pattern.source)),this._disabled.smarty||d.push(this.__patterns.smarty._starting_pattern.source),this._until_pattern&&d.push(this._until_pattern.source),this.__template_pattern=this._input.get_regexp("(?:"+d.join("|")+")")},h.prototype._read_template=function(){var d="",m=this._input.peek();if(m==="<"){var C=this._input.peek(1);!this._disabled.php&&!this._excluded.php&&C==="?"&&(d=d||this.__patterns.php.read()),!this._disabled.erb&&!this._excluded.erb&&C==="%"&&(d=d||this.__patterns.erb.read())}else m==="{"&&(!this._disabled.handlebars&&!this._excluded.handlebars&&(d=d||this.__patterns.handlebars_comment.read(),d=d||this.__patterns.handlebars_unescaped.read(),d=d||this.__patterns.handlebars.read()),this._disabled.django||(!this._excluded.django&&!this._excluded.handlebars&&(d=d||this.__patterns.django_value.read()),this._excluded.django||(d=d||this.__patterns.django_comment.read(),d=d||this.__patterns.django.read())),this._disabled.smarty||this._disabled.django&&this._disabled.handlebars&&(d=d||this.__patterns.smarty_comment.read(),d=d||this.__patterns.smarty_literal.read(),d=d||this.__patterns.smarty.read()));return d},a.exports.TemplatablePattern=h}],I={};function ue(a){var N=I[a];if(N!==void 0)return N.exports;var S=I[a]={exports:{}};return y[a](S,S.exports,ue),S.exports}var ge=ue(0);Ie=ge})();var ae=Ie;!(re=[],ie=function(){return{js_beautify:ae}}.apply(L,re),ie!==void 0&&(Me.exports=ie))})()},"746U":function(Me,L,s){"use strict";s.d(L,"f",function(){return re}),s.d(L,"l",function(){return ie}),s.d(L,"k",function(){return Ie}),s.d(L,"j",function(){return ae}),s.d(L,"g",function(){return y}),s.d(L,"m",function(){return I}),s.d(L,"h",function(){return ue}),s.d(L,"n",function(){return ge}),s.d(L,"c",function(){return a}),s.d(L,"a",function(){return N}),s.d(L,"i",function(){return S}),s.d(L,"o",function(){return E}),s.d(L,"e",function(){return d}),s.d(L,"d",function(){return m}),s.d(L,"p",function(){return C}),s.d(L,"b",function(){return z});function re(v){return Array.isArray(v)}function ie(v){return typeof v=="string"}function Ie(v){return typeof v=="object"&&v!==null&&!Array.isArray(v)&&!(v instanceof RegExp)&&!(v instanceof Date)}function ae(v){return typeof v=="number"&&!isNaN(v)}function y(v){return v===!0||v===!1}function I(v){return typeof v=="undefined"}function ue(v){return!ge(v)}function ge(v){return I(v)||v===null}function a(v,g){if(!v)throw new Error(g?`Unexpected type, expected '${g}'`:"Unexpected type")}function N(v){if(ge(v))throw new Error("Assertion Failed: argument is undefined or null");return v}function S(v){return typeof v=="function"}function E(v,g){const j=Math.min(v.length,g.length);for(let G=0;G<j;G++)f(v[G],g[G])}function f(v,g){if(ie(g)){if(typeof v!==g)throw new Error(`argument does not match constraint: typeof ${g}`)}else if(S(g)){try{if(v instanceof g)return}catch(j){}if(!ge(v)&&v.constructor===g)return;if(g.length===1&&g.call(void 0,v)===!0)return;throw new Error("argument does not match one of these constraints: arg instanceof constraint, arg.constructor === constraint, nor constraint(arg) === true")}}function h(v){let g=[],j=Object.getPrototypeOf(v);for(;Object.prototype!==j;)g=g.concat(Object.getOwnPropertyNames(j)),j=Object.getPrototypeOf(j);return g}function d(v){const g=[];for(const j of h(v))typeof v[j]=="function"&&g.push(j);return g}function m(v,g){const j=J=>function(){const P=Array.prototype.slice.call(arguments,0);return g(J,P)};let G={};for(const J of v)G[J]=j(J);return G}function C(v){return v===null?void 0:v}function z(v,g="Unreachable"){throw new Error(g)}},"7ZXX":function(Me,L,s){Me.exports=s.p+"static/err.6e7c5817.png"},"7ahc":function(Me,L,s){"use strict";s.d(L,"a",function(){return j});var re=s("k1fw"),ie=s("0Owb"),Ie=s("+L6B"),ae=s("2/Rp"),y=s("y8nQ"),I=s("Vl3Y"),ue=s("tJVT"),ge=s("OaEy"),a=s("2fM7"),N=s("q1tI"),S=s.n(N),E=s("VrN/"),f=s.n(E),h=s("p77/"),d=s.n(h),m=s("c5Ni"),C=s.n(m),z=a.a.Option,v={labelCol:{span:4},wrapperCol:{span:20}},g={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"]};L.b=function(G){var J=G.callback,P=G.onCancel,X=Object(N.useState)("python"),F=Object(ue.a)(X,2),oe=F[0],he=F[1];function ce(W){he(g[W][1])}function Q(W){J(W)}return S.a.createElement(I.a,Object(ie.a)({},v,{className:"code-block-panel",initialValues:{language:"python",content:""},onFinish:Q}),S.a.createElement(I.a.Item,{label:"\u4EE3\u7801\u8BED\u8A00",name:"language"},S.a.createElement(a.a,{onChange:ce},Object.keys(g).map(function(W){return S.a.createElement(z,{key:W,value:W},g[W][0])}))),S.a.createElement(I.a.Item,{label:"\u4EE3\u7801\u5185\u5BB9",name:"content",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u4EE3\u7801\u5185\u5BB9"}]},S.a.createElement(j,{mode:oe})),S.a.createElement("div",{className:"flex-container flex-end"},S.a.createElement(ae.a,{type:"primary",htmlType:"submit",style:{marginRight:10}},"\u786E\u5B9A"),S.a.createElement(ae.a,{type:"ghost",onClick:P},"\u53D6\u6D88")))};function j(G){var J=G.value,P=G.onChange,X=G.mode,F=G.options,oe=F===void 0?{}:F,he=Object(N.useRef)(),ce=Object(N.useState)(),Q=Object(ue.a)(ce,2),W=Q[0],H=Q[1];return Object(N.useEffect)(function(){if(W){function Re(D){var u=D.getValue();P&&P(u)}return W.on("change",Re),function(){W.off("change",Re)}}},[W,P]),Object(N.useEffect)(function(){W&&W.setOption("mode",X)},[W,X]),Object(N.useEffect)(function(){W&&((J!==W.getValue()||J==="")&&setTimeout(function(){W.setValue(J||" ")},300))},[W,J]),Object(N.useEffect)(function(){if(he.current&&!W){var Re=f.a.fromTextArea(he.current,Object(re.a)({mode:X,lineNumbers:!0,lineWrapping:!0,autoCloseBrackets:!0,tabSize:4,autofocus:!0,autoCloseTags:!0,matchBrackets:!0,styleActiveLine:!0},oe));H(Re)}},[he.current,W]),S.a.createElement("div",{className:"my-codemirror-container"},S.a.createElement("textarea",{ref:he}))}},"7v3h":function(Me,L,s){Me.exports=s.p+"static/empty2.dd73f390.png"},"8/bI":function(Me,L,s){Me.exports=s.p+"static/empty.8918e228.png"},"815F":function(Me,L,s){"use strict";s.d(L,"e",function(){return ue}),s.d(L,"c",function(){return a}),s.d(L,"d",function(){return N}),s.d(L,"a",function(){return E}),s.d(L,"f",function(){return f}),s.d(L,"b",function(){return h});var re=s("KQm4"),ie=s("VTBJ"),Ie=s("Ff2n"),ae=s("Zm9Q"),y=s("Kwbf"),I=s("OZM5");function ue(d,m){return d!=null?d:m}function ge(){var d=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],m=new Map;function C(z){var v=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";(z||[]).forEach(function(g){var j=g.key,G=g.children;Object(y.a)(j!=null,"Tree node must have a certain key: [".concat(v).concat(j,"]"));var J=String(j);Object(y.a)(!m.has(J)||j===null||j===void 0,"Same 'key' exist in the Tree: ".concat(J)),m.set(J,!0),C(G,"".concat(v).concat(J," > "))})}C(d)}function a(d){function m(C){var z=Object(ae.a)(C);return z.map(function(v){if(!Object(I.i)(v))return Object(y.a)(!v,"Tree/TreeNode can only accept TreeNode as children."),null;var g=v.key,j=v.props,G=j.children,J=Object(Ie.a)(j,["children"]),P=Object(ie.a)({key:g},J),X=m(G);return X.length&&(P.children=X),P}).filter(function(v){return v})}return m(d)}function N(){var d=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],m=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],C=new Set(m===!0?[]:m),z=[];function v(g){var j=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;return g.map(function(G,J){var P=Object(I.h)(j?j.pos:"0",J),X=ue(G.key,P),F=Object(ie.a)(Object(ie.a)({},G),{},{parent:j,pos:P,children:null,data:G,isStart:[].concat(Object(re.a)(j?j.isStart:[]),[J===0]),isEnd:[].concat(Object(re.a)(j?j.isEnd:[]),[J===g.length-1])});return z.push(F),m===!0||C.has(X)?F.children=v(G.children||[],F):F.children=[],F})}return v(d),z}function S(d,m,C){var z;C?typeof C=="string"?z=function(j){return j[C]}:typeof C=="function"&&(z=function(j){return C(j)}):z=function(j,G){return ue(j.key,G)};function v(g,j,G){var J=g?g.children:d,P=g?Object(I.h)(G.pos,j):"0";if(g){var X=z(g,P),F={node:g,index:j,pos:P,key:X,parentPos:G.node?G.pos:null,level:G.level+1};m(F)}J&&J.forEach(function(oe,he){v(oe,he,{node:g,pos:P,level:G?G.level+1:-1})})}v(null)}function E(d){var m=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},C=m.initWrapper,z=m.processEntity,v=m.onProcessFinished,g=arguments.length>2?arguments[2]:void 0,j={},G={},J={posEntities:j,keyEntities:G};return C&&(J=C(J)||J),S(d,function(P){var X=P.node,F=P.index,oe=P.pos,he=P.key,ce=P.parentPos,Q=P.level,W={node:X,index:F,key:he,pos:oe,level:Q},H=ue(he,oe);j[oe]=W,G[H]=W,W.parent=j[ce],W.parent&&(W.parent.children=W.parent.children||[],W.parent.children.push(W)),z&&z(W,J)},g),v&&v(J),J}function f(d,m){var C=m.expandedKeys,z=m.selectedKeys,v=m.loadedKeys,g=m.loadingKeys,j=m.checkedKeys,G=m.halfCheckedKeys,J=m.dragOverNodeKey,P=m.dropPosition,X=m.keyEntities,F=X[d],oe={eventKey:d,expanded:C.indexOf(d)!==-1,selected:z.indexOf(d)!==-1,loaded:v.indexOf(d)!==-1,loading:g.indexOf(d)!==-1,checked:j.indexOf(d)!==-1,halfChecked:G.indexOf(d)!==-1,pos:String(F?F.pos:""),dragOver:J===d&&P===0,dragOverGapTop:J===d&&P===-1,dragOverGapBottom:J===d&&P===1};return oe}function h(d){var m=d.data,C=d.expanded,z=d.selected,v=d.checked,g=d.loaded,j=d.loading,G=d.halfChecked,J=d.dragOver,P=d.dragOverGapTop,X=d.dragOverGapBottom,F=d.pos,oe=d.active,he=Object(ie.a)(Object(ie.a)({},m),{},{expanded:C,selected:z,checked:v,loaded:g,loading:j,halfChecked:G,dragOver:J,dragOverGapTop:P,dragOverGapBottom:X,pos:F,active:oe});return"props"in he||Object.defineProperty(he,"props",{get:function(){return Object(y.a)(!1,"Second param return from event is node data instead of TreeNode instance. Please read value directly instead of reading from `props`."),d}}),he}},"8HAY":function(Me,L,s){"use strict";s.d(L,"a",function(){return y}),s.d(L,"b",function(){return I}),s.d(L,"d",function(){return ue}),s.d(L,"e",function(){return ge}),s.d(L,"c",function(){return a});var re=s("MI8n"),ie=s("pmY6"),Ie=s("3/fG"),ae=function(N,S,E,f){function h(d){return d instanceof E?d:new E(function(m){m(d)})}return new(E||(E=Promise))(function(d,m){function C(g){try{v(f.next(g))}catch(j){m(j)}}function z(g){try{v(f.throw(g))}catch(j){m(j)}}function v(g){g.done?d(g.value):h(g.value).then(C,z)}v((f=f.apply(N,S||[])).next())})};class y extends ie.a{constructor(N,S="",E="",f=!0,h){super();this._onDidChange=this._register(new re.b),this.onDidChange=this._onDidChange.event,this._enabled=!0,this._id=N,this._label=S,this._cssClass=E,this._enabled=f,this._actionCallback=h}get id(){return this._id}get label(){return this._label}set label(N){this._setLabel(N)}_setLabel(N){this._label!==N&&(this._label=N,this._onDidChange.fire({label:N}))}get tooltip(){return this._tooltip||""}set tooltip(N){this._setTooltip(N)}_setTooltip(N){this._tooltip!==N&&(this._tooltip=N,this._onDidChange.fire({tooltip:N}))}get class(){return this._cssClass}set class(N){this._setClass(N)}_setClass(N){this._cssClass!==N&&(this._cssClass=N,this._onDidChange.fire({class:N}))}get enabled(){return this._enabled}set enabled(N){this._setEnabled(N)}_setEnabled(N){this._enabled!==N&&(this._enabled=N,this._onDidChange.fire({enabled:N}))}get checked(){return this._checked}set checked(N){this._setChecked(N)}_setChecked(N){this._checked!==N&&(this._checked=N,this._onDidChange.fire({checked:N}))}run(N,S){return ae(this,void 0,void 0,function*(){this._actionCallback&&(yield this._actionCallback(N))})}}class I extends ie.a{constructor(){super(...arguments);this._onBeforeRun=this._register(new re.b),this.onBeforeRun=this._onBeforeRun.event,this._onDidRun=this._register(new re.b),this.onDidRun=this._onDidRun.event}run(N,S){return ae(this,void 0,void 0,function*(){if(!N.enabled)return;this._onBeforeRun.fire({action:N});let E;try{yield this.runAction(N,S)}catch(f){E=f}this._onDidRun.fire({action:N,error:E})})}runAction(N,S){return ae(this,void 0,void 0,function*(){yield N.run(S)})}}class ue extends y{constructor(N){super(ue.ID,N,N?"separator text":"separator");this.checked=!1,this.enabled=!1}}ue.ID="vs.actions.separator";class ge{constructor(N,S,E,f){this.tooltip="",this.enabled=!0,this.checked=!1,this.id=N,this.label=S,this.class=f,this._actions=E}get actions(){return this._actions}dispose(){}run(){return ae(this,void 0,void 0,function*(){})}}class a extends y{constructor(){super(a.ID,Ie.a("submenu.empty","(empty)"),void 0,!1)}}a.ID="vs.actions.empty"},"8j3D":function(Me,L,s){"use strict";var re=s("2qtc"),ie=s("kLXV"),Ie=s("5NDa"),ae=s("5rEg"),y=s("miYZ"),I=s("tsqr"),ue=s("k1fw"),ge=s("9og8"),a=s("y8nQ"),N=s("Vl3Y"),S=s("tJVT"),E=s("WmNS"),f=s.n(E),h=s("q1tI"),d=s.n(h),m=s("Ty5D"),C=s("9kvl"),z=s("KVXO"),v=s.n(z),g=function(G){var J=G.shixunsDetail,P=G.globalSetting,X=G.loading,F=G.dispatch,oe=G.title,he=G.pathList,ce=he===void 0?[]:he,Q=G.showInputPath,W=Q===void 0?!1:Q,H=G.isMergeSelectFile,Re=H===void 0?!1:H,D=G.onFinish,u=D===void 0?function(){}:D,_=N.a.useForm(),A=Object(S.a)(_,1),l=A[0],R=Object(m.i)(),M=Object(m.h)(),fe=Object(h.useRef)(),Ee=Object(h.useState)(""),Ae=Object(S.a)(Ee,2),_e=Ae[0],K=Ae[1],ee=Object(h.useState)(""),ve=Object(S.a)(ee,2),Z=ve[0],Oe=ve[1],T=Object(h.useState)([]),Y=Object(S.a)(T,2),k=Y[0],pe=Y[1],De=Object(h.useState)([]),le=Object(S.a)(De,2),Se=le[0],Ue=le[1];Object(h.useEffect)(function(){var Qe,ot;fe.current=((Qe=M.pathname)===null||Qe===void 0||((ot=Qe.split("/"))===null||ot===void 0)?void 0:ot[3])==="repository"},[]),Object(h.useEffect)(function(){if(J.actionTabs.key!=="Repository-SelectFilePath")return;var Qe=ce.join("/"),ot=[];ce.map(function(Ve,_t){_t===0?ot.push({val:"\u6839\u76EE\u5F55",path:""},{val:"/".concat(Ve),path:Qe}):ot.push({val:"/".concat(Ve),path:Qe})}),pe(ot),K(Qe),Oe(Qe),U(Qe)},[J.actionTabs.key]);var U=function(){var Qe=Object(ge.a)(f.a.mark(function ot(Ve){var _t;return f.a.wrap(function(Lt){for(;;)switch(Lt.prev=Lt.next){case 0:return Lt.next=2,F({type:fe.current?"shixunsDetail/getRepository":"shixunsDetail/getSecretRepository",payload:{id:R.id,path:Ve}});case 2:_t=Lt.sent,_t&&Ue(_t.trees||[]);case 4:case"end":return Lt.stop()}},ot)}));return function(Ve){return Qe.apply(this,arguments)}}(),we=function(ot){var Ve=_e;ot.type==="tree"&&(k.length?k.push({val:"/".concat(ot.name),path:ot.name}):k.push({val:"\u6839\u76EE\u5F55",path:""},{val:"/".concat(ot.name),path:ot.name}),pe(k),Ve=_e?"".concat(_e,"/").concat(ot.name):ot.name,K(Ve)),U(Ve)},Ne=function(ot,Ve){var _t=k.filter(function(Lt,$e){return $e<=Ve});pe(_t);var mt=_t.filter(function(Lt,$e){return $e!==0}).map(function(Lt){return Lt.val}).join("").substr(1);K(mt),U(mt)},Le=function(){var Qe=Object(ge.a)(f.a.mark(function ot(){var Ve,_t,mt;return f.a.wrap(function($e){for(;;)switch($e.prev=$e.next){case 0:if(Ve=l==null?void 0:l.getFieldsValue(),_t=_e?"".concat(_e).concat(Ve!=null&&Ve.name?"/".concat(Ve==null?void 0:Ve.name):""):Ve==null?void 0:Ve.name,!Re){$e.next=6;break}return u(_t),Ye(),$e.abrupt("return");case 6:if(!W){$e.next=16;break}return $e.next=9,l.validateFields();case 9:return $e.next=11,F({type:"shixunsDetail/uploadGitFolder",payload:Object(ue.a)(Object(ue.a)({},{id:R.id,path:_t}),fe.current?{}:{secret_repository:!0})});case 11:mt=$e.sent,u(Z),mt.status===0&&I.b.info("\u65B0\u5EFA\u6210\u529F"),$e.next=18;break;case 16:u(_t),I.b.success("\u9009\u62E9\u6587\u4EF6\u76EE\u5F55\u6210\u529F");case 18:Ye();case 19:case"end":return $e.stop()}},ot)}));return function(){return Qe.apply(this,arguments)}}(),Ye=function(){F({type:"shixunsDetail/setActionTabs",payload:{}}),l.resetFields()};return d.a.createElement(ie.a,{centered:!0,title:oe||"\u65B0\u5EFA\u6587\u4EF6\u5939",closable:!1,keyboard:!1,visible:J.actionTabs.key==="Repository-SelectFilePath",onOk:Le,onCancel:Ye},d.a.createElement("div",{className:v.a.wrap},d.a.createElement("div",{className:v.a.content},d.a.createElement("div",{className:v.a.mainPathWrap},!!(k!=null&&k.length)&&k.map(function(Qe,ot){return d.a.createElement("a",{key:ot,onClick:function(){return Ne(Qe,ot)}},Qe.val)})),!!(Se!=null&&Se.length)&&Se.map(function(Qe,ot){return Qe.type==="tree"&&d.a.createElement("a",{key:ot,onClick:function(){return we(Qe)}},d.a.createElement("i",{className:"iconfont icon-wenjianjia ".concat(v.a.colorBlue)}),Qe.name)})),d.a.createElement("label",{className:"mt5"},"\u9009\u4E2D\u7684\u65B0\u5EFA\u6587\u4EF6\u5939\u76EE\u5F55\uFF1A"),d.a.createElement("div",{className:"mt5 mb5"},_e),W&&d.a.createElement(N.a,{form:l,scrollToFirstError:!0,className:"mt20"},d.a.createElement(N.a.Item,{name:"name",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u540D\u79F0"},{whitespace:!0,message:"\u8BF7\u52FF\u8F93\u5165\u7A7A\u683C"}]},d.a.createElement(ae.a,{placeholder:"\u8BF7\u8F93\u5165\u65B0\u6587\u4EF6\u5939\u540D/\u5B50\u6587\u4EF6\u5939\u540D\u3002\uFF08\u5982\uFF1Asrc/step1\uFF09"})))))};L.a=Object(C.a)(function(j){var G=j.shixunsDetail,J=j.loading,P=j.globalSetting;return{shixunsDetail:G,globalSetting:P,loading:J.models.index}})(g)},"A/g1":function(Me,L){Me.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAYAAABXAvmHAAAACXBIWXMAAAsTAAALEwEAmpwYAAAF92lUWHRYTUw6Y29tLmFkb2JlLnhtcAAAAAAAPD94cGFja2V0IGJlZ2luPSLvu78iIGlkPSJXNU0wTXBDZWhpSHpyZVN6TlRjemtjOWQiPz4gPHg6eG1wbWV0YSB4bWxuczp4PSJhZG9iZTpuczptZXRhLyIgeDp4bXB0az0iQWRvYmUgWE1QIENvcmUgNi4wLWMwMDMgNzkuMTY0NTI3LCAyMDIwLzEwLzE1LTE3OjQ4OjMyICAgICAgICAiPiA8cmRmOlJERiB4bWxuczpyZGY9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkvMDIvMjItcmRmLXN5bnRheC1ucyMiPiA8cmRmOkRlc2NyaXB0aW9uIHJkZjphYm91dD0iIiB4bWxuczp4bXA9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC8iIHhtbG5zOmRjPSJodHRwOi8vcHVybC5vcmcvZGMvZWxlbWVudHMvMS4xLyIgeG1sbnM6cGhvdG9zaG9wPSJodHRwOi8vbnMuYWRvYmUuY29tL3Bob3Rvc2hvcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RFdnQ9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZUV2ZW50IyIgeG1wOkNyZWF0b3JUb29sPSJBZG9iZSBQaG90b3Nob3AgMjIuMSAoTWFjaW50b3NoKSIgeG1wOkNyZWF0ZURhdGU9IjIwMjEtMDctMDJUMTk6Mzg6MjMrMDg6MDAiIHhtcDpNb2RpZnlEYXRlPSIyMDIxLTA3LTAyVDE5OjQxOjQ2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K5s4eAN4UiHxx5dO94Ka2jLd2Gq95TI/e9tXoqbBytZLJzwAUGdY+273nc6Y294z3p1sRW2ZhSt02Gsg+eDxknyl07FYWRY8I+aZptYx27B0Bw/Bp3faHRcs13EsCWiWpjZ8DEU+Ecxe7IKjVl5GMy8zAJMQSIwbH27rL+7FH2jUzTNfUwgMMAkFiFlf5MrstviA4PU61HIuo1KQRCdkGeJCDJoCQkkkzyOFVF4mOxyv9u8x8opnU6UeBF0wAAAABJRU5ErkJggg=="},BU3w:function(Me,L,s){"use strict";s.d(L,"a",function(){return I});var re=s("MNnm"),ie="rc-util-key";function Ie(ue){if(ue.attachTo)return ue.attachTo;var ge=document.querySelector("head");return ge||document.body}function ae(ue){var ge,a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(!Object(re.a)())return null;var N=document.createElement("style");if((ge=a.csp)===null||ge===void 0?void 0:ge.nonce){var S;N.nonce=(S=a.csp)===null||S===void 0?void 0:S.nonce}N.innerHTML=ue;var E=Ie(a),f=E.firstChild;return a.prepend&&E.prepend?E.prepend(N):a.prepend&&f?E.insertBefore(N,f):E.appendChild(N),N}var y=new Map;function I(ue,ge){var a=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},N=Ie(a);if(!y.has(N)){var S=ae("",a),E=S.parentNode;y.set(N,E),E.removeChild(S)}var f=Array.from(y.get(N).children).find(function(z){return z.tagName==="STYLE"&&z[ie]===ge});if(f){var h,d;if(((h=a.csp)===null||h===void 0?void 0:h.nonce)&&f.nonce!==((d=a.csp)===null||d===void 0?void 0:d.nonce)){var m;f.nonce=(m=a.csp)===null||m===void 0?void 0:m.nonce}return f.innerHTML!==ue&&(f.innerHTML=ue),f}var C=ae(ue,a);return C[ie]=ge,C}},"C/vA":function(Me,L,s){"use strict";s.d(L,"a",function(){return re});function re(ie){const Ie=this;let ae=!1,y;return function(){return ae||(ae=!0,y=ie.apply(Ie,arguments)),y}}},"Cg/j":function(Me,L,s){"use strict";s.d(L,"b",function(){return re}),s.d(L,"a",function(){return ie}),s.d(L,"c",function(){return ae}),s.d(L,"d",function(){return y});var re;(function(I){I.serviceIds=new Map,I.DI_TARGET="$di$target",I.DI_DEPENDENCIES="$di$dependencies";function ue(ge){return ge[I.DI_DEPENDENCIES]||[]}I.getServiceDependencies=ue})(re||(re={}));const ie=ae("instantiationService");function Ie(I,ue,ge,a){ue[re.DI_TARGET]===ue?ue[re.DI_DEPENDENCIES].push({id:I,index:ge,optional:a}):(ue[re.DI_DEPENDENCIES]=[{id:I,index:ge,optional:a}],ue[re.DI_TARGET]=ue)}function ae(I){if(re.serviceIds.has(I))return re.serviceIds.get(I);const ue=function(ge,a,N){if(arguments.length!==3)throw new Error("@IServiceName-decorator can only be used to decorate a parameter");Ie(ue,ge,N,!1)};return ue.toString=()=>I,re.serviceIds.set(I,ue),ue}function y(I){return function(ue,ge,a){if(arguments.length!==3)throw new Error("@optional-decorator can only be used to decorate a parameter");Ie(I,ue,a,!0)}}},E7E6:function(Me,L){Me.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAMgAAADUCAYAAADZTGx+AAAgAElEQVR4Xu2dC3BU13nHv7MrIQkQQoCEtAIEAmxig4GACxhogpM6NY7jOKZO4nimwcFot23SNNNO02napJN0JjN9TNMm5eG3x4+YSeI3ftUGjCDGQMBgG4wxb+0u4mEeQhJI2tP539WR7i77uPfuvXfvar8zs7Mr7bnn8Z3vt9/5zlMQB5aAQQmsW7fO397eHujp6Rkfi8XGExFeDX2vABHVSSlrhBDDiKhdSnlOCBGWUu4mol1lZWWv3nfffccNZueJaMITpeBCeEICjz/++LCOjo5GIpogpWwUQjT2vU/A/wCClNJvtbBCCCml3CaEeGzChAmPLF269LLVtNx6jgFxS9IeyOehhx6q7OnpmSilnEhE2gsA4L0PhjHZillRUUHl5WUUf6+giopyKi+Pv8rKyrSX3++nnp4e7XXpUgedP3+ezp37lE6ebKPe3l4tCyFEhIj+UwjxaHNz8+ls+ebrewYkX5J3IN9169YNv3DhwsRYLIb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upEQIb7WiT4iot1CxF9Dh9LuESPGnTGXUmHFHvSApGoOzLm0tbU19vb2TpVSThGCphLJKVLSVCFoYrHCAwikpCNC0MdE4qCU9LEQ4qDf7/+4trb2aN/cRGFpeI6lLUpAMslMSulva2ub2NPT0+TzyUAsJup9PgpIKQNSinohtM/1RFRo5/1cFkJEpKSwEDIihAjHYhT2+WQkFhPhkpKSQ7W1tUdwsnmOOjWoHmdALDbn+fPnR3V2dgKW0ULEqmIxUSWlHCmErJJSVAlBVVIS3kcS4X9ULoQolVKWZnpHcaSU3UKI7szv1EUkzuNSKSEI7+eFkOelFOeFEOd8Pnz24fOZioqKcFVV1VmLVS3qx/4fQLyzKIIkCJoAAAAASUVORK5CYII="},E9nw:function(Me,L){Me.exports=function(){var s=document.getSelection();if(!s.rangeCount)return function(){};for(var re=document.activeElement,ie=[],Ie=0;Ie<s.rangeCount;Ie++)ie.push(s.getRangeAt(Ie));switch(re.tagName.toUpperCase()){case"INPUT":case"TEXTAREA":re.blur();break;default:re=null;break}return s.removeAllRanges(),function(){s.type==="Caret"&&s.removeAllRanges(),s.rangeCount||ie.forEach(function(ae){s.addRange(ae)}),re&&re.focus()}}},FOrL:function(Me,L,s){Me.exports=s.p+"static/nodata.a6b3f948.png"},FPkq:function(Me,L,s){Me.exports=s.p+"static/qrCode.dd0fe9b2.png"},FWmy:function(Me,L,s){"use strict";s.d(L,"a",function(){return re});function re(ie,Ie){if(!ie)throw new Error(Ie?`Assertion failed (${Ie})`:"Assertion Failed")}},FfZY:function(Me,L,s){Me.exports={wrap:"wrap___2UNvJ",modal:"modal___i6_bN",title:"title___ae-La",path:"path___3AJgW",colorBlue:"colorBlue___afQvH",width240:"width240___9YsKN",filePath:"filePath___2-i4S"}},GABl:function(Me,L){Me.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADQAAAA0CAYAAADFeBvrAAAKi0lEQVRoQ71ae3BU1Rn//e7dzYuioNRsHlSqRiUB2eUx0hbaKAHEAMWxiQ6PT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ZFvEnoWE2U7dbbrrtTrmWjhPfeqybEby0ECLjrARF8ETML9DzxD2+WikbdifqDHND2vb/PpDm5/oXcV3XRey+tsaKH1tTLhyh661H0xCsmyaQCW1dg1HTHwpMWLbmcpneBJH7Wg+QVdCwFKI/z7R/fWdHyDULaiCIL5jdScM3Y6X+m04/aXIPQGJnwJs/OCTm8yEjYSDMLSurQPkI5CrcoK2ja0vobBTpsD3l2nKU/mGe43DFiV5Ksb8SNUCj9lrlhOUl5r8JwG9evjMBhDmdjkJYBp2luLPHHrL+nq8jxv8BV2A7FHmr6w0AAAAASUVORK5CYII="},GfqC:function(Me,L,s){"use strict";var re=s("q1tI"),ie=s.n(re),Ie=s("TSYQ"),ae=s.n(Ie);function y(_,A){var l="cannot "+_.method+" "+_.action+" "+A.status+"'",R=new Error(l);return R.status=A.status,R.method=_.method,R.url=_.action,R}function I(_){var A=_.responseText||_.response;if(!A)return A;try{return JSON.parse(A)}catch(l){return A}}function ue(_){var A=new XMLHttpRequest;_.onProgress&&A.upload&&(A.upload.onprogress=function(fe){fe.total>0&&(fe.percent=fe.loaded/fe.total*100),_.onProgress(fe)});var l=new FormData;_.data&&Object.keys(_.data).forEach(function(M){var fe=_.data[M];if(Array.isArray(fe)){fe.forEach(function(Ee){l.append(M+"[]",Ee)});return}l.append(M,_.data[M])}),_.file instanceof Blob?l.append(_.filename,_.file,_.file.name):l.append(_.filename,_.file),A.onerror=function(fe){_.onError(fe)},A.onload=function(){return A.status<200||A.status>=300?_.onError(y(_,A),I(A)):_.onSuccess(I(A),A)},A.open(_.method,_.action,!0),_.withCredentials&&"withCredentials"in A&&(A.withCredentials=!0);var R=_.headers||{};return R["X-Requested-With"]!==null&&A.setRequestHeader("X-Requested-With","XMLHttpRequest"),Object.keys(R).forEach(function(M){R[M]!==null&&A.setRequestHeader(M,R[M])}),A.send(l),{abort:function(){A.abort()}}}var ge=+new Date,a=0;function N(){return"rc-upload-"+ge+"-"+ ++a}function S(_,A){return _.indexOf(A,_.length-A.length)!==-1}var E=function(_,A){if(_&&A){var l=Array.isArray(A)?A:A.split(","),R=_.name||"",M=_.type||"",fe=M.replace(/\/.*$/,"");return l.some(function(Ee){var Ae=Ee.trim();return Ae.charAt(0)==="."?S(R.toLowerCase(),Ae.toLowerCase()):/\/\*$/.test(Ae)?fe===Ae.replace(/\/.*$/,""):M===Ae})}return!0};function f(_,A){var l=_.createReader(),R=[];function M(){l.readEntries(function(fe){var Ee=Array.prototype.slice.apply(fe);R=R.concat(Ee);var Ae=!Ee.length;Ae?A(R):M()})}M()}var h=function(A,l,R){var M=function fe(Ee,Ae){Ae=Ae||"",Ee.isFile?Ee.file(function(_e){R(_e)&&(Ee.fullPath&&!_e.webkitRelativePath&&(Object.defineProperties(_e,{webkitRelativePath:{writable:!0}}),_e.webkitRelativePath=Ee.fullPath.replace(/^\//,""),Object.defineProperties(_e,{webkitRelativePath:{writable:!1}})),l([_e]))}):Ee.isDirectory&&f(Ee,function(_e){_e.forEach(function(K){fe(K,""+Ae+Ee.name+"/")})})};A.forEach(function(fe){M(fe.webkitGetAsEntry())})},d=h,m=Object.assign||function(_){for(var A=1;A<arguments.length;A++){var l=arguments[A];for(var R in l)Object.prototype.hasOwnProperty.call(l,R)&&(_[R]=l[R])}return _},C=function(){function _(A,l){var R=[],M=!0,fe=!1,Ee=void 0;try{for(var Ae=A[Symbol.iterator](),_e;!(M=(_e=Ae.next()).done)&&!(R.push(_e.value),l&&R.length===l);M=!0);}catch(K){fe=!0,Ee=K}finally{try{!M&&Ae.return&&Ae.return()}finally{if(fe)throw Ee}}return R}return function(A,l){if(Array.isArray(A))return A;if(Symbol.iterator in Object(A))return _(A,l);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),z=function(){function _(A,l){for(var R=0;R<l.length;R++){var M=l[R];M.enumerable=M.enumerable||!1,M.configurable=!0,"value"in M&&(M.writable=!0),Object.defineProperty(A,M.key,M)}}return function(A,l,R){return l&&_(A.prototype,l),R&&_(A,R),A}}();function v(_,A,l){return A in _?Object.defineProperty(_,A,{value:l,enumerable:!0,configurable:!0,writable:!0}):_[A]=l,_}function g(_,A){var l={};for(var R in _){if(A.indexOf(R)>=0)continue;if(!Object.prototype.hasOwnProperty.call(_,R))continue;l[R]=_[R]}return l}function j(_,A){if(!(_ instanceof A))throw new TypeError("Cannot call a class as a function")}function G(_,A){if(!_)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return A&&(typeof A=="object"||typeof A=="function")?A:_}function J(_,A){if(typeof A!="function"&&A!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof A);_.prototype=Object.create(A&&A.prototype,{constructor:{value:_,enumerable:!1,writable:!0,configurable:!0}}),A&&(Object.setPrototypeOf?Object.setPrototypeOf(_,A):_.__proto__=A)}var P=function(A){return Object.keys(A).reduce(function(l,R){return(R.substr(0,5)==="data-"||R.substr(0,5)==="aria-"||R==="role")&&(l[R]=A[R]),l},{})},X=function(_){J(A,_);function A(){var l,R,M,fe;j(this,A);for(var Ee=arguments.length,Ae=Array(Ee),_e=0;_e<Ee;_e++)Ae[_e]=arguments[_e];return fe=(R=(M=G(this,(l=A.__proto__||Object.getPrototypeOf(A)).call.apply(l,[this].concat(Ae))),M),M.state={uid:N()},M.reqs={},M.onChange=function(K){var ee=K.target.files;M.uploadFiles(ee),M.reset()},M.onClick=function(K){var ee=M.fileInput;if(!ee)return;var ve=M.props,Z=ve.children,Oe=ve.onClick;Z&&Z.type==="button"&&(ee.parentNode.focus(),ee.parentNode.querySelector("button").blur()),ee.click(),Oe&&Oe(K)},M.onKeyDown=function(K){K.key==="Enter"&&M.onClick()},M.onFileDrop=function(K){var ee=M.props.multiple;if(K.preventDefault(),K.type==="dragover")return;if(M.props.directory)d(Array.prototype.slice.call(K.dataTransfer.items),M.uploadFiles,function(Z){return E(Z,M.props.accept)});else{var ve=Array.prototype.slice.call(K.dataTransfer.files).filter(function(Z){return E(Z,M.props.accept)});ee===!1&&(ve=ve.slice(0,1)),M.uploadFiles(ve)}},M.uploadFiles=function(K){var ee=Array.prototype.slice.call(K);ee.map(function(ve){return ve.uid=N(),ve}).forEach(function(ve){M.upload(ve,ee)})},M.saveFileInput=function(K){M.fileInput=K},R),G(M,fe)}return z(A,[{key:"componentDidMount",value:function(){this._isMounted=!0}},{key:"componentWillUnmount",value:function(){this._isMounted=!1,this.abort()}},{key:"upload",value:function(R,M){var fe=this,Ee=this.props;if(!Ee.beforeUpload)return setTimeout(function(){return fe.post(R)},0);var Ae=Ee.beforeUpload(R,M);Ae&&Ae.then?Ae.then(function(_e){var K=Object.prototype.toString.call(_e);return K==="[object File]"||K==="[object Blob]"?fe.post(_e):fe.post(R)}).catch(function(_e){console.log(_e)}):Ae!==!1&&setTimeout(function(){return fe.post(R)},0);return}},{key:"post",value:function(R){var M=this;if(!this._isMounted)return;var fe=this.props,Ee=fe.onStart,Ae=fe.onProgress,_e=fe.transformFile,K=_e===void 0?function(ee){return ee}:_e;new Promise(function(ee){var ve=fe.action;return typeof ve=="function"&&(ve=ve(R)),ee(ve)}).then(function(ee){var ve=R.uid,Z=fe.customRequest||ue,Oe=Promise.resolve(K(R)).then(function(T){var Y=fe.data;return typeof Y=="function"&&(Y=Y(T)),Promise.all([T,Y])}).catch(function(T){console.error(T)});Oe.then(function(T){var Y=C(T,2),k=Y[0],pe=Y[1],De={action:ee,filename:fe.name,data:pe,file:k,headers:fe.headers,withCredentials:fe.withCredentials,method:fe.method||"post",onProgress:Ae?function(le){Ae(le,R)}:null,onSuccess:function(Se,Ue){delete M.reqs[ve],fe.onSuccess(Se,R,Ue)},onError:function(Se,Ue){delete M.reqs[ve],fe.onError(Se,Ue,R)}};Ee(R),M.reqs[ve]=Z(De)})})}},{key:"reset",value:function(){this.setState({uid:N()})}},{key:"abort",value:function(R){var M=this.reqs;if(R){var fe=R;R&&R.uid&&(fe=R.uid),M[fe]&&M[fe].abort&&M[fe].abort(),delete M[fe]}else Object.keys(M).forEach(function(Ee){M[Ee]&&M[Ee].abort&&M[Ee].abort(),delete M[Ee]})}},{key:"render",value:function(){var R,M=this.props,fe=M.component,Ee=M.prefixCls,Ae=M.className,_e=M.disabled,K=M.id,ee=M.style,ve=M.multiple,Z=M.accept,Oe=M.children,T=M.directory,Y=M.openFileDialogOnClick,k=M.onMouseEnter,pe=M.onMouseLeave,De=g(M,["component","prefixCls","className","disabled","id","style","multiple","accept","children","directory","openFileDialogOnClick","onMouseEnter","onMouseLeave"]),le=ae()((R={},v(R,Ee,!0),v(R,Ee+"-disabled",_e),v(R,Ae,Ae),R)),Se=_e?{}:{onClick:Y?this.onClick:function(){},onKeyDown:Y?this.onKeyDown:function(){},onMouseEnter:k,onMouseLeave:pe,onDrop:this.onFileDrop,onDragOver:this.onFileDrop,tabIndex:"0"};return ie.a.createElement(fe,m({},Se,{className:le,role:"button",style:ee}),ie.a.createElement("input",m({},P(De),{id:K,type:"file",ref:this.saveFileInput,onClick:function(U){return U.stopPropagation()},key:this.state.uid,style:{display:"none"},accept:Z,directory:T?"directory":null,webkitdirectory:T?"webkitdirectory":null,multiple:ve,onChange:this.onChange})),Oe)}}]),A}(re.Component),F=X,oe=Object.assign||function(_){for(var A=1;A<arguments.length;A++){var l=arguments[A];for(var R in l)Object.prototype.hasOwnProperty.call(l,R)&&(_[R]=l[R])}return _},he=function(){function _(A,l){for(var R=0;R<l.length;R++){var M=l[R];M.enumerable=M.enumerable||!1,M.configurable=!0,"value"in M&&(M.writable=!0),Object.defineProperty(A,M.key,M)}}return function(A,l,R){return l&&_(A.prototype,l),R&&_(A,R),A}}();function ce(_,A){if(!(_ instanceof A))throw new TypeError("Cannot call a class as a function")}function Q(_,A){if(!_)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return A&&(typeof A=="object"||typeof A=="function")?A:_}function W(_,A){if(typeof A!="function"&&A!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof A);_.prototype=Object.create(A&&A.prototype,{constructor:{value:_,enumerable:!1,writable:!0,configurable:!0}}),A&&(Object.setPrototypeOf?Object.setPrototypeOf(_,A):_.__proto__=A)}function H(){}var Re=function(_){W(A,_);function A(){var l,R,M,fe;ce(this,A);for(var Ee=arguments.length,Ae=Array(Ee),_e=0;_e<Ee;_e++)Ae[_e]=arguments[_e];return fe=(R=(M=Q(this,(l=A.__proto__||Object.getPrototypeOf(A)).call.apply(l,[this].concat(Ae))),M),M.saveUploader=function(K){M.uploader=K},R),Q(M,fe)}return he(A,[{key:"abort",value:function(R){this.uploader.abort(R)}},{key:"render",value:function(){return ie.a.createElement(F,oe({},this.props,{ref:this.saveUploader}))}}]),A}(re.Component);Re.defaultProps={component:"span",prefixCls:"rc-upload",data:{},headers:{},name:"file",multipart:!1,onStart:H,onError:H,onSuccess:H,multiple:!1,beforeUpload:null,customRequest:null,withCredentials:!1,openFileDialogOnClick:!0};var D=Re,u=L.a=D},HpTS:function(Me,L,s){Me.exports=s.p+"static/small_program.f74069ec.png"},IZBM:function(Me,L,s){"use strict";s.d(L,"n",function(){return N}),s.d(L,"o",function(){return S}),s.d(L,"k",function(){return E}),s.d(L,"H",function(){return f}),s.d(L,"j",function(){return h}),s.d(L,"L",function(){return d}),s.d(L,"G",function(){return m}),s.d(L,"B",function(){return C}),s.d(L,"D",function(){return z}),s.d(L,"g",function(){return v}),s.d(L,"s",function(){return g}),s.d(L,"i",function(){return j}),s.d(L,"l",function(){return G}),s.d(L,"z",function(){return X}),s.d(L,"m",function(){return F}),s.d(L,"x",function(){return oe}),s.d(L,"y",function(){return he}),s.d(L,"e",function(){return ce}),s.d(L,"E",function(){return Q}),s.d(L,"F",function(){return W}),s.d(L,"C",function(){return H}),s.d(L,"K",function(){return Re}),s.d(L,"p",function(){return D}),s.d(L,"q",function(){return u}),s.d(L,"r",function(){return _}),s.d(L,"u",function(){return A}),s.d(L,"I",function(){return l}),s.d(L,"c",function(){return R}),s.d(L,"d",function(){return M}),s.d(L,"a",function(){return fe}),s.d(L,"t",function(){return Ee}),s.d(L,"f",function(){return Ae}),s.d(L,"A",function(){return _e}),s.d(L,"v",function(){return K}),s.d(L,"J",function(){return ee}),s.d(L,"b",function(){return ve}),s.d(L,"h",function(){return Oe}),s.d(L,"w",function(){return Y});var re=s("9og8"),ie=s("k1fw"),Ie=s("WmNS"),ae=s.n(Ie),y=s("ErOA"),I=s("1vsH"),ue,ge,a=(ue=Object(I.I)())!==null&&ue!==void 0&&ue.homework_common_id?{homework_common_id:(ge=Object(I.I)())===null||ge===void 0?void 0:ge.homework_common_id}:{};function N(le){return Object(y.c)("tasks/".concat(le,".json"),a)}function S(le){return Object(y.c)("myshixuns/".concat(le,"/challenges.json"))}function E(le,Se){return Object(y.c)("myshixuns/".concat(le,"/subject_challenges.json"),Se)}function f(le,Se,Ue){return Object(y.c)("tasks/".concat(le,"/star.json?shixun_id=").concat(Se,"&star=").concat(Ue))}function h(le,Se){return Object(y.c)("tasks/".concat(le,"/rep_content.json"),Object(ie.a)(Object(ie.a)({},Se),a))}function d(le,Se){return Object(y.f)("myshixuns/".concat(le,"/update_file.json"),Se)}function m(le,Se){return Object(y.c)("tasks/".concat(le,"/reset_original_code.json"),Object(ie.a)(Object(ie.a)({},Se),a))}function C(le,Se){return Object(y.f)("myshixuns/".concat(le,"/reset_repository.json"),Se)}function z(le,Se){return Object(y.c)("tasks/".concat(le,"/reset_passed_code.json"),Object(ie.a)(Object(ie.a)({},Se),a))}function v(le,Se){return Object(y.f)("tasks/".concat(le,"/game_build.json"),Object(ie.a)(Object(ie.a)({},Se),a))}function g(le,Se){return Object(y.c)("tasks/".concat(le,"/game_status.json"),Object(ie.a)(Object(ie.a)({},Se),a))}function j(le,Se){return Object(y.f)("tasks/".concat(le,"/choose_build.json"),Object(ie.a)(Object(ie.a)({},Se),a))}function G(le){return Object(y.c)("tasks/".concat(le,"/picture_display.json"),a)}function J(le,Se){return Object(y.c)("tasks/".concat(le,"/cost_time.json"),Object(ie.a)(Object(ie.a)({},Se),a))}function P(le,Se){return Object(y.c)("courses/".concat(le,"/inform_detail.json"),Se)}function X(le){return Object(y.f)("tasks/".concat(le,"/plus_or_cancel_praise.json"))}function F(le){var Se=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return Object(y.f)("myshixuns/".concat(le,"/repository.json"),Se)}function oe(le,Se){return Object(y.c)("myshixuns/".concat(le,"/start.json"),Se||{})}function he(le,Se){return Object(y.c)("myshixuns/".concat(le,"/start.json"),Se||{})}function ce(le){return Object(y.c)("myshixuns/".concat(le,"/reset_pod.json"))}function Q(le){return Object(y.c)("myshixuns/".concat(le.myshixunId,"/reset_pod.json"),{game_id:le.game_id})}function W(le){return Object(y.c)("myshixuns/".concat(le.myshixunId,"/reset_pod.json"),{game_id:le.game_id})}function H(le){var Se=le.myshixunId;return delete le.myshixunId,Object(y.c)("myshixuns/".concat(Se,"/reset_pod.json"),Object(ie.a)({game_id:le.game_id},le))}function Re(le){return Object(y.c)("tasks/".concat(le,"/check_test_sets.json"))}function D(le){return Object(y.c)("tasks/".concat(le,"/get_answer_info.json"))}function u(le){return Object(y.c)("tasks/".concat(le,"/get_choose_answer.json"))}function _(le){return Object(y.c)("tasks/".concat(le,"/unlock_choose_answer.json"))}function A(le,Se){return Object(y.c)("tasks/".concat(le,"/unlock_answer.json?answer_id=").concat(Se))}function l(le,Se,Ue){return Object(y.f)("tasks/".concat(le,"/set_games_status.json"),{result:Se,data:Ue})}function R(le,Se){return Object(y.c)("myshixuns/".concat(le,"/active_pod.json?game_id=").concat(Se))}function M(le,Se){return Object(y.a)("/api/myshixuns/".concat(le,"/active_pod.json"),{method:"get",params:{template_id:window.sessionStorage.imageId||"",game_id:Se}})}function fe(le,Se){return Object(y.c)("myshixuns/".concat(le,"/active_pod.json?game_id=").concat(Se))}function Ee(le,Se){return Object(y.c)("tasks/".concat(le,"/rank_list.json"),Se)}function Ae(le,Se){return Object(y.f)("tasks/".concat(le,"/close_windows_vnc.json"),{tpi_id:Se})}function _e(le){return Object(y.c)("tasks/".concat(le,"/pull_files.json"))}function K(le,Se){return Object(y.f)("tasks/".concat(le,"/log_output"),Se)}function ee(le){return Object(y.c)("tasks/".concat(le,"/stop_log_output.json"))}function ve(le){return Z.apply(this,arguments)}function Z(){return Z=Object(re.a)(ae.a.mark(function le(Se){return ae.a.wrap(function(U){for(;;)switch(U.prev=U.next){case 0:return U.abrupt("return",Object(y.a)("/api/myshixuns/".concat(Se.id,"/add_file.json"),{method:"post",body:Se}));case 1:case"end":return U.stop()}},le)})),Z.apply(this,arguments)}function Oe(le){return T.apply(this,arguments)}function T(){return T=Object(re.a)(ae.a.mark(function le(Se){return ae.a.wrap(function(U){for(;;)switch(U.prev=U.next){case 0:return U.abrupt("return",Object(y.a)("/api/myshixuns/".concat(Se.id,"/delete_git_file.json"),{method:"Delete",body:Se}));case 1:case"end":return U.stop()}},le)})),T.apply(this,arguments)}function Y(le){return k.apply(this,arguments)}function k(){return k=Object(re.a)(ae.a.mark(function le(Se){return ae.a.wrap(function(U){for(;;)switch(U.prev=U.next){case 0:return U.abrupt("return",Object(y.a)("/api/myshixuns/".concat(Se.id,"/mv_file.json"),{method:"post",body:Se}));case 1:case"end":return U.stop()}},le)})),k.apply(this,arguments)}function pe(le){return De.apply(this,arguments)}function De(){return De=Object(re.a)(ae.a.mark(function le(Se){return ae.a.wrap(function(U){for(;;)switch(U.prev=U.next){case 0:return U.abrupt("return",Object(y.a)("/api/tasks/".concat(Se.id,"/rep_content.json"),{method:"get",params:Se}));case 1:case"end":return U.stop()}},le)})),De.apply(this,arguments)}},JWDV:function(Me,L,s){Me.exports=s.p+"static/charpter-white.5fa14f93.svg"},JYp7:function(Me,L,s){"use strict";s.d(L,"a",function(){return re});var re;(function(ie){function Ie(g){return g&&typeof g=="object"&&typeof g[Symbol.iterator]=="function"}ie.is=Ie;const ae=Object.freeze([]);function y(){return ae}ie.empty=y;function*I(g){yield g}ie.single=I;function ue(g){return g||ae}ie.from=ue;function ge(g){return!g||g[Symbol.iterator]().next().done===!0}ie.isEmpty=ge;function a(g){return g[Symbol.iterator]().next().value}ie.first=a;function N(g,j){for(const G of g)if(j(G))return!0;return!1}ie.some=N;function S(g,j){for(const G of g)if(j(G))return G;return}ie.find=S;function*E(g,j){for(const G of g)j(G)&&(yield G)}ie.filter=E;function*f(g,j){let G=0;for(const J of g)yield j(J,G++)}ie.map=f;function*h(...g){for(const j of g)for(const G of j)yield G}ie.concat=h;function*d(g){for(const j of g)for(const G of j)yield G}ie.concatNested=d;function m(g,j,G){let J=G;for(const P of g)J=j(J,P);return J}ie.reduce=m;function*C(g,j,G=g.length){for(j<0&&(j+=g.length),G<0?G+=g.length:G>g.length&&(G=g.length);j<G;j++)yield g[j]}ie.slice=C;function z(g,j=Number.POSITIVE_INFINITY){const G=[];if(j===0)return[G,g];const J=g[Symbol.iterator]();for(let P=0;P<j;P++){const X=J.next();if(X.done)return[G,ie.empty()];G.push(X.value)}return[G,{[Symbol.iterator](){return J}}]}ie.consume=z;function v(g,j,G=(J,P)=>J===P){const J=g[Symbol.iterator](),P=j[Symbol.iterator]();for(;;){const X=J.next(),F=P.next();if(X.done!==F.done)return!1;if(X.done)return!0;if(!G(X.value,F.value))return!1}}ie.equals=v})(re||(re={}))},JeFH:function(Me,L){Me.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGgAAAAwCAYAAAD9wT87AAAe2UlEQVR4XtVcB5QUVbr+blV1T+ieGWaYBAwgOSgooJLjENeA6a2KCVfZNbum3VXXsG9VdFfc1TXtGlfXLCKgEiRnUAHJWRzAyTl3V9V957vV1dPTM+M4Hn2Pd8/xIHRV9f3vn77/+/9qgVaWlHIggHMB+AA8K4TIbe2ek/FzKWUmgLGw7THQtLlCiBUn4z6j9ySa26SUMg3A+ZDyaljBMTC87mXrAUwSQtT+fxBOSqmbpjnaMIyrYJnToRvtQ/sOAJgihFh1ssvRSEFSysEAroJlXQZdp8VhXUEAS07UYGavBPSIQz10vacQ4vjJLJiUMgPAhZByJoQYyr0erZFYmFOFZK+GK7szGOB3Qoi/nsxycG9KQVLKKyDltbDMbBge5NYD87+twvxjNdhbZiIoJZZMysRpPqs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TY5hrvasu1/5ebmzuvcuXOTn8KRUpLZ5sQpWVD+EgvfAKEcBWQ1mjUK554XYFvnw7YEhAhCSr6pYULTv2R6aklBAwC5Y3uJief2VyqtEoHGG5rT/4nVVN+EPaCsBB0pkT0gyyyDpq+HEB8DWNTSa/PNbbgt/yal5NkxyzI90VRVdI3+HSFpmyuk0MeTeGXnkspgrE/0aGgfyxxqoJPPQGe/BxxcDYtiBiQ042to2mfsZwkheGA/ywr9NhJlIBekZBFqOrZ5kgCFhYUJqampbAWzp9LCsgDLrgB/t0foByDkdkB1UrdFv5j0s0j1Ax8qpfxdqP/U8h1mIABN5EEYhyHELgBUBv87IAS98/9utUhA19TUZMXFxc0AcCZbIqG5A+YFvhvEMEQXVm4s6Jon6VKzA053dTI46OH8hMARhbwa5OCbboU/9e8//BRH8j9mLdQoDqqNCwAAAABJRU5ErkJggg=="},Jq4h:function(Me,L,s){Me.exports=s.p+"static/qrcode.2267e4d5.png"},KVXO:function(Me,L,s){Me.exports={wrap:"wrap___1VfLE",content:"content___20B4M",mainPathWrap:"mainPathWrap___3qDeg",colorBlue:"colorBlue___2ZjUq"}},LdHM:function(Me,L,s){"use strict";s.d(L,"b",function(){return g}),s.d(L,"a",function(){return G});var re=s("1OyB"),ie=s("vuIU"),Ie=s("Ji7U"),ae=s("LK+K"),y=s("q1tI"),I=s("rePB"),ue=s("Ff2n"),ge=s("ODXe"),a=s("4IlW"),N=s("bX4T"),S=s("YrtM"),E=s("TSYQ"),f=s.n(E),h=s("+nKL"),d=s("8OUc"),m=function(R,M){var fe=R.prefixCls,Ee=R.id,Ae=R.flattenOptions,_e=R.childrenAsData,K=R.values,ee=R.searchValue,ve=R.multiple,Z=R.defaultActiveFirstOption,Oe=R.height,T=R.itemHeight,Y=R.notFoundContent,k=R.open,pe=R.menuItemSelectedIcon,De=R.virtual,le=R.onSelect,Se=R.onToggleOpen,Ue=R.onActiveValue,U=R.onScroll,we=R.onMouseEnter,Ne="".concat(fe,"-item"),Le=Object(S.a)(function(){return Ae},[k,Ae],function(ut,Wt){return Wt[0]&&ut[1]!==Wt[1]}),Ye=y.useRef(null),Qe=function(Wt){Wt.preventDefault()},ot=function(Wt){Ye.current&&Ye.current.scrollTo({index:Wt})},Ve=function(Wt){for(var It=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1,pn=Le.length,en=0;en<pn;en+=1){var xn=(Wt+en*It+pn)%pn,oi=Le[xn],On=oi.group,si=oi.data;if(!On&&!si.disabled)return xn}return-1},_t=y.useState(function(){return Ve(0)}),mt=Object(ge.a)(_t,2),Lt=mt[0],$e=mt[1],Xn=function(Wt){$e(Wt);var It=Le[Wt];if(!It){Ue(null,-1);return}Ue(It.data.value,Wt)};y.useEffect(function(){Xn(Z!==!1?Ve(0):-1)},[Le.length,ee]),y.useEffect(function(){var ut=setTimeout(function(){if(!ve&&k&&K.size===1){var Wt=Array.from(K)[0],It=Le.findIndex(function(pn){var en=pn.data;return en.value===Wt});Xn(It),ot(It)}});return function(){return clearTimeout(ut)}},[k]);var Rn=function(Wt){Wt!==void 0&&le(Wt,{selected:!K.has(Wt)}),ve||Se(!1)};if(y.useImperativeHandle(M,function(){return{onKeyDown:function(Wt){var It=Wt.which;switch(It){case a.a.UP:case a.a.DOWN:{var pn=0;if(It===a.a.UP?pn=-1:It===a.a.DOWN&&(pn=1),pn!==0){var en=Ve(Lt+pn,pn);ot(en),Xn(en)}break}case a.a.ENTER:{var xn=Le[Lt];xn&&!xn.data.disabled?Rn(xn.data.value):Rn(void 0),k&&Wt.preventDefault();break}case a.a.ESC:Se(!1)}},onKeyUp:function(){},scrollTo:function(Wt){ot(Wt)}}}),Le.length===0)return y.createElement("div",{role:"listbox",id:"".concat(Ee,"_list"),className:"".concat(Ne,"-empty"),onMouseDown:Qe},Y);function Bt(ut){var Wt=Le[ut];if(!Wt)return null;var It=Wt.data||{},pn=It.value,en=It.label,xn=It.children,oi=Object(N.a)(It,!0),On=_e?xn:en;return Wt?y.createElement("div",Object.assign({"aria-label":typeof On=="string"?On:null},oi,{key:ut,role:"option",id:"".concat(Ee,"_list_").concat(ut),"aria-selected":K.has(pn)}),pn):null}return y.createElement(y.Fragment,null,y.createElement("div",{role:"listbox",id:"".concat(Ee,"_list"),style:{height:0,width:0,overflow:"hidden"}},Bt(Lt-1),Bt(Lt),Bt(Lt+1)),y.createElement(h.a,{itemKey:"key",ref:Ye,data:Le,height:Oe,itemHeight:T,fullHeight:!1,onMouseDown:Qe,onScroll:U,virtual:De,onMouseEnter:we},function(ut,Wt){var It,pn=ut.group,en=ut.groupOption,xn=ut.data,oi=xn.label,On=xn.key;if(pn)return y.createElement("div",{className:f()(Ne,"".concat(Ne,"-group"))},oi!==void 0?oi:On);var si=xn.disabled,Ti=xn.value,li=xn.title,ir=xn.children,rr=xn.style,Yi=xn.className,Pi=Object(ue.a)(xn,["disabled","value","title","children","style","className"]),Si=K.has(Ti),hi="".concat(Ne,"-option"),mr=f()(Ne,hi,Yi,(It={},Object(I.a)(It,"".concat(hi,"-grouped"),en),Object(I.a)(It,"".concat(hi,"-active"),Lt===Wt&&!si),Object(I.a)(It,"".concat(hi,"-disabled"),si),Object(I.a)(It,"".concat(hi,"-selected"),Si),It)),ht=_e?ir:oi,We=!pe||typeof pe=="function"||Si;return y.createElement("div",Object.assign({},Pi,{"aria-selected":Si,className:mr,title:li,onMouseMove:function(){if(Lt===Wt||si)return;Xn(Wt)},onClick:function(){si||Rn(Ti)},style:rr}),y.createElement("div",{className:"".concat(hi,"-content")},ht||Ti),y.isValidElement(pe)||Si,We&&y.createElement(d.a,{className:"".concat(Ne,"-option-state"),customizeIcon:pe,customizeIconProps:{isSelected:Si}},Si?"\u2713":null))}))},C=y.forwardRef(m);C.displayName="OptionList";var z=C,v=function(){return null};v.isSelectOption=!0;var g=v,j=function(){return null};j.isSelectOptGroup=!0;var G=j,J=s("VTBJ"),P=s("Zm9Q");function X(l){var R=l.key,M=l.props,fe=M.children,Ee=M.value,Ae=Object(ue.a)(M,["children","value"]);return Object(J.a)({key:R,value:Ee!==void 0?Ee:R,children:fe},Ae)}function F(l){var R=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;return Object(P.a)(l).map(function(M,fe){if(!y.isValidElement(M)||!M.type)return null;var Ee=M.type.isSelectOptGroup,Ae=M.key,_e=M.props,K=_e.children,ee=Object(ue.a)(_e,["children"]);return R||!Ee?X(M):Object(J.a)(Object(J.a)({key:"__RC_SELECT_GRP__".concat(Ae===null?fe:Ae,"__"),label:Ae},ee),{},{options:F(K)})}).filter(function(M){return M})}var oe=s("2Qr1"),he=s("qNPg"),ce=s("U8pU"),Q=s("Kwbf"),W=s("WKfj");function H(l){var R=l.mode,M=l.options,fe=l.children,Ee=l.backfill,Ae=l.allowClear,_e=l.placeholder,K=l.getInputElement,ee=l.showSearch,ve=l.onSearch,Z=l.defaultOpen,Oe=l.autoFocus,T=l.labelInValue,Y=l.value,k=l.inputValue,pe=l.optionLabelProp,De=R==="multiple"||R==="tags",le=ee!==void 0?ee:De||R==="combobox",Se=M||F(fe);if(Object(Q.a)(R!=="tags"||Se.every(function(Ne){return!Ne.disabled}),"Please avoid setting option to disabled in tags mode since user can always type text as tag."),R==="tags"||R==="combobox"){var Ue=Se.some(function(Ne){return Ne.options?Ne.options.some(function(Le){return typeof("value"in Le?Le.value:Le.key)=="number"}):typeof("value"in Ne?Ne.value:Ne.key)=="number"});Object(Q.a)(!Ue,"`value` of Option should not use number type when `mode` is `tags` or `combobox`.")}if(Object(Q.a)(R!=="combobox"||!pe,"`combobox` mode not support `optionLabelProp`. Please set `value` on Option directly."),Object(Q.a)(R==="combobox"||!Ee,"`backfill` only works with `combobox` mode."),Object(Q.a)(R==="combobox"||!K,"`getInputElement` only work with `combobox` mode."),Object(Q.b)(R!=="combobox"||!K||!Ae||!_e,"Customize `getInputElement` should customize clear and placeholder logic instead of configuring `allowClear` and `placeholder`."),ve&&!le&&R!=="combobox"&&R!=="tags"&&Object(Q.a)(!1,"`onSearch` should work with `showSearch` instead of use alone."),Object(Q.b)(!Z||Oe,"`defaultOpen` makes Select open without focus which means it will not close by click outside. You can set `autoFocus` if needed."),Y!=null){var U=Object(W.d)(Y);Object(Q.a)(!T||U.every(function(Ne){return Object(ce.a)(Ne)==="object"&&("key"in Ne||"value"in Ne)}),"`value` should in shape of `{ value: string | number, label?: ReactNode }` when you set `labelInValue` to `true`"),Object(Q.a)(!De||Array.isArray(Y),"`value` should be array when `mode` is `multiple` or `tags`")}if(fe){var we=null;Object(P.a)(fe).some(function(Ne){if(!y.isValidElement(Ne)||!Ne.type)return!1;var Le=Ne.type;if(Le.isSelectOption)return!1;if(Le.isSelectOptGroup){var Ye=Object(P.a)(Ne.props.children).every(function(Qe){return!y.isValidElement(Qe)||!Ne.type||Qe.type.isSelectOption?!0:(we=Qe.type,!1)});return!Ye}return we=Le,!0}),we&&Object(Q.a)(!1,"`children` should be `Select.Option` or `Select.OptGroup` instead of `".concat(we.displayName||we.name||we,"`.")),Object(Q.a)(k===void 0,"`inputValue` is deprecated, please use `searchValue` instead.")}}var Re=H,D=Object(he.a)({prefixCls:"rc-select",components:{optionList:z},convertChildrenToData:F,flattenOptions:oe.d,getLabeledValue:oe.e,filterOptions:oe.b,isValueDisabled:oe.g,findValueOption:oe.c,warningProps:Re,fillOptionsWithMissingValue:oe.a}),u=function(l){Object(Ie.a)(M,l);var R=Object(ae.a)(M);function M(){var fe;return Object(re.a)(this,M),fe=R.apply(this,arguments),fe.selectRef=y.createRef(),fe.focus=function(){fe.selectRef.current.focus()},fe.blur=function(){fe.selectRef.current.blur()},fe}return Object(ie.a)(M,[{key:"render",value:function(){return y.createElement(D,Object.assign({ref:this.selectRef},this.props))}}]),M}(y.Component);u.Option=g,u.OptGroup=G;var _=u,A=L.c=_},MI8n:function(Me,L,s){"use strict";s.d(L,"c",function(){return y}),s.d(L,"b",function(){return a}),s.d(L,"e",function(){return N}),s.d(L,"a",function(){return S}),s.d(L,"d",function(){return E}),s.d(L,"f",function(){return f});var re=s("/cxE"),ie=s("pmY6"),Ie=s("24hK"),ae=s("5Y4S"),y;(function(h){h.None=()=>ie.a.None;function d(H){return(Re,D=null,u)=>{let _=!1,A;return A=H(l=>_?void 0:(A?A.dispose():_=!0,Re.call(D,l)),null,u),_&&A.dispose(),A}}h.once=d;function m(H,Re){return G((D,u=null,_)=>H(A=>D.call(u,Re(A)),null,_))}h.map=m;function C(H,Re){return G((D,u=null,_)=>H(A=>{Re(A),D.call(u,A)},null,_))}h.forEach=C;function z(H,Re){return G((D,u=null,_)=>H(A=>Re(A)&&D.call(u,A),null,_))}h.filter=z;function v(H){return H}h.signal=v;function g(...H){return(Re,D=null,u)=>Object(ie.e)(...H.map(_=>_(A=>Re.call(D,A),null,u)))}h.any=g;function j(H,Re,D){let u=D;return m(H,_=>(u=Re(u,_),u))}h.reduce=j;function G(H){let Re;const D=new a({onFirstListenerAdd(){Re=H(D.fire,D)},onLastListenerRemove(){Re.dispose()}});return D.event}function J(H,Re,D=100,u=!1,_){let A,l,R,M=0;const fe=new a({leakWarningThreshold:_,onFirstListenerAdd(){A=H(Ee=>{M++,l=Re(l,Ee),u&&!R&&(fe.fire(l),l=void 0),clearTimeout(R),R=setTimeout(()=>{const Ae=l;l=void 0,R=void 0,(!u||M>1)&&fe.fire(Ae),M=0},D)})},onLastListenerRemove(){A.dispose()}});return fe.event}h.debounce=J;function P(H,Re=(D,u)=>D===u){let D=!0,u;return z(H,_=>{const A=D||!Re(_,u);return D=!1,u=_,A})}h.latch=P;function X(H,Re){return[h.filter(H,Re),h.filter(H,D=>!Re(D))]}h.split=X;function F(H,Re=!1,D=[]){let u=D.slice(),_=H(R=>{u?u.push(R):l.fire(R)});const A=()=>{u&&u.forEach(R=>l.fire(R)),u=null},l=new a({onFirstListenerAdd(){_||(_=H(R=>l.fire(R)))},onFirstListenerDidAdd(){u&&(Re?setTimeout(A):A())},onLastListenerRemove(){_&&_.dispose(),_=null}});return l.event}h.buffer=F;class oe{constructor(H){this.event=H}map(H){return new oe(m(this.event,H))}forEach(H){return new oe(C(this.event,H))}filter(H){return new oe(z(this.event,H))}reduce(H,Re){return new oe(j(this.event,H,Re))}latch(){return new oe(P(this.event))}debounce(H,Re=100,D=!1,u){return new oe(J(this.event,H,Re,D,u))}on(H,Re,D){return this.event(H,Re,D)}once(H,Re,D){return d(this.event)(H,Re,D)}}function he(H){return new oe(H)}h.chain=he;function ce(H,Re,D=u=>u){const u=(...R)=>l.fire(D(...R)),_=()=>H.on(Re,u),A=()=>H.removeListener(Re,u),l=new a({onFirstListenerAdd:_,onLastListenerRemove:A});return l.event}h.fromNodeEventEmitter=ce;function Q(H,Re,D=u=>u){const u=(...R)=>l.fire(D(...R)),_=()=>H.addEventListener(Re,u),A=()=>H.removeEventListener(Re,u),l=new a({onFirstListenerAdd:_,onLastListenerRemove:A});return l.event}h.fromDOMEventEmitter=Q;function W(H){return new Promise(Re=>d(H)(Re))}h.toPromise=W})(y||(y={}));class I{constructor(h){this._listenerCount=0,this._invocationCount=0,this._elapsedOverall=0,this._name=`${h}_${I._idPool++}`}start(h){this._stopWatch=new ae.a(!0),this._listenerCount=h}stop(){if(this._stopWatch){const h=this._stopWatch.elapsed();this._elapsedOverall+=h,this._invocationCount+=1,console.info(`did FIRE ${this._name}: elapsed_ms: ${h.toFixed(5)}, listener: ${this._listenerCount} (elapsed_overall: ${this._elapsedOverall.toFixed(2)}, invocations: ${this._invocationCount})`),this._stopWatch=void 0}}}I._idPool=0;let ue=-1;class ge{constructor(h,d=Math.random().toString(18).slice(2,5)){this.customThreshold=h,this.name=d,this._warnCountdown=0}dispose(){this._stacks&&this._stacks.clear()}check(h){let d=ue;if(typeof this.customThreshold=="number"&&(d=this.customThreshold),d<=0||h<d)return;this._stacks||(this._stacks=new Map);const m=new Error().stack.split(`
`).slice(3).join(`
`),C=this._stacks.get(m)||0;if(this._stacks.set(m,C+1),this._warnCountdown-=1,this._warnCountdown<=0){this._warnCountdown=d*.5;let z,v=0;for(const[g,j]of this._stacks)(!z||v<j)&&(z=g,v=j);console.warn(`[${this.name}] potential listener LEAK detected, having ${h} listeners already. MOST frequent listener (${v}):`),console.warn(z)}return()=>{const z=this._stacks.get(m)||0;this._stacks.set(m,z-1)}}}class a{constructor(h){var d;this._disposed=!1,this._options=h,this._leakageMon=ue>0?new ge(this._options&&this._options.leakWarningThreshold):void 0,this._perfMon=((d=this._options)===null||d===void 0?void 0:d._profName)?new I(this._options._profName):void 0}get event(){return this._event||(this._event=(h,d,m)=>{var C;this._listeners||(this._listeners=new Ie.a);const z=this._listeners.isEmpty();z&&this._options&&this._options.onFirstListenerAdd&&this._options.onFirstListenerAdd(this);const v=this._listeners.push(d?[h,d]:h);z&&this._options&&this._options.onFirstListenerDidAdd&&this._options.onFirstListenerDidAdd(this),this._options&&this._options.onListenerDidAdd&&this._options.onListenerDidAdd(this,h,d);const g=(C=this._leakageMon)===null||C===void 0?void 0:C.check(this._listeners.size),j=Object(ie.i)(()=>{if(g&&g(),!this._disposed&&(v(),this._options&&this._options.onLastListenerRemove)){const G=this._listeners&&!this._listeners.isEmpty();G||this._options.onLastListenerRemove(this)}});return m instanceof ie.b?m.add(j):Array.isArray(m)&&m.push(j),j}),this._event}fire(h){var d,m;if(this._listeners){this._deliveryQueue||(this._deliveryQueue=new Ie.a);for(let C of this._listeners)this._deliveryQueue.push([C,h]);for((d=this._perfMon)===null||d===void 0||d.start(this._deliveryQueue.size);this._deliveryQueue.size>0;){const[C,z]=this._deliveryQueue.shift();try{typeof C=="function"?C.call(void 0,z):C[0].call(C[1],z)}catch(v){Object(re.f)(v)}}(m=this._perfMon)===null||m===void 0||m.stop()}}dispose(){var h,d,m,C,z;this._disposed||(this._disposed=!0,(h=this._listeners)===null||h===void 0||h.clear(),(d=this._deliveryQueue)===null||d===void 0||d.clear(),(C=(m=this._options)===null||m===void 0?void 0:m.onLastListenerRemove)===null||C===void 0||C.call(m),(z=this._leakageMon)===null||z===void 0||z.dispose())}}class N extends a{constructor(h){super(h);this._isPaused=0,this._eventQueue=new Ie.a,this._mergeFn=h==null?void 0:h.merge}pause(){this._isPaused++}resume(){if(this._isPaused!==0&&--this._isPaused===0)if(this._mergeFn){const h=Array.from(this._eventQueue);this._eventQueue.clear(),super.fire(this._mergeFn(h))}else for(;!this._isPaused&&this._eventQueue.size!==0;)super.fire(this._eventQueue.shift())}fire(h){this._listeners&&(this._isPaused!==0?this._eventQueue.push(h):super.fire(h))}}class S extends N{constructor(h){var d;super(h);this._delay=(d=h.delay)!==null&&d!==void 0?d:100}fire(h){this._handle||(this.pause(),this._handle=setTimeout(()=>{this._handle=void 0,this.resume()},this._delay)),super.fire(h)}}class E{constructor(){this.buffers=[]}wrapEvent(h){return(d,m,C)=>h(z=>{const v=this.buffers[this.buffers.length-1];v?v.push(()=>d.call(m,z)):d.call(m,z)},void 0,C)}bufferEvents(h){const d=[];this.buffers.push(d);const m=h();return this.buffers.pop(),d.forEach(C=>C()),m}}class f{constructor(){this.listening=!1,this.inputEvent=y.None,this.inputEventListener=ie.a.None,this.emitter=new a({onFirstListenerDidAdd:()=>{this.listening=!0,this.inputEventListener=this.inputEvent(this.emitter.fire,this.emitter)},onLastListenerRemove:()=>{this.listening=!1,this.inputEventListener.dispose()}}),this.event=this.emitter.event}set input(h){this.inputEvent=h,this.listening&&(this.inputEventListener.dispose(),this.inputEventListener=h(this.emitter.fire,this.emitter))}dispose(){this.inputEventListener.dispose(),this.emitter.dispose()}}},MNsG:function(Me,L,s){"use strict";(function(re,ie){s.d(L,"b",function(){return m}),s.d(L,"i",function(){return g}),s.d(L,"f",function(){return j}),s.d(L,"d",function(){return G}),s.d(L,"g",function(){return J}),s.d(L,"h",function(){return P}),s.d(L,"c",function(){return X}),s.d(L,"k",function(){return F}),s.d(L,"j",function(){return oe}),s.d(L,"a",function(){return he}),s.d(L,"e",function(){return W});var Ie;const ae="en";let y=!1,I=!1,ue=!1,ge=!1,a=!1,N=!1,S=!1,E,f=ae,h,d;const m=typeof self=="object"?self:typeof re=="object"?re:{};let C;typeof m.vscode!="undefined"&&typeof m.vscode.process!="undefined"?C=m.vscode.process:typeof ie!="undefined"&&(C=ie);const z=typeof((Ie=C==null?void 0:C.versions)===null||Ie===void 0?void 0:Ie.electron)=="string"&&C.type==="renderer";if(typeof navigator=="object"&&!z)d=navigator.userAgent,y=d.indexOf("Windows")>=0,I=d.indexOf("Macintosh")>=0,S=(d.indexOf("Macintosh")>=0||d.indexOf("iPad")>=0||d.indexOf("iPhone")>=0)&&!!navigator.maxTouchPoints&&navigator.maxTouchPoints>0,ue=d.indexOf("Linux")>=0,N=!0,E=navigator.language,f=E;else if(typeof C=="object"){y=C.platform==="win32",I=C.platform==="darwin",ue=C.platform==="linux",ge=ue&&!!C.env.SNAP&&!!C.env.SNAP_REVISION,E=ae,f=ae;const H=C.env.VSCODE_NLS_CONFIG;if(H)try{const Re=JSON.parse(H),D=Re.availableLanguages["*"];E=Re.locale,f=D||ae,h=Re._translationsConfigFile}catch(Re){}a=!0}else console.error("Unable to resolve platform.");let v=0;I?v=1:y?v=3:ue&&(v=2);const g=y,j=I,G=ue,J=a,P=N,X=S,F=d,oe=function(){if(m.setImmediate)return m.setImmediate.bind(m);if(typeof m.postMessage=="function"&&!m.importScripts){let D=[];m.addEventListener("message",_=>{if(_.data&&_.data.vscodeSetImmediateId)for(let A=0,l=D.length;A<l;A++){const R=D[A];if(R.id===_.data.vscodeSetImmediateId){D.splice(A,1),R.callback();return}}});let u=0;return _=>{const A=++u;D.push({id:A,callback:_}),m.postMessage({vscodeSetImmediateId:A},"*")}}if(typeof(C==null?void 0:C.nextTick)=="function")return C.nextTick.bind(C);const Re=Promise.resolve();return D=>Re.then(D)}(),he=I||S?2:y?1:3;let ce=!0,Q=!1;function W(){if(!Q){Q=!0;const H=new Uint8Array(2);H[0]=1,H[1]=2;const Re=new Uint16Array(H.buffer);ce=Re[0]===(2<<8)+1}return ce}}).call(this,s("IyRk"),s("Q2Ig"))},N0LK:function(Me,L,s){"use strict";s.d(L,"C",function(){return re}),s.d(L,"v",function(){return Ie}),s.d(L,"s",function(){return ae}),s.d(L,"t",function(){return y}),s.d(L,"U",function(){return I}),s.d(L,"J",function(){return ue}),s.d(L,"O",function(){return ge}),s.d(L,"p",function(){return a}),s.d(L,"T",function(){return N}),s.d(L,"q",function(){return S}),s.d(L,"N",function(){return E}),s.d(L,"M",function(){return f}),s.d(L,"Q",function(){return h}),s.d(L,"u",function(){return d}),s.d(L,"x",function(){return m}),s.d(L,"I",function(){return C}),s.d(L,"f",function(){return z}),s.d(L,"h",function(){return v}),s.d(L,"g",function(){return g}),s.d(L,"i",function(){return j}),s.d(L,"G",function(){return G}),s.d(L,"H",function(){return J}),s.d(L,"r",function(){return P}),s.d(L,"R",function(){return X}),s.d(L,"d",function(){return F}),s.d(L,"e",function(){return oe}),s.d(L,"E",function(){return he}),s.d(L,"F",function(){return ce}),s.d(L,"j",function(){return Q}),s.d(L,"z",function(){return W}),s.d(L,"K",function(){return Re}),s.d(L,"L",function(){return D}),s.d(L,"m",function(){return _}),s.d(L,"k",function(){return l}),s.d(L,"A",function(){return M}),s.d(L,"a",function(){return fe}),s.d(L,"n",function(){return Ee}),s.d(L,"l",function(){return Ae}),s.d(L,"D",function(){return _e}),s.d(L,"B",function(){return K}),s.d(L,"b",function(){return ee}),s.d(L,"S",function(){return ve}),s.d(L,"o",function(){return Z}),s.d(L,"P",function(){return Oe}),s.d(L,"w",function(){return T}),s.d(L,"c",function(){return Y}),s.d(L,"y",function(){return De});function re(U){return!U||typeof U!="string"?!0:U.trim().length===0}const ie=/{(\d+)}/g;function Ie(U,...we){return we.length===0?U:U.replace(ie,function(Ne,Le){const Ye=parseInt(Le,10);return isNaN(Ye)||Ye<0||Ye>=we.length?Ne:we[Ye]})}function ae(U){return U.replace(/[<>&]/g,function(we){switch(we){case"<":return"&lt;";case">":return"&gt;";case"&":return"&amp;";default:return we}})}function y(U){return U.replace(/[\\\{\}\*\+\?\|\^\$\.\[\]\(\)]/g,"\\$&")}function I(U,we=" "){const Ne=ue(U,we);return ge(Ne,we)}function ue(U,we){if(!U||!we)return U;const Ne=we.length;if(Ne===0||U.length===0)return U;let Le=0;for(;U.indexOf(we,Le)===Le;)Le=Le+Ne;return U.substring(Le)}function ge(U,we){if(!U||!we)return U;const Ne=we.length,Le=U.length;if(Ne===0||Le===0)return U;let Ye=Le,Qe=-1;for(;!(Qe=U.lastIndexOf(we,Ye-1),Qe===-1||Qe+Ne!==Ye);){if(Qe===0)return"";Ye=Qe}return U.substring(0,Ye)}function a(U){return U.replace(/[\-\\\{\}\+\?\|\^\$\.\,\[\]\(\)\#\s]/g,"\\$&").replace(/[\*]/g,".*")}function N(U){return U.replace(/\*/g,"")}function S(U,we,Ne={}){if(!U)throw new Error("Cannot create regex from empty string");we||(U=y(U)),Ne.wholeWord&&(/\B/.test(U.charAt(0))||(U="\\b"+U),/\B/.test(U.charAt(U.length-1))||(U=U+"\\b"));let Le="";return Ne.global&&(Le+="g"),Ne.matchCase||(Le+="i"),Ne.multiline&&(Le+="m"),Ne.unicode&&(Le+="u"),new RegExp(U,Le)}function E(U){if(U.source==="^"||U.source==="^$"||U.source==="$"||U.source==="^\\s*$")return!1;const we=U.exec("");return!!(we&&U.lastIndex===0)}function f(U){return(U.global?"g":"")+(U.ignoreCase?"i":"")+(U.multiline?"m":"")+(U.unicode?"u":"")}function h(U){return U.split(/\r\n|\r|\n/)}function d(U){for(let we=0,Ne=U.length;we<Ne;we++){const Le=U.charCodeAt(we);if(Le!==32&&Le!==9)return we}return-1}function m(U,we=0,Ne=U.length){for(let Le=we;Le<Ne;Le++){const Ye=U.charCodeAt(Le);if(Ye!==32&&Ye!==9)return U.substring(we,Le)}return U.substring(we,Ne)}function C(U,we=U.length-1){for(let Ne=we;Ne>=0;Ne--){const Le=U.charCodeAt(Ne);if(Le!==32&&Le!==9)return Ne}return-1}function z(U,we){return U<we?-1:U>we?1:0}function v(U,we,Ne=0,Le=U.length,Ye=0,Qe=we.length){for(;Ne<Le&&Ye<Qe;Ne++,Ye++){let _t=U.charCodeAt(Ne),mt=we.charCodeAt(Ye);if(_t<mt)return-1;if(_t>mt)return 1}const ot=Le-Ne,Ve=Qe-Ye;return ot<Ve?-1:ot>Ve?1:0}function g(U,we){return j(U,we,0,U.length,0,we.length)}function j(U,we,Ne=0,Le=U.length,Ye=0,Qe=we.length){for(;Ne<Le&&Ye<Qe;Ne++,Ye++){let _t=U.charCodeAt(Ne),mt=we.charCodeAt(Ye);if(_t===mt)continue;if(_t>=128||mt>=128)return v(U.toLowerCase(),we.toLowerCase(),Ne,Le,Ye,Qe);G(_t)&&(_t-=32),G(mt)&&(mt-=32);const Lt=_t-mt;if(Lt===0)continue;return Lt}const ot=Le-Ne,Ve=Qe-Ye;return ot<Ve?-1:ot>Ve?1:0}function G(U){return U>=97&&U<=122}function J(U){return U>=65&&U<=90}function P(U,we){return U.length===we.length&&j(U,we)===0}function X(U,we){const Ne=we.length;return we.length>U.length?!1:j(U,we,0,Ne)===0}function F(U,we){let Ne,Le=Math.min(U.length,we.length);for(Ne=0;Ne<Le;Ne++)if(U.charCodeAt(Ne)!==we.charCodeAt(Ne))return Ne;return Le}function oe(U,we){let Ne,Le=Math.min(U.length,we.length);const Ye=U.length-1,Qe=we.length-1;for(Ne=0;Ne<Le;Ne++)if(U.charCodeAt(Ye-Ne)!==we.charCodeAt(Qe-Ne))return Ne;return Le}function he(U){return 55296<=U&&U<=56319}function ce(U){return 56320<=U&&U<=57343}function Q(U,we){return(U-55296<<10)+(we-56320)+65536}function W(U,we,Ne){const Le=U.charCodeAt(Ne);if(he(Le)&&Ne+1<we){const Ye=U.charCodeAt(Ne+1);if(ce(Ye))return Q(Le,Ye)}return Le}function H(U,we){const Ne=U.charCodeAt(we-1);if(ce(Ne)&&we>1){const Le=U.charCodeAt(we-2);if(he(Le))return Q(Le,Ne)}return Ne}function Re(U,we){const Ne=k.getInstance(),Le=we,Ye=U.length,Qe=W(U,Ye,we);we+=Qe>=65536?2:1;let ot=Ne.getGraphemeBreakType(Qe);for(;we<Ye;){const Ve=W(U,Ye,we),_t=Ne.getGraphemeBreakType(Ve);if(Y(ot,_t))break;we+=Ve>=65536?2:1,ot=_t}return we-Le}function D(U,we){const Ne=k.getInstance(),Le=we,Ye=H(U,we);we-=Ye>=65536?2:1;let Qe=Ne.getGraphemeBreakType(Ye);for(;we>0;){const ot=H(U,we),Ve=Ne.getGraphemeBreakType(ot);if(Y(Ve,Qe))break;we-=ot>=65536?2:1,Qe=Ve}return Le-we}const u=/(?:[\u05BE\u05C0\u05C3\u05C6\u05D0-\u05F4\u0608\u060B\u060D\u061B-\u064A\u066D-\u066F\u0671-\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u0710\u0712-\u072F\u074D-\u07A5\u07B1-\u07EA\u07F4\u07F5\u07FA-\u0815\u081A\u0824\u0828\u0830-\u0858\u085E-\u08BD\u200F\uFB1D\uFB1F-\uFB28\uFB2A-\uFD3D\uFD50-\uFDFC\uFE70-\uFEFC]|\uD802[\uDC00-\uDD1B\uDD20-\uDE00\uDE10-\uDE33\uDE40-\uDEE4\uDEEB-\uDF35\uDF40-\uDFFF]|\uD803[\uDC00-\uDCFF]|\uD83A[\uDC00-\uDCCF\uDD00-\uDD43\uDD50-\uDFFF]|\uD83B[\uDC00-\uDEBB])/;function _(U){return u.test(U)}const A=/(?:[\u231A\u231B\u23F0\u23F3\u2600-\u27BF\u2B50\u2B55]|\uD83C[\uDDE6-\uDDFF\uDF00-\uDFFF]|\uD83D[\uDC00-\uDE4F\uDE80-\uDEFC\uDFE0-\uDFEB]|\uD83E[\uDD00-\uDDFF\uDE70-\uDED6])/;function l(U){return A.test(U)}const R=/^[\t\n\r\x20-\x7E]*$/;function M(U){return R.test(U)}const fe=/[\u2028\u2029]/;function Ee(U){return fe.test(U)}function Ae(U){for(let we=0,Ne=U.length;we<Ne;we++)if(_e(U.charCodeAt(we)))return!0;return!1}function _e(U){return U=+U,U>=11904&&U<=55215||U>=63744&&U<=64255||U>=65281&&U<=65374}function K(U){return U>=127462&&U<=127487||U===8986||U===8987||U===9200||U===9203||U>=9728&&U<=10175||U===11088||U===11093||U>=127744&&U<=128591||U>=128640&&U<=128764||U>=128992&&U<=129003||U>=129280&&U<=129535||U>=129648&&U<=129750}const ee=String.fromCharCode(65279);function ve(U){return!!(U&&U.length>0&&U.charCodeAt(0)===65279)}function Z(U,we=!1){return U?(we&&(U=U.replace(/\\./g,"")),U.toLowerCase()!==U):!1}function Oe(U){const we=90-65+1;return U=U%(2*we),U<we?String.fromCharCode(97+U):String.fromCharCode(65+U-we)}function T(U){const we=k.getInstance();return we.getGraphemeBreakType(U)}function Y(U,we){return U===0?we!==5&&we!==7:U===2&&we===3?!1:U===4||U===2||U===3||(we===4||we===2||we===3)?!0:U===8&&(we===8||we===9||we===11||we===12)||((U===11||U===9)&&(we===9||we===10)||((U===12||U===10)&&we===10||(we===5||we===13||(we===7||(U===1||U===13&&we===14)))))?!1:!(U===6&&we===6)}class k{constructor(){this._data=pe()}static getInstance(){return k._INSTANCE||(k._INSTANCE=new k),k._INSTANCE}getGraphemeBreakType(U){if(U<32)return U===10?3:U===13?2:4;if(U<127)return 0;const we=this._data,Ne=we.length/3;let Le=1;for(;Le<=Ne;)if(U<we[3*Le])Le=2*Le;else if(U>we[3*Le+1])Le=2*Le+1;else return we[3*Le+2];return 0}}k._INSTANCE=null;function pe(){return JSON.parse("[0,0,0,51592,51592,11,44424,44424,11,72251,72254,5,7150,7150,7,48008,48008,11,55176,55176,11,128420,128420,14,3276,3277,5,9979,9980,14,46216,46216,11,49800,49800,11,53384,53384,11,70726,70726,5,122915,122916,5,129320,129327,14,2558,2558,5,5906,5908,5,9762,9763,14,43360,43388,8,45320,45320,11,47112,47112,11,48904,48904,11,50696,50696,11,52488,52488,11,54280,54280,11,70082,70083,1,71350,71350,7,73111,73111,5,127892,127893,14,128726,128727,14,129473,129474,14,2027,2035,5,2901,2902,5,3784,3789,5,6754,6754,5,8418,8420,5,9877,9877,14,11088,11088,14,44008,44008,5,44872,44872,11,45768,45768,11,46664,46664,11,47560,47560,11,48456,48456,11,49352,49352,11,50248,50248,11,51144,51144,11,52040,52040,11,52936,52936,11,53832,53832,11,54728,54728,11,69811,69814,5,70459,70460,5,71096,71099,7,71998,71998,5,72874,72880,5,119149,119149,7,127374,127374,14,128335,128335,14,128482,128482,14,128765,128767,14,129399,129400,14,129680,129685,14,1476,1477,5,2377,2380,7,2759,2760,5,3137,3140,7,3458,3459,7,4153,4154,5,6432,6434,5,6978,6978,5,7675,7679,5,9723,9726,14,9823,9823,14,9919,9923,14,10035,10036,14,42736,42737,5,43596,43596,5,44200,44200,11,44648,44648,11,45096,45096,11,45544,45544,11,45992,45992,11,46440,46440,11,46888,46888,11,47336,47336,11,47784,47784,11,48232,48232,11,48680,48680,11,49128,49128,11,49576,49576,11,50024,50024,11,50472,50472,11,50920,50920,11,51368,51368,11,51816,51816,11,52264,52264,11,52712,52712,11,53160,53160,11,53608,53608,11,54056,54056,11,54504,54504,11,54952,54952,11,68108,68111,5,69933,69940,5,70197,70197,7,70498,70499,7,70845,70845,5,71229,71229,5,71727,71735,5,72154,72155,5,72344,72345,5,73023,73029,5,94095,94098,5,121403,121452,5,126981,127182,14,127538,127546,14,127990,127990,14,128391,128391,14,128445,128449,14,128500,128505,14,128752,128752,14,129160,129167,14,129356,129356,14,129432,129442,14,129648,129651,14,129751,131069,14,173,173,4,1757,1757,1,2274,2274,1,2494,2494,5,2641,2641,5,2876,2876,5,3014,3016,7,3262,3262,7,3393,3396,5,3570,3571,7,3968,3972,5,4228,4228,7,6086,6086,5,6679,6680,5,6912,6915,5,7080,7081,5,7380,7392,5,8252,8252,14,9096,9096,14,9748,9749,14,9784,9786,14,9833,9850,14,9890,9894,14,9938,9938,14,9999,9999,14,10085,10087,14,12349,12349,14,43136,43137,7,43454,43456,7,43755,43755,7,44088,44088,11,44312,44312,11,44536,44536,11,44760,44760,11,44984,44984,11,45208,45208,11,45432,45432,11,45656,45656,11,45880,45880,11,46104,46104,11,46328,46328,11,46552,46552,11,46776,46776,11,47000,47000,11,47224,47224,11,47448,47448,11,47672,47672,11,47896,47896,11,48120,48120,11,48344,48344,11,48568,48568,11,48792,48792,11,49016,49016,11,49240,49240,11,49464,49464,11,49688,49688,11,49912,49912,11,50136,50136,11,50360,50360,11,50584,50584,11,50808,50808,11,51032,51032,11,51256,51256,11,51480,51480,11,51704,51704,11,51928,51928,11,52152,52152,11,52376,52376,11,52600,52600,11,52824,52824,11,53048,53048,11,53272,53272,11,53496,53496,11,53720,53720,11,53944,53944,11,54168,54168,11,54392,54392,11,54616,54616,11,54840,54840,11,55064,55064,11,65438,65439,5,69633,69633,5,69837,69837,1,70018,70018,7,70188,70190,7,70368,70370,7,70465,70468,7,70712,70719,5,70835,70840,5,70850,70851,5,71132,71133,5,71340,71340,7,71458,71461,5,71985,71989,7,72002,72002,7,72193,72202,5,72281,72283,5,72766,72766,7,72885,72886,5,73104,73105,5,92912,92916,5,113824,113827,4,119173,119179,5,121505,121519,5,125136,125142,5,127279,127279,14,127489,127490,14,127570,127743,14,127900,127901,14,128254,128254,14,128369,128370,14,128400,128400,14,128425,128432,14,128468,128475,14,128489,128494,14,128715,128720,14,128745,128745,14,128759,128760,14,129004,129023,14,129296,129304,14,129340,129342,14,129388,129392,14,129404,129407,14,129454,129455,14,129485,129487,14,129659,129663,14,129719,129727,14,917536,917631,5,13,13,2,1160,1161,5,1564,1564,4,1807,1807,1,2085,2087,5,2363,2363,7,2402,2403,5,2507,2508,7,2622,2624,7,2691,2691,7,2786,2787,5,2881,2884,5,3006,3006,5,3072,3072,5,3170,3171,5,3267,3268,7,3330,3331,7,3406,3406,1,3538,3540,5,3655,3662,5,3897,3897,5,4038,4038,5,4184,4185,5,4352,4447,8,6068,6069,5,6155,6157,5,6448,6449,7,6742,6742,5,6783,6783,5,6966,6970,5,7042,7042,7,7143,7143,7,7212,7219,5,7412,7412,5,8206,8207,4,8294,8303,4,8596,8601,14,9410,9410,14,9742,9742,14,9757,9757,14,9770,9770,14,9794,9794,14,9828,9828,14,9855,9855,14,9882,9882,14,9900,9903,14,9929,9933,14,9963,9967,14,9987,9988,14,10006,10006,14,10062,10062,14,10175,10175,14,11744,11775,5,42607,42607,5,43043,43044,7,43263,43263,5,43444,43445,7,43569,43570,5,43698,43700,5,43766,43766,5,44032,44032,11,44144,44144,11,44256,44256,11,44368,44368,11,44480,44480,11,44592,44592,11,44704,44704,11,44816,44816,11,44928,44928,11,45040,45040,11,45152,45152,11,45264,45264,11,45376,45376,11,45488,45488,11,45600,45600,11,45712,45712,11,45824,45824,11,45936,45936,11,46048,46048,11,46160,46160,11,46272,46272,11,46384,46384,11,46496,46496,11,46608,46608,11,46720,46720,11,46832,46832,11,46944,46944,11,47056,47056,11,47168,47168,11,47280,47280,11,47392,47392,11,47504,47504,11,47616,47616,11,47728,47728,11,47840,47840,11,47952,47952,11,48064,48064,11,48176,48176,11,48288,48288,11,48400,48400,11,48512,48512,11,48624,48624,11,48736,48736,11,48848,48848,11,48960,48960,11,49072,49072,11,49184,49184,11,49296,49296,11,49408,49408,11,49520,49520,11,49632,49632,11,49744,49744,11,49856,49856,11,49968,49968,11,50080,50080,11,50192,50192,11,50304,50304,11,50416,50416,11,50528,50528,11,50640,50640,11,50752,50752,11,50864,50864,11,50976,50976,11,51088,51088,11,51200,51200,11,51312,51312,11,51424,51424,11,51536,51536,11,51648,51648,11,51760,51760,11,51872,51872,11,51984,51984,11,52096,52096,11,52208,52208,11,52320,52320,11,52432,52432,11,52544,52544,11,52656,52656,11,52768,52768,11,52880,52880,11,52992,52992,11,53104,53104,11,53216,53216,11,53328,53328,11,53440,53440,11,53552,53552,11,53664,53664,11,53776,53776,11,53888,53888,11,54000,54000,11,54112,54112,11,54224,54224,11,54336,54336,11,54448,54448,11,54560,54560,11,54672,54672,11,54784,54784,11,54896,54896,11,55008,55008,11,55120,55120,11,64286,64286,5,66272,66272,5,68900,68903,5,69762,69762,7,69817,69818,5,69927,69931,5,70003,70003,5,70070,70078,5,70094,70094,7,70194,70195,7,70206,70206,5,70400,70401,5,70463,70463,7,70475,70477,7,70512,70516,5,70722,70724,5,70832,70832,5,70842,70842,5,70847,70848,5,71088,71089,7,71102,71102,7,71219,71226,5,71231,71232,5,71342,71343,7,71453,71455,5,71463,71467,5,71737,71738,5,71995,71996,5,72000,72000,7,72145,72147,7,72160,72160,5,72249,72249,7,72273,72278,5,72330,72342,5,72752,72758,5,72850,72871,5,72882,72883,5,73018,73018,5,73031,73031,5,73109,73109,5,73461,73462,7,94031,94031,5,94192,94193,7,119142,119142,7,119155,119162,4,119362,119364,5,121476,121476,5,122888,122904,5,123184,123190,5,126976,126979,14,127184,127231,14,127344,127345,14,127405,127461,14,127514,127514,14,127561,127567,14,127778,127779,14,127896,127896,14,127985,127986,14,127995,127999,5,128326,128328,14,128360,128366,14,128378,128378,14,128394,128397,14,128405,128406,14,128422,128423,14,128435,128443,14,128453,128464,14,128479,128480,14,128484,128487,14,128496,128498,14,128640,128709,14,128723,128724,14,128736,128741,14,128747,128748,14,128755,128755,14,128762,128762,14,128981,128991,14,129096,129103,14,129292,129292,14,129311,129311,14,129329,129330,14,129344,129349,14,129360,129374,14,129394,129394,14,129402,129402,14,129413,129425,14,129445,129450,14,129466,129471,14,129483,129483,14,129511,129535,14,129653,129655,14,129667,129670,14,129705,129711,14,129731,129743,14,917505,917505,4,917760,917999,5,10,10,3,127,159,4,768,879,5,1471,1471,5,1536,1541,1,1648,1648,5,1767,1768,5,1840,1866,5,2070,2073,5,2137,2139,5,2307,2307,7,2366,2368,7,2382,2383,7,2434,2435,7,2497,2500,5,2519,2519,5,2563,2563,7,2631,2632,5,2677,2677,5,2750,2752,7,2763,2764,7,2817,2817,5,2879,2879,5,2891,2892,7,2914,2915,5,3008,3008,5,3021,3021,5,3076,3076,5,3146,3149,5,3202,3203,7,3264,3265,7,3271,3272,7,3298,3299,5,3390,3390,5,3402,3404,7,3426,3427,5,3535,3535,5,3544,3550,7,3635,3635,7,3763,3763,7,3893,3893,5,3953,3966,5,3981,3991,5,4145,4145,7,4157,4158,5,4209,4212,5,4237,4237,5,4520,4607,10,5970,5971,5,6071,6077,5,6089,6099,5,6277,6278,5,6439,6440,5,6451,6456,7,6683,6683,5,6744,6750,5,6765,6770,7,6846,6846,5,6964,6964,5,6972,6972,5,7019,7027,5,7074,7077,5,7083,7085,5,7146,7148,7,7154,7155,7,7222,7223,5,7394,7400,5,7416,7417,5,8204,8204,5,8233,8233,4,8288,8292,4,8413,8416,5,8482,8482,14,8986,8987,14,9193,9203,14,9654,9654,14,9733,9733,14,9745,9745,14,9752,9752,14,9760,9760,14,9766,9766,14,9774,9775,14,9792,9792,14,9800,9811,14,9825,9826,14,9831,9831,14,9852,9853,14,9872,9873,14,9880,9880,14,9885,9887,14,9896,9897,14,9906,9916,14,9926,9927,14,9936,9936,14,9941,9960,14,9974,9974,14,9982,9985,14,9992,9997,14,10002,10002,14,10017,10017,14,10055,10055,14,10071,10071,14,10145,10145,14,11013,11015,14,11503,11505,5,12334,12335,5,12951,12951,14,42612,42621,5,43014,43014,5,43047,43047,7,43204,43205,5,43335,43345,5,43395,43395,7,43450,43451,7,43561,43566,5,43573,43574,5,43644,43644,5,43710,43711,5,43758,43759,7,44005,44005,5,44012,44012,7,44060,44060,11,44116,44116,11,44172,44172,11,44228,44228,11,44284,44284,11,44340,44340,11,44396,44396,11,44452,44452,11,44508,44508,11,44564,44564,11,44620,44620,11,44676,44676,11,44732,44732,11,44788,44788,11,44844,44844,11,44900,44900,11,44956,44956,11,45012,45012,11,45068,45068,11,45124,45124,11,45180,45180,11,45236,45236,11,45292,45292,11,45348,45348,11,45404,45404,11,45460,45460,11,45516,45516,11,45572,45572,11,45628,45628,11,45684,45684,11,45740,45740,11,45796,45796,11,45852,45852,11,45908,45908,11,45964,45964,11,46020,46020,11,46076,46076,11,46132,46132,11,46188,46188,11,46244,46244,11,46300,46300,11,46356,46356,11,46412,46412,11,46468,46468,11,46524,46524,11,46580,46580,11,46636,46636,11,46692,46692,11,46748,46748,11,46804,46804,11,46860,46860,11,46916,46916,11,46972,46972,11,47028,47028,11,47084,47084,11,47140,47140,11,47196,47196,11,47252,47252,11,47308,47308,11,47364,47364,11,47420,47420,11,47476,47476,11,47532,47532,11,47588,47588,11,47644,47644,11,47700,47700,11,47756,47756,11,47812,47812,11,47868,47868,11,47924,47924,11,47980,47980,11,48036,48036,11,48092,48092,11,48148,48148,11,48204,48204,11,48260,48260,11,48316,48316,11,48372,48372,11,48428,48428,11,48484,48484,11,48540,48540,11,48596,48596,11,48652,48652,11,48708,48708,11,48764,48764,11,48820,48820,11,48876,48876,11,48932,48932,11,48988,48988,11,49044,49044,11,49100,49100,11,49156,49156,11,49212,49212,11,49268,49268,11,49324,49324,11,49380,49380,11,49436,49436,11,49492,49492,11,49548,49548,11,49604,49604,11,49660,49660,11,49716,49716,11,49772,49772,11,49828,49828,11,49884,49884,11,49940,49940,11,49996,49996,11,50052,50052,11,50108,50108,11,50164,50164,11,50220,50220,11,50276,50276,11,50332,50332,11,50388,50388,11,50444,50444,11,50500,50500,11,50556,50556,11,50612,50612,11,50668,50668,11,50724,50724,11,50780,50780,11,50836,50836,11,50892,50892,11,50948,50948,11,51004,51004,11,51060,51060,11,51116,51116,11,51172,51172,11,51228,51228,11,51284,51284,11,51340,51340,11,51396,51396,11,51452,51452,11,51508,51508,11,51564,51564,11,51620,51620,11,51676,51676,11,51732,51732,11,51788,51788,11,51844,51844,11,51900,51900,11,51956,51956,11,52012,52012,11,52068,52068,11,52124,52124,11,52180,52180,11,52236,52236,11,52292,52292,11,52348,52348,11,52404,52404,11,52460,52460,11,52516,52516,11,52572,52572,11,52628,52628,11,52684,52684,11,52740,52740,11,52796,52796,11,52852,52852,11,52908,52908,11,52964,52964,11,53020,53020,11,53076,53076,11,53132,53132,11,53188,53188,11,53244,53244,11,53300,53300,11,53356,53356,11,53412,53412,11,53468,53468,11,53524,53524,11,53580,53580,11,53636,53636,11,53692,53692,11,53748,53748,11,53804,53804,11,53860,53860,11,53916,53916,11,53972,53972,11,54028,54028,11,54084,54084,11,54140,54140,11,54196,54196,11,54252,54252,11,54308,54308,11,54364,54364,11,54420,54420,11,54476,54476,11,54532,54532,11,54588,54588,11,54644,54644,11,54700,54700,11,54756,54756,11,54812,54812,11,54868,54868,11,54924,54924,11,54980,54980,11,55036,55036,11,55092,55092,11,55148,55148,11,55216,55238,9,65056,65071,5,65529,65531,4,68097,68099,5,68159,68159,5,69446,69456,5,69688,69702,5,69808,69810,7,69815,69816,7,69821,69821,1,69888,69890,5,69932,69932,7,69957,69958,7,70016,70017,5,70067,70069,7,70079,70080,7,70089,70092,5,70095,70095,5,70191,70193,5,70196,70196,5,70198,70199,5,70367,70367,5,70371,70378,5,70402,70403,7,70462,70462,5,70464,70464,5,70471,70472,7,70487,70487,5,70502,70508,5,70709,70711,7,70720,70721,7,70725,70725,7,70750,70750,5,70833,70834,7,70841,70841,7,70843,70844,7,70846,70846,7,70849,70849,7,71087,71087,5,71090,71093,5,71100,71101,5,71103,71104,5,71216,71218,7,71227,71228,7,71230,71230,7,71339,71339,5,71341,71341,5,71344,71349,5,71351,71351,5,71456,71457,7,71462,71462,7,71724,71726,7,71736,71736,7,71984,71984,5,71991,71992,7,71997,71997,7,71999,71999,1,72001,72001,1,72003,72003,5,72148,72151,5,72156,72159,7,72164,72164,7,72243,72248,5,72250,72250,1,72263,72263,5,72279,72280,7,72324,72329,1,72343,72343,7,72751,72751,7,72760,72765,5,72767,72767,5,72873,72873,7,72881,72881,7,72884,72884,7,73009,73014,5,73020,73021,5,73030,73030,1,73098,73102,7,73107,73108,7,73110,73110,7,73459,73460,5,78896,78904,4,92976,92982,5,94033,94087,7,94180,94180,5,113821,113822,5,119141,119141,5,119143,119145,5,119150,119154,5,119163,119170,5,119210,119213,5,121344,121398,5,121461,121461,5,121499,121503,5,122880,122886,5,122907,122913,5,122918,122922,5,123628,123631,5,125252,125258,5,126980,126980,14,127183,127183,14,127245,127247,14,127340,127343,14,127358,127359,14,127377,127386,14,127462,127487,6,127491,127503,14,127535,127535,14,127548,127551,14,127568,127569,14,127744,127777,14,127780,127891,14,127894,127895,14,127897,127899,14,127902,127984,14,127987,127989,14,127991,127994,14,128000,128253,14,128255,128317,14,128329,128334,14,128336,128359,14,128367,128368,14,128371,128377,14,128379,128390,14,128392,128393,14,128398,128399,14,128401,128404,14,128407,128419,14,128421,128421,14,128424,128424,14,128433,128434,14,128444,128444,14,128450,128452,14,128465,128467,14,128476,128478,14,128481,128481,14,128483,128483,14,128488,128488,14,128495,128495,14,128499,128499,14,128506,128591,14,128710,128714,14,128721,128722,14,128725,128725,14,128728,128735,14,128742,128744,14,128746,128746,14,128749,128751,14,128753,128754,14,128756,128758,14,128761,128761,14,128763,128764,14,128884,128895,14,128992,129003,14,129036,129039,14,129114,129119,14,129198,129279,14,129293,129295,14,129305,129310,14,129312,129319,14,129328,129328,14,129331,129338,14,129343,129343,14,129351,129355,14,129357,129359,14,129375,129387,14,129393,129393,14,129395,129398,14,129401,129401,14,129403,129403,14,129408,129412,14,129426,129431,14,129443,129444,14,129451,129453,14,129456,129465,14,129472,129472,14,129475,129482,14,129484,129484,14,129488,129510,14,129536,129647,14,129652,129652,14,129656,129658,14,129664,129666,14,129671,129679,14,129686,129704,14,129712,129718,14,129728,129730,14,129744,129750,14,917504,917504,4,917506,917535,4,917632,917759,4,918000,921599,4,0,9,4,11,12,4,14,31,4,169,169,14,174,174,14,1155,1159,5,1425,1469,5,1473,1474,5,1479,1479,5,1552,1562,5,1611,1631,5,1750,1756,5,1759,1764,5,1770,1773,5,1809,1809,5,1958,1968,5,2045,2045,5,2075,2083,5,2089,2093,5,2259,2273,5,2275,2306,5,2362,2362,5,2364,2364,5,2369,2376,5,2381,2381,5,2385,2391,5,2433,2433,5,2492,2492,5,2495,2496,7,2503,2504,7,2509,2509,5,2530,2531,5,2561,2562,5,2620,2620,5,2625,2626,5,2635,2637,5,2672,2673,5,2689,2690,5,2748,2748,5,2753,2757,5,2761,2761,7,2765,2765,5,2810,2815,5,2818,2819,7,2878,2878,5,2880,2880,7,2887,2888,7,2893,2893,5,2903,2903,5,2946,2946,5,3007,3007,7,3009,3010,7,3018,3020,7,3031,3031,5,3073,3075,7,3134,3136,5,3142,3144,5,3157,3158,5,3201,3201,5,3260,3260,5,3263,3263,5,3266,3266,5,3270,3270,5,3274,3275,7,3285,3286,5,3328,3329,5,3387,3388,5,3391,3392,7,3398,3400,7,3405,3405,5,3415,3415,5,3457,3457,5,3530,3530,5,3536,3537,7,3542,3542,5,3551,3551,5,3633,3633,5,3636,3642,5,3761,3761,5,3764,3772,5,3864,3865,5,3895,3895,5,3902,3903,7,3967,3967,7,3974,3975,5,3993,4028,5,4141,4144,5,4146,4151,5,4155,4156,7,4182,4183,7,4190,4192,5,4226,4226,5,4229,4230,5,4253,4253,5,4448,4519,9,4957,4959,5,5938,5940,5,6002,6003,5,6070,6070,7,6078,6085,7,6087,6088,7,6109,6109,5,6158,6158,4,6313,6313,5,6435,6438,7,6441,6443,7,6450,6450,5,6457,6459,5,6681,6682,7,6741,6741,7,6743,6743,7,6752,6752,5,6757,6764,5,6771,6780,5,6832,6845,5,6847,6848,5,6916,6916,7,6965,6965,5,6971,6971,7,6973,6977,7,6979,6980,7,7040,7041,5,7073,7073,7,7078,7079,7,7082,7082,7,7142,7142,5,7144,7145,5,7149,7149,5,7151,7153,5,7204,7211,7,7220,7221,7,7376,7378,5,7393,7393,7,7405,7405,5,7415,7415,7,7616,7673,5,8203,8203,4,8205,8205,13,8232,8232,4,8234,8238,4,8265,8265,14,8293,8293,4,8400,8412,5,8417,8417,5,8421,8432,5,8505,8505,14,8617,8618,14,9000,9000,14,9167,9167,14,9208,9210,14,9642,9643,14,9664,9664,14,9728,9732,14,9735,9741,14,9743,9744,14,9746,9746,14,9750,9751,14,9753,9756,14,9758,9759,14,9761,9761,14,9764,9765,14,9767,9769,14,9771,9773,14,9776,9783,14,9787,9791,14,9793,9793,14,9795,9799,14,9812,9822,14,9824,9824,14,9827,9827,14,9829,9830,14,9832,9832,14,9851,9851,14,9854,9854,14,9856,9861,14,9874,9876,14,9878,9879,14,9881,9881,14,9883,9884,14,9888,9889,14,9895,9895,14,9898,9899,14,9904,9905,14,9917,9918,14,9924,9925,14,9928,9928,14,9934,9935,14,9937,9937,14,9939,9940,14,9961,9962,14,9968,9973,14,9975,9978,14,9981,9981,14,9986,9986,14,9989,9989,14,9998,9998,14,10000,10001,14,10004,10004,14,10013,10013,14,10024,10024,14,10052,10052,14,10060,10060,14,10067,10069,14,10083,10084,14,10133,10135,14,10160,10160,14,10548,10549,14,11035,11036,14,11093,11093,14,11647,11647,5,12330,12333,5,12336,12336,14,12441,12442,5,12953,12953,14,42608,42610,5,42654,42655,5,43010,43010,5,43019,43019,5,43045,43046,5,43052,43052,5,43188,43203,7,43232,43249,5,43302,43309,5,43346,43347,7,43392,43394,5,43443,43443,5,43446,43449,5,43452,43453,5,43493,43493,5,43567,43568,7,43571,43572,7,43587,43587,5,43597,43597,7,43696,43696,5,43703,43704,5,43713,43713,5,43756,43757,5,43765,43765,7,44003,44004,7,44006,44007,7,44009,44010,7,44013,44013,5,44033,44059,12,44061,44087,12,44089,44115,12,44117,44143,12,44145,44171,12,44173,44199,12,44201,44227,12,44229,44255,12,44257,44283,12,44285,44311,12,44313,44339,12,44341,44367,12,44369,44395,12,44397,44423,12,44425,44451,12,44453,44479,12,44481,44507,12,44509,44535,12,44537,44563,12,44565,44591,12,44593,44619,12,44621,44647,12,44649,44675,12,44677,44703,12,44705,44731,12,44733,44759,12,44761,44787,12,44789,44815,12,44817,44843,12,44845,44871,12,44873,44899,12,44901,44927,12,44929,44955,12,44957,44983,12,44985,45011,12,45013,45039,12,45041,45067,12,45069,45095,12,45097,45123,12,45125,45151,12,45153,45179,12,45181,45207,12,45209,45235,12,45237,45263,12,45265,45291,12,45293,45319,12,45321,45347,12,45349,45375,12,45377,45403,12,45405,45431,12,45433,45459,12,45461,45487,12,45489,45515,12,45517,45543,12,45545,45571,12,45573,45599,12,45601,45627,12,45629,45655,12,45657,45683,12,45685,45711,12,45713,45739,12,45741,45767,12,45769,45795,12,45797,45823,12,45825,45851,12,45853,45879,12,45881,45907,12,45909,45935,12,45937,45963,12,45965,45991,12,45993,46019,12,46021,46047,12,46049,46075,12,46077,46103,12,46105,46131,12,46133,46159,12,46161,46187,12,46189,46215,12,46217,46243,12,46245,46271,12,46273,46299,12,46301,46327,12,46329,46355,12,46357,46383,12,46385,46411,12,46413,46439,12,46441,46467,12,46469,46495,12,46497,46523,12,46525,46551,12,46553,46579,12,46581,46607,12,46609,46635,12,46637,46663,12,46665,46691,12,46693,46719,12,46721,46747,12,46749,46775,12,46777,46803,12,46805,46831,12,46833,46859,12,46861,46887,12,46889,46915,12,46917,46943,12,46945,46971,12,46973,46999,12,47001,47027,12,47029,47055,12,47057,47083,12,47085,47111,12,47113,47139,12,47141,47167,12,47169,47195,12,47197,47223,12,47225,47251,12,47253,47279,12,47281,47307,12,47309,47335,12,47337,47363,12,47365,47391,12,47393,47419,12,47421,47447,12,47449,47475,12,47477,47503,12,47505,47531,12,47533,47559,12,47561,47587,12,47589,47615,12,47617,47643,12,47645,47671,12,47673,47699,12,47701,47727,12,47729,47755,12,47757,47783,12,47785,47811,12,47813,47839,12,47841,47867,12,47869,47895,12,47897,47923,12,47925,47951,12,47953,47979,12,47981,48007,12,48009,48035,12,48037,48063,12,48065,48091,12,48093,48119,12,48121,48147,12,48149,48175,12,48177,48203,12,48205,48231,12,48233,48259,12,48261,48287,12,48289,48315,12,48317,48343,12,48345,48371,12,48373,48399,12,48401,48427,12,48429,48455,12,48457,48483,12,48485,48511,12,48513,48539,12,48541,48567,12,48569,48595,12,48597,48623,12,48625,48651,12,48653,48679,12,48681,48707,12,48709,48735,12,48737,48763,12,48765,48791,12,48793,48819,12,48821,48847,12,48849,48875,12,48877,48903,12,48905,48931,12,48933,48959,12,48961,48987,12,48989,49015,12,49017,49043,12,49045,49071,12,49073,49099,12,49101,49127,12,49129,49155,12,49157,49183,12,49185,49211,12,49213,49239,12,49241,49267,12,49269,49295,12,49297,49323,12,49325,49351,12,49353,49379,12,49381,49407,12,49409,49435,12,49437,49463,12,49465,49491,12,49493,49519,12,49521,49547,12,49549,49575,12,49577,49603,12,49605,49631,12,49633,49659,12,49661,49687,12,49689,49715,12,49717,49743,12,49745,49771,12,49773,49799,12,49801,49827,12,49829,49855,12,49857,49883,12,49885,49911,12,49913,49939,12,49941,49967,12,49969,49995,12,49997,50023,12,50025,50051,12,50053,50079,12,50081,50107,12,50109,50135,12,50137,50163,12,50165,50191,12,50193,50219,12,50221,50247,12,50249,50275,12,50277,50303,12,50305,50331,12,50333,50359,12,50361,50387,12,50389,50415,12,50417,50443,12,50445,50471,12,50473,50499,12,50501,50527,12,50529,50555,12,50557,50583,12,50585,50611,12,50613,50639,12,50641,50667,12,50669,50695,12,50697,50723,12,50725,50751,12,50753,50779,12,50781,50807,12,50809,50835,12,50837,50863,12,50865,50891,12,50893,50919,12,50921,50947,12,50949,50975,12,50977,51003,12,51005,51031,12,51033,51059,12,51061,51087,12,51089,51115,12,51117,51143,12,51145,51171,12,51173,51199,12,51201,51227,12,51229,51255,12,51257,51283,12,51285,51311,12,51313,51339,12,51341,51367,12,51369,51395,12,51397,51423,12,51425,51451,12,51453,51479,12,51481,51507,12,51509,51535,12,51537,51563,12,51565,51591,12,51593,51619,12,51621,51647,12,51649,51675,12,51677,51703,12,51705,51731,12,51733,51759,12,51761,51787,12,51789,51815,12,51817,51843,12,51845,51871,12,51873,51899,12,51901,51927,12,51929,51955,12,51957,51983,12,51985,52011,12,52013,52039,12,52041,52067,12,52069,52095,12,52097,52123,12,52125,52151,12,52153,52179,12,52181,52207,12,52209,52235,12,52237,52263,12,52265,52291,12,52293,52319,12,52321,52347,12,52349,52375,12,52377,52403,12,52405,52431,12,52433,52459,12,52461,52487,12,52489,52515,12,52517,52543,12,52545,52571,12,52573,52599,12,52601,52627,12,52629,52655,12,52657,52683,12,52685,52711,12,52713,52739,12,52741,52767,12,52769,52795,12,52797,52823,12,52825,52851,12,52853,52879,12,52881,52907,12,52909,52935,12,52937,52963,12,52965,52991,12,52993,53019,12,53021,53047,12,53049,53075,12,53077,53103,12,53105,53131,12,53133,53159,12,53161,53187,12,53189,53215,12,53217,53243,12,53245,53271,12,53273,53299,12,53301,53327,12,53329,53355,12,53357,53383,12,53385,53411,12,53413,53439,12,53441,53467,12,53469,53495,12,53497,53523,12,53525,53551,12,53553,53579,12,53581,53607,12,53609,53635,12,53637,53663,12,53665,53691,12,53693,53719,12,53721,53747,12,53749,53775,12,53777,53803,12,53805,53831,12,53833,53859,12,53861,53887,12,53889,53915,12,53917,53943,12,53945,53971,12,53973,53999,12,54001,54027,12,54029,54055,12,54057,54083,12,54085,54111,12,54113,54139,12,54141,54167,12,54169,54195,12,54197,54223,12,54225,54251,12,54253,54279,12,54281,54307,12,54309,54335,12,54337,54363,12,54365,54391,12,54393,54419,12,54421,54447,12,54449,54475,12,54477,54503,12,54505,54531,12,54533,54559,12,54561,54587,12,54589,54615,12,54617,54643,12,54645,54671,12,54673,54699,12,54701,54727,12,54729,54755,12,54757,54783,12,54785,54811,12,54813,54839,12,54841,54867,12,54869,54895,12,54897,54923,12,54925,54951,12,54953,54979,12,54981,55007,12,55009,55035,12,55037,55063,12,55065,55091,12,55093,55119,12,55121,55147,12,55149,55175,12,55177,55203,12,55243,55291,10,65024,65039,5,65279,65279,4,65520,65528,4,66045,66045,5,66422,66426,5,68101,68102,5,68152,68154,5,68325,68326,5,69291,69292,5,69632,69632,7,69634,69634,7,69759,69761,5]")}function De(U,we){if(U===0)return 0;const Ne=le(U,we);if(Ne!==void 0)return Ne;const Le=H(we,U);return U-=Se(Le),U}function le(U,we){let Ne=H(we,U);for(U-=Se(Ne);Ue(Ne)||Ne===65039||Ne===8419;){if(U===0)return;Ne=H(we,U),U-=Se(Ne)}if(!K(Ne))return;if(U>=0){const Le=H(we,U);Le===8205&&(U-=Se(Le))}return U}function Se(U){return U>=65536?2:1}function Ue(U){return 127995<=U&&U<=127999}},NLgs:function(Me,L,s){"use strict";s.d(L,"e",function(){return C}),s.d(L,"f",function(){return z}),s.d(L,"d",function(){return g}),s.d(L,"c",function(){return j}),s.d(L,"a",function(){return G}),s.d(L,"b",function(){return J});var re=s("miYZ"),ie=s("tsqr"),Ie=s("9og8"),ae=s("2qtc"),y=s("kLXV"),I=s("WmNS"),ue=s.n(I),ge=s("q1tI"),a=s.n(ge),N=s("9kvl"),S=s("xKgJ"),E=s("1vsH"),f=s("RCxd"),h=s("yTi+"),d=s.n(h),m=s("m3rI"),C=function(X){var F=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;return!!(z(X)&&v(F))},z=function(X){return Object(S.p)()?!0:(X({type:"user/showPopLogin",payload:{showPopLogin:!0,showClosable:!0}}),!1)},v=function(){var X,F=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1,oe=Object(N.c)()._store.getState(),he=oe.user;return(X=he.userInfo)!==null&&X!==void 0&&X.profile_completed?!0:(y.a.confirm({title:"\u63D0\u793A",width:530,centered:!0,content:F?"\u6309\u7167\u6709\u5173\u653F\u7B56\u89C4\u5B9A\uFF0C\u7279\u6B8A\u5B9E\u9A8C\u9700\u8981\u5148\u7ED1\u5B9A\u624B\u673A\u53F7\u624D\u80FD\u4F7F\u7528\uFF0C\u8BF7\u5148\u7ED1\u5B9A\u624B\u673A\u53F7\u7801":"\u60A8\u9700\u8981\u53BB\u5B8C\u5584\u60A8\u7684\u4E2A\u4EBA\u8D44\u6599\uFF0C\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD",okText:"\u7ACB\u5373\u5B8C\u5584",cancelText:"\u7A0D\u540E\u5B8C\u5584",onOk:function(){N.d.push("/account/profile/edit")}}),!1)},g=function(){var X,F=Object(N.c)()._store.getState(),oe=F.user;return(X=oe.userInfo)!==null&&X!==void 0&&X.professional_certification?!0:(y.a.confirm({title:"\u63D0\u793A",centered:!0,content:a.a.createElement("div",{className:"tc"},"\u60A8\u9700\u8981\u53BB\u5B8C\u6210\u60A8\u7684\u804C\u4E1A\u8BA4\u8BC1\uFF0C\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD"),okText:"\u7ACB\u5373\u5B8C\u5584",cancelText:"\u7A0D\u540E\u5B8C\u5584",onOk:function(){Object(E.S)("/account/certification")}}),!1)},j=function(){var X;if(Object(S.a)())return!0;var F=Object(N.c)()._store.getState(),oe=F.user,he=F.globalSetting;return y.a.warning({centered:!0,width:530,title:"\u63D0\u793A",content:a.a.createElement("div",{className:"tc",style:{marginLeft:-38}},a.a.createElement("p",null,"\u626B\u7801\u6DFB\u52A0\uFF0C\u7533\u8BF7\u64CD\u4F5C\u6743\u9650"),a.a.createElement("img",{src:m.a.IMG_SERVER+(he==null||((X=he.setting)===null||X===void 0)?void 0:X.authority_qrcode_url),width:200})),okText:"\u6211\u77E5\u9053\u4E86",maskClosable:!0}),!1},G=function(X,F){var oe;if(X)return!0;var he=Object(N.c)()._store.getState(),ce=he.user,Q=he.globalSetting;return y.a.confirm({centered:!0,zIndex:1e4,width:530,title:"\u63D0\u793A",content:a.a.createElement("div",null,a.a.createElement("p",null,F||"\u8BE5\u5B9E\u8DF5\u8D44\u6E90\u9700\u6388\u6743\u540E\u624D\u53EF\u4F7F\u7528\u3002 \u60A8\u53EF\u4EE5\u5728QQ\u670D\u52A1\u7FA4\u5411\u7BA1\u7406\u5458\u7533\u8BF7\uFF0C\u83B7\u5F97\u7EE7\u7EED\u64CD\u4F5C\u7684\u6743\u9650\u3002"),a.a.createElement("div",{style:{marginLeft:"110px"}},a.a.createElement("img",{src:m.a.IMG_SERVER+(Q==null||((oe=Q.setting)===null||oe===void 0)?void 0:oe.authority_qrcode_url),width:200}),a.a.createElement("div",{style:{marginLeft:"35px"}},"\u7FA4\u53F7\uFF1A","714336072"))),okText:"\u7ACB\u5373\u8054\u7CFB",cancelText:"\u53D6\u6D88",onOk:function(){Object(E.S)("https://qm.qq.com/cgi-bin/qm/qr?k=tIyDPXUtE0yEk-MOJxhH55lTUJS-nYAM&jump_from=webapi")}}),!1},J=function(X){var F=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"",oe=Object(N.c)()._store.getState(),he=oe.shixunsDetail.detail;return(he==null?void 0:he.public)===2||(he==null?void 0:he.public)===1||(he==null?void 0:he.shixun_status)===3?(y.a.info({centered:!0,icon:a.a.createElement(f.a,{style:{color:"#faad14"}}),width:460,title:"\u63D0\u793A",content:a.a.createElement("div",{className:"tc",style:{marginLeft:-38}},a.a.createElement("div",{style:{display:"flex",flexDirection:"column",alignItems:"flex-start",paddingLeft:38,margin:"12px 0"}},a.a.createElement("span",null,"\u8BE5\u5B9E\u8DF5\u9879\u76EE\u7684\u72B6\u6001\u4E3A",(he==null?void 0:he.public)===2?"\u5DF2\u516C\u5F00":(he==null?void 0:he.public)===1?"\u5F85\u5BA1\u6838":"\u5DF2\u5173\u95ED","\uFF0C",F,"\u3002"),a.a.createElement("p",null,"\u5982\u6709\u9700\u8981\uFF0C\u8BF7\u8054\u7CFB\u5E73\u53F0\u7BA1\u7406\u5458\u8FDB\u884C\u6280\u672F\u652F\u6301\u3002")),a.a.createElement("img",{style:{border:"4px solid #0152d9",borderRadius:"4px"},src:d.a,alt:"\u4E8C\u7EF4\u7801",width:160})),okText:"\u6211\u77E5\u9053\u4E86"}),!0):(he==null?void 0:he.shixun_status)===2?(y.a.confirm({centered:!0,icon:a.a.createElement(f.a,null),title:"\u63D0\u793A",content:a.a.createElement("div",null,a.a.createElement("span",null,"\u8BE5\u5B9E\u8DF5\u9879\u76EE\u5DF2\u53D1\u5E03\uFF0C",F,"\u3002"),a.a.createElement("br",null),a.a.createElement("span",null,"\u5982\u6709\u9700\u8981\uFF0C\u60A8\u53EF\u4EE5\u64A4\u9500\u53D1\u5E03\u540E\uFF0C\u518D\u8FDB\u884C\u64CD\u4F5C\u3002")),okText:"\u64A4\u9500\u53D1\u5E03",cancelText:"\u53D6\u6D88",onOk:function(){y.a.confirm({width:440,centered:!0,icon:a.a.createElement(f.a,{style:{color:"#faad14"}}),title:"\u63D0\u793A",content:"\u64A4\u9500\u53D1\u5E03\u540E\uFF0C\u5B66\u5458\u5C06\u65E0\u6CD5\u8FDB\u884C\u7EC3\u4E60\u3002\u662F\u5426\u786E\u8BA4\u64A4\u9500\u53D1\u5E03\uFF1F",okText:"\u786E\u5B9A\u64A4\u9500\u53D1\u5E03",cancelText:"\u53D6\u6D88",onOk:function(){var Q=Object(Ie.a)(ue.a.mark(function H(){var Re;return ue.a.wrap(function(u){for(;;)switch(u.prev=u.next){case 0:return u.next=2,X({type:"shixunsDetail/cancelRelease",payload:{id:he==null?void 0:he.identifier}});case 2:Re=u.sent,Re.status!==401&&(ie.b.success("\u64A4\u9500\u53D1\u5E03\u6210\u529F\u3002\u5B9E\u8BAD\u56DE\u5230\u672A\u53D1\u5E03\u7684\u72B6\u6001\u3002"),X({type:"shixunsDetail/getShixunsDetail",payload:{id:he==null?void 0:he.identifier}}),X({type:"practiceSetting/getCommonData",payload:{id:he==null?void 0:he.identifier}}));case 4:case"end":return u.stop()}},H)}));function W(){return Q.apply(this,arguments)}return W}()})}}),!0):!1}},Nmxd:function(Me,L){Me.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAYAAABXAvmHAAAF4ElEQVRoQ91aW2wUVRj+/rPbSivURIgKjZcHjUYTgZ0lthgv3V0LSqB9IAQeNNEIaKKwZbcFnuQJoZ1piyYawJjIiwZDwiVBaHd28QItaWeLD4KJPgimiA+YCAZj6Z7fzPZiu7e57WriJE0f5v++//tm/j3nn3MOoQyXcmJ/LdfeCBOjEUA9EdUzUA9g0ST9VQJGmXkU5n/CAN2q043Vm295TU9uCRS9MwCiFWBqAmD++R1yjQNIgTgF5tNGuCPtEJ8Nd2xgWarzPil9UbBsA1G1m6R5GOYxkOgRItM71NRxzQmnIwMBvStKoCiAB50kcRB7mcG96XB7r12MLQNPJXrvzdD4QQZW2yX2EkfACR/7N56PRH+14rE0sDSpLRaM4wA/YEVW3vt0RRLWjIRi35biLWkgmOhaz0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dEe6Y9XEe0NVDBLzsnrMwcmbp/rOs8lXPQtzODHhY+/9LEq0aCcV0M22wX21jge5yiwdwGVW+RuPZnGUVM9FkP+NlYesaIFcJ8s+TLM9UQDwY1JYOx6Y3QPLXRpNqPzEiHpJfBOAD8KgHjoJQs3VIh+Kzlj3zDCzp63zEJ8QgCHeXW4AnPsZvGSkbLjR3/DCT5/+3vD7lTkl0bQHRPk9PrVxg5q1GpL3gZkvpLaZU93qW8r/dYhJiw3DTNudbTFMPb1lf5xIpxHEQ7i/XA7XFw/hZSLlmqLn094flLqWZzNzcZikO/JvbrCTkJjub3rYMZJ8YgwJJbSuBK7zRTb3pUGwfCGznTdk3MMm2tG/vIvL7tpJE1G3vlCeMMcYCvTye2TfSvP2qHeFTMY4NTI9Sek8AJFewlCGi7IEPc/JycmWYOUVCJMHitNmYOQF7NjAzmTK8v5Z/N4/biEYI1BN46riNeeTGvEazx21Ao5DmcRs5QHfV6UbQ+3GbvwHH7EQQahyMxwAAAABJRU5ErkJggg=="},NvD2:function(Me,L,s){"use strict";s.d(L,"a",function(){return I});var re=s("Kwbf");function ie(ue,ge){var a=new Set;return ue.forEach(function(N){ge.has(N)||a.add(N)}),a}function Ie(ue){var ge=ue||{},a=ge.disabled,N=ge.disableCheckbox,S=ge.checkable;return!!(a||N)||S===!1}function ae(ue,ge,a,N){for(var S=new Set(ue),E=new Set,f=0;f<=a;f+=1){var h=ge.get(f)||new Set;h.forEach(function(z){var v=z.key,g=z.node,j=z.children,G=j===void 0?[]:j;S.has(v)&&!N(g)&&G.filter(function(J){return!N(J.node)}).forEach(function(J){S.add(J.key)})})}for(var d=new Set,m=a;m>=0;m-=1){var C=ge.get(m)||new Set;C.forEach(function(z){var v=z.parent,g=z.node;if(N(g)||!z.parent||d.has(z.parent.key))return;if(N(z.parent.node)){d.add(v.key);return}var j=!0,G=!1;(v.children||[]).filter(function(J){return!N(J.node)}).forEach(function(J){var P=J.key,X=S.has(P);j&&!X&&(j=!1),!G&&(X||E.has(P))&&(G=!0)}),j&&S.add(v.key),G&&E.add(v.key),d.add(v.key)})}return{checkedKeys:Array.from(S),halfCheckedKeys:Array.from(ie(E,S))}}function y(ue,ge,a,N,S){for(var E=new Set(ue),f=new Set(ge),h=0;h<=N;h+=1){var d=a.get(h)||new Set;d.forEach(function(v){var g=v.key,j=v.node,G=v.children,J=G===void 0?[]:G;!E.has(g)&&!f.has(g)&&!S(j)&&J.filter(function(P){return!S(P.node)}).forEach(function(P){E.delete(P.key)})})}f=new Set;for(var m=new Set,C=N;C>=0;C-=1){var z=a.get(C)||new Set;z.forEach(function(v){var g=v.parent,j=v.node;if(S(j)||!v.parent||m.has(v.parent.key))return;if(S(v.parent.node)){m.add(g.key);return}var G=!0,J=!1;(g.children||[]).filter(function(P){return!S(P.node)}).forEach(function(P){var X=P.key,F=E.has(X);G&&!F&&(G=!1),!J&&(F||f.has(X))&&(J=!0)}),G||E.delete(g.key),J&&f.add(g.key),m.add(g.key)})}return{checkedKeys:Array.from(E),halfCheckedKeys:Array.from(ie(f,E))}}function I(ue,ge,a,N){var S=[],E;N?E=N:E=Ie;var f=new Set(ue.filter(function(C){var z=!!a[C];return z||S.push(C),z})),h=new Map,d=0;Object.keys(a).forEach(function(C){var z=a[C],v=z.level,g=h.get(v);g||(g=new Set,h.set(v,g)),g.add(z),d=Math.max(d,v)}),Object(re.a)(!S.length,"Tree missing follow keys: ".concat(S.slice(0,100).map(function(C){return"'".concat(C,"'")}).join(", ")));var m;return ge===!0?m=ae(f,h,d,E):m=y(f,ge.halfCheckedKeys,h,d,E),m}},OZM5:function(Me,L,s){"use strict";s.d(L,"b",function(){return N}),s.d(L,"a",function(){return S}),s.d(L,"k",function(){return E}),s.d(L,"h",function(){return f}),s.d(L,"i",function(){return h}),s.d(L,"g",function(){return d}),s.d(L,"c",function(){return m}),s.d(L,"d",function(){return C}),s.d(L,"j",function(){return g}),s.d(L,"e",function(){return j}),s.d(L,"f",function(){return G});var re=s("KQm4"),ie=s("U8pU"),Ie=s("Ff2n"),ae=s("q1tI"),y=s.n(ae),I=s("Kwbf"),ue=s("WaYH"),ge=.25,a=2;function N(J,P){var X=J.slice(),F=X.indexOf(P);return F>=0&&X.splice(F,1),X}function S(J,P){var X=J.slice();return X.indexOf(P)===-1&&X.push(P),X}function E(J){return J.split("-")}function f(J,P){return"".concat(J,"-").concat(P)}function h(J){return J&&J.type&&J.type.isTreeNode}function d(J,P){var X=[J],F=P[J];function oe(){var he=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];he.forEach(function(ce){var Q=ce.key,W=ce.children;X.push(Q),oe(W)})}return oe(F.children),X}function m(J,P){var X=J.clientY,F=P.selectHandle.getBoundingClientRect(),oe=F.top,he=F.bottom,ce=F.height,Q=Math.max(ce*ge,a);return X<=oe+Q?-1:X>=he-Q?1:0}function C(J,P){if(!J)return;var X=P.multiple;return X?J.slice():J.length?[J[0]]:J}var z=function(P){return P};function v(J,P){if(!J)return[];var X=P||{},F=X.processProps,oe=F===void 0?z:F,he=Array.isArray(J)?J:[J];return he.map(function(ce){var Q=ce.children,W=Object(Ie.a)(ce,["children"]),H=v(Q,P);return y.a.createElement(ue.a,Object.assign({},oe(W)),H)})}function g(J){if(!J)return null;var P;if(Array.isArray(J))P={checkedKeys:J,halfCheckedKeys:void 0};else if(Object(ie.a)(J)==="object")P={checkedKeys:J.checked||void 0,halfCheckedKeys:J.halfChecked||void 0};else return Object(I.a)(!1,"`checkedKeys` is not an array or an object"),null;return P}function j(J,P){var X=new Set;function F(oe){if(X.has(oe))return;var he=P[oe];if(!he)return;X.add(oe);var ce=he.parent,Q=he.node;if(Q.disabled)return;ce&&F(ce.key)}return(J||[]).forEach(function(oe){F(oe)}),Object(re.a)(X)}function G(J){var P={};return Object.keys(J).forEach(function(X){(X.startsWith("data-")||X.startsWith("aria-"))&&(P[X]=J[X])}),P}},Ohmc:function(Me,L,s){Me.exports=s.p+"static/certificate.fc32dc1b.jpg"},P5Jw:function(Me,L,s){"use strict";var re=s("rHrb"),ie=re.CopyToClipboard;ie.CopyToClipboard=ie,Me.exports=ie},RMFE:function(Me,L){Me.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAWgAAAFyCAYAAADYqEAoAAAAAXNSR0IArs4c6QAADetJREFUeAHt1jFqXUEQRUHLaP9b/jZObmYU9MAJSlGDxNBUPw76+vz9+eWHAAECBHICv3MbWYgAAQIE/gkItA+BAAECUQGBjh7GWgQIEBBo3wABAgSiAgIdPYy1CBAgINC+AQIECEQFBDp6GGsRIEBAoH0DBAgQiAoIdPQw1iJAgIBA+wYIECAQFRDo6GGsRYAAAYH2DRAgQCAqINDRw1iLAAECAu0bIECAQFRAoKOHsRYBAgQE2jdAgACBqIBARw9jLQIECAi0b4AAAQJRAYGOHsZaBAgQEGjfAAECBKICAh09jLUIECAg0L4BAgQIRAUEOnoYaxEgQECgfQMECBCICgh09DDWIkCAgED7BggQIBAVEOjoYaxFgAABgfYNECBAICog0NHDWIsAAQIC7RsgQIBAVECgo4exFgECBATaN0CAAIGogEBHD2MtAgQICLRvgAABAlEBgY4exloECBAQaN8AAQIEogICHT2MtQgQICDQvgECBAhEBQQ6ehhrESBAQKB9AwQIEIgKCHT0MNYiQICAQPsGCBAgEBUQ6OhhrEWAAAGB9g0QIEAgKiDQ0cNYiwABAgLtGyBAgEBUQKCjh7EWAQIEBNo3QIAAgaiAQEcPYy0CBAh8/5Tg6+vrp3/q7wgQIEDgPwKfz+c/v92v/Ac9CxMBAgRSAgKdOodlCBAgMAGBnoWJAAECKQGBTp3DMgQIEJiAQM/CRIAAgZSAQKfOYRkCBAhMQKBnYSJAgEBKQKBT57AMAQIEJiDQszARIEAgJSDQqXNYhgABAhMQ6FmYCBAgkBIQ6NQ5LEOAAIEJCPQsTAQIEEgJCHTqHJYhQIDABAR6FiYCBAikBAQ6dQ7LECBAYAICPQsTAQIEUgICnTqHZQgQIDABgZ6FiQABAikBgU6dwzIECBCYgEDPwkSAAIGUgECnzmEZAgQITECgZ2EiQIBASkCgU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IkqRxIkmSBv2VFwH5m7XNk4Bs2uZJQJ7UNjeA3GibTwXkRttsgNxomw2QG22zAXKjbW4AeVLbbIDcaJsNkCe1zVtOJEnSOJEkSeNEkiSNE0mSNE4kSdI4kSRJ40SSJA36K5Ik6X9OJEnSOJEkSeNEkiSNE0mSNE4kSdI4kSRJ40SSJI0TSZI0TiRJ0jiRJEnjRJIkjRNJkjROJEnSOJEkSeNEkiSNE0mSNE4kSdI4kSRJ40SSJI0TSZI0TiRJ0jiRJEnjRJIkjRNJkjROJEnSOJEkSeNEkiSNE0mSNE4kSdI4kSRJ4/8ATrCgy9kbxW8AAAAASUVORK5CYII="},T8No:function(Me,L,s){"use strict";s.d(L,"a",function(){return ue}),s.d(L,"e",function(){return ge}),s.d(L,"c",function(){return he}),s.d(L,"b",function(){return ce}),s.d(L,"d",function(){return Q}),s.d(L,"f",function(){return Re});var re=s("MNsG"),ie=s("N0LK"),Ie=s("Cg/j");let ae=re.k||"";const y=new Map;y.set("false",!1),y.set("true",!0),y.set("isMac",re.f),y.set("isLinux",re.d),y.set("isWindows",re.i),y.set("isWeb",re.h),y.set("isMacNative",re.f&&!re.h),y.set("isEdge",ae.indexOf("Edg/")>=0),y.set("isFirefox",ae.indexOf("Firefox")>=0),y.set("isChrome",ae.indexOf("Chrome")>=0),y.set("isSafari",ae.indexOf("Safari")>=0);const I=Object.prototype.hasOwnProperty;class ue{static has(u){return E.create(u)}static equals(u,_){return f.create(u,_)}static regex(u,_){return J.create(u,_)}static not(u){return C.create(u)}static and(...u){return F.create(u,null)}static or(...u){return oe.create(u,null,!0)}static deserialize(u,_=!1){return u?this._deserializeOrExpression(u,_):void 0}static _deserializeOrExpression(u,_){let A=u.split("||");return oe.create(A.map(l=>this._deserializeAndExpression(l,_)),null,!0)}static _deserializeAndExpression(u,_){let A=u.split("&&");return F.create(A.map(l=>this._deserializeOne(l,_)),null)}static _deserializeOne(u,_){if(u=u.trim(),u.indexOf("!=")>=0){let A=u.split("!=");return m.create(A[0].trim(),this._deserializeValue(A[1],_))}if(u.indexOf("==")>=0){let A=u.split("==");return f.create(A[0].trim(),this._deserializeValue(A[1],_))}if(u.indexOf("=~")>=0){let A=u.split("=~");return J.create(A[0].trim(),this._deserializeRegexValue(A[1],_))}if(u.indexOf(" in ")>=0){let A=u.split(" in ");return h.create(A[0].trim(),A[1].trim())}if(/^[^<=>]+>=[^<=>]+$/.test(u)){const A=u.split(">=");return g.create(A[0].trim(),A[1].trim())}if(/^[^<=>]+>[^<=>]+$/.test(u)){const A=u.split(">");return v.create(A[0].trim(),A[1].trim())}if(/^[^<=>]+<=[^<=>]+$/.test(u)){const A=u.split("<=");return G.create(A[0].trim(),A[1].trim())}if(/^[^<=>]+<[^<=>]+$/.test(u)){const A=u.split("<");return j.create(A[0].trim(),A[1].trim())}return/^\!\s*/.test(u)?C.create(u.substr(1).trim()):E.create(u)}static _deserializeValue(u,_){if(u=u.trim(),u==="true")return!0;if(u==="false")return!1;let A=/^'([^']*)'$/.exec(u);return A?A[1].trim():u}static _deserializeRegexValue(u,_){if(Object(ie.C)(u)){if(_)throw new Error("missing regexp-value for =~-expression");return console.warn("missing regexp-value for =~-expression"),null}let A=u.indexOf("/"),l=u.lastIndexOf("/");if(A===l||A<0){if(_)throw new Error(`bad regexp-value '${u}', missing /-enclosure`);return console.warn(`bad regexp-value '${u}', missing /-enclosure`),null}let R=u.slice(A+1,l),M=u[l+1]==="i"?"i":"";try{return new RegExp(R,M)}catch(fe){if(_)throw new Error(`bad regexp-value '${u}', parse error: ${fe}`);return console.warn(`bad regexp-value '${u}', parse error: ${fe}`),null}}}function ge(u,_){const A=u?u.substituteConstants():void 0,l=_?_.substituteConstants():void 0;return!A&&!l?!0:!A||!l?!1:A.equals(l)}function a(u,_){return u.cmp(_)}class N{constructor(){this.type=0}cmp(u){return this.type-u.type}equals(u){return u.type===this.type}substituteConstants(){return this}evaluate(u){return!1}serialize(){return"false"}keys(){return[]}negate(){return S.INSTANCE}}N.INSTANCE=new N;class S{constructor(){this.type=1}cmp(u){return this.type-u.type}equals(u){return u.type===this.type}substituteConstants(){return this}evaluate(u){return!0}serialize(){return"true"}keys(){return[]}negate(){return N.INSTANCE}}S.INSTANCE=new S;class E{constructor(u,_){this.key=u,this.negated=_,this.type=2}static create(u,_=null){const A=y.get(u);return typeof A=="boolean"?A?S.INSTANCE:N.INSTANCE:new E(u,_)}cmp(u){return u.type!==this.type?this.type-u.type:W(this.key,u.key)}equals(u){return u.type===this.type?this.key===u.key:!1}substituteConstants(){const u=y.get(this.key);return typeof u=="boolean"?u?S.INSTANCE:N.INSTANCE:this}evaluate(u){return!!u.getValue(this.key)}serialize(){return this.key}keys(){return[this.key]}negate(){return this.negated||(this.negated=C.create(this.key,this)),this.negated}}class f{constructor(u,_,A){this.key=u,this.value=_,this.negated=A,this.type=4}static create(u,_,A=null){if(typeof _=="boolean")return _?E.create(u,A):C.create(u,A);const l=y.get(u);if(typeof l=="boolean"){const R=l?"true":"false";return _===R?S.INSTANCE:N.INSTANCE}return new f(u,_,A)}cmp(u){return u.type!==this.type?this.type-u.type:H(this.key,this.value,u.key,u.value)}equals(u){return u.type===this.type?this.key===u.key&&this.value===u.value:!1}substituteConstants(){const u=y.get(this.key);if(typeof u=="boolean"){const _=u?"true":"false";return this.value===_?S.INSTANCE:N.INSTANCE}return this}evaluate(u){return u.getValue(this.key)==this.value}serialize(){return`${this.key} == '${this.value}'`}keys(){return[this.key]}negate(){return this.negated||(this.negated=m.create(this.key,this.value,this)),this.negated}}class h{constructor(u,_){this.key=u,this.valueKey=_,this.type=10,this.negated=null}static create(u,_){return new h(u,_)}cmp(u){return u.type!==this.type?this.type-u.type:H(this.key,this.valueKey,u.key,u.valueKey)}equals(u){return u.type===this.type?this.key===u.key&&this.valueKey===u.valueKey:!1}substituteConstants(){return this}evaluate(u){const _=u.getValue(this.valueKey),A=u.getValue(this.key);return Array.isArray(_)?_.indexOf(A)>=0:typeof A=="string"&&typeof _=="object"&&_!==null?I.call(_,A):!1}serialize(){return`${this.key} in '${this.valueKey}'`}keys(){return[this.key,this.valueKey]}negate(){return this.negated||(this.negated=d.create(this)),this.negated}}class d{constructor(u){this._actual=u,this.type=11}static create(u){return new d(u)}cmp(u){return u.type!==this.type?this.type-u.type:this._actual.cmp(u._actual)}equals(u){return u.type===this.type?this._actual.equals(u._actual):!1}substituteConstants(){return this}evaluate(u){return!this._actual.evaluate(u)}serialize(){throw new Error("Method not implemented.")}keys(){return this._actual.keys()}negate(){return this._actual}}class m{constructor(u,_,A){this.key=u,this.value=_,this.negated=A,this.type=5}static create(u,_,A=null){if(typeof _=="boolean")return _?C.create(u,A):E.create(u,A);const l=y.get(u);if(typeof l=="boolean"){const R=l?"true":"false";return _===R?N.INSTANCE:S.INSTANCE}return new m(u,_,A)}cmp(u){return u.type!==this.type?this.type-u.type:H(this.key,this.value,u.key,u.value)}equals(u){return u.type===this.type?this.key===u.key&&this.value===u.value:!1}substituteConstants(){const u=y.get(this.key);if(typeof u=="boolean"){const _=u?"true":"false";return this.value===_?N.INSTANCE:S.INSTANCE}return this}evaluate(u){return u.getValue(this.key)!=this.value}serialize(){return`${this.key} != '${this.value}'`}keys(){return[this.key]}negate(){return this.negated||(this.negated=f.create(this.key,this.value,this)),this.negated}}class C{constructor(u,_){this.key=u,this.negated=_,this.type=3}static create(u,_=null){const A=y.get(u);return typeof A=="boolean"?A?N.INSTANCE:S.INSTANCE:new C(u,_)}cmp(u){return u.type!==this.type?this.type-u.type:W(this.key,u.key)}equals(u){return u.type===this.type?this.key===u.key:!1}substituteConstants(){const u=y.get(this.key);return typeof u=="boolean"?u?N.INSTANCE:S.INSTANCE:this}evaluate(u){return!u.getValue(this.key)}serialize(){return`!${this.key}`}keys(){return[this.key]}negate(){return this.negated||(this.negated=E.create(this.key,this)),this.negated}}function z(u,_){if(typeof u=="string"){const A=parseFloat(u);isNaN(A)||(u=A)}return typeof u=="string"||typeof u=="number"?_(u):N.INSTANCE}class v{constructor(u,_,A){this.key=u,this.value=_,this.negated=A,this.type=12}static create(u,_,A=null){return z(_,l=>new v(u,l,A))}cmp(u){return u.type!==this.type?this.type-u.type:H(this.key,this.value,u.key,u.value)}equals(u){return u.type===this.type?this.key===u.key&&this.value===u.value:!1}substituteConstants(){return this}evaluate(u){return typeof this.value=="string"?!1:parseFloat(u.getValue(this.key))>this.value}serialize(){return`${this.key} > ${this.value}`}keys(){return[this.key]}negate(){return this.negated||(this.negated=G.create(this.key,this.value,this)),this.negated}}class g{constructor(u,_,A){this.key=u,this.value=_,this.negated=A,this.type=13}static create(u,_,A=null){return z(_,l=>new g(u,l,A))}cmp(u){return u.type!==this.type?this.type-u.type:H(this.key,this.value,u.key,u.value)}equals(u){return u.type===this.type?this.key===u.key&&this.value===u.value:!1}substituteConstants(){return this}evaluate(u){return typeof this.value=="string"?!1:parseFloat(u.getValue(this.key))>=this.value}serialize(){return`${this.key} >= ${this.value}`}keys(){return[this.key]}negate(){return this.negated||(this.negated=j.create(this.key,this.value,this)),this.negated}}class j{constructor(u,_,A){this.key=u,this.value=_,this.negated=A,this.type=14}static create(u,_,A=null){return z(_,l=>new j(u,l,A))}cmp(u){return u.type!==this.type?this.type-u.type:H(this.key,this.value,u.key,u.value)}equals(u){return u.type===this.type?this.key===u.key&&this.value===u.value:!1}substituteConstants(){return this}evaluate(u){return typeof this.value=="string"?!1:parseFloat(u.getValue(this.key))<this.value}serialize(){return`${this.key} < ${this.value}`}keys(){return[this.key]}negate(){return this.negated||(this.negated=g.create(this.key,this.value,this)),this.negated}}class G{constructor(u,_,A){this.key=u,this.value=_,this.negated=A,this.type=15}static create(u,_,A=null){return z(_,l=>new G(u,l,A))}cmp(u){return u.type!==this.type?this.type-u.type:H(this.key,this.value,u.key,u.value)}equals(u){return u.type===this.type?this.key===u.key&&this.value===u.value:!1}substituteConstants(){return this}evaluate(u){return typeof this.value=="string"?!1:parseFloat(u.getValue(this.key))<=this.value}serialize(){return`${this.key} <= ${this.value}`}keys(){return[this.key]}negate(){return this.negated||(this.negated=v.create(this.key,this.value,this)),this.negated}}class J{constructor(u,_){this.key=u,this.regexp=_,this.type=7,this.negated=null}static create(u,_){return new J(u,_)}cmp(u){if(u.type!==this.type)return this.type-u.type;if(this.key<u.key)return-1;if(this.key>u.key)return 1;const _=this.regexp?this.regexp.source:"",A=u.regexp?u.regexp.source:"";return _<A?-1:_>A?1:0}equals(u){if(u.type===this.type){const _=this.regexp?this.regexp.source:"",A=u.regexp?u.regexp.source:"";return this.key===u.key&&_===A}return!1}substituteConstants(){return this}evaluate(u){let _=u.getValue(this.key);return this.regexp?this.regexp.test(_):!1}serialize(){const u=this.regexp?`/${this.regexp.source}/${this.regexp.ignoreCase?"i":""}`:"/invalid/";return`${this.key} =~ ${u}`}keys(){return[this.key]}negate(){return this.negated||(this.negated=P.create(this)),this.negated}}class P{constructor(u){this._actual=u,this.type=8}static create(u){return new P(u)}cmp(u){return u.type!==this.type?this.type-u.type:this._actual.cmp(u._actual)}equals(u){return u.type===this.type?this._actual.equals(u._actual):!1}substituteConstants(){return this}evaluate(u){return!this._actual.evaluate(u)}serialize(){throw new Error("Method not implemented.")}keys(){return this._actual.keys()}negate(){return this._actual}}function X(u){let _=null;for(let A=0,l=u.length;A<l;A++){const R=u[A].substituteConstants();if(u[A]!==R&&_===null){_=[];for(let M=0;M<A;M++)_[M]=u[M]}_!==null&&(_[A]=R)}return _===null?u:_}class F{constructor(u,_){this.expr=u,this.negated=_,this.type=6}static create(u,_){return F._normalizeArr(u,_)}cmp(u){if(u.type!==this.type)return this.type-u.type;if(this.expr.length<u.expr.length)return-1;if(this.expr.length>u.expr.length)return 1;for(let _=0,A=this.expr.length;_<A;_++){const l=a(this.expr[_],u.expr[_]);if(l!==0)return l}return 0}equals(u){if(u.type===this.type){if(this.expr.length!==u.expr.length)return!1;for(let _=0,A=this.expr.length;_<A;_++)if(!this.expr[_].equals(u.expr[_]))return!1;return!0}return!1}substituteConstants(){const u=X(this.expr);return u===this.expr?this:F.create(u,this.negated)}evaluate(u){for(let _=0,A=this.expr.length;_<A;_++)if(!this.expr[_].evaluate(u))return!1;return!0}static _normalizeArr(u,_){const A=[];let l=!1;for(const R of u){if(!R)continue;if(R.type===1){l=!0;continue}if(R.type===0)return N.INSTANCE;if(R.type===6){A.push(...R.expr);continue}A.push(R)}if(A.length===0&&l)return S.INSTANCE;if(A.length===0)return;if(A.length===1)return A[0];A.sort(a);for(let R=1;R<A.length;R++)A[R-1].equals(A[R])&&(A.splice(R,1),R--);if(A.length===1)return A[0];for(;A.length>1;){const R=A[A.length-1];if(R.type!==9)break;A.pop();const M=A.pop(),fe=A.length===0,Ee=oe.create(R.expr.map(Ae=>F.create([Ae,M],null)),null,fe);Ee&&(A.push(Ee),A.sort(a))}return A.length===1?A[0]:new F(A,_)}serialize(){return this.expr.map(u=>u.serialize()).join(" && ")}keys(){const u=[];for(let _ of this.expr)u.push(..._.keys());return u}negate(){if(!this.negated){const u=[];for(let _ of this.expr)u.push(_.negate());this.negated=oe.create(u,this,!0)}return this.negated}}class oe{constructor(u,_){this.expr=u,this.negated=_,this.type=9}static create(u,_,A){return oe._normalizeArr(u,_,A)}cmp(u){if(u.type!==this.type)return this.type-u.type;if(this.expr.length<u.expr.length)return-1;if(this.expr.length>u.expr.length)return 1;for(let _=0,A=this.expr.length;_<A;_++){const l=a(this.expr[_],u.expr[_]);if(l!==0)return l}return 0}equals(u){if(u.type===this.type){if(this.expr.length!==u.expr.length)return!1;for(let _=0,A=this.expr.length;_<A;_++)if(!this.expr[_].equals(u.expr[_]))return!1;return!0}return!1}substituteConstants(){const u=X(this.expr);return u===this.expr?this:oe.create(u,this.negated,!1)}evaluate(u){for(let _=0,A=this.expr.length;_<A;_++)if(this.expr[_].evaluate(u))return!0;return!1}static _normalizeArr(u,_,A){let l=[],R=!1;if(u){for(let M=0,fe=u.length;M<fe;M++){const Ee=u[M];if(!Ee)continue;if(Ee.type===0){R=!0;continue}if(Ee.type===1)return S.INSTANCE;if(Ee.type===9){l=l.concat(Ee.expr);continue}l.push(Ee)}if(l.length===0&&R)return N.INSTANCE;l.sort(a)}if(l.length===0)return;if(l.length===1)return l[0];for(let M=1;M<l.length;M++)l[M-1].equals(l[M])&&(l.splice(M,1),M--);if(l.length===1)return l[0];if(A){for(let M=0;M<l.length;M++)for(let fe=M+1;fe<l.length;fe++)Re(l[M],l[fe])&&(l.splice(fe,1),fe--);if(l.length===1)return l[0]}return new oe(l,_)}serialize(){return this.expr.map(u=>u.serialize()).join(" || ")}keys(){const u=[];for(let _ of this.expr)u.push(..._.keys());return u}negate(){if(!this.negated){let u=[];for(let _ of this.expr)u.push(_.negate());for(;u.length>1;){const _=u.shift(),A=u.shift(),l=[];for(const M of D(_))for(const fe of D(A))l.push(F.create([M,fe],null));const R=u.length===0;u.unshift(oe.create(l,null,R))}this.negated=u[0]}return this.negated}}class he extends E{constructor(u,_,A){super(u,null);this._defaultValue=_,typeof A=="object"?he._info.push(Object.assign(Object.assign({},A),{key:u})):A!==!0&&he._info.push({key:u,description:A,type:_!=null?typeof _:void 0})}static all(){return he._info.values()}bindTo(u){return u.createKey(this.key,this._defaultValue)}getValue(u){return u.getContextKeyValue(this.key)}toNegated(){return this.negate()}isEqualTo(u){return f.create(this.key,u)}}he._info=[];const ce=Object(Ie.c)("contextKeyService"),Q="setContext";function W(u,_){return u<_?-1:u>_?1:0}function H(u,_,A,l){return u<A?-1:u>A?1:_<l?-1:_>l?1:0}function Re(u,_){if(_.type===6&&u.type!==9&&u.type!==6){for(const R of _.expr)if(u.equals(R))return!0}const A=u.negate(),l=D(A).concat(D(_));l.sort(a);for(let R=0;R<l.length;R++){const M=l[R],fe=M.negate();for(let Ee=R+1;Ee<l.length;Ee++){const Ae=l[Ee];if(fe.equals(Ae))return!0}}return!1}function D(u){return u.type===9?u.expr:[u]}},TGq3:function(Me,L,s){Me.exports=s.p+"static/lockclose.365036e8.svg"},TXba:function(Me,L,s){Me.exports={wrap:"wrap___3g908",content:"content___DKfAL",mainPathWrap:"mainPathWrap___1gVR9",colorBlue:"colorBlue___10YHC"}},TXwP:function(Me,L,s){var re,ie;(function(){var Ie;(function(){"use strict";var y=[,,function(a){function N(f){this.__parent=f,this.__character_count=0,this.__indent_count=-1,this.__alignment_count=0,this.__wrap_point_index=0,this.__wrap_point_character_count=0,this.__wrap_point_indent_count=-1,this.__wrap_point_alignment_count=0,this.__items=[]}N.prototype.clone_empty=function(){var f=new N(this.__parent);return f.set_indent(this.__indent_count,this.__alignment_count),f},N.prototype.item=function(f){return f<0?this.__items[this.__items.length+f]:this.__items[f]},N.prototype.has_match=function(f){for(var h=this.__items.length-1;h>=0;h--)if(this.__items[h].match(f))return!0;return!1},N.prototype.set_indent=function(f,h){this.is_empty()&&(this.__indent_count=f||0,this.__alignment_count=h||0,this.__character_count=this.__parent.get_indent_size(this.__indent_count,this.__alignment_count))},N.prototype._set_wrap_point=function(){this.__parent.wrap_line_length&&(this.__wrap_point_index=this.__items.length,this.__wrap_point_character_count=this.__character_count,this.__wrap_point_indent_count=this.__parent.next_line.__indent_count,this.__wrap_point_alignment_count=this.__parent.next_line.__alignment_count)},N.prototype._should_wrap=function(){return this.__wrap_point_index&&this.__character_count>this.__parent.wrap_line_length&&this.__wrap_point_character_count>this.__parent.next_line.__character_count},N.prototype._allow_wrap=function(){if(this._should_wrap()){this.__parent.add_new_line();var f=this.__parent.current_line;return f.set_indent(this.__wrap_point_indent_count,this.__wrap_point_alignment_count),f.__items=this.__items.slice(this.__wrap_point_index),this.__items=this.__items.slice(0,this.__wrap_point_index),f.__character_count+=this.__character_count-this.__wrap_point_character_count,this.__character_count=this.__wrap_point_character_count,f.__items[0]===" "&&(f.__items.splice(0,1),f.__character_count-=1),!0}return!1},N.prototype.is_empty=function(){return this.__items.length===0},N.prototype.last=function(){return this.is_empty()?null:this.__items[this.__items.length-1]},N.prototype.push=function(f){this.__items.push(f);var h=f.lastIndexOf(`
`);h!==-1?this.__character_count=f.length-h:this.__character_count+=f.length},N.prototype.pop=function(){var f=null;return this.is_empty()||(f=this.__items.pop(),this.__character_count-=f.length),f},N.prototype._remove_indent=function(){this.__indent_count>0&&(this.__indent_count-=1,this.__character_count-=this.__parent.indent_size)},N.prototype._remove_wrap_indent=function(){this.__wrap_point_indent_count>0&&(this.__wrap_point_indent_count-=1)},N.prototype.trim=function(){for(;this.last()===" ";)this.__items.pop(),this.__character_count-=1},N.prototype.toString=function(){var f="";return this.is_empty()?this.__parent.indent_empty_lines&&(f=this.__parent.get_indent_string(this.__indent_count)):(f=this.__parent.get_indent_string(this.__indent_count,this.__alignment_count),f+=this.__items.join("")),f};function S(f,h){this.__cache=[""],this.__indent_size=f.indent_size,this.__indent_string=f.indent_char,f.indent_with_tabs||(this.__indent_string=new Array(f.indent_size+1).join(f.indent_char)),h=h||"",f.indent_level>0&&(h=new Array(f.indent_level+1).join(this.__indent_string)),this.__base_string=h,this.__base_string_length=h.length}S.prototype.get_indent_size=function(f,h){var d=this.__base_string_length;return h=h||0,f<0&&(d=0),d+=f*this.__indent_size,d+=h,d},S.prototype.get_indent_string=function(f,h){var d=this.__base_string;return h=h||0,f<0&&(f=0,d=""),h+=f*this.__indent_size,this.__ensure_cache(h),d+=this.__cache[h],d},S.prototype.__ensure_cache=function(f){for(;f>=this.__cache.length;)this.__add_column()},S.prototype.__add_column=function(){var f=this.__cache.length,h=0,d="";this.__indent_size&&f>=this.__indent_size&&(h=Math.floor(f/this.__indent_size),f-=h*this.__indent_size,d=new Array(h+1).join(this.__indent_string)),f&&(d+=new Array(f+1).join(" ")),this.__cache.push(d)};function E(f,h){this.__indent_cache=new S(f,h),this.raw=!1,this._end_with_newline=f.end_with_newline,this.indent_size=f.indent_size,this.wrap_line_length=f.wrap_line_length,this.indent_empty_lines=f.indent_empty_lines,this.__lines=[],this.previous_line=null,this.current_line=null,this.next_line=new N(this),this.space_before_token=!1,this.non_breaking_space=!1,this.previous_token_wrapped=!1,this.__add_outputline()}E.prototype.__add_outputline=function(){this.previous_line=this.current_line,this.current_line=this.next_line.clone_empty(),this.__lines.push(this.current_line)},E.prototype.get_line_number=function(){return this.__lines.length},E.prototype.get_indent_string=function(f,h){return this.__indent_cache.get_indent_string(f,h)},E.prototype.get_indent_size=function(f,h){return this.__indent_cache.get_indent_size(f,h)},E.prototype.is_empty=function(){return!this.previous_line&&this.current_line.is_empty()},E.prototype.add_new_line=function(f){return this.is_empty()||!f&&this.just_added_newline()?!1:(this.raw||this.__add_outputline(),!0)},E.prototype.get_code=function(f){this.trim(!0);var h=this.current_line.pop();h&&(h[h.length-1]===`
`&&(h=h.replace(/\n+$/g,"")),this.current_line.push(h)),this._end_with_newline&&this.__add_outputline();var d=this.__lines.join(`
`);return f!==`
`&&(d=d.replace(/[\n]/g,f)),d},E.prototype.set_wrap_point=function(){this.current_line._set_wrap_point()},E.prototype.set_indent=function(f,h){return f=f||0,h=h||0,this.next_line.set_indent(f,h),this.__lines.length>1?(this.current_line.set_indent(f,h),!0):(this.current_line.set_indent(),!1)},E.prototype.add_raw_token=function(f){for(var h=0;h<f.newlines;h++)this.__add_outputline();this.current_line.set_indent(-1),this.current_line.push(f.whitespace_before),this.current_line.push(f.text),this.space_before_token=!1,this.non_breaking_space=!1,this.previous_token_wrapped=!1},E.prototype.add_token=function(f){this.__add_space_before_token(),this.current_line.push(f),this.space_before_token=!1,this.non_breaking_space=!1,this.previous_token_wrapped=this.current_line._allow_wrap()},E.prototype.__add_space_before_token=function(){this.space_before_token&&!this.just_added_newline()&&(this.non_breaking_space||this.set_wrap_point(),this.current_line.push(" "))},E.prototype.remove_indent=function(f){for(var h=this.__lines.length;f<h;)this.__lines[f]._remove_indent(),f++;this.current_line._remove_wrap_indent()},E.prototype.trim=function(f){for(f=f===void 0?!1:f,this.current_line.trim();f&&this.__lines.length>1&&this.current_line.is_empty();)this.__lines.pop(),this.current_line=this.__lines[this.__lines.length-1],this.current_line.trim();this.previous_line=this.__lines.length>1?this.__lines[this.__lines.length-2]:null},E.prototype.just_added_newline=function(){return this.current_line.is_empty()},E.prototype.just_added_blankline=function(){return this.is_empty()||this.current_line.is_empty()&&this.previous_line.is_empty()},E.prototype.ensure_empty_line_above=function(f,h){for(var d=this.__lines.length-2;d>=0;){var m=this.__lines[d];if(m.is_empty())break;if(m.item(0).indexOf(f)!==0&&m.item(-1)!==h){this.__lines.splice(d+1,0,new N(this)),this.previous_line=this.__lines[this.__lines.length-2];break}d--}},a.exports.Output=E},,,,function(a){function N(f,h){this.raw_options=S(f,h),this.disabled=this._get_boolean("disabled"),this.eol=this._get_characters("eol","auto"),this.end_with_newline=this._get_boolean("end_with_newline"),this.indent_size=this._get_number("indent_size",4),this.indent_char=this._get_characters("indent_char"," "),this.indent_level=this._get_number("indent_level"),this.preserve_newlines=this._get_boolean("preserve_newlines",!0),this.max_preserve_newlines=this._get_number("max_preserve_newlines",32786),this.preserve_newlines||(this.max_preserve_newlines=0),this.indent_with_tabs=this._get_boolean("indent_with_tabs",this.indent_char===" "),this.indent_with_tabs&&(this.indent_char=" ",this.indent_size===1&&(this.indent_size=4)),this.wrap_line_length=this._get_number("wrap_line_length",this._get_number("max_char")),this.indent_empty_lines=this._get_boolean("indent_empty_lines"),this.templating=this._get_selection_list("templating",["auto","none","django","erb","handlebars","php","smarty"],["auto"])}N.prototype._get_array=function(f,h){var d=this.raw_options[f],m=h||[];return typeof d=="object"?d!==null&&typeof d.concat=="function"&&(m=d.concat()):typeof d=="string"&&(m=d.split(/[^a-zA-Z0-9_\/\-]+/)),m},N.prototype._get_boolean=function(f,h){var d=this.raw_options[f],m=d===void 0?!!h:!!d;return m},N.prototype._get_characters=function(f,h){var d=this.raw_options[f],m=h||"";return typeof d=="string"&&(m=d.replace(/\\r/,"\r").replace(/\\n/,`
`).replace(/\\t/," ")),m},N.prototype._get_number=function(f,h){var d=this.raw_options[f];h=parseInt(h,10),isNaN(h)&&(h=0);var m=parseInt(d,10);return isNaN(m)&&(m=h),m},N.prototype._get_selection=function(f,h,d){var m=this._get_selection_list(f,h,d);if(m.length!==1)throw new Error("Invalid Option Value: The option '"+f+`' can only be one of the following values:
`+h+`
You passed in: '`+this.raw_options[f]+"'");return m[0]},N.prototype._get_selection_list=function(f,h,d){if(!h||h.length===0)throw new Error("Selection list cannot be empty.");if(d=d||[h[0]],!this._is_valid_selection(d,h))throw new Error("Invalid Default Value!");var m=this._get_array(f,d);if(!this._is_valid_selection(m,h))throw new Error("Invalid Option Value: The option '"+f+`' can contain only the following values:
`+h+`
You passed in: '`+this.raw_options[f]+"'");return m},N.prototype._is_valid_selection=function(f,h){return f.length&&h.length&&!f.some(function(d){return h.indexOf(d)===-1})};function S(f,h){var d={};f=E(f);var m;for(m in f)m!==h&&(d[m]=f[m]);if(h&&f[h])for(m in f[h])d[m]=f[h][m];return d}function E(f){var h={},d;for(d in f){var m=d.replace(/-/g,"_");h[m]=f[d]}return h}a.exports.Options=N,a.exports.normalizeOpts=E,a.exports.mergeOpts=S},,function(a){var N=RegExp.prototype.hasOwnProperty("sticky");function S(E){this.__input=E||"",this.__input_length=this.__input.length,this.__position=0}S.prototype.restart=function(){this.__position=0},S.prototype.back=function(){this.__position>0&&(this.__position-=1)},S.prototype.hasNext=function(){return this.__position<this.__input_length},S.prototype.next=function(){var E=null;return this.hasNext()&&(E=this.__input.charAt(this.__position),this.__position+=1),E},S.prototype.peek=function(E){var f=null;return E=E||0,E+=this.__position,E>=0&&E<this.__input_length&&(f=this.__input.charAt(E)),f},S.prototype.__match=function(E,f){E.lastIndex=f;var h=E.exec(this.__input);return h&&!(N&&E.sticky)&&(h.index!==f&&(h=null)),h},S.prototype.test=function(E,f){return f=f||0,f+=this.__position,f>=0&&f<this.__input_length?!!this.__match(E,f):!1},S.prototype.testChar=function(E,f){var h=this.peek(f);return E.lastIndex=0,h!==null&&E.test(h)},S.prototype.match=function(E){var f=this.__match(E,this.__position);return f?this.__position+=f[0].length:f=null,f},S.prototype.read=function(E,f,h){var d="",m;return E&&(m=this.match(E),m&&(d+=m[0])),f&&(m||!E)&&(d+=this.readUntil(f,h)),d},S.prototype.readUntil=function(E,f){var h="",d=this.__position;E.lastIndex=this.__position;var m=E.exec(this.__input);return m?(d=m.index,f&&(d+=m[0].length)):d=this.__input_length,h=this.__input.substring(this.__position,d),this.__position=d,h},S.prototype.readUntilAfter=function(E){return this.readUntil(E,!0)},S.prototype.get_regexp=function(E,f){var h=null,d="g";return f&&N&&(d="y"),typeof E=="string"&&E!==""?h=new RegExp(E,d):E&&(h=new RegExp(E.source,d)),h},S.prototype.get_literal_regexp=function(E){return RegExp(E.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&"))},S.prototype.peekUntilAfter=function(E){var f=this.__position,h=this.readUntilAfter(E);return this.__position=f,h},S.prototype.lookBack=function(E){var f=this.__position-1;return f>=E.length&&this.__input.substring(f-E.length,f).toLowerCase()===E},a.exports.InputScanner=S},,,,,function(a){function N(S,E){S=typeof S=="string"?S:S.source,E=typeof E=="string"?E:E.source,this.__directives_block_pattern=new RegExp(S+/ beautify( \w+[:]\w+)+ /.source+E,"g"),this.__directive_pattern=/ (\w+)[:](\w+)/g,this.__directives_end_ignore_pattern=new RegExp(S+/\sbeautify\signore:end\s/.source+E,"g")}N.prototype.get_directives=function(S){if(!S.match(this.__directives_block_pattern))return null;var E={};this.__directive_pattern.lastIndex=0;for(var f=this.__directive_pattern.exec(S);f;)E[f[1]]=f[2],f=this.__directive_pattern.exec(S);return E},N.prototype.readIgnored=function(S){return S.readUntilAfter(this.__directives_end_ignore_pattern)},a.exports.Directives=N},,function(a,N,S){var E=S(16).Beautifier,f=S(17).Options;function h(d,m){var C=new E(d,m);return C.beautify()}a.exports=h,a.exports.defaultOptions=function(){return new f}},function(a,N,S){var E=S(17).Options,f=S(2).Output,h=S(8).InputScanner,d=S(13).Directives,m=new d(/\/\*/,/\*\//),C=/\r\n|[\r\n]/,z=/\r\n|[\r\n]/g,v=/\s/,g=/(?:\s|\n)+/g,j=/\/\*(?:[\s\S]*?)((?:\*\/)|$)/g,G=/\/\/(?:[^\n\r\u2028\u2029]*)/g;function J(P,X){this._source_text=P||"",this._options=new E(X),this._ch=null,this._input=null,this.NESTED_AT_RULE={"@page":!0,"@font-face":!0,"@keyframes":!0,"@media":!0,"@supports":!0,"@document":!0},this.CONDITIONAL_GROUP_RULE={"@media":!0,"@supports":!0,"@document":!0},this.NON_SEMICOLON_NEWLINE_PROPERTY=["grid-template-areas","grid-template"]}J.prototype.eatString=function(P){var X="";for(this._ch=this._input.next();this._ch;){if(X+=this._ch,this._ch==="\\")X+=this._input.next();else if(P.indexOf(this._ch)!==-1||this._ch===`
`)break;this._ch=this._input.next()}return X},J.prototype.eatWhitespace=function(P){for(var X=v.test(this._input.peek()),F=0;v.test(this._input.peek());)this._ch=this._input.next(),P&&this._ch===`
`&&((F===0||F<this._options.max_preserve_newlines)&&(F++,this._output.add_new_line(!0)));return X},J.prototype.foundNestedPseudoClass=function(){for(var P=0,X=1,F=this._input.peek(X);F;){if(F==="{")return!0;if(F==="(")P+=1;else if(F===")"){if(P===0)return!1;P-=1}else if(F===";"||F==="}")return!1;X++,F=this._input.peek(X)}return!1},J.prototype.print_string=function(P){this._output.set_indent(this._indentLevel),this._output.non_breaking_space=!0,this._output.add_token(P)},J.prototype.preserveSingleSpace=function(P){P&&(this._output.space_before_token=!0)},J.prototype.indent=function(){this._indentLevel++},J.prototype.outdent=function(){this._indentLevel>0&&this._indentLevel--},J.prototype.beautify=function(){if(this._options.disabled)return this._source_text;var P=this._source_text,X=this._options.eol;X==="auto"&&(X=`
`,P&&C.test(P||"")&&(X=P.match(C)[0])),P=P.replace(z,`
`);var F=P.match(/^[\t ]*/)[0];this._output=new f(this._options,F),this._input=new h(P),this._indentLevel=0,this._nestedLevel=0,this._ch=null;for(var oe=0,he=!1,ce=!1,Q=!1,W=!1,H=!1,Re=!1,D=this._ch,u=!1,_,A,l;_=this._input.read(g),A=_!=="",l=D,this._ch=this._input.next(),this._ch==="\\"&&this._input.hasNext()&&(this._ch+=this._input.next()),D=this._ch,this._ch;)if(this._ch==="/"&&this._input.peek()==="*"){this._output.add_new_line(),this._input.back();var R=this._input.read(j),M=m.get_directives(R);M&&M.ignore==="start"&&(R+=m.readIgnored(this._input)),this.print_string(R),this.eatWhitespace(!0),this._output.add_new_line()}else if(this._ch==="/"&&this._input.peek()==="/")this._output.space_before_token=!0,this._input.back(),this.print_string(this._input.read(G)),this.eatWhitespace(!0);else if(this._ch==="@"||this._ch==="$")if(this.preserveSingleSpace(A),this._input.peek()==="{")this.print_string(this._ch+this.eatString("}"));else{this.print_string(this._ch);var fe=this._input.peekUntilAfter(/[: ,;{}()[\]\/='"]/g);fe.match(/[ :]$/)&&(fe=this.eatString(": ").replace(/\s$/,""),this.print_string(fe),this._output.space_before_token=!0),fe=fe.replace(/\s$/,""),fe==="extend"?W=!0:fe==="import"&&(H=!0),fe in this.NESTED_AT_RULE?(this._nestedLevel+=1,fe in this.CONDITIONAL_GROUP_RULE&&(Q=!0)):!he&&oe===0&&fe.indexOf(":")!==-1&&(ce=!0,this.indent())}else if(this._ch==="#"&&this._input.peek()==="{")this.preserveSingleSpace(A),this.print_string(this._ch+this.eatString("}"));else if(this._ch==="{")ce&&(ce=!1,this.outdent()),Q?(Q=!1,he=this._indentLevel>=this._nestedLevel):he=this._indentLevel>=this._nestedLevel-1,this._options.newline_between_rules&&he&&(this._output.previous_line&&this._output.previous_line.item(-1)!=="{"&&this._output.ensure_empty_line_above("/",",")),this._output.space_before_token=!0,this._options.brace_style==="expand"?(this._output.add_new_line(),this.print_string(this._ch),this.indent(),this._output.set_indent(this._indentLevel)):(l==="("?this._output.space_before_token=!1:l!==","&&this.indent(),this.print_string(this._ch)),this.eatWhitespace(!0),this._output.add_new_line();else if(this._ch==="}")this.outdent(),this._output.add_new_line(),l==="{"&&this._output.trim(!0),H=!1,W=!1,ce&&(this.outdent(),ce=!1),this.print_string(this._ch),he=!1,this._nestedLevel&&this._nestedLevel--,this.eatWhitespace(!0),this._output.add_new_line(),this._options.newline_between_rules&&!this._output.just_added_blankline()&&(this._input.peek()!=="}"&&this._output.add_new_line(!0)),this._input.peek()===")"&&(this._output.trim(!0),this._options.brace_style==="expand"&&this._output.add_new_line(!0));else if(this._ch===":"){for(var Ee=0;Ee<this.NON_SEMICOLON_NEWLINE_PROPERTY.length;Ee++)if(this._input.lookBack(this.NON_SEMICOLON_NEWLINE_PROPERTY[Ee])){u=!0;break}(he||Q)&&!(this._input.lookBack("&")||this.foundNestedPseudoClass())&&!this._input.lookBack("(")&&!W&&oe===0?(this.print_string(":"),ce||(ce=!0,this._output.space_before_token=!0,this.eatWhitespace(!0),this.indent())):(this._input.lookBack(" ")&&(this._output.space_before_token=!0),this._input.peek()===":"?(this._ch=this._input.next(),this.print_string("::")):this.print_string(":"))}else if(this._ch==='"'||this._ch==="'"){var Ae=l==='"'||l==="'";this.preserveSingleSpace(Ae||A),this.print_string(this._ch+this.eatString(this._ch)),this.eatWhitespace(!0)}else if(this._ch===";")u=!1,oe===0?(ce&&(this.outdent(),ce=!1),W=!1,H=!1,this.print_string(this._ch),this.eatWhitespace(!0),this._input.peek()!=="/"&&this._output.add_new_line()):(this.print_string(this._ch),this.eatWhitespace(!0),this._output.space_before_token=!0);else if(this._ch==="(")if(this._input.lookBack("url"))this.print_string(this._ch),this.eatWhitespace(),oe++,this.indent(),this._ch=this._input.next(),this._ch===")"||this._ch==='"'||this._ch==="'"?this._input.back():this._ch&&(this.print_string(this._ch+this.eatString(")")),oe&&(oe--,this.outdent()));else{var _e=!1;this._input.lookBack("with")&&(_e=!0),this.preserveSingleSpace(A||_e),this.print_string(this._ch),ce&&l==="$"&&this._options.selector_separator_newline?(this._output.add_new_line(),Re=!0):(this.eatWhitespace(),oe++,this.indent())}else if(this._ch===")")oe&&(oe--,this.outdent()),Re&&this._input.peek()===";"&&this._options.selector_separator_newline&&(Re=!1,this.outdent(),this._output.add_new_line()),this.print_string(this._ch);else if(this._ch===",")this.print_string(this._ch),this.eatWhitespace(!0),this._options.selector_separator_newline&&(!ce||Re)&&oe===0&&!H&&!W?this._output.add_new_line():this._output.space_before_token=!0;else if((this._ch===">"||this._ch==="+"||this._ch==="~")&&!ce&&oe===0)this._options.space_around_combinator?(this._output.space_before_token=!0,this.print_string(this._ch),this._output.space_before_token=!0):(this.print_string(this._ch),this.eatWhitespace(),this._ch&&v.test(this._ch)&&(this._ch=""));else if(this._ch==="]")this.print_string(this._ch);else if(this._ch==="[")this.preserveSingleSpace(A),this.print_string(this._ch);else if(this._ch==="=")this.eatWhitespace(),this.print_string("="),v.test(this._ch)&&(this._ch="");else if(this._ch==="!"&&!this._input.lookBack("\\"))this._output.space_before_token=!0,this.print_string(this._ch);else{var K=l==='"'||l==="'";this.preserveSingleSpace(K||A),this.print_string(this._ch),!this._output.just_added_newline()&&this._input.peek()===`
`&&u&&this._output.add_new_line()}var ee=this._output.get_code(X);return ee},a.exports.Beautifier=J},function(a,N,S){var E=S(6).Options;function f(h){E.call(this,h,"css"),this.selector_separator_newline=this._get_boolean("selector_separator_newline",!0),this.newline_between_rules=this._get_boolean("newline_between_rules",!0);var d=this._get_boolean("space_around_selector_separator");this.space_around_combinator=this._get_boolean("space_around_combinator")||d;var m=this._get_selection_list("brace_style",["collapse","expand","end-expand","none","preserve-inline"]);this.brace_style="collapse";for(var C=0;C<m.length;C++)m[C]!=="expand"?this.brace_style="collapse":this.brace_style=m[C]}f.prototype=new E,a.exports.Options=f}],I={};function ue(a){var N=I[a];if(N!==void 0)return N.exports;var S=I[a]={exports:{}};return y[a](S,S.exports,ue),S.exports}var ge=ue(15);Ie=ge})();var ae=Ie;!(re=[],ie=function(){return{css_beautify:ae}}.apply(L,re),ie!==void 0&&(Me.exports=ie))})()},Vhoy:function(Me,L,s){"use strict";s.d(L,"d",function(){return ae}),s.d(L,"e",function(){return y}),s.d(L,"c",function(){return I}),s.d(L,"b",function(){return ue}),s.d(L,"a",function(){return ge});var re=s("MI8n");class ie{constructor(){this._icons=new Map,this._onDidRegister=new re.b}add(a){const N=this._icons.get(a.id);N?a.description?N.description=a.description:console.error(`Duplicate registration of codicon ${a.id}`):(this._icons.set(a.id,a),this._onDidRegister.fire(a))}get(a){return this._icons.get(a)}get all(){return this._icons.values()}get onDidRegister(){return this._onDidRegister.event}}const Ie=new ie,ae=Ie;function y(a,N){return new ue(a,N)}function I(a){return a?a.replace(/\$\((.*?)\)/g,(N,S)=>` ${S} `).trim():""}class ue{constructor(a,N,S){this.id=a,this.definition=N,this.description=S,Ie.add(this)}get classNames(){return"codicon codicon-"+this.id}get classNamesArray(){return["codicon","codicon-"+this.id]}get cssSelector(){return".codicon.codicon-"+this.id}}var ge;(function(a){a.iconNameSegment="[A-Za-z0-9]+",a.iconNameExpression="[A-Za-z0-9\\-]+",a.iconModifierExpression="~[A-Za-z]+";const N=new RegExp(`^(${a.iconNameExpression})(${a.iconModifierExpression})?$`);function S(h){if(h instanceof ue)return["codicon","codicon-"+h.id];const d=N.exec(h.id);if(!d)return S(ue.error);let[,m,C]=d;const z=["codicon","codicon-"+m];return C&&z.push("codicon-modifier-"+C.substr(1)),z}a.asClassNameArray=S;function E(h){return S(h).join(" ")}a.asClassName=E;function f(h){return"."+S(h).join(".")}a.asCSSSelector=f})(ge||(ge={})),function(a){a.add=new a("add",{fontCharacter:"\\ea60"}),a.plus=new a("plus",a.add.definition),a.gistNew=new a("gist-new",a.add.definition),a.repoCreate=new a("repo-create",a.add.definition),a.lightbulb=new a("lightbulb",{fontCharacter:"\\ea61"}),a.lightBulb=new a("light-bulb",{fontCharacter:"\\ea61"}),a.repo=new a("repo",{fontCharacter:"\\ea62"}),a.repoDelete=new a("repo-delete",{fontCharacter:"\\ea62"}),a.gistFork=new a("gist-fork",{fontCharacter:"\\ea63"}),a.repoForked=new a("repo-forked",{fontCharacter:"\\ea63"}),a.gitPullRequest=new a("git-pull-request",{fontCharacter:"\\ea64"}),a.gitPullRequestAbandoned=new a("git-pull-request-abandoned",{fontCharacter:"\\ea64"}),a.recordKeys=new a("record-keys",{fontCharacter:"\\ea65"}),a.keyboard=new a("keyboard",{fontCharacter:"\\ea65"}),a.tag=new a("tag",{fontCharacter:"\\ea66"}),a.tagAdd=new a("tag-add",{fontCharacter:"\\ea66"}),a.tagRemove=new a("tag-remove",{fontCharacter:"\\ea66"}),a.person=new a("person",{fontCharacter:"\\ea67"}),a.personFollow=new a("person-follow",{fontCharacter:"\\ea67"}),a.personOutline=new a("person-outline",{fontCharacter:"\\ea67"}),a.personFilled=new a("person-filled",{fontCharacter:"\\ea67"}),a.gitBranch=new a("git-branch",{fontCharacter:"\\ea68"}),a.gitBranchCreate=new a("git-branch-create",{fontCharacter:"\\ea68"}),a.gitBranchDelete=new a("git-branch-delete",{fontCharacter:"\\ea68"}),a.sourceControl=new a("source-control",{fontCharacter:"\\ea68"}),a.mirror=new a("mirror",{fontCharacter:"\\ea69"}),a.mirrorPublic=new a("mirror-public",{fontCharacter:"\\ea69"}),a.star=new a("star",{fontCharacter:"\\ea6a"}),a.starAdd=new a("star-add",{fontCharacter:"\\ea6a"}),a.starDelete=new a("star-delete",{fontCharacter:"\\ea6a"}),a.starEmpty=new a("star-empty",{fontCharacter:"\\ea6a"}),a.comment=new a("comment",{fontCharacter:"\\ea6b"}),a.commentAdd=new a("comment-add",{fontCharacter:"\\ea6b"}),a.alert=new a("alert",{fontCharacter:"\\ea6c"}),a.warning=new a("warning",{fontCharacter:"\\ea6c"}),a.search=new a("search",{fontCharacter:"\\ea6d"}),a.searchSave=new a("search-save",{fontCharacter:"\\ea6d"}),a.logOut=new a("log-out",{fontCharacter:"\\ea6e"}),a.signOut=new a("sign-out",{fontCharacter:"\\ea6e"}),a.logIn=new a("log-in",{fontCharacter:"\\ea6f"}),a.signIn=new a("sign-in",{fontCharacter:"\\ea6f"}),a.eye=new a("eye",{fontCharacter:"\\ea70"}),a.eyeUnwatch=new a("eye-unwatch",{fontCharacter:"\\ea70"}),a.eyeWatch=new a("eye-watch",{fontCharacter:"\\ea70"}),a.circleFilled=new a("circle-filled",{fontCharacter:"\\ea71"}),a.primitiveDot=new a("primitive-dot",{fontCharacter:"\\ea71"}),a.closeDirty=new a("close-dirty",{fontCharacter:"\\ea71"}),a.debugBreakpoint=new a("debug-breakpoint",{fontCharacter:"\\ea71"}),a.debugBreakpointDisabled=new a("debug-breakpoint-disabled",{fontCharacter:"\\ea71"}),a.debugHint=new a("debug-hint",{fontCharacter:"\\ea71"}),a.primitiveSquare=new a("primitive-square",{fontCharacter:"\\ea72"}),a.edit=new a("edit",{fontCharacter:"\\ea73"}),a.pencil=new a("pencil",{fontCharacter:"\\ea73"}),a.info=new a("info",{fontCharacter:"\\ea74"}),a.issueOpened=new a("issue-opened",{fontCharacter:"\\ea74"}),a.gistPrivate=new a("gist-private",{fontCharacter:"\\ea75"}),a.gitForkPrivate=new a("git-fork-private",{fontCharacter:"\\ea75"}),a.lock=new a("lock",{fontCharacter:"\\ea75"}),a.mirrorPrivate=new a("mirror-private",{fontCharacter:"\\ea75"}),a.close=new a("close",{fontCharacter:"\\ea76"}),a.removeClose=new a("remove-close",{fontCharacter:"\\ea76"}),a.x=new a("x",{fontCharacter:"\\ea76"}),a.repoSync=new a("repo-sync",{fontCharacter:"\\ea77"}),a.sync=new a("sync",{fontCharacter:"\\ea77"}),a.clone=new a("clone",{fontCharacter:"\\ea78"}),a.desktopDownload=new a("desktop-download",{fontCharacter:"\\ea78"}),a.beaker=new a("beaker",{fontCharacter:"\\ea79"}),a.microscope=new a("microscope",{fontCharacter:"\\ea79"}),a.vm=new a("vm",{fontCharacter:"\\ea7a"}),a.deviceDesktop=new a("device-desktop",{fontCharacter:"\\ea7a"}),a.file=new a("file",{fontCharacter:"\\ea7b"}),a.fileText=new a("file-text",{fontCharacter:"\\ea7b"}),a.more=new a("more",{fontCharacter:"\\ea7c"}),a.ellipsis=new a("ellipsis",{fontCharacter:"\\ea7c"}),a.kebabHorizontal=new a("kebab-horizontal",{fontCharacter:"\\ea7c"}),a.mailReply=new a("mail-reply",{fontCharacter:"\\ea7d"}),a.reply=new a("reply",{fontCharacter:"\\ea7d"}),a.organization=new a("organization",{fontCharacter:"\\ea7e"}),a.organizationFilled=new a("organization-filled",{fontCharacter:"\\ea7e"}),a.organizationOutline=new a("organization-outline",{fontCharacter:"\\ea7e"}),a.newFile=new a("new-file",{fontCharacter:"\\ea7f"}),a.fileAdd=new a("file-add",{fontCharacter:"\\ea7f"}),a.newFolder=new a("new-folder",{fontCharacter:"\\ea80"}),a.fileDirectoryCreate=new a("file-directory-create",{fontCharacter:"\\ea80"}),a.trash=new a("trash",{fontCharacter:"\\ea81"}),a.trashcan=new a("trashcan",{fontCharacter:"\\ea81"}),a.history=new a("history",{fontCharacter:"\\ea82"}),a.clock=new a("clock",{fontCharacter:"\\ea82"}),a.folder=new a("folder",{fontCharacter:"\\ea83"}),a.fileDirectory=new a("file-directory",{fontCharacter:"\\ea83"}),a.symbolFolder=new a("symbol-folder",{fontCharacter:"\\ea83"}),a.logoGithub=new a("logo-github",{fontCharacter:"\\ea84"}),a.markGithub=new a("mark-github",{fontCharacter:"\\ea84"}),a.github=new a("github",{fontCharacter:"\\ea84"}),a.terminal=new a("terminal",{fontCharacter:"\\ea85"}),a.console=new a("console",{fontCharacter:"\\ea85"}),a.repl=new a("repl",{fontCharacter:"\\ea85"}),a.zap=new a("zap",{fontCharacter:"\\ea86"}),a.symbolEvent=new a("symbol-event",{fontCharacter:"\\ea86"}),a.error=new a("error",{fontCharacter:"\\ea87"}),a.stop=new a("stop",{fontCharacter:"\\ea87"}),a.variable=new a("variable",{fontCharacter:"\\ea88"}),a.symbolVariable=new a("symbol-variable",{fontCharacter:"\\ea88"}),a.array=new a("array",{fontCharacter:"\\ea8a"}),a.symbolArray=new a("symbol-array",{fontCharacter:"\\ea8a"}),a.symbolModule=new a("symbol-module",{fontCharacter:"\\ea8b"}),a.symbolPackage=new a("symbol-package",{fontCharacter:"\\ea8b"}),a.symbolNamespace=new a("symbol-namespace",{fontCharacter:"\\ea8b"}),a.symbolObject=new a("symbol-object",{fontCharacter:"\\ea8b"}),a.symbolMethod=new a("symbol-method",{fontCharacter:"\\ea8c"}),a.symbolFunction=new a("symbol-function",{fontCharacter:"\\ea8c"}),a.symbolConstructor=new a("symbol-constructor",{fontCharacter:"\\ea8c"}),a.symbolBoolean=new a("symbol-boolean",{fontCharacter:"\\ea8f"}),a.symbolNull=new a("symbol-null",{fontCharacter:"\\ea8f"}),a.symbolNumeric=new a("symbol-numeric",{fontCharacter:"\\ea90"}),a.symbolNumber=new a("symbol-number",{fontCharacter:"\\ea90"}),a.symbolStructure=new a("symbol-structure",{fontCharacter:"\\ea91"}),a.symbolStruct=new a("symbol-struct",{fontCharacter:"\\ea91"}),a.symbolParameter=new a("symbol-parameter",{fontCharacter:"\\ea92"}),a.symbolTypeParameter=new a("symbol-type-parameter",{fontCharacter:"\\ea92"}),a.symbolKey=new a("symbol-key",{fontCharacter:"\\ea93"}),a.symbolText=new a("symbol-text",{fontCharacter:"\\ea93"}),a.symbolReference=new a("symbol-reference",{fontCharacter:"\\ea94"}),a.goToFile=new a("go-to-file",{fontCharacter:"\\ea94"}),a.symbolEnum=new a("symbol-enum",{fontCharacter:"\\ea95"}),a.symbolValue=new a("symbol-value",{fontCharacter:"\\ea95"}),a.symbolRuler=new a("symbol-ruler",{fontCharacter:"\\ea96"}),a.symbolUnit=new a("symbol-unit",{fontCharacter:"\\ea96"}),a.activateBreakpoints=new a("activate-breakpoints",{fontCharacter:"\\ea97"}),a.archive=new a("archive",{fontCharacter:"\\ea98"}),a.arrowBoth=new a("arrow-both",{fontCharacter:"\\ea99"}),a.arrowDown=new a("arrow-down",{fontCharacter:"\\ea9a"}),a.arrowLeft=new a("arrow-left",{fontCharacter:"\\ea9b"}),a.arrowRight=new a("arrow-right",{fontCharacter:"\\ea9c"}),a.arrowSmallDown=new a("arrow-small-down",{fontCharacter:"\\ea9d"}),a.arrowSmallLeft=new a("arrow-small-left",{fontCharacter:"\\ea9e"}),a.arrowSmallRight=new a("arrow-small-right",{fontCharacter:"\\ea9f"}),a.arrowSmallUp=new a("arrow-small-up",{fontCharacter:"\\eaa0"}),a.arrowUp=new a("arrow-up",{fontCharacter:"\\eaa1"}),a.bell=new a("bell",{fontCharacter:"\\eaa2"}),a.bold=new a("bold",{fontCharacter:"\\eaa3"}),a.book=new a("book",{fontCharacter:"\\eaa4"}),a.bookmark=new a("bookmark",{fontCharacter:"\\eaa5"}),a.debugBreakpointConditionalUnverified=new a("debug-breakpoint-conditional-unverified",{fontCharacter:"\\eaa6"}),a.debugBreakpointConditional=new a("debug-breakpoint-conditional",{fontCharacter:"\\eaa7"}),a.debugBreakpointConditionalDisabled=new a("debug-breakpoint-conditional-disabled",{fontCharacter:"\\eaa7"}),a.debugBreakpointDataUnverified=new a("debug-breakpoint-data-unverified",{fontCharacter:"\\eaa8"}),a.debugBreakpointData=new a("debug-breakpoint-data",{fontCharacter:"\\eaa9"}),a.debugBreakpointDataDisabled=new a("debug-breakpoint-data-disabled",{fontCharacter:"\\eaa9"}),a.debugBreakpointLogUnverified=new a("debug-breakpoint-log-unverified",{fontCharacter:"\\eaaa"}),a.debugBreakpointLog=new a("debug-breakpoint-log",{fontCharacter:"\\eaab"}),a.debugBreakpointLogDisabled=new a("debug-breakpoint-log-disabled",{fontCharacter:"\\eaab"}),a.briefcase=new a("briefcase",{fontCharacter:"\\eaac"}),a.broadcast=new a("broadcast",{fontCharacter:"\\eaad"}),a.browser=new a("browser",{fontCharacter:"\\eaae"}),a.bug=new a("bug",{fontCharacter:"\\eaaf"}),a.calendar=new a("calendar",{fontCharacter:"\\eab0"}),a.caseSensitive=new a("case-sensitive",{fontCharacter:"\\eab1"}),a.check=new a("check",{fontCharacter:"\\eab2"}),a.checklist=new a("checklist",{fontCharacter:"\\eab3"}),a.chevronDown=new a("chevron-down",{fontCharacter:"\\eab4"}),a.dropDownButton=new a("drop-down-button",a.chevronDown.definition),a.chevronLeft=new a("chevron-left",{fontCharacter:"\\eab5"}),a.chevronRight=new a("chevron-right",{fontCharacter:"\\eab6"}),a.chevronUp=new a("chevron-up",{fontCharacter:"\\eab7"}),a.chromeClose=new a("chrome-close",{fontCharacter:"\\eab8"}),a.chromeMaximize=new a("chrome-maximize",{fontCharacter:"\\eab9"}),a.chromeMinimize=new a("chrome-minimize",{fontCharacter:"\\eaba"}),a.chromeRestore=new a("chrome-restore",{fontCharacter:"\\eabb"}),a.circleOutline=new a("circle-outline",{fontCharacter:"\\eabc"}),a.debugBreakpointUnverified=new a("debug-breakpoint-unverified",{fontCharacter:"\\eabc"}),a.circleSlash=new a("circle-slash",{fontCharacter:"\\eabd"}),a.circuitBoard=new a("circuit-board",{fontCharacter:"\\eabe"}),a.clearAll=new a("clear-all",{fontCharacter:"\\eabf"}),a.clippy=new a("clippy",{fontCharacter:"\\eac0"}),a.closeAll=new a("close-all",{fontCharacter:"\\eac1"}),a.cloudDownload=new a("cloud-download",{fontCharacter:"\\eac2"}),a.cloudUpload=new a("cloud-upload",{fontCharacter:"\\eac3"}),a.code=new a("code",{fontCharacter:"\\eac4"}),a.collapseAll=new a("collapse-all",{fontCharacter:"\\eac5"}),a.colorMode=new a("color-mode",{fontCharacter:"\\eac6"}),a.commentDiscussion=new a("comment-discussion",{fontCharacter:"\\eac7"}),a.compareChanges=new a("compare-changes",{fontCharacter:"\\eafd"}),a.creditCard=new a("credit-card",{fontCharacter:"\\eac9"}),a.dash=new a("dash",{fontCharacter:"\\eacc"}),a.dashboard=new a("dashboard",{fontCharacter:"\\eacd"}),a.database=new a("database",{fontCharacter:"\\eace"}),a.debugContinue=new a("debug-continue",{fontCharacter:"\\eacf"}),a.debugDisconnect=new a("debug-disconnect",{fontCharacter:"\\ead0"}),a.debugPause=new a("debug-pause",{fontCharacter:"\\ead1"}),a.debugRestart=new a("debug-restart",{fontCharacter:"\\ead2"}),a.debugStart=new a("debug-start",{fontCharacter:"\\ead3"}),a.debugStepInto=new a("debug-step-into",{fontCharacter:"\\ead4"}),a.debugStepOut=new a("debug-step-out",{fontCharacter:"\\ead5"}),a.debugStepOver=new a("debug-step-over",{fontCharacter:"\\ead6"}),a.debugStop=new a("debug-stop",{fontCharacter:"\\ead7"}),a.debug=new a("debug",{fontCharacter:"\\ead8"}),a.deviceCameraVideo=new a("device-camera-video",{fontCharacter:"\\ead9"}),a.deviceCamera=new a("device-camera",{fontCharacter:"\\eada"}),a.deviceMobile=new a("device-mobile",{fontCharacter:"\\eadb"}),a.diffAdded=new a("diff-added",{fontCharacter:"\\eadc"}),a.diffIgnored=new a("diff-ignored",{fontCharacter:"\\eadd"}),a.diffModified=new a("diff-modified",{fontCharacter:"\\eade"}),a.diffRemoved=new a("diff-removed",{fontCharacter:"\\eadf"}),a.diffRenamed=new a("diff-renamed",{fontCharacter:"\\eae0"}),a.diff=new a("diff",{fontCharacter:"\\eae1"}),a.discard=new a("discard",{fontCharacter:"\\eae2"}),a.editorLayout=new a("editor-layout",{fontCharacter:"\\eae3"}),a.emptyWindow=new a("empty-window",{fontCharacter:"\\eae4"}),a.exclude=new a("exclude",{fontCharacter:"\\eae5"}),a.extensions=new a("extensions",{fontCharacter:"\\eae6"}),a.eyeClosed=new a("eye-closed",{fontCharacter:"\\eae7"}),a.fileBinary=new a("file-binary",{fontCharacter:"\\eae8"}),a.fileCode=new a("file-code",{fontCharacter:"\\eae9"}),a.fileMedia=new a("file-media",{fontCharacter:"\\eaea"}),a.filePdf=new a("file-pdf",{fontCharacter:"\\eaeb"}),a.fileSubmodule=new a("file-submodule",{fontCharacter:"\\eaec"}),a.fileSymlinkDirectory=new a("file-symlink-directory",{fontCharacter:"\\eaed"}),a.fileSymlinkFile=new a("file-symlink-file",{fontCharacter:"\\eaee"}),a.fileZip=new a("file-zip",{fontCharacter:"\\eaef"}),a.files=new a("files",{fontCharacter:"\\eaf0"}),a.filter=new a("filter",{fontCharacter:"\\eaf1"}),a.flame=new a("flame",{fontCharacter:"\\eaf2"}),a.foldDown=new a("fold-down",{fontCharacter:"\\eaf3"}),a.foldUp=new a("fold-up",{fontCharacter:"\\eaf4"}),a.fold=new a("fold",{fontCharacter:"\\eaf5"}),a.folderActive=new a("folder-active",{fontCharacter:"\\eaf6"}),a.folderOpened=new a("folder-opened",{fontCharacter:"\\eaf7"}),a.gear=new a("gear",{fontCharacter:"\\eaf8"}),a.gift=new a("gift",{fontCharacter:"\\eaf9"}),a.gistSecret=new a("gist-secret",{fontCharacter:"\\eafa"}),a.gist=new a("gist",{fontCharacter:"\\eafb"}),a.gitCommit=new a("git-commit",{fontCharacter:"\\eafc"}),a.gitCompare=new a("git-compare",{fontCharacter:"\\eafd"}),a.gitMerge=new a("git-merge",{fontCharacter:"\\eafe"}),a.githubAction=new a("github-action",{fontCharacter:"\\eaff"}),a.githubAlt=new a("github-alt",{fontCharacter:"\\eb00"}),a.globe=new a("globe",{fontCharacter:"\\eb01"}),a.grabber=new a("grabber",{fontCharacter:"\\eb02"}),a.graph=new a("graph",{fontCharacter:"\\eb03"}),a.gripper=new a("gripper",{fontCharacter:"\\eb04"}),a.heart=new a("heart",{fontCharacter:"\\eb05"}),a.home=new a("home",{fontCharacter:"\\eb06"}),a.horizontalRule=new a("horizontal-rule",{fontCharacter:"\\eb07"}),a.hubot=new a("hubot",{fontCharacter:"\\eb08"}),a.inbox=new a("inbox",{fontCharacter:"\\eb09"}),a.issueClosed=new a("issue-closed",{fontCharacter:"\\eba4"}),a.issueReopened=new a("issue-reopened",{fontCharacter:"\\eb0b"}),a.issues=new a("issues",{fontCharacter:"\\eb0c"}),a.italic=new a("italic",{fontCharacter:"\\eb0d"}),a.jersey=new a("jersey",{fontCharacter:"\\eb0e"}),a.json=new a("json",{fontCharacter:"\\eb0f"}),a.kebabVertical=new a("kebab-vertical",{fontCharacter:"\\eb10"}),a.key=new a("key",{fontCharacter:"\\eb11"}),a.law=new a("law",{fontCharacter:"\\eb12"}),a.lightbulbAutofix=new a("lightbulb-autofix",{fontCharacter:"\\eb13"}),a.linkExternal=new a("link-external",{fontCharacter:"\\eb14"}),a.link=new a("link",{fontCharacter:"\\eb15"}),a.listOrdered=new a("list-ordered",{fontCharacter:"\\eb16"}),a.listUnordered=new a("list-unordered",{fontCharacter:"\\eb17"}),a.liveShare=new a("live-share",{fontCharacter:"\\eb18"}),a.loading=new a("loading",{fontCharacter:"\\eb19"}),a.location=new a("location",{fontCharacter:"\\eb1a"}),a.mailRead=new a("mail-read",{fontCharacter:"\\eb1b"}),a.mail=new a("mail",{fontCharacter:"\\eb1c"}),a.markdown=new a("markdown",{fontCharacter:"\\eb1d"}),a.megaphone=new a("megaphone",{fontCharacter:"\\eb1e"}),a.mention=new a("mention",{fontCharacter:"\\eb1f"}),a.milestone=new a("milestone",{fontCharacter:"\\eb20"}),a.mortarBoard=new a("mortar-board",{fontCharacter:"\\eb21"}),a.move=new a("move",{fontCharacter:"\\eb22"}),a.multipleWindows=new a("multiple-windows",{fontCharacter:"\\eb23"}),a.mute=new a("mute",{fontCharacter:"\\eb24"}),a.noNewline=new a("no-newline",{fontCharacter:"\\eb25"}),a.note=new a("note",{fontCharacter:"\\eb26"}),a.octoface=new a("octoface",{fontCharacter:"\\eb27"}),a.openPreview=new a("open-preview",{fontCharacter:"\\eb28"}),a.package_=new a("package",{fontCharacter:"\\eb29"}),a.paintcan=new a("paintcan",{fontCharacter:"\\eb2a"}),a.pin=new a("pin",{fontCharacter:"\\eb2b"}),a.play=new a("play",{fontCharacter:"\\eb2c"}),a.run=new a("run",{fontCharacter:"\\eb2c"}),a.plug=new a("plug",{fontCharacter:"\\eb2d"}),a.preserveCase=new a("preserve-case",{fontCharacter:"\\eb2e"}),a.preview=new a("preview",{fontCharacter:"\\eb2f"}),a.project=new a("project",{fontCharacter:"\\eb30"}),a.pulse=new a("pulse",{fontCharacter:"\\eb31"}),a.question=new a("question",{fontCharacter:"\\eb32"}),a.quote=new a("quote",{fontCharacter:"\\eb33"}),a.radioTower=new a("radio-tower",{fontCharacter:"\\eb34"}),a.reactions=new a("reactions",{fontCharacter:"\\eb35"}),a.references=new a("references",{fontCharacter:"\\eb36"}),a.refresh=new a("refresh",{fontCharacter:"\\eb37"}),a.regex=new a("regex",{fontCharacter:"\\eb38"}),a.remoteExplorer=new a("remote-explorer",{fontCharacter:"\\eb39"}),a.remote=new a("remote",{fontCharacter:"\\eb3a"}),a.remove=new a("remove",{fontCharacter:"\\eb3b"}),a.replaceAll=new a("replace-all",{fontCharacter:"\\eb3c"}),a.replace=new a("replace",{fontCharacter:"\\eb3d"}),a.repoClone=new a("repo-clone",{fontCharacter:"\\eb3e"}),a.repoForcePush=new a("repo-force-push",{fontCharacter:"\\eb3f"}),a.repoPull=new a("repo-pull",{fontCharacter:"\\eb40"}),a.repoPush=new a("repo-push",{fontCharacter:"\\eb41"}),a.report=new a("report",{fontCharacter:"\\eb42"}),a.requestChanges=new a("request-changes",{fontCharacter:"\\eb43"}),a.rocket=new a("rocket",{fontCharacter:"\\eb44"}),a.rootFolderOpened=new a("root-folder-opened",{fontCharacter:"\\eb45"}),a.rootFolder=new a("root-folder",{fontCharacter:"\\eb46"}),a.rss=new a("rss",{fontCharacter:"\\eb47"}),a.ruby=new a("ruby",{fontCharacter:"\\eb48"}),a.saveAll=new a("save-all",{fontCharacter:"\\eb49"}),a.saveAs=new a("save-as",{fontCharacter:"\\eb4a"}),a.save=new a("save",{fontCharacter:"\\eb4b"}),a.screenFull=new a("screen-full",{fontCharacter:"\\eb4c"}),a.screenNormal=new a("screen-normal",{fontCharacter:"\\eb4d"}),a.searchStop=new a("search-stop",{fontCharacter:"\\eb4e"}),a.server=new a("server",{fontCharacter:"\\eb50"}),a.settingsGear=new a("settings-gear",{fontCharacter:"\\eb51"}),a.settings=new a("settings",{fontCharacter:"\\eb52"}),a.shield=new a("shield",{fontCharacter:"\\eb53"}),a.smiley=new a("smiley",{fontCharacter:"\\eb54"}),a.sortPrecedence=new a("sort-precedence",{fontCharacter:"\\eb55"}),a.splitHorizontal=new a("split-horizontal",{fontCharacter:"\\eb56"}),a.splitVertical=new a("split-vertical",{fontCharacter:"\\eb57"}),a.squirrel=new a("squirrel",{fontCharacter:"\\eb58"}),a.starFull=new a("star-full",{fontCharacter:"\\eb59"}),a.starHalf=new a("star-half",{fontCharacter:"\\eb5a"}),a.symbolClass=new a("symbol-class",{fontCharacter:"\\eb5b"}),a.symbolColor=new a("symbol-color",{fontCharacter:"\\eb5c"}),a.symbolConstant=new a("symbol-constant",{fontCharacter:"\\eb5d"}),a.symbolEnumMember=new a("symbol-enum-member",{fontCharacter:"\\eb5e"}),a.symbolField=new a("symbol-field",{fontCharacter:"\\eb5f"}),a.symbolFile=new a("symbol-file",{fontCharacter:"\\eb60"}),a.symbolInterface=new a("symbol-interface",{fontCharacter:"\\eb61"}),a.symbolKeyword=new a("symbol-keyword",{fontCharacter:"\\eb62"}),a.symbolMisc=new a("symbol-misc",{fontCharacter:"\\eb63"}),a.symbolOperator=new a("symbol-operator",{fontCharacter:"\\eb64"}),a.symbolProperty=new a("symbol-property",{fontCharacter:"\\eb65"}),a.wrench=new a("wrench",{fontCharacter:"\\eb65"}),a.wrenchSubaction=new a("wrench-subaction",{fontCharacter:"\\eb65"}),a.symbolSnippet=new a("symbol-snippet",{fontCharacter:"\\eb66"}),a.tasklist=new a("tasklist",{fontCharacter:"\\eb67"}),a.telescope=new a("telescope",{fontCharacter:"\\eb68"}),a.textSize=new a("text-size",{fontCharacter:"\\eb69"}),a.threeBars=new a("three-bars",{fontCharacter:"\\eb6a"}),a.thumbsdown=new a("thumbsdown",{fontCharacter:"\\eb6b"}),a.thumbsup=new a("thumbsup",{fontCharacter:"\\eb6c"}),a.tools=new a("tools",{fontCharacter:"\\eb6d"}),a.triangleDown=new a("triangle-down",{fontCharacter:"\\eb6e"}),a.triangleLeft=new a("triangle-left",{fontCharacter:"\\eb6f"}),a.triangleRight=new a("triangle-right",{fontCharacter:"\\eb70"}),a.triangleUp=new a("triangle-up",{fontCharacter:"\\eb71"}),a.twitter=new a("twitter",{fontCharacter:"\\eb72"}),a.unfold=new a("unfold",{fontCharacter:"\\eb73"}),a.unlock=new a("unlock",{fontCharacter:"\\eb74"}),a.unmute=new a("unmute",{fontCharacter:"\\eb75"}),a.unverified=new a("unverified",{fontCharacter:"\\eb76"}),a.verified=new a("verified",{fontCharacter:"\\eb77"}),a.versions=new a("versions",{fontCharacter:"\\eb78"}),a.vmActive=new a("vm-active",{fontCharacter:"\\eb79"}),a.vmOutline=new a("vm-outline",{fontCharacter:"\\eb7a"}),a.vmRunning=new a("vm-running",{fontCharacter:"\\eb7b"}),a.watch=new a("watch",{fontCharacter:"\\eb7c"}),a.whitespace=new a("whitespace",{fontCharacter:"\\eb7d"}),a.wholeWord=new a("whole-word",{fontCharacter:"\\eb7e"}),a.window=new a("window",{fontCharacter:"\\eb7f"}),a.wordWrap=new a("word-wrap",{fontCharacter:"\\eb80"}),a.zoomIn=new a("zoom-in",{fontCharacter:"\\eb81"}),a.zoomOut=new a("zoom-out",{fontCharacter:"\\eb82"}),a.listFilter=new a("list-filter",{fontCharacter:"\\eb83"}),a.listFlat=new a("list-flat",{fontCharacter:"\\eb84"}),a.listSelection=new a("list-selection",{fontCharacter:"\\eb85"}),a.selection=new a("selection",{fontCharacter:"\\eb85"}),a.listTree=new a("list-tree",{fontCharacter:"\\eb86"}),a.debugBreakpointFunctionUnverified=new a("debug-breakpoint-function-unverified",{fontCharacter:"\\eb87"}),a.debugBreakpointFunction=new a("debug-breakpoint-function",{fontCharacter:"\\eb88"}),a.debugBreakpointFunctionDisabled=new a("debug-breakpoint-function-disabled",{fontCharacter:"\\eb88"}),a.debugStackframeActive=new a("debug-stackframe-active",{fontCharacter:"\\eb89"}),a.debugStackframeDot=new a("debug-stackframe-dot",{fontCharacter:"\\eb8a"}),a.debugStackframe=new a("debug-stackframe",{fontCharacter:"\\eb8b"}),a.debugStackframeFocused=new a("debug-stackframe-focused",{fontCharacter:"\\eb8b"}),a.debugBreakpointUnsupported=new a("debug-breakpoint-unsupported",{fontCharacter:"\\eb8c"}),a.symbolString=new a("symbol-string",{fontCharacter:"\\eb8d"}),a.debugReverseContinue=new a("debug-reverse-continue",{fontCharacter:"\\eb8e"}),a.debugStepBack=new a("debug-step-back",{fontCharacter:"\\eb8f"}),a.debugRestartFrame=new a("debug-restart-frame",{fontCharacter:"\\eb90"}),a.callIncoming=new a("call-incoming",{fontCharacter:"\\eb92"}),a.callOutgoing=new a("call-outgoing",{fontCharacter:"\\eb93"}),a.menu=new a("menu",{fontCharacter:"\\eb94"}),a.expandAll=new a("expand-all",{fontCharacter:"\\eb95"}),a.feedback=new a("feedback",{fontCharacter:"\\eb96"}),a.groupByRefType=new a("group-by-ref-type",{fontCharacter:"\\eb97"}),a.ungroupByRefType=new a("ungroup-by-ref-type",{fontCharacter:"\\eb98"}),a.account=new a("account",{fontCharacter:"\\eb99"}),a.bellDot=new a("bell-dot",{fontCharacter:"\\eb9a"}),a.debugConsole=new a("debug-console",{fontCharacter:"\\eb9b"}),a.library=new a("library",{fontCharacter:"\\eb9c"}),a.output=new a("output",{fontCharacter:"\\eb9d"}),a.runAll=new a("run-all",{fontCharacter:"\\eb9e"}),a.syncIgnored=new a("sync-ignored",{fontCharacter:"\\eb9f"}),a.pinned=new a("pinned",{fontCharacter:"\\eba0"}),a.githubInverted=new a("github-inverted",{fontCharacter:"\\eba1"}),a.debugAlt=new a("debug-alt",{fontCharacter:"\\eb91"}),a.serverProcess=new a("server-process",{fontCharacter:"\\eba2"}),a.serverEnvironment=new a("server-environment",{fontCharacter:"\\eba3"}),a.pass=new a("pass",{fontCharacter:"\\eba4"}),a.stopCircle=new a("stop-circle",{fontCharacter:"\\eba5"}),a.playCircle=new a("play-circle",{fontCharacter:"\\eba6"}),a.record=new a("record",{fontCharacter:"\\eba7"}),a.debugAltSmall=new a("debug-alt-small",{fontCharacter:"\\eba8"}),a.vmConnect=new a("vm-connect",{fontCharacter:"\\eba9"}),a.cloud=new a("cloud",{fontCharacter:"\\ebaa"}),a.merge=new a("merge",{fontCharacter:"\\ebab"}),a.exportIcon=new a("export",{fontCharacter:"\\ebac"}),a.graphLeft=new a("graph-left",{fontCharacter:"\\ebad"}),a.magnet=new a("magnet",{fontCharacter:"\\ebae"}),a.notebook=new a("notebook",{fontCharacter:"\\ebaf"}),a.redo=new a("redo",{fontCharacter:"\\ebb0"}),a.checkAll=new a("check-all",{fontCharacter:"\\ebb1"}),a.pinnedDirty=new a("pinned-dirty",{fontCharacter:"\\ebb2"}),a.passFilled=new a("pass-filled",{fontCharacter:"\\ebb3"}),a.circleLargeFilled=new a("circle-large-filled",{fontCharacter:"\\ebb4"}),a.circleLargeOutline=new a("circle-large-outline",{fontCharacter:"\\ebb5"}),a.combine=new a("combine",{fontCharacter:"\\ebb6"}),a.gather=new a("gather",{fontCharacter:"\\ebb6"}),a.table=new a("table",{fontCharacter:"\\ebb7"}),a.variableGroup=new a("variable-group",{fontCharacter:"\\ebb8"}),a.typeHierarchy=new a("type-hierarchy",{fontCharacter:"\\ebb9"}),a.typeHierarchySub=new a("type-hierarchy-sub",{fontCharacter:"\\ebba"}),a.typeHierarchySuper=new a("type-hierarchy-super",{fontCharacter:"\\ebbb"}),a.gitPullRequestCreate=new a("git-pull-request-create",{fontCharacter:"\\ebbc"}),a.runAbove=new a("run-above",{fontCharacter:"\\ebbd"}),a.runBelow=new a("run-below",{fontCharacter:"\\ebbe"}),a.notebookTemplate=new a("notebook-template",{fontCharacter:"\\ebbf"}),a.debugRerun=new a("debug-rerun",{fontCharacter:"\\ebc0"}),a.workspaceTrusted=new a("workspace-trusted",{fontCharacter:"\\ebc1"}),a.workspaceUntrusted=new a("workspace-untrusted",{fontCharacter:"\\ebc2"}),a.workspaceUnspecified=new a("workspace-unspecified",{fontCharacter:"\\ebc3"}),a.terminalCmd=new a("terminal-cmd",{fontCharacter:"\\ebc4"}),a.terminalDebian=new a("terminal-debian",{fontCharacter:"\\ebc5"}),a.terminalLinux=new a("terminal-linux",{fontCharacter:"\\ebc6"}),a.terminalPowershell=new a("terminal-powershell",{fontCharacter:"\\ebc7"}),a.terminalTmux=new a("terminal-tmux",{fontCharacter:"\\ebc8"}),a.terminalUbuntu=new a("terminal-ubuntu",{fontCharacter:"\\ebc9"}),a.terminalBash=new a("terminal-bash",{fontCharacter:"\\ebca"}),a.arrowSwap=new a("arrow-swap",{fontCharacter:"\\ebcb"}),a.copy=new a("copy",{fontCharacter:"\\ebcc"}),a.personAdd=new a("person-add",{fontCharacter:"\\ebcd"}),a.filterFilled=new a("filter-filled",{fontCharacter:"\\ebce"}),a.wand=new a("wand",{fontCharacter:"\\ebcf"}),a.debugLineByLine=new a("debug-line-by-line",{fontCharacter:"\\ebd0"}),a.inspect=new a("inspect",{fontCharacter:"\\ebd1"}),a.layers=new a("layers",{fontCharacter:"\\ebd2"}),a.layersDot=new a("layers-dot",{fontCharacter:"\\ebd3"}),a.layersActive=new a("layers-active",{fontCharacter:"\\ebd4"}),a.compass=new a("compass",{fontCharacter:"\\ebd5"}),a.compassDot=new a("compass-dot",{fontCharacter:"\\ebd6"}),a.compassActive=new a("compass-active",{fontCharacter:"\\ebd7"}),a.azure=new a("azure",{fontCharacter:"\\ebd8"}),a.issueDraft=new a("issue-draft",{fontCharacter:"\\ebd9"}),a.gitPullRequestClosed=new a("git-pull-request-closed",{fontCharacter:"\\ebda"}),a.gitPullRequestDraft=new a("git-pull-request-draft",{fontCharacter:"\\ebdb"}),a.debugAll=new a("debug-all",{fontCharacter:"\\ebdc"}),a.debugCoverage=new a("debug-coverage",{fontCharacter:"\\ebdd"}),a.runErrors=new a("run-errors",{fontCharacter:"\\ebde"}),a.folderLibrary=new a("folder-library",{fontCharacter:"\\ebdf"}),a.debugContinueSmall=new a("debug-continue-small",{fontCharacter:"\\ebe0"}),a.beakerStop=new a("beaker-stop",{fontCharacter:"\\ebe1"}),a.graphLine=new a("graph-line",{fontCharacter:"\\ebe2"}),a.graphScatter=new a("graph-scatter",{fontCharacter:"\\ebe3"}),a.pieChart=new a("pie-chart",{fontCharacter:"\\ebe4"}),a.bracket=new a("bracket",a.json.definition),a.bracketDot=new a("bracket-dot",{fontCharacter:"\\ebe5"}),a.bracketError=new a("bracket-error",{fontCharacter:"\\ebe6"}),a.lockSmall=new a("lock-small",{fontCharacter:"\\ebe7"}),a.azureDevops=new a("azure-devops",{fontCharacter:"\\ebe8"}),a.verifiedFilled=new a("verified-filled",{fontCharacter:"\\ebe9"})}(ue||(ue={}))},"VrN/":function(Me,L,s){(function(re,ie){Me.exports=ie()})(this,function(){"use strict";var re=navigator.userAgent,ie=navigator.platform,Ie=/gecko\/\d/i.test(re),ae=/MSIE \d/.test(re),y=/Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/.exec(re),I=/Edge\/(\d+)/.exec(re),ue=ae||y||I,ge=ue&&(ae?document.documentMode||6:+(I||y)[1]),a=!I&&/WebKit\//.test(re),N=a&&/Qt\/\d+\.\d+/.test(re),S=!I&&/Chrome\//.test(re),E=/Opera\//.test(re),f=/Apple Computer/.test(navigator.vendor),h=/Mac OS X 1\d\D([8-9]|\d\d)\D/.test(re),d=/PhantomJS/.test(re),m=!I&&/AppleWebKit/.test(re)&&/Mobile\/\w+/.test(re),C=/Android/.test(re),z=m||C||/webOS|BlackBerry|Opera Mini|Opera Mobi|IEMobile/i.test(re),v=m||/Mac/.test(ie),g=/\bCrOS\b/.test(re),j=/win/i.test(ie),G=E&&re.match(/Version\/(\d*\.\d*)/);G&&(G=Number(G[1])),G&&G>=15&&(E=!1,a=!0);var J=v&&(N||E&&(G==null||G<12.11)),P=Ie||ue&&ge>=9;function X(e){return new RegExp("(^|\\s)"+e+"(?:$|\\s)\\s*")}var F=function(e,t){var i=e.className,n=X(t).exec(i);if(n){var r=i.slice(n.index+n[0].length);e.className=i.slice(0,n.index)+(r?n[1]+r:"")}};function oe(e){for(var t=e.childNodes.length;t>0;--t)e.removeChild(e.firstChild);return e}function he(e,t){return oe(e).appendChild(t)}function ce(e,t,i,n){var r=document.createElement(e);if(i&&(r.className=i),n&&(r.style.cssText=n),typeof t=="string")r.appendChild(document.createTextNode(t));else if(t)for(var o=0;o<t.length;++o)r.appendChild(t[o]);return r}function Q(e,t,i,n){var r=ce(e,t,i,n);return r.setAttribute("role","presentation"),r}var W;document.createRange?W=function(e,t,i,n){var r=document.createRange();return r.setEnd(n||e,i),r.setStart(e,t),r}:W=function(e,t,i){var n=document.body.createTextRange();try{n.moveToElementText(e.parentNode)}catch(r){return n}return n.collapse(!0),n.moveEnd("character",i),n.moveStart("character",t),n};function H(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 Re(){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 D(e,t){var i=e.className;X(t).test(i)||(e.className+=(i?" ":"")+t)}function u(e,t){for(var i=e.split(" "),n=0;n<i.length;n++)i[n]&&!X(i[n]).test(t)&&(t+=" "+i[n]);return t}var _=function(e){e.select()};m?_=function(e){e.selectionStart=0,e.selectionEnd=e.value.length}:ue&&(_=function(e){try{e.select()}catch(t){}});function A(e){var t=Array.prototype.slice.call(arguments,1);return function(){return e.apply(null,t)}}function l(e,t,i){t||(t={});for(var n in e)e.hasOwnProperty(n)&&(i!==!1||!t.hasOwnProperty(n))&&(t[n]=e[n]);return t}function R(e,t,i,n,r){t==null&&(t=e.search(/[^\s\u00a0]/),t==-1&&(t=e.length));for(var o=n||0,c=r||0;;){var p=e.indexOf(" ",o);if(p<0||p>=t)return c+(t-o);c+=p-o,c+=i-c%i,o=p+1}}var M=function(){this.id=null,this.f=null,this.time=0,this.handler=A(this.onTimeout,this)};M.prototype.onTimeout=function(e){e.id=0,e.time<=+new Date?e.f():setTimeout(e.handler,e.time-+new Date)},M.prototype.set=function(e,t){this.f=t;var i=+new Date+e;(!this.id||i<this.time)&&(clearTimeout(this.id),this.id=setTimeout(this.handler,e),this.time=i)};function fe(e,t){for(var i=0;i<e.length;++i)if(e[i]==t)return i;return-1}var Ee=50,Ae={toString:function(){return"CodeMirror.Pass"}},_e={scroll:!1},K={origin:"*mouse"},ee={origin:"+move"};function ve(e,t,i){for(var n=0,r=0;;){var o=e.indexOf(" ",n);o==-1&&(o=e.length);var c=o-n;if(o==e.length||r+c>=t)return n+Math.min(c,t-r);if(r+=o-n,r+=i-r%i,n=o+1,r>=t)return n}}var Z=[""];function Oe(e){for(;Z.length<=e;)Z.push(T(Z)+" ");return Z[e]}function T(e){return e[e.length-1]}function Y(e,t){for(var i=[],n=0;n<e.length;n++)i[n]=t(e[n],n);return i}function k(e,t,i){for(var n=0,r=i(t);n<e.length&&i(e[n])<=r;)n++;e.splice(n,0,t)}function pe(){}function De(e,t){var i;return Object.create?i=Object.create(e):(pe.prototype=e,i=new pe),t&&l(t,i),i}var le=/[\u00df\u0587\u0590-\u05f4\u0600-\u06ff\u3040-\u309f\u30a0-\u30ff\u3400-\u4db5\u4e00-\u9fcc\uac00-\ud7af]/;function Se(e){return/\w/.test(e)||e>"\x80"&&(e.toUpperCase()!=e.toLowerCase()||le.test(e))}function Ue(e,t){return t?t.source.indexOf("\\w")>-1&&Se(e)?!0:t.test(e):Se(e)}function U(e){for(var t in e)if(e.hasOwnProperty(t)&&e[t])return!1;return!0}var we=/[\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 Ne(e){return e.charCodeAt(0)>=768&&we.test(e)}function Le(e,t,i){for(;(i<0?t>0:t<e.length)&&Ne(e.charAt(t));)t+=i;return t}function Ye(e,t,i){for(var n=t>i?-1:1;;){if(t==i)return t;var r=(t+i)/2,o=n<0?Math.ceil(r):Math.floor(r);if(o==t)return e(o)?t:i;e(o)?i=o:t=o+n}}function Qe(e,t,i,n){if(!e)return n(t,i,"ltr",0);for(var r=!1,o=0;o<e.length;++o){var c=e[o];(c.from<i&&c.to>t||t==i&&c.to==t)&&(n(Math.max(c.from,t),Math.min(c.to,i),c.level==1?"rtl":"ltr",o),r=!0)}r||n(t,i,"ltr")}var ot=null;function Ve(e,t,i){var n;ot=null;for(var r=0;r<e.length;++r){var o=e[r];if(o.from<t&&o.to>t)return r;o.to==t&&(o.from!=o.to&&i=="before"?n=r:ot=r),o.from==t&&(o.from!=o.to&&i!="before"?n=r:ot=r)}return n!=null?n:ot}var _t=function(){var e="bbbbbbbbbtstwsbbbbbbbbbbbbbbssstwNN%%%NNNNNN,N,N1111111111NNNNNNNLLLLLLLLLLLLLLLLLLLLLLLLLLNNNNNNLLLLLLLLLLLLLLLLLLLLLLLLLLNNNNbbbbbbsbbbbbbbbbbbbbbbbbbbbbbbbbb,N%%%%NNNNLNNNNN%%11NLNNN1LNNNNNLLLLLLLLLLLLLLLLLLLLLLLNLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLN",t="nnnnnnNNr%%r,rNNmmmmmmmmmmmrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrmmmmmmmmmmmmmmmmmmmmmnnnnnnnnnn%nnrrrmrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrmmmmmmmnNmmmmmmrrmmNmmmmrr1111111111";function i(w){return w<=247?e.charAt(w):1424<=w&&w<=1524?"R":1536<=w&&w<=1785?t.charAt(w-1536):1774<=w&&w<=2220?"r":8192<=w&&w<=8203?"w":w==8204?"b":"L"}var n=/[\u0590-\u05f4\u0600-\u06ff\u0700-\u08ac]/,r=/[stwN]/,o=/[LRr]/,c=/[Lb1n]/,p=/[1n]/;function b(w,$,se){this.level=w,this.from=$,this.to=se}return function(w,$){var se=$=="ltr"?"L":"R";if(w.length==0||$=="ltr"&&!n.test(w))return!1;for(var xe=w.length,Te=[],Pe=0;Pe<xe;++Pe)Te.push(i(w.charCodeAt(Pe)));for(var Fe=0,Je=se;Fe<xe;++Fe){var nt=Te[Fe];nt=="m"?Te[Fe]=Je:Je=nt}for(var st=0,it=se;st<xe;++st){var dt=Te[st];dt=="1"&&it=="r"?Te[st]="n":o.test(dt)&&(it=dt,dt=="r"&&(Te[st]="R"))}for(var St=1,bt=Te[0];St<xe-1;++St){var Xt=Te[St];Xt=="+"&&bt=="1"&&Te[St+1]=="1"?Te[St]="1":Xt==","&&bt==Te[St+1]&&(bt=="1"||bt=="n")&&(Te[St]=bt),bt=Xt}for(var Wn=0;Wn<xe;++Wn){var Ii=Te[Wn];if(Ii==",")Te[Wn]="N";else if(Ii=="%"){var ni=void 0;for(ni=Wn+1;ni<xe&&Te[ni]=="%";++ni);for(var or=Wn&&Te[Wn-1]=="!"||ni<xe&&Te[ni]=="1"?"1":"N",er=Wn;er<ni;++er)Te[er]=or;Wn=ni-1}}for(var gi=0,tr=se;gi<xe;++gi){var ki=Te[gi];tr=="L"&&ki=="1"?Te[gi]="L":o.test(ki)&&(tr=ki)}for(var wi=0;wi<xe;++wi)if(r.test(Te[wi])){var vi=void 0;for(vi=wi+1;vi<xe&&r.test(Te[vi]);++vi);for(var ai=(wi?Te[wi-1]:se)=="L",nr=(vi<xe?Te[vi]:se)=="L",Ga=ai==nr?ai?"L":"R":se,oa=wi;oa<vi;++oa)Te[oa]=Ga;wi=vi-1}for(var Fi=[],Pr,Ni=0;Ni<xe;)if(c.test(Te[Ni])){var ps=Ni;for(++Ni;Ni<xe&&c.test(Te[Ni]);++Ni);Fi.push(new b(0,ps,Ni))}else{var Yr=Ni,va=Fi.length,ba=$=="rtl"?1:0;for(++Ni;Ni<xe&&Te[Ni]!="L";++Ni);for(var Qi=Yr;Qi<Ni;)if(p.test(Te[Qi])){Yr<Qi&&(Fi.splice(va,0,new b(1,Yr,Qi)),va+=ba);var Qa=Qi;for(++Qi;Qi<Ni&&p.test(Te[Qi]);++Qi);Fi.splice(va,0,new b(2,Qa,Qi)),va+=ba,Yr=Qi}else++Qi;Yr<Ni&&Fi.splice(va,0,new b(1,Yr,Ni))}return $=="ltr"&&(Fi[0].level==1&&(Pr=w.match(/^\s+/))&&(Fi[0].from=Pr[0].length,Fi.unshift(new b(0,0,Pr[0].length))),T(Fi).level==1&&(Pr=w.match(/\s+$/))&&(T(Fi).to-=Pr[0].length,Fi.push(new b(0,xe-Pr[0].length,xe)))),$=="rtl"?Fi.reverse():Fi}}();function mt(e,t){var i=e.order;return i==null&&(i=e.order=_t(e.text,t)),i}var Lt=[],$e=function(e,t,i){if(e.addEventListener)e.addEventListener(t,i,!1);else if(e.attachEvent)e.attachEvent("on"+t,i);else{var n=e._handlers||(e._handlers={});n[t]=(n[t]||Lt).concat(i)}};function Xn(e,t){return e._handlers&&e._handlers[t]||Lt}function Rn(e,t,i){if(e.removeEventListener)e.removeEventListener(t,i,!1);else if(e.detachEvent)e.detachEvent("on"+t,i);else{var n=e._handlers,r=n&&n[t];if(r){var o=fe(r,i);o>-1&&(n[t]=r.slice(0,o).concat(r.slice(o+1)))}}}function Bt(e,t){var i=Xn(e,t);if(!i.length)return;for(var n=Array.prototype.slice.call(arguments,2),r=0;r<i.length;++r)i[r].apply(null,n)}function ut(e,t,i){return typeof t=="string"&&(t={type:t,preventDefault:function(){this.defaultPrevented=!0}}),Bt(e,i||t.type,e,t),oi(t)||t.codemirrorIgnore}function Wt(e){var t=e._handlers&&e._handlers.cursorActivity;if(!t)return;for(var i=e.curOp.cursorActivityHandlers||(e.curOp.cursorActivityHandlers=[]),n=0;n<t.length;++n)fe(i,t[n])==-1&&i.push(t[n])}function It(e,t){return Xn(e,t).length>0}function pn(e){e.prototype.on=function(t,i){$e(this,t,i)},e.prototype.off=function(t,i){Rn(this,t,i)}}function en(e){e.preventDefault?e.preventDefault():e.returnValue=!1}function xn(e){e.stopPropagation?e.stopPropagation():e.cancelBubble=!0}function oi(e){return e.defaultPrevented!=null?e.defaultPrevented:e.returnValue==!1}function On(e){en(e),xn(e)}function si(e){return e.target||e.srcElement}function Ti(e){var t=e.which;return t==null&&(e.button&1?t=1:e.button&2?t=3:e.button&4&&(t=2)),v&&e.ctrlKey&&t==1&&(t=3),t}var li=function(){if(ue&&ge<9)return!1;var e=ce("div");return"draggable"in e||"dragDrop"in e}(),ir;function rr(e){if(ir==null){var t=ce("span","\u200B");he(e,ce("span",[t,document.createTextNode("x")])),e.firstChild.offsetHeight!=0&&(ir=t.offsetWidth<=1&&t.offsetHeight>2&&!(ue&&ge<8))}var i=ir?ce("span","\u200B"):ce("span","\xA0",null,"display: inline-block; width: 1px; margin-right: -1px");return i.setAttribute("cm-text",""),i}var Yi;function Pi(e){if(Yi!=null)return Yi;var t=he(e,document.createTextNode("A\u062EA")),i=W(t,0,1).getBoundingClientRect(),n=W(t,1,2).getBoundingClientRect();return oe(e),!i||i.left==i.right?!1:Yi=n.right-i.right<3}var Si=`
b`.split(/\n/).length!=3?function(e){for(var t=0,i=[],n=e.length;t<=n;){var r=e.indexOf(`
`,t);r==-1&&(r=e.length);var o=e.slice(t,e.charAt(r-1)=="\r"?r-1:r),c=o.indexOf("\r");c!=-1?(i.push(o.slice(0,c)),t+=c+1):(i.push(o),t=r+1)}return i}:function(e){return e.split(/\r\n?|\n/)},hi=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(i){}return!t||t.parentElement()!=e?!1:t.compareEndPoints("StartToEnd",t)!=0},mr=function(){var e=ce("div");return"oncopy"in e?!0:(e.setAttribute("oncopy","return;"),typeof e.oncopy=="function")}(),ht=null;function We(e){if(ht!=null)return ht;var t=he(e,ce("span","x")),i=t.getBoundingClientRect(),n=W(t,0,1).getBoundingClientRect();return ht=Math.abs(i.left-n.left)>1}var pt={},Dt={};function Ht(e,t){arguments.length>2&&(t.dependencies=Array.prototype.slice.call(arguments,2)),pt[e]=t}function Ut(e,t){Dt[e]=t}function In(e){if(typeof e=="string"&&Dt.hasOwnProperty(e))e=Dt[e];else if(e&&typeof e.name=="string"&&Dt.hasOwnProperty(e.name)){var t=Dt[e.name];typeof t=="string"&&(t={name:t}),e=De(t,e),e.name=t.name}else{if(typeof e=="string"&&/^[\w\-]+\/[\w\-]+\+xml$/.test(e))return In("application/xml");if(typeof e=="string"&&/^[\w\-]+\/[\w\-]+\+json$/.test(e))return In("application/json")}return typeof e=="string"?{name:e}:e||{name:"null"}}function ln(e,t){t=In(t);var i=pt[t.name];if(!i)return ln(e,"text/plain");var n=i(e,t);if(rt.hasOwnProperty(t.name)){var r=rt[t.name];for(var o in r){if(!r.hasOwnProperty(o))continue;n.hasOwnProperty(o)&&(n["_"+o]=n[o]),n[o]=r[o]}}if(n.name=t.name,t.helperType&&(n.helperType=t.helperType),t.modeProps)for(var c in t.modeProps)n[c]=t.modeProps[c];return n}var rt={};function Ze(e,t){var i=rt.hasOwnProperty(e)?rt[e]:rt[e]={};l(t,i)}function at(e,t){if(t===!0)return t;if(e.copyState)return e.copyState(t);var i={};for(var n in t){var r=t[n];r instanceof Array&&(r=r.concat([])),i[n]=r}return i}function Xe(e,t){for(var i;e.innerMode&&!(i=e.innerMode(t),!i||i.mode==e);)t=i.state,e=i.mode;return i||{mode:e,state:t}}function Ct(e,t,i){return e.startState?e.startState(t,i):!0}var Ge=function(e,t,i){this.pos=this.start=0,this.string=e,this.tabSize=t||8,this.lastColumnPos=this.lastColumnValue=0,this.lineStart=0,this.lineOracle=i};Ge.prototype.eol=function(){return this.pos>=this.string.length},Ge.prototype.sol=function(){return this.pos==this.lineStart},Ge.prototype.peek=function(){return this.string.charAt(this.pos)||void 0},Ge.prototype.next=function(){if(this.pos<this.string.length)return this.string.charAt(this.pos++)},Ge.prototype.eat=function(e){var t=this.string.charAt(this.pos),i;if(typeof e=="string"?i=t==e:i=t&&(e.test?e.test(t):e(t)),i)return++this.pos,t},Ge.prototype.eatWhile=function(e){for(var t=this.pos;this.eat(e););return this.pos>t},Ge.prototype.eatSpace=function(){for(var e=this.pos;/[\s\u00a0]/.test(this.string.charAt(this.pos));)++this.pos;return this.pos>e},Ge.prototype.skipToEnd=function(){this.pos=this.string.length},Ge.prototype.skipTo=function(e){var t=this.string.indexOf(e,this.pos);if(t>-1)return this.pos=t,!0},Ge.prototype.backUp=function(e){this.pos-=e},Ge.prototype.column=function(){return this.lastColumnPos<this.start&&(this.lastColumnValue=R(this.string,this.start,this.tabSize,this.lastColumnPos,this.lastColumnValue),this.lastColumnPos=this.start),this.lastColumnValue-(this.lineStart?R(this.string,this.lineStart,this.tabSize):0)},Ge.prototype.indentation=function(){return R(this.string,null,this.tabSize)-(this.lineStart?R(this.string,this.lineStart,this.tabSize):0)},Ge.prototype.match=function(e,t,i){if(typeof e=="string"){var n=function(c){return i?c.toLowerCase():c},r=this.string.substr(this.pos,e.length);if(n(r)==n(e))return t!==!1&&(this.pos+=e.length),!0}else{var o=this.string.slice(this.pos).match(e);return o&&o.index>0?null:(o&&t!==!1&&(this.pos+=o[0].length),o)}},Ge.prototype.current=function(){return this.string.slice(this.start,this.pos)},Ge.prototype.hideFirstChars=function(e,t){this.lineStart+=e;try{return t()}finally{this.lineStart-=e}},Ge.prototype.lookAhead=function(e){var t=this.lineOracle;return t&&t.lookAhead(e)},Ge.prototype.baseToken=function(){var e=this.lineOracle;return e&&e.baseToken(this.pos)};function ze(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 i=e;!i.lines;)for(var n=0;;++n){var r=i.children[n],o=r.chunkSize();if(t<o){i=r;break}t-=o}return i.lines[t]}function Zt(e,t,i){var n=[],r=t.line;return e.iter(t.line,i.line+1,function(o){var c=o.text;r==i.line&&(c=c.slice(0,i.ch)),r==t.line&&(c=c.slice(t.ch)),n.push(c),++r}),n}function Ot(e,t,i){var n=[];return e.iter(t,i,function(r){n.push(r.text)}),n}function kt(e,t){var i=t-e.height;if(i)for(var n=e;n;n=n.parent)n.height+=i}function Nt(e){if(e.parent==null)return null;for(var t=e.parent,i=fe(t.lines,e),n=t.parent;n;t=n,n=n.parent)for(var r=0;!(n.children[r]==t);++r)i+=n.children[r].chunkSize();return i+t.first}function Kt(e,t){var i=e.first;e:do{for(var n=0;n<e.children.length;++n){var r=e.children[n],o=r.height;if(t<o){e=r;continue e}t-=o,i+=r.chunkSize()}return i}while(!e.lines);for(var c=0;c<e.lines.length;++c){var p=e.lines[c],b=p.height;if(t<b)break;t-=b}return i+c}function un(e,t){return t>=e.first&&t<e.first+e.size}function Hn(e,t){return String(e.lineNumberFormatter(t+e.firstLineNumber))}function je(e,t,i){if(i===void 0&&(i=null),!(this instanceof je))return new je(e,t,i);this.line=e,this.ch=t,this.sticky=i}function lt(e,t){return e.line-t.line||e.ch-t.ch}function Un(e,t){return e.sticky==t.sticky&&lt(e,t)==0}function bi(e){return je(e.line,e.ch)}function wn(e,t){return lt(e,t)<0?t:e}function Rt(e,t){return lt(e,t)<0?e:t}function xt(e,t){return Math.max(e.first,Math.min(t,e.first+e.size-1))}function et(e,t){if(t.line<e.first)return je(e.first,0);var i=e.first+e.size-1;return t.line>i?je(i,ze(e,i).text.length):Pt(t,ze(e,t.line).text.length)}function Pt(e,t){var i=e.ch;return i==null||i>t?je(e.line,t):i<0?je(e.line,0):e}function yt(e,t){for(var i=[],n=0;n<t.length;n++)i[n]=et(e,t[n]);return i}var gt=function(e,t){this.state=e,this.lookAhead=t},Mt=function(e,t,i,n){this.state=t,this.doc=e,this.line=i,this.maxLookAhead=n||0,this.baseTokens=null,this.baseTokenPos=1};Mt.prototype.lookAhead=function(e){var t=this.doc.getLine(this.line+e);return t!=null&&e>this.maxLookAhead&&(this.maxLookAhead=e),t},Mt.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}},Mt.prototype.nextLine=function(){this.line++,this.maxLookAhead>0&&this.maxLookAhead--},Mt.fromSaved=function(e,t,i){return t instanceof gt?new Mt(e,at(e.mode,t.state),i,t.lookAhead):new Mt(e,at(e.mode,t),i)},Mt.prototype.save=function(e){var t=e!==!1?at(this.doc.mode,this.state):this.state;return this.maxLookAhead>0?new gt(t,this.maxLookAhead):t};function Gn(e,t,i,n){var r=[e.state.modeGen],o={};cn(e,t.text,e.doc.mode,i,function(w,$){return r.push(w,$)},o,n);for(var c=i.state,p=function(w){i.baseTokens=r;var $=e.state.overlays[w],se=1,xe=0;i.state=!0,cn(e,t.text,$.mode,i,function(Te,Pe){for(var Fe=se;xe<Te;){var Je=r[se];Je>Te&&r.splice(se,1,Te,r[se+1],Je),se+=2,xe=Math.min(Te,Je)}if(!Pe)return;if($.opaque)r.splice(Fe,se-Fe,Te,"overlay "+Pe),se=Fe+2;else for(;Fe<se;Fe+=2){var nt=r[Fe+1];r[Fe+1]=(nt?nt+" ":"")+"overlay "+Pe}},o),i.state=c,i.baseTokens=null,i.baseTokenPos=1},b=0;b<e.state.overlays.length;++b)p(b);return{styles:r,classes:o.bgClass||o.textClass?o:null}}function yn(e,t,i){if(!t.styles||t.styles[0]!=e.state.modeGen){var n=Jt(e,Nt(t)),r=t.text.length>e.options.maxHighlightLength&&at(e.doc.mode,n.state),o=Gn(e,t,n);r&&(n.state=r),t.stateAfter=n.save(!r),t.styles=o.styles,o.classes?t.styleClasses=o.classes:t.styleClasses&&(t.styleClasses=null),i===e.doc.highlightFrontier&&(e.doc.modeFrontier=Math.max(e.doc.modeFrontier,++e.doc.highlightFrontier))}return t.styles}function Jt(e,t,i){var n=e.doc,r=e.display;if(!n.mode.startState)return new Mt(n,!0,t);var o=fn(e,t,i),c=o>n.first&&ze(n,o-1).stateAfter,p=c?Mt.fromSaved(n,c,o):new Mt(n,Ct(n.mode),o);return n.iter(o,t,function(b){rn(e,b.text,p);var w=p.line;b.stateAfter=w==t-1||w%5==0||w>=r.viewFrom&&w<r.viewTo?p.save():null,p.nextLine()}),i&&(n.modeFrontier=p.line),p}function rn(e,t,i,n){var r=e.doc.mode,o=new Ge(t,e.options.tabSize,i);for(o.start=o.pos=n||0,t==""&&fi(r,i.state);!o.eol();)Kn(r,o,i.state),o.start=o.pos}function fi(e,t){if(e.blankLine)return e.blankLine(t);if(!e.innerMode)return;var i=Xe(e,t);if(i.mode.blankLine)return i.mode.blankLine(i.state)}function Kn(e,t,i,n){for(var r=0;r<10;r++){n&&(n[0]=Xe(e,i).mode);var o=e.token(t,i);if(t.pos>t.start)return o}throw new Error("Mode "+e.name+" failed to advance stream.")}var ti=function(e,t,i){this.start=e.start,this.end=e.pos,this.string=e.current(),this.type=t||null,this.state=i};function Fn(e,t,i,n){var r=e.doc,o=r.mode,c;t=et(r,t);var p=ze(r,t.line),b=Jt(e,t.line,i),w=new Ge(p.text,e.options.tabSize,b),$;for(n&&($=[]);(n||w.pos<t.ch)&&!w.eol();)w.start=w.pos,c=Kn(o,w,b.state),n&&$.push(new ti(w,c,at(r.mode,b.state)));return n?$:new ti(w,c,b.state)}function hn(e,t){if(e)for(;;){var i=e.match(/(?:^|\s+)line-(background-)?(\S+)/);if(!i)break;e=e.slice(0,i.index)+e.slice(i.index+i[0].length);var n=i[1]?"bgClass":"textClass";t[n]==null?t[n]=i[2]:new RegExp("(?:^|\\s)"+i[2]+"(?:$|\\s)").test(t[n])||(t[n]+=" "+i[2])}return e}function cn(e,t,i,n,r,o,c){var p=i.flattenSpans;p==null&&(p=e.options.flattenSpans);var b=0,w=null,$=new Ge(t,e.options.tabSize,n),se,xe=e.options.addModeClass&&[null];for(t==""&&hn(fi(i,n.state),o);!$.eol();){if($.pos>e.options.maxHighlightLength?(p=!1,c&&rn(e,t,n,$.pos),$.pos=t.length,se=null):se=hn(Kn(i,$,n.state,xe),o),xe){var Te=xe[0].name;Te&&(se="m-"+(se?Te+" "+se:Te))}if(!p||w!=se){for(;b<$.start;)b=Math.min($.start,b+5e3),r(b,w);w=se}$.start=$.pos}for(;b<$.pos;){var Pe=Math.min($.pos,b+5e3);r(Pe,w),b=Pe}}function fn(e,t,i){for(var n,r,o=e.doc,c=i?-1:t-(e.doc.mode.innerMode?1e3:100),p=t;p>c;--p){if(p<=o.first)return o.first;var b=ze(o,p-1),w=b.stateAfter;if(w&&(!i||p+(w instanceof gt?w.lookAhead:0)<=o.modeFrontier))return p;var $=R(b.text,null,e.options.tabSize);(r==null||n>$)&&(r=p-1,n=$)}return r}function tn(e,t){if(e.modeFrontier=Math.min(e.modeFrontier,t),e.highlightFrontier<t-10)return;for(var i=e.first,n=t-1;n>i;n--){var r=ze(e,n).stateAfter;if(r&&(!(r instanceof gt)||n+r.lookAhead<t)){i=n+1;break}}e.highlightFrontier=Math.min(e.highlightFrontier,i)}var Ci=!1,kn=!1;function Qn(){Ci=!0}function sr(){kn=!0}function pi(e,t,i){this.marker=e,this.from=t,this.to=i}function lr(e,t){if(e)for(var i=0;i<e.length;++i){var n=e[i];if(n.marker==t)return n}}function jr(e,t){for(var i,n=0;n<e.length;++n)e[n]!=t&&(i||(i=[])).push(e[n]);return i}function _a(e,t){e.markedSpans=e.markedSpans?e.markedSpans.concat([t]):[t],t.marker.attachLine(e)}function Vr(e,t,i){var n;if(e)for(var r=0;r<e.length;++r){var o=e[r],c=o.marker,p=o.from==null||(c.inclusiveLeft?o.from<=t:o.from<t);if(p||o.from==t&&c.type=="bookmark"&&(!i||!o.marker.insertLeft)){var b=o.to==null||(c.inclusiveRight?o.to>=t:o.to>t);(n||(n=[])).push(new pi(c,o.from,b?null:o.to))}}return n}function sa(e,t,i){var n;if(e)for(var r=0;r<e.length;++r){var o=e[r],c=o.marker,p=o.to==null||(c.inclusiveRight?o.to>=t:o.to>t);if(p||o.from==t&&c.type=="bookmark"&&(!i||o.marker.insertLeft)){var b=o.from==null||(c.inclusiveLeft?o.from<=t:o.from<t);(n||(n=[])).push(new pi(c,b?null:o.from-t,o.to==null?null:o.to-t))}}return n}function Ur(e,t){if(t.full)return null;var i=un(e,t.from.line)&&ze(e,t.from.line).markedSpans,n=un(e,t.to.line)&&ze(e,t.to.line).markedSpans;if(!i&&!n)return null;var r=t.from.ch,o=t.to.ch,c=lt(t.from,t.to)==0,p=Vr(i,r,c),b=sa(n,o,c),w=t.text.length==1,$=T(t.text).length+(w?r:0);if(p)for(var se=0;se<p.length;++se){var xe=p[se];if(xe.to==null){var Te=lr(b,xe.marker);Te?w&&(xe.to=Te.to==null?null:Te.to+$):xe.to=r}}if(b)for(var Pe=0;Pe<b.length;++Pe){var Fe=b[Pe];if(Fe.to!=null&&(Fe.to+=$),Fe.from==null){var Je=lr(p,Fe.marker);Je||(Fe.from=$,w&&(p||(p=[])).push(Fe))}else Fe.from+=$,w&&(p||(p=[])).push(Fe)}p&&(p=Vi(p)),b&&b!=p&&(b=Vi(b));var nt=[p];if(!w){var st=t.text.length-2,it;if(st>0&&p)for(var dt=0;dt<p.length;++dt)p[dt].to==null&&(it||(it=[])).push(new pi(p[dt].marker,null,null));for(var St=0;St<st;++St)nt.push(it);nt.push(b)}return nt}function Vi(e){for(var t=0;t<e.length;++t){var i=e[t];i.from!=null&&i.from==i.to&&i.marker.clearWhenEmpty!==!1&&e.splice(t--,1)}return e.length?e:null}function En(e,t,i){var n=null;if(e.iter(t.line,i.line+1,function(Te){if(Te.markedSpans)for(var Pe=0;Pe<Te.markedSpans.length;++Pe){var Fe=Te.markedSpans[Pe].marker;Fe.readOnly&&(!n||fe(n,Fe)==-1)&&(n||(n=[])).push(Fe)}}),!n)return null;for(var r=[{from:t,to:i}],o=0;o<n.length;++o)for(var c=n[o],p=c.find(0),b=0;b<r.length;++b){var w=r[b];if(lt(w.to,p.from)<0||lt(w.from,p.to)>0)continue;var $=[b,1],se=lt(w.from,p.from),xe=lt(w.to,p.to);(se<0||!c.inclusiveLeft&&!se)&&$.push({from:w.from,to:p.from}),(xe>0||!c.inclusiveRight&&!xe)&&$.push({from:p.to,to:w.to}),r.splice.apply(r,$),b+=$.length-3}return r}function vn(e){var t=e.markedSpans;if(!t)return;for(var i=0;i<t.length;++i)t[i].marker.detachLine(e);e.markedSpans=null}function Zn(e,t){if(!t)return;for(var i=0;i<t.length;++i)t[i].marker.attachLine(e);e.markedSpans=t}function Di(e){return e.inclusiveLeft?-1:0}function ur(e){return e.inclusiveRight?1:0}function Ri(e,t){var i=e.lines.length-t.lines.length;if(i!=0)return i;var n=e.find(),r=t.find(),o=lt(n.from,r.from)||Di(e)-Di(t);if(o)return-o;var c=lt(n.to,r.to)||ur(e)-ur(t);return c||t.id-e.id}function Bi(e,t){var i=kn&&e.markedSpans,n;if(i)for(var r=void 0,o=0;o<i.length;++o)r=i[o],r.marker.collapsed&&(t?r.from:r.to)==null&&(!n||Ri(n,r.marker)<0)&&(n=r.marker);return n}function Ji(e){return Bi(e,!0)}function Pn(e){return Bi(e,!1)}function Wi(e,t){var i=kn&&e.markedSpans,n;if(i)for(var r=0;r<i.length;++r){var o=i[r];o.marker.collapsed&&(o.from==null||o.from<t)&&(o.to==null||o.to>t)&&(!n||Ri(n,o.marker)<0)&&(n=o.marker)}return n}function yr(e,t,i,n,r){var o=ze(e,t),c=kn&&o.markedSpans;if(c)for(var p=0;p<c.length;++p){var b=c[p];if(!b.marker.collapsed)continue;var w=b.marker.find(0),$=lt(w.from,i)||Di(b.marker)-Di(r),se=lt(w.to,n)||ur(b.marker)-ur(r);if($>=0&&se<=0||$<=0&&se>=0)continue;if($<=0&&(b.marker.inclusiveRight&&r.inclusiveLeft?lt(w.to,i)>=0:lt(w.to,i)>0)||$>=0&&(b.marker.inclusiveRight&&r.inclusiveLeft?lt(w.from,n)<=0:lt(w.from,n)<0))return!0}}function Mi(e){for(var t;t=Ji(e);)e=t.find(-1,!0).line;return e}function ya(e){for(var t;t=Pn(e);)e=t.find(1,!0).line;return e}function gr(e){for(var t,i;t=Pn(e);)e=t.find(1,!0).line,(i||(i=[])).push(e);return i}function vr(e,t){var i=ze(e,t),n=Mi(i);return i==n?t:Nt(n)}function Sr(e,t){if(t>e.lastLine())return t;var i=ze(e,t),n;if(!Xi(e,i))return t;for(;n=Pn(i);)i=n.find(1,!0).line;return Nt(i)+1}function Xi(e,t){var i=kn&&t.markedSpans;if(i)for(var n=void 0,r=0;r<i.length;++r){if(n=i[r],!n.marker.collapsed)continue;if(n.from==null)return!0;if(n.marker.widgetNode)continue;if(n.from==0&&n.marker.inclusiveLeft&&la(e,t,n))return!0}}function la(e,t,i){if(i.to==null){var n=i.marker.find(1,!0);return la(e,n.line,lr(n.line.markedSpans,i.marker))}if(i.marker.inclusiveRight&&i.to==t.text.length)return!0;for(var r=void 0,o=0;o<t.markedSpans.length;++o)if(r=t.markedSpans[o],r.marker.collapsed&&!r.marker.widgetNode&&r.from==i.to&&(r.to==null||r.to!=i.from)&&(r.marker.inclusiveLeft||i.marker.inclusiveRight)&&la(e,t,r))return!0}function Zi(e){e=Mi(e);for(var t=0,i=e.parent,n=0;n<i.lines.length;++n){var r=i.lines[n];if(r==e)break;t+=r.height}for(var o=i.parent;o;i=o,o=i.parent)for(var c=0;c<o.children.length;++c){var p=o.children[c];if(p==i)break;t+=p.height}return t}function Fr(e){if(e.height==0)return 0;for(var t=e.text.length,i,n=e;i=Ji(n);){var r=i.find(0,!0);n=r.from.line,t+=r.from.ch-r.to.ch}for(n=e;i=Pn(n);){var o=i.find(0,!0);t-=n.text.length-o.from.ch,n=o.to.line,t+=n.text.length-o.to.ch}return t}function Jr(e){var t=e.display,i=e.doc;t.maxLine=ze(i,i.first),t.maxLineLength=Fr(t.maxLine),t.maxLineChanged=!0,i.iter(function(n){var r=Fr(n);r>t.maxLineLength&&(t.maxLineLength=r,t.maxLine=n)})}var Cr=function(e,t,i){this.text=e,Zn(this,t),this.height=i?i(this):1};Cr.prototype.lineNo=function(){return Nt(this)},pn(Cr);function Ya(e,t,i,n){e.text=t,e.stateAfter&&(e.stateAfter=null),e.styles&&(e.styles=null),e.order!=null&&(e.order=null),vn(e),Zn(e,i);var r=n?n(e):1;r!=e.height&&kt(e,r)}function ua(e){e.parent=null,vn(e)}var Va={},br={};function ca(e,t){if(!e||/^\s*$/.test(e))return null;var i=t.addModeClass?br:Va;return i[e]||(i[e]=e.replace(/\S+/g,"cm-$&"))}function Ea(e,t){var i=Q("span",null,null,a?"padding-right: .1px":null),n={pre:Q("pre",[i],"CodeMirror-line"),content:i,col:0,pos:0,cm:e,trailingSpace:!1,splitSpaces:e.getOption("lineWrapping")};t.measure={};for(var r=0;r<=(t.rest?t.rest.length:0);r++){var o=r?t.rest[r-1]:t.line,c=void 0;n.pos=0,n.addToken=qi,Pi(e.display.measure)&&(c=mt(o,e.doc.direction))&&(n.addToken=Oo(n.addToken,c)),n.map=[];var p=t!=e.display.externalMeasured&&Nt(o);Ja(o,n,yn(e,o,p)),o.styleClasses&&(o.styleClasses.bgClass&&(n.bgClass=u(o.styleClasses.bgClass,n.bgClass||"")),o.styleClasses.textClass&&(n.textClass=u(o.styleClasses.textClass,n.textClass||""))),n.map.length==0&&n.map.push(0,0,n.content.appendChild(rr(e.display.measure))),r==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(a){var b=n.content.lastChild;(/\bcm-tab\b/.test(b.className)||b.querySelector&&b.querySelector(".cm-tab"))&&(n.content.className="cm-tab-wrap-hack")}return Bt(e,"renderLine",e,t.line,n.pre),n.pre.className&&(n.textClass=u(n.pre.className,n.textClass||"")),n}function Xr(e){var t=ce("span","\u2022","cm-invalidchar");return t.title="\\u"+e.charCodeAt(0).toString(16),t.setAttribute("aria-label",t.title),t}function qi(e,t,i,n,r,o,c){if(!t)return;var p=e.splitSpaces?Aa(t,e.trailingSpace):t,b=e.cm.state.specialChars,w=!1,$;if(!b.test(t))e.col+=t.length,$=document.createTextNode(p),e.map.push(e.pos,e.pos+t.length,$),ue&&ge<9&&(w=!0),e.pos+=t.length;else{$=document.createDocumentFragment();for(var se=0;;){b.lastIndex=se;var xe=b.exec(t),Te=xe?xe.index-se:t.length-se;if(Te){var Pe=document.createTextNode(p.slice(se,se+Te));ue&&ge<9?$.appendChild(ce("span",[Pe])):$.appendChild(Pe),e.map.push(e.pos,e.pos+Te,Pe),e.col+=Te,e.pos+=Te}if(!xe)break;se+=Te+1;var Fe=void 0;if(xe[0]==" "){var Je=e.cm.options.tabSize,nt=Je-e.col%Je;Fe=$.appendChild(ce("span",Oe(nt),"cm-tab")),Fe.setAttribute("role","presentation"),Fe.setAttribute("cm-text"," "),e.col+=nt}else xe[0]=="\r"||xe[0]==`
`?(Fe=$.appendChild(ce("span",xe[0]=="\r"?"\u240D":"\u2424","cm-invalidchar")),Fe.setAttribute("cm-text",xe[0]),e.col+=1):(Fe=e.cm.options.specialCharPlaceholder(xe[0]),Fe.setAttribute("cm-text",xe[0]),ue&&ge<9?$.appendChild(ce("span",[Fe])):$.appendChild(Fe),e.col+=1);e.map.push(e.pos,e.pos+1,Fe),e.pos++}}if(e.trailingSpace=p.charCodeAt(t.length-1)==32,i||n||r||w||o||c){var st=i||"";n&&(st+=n),r&&(st+=r);var it=ce("span",[$],st,o);if(c)for(var dt in c)c.hasOwnProperty(dt)&&dt!="style"&&dt!="class"&&it.setAttribute(dt,c[dt]);return e.content.appendChild(it)}e.content.appendChild($)}function Aa(e,t){if(e.length>1&&!/ /.test(e))return e;for(var i=t,n="",r=0;r<e.length;r++){var o=e.charAt(r);o==" "&&i&&(r==e.length-1||e.charCodeAt(r+1)==32)&&(o="\xA0"),n+=o,i=o==" "}return n}function Oo(e,t){return function(i,n,r,o,c,p,b){r=r?r+" cm-force-border":"cm-force-border";for(var w=i.pos,$=w+n.length;;){for(var se=void 0,xe=0;xe<t.length&&!(se=t[xe],se.to>w&&se.from<=w);xe++);if(se.to>=$)return e(i,n,r,o,c,p,b);e(i,n.slice(0,se.to-w),r,o,null,p,b),o=null,n=n.slice(se.to-w),w=se.to}}}function Oa(e,t,i,n){var r=!n&&i.widgetNode;r&&e.map.push(e.pos,e.pos+t,r),!n&&e.cm.display.input.needsContentAttribute&&(r||(r=e.content.appendChild(document.createElement("span"))),r.setAttribute("cm-marker",i.id)),r&&(e.cm.display.input.setUneditable(r),e.content.appendChild(r)),e.pos+=t,e.trailingSpace=!1}function Ja(e,t,i){var n=e.markedSpans,r=e.text,o=0;if(!n){for(var c=1;c<i.length;c+=2)t.addToken(t,r.slice(o,o=i[c]),ca(i[c+1],t.cm.options));return}for(var p=r.length,b=0,w=1,$="",se,xe,Te=0,Pe,Fe,Je,nt,st;;){if(Te==b){Pe=Fe=Je=xe="",st=null,nt=null,Te=Infinity;for(var it=[],dt=void 0,St=0;St<n.length;++St){var bt=n[St],Xt=bt.marker;if(Xt.type=="bookmark"&&bt.from==b&&Xt.widgetNode)it.push(Xt);else if(bt.from<=b&&(bt.to==null||bt.to>b||Xt.collapsed&&bt.to==b&&bt.from==b)){if(bt.to!=null&&bt.to!=b&&Te>bt.to&&(Te=bt.to,Fe=""),Xt.className&&(Pe+=" "+Xt.className),Xt.css&&(xe=(xe?xe+";":"")+Xt.css),Xt.startStyle&&bt.from==b&&(Je+=" "+Xt.startStyle),Xt.endStyle&&bt.to==Te&&(dt||(dt=[])).push(Xt.endStyle,bt.to),Xt.title&&((st||(st={})).title=Xt.title),Xt.attributes)for(var Wn in Xt.attributes)(st||(st={}))[Wn]=Xt.attributes[Wn];Xt.collapsed&&(!nt||Ri(nt.marker,Xt)<0)&&(nt=bt)}else bt.from>b&&Te>bt.from&&(Te=bt.from)}if(dt)for(var Ii=0;Ii<dt.length;Ii+=2)dt[Ii+1]==Te&&(Fe+=" "+dt[Ii]);if(!nt||nt.from==b)for(var ni=0;ni<it.length;++ni)Oa(t,0,it[ni]);if(nt&&(nt.from||0)==b){if(Oa(t,(nt.to==null?p+1:nt.to)-b,nt.marker,nt.from==null),nt.to==null)return;nt.to==b&&(nt=!1)}}if(b>=p)break;for(var or=Math.min(p,Te);;){if($){var er=b+$.length;if(!nt){var gi=er>or?$.slice(0,or-b):$;t.addToken(t,gi,se?se+Pe:Pe,Je,b+gi.length==Te?Fe:"",xe,st)}if(er>=or){$=$.slice(or-b),b=or;break}b=er,Je=""}$=r.slice(o,o=i[w++]),se=ca(i[w++],t.cm.options)}}}function wa(e,t,i){this.line=t,this.rest=gr(t),this.size=this.rest?Nt(T(this.rest))-i+1:1,this.node=this.text=null,this.hidden=Xi(e,t)}function Rr(e,t,i){for(var n=[],r,o=t;o<i;o=r){var c=new wa(e.doc,ze(e.doc,o),o);r=o+c.size,n.push(c)}return n}var Br=null;function Ta(e){Br?Br.ops.push(e):e.ownsGroup=Br={ops:[e],delayedCallbacks:[]}}function da(e){var t=e.delayedCallbacks,i=0;do{for(;i<t.length;i++)t[i].call(null);for(var n=0;n<e.ops.length;n++){var r=e.ops[n];if(r.cursorActivityHandlers)for(;r.cursorActivityCalled<r.cursorActivityHandlers.length;)r.cursorActivityHandlers[r.cursorActivityCalled++].call(null,r.cm)}}while(i<t.length)}function Xa(e,t){var i=e.ownsGroup;if(!i)return;try{da(i)}finally{Br=null,t(i)}}var wt=null;function Be(e,t){var i=Xn(e,t);if(!i.length)return;var n=Array.prototype.slice.call(arguments,2),r;Br?r=Br.delayedCallbacks:wt?r=wt:(r=wt=[],setTimeout(ct,0));for(var o=function(p){r.push(function(){return i[p].apply(null,n)})},c=0;c<i.length;++c)o(c)}function ct(){var e=wt;wt=null;for(var t=0;t<e.length;++t)e[t]()}function qe(e,t,i,n){for(var r=0;r<t.changes.length;r++){var o=t.changes[r];o=="text"?bn(e,t):o=="gutter"?Nn(e,t,i,n):o=="class"?zn(e,t):o=="widget"&&ii(e,t,n)}t.changes=null}function Et(e){return e.node==e.text&&(e.node=ce("div",null,null,"position: relative"),e.text.parentNode&&e.text.parentNode.replaceChild(e.node,e.text),e.node.appendChild(e.text),ue&&ge<8&&(e.node.style.zIndex=2)),e.node}function jt(e,t){var i=t.bgClass?t.bgClass+" "+(t.line.bgClass||""):t.line.bgClass;if(i&&(i+=" CodeMirror-linebackground"),t.background)i?t.background.className=i:(t.background.parentNode.removeChild(t.background),t.background=null);else if(i){var n=Et(t);t.background=n.insertBefore(ce("div",null,i),n.firstChild),e.display.input.setUneditable(t.background)}}function mn(e,t){var i=e.display.externalMeasured;return i&&i.line==t.line?(e.display.externalMeasured=null,t.measure=i.measure,i.built):Ea(e,t)}function bn(e,t){var i=t.text.className,n=mn(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,zn(e,t)):i&&(t.text.className=i)}function zn(e,t){jt(e,t),t.line.wrapClass?Et(t).className=t.line.wrapClass:t.node!=t.text&&(t.node.className="");var i=t.textClass?t.textClass+" "+(t.line.textClass||""):t.line.textClass;t.text.className=i||""}function Nn(e,t,i,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 r=Et(t);t.gutterBackground=ce("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),r.insertBefore(t.gutterBackground,t.text)}var o=t.line.gutterMarkers;if(e.options.lineNumbers||o){var c=Et(t),p=t.gutter=ce("div",null,"CodeMirror-gutter-wrapper","left: "+(e.options.fixedGutter?n.fixedPos:-n.gutterTotalWidth)+"px");if(e.display.input.setUneditable(p),c.insertBefore(p,t.text),t.line.gutterClass&&(p.className+=" "+t.line.gutterClass),e.options.lineNumbers&&(!o||!o["CodeMirror-linenumbers"])&&(t.lineNumber=p.appendChild(ce("div",Hn(e.options,i),"CodeMirror-linenumber CodeMirror-gutter-elt","left: "+n.gutterLeft["CodeMirror-linenumbers"]+"px; width: "+e.display.lineNumInnerWidth+"px"))),o)for(var b=0;b<e.display.gutterSpecs.length;++b){var w=e.display.gutterSpecs[b].className,$=o.hasOwnProperty(w)&&o[w];$&&p.appendChild(ce("div",[$],"CodeMirror-gutter-elt","left: "+n.gutterLeft[w]+"px; width: "+n.gutterWidth[w]+"px"))}}}function ii(e,t,i){t.alignable&&(t.alignable=null);for(var n=X("CodeMirror-linewidget"),r=t.node.firstChild,o=void 0;r;r=o)o=r.nextSibling,n.test(r.className)&&t.node.removeChild(r);xi(e,t,i)}function ar(e,t,i,n){var r=mn(e,t);return t.text=t.node=r.pre,r.bgClass&&(t.bgClass=r.bgClass),r.textClass&&(t.textClass=r.textClass),zn(e,t),Nn(e,t,i,n),xi(e,t,n),t.node}function xi(e,t,i){if(Sa(e,t.line,t,i,!0),t.rest)for(var n=0;n<t.rest.length;n++)Sa(e,t.rest[n],t,i,!1)}function Sa(e,t,i,n,r){if(!t.widgets)return;for(var o=Et(i),c=0,p=t.widgets;c<p.length;++c){var b=p[c],w=ce("div",[b.node],"CodeMirror-linewidget"+(b.className?" "+b.className:""));b.handleMouseEvents||w.setAttribute("cm-ignore-events","true"),wo(b,w,i,n),e.display.input.setUneditable(w),r&&b.above?o.insertBefore(w,i.gutter||i.text):o.appendChild(w),Be(b,"redraw")}}function wo(e,t,i,n){if(e.noHScroll){(i.alignable||(i.alignable=[])).push(t);var r=n.wrapperWidth;t.style.left=n.fixedPos+"px",e.coverGutter||(r-=n.gutterTotalWidth,t.style.paddingLeft=n.gutterTotalWidth+"px"),t.style.width=r+"px"}e.coverGutter&&(t.style.zIndex=5,t.style.position="relative",e.noHScroll||(t.style.marginLeft=-n.gutterTotalWidth+"px"))}function mi(e){if(e.height!=null)return e.height;var t=e.doc.cm;if(!t)return 0;if(!H(document.body,e.node)){var i="position: relative;";e.coverGutter&&(i+="margin-left: -"+t.display.gutters.offsetWidth+"px;"),e.noHScroll&&(i+="width: "+t.display.wrapper.clientWidth+"px;"),he(t.display.measure,ce("div",[e.node],null,i))}return e.height=e.node.parentNode.offsetHeight}function Er(e,t){for(var i=si(t);i!=e.wrapper;i=i.parentNode)if(!i||i.nodeType==1&&i.getAttribute("cm-ignore-events")=="true"||i.parentNode==e.sizer&&i!=e.mover)return!0}function Za(e){return e.lineSpace.offsetTop}function V(e){return e.mover.offsetHeight-e.lineSpace.offsetHeight}function de(e){if(e.cachedPaddingH)return e.cachedPaddingH;var t=he(e.measure,ce("pre","x","CodeMirror-line-like")),i=window.getComputedStyle?window.getComputedStyle(t):t.currentStyle,n={left:parseInt(i.paddingLeft),right:parseInt(i.paddingRight)};return!isNaN(n.left)&&!isNaN(n.right)&&(e.cachedPaddingH=n),n}function be(e){return Ee-e.display.nativeBarWidth}function q(e){return e.display.scroller.clientWidth-be(e)-e.display.barWidth}function O(e){return e.display.scroller.clientHeight-be(e)-e.display.barHeight}function B(e,t,i){var n=e.options.lineWrapping,r=n&&q(e);if(!t.measure.heights||n&&t.measure.width!=r){var o=t.measure.heights=[];if(n){t.measure.width=r;for(var c=t.text.firstChild.getClientRects(),p=0;p<c.length-1;p++){var b=c[p],w=c[p+1];Math.abs(b.bottom-w.bottom)>2&&o.push((b.bottom+w.top)/2-i.top)}}o.push(i.bottom-i.top)}}function x(e,t,i){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 r=0;r<e.rest.length;r++)if(Nt(e.rest[r])>i)return{map:e.measure.maps[r],cache:e.measure.caches[r],before:!0}}function te(e,t){t=Mi(t);var i=Nt(t),n=e.display.externalMeasured=new wa(e.doc,t,i);n.lineN=i;var r=n.built=Ea(e,n);return n.text=r.pre,he(e.display.lineMeasure,r.pre),n}function ne(e,t,i,n){return Ce(e,me(e,t),i,n)}function ye(e,t){if(t>=e.display.viewFrom&&t<e.display.viewTo)return e.display.view[Bn(e,t)];var i=e.display.externalMeasured;if(i&&t>=i.lineN&&t<i.lineN+i.size)return i}function me(e,t){var i=Nt(t),n=ye(e,i);n&&!n.text?n=null:n&&n.changes&&(qe(e,n,i,qn(e)),e.curOp.forceUpdate=!0),n||(n=te(e,t));var r=x(n,t,i);return{line:t,view:n,rect:null,map:r.map,cache:r.cache,before:r.before,hasHeights:!1}}function Ce(e,t,i,n,r){t.before&&(i=-1);var o=i+(n||""),c;return t.cache.hasOwnProperty(o)?c=t.cache[o]:(t.rect||(t.rect=t.view.text.getBoundingClientRect()),t.hasHeights||(B(e,t.view,t.rect),t.hasHeights=!0),c=tt(e,t,i,n),c.bogus||(t.cache[o]=c)),{left:c.left,right:c.right,top:r?c.rtop:c.top,bottom:r?c.rbottom:c.bottom}}var ke={left:0,right:0,top:0,bottom:0};function Ke(e,t,i){for(var n,r,o,c,p,b,w=0;w<e.length;w+=3)if(p=e[w],b=e[w+1],t<p?(r=0,o=1,c="left"):t<b?(r=t-p,o=r+1):(w==e.length-3||t==b&&e[w+3]>t)&&(o=b-p,r=o-1,t>=b&&(c="right")),r!=null){if(n=e[w+2],p==b&&i==(n.insertLeft?"left":"right")&&(c=i),i=="left"&&r==0)for(;w&&e[w-2]==e[w-3]&&e[w-1].insertLeft;)n=e[(w-=3)+2],c="left";if(i=="right"&&r==b-p)for(;w<e.length-3&&e[w+3]==e[w+4]&&!e[w+5].insertLeft;)n=e[(w+=3)+2],c="right";break}return{node:n,start:r,end:o,collapse:c,coverStart:p,coverEnd:b}}function He(e,t){var i=ke;if(t=="left")for(var n=0;n<e.length&&!((i=e[n]).left!=i.right);n++);else for(var r=e.length-1;r>=0&&!((i=e[r]).left!=i.right);r--);return i}function tt(e,t,i,n){var r=Ke(t.map,i,n),o=r.node,c=r.start,p=r.end,b=r.collapse,w;if(o.nodeType==3){for(var $=0;$<4;$++){for(;c&&Ne(t.line.text.charAt(r.coverStart+c));)--c;for(;r.coverStart+p<r.coverEnd&&Ne(t.line.text.charAt(r.coverStart+p));)++p;if(ue&&ge<9&&c==0&&p==r.coverEnd-r.coverStart?w=o.parentNode.getBoundingClientRect():w=He(W(o,c,p).getClientRects(),n),w.left||w.right||c==0)break;p=c,c=c-1,b="right"}ue&&ge<11&&(w=Tt(e.display.measure,w))}else{c>0&&(b=n="right");var se;e.options.lineWrapping&&(se=o.getClientRects()).length>1?w=se[n=="right"?se.length-1:0]:w=o.getBoundingClientRect()}if(ue&&ge<9&&!c&&(!w||!w.left&&!w.right)){var xe=o.parentNode.getClientRects()[0];xe?w={left:xe.left,right:xe.left+_i(e.display),top:xe.top,bottom:xe.bottom}:w=ke}for(var Te=w.top-t.rect.top,Pe=w.bottom-t.rect.top,Fe=(Te+Pe)/2,Je=t.view.measure.heights,nt=0;nt<Je.length-1&&!(Fe<Je[nt]);nt++);var st=nt?Je[nt-1]:0,it=Je[nt],dt={left:(b=="right"?w.right:w.left)-t.rect.left,right:(b=="left"?w.left:w.right)-t.rect.left,top:st,bottom:it};return!w.left&&!w.right&&(dt.bogus=!0),e.options.singleCursorHeightPerLine||(dt.rtop=Te,dt.rbottom=Pe),dt}function Tt(e,t){if(!window.screen||screen.logicalXDPI==null||screen.logicalXDPI==screen.deviceXDPI||!We(e))return t;var i=screen.logicalXDPI/screen.deviceXDPI,n=screen.logicalYDPI/screen.deviceYDPI;return{left:t.left*i,right:t.right*i,top:t.top*n,bottom:t.bottom*n}}function Yt(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 Ft(e){e.display.externalMeasure=null,oe(e.display.lineMeasure);for(var t=0;t<e.display.view.length;t++)Yt(e.display.view[t])}function zt(e){Ft(e),e.display.cachedCharWidth=e.display.cachedTextHeight=e.display.cachedPaddingH=null,e.options.lineWrapping||(e.display.maxLineChanged=!0),e.display.lineNumChars=null}function Vt(){return S&&C?-(document.body.getBoundingClientRect().left-parseInt(getComputedStyle(document.body).marginLeft)):window.pageXOffset||(document.documentElement||document.body).scrollLeft}function Qt(){return S&&C?-(document.body.getBoundingClientRect().top-parseInt(getComputedStyle(document.body).marginTop)):window.pageYOffset||(document.documentElement||document.body).scrollTop}function Gt(e){var t=0;if(e.widgets)for(var i=0;i<e.widgets.length;++i)e.widgets[i].above&&(t+=mi(e.widgets[i]));return t}function on(e,t,i,n,r){if(!r){var o=Gt(t);i.top+=o,i.bottom+=o}if(n=="line")return i;n||(n="local");var c=Zi(t);if(n=="local"?c+=Za(e.display):c-=e.display.viewOffset,n=="page"||n=="window"){var p=e.display.lineSpace.getBoundingClientRect();c+=p.top+(n=="window"?0:Qt());var b=p.left+(n=="window"?0:Vt());i.left+=b,i.right+=b}return i.top+=c,i.bottom+=c,i}function qt(e,t,i){if(i=="div")return t;var n=t.left,r=t.top;if(i=="page")n-=Vt(),r-=Qt();else if(i=="local"||!i){var o=e.display.sizer.getBoundingClientRect();n+=o.left,r+=o.top}var c=e.display.lineSpace.getBoundingClientRect();return{left:n-c.left,top:r-c.top}}function Yn(e,t,i,n,r){return n||(n=ze(e.doc,t.line)),on(e,n,ne(e,n,t.ch,r),i)}function $t(e,t,i,n,r,o){n=n||ze(e.doc,t.line),r||(r=me(e,n));function c(Pe,Fe){var Je=Ce(e,r,Pe,Fe?"right":"left",o);return Fe?Je.left=Je.right:Je.right=Je.left,on(e,n,Je,i)}var p=mt(n,e.doc.direction),b=t.ch,w=t.sticky;if(b>=n.text.length?(b=n.text.length,w="before"):b<=0&&(b=0,w="after"),!p)return c(w=="before"?b-1:b,w=="before");function $(Pe,Fe,Je){var nt=p[Fe],st=nt.level==1;return c(Je?Pe-1:Pe,st!=Je)}var se=Ve(p,b,w),xe=ot,Te=$(b,se,w=="before");return xe!=null&&(Te.other=$(b,xe,w!="before")),Te}function At(e,t){var i=0;t=et(e.doc,t),e.options.lineWrapping||(i=_i(e.display)*t.ch);var n=ze(e.doc,t.line),r=Zi(n)+Za(e.display);return{left:i,right:i,top:r,bottom:r+n.height}}function vt(e,t,i,n,r){var o=je(e,t,i);return o.xRel=r,n&&(o.outside=n),o}function nn(e,t,i){var n=e.doc;if(i+=e.display.viewOffset,i<0)return vt(n.first,0,null,-1,-1);var r=Kt(n,i),o=n.first+n.size-1;if(r>o)return vt(n.first+n.size-1,ze(n,o).text.length,null,1,1);t<0&&(t=0);for(var c=ze(n,r);;){var p=Vn(e,c,r,t,i),b=Wi(c,p.ch+(p.xRel>0||p.outside>0?1:0));if(!b)return p;var w=b.find(1);if(w.line==r)return w;c=ze(n,r=w.line)}}function sn(e,t,i,n){n-=Gt(t);var r=t.text.length,o=Ye(function(c){return Ce(e,i,c-1).bottom<=n},r,0);return r=Ye(function(c){return Ce(e,i,c).top>n},o,r),{begin:o,end:r}}function ft(e,t,i,n){i||(i=me(e,t));var r=on(e,t,Ce(e,i,n),"line").top;return sn(e,t,i,r)}function dn(e,t,i,n){return e.bottom<=i?!1:e.top>i?!0:(n?e.left:e.right)>t}function Vn(e,t,i,n,r){r-=Zi(t);var o=me(e,t),c=Gt(t),p=0,b=t.text.length,w=!0,$=mt(t,e.doc.direction);if($){var se=(e.options.lineWrapping?Dn:gn)(e,t,i,o,$,n,r);w=se.level!=1,p=w?se.from:se.to-1,b=w?se.to:se.from-1}var xe=null,Te=null,Pe=Ye(function(St){var bt=Ce(e,o,St);return bt.top+=c,bt.bottom+=c,dn(bt,n,r,!1)?(bt.top<=r&&bt.left<=n&&(xe=St,Te=bt),!0):!1},p,b),Fe,Je,nt=!1;if(Te){var st=n-Te.left<Te.right-n,it=st==w;Pe=xe+(it?0:1),Je=it?"after":"before",Fe=st?Te.left:Te.right}else{!w&&(Pe==b||Pe==p)&&Pe++,Je=Pe==0?"after":Pe==t.text.length?"before":Ce(e,o,Pe-(w?1:0)).bottom+c<=r==w?"after":"before";var dt=$t(e,je(i,Pe,Je),"line",t,o);Fe=dt.left,nt=r<dt.top?-1:r>=dt.bottom?1:0}return Pe=Le(t.text,Pe,1),vt(i,Pe,Je,nt,n-Fe)}function gn(e,t,i,n,r,o,c){var p=Ye(function(se){var xe=r[se],Te=xe.level!=1;return dn($t(e,je(i,Te?xe.to:xe.from,Te?"before":"after"),"line",t,n),o,c,!0)},0,r.length-1),b=r[p];if(p>0){var w=b.level!=1,$=$t(e,je(i,w?b.from:b.to,w?"after":"before"),"line",t,n);dn($,o,c,!0)&&$.top>c&&(b=r[p-1])}return b}function Dn(e,t,i,n,r,o,c){var p=sn(e,t,n,c),b=p.begin,w=p.end;/\s/.test(t.text.charAt(w-1))&&w--;for(var $=null,se=null,xe=0;xe<r.length;xe++){var Te=r[xe];if(Te.from>=w||Te.to<=b)continue;var Pe=Te.level!=1,Fe=Ce(e,n,Pe?Math.min(w,Te.to)-1:Math.max(b,Te.from)).right,Je=Fe<o?o-Fe+1e9:Fe-o;(!$||se>Je)&&($=Te,se=Je)}return $||($=r[r.length-1]),$.from<b&&($={from:b,to:$.to,level:$.level}),$.to>w&&($={from:$.from,to:w,level:$.level}),$}var Sn;function ri(e){if(e.cachedTextHeight!=null)return e.cachedTextHeight;if(Sn==null){Sn=ce("pre",null,"CodeMirror-line-like");for(var t=0;t<49;++t)Sn.appendChild(document.createTextNode("x")),Sn.appendChild(ce("br"));Sn.appendChild(document.createTextNode("x"))}he(e.measure,Sn);var i=Sn.offsetHeight/50;return i>3&&(e.cachedTextHeight=i),oe(e.measure),i||1}function _i(e){if(e.cachedCharWidth!=null)return e.cachedCharWidth;var t=ce("span","xxxxxxxxxx"),i=ce("pre",[t],"CodeMirror-line-like");he(e.measure,i);var n=t.getBoundingClientRect(),r=(n.right-n.left)/10;return r>2&&(e.cachedCharWidth=r),r||10}function qn(e){for(var t=e.display,i={},n={},r=t.gutters.clientLeft,o=t.gutters.firstChild,c=0;o;o=o.nextSibling,++c){var p=e.display.gutterSpecs[c].className;i[p]=o.offsetLeft+o.clientLeft+r,n[p]=o.clientWidth}return{fixedPos:ji(t),gutterTotalWidth:t.gutters.offsetWidth,gutterLeft:i,gutterWidth:n,wrapperWidth:t.wrapper.clientWidth}}function ji(e){return e.scroller.getBoundingClientRect().left-e.sizer.getBoundingClientRect().left}function cr(e){var t=ri(e.display),i=e.options.lineWrapping,n=i&&Math.max(5,e.display.scroller.clientWidth/_i(e.display)-3);return function(r){if(Xi(e.doc,r))return 0;var o=0;if(r.widgets)for(var c=0;c<r.widgets.length;c++)r.widgets[c].height&&(o+=r.widgets[c].height);return i?o+(Math.ceil(r.text.length/n)||1)*t:o+t}}function Hi(e){var t=e.doc,i=cr(e);t.iter(function(n){var r=i(n);r!=n.height&&kt(n,r)})}function yi(e,t,i,n){var r=e.display;if(!i&&si(t).getAttribute("cm-not-content")=="true")return null;var o,c,p=r.lineSpace.getBoundingClientRect();try{o=t.clientX-p.left,c=t.clientY-p.top}catch(se){return null}var b=nn(e,o,c),w;if(n&&b.xRel>0&&(w=ze(e.doc,b.line).text).length==b.ch){var $=R(w,w.length,e.options.tabSize)-w.length;b=je(b.line,Math.max(0,Math.round((o-de(e.display).left)/_i(e.display))-$))}return b}function Bn(e,t){if(t>=e.display.viewTo)return null;if(t-=e.display.viewFrom,t<0)return null;for(var i=e.display.view,n=0;n<i.length;n++)if(t-=i[n].size,t<0)return n}function Mn(e,t,i,n){t==null&&(t=e.doc.first),i==null&&(i=e.doc.first+e.doc.size),n||(n=0);var r=e.display;if(n&&i<r.viewTo&&(r.updateLineNumbers==null||r.updateLineNumbers>t)&&(r.updateLineNumbers=t),e.curOp.viewChanged=!0,t>=r.viewTo)kn&&vr(e.doc,t)<r.viewTo&&Jn(e);else if(i<=r.viewFrom)kn&&Sr(e.doc,i+n)>r.viewFrom?Jn(e):(r.viewFrom+=n,r.viewTo+=n);else if(t<=r.viewFrom&&i>=r.viewTo)Jn(e);else if(t<=r.viewFrom){var o=dr(e,i,i+n,1);o?(r.view=r.view.slice(o.index),r.viewFrom=o.lineN,r.viewTo+=n):Jn(e)}else if(i>=r.viewTo){var c=dr(e,t,t,-1);c?(r.view=r.view.slice(0,c.index),r.viewTo=c.lineN):Jn(e)}else{var p=dr(e,t,t,-1),b=dr(e,i,i+n,1);p&&b?(r.view=r.view.slice(0,p.index).concat(Rr(e,p.lineN,b.lineN)).concat(r.view.slice(b.index)),r.viewTo+=n):Jn(e)}var w=r.externalMeasured;w&&(i<w.lineN?w.lineN+=n:t<w.lineN+w.size&&(r.externalMeasured=null))}function $n(e,t,i){e.curOp.viewChanged=!0;var n=e.display,r=e.display.externalMeasured;if(r&&t>=r.lineN&&t<r.lineN+r.size&&(n.externalMeasured=null),t<n.viewFrom||t>=n.viewTo)return;var o=n.view[Bn(e,t)];if(o.node==null)return;var c=o.changes||(o.changes=[]);fe(c,i)==-1&&c.push(i)}function Jn(e){e.display.viewFrom=e.display.viewTo=e.doc.first,e.display.view=[],e.display.viewOffset=0}function dr(e,t,i,n){var r=Bn(e,t),o,c=e.display.view;if(!kn||i==e.doc.first+e.doc.size)return{index:r,lineN:i};for(var p=e.display.viewFrom,b=0;b<r;b++)p+=c[b].size;if(p!=t){if(n>0){if(r==c.length-1)return null;o=p+c[r].size-t,r++}else o=p-t;t+=o,i+=o}for(;vr(e.doc,i)!=i;){if(r==(n<0?0:c.length-1))return null;i+=n*c[r-(n<0?1:0)].size,r+=n}return{index:r,lineN:i}}function xr(e,t,i){var n=e.display,r=n.view;r.length==0||t>=n.viewTo||i<=n.viewFrom?(n.view=Rr(e,t,i),n.viewFrom=t):(n.viewFrom>t?n.view=Rr(e,t,n.viewFrom).concat(n.view):n.viewFrom<t&&(n.view=n.view.slice(Bn(e,t))),n.viewFrom=t,n.viewTo<i?n.view=n.view.concat(Rr(e,n.viewTo,i)):n.viewTo>i&&(n.view=n.view.slice(0,Bn(e,i)))),n.viewTo=i}function Ir(e){for(var t=e.display.view,i=0,n=0;n<t.length;n++){var r=t[n];!r.hidden&&(!r.node||r.changes)&&++i}return i}function Cn(e){e.display.input.showSelection(e.display.input.prepareSelection())}function _r(e,t){t===void 0&&(t=!0);for(var i=e.doc,n={},r=n.cursors=document.createDocumentFragment(),o=n.selection=document.createDocumentFragment(),c=0;c<i.sel.ranges.length;c++){if(!t&&c==i.sel.primIndex)continue;var p=i.sel.ranges[c];if(p.from().line>=e.display.viewTo||p.to().line<e.display.viewFrom)continue;var b=p.empty();(b||e.options.showCursorWhenSelecting)&&Nr(e,p.head,r),b||Tn(e,p,o)}return n}function Nr(e,t,i){var n=$t(e,t,"div",null,null,!e.options.singleCursorHeightPerLine),r=i.appendChild(ce("div","\xA0","CodeMirror-cursor"));if(r.style.left=n.left+"px",r.style.top=n.top+"px",r.style.height=Math.max(0,n.bottom-n.top)*e.options.cursorHeight+"px",n.other){var o=i.appendChild(ce("div","\xA0","CodeMirror-cursor CodeMirror-secondarycursor"));o.style.display="",o.style.left=n.other.left+"px",o.style.top=n.other.top+"px",o.style.height=(n.other.bottom-n.other.top)*.85+"px"}}function jn(e,t){return e.top-t.top||e.left-t.left}function Tn(e,t,i){var n=e.display,r=e.doc,o=document.createDocumentFragment(),c=de(e.display),p=c.left,b=Math.max(n.sizerWidth,q(e)-n.sizer.offsetLeft)-c.right,w=r.direction=="ltr";function $(it,dt,St,bt){dt<0&&(dt=0),dt=Math.round(dt),bt=Math.round(bt),o.appendChild(ce("div",null,"CodeMirror-selected","position: absolute; left: "+it+`px;
top: `+dt+"px; width: "+(St==null?b-it:St)+`px;
height: `+(bt-dt)+"px"))}function se(it,dt,St){var bt=ze(r,it),Xt=bt.text.length,Wn,Ii;function ni(gi,tr){return Yn(e,je(it,gi),"div",bt,tr)}function or(gi,tr,ki){var wi=ft(e,bt,null,gi),vi=tr=="ltr"==(ki=="after")?"left":"right",ai=ki=="after"?wi.begin:wi.end-(/\s/.test(bt.text.charAt(wi.end-1))?2:1);return ni(ai,vi)[vi]}var er=mt(bt,r.direction);return Qe(er,dt||0,St==null?Xt:St,function(gi,tr,ki,wi){var vi=ki=="ltr",ai=ni(gi,vi?"left":"right"),nr=ni(tr-1,vi?"right":"left"),Ga=dt==null&&gi==0,oa=St==null&&tr==Xt,Fi=wi==0,Pr=!er||wi==er.length-1;if(nr.top-ai.top<=3){var Ni=(w?Ga:oa)&&Fi,ps=(w?oa:Ga)&&Pr,Yr=Ni?p:(vi?ai:nr).left,va=ps?b:(vi?nr:ai).right;$(Yr,ai.top,va-Yr,ai.bottom)}else{var ba,Qi,Qa,ms;vi?(ba=w&&Ga&&Fi?p:ai.left,Qi=w?b:or(gi,ki,"before"),Qa=w?p:or(tr,ki,"after"),ms=w&&oa&&Pr?b:nr.right):(ba=w?or(gi,ki,"before"):p,Qi=!w&&Ga&&Fi?b:ai.right,Qa=!w&&oa&&Pr?p:nr.left,ms=w?or(tr,ki,"after"):b),$(ba,ai.top,Qi-ba,ai.bottom),ai.bottom<nr.top&&$(p,ai.bottom,null,nr.top),$(Qa,nr.top,ms-Qa,nr.bottom)}(!Wn||jn(ai,Wn)<0)&&(Wn=ai),jn(nr,Wn)<0&&(Wn=nr),(!Ii||jn(ai,Ii)<0)&&(Ii=ai),jn(nr,Ii)<0&&(Ii=nr)}),{start:Wn,end:Ii}}var xe=t.from(),Te=t.to();if(xe.line==Te.line)se(xe.line,xe.ch,Te.ch);else{var Pe=ze(r,xe.line),Fe=ze(r,Te.line),Je=Mi(Pe)==Mi(Fe),nt=se(xe.line,xe.ch,Je?Pe.text.length+1:null).end,st=se(Te.line,Je?0:null,Te.ch).start;Je&&(nt.top<st.top-2?($(nt.right,nt.top,null,nt.bottom),$(p,st.top,st.left,st.bottom)):$(nt.right,nt.top,st.left-nt.right,nt.bottom)),nt.bottom<st.top&&$(p,nt.bottom,null,st.top)}i.appendChild(o)}function Ei(e){if(!e.state.focused)return;var t=e.display;clearInterval(t.blinker);var i=!0;t.cursorDiv.style.visibility="",e.options.cursorBlinkRate>0?t.blinker=setInterval(function(){e.hasFocus()||Zr(e),t.cursorDiv.style.visibility=(i=!i)?"":"hidden"},e.options.cursorBlinkRate):e.options.cursorBlinkRate<0&&(t.cursorDiv.style.visibility="hidden")}function To(e){e.state.focused||(e.display.input.focus(),Dr(e))}function qa(e){e.state.delayingBlurEvent=!0,setTimeout(function(){e.state.delayingBlurEvent&&(e.state.delayingBlurEvent=!1,Zr(e))},100)}function Dr(e,t){if(e.state.delayingBlurEvent&&(e.state.delayingBlurEvent=!1),e.options.readOnly=="nocursor")return;e.state.focused||(Bt(e,"focus",e,t),e.state.focused=!0,D(e.display.wrapper,"CodeMirror-focused"),!e.curOp&&e.display.selForContextMenu!=e.doc.sel&&(e.display.input.reset(),a&&setTimeout(function(){return e.display.input.reset(!0)},20)),e.display.input.receivedFocus()),Ei(e)}function Zr(e,t){if(e.state.delayingBlurEvent)return;e.state.focused&&(Bt(e,"blur",e,t),e.state.focused=!1,F(e.display.wrapper,"CodeMirror-focused")),clearInterval(e.display.blinker),setTimeout(function(){e.state.focused||(e.display.shift=!1)},150)}function Ca(e){for(var t=e.display,i=t.lineDiv.offsetTop,n=0;n<t.view.length;n++){var r=t.view[n],o=e.options.lineWrapping,c=void 0,p=0;if(r.hidden)continue;if(ue&&ge<8){var b=r.node.offsetTop+r.node.offsetHeight;c=b-i,i=b}else{var w=r.node.getBoundingClientRect();c=w.bottom-w.top,!o&&r.text.firstChild&&(p=r.text.firstChild.getBoundingClientRect().right-w.left-1)}var $=r.line.height-c;if(($>.005||$<-.005)&&(kt(r.line,c),$a(r.line),r.rest))for(var se=0;se<r.rest.length;se++)$a(r.rest[se]);if(p>e.display.sizerWidth){var xe=Math.ceil(p/_i(e.display));xe>e.display.maxLineLength&&(e.display.maxLineLength=xe,e.display.maxLine=r.line,e.display.maxLineChanged=!0)}}}function $a(e){if(e.widgets)for(var t=0;t<e.widgets.length;++t){var i=e.widgets[t],n=i.node.parentNode;n&&(i.height=n.offsetHeight)}}function Ra(e,t,i){var n=i&&i.top!=null?Math.max(0,i.top):e.scroller.scrollTop;n=Math.floor(n-Za(e));var r=i&&i.bottom!=null?i.bottom:n+e.wrapper.clientHeight,o=Kt(t,n),c=Kt(t,r);if(i&&i.ensure){var p=i.ensure.from.line,b=i.ensure.to.line;p<o?(o=p,c=Kt(t,Zi(ze(t,p))+e.wrapper.clientHeight)):Math.min(b,t.lastLine())>=c&&(o=Kt(t,Zi(ze(t,b))-e.wrapper.clientHeight),c=b)}return{from:o,to:Math.max(c,o+1)}}function Yo(e,t){if(ut(e,"scrollCursorIntoView"))return;var i=e.display,n=i.sizer.getBoundingClientRect(),r=null;if(t.top+n.top<0?r=!0:t.bottom+n.top>(window.innerHeight||document.documentElement.clientHeight)&&(r=!1),r!=null&&!d){var o=ce("div","\u200B",null,`position: absolute;
top: `+(t.top-i.viewOffset-Za(e.display))+`px;
height: `+(t.bottom-t.top+be(e)+i.barHeight)+`px;
left: `+t.left+"px; width: "+Math.max(2,t.right-t.left)+"px;");e.display.lineSpace.appendChild(o),o.scrollIntoView(r),e.display.lineSpace.removeChild(o)}}function Vo(e,t,i,n){n==null&&(n=0);var r;!e.options.lineWrapping&&t==i&&(t=t.ch?je(t.line,t.sticky=="before"?t.ch-1:t.ch,"after"):t,i=t.sticky=="before"?je(t.line,t.ch+1,"before"):t);for(var o=0;o<5;o++){var c=!1,p=$t(e,t),b=!i||i==t?p:$t(e,i);r={left:Math.min(p.left,b.left),top:Math.min(p.top,b.top)-n,right:Math.max(p.left,b.left),bottom:Math.max(p.bottom,b.bottom)+n};var w=eo(e,r),$=e.doc.scrollTop,se=e.doc.scrollLeft;if(w.scrollTop!=null&&(ea(e,w.scrollTop),Math.abs(e.doc.scrollTop-$)>1&&(c=!0)),w.scrollLeft!=null&&(hr(e,w.scrollLeft),Math.abs(e.doc.scrollLeft-se)>1&&(c=!0)),!c)break}return r}function So(e,t){var i=eo(e,t);i.scrollTop!=null&&ea(e,i.scrollTop),i.scrollLeft!=null&&hr(e,i.scrollLeft)}function eo(e,t){var i=e.display,n=ri(e.display);t.top<0&&(t.top=0);var r=e.curOp&&e.curOp.scrollTop!=null?e.curOp.scrollTop:i.scroller.scrollTop,o=O(e),c={};t.bottom-t.top>o&&(t.bottom=t.top+o);var p=e.doc.height+V(i),b=t.top<n,w=t.bottom>p-n;if(t.top<r)c.scrollTop=b?0:t.top;else if(t.bottom>r+o){var $=Math.min(t.top,(w?p:t.bottom)-o);$!=r&&(c.scrollTop=$)}var se=e.options.fixedGutter?0:i.gutters.offsetWidth,xe=e.curOp&&e.curOp.scrollLeft!=null?e.curOp.scrollLeft:i.scroller.scrollLeft-se,Te=q(e)-i.gutters.offsetWidth,Pe=t.right-t.left>Te;return Pe&&(t.right=t.left+Te),t.left<10?c.scrollLeft=0:t.left<xe?c.scrollLeft=Math.max(0,t.left+se-(Pe?0:10)):t.right>Te+xe-3&&(c.scrollLeft=t.right+(Pe?0:10)-Te),c}function to(e,t){if(t==null)return;xa(e),e.curOp.scrollTop=(e.curOp.scrollTop==null?e.doc.scrollTop:e.curOp.scrollTop)+t}function qr(e){xa(e);var t=e.getCursor();e.curOp.scrollToPos={from:t,to:t,margin:e.options.cursorScrollMargin}}function $r(e,t,i){(t!=null||i!=null)&&xa(e),t!=null&&(e.curOp.scrollLeft=t),i!=null&&(e.curOp.scrollTop=i)}function Jo(e,t){xa(e),e.curOp.scrollToPos=t}function xa(e){var t=e.curOp.scrollToPos;if(t){e.curOp.scrollToPos=null;var i=At(e,t.from),n=At(e,t.to);ha(e,i,n,t.margin)}}function ha(e,t,i,n){var r=eo(e,{left:Math.min(t.left,i.left),top:Math.min(t.top,i.top)-n,right:Math.max(t.right,i.right),bottom:Math.max(t.bottom,i.bottom)+n});$r(e,r.scrollLeft,r.scrollTop)}function ea(e,t){if(Math.abs(e.doc.scrollTop-t)<2)return;Ie||ma(e,{top:t}),ta(e,t,!0),Ie&&ma(e),pa(e,100)}function ta(e,t,i){if(t=Math.max(0,Math.min(e.display.scroller.scrollHeight-e.display.scroller.clientHeight,t)),e.display.scroller.scrollTop==t&&!i)return;e.doc.scrollTop=t,e.display.scrollbars.setScrollTop(t),e.display.scroller.scrollTop!=t&&(e.display.scroller.scrollTop=t)}function hr(e,t,i,n){if(t=Math.max(0,Math.min(t,e.display.scroller.scrollWidth-e.display.scroller.clientWidth)),(i?t==e.doc.scrollLeft:Math.abs(e.doc.scrollLeft-t)<2)&&!n)return;e.doc.scrollLeft=t,an(e),e.display.scroller.scrollLeft!=t&&(e.display.scroller.scrollLeft=t),e.display.scrollbars.setScrollLeft(t)}function Wr(e){var t=e.display,i=t.gutters.offsetWidth,n=Math.round(e.doc.height+V(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?i:0,docHeight:n,scrollHeight:n+be(e)+t.barHeight,nativeBarWidth:t.nativeBarWidth,gutterWidth:i}}var Mr=function(e,t,i){this.cm=i;var n=this.vert=ce("div",[ce("div",null,null,"min-width: 1px")],"CodeMirror-vscrollbar"),r=this.horiz=ce("div",[ce("div",null,null,"height: 100%; min-height: 1px")],"CodeMirror-hscrollbar");n.tabIndex=r.tabIndex=-1,e(n),e(r),$e(n,"scroll",function(){n.clientHeight&&t(n.scrollTop,"vertical")}),$e(r,"scroll",function(){r.clientWidth&&t(r.scrollLeft,"horizontal")}),this.checkedZeroWidth=!1,ue&&ge<8&&(this.horiz.style.minHeight=this.vert.style.minWidth="18px")};Mr.prototype.update=function(e){var t=e.scrollWidth>e.clientWidth+1,i=e.scrollHeight>e.clientHeight+1,n=e.nativeBarWidth;if(i){this.vert.style.display="block",this.vert.style.bottom=t?n+"px":"0";var r=e.viewHeight-(t?n:0);this.vert.firstChild.style.height=Math.max(0,e.scrollHeight-e.clientHeight+r)+"px"}else this.vert.style.display="",this.vert.firstChild.style.height="0";if(t){this.horiz.style.display="block",this.horiz.style.right=i?n+"px":"0",this.horiz.style.left=e.barLeft+"px";var o=e.viewWidth-e.barLeft-(i?n:0);this.horiz.firstChild.style.width=Math.max(0,e.scrollWidth-e.clientWidth+o)+"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:i?n:0,bottom:t?n:0}},Mr.prototype.setScrollLeft=function(e){this.horiz.scrollLeft!=e&&(this.horiz.scrollLeft=e),this.disableHoriz&&this.enableZeroWidthBar(this.horiz,this.disableHoriz,"horiz")},Mr.prototype.setScrollTop=function(e){this.vert.scrollTop!=e&&(this.vert.scrollTop=e),this.disableVert&&this.enableZeroWidthBar(this.vert,this.disableVert,"vert")},Mr.prototype.zeroWidthHack=function(){var e=v&&!h?"12px":"18px";this.horiz.style.height=this.vert.style.width=e,this.horiz.style.pointerEvents=this.vert.style.pointerEvents="none",this.disableHoriz=new M,this.disableVert=new M},Mr.prototype.enableZeroWidthBar=function(e,t,i){e.style.pointerEvents="auto";function n(){var r=e.getBoundingClientRect(),o=i=="vert"?document.elementFromPoint(r.right-1,(r.top+r.bottom)/2):document.elementFromPoint((r.right+r.left)/2,r.bottom-1);o!=e?e.style.pointerEvents="none":t.set(1e3,n)}t.set(1e3,n)},Mr.prototype.clear=function(){var e=this.horiz.parentNode;e.removeChild(this.horiz),e.removeChild(this.vert)};var fa=function(){};fa.prototype.update=function(){return{bottom:0,right:0}},fa.prototype.setScrollLeft=function(){},fa.prototype.setScrollTop=function(){},fa.prototype.clear=function(){};function Hr(e,t){t||(t=Wr(e));var i=e.display.barWidth,n=e.display.barHeight;Ia(e,t);for(var r=0;r<4&&i!=e.display.barWidth||n!=e.display.barHeight;r++)i!=e.display.barWidth&&e.options.lineWrapping&&Ca(e),Ia(e,Wr(e)),i=e.display.barWidth,n=e.display.barHeight}function Ia(e,t){var i=e.display,n=i.scrollbars.update(t);i.sizer.style.paddingRight=(i.barWidth=n.right)+"px",i.sizer.style.paddingBottom=(i.barHeight=n.bottom)+"px",i.heightForcer.style.borderBottom=n.bottom+"px solid transparent",n.right&&n.bottom?(i.scrollbarFiller.style.display="block",i.scrollbarFiller.style.height=n.bottom+"px",i.scrollbarFiller.style.width=n.right+"px"):i.scrollbarFiller.style.display="",n.bottom&&e.options.coverGutterNextToScrollbar&&e.options.fixedGutter?(i.gutterFiller.style.display="block",i.gutterFiller.style.height=n.bottom+"px",i.gutterFiller.style.width=t.gutterWidth+"px"):i.gutterFiller.style.display=""}var no={native:Mr,null:fa};function Na(e){e.display.scrollbars&&(e.display.scrollbars.clear(),e.display.scrollbars.addClass&&F(e.display.wrapper,e.display.scrollbars.addClass)),e.display.scrollbars=new no[e.options.scrollbarStyle](function(t){e.display.wrapper.insertBefore(t,e.display.scrollbarFiller),$e(t,"mousedown",function(){e.state.focused&&setTimeout(function(){return e.display.input.focus()},0)}),t.setAttribute("cm-not-content","true")},function(t,i){i=="horizontal"?hr(e,t):ea(e,t)},e),e.display.scrollbars.addClass&&D(e.display.wrapper,e.display.scrollbars.addClass)}var io=0;function Lr(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:++io},Ta(e.curOp)}function Kr(e){var t=e.curOp;t&&Xa(t,function(i){for(var n=0;n<i.ops.length;n++)i.ops[n].cm.curOp=null;Co(i)})}function Co(e){for(var t=e.ops,i=0;i<t.length;i++)Xo(t[i]);for(var n=0;n<t.length;n++)Zo(t[n]);for(var r=0;r<t.length;r++)qo(t[r]);for(var o=0;o<t.length;o++)ro(t[o]);for(var c=0;c<t.length;c++)$o(t[c])}function Xo(e){var t=e.cm,i=t.display;Ro(t),e.updateMaxLine&&Jr(t),e.mustUpdate=e.viewChanged||e.forceUpdate||e.scrollTop!=null||e.scrollToPos&&(e.scrollToPos.from.line<i.viewFrom||e.scrollToPos.to.line>=i.viewTo)||i.maxLineChanged&&t.options.lineWrapping,e.update=e.mustUpdate&&new fr(t,e.mustUpdate&&{top:e.scrollTop,ensure:e.scrollToPos},e.forceUpdate)}function Zo(e){e.updatedDisplay=e.mustUpdate&&zr(e.cm,e.update)}function qo(e){var t=e.cm,i=t.display;e.updatedDisplay&&Ca(t),e.barMeasure=Wr(t),i.maxLineChanged&&!t.options.lineWrapping&&(e.adjustWidthTo=ne(t,i.maxLine,i.maxLine.text.length).left+3,t.display.sizerWidth=e.adjustWidthTo,e.barMeasure.scrollWidth=Math.max(i.scroller.clientWidth,i.sizer.offsetLeft+e.adjustWidthTo+be(t)+t.display.barWidth),e.maxScrollLeft=Math.max(0,i.sizer.offsetLeft+e.adjustWidthTo-q(t))),(e.updatedDisplay||e.selectionChanged)&&(e.preparedSelection=i.input.prepareSelection())}function ro(e){var t=e.cm;e.adjustWidthTo!=null&&(t.display.sizer.style.minWidth=e.adjustWidthTo+"px",e.maxScrollLeft<t.doc.scrollLeft&&hr(t,Math.min(t.display.scroller.scrollLeft,e.maxScrollLeft),!0),t.display.maxLineChanged=!1);var i=e.focus&&e.focus==Re();e.preparedSelection&&t.display.input.showSelection(e.preparedSelection,i),(e.updatedDisplay||e.startHeight!=t.doc.height)&&Hr(t,e.barMeasure),e.updatedDisplay&&An(t,e.barMeasure),e.selectionChanged&&Ei(t),t.state.focused&&e.updateInput&&t.display.input.reset(e.typing),i&&To(e.cm)}function $o(e){var t=e.cm,i=t.display,n=t.doc;if(e.updatedDisplay&&Da(t,e.update),i.wheelStartX!=null&&(e.scrollTop!=null||e.scrollLeft!=null||e.scrollToPos)&&(i.wheelStartX=i.wheelStartY=null),e.scrollTop!=null&&ta(t,e.scrollTop,e.forceScroll),e.scrollLeft!=null&&hr(t,e.scrollLeft,!0,!0),e.scrollToPos){var r=Vo(t,et(n,e.scrollToPos.from),et(n,e.scrollToPos.to),e.scrollToPos.margin);Yo(t,r)}var o=e.maybeHiddenMarkers,c=e.maybeUnhiddenMarkers;if(o)for(var p=0;p<o.length;++p)o[p].lines.length||Bt(o[p],"hide");if(c)for(var b=0;b<c.length;++b)c[b].lines.length&&Bt(c[b],"unhide");i.wrapper.offsetHeight&&(n.scrollTop=t.display.scroller.scrollTop),e.changeObjs&&Bt(t,"changes",t,e.changeObjs),e.update&&e.update.finish()}function Ki(e,t){if(e.curOp)return t();Lr(e);try{return t()}finally{Kr(e)}}function ui(e,t){return function(){if(e.curOp)return t.apply(e,arguments);Lr(e);try{return t.apply(e,arguments)}finally{Kr(e)}}}function Li(e){return function(){if(this.curOp)return e.apply(this,arguments);Lr(this);try{return e.apply(this,arguments)}finally{Kr(this)}}}function ci(e){return function(){var t=this.cm;if(!t||t.curOp)return e.apply(this,arguments);Lr(t);try{return e.apply(this,arguments)}finally{Kr(t)}}}function pa(e,t){e.doc.highlightFrontier<e.display.viewTo&&e.state.highlight.set(t,A(es,e))}function es(e){var t=e.doc;if(t.highlightFrontier>=e.display.viewTo)return;var i=+new Date+e.options.workTime,n=Jt(e,t.highlightFrontier),r=[];t.iter(n.line,Math.min(t.first+t.size,e.display.viewTo+500),function(o){if(n.line>=e.display.viewFrom){var c=o.styles,p=o.text.length>e.options.maxHighlightLength?at(t.mode,n.state):null,b=Gn(e,o,n,!0);p&&(n.state=p),o.styles=b.styles;var w=o.styleClasses,$=b.classes;$?o.styleClasses=$:w&&(o.styleClasses=null);for(var se=!c||c.length!=o.styles.length||w!=$&&(!w||!$||w.bgClass!=$.bgClass||w.textClass!=$.textClass),xe=0;!se&&xe<c.length;++xe)se=c[xe]!=o.styles[xe];se&&r.push(n.line),o.stateAfter=n.save(),n.nextLine()}else o.text.length<=e.options.maxHighlightLength&&rn(e,o.text,n),o.stateAfter=n.line%5==0?n.save():null,n.nextLine();if(+new Date>i)return pa(e,e.options.workDelay),!0}),t.highlightFrontier=n.line,t.modeFrontier=Math.max(t.modeFrontier,n.line),r.length&&Ki(e,function(){for(var o=0;o<r.length;o++)$n(e,r[o],"text")})}var fr=function(e,t,i){var n=e.display;this.viewport=t,this.visible=Ra(n,e.doc,t),this.editorIsHidden=!n.wrapper.offsetWidth,this.wrapperHeight=n.wrapper.clientHeight,this.wrapperWidth=n.wrapper.clientWidth,this.oldDisplayWidth=q(e),this.force=i,this.dims=qn(e),this.events=[]};fr.prototype.signal=function(e,t){It(e,t)&&this.events.push(arguments)},fr.prototype.finish=function(){for(var e=0;e<this.events.length;e++)Bt.apply(null,this.events[e])};function Ro(e){var t=e.display;!t.scrollbarsClipped&&t.scroller.offsetWidth&&(t.nativeBarWidth=t.scroller.offsetWidth-t.scroller.clientWidth,t.heightForcer.style.height=be(e)+"px",t.sizer.style.marginBottom=-t.nativeBarWidth+"px",t.sizer.style.borderRightWidth=be(e)+"px",t.scrollbarsClipped=!0)}function xo(e){if(e.hasFocus())return null;var t=Re();if(!t||!H(e.display.lineDiv,t))return null;var i={activeElt:t};if(window.getSelection){var n=window.getSelection();n.anchorNode&&n.extend&&H(e.display.lineDiv,n.anchorNode)&&(i.anchorNode=n.anchorNode,i.anchorOffset=n.anchorOffset,i.focusNode=n.focusNode,i.focusOffset=n.focusOffset)}return i}function Io(e){if(!e||!e.activeElt||e.activeElt==Re())return;if(e.activeElt.focus(),!/^(INPUT|TEXTAREA)$/.test(e.activeElt.nodeName)&&e.anchorNode&&H(document.body,e.anchorNode)&&H(document.body,e.focusNode)){var t=window.getSelection(),i=document.createRange();i.setEnd(e.anchorNode,e.anchorOffset),i.collapse(!1),t.removeAllRanges(),t.addRange(i),t.extend(e.focusNode,e.focusOffset)}}function zr(e,t){var i=e.display,n=e.doc;if(t.editorIsHidden)return Jn(e),!1;if(!t.force&&t.visible.from>=i.viewFrom&&t.visible.to<=i.viewTo&&(i.updateLineNumbers==null||i.updateLineNumbers>=i.viewTo)&&i.renderedView==i.view&&Ir(e)==0)return!1;Ai(e)&&(Jn(e),t.dims=qn(e));var r=n.first+n.size,o=Math.max(t.visible.from-e.options.viewportMargin,n.first),c=Math.min(r,t.visible.to+e.options.viewportMargin);i.viewFrom<o&&o-i.viewFrom<20&&(o=Math.max(n.first,i.viewFrom)),i.viewTo>c&&i.viewTo-c<20&&(c=Math.min(r,i.viewTo)),kn&&(o=vr(e.doc,o),c=Sr(e.doc,c));var p=o!=i.viewFrom||c!=i.viewTo||i.lastWrapHeight!=t.wrapperHeight||i.lastWrapWidth!=t.wrapperWidth;xr(e,o,c),i.viewOffset=Zi(ze(e.doc,i.viewFrom)),e.display.mover.style.top=i.viewOffset+"px";var b=Ir(e);if(!p&&b==0&&!t.force&&i.renderedView==i.view&&(i.updateLineNumbers==null||i.updateLineNumbers>=i.viewTo))return!1;var w=xo(e);return b>4&&(i.lineDiv.style.display="none"),No(e,i.updateLineNumbers,t.dims),b>4&&(i.lineDiv.style.display=""),i.renderedView=i.view,Io(w),oe(i.cursorDiv),oe(i.selectionDiv),i.gutters.style.height=i.sizer.style.minHeight=0,p&&(i.lastWrapHeight=t.wrapperHeight,i.lastWrapWidth=t.wrapperWidth,pa(e,400)),i.updateLineNumbers=null,!0}function Da(e,t){for(var i=t.viewport,n=!0;;n=!1){if(!n||!e.options.lineWrapping||t.oldDisplayWidth==q(e)){if(i&&i.top!=null&&(i={top:Math.min(e.doc.height+V(e.display)-O(e),i.top)}),t.visible=Ra(e.display,e.doc,i),t.visible.from>=e.display.viewFrom&&t.visible.to<=e.display.viewTo)break}else n&&(t.visible=Ra(e.display,e.doc,i));if(!zr(e,t))break;Ca(e);var r=Wr(e);Cn(e),Hr(e,r),An(e,r),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 ma(e,t){var i=new fr(e,t);if(zr(e,i)){Ca(e),Da(e,i);var n=Wr(e);Cn(e),Hr(e,n),An(e,n),i.finish()}}function No(e,t,i){var n=e.display,r=e.options.lineNumbers,o=n.lineDiv,c=o.firstChild;function p(Pe){var Fe=Pe.nextSibling;return a&&v&&e.display.currentWheelTarget==Pe?Pe.style.display="none":Pe.parentNode.removeChild(Pe),Fe}for(var b=n.view,w=n.viewFrom,$=0;$<b.length;$++){var se=b[$];if(!se.hidden)if(!se.node||se.node.parentNode!=o){var xe=ar(e,se,w,i);o.insertBefore(xe,c)}else{for(;c!=se.node;)c=p(c);var Te=r&&t!=null&&t<=w&&se.lineNumber;se.changes&&(fe(se.changes,"gutter")>-1&&(Te=!1),qe(e,se,w,i)),Te&&(oe(se.lineNumber),se.lineNumber.appendChild(document.createTextNode(Hn(e.options,w)))),c=se.node.nextSibling}w+=se.size}for(;c;)c=p(c)}function Ma(e){var t=e.gutters.offsetWidth;e.sizer.style.marginLeft=t+"px"}function An(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+be(e)+"px"}function an(e){var t=e.display,i=t.view;if(!t.alignWidgets&&(!t.gutters.firstChild||!e.options.fixedGutter))return;for(var n=ji(t)-t.scroller.scrollLeft+e.doc.scrollLeft,r=t.gutters.offsetWidth,o=n+"px",c=0;c<i.length;c++)if(!i[c].hidden){e.options.fixedGutter&&(i[c].gutter&&(i[c].gutter.style.left=o),i[c].gutterBackground&&(i[c].gutterBackground.style.left=o));var p=i[c].alignable;if(p)for(var b=0;b<p.length;b++)p[b].style.left=o}e.options.fixedGutter&&(t.gutters.style.left=n+r+"px")}function Ai(e){if(!e.options.lineNumbers)return!1;var t=e.doc,i=Hn(e.options,t.first+t.size-1),n=e.display;if(i.length!=n.lineNumChars){var r=n.measure.appendChild(ce("div",[ce("div",i)],"CodeMirror-linenumber CodeMirror-gutter-elt")),o=r.firstChild.offsetWidth,c=r.offsetWidth-o;return n.lineGutter.style.width="",n.lineNumInnerWidth=Math.max(o,n.lineGutter.offsetWidth-c)+1,n.lineNumWidth=n.lineNumInnerWidth+c,n.lineNumChars=n.lineNumInnerWidth?i.length:-1,n.lineGutter.style.width=n.lineNumWidth+"px",Ma(e.display),!0}return!1}function zi(e,t){for(var i=[],n=!1,r=0;r<e.length;r++){var o=e[r],c=null;if(typeof o!="string"&&(c=o.style,o=o.className),o=="CodeMirror-linenumbers")if(t)n=!0;else continue;i.push({className:o,style:c})}return t&&!n&&i.push({className:"CodeMirror-linenumbers",style:null}),i}function na(e){var t=e.gutters,i=e.gutterSpecs;oe(t),e.lineGutter=null;for(var n=0;n<i.length;++n){var r=i[n],o=r.className,c=r.style,p=t.appendChild(ce("div",null,"CodeMirror-gutter "+o));c&&(p.style.cssText=c),o=="CodeMirror-linenumbers"&&(e.lineGutter=p,p.style.width=(e.lineNumWidth||1)+"px")}t.style.display=i.length?"":"none",Ma(e)}function Ar(e){na(e.display),Mn(e),an(e)}function ga(e,t,i,n){var r=this;this.input=i,r.scrollbarFiller=ce("div",null,"CodeMirror-scrollbar-filler"),r.scrollbarFiller.setAttribute("cm-not-content","true"),r.gutterFiller=ce("div",null,"CodeMirror-gutter-filler"),r.gutterFiller.setAttribute("cm-not-content","true"),r.lineDiv=Q("div",null,"CodeMirror-code"),r.selectionDiv=ce("div",null,null,"position: relative; z-index: 1"),r.cursorDiv=ce("div",null,"CodeMirror-cursors"),r.measure=ce("div",null,"CodeMirror-measure"),r.lineMeasure=ce("div",null,"CodeMirror-measure"),r.lineSpace=Q("div",[r.measure,r.lineMeasure,r.selectionDiv,r.cursorDiv,r.lineDiv],null,"position: relative; outline: none");var o=Q("div",[r.lineSpace],"CodeMirror-lines");r.mover=ce("div",[o],null,"position: relative"),r.sizer=ce("div",[r.mover],"CodeMirror-sizer"),r.sizerWidth=null,r.heightForcer=ce("div",null,null,"position: absolute; height: "+Ee+"px; width: 1px;"),r.gutters=ce("div",null,"CodeMirror-gutters"),r.lineGutter=null,r.scroller=ce("div",[r.sizer,r.heightForcer,r.gutters],"CodeMirror-scroll"),r.scroller.setAttribute("tabIndex","-1"),r.wrapper=ce("div",[r.scrollbarFiller,r.gutterFiller,r.scroller],"CodeMirror"),ue&&ge<8&&(r.gutters.style.zIndex=-1,r.scroller.style.paddingRight=0),!a&&!(Ie&&z)&&(r.scroller.draggable=!0),e&&(e.appendChild?e.appendChild(r.wrapper):e(r.wrapper)),r.viewFrom=r.viewTo=t.first,r.reportedViewFrom=r.reportedViewTo=t.first,r.view=[],r.renderedView=null,r.externalMeasured=null,r.viewOffset=0,r.lastWrapHeight=r.lastWrapWidth=0,r.updateLineNumbers=null,r.nativeBarWidth=r.barHeight=r.barWidth=0,r.scrollbarsClipped=!1,r.lineNumWidth=r.lineNumInnerWidth=r.lineNumChars=null,r.alignWidgets=!1,r.cachedCharWidth=r.cachedTextHeight=r.cachedPaddingH=null,r.maxLine=null,r.maxLineLength=0,r.maxLineChanged=!1,r.wheelDX=r.wheelDY=r.wheelStartX=r.wheelStartY=null,r.shift=!1,r.selForContextMenu=null,r.activeTouch=null,r.gutterSpecs=zi(n.gutters,n.lineNumbers),na(r),i.init(r)}var kr=0,Oi=null;ue?Oi=-.53:Ie?Oi=15:S?Oi=-.7:f&&(Oi=-1/3);function La(e){var t=e.wheelDeltaX,i=e.wheelDeltaY;return t==null&&e.detail&&e.axis==e.HORIZONTAL_AXIS&&(t=e.detail),i==null&&e.detail&&e.axis==e.VERTICAL_AXIS?i=e.detail:i==null&&(i=e.wheelDelta),{x:t,y:i}}function ao(e){var t=La(e);return t.x*=Oi,t.y*=Oi,t}function oo(e,t){var i=La(t),n=i.x,r=i.y,o=e.display,c=o.scroller,p=c.scrollWidth>c.clientWidth,b=c.scrollHeight>c.clientHeight;if(!(n&&p||r&&b))return;if(r&&v&&a){e:for(var w=t.target,$=o.view;w!=c;w=w.parentNode)for(var se=0;se<$.length;se++)if($[se].node==w){e.display.currentWheelTarget=w;break e}}if(n&&!Ie&&!E&&Oi!=null){r&&b&&ea(e,Math.max(0,c.scrollTop+r*Oi)),hr(e,Math.max(0,c.scrollLeft+n*Oi)),(!r||r&&b)&&en(t),o.wheelStartX=null;return}if(r&&Oi!=null){var xe=r*Oi,Te=e.doc.scrollTop,Pe=Te+o.wrapper.clientHeight;xe<0?Te=Math.max(0,Te+xe-50):Pe=Math.min(e.doc.height,Pe+xe+50),ma(e,{top:Te,bottom:Pe})}kr<20&&(o.wheelStartX==null?(o.wheelStartX=c.scrollLeft,o.wheelStartY=c.scrollTop,o.wheelDX=n,o.wheelDY=r,setTimeout(function(){if(o.wheelStartX==null)return;var Fe=c.scrollLeft-o.wheelStartX,Je=c.scrollTop-o.wheelStartY,nt=Je&&o.wheelDY&&Je/o.wheelDY||Fe&&o.wheelDX&&Fe/o.wheelDX;if(o.wheelStartX=o.wheelStartY=null,!nt)return;Oi=(Oi*kr+nt)/(kr+1),++kr},200)):(o.wheelDX+=n,o.wheelDY+=r))}var Gi=function(e,t){this.ranges=e,this.primIndex=t};Gi.prototype.primary=function(){return this.ranges[this.primIndex]},Gi.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 i=this.ranges[t],n=e.ranges[t];if(!Un(i.anchor,n.anchor)||!Un(i.head,n.head))return!1}return!0},Gi.prototype.deepCopy=function(){for(var e=[],t=0;t<this.ranges.length;t++)e[t]=new _n(bi(this.ranges[t].anchor),bi(this.ranges[t].head));return new Gi(e,this.primIndex)},Gi.prototype.somethingSelected=function(){for(var e=0;e<this.ranges.length;e++)if(!this.ranges[e].empty())return!0;return!1},Gi.prototype.contains=function(e,t){t||(t=e);for(var i=0;i<this.ranges.length;i++){var n=this.ranges[i];if(lt(t,n.from())>=0&&lt(e,n.to())<=0)return i}return-1};var _n=function(e,t){this.anchor=e,this.head=t};_n.prototype.from=function(){return Rt(this.anchor,this.head)},_n.prototype.to=function(){return wn(this.anchor,this.head)},_n.prototype.empty=function(){return this.head.line==this.anchor.line&&this.head.ch==this.anchor.ch};function pr(e,t,i){var n=e&&e.options.selectionsMayTouch,r=t[i];t.sort(function(xe,Te){return lt(xe.from(),Te.from())}),i=fe(t,r);for(var o=1;o<t.length;o++){var c=t[o],p=t[o-1],b=lt(p.to(),c.from());if(n&&!c.empty()?b>0:b>=0){var w=Rt(p.from(),c.from()),$=wn(p.to(),c.to()),se=p.empty()?c.from()==c.head:p.from()==p.head;o<=i&&--i,t.splice(--o,2,new _n(se?$:w,se?w:$))}}return new Gi(t,i)}function Or(e,t){return new Gi([new _n(e,t||e)],0)}function wr(e){return e.text?je(e.from.line+e.text.length-1,T(e.text).length+(e.text.length==1?e.from.ch:0)):e.to}function so(e,t){if(lt(e,t.from)<0)return e;if(lt(e,t.to)<=0)return wr(t);var i=e.line+t.text.length-(t.to.line-t.from.line)-1,n=e.ch;return e.line==t.to.line&&(n+=wr(t).ch-t.to.ch),je(i,n)}function ka(e,t){for(var i=[],n=0;n<e.sel.ranges.length;n++){var r=e.sel.ranges[n];i.push(new _n(so(r.anchor,t),so(r.head,t)))}return pr(e.cm,i,e.sel.primIndex)}function Do(e,t,i){return e.line==t.line?je(i.line,e.ch-t.ch+i.ch):je(i.line+(e.line-t.line),e.ch)}function Mo(e,t,i){for(var n=[],r=je(e.first,0),o=r,c=0;c<t.length;c++){var p=t[c],b=Do(p.from,r,o),w=Do(wr(p),r,o);if(r=p.to,o=w,i=="around"){var $=e.sel.ranges[c],se=lt($.head,$.anchor)<0;n[c]=new _n(se?w:b,se?b:w)}else n[c]=new _n(b,b)}return new Gi(n,e.sel.primIndex)}function Gr(e){e.doc.mode=ln(e.options,e.doc.modeOption),lo(e)}function lo(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,pa(e,100),e.state.modeGen++,e.curOp&&Mn(e)}function gs(e,t){return t.from.ch==0&&t.to.ch==0&&T(t.text)==""&&(!e.cm||e.cm.options.wholeLineUpdateBefore)}function ts(e,t,i,n){function r(st){return i?i[st]:null}function o(st,it,dt){Ya(st,it,dt,n),Be(st,"change",st,t)}function c(st,it){for(var dt=[],St=st;St<it;++St)dt.push(new Cr(w[St],r(St),n));return dt}var p=t.from,b=t.to,w=t.text,$=ze(e,p.line),se=ze(e,b.line),xe=T(w),Te=r(w.length-1),Pe=b.line-p.line;if(t.full)e.insert(0,c(0,w.length)),e.remove(w.length,e.size-w.length);else if(gs(e,t)){var Fe=c(0,w.length-1);o(se,se.text,Te),Pe&&e.remove(p.line,Pe),Fe.length&&e.insert(p.line,Fe)}else if($==se)if(w.length==1)o($,$.text.slice(0,p.ch)+xe+$.text.slice(b.ch),Te);else{var Je=c(1,w.length-1);Je.push(new Cr(xe+$.text.slice(b.ch),Te,n)),o($,$.text.slice(0,p.ch)+w[0],r(0)),e.insert(p.line+1,Je)}else if(w.length==1)o($,$.text.slice(0,p.ch)+w[0]+se.text.slice(b.ch),r(0)),e.remove(p.line+1,Pe);else{o($,$.text.slice(0,p.ch)+w[0],r(0)),o(se,xe+se.text.slice(b.ch),Te);var nt=c(1,w.length-1);Pe>1&&e.remove(p.line+1,Pe-1),e.insert(p.line+1,nt)}Be(e,"change",e,t)}function ia(e,t,i){function n(r,o,c){if(r.linked)for(var p=0;p<r.linked.length;++p){var b=r.linked[p];if(b.doc==o)continue;var w=c&&b.sharedHist;if(i&&!w)continue;t(b.doc,w),n(b.doc,r,w)}}n(e,null,!0)}function vs(e,t){if(t.cm)throw new Error("This document is already in use.");e.doc=t,t.cm=e,Hi(e),Gr(e),bs(e),e.options.lineWrapping||Jr(e),e.options.mode=t.modeOption,Mn(e)}function bs(e){(e.doc.direction=="rtl"?D:F)(e.display.lineDiv,"CodeMirror-rtl")}function fl(e){Ki(e,function(){bs(e),Mn(e)})}function Lo(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 ns(e,t){var i={from:bi(t.from),to:wr(t),text:Zt(e,t.from,t.to)};return Es(e,i,t.from.line,t.to.line+1),ia(e,function(n){return Es(n,i,t.from.line,t.to.line+1)},!0),i}function _s(e){for(;e.length;){var t=T(e);if(t.ranges)e.pop();else break}}function pl(e,t){if(t)return _s(e.done),T(e.done);if(e.done.length&&!T(e.done).ranges)return T(e.done);if(e.done.length>1&&!e.done[e.done.length-2].ranges)return e.done.pop(),T(e.done)}function ys(e,t,i,n){var r=e.history;r.undone.length=0;var o=+new Date,c,p;if((r.lastOp==n||r.lastOrigin==t.origin&&t.origin&&(t.origin.charAt(0)=="+"&&r.lastModTime>o-(e.cm?e.cm.options.historyEventDelay:500)||t.origin.charAt(0)=="*"))&&(c=pl(r,r.lastOp==n)))p=T(c.changes),lt(t.from,t.to)==0&&lt(t.from,p.to)==0?p.to=wr(t):c.changes.push(ns(e,t));else{var b=T(r.done);for((!b||!b.ranges)&&ko(e.sel,r.done),c={changes:[ns(e,t)],generation:r.generation},r.done.push(c);r.done.length>r.undoDepth;)r.done.shift(),r.done[0].ranges||r.done.shift()}r.done.push(i),r.generation=++r.maxGeneration,r.lastModTime=r.lastSelTime=o,r.lastOp=r.lastSelOp=n,r.lastOrigin=r.lastSelOrigin=t.origin,p||Bt(e,"historyAdded")}function ml(e,t,i,n){var r=t.charAt(0);return r=="*"||r=="+"&&i.ranges.length==n.ranges.length&&i.somethingSelected()==n.somethingSelected()&&new Date-e.history.lastSelTime<=(e.cm?e.cm.options.historyEventDelay:500)}function gl(e,t,i,n){var r=e.history,o=n&&n.origin;i==r.lastSelOp||o&&r.lastSelOrigin==o&&(r.lastModTime==r.lastSelTime&&r.lastOrigin==o||ml(e,o,T(r.done),t))?r.done[r.done.length-1]=t:ko(t,r.done),r.lastSelTime=+new Date,r.lastSelOrigin=o,r.lastSelOp=i,n&&n.clearRedo!==!1&&_s(r.undone)}function ko(e,t){var i=T(t);i&&i.ranges&&i.equals(e)||t.push(e)}function Es(e,t,i,n){var r=t["spans_"+e.id],o=0;e.iter(Math.max(e.first,i),Math.min(e.first+e.size,n),function(c){c.markedSpans&&((r||(r=t["spans_"+e.id]={}))[o]=c.markedSpans),++o})}function vl(e){if(!e)return null;for(var t,i=0;i<e.length;++i)e[i].marker.explicitlyCleared?t||(t=e.slice(0,i)):t&&t.push(e[i]);return t?t.length?t:null:e}function bl(e,t){var i=t["spans_"+e.id];if(!i)return null;for(var n=[],r=0;r<t.text.length;++r)n.push(vl(i[r]));return n}function As(e,t){var i=bl(e,t),n=Ur(e,t);if(!i)return n;if(!n)return i;for(var r=0;r<i.length;++r){var o=i[r],c=n[r];if(o&&c){e:for(var p=0;p<c.length;++p){for(var b=c[p],w=0;w<o.length;++w)if(o[w].marker==b.marker)continue e;o.push(b)}}else c&&(i[r]=c)}return i}function Pa(e,t,i){for(var n=[],r=0;r<e.length;++r){var o=e[r];if(o.ranges){n.push(i?Gi.prototype.deepCopy.call(o):o);continue}var c=o.changes,p=[];n.push({changes:p});for(var b=0;b<c.length;++b){var w=c[b],$=void 0;if(p.push({from:w.from,to:w.to,text:w.text}),t)for(var se in w)($=se.match(/^spans_(\d+)$/))&&(fe(t,Number($[1]))>-1&&(T(p)[se]=w[se],delete w[se]))}}return n}function is(e,t,i,n){if(n){var r=e.anchor;if(i){var o=lt(t,r)<0;o!=lt(i,r)<0?(r=t,t=i):o!=lt(t,i)<0&&(t=i)}return new _n(r,t)}else return new _n(i||t,t)}function Po(e,t,i,n,r){r==null&&(r=e.cm&&(e.cm.display.shift||e.extend)),Ui(e,new Gi([is(e.sel.primary(),t,i,r)],0),n)}function Os(e,t,i){for(var n=[],r=e.cm&&(e.cm.display.shift||e.extend),o=0;o<e.sel.ranges.length;o++)n[o]=is(e.sel.ranges[o],t[o],null,r);var c=pr(e.cm,n,e.sel.primIndex);Ui(e,c,i)}function rs(e,t,i,n){var r=e.sel.ranges.slice(0);r[t]=i,Ui(e,pr(e.cm,r,e.sel.primIndex),n)}function ws(e,t,i,n){Ui(e,Or(t,i),n)}function _l(e,t,i){var n={ranges:t.ranges,update:function(r){this.ranges=[];for(var o=0;o<r.length;o++)this.ranges[o]=new _n(et(e,r[o].anchor),et(e,r[o].head))},origin:i&&i.origin};return Bt(e,"beforeSelectionChange",e,n),e.cm&&Bt(e.cm,"beforeSelectionChange",e.cm,n),n.ranges!=t.ranges?pr(e.cm,n.ranges,n.ranges.length-1):t}function Ts(e,t,i){var n=e.history.done,r=T(n);r&&r.ranges?(n[n.length-1]=t,jo(e,t,i)):Ui(e,t,i)}function Ui(e,t,i){jo(e,t,i),gl(e,e.sel,e.cm?e.cm.curOp.id:NaN,i)}function jo(e,t,i){(It(e,"beforeSelectionChange")||e.cm&&It(e.cm,"beforeSelectionChange"))&&(t=_l(e,t,i));var n=i&&i.bias||(lt(t.primary().head,e.sel.primary().head)<0?-1:1);Ss(e,Rs(e,t,n,!0)),!(i&&i.scroll===!1)&&e.cm&&qr(e.cm)}function Ss(e,t){if(t.equals(e.sel))return;e.sel=t,e.cm&&(e.cm.curOp.updateInput=1,e.cm.curOp.selectionChanged=!0,Wt(e.cm)),Be(e,"cursorActivity",e)}function Cs(e){Ss(e,Rs(e,e.sel,null,!1))}function Rs(e,t,i,n){for(var r,o=0;o<t.ranges.length;o++){var c=t.ranges[o],p=t.ranges.length==e.sel.ranges.length&&e.sel.ranges[o],b=Uo(e,c.anchor,p&&p.anchor,i,n),w=Uo(e,c.head,p&&p.head,i,n);(r||b!=c.anchor||w!=c.head)&&(r||(r=t.ranges.slice(0,o)),r[o]=new _n(b,w))}return r?pr(e.cm,r,t.primIndex):t}function ja(e,t,i,n,r){var o=ze(e,t.line);if(o.markedSpans)for(var c=0;c<o.markedSpans.length;++c){var p=o.markedSpans[c],b=p.marker,w="selectLeft"in b?!b.selectLeft:b.inclusiveLeft,$="selectRight"in b?!b.selectRight:b.inclusiveRight;if((p.from==null||(w?p.from<=t.ch:p.from<t.ch))&&(p.to==null||($?p.to>=t.ch:p.to>t.ch))){if(r&&(Bt(b,"beforeCursorEnter"),b.explicitlyCleared))if(o.markedSpans){--c;continue}else break;if(!b.atomic)continue;if(i){var se=b.find(n<0?1:-1),xe=void 0;if((n<0?$:w)&&(se=xs(e,se,-n,se&&se.line==t.line?o:null)),se&&se.line==t.line&&(xe=lt(se,i))&&(n<0?xe<0:xe>0))return ja(e,se,t,n,r)}var Te=b.find(n<0?-1:1);return(n<0?w:$)&&(Te=xs(e,Te,n,Te.line==t.line?o:null)),Te?ja(e,Te,t,n,r):null}}return t}function Uo(e,t,i,n,r){var o=n||1,c=ja(e,t,i,o,r)||!r&&ja(e,t,i,o,!0)||ja(e,t,i,-o,r)||!r&&ja(e,t,i,-o,!0);return c||(e.cantEdit=!0,je(e.first,0))}function xs(e,t,i,n){return i<0&&t.ch==0?t.line>e.first?et(e,je(t.line-1)):null:i>0&&t.ch==(n||ze(e,t.line)).text.length?t.line<e.first+e.size-1?je(t.line+1,0):null:new je(t.line,t.ch+i)}function Is(e){e.setSelection(je(e.firstLine(),0),je(e.lastLine()),_e)}function Ns(e,t,i){var n={canceled:!1,from:t.from,to:t.to,text:t.text,origin:t.origin,cancel:function(){return n.canceled=!0}};return i&&(n.update=function(r,o,c,p){r&&(n.from=et(e,r)),o&&(n.to=et(e,o)),c&&(n.text=c),p!==void 0&&(n.origin=p)}),Bt(e,"beforeChange",e,n),e.cm&&Bt(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 Ua(e,t,i){if(e.cm){if(!e.cm.curOp)return ui(e.cm,Ua)(e,t,i);if(e.cm.state.suppressEdits)return}if((It(e,"beforeChange")||e.cm&&It(e.cm,"beforeChange"))&&(t=Ns(e,t,!0),!t))return;var n=Ci&&!i&&En(e,t.from,t.to);if(n)for(var r=n.length-1;r>=0;--r)Ds(e,{from:n[r].from,to:n[r].to,text:r?[""]:t.text,origin:t.origin});else Ds(e,t)}function Ds(e,t){if(t.text.length==1&&t.text[0]==""&&lt(t.from,t.to)==0)return;var i=ka(e,t);ys(e,t,i,e.cm?e.cm.curOp.id:NaN),uo(e,t,i,Ur(e,t));var n=[];ia(e,function(r,o){!o&&fe(n,r.history)==-1&&(Ps(r.history,t),n.push(r.history)),uo(r,t,null,Ur(r,t))})}function Fo(e,t,i){var n=e.cm&&e.cm.state.suppressEdits;if(n&&!i)return;for(var r=e.history,o,c=e.sel,p=t=="undo"?r.done:r.undone,b=t=="undo"?r.undone:r.done,w=0;w<p.length&&!(o=p[w],i?o.ranges&&!o.equals(e.sel):!o.ranges);w++);if(w==p.length)return;for(r.lastOrigin=r.lastSelOrigin=null;;)if(o=p.pop(),o.ranges){if(ko(o,b),i&&!o.equals(e.sel)){Ui(e,o,{clearRedo:!1});return}c=o}else if(n){p.push(o);return}else break;var $=[];ko(c,b),b.push({changes:$,generation:r.generation}),r.generation=o.generation||++r.maxGeneration;for(var se=It(e,"beforeChange")||e.cm&&It(e.cm,"beforeChange"),xe=function(Fe){var Je=o.changes[Fe];if(Je.origin=t,se&&!Ns(e,Je,!1))return p.length=0,{};$.push(ns(e,Je));var nt=Fe?ka(e,Je):T(p);uo(e,Je,nt,As(e,Je)),!Fe&&e.cm&&e.cm.scrollIntoView({from:Je.from,to:wr(Je)});var st=[];ia(e,function(it,dt){!dt&&fe(st,it.history)==-1&&(Ps(it.history,Je),st.push(it.history)),uo(it,Je,null,As(it,Je))})},Te=o.changes.length-1;Te>=0;--Te){var Pe=xe(Te);if(Pe)return Pe.v}}function Ms(e,t){if(t==0)return;if(e.first+=t,e.sel=new Gi(Y(e.sel.ranges,function(r){return new _n(je(r.anchor.line+t,r.anchor.ch),je(r.head.line+t,r.head.ch))}),e.sel.primIndex),e.cm){Mn(e.cm,e.first,e.first-t,t);for(var i=e.cm.display,n=i.viewFrom;n<i.viewTo;n++)$n(e.cm,n,"gutter")}}function uo(e,t,i,n){if(e.cm&&!e.cm.curOp)return ui(e.cm,uo)(e,t,i,n);if(t.to.line<e.first){Ms(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 r=t.text.length-1-(e.first-t.from.line);Ms(e,r),t={from:je(e.first,0),to:je(t.to.line+r,t.to.ch),text:[T(t.text)],origin:t.origin}}var o=e.lastLine();t.to.line>o&&(t={from:t.from,to:je(o,ze(e,o).text.length),text:[t.text[0]],origin:t.origin}),t.removed=Zt(e,t.from,t.to),i||(i=ka(e,t)),e.cm?yl(e.cm,t,n):ts(e,t,n),jo(e,i,_e),e.cantEdit&&Uo(e,je(e.firstLine(),0))&&(e.cantEdit=!1)}function yl(e,t,i){var n=e.doc,r=e.display,o=t.from,c=t.to,p=!1,b=o.line;e.options.lineWrapping||(b=Nt(Mi(ze(n,o.line))),n.iter(b,c.line+1,function(Te){if(Te==r.maxLine)return p=!0,!0})),n.sel.contains(t.from,t.to)>-1&&Wt(e),ts(n,t,i,cr(e)),e.options.lineWrapping||(n.iter(b,o.line+t.text.length,function(Te){var Pe=Fr(Te);Pe>r.maxLineLength&&(r.maxLine=Te,r.maxLineLength=Pe,r.maxLineChanged=!0,p=!1)}),p&&(e.curOp.updateMaxLine=!0)),tn(n,o.line),pa(e,400);var w=t.text.length-(c.line-o.line)-1;t.full?Mn(e):o.line==c.line&&t.text.length==1&&!gs(e.doc,t)?$n(e,o.line,"text"):Mn(e,o.line,c.line+1,w);var $=It(e,"changes"),se=It(e,"change");if(se||$){var xe={from:o,to:c,text:t.text,removed:t.removed,origin:t.origin};se&&Be(e,"change",e,xe),$&&(e.curOp.changeObjs||(e.curOp.changeObjs=[])).push(xe)}e.display.selForContextMenu=null}function Fa(e,t,i,n,r){var o;n||(n=i),lt(n,i)<0&&(o=[n,i],i=o[0],n=o[1]),typeof t=="string"&&(t=e.splitLines(t)),Ua(e,{from:i,to:n,text:t,origin:r})}function Ls(e,t,i,n){i<e.line?e.line+=n:t<e.line&&(e.line=t,e.ch=0)}function ks(e,t,i,n){for(var r=0;r<e.length;++r){var o=e[r],c=!0;if(o.ranges){o.copied||(o=e[r]=o.deepCopy(),o.copied=!0);for(var p=0;p<o.ranges.length;p++)Ls(o.ranges[p].anchor,t,i,n),Ls(o.ranges[p].head,t,i,n);continue}for(var b=0;b<o.changes.length;++b){var w=o.changes[b];if(i<w.from.line)w.from=je(w.from.line+n,w.from.ch),w.to=je(w.to.line+n,w.to.ch);else if(t<=w.to.line){c=!1;break}}c||(e.splice(0,r+1),r=0)}}function Ps(e,t){var i=t.from.line,n=t.to.line,r=t.text.length-(n-i)-1;ks(e.done,i,n,r),ks(e.undone,i,n,r)}function co(e,t,i,n){var r=t,o=t;return typeof t=="number"?o=ze(e,xt(e,t)):r=Nt(t),r==null?null:(n(o,r)&&e.cm&&$n(e.cm,r,i),o)}function ho(e){this.lines=e,this.parent=null;for(var t=0,i=0;i<e.length;++i)e[i].parent=this,t+=e[i].height;this.height=t}ho.prototype={chunkSize:function(){return this.lines.length},removeInner:function(e,t){for(var i=e,n=e+t;i<n;++i){var r=this.lines[i];this.height-=r.height,ua(r),Be(r,"delete")}this.lines.splice(e,t)},collapse:function(e){e.push.apply(e,this.lines)},insertInner:function(e,t,i){this.height+=i,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,i){for(var n=e+t;e<n;++e)if(i(this.lines[e]))return!0}};function fo(e){this.children=e;for(var t=0,i=0,n=0;n<e.length;++n){var r=e[n];t+=r.chunkSize(),i+=r.height,r.parent=this}this.size=t,this.height=i,this.parent=null}fo.prototype={chunkSize:function(){return this.size},removeInner:function(e,t){this.size-=t;for(var i=0;i<this.children.length;++i){var n=this.children[i],r=n.chunkSize();if(e<r){var o=Math.min(t,r-e),c=n.height;if(n.removeInner(e,o),this.height-=c-n.height,r==o&&(this.children.splice(i--,1),n.parent=null),(t-=o)==0)break;e=0}else e-=r}if(this.size-t<25&&(this.children.length>1||!(this.children[0]instanceof ho))){var p=[];this.collapse(p),this.children=[new ho(p)],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,i){this.size+=t.length,this.height+=i;for(var n=0;n<this.children.length;++n){var r=this.children[n],o=r.chunkSize();if(e<=o){if(r.insertInner(e,t,i),r.lines&&r.lines.length>50){for(var c=r.lines.length%25+25,p=c;p<r.lines.length;){var b=new ho(r.lines.slice(p,p+=25));r.height-=b.height,this.children.splice(++n,0,b),b.parent=this}r.lines=r.lines.slice(0,c),this.maybeSpill()}break}e-=o}},maybeSpill:function(){if(this.children.length<=10)return;var e=this;do{var t=e.children.splice(e.children.length-5,5),i=new fo(t);if(e.parent){e.size-=i.size,e.height-=i.height;var r=fe(e.parent.children,e);e.parent.children.splice(r+1,0,i)}else{var n=new fo(e.children);n.parent=e,e.children=[n,i],e=n}i.parent=e.parent}while(e.children.length>10);e.parent.maybeSpill()},iterN:function(e,t,i){for(var n=0;n<this.children.length;++n){var r=this.children[n],o=r.chunkSize();if(e<o){var c=Math.min(t,o-e);if(r.iterN(e,c,i))return!0;if((t-=c)==0)break;e=0}else e-=o}}};var po=function(e,t,i){if(i)for(var n in i)i.hasOwnProperty(n)&&(this[n]=i[n]);this.doc=e,this.node=t};po.prototype.clear=function(){var e=this.doc.cm,t=this.line.widgets,i=this.line,n=Nt(i);if(n==null||!t)return;for(var r=0;r<t.length;++r)t[r]==this&&t.splice(r--,1);t.length||(i.widgets=null);var o=mi(this);kt(i,Math.max(0,i.height-o)),e&&(Ki(e,function(){js(e,i,-o),$n(e,n,"widget")}),Be(e,"lineWidgetCleared",e,this,n))},po.prototype.changed=function(){var e=this,t=this.height,i=this.doc.cm,n=this.line;this.height=null;var r=mi(this)-t;if(!r)return;Xi(this.doc,n)||kt(n,n.height+r),i&&Ki(i,function(){i.curOp.forceUpdate=!0,js(i,n,r),Be(i,"lineWidgetChanged",i,e,Nt(n))})},pn(po);function js(e,t,i){Zi(t)<(e.curOp&&e.curOp.scrollTop||e.doc.scrollTop)&&to(e,i)}function El(e,t,i,n){var r=new po(e,i,n),o=e.cm;return o&&r.noHScroll&&(o.display.alignWidgets=!0),co(e,t,"widget",function(c){var p=c.widgets||(c.widgets=[]);if(r.insertAt==null?p.push(r):p.splice(Math.min(p.length-1,Math.max(0,r.insertAt)),0,r),r.line=c,o&&!Xi(e,c)){var b=Zi(c)<e.scrollTop;kt(c,c.height+mi(r)),b&&to(o,r.height),o.curOp.forceUpdate=!0}return!0}),o&&Be(o,"lineWidgetAdded",o,r,typeof t=="number"?t:Nt(t)),r}var Us=0,ra=function(e,t){this.lines=[],this.type=t,this.doc=e,this.id=++Us};ra.prototype.clear=function(){if(this.explicitlyCleared)return;var e=this.doc.cm,t=e&&!e.curOp;if(t&&Lr(e),It(this,"clear")){var i=this.find();i&&Be(this,"clear",i.from,i.to)}for(var n=null,r=null,o=0;o<this.lines.length;++o){var c=this.lines[o],p=lr(c.markedSpans,this);e&&!this.collapsed?$n(e,Nt(c),"text"):e&&(p.to!=null&&(r=Nt(c)),p.from!=null&&(n=Nt(c))),c.markedSpans=jr(c.markedSpans,p),p.from==null&&this.collapsed&&!Xi(this.doc,c)&&e&&kt(c,ri(e.display))}if(e&&this.collapsed&&!e.options.lineWrapping)for(var b=0;b<this.lines.length;++b){var w=Mi(this.lines[b]),$=Fr(w);$>e.display.maxLineLength&&(e.display.maxLine=w,e.display.maxLineLength=$,e.display.maxLineChanged=!0)}n!=null&&e&&this.collapsed&&Mn(e,n,r+1),this.lines.length=0,this.explicitlyCleared=!0,this.atomic&&this.doc.cantEdit&&(this.doc.cantEdit=!1,e&&Cs(e.doc)),e&&Be(e,"markerCleared",e,this,n,r),t&&Kr(e),this.parent&&this.parent.clear()},ra.prototype.find=function(e,t){e==null&&this.type=="bookmark"&&(e=1);for(var i,n,r=0;r<this.lines.length;++r){var o=this.lines[r],c=lr(o.markedSpans,this);if(c.from!=null&&(i=je(t?o:Nt(o),c.from),e==-1))return i;if(c.to!=null&&(n=je(t?o:Nt(o),c.to),e==1))return n}return i&&{from:i,to:n}},ra.prototype.changed=function(){var e=this,t=this.find(-1,!0),i=this,n=this.doc.cm;if(!t||!n)return;Ki(n,function(){var r=t.line,o=Nt(t.line),c=ye(n,o);if(c&&(Yt(c),n.curOp.selectionChanged=n.curOp.forceUpdate=!0),n.curOp.updateMaxLine=!0,!Xi(i.doc,r)&&i.height!=null){var p=i.height;i.height=null;var b=mi(i)-p;b&&kt(r,r.height+b)}Be(n,"markerChanged",n,e)})},ra.prototype.attachLine=function(e){if(!this.lines.length&&this.doc.cm){var t=this.doc.cm.curOp;(!t.maybeHiddenMarkers||fe(t.maybeHiddenMarkers,this)==-1)&&(t.maybeUnhiddenMarkers||(t.maybeUnhiddenMarkers=[])).push(this)}this.lines.push(e)},ra.prototype.detachLine=function(e){if(this.lines.splice(fe(this.lines,e),1),!this.lines.length&&this.doc.cm){var t=this.doc.cm.curOp;(t.maybeHiddenMarkers||(t.maybeHiddenMarkers=[])).push(this)}},pn(ra);function Ba(e,t,i,n,r){if(n&&n.shared)return Al(e,t,i,n,r);if(e.cm&&!e.cm.curOp)return ui(e.cm,Ba)(e,t,i,n,r);var o=new ra(e,r),c=lt(t,i);if(n&&l(n,o,!1),c>0||c==0&&o.clearWhenEmpty!==!1)return o;if(o.replacedWith&&(o.collapsed=!0,o.widgetNode=Q("span",[o.replacedWith],"CodeMirror-widget"),n.handleMouseEvents||o.widgetNode.setAttribute("cm-ignore-events","true"),n.insertLeft&&(o.widgetNode.insertLeft=!0)),o.collapsed){if(yr(e,t.line,t,i,o)||t.line!=i.line&&yr(e,i.line,t,i,o))throw new Error("Inserting collapsed marker partially overlapping an existing one");sr()}o.addToHistory&&ys(e,{from:t,to:i,origin:"markText"},e.sel,NaN);var p=t.line,b=e.cm,w;if(e.iter(p,i.line+1,function(se){b&&o.collapsed&&!b.options.lineWrapping&&Mi(se)==b.display.maxLine&&(w=!0),o.collapsed&&p!=t.line&&kt(se,0),_a(se,new pi(o,p==t.line?t.ch:null,p==i.line?i.ch:null)),++p}),o.collapsed&&e.iter(t.line,i.line+1,function(se){Xi(e,se)&&kt(se,0)}),o.clearOnEnter&&$e(o,"beforeCursorEnter",function(){return o.clear()}),o.readOnly&&(Qn(),(e.history.done.length||e.history.undone.length)&&e.clearHistory()),o.collapsed&&(o.id=++Us,o.atomic=!0),b){if(w&&(b.curOp.updateMaxLine=!0),o.collapsed)Mn(b,t.line,i.line+1);else if(o.className||o.startStyle||o.endStyle||o.css||o.attributes||o.title)for(var $=t.line;$<=i.line;$++)$n(b,$,"text");o.atomic&&Cs(b.doc),Be(b,"markerAdded",b,o)}return o}var mo=function(e,t){this.markers=e,this.primary=t;for(var i=0;i<e.length;++i)e[i].parent=this};mo.prototype.clear=function(){if(this.explicitlyCleared)return;this.explicitlyCleared=!0;for(var e=0;e<this.markers.length;++e)this.markers[e].clear();Be(this,"clear")},mo.prototype.find=function(e,t){return this.primary.find(e,t)},pn(mo);function Al(e,t,i,n,r){n=l(n),n.shared=!1;var o=[Ba(e,t,i,n,r)],c=o[0],p=n.widgetNode;return ia(e,function(b){p&&(n.widgetNode=p.cloneNode(!0)),o.push(Ba(b,et(b,t),et(b,i),n,r));for(var w=0;w<b.linked.length;++w)if(b.linked[w].isParent)return;c=T(o)}),new mo(o,c)}function Fs(e){return e.findMarks(je(e.first,0),e.clipPos(je(e.lastLine())),function(t){return t.parent})}function Ol(e,t){for(var i=0;i<t.length;i++){var n=t[i],r=n.find(),o=e.clipPos(r.from),c=e.clipPos(r.to);if(lt(o,c)){var p=Ba(e,o,c,n.primary,n.primary.type);n.markers.push(p),p.parent=n}}}function wl(e){for(var t=function(n){var r=e[n],o=[r.primary.doc];ia(r.primary.doc,function(b){return o.push(b)});for(var c=0;c<r.markers.length;c++){var p=r.markers[c];fe(o,p.doc)==-1&&(p.parent=null,r.markers.splice(c--,1))}},i=0;i<e.length;i++)t(i)}var Tl=0,$i=function(e,t,i,n,r){if(!(this instanceof $i))return new $i(e,t,i,n,r);i==null&&(i=0),fo.call(this,[new ho([new Cr("",null)])]),this.first=i,this.scrollTop=this.scrollLeft=0,this.cantEdit=!1,this.cleanGeneration=1,this.modeFrontier=this.highlightFrontier=i;var o=je(i,0);this.sel=Or(o),this.history=new Lo(null),this.id=++Tl,this.modeOption=t,this.lineSep=n,this.direction=r=="rtl"?"rtl":"ltr",this.extend=!1,typeof e=="string"&&(e=this.splitLines(e)),ts(this,{from:o,to:o,text:e}),Ui(this,Or(o),_e)};$i.prototype=De(fo.prototype,{constructor:$i,iter:function(e,t,i){i?this.iterN(e-this.first,t-e,i):this.iterN(this.first,this.first+this.size,e)},insert:function(e,t){for(var i=0,n=0;n<t.length;++n)i+=t[n].height;this.insertInner(e-this.first,t,i)},remove:function(e,t){this.removeInner(e-this.first,t)},getValue:function(e){var t=Ot(this,this.first,this.first+this.size);return e===!1?t:t.join(e||this.lineSeparator())},setValue:ci(function(e){var t=je(this.first,0),i=this.first+this.size-1;Ua(this,{from:t,to:je(i,ze(this,i).text.length),text:this.splitLines(e),origin:"setValue",full:!0},!0),this.cm&&$r(this.cm,0,0),Ui(this,Or(t),_e)}),replaceRange:function(e,t,i,n){t=et(this,t),i=i?et(this,i):t,Fa(this,e,t,i,n)},getRange:function(e,t,i){var n=Zt(this,et(this,e),et(this,t));return i===!1?n:n.join(i||this.lineSeparator())},getLine:function(e){var t=this.getLineHandle(e);return t&&t.text},getLineHandle:function(e){if(un(this,e))return ze(this,e)},getLineNumber:function(e){return Nt(e)},getLineHandleVisualStart:function(e){return typeof e=="number"&&(e=ze(this,e)),Mi(e)},lineCount:function(){return this.size},firstLine:function(){return this.first},lastLine:function(){return this.first+this.size-1},clipPos:function(e){return et(this,e)},getCursor:function(e){var t=this.sel.primary(),i;return e==null||e=="head"?i=t.head:e=="anchor"?i=t.anchor:e=="end"||e=="to"||e===!1?i=t.to():i=t.from(),i},listSelections:function(){return this.sel.ranges},somethingSelected:function(){return this.sel.somethingSelected()},setCursor:ci(function(e,t,i){ws(this,et(this,typeof e=="number"?je(e,t||0):e),null,i)}),setSelection:ci(function(e,t,i){ws(this,et(this,e),et(this,t||e),i)}),extendSelection:ci(function(e,t,i){Po(this,et(this,e),t&&et(this,t),i)}),extendSelections:ci(function(e,t){Os(this,yt(this,e),t)}),extendSelectionsBy:ci(function(e,t){var i=Y(this.sel.ranges,e);Os(this,yt(this,i),t)}),setSelections:ci(function(e,t,i){if(!e.length)return;for(var n=[],r=0;r<e.length;r++)n[r]=new _n(et(this,e[r].anchor),et(this,e[r].head));t==null&&(t=Math.min(e.length-1,this.sel.primIndex)),Ui(this,pr(this.cm,n,t),i)}),addSelection:ci(function(e,t,i){var n=this.sel.ranges.slice(0);n.push(new _n(et(this,e),et(this,t||e))),Ui(this,pr(this.cm,n,n.length-1),i)}),getSelection:function(e){for(var t=this.sel.ranges,i,n=0;n<t.length;n++){var r=Zt(this,t[n].from(),t[n].to());i=i?i.concat(r):r}return e===!1?i:i.join(e||this.lineSeparator())},getSelections:function(e){for(var t=[],i=this.sel.ranges,n=0;n<i.length;n++){var r=Zt(this,i[n].from(),i[n].to());e!==!1&&(r=r.join(e||this.lineSeparator())),t[n]=r}return t},replaceSelection:function(e,t,i){for(var n=[],r=0;r<this.sel.ranges.length;r++)n[r]=e;this.replaceSelections(n,t,i||"+input")},replaceSelections:ci(function(e,t,i){for(var n=[],r=this.sel,o=0;o<r.ranges.length;o++){var c=r.ranges[o];n[o]={from:c.from(),to:c.to(),text:this.splitLines(e[o]),origin:i}}for(var p=t&&t!="end"&&Mo(this,n,t),b=n.length-1;b>=0;b--)Ua(this,n[b]);p?Ts(this,p):this.cm&&qr(this.cm)}),undo:ci(function(){Fo(this,"undo")}),redo:ci(function(){Fo(this,"redo")}),undoSelection:ci(function(){Fo(this,"undo",!0)}),redoSelection:ci(function(){Fo(this,"redo",!0)}),setExtending:function(e){this.extend=e},getExtending:function(){return this.extend},historySize:function(){for(var e=this.history,t=0,i=0,n=0;n<e.done.length;n++)e.done[n].ranges||++t;for(var r=0;r<e.undone.length;r++)e.undone[r].ranges||++i;return{undo:t,redo:i}},clearHistory:function(){var e=this;this.history=new Lo(this.history.maxGeneration),ia(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:Pa(this.history.done),undone:Pa(this.history.undone)}},setHistory:function(e){var t=this.history=new Lo(this.history.maxGeneration);t.done=Pa(e.done.slice(0),null,!0),t.undone=Pa(e.undone.slice(0),null,!0)},setGutterMarker:ci(function(e,t,i){return co(this,e,"gutter",function(n){var r=n.gutterMarkers||(n.gutterMarkers={});return r[t]=i,!i&&U(r)&&(n.gutterMarkers=null),!0})}),clearGutter:ci(function(e){var t=this;this.iter(function(i){i.gutterMarkers&&i.gutterMarkers[e]&&co(t,i,"gutter",function(){return i.gutterMarkers[e]=null,U(i.gutterMarkers)&&(i.gutterMarkers=null),!0})})}),lineInfo:function(e){var t;if(typeof e=="number"){if(!un(this,e))return null;if(t=e,e=ze(this,e),!e)return null}else if(t=Nt(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:ci(function(e,t,i){return co(this,e,t=="gutter"?"gutter":"class",function(n){var r=t=="text"?"textClass":t=="background"?"bgClass":t=="gutter"?"gutterClass":"wrapClass";if(!n[r])n[r]=i;else{if(X(i).test(n[r]))return!1;n[r]+=" "+i}return!0})}),removeLineClass:ci(function(e,t,i){return co(this,e,t=="gutter"?"gutter":"class",function(n){var r=t=="text"?"textClass":t=="background"?"bgClass":t=="gutter"?"gutterClass":"wrapClass",o=n[r];if(o)if(i==null)n[r]=null;else{var c=o.match(X(i));if(!c)return!1;var p=c.index+c[0].length;n[r]=o.slice(0,c.index)+(!c.index||p==o.length?"":" ")+o.slice(p)||null}else return!1;return!0})}),addLineWidget:ci(function(e,t,i){return El(this,e,t,i)}),removeLineWidget:function(e){e.clear()},markText:function(e,t,i){return Ba(this,et(this,e),et(this,t),i,i&&i.type||"range")},setBookmark:function(e,t){var i={replacedWith:t&&(t.nodeType==null?t.widget:t),insertLeft:t&&t.insertLeft,clearWhenEmpty:!1,shared:t&&t.shared,handleMouseEvents:t&&t.handleMouseEvents};return e=et(this,e),Ba(this,e,e,i,"bookmark")},findMarksAt:function(e){e=et(this,e);var t=[],i=ze(this,e.line).markedSpans;if(i)for(var n=0;n<i.length;++n){var r=i[n];(r.from==null||r.from<=e.ch)&&(r.to==null||r.to>=e.ch)&&t.push(r.marker.parent||r.marker)}return t},findMarks:function(e,t,i){e=et(this,e),t=et(this,t);var n=[],r=e.line;return this.iter(e.line,t.line+1,function(o){var c=o.markedSpans;if(c)for(var p=0;p<c.length;p++){var b=c[p];!(b.to!=null&&r==e.line&&e.ch>=b.to||b.from==null&&r!=e.line||b.from!=null&&r==t.line&&b.from>=t.ch)&&(!i||i(b.marker))&&n.push(b.marker.parent||b.marker)}++r}),n},getAllMarks:function(){var e=[];return this.iter(function(t){var i=t.markedSpans;if(i)for(var n=0;n<i.length;++n)i[n].from!=null&&e.push(i[n].marker)}),e},posFromIndex:function(e){var t,i=this.first,n=this.lineSeparator().length;return this.iter(function(r){var o=r.text.length+n;if(o>e)return t=e,!0;e-=o,++i}),et(this,je(i,t))},indexFromPos:function(e){e=et(this,e);var t=e.ch;if(e.line<this.first||e.ch<0)return 0;var i=this.lineSeparator().length;return this.iter(this.first,e.line,function(n){t+=n.text.length+i}),t},copy:function(e){var t=new $i(Ot(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,i=this.first+this.size;e.from!=null&&e.from>t&&(t=e.from),e.to!=null&&e.to<i&&(i=e.to);var n=new $i(Ot(this,t,i),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}],Ol(n,Fs(this)),n},unlinkDoc:function(e){if(e instanceof ei&&(e=e.doc),this.linked)for(var t=0;t<this.linked.length;++t){var i=this.linked[t];if(i.doc!=e)continue;this.linked.splice(t,1),e.unlinkDoc(this),wl(Fs(this));break}if(e.history==this.history){var n=[e.id];ia(e,function(r){return n.push(r.id)},!0),e.history=new Lo(null),e.history.done=Pa(this.history.done,n),e.history.undone=Pa(this.history.undone,n)}},iterLinkedDocs:function(e){ia(this,e)},getMode:function(){return this.mode},getEditor:function(){return this.cm},splitLines:function(e){return this.lineSep?e.split(this.lineSep):Si(e)},lineSeparator:function(){return this.lineSep||`
`},setDirection:ci(function(e){if(e!="rtl"&&(e="ltr"),e==this.direction)return;this.direction=e,this.iter(function(t){return t.order=null}),this.cm&&fl(this.cm)})}),$i.prototype.eachLine=$i.prototype.iter;var Bs=0;function Sl(e){var t=this;if(Ws(t),ut(t,e)||Er(t.display,e))return;en(e),ue&&(Bs=+new Date);var i=yi(t,e,!0),n=e.dataTransfer.files;if(!i||t.isReadOnly())return;if(n&&n.length&&window.FileReader&&window.File)for(var r=n.length,o=Array(r),c=0,p=function(){++c==r&&ui(t,function(){i=et(t.doc,i);var Te={from:i,to:i,text:t.doc.splitLines(o.filter(function(Pe){return Pe!=null}).join(t.doc.lineSeparator())),origin:"paste"};Ua(t.doc,Te),Ts(t.doc,Or(et(t.doc,i),et(t.doc,wr(Te))))})()},b=function(Te,Pe){if(t.options.allowDropFileTypes&&fe(t.options.allowDropFileTypes,Te.type)==-1){p();return}var Fe=new FileReader;Fe.onerror=function(){return p()},Fe.onload=function(){var Je=Fe.result;if(/[\x00-\x08\x0e-\x1f]{2}/.test(Je)){p();return}o[Pe]=Je,p()},Fe.readAsText(Te)},w=0;w<n.length;w++)b(n[w],w);else{if(t.state.draggingText&&t.doc.sel.contains(i)>-1){t.state.draggingText(e),setTimeout(function(){return t.display.input.focus()},20);return}try{var $=e.dataTransfer.getData("Text");if($){var se;if(t.state.draggingText&&!t.state.draggingText.copy&&(se=t.listSelections()),jo(t.doc,Or(i,i)),se)for(var xe=0;xe<se.length;++xe)Fa(t.doc,"",se[xe].anchor,se[xe].head,"drag");t.replaceSelection($,"around","paste"),t.display.input.focus()}}catch(Te){}}}function Cl(e,t){if(ue&&(!e.state.draggingText||+new Date-Bs<100)){On(t);return}if(ut(e,t)||Er(e.display,t))return;if(t.dataTransfer.setData("Text",e.getSelection()),t.dataTransfer.effectAllowed="copyMove",t.dataTransfer.setDragImage&&!f){var i=ce("img",null,null,"position: fixed; left: 0; top: 0;");i.src="data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==",E&&(i.width=i.height=1,e.display.wrapper.appendChild(i),i._top=i.offsetTop),t.dataTransfer.setDragImage(i,0,0),E&&i.parentNode.removeChild(i)}}function Rl(e,t){var i=yi(e,t);if(!i)return;var n=document.createDocumentFragment();Nr(e,i,n),e.display.dragCursor||(e.display.dragCursor=ce("div",null,"CodeMirror-cursors CodeMirror-dragcursors"),e.display.lineSpace.insertBefore(e.display.dragCursor,e.display.cursorDiv)),he(e.display.dragCursor,n)}function Ws(e){e.display.dragCursor&&(e.display.lineSpace.removeChild(e.display.dragCursor),e.display.dragCursor=null)}function Hs(e){if(!document.getElementsByClassName)return;for(var t=document.getElementsByClassName("CodeMirror"),i=[],n=0;n<t.length;n++){var r=t[n].CodeMirror;r&&i.push(r)}i.length&&i[0].operation(function(){for(var o=0;o<i.length;o++)e(i[o])})}var Ks=!1;function xl(){if(Ks)return;Il(),Ks=!0}function Il(){var e;$e(window,"resize",function(){e==null&&(e=setTimeout(function(){e=null,Hs(Nl)},100))}),$e(window,"blur",function(){return Hs(Zr)})}function Nl(e){var t=e.display;t.cachedCharWidth=t.cachedTextHeight=t.cachedPaddingH=null,t.scrollbarsClipped=!1,e.setSize()}for(var aa={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"},go=0;go<10;go++)aa[go+48]=aa[go+96]=String(go);for(var Bo=65;Bo<=90;Bo++)aa[Bo]=String.fromCharCode(Bo);for(var vo=1;vo<=12;vo++)aa[vo+111]=aa[vo+63235]="F"+vo;var Qr={};Qr.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"},Qr.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"},Qr.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"},Qr.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"]},Qr.default=v?Qr.macDefault:Qr.pcDefault;function Dl(e){var t=e.split(/-(?!$)/);e=t[t.length-1];for(var i,n,r,o,c=0;c<t.length-1;c++){var p=t[c];if(/^(cmd|meta|m)$/i.test(p))o=!0;else if(/^a(lt)?$/i.test(p))i=!0;else if(/^(c|ctrl|control)$/i.test(p))n=!0;else if(/^s(hift)?$/i.test(p))r=!0;else throw new Error("Unrecognized modifier name: "+p)}return i&&(e="Alt-"+e),n&&(e="Ctrl-"+e),o&&(e="Cmd-"+e),r&&(e="Shift-"+e),e}function Ml(e){var t={};for(var i in e)if(e.hasOwnProperty(i)){var n=e[i];if(/^(name|fallthrough|(de|at)tach)$/.test(i))continue;if(n=="..."){delete e[i];continue}for(var r=Y(i.split(" "),Dl),o=0;o<r.length;o++){var c=void 0,p=void 0;o==r.length-1?(p=r.join(" "),c=n):(p=r.slice(0,o+1).join(" "),c="...");var b=t[p];if(!b)t[p]=c;else if(b!=c)throw new Error("Inconsistent bindings for "+p)}delete e[i]}for(var w in t)e[w]=t[w];return e}function Wa(e,t,i,n){t=Wo(t);var r=t.call?t.call(e,n):t[e];if(r===!1)return"nothing";if(r==="...")return"multi";if(r!=null&&i(r))return"handled";if(t.fallthrough){if(Object.prototype.toString.call(t.fallthrough)!="[object Array]")return Wa(e,t.fallthrough,i,n);for(var o=0;o<t.fallthrough.length;o++){var c=Wa(e,t.fallthrough[o],i,n);if(c)return c}}}function zs(e){var t=typeof e=="string"?e:aa[e.keyCode];return t=="Ctrl"||t=="Alt"||t=="Shift"||t=="Mod"}function Gs(e,t,i){var n=e;return t.altKey&&n!="Alt"&&(e="Alt-"+e),(J?t.metaKey:t.ctrlKey)&&n!="Ctrl"&&(e="Ctrl-"+e),(J?t.ctrlKey:t.metaKey)&&n!="Mod"&&(e="Cmd-"+e),!i&&t.shiftKey&&n!="Shift"&&(e="Shift-"+e),e}function Qs(e,t){if(E&&e.keyCode==34&&e.char)return!1;var i=aa[e.keyCode];return i==null||e.altGraphKey?!1:(e.keyCode==3&&e.code&&(i=e.code),Gs(i,e,t))}function Wo(e){return typeof e=="string"?Qr[e]:e}function Ha(e,t){for(var i=e.doc.sel.ranges,n=[],r=0;r<i.length;r++){for(var o=t(i[r]);n.length&&lt(o.from,T(n).to)<=0;){var c=n.pop();if(lt(c.from,o.from)<0){o.from=c.from;break}}n.push(o)}Ki(e,function(){for(var p=n.length-1;p>=0;p--)Fa(e.doc,"",n[p].from,n[p].to,"+delete");qr(e)})}function as(e,t,i){var n=Le(e.text,t+i,i);return n<0||n>e.text.length?null:n}function os(e,t,i){var n=as(e,t.ch,i);return n==null?null:new je(t.line,n,i<0?"after":"before")}function ss(e,t,i,n,r){if(e){t.doc.direction=="rtl"&&(r=-r);var o=mt(i,t.doc.direction);if(o){var c=r<0?T(o):o[0],p=r<0==(c.level==1),b=p?"after":"before",w;if(c.level>0||t.doc.direction=="rtl"){var $=me(t,i);w=r<0?i.text.length-1:0;var se=Ce(t,$,w).top;w=Ye(function(xe){return Ce(t,$,xe).top==se},r<0==(c.level==1)?c.from:c.to-1,w),b=="before"&&(w=as(i,w,1))}else w=r<0?c.to:c.from;return new je(n,w,b)}}return new je(n,r<0?i.text.length:0,r<0?"before":"after")}function Ll(e,t,i,n){var r=mt(t,e.doc.direction);if(!r)return os(t,i,n);i.ch>=t.text.length?(i.ch=t.text.length,i.sticky="before"):i.ch<=0&&(i.ch=0,i.sticky="after");var o=Ve(r,i.ch,i.sticky),c=r[o];if(e.doc.direction=="ltr"&&c.level%2==0&&(n>0?c.to>i.ch:c.from<i.ch))return os(t,i,n);var p=function(nt,st){return as(t,nt instanceof je?nt.ch:nt,st)},b,w=function(nt){return e.options.lineWrapping?(b=b||me(e,t),ft(e,t,b,nt)):{begin:0,end:t.text.length}},$=w(i.sticky=="before"?p(i,-1):i.ch);if(e.doc.direction=="rtl"||c.level==1){var se=c.level==1==n<0,xe=p(i,se?1:-1);if(xe!=null&&(se?xe<=c.to&&xe<=$.end:xe>=c.from&&xe>=$.begin)){var Te=se?"before":"after";return new je(i.line,xe,Te)}}var Pe=function(nt,st,it){for(var dt=function(Wn,Ii){return Ii?new je(i.line,p(Wn,1),"before"):new je(i.line,Wn,"after")};nt>=0&&nt<r.length;nt+=st){var St=r[nt],bt=st>0==(St.level!=1),Xt=bt?it.begin:p(it.end,-1);if(St.from<=Xt&&Xt<St.to)return dt(Xt,bt);if(Xt=bt?St.from:p(St.to,-1),it.begin<=Xt&&Xt<it.end)return dt(Xt,bt)}},Fe=Pe(o+n,n,$);if(Fe)return Fe;var Je=n>0?$.end:p($.begin,-1);return Je!=null&&!(n>0&&Je==t.text.length)&&(Fe=Pe(n>0?0:r.length-1,n,w(Je)),Fe)?Fe:null}var bo={selectAll:Is,singleSelection:function(e){return e.setSelection(e.getCursor("anchor"),e.getCursor("head"),_e)},killLine:function(e){return Ha(e,function(t){if(t.empty()){var i=ze(e.doc,t.head.line).text.length;return t.head.ch==i&&t.head.line<e.lastLine()?{from:t.head,to:je(t.head.line+1,0)}:{from:t.head,to:je(t.head.line,i)}}else return{from:t.from(),to:t.to()}})},deleteLine:function(e){return Ha(e,function(t){return{from:je(t.from().line,0),to:et(e.doc,je(t.to().line+1,0))}})},delLineLeft:function(e){return Ha(e,function(t){return{from:je(t.from().line,0),to:t.from()}})},delWrappedLineLeft:function(e){return Ha(e,function(t){var i=e.charCoords(t.head,"div").top+5,n=e.coordsChar({left:0,top:i},"div");return{from:n,to:t.from()}})},delWrappedLineRight:function(e){return Ha(e,function(t){var i=e.charCoords(t.head,"div").top+5,n=e.coordsChar({left:e.display.lineDiv.offsetWidth+100,top:i},"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(je(e.firstLine(),0))},goDocEnd:function(e){return e.extendSelection(je(e.lastLine()))},goLineStart:function(e){return e.extendSelectionsBy(function(t){return Ys(e,t.head.line)},{origin:"+move",bias:1})},goLineStartSmart:function(e){return e.extendSelectionsBy(function(t){return Vs(e,t.head)},{origin:"+move",bias:1})},goLineEnd:function(e){return e.extendSelectionsBy(function(t){return kl(e,t.head.line)},{origin:"+move",bias:-1})},goLineRight:function(e){return e.extendSelectionsBy(function(t){var i=e.cursorCoords(t.head,"div").top+5;return e.coordsChar({left:e.display.lineDiv.offsetWidth+100,top:i},"div")},ee)},goLineLeft:function(e){return e.extendSelectionsBy(function(t){var i=e.cursorCoords(t.head,"div").top+5;return e.coordsChar({left:0,top:i},"div")},ee)},goLineLeftSmart:function(e){return e.extendSelectionsBy(function(t){var i=e.cursorCoords(t.head,"div").top+5,n=e.coordsChar({left:0,top:i},"div");return n.ch<e.getLine(n.line).search(/\S/)?Vs(e,t.head):n},ee)},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=[],i=e.listSelections(),n=e.options.tabSize,r=0;r<i.length;r++){var o=i[r].from(),c=R(e.getLine(o.line),o.ch,n);t.push(Oe(n-c%n))}e.replaceSelections(t)},defaultTab:function(e){e.somethingSelected()?e.indentSelection("add"):e.execCommand("insertTab")},transposeChars:function(e){return Ki(e,function(){for(var t=e.listSelections(),i=[],n=0;n<t.length;n++){if(!t[n].empty())continue;var r=t[n].head,o=ze(e.doc,r.line).text;if(o){if(r.ch==o.length&&(r=new je(r.line,r.ch-1)),r.ch>0)r=new je(r.line,r.ch+1),e.replaceRange(o.charAt(r.ch-1)+o.charAt(r.ch-2),je(r.line,r.ch-2),r,"+transpose");else if(r.line>e.doc.first){var c=ze(e.doc,r.line-1).text;c&&(r=new je(r.line,1),e.replaceRange(o.charAt(0)+e.doc.lineSeparator()+c.charAt(c.length-1),je(r.line-1,c.length-1),r,"+transpose"))}}i.push(new _n(r,r))}e.setSelections(i)})},newlineAndIndent:function(e){return Ki(e,function(){for(var t=e.listSelections(),i=t.length-1;i>=0;i--)e.replaceRange(e.doc.lineSeparator(),t[i].anchor,t[i].head,"+input");t=e.listSelections();for(var n=0;n<t.length;n++)e.indentLine(t[n].from().line,null,!0);qr(e)})},openLine:function(e){return e.replaceSelection(`
`,"start")},toggleOverwrite:function(e){return e.toggleOverwrite()}};function Ys(e,t){var i=ze(e.doc,t),n=Mi(i);return n!=i&&(t=Nt(n)),ss(!0,e,n,t,1)}function kl(e,t){var i=ze(e.doc,t),n=ya(i);return n!=i&&(t=Nt(n)),ss(!0,e,i,t,-1)}function Vs(e,t){var i=Ys(e,t.line),n=ze(e.doc,i.line),r=mt(n,e.doc.direction);if(!r||r[0].level==0){var o=Math.max(i.ch,n.text.search(/\S/)),c=t.line==i.line&&t.ch<=o&&t.ch;return je(i.line,c?0:o,i.sticky)}return i}function Ho(e,t,i){if(typeof t=="string"&&(t=bo[t],!t))return!1;e.display.input.ensurePolled();var n=e.display.shift,r=!1;try{e.isReadOnly()&&(e.state.suppressEdits=!0),i&&(e.display.shift=!1),r=t(e)!=Ae}finally{e.display.shift=n,e.state.suppressEdits=!1}return r}function Pl(e,t,i){for(var n=0;n<e.state.keyMaps.length;n++){var r=Wa(t,e.state.keyMaps[n],i,e);if(r)return r}return e.options.extraKeys&&Wa(t,e.options.extraKeys,i,e)||Wa(t,e.options.keyMap,i,e)}var jl=new M;function _o(e,t,i,n){var r=e.state.keySeq;if(r){if(zs(t))return"handled";if(/\'$/.test(t)?e.state.keySeq=null:jl.set(50,function(){e.state.keySeq==r&&(e.state.keySeq=null,e.display.input.reset())}),Js(e,r+" "+t,i,n))return!0}return Js(e,t,i,n)}function Js(e,t,i,n){var r=Pl(e,t,n);return r=="multi"&&(e.state.keySeq=t),r=="handled"&&Be(e,"keyHandled",e,t,i),(r=="handled"||r=="multi")&&(en(i),Ei(e)),!!r}function Xs(e,t){var i=Qs(t,!0);return i?t.shiftKey&&!e.state.keySeq?_o(e,"Shift-"+i,t,function(n){return Ho(e,n,!0)})||_o(e,i,t,function(n){if(typeof n=="string"?/^go[A-Z]/.test(n):n.motion)return Ho(e,n)}):_o(e,i,t,function(n){return Ho(e,n)}):!1}function Ul(e,t,i){return _o(e,"'"+i+"'",t,function(n){return Ho(e,n,!0)})}var ls=null;function Zs(e){var t=this;if(e.target&&e.target!=t.display.input.getField())return;if(t.curOp.focus=Re(),ut(t,e))return;ue&&ge<11&&e.keyCode==27&&(e.returnValue=!1);var i=e.keyCode;t.display.shift=i==16||e.shiftKey;var n=Xs(t,e);E&&(ls=n?i:null,!n&&i==88&&!mr&&(v?e.metaKey:e.ctrlKey)&&t.replaceSelection("",null,"cut")),Ie&&!v&&!n&&i==46&&e.shiftKey&&!e.ctrlKey&&document.execCommand&&document.execCommand("cut"),i==18&&!/\bCodeMirror-crosshair\b/.test(t.display.lineDiv.className)&&Fl(t)}function Fl(e){var t=e.display.lineDiv;D(t,"CodeMirror-crosshair");function i(n){(n.keyCode==18||!n.altKey)&&(F(t,"CodeMirror-crosshair"),Rn(document,"keyup",i),Rn(document,"mouseover",i))}$e(document,"keyup",i),$e(document,"mouseover",i)}function qs(e){e.keyCode==16&&(this.doc.sel.shift=!1),ut(this,e)}function $s(e){var t=this;if(e.target&&e.target!=t.display.input.getField())return;if(Er(t.display,e)||ut(t,e)||e.ctrlKey&&!e.altKey||v&&e.metaKey)return;var i=e.keyCode,n=e.charCode;if(E&&i==ls){ls=null,en(e);return}if(E&&(!e.which||e.which<10)&&Xs(t,e))return;var r=String.fromCharCode(n==null?i:n);if(r=="\b")return;if(Ul(t,e,r))return;t.display.input.onKeyPress(e)}var Bl=400,us=function(e,t,i){this.time=e,this.pos=t,this.button=i};us.prototype.compare=function(e,t,i){return this.time+Bl>e&&lt(t,this.pos)==0&&i==this.button};var yo,Eo;function Wl(e,t){var i=+new Date;return Eo&&Eo.compare(i,e,t)?(yo=Eo=null,"triple"):yo&&yo.compare(i,e,t)?(Eo=new us(i,e,t),yo=null,"double"):(yo=new us(i,e,t),Eo=null,"single")}function el(e){var t=this,i=t.display;if(ut(t,e)||i.activeTouch&&i.input.supportsTouch())return;if(i.input.ensurePolled(),i.shift=e.shiftKey,Er(i,e)){a||(i.scroller.draggable=!1,setTimeout(function(){return i.scroller.draggable=!0},100));return}if(cs(t,e))return;var n=yi(t,e),r=Ti(e),o=n?Wl(n,r):"single";if(window.focus(),r==1&&t.state.selectingText&&t.state.selectingText(e),n&&Hl(t,r,n,o,e))return;r==1?n?zl(t,n,o,e):si(e)==i.scroller&&en(e):r==2?(n&&Po(t.doc,n),setTimeout(function(){return i.input.focus()},20)):r==3&&(P?t.display.input.onContextMenu(e):qa(t))}function Hl(e,t,i,n,r){var o="Click";return n=="double"?o="Double"+o:n=="triple"&&(o="Triple"+o),o=(t==1?"Left":t==2?"Middle":"Right")+o,_o(e,Gs(o,r),r,function(c){if(typeof c=="string"&&(c=bo[c]),!c)return!1;var p=!1;try{e.isReadOnly()&&(e.state.suppressEdits=!0),p=c(e,i)!=Ae}finally{e.state.suppressEdits=!1}return p})}function Kl(e,t,i){var n=e.getOption("configureMouse"),r=n?n(e,t,i):{};if(r.unit==null){var o=g?i.shiftKey&&i.metaKey:i.altKey;r.unit=o?"rectangle":t=="single"?"char":t=="double"?"word":"line"}return(r.extend==null||e.doc.extend)&&(r.extend=e.doc.extend||i.shiftKey),r.addNew==null&&(r.addNew=v?i.metaKey:i.ctrlKey),r.moveOnDrag==null&&(r.moveOnDrag=!(v?i.altKey:i.ctrlKey)),r}function zl(e,t,i,n){ue?setTimeout(A(To,e),0):e.curOp.focus=Re();var r=Kl(e,i,n),o=e.doc.sel,c;e.options.dragDrop&&li&&!e.isReadOnly()&&i=="single"&&(c=o.contains(t))>-1&&(lt((c=o.ranges[c]).from(),t)<0||t.xRel>0)&&(lt(c.to(),t)>0||t.xRel<0)?Gl(e,n,t,r):Ql(e,n,t,r)}function Gl(e,t,i,n){var r=e.display,o=!1,c=ui(e,function(w){a&&(r.scroller.draggable=!1),e.state.draggingText=!1,Rn(r.wrapper.ownerDocument,"mouseup",c),Rn(r.wrapper.ownerDocument,"mousemove",p),Rn(r.scroller,"dragstart",b),Rn(r.scroller,"drop",c),o||(en(w),n.addNew||Po(e.doc,i,null,null,n.extend),a&&!f||ue&&ge==9?setTimeout(function(){r.wrapper.ownerDocument.body.focus({preventScroll:!0}),r.input.focus()},20):r.input.focus())}),p=function(w){o=o||Math.abs(t.clientX-w.clientX)+Math.abs(t.clientY-w.clientY)>=10},b=function(){return o=!0};a&&(r.scroller.draggable=!0),e.state.draggingText=c,c.copy=!n.moveOnDrag,r.scroller.dragDrop&&r.scroller.dragDrop(),$e(r.wrapper.ownerDocument,"mouseup",c),$e(r.wrapper.ownerDocument,"mousemove",p),$e(r.scroller,"dragstart",b),$e(r.scroller,"drop",c),qa(e),setTimeout(function(){return r.input.focus()},20)}function tl(e,t,i){if(i=="char")return new _n(t,t);if(i=="word")return e.findWordAt(t);if(i=="line")return new _n(je(t.line,0),et(e.doc,je(t.line+1,0)));var n=i(e,t);return new _n(n.from,n.to)}function Ql(e,t,i,n){var r=e.display,o=e.doc;en(t);var c,p,b=o.sel,w=b.ranges;if(n.addNew&&!n.extend?(p=o.sel.contains(i),p>-1?c=w[p]:c=new _n(i,i)):(c=o.sel.primary(),p=o.sel.primIndex),n.unit=="rectangle")n.addNew||(c=new _n(i,i)),i=yi(e,t,!0,!0),p=-1;else{var $=tl(e,i,n.unit);n.extend?c=is(c,$.anchor,$.head,n.extend):c=$}n.addNew?p==-1?(p=w.length,Ui(o,pr(e,w.concat([c]),p),{scroll:!1,origin:"*mouse"})):w.length>1&&w[p].empty()&&n.unit=="char"&&!n.extend?(Ui(o,pr(e,w.slice(0,p).concat(w.slice(p+1)),0),{scroll:!1,origin:"*mouse"}),b=o.sel):rs(o,p,c,K):(p=0,Ui(o,new Gi([c],0),K),b=o.sel);var se=i;function xe(it){if(lt(se,it)==0)return;if(se=it,n.unit=="rectangle"){for(var dt=[],St=e.options.tabSize,bt=R(ze(o,i.line).text,i.ch,St),Xt=R(ze(o,it.line).text,it.ch,St),Wn=Math.min(bt,Xt),Ii=Math.max(bt,Xt),ni=Math.min(i.line,it.line),or=Math.min(e.lastLine(),Math.max(i.line,it.line));ni<=or;ni++){var er=ze(o,ni).text,gi=ve(er,Wn,St);Wn==Ii?dt.push(new _n(je(ni,gi),je(ni,gi))):er.length>gi&&dt.push(new _n(je(ni,gi),je(ni,ve(er,Ii,St))))}dt.length||dt.push(new _n(i,i)),Ui(o,pr(e,b.ranges.slice(0,p).concat(dt),p),{origin:"*mouse",scroll:!1}),e.scrollIntoView(it)}else{var tr=c,ki=tl(e,it,n.unit),wi=tr.anchor,vi;lt(ki.anchor,wi)>0?(vi=ki.head,wi=Rt(tr.from(),ki.anchor)):(vi=ki.anchor,wi=wn(tr.to(),ki.head));var ai=b.ranges.slice(0);ai[p]=Yl(e,new _n(et(o,wi),vi)),Ui(o,pr(e,ai,p),K)}}var Te=r.wrapper.getBoundingClientRect(),Pe=0;function Fe(it){var dt=++Pe,St=yi(e,it,!0,n.unit=="rectangle");if(!St)return;if(lt(St,se)!=0){e.curOp.focus=Re(),xe(St);var bt=Ra(r,o);(St.line>=bt.to||St.line<bt.from)&&setTimeout(ui(e,function(){Pe==dt&&Fe(it)}),150)}else{var Xt=it.clientY<Te.top?-20:it.clientY>Te.bottom?20:0;Xt&&setTimeout(ui(e,function(){if(Pe!=dt)return;r.scroller.scrollTop+=Xt,Fe(it)}),50)}}function Je(it){e.state.selectingText=!1,Pe=Infinity,it&&(en(it),r.input.focus()),Rn(r.wrapper.ownerDocument,"mousemove",nt),Rn(r.wrapper.ownerDocument,"mouseup",st),o.history.lastSelOrigin=null}var nt=ui(e,function(it){it.buttons===0||!Ti(it)?Je(it):Fe(it)}),st=ui(e,Je);e.state.selectingText=st,$e(r.wrapper.ownerDocument,"mousemove",nt),$e(r.wrapper.ownerDocument,"mouseup",st)}function Yl(e,t){var i=t.anchor,n=t.head,r=ze(e.doc,i.line);if(lt(i,n)==0&&i.sticky==n.sticky)return t;var o=mt(r);if(!o)return t;var c=Ve(o,i.ch,i.sticky),p=o[c];if(p.from!=i.ch&&p.to!=i.ch)return t;var b=c+(p.from==i.ch==(p.level!=1)?0:1);if(b==0||b==o.length)return t;var w;if(n.line!=i.line)w=(n.line-i.line)*(e.doc.direction=="ltr"?1:-1)>0;else{var $=Ve(o,n.ch,n.sticky),se=$-c||(n.ch-i.ch)*(p.level==1?-1:1);$==b-1||$==b?w=se<0:w=se>0}var xe=o[b+(w?-1:0)],Te=w==(xe.level==1),Pe=Te?xe.from:xe.to,Fe=Te?"after":"before";return i.ch==Pe&&i.sticky==Fe?t:new _n(new je(i.line,Pe,Fe),n)}function nl(e,t,i,n){var r,o;if(t.touches)r=t.touches[0].clientX,o=t.touches[0].clientY;else try{r=t.clientX,o=t.clientY}catch(xe){return!1}if(r>=Math.floor(e.display.gutters.getBoundingClientRect().right))return!1;n&&en(t);var c=e.display,p=c.lineDiv.getBoundingClientRect();if(o>p.bottom||!It(e,i))return oi(t);o-=p.top-c.viewOffset;for(var b=0;b<e.display.gutterSpecs.length;++b){var w=c.gutters.childNodes[b];if(w&&w.getBoundingClientRect().right>=r){var $=Kt(e.doc,o),se=e.display.gutterSpecs[b];return Bt(e,i,e,$,se.className,t),oi(t)}}}function cs(e,t){return nl(e,t,"gutterClick",!0)}function il(e,t){if(Er(e.display,t)||Vl(e,t))return;if(ut(e,t,"contextmenu"))return;P||e.display.input.onContextMenu(t)}function Vl(e,t){return It(e,"gutterContextMenu")?nl(e,t,"gutterContextMenu",!1):!1}function rl(e){e.display.wrapper.className=e.display.wrapper.className.replace(/\s*cm-s-\S+/g,"")+e.options.theme.replace(/(^|\s)\s*/g," cm-s-"),zt(e)}var Ka={toString:function(){return"CodeMirror.Init"}},al={},Ko={};function Jl(e){var t=e.optionHandlers;function i(n,r,o,c){e.defaults[n]=r,o&&(t[n]=c?function(p,b,w){w!=Ka&&o(p,b,w)}:o)}e.defineOption=i,e.Init=Ka,i("value","",function(n,r){return n.setValue(r)},!0),i("mode",null,function(n,r){n.doc.modeOption=r,Gr(n)},!0),i("indentUnit",2,Gr,!0),i("indentWithTabs",!1),i("smartIndent",!0),i("tabSize",4,function(n){lo(n),zt(n),Mn(n)},!0),i("lineSeparator",null,function(n,r){if(n.doc.lineSep=r,!r)return;var o=[],c=n.doc.first;n.doc.iter(function(b){for(var w=0;;){var $=b.text.indexOf(r,w);if($==-1)break;w=$+r.length,o.push(je(c,$))}c++});for(var p=o.length-1;p>=0;p--)Fa(n.doc,r,o[p],je(o[p].line,o[p].ch+r.length))}),i("specialChars",/[\u0000-\u001f\u007f-\u009f\u00ad\u061c\u200b-\u200c\u200e\u200f\u2028\u2029\ufeff\ufff9-\ufffc]/g,function(n,r,o){n.state.specialChars=new RegExp(r.source+(r.test(" ")?"":"| "),"g"),o!=Ka&&n.refresh()}),i("specialCharPlaceholder",Xr,function(n){return n.refresh()},!0),i("electricChars",!0),i("inputStyle",z?"contenteditable":"textarea",function(){throw new Error("inputStyle can not (yet) be changed in a running editor")},!0),i("spellcheck",!1,function(n,r){return n.getInputField().spellcheck=r},!0),i("autocorrect",!1,function(n,r){return n.getInputField().autocorrect=r},!0),i("autocapitalize",!1,function(n,r){return n.getInputField().autocapitalize=r},!0),i("rtlMoveVisually",!j),i("wholeLineUpdateBefore",!0),i("theme","default",function(n){rl(n),Ar(n)},!0),i("keyMap","default",function(n,r,o){var c=Wo(r),p=o!=Ka&&Wo(o);p&&p.detach&&p.detach(n,c),c.attach&&c.attach(n,p||null)}),i("extraKeys",null),i("configureMouse",null),i("lineWrapping",!1,Zl,!0),i("gutters",[],function(n,r){n.display.gutterSpecs=zi(r,n.options.lineNumbers),Ar(n)},!0),i("fixedGutter",!0,function(n,r){n.display.gutters.style.left=r?ji(n.display)+"px":"0",n.refresh()},!0),i("coverGutterNextToScrollbar",!1,function(n){return Hr(n)},!0),i("scrollbarStyle","native",function(n){Na(n),Hr(n),n.display.scrollbars.setScrollTop(n.doc.scrollTop),n.display.scrollbars.setScrollLeft(n.doc.scrollLeft)},!0),i("lineNumbers",!1,function(n,r){n.display.gutterSpecs=zi(n.options.gutters,r),Ar(n)},!0),i("firstLineNumber",1,Ar,!0),i("lineNumberFormatter",function(n){return n},Ar,!0),i("showCursorWhenSelecting",!1,Cn,!0),i("resetSelectionOnContextMenu",!0),i("lineWiseCopyCut",!0),i("pasteLinesPerSelection",!0),i("selectionsMayTouch",!1),i("readOnly",!1,function(n,r){r=="nocursor"&&(Zr(n),n.display.input.blur()),n.display.input.readOnlyChanged(r)}),i("screenReaderLabel",null,function(n,r){r=r===""?null:r,n.display.input.screenReaderLabelChanged(r)}),i("disableInput",!1,function(n,r){r||n.display.input.reset()},!0),i("dragDrop",!0,Xl),i("allowDropFileTypes",null),i("cursorBlinkRate",530),i("cursorScrollMargin",0),i("cursorHeight",1,Cn,!0),i("singleCursorHeightPerLine",!0,Cn,!0),i("workTime",100),i("workDelay",100),i("flattenSpans",!0,lo,!0),i("addModeClass",!1,lo,!0),i("pollInterval",100),i("undoDepth",200,function(n,r){return n.doc.history.undoDepth=r}),i("historyEventDelay",1250),i("viewportMargin",10,function(n){return n.refresh()},!0),i("maxHighlightLength",1e4,lo,!0),i("moveInputWithCursor",!0,function(n,r){r||n.display.input.resetPosition()}),i("tabindex",null,function(n,r){return n.display.input.getField().tabIndex=r||""}),i("autofocus",null),i("direction","ltr",function(n,r){return n.doc.setDirection(r)},!0),i("phrases",null)}function Xl(e,t,i){var n=i&&i!=Ka;if(!t!=!n){var r=e.display.dragFunctions,o=t?$e:Rn;o(e.display.scroller,"dragstart",r.start),o(e.display.scroller,"dragenter",r.enter),o(e.display.scroller,"dragover",r.over),o(e.display.scroller,"dragleave",r.leave),o(e.display.scroller,"drop",r.drop)}}function Zl(e){e.options.lineWrapping?(D(e.display.wrapper,"CodeMirror-wrap"),e.display.sizer.style.minWidth="",e.display.sizerWidth=null):(F(e.display.wrapper,"CodeMirror-wrap"),Jr(e)),Hi(e),Mn(e),zt(e),setTimeout(function(){return Hr(e)},100)}function ei(e,t){var i=this;if(!(this instanceof ei))return new ei(e,t);this.options=t=t?l(t):{},l(al,t,!1);var n=t.value;typeof n=="string"?n=new $i(n,t.mode,null,t.lineSeparator,t.direction):t.mode&&(n.modeOption=t.mode),this.doc=n;var r=new ei.inputStyles[t.inputStyle](this),o=this.display=new ga(e,n,r,t);o.wrapper.CodeMirror=this,rl(this),t.lineWrapping&&(this.display.wrapper.className+=" CodeMirror-wrap"),Na(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 M,keySeq:null,specialChars:null},t.autofocus&&!z&&o.input.focus(),ue&&ge<11&&setTimeout(function(){return i.display.input.reset(!0)},20),ql(this),xl(),Lr(this),this.curOp.forceUpdate=!0,vs(this,n),t.autofocus&&!z||this.hasFocus()?setTimeout(function(){i.hasFocus()&&!i.state.focused&&Dr(i)},20):Zr(this);for(var c in Ko)Ko.hasOwnProperty(c)&&Ko[c](this,t[c],Ka);Ai(this),t.finishInit&&t.finishInit(this);for(var p=0;p<ds.length;++p)ds[p](this);Kr(this),a&&t.lineWrapping&&getComputedStyle(o.lineDiv).textRendering=="optimizelegibility"&&(o.lineDiv.style.textRendering="auto")}ei.defaults=al,ei.optionHandlers=Ko;function ql(e){var t=e.display;$e(t.scroller,"mousedown",ui(e,el)),ue&&ge<11?$e(t.scroller,"dblclick",ui(e,function(b){if(ut(e,b))return;var w=yi(e,b);if(!w||cs(e,b)||Er(e.display,b))return;en(b);var $=e.findWordAt(w);Po(e.doc,$.anchor,$.head)})):$e(t.scroller,"dblclick",function(b){return ut(e,b)||en(b)}),$e(t.scroller,"contextmenu",function(b){return il(e,b)}),$e(t.input.getField(),"contextmenu",function(b){t.scroller.contains(b.target)||il(e,b)});var i,n={end:0};function r(){t.activeTouch&&(i=setTimeout(function(){return t.activeTouch=null},1e3),n=t.activeTouch,n.end=+new Date)}function o(b){if(b.touches.length!=1)return!1;var w=b.touches[0];return w.radiusX<=1&&w.radiusY<=1}function c(b,w){if(w.left==null)return!0;var $=w.left-b.left,se=w.top-b.top;return $*$+se*se>20*20}$e(t.scroller,"touchstart",function(b){if(!ut(e,b)&&!o(b)&&!cs(e,b)){t.input.ensurePolled(),clearTimeout(i);var w=+new Date;t.activeTouch={start:w,moved:!1,prev:w-n.end<=300?n:null},b.touches.length==1&&(t.activeTouch.left=b.touches[0].pageX,t.activeTouch.top=b.touches[0].pageY)}}),$e(t.scroller,"touchmove",function(){t.activeTouch&&(t.activeTouch.moved=!0)}),$e(t.scroller,"touchend",function(b){var w=t.activeTouch;if(w&&!Er(t,b)&&w.left!=null&&!w.moved&&new Date-w.start<300){var $=e.coordsChar(t.activeTouch,"page"),se;!w.prev||c(w,w.prev)?se=new _n($,$):!w.prev.prev||c(w,w.prev.prev)?se=e.findWordAt($):se=new _n(je($.line,0),et(e.doc,je($.line+1,0))),e.setSelection(se.anchor,se.head),e.focus(),en(b)}r()}),$e(t.scroller,"touchcancel",r),$e(t.scroller,"scroll",function(){t.scroller.clientHeight&&(ea(e,t.scroller.scrollTop),hr(e,t.scroller.scrollLeft,!0),Bt(e,"scroll",e))}),$e(t.scroller,"mousewheel",function(b){return oo(e,b)}),$e(t.scroller,"DOMMouseScroll",function(b){return oo(e,b)}),$e(t.wrapper,"scroll",function(){return t.wrapper.scrollTop=t.wrapper.scrollLeft=0}),t.dragFunctions={enter:function(b){ut(e,b)||On(b)},over:function(b){ut(e,b)||(Rl(e,b),On(b))},start:function(b){return Cl(e,b)},drop:ui(e,Sl),leave:function(b){ut(e,b)||Ws(e)}};var p=t.input.getField();$e(p,"keyup",function(b){return qs.call(e,b)}),$e(p,"keydown",ui(e,Zs)),$e(p,"keypress",ui(e,$s)),$e(p,"focus",function(b){return Dr(e,b)}),$e(p,"blur",function(b){return Zr(e,b)})}var ds=[];ei.defineInitHook=function(e){return ds.push(e)};function Ao(e,t,i,n){var r=e.doc,o;i==null&&(i="add"),i=="smart"&&(r.mode.indent?o=Jt(e,t).state:i="prev");var c=e.options.tabSize,p=ze(r,t),b=R(p.text,null,c);p.stateAfter&&(p.stateAfter=null);var w=p.text.match(/^\s*/)[0],$;if(!n&&!/\S/.test(p.text))$=0,i="not";else if(i=="smart"&&($=r.mode.indent(o,p.text.slice(w.length),p.text),$==Ae||$>150)){if(!n)return;i="prev"}i=="prev"?t>r.first?$=R(ze(r,t-1).text,null,c):$=0:i=="add"?$=b+e.options.indentUnit:i=="subtract"?$=b-e.options.indentUnit:typeof i=="number"&&($=b+i),$=Math.max(0,$);var se="",xe=0;if(e.options.indentWithTabs)for(var Te=Math.floor($/c);Te;--Te)xe+=c,se+=" ";if(xe<$&&(se+=Oe($-xe)),se!=w)return Fa(r,se,je(t,0),je(t,w.length),"+input"),p.stateAfter=null,!0;for(var Pe=0;Pe<r.sel.ranges.length;Pe++){var Fe=r.sel.ranges[Pe];if(Fe.head.line==t&&Fe.head.ch<w.length){var Je=je(t,w.length);rs(r,Pe,new _n(Je,Je));break}}}var Tr=null;function zo(e){Tr=e}function hs(e,t,i,n,r){var o=e.doc;e.display.shift=!1,n||(n=o.sel);var c=+new Date-200,p=r=="paste"||e.state.pasteIncoming>c,b=Si(t),w=null;if(p&&n.ranges.length>1)if(Tr&&Tr.text.join(`
`)==t){if(n.ranges.length%Tr.text.length==0){w=[];for(var $=0;$<Tr.text.length;$++)w.push(o.splitLines(Tr.text[$]))}}else b.length==n.ranges.length&&e.options.pasteLinesPerSelection&&(w=Y(b,function(nt){return[nt]}));for(var se=e.curOp.updateInput,xe=n.ranges.length-1;xe>=0;xe--){var Te=n.ranges[xe],Pe=Te.from(),Fe=Te.to();Te.empty()&&(i&&i>0?Pe=je(Pe.line,Pe.ch-i):e.state.overwrite&&!p?Fe=je(Fe.line,Math.min(ze(o,Fe.line).text.length,Fe.ch+T(b).length)):p&&Tr&&Tr.lineWise&&Tr.text.join(`
`)==b.join(`
`)&&(Pe=Fe=je(Pe.line,0)));var Je={from:Pe,to:Fe,text:w?w[xe%w.length]:b,origin:r||(p?"paste":e.state.cutIncoming>c?"cut":"+input")};Ua(e.doc,Je),Be(e,"inputRead",e,Je)}t&&!p&&sl(e,t),qr(e),e.curOp.updateInput<2&&(e.curOp.updateInput=se),e.curOp.typing=!0,e.state.pasteIncoming=e.state.cutIncoming=-1}function ol(e,t){var i=e.clipboardData&&e.clipboardData.getData("Text");if(i)return e.preventDefault(),!t.isReadOnly()&&!t.options.disableInput&&Ki(t,function(){return hs(t,i,0,null,"paste")}),!0}function sl(e,t){if(!e.options.electricChars||!e.options.smartIndent)return;for(var i=e.doc.sel,n=i.ranges.length-1;n>=0;n--){var r=i.ranges[n];if(r.head.ch>100||n&&i.ranges[n-1].head.line==r.head.line)continue;var o=e.getModeAt(r.head),c=!1;if(o.electricChars){for(var p=0;p<o.electricChars.length;p++)if(t.indexOf(o.electricChars.charAt(p))>-1){c=Ao(e,r.head.line,"smart");break}}else o.electricInput&&(o.electricInput.test(ze(e.doc,r.head.line).text.slice(0,r.head.ch))&&(c=Ao(e,r.head.line,"smart")));c&&Be(e,"electricInput",e,r.head.line)}}function ll(e){for(var t=[],i=[],n=0;n<e.doc.sel.ranges.length;n++){var r=e.doc.sel.ranges[n].head.line,o={anchor:je(r,0),head:je(r+1,0)};i.push(o),t.push(e.getRange(o.anchor,o.head))}return{text:t,ranges:i}}function ul(e,t,i,n){e.setAttribute("autocorrect",i?"":"off"),e.setAttribute("autocapitalize",n?"":"off"),e.setAttribute("spellcheck",!!t)}function cl(){var e=ce("textarea",null,null,"position: absolute; bottom: -1em; padding: 0; width: 1px; height: 1em; outline: none"),t=ce("div",[e],null,"overflow: hidden; position: relative; width: 3px; height: 0px;");return a?e.style.width="1000px":e.setAttribute("wrap","off"),m&&(e.style.border="1px solid black"),ul(e),t}function $l(e){var t=e.optionHandlers,i=e.helpers={};e.prototype={constructor:e,focus:function(){window.focus(),this.display.input.focus()},setOption:function(n,r){var o=this.options,c=o[n];if(o[n]==r&&n!="mode")return;o[n]=r,t.hasOwnProperty(n)&&ui(this,t[n])(this,r,c),Bt(this,"optionChange",this,n)},getOption:function(n){return this.options[n]},getDoc:function(){return this.doc},addKeyMap:function(n,r){this.state.keyMaps[r?"push":"unshift"](Wo(n))},removeKeyMap:function(n){for(var r=this.state.keyMaps,o=0;o<r.length;++o)if(r[o]==n||r[o].name==n)return r.splice(o,1),!0},addOverlay:Li(function(n,r){var o=n.token?n:e.getMode(this.options,n);if(o.startState)throw new Error("Overlays may not be stateful.");k(this.state.overlays,{mode:o,modeSpec:n,opaque:r&&r.opaque,priority:r&&r.priority||0},function(c){return c.priority}),this.state.modeGen++,Mn(this)}),removeOverlay:Li(function(n){for(var r=this.state.overlays,o=0;o<r.length;++o){var c=r[o].modeSpec;if(c==n||typeof n=="string"&&c.name==n){r.splice(o,1),this.state.modeGen++,Mn(this);return}}}),indentLine:Li(function(n,r,o){typeof r!="string"&&typeof r!="number"&&(r==null?r=this.options.smartIndent?"smart":"prev":r=r?"add":"subtract"),un(this.doc,n)&&Ao(this,n,r,o)}),indentSelection:Li(function(n){for(var r=this.doc.sel.ranges,o=-1,c=0;c<r.length;c++){var p=r[c];if(p.empty())p.head.line>o&&(Ao(this,p.head.line,n,!0),o=p.head.line,c==this.doc.sel.primIndex&&qr(this));else{var b=p.from(),w=p.to(),$=Math.max(o,b.line);o=Math.min(this.lastLine(),w.line-(w.ch?0:1))+1;for(var se=$;se<o;++se)Ao(this,se,n);var xe=this.doc.sel.ranges;b.ch==0&&r.length==xe.length&&xe[c].from().ch>0&&rs(this.doc,c,new _n(b,xe[c].to()),_e)}}}),getTokenAt:function(n,r){return Fn(this,n,r)},getLineTokens:function(n,r){return Fn(this,je(n),r,!0)},getTokenTypeAt:function(n){n=et(this.doc,n);var r=yn(this,ze(this.doc,n.line)),o=0,c=(r.length-1)/2,p=n.ch,b;if(p==0)b=r[2];else for(;;){var w=o+c>>1;if((w?r[w*2-1]:0)>=p)c=w;else if(r[w*2+1]<p)o=w+1;else{b=r[w*2+2];break}}var $=b?b.indexOf("overlay "):-1;return $<0?b:$==0?null:b.slice(0,$-1)},getModeAt:function(n){var r=this.doc.mode;return r.innerMode?e.innerMode(r,this.getTokenAt(n).state).mode:r},getHelper:function(n,r){return this.getHelpers(n,r)[0]},getHelpers:function(n,r){var o=[];if(!i.hasOwnProperty(r))return o;var c=i[r],p=this.getModeAt(n);if(typeof p[r]=="string")c[p[r]]&&o.push(c[p[r]]);else if(p[r])for(var b=0;b<p[r].length;b++){var w=c[p[r][b]];w&&o.push(w)}else p.helperType&&c[p.helperType]?o.push(c[p.helperType]):c[p.name]&&o.push(c[p.name]);for(var $=0;$<c._global.length;$++){var se=c._global[$];se.pred(p,this)&&fe(o,se.val)==-1&&o.push(se.val)}return o},getStateAfter:function(n,r){var o=this.doc;return n=xt(o,n==null?o.first+o.size-1:n),Jt(this,n+1,r).state},cursorCoords:function(n,r){var o,c=this.doc.sel.primary();return n==null?o=c.head:typeof n=="object"?o=et(this.doc,n):o=n?c.from():c.to(),$t(this,o,r||"page")},charCoords:function(n,r){return Yn(this,et(this.doc,n),r||"page")},coordsChar:function(n,r){return n=qt(this,n,r||"page"),nn(this,n.left,n.top)},lineAtHeight:function(n,r){return n=qt(this,{top:n,left:0},r||"page").top,Kt(this.doc,n+this.display.viewOffset)},heightAtLine:function(n,r,o){var c=!1,p;if(typeof n=="number"){var b=this.doc.first+this.doc.size-1;n<this.doc.first?n=this.doc.first:n>b&&(n=b,c=!0),p=ze(this.doc,n)}else p=n;return on(this,p,{top:0,left:0},r||"page",o||c).top+(c?this.doc.height-Zi(p):0)},defaultTextHeight:function(){return ri(this.display)},defaultCharWidth:function(){return _i(this.display)},getViewport:function(){return{from:this.display.viewFrom,to:this.display.viewTo}},addWidget:function(n,r,o,c,p){var b=this.display;n=$t(this,et(this.doc,n));var w=n.bottom,$=n.left;if(r.style.position="absolute",r.setAttribute("cm-ignore-events","true"),this.display.input.setUneditable(r),b.sizer.appendChild(r),c=="over")w=n.top;else if(c=="above"||c=="near"){var se=Math.max(b.wrapper.clientHeight,this.doc.height),xe=Math.max(b.sizer.clientWidth,b.lineSpace.clientWidth);(c=="above"||n.bottom+r.offsetHeight>se)&&n.top>r.offsetHeight?w=n.top-r.offsetHeight:n.bottom+r.offsetHeight<=se&&(w=n.bottom),$+r.offsetWidth>xe&&($=xe-r.offsetWidth)}r.style.top=w+"px",r.style.left=r.style.right="",p=="right"?($=b.sizer.clientWidth-r.offsetWidth,r.style.right="0px"):(p=="left"?$=0:p=="middle"&&($=(b.sizer.clientWidth-r.offsetWidth)/2),r.style.left=$+"px"),o&&So(this,{left:$,top:w,right:$+r.offsetWidth,bottom:w+r.offsetHeight})},triggerOnKeyDown:Li(Zs),triggerOnKeyPress:Li($s),triggerOnKeyUp:qs,triggerOnMouseDown:Li(el),execCommand:function(n){if(bo.hasOwnProperty(n))return bo[n].call(null,this)},triggerElectric:Li(function(n){sl(this,n)}),findPosH:function(n,r,o,c){var p=1;r<0&&(p=-1,r=-r);for(var b=et(this.doc,n),w=0;w<r&&!(b=fs(this.doc,b,p,o,c),b.hitSide);++w);return b},moveH:Li(function(n,r){var o=this;this.extendSelectionsBy(function(c){return o.display.shift||o.doc.extend||c.empty()?fs(o.doc,c.head,n,r,o.options.rtlMoveVisually):n<0?c.from():c.to()},ee)}),deleteH:Li(function(n,r){var o=this.doc.sel,c=this.doc;o.somethingSelected()?c.replaceSelection("",null,"+delete"):Ha(this,function(p){var b=fs(c,p.head,n,r,!1);return n<0?{from:b,to:p.head}:{from:p.head,to:b}})}),findPosV:function(n,r,o,c){var p=1,b=c;r<0&&(p=-1,r=-r);for(var w=et(this.doc,n),$=0;$<r;++$){var se=$t(this,w,"div");if(b==null?b=se.left:se.left=b,w=dl(this,se,p,o),w.hitSide)break}return w},moveV:Li(function(n,r){var o=this,c=this.doc,p=[],b=!this.display.shift&&!c.extend&&c.sel.somethingSelected();if(c.extendSelectionsBy(function($){if(b)return n<0?$.from():$.to();var se=$t(o,$.head,"div");$.goalColumn!=null&&(se.left=$.goalColumn),p.push(se.left);var xe=dl(o,se,n,r);return r=="page"&&$==c.sel.primary()&&to(o,Yn(o,xe,"div").top-se.top),xe},ee),p.length)for(var w=0;w<c.sel.ranges.length;w++)c.sel.ranges[w].goalColumn=p[w]}),findWordAt:function(n){var r=this.doc,o=ze(r,n.line).text,c=n.ch,p=n.ch;if(o){var b=this.getHelper(n,"wordChars");(n.sticky=="before"||p==o.length)&&c?--c:++p;for(var w=o.charAt(c),$=Ue(w,b)?function(se){return Ue(se,b)}:/\s/.test(w)?function(se){return/\s/.test(se)}:function(se){return!/\s/.test(se)&&!Ue(se)};c>0&&$(o.charAt(c-1));)--c;for(;p<o.length&&$(o.charAt(p));)++p}return new _n(je(n.line,c),je(n.line,p))},toggleOverwrite:function(n){if(n!=null&&n==this.state.overwrite)return;(this.state.overwrite=!this.state.overwrite)?D(this.display.cursorDiv,"CodeMirror-overwrite"):F(this.display.cursorDiv,"CodeMirror-overwrite"),Bt(this,"overwriteToggle",this,this.state.overwrite)},hasFocus:function(){return this.display.input.getField()==Re()},isReadOnly:function(){return!!(this.options.readOnly||this.doc.cantEdit)},scrollTo:Li(function(n,r){$r(this,n,r)}),getScrollInfo:function(){var n=this.display.scroller;return{left:n.scrollLeft,top:n.scrollTop,height:n.scrollHeight-be(this)-this.display.barHeight,width:n.scrollWidth-be(this)-this.display.barWidth,clientHeight:O(this),clientWidth:q(this)}},scrollIntoView:Li(function(n,r){n==null?(n={from:this.doc.sel.primary().head,to:null},r==null&&(r=this.options.cursorScrollMargin)):typeof n=="number"?n={from:je(n,0),to:null}:n.from==null&&(n={from:n,to:null}),n.to||(n.to=n.from),n.margin=r||0,n.from.line!=null?Jo(this,n):ha(this,n.from,n.to,n.margin)}),setSize:Li(function(n,r){var o=this,c=function(b){return typeof b=="number"||/^\d+$/.test(String(b))?b+"px":b};n!=null&&(this.display.wrapper.style.width=c(n)),r!=null&&(this.display.wrapper.style.height=c(r)),this.options.lineWrapping&&Ft(this);var p=this.display.viewFrom;this.doc.iter(p,this.display.viewTo,function(b){if(b.widgets){for(var w=0;w<b.widgets.length;w++)if(b.widgets[w].noHScroll){$n(o,p,"widget");break}}++p}),this.curOp.forceUpdate=!0,Bt(this,"refresh",this)}),operation:function(n){return Ki(this,n)},startOperation:function(){return Lr(this)},endOperation:function(){return Kr(this)},refresh:Li(function(){var n=this.display.cachedTextHeight;Mn(this),this.curOp.forceUpdate=!0,zt(this),$r(this,this.doc.scrollLeft,this.doc.scrollTop),Ma(this.display),(n==null||Math.abs(n-ri(this.display))>.5||this.options.lineWrapping)&&Hi(this),Bt(this,"refresh",this)}),swapDoc:Li(function(n){var r=this.doc;return r.cm=null,this.state.selectingText&&this.state.selectingText(),vs(this,n),zt(this),this.display.input.reset(),$r(this,n.scrollLeft,n.scrollTop),this.curOp.forceScroll=!0,Be(this,"swapDoc",this,r),r}),phrase:function(n){var r=this.options.phrases;return r&&Object.prototype.hasOwnProperty.call(r,n)?r[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}},pn(e),e.registerHelper=function(n,r,o){i.hasOwnProperty(n)||(i[n]=e[n]={_global:[]}),i[n][r]=o},e.registerGlobalHelper=function(n,r,o,c){e.registerHelper(n,r,c),i[n]._global.push({pred:o,val:c})}}function fs(e,t,i,n,r){var o=t,c=i,p=ze(e,t.line),b=r&&e.direction=="rtl"?-i:i;function w(){var st=t.line+b;return st<e.first||st>=e.first+e.size?!1:(t=new je(st,t.ch,t.sticky),p=ze(e,st))}function $(st){var it;if(n=="codepoint"){var dt=p.text.charCodeAt(t.ch+(n>0?0:-1));isNaN(dt)?it=null:it=new je(t.line,Math.max(0,Math.min(p.text.length,t.ch+i*(dt>=55296&&dt<56320?2:1))),-i)}else r?it=Ll(e.cm,p,t,i):it=os(p,t,i);if(it==null)if(!st&&w())t=ss(r,e.cm,p,t.line,b);else return!1;else t=it;return!0}if(n=="char"||n=="codepoint")$();else if(n=="column")$(!0);else if(n=="word"||n=="group")for(var se=null,xe=n=="group",Te=e.cm&&e.cm.getHelper(t,"wordChars"),Pe=!0;!(i<0&&!$(!Pe));Pe=!1){var Fe=p.text.charAt(t.ch)||`
`,Je=Ue(Fe,Te)?"w":xe&&Fe==`
`?"n":!xe||/\s/.test(Fe)?null:"p";if(xe&&!Pe&&!Je&&(Je="s"),se&&se!=Je){i<0&&(i=1,$(),t.sticky="after");break}if(Je&&(se=Je),i>0&&!$(!Pe))break}var nt=Uo(e,t,o,c,!0);return Un(o,nt)&&(nt.hitSide=!0),nt}function dl(e,t,i,n){var r=e.doc,o=t.left,c;if(n=="page"){var p=Math.min(e.display.wrapper.clientHeight,window.innerHeight||document.documentElement.clientHeight),b=Math.max(p-.5*ri(e.display),3);c=(i>0?t.bottom:t.top)+i*b}else n=="line"&&(c=i>0?t.bottom+3:t.top-3);for(var w;!(w=nn(e,o,c),!w.outside);){if(i<0?c<=0:c>=r.height){w.hitSide=!0;break}c+=i*5}return w}var Ln=function(e){this.cm=e,this.lastAnchorNode=this.lastAnchorOffset=this.lastFocusNode=this.lastFocusOffset=null,this.polling=new M,this.composing=null,this.gracePeriod=!1,this.readDOMTimeout=null};Ln.prototype.init=function(e){var t=this,i=this,n=i.cm,r=i.div=e.lineDiv;ul(r,n.options.spellcheck,n.options.autocorrect,n.options.autocapitalize);function o(p){for(var b=p.target;b;b=b.parentNode){if(b==r)return!0;if(/\bCodeMirror-(?:line)?widget\b/.test(b.className))break}return!1}$e(r,"paste",function(p){if(!o(p)||ut(n,p)||ol(p,n))return;ge<=11&&setTimeout(ui(n,function(){return t.updateFromDOM()}),20)}),$e(r,"compositionstart",function(p){t.composing={data:p.data,done:!1}}),$e(r,"compositionupdate",function(p){t.composing||(t.composing={data:p.data,done:!1})}),$e(r,"compositionend",function(p){t.composing&&(p.data!=t.composing.data&&t.readFromDOMSoon(),t.composing.done=!0)}),$e(r,"touchstart",function(){return i.forceCompositionEnd()}),$e(r,"input",function(){t.composing||t.readFromDOMSoon()});function c(p){if(!o(p)||ut(n,p))return;if(n.somethingSelected())zo({lineWise:!1,text:n.getSelections()}),p.type=="cut"&&n.replaceSelection("",null,"cut");else if(n.options.lineWiseCopyCut){var b=ll(n);zo({lineWise:!0,text:b.text}),p.type=="cut"&&n.operation(function(){n.setSelections(b.ranges,0,_e),n.replaceSelection("",null,"cut")})}else return;if(p.clipboardData){p.clipboardData.clearData();var w=Tr.text.join(`
`);if(p.clipboardData.setData("Text",w),p.clipboardData.getData("Text")==w){p.preventDefault();return}}var $=cl(),se=$.firstChild;n.display.lineSpace.insertBefore($,n.display.lineSpace.firstChild),se.value=Tr.text.join(`
`);var xe=document.activeElement;_(se),setTimeout(function(){n.display.lineSpace.removeChild($),xe.focus(),xe==r&&i.showPrimarySelection()},50)}$e(r,"copy",c),$e(r,"cut",c)},Ln.prototype.screenReaderLabelChanged=function(e){e?this.div.setAttribute("aria-label",e):this.div.removeAttribute("aria-label")},Ln.prototype.prepareSelection=function(){var e=_r(this.cm,!1);return e.focus=document.activeElement==this.div,e},Ln.prototype.showSelection=function(e,t){if(!e||!this.cm.display.view.length)return;(e.focus||t)&&this.showPrimarySelection(),this.showMultipleSelections(e)},Ln.prototype.getSelection=function(){return this.cm.display.wrapper.ownerDocument.getSelection()},Ln.prototype.showPrimarySelection=function(){var e=this.getSelection(),t=this.cm,i=t.doc.sel.primary(),n=i.from(),r=i.to();if(t.display.viewTo==t.display.viewFrom||n.line>=t.display.viewTo||r.line<t.display.viewFrom){e.removeAllRanges();return}var o=Go(t,e.anchorNode,e.anchorOffset),c=Go(t,e.focusNode,e.focusOffset);if(o&&!o.bad&&c&&!c.bad&&lt(Rt(o,c),n)==0&&lt(wn(o,c),r)==0)return;var p=t.display.view,b=n.line>=t.display.viewFrom&&hl(t,n)||{node:p[0].measure.map[2],offset:0},w=r.line<t.display.viewTo&&hl(t,r);if(!w){var $=p[p.length-1].measure,se=$.maps?$.maps[$.maps.length-1]:$.map;w={node:se[se.length-1],offset:se[se.length-2]-se[se.length-3]}}if(!b||!w){e.removeAllRanges();return}var xe=e.rangeCount&&e.getRangeAt(0),Te;try{Te=W(b.node,b.offset,w.offset,w.node)}catch(Pe){}Te&&(!Ie&&t.state.focused?(e.collapse(b.node,b.offset),Te.collapsed||(e.removeAllRanges(),e.addRange(Te))):(e.removeAllRanges(),e.addRange(Te)),xe&&e.anchorNode==null?e.addRange(xe):Ie&&this.startGracePeriod()),this.rememberSelection()},Ln.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)},Ln.prototype.showMultipleSelections=function(e){he(this.cm.display.cursorDiv,e.cursors),he(this.cm.display.selectionDiv,e.selection)},Ln.prototype.rememberSelection=function(){var e=this.getSelection();this.lastAnchorNode=e.anchorNode,this.lastAnchorOffset=e.anchorOffset,this.lastFocusNode=e.focusNode,this.lastFocusOffset=e.focusOffset},Ln.prototype.selectionInEditor=function(){var e=this.getSelection();if(!e.rangeCount)return!1;var t=e.getRangeAt(0).commonAncestorContainer;return H(this.div,t)},Ln.prototype.focus=function(){this.cm.options.readOnly!="nocursor"&&((!this.selectionInEditor()||document.activeElement!=this.div)&&this.showSelection(this.prepareSelection(),!0),this.div.focus())},Ln.prototype.blur=function(){this.div.blur()},Ln.prototype.getField=function(){return this.div},Ln.prototype.supportsTouch=function(){return!0},Ln.prototype.receivedFocus=function(){var e=this;this.selectionInEditor()?this.pollSelection():Ki(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)},Ln.prototype.selectionChanged=function(){var e=this.getSelection();return e.anchorNode!=this.lastAnchorNode||e.anchorOffset!=this.lastAnchorOffset||e.focusNode!=this.lastFocusNode||e.focusOffset!=this.lastFocusOffset},Ln.prototype.pollSelection=function(){if(this.readDOMTimeout!=null||this.gracePeriod||!this.selectionChanged())return;var e=this.getSelection(),t=this.cm;if(C&&S&&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 i=Go(t,e.anchorNode,e.anchorOffset),n=Go(t,e.focusNode,e.focusOffset);i&&n&&Ki(t,function(){Ui(t.doc,Or(i,n),_e),(i.bad||n.bad)&&(t.curOp.selectionChanged=!0)})},Ln.prototype.pollContent=function(){this.readDOMTimeout!=null&&(clearTimeout(this.readDOMTimeout),this.readDOMTimeout=null);var e=this.cm,t=e.display,i=e.doc.sel.primary(),n=i.from(),r=i.to();if(n.ch==0&&n.line>e.firstLine()&&(n=je(n.line-1,ze(e.doc,n.line-1).length)),r.ch==ze(e.doc,r.line).text.length&&r.line<e.lastLine()&&(r=je(r.line+1,0)),n.line<t.viewFrom||r.line>t.viewTo-1)return!1;var o,c,p;n.line==t.viewFrom||(o=Bn(e,n.line))==0?(c=Nt(t.view[0].line),p=t.view[0].node):(c=Nt(t.view[o].line),p=t.view[o-1].node.nextSibling);var b=Bn(e,r.line),w,$;if(b==t.view.length-1?(w=t.viewTo-1,$=t.lineDiv.lastChild):(w=Nt(t.view[b+1].line)-1,$=t.view[b+1].node.previousSibling),!p)return!1;for(var se=e.doc.splitLines(tu(e,p,$,c,w)),xe=Zt(e.doc,je(c,0),je(w,ze(e.doc,w).text.length));se.length>1&&xe.length>1;)if(T(se)==T(xe))se.pop(),xe.pop(),w--;else if(se[0]==xe[0])se.shift(),xe.shift(),c++;else break;for(var Te=0,Pe=0,Fe=se[0],Je=xe[0],nt=Math.min(Fe.length,Je.length);Te<nt&&Fe.charCodeAt(Te)==Je.charCodeAt(Te);)++Te;for(var st=T(se),it=T(xe),dt=Math.min(st.length-(se.length==1?Te:0),it.length-(xe.length==1?Te:0));Pe<dt&&st.charCodeAt(st.length-Pe-1)==it.charCodeAt(it.length-Pe-1);)++Pe;if(se.length==1&&xe.length==1&&c==n.line)for(;Te&&Te>n.ch&&st.charCodeAt(st.length-Pe-1)==it.charCodeAt(it.length-Pe-1);)Te--,Pe++;se[se.length-1]=st.slice(0,st.length-Pe).replace(/^\u200b+/,""),se[0]=se[0].slice(Te).replace(/\u200b+$/,"");var St=je(c,Te),bt=je(w,xe.length?T(xe).length-Pe:0);if(se.length>1||se[0]||lt(St,bt))return Fa(e.doc,se,St,bt,"+input"),!0},Ln.prototype.ensurePolled=function(){this.forceCompositionEnd()},Ln.prototype.reset=function(){this.forceCompositionEnd()},Ln.prototype.forceCompositionEnd=function(){if(!this.composing)return;clearTimeout(this.readDOMTimeout),this.composing=null,this.updateFromDOM(),this.div.blur(),this.div.focus()},Ln.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)},Ln.prototype.updateFromDOM=function(){var e=this;(this.cm.isReadOnly()||!this.pollContent())&&Ki(this.cm,function(){return Mn(e.cm)})},Ln.prototype.setUneditable=function(e){e.contentEditable="false"},Ln.prototype.onKeyPress=function(e){if(e.charCode==0||this.composing)return;e.preventDefault(),this.cm.isReadOnly()||ui(this.cm,hs)(this.cm,String.fromCharCode(e.charCode==null?e.keyCode:e.charCode),0)},Ln.prototype.readOnlyChanged=function(e){this.div.contentEditable=String(e!="nocursor")},Ln.prototype.onContextMenu=function(){},Ln.prototype.resetPosition=function(){},Ln.prototype.needsContentAttribute=!0;function hl(e,t){var i=ye(e,t.line);if(!i||i.hidden)return null;var n=ze(e.doc,t.line),r=x(i,n,t.line),o=mt(n,e.doc.direction),c="left";if(o){var p=Ve(o,t.ch);c=p%2?"right":"left"}var b=Ke(r.map,t.ch,c);return b.offset=b.collapse=="right"?b.end:b.start,b}function eu(e){for(var t=e;t;t=t.parentNode)if(/CodeMirror-gutter-wrapper/.test(t.className))return!0;return!1}function za(e,t){return t&&(e.bad=!0),e}function tu(e,t,i,n,r){var o="",c=!1,p=e.doc.lineSeparator(),b=!1;function w(Te){return function(Pe){return Pe.id==Te}}function $(){c&&(o+=p,b&&(o+=p),c=b=!1)}function se(Te){Te&&($(),o+=Te)}function xe(Te){if(Te.nodeType==1){var Pe=Te.getAttribute("cm-text");if(Pe){se(Pe);return}var Fe=Te.getAttribute("cm-marker"),Je;if(Fe){var nt=e.findMarks(je(n,0),je(r+1,0),w(+Fe));nt.length&&(Je=nt[0].find(0))&&se(Zt(e.doc,Je.from,Je.to).join(p));return}if(Te.getAttribute("contenteditable")=="false")return;var st=/^(pre|div|p|li|table|br)$/i.test(Te.nodeName);if(!/^br$/i.test(Te.nodeName)&&Te.textContent.length==0)return;st&&$();for(var it=0;it<Te.childNodes.length;it++)xe(Te.childNodes[it]);/^(pre|p)$/i.test(Te.nodeName)&&(b=!0),st&&(c=!0)}else Te.nodeType==3&&se(Te.nodeValue.replace(/\u200b/g,"").replace(/\u00a0/g," "))}for(;!(xe(t),t==i);)t=t.nextSibling,b=!1;return o}function Go(e,t,i){var n;if(t==e.display.lineDiv){if(n=e.display.lineDiv.childNodes[i],!n)return za(e.clipPos(je(e.display.viewTo-1)),!0);t=null,i=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 r=0;r<e.display.view.length;r++){var o=e.display.view[r];if(o.node==n)return nu(o,t,i)}}function nu(e,t,i){var n=e.text.firstChild,r=!1;if(!t||!H(n,t))return za(je(Nt(e.line),0),!0);if(t==n&&(r=!0,t=n.childNodes[i],i=0,!t)){var o=e.rest?T(e.rest):e.line;return za(je(Nt(o),o.text.length),r)}var c=t.nodeType==3?t:null,p=t;for(!c&&t.childNodes.length==1&&t.firstChild.nodeType==3&&(c=t.firstChild,i&&(i=c.nodeValue.length));p.parentNode!=n;)p=p.parentNode;var b=e.measure,w=b.maps;function $(Je,nt,st){for(var it=-1;it<(w?w.length:0);it++)for(var dt=it<0?b.map:w[it],St=0;St<dt.length;St+=3){var bt=dt[St+2];if(bt==Je||bt==nt){var Xt=Nt(it<0?e.line:e.rest[it]),Wn=dt[St]+st;return(st<0||bt!=Je)&&(Wn=dt[St+(st?1:0)]),je(Xt,Wn)}}}var se=$(c,p,i);if(se)return za(se,r);for(var xe=p.nextSibling,Te=c?c.nodeValue.length-i:0;xe;xe=xe.nextSibling){if(se=$(xe,xe.firstChild,0),se)return za(je(se.line,se.ch-Te),r);Te+=xe.textContent.length}for(var Pe=p.previousSibling,Fe=i;Pe;Pe=Pe.previousSibling){if(se=$(Pe,Pe.firstChild,-1),se)return za(je(se.line,se.ch+Fe),r);Fe+=Pe.textContent.length}}var di=function(e){this.cm=e,this.prevInput="",this.pollingFast=!1,this.polling=new M,this.hasSelection=!1,this.composing=null};di.prototype.init=function(e){var t=this,i=this,n=this.cm;this.createField(e);var r=this.textarea;e.wrapper.insertBefore(this.wrapper,e.wrapper.firstChild),m&&(r.style.width="0px"),$e(r,"input",function(){ue&&ge>=9&&t.hasSelection&&(t.hasSelection=null),i.poll()}),$e(r,"paste",function(c){if(ut(n,c)||ol(c,n))return;n.state.pasteIncoming=+new Date,i.fastPoll()});function o(c){if(ut(n,c))return;if(n.somethingSelected())zo({lineWise:!1,text:n.getSelections()});else if(n.options.lineWiseCopyCut){var p=ll(n);zo({lineWise:!0,text:p.text}),c.type=="cut"?n.setSelections(p.ranges,null,_e):(i.prevInput="",r.value=p.text.join(`
`),_(r))}else return;c.type=="cut"&&(n.state.cutIncoming=+new Date)}$e(r,"cut",o),$e(r,"copy",o),$e(e.scroller,"paste",function(c){if(Er(e,c)||ut(n,c))return;if(!r.dispatchEvent){n.state.pasteIncoming=+new Date,i.focus();return}var p=new Event("paste");p.clipboardData=c.clipboardData,r.dispatchEvent(p)}),$e(e.lineSpace,"selectstart",function(c){Er(e,c)||en(c)}),$e(r,"compositionstart",function(){var c=n.getCursor("from");i.composing&&i.composing.range.clear(),i.composing={start:c,range:n.markText(c,n.getCursor("to"),{className:"CodeMirror-composing"})}}),$e(r,"compositionend",function(){i.composing&&(i.poll(),i.composing.range.clear(),i.composing=null)})},di.prototype.createField=function(e){this.wrapper=cl(),this.textarea=this.wrapper.firstChild},di.prototype.screenReaderLabelChanged=function(e){e?this.textarea.setAttribute("aria-label",e):this.textarea.removeAttribute("aria-label")},di.prototype.prepareSelection=function(){var e=this.cm,t=e.display,i=e.doc,n=_r(e);if(e.options.moveInputWithCursor){var r=$t(e,i.sel.primary().head,"div"),o=t.wrapper.getBoundingClientRect(),c=t.lineDiv.getBoundingClientRect();n.teTop=Math.max(0,Math.min(t.wrapper.clientHeight-10,r.top+c.top-o.top)),n.teLeft=Math.max(0,Math.min(t.wrapper.clientWidth-10,r.left+c.left-o.left))}return n},di.prototype.showSelection=function(e){var t=this.cm,i=t.display;he(i.cursorDiv,e.cursors),he(i.selectionDiv,e.selection),e.teTop!=null&&(this.wrapper.style.top=e.teTop+"px",this.wrapper.style.left=e.teLeft+"px")},di.prototype.reset=function(e){if(this.contextMenuPending||this.composing)return;var t=this.cm;if(t.somethingSelected()){this.prevInput="";var i=t.getSelection();this.textarea.value=i,t.state.focused&&_(this.textarea),ue&&ge>=9&&(this.hasSelection=i)}else e||(this.prevInput=this.textarea.value="",ue&&ge>=9&&(this.hasSelection=null))},di.prototype.getField=function(){return this.textarea},di.prototype.supportsTouch=function(){return!1},di.prototype.focus=function(){if(this.cm.options.readOnly!="nocursor"&&(!z||Re()!=this.textarea))try{this.textarea.focus()}catch(e){}},di.prototype.blur=function(){this.textarea.blur()},di.prototype.resetPosition=function(){this.wrapper.style.top=this.wrapper.style.left=0},di.prototype.receivedFocus=function(){this.slowPoll()},di.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()})},di.prototype.fastPoll=function(){var e=!1,t=this;t.pollingFast=!0;function i(){var n=t.poll();!n&&!e?(e=!0,t.polling.set(60,i)):(t.pollingFast=!1,t.slowPoll())}t.polling.set(20,i)},di.prototype.poll=function(){var e=this,t=this.cm,i=this.textarea,n=this.prevInput;if(this.contextMenuPending||!t.state.focused||hi(i)&&!n&&!this.composing||t.isReadOnly()||t.options.disableInput||t.state.keySeq)return!1;var r=i.value;if(r==n&&!t.somethingSelected())return!1;if(ue&&ge>=9&&this.hasSelection===r||v&&/[\uf700-\uf7ff]/.test(r))return t.display.input.reset(),!1;if(t.doc.sel==t.display.selForContextMenu){var o=r.charCodeAt(0);if(o==8203&&!n&&(n="\u200B"),o==8666)return this.reset(),this.cm.execCommand("undo")}for(var c=0,p=Math.min(n.length,r.length);c<p&&n.charCodeAt(c)==r.charCodeAt(c);)++c;return Ki(t,function(){hs(t,r.slice(c),n.length-c,null,e.composing?"*compose":null),r.length>1e3||r.indexOf(`
`)>-1?i.value=e.prevInput="":e.prevInput=r,e.composing&&(e.composing.range.clear(),e.composing.range=t.markText(e.composing.start,t.getCursor("to"),{className:"CodeMirror-composing"}))}),!0},di.prototype.ensurePolled=function(){this.pollingFast&&this.poll()&&(this.pollingFast=!1)},di.prototype.onKeyPress=function(){ue&&ge>=9&&(this.hasSelection=null),this.fastPoll()},di.prototype.onContextMenu=function(e){var t=this,i=t.cm,n=i.display,r=t.textarea;t.contextMenuPending&&t.contextMenuPending();var o=yi(i,e),c=n.scroller.scrollTop;if(!o||E)return;var p=i.options.resetSelectionOnContextMenu;p&&i.doc.sel.contains(o)==-1&&ui(i,Ui)(i.doc,Or(o),_e);var b=r.style.cssText,w=t.wrapper.style.cssText,$=t.wrapper.offsetParent.getBoundingClientRect();t.wrapper.style.cssText="position: static",r.style.cssText=`position: absolute; width: 30px; height: 30px;
top: `+(e.clientY-$.top-5)+"px; left: "+(e.clientX-$.left-5)+`px;
z-index: 1000; background: `+(ue?"rgba(255, 255, 255, .05)":"transparent")+`;
outline: none; border-width: 0; outline: none; overflow: hidden; opacity: .05; filter: alpha(opacity=5);`;var se;a&&(se=window.scrollY),n.input.focus(),a&&window.scrollTo(null,se),n.input.reset(),i.somethingSelected()||(r.value=t.prevInput=" "),t.contextMenuPending=Te,n.selForContextMenu=i.doc.sel,clearTimeout(n.detectingSelectAll);function xe(){if(r.selectionStart!=null){var Fe=i.somethingSelected(),Je="\u200B"+(Fe?r.value:"");r.value="\u21DA",r.value=Je,t.prevInput=Fe?"":"\u200B",r.selectionStart=1,r.selectionEnd=Je.length,n.selForContextMenu=i.doc.sel}}function Te(){if(t.contextMenuPending!=Te)return;if(t.contextMenuPending=!1,t.wrapper.style.cssText=w,r.style.cssText=b,ue&&ge<9&&n.scrollbars.setScrollTop(n.scroller.scrollTop=c),r.selectionStart!=null){(!ue||ue&&ge<9)&&xe();var Fe=0,Je=function(){n.selForContextMenu==i.doc.sel&&r.selectionStart==0&&r.selectionEnd>0&&t.prevInput=="\u200B"?ui(i,Is)(i):Fe++<10?n.detectingSelectAll=setTimeout(Je,500):(n.selForContextMenu=null,n.input.reset())};n.detectingSelectAll=setTimeout(Je,200)}}if(ue&&ge>=9&&xe(),P){On(e);var Pe=function(){Rn(window,"mouseup",Pe),setTimeout(Te,20)};$e(window,"mouseup",Pe)}else setTimeout(Te,50)},di.prototype.readOnlyChanged=function(e){e||this.reset(),this.textarea.disabled=e=="nocursor",this.textarea.readOnly=!!e},di.prototype.setUneditable=function(){},di.prototype.needsContentAttribute=!1;function iu(e,t){if(t=t?l(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 i=Re();t.autofocus=i==e||e.getAttribute("autofocus")!=null&&i==document.body}function n(){e.value=p.getValue()}var r;if(e.form&&($e(e.form,"submit",n),!t.leaveSubmitMethodAlone)){var o=e.form;r=o.submit;try{var c=o.submit=function(){n(),o.submit=r,o.submit(),o.submit=c}}catch(b){}}t.finishInit=function(b){b.save=n,b.getTextArea=function(){return e},b.toTextArea=function(){b.toTextArea=isNaN,n(),e.parentNode.removeChild(b.getWrapperElement()),e.style.display="",e.form&&(Rn(e.form,"submit",n),!t.leaveSubmitMethodAlone&&typeof e.form.submit=="function"&&(e.form.submit=r))}},e.style.display="none";var p=ei(function(b){return e.parentNode.insertBefore(b,e.nextSibling)},t);return p}function ru(e){e.off=Rn,e.on=$e,e.wheelEventPixels=ao,e.Doc=$i,e.splitLines=Si,e.countColumn=R,e.findColumn=ve,e.isWordChar=Se,e.Pass=Ae,e.signal=Bt,e.Line=Cr,e.changeEnd=wr,e.scrollbarModel=no,e.Pos=je,e.cmpPos=lt,e.modes=pt,e.mimeModes=Dt,e.resolveMode=In,e.getMode=ln,e.modeExtensions=rt,e.extendMode=Ze,e.copyState=at,e.startState=Ct,e.innerMode=Xe,e.commands=bo,e.keyMap=Qr,e.keyName=Qs,e.isModifierKey=zs,e.lookupKey=Wa,e.normalizeKeyMap=Ml,e.StringStream=Ge,e.SharedTextMarker=mo,e.TextMarker=ra,e.LineWidget=po,e.e_preventDefault=en,e.e_stopPropagation=xn,e.e_stop=On,e.addClass=D,e.contains=H,e.rmClass=F,e.keyNames=aa}Jl(ei),$l(ei);var au="iter insert remove copy getEditor constructor".split(" ");for(var Qo in $i.prototype)$i.prototype.hasOwnProperty(Qo)&&fe(au,Qo)<0&&(ei.prototype[Qo]=function(e){return function(){return e.apply(this.doc,arguments)}}($i.prototype[Qo]));return pn($i),ei.inputStyles={textarea:di,contenteditable:Ln},ei.defineMode=function(e){!ei.defaults.mode&&e!="null"&&(ei.defaults.mode=e),Ht.apply(this,arguments)},ei.defineMIME=Ut,ei.defineMode("null",function(){return{token:function(e){return e.skipToEnd()}}}),ei.defineMIME("text/plain","null"),ei.defineExtension=function(e,t){ei.prototype[e]=t},ei.defineDocExtension=function(e,t){$i.prototype[e]=t},ei.fromTextArea=iu,ru(ei),ei.version="5.58.2",ei})},W6BS:function(Me,L){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+4fcPzUAKtsom4xpIGiLCkMZbJGs1LkvOHPfJbrhRX5/CM/NDwJZlXiqBKlc7AEjg1aI2iVDXZpoeS9AFXlkmV1W8z+VACLE7dbMiWLE2CFADLgqig6SakCSs4jizcvAvBHMVkqxxhKkePqAs8S1mxyLUxqw6AYKLdtbMtGINpiKKUM07bc96dk9BUBykIFoNYVC/JewMkCDDh18p0so6w+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R/9SP5eHJ0nMYhEh8TscDun3+0aoJuMJi8WCJMnRZgRZkJOR5FMKvWBz/QyN2gqqsEjTBE1q7iU5znZsfN83i2+32zSbTXq9HisrK6yurtJoNH4ympf49rYAvhzL1b5JSZqmZqGTyZT+4Jj+cd+4+mg4Yh7F5Kk0xqK4Jb7rVP87w1KGpU6nR6vVNMAEkPzrdDqGxX/McVsAb/dBsh0mKWgxnzMajxgOhhwf9+n3j5nNZ7RbbbrdrgElYE5Aua57u4962etfNYAvx7YISJIkxrXFxdvtlnFJW+Yiy+MnecrtIn/VAN7uQl6t618D+GpZ9md139cY/FlZ+tV6zmsMvlqW/Vnd9/8CAe3hZpCQX/4AAAAASUVORK5CYII="},WaYH:function(Me,L,s){"use strict";var re=s("rePB"),ie=s("Ff2n"),Ie=s("VTBJ"),ae=s("1OyB"),y=s("vuIU"),I=s("JX7q"),ue=s("Ji7U"),ge=s("LK+K"),a=s("q1tI"),N=s("TSYQ"),S=s.n(N),E=s("sboe"),f=s("OZM5"),h=function(P){var X=P.prefixCls,F=P.level,oe=P.isStart,he=P.isEnd;if(!F)return null;for(var ce="".concat(X,"-indent-unit"),Q=[],W=0;W<F;W+=1){var H;Q.push(a.createElement("span",{key:W,className:S()(ce,(H={},Object(re.a)(H,"".concat(ce,"-start"),oe[W+1]),Object(re.a)(H,"".concat(ce,"-end"),he[W+1]),Object(re.a)(H,"".concat(ce,"-end-first-level"),!W&&he[0]),H))}))}return a.createElement("span",{"aria-hidden":"true",className:"".concat(X,"-indent")},Q)},d=h,m=s("815F"),C="open",z="close",v="---",g=function(J){Object(ue.a)(X,J);var P=Object(ge.a)(X);function X(){var F;return Object(ae.a)(this,X),F=P.apply(this,arguments),F.state={dragNodeHighlight:!1},F.onSelectorClick=function(oe){var he=F.props.context.onNodeClick;he(oe,Object(m.b)(F.props)),F.isSelectable()?F.onSelect(oe):F.onCheck(oe)},F.onSelectorDoubleClick=function(oe){var he=F.props.context.onNodeDoubleClick;he(oe,Object(m.b)(F.props))},F.onSelect=function(oe){if(F.isDisabled())return;var he=F.props.context.onNodeSelect;oe.preventDefault(),he(oe,Object(m.b)(F.props))},F.onCheck=function(oe){if(F.isDisabled())return;var he=F.props,ce=he.disableCheckbox,Q=he.checked,W=F.props.context.onNodeCheck;if(!F.isCheckable()||ce)return;oe.preventDefault();var H=!Q;W(oe,Object(m.b)(F.props),H)},F.onMouseEnter=function(oe){var he=F.props.context.onNodeMouseEnter;he(oe,Object(m.b)(F.props))},F.onMouseLeave=function(oe){var he=F.props.context.onNodeMouseLeave;he(oe,Object(m.b)(F.props))},F.onContextMenu=function(oe){var he=F.props.context.onNodeContextMenu;he(oe,Object(m.b)(F.props))},F.onDragStart=function(oe){var he=F.props.context.onNodeDragStart;oe.stopPropagation(),F.setState({dragNodeHighlight:!0}),he(oe,Object(I.a)(F));try{oe.dataTransfer.setData("text/plain","")}catch(ce){}},F.onDragEnter=function(oe){var he=F.props.context.onNodeDragEnter;oe.preventDefault(),oe.stopPropagation(),he(oe,Object(I.a)(F))},F.onDragOver=function(oe){var he=F.props.context.onNodeDragOver;oe.preventDefault(),oe.stopPropagation(),he(oe,Object(I.a)(F))},F.onDragLeave=function(oe){var he=F.props.context.onNodeDragLeave;oe.stopPropagation(),he(oe,Object(I.a)(F))},F.onDragEnd=function(oe){var he=F.props.context.onNodeDragEnd;oe.stopPropagation(),F.setState({dragNodeHighlight:!1}),he(oe,Object(I.a)(F))},F.onDrop=function(oe){var he=F.props.context.onNodeDrop;oe.preventDefault(),oe.stopPropagation(),F.setState({dragNodeHighlight:!1}),he(oe,Object(I.a)(F))},F.onExpand=function(oe){var he=F.props.context.onNodeExpand;he(oe,Object(m.b)(F.props))},F.setSelectHandle=function(oe){F.selectHandle=oe},F.getNodeState=function(){var oe=F.props.expanded;return F.isLeaf()?null:oe?C:z},F.hasChildren=function(){var oe=F.props.eventKey,he=F.props.context.keyEntities,ce=he[oe]||{},Q=ce.children;return!!(Q||[]).length},F.isLeaf=function(){var oe=F.props,he=oe.isLeaf,ce=oe.loaded,Q=F.props.context.loadData,W=F.hasChildren();return he===!1?!1:he||!Q&&!W||Q&&ce&&!W},F.isDisabled=function(){var oe=F.props.disabled,he=F.props.context.disabled;return!!(he||oe)},F.isCheckable=function(){var oe=F.props.checkable,he=F.props.context.checkable;return!he||oe===!1?!1:he},F.syncLoadData=function(oe){var he=oe.expanded,ce=oe.loading,Q=oe.loaded,W=F.props.context,H=W.loadData,Re=W.onNodeLoad;if(ce)return;H&&he&&!F.isLeaf()&&(!F.hasChildren()&&!Q&&Re(Object(m.b)(F.props)))},F.renderSwitcher=function(){var oe=F.props,he=oe.expanded,ce=oe.switcherIcon,Q=F.props.context,W=Q.prefixCls,H=Q.switcherIcon,Re=ce||H;if(F.isLeaf())return a.createElement("span",{className:S()("".concat(W,"-switcher"),"".concat(W,"-switcher-noop"))},typeof Re=="function"?Re(Object(Ie.a)(Object(Ie.a)({},F.props),{},{isLeaf:!0})):Re);var D=S()("".concat(W,"-switcher"),"".concat(W,"-switcher_").concat(he?C:z));return a.createElement("span",{onClick:F.onExpand,className:D},typeof Re=="function"?Re(Object(Ie.a)(Object(Ie.a)({},F.props),{},{isLeaf:!1})):Re)},F.renderCheckbox=function(){var oe=F.props,he=oe.checked,ce=oe.halfChecked,Q=oe.disableCheckbox,W=F.props.context.prefixCls,H=F.isDisabled(),Re=F.isCheckable();if(!Re)return null;var D=typeof Re!="boolean"?Re:null;return a.createElement("span",{className:S()("".concat(W,"-checkbox"),he&&"".concat(W,"-checkbox-checked"),!he&&ce&&"".concat(W,"-checkbox-indeterminate"),(H||Q)&&"".concat(W,"-checkbox-disabled")),onClick:F.onCheck},D)},F.renderIcon=function(){var oe=F.props.loading,he=F.props.context.prefixCls;return a.createElement("span",{className:S()("".concat(he,"-iconEle"),"".concat(he,"-icon__").concat(F.getNodeState()||"docu"),oe&&"".concat(he,"-icon_loading"))})},F.renderSelector=function(){var oe=F.state.dragNodeHighlight,he=F.props,ce=he.title,Q=he.selected,W=he.icon,H=he.loading,Re=he.data,D=F.props.context,u=D.prefixCls,_=D.showIcon,A=D.icon,l=D.draggable,R=D.loadData,M=D.titleRender,fe=F.isDisabled(),Ee="".concat(u,"-node-content-wrapper"),Ae;if(_){var _e=W||A;Ae=_e?a.createElement("span",{className:S()("".concat(u,"-iconEle"),"".concat(u,"-icon__customize"))},typeof _e=="function"?_e(F.props):_e):F.renderIcon()}else R&&H&&(Ae=F.renderIcon());var K;typeof ce=="function"?K=ce(Re):M?K=M(Re):K=ce;var ee=a.createElement("span",{className:"".concat(u,"-title")},K);return a.createElement("span",{ref:F.setSelectHandle,title:typeof ce=="string"?ce:"",className:S()("".concat(Ee),"".concat(Ee,"-").concat(F.getNodeState()||"normal"),!fe&&(Q||oe)&&"".concat(u,"-node-selected"),!fe&&l&&"draggable"),draggable:!fe&&l||void 0,"aria-grabbed":!fe&&l||void 0,onMouseEnter:F.onMouseEnter,onMouseLeave:F.onMouseLeave,onContextMenu:F.onContextMenu,onClick:F.onSelectorClick,onDoubleClick:F.onSelectorDoubleClick,onDragStart:l?F.onDragStart:void 0},Ae,ee)},F}return Object(y.a)(X,[{key:"componentDidMount",value:function(){this.syncLoadData(this.props)}},{key:"componentDidUpdate",value:function(){this.syncLoadData(this.props)}},{key:"isSelectable",value:function(){var oe=this.props.selectable,he=this.props.context.selectable;return typeof oe=="boolean"?oe:he}},{key:"render",value:function(){var oe,he=this.props,ce=he.eventKey,Q=he.className,W=he.style,H=he.dragOver,Re=he.dragOverGapTop,D=he.dragOverGapBottom,u=he.isLeaf,_=he.isStart,A=he.isEnd,l=he.expanded,R=he.selected,M=he.checked,fe=he.halfChecked,Ee=he.loading,Ae=he.domRef,_e=he.active,K=he.onMouseMove,ee=Object(ie.a)(he,["eventKey","className","style","dragOver","dragOverGapTop","dragOverGapBottom","isLeaf","isStart","isEnd","expanded","selected","checked","halfChecked","loading","domRef","active","onMouseMove"]),ve=this.props.context,Z=ve.prefixCls,Oe=ve.filterTreeNode,T=ve.draggable,Y=ve.keyEntities,k=this.isDisabled(),pe=Object(f.f)(ee),De=Y[ce]||{},le=De.level,Se=A[A.length-1];return a.createElement("div",Object.assign({ref:Ae,className:S()(Q,"".concat(Z,"-treenode"),(oe={},Object(re.a)(oe,"".concat(Z,"-treenode-disabled"),k),Object(re.a)(oe,"".concat(Z,"-treenode-switcher-").concat(l?"open":"close"),!u),Object(re.a)(oe,"".concat(Z,"-treenode-checkbox-checked"),M),Object(re.a)(oe,"".concat(Z,"-treenode-checkbox-indeterminate"),fe),Object(re.a)(oe,"".concat(Z,"-treenode-selected"),R),Object(re.a)(oe,"".concat(Z,"-treenode-loading"),Ee),Object(re.a)(oe,"".concat(Z,"-treenode-active"),_e),Object(re.a)(oe,"".concat(Z,"-treenode-leaf-last"),Se),Object(re.a)(oe,"drag-over",!k&&H),Object(re.a)(oe,"drag-over-gap-top",!k&&Re),Object(re.a)(oe,"drag-over-gap-bottom",!k&&D),Object(re.a)(oe,"filter-node",Oe&&Oe(Object(m.b)(this.props))),oe)),style:W,onDragEnter:T?this.onDragEnter:void 0,onDragOver:T?this.onDragOver:void 0,onDragLeave:T?this.onDragLeave:void 0,onDrop:T?this.onDrop:void 0,onDragEnd:T?this.onDragEnd:void 0,onMouseMove:K},pe),a.createElement(d,{prefixCls:Z,level:le,isStart:_,isEnd:A}),this.renderSwitcher(),this.renderCheckbox(),this.renderSelector())}}]),X}(a.Component),j=function(P){return a.createElement(E.a.Consumer,null,function(X){return a.createElement(g,Object.assign({},P,{context:X}))})};j.displayName="TreeNode",j.defaultProps={title:v},j.isTreeNode=1;var G=L.a=j},Xsq0:function(Me,L,s){Me.exports=s.p+"static/mainbanner.0a951716.jpg"},Y1PL:function(Me,L,s){"use strict";s.r(L),s.d(L,"ResizableTextArea",function(){return fe});var re=s("wx14"),ie=s("1OyB"),Ie=s("vuIU"),ae=s("Ji7U"),y=s("LK+K"),I=s("q1tI"),ue=s("VTBJ"),ge=s("rePB"),a=s("Zm9Q"),N=s("Kwbf"),S=s("c+Xe"),E=s("m+aA"),f=s("bdgK"),h=new Map;function d(_e){_e.forEach(function(K){var ee,ve=K.target;(ee=h.get(ve))===null||ee===void 0||ee.forEach(function(Z){return Z(ve)})})}var m=new f.default(d),C=null,z=null;function v(_e,K){h.has(_e)||(h.set(_e,new Set),m.observe(_e)),h.get(_e).add(K)}function g(_e,K){h.has(_e)&&(h.get(_e).delete(K),h.get(_e).size||(m.unobserve(_e),h.delete(_e)))}var j=function(_e){Object(ae.a)(ee,_e);var K=Object(y.a)(ee);function ee(){return Object(ie.a)(this,ee),K.apply(this,arguments)}return Object(Ie.a)(ee,[{key:"render",value:function(){return this.props.children}}]),ee}(I.Component),G=I.createContext(null);function J(_e){var K=_e.children,ee=_e.onBatchResize,ve=I.useRef(0),Z=I.useRef([]),Oe=I.useContext(G),T=I.useCallback(function(Y,k,pe){ve.current+=1;var De=ve.current;Z.current.push({size:Y,element:k,data:pe}),Promise.resolve().then(function(){De===ve.current&&(ee==null||ee(Z.current),Z.current=[])}),Oe==null||Oe(Y,k,pe)},[ee,Oe]);return I.createElement(G.Provider,{value:T},K)}function P(_e){var K=_e.children,ee=_e.disabled,ve=I.useRef(null),Z=I.useRef(null),Oe=I.useContext(G),T=I.useRef({width:-1,height:-1,offsetWidth:-1,offsetHeight:-1}),Y=I.isValidElement(K)&&Object(S.c)(K),k=Y?K.ref:null,pe=I.useMemo(function(){return Object(S.a)(k,ve)},[k,ve]),De=I.useRef(_e);De.current=_e;var le=I.useCallback(function(Se){var Ue=De.current,U=Ue.onResize,we=Ue.data,Ne=Se.getBoundingClientRect(),Le=Ne.width,Ye=Ne.height,Qe=Se.offsetWidth,ot=Se.offsetHeight,Ve=Math.floor(Le),_t=Math.floor(Ye);if(T.current.width!==Ve||T.current.height!==_t||T.current.offsetWidth!==Qe||T.current.offsetHeight!==ot){var mt={width:Ve,height:_t,offsetWidth:Qe,offsetHeight:ot};T.current=mt;var Lt=Qe===Math.round(Le)?Le:Qe,$e=ot===Math.round(Ye)?Ye:ot,Xn=Object(ue.a)(Object(ue.a)({},mt),{},{offsetWidth:Lt,offsetHeight:$e});Oe==null||Oe(Xn,Se,we),U&&Promise.resolve().then(function(){U(Xn,Se)})}},[]);return I.useEffect(function(){var Se=Object(E.a)(ve.current)||Object(E.a)(Z.current);return Se&&!ee&&v(Se,le),function(){return g(Se,le)}},[ve.current,ee]),I.createElement(j,{ref:Z},Y?I.cloneElement(K,{ref:pe}):K)}var X="rc-observer-key";function F(_e){var K=_e.children,ee=Object(a.a)(K);return ee.map(function(ve,Z){var Oe=(ve==null?void 0:ve.key)||"".concat(X,"-").concat(Z);return I.createElement(P,Object(re.a)({},_e,{key:Oe}),ve)})}F.Collection=J;var oe=F,he=s("bT9E"),ce=s("TSYQ"),Q=s.n(ce),W=`
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
`,H=["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"],Re={},D;function u(_e){var K=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,ee=_e.getAttribute("id")||_e.getAttribute("data-reactid")||_e.getAttribute("name");if(K&&Re[ee])return Re[ee];var ve=window.getComputedStyle(_e),Z=ve.getPropertyValue("box-sizing")||ve.getPropertyValue("-moz-box-sizing")||ve.getPropertyValue("-webkit-box-sizing"),Oe=parseFloat(ve.getPropertyValue("padding-bottom"))+parseFloat(ve.getPropertyValue("padding-top")),T=parseFloat(ve.getPropertyValue("border-bottom-width"))+parseFloat(ve.getPropertyValue("border-top-width")),Y=H.map(function(pe){return"".concat(pe,":").concat(ve.getPropertyValue(pe))}).join(";"),k={sizingStyle:Y,paddingSize:Oe,borderSize:T,boxSizing:Z};return K&&ee&&(Re[ee]=k),k}function _(_e){var K=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,ee=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null,ve=arguments.length>3&&arguments[3]!==void 0?arguments[3]:null;D||(D=document.createElement("textarea"),D.setAttribute("tab-index","-1"),D.setAttribute("aria-hidden","true"),document.body.appendChild(D)),_e.getAttribute("wrap")?D.setAttribute("wrap",_e.getAttribute("wrap")):D.removeAttribute("wrap");var Z=u(_e,K),Oe=Z.paddingSize,T=Z.borderSize,Y=Z.boxSizing,k=Z.sizingStyle;D.setAttribute("style","".concat(k,";").concat(W)),D.value=_e.value||_e.placeholder||"";var pe=Number.MIN_SAFE_INTEGER,De=Number.MAX_SAFE_INTEGER,le=D.scrollHeight,Se;if(Y==="border-box"?le+=T:Y==="content-box"&&(le-=Oe),ee!==null||ve!==null){D.value=" ";var Ue=D.scrollHeight-Oe;ee!==null&&(pe=Ue*ee,Y==="border-box"&&(pe=pe+Oe+T),le=Math.max(pe,le)),ve!==null&&(De=Ue*ve,Y==="border-box"&&(De=De+Oe+T),Se=le>De?"":"hidden",le=Math.min(De,le))}return{height:le,minHeight:pe,maxHeight:De,overflowY:Se,resize:"none"}}var A=s("Gytx"),l=s.n(A),R;(function(_e){_e[_e.NONE=0]="NONE",_e[_e.RESIZING=1]="RESIZING",_e[_e.RESIZED=2]="RESIZED"})(R||(R={}));var M=function(_e){Object(ae.a)(ee,_e);var K=Object(y.a)(ee);function ee(ve){var Z;return Object(ie.a)(this,ee),Z=K.call(this,ve),Z.nextFrameActionId=void 0,Z.resizeFrameId=void 0,Z.textArea=void 0,Z.saveTextArea=function(Oe){Z.textArea=Oe},Z.handleResize=function(Oe){var T=Z.state.resizeStatus,Y=Z.props,k=Y.autoSize,pe=Y.onResize;if(T!==R.NONE)return;typeof pe=="function"&&pe(Oe),k&&Z.resizeOnNextFrame()},Z.resizeOnNextFrame=function(){cancelAnimationFrame(Z.nextFrameActionId),Z.nextFrameActionId=requestAnimationFrame(Z.resizeTextarea)},Z.resizeTextarea=function(){var Oe=Z.props.autoSize;if(!Oe||!Z.textArea)return;var T=Oe.minRows,Y=Oe.maxRows,k=_(Z.textArea,!1,T,Y);Z.setState({textareaStyles:k,resizeStatus:R.RESIZING},function(){cancelAnimationFrame(Z.resizeFrameId),Z.resizeFrameId=requestAnimationFrame(function(){Z.setState({resizeStatus:R.RESIZED},function(){Z.resizeFrameId=requestAnimationFrame(function(){Z.setState({resizeStatus:R.NONE}),Z.fixFirefoxAutoScroll()})})})})},Z.renderTextArea=function(){var Oe=Z.props,T=Oe.prefixCls,Y=T===void 0?"rc-textarea":T,k=Oe.autoSize,pe=Oe.onResize,De=Oe.className,le=Oe.disabled,Se=Z.state,Ue=Se.textareaStyles,U=Se.resizeStatus,we=Object(he.a)(Z.props,["prefixCls","onPressEnter","autoSize","defaultValue","onResize"]),Ne=Q()(Y,De,Object(ge.a)({},"".concat(Y,"-disabled"),le));"value"in we&&(we.value=we.value||"");var Le=Object(ue.a)(Object(ue.a)(Object(ue.a)({},Z.props.style),Ue),U===R.RESIZING?{overflowX:"hidden",overflowY:"hidden"}:null);return I.createElement(oe,{onResize:Z.handleResize,disabled:!(k||pe)},I.createElement("textarea",Object(re.a)({},we,{className:Ne,style:Le,ref:Z.saveTextArea})))},Z.state={textareaStyles:{},resizeStatus:R.NONE},Z}return Object(Ie.a)(ee,[{key:"componentDidUpdate",value:function(Z){(Z.value!==this.props.value||!l()(Z.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 Z=this.textArea.selectionStart,Oe=this.textArea.selectionEnd;this.textArea.setSelectionRange(Z,Oe)}}catch(T){}}},{key:"render",value:function(){return this.renderTextArea()}}]),ee}(I.Component),fe=M,Ee=function(_e){Object(ae.a)(ee,_e);var K=Object(y.a)(ee);function ee(ve){var Z;Object(ie.a)(this,ee),Z=K.call(this,ve),Z.resizableTextArea=void 0,Z.focus=function(){Z.resizableTextArea.textArea.focus()},Z.saveTextArea=function(T){Z.resizableTextArea=T},Z.handleChange=function(T){var Y=Z.props.onChange;Z.setValue(T.target.value,function(){Z.resizableTextArea.resizeTextarea()}),Y&&Y(T)},Z.handleKeyDown=function(T){var Y=Z.props,k=Y.onPressEnter,pe=Y.onKeyDown;T.keyCode===13&&k&&k(T),pe&&pe(T)};var Oe=typeof ve.value=="undefined"||ve.value===null?ve.defaultValue:ve.value;return Z.state={value:Oe},Z}return Object(Ie.a)(ee,[{key:"setValue",value:function(Z,Oe){"value"in this.props||this.setState({value:Z},Oe)}},{key:"blur",value:function(){this.resizableTextArea.textArea.blur()}},{key:"render",value:function(){return I.createElement(fe,Object(re.a)({},this.props,{value:this.state.value,onKeyDown:this.handleKeyDown,onChange:this.handleChange,ref:this.saveTextArea}))}}],[{key:"getDerivedStateFromProps",value:function(Z){return"value"in Z?{value:Z.value}:null}}]),ee}(I.Component),Ae=L.default=Ee},ZW9T:function(Me,L,s){"use strict";s.d(L,"a",function(){return A});var re=s("k1fw"),ie=s("oBTY"),Ie=s("miYZ"),ae=s("tsqr"),y=s("rAM+"),I=s("tJVT"),ue=s("PpiC"),ge=s("q1tI"),a=s.n(ge),N=s("bdgK"),S=s("9og8"),E=s("WmNS"),f=s.n(E),h={keywords:["print","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"]},d={quickKey:[{label:"main",content:["public static void main(String[] args) {"," $0","}"].join(`
`)},{label:"System.out.println",content:["System.out.println($0)"].join(`
`)},{label:"System.out.print",content:["System.out.print($0)"].join(`
`)}],keywords:["abstract","continue","for","new","switch","assert","default","goto","package","synchronized","boolean","do","if","private","this","break","double","implements","protected","throw","byte","else","import","public","throws","case","enum","instanceof","return","transient","catch","extends","int","short","try","char","final","interface","static","void","class","finally","long","strictfp","volatile","const","float","native","super","while","true","false"]},m={keywords:["abstract","amp","array","auto","bool","break","case","catch","char","class","const","constexpr","const_cast","continue","cpu","decltype","default","delegate","delete","do","double","dynamic_cast","each","else","enum","event","explicit","export","extern","false","final","finally","float","friend","gcnew","generic","goto","in","initonly","inline","int","interface","interior_ptr","internal","literal","long","mutable","namespace","new","noexcept","nullptr","__nullptr","operator","override","partial","pascal","pin_ptr","private","property","protected","public","ref","register","reinterpret_cast","restrict","return","safe_cast","sealed","short","signed","sizeof","static","static_assert","static_cast","struct","switch","template","this","thread_local","throw","tile_static","true","try","typedef","typeid","typename","union","unsigned","using","virtual","void","volatile","wchar_t","where","while","_asm","_based","_cdecl","_declspec","_fastcall","_if_exists","_if_not_exists","_inline","_multiple_inheritance","_pascal","_single_inheritance","_stdcall","_virtual_inheritance","_w64","__abstract","__alignof","__asm","__assume","__based","__box","__builtin_alignof","__cdecl","__clrcall","__declspec","__delegate","__event","__except","__fastcall","__finally","__forceinline","__gc","__hook","__identifier","__if_exists","__if_not_exists","__inline","__int128","__int16","__int32","__int64","__int8","__interface","__leave","__m128","__m128d","__m128i","__m256","__m256d","__m256i","__m64","__multiple_inheritance","__newslot","__nogc","__noop","__nounwind","__novtordisp","__pascal","__pin","__pragma","__property","__ptr32","__ptr64","__raise","__restrict","__resume","__sealed","__single_inheritance","__stdcall","__super","__thiscall","__try","__try_cast","__typeof","__unaligned","__unhook","__uuidof","__value","__virtual_inheritance","__w64","__wchar_t"],operators:["=",">","<","!","~","?",":","==","<=",">=","!=","&&","||","++","--","+","-","*","/","&","|","^","%","<<",">>",">>>","+=","-=","*=","/=","&=","|=","^=","%=","<<=",">>=",">>>="],quickKey:[{label:"ifelse",content:["if (${1:condition}) {"," $0","} else {"," ","}"].join(`
`)},{label:"include",content:"include<$0>"},{label:"printf",content:"printf($0)"},{label:"system",content:'system("$0")'},{label:"main",content:["int main () {"," $0","}"].join(`
`)},{label:"if",content:["if () {"," $0","}"].join(`
`)},{label:"for",content:["for(int j=0 ; j<10; j++){"," $0","}"].join(`
`)},{label:"trycatch",content:["try{"," $0","}catch(ExceptionName e){","}"].join(`
`)},{label:"using namespace std;",content:["using namespace std;"].join(`
`)},{label:"include <iostream>",content:["#include <iostream>"].join(`
`)},{label:"include <vector>",content:["#include <vector>"].join(`
`)},{label:"include <cstdio>",content:["#include <cstdio>"].join(`
`)},{label:"include <cstring>",content:["#include <cstring>"].join(`
`)},{label:"include <sstream>",content:["#include <sstream>"].join(`
`)},{label:"include <fstream>",content:["#include <fstream>"].join(`
`)},{label:"include <map>",content:["#include <map>"].join(`
`)},{label:"include <string>",content:["#include <string>"].join(`
`)},{label:"include <cmath>",content:["#include <cmath>"].join(`
`)}]},C={keywords:["and","as","assert","break","class","continue","def","del","elif","else","except","exec","finally","for","from","global","if","import","in","is","lambda","None","not","or","pass","raise","return","self","try","while","with","yield","int","float","long","complex","hex","abs","all","any","apply","basestring","bin","bool","buffer","bytearray","callable","chr","classmethod","cmp","coerce","compile","complex","delattr","dict","dir","divmod","enumerate","eval","execfile","file","filter","format","frozenset","getattr","globals","hasattr","hash","help","id","input","intern","isinstance","issubclass","iter","len","locals","list","map","max","memoryview","min","next","object","oct","open","ord","pow","print","property","reversed","range","raw_input","reduce","reload","repr","reversed","round","set","setattr","slice","sorted","staticmethod","str","sum","super","tuple","type","unichr","unicode","vars","xrange","zip","True","False","__dict__","__methods__","__members__","__class__","__bases__","__name__","__mro__","__subclasses__","__init__","__import__"],quickKey:[{label:"print",content:["print($0)"].join(`
`)}]},z=s("5VLF"),v=s.n(z),g={languages:["c","abap","apex","azcli","bat","cameligo","clojure","coffee","cpp","csharp","csp","css","dockerfile","fsharp","go","graphql","handlebars","html","ini","java","javascript","json","kotlin","less","lua","markdown","mips","msdax","mysql","objective-c","pascal","pascaligo","perl","pgsql","php","postiats","powerquery","powershell","pug","python","r","razor","redis","redshift","restructuredtext","ruby","rust","sb","scheme","scss","shell","solidity","sophia","sql","st","swift","tcl","twig","vb","xml","yaml'"],tables:{users:["name","id","email","phone","password"],roles:["id","name","order","created_at","updated_at","deleted_at"]}},j=function(R,M){return M.map(function(fe){return{label:fe,kind:R.languages.CompletionItemKind.Keyword,insertText:fe}})},G=function(R){return Object.keys(g.tables).map(function(M){return{label:M,kind:R.languages.CompletionItemKind.Variable,insertText:M}})},J=function(R,M){var fe=g.tables[R];return fe?fe.map(function(Ee){return{label:Ee,kind:M.languages.CompletionItemKind.Field,insertText:Ee}}):[]};function P(l,R,M,fe,Ee){var Ae=R.getWordUntilPosition(M),_e={startLineNumber:M.lineNumber,endLineNumber:M.lineNumber,startColumn:Ae.startColumn,endColumn:Ae.endColumn},K=fe.map(function(ee){return{label:ee,kind:l.languages.CompletionItemKind.Keyword,insertText:ee,insertTextRules:l.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:_e}});return Ee.map(function(ee){K.push(Object(re.a)(Object(re.a)({},ee),{},{range:_e}))}),K}var X=function(l){g.languages.map(function(Ee){return l.languages.registerDocumentFormattingEditProvider(Ee,{provideDocumentFormattingEdits:function(_e,K,ee){return Object(S.a)(f.a.mark(function ve(){var Z;return f.a.wrap(function(T){for(;;)switch(T.prev=T.next){case 0:return Z=v()(_e.getValue(),{indent_size:"2",indent_char:" ",max_preserve_newlines:"2",preserve_newlines:!0,keep_array_indentation:!0,break_chained_methods:!1,indent_scripts:"normal",brace_style:"collapse",space_before_conditional:!0,unescape_strings:!1,jslint_happy:!1,end_with_newline:!0,wrap_line_length:"0",indent_inner_html:!1,comma_first:!1,e4x:!1,indent_empty_lines:!1}),T.abrupt("return",[{range:_e.getFullModelRange(),text:Z}]);case 2:case"end":return T.stop()}},ve)}))()}}),Ee});var R=m.quickKey.map(function(Ee){return{label:Ee.label,kind:l.languages.CompletionItemKind.Method,insertText:Ee.content,insertTextRules:l.languages.CompletionItemInsertTextRule.InsertAsSnippet}}),M=C.quickKey.map(function(Ee){return{label:Ee.label,kind:l.languages.CompletionItemKind.Method,insertText:Ee.content,insertTextRules:l.languages.CompletionItemInsertTextRule.InsertAsSnippet}}),fe=d.quickKey.map(function(Ee){return{label:Ee.label,kind:l.languages.CompletionItemKind.Method,insertText:Ee.content,insertTextRules:l.languages.CompletionItemInsertTextRule.InsertAsSnippet}});l.languages.registerCompletionItemProvider("cpp",{provideCompletionItems:function(Ae,_e){var K=Ae.getWordUntilPosition(_e),ee={startLineNumber:_e.lineNumber,endLineNumber:_e.lineNumber,startColumn:K.startColumn,endColumn:K.endColumn},ve=Ae.getLineContent(_e.lineNumber).substring(K.startColumn-2,K.endColumn);return{suggestions:[].concat(Object(ie.a)(m.keywords.map(function(Z){return{label:Z,kind:l.languages.CompletionItemKind.Function,documentation:Z,insertText:Z,insertTextRules:l.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:ee}})),Object(ie.a)(m.quickKey.map(function(Z){return{label:Z.label,kind:l.languages.CompletionItemKind.Function,documentation:Z.content,insertText:ve.startsWith("#")?Z.content.replace(/#/,""):Z.content,insertTextRules:l.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:ee}})))}}}),l.languages.registerCompletionItemProvider("c",{provideCompletionItems:function(Ae,_e){var K=Ae.getWordUntilPosition(_e),ee={startLineNumber:_e.lineNumber,endLineNumber:_e.lineNumber,startColumn:K.startColumn,endColumn:K.endColumn};return{suggestions:Object(ie.a)(h.keywords.map(function(ve){return{label:ve,kind:l.languages.CompletionItemKind.Function,documentation:ve,insertText:ve,insertTextRules:l.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:ee}}))}}}),l.languages.registerCompletionItemProvider("java",{provideCompletionItems:function(Ae,_e){var K=Ae.getWordUntilPosition(_e),ee={startLineNumber:_e.lineNumber,endLineNumber:_e.lineNumber,startColumn:K.startColumn,endColumn:K.endColumn},ve=Ae.getLineContent(_e.lineNumber).substring(K.startColumn-2,K.endColumn);return{suggestions:[].concat(Object(ie.a)(d.keywords.map(function(Z){return{label:Z,kind:l.languages.CompletionItemKind.Function,documentation:Z,insertText:Z,insertTextRules:l.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:ee}})),Object(ie.a)(d.quickKey.map(function(Z){return{label:Z.label,kind:l.languages.CompletionItemKind.Function,documentation:Z.content,insertText:ve.startsWith("#")?Z.content.replace(/#/,""):Z.content,insertTextRules:l.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:ee}})))}}}),l.languages.registerCompletionItemProvider("python",{provideCompletionItems:function(Ae,_e){var K=Ae.getWordUntilPosition(_e),ee={startLineNumber:_e.lineNumber,endLineNumber:_e.lineNumber,startColumn:K.startColumn,endColumn:K.endColumn},ve=Ae.getLineContent(_e.lineNumber).substring(K.startColumn-2,K.endColumn);return{suggestions:[].concat(Object(ie.a)(C.keywords.map(function(Z){return{label:Z,kind:l.languages.CompletionItemKind.Function,documentation:Z,insertText:Z,insertTextRules:l.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:ee}})),Object(ie.a)(C.quickKey.map(function(Z){return{label:Z.label,kind:l.languages.CompletionItemKind.Function,documentation:Z.content,insertText:ve.startsWith("#")?Z.content.replace(/#/,""):Z.content,insertTextRules:l.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:ee}})))}}})},F="\u8BE5\u4EFB\u52A1\u5173\u5361\u8BBE\u7F6E\u4E86\u7981\u6B62\u590D\u5236\u7C98\u8D34\uFF0C\u8BF7\u624B\u52A8\u8F93\u5165\u4EE3\u7801\u3002",oe=s("fjLI"),he=s("LvDl"),ce=s("+ua5");function Q(l){return/^\d+$/.test(l)?"".concat(l,"px"):l}function W(){}var H=!1,Re={"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 D(){var l=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],R=l;if(Array.isArray(l)){for(var M=0;M<l.length;M++){var fe=Re[l[M]];if(fe)return fe}return R[0]}return Re[R]||R}var u=null,_=L.b=function(l){var R=l.width,M=R===void 0?"100%":R,fe=l.height,Ee=fe===void 0?"100%":fe,Ae=l.value,_e=l.language,K=_e===void 0?"javascript":_e,ee=l.style,ve=ee===void 0?{}:ee,Z=l.options,Oe=Z===void 0?{}:Z,T=l.overrideServices,Y=T===void 0?{}:T,k=l.theme,pe=k===void 0?"vs-dark":k,De=l.onEditBlur,le=l.onSave,Se=l.autoHeight,Ue=Se===void 0?!1:Se,U=l.forbidCopy,we=U===void 0?!1:U,Ne=l.onChange,Le=Ne===void 0?W:Ne,Ye=l.editorDidMount,Qe=Ye===void 0?W:Ye,ot=l.onFocus,Ve=ot===void 0?W:ot,_t=l.filename,mt=_t===void 0?"educoder.txt":_t,Lt=l.errorLine,$e=l.errorContent,Xn=$e===void 0?"":$e,Rn=Object(ue.a)(l,["width","height","value","language","style","options","overrideServices","theme","onEditBlur","onSave","autoHeight","forbidCopy","onChange","editorDidMount","onFocus","filename","errorLine","errorContent"]),Bt=Object(ge.useRef)(),ut=Object(ge.useRef)({}),Wt=Object(ge.useRef)(),It=Object(ge.useRef)(),pn=Object(ge.useRef)(!1),en=Object(ge.useRef)(),xn=Object(ge.useState)(!1),oi=Object(I.a)(xn,2),On=oi[0],si=oi[1];function Ti(){var rt;return Bt.current&&(rt=new N.default(function(Ze){var at=Object(y.a)(Ze),Xe;try{for(at.s();!(Xe=at.n()).done;){var Ct=Xe.value;(Ct.target.offsetHeight>0||Ct.target.offsetWidth>0)&&ut.current.instance.layout()}}catch(Ge){at.e(Ge)}finally{at.f()}}),rt.observe(Bt.current)),rt}function li(){ae.b.warn(decodeURIComponent(F))}var ir=function(){var Ze=ut.current.instance;if(Ae!=null&&Ze&&On){var at=Ze.getModel();at&&Ae!==at.getValue()&&(H=!0,at.setValue(Ae),Ze.layout(),H=!1)}};Object(ge.useEffect)(function(){It.current&&clearTimeout(It.current),It.current=setTimeout(function(){ir()},500)},[Ae,On,ut.current]),Object(ge.useEffect)(function(){if(Lt&&ut.current&&ut.current.instance){var rt=ut.current.instance;rt.changeViewZones(function(at){var Xe=document.createElement("div");Xe.style.padding="10px 20px",Xe.style.width="calc(100% - 20px)",Xe.className="my-error-line-wrp",Xe.innerHTML=Xn,at.addZone({afterLineNumber:Lt||11,heightInLines:3,domNode:Xe})});var Ze={domNode:null,getId:function(){return"my.overlay.widget"},getDomNode:function(){return this.domNode||(this.domNode=document.createElement("div"),this.domNode.innerHTML="",this.domNode.style.width="100%",this.domNode.style.padding="20px 100px",this.domNode.style.right="0px",this.domNode.style.top="50px",this.domNode.style.position="relative",this.domNode.style.color="#333"),this.domNode},getPosition:function(){return null}};rt.addOverlayWidget(Ze),rt.revealPositionInCenter({lineNumber:20,column:1})}},[Lt,ut.current,On]);function rr(){var rt=ut.current.instance;if(rt){var Ze=rt.getSelection(),at=ut.current.pastePos||{},Xe=new u.Range(at.startLineNumber||Ze.endLineNumber,at.startColumn||Ze.endColumn,at.endLineNumber||Ze.endLineNumber,at.endColumn||Ze.endColumn);setTimeout(function(){rt.executeEdits("",[{range:Xe,text:""}])},300)}}function Yi(rt){(window.navigator.platform.match("Mac")?rt.metaKey:rt.ctrlKey)&&rt.keyCode==83&&(rt.preventDefault(),le())}var Pi=function(){if(Ue&&ut.current.instance){var Ze=ut.current.instance.getContentHeight();In(Ze<Ee?Ee:Ze)}else In(Ee)};function Si(rt){var Ze=document.createEvent("MouseEvents");Ze.initMouseEvent("click",!0,!1,window,0,0,0,0,0,!1,!1,!1,!1,0,null),rt.dispatchEvent(Ze)}function hi(rt,Ze){var at=window.URL||window.webkitURL||window,Xe=new Blob([Ze]),Ct=document.createElementNS("http://www.w3.org/1999/xhtml","a");Ct.href=at.createObjectURL(Xe),Ct.download=rt,Si(Ct)}Object(ge.useEffect)(function(){Pi()},[Pi]),Object(ge.useEffect)(function(){Bt.current&&!On&&Promise.all([s.e(16),s.e(28)]).then(s.t.bind(null,"M/lh",7)).then(function(rt){try{u=rt,ut.current.instance=u.editor.create(Bt.current,{value:Ae,language:D(K),theme:pe,requireConfig:{"vs/nls":{availableLanguages:{"*":"zh-cn"}}},wordWrap:!0,autoIndent:!0,contextmenu:!0,formatOnType:!0},Y);var Ze=ut.current.instance,at=oe.d._menuItems,Xe=Object(ie.a)(at).find(function(Ot){return Ot[0]._debugName=="EditorContext"}),Ct=Xe[1],Ge=["editor.action.clipboardCopyWithSyntaxHighlightingAction","editor.action.quickCommand","editor.action.clipboardCopyAction","editor.action.clipboardPasteAction","editor.action.clipboardCutAction"],ze=function(kt,Nt){var Kt=kt._first;do{var un,Hn,je=Nt.includes((un=Kt.element)===null||un===void 0||((Hn=un.command)===null||Hn===void 0)?void 0:Hn.id);je&&kt._remove(Kt)}while(Kt=Kt.next)};if(Qe(Ze,u),setTimeout(function(){Pi(),ut.current.instance.addAction({id:"d123123",label:"Download File",contextMenuGroupId:"9_cutcopypaste",run:function(){hi(mt||"educoder.txt",Ze.getValue())}}),Ze.getDomNode().addEventListener("input",function(){Wt.current.autoFormat&&Ze.getAction("editor.action.formatDocument").run()})},500),ut.current.subscription=Ze.onDidChangeModelContent(function(Ot){pn.current?clearTimeout(en.current):(Pi(),Le(Ze.getValue(),Ot)),en.current=setTimeout(function(){pn.current=!1},500)}),window.Monaco||X(u,D(K)),we&&(ze(Ct,Ge),Bt.current.classList.add("noCopyPaste"),Ze.onKeyDown(function(Ot){var kt=Ot.keyCode,Nt=Ot.ctrlKey,Kt=Ot.metaKey;(kt===33||kt===52)&&(Kt||Nt)&&(li(),Ot.preventDefault())})),window.Monaco=u,De&&Ze.onDidBlurEditorWidget(function(){De(Ze.getValue())}),Ve&&Ze.onDidFocusEditorText(function(){Ve(Ze.getValue())}),we){Ze.addCommand(u.KeyMod.CtrlCmd|u.KeyCode.KEY_V,function(){return li(),null}),Ze.onDidPaste(function(Ot){ut.current.pastePos=Ot});try{window.addEventListener("paste",rr)}catch(Ot){}}var Zt=Ti();return si(!0),function(){var Ot=ut.current.instance;Ot.dispose();var kt=Ot.getModel();kt&&kt.dispose(),ut.current.subscription&&ut.current.subscription.dispose(),we&&window.removeEventListener("paste",rr),Zt.unobserve(Bt.current)}}catch(Ot){}})},[]),Object(ge.useEffect)(function(){var rt=ut.current.instance;if(rt&&On)return document.addEventListener("keydown",Yi,!1),function(){document.removeEventListener("keydown",Yi)}},[le,On]),Object(ge.useEffect)(function(){var rt=ut.current.instance;if(rt&&On){var Ze=D(K);u.editor.setModelLanguage(rt.getModel(),Ze),console.log("language:",K,rt.getModel(),Ze)}},[K,On]),Object(ge.useEffect)(function(){var rt=ut.current.instance;rt&&On&&u.editor.setTheme(pe)},[pe,On]),Object(ge.useEffect)(function(){var rt=ut.current.instance;Wt.current=Oe,rt&&On&&(rt.updateOptions(Object(re.a)({},Oe)),setTimeout(function(){rt.getModel().updateOptions(Object(re.a)({},Oe))},200))},[JSON.stringify(Oe),On]),Object(ge.useEffect)(function(){var rt=ut.current.instance;rt&&On&&rt.layout()},[M,Ee,On]);var mr=Object(ge.useState)(Q(M)),ht=Object(I.a)(mr,2),We=ht[0],pt=ht[1],Dt=Object(ge.useState)(Q(Ee)),Ht=Object(I.a)(Dt,2),Ut=Ht[0],In=Ht[1],ln=Object(re.a)(Object(re.a)({},ve),{},{width:We,height:Ut});return a.a.createElement("div",{className:"my-monaco-editor",ref:Bt,style:ln})};function A(l){var R=l.width,M=R===void 0?"100%":R,fe=l.height,Ee=fe===void 0?"100%":fe,Ae=l.original,_e=l.modified,K=l.language,ee=l.options,ve=ee===void 0?{}:ee,Z=Object(ge.useRef)(),Oe=Object(ge.useState)(null),T=Object(I.a)(Oe,2),Y=T[0],k=T[1];function pe(Ue){var U;return Z.current&&(U=new N.default(function(we){var Ne=Object(y.a)(we),Le;try{for(Ne.s();!(Le=Ne.n()).done;){var Ye=Le.value;(Ye.target.offsetHeight>0||Ye.target.offsetWidth>0)&&Ue.layout()}}catch(Qe){Ne.e(Qe)}finally{Ne.f()}}),U.observe(Z.current)),U}Object(ge.useEffect)(function(){Z.current&&Promise.all([s.e(16),s.e(28)]).then(s.t.bind(null,"M/lh",7)).then(function(Ue){u=Ue;var U=u.editor.createDiffEditor(Z.current,Object(re.a)(Object(re.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},ve),{},{wordWrap:!0}));k(U);var we=pe(U);return function(){U.dispose();var Ne=U.getModel();Ne&&Ne.dispose(),we.unobserve(Z.current)}})},[]),Object(ge.useEffect)(function(){Y&&Y.setModel({original:u.editor.createModel(Ae,K),modified:u.editor.createModel(_e,K)})},[Ae,_e,K,Y]);var De=Q(M),le=Q(Ee),Se={width:De,height:le};return a.a.createElement("div",{className:"my-diff-editor",ref:Z,style:Se})}},ZpRC:function(Me,L,s){"use strict";function re(S){return typeof S=="object"&&S!=null&&S.nodeType===1}function ie(S,E){return(!E||S!=="hidden")&&S!=="visible"&&S!=="clip"}function Ie(S,E){if(S.clientHeight<S.scrollHeight||S.clientWidth<S.scrollWidth){var f=getComputedStyle(S,null);return ie(f.overflowY,E)||ie(f.overflowX,E)||function(h){var d=function(m){if(!m.ownerDocument||!m.ownerDocument.defaultView)return null;try{return m.ownerDocument.defaultView.frameElement}catch(C){return null}}(h);return!!d&&(d.clientHeight<h.scrollHeight||d.clientWidth<h.scrollWidth)}(S)}return!1}function ae(S,E,f,h,d,m,C,z){return m<S&&C>E||m>S&&C<E?0:m<=S&&z<=f||C>=E&&z>=f?m-S-h:C>E&&z<f||m<S&&z>f?C-E+d:0}var y=function(S,E){var f=window,h=E.scrollMode,d=E.block,m=E.inline,C=E.boundary,z=E.skipOverflowHiddenElements,v=typeof C=="function"?C:function(Ue){return Ue!==C};if(!re(S))throw new TypeError("Invalid target");for(var g=document.scrollingElement||document.documentElement,j=[],G=S;re(G)&&v(G);){if((G=G.parentElement)===g){j.push(G);break}G!=null&&G===document.body&&Ie(G)&&!Ie(document.documentElement)||G!=null&&Ie(G,z)&&j.push(G)}for(var J=f.visualViewport?f.visualViewport.width:innerWidth,P=f.visualViewport?f.visualViewport.height:innerHeight,X=window.scrollX||pageXOffset,F=window.scrollY||pageYOffset,oe=S.getBoundingClientRect(),he=oe.height,ce=oe.width,Q=oe.top,W=oe.right,H=oe.bottom,Re=oe.left,D=d==="start"||d==="nearest"?Q:d==="end"?H:Q+he/2,u=m==="center"?Re+ce/2:m==="end"?W:Re,_=[],A=0;A<j.length;A++){var l=j[A],R=l.getBoundingClientRect(),M=R.height,fe=R.width,Ee=R.top,Ae=R.right,_e=R.bottom,K=R.left;if(h==="if-needed"&&Q>=0&&Re>=0&&H<=P&&W<=J&&Q>=Ee&&H<=_e&&Re>=K&&W<=Ae)return _;var ee=getComputedStyle(l),ve=parseInt(ee.borderLeftWidth,10),Z=parseInt(ee.borderTopWidth,10),Oe=parseInt(ee.borderRightWidth,10),T=parseInt(ee.borderBottomWidth,10),Y=0,k=0,pe="offsetWidth"in l?l.offsetWidth-l.clientWidth-ve-Oe:0,De="offsetHeight"in l?l.offsetHeight-l.clientHeight-Z-T:0;if(g===l)Y=d==="start"?D:d==="end"?D-P:d==="nearest"?ae(F,F+P,P,Z,T,F+D,F+D+he,he):D-P/2,k=m==="start"?u:m==="center"?u-J/2:m==="end"?u-J:ae(X,X+J,J,ve,Oe,X+u,X+u+ce,ce),Y=Math.max(0,Y+F),k=Math.max(0,k+X);else{Y=d==="start"?D-Ee-Z:d==="end"?D-_e+T+De:d==="nearest"?ae(Ee,_e,M,Z,T+De,D,D+he,he):D-(Ee+M/2)+De/2,k=m==="start"?u-K-ve:m==="center"?u-(K+fe/2)+pe/2:m==="end"?u-Ae+Oe+pe:ae(K,Ae,fe,ve,Oe+pe,u,u+ce,ce);var le=l.scrollLeft,Se=l.scrollTop;D+=Se-(Y=Math.max(0,Math.min(Se+Y,l.scrollHeight-M+De))),u+=le-(k=Math.max(0,Math.min(le+k,l.scrollWidth-fe+pe)))}_.push({el:l,top:Y,left:k})}return _};function I(S){return S===Object(S)&&Object.keys(S).length!==0}function ue(S,E){E===void 0&&(E="auto");var f="scrollBehavior"in document.body.style;S.forEach(function(h){var d=h.el,m=h.top,C=h.left;d.scroll&&f?d.scroll({top:m,left:C,behavior:E}):(d.scrollTop=m,d.scrollLeft=C)})}function ge(S){return S===!1?{block:"end",inline:"nearest"}:I(S)?S:{block:"start",inline:"nearest"}}function a(S,E){var f=!S.ownerDocument.documentElement.contains(S);if(I(E)&&typeof E.behavior=="function")return E.behavior(f?[]:y(S,E));if(f)return;var h=ge(E);return ue(y(S,h),h.behavior)}var N=L.a=a},Zss7:function(Me,L,s){var re;(function(ie){var Ie=/^\s+/,ae=/\s+$/,y=0,I=ie.round,ue=ie.min,ge=ie.max,a=ie.random;function N(T,Y){if(T=T||"",Y=Y||{},T instanceof N)return T;if(!(this instanceof N))return new N(T,Y);var k=S(T);this._originalInput=T,this._r=k.r,this._g=k.g,this._b=k.b,this._a=k.a,this._roundA=I(100*this._a)/100,this._format=Y.format||k.format,this._gradientType=Y.gradientType,this._r<1&&(this._r=I(this._r)),this._g<1&&(this._g=I(this._g)),this._b<1&&(this._b=I(this._b)),this._ok=k.ok,this._tc_id=y++}N.prototype={isDark:function(){return this.getBrightness()<128},isLight:function(){return!this.isDark()},isValid:function(){return this._ok},getOriginalInput:function(){return this._originalInput},getFormat:function(){return this._format},getAlpha:function(){return this._a},getBrightness:function(){var T=this.toRgb();return(T.r*299+T.g*587+T.b*114)/1e3},getLuminance:function(){var T=this.toRgb(),Y,k,pe,De,le,Se;return Y=T.r/255,k=T.g/255,pe=T.b/255,Y<=.03928?De=Y/12.92:De=ie.pow((Y+.055)/1.055,2.4),k<=.03928?le=k/12.92:le=ie.pow((k+.055)/1.055,2.4),pe<=.03928?Se=pe/12.92:Se=ie.pow((pe+.055)/1.055,2.4),.2126*De+.7152*le+.0722*Se},setAlpha:function(T){return this._a=_(T),this._roundA=I(100*this._a)/100,this},toHsv:function(){var T=d(this._r,this._g,this._b);return{h:T.h*360,s:T.s,v:T.v,a:this._a}},toHsvString:function(){var T=d(this._r,this._g,this._b),Y=I(T.h*360),k=I(T.s*100),pe=I(T.v*100);return this._a==1?"hsv("+Y+", "+k+"%, "+pe+"%)":"hsva("+Y+", "+k+"%, "+pe+"%, "+this._roundA+")"},toHsl:function(){var T=f(this._r,this._g,this._b);return{h:T.h*360,s:T.s,l:T.l,a:this._a}},toHslString:function(){var T=f(this._r,this._g,this._b),Y=I(T.h*360),k=I(T.s*100),pe=I(T.l*100);return this._a==1?"hsl("+Y+", "+k+"%, "+pe+"%)":"hsla("+Y+", "+k+"%, "+pe+"%, "+this._roundA+")"},toHex:function(T){return C(this._r,this._g,this._b,T)},toHexString:function(T){return"#"+this.toHex(T)},toHex8:function(T){return z(this._r,this._g,this._b,this._a,T)},toHex8String:function(T){return"#"+this.toHex8(T)},toRgb:function(){return{r:I(this._r),g:I(this._g),b:I(this._b),a:this._a}},toRgbString:function(){return this._a==1?"rgb("+I(this._r)+", "+I(this._g)+", "+I(this._b)+")":"rgba("+I(this._r)+", "+I(this._g)+", "+I(this._b)+", "+this._roundA+")"},toPercentageRgb:function(){return{r:I(A(this._r,255)*100)+"%",g:I(A(this._g,255)*100)+"%",b:I(A(this._b,255)*100)+"%",a:this._a}},toPercentageRgbString:function(){return this._a==1?"rgb("+I(A(this._r,255)*100)+"%, "+I(A(this._g,255)*100)+"%, "+I(A(this._b,255)*100)+"%)":"rgba("+I(A(this._r,255)*100)+"%, "+I(A(this._g,255)*100)+"%, "+I(A(this._b,255)*100)+"%, "+this._roundA+")"},toName:function(){return this._a===0?"transparent":this._a<1?!1:D[C(this._r,this._g,this._b,!0)]||!1},toFilter:function(T){var Y="#"+v(this._r,this._g,this._b,this._a),k=Y,pe=this._gradientType?"GradientType = 1, ":"";if(T){var De=N(T);k="#"+v(De._r,De._g,De._b,De._a)}return"progid:DXImageTransform.Microsoft.gradient("+pe+"startColorstr="+Y+",endColorstr="+k+")"},toString:function(T){var Y=!!T;T=T||this._format;var k=!1,pe=this._a<1&&this._a>=0,De=!Y&&pe&&(T==="hex"||T==="hex6"||T==="hex3"||T==="hex4"||T==="hex8"||T==="name");return De?T==="name"&&this._a===0?this.toName():this.toRgbString():(T==="rgb"&&(k=this.toRgbString()),T==="prgb"&&(k=this.toPercentageRgbString()),(T==="hex"||T==="hex6")&&(k=this.toHexString()),T==="hex3"&&(k=this.toHexString(!0)),T==="hex4"&&(k=this.toHex8String(!0)),T==="hex8"&&(k=this.toHex8String()),T==="name"&&(k=this.toName()),T==="hsl"&&(k=this.toHslString()),T==="hsv"&&(k=this.toHsvString()),k||this.toHexString())},clone:function(){return N(this.toString())},_applyModification:function(T,Y){var k=T.apply(null,[this].concat([].slice.call(Y)));return this._r=k._r,this._g=k._g,this._b=k._b,this.setAlpha(k._a),this},lighten:function(){return this._applyModification(J,arguments)},brighten:function(){return this._applyModification(P,arguments)},darken:function(){return this._applyModification(X,arguments)},desaturate:function(){return this._applyModification(g,arguments)},saturate:function(){return this._applyModification(j,arguments)},greyscale:function(){return this._applyModification(G,arguments)},spin:function(){return this._applyModification(F,arguments)},_applyCombination:function(T,Y){return T.apply(null,[this].concat([].slice.call(Y)))},analogous:function(){return this._applyCombination(W,arguments)},complement:function(){return this._applyCombination(oe,arguments)},monochromatic:function(){return this._applyCombination(H,arguments)},splitcomplement:function(){return this._applyCombination(Q,arguments)},triad:function(){return this._applyCombination(he,arguments)},tetrad:function(){return this._applyCombination(ce,arguments)}},N.fromRatio=function(T,Y){if(typeof T=="object"){var k={};for(var pe in T)T.hasOwnProperty(pe)&&(pe==="a"?k[pe]=T[pe]:k[pe]=Ae(T[pe]));T=k}return N(T,Y)};function S(T){var Y={r:0,g:0,b:0},k=1,pe=null,De=null,le=null,Se=!1,Ue=!1;return typeof T=="string"&&(T=Z(T)),typeof T=="object"&&(ve(T.r)&&ve(T.g)&&ve(T.b)?(Y=E(T.r,T.g,T.b),Se=!0,Ue=String(T.r).substr(-1)==="%"?"prgb":"rgb"):ve(T.h)&&ve(T.s)&&ve(T.v)?(pe=Ae(T.s),De=Ae(T.v),Y=m(T.h,pe,De),Se=!0,Ue="hsv"):ve(T.h)&&ve(T.s)&&ve(T.l)&&(pe=Ae(T.s),le=Ae(T.l),Y=h(T.h,pe,le),Se=!0,Ue="hsl"),T.hasOwnProperty("a")&&(k=T.a)),k=_(k),{ok:Se,format:T.format||Ue,r:ue(255,ge(Y.r,0)),g:ue(255,ge(Y.g,0)),b:ue(255,ge(Y.b,0)),a:k}}function E(T,Y,k){return{r:A(T,255)*255,g:A(Y,255)*255,b:A(k,255)*255}}function f(T,Y,k){T=A(T,255),Y=A(Y,255),k=A(k,255);var pe=ge(T,Y,k),De=ue(T,Y,k),le,Se,Ue=(pe+De)/2;if(pe==De)le=Se=0;else{var U=pe-De;Se=Ue>.5?U/(2-pe-De):U/(pe+De);switch(pe){case T:le=(Y-k)/U+(Y<k?6:0);break;case Y:le=(k-T)/U+2;break;case k:le=(T-Y)/U+4;break}le/=6}return{h:le,s:Se,l:Ue}}function h(T,Y,k){var pe,De,le;T=A(T,360),Y=A(Y,100),k=A(k,100);function Se(we,Ne,Le){return Le<0&&(Le+=1),Le>1&&(Le-=1),Le<1/6?we+(Ne-we)*6*Le:Le<1/2?Ne:Le<2/3?we+(Ne-we)*(2/3-Le)*6:we}if(Y===0)pe=De=le=k;else{var Ue=k<.5?k*(1+Y):k+Y-k*Y,U=2*k-Ue;pe=Se(U,Ue,T+1/3),De=Se(U,Ue,T),le=Se(U,Ue,T-1/3)}return{r:pe*255,g:De*255,b:le*255}}function d(T,Y,k){T=A(T,255),Y=A(Y,255),k=A(k,255);var pe=ge(T,Y,k),De=ue(T,Y,k),le,Se,Ue=pe,U=pe-De;if(Se=pe===0?0:U/pe,pe==De)le=0;else{switch(pe){case T:le=(Y-k)/U+(Y<k?6:0);break;case Y:le=(k-T)/U+2;break;case k:le=(T-Y)/U+4;break}le/=6}return{h:le,s:Se,v:Ue}}function m(T,Y,k){T=A(T,360)*6,Y=A(Y,100),k=A(k,100);var pe=ie.floor(T),De=T-pe,le=k*(1-Y),Se=k*(1-De*Y),Ue=k*(1-(1-De)*Y),U=pe%6,we=[k,Se,le,le,Ue,k][U],Ne=[Ue,k,k,Se,le,le][U],Le=[le,le,Ue,k,k,Se][U];return{r:we*255,g:Ne*255,b:Le*255}}function C(T,Y,k,pe){var De=[Ee(I(T).toString(16)),Ee(I(Y).toString(16)),Ee(I(k).toString(16))];return pe&&De[0].charAt(0)==De[0].charAt(1)&&De[1].charAt(0)==De[1].charAt(1)&&De[2].charAt(0)==De[2].charAt(1)?De[0].charAt(0)+De[1].charAt(0)+De[2].charAt(0):De.join("")}function z(T,Y,k,pe,De){var le=[Ee(I(T).toString(16)),Ee(I(Y).toString(16)),Ee(I(k).toString(16)),Ee(_e(pe))];return De&&le[0].charAt(0)==le[0].charAt(1)&&le[1].charAt(0)==le[1].charAt(1)&&le[2].charAt(0)==le[2].charAt(1)&&le[3].charAt(0)==le[3].charAt(1)?le[0].charAt(0)+le[1].charAt(0)+le[2].charAt(0)+le[3].charAt(0):le.join("")}function v(T,Y,k,pe){var De=[Ee(_e(pe)),Ee(I(T).toString(16)),Ee(I(Y).toString(16)),Ee(I(k).toString(16))];return De.join("")}N.equals=function(T,Y){return!T||!Y?!1:N(T).toRgbString()==N(Y).toRgbString()},N.random=function(){return N.fromRatio({r:a(),g:a(),b:a()})};function g(T,Y){Y=Y===0?0:Y||10;var k=N(T).toHsl();return k.s-=Y/100,k.s=l(k.s),N(k)}function j(T,Y){Y=Y===0?0:Y||10;var k=N(T).toHsl();return k.s+=Y/100,k.s=l(k.s),N(k)}function G(T){return N(T).desaturate(100)}function J(T,Y){Y=Y===0?0:Y||10;var k=N(T).toHsl();return k.l+=Y/100,k.l=l(k.l),N(k)}function P(T,Y){Y=Y===0?0:Y||10;var k=N(T).toRgb();return k.r=ge(0,ue(255,k.r-I(255*-(Y/100)))),k.g=ge(0,ue(255,k.g-I(255*-(Y/100)))),k.b=ge(0,ue(255,k.b-I(255*-(Y/100)))),N(k)}function X(T,Y){Y=Y===0?0:Y||10;var k=N(T).toHsl();return k.l-=Y/100,k.l=l(k.l),N(k)}function F(T,Y){var k=N(T).toHsl(),pe=(k.h+Y)%360;return k.h=pe<0?360+pe:pe,N(k)}function oe(T){var Y=N(T).toHsl();return Y.h=(Y.h+180)%360,N(Y)}function he(T){var Y=N(T).toHsl(),k=Y.h;return[N(T),N({h:(k+120)%360,s:Y.s,l:Y.l}),N({h:(k+240)%360,s:Y.s,l:Y.l})]}function ce(T){var Y=N(T).toHsl(),k=Y.h;return[N(T),N({h:(k+90)%360,s:Y.s,l:Y.l}),N({h:(k+180)%360,s:Y.s,l:Y.l}),N({h:(k+270)%360,s:Y.s,l:Y.l})]}function Q(T){var Y=N(T).toHsl(),k=Y.h;return[N(T),N({h:(k+72)%360,s:Y.s,l:Y.l}),N({h:(k+216)%360,s:Y.s,l:Y.l})]}function W(T,Y,k){Y=Y||6,k=k||30;var pe=N(T).toHsl(),De=360/k,le=[N(T)];for(pe.h=(pe.h-(De*Y>>1)+720)%360;--Y;)pe.h=(pe.h+De)%360,le.push(N(pe));return le}function H(T,Y){Y=Y||6;for(var k=N(T).toHsv(),pe=k.h,De=k.s,le=k.v,Se=[],Ue=1/Y;Y--;)Se.push(N({h:pe,s:De,v:le})),le=(le+Ue)%1;return Se}N.mix=function(T,Y,k){k=k===0?0:k||50;var pe=N(T).toRgb(),De=N(Y).toRgb(),le=k/100,Se={r:(De.r-pe.r)*le+pe.r,g:(De.g-pe.g)*le+pe.g,b:(De.b-pe.b)*le+pe.b,a:(De.a-pe.a)*le+pe.a};return N(Se)},N.readability=function(T,Y){var k=N(T),pe=N(Y);return(ie.max(k.getLuminance(),pe.getLuminance())+.05)/(ie.min(k.getLuminance(),pe.getLuminance())+.05)},N.isReadable=function(T,Y,k){var pe=N.readability(T,Y),De,le;le=!1,De=Oe(k);switch(De.level+De.size){case"AAsmall":case"AAAlarge":le=pe>=4.5;break;case"AAlarge":le=pe>=3;break;case"AAAsmall":le=pe>=7;break}return le},N.mostReadable=function(T,Y,k){var pe=null,De=0,le,Se,Ue,U;k=k||{},Se=k.includeFallbackColors,Ue=k.level,U=k.size;for(var we=0;we<Y.length;we++)le=N.readability(T,Y[we]),le>De&&(De=le,pe=N(Y[we]));return N.isReadable(T,pe,{level:Ue,size:U})||!Se?pe:(k.includeFallbackColors=!1,N.mostReadable(T,["#fff","#000"],k))};var Re=N.names={aliceblue:"f0f8ff",antiquewhite:"faebd7",aqua:"0ff",aquamarine:"7fffd4",azure:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"000",blanchedalmond:"ffebcd",blue:"00f",blueviolet:"8a2be2",brown:"a52a2a",burlywood:"deb887",burntsienna:"ea7e5d",cadetblue:"5f9ea0",chartreuse:"7fff00",chocolate:"d2691e",coral:"ff7f50",cornflowerblue:"6495ed",cornsilk:"fff8dc",crimson:"dc143c",cyan:"0ff",darkblue:"00008b",darkcyan:"008b8b",darkgoldenrod:"b8860b",darkgray:"a9a9a9",darkgreen:"006400",darkgrey:"a9a9a9",darkkhaki:"bdb76b",darkmagenta:"8b008b",darkolivegreen:"556b2f",darkorange:"ff8c00",darkorchid:"9932cc",darkred:"8b0000",darksalmon:"e9967a",darkseagreen:"8fbc8f",darkslateblue:"483d8b",darkslategray:"2f4f4f",darkslategrey:"2f4f4f",darkturquoise:"00ced1",darkviolet:"9400d3",deeppink:"ff1493",deepskyblue:"00bfff",dimgray:"696969",dimgrey:"696969",dodgerblue:"1e90ff",firebrick:"b22222",floralwhite:"fffaf0",forestgreen:"228b22",fuchsia:"f0f",gainsboro:"dcdcdc",ghostwhite:"f8f8ff",gold:"ffd700",goldenrod:"daa520",gray:"808080",green:"008000",greenyellow:"adff2f",grey:"808080",honeydew:"f0fff0",hotpink:"ff69b4",indianred:"cd5c5c",indigo:"4b0082",ivory:"fffff0",khaki:"f0e68c",lavender:"e6e6fa",lavenderblush:"fff0f5",lawngreen:"7cfc00",lemonchiffon:"fffacd",lightblue:"add8e6",lightcoral:"f08080",lightcyan:"e0ffff",lightgoldenrodyellow:"fafad2",lightgray:"d3d3d3",lightgreen:"90ee90",lightgrey:"d3d3d3",lightpink:"ffb6c1",lightsalmon:"ffa07a",lightseagreen:"20b2aa",lightskyblue:"87cefa",lightslategray:"789",lightslategrey:"789",lightsteelblue:"b0c4de",lightyellow:"ffffe0",lime:"0f0",limegreen:"32cd32",linen:"faf0e6",magenta:"f0f",maroon:"800000",mediumaquamarine:"66cdaa",mediumblue:"0000cd",mediumorchid:"ba55d3",mediumpurple:"9370db",mediumseagreen:"3cb371",mediumslateblue:"7b68ee",mediumspringgreen:"00fa9a",mediumturquoise:"48d1cc",mediumvioletred:"c71585",midnightblue:"191970",mintcream:"f5fffa",mistyrose:"ffe4e1",moccasin:"ffe4b5",navajowhite:"ffdead",navy:"000080",oldlace:"fdf5e6",olive:"808000",olivedrab:"6b8e23",orange:"ffa500",orangered:"ff4500",orchid:"da70d6",palegoldenrod:"eee8aa",palegreen:"98fb98",paleturquoise:"afeeee",palevioletred:"db7093",papayawhip:"ffefd5",peachpuff:"ffdab9",peru:"cd853f",pink:"ffc0cb",plum:"dda0dd",powderblue:"b0e0e6",purple:"800080",rebeccapurple:"663399",red:"f00",rosybrown:"bc8f8f",royalblue:"4169e1",saddlebrown:"8b4513",salmon:"fa8072",sandybrown:"f4a460",seagreen:"2e8b57",seashell:"fff5ee",sienna:"a0522d",silver:"c0c0c0",skyblue:"87ceeb",slateblue:"6a5acd",slategray:"708090",slategrey:"708090",snow:"fffafa",springgreen:"00ff7f",steelblue:"4682b4",tan:"d2b48c",teal:"008080",thistle:"d8bfd8",tomato:"ff6347",turquoise:"40e0d0",violet:"ee82ee",wheat:"f5deb3",white:"fff",whitesmoke:"f5f5f5",yellow:"ff0",yellowgreen:"9acd32"},D=N.hexNames=u(Re);function u(T){var Y={};for(var k in T)T.hasOwnProperty(k)&&(Y[T[k]]=k);return Y}function _(T){return T=parseFloat(T),(isNaN(T)||T<0||T>1)&&(T=1),T}function A(T,Y){M(T)&&(T="100%");var k=fe(T);return T=ue(Y,ge(0,parseFloat(T))),k&&(T=parseInt(T*Y,10)/100),ie.abs(T-Y)<1e-6?1:T%Y/parseFloat(Y)}function l(T){return ue(1,ge(0,T))}function R(T){return parseInt(T,16)}function M(T){return typeof T=="string"&&T.indexOf(".")!=-1&&parseFloat(T)===1}function fe(T){return typeof T=="string"&&T.indexOf("%")!=-1}function Ee(T){return T.length==1?"0"+T:""+T}function Ae(T){return T<=1&&(T=T*100+"%"),T}function _e(T){return ie.round(parseFloat(T)*255).toString(16)}function K(T){return R(T)/255}var ee=function(){var T="[-\\+]?\\d+%?",Y="[-\\+]?\\d*\\.\\d+%?",k="(?:"+Y+")|(?:"+T+")",pe="[\\s|\\(]+("+k+")[,|\\s]+("+k+")[,|\\s]+("+k+")\\s*\\)?",De="[\\s|\\(]+("+k+")[,|\\s]+("+k+")[,|\\s]+("+k+")[,|\\s]+("+k+")\\s*\\)?";return{CSS_UNIT:new RegExp(k),rgb:new RegExp("rgb"+pe),rgba:new RegExp("rgba"+De),hsl:new RegExp("hsl"+pe),hsla:new RegExp("hsla"+De),hsv:new RegExp("hsv"+pe),hsva:new RegExp("hsva"+De),hex3:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex6:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/,hex4:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex8:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/}}();function ve(T){return!!ee.CSS_UNIT.exec(T)}function Z(T){T=T.replace(Ie,"").replace(ae,"").toLowerCase();var Y=!1;if(Re[T])T=Re[T],Y=!0;else if(T=="transparent")return{r:0,g:0,b:0,a:0,format:"name"};var k;return(k=ee.rgb.exec(T))?{r:k[1],g:k[2],b:k[3]}:(k=ee.rgba.exec(T))?{r:k[1],g:k[2],b:k[3],a:k[4]}:(k=ee.hsl.exec(T))?{h:k[1],s:k[2],l:k[3]}:(k=ee.hsla.exec(T))?{h:k[1],s:k[2],l:k[3],a:k[4]}:(k=ee.hsv.exec(T))?{h:k[1],s:k[2],v:k[3]}:(k=ee.hsva.exec(T))?{h:k[1],s:k[2],v:k[3],a:k[4]}:(k=ee.hex8.exec(T))?{r:R(k[1]),g:R(k[2]),b:R(k[3]),a:K(k[4]),format:Y?"name":"hex8"}:(k=ee.hex6.exec(T))?{r:R(k[1]),g:R(k[2]),b:R(k[3]),format:Y?"name":"hex"}:(k=ee.hex4.exec(T))?{r:R(k[1]+""+k[1]),g:R(k[2]+""+k[2]),b:R(k[3]+""+k[3]),a:K(k[4]+""+k[4]),format:Y?"name":"hex8"}:(k=ee.hex3.exec(T))?{r:R(k[1]+""+k[1]),g:R(k[2]+""+k[2]),b:R(k[3]+""+k[3]),format:Y?"name":"hex"}:!1}function Oe(T){var Y,k;return T=T||{level:"AA",size:"small"},Y=(T.level||"AA").toUpperCase(),k=(T.size||"small").toLowerCase(),Y!=="AA"&&Y!=="AAA"&&(Y="AA"),k!=="small"&&k!=="large"&&(k="small"),{level:Y,size:k}}Me.exports?Me.exports=N:!(re=function(){return N}.call(L,s,L,Me),re!==void 0&&(Me.exports=re))})(Math)},aVK0:function(Me,L,s){Me.exports={flex_box_center:"flex_box_center___21Vfj",flex_space_between:"flex_space_between___uZYuI",flex_box_vertical_center:"flex_box_vertical_center___YbtWj",flex_box_center_end:"flex_box_center_end_____Dod",flex_box_column:"flex_box_column___38gQH",headLeft:"headLeft___2agg1",colorBlue:"colorBlue___3Vx0N",wrap:"wrap___2WfDC",nodata:"nodata___2f07p",nodataText:"nodataText___3TEWn",content:"content___2_atz",gitCode:"gitCode___3gBXU",ellipsis:"ellipsis___1HiNM",menu:"menu___1DQOO",overlayClass:"overlayClass___2EPCd",tips:"tips___3g6oq"}},bT9E:function(Me,L,s){"use strict";s.d(L,"a",function(){return ie});var re=s("VTBJ");function ie(Ie,ae){var y=Object(re.a)({},Ie);return Array.isArray(ae)&&ae.forEach(function(I){delete y[I]}),y}},c5Ni:function(Me,L,s){},cRFk:function(Me,L,s){Me.exports=s.p+"static/RepositoryNoneData.828085a8.png"},csWT:function(Me,L,s){Me.exports=s.p+"static/choose.4ad1045f.svg"},djh8:function(Me,L,s){Me.exports=s.p+"static/qrCode.d852fdfc.png"},fAei:function(Me,L,s){"use strict";s.d(L,"a",function(){return g.a});var re=s("rePB"),ie=s("VTBJ"),Ie=s("KQm4"),ae=s("1OyB"),y=s("vuIU"),I=s("Ji7U"),ue=s("LK+K"),ge=s("q1tI"),a=s("4IlW"),N=s("Kwbf"),S=s("TSYQ"),E=s.n(S),f=s("sboe"),h=s("OZM5"),d=s("815F"),m=s("ODXe"),C=s("Ff2n"),z=s("+nKL"),v=s("8XRh"),g=s("WaYH"),j=function(Ae,_e){var K=Ae.className,ee=Ae.style,ve=Ae.motion,Z=Ae.motionNodes,Oe=Ae.motionType,T=Ae.onMotionStart,Y=Ae.onMotionEnd,k=Ae.active,pe=Ae.treeNodeRequiredProps,De=Object(C.a)(Ae,["className","style","motion","motionNodes","motionType","onMotionStart","onMotionEnd","active","treeNodeRequiredProps"]),le=ge.useState(!0),Se=Object(m.a)(le,2),Ue=Se[0],U=Se[1],we=ge.useContext(f.a),Ne=we.prefixCls,Le=ge.useRef(!1),Ye=function(){Le.current||Y(),Le.current=!0};return Object(ge.useEffect)(function(){Z&&Oe==="hide"&&Ue&&U(!1)},[Z]),Object(ge.useEffect)(function(){return Z&&T(),function(){Z&&Ye()}},[]),Z?ge.createElement(v.default,Object.assign({ref:_e,visible:Ue},ve,{motionAppear:Oe==="show",onAppearEnd:Ye,onLeaveEnd:Ye}),function(Qe,ot){var Ve=Qe.className,_t=Qe.style;return ge.createElement("div",{ref:ot,className:E()("".concat(Ne,"-treenode-motion"),Ve),style:_t},Z.map(function(mt){var Lt=mt.data,$e=Lt.key,Xn=Object(C.a)(Lt,["key"]),Rn=mt.isStart,Bt=mt.isEnd;delete Xn.children;var ut=Object(d.f)($e,pe);return ge.createElement(g.a,Object.assign({},Xn,ut,{active:k,data:mt.data,key:$e,isStart:Rn,isEnd:Bt}))}))}):ge.createElement(g.a,Object.assign({domRef:_e,className:K,style:ee},De,{active:k}))};j.displayName="MotionTreeNode";var G=ge.forwardRef(j),J=G;function P(){var Ee=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],Ae=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],_e=Ee.length,K=Ae.length;if(Math.abs(_e-K)!==1)return{add:!1,key:null};function ee(ve,Z){var Oe=new Map;ve.forEach(function(Y){Oe.set(Y,!0)});var T=Z.filter(function(Y){return!Oe.has(Y)});return T.length===1?T[0]:null}return _e<K?{add:!0,key:ee(Ee,Ae)}:{add:!1,key:ee(Ae,Ee)}}function X(Ee,Ae,_e){var K=Ee.findIndex(function(Oe){var T=Oe.data;return T.key===_e}),ee=Ee[K+1],ve=Ae.findIndex(function(Oe){var T=Oe.data;return T.key===_e});if(ee){var Z=Ae.findIndex(function(Oe){var T=Oe.data;return T.key===ee.data.key});return Ae.slice(ve+1,Z)}return Ae.slice(ve+1)}var F={width:0,height:0,display:"flex",overflow:"hidden",opacity:0,border:0,padding:0,margin:0},oe=function(){},he="RC_TREE_MOTION_".concat(Math.random()),ce={key:he},Q={key:he,level:0,index:0,pos:"0",node:ce},W={parent:null,children:[],pos:Q.pos,data:ce,isStart:[],isEnd:[]};function H(Ee,Ae,_e,K){return Ae===!1||!_e?Ee:Ee.slice(0,Math.ceil(_e/K)+1)}function Re(Ee){var Ae=Ee.data.key,_e=Ee.pos;return Object(d.e)(Ae,_e)}function D(Ee){for(var Ae=String(Ee.data.key),_e=Ee;_e.parent;)_e=_e.parent,Ae="".concat(_e.data.key," > ").concat(Ae);return Ae}var u=function(Ae,_e){var K=Ae.prefixCls,ee=Ae.data,ve=Ae.selectable,Z=Ae.checkable,Oe=Ae.expandedKeys,T=Ae.selectedKeys,Y=Ae.checkedKeys,k=Ae.loadedKeys,pe=Ae.loadingKeys,De=Ae.halfCheckedKeys,le=Ae.keyEntities,Se=Ae.disabled,Ue=Ae.dragging,U=Ae.dragOverNodeKey,we=Ae.dropPosition,Ne=Ae.motion,Le=Ae.height,Ye=Ae.itemHeight,Qe=Ae.virtual,ot=Ae.focusable,Ve=Ae.activeItem,_t=Ae.focused,mt=Ae.tabIndex,Lt=Ae.onKeyDown,$e=Ae.onFocus,Xn=Ae.onBlur,Rn=Ae.onActiveChange,Bt=Ae.onListChangeStart,ut=Ae.onListChangeEnd,Wt=Object(C.a)(Ae,["prefixCls","data","selectable","checkable","expandedKeys","selectedKeys","checkedKeys","loadedKeys","loadingKeys","halfCheckedKeys","keyEntities","disabled","dragging","dragOverNodeKey","dropPosition","motion","height","itemHeight","virtual","focusable","activeItem","focused","tabIndex","onKeyDown","onFocus","onBlur","onActiveChange","onListChangeStart","onListChangeEnd"]),It=ge.useRef(null);ge.useImperativeHandle(_e,function(){return{scrollTo:function(Ze){It.current.scrollTo(Ze)}}});var pn=ge.useState(Oe),en=Object(m.a)(pn,2),xn=en[0],oi=en[1],On=ge.useState(ee),si=Object(m.a)(On,2),Ti=si[0],li=si[1],ir=ge.useState(ee),rr=Object(m.a)(ir,2),Yi=rr[0],Pi=rr[1],Si=ge.useState([]),hi=Object(m.a)(Si,2),mr=hi[0],ht=hi[1],We=ge.useState(null),pt=Object(m.a)(We,2),Dt=pt[0],Ht=pt[1];function Ut(){li(ee),Pi(ee),ht([]),Ht(null),ut()}ge.useEffect(function(){oi(Oe);var rt=P(xn,Oe);if(rt.key!==null)if(rt.add){var Ze=Ti.findIndex(function(Zt){var Ot=Zt.data.key;return Ot===rt.key}),at=H(X(Ti,ee,rt.key),Qe,Le,Ye),Xe=Ti.slice();Xe.splice(Ze+1,0,W),Pi(Xe),ht(at),Ht("show")}else{var Ct=ee.findIndex(function(Zt){var Ot=Zt.data.key;return Ot===rt.key}),Ge=H(X(ee,Ti,rt.key),Qe,Le,Ye),ze=ee.slice();ze.splice(Ct+1,0,W),Pi(ze),ht(Ge),Ht("hide")}else Ti!==ee&&(li(ee),Pi(ee))},[Oe,ee]),ge.useEffect(function(){Ue||Ut()},[Ue]);var In=Ne?Yi:ee,ln={expandedKeys:Oe,selectedKeys:T,loadedKeys:k,loadingKeys:pe,checkedKeys:Y,halfCheckedKeys:De,dragOverNodeKey:U,dropPosition:we,keyEntities:le};return ge.createElement(ge.Fragment,null,_t&&Ve&&ge.createElement("span",{style:F,"aria-live":"assertive"},D(Ve)),ge.createElement("div",{role:"tree"},ge.createElement("input",{style:F,disabled:ot===!1||Se,tabIndex:ot!==!1?mt:null,onKeyDown:Lt,onFocus:$e,onBlur:Xn,value:"",onChange:oe})),ge.createElement(z.a,Object.assign({},Wt,{data:In,itemKey:Re,height:Le,fullHeight:!1,virtual:Qe,itemHeight:Ye,prefixCls:"".concat(K,"-list"),ref:It}),function(rt){var Ze=rt.pos,at=rt.data,Xe=at.key,Ct=Object(C.a)(at,["key"]),Ge=rt.isStart,ze=rt.isEnd,Zt=Object(d.e)(Xe,Ze);delete Ct.children;var Ot=Object(d.f)(Zt,ln);return ge.createElement(J,Object.assign({},Ct,Ot,{active:Ve&&Xe===Ve.data.key,pos:Ze,data:rt.data,isStart:Ge,isEnd:ze,motion:Ne,motionNodes:Xe===he?mr:null,motionType:Dt,onMotionStart:Bt,onMotionEnd:Ut,treeNodeRequiredProps:ln,onMouseMove:function(){Rn(null)}}))}))},_=ge.forwardRef(u);_.displayName="NodeList";var A=_,l=s("NvD2"),R=function(Ee){Object(I.a)(_e,Ee);var Ae=Object(ue.a)(_e);function _e(){var K;return Object(ae.a)(this,_e),K=Ae.apply(this,arguments),K.destroyed=!1,K.state={keyEntities:{},selectedKeys:[],checkedKeys:[],halfCheckedKeys:[],loadedKeys:[],loadingKeys:[],expandedKeys:[],dragging:!1,dragNodesKeys:[],dragOverNodeKey:null,dropPosition:null,treeData:[],flattenNodes:[],focused:!1,activeKey:null,listChanging:!1,prevProps:null},K.listRef=ge.createRef(),K.onNodeDragStart=function(ee,ve){var Z=K.state,Oe=Z.expandedKeys,T=Z.keyEntities,Y=K.props.onDragStart,k=ve.props.eventKey;K.dragNode=ve;var pe=Object(h.b)(Oe,k);K.setState({dragging:!0,dragNodesKeys:Object(h.g)(k,T)}),K.setExpandedKeys(pe),Y&&Y({event:ee,node:Object(d.b)(ve.props)})},K.onNodeDragEnter=function(ee,ve){var Z=K.state,Oe=Z.expandedKeys,T=Z.keyEntities,Y=Z.dragNodesKeys,k=K.props.onDragEnter,pe=ve.props,De=pe.pos,le=pe.eventKey;if(!K.dragNode||Y.indexOf(le)!==-1)return;var Se=Object(h.c)(ee,ve);if(K.dragNode.props.eventKey===le&&Se===0){K.setState({dragOverNodeKey:"",dropPosition:null});return}setTimeout(function(){K.setState({dragOverNodeKey:le,dropPosition:Se}),K.delayedDragEnterLogic||(K.delayedDragEnterLogic={}),Object.keys(K.delayedDragEnterLogic).forEach(function(Ue){clearTimeout(K.delayedDragEnterLogic[Ue])}),K.delayedDragEnterLogic[De]=window.setTimeout(function(){if(!K.state.dragging)return;var Ue=Object(Ie.a)(Oe),U=T[le];U&&(U.children||[]).length&&(Ue=Object(h.a)(Oe,le)),"expandedKeys"in K.props||K.setExpandedKeys(Ue),k&&k({event:ee,node:Object(d.b)(ve.props),expandedKeys:Ue})},400)},0)},K.onNodeDragOver=function(ee,ve){var Z=K.state.dragNodesKeys,Oe=K.props.onDragOver,T=ve.props.eventKey;if(Z.indexOf(T)!==-1)return;if(K.dragNode&&T===K.state.dragOverNodeKey){var Y=Object(h.c)(ee,ve);if(Y===K.state.dropPosition)return;K.setState({dropPosition:Y})}Oe&&Oe({event:ee,node:Object(d.b)(ve.props)})},K.onNodeDragLeave=function(ee,ve){var Z=K.props.onDragLeave;K.setState({dragOverNodeKey:""}),Z&&Z({event:ee,node:Object(d.b)(ve.props)})},K.onNodeDragEnd=function(ee,ve){var Z=K.props.onDragEnd;K.setState({dragOverNodeKey:""}),K.cleanDragState(),Z&&Z({event:ee,node:Object(d.b)(ve.props)}),K.dragNode=null},K.onNodeDrop=function(ee,ve){var Z=K.state,Oe=Z.dragNodesKeys,T=Oe===void 0?[]:Oe,Y=Z.dropPosition,k=K.props.onDrop,pe=ve.props,De=pe.eventKey,le=pe.pos;if(K.setState({dragOverNodeKey:""}),K.cleanDragState(),T.indexOf(De)!==-1){Object(N.a)(!1,"Can not drop to dragNode(include it's children node)");return}var Se=Object(h.k)(le),Ue={event:ee,node:Object(d.b)(ve.props),dragNode:K.dragNode?Object(d.b)(K.dragNode.props):null,dragNodesKeys:T.slice(),dropPosition:Y+Number(Se[Se.length-1]),dropToGap:!1};Y!==0&&(Ue.dropToGap=!0),k&&k(Ue),K.dragNode=null},K.cleanDragState=function(){var ee=K.state.dragging;ee&&K.setState({dragging:!1})},K.onNodeClick=function(ee,ve){var Z=K.props.onClick;Z&&Z(ee,ve)},K.onNodeDoubleClick=function(ee,ve){var Z=K.props.onDoubleClick;Z&&Z(ee,ve)},K.onNodeSelect=function(ee,ve){var Z=K.state.selectedKeys,Oe=K.state.keyEntities,T=K.props,Y=T.onSelect,k=T.multiple,pe=ve.selected,De=ve.key,le=!pe;le?k?Z=Object(h.a)(Z,De):Z=[De]:Z=Object(h.b)(Z,De);var Se=Z.map(function(Ue){var U=Oe[Ue];return U?U.node:null}).filter(function(Ue){return Ue});K.setUncontrolledState({selectedKeys:Z}),Y&&Y(Z,{event:"select",selected:le,node:ve,selectedNodes:Se,nativeEvent:ee.nativeEvent})},K.onNodeCheck=function(ee,ve,Z){var Oe=K.state,T=Oe.keyEntities,Y=Oe.checkedKeys,k=Oe.halfCheckedKeys,pe=K.props,De=pe.checkStrictly,le=pe.onCheck,Se=ve.key,Ue,U={event:"check",node:ve,checked:Z,nativeEvent:ee.nativeEvent};if(De){var we=Z?Object(h.a)(Y,Se):Object(h.b)(Y,Se),Ne=Object(h.b)(k,Se);Ue={checked:we,halfChecked:Ne},U.checkedNodes=we.map(function(_t){return T[_t]}).filter(function(_t){return _t}).map(function(_t){return _t.node}),K.setUncontrolledState({checkedKeys:we})}else{var Le=Object(l.a)([].concat(Object(Ie.a)(Y),[Se]),!0,T),Ye=Le.checkedKeys,Qe=Le.halfCheckedKeys;if(!Z){var ot=new Set(Ye);ot.delete(Se);var Ve=Object(l.a)(Array.from(ot),{checked:!1,halfCheckedKeys:Qe},T);Ye=Ve.checkedKeys,Qe=Ve.halfCheckedKeys}Ue=Ye,U.checkedNodes=[],U.checkedNodesPositions=[],U.halfCheckedKeys=Qe,Ye.forEach(function(_t){var mt=T[_t];if(!mt)return;var Lt=mt.node,$e=mt.pos;U.checkedNodes.push(Lt),U.checkedNodesPositions.push({node:Lt,pos:$e})}),K.setUncontrolledState({checkedKeys:Ye},!1,{halfCheckedKeys:Qe})}le&&le(Ue,U)},K.onNodeLoad=function(ee){return new Promise(function(ve){K.setState(function(Z){var Oe=Z.loadedKeys,T=Oe===void 0?[]:Oe,Y=Z.loadingKeys,k=Y===void 0?[]:Y,pe=K.props,De=pe.loadData,le=pe.onLoad,Se=ee.key;if(!De||T.indexOf(Se)!==-1||k.indexOf(Se)!==-1)return{};var Ue=De(ee);return Ue.then(function(){var U=K.state,we=U.loadedKeys,Ne=U.loadingKeys,Le=Object(h.a)(we,Se),Ye=Object(h.b)(Ne,Se);le&&le(Le,{event:"load",node:ee}),K.setUncontrolledState({loadedKeys:Le}),K.setState({loadingKeys:Ye}),ve()}),{loadingKeys:Object(h.a)(k,Se)}})})},K.onNodeMouseEnter=function(ee,ve){var Z=K.props.onMouseEnter;Z&&Z({event:ee,node:ve})},K.onNodeMouseLeave=function(ee,ve){var Z=K.props.onMouseLeave;Z&&Z({event:ee,node:ve})},K.onNodeContextMenu=function(ee,ve){var Z=K.props.onRightClick;Z&&(ee.preventDefault(),Z({event:ee,node:ve}))},K.onFocus=function(){var ee=K.props.onFocus;K.setState({focused:!0}),ee&&ee.apply(void 0,arguments)},K.onBlur=function(){var ee=K.props.onBlur;K.setState({focused:!1}),K.onActiveChange(null),ee&&ee.apply(void 0,arguments)},K.getTreeNodeRequiredProps=function(){var ee=K.state,ve=ee.expandedKeys,Z=ee.selectedKeys,Oe=ee.loadedKeys,T=ee.loadingKeys,Y=ee.checkedKeys,k=ee.halfCheckedKeys,pe=ee.dragOverNodeKey,De=ee.dropPosition,le=ee.keyEntities;return{expandedKeys:ve||[],selectedKeys:Z||[],loadedKeys:Oe||[],loadingKeys:T||[],checkedKeys:Y||[],halfCheckedKeys:k||[],dragOverNodeKey:pe,dropPosition:De,keyEntities:le}},K.setExpandedKeys=function(ee){var ve=K.state.treeData,Z=Object(d.d)(ve,ee);K.setUncontrolledState({expandedKeys:ee,flattenNodes:Z},!0)},K.onNodeExpand=function(ee,ve){var Z=K.state.expandedKeys,Oe=K.state.listChanging,T=K.props,Y=T.onExpand,k=T.loadData,pe=ve.key,De=ve.expanded;if(Oe)return;var le=Z.indexOf(pe),Se=!De;if(Object(N.a)(De&&le!==-1||!De&&le===-1,"Expand state not sync with index check"),Se?Z=Object(h.a)(Z,pe):Z=Object(h.b)(Z,pe),K.setExpandedKeys(Z),Y&&Y(Z,{node:ve,expanded:Se,nativeEvent:ee.nativeEvent}),Se&&k){var Ue=K.onNodeLoad(ve);Ue&&Ue.then(function(){var U=Object(d.d)(K.state.treeData,Z);K.setUncontrolledState({flattenNodes:U})})}},K.onListChangeStart=function(){K.setUncontrolledState({listChanging:!0})},K.onListChangeEnd=function(){setTimeout(function(){K.setUncontrolledState({listChanging:!1})})},K.onActiveChange=function(ee){var ve=K.state.activeKey,Z=K.props.onActiveChange;if(ve===ee)return;K.setState({activeKey:ee}),ee!==null&&K.scrollTo({key:ee}),Z&&Z(ee)},K.getActiveItem=function(){var ee=K.state,ve=ee.activeKey,Z=ee.flattenNodes;return ve===null?null:Z.find(function(Oe){var T=Oe.data.key;return T===ve})||null},K.offsetActiveKey=function(ee){var ve=K.state,Z=ve.flattenNodes,Oe=ve.activeKey,T=Z.findIndex(function(pe){var De=pe.data.key;return De===Oe});T===-1&&ee<0&&(T=Z.length),T=(T+ee+Z.length)%Z.length;var Y=Z[T];if(Y){var k=Y.data.key;K.onActiveChange(k)}else K.onActiveChange(null)},K.onKeyDown=function(ee){var ve=K.state,Z=ve.activeKey,Oe=ve.expandedKeys,T=ve.checkedKeys,Y=K.props,k=Y.onKeyDown,pe=Y.checkable,De=Y.selectable;switch(ee.which){case a.a.UP:{K.offsetActiveKey(-1),ee.preventDefault();break}case a.a.DOWN:{K.offsetActiveKey(1),ee.preventDefault();break}}var le=K.getActiveItem();if(le&&le.data){var Se=K.getTreeNodeRequiredProps(),Ue=le.data.isLeaf===!1||!!(le.data.children||[]).length,U=Object(d.b)(Object(ie.a)(Object(ie.a)({},Object(d.f)(Z,Se)),{},{data:le.data,active:!0}));switch(ee.which){case a.a.LEFT:{Ue&&Oe.includes(Z)?K.onNodeExpand({},U):le.parent&&K.onActiveChange(le.parent.data.key),ee.preventDefault();break}case a.a.RIGHT:{Ue&&!Oe.includes(Z)?K.onNodeExpand({},U):le.children&&le.children.length&&K.onActiveChange(le.children[0].data.key),ee.preventDefault();break}case a.a.ENTER:case a.a.SPACE:{pe&&!U.disabled&&U.checkable!==!1&&!U.disableCheckbox?K.onNodeCheck({},U,!T.includes(Z)):!pe&&De&&!U.disabled&&U.selectable!==!1&&K.onNodeSelect({},U);break}}}k&&k(ee)},K.setUncontrolledState=function(ee){var ve=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,Z=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null;if(K.destroyed)return;var Oe=!1,T=!0,Y={};Object.keys(ee).forEach(function(k){if(k in K.props){T=!1;return}Oe=!0,Y[k]=ee[k]}),Oe&&(!ve||T)&&K.setState(Object(ie.a)(Object(ie.a)({},Y),Z))},K.scrollTo=function(ee){K.listRef.current.scrollTo(ee)},K}return Object(y.a)(_e,[{key:"componentWillUnmount",value:function(){this.destroyed=!0}},{key:"render",value:function(){var ee,ve=this.state,Z=ve.focused,Oe=ve.flattenNodes,T=ve.keyEntities,Y=ve.dragging,k=ve.activeKey,pe=this.props,De=pe.prefixCls,le=pe.className,Se=pe.style,Ue=pe.showLine,U=pe.focusable,we=pe.tabIndex,Ne=we===void 0?0:we,Le=pe.selectable,Ye=pe.showIcon,Qe=pe.icon,ot=pe.switcherIcon,Ve=pe.draggable,_t=pe.checkable,mt=pe.checkStrictly,Lt=pe.disabled,$e=pe.motion,Xn=pe.loadData,Rn=pe.filterTreeNode,Bt=pe.height,ut=pe.itemHeight,Wt=pe.virtual,It=pe.titleRender,pn=pe.onContextMenu,en=Object(h.f)(this.props);return ge.createElement(f.a.Provider,{value:{prefixCls:De,selectable:Le,showIcon:Ye,icon:Qe,switcherIcon:ot,draggable:Ve,checkable:_t,checkStrictly:mt,disabled:Lt,keyEntities:T,loadData:Xn,filterTreeNode:Rn,titleRender:It,onNodeClick:this.onNodeClick,onNodeDoubleClick:this.onNodeDoubleClick,onNodeExpand:this.onNodeExpand,onNodeSelect:this.onNodeSelect,onNodeCheck:this.onNodeCheck,onNodeLoad:this.onNodeLoad,onNodeMouseEnter:this.onNodeMouseEnter,onNodeMouseLeave:this.onNodeMouseLeave,onNodeContextMenu:this.onNodeContextMenu,onNodeDragStart:this.onNodeDragStart,onNodeDragEnter:this.onNodeDragEnter,onNodeDragOver:this.onNodeDragOver,onNodeDragLeave:this.onNodeDragLeave,onNodeDragEnd:this.onNodeDragEnd,onNodeDrop:this.onNodeDrop}},ge.createElement("div",{className:E()(De,le,(ee={},Object(re.a)(ee,"".concat(De,"-show-line"),Ue),Object(re.a)(ee,"".concat(De,"-focused"),Z),Object(re.a)(ee,"".concat(De,"-active-focused"),k!==null),ee))},ge.createElement(A,Object.assign({ref:this.listRef,prefixCls:De,style:Se,data:Oe,disabled:Lt,selectable:Le,checkable:!!_t,motion:$e,dragging:Y,height:Bt,itemHeight:ut,virtual:Wt,focusable:U,focused:Z,tabIndex:Ne,activeItem:this.getActiveItem(),onFocus:this.onFocus,onBlur:this.onBlur,onKeyDown:this.onKeyDown,onActiveChange:this.onActiveChange,onListChangeStart:this.onListChangeStart,onListChangeEnd:this.onListChangeEnd,onContextMenu:pn},this.getTreeNodeRequiredProps(),en))))}}],[{key:"getDerivedStateFromProps",value:function(ee,ve){var Z=ve.prevProps,Oe={prevProps:ee};function T(Qe){return!Z&&Qe in ee||Z&&Z[Qe]!==ee[Qe]}var Y;if(T("treeData")?Y=ee.treeData:T("children")&&(Object(N.a)(!1,"`children` of Tree is deprecated. Please use `treeData` instead."),Y=Object(d.c)(ee.children)),Y){Oe.treeData=Y;var k=Object(d.a)(Y);Oe.keyEntities=Object(ie.a)(Object(re.a)({},he,Q),k.keyEntities)}var pe=Oe.keyEntities||ve.keyEntities;if(T("expandedKeys")||Z&&T("autoExpandParent"))Oe.expandedKeys=ee.autoExpandParent||!Z&&ee.defaultExpandParent?Object(h.e)(ee.expandedKeys,pe):ee.expandedKeys;else if(!Z&&ee.defaultExpandAll){var De=Object(ie.a)({},pe);delete De[he],Oe.expandedKeys=Object.keys(De).map(function(Qe){return De[Qe].key})}else!Z&&ee.defaultExpandedKeys&&(Oe.expandedKeys=ee.autoExpandParent||ee.defaultExpandParent?Object(h.e)(ee.defaultExpandedKeys,pe):ee.defaultExpandedKeys);if(Oe.expandedKeys||delete Oe.expandedKeys,Y||Oe.expandedKeys){var le=Object(d.d)(Y||ve.treeData,Oe.expandedKeys||ve.expandedKeys);Oe.flattenNodes=le}if(ee.selectable&&(T("selectedKeys")?Oe.selectedKeys=Object(h.d)(ee.selectedKeys,ee):!Z&&ee.defaultSelectedKeys&&(Oe.selectedKeys=Object(h.d)(ee.defaultSelectedKeys,ee))),ee.checkable){var Se;if(T("checkedKeys")?Se=Object(h.j)(ee.checkedKeys)||{}:!Z&&ee.defaultCheckedKeys?Se=Object(h.j)(ee.defaultCheckedKeys)||{}:Y&&(Se=Object(h.j)(ee.checkedKeys)||{checkedKeys:ve.checkedKeys,halfCheckedKeys:ve.halfCheckedKeys}),Se){var Ue=Se,U=Ue.checkedKeys,we=U===void 0?[]:U,Ne=Ue.halfCheckedKeys,Le=Ne===void 0?[]:Ne;if(!ee.checkStrictly){var Ye=Object(l.a)(we,!0,pe);we=Ye.checkedKeys,Le=Ye.halfCheckedKeys}Oe.checkedKeys=we,Oe.halfCheckedKeys=Le}}return T("loadedKeys")&&(Oe.loadedKeys=ee.loadedKeys),Oe}}]),_e}(ge.Component);R.defaultProps={prefixCls:"rc-tree",showLine:!1,showIcon:!0,selectable:!0,multiple:!1,checkable:!1,disabled:!1,checkStrictly:!1,draggable:!1,defaultExpandParent:!0,autoExpandParent:!1,defaultExpandAll:!1,defaultExpandedKeys:[],defaultCheckedKeys:[],defaultSelectedKeys:[]},R.TreeNode=g.a;var M=R,fe=L.b=M},fjLI:function(Me,L,s){"use strict";s.d(L,"f",function(){return f}),s.d(L,"b",function(){return h}),s.d(L,"a",function(){return d}),s.d(L,"d",function(){return m}),s.d(L,"e",function(){return C}),s.d(L,"c",function(){return z});var re=s("8HAY"),ie=s("Vhoy"),Ie=s("MI8n"),ae=s("JYp7"),y=s("pmY6"),I=s("24hK"),ue=s("nnTU"),ge=s("T8No"),a=s("Cg/j"),N=s("t9D7"),S=function(v,g,j,G){var J=arguments.length,P=J<3?g:G===null?G=Object.getOwnPropertyDescriptor(g,j):G,X;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")P=Reflect.decorate(v,g,j,G);else for(var F=v.length-1;F>=0;F--)(X=v[F])&&(P=(J<3?X(P):J>3?X(g,j,P):X(g,j))||P);return J>3&&P&&Object.defineProperty(g,j,P),P},E=function(v,g){return function(j,G){g(j,G,v)}};function f(v){return v.command!==void 0}class h{constructor(v){this.id=h._idPool++,this._debugName=v}}h._idPool=0,h.CommandPalette=new h("CommandPalette"),h.EditorContext=new h("EditorContext"),h.SimpleEditorContext=new h("SimpleEditorContext"),h.EditorContextCopy=new h("EditorContextCopy"),h.EditorContextPeek=new h("EditorContextPeek"),h.MenubarEditMenu=new h("MenubarEditMenu"),h.MenubarCopy=new h("MenubarCopy"),h.MenubarGoMenu=new h("MenubarGoMenu"),h.MenubarSelectionMenu=new h("MenubarSelectionMenu"),h.InlineCompletionsActions=new h("InlineCompletionsActions");const d=Object(a.c)("menuService"),m=new class{constructor(){this._commands=new Map,this._menuItems=new Map,this._onDidChangeMenu=new Ie.b,this.onDidChangeMenu=this._onDidChangeMenu.event,this._commandPaletteChangeEvent={has:v=>v===h.CommandPalette}}addCommand(v){return this.addCommands(ae.a.single(v))}addCommands(v){for(const g of v)this._commands.set(g.id,g);return this._onDidChangeMenu.fire(this._commandPaletteChangeEvent),Object(y.i)(()=>{let g=!1;for(const j of v)g=this._commands.delete(j.id)||g;g&&this._onDidChangeMenu.fire(this._commandPaletteChangeEvent)})}getCommand(v){return this._commands.get(v)}getCommands(){const v=new Map;return this._commands.forEach((g,j)=>v.set(j,g)),v}appendMenuItem(v,g){return this.appendMenuItems(ae.a.single({id:v,item:g}))}appendMenuItems(v){const g=new Set,j=new I.a;for(const{id:G,item:J}of v){let P=this._menuItems.get(G);P||(P=new I.a,this._menuItems.set(G,P)),j.push(P.push(J)),g.add(G)}return this._onDidChangeMenu.fire(g),Object(y.i)(()=>{if(j.size>0){for(let G of j)G();this._onDidChangeMenu.fire(g),j.clear()}})}getMenuItems(v){let g;return this._menuItems.has(v)?g=[...this._menuItems.get(v)]:g=[],v===h.CommandPalette&&this._appendImplicitItems(g),g}_appendImplicitItems(v){const g=new Set;for(const j of v)f(j)&&(g.add(j.command.id),j.alt&&g.add(j.alt.id));this._commands.forEach((j,G)=>{g.has(G)||v.push({command:j})})}};class C extends re.e{constructor(v,g,j,G){super(`submenuitem.${v.submenu.id}`,typeof v.title=="string"?v.title:v.title.value,[],"submenu");this.item=v,this._menuService=g,this._contextKeyService=j,this._options=G}get actions(){const v=[],g=this._menuService.createMenu(this.item.submenu,this._contextKeyService),j=g.getActions(this._options);g.dispose();for(const[,G]of j)G.length>0&&(v.push(...G),v.push(new re.d));return v.length&&v.pop(),v}}let z=class v{constructor(g,j,G,J,P){var X,F;if(this._commandService=P,this.id=g.id,this.label=(G==null?void 0:G.renderShortTitle)&&g.shortTitle?typeof g.shortTitle=="string"?g.shortTitle:g.shortTitle.value:typeof g.title=="string"?g.title:g.title.value,this.tooltip=(F=typeof g.tooltip=="string"?g.tooltip:(X=g.tooltip)===null||X===void 0?void 0:X.value)!==null&&F!==void 0?F:"",this.enabled=!g.precondition||J.contextMatchesRules(g.precondition),this.checked=void 0,g.toggled){const oe=g.toggled.condition?g.toggled:{condition:g.toggled};this.checked=J.contextMatchesRules(oe.condition),this.checked&&oe.tooltip&&(this.tooltip=typeof oe.tooltip=="string"?oe.tooltip:oe.tooltip.value),oe.title&&(this.label=typeof oe.title=="string"?oe.title:oe.title.value)}this.item=g,this.alt=j?new v(j,void 0,G,J,P):void 0,this._options=G,N.d.isThemeIcon(g.icon)&&(this.class=ie.a.asClassName(g.icon))}dispose(){}run(...g){var j,G;let J=[];return((j=this._options)===null||j===void 0?void 0:j.arg)&&(J=[...J,this._options.arg]),((G=this._options)===null||G===void 0?void 0:G.shouldForwardArgs)&&(J=[...J,...g]),this._commandService.executeCommand(this.id,...J)}};z=S([E(3,ge.b),E(4,ue.b)],z)},h78n:function(Me,L,s){"use strict";s.d(L,"a",function(){return H});var re=s("q1tI"),ie=s.n(re),Ie=s("TSYQ"),ae=s.n(Ie),y={className:"",percent:0,prefixCls:"rc-progress",strokeColor:"#2db7f5",strokeLinecap:"round",strokeWidth:1,style:{},trailColor:"#D9D9D9",trailWidth:1},I=function(u){var _=u.map(function(){return Object(re.useRef)()}),A=Object(re.useRef)();return Object(re.useEffect)(function(){var l=Date.now(),R=!1;Object.keys(_).forEach(function(M){var fe=_[M].current;if(!fe)return;R=!0;var Ee=fe.style;Ee.transitionDuration=".3s, .3s, .3s, .06s",A.current&&l-A.current<100&&(Ee.transitionDuration="0s, 0s")}),R&&(A.current=Date.now())}),[_]};function ue(){return ue=Object.assign||function(D){for(var u=1;u<arguments.length;u++){var _=arguments[u];for(var A in _)Object.prototype.hasOwnProperty.call(_,A)&&(D[A]=_[A])}return D},ue.apply(this,arguments)}function ge(D,u){return f(D)||E(D,u)||N(D,u)||a()}function a(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function N(D,u){if(!D)return;if(typeof D=="string")return S(D,u);var _=Object.prototype.toString.call(D).slice(8,-1);if(_==="Object"&&D.constructor&&(_=D.constructor.name),_==="Map"||_==="Set")return Array.from(D);if(_==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(_))return S(D,u)}function S(D,u){(u==null||u>D.length)&&(u=D.length);for(var _=0,A=new Array(u);_<u;_++)A[_]=D[_];return A}function E(D,u){if(typeof Symbol=="undefined"||!(Symbol.iterator in Object(D)))return;var _=[],A=!0,l=!1,R=void 0;try{for(var M=D[Symbol.iterator](),fe;!(A=(fe=M.next()).done)&&!(_.push(fe.value),u&&_.length===u);A=!0);}catch(Ee){l=!0,R=Ee}finally{try{!A&&M.return!=null&&M.return()}finally{if(l)throw R}}return _}function f(D){if(Array.isArray(D))return D}function h(D,u){if(D==null)return{};var _=d(D,u),A,l;if(Object.getOwnPropertySymbols){var R=Object.getOwnPropertySymbols(D);for(l=0;l<R.length;l++){if(A=R[l],u.indexOf(A)>=0)continue;if(!Object.prototype.propertyIsEnumerable.call(D,A))continue;_[A]=D[A]}}return _}function d(D,u){if(D==null)return{};var _={},A=Object.keys(D),l,R;for(R=0;R<A.length;R++){if(l=A[R],u.indexOf(l)>=0)continue;_[l]=D[l]}return _}var m=function(u){var _=u.className,A=u.percent,l=u.prefixCls,R=u.strokeColor,M=u.strokeLinecap,fe=u.strokeWidth,Ee=u.style,Ae=u.trailColor,_e=u.trailWidth,K=u.transition,ee=h(u,["className","percent","prefixCls","strokeColor","strokeLinecap","strokeWidth","style","trailColor","trailWidth","transition"]);delete ee.gapPosition;var ve=Array.isArray(A)?A:[A],Z=Array.isArray(R)?R:[R],Oe=I(ve),T=ge(Oe,1),Y=T[0],k=fe/2,pe=100-fe/2,De="M ".concat(M==="round"?k:0,",").concat(k,`
L `).concat(M==="round"?pe:100,",").concat(k),le="0 0 100 ".concat(fe),Se=0;return ie.a.createElement("svg",ue({className:ae()("".concat(l,"-line"),_),viewBox:le,preserveAspectRatio:"none",style:Ee},ee),ie.a.createElement("path",{className:"".concat(l,"-line-trail"),d:De,strokeLinecap:M,stroke:Ae,strokeWidth:_e||fe,fillOpacity:"0"}),ve.map(function(Ue,U){var we={strokeDasharray:"".concat(Ue,"px, 100px"),strokeDashoffset:"-".concat(Se,"px"),transition:K||"stroke-dashoffset 0.3s ease 0s, stroke-dasharray .3s ease 0s, stroke 0.3s linear"},Ne=Z[U]||Z[Z.length-1];return Se+=Ue,ie.a.createElement("path",{key:U,className:"".concat(l,"-line-path"),d:De,strokeLinecap:M,stroke:Ne,strokeWidth:fe,fillOpacity:"0",ref:Y[U],style:we})}))};m.defaultProps=y;var C=m;function z(){return z=Object.assign||function(D){for(var u=1;u<arguments.length;u++){var _=arguments[u];for(var A in _)Object.prototype.hasOwnProperty.call(_,A)&&(D[A]=_[A])}return D},z.apply(this,arguments)}function v(D,u){return P(D)||J(D,u)||j(D,u)||g()}function g(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function j(D,u){if(!D)return;if(typeof D=="string")return G(D,u);var _=Object.prototype.toString.call(D).slice(8,-1);if(_==="Object"&&D.constructor&&(_=D.constructor.name),_==="Map"||_==="Set")return Array.from(D);if(_==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(_))return G(D,u)}function G(D,u){(u==null||u>D.length)&&(u=D.length);for(var _=0,A=new Array(u);_<u;_++)A[_]=D[_];return A}function J(D,u){if(typeof Symbol=="undefined"||!(Symbol.iterator in Object(D)))return;var _=[],A=!0,l=!1,R=void 0;try{for(var M=D[Symbol.iterator](),fe;!(A=(fe=M.next()).done)&&!(_.push(fe.value),u&&_.length===u);A=!0);}catch(Ee){l=!0,R=Ee}finally{try{!A&&M.return!=null&&M.return()}finally{if(l)throw R}}return _}function P(D){if(Array.isArray(D))return D}function X(D,u){if(D==null)return{};var _=F(D,u),A,l;if(Object.getOwnPropertySymbols){var R=Object.getOwnPropertySymbols(D);for(l=0;l<R.length;l++){if(A=R[l],u.indexOf(A)>=0)continue;if(!Object.prototype.propertyIsEnumerable.call(D,A))continue;_[A]=D[A]}}return _}function F(D,u){if(D==null)return{};var _={},A=Object.keys(D),l,R;for(R=0;R<A.length;R++){if(l=A[R],u.indexOf(l)>=0)continue;_[l]=D[l]}return _}var oe=0;function he(D){return+D.replace("%","")}function ce(D){return Array.isArray(D)?D:[D]}function Q(D,u,_,A){var l=arguments.length>4&&arguments[4]!==void 0?arguments[4]:0,R=arguments.length>5?arguments[5]:void 0,M=50-A/2,fe=0,Ee=-M,Ae=0,_e=-2*M;switch(R){case"left":fe=-M,Ee=0,Ae=2*M,_e=0;break;case"right":fe=M,Ee=0,Ae=-2*M,_e=0;break;case"bottom":Ee=M,_e=2*M;break;default:}var K="M 50,50 m ".concat(fe,",").concat(Ee,`
a `).concat(M,",").concat(M," 0 1 1 ").concat(Ae,",").concat(-_e,`
a `).concat(M,",").concat(M," 0 1 1 ").concat(-Ae,",").concat(_e),ee=Math.PI*2*M,ve={stroke:_,strokeDasharray:"".concat(u/100*(ee-l),"px ").concat(ee,"px"),strokeDashoffset:"-".concat(l/2+D/100*(ee-l),"px"),transition:"stroke-dashoffset .3s ease 0s, stroke-dasharray .3s ease 0s, stroke .3s, stroke-width .06s ease .3s"};return{pathString:K,pathStyle:ve}}var W=function(u){var _=u.prefixCls,A=u.strokeWidth,l=u.trailWidth,R=u.gapDegree,M=u.gapPosition,fe=u.trailColor,Ee=u.strokeLinecap,Ae=u.style,_e=u.className,K=u.strokeColor,ee=u.percent,ve=X(u,["prefixCls","strokeWidth","trailWidth","gapDegree","gapPosition","trailColor","strokeLinecap","style","className","strokeColor","percent"]),Z=Object(re.useMemo)(function(){return oe+=1,oe},[]),Oe=Q(0,100,fe,A,R,M),T=Oe.pathString,Y=Oe.pathStyle,k=ce(ee),pe=ce(K),De=pe.find(function(we){return Object.prototype.toString.call(we)==="[object Object]"}),le=I(k),Se=v(le,1),Ue=Se[0],U=function(){var Ne=0;return k.map(function(Le,Ye){var Qe=pe[Ye]||pe[pe.length-1],ot=Object.prototype.toString.call(Qe)==="[object Object]"?"url(#".concat(_,"-gradient-").concat(Z,")"):"",Ve=Q(Ne,Le,Qe,A,R,M);return Ne+=Le,ie.a.createElement("path",{key:Ye,className:"".concat(_,"-circle-path"),d:Ve.pathString,stroke:ot,strokeLinecap:Ee,strokeWidth:A,opacity:Le===0?0:1,fillOpacity:"0",style:Ve.pathStyle,ref:Ue[Ye]})})};return ie.a.createElement("svg",z({className:ae()("".concat(_,"-circle"),_e),viewBox:"0 0 100 100",style:Ae},ve),De&&ie.a.createElement("defs",null,ie.a.createElement("linearGradient",{id:"".concat(_,"-gradient-").concat(Z),x1:"100%",y1:"0%",x2:"0%",y2:"0%"},Object.keys(De).sort(function(we,Ne){return he(we)-he(Ne)}).map(function(we,Ne){return ie.a.createElement("stop",{key:Ne,offset:we,stopColor:De[we]})}))),ie.a.createElement("path",{className:"".concat(_,"-circle-trail"),d:T,stroke:fe,strokeLinecap:Ee,strokeWidth:l||A,fillOpacity:"0",style:Y}),U().reverse())};W.defaultProps=y;var H=W,Re={Line:C,Circle:H}},ic2d:function(Me,L,s){"use strict";s.d(L,"a",function(){return ae});var re=s("FWmy"),ie=s("746U");class Ie{constructor(){this.data=new Map}add(y,I){re.a(ie.l(y)),re.a(ie.k(I)),re.a(!this.data.has(y),"There is already an extension with this id"),this.data.set(y,I)}as(y){return this.data.get(y)||null}}const ae=new Ie},ji0R:function(Me,L,s){Me.exports=s.p+"static/douyu.3e6df9ee.jpg"},k3GJ:function(Me,L,s){"use strict";s.d(L,"a",function(){return ar});var re=s("rePB"),ie=s("ODXe"),Ie=s("Ff2n"),ae=s("VTBJ"),y=s("q1tI"),I=s("TSYQ"),ue=s.n(I),ge=s("Zm9Q"),a=s("6cGi"),N=s("KQm4"),S=s("xEkU"),E=s.n(S),f=s("t23M");function h(V){var de=Object(y.useRef)(),be=Object(y.useRef)(!1);function q(){for(var O=arguments.length,B=new Array(O),x=0;x<O;x++)B[x]=arguments[x];be.current||(E.a.cancel(de.current),de.current=E()(function(){V.apply(void 0,B)}))}return Object(y.useEffect)(function(){return function(){be.current=!0,E.a.cancel(de.current)}},[]),q}function d(V){var de=Object(y.useRef)([]),be=Object(y.useState)({}),q=Object(ie.a)(be,2),O=q[1],B=Object(y.useRef)(typeof V=="function"?V():V),x=h(function(){var ne=B.current;de.current.forEach(function(ye){ne=ye(ne)}),de.current=[],B.current=ne,O({})});function te(ne){de.current.push(ne),x()}return[B.current,te]}var m=s("4IlW");function C(V,de){var be,q=V.prefixCls,O=V.id,B=V.active,x=V.rtl,te=V.tab,ne=te.key,ye=te.tab,me=te.disabled,Ce=te.closeIcon,ke=V.tabBarGutter,Ke=V.tabPosition,He=V.closable,tt=V.renderWrapper,Tt=V.removeAriaLabel,Yt=V.editable,Ft=V.onClick,zt=V.onRemove,Vt=V.onFocus,Qt="".concat(q,"-tab");y.useEffect(function(){return zt},[]);var Gt={};Ke==="top"||Ke==="bottom"?Gt[x?"marginLeft":"marginRight"]=ke:Gt.marginBottom=ke;var on=Yt&&He!==!1&&!me;function qt(At){if(me)return;Ft(At)}function Yn(At){At.preventDefault(),At.stopPropagation(),Yt.onEdit("remove",{key:ne,event:At})}var $t=y.createElement("div",{key:ne,ref:de,className:ue()(Qt,(be={},Object(re.a)(be,"".concat(Qt,"-with-remove"),on),Object(re.a)(be,"".concat(Qt,"-active"),B),Object(re.a)(be,"".concat(Qt,"-disabled"),me),be)),style:Gt,onClick:qt},y.createElement("div",{role:"tab","aria-selected":B,id:O&&"".concat(O,"-tab-").concat(ne),className:"".concat(Qt,"-btn"),"aria-controls":O&&"".concat(O,"-panel-").concat(ne),"aria-disabled":me,tabIndex:me?null:0,onClick:function(vt){vt.stopPropagation(),qt(vt)},onKeyDown:function(vt){[m.a.SPACE,m.a.ENTER].includes(vt.which)&&(vt.preventDefault(),qt(vt))},onFocus:Vt},ye),on&&y.createElement("button",{type:"button","aria-label":Tt||"remove",tabIndex:0,className:"".concat(Qt,"-remove"),onClick:function(vt){vt.stopPropagation(),Yn(vt)}},Ce||Yt.removeIcon||"\xD7"));return tt&&($t=tt($t)),$t}var z=y.forwardRef(C),v={width:0,height:0,left:0,top:0};function g(V,de,be){return Object(y.useMemo)(function(){for(var q,O=new Map,B=de.get((q=V[0])===null||q===void 0?void 0:q.key)||v,x=B.left+B.width,te=0;te<V.length;te+=1){var ne=V[te].key,ye=de.get(ne);if(!ye){var me;ye=de.get((me=V[te-1])===null||me===void 0?void 0:me.key)||v}var Ce=O.get(ne)||Object(ae.a)({},ye);Ce.right=x-Ce.left-Ce.width,O.set(ne,Ce)}return O},[V.map(function(q){return q.key}).join("_"),de,be])}var j={width:0,height:0,left:0,top:0,right:0};function G(V,de,be,q,O){var B=O.tabs,x=O.tabPosition,te=O.rtl,ne,ye,me;["top","bottom"].includes(x)?(ne="width",ye=te?"right":"left",me=Math.abs(de.left)):(ne="height",ye="top",me=-de.top);var Ce=de[ne],ke=be[ne],Ke=q[ne],He=Ce;return ke+Ke>Ce&&(He=Ce-Ke),Object(y.useMemo)(function(){if(!B.length)return[0,0];for(var tt=B.length,Tt=tt,Yt=0;Yt<tt;Yt+=1){var Ft=V.get(B[Yt].key)||j;if(Ft[ye]+Ft[ne]>me+He){Tt=Yt-1;break}}for(var zt=0,Vt=tt-1;Vt>=0;Vt-=1){var Qt=V.get(B[Vt].key)||j;if(Qt[ye]<me){zt=Vt+1;break}}return[zt,Tt]},[V,me,He,x,B.map(function(tt){return tt.key}).join("_"),te])}var J=s("wx14"),P=s("1OyB"),X=s("vuIU"),F=s("JX7q"),oe=s("Ji7U"),he=s("LK+K"),ce=s("I8Z2"),Q=s("bT9E"),W=s("2GS6"),H=s("Gytx"),Re=s.n(H),D=s("U8pU"),u=/iPhone/i,_=/iPod/i,A=/iPad/i,l=/\bAndroid(?:.+)Mobile\b/i,R=/Android/i,M=/\bAndroid(?:.+)SD4930UR\b/i,fe=/\bAndroid(?:.+)(?:KF[A-Z]{2,4})\b/i,Ee=/Windows Phone/i,Ae=/\bWindows(?:.+)ARM\b/i,_e=/BlackBerry/i,K=/BB10/i,ee=/Opera Mini/i,ve=/\b(CriOS|Chrome)(?:.+)Mobile/i,Z=/Mobile(?:.+)Firefox\b/i;function Oe(V,de){return V.test(de)}function T(V){var de=V||(typeof navigator!="undefined"?navigator.userAgent:""),be=(de||"").split("[FBAN");if(typeof be[1]!="undefined"){var q=be,O=Object(ie.a)(q,1);de=O[0]}if(be=de.split("Twitter"),typeof be[1]!="undefined"){var B=be,x=Object(ie.a)(B,1);de=x[0]}var te={apple:{phone:Oe(u,de)&&!Oe(Ee,de),ipod:Oe(_,de),tablet:!Oe(u,de)&&Oe(A,de)&&!Oe(Ee,de),device:(Oe(u,de)||Oe(_,de)||Oe(A,de))&&!Oe(Ee,de)},amazon:{phone:Oe(M,de),tablet:!Oe(M,de)&&Oe(fe,de),device:Oe(M,de)||Oe(fe,de)},android:{phone:!Oe(Ee,de)&&Oe(M,de)||!Oe(Ee,de)&&Oe(l,de),tablet:!Oe(Ee,de)&&!Oe(M,de)&&!Oe(l,de)&&(Oe(fe,de)||Oe(R,de)),device:!Oe(Ee,de)&&(Oe(M,de)||Oe(fe,de)||Oe(l,de)||Oe(R,de))||Oe(/\bokhttp\b/i,de)},windows:{phone:Oe(Ee,de),tablet:Oe(Ae,de),device:Oe(Ee,de)||Oe(Ae,de)},other:{blackberry:Oe(_e,de),blackberry10:Oe(K,de),opera:Oe(ee,de),firefox:Oe(Z,de),chrome:Oe(ve,de),device:Oe(_e,de)||Oe(K,de)||Oe(ee,de)||Oe(Z,de)||Oe(ve,de)},any:null,phone:null,tablet:null};return te.any=te.apple.device||te.android.device||te.windows.device||te.other.device,te.phone=te.apple.phone||te.android.phone||te.windows.phone,te.tablet=te.apple.tablet||te.android.tablet||te.windows.tablet,te}var Y=Object(ae.a)(Object(ae.a)({},T()),{},{isMobile:T}),k=Y;function pe(){}function De(V,de,be){var q=de||"";return V.key||"".concat(q,"item_").concat(be)}function le(V){return"".concat(V,"-menu-")}function Se(V,de){var be=-1;y.Children.forEach(V,function(q){be+=1,q&&q.type&&q.type.isMenuItemGroup?y.Children.forEach(q.props.children,function(O){be+=1,de(O,be)}):de(q,be)})}function Ue(V,de,be){if(!V||be.find)return;y.Children.forEach(V,function(q){if(q){var O=q.type;if(!O||!(O.isSubMenu||O.isMenuItem||O.isMenuItemGroup))return;de.indexOf(q.key)!==-1?be.find=!0:q.props.children&&Ue(q.props.children,de,be)}})}var U=["defaultSelectedKeys","selectedKeys","defaultOpenKeys","openKeys","mode","getPopupContainer","onSelect","onDeselect","onDestroy","openTransitionName","openAnimation","subMenuOpenDelay","subMenuCloseDelay","forceSubMenuRender","triggerSubMenuAction","level","selectable","multiple","onOpenChange","visible","focusable","defaultActiveFirst","prefixCls","inlineIndent","parentMenu","title","rootPrefixCls","eventKey","active","onItemHover","onTitleMouseEnter","onTitleMouseLeave","onTitleClick","popupAlign","popupOffset","isOpen","renderMenuItem","manualRef","subMenuKey","disabled","index","isSelected","store","activeKey","builtinPlacements","overflowedIndicator","motion","attribute","value","popupClassName","inlineCollapsed","menu","theme","itemIcon","expandIcon"],we=function(de){var be=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,q=de&&typeof de.getBoundingClientRect=="function"&&de.getBoundingClientRect().width;if(q){if(be){var O=getComputedStyle(de),B=O.marginLeft,x=O.marginRight;q+=+B.replace("px","")+ +x.replace("px","")}q=+q.toFixed(6)}return q||0},Ne=function(de,be,q){de&&Object(D.a)(de.style)==="object"&&(de.style[be]=q)},Le=function(){return k.any},Ye=s("bdgK"),Qe=s("i8i4"),ot=s.n(Qe),Ve=s("wgJM"),_t=s("l4aY"),mt=s("m+aA"),Lt=s("c+Xe"),$e=s("zT1h"),Xn=s("QC+M");function Rn(V,de,be){return be?V[0]===de[0]:V[0]===de[0]&&V[1]===de[1]}function Bt(V,de,be){var q=V[de]||{};return Object(ae.a)(Object(ae.a)({},q),be)}function ut(V,de,be,q){for(var O=be.points,B=Object.keys(V),x=0;x<B.length;x+=1){var te=B[x];if(Rn(V[te].points,O,q))return"".concat(de,"-placement-").concat(te)}return""}var Wt=function(){if(typeof navigator=="undefined"||typeof window=="undefined")return!1;var V=navigator.userAgent||navigator.vendor||window.opera;return!!(/(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\.(browser|link)|vodafone|wap|windows ce|xda|xiino|android|ipad|playbook|silk/i.test(V)||/1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw-(n|u)|c55\/|capi|ccwa|cdm-|cell|chtm|cldc|cmd-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc-s|devi|dica|dmob|do(c|p)o|ds(12|-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(-|_)|g1 u|g560|gene|gf-5|g-mo|go(\.w|od)|gr(ad|un)|haie|hcit|hd-(m|p|t)|hei-|hi(pt|ta)|hp( i|ip)|hs-c|ht(c(-| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i-(20|go|ma)|i230|iac( |-|\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |\/)|klon|kpt |kwc-|kyo(c|k)|le(no|xi)|lg( g|\/(k|l|u)|50|54|-[a-w])|libw|lynx|m1-w|m3ga|m50\/|ma(te|ui|xo)|mc(01|21|ca)|m-cr|me(rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t(-| |o|v)|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)-|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|-([1-8]|c))|phil|pire|pl(ay|uc)|pn-2|po(ck|rt|se)|prox|psio|pt-g|qa-a|qc(07|12|21|32|60|-[2-7]|i-)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h-|oo|p-)|sdk\/|se(c(-|0|1)|47|mc|nd|ri)|sgh-|shar|sie(-|m)|sk-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h-|v-|v )|sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl-|tdg-|tel(i|m)|tim-|t-mo|to(pl|sh)|ts(70|m-|m3|m5)|tx-9|up(\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(-| )|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|yas-|your|zeto|zte-/i.test(V==null?void 0:V.substr(0,4)))},It=s("MNnm");function pn(V,de){var be={};return be[V.toLowerCase()]=de.toLowerCase(),be["Webkit".concat(V)]="webkit".concat(de),be["Moz".concat(V)]="moz".concat(de),be["ms".concat(V)]="MS".concat(de),be["O".concat(V)]="o".concat(de.toLowerCase()),be}function en(V,de){var be={animationend:pn("Animation","AnimationEnd"),transitionend:pn("Transition","TransitionEnd")};return V&&("AnimationEvent"in de||delete be.animationend.animation,"TransitionEvent"in de||delete be.transitionend.transition),be}var xn=en(Object(It.a)(),typeof window!="undefined"?window:{}),oi={};if(Object(It.a)()){var On=document.createElement("div");oi=On.style}var si={};function Ti(V){if(si[V])return si[V];var de=xn[V];if(de)for(var be=Object.keys(de),q=be.length,O=0;O<q;O+=1){var B=be[O];if(Object.prototype.hasOwnProperty.call(de,B)&&B in oi)return si[V]=de[B],si[V]}return""}var li=Ti("animationend"),ir=Ti("transitionend"),rr=!!(li&&ir),Yi=li||"animationend",Pi=ir||"transitionend";function Si(V,de){if(!V)return null;if(Object(D.a)(V)==="object"){var be=de.replace(/-\w/g,function(q){return q[1].toUpperCase()});return V[be]}return"".concat(V,"-").concat(de)}var hi="none",mr="appear",ht="enter",We="leave",pt="none",Dt="prepare",Ht="start",Ut="active",In="end";function ln(V){var de=Object(y.useRef)(!1),be=Object(y.useState)(V),q=Object(ie.a)(be,2),O=q[0],B=q[1];function x(te){de.current||B(te)}return Object(y.useEffect)(function(){return function(){de.current=!0}},[]),[O,x]}var rt=Object(It.a)()?y.useLayoutEffect:y.useEffect,Ze=rt,at=function(){var V=y.useRef(null);function de(){Ve.a.cancel(V.current)}function be(q){var O=arguments.length>1&&arguments[1]!==void 0?arguments[1]:2;de();var B=Object(Ve.a)(function(){O<=1?q({isCanceled:function(){return B!==V.current}}):be(q,O-1)});V.current=B}return y.useEffect(function(){return function(){de()}},[]),[be,de]},Xe=[Dt,Ht,Ut,In],Ct=!1,Ge=!0;function ze(V){return V===Ut||V===In}var Zt=function(V,de){var be=y.useState(pt),q=Object(ie.a)(be,2),O=q[0],B=q[1],x=at(),te=Object(ie.a)(x,2),ne=te[0],ye=te[1];function me(){B(Dt)}return Ze(function(){if(O!==pt&&O!==In){var Ce=Xe.indexOf(O),ke=Xe[Ce+1],Ke=de(O);Ke===Ct?B(ke):ne(function(He){function tt(){if(He.isCanceled())return;B(ke)}Ke===!0?tt():Promise.resolve(Ke).then(tt)})}},[V,O]),y.useEffect(function(){return function(){ye()}},[]),[me,O]},Ot=function(V){var de=Object(y.useRef)(),be=Object(y.useRef)(V);be.current=V;var q=y.useCallback(function(x){be.current(x)},[]);function O(x){x&&(x.removeEventListener(Pi,q),x.removeEventListener(Yi,q))}function B(x){de.current&&de.current!==x&&O(de.current),x&&x!==de.current&&(x.addEventListener(Pi,q),x.addEventListener(Yi,q),de.current=x)}return y.useEffect(function(){return function(){O(de.current)}},[]),[B,O]};function kt(V,de,be,q){var O=q.motionEnter,B=O===void 0?!0:O,x=q.motionAppear,te=x===void 0?!0:x,ne=q.motionLeave,ye=ne===void 0?!0:ne,me=q.motionDeadline,Ce=q.motionLeaveImmediately,ke=q.onAppearPrepare,Ke=q.onEnterPrepare,He=q.onLeavePrepare,tt=q.onAppearStart,Tt=q.onEnterStart,Yt=q.onLeaveStart,Ft=q.onAppearActive,zt=q.onEnterActive,Vt=q.onLeaveActive,Qt=q.onAppearEnd,Gt=q.onEnterEnd,on=q.onLeaveEnd,qt=q.onVisibleChanged,Yn=ln(),$t=Object(ie.a)(Yn,2),At=$t[0],vt=$t[1],nn=ln(hi),sn=Object(ie.a)(nn,2),ft=sn[0],dn=sn[1],Vn=ln(null),gn=Object(ie.a)(Vn,2),Dn=gn[0],Sn=gn[1],ri=Object(y.useRef)(!1),_i=Object(y.useRef)(null),qn=Object(y.useRef)(!1),ji=Object(y.useRef)(null);function cr(){var jn=be();return jn||ji.current}var Hi=Object(y.useRef)(!1);function yi(jn){var Tn=cr();if(jn&&!jn.deadline&&jn.target!==Tn)return;var Ei;ft===mr&&Hi.current?Ei=Qt==null?void 0:Qt(Tn,jn):ft===ht&&Hi.current?Ei=Gt==null?void 0:Gt(Tn,jn):ft===We&&Hi.current&&(Ei=on==null?void 0:on(Tn,jn)),Ei!==!1&&!qn.current&&(dn(hi),Sn(null))}var Bn=Ot(yi),Mn=Object(ie.a)(Bn,1),$n=Mn[0],Jn=y.useMemo(function(){var jn,Tn,Ei;switch(ft){case"appear":return jn={},Object(re.a)(jn,Dt,ke),Object(re.a)(jn,Ht,tt),Object(re.a)(jn,Ut,Ft),jn;case"enter":return Tn={},Object(re.a)(Tn,Dt,Ke),Object(re.a)(Tn,Ht,Tt),Object(re.a)(Tn,Ut,zt),Tn;case"leave":return Ei={},Object(re.a)(Ei,Dt,He),Object(re.a)(Ei,Ht,Yt),Object(re.a)(Ei,Ut,Vt),Ei;default:return{}}},[ft]),dr=Zt(ft,function(jn){if(jn===Dt){var Tn=Jn[Dt];return Tn?Tn(cr()):Ct}if(Cn in Jn){var Ei;Sn(((Ei=Jn[Cn])===null||Ei===void 0?void 0:Ei.call(Jn,cr(),null))||null)}return Cn===Ut&&($n(cr()),me>0&&(clearTimeout(_i.current),_i.current=setTimeout(function(){yi({deadline:!0})},me))),Ge}),xr=Object(ie.a)(dr,2),Ir=xr[0],Cn=xr[1],_r=ze(Cn);Hi.current=_r,Ze(function(){vt(de);var jn=ri.current;if(ri.current=!0,!V)return;var Tn;!jn&&de&&te&&(Tn=mr),jn&&de&&B&&(Tn=ht),(jn&&!de&&ye||!jn&&Ce&&!de&&ye)&&(Tn=We),Tn&&(dn(Tn),Ir())},[de]),Object(y.useEffect)(function(){(ft===mr&&!te||ft===ht&&!B||ft===We&&!ye)&&dn(hi)},[te,B,ye]),Object(y.useEffect)(function(){return function(){clearTimeout(_i.current),qn.current=!0}},[]),Object(y.useEffect)(function(){At!==void 0&&ft===hi&&(qt==null||qt(At))},[At,ft]);var Nr=Dn;return Jn[Dt]&&Cn===Ht&&(Nr=Object(ae.a)({transition:"none"},Nr)),[ft,Cn,Nr,At!=null?At:de]}var Nt=function(V){Object(oe.a)(be,V);var de=Object(he.a)(be);function be(){return Object(P.a)(this,be),de.apply(this,arguments)}return Object(X.a)(be,[{key:"render",value:function(){return this.props.children}}]),be}(y.Component),Kt=Nt;function un(V){var de=V;Object(D.a)(V)==="object"&&(de=V.transitionSupport);function be(O){return!!(O.motionName&&de)}var q=y.forwardRef(function(O,B){var x=O.visible,te=x===void 0?!0:x,ne=O.removeOnLeave,ye=ne===void 0?!0:ne,me=O.forceRender,Ce=O.children,ke=O.motionName,Ke=O.leavedClassName,He=O.eventProps,tt=be(O),Tt=Object(y.useRef)(),Yt=Object(y.useRef)();function Ft(){try{return Object(mt.a)(Tt.current||Yt.current)}catch(dn){return null}}var zt=kt(tt,te,Ft,O),Vt=Object(ie.a)(zt,4),Qt=Vt[0],Gt=Vt[1],on=Vt[2],qt=Vt[3],Yn=y.useRef(qt);qt&&(Yn.current=!0);var $t=Object(y.useRef)(B);$t.current=B;var At=y.useCallback(function(dn){Tt.current=dn,Object(Lt.b)($t.current,dn)},[]),vt,nn=Object(ae.a)(Object(ae.a)({},He),{},{visible:te});if(!Ce)vt=null;else if(Qt===hi||!be(O))qt?vt=Ce(Object(ae.a)({},nn),At):!ye&&Yn.current?vt=Ce(Object(ae.a)(Object(ae.a)({},nn),{},{className:Ke}),At):me?vt=Ce(Object(ae.a)(Object(ae.a)({},nn),{},{style:{display:"none"}}),At):vt=null;else{var sn,ft;Gt===Dt?ft="prepare":ze(Gt)?ft="active":Gt===Ht&&(ft="start"),vt=Ce(Object(ae.a)(Object(ae.a)({},nn),{},{className:ue()(Si(ke,Qt),(sn={},Object(re.a)(sn,Si(ke,"".concat(Qt,"-").concat(ft)),ft),Object(re.a)(sn,ke,typeof ke=="string"),sn)),style:on}),At)}return y.createElement(Kt,{ref:Yt},vt)});return q.displayName="CSSMotion",q}var Hn=un(rr),je="add",lt="keep",Un="remove",bi="removed";function wn(V){var de;return V&&Object(D.a)(V)==="object"&&"key"in V?de=V:de={key:V},Object(ae.a)(Object(ae.a)({},de),{},{key:String(de.key)})}function Rt(){var V=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];return V.map(wn)}function xt(){var V=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],de=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],be=[],q=0,O=de.length,B=Rt(V),x=Rt(de);B.forEach(function(ye){for(var me=!1,Ce=q;Ce<O;Ce+=1){var ke=x[Ce];if(ke.key===ye.key){q<Ce&&(be=be.concat(x.slice(q,Ce).map(function(Ke){return Object(ae.a)(Object(ae.a)({},Ke),{},{status:je})})),q=Ce),be.push(Object(ae.a)(Object(ae.a)({},ke),{},{status:lt})),q+=1,me=!0;break}}me||be.push(Object(ae.a)(Object(ae.a)({},ye),{},{status:Un}))}),q<O&&(be=be.concat(x.slice(q).map(function(ye){return Object(ae.a)(Object(ae.a)({},ye),{},{status:je})})));var te={};be.forEach(function(ye){var me=ye.key;te[me]=(te[me]||0)+1});var ne=Object.keys(te).filter(function(ye){return te[ye]>1});return ne.forEach(function(ye){be=be.filter(function(me){var Ce=me.key,ke=me.status;return Ce!==ye||ke!==Un}),be.forEach(function(me){me.key===ye&&(me.status=lt)})}),be}var et=["eventProps","visible","children","motionName","motionAppear","motionEnter","motionLeave","motionLeaveImmediately","motionDeadline","removeOnLeave","leavedClassName","onAppearStart","onAppearActive","onAppearEnd","onEnterStart","onEnterActive","onEnterEnd","onLeaveStart","onLeaveActive","onLeaveEnd"];function Pt(V){var de=arguments.length>1&&arguments[1]!==void 0?arguments[1]:Hn,be=function(q){Object(oe.a)(B,q);var O=Object(he.a)(B);function B(){var x;return Object(P.a)(this,B),x=O.apply(this,arguments),x.state={keyEntities:[]},x.removeKey=function(te){x.setState(function(ne){var ye=ne.keyEntities;return{keyEntities:ye.map(function(me){return me.key!==te?me:Object(ae.a)(Object(ae.a)({},me),{},{status:bi})})}})},x}return Object(X.a)(B,[{key:"render",value:function(){var te=this,ne=this.state.keyEntities,ye=this.props,me=ye.component,Ce=ye.children,ke=ye.onVisibleChanged,Ke=Object(Ie.a)(ye,["component","children","onVisibleChanged"]),He=me||y.Fragment,tt={};return et.forEach(function(Tt){tt[Tt]=Ke[Tt],delete Ke[Tt]}),delete Ke.keys,y.createElement(He,Ke,ne.map(function(Tt){var Yt=Tt.status,Ft=Object(Ie.a)(Tt,["status"]),zt=Yt===je||Yt===lt;return y.createElement(de,Object(J.a)({},tt,{key:Ft.key,visible:zt,eventProps:Ft,onVisibleChanged:function(Qt){ke==null||ke(Qt,{key:Ft.key}),Qt||te.removeKey(Ft.key)}}),Ce)}))}}],[{key:"getDerivedStateFromProps",value:function(te,ne){var ye=te.keys,me=ne.keyEntities,Ce=Rt(ye),ke=xt(me,Ce);return{keyEntities:ke.filter(function(Ke){var He=me.find(function(tt){var Tt=tt.key;return Ke.key===Tt});return!(He&&He.status===bi&&Ke.status===Un)})}}}]),B}(y.Component);return be.defaultProps={component:"div"},be}var yt=Pt(rr),gt=Hn;function Mt(V){var de=V.prefixCls,be=V.motion,q=V.animation,O=V.transitionName;return be||(q?{motionName:"".concat(de,"-").concat(q)}:O?{motionName:O}:null)}function Gn(V){var de=V.prefixCls,be=V.visible,q=V.zIndex,O=V.mask,B=V.maskMotion,x=V.maskAnimation,te=V.maskTransitionName;if(!O)return null;var ne={};return(B||te||x)&&(ne=Object(ae.a)({motionAppear:!0},Mt({motion:B,prefixCls:de,transitionName:te,animation:x}))),y.createElement(gt,Object(J.a)({},ne,{visible:be,removeOnLeave:!0}),function(ye){var me=ye.className;return y.createElement("div",{style:{zIndex:q},className:ue()("".concat(de,"-mask"),me)})})}var yn=s("9mu1"),Jt=s("o0o1"),rn=s.n(Jt),fi=s("HaE+"),Kn=["measure","align",null,"motion"],ti=function(V,de){var be=Object(y.useState)(null),q=Object(ie.a)(be,2),O=q[0],B=q[1],x=Object(y.useRef)(),te=Object(y.useRef)(!1);function ne(Ce){te.current||B(Ce)}function ye(){Ve.a.cancel(x.current)}function me(Ce){ye(),x.current=Object(Ve.a)(function(){ne(function(ke){switch(O){case"align":return"motion";case"motion":return"stable";default:}return ke}),Ce==null||Ce()})}return Object(y.useEffect)(function(){ne("measure")},[V]),Object(y.useEffect)(function(){switch(O){case"measure":de();break;default:}O&&(x.current=Object(Ve.a)(Object(fi.a)(rn.a.mark(function Ce(){var ke,Ke;return rn.a.wrap(function(tt){for(;;)switch(tt.prev=tt.next){case 0:ke=Kn.indexOf(O),Ke=Kn[ke+1],Ke&&ke!==-1&&ne(Ke);case 3:case"end":return tt.stop()}},Ce)}))))},[O]),Object(y.useEffect)(function(){return function(){te.current=!0,ye()}},[]),[O,me]},Fn=function(V){var de=y.useState({width:0,height:0}),be=Object(ie.a)(de,2),q=be[0],O=be[1];function B(te){O({width:te.offsetWidth,height:te.offsetHeight})}var x=y.useMemo(function(){var te={};if(V){var ne=q.width,ye=q.height;V.indexOf("height")!==-1&&ye?te.height=ye:V.indexOf("minHeight")!==-1&&ye&&(te.minHeight=ye),V.indexOf("width")!==-1&&ne?te.width=ne:V.indexOf("minWidth")!==-1&&ne&&(te.minWidth=ne)}return te},[V,q]);return[x,B]},hn=y.forwardRef(function(V,de){var be=V.visible,q=V.prefixCls,O=V.className,B=V.style,x=V.children,te=V.zIndex,ne=V.stretch,ye=V.destroyPopupOnHide,me=V.forceRender,Ce=V.align,ke=V.point,Ke=V.getRootDomNode,He=V.getClassNameFromAlign,tt=V.onAlign,Tt=V.onMouseEnter,Yt=V.onMouseLeave,Ft=V.onMouseDown,zt=V.onTouchStart,Vt=Object(y.useRef)(),Qt=Object(y.useRef)(),Gt=Object(y.useState)(),on=Object(ie.a)(Gt,2),qt=on[0],Yn=on[1],$t=Fn(ne),At=Object(ie.a)($t,2),vt=At[0],nn=At[1];function sn(){ne&&nn(Ke())}var ft=ti(be,sn),dn=Object(ie.a)(ft,2),Vn=dn[0],gn=dn[1],Dn=Object(y.useRef)();function Sn(){return ke||Ke}function ri(){var Bn;(Bn=Vt.current)===null||Bn===void 0||Bn.forceAlign()}function _i(Bn,Mn){var $n=He(Mn);qt!==$n&&Yn($n),Vn==="align"&&(qt!==$n?Promise.resolve().then(function(){ri()}):gn(function(){var Jn;(Jn=Dn.current)===null||Jn===void 0||Jn.call(Dn)}),tt==null||tt(Bn,Mn))}var qn=Object(ae.a)({},Mt(V));["onAppearEnd","onEnterEnd","onLeaveEnd"].forEach(function(Bn){var Mn=qn[Bn];qn[Bn]=function($n,Jn){return gn(),Mn==null?void 0:Mn($n,Jn)}});function ji(){return new Promise(function(Bn){Dn.current=Bn})}y.useEffect(function(){!qn.motionName&&Vn==="motion"&&gn()},[qn.motionName,Vn]),y.useImperativeHandle(de,function(){return{forceAlign:ri,getElement:function(){return Qt.current}}});var cr=Object(ae.a)(Object(ae.a)({},vt),{},{zIndex:te,opacity:Vn==="motion"||Vn==="stable"||!be?void 0:0,pointerEvents:Vn==="stable"?void 0:"none"},B),Hi=!0;(Ce==null?void 0:Ce.points)&&(Vn==="align"||Vn==="stable")&&(Hi=!1);var yi=x;return y.Children.count(x)>1&&(yi=y.createElement("div",{className:"".concat(q,"-content")},x)),y.createElement(gt,Object(J.a)({visible:be,ref:Qt,leavedClassName:"".concat(q,"-hidden")},qn,{onAppearPrepare:ji,onEnterPrepare:ji,removeOnLeave:ye,forceRender:me}),function(Bn,Mn){var $n=Bn.className,Jn=Bn.style,dr=ue()(q,O,qt,$n);return y.createElement(yn.a,{target:Sn(),key:"popup",ref:Vt,monitorWindowResize:!0,disabled:Hi,align:Ce,onAlign:_i},y.createElement("div",{ref:Mn,className:dr,onMouseEnter:Tt,onMouseLeave:Yt,onMouseDownCapture:Ft,onTouchStartCapture:zt,style:Object(ae.a)(Object(ae.a)({},Jn),cr)},yi))})});hn.displayName="PopupInner";var cn=hn,fn=y.forwardRef(function(V,de){var be=V.prefixCls,q=V.visible,O=V.zIndex,B=V.children,x=V.mobile;x=x===void 0?{}:x;var te=x.popupClassName,ne=x.popupStyle,ye=x.popupMotion,me=ye===void 0?{}:ye,Ce=x.popupRender,ke=y.useRef();y.useImperativeHandle(de,function(){return{forceAlign:function(){},getElement:function(){return ke.current}}});var Ke=Object(ae.a)({zIndex:O},ne),He=B;return y.Children.count(B)>1&&(He=y.createElement("div",{className:"".concat(be,"-content")},B)),Ce&&(He=Ce(He)),y.createElement(gt,Object(J.a)({visible:q,ref:ke,removeOnLeave:!0},me),function(tt,Tt){var Yt=tt.className,Ft=tt.style,zt=ue()(be,te,Yt);return y.createElement("div",{ref:Tt,className:zt,style:Object(ae.a)(Object(ae.a)({},Ft),Ke)},He)})});fn.displayName="MobilePopupInner";var tn=fn,Ci=["visible","mobile"],kn=y.forwardRef(function(V,de){var be=V.visible,q=V.mobile,O=Object(Ie.a)(V,Ci),B=Object(y.useState)(be),x=Object(ie.a)(B,2),te=x[0],ne=x[1],ye=Object(y.useState)(!1),me=Object(ie.a)(ye,2),Ce=me[0],ke=me[1],Ke=Object(ae.a)(Object(ae.a)({},O),{},{visible:te});Object(y.useEffect)(function(){ne(be),be&&q&&ke(Wt())},[be,q]);var He=Ce?y.createElement(tn,Object(J.a)({},Ke,{mobile:q,ref:de})):y.createElement(cn,Object(J.a)({},Ke,{ref:de}));return y.createElement("div",null,y.createElement(Gn,Ke),He)});kn.displayName="Popup";var Qn=kn,sr=y.createContext(null),pi=sr;function lr(){}function jr(){return""}function _a(V){return V?V.ownerDocument:window.document}var Vr=["onClick","onMouseDown","onTouchStart","onMouseEnter","onMouseLeave","onFocus","onBlur","onContextMenu"];function sa(V){var de=function(be){Object(oe.a)(O,be);var q=Object(he.a)(O);function O(B){var x;Object(P.a)(this,O),x=q.call(this,B),x.popupRef=y.createRef(),x.triggerRef=y.createRef(),x.attachId=void 0,x.clickOutsideHandler=void 0,x.touchOutsideHandler=void 0,x.contextMenuOutsideHandler1=void 0,x.contextMenuOutsideHandler2=void 0,x.mouseDownTimeout=void 0,x.focusTime=void 0,x.preClickTime=void 0,x.preTouchTime=void 0,x.delayTimer=void 0,x.hasPopupMouseDown=void 0,x.onMouseEnter=function(ne){var ye=x.props.mouseEnterDelay;x.fireEvents("onMouseEnter",ne),x.delaySetPopupVisible(!0,ye,ye?null:ne)},x.onMouseMove=function(ne){x.fireEvents("onMouseMove",ne),x.setPoint(ne)},x.onMouseLeave=function(ne){x.fireEvents("onMouseLeave",ne),x.delaySetPopupVisible(!1,x.props.mouseLeaveDelay)},x.onPopupMouseEnter=function(){x.clearDelayTimer()},x.onPopupMouseLeave=function(ne){var ye;if(ne.relatedTarget&&!ne.relatedTarget.setTimeout&&Object(_t.a)((ye=x.popupRef.current)===null||ye===void 0?void 0:ye.getElement(),ne.relatedTarget))return;x.delaySetPopupVisible(!1,x.props.mouseLeaveDelay)},x.onFocus=function(ne){x.fireEvents("onFocus",ne),x.clearDelayTimer(),x.isFocusToShow()&&(x.focusTime=Date.now(),x.delaySetPopupVisible(!0,x.props.focusDelay))},x.onMouseDown=function(ne){x.fireEvents("onMouseDown",ne),x.preClickTime=Date.now()},x.onTouchStart=function(ne){x.fireEvents("onTouchStart",ne),x.preTouchTime=Date.now()},x.onBlur=function(ne){x.fireEvents("onBlur",ne),x.clearDelayTimer(),x.isBlurToHide()&&x.delaySetPopupVisible(!1,x.props.blurDelay)},x.onContextMenu=function(ne){ne.preventDefault(),x.fireEvents("onContextMenu",ne),x.setPopupVisible(!0,ne)},x.onContextMenuClose=function(){x.isContextMenuToShow()&&x.close()},x.onClick=function(ne){if(x.fireEvents("onClick",ne),x.focusTime){var ye;if(x.preClickTime&&x.preTouchTime?ye=Math.min(x.preClickTime,x.preTouchTime):x.preClickTime?ye=x.preClickTime:x.preTouchTime&&(ye=x.preTouchTime),Math.abs(ye-x.focusTime)<20)return;x.focusTime=0}x.preClickTime=0,x.preTouchTime=0,x.isClickToShow()&&(x.isClickToHide()||x.isBlurToHide())&&ne&&ne.preventDefault&&ne.preventDefault();var me=!x.state.popupVisible;(x.isClickToHide()&&!me||me&&x.isClickToShow())&&x.setPopupVisible(!x.state.popupVisible,ne)},x.onPopupMouseDown=function(){if(x.hasPopupMouseDown=!0,clearTimeout(x.mouseDownTimeout),x.mouseDownTimeout=window.setTimeout(function(){x.hasPopupMouseDown=!1},0),x.context){var ne;(ne=x.context).onPopupMouseDown.apply(ne,arguments)}},x.onDocumentClick=function(ne){if(x.props.mask&&!x.props.maskClosable)return;var ye=ne.target,me=x.getRootDomNode(),Ce=x.getPopupDomNode();(!Object(_t.a)(me,ye)||x.isContextMenuOnly())&&!Object(_t.a)(Ce,ye)&&!x.hasPopupMouseDown&&x.close()},x.getRootDomNode=function(){var ne=x.props.getTriggerDOMNode;if(ne)return ne(x.triggerRef.current);try{var ye=Object(mt.a)(x.triggerRef.current);if(ye)return ye}catch(me){}return ot.a.findDOMNode(Object(F.a)(x))},x.getPopupClassNameFromAlign=function(ne){var ye=[],me=x.props,Ce=me.popupPlacement,ke=me.builtinPlacements,Ke=me.prefixCls,He=me.alignPoint,tt=me.getPopupClassNameFromAlign;return Ce&&ke&&ye.push(ut(ke,Ke,ne,He)),tt&&ye.push(tt(ne)),ye.join(" ")},x.getComponent=function(){var ne=x.props,ye=ne.prefixCls,me=ne.destroyPopupOnHide,Ce=ne.popupClassName,ke=ne.onPopupAlign,Ke=ne.popupMotion,He=ne.popupAnimation,tt=ne.popupTransitionName,Tt=ne.popupStyle,Yt=ne.mask,Ft=ne.maskAnimation,zt=ne.maskTransitionName,Vt=ne.maskMotion,Qt=ne.zIndex,Gt=ne.popup,on=ne.stretch,qt=ne.alignPoint,Yn=ne.mobile,$t=ne.forceRender,At=x.state,vt=At.popupVisible,nn=At.point,sn=x.getPopupAlign(),ft={};return x.isMouseEnterToShow()&&(ft.onMouseEnter=x.onPopupMouseEnter),x.isMouseLeaveToHide()&&(ft.onMouseLeave=x.onPopupMouseLeave),ft.onMouseDown=x.onPopupMouseDown,ft.onTouchStart=x.onPopupMouseDown,y.createElement(Qn,Object(J.a)({prefixCls:ye,destroyPopupOnHide:me,visible:vt,point:qt&&nn,className:Ce,align:sn,onAlign:ke,animation:He,getClassNameFromAlign:x.getPopupClassNameFromAlign},ft,{stretch:on,getRootDomNode:x.getRootDomNode,style:Tt,mask:Yt,zIndex:Qt,transitionName:tt,maskAnimation:Ft,maskTransitionName:zt,maskMotion:Vt,ref:x.popupRef,motion:Ke,mobile:Yn,forceRender:$t}),typeof Gt=="function"?Gt():Gt)},x.attachParent=function(ne){Ve.a.cancel(x.attachId);var ye=x.props,me=ye.getPopupContainer,Ce=ye.getDocument,ke=x.getRootDomNode(),Ke;me?(ke||me.length===0)&&(Ke=me(ke)):Ke=Ce(x.getRootDomNode()).body,Ke?Ke.appendChild(ne):x.attachId=Object(Ve.a)(function(){x.attachParent(ne)})},x.getContainer=function(){var ne=x.props.getDocument,ye=ne(x.getRootDomNode()).createElement("div");return ye.style.position="absolute",ye.style.top="0",ye.style.left="0",ye.style.width="100%",x.attachParent(ye),ye},x.setPoint=function(ne){var ye=x.props.alignPoint;if(!ye||!ne)return;x.setState({point:{pageX:ne.pageX,pageY:ne.pageY}})},x.handlePortalUpdate=function(){x.state.prevPopupVisible!==x.state.popupVisible&&x.props.afterPopupVisibleChange(x.state.popupVisible)},x.triggerContextValue={onPopupMouseDown:x.onPopupMouseDown};var te;return"popupVisible"in B?te=!!B.popupVisible:te=!!B.defaultPopupVisible,x.state={prevPopupVisible:te,popupVisible:te},Vr.forEach(function(ne){x["fire".concat(ne)]=function(ye){x.fireEvents(ne,ye)}}),x}return Object(X.a)(O,[{key:"componentDidMount",value:function(){this.componentDidUpdate()}},{key:"componentDidUpdate",value:function(){var x=this.props,te=this.state;if(te.popupVisible){var ne;!this.clickOutsideHandler&&(this.isClickToHide()||this.isContextMenuToShow())&&(ne=x.getDocument(this.getRootDomNode()),this.clickOutsideHandler=Object($e.a)(ne,"mousedown",this.onDocumentClick)),this.touchOutsideHandler||(ne=ne||x.getDocument(this.getRootDomNode()),this.touchOutsideHandler=Object($e.a)(ne,"touchstart",this.onDocumentClick)),!this.contextMenuOutsideHandler1&&this.isContextMenuToShow()&&(ne=ne||x.getDocument(this.getRootDomNode()),this.contextMenuOutsideHandler1=Object($e.a)(ne,"scroll",this.onContextMenuClose)),!this.contextMenuOutsideHandler2&&this.isContextMenuToShow()&&(this.contextMenuOutsideHandler2=Object($e.a)(window,"blur",this.onContextMenuClose));return}this.clearOutsideHandler()}},{key:"componentWillUnmount",value:function(){this.clearDelayTimer(),this.clearOutsideHandler(),clearTimeout(this.mouseDownTimeout),Ve.a.cancel(this.attachId)}},{key:"getPopupDomNode",value:function(){var x;return((x=this.popupRef.current)===null||x===void 0?void 0:x.getElement())||null}},{key:"getPopupAlign",value:function(){var x=this.props,te=x.popupPlacement,ne=x.popupAlign,ye=x.builtinPlacements;return te&&ye?Bt(ye,te,ne):ne}},{key:"setPopupVisible",value:function(x,te){var ne=this.props.alignPoint,ye=this.state.popupVisible;this.clearDelayTimer(),ye!==x&&("popupVisible"in this.props||this.setState({popupVisible:x,prevPopupVisible:ye}),this.props.onPopupVisibleChange(x)),ne&&te&&x&&this.setPoint(te)}},{key:"delaySetPopupVisible",value:function(x,te,ne){var ye=this,me=te*1e3;if(this.clearDelayTimer(),me){var Ce=ne?{pageX:ne.pageX,pageY:ne.pageY}:null;this.delayTimer=window.setTimeout(function(){ye.setPopupVisible(x,Ce),ye.clearDelayTimer()},me)}else this.setPopupVisible(x,ne)}},{key:"clearDelayTimer",value:function(){this.delayTimer&&(clearTimeout(this.delayTimer),this.delayTimer=null)}},{key:"clearOutsideHandler",value:function(){this.clickOutsideHandler&&(this.clickOutsideHandler.remove(),this.clickOutsideHandler=null),this.contextMenuOutsideHandler1&&(this.contextMenuOutsideHandler1.remove(),this.contextMenuOutsideHandler1=null),this.contextMenuOutsideHandler2&&(this.contextMenuOutsideHandler2.remove(),this.contextMenuOutsideHandler2=null),this.touchOutsideHandler&&(this.touchOutsideHandler.remove(),this.touchOutsideHandler=null)}},{key:"createTwoChains",value:function(x){var te=this.props.children.props,ne=this.props;return te[x]&&ne[x]?this["fire".concat(x)]:te[x]||ne[x]}},{key:"isClickToShow",value:function(){var x=this.props,te=x.action,ne=x.showAction;return te.indexOf("click")!==-1||ne.indexOf("click")!==-1}},{key:"isContextMenuOnly",value:function(){var x=this.props.action;return x==="contextMenu"||x.length===1&&x[0]==="contextMenu"}},{key:"isContextMenuToShow",value:function(){var x=this.props,te=x.action,ne=x.showAction;return te.indexOf("contextMenu")!==-1||ne.indexOf("contextMenu")!==-1}},{key:"isClickToHide",value:function(){var x=this.props,te=x.action,ne=x.hideAction;return te.indexOf("click")!==-1||ne.indexOf("click")!==-1}},{key:"isMouseEnterToShow",value:function(){var x=this.props,te=x.action,ne=x.showAction;return te.indexOf("hover")!==-1||ne.indexOf("mouseEnter")!==-1}},{key:"isMouseLeaveToHide",value:function(){var x=this.props,te=x.action,ne=x.hideAction;return te.indexOf("hover")!==-1||ne.indexOf("mouseLeave")!==-1}},{key:"isFocusToShow",value:function(){var x=this.props,te=x.action,ne=x.showAction;return te.indexOf("focus")!==-1||ne.indexOf("focus")!==-1}},{key:"isBlurToHide",value:function(){var x=this.props,te=x.action,ne=x.hideAction;return te.indexOf("focus")!==-1||ne.indexOf("blur")!==-1}},{key:"forcePopupAlign",value:function(){if(this.state.popupVisible){var x;(x=this.popupRef.current)===null||x===void 0||x.forceAlign()}}},{key:"fireEvents",value:function(x,te){var ne=this.props.children.props[x];ne&&ne(te);var ye=this.props[x];ye&&ye(te)}},{key:"close",value:function(){this.setPopupVisible(!1)}},{key:"render",value:function(){var x=this.state.popupVisible,te=this.props,ne=te.children,ye=te.forceRender,me=te.alignPoint,Ce=te.className,ke=te.autoDestroy,Ke=y.Children.only(ne),He={key:"trigger"};this.isContextMenuToShow()?He.onContextMenu=this.onContextMenu:He.onContextMenu=this.createTwoChains("onContextMenu"),this.isClickToHide()||this.isClickToShow()?(He.onClick=this.onClick,He.onMouseDown=this.onMouseDown,He.onTouchStart=this.onTouchStart):(He.onClick=this.createTwoChains("onClick"),He.onMouseDown=this.createTwoChains("onMouseDown"),He.onTouchStart=this.createTwoChains("onTouchStart")),this.isMouseEnterToShow()?(He.onMouseEnter=this.onMouseEnter,me&&(He.onMouseMove=this.onMouseMove)):He.onMouseEnter=this.createTwoChains("onMouseEnter"),this.isMouseLeaveToHide()?He.onMouseLeave=this.onMouseLeave:He.onMouseLeave=this.createTwoChains("onMouseLeave"),this.isFocusToShow()||this.isBlurToHide()?(He.onFocus=this.onFocus,He.onBlur=this.onBlur):(He.onFocus=this.createTwoChains("onFocus"),He.onBlur=this.createTwoChains("onBlur"));var tt=ue()(Ke&&Ke.props&&Ke.props.className,Ce);tt&&(He.className=tt);var Tt=Object(ae.a)({},He);Object(Lt.c)(Ke)&&(Tt.ref=Object(Lt.a)(this.triggerRef,Ke.ref));var Yt=y.cloneElement(Ke,Tt),Ft;return(x||this.popupRef.current||ye)&&(Ft=y.createElement(V,{key:"portal",getContainer:this.getContainer,didUpdate:this.handlePortalUpdate},this.getComponent())),!x&&ke&&(Ft=null),y.createElement(pi.Provider,{value:this.triggerContextValue},Yt,Ft)}}],[{key:"getDerivedStateFromProps",value:function(x,te){var ne=x.popupVisible,ye={};return ne!==void 0&&te.popupVisible!==ne&&(ye.popupVisible=ne,ye.prevPopupVisible=te.popupVisible),ye}}]),O}(y.Component);return de.contextType=pi,de.defaultProps={prefixCls:"rc-trigger-popup",getPopupClassNameFromAlign:jr,getDocument:_a,onPopupVisibleChange:lr,afterPopupVisibleChange:lr,onPopupAlign:lr,popupClassName:"",mouseEnterDelay:0,mouseLeaveDelay:.1,focusDelay:0,blurDelay:.15,popupStyle:{},destroyPopupOnHide:!1,popupAlign:{},defaultPopupVisible:!1,mask:!1,maskClosable:!0,action:[],showAction:[],hideAction:[],autoDestroy:!1},de}var Ur=sa(Xn.a),Vi={adjustX:1,adjustY:1},En={topLeft:{points:["bl","tl"],overflow:Vi,offset:[0,-7]},bottomLeft:{points:["tl","bl"],overflow:Vi,offset:[0,7]},leftTop:{points:["tr","tl"],overflow:Vi,offset:[-4,0]},rightTop:{points:["tl","tr"],overflow:Vi,offset:[4,0]}},vn={topLeft:{points:["bl","tl"],overflow:Vi,offset:[0,-7]},bottomLeft:{points:["tl","bl"],overflow:Vi,offset:[0,7]},rightTop:{points:["tr","tl"],overflow:Vi,offset:[-4,0]},leftTop:{points:["tl","tr"],overflow:Vi,offset:[4,0]}},Zn=En,Di=0,ur={horizontal:"bottomLeft",vertical:"rightTop","vertical-left":"rightTop","vertical-right":"leftTop"},Ri=function(de,be,q){var O=le(be),B=de.getState();de.setState({defaultActiveFirst:Object(ae.a)(Object(ae.a)({},B.defaultActiveFirst),{},Object(re.a)({},O,q))})},Bi=function(V){Object(oe.a)(be,V);var de=Object(he.a)(be);function be(q){var O;Object(P.a)(this,be),O=de.call(this,q),O.onDestroy=function(me){O.props.onDestroy(me)},O.onKeyDown=function(me){var Ce=me.keyCode,ke=O.menuInstance,Ke=O.props.store,He=O.getVisible();if(Ce===m.a.ENTER)return O.onTitleClick(me),Ri(Ke,O.props.eventKey,!0),!0;if(Ce===m.a.RIGHT)return He?ke.onKeyDown(me):(O.triggerOpenChange(!0),Ri(Ke,O.props.eventKey,!0)),!0;if(Ce===m.a.LEFT){var tt;if(He)tt=ke.onKeyDown(me);else return;return tt||(O.triggerOpenChange(!1),tt=!0),tt}return He&&(Ce===m.a.UP||Ce===m.a.DOWN)?ke.onKeyDown(me):void 0},O.onOpenChange=function(me){O.props.onOpenChange(me)},O.onPopupVisibleChange=function(me){O.triggerOpenChange(me,me?"mouseenter":"mouseleave")},O.onMouseEnter=function(me){var Ce=O.props,ke=Ce.eventKey,Ke=Ce.onMouseEnter,He=Ce.store;Ri(He,O.props.eventKey,!1),Ke({key:ke,domEvent:me})},O.onMouseLeave=function(me){var Ce=O.props,ke=Ce.parentMenu,Ke=Ce.eventKey,He=Ce.onMouseLeave;ke.subMenuInstance=Object(F.a)(O),He({key:Ke,domEvent:me})},O.onTitleMouseEnter=function(me){var Ce=O.props,ke=Ce.eventKey,Ke=Ce.onItemHover,He=Ce.onTitleMouseEnter;Ke({key:ke,hover:!0}),He({key:ke,domEvent:me})},O.onTitleMouseLeave=function(me){var Ce=O.props,ke=Ce.parentMenu,Ke=Ce.eventKey,He=Ce.onItemHover,tt=Ce.onTitleMouseLeave;ke.subMenuInstance=Object(F.a)(O),He({key:Ke,hover:!1}),tt({key:Ke,domEvent:me})},O.onTitleClick=function(me){var Ce=Object(F.a)(O),ke=Ce.props;if(ke.onTitleClick({key:ke.eventKey,domEvent:me}),ke.triggerSubMenuAction==="hover")return;O.triggerOpenChange(!O.getVisible(),"click"),Ri(ke.store,O.props.eventKey,!1)},O.onSubMenuClick=function(me){typeof O.props.onClick=="function"&&O.props.onClick(O.addKeyPath(me))},O.onSelect=function(me){O.props.onSelect(me)},O.onDeselect=function(me){O.props.onDeselect(me)},O.getPrefixCls=function(){return"".concat(O.props.rootPrefixCls,"-submenu")},O.getActiveClassName=function(){return"".concat(O.getPrefixCls(),"-active")},O.getDisabledClassName=function(){return"".concat(O.getPrefixCls(),"-disabled")},O.getSelectedClassName=function(){return"".concat(O.getPrefixCls(),"-selected")},O.getOpenClassName=function(){return"".concat(O.props.rootPrefixCls,"-submenu-open")},O.getVisible=function(){return O.state.isOpen},O.getMode=function(){return O.state.mode},O.saveMenuInstance=function(me){O.menuInstance=me},O.addKeyPath=function(me){return Object(ae.a)(Object(ae.a)({},me),{},{keyPath:(me.keyPath||[]).concat(O.props.eventKey)})},O.triggerOpenChange=function(me,Ce){var ke=O.props.eventKey,Ke=function(){O.onOpenChange({key:ke,item:Object(F.a)(O),trigger:Ce,open:me})};Ce==="mouseenter"?O.mouseenterTimeout=setTimeout(function(){Ke()},0):Ke()},O.isChildrenSelected=function(){var me={find:!1};return Ue(O.props.children,O.props.selectedKeys,me),me.find},O.isInlineMode=function(){return O.getMode()==="inline"},O.adjustWidth=function(){if(!O.subMenuTitle||!O.menuInstance)return;var me=Qe.findDOMNode(O.menuInstance);if(me.offsetWidth>=O.subMenuTitle.offsetWidth)return;me.style.minWidth="".concat(O.subMenuTitle.offsetWidth,"px")},O.saveSubMenuTitle=function(me){O.subMenuTitle=me},O.getBaseProps=function(){var me=Object(F.a)(O),Ce=me.props,ke=O.getMode();return{mode:ke==="horizontal"?"vertical":ke,visible:O.getVisible(),level:Ce.level+1,inlineIndent:Ce.inlineIndent,focusable:!1,onClick:O.onSubMenuClick,onSelect:O.onSelect,onDeselect:O.onDeselect,onDestroy:O.onDestroy,selectedKeys:Ce.selectedKeys,eventKey:"".concat(Ce.eventKey,"-menu-"),openKeys:Ce.openKeys,motion:Ce.motion,onOpenChange:O.onOpenChange,subMenuOpenDelay:Ce.subMenuOpenDelay,parentMenu:Object(F.a)(O),subMenuCloseDelay:Ce.subMenuCloseDelay,forceSubMenuRender:Ce.forceSubMenuRender,triggerSubMenuAction:Ce.triggerSubMenuAction,builtinPlacements:Ce.builtinPlacements,defaultActiveFirst:Ce.store.getState().defaultActiveFirst[le(Ce.eventKey)],multiple:Ce.multiple,prefixCls:Ce.rootPrefixCls,id:O.internalMenuId,manualRef:O.saveMenuInstance,itemIcon:Ce.itemIcon,expandIcon:Ce.expandIcon,direction:Ce.direction}},O.getMotion=function(me,Ce){var ke=Object(F.a)(O),Ke=ke.haveRendered,He=O.props,tt=He.motion,Tt=He.rootPrefixCls,Yt=Object(ae.a)(Object(ae.a)({},tt),{},{leavedClassName:"".concat(Tt,"-hidden"),removeOnLeave:!1,motionAppear:Ke||!Ce||me!=="inline"});return Yt};var B=q.store,x=q.eventKey,te=B.getState(),ne=te.defaultActiveFirst;O.isRootMenu=!1;var ye=!1;return ne&&(ye=ne[x]),Ri(B,x,ye),O.state={mode:q.mode,isOpen:q.isOpen},O}return Object(X.a)(be,[{key:"componentDidMount",value:function(){this.componentDidUpdate()}},{key:"componentDidUpdate",value:function(){var O=this,B=this.props,x=B.mode,te=B.parentMenu,ne=B.manualRef,ye=B.isOpen,me=function(){O.setState({mode:x,isOpen:ye})},Ce=ye!==this.state.isOpen,ke=x!==this.state.mode;if((ke||Ce)&&(Ve.a.cancel(this.updateStateRaf),ke?this.updateStateRaf=Object(Ve.a)(me):me()),ne&&ne(this),x!=="horizontal"||!(te==null?void 0:te.isRootMenu)||!ye)return;this.minWidthTimeout=setTimeout(function(){return O.adjustWidth()},0)}},{key:"componentWillUnmount",value:function(){var O=this.props,B=O.onDestroy,x=O.eventKey;B&&B(x),this.minWidthTimeout&&clearTimeout(this.minWidthTimeout),this.mouseenterTimeout&&clearTimeout(this.mouseenterTimeout),Ve.a.cancel(this.updateStateRaf)}},{key:"renderPopupMenu",value:function(O,B){var x=this.getBaseProps();return y.createElement(Jr,Object(J.a)({},x,{id:this.internalMenuId,className:O,style:B}),this.props.children)}},{key:"renderChildren",value:function(){var O=this,B=this.getBaseProps(),x=B.mode,te=B.visible,ne=B.forceSubMenuRender,ye=B.direction,me=this.getMotion(x,te);if(this.haveRendered=!0,this.haveOpened=this.haveOpened||te||ne,!this.haveOpened)return y.createElement("div",null);var Ce=ue()("".concat(B.prefixCls,"-sub"),Object(re.a)({},"".concat(B.prefixCls,"-rtl"),ye==="rtl"));return this.isInlineMode()?y.createElement(gt,Object(J.a)({visible:B.visible,forceRender:ne},me),function(ke){var Ke=ke.className,He=ke.style,tt=ue()(Ce,Ke);return O.renderPopupMenu(tt,He)}):this.renderPopupMenu(Ce)}},{key:"render",value:function(){var O,B,x,te=Object(ae.a)({},this.props),ne=this.getVisible(),ye=this.getPrefixCls(),me=this.isInlineMode(),Ce=this.getMode(),ke=ue()(ye,"".concat(ye,"-").concat(Ce),(O={},Object(re.a)(O,te.className,!!te.className),Object(re.a)(O,this.getOpenClassName(),ne),Object(re.a)(O,this.getActiveClassName(),te.active||ne&&!me),Object(re.a)(O,this.getDisabledClassName(),te.disabled),Object(re.a)(O,this.getSelectedClassName(),this.isChildrenSelected()),O));this.internalMenuId||(te.eventKey?this.internalMenuId="".concat(te.eventKey,"$Menu"):(Di+=1,this.internalMenuId="$__$".concat(Di,"$Menu")));var Ke={},He={},tt={};te.disabled||(Ke={onMouseLeave:this.onMouseLeave,onMouseEnter:this.onMouseEnter},He={onClick:this.onTitleClick},tt={onMouseEnter:this.onTitleMouseEnter,onMouseLeave:this.onTitleMouseLeave});var Tt={},Yt=te.direction,Ft=Yt==="rtl";me&&(Ft?Tt.paddingRight=te.inlineIndent*te.level:Tt.paddingLeft=te.inlineIndent*te.level);var zt={};this.getVisible()&&(zt={"aria-owns":this.internalMenuId});var Vt=null;Ce!=="horizontal"&&(Vt=this.props.expandIcon,typeof this.props.expandIcon=="function"&&(Vt=y.createElement(this.props.expandIcon,Object(ae.a)({},this.props))));var Qt=y.createElement("div",Object(J.a)({ref:this.saveSubMenuTitle,style:Tt,className:"".concat(ye,"-title"),role:"button"},tt,He,{"aria-expanded":ne},zt,{"aria-haspopup":"true",title:typeof te.title=="string"?te.title:void 0}),te.title,Vt||y.createElement("i",{className:"".concat(ye,"-arrow")})),Gt=this.renderChildren(),on=((B=te.parentMenu)===null||B===void 0?void 0:B.isRootMenu)?te.parentMenu.props.getPopupContainer:function(Sn){return Sn.parentNode},qt=ur[Ce],Yn=te.popupOffset?{offset:te.popupOffset}:{},$t=ue()((x={},Object(re.a)(x,te.popupClassName,te.popupClassName&&!me),Object(re.a)(x,"".concat(ye,"-rtl"),Ft),x)),At=te.disabled,vt=te.triggerSubMenuAction,nn=te.subMenuOpenDelay,sn=te.forceSubMenuRender,ft=te.subMenuCloseDelay,dn=te.builtinPlacements;U.forEach(function(Sn){return delete te[Sn]}),delete te.onClick;var Vn=Ft?Object(ae.a)(Object(ae.a)({},vn),dn):Object(ae.a)(Object(ae.a)({},En),dn);delete te.direction;var gn=this.getBaseProps(),Dn=me?null:this.getMotion(gn.mode,gn.visible);return y.createElement("li",Object(J.a)({},te,Ke,{className:ke,role:"menuitem"}),y.createElement(Ur,{prefixCls:ye,popupClassName:ue()("".concat(ye,"-popup"),$t),getPopupContainer:on,builtinPlacements:Vn,popupPlacement:qt,popupVisible:me?!1:ne,popupAlign:Yn,popup:me?null:Gt,action:At||me?[]:[vt],mouseEnterDelay:nn,mouseLeaveDelay:ft,onPopupVisibleChange:this.onPopupVisibleChange,forceRender:sn,popupMotion:Dn},Qt),me?Gt:null)}}]),be}(y.Component);Bi.defaultProps={onMouseEnter:pe,onMouseLeave:pe,onTitleMouseEnter:pe,onTitleMouseLeave:pe,onTitleClick:pe,manualRef:pe,mode:"vertical",title:""};var Ji=Object(ce.b)(function(V,de){var be=V.openKeys,q=V.activeKey,O=V.selectedKeys,B=de.eventKey,x=de.subMenuKey;return{isOpen:be.indexOf(B)>-1,active:q[x]===B,selectedKeys:O}})(Bi);Ji.isSubMenu=!0;var Pn=Ji,Wi="menuitem-overflowed",yr=.5,Mi=function(V){Object(oe.a)(be,V);var de=Object(he.a)(be);function be(){var q;return Object(P.a)(this,be),q=de.apply(this,arguments),q.resizeObserver=null,q.mutationObserver=null,q.originalTotalWidth=0,q.overflowedItems=[],q.menuItemSizes=[],q.cancelFrameId=null,q.state={lastVisibleIndex:void 0},q.childRef=y.createRef(),q.getMenuItemNodes=function(){var O=q.props.prefixCls,B=q.childRef.current;return B?[].slice.call(B.children).filter(function(x){return x.className.split(" ").indexOf("".concat(O,"-overflowed-submenu"))<0}):[]},q.getOverflowedSubMenuItem=function(O,B,x){var te=q.props,ne=te.overflowedIndicator,ye=te.level,me=te.mode,Ce=te.prefixCls,ke=te.theme;if(ye!==1||me!=="horizontal")return null;var Ke=q.props.children[0],He=Ke.props,tt=He.children,Tt=He.title,Yt=He.style,Ft=Object(Ie.a)(He,["children","title","style"]),zt=Object(ae.a)({},Yt),Vt="".concat(O,"-overflowed-indicator"),Qt="".concat(O,"-overflowed-indicator");B.length===0&&x!==!0?zt=Object(ae.a)(Object(ae.a)({},zt),{},{display:"none"}):x&&(zt=Object(ae.a)(Object(ae.a)({},zt),{},{visibility:"hidden",position:"absolute"}),Vt="".concat(Vt,"-placeholder"),Qt="".concat(Qt,"-placeholder"));var Gt=ke?"".concat(Ce,"-").concat(ke):"",on={};return U.forEach(function(qt){Ft[qt]!==void 0&&(on[qt]=Ft[qt])}),y.createElement(Pn,Object(J.a)({title:ne,className:"".concat(Ce,"-overflowed-submenu"),popupClassName:Gt},on,{key:Vt,eventKey:Qt,disabled:!1,style:zt}),B)},q.setChildrenWidthAndResize=function(){if(q.props.mode!=="horizontal")return;var O=q.childRef.current;if(!O)return;var B=O.children;if(!B||B.length===0)return;var x=O.children[B.length-1];Ne(x,"display","inline-block");var te=q.getMenuItemNodes(),ne=te.filter(function(ye){return ye.className.split(" ").indexOf(Wi)>=0});ne.forEach(function(ye){Ne(ye,"display","inline-block")}),q.menuItemSizes=te.map(function(ye){return we(ye,!0)}),ne.forEach(function(ye){Ne(ye,"display","none")}),q.overflowedIndicatorWidth=we(O.children[O.children.length-1],!0),q.originalTotalWidth=q.menuItemSizes.reduce(function(ye,me){return ye+me},0),q.handleResize(),Ne(x,"display","none")},q.handleResize=function(){if(q.props.mode!=="horizontal")return;var O=q.childRef.current;if(!O)return;var B=we(O);q.overflowedItems=[];var x=0,te;q.originalTotalWidth>B+yr&&(te=-1,q.menuItemSizes.forEach(function(ne){x+=ne,x+q.overflowedIndicatorWidth<=B&&(te+=1)})),q.setState({lastVisibleIndex:te})},q}return Object(X.a)(be,[{key:"componentDidMount",value:function(){var O=this;if(this.setChildrenWidthAndResize(),this.props.level===1&&this.props.mode==="horizontal"){var B=this.childRef.current;if(!B)return;this.resizeObserver=new Ye.default(function(x){x.forEach(function(){var te=O.cancelFrameId;cancelAnimationFrame(te),O.cancelFrameId=requestAnimationFrame(O.setChildrenWidthAndResize)})}),[].slice.call(B.children).concat(B).forEach(function(x){O.resizeObserver.observe(x)}),typeof MutationObserver!="undefined"&&(this.mutationObserver=new MutationObserver(function(){O.resizeObserver.disconnect(),[].slice.call(B.children).concat(B).forEach(function(x){O.resizeObserver.observe(x)}),O.setChildrenWidthAndResize()}),this.mutationObserver.observe(B,{attributes:!1,childList:!0,subTree:!1}))}}},{key:"componentWillUnmount",value:function(){this.resizeObserver&&this.resizeObserver.disconnect(),this.mutationObserver&&this.mutationObserver.disconnect(),cancelAnimationFrame(this.cancelFrameId)}},{key:"renderChildren",value:function(O){var B=this,x=this.state.lastVisibleIndex;return(O||[]).reduce(function(te,ne,ye){var me=ne;if(B.props.mode==="horizontal"){var Ce=B.getOverflowedSubMenuItem(ne.props.eventKey,[]);x!==void 0&&B.props.className.indexOf("".concat(B.props.prefixCls,"-root"))!==-1&&(ye>x&&(me=y.cloneElement(ne,{style:{display:"none"},eventKey:"".concat(ne.props.eventKey,"-hidden"),className:"".concat(Wi)})),ye===x+1&&(B.overflowedItems=O.slice(x+1).map(function(Ke){return y.cloneElement(Ke,{key:Ke.props.eventKey,mode:"vertical-left"})}),Ce=B.getOverflowedSubMenuItem(ne.props.eventKey,B.overflowedItems)));var ke=[].concat(Object(N.a)(te),[Ce,me]);return ye===O.length-1&&ke.push(B.getOverflowedSubMenuItem(ne.props.eventKey,[],!0)),ke}return[].concat(Object(N.a)(te),[me])},[])}},{key:"render",value:function(){var O=this.props,B=O.visible,x=O.prefixCls,te=O.overflowedIndicator,ne=O.mode,ye=O.level,me=O.tag,Ce=O.children,ke=O.theme,Ke=Object(Ie.a)(O,["visible","prefixCls","overflowedIndicator","mode","level","tag","children","theme"]),He=me;return y.createElement(He,Object(J.a)({ref:this.childRef},Ke),this.renderChildren(Ce))}}]),be}(y.Component);Mi.defaultProps={tag:"div",className:""};var ya=Mi;function gr(V){return V.length?V.every(function(de){return!!de.props.disabled}):!0}function vr(V,de,be){var q=V.getState();V.setState({activeKey:Object(ae.a)(Object(ae.a)({},q.activeKey),{},Object(re.a)({},de,be))})}function Sr(V){return V.eventKey||"0-menu-"}function Xi(V,de){var be=de,q=V.children,O=V.eventKey;if(be){var B;if(Se(q,function(x,te){x&&x.props&&!x.props.disabled&&be===De(x,O,te)&&(B=!0)}),B)return be}return be=null,V.defaultActiveFirst&&Se(q,function(x,te){!be&&x&&!x.props.disabled&&(be=De(x,O,te))}),be}function la(V){if(!V)return;var de=this.instanceArray.indexOf(V);de!==-1?this.instanceArray[de]=V:this.instanceArray.push(V)}var Zi=function(V){Object(oe.a)(be,V);var de=Object(he.a)(be);function be(q){var O;return Object(P.a)(this,be),O=de.call(this,q),O.onKeyDown=function(B,x){var te=B.keyCode,ne;if(O.getFlatInstanceArray().forEach(function(me){me&&me.props.active&&me.onKeyDown&&(ne=me.onKeyDown(B))}),ne)return 1;var ye=null;return(te===m.a.UP||te===m.a.DOWN)&&(ye=O.step(te===m.a.UP?-1:1)),ye?(B.preventDefault(),vr(O.props.store,Sr(O.props),ye.props.eventKey),typeof x=="function"&&x(ye),1):void 0},O.onItemHover=function(B){var x=B.key,te=B.hover;vr(O.props.store,Sr(O.props),te?x:null)},O.onDeselect=function(B){O.props.onDeselect(B)},O.onSelect=function(B){O.props.onSelect(B)},O.onClick=function(B){O.props.onClick(B)},O.onOpenChange=function(B){O.props.onOpenChange(B)},O.onDestroy=function(B){O.props.onDestroy(B)},O.getFlatInstanceArray=function(){return O.instanceArray},O.step=function(B){var x=O.getFlatInstanceArray(),te=O.props.store.getState().activeKey[Sr(O.props)],ne=x.length;if(!ne)return null;B<0&&(x=x.concat().reverse());var ye=-1;if(x.every(function(Ke,He){return Ke&&Ke.props.eventKey===te?(ye=He,!1):!0}),!O.props.defaultActiveFirst&&ye!==-1&&gr(x.slice(ye,ne-1)))return;var me=(ye+1)%ne,Ce=me;do{var ke=x[Ce];if(!ke||ke.props.disabled)Ce=(Ce+1)%ne;else return ke}while(Ce!==me);return null},O.renderCommonMenuItem=function(B,x,te){var ne=O.props.store.getState(),ye=Object(F.a)(O),me=ye.props,Ce=De(B,me.eventKey,x),ke=B.props;if(!ke||typeof B.type=="string")return B;var Ke=Ce===ne.activeKey,He=Object(ae.a)(Object(ae.a)({mode:ke.mode||me.mode,level:me.level,inlineIndent:me.inlineIndent,renderMenuItem:O.renderMenuItem,rootPrefixCls:me.prefixCls,index:x,parentMenu:me.parentMenu,manualRef:ke.disabled?void 0:Object(W.a)(B.ref,la.bind(Object(F.a)(O))),eventKey:Ce,active:!ke.disabled&&Ke,multiple:me.multiple,onClick:function(Tt){(ke.onClick||pe)(Tt),O.onClick(Tt)},onItemHover:O.onItemHover,motion:me.motion,subMenuOpenDelay:me.subMenuOpenDelay,subMenuCloseDelay:me.subMenuCloseDelay,forceSubMenuRender:me.forceSubMenuRender,onOpenChange:O.onOpenChange,onDeselect:O.onDeselect,onSelect:O.onSelect,builtinPlacements:me.builtinPlacements,itemIcon:ke.itemIcon||O.props.itemIcon,expandIcon:ke.expandIcon||O.props.expandIcon},te),{},{direction:me.direction});return(me.mode==="inline"||Le())&&(He.triggerSubMenuAction="click"),y.cloneElement(B,Object(ae.a)(Object(ae.a)({},He),{},{key:Ce||x}))},O.renderMenuItem=function(B,x,te){if(!B)return null;var ne=O.props.store.getState(),ye={openKeys:ne.openKeys,selectedKeys:ne.selectedKeys,triggerSubMenuAction:O.props.triggerSubMenuAction,subMenuKey:te};return O.renderCommonMenuItem(B,x,ye)},q.store.setState({activeKey:Object(ae.a)(Object(ae.a)({},q.store.getState().activeKey),{},Object(re.a)({},q.eventKey,Xi(q,q.activeKey)))}),O.instanceArray=[],O}return Object(X.a)(be,[{key:"componentDidMount",value:function(){this.props.manualRef&&this.props.manualRef(this)}},{key:"shouldComponentUpdate",value:function(O){return this.props.visible||O.visible||this.props.className!==O.className||!Re()(this.props.style,O.style)}},{key:"componentDidUpdate",value:function(O){var B=this.props,x="activeKey"in B?B.activeKey:B.store.getState().activeKey[Sr(B)],te=Xi(B,x);if(te!==x)vr(B.store,Sr(B),te);else if("activeKey"in O){var ne=Xi(O,O.activeKey);te!==ne&&vr(B.store,Sr(B),te)}}},{key:"render",value:function(){var O=this,B=Object(J.a)({},this.props);this.instanceArray=[];var x=ue()(B.prefixCls,B.className,"".concat(B.prefixCls,"-").concat(B.mode)),te={className:x,role:B.role||"menu"};B.id&&(te.id=B.id),B.focusable&&(te.tabIndex=0,te.onKeyDown=this.onKeyDown);var ne=B.prefixCls,ye=B.eventKey,me=B.visible,Ce=B.level,ke=B.mode,Ke=B.overflowedIndicator,He=B.theme;return U.forEach(function(tt){return delete B[tt]}),delete B.onClick,y.createElement(ya,Object(J.a)({},B,{prefixCls:ne,mode:ke,tag:"ul",level:Ce,theme:He,visible:me,overflowedIndicator:Ke},te),Object(ge.a)(B.children).map(function(tt,Tt){return O.renderMenuItem(tt,Tt,ye||"0-menu-")}))}}]),be}(y.Component);Zi.defaultProps={prefixCls:"rc-menu",className:"",mode:"vertical",level:1,inlineIndent:24,visible:!0,focusable:!0,style:{},manualRef:pe};var Fr=Object(ce.b)()(Zi),Jr=Fr,Cr=s("Kwbf");function Ya(V,de,be){var q=V.prefixCls,O=V.motion,B=V.defaultMotions,x=B===void 0?{}:B,te=V.openAnimation,ne=V.openTransitionName,ye=de.switchingModeFromInline;if(O)return O;if(Object(D.a)(te)==="object"&&te)Object(Cr.a)(!1,"Object type of `openAnimation` is removed. Please use `motion` instead.");else if(typeof te=="string")return{motionName:"".concat(q,"-open-").concat(te)};if(ne)return{motionName:ne};var me=x[be];return me||(ye?null:x.other)}var ua=function(V){Object(oe.a)(be,V);var de=Object(he.a)(be);function be(q){var O;Object(P.a)(this,be),O=de.call(this,q),O.onSelect=function(te){var ne=Object(F.a)(O),ye=ne.props;if(ye.selectable){var me=O.store.getState(),Ce=me.selectedKeys,ke=te.key;ye.multiple?Ce=Ce.concat([ke]):Ce=[ke],"selectedKeys"in ye||O.store.setState({selectedKeys:Ce}),ye.onSelect(Object(ae.a)(Object(ae.a)({},te),{},{selectedKeys:Ce}))}},O.onClick=function(te){var ne=O.getRealMenuMode(),ye=Object(F.a)(O),me=ye.store,Ce=ye.props.onOpenChange;ne!=="inline"&&!("openKeys"in O.props)&&(me.setState({openKeys:[]}),Ce([])),O.props.onClick(te)},O.onKeyDown=function(te,ne){O.innerMenu.getWrappedInstance().onKeyDown(te,ne)},O.onOpenChange=function(te){var ne=Object(F.a)(O),ye=ne.props,me=O.store.getState().openKeys.concat(),Ce=!1,ke=function(He){var tt=!1;if(He.open)tt=me.indexOf(He.key)===-1,tt&&me.push(He.key);else{var Tt=me.indexOf(He.key);tt=Tt!==-1,tt&&me.splice(Tt,1)}Ce=Ce||tt};Array.isArray(te)?te.forEach(ke):ke(te),Ce&&("openKeys"in O.props||O.store.setState({openKeys:me}),ye.onOpenChange(me))},O.onDeselect=function(te){var ne=Object(F.a)(O),ye=ne.props;if(ye.selectable){var me=O.store.getState().selectedKeys.concat(),Ce=te.key,ke=me.indexOf(Ce);ke!==-1&&me.splice(ke,1),"selectedKeys"in ye||O.store.setState({selectedKeys:me}),ye.onDeselect(Object(ae.a)(Object(ae.a)({},te),{},{selectedKeys:me}))}},O.onMouseEnter=function(te){O.restoreModeVerticalFromInline();var ne=O.props.onMouseEnter;ne&&ne(te)},O.onTransitionEnd=function(te){var ne=te.propertyName==="width"&&te.target===te.currentTarget,ye=te.target.className,me=Object.prototype.toString.call(ye)==="[object SVGAnimatedString]"?ye.animVal:ye,Ce=te.propertyName==="font-size"&&me.indexOf("anticon")>=0;(ne||Ce)&&O.restoreModeVerticalFromInline()},O.setInnerMenu=function(te){O.innerMenu=te},O.isRootMenu=!0;var B=q.defaultSelectedKeys,x=q.defaultOpenKeys;return"selectedKeys"in q&&(B=q.selectedKeys||[]),"openKeys"in q&&(x=q.openKeys||[]),O.store=Object(ce.c)({selectedKeys:B,openKeys:x,activeKey:{"0-menu-":Xi(q,q.activeKey)}}),O.state={switchingModeFromInline:!1,prevProps:q,inlineOpenKeys:[],store:O.store},O}return Object(X.a)(be,[{key:"componentDidMount",value:function(){this.updateMiniStore(),this.updateMenuDisplay()}},{key:"componentDidUpdate",value:function(O){var B=this.props,x=B.siderCollapsed,te=B.inlineCollapsed,ne=B.onOpenChange;(!O.inlineCollapsed&&te||!O.siderCollapsed&&x)&&ne([]),this.updateMiniStore(),this.updateMenuDisplay()}},{key:"updateMenuDisplay",value:function(){var O=this.props.collapsedWidth,B=this.store,x=this.prevOpenKeys,te=this.getInlineCollapsed()&&(O===0||O==="0"||O==="0px");te?(this.prevOpenKeys=B.getState().openKeys.concat(),this.store.setState({openKeys:[]})):x&&(this.store.setState({openKeys:x}),this.prevOpenKeys=null)}},{key:"getRealMenuMode",value:function(){var O=this.props.mode,B=this.state.switchingModeFromInline,x=this.getInlineCollapsed();return B&&x?"inline":x?"vertical":O}},{key:"getInlineCollapsed",value:function(){var O=this.props,B=O.inlineCollapsed,x=O.siderCollapsed;return x!==void 0?x:B}},{key:"restoreModeVerticalFromInline",value:function(){var O=this.state.switchingModeFromInline;O&&this.setState({switchingModeFromInline:!1})}},{key:"updateMiniStore",value:function(){"selectedKeys"in this.props&&this.store.setState({selectedKeys:this.props.selectedKeys||[]}),"openKeys"in this.props&&this.store.setState({openKeys:this.props.openKeys||[]})}},{key:"render",value:function(){var O=Object(ae.a)({},Object(Q.a)(this.props,["collapsedWidth","siderCollapsed","defaultMotions"])),B=this.getRealMenuMode();return O.className+=" ".concat(O.prefixCls,"-root"),O.direction==="rtl"&&(O.className+=" ".concat(O.prefixCls,"-rtl")),O=Object(ae.a)(Object(ae.a)({},O),{},{mode:B,onClick:this.onClick,onOpenChange:this.onOpenChange,onDeselect:this.onDeselect,onSelect:this.onSelect,onMouseEnter:this.onMouseEnter,onTransitionEnd:this.onTransitionEnd,parentMenu:this,motion:Ya(this.props,this.state,B)}),delete O.openAnimation,delete O.openTransitionName,y.createElement(ce.a,{store:this.store},y.createElement(Jr,Object(J.a)({},O,{ref:this.setInnerMenu}),this.props.children))}}],[{key:"getDerivedStateFromProps",value:function(O,B){var x=B.prevProps,te=B.store,ne=te.getState(),ye={},me={prevProps:O};return x.mode==="inline"&&O.mode!=="inline"&&(me.switchingModeFromInline=!0),"openKeys"in O?ye.openKeys=O.openKeys||[]:((O.inlineCollapsed&&!x.inlineCollapsed||O.siderCollapsed&&!x.siderCollapsed)&&(me.switchingModeFromInline=!0,me.inlineOpenKeys=ne.openKeys,ye.openKeys=[]),(!O.inlineCollapsed&&x.inlineCollapsed||!O.siderCollapsed&&x.siderCollapsed)&&(ye.openKeys=B.inlineOpenKeys,me.inlineOpenKeys=[])),Object.keys(ye).length&&te.setState(ye),me}}]),be}(y.Component);ua.defaultProps={selectable:!0,onClick:pe,onSelect:pe,onOpenChange:pe,onDeselect:pe,defaultSelectedKeys:[],defaultOpenKeys:[],subMenuOpenDelay:.1,subMenuCloseDelay:.1,triggerSubMenuAction:"hover",prefixCls:"rc-menu",className:"",mode:"vertical",style:{},builtinPlacements:{},overflowedIndicator:y.createElement("span",null,"\xB7\xB7\xB7")};var Va=ua,br=function(V){Object(oe.a)(be,V);var de=Object(he.a)(be);function be(){var q;return Object(P.a)(this,be),q=de.apply(this,arguments),q.onKeyDown=function(O){var B=O.keyCode;return B===m.a.ENTER?(q.onClick(O),!0):void 0},q.onMouseLeave=function(O){var B=q.props,x=B.eventKey,te=B.onItemHover,ne=B.onMouseLeave;te({key:x,hover:!1}),ne({key:x,domEvent:O})},q.onMouseEnter=function(O){var B=q.props,x=B.eventKey,te=B.onItemHover,ne=B.onMouseEnter;te({key:x,hover:!0}),ne({key:x,domEvent:O})},q.onClick=function(O){var B=q.props,x=B.eventKey,te=B.multiple,ne=B.onClick,ye=B.onSelect,me=B.onDeselect,Ce=B.isSelected,ke={key:x,keyPath:[x],item:Object(F.a)(q),domEvent:O};ne(ke),te?Ce?me(ke):ye(ke):Ce||ye(ke)},q.saveNode=function(O){q.node=O},q}return Object(X.a)(be,[{key:"componentDidMount",value:function(){this.callRef()}},{key:"componentDidUpdate",value:function(){this.callRef()}},{key:"componentWillUnmount",value:function(){var O=this.props;O.onDestroy&&O.onDestroy(O.eventKey)}},{key:"getPrefixCls",value:function(){return"".concat(this.props.rootPrefixCls,"-item")}},{key:"getActiveClassName",value:function(){return"".concat(this.getPrefixCls(),"-active")}},{key:"getSelectedClassName",value:function(){return"".concat(this.getPrefixCls(),"-selected")}},{key:"getDisabledClassName",value:function(){return"".concat(this.getPrefixCls(),"-disabled")}},{key:"callRef",value:function(){this.props.manualRef&&this.props.manualRef(this)}},{key:"render",value:function(){var O,B=Object(ae.a)({},this.props),x=ue()(this.getPrefixCls(),B.className,(O={},Object(re.a)(O,this.getActiveClassName(),!B.disabled&&B.active),Object(re.a)(O,this.getSelectedClassName(),B.isSelected),Object(re.a)(O,this.getDisabledClassName(),B.disabled),O)),te=Object(ae.a)(Object(ae.a)({},B.attribute),{},{title:typeof B.title=="string"?B.title:void 0,className:x,role:B.role||"menuitem","aria-disabled":B.disabled});B.role==="option"?te=Object(ae.a)(Object(ae.a)({},te),{},{role:"option","aria-selected":B.isSelected}):(B.role===null||B.role==="none")&&(te.role="none");var ne={onClick:B.disabled?null:this.onClick,onMouseLeave:B.disabled?null:this.onMouseLeave,onMouseEnter:B.disabled?null:this.onMouseEnter},ye=Object(ae.a)({},B.style);B.mode==="inline"&&(B.direction==="rtl"?ye.paddingRight=B.inlineIndent*B.level:ye.paddingLeft=B.inlineIndent*B.level),U.forEach(function(Ce){return delete B[Ce]}),delete B.direction;var me=this.props.itemIcon;return typeof this.props.itemIcon=="function"&&(me=y.createElement(this.props.itemIcon,this.props)),y.createElement("li",Object(J.a)({},Object(Q.a)(B,["onClick","onMouseEnter","onMouseLeave","onSelect"]),te,ne,{style:ye,ref:this.saveNode}),B.children,me)}}]),be}(y.Component);br.isMenuItem=!0,br.defaultProps={onSelect:pe,onMouseEnter:pe,onMouseLeave:pe,manualRef:pe};var ca=Object(ce.b)(function(V,de){var be=V.activeKey,q=V.selectedKeys,O=de.eventKey,B=de.subMenuKey;return{active:be[B]===O,isSelected:Array.isArray(q)?q.indexOf(O)!==-1:q===O}})(br),Ea=ca,Xr=function(V){Object(oe.a)(be,V);var de=Object(he.a)(be);function be(){var q;return Object(P.a)(this,be),q=de.apply(this,arguments),q.renderInnerMenuItem=function(O){var B=q.props,x=B.renderMenuItem,te=B.index;return x(O,te,q.props.subMenuKey)},q}return Object(X.a)(be,[{key:"render",value:function(){var O=Object(J.a)({},this.props),B=O.className,x=B===void 0?"":B,te=O.rootPrefixCls,ne="".concat(te,"-item-group-title"),ye="".concat(te,"-item-group-list"),me=O.title,Ce=O.children;return U.forEach(function(ke){return delete O[ke]}),delete O.direction,y.createElement("li",Object(J.a)({},O,{onClick:function(Ke){return Ke.stopPropagation()},className:"".concat(x," ").concat(te,"-item-group")}),y.createElement("div",{className:ne,title:typeof me=="string"?me:void 0},me),y.createElement("ul",{className:ye},y.Children.map(Ce,this.renderInnerMenuItem)))}}]),be}(y.Component);Xr.isMenuItemGroup=!0,Xr.defaultProps={disabled:!0};var qi=Xr,Aa=function(de){var be=de.className,q=de.rootPrefixCls,O=de.style;return y.createElement("li",{className:"".concat(be," ").concat(q,"-item-divider"),style:O})};Aa.defaultProps={disabled:!0,className:"",style:{}};var Oo=Aa,Oa=Va,Ja=s("eDIo");function wa(V,de){var be=V.prefixCls,q=V.editable,O=V.locale,B=V.style;return!q||q.showAdd===!1?null:y.createElement("button",{ref:de,type:"button",className:"".concat(be,"-nav-add"),style:B,"aria-label":(O==null?void 0:O.addAriaLabel)||"Add tab",onClick:function(te){q.onEdit("add",{event:te})}},q.addIcon||"+")}var Rr=y.forwardRef(wa);function Br(V,de){var be=V.prefixCls,q=V.id,O=V.tabs,B=V.locale,x=V.mobile,te=V.moreIcon,ne=te===void 0?"More":te,ye=V.moreTransitionName,me=V.style,Ce=V.className,ke=V.editable,Ke=V.tabBarGutter,He=V.rtl,tt=V.onTabClick,Tt=Object(y.useState)(!1),Yt=Object(ie.a)(Tt,2),Ft=Yt[0],zt=Yt[1],Vt=Object(y.useState)(null),Qt=Object(ie.a)(Vt,2),Gt=Qt[0],on=Qt[1],qt="".concat(q,"-more-popup"),Yn="".concat(be,"-dropdown"),$t=Gt!==null?"".concat(qt,"-").concat(Gt):null,At=B==null?void 0:B.dropdownAriaLabel,vt=y.createElement(Oa,{onClick:function(Dn){var Sn=Dn.key,ri=Dn.domEvent;tt(Sn,ri),zt(!1)},id:qt,tabIndex:-1,role:"listbox","aria-activedescendant":$t,selectedKeys:[Gt],"aria-label":At!==void 0?At:"expanded dropdown"},O.map(function(gn){return y.createElement(Ea,{key:gn.key,id:"".concat(qt,"-").concat(gn.key),role:"option","aria-controls":q&&"".concat(q,"-panel-").concat(gn.key),disabled:gn.disabled},gn.tab)}));function nn(gn){for(var Dn=O.filter(function(ji){return!ji.disabled}),Sn=Dn.findIndex(function(ji){return ji.key===Gt})||0,ri=Dn.length,_i=0;_i<ri;_i+=1){Sn=(Sn+gn+ri)%ri;var qn=Dn[Sn];if(!qn.disabled){on(qn.key);return}}}function sn(gn){var Dn=gn.which;if(!Ft){[m.a.DOWN,m.a.SPACE,m.a.ENTER].includes(Dn)&&(zt(!0),gn.preventDefault());return}switch(Dn){case m.a.UP:nn(-1),gn.preventDefault();break;case m.a.DOWN:nn(1),gn.preventDefault();break;case m.a.ESC:zt(!1);break;case m.a.SPACE:case m.a.ENTER:Gt!==null&&tt(Gt,gn);break}}Object(y.useEffect)(function(){var gn=document.getElementById($t);gn&&gn.scrollIntoView&&gn.scrollIntoView(!1)},[Gt]),Object(y.useEffect)(function(){Ft||on(null)},[Ft]);var ft=Object(re.a)({},He?"marginLeft":"marginRight",Ke);O.length||(ft.visibility="hidden",ft.order=1);var dn=ue()(Object(re.a)({},"".concat(Yn,"-rtl"),He)),Vn=x?null:y.createElement(Ja.a,{prefixCls:Yn,overlay:vt,trigger:["hover"],visible:Ft,transitionName:ye,onVisibleChange:zt,overlayClassName:dn,mouseEnterDelay:.1,mouseLeaveDelay:.1},y.createElement("button",{type:"button",className:"".concat(be,"-nav-more"),style:ft,tabIndex:-1,"aria-hidden":"true","aria-haspopup":"listbox","aria-controls":qt,id:"".concat(q,"-more"),"aria-expanded":Ft,onKeyDown:sn},ne));return y.createElement("div",{className:ue()("".concat(be,"-nav-operations"),Ce),style:me,ref:de},Vn,y.createElement(Rr,{prefixCls:be,locale:B,editable:ke}))}var Ta=y.forwardRef(Br),da=Object(y.createContext)(null),Xa=.1,wt=.01,Be=20,ct=Math.pow(.995,Be);function qe(){var V=navigator.userAgent||navigator.vendor||window.opera;return!!(/(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\.(browser|link)|vodafone|wap|windows ce|xda|xiino|android|ipad|playbook|silk/i.test(V)||/1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw-(n|u)|c55\/|capi|ccwa|cdm-|cell|chtm|cldc|cmd-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc-s|devi|dica|dmob|do(c|p)o|ds(12|-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(-|_)|g1 u|g560|gene|gf-5|g-mo|go(\.w|od)|gr(ad|un)|haie|hcit|hd-(m|p|t)|hei-|hi(pt|ta)|hp( i|ip)|hs-c|ht(c(-| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i-(20|go|ma)|i230|iac( |-|\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |\/)|klon|kpt |kwc-|kyo(c|k)|le(no|xi)|lg( g|\/(k|l|u)|50|54|-[a-w])|libw|lynx|m1-w|m3ga|m50\/|ma(te|ui|xo)|mc(01|21|ca)|m-cr|me(rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t(-| |o|v)|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)-|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|-([1-8]|c))|phil|pire|pl(ay|uc)|pn-2|po(ck|rt|se)|prox|psio|pt-g|qa-a|qc(07|12|21|32|60|-[2-7]|i-)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h-|oo|p-)|sdk\/|se(c(-|0|1)|47|mc|nd|ri)|sgh-|shar|sie(-|m)|sk-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h-|v-|v )|sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl-|tdg-|tel(i|m)|tim-|t-mo|to(pl|sh)|ts(70|m-|m3|m5)|tx-9|up(\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(-| )|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|yas-|your|zeto|zte-/i.test(V.substr(0,4)))}function Et(V,de){var be=Object(y.useState)(),q=Object(ie.a)(be,2),O=q[0],B=q[1],x=Object(y.useState)(0),te=Object(ie.a)(x,2),ne=te[0],ye=te[1],me=Object(y.useState)(0),Ce=Object(ie.a)(me,2),ke=Ce[0],Ke=Ce[1],He=Object(y.useState)(),tt=Object(ie.a)(He,2),Tt=tt[0],Yt=tt[1],Ft=Object(y.useRef)();function zt(At){var vt=At.touches[0],nn=vt.screenX,sn=vt.screenY;B({x:nn,y:sn}),window.clearInterval(Ft.current)}function Vt(At){if(!O)return;At.preventDefault();var vt=At.touches[0],nn=vt.screenX,sn=vt.screenY;B({x:nn,y:sn});var ft=nn-O.x,dn=sn-O.y;de(ft,dn);var Vn=Date.now();ye(Vn),Ke(Vn-ne),Yt({x:ft,y:dn})}function Qt(){if(!O)return;if(B(null),Yt(null),Tt){var At=Tt.x/ke,vt=Tt.y/ke,nn=Math.abs(At),sn=Math.abs(vt);if(Math.max(nn,sn)<Xa)return;var ft=At,dn=vt;Ft.current=window.setInterval(function(){if(Math.abs(ft)<wt&&Math.abs(dn)<wt){window.clearInterval(Ft.current);return}ft*=ct,dn*=ct,de(ft*Be,dn*Be)},Be)}}var Gt=Object(y.useRef)(0),on=Object(y.useRef)(!1),qt=Object(y.useRef)();function Yn(At){var vt=At.deltaX,nn=At.deltaY,sn=0,ft=Math.abs(vt),dn=Math.abs(nn);ft===dn?sn=qt.current==="x"?vt:nn:ft>dn?(sn=vt,qt.current="x"):(sn=nn,qt.current="y");var Vn=Date.now();Vn-Gt.current>100&&(on.current=!1),(de(-sn,-sn)||on.current)&&(At.preventDefault(),on.current=!0),Gt.current=Vn}var $t=Object(y.useRef)(null);$t.current={onTouchStart:zt,onTouchMove:Vt,onTouchEnd:Qt,onWheel:Yn},y.useEffect(function(){function At(ft){$t.current.onTouchStart(ft)}function vt(ft){$t.current.onTouchMove(ft)}function nn(ft){$t.current.onTouchEnd(ft)}function sn(ft){$t.current.onWheel(ft)}return document.addEventListener("touchmove",vt,{passive:!1}),document.addEventListener("touchend",nn,{passive:!1}),V.current.addEventListener("touchstart",At,{passive:!1}),V.current.addEventListener("wheel",sn),function(){document.removeEventListener("touchmove",vt),document.removeEventListener("touchend",nn)}},[])}function jt(){var V=Object(y.useRef)(new Map);function de(q){return V.current.has(q)||V.current.set(q,y.createRef()),V.current.get(q)}function be(q){V.current.delete(q)}return[de,be]}function mn(V,de){var be=y.useRef(V),q=y.useState({}),O=Object(ie.a)(q,2),B=O[1];function x(te){var ne=typeof te=="function"?te(be.current):te;ne!==be.current&&de(ne,be.current),be.current=ne,B({})}return[be.current,x]}var bn=function(de){var be=de.position,q=de.prefixCls,O=de.extra;if(!O)return null;var B,x=O;return be==="right"&&(B=x.right||!x.left&&x||null),be==="left"&&(B=x.left||null),B?y.createElement("div",{className:"".concat(q,"-extra-content")},B):null};function zn(V,de){var be,q=y.useContext(da),O=q.prefixCls,B=q.tabs,x=V.className,te=V.style,ne=V.id,ye=V.animated,me=V.activeKey,Ce=V.rtl,ke=V.extra,Ke=V.editable,He=V.locale,tt=V.tabPosition,Tt=V.tabBarGutter,Yt=V.children,Ft=V.onTabClick,zt=V.onTabScroll,Vt=Object(y.useRef)(),Qt=Object(y.useRef)(),Gt=Object(y.useRef)(),on=Object(y.useRef)(),qt=jt(),Yn=Object(ie.a)(qt,2),$t=Yn[0],At=Yn[1],vt=tt==="top"||tt==="bottom",nn=mn(0,function(An,an){vt&&zt&&zt({direction:An>an?"left":"right"})}),sn=Object(ie.a)(nn,2),ft=sn[0],dn=sn[1],Vn=mn(0,function(An,an){!vt&&zt&&zt({direction:An>an?"top":"bottom"})}),gn=Object(ie.a)(Vn,2),Dn=gn[0],Sn=gn[1],ri=Object(y.useState)(0),_i=Object(ie.a)(ri,2),qn=_i[0],ji=_i[1],cr=Object(y.useState)(0),Hi=Object(ie.a)(cr,2),yi=Hi[0],Bn=Hi[1],Mn=Object(y.useState)(0),$n=Object(ie.a)(Mn,2),Jn=$n[0],dr=$n[1],xr=Object(y.useState)(0),Ir=Object(ie.a)(xr,2),Cn=Ir[0],_r=Ir[1],Nr=Object(y.useState)(null),jn=Object(ie.a)(Nr,2),Tn=jn[0],Ei=jn[1],To=Object(y.useState)(null),qa=Object(ie.a)(To,2),Dr=qa[0],Zr=qa[1],Ca=Object(y.useState)(0),$a=Object(ie.a)(Ca,2),Ra=$a[0],Yo=$a[1],Vo=Object(y.useState)(0),So=Object(ie.a)(Vo,2),eo=So[0],to=So[1],qr=d(new Map),$r=Object(ie.a)(qr,2),Jo=$r[0],xa=$r[1],ha=g(B,Jo,qn),ea="".concat(O,"-nav-operations-hidden"),ta=0,hr=0;vt?Ce?(ta=0,hr=Math.max(0,qn-Tn)):(ta=Math.min(0,Tn-qn),hr=0):(ta=Math.min(0,Dr-yi),hr=0);function Wr(An){return An<ta?[ta,!1]:An>hr?[hr,!1]:[An,!0]}var Mr=Object(y.useRef)(),fa=Object(y.useState)(),Hr=Object(ie.a)(fa,2),Ia=Hr[0],no=Hr[1];function Na(){no(Date.now())}function io(){window.clearTimeout(Mr.current)}Et(Vt,function(An,an){var Ai=!1;function zi(na,Ar){na(function(ga){var kr=Wr(ga+Ar),Oi=Object(ie.a)(kr,2),La=Oi[0],ao=Oi[1];return Ai=ao,La})}if(vt){if(Tn>=qn)return Ai;zi(dn,An)}else{if(Dr>=yi)return Ai;zi(Sn,an)}return io(),Na(),Ai}),Object(y.useEffect)(function(){return io(),Ia&&(Mr.current=window.setTimeout(function(){no(0)},100)),io},[Ia]);function Lr(){var An=arguments.length>0&&arguments[0]!==void 0?arguments[0]:me,an=ha.get(An);if(!an)return;if(vt){var Ai=ft;Ce?an.right<ft?Ai=an.right:an.right+an.width>ft+Tn&&(Ai=an.right+an.width-Tn):an.left<-ft?Ai=-an.left:an.left+an.width>-ft+Tn&&(Ai=-(an.left+an.width-Tn)),Sn(0),dn(Wr(Ai)[0])}else{var zi=Dn;an.top<-Dn?zi=-an.top:an.top+an.height>-Dn+Dr&&(zi=-(an.top+an.height-Dr)),dn(0),Sn(Wr(zi)[0])}}var Kr=G(ha,{width:Tn,height:Dr,left:ft,top:Dn},{width:Jn,height:Cn},{width:Ra,height:eo},Object(ae.a)(Object(ae.a)({},V),{},{tabs:B})),Co=Object(ie.a)(Kr,2),Xo=Co[0],Zo=Co[1],qo=B.map(function(An){var an=An.key;return y.createElement(z,{id:ne,prefixCls:O,key:an,rtl:Ce,tab:An,closable:An.closable,editable:Ke,active:an===me,tabPosition:tt,tabBarGutter:Tt,renderWrapper:Yt,removeAriaLabel:He==null?void 0:He.removeAriaLabel,ref:$t(an),onClick:function(zi){Ft(an,zi)},onRemove:function(){At(an)},onFocus:function(){Lr(an),Na(),Ce||(Vt.current.scrollLeft=0),Vt.current.scrollTop=0}})}),ro=h(function(){var An,an,Ai,zi,na,Ar,ga,kr,Oi,La=((An=Vt.current)===null||An===void 0?void 0:An.offsetWidth)||0,ao=((an=Vt.current)===null||an===void 0?void 0:an.offsetHeight)||0,oo=((Ai=on.current)===null||Ai===void 0?void 0:Ai.offsetWidth)||0,Gi=((zi=on.current)===null||zi===void 0?void 0:zi.offsetHeight)||0,_n=((na=Gt.current)===null||na===void 0?void 0:na.offsetWidth)||0,pr=((Ar=Gt.current)===null||Ar===void 0?void 0:Ar.offsetHeight)||0;Ei(La),Zr(ao),Yo(oo),to(Gi);var Or=(((ga=Qt.current)===null||ga===void 0?void 0:ga.offsetWidth)||0)-oo,wr=(((kr=Qt.current)===null||kr===void 0?void 0:kr.offsetHeight)||0)-Gi;ji(Or),Bn(wr);var so=(Oi=Gt.current)===null||Oi===void 0?void 0:Oi.className.includes(ea);dr(Or-(so?0:_n)),_r(wr-(so?0:pr)),xa(function(){var ka=new Map;return B.forEach(function(Do){var Mo=Do.key,Gr=$t(Mo).current;Gr&&ka.set(Mo,{width:Gr.offsetWidth,height:Gr.offsetHeight,left:Gr.offsetLeft,top:Gr.offsetTop})}),ka})}),$o=B.slice(0,Xo),Ki=B.slice(Zo+1),ui=[].concat(Object(N.a)($o),Object(N.a)(Ki)),Li=Object(y.useState)(),ci=Object(ie.a)(Li,2),pa=ci[0],es=ci[1],fr=ha.get(me),Ro=Object(y.useRef)();function xo(){E.a.cancel(Ro.current)}Object(y.useEffect)(function(){var An={};return fr&&(vt?(Ce?An.right=fr.right:An.left=fr.left,An.width=fr.width):(An.top=fr.top,An.height=fr.height)),xo(),Ro.current=E()(function(){es(An)}),xo},[fr,vt,Ce]),Object(y.useEffect)(function(){Lr()},[me,fr,ha,vt]),Object(y.useEffect)(function(){ro()},[Ce,Tt,me,B.map(function(An){return An.key}).join("_")]);var Io=!!ui.length,zr="".concat(O,"-nav-wrap"),Da,ma,No,Ma;return vt?Ce?(ma=ft>0,Da=ft+Tn<qn):(Da=ft<0,ma=-ft+Tn<qn):(No=Dn<0,Ma=-Dn+Dr<yi),y.createElement("div",{ref:de,role:"tablist",className:ue()("".concat(O,"-nav"),x),style:te,onKeyDown:function(){Na()}},y.createElement(bn,{position:"left",extra:ke,prefixCls:O}),y.createElement(f.a,{onResize:ro},y.createElement("div",{className:ue()(zr,(be={},Object(re.a)(be,"".concat(zr,"-ping-left"),Da),Object(re.a)(be,"".concat(zr,"-ping-right"),ma),Object(re.a)(be,"".concat(zr,"-ping-top"),No),Object(re.a)(be,"".concat(zr,"-ping-bottom"),Ma),be)),ref:Vt},y.createElement(f.a,{onResize:ro},y.createElement("div",{ref:Qt,className:"".concat(O,"-nav-list"),style:{transform:"translate(".concat(ft,"px, ").concat(Dn,"px)"),transition:Ia?"none":void 0}},qo,y.createElement(Rr,{ref:on,prefixCls:O,locale:He,editable:Ke,style:{visibility:Io?"hidden":null}}),y.createElement("div",{className:ue()("".concat(O,"-ink-bar"),Object(re.a)({},"".concat(O,"-ink-bar-animated"),ye.inkBar)),style:pa}))))),y.createElement(Ta,Object.assign({},V,{ref:Gt,prefixCls:O,tabs:ui,className:!Io&&ea})),y.createElement(bn,{position:"right",extra:ke,prefixCls:O}))}var Nn=y.forwardRef(zn);function ii(V){var de=V.id,be=V.activeKey,q=V.animated,O=V.tabPosition,B=V.rtl,x=V.destroyInactiveTabPane,te=y.useContext(da),ne=te.prefixCls,ye=te.tabs,me=q.tabPane,Ce=ye.findIndex(function(ke){return ke.key===be});return y.createElement("div",{className:ue()("".concat(ne,"-content-holder"))},y.createElement("div",{className:ue()("".concat(ne,"-content"),"".concat(ne,"-content-").concat(O),Object(re.a)({},"".concat(ne,"-content-animated"),me)),style:Ce&&me?Object(re.a)({},B?"marginRight":"marginLeft","-".concat(Ce,"00%")):null},ye.map(function(ke){return y.cloneElement(ke.node,{key:ke.key,prefixCls:ne,tabKey:ke.key,id:de,animated:me,active:ke.key===be,destroyInactiveTabPane:x})})))}function ar(V){var de=V.prefixCls,be=V.forceRender,q=V.className,O=V.style,B=V.id,x=V.active,te=V.animated,ne=V.destroyInactiveTabPane,ye=V.tabKey,me=V.children,Ce=y.useState(be),ke=Object(ie.a)(Ce,2),Ke=ke[0],He=ke[1];y.useEffect(function(){x?He(!0):ne&&He(!1)},[x,ne]);var tt={};return x||(te?(tt.visibility="hidden",tt.height=0,tt.overflowY="hidden"):tt.display="none"),y.createElement("div",{id:B&&"".concat(B,"-panel-").concat(ye),role:"tabpanel",tabIndex:x?0:-1,"aria-labelledby":B&&"".concat(B,"-tab-").concat(ye),"aria-hidden":!x,style:Object(ae.a)(Object(ae.a)({},tt),O),className:ue()("".concat(de,"-tabpane"),x&&"".concat(de,"-tabpane-active"),q)},(x||Ke||be)&&me)}var xi=0;function Sa(V){return Object(ge.a)(V).map(function(de){if(y.isValidElement(de)){var be=de.key!==void 0?String(de.key):void 0;return Object(ae.a)(Object(ae.a)({key:be},de.props),{},{node:de})}return null}).filter(function(de){return de})}function wo(V,de){var be,q=V.id,O=V.prefixCls,B=O===void 0?"rc-tabs":O,x=V.className,te=V.children,ne=V.direction,ye=V.activeKey,me=V.defaultActiveKey,Ce=V.editable,ke=V.animated,Ke=V.tabPosition,He=Ke===void 0?"top":Ke,tt=V.tabBarGutter,Tt=V.tabBarStyle,Yt=V.tabBarExtraContent,Ft=V.locale,zt=V.moreIcon,Vt=V.moreTransitionName,Qt=V.destroyInactiveTabPane,Gt=V.renderTabBar,on=V.onChange,qt=V.onTabClick,Yn=V.onTabScroll,$t=Object(Ie.a)(V,["id","prefixCls","className","children","direction","activeKey","defaultActiveKey","editable","animated","tabPosition","tabBarGutter","tabBarStyle","tabBarExtraContent","locale","moreIcon","moreTransitionName","destroyInactiveTabPane","renderTabBar","onChange","onTabClick","onTabScroll"]),At=Sa(te),vt=ne==="rtl",nn;ke===!1?nn={inkBar:!1,tabPane:!1}:nn=Object(ae.a)({inkBar:!0,tabPane:!1},ke!==!0?ke:null);var sn=Object(y.useState)(!1),ft=Object(ie.a)(sn,2),dn=ft[0],Vn=ft[1];Object(y.useEffect)(function(){Vn(qe())},[]);var gn=Object(a.a)(function(){var Cn;return(Cn=At[0])===null||Cn===void 0?void 0:Cn.key},{value:ye,defaultValue:me}),Dn=Object(ie.a)(gn,2),Sn=Dn[0],ri=Dn[1],_i=Object(y.useState)(function(){return At.findIndex(function(Cn){return Cn.key===Sn})}),qn=Object(ie.a)(_i,2),ji=qn[0],cr=qn[1];Object(y.useEffect)(function(){var Cn=At.findIndex(function(Nr){return Nr.key===Sn});if(Cn===-1){var _r;Cn=Math.max(0,Math.min(ji,At.length-1)),ri((_r=At[Cn])===null||_r===void 0?void 0:_r.key)}cr(Cn)},[At.map(function(Cn){return Cn.key}).join("_"),Sn,ji]);var Hi=Object(a.a)(null,{value:q}),yi=Object(ie.a)(Hi,2),Bn=yi[0],Mn=yi[1],$n=He;dn&&!["left","right"].includes(He)&&($n="top"),Object(y.useEffect)(function(){q||(Mn("rc-tabs-".concat(xi)),xi+=1)},[]);function Jn(Cn,_r){qt==null||qt(Cn,_r),ri(Cn),on==null||on(Cn)}var dr={id:Bn,activeKey:Sn,animated:nn,tabPosition:$n,rtl:vt,mobile:dn},xr,Ir=Object(ae.a)(Object(ae.a)({},dr),{},{editable:Ce,locale:Ft,moreIcon:zt,moreTransitionName:Vt,tabBarGutter:tt,onTabClick:Jn,onTabScroll:Yn,extra:Yt,style:Tt,panes:te});return Gt?xr=Gt(Ir,Nn):xr=y.createElement(Nn,Object.assign({},Ir)),y.createElement(da.Provider,{value:{tabs:At,prefixCls:B}},y.createElement("div",Object.assign({ref:de,id:q,className:ue()(B,"".concat(B,"-").concat($n),(be={},Object(re.a)(be,"".concat(B,"-mobile"),dn),Object(re.a)(be,"".concat(B,"-editable"),Ce),Object(re.a)(be,"".concat(B,"-rtl"),vt),be),x)},$t),xr,y.createElement(ii,Object.assign({destroyInactiveTabPane:Qt},dr,{animated:nn}))))}var mi=y.forwardRef(wo);mi.TabPane=ar;var Er=mi,Za=L.b=Er},kPWJ:function(Me,L,s){Me.exports=s.p+"static/question.cb52bef9.gif"},kPYp:function(Me,L){Me.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAF8AAAAUCAYAAADr0+FaAAANEklEQVRYR8WZe5RX1XXHP/vce3/zHoaXgFp5DQyOQLRgUTEtDW1qYyVmZUGNklRdiRpKE3lHfPyc4TngIBgfC0wx1ixt1NRWal2kotbE2lbRiCIISBCGhzDAvGd+87v37K5z5zfDzMCM46pr9fw1a+45+5zz3fvs/d3fn4yr1F8Do0UIUb74UFR8Gm3IO/Wf8MThat7mOYnaDZUmNUF/htpWLlePK4xwCcoQICHQbOGoKDuM4U1p5r0Px1DNrDPrezzQs+qNPUh/o4xXj6tRJhlhGEqeQNrCCYXdGvGfFt5JNHLoozJp7WyvdI0OtR4LEK7CstUIWyJLTSRcLfCnvlAiUKSgCEfV8o6NeMVE/G53itOUiXX3Sxcx2ov4qhG+qjBWoFChWYUqIt6VgFeblR0H5lEL0oGyjKvU1yHezPviyHdZ0Ro180basvD398n77svIFTokK5vrgW8LTELJRwgA6bTSHcaBckot/yWGX2YZtv5untT0dJ7SpOZrAX9mLTeIYarAIIQEYLrZTQNNFj7A8rx6/GrPfDncPmdihV6Y9nkA+Ot4nrIXaDSGElH6KfjdzpBSpVo8ttVU8Xitx/7hw/imWmYD4wXy6Iqjje9mOGYj/uX0bjYf/5nsaLcpY9fqDZ5hNTD8/wi+27bB+CzfOVcqSiq0BMPdRpiBUNANmHNvJUQo1ZFls0lTuXupnOw+0UVamMsCz+eHCuf3MWgUjZ3w76kUZQeW8j4iOnadXmCUNQI3xvsIbl7bX70MEdKpFLutcCA7iz/BxvfrfY2hNVXDb2v2s/TkU/Lf8SZXrtOcUxFfF8P1AiNVSYj0aihUGOoCu/vFFVpQlpmQX1iflQg3dMxxR1OaVHERf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fYD7oaJVlVqEAwbejSJeafR5t6dOsfOGTuXMTTHeBExHmCzCaDTurLPEFWOlXqFKlI+s8prfwG92lnXVXkoq9HwTcD/KdSp8mGrmyVSaf+pJJmjff/gKHZaTxR3G8E1rKWyoY4MvbOwJfIdIcSUX+8Ic1yg6yT6Eb7Q1Wc4BORRk+RQZQ2DD3n8Y+Lwn4edT/cEcOd0xL6nmyn5knWghPzuL7JQQJMC0umjzafUbaG5J0XigjFSfeHuHYZXSJIH0Iz+VJtczBL6H58pLZAhTaVqKCmnYfoSWc4l6Tko/nscg8clvMtQPyOFUn/oRVCauJZcs+jeHJFLHOX1wFTW9MkEnyg0kP2EpitJ4+YVU/S8v1xqrW4H9MAAAAABJRU5ErkJggg=="},l2Kq:function(Me,L,s){Me.exports=s.p+"static/match_ad.24dc22fd.jpg"},lzim:function(Me,L,s){"use strict";var re=s("E7E6"),ie=s.n(re);s.d(L,"w",function(){return ie.a});var Ie=s("/GNS"),ae=s.n(Ie);s.d(L,"v",function(){return ae.a});var y=s("FOrL"),I=s.n(y);s.d(L,"q",function(){return I.a});var ue=s("HpTS"),ge=s.n(ue);s.d(L,"x",function(){return ge.a});var a=s("tWlo"),N=s.n(a);s.d(L,"a",function(){return N.a});var S=s("7ZXX"),E=s.n(S);s.d(L,"l",function(){return E.a});var f=s("GABl"),h=s.n(f);s.d(L,"e",function(){return h.a});var d=s("onxn"),m=s.n(d);s.d(L,"n",function(){return m.a});var C=s("nKGa"),z=s.n(C);s.d(L,"m",function(){return z.a});var v=s("4qgm"),g=s.n(v);s.d(L,"y",function(){return g.a});var j=s("JeFH"),G=s.n(j);s.d(L,"b",function(){return G.a});var J=s("ji0R"),P=s.n(J);s.d(L,"i",function(){return P.a});var X=s("W6BS"),F=s.n(X);s.d(L,"z",function(){return F.a});var oe=s("kPYp"),he=s.n(oe);s.d(L,"A",function(){return he.a});var ce=s("nukY"),Q=s.n(ce),W=s("4u4S"),H=s.n(W),Re=s("yslc"),D=s.n(Re),u=s("l2Kq"),_=s.n(u),A=s("RMFE"),l=s.n(A);s.d(L,"o",function(){return l.a});var R=s("TGq3"),M=s.n(R),fe=s("SMhR"),Ee=s.n(fe),Ae=s("8/bI"),_e=s.n(Ae);s.d(L,"j",function(){return _e.a});var K=s("JWDV"),ee=s.n(K),ve=s("Xsq0"),Z=s.n(ve);s.d(L,"p",function(){return Z.a});var Oe=s("Ohmc"),T=s.n(Oe);s.d(L,"c",function(){return T.a});var Y=s("csWT"),k=s.n(Y);s.d(L,"d",function(){return k.a});var pe=s("7v3h"),De=s.n(pe);s.d(L,"k",function(){return De.a});var le=s("cRFk"),Se=s.n(le);s.d(L,"u",function(){return Se.a});var Ue=s("kPWJ"),U=s.n(Ue);s.d(L,"t",function(){return U.a});var we=s("qgvg"),Ne=s.n(we);s.d(L,"r",function(){return Ne.a});var Le=s("FPkq"),Ye=s.n(Le);s.d(L,"s",function(){return Ye.a});var Qe=s("A/g1"),ot=s.n(Qe);s.d(L,"f",function(){return ot.a});var Ve=s("Nmxd"),_t=s.n(Ve);s.d(L,"g",function(){return _t.a});var mt=s("5D2P"),Lt=s.n(mt);s.d(L,"h",function(){return Lt.a});var $e=s("djh8"),Xn=s.n($e),Rn=s("Jq4h"),Bt=s.n(Rn)},nEHx:function(Me,L,s){"use strict";s.d(L,"a",function(){return re});var re;(function(ie){ie.DARK="dark",ie.LIGHT="light",ie.HIGH_CONTRAST="hc"})(re||(re={}))},nKGa:function(Me,L,s){Me.exports=s.p+"static/export_exercise-template.f7655c19.png"},nnTU:function(Me,L,s){"use strict";s.d(L,"b",function(){return ue}),s.d(L,"a",function(){return ge});var re=s("MI8n"),ie=s("JYp7"),Ie=s("pmY6"),ae=s("24hK"),y=s("746U"),I=s("Cg/j");const ue=Object(I.c)("commandService"),ge=new class{constructor(){this._commands=new Map,this._onDidRegisterCommand=new re.b,this.onDidRegisterCommand=this._onDidRegisterCommand.event}registerCommand(a,N){if(!a)throw new Error("invalid command");if(typeof a=="string"){if(!N)throw new Error("invalid command");return this.registerCommand({id:a,handler:N})}if(a.description){const d=[];for(let C of a.description.args)d.push(C.constraint);const m=a.handler;a.handler=function(C,...z){return Object(y.o)(z,d),m(C,...z)}}const{id:S}=a;let E=this._commands.get(S);E||(E=new ae.a,this._commands.set(S,E));let f=E.unshift(a),h=Object(Ie.i)(()=>{f();const d=this._commands.get(S);(d==null?void 0:d.isEmpty())&&this._commands.delete(S)});return this._onDidRegisterCommand.fire(S),h}registerCommandAlias(a,N){return ge.registerCommand(a,(S,...E)=>S.get(ue).executeCommand(N,...E))}getCommand(a){const N=this._commands.get(a);return!N||N.isEmpty()?void 0:ie.a.first(N)}getCommands(){const a=new Map;for(const N of this._commands.keys()){const S=this.getCommand(N);S&&a.set(N,S)}return a}};ge.registerCommand("noop",()=>{})},nukY:function(Me,L){Me.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAALoAAABSCAYAAADjGc4eAAAMkklEQVR4Xu2dWWwcSRnHv7Yd577v+74vkgWEQCAEy6IVWuCB62GVICFIYkcsvMC+LW8LL7BIiTiEhCweInjgPrRCC2KBJTBVYzm24yRO4ty3kziJj9ie+tC/d9oaT2b67ume7irJsjdbVf19X/266quvjjaEEG8w8yukk7ZAii1gMHODEOK3RPRSivXUqmXcAgb07+jomDk2NvYPZn4u4/bQ6qfUAiboSEKI5cz8XyJanVJdtVoZtsAE6EXYdzPzv4hoToZtolVPoQUmgV6E/QVm/hMRNaVQX61SRi3wDOiwg5Tya0qpn2TUJlrtFFqgIujFnv27zPztFOqsVcqgBaqCzsyGlPJXzPy5DNpFq5wyC1QFHXr29fVN6+/v/zszfyBlemt1MmYBW9Bhi3w+v7hQKJwkog0Zs41WN0UWcAS96K9vI6J3mHl+inTXqmTIAq5Ahz1yudxHDcN4k5mbM2QfrWpKLOAa9CLsB4ioLSW6azUyZAFPoBdh/w4RvZYhG2lVU2ABz6AXYf8FEb2cAv21ChmxgC/Qu7q6moeHh/9KRB/JiJ20mnVuAV+gQ+fu7u4FQ0ND/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5ma+eahgtO2ZY9fx2TlKtVziZp3Zl/FigUiZ3wOIYWZ/52pLR35oOU6oPtuw+dNdl6QfsAHmYlMZcEpiXsak6tnQY70bWubrUepjkNJTKTbGv8s8SSlOaD5Z0LwhL4XWmQvSa42rWrgf7+Fn7byVVV5KX6mLbTWcKueEa6etz+M+OphwqlZtmnSUME1bjJyb6vOmm8tc3PvrCeMIJZTLt5zBb1i59tUxuvDeRm+14RscbD1IB9Uo6ZnHRfp2XsX4489Ujy8eT08YTAjSg6Plf333p9HDLpzPlpnEvg4kYH83TrZrxcugy7IkU4SnrdszlW6AS5iOzndzu2FAbexmKY2RCgDR5zVsfrFm2YSrc92cqveNe2xMF9pk4HZvFMmQwflxrqMZFXKub49R1+ZtOne5hJaZpwoAG1GpXjhf/YXuxTK37pyLFPZSGErM7JleYCPVGRN7kreaXsp45OnY7aAwN3xvQcH1b1y65VabMwzMU5zQ79bMKmLHLm2GCEXC0jUkVRSLUF6hdW62c8n7WyzXHfsianBVAg16rqGCOerYt+E4tuOIbviR3suK+cBp1Zdpp0GRVRfZl4/XHD7AzTpnYSFWB0vHlzS2TDiz/cPn4vx2YAML/AxiD3K8wfl5pAAAAAElFTkSuQmCC"},p5ED:function(Me,L,s){"use strict";var re=s("+L6B"),ie=s("2/Rp"),Ie=s("5Dmo"),ae=s("3S7+"),y=s("k1fw"),I=s("9og8"),ue=s("tJVT"),ge=s("WmNS"),a=s.n(ge),N=s("q1tI"),S=s.n(N),E=s("vHTk"),f=s.n(E),h=s("yEEn"),d=s("ZW9T"),m=s("1vsH"),C=s("V0Rq"),z=s("m3rI");L.a=function(v){var g,j,G,J,P,X,F,oe=v.editOffice,he=oe===void 0?"view":oe,ce=v.data,Q=v.theme,W=v.type,H=v.filename,Re=v.monacoEditor,D=v.className,u=v.style,_=v.close,A=v.onClose,l=v.hasMask,R=v.disabledDownload,M=Object(N.useState)("https://view.officeapps.live.com/op/view.aspx?src=http://testgs.educoder.net//rails/active_storage/blobs/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaHBCZz09IiwiZXhwIjpudWxsLCJwdXIiOiJibG9iX2lkIn19--03541f6234b93d7ac3b2d84e7eb0e6594a952945/1.ppt"),fe=Object(ue.a)(M,2),Ee=fe[0],Ae=fe[1],_e=Object(N.useState)(""),K=Object(ue.a)(_e,2),ee=K[0],ve=K[1],Z=Object(N.useState)(),Oe=Object(ue.a)(Z,2),T=Oe[0],Y=Oe[1],k=window.ENV==="build"?"/react/build":"",pe=z.a.PROXY_SERVER||location.origin,De,le=1024*1024,Se=10*le,Ue=Object(N.useRef)();(g=ce)!==null&&g!==void 0&&g.startsWith("/api")&&W!=="txt"&&(ce=z.a.API_SERVER+ce),W==="office"&&(De=Object(m.T)(ce).filesize,De>Se&&(W="other")),H&&Re&&(Re.filename=H),Object(N.useEffect)(function(){var Le,Ye,Qe=(Le=document.cookie)===null||Le===void 0||((Ye=Le.replace(/\s/g,""))===null||Ye===void 0)?void 0:Ye.split(";");Qe==null||Qe.map(function(ot){var Ve=ot.split("=");Ve[0]==="_educoder_session"&&ve(Ve[1])})},[]),Object(N.useEffect)(function(){W==="office"&&U()},[W,ce]);var U=function(){var Le=Object(I.a)(a.a.mark(function Ye(){var Qe,ot,Ve;return a.a.wrap(function(mt){for(;;)switch(mt.prev=mt.next){case 0:return console.log("data:",ce),Qe=ce,ce.startsWith("http")||(Qe=location.origin+Qe),ot=new URL(Qe).pathname.split("/").pop(),mt.next=6,Object(C.V)({attachment_id:ot});case 6:Ve=mt.sent,Y(Ve);case 8:case"end":return mt.stop()}},Ye)}));return function(){return Le.apply(this,arguments)}}(),we=function(){if(ce.startsWith("http")||ce.startsWith("blob:")){Ne();return}Object(m.z)(H||"educoder",ce,H)},Ne=function(){Object(m.x)(H||"educoder",decodeURIComponent(ce))};return S.a.createElement("div",{style:Object(y.a)({},u||{}),className:"".concat(l&&f.a.bgBlack," ").concat(W?f.a.wrp:"hide")},_&&S.a.createElement("div",{className:f.a.close,ref:Ue},!R&&S.a.createElement(ae.a,{title:"\u70B9\u51FB\u4E0B\u8F7D\u6B64\u6587\u4EF6",getPopupContainer:function(){return Ue.current}},S.a.createElement("span",{onClick:Ne},S.a.createElement("i",{className:"icon-quxiaozhiding"}))),S.a.createElement(ae.a,{title:"\u5173\u95ED",getPopupContainer:function(){return Ue.current}},S.a.createElement("span",{className:"",onClick:A},S.a.createElement("i",{className:"icon-guanbi1"})))),S.a.createElement("div",{className:"".concat(f.a[D]," ").concat(D," ").concat(f.a.monaco," ").concat(W==="txt"?"show":"hide")},W==="txt"&&S.a.createElement(d.b,Re)),W==="audio"&&S.a.createElement("audio",{src:"".concat(((j=ce)===null||j===void 0?void 0:j.indexOf("http://"))>-1||((G=ce)===null||G===void 0?void 0:G.indexOf("https://"))>-1?"":"data:audio/mp3;base64,").concat(ce),autoPlay:!0}),W==="video"&&S.a.createElement(S.a.Fragment,null,((J=ce)===null||J===void 0?void 0:J.indexOf("http"))>-1?S.a.createElement("video",{controls:!0,src:"".concat(ce),autoPlay:!0}):S.a.createElement("video",{controls:!0,src:"data:video/mp4;base64,".concat(ce),autoPlay:!0})),W==="office"&&T&&S.a.createElement("iframe",{src:"".concat(k,"/office.html?key=").concat(T.key,"&url=").concat(pe+T.url,"&callbackUrl=").concat(pe+T.callbackUrl,"&fileType=").concat(T.fileType,"&title=").concat(T.title,"&model=").concat(he,"&officeServer=").concat(z.a.OFFICE_SERVER,"&disabledDownload=").concat(!!R)}),W==="html"&&S.a.createElement("iframe",{src:ce+"&disposition=inline"}),W==="pdf"&&S.a.createElement("iframe",{src:"".concat(k,"/js/pdfview/index.html?url=").concat(ce,"&disabledDownload=").concat(!!R)}),W==="image"&&S.a.createElement("img",{src:"".concat(((P=ce)===null||P===void 0?void 0:P.indexOf("http://"))>-1||((X=ce)===null||X===void 0?void 0:X.indexOf("https://"))>-1||(F=ce)!==null&&F!==void 0&&F.startsWith("/api")?"":"data:image/png;base64,").concat(ce)}),W==="other"&&S.a.createElement("div",null,S.a.createElement(ie.a,{type:"primary",size:"large",onClick:we},S.a.createElement(h.a,null),"\u70B9\u51FB\u4E0B\u8F7D")),W==="download"&&S.a.createElement(ie.a,{type:"primary",size:"large",onClick:we},S.a.createElement(h.a,null),"\u70B9\u51FB\u4E0B\u8F7D"))}},"p77/":function(Me,L,s){},pmY6:function(Me,L,s){"use strict";s.d(L,"h",function(){return N}),s.d(L,"g",function(){return E}),s.d(L,"f",function(){return f}),s.d(L,"e",function(){return h}),s.d(L,"i",function(){return d}),s.d(L,"b",function(){return m}),s.d(L,"a",function(){return C}),s.d(L,"d",function(){return z}),s.d(L,"c",function(){return v});var re=s("C/vA"),ie=s("JYp7");const Ie=!1;let ae=null;function y(g){ae=g}if(Ie){const g="__is_disposable_tracked__";y(new class{trackDisposable(j){const G=new Error("Potentially leaked disposable").stack;setTimeout(()=>{j[g]||console.log(G)},3e3)}setParent(j,G){if(j&&j!==C.None)try{j[g]=!0}catch(J){}}markAsDisposed(j){if(j&&j!==C.None)try{j[g]=!0}catch(G){}}markAsSingleton(j){}})}function I(g){return ae==null||ae.trackDisposable(g),g}function ue(g){ae==null||ae.markAsDisposed(g)}function ge(g,j){ae==null||ae.setParent(g,j)}function a(g,j){if(!ae)return;for(const G of g)ae.setParent(G,j)}function N(g){return ae==null||ae.markAsSingleton(g),g}class S extends Error{constructor(g){super(`Encountered errors while disposing of store. Errors: [${g.join(", ")}]`);this.errors=g}}function E(g){return typeof g.dispose=="function"&&g.dispose.length===0}function f(g){if(ie.a.is(g)){let j=[];for(const G of g)if(G)try{G.dispose()}catch(J){j.push(J)}if(j.length===1)throw j[0];if(j.length>1)throw new S(j);return Array.isArray(g)?[]:g}else if(g)return g.dispose(),g}function h(...g){const j=d(()=>f(g));return a(g,j),j}function d(g){const j=I({dispose:Object(re.a)(()=>{ue(j),g()})});return j}class m{constructor(){this._toDispose=new Set,this._isDisposed=!1,I(this)}dispose(){if(this._isDisposed)return;ue(this),this._isDisposed=!0,this.clear()}clear(){try{f(this._toDispose.values())}finally{this._toDispose.clear()}}add(g){if(!g)return g;if(g===this)throw new Error("Cannot register a disposable on itself!");return ge(g,this),this._isDisposed?m.DISABLE_DISPOSED_WARNING||console.warn(new Error("Trying to add a disposable to a DisposableStore that has already been disposed of. The added object will be leaked!").stack):this._toDispose.add(g),g}}m.DISABLE_DISPOSED_WARNING=!1;class C{constructor(){this._store=new m,I(this),ge(this._store,this)}dispose(){ue(this),this._store.dispose()}_register(g){if(g===this)throw new Error("Cannot register a disposable on itself!");return this._store.add(g)}}C.None=Object.freeze({dispose(){}});class z{constructor(){this._isDisposed=!1,I(this)}get value(){return this._isDisposed?void 0:this._value}set value(g){var j;if(this._isDisposed||g===this._value)return;(j=this._value)===null||j===void 0||j.dispose(),g&&ge(g,this),this._value=g}clear(){this.value=void 0}dispose(){var g;this._isDisposed=!0,ue(this),(g=this._value)===null||g===void 0||g.dispose(),this._value=void 0}clearAndLeak(){const g=this._value;return this._value=void 0,g&&ge(g,null),g}}class v{constructor(g){this.object=g}dispose(){}}},psGv:function(Me,L,s){var re,ie;(function(){var Ie;(function(){"use strict";var ue=[,,function(S){function E(d){this.__parent=d,this.__character_count=0,this.__indent_count=-1,this.__alignment_count=0,this.__wrap_point_index=0,this.__wrap_point_character_count=0,this.__wrap_point_indent_count=-1,this.__wrap_point_alignment_count=0,this.__items=[]}E.prototype.clone_empty=function(){var d=new E(this.__parent);return d.set_indent(this.__indent_count,this.__alignment_count),d},E.prototype.item=function(d){return d<0?this.__items[this.__items.length+d]:this.__items[d]},E.prototype.has_match=function(d){for(var m=this.__items.length-1;m>=0;m--)if(this.__items[m].match(d))return!0;return!1},E.prototype.set_indent=function(d,m){this.is_empty()&&(this.__indent_count=d||0,this.__alignment_count=m||0,this.__character_count=this.__parent.get_indent_size(this.__indent_count,this.__alignment_count))},E.prototype._set_wrap_point=function(){this.__parent.wrap_line_length&&(this.__wrap_point_index=this.__items.length,this.__wrap_point_character_count=this.__character_count,this.__wrap_point_indent_count=this.__parent.next_line.__indent_count,this.__wrap_point_alignment_count=this.__parent.next_line.__alignment_count)},E.prototype._should_wrap=function(){return this.__wrap_point_index&&this.__character_count>this.__parent.wrap_line_length&&this.__wrap_point_character_count>this.__parent.next_line.__character_count},E.prototype._allow_wrap=function(){if(this._should_wrap()){this.__parent.add_new_line();var d=this.__parent.current_line;return d.set_indent(this.__wrap_point_indent_count,this.__wrap_point_alignment_count),d.__items=this.__items.slice(this.__wrap_point_index),this.__items=this.__items.slice(0,this.__wrap_point_index),d.__character_count+=this.__character_count-this.__wrap_point_character_count,this.__character_count=this.__wrap_point_character_count,d.__items[0]===" "&&(d.__items.splice(0,1),d.__character_count-=1),!0}return!1},E.prototype.is_empty=function(){return this.__items.length===0},E.prototype.last=function(){return this.is_empty()?null:this.__items[this.__items.length-1]},E.prototype.push=function(d){this.__items.push(d);var m=d.lastIndexOf(`
`);m!==-1?this.__character_count=d.length-m:this.__character_count+=d.length},E.prototype.pop=function(){var d=null;return this.is_empty()||(d=this.__items.pop(),this.__character_count-=d.length),d},E.prototype._remove_indent=function(){this.__indent_count>0&&(this.__indent_count-=1,this.__character_count-=this.__parent.indent_size)},E.prototype._remove_wrap_indent=function(){this.__wrap_point_indent_count>0&&(this.__wrap_point_indent_count-=1)},E.prototype.trim=function(){for(;this.last()===" ";)this.__items.pop(),this.__character_count-=1},E.prototype.toString=function(){var d="";return this.is_empty()?this.__parent.indent_empty_lines&&(d=this.__parent.get_indent_string(this.__indent_count)):(d=this.__parent.get_indent_string(this.__indent_count,this.__alignment_count),d+=this.__items.join("")),d};function f(d,m){this.__cache=[""],this.__indent_size=d.indent_size,this.__indent_string=d.indent_char,d.indent_with_tabs||(this.__indent_string=new Array(d.indent_size+1).join(d.indent_char)),m=m||"",d.indent_level>0&&(m=new Array(d.indent_level+1).join(this.__indent_string)),this.__base_string=m,this.__base_string_length=m.length}f.prototype.get_indent_size=function(d,m){var C=this.__base_string_length;return m=m||0,d<0&&(C=0),C+=d*this.__indent_size,C+=m,C},f.prototype.get_indent_string=function(d,m){var C=this.__base_string;return m=m||0,d<0&&(d=0,C=""),m+=d*this.__indent_size,this.__ensure_cache(m),C+=this.__cache[m],C},f.prototype.__ensure_cache=function(d){for(;d>=this.__cache.length;)this.__add_column()},f.prototype.__add_column=function(){var d=this.__cache.length,m=0,C="";this.__indent_size&&d>=this.__indent_size&&(m=Math.floor(d/this.__indent_size),d-=m*this.__indent_size,C=new Array(m+1).join(this.__indent_string)),d&&(C+=new Array(d+1).join(" ")),this.__cache.push(C)};function h(d,m){this.__indent_cache=new f(d,m),this.raw=!1,this._end_with_newline=d.end_with_newline,this.indent_size=d.indent_size,this.wrap_line_length=d.wrap_line_length,this.indent_empty_lines=d.indent_empty_lines,this.__lines=[],this.previous_line=null,this.current_line=null,this.next_line=new E(this),this.space_before_token=!1,this.non_breaking_space=!1,this.previous_token_wrapped=!1,this.__add_outputline()}h.prototype.__add_outputline=function(){this.previous_line=this.current_line,this.current_line=this.next_line.clone_empty(),this.__lines.push(this.current_line)},h.prototype.get_line_number=function(){return this.__lines.length},h.prototype.get_indent_string=function(d,m){return this.__indent_cache.get_indent_string(d,m)},h.prototype.get_indent_size=function(d,m){return this.__indent_cache.get_indent_size(d,m)},h.prototype.is_empty=function(){return!this.previous_line&&this.current_line.is_empty()},h.prototype.add_new_line=function(d){return this.is_empty()||!d&&this.just_added_newline()?!1:(this.raw||this.__add_outputline(),!0)},h.prototype.get_code=function(d){this.trim(!0);var m=this.current_line.pop();m&&(m[m.length-1]===`
`&&(m=m.replace(/\n+$/g,"")),this.current_line.push(m)),this._end_with_newline&&this.__add_outputline();var C=this.__lines.join(`
`);return d!==`
`&&(C=C.replace(/[\n]/g,d)),C},h.prototype.set_wrap_point=function(){this.current_line._set_wrap_point()},h.prototype.set_indent=function(d,m){return d=d||0,m=m||0,this.next_line.set_indent(d,m),this.__lines.length>1?(this.current_line.set_indent(d,m),!0):(this.current_line.set_indent(),!1)},h.prototype.add_raw_token=function(d){for(var m=0;m<d.newlines;m++)this.__add_outputline();this.current_line.set_indent(-1),this.current_line.push(d.whitespace_before),this.current_line.push(d.text),this.space_before_token=!1,this.non_breaking_space=!1,this.previous_token_wrapped=!1},h.prototype.add_token=function(d){this.__add_space_before_token(),this.current_line.push(d),this.space_before_token=!1,this.non_breaking_space=!1,this.previous_token_wrapped=this.current_line._allow_wrap()},h.prototype.__add_space_before_token=function(){this.space_before_token&&!this.just_added_newline()&&(this.non_breaking_space||this.set_wrap_point(),this.current_line.push(" "))},h.prototype.remove_indent=function(d){for(var m=this.__lines.length;d<m;)this.__lines[d]._remove_indent(),d++;this.current_line._remove_wrap_indent()},h.prototype.trim=function(d){for(d=d===void 0?!1:d,this.current_line.trim();d&&this.__lines.length>1&&this.current_line.is_empty();)this.__lines.pop(),this.current_line=this.__lines[this.__lines.length-1],this.current_line.trim();this.previous_line=this.__lines.length>1?this.__lines[this.__lines.length-2]:null},h.prototype.just_added_newline=function(){return this.current_line.is_empty()},h.prototype.just_added_blankline=function(){return this.is_empty()||this.current_line.is_empty()&&this.previous_line.is_empty()},h.prototype.ensure_empty_line_above=function(d,m){for(var C=this.__lines.length-2;C>=0;){var z=this.__lines[C];if(z.is_empty())break;if(z.item(0).indexOf(d)!==0&&z.item(-1)!==m){this.__lines.splice(C+1,0,new E(this)),this.previous_line=this.__lines[this.__lines.length-2];break}C--}},S.exports.Output=h},function(S){function E(f,h,d,m){this.type=f,this.text=h,this.comments_before=null,this.newlines=d||0,this.whitespace_before=m||"",this.parent=null,this.next=null,this.previous=null,this.opened=null,this.closed=null,this.directives=null}S.exports.Token=E},,,function(S){function E(d,m){this.raw_options=f(d,m),this.disabled=this._get_boolean("disabled"),this.eol=this._get_characters("eol","auto"),this.end_with_newline=this._get_boolean("end_with_newline"),this.indent_size=this._get_number("indent_size",4),this.indent_char=this._get_characters("indent_char"," "),this.indent_level=this._get_number("indent_level"),this.preserve_newlines=this._get_boolean("preserve_newlines",!0),this.max_preserve_newlines=this._get_number("max_preserve_newlines",32786),this.preserve_newlines||(this.max_preserve_newlines=0),this.indent_with_tabs=this._get_boolean("indent_with_tabs",this.indent_char===" "),this.indent_with_tabs&&(this.indent_char=" ",this.indent_size===1&&(this.indent_size=4)),this.wrap_line_length=this._get_number("wrap_line_length",this._get_number("max_char")),this.indent_empty_lines=this._get_boolean("indent_empty_lines"),this.templating=this._get_selection_list("templating",["auto","none","django","erb","handlebars","php","smarty"],["auto"])}E.prototype._get_array=function(d,m){var C=this.raw_options[d],z=m||[];return typeof C=="object"?C!==null&&typeof C.concat=="function"&&(z=C.concat()):typeof C=="string"&&(z=C.split(/[^a-zA-Z0-9_\/\-]+/)),z},E.prototype._get_boolean=function(d,m){var C=this.raw_options[d],z=C===void 0?!!m:!!C;return z},E.prototype._get_characters=function(d,m){var C=this.raw_options[d],z=m||"";return typeof C=="string"&&(z=C.replace(/\\r/,"\r").replace(/\\n/,`
`).replace(/\\t/," ")),z},E.prototype._get_number=function(d,m){var C=this.raw_options[d];m=parseInt(m,10),isNaN(m)&&(m=0);var z=parseInt(C,10);return isNaN(z)&&(z=m),z},E.prototype._get_selection=function(d,m,C){var z=this._get_selection_list(d,m,C);if(z.length!==1)throw new Error("Invalid Option Value: The option '"+d+`' can only be one of the following values:
`+m+`
You passed in: '`+this.raw_options[d]+"'");return z[0]},E.prototype._get_selection_list=function(d,m,C){if(!m||m.length===0)throw new Error("Selection list cannot be empty.");if(C=C||[m[0]],!this._is_valid_selection(C,m))throw new Error("Invalid Default Value!");var z=this._get_array(d,C);if(!this._is_valid_selection(z,m))throw new Error("Invalid Option Value: The option '"+d+`' can contain only the following values:
`+m+`
You passed in: '`+this.raw_options[d]+"'");return z},E.prototype._is_valid_selection=function(d,m){return d.length&&m.length&&!d.some(function(C){return m.indexOf(C)===-1})};function f(d,m){var C={};d=h(d);var z;for(z in d)z!==m&&(C[z]=d[z]);if(m&&d[m])for(z in d[m])C[z]=d[m][z];return C}function h(d){var m={},C;for(C in d){var z=C.replace(/-/g,"_");m[z]=d[C]}return m}S.exports.Options=E,S.exports.normalizeOpts=h,S.exports.mergeOpts=f},,function(S){var E=RegExp.prototype.hasOwnProperty("sticky");function f(h){this.__input=h||"",this.__input_length=this.__input.length,this.__position=0}f.prototype.restart=function(){this.__position=0},f.prototype.back=function(){this.__position>0&&(this.__position-=1)},f.prototype.hasNext=function(){return this.__position<this.__input_length},f.prototype.next=function(){var h=null;return this.hasNext()&&(h=this.__input.charAt(this.__position),this.__position+=1),h},f.prototype.peek=function(h){var d=null;return h=h||0,h+=this.__position,h>=0&&h<this.__input_length&&(d=this.__input.charAt(h)),d},f.prototype.__match=function(h,d){h.lastIndex=d;var m=h.exec(this.__input);return m&&!(E&&h.sticky)&&(m.index!==d&&(m=null)),m},f.prototype.test=function(h,d){return d=d||0,d+=this.__position,d>=0&&d<this.__input_length?!!this.__match(h,d):!1},f.prototype.testChar=function(h,d){var m=this.peek(d);return h.lastIndex=0,m!==null&&h.test(m)},f.prototype.match=function(h){var d=this.__match(h,this.__position);return d?this.__position+=d[0].length:d=null,d},f.prototype.read=function(h,d,m){var C="",z;return h&&(z=this.match(h),z&&(C+=z[0])),d&&(z||!h)&&(C+=this.readUntil(d,m)),C},f.prototype.readUntil=function(h,d){var m="",C=this.__position;h.lastIndex=this.__position;var z=h.exec(this.__input);return z?(C=z.index,d&&(C+=z[0].length)):C=this.__input_length,m=this.__input.substring(this.__position,C),this.__position=C,m},f.prototype.readUntilAfter=function(h){return this.readUntil(h,!0)},f.prototype.get_regexp=function(h,d){var m=null,C="g";return d&&E&&(C="y"),typeof h=="string"&&h!==""?m=new RegExp(h,C):h&&(m=new RegExp(h.source,C)),m},f.prototype.get_literal_regexp=function(h){return RegExp(h.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&"))},f.prototype.peekUntilAfter=function(h){var d=this.__position,m=this.readUntilAfter(h);return this.__position=d,m},f.prototype.lookBack=function(h){var d=this.__position-1;return d>=h.length&&this.__input.substring(d-h.length,d).toLowerCase()===h},S.exports.InputScanner=f},function(S,E,f){var h=f(8).InputScanner,d=f(3).Token,m=f(10).TokenStream,C=f(11).WhitespacePattern,z={START:"TK_START",RAW:"TK_RAW",EOF:"TK_EOF"},v=function(g,j){this._input=new h(g),this._options=j||{},this.__tokens=null,this._patterns={},this._patterns.whitespace=new C(this._input)};v.prototype.tokenize=function(){this._input.restart(),this.__tokens=new m,this._reset();for(var g,j=new d(z.START,""),G=null,J=[],P=new m;j.type!==z.EOF;){for(g=this._get_next_token(j,G);this._is_comment(g);)P.add(g),g=this._get_next_token(j,G);P.isEmpty()||(g.comments_before=P,P=new m),g.parent=G,this._is_opening(g)?(J.push(G),G=g):G&&this._is_closing(g,G)&&(g.opened=G,G.closed=g,G=J.pop(),g.parent=G),g.previous=j,j.next=g,this.__tokens.add(g),j=g}return this.__tokens},v.prototype._is_first_token=function(){return this.__tokens.isEmpty()},v.prototype._reset=function(){},v.prototype._get_next_token=function(g,j){this._readWhitespace();var G=this._input.read(/.+/g);return G?this._create_token(z.RAW,G):this._create_token(z.EOF,"")},v.prototype._is_comment=function(g){return!1},v.prototype._is_opening=function(g){return!1},v.prototype._is_closing=function(g,j){return!1},v.prototype._create_token=function(g,j){var G=new d(g,j,this._patterns.whitespace.newline_count,this._patterns.whitespace.whitespace_before_token);return G},v.prototype._readWhitespace=function(){return this._patterns.whitespace.read()},S.exports.Tokenizer=v,S.exports.TOKEN=z},function(S){function E(f){this.__tokens=[],this.__tokens_length=this.__tokens.length,this.__position=0,this.__parent_token=f}E.prototype.restart=function(){this.__position=0},E.prototype.isEmpty=function(){return this.__tokens_length===0},E.prototype.hasNext=function(){return this.__position<this.__tokens_length},E.prototype.next=function(){var f=null;return this.hasNext()&&(f=this.__tokens[this.__position],this.__position+=1),f},E.prototype.peek=function(f){var h=null;return f=f||0,f+=this.__position,f>=0&&f<this.__tokens_length&&(h=this.__tokens[f]),h},E.prototype.add=function(f){this.__parent_token&&(f.parent=this.__parent_token),this.__tokens.push(f),this.__tokens_length+=1},S.exports.TokenStream=E},function(S,E,f){var h=f(12).Pattern;function d(m,C){h.call(this,m,C),C?this._line_regexp=this._input.get_regexp(C._line_regexp):this.__set_whitespace_patterns("",""),this.newline_count=0,this.whitespace_before_token=""}d.prototype=new h,d.prototype.__set_whitespace_patterns=function(m,C){m+="\\t ",C+="\\n\\r",this._match_pattern=this._input.get_regexp("["+m+C+"]+",!0),this._newline_regexp=this._input.get_regexp("\\r\\n|["+C+"]")},d.prototype.read=function(){this.newline_count=0,this.whitespace_before_token="";var m=this._input.read(this._match_pattern);if(m===" ")this.whitespace_before_token=" ";else if(m){var C=this.__split(this._newline_regexp,m);this.newline_count=C.length-1,this.whitespace_before_token=C[this.newline_count]}return m},d.prototype.matching=function(m,C){var z=this._create();return z.__set_whitespace_patterns(m,C),z._update(),z},d.prototype._create=function(){return new d(this._input,this)},d.prototype.__split=function(m,C){m.lastIndex=0;for(var z=0,v=[],g=m.exec(C);g;)v.push(C.substring(z,g.index)),z=g.index+g[0].length,g=m.exec(C);return z<C.length?v.push(C.substring(z,C.length)):v.push(""),v},S.exports.WhitespacePattern=d},function(S){function E(f,h){this._input=f,this._starting_pattern=null,this._match_pattern=null,this._until_pattern=null,this._until_after=!1,h&&(this._starting_pattern=this._input.get_regexp(h._starting_pattern,!0),this._match_pattern=this._input.get_regexp(h._match_pattern,!0),this._until_pattern=this._input.get_regexp(h._until_pattern),this._until_after=h._until_after)}E.prototype.read=function(){var f=this._input.read(this._starting_pattern);return(!this._starting_pattern||f)&&(f+=this._input.read(this._match_pattern,this._until_pattern,this._until_after)),f},E.prototype.read_match=function(){return this._input.match(this._match_pattern)},E.prototype.until_after=function(f){var h=this._create();return h._until_after=!0,h._until_pattern=this._input.get_regexp(f),h._update(),h},E.prototype.until=function(f){var h=this._create();return h._until_after=!1,h._until_pattern=this._input.get_regexp(f),h._update(),h},E.prototype.starting_with=function(f){var h=this._create();return h._starting_pattern=this._input.get_regexp(f,!0),h._update(),h},E.prototype.matching=function(f){var h=this._create();return h._match_pattern=this._input.get_regexp(f,!0),h._update(),h},E.prototype._create=function(){return new E(this._input,this)},E.prototype._update=function(){},S.exports.Pattern=E},function(S){function E(f,h){f=typeof f=="string"?f:f.source,h=typeof h=="string"?h:h.source,this.__directives_block_pattern=new RegExp(f+/ beautify( \w+[:]\w+)+ /.source+h,"g"),this.__directive_pattern=/ (\w+)[:](\w+)/g,this.__directives_end_ignore_pattern=new RegExp(f+/\sbeautify\signore:end\s/.source+h,"g")}E.prototype.get_directives=function(f){if(!f.match(this.__directives_block_pattern))return null;var h={};this.__directive_pattern.lastIndex=0;for(var d=this.__directive_pattern.exec(f);d;)h[d[1]]=d[2],d=this.__directive_pattern.exec(f);return h},E.prototype.readIgnored=function(f){return f.readUntilAfter(this.__directives_end_ignore_pattern)},S.exports.Directives=E},function(S,E,f){var h=f(12).Pattern,d={django:!1,erb:!1,handlebars:!1,php:!1,smarty:!1};function m(C,z){h.call(this,C,z),this.__template_pattern=null,this._disabled=Object.assign({},d),this._excluded=Object.assign({},d),z&&(this.__template_pattern=this._input.get_regexp(z.__template_pattern),this._excluded=Object.assign(this._excluded,z._excluded),this._disabled=Object.assign(this._disabled,z._disabled));var v=new h(C);this.__patterns={handlebars_comment:v.starting_with(/{{!--/).until_after(/--}}/),handlebars_unescaped:v.starting_with(/{{{/).until_after(/}}}/),handlebars:v.starting_with(/{{/).until_after(/}}/),php:v.starting_with(/<\?(?:[= ]|php)/).until_after(/\?>/),erb:v.starting_with(/<%[^%]/).until_after(/[^%]%>/),django:v.starting_with(/{%/).until_after(/%}/),django_value:v.starting_with(/{{/).until_after(/}}/),django_comment:v.starting_with(/{#/).until_after(/#}/),smarty:v.starting_with(/{(?=[^}{\s\n])/).until_after(/[^\s\n]}/),smarty_comment:v.starting_with(/{\*/).until_after(/\*}/),smarty_literal:v.starting_with(/{literal}/).until_after(/{\/literal}/)}}m.prototype=new h,m.prototype._create=function(){return new m(this._input,this)},m.prototype._update=function(){this.__set_templated_pattern()},m.prototype.disable=function(C){var z=this._create();return z._disabled[C]=!0,z._update(),z},m.prototype.read_options=function(C){var z=this._create();for(var v in d)z._disabled[v]=C.templating.indexOf(v)===-1;return z._update(),z},m.prototype.exclude=function(C){var z=this._create();return z._excluded[C]=!0,z._update(),z},m.prototype.read=function(){var C="";this._match_pattern?C=this._input.read(this._starting_pattern):C=this._input.read(this._starting_pattern,this.__template_pattern);for(var z=this._read_template();z;)this._match_pattern?z+=this._input.read(this._match_pattern):z+=this._input.readUntil(this.__template_pattern),C+=z,z=this._read_template();return this._until_after&&(C+=this._input.readUntilAfter(this._until_pattern)),C},m.prototype.__set_templated_pattern=function(){var C=[];this._disabled.php||C.push(this.__patterns.php._starting_pattern.source),this._disabled.handlebars||C.push(this.__patterns.handlebars._starting_pattern.source),this._disabled.erb||C.push(this.__patterns.erb._starting_pattern.source),this._disabled.django||(C.push(this.__patterns.django._starting_pattern.source),C.push(this.__patterns.django_value._starting_pattern.source),C.push(this.__patterns.django_comment._starting_pattern.source)),this._disabled.smarty||C.push(this.__patterns.smarty._starting_pattern.source),this._until_pattern&&C.push(this._until_pattern.source),this.__template_pattern=this._input.get_regexp("(?:"+C.join("|")+")")},m.prototype._read_template=function(){var C="",z=this._input.peek();if(z==="<"){var v=this._input.peek(1);!this._disabled.php&&!this._excluded.php&&v==="?"&&(C=C||this.__patterns.php.read()),!this._disabled.erb&&!this._excluded.erb&&v==="%"&&(C=C||this.__patterns.erb.read())}else z==="{"&&(!this._disabled.handlebars&&!this._excluded.handlebars&&(C=C||this.__patterns.handlebars_comment.read(),C=C||this.__patterns.handlebars_unescaped.read(),C=C||this.__patterns.handlebars.read()),this._disabled.django||(!this._excluded.django&&!this._excluded.handlebars&&(C=C||this.__patterns.django_value.read()),this._excluded.django||(C=C||this.__patterns.django_comment.read(),C=C||this.__patterns.django.read())),this._disabled.smarty||this._disabled.django&&this._disabled.handlebars&&(C=C||this.__patterns.smarty_comment.read(),C=C||this.__patterns.smarty_literal.read(),C=C||this.__patterns.smarty.read()));return C},S.exports.TemplatablePattern=m},,,,function(S,E,f){var h=f(19).Beautifier,d=f(20).Options;function m(C,z,v,g){var j=new h(C,z,v,g);return j.beautify()}S.exports=m,S.exports.defaultOptions=function(){return new d}},function(S,E,f){var h=f(20).Options,d=f(2).Output,m=f(21).Tokenizer,C=f(21).TOKEN,z=/\r\n|[\r\n]/,v=/\r\n|[\r\n]/g,g=function(Q,W){this.indent_level=0,this.alignment_size=0,this.max_preserve_newlines=Q.max_preserve_newlines,this.preserve_newlines=Q.preserve_newlines,this._output=new d(Q,W)};g.prototype.current_line_has_match=function(Q){return this._output.current_line.has_match(Q)},g.prototype.set_space_before_token=function(Q,W){this._output.space_before_token=Q,this._output.non_breaking_space=W},g.prototype.set_wrap_point=function(){this._output.set_indent(this.indent_level,this.alignment_size),this._output.set_wrap_point()},g.prototype.add_raw_token=function(Q){this._output.add_raw_token(Q)},g.prototype.print_preserved_newlines=function(Q){var W=0;Q.type!==C.TEXT&&Q.previous.type!==C.TEXT&&(W=Q.newlines?1:0),this.preserve_newlines&&(W=Q.newlines<this.max_preserve_newlines+1?Q.newlines:this.max_preserve_newlines+1);for(var H=0;H<W;H++)this.print_newline(H>0);return W!==0},g.prototype.traverse_whitespace=function(Q){return Q.whitespace_before||Q.newlines?(this.print_preserved_newlines(Q)||(this._output.space_before_token=!0),!0):!1},g.prototype.previous_token_wrapped=function(){return this._output.previous_token_wrapped},g.prototype.print_newline=function(Q){this._output.add_new_line(Q)},g.prototype.print_token=function(Q){Q.text&&(this._output.set_indent(this.indent_level,this.alignment_size),this._output.add_token(Q.text))},g.prototype.indent=function(){this.indent_level++},g.prototype.get_full_indent=function(Q){return Q=this.indent_level+(Q||0),Q<1?"":this._output.get_indent_string(Q)};var j=function(Q){for(var W=null,H=Q.next;H.type!==C.EOF&&Q.closed!==H;){if(H.type===C.ATTRIBUTE&&H.text==="type"){H.next&&H.next.type===C.EQUALS&&H.next.next&&H.next.next.type===C.VALUE&&(W=H.next.next.text);break}H=H.next}return W},G=function(Q,W){var H=null,Re=null;return W.closed?(Q==="script"?H="text/javascript":Q==="style"&&(H="text/css"),H=j(W)||H,H.search("text/css")>-1?Re="css":H.search(/module|((text|application|dojo)\/(x-)?(javascript|ecmascript|jscript|livescript|(ld\+)?json|method|aspect))/)>-1?Re="javascript":H.search(/(text|application|dojo)\/(x-)?(html)/)>-1?Re="html":H.search(/test\/null/)>-1&&(Re="null"),Re):null};function J(Q,W){return W.indexOf(Q)!==-1}function P(Q,W,H){this.parent=Q||null,this.tag=W?W.tag_name:"",this.indent_level=H||0,this.parser_token=W||null}function X(Q){this._printer=Q,this._current_frame=null}X.prototype.get_parser_token=function(){return this._current_frame?this._current_frame.parser_token:null},X.prototype.record_tag=function(Q){var W=new P(this._current_frame,Q,this._printer.indent_level);this._current_frame=W},X.prototype._try_pop_frame=function(Q){var W=null;return Q&&(W=Q.parser_token,this._printer.indent_level=Q.indent_level,this._current_frame=Q.parent),W},X.prototype._get_frame=function(Q,W){for(var H=this._current_frame;H&&!(Q.indexOf(H.tag)!==-1);){if(W&&W.indexOf(H.tag)!==-1){H=null;break}H=H.parent}return H},X.prototype.try_pop=function(Q,W){var H=this._get_frame([Q],W);return this._try_pop_frame(H)},X.prototype.indent_to_tag=function(Q){var W=this._get_frame(Q);W&&(this._printer.indent_level=W.indent_level)};function F(Q,W,H,Re){this._source_text=Q||"",W=W||{},this._js_beautify=H,this._css_beautify=Re,this._tag_stack=null;var D=new h(W,"html");this._options=D,this._is_wrap_attributes_force=this._options.wrap_attributes.substr(0,"force".length)==="force",this._is_wrap_attributes_force_expand_multiline=this._options.wrap_attributes==="force-expand-multiline",this._is_wrap_attributes_force_aligned=this._options.wrap_attributes==="force-aligned",this._is_wrap_attributes_aligned_multiple=this._options.wrap_attributes==="aligned-multiple",this._is_wrap_attributes_preserve=this._options.wrap_attributes.substr(0,"preserve".length)==="preserve",this._is_wrap_attributes_preserve_aligned=this._options.wrap_attributes==="preserve-aligned"}F.prototype.beautify=function(){if(this._options.disabled)return this._source_text;var Q=this._source_text,W=this._options.eol;this._options.eol==="auto"&&(W=`
`,Q&&z.test(Q)&&(W=Q.match(z)[0])),Q=Q.replace(v,`
`);var H=Q.match(/^[\t ]*/)[0],Re={text:"",type:""},D=new oe,u=new g(this._options,H),_=new m(Q,this._options).tokenize();this._tag_stack=new X(u);for(var A=null,l=_.next();l.type!==C.EOF;)l.type===C.TAG_OPEN||l.type===C.COMMENT?(A=this._handle_tag_open(u,l,D,Re),D=A):l.type===C.ATTRIBUTE||l.type===C.EQUALS||l.type===C.VALUE||l.type===C.TEXT&&!D.tag_complete?A=this._handle_inside_tag(u,l,D,_):l.type===C.TAG_CLOSE?A=this._handle_tag_close(u,l,D):l.type===C.TEXT?A=this._handle_text(u,l,D):u.add_raw_token(l),Re=A,l=_.next();var R=u._output.get_code(W);return R},F.prototype._handle_tag_close=function(Q,W,H){var Re={text:W.text,type:W.type};return Q.alignment_size=0,H.tag_complete=!0,Q.set_space_before_token(W.newlines||W.whitespace_before!=="",!0),H.is_unformatted?Q.add_raw_token(W):(H.tag_start_char==="<"&&(Q.set_space_before_token(W.text[0]==="/",!0),this._is_wrap_attributes_force_expand_multiline&&H.has_wrapped_attrs&&Q.print_newline(!1)),Q.print_token(W)),H.indent_content&&!(H.is_unformatted||H.is_content_unformatted)&&(Q.indent(),H.indent_content=!1),!H.is_inline_element&&!(H.is_unformatted||H.is_content_unformatted)&&Q.set_wrap_point(),Re},F.prototype._handle_inside_tag=function(Q,W,H,Re){var D=H.has_wrapped_attrs,u={text:W.text,type:W.type};if(Q.set_space_before_token(W.newlines||W.whitespace_before!=="",!0),H.is_unformatted)Q.add_raw_token(W);else if(H.tag_start_char==="{"&&W.type===C.TEXT)Q.print_preserved_newlines(W)?(W.newlines=0,Q.add_raw_token(W)):Q.print_token(W);else{if(W.type===C.ATTRIBUTE?(Q.set_space_before_token(!0),H.attr_count+=1):(W.type===C.EQUALS||W.type===C.VALUE&&W.previous.type===C.EQUALS)&&Q.set_space_before_token(!1),W.type===C.ATTRIBUTE&&H.tag_start_char==="<"&&((this._is_wrap_attributes_preserve||this._is_wrap_attributes_preserve_aligned)&&(Q.traverse_whitespace(W),D=D||W.newlines!==0),this._is_wrap_attributes_force)){var _=H.attr_count>1;if(this._is_wrap_attributes_force_expand_multiline&&H.attr_count===1){var A=!0,l=0,R;do{if(R=Re.peek(l),R.type===C.ATTRIBUTE){A=!1;break}l+=1}while(l<4&&R.type!==C.EOF&&R.type!==C.TAG_CLOSE);_=!A}_&&(Q.print_newline(!1),D=!0)}Q.print_token(W),D=D||Q.previous_token_wrapped(),H.has_wrapped_attrs=D}return u},F.prototype._handle_text=function(Q,W,H){var Re={text:W.text,type:"TK_CONTENT"};return H.custom_beautifier_name?this._print_custom_beatifier_text(Q,W,H):H.is_unformatted||H.is_content_unformatted?Q.add_raw_token(W):(Q.traverse_whitespace(W),Q.print_token(W)),Re},F.prototype._print_custom_beatifier_text=function(Q,W,H){var Re=this;if(W.text!==""){var D=W.text,u,_=1,A="",l="";H.custom_beautifier_name==="javascript"&&typeof this._js_beautify=="function"?u=this._js_beautify:H.custom_beautifier_name==="css"&&typeof this._css_beautify=="function"?u=this._css_beautify:H.custom_beautifier_name==="html"&&(u=function(_e,K){var ee=new F(_e,K,Re._js_beautify,Re._css_beautify);return ee.beautify()}),this._options.indent_scripts==="keep"?_=0:this._options.indent_scripts==="separate"&&(_=-Q.indent_level);var R=Q.get_full_indent(_);if(D=D.replace(/\n[ \t]*$/,""),H.custom_beautifier_name!=="html"&&D[0]==="<"&&D.match(/^(<!--|<!\[CDATA\[)/)){var M=/^(<!--[^\n]*|<!\[CDATA\[)(\n?)([ \t\n]*)([\s\S]*)(-->|]]>)$/.exec(D);if(!M){Q.add_raw_token(W);return}A=R+M[1]+`
`,D=M[4],M[5]&&(l=R+M[5]),D=D.replace(/\n[ \t]*$/,""),(M[2]||M[3].indexOf(`
`)!==-1)&&(M=M[3].match(/[ \t]+$/),M&&(W.whitespace_before=M[0]))}if(D)if(u){var fe=function(){this.eol=`
`};fe.prototype=this._options.raw_options;var Ee=new fe;D=u(R+D,Ee)}else{var Ae=W.whitespace_before;Ae&&(D=D.replace(new RegExp(`
(`+Ae+")?","g"),`
`)),D=R+D.replace(/\n/g,`
`+R)}A&&(D?D=A+D+`
`+l:D=A+l),Q.print_newline(!1),D&&(W.text=D,W.whitespace_before="",W.newlines=0,Q.add_raw_token(W),Q.print_newline(!0))}},F.prototype._handle_tag_open=function(Q,W,H,Re){var D=this._get_tag_open_token(W);return(H.is_unformatted||H.is_content_unformatted)&&!H.is_empty_element&&W.type===C.TAG_OPEN&&W.text.indexOf("</")===0?(Q.add_raw_token(W),D.start_tag_token=this._tag_stack.try_pop(D.tag_name)):(Q.traverse_whitespace(W),this._set_tag_position(Q,W,D,H,Re),D.is_inline_element||Q.set_wrap_point(),Q.print_token(W)),(this._is_wrap_attributes_force_aligned||this._is_wrap_attributes_aligned_multiple||this._is_wrap_attributes_preserve_aligned)&&(D.alignment_size=W.text.length+1),!D.tag_complete&&!D.is_unformatted&&(Q.alignment_size=D.alignment_size),D};var oe=function(Q,W){if(this.parent=Q||null,this.text="",this.type="TK_TAG_OPEN",this.tag_name="",this.is_inline_element=!1,this.is_unformatted=!1,this.is_content_unformatted=!1,this.is_empty_element=!1,this.is_start_tag=!1,this.is_end_tag=!1,this.indent_content=!1,this.multiline_content=!1,this.custom_beautifier_name=null,this.start_tag_token=null,this.attr_count=0,this.has_wrapped_attrs=!1,this.alignment_size=0,this.tag_complete=!1,this.tag_start_char="",this.tag_check="",!W)this.tag_complete=!0;else{var H;this.tag_start_char=W.text[0],this.text=W.text,this.tag_start_char==="<"?(H=W.text.match(/^<([^\s>]*)/),this.tag_check=H?H[1]:""):(H=W.text.match(/^{{~?(?:[\^]|#\*?)?([^\s}]+)/),this.tag_check=H?H[1]:"",(W.text.startsWith("{{#>")||W.text.startsWith("{{~#>"))&&this.tag_check[0]===">"&&(this.tag_check===">"&&W.next!==null?this.tag_check=W.next.text.split(" ")[0]:this.tag_check=W.text.split(">")[1])),this.tag_check=this.tag_check.toLowerCase(),W.type===C.COMMENT&&(this.tag_complete=!0),this.is_start_tag=this.tag_check.charAt(0)!=="/",this.tag_name=this.is_start_tag?this.tag_check:this.tag_check.substr(1),this.is_end_tag=!this.is_start_tag||W.closed&&W.closed.text==="/>";var Re=2;this.tag_start_char==="{"&&this.text.length>=3&&(this.text.charAt(2)==="~"&&(Re=3)),this.is_end_tag=this.is_end_tag||this.tag_start_char==="{"&&(this.text.length<3||/[^#\^]/.test(this.text.charAt(Re)))}};F.prototype._get_tag_open_token=function(Q){var W=new oe(this._tag_stack.get_parser_token(),Q);return W.alignment_size=this._options.wrap_attributes_indent_size,W.is_end_tag=W.is_end_tag||J(W.tag_check,this._options.void_elements),W.is_empty_element=W.tag_complete||W.is_start_tag&&W.is_end_tag,W.is_unformatted=!W.tag_complete&&J(W.tag_check,this._options.unformatted),W.is_content_unformatted=!W.is_empty_element&&J(W.tag_check,this._options.content_unformatted),W.is_inline_element=J(W.tag_name,this._options.inline)||W.tag_name.includes("-")||W.tag_start_char==="{",W},F.prototype._set_tag_position=function(Q,W,H,Re,D){if(H.is_empty_element||(H.is_end_tag?H.start_tag_token=this._tag_stack.try_pop(H.tag_name):(this._do_optional_end_element(H)&&(H.is_inline_element||Q.print_newline(!1)),this._tag_stack.record_tag(H),(H.tag_name==="script"||H.tag_name==="style")&&!(H.is_unformatted||H.is_content_unformatted)&&(H.custom_beautifier_name=G(H.tag_check,W)))),J(H.tag_check,this._options.extra_liners)&&(Q.print_newline(!1),Q._output.just_added_blankline()||Q.print_newline(!0)),H.is_empty_element){if(H.tag_start_char==="{"&&H.tag_check==="else"){this._tag_stack.indent_to_tag(["if","unless","each"]),H.indent_content=!0;var u=Q.current_line_has_match(/{{#if/);u||Q.print_newline(!1)}H.tag_name==="!--"&&D.type===C.TAG_CLOSE&&Re.is_end_tag&&H.text.indexOf(`
`)===-1||(H.is_inline_element||H.is_unformatted||Q.print_newline(!1),this._calcluate_parent_multiline(Q,H))}else if(H.is_end_tag){var _=!1;_=H.start_tag_token&&H.start_tag_token.multiline_content,_=_||!H.is_inline_element&&!(Re.is_inline_element||Re.is_unformatted)&&!(D.type===C.TAG_CLOSE&&H.start_tag_token===Re)&&D.type!=="TK_CONTENT",(H.is_content_unformatted||H.is_unformatted)&&(_=!1),_&&Q.print_newline(!1)}else H.indent_content=!H.custom_beautifier_name,H.tag_start_char==="<"&&(H.tag_name==="html"?H.indent_content=this._options.indent_inner_html:H.tag_name==="head"?H.indent_content=this._options.indent_head_inner_html:H.tag_name==="body"&&(H.indent_content=this._options.indent_body_inner_html)),!(H.is_inline_element||H.is_unformatted)&&(D.type!=="TK_CONTENT"||H.is_content_unformatted)&&Q.print_newline(!1),this._calcluate_parent_multiline(Q,H)},F.prototype._calcluate_parent_multiline=function(Q,W){W.parent&&Q._output.just_added_newline()&&!((W.is_inline_element||W.is_unformatted)&&W.parent.is_inline_element)&&(W.parent.multiline_content=!0)};var he=["address","article","aside","blockquote","details","div","dl","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hr","main","nav","ol","p","pre","section","table","ul"],ce=["a","audio","del","ins","map","noscript","video"];F.prototype._do_optional_end_element=function(Q){var W=null;if(Q.is_empty_element||!Q.is_start_tag||!Q.parent)return;if(Q.tag_name==="body")W=W||this._tag_stack.try_pop("head");else if(Q.tag_name==="li")W=W||this._tag_stack.try_pop("li",["ol","ul"]);else if(Q.tag_name==="dd"||Q.tag_name==="dt")W=W||this._tag_stack.try_pop("dt",["dl"]),W=W||this._tag_stack.try_pop("dd",["dl"]);else if(Q.parent.tag_name==="p"&&he.indexOf(Q.tag_name)!==-1){var H=Q.parent.parent;(!H||ce.indexOf(H.tag_name)===-1)&&(W=W||this._tag_stack.try_pop("p"))}else Q.tag_name==="rp"||Q.tag_name==="rt"?(W=W||this._tag_stack.try_pop("rt",["ruby","rtc"]),W=W||this._tag_stack.try_pop("rp",["ruby","rtc"])):Q.tag_name==="optgroup"?W=W||this._tag_stack.try_pop("optgroup",["select"]):Q.tag_name==="option"?W=W||this._tag_stack.try_pop("option",["select","datalist","optgroup"]):Q.tag_name==="colgroup"?W=W||this._tag_stack.try_pop("caption",["table"]):Q.tag_name==="thead"?(W=W||this._tag_stack.try_pop("caption",["table"]),W=W||this._tag_stack.try_pop("colgroup",["table"])):Q.tag_name==="tbody"||Q.tag_name==="tfoot"?(W=W||this._tag_stack.try_pop("caption",["table"]),W=W||this._tag_stack.try_pop("colgroup",["table"]),W=W||this._tag_stack.try_pop("thead",["table"]),W=W||this._tag_stack.try_pop("tbody",["table"])):Q.tag_name==="tr"?(W=W||this._tag_stack.try_pop("caption",["table"]),W=W||this._tag_stack.try_pop("colgroup",["table"]),W=W||this._tag_stack.try_pop("tr",["table","thead","tbody","tfoot"])):(Q.tag_name==="th"||Q.tag_name==="td")&&(W=W||this._tag_stack.try_pop("td",["table","thead","tbody","tfoot","tr"]),W=W||this._tag_stack.try_pop("th",["table","thead","tbody","tfoot","tr"]));return Q.parent=this._tag_stack.get_parser_token(),W},S.exports.Beautifier=F},function(S,E,f){var h=f(6).Options;function d(m){h.call(this,m,"html"),this.templating.length===1&&this.templating[0]==="auto"&&(this.templating=["django","erb","handlebars","php"]),this.indent_inner_html=this._get_boolean("indent_inner_html"),this.indent_body_inner_html=this._get_boolean("indent_body_inner_html",!0),this.indent_head_inner_html=this._get_boolean("indent_head_inner_html",!0),this.indent_handlebars=this._get_boolean("indent_handlebars",!0),this.wrap_attributes=this._get_selection("wrap_attributes",["auto","force","force-aligned","force-expand-multiline","aligned-multiple","preserve","preserve-aligned"]),this.wrap_attributes_indent_size=this._get_number("wrap_attributes_indent_size",this.indent_size),this.extra_liners=this._get_array("extra_liners",["head","body","/html"]),this.inline=this._get_array("inline",["a","abbr","area","audio","b","bdi","bdo","br","button","canvas","cite","code","data","datalist","del","dfn","em","embed","i","iframe","img","input","ins","kbd","keygen","label","map","mark","math","meter","noscript","object","output","progress","q","ruby","s","samp","select","small","span","strong","sub","sup","svg","template","textarea","time","u","var","video","wbr","text","acronym","big","strike","tt"]),this.void_elements=this._get_array("void_elements",["area","base","br","col","embed","hr","img","input","keygen","link","menuitem","meta","param","source","track","wbr","!doctype","?xml","basefont","isindex"]),this.unformatted=this._get_array("unformatted",[]),this.content_unformatted=this._get_array("content_unformatted",["pre","textarea"]),this.unformatted_content_delimiter=this._get_characters("unformatted_content_delimiter"),this.indent_scripts=this._get_selection("indent_scripts",["normal","keep","separate"])}d.prototype=new h,S.exports.Options=d},function(S,E,f){var h=f(9).Tokenizer,d=f(9).TOKEN,m=f(13).Directives,C=f(14).TemplatablePattern,z=f(12).Pattern,v={TAG_OPEN:"TK_TAG_OPEN",TAG_CLOSE:"TK_TAG_CLOSE",ATTRIBUTE:"TK_ATTRIBUTE",EQUALS:"TK_EQUALS",VALUE:"TK_VALUE",COMMENT:"TK_COMMENT",TEXT:"TK_TEXT",UNKNOWN:"TK_UNKNOWN",START:d.START,RAW:d.RAW,EOF:d.EOF},g=new m(/<\!--/,/-->/),j=function(G,J){h.call(this,G,J),this._current_tag_name="";var P=new C(this._input).read_options(this._options),X=new z(this._input);if(this.__patterns={word:P.until(/[\n\r\t <]/),single_quote:P.until_after(/'/),double_quote:P.until_after(/"/),attribute:P.until(/[\n\r\t =>]|\/>/),element_name:P.until(/[\n\r\t >\/]/),handlebars_comment:X.starting_with(/{{!--/).until_after(/--}}/),handlebars:X.starting_with(/{{/).until_after(/}}/),handlebars_open:X.until(/[\n\r\t }]/),handlebars_raw_close:X.until(/}}/),comment:X.starting_with(/<!--/).until_after(/-->/),cdata:X.starting_with(/<!\[CDATA\[/).until_after(/]]>/),conditional_comment:X.starting_with(/<!\[/).until_after(/]>/),processing:X.starting_with(/<\?/).until_after(/\?>/)},this._options.indent_handlebars&&(this.__patterns.word=this.__patterns.word.exclude("handlebars")),this._unformatted_content_delimiter=null,this._options.unformatted_content_delimiter){var F=this._input.get_literal_regexp(this._options.unformatted_content_delimiter);this.__patterns.unformatted_content_delimiter=X.matching(F).until_after(F)}};j.prototype=new h,j.prototype._is_comment=function(G){return!1},j.prototype._is_opening=function(G){return G.type===v.TAG_OPEN},j.prototype._is_closing=function(G,J){return G.type===v.TAG_CLOSE&&J&&((G.text===">"||G.text==="/>")&&J.text[0]==="<"||G.text==="}}"&&J.text[0]==="{"&&J.text[1]==="{")},j.prototype._reset=function(){this._current_tag_name=""},j.prototype._get_next_token=function(G,J){var P=null;this._readWhitespace();var X=this._input.peek();return X===null?this._create_token(v.EOF,""):(P=P||this._read_open_handlebars(X,J),P=P||this._read_attribute(X,G,J),P=P||this._read_close(X,J),P=P||this._read_raw_content(X,G,J),P=P||this._read_content_word(X),P=P||this._read_comment_or_cdata(X),P=P||this._read_processing(X),P=P||this._read_open(X,J),P=P||this._create_token(v.UNKNOWN,this._input.next()),P)},j.prototype._read_comment_or_cdata=function(G){var J=null,P=null,X=null;if(G==="<"){var F=this._input.peek(1);F==="!"&&(P=this.__patterns.comment.read(),P?(X=g.get_directives(P),X&&X.ignore==="start"&&(P+=g.readIgnored(this._input))):P=this.__patterns.cdata.read()),P&&(J=this._create_token(v.COMMENT,P),J.directives=X)}return J},j.prototype._read_processing=function(G){var J=null,P=null,X=null;if(G==="<"){var F=this._input.peek(1);(F==="!"||F==="?")&&(P=this.__patterns.conditional_comment.read(),P=P||this.__patterns.processing.read()),P&&(J=this._create_token(v.COMMENT,P),J.directives=X)}return J},j.prototype._read_open=function(G,J){var P=null,X=null;return J||G==="<"&&(P=this._input.next(),this._input.peek()==="/"&&(P+=this._input.next()),P+=this.__patterns.element_name.read(),X=this._create_token(v.TAG_OPEN,P)),X},j.prototype._read_open_handlebars=function(G,J){var P=null,X=null;return J||this._options.indent_handlebars&&G==="{"&&this._input.peek(1)==="{"&&(this._input.peek(2)==="!"?(P=this.__patterns.handlebars_comment.read(),P=P||this.__patterns.handlebars.read(),X=this._create_token(v.COMMENT,P)):(P=this.__patterns.handlebars_open.read(),X=this._create_token(v.TAG_OPEN,P))),X},j.prototype._read_close=function(G,J){var P=null,X=null;return J&&(J.text[0]==="<"&&(G===">"||G==="/"&&this._input.peek(1)===">")?(P=this._input.next(),G==="/"&&(P+=this._input.next()),X=this._create_token(v.TAG_CLOSE,P)):J.text[0]==="{"&&G==="}"&&this._input.peek(1)==="}"&&(this._input.next(),this._input.next(),X=this._create_token(v.TAG_CLOSE,"}}"))),X},j.prototype._read_attribute=function(G,J,P){var X=null,F="";if(P&&P.text[0]==="<")if(G==="=")X=this._create_token(v.EQUALS,this._input.next());else if(G==='"'||G==="'"){var oe=this._input.next();G==='"'?oe+=this.__patterns.double_quote.read():oe+=this.__patterns.single_quote.read(),X=this._create_token(v.VALUE,oe)}else F=this.__patterns.attribute.read(),F&&(J.type===v.EQUALS?X=this._create_token(v.VALUE,F):X=this._create_token(v.ATTRIBUTE,F));return X},j.prototype._is_content_unformatted=function(G){return this._options.void_elements.indexOf(G)===-1&&(this._options.content_unformatted.indexOf(G)!==-1||this._options.unformatted.indexOf(G)!==-1)},j.prototype._read_raw_content=function(G,J,P){var X="";if(P&&P.text[0]==="{")X=this.__patterns.handlebars_raw_close.read();else if(J.type===v.TAG_CLOSE&&J.opened.text[0]==="<"&&J.text[0]!=="/"){var F=J.opened.text.substr(1).toLowerCase();if(F==="script"||F==="style"){var oe=this._read_comment_or_cdata(G);if(oe)return oe.type=v.TEXT,oe;X=this._input.readUntil(new RegExp("</"+F+"[\\n\\r\\t ]*?>","ig"))}else this._is_content_unformatted(F)&&(X=this._input.readUntil(new RegExp("</"+F+"[\\n\\r\\t ]*?>","ig")))}return X?this._create_token(v.TEXT,X):null},j.prototype._read_content_word=function(G){var J="";if(this._options.unformatted_content_delimiter&&(G===this._options.unformatted_content_delimiter[0]&&(J=this.__patterns.unformatted_content_delimiter.read())),J||(J=this.__patterns.word.read()),J)return this._create_token(v.TEXT,J)},S.exports.Tokenizer=j,S.exports.TOKEN=v}],ge={};function a(S){var E=ge[S];if(E!==void 0)return E.exports;var f=ge[S]={exports:{}};return ue[S](f,f.exports,a),f.exports}var N=a(18);Ie=N})();var ae=Ie;if(!0)!(re=[s,s("6UM0"),s("TXwP")],ie=function(ue){var ge=s("6UM0"),a=s("TXwP");return{html_beautify:function(N,S){return ae(N,S,ge.js_beautify,a.css_beautify)}}}.apply(L,re),ie!==void 0&&(Me.exports=ie));else var y,I})()},qgvg:function(Me,L){Me.exports="data:image/gif;base64,R0lGODlhFAAQAOZVAD6Q33p6ezZto2VnaW5vcDuCxiYvNysvM1tdXzNij5eXlyg0QTA0OExOUWZnaS8zN19hYzFYf0Oi/Sg1QoeHh2JjZWZoaTdzrTRmljl5tzFZgDBWez6P3Tl4tjl8uzdxqWBiYys/VCUqL39/gHV2dy4yNScyPDJeiEpNTzk8P0CX6jc7PiYuNWlqaywwNDZtojAzNytDWScrLitAVUGb8Xl6eoWFhTp+wDNgjWRmZ4+QkFdZWzo9QIODgyo/Uzh3syg0QCczPmprbTRllW9wcSotMVJUVjZupDuEylBSVUGb8kxPUZGRkTd0rUGc82JkZUKe9j2M1zg7P4iIiEOj/yUpLQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACH/C05FVFNDQVBFMi4wAwEAAAAh/wtYTVAgRGF0YVhNUDw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuNi1jMTQ1IDc5LjE2MzQ5OSwgMjAxOC8wOC8xMy0xNjo0MDoyMiAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1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IB8eHRwbGhkYFxYVFBMSERAPDg0MCwoJCAcGBQQDAgEAACH5BAUyAFUALAAAAAAUABAAAAd5gFWCg4RSLoSIiVUPFlNEhAwDCIoyST1TUwGCBwM6AweJPCSYmJpVCAMMgykgFRUtFKSlilVCsreZtAS4sqaJu7yzisDBvhAKyBDEvL6Iy7jNhA7BwoklKA0NRiO30bRFOzakpqiqtItPsTWbA0wWoOcrOUuEMA6TgQAh+QQFMgBVACwAAAAAFAAQAAAHeIBVgoOEISaEiIlVExlUSIQLAgmKIidOVFQAggYCNAIGiTFRmJiaVQkCC4MzHxcXHhKkpYpVN7K3mbQFuLKmibu8s4rAwb4YpBjEvL6IyrjMhB3BwolBGxEROCq30LQsQ1CkpqiqtItNsRybAkpHoOY+PxqEQC+TgQA7"},"rAM+":function(Me,L,s){"use strict";s.d(L,"a",function(){return ie});var re=s("Qw5x");function ie(Ie,ae){var y;if(typeof Symbol=="undefined"||Ie[Symbol.iterator]==null){if(Array.isArray(Ie)||(y=Object(re.a)(Ie))||ae&&Ie&&typeof Ie.length=="number"){y&&(Ie=y);var I=0,ue=function(){};return{s:ue,n:function(){return I>=Ie.length?{done:!0}:{done:!1,value:Ie[I++]}},e:function(E){throw E},f:ue}}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 ge=!0,a=!1,N;return{s:function(){y=Ie[Symbol.iterator]()},n:function(){var E=y.next();return ge=E.done,E},e:function(E){a=!0,N=E},f:function(){try{!ge&&y.return!=null&&y.return()}finally{if(a)throw N}}}}},rHrb:function(Me,L,s){"use strict";Object.defineProperty(L,"__esModule",{value:!0}),L.CopyToClipboard=void 0;var re=Ie(s("q1tI")),ie=Ie(s("+QRC"));function Ie(v){return v&&v.__esModule?v:{default:v}}function ae(v){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?ae=function(j){return typeof j}:ae=function(j){return j&&typeof Symbol=="function"&&j.constructor===Symbol&&j!==Symbol.prototype?"symbol":typeof j},ae(v)}function y(v,g){var j=Object.keys(v);if(Object.getOwnPropertySymbols){var G=Object.getOwnPropertySymbols(v);g&&(G=G.filter(function(J){return Object.getOwnPropertyDescriptor(v,J).enumerable})),j.push.apply(j,G)}return j}function I(v){for(var g=1;g<arguments.length;g++){var j=arguments[g]!=null?arguments[g]:{};g%2?y(j,!0).forEach(function(G){C(v,G,j[G])}):Object.getOwnPropertyDescriptors?Object.defineProperties(v,Object.getOwnPropertyDescriptors(j)):y(j).forEach(function(G){Object.defineProperty(v,G,Object.getOwnPropertyDescriptor(j,G))})}return v}function ue(v,g){if(v==null)return{};var j=ge(v,g),G,J;if(Object.getOwnPropertySymbols){var P=Object.getOwnPropertySymbols(v);for(J=0;J<P.length;J++){if(G=P[J],g.indexOf(G)>=0)continue;if(!Object.prototype.propertyIsEnumerable.call(v,G))continue;j[G]=v[G]}}return j}function ge(v,g){if(v==null)return{};var j={},G=Object.keys(v),J,P;for(P=0;P<G.length;P++){if(J=G[P],g.indexOf(J)>=0)continue;j[J]=v[J]}return j}function a(v,g){if(!(v instanceof g))throw new TypeError("Cannot call a class as a function")}function N(v,g){for(var j=0;j<g.length;j++){var G=g[j];G.enumerable=G.enumerable||!1,G.configurable=!0,"value"in G&&(G.writable=!0),Object.defineProperty(v,G.key,G)}}function S(v,g,j){return g&&N(v.prototype,g),j&&N(v,j),v}function E(v,g){return g&&(ae(g)==="object"||typeof g=="function")?g:h(v)}function f(v){return f=Object.setPrototypeOf?Object.getPrototypeOf:function(j){return j.__proto__||Object.getPrototypeOf(j)},f(v)}function h(v){if(v===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return v}function d(v,g){if(typeof g!="function"&&g!==null)throw new TypeError("Super expression must either be null or a function");v.prototype=Object.create(g&&g.prototype,{constructor:{value:v,writable:!0,configurable:!0}}),g&&m(v,g)}function m(v,g){return m=Object.setPrototypeOf||function(G,J){return G.__proto__=J,G},m(v,g)}function C(v,g,j){return g in v?Object.defineProperty(v,g,{value:j,enumerable:!0,configurable:!0,writable:!0}):v[g]=j,v}var z=function(v){d(g,v);function g(){var j,G;a(this,g);for(var J=arguments.length,P=new Array(J),X=0;X<J;X++)P[X]=arguments[X];return G=E(this,(j=f(g)).call.apply(j,[this].concat(P))),C(h(G),"onClick",function(F){var oe=G.props,he=oe.text,ce=oe.onCopy,Q=oe.children,W=oe.options,H=re.default.Children.only(Q),Re=(0,ie.default)(he,W);ce&&ce(he,Re),H&&H.props&&typeof H.props.onClick=="function"&&H.props.onClick(F)}),G}return S(g,[{key:"render",value:function(){var G=this.props,J=G.text,P=G.onCopy,X=G.options,F=G.children,oe=ue(G,["text","onCopy","options","children"]),he=re.default.Children.only(F);return re.default.cloneElement(he,I({},oe,{onClick:this.onClick}))}}]),g}(re.default.PureComponent);L.CopyToClipboard=z,C(z,"defaultProps",{onCopy:void 0,options:void 0})},sboe:function(Me,L,s){"use strict";s.d(L,"a",function(){return Ie});var re=s("q1tI"),ie=s.n(re),Ie=re.createContext(null)},t23M:function(Me,L,s){"use strict";var re=s("VTBJ"),ie=s("1OyB"),Ie=s("vuIU"),ae=s("Ji7U"),y=s("LK+K"),I=s("q1tI"),ue=s.n(I),ge=s("m+aA"),a=s("Zm9Q"),N=s("Kwbf"),S=s("c+Xe"),E=s("bdgK"),f="rc-observer-key",h=function(d){Object(ae.a)(C,d);var m=Object(y.a)(C);function C(){var z;return Object(ie.a)(this,C),z=m.apply(this,arguments),z.resizeObserver=null,z.childNode=null,z.currentElement=null,z.state={width:0,height:0,offsetHeight:0,offsetWidth:0},z.onResize=function(v){var g=z.props.onResize,j=v[0].target,G=j.getBoundingClientRect(),J=G.width,P=G.height,X=j.offsetWidth,F=j.offsetHeight,oe=Math.floor(J),he=Math.floor(P);if(z.state.width!==oe||z.state.height!==he||z.state.offsetWidth!==X||z.state.offsetHeight!==F){var ce={width:oe,height:he,offsetWidth:X,offsetHeight:F};z.setState(ce),g&&Promise.resolve().then(function(){g(Object(re.a)(Object(re.a)({},ce),{},{offsetWidth:X,offsetHeight:F}))})}},z.setChildNode=function(v){z.childNode=v},z}return Object(Ie.a)(C,[{key:"componentDidMount",value:function(){this.onComponentUpdated()}},{key:"componentDidUpdate",value:function(){this.onComponentUpdated()}},{key:"componentWillUnmount",value:function(){this.destroyObserver()}},{key:"onComponentUpdated",value:function(){var v=this.props.disabled;if(v){this.destroyObserver();return}var g=Object(ge.a)(this.childNode||this),j=g!==this.currentElement;j&&(this.destroyObserver(),this.currentElement=g),!this.resizeObserver&&g&&(this.resizeObserver=new E.default(this.onResize),this.resizeObserver.observe(g))}},{key:"destroyObserver",value:function(){this.resizeObserver&&(this.resizeObserver.disconnect(),this.resizeObserver=null)}},{key:"render",value:function(){var v=this.props.children,g=Object(a.a)(v);if(g.length>1)Object(N.a)(!1,"Find more than one child node with `children` in ResizeObserver. Will only observe first one.");else if(g.length===0)return Object(N.a)(!1,"`children` of ResizeObserver is empty. Nothing is in observe."),null;var j=g[0];if(I.isValidElement(j)&&Object(S.c)(j)){var G=j.ref;g[0]=I.cloneElement(j,{ref:Object(S.a)(G,this.setChildNode)})}return g.length===1?g[0]:g.map(function(J,P){return!I.isValidElement(J)||"key"in J&&J.key!==null?J:I.cloneElement(J,{key:"".concat(f,"-").concat(P)})})}}]),C}(I.Component);h.displayName="ResizeObserver",L.a=h},t9D7:function(Me,L,s){"use strict";s.d(L,"b",function(){return ue}),s.d(L,"g",function(){return a}),s.d(L,"d",function(){return N}),s.d(L,"e",function(){return S}),s.d(L,"a",function(){return E}),s.d(L,"f",function(){return d}),s.d(L,"c",function(){return m});var re=s("Vhoy"),ie=s("MI8n"),Ie=s("pmY6"),ae=s("Cg/j"),y=s("ic2d"),I=s("nEHx");const ue=Object(ae.c)("themeService");var ge;(function(C){function z(v){return v&&typeof v=="object"&&typeof v.id=="string"}C.isThemeColor=z})(ge||(ge={}));function a(C){return{id:C}}var N;(function(C){function z(P){return P&&typeof P=="object"&&typeof P.id=="string"&&(typeof P.color=="undefined"||ge.isThemeColor(P.color))}C.isThemeIcon=z;const v=new RegExp(`^\\$\\((${re.a.iconNameExpression}(?:${re.a.iconModifierExpression})?)\\)$`);function g(P){const X=v.exec(P);if(!X)return;let[,F]=X;return{id:F}}C.fromString=g;function j(P,X){let F=P.id;const oe=F.lastIndexOf("~");return oe!==-1&&(F=F.substring(0,oe)),X&&(F=`${F}~${X}`),{id:F}}C.modify=j;function G(P,X){var F,oe;return P.id===X.id&&((F=P.color)===null||F===void 0?void 0:F.id)===((oe=X.color)===null||oe===void 0?void 0:oe.id)}C.isEqual=G;function J(P,X){return{id:P.id,color:X?a(X):void 0}}C.asThemeIcon=J,C.asClassNameArray=re.a.asClassNameArray,C.asClassName=re.a.asClassName,C.asCSSSelector=re.a.asCSSSelector})(N||(N={}));function S(C){switch(C){case I.a.DARK:return"vs-dark";case I.a.HIGH_CONTRAST:return"hc-black";default:return"vs"}}const E={ThemingContribution:"base.contributions.theming"};class f{constructor(){this.themingParticipants=[],this.themingParticipants=[],this.onThemingParticipantAddedEmitter=new ie.b}onColorThemeChange(C){return this.themingParticipants.push(C),this.onThemingParticipantAddedEmitter.fire(C),Object(Ie.i)(()=>{const z=this.themingParticipants.indexOf(C);this.themingParticipants.splice(z,1)})}getThemingParticipants(){return this.themingParticipants}}let h=new f;y.a.add(E.ThemingContribution,h);function d(C){return h.onColorThemeChange(C)}class m extends Ie.a{constructor(C){super();this.themeService=C,this.theme=C.getColorTheme(),this._register(this.themeService.onDidColorThemeChange(z=>this.onThemeChange(z)))}onThemeChange(C){this.theme=C,this.updateStyles()}updateStyles(){}}},tWlo:function(Me,L){Me.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAYAAABXAvmHAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyZpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj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Nt+YiUViLQKNjBH8sV7EXNivhslgb4xb2J28SMtMSRmbrwBBYpZPOI+xw4J2aka23tzB4VETrdct6zoCECC7wjjWIy1tbewZT//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,L,s){Me.exports={wrp:"wrp___z2l1F",bgBlack:"bgBlack___3ezfX",monaco:"monaco___1ypjT",darkBlue:"darkBlue___2ViJc",close:"close___3q-z4",embed:"embed___3dQqc"}},"yTi+":function(Me,L,s){Me.exports=s.p+"static/AssistantCode3.fdd8db3c.jpeg"},yslc:function(Me,L){Me.exports="data:image/png;base64,iVBORw0KGgoA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