(window.webpackJsonp=window.webpackJsonp||[]).push([[99,5,7,8],{"+92d":function(Me,he,j){Me.exports=j.p+"static/b1.8d46544a.svg"},"+ua5":function(Me,he,j){},"55Ip":function(Me,he,j){"use strict";j.d(he,"a",function(){return t});var $=j("Ty5D"),U=j("dI71"),w=j("cDcd"),k=j.n(w),I=j("YS25"),O=j("17x9"),N=j.n(O),D=j("wx14"),S=j("zLVn"),T=j("9R94"),y=function(u){Object(U.a)(r,u);function r(){for(var p,f=arguments.length,h=new Array(f),x=0;x=0||f.relatedTarget.className.indexOf("".concat(C,"-next"))>=0))return;u.setState({goInputText:""}),A(u.getValidValue())},u.go=function(f){var h=u.state.goInputText;if(h==="")return;(f.keyCode===l.ENTER||f.type==="click")&&(u.setState({goInputText:""}),u.props.quickGo(u.getValidValue()))},u}return Object(I.a)(c,[{key:"getValidValue",value:function(){var r=this.state,o=r.goInputText,p=r.current;return!o||isNaN(o)?p:Number(o)}},{key:"getPageSizeOptions",value:function(){var r=this.props,o=r.pageSize,p=r.pageSizeOptions;return p.some(function(f){return f.toString()===o.toString()})?p:p.concat([o.toString()]).sort(function(f,h){var x=isNaN(Number(f))?0:Number(f),A=isNaN(Number(h))?0:Number(h);return x-A})}},{key:"render",value:function(){var r=this,o=this.props,p=o.pageSize,f=o.locale,h=o.rootPrefixCls,x=o.changeSize,A=o.quickGo,C=o.goButton,L=o.selectComponentClass,P=o.buildOptionText,R=o.selectPrefixCls,M=o.disabled,F=this.state.goInputText,H="".concat(h,"-options"),X=L,te=null,oe=null,q=null;if(!x&&!A)return null;var se=this.getPageSizeOptions();if(x&&X){var ae=se.map(function(ne,ee){return S.a.createElement(X.Option,{key:ee,value:ne.toString()},(P||r.buildOptionText)(ne))});te=S.a.createElement(X,{disabled:M,prefixCls:R,showSearch:!1,className:"".concat(H,"-size-changer"),optionLabelProp:"children",dropdownMatchSelectWidth:!1,value:(p||se[0]).toString(),onChange:this.changeSize,getPopupContainer:function(ee){return ee.parentNode}},ae)}return A&&(C&&(q=typeof C=="boolean"?S.a.createElement("button",{type:"button",onClick:this.go,onKeyUp:this.go,disabled:M,className:"".concat(H,"-quick-jumper-button")},f.jump_to_confirm):S.a.createElement("span",{onClick:this.go,onKeyUp:this.go},C)),oe=S.a.createElement("div",{className:"".concat(H,"-quick-jumper")},f.jump_to,S.a.createElement("input",{disabled:M,type:"text",value:F,onChange:this.handleChange,onKeyUp:this.go,onBlur:this.handleBlur}),f.page,q)),S.a.createElement("li",{className:"".concat(H)},te,oe)}}]),c}(S.a.Component);n.defaultProps={pageSizeOptions:["10","20","50","100"]};var a=n,s=j("N2Kk");function e(){}function t(v){return typeof v=="number"&&isFinite(v)&&Math.floor(v)===v}function i(v,g,c){return c}function b(v,g,c){var u=typeof v=="undefined"?g.pageSize:v;return Math.floor((c.total-1)/u)+1}var E=function(v){Object(O.a)(c,v);var g=Object(N.a)(c);function c(u){var r;Object(k.a)(this,c),r=g.call(this,u),r.getJumpPrevPage=function(){return Math.max(1,r.state.current-(r.props.showLessItems?3:5))},r.getJumpNextPage=function(){return Math.min(b(void 0,r.state,r.props),r.state.current+(r.props.showLessItems?3:5))},r.getItemIcon=function(x,A){var C=r.props.prefixCls,L=x||S.a.createElement("button",{type:"button","aria-label":A,className:"".concat(C,"-item-link")});return typeof x=="function"&&(L=S.a.createElement(x,Object(w.a)({},r.props))),L},r.savePaginationNode=function(x){r.paginationNode=x},r.isValid=function(x){return t(x)&&x!==r.state.current},r.shouldDisplayQuickJumper=function(){var x=r.props,A=x.showQuickJumper,C=x.pageSize,L=x.total;return L<=C?!1:A},r.handleKeyDown=function(x){(x.keyCode===l.ARROW_UP||x.keyCode===l.ARROW_DOWN)&&x.preventDefault()},r.handleKeyUp=function(x){var A=r.getValidValue(x),C=r.state.currentInputValue;A!==C&&r.setState({currentInputValue:A}),x.keyCode===l.ENTER?r.handleChange(A):x.keyCode===l.ARROW_UP?r.handleChange(A-1):x.keyCode===l.ARROW_DOWN&&r.handleChange(A+1)},r.changePageSize=function(x){var A=r.state.current,C=b(x,r.state,r.props);A=A>C?C:A,C===0&&(A=r.state.current),typeof x=="number"&&("pageSize"in r.props||r.setState({pageSize:x}),"current"in r.props||r.setState({current:A,currentInputValue:A})),r.props.onShowSizeChange(A,x),"onChange"in r.props&&r.props.onChange&&r.props.onChange(A,x)},r.handleChange=function(x){var A=r.props.disabled,C=x;if(r.isValid(C)&&!A){var L=b(void 0,r.state,r.props);C>L?C=L:C<1&&(C=1),"current"in r.props||r.setState({current:C,currentInputValue:C});var P=r.state.pageSize;return r.props.onChange(C,P),C}return r.state.current},r.prev=function(){r.hasPrev()&&r.handleChange(r.state.current-1)},r.next=function(){r.hasNext()&&r.handleChange(r.state.current+1)},r.jumpPrev=function(){r.handleChange(r.getJumpPrevPage())},r.jumpNext=function(){r.handleChange(r.getJumpNextPage())},r.hasPrev=function(){return r.state.current>1},r.hasNext=function(){return r.state.current2?C-2:0),P=2;P=p?h=p:h=Number(o),h}},{key:"getShowSizeChanger",value:function(){var r=this.props,o=r.showSizeChanger,p=r.total,f=r.totalBoundaryShowSizeChanger;return typeof o!="undefined"?o:p>f}},{key:"renderPrev",value:function(r){var o=this.props,p=o.prevIcon,f=o.itemRender,h=f(r,"prev",this.getItemIcon(p,"prev page")),x=!this.hasPrev();return Object(D.isValidElement)(h)?Object(D.cloneElement)(h,{disabled:x}):h}},{key:"renderNext",value:function(r){var o=this.props,p=o.nextIcon,f=o.itemRender,h=f(r,"next",this.getItemIcon(p,"next page")),x=!this.hasNext();return Object(D.isValidElement)(h)?Object(D.cloneElement)(h,{disabled:x}):h}},{key:"render",value:function(){var r=this,o=this.props,p=o.prefixCls,f=o.className,h=o.style,x=o.disabled,A=o.hideOnSinglePage,C=o.total,L=o.locale,P=o.showQuickJumper,R=o.showLessItems,M=o.showTitle,F=o.showTotal,H=o.simple,X=o.itemRender,te=o.showPrevNextJumpers,oe=o.jumpPrevIcon,q=o.jumpNextIcon,se=o.selectComponentClass,ae=o.selectPrefixCls,ne=o.pageSizeOptions,ee=this.state,ge=ee.current,Ce=ee.pageSize,Oe=ee.currentInputValue;if(A===!0&&C<=Ce)return null;var we=b(void 0,this.state,this.props),fe=[],_e=null,Ee=null,ye=null,ce=null,be=null,ve=P&&P.goButton,pe=R?1:2,Te=ge-1>0?ge-1:0,Pe=ge+1=pe*2&&ge!==1+2&&(fe[0]=Object(D.cloneElement)(fe[0],{className:"".concat(p,"-item-after-jump-prev")}),fe.unshift(_e)),we-ge>=pe*2&&ge!==we-2&&(fe[fe.length-1]=Object(D.cloneElement)(fe[fe.length-1],{className:"".concat(p,"-item-before-jump-next")}),fe.push(Ee)),ue!==1&&fe.unshift(ye),de!==we&&fe.push(ce)}var Y=null;F&&(Y=S.a.createElement("li",{className:"".concat(p,"-total-text")},F(C,[C===0?0:(ge-1)*Ce+1,ge*Ce>C?C:ge*Ce])));var z=!this.hasPrev()||!we,G=!this.hasNext()||!we;return S.a.createElement("ul",Object($.a)({className:y()(p,f,Object(U.a)({},"".concat(p,"-disabled"),x)),style:h,unselectable:"unselectable",ref:this.savePaginationNode},Se),Y,S.a.createElement("li",{title:M?L.prev_page:null,onClick:this.prev,tabIndex:z?null:0,onKeyPress:this.runIfEnterPrev,className:y()("".concat(p,"-prev"),Object(U.a)({},"".concat(p,"-disabled"),z)),"aria-disabled":z},this.renderPrev(Te)),fe,S.a.createElement("li",{title:M?L.next_page:null,onClick:this.next,tabIndex:G?null:0,onKeyPress:this.runIfEnterNext,className:y()("".concat(p,"-next"),Object(U.a)({},"".concat(p,"-disabled"),G)),"aria-disabled":G},this.renderNext(Pe)),S.a.createElement(a,{disabled:x,locale:L,rootPrefixCls:p,selectComponentClass:se,selectPrefixCls:ae,changeSize:this.getShowSizeChanger()?this.changePageSize:null,current:ge,pageSize:Ce,pageSizeOptions:ne,quickGo:this.shouldDisplayQuickJumper()?this.handleChange:null,goButton:ve}))}}],[{key:"getDerivedStateFromProps",value:function(r,o){var p={};if("current"in r&&(p.current=r.current,r.current!==o.current&&(p.currentInputValue=p.current)),"pageSize"in r&&r.pageSize!==o.pageSize){var f=o.current,h=b(r.pageSize,o,r);f=f>h?h:f,"current"in r||(p.current=f,p.currentInputValue=f),p.pageSize=r.pageSize}return p}}]),c}(S.a.Component);E.defaultProps={defaultCurrent:1,total:0,defaultPageSize:10,onChange:e,className:"",selectPrefixCls:"rc-select",prefixCls:"rc-pagination",selectComponentClass:null,hideOnSinglePage:!1,showPrevNextJumpers:!0,showQuickJumper:!1,showLessItems:!1,showTitle:!0,onShowSizeChange:e,locale:s.a,style:{},itemRender:i,totalBoundaryShowSizeChanger:50};var m=E},"6RRn":function(Me,he,j){"use strict";var $=j("wCXF"),U=j("n6Qo");j.d(he,"b",function(){return U.a});var w=j("IBYe"),k=j("6eGT"),I=j("hW8S");j.d(he,"a",function(){return I.a}),he.c=$.b},"6UM0":function(Me,he,j){var $,U;(function(){var w;(function(){"use strict";var I=[function(S,T,y){var _=y(1).Beautifier,d=y(5).Options;function l(n,a){var s=new _(n,a);return s.beautify()}S.exports=l,S.exports.defaultOptions=function(){return new d}},function(S,T,y){var _=y(2).Output,d=y(3).Token,l=y(4),n=y(5).Options,a=y(7).Tokenizer,s=y(7).line_starters,e=y(7).positionable_operators,t=y(7).TOKEN;function i(R,M){return M.indexOf(R)!==-1}function b(R){return R.replace(/^\s+/g,"")}function E(R){for(var M={},F=0;FF&&(F=R.line_indent_level));var H={mode:M,parent:R,last_token:R?R.last_token:new d(t.START_BLOCK,""),last_word:R?R.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:F,alignment:0,line_indent_level:R?R.line_indent_level:F,start_line_index:this._output.get_line_number(),ternary_depth:0};return H},L.prototype._reset=function(R){var M=R.match(/^[\t ]*/)[0];this._last_last_text="",this._output=new _(this._options,M),this._output.raw=this._options.test_output_raw,this._flag_store=[],this.set_mode(o.BlockStatement);var F=new a(R,this._options);return this._tokens=F.tokenize(),R},L.prototype.beautify=function(){if(this._options.disabled)return this._source_text;var R,M=this._reset(this._source_text),F=this._options.eol;this._options.eol==="auto"&&(F=`
`,M&&l.lineBreak.test(M||"")&&(F=M.match(l.lineBreak)[0]));for(var H=this._tokens.next();H;)this.handle_token(H),this._last_last_text=this._flags.last_token.text,this._flags.last_token=H,H=this._tokens.next();return R=this._output.get_code(F),R},L.prototype.handle_token=function(R,M){R.type===t.START_EXPR?this.handle_start_expr(R):R.type===t.END_EXPR?this.handle_end_expr(R):R.type===t.START_BLOCK?this.handle_start_block(R):R.type===t.END_BLOCK?this.handle_end_block(R):R.type===t.WORD?this.handle_word(R):R.type===t.RESERVED?this.handle_word(R):R.type===t.SEMICOLON?this.handle_semicolon(R):R.type===t.STRING?this.handle_string(R):R.type===t.EQUALS?this.handle_equals(R):R.type===t.OPERATOR?this.handle_operator(R):R.type===t.COMMA?this.handle_comma(R):R.type===t.BLOCK_COMMENT?this.handle_block_comment(R,M):R.type===t.COMMENT?this.handle_comment(R,M):R.type===t.DOT?this.handle_dot(R):R.type===t.EOF?this.handle_eof(R):R.type===t.UNKNOWN?this.handle_unknown(R,M):this.handle_unknown(R,M)},L.prototype.handle_whitespace_and_comments=function(R,M){var F=R.newlines,H=this._options.keep_array_indentation&&h(this._flags.mode);if(R.comments_before)for(var X=R.comments_before.next();X;)this.handle_whitespace_and_comments(X,M),this.handle_token(X,M),X=R.comments_before.next();if(H)for(var te=0;te0,M);else if(this._options.max_preserve_newlines&&F>this._options.max_preserve_newlines&&(F=this._options.max_preserve_newlines),this._options.preserve_newlines&&F>1){this.print_newline(!1,M);for(var oe=1;oe0&&(!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))},L.prototype.set_mode=function(R){this._flags?(this._flag_store.push(this._flags),this._previous_flags=this._flags):this._previous_flags=this.create_flags(null,R),this._flags=this.create_flags(this._previous_flags,R),this._output.set_indent(this._flags.indentation_level,this._flags.alignment)},L.prototype.restore_mode=function(){this._flag_store.length>0&&(this._previous_flags=this._flags,this._flags=this._flag_store.pop(),this._previous_flags.mode===o.Statement&&p(this._output,this._previous_flags),this._output.set_indent(this._flags.indentation_level,this._flags.alignment))},L.prototype.start_of_object_property=function(){return this._flags.parent.mode===o.ObjectLiteral&&this._flags.mode===o.Statement&&(this._flags.last_token.text===":"&&this._flags.ternary_depth===0||v(this._flags.last_token,["get","set"]))},L.prototype.start_of_statement=function(R){var M=!1;return M=M||v(this._flags.last_token,["var","let","const"])&&R.type===t.WORD,M=M||m(this._flags.last_token,"do"),M=M||!(this._flags.parent.mode===o.ObjectLiteral&&this._flags.mode===o.Statement)&&v(this._flags.last_token,P)&&!R.newlines,M=M||m(this._flags.last_token,"else")&&!(m(R,"if")&&!R.comments_before),M=M||this._flags.last_token.type===t.END_EXPR&&(this._previous_flags.mode===o.ForInitializer||this._previous_flags.mode===o.Conditional),M=M||this._flags.last_token.type===t.WORD&&this._flags.mode===o.BlockStatement&&!this._flags.in_case&&!(R.text==="--"||R.text==="++")&&this._last_last_text!=="function"&&R.type!==t.WORD&&R.type!==t.RESERVED,M=M||this._flags.mode===o.ObjectLiteral&&(this._flags.last_token.text===":"&&this._flags.ternary_depth===0||v(this._flags.last_token,["get","set"])),M?(this.set_mode(o.Statement),this.indent(),this.handle_whitespace_and_comments(R,!0),this.start_of_object_property()||this.allow_wrap_or_preserved_newline(R,v(R,["do","for","if","while"])),!0):!1},L.prototype.handle_start_expr=function(R){this.start_of_statement(R)||this.handle_whitespace_and_comments(R);var M=o.Expression;if(R.text==="["){if(this._flags.last_token.type===t.WORD||this._flags.last_token.text===")"){v(this._flags.last_token,s)&&(this._output.space_before_token=!0),this.print_token(R),this.set_mode(M),this.indent(),this._options.space_in_paren&&(this._output.space_before_token=!0);return}M=o.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())),i(this._flags.last_token.type,[t.START_EXPR,t.END_EXPR,t.WORD,t.OPERATOR,t.DOT])||(this._output.space_before_token=!0)}else{if(this._flags.last_token.type===t.RESERVED)this._flags.last_token.text==="for"?(this._output.space_before_token=this._options.space_before_conditional,M=o.ForInitializer):i(this._flags.last_token.text,["if","while","switch"])?(this._output.space_before_token=this._options.space_before_conditional,M=o.Conditional):i(this._flags.last_word,["await","async"])?this._output.space_before_token=!0:this._flags.last_token.text==="import"&&R.whitespace_before===""?this._output.space_before_token=!1:(i(this._flags.last_token.text,s)||this._flags.last_token.text==="catch")&&(this._output.space_before_token=!0);else if(this._flags.last_token.type===t.EQUALS||this._flags.last_token.type===t.OPERATOR)this.start_of_object_property()||this.allow_wrap_or_preserved_newline(R);else if(this._flags.last_token.type===t.WORD){this._output.space_before_token=!1;var F=this._tokens.peek(-3);if(this._options.space_after_named_function&&F){var H=this._tokens.peek(-4);v(F,["async","function"])||F.text==="*"&&v(H,["async","function"])?this._output.space_before_token=!0:this._flags.mode===o.ObjectLiteral?(F.text==="{"||F.text===","||F.text==="*"&&(H.text==="{"||H.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(R);(this._flags.last_token.type===t.RESERVED&&(this._flags.last_word==="function"||this._flags.last_word==="typeof")||this._flags.last_token.text==="*"&&(i(this._last_last_text,["function","yield"])||this._flags.mode===o.ObjectLiteral&&i(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===t.START_BLOCK?this.print_newline():(this._flags.last_token.type===t.END_EXPR||this._flags.last_token.type===t.START_EXPR||this._flags.last_token.type===t.END_BLOCK||this._flags.last_token.text==="."||this._flags.last_token.type===t.COMMA)&&this.allow_wrap_or_preserved_newline(R,R.newlines),this.print_token(R),this.set_mode(M),this._options.space_in_paren&&(this._output.space_before_token=!0),this.indent()},L.prototype.handle_end_expr=function(R){for(;this._flags.mode===o.Statement;)this.restore_mode();this.handle_whitespace_and_comments(R),this._flags.multiline_frame&&this.allow_wrap_or_preserved_newline(R,R.text==="]"&&h(this._flags.mode)&&!this._options.keep_array_indentation),this._options.space_in_paren&&(this._flags.last_token.type===t.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(R),this.restore_mode(),p(this._output,this._previous_flags),this._flags.do_while&&this._previous_flags.mode===o.Conditional&&(this._previous_flags.mode=o.Expression,this._flags.do_block=!1,this._flags.do_while=!1)},L.prototype.handle_start_block=function(R){this.handle_whitespace_and_comments(R);var M=this._tokens.peek(),F=this._tokens.peek(1);this._flags.last_word==="switch"&&this._flags.last_token.type===t.END_EXPR?(this.set_mode(o.BlockStatement),this._flags.in_case_statement=!0):this._flags.case_body?this.set_mode(o.BlockStatement):F&&(i(F.text,[":",","])&&i(M.type,[t.STRING,t.WORD,t.RESERVED])||i(M.text,["get","set","..."])&&i(F.type,[t.WORD,t.RESERVED]))?i(this._last_last_text,["class","interface"])&&!i(F.text,[":",","])?this.set_mode(o.BlockStatement):this.set_mode(o.ObjectLiteral):this._flags.last_token.type===t.OPERATOR&&this._flags.last_token.text==="=>"?this.set_mode(o.BlockStatement):i(this._flags.last_token.type,[t.EQUALS,t.START_EXPR,t.COMMA,t.OPERATOR])||v(this._flags.last_token,["return","throw","import","default"])?this.set_mode(o.ObjectLiteral):this.set_mode(o.BlockStatement),this._flags.last_token&&(v(this._flags.last_token.previous,["class","extends"])&&(this._flags.class_start_block=!0));var H=!M.comments_before&&M.text==="}",X=H&&this._flags.last_word==="function"&&this._flags.last_token.type===t.END_EXPR;if(this._options.brace_preserve_inline){var te=0,oe=null;this._flags.inline_frame=!0;do if(te+=1,oe=this._tokens.peek(te-1),oe.newlines){this._flags.inline_frame=!1;break}while(oe.type!==t.EOF&&!(oe.type===t.END_BLOCK&&oe.opened===R))}(this._options.brace_style==="expand"||this._options.brace_style==="none"&&R.newlines)&&!this._flags.inline_frame?this._flags.last_token.type!==t.OPERATOR&&(X||this._flags.last_token.type===t.EQUALS||v(this._flags.last_token,g)&&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===t.START_EXPR||this._flags.last_token.type===t.COMMA)&&((this._flags.last_token.type===t.COMMA||this._options.space_in_paren)&&(this._output.space_before_token=!0),(this._flags.last_token.type===t.COMMA||this._flags.last_token.type===t.START_EXPR&&this._flags.inline_frame)&&(this.allow_wrap_or_preserved_newline(R),this._previous_flags.multiline_frame=this._previous_flags.multiline_frame||this._flags.multiline_frame,this._flags.multiline_frame=!1)),this._flags.last_token.type!==t.OPERATOR&&this._flags.last_token.type!==t.START_EXPR&&(this._flags.last_token.type===t.START_BLOCK&&!this._flags.inline_frame?this.print_newline():this._output.space_before_token=!0)),this.print_token(R),this.indent(),!H&&!(this._options.brace_preserve_inline&&this._flags.inline_frame)&&this.print_newline()},L.prototype.handle_end_block=function(R){for(this.handle_whitespace_and_comments(R);this._flags.mode===o.Statement;)this.restore_mode();var M=this._flags.last_token.type===t.START_BLOCK;this._flags.inline_frame&&!M?this._output.space_before_token=!0:this._options.brace_style==="expand"?M||this.print_newline():M||(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(R)},L.prototype.handle_word=function(R){if(R.type===t.RESERVED){if(i(R.text,["set","get"])&&this._flags.mode!==o.ObjectLiteral)R.type=t.WORD;else if(R.text==="import"&&i(this._tokens.peek().text,["(","."]))R.type=t.WORD;else if(i(R.text,["as","from"])&&!this._flags.import_block)R.type=t.WORD;else if(this._flags.mode===o.ObjectLiteral){var M=this._tokens.peek();M.text===":"&&(R.type=t.WORD)}}if(this.start_of_statement(R)?v(this._flags.last_token,["var","let","const"])&&R.type===t.WORD&&(this._flags.declaration_statement=!0):R.newlines&&!x(this._flags.mode)&&(this._flags.last_token.type!==t.OPERATOR||this._flags.last_token.text==="--"||this._flags.last_token.text==="++")&&this._flags.last_token.type!==t.EQUALS&&(this._options.preserve_newlines||!v(this._flags.last_token,["var","let","const","set","get"]))?(this.handle_whitespace_and_comments(R),this.print_newline()):this.handle_whitespace_and_comments(R),this._flags.do_block&&!this._flags.do_while)if(m(R,"while")){this._output.space_before_token=!0,this.print_token(R),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&&m(R,"else"))this._flags.else_block=!0;else{for(;this._flags.mode===o.Statement;)this.restore_mode();this._flags.if_block=!1,this._flags.else_block=!1}if(this._flags.in_case_statement&&v(R,["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(R),this._flags.in_case=!0;return}if((this._flags.last_token.type===t.COMMA||this._flags.last_token.type===t.START_EXPR||this._flags.last_token.type===t.EQUALS||this._flags.last_token.type===t.OPERATOR)&&(this.start_of_object_property()||this.allow_wrap_or_preserved_newline(R)),m(R,"function")){(i(this._flags.last_token.text,["}",";"])||this._output.just_added_newline()&&!(i(this._flags.last_token.text,["(","[","{",":","=",","])||this._flags.last_token.type===t.OPERATOR))&&(!this._output.just_added_blankline()&&!R.comments_before&&(this.print_newline(),this.print_newline(!0))),this._flags.last_token.type===t.RESERVED||this._flags.last_token.type===t.WORD?v(this._flags.last_token,["get","set","new","export"])||v(this._flags.last_token,P)?this._output.space_before_token=!0:m(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===t.OPERATOR||this._flags.last_token.text==="="?this._output.space_before_token=!0:!this._flags.multiline_frame&&(x(this._flags.mode)||h(this._flags.mode))||this.print_newline(),this.print_token(R),this._flags.last_word=R.text;return}var F="NONE";if(this._flags.last_token.type===t.END_BLOCK?this._previous_flags.inline_frame?F="SPACE":v(R,["else","catch","finally","from"])?this._options.brace_style==="expand"||this._options.brace_style==="end-expand"||this._options.brace_style==="none"&&R.newlines?F="NEWLINE":(F="SPACE",this._output.space_before_token=!0):F="NEWLINE":this._flags.last_token.type===t.SEMICOLON&&this._flags.mode===o.BlockStatement?F="NEWLINE":this._flags.last_token.type===t.SEMICOLON&&x(this._flags.mode)?F="SPACE":this._flags.last_token.type===t.STRING?F="NEWLINE":this._flags.last_token.type===t.RESERVED||this._flags.last_token.type===t.WORD||this._flags.last_token.text==="*"&&(i(this._last_last_text,["function","yield"])||this._flags.mode===o.ObjectLiteral&&i(this._last_last_text,["{",","]))?F="SPACE":this._flags.last_token.type===t.START_BLOCK?this._flags.inline_frame?F="SPACE":F="NEWLINE":this._flags.last_token.type===t.END_EXPR&&(this._output.space_before_token=!0,F="NEWLINE"),v(R,s)&&this._flags.last_token.text!==")"&&(this._flags.inline_frame||this._flags.last_token.text==="else"||this._flags.last_token.text==="export"?F="SPACE":F="NEWLINE"),v(R,["else","catch","finally"]))if((!(this._flags.last_token.type===t.END_BLOCK&&this._previous_flags.mode===o.BlockStatement)||this._options.brace_style==="expand"||this._options.brace_style==="end-expand"||this._options.brace_style==="none"&&R.newlines)&&!this._flags.inline_frame)this.print_newline();else{this._output.trim(!0);var H=this._output.current_line;H.last()!=="}"&&this.print_newline(),this._output.space_before_token=!0}else F==="NEWLINE"?v(this._flags.last_token,g)?this._output.space_before_token=!0:this._flags.last_token.text==="declare"&&v(R,["var","let","const"])?this._output.space_before_token=!0:this._flags.last_token.type!==t.END_EXPR?(this._flags.last_token.type!==t.START_EXPR||!v(R,["var","let","const"]))&&this._flags.last_token.text!==":"&&(m(R,"if")&&m(R.previous,"else")?this._output.space_before_token=!0:this.print_newline()):v(R,s)&&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():F==="SPACE"&&(this._output.space_before_token=!0);R.previous&&(R.previous.type===t.WORD||R.previous.type===t.RESERVED)&&(this._output.space_before_token=!0),this.print_token(R),this._flags.last_word=R.text,R.type===t.RESERVED&&(R.text==="do"?this._flags.do_block=!0:R.text==="if"?this._flags.if_block=!0:R.text==="import"?this._flags.import_block=!0:this._flags.import_block&&m(R,"from")&&(this._flags.import_block=!1))},L.prototype.handle_semicolon=function(R){this.start_of_statement(R)?this._output.space_before_token=!1:this.handle_whitespace_and_comments(R);for(var M=this._tokens.peek();this._flags.mode===o.Statement&&!(this._flags.if_block&&m(M,"else"))&&!this._flags.do_block;)this.restore_mode();this._flags.import_block&&(this._flags.import_block=!1),this.print_token(R)},L.prototype.handle_string=function(R){R.text.startsWith("`")&&R.newlines===0&&R.whitespace_before===""&&(R.previous.text===")"||this._flags.last_token.type===t.WORD)||(this.start_of_statement(R)?this._output.space_before_token=!0:(this.handle_whitespace_and_comments(R),this._flags.last_token.type===t.RESERVED||this._flags.last_token.type===t.WORD||this._flags.inline_frame?this._output.space_before_token=!0:this._flags.last_token.type===t.COMMA||this._flags.last_token.type===t.START_EXPR||this._flags.last_token.type===t.EQUALS||this._flags.last_token.type===t.OPERATOR?this.start_of_object_property()||this.allow_wrap_or_preserved_newline(R):R.text.startsWith("`")&&this._flags.last_token.type===t.END_EXPR&&(R.previous.text==="]"||R.previous.text===")")&&R.newlines===0?this._output.space_before_token=!0:this.print_newline())),this.print_token(R)},L.prototype.handle_equals=function(R){this.start_of_statement(R)||this.handle_whitespace_and_comments(R),this._flags.declaration_statement&&(this._flags.declaration_assignment=!0),this._output.space_before_token=!0,this.print_token(R),this._output.space_before_token=!0},L.prototype.handle_comma=function(R){this.handle_whitespace_and_comments(R,!0),this.print_token(R),this._output.space_before_token=!0,this._flags.declaration_statement?(x(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(R)):this._flags.mode===o.ObjectLiteral||this._flags.mode===o.Statement&&this._flags.parent.mode===o.ObjectLiteral?(this._flags.mode===o.Statement&&this.restore_mode(),this._flags.inline_frame||this.print_newline()):this._options.comma_first&&this.allow_wrap_or_preserved_newline(R)},L.prototype.handle_operator=function(R){var M=R.text==="*"&&(v(this._flags.last_token,["function","yield"])||i(this._flags.last_token.type,[t.START_BLOCK,t.COMMA,t.END_BLOCK,t.SEMICOLON])),F=i(R.text,["-","+"])&&(i(this._flags.last_token.type,[t.START_BLOCK,t.START_EXPR,t.EQUALS,t.OPERATOR])||i(this._flags.last_token.text,s)||this._flags.last_token.text===",");if(!this.start_of_statement(R)){var H=!M;this.handle_whitespace_and_comments(R,H)}if(R.text==="*"&&this._flags.last_token.type===t.DOT){this.print_token(R);return}if(R.text==="::"){this.print_token(R);return}if(this._flags.last_token.type===t.OPERATOR&&i(this._options.operator_position,r)&&this.allow_wrap_or_preserved_newline(R),R.text===":"&&this._flags.in_case){this.print_token(R),this._flags.in_case=!1,this._flags.case_body=!0,this._tokens.peek().type!==t.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 X=!0,te=!0,oe=!1;if(R.text===":"?this._flags.ternary_depth===0?X=!1:(this._flags.ternary_depth-=1,oe=!0):R.text==="?"&&(this._flags.ternary_depth+=1),!F&&!M&&this._options.preserve_newlines&&i(R.text,e)){var q=R.text===":",se=q&&oe,ae=q&&!oe;switch(this._options.operator_position){case u.before_newline:this._output.space_before_token=!ae,this.print_token(R),(!q||se)&&this.allow_wrap_or_preserved_newline(R),this._output.space_before_token=!0;return;case u.after_newline:this._output.space_before_token=!0,!q||se?this._tokens.peek().newlines?this.print_newline(!1,!0):this.allow_wrap_or_preserved_newline(R):this._output.space_before_token=!1,this.print_token(R),this._output.space_before_token=!0;return;case u.preserve_newline:ae||this.allow_wrap_or_preserved_newline(R),X=!(this._output.just_added_newline()||ae),this._output.space_before_token=X,this.print_token(R),this._output.space_before_token=!0;return}}if(M){this.allow_wrap_or_preserved_newline(R),X=!1;var ne=this._tokens.peek();te=ne&&i(ne.type,[t.WORD,t.RESERVED])}else if(R.text==="...")this.allow_wrap_or_preserved_newline(R),X=this._flags.last_token.type===t.START_BLOCK,te=!1;else if(i(R.text,["--","++","!","~"])||F){if((this._flags.last_token.type===t.COMMA||this._flags.last_token.type===t.START_EXPR)&&this.allow_wrap_or_preserved_newline(R),X=!1,te=!1,R.newlines&&(R.text==="--"||R.text==="++"||R.text==="~")){var ee=v(this._flags.last_token,g)&&R.newlines;ee&&(this._previous_flags.if_block||this._previous_flags.else_block)&&this.restore_mode(),this.print_newline(ee,!0)}this._flags.last_token.text===";"&&x(this._flags.mode)&&(X=!0),this._flags.last_token.type===t.RESERVED?X=!0:this._flags.last_token.type===t.END_EXPR?X=!(this._flags.last_token.text==="]"&&(R.text==="--"||R.text==="++")):this._flags.last_token.type===t.OPERATOR&&(X=i(R.text,["--","-","++","+"])&&i(this._flags.last_token.text,["--","-","++","+"]),i(R.text,["+","-"])&&i(this._flags.last_token.text,["--","++"])&&(te=!0)),(this._flags.mode===o.BlockStatement&&!this._flags.inline_frame||this._flags.mode===o.Statement)&&(this._flags.last_token.text==="{"||this._flags.last_token.text===";")&&this.print_newline()}this._output.space_before_token=this._output.space_before_token||X,this.print_token(R),this._output.space_before_token=te},L.prototype.handle_block_comment=function(R,M){if(this._output.raw){this._output.add_raw_token(R),R.directives&&R.directives.preserve==="end"&&(this._output.raw=this._options.test_output_raw);return}if(R.directives){this.print_newline(!1,M),this.print_token(R),R.directives.preserve==="start"&&(this._output.raw=!0),this.print_newline(!1,!0);return}if(!l.newline.test(R.text)&&!R.newlines){this._output.space_before_token=!0,this.print_token(R),this._output.space_before_token=!0;return}else this.print_block_commment(R,M)},L.prototype.print_block_commment=function(R,M){var F=f(R.text),H,X=!1,te=!1,oe=R.whitespace_before,q=oe.length;if(this.print_newline(!1,M),this.print_token_line_indentation(R),this._output.add_token(F[0]),this.print_newline(!1,M),F.length>1){for(F=F.slice(1),X=A(F,"*"),te=C(F,oe),X&&(this._flags.alignment=1),H=0;H=0;l--)if(this.__items[l].match(d))return!0;return!1},T.prototype.set_indent=function(d,l){this.is_empty()&&(this.__indent_count=d||0,this.__alignment_count=l||0,this.__character_count=this.__parent.get_indent_size(this.__indent_count,this.__alignment_count))},T.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)},T.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},T.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},T.prototype.is_empty=function(){return this.__items.length===0},T.prototype.last=function(){return this.is_empty()?null:this.__items[this.__items.length-1]},T.prototype.push=function(d){this.__items.push(d);var l=d.lastIndexOf(`
`);l!==-1?this.__character_count=d.length-l:this.__character_count+=d.length},T.prototype.pop=function(){var d=null;return this.is_empty()||(d=this.__items.pop(),this.__character_count-=d.length),d},T.prototype._remove_indent=function(){this.__indent_count>0&&(this.__indent_count-=1,this.__character_count-=this.__parent.indent_size)},T.prototype._remove_wrap_indent=function(){this.__wrap_point_indent_count>0&&(this.__wrap_point_indent_count-=1)},T.prototype.trim=function(){for(;this.last()===" ";)this.__items.pop(),this.__character_count-=1},T.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 y(d,l){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)),l=l||"",d.indent_level>0&&(l=new Array(d.indent_level+1).join(this.__indent_string)),this.__base_string=l,this.__base_string_length=l.length}y.prototype.get_indent_size=function(d,l){var n=this.__base_string_length;return l=l||0,d<0&&(n=0),n+=d*this.__indent_size,n+=l,n},y.prototype.get_indent_string=function(d,l){var n=this.__base_string;return l=l||0,d<0&&(d=0,n=""),l+=d*this.__indent_size,this.__ensure_cache(l),n+=this.__cache[l],n},y.prototype.__ensure_cache=function(d){for(;d>=this.__cache.length;)this.__add_column()},y.prototype.__add_column=function(){var d=this.__cache.length,l=0,n="";this.__indent_size&&d>=this.__indent_size&&(l=Math.floor(d/this.__indent_size),d-=l*this.__indent_size,n=new Array(l+1).join(this.__indent_string)),d&&(n+=new Array(d+1).join(" ")),this.__cache.push(n)};function _(d,l){this.__indent_cache=new y(d,l),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 T(this),this.space_before_token=!1,this.non_breaking_space=!1,this.previous_token_wrapped=!1,this.__add_outputline()}_.prototype.__add_outputline=function(){this.previous_line=this.current_line,this.current_line=this.next_line.clone_empty(),this.__lines.push(this.current_line)},_.prototype.get_line_number=function(){return this.__lines.length},_.prototype.get_indent_string=function(d,l){return this.__indent_cache.get_indent_string(d,l)},_.prototype.get_indent_size=function(d,l){return this.__indent_cache.get_indent_size(d,l)},_.prototype.is_empty=function(){return!this.previous_line&&this.current_line.is_empty()},_.prototype.add_new_line=function(d){return this.is_empty()||!d&&this.just_added_newline()?!1:(this.raw||this.__add_outputline(),!0)},_.prototype.get_code=function(d){this.trim(!0);var l=this.current_line.pop();l&&(l[l.length-1]===`
`&&(l=l.replace(/\n+$/g,"")),this.current_line.push(l)),this._end_with_newline&&this.__add_outputline();var n=this.__lines.join(`
`);return d!==`
`&&(n=n.replace(/[\n]/g,d)),n},_.prototype.set_wrap_point=function(){this.current_line._set_wrap_point()},_.prototype.set_indent=function(d,l){return d=d||0,l=l||0,this.next_line.set_indent(d,l),this.__lines.length>1?(this.current_line.set_indent(d,l),!0):(this.current_line.set_indent(),!1)},_.prototype.add_raw_token=function(d){for(var l=0;l1&&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},_.prototype.just_added_newline=function(){return this.current_line.is_empty()},_.prototype.just_added_blankline=function(){return this.is_empty()||this.current_line.is_empty()&&this.previous_line.is_empty()},_.prototype.ensure_empty_line_above=function(d,l){for(var n=this.__lines.length-2;n>=0;){var a=this.__lines[n];if(a.is_empty())break;if(a.item(0).indexOf(d)!==0&&a.item(-1)!==l){this.__lines.splice(n+1,0,new T(this)),this.previous_line=this.__lines[this.__lines.length-2];break}n--}},S.exports.Output=_},function(S){function T(y,_,d,l){this.type=y,this.text=_,this.comments_before=null,this.newlines=d||0,this.whitespace_before=l||"",this.parent=null,this.next=null,this.previous=null,this.opened=null,this.closed=null,this.directives=null}S.exports.Token=T},function(S,T){var y="\\x23\\x24\\x40\\x41-\\x5a\\x5f\\x61-\\x7a",_="\\x24\\x30-\\x39\\x41-\\x5a\\x5f\\x61-\\x7a",d="\\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",l="\\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",n="(?:\\\\u[0-9a-fA-F]{4}|["+y+d+"])",a="(?:\\\\u[0-9a-fA-F]{4}|["+_+d+l+"])*";T.identifier=new RegExp(n+a,"g"),T.identifierStart=new RegExp(n),T.identifierMatch=new RegExp("(?:\\\\u[0-9a-fA-F]{4}|["+_+d+l+"])+");var s=/[\u1680\u180e\u2000-\u200a\u202f\u205f\u3000\ufeff]/;T.newline=/[\n\r\u2028\u2029]/,T.lineBreak=new RegExp(`\r
|`+T.newline.source),T.allLineBreaks=new RegExp(T.lineBreak.source,"g")},function(S,T,y){var _=y(6).Options,d=["before-newline","after-newline","preserve-newline"];function l(n){_.call(this,n,"js");var a=this.raw_options.brace_style||null;a==="expand-strict"?this.raw_options.brace_style="expand":a==="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 s=this._get_selection_list("brace_style",["collapse","expand","end-expand","none","preserve-inline"]);this.brace_preserve_inline=!1,this.brace_style="collapse";for(var e=0;e>> === !== &&= ??= ||= << && >= ** != == <= >> || ?? |> < / - + > : & % ? ^ | *".split(" "),c=">>>= ... >>= <<= === >>> !== **= &&= ??= ||= => ^= :: /= << <= == && -= >= >> != -- += ** || ?? ++ %= &= *= |= |> = ! ? > < : / ^ - + * & % ~ |";c=c.replace(/[-[\]{}()*+?.,\\^$|#]/g,"\\$&"),c="\\?\\.(?!\\d) "+c,c=c.replace(/ /g,"|");var u=new RegExp(c),r="continue,try,throw,return,var,let,const,if,switch,case,default,for,while,break,function,import,export".split(","),o=r.concat(["do","in","of","else","get","set","new","catch","finally","typeof","yield","async","await","from","as","class","extends"]),p=new RegExp("^(?:"+o.join("|")+")$"),f,h=function(A,C){d.call(this,A,C),this._patterns.whitespace=this._patterns.whitespace.matching(/\u00A0\u1680\u180e\u2000-\u200a\u202f\u205f\u3000\ufeff/.source,/\u2028\u2029/.source);var L=new s(this._input),P=new e(this._input).read_options(this._options);this.__patterns={template:P,identifier:P.starting_with(a.identifier).matching(a.identifierMatch),number:L.matching(E),punct:L.matching(u),comment:L.starting_with(/\/\//).until(/[\n\r\u2028\u2029]/),block_comment:L.starting_with(/\/\*/).until_after(/\*\//),html_comment_start:L.matching(//),include:L.starting_with(/#include/).until_after(a.lineBreak),shebang:L.starting_with(/#!/).until_after(a.lineBreak),xml:L.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:P.until(/['\\\n\r\u2028\u2029]/),double_quote:P.until(/["\\\n\r\u2028\u2029]/),template_text:P.until(/[`\\$]/),template_expression:P.until(/[`}\\]/)}};h.prototype=new d,h.prototype._is_comment=function(A){return A.type===i.COMMENT||A.type===i.BLOCK_COMMENT||A.type===i.UNKNOWN},h.prototype._is_opening=function(A){return A.type===i.START_BLOCK||A.type===i.START_EXPR},h.prototype._is_closing=function(A,C){return(A.type===i.END_BLOCK||A.type===i.END_EXPR)&&C&&(A.text==="]"&&C.text==="["||A.text===")"&&C.text==="("||A.text==="}"&&C.text==="{")},h.prototype._reset=function(){f=!1},h.prototype._get_next_token=function(A,C){var L=null;this._readWhitespace();var P=this._input.peek();return P===null?this._create_token(i.EOF,""):(L=L||this._read_non_javascript(P),L=L||this._read_string(P),L=L||this._read_word(A),L=L||this._read_singles(P),L=L||this._read_comment(P),L=L||this._read_regexp(P,A),L=L||this._read_xml(P,A),L=L||this._read_punctuation(),L=L||this._create_token(i.UNKNOWN,this._input.next()),L)},h.prototype._read_word=function(A){var C;if(C=this.__patterns.identifier.read(),C!=="")return C=C.replace(a.allLineBreaks,`
`),!(A.type===i.DOT||A.type===i.RESERVED&&(A.text==="set"||A.text==="get"))&&p.test(C)?(C==="in"||C==="of")&&(A.type===i.WORD||A.type===i.STRING)?this._create_token(i.OPERATOR,C):this._create_token(i.RESERVED,C):this._create_token(i.WORD,C);if(C=this.__patterns.number.read(),C!=="")return this._create_token(i.WORD,C)},h.prototype._read_singles=function(A){var C=null;return A==="("||A==="["?C=this._create_token(i.START_EXPR,A):A===")"||A==="]"?C=this._create_token(i.END_EXPR,A):A==="{"?C=this._create_token(i.START_BLOCK,A):A==="}"?C=this._create_token(i.END_BLOCK,A):A===";"?C=this._create_token(i.SEMICOLON,A):A==="."&&v.test(this._input.peek(1))?C=this._create_token(i.DOT,A):A===","&&(C=this._create_token(i.COMMA,A)),C&&this._input.next(),C},h.prototype._read_punctuation=function(){var A=this.__patterns.punct.read();if(A!=="")return A==="="?this._create_token(i.EQUALS,A):A==="?."?this._create_token(i.DOT,A):this._create_token(i.OPERATOR,A)},h.prototype._read_non_javascript=function(A){var C="";if(A==="#"){if(this._is_first_token()&&(C=this.__patterns.shebang.read(),C))return this._create_token(i.UNKNOWN,C.trim()+`
`);if(C=this.__patterns.include.read(),C)return this._create_token(i.UNKNOWN,C.trim()+`
`);A=this._input.next();var L="#";if(this._input.hasNext()&&this._input.testChar(m)){do A=this._input.next(),L+=A;while(this._input.hasNext()&&A!=="#"&&A!=="=");return A==="#"||(this._input.peek()==="["&&this._input.peek(1)==="]"?(L+="[]",this._input.next(),this._input.next()):this._input.peek()==="{"&&this._input.peek(1)==="}"&&(L+="{}",this._input.next(),this._input.next())),this._create_token(i.WORD,L)}this._input.back()}else if(A==="<"&&this._is_first_token()){if(C=this.__patterns.html_comment_start.read(),C){for(;this._input.hasNext()&&!this._input.testChar(a.newline);)C+=this._input.next();return f=!0,this._create_token(i.COMMENT,C)}}else if(f&&A==="-"&&(C=this.__patterns.html_comment_end.read(),C))return f=!1,this._create_token(i.COMMENT,C);return null},h.prototype._read_comment=function(A){var C=null;if(A==="/"){var L="";if(this._input.peek(1)==="*"){L=this.__patterns.block_comment.read();var P=b.get_directives(L);P&&P.ignore==="start"&&(L+=b.readIgnored(this._input)),L=L.replace(a.allLineBreaks,`
`),C=this._create_token(i.BLOCK_COMMENT,L),C.directives=P}else this._input.peek(1)==="/"&&(L=this.__patterns.comment.read(),C=this._create_token(i.COMMENT,L))}return C},h.prototype._read_string=function(A){if(A==="`"||A==="'"||A==='"'){var C=this._input.next();return this.has_char_escapes=!1,A==="`"?C+=this._read_string_recursive("`",!0,"${"):C+=this._read_string_recursive(A),this.has_char_escapes&&this._options.unescape_strings&&(C=x(C)),this._input.peek()===A&&(C+=this._input.next()),C=C.replace(a.allLineBreaks,`
`),this._create_token(i.STRING,C)}return null},h.prototype._allow_regexp_or_xml=function(A){return A.type===i.RESERVED&&t(A.text,["return","case","throw","else","do","typeof","yield"])||A.type===i.END_EXPR&&A.text===")"&&A.opened.previous.type===i.RESERVED&&t(A.opened.previous.text,["if","while","for"])||t(A.type,[i.COMMENT,i.START_EXPR,i.START_BLOCK,i.START,i.END_BLOCK,i.OPERATOR,i.EQUALS,i.EOF,i.SEMICOLON,i.COMMA])},h.prototype._read_regexp=function(A,C){if(A==="/"&&this._allow_regexp_or_xml(C)){for(var L=this._input.next(),P=!1,R=!1;this._input.hasNext()&&(P||R||this._input.peek()!==A)&&!this._input.testChar(a.newline);)L+=this._input.peek(),P?P=!1:(P=this._input.peek()==="\\",this._input.peek()==="["?R=!0:this._input.peek()==="]"&&(R=!1)),this._input.next();return this._input.peek()===A&&(L+=this._input.next(),L+=this._input.read(a.identifier)),this._create_token(i.STRING,L)}return null},h.prototype._read_xml=function(A,C){if(this._options.e4x&&A==="<"&&this._allow_regexp_or_xml(C)){var L="",P=this.__patterns.xml.read_match();if(P){for(var R=P[2].replace(/^{\s+/,"{").replace(/\s+}$/,"}"),M=R.indexOf("{")===0,F=0;P;){var H=!!P[1],X=P[2],te=!!P[P.length-1]||X.slice(0,8)==="![CDATA[";if(!te&&(X===R||M&&X.replace(/^{\s+/,"{").replace(/\s+}$/,"}"))&&(H?--F:++F),L+=P[0],F<=0)break;P=this.__patterns.xml.read_match()}return P||(L+=this._input.match(/[\s\S]*/g)[0]),L=L.replace(a.allLineBreaks,`
`),this._create_token(i.STRING,L)}}return null};function x(A){for(var C="",L=0,P=new _(A),R=null;P.hasNext();)if(R=P.match(/([\s]|[^\\]|\\\\)+/g),R&&(C+=R[0]),P.peek()==="\\"){if(P.next(),P.peek()==="x")R=P.match(/x([0-9A-Fa-f]{2})/g);else if(P.peek()==="u")R=P.match(/u([0-9A-Fa-f]{4})/g);else{C+="\\",P.hasNext()&&(C+=P.next());continue}if(!R)return A;if(L=parseInt(R[1],16),L>126&&L<=255&&R[0].indexOf("x")===0)return A;if(L>=0&&L<32){C+="\\"+R[0];continue}else L===34||L===39||L===92?C+="\\"+String.fromCharCode(L):C+=String.fromCharCode(L)}return C}h.prototype._read_string_recursive=function(A,C,L){var P,R;A==="'"?R=this.__patterns.single_quote:A==='"'?R=this.__patterns.double_quote:A==="`"?R=this.__patterns.template_text:A==="}"&&(R=this.__patterns.template_expression);for(var M=R.read(),F="";this._input.hasNext();){if(F=this._input.next(),F===A||!C&&a.newline.test(F)){this._input.back();break}else F==="\\"&&this._input.hasNext()?(P=this._input.peek(),P==="x"||P==="u"?this.has_char_escapes=!0:P==="\r"&&this._input.peek(1)===`
`&&this._input.next(),F+=this._input.next()):L&&(L==="${"&&F==="$"&&this._input.peek()==="{"&&(F+=this._input.next()),L===F&&(A==="`"?F+=this._read_string_recursive("}",C,"`"):F+=this._read_string_recursive("`",C,"${"),this._input.hasNext()&&(F+=this._input.next())));F+=R.read(),M+=F}return M},S.exports.Tokenizer=h,S.exports.TOKEN=i,S.exports.positionable_operators=g.slice(),S.exports.line_starters=r.slice()},function(S){var T=RegExp.prototype.hasOwnProperty("sticky");function y(_){this.__input=_||"",this.__input_length=this.__input.length,this.__position=0}y.prototype.restart=function(){this.__position=0},y.prototype.back=function(){this.__position>0&&(this.__position-=1)},y.prototype.hasNext=function(){return this.__position=0&&_=0&&d=_.length&&this.__input.substring(d-_.length,d).toLowerCase()===_},S.exports.InputScanner=y},function(S,T,y){var _=y(8).InputScanner,d=y(3).Token,l=y(10).TokenStream,n=y(11).WhitespacePattern,a={START:"TK_START",RAW:"TK_RAW",EOF:"TK_EOF"},s=function(e,t){this._input=new _(e),this._options=t||{},this.__tokens=null,this._patterns={},this._patterns.whitespace=new n(this._input)};s.prototype.tokenize=function(){this._input.restart(),this.__tokens=new l,this._reset();for(var e,t=new d(a.START,""),i=null,b=[],E=new l;t.type!==a.EOF;){for(e=this._get_next_token(t,i);this._is_comment(e);)E.add(e),e=this._get_next_token(t,i);E.isEmpty()||(e.comments_before=E,E=new l),e.parent=i,this._is_opening(e)?(b.push(i),i=e):i&&this._is_closing(e,i)&&(e.opened=i,i.closed=e,i=b.pop(),e.parent=i),e.previous=t,t.next=e,this.__tokens.add(e),t=e}return this.__tokens},s.prototype._is_first_token=function(){return this.__tokens.isEmpty()},s.prototype._reset=function(){},s.prototype._get_next_token=function(e,t){this._readWhitespace();var i=this._input.read(/.+/g);return i?this._create_token(a.RAW,i):this._create_token(a.EOF,"")},s.prototype._is_comment=function(e){return!1},s.prototype._is_opening=function(e){return!1},s.prototype._is_closing=function(e,t){return!1},s.prototype._create_token=function(e,t){var i=new d(e,t,this._patterns.whitespace.newline_count,this._patterns.whitespace.whitespace_before_token);return i},s.prototype._readWhitespace=function(){return this._patterns.whitespace.read()},S.exports.Tokenizer=s,S.exports.TOKEN=a},function(S){function T(y){this.__tokens=[],this.__tokens_length=this.__tokens.length,this.__position=0,this.__parent_token=y}T.prototype.restart=function(){this.__position=0},T.prototype.isEmpty=function(){return this.__tokens_length===0},T.prototype.hasNext=function(){return this.__position=0&&y/),erb:s.starting_with(/<%[^%]/).until_after(/[^%]%>/),django:s.starting_with(/{%/).until_after(/%}/),django_value:s.starting_with(/{{/).until_after(/}}/),django_comment:s.starting_with(/{#/).until_after(/#}/),smarty:s.starting_with(/{(?=[^}{\s\n])/).until_after(/[^\s\n]}/),smarty_comment:s.starting_with(/{\*/).until_after(/\*}/),smarty_literal:s.starting_with(/{literal}/).until_after(/{\/literal}/)}}l.prototype=new _,l.prototype._create=function(){return new l(this._input,this)},l.prototype._update=function(){this.__set_templated_pattern()},l.prototype.disable=function(n){var a=this._create();return a._disabled[n]=!0,a._update(),a},l.prototype.read_options=function(n){var a=this._create();for(var s in d)a._disabled[s]=n.templating.indexOf(s)===-1;return a._update(),a},l.prototype.exclude=function(n){var a=this._create();return a._excluded[n]=!0,a._update(),a},l.prototype.read=function(){var n="";this._match_pattern?n=this._input.read(this._starting_pattern):n=this._input.read(this._starting_pattern,this.__template_pattern);for(var a=this._read_template();a;)this._match_pattern?a+=this._input.read(this._match_pattern):a+=this._input.readUntil(this.__template_pattern),n+=a,a=this._read_template();return this._until_after&&(n+=this._input.readUntilAfter(this._until_pattern)),n},l.prototype.__set_templated_pattern=function(){var n=[];this._disabled.php||n.push(this.__patterns.php._starting_pattern.source),this._disabled.handlebars||n.push(this.__patterns.handlebars._starting_pattern.source),this._disabled.erb||n.push(this.__patterns.erb._starting_pattern.source),this._disabled.django||(n.push(this.__patterns.django._starting_pattern.source),n.push(this.__patterns.django_value._starting_pattern.source),n.push(this.__patterns.django_comment._starting_pattern.source)),this._disabled.smarty||n.push(this.__patterns.smarty._starting_pattern.source),this._until_pattern&&n.push(this._until_pattern.source),this.__template_pattern=this._input.get_regexp("(?:"+n.join("|")+")")},l.prototype._read_template=function(){var n="",a=this._input.peek();if(a==="<"){var s=this._input.peek(1);!this._disabled.php&&!this._excluded.php&&s==="?"&&(n=n||this.__patterns.php.read()),!this._disabled.erb&&!this._excluded.erb&&s==="%"&&(n=n||this.__patterns.erb.read())}else a==="{"&&(!this._disabled.handlebars&&!this._excluded.handlebars&&(n=n||this.__patterns.handlebars_comment.read(),n=n||this.__patterns.handlebars_unescaped.read(),n=n||this.__patterns.handlebars.read()),this._disabled.django||(!this._excluded.django&&!this._excluded.handlebars&&(n=n||this.__patterns.django_value.read()),this._excluded.django||(n=n||this.__patterns.django_comment.read(),n=n||this.__patterns.django.read())),this._disabled.smarty||this._disabled.django&&this._disabled.handlebars&&(n=n||this.__patterns.smarty_comment.read(),n=n||this.__patterns.smarty_literal.read(),n=n||this.__patterns.smarty.read()));return n},S.exports.TemplatablePattern=l}],O={};function N(S){var T=O[S];if(T!==void 0)return T.exports;var y=O[S]={exports:{}};return I[S](y,y.exports,N),y.exports}var D=N(0);w=D})();var k=w;!($=[],U=function(){return{js_beautify:k}}.apply(he,$),U!==void 0&&(Me.exports=U))})()},"6eGT":function(Me,he,j){"use strict";function $(U){return null}he.a=$},"815F":function(Me,he,j){"use strict";j.d(he,"e",function(){return N}),j.d(he,"c",function(){return S}),j.d(he,"d",function(){return T}),j.d(he,"a",function(){return _}),j.d(he,"f",function(){return d}),j.d(he,"b",function(){return l});var $=j("KQm4"),U=j("VTBJ"),w=j("Ff2n"),k=j("Zm9Q"),I=j("Kwbf"),O=j("OZM5");function N(n,a){return n!=null?n:a}function D(){var n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],a=new Map;function s(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";(e||[]).forEach(function(i){var b=i.key,E=i.children;Object(I.a)(b!=null,"Tree node must have a certain key: [".concat(t).concat(b,"]"));var m=String(b);Object(I.a)(!a.has(m)||b===null||b===void 0,"Same 'key' exist in the Tree: ".concat(m)),a.set(m,!0),s(E,"".concat(t).concat(m," > "))})}s(n)}function S(n){function a(s){var e=Object(k.a)(s);return e.map(function(t){if(!Object(O.i)(t))return Object(I.a)(!t,"Tree/TreeNode can only accept TreeNode as children."),null;var i=t.key,b=t.props,E=b.children,m=Object(w.a)(b,["children"]),v=Object(U.a)({key:i},m),g=a(E);return g.length&&(v.children=g),v}).filter(function(t){return t})}return a(n)}function T(){var n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],s=new Set(a===!0?[]:a),e=[];function t(i){var b=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;return i.map(function(E,m){var v=Object(O.h)(b?b.pos:"0",m),g=N(E.key,v),c=Object(U.a)(Object(U.a)({},E),{},{parent:b,pos:v,children:null,data:E,isStart:[].concat(Object($.a)(b?b.isStart:[]),[m===0]),isEnd:[].concat(Object($.a)(b?b.isEnd:[]),[m===i.length-1])});return e.push(c),a===!0||s.has(g)?c.children=t(E.children||[],c):c.children=[],c})}return t(n),e}function y(n,a,s){var e;s?typeof s=="string"?e=function(b){return b[s]}:typeof s=="function"&&(e=function(b){return s(b)}):e=function(b,E){return N(b.key,E)};function t(i,b,E){var m=i?i.children:n,v=i?Object(O.h)(E.pos,b):"0";if(i){var g=e(i,v),c={node:i,index:b,pos:v,key:g,parentPos:E.node?E.pos:null,level:E.level+1};a(c)}m&&m.forEach(function(u,r){t(u,r,{node:i,pos:v,level:E?E.level+1:-1})})}t(null)}function _(n){var a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},s=a.initWrapper,e=a.processEntity,t=a.onProcessFinished,i=arguments.length>2?arguments[2]:void 0,b={},E={},m={posEntities:b,keyEntities:E};return s&&(m=s(m)||m),y(n,function(v){var g=v.node,c=v.index,u=v.pos,r=v.key,o=v.parentPos,p=v.level,f={node:g,index:c,key:r,pos:u,level:p},h=N(r,u);b[u]=f,E[h]=f,f.parent=b[o],f.parent&&(f.parent.children=f.parent.children||[],f.parent.children.push(f)),e&&e(f,m)},i),t&&t(m),m}function d(n,a){var s=a.expandedKeys,e=a.selectedKeys,t=a.loadedKeys,i=a.loadingKeys,b=a.checkedKeys,E=a.halfCheckedKeys,m=a.dragOverNodeKey,v=a.dropPosition,g=a.keyEntities,c=g[n],u={eventKey:n,expanded:s.indexOf(n)!==-1,selected:e.indexOf(n)!==-1,loaded:t.indexOf(n)!==-1,loading:i.indexOf(n)!==-1,checked:b.indexOf(n)!==-1,halfChecked:E.indexOf(n)!==-1,pos:String(c?c.pos:""),dragOver:m===n&&v===0,dragOverGapTop:m===n&&v===-1,dragOverGapBottom:m===n&&v===1};return u}function l(n){var a=n.data,s=n.expanded,e=n.selected,t=n.checked,i=n.loaded,b=n.loading,E=n.halfChecked,m=n.dragOver,v=n.dragOverGapTop,g=n.dragOverGapBottom,c=n.pos,u=n.active,r=Object(U.a)(Object(U.a)({},a),{},{expanded:s,selected:e,checked:t,loaded:i,loading:b,halfChecked:E,dragOver:m,dragOverGapTop:v,dragOverGapBottom:g,pos:c,active:u});return"props"in r||Object.defineProperty(r,"props",{get:function(){return Object(I.a)(!1,"Second param return from event is node data instead of TreeNode instance. Please read value directly instead of reading from `props`."),n}}),r}},"8hTe":function(Me,he,j){Me.exports={button:"button___1wy9m"}},"9Bee":function(Me,he,j){"use strict";var $=j("DYRE"),U=j("zeV3"),w=j("+L6B"),k=j("2/Rp"),I=j("k1fw"),O=j("tJVT"),N=j("cDcd"),D=j.n(N),S=j("vg9a"),T=j("DlQD"),y=j.n(T),_=j("rUJ1");function d(q,se){var ae=q.match(/^(\s+)(?:```)/);if(ae===null)return se;var ne=ae[1];return se.split(`
`).map(function(ee){var ge=ee.match(/^\s+/);if(ge===null)return ee;var Ce=Object(O.a)(ge,1),Oe=Ce[0];return Oe.length>=ne.length?ee.slice(ne.length):ee}).join(`
`)}var l=[],n=[""],a=new y.a.Renderer,s=/^ *(#{1,6}) *([^\n]+?) *(?:#+ *)?(?:\n+|$)/;function e(){l.length=0,n=[""]}var t={overflow:"hidden",WebkitBoxOrient:"vertical",display:"-webkit-box",WebkitLineClamp:2};function i(q,se,ae,ne){if(se>=q.length||q[se].level<=ae)return se;var ee=q[se];ne.push(""+ee.text+" "),se++;var ge=[];return se=i(q,se,ee.level,ge),ge.length>0&&(ne.push(""),ge.forEach(function(Ce){ne.push(Ce)}),ne.push(" ")),ne.push(" "),se=i(q,se,ae,ne),se}function b(){return i(l,0,0,n),n.push(" "),n.join("")}var E={heading:function(se){var ae=s.exec(se);if(ae)return{type:"heading",raw:ae[0],depth:ae[1].length,text:ae[2]}},fences:function(se){var ae=this.rules.block.fences.exec(se);if(ae){var ne=ae[0],ee=d(ne,ae[3]||""),ge=ae[2]?ae[2].trim():ae[2];if(["latex","katex","math"].indexOf(ge)>=0){var Ce=g(),Oe=ee;ee=Ce,c[Ce]={type:"block",expression:Oe}}return{type:"code",raw:ne,lang:ge,text:ee}}}},m=/(?:\${2})([^\n`]+?)(?:\${2})/gi,v=0,g=function(){return"__special_katext_id_".concat(v++,"__")},c={};function u(){return c}function r(){v=0,c={}}function o(q){return q=q.replace(m,function(se,ae){var ne=g();return c[ne]={type:"inline",expression:ae},ne}),q}var p=a.listitem;a.listitem=function(q){return p(o(q))};var f=a.paragraph;a.paragraph=function(q){return f(o(q))};var h=a.tablecell;a.tablecell=function(q,se){return h(o(q),se)},a.code=function(q,se,ae){var ne=(se||"").match(/\S*/)[0];return ne?["latex","katex","math"].indexOf(ne)>=0?"".concat(q,"
"):' ').concat(ae?q:Object(_.escape)(q,!0),`
`):''+(ae?q:Object(_.escape)(q,!0))+" "},a.heading=function(q,se,ae){var ne=this.options.headerPrefix+ae.toLowerCase().replace(/[^\w\\u4e00-\\u9fa5]]+/g,"-");return l.push({anchor:ne,level:se,text:q}),"'+q+" "},y.a.setOptions({silent:!0,gfm:!0,pedantic:!1}),y.a.use({tokenizer:E,renderer:a});var x=y.a,A=j("SJMd"),C=j("ulZh"),L=j.n(C),P=j("m3rI"),R=j("Oy/b"),M=j("p5ED"),F=j("8hTe"),H=j.n(F),X=/]*>/g;function te(q){var se=document.createElement("div");return se.innerHTML=q,se.childNodes.length===0?"":se.childNodes[0].nodeValue}var oe=he.a=function(q){var se=q.value,ae=se===void 0?"":se,ne=q.edit,ee=ne===void 0?!1:ne,ge=q.className,Ce=q.showTextOnly,Oe=q.showLines,we=q.replaces,fe=q.zoomImg,_e=q.hasMask,Ee=q.style,ye=Ee===void 0?{}:Ee,ce=q.stylesPrev,be=ce===void 0?{}:ce,ve=String(ae),pe=Object(N.useRef)(),Te=Object(N.useRef)(),Pe=Object(N.useState)(""),Se=Object(O.a)(Pe,2),Ie=Se[0],Le=Se[1],Ne=Object(N.useState)("office"),Q=Object(O.a)(Ne,2),re=Q[0],ue=Q[1],de=Object(N.useMemo)(function(){try{var G=/\(\s+\/api\/attachments\/|\(\/api\/attachments\/|\(\/attachments\/download\//g,B=/\"\/api\/attachments\/|\"\/attachments\/download\//g,W=/\(\s+\/files\/uploads\/|\"\/files\/uploads\//g;ve=ve.replace(G,"("+P.a.API_SERVER+"/api/attachments/").replace(B,'"'+P.a.API_SERVER+"/api/attachments/").replace(W,'"'+P.a.API_SERVER+"/files/uploads/").replaceAll("http://video.educoder","https://video.educoder").replaceAll("http://www.educoder.net/api","https://data.educoder.net/api").replaceAll("https://www.educoder.net/api","https://data.educoder.net/api").replace(/\r\n/g,`
`)}catch(ie){}var K=x(ve),V=u();if(ve.match(/\[TOC\]/)&&(K=K.replace("[TOC]
",b()),e()),K=K.replace(/(__special_katext_id_\d+__)/g,function(ie,me){var Re=V[me],De=Re.type,xe=Re.expression;return Object(R.renderToString)(te(xe)||"",{displayMode:De==="block",throwOnError:!1,output:"html"})}),K=K.replace(/▁/g,"\u2581\u2581\u2581"),r(),Ce){var J=document.createElement("div");return J.innerHTML=K,J.innerText}return setTimeout(function(){return Y()},500),K},[ve]),Z=Object(N.useRef)();t.WebkitLineClamp=Oe,Oe&&(ye=Object(I.a)(Object(I.a)({},ye),t));function le(G){var B=G.target;if(B.tagName.toUpperCase()==="IMG"){if(fe){var W=B.getAttribute("src");Le(W),ue("image")}}else if(B.tagName.toUpperCase()==="A"){var K=B.getAttribute("href");if(K.indexOf("office")>-1)G.preventDefault(),Le(K),ue("office");else if(K.indexOf("application/pdf")>-1)G.preventDefault(),Le(K),ue("pdf");else if(K.indexOf("text/html")>-1)G.preventDefault(),Le(K),ue("html");else if(K.startsWith("#")){G.preventDefault();var V=document.getElementById(K.replace("#",""));V&&V.scrollIntoView(!0)}}}var Y=function(){var B,W=(B=Z.current)===null||B===void 0?void 0:B.querySelectorAll("video");W==null||W.forEach(function(K){if(K.oncontextmenu=function(){return!1},K.src.indexOf(".m3u8")>-1&&!K.canPlayType("application/vnd.apple.mpegurl")){if(L.a.isSupported()){var V=new L.a;V.loadSource(K.src),V.attachMedia(K)}}})};Object(N.useEffect)(function(){if(Z.current&&de&&(de.match(X)&&window.PR.prettyPrint()),Z.current)return Z.current.addEventListener("click",le),function(){Z.current.removeEventListener("click",le),r(),e()}},[de,Z.current,le]);var z=function(B){if(!ee)return;B.target.nodeName==="IMG"?(pe.current.style.display="flex",pe.current.style.width=B.target.clientWidth+"px",pe.current.style.height=B.target.clientHeight+"px",pe.current.style.top=B.target.offsetTop+"px",pe.current.style.left=B.target.offsetLeft+"px",Te.current.src=B.target.getAttribute("src")):pe.current.style.display="none"};return D.a.createElement("div",{style:{position:"relative"}},D.a.createElement("div",{ref:Z,style:Object(I.a)({},ye),className:"".concat(ge||""," markdown-body ").concat(H.a.mdBody),onMouseOver:z,dangerouslySetInnerHTML:{__html:de}}),D.a.createElement("div",{ref:pe,className:H.a.button},D.a.createElement(U.a,null,D.a.createElement(k.a,{onClick:function(){return openCrop()}},"\u88C1\u526A"),D.a.createElement(k.a,{onClick:function(){return openEditor()}},"\u7F16\u8F91"))),D.a.createElement("img",{ref:Te,src:"",alt:"sample",crossOrigin:"anonymous",style:{maxWidth:"90%",opacity:0,position:"absolute",zIndex:-1,top:"-10000px"}}),D.a.createElement(M.a,{close:!0,data:Ie,type:Ie!=null&&Ie.length?re:"",style:Object(I.a)({},be),onClose:function(){return Le("")}}))}},BU3w:function(Me,he,j){"use strict";j.d(he,"a",function(){return O});var $=j("MNnm"),U="rc-util-key";function w(N){if(N.attachTo)return N.attachTo;var D=document.querySelector("head");return D||document.body}function k(N){var D,S=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(!Object($.a)())return null;var T=document.createElement("style");if((D=S.csp)===null||D===void 0?void 0:D.nonce){var y;T.nonce=(y=S.csp)===null||y===void 0?void 0:y.nonce}T.innerHTML=N;var _=w(S),d=_.firstChild;return S.prepend&&_.prepend?_.prepend(T):S.prepend&&d?_.insertBefore(T,d):_.appendChild(T),T}var I=new Map;function O(N,D){var S=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},T=w(S);if(!I.has(T)){var y=k("",S),_=y.parentNode;I.set(T,_),_.removeChild(y)}var d=Array.from(I.get(T).children).find(function(e){return e.tagName==="STYLE"&&e[U]===D});if(d){var l,n;if(((l=S.csp)===null||l===void 0?void 0:l.nonce)&&d.nonce!==((n=S.csp)===null||n===void 0?void 0:n.nonce)){var a;d.nonce=(a=S.csp)===null||a===void 0?void 0:a.nonce}return d.innerHTML!==N&&(d.innerHTML=N),d}var s=k(N,S);return s[U]=D,s}},DlQD:function(Me,he,j){(function($,U){Me.exports=U()})(this,function(){"use strict";function $(Y,z){for(var G=0;GY.length)&&(z=Y.length);for(var G=0,B=new Array(z);G=Y.length?{done:!0}:{done:!1,value:Y[B++]}}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}return G=Y[Symbol.iterator](),G.next.bind(G)}function O(Y,z){return z={exports:{}},Y(z,z.exports),z.exports}var N=O(function(Y){function z(){return{baseUrl:null,breaks:!1,gfm:!0,headerIds:!0,headerPrefix:"",highlight:null,langPrefix:"language-",mangle:!0,pedantic:!1,renderer:null,sanitize:!1,sanitizer:null,silent:!1,smartLists:!1,smartypants:!1,tokenizer:null,walkTokens:null,xhtml:!1}}function G(B){Y.exports.defaults=B}Y.exports={defaults:z(),getDefaults:z,changeDefaults:G}}),D=N.defaults,S=N.getDefaults,T=N.changeDefaults,y=/[&<>"']/,_=/[&<>"']/g,d=/[<>"']|&(?!#?\w+;)/,l=/[<>"']|&(?!#?\w+;)/g,n={"&":"&","<":"<",">":">",'"':""","'":"'"},a=function(z){return n[z]};function s(Y,z){if(z){if(y.test(Y))return Y.replace(_,a)}else if(d.test(Y))return Y.replace(l,a);return Y}var e=/&(#(?:\d+)|(?:#x[0-9A-Fa-f]+)|(?:\w+));?/ig;function t(Y){return Y.replace(e,function(z,G){return G=G.toLowerCase(),G==="colon"?":":G.charAt(0)==="#"?G.charAt(1)==="x"?String.fromCharCode(parseInt(G.substring(2),16)):String.fromCharCode(+G.substring(1)):""})}var i=/(^|[^\[])\^/g;function b(Y,z){Y=Y.source||Y,z=z||"";var G={replace:function(W,K){return K=K.source||K,K=K.replace(i,"$1"),Y=Y.replace(W,K),G},getRegex:function(){return new RegExp(Y,z)}};return G}var E=/[^\w:]/g,m=/^$|^[a-z][a-z0-9+.-]*:|^[?#]/i;function v(Y,z,G){if(Y){var B;try{B=decodeURIComponent(t(G)).replace(E,"").toLowerCase()}catch(W){return null}if(B.indexOf("javascript:")===0||B.indexOf("vbscript:")===0||B.indexOf("data:")===0)return null}z&&!m.test(G)&&(G=o(z,G));try{G=encodeURI(G).replace(/%25/g,"%")}catch(W){return null}return G}var g={},c=/^[^:]+:\/*[^/]*$/,u=/^([^:]+:)[\s\S]*$/,r=/^([^:]+:\/*[^/]*)[\s\S]*$/;function o(Y,z){g[" "+Y]||(c.test(Y)?g[" "+Y]=Y+"/":g[" "+Y]=x(Y,"/",!0)),Y=g[" "+Y];var G=Y.indexOf(":")===-1;return z.substring(0,2)==="//"?G?z:Y.replace(u,"$1")+z:z.charAt(0)==="/"?G?z:Y.replace(r,"$1")+z:Y+z}var p={exec:function(){}};function f(Y){for(var z=1,G,B;z=0&&J[me]==="\\";)ie=!ie;return ie?"|":" |"}),B=G.split(/ \|/),W=0;if(B.length>z)B.splice(z);else for(;B.length=B.length?W.slice(B.length):W}).join(`
`)}var oe=function(){function Y(G){this.options=G||P}var z=Y.prototype;return z.space=function(B){var W=this.rules.block.newline.exec(B);if(W)return W[0].length>1?{type:"space",raw:W[0]}:{raw:`
`}},z.code=function(B,W){var K=this.rules.block.code.exec(B);if(K){var V=W[W.length-1];if(V&&V.type==="paragraph")return{raw:K[0],text:K[0].trimRight()};var J=K[0].replace(/^ {4}/gm,"");return{type:"code",raw:K[0],codeBlockStyle:"indented",text:this.options.pedantic?J:R(J,`
`)}}},z.fences=function(B){var W=this.rules.block.fences.exec(B);if(W){var K=W[0],V=te(K,W[3]||"");return{type:"code",raw:K,lang:W[2]?W[2].trim():W[2],text:V}}},z.heading=function(B){var W=this.rules.block.heading.exec(B);if(W)return{type:"heading",raw:W[0],depth:W[1].length,text:W[2]}},z.nptable=function(B){var W=this.rules.block.nptable.exec(B);if(W){var K={type:"table",header:M(W[1].replace(/^ *| *\| *$/g,"")),align:W[2].replace(/^ *|\| *$/g,"").split(/ *\| */),cells:W[3]?W[3].replace(/\n$/,"").split(`
`):[],raw:W[0]};if(K.header.length===K.align.length){var V=K.align.length,J;for(J=0;J ?/gm,"");return{type:"blockquote",raw:W[0],text:K}}},z.list=function(B){var W=this.rules.block.list.exec(B);if(W){for(var K=W[0],V=W[2],J=V.length>1,ie=V[V.length-1]===")",me={type:"list",raw:K,ordered:J,start:J?+V.slice(0,-1):"",loose:!1,items:[]},Re=W[0].match(this.rules.block.item),De=!1,xe,Ke,Fe,ke,ze,Ge,je,Je=Re.length,Be=0;Be1||this.options.smartLists&&Fe!==V)&&(ke=Re.slice(Be+1).join(`
`),me.raw=me.raw.substring(0,me.raw.length-ke.length),Be=Je-1)),ze=De||/\n\n(?!\s*$)/.test(xe),Be!==Je-1&&(De=xe.charAt(xe.length-1)===`
`,ze||(ze=De)),ze&&(me.loose=!0),Ge=/^\[[ xX]\] /.test(xe),je=void 0,Ge&&(je=xe[1]!==" ",xe=xe.replace(/^\[[ xX]\] +/,"")),me.items.push({type:"list_item",raw:K,task:Ge,checked:je,loose:ze,text:xe});return me}},z.html=function(B){var W=this.rules.block.html.exec(B);if(W)return{type:this.options.sanitize?"paragraph":"html",raw:W[0],pre:!this.options.sanitizer&&(W[1]==="pre"||W[1]==="script"||W[1]==="style"),text:this.options.sanitize?this.options.sanitizer?this.options.sanitizer(W[0]):F(W[0]):W[0]}},z.def=function(B){var W=this.rules.block.def.exec(B);if(W){W[3]&&(W[3]=W[3].substring(1,W[3].length-1));var K=W[1].toLowerCase().replace(/\s+/g," ");return{tag:K,raw:W[0],href:W[2],title:W[3]}}},z.table=function(B){var W=this.rules.block.table.exec(B);if(W){var K={type:"table",header:M(W[1].replace(/^ *| *\| *$/g,"")),align:W[2].replace(/^ *|\| *$/g,"").split(/ *\| */),cells:W[3]?W[3].replace(/\n$/,"").split(`
`):[]};if(K.header.length===K.align.length){K.raw=W[0];var V=K.align.length,J;for(J=0;J/i.test(V[0])&&(W=!1),!K&&/^<(pre|code|kbd|script)(\s|>)/i.test(V[0])?K=!0:K&&/^<\/(pre|code|kbd|script)(\s|>)/i.test(V[0])&&(K=!1),{type:this.options.sanitize?"text":"html",raw:V[0],inLink:W,inRawBlock:K,text:this.options.sanitize?this.options.sanitizer?this.options.sanitizer(V[0]):F(V[0]):V[0]}},z.link=function(B){var W=this.rules.inline.link.exec(B);if(W){var K=H(W[2],"()");if(K>-1){var V=W[0].indexOf("!")===0?5:4,J=V+W[1].length+K;W[2]=W[2].substring(0,K),W[0]=W[0].substring(0,J).trim(),W[3]=""}var ie=W[2],me="";if(this.options.pedantic){var Re=/^([^'"]*[^\s])\s+(['"])(.*)\2/.exec(ie);Re?(ie=Re[1],me=Re[3]):me=""}else me=W[3]?W[3].slice(1,-1):"";ie=ie.trim().replace(/^<([\s\S]*)>$/,"$1");var De=X(W,{href:ie&&ie.replace(this.rules.inline._escapes,"$1"),title:me&&me.replace(this.rules.inline._escapes,"$1")},W[0]);return De}},z.reflink=function(B,W){var K;if((K=this.rules.inline.reflink.exec(B))||(K=this.rules.inline.nolink.exec(B))){var V=(K[2]||K[1]).replace(/\s+/g," ");if(V=W[V.toLowerCase()],!V||!V.href){var J=K[0].charAt(0);return{type:"text",raw:J,text:J}}var ie=X(K,V,K[0]);return ie}},z.strong=function(B,W,K){K===void 0&&(K="");var V=this.rules.inline.strong.start.exec(B);if(V&&(!V[1]||V[1]&&(K===""||this.rules.inline.punctuation.exec(K)))){W=W.slice(-1*B.length);var J=V[0]==="**"?this.rules.inline.strong.endAst:this.rules.inline.strong.endUnd;J.lastIndex=0;for(var ie;(V=J.exec(W))!=null;)if(ie=this.rules.inline.strong.middle.exec(W.slice(0,V.index+3)),ie)return{type:"strong",raw:B.slice(0,ie[0].length),text:B.slice(2,ie[0].length-2)}}},z.em=function(B,W,K){K===void 0&&(K="");var V=this.rules.inline.em.start.exec(B);if(V&&(!V[1]||V[1]&&(K===""||this.rules.inline.punctuation.exec(K)))){W=W.slice(-1*B.length);var J=V[0]==="*"?this.rules.inline.em.endAst:this.rules.inline.em.endUnd;J.lastIndex=0;for(var ie;(V=J.exec(W))!=null;)if(ie=this.rules.inline.em.middle.exec(W.slice(0,V.index+2)),ie)return{type:"em",raw:B.slice(0,ie[0].length),text:B.slice(1,ie[0].length-1)}}},z.codespan=function(B){var W=this.rules.inline.code.exec(B);if(W){var K=W[2].replace(/\n/g," "),V=/[^ ]/.test(K),J=K.startsWith(" ")&&K.endsWith(" ");return V&&J&&(K=K.substring(1,K.length-1)),K=F(K,!0),{type:"codespan",raw:W[0],text:K}}},z.br=function(B){var W=this.rules.inline.br.exec(B);if(W)return{type:"br",raw:W[0]}},z.del=function(B){var W=this.rules.inline.del.exec(B);if(W)return{type:"del",raw:W[0],text:W[1]}},z.autolink=function(B,W){var K=this.rules.inline.autolink.exec(B);if(K){var V,J;return K[2]==="@"?(V=F(this.options.mangle?W(K[1]):K[1]),J="mailto:"+V):(V=F(K[1]),J=V),{type:"link",raw:K[0],text:V,href:J,tokens:[{type:"text",raw:V,text:V}]}}},z.url=function(B,W){var K;if(K=this.rules.inline.url.exec(B)){var V,J;if(K[2]==="@")V=F(this.options.mangle?W(K[0]):K[0]),J="mailto:"+V;else{var ie;do ie=K[0],K[0]=this.rules.inline._backpedal.exec(K[0])[0];while(ie!==K[0]);V=F(K[0]),K[1]==="www."?J="http://"+V:J=V}return{type:"link",raw:K[0],text:V,href:J,tokens:[{type:"text",raw:V,text:V}]}}},z.inlineText=function(B,W,K){var V=this.rules.inline.text.exec(B);if(V){var J;return W?J=this.options.sanitize?this.options.sanitizer?this.options.sanitizer(V[0]):F(V[0]):V[0]:J=F(this.options.smartypants?K(V[0]):V[0]),{type:"text",raw:V[0],text:J}}},Y}(),q=L.noopTest,se=L.edit,ae=L.merge,ne={newline:/^\n+/,code:/^( {4}[^\n]+\n*)+/,fences:/^ {0,3}(`{3,}(?=[^`\n]*\n)|~{3,})([^\n]*)\n(?:|([\s\S]*?)\n)(?: {0,3}\1[~`]* *(?:\n+|$)|$)/,hr:/^ {0,3}((?:- *){3,}|(?:_ *){3,}|(?:\* *){3,})(?:\n+|$)/,heading:/^ {0,3}(#{1,6}) +([^\n]*?)(?: +#+)? *(?:\n+|$)/,blockquote:/^( {0,3}> ?(paragraph|[^\n]*)(?:\n|$))+/,list:/^( {0,3})(bull) [\s\S]+?(?:hr|def|\n{2,}(?! )(?!\1bull )\n*|\s*$)/,html:"^ {0,3}(?:<(script|pre|style)[\\s>][\\s\\S]*?(?:\\1>[^\\n]*\\n+|$)|comment[^\\n]*(\\n+|$)|<\\?[\\s\\S]*?\\?>\\n*|\\n*|\\n*|?(tag)(?: +|\\n|/?>)[\\s\\S]*?(?:\\n{2,}|$)|<(?!script|pre|style)([a-z][\\w-]*)(?:attribute)*? */?>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:\\n{2,}|$)|(?!script|pre|style)[a-z][\\w-]*\\s*>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:\\n{2,}|$))",def:/^ {0,3}\[(label)\]: *\n? *([^\s>]+)>?(?:(?: +\n? *| *\n *)(title))? *(?:\n+|$)/,nptable:q,table:q,lheading:/^([^\n]+)\n {0,3}(=+|-+) *(?:\n+|$)/,_paragraph:/^([^\n]+(?:\n(?!hr|heading|lheading|blockquote|fences|list|html)[^\n]+)*)/,text:/^[^\n]+/};ne._label=/(?!\s*\])(?:\\[\[\]]|[^\[\]])+/,ne._title=/(?:"(?:\\"?|[^"\\])*"|'[^'\n]*(?:\n[^'\n]+)*\n?'|\([^()]*\))/,ne.def=se(ne.def).replace("label",ne._label).replace("title",ne._title).getRegex(),ne.bullet=/(?:[*+-]|\d{1,9}[.)])/,ne.item=/^( *)(bull) ?[^\n]*(?:\n(?!\1bull ?)[^\n]*)*/,ne.item=se(ne.item,"gm").replace(/bull/g,ne.bullet).getRegex(),ne.list=se(ne.list).replace(/bull/g,ne.bullet).replace("hr","\\n+(?=\\1?(?:(?:- *){3,}|(?:_ *){3,}|(?:\\* *){3,})(?:\\n+|$))").replace("def","\\n+(?="+ne.def.source+")").getRegex(),ne._tag="address|article|aside|base|basefont|blockquote|body|caption|center|col|colgroup|dd|details|dialog|dir|div|dl|dt|fieldset|figcaption|figure|footer|form|frame|frameset|h[1-6]|head|header|hr|html|iframe|legend|li|link|main|menu|menuitem|meta|nav|noframes|ol|optgroup|option|p|param|section|source|summary|table|tbody|td|tfoot|th|thead|title|tr|track|ul",ne._comment=//,ne.html=se(ne.html,"i").replace("comment",ne._comment).replace("tag",ne._tag).replace("attribute",/ +[a-zA-Z:_][\w.:-]*(?: *= *"[^"\n]*"| *= *'[^'\n]*'| *= *[^\s"'=<>`]+)?/).getRegex(),ne.paragraph=se(ne._paragraph).replace("hr",ne.hr).replace("heading"," {0,3}#{1,6} ").replace("|lheading","").replace("blockquote"," {0,3}>").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html","?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|!--)").replace("tag",ne._tag).getRegex(),ne.blockquote=se(ne.blockquote).replace("paragraph",ne.paragraph).getRegex(),ne.normal=ae({},ne),ne.gfm=ae({},ne.normal,{nptable:"^ *([^|\\n ].*\\|.*)\\n *([-:]+ *\\|[-| :]*)(?:\\n((?:(?!\\n|hr|heading|blockquote|code|fences|list|html).*(?:\\n|$))*)\\n*|$)",table:"^ *\\|(.+)\\n *\\|?( *[-:]+[-| :]*)(?:\\n *((?:(?!\\n|hr|heading|blockquote|code|fences|list|html).*(?:\\n|$))*)\\n*|$)"}),ne.gfm.nptable=se(ne.gfm.nptable).replace("hr",ne.hr).replace("heading"," {0,3}#{1,6} ").replace("blockquote"," {0,3}>").replace("code"," {4}[^\\n]").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html","?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|!--)").replace("tag",ne._tag).getRegex(),ne.gfm.table=se(ne.gfm.table).replace("hr",ne.hr).replace("heading"," {0,3}#{1,6} ").replace("blockquote"," {0,3}>").replace("code"," {4}[^\\n]").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html","?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|!--)").replace("tag",ne._tag).getRegex(),ne.pedantic=ae({},ne.normal,{html:se(`^ *(?:comment *(?:\\n|\\s*$)|<(tag)[\\s\\S]+?\\1> *(?:\\n{2,}|\\s*$)| \\s]*)*?/?> *(?:\\n{2,}|\\s*$))`).replace("comment",ne._comment).replace(/tag/g,"(?!(?:a|em|strong|small|s|cite|q|dfn|abbr|data|time|code|var|samp|kbd|sub|sup|i|b|u|mark|ruby|rt|rp|bdi|bdo|span|br|wbr|ins|del|img)\\b)\\w+(?!:|[^\\w\\s@]*@)\\b").getRegex(),def:/^ *\[([^\]]+)\]: *([^\s>]+)>?(?: +(["(][^\n]+[")]))? *(?:\n+|$)/,heading:/^ *(#{1,6}) *([^\n]+?) *(?:#+ *)?(?:\n+|$)/,fences:q,paragraph:se(ne.normal._paragraph).replace("hr",ne.hr).replace("heading",` *#{1,6} *[^
]`).replace("lheading",ne.lheading).replace("blockquote"," {0,3}>").replace("|fences","").replace("|list","").replace("|html","").getRegex()});var ee={escape:/^\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/,autolink:/^<(scheme:[^\s\x00-\x1f<>]*|email)>/,url:q,tag:"^comment|^[a-zA-Z][\\w:-]*\\s*>|^<[a-zA-Z][\\w-]*(?:attribute)*?\\s*/?>|^<\\?[\\s\\S]*?\\?>|^|^",link:/^!?\[(label)\]\(\s*(href)(?:\s+(title))?\s*\)/,reflink:/^!?\[(label)\]\[(?!\s*\])((?:\\[\[\]]?|[^\[\]\\])+)\]/,nolink:/^!?\[(?!\s*\])((?:\[[^\[\]]*\]|\\[\[\]]|[^\[\]])*)\](?:\[\])?/,reflinkSearch:"reflink|nolink(?!\\()",strong:{start:/^(?:(\*\*(?=[*punctuation]))|\*\*)(?![\s])|__/,middle:/^\*\*(?:(?:(?!overlapSkip)(?:[^*]|\\\*)|overlapSkip)|\*(?:(?!overlapSkip)(?:[^*]|\\\*)|overlapSkip)*?\*)+?\*\*$|^__(?![\s])((?:(?:(?!overlapSkip)(?:[^_]|\\_)|overlapSkip)|_(?:(?!overlapSkip)(?:[^_]|\\_)|overlapSkip)*?_)+?)__$/,endAst:/[^punctuation\s]\*\*(?!\*)|[punctuation]\*\*(?!\*)(?:(?=[punctuation\s]|$))/,endUnd:/[^\s]__(?!_)(?:(?=[punctuation\s])|$)/},em:{start:/^(?:(\*(?=[punctuation]))|\*)(?![*\s])|_/,middle:/^\*(?:(?:(?!overlapSkip)(?:[^*]|\\\*)|overlapSkip)|\*(?:(?!overlapSkip)(?:[^*]|\\\*)|overlapSkip)*?\*)+?\*$|^_(?![_\s])(?:(?:(?!overlapSkip)(?:[^_]|\\_)|overlapSkip)|_(?:(?!overlapSkip)(?:[^_]|\\_)|overlapSkip)*?_)+?_$/,endAst:/[^punctuation\s]\*(?!\*)|[punctuation]\*(?!\*)(?:(?=[punctuation\s]|$))/,endUnd:/[^\s]_(?!_)(?:(?=[punctuation\s])|$)/},code:/^(`+)([^`]|[^`][\s\S]*?[^`])\1(?!`)/,br:/^( {2,}|\\)\n(?!\s*$)/,del:q,text:/^(`+|[^`])(?:[\s\S]*?(?:(?=[\\?@\\[\\]`^{|}~",ee.punctuation=se(ee.punctuation).replace(/punctuation/g,ee._punctuation).getRegex(),ee._blockSkip="\\[[^\\]]*?\\]\\([^\\)]*?\\)|`[^`]*?`|<[^>]*?>",ee._overlapSkip="__[^_]*?__|\\*\\*\\[^\\*\\]*?\\*\\*",ee.em.start=se(ee.em.start).replace(/punctuation/g,ee._punctuation).getRegex(),ee.em.middle=se(ee.em.middle).replace(/punctuation/g,ee._punctuation).replace(/overlapSkip/g,ee._overlapSkip).getRegex(),ee.em.endAst=se(ee.em.endAst,"g").replace(/punctuation/g,ee._punctuation).getRegex(),ee.em.endUnd=se(ee.em.endUnd,"g").replace(/punctuation/g,ee._punctuation).getRegex(),ee.strong.start=se(ee.strong.start).replace(/punctuation/g,ee._punctuation).getRegex(),ee.strong.middle=se(ee.strong.middle).replace(/punctuation/g,ee._punctuation).replace(/blockSkip/g,ee._blockSkip).getRegex(),ee.strong.endAst=se(ee.strong.endAst,"g").replace(/punctuation/g,ee._punctuation).getRegex(),ee.strong.endUnd=se(ee.strong.endUnd,"g").replace(/punctuation/g,ee._punctuation).getRegex(),ee.blockSkip=se(ee._blockSkip,"g").getRegex(),ee.overlapSkip=se(ee._overlapSkip,"g").getRegex(),ee._escapes=/\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/g,ee._scheme=/[a-zA-Z][a-zA-Z0-9+.-]{1,31}/,ee._email=/[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+(@)[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)+(?![-_])/,ee.autolink=se(ee.autolink).replace("scheme",ee._scheme).replace("email",ee._email).getRegex(),ee._attribute=/\s+[a-zA-Z:_][\w.:-]*(?:\s*=\s*"[^"]*"|\s*=\s*'[^']*'|\s*=\s*[^\s"'=<>`]+)?/,ee.tag=se(ee.tag).replace("comment",ne._comment).replace("attribute",ee._attribute).getRegex(),ee._label=/(?:\[(?:\\.|[^\[\]\\])*\]|\\.|`[^`]*`|[^\[\]\\`])*?/,ee._href=/<(?:\\[<>]?|[^\s<>\\])*>|[^\s\x00-\x1f]*/,ee._title=/"(?:\\"?|[^"\\])*"|'(?:\\'?|[^'\\])*'|\((?:\\\)?|[^)\\])*\)/,ee.link=se(ee.link).replace("label",ee._label).replace("href",ee._href).replace("title",ee._title).getRegex(),ee.reflink=se(ee.reflink).replace("label",ee._label).getRegex(),ee.reflinkSearch=se(ee.reflinkSearch,"g").replace("reflink",ee.reflink).replace("nolink",ee.nolink).getRegex(),ee.normal=ae({},ee),ee.pedantic=ae({},ee.normal,{strong:{start:/^__|\*\*/,middle:/^__(?=\S)([\s\S]*?\S)__(?!_)|^\*\*(?=\S)([\s\S]*?\S)\*\*(?!\*)/,endAst:/\*\*(?!\*)/g,endUnd:/__(?!_)/g},em:{start:/^_|\*/,middle:/^()\*(?=\S)([\s\S]*?\S)\*(?!\*)|^_(?=\S)([\s\S]*?\S)_(?!_)/,endAst:/\*(?!\*)/g,endUnd:/_(?!_)/g},link:se(/^!?\[(label)\]\((.*?)\)/).replace("label",ee._label).getRegex(),reflink:se(/^!?\[(label)\]\s*\[([^\]]*)\]/).replace("label",ee._label).getRegex()}),ee.gfm=ae({},ee.normal,{escape:se(ee.escape).replace("])","~|])").getRegex(),_extended_email:/[A-Za-z0-9._+-]+(@)[a-zA-Z0-9-_]+(?:\.[a-zA-Z0-9-_]*[a-zA-Z0-9])+(?![-_])/,url:/^((?:ftp|https?):\/\/|www\.)(?:[a-zA-Z0-9\-]+\.?)+[^\s<]*|^email/,_backpedal:/(?:[^?!.,:;*_~()&]+|\([^)]*\)|&(?![a-zA-Z0-9]+;$)|[?!.,:;*_~)]+(?!$))+/,del:/^~+(?=\S)([\s\S]*?\S)~+/,text:/^(`+|[^`])(?:[\s\S]*?(?:(?=[\\.5&&(B="x"+B.toString(16)),z+=""+B+";";return z}var Ee=function(){function Y(G){this.tokens=[],this.tokens.links=Object.create(null),this.options=G||Ce,this.options.tokenizer=this.options.tokenizer||new oe,this.tokenizer=this.options.tokenizer,this.tokenizer.options=this.options;var B={block:Oe.normal,inline:we.normal};this.options.pedantic?(B.block=Oe.pedantic,B.inline=we.pedantic):this.options.gfm&&(B.block=Oe.gfm,this.options.breaks?B.inline=we.breaks:B.inline=we.gfm),this.tokenizer.rules=B}Y.lex=function(B,W){var K=new Y(W);return K.lex(B)};var z=Y.prototype;return z.lex=function(B){return B=B.replace(/\r\n|\r/g,`
`).replace(/\t/g," "),this.blockTokens(B,this.tokens,!0),this.inline(this.tokens),this.tokens},z.blockTokens=function(B,W,K){W===void 0&&(W=[]),K===void 0&&(K=!0),B=B.replace(/^ +$/gm,"");for(var V,J,ie,me;B;){if(V=this.tokenizer.space(B)){B=B.substring(V.raw.length),V.type&&W.push(V);continue}if(V=this.tokenizer.code(B,W)){B=B.substring(V.raw.length),V.type?W.push(V):(me=W[W.length-1],me.raw+=`
`+V.raw,me.text+=`
`+V.text);continue}if(V=this.tokenizer.fences(B)){B=B.substring(V.raw.length),W.push(V);continue}if(V=this.tokenizer.heading(B)){B=B.substring(V.raw.length),W.push(V);continue}if(V=this.tokenizer.nptable(B)){B=B.substring(V.raw.length),W.push(V);continue}if(V=this.tokenizer.hr(B)){B=B.substring(V.raw.length),W.push(V);continue}if(V=this.tokenizer.blockquote(B)){B=B.substring(V.raw.length),V.tokens=this.blockTokens(V.text,[],K),W.push(V);continue}if(V=this.tokenizer.list(B)){for(B=B.substring(V.raw.length),ie=V.items.length,J=0;J0)for(;(Re=this.tokenizer.rules.inline.reflinkSearch.exec(me))!=null;)De.includes(Re[0].slice(Re[0].lastIndexOf("[")+1,-1))&&(me=me.slice(0,Re.index)+"["+"a".repeat(Re[0].length-2)+"]"+me.slice(this.tokenizer.rules.inline.reflinkSearch.lastIndex))}for(;(Re=this.tokenizer.rules.inline.blockSkip.exec(me))!=null;)me=me.slice(0,Re.index)+"["+"a".repeat(Re[0].length-2)+"]"+me.slice(this.tokenizer.rules.inline.blockSkip.lastIndex);for(;B;){if(ie=this.tokenizer.escape(B)){B=B.substring(ie.raw.length),W.push(ie);continue}if(ie=this.tokenizer.tag(B,K,V)){B=B.substring(ie.raw.length),K=ie.inLink,V=ie.inRawBlock,W.push(ie);continue}if(ie=this.tokenizer.link(B)){B=B.substring(ie.raw.length),ie.type==="link"&&(ie.tokens=this.inlineTokens(ie.text,[],!0,V)),W.push(ie);continue}if(ie=this.tokenizer.reflink(B,this.tokens.links)){B=B.substring(ie.raw.length),ie.type==="link"&&(ie.tokens=this.inlineTokens(ie.text,[],!0,V)),W.push(ie);continue}if(ie=this.tokenizer.strong(B,me,J)){B=B.substring(ie.raw.length),ie.tokens=this.inlineTokens(ie.text,[],K,V),W.push(ie);continue}if(ie=this.tokenizer.em(B,me,J)){B=B.substring(ie.raw.length),ie.tokens=this.inlineTokens(ie.text,[],K,V),W.push(ie);continue}if(ie=this.tokenizer.codespan(B)){B=B.substring(ie.raw.length),W.push(ie);continue}if(ie=this.tokenizer.br(B)){B=B.substring(ie.raw.length),W.push(ie);continue}if(ie=this.tokenizer.del(B)){B=B.substring(ie.raw.length),ie.tokens=this.inlineTokens(ie.text,[],K,V),W.push(ie);continue}if(ie=this.tokenizer.autolink(B,_e)){B=B.substring(ie.raw.length),W.push(ie);continue}if(!K&&(ie=this.tokenizer.url(B,_e))){B=B.substring(ie.raw.length),W.push(ie);continue}if(ie=this.tokenizer.inlineText(B,V,fe)){B=B.substring(ie.raw.length),J=ie.raw.slice(-1),W.push(ie);continue}if(B){var xe="Infinite loop on byte: "+B.charCodeAt(0);if(this.options.silent){console.error(xe);break}else throw new Error(xe)}}return W},U(Y,null,[{key:"rules",get:function(){return{block:Oe,inline:we}}}]),Y}(),ye=N.defaults,ce=L.cleanUrl,be=L.escape,ve=function(){function Y(G){this.options=G||ye}var z=Y.prototype;return z.code=function(B,W,K){var V=(W||"").match(/\S*/)[0];if(this.options.highlight){var J=this.options.highlight(B,V);J!=null&&J!==B&&(K=!0,B=J)}return V?''+(K?B:be(B,!0))+`
`:""+(K?B:be(B,!0))+`
`},z.blockquote=function(B){return`
`+B+`
`},z.html=function(B){return B},z.heading=function(B,W,K,V){return this.options.headerIds?"
`:""+B+"
`},z.hr=function(){return this.options.xhtml?`
`:`
`},z.list=function(B,W,K){var V=W?"ol":"ul",J=W&&K!==1?' start="'+K+'"':"";return"<"+V+J+`>
`+B+""+V+`>
`},z.listitem=function(B){return""+B+`
`},z.checkbox=function(B){return" "},z.paragraph=function(B){return""+B+`
`},z.table=function(B,W){return W&&(W=""+W+" "),`
`},z.tablerow=function(B){return`
`+B+`
`},z.tablecell=function(B,W){var K=W.header?"th":"td",V=W.align?"<"+K+' align="'+W.align+'">':"<"+K+">";return V+B+""+K+`>
`},z.strong=function(B){return""+B+" "},z.em=function(B){return""+B+" "},z.codespan=function(B){return""+B+""},z.br=function(){return this.options.xhtml?" ":" "},z.del=function(B){return""+B+""},z.link=function(B,W,K){if(B=ce(this.options.sanitize,this.options.baseUrl,B),B===null)return K;var V='"+K+" ",V},z.image=function(B,W,K){if(B=ce(this.options.sanitize,this.options.baseUrl,B),B===null)return K;var V=' ":">",V},z.text=function(B){return B},Y}(),pe=function(){function Y(){}var z=Y.prototype;return z.strong=function(B){return B},z.em=function(B){return B},z.codespan=function(B){return B},z.del=function(B){return B},z.html=function(B){return B},z.text=function(B){return B},z.link=function(B,W,K){return""+K},z.image=function(B,W,K){return""+K},z.br=function(){return""},Y}(),Te=function(){function Y(){this.seen={}}var z=Y.prototype;return z.slug=function(B){var W=B.toLowerCase().trim().replace(/<[!\/a-z].*?>/ig,"").replace(/[\u2000-\u206F\u2E00-\u2E7F\\'!"#$%&()*+,./:;<=>?@[\]^`{|}~]/g,"").replace(/\s/g,"-");if(this.seen.hasOwnProperty(W)){var K=W;do this.seen[K]++,W=K+"-"+this.seen[K];while(this.seen.hasOwnProperty(W))}return this.seen[W]=0,W},Y}(),Pe=N.defaults,Se=L.unescape,Ie=function(){function Y(G){this.options=G||Pe,this.options.renderer=this.options.renderer||new ve,this.renderer=this.options.renderer,this.renderer.options=this.options,this.textRenderer=new pe,this.slugger=new Te}Y.parse=function(B,W){var K=new Y(W);return K.parse(B)};var z=Y.prototype;return z.parse=function(B,W){W===void 0&&(W=!0);var K="",V,J,ie,me,Re,De,xe,Ke,Fe,ke,ze,Ge,je,Je,Be,$e,Qe,Ae,Ue=B.length;for(V=0;V0&&Be.tokens[0].type==="text"?(Be.tokens[0].text=Ae+" "+Be.tokens[0].text,Be.tokens[0].tokens&&Be.tokens[0].tokens.length>0&&Be.tokens[0].tokens[0].type==="text"&&(Be.tokens[0].tokens[0].text=Ae+" "+Be.tokens[0].tokens[0].text)):Be.tokens.unshift({type:"text",text:Ae}):Je+=Ae),Je+=this.parse(Be.tokens,je),Fe+=this.renderer.listitem(Je,Qe,$e);K+=this.renderer.list(Fe,ze,Ge);continue}case"html":{K+=this.renderer.html(ke.text);continue}case"paragraph":{K+=this.renderer.paragraph(this.parseInline(ke.tokens));continue}case"text":{for(Fe=ke.tokens?this.parseInline(ke.tokens):ke.text;V+1An error occurred:
"+Q(ie.message+"",!0)+" ";throw ie}}Z.options=Z.setOptions=function(Y){return Le(Z.defaults,Y),ue(Z.defaults),Z},Z.getDefaults=re,Z.defaults=de,Z.use=function(Y){var z=Le({},Y);if(Y.renderer&&function(){var B=Z.defaults.renderer||new ve,W=function(J){var ie=B[J];B[J]=function(){for(var me=arguments.length,Re=new Array(me),De=0;De>>6)+S(128|x&63):S(224|x>>>12&15)+S(128|x>>>6&63)+S(128|x&63)}else{var x=65536+(h.charCodeAt(0)-55296)*1024+(h.charCodeAt(1)-56320);return S(240|x>>>18&7)+S(128|x>>>12&63)+S(128|x>>>6&63)+S(128|x&63)}},y=/[\uD800-\uDBFF][\uDC00-\uDFFFF]|[^\x00-\x7F]/g,_=function(h){return h.replace(y,T)},d=function(h){var x=[0,2,1][h.length%3],A=h.charCodeAt(0)<<16|(h.length>1?h.charCodeAt(1):0)<<8|(h.length>2?h.charCodeAt(2):0),C=[N.charAt(A>>>18),N.charAt(A>>>12&63),x>=2?"=":N.charAt(A>>>6&63),x>=1?"=":N.charAt(A&63)];return C.join("")},l=k.btoa&&typeof k.btoa=="function"?function(h){return k.btoa(h)}:function(h){if(h.match(/[^\x00-\xFF]/))throw new RangeError("The string contains invalid characters.");return h.replace(/[\s\S]{1,3}/g,d)},n=function(h){return l(_(String(h)))},a=function(h){return h.replace(/[+\/]/g,function(x){return x=="+"?"-":"_"}).replace(/=/g,"")},s=function(h,x){return x?a(n(h)):n(h)},e=function(h){return s(h,!0)},t;k.Uint8Array&&(t=function(h,x){for(var A="",C=0,L=h.length;C>>18)+N.charAt(F>>>12&63)+(typeof R!="undefined"?N.charAt(F>>>6&63):"=")+(typeof M!="undefined"?N.charAt(F&63):"=")}return x?a(A):A});var i=/[\xC0-\xDF][\x80-\xBF]|[\xE0-\xEF][\x80-\xBF]{2}|[\xF0-\xF7][\x80-\xBF]{3}/g,b=function(h){switch(h.length){case 4:var x=(7&h.charCodeAt(0))<<18|(63&h.charCodeAt(1))<<12|(63&h.charCodeAt(2))<<6|63&h.charCodeAt(3),A=x-65536;return S((A>>>10)+55296)+S((A&1023)+56320);case 3:return S((15&h.charCodeAt(0))<<12|(63&h.charCodeAt(1))<<6|63&h.charCodeAt(2));default:return S((31&h.charCodeAt(0))<<6|63&h.charCodeAt(1))}},E=function(h){return h.replace(i,b)},m=function(h){var x=h.length,A=x%4,C=(x>0?D[h.charAt(0)]<<18:0)|(x>1?D[h.charAt(1)]<<12:0)|(x>2?D[h.charAt(2)]<<6:0)|(x>3?D[h.charAt(3)]:0),L=[S(C>>>16),S(C>>>8&255),S(C&255)];return L.length-=[0,0,2,1][A],L.join("")},v=k.atob&&typeof k.atob=="function"?function(h){return k.atob(h)}:function(h){return h.replace(/\S{1,4}/g,m)},g=function(h){return v(String(h).replace(/[^A-Za-z0-9\+\/]/g,""))},c=function(h){return E(v(h))},u=function(h){return String(h).replace(/[-_]/g,function(x){return x=="-"?"+":"/"}).replace(/[^A-Za-z0-9\+\/]/g,"")},r=function(h){return c(u(h))},o;k.Uint8Array&&(o=function(h){return Uint8Array.from(g(u(h)),function(x){return x.charCodeAt(0)})});var p=function(){var h=k.Base64;return k.Base64=I,h};if(k.Base64={VERSION:O,atob:g,btoa:l,fromBase64:r,toBase64:s,utob:_,encode:s,encodeURI:e,btou:E,decode:r,noConflict:p,fromUint8Array:t,toUint8Array:o},typeof Object.defineProperty=="function"){var f=function(h){return{value:h,enumerable:!1,writable:!0,configurable:!0}};k.Base64.extendString=function(){Object.defineProperty(String.prototype,"fromBase64",f(function(){return r(this)})),Object.defineProperty(String.prototype,"toBase64",f(function(h){return s(this,h)})),Object.defineProperty(String.prototype,"toBase64URI",f(function(){return s(this,!0)}))}}return k.Meteor&&(Base64=k.Base64),Me.exports?Me.exports.Base64=k.Base64:!(U=[],w=function(){return k.Base64}.apply(he,U),w!==void 0&&(Me.exports=w)),{Base64:k.Base64}})}).call(this,j("IyRk"))},LdHM:function(Me,he,j){"use strict";j.d(he,"b",function(){return i}),j.d(he,"a",function(){return E});var $=j("1OyB"),U=j("vuIU"),w=j("Ji7U"),k=j("LK+K"),I=j("cDcd"),O=j("rePB"),N=j("Ff2n"),D=j("ODXe"),S=j("4IlW"),T=j("bX4T"),y=j("YrtM"),_=j("TSYQ"),d=j.n(_),l=j("+nKL"),n=j("8OUc"),a=function(M,F){var H=M.prefixCls,X=M.id,te=M.flattenOptions,oe=M.childrenAsData,q=M.values,se=M.searchValue,ae=M.multiple,ne=M.defaultActiveFirstOption,ee=M.height,ge=M.itemHeight,Ce=M.notFoundContent,Oe=M.open,we=M.menuItemSelectedIcon,fe=M.virtual,_e=M.onSelect,Ee=M.onToggleOpen,ye=M.onActiveValue,ce=M.onScroll,be=M.onMouseEnter,ve="".concat(H,"-item"),pe=Object(y.a)(function(){return te},[Oe,te],function(le,Y){return Y[0]&&le[1]!==Y[1]}),Te=I.useRef(null),Pe=function(Y){Y.preventDefault()},Se=function(Y){Te.current&&Te.current.scrollTo({index:Y})},Ie=function(Y){for(var z=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1,G=pe.length,B=0;B1&&arguments[1]!==void 0?arguments[1]:!1;return Object(v.a)(R).map(function(F,H){if(!I.isValidElement(F)||!F.type)return null;var X=F.type.isSelectOptGroup,te=F.key,oe=F.props,q=oe.children,se=Object(N.a)(oe,["children"]);return M||!X?g(F):Object(m.a)(Object(m.a)({key:"__RC_SELECT_GRP__".concat(te===null?H:te,"__"),label:te},se),{},{options:c(q)})}).filter(function(F){return F})}var u=j("2Qr1"),r=j("qNPg"),o=j("U8pU"),p=j("Kwbf"),f=j("WKfj");function h(R){var M=R.mode,F=R.options,H=R.children,X=R.backfill,te=R.allowClear,oe=R.placeholder,q=R.getInputElement,se=R.showSearch,ae=R.onSearch,ne=R.defaultOpen,ee=R.autoFocus,ge=R.labelInValue,Ce=R.value,Oe=R.inputValue,we=R.optionLabelProp,fe=M==="multiple"||M==="tags",_e=se!==void 0?se:fe||M==="combobox",Ee=F||c(H);if(Object(p.a)(M!=="tags"||Ee.every(function(ve){return!ve.disabled}),"Please avoid setting option to disabled in tags mode since user can always type text as tag."),M==="tags"||M==="combobox"){var ye=Ee.some(function(ve){return ve.options?ve.options.some(function(pe){return typeof("value"in pe?pe.value:pe.key)=="number"}):typeof("value"in ve?ve.value:ve.key)=="number"});Object(p.a)(!ye,"`value` of Option should not use number type when `mode` is `tags` or `combobox`.")}if(Object(p.a)(M!=="combobox"||!we,"`combobox` mode not support `optionLabelProp`. Please set `value` on Option directly."),Object(p.a)(M==="combobox"||!X,"`backfill` only works with `combobox` mode."),Object(p.a)(M==="combobox"||!q,"`getInputElement` only work with `combobox` mode."),Object(p.b)(M!=="combobox"||!q||!te||!oe,"Customize `getInputElement` should customize clear and placeholder logic instead of configuring `allowClear` and `placeholder`."),ae&&!_e&&M!=="combobox"&&M!=="tags"&&Object(p.a)(!1,"`onSearch` should work with `showSearch` instead of use alone."),Object(p.b)(!ne||ee,"`defaultOpen` makes Select open without focus which means it will not close by click outside. You can set `autoFocus` if needed."),Ce!=null){var ce=Object(f.d)(Ce);Object(p.a)(!ge||ce.every(function(ve){return Object(o.a)(ve)==="object"&&("key"in ve||"value"in ve)}),"`value` should in shape of `{ value: string | number, label?: ReactNode }` when you set `labelInValue` to `true`"),Object(p.a)(!fe||Array.isArray(Ce),"`value` should be array when `mode` is `multiple` or `tags`")}if(H){var be=null;Object(v.a)(H).some(function(ve){if(!I.isValidElement(ve)||!ve.type)return!1;var pe=ve.type;if(pe.isSelectOption)return!1;if(pe.isSelectOptGroup){var Te=Object(v.a)(ve.props.children).every(function(Pe){return!I.isValidElement(Pe)||!ve.type||Pe.type.isSelectOption?!0:(be=Pe.type,!1)});return!Te}return be=pe,!0}),be&&Object(p.a)(!1,"`children` should be `Select.Option` or `Select.OptGroup` instead of `".concat(be.displayName||be.name||be,"`.")),Object(p.a)(Oe===void 0,"`inputValue` is deprecated, please use `searchValue` instead.")}}var x=h,A=Object(r.a)({prefixCls:"rc-select",components:{optionList:e},convertChildrenToData:c,flattenOptions:u.d,getLabeledValue:u.e,filterOptions:u.b,isValueDisabled:u.g,findValueOption:u.c,warningProps:x,fillOptionsWithMissingValue:u.a}),C=function(R){Object(w.a)(F,R);var M=Object(k.a)(F);function F(){var H;return Object($.a)(this,F),H=M.apply(this,arguments),H.selectRef=I.createRef(),H.focus=function(){H.selectRef.current.focus()},H.blur=function(){H.selectRef.current.blur()},H}return Object(U.a)(F,[{key:"render",value:function(){return I.createElement(A,Object.assign({ref:this.selectRef},this.props))}}]),F}(I.Component);C.Option=i,C.OptGroup=E;var L=C,P=he.c=L},NvD2:function(Me,he,j){"use strict";j.d(he,"a",function(){return O});var $=j("Kwbf");function U(N,D){var S=new Set;return N.forEach(function(T){D.has(T)||S.add(T)}),S}function w(N){var D=N||{},S=D.disabled,T=D.disableCheckbox,y=D.checkable;return!!(S||T)||y===!1}function k(N,D,S,T){for(var y=new Set(N),_=new Set,d=0;d<=S;d+=1){var l=D.get(d)||new Set;l.forEach(function(e){var t=e.key,i=e.node,b=e.children,E=b===void 0?[]:b;y.has(t)&&!T(i)&&E.filter(function(m){return!T(m.node)}).forEach(function(m){y.add(m.key)})})}for(var n=new Set,a=S;a>=0;a-=1){var s=D.get(a)||new Set;s.forEach(function(e){var t=e.parent,i=e.node;if(T(i)||!e.parent||n.has(e.parent.key))return;if(T(e.parent.node)){n.add(t.key);return}var b=!0,E=!1;(t.children||[]).filter(function(m){return!T(m.node)}).forEach(function(m){var v=m.key,g=y.has(v);b&&!g&&(b=!1),!E&&(g||_.has(v))&&(E=!0)}),b&&y.add(t.key),E&&_.add(t.key),n.add(t.key)})}return{checkedKeys:Array.from(y),halfCheckedKeys:Array.from(U(_,y))}}function I(N,D,S,T,y){for(var _=new Set(N),d=new Set(D),l=0;l<=T;l+=1){var n=S.get(l)||new Set;n.forEach(function(t){var i=t.key,b=t.node,E=t.children,m=E===void 0?[]:E;!_.has(i)&&!d.has(i)&&!y(b)&&m.filter(function(v){return!y(v.node)}).forEach(function(v){_.delete(v.key)})})}d=new Set;for(var a=new Set,s=T;s>=0;s-=1){var e=S.get(s)||new Set;e.forEach(function(t){var i=t.parent,b=t.node;if(y(b)||!t.parent||a.has(t.parent.key))return;if(y(t.parent.node)){a.add(i.key);return}var E=!0,m=!1;(i.children||[]).filter(function(v){return!y(v.node)}).forEach(function(v){var g=v.key,c=_.has(g);E&&!c&&(E=!1),!m&&(c||d.has(g))&&(m=!0)}),E||_.delete(i.key),m&&d.add(i.key),a.add(i.key)})}return{checkedKeys:Array.from(_),halfCheckedKeys:Array.from(U(d,_))}}function O(N,D,S,T){var y=[],_;T?_=T:_=w;var d=new Set(N.filter(function(s){var e=!!S[s];return e||y.push(s),e})),l=new Map,n=0;Object.keys(S).forEach(function(s){var e=S[s],t=e.level,i=l.get(t);i||(i=new Set,l.set(t,i)),i.add(e),n=Math.max(n,t)}),Object($.a)(!y.length,"Tree missing follow keys: ".concat(y.slice(0,100).map(function(s){return"'".concat(s,"'")}).join(", ")));var a;return D===!0?a=k(d,l,n,_):a=I(d,D.halfCheckedKeys,l,n,_),a}},OZM5:function(Me,he,j){"use strict";j.d(he,"b",function(){return T}),j.d(he,"a",function(){return y}),j.d(he,"k",function(){return _}),j.d(he,"h",function(){return d}),j.d(he,"i",function(){return l}),j.d(he,"g",function(){return n}),j.d(he,"c",function(){return a}),j.d(he,"d",function(){return s}),j.d(he,"j",function(){return i}),j.d(he,"e",function(){return b}),j.d(he,"f",function(){return E});var $=j("KQm4"),U=j("U8pU"),w=j("Ff2n"),k=j("cDcd"),I=j.n(k),O=j("Kwbf"),N=j("WaYH"),D=.25,S=2;function T(m,v){var g=m.slice(),c=g.indexOf(v);return c>=0&&g.splice(c,1),g}function y(m,v){var g=m.slice();return g.indexOf(v)===-1&&g.push(v),g}function _(m){return m.split("-")}function d(m,v){return"".concat(m,"-").concat(v)}function l(m){return m&&m.type&&m.type.isTreeNode}function n(m,v){var g=[m],c=v[m];function u(){var r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];r.forEach(function(o){var p=o.key,f=o.children;g.push(p),u(f)})}return u(c.children),g}function a(m,v){var g=m.clientY,c=v.selectHandle.getBoundingClientRect(),u=c.top,r=c.bottom,o=c.height,p=Math.max(o*D,S);return g<=u+p?-1:g>=r-p?1:0}function s(m,v){if(!m)return;var g=v.multiple;return g?m.slice():m.length?[m[0]]:m}var e=function(v){return v};function t(m,v){if(!m)return[];var g=v||{},c=g.processProps,u=c===void 0?e:c,r=Array.isArray(m)?m:[m];return r.map(function(o){var p=o.children,f=Object(w.a)(o,["children"]),h=t(p,v);return I.a.createElement(N.a,Object.assign({},u(f)),h)})}function i(m){if(!m)return null;var v;if(Array.isArray(m))v={checkedKeys:m,halfCheckedKeys:void 0};else if(Object(U.a)(m)==="object")v={checkedKeys:m.checked||void 0,halfCheckedKeys:m.halfChecked||void 0};else return Object(O.a)(!1,"`checkedKeys` is not an array or an object"),null;return v}function b(m,v){var g=new Set;function c(u){if(g.has(u))return;var r=v[u];if(!r)return;g.add(u);var o=r.parent,p=r.node;if(p.disabled)return;o&&c(o.key)}return(m||[]).forEach(function(u){c(u)}),Object($.a)(g)}function E(m){var v={};return Object.keys(m).forEach(function(g){(g.startsWith("data-")||g.startsWith("aria-"))&&(v[g]=m[g])}),v}},"SA+Z":function(Me,he,j){var $=j("wTVA"),U=j("EbDI"),w=j("ZhPi"),k=j("wkBT");function I(O){return $(O)||U(O)||w(O)||k()}Me.exports=I,Me.exports.__esModule=!0,Me.exports.default=Me.exports},SJMd:function(Me,he){/**
* @license
* Copyright (C) 2006 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/var j,$,U,w=!1,k,I;window.PR_SHOULD_USE_CONTINUATION=!0;var O,N;(function(){var D=window,S=["break,continue,do,else,for,if,return,while"],T=[S,"auto,case,char,const,default,double,enum,extern,float,goto,inline,int,long,register,restrict,short,signed,sizeof,static,struct,switch,typedef,union,unsigned,void,volatile"],y=[T,"catch,class,delete,false,import,new,operator,private,protected,public,this,throw,true,try,typeof"],_=[y,"alignas,alignof,align_union,asm,axiom,bool,concept,concept_map,const_cast,constexpr,decltype,delegate,dynamic_cast,explicit,export,friend,generic,late_check,mutable,namespace,noexcept,noreturn,nullptr,property,reinterpret_cast,static_assert,static_cast,template,typeid,typename,using,virtual,where"],d=[y,"abstract,assert,boolean,byte,extends,finally,final,implements,import,instanceof,interface,null,native,package,strictfp,super,synchronized,throws,transient"],l=[y,"abstract,add,alias,as,ascending,async,await,base,bool,by,byte,checked,decimal,delegate,descending,dynamic,event,finally,fixed,foreach,from,get,global,group,implicit,in,interface,internal,into,is,join,let,lock,null,object,out,override,orderby,params,partial,readonly,ref,remove,sbyte,sealed,select,set,stackalloc,string,select,uint,ulong,unchecked,unsafe,ushort,value,var,virtual,where,yield"],n="all,and,by,catch,class,else,extends,false,finally,for,if,in,is,isnt,loop,new,no,not,null,of,off,on,or,return,super,then,throw,true,try,unless,until,when,while,yes",a=[y,"abstract,async,await,constructor,debugger,enum,eval,export,function,get,implements,instanceof,interface,let,null,set,undefined,var,with,yield,Infinity,NaN"],s="caller,delete,die,do,dump,elsif,eval,exit,foreach,for,goto,if,import,last,local,my,next,no,our,print,package,redo,require,sub,undef,unless,until,use,wantarray,while,BEGIN,END",e=[S,"and,as,assert,class,def,del,elif,except,exec,finally,from,global,import,in,is,lambda,nonlocal,not,or,pass,print,raise,try,with,yield,False,True,None"],t=[S,"alias,and,begin,case,class,def,defined,elsif,end,ensure,false,in,module,next,nil,not,or,redo,rescue,retry,self,super,then,true,undef,unless,until,when,yield,BEGIN,END"],i=[S,"case,done,elif,esac,eval,fi,function,in,local,set,then,until"],b=[_,l,d,a,s,e,t,i],E=/^(DIR|FILE|array|vector|(de|priority_)?queue|(forward_)?list|stack|(const_)?(reverse_)?iterator|(unordered_)?(multi)?(set|map)|bitset|u?(int|float)\d*)\b/,m="str",v="kwd",g="com",c="typ",u="lit",r="pun",o="pln",p="tag",f="dec",h="src",x="atn",A="atv",C="nocode",L="(?:^^\\.?|[+-]|[!=]=?=?|\\#|%=?|&&?=?|\\(|\\*=?|[+\\-]=|->|\\/=?|::?|<=?|>>?>?=?|,|;|\\?|@|\\[|~|{|\\^\\^?=?|\\|\\|?=?|break|case|continue|delete|do|else|finally|instanceof|return|throw|try|typeof)\\s*";function P(_e){for(var Ee=0,ye=!1,ce=!1,be=0,ve=_e.length;be122||(B<65||G>90||ue.push([Math.max(65,G)|32,Math.min(B,90)|32]),B<97||G>122||ue.push([Math.max(97,G)&~32,Math.min(B,122)&~32]))}}ue.sort(function(J,ie){return J[0]-ie[0]||ie[1]-J[1]});for(var W=[],K=[],le=0;leV[0]&&(V[1]+1>V[0]&&Z.push("-"),Z.push(Se(V[1])))}return Z.push("]"),Z.join("")}function Le(Q){for(var re=Q.source.match(new RegExp("(?:\\[(?:[^\\x5C\\x5D]|\\\\[\\s\\S])*\\]|\\\\u[A-Fa-f0-9]{4}|\\\\x[A-Fa-f0-9]{2}|\\\\[0-9]+|\\\\[^ux0-9]|\\(\\?[:!=]|[\\(\\)\\^]|[^\\x5B\\x5C\\(\\)\\^]+)","g")),ue=re.length,de=[],Z=0,le=0;Z=2&&G==="["?re[Z]=Ie(Y):G!=="\\"&&(re[Z]=Y.replace(/[a-zA-Z]/g,function(K){var V=K.charCodeAt(0);return"["+String.fromCharCode(V&~32,V|32)+"]"}))}return re.join("")}for(var Ne=[],be=0,ve=_e.length;be=0;)ye[Ne.charAt(Q)]=Le;var re=Le[1],ue=""+re;Pe.hasOwnProperty(ue)||(Te.push(re),Pe[ue]=null)}Te.push(/[\0-\uffff]/),ce=P(Te)})();var be=Ee.length,ve=function(pe){for(var Te=pe.sourceCode,Pe=pe.basePos,Se=pe.sourceNode,Ie=[Pe,o],Le=0,Ne=Te.match(ce)||[],Q={},re=0,ue=Ne.length;re=5&&Z.substring(0,5)==="lang-",Y&&!(le&&typeof le[1]=="string")&&(Y=!1,Z=h),Y||(Q[de]=Z)}var B=Le;if(Le+=de.length,!Y)Ie.push(Pe+B,Z);else{var W=le[1],K=de.indexOf(W),V=K+W.length;le[2]&&(V=de.length-le[2].length,K=V-W.length);var J=Z.substring(5);M(Se,Pe+B,de.substring(0,K),ve,Ie),M(Se,Pe+B+K,W,ee(J,W),Ie),M(Se,Pe+B+V,de.substring(V),ve,Ie)}}pe.decorations=Ie};return ve}function te(_e){var Ee=[],ye=[];_e.tripleQuotedStrings?Ee.push([m,/^(?:\'\'\'(?:[^\'\\]|\\[\s\S]|\'{1,2}(?=[^\']))*(?:\'\'\'|$)|\"\"\"(?:[^\"\\]|\\[\s\S]|\"{1,2}(?=[^\"]))*(?:\"\"\"|$)|\'(?:[^\\\']|\\[\s\S])*(?:\'|$)|\"(?:[^\\\"]|\\[\s\S])*(?:\"|$))/,null,`'"`]):_e.multiLineStrings?Ee.push([m,/^(?:\'(?:[^\\\']|\\[\s\S])*(?:\'|$)|\"(?:[^\\\"]|\\[\s\S])*(?:\"|$)|\`(?:[^\\\`]|\\[\s\S])*(?:\`|$))/,null,"'\"`"]):Ee.push([m,/^(?:\'(?:[^\\\'\r\n]|\\.)*(?:\'|$)|\"(?:[^\\\"\r\n]|\\.)*(?:\"|$))/,null,`"'`]),_e.verbatimStrings&&ye.push([m,/^@\"(?:[^\"]|\"\")*(?:\"|$)/,null]);var ce=_e.hashComments;ce&&(_e.cStyleComments?(ce>1?Ee.push([g,/^#(?:##(?:[^#]|#(?!##))*(?:###|$)|.*)/,null,"#"]):Ee.push([g,/^#(?:(?:define|e(?:l|nd)if|else|error|ifn?def|include|line|pragma|undef|warning)\b|[^\r\n]*)/,null,"#"]),ye.push([m,/^<(?:(?:(?:\.\.\/)*|\/?)(?:[\w-]+(?:\/[\w-]+)+)?[\w-]+\.h(?:h|pp|\+\+)?|[a-z]\w*)>/,null])):Ee.push([g,/^#[^\r\n]*/,null,"#"])),_e.cStyleComments&&(ye.push([g,/^\/\/[^\r\n]*/,null]),ye.push([g,/^\/\*[\s\S]*?(?:\*\/|$)/,null]));var be=_e.regexLiterals;if(be){var ve=be>1?"":`
\r`,pe=ve?".":"[\\S\\s]",Te="/(?=[^/*"+ve+"])(?:[^/\\x5B\\x5C"+ve+"]|\\x5C"+pe+"|\\x5B(?:[^\\x5C\\x5D"+ve+"]|\\x5C"+pe+")*(?:\\x5D|$))+/";ye.push(["lang-regex",RegExp("^"+L+"("+Te+")")])}var Pe=_e.types;Pe&&ye.push([c,Pe]);var Se=(""+_e.keywords).replace(/^ | $/g,"");Se.length&&ye.push([v,new RegExp("^(?:"+Se.replace(/[\s,]+/g,"|")+")\\b"),null]),Ee.push([o,/^\s+/,null,` \r
\xA0`]);var Ie="^.[^\\s\\w.$@'\"`/\\\\]*";return _e.regexLiterals&&(Ie+="(?!s*/)"),ye.push([u,/^@[a-z_$][a-z_$@0-9]*/i,null],[c,/^(?:[@_]?[A-Z]+[a-z][A-Za-z_$@0-9]*|\w+_t\b)/,null],[o,/^[a-z_$][a-z_$@0-9]*/i,null],[u,new RegExp("^(?:0x[a-f0-9]+|(?:\\d(?:_\\d+)*\\d*(?:\\.\\d*)?|\\.\\d\\+)(?:e[+\\-]?\\d+)?)[a-z]*","i"),null,"0123456789"],[o,/^\\[\s\S]?/,null],[r,new RegExp(Ie),null]),X(Ee,ye)}var oe=te({keywords:b,hashComments:!0,cStyleComments:!0,multiLineStrings:!0,regexLiterals:!0});function q(_e,Ee,ye){for(var ce=/(?:^|\s)nocode(?:\s|$)/,be=/\r\n?|\n/,ve=_e.ownerDocument,pe=ve.createElement("li");_e.firstChild;)pe.appendChild(_e.firstChild);var Te=[pe];function Pe(re){var ue=re.nodeType;if(ue==1&&!ce.test(re.className))if(re.nodeName==="br")Se(re),re.parentNode&&re.parentNode.removeChild(re);else for(var de=re.firstChild;de;de=de.nextSibling)Pe(de);else if((ue==3||ue==4)&&ye){var Z=re.nodeValue,le=Z.match(be);if(le){var Y=Z.substring(0,le.index);re.nodeValue=Y;var z=Z.substring(le.index+le[0].length);if(z){var G=re.parentNode;G.insertBefore(ve.createTextNode(z),re.nextSibling)}Se(re),Y||re.parentNode.removeChild(re)}}}function Se(re){for(;!re.nextSibling;)if(re=re.parentNode,!re)return;function ue(le,Y){var z=Y?le.cloneNode(!1):le,G=le.parentNode;if(G){var B=ue(G,1),W=le.nextSibling;B.appendChild(z);for(var K=W;K;K=W)W=K.nextSibling,B.appendChild(K)}return z}for(var de=ue(re.nextSibling,0),Z;(Z=de.parentNode)&&Z.nodeType===1;)de=Z;Te.push(de)}for(var Ie=0;Ie=G&&(Pe+=2),ve>=B&&(Le+=2)}}finally{Z&&(Z.style.display=le)}}var ae={};function ne(_e,Ee){for(var ye=Ee.length;--ye>=0;){var ce=Ee[ye];ae.hasOwnProperty(ce)?D.console&&console.warn("cannot override language handler %s",ce):ae[ce]=_e}}function ee(_e,Ee){return _e&&ae.hasOwnProperty(_e)||(_e=/^\s*]*(?:>|$)/],[g,/^<\!--[\s\S]*?(?:-\->|$)/],["lang-",/^<\?([\s\S]+?)(?:\?>|$)/],["lang-",/^<%([\s\S]+?)(?:%>|$)/],[r,/^(?:<[%?]|[%?]>)/],["lang-",/^]*>([\s\S]+?)<\/xmp\b[^>]*>/i],["lang-js",/^