(window.webpackJsonp=window.webpackJsonp||[]).push([["chunk-1e2736cd"],{"36c6f":function(t,e,n){(function(t){var i,r;function s(t){var e;return(r[t]||(e=r[t]={exports:{}},i[t](e,e.exports,s),e)).exports}n.d(e,"a",(function(){return o})),i={470:e=>{function n(t){if("string"!=typeof t)throw new TypeError("Path must be a string. Received "+JSON.stringify(t))}function i(t,e){for(var n,i="",r=0,s=-1,o=0,_=0;_<=t.length;++_){if(_{var r;i.r(n),i.d(n,{URI:()=>l,Utils:()=>T}),"object"==typeof t?r="win32"===t.platform:"object"==typeof navigator&&(r=0<=navigator.userAgent.indexOf("Windows")),s=function(t,e){return(s=Object.setPrototypeOf||({__proto__:[]}instanceof Array?function(t,e){t.__proto__=e}:function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])}))(t,e)};var s,o,_,a=/^\w[\w\d+.-]*$/,h=/^\//,u=/^\/\//,p="/",c=/^(([^:/?#]+?):)?(\/\/([^/?#]*))?([^?#]*)(\?([^#]*))?(#(.*))?/,l=(v.isUri=function(t){return t instanceof v||!!t&&"string"==typeof t.authority&&"string"==typeof t.fragment&&"string"==typeof t.path&&"string"==typeof t.query&&"string"==typeof t.scheme&&"function"==typeof t.fsPath&&"function"==typeof t.with&&"function"==typeof t.toString},Object.defineProperty(v.prototype,"fsPath",{get:function(){return x(this,!1)},enumerable:!1,configurable:!0}),v.prototype.with=function(t){var e,n,i,r;return t&&(void 0===(e=t.scheme)?e=this.scheme:null===e&&(e=""),void 0===(n=t.authority)?n=this.authority:null===n&&(n=""),void 0===(i=t.path)?i=this.path:null===i&&(i=""),void 0===(r=t.query)?r=this.query:null===r&&(r=""),void 0===(t=t.fragment)?t=this.fragment:null===t&&(t=""),e!==this.scheme||n!==this.authority||i!==this.path||r!==this.query||t!==this.fragment)?new g(e,n,i,r,t):this},v.parse=function(t,e){return void 0===e&&(e=!1),t=c.exec(t),t?new g(t[2]||"",E(t[4]||""),E(t[5]||""),E(t[7]||""),E(t[9]||""),e):new g("","","","","")},v.file=function(t){var e,n="";return(t=r?t.replace(/\\/g,p):t)[0]===p&&t[1]===p&&(t=-1===(e=t.indexOf(p,2))?(n=t.substring(2),p):(n=t.substring(2,e),t.substring(e)||p)),new g("file",n,t,"","")},v.from=function(t){return new g(t.scheme,t.authority,t.path,t.query,t.fragment)},v.prototype.toString=function(t){return k(this,t=void 0!==t&&t)},v.prototype.toJSON=function(){return this},v.revive=function(t){var e;return t&&(t instanceof v?t:((e=new g(t))._formatted=t.external,e._fsPath=t._sep===d?t.fsPath:null,e))},v),d=r?1:void 0,g=(s(_=m,n=o=l),_.prototype=null===n?Object.create(n):(y.prototype=n.prototype,new y),Object.defineProperty(m.prototype,"fsPath",{get:function(){return this._fsPath||(this._fsPath=x(this,!1)),this._fsPath},enumerable:!1,configurable:!0}),m.prototype.toString=function(t){return(t=void 0!==t&&t)?k(this,!0):(this._formatted||(this._formatted=k(this,!1)),this._formatted)},m.prototype.toJSON=function(){var t={$mid:1};return this._fsPath&&(t.fsPath=this._fsPath,t._sep=d),this._formatted&&(t.external=this._formatted),this.path&&(t.path=this.path),this.scheme&&(t.scheme=this.scheme),this.authority&&(t.authority=this.authority),this.query&&(t.query=this.query),this.fragment&&(t.fragment=this.fragment),t},m),f=((n={})[58]="%3A",n[47]="%2F",n[63]="%3F",n[35]="%23",n[91]="%5B",n[93]="%5D",n[64]="%40",n[33]="%21",n[36]="%24",n[38]="%26",n[39]="%27",n[40]="%28",n[41]="%29",n[42]="%2A",n[43]="%2B",n[44]="%2C",n[59]="%3B",n[61]="%3D",n[32]="%20",n);function m(){var t=null!==o&&o.apply(this,arguments)||this;return t._formatted=null,t._fsPath=null,t}function y(){this.constructor=_}function v(t,e,n,i,r,s){if(void 0===s&&(s=!1),"object"==typeof t)this.scheme=t.scheme||"",this.authority=t.authority||"",this.path=t.path||"",this.query=t.query||"",this.fragment=t.fragment||"";else{if(this.scheme=t||s?t:"file",this.authority=e||"",this.path=((t,e)=>{switch(t){case"https":case"http":case"file":e?e[0]!==p&&(e=p+e):e=p}return e})(this.scheme,n||""),this.query=i||"",this.fragment=r||"",t=this,e=s,!t.scheme&&e)throw new Error('[UriError]: Scheme is missing: {scheme: "", authority: "'+t.authority+'", path: "'+t.path+'", query: "'+t.query+'", fragment: "'+t.fragment+'"}');if(t.scheme&&!a.test(t.scheme))throw new Error("[UriError]: Scheme contains illegal characters.");if(t.path)if(t.authority){if(!h.test(t.path))throw new Error('[UriError]: If a URI contains an authority component, then the path component must either be empty or begin with a slash ("/") character')}else if(u.test(t.path))throw new Error('[UriError]: If a URI does not contain an authority component, then the path cannot begin with two slash characters ("//")')}}function w(t,e){for(var n=void 0,i=-1,r=0;r{for(var n in e)s.o(e,n)&&!s.o(t,n)&&Object.defineProperty(t,n,{enumerable:!0,get:e[n]})},s.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),s.r=t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})};let o=s(447).URI}).call(this,n("f28c"))},fa5b:function(t,e,n){n.r(e),n.d(e,"setupMode1",(function(){return Xt})),n.d(e,"setupMode",(function(){return Ht}));var i,r,s,o,_,a,h,u,p,c,l,d,g,f,m=n("3502"),y=(v.prototype._stopWorker=function(){this._worker&&(this._worker.dispose(),this._worker=null),this._client=null},v.prototype.dispose=function(){clearInterval(this._idleCheckInterval),this._configChangeListener.dispose(),this._stopWorker()},v.prototype._checkIfIdle=function(){this._worker&&12e4n.line||e.line===n.line&&e.character>n.character?{start:n,end:e}:t}Object.defineProperty(Z.prototype,"edit",{get:function(){return this.initDocumentChanges(),void 0!==this._changeAnnotations&&(0===this._changeAnnotations.size?this._workspaceEdit.changeAnnotations=void 0:this._workspaceEdit.changeAnnotations=this._changeAnnotations.all()),this._workspaceEdit},enumerable:!1,configurable:!0}),Z.prototype.getTextEditChange=function(t){if(x.is(t)){if(this.initDocumentChanges(),void 0===this._workspaceEdit.documentChanges)throw new Error("Workspace edit is not configured for document changes.");var e={uri:t.uri,version:t.version};(n=this._textEditChanges[e.uri])||(this._workspaceEdit.documentChanges.push({textDocument:e,edits:i=[]}),n=new w(i,this._changeAnnotations),this._textEditChanges[e.uri]=n)}else{if(this.initChanges(),void 0===this._workspaceEdit.changes)throw new Error("Workspace edit is not configured for normal text edit changes.");var n,i;(n=this._textEditChanges[t])||(this._workspaceEdit.changes[t]=i=[],n=new w(i),this._textEditChanges[t]=n)}return n},Z.prototype.initDocumentChanges=function(){void 0===this._workspaceEdit.documentChanges&&void 0===this._workspaceEdit.changes&&(this._changeAnnotations=new Q,this._workspaceEdit.documentChanges=[],this._workspaceEdit.changeAnnotations=this._changeAnnotations.all())},Z.prototype.initChanges=function(){void 0===this._workspaceEdit.documentChanges&&void 0===this._workspaceEdit.changes&&(this._workspaceEdit.changes=Object.create(null))},Z.prototype.createFile=function(t,e,n){if(this.initDocumentChanges(),void 0===this._workspaceEdit.documentChanges)throw new Error("Workspace edit is not configured for document changes.");var i,r;if(u.is(e)||p.is(e)?i=e:n=e,e=void 0===i?d.create(t,n):(r=p.is(i)?i:this._changeAnnotations.manage(i),d.create(t,n,r)),this._workspaceEdit.documentChanges.push(e),void 0!==r)return r},Z.prototype.renameFile=function(t,e,n,i){if(this.initDocumentChanges(),void 0===this._workspaceEdit.documentChanges)throw new Error("Workspace edit is not configured for document changes.");var r,s;if(u.is(n)||p.is(n)?r=n:i=n,n=void 0===r?g.create(t,e,i):(s=p.is(r)?r:this._changeAnnotations.manage(r),g.create(t,e,i,s)),this._workspaceEdit.documentChanges.push(n),void 0!==s)return s},Z.prototype.deleteFile=function(t,e,n){if(this.initDocumentChanges(),void 0===this._workspaceEdit.documentChanges)throw new Error("Workspace edit is not configured for document changes.");var i,r;if(u.is(e)||p.is(e)?i=e:n=e,e=void 0===i?f.create(t,n):(r=p.is(i)?i:this._changeAnnotations.manage(i),f.create(t,n,r)),this._workspaceEdit.documentChanges.push(e),void 0!==r)return r},(W=x=x||{}).create=function(t,e){return{uri:t,version:e}},W.is=function(t){return V.defined(t)&&V.string(t.uri)&&(null===t.version||V.integer(t.version))},(K=k=k||{}).PlainText="plaintext",K.Markdown="markdown",(A=k=k||{}).is=function(t){return t===A.PlainText||t===A.Markdown},(E||(E={})).is=function(t){var e=t;return V.objectLiteral(t)&&k.is(e.kind)&&V.string(e.value)},(e=C=C||{}).Text=1,e.Method=2,e.Function=3,e.Constructor=4,e.Field=5,e.Variable=6,e.Class=7,e.Interface=8,e.Module=9,e.Property=10,e.Unit=11,e.Value=12,e.Enum=13,e.Keyword=14,e.Snippet=15,e.Color=16,e.File=17,e.Reference=18,e.Folder=19,e.EnumMember=20,e.Constant=21,e.Struct=22,e.Event=23,e.Operator=24,e.TypeParameter=25,($=T=T||{}).PlainText=1,$.Snippet=2,(H||{}).create=function(t){return{label:t}},(O||{}).create=function(t,e){return{items:t||[],isIncomplete:!!e}},(I=S=S||{}).fromPlainText=function(t){return t.replace(/[\\`*_{}[\]()#+\-.!]/g,"\\$&")},I.is=function(t){return V.string(t)||V.objectLiteral(t)&&V.string(t.language)&&V.string(t.value)},(j||{}).is=function(t){var e=t;return!!e&&V.objectLiteral(e)&&(E.is(e.contents)||S.is(e.contents)||V.typedArray(e.contents,S.is))&&(void 0===t.range||s.is(t.range))},(P||{}).create=function(t,e){return e?{label:t,documentation:e}:{label:t}},(L||{}).create=function(t,e){for(var n=[],i=2;it?i=s:n=s+1}var o=n-1;return r.create(o,t-e[o])},Y.prototype.offsetAt=function(t){var e,n=this.getLineOffsets();return t.line>=n.length?this._content.length:t.line<0?0:(e=n[t.line],n=t.line+1t?i=r:n=r+1}var s=n-1;return{line:s,character:t-e[s]}},tt.prototype.offsetAt=function(t){var e,n=this.getLineOffsets();return t.line>=n.length?this._content.length:t.line<0?0:(e=n[t.line],n=t.line+1this.source.length)return!1;for(e=0;e".charCodeAt(0),"/".charCodeAt(0),"=".charCodeAt(0),'"'.charCodeAt(0),"'".charCodeAt(0);var rt="\n".charCodeAt(0),st="\r".charCodeAt(0),ot="\f".charCodeAt(0),_t=" ".charCodeAt(0),at="\t".charCodeAt(0);function ht(t,e){var n=0,i=t.length;if(0===i)return 0;for(;ne.start)return te.start&&t<=e.end)?e.findNodeAt(t):this};function pt(t,e){if(!(t.lengthr[0]&&a[1](t=yt[t])&&("string"==typeof t?t===e:-1!==t.indexOf(e)))(t.tag,t.attribute)&&this.atributeCompletions.push(t)},gt.prototype.computeCompletions=function(t,e){return lt(this,void 0,void 0,(function(){var n,i,r,o,_,a,h,u,p;return dt(this,(function(c){switch(c.label){case 0:n={items:[],isIncomplete:!1},i=0,r=this.atributeCompletions,c.label=1;case 1:if(!(i!(pt(t,"http")||pt(t,"https")||pt(t,"//")))(_=pt(l,"'")||pt(l,'"')?l.slice(1,-1):l)){if("."!==_&&".."!==_)return[3,2];n.isIncomplete=!0}return[3,4];case 2:return a=((t,e,n)=>{var i;return t=t.lastIndexOf("/"),-1===t?((t,e,n)=>(e=mt(t.start,e),t=mt(t.end,n),s.create(e,t)))(n,1,-1):(e=e.slice(t+1),t=mt(n.end,-1-e.length),e=e.indexOf(" "),i=void 0,i=-1!==e?mt(t,e):mt(n.end,-1),s.create(t,i))})(o.value,_,o.range),[4,this.providePathSuggestions(o.value,a,t,e)];case 3:for(a=c.sent(),h=0,u=a;hthis.__parent.wrap_line_length&&this.__wrap_point_character_count>this.__parent.next_line.__character_count},e.prototype._allow_wrap=function(){var t;return!!this._should_wrap()&&(this.__parent.add_new_line(),(t=this.__parent.current_line).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),!0)},e.prototype.is_empty=function(){return 0===this.__items.length},e.prototype.last=function(){return this.is_empty()?null:this.__items[this.__items.length-1]},e.prototype.push=function(t){this.__items.push(t);var e=t.lastIndexOf("\n");-1!==e?this.__character_count=t.length-e:this.__character_count+=t.length},e.prototype.pop=function(){var t=null;return this.is_empty()||(t=this.__items.pop(),this.__character_count-=t.length),t},e.prototype._remove_indent=function(){0=this.__cache.length;)this.__add_column()},n.prototype.__add_column=function(){var t,e=this.__cache.length,n="";this.__indent_size&&e>=this.__indent_size&&(e-=(t=Math.floor(e/this.__indent_size))*this.__indent_size,n=new Array(t+1).join(this.__indent_string)),e&&(n+=new Array(e+1).join(" ")),this.__cache.push(n)},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,e){return this.__indent_cache.get_indent_string(t,e)},i.prototype.get_indent_size=function(t,e){return this.__indent_cache.get_indent_size(t,e)},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()||(this.raw||this.__add_outputline(),0))},i.prototype.get_code=function(t){this.trim(!0);var e=this.current_line.pop();e&&("\n"===e[e.length-1]&&(e=e.replace(/\n+$/g,"")),this.current_line.push(e)),this._end_with_newline&&this.__add_outputline(),e=this.__lines.join("\n");return"\n"!==t?e.replace(/[\n]/g,t):e},i.prototype.set_wrap_point=function(){this.current_line._set_wrap_point()},i.prototype.set_indent=function(t,e){return this.next_line.set_indent(t=t||0,e=e||0),1=t.length&&this.__input.substring(e-t.length,e).toLowerCase()===t},t.exports.InputScanner=n},,,,,function(t){function e(t,e){t="string"==typeof t?t:t.source,e="string"==typeof e?e:e.source,this.__directives_block_pattern=new RegExp(t+/ beautify( \w+[:]\w+)+ /.source+e,"g"),this.__directive_pattern=/ (\w+)[:](\w+)/g,this.__directives_end_ignore_pattern=new RegExp(t+/\sbeautify\signore:end\s/.source+e,"g")}e.prototype.get_directives=function(t){if(!t.match(this.__directives_block_pattern))return null;for(var e={},n=(this.__directive_pattern.lastIndex=0,this.__directive_pattern.exec(t));n;)e[n[1]]=n[2],n=this.__directive_pattern.exec(t);return e},e.prototype.readIgnored=function(t){return t.readUntilAfter(this.__directives_end_ignore_pattern)},t.exports.Directives=e},,function(t,e,n){var i=n(16).Beautifier,r=n(17).Options;t.exports=function(t,e){return new i(t,e).beautify()},t.exports.defaultOptions=function(){return new r}},function(t,e,n){var i=n(17).Options,r=n(2).Output,s=n(8).InputScanner,o=new(n(13).Directives)(/\/\*/,/\*\//),_=/\r\n|[\r\n]/,a=/\r\n|[\r\n]/g,h=/\s/,u=/(?:\s|\n)+/g,p=/\/\*(?:[\s\S]*?)((?:\*\/)|$)/g,c=/\/\/(?:[^\n\r\u2028\u2029]*)/g;function l(t,e){this._source_text=t||"",this._options=new i(e),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}}l.prototype.eatString=function(t){var e="";for(this._ch=this._input.next();this._ch;){if(e+=this._ch,"\\"===this._ch)e+=this._input.next();else if(-1!==t.indexOf(this._ch)||"\n"===this._ch)break;this._ch=this._input.next()}return e},l.prototype.eatWhitespace=function(t){for(var e=h.test(this._input.peek()),n=0;h.test(this._input.peek());)this._ch=this._input.next(),t&&"\n"===this._ch&&(0===n||n=this._nestedLevel):this._indentLevel>=this._nestedLevel-1,this._options.newline_between_rules&&m&&this._output.previous_line&&"{"!==this._output.previous_line.item(-1)&&this._output.ensure_empty_line_above("/",","),this._output.space_before_token=!0,"expand"===this._options.brace_style?(this._output.add_new_line(),this.print_string(this._ch),this.indent(),this._output.set_indent(this._indentLevel)):(this.indent(),this.print_string(this._ch)),this.eatWhitespace(!0),this._output.add_new_line()):"}"===this._ch?(this.outdent(),this._output.add_new_line(),"{"===e&&this._output.trim(!0),w=b=!1,y&&(this.outdent(),y=!1),this.print_string(this._ch),m=!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._ch?!m&&!v||this._input.lookBack("&")||this.foundNestedPseudoClass()||this._input.lookBack("(")||w||0!==f?(this._input.lookBack(" ")&&(this._output.space_before_token=!0),":"===this._input.peek()?(this._ch=this._input.next(),this.print_string("::")):this.print_string(":")):(this.print_string(":"),y||(this._output.space_before_token=y=!0,this.eatWhitespace(!0),this.indent())):'"'===this._ch||"'"===this._ch?(this.preserveSingleSpace(t),this.print_string(this._ch+this.eatString(this._ch)),this.eatWhitespace(!0)):";"===this._ch?0===f?(y&&(this.outdent(),y=!1),b=w=!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):"("===this._ch?this._input.lookBack("url")?(this.print_string(this._ch),this.eatWhitespace(),f++,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(")")),f)&&(f--,this.outdent())):(this.preserveSingleSpace(t),this.print_string(this._ch),this.eatWhitespace(),f++,this.indent()):")"===this._ch?(f&&(f--,this.outdent()),this.print_string(this._ch)):","===this._ch?(this.print_string(this._ch),this.eatWhitespace(!0),!this._options.selector_separator_newline||y||0!==f||b||w?this._output.space_before_token=!0:this._output.add_new_line()):">"!==this._ch&&"+"!==this._ch&&"~"!==this._ch||y||0!==f?"]"===this._ch?this.print_string(this._ch):"["===this._ch?(this.preserveSingleSpace(t),this.print_string(this._ch)):"="===this._ch?(this.eatWhitespace(),this.print_string("="),h.test(this._ch)&&(this._ch="")):("!"!==this._ch||this._input.lookBack("\\")?this.preserveSingleSpace(t):this.print_string(" "),this.print_string(this._ch)):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&&h.test(this._ch)&&(this._ch=""));return this._output.get_code(d)},t.exports.Beautifier=l},function(t,e,n){var i=n(6).Options;function r(t){i.call(this,t,"css"),this.selector_separator_newline=this._get_boolean("selector_separator_newline",!0),this.newline_between_rules=this._get_boolean("newline_between_rules",!0);t=this._get_boolean("space_around_selector_separator");var e=(this.space_around_combinator=this._get_boolean("space_around_combinator")||t,this._get_selection_list("brace_style",["collapse","expand","end-expand","none","preserve-inline"]));this.brace_style="collapse";for(var n=0;nthis.__parent.wrap_line_length&&this.__wrap_point_character_count>this.__parent.next_line.__character_count},e.prototype._allow_wrap=function(){var t;return!!this._should_wrap()&&(this.__parent.add_new_line(),(t=this.__parent.current_line).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),!0)},e.prototype.is_empty=function(){return 0===this.__items.length},e.prototype.last=function(){return this.is_empty()?null:this.__items[this.__items.length-1]},e.prototype.push=function(t){this.__items.push(t);var e=t.lastIndexOf("\n");-1!==e?this.__character_count=t.length-e:this.__character_count+=t.length},e.prototype.pop=function(){var t=null;return this.is_empty()||(t=this.__items.pop(),this.__character_count-=t.length),t},e.prototype._remove_indent=function(){0=this.__cache.length;)this.__add_column()},n.prototype.__add_column=function(){var t,e=this.__cache.length,n="";this.__indent_size&&e>=this.__indent_size&&(e-=(t=Math.floor(e/this.__indent_size))*this.__indent_size,n=new Array(t+1).join(this.__indent_string)),e&&(n+=new Array(e+1).join(" ")),this.__cache.push(n)},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,e){return this.__indent_cache.get_indent_string(t,e)},i.prototype.get_indent_size=function(t,e){return this.__indent_cache.get_indent_size(t,e)},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()||(this.raw||this.__add_outputline(),0))},i.prototype.get_code=function(t){this.trim(!0);var e=this.current_line.pop();e&&("\n"===e[e.length-1]&&(e=e.replace(/\n+$/g,"")),this.current_line.push(e)),this._end_with_newline&&this.__add_outputline(),e=this.__lines.join("\n");return"\n"!==t?e.replace(/[\n]/g,t):e},i.prototype.set_wrap_point=function(){this.current_line._set_wrap_point()},i.prototype.set_indent=function(t,e){return this.next_line.set_indent(t=t||0,e=e||0),1=t.length&&this.__input.substring(e-t.length,e).toLowerCase()===t},t.exports.InputScanner=n},function(t,e,n){function i(t,e){this._input=new r(t),this._options=e||{},this.__tokens=null,this._patterns={},this._patterns.whitespace=new _(this._input)}var r=n(8).InputScanner,s=n(3).Token,o=n(10).TokenStream,_=n(11).WhitespacePattern,a={START:"TK_START",RAW:"TK_RAW",EOF:"TK_EOF"};i.prototype.tokenize=function(){this._input.restart(),this.__tokens=new o,this._reset();for(var t,e=new s(a.START,""),n=null,i=[],r=new o;e.type!==a.EOF;){for(t=this._get_next_token(e,n);this._is_comment(t);)r.add(t),t=this._get_next_token(e,n);r.isEmpty()||(t.comments_before=r,r=new o),t.parent=n,this._is_opening(t)?(i.push(n),n=t):n&&this._is_closing(t,n)&&((t.opened=n).closed=t,n=i.pop(),t.parent=n),(t.previous=e).next=t,this.__tokens.add(t),e=t}return this.__tokens},i.prototype._is_first_token=function(){return this.__tokens.isEmpty()},i.prototype._reset=function(){},i.prototype._get_next_token=function(t,e){this._readWhitespace();var n=this._input.read(/.+/g);return n?this._create_token(a.RAW,n):this._create_token(a.EOF,"")},i.prototype._is_comment=function(t){return!1},i.prototype._is_opening=function(t){return!1},i.prototype._is_closing=function(t,e){return!1},i.prototype._create_token=function(t,e){return new s(t,e,this._patterns.whitespace.newline_count,this._patterns.whitespace.whitespace_before_token)},i.prototype._readWhitespace=function(){return this._patterns.whitespace.read()},t.exports.Tokenizer=i,t.exports.TOKEN=a},function(t){function e(t){this.__tokens=[],this.__tokens_length=this.__tokens.length,this.__position=0,this.__parent_token=t}e.prototype.restart=function(){this.__position=0},e.prototype.isEmpty=function(){return 0===this.__tokens_length},e.prototype.hasNext=function(){return this.__position/),erb:e.starting_with(/<%[^%]/).until_after(/[^%]%>/),django:e.starting_with(/{%/).until_after(/%}/),django_value:e.starting_with(/{{/).until_after(/}}/),django_comment:e.starting_with(/{#/).until_after(/#}/),smarty:e.starting_with(/{(?=[^}{\s\n])/).until_after(/[^\s\n]}/),smarty_comment:e.starting_with(/{\*/).until_after(/\*}/),smarty_literal:e.starting_with(/{literal}/).until_after(/{\/literal}/)}}(s.prototype=new i)._create=function(){return new s(this._input,this)},s.prototype._update=function(){this.__set_templated_pattern()},s.prototype.disable=function(t){var e=this._create();return e._disabled[t]=!0,e._update(),e},s.prototype.read_options=function(t){var e,n=this._create();for(e in r)n._disabled[e]=-1===t.templating.indexOf(e);return n._update(),n},s.prototype.exclude=function(t){var e=this._create();return e._excluded[t]=!0,e._update(),e},s.prototype.read=function(){for(var t="",e=(t=this._match_pattern?this._input.read(this._starting_pattern):this._input.read(this._starting_pattern,this.__template_pattern),this._read_template());e;)this._match_pattern?e+=this._input.read(this._match_pattern):e+=this._input.readUntil(this.__template_pattern),t+=e,e=this._read_template();return this._until_after&&(t+=this._input.readUntilAfter(this._until_pattern)),t},s.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("|")+")")},s.prototype._read_template=function(){var t,e="",n=this._input.peek();return"<"===n?(t=this._input.peek(1),this._disabled.php||this._excluded.php||"?"!==t||(e=e||this.__patterns.php.read()),this._disabled.erb||this._excluded.erb||"%"!==t||(e=e||this.__patterns.erb.read())):"{"===n&&(this._disabled.handlebars||this._excluded.handlebars||(e=(e=(e=e||this.__patterns.handlebars_comment.read())||this.__patterns.handlebars_unescaped.read())||this.__patterns.handlebars.read()),this._disabled.django||(this._excluded.django||this._excluded.handlebars||(e=e||this.__patterns.django_value.read()),this._excluded.django)||(e=(e=e||this.__patterns.django_comment.read())||this.__patterns.django.read()),this._disabled.smarty||this._disabled.django&&this._disabled.handlebars&&(e=(e=(e=e||this.__patterns.smarty_comment.read())||this.__patterns.smarty_literal.read())||this.__patterns.smarty.read())),e},t.exports.TemplatablePattern=s},,,,function(t,e,n){var i=n(19).Beautifier,r=n(20).Options;t.exports=function(t,e,n,r){return new i(t,e,n,r).beautify()},t.exports.defaultOptions=function(){return new r}},function(t,e,n){function i(t,e){this.indent_level=0,this.alignment_size=0,this.max_preserve_newlines=t.max_preserve_newlines,this.preserve_newlines=t.preserve_newlines,this._output=new o(t,e)}function r(t,e){var n=null,i=null;return e.closed?("script"===t?n="text/javascript":"style"===t&&(n="text/css"),-1<(n=(t=>{for(var e=null,n=t.next;n.type!==a.EOF&&t.closed!==n;){if(n.type===a.ATTRIBUTE&&"type"===n.text){n.next&&n.next.type===a.EQUALS&&n.next.next&&n.next.next.type===a.VALUE&&(e=n.next.next.text);break}n=n.next}return e})(e)||n).search("text/css")?i="css":-1|]]>)$/.exec(s);if(!n)return void t.add_raw_token(e);_=o+n[1]+"\n",n[5]&&(a=o+n[5]),s=(s=n[4]).replace(/\n[ \t]*$/,""),(n[2]||-1!==n[3].indexOf("\n"))&&(n=n[3].match(/[ \t]+$/))&&(e.whitespace_before=n[0])}s=s&&(r?((n=function(){this.eol="\n"}).prototype=this._options.raw_options,r(o+s,new n)):o+(s=(r=e.whitespace_before)?s.replace(new RegExp("\n("+r+")?","g"),"\n"):s).replace(/\n/g,"\n"+o)),_&&(s=s?_+s+"\n"+a:_+a),t.print_newline(!1),s&&(e.text=s,e.whitespace_before="",e.newlines=0,t.add_raw_token(e),t.print_newline(!0))}},d.prototype._handle_tag_open=function(t,e,n,i){var r=this._get_tag_open_token(e);return!n.is_unformatted&&!n.is_content_unformatted||n.is_empty_element||e.type!==a.TAG_OPEN||0!==e.text.indexOf("]*)/),this.tag_check=n?n[1]:""):(n=e.text.match(/^{{(?:[\^]|#\*?)?([^\s}]+)/),this.tag_check=n?n[1]:"","{{#>"===e.text&&">"===this.tag_check&&null!==e.next&&(this.tag_check=e.next.text)),this.tag_check=this.tag_check.toLowerCase(),e.type===a.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,this.is_end_tag=this.is_end_tag||"{"===this.tag_start_char&&(this.text.length<3||/[^#\^]/.test(this.text.charAt(2)))):this.tag_complete=!0},f=(d.prototype._get_tag_open_token=function(t){return t=new g(this._tag_stack.get_parser_token(),t),t.alignment_size=this._options.wrap_attributes_indent_size,t.is_end_tag=t.is_end_tag||p(t.tag_check,this._options.void_elements),t.is_empty_element=t.tag_complete||t.is_start_tag&&t.is_end_tag,t.is_unformatted=!t.tag_complete&&p(t.tag_check,this._options.unformatted),t.is_content_unformatted=!t.is_empty_element&&p(t.tag_check,this._options.content_unformatted),t.is_inline_element=p(t.tag_name,this._options.inline)||"{"===t.tag_start_char,t},d.prototype._set_tag_position=function(t,e,n,i,s){n.is_empty_element||(n.is_end_tag?n.start_tag_token=this._tag_stack.try_pop(n.tag_name):(this._do_optional_end_element(n)&&!n.is_inline_element&&t.print_newline(!1),this._tag_stack.record_tag(n),"script"!==n.tag_name&&"style"!==n.tag_name||n.is_unformatted||n.is_content_unformatted||(n.custom_beautifier_name=r(n.tag_check,e)))),p(n.tag_check,this._options.extra_liners)&&(t.print_newline(!1),t._output.just_added_blankline()||t.print_newline(!0)),n.is_empty_element?("{"===n.tag_start_char&&"else"===n.tag_check&&(this._tag_stack.indent_to_tag(["if","unless","each"]),n.indent_content=!0,t.current_line_has_match(/{{#if/)||t.print_newline(!1)),"!--"===n.tag_name&&s.type===a.TAG_CLOSE&&i.is_end_tag&&-1===n.text.indexOf("\n")||(n.is_inline_element||n.is_unformatted||t.print_newline(!1),this._calcluate_parent_multiline(t,n))):n.is_end_tag?(e=!1,e=(e=n.start_tag_token&&n.start_tag_token.multiline_content)||!n.is_inline_element&&!(i.is_inline_element||i.is_unformatted)&&!(s.type===a.TAG_CLOSE&&n.start_tag_token===i)&&"TK_CONTENT"!==s.type,(e=!n.is_content_unformatted&&!n.is_unformatted&&e)&&t.print_newline(!1)):(n.indent_content=!n.custom_beautifier_name,"<"===n.tag_start_char&&("html"===n.tag_name?n.indent_content=this._options.indent_inner_html:"head"===n.tag_name?n.indent_content=this._options.indent_head_inner_html:"body"===n.tag_name&&(n.indent_content=this._options.indent_body_inner_html)),n.is_inline_element||n.is_unformatted||"TK_CONTENT"===s.type&&!n.is_content_unformatted||t.print_newline(!1),this._calcluate_parent_multiline(t,n))},d.prototype._calcluate_parent_multiline=function(t,e){!e.parent||!t._output.just_added_newline()||(e.is_inline_element||e.is_unformatted)&&e.parent.is_inline_element||(e.parent.multiline_content=!0)},["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"]),m=["a","audio","del","ins","map","noscript","video"];d.prototype._do_optional_end_element=function(t){var e,n=null;if(!t.is_empty_element&&t.is_start_tag&&t.parent)return"body"===t.tag_name?n=n||this._tag_stack.try_pop("head"):"li"===t.tag_name?n=n||this._tag_stack.try_pop("li",["ol","ul"]):"dd"===t.tag_name||"dt"===t.tag_name?n=(n=n||this._tag_stack.try_pop("dt",["dl"]))||this._tag_stack.try_pop("dd",["dl"]):"p"===t.parent.tag_name&&-1!==f.indexOf(t.tag_name)?(e=t.parent.parent)&&-1!==m.indexOf(e.tag_name)||(n=n||this._tag_stack.try_pop("p")):"rp"===t.tag_name||"rt"===t.tag_name?n=(n=n||this._tag_stack.try_pop("rt",["ruby","rtc"]))||this._tag_stack.try_pop("rp",["ruby","rtc"]):"optgroup"===t.tag_name?n=n||this._tag_stack.try_pop("optgroup",["select"]):"option"===t.tag_name?n=n||this._tag_stack.try_pop("option",["select","datalist","optgroup"]):"colgroup"===t.tag_name?n=n||this._tag_stack.try_pop("caption",["table"]):"thead"===t.tag_name?n=(n=n||this._tag_stack.try_pop("caption",["table"]))||this._tag_stack.try_pop("colgroup",["table"]):"tbody"===t.tag_name||"tfoot"===t.tag_name?n=(n=(n=(n=n||this._tag_stack.try_pop("caption",["table"]))||this._tag_stack.try_pop("colgroup",["table"]))||this._tag_stack.try_pop("thead",["table"]))||this._tag_stack.try_pop("tbody",["table"]):"tr"===t.tag_name?n=(n=(n=n||this._tag_stack.try_pop("caption",["table"]))||this._tag_stack.try_pop("colgroup",["table"]))||this._tag_stack.try_pop("tr",["table","thead","tbody","tfoot"]):"th"!==t.tag_name&&"td"!==t.tag_name||(n=(n=n||this._tag_stack.try_pop("td",["table","thead","tbody","tfoot","tr"]))||this._tag_stack.try_pop("th",["table","thead","tbody","tfoot","tr"])),t.parent=this._tag_stack.get_parser_token(),n},t.exports.Beautifier=d},function(t,e,n){var i=n(6).Options;function r(t){i.call(this,t,"html"),1===this.templating.length&&"auto"===this.templating[0]&&(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"])}r.prototype=new i,t.exports.Options=r},function(t,e,n){function i(t,e){r.call(this,t,e),this._current_tag_name="";t=new _(this._input).read_options(this._options),e=new a(this._input);this.__patterns={word:t.until(/[\n\r\t <]/),single_quote:t.until_after(/'/),double_quote:t.until_after(/"/),attribute:t.until(/[\n\r\t =>]|\/>/),element_name:t.until(/[\n\r\t >\/]/),handlebars_comment:e.starting_with(/{{!--/).until_after(/--}}/),handlebars:e.starting_with(/{{/).until_after(/}}/),handlebars_open:e.until(/[\n\r\t }]/),handlebars_raw_close:e.until(/}}/),comment:e.starting_with(//),cdata:e.starting_with(//),conditional_comment:e.starting_with(//),processing:e.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&&(t=this._input.get_literal_regexp(this._options.unformatted_content_delimiter),this.__patterns.unformatted_content_delimiter=e.matching(t).until_after(t))}var r=n(9).Tokenizer,s=n(9).TOKEN,o=n(13).Directives,_=n(14).TemplatablePattern,a=n(12).Pattern,h={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:s.START,RAW:s.RAW,EOF:s.EOF},u=new o(/<\!--/,/-->/);(i.prototype=new r)._is_comment=function(t){return!1},i.prototype._is_opening=function(t){return t.type===h.TAG_OPEN},i.prototype._is_closing=function(t,e){return t.type===h.TAG_CLOSE&&e&&((">"===t.text||"/>"===t.text)&&"<"===e.text[0]||"}}"===t.text&&"{"===e.text[0]&&"{"===e.text[1])},i.prototype._reset=function(){this._current_tag_name=""},i.prototype._get_next_token=function(t,e){this._readWhitespace();var n=this._input.peek();return null===n?this._create_token(h.EOF,""):this._read_open_handlebars(n,e)||this._read_attribute(n,t,e)||this._read_close(n,e)||this._read_raw_content(n,t,e)||this._read_content_word(n)||this._read_comment_or_cdata(n)||this._read_processing(n)||this._read_open(n,e)||this._create_token(h.UNKNOWN,this._input.next())},i.prototype._read_comment_or_cdata=function(t){var e=null,n=null,i=null;return"<"===t&&("!"===this._input.peek(1)&&((n=this.__patterns.comment.read())?(i=u.get_directives(n))&&"start"===i.ignore&&(n+=u.readIgnored(this._input)):n=this.__patterns.cdata.read()),n)&&((e=this._create_token(h.COMMENT,n)).directives=i),e},i.prototype._read_processing=function(t){var e=null,n=null;return"<"===t&&(n="!"!==(t=this._input.peek(1))&&"?"!==t?n:(n=this.__patterns.conditional_comment.read())||this.__patterns.processing.read())&&((e=this._create_token(h.COMMENT,n)).directives=null),e},i.prototype._read_open=function(t,e){var n=null,i=null;return e||"<"===t&&(n=this._input.next(),"/"===this._input.peek()&&(n+=this._input.next()),n+=this.__patterns.element_name.read(),i=this._create_token(h.TAG_OPEN,n)),i},i.prototype._read_open_handlebars=function(t,e){var n=null,i=null;return e||this._options.indent_handlebars&&"{"===t&&"{"===this._input.peek(1)&&(i="!"===this._input.peek(2)?(n=(n=this.__patterns.handlebars_comment.read())||this.__patterns.handlebars.read(),this._create_token(h.COMMENT,n)):(n=this.__patterns.handlebars_open.read(),this._create_token(h.TAG_OPEN,n))),i},i.prototype._read_close=function(t,e){var n=null,i=null;return e&&("<"===e.text[0]&&(">"===t||"/"===t&&">"===this._input.peek(1))?(n=this._input.next(),"/"===t&&(n+=this._input.next()),i=this._create_token(h.TAG_CLOSE,n)):"{"===e.text[0]&&"}"===t&&"}"===this._input.peek(1)&&(this._input.next(),this._input.next(),i=this._create_token(h.TAG_CLOSE,"}}"))),i},i.prototype._read_attribute=function(t,e,n){var i=null;return n&&"<"===n.text[0]&&("="===t?i=this._create_token(h.EQUALS,this._input.next()):'"'===t||"'"===t?(n=this._input.next(),n+=('"'===t?this.__patterns.double_quote:this.__patterns.single_quote).read(),i=this._create_token(h.VALUE,n)):(t=this.__patterns.attribute.read())&&(i=e.type===h.EQUALS?this._create_token(h.VALUE,t):this._create_token(h.ATTRIBUTE,t))),i},i.prototype._is_content_unformatted=function(t){return-1===this._options.void_elements.indexOf(t)&&(-1!==this._options.content_unformatted.indexOf(t)||-1!==this._options.unformatted.indexOf(t))},i.prototype._read_raw_content=function(t,e,n){var i="";if(n&&"{"===n.text[0])i=this.__patterns.handlebars_raw_close.read();else if(e.type===h.TAG_CLOSE&&"<"===e.opened.text[0]&&"/"!==e.text[0])if(n=e.opened.text.substr(1).toLowerCase(),"script"===n||"style"===n){if(e=this._read_comment_or_cdata(t),e)return e.type=h.TEXT,e;i=this._input.readUntil(new RegExp("","ig"))}else this._is_content_unformatted(n)&&(i=this._input.readUntil(new RegExp("","ig")));return i?this._create_token(h.TEXT,i):null},i.prototype._read_content_word=function(t){var e="";if(e=(e=this._options.unformatted_content_delimiter&&t===this._options.unformatted_content_delimiter[0]?this.__patterns.unformatted_content_delimiter.read():e)||this.__patterns.word.read())return this._create_token(h.TEXT,e)},t.exports.Tokenizer=i,t.exports.TOKEN=h}],xt={},function t(e){var n=xt[e];return void 0===n&&(n=xt[e]={exports:{}},bt[e](n,n.exports,t)),n.exports}(18),n("36c6f");function kt(t){if(t)return{character:t.column-1,line:t.lineNumber-1}}function At(t){if(t)return new m.Range(t.start.line+1,t.start.character+1,t.end.line+1,t.end.character+1)}function Et(t){if(t)return{range:At(t.range),text:t.newText}}Object.defineProperty(Tt.prototype,"triggerCharacters",{get:function(){return[".",":","<",'"',"=","/"]},enumerable:!1,configurable:!0}),Tt.prototype.provideCompletionItems=function(t,e,n,i){var r=t.uri;return this._worker(r).then((function(t){return t.doComplete(r.toString(),kt(e))})).then((function(n){var i,r;if(n)return r=t.getWordUntilPosition(e),i=new m.Range(e.lineNumber,r.startColumn,e.lineNumber,r.endColumn),r=n.items.map((function(t){var e,n={label:t.label,insertText:t.insertText||t.label,sortText:t.sortText,filterText:t.filterText,documentation:t.documentation,command:(n=t.command)&&"editor.action.triggerSuggest"===n.command?{id:n.command,title:n.title,arguments:n.arguments}:void 0,detail:t.detail,range:i,kind:(t=>{var e=m.languages.CompletionItemKind;switch(t){case C.Text:return e.Text;case C.Method:return e.Method;case C.Function:return e.Function;case C.Constructor:return e.Constructor;case C.Field:return e.Field;case C.Variable:return e.Variable;case C.Class:return e.Class;case C.Interface:return e.Interface;case C.Module:return e.Module;case C.Property:return e.Property;case C.Unit:return e.Unit;case C.Value:return e.Value;case C.Enum:return e.Enum;case C.Keyword:return e.Keyword;case C.Snippet:return e.Snippet;case C.Color:return e.Color;case C.File:return e.File;case C.Reference:return e.Reference}return e.Property})(t.kind)};return t.textEdit&&(void 0!==(e=t.textEdit).insert&&void 0!==e.replace?n.range={insert:At(t.textEdit.insert),replace:At(t.textEdit.replace)}:n.range=At(t.textEdit.range),n.insertText=t.textEdit.newText),t.additionalTextEdits&&(n.additionalTextEdits=t.additionalTextEdits.map(Et)),t.insertTextFormat===T.Snippet&&(n.insertTextRules=m.languages.CompletionItemInsertTextRule.InsertAsSnippet),n})),{isIncomplete:n.isIncomplete,suggestions:r}}))};var Ct=Tt;function Tt(t){this._worker=t}function Ot(t){var e;return"string"==typeof t?{value:t}:(e=t)&&"object"==typeof e&&"string"==typeof e.kind?"plaintext"===t.kind?{value:t.value.replace(/[\\`*_{}[\]()#+\-.!]/g,"\\$&")}:{value:t.value}:{value:"```"+t.language+"\n"+t.value+"\n```\n"}}It.prototype.provideHover=function(t,e,n){var i=t.uri;return this._worker(i).then((function(t){return t.doHover(i.toString(),kt(e))})).then((function(t){if(t)return{range:At(t.range),contents:(t=>{if(t)return Array.isArray(t)?t.map(Ot):[Ot(t)]})(t.contents)}}))};var St=It;function It(t){this._worker=t}Pt.prototype.provideDocumentHighlights=function(t,e,n){var i=t.uri;return this._worker(i).then((function(t){return t.findDocumentHighlights(i.toString(),kt(e))})).then((function(t){if(t)return t.map((function(t){return{range:At(t.range),kind:(t=>{var e=m.languages.DocumentHighlightKind;switch(t){case R.Read:return e.Read;case R.Write:return e.Write;case R.Text:return e.Text}return e.Text})(t.kind)}}))}))};var jt=Pt;function Pt(t){this._worker=t}Rt.prototype.provideDocumentSymbols=function(t,e){var n=t.uri;return this._worker(n).then((function(t){return t.findDocumentSymbols(n.toString())})).then((function(t){if(t)return t.map((function(t){return{name:t.name,detail:"",containerName:t.containerName,kind:(t=>{var e=m.languages.SymbolKind;switch(t){case z.File:return e.Array;case z.Module:return e.Module;case z.Namespace:return e.Namespace;case z.Package:return e.Package;case z.Class:return e.Class;case z.Method:return e.Method;case z.Property:return e.Property;case z.Field:return e.Field;case z.Constructor:return e.Constructor;case z.Enum:return e.Enum;case z.Interface:return e.Interface;case z.Function:return e.Function;case z.Variable:return e.Variable;case z.Constant:return e.Constant;case z.String:return e.String;case z.Number:return e.Number;case z.Boolean:return e.Boolean;case z.Array:return e.Array}return e.Function})(t.kind),tags:[],range:At(t.location.range),selectionRange:At(t.location.range)}}))}))};var Lt=Rt;function Rt(t){this._worker=t}Ut.prototype.provideLinks=function(t,e){var n=t.uri;return this._worker(n).then((function(t){return t.findDocumentLinks(n.toString())})).then((function(t){if(t)return{links:t.map((function(t){return{range:At(t.range),url:t.target}}))}}))};var Nt=Ut;function Ut(t){this._worker=t}function zt(t){return{tabSize:t.tabSize,insertSpaces:t.insertSpaces}}Mt.prototype.provideDocumentFormattingEdits=function(t,e,n){var i=t.uri;return this._worker(i).then((function(t){return t.format(i.toString(),null,zt(e)).then((function(t){if(t&&0!==t.length)return t.map(Et)}))}))};var Wt=Mt;function Mt(t){this._worker=t}Ft.prototype.provideDocumentRangeFormattingEdits=function(t,e,n,i){var r=t.uri;return this._worker(r).then((function(t){return t.format(r.toString(),(t=>{if(t)return{start:kt(t.getStartPosition()),end:kt(t.getEndPosition())}})(e),zt(n)).then((function(t){if(t&&0!==t.length)return t.map(Et)}))}))};var Dt=Ft;function Ft(t){this._worker=t}Kt.prototype.provideRenameEdits=function(t,e,n,i){var r=t.uri;return this._worker(r).then((function(t){return t.doRename(r.toString(),kt(e),n)})).then((function(t){var e=t;if(e&&e.changes){var n,i=[];for(n in e.changes)for(var r=m.Uri.parse(n),s=0,o=e.changes[n];s{switch(t){case _.Comment:return m.languages.FoldingRangeKind.Comment;case _.Imports:return m.languages.FoldingRangeKind.Imports;case _.Region:return m.languages.FoldingRangeKind.Region}})(t.kind)),e}))}))};var Bt=qt;function qt(t){this._worker=t}$t.prototype.provideSelectionRanges=function(t,e,n){var i=t.uri;return this._worker(i).then((function(t){return t.getSelectionRanges(i.toString(),e.map(kt))})).then((function(t){if(t)return t.map((function(t){for(var e=[];t;)e.push({range:At(t.range)}),t=t.parent;return e}))}))};var Gt=$t;function $t(t){this._worker=t}function Xt(t){function e(){for(var t=[],e=0;e