You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
91 lines
344 KiB
91 lines
344 KiB
(window.webpackJsonp=window.webpackJsonp||[]).push([[162,4],{"+ua5":function(se,T,s){},"/cxE":function(se,T,s){"use strict";s.d(T,"f",function(){return F}),s.d(T,"g",function(){return H}),s.d(T,"h",function(){return U}),s.d(T,"e",function(){return k}),s.d(T,"b",function(){return P}),s.d(T,"c",function(){return e}),s.d(T,"d",function(){return m}),s.d(T,"a",function(){return f});class S{constructor(){this.listeners=[],this.unexpectedErrorHandler=function(c){setTimeout(()=>{throw c.stack?new Error(c.message+`
|
|
|
|
`+c.stack):c},0)}}emit(c){this.listeners.forEach(r=>{r(c)})}onUnexpectedError(c){this.unexpectedErrorHandler(c),this.emit(c)}onUnexpectedExternalError(c){this.unexpectedErrorHandler(c)}}const j=new S;function F(c){k(c)||j.onUnexpectedError(c);return}function H(c){k(c)||j.onUnexpectedExternalError(c);return}function U(c){if(c instanceof Error){let{name:r,message:i}=c;const t=c.stacktrace||c.stack;return{$isError:!0,name:r,message:i,stack:t}}return c}const _="Canceled";function k(c){return c instanceof Error&&c.name===_&&c.message===_}function P(){const c=new Error(_);return c.name=c.message,c}function e(c){return c?new Error(`Illegal argument: ${c}`):new Error("Illegal argument")}function m(c){return c?new Error(`Illegal state: ${c}`):new Error("Illegal state")}class f extends Error{constructor(c){super("NotSupported");c&&(this.message=c)}}},"24hK":function(se,T,s){"use strict";s.d(T,"a",function(){return j});class S{constructor(F){this.element=F,this.next=S.Undefined,this.prev=S.Undefined}}S.Undefined=new S(void 0);class j{constructor(){this._first=S.Undefined,this._last=S.Undefined,this._size=0}get size(){return this._size}isEmpty(){return this._first===S.Undefined}clear(){let F=this._first;for(;F!==S.Undefined;){const H=F.next;F.prev=S.Undefined,F.next=S.Undefined,F=H}this._first=S.Undefined,this._last=S.Undefined,this._size=0}unshift(F){return this._insert(F,!1)}push(F){return this._insert(F,!0)}_insert(F,H){const U=new S(F);if(this._first===S.Undefined)this._first=U,this._last=U;else if(H){const k=this._last;this._last=U,U.prev=k,k.next=U}else{const k=this._first;this._first=U,U.next=k,k.prev=U}this._size+=1;let _=!1;return()=>{_||(_=!0,this._remove(U))}}shift(){if(this._first===S.Undefined)return;{const F=this._first.element;return this._remove(this._first),F}}pop(){if(this._last===S.Undefined)return;{const F=this._last.element;return this._remove(this._last),F}}_remove(F){if(F.prev!==S.Undefined&&F.next!==S.Undefined){const H=F.prev;H.next=F.next,F.next.prev=H}else F.prev===S.Undefined&&F.next===S.Undefined?(this._first=S.Undefined,this._last=S.Undefined):F.next===S.Undefined?(this._last=this._last.prev,this._last.next=S.Undefined):F.prev===S.Undefined&&(this._first=this._first.next,this._first.prev=S.Undefined);this._size-=1}*[Symbol.iterator](){let F=this._first;for(;F!==S.Undefined;)yield F.element,F=F.next}}},"3/fG":function(se,T,s){"use strict";s.d(T,"a",function(){return j});function S(F,H){let U;return H.length===0?U=F:U=F.replace(/\{(\d+)\}/g,function(_,k){const P=k[0];return typeof H[P]!="undefined"?H[P]:_}),U}function j(F,H,...U){return S(H,U)}},"5VLF":function(se,T,s){"use strict";var S,j;function F(H,U,_){var k=function(P,e){return H.js_beautify(P,e)};return k.js=H.js_beautify,k.css=U.css_beautify,k.html=_.html_beautify,k.js_beautify=H.js_beautify,k.css_beautify=U.css_beautify,k.html_beautify=_.html_beautify,k}!(S=[s("6UM0"),s("TXwP"),s("psGv")],j=function(H,U,_){return F(H,U,_)}.apply(T,S),j!==void 0&&(se.exports=j))},"5Y4S":function(se,T,s){"use strict";s.d(T,"a",function(){return F});var S=s("MNsG");const j=S.b.performance&&typeof S.b.performance.now=="function";class F{constructor(H){this._highResolution=j&&H,this._startTime=this._now(),this._stopTime=-1}static create(H=!0){return new F(H)}stop(){this._stopTime=this._now()}elapsed(){return this._stopTime!==-1?this._stopTime-this._startTime:this._now()-this._startTime}_now(){return this._highResolution?S.b.performance.now():Date.now()}}},"6RRn":function(se,T,s){"use strict";var S=s("wCXF"),j=s("n6Qo");s.d(T,"b",function(){return j.a});var F=s("IBYe"),H=s("6eGT"),U=s("hW8S");s.d(T,"a",function(){return U.a}),T.c=S.b},"6UM0":function(se,T,s){var S,j;(function(){var F;(function(){"use strict";var U=[function(e,m,f){var c=f(1).Beautifier,r=f(5).Options;function i(t,o){var d=new c(t,o);return d.beautify()}e.exports=i,e.exports.defaultOptions=function(){return new r}},function(e,m,f){var c=f(2).Output,r=f(3).Token,i=f(4),t=f(5).Options,o=f(7).Tokenizer,d=f(7).line_starters,g=f(7).positionable_operators,u=f(7).TOKEN;function l(n,y){return y.indexOf(n)!==-1}function w(n){return n.replace(/^\s+/g,"")}function A(n){for(var y={},R=0;R<n.length;R++)y[n[R].replace(/-/g,"_")]=n[R];return y}function N(n,y){return n&&n.type===u.RESERVED&&n.text===y}function O(n,y){return n&&n.type===u.RESERVED&&l(n.text,y)}var L=["case","return","do","if","throw","else","await","break","continue","async"],b=["before-newline","after-newline","preserve-newline"],D=A(b),K=[D.before_newline,D.preserve_newline],W={BlockStatement:"BlockStatement",Statement:"Statement",ObjectLiteral:"ObjectLiteral",ArrayLiteral:"ArrayLiteral",ForInitializer:"ForInitializer",Conditional:"Conditional",Expression:"Expression"};function C(n,y){if(y.multiline_frame||y.mode===W.ForInitializer||y.mode===W.Conditional)return;n.remove_indent(y.start_line_index)}function E(n){n=n.replace(i.allLineBreaks,`
|
|
`);for(var y=[],R=n.indexOf(`
|
|
`);R!==-1;)y.push(n.substring(0,R)),n=n.substring(R+1),R=n.indexOf(`
|
|
`);return n.length&&y.push(n),y}function v(n){return n===W.ArrayLiteral}function z(n){return l(n,[W.Expression,W.ForInitializer,W.Conditional])}function x(n,y){for(var R=0;R<n.length;R++){var M=n[R].trim();if(M.charAt(0)!==y)return!1}return!0}function a(n,y){for(var R=0,M=n.length,$;R<M;R++)if($=n[R],$&&$.indexOf(y)!==0)return!1;return!0}function h(n,y){y=y||{},this._source_text=n||"",this._output=null,this._tokens=null,this._last_last_text=null,this._flags=null,this._previous_flags=null,this._flag_store=null,this._options=new t(y)}h.prototype.create_flags=function(n,y){var R=0;n&&(R=n.indentation_level,!this._output.just_added_newline()&&n.line_indent_level>R&&(R=n.line_indent_level));var M={mode:y,parent:n,last_token:n?n.last_token:new r(u.START_BLOCK,""),last_word:n?n.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:R,alignment:0,line_indent_level:n?n.line_indent_level:R,start_line_index:this._output.get_line_number(),ternary_depth:0};return M},h.prototype._reset=function(n){var y=n.match(/^[\t ]*/)[0];this._last_last_text="",this._output=new c(this._options,y),this._output.raw=this._options.test_output_raw,this._flag_store=[],this.set_mode(W.BlockStatement);var R=new o(n,this._options);return this._tokens=R.tokenize(),n},h.prototype.beautify=function(){if(this._options.disabled)return this._source_text;var n,y=this._reset(this._source_text),R=this._options.eol;this._options.eol==="auto"&&(R=`
|
|
`,y&&i.lineBreak.test(y||"")&&(R=y.match(i.lineBreak)[0]));for(var M=this._tokens.next();M;)this.handle_token(M),this._last_last_text=this._flags.last_token.text,this._flags.last_token=M,M=this._tokens.next();return n=this._output.get_code(R),n},h.prototype.handle_token=function(n,y){n.type===u.START_EXPR?this.handle_start_expr(n):n.type===u.END_EXPR?this.handle_end_expr(n):n.type===u.START_BLOCK?this.handle_start_block(n):n.type===u.END_BLOCK?this.handle_end_block(n):n.type===u.WORD?this.handle_word(n):n.type===u.RESERVED?this.handle_word(n):n.type===u.SEMICOLON?this.handle_semicolon(n):n.type===u.STRING?this.handle_string(n):n.type===u.EQUALS?this.handle_equals(n):n.type===u.OPERATOR?this.handle_operator(n):n.type===u.COMMA?this.handle_comma(n):n.type===u.BLOCK_COMMENT?this.handle_block_comment(n,y):n.type===u.COMMENT?this.handle_comment(n,y):n.type===u.DOT?this.handle_dot(n):n.type===u.EOF?this.handle_eof(n):n.type===u.UNKNOWN?this.handle_unknown(n,y):this.handle_unknown(n,y)},h.prototype.handle_whitespace_and_comments=function(n,y){var R=n.newlines,M=this._options.keep_array_indentation&&v(this._flags.mode);if(n.comments_before)for(var $=n.comments_before.next();$;)this.handle_whitespace_and_comments($,y),this.handle_token($,y),$=n.comments_before.next();if(M)for(var ne=0;ne<R;ne+=1)this.print_newline(ne>0,y);else if(this._options.max_preserve_newlines&&R>this._options.max_preserve_newlines&&(R=this._options.max_preserve_newlines),this._options.preserve_newlines&&R>1){this.print_newline(!1,y);for(var V=1;V<R;V+=1)this.print_newline(!0,y)}};var p=["async","break","continue","return","throw","yield"];h.prototype.allow_wrap_or_preserved_newline=function(n,y){if(y=y===void 0?!1:y,this._output.just_added_newline())return;var R=this._options.preserve_newlines&&n.newlines||y,M=l(this._flags.last_token.text,g)||l(n.text,g);if(M){var $=l(this._flags.last_token.text,g)&&l(this._options.operator_position,K)||l(n.text,g);R=R&&$}if(R)this.print_newline(!1,!0);else if(this._options.wrap_line_length){if(O(this._flags.last_token,p))return;this._output.set_wrap_point()}},h.prototype.print_newline=function(n,y){if(!y&&(this._flags.last_token.text!==";"&&this._flags.last_token.text!==","&&this._flags.last_token.text!=="="&&(this._flags.last_token.type!==u.OPERATOR||this._flags.last_token.text==="--"||this._flags.last_token.text==="++")))for(var R=this._tokens.peek();this._flags.mode===W.Statement&&!(this._flags.if_block&&N(R,"else"))&&!this._flags.do_block;)this.restore_mode();this._output.add_new_line(n)&&(this._flags.multiline_frame=!0)},h.prototype.print_token_line_indentation=function(n){this._output.just_added_newline()&&(this._options.keep_array_indentation&&n.newlines&&(n.text==="["||v(this._flags.mode))?(this._output.current_line.set_indent(-1),this._output.current_line.push(n.whitespace_before),this._output.space_before_token=!1):this._output.set_indent(this._flags.indentation_level,this._flags.alignment)&&(this._flags.line_indent_level=this._flags.indentation_level))},h.prototype.print_token=function(n){if(this._output.raw){this._output.add_raw_token(n);return}if(this._options.comma_first&&n.previous&&n.previous.type===u.COMMA&&this._output.just_added_newline()&&this._output.previous_line.last()===","){var y=this._output.previous_line.pop();this._output.previous_line.is_empty()&&(this._output.previous_line.push(y),this._output.trim(!0),this._output.current_line.pop(),this._output.trim()),this.print_token_line_indentation(n),this._output.add_token(","),this._output.space_before_token=!0}this.print_token_line_indentation(n),this._output.non_breaking_space=!0,this._output.add_token(n.text),this._output.previous_token_wrapped&&(this._flags.multiline_frame=!0)},h.prototype.indent=function(){this._flags.indentation_level+=1,this._output.set_indent(this._flags.indentation_level,this._flags.alignment)},h.prototype.deindent=function(){this._flags.indentation_level>0&&(!this._flags.parent||this._flags.indentation_level>this._flags.parent.indentation_level)&&(this._flags.indentation_level-=1,this._output.set_indent(this._flags.indentation_level,this._flags.alignment))},h.prototype.set_mode=function(n){this._flags?(this._flag_store.push(this._flags),this._previous_flags=this._flags):this._previous_flags=this.create_flags(null,n),this._flags=this.create_flags(this._previous_flags,n),this._output.set_indent(this._flags.indentation_level,this._flags.alignment)},h.prototype.restore_mode=function(){this._flag_store.length>0&&(this._previous_flags=this._flags,this._flags=this._flag_store.pop(),this._previous_flags.mode===W.Statement&&C(this._output,this._previous_flags),this._output.set_indent(this._flags.indentation_level,this._flags.alignment))},h.prototype.start_of_object_property=function(){return this._flags.parent.mode===W.ObjectLiteral&&this._flags.mode===W.Statement&&(this._flags.last_token.text===":"&&this._flags.ternary_depth===0||O(this._flags.last_token,["get","set"]))},h.prototype.start_of_statement=function(n){var y=!1;return y=y||O(this._flags.last_token,["var","let","const"])&&n.type===u.WORD,y=y||N(this._flags.last_token,"do"),y=y||!(this._flags.parent.mode===W.ObjectLiteral&&this._flags.mode===W.Statement)&&O(this._flags.last_token,p)&&!n.newlines,y=y||N(this._flags.last_token,"else")&&!(N(n,"if")&&!n.comments_before),y=y||this._flags.last_token.type===u.END_EXPR&&(this._previous_flags.mode===W.ForInitializer||this._previous_flags.mode===W.Conditional),y=y||this._flags.last_token.type===u.WORD&&this._flags.mode===W.BlockStatement&&!this._flags.in_case&&!(n.text==="--"||n.text==="++")&&this._last_last_text!=="function"&&n.type!==u.WORD&&n.type!==u.RESERVED,y=y||this._flags.mode===W.ObjectLiteral&&(this._flags.last_token.text===":"&&this._flags.ternary_depth===0||O(this._flags.last_token,["get","set"])),y?(this.set_mode(W.Statement),this.indent(),this.handle_whitespace_and_comments(n,!0),this.start_of_object_property()||this.allow_wrap_or_preserved_newline(n,O(n,["do","for","if","while"])),!0):!1},h.prototype.handle_start_expr=function(n){this.start_of_statement(n)||this.handle_whitespace_and_comments(n);var y=W.Expression;if(n.text==="["){if(this._flags.last_token.type===u.WORD||this._flags.last_token.text===")"){O(this._flags.last_token,d)&&(this._output.space_before_token=!0),this.print_token(n),this.set_mode(y),this.indent(),this._options.space_in_paren&&(this._output.space_before_token=!0);return}y=W.ArrayLiteral,v(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())),l(this._flags.last_token.type,[u.START_EXPR,u.END_EXPR,u.WORD,u.OPERATOR,u.DOT])||(this._output.space_before_token=!0)}else{if(this._flags.last_token.type===u.RESERVED)this._flags.last_token.text==="for"?(this._output.space_before_token=this._options.space_before_conditional,y=W.ForInitializer):l(this._flags.last_token.text,["if","while","switch"])?(this._output.space_before_token=this._options.space_before_conditional,y=W.Conditional):l(this._flags.last_word,["await","async"])?this._output.space_before_token=!0:this._flags.last_token.text==="import"&&n.whitespace_before===""?this._output.space_before_token=!1:(l(this._flags.last_token.text,d)||this._flags.last_token.text==="catch")&&(this._output.space_before_token=!0);else if(this._flags.last_token.type===u.EQUALS||this._flags.last_token.type===u.OPERATOR)this.start_of_object_property()||this.allow_wrap_or_preserved_newline(n);else if(this._flags.last_token.type===u.WORD){this._output.space_before_token=!1;var R=this._tokens.peek(-3);if(this._options.space_after_named_function&&R){var M=this._tokens.peek(-4);O(R,["async","function"])||R.text==="*"&&O(M,["async","function"])?this._output.space_before_token=!0:this._flags.mode===W.ObjectLiteral?(R.text==="{"||R.text===","||R.text==="*"&&(M.text==="{"||M.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(n);(this._flags.last_token.type===u.RESERVED&&(this._flags.last_word==="function"||this._flags.last_word==="typeof")||this._flags.last_token.text==="*"&&(l(this._last_last_text,["function","yield"])||this._flags.mode===W.ObjectLiteral&&l(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===u.START_BLOCK?this.print_newline():(this._flags.last_token.type===u.END_EXPR||this._flags.last_token.type===u.START_EXPR||this._flags.last_token.type===u.END_BLOCK||this._flags.last_token.text==="."||this._flags.last_token.type===u.COMMA)&&this.allow_wrap_or_preserved_newline(n,n.newlines),this.print_token(n),this.set_mode(y),this._options.space_in_paren&&(this._output.space_before_token=!0),this.indent()},h.prototype.handle_end_expr=function(n){for(;this._flags.mode===W.Statement;)this.restore_mode();this.handle_whitespace_and_comments(n),this._flags.multiline_frame&&this.allow_wrap_or_preserved_newline(n,n.text==="]"&&v(this._flags.mode)&&!this._options.keep_array_indentation),this._options.space_in_paren&&(this._flags.last_token.type===u.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(n),this.restore_mode(),C(this._output,this._previous_flags),this._flags.do_while&&this._previous_flags.mode===W.Conditional&&(this._previous_flags.mode=W.Expression,this._flags.do_block=!1,this._flags.do_while=!1)},h.prototype.handle_start_block=function(n){this.handle_whitespace_and_comments(n);var y=this._tokens.peek(),R=this._tokens.peek(1);this._flags.last_word==="switch"&&this._flags.last_token.type===u.END_EXPR?(this.set_mode(W.BlockStatement),this._flags.in_case_statement=!0):this._flags.case_body?this.set_mode(W.BlockStatement):R&&(l(R.text,[":",","])&&l(y.type,[u.STRING,u.WORD,u.RESERVED])||l(y.text,["get","set","..."])&&l(R.type,[u.WORD,u.RESERVED]))?l(this._last_last_text,["class","interface"])&&!l(R.text,[":",","])?this.set_mode(W.BlockStatement):this.set_mode(W.ObjectLiteral):this._flags.last_token.type===u.OPERATOR&&this._flags.last_token.text==="=>"?this.set_mode(W.BlockStatement):l(this._flags.last_token.type,[u.EQUALS,u.START_EXPR,u.COMMA,u.OPERATOR])||O(this._flags.last_token,["return","throw","import","default"])?this.set_mode(W.ObjectLiteral):this.set_mode(W.BlockStatement),this._flags.last_token&&(O(this._flags.last_token.previous,["class","extends"])&&(this._flags.class_start_block=!0));var M=!y.comments_before&&y.text==="}",$=M&&this._flags.last_word==="function"&&this._flags.last_token.type===u.END_EXPR;if(this._options.brace_preserve_inline){var ne=0,V=null;this._flags.inline_frame=!0;do if(ne+=1,V=this._tokens.peek(ne-1),V.newlines){this._flags.inline_frame=!1;break}while(V.type!==u.EOF&&!(V.type===u.END_BLOCK&&V.opened===n))}(this._options.brace_style==="expand"||this._options.brace_style==="none"&&n.newlines)&&!this._flags.inline_frame?this._flags.last_token.type!==u.OPERATOR&&($||this._flags.last_token.type===u.EQUALS||O(this._flags.last_token,L)&&this._flags.last_token.text!=="else")?this._output.space_before_token=!0:this.print_newline(!1,!0):(v(this._previous_flags.mode)&&(this._flags.last_token.type===u.START_EXPR||this._flags.last_token.type===u.COMMA)&&((this._flags.last_token.type===u.COMMA||this._options.space_in_paren)&&(this._output.space_before_token=!0),(this._flags.last_token.type===u.COMMA||this._flags.last_token.type===u.START_EXPR&&this._flags.inline_frame)&&(this.allow_wrap_or_preserved_newline(n),this._previous_flags.multiline_frame=this._previous_flags.multiline_frame||this._flags.multiline_frame,this._flags.multiline_frame=!1)),this._flags.last_token.type!==u.OPERATOR&&this._flags.last_token.type!==u.START_EXPR&&(this._flags.last_token.type===u.START_BLOCK&&!this._flags.inline_frame?this.print_newline():this._output.space_before_token=!0)),this.print_token(n),this.indent(),!M&&!(this._options.brace_preserve_inline&&this._flags.inline_frame)&&this.print_newline()},h.prototype.handle_end_block=function(n){for(this.handle_whitespace_and_comments(n);this._flags.mode===W.Statement;)this.restore_mode();var y=this._flags.last_token.type===u.START_BLOCK;this._flags.inline_frame&&!y?this._output.space_before_token=!0:this._options.brace_style==="expand"?y||this.print_newline():y||(v(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(n)},h.prototype.handle_word=function(n){if(n.type===u.RESERVED){if(l(n.text,["set","get"])&&this._flags.mode!==W.ObjectLiteral)n.type=u.WORD;else if(n.text==="import"&&l(this._tokens.peek().text,["(","."]))n.type=u.WORD;else if(l(n.text,["as","from"])&&!this._flags.import_block)n.type=u.WORD;else if(this._flags.mode===W.ObjectLiteral){var y=this._tokens.peek();y.text===":"&&(n.type=u.WORD)}}if(this.start_of_statement(n)?O(this._flags.last_token,["var","let","const"])&&n.type===u.WORD&&(this._flags.declaration_statement=!0):n.newlines&&!z(this._flags.mode)&&(this._flags.last_token.type!==u.OPERATOR||this._flags.last_token.text==="--"||this._flags.last_token.text==="++")&&this._flags.last_token.type!==u.EQUALS&&(this._options.preserve_newlines||!O(this._flags.last_token,["var","let","const","set","get"]))?(this.handle_whitespace_and_comments(n),this.print_newline()):this.handle_whitespace_and_comments(n),this._flags.do_block&&!this._flags.do_while)if(N(n,"while")){this._output.space_before_token=!0,this.print_token(n),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&&N(n,"else"))this._flags.else_block=!0;else{for(;this._flags.mode===W.Statement;)this.restore_mode();this._flags.if_block=!1,this._flags.else_block=!1}if(this._flags.in_case_statement&&O(n,["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(n),this._flags.in_case=!0;return}if((this._flags.last_token.type===u.COMMA||this._flags.last_token.type===u.START_EXPR||this._flags.last_token.type===u.EQUALS||this._flags.last_token.type===u.OPERATOR)&&(this.start_of_object_property()||this.allow_wrap_or_preserved_newline(n)),N(n,"function")){(l(this._flags.last_token.text,["}",";"])||this._output.just_added_newline()&&!(l(this._flags.last_token.text,["(","[","{",":","=",","])||this._flags.last_token.type===u.OPERATOR))&&(!this._output.just_added_blankline()&&!n.comments_before&&(this.print_newline(),this.print_newline(!0))),this._flags.last_token.type===u.RESERVED||this._flags.last_token.type===u.WORD?O(this._flags.last_token,["get","set","new","export"])||O(this._flags.last_token,p)?this._output.space_before_token=!0:N(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===u.OPERATOR||this._flags.last_token.text==="="?this._output.space_before_token=!0:!this._flags.multiline_frame&&(z(this._flags.mode)||v(this._flags.mode))||this.print_newline(),this.print_token(n),this._flags.last_word=n.text;return}var R="NONE";if(this._flags.last_token.type===u.END_BLOCK?this._previous_flags.inline_frame?R="SPACE":O(n,["else","catch","finally","from"])?this._options.brace_style==="expand"||this._options.brace_style==="end-expand"||this._options.brace_style==="none"&&n.newlines?R="NEWLINE":(R="SPACE",this._output.space_before_token=!0):R="NEWLINE":this._flags.last_token.type===u.SEMICOLON&&this._flags.mode===W.BlockStatement?R="NEWLINE":this._flags.last_token.type===u.SEMICOLON&&z(this._flags.mode)?R="SPACE":this._flags.last_token.type===u.STRING?R="NEWLINE":this._flags.last_token.type===u.RESERVED||this._flags.last_token.type===u.WORD||this._flags.last_token.text==="*"&&(l(this._last_last_text,["function","yield"])||this._flags.mode===W.ObjectLiteral&&l(this._last_last_text,["{",","]))?R="SPACE":this._flags.last_token.type===u.START_BLOCK?this._flags.inline_frame?R="SPACE":R="NEWLINE":this._flags.last_token.type===u.END_EXPR&&(this._output.space_before_token=!0,R="NEWLINE"),O(n,d)&&this._flags.last_token.text!==")"&&(this._flags.inline_frame||this._flags.last_token.text==="else"||this._flags.last_token.text==="export"?R="SPACE":R="NEWLINE"),O(n,["else","catch","finally"]))if((!(this._flags.last_token.type===u.END_BLOCK&&this._previous_flags.mode===W.BlockStatement)||this._options.brace_style==="expand"||this._options.brace_style==="end-expand"||this._options.brace_style==="none"&&n.newlines)&&!this._flags.inline_frame)this.print_newline();else{this._output.trim(!0);var M=this._output.current_line;M.last()!=="}"&&this.print_newline(),this._output.space_before_token=!0}else R==="NEWLINE"?O(this._flags.last_token,L)?this._output.space_before_token=!0:this._flags.last_token.text==="declare"&&O(n,["var","let","const"])?this._output.space_before_token=!0:this._flags.last_token.type!==u.END_EXPR?(this._flags.last_token.type!==u.START_EXPR||!O(n,["var","let","const"]))&&this._flags.last_token.text!==":"&&(N(n,"if")&&N(n.previous,"else")?this._output.space_before_token=!0:this.print_newline()):O(n,d)&&this._flags.last_token.text!==")"&&this.print_newline():this._flags.multiline_frame&&v(this._flags.mode)&&this._flags.last_token.text===","&&this._last_last_text==="}"?this.print_newline():R==="SPACE"&&(this._output.space_before_token=!0);n.previous&&(n.previous.type===u.WORD||n.previous.type===u.RESERVED)&&(this._output.space_before_token=!0),this.print_token(n),this._flags.last_word=n.text,n.type===u.RESERVED&&(n.text==="do"?this._flags.do_block=!0:n.text==="if"?this._flags.if_block=!0:n.text==="import"?this._flags.import_block=!0:this._flags.import_block&&N(n,"from")&&(this._flags.import_block=!1))},h.prototype.handle_semicolon=function(n){this.start_of_statement(n)?this._output.space_before_token=!1:this.handle_whitespace_and_comments(n);for(var y=this._tokens.peek();this._flags.mode===W.Statement&&!(this._flags.if_block&&N(y,"else"))&&!this._flags.do_block;)this.restore_mode();this._flags.import_block&&(this._flags.import_block=!1),this.print_token(n)},h.prototype.handle_string=function(n){n.text.startsWith("`")&&n.newlines===0&&n.whitespace_before===""&&(n.previous.text===")"||this._flags.last_token.type===u.WORD)||(this.start_of_statement(n)?this._output.space_before_token=!0:(this.handle_whitespace_and_comments(n),this._flags.last_token.type===u.RESERVED||this._flags.last_token.type===u.WORD||this._flags.inline_frame?this._output.space_before_token=!0:this._flags.last_token.type===u.COMMA||this._flags.last_token.type===u.START_EXPR||this._flags.last_token.type===u.EQUALS||this._flags.last_token.type===u.OPERATOR?this.start_of_object_property()||this.allow_wrap_or_preserved_newline(n):n.text.startsWith("`")&&this._flags.last_token.type===u.END_EXPR&&(n.previous.text==="]"||n.previous.text===")")&&n.newlines===0?this._output.space_before_token=!0:this.print_newline())),this.print_token(n)},h.prototype.handle_equals=function(n){this.start_of_statement(n)||this.handle_whitespace_and_comments(n),this._flags.declaration_statement&&(this._flags.declaration_assignment=!0),this._output.space_before_token=!0,this.print_token(n),this._output.space_before_token=!0},h.prototype.handle_comma=function(n){this.handle_whitespace_and_comments(n,!0),this.print_token(n),this._output.space_before_token=!0,this._flags.declaration_statement?(z(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(n)):this._flags.mode===W.ObjectLiteral||this._flags.mode===W.Statement&&this._flags.parent.mode===W.ObjectLiteral?(this._flags.mode===W.Statement&&this.restore_mode(),this._flags.inline_frame||this.print_newline()):this._options.comma_first&&this.allow_wrap_or_preserved_newline(n)},h.prototype.handle_operator=function(n){var y=n.text==="*"&&(O(this._flags.last_token,["function","yield"])||l(this._flags.last_token.type,[u.START_BLOCK,u.COMMA,u.END_BLOCK,u.SEMICOLON])),R=l(n.text,["-","+"])&&(l(this._flags.last_token.type,[u.START_BLOCK,u.START_EXPR,u.EQUALS,u.OPERATOR])||l(this._flags.last_token.text,d)||this._flags.last_token.text===",");if(!this.start_of_statement(n)){var M=!y;this.handle_whitespace_and_comments(n,M)}if(n.text==="*"&&this._flags.last_token.type===u.DOT){this.print_token(n);return}if(n.text==="::"){this.print_token(n);return}if(this._flags.last_token.type===u.OPERATOR&&l(this._options.operator_position,K)&&this.allow_wrap_or_preserved_newline(n),n.text===":"&&this._flags.in_case){this.print_token(n),this._flags.in_case=!1,this._flags.case_body=!0,this._tokens.peek().type!==u.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 $=!0,ne=!0,V=!1;if(n.text===":"?this._flags.ternary_depth===0?$=!1:(this._flags.ternary_depth-=1,V=!0):n.text==="?"&&(this._flags.ternary_depth+=1),!R&&!y&&this._options.preserve_newlines&&l(n.text,g)){var Q=n.text===":",te=Q&&V,ee=Q&&!V;switch(this._options.operator_position){case D.before_newline:this._output.space_before_token=!ee,this.print_token(n),(!Q||te)&&this.allow_wrap_or_preserved_newline(n),this._output.space_before_token=!0;return;case D.after_newline:this._output.space_before_token=!0,!Q||te?this._tokens.peek().newlines?this.print_newline(!1,!0):this.allow_wrap_or_preserved_newline(n):this._output.space_before_token=!1,this.print_token(n),this._output.space_before_token=!0;return;case D.preserve_newline:ee||this.allow_wrap_or_preserved_newline(n),$=!(this._output.just_added_newline()||ee),this._output.space_before_token=$,this.print_token(n),this._output.space_before_token=!0;return}}if(y){this.allow_wrap_or_preserved_newline(n),$=!1;var Y=this._tokens.peek();ne=Y&&l(Y.type,[u.WORD,u.RESERVED])}else if(n.text==="...")this.allow_wrap_or_preserved_newline(n),$=this._flags.last_token.type===u.START_BLOCK,ne=!1;else if(l(n.text,["--","++","!","~"])||R){if((this._flags.last_token.type===u.COMMA||this._flags.last_token.type===u.START_EXPR)&&this.allow_wrap_or_preserved_newline(n),$=!1,ne=!1,n.newlines&&(n.text==="--"||n.text==="++"||n.text==="~")){var X=O(this._flags.last_token,L)&&n.newlines;X&&(this._previous_flags.if_block||this._previous_flags.else_block)&&this.restore_mode(),this.print_newline(X,!0)}this._flags.last_token.text===";"&&z(this._flags.mode)&&($=!0),this._flags.last_token.type===u.RESERVED?$=!0:this._flags.last_token.type===u.END_EXPR?$=!(this._flags.last_token.text==="]"&&(n.text==="--"||n.text==="++")):this._flags.last_token.type===u.OPERATOR&&($=l(n.text,["--","-","++","+"])&&l(this._flags.last_token.text,["--","-","++","+"]),l(n.text,["+","-"])&&l(this._flags.last_token.text,["--","++"])&&(ne=!0)),(this._flags.mode===W.BlockStatement&&!this._flags.inline_frame||this._flags.mode===W.Statement)&&(this._flags.last_token.text==="{"||this._flags.last_token.text===";")&&this.print_newline()}this._output.space_before_token=this._output.space_before_token||$,this.print_token(n),this._output.space_before_token=ne},h.prototype.handle_block_comment=function(n,y){if(this._output.raw){this._output.add_raw_token(n),n.directives&&n.directives.preserve==="end"&&(this._output.raw=this._options.test_output_raw);return}if(n.directives){this.print_newline(!1,y),this.print_token(n),n.directives.preserve==="start"&&(this._output.raw=!0),this.print_newline(!1,!0);return}if(!i.newline.test(n.text)&&!n.newlines){this._output.space_before_token=!0,this.print_token(n),this._output.space_before_token=!0;return}else this.print_block_commment(n,y)},h.prototype.print_block_commment=function(n,y){var R=E(n.text),M,$=!1,ne=!1,V=n.whitespace_before,Q=V.length;if(this.print_newline(!1,y),this.print_token_line_indentation(n),this._output.add_token(R[0]),this.print_newline(!1,y),R.length>1){for(R=R.slice(1),$=x(R,"*"),ne=a(R,V),$&&(this._flags.alignment=1),M=0;M<R.length;M++)$?(this.print_token_line_indentation(n),this._output.add_token(w(R[M]))):ne&&R[M]?(this.print_token_line_indentation(n),this._output.add_token(R[M].substring(Q))):(this._output.current_line.set_indent(-1),this._output.add_token(R[M])),this.print_newline(!1,y);this._flags.alignment=0}},h.prototype.handle_comment=function(n,y){n.newlines?this.print_newline(!1,y):this._output.trim(!0),this._output.space_before_token=!0,this.print_token(n),this.print_newline(!1,y)},h.prototype.handle_dot=function(n){this.start_of_statement(n)||this.handle_whitespace_and_comments(n,!0),this._flags.last_token.text.match("^[0-9]+$")&&(this._output.space_before_token=!0),O(this._flags.last_token,L)?this._output.space_before_token=!1:this.allow_wrap_or_preserved_newline(n,this._flags.last_token.text===")"&&this._options.break_chained_methods),this._options.unindent_chained_methods&&this._output.just_added_newline()&&this.deindent(),this.print_token(n)},h.prototype.handle_unknown=function(n,y){this.print_token(n),n.text[n.text.length-1]===`
|
|
`&&this.print_newline(!1,y)},h.prototype.handle_eof=function(n){for(;this._flags.mode===W.Statement;)this.restore_mode();this.handle_whitespace_and_comments(n)},e.exports.Beautifier=h},function(e){function m(r){this.__parent=r,this.__character_count=0,this.__indent_count=-1,this.__alignment_count=0,this.__wrap_point_index=0,this.__wrap_point_character_count=0,this.__wrap_point_indent_count=-1,this.__wrap_point_alignment_count=0,this.__items=[]}m.prototype.clone_empty=function(){var r=new m(this.__parent);return r.set_indent(this.__indent_count,this.__alignment_count),r},m.prototype.item=function(r){return r<0?this.__items[this.__items.length+r]:this.__items[r]},m.prototype.has_match=function(r){for(var i=this.__items.length-1;i>=0;i--)if(this.__items[i].match(r))return!0;return!1},m.prototype.set_indent=function(r,i){this.is_empty()&&(this.__indent_count=r||0,this.__alignment_count=i||0,this.__character_count=this.__parent.get_indent_size(this.__indent_count,this.__alignment_count))},m.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)},m.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},m.prototype._allow_wrap=function(){if(this._should_wrap()){this.__parent.add_new_line();var r=this.__parent.current_line;return r.set_indent(this.__wrap_point_indent_count,this.__wrap_point_alignment_count),r.__items=this.__items.slice(this.__wrap_point_index),this.__items=this.__items.slice(0,this.__wrap_point_index),r.__character_count+=this.__character_count-this.__wrap_point_character_count,this.__character_count=this.__wrap_point_character_count,r.__items[0]===" "&&(r.__items.splice(0,1),r.__character_count-=1),!0}return!1},m.prototype.is_empty=function(){return this.__items.length===0},m.prototype.last=function(){return this.is_empty()?null:this.__items[this.__items.length-1]},m.prototype.push=function(r){this.__items.push(r);var i=r.lastIndexOf(`
|
|
`);i!==-1?this.__character_count=r.length-i:this.__character_count+=r.length},m.prototype.pop=function(){var r=null;return this.is_empty()||(r=this.__items.pop(),this.__character_count-=r.length),r},m.prototype._remove_indent=function(){this.__indent_count>0&&(this.__indent_count-=1,this.__character_count-=this.__parent.indent_size)},m.prototype._remove_wrap_indent=function(){this.__wrap_point_indent_count>0&&(this.__wrap_point_indent_count-=1)},m.prototype.trim=function(){for(;this.last()===" ";)this.__items.pop(),this.__character_count-=1},m.prototype.toString=function(){var r="";return this.is_empty()?this.__parent.indent_empty_lines&&(r=this.__parent.get_indent_string(this.__indent_count)):(r=this.__parent.get_indent_string(this.__indent_count,this.__alignment_count),r+=this.__items.join("")),r};function f(r,i){this.__cache=[""],this.__indent_size=r.indent_size,this.__indent_string=r.indent_char,r.indent_with_tabs||(this.__indent_string=new Array(r.indent_size+1).join(r.indent_char)),i=i||"",r.indent_level>0&&(i=new Array(r.indent_level+1).join(this.__indent_string)),this.__base_string=i,this.__base_string_length=i.length}f.prototype.get_indent_size=function(r,i){var t=this.__base_string_length;return i=i||0,r<0&&(t=0),t+=r*this.__indent_size,t+=i,t},f.prototype.get_indent_string=function(r,i){var t=this.__base_string;return i=i||0,r<0&&(r=0,t=""),i+=r*this.__indent_size,this.__ensure_cache(i),t+=this.__cache[i],t},f.prototype.__ensure_cache=function(r){for(;r>=this.__cache.length;)this.__add_column()},f.prototype.__add_column=function(){var r=this.__cache.length,i=0,t="";this.__indent_size&&r>=this.__indent_size&&(i=Math.floor(r/this.__indent_size),r-=i*this.__indent_size,t=new Array(i+1).join(this.__indent_string)),r&&(t+=new Array(r+1).join(" ")),this.__cache.push(t)};function c(r,i){this.__indent_cache=new f(r,i),this.raw=!1,this._end_with_newline=r.end_with_newline,this.indent_size=r.indent_size,this.wrap_line_length=r.wrap_line_length,this.indent_empty_lines=r.indent_empty_lines,this.__lines=[],this.previous_line=null,this.current_line=null,this.next_line=new m(this),this.space_before_token=!1,this.non_breaking_space=!1,this.previous_token_wrapped=!1,this.__add_outputline()}c.prototype.__add_outputline=function(){this.previous_line=this.current_line,this.current_line=this.next_line.clone_empty(),this.__lines.push(this.current_line)},c.prototype.get_line_number=function(){return this.__lines.length},c.prototype.get_indent_string=function(r,i){return this.__indent_cache.get_indent_string(r,i)},c.prototype.get_indent_size=function(r,i){return this.__indent_cache.get_indent_size(r,i)},c.prototype.is_empty=function(){return!this.previous_line&&this.current_line.is_empty()},c.prototype.add_new_line=function(r){return this.is_empty()||!r&&this.just_added_newline()?!1:(this.raw||this.__add_outputline(),!0)},c.prototype.get_code=function(r){this.trim(!0);var i=this.current_line.pop();i&&(i[i.length-1]===`
|
|
`&&(i=i.replace(/\n+$/g,"")),this.current_line.push(i)),this._end_with_newline&&this.__add_outputline();var t=this.__lines.join(`
|
|
`);return r!==`
|
|
`&&(t=t.replace(/[\n]/g,r)),t},c.prototype.set_wrap_point=function(){this.current_line._set_wrap_point()},c.prototype.set_indent=function(r,i){return r=r||0,i=i||0,this.next_line.set_indent(r,i),this.__lines.length>1?(this.current_line.set_indent(r,i),!0):(this.current_line.set_indent(),!1)},c.prototype.add_raw_token=function(r){for(var i=0;i<r.newlines;i++)this.__add_outputline();this.current_line.set_indent(-1),this.current_line.push(r.whitespace_before),this.current_line.push(r.text),this.space_before_token=!1,this.non_breaking_space=!1,this.previous_token_wrapped=!1},c.prototype.add_token=function(r){this.__add_space_before_token(),this.current_line.push(r),this.space_before_token=!1,this.non_breaking_space=!1,this.previous_token_wrapped=this.current_line._allow_wrap()},c.prototype.__add_space_before_token=function(){this.space_before_token&&!this.just_added_newline()&&(this.non_breaking_space||this.set_wrap_point(),this.current_line.push(" "))},c.prototype.remove_indent=function(r){for(var i=this.__lines.length;r<i;)this.__lines[r]._remove_indent(),r++;this.current_line._remove_wrap_indent()},c.prototype.trim=function(r){for(r=r===void 0?!1:r,this.current_line.trim();r&&this.__lines.length>1&&this.current_line.is_empty();)this.__lines.pop(),this.current_line=this.__lines[this.__lines.length-1],this.current_line.trim();this.previous_line=this.__lines.length>1?this.__lines[this.__lines.length-2]:null},c.prototype.just_added_newline=function(){return this.current_line.is_empty()},c.prototype.just_added_blankline=function(){return this.is_empty()||this.current_line.is_empty()&&this.previous_line.is_empty()},c.prototype.ensure_empty_line_above=function(r,i){for(var t=this.__lines.length-2;t>=0;){var o=this.__lines[t];if(o.is_empty())break;if(o.item(0).indexOf(r)!==0&&o.item(-1)!==i){this.__lines.splice(t+1,0,new m(this)),this.previous_line=this.__lines[this.__lines.length-2];break}t--}},e.exports.Output=c},function(e){function m(f,c,r,i){this.type=f,this.text=c,this.comments_before=null,this.newlines=r||0,this.whitespace_before=i||"",this.parent=null,this.next=null,this.previous=null,this.opened=null,this.closed=null,this.directives=null}e.exports.Token=m},function(e,m){var f="\\x23\\x24\\x40\\x41-\\x5a\\x5f\\x61-\\x7a",c="\\x24\\x30-\\x39\\x41-\\x5a\\x5f\\x61-\\x7a",r="\\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",i="\\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",t="(?:\\\\u[0-9a-fA-F]{4}|["+f+r+"])",o="(?:\\\\u[0-9a-fA-F]{4}|["+c+r+i+"])*";m.identifier=new RegExp(t+o,"g"),m.identifierStart=new RegExp(t),m.identifierMatch=new RegExp("(?:\\\\u[0-9a-fA-F]{4}|["+c+r+i+"])+");var d=/[\u1680\u180e\u2000-\u200a\u202f\u205f\u3000\ufeff]/;m.newline=/[\n\r\u2028\u2029]/,m.lineBreak=new RegExp(`\r
|
|
|`+m.newline.source),m.allLineBreaks=new RegExp(m.lineBreak.source,"g")},function(e,m,f){var c=f(6).Options,r=["before-newline","after-newline","preserve-newline"];function i(t){c.call(this,t,"js");var o=this.raw_options.brace_style||null;o==="expand-strict"?this.raw_options.brace_style="expand":o==="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 d=this._get_selection_list("brace_style",["collapse","expand","end-expand","none","preserve-inline"]);this.brace_preserve_inline=!1,this.brace_style="collapse";for(var g=0;g<d.length;g++)d[g]==="preserve-inline"?this.brace_preserve_inline=!0:this.brace_style=d[g];this.unindent_chained_methods=this._get_boolean("unindent_chained_methods"),this.break_chained_methods=this._get_boolean("break_chained_methods"),this.space_in_paren=this._get_boolean("space_in_paren"),this.space_in_empty_paren=this._get_boolean("space_in_empty_paren"),this.jslint_happy=this._get_boolean("jslint_happy"),this.space_after_anon_function=this._get_boolean("space_after_anon_function"),this.space_after_named_function=this._get_boolean("space_after_named_function"),this.keep_array_indentation=this._get_boolean("keep_array_indentation"),this.space_before_conditional=this._get_boolean("space_before_conditional",!0),this.unescape_strings=this._get_boolean("unescape_strings"),this.e4x=this._get_boolean("e4x"),this.comma_first=this._get_boolean("comma_first"),this.operator_position=this._get_selection("operator_position",r),this.test_output_raw=this._get_boolean("test_output_raw"),this.jslint_happy&&(this.space_after_anon_function=!0)}i.prototype=new c,e.exports.Options=i},function(e){function m(r,i){this.raw_options=f(r,i),this.disabled=this._get_boolean("disabled"),this.eol=this._get_characters("eol","auto"),this.end_with_newline=this._get_boolean("end_with_newline"),this.indent_size=this._get_number("indent_size",4),this.indent_char=this._get_characters("indent_char"," "),this.indent_level=this._get_number("indent_level"),this.preserve_newlines=this._get_boolean("preserve_newlines",!0),this.max_preserve_newlines=this._get_number("max_preserve_newlines",32786),this.preserve_newlines||(this.max_preserve_newlines=0),this.indent_with_tabs=this._get_boolean("indent_with_tabs",this.indent_char===" "),this.indent_with_tabs&&(this.indent_char=" ",this.indent_size===1&&(this.indent_size=4)),this.wrap_line_length=this._get_number("wrap_line_length",this._get_number("max_char")),this.indent_empty_lines=this._get_boolean("indent_empty_lines"),this.templating=this._get_selection_list("templating",["auto","none","django","erb","handlebars","php","smarty"],["auto"])}m.prototype._get_array=function(r,i){var t=this.raw_options[r],o=i||[];return typeof t=="object"?t!==null&&typeof t.concat=="function"&&(o=t.concat()):typeof t=="string"&&(o=t.split(/[^a-zA-Z0-9_\/\-]+/)),o},m.prototype._get_boolean=function(r,i){var t=this.raw_options[r],o=t===void 0?!!i:!!t;return o},m.prototype._get_characters=function(r,i){var t=this.raw_options[r],o=i||"";return typeof t=="string"&&(o=t.replace(/\\r/,"\r").replace(/\\n/,`
|
|
`).replace(/\\t/," ")),o},m.prototype._get_number=function(r,i){var t=this.raw_options[r];i=parseInt(i,10),isNaN(i)&&(i=0);var o=parseInt(t,10);return isNaN(o)&&(o=i),o},m.prototype._get_selection=function(r,i,t){var o=this._get_selection_list(r,i,t);if(o.length!==1)throw new Error("Invalid Option Value: The option '"+r+`' can only be one of the following values:
|
|
`+i+`
|
|
You passed in: '`+this.raw_options[r]+"'");return o[0]},m.prototype._get_selection_list=function(r,i,t){if(!i||i.length===0)throw new Error("Selection list cannot be empty.");if(t=t||[i[0]],!this._is_valid_selection(t,i))throw new Error("Invalid Default Value!");var o=this._get_array(r,t);if(!this._is_valid_selection(o,i))throw new Error("Invalid Option Value: The option '"+r+`' can contain only the following values:
|
|
`+i+`
|
|
You passed in: '`+this.raw_options[r]+"'");return o},m.prototype._is_valid_selection=function(r,i){return r.length&&i.length&&!r.some(function(t){return i.indexOf(t)===-1})};function f(r,i){var t={};r=c(r);var o;for(o in r)o!==i&&(t[o]=r[o]);if(i&&r[i])for(o in r[i])t[o]=r[i][o];return t}function c(r){var i={},t;for(t in r){var o=t.replace(/-/g,"_");i[o]=r[t]}return i}e.exports.Options=m,e.exports.normalizeOpts=c,e.exports.mergeOpts=f},function(e,m,f){var c=f(8).InputScanner,r=f(9).Tokenizer,i=f(9).TOKEN,t=f(13).Directives,o=f(4),d=f(12).Pattern,g=f(14).TemplatablePattern;function u(x,a){return a.indexOf(x)!==-1}var l={START_EXPR:"TK_START_EXPR",END_EXPR:"TK_END_EXPR",START_BLOCK:"TK_START_BLOCK",END_BLOCK:"TK_END_BLOCK",WORD:"TK_WORD",RESERVED:"TK_RESERVED",SEMICOLON:"TK_SEMICOLON",STRING:"TK_STRING",EQUALS:"TK_EQUALS",OPERATOR:"TK_OPERATOR",COMMA:"TK_COMMA",BLOCK_COMMENT:"TK_BLOCK_COMMENT",COMMENT:"TK_COMMENT",DOT:"TK_DOT",UNKNOWN:"TK_UNKNOWN",START:i.START,RAW:i.RAW,EOF:i.EOF},w=new t(/\/\*/,/\*\//),A=/0[xX][0123456789abcdefABCDEF_]*n?|0[oO][01234567_]*n?|0[bB][01_]*n?|\d[\d_]*n|(?:\.\d[\d_]*|\d[\d_]*\.?[\d_]*)(?:[eE][+-]?[\d_]+)?/,N=/[0-9]/,O=/[^\d\.]/,L=">>> === !== &&= ??= ||= << && >= ** != == <= >> || ?? |> < / - + > : & % ? ^ | *".split(" "),b=">>>= ... >>= <<= === >>> !== **= &&= ??= ||= => ^= :: /= << <= == && -= >= >> != -- += ** || ?? ++ %= &= *= |= |> = ! ? > < : / ^ - + * & % ~ |";b=b.replace(/[-[\]{}()*+?.,\\^$|#]/g,"\\$&"),b="\\?\\.(?!\\d) "+b,b=b.replace(/ /g,"|");var D=new RegExp(b),K="continue,try,throw,return,var,let,const,if,switch,case,default,for,while,break,function,import,export".split(","),W=K.concat(["do","in","of","else","get","set","new","catch","finally","typeof","yield","async","await","from","as","class","extends"]),C=new RegExp("^(?:"+W.join("|")+")$"),E,v=function(x,a){r.call(this,x,a),this._patterns.whitespace=this._patterns.whitespace.matching(/\u00A0\u1680\u180e\u2000-\u200a\u202f\u205f\u3000\ufeff/.source,/\u2028\u2029/.source);var h=new d(this._input),p=new g(this._input).read_options(this._options);this.__patterns={template:p,identifier:p.starting_with(o.identifier).matching(o.identifierMatch),number:h.matching(A),punct:h.matching(D),comment:h.starting_with(/\/\//).until(/[\n\r\u2028\u2029]/),block_comment:h.starting_with(/\/\*/).until_after(/\*\//),html_comment_start:h.matching(/<!--/),html_comment_end:h.matching(/-->/),include:h.starting_with(/#include/).until_after(o.lineBreak),shebang:h.starting_with(/#!/).until_after(o.lineBreak),xml:h.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(/[`}\\]/)}};v.prototype=new r,v.prototype._is_comment=function(x){return x.type===l.COMMENT||x.type===l.BLOCK_COMMENT||x.type===l.UNKNOWN},v.prototype._is_opening=function(x){return x.type===l.START_BLOCK||x.type===l.START_EXPR},v.prototype._is_closing=function(x,a){return(x.type===l.END_BLOCK||x.type===l.END_EXPR)&&a&&(x.text==="]"&&a.text==="["||x.text===")"&&a.text==="("||x.text==="}"&&a.text==="{")},v.prototype._reset=function(){E=!1},v.prototype._get_next_token=function(x,a){var h=null;this._readWhitespace();var p=this._input.peek();return p===null?this._create_token(l.EOF,""):(h=h||this._read_non_javascript(p),h=h||this._read_string(p),h=h||this._read_word(x),h=h||this._read_singles(p),h=h||this._read_comment(p),h=h||this._read_regexp(p,x),h=h||this._read_xml(p,x),h=h||this._read_punctuation(),h=h||this._create_token(l.UNKNOWN,this._input.next()),h)},v.prototype._read_word=function(x){var a;if(a=this.__patterns.identifier.read(),a!=="")return a=a.replace(o.allLineBreaks,`
|
|
`),!(x.type===l.DOT||x.type===l.RESERVED&&(x.text==="set"||x.text==="get"))&&C.test(a)?(a==="in"||a==="of")&&(x.type===l.WORD||x.type===l.STRING)?this._create_token(l.OPERATOR,a):this._create_token(l.RESERVED,a):this._create_token(l.WORD,a);if(a=this.__patterns.number.read(),a!=="")return this._create_token(l.WORD,a)},v.prototype._read_singles=function(x){var a=null;return x==="("||x==="["?a=this._create_token(l.START_EXPR,x):x===")"||x==="]"?a=this._create_token(l.END_EXPR,x):x==="{"?a=this._create_token(l.START_BLOCK,x):x==="}"?a=this._create_token(l.END_BLOCK,x):x===";"?a=this._create_token(l.SEMICOLON,x):x==="."&&O.test(this._input.peek(1))?a=this._create_token(l.DOT,x):x===","&&(a=this._create_token(l.COMMA,x)),a&&this._input.next(),a},v.prototype._read_punctuation=function(){var x=this.__patterns.punct.read();if(x!=="")return x==="="?this._create_token(l.EQUALS,x):x==="?."?this._create_token(l.DOT,x):this._create_token(l.OPERATOR,x)},v.prototype._read_non_javascript=function(x){var a="";if(x==="#"){if(this._is_first_token()&&(a=this.__patterns.shebang.read(),a))return this._create_token(l.UNKNOWN,a.trim()+`
|
|
`);if(a=this.__patterns.include.read(),a)return this._create_token(l.UNKNOWN,a.trim()+`
|
|
`);x=this._input.next();var h="#";if(this._input.hasNext()&&this._input.testChar(N)){do x=this._input.next(),h+=x;while(this._input.hasNext()&&x!=="#"&&x!=="=");return x==="#"||(this._input.peek()==="["&&this._input.peek(1)==="]"?(h+="[]",this._input.next(),this._input.next()):this._input.peek()==="{"&&this._input.peek(1)==="}"&&(h+="{}",this._input.next(),this._input.next())),this._create_token(l.WORD,h)}this._input.back()}else if(x==="<"&&this._is_first_token()){if(a=this.__patterns.html_comment_start.read(),a){for(;this._input.hasNext()&&!this._input.testChar(o.newline);)a+=this._input.next();return E=!0,this._create_token(l.COMMENT,a)}}else if(E&&x==="-"&&(a=this.__patterns.html_comment_end.read(),a))return E=!1,this._create_token(l.COMMENT,a);return null},v.prototype._read_comment=function(x){var a=null;if(x==="/"){var h="";if(this._input.peek(1)==="*"){h=this.__patterns.block_comment.read();var p=w.get_directives(h);p&&p.ignore==="start"&&(h+=w.readIgnored(this._input)),h=h.replace(o.allLineBreaks,`
|
|
`),a=this._create_token(l.BLOCK_COMMENT,h),a.directives=p}else this._input.peek(1)==="/"&&(h=this.__patterns.comment.read(),a=this._create_token(l.COMMENT,h))}return a},v.prototype._read_string=function(x){if(x==="`"||x==="'"||x==='"'){var a=this._input.next();return this.has_char_escapes=!1,x==="`"?a+=this._read_string_recursive("`",!0,"${"):a+=this._read_string_recursive(x),this.has_char_escapes&&this._options.unescape_strings&&(a=z(a)),this._input.peek()===x&&(a+=this._input.next()),a=a.replace(o.allLineBreaks,`
|
|
`),this._create_token(l.STRING,a)}return null},v.prototype._allow_regexp_or_xml=function(x){return x.type===l.RESERVED&&u(x.text,["return","case","throw","else","do","typeof","yield"])||x.type===l.END_EXPR&&x.text===")"&&x.opened.previous.type===l.RESERVED&&u(x.opened.previous.text,["if","while","for"])||u(x.type,[l.COMMENT,l.START_EXPR,l.START_BLOCK,l.START,l.END_BLOCK,l.OPERATOR,l.EQUALS,l.EOF,l.SEMICOLON,l.COMMA])},v.prototype._read_regexp=function(x,a){if(x==="/"&&this._allow_regexp_or_xml(a)){for(var h=this._input.next(),p=!1,n=!1;this._input.hasNext()&&(p||n||this._input.peek()!==x)&&!this._input.testChar(o.newline);)h+=this._input.peek(),p?p=!1:(p=this._input.peek()==="\\",this._input.peek()==="["?n=!0:this._input.peek()==="]"&&(n=!1)),this._input.next();return this._input.peek()===x&&(h+=this._input.next(),h+=this._input.read(o.identifier)),this._create_token(l.STRING,h)}return null},v.prototype._read_xml=function(x,a){if(this._options.e4x&&x==="<"&&this._allow_regexp_or_xml(a)){var h="",p=this.__patterns.xml.read_match();if(p){for(var n=p[2].replace(/^{\s+/,"{").replace(/\s+}$/,"}"),y=n.indexOf("{")===0,R=0;p;){var M=!!p[1],$=p[2],ne=!!p[p.length-1]||$.slice(0,8)==="![CDATA[";if(!ne&&($===n||y&&$.replace(/^{\s+/,"{").replace(/\s+}$/,"}"))&&(M?--R:++R),h+=p[0],R<=0)break;p=this.__patterns.xml.read_match()}return p||(h+=this._input.match(/[\s\S]*/g)[0]),h=h.replace(o.allLineBreaks,`
|
|
`),this._create_token(l.STRING,h)}}return null};function z(x){for(var a="",h=0,p=new c(x),n=null;p.hasNext();)if(n=p.match(/([\s]|[^\\]|\\\\)+/g),n&&(a+=n[0]),p.peek()==="\\"){if(p.next(),p.peek()==="x")n=p.match(/x([0-9A-Fa-f]{2})/g);else if(p.peek()==="u")n=p.match(/u([0-9A-Fa-f]{4})/g);else{a+="\\",p.hasNext()&&(a+=p.next());continue}if(!n)return x;if(h=parseInt(n[1],16),h>126&&h<=255&&n[0].indexOf("x")===0)return x;if(h>=0&&h<32){a+="\\"+n[0];continue}else h===34||h===39||h===92?a+="\\"+String.fromCharCode(h):a+=String.fromCharCode(h)}return a}v.prototype._read_string_recursive=function(x,a,h){var p,n;x==="'"?n=this.__patterns.single_quote:x==='"'?n=this.__patterns.double_quote:x==="`"?n=this.__patterns.template_text:x==="}"&&(n=this.__patterns.template_expression);for(var y=n.read(),R="";this._input.hasNext();){if(R=this._input.next(),R===x||!a&&o.newline.test(R)){this._input.back();break}else R==="\\"&&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(),R+=this._input.next()):h&&(h==="${"&&R==="$"&&this._input.peek()==="{"&&(R+=this._input.next()),h===R&&(x==="`"?R+=this._read_string_recursive("}",a,"`"):R+=this._read_string_recursive("`",a,"${"),this._input.hasNext()&&(R+=this._input.next())));R+=n.read(),y+=R}return y},e.exports.Tokenizer=v,e.exports.TOKEN=l,e.exports.positionable_operators=L.slice(),e.exports.line_starters=K.slice()},function(e){var m=RegExp.prototype.hasOwnProperty("sticky");function f(c){this.__input=c||"",this.__input_length=this.__input.length,this.__position=0}f.prototype.restart=function(){this.__position=0},f.prototype.back=function(){this.__position>0&&(this.__position-=1)},f.prototype.hasNext=function(){return this.__position<this.__input_length},f.prototype.next=function(){var c=null;return this.hasNext()&&(c=this.__input.charAt(this.__position),this.__position+=1),c},f.prototype.peek=function(c){var r=null;return c=c||0,c+=this.__position,c>=0&&c<this.__input_length&&(r=this.__input.charAt(c)),r},f.prototype.__match=function(c,r){c.lastIndex=r;var i=c.exec(this.__input);return i&&!(m&&c.sticky)&&(i.index!==r&&(i=null)),i},f.prototype.test=function(c,r){return r=r||0,r+=this.__position,r>=0&&r<this.__input_length?!!this.__match(c,r):!1},f.prototype.testChar=function(c,r){var i=this.peek(r);return c.lastIndex=0,i!==null&&c.test(i)},f.prototype.match=function(c){var r=this.__match(c,this.__position);return r?this.__position+=r[0].length:r=null,r},f.prototype.read=function(c,r,i){var t="",o;return c&&(o=this.match(c),o&&(t+=o[0])),r&&(o||!c)&&(t+=this.readUntil(r,i)),t},f.prototype.readUntil=function(c,r){var i="",t=this.__position;c.lastIndex=this.__position;var o=c.exec(this.__input);return o?(t=o.index,r&&(t+=o[0].length)):t=this.__input_length,i=this.__input.substring(this.__position,t),this.__position=t,i},f.prototype.readUntilAfter=function(c){return this.readUntil(c,!0)},f.prototype.get_regexp=function(c,r){var i=null,t="g";return r&&m&&(t="y"),typeof c=="string"&&c!==""?i=new RegExp(c,t):c&&(i=new RegExp(c.source,t)),i},f.prototype.get_literal_regexp=function(c){return RegExp(c.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&"))},f.prototype.peekUntilAfter=function(c){var r=this.__position,i=this.readUntilAfter(c);return this.__position=r,i},f.prototype.lookBack=function(c){var r=this.__position-1;return r>=c.length&&this.__input.substring(r-c.length,r).toLowerCase()===c},e.exports.InputScanner=f},function(e,m,f){var c=f(8).InputScanner,r=f(3).Token,i=f(10).TokenStream,t=f(11).WhitespacePattern,o={START:"TK_START",RAW:"TK_RAW",EOF:"TK_EOF"},d=function(g,u){this._input=new c(g),this._options=u||{},this.__tokens=null,this._patterns={},this._patterns.whitespace=new t(this._input)};d.prototype.tokenize=function(){this._input.restart(),this.__tokens=new i,this._reset();for(var g,u=new r(o.START,""),l=null,w=[],A=new i;u.type!==o.EOF;){for(g=this._get_next_token(u,l);this._is_comment(g);)A.add(g),g=this._get_next_token(u,l);A.isEmpty()||(g.comments_before=A,A=new i),g.parent=l,this._is_opening(g)?(w.push(l),l=g):l&&this._is_closing(g,l)&&(g.opened=l,l.closed=g,l=w.pop(),g.parent=l),g.previous=u,u.next=g,this.__tokens.add(g),u=g}return this.__tokens},d.prototype._is_first_token=function(){return this.__tokens.isEmpty()},d.prototype._reset=function(){},d.prototype._get_next_token=function(g,u){this._readWhitespace();var l=this._input.read(/.+/g);return l?this._create_token(o.RAW,l):this._create_token(o.EOF,"")},d.prototype._is_comment=function(g){return!1},d.prototype._is_opening=function(g){return!1},d.prototype._is_closing=function(g,u){return!1},d.prototype._create_token=function(g,u){var l=new r(g,u,this._patterns.whitespace.newline_count,this._patterns.whitespace.whitespace_before_token);return l},d.prototype._readWhitespace=function(){return this._patterns.whitespace.read()},e.exports.Tokenizer=d,e.exports.TOKEN=o},function(e){function m(f){this.__tokens=[],this.__tokens_length=this.__tokens.length,this.__position=0,this.__parent_token=f}m.prototype.restart=function(){this.__position=0},m.prototype.isEmpty=function(){return this.__tokens_length===0},m.prototype.hasNext=function(){return this.__position<this.__tokens_length},m.prototype.next=function(){var f=null;return this.hasNext()&&(f=this.__tokens[this.__position],this.__position+=1),f},m.prototype.peek=function(f){var c=null;return f=f||0,f+=this.__position,f>=0&&f<this.__tokens_length&&(c=this.__tokens[f]),c},m.prototype.add=function(f){this.__parent_token&&(f.parent=this.__parent_token),this.__tokens.push(f),this.__tokens_length+=1},e.exports.TokenStream=m},function(e,m,f){var c=f(12).Pattern;function r(i,t){c.call(this,i,t),t?this._line_regexp=this._input.get_regexp(t._line_regexp):this.__set_whitespace_patterns("",""),this.newline_count=0,this.whitespace_before_token=""}r.prototype=new c,r.prototype.__set_whitespace_patterns=function(i,t){i+="\\t ",t+="\\n\\r",this._match_pattern=this._input.get_regexp("["+i+t+"]+",!0),this._newline_regexp=this._input.get_regexp("\\r\\n|["+t+"]")},r.prototype.read=function(){this.newline_count=0,this.whitespace_before_token="";var i=this._input.read(this._match_pattern);if(i===" ")this.whitespace_before_token=" ";else if(i){var t=this.__split(this._newline_regexp,i);this.newline_count=t.length-1,this.whitespace_before_token=t[this.newline_count]}return i},r.prototype.matching=function(i,t){var o=this._create();return o.__set_whitespace_patterns(i,t),o._update(),o},r.prototype._create=function(){return new r(this._input,this)},r.prototype.__split=function(i,t){i.lastIndex=0;for(var o=0,d=[],g=i.exec(t);g;)d.push(t.substring(o,g.index)),o=g.index+g[0].length,g=i.exec(t);return o<t.length?d.push(t.substring(o,t.length)):d.push(""),d},e.exports.WhitespacePattern=r},function(e){function m(f,c){this._input=f,this._starting_pattern=null,this._match_pattern=null,this._until_pattern=null,this._until_after=!1,c&&(this._starting_pattern=this._input.get_regexp(c._starting_pattern,!0),this._match_pattern=this._input.get_regexp(c._match_pattern,!0),this._until_pattern=this._input.get_regexp(c._until_pattern),this._until_after=c._until_after)}m.prototype.read=function(){var f=this._input.read(this._starting_pattern);return(!this._starting_pattern||f)&&(f+=this._input.read(this._match_pattern,this._until_pattern,this._until_after)),f},m.prototype.read_match=function(){return this._input.match(this._match_pattern)},m.prototype.until_after=function(f){var c=this._create();return c._until_after=!0,c._until_pattern=this._input.get_regexp(f),c._update(),c},m.prototype.until=function(f){var c=this._create();return c._until_after=!1,c._until_pattern=this._input.get_regexp(f),c._update(),c},m.prototype.starting_with=function(f){var c=this._create();return c._starting_pattern=this._input.get_regexp(f,!0),c._update(),c},m.prototype.matching=function(f){var c=this._create();return c._match_pattern=this._input.get_regexp(f,!0),c._update(),c},m.prototype._create=function(){return new m(this._input,this)},m.prototype._update=function(){},e.exports.Pattern=m},function(e){function m(f,c){f=typeof f=="string"?f:f.source,c=typeof c=="string"?c:c.source,this.__directives_block_pattern=new RegExp(f+/ beautify( \w+[:]\w+)+ /.source+c,"g"),this.__directive_pattern=/ (\w+)[:](\w+)/g,this.__directives_end_ignore_pattern=new RegExp(f+/\sbeautify\signore:end\s/.source+c,"g")}m.prototype.get_directives=function(f){if(!f.match(this.__directives_block_pattern))return null;var c={};this.__directive_pattern.lastIndex=0;for(var r=this.__directive_pattern.exec(f);r;)c[r[1]]=r[2],r=this.__directive_pattern.exec(f);return c},m.prototype.readIgnored=function(f){return f.readUntilAfter(this.__directives_end_ignore_pattern)},e.exports.Directives=m},function(e,m,f){var c=f(12).Pattern,r={django:!1,erb:!1,handlebars:!1,php:!1,smarty:!1};function i(t,o){c.call(this,t,o),this.__template_pattern=null,this._disabled=Object.assign({},r),this._excluded=Object.assign({},r),o&&(this.__template_pattern=this._input.get_regexp(o.__template_pattern),this._excluded=Object.assign(this._excluded,o._excluded),this._disabled=Object.assign(this._disabled,o._disabled));var d=new c(t);this.__patterns={handlebars_comment:d.starting_with(/{{!--/).until_after(/--}}/),handlebars_unescaped:d.starting_with(/{{{/).until_after(/}}}/),handlebars:d.starting_with(/{{/).until_after(/}}/),php:d.starting_with(/<\?(?:[= ]|php)/).until_after(/\?>/),erb:d.starting_with(/<%[^%]/).until_after(/[^%]%>/),django:d.starting_with(/{%/).until_after(/%}/),django_value:d.starting_with(/{{/).until_after(/}}/),django_comment:d.starting_with(/{#/).until_after(/#}/),smarty:d.starting_with(/{(?=[^}{\s\n])/).until_after(/[^\s\n]}/),smarty_comment:d.starting_with(/{\*/).until_after(/\*}/),smarty_literal:d.starting_with(/{literal}/).until_after(/{\/literal}/)}}i.prototype=new c,i.prototype._create=function(){return new i(this._input,this)},i.prototype._update=function(){this.__set_templated_pattern()},i.prototype.disable=function(t){var o=this._create();return o._disabled[t]=!0,o._update(),o},i.prototype.read_options=function(t){var o=this._create();for(var d in r)o._disabled[d]=t.templating.indexOf(d)===-1;return o._update(),o},i.prototype.exclude=function(t){var o=this._create();return o._excluded[t]=!0,o._update(),o},i.prototype.read=function(){var t="";this._match_pattern?t=this._input.read(this._starting_pattern):t=this._input.read(this._starting_pattern,this.__template_pattern);for(var o=this._read_template();o;)this._match_pattern?o+=this._input.read(this._match_pattern):o+=this._input.readUntil(this.__template_pattern),t+=o,o=this._read_template();return this._until_after&&(t+=this._input.readUntilAfter(this._until_pattern)),t},i.prototype.__set_templated_pattern=function(){var t=[];this._disabled.php||t.push(this.__patterns.php._starting_pattern.source),this._disabled.handlebars||t.push(this.__patterns.handlebars._starting_pattern.source),this._disabled.erb||t.push(this.__patterns.erb._starting_pattern.source),this._disabled.django||(t.push(this.__patterns.django._starting_pattern.source),t.push(this.__patterns.django_value._starting_pattern.source),t.push(this.__patterns.django_comment._starting_pattern.source)),this._disabled.smarty||t.push(this.__patterns.smarty._starting_pattern.source),this._until_pattern&&t.push(this._until_pattern.source),this.__template_pattern=this._input.get_regexp("(?:"+t.join("|")+")")},i.prototype._read_template=function(){var t="",o=this._input.peek();if(o==="<"){var d=this._input.peek(1);!this._disabled.php&&!this._excluded.php&&d==="?"&&(t=t||this.__patterns.php.read()),!this._disabled.erb&&!this._excluded.erb&&d==="%"&&(t=t||this.__patterns.erb.read())}else o==="{"&&(!this._disabled.handlebars&&!this._excluded.handlebars&&(t=t||this.__patterns.handlebars_comment.read(),t=t||this.__patterns.handlebars_unescaped.read(),t=t||this.__patterns.handlebars.read()),this._disabled.django||(!this._excluded.django&&!this._excluded.handlebars&&(t=t||this.__patterns.django_value.read()),this._excluded.django||(t=t||this.__patterns.django_comment.read(),t=t||this.__patterns.django.read())),this._disabled.smarty||this._disabled.django&&this._disabled.handlebars&&(t=t||this.__patterns.smarty_comment.read(),t=t||this.__patterns.smarty_literal.read(),t=t||this.__patterns.smarty.read()));return t},e.exports.TemplatablePattern=i}],_={};function k(e){var m=_[e];if(m!==void 0)return m.exports;var f=_[e]={exports:{}};return U[e](f,f.exports,k),f.exports}var P=k(0);F=P})();var H=F;!(S=[],j=function(){return{js_beautify:H}}.apply(T,S),j!==void 0&&(se.exports=j))})()},"6eGT":function(se,T,s){"use strict";function S(j){return null}T.a=S},"746U":function(se,T,s){"use strict";s.d(T,"f",function(){return S}),s.d(T,"l",function(){return j}),s.d(T,"k",function(){return F}),s.d(T,"j",function(){return H}),s.d(T,"g",function(){return U}),s.d(T,"m",function(){return _}),s.d(T,"h",function(){return k}),s.d(T,"n",function(){return P}),s.d(T,"c",function(){return e}),s.d(T,"a",function(){return m}),s.d(T,"i",function(){return f}),s.d(T,"o",function(){return c}),s.d(T,"e",function(){return t}),s.d(T,"d",function(){return o}),s.d(T,"p",function(){return d}),s.d(T,"b",function(){return g});function S(u){return Array.isArray(u)}function j(u){return typeof u=="string"}function F(u){return typeof u=="object"&&u!==null&&!Array.isArray(u)&&!(u instanceof RegExp)&&!(u instanceof Date)}function H(u){return typeof u=="number"&&!isNaN(u)}function U(u){return u===!0||u===!1}function _(u){return typeof u=="undefined"}function k(u){return!P(u)}function P(u){return _(u)||u===null}function e(u,l){if(!u)throw new Error(l?`Unexpected type, expected '${l}'`:"Unexpected type")}function m(u){if(P(u))throw new Error("Assertion Failed: argument is undefined or null");return u}function f(u){return typeof u=="function"}function c(u,l){const w=Math.min(u.length,l.length);for(let A=0;A<w;A++)r(u[A],l[A])}function r(u,l){if(j(l)){if(typeof u!==l)throw new Error(`argument does not match constraint: typeof ${l}`)}else if(f(l)){try{if(u instanceof l)return}catch(w){}if(!P(u)&&u.constructor===l)return;if(l.length===1&&l.call(void 0,u)===!0)return;throw new Error("argument does not match one of these constraints: arg instanceof constraint, arg.constructor === constraint, nor constraint(arg) === true")}}function i(u){let l=[],w=Object.getPrototypeOf(u);for(;Object.prototype!==w;)l=l.concat(Object.getOwnPropertyNames(w)),w=Object.getPrototypeOf(w);return l}function t(u){const l=[];for(const w of i(u))typeof u[w]=="function"&&l.push(w);return l}function o(u,l){const w=N=>function(){const O=Array.prototype.slice.call(arguments,0);return l(N,O)};let A={};for(const N of u)A[N]=w(N);return A}function d(u){return u===null?void 0:u}function g(u,l="Unreachable"){throw new Error(l)}},"815F":function(se,T,s){"use strict";s.d(T,"e",function(){return k}),s.d(T,"c",function(){return e}),s.d(T,"d",function(){return m}),s.d(T,"a",function(){return c}),s.d(T,"f",function(){return r}),s.d(T,"b",function(){return i});var S=s("KQm4"),j=s("VTBJ"),F=s("Ff2n"),H=s("Zm9Q"),U=s("Kwbf"),_=s("OZM5");function k(t,o){return t!=null?t:o}function P(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],o=new Map;function d(g){var u=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";(g||[]).forEach(function(l){var w=l.key,A=l.children;Object(U.a)(w!=null,"Tree node must have a certain key: [".concat(u).concat(w,"]"));var N=String(w);Object(U.a)(!o.has(N)||w===null||w===void 0,"Same 'key' exist in the Tree: ".concat(N)),o.set(N,!0),d(A,"".concat(u).concat(N," > "))})}d(t)}function e(t){function o(d){var g=Object(H.a)(d);return g.map(function(u){if(!Object(_.i)(u))return Object(U.a)(!u,"Tree/TreeNode can only accept TreeNode as children."),null;var l=u.key,w=u.props,A=w.children,N=Object(F.a)(w,["children"]),O=Object(j.a)({key:l},N),L=o(A);return L.length&&(O.children=L),O}).filter(function(u){return u})}return o(t)}function m(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],d=new Set(o===!0?[]:o),g=[];function u(l){var w=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;return l.map(function(A,N){var O=Object(_.h)(w?w.pos:"0",N),L=k(A.key,O),b=Object(j.a)(Object(j.a)({},A),{},{parent:w,pos:O,children:null,data:A,isStart:[].concat(Object(S.a)(w?w.isStart:[]),[N===0]),isEnd:[].concat(Object(S.a)(w?w.isEnd:[]),[N===l.length-1])});return g.push(b),o===!0||d.has(L)?b.children=u(A.children||[],b):b.children=[],b})}return u(t),g}function f(t,o,d){var g;d?typeof d=="string"?g=function(w){return w[d]}:typeof d=="function"&&(g=function(w){return d(w)}):g=function(w,A){return k(w.key,A)};function u(l,w,A){var N=l?l.children:t,O=l?Object(_.h)(A.pos,w):"0";if(l){var L=g(l,O),b={node:l,index:w,pos:O,key:L,parentPos:A.node?A.pos:null,level:A.level+1};o(b)}N&&N.forEach(function(D,K){u(D,K,{node:l,pos:O,level:A?A.level+1:-1})})}u(null)}function c(t){var o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},d=o.initWrapper,g=o.processEntity,u=o.onProcessFinished,l=arguments.length>2?arguments[2]:void 0,w={},A={},N={posEntities:w,keyEntities:A};return d&&(N=d(N)||N),f(t,function(O){var L=O.node,b=O.index,D=O.pos,K=O.key,W=O.parentPos,C=O.level,E={node:L,index:b,key:K,pos:D,level:C},v=k(K,D);w[D]=E,A[v]=E,E.parent=w[W],E.parent&&(E.parent.children=E.parent.children||[],E.parent.children.push(E)),g&&g(E,N)},l),u&&u(N),N}function r(t,o){var d=o.expandedKeys,g=o.selectedKeys,u=o.loadedKeys,l=o.loadingKeys,w=o.checkedKeys,A=o.halfCheckedKeys,N=o.dragOverNodeKey,O=o.dropPosition,L=o.keyEntities,b=L[t],D={eventKey:t,expanded:d.indexOf(t)!==-1,selected:g.indexOf(t)!==-1,loaded:u.indexOf(t)!==-1,loading:l.indexOf(t)!==-1,checked:w.indexOf(t)!==-1,halfChecked:A.indexOf(t)!==-1,pos:String(b?b.pos:""),dragOver:N===t&&O===0,dragOverGapTop:N===t&&O===-1,dragOverGapBottom:N===t&&O===1};return D}function i(t){var o=t.data,d=t.expanded,g=t.selected,u=t.checked,l=t.loaded,w=t.loading,A=t.halfChecked,N=t.dragOver,O=t.dragOverGapTop,L=t.dragOverGapBottom,b=t.pos,D=t.active,K=Object(j.a)(Object(j.a)({},o),{},{expanded:d,selected:g,checked:u,loaded:l,loading:w,halfChecked:A,dragOver:N,dragOverGapTop:O,dragOverGapBottom:L,pos:b,active:D});return"props"in K||Object.defineProperty(K,"props",{get:function(){return Object(U.a)(!1,"Second param return from event is node data instead of TreeNode instance. Please read value directly instead of reading from `props`."),t}}),K}},"8HAY":function(se,T,s){"use strict";s.d(T,"a",function(){return U}),s.d(T,"b",function(){return _}),s.d(T,"d",function(){return k}),s.d(T,"e",function(){return P}),s.d(T,"c",function(){return e});var S=s("MI8n"),j=s("pmY6"),F=s("3/fG"),H=function(m,f,c,r){function i(t){return t instanceof c?t:new c(function(o){o(t)})}return new(c||(c=Promise))(function(t,o){function d(l){try{u(r.next(l))}catch(w){o(w)}}function g(l){try{u(r.throw(l))}catch(w){o(w)}}function u(l){l.done?t(l.value):i(l.value).then(d,g)}u((r=r.apply(m,f||[])).next())})};class U extends j.a{constructor(m,f="",c="",r=!0,i){super();this._onDidChange=this._register(new S.b),this.onDidChange=this._onDidChange.event,this._enabled=!0,this._id=m,this._label=f,this._cssClass=c,this._enabled=r,this._actionCallback=i}get id(){return this._id}get label(){return this._label}set label(m){this._setLabel(m)}_setLabel(m){this._label!==m&&(this._label=m,this._onDidChange.fire({label:m}))}get tooltip(){return this._tooltip||""}set tooltip(m){this._setTooltip(m)}_setTooltip(m){this._tooltip!==m&&(this._tooltip=m,this._onDidChange.fire({tooltip:m}))}get class(){return this._cssClass}set class(m){this._setClass(m)}_setClass(m){this._cssClass!==m&&(this._cssClass=m,this._onDidChange.fire({class:m}))}get enabled(){return this._enabled}set enabled(m){this._setEnabled(m)}_setEnabled(m){this._enabled!==m&&(this._enabled=m,this._onDidChange.fire({enabled:m}))}get checked(){return this._checked}set checked(m){this._setChecked(m)}_setChecked(m){this._checked!==m&&(this._checked=m,this._onDidChange.fire({checked:m}))}run(m,f){return H(this,void 0,void 0,function*(){this._actionCallback&&(yield this._actionCallback(m))})}}class _ extends j.a{constructor(){super(...arguments);this._onBeforeRun=this._register(new S.b),this.onBeforeRun=this._onBeforeRun.event,this._onDidRun=this._register(new S.b),this.onDidRun=this._onDidRun.event}run(m,f){return H(this,void 0,void 0,function*(){if(!m.enabled)return;this._onBeforeRun.fire({action:m});let c;try{yield this.runAction(m,f)}catch(r){c=r}this._onDidRun.fire({action:m,error:c})})}runAction(m,f){return H(this,void 0,void 0,function*(){yield m.run(f)})}}class k extends U{constructor(m){super(k.ID,m,m?"separator text":"separator");this.checked=!1,this.enabled=!1}}k.ID="vs.actions.separator";class P{constructor(m,f,c,r){this.tooltip="",this.enabled=!0,this.checked=!1,this.id=m,this.label=f,this.class=r,this._actions=c}get actions(){return this._actions}dispose(){}run(){return H(this,void 0,void 0,function*(){})}}class e extends U{constructor(){super(e.ID,F.a("submenu.empty","(empty)"),void 0,!1)}}e.ID="vs.actions.empty"},BU3w:function(se,T,s){"use strict";s.d(T,"a",function(){return _});var S=s("MNnm"),j="rc-util-key";function F(k){if(k.attachTo)return k.attachTo;var P=document.querySelector("head");return P||document.body}function H(k){var P,e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(!Object(S.a)())return null;var m=document.createElement("style");if((P=e.csp)===null||P===void 0?void 0:P.nonce){var f;m.nonce=(f=e.csp)===null||f===void 0?void 0:f.nonce}m.innerHTML=k;var c=F(e),r=c.firstChild;return e.prepend&&c.prepend?c.prepend(m):e.prepend&&r?c.insertBefore(m,r):c.appendChild(m),m}var U=new Map;function _(k,P){var e=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},m=F(e);if(!U.has(m)){var f=H("",e),c=f.parentNode;U.set(m,c),c.removeChild(f)}var r=Array.from(U.get(m).children).find(function(g){return g.tagName==="STYLE"&&g[j]===P});if(r){var i,t;if(((i=e.csp)===null||i===void 0?void 0:i.nonce)&&r.nonce!==((t=e.csp)===null||t===void 0?void 0:t.nonce)){var o;r.nonce=(o=e.csp)===null||o===void 0?void 0:o.nonce}return r.innerHTML!==k&&(r.innerHTML=k),r}var d=H(k,e);return d[j]=P,d}},"C/vA":function(se,T,s){"use strict";s.d(T,"a",function(){return S});function S(j){const F=this;let H=!1,U;return function(){return H||(H=!0,U=j.apply(F,arguments)),U}}},"Cg/j":function(se,T,s){"use strict";s.d(T,"b",function(){return S}),s.d(T,"a",function(){return j}),s.d(T,"c",function(){return H}),s.d(T,"d",function(){return U});var S;(function(_){_.serviceIds=new Map,_.DI_TARGET="$di$target",_.DI_DEPENDENCIES="$di$dependencies";function k(P){return P[_.DI_DEPENDENCIES]||[]}_.getServiceDependencies=k})(S||(S={}));const j=H("instantiationService");function F(_,k,P,e){k[S.DI_TARGET]===k?k[S.DI_DEPENDENCIES].push({id:_,index:P,optional:e}):(k[S.DI_DEPENDENCIES]=[{id:_,index:P,optional:e}],k[S.DI_TARGET]=k)}function H(_){if(S.serviceIds.has(_))return S.serviceIds.get(_);const k=function(P,e,m){if(arguments.length!==3)throw new Error("@IServiceName-decorator can only be used to decorate a parameter");F(k,P,m,!1)};return k.toString=()=>_,S.serviceIds.set(_,k),k}function U(_){return function(k,P,e){if(arguments.length!==3)throw new Error("@optional-decorator can only be used to decorate a parameter");F(_,k,e,!0)}}},FWmy:function(se,T,s){"use strict";s.d(T,"a",function(){return S});function S(j,F){if(!j)throw new Error(F?`Assertion failed (${F})`:"Assertion Failed")}},IBYe:function(se,T,s){"use strict";function S(j){return null}T.a=S},JYp7:function(se,T,s){"use strict";s.d(T,"a",function(){return S});var S;(function(j){function F(l){return l&&typeof l=="object"&&typeof l[Symbol.iterator]=="function"}j.is=F;const H=Object.freeze([]);function U(){return H}j.empty=U;function*_(l){yield l}j.single=_;function k(l){return l||H}j.from=k;function P(l){return!l||l[Symbol.iterator]().next().done===!0}j.isEmpty=P;function e(l){return l[Symbol.iterator]().next().value}j.first=e;function m(l,w){for(const A of l)if(w(A))return!0;return!1}j.some=m;function f(l,w){for(const A of l)if(w(A))return A;return}j.find=f;function*c(l,w){for(const A of l)w(A)&&(yield A)}j.filter=c;function*r(l,w){let A=0;for(const N of l)yield w(N,A++)}j.map=r;function*i(...l){for(const w of l)for(const A of w)yield A}j.concat=i;function*t(l){for(const w of l)for(const A of w)yield A}j.concatNested=t;function o(l,w,A){let N=A;for(const O of l)N=w(N,O);return N}j.reduce=o;function*d(l,w,A=l.length){for(w<0&&(w+=l.length),A<0?A+=l.length:A>l.length&&(A=l.length);w<A;w++)yield l[w]}j.slice=d;function g(l,w=Number.POSITIVE_INFINITY){const A=[];if(w===0)return[A,l];const N=l[Symbol.iterator]();for(let O=0;O<w;O++){const L=N.next();if(L.done)return[A,j.empty()];A.push(L.value)}return[A,{[Symbol.iterator](){return N}}]}j.consume=g;function u(l,w,A=(N,O)=>N===O){const N=l[Symbol.iterator](),O=w[Symbol.iterator]();for(;;){const L=N.next(),b=O.next();if(L.done!==b.done)return!1;if(L.done)return!0;if(!A(L.value,b.value))return!1}}j.equals=u})(S||(S={}))},LGJf:function(se,T,s){se.exports={flex_box_center:"flex_box_center___3BLpD",flex_space_between:"flex_space_between___1W87h",flex_box_vertical_center:"flex_box_vertical_center___2lTqF",flex_box_center_end:"flex_box_center_end___3gqgk",flex_box_column:"flex_box_column___uIqmY",wrap:"wrap___3b7Ym",title:"title___2f5dF",control:"control___13VAo",label:"label___2LPaN",tagWrap:"tagWrap___2s4jK",tag:"tag___2QU1K",button:"button___3swZT",customTable:"customTable___2PJ6k",form:"form___2NPE4",customModal:"customModal___101lt"}},MI8n:function(se,T,s){"use strict";s.d(T,"c",function(){return U}),s.d(T,"b",function(){return e}),s.d(T,"e",function(){return m}),s.d(T,"a",function(){return f}),s.d(T,"d",function(){return c}),s.d(T,"f",function(){return r});var S=s("/cxE"),j=s("pmY6"),F=s("24hK"),H=s("5Y4S"),U;(function(i){i.None=()=>j.a.None;function t(v){return(z,x=null,a)=>{let h=!1,p;return p=v(n=>h?void 0:(p?p.dispose():h=!0,z.call(x,n)),null,a),h&&p.dispose(),p}}i.once=t;function o(v,z){return A((x,a=null,h)=>v(p=>x.call(a,z(p)),null,h))}i.map=o;function d(v,z){return A((x,a=null,h)=>v(p=>{z(p),x.call(a,p)},null,h))}i.forEach=d;function g(v,z){return A((x,a=null,h)=>v(p=>z(p)&&x.call(a,p),null,h))}i.filter=g;function u(v){return v}i.signal=u;function l(...v){return(z,x=null,a)=>Object(j.e)(...v.map(h=>h(p=>z.call(x,p),null,a)))}i.any=l;function w(v,z,x){let a=x;return o(v,h=>(a=z(a,h),a))}i.reduce=w;function A(v){let z;const x=new e({onFirstListenerAdd(){z=v(x.fire,x)},onLastListenerRemove(){z.dispose()}});return x.event}function N(v,z,x=100,a=!1,h){let p,n,y,R=0;const M=new e({leakWarningThreshold:h,onFirstListenerAdd(){p=v($=>{R++,n=z(n,$),a&&!y&&(M.fire(n),n=void 0),clearTimeout(y),y=setTimeout(()=>{const ne=n;n=void 0,y=void 0,(!a||R>1)&&M.fire(ne),R=0},x)})},onLastListenerRemove(){p.dispose()}});return M.event}i.debounce=N;function O(v,z=(x,a)=>x===a){let x=!0,a;return g(v,h=>{const p=x||!z(h,a);return x=!1,a=h,p})}i.latch=O;function L(v,z){return[i.filter(v,z),i.filter(v,x=>!z(x))]}i.split=L;function b(v,z=!1,x=[]){let a=x.slice(),h=v(y=>{a?a.push(y):n.fire(y)});const p=()=>{a&&a.forEach(y=>n.fire(y)),a=null},n=new e({onFirstListenerAdd(){h||(h=v(y=>n.fire(y)))},onFirstListenerDidAdd(){a&&(z?setTimeout(p):p())},onLastListenerRemove(){h&&h.dispose(),h=null}});return n.event}i.buffer=b;class D{constructor(v){this.event=v}map(v){return new D(o(this.event,v))}forEach(v){return new D(d(this.event,v))}filter(v){return new D(g(this.event,v))}reduce(v,z){return new D(w(this.event,v,z))}latch(){return new D(O(this.event))}debounce(v,z=100,x=!1,a){return new D(N(this.event,v,z,x,a))}on(v,z,x){return this.event(v,z,x)}once(v,z,x){return t(this.event)(v,z,x)}}function K(v){return new D(v)}i.chain=K;function W(v,z,x=a=>a){const a=(...y)=>n.fire(x(...y)),h=()=>v.on(z,a),p=()=>v.removeListener(z,a),n=new e({onFirstListenerAdd:h,onLastListenerRemove:p});return n.event}i.fromNodeEventEmitter=W;function C(v,z,x=a=>a){const a=(...y)=>n.fire(x(...y)),h=()=>v.addEventListener(z,a),p=()=>v.removeEventListener(z,a),n=new e({onFirstListenerAdd:h,onLastListenerRemove:p});return n.event}i.fromDOMEventEmitter=C;function E(v){return new Promise(z=>t(v)(z))}i.toPromise=E})(U||(U={}));class _{constructor(i){this._listenerCount=0,this._invocationCount=0,this._elapsedOverall=0,this._name=`${i}_${_._idPool++}`}start(i){this._stopWatch=new H.a(!0),this._listenerCount=i}stop(){if(this._stopWatch){const i=this._stopWatch.elapsed();this._elapsedOverall+=i,this._invocationCount+=1,console.info(`did FIRE ${this._name}: elapsed_ms: ${i.toFixed(5)}, listener: ${this._listenerCount} (elapsed_overall: ${this._elapsedOverall.toFixed(2)}, invocations: ${this._invocationCount})`),this._stopWatch=void 0}}}_._idPool=0;let k=-1;class P{constructor(i,t=Math.random().toString(18).slice(2,5)){this.customThreshold=i,this.name=t,this._warnCountdown=0}dispose(){this._stacks&&this._stacks.clear()}check(i){let t=k;if(typeof this.customThreshold=="number"&&(t=this.customThreshold),t<=0||i<t)return;this._stacks||(this._stacks=new Map);const o=new Error().stack.split(`
|
|
`).slice(3).join(`
|
|
`),d=this._stacks.get(o)||0;if(this._stacks.set(o,d+1),this._warnCountdown-=1,this._warnCountdown<=0){this._warnCountdown=t*.5;let g,u=0;for(const[l,w]of this._stacks)(!g||u<w)&&(g=l,u=w);console.warn(`[${this.name}] potential listener LEAK detected, having ${i} listeners already. MOST frequent listener (${u}):`),console.warn(g)}return()=>{const g=this._stacks.get(o)||0;this._stacks.set(o,g-1)}}}class e{constructor(i){var t;this._disposed=!1,this._options=i,this._leakageMon=k>0?new P(this._options&&this._options.leakWarningThreshold):void 0,this._perfMon=((t=this._options)===null||t===void 0?void 0:t._profName)?new _(this._options._profName):void 0}get event(){return this._event||(this._event=(i,t,o)=>{var d;this._listeners||(this._listeners=new F.a);const g=this._listeners.isEmpty();g&&this._options&&this._options.onFirstListenerAdd&&this._options.onFirstListenerAdd(this);const u=this._listeners.push(t?[i,t]:i);g&&this._options&&this._options.onFirstListenerDidAdd&&this._options.onFirstListenerDidAdd(this),this._options&&this._options.onListenerDidAdd&&this._options.onListenerDidAdd(this,i,t);const l=(d=this._leakageMon)===null||d===void 0?void 0:d.check(this._listeners.size),w=Object(j.i)(()=>{if(l&&l(),!this._disposed&&(u(),this._options&&this._options.onLastListenerRemove)){const A=this._listeners&&!this._listeners.isEmpty();A||this._options.onLastListenerRemove(this)}});return o instanceof j.b?o.add(w):Array.isArray(o)&&o.push(w),w}),this._event}fire(i){var t,o;if(this._listeners){this._deliveryQueue||(this._deliveryQueue=new F.a);for(let d of this._listeners)this._deliveryQueue.push([d,i]);for((t=this._perfMon)===null||t===void 0||t.start(this._deliveryQueue.size);this._deliveryQueue.size>0;){const[d,g]=this._deliveryQueue.shift();try{typeof d=="function"?d.call(void 0,g):d[0].call(d[1],g)}catch(u){Object(S.f)(u)}}(o=this._perfMon)===null||o===void 0||o.stop()}}dispose(){var i,t,o,d,g;this._disposed||(this._disposed=!0,(i=this._listeners)===null||i===void 0||i.clear(),(t=this._deliveryQueue)===null||t===void 0||t.clear(),(d=(o=this._options)===null||o===void 0?void 0:o.onLastListenerRemove)===null||d===void 0||d.call(o),(g=this._leakageMon)===null||g===void 0||g.dispose())}}class m extends e{constructor(i){super(i);this._isPaused=0,this._eventQueue=new F.a,this._mergeFn=i==null?void 0:i.merge}pause(){this._isPaused++}resume(){if(this._isPaused!==0&&--this._isPaused===0)if(this._mergeFn){const i=Array.from(this._eventQueue);this._eventQueue.clear(),super.fire(this._mergeFn(i))}else for(;!this._isPaused&&this._eventQueue.size!==0;)super.fire(this._eventQueue.shift())}fire(i){this._listeners&&(this._isPaused!==0?this._eventQueue.push(i):super.fire(i))}}class f extends m{constructor(i){var t;super(i);this._delay=(t=i.delay)!==null&&t!==void 0?t:100}fire(i){this._handle||(this.pause(),this._handle=setTimeout(()=>{this._handle=void 0,this.resume()},this._delay)),super.fire(i)}}class c{constructor(){this.buffers=[]}wrapEvent(i){return(t,o,d)=>i(g=>{const u=this.buffers[this.buffers.length-1];u?u.push(()=>t.call(o,g)):t.call(o,g)},void 0,d)}bufferEvents(i){const t=[];this.buffers.push(t);const o=i();return this.buffers.pop(),t.forEach(d=>d()),o}}class r{constructor(){this.listening=!1,this.inputEvent=U.None,this.inputEventListener=j.a.None,this.emitter=new e({onFirstListenerDidAdd:()=>{this.listening=!0,this.inputEventListener=this.inputEvent(this.emitter.fire,this.emitter)},onLastListenerRemove:()=>{this.listening=!1,this.inputEventListener.dispose()}}),this.event=this.emitter.event}set input(i){this.inputEvent=i,this.listening&&(this.inputEventListener.dispose(),this.inputEventListener=i(this.emitter.fire,this.emitter))}dispose(){this.inputEventListener.dispose(),this.emitter.dispose()}}},MNsG:function(se,T,s){"use strict";(function(S,j){s.d(T,"b",function(){return o}),s.d(T,"i",function(){return l}),s.d(T,"f",function(){return w}),s.d(T,"d",function(){return A}),s.d(T,"g",function(){return N}),s.d(T,"h",function(){return O}),s.d(T,"c",function(){return L}),s.d(T,"k",function(){return b}),s.d(T,"j",function(){return D}),s.d(T,"a",function(){return K}),s.d(T,"e",function(){return E});var F;const H="en";let U=!1,_=!1,k=!1,P=!1,e=!1,m=!1,f=!1,c,r=H,i,t;const o=typeof self=="object"?self:typeof S=="object"?S:{};let d;typeof o.vscode!="undefined"&&typeof o.vscode.process!="undefined"?d=o.vscode.process:typeof j!="undefined"&&(d=j);const g=typeof((F=d==null?void 0:d.versions)===null||F===void 0?void 0:F.electron)=="string"&&d.type==="renderer";if(typeof navigator=="object"&&!g)t=navigator.userAgent,U=t.indexOf("Windows")>=0,_=t.indexOf("Macintosh")>=0,f=(t.indexOf("Macintosh")>=0||t.indexOf("iPad")>=0||t.indexOf("iPhone")>=0)&&!!navigator.maxTouchPoints&&navigator.maxTouchPoints>0,k=t.indexOf("Linux")>=0,m=!0,c=navigator.language,r=c;else if(typeof d=="object"){U=d.platform==="win32",_=d.platform==="darwin",k=d.platform==="linux",P=k&&!!d.env.SNAP&&!!d.env.SNAP_REVISION,c=H,r=H;const v=d.env.VSCODE_NLS_CONFIG;if(v)try{const z=JSON.parse(v),x=z.availableLanguages["*"];c=z.locale,r=x||H,i=z._translationsConfigFile}catch(z){}e=!0}else console.error("Unable to resolve platform.");let u=0;_?u=1:U?u=3:k&&(u=2);const l=U,w=_,A=k,N=e,O=m,L=f,b=t,D=function(){if(o.setImmediate)return o.setImmediate.bind(o);if(typeof o.postMessage=="function"&&!o.importScripts){let x=[];o.addEventListener("message",h=>{if(h.data&&h.data.vscodeSetImmediateId)for(let p=0,n=x.length;p<n;p++){const y=x[p];if(y.id===h.data.vscodeSetImmediateId){x.splice(p,1),y.callback();return}}});let a=0;return h=>{const p=++a;x.push({id:p,callback:h}),o.postMessage({vscodeSetImmediateId:p},"*")}}if(typeof(d==null?void 0:d.nextTick)=="function")return d.nextTick.bind(d);const z=Promise.resolve();return x=>z.then(x)}(),K=_||f?2:U?1:3;let W=!0,C=!1;function E(){if(!C){C=!0;const v=new Uint8Array(2);v[0]=1,v[1]=2;const z=new Uint16Array(v.buffer);W=z[0]===(2<<8)+1}return W}}).call(this,s("IyRk"),s("Q2Ig"))},N0LK:function(se,T,s){"use strict";s.d(T,"C",function(){return S}),s.d(T,"v",function(){return F}),s.d(T,"s",function(){return H}),s.d(T,"t",function(){return U}),s.d(T,"U",function(){return _}),s.d(T,"J",function(){return k}),s.d(T,"O",function(){return P}),s.d(T,"p",function(){return e}),s.d(T,"T",function(){return m}),s.d(T,"q",function(){return f}),s.d(T,"N",function(){return c}),s.d(T,"M",function(){return r}),s.d(T,"Q",function(){return i}),s.d(T,"u",function(){return t}),s.d(T,"x",function(){return o}),s.d(T,"I",function(){return d}),s.d(T,"f",function(){return g}),s.d(T,"h",function(){return u}),s.d(T,"g",function(){return l}),s.d(T,"i",function(){return w}),s.d(T,"G",function(){return A}),s.d(T,"H",function(){return N}),s.d(T,"r",function(){return O}),s.d(T,"R",function(){return L}),s.d(T,"d",function(){return b}),s.d(T,"e",function(){return D}),s.d(T,"E",function(){return K}),s.d(T,"F",function(){return W}),s.d(T,"j",function(){return C}),s.d(T,"z",function(){return E}),s.d(T,"K",function(){return z}),s.d(T,"L",function(){return x}),s.d(T,"m",function(){return h}),s.d(T,"k",function(){return n}),s.d(T,"A",function(){return R}),s.d(T,"a",function(){return M}),s.d(T,"n",function(){return $}),s.d(T,"l",function(){return ne}),s.d(T,"D",function(){return V}),s.d(T,"B",function(){return Q}),s.d(T,"b",function(){return te}),s.d(T,"S",function(){return ee}),s.d(T,"o",function(){return Y}),s.d(T,"P",function(){return X}),s.d(T,"w",function(){return ae}),s.d(T,"c",function(){return Re}),s.d(T,"y",function(){return Pe});function S(I){return!I||typeof I!="string"?!0:I.trim().length===0}const j=/{(\d+)}/g;function F(I,...G){return G.length===0?I:I.replace(j,function(J,Z){const he=parseInt(Z,10);return isNaN(he)||he<0||he>=G.length?J:G[he]})}function H(I){return I.replace(/[<>&]/g,function(G){switch(G){case"<":return"<";case">":return">";case"&":return"&";default:return G}})}function U(I){return I.replace(/[\\\{\}\*\+\?\|\^\$\.\[\]\(\)]/g,"\\$&")}function _(I,G=" "){const J=k(I,G);return P(J,G)}function k(I,G){if(!I||!G)return I;const J=G.length;if(J===0||I.length===0)return I;let Z=0;for(;I.indexOf(G,Z)===Z;)Z=Z+J;return I.substring(Z)}function P(I,G){if(!I||!G)return I;const J=G.length,Z=I.length;if(J===0||Z===0)return I;let he=Z,Ne=-1;for(;!(Ne=I.lastIndexOf(G,he-1),Ne===-1||Ne+J!==he);){if(Ne===0)return"";he=Ne}return I.substring(0,he)}function e(I){return I.replace(/[\-\\\{\}\+\?\|\^\$\.\,\[\]\(\)\#\s]/g,"\\$&").replace(/[\*]/g,".*")}function m(I){return I.replace(/\*/g,"")}function f(I,G,J={}){if(!I)throw new Error("Cannot create regex from empty string");G||(I=U(I)),J.wholeWord&&(/\B/.test(I.charAt(0))||(I="\\b"+I),/\B/.test(I.charAt(I.length-1))||(I=I+"\\b"));let Z="";return J.global&&(Z+="g"),J.matchCase||(Z+="i"),J.multiline&&(Z+="m"),J.unicode&&(Z+="u"),new RegExp(I,Z)}function c(I){if(I.source==="^"||I.source==="^$"||I.source==="$"||I.source==="^\\s*$")return!1;const G=I.exec("");return!!(G&&I.lastIndex===0)}function r(I){return(I.global?"g":"")+(I.ignoreCase?"i":"")+(I.multiline?"m":"")+(I.unicode?"u":"")}function i(I){return I.split(/\r\n|\r|\n/)}function t(I){for(let G=0,J=I.length;G<J;G++){const Z=I.charCodeAt(G);if(Z!==32&&Z!==9)return G}return-1}function o(I,G=0,J=I.length){for(let Z=G;Z<J;Z++){const he=I.charCodeAt(Z);if(he!==32&&he!==9)return I.substring(G,Z)}return I.substring(G,J)}function d(I,G=I.length-1){for(let J=G;J>=0;J--){const Z=I.charCodeAt(J);if(Z!==32&&Z!==9)return J}return-1}function g(I,G){return I<G?-1:I>G?1:0}function u(I,G,J=0,Z=I.length,he=0,Ne=G.length){for(;J<Z&&he<Ne;J++,he++){let Xe=I.charCodeAt(J),qe=G.charCodeAt(he);if(Xe<qe)return-1;if(Xe>qe)return 1}const He=Z-J,Ye=Ne-he;return He<Ye?-1:He>Ye?1:0}function l(I,G){return w(I,G,0,I.length,0,G.length)}function w(I,G,J=0,Z=I.length,he=0,Ne=G.length){for(;J<Z&&he<Ne;J++,he++){let Xe=I.charCodeAt(J),qe=G.charCodeAt(he);if(Xe===qe)continue;if(Xe>=128||qe>=128)return u(I.toLowerCase(),G.toLowerCase(),J,Z,he,Ne);A(Xe)&&(Xe-=32),A(qe)&&(qe-=32);const B=Xe-qe;if(B===0)continue;return B}const He=Z-J,Ye=Ne-he;return He<Ye?-1:He>Ye?1:0}function A(I){return I>=97&&I<=122}function N(I){return I>=65&&I<=90}function O(I,G){return I.length===G.length&&w(I,G)===0}function L(I,G){const J=G.length;return G.length>I.length?!1:w(I,G,0,J)===0}function b(I,G){let J,Z=Math.min(I.length,G.length);for(J=0;J<Z;J++)if(I.charCodeAt(J)!==G.charCodeAt(J))return J;return Z}function D(I,G){let J,Z=Math.min(I.length,G.length);const he=I.length-1,Ne=G.length-1;for(J=0;J<Z;J++)if(I.charCodeAt(he-J)!==G.charCodeAt(Ne-J))return J;return Z}function K(I){return 55296<=I&&I<=56319}function W(I){return 56320<=I&&I<=57343}function C(I,G){return(I-55296<<10)+(G-56320)+65536}function E(I,G,J){const Z=I.charCodeAt(J);if(K(Z)&&J+1<G){const he=I.charCodeAt(J+1);if(W(he))return C(Z,he)}return Z}function v(I,G){const J=I.charCodeAt(G-1);if(W(J)&&G>1){const Z=I.charCodeAt(G-2);if(K(Z))return C(Z,J)}return J}function z(I,G){const J=ve.getInstance(),Z=G,he=I.length,Ne=E(I,he,G);G+=Ne>=65536?2:1;let He=J.getGraphemeBreakType(Ne);for(;G<he;){const Ye=E(I,he,G),Xe=J.getGraphemeBreakType(Ye);if(Re(He,Xe))break;G+=Ye>=65536?2:1,He=Xe}return G-Z}function x(I,G){const J=ve.getInstance(),Z=G,he=v(I,G);G-=he>=65536?2:1;let Ne=J.getGraphemeBreakType(he);for(;G>0;){const He=v(I,G),Ye=J.getGraphemeBreakType(He);if(Re(Ye,Ne))break;G-=He>=65536?2:1,Ne=Ye}return Z-G}const a=/(?:[\u05BE\u05C0\u05C3\u05C6\u05D0-\u05F4\u0608\u060B\u060D\u061B-\u064A\u066D-\u066F\u0671-\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u0710\u0712-\u072F\u074D-\u07A5\u07B1-\u07EA\u07F4\u07F5\u07FA-\u0815\u081A\u0824\u0828\u0830-\u0858\u085E-\u08BD\u200F\uFB1D\uFB1F-\uFB28\uFB2A-\uFD3D\uFD50-\uFDFC\uFE70-\uFEFC]|\uD802[\uDC00-\uDD1B\uDD20-\uDE00\uDE10-\uDE33\uDE40-\uDEE4\uDEEB-\uDF35\uDF40-\uDFFF]|\uD803[\uDC00-\uDCFF]|\uD83A[\uDC00-\uDCCF\uDD00-\uDD43\uDD50-\uDFFF]|\uD83B[\uDC00-\uDEBB])/;function h(I){return a.test(I)}const p=/(?:[\u231A\u231B\u23F0\u23F3\u2600-\u27BF\u2B50\u2B55]|\uD83C[\uDDE6-\uDDFF\uDF00-\uDFFF]|\uD83D[\uDC00-\uDE4F\uDE80-\uDEFC\uDFE0-\uDFEB]|\uD83E[\uDD00-\uDDFF\uDE70-\uDED6])/;function n(I){return p.test(I)}const y=/^[\t\n\r\x20-\x7E]*$/;function R(I){return y.test(I)}const M=/[\u2028\u2029]/;function $(I){return M.test(I)}function ne(I){for(let G=0,J=I.length;G<J;G++)if(V(I.charCodeAt(G)))return!0;return!1}function V(I){return I=+I,I>=11904&&I<=55215||I>=63744&&I<=64255||I>=65281&&I<=65374}function Q(I){return I>=127462&&I<=127487||I===8986||I===8987||I===9200||I===9203||I>=9728&&I<=10175||I===11088||I===11093||I>=127744&&I<=128591||I>=128640&&I<=128764||I>=128992&&I<=129003||I>=129280&&I<=129535||I>=129648&&I<=129750}const te=String.fromCharCode(65279);function ee(I){return!!(I&&I.length>0&&I.charCodeAt(0)===65279)}function Y(I,G=!1){return I?(G&&(I=I.replace(/\\./g,"")),I.toLowerCase()!==I):!1}function X(I){const G=90-65+1;return I=I%(2*G),I<G?String.fromCharCode(97+I):String.fromCharCode(65+I-G)}function ae(I){const G=ve.getInstance();return G.getGraphemeBreakType(I)}function Re(I,G){return I===0?G!==5&&G!==7:I===2&&G===3?!1:I===4||I===2||I===3||(G===4||G===2||G===3)?!0:I===8&&(G===8||G===9||G===11||G===12)||((I===11||I===9)&&(G===9||G===10)||((I===12||I===10)&&G===10||(G===5||G===13||(G===7||(I===1||I===13&&G===14)))))?!1:!(I===6&&G===6)}class ve{constructor(){this._data=Ae()}static getInstance(){return ve._INSTANCE||(ve._INSTANCE=new ve),ve._INSTANCE}getGraphemeBreakType(I){if(I<32)return I===10?3:I===13?2:4;if(I<127)return 0;const G=this._data,J=G.length/3;let Z=1;for(;Z<=J;)if(I<G[3*Z])Z=2*Z;else if(I>G[3*Z+1])Z=2*Z+1;else return G[3*Z+2];return 0}}ve._INSTANCE=null;function Ae(){return JSON.parse("[0,0,0,51592,51592,11,44424,44424,11,72251,72254,5,7150,7150,7,48008,48008,11,55176,55176,11,128420,128420,14,3276,3277,5,9979,9980,14,46216,46216,11,49800,49800,11,53384,53384,11,70726,70726,5,122915,122916,5,129320,129327,14,2558,2558,5,5906,5908,5,9762,9763,14,43360,43388,8,45320,45320,11,47112,47112,11,48904,48904,11,50696,50696,11,52488,52488,11,54280,54280,11,70082,70083,1,71350,71350,7,73111,73111,5,127892,127893,14,128726,128727,14,129473,129474,14,2027,2035,5,2901,2902,5,3784,3789,5,6754,6754,5,8418,8420,5,9877,9877,14,11088,11088,14,44008,44008,5,44872,44872,11,45768,45768,11,46664,46664,11,47560,47560,11,48456,48456,11,49352,49352,11,50248,50248,11,51144,51144,11,52040,52040,11,52936,52936,11,53832,53832,11,54728,54728,11,69811,69814,5,70459,70460,5,71096,71099,7,71998,71998,5,72874,72880,5,119149,119149,7,127374,127374,14,128335,128335,14,128482,128482,14,128765,128767,14,129399,129400,14,129680,129685,14,1476,1477,5,2377,2380,7,2759,2760,5,3137,3140,7,3458,3459,7,4153,4154,5,6432,6434,5,6978,6978,5,7675,7679,5,9723,9726,14,9823,9823,14,9919,9923,14,10035,10036,14,42736,42737,5,43596,43596,5,44200,44200,11,44648,44648,11,45096,45096,11,45544,45544,11,45992,45992,11,46440,46440,11,46888,46888,11,47336,47336,11,47784,47784,11,48232,48232,11,48680,48680,11,49128,49128,11,49576,49576,11,50024,50024,11,50472,50472,11,50920,50920,11,51368,51368,11,51816,51816,11,52264,52264,11,52712,52712,11,53160,53160,11,53608,53608,11,54056,54056,11,54504,54504,11,54952,54952,11,68108,68111,5,69933,69940,5,70197,70197,7,70498,70499,7,70845,70845,5,71229,71229,5,71727,71735,5,72154,72155,5,72344,72345,5,73023,73029,5,94095,94098,5,121403,121452,5,126981,127182,14,127538,127546,14,127990,127990,14,128391,128391,14,128445,128449,14,128500,128505,14,128752,128752,14,129160,129167,14,129356,129356,14,129432,129442,14,129648,129651,14,129751,131069,14,173,173,4,1757,1757,1,2274,2274,1,2494,2494,5,2641,2641,5,2876,2876,5,3014,3016,7,3262,3262,7,3393,3396,5,3570,3571,7,3968,3972,5,4228,4228,7,6086,6086,5,6679,6680,5,6912,6915,5,7080,7081,5,7380,7392,5,8252,8252,14,9096,9096,14,9748,9749,14,9784,9786,14,9833,9850,14,9890,9894,14,9938,9938,14,9999,9999,14,10085,10087,14,12349,12349,14,43136,43137,7,43454,43456,7,43755,43755,7,44088,44088,11,44312,44312,11,44536,44536,11,44760,44760,11,44984,44984,11,45208,45208,11,45432,45432,11,45656,45656,11,45880,45880,11,46104,46104,11,46328,46328,11,46552,46552,11,46776,46776,11,47000,47000,11,47224,47224,11,47448,47448,11,47672,47672,11,47896,47896,11,48120,48120,11,48344,48344,11,48568,48568,11,48792,48792,11,49016,49016,11,49240,49240,11,49464,49464,11,49688,49688,11,49912,49912,11,50136,50136,11,50360,50360,11,50584,50584,11,50808,50808,11,51032,51032,11,51256,51256,11,51480,51480,11,51704,51704,11,51928,51928,11,52152,52152,11,52376,52376,11,52600,52600,11,52824,52824,11,53048,53048,11,53272,53272,11,53496,53496,11,53720,53720,11,53944,53944,11,54168,54168,11,54392,54392,11,54616,54616,11,54840,54840,11,55064,55064,11,65438,65439,5,69633,69633,5,69837,69837,1,70018,70018,7,70188,70190,7,70368,70370,7,70465,70468,7,70712,70719,5,70835,70840,5,70850,70851,5,71132,71133,5,71340,71340,7,71458,71461,5,71985,71989,7,72002,72002,7,72193,72202,5,72281,72283,5,72766,72766,7,72885,72886,5,73104,73105,5,92912,92916,5,113824,113827,4,119173,119179,5,121505,121519,5,125136,125142,5,127279,127279,14,127489,127490,14,127570,127743,14,127900,127901,14,128254,128254,14,128369,128370,14,128400,128400,14,128425,128432,14,128468,128475,14,128489,128494,14,128715,128720,14,128745,128745,14,128759,128760,14,129004,129023,14,129296,129304,14,129340,129342,14,129388,129392,14,129404,129407,14,129454,129455,14,129485,129487,14,129659,129663,14,129719,129727,14,917536,917631,5,13,13,2,1160,1161,5,1564,1564,4,1807,1807,1,2085,2087,5,2363,2363,7,2402,2403,5,2507,2508,7,2622,2624,7,2691,2691,7,2786,2787,5,2881,2884,5,3006,3006,5,3072,3072,5,3170,3171,5,3267,3268,7,3330,3331,7,3406,3406,1,3538,3540,5,3655,3662,5,3897,3897,5,4038,4038,5,4184,4185,5,4352,4447,8,6068,6069,5,6155,6157,5,6448,6449,7,6742,6742,5,6783,6783,5,6966,6970,5,7042,7042,7,7143,7143,7,7212,7219,5,7412,7412,5,8206,8207,4,8294,8303,4,8596,8601,14,9410,9410,14,9742,9742,14,9757,9757,14,9770,9770,14,9794,9794,14,9828,9828,14,9855,9855,14,9882,9882,14,9900,9903,14,9929,9933,14,9963,9967,14,9987,9988,14,10006,10006,14,10062,10062,14,10175,10175,14,11744,11775,5,42607,42607,5,43043,43044,7,43263,43263,5,43444,43445,7,43569,43570,5,43698,43700,5,43766,43766,5,44032,44032,11,44144,44144,11,44256,44256,11,44368,44368,11,44480,44480,11,44592,44592,11,44704,44704,11,44816,44816,11,44928,44928,11,45040,45040,11,45152,45152,11,45264,45264,11,45376,45376,11,45488,45488,11,45600,45600,11,45712,45712,11,45824,45824,11,45936,45936,11,46048,46048,11,46160,46160,11,46272,46272,11,46384,46384,11,46496,46496,11,46608,46608,11,46720,46720,11,46832,46832,11,46944,46944,11,47056,47056,11,47168,47168,11,47280,47280,11,47392,47392,11,47504,47504,11,47616,47616,11,47728,47728,11,47840,47840,11,47952,47952,11,48064,48064,11,48176,48176,11,48288,48288,11,48400,48400,11,48512,48512,11,48624,48624,11,48736,48736,11,48848,48848,11,48960,48960,11,49072,49072,11,49184,49184,11,49296,49296,11,49408,49408,11,49520,49520,11,49632,49632,11,49744,49744,11,49856,49856,11,49968,49968,11,50080,50080,11,50192,50192,11,50304,50304,11,50416,50416,11,50528,50528,11,50640,50640,11,50752,50752,11,50864,50864,11,50976,50976,11,51088,51088,11,51200,51200,11,51312,51312,11,51424,51424,11,51536,51536,11,51648,51648,11,51760,51760,11,51872,51872,11,51984,51984,11,52096,52096,11,52208,52208,11,52320,52320,11,52432,52432,11,52544,52544,11,52656,52656,11,52768,52768,11,52880,52880,11,52992,52992,11,53104,53104,11,53216,53216,11,53328,53328,11,53440,53440,11,53552,53552,11,53664,53664,11,53776,53776,11,53888,53888,11,54000,54000,11,54112,54112,11,54224,54224,11,54336,54336,11,54448,54448,11,54560,54560,11,54672,54672,11,54784,54784,11,54896,54896,11,55008,55008,11,55120,55120,11,64286,64286,5,66272,66272,5,68900,68903,5,69762,69762,7,69817,69818,5,69927,69931,5,70003,70003,5,70070,70078,5,70094,70094,7,70194,70195,7,70206,70206,5,70400,70401,5,70463,70463,7,70475,70477,7,70512,70516,5,70722,70724,5,70832,70832,5,70842,70842,5,70847,70848,5,71088,71089,7,71102,71102,7,71219,71226,5,71231,71232,5,71342,71343,7,71453,71455,5,71463,71467,5,71737,71738,5,71995,71996,5,72000,72000,7,72145,72147,7,72160,72160,5,72249,72249,7,72273,72278,5,72330,72342,5,72752,72758,5,72850,72871,5,72882,72883,5,73018,73018,5,73031,73031,5,73109,73109,5,73461,73462,7,94031,94031,5,94192,94193,7,119142,119142,7,119155,119162,4,119362,119364,5,121476,121476,5,122888,122904,5,123184,123190,5,126976,126979,14,127184,127231,14,127344,127345,14,127405,127461,14,127514,127514,14,127561,127567,14,127778,127779,14,127896,127896,14,127985,127986,14,127995,127999,5,128326,128328,14,128360,128366,14,128378,128378,14,128394,128397,14,128405,128406,14,128422,128423,14,128435,128443,14,128453,128464,14,128479,128480,14,128484,128487,14,128496,128498,14,128640,128709,14,128723,128724,14,128736,128741,14,128747,128748,14,128755,128755,14,128762,128762,14,128981,128991,14,129096,129103,14,129292,129292,14,129311,129311,14,129329,129330,14,129344,129349,14,129360,129374,14,129394,129394,14,129402,129402,14,129413,129425,14,129445,129450,14,129466,129471,14,129483,129483,14,129511,129535,14,129653,129655,14,129667,129670,14,129705,129711,14,129731,129743,14,917505,917505,4,917760,917999,5,10,10,3,127,159,4,768,879,5,1471,1471,5,1536,1541,1,1648,1648,5,1767,1768,5,1840,1866,5,2070,2073,5,2137,2139,5,2307,2307,7,2366,2368,7,2382,2383,7,2434,2435,7,2497,2500,5,2519,2519,5,2563,2563,7,2631,2632,5,2677,2677,5,2750,2752,7,2763,2764,7,2817,2817,5,2879,2879,5,2891,2892,7,2914,2915,5,3008,3008,5,3021,3021,5,3076,3076,5,3146,3149,5,3202,3203,7,3264,3265,7,3271,3272,7,3298,3299,5,3390,3390,5,3402,3404,7,3426,3427,5,3535,3535,5,3544,3550,7,3635,3635,7,3763,3763,7,3893,3893,5,3953,3966,5,3981,3991,5,4145,4145,7,4157,4158,5,4209,4212,5,4237,4237,5,4520,4607,10,5970,5971,5,6071,6077,5,6089,6099,5,6277,6278,5,6439,6440,5,6451,6456,7,6683,6683,5,6744,6750,5,6765,6770,7,6846,6846,5,6964,6964,5,6972,6972,5,7019,7027,5,7074,7077,5,7083,7085,5,7146,7148,7,7154,7155,7,7222,7223,5,7394,7400,5,7416,7417,5,8204,8204,5,8233,8233,4,8288,8292,4,8413,8416,5,8482,8482,14,8986,8987,14,9193,9203,14,9654,9654,14,9733,9733,14,9745,9745,14,9752,9752,14,9760,9760,14,9766,9766,14,9774,9775,14,9792,9792,14,9800,9811,14,9825,9826,14,9831,9831,14,9852,9853,14,9872,9873,14,9880,9880,14,9885,9887,14,9896,9897,14,9906,9916,14,9926,9927,14,9936,9936,14,9941,9960,14,9974,9974,14,9982,9985,14,9992,9997,14,10002,10002,14,10017,10017,14,10055,10055,14,10071,10071,14,10145,10145,14,11013,11015,14,11503,11505,5,12334,12335,5,12951,12951,14,42612,42621,5,43014,43014,5,43047,43047,7,43204,43205,5,43335,43345,5,43395,43395,7,43450,43451,7,43561,43566,5,43573,43574,5,43644,43644,5,43710,43711,5,43758,43759,7,44005,44005,5,44012,44012,7,44060,44060,11,44116,44116,11,44172,44172,11,44228,44228,11,44284,44284,11,44340,44340,11,44396,44396,11,44452,44452,11,44508,44508,11,44564,44564,11,44620,44620,11,44676,44676,11,44732,44732,11,44788,44788,11,44844,44844,11,44900,44900,11,44956,44956,11,45012,45012,11,45068,45068,11,45124,45124,11,45180,45180,11,45236,45236,11,45292,45292,11,45348,45348,11,45404,45404,11,45460,45460,11,45516,45516,11,45572,45572,11,45628,45628,11,45684,45684,11,45740,45740,11,45796,45796,11,45852,45852,11,45908,45908,11,45964,45964,11,46020,46020,11,46076,46076,11,46132,46132,11,46188,46188,11,46244,46244,11,46300,46300,11,46356,46356,11,46412,46412,11,46468,46468,11,46524,46524,11,46580,46580,11,46636,46636,11,46692,46692,11,46748,46748,11,46804,46804,11,46860,46860,11,46916,46916,11,46972,46972,11,47028,47028,11,47084,47084,11,47140,47140,11,47196,47196,11,47252,47252,11,47308,47308,11,47364,47364,11,47420,47420,11,47476,47476,11,47532,47532,11,47588,47588,11,47644,47644,11,47700,47700,11,47756,47756,11,47812,47812,11,47868,47868,11,47924,47924,11,47980,47980,11,48036,48036,11,48092,48092,11,48148,48148,11,48204,48204,11,48260,48260,11,48316,48316,11,48372,48372,11,48428,48428,11,48484,48484,11,48540,48540,11,48596,48596,11,48652,48652,11,48708,48708,11,48764,48764,11,48820,48820,11,48876,48876,11,48932,48932,11,48988,48988,11,49044,49044,11,49100,49100,11,49156,49156,11,49212,49212,11,49268,49268,11,49324,49324,11,49380,49380,11,49436,49436,11,49492,49492,11,49548,49548,11,49604,49604,11,49660,49660,11,49716,49716,11,49772,49772,11,49828,49828,11,49884,49884,11,49940,49940,11,49996,49996,11,50052,50052,11,50108,50108,11,50164,50164,11,50220,50220,11,50276,50276,11,50332,50332,11,50388,50388,11,50444,50444,11,50500,50500,11,50556,50556,11,50612,50612,11,50668,50668,11,50724,50724,11,50780,50780,11,50836,50836,11,50892,50892,11,50948,50948,11,51004,51004,11,51060,51060,11,51116,51116,11,51172,51172,11,51228,51228,11,51284,51284,11,51340,51340,11,51396,51396,11,51452,51452,11,51508,51508,11,51564,51564,11,51620,51620,11,51676,51676,11,51732,51732,11,51788,51788,11,51844,51844,11,51900,51900,11,51956,51956,11,52012,52012,11,52068,52068,11,52124,52124,11,52180,52180,11,52236,52236,11,52292,52292,11,52348,52348,11,52404,52404,11,52460,52460,11,52516,52516,11,52572,52572,11,52628,52628,11,52684,52684,11,52740,52740,11,52796,52796,11,52852,52852,11,52908,52908,11,52964,52964,11,53020,53020,11,53076,53076,11,53132,53132,11,53188,53188,11,53244,53244,11,53300,53300,11,53356,53356,11,53412,53412,11,53468,53468,11,53524,53524,11,53580,53580,11,53636,53636,11,53692,53692,11,53748,53748,11,53804,53804,11,53860,53860,11,53916,53916,11,53972,53972,11,54028,54028,11,54084,54084,11,54140,54140,11,54196,54196,11,54252,54252,11,54308,54308,11,54364,54364,11,54420,54420,11,54476,54476,11,54532,54532,11,54588,54588,11,54644,54644,11,54700,54700,11,54756,54756,11,54812,54812,11,54868,54868,11,54924,54924,11,54980,54980,11,55036,55036,11,55092,55092,11,55148,55148,11,55216,55238,9,65056,65071,5,65529,65531,4,68097,68099,5,68159,68159,5,69446,69456,5,69688,69702,5,69808,69810,7,69815,69816,7,69821,69821,1,69888,69890,5,69932,69932,7,69957,69958,7,70016,70017,5,70067,70069,7,70079,70080,7,70089,70092,5,70095,70095,5,70191,70193,5,70196,70196,5,70198,70199,5,70367,70367,5,70371,70378,5,70402,70403,7,70462,70462,5,70464,70464,5,70471,70472,7,70487,70487,5,70502,70508,5,70709,70711,7,70720,70721,7,70725,70725,7,70750,70750,5,70833,70834,7,70841,70841,7,70843,70844,7,70846,70846,7,70849,70849,7,71087,71087,5,71090,71093,5,71100,71101,5,71103,71104,5,71216,71218,7,71227,71228,7,71230,71230,7,71339,71339,5,71341,71341,5,71344,71349,5,71351,71351,5,71456,71457,7,71462,71462,7,71724,71726,7,71736,71736,7,71984,71984,5,71991,71992,7,71997,71997,7,71999,71999,1,72001,72001,1,72003,72003,5,72148,72151,5,72156,72159,7,72164,72164,7,72243,72248,5,72250,72250,1,72263,72263,5,72279,72280,7,72324,72329,1,72343,72343,7,72751,72751,7,72760,72765,5,72767,72767,5,72873,72873,7,72881,72881,7,72884,72884,7,73009,73014,5,73020,73021,5,73030,73030,1,73098,73102,7,73107,73108,7,73110,73110,7,73459,73460,5,78896,78904,4,92976,92982,5,94033,94087,7,94180,94180,5,113821,113822,5,119141,119141,5,119143,119145,5,119150,119154,5,119163,119170,5,119210,119213,5,121344,121398,5,121461,121461,5,121499,121503,5,122880,122886,5,122907,122913,5,122918,122922,5,123628,123631,5,125252,125258,5,126980,126980,14,127183,127183,14,127245,127247,14,127340,127343,14,127358,127359,14,127377,127386,14,127462,127487,6,127491,127503,14,127535,127535,14,127548,127551,14,127568,127569,14,127744,127777,14,127780,127891,14,127894,127895,14,127897,127899,14,127902,127984,14,127987,127989,14,127991,127994,14,128000,128253,14,128255,128317,14,128329,128334,14,128336,128359,14,128367,128368,14,128371,128377,14,128379,128390,14,128392,128393,14,128398,128399,14,128401,128404,14,128407,128419,14,128421,128421,14,128424,128424,14,128433,128434,14,128444,128444,14,128450,128452,14,128465,128467,14,128476,128478,14,128481,128481,14,128483,128483,14,128488,128488,14,128495,128495,14,128499,128499,14,128506,128591,14,128710,128714,14,128721,128722,14,128725,128725,14,128728,128735,14,128742,128744,14,128746,128746,14,128749,128751,14,128753,128754,14,128756,128758,14,128761,128761,14,128763,128764,14,128884,128895,14,128992,129003,14,129036,129039,14,129114,129119,14,129198,129279,14,129293,129295,14,129305,129310,14,129312,129319,14,129328,129328,14,129331,129338,14,129343,129343,14,129351,129355,14,129357,129359,14,129375,129387,14,129393,129393,14,129395,129398,14,129401,129401,14,129403,129403,14,129408,129412,14,129426,129431,14,129443,129444,14,129451,129453,14,129456,129465,14,129472,129472,14,129475,129482,14,129484,129484,14,129488,129510,14,129536,129647,14,129652,129652,14,129656,129658,14,129664,129666,14,129671,129679,14,129686,129704,14,129712,129718,14,129728,129730,14,129744,129750,14,917504,917504,4,917506,917535,4,917632,917759,4,918000,921599,4,0,9,4,11,12,4,14,31,4,169,169,14,174,174,14,1155,1159,5,1425,1469,5,1473,1474,5,1479,1479,5,1552,1562,5,1611,1631,5,1750,1756,5,1759,1764,5,1770,1773,5,1809,1809,5,1958,1968,5,2045,2045,5,2075,2083,5,2089,2093,5,2259,2273,5,2275,2306,5,2362,2362,5,2364,2364,5,2369,2376,5,2381,2381,5,2385,2391,5,2433,2433,5,2492,2492,5,2495,2496,7,2503,2504,7,2509,2509,5,2530,2531,5,2561,2562,5,2620,2620,5,2625,2626,5,2635,2637,5,2672,2673,5,2689,2690,5,2748,2748,5,2753,2757,5,2761,2761,7,2765,2765,5,2810,2815,5,2818,2819,7,2878,2878,5,2880,2880,7,2887,2888,7,2893,2893,5,2903,2903,5,2946,2946,5,3007,3007,7,3009,3010,7,3018,3020,7,3031,3031,5,3073,3075,7,3134,3136,5,3142,3144,5,3157,3158,5,3201,3201,5,3260,3260,5,3263,3263,5,3266,3266,5,3270,3270,5,3274,3275,7,3285,3286,5,3328,3329,5,3387,3388,5,3391,3392,7,3398,3400,7,3405,3405,5,3415,3415,5,3457,3457,5,3530,3530,5,3536,3537,7,3542,3542,5,3551,3551,5,3633,3633,5,3636,3642,5,3761,3761,5,3764,3772,5,3864,3865,5,3895,3895,5,3902,3903,7,3967,3967,7,3974,3975,5,3993,4028,5,4141,4144,5,4146,4151,5,4155,4156,7,4182,4183,7,4190,4192,5,4226,4226,5,4229,4230,5,4253,4253,5,4448,4519,9,4957,4959,5,5938,5940,5,6002,6003,5,6070,6070,7,6078,6085,7,6087,6088,7,6109,6109,5,6158,6158,4,6313,6313,5,6435,6438,7,6441,6443,7,6450,6450,5,6457,6459,5,6681,6682,7,6741,6741,7,6743,6743,7,6752,6752,5,6757,6764,5,6771,6780,5,6832,6845,5,6847,6848,5,6916,6916,7,6965,6965,5,6971,6971,7,6973,6977,7,6979,6980,7,7040,7041,5,7073,7073,7,7078,7079,7,7082,7082,7,7142,7142,5,7144,7145,5,7149,7149,5,7151,7153,5,7204,7211,7,7220,7221,7,7376,7378,5,7393,7393,7,7405,7405,5,7415,7415,7,7616,7673,5,8203,8203,4,8205,8205,13,8232,8232,4,8234,8238,4,8265,8265,14,8293,8293,4,8400,8412,5,8417,8417,5,8421,8432,5,8505,8505,14,8617,8618,14,9000,9000,14,9167,9167,14,9208,9210,14,9642,9643,14,9664,9664,14,9728,9732,14,9735,9741,14,9743,9744,14,9746,9746,14,9750,9751,14,9753,9756,14,9758,9759,14,9761,9761,14,9764,9765,14,9767,9769,14,9771,9773,14,9776,9783,14,9787,9791,14,9793,9793,14,9795,9799,14,9812,9822,14,9824,9824,14,9827,9827,14,9829,9830,14,9832,9832,14,9851,9851,14,9854,9854,14,9856,9861,14,9874,9876,14,9878,9879,14,9881,9881,14,9883,9884,14,9888,9889,14,9895,9895,14,9898,9899,14,9904,9905,14,9917,9918,14,9924,9925,14,9928,9928,14,9934,9935,14,9937,9937,14,9939,9940,14,9961,9962,14,9968,9973,14,9975,9978,14,9981,9981,14,9986,9986,14,9989,9989,14,9998,9998,14,10000,10001,14,10004,10004,14,10013,10013,14,10024,10024,14,10052,10052,14,10060,10060,14,10067,10069,14,10083,10084,14,10133,10135,14,10160,10160,14,10548,10549,14,11035,11036,14,11093,11093,14,11647,11647,5,12330,12333,5,12336,12336,14,12441,12442,5,12953,12953,14,42608,42610,5,42654,42655,5,43010,43010,5,43019,43019,5,43045,43046,5,43052,43052,5,43188,43203,7,43232,43249,5,43302,43309,5,43346,43347,7,43392,43394,5,43443,43443,5,43446,43449,5,43452,43453,5,43493,43493,5,43567,43568,7,43571,43572,7,43587,43587,5,43597,43597,7,43696,43696,5,43703,43704,5,43713,43713,5,43756,43757,5,43765,43765,7,44003,44004,7,44006,44007,7,44009,44010,7,44013,44013,5,44033,44059,12,44061,44087,12,44089,44115,12,44117,44143,12,44145,44171,12,44173,44199,12,44201,44227,12,44229,44255,12,44257,44283,12,44285,44311,12,44313,44339,12,44341,44367,12,44369,44395,12,44397,44423,12,44425,44451,12,44453,44479,12,44481,44507,12,44509,44535,12,44537,44563,12,44565,44591,12,44593,44619,12,44621,44647,12,44649,44675,12,44677,44703,12,44705,44731,12,44733,44759,12,44761,44787,12,44789,44815,12,44817,44843,12,44845,44871,12,44873,44899,12,44901,44927,12,44929,44955,12,44957,44983,12,44985,45011,12,45013,45039,12,45041,45067,12,45069,45095,12,45097,45123,12,45125,45151,12,45153,45179,12,45181,45207,12,45209,45235,12,45237,45263,12,45265,45291,12,45293,45319,12,45321,45347,12,45349,45375,12,45377,45403,12,45405,45431,12,45433,45459,12,45461,45487,12,45489,45515,12,45517,45543,12,45545,45571,12,45573,45599,12,45601,45627,12,45629,45655,12,45657,45683,12,45685,45711,12,45713,45739,12,45741,45767,12,45769,45795,12,45797,45823,12,45825,45851,12,45853,45879,12,45881,45907,12,45909,45935,12,45937,45963,12,45965,45991,12,45993,46019,12,46021,46047,12,46049,46075,12,46077,46103,12,46105,46131,12,46133,46159,12,46161,46187,12,46189,46215,12,46217,46243,12,46245,46271,12,46273,46299,12,46301,46327,12,46329,46355,12,46357,46383,12,46385,46411,12,46413,46439,12,46441,46467,12,46469,46495,12,46497,46523,12,46525,46551,12,46553,46579,12,46581,46607,12,46609,46635,12,46637,46663,12,46665,46691,12,46693,46719,12,46721,46747,12,46749,46775,12,46777,46803,12,46805,46831,12,46833,46859,12,46861,46887,12,46889,46915,12,46917,46943,12,46945,46971,12,46973,46999,12,47001,47027,12,47029,47055,12,47057,47083,12,47085,47111,12,47113,47139,12,47141,47167,12,47169,47195,12,47197,47223,12,47225,47251,12,47253,47279,12,47281,47307,12,47309,47335,12,47337,47363,12,47365,47391,12,47393,47419,12,47421,47447,12,47449,47475,12,47477,47503,12,47505,47531,12,47533,47559,12,47561,47587,12,47589,47615,12,47617,47643,12,47645,47671,12,47673,47699,12,47701,47727,12,47729,47755,12,47757,47783,12,47785,47811,12,47813,47839,12,47841,47867,12,47869,47895,12,47897,47923,12,47925,47951,12,47953,47979,12,47981,48007,12,48009,48035,12,48037,48063,12,48065,48091,12,48093,48119,12,48121,48147,12,48149,48175,12,48177,48203,12,48205,48231,12,48233,48259,12,48261,48287,12,48289,48315,12,48317,48343,12,48345,48371,12,48373,48399,12,48401,48427,12,48429,48455,12,48457,48483,12,48485,48511,12,48513,48539,12,48541,48567,12,48569,48595,12,48597,48623,12,48625,48651,12,48653,48679,12,48681,48707,12,48709,48735,12,48737,48763,12,48765,48791,12,48793,48819,12,48821,48847,12,48849,48875,12,48877,48903,12,48905,48931,12,48933,48959,12,48961,48987,12,48989,49015,12,49017,49043,12,49045,49071,12,49073,49099,12,49101,49127,12,49129,49155,12,49157,49183,12,49185,49211,12,49213,49239,12,49241,49267,12,49269,49295,12,49297,49323,12,49325,49351,12,49353,49379,12,49381,49407,12,49409,49435,12,49437,49463,12,49465,49491,12,49493,49519,12,49521,49547,12,49549,49575,12,49577,49603,12,49605,49631,12,49633,49659,12,49661,49687,12,49689,49715,12,49717,49743,12,49745,49771,12,49773,49799,12,49801,49827,12,49829,49855,12,49857,49883,12,49885,49911,12,49913,49939,12,49941,49967,12,49969,49995,12,49997,50023,12,50025,50051,12,50053,50079,12,50081,50107,12,50109,50135,12,50137,50163,12,50165,50191,12,50193,50219,12,50221,50247,12,50249,50275,12,50277,50303,12,50305,50331,12,50333,50359,12,50361,50387,12,50389,50415,12,50417,50443,12,50445,50471,12,50473,50499,12,50501,50527,12,50529,50555,12,50557,50583,12,50585,50611,12,50613,50639,12,50641,50667,12,50669,50695,12,50697,50723,12,50725,50751,12,50753,50779,12,50781,50807,12,50809,50835,12,50837,50863,12,50865,50891,12,50893,50919,12,50921,50947,12,50949,50975,12,50977,51003,12,51005,51031,12,51033,51059,12,51061,51087,12,51089,51115,12,51117,51143,12,51145,51171,12,51173,51199,12,51201,51227,12,51229,51255,12,51257,51283,12,51285,51311,12,51313,51339,12,51341,51367,12,51369,51395,12,51397,51423,12,51425,51451,12,51453,51479,12,51481,51507,12,51509,51535,12,51537,51563,12,51565,51591,12,51593,51619,12,51621,51647,12,51649,51675,12,51677,51703,12,51705,51731,12,51733,51759,12,51761,51787,12,51789,51815,12,51817,51843,12,51845,51871,12,51873,51899,12,51901,51927,12,51929,51955,12,51957,51983,12,51985,52011,12,52013,52039,12,52041,52067,12,52069,52095,12,52097,52123,12,52125,52151,12,52153,52179,12,52181,52207,12,52209,52235,12,52237,52263,12,52265,52291,12,52293,52319,12,52321,52347,12,52349,52375,12,52377,52403,12,52405,52431,12,52433,52459,12,52461,52487,12,52489,52515,12,52517,52543,12,52545,52571,12,52573,52599,12,52601,52627,12,52629,52655,12,52657,52683,12,52685,52711,12,52713,52739,12,52741,52767,12,52769,52795,12,52797,52823,12,52825,52851,12,52853,52879,12,52881,52907,12,52909,52935,12,52937,52963,12,52965,52991,12,52993,53019,12,53021,53047,12,53049,53075,12,53077,53103,12,53105,53131,12,53133,53159,12,53161,53187,12,53189,53215,12,53217,53243,12,53245,53271,12,53273,53299,12,53301,53327,12,53329,53355,12,53357,53383,12,53385,53411,12,53413,53439,12,53441,53467,12,53469,53495,12,53497,53523,12,53525,53551,12,53553,53579,12,53581,53607,12,53609,53635,12,53637,53663,12,53665,53691,12,53693,53719,12,53721,53747,12,53749,53775,12,53777,53803,12,53805,53831,12,53833,53859,12,53861,53887,12,53889,53915,12,53917,53943,12,53945,53971,12,53973,53999,12,54001,54027,12,54029,54055,12,54057,54083,12,54085,54111,12,54113,54139,12,54141,54167,12,54169,54195,12,54197,54223,12,54225,54251,12,54253,54279,12,54281,54307,12,54309,54335,12,54337,54363,12,54365,54391,12,54393,54419,12,54421,54447,12,54449,54475,12,54477,54503,12,54505,54531,12,54533,54559,12,54561,54587,12,54589,54615,12,54617,54643,12,54645,54671,12,54673,54699,12,54701,54727,12,54729,54755,12,54757,54783,12,54785,54811,12,54813,54839,12,54841,54867,12,54869,54895,12,54897,54923,12,54925,54951,12,54953,54979,12,54981,55007,12,55009,55035,12,55037,55063,12,55065,55091,12,55093,55119,12,55121,55147,12,55149,55175,12,55177,55203,12,55243,55291,10,65024,65039,5,65279,65279,4,65520,65528,4,66045,66045,5,66422,66426,5,68101,68102,5,68152,68154,5,68325,68326,5,69291,69292,5,69632,69632,7,69634,69634,7,69759,69761,5]")}function Pe(I,G){if(I===0)return 0;const J=Ue(I,G);if(J!==void 0)return J;const Z=v(G,I);return I-=Le(Z),I}function Ue(I,G){let J=v(G,I);for(I-=Le(J);Ge(J)||J===65039||J===8419;){if(I===0)return;J=v(G,I),I-=Le(J)}if(!Q(J))return;if(I>=0){const Z=v(G,I);Z===8205&&(I-=Le(Z))}return I}function Le(I){return I>=65536?2:1}function Ge(I){return 127995<=I&&I<=127999}},NvD2:function(se,T,s){"use strict";s.d(T,"a",function(){return _});var S=s("Kwbf");function j(k,P){var e=new Set;return k.forEach(function(m){P.has(m)||e.add(m)}),e}function F(k){var P=k||{},e=P.disabled,m=P.disableCheckbox,f=P.checkable;return!!(e||m)||f===!1}function H(k,P,e,m){for(var f=new Set(k),c=new Set,r=0;r<=e;r+=1){var i=P.get(r)||new Set;i.forEach(function(g){var u=g.key,l=g.node,w=g.children,A=w===void 0?[]:w;f.has(u)&&!m(l)&&A.filter(function(N){return!m(N.node)}).forEach(function(N){f.add(N.key)})})}for(var t=new Set,o=e;o>=0;o-=1){var d=P.get(o)||new Set;d.forEach(function(g){var u=g.parent,l=g.node;if(m(l)||!g.parent||t.has(g.parent.key))return;if(m(g.parent.node)){t.add(u.key);return}var w=!0,A=!1;(u.children||[]).filter(function(N){return!m(N.node)}).forEach(function(N){var O=N.key,L=f.has(O);w&&!L&&(w=!1),!A&&(L||c.has(O))&&(A=!0)}),w&&f.add(u.key),A&&c.add(u.key),t.add(u.key)})}return{checkedKeys:Array.from(f),halfCheckedKeys:Array.from(j(c,f))}}function U(k,P,e,m,f){for(var c=new Set(k),r=new Set(P),i=0;i<=m;i+=1){var t=e.get(i)||new Set;t.forEach(function(u){var l=u.key,w=u.node,A=u.children,N=A===void 0?[]:A;!c.has(l)&&!r.has(l)&&!f(w)&&N.filter(function(O){return!f(O.node)}).forEach(function(O){c.delete(O.key)})})}r=new Set;for(var o=new Set,d=m;d>=0;d-=1){var g=e.get(d)||new Set;g.forEach(function(u){var l=u.parent,w=u.node;if(f(w)||!u.parent||o.has(u.parent.key))return;if(f(u.parent.node)){o.add(l.key);return}var A=!0,N=!1;(l.children||[]).filter(function(O){return!f(O.node)}).forEach(function(O){var L=O.key,b=c.has(L);A&&!b&&(A=!1),!N&&(b||r.has(L))&&(N=!0)}),A||c.delete(l.key),N&&r.add(l.key),o.add(l.key)})}return{checkedKeys:Array.from(c),halfCheckedKeys:Array.from(j(r,c))}}function _(k,P,e,m){var f=[],c;m?c=m:c=F;var r=new Set(k.filter(function(d){var g=!!e[d];return g||f.push(d),g})),i=new Map,t=0;Object.keys(e).forEach(function(d){var g=e[d],u=g.level,l=i.get(u);l||(l=new Set,i.set(u,l)),l.add(g),t=Math.max(t,u)}),Object(S.a)(!f.length,"Tree missing follow keys: ".concat(f.slice(0,100).map(function(d){return"'".concat(d,"'")}).join(", ")));var o;return P===!0?o=H(r,i,t,c):o=U(r,P.halfCheckedKeys,i,t,c),o}},OZM5:function(se,T,s){"use strict";s.d(T,"b",function(){return m}),s.d(T,"a",function(){return f}),s.d(T,"k",function(){return c}),s.d(T,"h",function(){return r}),s.d(T,"i",function(){return i}),s.d(T,"g",function(){return t}),s.d(T,"c",function(){return o}),s.d(T,"d",function(){return d}),s.d(T,"j",function(){return l}),s.d(T,"e",function(){return w}),s.d(T,"f",function(){return A});var S=s("KQm4"),j=s("U8pU"),F=s("Ff2n"),H=s("q1tI"),U=s.n(H),_=s("Kwbf"),k=s("WaYH"),P=.25,e=2;function m(N,O){var L=N.slice(),b=L.indexOf(O);return b>=0&&L.splice(b,1),L}function f(N,O){var L=N.slice();return L.indexOf(O)===-1&&L.push(O),L}function c(N){return N.split("-")}function r(N,O){return"".concat(N,"-").concat(O)}function i(N){return N&&N.type&&N.type.isTreeNode}function t(N,O){var L=[N],b=O[N];function D(){var K=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];K.forEach(function(W){var C=W.key,E=W.children;L.push(C),D(E)})}return D(b.children),L}function o(N,O){var L=N.clientY,b=O.selectHandle.getBoundingClientRect(),D=b.top,K=b.bottom,W=b.height,C=Math.max(W*P,e);return L<=D+C?-1:L>=K-C?1:0}function d(N,O){if(!N)return;var L=O.multiple;return L?N.slice():N.length?[N[0]]:N}var g=function(O){return O};function u(N,O){if(!N)return[];var L=O||{},b=L.processProps,D=b===void 0?g:b,K=Array.isArray(N)?N:[N];return K.map(function(W){var C=W.children,E=Object(F.a)(W,["children"]),v=u(C,O);return U.a.createElement(k.a,Object.assign({},D(E)),v)})}function l(N){if(!N)return null;var O;if(Array.isArray(N))O={checkedKeys:N,halfCheckedKeys:void 0};else if(Object(j.a)(N)==="object")O={checkedKeys:N.checked||void 0,halfCheckedKeys:N.halfChecked||void 0};else return Object(_.a)(!1,"`checkedKeys` is not an array or an object"),null;return O}function w(N,O){var L=new Set;function b(D){if(L.has(D))return;var K=O[D];if(!K)return;L.add(D);var W=K.parent,C=K.node;if(C.disabled)return;W&&b(W.key)}return(N||[]).forEach(function(D){b(D)}),Object(S.a)(L)}function A(N){var O={};return Object.keys(N).forEach(function(L){(L.startsWith("data-")||L.startsWith("aria-"))&&(O[L]=N[L])}),O}},PsNh:function(se,T,s){se.exports={selectWrapContainer:"selectWrapContainer___M4-WR"}},"SA+Z":function(se,T,s){var S=s("wTVA"),j=s("EbDI"),F=s("ZhPi"),H=s("wkBT");function U(_){return S(_)||j(_)||F(_)||H()}se.exports=U,se.exports.__esModule=!0,se.exports.default=se.exports},T8No:function(se,T,s){"use strict";s.d(T,"a",function(){return k}),s.d(T,"e",function(){return P}),s.d(T,"c",function(){return K}),s.d(T,"b",function(){return W}),s.d(T,"d",function(){return C}),s.d(T,"f",function(){return z});var S=s("MNsG"),j=s("N0LK"),F=s("Cg/j");let H=S.k||"";const U=new Map;U.set("false",!1),U.set("true",!0),U.set("isMac",S.f),U.set("isLinux",S.d),U.set("isWindows",S.i),U.set("isWeb",S.h),U.set("isMacNative",S.f&&!S.h),U.set("isEdge",H.indexOf("Edg/")>=0),U.set("isFirefox",H.indexOf("Firefox")>=0),U.set("isChrome",H.indexOf("Chrome")>=0),U.set("isSafari",H.indexOf("Safari")>=0);const _=Object.prototype.hasOwnProperty;class k{static has(a){return c.create(a)}static equals(a,h){return r.create(a,h)}static regex(a,h){return N.create(a,h)}static not(a){return d.create(a)}static and(...a){return b.create(a,null)}static or(...a){return D.create(a,null,!0)}static deserialize(a,h=!1){return a?this._deserializeOrExpression(a,h):void 0}static _deserializeOrExpression(a,h){let p=a.split("||");return D.create(p.map(n=>this._deserializeAndExpression(n,h)),null,!0)}static _deserializeAndExpression(a,h){let p=a.split("&&");return b.create(p.map(n=>this._deserializeOne(n,h)),null)}static _deserializeOne(a,h){if(a=a.trim(),a.indexOf("!=")>=0){let p=a.split("!=");return o.create(p[0].trim(),this._deserializeValue(p[1],h))}if(a.indexOf("==")>=0){let p=a.split("==");return r.create(p[0].trim(),this._deserializeValue(p[1],h))}if(a.indexOf("=~")>=0){let p=a.split("=~");return N.create(p[0].trim(),this._deserializeRegexValue(p[1],h))}if(a.indexOf(" in ")>=0){let p=a.split(" in ");return i.create(p[0].trim(),p[1].trim())}if(/^[^<=>]+>=[^<=>]+$/.test(a)){const p=a.split(">=");return l.create(p[0].trim(),p[1].trim())}if(/^[^<=>]+>[^<=>]+$/.test(a)){const p=a.split(">");return u.create(p[0].trim(),p[1].trim())}if(/^[^<=>]+<=[^<=>]+$/.test(a)){const p=a.split("<=");return A.create(p[0].trim(),p[1].trim())}if(/^[^<=>]+<[^<=>]+$/.test(a)){const p=a.split("<");return w.create(p[0].trim(),p[1].trim())}return/^\!\s*/.test(a)?d.create(a.substr(1).trim()):c.create(a)}static _deserializeValue(a,h){if(a=a.trim(),a==="true")return!0;if(a==="false")return!1;let p=/^'([^']*)'$/.exec(a);return p?p[1].trim():a}static _deserializeRegexValue(a,h){if(Object(j.C)(a)){if(h)throw new Error("missing regexp-value for =~-expression");return console.warn("missing regexp-value for =~-expression"),null}let p=a.indexOf("/"),n=a.lastIndexOf("/");if(p===n||p<0){if(h)throw new Error(`bad regexp-value '${a}', missing /-enclosure`);return console.warn(`bad regexp-value '${a}', missing /-enclosure`),null}let y=a.slice(p+1,n),R=a[n+1]==="i"?"i":"";try{return new RegExp(y,R)}catch(M){if(h)throw new Error(`bad regexp-value '${a}', parse error: ${M}`);return console.warn(`bad regexp-value '${a}', parse error: ${M}`),null}}}function P(a,h){const p=a?a.substituteConstants():void 0,n=h?h.substituteConstants():void 0;return!p&&!n?!0:!p||!n?!1:p.equals(n)}function e(a,h){return a.cmp(h)}class m{constructor(){this.type=0}cmp(a){return this.type-a.type}equals(a){return a.type===this.type}substituteConstants(){return this}evaluate(a){return!1}serialize(){return"false"}keys(){return[]}negate(){return f.INSTANCE}}m.INSTANCE=new m;class f{constructor(){this.type=1}cmp(a){return this.type-a.type}equals(a){return a.type===this.type}substituteConstants(){return this}evaluate(a){return!0}serialize(){return"true"}keys(){return[]}negate(){return m.INSTANCE}}f.INSTANCE=new f;class c{constructor(a,h){this.key=a,this.negated=h,this.type=2}static create(a,h=null){const p=U.get(a);return typeof p=="boolean"?p?f.INSTANCE:m.INSTANCE:new c(a,h)}cmp(a){return a.type!==this.type?this.type-a.type:E(this.key,a.key)}equals(a){return a.type===this.type?this.key===a.key:!1}substituteConstants(){const a=U.get(this.key);return typeof a=="boolean"?a?f.INSTANCE:m.INSTANCE:this}evaluate(a){return!!a.getValue(this.key)}serialize(){return this.key}keys(){return[this.key]}negate(){return this.negated||(this.negated=d.create(this.key,this)),this.negated}}class r{constructor(a,h,p){this.key=a,this.value=h,this.negated=p,this.type=4}static create(a,h,p=null){if(typeof h=="boolean")return h?c.create(a,p):d.create(a,p);const n=U.get(a);if(typeof n=="boolean"){const y=n?"true":"false";return h===y?f.INSTANCE:m.INSTANCE}return new r(a,h,p)}cmp(a){return a.type!==this.type?this.type-a.type:v(this.key,this.value,a.key,a.value)}equals(a){return a.type===this.type?this.key===a.key&&this.value===a.value:!1}substituteConstants(){const a=U.get(this.key);if(typeof a=="boolean"){const h=a?"true":"false";return this.value===h?f.INSTANCE:m.INSTANCE}return this}evaluate(a){return a.getValue(this.key)==this.value}serialize(){return`${this.key} == '${this.value}'`}keys(){return[this.key]}negate(){return this.negated||(this.negated=o.create(this.key,this.value,this)),this.negated}}class i{constructor(a,h){this.key=a,this.valueKey=h,this.type=10,this.negated=null}static create(a,h){return new i(a,h)}cmp(a){return a.type!==this.type?this.type-a.type:v(this.key,this.valueKey,a.key,a.valueKey)}equals(a){return a.type===this.type?this.key===a.key&&this.valueKey===a.valueKey:!1}substituteConstants(){return this}evaluate(a){const h=a.getValue(this.valueKey),p=a.getValue(this.key);return Array.isArray(h)?h.indexOf(p)>=0:typeof p=="string"&&typeof h=="object"&&h!==null?_.call(h,p):!1}serialize(){return`${this.key} in '${this.valueKey}'`}keys(){return[this.key,this.valueKey]}negate(){return this.negated||(this.negated=t.create(this)),this.negated}}class t{constructor(a){this._actual=a,this.type=11}static create(a){return new t(a)}cmp(a){return a.type!==this.type?this.type-a.type:this._actual.cmp(a._actual)}equals(a){return a.type===this.type?this._actual.equals(a._actual):!1}substituteConstants(){return this}evaluate(a){return!this._actual.evaluate(a)}serialize(){throw new Error("Method not implemented.")}keys(){return this._actual.keys()}negate(){return this._actual}}class o{constructor(a,h,p){this.key=a,this.value=h,this.negated=p,this.type=5}static create(a,h,p=null){if(typeof h=="boolean")return h?d.create(a,p):c.create(a,p);const n=U.get(a);if(typeof n=="boolean"){const y=n?"true":"false";return h===y?m.INSTANCE:f.INSTANCE}return new o(a,h,p)}cmp(a){return a.type!==this.type?this.type-a.type:v(this.key,this.value,a.key,a.value)}equals(a){return a.type===this.type?this.key===a.key&&this.value===a.value:!1}substituteConstants(){const a=U.get(this.key);if(typeof a=="boolean"){const h=a?"true":"false";return this.value===h?m.INSTANCE:f.INSTANCE}return this}evaluate(a){return a.getValue(this.key)!=this.value}serialize(){return`${this.key} != '${this.value}'`}keys(){return[this.key]}negate(){return this.negated||(this.negated=r.create(this.key,this.value,this)),this.negated}}class d{constructor(a,h){this.key=a,this.negated=h,this.type=3}static create(a,h=null){const p=U.get(a);return typeof p=="boolean"?p?m.INSTANCE:f.INSTANCE:new d(a,h)}cmp(a){return a.type!==this.type?this.type-a.type:E(this.key,a.key)}equals(a){return a.type===this.type?this.key===a.key:!1}substituteConstants(){const a=U.get(this.key);return typeof a=="boolean"?a?m.INSTANCE:f.INSTANCE:this}evaluate(a){return!a.getValue(this.key)}serialize(){return`!${this.key}`}keys(){return[this.key]}negate(){return this.negated||(this.negated=c.create(this.key,this)),this.negated}}function g(a,h){if(typeof a=="string"){const p=parseFloat(a);isNaN(p)||(a=p)}return typeof a=="string"||typeof a=="number"?h(a):m.INSTANCE}class u{constructor(a,h,p){this.key=a,this.value=h,this.negated=p,this.type=12}static create(a,h,p=null){return g(h,n=>new u(a,n,p))}cmp(a){return a.type!==this.type?this.type-a.type:v(this.key,this.value,a.key,a.value)}equals(a){return a.type===this.type?this.key===a.key&&this.value===a.value:!1}substituteConstants(){return this}evaluate(a){return typeof this.value=="string"?!1:parseFloat(a.getValue(this.key))>this.value}serialize(){return`${this.key} > ${this.value}`}keys(){return[this.key]}negate(){return this.negated||(this.negated=A.create(this.key,this.value,this)),this.negated}}class l{constructor(a,h,p){this.key=a,this.value=h,this.negated=p,this.type=13}static create(a,h,p=null){return g(h,n=>new l(a,n,p))}cmp(a){return a.type!==this.type?this.type-a.type:v(this.key,this.value,a.key,a.value)}equals(a){return a.type===this.type?this.key===a.key&&this.value===a.value:!1}substituteConstants(){return this}evaluate(a){return typeof this.value=="string"?!1:parseFloat(a.getValue(this.key))>=this.value}serialize(){return`${this.key} >= ${this.value}`}keys(){return[this.key]}negate(){return this.negated||(this.negated=w.create(this.key,this.value,this)),this.negated}}class w{constructor(a,h,p){this.key=a,this.value=h,this.negated=p,this.type=14}static create(a,h,p=null){return g(h,n=>new w(a,n,p))}cmp(a){return a.type!==this.type?this.type-a.type:v(this.key,this.value,a.key,a.value)}equals(a){return a.type===this.type?this.key===a.key&&this.value===a.value:!1}substituteConstants(){return this}evaluate(a){return typeof this.value=="string"?!1:parseFloat(a.getValue(this.key))<this.value}serialize(){return`${this.key} < ${this.value}`}keys(){return[this.key]}negate(){return this.negated||(this.negated=l.create(this.key,this.value,this)),this.negated}}class A{constructor(a,h,p){this.key=a,this.value=h,this.negated=p,this.type=15}static create(a,h,p=null){return g(h,n=>new A(a,n,p))}cmp(a){return a.type!==this.type?this.type-a.type:v(this.key,this.value,a.key,a.value)}equals(a){return a.type===this.type?this.key===a.key&&this.value===a.value:!1}substituteConstants(){return this}evaluate(a){return typeof this.value=="string"?!1:parseFloat(a.getValue(this.key))<=this.value}serialize(){return`${this.key} <= ${this.value}`}keys(){return[this.key]}negate(){return this.negated||(this.negated=u.create(this.key,this.value,this)),this.negated}}class N{constructor(a,h){this.key=a,this.regexp=h,this.type=7,this.negated=null}static create(a,h){return new N(a,h)}cmp(a){if(a.type!==this.type)return this.type-a.type;if(this.key<a.key)return-1;if(this.key>a.key)return 1;const h=this.regexp?this.regexp.source:"",p=a.regexp?a.regexp.source:"";return h<p?-1:h>p?1:0}equals(a){if(a.type===this.type){const h=this.regexp?this.regexp.source:"",p=a.regexp?a.regexp.source:"";return this.key===a.key&&h===p}return!1}substituteConstants(){return this}evaluate(a){let h=a.getValue(this.key);return this.regexp?this.regexp.test(h):!1}serialize(){const a=this.regexp?`/${this.regexp.source}/${this.regexp.ignoreCase?"i":""}`:"/invalid/";return`${this.key} =~ ${a}`}keys(){return[this.key]}negate(){return this.negated||(this.negated=O.create(this)),this.negated}}class O{constructor(a){this._actual=a,this.type=8}static create(a){return new O(a)}cmp(a){return a.type!==this.type?this.type-a.type:this._actual.cmp(a._actual)}equals(a){return a.type===this.type?this._actual.equals(a._actual):!1}substituteConstants(){return this}evaluate(a){return!this._actual.evaluate(a)}serialize(){throw new Error("Method not implemented.")}keys(){return this._actual.keys()}negate(){return this._actual}}function L(a){let h=null;for(let p=0,n=a.length;p<n;p++){const y=a[p].substituteConstants();if(a[p]!==y&&h===null){h=[];for(let R=0;R<p;R++)h[R]=a[R]}h!==null&&(h[p]=y)}return h===null?a:h}class b{constructor(a,h){this.expr=a,this.negated=h,this.type=6}static create(a,h){return b._normalizeArr(a,h)}cmp(a){if(a.type!==this.type)return this.type-a.type;if(this.expr.length<a.expr.length)return-1;if(this.expr.length>a.expr.length)return 1;for(let h=0,p=this.expr.length;h<p;h++){const n=e(this.expr[h],a.expr[h]);if(n!==0)return n}return 0}equals(a){if(a.type===this.type){if(this.expr.length!==a.expr.length)return!1;for(let h=0,p=this.expr.length;h<p;h++)if(!this.expr[h].equals(a.expr[h]))return!1;return!0}return!1}substituteConstants(){const a=L(this.expr);return a===this.expr?this:b.create(a,this.negated)}evaluate(a){for(let h=0,p=this.expr.length;h<p;h++)if(!this.expr[h].evaluate(a))return!1;return!0}static _normalizeArr(a,h){const p=[];let n=!1;for(const y of a){if(!y)continue;if(y.type===1){n=!0;continue}if(y.type===0)return m.INSTANCE;if(y.type===6){p.push(...y.expr);continue}p.push(y)}if(p.length===0&&n)return f.INSTANCE;if(p.length===0)return;if(p.length===1)return p[0];p.sort(e);for(let y=1;y<p.length;y++)p[y-1].equals(p[y])&&(p.splice(y,1),y--);if(p.length===1)return p[0];for(;p.length>1;){const y=p[p.length-1];if(y.type!==9)break;p.pop();const R=p.pop(),M=p.length===0,$=D.create(y.expr.map(ne=>b.create([ne,R],null)),null,M);$&&(p.push($),p.sort(e))}return p.length===1?p[0]:new b(p,h)}serialize(){return this.expr.map(a=>a.serialize()).join(" && ")}keys(){const a=[];for(let h of this.expr)a.push(...h.keys());return a}negate(){if(!this.negated){const a=[];for(let h of this.expr)a.push(h.negate());this.negated=D.create(a,this,!0)}return this.negated}}class D{constructor(a,h){this.expr=a,this.negated=h,this.type=9}static create(a,h,p){return D._normalizeArr(a,h,p)}cmp(a){if(a.type!==this.type)return this.type-a.type;if(this.expr.length<a.expr.length)return-1;if(this.expr.length>a.expr.length)return 1;for(let h=0,p=this.expr.length;h<p;h++){const n=e(this.expr[h],a.expr[h]);if(n!==0)return n}return 0}equals(a){if(a.type===this.type){if(this.expr.length!==a.expr.length)return!1;for(let h=0,p=this.expr.length;h<p;h++)if(!this.expr[h].equals(a.expr[h]))return!1;return!0}return!1}substituteConstants(){const a=L(this.expr);return a===this.expr?this:D.create(a,this.negated,!1)}evaluate(a){for(let h=0,p=this.expr.length;h<p;h++)if(this.expr[h].evaluate(a))return!0;return!1}static _normalizeArr(a,h,p){let n=[],y=!1;if(a){for(let R=0,M=a.length;R<M;R++){const $=a[R];if(!$)continue;if($.type===0){y=!0;continue}if($.type===1)return f.INSTANCE;if($.type===9){n=n.concat($.expr);continue}n.push($)}if(n.length===0&&y)return m.INSTANCE;n.sort(e)}if(n.length===0)return;if(n.length===1)return n[0];for(let R=1;R<n.length;R++)n[R-1].equals(n[R])&&(n.splice(R,1),R--);if(n.length===1)return n[0];if(p){for(let R=0;R<n.length;R++)for(let M=R+1;M<n.length;M++)z(n[R],n[M])&&(n.splice(M,1),M--);if(n.length===1)return n[0]}return new D(n,h)}serialize(){return this.expr.map(a=>a.serialize()).join(" || ")}keys(){const a=[];for(let h of this.expr)a.push(...h.keys());return a}negate(){if(!this.negated){let a=[];for(let h of this.expr)a.push(h.negate());for(;a.length>1;){const h=a.shift(),p=a.shift(),n=[];for(const R of x(h))for(const M of x(p))n.push(b.create([R,M],null));const y=a.length===0;a.unshift(D.create(n,null,y))}this.negated=a[0]}return this.negated}}class K extends c{constructor(a,h,p){super(a,null);this._defaultValue=h,typeof p=="object"?K._info.push(Object.assign(Object.assign({},p),{key:a})):p!==!0&&K._info.push({key:a,description:p,type:h!=null?typeof h:void 0})}static all(){return K._info.values()}bindTo(a){return a.createKey(this.key,this._defaultValue)}getValue(a){return a.getContextKeyValue(this.key)}toNegated(){return this.negate()}isEqualTo(a){return r.create(this.key,a)}}K._info=[];const W=Object(F.c)("contextKeyService"),C="setContext";function E(a,h){return a<h?-1:a>h?1:0}function v(a,h,p,n){return a<p?-1:a>p?1:h<n?-1:h>n?1:0}function z(a,h){if(h.type===6&&a.type!==9&&a.type!==6){for(const y of h.expr)if(a.equals(y))return!0}const p=a.negate(),n=x(p).concat(x(h));n.sort(e);for(let y=0;y<n.length;y++){const R=n[y],M=R.negate();for(let $=y+1;$<n.length;$++){const ne=n[$];if(M.equals(ne))return!0}}return!1}function x(a){return a.type===9?a.expr:[a]}},TXwP:function(se,T,s){var S,j;(function(){var F;(function(){"use strict";var U=[,,function(e){function m(r){this.__parent=r,this.__character_count=0,this.__indent_count=-1,this.__alignment_count=0,this.__wrap_point_index=0,this.__wrap_point_character_count=0,this.__wrap_point_indent_count=-1,this.__wrap_point_alignment_count=0,this.__items=[]}m.prototype.clone_empty=function(){var r=new m(this.__parent);return r.set_indent(this.__indent_count,this.__alignment_count),r},m.prototype.item=function(r){return r<0?this.__items[this.__items.length+r]:this.__items[r]},m.prototype.has_match=function(r){for(var i=this.__items.length-1;i>=0;i--)if(this.__items[i].match(r))return!0;return!1},m.prototype.set_indent=function(r,i){this.is_empty()&&(this.__indent_count=r||0,this.__alignment_count=i||0,this.__character_count=this.__parent.get_indent_size(this.__indent_count,this.__alignment_count))},m.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)},m.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},m.prototype._allow_wrap=function(){if(this._should_wrap()){this.__parent.add_new_line();var r=this.__parent.current_line;return r.set_indent(this.__wrap_point_indent_count,this.__wrap_point_alignment_count),r.__items=this.__items.slice(this.__wrap_point_index),this.__items=this.__items.slice(0,this.__wrap_point_index),r.__character_count+=this.__character_count-this.__wrap_point_character_count,this.__character_count=this.__wrap_point_character_count,r.__items[0]===" "&&(r.__items.splice(0,1),r.__character_count-=1),!0}return!1},m.prototype.is_empty=function(){return this.__items.length===0},m.prototype.last=function(){return this.is_empty()?null:this.__items[this.__items.length-1]},m.prototype.push=function(r){this.__items.push(r);var i=r.lastIndexOf(`
|
|
`);i!==-1?this.__character_count=r.length-i:this.__character_count+=r.length},m.prototype.pop=function(){var r=null;return this.is_empty()||(r=this.__items.pop(),this.__character_count-=r.length),r},m.prototype._remove_indent=function(){this.__indent_count>0&&(this.__indent_count-=1,this.__character_count-=this.__parent.indent_size)},m.prototype._remove_wrap_indent=function(){this.__wrap_point_indent_count>0&&(this.__wrap_point_indent_count-=1)},m.prototype.trim=function(){for(;this.last()===" ";)this.__items.pop(),this.__character_count-=1},m.prototype.toString=function(){var r="";return this.is_empty()?this.__parent.indent_empty_lines&&(r=this.__parent.get_indent_string(this.__indent_count)):(r=this.__parent.get_indent_string(this.__indent_count,this.__alignment_count),r+=this.__items.join("")),r};function f(r,i){this.__cache=[""],this.__indent_size=r.indent_size,this.__indent_string=r.indent_char,r.indent_with_tabs||(this.__indent_string=new Array(r.indent_size+1).join(r.indent_char)),i=i||"",r.indent_level>0&&(i=new Array(r.indent_level+1).join(this.__indent_string)),this.__base_string=i,this.__base_string_length=i.length}f.prototype.get_indent_size=function(r,i){var t=this.__base_string_length;return i=i||0,r<0&&(t=0),t+=r*this.__indent_size,t+=i,t},f.prototype.get_indent_string=function(r,i){var t=this.__base_string;return i=i||0,r<0&&(r=0,t=""),i+=r*this.__indent_size,this.__ensure_cache(i),t+=this.__cache[i],t},f.prototype.__ensure_cache=function(r){for(;r>=this.__cache.length;)this.__add_column()},f.prototype.__add_column=function(){var r=this.__cache.length,i=0,t="";this.__indent_size&&r>=this.__indent_size&&(i=Math.floor(r/this.__indent_size),r-=i*this.__indent_size,t=new Array(i+1).join(this.__indent_string)),r&&(t+=new Array(r+1).join(" ")),this.__cache.push(t)};function c(r,i){this.__indent_cache=new f(r,i),this.raw=!1,this._end_with_newline=r.end_with_newline,this.indent_size=r.indent_size,this.wrap_line_length=r.wrap_line_length,this.indent_empty_lines=r.indent_empty_lines,this.__lines=[],this.previous_line=null,this.current_line=null,this.next_line=new m(this),this.space_before_token=!1,this.non_breaking_space=!1,this.previous_token_wrapped=!1,this.__add_outputline()}c.prototype.__add_outputline=function(){this.previous_line=this.current_line,this.current_line=this.next_line.clone_empty(),this.__lines.push(this.current_line)},c.prototype.get_line_number=function(){return this.__lines.length},c.prototype.get_indent_string=function(r,i){return this.__indent_cache.get_indent_string(r,i)},c.prototype.get_indent_size=function(r,i){return this.__indent_cache.get_indent_size(r,i)},c.prototype.is_empty=function(){return!this.previous_line&&this.current_line.is_empty()},c.prototype.add_new_line=function(r){return this.is_empty()||!r&&this.just_added_newline()?!1:(this.raw||this.__add_outputline(),!0)},c.prototype.get_code=function(r){this.trim(!0);var i=this.current_line.pop();i&&(i[i.length-1]===`
|
|
`&&(i=i.replace(/\n+$/g,"")),this.current_line.push(i)),this._end_with_newline&&this.__add_outputline();var t=this.__lines.join(`
|
|
`);return r!==`
|
|
`&&(t=t.replace(/[\n]/g,r)),t},c.prototype.set_wrap_point=function(){this.current_line._set_wrap_point()},c.prototype.set_indent=function(r,i){return r=r||0,i=i||0,this.next_line.set_indent(r,i),this.__lines.length>1?(this.current_line.set_indent(r,i),!0):(this.current_line.set_indent(),!1)},c.prototype.add_raw_token=function(r){for(var i=0;i<r.newlines;i++)this.__add_outputline();this.current_line.set_indent(-1),this.current_line.push(r.whitespace_before),this.current_line.push(r.text),this.space_before_token=!1,this.non_breaking_space=!1,this.previous_token_wrapped=!1},c.prototype.add_token=function(r){this.__add_space_before_token(),this.current_line.push(r),this.space_before_token=!1,this.non_breaking_space=!1,this.previous_token_wrapped=this.current_line._allow_wrap()},c.prototype.__add_space_before_token=function(){this.space_before_token&&!this.just_added_newline()&&(this.non_breaking_space||this.set_wrap_point(),this.current_line.push(" "))},c.prototype.remove_indent=function(r){for(var i=this.__lines.length;r<i;)this.__lines[r]._remove_indent(),r++;this.current_line._remove_wrap_indent()},c.prototype.trim=function(r){for(r=r===void 0?!1:r,this.current_line.trim();r&&this.__lines.length>1&&this.current_line.is_empty();)this.__lines.pop(),this.current_line=this.__lines[this.__lines.length-1],this.current_line.trim();this.previous_line=this.__lines.length>1?this.__lines[this.__lines.length-2]:null},c.prototype.just_added_newline=function(){return this.current_line.is_empty()},c.prototype.just_added_blankline=function(){return this.is_empty()||this.current_line.is_empty()&&this.previous_line.is_empty()},c.prototype.ensure_empty_line_above=function(r,i){for(var t=this.__lines.length-2;t>=0;){var o=this.__lines[t];if(o.is_empty())break;if(o.item(0).indexOf(r)!==0&&o.item(-1)!==i){this.__lines.splice(t+1,0,new m(this)),this.previous_line=this.__lines[this.__lines.length-2];break}t--}},e.exports.Output=c},,,,function(e){function m(r,i){this.raw_options=f(r,i),this.disabled=this._get_boolean("disabled"),this.eol=this._get_characters("eol","auto"),this.end_with_newline=this._get_boolean("end_with_newline"),this.indent_size=this._get_number("indent_size",4),this.indent_char=this._get_characters("indent_char"," "),this.indent_level=this._get_number("indent_level"),this.preserve_newlines=this._get_boolean("preserve_newlines",!0),this.max_preserve_newlines=this._get_number("max_preserve_newlines",32786),this.preserve_newlines||(this.max_preserve_newlines=0),this.indent_with_tabs=this._get_boolean("indent_with_tabs",this.indent_char===" "),this.indent_with_tabs&&(this.indent_char=" ",this.indent_size===1&&(this.indent_size=4)),this.wrap_line_length=this._get_number("wrap_line_length",this._get_number("max_char")),this.indent_empty_lines=this._get_boolean("indent_empty_lines"),this.templating=this._get_selection_list("templating",["auto","none","django","erb","handlebars","php","smarty"],["auto"])}m.prototype._get_array=function(r,i){var t=this.raw_options[r],o=i||[];return typeof t=="object"?t!==null&&typeof t.concat=="function"&&(o=t.concat()):typeof t=="string"&&(o=t.split(/[^a-zA-Z0-9_\/\-]+/)),o},m.prototype._get_boolean=function(r,i){var t=this.raw_options[r],o=t===void 0?!!i:!!t;return o},m.prototype._get_characters=function(r,i){var t=this.raw_options[r],o=i||"";return typeof t=="string"&&(o=t.replace(/\\r/,"\r").replace(/\\n/,`
|
|
`).replace(/\\t/," ")),o},m.prototype._get_number=function(r,i){var t=this.raw_options[r];i=parseInt(i,10),isNaN(i)&&(i=0);var o=parseInt(t,10);return isNaN(o)&&(o=i),o},m.prototype._get_selection=function(r,i,t){var o=this._get_selection_list(r,i,t);if(o.length!==1)throw new Error("Invalid Option Value: The option '"+r+`' can only be one of the following values:
|
|
`+i+`
|
|
You passed in: '`+this.raw_options[r]+"'");return o[0]},m.prototype._get_selection_list=function(r,i,t){if(!i||i.length===0)throw new Error("Selection list cannot be empty.");if(t=t||[i[0]],!this._is_valid_selection(t,i))throw new Error("Invalid Default Value!");var o=this._get_array(r,t);if(!this._is_valid_selection(o,i))throw new Error("Invalid Option Value: The option '"+r+`' can contain only the following values:
|
|
`+i+`
|
|
You passed in: '`+this.raw_options[r]+"'");return o},m.prototype._is_valid_selection=function(r,i){return r.length&&i.length&&!r.some(function(t){return i.indexOf(t)===-1})};function f(r,i){var t={};r=c(r);var o;for(o in r)o!==i&&(t[o]=r[o]);if(i&&r[i])for(o in r[i])t[o]=r[i][o];return t}function c(r){var i={},t;for(t in r){var o=t.replace(/-/g,"_");i[o]=r[t]}return i}e.exports.Options=m,e.exports.normalizeOpts=c,e.exports.mergeOpts=f},,function(e){var m=RegExp.prototype.hasOwnProperty("sticky");function f(c){this.__input=c||"",this.__input_length=this.__input.length,this.__position=0}f.prototype.restart=function(){this.__position=0},f.prototype.back=function(){this.__position>0&&(this.__position-=1)},f.prototype.hasNext=function(){return this.__position<this.__input_length},f.prototype.next=function(){var c=null;return this.hasNext()&&(c=this.__input.charAt(this.__position),this.__position+=1),c},f.prototype.peek=function(c){var r=null;return c=c||0,c+=this.__position,c>=0&&c<this.__input_length&&(r=this.__input.charAt(c)),r},f.prototype.__match=function(c,r){c.lastIndex=r;var i=c.exec(this.__input);return i&&!(m&&c.sticky)&&(i.index!==r&&(i=null)),i},f.prototype.test=function(c,r){return r=r||0,r+=this.__position,r>=0&&r<this.__input_length?!!this.__match(c,r):!1},f.prototype.testChar=function(c,r){var i=this.peek(r);return c.lastIndex=0,i!==null&&c.test(i)},f.prototype.match=function(c){var r=this.__match(c,this.__position);return r?this.__position+=r[0].length:r=null,r},f.prototype.read=function(c,r,i){var t="",o;return c&&(o=this.match(c),o&&(t+=o[0])),r&&(o||!c)&&(t+=this.readUntil(r,i)),t},f.prototype.readUntil=function(c,r){var i="",t=this.__position;c.lastIndex=this.__position;var o=c.exec(this.__input);return o?(t=o.index,r&&(t+=o[0].length)):t=this.__input_length,i=this.__input.substring(this.__position,t),this.__position=t,i},f.prototype.readUntilAfter=function(c){return this.readUntil(c,!0)},f.prototype.get_regexp=function(c,r){var i=null,t="g";return r&&m&&(t="y"),typeof c=="string"&&c!==""?i=new RegExp(c,t):c&&(i=new RegExp(c.source,t)),i},f.prototype.get_literal_regexp=function(c){return RegExp(c.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&"))},f.prototype.peekUntilAfter=function(c){var r=this.__position,i=this.readUntilAfter(c);return this.__position=r,i},f.prototype.lookBack=function(c){var r=this.__position-1;return r>=c.length&&this.__input.substring(r-c.length,r).toLowerCase()===c},e.exports.InputScanner=f},,,,,function(e){function m(f,c){f=typeof f=="string"?f:f.source,c=typeof c=="string"?c:c.source,this.__directives_block_pattern=new RegExp(f+/ beautify( \w+[:]\w+)+ /.source+c,"g"),this.__directive_pattern=/ (\w+)[:](\w+)/g,this.__directives_end_ignore_pattern=new RegExp(f+/\sbeautify\signore:end\s/.source+c,"g")}m.prototype.get_directives=function(f){if(!f.match(this.__directives_block_pattern))return null;var c={};this.__directive_pattern.lastIndex=0;for(var r=this.__directive_pattern.exec(f);r;)c[r[1]]=r[2],r=this.__directive_pattern.exec(f);return c},m.prototype.readIgnored=function(f){return f.readUntilAfter(this.__directives_end_ignore_pattern)},e.exports.Directives=m},,function(e,m,f){var c=f(16).Beautifier,r=f(17).Options;function i(t,o){var d=new c(t,o);return d.beautify()}e.exports=i,e.exports.defaultOptions=function(){return new r}},function(e,m,f){var c=f(17).Options,r=f(2).Output,i=f(8).InputScanner,t=f(13).Directives,o=new t(/\/\*/,/\*\//),d=/\r\n|[\r\n]/,g=/\r\n|[\r\n]/g,u=/\s/,l=/(?:\s|\n)+/g,w=/\/\*(?:[\s\S]*?)((?:\*\/)|$)/g,A=/\/\/(?:[^\n\r\u2028\u2029]*)/g;function N(O,L){this._source_text=O||"",this._options=new c(L),this._ch=null,this._input=null,this.NESTED_AT_RULE={"@page":!0,"@font-face":!0,"@keyframes":!0,"@media":!0,"@supports":!0,"@document":!0},this.CONDITIONAL_GROUP_RULE={"@media":!0,"@supports":!0,"@document":!0},this.NON_SEMICOLON_NEWLINE_PROPERTY=["grid-template-areas","grid-template"]}N.prototype.eatString=function(O){var L="";for(this._ch=this._input.next();this._ch;){if(L+=this._ch,this._ch==="\\")L+=this._input.next();else if(O.indexOf(this._ch)!==-1||this._ch===`
|
|
`)break;this._ch=this._input.next()}return L},N.prototype.eatWhitespace=function(O){for(var L=u.test(this._input.peek()),b=0;u.test(this._input.peek());)this._ch=this._input.next(),O&&this._ch===`
|
|
`&&((b===0||b<this._options.max_preserve_newlines)&&(b++,this._output.add_new_line(!0)));return L},N.prototype.foundNestedPseudoClass=function(){for(var O=0,L=1,b=this._input.peek(L);b;){if(b==="{")return!0;if(b==="(")O+=1;else if(b===")"){if(O===0)return!1;O-=1}else if(b===";"||b==="}")return!1;L++,b=this._input.peek(L)}return!1},N.prototype.print_string=function(O){this._output.set_indent(this._indentLevel),this._output.non_breaking_space=!0,this._output.add_token(O)},N.prototype.preserveSingleSpace=function(O){O&&(this._output.space_before_token=!0)},N.prototype.indent=function(){this._indentLevel++},N.prototype.outdent=function(){this._indentLevel>0&&this._indentLevel--},N.prototype.beautify=function(){if(this._options.disabled)return this._source_text;var O=this._source_text,L=this._options.eol;L==="auto"&&(L=`
|
|
`,O&&d.test(O||"")&&(L=O.match(d)[0])),O=O.replace(g,`
|
|
`);var b=O.match(/^[\t ]*/)[0];this._output=new r(this._options,b),this._input=new i(O),this._indentLevel=0,this._nestedLevel=0,this._ch=null;for(var D=0,K=!1,W=!1,C=!1,E=!1,v=!1,z=!1,x=this._ch,a=!1,h,p,n;h=this._input.read(l),p=h!=="",n=x,this._ch=this._input.next(),this._ch==="\\"&&this._input.hasNext()&&(this._ch+=this._input.next()),x=this._ch,this._ch;)if(this._ch==="/"&&this._input.peek()==="*"){this._output.add_new_line(),this._input.back();var y=this._input.read(w),R=o.get_directives(y);R&&R.ignore==="start"&&(y+=o.readIgnored(this._input)),this.print_string(y),this.eatWhitespace(!0),this._output.add_new_line()}else if(this._ch==="/"&&this._input.peek()==="/")this._output.space_before_token=!0,this._input.back(),this.print_string(this._input.read(A)),this.eatWhitespace(!0);else if(this._ch==="@"||this._ch==="$")if(this.preserveSingleSpace(p),this._input.peek()==="{")this.print_string(this._ch+this.eatString("}"));else{this.print_string(this._ch);var M=this._input.peekUntilAfter(/[: ,;{}()[\]\/='"]/g);M.match(/[ :]$/)&&(M=this.eatString(": ").replace(/\s$/,""),this.print_string(M),this._output.space_before_token=!0),M=M.replace(/\s$/,""),M==="extend"?E=!0:M==="import"&&(v=!0),M in this.NESTED_AT_RULE?(this._nestedLevel+=1,M in this.CONDITIONAL_GROUP_RULE&&(C=!0)):!K&&D===0&&M.indexOf(":")!==-1&&(W=!0,this.indent())}else if(this._ch==="#"&&this._input.peek()==="{")this.preserveSingleSpace(p),this.print_string(this._ch+this.eatString("}"));else if(this._ch==="{")W&&(W=!1,this.outdent()),C?(C=!1,K=this._indentLevel>=this._nestedLevel):K=this._indentLevel>=this._nestedLevel-1,this._options.newline_between_rules&&K&&(this._output.previous_line&&this._output.previous_line.item(-1)!=="{"&&this._output.ensure_empty_line_above("/",",")),this._output.space_before_token=!0,this._options.brace_style==="expand"?(this._output.add_new_line(),this.print_string(this._ch),this.indent(),this._output.set_indent(this._indentLevel)):(n==="("?this._output.space_before_token=!1:n!==","&&this.indent(),this.print_string(this._ch)),this.eatWhitespace(!0),this._output.add_new_line();else if(this._ch==="}")this.outdent(),this._output.add_new_line(),n==="{"&&this._output.trim(!0),v=!1,E=!1,W&&(this.outdent(),W=!1),this.print_string(this._ch),K=!1,this._nestedLevel&&this._nestedLevel--,this.eatWhitespace(!0),this._output.add_new_line(),this._options.newline_between_rules&&!this._output.just_added_blankline()&&(this._input.peek()!=="}"&&this._output.add_new_line(!0)),this._input.peek()===")"&&(this._output.trim(!0),this._options.brace_style==="expand"&&this._output.add_new_line(!0));else if(this._ch===":"){for(var $=0;$<this.NON_SEMICOLON_NEWLINE_PROPERTY.length;$++)if(this._input.lookBack(this.NON_SEMICOLON_NEWLINE_PROPERTY[$])){a=!0;break}(K||C)&&!(this._input.lookBack("&")||this.foundNestedPseudoClass())&&!this._input.lookBack("(")&&!E&&D===0?(this.print_string(":"),W||(W=!0,this._output.space_before_token=!0,this.eatWhitespace(!0),this.indent())):(this._input.lookBack(" ")&&(this._output.space_before_token=!0),this._input.peek()===":"?(this._ch=this._input.next(),this.print_string("::")):this.print_string(":"))}else if(this._ch==='"'||this._ch==="'"){var ne=n==='"'||n==="'";this.preserveSingleSpace(ne||p),this.print_string(this._ch+this.eatString(this._ch)),this.eatWhitespace(!0)}else if(this._ch===";")a=!1,D===0?(W&&(this.outdent(),W=!1),E=!1,v=!1,this.print_string(this._ch),this.eatWhitespace(!0),this._input.peek()!=="/"&&this._output.add_new_line()):(this.print_string(this._ch),this.eatWhitespace(!0),this._output.space_before_token=!0);else if(this._ch==="(")if(this._input.lookBack("url"))this.print_string(this._ch),this.eatWhitespace(),D++,this.indent(),this._ch=this._input.next(),this._ch===")"||this._ch==='"'||this._ch==="'"?this._input.back():this._ch&&(this.print_string(this._ch+this.eatString(")")),D&&(D--,this.outdent()));else{var V=!1;this._input.lookBack("with")&&(V=!0),this.preserveSingleSpace(p||V),this.print_string(this._ch),W&&n==="$"&&this._options.selector_separator_newline?(this._output.add_new_line(),z=!0):(this.eatWhitespace(),D++,this.indent())}else if(this._ch===")")D&&(D--,this.outdent()),z&&this._input.peek()===";"&&this._options.selector_separator_newline&&(z=!1,this.outdent(),this._output.add_new_line()),this.print_string(this._ch);else if(this._ch===",")this.print_string(this._ch),this.eatWhitespace(!0),this._options.selector_separator_newline&&(!W||z)&&D===0&&!v&&!E?this._output.add_new_line():this._output.space_before_token=!0;else if((this._ch===">"||this._ch==="+"||this._ch==="~")&&!W&&D===0)this._options.space_around_combinator?(this._output.space_before_token=!0,this.print_string(this._ch),this._output.space_before_token=!0):(this.print_string(this._ch),this.eatWhitespace(),this._ch&&u.test(this._ch)&&(this._ch=""));else if(this._ch==="]")this.print_string(this._ch);else if(this._ch==="[")this.preserveSingleSpace(p),this.print_string(this._ch);else if(this._ch==="=")this.eatWhitespace(),this.print_string("="),u.test(this._ch)&&(this._ch="");else if(this._ch==="!"&&!this._input.lookBack("\\"))this._output.space_before_token=!0,this.print_string(this._ch);else{var Q=n==='"'||n==="'";this.preserveSingleSpace(Q||p),this.print_string(this._ch),!this._output.just_added_newline()&&this._input.peek()===`
|
|
`&&a&&this._output.add_new_line()}var te=this._output.get_code(L);return te},e.exports.Beautifier=N},function(e,m,f){var c=f(6).Options;function r(i){c.call(this,i,"css"),this.selector_separator_newline=this._get_boolean("selector_separator_newline",!0),this.newline_between_rules=this._get_boolean("newline_between_rules",!0);var t=this._get_boolean("space_around_selector_separator");this.space_around_combinator=this._get_boolean("space_around_combinator")||t;var o=this._get_selection_list("brace_style",["collapse","expand","end-expand","none","preserve-inline"]);this.brace_style="collapse";for(var d=0;d<o.length;d++)o[d]!=="expand"?this.brace_style="collapse":this.brace_style=o[d]}r.prototype=new c,e.exports.Options=r}],_={};function k(e){var m=_[e];if(m!==void 0)return m.exports;var f=_[e]={exports:{}};return U[e](f,f.exports,k),f.exports}var P=k(15);F=P})();var H=F;!(S=[],j=function(){return{css_beautify:H}}.apply(T,S),j!==void 0&&(se.exports=j))})()},Vhoy:function(se,T,s){"use strict";s.d(T,"d",function(){return H}),s.d(T,"e",function(){return U}),s.d(T,"c",function(){return _}),s.d(T,"b",function(){return k}),s.d(T,"a",function(){return P});var S=s("MI8n");class j{constructor(){this._icons=new Map,this._onDidRegister=new S.b}add(e){const m=this._icons.get(e.id);m?e.description?m.description=e.description:console.error(`Duplicate registration of codicon ${e.id}`):(this._icons.set(e.id,e),this._onDidRegister.fire(e))}get(e){return this._icons.get(e)}get all(){return this._icons.values()}get onDidRegister(){return this._onDidRegister.event}}const F=new j,H=F;function U(e,m){return new k(e,m)}function _(e){return e?e.replace(/\$\((.*?)\)/g,(m,f)=>` ${f} `).trim():""}class k{constructor(e,m,f){this.id=e,this.definition=m,this.description=f,F.add(this)}get classNames(){return"codicon codicon-"+this.id}get classNamesArray(){return["codicon","codicon-"+this.id]}get cssSelector(){return".codicon.codicon-"+this.id}}var P;(function(e){e.iconNameSegment="[A-Za-z0-9]+",e.iconNameExpression="[A-Za-z0-9\\-]+",e.iconModifierExpression="~[A-Za-z]+";const m=new RegExp(`^(${e.iconNameExpression})(${e.iconModifierExpression})?$`);function f(i){if(i instanceof k)return["codicon","codicon-"+i.id];const t=m.exec(i.id);if(!t)return f(k.error);let[,o,d]=t;const g=["codicon","codicon-"+o];return d&&g.push("codicon-modifier-"+d.substr(1)),g}e.asClassNameArray=f;function c(i){return f(i).join(" ")}e.asClassName=c;function r(i){return"."+f(i).join(".")}e.asCSSSelector=r})(P||(P={})),function(e){e.add=new e("add",{fontCharacter:"\\ea60"}),e.plus=new e("plus",e.add.definition),e.gistNew=new e("gist-new",e.add.definition),e.repoCreate=new e("repo-create",e.add.definition),e.lightbulb=new e("lightbulb",{fontCharacter:"\\ea61"}),e.lightBulb=new e("light-bulb",{fontCharacter:"\\ea61"}),e.repo=new e("repo",{fontCharacter:"\\ea62"}),e.repoDelete=new e("repo-delete",{fontCharacter:"\\ea62"}),e.gistFork=new e("gist-fork",{fontCharacter:"\\ea63"}),e.repoForked=new e("repo-forked",{fontCharacter:"\\ea63"}),e.gitPullRequest=new e("git-pull-request",{fontCharacter:"\\ea64"}),e.gitPullRequestAbandoned=new e("git-pull-request-abandoned",{fontCharacter:"\\ea64"}),e.recordKeys=new e("record-keys",{fontCharacter:"\\ea65"}),e.keyboard=new e("keyboard",{fontCharacter:"\\ea65"}),e.tag=new e("tag",{fontCharacter:"\\ea66"}),e.tagAdd=new e("tag-add",{fontCharacter:"\\ea66"}),e.tagRemove=new e("tag-remove",{fontCharacter:"\\ea66"}),e.person=new e("person",{fontCharacter:"\\ea67"}),e.personFollow=new e("person-follow",{fontCharacter:"\\ea67"}),e.personOutline=new e("person-outline",{fontCharacter:"\\ea67"}),e.personFilled=new e("person-filled",{fontCharacter:"\\ea67"}),e.gitBranch=new e("git-branch",{fontCharacter:"\\ea68"}),e.gitBranchCreate=new e("git-branch-create",{fontCharacter:"\\ea68"}),e.gitBranchDelete=new e("git-branch-delete",{fontCharacter:"\\ea68"}),e.sourceControl=new e("source-control",{fontCharacter:"\\ea68"}),e.mirror=new e("mirror",{fontCharacter:"\\ea69"}),e.mirrorPublic=new e("mirror-public",{fontCharacter:"\\ea69"}),e.star=new e("star",{fontCharacter:"\\ea6a"}),e.starAdd=new e("star-add",{fontCharacter:"\\ea6a"}),e.starDelete=new e("star-delete",{fontCharacter:"\\ea6a"}),e.starEmpty=new e("star-empty",{fontCharacter:"\\ea6a"}),e.comment=new e("comment",{fontCharacter:"\\ea6b"}),e.commentAdd=new e("comment-add",{fontCharacter:"\\ea6b"}),e.alert=new e("alert",{fontCharacter:"\\ea6c"}),e.warning=new e("warning",{fontCharacter:"\\ea6c"}),e.search=new e("search",{fontCharacter:"\\ea6d"}),e.searchSave=new e("search-save",{fontCharacter:"\\ea6d"}),e.logOut=new e("log-out",{fontCharacter:"\\ea6e"}),e.signOut=new e("sign-out",{fontCharacter:"\\ea6e"}),e.logIn=new e("log-in",{fontCharacter:"\\ea6f"}),e.signIn=new e("sign-in",{fontCharacter:"\\ea6f"}),e.eye=new e("eye",{fontCharacter:"\\ea70"}),e.eyeUnwatch=new e("eye-unwatch",{fontCharacter:"\\ea70"}),e.eyeWatch=new e("eye-watch",{fontCharacter:"\\ea70"}),e.circleFilled=new e("circle-filled",{fontCharacter:"\\ea71"}),e.primitiveDot=new e("primitive-dot",{fontCharacter:"\\ea71"}),e.closeDirty=new e("close-dirty",{fontCharacter:"\\ea71"}),e.debugBreakpoint=new e("debug-breakpoint",{fontCharacter:"\\ea71"}),e.debugBreakpointDisabled=new e("debug-breakpoint-disabled",{fontCharacter:"\\ea71"}),e.debugHint=new e("debug-hint",{fontCharacter:"\\ea71"}),e.primitiveSquare=new e("primitive-square",{fontCharacter:"\\ea72"}),e.edit=new e("edit",{fontCharacter:"\\ea73"}),e.pencil=new e("pencil",{fontCharacter:"\\ea73"}),e.info=new e("info",{fontCharacter:"\\ea74"}),e.issueOpened=new e("issue-opened",{fontCharacter:"\\ea74"}),e.gistPrivate=new e("gist-private",{fontCharacter:"\\ea75"}),e.gitForkPrivate=new e("git-fork-private",{fontCharacter:"\\ea75"}),e.lock=new e("lock",{fontCharacter:"\\ea75"}),e.mirrorPrivate=new e("mirror-private",{fontCharacter:"\\ea75"}),e.close=new e("close",{fontCharacter:"\\ea76"}),e.removeClose=new e("remove-close",{fontCharacter:"\\ea76"}),e.x=new e("x",{fontCharacter:"\\ea76"}),e.repoSync=new e("repo-sync",{fontCharacter:"\\ea77"}),e.sync=new e("sync",{fontCharacter:"\\ea77"}),e.clone=new e("clone",{fontCharacter:"\\ea78"}),e.desktopDownload=new e("desktop-download",{fontCharacter:"\\ea78"}),e.beaker=new e("beaker",{fontCharacter:"\\ea79"}),e.microscope=new e("microscope",{fontCharacter:"\\ea79"}),e.vm=new e("vm",{fontCharacter:"\\ea7a"}),e.deviceDesktop=new e("device-desktop",{fontCharacter:"\\ea7a"}),e.file=new e("file",{fontCharacter:"\\ea7b"}),e.fileText=new e("file-text",{fontCharacter:"\\ea7b"}),e.more=new e("more",{fontCharacter:"\\ea7c"}),e.ellipsis=new e("ellipsis",{fontCharacter:"\\ea7c"}),e.kebabHorizontal=new e("kebab-horizontal",{fontCharacter:"\\ea7c"}),e.mailReply=new e("mail-reply",{fontCharacter:"\\ea7d"}),e.reply=new e("reply",{fontCharacter:"\\ea7d"}),e.organization=new e("organization",{fontCharacter:"\\ea7e"}),e.organizationFilled=new e("organization-filled",{fontCharacter:"\\ea7e"}),e.organizationOutline=new e("organization-outline",{fontCharacter:"\\ea7e"}),e.newFile=new e("new-file",{fontCharacter:"\\ea7f"}),e.fileAdd=new e("file-add",{fontCharacter:"\\ea7f"}),e.newFolder=new e("new-folder",{fontCharacter:"\\ea80"}),e.fileDirectoryCreate=new e("file-directory-create",{fontCharacter:"\\ea80"}),e.trash=new e("trash",{fontCharacter:"\\ea81"}),e.trashcan=new e("trashcan",{fontCharacter:"\\ea81"}),e.history=new e("history",{fontCharacter:"\\ea82"}),e.clock=new e("clock",{fontCharacter:"\\ea82"}),e.folder=new e("folder",{fontCharacter:"\\ea83"}),e.fileDirectory=new e("file-directory",{fontCharacter:"\\ea83"}),e.symbolFolder=new e("symbol-folder",{fontCharacter:"\\ea83"}),e.logoGithub=new e("logo-github",{fontCharacter:"\\ea84"}),e.markGithub=new e("mark-github",{fontCharacter:"\\ea84"}),e.github=new e("github",{fontCharacter:"\\ea84"}),e.terminal=new e("terminal",{fontCharacter:"\\ea85"}),e.console=new e("console",{fontCharacter:"\\ea85"}),e.repl=new e("repl",{fontCharacter:"\\ea85"}),e.zap=new e("zap",{fontCharacter:"\\ea86"}),e.symbolEvent=new e("symbol-event",{fontCharacter:"\\ea86"}),e.error=new e("error",{fontCharacter:"\\ea87"}),e.stop=new e("stop",{fontCharacter:"\\ea87"}),e.variable=new e("variable",{fontCharacter:"\\ea88"}),e.symbolVariable=new e("symbol-variable",{fontCharacter:"\\ea88"}),e.array=new e("array",{fontCharacter:"\\ea8a"}),e.symbolArray=new e("symbol-array",{fontCharacter:"\\ea8a"}),e.symbolModule=new e("symbol-module",{fontCharacter:"\\ea8b"}),e.symbolPackage=new e("symbol-package",{fontCharacter:"\\ea8b"}),e.symbolNamespace=new e("symbol-namespace",{fontCharacter:"\\ea8b"}),e.symbolObject=new e("symbol-object",{fontCharacter:"\\ea8b"}),e.symbolMethod=new e("symbol-method",{fontCharacter:"\\ea8c"}),e.symbolFunction=new e("symbol-function",{fontCharacter:"\\ea8c"}),e.symbolConstructor=new e("symbol-constructor",{fontCharacter:"\\ea8c"}),e.symbolBoolean=new e("symbol-boolean",{fontCharacter:"\\ea8f"}),e.symbolNull=new e("symbol-null",{fontCharacter:"\\ea8f"}),e.symbolNumeric=new e("symbol-numeric",{fontCharacter:"\\ea90"}),e.symbolNumber=new e("symbol-number",{fontCharacter:"\\ea90"}),e.symbolStructure=new e("symbol-structure",{fontCharacter:"\\ea91"}),e.symbolStruct=new e("symbol-struct",{fontCharacter:"\\ea91"}),e.symbolParameter=new e("symbol-parameter",{fontCharacter:"\\ea92"}),e.symbolTypeParameter=new e("symbol-type-parameter",{fontCharacter:"\\ea92"}),e.symbolKey=new e("symbol-key",{fontCharacter:"\\ea93"}),e.symbolText=new e("symbol-text",{fontCharacter:"\\ea93"}),e.symbolReference=new e("symbol-reference",{fontCharacter:"\\ea94"}),e.goToFile=new e("go-to-file",{fontCharacter:"\\ea94"}),e.symbolEnum=new e("symbol-enum",{fontCharacter:"\\ea95"}),e.symbolValue=new e("symbol-value",{fontCharacter:"\\ea95"}),e.symbolRuler=new e("symbol-ruler",{fontCharacter:"\\ea96"}),e.symbolUnit=new e("symbol-unit",{fontCharacter:"\\ea96"}),e.activateBreakpoints=new e("activate-breakpoints",{fontCharacter:"\\ea97"}),e.archive=new e("archive",{fontCharacter:"\\ea98"}),e.arrowBoth=new e("arrow-both",{fontCharacter:"\\ea99"}),e.arrowDown=new e("arrow-down",{fontCharacter:"\\ea9a"}),e.arrowLeft=new e("arrow-left",{fontCharacter:"\\ea9b"}),e.arrowRight=new e("arrow-right",{fontCharacter:"\\ea9c"}),e.arrowSmallDown=new e("arrow-small-down",{fontCharacter:"\\ea9d"}),e.arrowSmallLeft=new e("arrow-small-left",{fontCharacter:"\\ea9e"}),e.arrowSmallRight=new e("arrow-small-right",{fontCharacter:"\\ea9f"}),e.arrowSmallUp=new e("arrow-small-up",{fontCharacter:"\\eaa0"}),e.arrowUp=new e("arrow-up",{fontCharacter:"\\eaa1"}),e.bell=new e("bell",{fontCharacter:"\\eaa2"}),e.bold=new e("bold",{fontCharacter:"\\eaa3"}),e.book=new e("book",{fontCharacter:"\\eaa4"}),e.bookmark=new e("bookmark",{fontCharacter:"\\eaa5"}),e.debugBreakpointConditionalUnverified=new e("debug-breakpoint-conditional-unverified",{fontCharacter:"\\eaa6"}),e.debugBreakpointConditional=new e("debug-breakpoint-conditional",{fontCharacter:"\\eaa7"}),e.debugBreakpointConditionalDisabled=new e("debug-breakpoint-conditional-disabled",{fontCharacter:"\\eaa7"}),e.debugBreakpointDataUnverified=new e("debug-breakpoint-data-unverified",{fontCharacter:"\\eaa8"}),e.debugBreakpointData=new e("debug-breakpoint-data",{fontCharacter:"\\eaa9"}),e.debugBreakpointDataDisabled=new e("debug-breakpoint-data-disabled",{fontCharacter:"\\eaa9"}),e.debugBreakpointLogUnverified=new e("debug-breakpoint-log-unverified",{fontCharacter:"\\eaaa"}),e.debugBreakpointLog=new e("debug-breakpoint-log",{fontCharacter:"\\eaab"}),e.debugBreakpointLogDisabled=new e("debug-breakpoint-log-disabled",{fontCharacter:"\\eaab"}),e.briefcase=new e("briefcase",{fontCharacter:"\\eaac"}),e.broadcast=new e("broadcast",{fontCharacter:"\\eaad"}),e.browser=new e("browser",{fontCharacter:"\\eaae"}),e.bug=new e("bug",{fontCharacter:"\\eaaf"}),e.calendar=new e("calendar",{fontCharacter:"\\eab0"}),e.caseSensitive=new e("case-sensitive",{fontCharacter:"\\eab1"}),e.check=new e("check",{fontCharacter:"\\eab2"}),e.checklist=new e("checklist",{fontCharacter:"\\eab3"}),e.chevronDown=new e("chevron-down",{fontCharacter:"\\eab4"}),e.dropDownButton=new e("drop-down-button",e.chevronDown.definition),e.chevronLeft=new e("chevron-left",{fontCharacter:"\\eab5"}),e.chevronRight=new e("chevron-right",{fontCharacter:"\\eab6"}),e.chevronUp=new e("chevron-up",{fontCharacter:"\\eab7"}),e.chromeClose=new e("chrome-close",{fontCharacter:"\\eab8"}),e.chromeMaximize=new e("chrome-maximize",{fontCharacter:"\\eab9"}),e.chromeMinimize=new e("chrome-minimize",{fontCharacter:"\\eaba"}),e.chromeRestore=new e("chrome-restore",{fontCharacter:"\\eabb"}),e.circleOutline=new e("circle-outline",{fontCharacter:"\\eabc"}),e.debugBreakpointUnverified=new e("debug-breakpoint-unverified",{fontCharacter:"\\eabc"}),e.circleSlash=new e("circle-slash",{fontCharacter:"\\eabd"}),e.circuitBoard=new e("circuit-board",{fontCharacter:"\\eabe"}),e.clearAll=new e("clear-all",{fontCharacter:"\\eabf"}),e.clippy=new e("clippy",{fontCharacter:"\\eac0"}),e.closeAll=new e("close-all",{fontCharacter:"\\eac1"}),e.cloudDownload=new e("cloud-download",{fontCharacter:"\\eac2"}),e.cloudUpload=new e("cloud-upload",{fontCharacter:"\\eac3"}),e.code=new e("code",{fontCharacter:"\\eac4"}),e.collapseAll=new e("collapse-all",{fontCharacter:"\\eac5"}),e.colorMode=new e("color-mode",{fontCharacter:"\\eac6"}),e.commentDiscussion=new e("comment-discussion",{fontCharacter:"\\eac7"}),e.compareChanges=new e("compare-changes",{fontCharacter:"\\eafd"}),e.creditCard=new e("credit-card",{fontCharacter:"\\eac9"}),e.dash=new e("dash",{fontCharacter:"\\eacc"}),e.dashboard=new e("dashboard",{fontCharacter:"\\eacd"}),e.database=new e("database",{fontCharacter:"\\eace"}),e.debugContinue=new e("debug-continue",{fontCharacter:"\\eacf"}),e.debugDisconnect=new e("debug-disconnect",{fontCharacter:"\\ead0"}),e.debugPause=new e("debug-pause",{fontCharacter:"\\ead1"}),e.debugRestart=new e("debug-restart",{fontCharacter:"\\ead2"}),e.debugStart=new e("debug-start",{fontCharacter:"\\ead3"}),e.debugStepInto=new e("debug-step-into",{fontCharacter:"\\ead4"}),e.debugStepOut=new e("debug-step-out",{fontCharacter:"\\ead5"}),e.debugStepOver=new e("debug-step-over",{fontCharacter:"\\ead6"}),e.debugStop=new e("debug-stop",{fontCharacter:"\\ead7"}),e.debug=new e("debug",{fontCharacter:"\\ead8"}),e.deviceCameraVideo=new e("device-camera-video",{fontCharacter:"\\ead9"}),e.deviceCamera=new e("device-camera",{fontCharacter:"\\eada"}),e.deviceMobile=new e("device-mobile",{fontCharacter:"\\eadb"}),e.diffAdded=new e("diff-added",{fontCharacter:"\\eadc"}),e.diffIgnored=new e("diff-ignored",{fontCharacter:"\\eadd"}),e.diffModified=new e("diff-modified",{fontCharacter:"\\eade"}),e.diffRemoved=new e("diff-removed",{fontCharacter:"\\eadf"}),e.diffRenamed=new e("diff-renamed",{fontCharacter:"\\eae0"}),e.diff=new e("diff",{fontCharacter:"\\eae1"}),e.discard=new e("discard",{fontCharacter:"\\eae2"}),e.editorLayout=new e("editor-layout",{fontCharacter:"\\eae3"}),e.emptyWindow=new e("empty-window",{fontCharacter:"\\eae4"}),e.exclude=new e("exclude",{fontCharacter:"\\eae5"}),e.extensions=new e("extensions",{fontCharacter:"\\eae6"}),e.eyeClosed=new e("eye-closed",{fontCharacter:"\\eae7"}),e.fileBinary=new e("file-binary",{fontCharacter:"\\eae8"}),e.fileCode=new e("file-code",{fontCharacter:"\\eae9"}),e.fileMedia=new e("file-media",{fontCharacter:"\\eaea"}),e.filePdf=new e("file-pdf",{fontCharacter:"\\eaeb"}),e.fileSubmodule=new e("file-submodule",{fontCharacter:"\\eaec"}),e.fileSymlinkDirectory=new e("file-symlink-directory",{fontCharacter:"\\eaed"}),e.fileSymlinkFile=new e("file-symlink-file",{fontCharacter:"\\eaee"}),e.fileZip=new e("file-zip",{fontCharacter:"\\eaef"}),e.files=new e("files",{fontCharacter:"\\eaf0"}),e.filter=new e("filter",{fontCharacter:"\\eaf1"}),e.flame=new e("flame",{fontCharacter:"\\eaf2"}),e.foldDown=new e("fold-down",{fontCharacter:"\\eaf3"}),e.foldUp=new e("fold-up",{fontCharacter:"\\eaf4"}),e.fold=new e("fold",{fontCharacter:"\\eaf5"}),e.folderActive=new e("folder-active",{fontCharacter:"\\eaf6"}),e.folderOpened=new e("folder-opened",{fontCharacter:"\\eaf7"}),e.gear=new e("gear",{fontCharacter:"\\eaf8"}),e.gift=new e("gift",{fontCharacter:"\\eaf9"}),e.gistSecret=new e("gist-secret",{fontCharacter:"\\eafa"}),e.gist=new e("gist",{fontCharacter:"\\eafb"}),e.gitCommit=new e("git-commit",{fontCharacter:"\\eafc"}),e.gitCompare=new e("git-compare",{fontCharacter:"\\eafd"}),e.gitMerge=new e("git-merge",{fontCharacter:"\\eafe"}),e.githubAction=new e("github-action",{fontCharacter:"\\eaff"}),e.githubAlt=new e("github-alt",{fontCharacter:"\\eb00"}),e.globe=new e("globe",{fontCharacter:"\\eb01"}),e.grabber=new e("grabber",{fontCharacter:"\\eb02"}),e.graph=new e("graph",{fontCharacter:"\\eb03"}),e.gripper=new e("gripper",{fontCharacter:"\\eb04"}),e.heart=new e("heart",{fontCharacter:"\\eb05"}),e.home=new e("home",{fontCharacter:"\\eb06"}),e.horizontalRule=new e("horizontal-rule",{fontCharacter:"\\eb07"}),e.hubot=new e("hubot",{fontCharacter:"\\eb08"}),e.inbox=new e("inbox",{fontCharacter:"\\eb09"}),e.issueClosed=new e("issue-closed",{fontCharacter:"\\eba4"}),e.issueReopened=new e("issue-reopened",{fontCharacter:"\\eb0b"}),e.issues=new e("issues",{fontCharacter:"\\eb0c"}),e.italic=new e("italic",{fontCharacter:"\\eb0d"}),e.jersey=new e("jersey",{fontCharacter:"\\eb0e"}),e.json=new e("json",{fontCharacter:"\\eb0f"}),e.kebabVertical=new e("kebab-vertical",{fontCharacter:"\\eb10"}),e.key=new e("key",{fontCharacter:"\\eb11"}),e.law=new e("law",{fontCharacter:"\\eb12"}),e.lightbulbAutofix=new e("lightbulb-autofix",{fontCharacter:"\\eb13"}),e.linkExternal=new e("link-external",{fontCharacter:"\\eb14"}),e.link=new e("link",{fontCharacter:"\\eb15"}),e.listOrdered=new e("list-ordered",{fontCharacter:"\\eb16"}),e.listUnordered=new e("list-unordered",{fontCharacter:"\\eb17"}),e.liveShare=new e("live-share",{fontCharacter:"\\eb18"}),e.loading=new e("loading",{fontCharacter:"\\eb19"}),e.location=new e("location",{fontCharacter:"\\eb1a"}),e.mailRead=new e("mail-read",{fontCharacter:"\\eb1b"}),e.mail=new e("mail",{fontCharacter:"\\eb1c"}),e.markdown=new e("markdown",{fontCharacter:"\\eb1d"}),e.megaphone=new e("megaphone",{fontCharacter:"\\eb1e"}),e.mention=new e("mention",{fontCharacter:"\\eb1f"}),e.milestone=new e("milestone",{fontCharacter:"\\eb20"}),e.mortarBoard=new e("mortar-board",{fontCharacter:"\\eb21"}),e.move=new e("move",{fontCharacter:"\\eb22"}),e.multipleWindows=new e("multiple-windows",{fontCharacter:"\\eb23"}),e.mute=new e("mute",{fontCharacter:"\\eb24"}),e.noNewline=new e("no-newline",{fontCharacter:"\\eb25"}),e.note=new e("note",{fontCharacter:"\\eb26"}),e.octoface=new e("octoface",{fontCharacter:"\\eb27"}),e.openPreview=new e("open-preview",{fontCharacter:"\\eb28"}),e.package_=new e("package",{fontCharacter:"\\eb29"}),e.paintcan=new e("paintcan",{fontCharacter:"\\eb2a"}),e.pin=new e("pin",{fontCharacter:"\\eb2b"}),e.play=new e("play",{fontCharacter:"\\eb2c"}),e.run=new e("run",{fontCharacter:"\\eb2c"}),e.plug=new e("plug",{fontCharacter:"\\eb2d"}),e.preserveCase=new e("preserve-case",{fontCharacter:"\\eb2e"}),e.preview=new e("preview",{fontCharacter:"\\eb2f"}),e.project=new e("project",{fontCharacter:"\\eb30"}),e.pulse=new e("pulse",{fontCharacter:"\\eb31"}),e.question=new e("question",{fontCharacter:"\\eb32"}),e.quote=new e("quote",{fontCharacter:"\\eb33"}),e.radioTower=new e("radio-tower",{fontCharacter:"\\eb34"}),e.reactions=new e("reactions",{fontCharacter:"\\eb35"}),e.references=new e("references",{fontCharacter:"\\eb36"}),e.refresh=new e("refresh",{fontCharacter:"\\eb37"}),e.regex=new e("regex",{fontCharacter:"\\eb38"}),e.remoteExplorer=new e("remote-explorer",{fontCharacter:"\\eb39"}),e.remote=new e("remote",{fontCharacter:"\\eb3a"}),e.remove=new e("remove",{fontCharacter:"\\eb3b"}),e.replaceAll=new e("replace-all",{fontCharacter:"\\eb3c"}),e.replace=new e("replace",{fontCharacter:"\\eb3d"}),e.repoClone=new e("repo-clone",{fontCharacter:"\\eb3e"}),e.repoForcePush=new e("repo-force-push",{fontCharacter:"\\eb3f"}),e.repoPull=new e("repo-pull",{fontCharacter:"\\eb40"}),e.repoPush=new e("repo-push",{fontCharacter:"\\eb41"}),e.report=new e("report",{fontCharacter:"\\eb42"}),e.requestChanges=new e("request-changes",{fontCharacter:"\\eb43"}),e.rocket=new e("rocket",{fontCharacter:"\\eb44"}),e.rootFolderOpened=new e("root-folder-opened",{fontCharacter:"\\eb45"}),e.rootFolder=new e("root-folder",{fontCharacter:"\\eb46"}),e.rss=new e("rss",{fontCharacter:"\\eb47"}),e.ruby=new e("ruby",{fontCharacter:"\\eb48"}),e.saveAll=new e("save-all",{fontCharacter:"\\eb49"}),e.saveAs=new e("save-as",{fontCharacter:"\\eb4a"}),e.save=new e("save",{fontCharacter:"\\eb4b"}),e.screenFull=new e("screen-full",{fontCharacter:"\\eb4c"}),e.screenNormal=new e("screen-normal",{fontCharacter:"\\eb4d"}),e.searchStop=new e("search-stop",{fontCharacter:"\\eb4e"}),e.server=new e("server",{fontCharacter:"\\eb50"}),e.settingsGear=new e("settings-gear",{fontCharacter:"\\eb51"}),e.settings=new e("settings",{fontCharacter:"\\eb52"}),e.shield=new e("shield",{fontCharacter:"\\eb53"}),e.smiley=new e("smiley",{fontCharacter:"\\eb54"}),e.sortPrecedence=new e("sort-precedence",{fontCharacter:"\\eb55"}),e.splitHorizontal=new e("split-horizontal",{fontCharacter:"\\eb56"}),e.splitVertical=new e("split-vertical",{fontCharacter:"\\eb57"}),e.squirrel=new e("squirrel",{fontCharacter:"\\eb58"}),e.starFull=new e("star-full",{fontCharacter:"\\eb59"}),e.starHalf=new e("star-half",{fontCharacter:"\\eb5a"}),e.symbolClass=new e("symbol-class",{fontCharacter:"\\eb5b"}),e.symbolColor=new e("symbol-color",{fontCharacter:"\\eb5c"}),e.symbolConstant=new e("symbol-constant",{fontCharacter:"\\eb5d"}),e.symbolEnumMember=new e("symbol-enum-member",{fontCharacter:"\\eb5e"}),e.symbolField=new e("symbol-field",{fontCharacter:"\\eb5f"}),e.symbolFile=new e("symbol-file",{fontCharacter:"\\eb60"}),e.symbolInterface=new e("symbol-interface",{fontCharacter:"\\eb61"}),e.symbolKeyword=new e("symbol-keyword",{fontCharacter:"\\eb62"}),e.symbolMisc=new e("symbol-misc",{fontCharacter:"\\eb63"}),e.symbolOperator=new e("symbol-operator",{fontCharacter:"\\eb64"}),e.symbolProperty=new e("symbol-property",{fontCharacter:"\\eb65"}),e.wrench=new e("wrench",{fontCharacter:"\\eb65"}),e.wrenchSubaction=new e("wrench-subaction",{fontCharacter:"\\eb65"}),e.symbolSnippet=new e("symbol-snippet",{fontCharacter:"\\eb66"}),e.tasklist=new e("tasklist",{fontCharacter:"\\eb67"}),e.telescope=new e("telescope",{fontCharacter:"\\eb68"}),e.textSize=new e("text-size",{fontCharacter:"\\eb69"}),e.threeBars=new e("three-bars",{fontCharacter:"\\eb6a"}),e.thumbsdown=new e("thumbsdown",{fontCharacter:"\\eb6b"}),e.thumbsup=new e("thumbsup",{fontCharacter:"\\eb6c"}),e.tools=new e("tools",{fontCharacter:"\\eb6d"}),e.triangleDown=new e("triangle-down",{fontCharacter:"\\eb6e"}),e.triangleLeft=new e("triangle-left",{fontCharacter:"\\eb6f"}),e.triangleRight=new e("triangle-right",{fontCharacter:"\\eb70"}),e.triangleUp=new e("triangle-up",{fontCharacter:"\\eb71"}),e.twitter=new e("twitter",{fontCharacter:"\\eb72"}),e.unfold=new e("unfold",{fontCharacter:"\\eb73"}),e.unlock=new e("unlock",{fontCharacter:"\\eb74"}),e.unmute=new e("unmute",{fontCharacter:"\\eb75"}),e.unverified=new e("unverified",{fontCharacter:"\\eb76"}),e.verified=new e("verified",{fontCharacter:"\\eb77"}),e.versions=new e("versions",{fontCharacter:"\\eb78"}),e.vmActive=new e("vm-active",{fontCharacter:"\\eb79"}),e.vmOutline=new e("vm-outline",{fontCharacter:"\\eb7a"}),e.vmRunning=new e("vm-running",{fontCharacter:"\\eb7b"}),e.watch=new e("watch",{fontCharacter:"\\eb7c"}),e.whitespace=new e("whitespace",{fontCharacter:"\\eb7d"}),e.wholeWord=new e("whole-word",{fontCharacter:"\\eb7e"}),e.window=new e("window",{fontCharacter:"\\eb7f"}),e.wordWrap=new e("word-wrap",{fontCharacter:"\\eb80"}),e.zoomIn=new e("zoom-in",{fontCharacter:"\\eb81"}),e.zoomOut=new e("zoom-out",{fontCharacter:"\\eb82"}),e.listFilter=new e("list-filter",{fontCharacter:"\\eb83"}),e.listFlat=new e("list-flat",{fontCharacter:"\\eb84"}),e.listSelection=new e("list-selection",{fontCharacter:"\\eb85"}),e.selection=new e("selection",{fontCharacter:"\\eb85"}),e.listTree=new e("list-tree",{fontCharacter:"\\eb86"}),e.debugBreakpointFunctionUnverified=new e("debug-breakpoint-function-unverified",{fontCharacter:"\\eb87"}),e.debugBreakpointFunction=new e("debug-breakpoint-function",{fontCharacter:"\\eb88"}),e.debugBreakpointFunctionDisabled=new e("debug-breakpoint-function-disabled",{fontCharacter:"\\eb88"}),e.debugStackframeActive=new e("debug-stackframe-active",{fontCharacter:"\\eb89"}),e.debugStackframeDot=new e("debug-stackframe-dot",{fontCharacter:"\\eb8a"}),e.debugStackframe=new e("debug-stackframe",{fontCharacter:"\\eb8b"}),e.debugStackframeFocused=new e("debug-stackframe-focused",{fontCharacter:"\\eb8b"}),e.debugBreakpointUnsupported=new e("debug-breakpoint-unsupported",{fontCharacter:"\\eb8c"}),e.symbolString=new e("symbol-string",{fontCharacter:"\\eb8d"}),e.debugReverseContinue=new e("debug-reverse-continue",{fontCharacter:"\\eb8e"}),e.debugStepBack=new e("debug-step-back",{fontCharacter:"\\eb8f"}),e.debugRestartFrame=new e("debug-restart-frame",{fontCharacter:"\\eb90"}),e.callIncoming=new e("call-incoming",{fontCharacter:"\\eb92"}),e.callOutgoing=new e("call-outgoing",{fontCharacter:"\\eb93"}),e.menu=new e("menu",{fontCharacter:"\\eb94"}),e.expandAll=new e("expand-all",{fontCharacter:"\\eb95"}),e.feedback=new e("feedback",{fontCharacter:"\\eb96"}),e.groupByRefType=new e("group-by-ref-type",{fontCharacter:"\\eb97"}),e.ungroupByRefType=new e("ungroup-by-ref-type",{fontCharacter:"\\eb98"}),e.account=new e("account",{fontCharacter:"\\eb99"}),e.bellDot=new e("bell-dot",{fontCharacter:"\\eb9a"}),e.debugConsole=new e("debug-console",{fontCharacter:"\\eb9b"}),e.library=new e("library",{fontCharacter:"\\eb9c"}),e.output=new e("output",{fontCharacter:"\\eb9d"}),e.runAll=new e("run-all",{fontCharacter:"\\eb9e"}),e.syncIgnored=new e("sync-ignored",{fontCharacter:"\\eb9f"}),e.pinned=new e("pinned",{fontCharacter:"\\eba0"}),e.githubInverted=new e("github-inverted",{fontCharacter:"\\eba1"}),e.debugAlt=new e("debug-alt",{fontCharacter:"\\eb91"}),e.serverProcess=new e("server-process",{fontCharacter:"\\eba2"}),e.serverEnvironment=new e("server-environment",{fontCharacter:"\\eba3"}),e.pass=new e("pass",{fontCharacter:"\\eba4"}),e.stopCircle=new e("stop-circle",{fontCharacter:"\\eba5"}),e.playCircle=new e("play-circle",{fontCharacter:"\\eba6"}),e.record=new e("record",{fontCharacter:"\\eba7"}),e.debugAltSmall=new e("debug-alt-small",{fontCharacter:"\\eba8"}),e.vmConnect=new e("vm-connect",{fontCharacter:"\\eba9"}),e.cloud=new e("cloud",{fontCharacter:"\\ebaa"}),e.merge=new e("merge",{fontCharacter:"\\ebab"}),e.exportIcon=new e("export",{fontCharacter:"\\ebac"}),e.graphLeft=new e("graph-left",{fontCharacter:"\\ebad"}),e.magnet=new e("magnet",{fontCharacter:"\\ebae"}),e.notebook=new e("notebook",{fontCharacter:"\\ebaf"}),e.redo=new e("redo",{fontCharacter:"\\ebb0"}),e.checkAll=new e("check-all",{fontCharacter:"\\ebb1"}),e.pinnedDirty=new e("pinned-dirty",{fontCharacter:"\\ebb2"}),e.passFilled=new e("pass-filled",{fontCharacter:"\\ebb3"}),e.circleLargeFilled=new e("circle-large-filled",{fontCharacter:"\\ebb4"}),e.circleLargeOutline=new e("circle-large-outline",{fontCharacter:"\\ebb5"}),e.combine=new e("combine",{fontCharacter:"\\ebb6"}),e.gather=new e("gather",{fontCharacter:"\\ebb6"}),e.table=new e("table",{fontCharacter:"\\ebb7"}),e.variableGroup=new e("variable-group",{fontCharacter:"\\ebb8"}),e.typeHierarchy=new e("type-hierarchy",{fontCharacter:"\\ebb9"}),e.typeHierarchySub=new e("type-hierarchy-sub",{fontCharacter:"\\ebba"}),e.typeHierarchySuper=new e("type-hierarchy-super",{fontCharacter:"\\ebbb"}),e.gitPullRequestCreate=new e("git-pull-request-create",{fontCharacter:"\\ebbc"}),e.runAbove=new e("run-above",{fontCharacter:"\\ebbd"}),e.runBelow=new e("run-below",{fontCharacter:"\\ebbe"}),e.notebookTemplate=new e("notebook-template",{fontCharacter:"\\ebbf"}),e.debugRerun=new e("debug-rerun",{fontCharacter:"\\ebc0"}),e.workspaceTrusted=new e("workspace-trusted",{fontCharacter:"\\ebc1"}),e.workspaceUntrusted=new e("workspace-untrusted",{fontCharacter:"\\ebc2"}),e.workspaceUnspecified=new e("workspace-unspecified",{fontCharacter:"\\ebc3"}),e.terminalCmd=new e("terminal-cmd",{fontCharacter:"\\ebc4"}),e.terminalDebian=new e("terminal-debian",{fontCharacter:"\\ebc5"}),e.terminalLinux=new e("terminal-linux",{fontCharacter:"\\ebc6"}),e.terminalPowershell=new e("terminal-powershell",{fontCharacter:"\\ebc7"}),e.terminalTmux=new e("terminal-tmux",{fontCharacter:"\\ebc8"}),e.terminalUbuntu=new e("terminal-ubuntu",{fontCharacter:"\\ebc9"}),e.terminalBash=new e("terminal-bash",{fontCharacter:"\\ebca"}),e.arrowSwap=new e("arrow-swap",{fontCharacter:"\\ebcb"}),e.copy=new e("copy",{fontCharacter:"\\ebcc"}),e.personAdd=new e("person-add",{fontCharacter:"\\ebcd"}),e.filterFilled=new e("filter-filled",{fontCharacter:"\\ebce"}),e.wand=new e("wand",{fontCharacter:"\\ebcf"}),e.debugLineByLine=new e("debug-line-by-line",{fontCharacter:"\\ebd0"}),e.inspect=new e("inspect",{fontCharacter:"\\ebd1"}),e.layers=new e("layers",{fontCharacter:"\\ebd2"}),e.layersDot=new e("layers-dot",{fontCharacter:"\\ebd3"}),e.layersActive=new e("layers-active",{fontCharacter:"\\ebd4"}),e.compass=new e("compass",{fontCharacter:"\\ebd5"}),e.compassDot=new e("compass-dot",{fontCharacter:"\\ebd6"}),e.compassActive=new e("compass-active",{fontCharacter:"\\ebd7"}),e.azure=new e("azure",{fontCharacter:"\\ebd8"}),e.issueDraft=new e("issue-draft",{fontCharacter:"\\ebd9"}),e.gitPullRequestClosed=new e("git-pull-request-closed",{fontCharacter:"\\ebda"}),e.gitPullRequestDraft=new e("git-pull-request-draft",{fontCharacter:"\\ebdb"}),e.debugAll=new e("debug-all",{fontCharacter:"\\ebdc"}),e.debugCoverage=new e("debug-coverage",{fontCharacter:"\\ebdd"}),e.runErrors=new e("run-errors",{fontCharacter:"\\ebde"}),e.folderLibrary=new e("folder-library",{fontCharacter:"\\ebdf"}),e.debugContinueSmall=new e("debug-continue-small",{fontCharacter:"\\ebe0"}),e.beakerStop=new e("beaker-stop",{fontCharacter:"\\ebe1"}),e.graphLine=new e("graph-line",{fontCharacter:"\\ebe2"}),e.graphScatter=new e("graph-scatter",{fontCharacter:"\\ebe3"}),e.pieChart=new e("pie-chart",{fontCharacter:"\\ebe4"}),e.bracket=new e("bracket",e.json.definition),e.bracketDot=new e("bracket-dot",{fontCharacter:"\\ebe5"}),e.bracketError=new e("bracket-error",{fontCharacter:"\\ebe6"}),e.lockSmall=new e("lock-small",{fontCharacter:"\\ebe7"}),e.azureDevops=new e("azure-devops",{fontCharacter:"\\ebe8"}),e.verifiedFilled=new e("verified-filled",{fontCharacter:"\\ebe9"})}(k||(k={}))},WaYH:function(se,T,s){"use strict";var S=s("rePB"),j=s("Ff2n"),F=s("VTBJ"),H=s("1OyB"),U=s("vuIU"),_=s("JX7q"),k=s("Ji7U"),P=s("LK+K"),e=s("q1tI"),m=s("TSYQ"),f=s.n(m),c=s("sboe"),r=s("OZM5"),i=function(O){var L=O.prefixCls,b=O.level,D=O.isStart,K=O.isEnd;if(!b)return null;for(var W="".concat(L,"-indent-unit"),C=[],E=0;E<b;E+=1){var v;C.push(e.createElement("span",{key:E,className:f()(W,(v={},Object(S.a)(v,"".concat(W,"-start"),D[E+1]),Object(S.a)(v,"".concat(W,"-end"),K[E+1]),Object(S.a)(v,"".concat(W,"-end-first-level"),!E&&K[0]),v))}))}return e.createElement("span",{"aria-hidden":"true",className:"".concat(L,"-indent")},C)},t=i,o=s("815F"),d="open",g="close",u="---",l=function(N){Object(k.a)(L,N);var O=Object(P.a)(L);function L(){var b;return Object(H.a)(this,L),b=O.apply(this,arguments),b.state={dragNodeHighlight:!1},b.onSelectorClick=function(D){var K=b.props.context.onNodeClick;K(D,Object(o.b)(b.props)),b.isSelectable()?b.onSelect(D):b.onCheck(D)},b.onSelectorDoubleClick=function(D){var K=b.props.context.onNodeDoubleClick;K(D,Object(o.b)(b.props))},b.onSelect=function(D){if(b.isDisabled())return;var K=b.props.context.onNodeSelect;D.preventDefault(),K(D,Object(o.b)(b.props))},b.onCheck=function(D){if(b.isDisabled())return;var K=b.props,W=K.disableCheckbox,C=K.checked,E=b.props.context.onNodeCheck;if(!b.isCheckable()||W)return;D.preventDefault();var v=!C;E(D,Object(o.b)(b.props),v)},b.onMouseEnter=function(D){var K=b.props.context.onNodeMouseEnter;K(D,Object(o.b)(b.props))},b.onMouseLeave=function(D){var K=b.props.context.onNodeMouseLeave;K(D,Object(o.b)(b.props))},b.onContextMenu=function(D){var K=b.props.context.onNodeContextMenu;K(D,Object(o.b)(b.props))},b.onDragStart=function(D){var K=b.props.context.onNodeDragStart;D.stopPropagation(),b.setState({dragNodeHighlight:!0}),K(D,Object(_.a)(b));try{D.dataTransfer.setData("text/plain","")}catch(W){}},b.onDragEnter=function(D){var K=b.props.context.onNodeDragEnter;D.preventDefault(),D.stopPropagation(),K(D,Object(_.a)(b))},b.onDragOver=function(D){var K=b.props.context.onNodeDragOver;D.preventDefault(),D.stopPropagation(),K(D,Object(_.a)(b))},b.onDragLeave=function(D){var K=b.props.context.onNodeDragLeave;D.stopPropagation(),K(D,Object(_.a)(b))},b.onDragEnd=function(D){var K=b.props.context.onNodeDragEnd;D.stopPropagation(),b.setState({dragNodeHighlight:!1}),K(D,Object(_.a)(b))},b.onDrop=function(D){var K=b.props.context.onNodeDrop;D.preventDefault(),D.stopPropagation(),b.setState({dragNodeHighlight:!1}),K(D,Object(_.a)(b))},b.onExpand=function(D){var K=b.props.context.onNodeExpand;K(D,Object(o.b)(b.props))},b.setSelectHandle=function(D){b.selectHandle=D},b.getNodeState=function(){var D=b.props.expanded;return b.isLeaf()?null:D?d:g},b.hasChildren=function(){var D=b.props.eventKey,K=b.props.context.keyEntities,W=K[D]||{},C=W.children;return!!(C||[]).length},b.isLeaf=function(){var D=b.props,K=D.isLeaf,W=D.loaded,C=b.props.context.loadData,E=b.hasChildren();return K===!1?!1:K||!C&&!E||C&&W&&!E},b.isDisabled=function(){var D=b.props.disabled,K=b.props.context.disabled;return!!(K||D)},b.isCheckable=function(){var D=b.props.checkable,K=b.props.context.checkable;return!K||D===!1?!1:K},b.syncLoadData=function(D){var K=D.expanded,W=D.loading,C=D.loaded,E=b.props.context,v=E.loadData,z=E.onNodeLoad;if(W)return;v&&K&&!b.isLeaf()&&(!b.hasChildren()&&!C&&z(Object(o.b)(b.props)))},b.renderSwitcher=function(){var D=b.props,K=D.expanded,W=D.switcherIcon,C=b.props.context,E=C.prefixCls,v=C.switcherIcon,z=W||v;if(b.isLeaf())return e.createElement("span",{className:f()("".concat(E,"-switcher"),"".concat(E,"-switcher-noop"))},typeof z=="function"?z(Object(F.a)(Object(F.a)({},b.props),{},{isLeaf:!0})):z);var x=f()("".concat(E,"-switcher"),"".concat(E,"-switcher_").concat(K?d:g));return e.createElement("span",{onClick:b.onExpand,className:x},typeof z=="function"?z(Object(F.a)(Object(F.a)({},b.props),{},{isLeaf:!1})):z)},b.renderCheckbox=function(){var D=b.props,K=D.checked,W=D.halfChecked,C=D.disableCheckbox,E=b.props.context.prefixCls,v=b.isDisabled(),z=b.isCheckable();if(!z)return null;var x=typeof z!="boolean"?z:null;return e.createElement("span",{className:f()("".concat(E,"-checkbox"),K&&"".concat(E,"-checkbox-checked"),!K&&W&&"".concat(E,"-checkbox-indeterminate"),(v||C)&&"".concat(E,"-checkbox-disabled")),onClick:b.onCheck},x)},b.renderIcon=function(){var D=b.props.loading,K=b.props.context.prefixCls;return e.createElement("span",{className:f()("".concat(K,"-iconEle"),"".concat(K,"-icon__").concat(b.getNodeState()||"docu"),D&&"".concat(K,"-icon_loading"))})},b.renderSelector=function(){var D=b.state.dragNodeHighlight,K=b.props,W=K.title,C=K.selected,E=K.icon,v=K.loading,z=K.data,x=b.props.context,a=x.prefixCls,h=x.showIcon,p=x.icon,n=x.draggable,y=x.loadData,R=x.titleRender,M=b.isDisabled(),$="".concat(a,"-node-content-wrapper"),ne;if(h){var V=E||p;ne=V?e.createElement("span",{className:f()("".concat(a,"-iconEle"),"".concat(a,"-icon__customize"))},typeof V=="function"?V(b.props):V):b.renderIcon()}else y&&v&&(ne=b.renderIcon());var Q;typeof W=="function"?Q=W(z):R?Q=R(z):Q=W;var te=e.createElement("span",{className:"".concat(a,"-title")},Q);return e.createElement("span",{ref:b.setSelectHandle,title:typeof W=="string"?W:"",className:f()("".concat($),"".concat($,"-").concat(b.getNodeState()||"normal"),!M&&(C||D)&&"".concat(a,"-node-selected"),!M&&n&&"draggable"),draggable:!M&&n||void 0,"aria-grabbed":!M&&n||void 0,onMouseEnter:b.onMouseEnter,onMouseLeave:b.onMouseLeave,onContextMenu:b.onContextMenu,onClick:b.onSelectorClick,onDoubleClick:b.onSelectorDoubleClick,onDragStart:n?b.onDragStart:void 0},ne,te)},b}return Object(U.a)(L,[{key:"componentDidMount",value:function(){this.syncLoadData(this.props)}},{key:"componentDidUpdate",value:function(){this.syncLoadData(this.props)}},{key:"isSelectable",value:function(){var D=this.props.selectable,K=this.props.context.selectable;return typeof D=="boolean"?D:K}},{key:"render",value:function(){var D,K=this.props,W=K.eventKey,C=K.className,E=K.style,v=K.dragOver,z=K.dragOverGapTop,x=K.dragOverGapBottom,a=K.isLeaf,h=K.isStart,p=K.isEnd,n=K.expanded,y=K.selected,R=K.checked,M=K.halfChecked,$=K.loading,ne=K.domRef,V=K.active,Q=K.onMouseMove,te=Object(j.a)(K,["eventKey","className","style","dragOver","dragOverGapTop","dragOverGapBottom","isLeaf","isStart","isEnd","expanded","selected","checked","halfChecked","loading","domRef","active","onMouseMove"]),ee=this.props.context,Y=ee.prefixCls,X=ee.filterTreeNode,ae=ee.draggable,Re=ee.keyEntities,ve=this.isDisabled(),Ae=Object(r.f)(te),Pe=Re[W]||{},Ue=Pe.level,Le=p[p.length-1];return e.createElement("div",Object.assign({ref:ne,className:f()(C,"".concat(Y,"-treenode"),(D={},Object(S.a)(D,"".concat(Y,"-treenode-disabled"),ve),Object(S.a)(D,"".concat(Y,"-treenode-switcher-").concat(n?"open":"close"),!a),Object(S.a)(D,"".concat(Y,"-treenode-checkbox-checked"),R),Object(S.a)(D,"".concat(Y,"-treenode-checkbox-indeterminate"),M),Object(S.a)(D,"".concat(Y,"-treenode-selected"),y),Object(S.a)(D,"".concat(Y,"-treenode-loading"),$),Object(S.a)(D,"".concat(Y,"-treenode-active"),V),Object(S.a)(D,"".concat(Y,"-treenode-leaf-last"),Le),Object(S.a)(D,"drag-over",!ve&&v),Object(S.a)(D,"drag-over-gap-top",!ve&&z),Object(S.a)(D,"drag-over-gap-bottom",!ve&&x),Object(S.a)(D,"filter-node",X&&X(Object(o.b)(this.props))),D)),style:E,onDragEnter:ae?this.onDragEnter:void 0,onDragOver:ae?this.onDragOver:void 0,onDragLeave:ae?this.onDragLeave:void 0,onDrop:ae?this.onDrop:void 0,onDragEnd:ae?this.onDragEnd:void 0,onMouseMove:Q},Ae),e.createElement(t,{prefixCls:Y,level:Ue,isStart:h,isEnd:p}),this.renderSwitcher(),this.renderCheckbox(),this.renderSelector())}}]),L}(e.Component),w=function(O){return e.createElement(c.a.Consumer,null,function(L){return e.createElement(l,Object.assign({},O,{context:L}))})};w.displayName="TreeNode",w.defaultProps={title:u},w.isTreeNode=1;var A=T.a=w},Y1PL:function(se,T,s){"use strict";s.r(T),s.d(T,"ResizableTextArea",function(){return M});var S=s("wx14"),j=s("1OyB"),F=s("vuIU"),H=s("Ji7U"),U=s("LK+K"),_=s("q1tI"),k=s("VTBJ"),P=s("rePB"),e=s("Zm9Q"),m=s("Kwbf"),f=s("c+Xe"),c=s("m+aA"),r=s("bdgK"),i=new Map;function t(V){V.forEach(function(Q){var te,ee=Q.target;(te=i.get(ee))===null||te===void 0||te.forEach(function(Y){return Y(ee)})})}var o=new r.default(t),d=null,g=null;function u(V,Q){i.has(V)||(i.set(V,new Set),o.observe(V)),i.get(V).add(Q)}function l(V,Q){i.has(V)&&(i.get(V).delete(Q),i.get(V).size||(o.unobserve(V),i.delete(V)))}var w=function(V){Object(H.a)(te,V);var Q=Object(U.a)(te);function te(){return Object(j.a)(this,te),Q.apply(this,arguments)}return Object(F.a)(te,[{key:"render",value:function(){return this.props.children}}]),te}(_.Component),A=_.createContext(null);function N(V){var Q=V.children,te=V.onBatchResize,ee=_.useRef(0),Y=_.useRef([]),X=_.useContext(A),ae=_.useCallback(function(Re,ve,Ae){ee.current+=1;var Pe=ee.current;Y.current.push({size:Re,element:ve,data:Ae}),Promise.resolve().then(function(){Pe===ee.current&&(te==null||te(Y.current),Y.current=[])}),X==null||X(Re,ve,Ae)},[te,X]);return _.createElement(A.Provider,{value:ae},Q)}function O(V){var Q=V.children,te=V.disabled,ee=_.useRef(null),Y=_.useRef(null),X=_.useContext(A),ae=_.useRef({width:-1,height:-1,offsetWidth:-1,offsetHeight:-1}),Re=_.isValidElement(Q)&&Object(f.c)(Q),ve=Re?Q.ref:null,Ae=_.useMemo(function(){return Object(f.a)(ve,ee)},[ve,ee]),Pe=_.useRef(V);Pe.current=V;var Ue=_.useCallback(function(Le){var Ge=Pe.current,I=Ge.onResize,G=Ge.data,J=Le.getBoundingClientRect(),Z=J.width,he=J.height,Ne=Le.offsetWidth,He=Le.offsetHeight,Ye=Math.floor(Z),Xe=Math.floor(he);if(ae.current.width!==Ye||ae.current.height!==Xe||ae.current.offsetWidth!==Ne||ae.current.offsetHeight!==He){var qe={width:Ye,height:Xe,offsetWidth:Ne,offsetHeight:He};ae.current=qe;var B=Ne===Math.round(Z)?Z:Ne,q=He===Math.round(he)?he:He,ie=Object(k.a)(Object(k.a)({},qe),{},{offsetWidth:B,offsetHeight:q});X==null||X(ie,Le,G),I&&Promise.resolve().then(function(){I(ie,Le)})}},[]);return _.useEffect(function(){var Le=Object(c.a)(ee.current)||Object(c.a)(Y.current);return Le&&!te&&u(Le,Ue),function(){return l(Le,Ue)}},[ee.current,te]),_.createElement(w,{ref:Y},Re?_.cloneElement(Q,{ref:Ae}):Q)}var L="rc-observer-key";function b(V){var Q=V.children,te=Object(e.a)(Q);return te.map(function(ee,Y){var X=(ee==null?void 0:ee.key)||"".concat(L,"-").concat(Y);return _.createElement(O,Object(S.a)({},V,{key:X}),ee)})}b.Collection=N;var D=b,K=s("bT9E"),W=s("TSYQ"),C=s.n(W),E=`
|
|
min-height:0 !important;
|
|
max-height:none !important;
|
|
height:0 !important;
|
|
visibility:hidden !important;
|
|
overflow:hidden !important;
|
|
position:absolute !important;
|
|
z-index:-1000 !important;
|
|
top:0 !important;
|
|
right:0 !important
|
|
`,v=["letter-spacing","line-height","padding-top","padding-bottom","font-family","font-weight","font-size","font-variant","text-rendering","text-transform","width","text-indent","padding-left","padding-right","border-width","box-sizing","word-break"],z={},x;function a(V){var Q=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,te=V.getAttribute("id")||V.getAttribute("data-reactid")||V.getAttribute("name");if(Q&&z[te])return z[te];var ee=window.getComputedStyle(V),Y=ee.getPropertyValue("box-sizing")||ee.getPropertyValue("-moz-box-sizing")||ee.getPropertyValue("-webkit-box-sizing"),X=parseFloat(ee.getPropertyValue("padding-bottom"))+parseFloat(ee.getPropertyValue("padding-top")),ae=parseFloat(ee.getPropertyValue("border-bottom-width"))+parseFloat(ee.getPropertyValue("border-top-width")),Re=v.map(function(Ae){return"".concat(Ae,":").concat(ee.getPropertyValue(Ae))}).join(";"),ve={sizingStyle:Re,paddingSize:X,borderSize:ae,boxSizing:Y};return Q&&te&&(z[te]=ve),ve}function h(V){var Q=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,te=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null,ee=arguments.length>3&&arguments[3]!==void 0?arguments[3]:null;x||(x=document.createElement("textarea"),x.setAttribute("tab-index","-1"),x.setAttribute("aria-hidden","true"),document.body.appendChild(x)),V.getAttribute("wrap")?x.setAttribute("wrap",V.getAttribute("wrap")):x.removeAttribute("wrap");var Y=a(V,Q),X=Y.paddingSize,ae=Y.borderSize,Re=Y.boxSizing,ve=Y.sizingStyle;x.setAttribute("style","".concat(ve,";").concat(E)),x.value=V.value||V.placeholder||"";var Ae=Number.MIN_SAFE_INTEGER,Pe=Number.MAX_SAFE_INTEGER,Ue=x.scrollHeight,Le;if(Re==="border-box"?Ue+=ae:Re==="content-box"&&(Ue-=X),te!==null||ee!==null){x.value=" ";var Ge=x.scrollHeight-X;te!==null&&(Ae=Ge*te,Re==="border-box"&&(Ae=Ae+X+ae),Ue=Math.max(Ae,Ue)),ee!==null&&(Pe=Ge*ee,Re==="border-box"&&(Pe=Pe+X+ae),Le=Ue>Pe?"":"hidden",Ue=Math.min(Pe,Ue))}return{height:Ue,minHeight:Ae,maxHeight:Pe,overflowY:Le,resize:"none"}}var p=s("Gytx"),n=s.n(p),y;(function(V){V[V.NONE=0]="NONE",V[V.RESIZING=1]="RESIZING",V[V.RESIZED=2]="RESIZED"})(y||(y={}));var R=function(V){Object(H.a)(te,V);var Q=Object(U.a)(te);function te(ee){var Y;return Object(j.a)(this,te),Y=Q.call(this,ee),Y.nextFrameActionId=void 0,Y.resizeFrameId=void 0,Y.textArea=void 0,Y.saveTextArea=function(X){Y.textArea=X},Y.handleResize=function(X){var ae=Y.state.resizeStatus,Re=Y.props,ve=Re.autoSize,Ae=Re.onResize;if(ae!==y.NONE)return;typeof Ae=="function"&&Ae(X),ve&&Y.resizeOnNextFrame()},Y.resizeOnNextFrame=function(){cancelAnimationFrame(Y.nextFrameActionId),Y.nextFrameActionId=requestAnimationFrame(Y.resizeTextarea)},Y.resizeTextarea=function(){var X=Y.props.autoSize;if(!X||!Y.textArea)return;var ae=X.minRows,Re=X.maxRows,ve=h(Y.textArea,!1,ae,Re);Y.setState({textareaStyles:ve,resizeStatus:y.RESIZING},function(){cancelAnimationFrame(Y.resizeFrameId),Y.resizeFrameId=requestAnimationFrame(function(){Y.setState({resizeStatus:y.RESIZED},function(){Y.resizeFrameId=requestAnimationFrame(function(){Y.setState({resizeStatus:y.NONE}),Y.fixFirefoxAutoScroll()})})})})},Y.renderTextArea=function(){var X=Y.props,ae=X.prefixCls,Re=ae===void 0?"rc-textarea":ae,ve=X.autoSize,Ae=X.onResize,Pe=X.className,Ue=X.disabled,Le=Y.state,Ge=Le.textareaStyles,I=Le.resizeStatus,G=Object(K.a)(Y.props,["prefixCls","onPressEnter","autoSize","defaultValue","onResize"]),J=C()(Re,Pe,Object(P.a)({},"".concat(Re,"-disabled"),Ue));"value"in G&&(G.value=G.value||"");var Z=Object(k.a)(Object(k.a)(Object(k.a)({},Y.props.style),Ge),I===y.RESIZING?{overflowX:"hidden",overflowY:"hidden"}:null);return _.createElement(D,{onResize:Y.handleResize,disabled:!(ve||Ae)},_.createElement("textarea",Object(S.a)({},G,{className:J,style:Z,ref:Y.saveTextArea})))},Y.state={textareaStyles:{},resizeStatus:y.NONE},Y}return Object(F.a)(te,[{key:"componentDidUpdate",value:function(Y){(Y.value!==this.props.value||!n()(Y.autoSize,this.props.autoSize))&&this.resizeTextarea()}},{key:"componentWillUnmount",value:function(){cancelAnimationFrame(this.nextFrameActionId),cancelAnimationFrame(this.resizeFrameId)}},{key:"fixFirefoxAutoScroll",value:function(){try{if(document.activeElement===this.textArea){var Y=this.textArea.selectionStart,X=this.textArea.selectionEnd;this.textArea.setSelectionRange(Y,X)}}catch(ae){}}},{key:"render",value:function(){return this.renderTextArea()}}]),te}(_.Component),M=R,$=function(V){Object(H.a)(te,V);var Q=Object(U.a)(te);function te(ee){var Y;Object(j.a)(this,te),Y=Q.call(this,ee),Y.resizableTextArea=void 0,Y.focus=function(){Y.resizableTextArea.textArea.focus()},Y.saveTextArea=function(ae){Y.resizableTextArea=ae},Y.handleChange=function(ae){var Re=Y.props.onChange;Y.setValue(ae.target.value,function(){Y.resizableTextArea.resizeTextarea()}),Re&&Re(ae)},Y.handleKeyDown=function(ae){var Re=Y.props,ve=Re.onPressEnter,Ae=Re.onKeyDown;ae.keyCode===13&&ve&&ve(ae),Ae&&Ae(ae)};var X=typeof ee.value=="undefined"||ee.value===null?ee.defaultValue:ee.value;return Y.state={value:X},Y}return Object(F.a)(te,[{key:"setValue",value:function(Y,X){"value"in this.props||this.setState({value:Y},X)}},{key:"blur",value:function(){this.resizableTextArea.textArea.blur()}},{key:"render",value:function(){return _.createElement(M,Object(S.a)({},this.props,{value:this.state.value,onKeyDown:this.handleKeyDown,onChange:this.handleChange,ref:this.saveTextArea}))}}],[{key:"getDerivedStateFromProps",value:function(Y){return"value"in Y?{value:Y.value}:null}}]),te}(_.Component),ne=T.default=$},ZW5e:function(se,T,s){se.exports={panelTitleContainer:"panelTitleContainer___tHoLi"}},ZW9T:function(se,T,s){"use strict";s.d(T,"a",function(){return p});var S=s("k1fw"),j=s("oBTY"),F=s("miYZ"),H=s("tsqr"),U=s("rAM+"),_=s("tJVT"),k=s("PpiC"),P=s("q1tI"),e=s.n(P),m=s("bdgK"),f=s("9og8"),c=s("WmNS"),r=s.n(c),i={keywords:["print","auto","break","case","char","const","continue","default","do","double","else","enum","extern","float","for","goto","if","int","long","register","return","short","signed","sizeof","static","struct","switch","typedef","union","unsigned","void","volatile","while"]},t={quickKey:[{label:"main",content:["public static void main(String[] args) {"," $0","}"].join(`
|
|
`)},{label:"System.out.println",content:["System.out.println($0)"].join(`
|
|
`)},{label:"System.out.print",content:["System.out.print($0)"].join(`
|
|
`)}],keywords:["abstract","continue","for","new","switch","assert","default","goto","package","synchronized","boolean","do","if","private","this","break","double","implements","protected","throw","byte","else","import","public","throws","case","enum","instanceof","return","transient","catch","extends","int","short","try","char","final","interface","static","void","class","finally","long","strictfp","volatile","const","float","native","super","while","true","false"]},o={keywords:["abstract","amp","array","auto","bool","break","case","catch","char","class","const","constexpr","const_cast","continue","cpu","decltype","default","delegate","delete","do","double","dynamic_cast","each","else","enum","event","explicit","export","extern","false","final","finally","float","friend","gcnew","generic","goto","in","initonly","inline","int","interface","interior_ptr","internal","literal","long","mutable","namespace","new","noexcept","nullptr","__nullptr","operator","override","partial","pascal","pin_ptr","private","property","protected","public","ref","register","reinterpret_cast","restrict","return","safe_cast","sealed","short","signed","sizeof","static","static_assert","static_cast","struct","switch","template","this","thread_local","throw","tile_static","true","try","typedef","typeid","typename","union","unsigned","using","virtual","void","volatile","wchar_t","where","while","_asm","_based","_cdecl","_declspec","_fastcall","_if_exists","_if_not_exists","_inline","_multiple_inheritance","_pascal","_single_inheritance","_stdcall","_virtual_inheritance","_w64","__abstract","__alignof","__asm","__assume","__based","__box","__builtin_alignof","__cdecl","__clrcall","__declspec","__delegate","__event","__except","__fastcall","__finally","__forceinline","__gc","__hook","__identifier","__if_exists","__if_not_exists","__inline","__int128","__int16","__int32","__int64","__int8","__interface","__leave","__m128","__m128d","__m128i","__m256","__m256d","__m256i","__m64","__multiple_inheritance","__newslot","__nogc","__noop","__nounwind","__novtordisp","__pascal","__pin","__pragma","__property","__ptr32","__ptr64","__raise","__restrict","__resume","__sealed","__single_inheritance","__stdcall","__super","__thiscall","__try","__try_cast","__typeof","__unaligned","__unhook","__uuidof","__value","__virtual_inheritance","__w64","__wchar_t"],operators:["=",">","<","!","~","?",":","==","<=",">=","!=","&&","||","++","--","+","-","*","/","&","|","^","%","<<",">>",">>>","+=","-=","*=","/=","&=","|=","^=","%=","<<=",">>=",">>>="],quickKey:[{label:"ifelse",content:["if (${1:condition}) {"," $0","} else {"," ","}"].join(`
|
|
`)},{label:"include",content:"include<$0>"},{label:"printf",content:"printf($0)"},{label:"system",content:'system("$0")'},{label:"main",content:["int main () {"," $0","}"].join(`
|
|
`)},{label:"if",content:["if () {"," $0","}"].join(`
|
|
`)},{label:"for",content:["for(int j=0 ; j<10; j++){"," $0","}"].join(`
|
|
`)},{label:"trycatch",content:["try{"," $0","}catch(ExceptionName e){","}"].join(`
|
|
`)},{label:"using namespace std;",content:["using namespace std;"].join(`
|
|
`)},{label:"include <iostream>",content:["#include <iostream>"].join(`
|
|
`)},{label:"include <vector>",content:["#include <vector>"].join(`
|
|
`)},{label:"include <cstdio>",content:["#include <cstdio>"].join(`
|
|
`)},{label:"include <cstring>",content:["#include <cstring>"].join(`
|
|
`)},{label:"include <sstream>",content:["#include <sstream>"].join(`
|
|
`)},{label:"include <fstream>",content:["#include <fstream>"].join(`
|
|
`)},{label:"include <map>",content:["#include <map>"].join(`
|
|
`)},{label:"include <string>",content:["#include <string>"].join(`
|
|
`)},{label:"include <cmath>",content:["#include <cmath>"].join(`
|
|
`)}]},d={keywords:["and","as","assert","break","class","continue","def","del","elif","else","except","exec","finally","for","from","global","if","import","in","is","lambda","None","not","or","pass","raise","return","self","try","while","with","yield","int","float","long","complex","hex","abs","all","any","apply","basestring","bin","bool","buffer","bytearray","callable","chr","classmethod","cmp","coerce","compile","complex","delattr","dict","dir","divmod","enumerate","eval","execfile","file","filter","format","frozenset","getattr","globals","hasattr","hash","help","id","input","intern","isinstance","issubclass","iter","len","locals","list","map","max","memoryview","min","next","object","oct","open","ord","pow","print","property","reversed","range","raw_input","reduce","reload","repr","reversed","round","set","setattr","slice","sorted","staticmethod","str","sum","super","tuple","type","unichr","unicode","vars","xrange","zip","True","False","__dict__","__methods__","__members__","__class__","__bases__","__name__","__mro__","__subclasses__","__init__","__import__"],quickKey:[{label:"print",content:["print($0)"].join(`
|
|
`)}]},g=s("5VLF"),u=s.n(g),l={languages:["c","abap","apex","azcli","bat","cameligo","clojure","coffee","cpp","csharp","csp","css","dockerfile","fsharp","go","graphql","handlebars","html","ini","java","javascript","json","kotlin","less","lua","markdown","mips","msdax","mysql","objective-c","pascal","pascaligo","perl","pgsql","php","postiats","powerquery","powershell","pug","python","r","razor","redis","redshift","restructuredtext","ruby","rust","sb","scheme","scss","shell","solidity","sophia","sql","st","swift","tcl","twig","vb","xml","yaml'"],tables:{users:["name","id","email","phone","password"],roles:["id","name","order","created_at","updated_at","deleted_at"]}},w=function(y,R){return R.map(function(M){return{label:M,kind:y.languages.CompletionItemKind.Keyword,insertText:M}})},A=function(y){return Object.keys(l.tables).map(function(R){return{label:R,kind:y.languages.CompletionItemKind.Variable,insertText:R}})},N=function(y,R){var M=l.tables[y];return M?M.map(function($){return{label:$,kind:R.languages.CompletionItemKind.Field,insertText:$}}):[]};function O(n,y,R,M,$){var ne=y.getWordUntilPosition(R),V={startLineNumber:R.lineNumber,endLineNumber:R.lineNumber,startColumn:ne.startColumn,endColumn:ne.endColumn},Q=M.map(function(te){return{label:te,kind:n.languages.CompletionItemKind.Keyword,insertText:te,insertTextRules:n.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:V}});return $.map(function(te){Q.push(Object(S.a)(Object(S.a)({},te),{},{range:V}))}),Q}var L=function(n){l.languages.map(function($){return n.languages.registerDocumentFormattingEditProvider($,{provideDocumentFormattingEdits:function(V,Q,te){return Object(f.a)(r.a.mark(function ee(){var Y;return r.a.wrap(function(ae){for(;;)switch(ae.prev=ae.next){case 0:return Y=u()(V.getValue(),{indent_size:"2",indent_char:" ",max_preserve_newlines:"2",preserve_newlines:!0,keep_array_indentation:!0,break_chained_methods:!1,indent_scripts:"normal",brace_style:"collapse",space_before_conditional:!0,unescape_strings:!1,jslint_happy:!1,end_with_newline:!0,wrap_line_length:"0",indent_inner_html:!1,comma_first:!1,e4x:!1,indent_empty_lines:!1}),ae.abrupt("return",[{range:V.getFullModelRange(),text:Y}]);case 2:case"end":return ae.stop()}},ee)}))()}}),$});var y=o.quickKey.map(function($){return{label:$.label,kind:n.languages.CompletionItemKind.Method,insertText:$.content,insertTextRules:n.languages.CompletionItemInsertTextRule.InsertAsSnippet}}),R=d.quickKey.map(function($){return{label:$.label,kind:n.languages.CompletionItemKind.Method,insertText:$.content,insertTextRules:n.languages.CompletionItemInsertTextRule.InsertAsSnippet}}),M=t.quickKey.map(function($){return{label:$.label,kind:n.languages.CompletionItemKind.Method,insertText:$.content,insertTextRules:n.languages.CompletionItemInsertTextRule.InsertAsSnippet}});n.languages.registerCompletionItemProvider("cpp",{provideCompletionItems:function(ne,V){var Q=ne.getWordUntilPosition(V),te={startLineNumber:V.lineNumber,endLineNumber:V.lineNumber,startColumn:Q.startColumn,endColumn:Q.endColumn},ee=ne.getLineContent(V.lineNumber).substring(Q.startColumn-2,Q.endColumn);return{suggestions:[].concat(Object(j.a)(o.keywords.map(function(Y){return{label:Y,kind:n.languages.CompletionItemKind.Function,documentation:Y,insertText:Y,insertTextRules:n.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:te}})),Object(j.a)(o.quickKey.map(function(Y){return{label:Y.label,kind:n.languages.CompletionItemKind.Function,documentation:Y.content,insertText:ee.startsWith("#")?Y.content.replace(/#/,""):Y.content,insertTextRules:n.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:te}})))}}}),n.languages.registerCompletionItemProvider("c",{provideCompletionItems:function(ne,V){var Q=ne.getWordUntilPosition(V),te={startLineNumber:V.lineNumber,endLineNumber:V.lineNumber,startColumn:Q.startColumn,endColumn:Q.endColumn};return{suggestions:Object(j.a)(i.keywords.map(function(ee){return{label:ee,kind:n.languages.CompletionItemKind.Function,documentation:ee,insertText:ee,insertTextRules:n.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:te}}))}}}),n.languages.registerCompletionItemProvider("java",{provideCompletionItems:function(ne,V){var Q=ne.getWordUntilPosition(V),te={startLineNumber:V.lineNumber,endLineNumber:V.lineNumber,startColumn:Q.startColumn,endColumn:Q.endColumn},ee=ne.getLineContent(V.lineNumber).substring(Q.startColumn-2,Q.endColumn);return{suggestions:[].concat(Object(j.a)(t.keywords.map(function(Y){return{label:Y,kind:n.languages.CompletionItemKind.Function,documentation:Y,insertText:Y,insertTextRules:n.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:te}})),Object(j.a)(t.quickKey.map(function(Y){return{label:Y.label,kind:n.languages.CompletionItemKind.Function,documentation:Y.content,insertText:ee.startsWith("#")?Y.content.replace(/#/,""):Y.content,insertTextRules:n.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:te}})))}}}),n.languages.registerCompletionItemProvider("python",{provideCompletionItems:function(ne,V){var Q=ne.getWordUntilPosition(V),te={startLineNumber:V.lineNumber,endLineNumber:V.lineNumber,startColumn:Q.startColumn,endColumn:Q.endColumn},ee=ne.getLineContent(V.lineNumber).substring(Q.startColumn-2,Q.endColumn);return{suggestions:[].concat(Object(j.a)(d.keywords.map(function(Y){return{label:Y,kind:n.languages.CompletionItemKind.Function,documentation:Y,insertText:Y,insertTextRules:n.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:te}})),Object(j.a)(d.quickKey.map(function(Y){return{label:Y.label,kind:n.languages.CompletionItemKind.Function,documentation:Y.content,insertText:ee.startsWith("#")?Y.content.replace(/#/,""):Y.content,insertTextRules:n.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:te}})))}}})},b="\u8BE5\u4EFB\u52A1\u5173\u5361\u8BBE\u7F6E\u4E86\u7981\u6B62\u590D\u5236\u7C98\u8D34\uFF0C\u8BF7\u624B\u52A8\u8F93\u5165\u4EE3\u7801\u3002",D=s("fjLI"),K=s("LvDl"),W=s("+ua5");function C(n){return/^\d+$/.test(n)?"".concat(n,"px"):n}function E(){}var v=!1,z={"Python3.6":"python","Python2.7":"python",Dynamips:"cpp",Java:"java",Web:"php",Html:"html",Hive:"sql",Hadoop:"java",SDL:"cpp",PHP:"php",Matlab:"python",Git:"python",Python:"python","C/C++":"cpp","C++":"cpp",C:"cpp",Ruby:"ruby",Shell:"shell",JavaScript:"javascript",Perl6:"perl",Kotlin:"kotlin",Elixir:"elixir",Android:"java",JavaWeb:"java",Go:"go",Spark:"sql",MachineLearning:"python",Verilog:"xml","Verilog/VNC":"xml",Docker:"dockerfile","C#":"csharp",SQLite3:"sql",Oracle:"sql",Vhdl:"vhdl",R:"r",Swift:"swift",SQLServer:"mysql",MySQL:"mysql",Mongo:"sql",PostgreSql:"pgsql",Hbase:"powershell",Sqoop:"sql",Nasm:"cpp",Kafka:"java",Flink:"java",Sml:"javascript",OpenGL:"cpp",Perl5:"perl",Orange:"python"};function x(){var n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],y=n;if(Array.isArray(n)){for(var R=0;R<n.length;R++){var M=z[n[R]];if(M)return M}return y[0]}return z[y]||y}var a=null,h=T.b=function(n){var y=n.width,R=y===void 0?"100%":y,M=n.height,$=M===void 0?"100%":M,ne=n.value,V=n.language,Q=V===void 0?"javascript":V,te=n.style,ee=te===void 0?{}:te,Y=n.options,X=Y===void 0?{}:Y,ae=n.overrideServices,Re=ae===void 0?{}:ae,ve=n.theme,Ae=ve===void 0?"vs-dark":ve,Pe=n.onEditBlur,Ue=n.onSave,Le=n.autoHeight,Ge=Le===void 0?!1:Le,I=n.forbidCopy,G=I===void 0?!1:I,J=n.onChange,Z=J===void 0?E:J,he=n.editorDidMount,Ne=he===void 0?E:he,He=n.onFocus,Ye=He===void 0?E:He,Xe=n.filename,qe=Xe===void 0?"educoder.txt":Xe,B=n.errorLine,q=n.errorContent,ie=q===void 0?"":q,oe=Object(k.a)(n,["width","height","value","language","style","options","overrideServices","theme","onEditBlur","onSave","autoHeight","forbidCopy","onChange","editorDidMount","onFocus","filename","errorLine","errorContent"]),ue=Object(P.useRef)(),re=Object(P.useRef)({}),_e=Object(P.useRef)(),de=Object(P.useRef)(),le=Object(P.useRef)(!1),Ie=Object(P.useRef)(),Oe=Object(P.useState)(!1),Ee=Object(_.a)(Oe,2),me=Ee[0],xe=Ee[1];function je(){var fe;return ue.current&&(fe=new m.default(function(ge){var we=Object(U.a)(ge),Ze;try{for(we.s();!(Ze=we.n()).done;){var ce=Ze.value;(ce.target.offsetHeight>0||ce.target.offsetWidth>0)&&re.current.instance.layout()}}catch(be){we.e(be)}finally{we.f()}}),fe.observe(ue.current)),fe}function Ve(){H.b.warn(decodeURIComponent(b))}var Fe=function(){var ge=re.current.instance;if(ne!=null&&ge&&me){var we=ge.getModel();we&&ne!==we.getValue()&&(v=!0,we.setValue(ne),ge.layout(),v=!1)}};Object(P.useEffect)(function(){de.current&&clearTimeout(de.current),de.current=setTimeout(function(){Fe()},500)},[ne,me,re.current]),Object(P.useEffect)(function(){if(B&&re.current&&re.current.instance){var fe=re.current.instance;fe.changeViewZones(function(we){var Ze=document.createElement("div");Ze.style.padding="10px 20px",Ze.style.width="calc(100% - 20px)",Ze.className="my-error-line-wrp",Ze.innerHTML=ie,we.addZone({afterLineNumber:B||11,heightInLines:3,domNode:Ze})});var ge={domNode:null,getId:function(){return"my.overlay.widget"},getDomNode:function(){return this.domNode||(this.domNode=document.createElement("div"),this.domNode.innerHTML="",this.domNode.style.width="100%",this.domNode.style.padding="20px 100px",this.domNode.style.right="0px",this.domNode.style.top="50px",this.domNode.style.position="relative",this.domNode.style.color="#333"),this.domNode},getPosition:function(){return null}};fe.addOverlayWidget(ge),fe.revealPositionInCenter({lineNumber:20,column:1})}},[B,re.current,me]);function ke(){var fe=re.current.instance;if(fe){var ge=fe.getSelection(),we=re.current.pastePos||{},Ze=new a.Range(we.startLineNumber||ge.endLineNumber,we.startColumn||ge.endColumn,we.endLineNumber||ge.endLineNumber,we.endColumn||ge.endColumn);setTimeout(function(){fe.executeEdits("",[{range:Ze,text:""}])},300)}}function Se(fe){(window.navigator.platform.match("Mac")?fe.metaKey:fe.ctrlKey)&&fe.keyCode==83&&(fe.preventDefault(),Ue())}var at=function(){if(Ge&&re.current.instance){var ge=re.current.instance.getContentHeight();Ce(ge<$?$:ge)}else Ce($)};function st(fe){var ge=document.createEvent("MouseEvents");ge.initMouseEvent("click",!0,!1,window,0,0,0,0,0,!1,!1,!1,!1,0,null),fe.dispatchEvent(ge)}function lt(fe,ge){var we=window.URL||window.webkitURL||window,Ze=new Blob([ge]),ce=document.createElementNS("http://www.w3.org/1999/xhtml","a");ce.href=we.createObjectURL(Ze),ce.download=fe,st(ce)}Object(P.useEffect)(function(){at()},[at]),Object(P.useEffect)(function(){ue.current&&!me&&Promise.all([s.e(17),s.e(29)]).then(s.t.bind(null,"M/lh",7)).then(function(fe){try{a=fe,re.current.instance=a.editor.create(ue.current,{value:ne,language:x(Q),theme:Ae,requireConfig:{"vs/nls":{availableLanguages:{"*":"zh-cn"}}},wordWrap:!0,autoIndent:!0,contextmenu:!0,formatOnType:!0},Re);var ge=re.current.instance,we=D.d._menuItems,Ze=Object(j.a)(we).find(function(ye){return ye[0]._debugName=="EditorContext"}),ce=Ze[1],be=["editor.action.clipboardCopyWithSyntaxHighlightingAction","editor.action.quickCommand","editor.action.clipboardCopyAction","editor.action.clipboardPasteAction","editor.action.clipboardCutAction"],Te=function(pe,Je){var De=pe._first;do{var nt,rt,bt=Je.includes((nt=De.element)===null||nt===void 0||((rt=nt.command)===null||rt===void 0)?void 0:rt.id);bt&&pe._remove(De)}while(De=De.next)};if(Ne(ge,a),setTimeout(function(){at(),re.current.instance.addAction({id:"d123123",label:"Download File",contextMenuGroupId:"9_cutcopypaste",run:function(){lt(qe||"educoder.txt",ge.getValue())}}),ge.getDomNode().addEventListener("input",function(){_e.current.autoFormat&&ge.getAction("editor.action.formatDocument").run()})},500),re.current.subscription=ge.onDidChangeModelContent(function(ye){le.current?clearTimeout(Ie.current):(at(),Z(ge.getValue(),ye)),Ie.current=setTimeout(function(){le.current=!1},500)}),window.Monaco||L(a,x(Q)),G&&(Te(ce,be),ue.current.classList.add("noCopyPaste"),ge.onKeyDown(function(ye){var pe=ye.keyCode,Je=ye.ctrlKey,De=ye.metaKey;(pe===33||pe===52)&&(De||Je)&&(Ve(),ye.preventDefault())})),window.Monaco=a,Pe&&ge.onDidBlurEditorWidget(function(){Pe(ge.getValue())}),Ye&&ge.onDidFocusEditorText(function(){Ye(ge.getValue())}),G){ge.addCommand(a.KeyMod.CtrlCmd|a.KeyCode.KEY_V,function(){return Ve(),null}),ge.onDidPaste(function(ye){re.current.pastePos=ye});try{window.addEventListener("paste",ke)}catch(ye){}}var Me=je();return xe(!0),function(){var ye=re.current.instance;ye.dispose();var pe=ye.getModel();pe&&pe.dispose(),re.current.subscription&&re.current.subscription.dispose(),G&&window.removeEventListener("paste",ke),Me.unobserve(ue.current)}}catch(ye){}})},[]),Object(P.useEffect)(function(){var fe=re.current.instance;if(fe&&me)return document.addEventListener("keydown",Se,!1),function(){document.removeEventListener("keydown",Se)}},[Ue,me]),Object(P.useEffect)(function(){var fe=re.current.instance;if(fe&&me){var ge=x(Q);a.editor.setModelLanguage(fe.getModel(),ge),console.log("language:",Q,fe.getModel(),ge)}},[Q,me]),Object(P.useEffect)(function(){var fe=re.current.instance;fe&&me&&a.editor.setTheme(Ae)},[Ae,me]),Object(P.useEffect)(function(){var fe=re.current.instance;_e.current=X,fe&&me&&(fe.updateOptions(Object(S.a)({},X)),setTimeout(function(){fe.getModel().updateOptions(Object(S.a)({},X))},200))},[JSON.stringify(X),me]),Object(P.useEffect)(function(){var fe=re.current.instance;fe&&me&&fe.layout()},[R,$,me]);var ot=Object(P.useState)(C(R)),ht=Object(_.a)(ot,2),Be=ht[0],ut=ht[1],tt=Object(P.useState)(C($)),ze=Object(_.a)(tt,2),$e=ze[0],Ce=ze[1],Qe=Object(S.a)(Object(S.a)({},ee),{},{width:Be,height:$e});return e.a.createElement("div",{className:"my-monaco-editor",ref:ue,style:Qe})};function p(n){var y=n.width,R=y===void 0?"100%":y,M=n.height,$=M===void 0?"100%":M,ne=n.original,V=n.modified,Q=n.language,te=n.options,ee=te===void 0?{}:te,Y=Object(P.useRef)(),X=Object(P.useState)(null),ae=Object(_.a)(X,2),Re=ae[0],ve=ae[1];function Ae(Ge){var I;return Y.current&&(I=new m.default(function(G){var J=Object(U.a)(G),Z;try{for(J.s();!(Z=J.n()).done;){var he=Z.value;(he.target.offsetHeight>0||he.target.offsetWidth>0)&&Ge.layout()}}catch(Ne){J.e(Ne)}finally{J.f()}}),I.observe(Y.current)),I}Object(P.useEffect)(function(){Y.current&&Promise.all([s.e(17),s.e(29)]).then(s.t.bind(null,"M/lh",7)).then(function(Ge){a=Ge;var I=a.editor.createDiffEditor(Y.current,Object(S.a)(Object(S.a)({enableSplitViewResizing:!1,scrollBeyondLastLine:!1,roundedSelection:!1,renderIndicators:!1,useShadows:!1,horizontal:"hidden",lineNumbers:"off",ignoreTrimWhitespace:!1,followsCaret:!0,ignoreCharChanges:!0,minimap:{enabled:!1},readOnly:!0},ee),{},{wordWrap:!0}));ve(I);var G=Ae(I);return function(){I.dispose();var J=I.getModel();J&&J.dispose(),G.unobserve(Y.current)}})},[]),Object(P.useEffect)(function(){Re&&Re.setModel({original:a.editor.createModel(ne,Q),modified:a.editor.createModel(V,Q)})},[ne,V,Q,Re]);var Pe=C(R),Ue=C($),Le={width:Pe,height:Ue};return e.a.createElement("div",{className:"my-diff-editor",ref:Y,style:Le})}},bT9E:function(se,T,s){"use strict";s.d(T,"a",function(){return j});var S=s("VTBJ");function j(F,H){var U=Object(S.a)({},F);return Array.isArray(H)&&H.forEach(function(_){delete U[_]}),U}},biw7:function(se,T,s){"use strict";var S=s("q1tI"),j=s.n(S),F=S.createContext(null);T.a=F},fj85:function(se,T,s){"use strict";s.d(T,"a",function(){return _}),s.d(T,"b",function(){return m});var S=s("q1tI"),j=s.n(S),F=s("ZW5e"),H=s.n(F),U=function(c){var r=c.title,i=c.style,t=i===void 0?{}:i;return j.a.createElement("div",{className:H.a.panelTitleContainer,style:t},j.a.createElement("div",null,r))},_=U,k=s("PsNh"),P=s.n(k),e=function(c){var r=c.title,i=c.children;return j.a.createElement("div",{className:P.a.selectWrapContainer},j.a.createElement("span",null,r),i)},m=e},fjLI:function(se,T,s){"use strict";s.d(T,"f",function(){return r}),s.d(T,"b",function(){return i}),s.d(T,"a",function(){return t}),s.d(T,"d",function(){return o}),s.d(T,"e",function(){return d}),s.d(T,"c",function(){return g});var S=s("8HAY"),j=s("Vhoy"),F=s("MI8n"),H=s("JYp7"),U=s("pmY6"),_=s("24hK"),k=s("nnTU"),P=s("T8No"),e=s("Cg/j"),m=s("t9D7"),f=function(u,l,w,A){var N=arguments.length,O=N<3?l:A===null?A=Object.getOwnPropertyDescriptor(l,w):A,L;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")O=Reflect.decorate(u,l,w,A);else for(var b=u.length-1;b>=0;b--)(L=u[b])&&(O=(N<3?L(O):N>3?L(l,w,O):L(l,w))||O);return N>3&&O&&Object.defineProperty(l,w,O),O},c=function(u,l){return function(w,A){l(w,A,u)}};function r(u){return u.command!==void 0}class i{constructor(u){this.id=i._idPool++,this._debugName=u}}i._idPool=0,i.CommandPalette=new i("CommandPalette"),i.EditorContext=new i("EditorContext"),i.SimpleEditorContext=new i("SimpleEditorContext"),i.EditorContextCopy=new i("EditorContextCopy"),i.EditorContextPeek=new i("EditorContextPeek"),i.MenubarEditMenu=new i("MenubarEditMenu"),i.MenubarCopy=new i("MenubarCopy"),i.MenubarGoMenu=new i("MenubarGoMenu"),i.MenubarSelectionMenu=new i("MenubarSelectionMenu"),i.InlineCompletionsActions=new i("InlineCompletionsActions");const t=Object(e.c)("menuService"),o=new class{constructor(){this._commands=new Map,this._menuItems=new Map,this._onDidChangeMenu=new F.b,this.onDidChangeMenu=this._onDidChangeMenu.event,this._commandPaletteChangeEvent={has:u=>u===i.CommandPalette}}addCommand(u){return this.addCommands(H.a.single(u))}addCommands(u){for(const l of u)this._commands.set(l.id,l);return this._onDidChangeMenu.fire(this._commandPaletteChangeEvent),Object(U.i)(()=>{let l=!1;for(const w of u)l=this._commands.delete(w.id)||l;l&&this._onDidChangeMenu.fire(this._commandPaletteChangeEvent)})}getCommand(u){return this._commands.get(u)}getCommands(){const u=new Map;return this._commands.forEach((l,w)=>u.set(w,l)),u}appendMenuItem(u,l){return this.appendMenuItems(H.a.single({id:u,item:l}))}appendMenuItems(u){const l=new Set,w=new _.a;for(const{id:A,item:N}of u){let O=this._menuItems.get(A);O||(O=new _.a,this._menuItems.set(A,O)),w.push(O.push(N)),l.add(A)}return this._onDidChangeMenu.fire(l),Object(U.i)(()=>{if(w.size>0){for(let A of w)A();this._onDidChangeMenu.fire(l),w.clear()}})}getMenuItems(u){let l;return this._menuItems.has(u)?l=[...this._menuItems.get(u)]:l=[],u===i.CommandPalette&&this._appendImplicitItems(l),l}_appendImplicitItems(u){const l=new Set;for(const w of u)r(w)&&(l.add(w.command.id),w.alt&&l.add(w.alt.id));this._commands.forEach((w,A)=>{l.has(A)||u.push({command:w})})}};class d extends S.e{constructor(u,l,w,A){super(`submenuitem.${u.submenu.id}`,typeof u.title=="string"?u.title:u.title.value,[],"submenu");this.item=u,this._menuService=l,this._contextKeyService=w,this._options=A}get actions(){const u=[],l=this._menuService.createMenu(this.item.submenu,this._contextKeyService),w=l.getActions(this._options);l.dispose();for(const[,A]of w)A.length>0&&(u.push(...A),u.push(new S.d));return u.length&&u.pop(),u}}let g=class u{constructor(l,w,A,N,O){var L,b;if(this._commandService=O,this.id=l.id,this.label=(A==null?void 0:A.renderShortTitle)&&l.shortTitle?typeof l.shortTitle=="string"?l.shortTitle:l.shortTitle.value:typeof l.title=="string"?l.title:l.title.value,this.tooltip=(b=typeof l.tooltip=="string"?l.tooltip:(L=l.tooltip)===null||L===void 0?void 0:L.value)!==null&&b!==void 0?b:"",this.enabled=!l.precondition||N.contextMatchesRules(l.precondition),this.checked=void 0,l.toggled){const D=l.toggled.condition?l.toggled:{condition:l.toggled};this.checked=N.contextMatchesRules(D.condition),this.checked&&D.tooltip&&(this.tooltip=typeof D.tooltip=="string"?D.tooltip:D.tooltip.value),D.title&&(this.label=typeof D.title=="string"?D.title:D.title.value)}this.item=l,this.alt=w?new u(w,void 0,A,N,O):void 0,this._options=A,m.d.isThemeIcon(l.icon)&&(this.class=j.a.asClassName(l.icon))}dispose(){}run(...l){var w,A;let N=[];return((w=this._options)===null||w===void 0?void 0:w.arg)&&(N=[...N,this._options.arg]),((A=this._options)===null||A===void 0?void 0:A.shouldForwardArgs)&&(N=[...N,...l]),this._commandService.executeCommand(this.id,...N)}};g=f([c(3,P.b),c(4,k.b)],g)},fyJ8:function(se,T,s){"use strict";var S=s("rePB"),j=s("VTBJ"),F=s("Ff2n"),H=s("U8pU"),U=s("q1tI"),_=s.n(U),k=s("TSYQ"),P=s.n(k),e=s("c+Xe"),m=s("sR1s");function f(o){return o&&Object(H.a)(o)==="object"&&!Array.isArray(o)&&!U.isValidElement(o)}function c(o){return typeof o=="string"?!0:Object(e.c)(o)}function r(o,d){var g,u=o.prefixCls,l=o.className,w=o.record,A=o.index,N=o.dataIndex,O=o.render,L=o.children,b=o.component,D=b===void 0?"td":b,K=o.colSpan,W=o.rowSpan,C=o.fixLeft,E=o.fixRight,v=o.firstFixLeft,z=o.lastFixLeft,x=o.firstFixRight,a=o.lastFixRight,h=o.appendNode,p=o.additionalProps,n=p===void 0?{}:p,y=o.ellipsis,R=o.align,M=o.rowType,$=o.isSticky,ne="".concat(u,"-cell"),V,Q;if(L)Q=L;else{var te=Object(m.b)(w,N);if(Q=te,O){var ee=O(te,w,A);f(ee)?(Q=ee.children,V=ee.props):Q=ee}}Object(H.a)(Q)==="object"&&!Array.isArray(Q)&&!U.isValidElement(Q)&&(Q=null),y&&(z||x)&&(Q=U.createElement("span",{className:"".concat(ne,"-content")},Q));var Y=V||{},X=Y.colSpan,ae=Y.rowSpan,Re=Y.style,ve=Y.className,Ae=Object(F.a)(Y,["colSpan","rowSpan","style","className"]),Pe=X!==void 0?X:K,Ue=ae!==void 0?ae:W;if(Pe===0||Ue===0)return null;var Le={},Ge=typeof C=="number",I=typeof E=="number";Ge&&(Le.position="sticky",Le.left=C),I&&(Le.position="sticky",Le.right=E);var G={};R&&(G.textAlign=R);var J,Z=y===!0?{showTitle:!0}:y;Z&&(Z.showTitle||M==="header")&&(typeof Q=="string"||typeof Q=="number"?J=Q.toString():U.isValidElement(Q)&&typeof Q.props.children=="string"&&(J=Q.props.children));var he=Object(j.a)(Object(j.a)(Object(j.a)({title:J},Ae),n),{},{colSpan:Pe&&Pe!==1?Pe:null,rowSpan:Ue&&Ue!==1?Ue:null,className:P()(ne,l,(g={},Object(S.a)(g,"".concat(ne,"-fix-left"),Ge),Object(S.a)(g,"".concat(ne,"-fix-left-first"),v),Object(S.a)(g,"".concat(ne,"-fix-left-last"),z),Object(S.a)(g,"".concat(ne,"-fix-right"),I),Object(S.a)(g,"".concat(ne,"-fix-right-first"),x),Object(S.a)(g,"".concat(ne,"-fix-right-last"),a),Object(S.a)(g,"".concat(ne,"-ellipsis"),y),Object(S.a)(g,"".concat(ne,"-with-append"),h),Object(S.a)(g,"".concat(ne,"-fix-sticky"),(Ge||I)&&$),g),n.className,ve),style:Object(j.a)(Object(j.a)(Object(j.a)(Object(j.a)({},n.style),G),Le),Re),ref:c(D)?d:null});return U.createElement(D,Object.assign({},he),h,Q)}var i=U.forwardRef(r);i.displayName="Cell";var t=U.memo(i,function(o,d){return d.shouldCellUpdate?!d.shouldCellUpdate(d.record,o.record):!1});T.a=t},hW8S:function(se,T,s){"use strict";s.d(T,"a",function(){return H}),s.d(T,"c",function(){return U}),s.d(T,"b",function(){return _});var S=s("VTBJ"),j=s("Ff2n"),F=s("Kwbf"),H="RC_TABLE_INTERNAL_COL_DEFINE";function U(k){var P=k.expandable,e=Object(j.a)(k,["expandable"]);return"expandable"in k?Object(S.a)(Object(S.a)({},e),P):e}function _(k){return Object.keys(k).reduce(function(P,e){return(e.substr(0,5)==="data-"||e.substr(0,5)==="aria-")&&(P[e]=k[e]),P},{})}},ic2d:function(se,T,s){"use strict";s.d(T,"a",function(){return H});var S=s("FWmy"),j=s("746U");class F{constructor(){this.data=new Map}add(U,_){S.a(j.l(U)),S.a(j.k(_)),S.a(!this.data.has(U),"There is already an extension with this id"),this.data.set(U,_)}as(U){return this.data.get(U)||null}}const H=new F},mgmH:function(se,T,s){"use strict";s.d(T,"d",function(){return r}),s.d(T,"b",function(){return i}),s.d(T,"e",function(){return t}),s.d(T,"c",function(){return o}),s.d(T,"n",function(){return d}),s.d(T,"g",function(){return g}),s.d(T,"h",function(){return u}),s.d(T,"j",function(){return w}),s.d(T,"a",function(){return A}),s.d(T,"l",function(){return N}),s.d(T,"f",function(){return O}),s.d(T,"k",function(){return L}),s.d(T,"m",function(){return b}),s.d(T,"i",function(){return D}),s.d(T,"o",function(){return K}),s.d(T,"t",function(){return W}),s.d(T,"s",function(){return C}),s.d(T,"p",function(){return E}),s.d(T,"q",function(){return v}),s.d(T,"r",function(){return z}),s.d(T,"v",function(){return x}),s.d(T,"u",function(){return a});var S=s("miYZ"),j=s("tsqr"),F=s("k1fw"),H=s("9og8"),U=s("WmNS"),_=s.n(U),k=s("oUNq"),P=s("9kvl"),e=s("1vsH"),m=s("m3rI"),f=function(){Object(P.c)()._store.dispatch({type:"globalSetting/setGlobalLoading",payload:{show:!0,text:"\u6B63\u5728\u751F\u6210\u6587\u4EF6\uFF0C\u8BF7\u7A0D\u540E..."}})},c=function(){Object(P.c)()._store.dispatch({type:"globalSetting/setGlobalLoading",payload:{show:!1,text:""}})},r=function(){var h=Object(H.a)(_.a.mark(function p(n){var y;return _.a.wrap(function(M){for(;;)switch(M.prev=M.next){case 0:return f(),M.next=3,Object(k.t)(Object(F.a)({},n));case 3:if(y=M.sent,!(y.status===0)){M.next=7;break}return M.next=7,Object(e.w)("",Object(e.Y)({url:m.a.API_SERVER+"/api/courses/".concat(n.coursesId,"/export_couser_info.json"),query:n}));case 7:c();case 8:case"end":return M.stop()}},p)}));return function(n){return h.apply(this,arguments)}}(),i=function(){var h=Object(H.a)(_.a.mark(function p(n){var y;return _.a.wrap(function(M){for(;;)switch(M.prev=M.next){case 0:return M.next=2,Object(k.r)(Object(F.a)({},n));case 2:if(y=M.sent,!(y.status===0)){M.next=8;break}j.b.info("\u5BFC\u51FA\u4EFB\u52A1\u751F\u6210\u6210\u529F"),P.d.push("/classrooms/".concat(n.coursesId,"/exportlist/course_member_act_score")),M.next=13;break;case 8:if(!(y.status===-2)){M.next=12;break}return M.abrupt("return",y);case 12:y.status===-3&&(Object(P.c)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),P.d.push("/classrooms/".concat(n.coursesId,"/exportlist/course_member_act_score")));case 13:case"end":return M.stop()}},p)}));return function(n){return h.apply(this,arguments)}}(),t=function(){var h=Object(H.a)(_.a.mark(function p(n){var y;return _.a.wrap(function(M){for(;;)switch(M.prev=M.next){case 0:return M.next=2,Object(k.u)(Object(F.a)({},n));case 2:if(y=M.sent,!(y.status===0)){M.next=8;break}j.b.info("\u5BFC\u51FA\u4EFB\u52A1\u751F\u6210\u6210\u529F"),P.d.push("/classrooms/".concat(n.coursesId,"/exportlist/course_total_score")),M.next=13;break;case 8:if(!(y.status===-2)){M.next=12;break}return M.abrupt("return",y);case 12:y.status===-3&&(Object(P.c)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),P.d.push("/classrooms/".concat(n.coursesId,"/exportlist/course_total_score")));case 13:case"end":return M.stop()}},p)}));return function(n){return h.apply(this,arguments)}}(),o=function(){var h=Object(H.a)(_.a.mark(function p(n){var y;return _.a.wrap(function(M){for(;;)switch(M.prev=M.next){case 0:return M.next=2,Object(k.s)(Object(F.a)({},n));case 2:if(y=M.sent,!(y.status===0)){M.next=8;break}j.b.info("\u5BFC\u51FA\u4EFB\u52A1\u751F\u6210\u6210\u529F"),P.d.push("/classrooms/".concat(n.coursesId,"/exportlist/course_total_exercise_and_other")),M.next=13;break;case 8:if(!(y.status===-2)){M.next=12;break}return M.abrupt("return",y);case 12:y.status===-3&&(Object(P.c)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),P.d.push("/classrooms/".concat(n.coursesId,"/exportlist/course_total_exercise_and_other")));case 13:case"end":return M.stop()}},p)}));return function(n){return h.apply(this,arguments)}}(),d=function(){var h=Object(H.a)(_.a.mark(function p(n){var y;return _.a.wrap(function(M){for(;;)switch(M.prev=M.next){case 0:return M.next=2,Object(k.z)(Object(F.a)({},n));case 2:if(y=M.sent,!(y.status===0)){M.next=8;break}j.b.info("\u5BFC\u51FA\u4EFB\u52A1\u751F\u6210\u6210\u529F"),P.d.push("/classrooms/".concat(n.coursesId,"/exportlist/course_total_exercise_and_other")),M.next=13;break;case 8:if(!(y.status===-2)){M.next=12;break}return M.abrupt("return",y);case 12:y.status===-3&&(Object(P.c)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),P.d.push("/classrooms/".concat(n.coursesId,"/exportlist/course_total_exercise_and_other")));case 13:case"end":return M.stop()}},p)}));return function(n){return h.apply(this,arguments)}}(),g=function(){var h=Object(H.a)(_.a.mark(function p(n){var y;return _.a.wrap(function(M){for(;;)switch(M.prev=M.next){case 0:return M.next=2,Object(k.v)(Object(F.a)({},n));case 2:if(y=M.sent,!(y.status===0)){M.next=8;break}j.b.info("\u5BFC\u51FA\u4EFB\u52A1\u751F\u6210\u6210\u529F"),P.d.push("/classrooms/".concat(n.coursesId,"/exportlist/course_total_homework")),M.next=13;break;case 8:if(!(y.status===-2)){M.next=12;break}return M.abrupt("return",y);case 12:y.status===-3&&(Object(P.c)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),P.d.push("/classrooms/".concat(n.coursesId,"/exportlist/course_total_homework")));case 13:case"end":return M.stop()}},p)}));return function(n){return h.apply(this,arguments)}}(),u=function(){var h=Object(H.a)(_.a.mark(function p(n,y){var R;return _.a.wrap(function($){for(;;)switch($.prev=$.next){case 0:return $.next=2,Object(k.x)(Object(F.a)({},n));case 2:R=$.sent,R.status===0?(j.b.info("\u5BFC\u51FA\u4EFB\u52A1\u751F\u6210\u6210\u529F"),P.d.push("/classrooms/".concat(n.coursesId,"/exportlist/").concat(y))):R.status===-3&&(Object(P.c)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),P.d.push("/classrooms/".concat(n.coursesId,"/exportlist/").concat(y)));case 4:case"end":return $.stop()}},p)}));return function(n,y){return h.apply(this,arguments)}}(),l=function(){var h=Object(H.a)(_.a.mark(function p(n){var y;return _.a.wrap(function(M){for(;;)switch(M.prev=M.next){case 0:return f(),M.next=3,Object(k.w)(Object(F.a)({},n));case 3:if(y=M.sent,!(y.status===0)){M.next=7;break}return M.next=7,Object(e.w)("",Object(e.Y)({url:m.a.API_SERVER+"/api/homework_commons/".concat(n.categoryId,"/works_list.zip"),query:n}));case 7:c();case 8:case"end":return M.stop()}},p)}));return function(n){return h.apply(this,arguments)}}(),w=function(){var h=Object(H.a)(_.a.mark(function p(n){var y;return _.a.wrap(function(M){for(;;)switch(M.prev=M.next){case 0:return f(),M.next=3,Object(k.A)(Object(F.a)({},n));case 3:if(y=M.sent,!(y.status===0)){M.next=7;break}return M.next=7,Object(e.w)("",Object(e.Y)({url:m.a.API_SERVER+"/api/polls/".concat(n.categoryId,"/commit_result.xlsx"),query:n}));case 7:c();case 8:case"end":return M.stop()}},p)}));return function(n){return h.apply(this,arguments)}}(),A=function(){var h=Object(H.a)(_.a.mark(function p(n){return _.a.wrap(function(R){for(;;)switch(R.prev=R.next){case 0:return R.next=2,Object(e.v)("",Object(e.Y)({url:m.a.API_SERVER+"/api/courses/".concat(n.coursesId,"/attendances/export_xlsx_data.xlsx"),query:n}));case 2:case"end":return R.stop()}},p)}));return function(n){return h.apply(this,arguments)}}(),N=function(){var h=Object(H.a)(_.a.mark(function p(n){return _.a.wrap(function(R){for(;;)switch(R.prev=R.next){case 0:return R.next=2,Object(e.v)("",Object(e.Y)({url:m.a.API_SERVER+"/api/courses/".concat(n.coursesId,"/video_study_statics.xlsx"),query:n}));case 2:case"end":return R.stop()}},p)}));return function(n){return h.apply(this,arguments)}}(),O=function(){var h=Object(H.a)(_.a.mark(function p(n){return _.a.wrap(function(R){for(;;)switch(R.prev=R.next){case 0:return R.next=2,Object(e.v)("",Object(e.Y)({url:m.a.API_SERVER+"/api/courses/".concat(n.coursesId,"/export_course_students_info.xlsx"),query:n}));case 2:case"end":return R.stop()}},p)}));return function(n){return h.apply(this,arguments)}}(),L=function(){var h=Object(H.a)(_.a.mark(function p(n){return _.a.wrap(function(R){for(;;)switch(R.prev=R.next){case 0:return R.next=2,Object(e.v)("",Object(e.Y)({url:m.a.API_SERVER+"/api/item_banks/export.xlsx",query:n}));case 2:case"end":return R.stop()}},p)}));return function(n){return h.apply(this,arguments)}}(),b=function(){var h=Object(H.a)(_.a.mark(function p(n){return _.a.wrap(function(R){for(;;)switch(R.prev=R.next){case 0:return R.next=2,Object(e.v)("",Object(e.Y)({url:m.a.API_SERVER+"/api/competitions/region_reports.xlsx",query:n}));case 2:case"end":return R.stop()}},p)}));return function(n){return h.apply(this,arguments)}}(),D=function(){var h=Object(H.a)(_.a.mark(function p(n){var y;return _.a.wrap(function(M){for(;;)switch(M.prev=M.next){case 0:return M.next=2,Object(k.y)(Object(F.a)({},n));case 2:y=M.sent,y.status===0?(j.b.info("\u5BFC\u51FA\u4EFB\u52A1\u751F\u6210\u6210\u529F"),P.d.push("/classrooms/".concat(n.coursesId,"/exportlist/exercise_score"))):y.status===-3&&(Object(P.c)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),P.d.push("/classrooms/".concat(n.coursesId,"/exportlist/exercise_score")));case 4:case"end":return M.stop()}},p)}));return function(n){return h.apply(this,arguments)}}(),K=function(){var h=Object(H.a)(_.a.mark(function p(n){return _.a.wrap(function(R){for(;;)switch(R.prev=R.next){case 0:return console.log("----------","\u8C03\u7528\u4E0B\u8F7D"),R.next=3,Object(e.v)("",Object(e.Y)({url:m.a.API_SERVER+"/api/export_records/".concat(n.id,".xlsx"),query:n}));case 3:case"end":return R.stop()}},p)}));return function(n){return h.apply(this,arguments)}}(),W=function(){var h=Object(H.a)(_.a.mark(function p(n){return _.a.wrap(function(R){for(;;)switch(R.prev=R.next){case 0:return R.next=2,Object(e.v)("",Object(e.Y)({url:m.a.API_SERVER+"/api/ec_major_schools/0/ec_years.xlsx",query:n}));case 2:case"end":return R.stop()}},p)}));return function(n){return h.apply(this,arguments)}}(),C=function(){var h=Object(H.a)(_.a.mark(function p(n){return _.a.wrap(function(R){for(;;)switch(R.prev=R.next){case 0:return R.next=2,Object(e.v)("",Object(e.Y)({url:m.a.API_SERVER+"/api/ec_years/".concat(n==null?void 0:n.ec_year_id,"/ec_training_objectives.xlsx"),query:n}));case 2:case"end":return R.stop()}},p)}));return function(n){return h.apply(this,arguments)}}(),E=function(){var h=Object(H.a)(_.a.mark(function p(n){return _.a.wrap(function(R){for(;;)switch(R.prev=R.next){case 0:return R.next=2,Object(e.v)(n==null?void 0:n.name,Object(e.Y)({url:m.a.API_SERVER+"/api/attachments/get_ecs_attachment.docx",query:n}));case 2:case"end":return R.stop()}},p)}));return function(n){return h.apply(this,arguments)}}(),v=function(){var h=Object(H.a)(_.a.mark(function p(n){return _.a.wrap(function(R){for(;;)switch(R.prev=R.next){case 0:return R.next=2,Object(e.v)("",Object(e.Y)({url:m.a.API_SERVER+"/api/ec_years/".concat(n==null?void 0:n.ec_year_id,"/ec_courses.xlsx"),query:n}));case 2:case"end":return R.stop()}},p)}));return function(n){return h.apply(this,arguments)}}(),z=function(){var h=Object(H.a)(_.a.mark(function p(n){return _.a.wrap(function(R){for(;;)switch(R.prev=R.next){case 0:return R.next=2,Object(e.v)("",Object(e.Y)({url:m.a.API_SERVER+"/api/ec_years/".concat(n==null?void 0:n.ec_year_id,"/ec_graduation_requirements.xlsx"),query:n}));case 2:case"end":return R.stop()}},p)}));return function(n){return h.apply(this,arguments)}}(),x=function(){var h=Object(H.a)(_.a.mark(function p(n){return _.a.wrap(function(R){for(;;)switch(R.prev=R.next){case 0:return R.next=2,Object(e.v)("",Object(e.Y)({url:m.a.API_SERVER+"/api/courses/rank_list.xlsx",query:n}));case 2:case"end":return R.stop()}},p)}));return function(n){return h.apply(this,arguments)}}(),a=function(){var h=Object(H.a)(_.a.mark(function p(n){return _.a.wrap(function(R){for(;;)switch(R.prev=R.next){case 0:return R.next=2,Object(e.v)("",Object(e.Y)({url:m.a.API_SERVER+"/api/courses/question_rank_list.xlsx",query:n}));case 2:case"end":return R.stop()}},p)}));return function(n){return h.apply(this,arguments)}}()},n6Qo:function(se,T,s){"use strict";s.d(T,"a",function(){return P});var S=s("q1tI"),j=s("biw7"),F=s("fyJ8");function H(e){var m=e.className,f=e.index,c=e.children,r=e.colSpan,i=e.rowSpan,t=S.useContext(j.a),o=t.prefixCls,d=t.fixedInfoList,g=d[f];return S.createElement(F.a,Object.assign({className:m,index:f,component:"td",prefixCls:o,record:null,dataIndex:null,render:function(){return{children:c,props:{colSpan:r,rowSpan:i}}}},g))}function U(e){return S.createElement("tr",Object.assign({},e))}function _(e){var m=e.children,f=S.useContext(j.a),c=f.prefixCls;return S.createElement("tfoot",{className:"".concat(c,"-summary")},m)}var k=T.b=_,P={Cell:H,Row:U}},nEHx:function(se,T,s){"use strict";s.d(T,"a",function(){return S});var S;(function(j){j.DARK="dark",j.LIGHT="light",j.HIGH_CONTRAST="hc"})(S||(S={}))},nnTU:function(se,T,s){"use strict";s.d(T,"b",function(){return k}),s.d(T,"a",function(){return P});var S=s("MI8n"),j=s("JYp7"),F=s("pmY6"),H=s("24hK"),U=s("746U"),_=s("Cg/j");const k=Object(_.c)("commandService"),P=new class{constructor(){this._commands=new Map,this._onDidRegisterCommand=new S.b,this.onDidRegisterCommand=this._onDidRegisterCommand.event}registerCommand(e,m){if(!e)throw new Error("invalid command");if(typeof e=="string"){if(!m)throw new Error("invalid command");return this.registerCommand({id:e,handler:m})}if(e.description){const t=[];for(let d of e.description.args)t.push(d.constraint);const o=e.handler;e.handler=function(d,...g){return Object(U.o)(g,t),o(d,...g)}}const{id:f}=e;let c=this._commands.get(f);c||(c=new H.a,this._commands.set(f,c));let r=c.unshift(e),i=Object(F.i)(()=>{r();const t=this._commands.get(f);(t==null?void 0:t.isEmpty())&&this._commands.delete(f)});return this._onDidRegisterCommand.fire(f),i}registerCommandAlias(e,m){return P.registerCommand(e,(f,...c)=>f.get(k).executeCommand(m,...c))}getCommand(e){const m=this._commands.get(e);return!m||m.isEmpty()?void 0:j.a.first(m)}getCommands(){const e=new Map;for(const m of this._commands.keys()){const f=this.getCommand(m);f&&e.set(m,f)}return e}};P.registerCommand("noop",()=>{})},p5ED:function(se,T,s){"use strict";var S=s("+L6B"),j=s("2/Rp"),F=s("5Dmo"),H=s("3S7+"),U=s("k1fw"),_=s("9og8"),k=s("tJVT"),P=s("WmNS"),e=s.n(P),m=s("q1tI"),f=s.n(m),c=s("vHTk"),r=s.n(c),i=s("yEEn"),t=s("ZW9T"),o=s("1vsH"),d=s("V0Rq"),g=s("m3rI");T.a=function(u){var l,w,A,N,O,L,b,D=u.editOffice,K=D===void 0?"view":D,W=u.data,C=u.theme,E=u.type,v=u.filename,z=u.monacoEditor,x=u.className,a=u.style,h=u.close,p=u.onClose,n=u.hasMask,y=u.disabledDownload,R=Object(m.useState)("https://view.officeapps.live.com/op/view.aspx?src=http://testgs.educoder.net//rails/active_storage/blobs/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaHBCZz09IiwiZXhwIjpudWxsLCJwdXIiOiJibG9iX2lkIn19--03541f6234b93d7ac3b2d84e7eb0e6594a952945/1.ppt"),M=Object(k.a)(R,2),$=M[0],ne=M[1],V=Object(m.useState)(""),Q=Object(k.a)(V,2),te=Q[0],ee=Q[1],Y=Object(m.useState)(),X=Object(k.a)(Y,2),ae=X[0],Re=X[1],ve=window.ENV==="build"?"/react/build":"",Ae=g.a.PROXY_SERVER||location.origin,Pe,Ue=1024*1024,Le=10*Ue,Ge=Object(m.useRef)();(l=W)!==null&&l!==void 0&&l.startsWith("/api")&&E!=="txt"&&(W=(g.a.API_SERVER||location.origin)+W),E==="office"&&(Pe=Object(o.T)(W).filesize,Pe>Le&&(E="other")),v&&z&&(z.filename=v),Object(m.useEffect)(function(){var Z,he,Ne=(Z=document.cookie)===null||Z===void 0||((he=Z.replace(/\s/g,""))===null||he===void 0)?void 0:he.split(";");Ne==null||Ne.map(function(He){var Ye=He.split("=");Ye[0]==="_educoder_session"&&ee(Ye[1])})},[]),Object(m.useEffect)(function(){E==="office"&&I()},[E,W]);var I=function(){var Z=Object(_.a)(e.a.mark(function he(){var Ne,He,Ye;return e.a.wrap(function(qe){for(;;)switch(qe.prev=qe.next){case 0:return console.log("data:",W),Ne=W,W.startsWith("http")||(Ne=location.origin+Ne),He=new URL(Ne).pathname.split("/").pop(),qe.next=6,Object(d.V)({attachment_id:He});case 6:Ye=qe.sent,Re(Ye);case 8:case"end":return qe.stop()}},he)}));return function(){return Z.apply(this,arguments)}}(),G=function(){if(W.startsWith("http")||W.startsWith("blob:")){J();return}Object(o.z)(v||"educoder",W,v)},J=function(){Object(o.x)(v||"educoder",decodeURIComponent(W))};return f.a.createElement("div",{style:Object(U.a)({},a||{}),className:"".concat(n&&r.a.bgBlack," ").concat(E?r.a.wrp:"hide")},h&&f.a.createElement("div",{className:r.a.close,ref:Ge},!y&&f.a.createElement(H.a,{title:"\u70B9\u51FB\u4E0B\u8F7D\u6B64\u6587\u4EF6",getPopupContainer:function(){return Ge.current}},f.a.createElement("span",{onClick:J},f.a.createElement("i",{className:"icon-quxiaozhiding"}))),f.a.createElement(H.a,{title:"\u5173\u95ED",getPopupContainer:function(){return Ge.current}},f.a.createElement("span",{className:"",onClick:p},f.a.createElement("i",{className:"icon-guanbi1"})))),f.a.createElement("div",{className:"".concat(r.a[x]," ").concat(x," ").concat(r.a.monaco," ").concat(E==="txt"?"show":"hide")},E==="txt"&&f.a.createElement(t.b,z)),E==="audio"&&f.a.createElement("audio",{src:"".concat(((w=W)===null||w===void 0?void 0:w.indexOf("http://"))>-1||((A=W)===null||A===void 0?void 0:A.indexOf("https://"))>-1?"":"data:audio/mp3;base64,").concat(W),autoPlay:!0}),E==="video"&&f.a.createElement(f.a.Fragment,null,((N=W)===null||N===void 0?void 0:N.indexOf("http"))>-1?f.a.createElement("video",{controls:!0,src:"".concat(W),autoPlay:!0}):f.a.createElement("video",{controls:!0,src:"data:video/mp4;base64,".concat(W),autoPlay:!0})),E==="office"&&ae&&f.a.createElement("iframe",{src:"".concat(ve,"/office.html?key=").concat(ae.key,"&url=").concat(Ae+ae.url,"&callbackUrl=").concat(Ae+ae.callbackUrl,"&fileType=").concat(ae.fileType,"&title=").concat(ae.title,"&model=").concat(K,"&officeServer=").concat(g.a.OFFICE_SERVER,"&disabledDownload=").concat(!!y)}),E==="html"&&f.a.createElement("iframe",{src:W+"&disposition=inline"}),E==="pdf"&&f.a.createElement("iframe",{src:"".concat(ve,"/js/pdfview/index.html?url=").concat(W,"&disabledDownload=").concat(!!y)}),E==="image"&&f.a.createElement("img",{src:"".concat(((O=W)===null||O===void 0?void 0:O.indexOf("http://"))>-1||((L=W)===null||L===void 0?void 0:L.indexOf("https://"))>-1||(b=W)!==null&&b!==void 0&&b.startsWith("/api")?"":"data:image/png;base64,").concat(W)}),E==="other"&&f.a.createElement("div",null,f.a.createElement(j.a,{type:"primary",size:"large",onClick:G},f.a.createElement(i.a,null),"\u70B9\u51FB\u4E0B\u8F7D")),E==="download"&&f.a.createElement(j.a,{type:"primary",size:"large",onClick:G},f.a.createElement(i.a,null),"\u70B9\u51FB\u4E0B\u8F7D"))}},pmY6:function(se,T,s){"use strict";s.d(T,"h",function(){return m}),s.d(T,"g",function(){return c}),s.d(T,"f",function(){return r}),s.d(T,"e",function(){return i}),s.d(T,"i",function(){return t}),s.d(T,"b",function(){return o}),s.d(T,"a",function(){return d}),s.d(T,"d",function(){return g}),s.d(T,"c",function(){return u});var S=s("C/vA"),j=s("JYp7");const F=!1;let H=null;function U(l){H=l}if(F){const l="__is_disposable_tracked__";U(new class{trackDisposable(w){const A=new Error("Potentially leaked disposable").stack;setTimeout(()=>{w[l]||console.log(A)},3e3)}setParent(w,A){if(w&&w!==d.None)try{w[l]=!0}catch(N){}}markAsDisposed(w){if(w&&w!==d.None)try{w[l]=!0}catch(A){}}markAsSingleton(w){}})}function _(l){return H==null||H.trackDisposable(l),l}function k(l){H==null||H.markAsDisposed(l)}function P(l,w){H==null||H.setParent(l,w)}function e(l,w){if(!H)return;for(const A of l)H.setParent(A,w)}function m(l){return H==null||H.markAsSingleton(l),l}class f extends Error{constructor(l){super(`Encountered errors while disposing of store. Errors: [${l.join(", ")}]`);this.errors=l}}function c(l){return typeof l.dispose=="function"&&l.dispose.length===0}function r(l){if(j.a.is(l)){let w=[];for(const A of l)if(A)try{A.dispose()}catch(N){w.push(N)}if(w.length===1)throw w[0];if(w.length>1)throw new f(w);return Array.isArray(l)?[]:l}else if(l)return l.dispose(),l}function i(...l){const w=t(()=>r(l));return e(l,w),w}function t(l){const w=_({dispose:Object(S.a)(()=>{k(w),l()})});return w}class o{constructor(){this._toDispose=new Set,this._isDisposed=!1,_(this)}dispose(){if(this._isDisposed)return;k(this),this._isDisposed=!0,this.clear()}clear(){try{r(this._toDispose.values())}finally{this._toDispose.clear()}}add(l){if(!l)return l;if(l===this)throw new Error("Cannot register a disposable on itself!");return P(l,this),this._isDisposed?o.DISABLE_DISPOSED_WARNING||console.warn(new Error("Trying to add a disposable to a DisposableStore that has already been disposed of. The added object will be leaked!").stack):this._toDispose.add(l),l}}o.DISABLE_DISPOSED_WARNING=!1;class d{constructor(){this._store=new o,_(this),P(this._store,this)}dispose(){k(this),this._store.dispose()}_register(l){if(l===this)throw new Error("Cannot register a disposable on itself!");return this._store.add(l)}}d.None=Object.freeze({dispose(){}});class g{constructor(){this._isDisposed=!1,_(this)}get value(){return this._isDisposed?void 0:this._value}set value(l){var w;if(this._isDisposed||l===this._value)return;(w=this._value)===null||w===void 0||w.dispose(),l&&P(l,this),this._value=l}clear(){this.value=void 0}dispose(){var l;this._isDisposed=!0,k(this),(l=this._value)===null||l===void 0||l.dispose(),this._value=void 0}clearAndLeak(){const l=this._value;return this._value=void 0,l&&P(l,null),l}}class u{constructor(l){this.object=l}dispose(){}}},psGv:function(se,T,s){var S,j;(function(){var F;(function(){"use strict";var k=[,,function(f){function c(t){this.__parent=t,this.__character_count=0,this.__indent_count=-1,this.__alignment_count=0,this.__wrap_point_index=0,this.__wrap_point_character_count=0,this.__wrap_point_indent_count=-1,this.__wrap_point_alignment_count=0,this.__items=[]}c.prototype.clone_empty=function(){var t=new c(this.__parent);return t.set_indent(this.__indent_count,this.__alignment_count),t},c.prototype.item=function(t){return t<0?this.__items[this.__items.length+t]:this.__items[t]},c.prototype.has_match=function(t){for(var o=this.__items.length-1;o>=0;o--)if(this.__items[o].match(t))return!0;return!1},c.prototype.set_indent=function(t,o){this.is_empty()&&(this.__indent_count=t||0,this.__alignment_count=o||0,this.__character_count=this.__parent.get_indent_size(this.__indent_count,this.__alignment_count))},c.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)},c.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},c.prototype._allow_wrap=function(){if(this._should_wrap()){this.__parent.add_new_line();var t=this.__parent.current_line;return t.set_indent(this.__wrap_point_indent_count,this.__wrap_point_alignment_count),t.__items=this.__items.slice(this.__wrap_point_index),this.__items=this.__items.slice(0,this.__wrap_point_index),t.__character_count+=this.__character_count-this.__wrap_point_character_count,this.__character_count=this.__wrap_point_character_count,t.__items[0]===" "&&(t.__items.splice(0,1),t.__character_count-=1),!0}return!1},c.prototype.is_empty=function(){return this.__items.length===0},c.prototype.last=function(){return this.is_empty()?null:this.__items[this.__items.length-1]},c.prototype.push=function(t){this.__items.push(t);var o=t.lastIndexOf(`
|
|
`);o!==-1?this.__character_count=t.length-o:this.__character_count+=t.length},c.prototype.pop=function(){var t=null;return this.is_empty()||(t=this.__items.pop(),this.__character_count-=t.length),t},c.prototype._remove_indent=function(){this.__indent_count>0&&(this.__indent_count-=1,this.__character_count-=this.__parent.indent_size)},c.prototype._remove_wrap_indent=function(){this.__wrap_point_indent_count>0&&(this.__wrap_point_indent_count-=1)},c.prototype.trim=function(){for(;this.last()===" ";)this.__items.pop(),this.__character_count-=1},c.prototype.toString=function(){var t="";return this.is_empty()?this.__parent.indent_empty_lines&&(t=this.__parent.get_indent_string(this.__indent_count)):(t=this.__parent.get_indent_string(this.__indent_count,this.__alignment_count),t+=this.__items.join("")),t};function r(t,o){this.__cache=[""],this.__indent_size=t.indent_size,this.__indent_string=t.indent_char,t.indent_with_tabs||(this.__indent_string=new Array(t.indent_size+1).join(t.indent_char)),o=o||"",t.indent_level>0&&(o=new Array(t.indent_level+1).join(this.__indent_string)),this.__base_string=o,this.__base_string_length=o.length}r.prototype.get_indent_size=function(t,o){var d=this.__base_string_length;return o=o||0,t<0&&(d=0),d+=t*this.__indent_size,d+=o,d},r.prototype.get_indent_string=function(t,o){var d=this.__base_string;return o=o||0,t<0&&(t=0,d=""),o+=t*this.__indent_size,this.__ensure_cache(o),d+=this.__cache[o],d},r.prototype.__ensure_cache=function(t){for(;t>=this.__cache.length;)this.__add_column()},r.prototype.__add_column=function(){var t=this.__cache.length,o=0,d="";this.__indent_size&&t>=this.__indent_size&&(o=Math.floor(t/this.__indent_size),t-=o*this.__indent_size,d=new Array(o+1).join(this.__indent_string)),t&&(d+=new Array(t+1).join(" ")),this.__cache.push(d)};function i(t,o){this.__indent_cache=new r(t,o),this.raw=!1,this._end_with_newline=t.end_with_newline,this.indent_size=t.indent_size,this.wrap_line_length=t.wrap_line_length,this.indent_empty_lines=t.indent_empty_lines,this.__lines=[],this.previous_line=null,this.current_line=null,this.next_line=new c(this),this.space_before_token=!1,this.non_breaking_space=!1,this.previous_token_wrapped=!1,this.__add_outputline()}i.prototype.__add_outputline=function(){this.previous_line=this.current_line,this.current_line=this.next_line.clone_empty(),this.__lines.push(this.current_line)},i.prototype.get_line_number=function(){return this.__lines.length},i.prototype.get_indent_string=function(t,o){return this.__indent_cache.get_indent_string(t,o)},i.prototype.get_indent_size=function(t,o){return this.__indent_cache.get_indent_size(t,o)},i.prototype.is_empty=function(){return!this.previous_line&&this.current_line.is_empty()},i.prototype.add_new_line=function(t){return this.is_empty()||!t&&this.just_added_newline()?!1:(this.raw||this.__add_outputline(),!0)},i.prototype.get_code=function(t){this.trim(!0);var o=this.current_line.pop();o&&(o[o.length-1]===`
|
|
`&&(o=o.replace(/\n+$/g,"")),this.current_line.push(o)),this._end_with_newline&&this.__add_outputline();var d=this.__lines.join(`
|
|
`);return t!==`
|
|
`&&(d=d.replace(/[\n]/g,t)),d},i.prototype.set_wrap_point=function(){this.current_line._set_wrap_point()},i.prototype.set_indent=function(t,o){return t=t||0,o=o||0,this.next_line.set_indent(t,o),this.__lines.length>1?(this.current_line.set_indent(t,o),!0):(this.current_line.set_indent(),!1)},i.prototype.add_raw_token=function(t){for(var o=0;o<t.newlines;o++)this.__add_outputline();this.current_line.set_indent(-1),this.current_line.push(t.whitespace_before),this.current_line.push(t.text),this.space_before_token=!1,this.non_breaking_space=!1,this.previous_token_wrapped=!1},i.prototype.add_token=function(t){this.__add_space_before_token(),this.current_line.push(t),this.space_before_token=!1,this.non_breaking_space=!1,this.previous_token_wrapped=this.current_line._allow_wrap()},i.prototype.__add_space_before_token=function(){this.space_before_token&&!this.just_added_newline()&&(this.non_breaking_space||this.set_wrap_point(),this.current_line.push(" "))},i.prototype.remove_indent=function(t){for(var o=this.__lines.length;t<o;)this.__lines[t]._remove_indent(),t++;this.current_line._remove_wrap_indent()},i.prototype.trim=function(t){for(t=t===void 0?!1:t,this.current_line.trim();t&&this.__lines.length>1&&this.current_line.is_empty();)this.__lines.pop(),this.current_line=this.__lines[this.__lines.length-1],this.current_line.trim();this.previous_line=this.__lines.length>1?this.__lines[this.__lines.length-2]:null},i.prototype.just_added_newline=function(){return this.current_line.is_empty()},i.prototype.just_added_blankline=function(){return this.is_empty()||this.current_line.is_empty()&&this.previous_line.is_empty()},i.prototype.ensure_empty_line_above=function(t,o){for(var d=this.__lines.length-2;d>=0;){var g=this.__lines[d];if(g.is_empty())break;if(g.item(0).indexOf(t)!==0&&g.item(-1)!==o){this.__lines.splice(d+1,0,new c(this)),this.previous_line=this.__lines[this.__lines.length-2];break}d--}},f.exports.Output=i},function(f){function c(r,i,t,o){this.type=r,this.text=i,this.comments_before=null,this.newlines=t||0,this.whitespace_before=o||"",this.parent=null,this.next=null,this.previous=null,this.opened=null,this.closed=null,this.directives=null}f.exports.Token=c},,,function(f){function c(t,o){this.raw_options=r(t,o),this.disabled=this._get_boolean("disabled"),this.eol=this._get_characters("eol","auto"),this.end_with_newline=this._get_boolean("end_with_newline"),this.indent_size=this._get_number("indent_size",4),this.indent_char=this._get_characters("indent_char"," "),this.indent_level=this._get_number("indent_level"),this.preserve_newlines=this._get_boolean("preserve_newlines",!0),this.max_preserve_newlines=this._get_number("max_preserve_newlines",32786),this.preserve_newlines||(this.max_preserve_newlines=0),this.indent_with_tabs=this._get_boolean("indent_with_tabs",this.indent_char===" "),this.indent_with_tabs&&(this.indent_char=" ",this.indent_size===1&&(this.indent_size=4)),this.wrap_line_length=this._get_number("wrap_line_length",this._get_number("max_char")),this.indent_empty_lines=this._get_boolean("indent_empty_lines"),this.templating=this._get_selection_list("templating",["auto","none","django","erb","handlebars","php","smarty"],["auto"])}c.prototype._get_array=function(t,o){var d=this.raw_options[t],g=o||[];return typeof d=="object"?d!==null&&typeof d.concat=="function"&&(g=d.concat()):typeof d=="string"&&(g=d.split(/[^a-zA-Z0-9_\/\-]+/)),g},c.prototype._get_boolean=function(t,o){var d=this.raw_options[t],g=d===void 0?!!o:!!d;return g},c.prototype._get_characters=function(t,o){var d=this.raw_options[t],g=o||"";return typeof d=="string"&&(g=d.replace(/\\r/,"\r").replace(/\\n/,`
|
|
`).replace(/\\t/," ")),g},c.prototype._get_number=function(t,o){var d=this.raw_options[t];o=parseInt(o,10),isNaN(o)&&(o=0);var g=parseInt(d,10);return isNaN(g)&&(g=o),g},c.prototype._get_selection=function(t,o,d){var g=this._get_selection_list(t,o,d);if(g.length!==1)throw new Error("Invalid Option Value: The option '"+t+`' can only be one of the following values:
|
|
`+o+`
|
|
You passed in: '`+this.raw_options[t]+"'");return g[0]},c.prototype._get_selection_list=function(t,o,d){if(!o||o.length===0)throw new Error("Selection list cannot be empty.");if(d=d||[o[0]],!this._is_valid_selection(d,o))throw new Error("Invalid Default Value!");var g=this._get_array(t,d);if(!this._is_valid_selection(g,o))throw new Error("Invalid Option Value: The option '"+t+`' can contain only the following values:
|
|
`+o+`
|
|
You passed in: '`+this.raw_options[t]+"'");return g},c.prototype._is_valid_selection=function(t,o){return t.length&&o.length&&!t.some(function(d){return o.indexOf(d)===-1})};function r(t,o){var d={};t=i(t);var g;for(g in t)g!==o&&(d[g]=t[g]);if(o&&t[o])for(g in t[o])d[g]=t[o][g];return d}function i(t){var o={},d;for(d in t){var g=d.replace(/-/g,"_");o[g]=t[d]}return o}f.exports.Options=c,f.exports.normalizeOpts=i,f.exports.mergeOpts=r},,function(f){var c=RegExp.prototype.hasOwnProperty("sticky");function r(i){this.__input=i||"",this.__input_length=this.__input.length,this.__position=0}r.prototype.restart=function(){this.__position=0},r.prototype.back=function(){this.__position>0&&(this.__position-=1)},r.prototype.hasNext=function(){return this.__position<this.__input_length},r.prototype.next=function(){var i=null;return this.hasNext()&&(i=this.__input.charAt(this.__position),this.__position+=1),i},r.prototype.peek=function(i){var t=null;return i=i||0,i+=this.__position,i>=0&&i<this.__input_length&&(t=this.__input.charAt(i)),t},r.prototype.__match=function(i,t){i.lastIndex=t;var o=i.exec(this.__input);return o&&!(c&&i.sticky)&&(o.index!==t&&(o=null)),o},r.prototype.test=function(i,t){return t=t||0,t+=this.__position,t>=0&&t<this.__input_length?!!this.__match(i,t):!1},r.prototype.testChar=function(i,t){var o=this.peek(t);return i.lastIndex=0,o!==null&&i.test(o)},r.prototype.match=function(i){var t=this.__match(i,this.__position);return t?this.__position+=t[0].length:t=null,t},r.prototype.read=function(i,t,o){var d="",g;return i&&(g=this.match(i),g&&(d+=g[0])),t&&(g||!i)&&(d+=this.readUntil(t,o)),d},r.prototype.readUntil=function(i,t){var o="",d=this.__position;i.lastIndex=this.__position;var g=i.exec(this.__input);return g?(d=g.index,t&&(d+=g[0].length)):d=this.__input_length,o=this.__input.substring(this.__position,d),this.__position=d,o},r.prototype.readUntilAfter=function(i){return this.readUntil(i,!0)},r.prototype.get_regexp=function(i,t){var o=null,d="g";return t&&c&&(d="y"),typeof i=="string"&&i!==""?o=new RegExp(i,d):i&&(o=new RegExp(i.source,d)),o},r.prototype.get_literal_regexp=function(i){return RegExp(i.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&"))},r.prototype.peekUntilAfter=function(i){var t=this.__position,o=this.readUntilAfter(i);return this.__position=t,o},r.prototype.lookBack=function(i){var t=this.__position-1;return t>=i.length&&this.__input.substring(t-i.length,t).toLowerCase()===i},f.exports.InputScanner=r},function(f,c,r){var i=r(8).InputScanner,t=r(3).Token,o=r(10).TokenStream,d=r(11).WhitespacePattern,g={START:"TK_START",RAW:"TK_RAW",EOF:"TK_EOF"},u=function(l,w){this._input=new i(l),this._options=w||{},this.__tokens=null,this._patterns={},this._patterns.whitespace=new d(this._input)};u.prototype.tokenize=function(){this._input.restart(),this.__tokens=new o,this._reset();for(var l,w=new t(g.START,""),A=null,N=[],O=new o;w.type!==g.EOF;){for(l=this._get_next_token(w,A);this._is_comment(l);)O.add(l),l=this._get_next_token(w,A);O.isEmpty()||(l.comments_before=O,O=new o),l.parent=A,this._is_opening(l)?(N.push(A),A=l):A&&this._is_closing(l,A)&&(l.opened=A,A.closed=l,A=N.pop(),l.parent=A),l.previous=w,w.next=l,this.__tokens.add(l),w=l}return this.__tokens},u.prototype._is_first_token=function(){return this.__tokens.isEmpty()},u.prototype._reset=function(){},u.prototype._get_next_token=function(l,w){this._readWhitespace();var A=this._input.read(/.+/g);return A?this._create_token(g.RAW,A):this._create_token(g.EOF,"")},u.prototype._is_comment=function(l){return!1},u.prototype._is_opening=function(l){return!1},u.prototype._is_closing=function(l,w){return!1},u.prototype._create_token=function(l,w){var A=new t(l,w,this._patterns.whitespace.newline_count,this._patterns.whitespace.whitespace_before_token);return A},u.prototype._readWhitespace=function(){return this._patterns.whitespace.read()},f.exports.Tokenizer=u,f.exports.TOKEN=g},function(f){function c(r){this.__tokens=[],this.__tokens_length=this.__tokens.length,this.__position=0,this.__parent_token=r}c.prototype.restart=function(){this.__position=0},c.prototype.isEmpty=function(){return this.__tokens_length===0},c.prototype.hasNext=function(){return this.__position<this.__tokens_length},c.prototype.next=function(){var r=null;return this.hasNext()&&(r=this.__tokens[this.__position],this.__position+=1),r},c.prototype.peek=function(r){var i=null;return r=r||0,r+=this.__position,r>=0&&r<this.__tokens_length&&(i=this.__tokens[r]),i},c.prototype.add=function(r){this.__parent_token&&(r.parent=this.__parent_token),this.__tokens.push(r),this.__tokens_length+=1},f.exports.TokenStream=c},function(f,c,r){var i=r(12).Pattern;function t(o,d){i.call(this,o,d),d?this._line_regexp=this._input.get_regexp(d._line_regexp):this.__set_whitespace_patterns("",""),this.newline_count=0,this.whitespace_before_token=""}t.prototype=new i,t.prototype.__set_whitespace_patterns=function(o,d){o+="\\t ",d+="\\n\\r",this._match_pattern=this._input.get_regexp("["+o+d+"]+",!0),this._newline_regexp=this._input.get_regexp("\\r\\n|["+d+"]")},t.prototype.read=function(){this.newline_count=0,this.whitespace_before_token="";var o=this._input.read(this._match_pattern);if(o===" ")this.whitespace_before_token=" ";else if(o){var d=this.__split(this._newline_regexp,o);this.newline_count=d.length-1,this.whitespace_before_token=d[this.newline_count]}return o},t.prototype.matching=function(o,d){var g=this._create();return g.__set_whitespace_patterns(o,d),g._update(),g},t.prototype._create=function(){return new t(this._input,this)},t.prototype.__split=function(o,d){o.lastIndex=0;for(var g=0,u=[],l=o.exec(d);l;)u.push(d.substring(g,l.index)),g=l.index+l[0].length,l=o.exec(d);return g<d.length?u.push(d.substring(g,d.length)):u.push(""),u},f.exports.WhitespacePattern=t},function(f){function c(r,i){this._input=r,this._starting_pattern=null,this._match_pattern=null,this._until_pattern=null,this._until_after=!1,i&&(this._starting_pattern=this._input.get_regexp(i._starting_pattern,!0),this._match_pattern=this._input.get_regexp(i._match_pattern,!0),this._until_pattern=this._input.get_regexp(i._until_pattern),this._until_after=i._until_after)}c.prototype.read=function(){var r=this._input.read(this._starting_pattern);return(!this._starting_pattern||r)&&(r+=this._input.read(this._match_pattern,this._until_pattern,this._until_after)),r},c.prototype.read_match=function(){return this._input.match(this._match_pattern)},c.prototype.until_after=function(r){var i=this._create();return i._until_after=!0,i._until_pattern=this._input.get_regexp(r),i._update(),i},c.prototype.until=function(r){var i=this._create();return i._until_after=!1,i._until_pattern=this._input.get_regexp(r),i._update(),i},c.prototype.starting_with=function(r){var i=this._create();return i._starting_pattern=this._input.get_regexp(r,!0),i._update(),i},c.prototype.matching=function(r){var i=this._create();return i._match_pattern=this._input.get_regexp(r,!0),i._update(),i},c.prototype._create=function(){return new c(this._input,this)},c.prototype._update=function(){},f.exports.Pattern=c},function(f){function c(r,i){r=typeof r=="string"?r:r.source,i=typeof i=="string"?i:i.source,this.__directives_block_pattern=new RegExp(r+/ beautify( \w+[:]\w+)+ /.source+i,"g"),this.__directive_pattern=/ (\w+)[:](\w+)/g,this.__directives_end_ignore_pattern=new RegExp(r+/\sbeautify\signore:end\s/.source+i,"g")}c.prototype.get_directives=function(r){if(!r.match(this.__directives_block_pattern))return null;var i={};this.__directive_pattern.lastIndex=0;for(var t=this.__directive_pattern.exec(r);t;)i[t[1]]=t[2],t=this.__directive_pattern.exec(r);return i},c.prototype.readIgnored=function(r){return r.readUntilAfter(this.__directives_end_ignore_pattern)},f.exports.Directives=c},function(f,c,r){var i=r(12).Pattern,t={django:!1,erb:!1,handlebars:!1,php:!1,smarty:!1};function o(d,g){i.call(this,d,g),this.__template_pattern=null,this._disabled=Object.assign({},t),this._excluded=Object.assign({},t),g&&(this.__template_pattern=this._input.get_regexp(g.__template_pattern),this._excluded=Object.assign(this._excluded,g._excluded),this._disabled=Object.assign(this._disabled,g._disabled));var u=new i(d);this.__patterns={handlebars_comment:u.starting_with(/{{!--/).until_after(/--}}/),handlebars_unescaped:u.starting_with(/{{{/).until_after(/}}}/),handlebars:u.starting_with(/{{/).until_after(/}}/),php:u.starting_with(/<\?(?:[= ]|php)/).until_after(/\?>/),erb:u.starting_with(/<%[^%]/).until_after(/[^%]%>/),django:u.starting_with(/{%/).until_after(/%}/),django_value:u.starting_with(/{{/).until_after(/}}/),django_comment:u.starting_with(/{#/).until_after(/#}/),smarty:u.starting_with(/{(?=[^}{\s\n])/).until_after(/[^\s\n]}/),smarty_comment:u.starting_with(/{\*/).until_after(/\*}/),smarty_literal:u.starting_with(/{literal}/).until_after(/{\/literal}/)}}o.prototype=new i,o.prototype._create=function(){return new o(this._input,this)},o.prototype._update=function(){this.__set_templated_pattern()},o.prototype.disable=function(d){var g=this._create();return g._disabled[d]=!0,g._update(),g},o.prototype.read_options=function(d){var g=this._create();for(var u in t)g._disabled[u]=d.templating.indexOf(u)===-1;return g._update(),g},o.prototype.exclude=function(d){var g=this._create();return g._excluded[d]=!0,g._update(),g},o.prototype.read=function(){var d="";this._match_pattern?d=this._input.read(this._starting_pattern):d=this._input.read(this._starting_pattern,this.__template_pattern);for(var g=this._read_template();g;)this._match_pattern?g+=this._input.read(this._match_pattern):g+=this._input.readUntil(this.__template_pattern),d+=g,g=this._read_template();return this._until_after&&(d+=this._input.readUntilAfter(this._until_pattern)),d},o.prototype.__set_templated_pattern=function(){var d=[];this._disabled.php||d.push(this.__patterns.php._starting_pattern.source),this._disabled.handlebars||d.push(this.__patterns.handlebars._starting_pattern.source),this._disabled.erb||d.push(this.__patterns.erb._starting_pattern.source),this._disabled.django||(d.push(this.__patterns.django._starting_pattern.source),d.push(this.__patterns.django_value._starting_pattern.source),d.push(this.__patterns.django_comment._starting_pattern.source)),this._disabled.smarty||d.push(this.__patterns.smarty._starting_pattern.source),this._until_pattern&&d.push(this._until_pattern.source),this.__template_pattern=this._input.get_regexp("(?:"+d.join("|")+")")},o.prototype._read_template=function(){var d="",g=this._input.peek();if(g==="<"){var u=this._input.peek(1);!this._disabled.php&&!this._excluded.php&&u==="?"&&(d=d||this.__patterns.php.read()),!this._disabled.erb&&!this._excluded.erb&&u==="%"&&(d=d||this.__patterns.erb.read())}else g==="{"&&(!this._disabled.handlebars&&!this._excluded.handlebars&&(d=d||this.__patterns.handlebars_comment.read(),d=d||this.__patterns.handlebars_unescaped.read(),d=d||this.__patterns.handlebars.read()),this._disabled.django||(!this._excluded.django&&!this._excluded.handlebars&&(d=d||this.__patterns.django_value.read()),this._excluded.django||(d=d||this.__patterns.django_comment.read(),d=d||this.__patterns.django.read())),this._disabled.smarty||this._disabled.django&&this._disabled.handlebars&&(d=d||this.__patterns.smarty_comment.read(),d=d||this.__patterns.smarty_literal.read(),d=d||this.__patterns.smarty.read()));return d},f.exports.TemplatablePattern=o},,,,function(f,c,r){var i=r(19).Beautifier,t=r(20).Options;function o(d,g,u,l){var w=new i(d,g,u,l);return w.beautify()}f.exports=o,f.exports.defaultOptions=function(){return new t}},function(f,c,r){var i=r(20).Options,t=r(2).Output,o=r(21).Tokenizer,d=r(21).TOKEN,g=/\r\n|[\r\n]/,u=/\r\n|[\r\n]/g,l=function(C,E){this.indent_level=0,this.alignment_size=0,this.max_preserve_newlines=C.max_preserve_newlines,this.preserve_newlines=C.preserve_newlines,this._output=new t(C,E)};l.prototype.current_line_has_match=function(C){return this._output.current_line.has_match(C)},l.prototype.set_space_before_token=function(C,E){this._output.space_before_token=C,this._output.non_breaking_space=E},l.prototype.set_wrap_point=function(){this._output.set_indent(this.indent_level,this.alignment_size),this._output.set_wrap_point()},l.prototype.add_raw_token=function(C){this._output.add_raw_token(C)},l.prototype.print_preserved_newlines=function(C){var E=0;C.type!==d.TEXT&&C.previous.type!==d.TEXT&&(E=C.newlines?1:0),this.preserve_newlines&&(E=C.newlines<this.max_preserve_newlines+1?C.newlines:this.max_preserve_newlines+1);for(var v=0;v<E;v++)this.print_newline(v>0);return E!==0},l.prototype.traverse_whitespace=function(C){return C.whitespace_before||C.newlines?(this.print_preserved_newlines(C)||(this._output.space_before_token=!0),!0):!1},l.prototype.previous_token_wrapped=function(){return this._output.previous_token_wrapped},l.prototype.print_newline=function(C){this._output.add_new_line(C)},l.prototype.print_token=function(C){C.text&&(this._output.set_indent(this.indent_level,this.alignment_size),this._output.add_token(C.text))},l.prototype.indent=function(){this.indent_level++},l.prototype.get_full_indent=function(C){return C=this.indent_level+(C||0),C<1?"":this._output.get_indent_string(C)};var w=function(C){for(var E=null,v=C.next;v.type!==d.EOF&&C.closed!==v;){if(v.type===d.ATTRIBUTE&&v.text==="type"){v.next&&v.next.type===d.EQUALS&&v.next.next&&v.next.next.type===d.VALUE&&(E=v.next.next.text);break}v=v.next}return E},A=function(C,E){var v=null,z=null;return E.closed?(C==="script"?v="text/javascript":C==="style"&&(v="text/css"),v=w(E)||v,v.search("text/css")>-1?z="css":v.search(/module|((text|application|dojo)\/(x-)?(javascript|ecmascript|jscript|livescript|(ld\+)?json|method|aspect))/)>-1?z="javascript":v.search(/(text|application|dojo)\/(x-)?(html)/)>-1?z="html":v.search(/test\/null/)>-1&&(z="null"),z):null};function N(C,E){return E.indexOf(C)!==-1}function O(C,E,v){this.parent=C||null,this.tag=E?E.tag_name:"",this.indent_level=v||0,this.parser_token=E||null}function L(C){this._printer=C,this._current_frame=null}L.prototype.get_parser_token=function(){return this._current_frame?this._current_frame.parser_token:null},L.prototype.record_tag=function(C){var E=new O(this._current_frame,C,this._printer.indent_level);this._current_frame=E},L.prototype._try_pop_frame=function(C){var E=null;return C&&(E=C.parser_token,this._printer.indent_level=C.indent_level,this._current_frame=C.parent),E},L.prototype._get_frame=function(C,E){for(var v=this._current_frame;v&&!(C.indexOf(v.tag)!==-1);){if(E&&E.indexOf(v.tag)!==-1){v=null;break}v=v.parent}return v},L.prototype.try_pop=function(C,E){var v=this._get_frame([C],E);return this._try_pop_frame(v)},L.prototype.indent_to_tag=function(C){var E=this._get_frame(C);E&&(this._printer.indent_level=E.indent_level)};function b(C,E,v,z){this._source_text=C||"",E=E||{},this._js_beautify=v,this._css_beautify=z,this._tag_stack=null;var x=new i(E,"html");this._options=x,this._is_wrap_attributes_force=this._options.wrap_attributes.substr(0,"force".length)==="force",this._is_wrap_attributes_force_expand_multiline=this._options.wrap_attributes==="force-expand-multiline",this._is_wrap_attributes_force_aligned=this._options.wrap_attributes==="force-aligned",this._is_wrap_attributes_aligned_multiple=this._options.wrap_attributes==="aligned-multiple",this._is_wrap_attributes_preserve=this._options.wrap_attributes.substr(0,"preserve".length)==="preserve",this._is_wrap_attributes_preserve_aligned=this._options.wrap_attributes==="preserve-aligned"}b.prototype.beautify=function(){if(this._options.disabled)return this._source_text;var C=this._source_text,E=this._options.eol;this._options.eol==="auto"&&(E=`
|
|
`,C&&g.test(C)&&(E=C.match(g)[0])),C=C.replace(u,`
|
|
`);var v=C.match(/^[\t ]*/)[0],z={text:"",type:""},x=new D,a=new l(this._options,v),h=new o(C,this._options).tokenize();this._tag_stack=new L(a);for(var p=null,n=h.next();n.type!==d.EOF;)n.type===d.TAG_OPEN||n.type===d.COMMENT?(p=this._handle_tag_open(a,n,x,z),x=p):n.type===d.ATTRIBUTE||n.type===d.EQUALS||n.type===d.VALUE||n.type===d.TEXT&&!x.tag_complete?p=this._handle_inside_tag(a,n,x,h):n.type===d.TAG_CLOSE?p=this._handle_tag_close(a,n,x):n.type===d.TEXT?p=this._handle_text(a,n,x):a.add_raw_token(n),z=p,n=h.next();var y=a._output.get_code(E);return y},b.prototype._handle_tag_close=function(C,E,v){var z={text:E.text,type:E.type};return C.alignment_size=0,v.tag_complete=!0,C.set_space_before_token(E.newlines||E.whitespace_before!=="",!0),v.is_unformatted?C.add_raw_token(E):(v.tag_start_char==="<"&&(C.set_space_before_token(E.text[0]==="/",!0),this._is_wrap_attributes_force_expand_multiline&&v.has_wrapped_attrs&&C.print_newline(!1)),C.print_token(E)),v.indent_content&&!(v.is_unformatted||v.is_content_unformatted)&&(C.indent(),v.indent_content=!1),!v.is_inline_element&&!(v.is_unformatted||v.is_content_unformatted)&&C.set_wrap_point(),z},b.prototype._handle_inside_tag=function(C,E,v,z){var x=v.has_wrapped_attrs,a={text:E.text,type:E.type};if(C.set_space_before_token(E.newlines||E.whitespace_before!=="",!0),v.is_unformatted)C.add_raw_token(E);else if(v.tag_start_char==="{"&&E.type===d.TEXT)C.print_preserved_newlines(E)?(E.newlines=0,C.add_raw_token(E)):C.print_token(E);else{if(E.type===d.ATTRIBUTE?(C.set_space_before_token(!0),v.attr_count+=1):(E.type===d.EQUALS||E.type===d.VALUE&&E.previous.type===d.EQUALS)&&C.set_space_before_token(!1),E.type===d.ATTRIBUTE&&v.tag_start_char==="<"&&((this._is_wrap_attributes_preserve||this._is_wrap_attributes_preserve_aligned)&&(C.traverse_whitespace(E),x=x||E.newlines!==0),this._is_wrap_attributes_force)){var h=v.attr_count>1;if(this._is_wrap_attributes_force_expand_multiline&&v.attr_count===1){var p=!0,n=0,y;do{if(y=z.peek(n),y.type===d.ATTRIBUTE){p=!1;break}n+=1}while(n<4&&y.type!==d.EOF&&y.type!==d.TAG_CLOSE);h=!p}h&&(C.print_newline(!1),x=!0)}C.print_token(E),x=x||C.previous_token_wrapped(),v.has_wrapped_attrs=x}return a},b.prototype._handle_text=function(C,E,v){var z={text:E.text,type:"TK_CONTENT"};return v.custom_beautifier_name?this._print_custom_beatifier_text(C,E,v):v.is_unformatted||v.is_content_unformatted?C.add_raw_token(E):(C.traverse_whitespace(E),C.print_token(E)),z},b.prototype._print_custom_beatifier_text=function(C,E,v){var z=this;if(E.text!==""){var x=E.text,a,h=1,p="",n="";v.custom_beautifier_name==="javascript"&&typeof this._js_beautify=="function"?a=this._js_beautify:v.custom_beautifier_name==="css"&&typeof this._css_beautify=="function"?a=this._css_beautify:v.custom_beautifier_name==="html"&&(a=function(V,Q){var te=new b(V,Q,z._js_beautify,z._css_beautify);return te.beautify()}),this._options.indent_scripts==="keep"?h=0:this._options.indent_scripts==="separate"&&(h=-C.indent_level);var y=C.get_full_indent(h);if(x=x.replace(/\n[ \t]*$/,""),v.custom_beautifier_name!=="html"&&x[0]==="<"&&x.match(/^(<!--|<!\[CDATA\[)/)){var R=/^(<!--[^\n]*|<!\[CDATA\[)(\n?)([ \t\n]*)([\s\S]*)(-->|]]>)$/.exec(x);if(!R){C.add_raw_token(E);return}p=y+R[1]+`
|
|
`,x=R[4],R[5]&&(n=y+R[5]),x=x.replace(/\n[ \t]*$/,""),(R[2]||R[3].indexOf(`
|
|
`)!==-1)&&(R=R[3].match(/[ \t]+$/),R&&(E.whitespace_before=R[0]))}if(x)if(a){var M=function(){this.eol=`
|
|
`};M.prototype=this._options.raw_options;var $=new M;x=a(y+x,$)}else{var ne=E.whitespace_before;ne&&(x=x.replace(new RegExp(`
|
|
(`+ne+")?","g"),`
|
|
`)),x=y+x.replace(/\n/g,`
|
|
`+y)}p&&(x?x=p+x+`
|
|
`+n:x=p+n),C.print_newline(!1),x&&(E.text=x,E.whitespace_before="",E.newlines=0,C.add_raw_token(E),C.print_newline(!0))}},b.prototype._handle_tag_open=function(C,E,v,z){var x=this._get_tag_open_token(E);return(v.is_unformatted||v.is_content_unformatted)&&!v.is_empty_element&&E.type===d.TAG_OPEN&&E.text.indexOf("</")===0?(C.add_raw_token(E),x.start_tag_token=this._tag_stack.try_pop(x.tag_name)):(C.traverse_whitespace(E),this._set_tag_position(C,E,x,v,z),x.is_inline_element||C.set_wrap_point(),C.print_token(E)),(this._is_wrap_attributes_force_aligned||this._is_wrap_attributes_aligned_multiple||this._is_wrap_attributes_preserve_aligned)&&(x.alignment_size=E.text.length+1),!x.tag_complete&&!x.is_unformatted&&(C.alignment_size=x.alignment_size),x};var D=function(C,E){if(this.parent=C||null,this.text="",this.type="TK_TAG_OPEN",this.tag_name="",this.is_inline_element=!1,this.is_unformatted=!1,this.is_content_unformatted=!1,this.is_empty_element=!1,this.is_start_tag=!1,this.is_end_tag=!1,this.indent_content=!1,this.multiline_content=!1,this.custom_beautifier_name=null,this.start_tag_token=null,this.attr_count=0,this.has_wrapped_attrs=!1,this.alignment_size=0,this.tag_complete=!1,this.tag_start_char="",this.tag_check="",!E)this.tag_complete=!0;else{var v;this.tag_start_char=E.text[0],this.text=E.text,this.tag_start_char==="<"?(v=E.text.match(/^<([^\s>]*)/),this.tag_check=v?v[1]:""):(v=E.text.match(/^{{~?(?:[\^]|#\*?)?([^\s}]+)/),this.tag_check=v?v[1]:"",(E.text.startsWith("{{#>")||E.text.startsWith("{{~#>"))&&this.tag_check[0]===">"&&(this.tag_check===">"&&E.next!==null?this.tag_check=E.next.text.split(" ")[0]:this.tag_check=E.text.split(">")[1])),this.tag_check=this.tag_check.toLowerCase(),E.type===d.COMMENT&&(this.tag_complete=!0),this.is_start_tag=this.tag_check.charAt(0)!=="/",this.tag_name=this.is_start_tag?this.tag_check:this.tag_check.substr(1),this.is_end_tag=!this.is_start_tag||E.closed&&E.closed.text==="/>";var z=2;this.tag_start_char==="{"&&this.text.length>=3&&(this.text.charAt(2)==="~"&&(z=3)),this.is_end_tag=this.is_end_tag||this.tag_start_char==="{"&&(this.text.length<3||/[^#\^]/.test(this.text.charAt(z)))}};b.prototype._get_tag_open_token=function(C){var E=new D(this._tag_stack.get_parser_token(),C);return E.alignment_size=this._options.wrap_attributes_indent_size,E.is_end_tag=E.is_end_tag||N(E.tag_check,this._options.void_elements),E.is_empty_element=E.tag_complete||E.is_start_tag&&E.is_end_tag,E.is_unformatted=!E.tag_complete&&N(E.tag_check,this._options.unformatted),E.is_content_unformatted=!E.is_empty_element&&N(E.tag_check,this._options.content_unformatted),E.is_inline_element=N(E.tag_name,this._options.inline)||E.tag_name.includes("-")||E.tag_start_char==="{",E},b.prototype._set_tag_position=function(C,E,v,z,x){if(v.is_empty_element||(v.is_end_tag?v.start_tag_token=this._tag_stack.try_pop(v.tag_name):(this._do_optional_end_element(v)&&(v.is_inline_element||C.print_newline(!1)),this._tag_stack.record_tag(v),(v.tag_name==="script"||v.tag_name==="style")&&!(v.is_unformatted||v.is_content_unformatted)&&(v.custom_beautifier_name=A(v.tag_check,E)))),N(v.tag_check,this._options.extra_liners)&&(C.print_newline(!1),C._output.just_added_blankline()||C.print_newline(!0)),v.is_empty_element){if(v.tag_start_char==="{"&&v.tag_check==="else"){this._tag_stack.indent_to_tag(["if","unless","each"]),v.indent_content=!0;var a=C.current_line_has_match(/{{#if/);a||C.print_newline(!1)}v.tag_name==="!--"&&x.type===d.TAG_CLOSE&&z.is_end_tag&&v.text.indexOf(`
|
|
`)===-1||(v.is_inline_element||v.is_unformatted||C.print_newline(!1),this._calcluate_parent_multiline(C,v))}else if(v.is_end_tag){var h=!1;h=v.start_tag_token&&v.start_tag_token.multiline_content,h=h||!v.is_inline_element&&!(z.is_inline_element||z.is_unformatted)&&!(x.type===d.TAG_CLOSE&&v.start_tag_token===z)&&x.type!=="TK_CONTENT",(v.is_content_unformatted||v.is_unformatted)&&(h=!1),h&&C.print_newline(!1)}else v.indent_content=!v.custom_beautifier_name,v.tag_start_char==="<"&&(v.tag_name==="html"?v.indent_content=this._options.indent_inner_html:v.tag_name==="head"?v.indent_content=this._options.indent_head_inner_html:v.tag_name==="body"&&(v.indent_content=this._options.indent_body_inner_html)),!(v.is_inline_element||v.is_unformatted)&&(x.type!=="TK_CONTENT"||v.is_content_unformatted)&&C.print_newline(!1),this._calcluate_parent_multiline(C,v)},b.prototype._calcluate_parent_multiline=function(C,E){E.parent&&C._output.just_added_newline()&&!((E.is_inline_element||E.is_unformatted)&&E.parent.is_inline_element)&&(E.parent.multiline_content=!0)};var K=["address","article","aside","blockquote","details","div","dl","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hr","main","nav","ol","p","pre","section","table","ul"],W=["a","audio","del","ins","map","noscript","video"];b.prototype._do_optional_end_element=function(C){var E=null;if(C.is_empty_element||!C.is_start_tag||!C.parent)return;if(C.tag_name==="body")E=E||this._tag_stack.try_pop("head");else if(C.tag_name==="li")E=E||this._tag_stack.try_pop("li",["ol","ul"]);else if(C.tag_name==="dd"||C.tag_name==="dt")E=E||this._tag_stack.try_pop("dt",["dl"]),E=E||this._tag_stack.try_pop("dd",["dl"]);else if(C.parent.tag_name==="p"&&K.indexOf(C.tag_name)!==-1){var v=C.parent.parent;(!v||W.indexOf(v.tag_name)===-1)&&(E=E||this._tag_stack.try_pop("p"))}else C.tag_name==="rp"||C.tag_name==="rt"?(E=E||this._tag_stack.try_pop("rt",["ruby","rtc"]),E=E||this._tag_stack.try_pop("rp",["ruby","rtc"])):C.tag_name==="optgroup"?E=E||this._tag_stack.try_pop("optgroup",["select"]):C.tag_name==="option"?E=E||this._tag_stack.try_pop("option",["select","datalist","optgroup"]):C.tag_name==="colgroup"?E=E||this._tag_stack.try_pop("caption",["table"]):C.tag_name==="thead"?(E=E||this._tag_stack.try_pop("caption",["table"]),E=E||this._tag_stack.try_pop("colgroup",["table"])):C.tag_name==="tbody"||C.tag_name==="tfoot"?(E=E||this._tag_stack.try_pop("caption",["table"]),E=E||this._tag_stack.try_pop("colgroup",["table"]),E=E||this._tag_stack.try_pop("thead",["table"]),E=E||this._tag_stack.try_pop("tbody",["table"])):C.tag_name==="tr"?(E=E||this._tag_stack.try_pop("caption",["table"]),E=E||this._tag_stack.try_pop("colgroup",["table"]),E=E||this._tag_stack.try_pop("tr",["table","thead","tbody","tfoot"])):(C.tag_name==="th"||C.tag_name==="td")&&(E=E||this._tag_stack.try_pop("td",["table","thead","tbody","tfoot","tr"]),E=E||this._tag_stack.try_pop("th",["table","thead","tbody","tfoot","tr"]));return C.parent=this._tag_stack.get_parser_token(),E},f.exports.Beautifier=b},function(f,c,r){var i=r(6).Options;function t(o){i.call(this,o,"html"),this.templating.length===1&&this.templating[0]==="auto"&&(this.templating=["django","erb","handlebars","php"]),this.indent_inner_html=this._get_boolean("indent_inner_html"),this.indent_body_inner_html=this._get_boolean("indent_body_inner_html",!0),this.indent_head_inner_html=this._get_boolean("indent_head_inner_html",!0),this.indent_handlebars=this._get_boolean("indent_handlebars",!0),this.wrap_attributes=this._get_selection("wrap_attributes",["auto","force","force-aligned","force-expand-multiline","aligned-multiple","preserve","preserve-aligned"]),this.wrap_attributes_indent_size=this._get_number("wrap_attributes_indent_size",this.indent_size),this.extra_liners=this._get_array("extra_liners",["head","body","/html"]),this.inline=this._get_array("inline",["a","abbr","area","audio","b","bdi","bdo","br","button","canvas","cite","code","data","datalist","del","dfn","em","embed","i","iframe","img","input","ins","kbd","keygen","label","map","mark","math","meter","noscript","object","output","progress","q","ruby","s","samp","select","small","span","strong","sub","sup","svg","template","textarea","time","u","var","video","wbr","text","acronym","big","strike","tt"]),this.void_elements=this._get_array("void_elements",["area","base","br","col","embed","hr","img","input","keygen","link","menuitem","meta","param","source","track","wbr","!doctype","?xml","basefont","isindex"]),this.unformatted=this._get_array("unformatted",[]),this.content_unformatted=this._get_array("content_unformatted",["pre","textarea"]),this.unformatted_content_delimiter=this._get_characters("unformatted_content_delimiter"),this.indent_scripts=this._get_selection("indent_scripts",["normal","keep","separate"])}t.prototype=new i,f.exports.Options=t},function(f,c,r){var i=r(9).Tokenizer,t=r(9).TOKEN,o=r(13).Directives,d=r(14).TemplatablePattern,g=r(12).Pattern,u={TAG_OPEN:"TK_TAG_OPEN",TAG_CLOSE:"TK_TAG_CLOSE",ATTRIBUTE:"TK_ATTRIBUTE",EQUALS:"TK_EQUALS",VALUE:"TK_VALUE",COMMENT:"TK_COMMENT",TEXT:"TK_TEXT",UNKNOWN:"TK_UNKNOWN",START:t.START,RAW:t.RAW,EOF:t.EOF},l=new o(/<\!--/,/-->/),w=function(A,N){i.call(this,A,N),this._current_tag_name="";var O=new d(this._input).read_options(this._options),L=new g(this._input);if(this.__patterns={word:O.until(/[\n\r\t <]/),single_quote:O.until_after(/'/),double_quote:O.until_after(/"/),attribute:O.until(/[\n\r\t =>]|\/>/),element_name:O.until(/[\n\r\t >\/]/),handlebars_comment:L.starting_with(/{{!--/).until_after(/--}}/),handlebars:L.starting_with(/{{/).until_after(/}}/),handlebars_open:L.until(/[\n\r\t }]/),handlebars_raw_close:L.until(/}}/),comment:L.starting_with(/<!--/).until_after(/-->/),cdata:L.starting_with(/<!\[CDATA\[/).until_after(/]]>/),conditional_comment:L.starting_with(/<!\[/).until_after(/]>/),processing:L.starting_with(/<\?/).until_after(/\?>/)},this._options.indent_handlebars&&(this.__patterns.word=this.__patterns.word.exclude("handlebars")),this._unformatted_content_delimiter=null,this._options.unformatted_content_delimiter){var b=this._input.get_literal_regexp(this._options.unformatted_content_delimiter);this.__patterns.unformatted_content_delimiter=L.matching(b).until_after(b)}};w.prototype=new i,w.prototype._is_comment=function(A){return!1},w.prototype._is_opening=function(A){return A.type===u.TAG_OPEN},w.prototype._is_closing=function(A,N){return A.type===u.TAG_CLOSE&&N&&((A.text===">"||A.text==="/>")&&N.text[0]==="<"||A.text==="}}"&&N.text[0]==="{"&&N.text[1]==="{")},w.prototype._reset=function(){this._current_tag_name=""},w.prototype._get_next_token=function(A,N){var O=null;this._readWhitespace();var L=this._input.peek();return L===null?this._create_token(u.EOF,""):(O=O||this._read_open_handlebars(L,N),O=O||this._read_attribute(L,A,N),O=O||this._read_close(L,N),O=O||this._read_raw_content(L,A,N),O=O||this._read_content_word(L),O=O||this._read_comment_or_cdata(L),O=O||this._read_processing(L),O=O||this._read_open(L,N),O=O||this._create_token(u.UNKNOWN,this._input.next()),O)},w.prototype._read_comment_or_cdata=function(A){var N=null,O=null,L=null;if(A==="<"){var b=this._input.peek(1);b==="!"&&(O=this.__patterns.comment.read(),O?(L=l.get_directives(O),L&&L.ignore==="start"&&(O+=l.readIgnored(this._input))):O=this.__patterns.cdata.read()),O&&(N=this._create_token(u.COMMENT,O),N.directives=L)}return N},w.prototype._read_processing=function(A){var N=null,O=null,L=null;if(A==="<"){var b=this._input.peek(1);(b==="!"||b==="?")&&(O=this.__patterns.conditional_comment.read(),O=O||this.__patterns.processing.read()),O&&(N=this._create_token(u.COMMENT,O),N.directives=L)}return N},w.prototype._read_open=function(A,N){var O=null,L=null;return N||A==="<"&&(O=this._input.next(),this._input.peek()==="/"&&(O+=this._input.next()),O+=this.__patterns.element_name.read(),L=this._create_token(u.TAG_OPEN,O)),L},w.prototype._read_open_handlebars=function(A,N){var O=null,L=null;return N||this._options.indent_handlebars&&A==="{"&&this._input.peek(1)==="{"&&(this._input.peek(2)==="!"?(O=this.__patterns.handlebars_comment.read(),O=O||this.__patterns.handlebars.read(),L=this._create_token(u.COMMENT,O)):(O=this.__patterns.handlebars_open.read(),L=this._create_token(u.TAG_OPEN,O))),L},w.prototype._read_close=function(A,N){var O=null,L=null;return N&&(N.text[0]==="<"&&(A===">"||A==="/"&&this._input.peek(1)===">")?(O=this._input.next(),A==="/"&&(O+=this._input.next()),L=this._create_token(u.TAG_CLOSE,O)):N.text[0]==="{"&&A==="}"&&this._input.peek(1)==="}"&&(this._input.next(),this._input.next(),L=this._create_token(u.TAG_CLOSE,"}}"))),L},w.prototype._read_attribute=function(A,N,O){var L=null,b="";if(O&&O.text[0]==="<")if(A==="=")L=this._create_token(u.EQUALS,this._input.next());else if(A==='"'||A==="'"){var D=this._input.next();A==='"'?D+=this.__patterns.double_quote.read():D+=this.__patterns.single_quote.read(),L=this._create_token(u.VALUE,D)}else b=this.__patterns.attribute.read(),b&&(N.type===u.EQUALS?L=this._create_token(u.VALUE,b):L=this._create_token(u.ATTRIBUTE,b));return L},w.prototype._is_content_unformatted=function(A){return this._options.void_elements.indexOf(A)===-1&&(this._options.content_unformatted.indexOf(A)!==-1||this._options.unformatted.indexOf(A)!==-1)},w.prototype._read_raw_content=function(A,N,O){var L="";if(O&&O.text[0]==="{")L=this.__patterns.handlebars_raw_close.read();else if(N.type===u.TAG_CLOSE&&N.opened.text[0]==="<"&&N.text[0]!=="/"){var b=N.opened.text.substr(1).toLowerCase();if(b==="script"||b==="style"){var D=this._read_comment_or_cdata(A);if(D)return D.type=u.TEXT,D;L=this._input.readUntil(new RegExp("</"+b+"[\\n\\r\\t ]*?>","ig"))}else this._is_content_unformatted(b)&&(L=this._input.readUntil(new RegExp("</"+b+"[\\n\\r\\t ]*?>","ig")))}return L?this._create_token(u.TEXT,L):null},w.prototype._read_content_word=function(A){var N="";if(this._options.unformatted_content_delimiter&&(A===this._options.unformatted_content_delimiter[0]&&(N=this.__patterns.unformatted_content_delimiter.read())),N||(N=this.__patterns.word.read()),N)return this._create_token(u.TEXT,N)},f.exports.Tokenizer=w,f.exports.TOKEN=u}],P={};function e(f){var c=P[f];if(c!==void 0)return c.exports;var r=P[f]={exports:{}};return k[f](r,r.exports,e),r.exports}var m=e(18);F=m})();var H=F;if(!0)!(S=[s,s("6UM0"),s("TXwP")],j=function(k){var P=s("6UM0"),e=s("TXwP");return{html_beautify:function(m,f){return H(m,f,P.js_beautify,e.css_beautify)}}}.apply(T,S),j!==void 0&&(se.exports=j));else var U,_})()},"rAM+":function(se,T,s){"use strict";s.d(T,"a",function(){return j});var S=s("Qw5x");function j(F,H){var U;if(typeof Symbol=="undefined"||F[Symbol.iterator]==null){if(Array.isArray(F)||(U=Object(S.a)(F))||H&&F&&typeof F.length=="number"){U&&(F=U);var _=0,k=function(){};return{s:k,n:function(){return _>=F.length?{done:!0}:{done:!1,value:F[_++]}},e:function(c){throw c},f:k}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
|
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var P=!0,e=!1,m;return{s:function(){U=F[Symbol.iterator]()},n:function(){var c=U.next();return P=c.done,c},e:function(c){e=!0,m=c},f:function(){try{!P&&U.return!=null&&U.return()}finally{if(e)throw m}}}}},sR1s:function(se,T,s){"use strict";s.d(T,"b",function(){return H}),s.d(T,"a",function(){return U}),s.d(T,"c",function(){return _}),s.d(T,"d",function(){return k});var S=s("U8pU"),j="RC_TABLE_KEY";function F(P){return P==null?[]:Array.isArray(P)?P:[P]}function H(P,e){if(!e&&typeof e!="number")return P;for(var m=F(e),f=P,c=0;c<m.length;c+=1){if(!f)return null;var r=m[c];f=f[r]}return f}function U(P){var e=[],m={};return P.forEach(function(f){for(var c=f||{},r=c.key,i=c.dataIndex,t=r||F(i).join("-")||j;m[t];)t="".concat(t,"_next");m[t]=!0,e.push(t)}),e}function _(){var P={};function e(r,i){i&&Object.keys(i).forEach(function(t){var o=i[t];o&&Object(S.a)(o)==="object"?(r[t]=r[t]||{},e(r[t],o)):r[t]=o})}for(var m=arguments.length,f=new Array(m),c=0;c<m;c++)f[c]=arguments[c];return f.forEach(function(r){e(P,r)}),P}function k(P){return P!=null}},sboe:function(se,T,s){"use strict";s.d(T,"a",function(){return F});var S=s("q1tI"),j=s.n(S),F=S.createContext(null)},t23M:function(se,T,s){"use strict";var S=s("VTBJ"),j=s("1OyB"),F=s("vuIU"),H=s("Ji7U"),U=s("LK+K"),_=s("q1tI"),k=s.n(_),P=s("m+aA"),e=s("Zm9Q"),m=s("Kwbf"),f=s("c+Xe"),c=s("bdgK"),r="rc-observer-key",i=function(t){Object(H.a)(d,t);var o=Object(U.a)(d);function d(){var g;return Object(j.a)(this,d),g=o.apply(this,arguments),g.resizeObserver=null,g.childNode=null,g.currentElement=null,g.state={width:0,height:0,offsetHeight:0,offsetWidth:0},g.onResize=function(u){var l=g.props.onResize,w=u[0].target,A=w.getBoundingClientRect(),N=A.width,O=A.height,L=w.offsetWidth,b=w.offsetHeight,D=Math.floor(N),K=Math.floor(O);if(g.state.width!==D||g.state.height!==K||g.state.offsetWidth!==L||g.state.offsetHeight!==b){var W={width:D,height:K,offsetWidth:L,offsetHeight:b};g.setState(W),l&&Promise.resolve().then(function(){l(Object(S.a)(Object(S.a)({},W),{},{offsetWidth:L,offsetHeight:b}))})}},g.setChildNode=function(u){g.childNode=u},g}return Object(F.a)(d,[{key:"componentDidMount",value:function(){this.onComponentUpdated()}},{key:"componentDidUpdate",value:function(){this.onComponentUpdated()}},{key:"componentWillUnmount",value:function(){this.destroyObserver()}},{key:"onComponentUpdated",value:function(){var u=this.props.disabled;if(u){this.destroyObserver();return}var l=Object(P.a)(this.childNode||this),w=l!==this.currentElement;w&&(this.destroyObserver(),this.currentElement=l),!this.resizeObserver&&l&&(this.resizeObserver=new c.default(this.onResize),this.resizeObserver.observe(l))}},{key:"destroyObserver",value:function(){this.resizeObserver&&(this.resizeObserver.disconnect(),this.resizeObserver=null)}},{key:"render",value:function(){var u=this.props.children,l=Object(e.a)(u);if(l.length>1)Object(m.a)(!1,"Find more than one child node with `children` in ResizeObserver. Will only observe first one.");else if(l.length===0)return Object(m.a)(!1,"`children` of ResizeObserver is empty. Nothing is in observe."),null;var w=l[0];if(_.isValidElement(w)&&Object(f.c)(w)){var A=w.ref;l[0]=_.cloneElement(w,{ref:Object(f.a)(A,this.setChildNode)})}return l.length===1?l[0]:l.map(function(N,O){return!_.isValidElement(N)||"key"in N&&N.key!==null?N:_.cloneElement(N,{key:"".concat(r,"-").concat(O)})})}}]),d}(_.Component);i.displayName="ResizeObserver",T.a=i},t9D7:function(se,T,s){"use strict";s.d(T,"b",function(){return k}),s.d(T,"g",function(){return e}),s.d(T,"d",function(){return m}),s.d(T,"e",function(){return f}),s.d(T,"a",function(){return c}),s.d(T,"f",function(){return t}),s.d(T,"c",function(){return o});var S=s("Vhoy"),j=s("MI8n"),F=s("pmY6"),H=s("Cg/j"),U=s("ic2d"),_=s("nEHx");const k=Object(H.c)("themeService");var P;(function(d){function g(u){return u&&typeof u=="object"&&typeof u.id=="string"}d.isThemeColor=g})(P||(P={}));function e(d){return{id:d}}var m;(function(d){function g(O){return O&&typeof O=="object"&&typeof O.id=="string"&&(typeof O.color=="undefined"||P.isThemeColor(O.color))}d.isThemeIcon=g;const u=new RegExp(`^\\$\\((${S.a.iconNameExpression}(?:${S.a.iconModifierExpression})?)\\)$`);function l(O){const L=u.exec(O);if(!L)return;let[,b]=L;return{id:b}}d.fromString=l;function w(O,L){let b=O.id;const D=b.lastIndexOf("~");return D!==-1&&(b=b.substring(0,D)),L&&(b=`${b}~${L}`),{id:b}}d.modify=w;function A(O,L){var b,D;return O.id===L.id&&((b=O.color)===null||b===void 0?void 0:b.id)===((D=L.color)===null||D===void 0?void 0:D.id)}d.isEqual=A;function N(O,L){return{id:O.id,color:L?e(L):void 0}}d.asThemeIcon=N,d.asClassNameArray=S.a.asClassNameArray,d.asClassName=S.a.asClassName,d.asCSSSelector=S.a.asCSSSelector})(m||(m={}));function f(d){switch(d){case _.a.DARK:return"vs-dark";case _.a.HIGH_CONTRAST:return"hc-black";default:return"vs"}}const c={ThemingContribution:"base.contributions.theming"};class r{constructor(){this.themingParticipants=[],this.themingParticipants=[],this.onThemingParticipantAddedEmitter=new j.b}onColorThemeChange(d){return this.themingParticipants.push(d),this.onThemingParticipantAddedEmitter.fire(d),Object(F.i)(()=>{const g=this.themingParticipants.indexOf(d);this.themingParticipants.splice(g,1)})}getThemingParticipants(){return this.themingParticipants}}let i=new r;U.a.add(c.ThemingContribution,i);function t(d){return i.onColorThemeChange(d)}class o extends F.a{constructor(d){super();this.themeService=d,this.theme=d.getColorTheme(),this._register(this.themeService.onDidColorThemeChange(g=>this.onThemeChange(g)))}onThemeChange(d){this.theme=d,this.updateStyles()}updateStyles(){}}},vFAl:function(se,T,s){"use strict";s.r(T);var S=s("0Owb"),j=s("g9YV"),F=s("wCAj"),H=s("DYRE"),U=s("zeV3"),_=s("+L6B"),k=s("2/Rp"),P=s("OaEy"),e=s("2fM7"),m=s("5Dmo"),f=s("3S7+"),c=s("5NDa"),r=s("5rEg"),i=s("miYZ"),t=s("tsqr"),o=s("2qtc"),d=s("kLXV"),g=s("k1fw"),u=s("9og8"),l=s("y8nQ"),w=s("Vl3Y"),A=s("tJVT"),N=s("WmNS"),O=s.n(N),L=s("q1tI"),b=s.n(L),D=s("LGJf"),K=s.n(D),W=s("Ty5D"),C=s("9kvl"),E=s("ErOA"),v=s("LvDl"),z=s.n(v),x=s("fj85"),a=s("g+eg"),h=s("mgmH"),p=s("p5ED"),n=[{id:1,content:"\u4E13\u4E1A\u6BD5\u4E1A\u8981\u6C42\u6307\u6807\u70B9\u5206\u89E3\u53CA\u5173\u8054\u8BFE\u7A0B"},{id:2,content:"\u5B66\u751F\u6BD5\u4E1A\u8981\u6C42\u8FBE\u6210\u60C5\u51B5\u8BC4\u4EF7\u4F9D\u636E\u8868"},{id:3,content:"\u6BD5\u4E1A\u8981\u6C42\u8FBE\u6210\u60C5\u51B5\u76F4\u63A5\u8BC4\u4EF7\u7ED3\u679C"},{id:4,content:"\u8BFE\u7A0B\u603B\u7ED3\u62A5\u544A"}],y=function(M){var $,ne,V=M.user,Q=M.globalSetting,te={page:1,per_page:20,total:0,ec_major_school_id:null,ec_year_id:null,sort_by:null,direction:null,formvalues:{}},ee=Object(L.useState)(te),Y=Object(A.a)(ee,2),X=Y[0],ae=Y[1],Re=Object(L.useState)(!0),ve=Object(A.a)(Re,2),Ae=ve[0],Pe=ve[1],Ue=Object(L.useState)(!1),Le=Object(A.a)(Ue,2),Ge=Le[0],I=Le[1],G=Object(L.useState)([]),J=Object(A.a)(G,2),Z=J[0],he=J[1],Ne=Object(L.useState)([]),He=Object(A.a)(Ne,2),Ye=He[0],Xe=He[1],qe=Object(L.useState)([]),B=Object(A.a)(qe,2),q=B[0],ie=B[1],oe=w.a.useForm(),ue=Object(A.a)(oe,1),re=ue[0],_e=Object(W.h)(),de=Object(L.useState)(!1),le=Object(A.a)(de,2),Ie=le[0],Oe=le[1],Ee=Object(L.useState)(!1),me=Object(A.a)(Ee,2),xe=me[0],je=me[1],Ve=Object(L.useState)([]),Fe=Object(A.a)(Ve,2),ke=Fe[0],Se=Fe[1],at=Object(L.useState)(""),st=Object(A.a)(at,2),lt=st[0],ot=st[1],ht=Object(L.useState)({filename:"",editOffice:"view",type:"",className:"",data:"",close:!0,hasMask:!0,style:{position:"fixed",zIndex:9999,background:"rgba(0,0,0,.7)"},monacoEditor:{value:"",language:"",theme:"vs",options:{readOnly:!0}}}),Be=Object(A.a)(ht,2),ut=Be[0],tt=Be[1];Object(L.useEffect)(function(){var ce;V!=null&&(ce=V.userInfo)!==null&&ce!==void 0&&ce.school_id&&$e()},[V==null||(($=V.userInfo)===null||$===void 0)?void 0:$.school_id]);var ze=function(){var ce=Object(u.a)(O.a.mark(function be(Te){var Me,ye,pe;return O.a.wrap(function(De){for(;;)switch(De.prev=De.next){case 0:return ye=Object(v.cloneDeep)(Te),a.a.setItem(V==null||((Me=V.userInfo)===null||Me===void 0)?void 0:Me.login,[ye==null?void 0:ye.ec_major_school_id,ye==null?void 0:ye.ec_year_id]),Pe(!0),De.next=5,Object(E.a)("/api/ec_years/".concat(X.ec_year_id,"/ec_docs.json"),{method:"get",params:ye});case 5:pe=De.sent,pe!=null&&pe.data&&(ie((pe==null?void 0:pe.data)||[]),X.total=pe==null?void 0:pe.count,ae(Object(g.a)({},X))),Pe(!1);case 8:case"end":return De.stop()}},be)}));return function(Te){return ce.apply(this,arguments)}}(),$e=function(){var ce=Object(u.a)(O.a.mark(function be(){var Te,Me,ye,pe,Je,De,nt,rt,bt,pt,ct,vt,Tt,mt;return O.a.wrap(function(et){for(;;)switch(et.prev=et.next){case 0:return et.next=2,Object(E.a)("/api/schools/".concat(V==null||((Te=V.userInfo)===null||Te===void 0)?void 0:Te.school_id,"/ec_majors/get_major_list.json"),{method:"get"});case 2:if(ct=et.sent,ct!=null&&(Me=ct.data)!==null&&Me!==void 0&&(ye=Me[0])!==null&&ye!==void 0&&ye.ec_major_school_id){et.next=7;break}return Pe(!1),I(!0),et.abrupt("return");case 7:return vt=a.a.getItem(V==null||((pe=V.userInfo)===null||pe===void 0)?void 0:pe.login),Tt=Number(_e==null||((Je=_e.query)===null||Je===void 0)?void 0:Je.ec_major_school_id)||vt[0]||(ct==null||((De=ct.data)===null||De===void 0||((nt=De[0])===null||nt===void 0))?void 0:nt.ec_major_school_id),et.next=11,Object(E.a)("/api/ec_major_schools/".concat(Tt,"/ec_years/get_year_list.json"),{method:"get"});case 11:mt=et.sent,X.ec_major_school_id=Tt,X.ec_year_id=Number(_e==null||((rt=_e.query)===null||rt===void 0)?void 0:rt.ec_year_id)||vt[1]||(mt==null||((bt=mt.data)===null||bt===void 0||((pt=bt[0])===null||pt===void 0))?void 0:pt.ec_year_id),Qe(X.ec_year_id),he((ct==null?void 0:ct.data)||[]),Xe((mt==null?void 0:mt.data)||[]),ae(X),ze(X);case 19:case"end":return et.stop()}},be)}));return function(){return ce.apply(this,arguments)}}(),Ce=function(){var ce=Object(u.a)(O.a.mark(function be(Te){var Me,ye,pe;return O.a.wrap(function(De){for(;;)switch(De.prev=De.next){case 0:return De.next=2,Object(E.a)("/api/ec_major_schools/".concat(Te,"/ec_years/get_year_list.json"),{method:"get"});case 2:pe=De.sent,X.ec_major_school_id=Te,X.ec_year_id=pe==null||((Me=pe.data)===null||Me===void 0||((ye=Me[0])===null||ye===void 0))?void 0:ye.ec_year_id,Xe((pe==null?void 0:pe.data)||[]),ae(X),ze(X);case 8:case"end":return De.stop()}},be)}));return function(Te){return ce.apply(this,arguments)}}(),Qe=function(){var ce=Object(u.a)(O.a.mark(function be(Te){var Me;return O.a.wrap(function(pe){for(;;)switch(pe.prev=pe.next){case 0:return pe.next=2,Object(E.a)("/api/ec_years/".concat(Te,"/ec_courses/get_courses.json"),{method:"get"});case 2:Me=pe.sent,Se((Me==null?void 0:Me.data)||[]);case 4:case"end":return pe.stop()}},be)}));return function(Te){return ce.apply(this,arguments)}}(),fe=function(be,Te){if(X.page=1,X[Te]=be,Te==="ec_major_school_id"){Ce(be);return}Te==="ec_year_id"&&(ae(Object(g.a)({},X)),ze(X),Qe(be))},ge=function(be){d.a.confirm({centered:!0,okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",title:"\u63D0\u793A",content:"\u786E\u8BA4\u8981\u5220\u9664\u5417\uFF1F",onOk:function(){var Te=Object(u.a)(O.a.mark(function ye(){var pe,Je;return O.a.wrap(function(nt){for(;;)switch(nt.prev=nt.next){case 0:return nt.next=2,Object(E.a)("/api/ec_years/".concat(X.ec_year_id,"/ec_docs/").concat(be,".json"),{method:"delete"});case 2:pe=nt.sent,(pe==null?void 0:pe.status)===0&&(Je=1,X.page=Je,ae(Object(g.a)({},X)),ze(X));case 4:case"end":return nt.stop()}},ye)}));function Me(){return Te.apply(this,arguments)}return Me}()})},we=[{title:"\u5E8F\u53F7",dataIndex:"index",width:90,render:function(be,Te,Me){return b.a.createElement("span",{className:"pl20"},X.per_page*(X.page-1)+Me+1)}},{title:"\u6587\u6863\u540D\u79F0",dataIndex:"name",ellipsis:!0,width:200,render:function(be){return be||"-"}},{title:"\u751F\u6210\u65F6\u95F4",dataIndex:"created_at",ellipsis:!0,width:200,render:function(be){return be||"-"}},{title:"\u6700\u540E\u66F4\u65B0\u65F6\u95F4",dataIndex:"updated_at",width:200,ellipsis:!0,render:function(be){return be||"-"}},{title:"\u64CD\u4F5C",width:120,dataIndex:"id",render:function(be,Te){return b.a.createElement("span",{style:{display:"inline-flex",transform:"translateY(1px)",width:"80%",color:"#0152D9",justifyContent:"space-between"}},b.a.createElement(f.a,{title:"\u4FEE\u6539\u6807\u9898"},b.a.createElement("i",{style:{cursor:"pointer"},onClick:function(){var ye,pe=Te.name.substr(0,(ye=Te.name)===null||ye===void 0?void 0:ye.lastIndexOf("."));if(!pe.replaceAll(" ","")){t.b.info("\u6587\u4EF6\u540D\u4E0D\u80FD\u4E3A\u7A7A");return}d.a.confirm({title:"\u91CD\u547D\u540D",icon:!1,content:b.a.createElement(r.a,{defaultValue:pe,maxLength:100,onChange:function(De){pe=De.target.value}}),okText:"\u786E\u8BA4",cancelText:"\u53D6\u6D88",onOk:function(){var Je=Object(u.a)(O.a.mark(function nt(){var rt;return O.a.wrap(function(pt){for(;;)switch(pt.prev=pt.next){case 0:return pt.next=2,Object(E.a)("/api/ec_years/".concat(X==null?void 0:X.ec_year_id,"/ec_docs/").concat(be,".json"),{method:"put",body:{ec_year_id:X==null?void 0:X.ec_year_id,id:be,name:pe}});case 2:rt=pt.sent,(rt==null?void 0:rt.status)===0&&(t.b.info("\u4FEE\u6539\u6210\u529F"),X.page=1,ae(Object(g.a)({},X)),ze(X));case 4:case"end":return pt.stop()}},nt)}));function De(){return Je.apply(this,arguments)}return De}()})},className:"iconfont icon-xiugaibiaoti"})),b.a.createElement(f.a,{title:"\u5728\u7EBF\u7F16\u8F91"},b.a.createElement("i",{onClick:function(){if(["xlsx","docx","pptx"].includes(Te==null?void 0:Te.type))ut.editOffice="edit",tt(Object(g.a)(Object(g.a)({},ut),{},{type:Te.file_type,data:"/api/attachments/".concat(Te.attachment_id)}));else{t.b.info("\u5F53\u524D\u6587\u4EF6\u4E0D\u652F\u6301\u7F16\u8F91");return}},style:{cursor:"pointer"},className:"iconfont icon-bianji10"})),b.a.createElement(f.a,{title:"\u4E0B\u8F7D"},b.a.createElement("i",{style:{cursor:"pointer"},onClick:function(){Object(h.p)({name:Te==null?void 0:Te.name,attachment_id:Te==null?void 0:Te.attachment_id})},className:"iconfont icon-xiazai4"})),b.a.createElement(f.a,{title:"\u5220\u9664"},b.a.createElement("i",{style:{cursor:"pointer"},onClick:function(){ge(be)},className:"iconfont icon-shanchu11"})))}}],Ze=Ae||Ge;return b.a.createElement("div",{className:K.a.wrap},b.a.createElement(x.a,{title:"\u6587\u6863\u751F\u6210",style:{padding:"12px 0 0 20px"}}),b.a.createElement("div",{className:K.a.control},b.a.createElement("div",{className:K.a.label},"\u8BA4\u8BC1\u4E13\u4E1A"),b.a.createElement(e.a,{disabled:Ze,style:{width:240},placeholder:"\u8BF7\u9009\u62E9\u8BA4\u8BC1\u4E13\u4E1A",value:X==null?void 0:X.ec_major_school_id,onChange:function(be){return fe(be,"ec_major_school_id")}},Z==null?void 0:Z.map(function(ce){return b.a.createElement(e.a.Option,{value:ce.ec_major_school_id},ce.name)})),b.a.createElement("div",{className:K.a.label},"\u8BA4\u8BC1\u5C4A\u522B"),b.a.createElement(e.a,{disabled:Ze,style:{width:140},placeholder:"\u8BF7\u9009\u62E9\u5C4A\u522B",value:X==null?void 0:X.ec_year_id,onChange:function(be){return fe(be,"ec_year_id")}},Ye==null?void 0:Ye.map(function(ce){return b.a.createElement(e.a.Option,{value:ce.ec_year_id},ce.year)})),b.a.createElement(U.a,{className:K.a.button,size:10},b.a.createElement(k.a,{disabled:Ze,style:{transition:"0s"},onClick:function(){Oe(!0)},type:"primary"},b.a.createElement("i",{className:"iconfont icon-xinzeng font14 mr5"}),"\u751F\u6210\u6587\u6863"))),b.a.createElement(F.a,{className:K.a.customTable,dataSource:q,bordered:!1,rowKey:"id",columns:we,rowClassName:K.a.row,loading:Ae,pagination:{pageSize:X.per_page,total:X.total,current:X.page,showQuickJumper:!0,hideOnSinglePage:!1,showSizeChanger:!0,position:["bottomCenter"],showTotal:function(be){return b.a.createElement("span",{className:"mr10"},"\u5171",b.a.createElement("span",{className:"c-orange"},be),"\u6761\u6570\u636E")}}}),b.a.createElement(d.a,{title:"\u751F\u6210\u6587\u6863",visible:Ie,onOk:function(){re.submit()},okButtonProps:{loading:xe},onCancel:function(){Oe(!1),re.setFieldsValue({export_type:"",ec_course_id:""})}},console.log("---",X),b.a.createElement(w.a,{labelCol:{span:7},wrapperCol:{span:17},form:re,onValuesChange:function(be){be.export_type&&(X.formvalues=be),ae(Object(g.a)({},X))},onFinish:function(){var ce=Object(u.a)(O.a.mark(function be(Te){var Me,ye;return O.a.wrap(function(Je){for(;;)switch(Je.prev=Je.next){case 0:return je(!0),Me="/api/ec_years/".concat(X==null?void 0:X.ec_year_id,"/ec_docs.json"),Je.next=4,Object(E.a)(Me,{method:"post",body:Object(g.a)({ec_year_id:X.ec_year_id},Te)});case 4:ye=Je.sent,je(!1),ye.status===0&&(t.b.info("\u751F\u6210\u6210\u529F"),ze(X),re.setFieldsValue({export_type:"",ec_course_id:""}),Oe(!1));case 7:case"end":return Je.stop()}},be)}));return function(be){return ce.apply(this,arguments)}}()},b.a.createElement(w.a.Item,{label:"\u9009\u62E9\u8981\u751F\u6210\u7684\u6587\u6863",name:"export_type",rules:[{required:!0,message:"\u8BF7\u9009\u62E9\u8981\u751F\u6210\u7684\u6587\u6863"}]},b.a.createElement(e.a,{placeholder:"\u8BF7\u9009\u62E9\u8981\u751F\u6210\u7684\u6587\u6863"},n==null?void 0:n.map(function(ce,be){return b.a.createElement(e.a.Option,{key:be,value:ce==null?void 0:ce.id},ce==null?void 0:ce.content)}))),((ne=X.formvalues)===null||ne===void 0?void 0:ne.export_type)===4&&b.a.createElement(w.a.Item,{label:"\u9009\u62E9\u5BF9\u5E94\u7684\u8BFE\u7A0B",name:"ec_course_id",rules:[{required:!0,message:"\u8BF7\u9009\u62E9\u5BF9\u5E94\u7684\u8BFE\u7A0B"}]},b.a.createElement(e.a,{placeholder:"\u8BF7\u9009\u62E9\u5BF9\u5E94\u7684\u8BFE\u7A0B"},ke==null?void 0:ke.map(function(ce,be){return b.a.createElement(e.a.Option,{key:be,value:ce==null?void 0:ce.id},ce==null?void 0:ce.name)}))))),b.a.createElement(p.a,Object(S.a)({},ut,{onClose:function(){tt(Object(g.a)(Object(g.a)({},ut),{},{type:""}))}})))};T.default=Object(C.a)(function(R){var M=R.user,$=R.globalSetting;return{globalSetting:$,user:M}})(y)},vHTk:function(se,T,s){se.exports={wrp:"wrp___z2l1F",bgBlack:"bgBlack___3ezfX",monaco:"monaco___1ypjT",darkBlue:"darkBlue___2ViJc",close:"close___3q-z4",embed:"embed___3dQqc"}},wCXF:function(se,T,s){"use strict";s.d(T,"a",function(){return He});var S=s("rePB"),j=s("VTBJ"),F=s("KQm4"),H=s("U8pU"),U=s("ODXe"),_=s("q1tI"),k=s("TSYQ"),P=s.n(k),e=s("Gytx"),m=s.n(e),f=s("Kwbf"),c=s("t23M"),r=s("qx4F"),i=s("6eGT"),t=s("IBYe"),o=s("Ff2n"),d=s("c+Xe"),g=s("fyJ8"),u=s("biw7");function l(B,q,ie,oe,ue){var re=ie[B]||{},_e=ie[q]||{},de,le;re.fixed==="left"?de=oe.left[B]:_e.fixed==="right"&&(le=oe.right[q]);var Ie=!1,Oe=!1,Ee=!1,me=!1,xe=ie[q+1],je=ie[B-1];if(ue==="rtl"){if(de!==void 0){var Ve=je&&je.fixed==="left";me=!Ve}else if(le!==void 0){var Fe=xe&&xe.fixed==="right";Ee=!Fe}}else if(de!==void 0){var ke=xe&&xe.fixed==="left";Ie=!ke}else if(le!==void 0){var Se=je&&je.fixed==="right";Oe=!Se}return{fixLeft:de,fixRight:le,lastFixLeft:Ie,firstFixRight:Oe,lastFixRight:Ee,firstFixLeft:me,isSticky:oe.isSticky}}var w=s("sR1s");function A(B){var q=B.cells,ie=B.stickyOffsets,oe=B.flattenColumns,ue=B.rowComponent,re=B.cellComponent,_e=B.onHeaderRow,de=B.index,le=_.useContext(u.a),Ie=le.prefixCls,Oe=le.direction,Ee;_e&&(Ee=_e(q.map(function(xe){return xe.column}),de));var me=Object(w.a)(q.map(function(xe){return xe.column}));return _.createElement(ue,Object.assign({},Ee),q.map(function(xe,je){var Ve=xe.column,Fe=l(xe.colStart,xe.colEnd,oe,ie,Oe),ke;return Ve&&Ve.onHeaderCell&&(ke=xe.column.onHeaderCell(Ve)),_.createElement(g.a,Object.assign({},xe,{ellipsis:Ve.ellipsis,align:Ve.align,component:re,prefixCls:Ie,key:me[je]},Fe,{additionalProps:ke,rowType:"header"}))}))}A.displayName="HeaderRow";var N=A;function O(B){var q=[];function ie(_e,de){var le=arguments.length>2&&arguments[2]!==void 0?arguments[2]:0;q[le]=q[le]||[];var Ie=de,Oe=_e.filter(Boolean).map(function(Ee){var me={key:Ee.key,className:Ee.className||"",children:Ee.title,column:Ee,colStart:Ie},xe=1,je=Ee.children;return je&&je.length>0&&(xe=ie(je,Ie,le+1).reduce(function(Ve,Fe){return Ve+Fe},0),me.hasSubColumns=!0),"colSpan"in Ee&&(xe=Ee.colSpan),"rowSpan"in Ee&&(me.rowSpan=Ee.rowSpan),me.colSpan=xe,me.colEnd=me.colStart+xe-1,q[le].push(me),Ie+=xe,xe});return Oe}ie(B,0);for(var oe=q.length,ue=function(de){q[de].forEach(function(le){!("rowSpan"in le)&&!le.hasSubColumns&&(le.rowSpan=oe-de)})},re=0;re<oe;re+=1)ue(re);return q}function L(B){var q=B.stickyOffsets,ie=B.columns,oe=B.flattenColumns,ue=B.onHeaderRow,re=_.useContext(u.a),_e=re.prefixCls,de=re.getComponent,le=_.useMemo(function(){return O(ie)},[ie]),Ie=de(["header","wrapper"],"thead"),Oe=de(["header","row"],"tr"),Ee=de(["header","cell"],"th");return _.createElement(Ie,{className:"".concat(_e,"-thead")},le.map(function(me,xe){var je=_.createElement(N,{key:xe,flattenColumns:oe,cells:me,stickyOffsets:q,rowComponent:Oe,cellComponent:Ee,onHeaderRow:ue,index:xe});return je}))}var b=L,D=s("hW8S");function K(B){for(var q=B.colWidths,ie=B.columns,oe=B.columCount,ue=[],re=oe||ie.length,_e=!1,de=re-1;de>=0;de-=1){var le=q[de],Ie=ie&&ie[de],Oe=Ie&&Ie[D.a];(le||Oe||_e)&&(ue.unshift(_.createElement("col",Object.assign({key:de,style:{width:le,minWidth:le}},Oe))),_e=!0)}return _.createElement("colgroup",null,ue)}var W=K;function C(B,q){return Object(_.useMemo)(function(){for(var ie=[],oe=0;oe<q;oe+=1){var ue=B[oe];if(ue!==void 0)ie[oe]=ue;else return null}return ie},[B.join("_"),q])}var E=_.forwardRef(function(B,q){var ie=B.noData,oe=B.columns,ue=B.flattenColumns,re=B.colWidths,_e=B.columCount,de=B.stickyOffsets,le=B.direction,Ie=B.fixHeader,Oe=B.offsetHeader,Ee=B.stickyClassName,me=B.onScroll,xe=Object(o.a)(B,["noData","columns","flattenColumns","colWidths","columCount","stickyOffsets","direction","fixHeader","offsetHeader","stickyClassName","onScroll"]),je=_.useContext(u.a),Ve=je.prefixCls,Fe=je.scrollbarSize,ke=je.isSticky,Se=ke&&!Ie?0:Fe,at=_.useRef(null),st=_.useCallback(function(ze){Object(d.b)(q,ze),Object(d.b)(at,ze)},[]);_.useEffect(function(){var ze;function $e(Ce){var Qe=Ce.currentTarget,fe=Ce.deltaX;fe&&(me({currentTarget:Qe,scrollLeft:Qe.scrollLeft+fe}),Ce.preventDefault())}return(ze=at.current)===null||ze===void 0||ze.addEventListener("wheel",$e),function(){var Ce;(Ce=at.current)===null||Ce===void 0||Ce.removeEventListener("wheel",$e)}},[]);var lt=ue[ue.length-1],ot={fixed:lt?lt.fixed:null,onHeaderCell:function(){return{className:"".concat(Ve,"-cell-scrollbar")}}},ht=Object(_.useMemo)(function(){return Se?[].concat(Object(F.a)(oe),[ot]):oe},[Se,oe]),Be=Object(_.useMemo)(function(){return Se?[].concat(Object(F.a)(ue),[ot]):ue},[Se,ue]),ut=Object(_.useMemo)(function(){var ze=de.right,$e=de.left;return Object(j.a)(Object(j.a)({},de),{},{left:le==="rtl"?[].concat(Object(F.a)($e.map(function(Ce){return Ce+Se})),[0]):$e,right:le==="rtl"?ze:[].concat(Object(F.a)(ze.map(function(Ce){return Ce+Se})),[0]),isSticky:ke})},[Se,de,ke]),tt=C(re,_e);return _.createElement("div",{style:Object(j.a)({overflow:"hidden"},ke?{top:Oe}:{}),ref:st,className:P()("".concat(Ve,"-header"),Object(S.a)({},Ee,!!Ee))},_.createElement("table",{style:{tableLayout:"fixed",visibility:ie||tt?null:"hidden"}},_.createElement(W,{colWidths:tt?[].concat(Object(F.a)(tt),[Se]):[],columCount:_e+1,columns:Be}),_.createElement(b,Object.assign({},xe,{stickyOffsets:ut,columns:ht,flattenColumns:Be}))))});E.displayName="FixedHeader";var v=E,z=_.createContext(null),x=z;function a(B){var q=B.prefixCls,ie=B.children,oe=B.component,ue=B.cellComponent,re=B.fixHeader,_e=B.fixColumn,de=B.horizonScroll,le=B.className,Ie=B.expanded,Oe=B.componentWidth,Ee=B.colSpan,me=_.useContext(u.a),xe=me.scrollbarSize;return _.useMemo(function(){var je=ie;return _e&&(je=_.createElement("div",{style:{width:Oe-(re?xe:0),position:"sticky",left:0,overflow:"hidden"},className:"".concat(q,"-expanded-row-fixed")},je)),_.createElement(oe,{className:le,style:{display:Ie?null:"none"}},_.createElement(g.a,{component:ue,prefixCls:q,colSpan:Ee},je))},[ie,oe,re,de,le,Ie,Oe,Ee,xe])}var h=a;function p(B){var q=B.className,ie=B.style,oe=B.record,ue=B.index,re=B.rowKey,_e=B.getRowKey,de=B.rowExpandable,le=B.expandedKeys,Ie=B.onRow,Oe=B.indent,Ee=Oe===void 0?0:Oe,me=B.rowComponent,xe=B.cellComponent,je=B.childrenColumnName,Ve=_.useContext(u.a),Fe=Ve.prefixCls,ke=Ve.fixedInfoList,Se=_.useContext(x),at=Se.fixHeader,st=Se.fixColumn,lt=Se.horizonScroll,ot=Se.componentWidth,ht=Se.flattenColumns,Be=Se.expandableType,ut=Se.expandRowByClick,tt=Se.onTriggerExpand,ze=Se.rowClassName,$e=Se.expandedRowClassName,Ce=Se.indentSize,Qe=Se.expandIcon,fe=Se.expandedRowRender,ge=Se.expandIconColumnIndex,we=_.useState(!1),Ze=Object(U.a)(we,2),ce=Ze[0],be=Ze[1],Te=le&&le.has(B.recordKey);_.useEffect(function(){Te&&be(!0)},[Te]);var Me=Be==="row"&&(!de||de(oe)),ye=Be==="nest",pe=je&&oe&&oe[je],Je=Me||ye,De;Ie&&(De=Ie(oe,ue));var nt=function(et){if(ut&&Je&&tt(oe,et),De&&De.onClick){for(var Et,_t=arguments.length,wt=new Array(_t>1?_t-1:0),Rt=1;Rt<_t;Rt++)wt[Rt-1]=arguments[Rt];(Et=De).onClick.apply(Et,[et].concat(wt))}},rt;typeof ze=="string"?rt=ze:typeof ze=="function"&&(rt=ze(oe,ue,Ee));var bt=Object(w.a)(ht),pt=_.createElement(me,Object.assign({},De,{"data-row-key":re,className:P()(q,"".concat(Fe,"-row"),"".concat(Fe,"-row-level-").concat(Ee),rt,De&&De.className),style:Object(j.a)(Object(j.a)({},ie),De?De.style:null),onClick:nt}),ht.map(function(ft,et){var Et=ft.render,_t=ft.dataIndex,wt=ft.className,Rt=bt[et],Lt=ke[et],At;et===(ge||0)&&ye&&(At=_.createElement(_.Fragment,null,_.createElement("span",{style:{paddingLeft:"".concat(Ce*Ee,"px")},className:"".concat(Fe,"-row-indent indent-level-").concat(Ee)}),Qe({prefixCls:Fe,expanded:Te,expandable:pe,record:oe,onExpand:tt})));var Dt;return ft.onCell&&(Dt=ft.onCell(oe,ue)),_.createElement(g.a,Object.assign({className:wt,ellipsis:ft.ellipsis,align:ft.align,component:xe,prefixCls:Fe,key:Rt,record:oe,index:ue,dataIndex:_t,render:Et,shouldCellUpdate:ft.shouldCellUpdate},Lt,{appendNode:At,additionalProps:Dt}))})),ct;if(Me&&(ce||Te)){var vt=fe(oe,ue,Ee+1,Te),Tt=$e&&$e(oe,ue,Ee);ct=_.createElement(h,{expanded:Te,className:P()("".concat(Fe,"-expanded-row"),"".concat(Fe,"-expanded-row-level-").concat(Ee+1),Tt),prefixCls:Fe,fixHeader:at,fixColumn:st,horizonScroll:lt,component:me,componentWidth:ot,cellComponent:xe,colSpan:ht.length},vt)}var mt;return pe&&Te&&(mt=(oe[je]||[]).map(function(ft,et){var Et=_e(ft,et);return _.createElement(p,Object.assign({},B,{key:Et,rowKey:Et,record:ft,recordKey:Et,index:et,indent:Ee+1}))})),_.createElement(_.Fragment,null,pt,ct,mt)}p.displayName="BodyRow";var n=p,y=_.createContext(null),R=y;function M(B){var q=B.columnKey,ie=B.onColumnResize,oe=_.useRef();return _.useEffect(function(){oe.current&&ie(q,oe.current.offsetWidth)},[]),_.createElement(c.a,{onResize:function(re){var _e=re.offsetWidth;ie(q,_e)}},_.createElement("td",{ref:oe,style:{padding:0,border:0,height:0}},_.createElement("div",{style:{height:0,overflow:"hidden"}},"\xA0")))}function $(B){var q=B.data,ie=B.getRowKey,oe=B.measureColumnWidth,ue=B.expandedKeys,re=B.onRow,_e=B.rowExpandable,de=B.emptyNode,le=B.childrenColumnName,Ie=_.useContext(R),Oe=Ie.onColumnResize,Ee=_.useContext(u.a),me=Ee.prefixCls,xe=Ee.getComponent,je=_.useContext(x),Ve=je.fixHeader,Fe=je.horizonScroll,ke=je.flattenColumns,Se=je.componentWidth;return _.useMemo(function(){var at=xe(["body","wrapper"],"tbody"),st=xe(["body","row"],"tr"),lt=xe(["body","cell"],"td"),ot;q.length?ot=q.map(function(Be,ut){var tt=ie(Be,ut);return _.createElement(n,{key:tt,rowKey:tt,record:Be,recordKey:tt,index:ut,rowComponent:st,cellComponent:lt,expandedKeys:ue,onRow:re,getRowKey:ie,rowExpandable:_e,childrenColumnName:le})}):ot=_.createElement(h,{expanded:!0,className:"".concat(me,"-placeholder"),prefixCls:me,fixHeader:Ve,fixColumn:Fe,horizonScroll:Fe,component:st,componentWidth:Se,cellComponent:lt,colSpan:ke.length},de);var ht=Object(w.a)(ke);return _.createElement(at,{className:"".concat(me,"-tbody")},oe&&_.createElement("tr",{"aria-hidden":"true",className:"".concat(me,"-measure-row"),style:{height:0}},ht.map(function(Be){return _.createElement(M,{key:Be,columnKey:Be,onColumnResize:Oe})})),ot)},[q,me,re,oe,ue,ie,xe,Se,de,ke])}var ne=_.memo($);ne.displayName="Body";var V=ne,Q=s("wRmb"),te=s("xEkU"),ee=s.n(te);function Y(B){var q=Object(_.useRef)(B),ie=Object(_.useState)({}),oe=Object(U.a)(ie,2),ue=oe[1],re=Object(_.useRef)(null),_e=Object(_.useRef)([]);function de(le){re.current===null&&(_e.current=[],re.current=ee()(function(){_e.current.forEach(function(Ie){q.current=Ie(q.current)}),re.current=null,ue({})})),_e.current.push(le)}return Object(_.useEffect)(function(){return function(){ee.a.cancel(re.current)}},[]),[q.current,de]}function X(B){var q=Object(_.useRef)(B),ie=Object(_.useRef)(null);function oe(){window.clearTimeout(ie.current)}function ue(_e){q.current=_e,oe(),ie.current=window.setTimeout(function(){q.current=null,ie.current=null},100)}function re(){return q.current}return Object(_.useEffect)(function(){return oe},[]),[ue,re]}function ae(B,q,ie){var oe=Object(_.useMemo)(function(){for(var ue=[],re=[],_e=0,de=0,le=0;le<q;le+=1)if(ie==="rtl"){re[le]=de,de+=B[le]||0;var Ie=q-le-1;ue[Ie]=_e,_e+=B[Ie]||0}else{ue[le]=_e,_e+=B[le]||0;var Oe=q-le-1;re[Oe]=de,de+=B[Oe]||0}return{left:ue,right:re}},[B,q,ie]);return oe}var Re=ae;function ve(B){var q=B.className,ie=B.children;return _.createElement("div",{className:q},ie)}var Ae=ve,Pe=s("n6Qo");function Ue(B){var q,ie=B.prefixCls,oe=B.record,ue=B.onExpand,re=B.expanded,_e=B.expandable,de="".concat(ie,"-row-expand-icon");if(!_e)return _.createElement("span",{className:P()(de,"".concat(ie,"-row-spaced"))});var le=function(Oe){ue(oe,Oe),Oe.stopPropagation()};return _.createElement("span",{className:P()(de,(q={},Object(S.a)(q,"".concat(ie,"-row-expanded"),re),Object(S.a)(q,"".concat(ie,"-row-collapsed"),!re),q)),onClick:le})}function Le(B,q,ie){var oe=[];function ue(re){(re||[]).forEach(function(_e,de){oe.push(q(_e,de)),ue(_e[ie])})}return ue(B),oe}var Ge=s("zT1h"),I=s("y0+3"),G=function(q,ie){var oe,ue,re=q.scrollBodyRef,_e=q.onScroll,de=q.offsetScroll,le=_.useContext(u.a),Ie=le.prefixCls,Oe=((oe=re.current)===null||oe===void 0?void 0:oe.scrollWidth)||0,Ee=((ue=re.current)===null||ue===void 0?void 0:ue.clientWidth)||0,me=Oe&&Ee*(Ee/Oe),xe=_.useRef(),je=Y({scrollLeft:0,isHiddenScrollBar:!1}),Ve=Object(U.a)(je,2),Fe=Ve[0],ke=Ve[1],Se=_.useRef({delta:0,x:0}),at=_.useState(!1),st=Object(U.a)(at,2),lt=st[0],ot=st[1],ht=function(){ot(!1)},Be=function(Ce){Ce.persist(),Se.current.delta=Ce.pageX-Fe.scrollLeft,Se.current.x=0,ot(!0),Ce.preventDefault()},ut=function(Ce){var Qe,fe=Ce||((Qe=window)===null||Qe===void 0?void 0:Qe.event),ge=fe.buttons;if(!lt||ge===0){lt&&ot(!1);return}var we=Se.current.x+Ce.pageX-Se.current.x-Se.current.delta;we<=0&&(we=0),we+me>=Ee&&(we=Ee-me),_e({scrollLeft:we/Ee*(Oe+2)}),Se.current.x=Ce.pageX},tt=function(){var Ce=Object(I.b)(re.current).top,Qe=Ce+re.current.offsetHeight,fe=document.documentElement.scrollTop+window.innerHeight;Qe-Object(r.a)()<=fe||Ce>=fe-de?ke(function(ge){return Object(j.a)(Object(j.a)({},ge),{},{isHiddenScrollBar:!0})}):ke(function(ge){return Object(j.a)(Object(j.a)({},ge),{},{isHiddenScrollBar:!1})})},ze=function(Ce){ke(function(Qe){return Object(j.a)(Object(j.a)({},Qe),{},{scrollLeft:Ce/Oe*Ee||0})})};return _.useImperativeHandle(ie,function(){return{setScrollLeft:ze}}),_.useEffect(function(){var $e=Object(Ge.a)(document.body,"mouseup",ht,!1),Ce=Object(Ge.a)(document.body,"mousemove",ut,!1);return tt(),function(){$e.remove(),Ce.remove()}},[me,lt]),_.useEffect(function(){var $e=Object(Ge.a)(window,"scroll",tt,!1),Ce=Object(Ge.a)(window,"resize",tt,!1);return function(){$e.remove(),Ce.remove()}},[]),_.useEffect(function(){Fe.isHiddenScrollBar||ke(function($e){var Ce,Qe;return Object(j.a)(Object(j.a)({},$e),{},{scrollLeft:re.current.scrollLeft/((Ce=re.current)===null||Ce===void 0?void 0:Ce.scrollWidth)*((Qe=re.current)===null||Qe===void 0?void 0:Qe.clientWidth)})})},[Fe.isHiddenScrollBar]),Oe<=Ee||!me||Fe.isHiddenScrollBar?null:_.createElement("div",{style:{height:Object(r.a)(),width:Ee,bottom:de},className:"".concat(Ie,"-sticky-scroll")},_.createElement("div",{onMouseDown:Be,ref:xe,className:P()("".concat(Ie,"-sticky-scroll-bar"),Object(S.a)({},"".concat(Ie,"-sticky-scroll-bar-active"),lt)),style:{width:"".concat(me,"px"),transform:"translate3d(".concat(Fe.scrollLeft,"px, 0, 0)")}}))},J=_.forwardRef(G);function Z(B,q){return _.useMemo(function(){var ie=!!B;return{isSticky:ie,stickyClassName:ie?"".concat(q,"-sticky-header"):"",offsetHeader:Object(H.a)(B)==="object"&&B.offsetHeader||0,offsetScroll:Object(H.a)(B)==="object"&&B.offsetScroll||0}},[B,q])}var he=[],Ne={},He="rc-table-internal-hook",Ye=_.memo(function(B){var q=B.children;return q},function(B,q){return m()(B.props,q.props)?B.pingLeft!==q.pingLeft||B.pingRight!==q.pingRight:!1});function Xe(B){var q,ie=B.prefixCls,oe=B.className,ue=B.rowClassName,re=B.style,_e=B.data,de=B.rowKey,le=B.scroll,Ie=B.tableLayout,Oe=B.direction,Ee=B.title,me=B.footer,xe=B.summary,je=B.id,Ve=B.showHeader,Fe=B.components,ke=B.emptyText,Se=B.onRow,at=B.onHeaderRow,st=B.internalHooks,lt=B.transformColumns,ot=B.internalRefs,ht=B.sticky,Be=_e||he,ut=!!Be.length,tt=_.useState(0),ze=Object(U.a)(tt,2),$e=ze[0],Ce=ze[1];_.useEffect(function(){Ce(Object(r.a)())});var Qe=_.useMemo(function(){return Object(w.c)(Fe,{})},[Fe]),fe=_.useCallback(function(We,Ke){return Object(w.b)(Qe,We)||Ke},[Qe]),ge=_.useMemo(function(){return typeof de=="function"?de:function(We){var Ke=We&&We[de];return Ke}},[de]),we=Object(D.c)(B),Ze=we.expandIcon,ce=we.expandedRowKeys,be=we.defaultExpandedRowKeys,Te=we.defaultExpandAllRows,Me=we.expandedRowRender,ye=we.onExpand,pe=we.onExpandedRowsChange,Je=we.expandRowByClick,De=we.rowExpandable,nt=we.expandIconColumnIndex,rt=we.expandedRowClassName,bt=we.childrenColumnName,pt=we.indentSize,ct=Ze||Ue,vt=bt||"children",Tt=_.useMemo(function(){return Me?"row":B.expandable&&st===He&&B.expandable.__PARENT_RENDER_ICON__||Be.some(function(We){return We&&Object(H.a)(We)==="object"&&We[vt]})?"nest":!1},[!!Me,Be]),mt=_.useState(function(){return be||(Te?Le(Be,ge,vt):[])}),ft=Object(U.a)(mt,2),et=ft[0],Et=ft[1],_t=_.useMemo(function(){return new Set(ce||et||[])},[ce,et]),wt=_.useCallback(function(We){var Ke=ge(We,Be.indexOf(We)),dt,gt=_t.has(Ke);gt?(_t.delete(Ke),dt=Object(F.a)(_t)):dt=[].concat(Object(F.a)(_t),[Ke]),Et(dt),ye&&ye(!gt,We),pe&&pe(dt)},[ge,_t,Be,ye,pe]),Rt=_.useState(0),Lt=Object(U.a)(Rt,2),At=Lt[0],Dt=Lt[1],mn=Object(Q.b)(Object(j.a)(Object(j.a)(Object(j.a)({},B),we),{},{expandable:!!Me,expandedKeys:_t,getRowKey:ge,onTriggerExpand:wt,expandIcon:ct,expandIconColumnIndex:nt,direction:Oe}),st===He?lt:null),Jt=Object(U.a)(mn,2),Ht=Jt[0],it=Jt[1],jt=_.useMemo(function(){return{columns:Ht,flattenColumns:it}},[Ht,it]),kt=_.useRef(),Qt=_.useRef(),xt=_.useRef(),gn=_.useState(!1),Zt=Object(U.a)(gn,2),qt=Zt[0],bn=Zt[1],En=_.useState(!1),en=Object(U.a)(En,2),tn=en[0],yn=en[1],vn=Y(new Map),nn=Object(U.a)(vn,2),On=nn[0],Tn=nn[1],wn=Object(w.a)(it),rn=wn.map(function(We){return On.get(We)}),an=_.useMemo(function(){return rn},[rn.join("_")]),Mt=Re(an,it.length,Oe),yt=le&&Object(w.d)(le.y),Ot=le&&Object(w.d)(le.x),Nt=Ot&&it.some(function(We){var Ke=We.fixed;return Ke}),sn=_.useRef(),Pt=Z(ht,ie),St=Pt.isSticky,Rn=Pt.offsetHeader,xn=Pt.offsetScroll,In=Pt.stickyClassName,Wt,Ut,Bt;yt&&(Ut={overflowY:"scroll",maxHeight:le.y}),Ot&&(Wt={overflowX:"auto"},yt||(Ut={overflowY:"hidden"}),Bt={width:le.x===!0?"auto":le.x,minWidth:"100%"});var on=_.useCallback(function(We,Ke){Tn(function(dt){var gt=new Map(dt);return gt.set(We,Ke),gt})},[]),An=X(null),ln=Object(U.a)(An,2),Nn=ln[0],un=ln[1];function Kt(We,Ke){if(!Ke)return;typeof Ke=="function"?Ke(We):Ke.scrollLeft!==We&&(Ke.scrollLeft=We)}var It=function(Ke){var dt=Ke.currentTarget,gt=Ke.scrollLeft,Ct=typeof gt=="number"?gt:dt.scrollLeft,_n=dt||Ne;if(!un()||un()===_n){var Xt;Nn(_n),Kt(Ct,Qt.current),Kt(Ct,xt.current),Kt(Ct,(Xt=sn.current)===null||Xt===void 0?void 0:Xt.setScrollLeft)}if(dt){var Pn=dt.scrollWidth,Un=dt.clientWidth;bn(Ct>0),yn(Ct<Pn-Un)}},Gt=function(){xt.current&&It({currentTarget:xt.current})},Sn=function(Ke){var dt=Ke.width;Gt(),Dt(kt.current?kt.current.offsetWidth:dt)};_.useEffect(function(){return Gt},[]),_.useEffect(function(){Ot&&Gt()},[Ot]),_.useEffect(function(){st===He&&ot&&(ot.body.current=xt.current)});var cn=fe(["table"],"table"),Ft=_.useMemo(function(){return Ie||(Nt?le.x==="max-content"?"auto":"fixed":yt||it.some(function(We){var Ke=We.ellipsis;return Ke})?"fixed":"auto")},[yt,Nt,it,Ie]),zt,Yt={colWidths:an,columCount:it.length,stickyOffsets:Mt,onHeaderRow:at,fixHeader:yt},Cn=_.useMemo(function(){return ut?null:typeof ke=="function"?ke():ke},[ut,ke]),dn=_.createElement(V,{data:Be,measureColumnWidth:yt||Ot||St,expandedKeys:_t,rowExpandable:De,getRowKey:ge,onRow:Se,emptyNode:Cn,childrenColumnName:vt}),hn=_.createElement(W,{colWidths:it.map(function(We){var Ke=We.width;return Ke}),columns:it}),fn=xe&&_.createElement(Pe.b,null,xe(Be)),pn=fe(["body"]);if(yt||St){var Vt;typeof pn=="function"?(Vt=pn(Be,{scrollbarSize:$e,ref:xt,onScroll:It}),Yt.colWidths=it.map(function(We,Ke){var dt=We.width,gt=Ke===Ht.length-1?dt-$e:dt;return typeof gt=="number"&&!Number.isNaN(gt)?gt:(Object(f.a)(!1,"When use `components.body` with render props. Each column should have a fixed value."),0)})):Vt=_.createElement("div",{style:Object(j.a)(Object(j.a)({},Wt),Ut),onScroll:It,ref:xt,className:P()("".concat(ie,"-body"))},_.createElement(cn,{style:Object(j.a)(Object(j.a)({},Bt),{},{tableLayout:Ft})},hn,dn,fn),St&&_.createElement(J,{ref:sn,offsetScroll:xn,scrollBodyRef:xt,onScroll:It})),zt=_.createElement(_.Fragment,null,Ve!==!1&&_.createElement(v,Object.assign({noData:!Be.length},Yt,jt,{direction:Oe,offsetHeader:Rn,stickyClassName:In,ref:Qt,onScroll:It})),Vt)}else zt=_.createElement("div",{style:Object(j.a)(Object(j.a)({},Wt),Ut),className:P()("".concat(ie,"-content")),onScroll:It,ref:xt},_.createElement(cn,{style:Object(j.a)(Object(j.a)({},Bt),{},{tableLayout:Ft})},hn,Ve!==!1&&_.createElement(b,Object.assign({},Yt,jt)),dn,fn));var Ln=Object(D.b)(B),$t=_.createElement("div",Object.assign({className:P()(ie,oe,(q={},Object(S.a)(q,"".concat(ie,"-rtl"),Oe==="rtl"),Object(S.a)(q,"".concat(ie,"-ping-left"),qt),Object(S.a)(q,"".concat(ie,"-ping-right"),tn),Object(S.a)(q,"".concat(ie,"-layout-fixed"),Ie==="fixed"),Object(S.a)(q,"".concat(ie,"-fixed-header"),yt),Object(S.a)(q,"".concat(ie,"-fixed-column"),Nt),Object(S.a)(q,"".concat(ie,"-scroll-horizontal"),Ot),Object(S.a)(q,"".concat(ie,"-has-fix-left"),it[0]&&it[0].fixed),Object(S.a)(q,"".concat(ie,"-has-fix-right"),it[it.length-1]&&it[it.length-1].fixed==="right"),q)),style:re,id:je,ref:kt},Ln),_.createElement(Ye,{pingLeft:qt,pingRight:tn,props:Object(j.a)(Object(j.a)({},B),{},{stickyOffsets:Mt,mergedExpandedKeys:_t})},Ee&&_.createElement(Ae,{className:"".concat(ie,"-title")},Ee(Be)),_.createElement("div",{className:"".concat(ie,"-container")},zt),me&&_.createElement(Ae,{className:"".concat(ie,"-footer")},me(Be))));Ot&&($t=_.createElement(c.a,{onResize:Sn},$t));var Dn=_.useMemo(function(){return{prefixCls:ie,getComponent:fe,scrollbarSize:$e,direction:Oe,fixedInfoList:it.map(function(We,Ke){return l(Ke,Ke,it,Mt,Oe)}),isSticky:St}},[ie,fe,$e,Oe,it,Mt,Oe,St]),jn=_.useMemo(function(){return Object(j.a)(Object(j.a)({},jt),{},{tableLayout:Ft,rowClassName:ue,expandedRowClassName:rt,componentWidth:At,fixHeader:yt,fixColumn:Nt,horizonScroll:Ot,expandIcon:ct,expandableType:Tt,expandRowByClick:Je,expandedRowRender:Me,onTriggerExpand:wt,expandIconColumnIndex:nt,indentSize:pt})},[jt,Ft,ue,rt,At,yt,Nt,Ot,ct,Tt,Je,Me,wt,nt,pt]),Mn=_.useMemo(function(){return{onColumnResize:on}},[on]);return _.createElement(u.a.Provider,{value:Dn},_.createElement(x.Provider,{value:jn},_.createElement(R.Provider,{value:Mn},$t)))}Xe.Column=t.a,Xe.ColumnGroup=i.a,Xe.Summary=Pe.a,Xe.defaultProps={rowKey:"key",prefixCls:"rc-table",emptyText:function(){return"No Data"}};var qe=T.b=Xe},wRmb:function(se,T,s){"use strict";s.d(T,"a",function(){return m});var S=s("rePB"),j=s("KQm4"),F=s("VTBJ"),H=s("Ff2n"),U=s("q1tI"),_=s.n(U),k=s("Kwbf"),P=s("Zm9Q"),e=s("hW8S");function m(t){return Object(P.a)(t).filter(function(o){return U.isValidElement(o)}).map(function(o){var d=o.key,g=o.props,u=g.children,l=Object(H.a)(g,["children"]),w=Object(F.a)({key:d},l);return u&&(w.children=m(u)),w})}function f(t){return t.reduce(function(o,d){var g=d.fixed,u=g===!0?"left":g,l=d.children;return l&&l.length>0?[].concat(Object(j.a)(o),Object(j.a)(f(l).map(function(w){return Object(F.a)({fixed:u},w)}))):[].concat(Object(j.a)(o),[Object(F.a)(Object(F.a)({},d),{},{fixed:u})])},[])}function c(t){for(var o=!0,d=0;d<t.length;d+=1){var g=t[d];if(o&&g.fixed!=="left")o=!1;else if(!o&&g.fixed==="left"){Object(k.a)(!1,"Index ".concat(d-1," of `columns` missing `fixed='left'` prop."));break}}for(var u=!0,l=t.length-1;l>=0;l-=1){var w=t[l];if(u&&w.fixed!=="right")u=!1;else if(!u&&w.fixed==="right"){Object(k.a)(!1,"Index ".concat(l+1," of `columns` missing `fixed='right'` prop."));break}}}function r(t){return t.map(function(o){var d=o.fixed,g=Object(H.a)(o,["fixed"]),u=d;return d==="left"?u="right":d==="right"&&(u="left"),Object(F.a)({fixed:u},g)})}function i(t,o){var d=t.prefixCls,g=t.columns,u=t.children,l=t.expandable,w=t.expandedKeys,A=t.getRowKey,N=t.onTriggerExpand,O=t.expandIcon,L=t.rowExpandable,b=t.expandIconColumnIndex,D=t.direction,K=t.expandRowByClick,W=U.useMemo(function(){return g||m(u)},[g,u]),C=U.useMemo(function(){if(l){var z,x=b||0,a=W[x],h=(z={},Object(S.a)(z,e.a,{className:"".concat(d,"-expand-icon-col")}),Object(S.a)(z,"title",""),Object(S.a)(z,"fixed",a?a.fixed:null),Object(S.a)(z,"className","".concat(d,"-row-expand-icon-cell")),Object(S.a)(z,"render",function(y,R,M){var $=A(R,M),ne=w.has($),V=L?L(R):!0,Q=O({prefixCls:d,expanded:ne,expandable:V,record:R,onExpand:N});return K?U.createElement("span",{onClick:function(ee){return ee.stopPropagation()}},Q):Q}),z),p=W.slice();return x>=0&&p.splice(x,0,h),p}return W},[l,W,A,w,O,D]),E=U.useMemo(function(){var z=C;return o&&(z=o(z)),z.length||(z=[{render:function(){return null}}]),z},[o,C,D]),v=U.useMemo(function(){return D==="rtl"?r(f(E)):f(E)},[E,D]);return[E,v]}T.b=i},"y0+3":function(se,T,s){"use strict";s.d(T,"a",function(){return f}),s.d(T,"b",function(){return r});var S=/margin|padding|width|height|max|min|offset/,j={left:!0,top:!0},F={cssFloat:1,styleFloat:1,float:1};function H(i){return i.nodeType===1?i.ownerDocument.defaultView.getComputedStyle(i,null):{}}function U(i,t,o){if(t=t.toLowerCase(),o==="auto"){if(t==="height")return i.offsetHeight;if(t==="width")return i.offsetWidth}return t in j||(j[t]=S.test(t)),j[t]?parseFloat(o)||0:o}function _(i,t){var o=arguments.length,d=H(i);return t=F[t]?"cssFloat"in i.style?"cssFloat":"styleFloat":t,o===1?d:U(i,t,d[t]||i.style[t])}function k(i,t,o){var d=arguments.length;if(t=F[t]?"cssFloat"in i.style?"cssFloat":"styleFloat":t,d===3)return typeof o=="number"&&S.test(t)&&(o="".concat(o,"px")),i.style[t]=o,o;for(var g in t)t.hasOwnProperty(g)&&k(i,g,t[g]);return H(i)}function P(i){return i===document.body?document.documentElement.clientWidth:i.offsetWidth}function e(i){return i===document.body?window.innerHeight||document.documentElement.clientHeight:i.offsetHeight}function m(){var i=Math.max(document.documentElement.scrollWidth,document.body.scrollWidth),t=Math.max(document.documentElement.scrollHeight,document.body.scrollHeight);return{width:i,height:t}}function f(){var i=document.documentElement.clientWidth,t=window.innerHeight||document.documentElement.clientHeight;return{width:i,height:t}}function c(){return{scrollLeft:Math.max(document.documentElement.scrollLeft,document.body.scrollLeft),scrollTop:Math.max(document.documentElement.scrollTop,document.body.scrollTop)}}function r(i){var t=i.getBoundingClientRect(),o=document.documentElement;return{left:t.left+(window.pageXOffset||o.scrollLeft)-(o.clientLeft||document.body.clientLeft||0),top:t.top+(window.pageYOffset||o.scrollTop)-(o.clientTop||document.body.clientTop||0)}}}}]);
|