@vtj/pro 0.8.2 → 0.8.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (38) hide show
  1. package/dist/.vtj/plugin-example.css +1 -0
  2. package/dist/.vtj/plugin-example.json +86 -0
  3. package/dist/.vtj/plugin-example.umd.js +1 -0
  4. package/dist/@vtj/materials/assets/antdv/index.umd.js +2 -2
  5. package/dist/@vtj/materials/assets/element/index.umd.js +2 -2
  6. package/dist/@vtj/materials/assets/ui/index.umd.js +2 -2
  7. package/dist/@vtj/materials/deps/@vtj/icons/index.umd.js +2 -2
  8. package/dist/@vtj/materials/deps/@vtj/ui/index.umd.js +7 -7
  9. package/dist/@vtj/materials/deps/@vtj/utils/index.umd.js +3 -3
  10. package/dist/@vtj/materials/deps/ant-design-vue/antd.min.js +1 -1
  11. package/dist/@vtj/materials/deps/vue/vue.global.prod.js +4 -4
  12. package/dist/assets/{@element-plus-CekXU_7D.js → @element-plus-DB6I6_WK.js} +1 -1
  13. package/dist/assets/{@floating-ui-BkhKrinZ.js → @floating-ui-o_LpjUj1.js} +1 -1
  14. package/dist/assets/@popperjs-CsO2-mKt.js +1 -0
  15. package/dist/assets/@vue-Zqc7nmKH.js +25 -0
  16. package/dist/assets/{@vueuse-DwRHc_J7.js → @vueuse-dizDcq3e.js} +1 -1
  17. package/dist/assets/{Editor-BKlikwSl-BkVOzfXj.js → Editor-BKlikwSl-CPnXBna8.js} +2 -2
  18. package/dist/assets/{css.worker-CSuMB07y.js → css.worker-DODvkEdu.js} +1 -1
  19. package/dist/assets/{element-plus-DnnaxJFP.js → element-plus-T5RTZb1K.js} +1 -1
  20. package/dist/assets/{index-6xARsZWV.js → index-CStGogMI.js} +1 -1
  21. package/dist/assets/index-D7Gr9T_C.js +2 -0
  22. package/dist/assets/{index-kcuTl5Zm.js → index-E363mA3e.js} +54 -54
  23. package/dist/assets/lodash-es-D0J8aJCM.js +1 -0
  24. package/dist/assets/memoize-one-BdPwpGay.js +1 -0
  25. package/dist/assets/{mockjs-CfUV2g9n.js → mockjs-BuqhTJ_Z.js} +1 -1
  26. package/dist/assets/{monaco-editor-Dg5hMj4r.js → monaco-editor-6Zbq4Knz.js} +2 -2
  27. package/dist/assets/preview-ClQKsWlQ.js +2 -0
  28. package/dist/assets/{ts.worker-C4Ong30t.js → ts.worker-alAQGJzx.js} +77 -77
  29. package/dist/assets/{vue-BNsVu1qZ.js → vue-Ddy_ikw5.js} +2 -2
  30. package/dist/assets/{vue-router-CpoV07KG.js → vue-router-BvKvTwaM.js} +1 -1
  31. package/dist/index.html +11 -11
  32. package/package.json +11 -11
  33. package/dist/assets/@popperjs-I-C4_FcE.js +0 -1
  34. package/dist/assets/@vue-BS4o5x1j.js +0 -25
  35. package/dist/assets/index-DxuI7R9H.js +0 -2
  36. package/dist/assets/lodash-es-CLq8SBAM.js +0 -1
  37. package/dist/assets/memoize-one-DwF5HINA.js +0 -1
  38. package/dist/assets/preview-B0ArLzTN.js +0 -2
@@ -14,7 +14,7 @@
14
14
  * Released under the MIT license
15
15
  * https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt
16
16
  *-----------------------------------------------------------------------------*/var p;(function(t){t[t.Ident=0]="Ident",t[t.AtKeyword=1]="AtKeyword",t[t.String=2]="String",t[t.BadString=3]="BadString",t[t.UnquotedString=4]="UnquotedString",t[t.Hash=5]="Hash",t[t.Num=6]="Num",t[t.Percentage=7]="Percentage",t[t.Dimension=8]="Dimension",t[t.UnicodeRange=9]="UnicodeRange",t[t.CDO=10]="CDO",t[t.CDC=11]="CDC",t[t.Colon=12]="Colon",t[t.SemiColon=13]="SemiColon",t[t.CurlyL=14]="CurlyL",t[t.CurlyR=15]="CurlyR",t[t.ParenthesisL=16]="ParenthesisL",t[t.ParenthesisR=17]="ParenthesisR",t[t.BracketL=18]="BracketL",t[t.BracketR=19]="BracketR",t[t.Whitespace=20]="Whitespace",t[t.Includes=21]="Includes",t[t.Dashmatch=22]="Dashmatch",t[t.SubstringOperator=23]="SubstringOperator",t[t.PrefixOperator=24]="PrefixOperator",t[t.SuffixOperator=25]="SuffixOperator",t[t.Delim=26]="Delim",t[t.EMS=27]="EMS",t[t.EXS=28]="EXS",t[t.Length=29]="Length",t[t.Angle=30]="Angle",t[t.Time=31]="Time",t[t.Freq=32]="Freq",t[t.Exclamation=33]="Exclamation",t[t.Resolution=34]="Resolution",t[t.Comma=35]="Comma",t[t.Charset=36]="Charset",t[t.EscapedJavaScript=37]="EscapedJavaScript",t[t.BadEscapedJavaScript=38]="BadEscapedJavaScript",t[t.Comment=39]="Comment",t[t.SingleLineComment=40]="SingleLineComment",t[t.EOF=41]="EOF",t[t.CustomToken=42]="CustomToken"})(p||(p={}));var eo=function(){function t(e){this.source=e,this.len=e.length,this.position=0}return t.prototype.substring=function(e,n){return n===void 0&&(n=this.position),this.source.substring(e,n)},t.prototype.eos=function(){return this.len<=this.position},t.prototype.pos=function(){return this.position},t.prototype.goBackTo=function(e){this.position=e},t.prototype.goBack=function(e){this.position-=e},t.prototype.advance=function(e){this.position+=e},t.prototype.nextChar=function(){return this.source.charCodeAt(this.position++)||0},t.prototype.peekChar=function(e){return e===void 0&&(e=0),this.source.charCodeAt(this.position+e)||0},t.prototype.lookbackChar=function(e){return e===void 0&&(e=0),this.source.charCodeAt(this.position-e)||0},t.prototype.advanceIfChar=function(e){return e===this.source.charCodeAt(this.position)?(this.position++,!0):!1},t.prototype.advanceIfChars=function(e){if(this.position+e.length>this.source.length)return!1;for(var n=0;n<e.length;n++)if(this.source.charCodeAt(this.position+n)!==e[n])return!1;return this.advance(n),!0},t.prototype.advanceWhileChar=function(e){for(var n=this.position;this.position<this.len&&e(this.source.charCodeAt(this.position));)this.position++;return this.position-n},t}(),Zn=97,to=102,no=122,er=65,ro=70,io=90,fn=48,mn=57,wd=126,xd=94,gn=61,Sd=124,kt=45,so=95,Cd=37,si=42,ao=40,oo=41,kd=60,_d=62,Ed=64,Rd=35,Fd=36,ai=92,lo=47,$t=10,Ht=13,bn=12,co=34,ho=39,oi=32,li=9,Dd=59,Ad=58,Nd=123,Md=125,zd=91,Pd=93,Ld=44,uo=46,po=33,Id=63,Td=43,Qe={};Qe[Dd]=p.SemiColon,Qe[Ad]=p.Colon,Qe[Nd]=p.CurlyL,Qe[Md]=p.CurlyR,Qe[Pd]=p.BracketR,Qe[zd]=p.BracketL,Qe[ao]=p.ParenthesisL,Qe[oo]=p.ParenthesisR,Qe[Ld]=p.Comma;var me={};me.em=p.EMS,me.ex=p.EXS,me.px=p.Length,me.cm=p.Length,me.mm=p.Length,me.in=p.Length,me.pt=p.Length,me.pc=p.Length,me.deg=p.Angle,me.rad=p.Angle,me.grad=p.Angle,me.ms=p.Time,me.s=p.Time,me.hz=p.Freq,me.khz=p.Freq,me["%"]=p.Percentage,me.fr=p.Percentage,me.dpi=p.Resolution,me.dpcm=p.Resolution;var vn=function(){function t(){this.stream=new eo(""),this.ignoreComment=!0,this.ignoreWhitespace=!0,this.inURL=!1}return t.prototype.setSource=function(e){this.stream=new eo(e)},t.prototype.finishToken=function(e,n,r){return{offset:e,len:this.stream.pos()-e,type:n,text:r||this.stream.substring(e)}},t.prototype.substring=function(e,n){return this.stream.substring(e,e+n)},t.prototype.pos=function(){return this.stream.pos()},t.prototype.goBackTo=function(e){this.stream.goBackTo(e)},t.prototype.scanUnquotedString=function(){var e=this.stream.pos(),n=[];return this._unquotedString(n)?this.finishToken(e,p.UnquotedString,n.join("")):null},t.prototype.scan=function(){var e=this.trivia();if(e!==null)return e;var n=this.stream.pos();return this.stream.eos()?this.finishToken(n,p.EOF):this.scanNext(n)},t.prototype.tryScanUnicode=function(){var e=this.stream.pos();if(!this.stream.eos()&&this._unicodeRange())return this.finishToken(e,p.UnicodeRange);this.stream.goBackTo(e)},t.prototype.scanNext=function(e){if(this.stream.advanceIfChars([kd,po,kt,kt]))return this.finishToken(e,p.CDO);if(this.stream.advanceIfChars([kt,kt,_d]))return this.finishToken(e,p.CDC);var n=[];if(this.ident(n))return this.finishToken(e,p.Ident,n.join(""));if(this.stream.advanceIfChar(Ed))if(n=["@"],this._name(n)){var r=n.join("");return r==="@charset"?this.finishToken(e,p.Charset,r):this.finishToken(e,p.AtKeyword,r)}else return this.finishToken(e,p.Delim);if(this.stream.advanceIfChar(Rd))return n=["#"],this._name(n)?this.finishToken(e,p.Hash,n.join("")):this.finishToken(e,p.Delim);if(this.stream.advanceIfChar(po))return this.finishToken(e,p.Exclamation);if(this._number()){var i=this.stream.pos();if(n=[this.stream.substring(e,i)],this.stream.advanceIfChar(Cd))return this.finishToken(e,p.Percentage);if(this.ident(n)){var s=this.stream.substring(i).toLowerCase(),a=me[s];return typeof a<"u"?this.finishToken(e,a,n.join("")):this.finishToken(e,p.Dimension,n.join(""))}return this.finishToken(e,p.Num)}n=[];var o=this._string(n);return o!==null?this.finishToken(e,o,n.join("")):(o=Qe[this.stream.peekChar()],typeof o<"u"?(this.stream.advance(1),this.finishToken(e,o)):this.stream.peekChar(0)===wd&&this.stream.peekChar(1)===gn?(this.stream.advance(2),this.finishToken(e,p.Includes)):this.stream.peekChar(0)===Sd&&this.stream.peekChar(1)===gn?(this.stream.advance(2),this.finishToken(e,p.Dashmatch)):this.stream.peekChar(0)===si&&this.stream.peekChar(1)===gn?(this.stream.advance(2),this.finishToken(e,p.SubstringOperator)):this.stream.peekChar(0)===xd&&this.stream.peekChar(1)===gn?(this.stream.advance(2),this.finishToken(e,p.PrefixOperator)):this.stream.peekChar(0)===Fd&&this.stream.peekChar(1)===gn?(this.stream.advance(2),this.finishToken(e,p.SuffixOperator)):(this.stream.nextChar(),this.finishToken(e,p.Delim)))},t.prototype.trivia=function(){for(;;){var e=this.stream.pos();if(this._whitespace()){if(!this.ignoreWhitespace)return this.finishToken(e,p.Whitespace)}else if(this.comment()){if(!this.ignoreComment)return this.finishToken(e,p.Comment)}else return null}},t.prototype.comment=function(){if(this.stream.advanceIfChars([lo,si])){var e=!1,n=!1;return this.stream.advanceWhileChar(function(r){return n&&r===lo?(e=!0,!1):(n=r===si,!0)}),e&&this.stream.advance(1),!0}return!1},t.prototype._number=function(){var e=0,n;return this.stream.peekChar()===uo&&(e=1),n=this.stream.peekChar(e),n>=fn&&n<=mn?(this.stream.advance(e+1),this.stream.advanceWhileChar(function(r){return r>=fn&&r<=mn||e===0&&r===uo}),!0):!1},t.prototype._newline=function(e){var n=this.stream.peekChar();switch(n){case Ht:case bn:case $t:return this.stream.advance(1),e.push(String.fromCharCode(n)),n===Ht&&this.stream.advanceIfChar($t)&&e.push(`
17
- `),!0}return!1},t.prototype._escape=function(e,n){var r=this.stream.peekChar();if(r===ai){this.stream.advance(1),r=this.stream.peekChar();for(var i=0;i<6&&(r>=fn&&r<=mn||r>=Zn&&r<=to||r>=er&&r<=ro);)this.stream.advance(1),r=this.stream.peekChar(),i++;if(i>0){try{var s=parseInt(this.stream.substring(this.stream.pos()-i),16);s&&e.push(String.fromCharCode(s))}catch{}return r===oi||r===li?this.stream.advance(1):this._newline([]),!0}if(r!==Ht&&r!==bn&&r!==$t)return this.stream.advance(1),e.push(String.fromCharCode(r)),!0;if(n)return this._newline(e)}return!1},t.prototype._stringChar=function(e,n){var r=this.stream.peekChar();return r!==0&&r!==e&&r!==ai&&r!==Ht&&r!==bn&&r!==$t?(this.stream.advance(1),n.push(String.fromCharCode(r)),!0):!1},t.prototype._string=function(e){if(this.stream.peekChar()===ho||this.stream.peekChar()===co){var n=this.stream.nextChar();for(e.push(String.fromCharCode(n));this._stringChar(n,e)||this._escape(e,!0););return this.stream.peekChar()===n?(this.stream.nextChar(),e.push(String.fromCharCode(n)),p.String):p.BadString}return null},t.prototype._unquotedChar=function(e){var n=this.stream.peekChar();return n!==0&&n!==ai&&n!==ho&&n!==co&&n!==ao&&n!==oo&&n!==oi&&n!==li&&n!==$t&&n!==bn&&n!==Ht?(this.stream.advance(1),e.push(String.fromCharCode(n)),!0):!1},t.prototype._unquotedString=function(e){for(var n=!1;this._unquotedChar(e)||this._escape(e);)n=!0;return n},t.prototype._whitespace=function(){var e=this.stream.advanceWhileChar(function(n){return n===oi||n===li||n===$t||n===bn||n===Ht});return e>0},t.prototype._name=function(e){for(var n=!1;this._identChar(e)||this._escape(e);)n=!0;return n},t.prototype.ident=function(e){var n=this.stream.pos(),r=this._minus(e);if(r){if(this._minus(e)||this._identFirstChar(e)||this._escape(e)){for(;this._identChar(e)||this._escape(e););return!0}}else if(this._identFirstChar(e)||this._escape(e)){for(;this._identChar(e)||this._escape(e););return!0}return this.stream.goBackTo(n),!1},t.prototype._identFirstChar=function(e){var n=this.stream.peekChar();return n===so||n>=Zn&&n<=no||n>=er&&n<=io||n>=128&&n<=65535?(this.stream.advance(1),e.push(String.fromCharCode(n)),!0):!1},t.prototype._minus=function(e){var n=this.stream.peekChar();return n===kt?(this.stream.advance(1),e.push(String.fromCharCode(n)),!0):!1},t.prototype._identChar=function(e){var n=this.stream.peekChar();return n===so||n===kt||n>=Zn&&n<=no||n>=er&&n<=io||n>=fn&&n<=mn||n>=128&&n<=65535?(this.stream.advance(1),e.push(String.fromCharCode(n)),!0):!1},t.prototype._unicodeRange=function(){if(this.stream.advanceIfChar(Td)){var e=function(i){return i>=fn&&i<=mn||i>=Zn&&i<=to||i>=er&&i<=ro},n=this.stream.advanceWhileChar(e)+this.stream.advanceWhileChar(function(i){return i===Id});if(n>=1&&n<=6)if(this.stream.advanceIfChar(kt)){var r=this.stream.advanceWhileChar(e);if(r>=1&&r<=6)return!0}else return!0}return!1},t}();function ge(t,e){if(t.length<e.length)return!1;for(var n=0;n<e.length;n++)if(t[n]!==e[n])return!1;return!0}function fo(t,e){var n=t.length-e.length;return n>0?t.lastIndexOf(e)===n:n===0?t===e:!1}function Wd(t,e,n){n=4;var r=Math.abs(t.length-e.length);if(r>n)return 0;var i=[],s=[],a,o;for(a=0;a<e.length+1;++a)s.push(0);for(a=0;a<t.length+1;++a)i.push(s);for(a=1;a<t.length+1;++a)for(o=1;o<e.length+1;++o)t[a-1]===e[o-1]?i[a][o]=i[a-1][o-1]+1:i[a][o]=Math.max(i[a-1][o],i[a][o-1]);return i[t.length][e.length]-Math.sqrt(r)}function mo(t,e){return t?t.length<140?t:t.slice(0,140)+"":""}function Od(t,e){var n=e.exec(t);return n&&n[0].length?t.substr(0,t.length-n[0].length):t}function go(t,e){for(var n="";e>0;)(e&1)===1&&(n+=t),t+=t,e=e>>>1;return n}var O=function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,i){r.__proto__=i}||function(r,i){for(var s in i)Object.prototype.hasOwnProperty.call(i,s)&&(r[s]=i[s])},t(e,n)};return function(e,n){if(typeof n!="function"&&n!==null)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");t(e,n);function r(){this.constructor=e}e.prototype=n===null?Object.create(n):(r.prototype=n.prototype,new r)}}(),v;(function(t){t[t.Undefined=0]="Undefined",t[t.Identifier=1]="Identifier",t[t.Stylesheet=2]="Stylesheet",t[t.Ruleset=3]="Ruleset",t[t.Selector=4]="Selector",t[t.SimpleSelector=5]="SimpleSelector",t[t.SelectorInterpolation=6]="SelectorInterpolation",t[t.SelectorCombinator=7]="SelectorCombinator",t[t.SelectorCombinatorParent=8]="SelectorCombinatorParent",t[t.SelectorCombinatorSibling=9]="SelectorCombinatorSibling",t[t.SelectorCombinatorAllSiblings=10]="SelectorCombinatorAllSiblings",t[t.SelectorCombinatorShadowPiercingDescendant=11]="SelectorCombinatorShadowPiercingDescendant",t[t.Page=12]="Page",t[t.PageBoxMarginBox=13]="PageBoxMarginBox",t[t.ClassSelector=14]="ClassSelector",t[t.IdentifierSelector=15]="IdentifierSelector",t[t.ElementNameSelector=16]="ElementNameSelector",t[t.PseudoSelector=17]="PseudoSelector",t[t.AttributeSelector=18]="AttributeSelector",t[t.Declaration=19]="Declaration",t[t.Declarations=20]="Declarations",t[t.Property=21]="Property",t[t.Expression=22]="Expression",t[t.BinaryExpression=23]="BinaryExpression",t[t.Term=24]="Term",t[t.Operator=25]="Operator",t[t.Value=26]="Value",t[t.StringLiteral=27]="StringLiteral",t[t.URILiteral=28]="URILiteral",t[t.EscapedValue=29]="EscapedValue",t[t.Function=30]="Function",t[t.NumericValue=31]="NumericValue",t[t.HexColorValue=32]="HexColorValue",t[t.RatioValue=33]="RatioValue",t[t.MixinDeclaration=34]="MixinDeclaration",t[t.MixinReference=35]="MixinReference",t[t.VariableName=36]="VariableName",t[t.VariableDeclaration=37]="VariableDeclaration",t[t.Prio=38]="Prio",t[t.Interpolation=39]="Interpolation",t[t.NestedProperties=40]="NestedProperties",t[t.ExtendsReference=41]="ExtendsReference",t[t.SelectorPlaceholder=42]="SelectorPlaceholder",t[t.Debug=43]="Debug",t[t.If=44]="If",t[t.Else=45]="Else",t[t.For=46]="For",t[t.Each=47]="Each",t[t.While=48]="While",t[t.MixinContentReference=49]="MixinContentReference",t[t.MixinContentDeclaration=50]="MixinContentDeclaration",t[t.Media=51]="Media",t[t.Keyframe=52]="Keyframe",t[t.FontFace=53]="FontFace",t[t.Import=54]="Import",t[t.Namespace=55]="Namespace",t[t.Invocation=56]="Invocation",t[t.FunctionDeclaration=57]="FunctionDeclaration",t[t.ReturnStatement=58]="ReturnStatement",t[t.MediaQuery=59]="MediaQuery",t[t.MediaCondition=60]="MediaCondition",t[t.MediaFeature=61]="MediaFeature",t[t.FunctionParameter=62]="FunctionParameter",t[t.FunctionArgument=63]="FunctionArgument",t[t.KeyframeSelector=64]="KeyframeSelector",t[t.ViewPort=65]="ViewPort",t[t.Document=66]="Document",t[t.AtApplyRule=67]="AtApplyRule",t[t.CustomPropertyDeclaration=68]="CustomPropertyDeclaration",t[t.CustomPropertySet=69]="CustomPropertySet",t[t.ListEntry=70]="ListEntry",t[t.Supports=71]="Supports",t[t.SupportsCondition=72]="SupportsCondition",t[t.NamespacePrefix=73]="NamespacePrefix",t[t.GridLine=74]="GridLine",t[t.Plugin=75]="Plugin",t[t.UnknownAtRule=76]="UnknownAtRule",t[t.Use=77]="Use",t[t.ModuleConfiguration=78]="ModuleConfiguration",t[t.Forward=79]="Forward",t[t.ForwardVisibility=80]="ForwardVisibility",t[t.Module=81]="Module",t[t.UnicodeRange=82]="UnicodeRange"})(v||(v={}));var Q;(function(t){t[t.Mixin=0]="Mixin",t[t.Rule=1]="Rule",t[t.Variable=2]="Variable",t[t.Function=3]="Function",t[t.Keyframe=4]="Keyframe",t[t.Unknown=5]="Unknown",t[t.Module=6]="Module",t[t.Forward=7]="Forward",t[t.ForwardVisibility=8]="ForwardVisibility"})(Q||(Q={}));function ci(t,e){var n=null;return!t||e<t.offset||e>t.end?null:(t.accept(function(r){return r.offset===-1&&r.length===-1?!0:r.offset<=e&&r.end>=e?(n?r.length<=n.length&&(n=r):n=r,!0):!1}),n)}function hi(t,e){for(var n=ci(t,e),r=[];n;)r.unshift(n),n=n.parent;return r}function Ud(t){var e=t.findParent(v.Declaration),n=e&&e.getValue();return n&&n.encloses(t)?e:null}var U=function(){function t(e,n,r){e===void 0&&(e=-1),n===void 0&&(n=-1),this.parent=null,this.offset=e,this.length=n,r&&(this.nodeType=r)}return Object.defineProperty(t.prototype,"end",{get:function(){return this.offset+this.length},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"type",{get:function(){return this.nodeType||v.Undefined},set:function(e){this.nodeType=e},enumerable:!1,configurable:!0}),t.prototype.getTextProvider=function(){for(var e=this;e&&!e.textProvider;)e=e.parent;return e?e.textProvider:function(){return"unknown"}},t.prototype.getText=function(){return this.getTextProvider()(this.offset,this.length)},t.prototype.matches=function(e){return this.length===e.length&&this.getTextProvider()(this.offset,this.length)===e},t.prototype.startsWith=function(e){return this.length>=e.length&&this.getTextProvider()(this.offset,e.length)===e},t.prototype.endsWith=function(e){return this.length>=e.length&&this.getTextProvider()(this.end-e.length,e.length)===e},t.prototype.accept=function(e){if(e(this)&&this.children)for(var n=0,r=this.children;n<r.length;n++){var i=r[n];i.accept(e)}},t.prototype.acceptVisitor=function(e){this.accept(e.visitNode.bind(e))},t.prototype.adoptChild=function(e,n){if(n===void 0&&(n=-1),e.parent&&e.parent.children){var r=e.parent.children.indexOf(e);r>=0&&e.parent.children.splice(r,1)}e.parent=this;var i=this.children;return i||(i=this.children=[]),n!==-1?i.splice(n,0,e):i.push(e),e},t.prototype.attachTo=function(e,n){return n===void 0&&(n=-1),e&&e.adoptChild(this,n),this},t.prototype.collectIssues=function(e){this.issues&&e.push.apply(e,this.issues)},t.prototype.addIssue=function(e){this.issues||(this.issues=[]),this.issues.push(e)},t.prototype.hasIssue=function(e){return Array.isArray(this.issues)&&this.issues.some(function(n){return n.getRule()===e})},t.prototype.isErroneous=function(e){return e===void 0&&(e=!1),this.issues&&this.issues.length>0?!0:e&&Array.isArray(this.children)&&this.children.some(function(n){return n.isErroneous(!0)})},t.prototype.setNode=function(e,n,r){return r===void 0&&(r=-1),n?(n.attachTo(this,r),this[e]=n,!0):!1},t.prototype.addChild=function(e){return e?(this.children||(this.children=[]),e.attachTo(this),this.updateOffsetAndLength(e),!0):!1},t.prototype.updateOffsetAndLength=function(e){(e.offset<this.offset||this.offset===-1)&&(this.offset=e.offset);var n=e.end;(n>this.end||this.length===-1)&&(this.length=n-this.offset)},t.prototype.hasChildren=function(){return!!this.children&&this.children.length>0},t.prototype.getChildren=function(){return this.children?this.children.slice(0):[]},t.prototype.getChild=function(e){return this.children&&e<this.children.length?this.children[e]:null},t.prototype.addChildren=function(e){for(var n=0,r=e;n<r.length;n++){var i=r[n];this.addChild(i)}},t.prototype.findFirstChildBeforeOffset=function(e){if(this.children){for(var n=null,r=this.children.length-1;r>=0;r--)if(n=this.children[r],n.offset<=e)return n}return null},t.prototype.findChildAtOffset=function(e,n){var r=this.findFirstChildBeforeOffset(e);return r&&r.end>=e?n&&r.findChildAtOffset(e,!0)||r:null},t.prototype.encloses=function(e){return this.offset<=e.offset&&this.offset+this.length>=e.offset+e.length},t.prototype.getParent=function(){for(var e=this.parent;e instanceof ke;)e=e.parent;return e},t.prototype.findParent=function(e){for(var n=this;n&&n.type!==e;)n=n.parent;return n},t.prototype.findAParent=function(){for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];for(var r=this;r&&!e.some(function(i){return r.type===i});)r=r.parent;return r},t.prototype.setData=function(e,n){this.options||(this.options={}),this.options[e]=n},t.prototype.getData=function(e){return!this.options||!this.options.hasOwnProperty(e)?null:this.options[e]},t}(),ke=function(t){O(e,t);function e(n,r){r===void 0&&(r=-1);var i=t.call(this,-1,-1)||this;return i.attachTo(n,r),i.offset=-1,i.length=-1,i}return e}(U),Vd=function(t){O(e,t);function e(n,r){return t.call(this,n,r)||this}return Object.defineProperty(e.prototype,"type",{get:function(){return v.UnicodeRange},enumerable:!1,configurable:!0}),e.prototype.setRangeStart=function(n){return this.setNode("rangeStart",n)},e.prototype.getRangeStart=function(){return this.rangeStart},e.prototype.setRangeEnd=function(n){return this.setNode("rangeEnd",n)},e.prototype.getRangeEnd=function(){return this.rangeEnd},e}(U),We=function(t){O(e,t);function e(n,r){var i=t.call(this,n,r)||this;return i.isCustomProperty=!1,i}return Object.defineProperty(e.prototype,"type",{get:function(){return v.Identifier},enumerable:!1,configurable:!0}),e.prototype.containsInterpolation=function(){return this.hasChildren()},e}(U),Bd=function(t){O(e,t);function e(n,r){return t.call(this,n,r)||this}return Object.defineProperty(e.prototype,"type",{get:function(){return v.Stylesheet},enumerable:!1,configurable:!0}),e}(U),di=function(t){O(e,t);function e(n,r){return t.call(this,n,r)||this}return Object.defineProperty(e.prototype,"type",{get:function(){return v.Declarations},enumerable:!1,configurable:!0}),e}(U),he=function(t){O(e,t);function e(n,r){return t.call(this,n,r)||this}return e.prototype.getDeclarations=function(){return this.declarations},e.prototype.setDeclarations=function(n){return this.setNode("declarations",n)},e}(U),Gt=function(t){O(e,t);function e(n,r){return t.call(this,n,r)||this}return Object.defineProperty(e.prototype,"type",{get:function(){return v.Ruleset},enumerable:!1,configurable:!0}),e.prototype.getSelectors=function(){return this.selectors||(this.selectors=new ke(this)),this.selectors},e.prototype.isNested=function(){return!!this.parent&&this.parent.findParent(v.Declarations)!==null},e}(he),yn=function(t){O(e,t);function e(n,r){return t.call(this,n,r)||this}return Object.defineProperty(e.prototype,"type",{get:function(){return v.Selector},enumerable:!1,configurable:!0}),e}(U),Jt=function(t){O(e,t);function e(n,r){return t.call(this,n,r)||this}return Object.defineProperty(e.prototype,"type",{get:function(){return v.SimpleSelector},enumerable:!1,configurable:!0}),e}(U);(function(t){O(e,t);function e(n,r){return t.call(this,n,r)||this}return Object.defineProperty(e.prototype,"type",{get:function(){return v.AtApplyRule},enumerable:!1,configurable:!0}),e.prototype.setIdentifier=function(n){return this.setNode("identifier",n,0)},e.prototype.getIdentifier=function(){return this.identifier},e.prototype.getName=function(){return this.identifier?this.identifier.getText():""},e})(U);var ui=function(t){O(e,t);function e(n,r){return t.call(this,n,r)||this}return e}(U),qd=function(t){O(e,t);function e(n,r){return t.call(this,n,r)||this}return Object.defineProperty(e.prototype,"type",{get:function(){return v.CustomPropertySet},enumerable:!1,configurable:!0}),e}(he),Ze=function(t){O(e,t);function e(n,r){var i=t.call(this,n,r)||this;return i.property=null,i}return Object.defineProperty(e.prototype,"type",{get:function(){return v.Declaration},enumerable:!1,configurable:!0}),e.prototype.setProperty=function(n){return this.setNode("property",n)},e.prototype.getProperty=function(){return this.property},e.prototype.getFullPropertyName=function(){var n=this.property?this.property.getName():"unknown";if(this.parent instanceof di&&this.parent.getParent()instanceof vo){var r=this.parent.getParent().getParent();if(r instanceof e)return r.getFullPropertyName()+n}return n},e.prototype.getNonPrefixedPropertyName=function(){var n=this.getFullPropertyName();if(n&&n.charAt(0)==="-"){var r=n.indexOf("-",1);if(r!==-1)return n.substring(r+1)}return n},e.prototype.setValue=function(n){return this.setNode("value",n)},e.prototype.getValue=function(){return this.value},e.prototype.setNestedProperties=function(n){return this.setNode("nestedProperties",n)},e.prototype.getNestedProperties=function(){return this.nestedProperties},e}(ui),jd=function(t){O(e,t);function e(n,r){return t.call(this,n,r)||this}return Object.defineProperty(e.prototype,"type",{get:function(){return v.CustomPropertyDeclaration},enumerable:!1,configurable:!0}),e.prototype.setPropertySet=function(n){return this.setNode("propertySet",n)},e.prototype.getPropertySet=function(){return this.propertySet},e}(Ze),pi=function(t){O(e,t);function e(n,r){return t.call(this,n,r)||this}return Object.defineProperty(e.prototype,"type",{get:function(){return v.Property},enumerable:!1,configurable:!0}),e.prototype.setIdentifier=function(n){return this.setNode("identifier",n)},e.prototype.getIdentifier=function(){return this.identifier},e.prototype.getName=function(){return Od(this.getText(),/[_\+]+$/)},e.prototype.isCustomProperty=function(){return!!this.identifier&&this.identifier.isCustomProperty},e}(U),$d=function(t){O(e,t);function e(n,r){return t.call(this,n,r)||this}return Object.defineProperty(e.prototype,"type",{get:function(){return v.Invocation},enumerable:!1,configurable:!0}),e.prototype.getArguments=function(){return this.arguments||(this.arguments=new ke(this)),this.arguments},e}(U),wn=function(t){O(e,t);function e(n,r){return t.call(this,n,r)||this}return Object.defineProperty(e.prototype,"type",{get:function(){return v.Function},enumerable:!1,configurable:!0}),e.prototype.setIdentifier=function(n){return this.setNode("identifier",n,0)},e.prototype.getIdentifier=function(){return this.identifier},e.prototype.getName=function(){return this.identifier?this.identifier.getText():""},e}($d),tr=function(t){O(e,t);function e(n,r){return t.call(this,n,r)||this}return Object.defineProperty(e.prototype,"type",{get:function(){return v.FunctionParameter},enumerable:!1,configurable:!0}),e.prototype.setIdentifier=function(n){return this.setNode("identifier",n,0)},e.prototype.getIdentifier=function(){return this.identifier},e.prototype.getName=function(){return this.identifier?this.identifier.getText():""},e.prototype.setDefaultValue=function(n){return this.setNode("defaultValue",n,0)},e.prototype.getDefaultValue=function(){return this.defaultValue},e}(U),Xt=function(t){O(e,t);function e(n,r){return t.call(this,n,r)||this}return Object.defineProperty(e.prototype,"type",{get:function(){return v.FunctionArgument},enumerable:!1,configurable:!0}),e.prototype.setIdentifier=function(n){return this.setNode("identifier",n,0)},e.prototype.getIdentifier=function(){return this.identifier},e.prototype.getName=function(){return this.identifier?this.identifier.getText():""},e.prototype.setValue=function(n){return this.setNode("value",n,0)},e.prototype.getValue=function(){return this.value},e}(U),Hd=function(t){O(e,t);function e(n,r){return t.call(this,n,r)||this}return Object.defineProperty(e.prototype,"type",{get:function(){return v.If},enumerable:!1,configurable:!0}),e.prototype.setExpression=function(n){return this.setNode("expression",n,0)},e.prototype.setElseClause=function(n){return this.setNode("elseClause",n)},e}(he),Gd=function(t){O(e,t);function e(n,r){return t.call(this,n,r)||this}return Object.defineProperty(e.prototype,"type",{get:function(){return v.For},enumerable:!1,configurable:!0}),e.prototype.setVariable=function(n){return this.setNode("variable",n,0)},e}(he),Jd=function(t){O(e,t);function e(n,r){return t.call(this,n,r)||this}return Object.defineProperty(e.prototype,"type",{get:function(){return v.Each},enumerable:!1,configurable:!0}),e.prototype.getVariables=function(){return this.variables||(this.variables=new ke(this)),this.variables},e}(he),Xd=function(t){O(e,t);function e(n,r){return t.call(this,n,r)||this}return Object.defineProperty(e.prototype,"type",{get:function(){return v.While},enumerable:!1,configurable:!0}),e}(he),Yd=function(t){O(e,t);function e(n,r){return t.call(this,n,r)||this}return Object.defineProperty(e.prototype,"type",{get:function(){return v.Else},enumerable:!1,configurable:!0}),e}(he),nr=function(t){O(e,t);function e(n,r){return t.call(this,n,r)||this}return Object.defineProperty(e.prototype,"type",{get:function(){return v.FunctionDeclaration},enumerable:!1,configurable:!0}),e.prototype.setIdentifier=function(n){return this.setNode("identifier",n,0)},e.prototype.getIdentifier=function(){return this.identifier},e.prototype.getName=function(){return this.identifier?this.identifier.getText():""},e.prototype.getParameters=function(){return this.parameters||(this.parameters=new ke(this)),this.parameters},e}(he),Kd=function(t){O(e,t);function e(n,r){return t.call(this,n,r)||this}return Object.defineProperty(e.prototype,"type",{get:function(){return v.ViewPort},enumerable:!1,configurable:!0}),e}(he),bo=function(t){O(e,t);function e(n,r){return t.call(this,n,r)||this}return Object.defineProperty(e.prototype,"type",{get:function(){return v.FontFace},enumerable:!1,configurable:!0}),e}(he),vo=function(t){O(e,t);function e(n,r){return t.call(this,n,r)||this}return Object.defineProperty(e.prototype,"type",{get:function(){return v.NestedProperties},enumerable:!1,configurable:!0}),e}(he),yo=function(t){O(e,t);function e(n,r){return t.call(this,n,r)||this}return Object.defineProperty(e.prototype,"type",{get:function(){return v.Keyframe},enumerable:!1,configurable:!0}),e.prototype.setKeyword=function(n){return this.setNode("keyword",n,0)},e.prototype.getKeyword=function(){return this.keyword},e.prototype.setIdentifier=function(n){return this.setNode("identifier",n,0)},e.prototype.getIdentifier=function(){return this.identifier},e.prototype.getName=function(){return this.identifier?this.identifier.getText():""},e}(he),wo=function(t){O(e,t);function e(n,r){return t.call(this,n,r)||this}return Object.defineProperty(e.prototype,"type",{get:function(){return v.KeyframeSelector},enumerable:!1,configurable:!0}),e}(he),fi=function(t){O(e,t);function e(n,r){return t.call(this,n,r)||this}return Object.defineProperty(e.prototype,"type",{get:function(){return v.Import},enumerable:!1,configurable:!0}),e.prototype.setMedialist=function(n){return n?(n.attachTo(this),!0):!1},e}(U),Qd=function(t){O(e,t);function e(){return t!==null&&t.apply(this,arguments)||this}return Object.defineProperty(e.prototype,"type",{get:function(){return v.Use},enumerable:!1,configurable:!0}),e.prototype.getParameters=function(){return this.parameters||(this.parameters=new ke(this)),this.parameters},e.prototype.setIdentifier=function(n){return this.setNode("identifier",n,0)},e.prototype.getIdentifier=function(){return this.identifier},e}(U),Zd=function(t){O(e,t);function e(){return t!==null&&t.apply(this,arguments)||this}return Object.defineProperty(e.prototype,"type",{get:function(){return v.ModuleConfiguration},enumerable:!1,configurable:!0}),e.prototype.setIdentifier=function(n){return this.setNode("identifier",n,0)},e.prototype.getIdentifier=function(){return this.identifier},e.prototype.getName=function(){return this.identifier?this.identifier.getText():""},e.prototype.setValue=function(n){return this.setNode("value",n,0)},e.prototype.getValue=function(){return this.value},e}(U),eu=function(t){O(e,t);function e(){return t!==null&&t.apply(this,arguments)||this}return Object.defineProperty(e.prototype,"type",{get:function(){return v.Forward},enumerable:!1,configurable:!0}),e.prototype.setIdentifier=function(n){return this.setNode("identifier",n,0)},e.prototype.getIdentifier=function(){return this.identifier},e.prototype.getMembers=function(){return this.members||(this.members=new ke(this)),this.members},e.prototype.getParameters=function(){return this.parameters||(this.parameters=new ke(this)),this.parameters},e}(U),tu=function(t){O(e,t);function e(){return t!==null&&t.apply(this,arguments)||this}return Object.defineProperty(e.prototype,"type",{get:function(){return v.ForwardVisibility},enumerable:!1,configurable:!0}),e.prototype.setIdentifier=function(n){return this.setNode("identifier",n,0)},e.prototype.getIdentifier=function(){return this.identifier},e}(U),nu=function(t){O(e,t);function e(n,r){return t.call(this,n,r)||this}return Object.defineProperty(e.prototype,"type",{get:function(){return v.Namespace},enumerable:!1,configurable:!0}),e}(U),xo=function(t){O(e,t);function e(n,r){return t.call(this,n,r)||this}return Object.defineProperty(e.prototype,"type",{get:function(){return v.Media},enumerable:!1,configurable:!0}),e}(he),mi=function(t){O(e,t);function e(n,r){return t.call(this,n,r)||this}return Object.defineProperty(e.prototype,"type",{get:function(){return v.Supports},enumerable:!1,configurable:!0}),e}(he),ru=function(t){O(e,t);function e(n,r){return t.call(this,n,r)||this}return Object.defineProperty(e.prototype,"type",{get:function(){return v.Document},enumerable:!1,configurable:!0}),e}(he),So=function(t){O(e,t);function e(n,r){return t.call(this,n,r)||this}return e.prototype.getMediums=function(){return this.mediums||(this.mediums=new ke(this)),this.mediums},e}(U),Co=function(t){O(e,t);function e(n,r){return t.call(this,n,r)||this}return Object.defineProperty(e.prototype,"type",{get:function(){return v.MediaQuery},enumerable:!1,configurable:!0}),e}(U),iu=function(t){O(e,t);function e(n,r){return t.call(this,n,r)||this}return Object.defineProperty(e.prototype,"type",{get:function(){return v.MediaCondition},enumerable:!1,configurable:!0}),e}(U),su=function(t){O(e,t);function e(n,r){return t.call(this,n,r)||this}return Object.defineProperty(e.prototype,"type",{get:function(){return v.MediaFeature},enumerable:!1,configurable:!0}),e}(U),xn=function(t){O(e,t);function e(n,r){return t.call(this,n,r)||this}return Object.defineProperty(e.prototype,"type",{get:function(){return v.SupportsCondition},enumerable:!1,configurable:!0}),e}(U),au=function(t){O(e,t);function e(n,r){return t.call(this,n,r)||this}return Object.defineProperty(e.prototype,"type",{get:function(){return v.Page},enumerable:!1,configurable:!0}),e}(he),ou=function(t){O(e,t);function e(n,r){return t.call(this,n,r)||this}return Object.defineProperty(e.prototype,"type",{get:function(){return v.PageBoxMarginBox},enumerable:!1,configurable:!0}),e}(he),ko=function(t){O(e,t);function e(n,r){return t.call(this,n,r)||this}return Object.defineProperty(e.prototype,"type",{get:function(){return v.Expression},enumerable:!1,configurable:!0}),e}(U),gi=function(t){O(e,t);function e(n,r){return t.call(this,n,r)||this}return Object.defineProperty(e.prototype,"type",{get:function(){return v.BinaryExpression},enumerable:!1,configurable:!0}),e.prototype.setLeft=function(n){return this.setNode("left",n)},e.prototype.getLeft=function(){return this.left},e.prototype.setRight=function(n){return this.setNode("right",n)},e.prototype.getRight=function(){return this.right},e.prototype.setOperator=function(n){return this.setNode("operator",n)},e.prototype.getOperator=function(){return this.operator},e}(U),lu=function(t){O(e,t);function e(n,r){return t.call(this,n,r)||this}return Object.defineProperty(e.prototype,"type",{get:function(){return v.Term},enumerable:!1,configurable:!0}),e.prototype.setOperator=function(n){return this.setNode("operator",n)},e.prototype.getOperator=function(){return this.operator},e.prototype.setExpression=function(n){return this.setNode("expression",n)},e.prototype.getExpression=function(){return this.expression},e}(U),cu=function(t){O(e,t);function e(n,r){return t.call(this,n,r)||this}return Object.defineProperty(e.prototype,"type",{get:function(){return v.AttributeSelector},enumerable:!1,configurable:!0}),e.prototype.setNamespacePrefix=function(n){return this.setNode("namespacePrefix",n)},e.prototype.getNamespacePrefix=function(){return this.namespacePrefix},e.prototype.setIdentifier=function(n){return this.setNode("identifier",n)},e.prototype.getIdentifier=function(){return this.identifier},e.prototype.setOperator=function(n){return this.setNode("operator",n)},e.prototype.getOperator=function(){return this.operator},e.prototype.setValue=function(n){return this.setNode("value",n)},e.prototype.getValue=function(){return this.value},e}(U);(function(t){O(e,t);function e(n,r){return t.call(this,n,r)||this}return Object.defineProperty(e.prototype,"type",{get:function(){return v.Operator},enumerable:!1,configurable:!0}),e})(U);var bi=function(t){O(e,t);function e(n,r){return t.call(this,n,r)||this}return Object.defineProperty(e.prototype,"type",{get:function(){return v.HexColorValue},enumerable:!1,configurable:!0}),e}(U),hu=function(t){O(e,t);function e(n,r){return t.call(this,n,r)||this}return Object.defineProperty(e.prototype,"type",{get:function(){return v.RatioValue},enumerable:!1,configurable:!0}),e}(U),du=46,uu=48,pu=57,vi=function(t){O(e,t);function e(n,r){return t.call(this,n,r)||this}return Object.defineProperty(e.prototype,"type",{get:function(){return v.NumericValue},enumerable:!1,configurable:!0}),e.prototype.getValue=function(){for(var n=this.getText(),r=0,i,s=0,a=n.length;s<a&&(i=n.charCodeAt(s),uu<=i&&i<=pu||i===du);s++)r+=1;return{value:n.substring(0,r),unit:r<n.length?n.substring(r):void 0}},e}(U),rr=function(t){O(e,t);function e(n,r){var i=t.call(this,n,r)||this;return i.variable=null,i.value=null,i.needsSemicolon=!0,i}return Object.defineProperty(e.prototype,"type",{get:function(){return v.VariableDeclaration},enumerable:!1,configurable:!0}),e.prototype.setVariable=function(n){return n?(n.attachTo(this),this.variable=n,!0):!1},e.prototype.getVariable=function(){return this.variable},e.prototype.getName=function(){return this.variable?this.variable.getName():""},e.prototype.setValue=function(n){return n?(n.attachTo(this),this.value=n,!0):!1},e.prototype.getValue=function(){return this.value},e}(ui),yi=function(t){O(e,t);function e(n,r){return t.call(this,n,r)||this}return Object.defineProperty(e.prototype,"type",{get:function(){return v.Interpolation},enumerable:!1,configurable:!0}),e}(U),wi=function(t){O(e,t);function e(n,r){return t.call(this,n,r)||this}return Object.defineProperty(e.prototype,"type",{get:function(){return v.VariableName},enumerable:!1,configurable:!0}),e.prototype.getName=function(){return this.getText()},e}(U),Sn=function(t){O(e,t);function e(n,r){return t.call(this,n,r)||this}return Object.defineProperty(e.prototype,"type",{get:function(){return v.ExtendsReference},enumerable:!1,configurable:!0}),e.prototype.getSelectors=function(){return this.selectors||(this.selectors=new ke(this)),this.selectors},e}(U),fu=function(t){O(e,t);function e(n,r){return t.call(this,n,r)||this}return Object.defineProperty(e.prototype,"type",{get:function(){return v.MixinContentReference},enumerable:!1,configurable:!0}),e.prototype.getArguments=function(){return this.arguments||(this.arguments=new ke(this)),this.arguments},e}(U),mu=function(t){O(e,t);function e(n,r){return t.call(this,n,r)||this}return Object.defineProperty(e.prototype,"type",{get:function(){return v.MixinContentReference},enumerable:!1,configurable:!0}),e.prototype.getParameters=function(){return this.parameters||(this.parameters=new ke(this)),this.parameters},e}(he),ir=function(t){O(e,t);function e(n,r){return t.call(this,n,r)||this}return Object.defineProperty(e.prototype,"type",{get:function(){return v.MixinReference},enumerable:!1,configurable:!0}),e.prototype.getNamespaces=function(){return this.namespaces||(this.namespaces=new ke(this)),this.namespaces},e.prototype.setIdentifier=function(n){return this.setNode("identifier",n,0)},e.prototype.getIdentifier=function(){return this.identifier},e.prototype.getName=function(){return this.identifier?this.identifier.getText():""},e.prototype.getArguments=function(){return this.arguments||(this.arguments=new ke(this)),this.arguments},e.prototype.setContent=function(n){return this.setNode("content",n)},e.prototype.getContent=function(){return this.content},e}(U),Cn=function(t){O(e,t);function e(n,r){return t.call(this,n,r)||this}return Object.defineProperty(e.prototype,"type",{get:function(){return v.MixinDeclaration},enumerable:!1,configurable:!0}),e.prototype.setIdentifier=function(n){return this.setNode("identifier",n,0)},e.prototype.getIdentifier=function(){return this.identifier},e.prototype.getName=function(){return this.identifier?this.identifier.getText():""},e.prototype.getParameters=function(){return this.parameters||(this.parameters=new ke(this)),this.parameters},e.prototype.setGuard=function(n){return n&&(n.attachTo(this),this.guard=n),!1},e}(he),_o=function(t){O(e,t);function e(n,r){return t.call(this,n,r)||this}return Object.defineProperty(e.prototype,"type",{get:function(){return v.UnknownAtRule},enumerable:!1,configurable:!0}),e.prototype.setAtRuleName=function(n){this.atRuleName=n},e.prototype.getAtRuleName=function(){return this.atRuleName},e}(he),gu=function(t){O(e,t);function e(){return t!==null&&t.apply(this,arguments)||this}return Object.defineProperty(e.prototype,"type",{get:function(){return v.ListEntry},enumerable:!1,configurable:!0}),e.prototype.setKey=function(n){return this.setNode("key",n,0)},e.prototype.setValue=function(n){return this.setNode("value",n,1)},e}(U),bu=function(t){O(e,t);function e(){return t!==null&&t.apply(this,arguments)||this}return e.prototype.getConditions=function(){return this.conditions||(this.conditions=new ke(this)),this.conditions},e}(U),vu=function(t){O(e,t);function e(){return t!==null&&t.apply(this,arguments)||this}return e.prototype.setVariable=function(n){return this.setNode("variable",n)},e}(U),Eo=function(t){O(e,t);function e(){return t!==null&&t.apply(this,arguments)||this}return Object.defineProperty(e.prototype,"type",{get:function(){return v.Module},enumerable:!1,configurable:!0}),e.prototype.setIdentifier=function(n){return this.setNode("identifier",n,0)},e.prototype.getIdentifier=function(){return this.identifier},e}(U),Le;(function(t){t[t.Ignore=1]="Ignore",t[t.Warning=2]="Warning",t[t.Error=4]="Error"})(Le||(Le={}));var Ro=function(){function t(e,n,r,i,s,a){s===void 0&&(s=e.offset),a===void 0&&(a=e.length),this.node=e,this.rule=n,this.level=r,this.message=i||n.message,this.offset=s,this.length=a}return t.prototype.getRule=function(){return this.rule},t.prototype.getLevel=function(){return this.level},t.prototype.getOffset=function(){return this.offset},t.prototype.getLength=function(){return this.length},t.prototype.getNode=function(){return this.node},t.prototype.getMessage=function(){return this.message},t}(),yu=function(){function t(){this.entries=[]}return t.entries=function(e){var n=new t;return e.acceptVisitor(n),n.entries},t.prototype.visitNode=function(e){return e.isErroneous()&&e.collectIssues(this.entries),!0},t}();function wu(t,e){let n;return e.length===0?n=t:n=t.replace(/\{(\d+)\}/g,(r,i)=>{let s=i[0];return typeof e[s]<"u"?e[s]:r}),n}function xu(t,e,...n){return wu(e,n)}function Ge(t){return xu}var ee=Ge(),te=function(){function t(e,n){this.id=e,this.message=n}return t}(),S={NumberExpected:new te("css-numberexpected",ee("expected.number","number expected")),ConditionExpected:new te("css-conditionexpected",ee("expected.condt","condition expected")),RuleOrSelectorExpected:new te("css-ruleorselectorexpected",ee("expected.ruleorselector","at-rule or selector expected")),DotExpected:new te("css-dotexpected",ee("expected.dot","dot expected")),ColonExpected:new te("css-colonexpected",ee("expected.colon","colon expected")),SemiColonExpected:new te("css-semicolonexpected",ee("expected.semicolon","semi-colon expected")),TermExpected:new te("css-termexpected",ee("expected.term","term expected")),ExpressionExpected:new te("css-expressionexpected",ee("expected.expression","expression expected")),OperatorExpected:new te("css-operatorexpected",ee("expected.operator","operator expected")),IdentifierExpected:new te("css-identifierexpected",ee("expected.ident","identifier expected")),PercentageExpected:new te("css-percentageexpected",ee("expected.percentage","percentage expected")),URIOrStringExpected:new te("css-uriorstringexpected",ee("expected.uriorstring","uri or string expected")),URIExpected:new te("css-uriexpected",ee("expected.uri","URI expected")),VariableNameExpected:new te("css-varnameexpected",ee("expected.varname","variable name expected")),VariableValueExpected:new te("css-varvalueexpected",ee("expected.varvalue","variable value expected")),PropertyValueExpected:new te("css-propertyvalueexpected",ee("expected.propvalue","property value expected")),LeftCurlyExpected:new te("css-lcurlyexpected",ee("expected.lcurly","{ expected")),RightCurlyExpected:new te("css-rcurlyexpected",ee("expected.rcurly","} expected")),LeftSquareBracketExpected:new te("css-rbracketexpected",ee("expected.lsquare","[ expected")),RightSquareBracketExpected:new te("css-lbracketexpected",ee("expected.rsquare","] expected")),LeftParenthesisExpected:new te("css-lparentexpected",ee("expected.lparen","( expected")),RightParenthesisExpected:new te("css-rparentexpected",ee("expected.rparent",") expected")),CommaExpected:new te("css-commaexpected",ee("expected.comma","comma expected")),PageDirectiveOrDeclarationExpected:new te("css-pagedirordeclexpected",ee("expected.pagedirordecl","page directive or declaraton expected")),UnknownAtRule:new te("css-unknownatrule",ee("unknown.atrule","at-rule unknown")),UnknownKeyword:new te("css-unknownkeyword",ee("unknown.keyword","unknown keyword")),SelectorExpected:new te("css-selectorexpected",ee("expected.selector","selector expected")),StringLiteralExpected:new te("css-stringliteralexpected",ee("expected.stringliteral","string literal expected")),WhitespaceExpected:new te("css-whitespaceexpected",ee("expected.whitespace","whitespace expected")),MediaQueryExpected:new te("css-mediaqueryexpected",ee("expected.mediaquery","media query expected")),IdentifierOrWildcardExpected:new te("css-idorwildcardexpected",ee("expected.idorwildcard","identifier or wildcard expected")),WildcardExpected:new te("css-wildcardexpected",ee("expected.wildcard","wildcard expected")),IdentifierOrVariableExpected:new te("css-idorvarexpected",ee("expected.idorvar","identifier or variable expected"))},Fo;(function(t){t.MIN_VALUE=-2147483648,t.MAX_VALUE=2147483647})(Fo||(Fo={}));var sr;(function(t){t.MIN_VALUE=0,t.MAX_VALUE=2147483647})(sr||(sr={}));var Fe;(function(t){function e(r,i){return r===Number.MAX_VALUE&&(r=sr.MAX_VALUE),i===Number.MAX_VALUE&&(i=sr.MAX_VALUE),{line:r,character:i}}t.create=e;function n(r){var i=r;return E.objectLiteral(i)&&E.uinteger(i.line)&&E.uinteger(i.character)}t.is=n})(Fe||(Fe={}));var ie;(function(t){function e(r,i,s,a){if(E.uinteger(r)&&E.uinteger(i)&&E.uinteger(s)&&E.uinteger(a))return{start:Fe.create(r,i),end:Fe.create(s,a)};if(Fe.is(r)&&Fe.is(i))return{start:r,end:i};throw new Error("Range#create called with invalid arguments["+r+", "+i+", "+s+", "+a+"]")}t.create=e;function n(r){var i=r;return E.objectLiteral(i)&&Fe.is(i.start)&&Fe.is(i.end)}t.is=n})(ie||(ie={}));var kn;(function(t){function e(r,i){return{uri:r,range:i}}t.create=e;function n(r){var i=r;return E.defined(i)&&ie.is(i.range)&&(E.string(i.uri)||E.undefined(i.uri))}t.is=n})(kn||(kn={}));var Do;(function(t){function e(r,i,s,a){return{targetUri:r,targetRange:i,targetSelectionRange:s,originSelectionRange:a}}t.create=e;function n(r){var i=r;return E.defined(i)&&ie.is(i.targetRange)&&E.string(i.targetUri)&&(ie.is(i.targetSelectionRange)||E.undefined(i.targetSelectionRange))&&(ie.is(i.originSelectionRange)||E.undefined(i.originSelectionRange))}t.is=n})(Do||(Do={}));var xi;(function(t){function e(r,i,s,a){return{red:r,green:i,blue:s,alpha:a}}t.create=e;function n(r){var i=r;return E.numberRange(i.red,0,1)&&E.numberRange(i.green,0,1)&&E.numberRange(i.blue,0,1)&&E.numberRange(i.alpha,0,1)}t.is=n})(xi||(xi={}));var Ao;(function(t){function e(r,i){return{range:r,color:i}}t.create=e;function n(r){var i=r;return ie.is(i.range)&&xi.is(i.color)}t.is=n})(Ao||(Ao={}));var No;(function(t){function e(r,i,s){return{label:r,textEdit:i,additionalTextEdits:s}}t.create=e;function n(r){var i=r;return E.string(i.label)&&(E.undefined(i.textEdit)||H.is(i))&&(E.undefined(i.additionalTextEdits)||E.typedArray(i.additionalTextEdits,H.is))}t.is=n})(No||(No={}));var Mo;(function(t){t.Comment="comment",t.Imports="imports",t.Region="region"})(Mo||(Mo={}));var zo;(function(t){function e(r,i,s,a,o){var l={startLine:r,endLine:i};return E.defined(s)&&(l.startCharacter=s),E.defined(a)&&(l.endCharacter=a),E.defined(o)&&(l.kind=o),l}t.create=e;function n(r){var i=r;return E.uinteger(i.startLine)&&E.uinteger(i.startLine)&&(E.undefined(i.startCharacter)||E.uinteger(i.startCharacter))&&(E.undefined(i.endCharacter)||E.uinteger(i.endCharacter))&&(E.undefined(i.kind)||E.string(i.kind))}t.is=n})(zo||(zo={}));var Si;(function(t){function e(r,i){return{location:r,message:i}}t.create=e;function n(r){var i=r;return E.defined(i)&&kn.is(i.location)&&E.string(i.message)}t.is=n})(Si||(Si={}));var ar;(function(t){t.Error=1,t.Warning=2,t.Information=3,t.Hint=4})(ar||(ar={}));var Po;(function(t){t.Unnecessary=1,t.Deprecated=2})(Po||(Po={}));var Lo;(function(t){function e(n){var r=n;return r!=null&&E.string(r.href)}t.is=e})(Lo||(Lo={}));var or;(function(t){function e(r,i,s,a,o,l){var c={range:r,message:i};return E.defined(s)&&(c.severity=s),E.defined(a)&&(c.code=a),E.defined(o)&&(c.source=o),E.defined(l)&&(c.relatedInformation=l),c}t.create=e;function n(r){var i,s=r;return E.defined(s)&&ie.is(s.range)&&E.string(s.message)&&(E.number(s.severity)||E.undefined(s.severity))&&(E.integer(s.code)||E.string(s.code)||E.undefined(s.code))&&(E.undefined(s.codeDescription)||E.string((i=s.codeDescription)===null||i===void 0?void 0:i.href))&&(E.string(s.source)||E.undefined(s.source))&&(E.undefined(s.relatedInformation)||E.typedArray(s.relatedInformation,Si.is))}t.is=n})(or||(or={}));var Yt;(function(t){function e(r,i){for(var s=[],a=2;a<arguments.length;a++)s[a-2]=arguments[a];var o={title:r,command:i};return E.defined(s)&&s.length>0&&(o.arguments=s),o}t.create=e;function n(r){var i=r;return E.defined(i)&&E.string(i.title)&&E.string(i.command)}t.is=n})(Yt||(Yt={}));var H;(function(t){function e(s,a){return{range:s,newText:a}}t.replace=e;function n(s,a){return{range:{start:s,end:s},newText:a}}t.insert=n;function r(s){return{range:s,newText:""}}t.del=r;function i(s){var a=s;return E.objectLiteral(a)&&E.string(a.newText)&&ie.is(a.range)}t.is=i})(H||(H={}));var Kt;(function(t){function e(r,i,s){var a={label:r};return i!==void 0&&(a.needsConfirmation=i),s!==void 0&&(a.description=s),a}t.create=e;function n(r){var i=r;return i!==void 0&&E.objectLiteral(i)&&E.string(i.label)&&(E.boolean(i.needsConfirmation)||i.needsConfirmation===void 0)&&(E.string(i.description)||i.description===void 0)}t.is=n})(Kt||(Kt={}));var Ee;(function(t){function e(n){var r=n;return typeof r=="string"}t.is=e})(Ee||(Ee={}));var bt;(function(t){function e(s,a,o){return{range:s,newText:a,annotationId:o}}t.replace=e;function n(s,a,o){return{range:{start:s,end:s},newText:a,annotationId:o}}t.insert=n;function r(s,a){return{range:s,newText:"",annotationId:a}}t.del=r;function i(s){var a=s;return H.is(a)&&(Kt.is(a.annotationId)||Ee.is(a.annotationId))}t.is=i})(bt||(bt={}));var _n;(function(t){function e(r,i){return{textDocument:r,edits:i}}t.create=e;function n(r){var i=r;return E.defined(i)&&cr.is(i.textDocument)&&Array.isArray(i.edits)}t.is=n})(_n||(_n={}));var En;(function(t){function e(r,i,s){var a={kind:"create",uri:r};return i!==void 0&&(i.overwrite!==void 0||i.ignoreIfExists!==void 0)&&(a.options=i),s!==void 0&&(a.annotationId=s),a}t.create=e;function n(r){var i=r;return i&&i.kind==="create"&&E.string(i.uri)&&(i.options===void 0||(i.options.overwrite===void 0||E.boolean(i.options.overwrite))&&(i.options.ignoreIfExists===void 0||E.boolean(i.options.ignoreIfExists)))&&(i.annotationId===void 0||Ee.is(i.annotationId))}t.is=n})(En||(En={}));var Rn;(function(t){function e(r,i,s,a){var o={kind:"rename",oldUri:r,newUri:i};return s!==void 0&&(s.overwrite!==void 0||s.ignoreIfExists!==void 0)&&(o.options=s),a!==void 0&&(o.annotationId=a),o}t.create=e;function n(r){var i=r;return i&&i.kind==="rename"&&E.string(i.oldUri)&&E.string(i.newUri)&&(i.options===void 0||(i.options.overwrite===void 0||E.boolean(i.options.overwrite))&&(i.options.ignoreIfExists===void 0||E.boolean(i.options.ignoreIfExists)))&&(i.annotationId===void 0||Ee.is(i.annotationId))}t.is=n})(Rn||(Rn={}));var Fn;(function(t){function e(r,i,s){var a={kind:"delete",uri:r};return i!==void 0&&(i.recursive!==void 0||i.ignoreIfNotExists!==void 0)&&(a.options=i),s!==void 0&&(a.annotationId=s),a}t.create=e;function n(r){var i=r;return i&&i.kind==="delete"&&E.string(i.uri)&&(i.options===void 0||(i.options.recursive===void 0||E.boolean(i.options.recursive))&&(i.options.ignoreIfNotExists===void 0||E.boolean(i.options.ignoreIfNotExists)))&&(i.annotationId===void 0||Ee.is(i.annotationId))}t.is=n})(Fn||(Fn={}));var Ci;(function(t){function e(n){var r=n;return r&&(r.changes!==void 0||r.documentChanges!==void 0)&&(r.documentChanges===void 0||r.documentChanges.every(function(i){return E.string(i.kind)?En.is(i)||Rn.is(i)||Fn.is(i):_n.is(i)}))}t.is=e})(Ci||(Ci={}));var lr=function(){function t(e,n){this.edits=e,this.changeAnnotations=n}return t.prototype.insert=function(e,n,r){var i,s;if(r===void 0?i=H.insert(e,n):Ee.is(r)?(s=r,i=bt.insert(e,n,r)):(this.assertChangeAnnotations(this.changeAnnotations),s=this.changeAnnotations.manage(r),i=bt.insert(e,n,s)),this.edits.push(i),s!==void 0)return s},t.prototype.replace=function(e,n,r){var i,s;if(r===void 0?i=H.replace(e,n):Ee.is(r)?(s=r,i=bt.replace(e,n,r)):(this.assertChangeAnnotations(this.changeAnnotations),s=this.changeAnnotations.manage(r),i=bt.replace(e,n,s)),this.edits.push(i),s!==void 0)return s},t.prototype.delete=function(e,n){var r,i;if(n===void 0?r=H.del(e):Ee.is(n)?(i=n,r=bt.del(e,n)):(this.assertChangeAnnotations(this.changeAnnotations),i=this.changeAnnotations.manage(n),r=bt.del(e,i)),this.edits.push(r),i!==void 0)return i},t.prototype.add=function(e){this.edits.push(e)},t.prototype.all=function(){return this.edits},t.prototype.clear=function(){this.edits.splice(0,this.edits.length)},t.prototype.assertChangeAnnotations=function(e){if(e===void 0)throw new Error("Text edit change is not configured to manage change annotations.")},t}(),Io=function(){function t(e){this._annotations=e===void 0?Object.create(null):e,this._counter=0,this._size=0}return t.prototype.all=function(){return this._annotations},Object.defineProperty(t.prototype,"size",{get:function(){return this._size},enumerable:!1,configurable:!0}),t.prototype.manage=function(e,n){var r;if(Ee.is(e)?r=e:(r=this.nextId(),n=e),this._annotations[r]!==void 0)throw new Error("Id "+r+" is already in use.");if(n===void 0)throw new Error("No annotation provided for id "+r);return this._annotations[r]=n,this._size++,r},t.prototype.nextId=function(){return this._counter++,this._counter.toString()},t}();(function(){function t(e){var n=this;this._textEditChanges=Object.create(null),e!==void 0?(this._workspaceEdit=e,e.documentChanges?(this._changeAnnotations=new Io(e.changeAnnotations),e.changeAnnotations=this._changeAnnotations.all(),e.documentChanges.forEach(function(r){if(_n.is(r)){var i=new lr(r.edits,n._changeAnnotations);n._textEditChanges[r.textDocument.uri]=i}})):e.changes&&Object.keys(e.changes).forEach(function(r){var i=new lr(e.changes[r]);n._textEditChanges[r]=i})):this._workspaceEdit={}}return Object.defineProperty(t.prototype,"edit",{get:function(){return this.initDocumentChanges(),this._changeAnnotations!==void 0&&(this._changeAnnotations.size===0?this._workspaceEdit.changeAnnotations=void 0:this._workspaceEdit.changeAnnotations=this._changeAnnotations.all()),this._workspaceEdit},enumerable:!1,configurable:!0}),t.prototype.getTextEditChange=function(e){if(cr.is(e)){if(this.initDocumentChanges(),this._workspaceEdit.documentChanges===void 0)throw new Error("Workspace edit is not configured for document changes.");var n={uri:e.uri,version:e.version},r=this._textEditChanges[n.uri];if(!r){var i=[],s={textDocument:n,edits:i};this._workspaceEdit.documentChanges.push(s),r=new lr(i,this._changeAnnotations),this._textEditChanges[n.uri]=r}return r}else{if(this.initChanges(),this._workspaceEdit.changes===void 0)throw new Error("Workspace edit is not configured for normal text edit changes.");var r=this._textEditChanges[e];if(!r){var i=[];this._workspaceEdit.changes[e]=i,r=new lr(i),this._textEditChanges[e]=r}return r}},t.prototype.initDocumentChanges=function(){this._workspaceEdit.documentChanges===void 0&&this._workspaceEdit.changes===void 0&&(this._changeAnnotations=new Io,this._workspaceEdit.documentChanges=[],this._workspaceEdit.changeAnnotations=this._changeAnnotations.all())},t.prototype.initChanges=function(){this._workspaceEdit.documentChanges===void 0&&this._workspaceEdit.changes===void 0&&(this._workspaceEdit.changes=Object.create(null))},t.prototype.createFile=function(e,n,r){if(this.initDocumentChanges(),this._workspaceEdit.documentChanges===void 0)throw new Error("Workspace edit is not configured for document changes.");var i;Kt.is(n)||Ee.is(n)?i=n:r=n;var s,a;if(i===void 0?s=En.create(e,r):(a=Ee.is(i)?i:this._changeAnnotations.manage(i),s=En.create(e,r,a)),this._workspaceEdit.documentChanges.push(s),a!==void 0)return a},t.prototype.renameFile=function(e,n,r,i){if(this.initDocumentChanges(),this._workspaceEdit.documentChanges===void 0)throw new Error("Workspace edit is not configured for document changes.");var s;Kt.is(r)||Ee.is(r)?s=r:i=r;var a,o;if(s===void 0?a=Rn.create(e,n,i):(o=Ee.is(s)?s:this._changeAnnotations.manage(s),a=Rn.create(e,n,i,o)),this._workspaceEdit.documentChanges.push(a),o!==void 0)return o},t.prototype.deleteFile=function(e,n,r){if(this.initDocumentChanges(),this._workspaceEdit.documentChanges===void 0)throw new Error("Workspace edit is not configured for document changes.");var i;Kt.is(n)||Ee.is(n)?i=n:r=n;var s,a;if(i===void 0?s=Fn.create(e,r):(a=Ee.is(i)?i:this._changeAnnotations.manage(i),s=Fn.create(e,r,a)),this._workspaceEdit.documentChanges.push(s),a!==void 0)return a},t})();var To;(function(t){function e(r){return{uri:r}}t.create=e;function n(r){var i=r;return E.defined(i)&&E.string(i.uri)}t.is=n})(To||(To={}));var ki;(function(t){function e(r,i){return{uri:r,version:i}}t.create=e;function n(r){var i=r;return E.defined(i)&&E.string(i.uri)&&E.integer(i.version)}t.is=n})(ki||(ki={}));var cr;(function(t){function e(r,i){return{uri:r,version:i}}t.create=e;function n(r){var i=r;return E.defined(i)&&E.string(i.uri)&&(i.version===null||E.integer(i.version))}t.is=n})(cr||(cr={}));var Wo;(function(t){function e(r,i,s,a){return{uri:r,languageId:i,version:s,text:a}}t.create=e;function n(r){var i=r;return E.defined(i)&&E.string(i.uri)&&E.string(i.languageId)&&E.integer(i.version)&&E.string(i.text)}t.is=n})(Wo||(Wo={}));var Oe;(function(t){t.PlainText="plaintext",t.Markdown="markdown"})(Oe||(Oe={})),function(t){function e(n){var r=n;return r===t.PlainText||r===t.Markdown}t.is=e}(Oe||(Oe={}));var _i;(function(t){function e(n){var r=n;return E.objectLiteral(n)&&Oe.is(r.kind)&&E.string(r.value)}t.is=e})(_i||(_i={}));var $;(function(t){t.Text=1,t.Method=2,t.Function=3,t.Constructor=4,t.Field=5,t.Variable=6,t.Class=7,t.Interface=8,t.Module=9,t.Property=10,t.Unit=11,t.Value=12,t.Enum=13,t.Keyword=14,t.Snippet=15,t.Color=16,t.File=17,t.Reference=18,t.Folder=19,t.EnumMember=20,t.Constant=21,t.Struct=22,t.Event=23,t.Operator=24,t.TypeParameter=25})($||($={}));var Ie;(function(t){t.PlainText=1,t.Snippet=2})(Ie||(Ie={}));var _t;(function(t){t.Deprecated=1})(_t||(_t={}));var Oo;(function(t){function e(r,i,s){return{newText:r,insert:i,replace:s}}t.create=e;function n(r){var i=r;return i&&E.string(i.newText)&&ie.is(i.insert)&&ie.is(i.replace)}t.is=n})(Oo||(Oo={}));var Uo;(function(t){t.asIs=1,t.adjustIndentation=2})(Uo||(Uo={}));var Vo;(function(t){function e(n){return{label:n}}t.create=e})(Vo||(Vo={}));var Bo;(function(t){function e(n,r){return{items:n||[],isIncomplete:!!r}}t.create=e})(Bo||(Bo={}));var hr;(function(t){function e(r){return r.replace(/[\\`*_{}[\]()#+\-.!]/g,"\\$&")}t.fromPlainText=e;function n(r){var i=r;return E.string(i)||E.objectLiteral(i)&&E.string(i.language)&&E.string(i.value)}t.is=n})(hr||(hr={}));var qo;(function(t){function e(n){var r=n;return!!r&&E.objectLiteral(r)&&(_i.is(r.contents)||hr.is(r.contents)||E.typedArray(r.contents,hr.is))&&(n.range===void 0||ie.is(n.range))}t.is=e})(qo||(qo={}));var jo;(function(t){function e(n,r){return r?{label:n,documentation:r}:{label:n}}t.create=e})(jo||(jo={}));var $o;(function(t){function e(n,r){for(var i=[],s=2;s<arguments.length;s++)i[s-2]=arguments[s];var a={label:n};return E.defined(r)&&(a.documentation=r),E.defined(i)?a.parameters=i:a.parameters=[],a}t.create=e})($o||($o={}));var Qt;(function(t){t.Text=1,t.Read=2,t.Write=3})(Qt||(Qt={}));var Ho;(function(t){function e(n,r){var i={range:n};return E.number(r)&&(i.kind=r),i}t.create=e})(Ho||(Ho={}));var Et;(function(t){t.File=1,t.Module=2,t.Namespace=3,t.Package=4,t.Class=5,t.Method=6,t.Property=7,t.Field=8,t.Constructor=9,t.Enum=10,t.Interface=11,t.Function=12,t.Variable=13,t.Constant=14,t.String=15,t.Number=16,t.Boolean=17,t.Array=18,t.Object=19,t.Key=20,t.Null=21,t.EnumMember=22,t.Struct=23,t.Event=24,t.Operator=25,t.TypeParameter=26})(Et||(Et={}));var Go;(function(t){t.Deprecated=1})(Go||(Go={}));var Jo;(function(t){function e(n,r,i,s,a){var o={name:n,kind:r,location:{uri:s,range:i}};return a&&(o.containerName=a),o}t.create=e})(Jo||(Jo={}));var Xo;(function(t){function e(r,i,s,a,o,l){var c={name:r,detail:i,kind:s,range:a,selectionRange:o};return l!==void 0&&(c.children=l),c}t.create=e;function n(r){var i=r;return i&&E.string(i.name)&&E.number(i.kind)&&ie.is(i.range)&&ie.is(i.selectionRange)&&(i.detail===void 0||E.string(i.detail))&&(i.deprecated===void 0||E.boolean(i.deprecated))&&(i.children===void 0||Array.isArray(i.children))&&(i.tags===void 0||Array.isArray(i.tags))}t.is=n})(Xo||(Xo={}));var Ei;(function(t){t.Empty="",t.QuickFix="quickfix",t.Refactor="refactor",t.RefactorExtract="refactor.extract",t.RefactorInline="refactor.inline",t.RefactorRewrite="refactor.rewrite",t.Source="source",t.SourceOrganizeImports="source.organizeImports",t.SourceFixAll="source.fixAll"})(Ei||(Ei={}));var Yo;(function(t){function e(r,i){var s={diagnostics:r};return i!=null&&(s.only=i),s}t.create=e;function n(r){var i=r;return E.defined(i)&&E.typedArray(i.diagnostics,or.is)&&(i.only===void 0||E.typedArray(i.only,E.string))}t.is=n})(Yo||(Yo={}));var Ri;(function(t){function e(r,i,s){var a={title:r},o=!0;return typeof i=="string"?(o=!1,a.kind=i):Yt.is(i)?a.command=i:a.edit=i,o&&s!==void 0&&(a.kind=s),a}t.create=e;function n(r){var i=r;return i&&E.string(i.title)&&(i.diagnostics===void 0||E.typedArray(i.diagnostics,or.is))&&(i.kind===void 0||E.string(i.kind))&&(i.edit!==void 0||i.command!==void 0)&&(i.command===void 0||Yt.is(i.command))&&(i.isPreferred===void 0||E.boolean(i.isPreferred))&&(i.edit===void 0||Ci.is(i.edit))}t.is=n})(Ri||(Ri={}));var Ko;(function(t){function e(r,i){var s={range:r};return E.defined(i)&&(s.data=i),s}t.create=e;function n(r){var i=r;return E.defined(i)&&ie.is(i.range)&&(E.undefined(i.command)||Yt.is(i.command))}t.is=n})(Ko||(Ko={}));var Qo;(function(t){function e(r,i){return{tabSize:r,insertSpaces:i}}t.create=e;function n(r){var i=r;return E.defined(i)&&E.uinteger(i.tabSize)&&E.boolean(i.insertSpaces)}t.is=n})(Qo||(Qo={}));var Zo;(function(t){function e(r,i,s){return{range:r,target:i,data:s}}t.create=e;function n(r){var i=r;return E.defined(i)&&ie.is(i.range)&&(E.undefined(i.target)||E.string(i.target))}t.is=n})(Zo||(Zo={}));var dr;(function(t){function e(r,i){return{range:r,parent:i}}t.create=e;function n(r){var i=r;return i!==void 0&&ie.is(i.range)&&(i.parent===void 0||t.is(i.parent))}t.is=n})(dr||(dr={}));var el;(function(t){function e(s,a,o,l){return new Su(s,a,o,l)}t.create=e;function n(s){var a=s;return!!(E.defined(a)&&E.string(a.uri)&&(E.undefined(a.languageId)||E.string(a.languageId))&&E.uinteger(a.lineCount)&&E.func(a.getText)&&E.func(a.positionAt)&&E.func(a.offsetAt))}t.is=n;function r(s,a){for(var o=s.getText(),l=i(a,function(g,b){var y=g.range.start.line-b.range.start.line;return y===0?g.range.start.character-b.range.start.character:y}),c=o.length,h=l.length-1;h>=0;h--){var u=l[h],f=s.offsetAt(u.range.start),m=s.offsetAt(u.range.end);if(m<=c)o=o.substring(0,f)+u.newText+o.substring(m,o.length);else throw new Error("Overlapping edit");c=f}return o}t.applyEdits=r;function i(s,a){if(s.length<=1)return s;var o=s.length/2|0,l=s.slice(0,o),c=s.slice(o);i(l,a),i(c,a);for(var h=0,u=0,f=0;h<l.length&&u<c.length;){var m=a(l[h],c[u]);m<=0?s[f++]=l[h++]:s[f++]=c[u++]}for(;h<l.length;)s[f++]=l[h++];for(;u<c.length;)s[f++]=c[u++];return s}})(el||(el={}));var Su=function(){function t(e,n,r,i){this._uri=e,this._languageId=n,this._version=r,this._content=i,this._lineOffsets=void 0}return Object.defineProperty(t.prototype,"uri",{get:function(){return this._uri},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"languageId",{get:function(){return this._languageId},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"version",{get:function(){return this._version},enumerable:!1,configurable:!0}),t.prototype.getText=function(e){if(e){var n=this.offsetAt(e.start),r=this.offsetAt(e.end);return this._content.substring(n,r)}return this._content},t.prototype.update=function(e,n){this._content=e.text,this._version=n,this._lineOffsets=void 0},t.prototype.getLineOffsets=function(){if(this._lineOffsets===void 0){for(var e=[],n=this._content,r=!0,i=0;i<n.length;i++){r&&(e.push(i),r=!1);var s=n.charAt(i);r=s==="\r"||s===`
17
+ `),!0}return!1},t.prototype._escape=function(e,n){var r=this.stream.peekChar();if(r===ai){this.stream.advance(1),r=this.stream.peekChar();for(var i=0;i<6&&(r>=fn&&r<=mn||r>=Zn&&r<=to||r>=er&&r<=ro);)this.stream.advance(1),r=this.stream.peekChar(),i++;if(i>0){try{var s=parseInt(this.stream.substring(this.stream.pos()-i),16);s&&e.push(String.fromCharCode(s))}catch{}return r===oi||r===li?this.stream.advance(1):this._newline([]),!0}if(r!==Ht&&r!==bn&&r!==$t)return this.stream.advance(1),e.push(String.fromCharCode(r)),!0;if(n)return this._newline(e)}return!1},t.prototype._stringChar=function(e,n){var r=this.stream.peekChar();return r!==0&&r!==e&&r!==ai&&r!==Ht&&r!==bn&&r!==$t?(this.stream.advance(1),n.push(String.fromCharCode(r)),!0):!1},t.prototype._string=function(e){if(this.stream.peekChar()===ho||this.stream.peekChar()===co){var n=this.stream.nextChar();for(e.push(String.fromCharCode(n));this._stringChar(n,e)||this._escape(e,!0););return this.stream.peekChar()===n?(this.stream.nextChar(),e.push(String.fromCharCode(n)),p.String):p.BadString}return null},t.prototype._unquotedChar=function(e){var n=this.stream.peekChar();return n!==0&&n!==ai&&n!==ho&&n!==co&&n!==ao&&n!==oo&&n!==oi&&n!==li&&n!==$t&&n!==bn&&n!==Ht?(this.stream.advance(1),e.push(String.fromCharCode(n)),!0):!1},t.prototype._unquotedString=function(e){for(var n=!1;this._unquotedChar(e)||this._escape(e);)n=!0;return n},t.prototype._whitespace=function(){var e=this.stream.advanceWhileChar(function(n){return n===oi||n===li||n===$t||n===bn||n===Ht});return e>0},t.prototype._name=function(e){for(var n=!1;this._identChar(e)||this._escape(e);)n=!0;return n},t.prototype.ident=function(e){var n=this.stream.pos(),r=this._minus(e);if(r){if(this._minus(e)||this._identFirstChar(e)||this._escape(e)){for(;this._identChar(e)||this._escape(e););return!0}}else if(this._identFirstChar(e)||this._escape(e)){for(;this._identChar(e)||this._escape(e););return!0}return this.stream.goBackTo(n),!1},t.prototype._identFirstChar=function(e){var n=this.stream.peekChar();return n===so||n>=Zn&&n<=no||n>=er&&n<=io||n>=128&&n<=65535?(this.stream.advance(1),e.push(String.fromCharCode(n)),!0):!1},t.prototype._minus=function(e){var n=this.stream.peekChar();return n===kt?(this.stream.advance(1),e.push(String.fromCharCode(n)),!0):!1},t.prototype._identChar=function(e){var n=this.stream.peekChar();return n===so||n===kt||n>=Zn&&n<=no||n>=er&&n<=io||n>=fn&&n<=mn||n>=128&&n<=65535?(this.stream.advance(1),e.push(String.fromCharCode(n)),!0):!1},t.prototype._unicodeRange=function(){if(this.stream.advanceIfChar(Td)){var e=function(i){return i>=fn&&i<=mn||i>=Zn&&i<=to||i>=er&&i<=ro},n=this.stream.advanceWhileChar(e)+this.stream.advanceWhileChar(function(i){return i===Id});if(n>=1&&n<=6)if(this.stream.advanceIfChar(kt)){var r=this.stream.advanceWhileChar(e);if(r>=1&&r<=6)return!0}else return!0}return!1},t}();function ge(t,e){if(t.length<e.length)return!1;for(var n=0;n<e.length;n++)if(t[n]!==e[n])return!1;return!0}function fo(t,e){var n=t.length-e.length;return n>0?t.lastIndexOf(e)===n:n===0?t===e:!1}function Wd(t,e,n){n===void 0&&(n=4);var r=Math.abs(t.length-e.length);if(r>n)return 0;var i=[],s=[],a,o;for(a=0;a<e.length+1;++a)s.push(0);for(a=0;a<t.length+1;++a)i.push(s);for(a=1;a<t.length+1;++a)for(o=1;o<e.length+1;++o)t[a-1]===e[o-1]?i[a][o]=i[a-1][o-1]+1:i[a][o]=Math.max(i[a-1][o],i[a][o-1]);return i[t.length][e.length]-Math.sqrt(r)}function mo(t,e){return e===void 0&&(e=!0),t?t.length<140?t:t.slice(0,140)+(e?"…":""):""}function Od(t,e){var n=e.exec(t);return n&&n[0].length?t.substr(0,t.length-n[0].length):t}function go(t,e){for(var n="";e>0;)(e&1)===1&&(n+=t),t+=t,e=e>>>1;return n}var O=function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,i){r.__proto__=i}||function(r,i){for(var s in i)Object.prototype.hasOwnProperty.call(i,s)&&(r[s]=i[s])},t(e,n)};return function(e,n){if(typeof n!="function"&&n!==null)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");t(e,n);function r(){this.constructor=e}e.prototype=n===null?Object.create(n):(r.prototype=n.prototype,new r)}}(),v;(function(t){t[t.Undefined=0]="Undefined",t[t.Identifier=1]="Identifier",t[t.Stylesheet=2]="Stylesheet",t[t.Ruleset=3]="Ruleset",t[t.Selector=4]="Selector",t[t.SimpleSelector=5]="SimpleSelector",t[t.SelectorInterpolation=6]="SelectorInterpolation",t[t.SelectorCombinator=7]="SelectorCombinator",t[t.SelectorCombinatorParent=8]="SelectorCombinatorParent",t[t.SelectorCombinatorSibling=9]="SelectorCombinatorSibling",t[t.SelectorCombinatorAllSiblings=10]="SelectorCombinatorAllSiblings",t[t.SelectorCombinatorShadowPiercingDescendant=11]="SelectorCombinatorShadowPiercingDescendant",t[t.Page=12]="Page",t[t.PageBoxMarginBox=13]="PageBoxMarginBox",t[t.ClassSelector=14]="ClassSelector",t[t.IdentifierSelector=15]="IdentifierSelector",t[t.ElementNameSelector=16]="ElementNameSelector",t[t.PseudoSelector=17]="PseudoSelector",t[t.AttributeSelector=18]="AttributeSelector",t[t.Declaration=19]="Declaration",t[t.Declarations=20]="Declarations",t[t.Property=21]="Property",t[t.Expression=22]="Expression",t[t.BinaryExpression=23]="BinaryExpression",t[t.Term=24]="Term",t[t.Operator=25]="Operator",t[t.Value=26]="Value",t[t.StringLiteral=27]="StringLiteral",t[t.URILiteral=28]="URILiteral",t[t.EscapedValue=29]="EscapedValue",t[t.Function=30]="Function",t[t.NumericValue=31]="NumericValue",t[t.HexColorValue=32]="HexColorValue",t[t.RatioValue=33]="RatioValue",t[t.MixinDeclaration=34]="MixinDeclaration",t[t.MixinReference=35]="MixinReference",t[t.VariableName=36]="VariableName",t[t.VariableDeclaration=37]="VariableDeclaration",t[t.Prio=38]="Prio",t[t.Interpolation=39]="Interpolation",t[t.NestedProperties=40]="NestedProperties",t[t.ExtendsReference=41]="ExtendsReference",t[t.SelectorPlaceholder=42]="SelectorPlaceholder",t[t.Debug=43]="Debug",t[t.If=44]="If",t[t.Else=45]="Else",t[t.For=46]="For",t[t.Each=47]="Each",t[t.While=48]="While",t[t.MixinContentReference=49]="MixinContentReference",t[t.MixinContentDeclaration=50]="MixinContentDeclaration",t[t.Media=51]="Media",t[t.Keyframe=52]="Keyframe",t[t.FontFace=53]="FontFace",t[t.Import=54]="Import",t[t.Namespace=55]="Namespace",t[t.Invocation=56]="Invocation",t[t.FunctionDeclaration=57]="FunctionDeclaration",t[t.ReturnStatement=58]="ReturnStatement",t[t.MediaQuery=59]="MediaQuery",t[t.MediaCondition=60]="MediaCondition",t[t.MediaFeature=61]="MediaFeature",t[t.FunctionParameter=62]="FunctionParameter",t[t.FunctionArgument=63]="FunctionArgument",t[t.KeyframeSelector=64]="KeyframeSelector",t[t.ViewPort=65]="ViewPort",t[t.Document=66]="Document",t[t.AtApplyRule=67]="AtApplyRule",t[t.CustomPropertyDeclaration=68]="CustomPropertyDeclaration",t[t.CustomPropertySet=69]="CustomPropertySet",t[t.ListEntry=70]="ListEntry",t[t.Supports=71]="Supports",t[t.SupportsCondition=72]="SupportsCondition",t[t.NamespacePrefix=73]="NamespacePrefix",t[t.GridLine=74]="GridLine",t[t.Plugin=75]="Plugin",t[t.UnknownAtRule=76]="UnknownAtRule",t[t.Use=77]="Use",t[t.ModuleConfiguration=78]="ModuleConfiguration",t[t.Forward=79]="Forward",t[t.ForwardVisibility=80]="ForwardVisibility",t[t.Module=81]="Module",t[t.UnicodeRange=82]="UnicodeRange"})(v||(v={}));var Q;(function(t){t[t.Mixin=0]="Mixin",t[t.Rule=1]="Rule",t[t.Variable=2]="Variable",t[t.Function=3]="Function",t[t.Keyframe=4]="Keyframe",t[t.Unknown=5]="Unknown",t[t.Module=6]="Module",t[t.Forward=7]="Forward",t[t.ForwardVisibility=8]="ForwardVisibility"})(Q||(Q={}));function ci(t,e){var n=null;return!t||e<t.offset||e>t.end?null:(t.accept(function(r){return r.offset===-1&&r.length===-1?!0:r.offset<=e&&r.end>=e?(n?r.length<=n.length&&(n=r):n=r,!0):!1}),n)}function hi(t,e){for(var n=ci(t,e),r=[];n;)r.unshift(n),n=n.parent;return r}function Ud(t){var e=t.findParent(v.Declaration),n=e&&e.getValue();return n&&n.encloses(t)?e:null}var U=function(){function t(e,n,r){e===void 0&&(e=-1),n===void 0&&(n=-1),this.parent=null,this.offset=e,this.length=n,r&&(this.nodeType=r)}return Object.defineProperty(t.prototype,"end",{get:function(){return this.offset+this.length},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"type",{get:function(){return this.nodeType||v.Undefined},set:function(e){this.nodeType=e},enumerable:!1,configurable:!0}),t.prototype.getTextProvider=function(){for(var e=this;e&&!e.textProvider;)e=e.parent;return e?e.textProvider:function(){return"unknown"}},t.prototype.getText=function(){return this.getTextProvider()(this.offset,this.length)},t.prototype.matches=function(e){return this.length===e.length&&this.getTextProvider()(this.offset,this.length)===e},t.prototype.startsWith=function(e){return this.length>=e.length&&this.getTextProvider()(this.offset,e.length)===e},t.prototype.endsWith=function(e){return this.length>=e.length&&this.getTextProvider()(this.end-e.length,e.length)===e},t.prototype.accept=function(e){if(e(this)&&this.children)for(var n=0,r=this.children;n<r.length;n++){var i=r[n];i.accept(e)}},t.prototype.acceptVisitor=function(e){this.accept(e.visitNode.bind(e))},t.prototype.adoptChild=function(e,n){if(n===void 0&&(n=-1),e.parent&&e.parent.children){var r=e.parent.children.indexOf(e);r>=0&&e.parent.children.splice(r,1)}e.parent=this;var i=this.children;return i||(i=this.children=[]),n!==-1?i.splice(n,0,e):i.push(e),e},t.prototype.attachTo=function(e,n){return n===void 0&&(n=-1),e&&e.adoptChild(this,n),this},t.prototype.collectIssues=function(e){this.issues&&e.push.apply(e,this.issues)},t.prototype.addIssue=function(e){this.issues||(this.issues=[]),this.issues.push(e)},t.prototype.hasIssue=function(e){return Array.isArray(this.issues)&&this.issues.some(function(n){return n.getRule()===e})},t.prototype.isErroneous=function(e){return e===void 0&&(e=!1),this.issues&&this.issues.length>0?!0:e&&Array.isArray(this.children)&&this.children.some(function(n){return n.isErroneous(!0)})},t.prototype.setNode=function(e,n,r){return r===void 0&&(r=-1),n?(n.attachTo(this,r),this[e]=n,!0):!1},t.prototype.addChild=function(e){return e?(this.children||(this.children=[]),e.attachTo(this),this.updateOffsetAndLength(e),!0):!1},t.prototype.updateOffsetAndLength=function(e){(e.offset<this.offset||this.offset===-1)&&(this.offset=e.offset);var n=e.end;(n>this.end||this.length===-1)&&(this.length=n-this.offset)},t.prototype.hasChildren=function(){return!!this.children&&this.children.length>0},t.prototype.getChildren=function(){return this.children?this.children.slice(0):[]},t.prototype.getChild=function(e){return this.children&&e<this.children.length?this.children[e]:null},t.prototype.addChildren=function(e){for(var n=0,r=e;n<r.length;n++){var i=r[n];this.addChild(i)}},t.prototype.findFirstChildBeforeOffset=function(e){if(this.children){for(var n=null,r=this.children.length-1;r>=0;r--)if(n=this.children[r],n.offset<=e)return n}return null},t.prototype.findChildAtOffset=function(e,n){var r=this.findFirstChildBeforeOffset(e);return r&&r.end>=e?n&&r.findChildAtOffset(e,!0)||r:null},t.prototype.encloses=function(e){return this.offset<=e.offset&&this.offset+this.length>=e.offset+e.length},t.prototype.getParent=function(){for(var e=this.parent;e instanceof ke;)e=e.parent;return e},t.prototype.findParent=function(e){for(var n=this;n&&n.type!==e;)n=n.parent;return n},t.prototype.findAParent=function(){for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];for(var r=this;r&&!e.some(function(i){return r.type===i});)r=r.parent;return r},t.prototype.setData=function(e,n){this.options||(this.options={}),this.options[e]=n},t.prototype.getData=function(e){return!this.options||!this.options.hasOwnProperty(e)?null:this.options[e]},t}(),ke=function(t){O(e,t);function e(n,r){r===void 0&&(r=-1);var i=t.call(this,-1,-1)||this;return i.attachTo(n,r),i.offset=-1,i.length=-1,i}return e}(U),Vd=function(t){O(e,t);function e(n,r){return t.call(this,n,r)||this}return Object.defineProperty(e.prototype,"type",{get:function(){return v.UnicodeRange},enumerable:!1,configurable:!0}),e.prototype.setRangeStart=function(n){return this.setNode("rangeStart",n)},e.prototype.getRangeStart=function(){return this.rangeStart},e.prototype.setRangeEnd=function(n){return this.setNode("rangeEnd",n)},e.prototype.getRangeEnd=function(){return this.rangeEnd},e}(U),We=function(t){O(e,t);function e(n,r){var i=t.call(this,n,r)||this;return i.isCustomProperty=!1,i}return Object.defineProperty(e.prototype,"type",{get:function(){return v.Identifier},enumerable:!1,configurable:!0}),e.prototype.containsInterpolation=function(){return this.hasChildren()},e}(U),Bd=function(t){O(e,t);function e(n,r){return t.call(this,n,r)||this}return Object.defineProperty(e.prototype,"type",{get:function(){return v.Stylesheet},enumerable:!1,configurable:!0}),e}(U),di=function(t){O(e,t);function e(n,r){return t.call(this,n,r)||this}return Object.defineProperty(e.prototype,"type",{get:function(){return v.Declarations},enumerable:!1,configurable:!0}),e}(U),he=function(t){O(e,t);function e(n,r){return t.call(this,n,r)||this}return e.prototype.getDeclarations=function(){return this.declarations},e.prototype.setDeclarations=function(n){return this.setNode("declarations",n)},e}(U),Gt=function(t){O(e,t);function e(n,r){return t.call(this,n,r)||this}return Object.defineProperty(e.prototype,"type",{get:function(){return v.Ruleset},enumerable:!1,configurable:!0}),e.prototype.getSelectors=function(){return this.selectors||(this.selectors=new ke(this)),this.selectors},e.prototype.isNested=function(){return!!this.parent&&this.parent.findParent(v.Declarations)!==null},e}(he),yn=function(t){O(e,t);function e(n,r){return t.call(this,n,r)||this}return Object.defineProperty(e.prototype,"type",{get:function(){return v.Selector},enumerable:!1,configurable:!0}),e}(U),Jt=function(t){O(e,t);function e(n,r){return t.call(this,n,r)||this}return Object.defineProperty(e.prototype,"type",{get:function(){return v.SimpleSelector},enumerable:!1,configurable:!0}),e}(U);(function(t){O(e,t);function e(n,r){return t.call(this,n,r)||this}return Object.defineProperty(e.prototype,"type",{get:function(){return v.AtApplyRule},enumerable:!1,configurable:!0}),e.prototype.setIdentifier=function(n){return this.setNode("identifier",n,0)},e.prototype.getIdentifier=function(){return this.identifier},e.prototype.getName=function(){return this.identifier?this.identifier.getText():""},e})(U);var ui=function(t){O(e,t);function e(n,r){return t.call(this,n,r)||this}return e}(U),qd=function(t){O(e,t);function e(n,r){return t.call(this,n,r)||this}return Object.defineProperty(e.prototype,"type",{get:function(){return v.CustomPropertySet},enumerable:!1,configurable:!0}),e}(he),Ze=function(t){O(e,t);function e(n,r){var i=t.call(this,n,r)||this;return i.property=null,i}return Object.defineProperty(e.prototype,"type",{get:function(){return v.Declaration},enumerable:!1,configurable:!0}),e.prototype.setProperty=function(n){return this.setNode("property",n)},e.prototype.getProperty=function(){return this.property},e.prototype.getFullPropertyName=function(){var n=this.property?this.property.getName():"unknown";if(this.parent instanceof di&&this.parent.getParent()instanceof vo){var r=this.parent.getParent().getParent();if(r instanceof e)return r.getFullPropertyName()+n}return n},e.prototype.getNonPrefixedPropertyName=function(){var n=this.getFullPropertyName();if(n&&n.charAt(0)==="-"){var r=n.indexOf("-",1);if(r!==-1)return n.substring(r+1)}return n},e.prototype.setValue=function(n){return this.setNode("value",n)},e.prototype.getValue=function(){return this.value},e.prototype.setNestedProperties=function(n){return this.setNode("nestedProperties",n)},e.prototype.getNestedProperties=function(){return this.nestedProperties},e}(ui),jd=function(t){O(e,t);function e(n,r){return t.call(this,n,r)||this}return Object.defineProperty(e.prototype,"type",{get:function(){return v.CustomPropertyDeclaration},enumerable:!1,configurable:!0}),e.prototype.setPropertySet=function(n){return this.setNode("propertySet",n)},e.prototype.getPropertySet=function(){return this.propertySet},e}(Ze),pi=function(t){O(e,t);function e(n,r){return t.call(this,n,r)||this}return Object.defineProperty(e.prototype,"type",{get:function(){return v.Property},enumerable:!1,configurable:!0}),e.prototype.setIdentifier=function(n){return this.setNode("identifier",n)},e.prototype.getIdentifier=function(){return this.identifier},e.prototype.getName=function(){return Od(this.getText(),/[_\+]+$/)},e.prototype.isCustomProperty=function(){return!!this.identifier&&this.identifier.isCustomProperty},e}(U),$d=function(t){O(e,t);function e(n,r){return t.call(this,n,r)||this}return Object.defineProperty(e.prototype,"type",{get:function(){return v.Invocation},enumerable:!1,configurable:!0}),e.prototype.getArguments=function(){return this.arguments||(this.arguments=new ke(this)),this.arguments},e}(U),wn=function(t){O(e,t);function e(n,r){return t.call(this,n,r)||this}return Object.defineProperty(e.prototype,"type",{get:function(){return v.Function},enumerable:!1,configurable:!0}),e.prototype.setIdentifier=function(n){return this.setNode("identifier",n,0)},e.prototype.getIdentifier=function(){return this.identifier},e.prototype.getName=function(){return this.identifier?this.identifier.getText():""},e}($d),tr=function(t){O(e,t);function e(n,r){return t.call(this,n,r)||this}return Object.defineProperty(e.prototype,"type",{get:function(){return v.FunctionParameter},enumerable:!1,configurable:!0}),e.prototype.setIdentifier=function(n){return this.setNode("identifier",n,0)},e.prototype.getIdentifier=function(){return this.identifier},e.prototype.getName=function(){return this.identifier?this.identifier.getText():""},e.prototype.setDefaultValue=function(n){return this.setNode("defaultValue",n,0)},e.prototype.getDefaultValue=function(){return this.defaultValue},e}(U),Xt=function(t){O(e,t);function e(n,r){return t.call(this,n,r)||this}return Object.defineProperty(e.prototype,"type",{get:function(){return v.FunctionArgument},enumerable:!1,configurable:!0}),e.prototype.setIdentifier=function(n){return this.setNode("identifier",n,0)},e.prototype.getIdentifier=function(){return this.identifier},e.prototype.getName=function(){return this.identifier?this.identifier.getText():""},e.prototype.setValue=function(n){return this.setNode("value",n,0)},e.prototype.getValue=function(){return this.value},e}(U),Hd=function(t){O(e,t);function e(n,r){return t.call(this,n,r)||this}return Object.defineProperty(e.prototype,"type",{get:function(){return v.If},enumerable:!1,configurable:!0}),e.prototype.setExpression=function(n){return this.setNode("expression",n,0)},e.prototype.setElseClause=function(n){return this.setNode("elseClause",n)},e}(he),Gd=function(t){O(e,t);function e(n,r){return t.call(this,n,r)||this}return Object.defineProperty(e.prototype,"type",{get:function(){return v.For},enumerable:!1,configurable:!0}),e.prototype.setVariable=function(n){return this.setNode("variable",n,0)},e}(he),Jd=function(t){O(e,t);function e(n,r){return t.call(this,n,r)||this}return Object.defineProperty(e.prototype,"type",{get:function(){return v.Each},enumerable:!1,configurable:!0}),e.prototype.getVariables=function(){return this.variables||(this.variables=new ke(this)),this.variables},e}(he),Xd=function(t){O(e,t);function e(n,r){return t.call(this,n,r)||this}return Object.defineProperty(e.prototype,"type",{get:function(){return v.While},enumerable:!1,configurable:!0}),e}(he),Yd=function(t){O(e,t);function e(n,r){return t.call(this,n,r)||this}return Object.defineProperty(e.prototype,"type",{get:function(){return v.Else},enumerable:!1,configurable:!0}),e}(he),nr=function(t){O(e,t);function e(n,r){return t.call(this,n,r)||this}return Object.defineProperty(e.prototype,"type",{get:function(){return v.FunctionDeclaration},enumerable:!1,configurable:!0}),e.prototype.setIdentifier=function(n){return this.setNode("identifier",n,0)},e.prototype.getIdentifier=function(){return this.identifier},e.prototype.getName=function(){return this.identifier?this.identifier.getText():""},e.prototype.getParameters=function(){return this.parameters||(this.parameters=new ke(this)),this.parameters},e}(he),Kd=function(t){O(e,t);function e(n,r){return t.call(this,n,r)||this}return Object.defineProperty(e.prototype,"type",{get:function(){return v.ViewPort},enumerable:!1,configurable:!0}),e}(he),bo=function(t){O(e,t);function e(n,r){return t.call(this,n,r)||this}return Object.defineProperty(e.prototype,"type",{get:function(){return v.FontFace},enumerable:!1,configurable:!0}),e}(he),vo=function(t){O(e,t);function e(n,r){return t.call(this,n,r)||this}return Object.defineProperty(e.prototype,"type",{get:function(){return v.NestedProperties},enumerable:!1,configurable:!0}),e}(he),yo=function(t){O(e,t);function e(n,r){return t.call(this,n,r)||this}return Object.defineProperty(e.prototype,"type",{get:function(){return v.Keyframe},enumerable:!1,configurable:!0}),e.prototype.setKeyword=function(n){return this.setNode("keyword",n,0)},e.prototype.getKeyword=function(){return this.keyword},e.prototype.setIdentifier=function(n){return this.setNode("identifier",n,0)},e.prototype.getIdentifier=function(){return this.identifier},e.prototype.getName=function(){return this.identifier?this.identifier.getText():""},e}(he),wo=function(t){O(e,t);function e(n,r){return t.call(this,n,r)||this}return Object.defineProperty(e.prototype,"type",{get:function(){return v.KeyframeSelector},enumerable:!1,configurable:!0}),e}(he),fi=function(t){O(e,t);function e(n,r){return t.call(this,n,r)||this}return Object.defineProperty(e.prototype,"type",{get:function(){return v.Import},enumerable:!1,configurable:!0}),e.prototype.setMedialist=function(n){return n?(n.attachTo(this),!0):!1},e}(U),Qd=function(t){O(e,t);function e(){return t!==null&&t.apply(this,arguments)||this}return Object.defineProperty(e.prototype,"type",{get:function(){return v.Use},enumerable:!1,configurable:!0}),e.prototype.getParameters=function(){return this.parameters||(this.parameters=new ke(this)),this.parameters},e.prototype.setIdentifier=function(n){return this.setNode("identifier",n,0)},e.prototype.getIdentifier=function(){return this.identifier},e}(U),Zd=function(t){O(e,t);function e(){return t!==null&&t.apply(this,arguments)||this}return Object.defineProperty(e.prototype,"type",{get:function(){return v.ModuleConfiguration},enumerable:!1,configurable:!0}),e.prototype.setIdentifier=function(n){return this.setNode("identifier",n,0)},e.prototype.getIdentifier=function(){return this.identifier},e.prototype.getName=function(){return this.identifier?this.identifier.getText():""},e.prototype.setValue=function(n){return this.setNode("value",n,0)},e.prototype.getValue=function(){return this.value},e}(U),eu=function(t){O(e,t);function e(){return t!==null&&t.apply(this,arguments)||this}return Object.defineProperty(e.prototype,"type",{get:function(){return v.Forward},enumerable:!1,configurable:!0}),e.prototype.setIdentifier=function(n){return this.setNode("identifier",n,0)},e.prototype.getIdentifier=function(){return this.identifier},e.prototype.getMembers=function(){return this.members||(this.members=new ke(this)),this.members},e.prototype.getParameters=function(){return this.parameters||(this.parameters=new ke(this)),this.parameters},e}(U),tu=function(t){O(e,t);function e(){return t!==null&&t.apply(this,arguments)||this}return Object.defineProperty(e.prototype,"type",{get:function(){return v.ForwardVisibility},enumerable:!1,configurable:!0}),e.prototype.setIdentifier=function(n){return this.setNode("identifier",n,0)},e.prototype.getIdentifier=function(){return this.identifier},e}(U),nu=function(t){O(e,t);function e(n,r){return t.call(this,n,r)||this}return Object.defineProperty(e.prototype,"type",{get:function(){return v.Namespace},enumerable:!1,configurable:!0}),e}(U),xo=function(t){O(e,t);function e(n,r){return t.call(this,n,r)||this}return Object.defineProperty(e.prototype,"type",{get:function(){return v.Media},enumerable:!1,configurable:!0}),e}(he),mi=function(t){O(e,t);function e(n,r){return t.call(this,n,r)||this}return Object.defineProperty(e.prototype,"type",{get:function(){return v.Supports},enumerable:!1,configurable:!0}),e}(he),ru=function(t){O(e,t);function e(n,r){return t.call(this,n,r)||this}return Object.defineProperty(e.prototype,"type",{get:function(){return v.Document},enumerable:!1,configurable:!0}),e}(he),So=function(t){O(e,t);function e(n,r){return t.call(this,n,r)||this}return e.prototype.getMediums=function(){return this.mediums||(this.mediums=new ke(this)),this.mediums},e}(U),Co=function(t){O(e,t);function e(n,r){return t.call(this,n,r)||this}return Object.defineProperty(e.prototype,"type",{get:function(){return v.MediaQuery},enumerable:!1,configurable:!0}),e}(U),iu=function(t){O(e,t);function e(n,r){return t.call(this,n,r)||this}return Object.defineProperty(e.prototype,"type",{get:function(){return v.MediaCondition},enumerable:!1,configurable:!0}),e}(U),su=function(t){O(e,t);function e(n,r){return t.call(this,n,r)||this}return Object.defineProperty(e.prototype,"type",{get:function(){return v.MediaFeature},enumerable:!1,configurable:!0}),e}(U),xn=function(t){O(e,t);function e(n,r){return t.call(this,n,r)||this}return Object.defineProperty(e.prototype,"type",{get:function(){return v.SupportsCondition},enumerable:!1,configurable:!0}),e}(U),au=function(t){O(e,t);function e(n,r){return t.call(this,n,r)||this}return Object.defineProperty(e.prototype,"type",{get:function(){return v.Page},enumerable:!1,configurable:!0}),e}(he),ou=function(t){O(e,t);function e(n,r){return t.call(this,n,r)||this}return Object.defineProperty(e.prototype,"type",{get:function(){return v.PageBoxMarginBox},enumerable:!1,configurable:!0}),e}(he),ko=function(t){O(e,t);function e(n,r){return t.call(this,n,r)||this}return Object.defineProperty(e.prototype,"type",{get:function(){return v.Expression},enumerable:!1,configurable:!0}),e}(U),gi=function(t){O(e,t);function e(n,r){return t.call(this,n,r)||this}return Object.defineProperty(e.prototype,"type",{get:function(){return v.BinaryExpression},enumerable:!1,configurable:!0}),e.prototype.setLeft=function(n){return this.setNode("left",n)},e.prototype.getLeft=function(){return this.left},e.prototype.setRight=function(n){return this.setNode("right",n)},e.prototype.getRight=function(){return this.right},e.prototype.setOperator=function(n){return this.setNode("operator",n)},e.prototype.getOperator=function(){return this.operator},e}(U),lu=function(t){O(e,t);function e(n,r){return t.call(this,n,r)||this}return Object.defineProperty(e.prototype,"type",{get:function(){return v.Term},enumerable:!1,configurable:!0}),e.prototype.setOperator=function(n){return this.setNode("operator",n)},e.prototype.getOperator=function(){return this.operator},e.prototype.setExpression=function(n){return this.setNode("expression",n)},e.prototype.getExpression=function(){return this.expression},e}(U),cu=function(t){O(e,t);function e(n,r){return t.call(this,n,r)||this}return Object.defineProperty(e.prototype,"type",{get:function(){return v.AttributeSelector},enumerable:!1,configurable:!0}),e.prototype.setNamespacePrefix=function(n){return this.setNode("namespacePrefix",n)},e.prototype.getNamespacePrefix=function(){return this.namespacePrefix},e.prototype.setIdentifier=function(n){return this.setNode("identifier",n)},e.prototype.getIdentifier=function(){return this.identifier},e.prototype.setOperator=function(n){return this.setNode("operator",n)},e.prototype.getOperator=function(){return this.operator},e.prototype.setValue=function(n){return this.setNode("value",n)},e.prototype.getValue=function(){return this.value},e}(U);(function(t){O(e,t);function e(n,r){return t.call(this,n,r)||this}return Object.defineProperty(e.prototype,"type",{get:function(){return v.Operator},enumerable:!1,configurable:!0}),e})(U);var bi=function(t){O(e,t);function e(n,r){return t.call(this,n,r)||this}return Object.defineProperty(e.prototype,"type",{get:function(){return v.HexColorValue},enumerable:!1,configurable:!0}),e}(U),hu=function(t){O(e,t);function e(n,r){return t.call(this,n,r)||this}return Object.defineProperty(e.prototype,"type",{get:function(){return v.RatioValue},enumerable:!1,configurable:!0}),e}(U),du=46,uu=48,pu=57,vi=function(t){O(e,t);function e(n,r){return t.call(this,n,r)||this}return Object.defineProperty(e.prototype,"type",{get:function(){return v.NumericValue},enumerable:!1,configurable:!0}),e.prototype.getValue=function(){for(var n=this.getText(),r=0,i,s=0,a=n.length;s<a&&(i=n.charCodeAt(s),uu<=i&&i<=pu||i===du);s++)r+=1;return{value:n.substring(0,r),unit:r<n.length?n.substring(r):void 0}},e}(U),rr=function(t){O(e,t);function e(n,r){var i=t.call(this,n,r)||this;return i.variable=null,i.value=null,i.needsSemicolon=!0,i}return Object.defineProperty(e.prototype,"type",{get:function(){return v.VariableDeclaration},enumerable:!1,configurable:!0}),e.prototype.setVariable=function(n){return n?(n.attachTo(this),this.variable=n,!0):!1},e.prototype.getVariable=function(){return this.variable},e.prototype.getName=function(){return this.variable?this.variable.getName():""},e.prototype.setValue=function(n){return n?(n.attachTo(this),this.value=n,!0):!1},e.prototype.getValue=function(){return this.value},e}(ui),yi=function(t){O(e,t);function e(n,r){return t.call(this,n,r)||this}return Object.defineProperty(e.prototype,"type",{get:function(){return v.Interpolation},enumerable:!1,configurable:!0}),e}(U),wi=function(t){O(e,t);function e(n,r){return t.call(this,n,r)||this}return Object.defineProperty(e.prototype,"type",{get:function(){return v.VariableName},enumerable:!1,configurable:!0}),e.prototype.getName=function(){return this.getText()},e}(U),Sn=function(t){O(e,t);function e(n,r){return t.call(this,n,r)||this}return Object.defineProperty(e.prototype,"type",{get:function(){return v.ExtendsReference},enumerable:!1,configurable:!0}),e.prototype.getSelectors=function(){return this.selectors||(this.selectors=new ke(this)),this.selectors},e}(U),fu=function(t){O(e,t);function e(n,r){return t.call(this,n,r)||this}return Object.defineProperty(e.prototype,"type",{get:function(){return v.MixinContentReference},enumerable:!1,configurable:!0}),e.prototype.getArguments=function(){return this.arguments||(this.arguments=new ke(this)),this.arguments},e}(U),mu=function(t){O(e,t);function e(n,r){return t.call(this,n,r)||this}return Object.defineProperty(e.prototype,"type",{get:function(){return v.MixinContentReference},enumerable:!1,configurable:!0}),e.prototype.getParameters=function(){return this.parameters||(this.parameters=new ke(this)),this.parameters},e}(he),ir=function(t){O(e,t);function e(n,r){return t.call(this,n,r)||this}return Object.defineProperty(e.prototype,"type",{get:function(){return v.MixinReference},enumerable:!1,configurable:!0}),e.prototype.getNamespaces=function(){return this.namespaces||(this.namespaces=new ke(this)),this.namespaces},e.prototype.setIdentifier=function(n){return this.setNode("identifier",n,0)},e.prototype.getIdentifier=function(){return this.identifier},e.prototype.getName=function(){return this.identifier?this.identifier.getText():""},e.prototype.getArguments=function(){return this.arguments||(this.arguments=new ke(this)),this.arguments},e.prototype.setContent=function(n){return this.setNode("content",n)},e.prototype.getContent=function(){return this.content},e}(U),Cn=function(t){O(e,t);function e(n,r){return t.call(this,n,r)||this}return Object.defineProperty(e.prototype,"type",{get:function(){return v.MixinDeclaration},enumerable:!1,configurable:!0}),e.prototype.setIdentifier=function(n){return this.setNode("identifier",n,0)},e.prototype.getIdentifier=function(){return this.identifier},e.prototype.getName=function(){return this.identifier?this.identifier.getText():""},e.prototype.getParameters=function(){return this.parameters||(this.parameters=new ke(this)),this.parameters},e.prototype.setGuard=function(n){return n&&(n.attachTo(this),this.guard=n),!1},e}(he),_o=function(t){O(e,t);function e(n,r){return t.call(this,n,r)||this}return Object.defineProperty(e.prototype,"type",{get:function(){return v.UnknownAtRule},enumerable:!1,configurable:!0}),e.prototype.setAtRuleName=function(n){this.atRuleName=n},e.prototype.getAtRuleName=function(){return this.atRuleName},e}(he),gu=function(t){O(e,t);function e(){return t!==null&&t.apply(this,arguments)||this}return Object.defineProperty(e.prototype,"type",{get:function(){return v.ListEntry},enumerable:!1,configurable:!0}),e.prototype.setKey=function(n){return this.setNode("key",n,0)},e.prototype.setValue=function(n){return this.setNode("value",n,1)},e}(U),bu=function(t){O(e,t);function e(){return t!==null&&t.apply(this,arguments)||this}return e.prototype.getConditions=function(){return this.conditions||(this.conditions=new ke(this)),this.conditions},e}(U),vu=function(t){O(e,t);function e(){return t!==null&&t.apply(this,arguments)||this}return e.prototype.setVariable=function(n){return this.setNode("variable",n)},e}(U),Eo=function(t){O(e,t);function e(){return t!==null&&t.apply(this,arguments)||this}return Object.defineProperty(e.prototype,"type",{get:function(){return v.Module},enumerable:!1,configurable:!0}),e.prototype.setIdentifier=function(n){return this.setNode("identifier",n,0)},e.prototype.getIdentifier=function(){return this.identifier},e}(U),Le;(function(t){t[t.Ignore=1]="Ignore",t[t.Warning=2]="Warning",t[t.Error=4]="Error"})(Le||(Le={}));var Ro=function(){function t(e,n,r,i,s,a){s===void 0&&(s=e.offset),a===void 0&&(a=e.length),this.node=e,this.rule=n,this.level=r,this.message=i||n.message,this.offset=s,this.length=a}return t.prototype.getRule=function(){return this.rule},t.prototype.getLevel=function(){return this.level},t.prototype.getOffset=function(){return this.offset},t.prototype.getLength=function(){return this.length},t.prototype.getNode=function(){return this.node},t.prototype.getMessage=function(){return this.message},t}(),yu=function(){function t(){this.entries=[]}return t.entries=function(e){var n=new t;return e.acceptVisitor(n),n.entries},t.prototype.visitNode=function(e){return e.isErroneous()&&e.collectIssues(this.entries),!0},t}();function wu(t,e){let n;return e.length===0?n=t:n=t.replace(/\{(\d+)\}/g,(r,i)=>{let s=i[0];return typeof e[s]<"u"?e[s]:r}),n}function xu(t,e,...n){return wu(e,n)}function Ge(t){return xu}var ee=Ge(),te=function(){function t(e,n){this.id=e,this.message=n}return t}(),S={NumberExpected:new te("css-numberexpected",ee("expected.number","number expected")),ConditionExpected:new te("css-conditionexpected",ee("expected.condt","condition expected")),RuleOrSelectorExpected:new te("css-ruleorselectorexpected",ee("expected.ruleorselector","at-rule or selector expected")),DotExpected:new te("css-dotexpected",ee("expected.dot","dot expected")),ColonExpected:new te("css-colonexpected",ee("expected.colon","colon expected")),SemiColonExpected:new te("css-semicolonexpected",ee("expected.semicolon","semi-colon expected")),TermExpected:new te("css-termexpected",ee("expected.term","term expected")),ExpressionExpected:new te("css-expressionexpected",ee("expected.expression","expression expected")),OperatorExpected:new te("css-operatorexpected",ee("expected.operator","operator expected")),IdentifierExpected:new te("css-identifierexpected",ee("expected.ident","identifier expected")),PercentageExpected:new te("css-percentageexpected",ee("expected.percentage","percentage expected")),URIOrStringExpected:new te("css-uriorstringexpected",ee("expected.uriorstring","uri or string expected")),URIExpected:new te("css-uriexpected",ee("expected.uri","URI expected")),VariableNameExpected:new te("css-varnameexpected",ee("expected.varname","variable name expected")),VariableValueExpected:new te("css-varvalueexpected",ee("expected.varvalue","variable value expected")),PropertyValueExpected:new te("css-propertyvalueexpected",ee("expected.propvalue","property value expected")),LeftCurlyExpected:new te("css-lcurlyexpected",ee("expected.lcurly","{ expected")),RightCurlyExpected:new te("css-rcurlyexpected",ee("expected.rcurly","} expected")),LeftSquareBracketExpected:new te("css-rbracketexpected",ee("expected.lsquare","[ expected")),RightSquareBracketExpected:new te("css-lbracketexpected",ee("expected.rsquare","] expected")),LeftParenthesisExpected:new te("css-lparentexpected",ee("expected.lparen","( expected")),RightParenthesisExpected:new te("css-rparentexpected",ee("expected.rparent",") expected")),CommaExpected:new te("css-commaexpected",ee("expected.comma","comma expected")),PageDirectiveOrDeclarationExpected:new te("css-pagedirordeclexpected",ee("expected.pagedirordecl","page directive or declaraton expected")),UnknownAtRule:new te("css-unknownatrule",ee("unknown.atrule","at-rule unknown")),UnknownKeyword:new te("css-unknownkeyword",ee("unknown.keyword","unknown keyword")),SelectorExpected:new te("css-selectorexpected",ee("expected.selector","selector expected")),StringLiteralExpected:new te("css-stringliteralexpected",ee("expected.stringliteral","string literal expected")),WhitespaceExpected:new te("css-whitespaceexpected",ee("expected.whitespace","whitespace expected")),MediaQueryExpected:new te("css-mediaqueryexpected",ee("expected.mediaquery","media query expected")),IdentifierOrWildcardExpected:new te("css-idorwildcardexpected",ee("expected.idorwildcard","identifier or wildcard expected")),WildcardExpected:new te("css-wildcardexpected",ee("expected.wildcard","wildcard expected")),IdentifierOrVariableExpected:new te("css-idorvarexpected",ee("expected.idorvar","identifier or variable expected"))},Fo;(function(t){t.MIN_VALUE=-2147483648,t.MAX_VALUE=2147483647})(Fo||(Fo={}));var sr;(function(t){t.MIN_VALUE=0,t.MAX_VALUE=2147483647})(sr||(sr={}));var Fe;(function(t){function e(r,i){return r===Number.MAX_VALUE&&(r=sr.MAX_VALUE),i===Number.MAX_VALUE&&(i=sr.MAX_VALUE),{line:r,character:i}}t.create=e;function n(r){var i=r;return E.objectLiteral(i)&&E.uinteger(i.line)&&E.uinteger(i.character)}t.is=n})(Fe||(Fe={}));var ie;(function(t){function e(r,i,s,a){if(E.uinteger(r)&&E.uinteger(i)&&E.uinteger(s)&&E.uinteger(a))return{start:Fe.create(r,i),end:Fe.create(s,a)};if(Fe.is(r)&&Fe.is(i))return{start:r,end:i};throw new Error("Range#create called with invalid arguments["+r+", "+i+", "+s+", "+a+"]")}t.create=e;function n(r){var i=r;return E.objectLiteral(i)&&Fe.is(i.start)&&Fe.is(i.end)}t.is=n})(ie||(ie={}));var kn;(function(t){function e(r,i){return{uri:r,range:i}}t.create=e;function n(r){var i=r;return E.defined(i)&&ie.is(i.range)&&(E.string(i.uri)||E.undefined(i.uri))}t.is=n})(kn||(kn={}));var Do;(function(t){function e(r,i,s,a){return{targetUri:r,targetRange:i,targetSelectionRange:s,originSelectionRange:a}}t.create=e;function n(r){var i=r;return E.defined(i)&&ie.is(i.targetRange)&&E.string(i.targetUri)&&(ie.is(i.targetSelectionRange)||E.undefined(i.targetSelectionRange))&&(ie.is(i.originSelectionRange)||E.undefined(i.originSelectionRange))}t.is=n})(Do||(Do={}));var xi;(function(t){function e(r,i,s,a){return{red:r,green:i,blue:s,alpha:a}}t.create=e;function n(r){var i=r;return E.numberRange(i.red,0,1)&&E.numberRange(i.green,0,1)&&E.numberRange(i.blue,0,1)&&E.numberRange(i.alpha,0,1)}t.is=n})(xi||(xi={}));var Ao;(function(t){function e(r,i){return{range:r,color:i}}t.create=e;function n(r){var i=r;return ie.is(i.range)&&xi.is(i.color)}t.is=n})(Ao||(Ao={}));var No;(function(t){function e(r,i,s){return{label:r,textEdit:i,additionalTextEdits:s}}t.create=e;function n(r){var i=r;return E.string(i.label)&&(E.undefined(i.textEdit)||H.is(i))&&(E.undefined(i.additionalTextEdits)||E.typedArray(i.additionalTextEdits,H.is))}t.is=n})(No||(No={}));var Mo;(function(t){t.Comment="comment",t.Imports="imports",t.Region="region"})(Mo||(Mo={}));var zo;(function(t){function e(r,i,s,a,o){var l={startLine:r,endLine:i};return E.defined(s)&&(l.startCharacter=s),E.defined(a)&&(l.endCharacter=a),E.defined(o)&&(l.kind=o),l}t.create=e;function n(r){var i=r;return E.uinteger(i.startLine)&&E.uinteger(i.startLine)&&(E.undefined(i.startCharacter)||E.uinteger(i.startCharacter))&&(E.undefined(i.endCharacter)||E.uinteger(i.endCharacter))&&(E.undefined(i.kind)||E.string(i.kind))}t.is=n})(zo||(zo={}));var Si;(function(t){function e(r,i){return{location:r,message:i}}t.create=e;function n(r){var i=r;return E.defined(i)&&kn.is(i.location)&&E.string(i.message)}t.is=n})(Si||(Si={}));var ar;(function(t){t.Error=1,t.Warning=2,t.Information=3,t.Hint=4})(ar||(ar={}));var Po;(function(t){t.Unnecessary=1,t.Deprecated=2})(Po||(Po={}));var Lo;(function(t){function e(n){var r=n;return r!=null&&E.string(r.href)}t.is=e})(Lo||(Lo={}));var or;(function(t){function e(r,i,s,a,o,l){var c={range:r,message:i};return E.defined(s)&&(c.severity=s),E.defined(a)&&(c.code=a),E.defined(o)&&(c.source=o),E.defined(l)&&(c.relatedInformation=l),c}t.create=e;function n(r){var i,s=r;return E.defined(s)&&ie.is(s.range)&&E.string(s.message)&&(E.number(s.severity)||E.undefined(s.severity))&&(E.integer(s.code)||E.string(s.code)||E.undefined(s.code))&&(E.undefined(s.codeDescription)||E.string((i=s.codeDescription)===null||i===void 0?void 0:i.href))&&(E.string(s.source)||E.undefined(s.source))&&(E.undefined(s.relatedInformation)||E.typedArray(s.relatedInformation,Si.is))}t.is=n})(or||(or={}));var Yt;(function(t){function e(r,i){for(var s=[],a=2;a<arguments.length;a++)s[a-2]=arguments[a];var o={title:r,command:i};return E.defined(s)&&s.length>0&&(o.arguments=s),o}t.create=e;function n(r){var i=r;return E.defined(i)&&E.string(i.title)&&E.string(i.command)}t.is=n})(Yt||(Yt={}));var H;(function(t){function e(s,a){return{range:s,newText:a}}t.replace=e;function n(s,a){return{range:{start:s,end:s},newText:a}}t.insert=n;function r(s){return{range:s,newText:""}}t.del=r;function i(s){var a=s;return E.objectLiteral(a)&&E.string(a.newText)&&ie.is(a.range)}t.is=i})(H||(H={}));var Kt;(function(t){function e(r,i,s){var a={label:r};return i!==void 0&&(a.needsConfirmation=i),s!==void 0&&(a.description=s),a}t.create=e;function n(r){var i=r;return i!==void 0&&E.objectLiteral(i)&&E.string(i.label)&&(E.boolean(i.needsConfirmation)||i.needsConfirmation===void 0)&&(E.string(i.description)||i.description===void 0)}t.is=n})(Kt||(Kt={}));var Ee;(function(t){function e(n){var r=n;return typeof r=="string"}t.is=e})(Ee||(Ee={}));var bt;(function(t){function e(s,a,o){return{range:s,newText:a,annotationId:o}}t.replace=e;function n(s,a,o){return{range:{start:s,end:s},newText:a,annotationId:o}}t.insert=n;function r(s,a){return{range:s,newText:"",annotationId:a}}t.del=r;function i(s){var a=s;return H.is(a)&&(Kt.is(a.annotationId)||Ee.is(a.annotationId))}t.is=i})(bt||(bt={}));var _n;(function(t){function e(r,i){return{textDocument:r,edits:i}}t.create=e;function n(r){var i=r;return E.defined(i)&&cr.is(i.textDocument)&&Array.isArray(i.edits)}t.is=n})(_n||(_n={}));var En;(function(t){function e(r,i,s){var a={kind:"create",uri:r};return i!==void 0&&(i.overwrite!==void 0||i.ignoreIfExists!==void 0)&&(a.options=i),s!==void 0&&(a.annotationId=s),a}t.create=e;function n(r){var i=r;return i&&i.kind==="create"&&E.string(i.uri)&&(i.options===void 0||(i.options.overwrite===void 0||E.boolean(i.options.overwrite))&&(i.options.ignoreIfExists===void 0||E.boolean(i.options.ignoreIfExists)))&&(i.annotationId===void 0||Ee.is(i.annotationId))}t.is=n})(En||(En={}));var Rn;(function(t){function e(r,i,s,a){var o={kind:"rename",oldUri:r,newUri:i};return s!==void 0&&(s.overwrite!==void 0||s.ignoreIfExists!==void 0)&&(o.options=s),a!==void 0&&(o.annotationId=a),o}t.create=e;function n(r){var i=r;return i&&i.kind==="rename"&&E.string(i.oldUri)&&E.string(i.newUri)&&(i.options===void 0||(i.options.overwrite===void 0||E.boolean(i.options.overwrite))&&(i.options.ignoreIfExists===void 0||E.boolean(i.options.ignoreIfExists)))&&(i.annotationId===void 0||Ee.is(i.annotationId))}t.is=n})(Rn||(Rn={}));var Fn;(function(t){function e(r,i,s){var a={kind:"delete",uri:r};return i!==void 0&&(i.recursive!==void 0||i.ignoreIfNotExists!==void 0)&&(a.options=i),s!==void 0&&(a.annotationId=s),a}t.create=e;function n(r){var i=r;return i&&i.kind==="delete"&&E.string(i.uri)&&(i.options===void 0||(i.options.recursive===void 0||E.boolean(i.options.recursive))&&(i.options.ignoreIfNotExists===void 0||E.boolean(i.options.ignoreIfNotExists)))&&(i.annotationId===void 0||Ee.is(i.annotationId))}t.is=n})(Fn||(Fn={}));var Ci;(function(t){function e(n){var r=n;return r&&(r.changes!==void 0||r.documentChanges!==void 0)&&(r.documentChanges===void 0||r.documentChanges.every(function(i){return E.string(i.kind)?En.is(i)||Rn.is(i)||Fn.is(i):_n.is(i)}))}t.is=e})(Ci||(Ci={}));var lr=function(){function t(e,n){this.edits=e,this.changeAnnotations=n}return t.prototype.insert=function(e,n,r){var i,s;if(r===void 0?i=H.insert(e,n):Ee.is(r)?(s=r,i=bt.insert(e,n,r)):(this.assertChangeAnnotations(this.changeAnnotations),s=this.changeAnnotations.manage(r),i=bt.insert(e,n,s)),this.edits.push(i),s!==void 0)return s},t.prototype.replace=function(e,n,r){var i,s;if(r===void 0?i=H.replace(e,n):Ee.is(r)?(s=r,i=bt.replace(e,n,r)):(this.assertChangeAnnotations(this.changeAnnotations),s=this.changeAnnotations.manage(r),i=bt.replace(e,n,s)),this.edits.push(i),s!==void 0)return s},t.prototype.delete=function(e,n){var r,i;if(n===void 0?r=H.del(e):Ee.is(n)?(i=n,r=bt.del(e,n)):(this.assertChangeAnnotations(this.changeAnnotations),i=this.changeAnnotations.manage(n),r=bt.del(e,i)),this.edits.push(r),i!==void 0)return i},t.prototype.add=function(e){this.edits.push(e)},t.prototype.all=function(){return this.edits},t.prototype.clear=function(){this.edits.splice(0,this.edits.length)},t.prototype.assertChangeAnnotations=function(e){if(e===void 0)throw new Error("Text edit change is not configured to manage change annotations.")},t}(),Io=function(){function t(e){this._annotations=e===void 0?Object.create(null):e,this._counter=0,this._size=0}return t.prototype.all=function(){return this._annotations},Object.defineProperty(t.prototype,"size",{get:function(){return this._size},enumerable:!1,configurable:!0}),t.prototype.manage=function(e,n){var r;if(Ee.is(e)?r=e:(r=this.nextId(),n=e),this._annotations[r]!==void 0)throw new Error("Id "+r+" is already in use.");if(n===void 0)throw new Error("No annotation provided for id "+r);return this._annotations[r]=n,this._size++,r},t.prototype.nextId=function(){return this._counter++,this._counter.toString()},t}();(function(){function t(e){var n=this;this._textEditChanges=Object.create(null),e!==void 0?(this._workspaceEdit=e,e.documentChanges?(this._changeAnnotations=new Io(e.changeAnnotations),e.changeAnnotations=this._changeAnnotations.all(),e.documentChanges.forEach(function(r){if(_n.is(r)){var i=new lr(r.edits,n._changeAnnotations);n._textEditChanges[r.textDocument.uri]=i}})):e.changes&&Object.keys(e.changes).forEach(function(r){var i=new lr(e.changes[r]);n._textEditChanges[r]=i})):this._workspaceEdit={}}return Object.defineProperty(t.prototype,"edit",{get:function(){return this.initDocumentChanges(),this._changeAnnotations!==void 0&&(this._changeAnnotations.size===0?this._workspaceEdit.changeAnnotations=void 0:this._workspaceEdit.changeAnnotations=this._changeAnnotations.all()),this._workspaceEdit},enumerable:!1,configurable:!0}),t.prototype.getTextEditChange=function(e){if(cr.is(e)){if(this.initDocumentChanges(),this._workspaceEdit.documentChanges===void 0)throw new Error("Workspace edit is not configured for document changes.");var n={uri:e.uri,version:e.version},r=this._textEditChanges[n.uri];if(!r){var i=[],s={textDocument:n,edits:i};this._workspaceEdit.documentChanges.push(s),r=new lr(i,this._changeAnnotations),this._textEditChanges[n.uri]=r}return r}else{if(this.initChanges(),this._workspaceEdit.changes===void 0)throw new Error("Workspace edit is not configured for normal text edit changes.");var r=this._textEditChanges[e];if(!r){var i=[];this._workspaceEdit.changes[e]=i,r=new lr(i),this._textEditChanges[e]=r}return r}},t.prototype.initDocumentChanges=function(){this._workspaceEdit.documentChanges===void 0&&this._workspaceEdit.changes===void 0&&(this._changeAnnotations=new Io,this._workspaceEdit.documentChanges=[],this._workspaceEdit.changeAnnotations=this._changeAnnotations.all())},t.prototype.initChanges=function(){this._workspaceEdit.documentChanges===void 0&&this._workspaceEdit.changes===void 0&&(this._workspaceEdit.changes=Object.create(null))},t.prototype.createFile=function(e,n,r){if(this.initDocumentChanges(),this._workspaceEdit.documentChanges===void 0)throw new Error("Workspace edit is not configured for document changes.");var i;Kt.is(n)||Ee.is(n)?i=n:r=n;var s,a;if(i===void 0?s=En.create(e,r):(a=Ee.is(i)?i:this._changeAnnotations.manage(i),s=En.create(e,r,a)),this._workspaceEdit.documentChanges.push(s),a!==void 0)return a},t.prototype.renameFile=function(e,n,r,i){if(this.initDocumentChanges(),this._workspaceEdit.documentChanges===void 0)throw new Error("Workspace edit is not configured for document changes.");var s;Kt.is(r)||Ee.is(r)?s=r:i=r;var a,o;if(s===void 0?a=Rn.create(e,n,i):(o=Ee.is(s)?s:this._changeAnnotations.manage(s),a=Rn.create(e,n,i,o)),this._workspaceEdit.documentChanges.push(a),o!==void 0)return o},t.prototype.deleteFile=function(e,n,r){if(this.initDocumentChanges(),this._workspaceEdit.documentChanges===void 0)throw new Error("Workspace edit is not configured for document changes.");var i;Kt.is(n)||Ee.is(n)?i=n:r=n;var s,a;if(i===void 0?s=Fn.create(e,r):(a=Ee.is(i)?i:this._changeAnnotations.manage(i),s=Fn.create(e,r,a)),this._workspaceEdit.documentChanges.push(s),a!==void 0)return a},t})();var To;(function(t){function e(r){return{uri:r}}t.create=e;function n(r){var i=r;return E.defined(i)&&E.string(i.uri)}t.is=n})(To||(To={}));var ki;(function(t){function e(r,i){return{uri:r,version:i}}t.create=e;function n(r){var i=r;return E.defined(i)&&E.string(i.uri)&&E.integer(i.version)}t.is=n})(ki||(ki={}));var cr;(function(t){function e(r,i){return{uri:r,version:i}}t.create=e;function n(r){var i=r;return E.defined(i)&&E.string(i.uri)&&(i.version===null||E.integer(i.version))}t.is=n})(cr||(cr={}));var Wo;(function(t){function e(r,i,s,a){return{uri:r,languageId:i,version:s,text:a}}t.create=e;function n(r){var i=r;return E.defined(i)&&E.string(i.uri)&&E.string(i.languageId)&&E.integer(i.version)&&E.string(i.text)}t.is=n})(Wo||(Wo={}));var Oe;(function(t){t.PlainText="plaintext",t.Markdown="markdown"})(Oe||(Oe={})),function(t){function e(n){var r=n;return r===t.PlainText||r===t.Markdown}t.is=e}(Oe||(Oe={}));var _i;(function(t){function e(n){var r=n;return E.objectLiteral(n)&&Oe.is(r.kind)&&E.string(r.value)}t.is=e})(_i||(_i={}));var $;(function(t){t.Text=1,t.Method=2,t.Function=3,t.Constructor=4,t.Field=5,t.Variable=6,t.Class=7,t.Interface=8,t.Module=9,t.Property=10,t.Unit=11,t.Value=12,t.Enum=13,t.Keyword=14,t.Snippet=15,t.Color=16,t.File=17,t.Reference=18,t.Folder=19,t.EnumMember=20,t.Constant=21,t.Struct=22,t.Event=23,t.Operator=24,t.TypeParameter=25})($||($={}));var Ie;(function(t){t.PlainText=1,t.Snippet=2})(Ie||(Ie={}));var _t;(function(t){t.Deprecated=1})(_t||(_t={}));var Oo;(function(t){function e(r,i,s){return{newText:r,insert:i,replace:s}}t.create=e;function n(r){var i=r;return i&&E.string(i.newText)&&ie.is(i.insert)&&ie.is(i.replace)}t.is=n})(Oo||(Oo={}));var Uo;(function(t){t.asIs=1,t.adjustIndentation=2})(Uo||(Uo={}));var Vo;(function(t){function e(n){return{label:n}}t.create=e})(Vo||(Vo={}));var Bo;(function(t){function e(n,r){return{items:n||[],isIncomplete:!!r}}t.create=e})(Bo||(Bo={}));var hr;(function(t){function e(r){return r.replace(/[\\`*_{}[\]()#+\-.!]/g,"\\$&")}t.fromPlainText=e;function n(r){var i=r;return E.string(i)||E.objectLiteral(i)&&E.string(i.language)&&E.string(i.value)}t.is=n})(hr||(hr={}));var qo;(function(t){function e(n){var r=n;return!!r&&E.objectLiteral(r)&&(_i.is(r.contents)||hr.is(r.contents)||E.typedArray(r.contents,hr.is))&&(n.range===void 0||ie.is(n.range))}t.is=e})(qo||(qo={}));var jo;(function(t){function e(n,r){return r?{label:n,documentation:r}:{label:n}}t.create=e})(jo||(jo={}));var $o;(function(t){function e(n,r){for(var i=[],s=2;s<arguments.length;s++)i[s-2]=arguments[s];var a={label:n};return E.defined(r)&&(a.documentation=r),E.defined(i)?a.parameters=i:a.parameters=[],a}t.create=e})($o||($o={}));var Qt;(function(t){t.Text=1,t.Read=2,t.Write=3})(Qt||(Qt={}));var Ho;(function(t){function e(n,r){var i={range:n};return E.number(r)&&(i.kind=r),i}t.create=e})(Ho||(Ho={}));var Et;(function(t){t.File=1,t.Module=2,t.Namespace=3,t.Package=4,t.Class=5,t.Method=6,t.Property=7,t.Field=8,t.Constructor=9,t.Enum=10,t.Interface=11,t.Function=12,t.Variable=13,t.Constant=14,t.String=15,t.Number=16,t.Boolean=17,t.Array=18,t.Object=19,t.Key=20,t.Null=21,t.EnumMember=22,t.Struct=23,t.Event=24,t.Operator=25,t.TypeParameter=26})(Et||(Et={}));var Go;(function(t){t.Deprecated=1})(Go||(Go={}));var Jo;(function(t){function e(n,r,i,s,a){var o={name:n,kind:r,location:{uri:s,range:i}};return a&&(o.containerName=a),o}t.create=e})(Jo||(Jo={}));var Xo;(function(t){function e(r,i,s,a,o,l){var c={name:r,detail:i,kind:s,range:a,selectionRange:o};return l!==void 0&&(c.children=l),c}t.create=e;function n(r){var i=r;return i&&E.string(i.name)&&E.number(i.kind)&&ie.is(i.range)&&ie.is(i.selectionRange)&&(i.detail===void 0||E.string(i.detail))&&(i.deprecated===void 0||E.boolean(i.deprecated))&&(i.children===void 0||Array.isArray(i.children))&&(i.tags===void 0||Array.isArray(i.tags))}t.is=n})(Xo||(Xo={}));var Ei;(function(t){t.Empty="",t.QuickFix="quickfix",t.Refactor="refactor",t.RefactorExtract="refactor.extract",t.RefactorInline="refactor.inline",t.RefactorRewrite="refactor.rewrite",t.Source="source",t.SourceOrganizeImports="source.organizeImports",t.SourceFixAll="source.fixAll"})(Ei||(Ei={}));var Yo;(function(t){function e(r,i){var s={diagnostics:r};return i!=null&&(s.only=i),s}t.create=e;function n(r){var i=r;return E.defined(i)&&E.typedArray(i.diagnostics,or.is)&&(i.only===void 0||E.typedArray(i.only,E.string))}t.is=n})(Yo||(Yo={}));var Ri;(function(t){function e(r,i,s){var a={title:r},o=!0;return typeof i=="string"?(o=!1,a.kind=i):Yt.is(i)?a.command=i:a.edit=i,o&&s!==void 0&&(a.kind=s),a}t.create=e;function n(r){var i=r;return i&&E.string(i.title)&&(i.diagnostics===void 0||E.typedArray(i.diagnostics,or.is))&&(i.kind===void 0||E.string(i.kind))&&(i.edit!==void 0||i.command!==void 0)&&(i.command===void 0||Yt.is(i.command))&&(i.isPreferred===void 0||E.boolean(i.isPreferred))&&(i.edit===void 0||Ci.is(i.edit))}t.is=n})(Ri||(Ri={}));var Ko;(function(t){function e(r,i){var s={range:r};return E.defined(i)&&(s.data=i),s}t.create=e;function n(r){var i=r;return E.defined(i)&&ie.is(i.range)&&(E.undefined(i.command)||Yt.is(i.command))}t.is=n})(Ko||(Ko={}));var Qo;(function(t){function e(r,i){return{tabSize:r,insertSpaces:i}}t.create=e;function n(r){var i=r;return E.defined(i)&&E.uinteger(i.tabSize)&&E.boolean(i.insertSpaces)}t.is=n})(Qo||(Qo={}));var Zo;(function(t){function e(r,i,s){return{range:r,target:i,data:s}}t.create=e;function n(r){var i=r;return E.defined(i)&&ie.is(i.range)&&(E.undefined(i.target)||E.string(i.target))}t.is=n})(Zo||(Zo={}));var dr;(function(t){function e(r,i){return{range:r,parent:i}}t.create=e;function n(r){var i=r;return i!==void 0&&ie.is(i.range)&&(i.parent===void 0||t.is(i.parent))}t.is=n})(dr||(dr={}));var el;(function(t){function e(s,a,o,l){return new Su(s,a,o,l)}t.create=e;function n(s){var a=s;return!!(E.defined(a)&&E.string(a.uri)&&(E.undefined(a.languageId)||E.string(a.languageId))&&E.uinteger(a.lineCount)&&E.func(a.getText)&&E.func(a.positionAt)&&E.func(a.offsetAt))}t.is=n;function r(s,a){for(var o=s.getText(),l=i(a,function(g,b){var y=g.range.start.line-b.range.start.line;return y===0?g.range.start.character-b.range.start.character:y}),c=o.length,h=l.length-1;h>=0;h--){var u=l[h],f=s.offsetAt(u.range.start),m=s.offsetAt(u.range.end);if(m<=c)o=o.substring(0,f)+u.newText+o.substring(m,o.length);else throw new Error("Overlapping edit");c=f}return o}t.applyEdits=r;function i(s,a){if(s.length<=1)return s;var o=s.length/2|0,l=s.slice(0,o),c=s.slice(o);i(l,a),i(c,a);for(var h=0,u=0,f=0;h<l.length&&u<c.length;){var m=a(l[h],c[u]);m<=0?s[f++]=l[h++]:s[f++]=c[u++]}for(;h<l.length;)s[f++]=l[h++];for(;u<c.length;)s[f++]=c[u++];return s}})(el||(el={}));var Su=function(){function t(e,n,r,i){this._uri=e,this._languageId=n,this._version=r,this._content=i,this._lineOffsets=void 0}return Object.defineProperty(t.prototype,"uri",{get:function(){return this._uri},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"languageId",{get:function(){return this._languageId},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"version",{get:function(){return this._version},enumerable:!1,configurable:!0}),t.prototype.getText=function(e){if(e){var n=this.offsetAt(e.start),r=this.offsetAt(e.end);return this._content.substring(n,r)}return this._content},t.prototype.update=function(e,n){this._content=e.text,this._version=n,this._lineOffsets=void 0},t.prototype.getLineOffsets=function(){if(this._lineOffsets===void 0){for(var e=[],n=this._content,r=!0,i=0;i<n.length;i++){r&&(e.push(i),r=!1);var s=n.charAt(i);r=s==="\r"||s===`
18
18
  `,s==="\r"&&i+1<n.length&&n.charAt(i+1)===`
19
19
  `&&i++}r&&n.length>0&&e.push(n.length),this._lineOffsets=e}return this._lineOffsets},t.prototype.positionAt=function(e){e=Math.max(Math.min(e,this._content.length),0);var n=this.getLineOffsets(),r=0,i=n.length;if(i===0)return Fe.create(0,e);for(;r<i;){var s=Math.floor((r+i)/2);n[s]>e?i=s:r=s+1}var a=r-1;return Fe.create(a,e-n[a])},t.prototype.offsetAt=function(e){var n=this.getLineOffsets();if(e.line>=n.length)return this._content.length;if(e.line<0)return 0;var r=n[e.line],i=e.line+1<n.length?n[e.line+1]:this._content.length;return Math.max(Math.min(r+e.character,i),r)},Object.defineProperty(t.prototype,"lineCount",{get:function(){return this.getLineOffsets().length},enumerable:!1,configurable:!0}),t}(),E;(function(t){var e=Object.prototype.toString;function n(m){return typeof m<"u"}t.defined=n;function r(m){return typeof m>"u"}t.undefined=r;function i(m){return m===!0||m===!1}t.boolean=i;function s(m){return e.call(m)==="[object String]"}t.string=s;function a(m){return e.call(m)==="[object Number]"}t.number=a;function o(m,g,b){return e.call(m)==="[object Number]"&&g<=m&&m<=b}t.numberRange=o;function l(m){return e.call(m)==="[object Number]"&&-2147483648<=m&&m<=2147483647}t.integer=l;function c(m){return e.call(m)==="[object Number]"&&0<=m&&m<=2147483647}t.uinteger=c;function h(m){return e.call(m)==="[object Function]"}t.func=h;function u(m){return m!==null&&typeof m=="object"}t.objectLiteral=u;function f(m,g){return Array.isArray(m)&&m.every(g)}t.typedArray=f})(E||(E={}));var tl=class as{constructor(e,n,r,i){this._uri=e,this._languageId=n,this._version=r,this._content=i,this._lineOffsets=void 0}get uri(){return this._uri}get languageId(){return this._languageId}get version(){return this._version}getText(e){if(e){const n=this.offsetAt(e.start),r=this.offsetAt(e.end);return this._content.substring(n,r)}return this._content}update(e,n){for(let r of e)if(as.isIncremental(r)){const i=rl(r.range),s=this.offsetAt(i.start),a=this.offsetAt(i.end);this._content=this._content.substring(0,s)+r.text+this._content.substring(a,this._content.length);const o=Math.max(i.start.line,0),l=Math.max(i.end.line,0);let c=this._lineOffsets;const h=nl(r.text,!1,s);if(l-o===h.length)for(let f=0,m=h.length;f<m;f++)c[f+o+1]=h[f];else h.length<1e4?c.splice(o+1,l-o,...h):this._lineOffsets=c=c.slice(0,o+1).concat(h,c.slice(l+1));const u=r.text.length-(a-s);if(u!==0)for(let f=o+1+h.length,m=c.length;f<m;f++)c[f]=c[f]+u}else if(as.isFull(r))this._content=r.text,this._lineOffsets=void 0;else throw new Error("Unknown change event received");this._version=n}getLineOffsets(){return this._lineOffsets===void 0&&(this._lineOffsets=nl(this._content,!0)),this._lineOffsets}positionAt(e){e=Math.max(Math.min(e,this._content.length),0);let n=this.getLineOffsets(),r=0,i=n.length;if(i===0)return{line:0,character:e};for(;r<i;){let a=Math.floor((r+i)/2);n[a]>e?i=a:r=a+1}let s=r-1;return{line:s,character:e-n[s]}}offsetAt(e){let n=this.getLineOffsets();if(e.line>=n.length)return this._content.length;if(e.line<0)return 0;let r=n[e.line],i=e.line+1<n.length?n[e.line+1]:this._content.length;return Math.max(Math.min(r+e.character,i),r)}get lineCount(){return this.getLineOffsets().length}static isIncremental(e){let n=e;return n!=null&&typeof n.text=="string"&&n.range!==void 0&&(n.rangeLength===void 0||typeof n.rangeLength=="number")}static isFull(e){let n=e;return n!=null&&typeof n.text=="string"&&n.range===void 0&&n.rangeLength===void 0}},Fi;(function(t){function e(i,s,a,o){return new tl(i,s,a,o)}t.create=e;function n(i,s,a){if(i instanceof tl)return i.update(s,a),i;throw new Error("TextDocument.update: document must be created by TextDocument.create")}t.update=n;function r(i,s){let a=i.getText(),o=Di(s.map(Cu),(h,u)=>{let f=h.range.start.line-u.range.start.line;return f===0?h.range.start.character-u.range.start.character:f}),l=0;const c=[];for(const h of o){let u=i.offsetAt(h.range.start);if(u<l)throw new Error("Overlapping edit");u>l&&c.push(a.substring(l,u)),h.newText.length&&c.push(h.newText),l=i.offsetAt(h.range.end)}return c.push(a.substr(l)),c.join("")}t.applyEdits=r})(Fi||(Fi={}));function Di(t,e){if(t.length<=1)return t;const n=t.length/2|0,r=t.slice(0,n),i=t.slice(n);Di(r,e),Di(i,e);let s=0,a=0,o=0;for(;s<r.length&&a<i.length;)e(r[s],i[a])<=0?t[o++]=r[s++]:t[o++]=i[a++];for(;s<r.length;)t[o++]=r[s++];for(;a<i.length;)t[o++]=i[a++];return t}function nl(t,e,n=0){const r=e?[n]:[];for(let i=0;i<t.length;i++){let s=t.charCodeAt(i);(s===13||s===10)&&(s===13&&i+1<t.length&&t.charCodeAt(i+1)===10&&i++,r.push(n+i+1))}return r}function rl(t){const e=t.start,n=t.end;return e.line>n.line||e.line===n.line&&e.character>n.character?{start:n,end:e}:t}function Cu(t){const e=rl(t.range);return e!==t.range?{newText:t.newText,range:e}:t}var il;(function(t){t.LATEST={textDocument:{completion:{completionItem:{documentationFormat:[Oe.Markdown,Oe.PlainText]}},hover:{contentFormat:[Oe.Markdown,Oe.PlainText]}}}})(il||(il={}));var Dn;(function(t){t[t.Unknown=0]="Unknown",t[t.File=1]="File",t[t.Directory=2]="Directory",t[t.SymbolicLink=64]="SymbolicLink"})(Dn||(Dn={}));var sl={E:"Edge",FF:"Firefox",S:"Safari",C:"Chrome",IE:"IE",O:"Opera"};function al(t){switch(t){case"experimental":return`⚠️ Property is experimental. Be cautious when using it.️
20
20
 
@@ -1,4 +1,4 @@
1
- import{q as xe,v as wt,x as lt,y as Hb,z as hd,A as an,B as Kb,N as Rt,C as gt,D as Dt,F as Pe,E as Ur,k as b,i as tt,f as re,u as o,j as Ue,w as cn,l as It,m as hn,r as N,G as ke,H as Wb,b as jb,s as Ot,I as Ll,J as Me,T as Vl,K as Yr,n as Ne,L as st,d as H,M as ee,o as k,c as L,a as z,O as E,P as $e,Q as ot,R as Qt,S as Q,U as j,V as We,W as et,X,Y as vt,Z as he,_ as x,$ as mt,a0 as Jt,t as Et,a1 as yt,p as en,a2 as Dl,a3 as md,a4 as Fl,a5 as Le,a6 as Ub,a7 as gd,e as bd,a8 as Yb,a9 as ct,aa as St,ab as Qn,ac as Oo,ad as Xn,ae as Ro,af as _o,ag as La,ah as yd,ai as Xe,aj as qb,ak as lr,al as qr,am as Gb,an as $o,ao as Xb,ap as Fs,aq as ls,ar as cl,as as Zu,at as Zb,au as Jb,av as Qb}from"./@vue-BS4o5x1j.js";import{i as qt,g as zt,s as ey,f as Va,c as Rl,a as Ju,b as Cd,d as yn,e as dn,u as zs,t as Ml,p as Zn,h as ty,j as Da,k as ny,l as wd,m as ly,n as oy,o as ay,q as sy}from"./lodash-es-CLq8SBAM.js";import{i as ft,u as jt,t as ry,a as os,b as iy,c as Qu,d as At,r as uy,o as Gr,e as Sd,f as cy,g as _l,h as kd,j as dy,k as fy,l as ec,m as Ed,n as py}from"./@vueuse-DwRHc_J7.js";import{s as $d,w as as,c as Xr,i as Zr,l as hl,a as Jr,b as ml,d as _n,v as vy,h as hy,e as my,f as Td,g as gy,j as Qr,k as el,m as dl,n as mn,o as Ho,p as no,q as lo,r as by,t as yy,z as Cy,u as Nd,x as wy,y as Sy,A as ky,B as Id,C as Ey,D as $y,E as tc,F as Ty,G as oa,H as Ny,I as Iy,J as My,K as Oy,L as Ry,M as _y,N as Md,O as Py,P as Ay}from"./@element-plus-CekXU_7D.js";import{y as By,E as Ko}from"./@popperjs-I-C4_FcE.js";import{T as Od}from"./@ctrl-r5W6hzzQ.js";import{d as je,c as ei,l as Rd,a as Ly,w as Vy,b as Dy,e as Fy,i as zy,f as xy}from"./dayjs-Bz4m6kJv.js";import{S as Hy}from"./async-validator-Cr9EP88T.js";import{m as Ky}from"./memoize-one-DwF5HINA.js";import{Y as Wy}from"./normalize-wheel-es-B6fDCfyv.js";import{a as _d,c as Pd,o as Ad,f as jy,s as Uy,b as Yy,d as qy}from"./@floating-ui-BkhKrinZ.js";const Gy='a[href],button:not([disabled]),button:not([hidden]),:not([tabindex="-1"]),input:not([disabled]),input:not([type="hidden"]),select:not([disabled]),textarea:not([disabled])',Xy=e=>getComputedStyle(e).position==="fixed"?!1:e.offsetParent!==null,nc=e=>Array.from(e.querySelectorAll(Gy)).filter(t=>Zy(t)&&Xy(t)),Zy=e=>{if(e.tabIndex>0||e.tabIndex===0&&e.getAttribute("tabIndex")!==null)return!0;if(e.disabled)return!1;switch(e.nodeName){case"A":return!!e.href&&e.rel!=="ignore";case"INPUT":return!(e.type==="hidden"||e.type==="file");case"BUTTON":case"SELECT":case"TEXTAREA":return!0;default:return!1}},ha=function(e,t,...n){let l;t.includes("mouse")||t.includes("click")?l="MouseEvents":t.includes("key")?l="KeyboardEvent":l="HTMLEvents";const a=document.createEvent(l);return a.initEvent(t,...n),e.dispatchEvent(a),e},Bd=e=>!e.getAttribute("aria-owns"),Ld=(e,t,n)=>{const{parentNode:l}=e;if(!l)return null;const a=l.querySelectorAll(n),s=Array.prototype.indexOf.call(a,e);return a[s+t]||null},ma=e=>{e&&(e.focus(),!Bd(e)&&e.click())},Lt=(e,t,{checkForDefaultPrevented:n=!0}={})=>a=>{const s=e?.(a);if(n===!1||!s)return t?.(a)},lc=e=>t=>t.pointerType==="mouse"?e(t):void 0,Vd=()=>ft&&/firefox/i.test(window.navigator.userAgent),Jy=(e,t)=>{if(!ft||!e||!t)return!1;const n=e.getBoundingClientRect();let l;return t instanceof Element?l=t.getBoundingClientRect():l={top:0,right:window.innerWidth,bottom:window.innerHeight,left:0},n.top<l.bottom&&n.bottom>l.top&&n.right>l.left&&n.left<l.right},oc=e=>{let t=0,n=e;for(;n;)t+=n.offsetTop,n=n.offsetParent;return t},or=(e,t)=>Math.abs(oc(e)-oc(t)),ti=e=>{let t,n;return e.type==="touchend"?(n=e.changedTouches[0].clientY,t=e.changedTouches[0].clientX):e.type.startsWith("touch")?(n=e.touches[0].clientY,t=e.touches[0].clientX):(n=e.clientY,t=e.clientX),{clientX:t,clientY:n}};function Qy(e,t,n,l){const a=n-t;return e/=l/2,e<1?a/2*e*e*e+t:a/2*((e-=2)*e*e+2)+t}const Kt=e=>e===void 0,Wt=e=>typeof e=="boolean",Ae=e=>typeof e=="number",kn=e=>!e&&e!==0||xe(e)&&e.length===0||wt(e)&&!Object.keys(e).length,Nn=e=>typeof Element>"u"?!1:e instanceof Element,Pl=e=>qt(e),e0=e=>lt(e)?!Number.isNaN(Number(e)):!1,ss=e=>e===window,fl=e=>ft?window.requestAnimationFrame(e):setTimeout(e,16),Al=e=>ft?window.cancelAnimationFrame(e):clearTimeout(e),ni=(e="")=>e.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d"),Dn=e=>Hb(e),oo=e=>Object.keys(e),t0=e=>Object.entries(e),ga=(e,t,n)=>({get value(){return zt(e,t,n)},set value(l){ey(e,t,l)}});class n0 extends Error{constructor(t){super(t),this.name="ElementPlusError"}}function Yt(e,t){throw new n0(`[${e}] ${t}`)}const Dd=(e="")=>e.split(" ").filter(t=>!!t.trim()),Tn=(e,t)=>{if(!e||!t)return!1;if(t.includes(" "))throw new Error("className should not contain space.");return e.classList.contains(t)},En=(e,t)=>{!e||!t.trim()||e.classList.add(...Dd(t))},fn=(e,t)=>{!e||!t.trim()||e.classList.remove(...Dd(t))},al=(e,t)=>{var n;if(!ft||!e||!t)return"";let l=hd(t);l==="float"&&(l="cssFloat");try{const a=e.style[l];if(a)return a;const s=(n=document.defaultView)==null?void 0:n.getComputedStyle(e,"");return s?s[l]:""}catch{return e.style[l]}};function Vt(e,t="px"){if(!e)return"";if(Ae(e)||e0(e))return`${e}${t}`;if(lt(e))return e}const l0=(e,t)=>{if(!ft)return!1;const n={undefined:"overflow",true:"overflow-y",false:"overflow-x"}[String(t)],l=al(e,n);return["scroll","auto","overlay"].some(a=>l.includes(a))},li=(e,t)=>{if(!ft)return;let n=e;for(;n;){if([window,document,document.documentElement].includes(n))return window;if(l0(n,t))return n;n=n.parentNode}return n};let aa;const Fd=e=>{var t;if(!ft)return 0;if(aa!==void 0)return aa;const n=document.createElement("div");n.className=`${e}-scrollbar__wrap`,n.style.visibility="hidden",n.style.width="100px",n.style.position="absolute",n.style.top="-9999px",document.body.appendChild(n);const l=n.offsetWidth;n.style.overflow="scroll";const a=document.createElement("div");a.style.width="100%",n.appendChild(a);const s=a.offsetWidth;return(t=n.parentNode)==null||t.removeChild(n),aa=l-s,aa};function zd(e,t){if(!ft)return;if(!t){e.scrollTop=0;return}const n=[];let l=t.offsetParent;for(;l!==null&&e!==l&&e.contains(l);)n.push(l),l=l.offsetParent;const a=t.offsetTop+n.reduce((u,d)=>u+d.offsetTop,0),s=a+t.offsetHeight,r=e.scrollTop,i=r+e.clientHeight;a<r?e.scrollTop=a:s>i&&(e.scrollTop=s-e.clientHeight)}function o0(e,t,n,l,a){const s=Date.now();let r;const i=()=>{const d=Date.now()-s,f=Qy(d>l?l:d,t,n,l);ss(e)?e.scrollTo(window.pageXOffset,f):e.scrollTop=f,d<l?r=fl(i):typeof a=="function"&&a()};return i(),()=>{r&&Al(r)}}const ac=(e,t)=>ss(t)?e.ownerDocument.documentElement:t,sc=e=>ss(e)?window.scrollY:e.scrollTop,sa=e=>{if(!ft||e==="")return null;if(lt(e))try{return document.querySelector(e)}catch{return null}return e},ar=[];let a0=ft?document.body:void 0;function s0(e){const t=document.createElement("div");return a0.appendChild(t),ar.push(t),t}function r0(e){ar.splice(ar.indexOf(e),1),e.remove()}const xd="__epPropKey",U=e=>e,i0=e=>wt(e)&&!!e[xd],An=(e,t)=>{if(!wt(e)||i0(e))return e;const{values:n,required:l,default:a,type:s,validator:r}=e,u={type:s,required:!!l,validator:n||r?d=>{let f=!1,c=[];if(n&&(c=Array.from(n),an(e,"default")&&c.push(a),f||(f=c.includes(d))),r&&(f||(f=r(d))),!f&&c.length>0){const v=[...new Set(c)].map(m=>JSON.stringify(m)).join(", ");Kb(`Invalid prop: validation failed${t?` for prop "${t}"`:""}. Expected one of [${v}], got value ${JSON.stringify(d)}.`)}return f}:void 0,[xd]:!0};return an(e,"default")&&(u.default=a),u},fe=e=>Va(Object.entries(e).map(([t,n])=>[t,An(n,t)])),kt=U([String,Object,Function]),oi={Close:_n},ai={Close:_n,SuccessFilled:$d,InfoFilled:Zr,WarningFilled:as,CircleCloseFilled:Xr},pl={success:$d,warning:as,error:Xr,info:Zr},si={validating:hl,success:Jr,error:ml},Ye=(e,t)=>{if(e.install=n=>{for(const l of[e,...Object.values(t??{})])n.component(l.name,l)},t)for(const[n,l]of Object.entries(t))e[n]=l;return e},Hd=(e,t)=>(e.install=n=>{e._context=n._context,n.config.globalProperties[t]=e},e),u0=(e,t)=>(e.install=n=>{n.directive(t,e)},e),Pt=e=>(e.install=Rt,e),rs=(...e)=>t=>{e.forEach(n=>{gt(n)?n(t):n.value=t})},Oe={tab:"Tab",enter:"Enter",space:"Space",left:"ArrowLeft",up:"ArrowUp",right:"ArrowRight",down:"ArrowDown",esc:"Escape",delete:"Delete",backspace:"Backspace",numpadEnter:"NumpadEnter",pageUp:"PageUp",pageDown:"PageDown",home:"Home",end:"End"},Kd=["year","years","month","date","dates","week","datetime","datetimerange","daterange","monthrange"],ba=["sun","mon","tue","wed","thu","fri","sat"],Ge="update:modelValue",Nt="change",pn="input",sr=Symbol("INSTALLED_KEY"),Bn=["","default","small","large"],c0={large:40,default:32,small:24},Wd=e=>["",...Bn].includes(e);var Sn=(e=>(e[e.TEXT=1]="TEXT",e[e.CLASS=2]="CLASS",e[e.STYLE=4]="STYLE",e[e.PROPS=8]="PROPS",e[e.FULL_PROPS=16]="FULL_PROPS",e[e.HYDRATE_EVENTS=32]="HYDRATE_EVENTS",e[e.STABLE_FRAGMENT=64]="STABLE_FRAGMENT",e[e.KEYED_FRAGMENT=128]="KEYED_FRAGMENT",e[e.UNKEYED_FRAGMENT=256]="UNKEYED_FRAGMENT",e[e.NEED_PATCH=512]="NEED_PATCH",e[e.DYNAMIC_SLOTS=1024]="DYNAMIC_SLOTS",e[e.HOISTED=-1]="HOISTED",e[e.BAIL=-2]="BAIL",e))(Sn||{});function rr(e){return Dt(e)&&e.type===Pe}function d0(e){return Dt(e)&&e.type===Ur}function f0(e){return Dt(e)&&!rr(e)&&!d0(e)}const p0=e=>{if(!Dt(e))return{};const t=e.props||{},n=(Dt(e.type)?e.type.props:void 0)||{},l={};return Object.keys(n).forEach(a=>{an(n[a],"default")&&(l[a]=n[a].default)}),Object.keys(t).forEach(a=>{l[hd(a)]=t[a]}),l},v0=e=>{if(!xe(e)||e.length>1)throw new Error("expect to receive a single Vue element child");return e[0]},il=e=>{const t=xe(e)?e:[e],n=[];return t.forEach(l=>{var a;xe(l)?n.push(...il(l)):Dt(l)&&xe(l.children)?n.push(...il(l.children)):(n.push(l),Dt(l)&&((a=l.component)!=null&&a.subTree)&&n.push(...il(l.component.subTree)))}),n},rc=e=>[...new Set(e)],bn=e=>!e&&e!==0?[]:Array.isArray(e)?e:[e],ri=e=>/([\uAC00-\uD7AF\u3130-\u318F])+/gi.test(e),_t=e=>e;function h0(e){let t=0;const n=(...l)=>{t&&Al(t),t=fl(()=>{e(...l),t=0})};return n.cancel=()=>{Al(t),t=0},n}const m0=["class","style"],g0=/^on[A-Z]/,is=(e={})=>{const{excludeListeners:t=!1,excludeKeys:n}=e,l=b(()=>(n?.value||[]).concat(m0)),a=tt();return a?b(()=>{var s;return Va(Object.entries((s=a.proxy)==null?void 0:s.$attrs).filter(([r])=>!l.value.includes(r)&&!(t&&g0.test(r))))}):b(()=>({}))},zn=({from:e,replacement:t,scope:n,version:l,ref:a,type:s="API"},r)=>{re(()=>o(r),i=>{},{immediate:!0})},ii=(e,t,n,l)=>{let a={offsetX:0,offsetY:0};const s=u=>{const d=u.clientX,f=u.clientY,{offsetX:c,offsetY:v}=a,m=e.value.getBoundingClientRect(),h=m.left,p=m.top,C=m.width,g=m.height,w=document.documentElement.clientWidth,y=document.documentElement.clientHeight,S=-h+c,$=-p+v,T=w-h-C+c,M=y-p-g+v,O=A=>{let _=c+A.clientX-d,V=v+A.clientY-f;l?.value||(_=Math.min(Math.max(_,S),T),V=Math.min(Math.max(V,$),M)),a={offsetX:_,offsetY:V},e.value&&(e.value.style.transform=`translate(${Vt(_)}, ${Vt(V)})`)},R=()=>{document.removeEventListener("mousemove",O),document.removeEventListener("mouseup",R)};document.addEventListener("mousemove",O),document.addEventListener("mouseup",R)},r=()=>{t.value&&e.value&&t.value.addEventListener("mousedown",s)},i=()=>{t.value&&e.value&&t.value.removeEventListener("mousedown",s)};Ue(()=>{cn(()=>{n.value?r():i()})}),It(()=>{i()})},b0=e=>({focus:()=>{var t,n;(n=(t=e.value)==null?void 0:t.focus)==null||n.call(t)}});var y0={name:"en",el:{breadcrumb:{label:"Breadcrumb"},colorpicker:{confirm:"OK",clear:"Clear",defaultLabel:"color picker",description:"current color is {color}. press enter to select a new color."},datepicker:{now:"Now",today:"Today",cancel:"Cancel",clear:"Clear",confirm:"OK",dateTablePrompt:"Use the arrow keys and enter to select the day of the month",monthTablePrompt:"Use the arrow keys and enter to select the month",yearTablePrompt:"Use the arrow keys and enter to select the year",selectedDate:"Selected date",selectDate:"Select date",selectTime:"Select time",startDate:"Start Date",startTime:"Start Time",endDate:"End Date",endTime:"End Time",prevYear:"Previous Year",nextYear:"Next Year",prevMonth:"Previous Month",nextMonth:"Next Month",year:"",month1:"January",month2:"February",month3:"March",month4:"April",month5:"May",month6:"June",month7:"July",month8:"August",month9:"September",month10:"October",month11:"November",month12:"December",week:"week",weeks:{sun:"Sun",mon:"Mon",tue:"Tue",wed:"Wed",thu:"Thu",fri:"Fri",sat:"Sat"},weeksFull:{sun:"Sunday",mon:"Monday",tue:"Tuesday",wed:"Wednesday",thu:"Thursday",fri:"Friday",sat:"Saturday"},months:{jan:"Jan",feb:"Feb",mar:"Mar",apr:"Apr",may:"May",jun:"Jun",jul:"Jul",aug:"Aug",sep:"Sep",oct:"Oct",nov:"Nov",dec:"Dec"}},inputNumber:{decrease:"decrease number",increase:"increase number"},select:{loading:"Loading",noMatch:"No matching data",noData:"No data",placeholder:"Select"},dropdown:{toggleDropdown:"Toggle Dropdown"},cascader:{noMatch:"No matching data",loading:"Loading",placeholder:"Select",noData:"No data"},pagination:{goto:"Go to",pagesize:"/page",total:"Total {total}",pageClassifier:"",page:"Page",prev:"Go to previous page",next:"Go to next page",currentPage:"page {pager}",prevPages:"Previous {pager} pages",nextPages:"Next {pager} pages",deprecationWarning:"Deprecated usages detected, please refer to the el-pagination documentation for more details"},dialog:{close:"Close this dialog"},drawer:{close:"Close this dialog"},messagebox:{title:"Message",confirm:"OK",cancel:"Cancel",error:"Illegal input",close:"Close this dialog"},upload:{deleteTip:"press delete to remove",delete:"Delete",preview:"Preview",continue:"Continue"},slider:{defaultLabel:"slider between {min} and {max}",defaultRangeStartLabel:"pick start value",defaultRangeEndLabel:"pick end value"},table:{emptyText:"No Data",confirmFilter:"Confirm",resetFilter:"Reset",clearFilter:"All",sumText:"Sum"},tour:{next:"Next",previous:"Previous",finish:"Finish"},tree:{emptyText:"No Data"},transfer:{noMatch:"No matching data",noData:"No data",titles:["List 1","List 2"],filterPlaceholder:"Enter keyword",noCheckedFormat:"{total} items",hasCheckedFormat:"{checked}/{total} checked"},image:{error:"FAILED"},pageHeader:{title:"Back"},popconfirm:{confirmButtonText:"Yes",cancelButtonText:"No"},carousel:{leftArrow:"Carousel arrow left",rightArrow:"Carousel arrow right",indicator:"Carousel switch to index {index}"}}};const jd=e=>(t,n)=>Ud(t,n,o(e)),Ud=(e,t,n)=>zt(n,e,e).replace(/\{(\w+)\}/g,(l,a)=>{var s;return`${(s=t?.[a])!=null?s:`{${a}}`}`}),Yd=e=>{const t=b(()=>o(e).name),n=hn(e)?e:N(e);return{lang:t,locale:n,t:jd(e)}},ui=Symbol("localeContextKey"),pt=e=>{const t=e||ke(ui,N());return Yd(b(()=>t.value||y0))},Zl="el",C0="is-",yl=(e,t,n,l,a)=>{let s=`${e}-${t}`;return n&&(s+=`-${n}`),l&&(s+=`__${l}`),a&&(s+=`--${a}`),s},ci=Symbol("namespaceContextKey"),us=e=>{const t=e||(tt()?ke(ci,N(Zl)):N(Zl));return b(()=>o(t)||Zl)},ae=(e,t)=>{const n=us(t);return{namespace:n,b:(p="")=>yl(n.value,e,p,"",""),e:p=>p?yl(n.value,e,"",p,""):"",m:p=>p?yl(n.value,e,"","",p):"",be:(p,C)=>p&&C?yl(n.value,e,p,C,""):"",em:(p,C)=>p&&C?yl(n.value,e,"",p,C):"",bm:(p,C)=>p&&C?yl(n.value,e,p,"",C):"",bem:(p,C,g)=>p&&C&&g?yl(n.value,e,p,C,g):"",is:(p,...C)=>{const g=C.length>=1?C[0]:!0;return p&&g?`${C0}${p}`:""},cssVar:p=>{const C={};for(const g in p)p[g]&&(C[`--${n.value}-${g}`]=p[g]);return C},cssVarName:p=>`--${n.value}-${p}`,cssVarBlock:p=>{const C={};for(const g in p)p[g]&&(C[`--${n.value}-${e}-${g}`]=p[g]);return C},cssVarBlockName:p=>`--${n.value}-${e}-${p}`}},cs=(e,t={})=>{hn(e)||Yt("[useLockscreen]","You need to pass a ref param to this function");const n=t.ns||ae("popup"),l=Wb(()=>n.bm("parent","hidden"));if(!ft||Tn(document.body,l.value))return;let a=0,s=!1,r="0";const i=()=>{setTimeout(()=>{fn(document?.body,l.value),s&&document&&(document.body.style.width=r)},200)};re(e,u=>{if(!u){i();return}s=!Tn(document.body,l.value),s&&(r=document.body.style.width),a=Fd(n.namespace.value);const d=document.documentElement.clientHeight<document.body.scrollHeight,f=al(document.body,"overflowY");a>0&&(d||f==="scroll")&&s&&(document.body.style.width=`calc(100% - ${a}px)`),En(document.body,l.value)}),jb(()=>i())},Jl=[],w0=e=>{Jl.length!==0&&e.code===Oe.esc&&(e.stopPropagation(),Jl[Jl.length-1].handleClose())},S0=(e,t)=>{re(t,n=>{n?Jl.push(e):Jl.splice(Jl.indexOf(e),1)})};ft&&jt(document,"keydown",w0);const k0=An({type:U(Boolean),default:null}),E0=An({type:U(Function)}),di=e=>{const t=`update:${e}`,n=`onUpdate:${e}`,l=[t],a={[e]:k0,[n]:E0};return{useModelToggle:({indicator:r,toggleReason:i,shouldHideWhenRouteChanges:u,shouldProceed:d,onShow:f,onHide:c})=>{const v=tt(),{emit:m}=v,h=v.props,p=b(()=>gt(h[n])),C=b(()=>h[e]===null),g=M=>{r.value!==!0&&(r.value=!0,i&&(i.value=M),gt(f)&&f(M))},w=M=>{r.value!==!1&&(r.value=!1,i&&(i.value=M),gt(c)&&c(M))},y=M=>{if(h.disabled===!0||gt(d)&&!d())return;const O=p.value&&ft;O&&m(t,!0),(C.value||!O)&&g(M)},S=M=>{if(h.disabled===!0||!ft)return;const O=p.value&&ft;O&&m(t,!1),(C.value||!O)&&w(M)},$=M=>{Wt(M)&&(h.disabled&&M?p.value&&m(t,!1):r.value!==M&&(M?g():w()))},T=()=>{r.value?S():y()};return re(()=>h[e],$),u&&v.appContext.config.globalProperties.$route!==void 0&&re(()=>({...v.proxy.$route}),()=>{u.value&&r.value&&S()}),Ue(()=>{$(h[e])}),{hide:S,show:y,toggle:T,hasUpdateHandler:p}},useModelToggleProps:a,useModelToggleEmits:l}},{useModelToggle:$0,useModelToggleProps:T0,useModelToggleEmits:N0}=di("modelValue"),I0=(e,t,n)=>{const l=s=>{n(s)&&s.stopImmediatePropagation()};let a;re(()=>e.value,s=>{s?a=jt(document,t,l,!0):a?.()},{immediate:!0})},fi=e=>{const t=tt();return b(()=>{var n,l;return(l=(n=t?.proxy)==null?void 0:n.$props)==null?void 0:l[e]})},qd=(e,t,n={})=>{const l={name:"updateState",enabled:!0,phase:"write",fn:({state:u})=>{const d=M0(u);Object.assign(r.value,d)},requires:["computeStyles"]},a=b(()=>{const{onFirstUpdate:u,placement:d,strategy:f,modifiers:c}=o(n);return{onFirstUpdate:u,placement:d||"bottom",strategy:f||"absolute",modifiers:[...c||[],l,{name:"applyStyles",enabled:!1}]}}),s=Ot(),r=N({styles:{popper:{position:o(a).strategy,left:"0",top:"0"},arrow:{position:"absolute"}},attributes:{}}),i=()=>{s.value&&(s.value.destroy(),s.value=void 0)};return re(a,u=>{const d=o(s);d&&d.setOptions(u)},{deep:!0}),re([e,t],([u,d])=>{i(),!(!u||!d)&&(s.value=By(u,d,o(a)))}),It(()=>{i()}),{state:b(()=>{var u;return{...((u=o(s))==null?void 0:u.state)||{}}}),styles:b(()=>o(r).styles),attributes:b(()=>o(r).attributes),update:()=>{var u;return(u=o(s))==null?void 0:u.update()},forceUpdate:()=>{var u;return(u=o(s))==null?void 0:u.forceUpdate()},instanceRef:b(()=>o(s))}};function M0(e){const t=Object.keys(e.elements),n=Va(t.map(a=>[a,e.styles[a]||{}])),l=Va(t.map(a=>[a,e.attributes[a]]));return{styles:n,attributes:l}}const ds=e=>{if(!e)return{onClick:Rt,onMousedown:Rt,onMouseup:Rt};let t=!1,n=!1;return{onClick:r=>{t&&n&&e(r),t=n=!1},onMousedown:r=>{t=r.target===r.currentTarget},onMouseup:r=>{n=r.target===r.currentTarget}}},O0=(e,t)=>{const n=N(!1);if(!ft)return{isTeleportVisible:n,showTeleport:Rt,hideTeleport:Rt,renderTeleport:Rt};let l=null;const a=()=>{n.value=!0,l===null&&(l=s0())},s=()=>{n.value=!1,l!==null&&(r0(l),l=null)},r=()=>t.value!==!0?e():n.value?[Me(Vl,{to:l},e())]:void 0;return Ll(s),{isTeleportVisible:n,showTeleport:a,hideTeleport:s,renderTeleport:r}},Gd=(e,t=0)=>{if(t===0)return e;const n=N(!1);let l=0;const a=()=>{l&&clearTimeout(l),l=window.setTimeout(()=>{n.value=e.value},t)};return Ue(a),re(()=>e.value,s=>{s?a():n.value=s}),n};function ir(){let e;const t=(l,a)=>{n(),e=window.setTimeout(l,a)},n=()=>window.clearTimeout(e);return ry(()=>n()),{registerTimeout:t,cancelTimeout:n}}const Xd="after-appear",Zd="after-enter",Jd="after-leave",R0="appear",Qd="appear-cancelled",ef="before-enter",tf="before-leave",nf="enter",lf="enter-cancelled",of="leave",af="leave-cancelled",_0=[Xd,Zd,Jd,R0,Qd,ef,tf,nf,lf,of,af],P0=()=>{const{emit:e}=tt();return{onAfterAppear:()=>{e(Xd)},onAfterEnter:()=>{e(Zd)},onAfterLeave:()=>{e(Jd)},onAppearCancelled:()=>{e(Qd)},onBeforeEnter:()=>{e(ef)},onBeforeLeave:()=>{e(tf)},onEnter:()=>{e(nf)},onEnterCancelled:()=>{e(lf)},onLeave:()=>{e(of)},onLeaveCancelled:()=>{e(af)}}},ic={prefix:Math.floor(Math.random()*1e4),current:0},sf=Symbol("elIdInjection"),fs=()=>tt()?ke(sf,ic):ic,tn=e=>{const t=fs(),n=us();return b(()=>o(e)||`${n.value}-id-${t.prefix}-${t.current++}`)};let Yl=[];const uc=e=>{const t=e;t.key===Oe.esc&&Yl.forEach(n=>n(t))},rf=e=>{Ue(()=>{Yl.length===0&&document.addEventListener("keydown",uc),ft&&Yl.push(e)}),It(()=>{Yl=Yl.filter(t=>t!==e),Yl.length===0&&ft&&document.removeEventListener("keydown",uc)})};let cc;const pi=()=>{const e=us(),t=fs(),n=b(()=>`${e.value}-popper-container-${t.prefix}`),l=b(()=>`#${n.value}`);return{id:n,selector:l}},A0=e=>{const t=document.createElement("div");return t.id=e,document.body.appendChild(t),t},uf=()=>{const{id:e,selector:t}=pi();return Yr(()=>{ft&&!cc&&!document.body.querySelector(t.value)&&(cc=A0(e.value))}),{id:e,selector:t}},B0=({indicator:e,intermediateIndicator:t,shouldSetIntermediate:n=()=>!0,beforeShow:l,afterShow:a,afterHide:s,beforeHide:r})=>{re(()=>o(e),i=>{i?(l?.(),Ne(()=>{o(e)&&n("show")&&(t.value=!0)})):(r?.(),Ne(()=>{o(e)||n("hide")&&(t.value=!1)}))}),re(()=>t.value,i=>{i?a?.():s?.()})},cf=fe({showAfter:{type:Number,default:0},hideAfter:{type:Number,default:200},autoClose:{type:Number,default:0}}),df=({showAfter:e,hideAfter:t,autoClose:n,open:l,close:a})=>{const{registerTimeout:s}=ir(),{registerTimeout:r,cancelTimeout:i}=ir();return{onOpen:f=>{s(()=>{l(f);const c=o(n);Ae(c)&&c>0&&r(()=>{a(f)},c)},o(e))},onClose:f=>{i(),s(()=>{a(f)},o(t))}}},vi=Symbol("elForwardRef"),ff=e=>{st(vi,{setForwardRef:n=>{e.value=n}})},pf=e=>({mounted(t){e(t)},updated(t){e(t)},unmounted(){e(null)}}),dc={current:0},fc=N(0),hi=2e3,ur=Symbol("elZIndexContextKey"),mi=Symbol("zIndexContextKey"),zl=e=>{const t=tt()?ke(ur,dc):dc,n=e||(tt()?ke(mi,void 0):void 0),l=b(()=>{const r=o(n);return Ae(r)?r:hi}),a=b(()=>l.value+fc.value),s=()=>(t.current++,fc.value=t.current,a.value);return!ft&&ke(ur),{initialZIndex:l,currentZIndex:a,nextZIndex:s}},L0=fe({}),V0=e=>{if(!ft)return;if(!e)return e;const t=os(e);return t||(hn(e)?t:e)},D0=(e,t)=>{const n=e?.[t];return qt(n)?"":`${n}px`},vf=({middleware:e,placement:t,strategy:n})=>{const l=N(),a=N(),s=N(),r=N(),i=N({}),u={x:s,y:r,placement:t,strategy:n,middlewareData:i},d=async()=>{if(!ft)return;const f=V0(l),c=os(a);if(!f||!c)return;const v=await Pd(f,c,{placement:o(t),strategy:o(n),middleware:o(e)});oo(u).forEach(m=>{u[m].value=v[m]})};return Ue(()=>{cn(()=>{d()})}),{...u,update:d,referenceRef:l,contentRef:a}},hf=({arrowRef:e,padding:t})=>({name:"arrow",options:{element:e,padding:t},fn(n){const l=o(e);return l?_d({element:l,padding:t}).fn(n):{}}});function mf(e){const t=N();function n(){if(e.value==null)return;const{selectionStart:a,selectionEnd:s,value:r}=e.value;if(a==null||s==null)return;const i=r.slice(0,Math.max(0,a)),u=r.slice(Math.max(0,s));t.value={selectionStart:a,selectionEnd:s,value:r,beforeTxt:i,afterTxt:u}}function l(){if(e.value==null||t.value==null)return;const{value:a}=e.value,{beforeTxt:s,afterTxt:r,selectionStart:i}=t.value;if(s==null||r==null||i==null)return;let u=a.length;if(a.endsWith(r))u=a.length-r.length;else if(a.startsWith(s))u=s.length;else{const d=s[i-1],f=a.indexOf(d,i-1);f!==-1&&(u=f+1)}e.value.setSelectionRange(u,u)}return[n,l]}const F0=(e,t,n)=>il(e.subTree).filter(s=>{var r;return Dt(s)&&((r=s.type)==null?void 0:r.name)===t&&!!s.component}).map(s=>s.component.uid).map(s=>n[s]).filter(s=>!!s),ps=(e,t)=>{const n={},l=Ot([]);return{children:l,addChild:r=>{n[r.uid]=r,l.value=F0(e,t,n)},removeChild:r=>{delete n[r],l.value=l.value.filter(i=>i.uid!==r)}}},Ut=An({type:String,values:Bn,required:!1}),z0={size:Ut},gi=Symbol("size"),gf=()=>{const e=ke(gi,{});return b(()=>o(e.size)||"")};function Wo(e,{afterFocus:t,beforeBlur:n,afterBlur:l}={}){const a=tt(),{emit:s}=a,r=Ot(),i=N(!1),u=c=>{i.value||(i.value=!0,s("focus",c),t?.())},d=c=>{var v;gt(n)&&n(c)||c.relatedTarget&&((v=r.value)!=null&&v.contains(c.relatedTarget))||(i.value=!1,s("blur",c),l?.())},f=()=>{var c;(c=e.value)==null||c.focus()};return re(r,c=>{c&&c.setAttribute("tabindex","-1")}),jt(r,"click",f),{wrapperRef:r,isFocused:i,handleFocus:u,handleBlur:d}}const x0="use-empty-values",bf=["",void 0,null],yf=void 0,xl=fe({emptyValues:Array,valueOnClear:{type:[String,Number,Boolean,Function],default:void 0,validator:e=>gt(e)?!e():!e}}),jo=(e,t)=>{let n=ho();n.value||(n=N({}));const l=b(()=>e.emptyValues||n.value.emptyValues||bf),a=b(()=>gt(e.valueOnClear)?e.valueOnClear():e.valueOnClear!==void 0?e.valueOnClear:gt(n.value.valueOnClear)?n.value.valueOnClear():n.value.valueOnClear!==void 0?n.value.valueOnClear:t!==void 0?t:yf),s=r=>l.value.includes(r);return l.value.includes(a.value),{emptyValues:l,valueOnClear:a,isEmptyValue:s}},bi=Symbol(),Fa=N();function ho(e,t=void 0){const n=tt()?ke(bi,Fa):Fa;return e?b(()=>{var l,a;return(a=(l=n.value)==null?void 0:l[e])!=null?a:t}):n}function Uo(e,t){const n=ho(),l=ae(e,b(()=>{var i;return((i=n.value)==null?void 0:i.namespace)||Zl})),a=pt(b(()=>{var i;return(i=n.value)==null?void 0:i.locale})),s=zl(b(()=>{var i;return((i=n.value)==null?void 0:i.zIndex)||hi})),r=b(()=>{var i;return o(t)||((i=n.value)==null?void 0:i.size)||""});return vs(b(()=>o(n)||{})),{ns:l,locale:a,zIndex:s,size:r}}const vs=(e,t,n=!1)=>{var l;const a=!!tt(),s=a?ho():void 0,r=(l=t?.provide)!=null?l:a?st:void 0;if(!r)return;const i=b(()=>{const u=o(e);return s?.value?H0(s.value,u):u});return r(bi,i),r(ui,b(()=>i.value.locale)),r(ci,b(()=>i.value.namespace)),r(mi,b(()=>i.value.zIndex)),r(gi,{size:b(()=>i.value.size||"")}),(n||!Fa.value)&&(Fa.value=i.value),i},H0=(e,t)=>{const n=[...new Set([...oo(e),...oo(t)])],l={};for(const a of n)l[a]=t[a]!==void 0?t[a]:e[a];return l},Cf=fe({a11y:{type:Boolean,default:!0},locale:{type:U(Object)},size:Ut,button:{type:U(Object)},experimentalFeatures:{type:U(Object)},keyboardNavigation:{type:Boolean,default:!0},message:{type:U(Object)},zIndex:Number,namespace:{type:String,default:"el"},...xl}),za={},K0=H({name:"ElConfigProvider",props:Cf,setup(e,{slots:t}){re(()=>e.message,l=>{Object.assign(za,l??{})},{immediate:!0,deep:!0});const n=vs(e);return()=>ee(t,"default",{config:n?.value})}}),wf=Ye(K0),W0="2.7.1",Sf=(e=[])=>({version:W0,install:(n,l)=>{n[sr]||(n[sr]=!0,e.forEach(a=>n.use(a)),l&&vs(l,n,!0))}}),kf=fe({zIndex:{type:U([Number,String]),default:100},target:{type:String,default:""},offset:{type:Number,default:0},position:{type:String,values:["top","bottom"],default:"top"}}),Ef={scroll:({scrollTop:e,fixed:t})=>Ae(e)&&Wt(t),[Nt]:e=>Wt(e)};var pe=(e,t)=>{const n=e.__vccOpts||e;for(const[l,a]of t)n[l]=a;return n};const $f="ElAffix",j0=H({name:$f}),U0=H({...j0,props:kf,emits:Ef,setup(e,{expose:t,emit:n}){const l=e,a=ae("affix"),s=Ot(),r=Ot(),i=Ot(),{height:u}=iy(),{height:d,width:f,top:c,bottom:v,update:m}=Qu(r,{windowScroll:!1}),h=Qu(s),p=N(!1),C=N(0),g=N(0),w=b(()=>({height:p.value?`${d.value}px`:"",width:p.value?`${f.value}px`:""})),y=b(()=>{if(!p.value)return{};const T=l.offset?Vt(l.offset):0;return{height:`${d.value}px`,width:`${f.value}px`,top:l.position==="top"?T:"",bottom:l.position==="bottom"?T:"",transform:g.value?`translateY(${g.value}px)`:"",zIndex:l.zIndex}}),S=()=>{if(i.value)if(C.value=i.value instanceof Window?document.documentElement.scrollTop:i.value.scrollTop||0,l.position==="top")if(l.target){const T=h.bottom.value-l.offset-d.value;p.value=l.offset>c.value&&h.bottom.value>0,g.value=T<0?T:0}else p.value=l.offset>c.value;else if(l.target){const T=u.value-h.top.value-l.offset-d.value;p.value=u.value-l.offset<v.value&&u.value>h.top.value,g.value=T<0?-T:0}else p.value=u.value-l.offset<v.value},$=()=>{m(),n("scroll",{scrollTop:C.value,fixed:p.value})};return re(p,T=>n("change",T)),Ue(()=>{var T;l.target?(s.value=(T=document.querySelector(l.target))!=null?T:void 0,s.value||Yt($f,`Target is not existed: ${l.target}`)):s.value=document.documentElement,i.value=li(r.value,!0),m()}),jt(i,"scroll",$),cn(S),t({update:S,updateRoot:m}),(T,M)=>(k(),L("div",{ref_key:"root",ref:r,class:E(o(a).b()),style:$e(o(w))},[z("div",{class:E({[o(a).m("fixed")]:p.value}),style:$e(o(y))},[ee(T.$slots,"default")],6)],6))}});var Y0=pe(U0,[["__file","affix.vue"]]);const Tf=Ye(Y0),Nf=fe({size:{type:U([Number,String])},color:{type:String}}),q0=H({name:"ElIcon",inheritAttrs:!1}),G0=H({...q0,props:Nf,setup(e){const t=e,n=ae("icon"),l=b(()=>{const{size:a,color:s}=t;return!a&&!s?{}:{fontSize:Kt(a)?void 0:Vt(a),"--color":s}});return(a,s)=>(k(),L("i",ot({class:o(n).b(),style:o(l)},a.$attrs),[ee(a.$slots,"default")],16))}});var X0=pe(G0,[["__file","icon.vue"]]);const Ee=Ye(X0),If=["light","dark"],Mf=fe({title:{type:String,default:""},description:{type:String,default:""},type:{type:String,values:oo(pl),default:"info"},closable:{type:Boolean,default:!0},closeText:{type:String,default:""},showIcon:Boolean,center:Boolean,effect:{type:String,values:If,default:"light"}}),Of={close:e=>e instanceof MouseEvent},Z0=H({name:"ElAlert"}),J0=H({...Z0,props:Mf,emits:Of,setup(e,{emit:t}){const n=e,{Close:l}=ai,a=Qt(),s=ae("alert"),r=N(!0),i=b(()=>pl[n.type]),u=b(()=>[s.e("icon"),{[s.is("big")]:!!n.description||!!a.default}]),d=b(()=>({"with-description":n.description||a.default})),f=c=>{r.value=!1,t("close",c)};return(c,v)=>(k(),Q(Jt,{name:o(s).b("fade"),persisted:""},{default:j(()=>[We(z("div",{class:E([o(s).b(),o(s).m(c.type),o(s).is("center",c.center),o(s).is(c.effect)]),role:"alert"},[c.showIcon&&o(i)?(k(),Q(o(Ee),{key:0,class:E(o(u))},{default:j(()=>[(k(),Q(et(o(i))))]),_:1},8,["class"])):X("v-if",!0),z("div",{class:E(o(s).e("content"))},[c.title||c.$slots.title?(k(),L("span",{key:0,class:E([o(s).e("title"),o(d)])},[ee(c.$slots,"title",{},()=>[vt(he(c.title),1)])],2)):X("v-if",!0),c.$slots.default||c.description?(k(),L("p",{key:1,class:E(o(s).e("description"))},[ee(c.$slots,"default",{},()=>[vt(he(c.description),1)])],2)):X("v-if",!0),c.closable?(k(),L(Pe,{key:2},[c.closeText?(k(),L("div",{key:0,class:E([o(s).e("close-btn"),o(s).is("customed")]),onClick:f},he(c.closeText),3)):(k(),Q(o(Ee),{key:1,class:E(o(s).e("close-btn")),onClick:f},{default:j(()=>[x(o(l))]),_:1},8,["class"]))],64)):X("v-if",!0)],2)],2),[[mt,r.value]])]),_:3},8,["name"]))}});var Q0=pe(J0,[["__file","alert.vue"]]);const Rf=Ye(Q0),gl=Symbol("formContextKey"),Pn=Symbol("formItemContextKey"),xt=(e,t={})=>{const n=N(void 0),l=t.prop?n:fi("size"),a=t.global?n:gf(),s=t.form?{size:void 0}:ke(gl,void 0),r=t.formItem?{size:void 0}:ke(Pn,void 0);return b(()=>l.value||o(e)||r?.size||s?.size||a.value||"")},rn=e=>{const t=fi("disabled"),n=ke(gl,void 0);return b(()=>t.value||o(e)||n?.disabled||!1)},eC=xt,tC=rn,un=()=>{const e=ke(gl,void 0),t=ke(Pn,void 0);return{form:e,formItem:t}},In=(e,{formItemContext:t,disableIdGeneration:n,disableIdManagement:l})=>{n||(n=N(!1)),l||(l=N(!1));const a=N();let s;const r=b(()=>{var i;return!!(!e.label&&t&&t.inputIds&&((i=t.inputIds)==null?void 0:i.length)<=1)});return Ue(()=>{s=re([Et(e,"id"),n],([i,u])=>{const d=i??(u?void 0:tn().value);d!==a.value&&(t?.removeInputId&&(a.value&&t.removeInputId(a.value),!l?.value&&!u&&d&&t.addInputId(d)),a.value=d)},{immediate:!0})}),Ll(()=>{s&&s(),t?.removeInputId&&a.value&&t.removeInputId(a.value)}),{isLabeledByFormItem:r,inputId:a}},nC=fe({size:{type:String,values:Bn},disabled:Boolean}),_f=fe({...nC,model:Object,rules:{type:U(Object)},labelPosition:{type:String,values:["left","right","top"],default:"right"},requireAsteriskPosition:{type:String,values:["left","right"],default:"left"},labelWidth:{type:[String,Number],default:""},labelSuffix:{type:String,default:""},inline:Boolean,inlineMessage:Boolean,statusIcon:Boolean,showMessage:{type:Boolean,default:!0},validateOnRuleChange:{type:Boolean,default:!0},hideRequiredAsterisk:Boolean,scrollToError:Boolean,scrollIntoViewOptions:{type:[Object,Boolean]}}),Pf={validate:(e,t,n)=>(xe(e)||lt(e))&&Wt(t)&&lt(n)};function lC(){const e=N([]),t=b(()=>{if(!e.value.length)return"0";const s=Math.max(...e.value);return s?`${s}px`:""});function n(s){const r=e.value.indexOf(s);return r===-1&&t.value,r}function l(s,r){if(s&&r){const i=n(r);e.value.splice(i,1,s)}else s&&e.value.push(s)}function a(s){const r=n(s);r>-1&&e.value.splice(r,1)}return{autoLabelWidth:t,registerLabelWidth:l,deregisterLabelWidth:a}}const ra=(e,t)=>{const n=Rl(t);return n.length>0?e.filter(l=>l.prop&&n.includes(l.prop)):e},oC="ElForm",aC=H({name:oC}),sC=H({...aC,props:_f,emits:Pf,setup(e,{expose:t,emit:n}){const l=e,a=[],s=xt(),r=ae("form"),i=b(()=>{const{labelPosition:y,inline:S}=l;return[r.b(),r.m(s.value||"default"),{[r.m(`label-${y}`)]:y,[r.m("inline")]:S}]}),u=y=>a.find(S=>S.prop===y),d=y=>{a.push(y)},f=y=>{y.prop&&a.splice(a.indexOf(y),1)},c=(y=[])=>{l.model&&ra(a,y).forEach(S=>S.resetField())},v=(y=[])=>{ra(a,y).forEach(S=>S.clearValidate())},m=b(()=>!!l.model),h=y=>{if(a.length===0)return[];const S=ra(a,y);return S.length?S:[]},p=async y=>g(void 0,y),C=async(y=[])=>{if(!m.value)return!1;const S=h(y);if(S.length===0)return!0;let $={};for(const T of S)try{await T.validate("")}catch(M){$={...$,...M}}return Object.keys($).length===0?!0:Promise.reject($)},g=async(y=[],S)=>{const $=!gt(S);try{const T=await C(y);return T===!0&&S?.(T),T}catch(T){if(T instanceof Error)throw T;const M=T;return l.scrollToError&&w(Object.keys(M)[0]),S?.(!1,M),$&&Promise.reject(M)}},w=y=>{var S;const $=ra(a,y)[0];$&&((S=$.$el)==null||S.scrollIntoView(l.scrollIntoViewOptions))};return re(()=>l.rules,()=>{l.validateOnRuleChange&&p().catch(y=>void 0)},{deep:!0}),st(gl,yt({...en(l),emit:n,resetFields:c,clearValidate:v,validateField:g,getField:u,addField:d,removeField:f,...lC()})),t({validate:p,validateField:g,resetFields:c,clearValidate:v,scrollToField:w}),(y,S)=>(k(),L("form",{class:E(o(i))},[ee(y.$slots,"default")],2))}});var rC=pe(sC,[["__file","form.vue"]]);const Af=["","error","validating","success"],Bf=fe({label:String,labelWidth:{type:[String,Number],default:""},prop:{type:U([String,Array])},required:{type:Boolean,default:void 0},rules:{type:U([Object,Array])},error:String,validateStatus:{type:String,values:Af},for:String,inlineMessage:{type:[String,Boolean],default:""},showMessage:{type:Boolean,default:!0},size:{type:String,values:Bn}}),pc="ElLabelWrap";var iC=H({name:pc,props:{isAutoWidth:Boolean,updateAll:Boolean},setup(e,{slots:t}){const n=ke(gl,void 0),l=ke(Pn);l||Yt(pc,"usage: <el-form-item><label-wrap /></el-form-item>");const a=ae("form"),s=N(),r=N(0),i=()=>{var f;if((f=s.value)!=null&&f.firstElementChild){const c=window.getComputedStyle(s.value.firstElementChild).width;return Math.ceil(Number.parseFloat(c))}else return 0},u=(f="update")=>{Ne(()=>{t.default&&e.isAutoWidth&&(f==="update"?r.value=i():f==="remove"&&n?.deregisterLabelWidth(r.value))})},d=()=>u("update");return Ue(()=>{d()}),It(()=>{u("remove")}),Dl(()=>d()),re(r,(f,c)=>{e.updateAll&&n?.registerLabelWidth(f,c)}),At(b(()=>{var f,c;return(c=(f=s.value)==null?void 0:f.firstElementChild)!=null?c:null}),d),()=>{var f,c;if(!t)return null;const{isAutoWidth:v}=e;if(v){const m=n?.autoLabelWidth,h=l?.hasLabel,p={};if(h&&m&&m!=="auto"){const C=Math.max(0,Number.parseInt(m,10)-r.value),g=n.labelPosition==="left"?"marginRight":"marginLeft";C&&(p[g]=`${C}px`)}return x("div",{ref:s,class:[a.be("item","label-wrap")],style:p},[(f=t.default)==null?void 0:f.call(t)])}else return x(Pe,{ref:s},[(c=t.default)==null?void 0:c.call(t)])}}});const uC=["role","aria-labelledby"],cC=H({name:"ElFormItem"}),dC=H({...cC,props:Bf,setup(e,{expose:t}){const n=e,l=Qt(),a=ke(gl,void 0),s=ke(Pn,void 0),r=xt(void 0,{formItem:!1}),i=ae("form-item"),u=tn().value,d=N([]),f=N(""),c=uy(f,100),v=N(""),m=N();let h,p=!1;const C=b(()=>{if(a?.labelPosition==="top")return{};const oe=Vt(n.labelWidth||a?.labelWidth||"");return oe?{width:oe}:{}}),g=b(()=>{if(a?.labelPosition==="top"||a?.inline)return{};if(!n.label&&!n.labelWidth&&R)return{};const oe=Vt(n.labelWidth||a?.labelWidth||"");return!n.label&&!l.label?{marginLeft:oe}:{}}),w=b(()=>[i.b(),i.m(r.value),i.is("error",f.value==="error"),i.is("validating",f.value==="validating"),i.is("success",f.value==="success"),i.is("required",q.value||n.required),i.is("no-asterisk",a?.hideRequiredAsterisk),a?.requireAsteriskPosition==="right"?"asterisk-right":"asterisk-left",{[i.m("feedback")]:a?.statusIcon}]),y=b(()=>Wt(n.inlineMessage)?n.inlineMessage:a?.inlineMessage||!1),S=b(()=>[i.e("error"),{[i.em("error","inline")]:y.value}]),$=b(()=>n.prop?lt(n.prop)?n.prop:n.prop.join("."):""),T=b(()=>!!(n.label||l.label)),M=b(()=>n.for||(d.value.length===1?d.value[0]:void 0)),O=b(()=>!M.value&&T.value),R=!!s,A=b(()=>{const oe=a?.model;if(!(!oe||!n.prop))return ga(oe,n.prop).value}),_=b(()=>{const{required:oe}=n,le=[];n.rules&&le.push(...Rl(n.rules));const Se=a?.rules;if(Se&&n.prop){const ve=ga(Se,n.prop).value;ve&&le.push(...Rl(ve))}if(oe!==void 0){const ve=le.map((de,Ce)=>[de,Ce]).filter(([de])=>Object.keys(de).includes("required"));if(ve.length>0)for(const[de,Ce]of ve)de.required!==oe&&(le[Ce]={...de,required:oe});else le.push({required:oe})}return le}),V=b(()=>_.value.length>0),Y=oe=>_.value.filter(Se=>!Se.trigger||!oe?!0:Array.isArray(Se.trigger)?Se.trigger.includes(oe):Se.trigger===oe).map(({trigger:Se,...ve})=>ve),q=b(()=>_.value.some(oe=>oe.required)),K=b(()=>{var oe;return c.value==="error"&&n.showMessage&&((oe=a?.showMessage)!=null?oe:!0)}),D=b(()=>`${n.label||""}${a?.labelSuffix||""}`),P=oe=>{f.value=oe},F=oe=>{var le,Se;const{errors:ve,fields:de}=oe;(!ve||!de)&&console.error(oe),P("error"),v.value=ve?(Se=(le=ve?.[0])==null?void 0:le.message)!=null?Se:`${n.prop} is required`:"",a?.emit("validate",n.prop,!1,v.value)},I=()=>{P("success"),a?.emit("validate",n.prop,!0,"")},B=async oe=>{const le=$.value;return new Hy({[le]:oe}).validate({[le]:A.value},{firstFields:!0}).then(()=>(I(),!0)).catch(ve=>(F(ve),Promise.reject(ve)))},W=async(oe,le)=>{if(p||!n.prop)return!1;const Se=gt(le);if(!V.value)return le?.(!1),!1;const ve=Y(oe);return ve.length===0?(le?.(!0),!0):(P("validating"),B(ve).then(()=>(le?.(!0),!0)).catch(de=>{const{fields:Ce}=de;return le?.(!1,Ce),Se?!1:Promise.reject(Ce)}))},G=()=>{P(""),v.value="",p=!1},J=async()=>{const oe=a?.model;if(!oe||!n.prop)return;const le=ga(oe,n.prop);p=!0,le.value=Ju(h),await Ne(),G(),p=!1},se=oe=>{d.value.includes(oe)||d.value.push(oe)},me=oe=>{d.value=d.value.filter(le=>le!==oe)};re(()=>n.error,oe=>{v.value=oe||"",P(oe?"error":"")},{immediate:!0}),re(()=>n.validateStatus,oe=>P(oe||""));const Z=yt({...en(n),$el:m,size:r,validateState:f,labelId:u,inputIds:d,isGroup:O,hasLabel:T,fieldValue:A,addInputId:se,removeInputId:me,resetField:J,clearValidate:G,validate:W});return st(Pn,Z),Ue(()=>{n.prop&&(a?.addField(Z),h=Ju(A.value))}),It(()=>{a?.removeField(Z)}),t({size:r,validateMessage:v,validateState:f,validate:W,clearValidate:G,resetField:J}),(oe,le)=>{var Se;return k(),L("div",{ref_key:"formItemRef",ref:m,class:E(o(w)),role:o(O)?"group":void 0,"aria-labelledby":o(O)?o(u):void 0},[x(o(iC),{"is-auto-width":o(C).width==="auto","update-all":((Se=o(a))==null?void 0:Se.labelWidth)==="auto"},{default:j(()=>[o(T)?(k(),Q(et(o(M)?"label":"div"),{key:0,id:o(u),for:o(M),class:E(o(i).e("label")),style:$e(o(C))},{default:j(()=>[ee(oe.$slots,"label",{label:o(D)},()=>[vt(he(o(D)),1)])]),_:3},8,["id","for","class","style"])):X("v-if",!0)]),_:3},8,["is-auto-width","update-all"]),z("div",{class:E(o(i).e("content")),style:$e(o(g))},[ee(oe.$slots,"default"),x(md,{name:`${o(i).namespace.value}-zoom-in-top`},{default:j(()=>[o(K)?ee(oe.$slots,"error",{key:0,error:v.value},()=>[z("div",{class:E(o(S))},he(v.value),3)]):X("v-if",!0)]),_:3},8,["name"])],6)],10,uC)}}});var Lf=pe(dC,[["__file","form-item.vue"]]);const Vf=Ye(rC,{FormItem:Lf}),Df=Pt(Lf);let Mn;const fC=`
1
+ import{q as xe,v as wt,x as lt,y as Hb,z as hd,A as an,B as Kb,N as Rt,C as gt,D as Dt,F as Pe,E as Ur,k as b,i as tt,f as re,u as o,j as Ue,w as cn,l as It,m as hn,r as N,G as ke,H as Wb,b as jb,s as Ot,I as Ll,J as Me,T as Vl,K as Yr,n as Ne,L as st,d as H,M as ee,o as k,c as L,a as z,O as E,P as $e,Q as ot,R as Qt,S as Q,U as j,V as We,W as et,X,Y as vt,Z as he,_ as x,$ as mt,a0 as Jt,t as Et,a1 as yt,p as en,a2 as Dl,a3 as md,a4 as Fl,a5 as Le,a6 as Ub,a7 as gd,e as bd,a8 as Yb,a9 as ct,aa as St,ab as Qn,ac as Oo,ad as Xn,ae as Ro,af as _o,ag as La,ah as yd,ai as Xe,aj as qb,ak as lr,al as qr,am as Gb,an as $o,ao as Xb,ap as Fs,aq as ls,ar as cl,as as Zu,at as Zb,au as Jb,av as Qb}from"./@vue-Zqc7nmKH.js";import{i as qt,g as zt,s as ey,f as Va,c as Rl,a as Ju,b as Cd,d as yn,e as dn,u as zs,t as Ml,p as Zn,h as ty,j as Da,k as ny,l as wd,m as ly,n as oy,o as ay,q as sy}from"./lodash-es-D0J8aJCM.js";import{i as ft,u as jt,t as ry,a as os,b as iy,c as Qu,d as At,r as uy,o as Gr,e as Sd,f as cy,g as _l,h as kd,j as dy,k as fy,l as ec,m as Ed,n as py}from"./@vueuse-dizDcq3e.js";import{s as $d,w as as,c as Xr,i as Zr,l as hl,a as Jr,b as ml,d as _n,v as vy,h as hy,e as my,f as Td,g as gy,j as Qr,k as el,m as dl,n as mn,o as Ho,p as no,q as lo,r as by,t as yy,z as Cy,u as Nd,x as wy,y as Sy,A as ky,B as Id,C as Ey,D as $y,E as tc,F as Ty,G as oa,H as Ny,I as Iy,J as My,K as Oy,L as Ry,M as _y,N as Md,O as Py,P as Ay}from"./@element-plus-DB6I6_WK.js";import{y as By,E as Ko}from"./@popperjs-CsO2-mKt.js";import{T as Od}from"./@ctrl-r5W6hzzQ.js";import{d as je,c as ei,l as Rd,a as Ly,w as Vy,b as Dy,e as Fy,i as zy,f as xy}from"./dayjs-Bz4m6kJv.js";import{S as Hy}from"./async-validator-Cr9EP88T.js";import{m as Ky}from"./memoize-one-BdPwpGay.js";import{Y as Wy}from"./normalize-wheel-es-B6fDCfyv.js";import{a as _d,c as Pd,o as Ad,f as jy,s as Uy,b as Yy,d as qy}from"./@floating-ui-o_LpjUj1.js";const Gy='a[href],button:not([disabled]),button:not([hidden]),:not([tabindex="-1"]),input:not([disabled]),input:not([type="hidden"]),select:not([disabled]),textarea:not([disabled])',Xy=e=>getComputedStyle(e).position==="fixed"?!1:e.offsetParent!==null,nc=e=>Array.from(e.querySelectorAll(Gy)).filter(t=>Zy(t)&&Xy(t)),Zy=e=>{if(e.tabIndex>0||e.tabIndex===0&&e.getAttribute("tabIndex")!==null)return!0;if(e.disabled)return!1;switch(e.nodeName){case"A":return!!e.href&&e.rel!=="ignore";case"INPUT":return!(e.type==="hidden"||e.type==="file");case"BUTTON":case"SELECT":case"TEXTAREA":return!0;default:return!1}},ha=function(e,t,...n){let l;t.includes("mouse")||t.includes("click")?l="MouseEvents":t.includes("key")?l="KeyboardEvent":l="HTMLEvents";const a=document.createEvent(l);return a.initEvent(t,...n),e.dispatchEvent(a),e},Bd=e=>!e.getAttribute("aria-owns"),Ld=(e,t,n)=>{const{parentNode:l}=e;if(!l)return null;const a=l.querySelectorAll(n),s=Array.prototype.indexOf.call(a,e);return a[s+t]||null},ma=e=>{e&&(e.focus(),!Bd(e)&&e.click())},Lt=(e,t,{checkForDefaultPrevented:n=!0}={})=>a=>{const s=e?.(a);if(n===!1||!s)return t?.(a)},lc=e=>t=>t.pointerType==="mouse"?e(t):void 0,Vd=()=>ft&&/firefox/i.test(window.navigator.userAgent),Jy=(e,t)=>{if(!ft||!e||!t)return!1;const n=e.getBoundingClientRect();let l;return t instanceof Element?l=t.getBoundingClientRect():l={top:0,right:window.innerWidth,bottom:window.innerHeight,left:0},n.top<l.bottom&&n.bottom>l.top&&n.right>l.left&&n.left<l.right},oc=e=>{let t=0,n=e;for(;n;)t+=n.offsetTop,n=n.offsetParent;return t},or=(e,t)=>Math.abs(oc(e)-oc(t)),ti=e=>{let t,n;return e.type==="touchend"?(n=e.changedTouches[0].clientY,t=e.changedTouches[0].clientX):e.type.startsWith("touch")?(n=e.touches[0].clientY,t=e.touches[0].clientX):(n=e.clientY,t=e.clientX),{clientX:t,clientY:n}};function Qy(e,t,n,l){const a=n-t;return e/=l/2,e<1?a/2*e*e*e+t:a/2*((e-=2)*e*e+2)+t}const Kt=e=>e===void 0,Wt=e=>typeof e=="boolean",Ae=e=>typeof e=="number",kn=e=>!e&&e!==0||xe(e)&&e.length===0||wt(e)&&!Object.keys(e).length,Nn=e=>typeof Element>"u"?!1:e instanceof Element,Pl=e=>qt(e),e0=e=>lt(e)?!Number.isNaN(Number(e)):!1,ss=e=>e===window,fl=e=>ft?window.requestAnimationFrame(e):setTimeout(e,16),Al=e=>ft?window.cancelAnimationFrame(e):clearTimeout(e),ni=(e="")=>e.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d"),Dn=e=>Hb(e),oo=e=>Object.keys(e),t0=e=>Object.entries(e),ga=(e,t,n)=>({get value(){return zt(e,t,n)},set value(l){ey(e,t,l)}});class n0 extends Error{constructor(t){super(t),this.name="ElementPlusError"}}function Yt(e,t){throw new n0(`[${e}] ${t}`)}const Dd=(e="")=>e.split(" ").filter(t=>!!t.trim()),Tn=(e,t)=>{if(!e||!t)return!1;if(t.includes(" "))throw new Error("className should not contain space.");return e.classList.contains(t)},En=(e,t)=>{!e||!t.trim()||e.classList.add(...Dd(t))},fn=(e,t)=>{!e||!t.trim()||e.classList.remove(...Dd(t))},al=(e,t)=>{var n;if(!ft||!e||!t)return"";let l=hd(t);l==="float"&&(l="cssFloat");try{const a=e.style[l];if(a)return a;const s=(n=document.defaultView)==null?void 0:n.getComputedStyle(e,"");return s?s[l]:""}catch{return e.style[l]}};function Vt(e,t="px"){if(!e)return"";if(Ae(e)||e0(e))return`${e}${t}`;if(lt(e))return e}const l0=(e,t)=>{if(!ft)return!1;const n={undefined:"overflow",true:"overflow-y",false:"overflow-x"}[String(t)],l=al(e,n);return["scroll","auto","overlay"].some(a=>l.includes(a))},li=(e,t)=>{if(!ft)return;let n=e;for(;n;){if([window,document,document.documentElement].includes(n))return window;if(l0(n,t))return n;n=n.parentNode}return n};let aa;const Fd=e=>{var t;if(!ft)return 0;if(aa!==void 0)return aa;const n=document.createElement("div");n.className=`${e}-scrollbar__wrap`,n.style.visibility="hidden",n.style.width="100px",n.style.position="absolute",n.style.top="-9999px",document.body.appendChild(n);const l=n.offsetWidth;n.style.overflow="scroll";const a=document.createElement("div");a.style.width="100%",n.appendChild(a);const s=a.offsetWidth;return(t=n.parentNode)==null||t.removeChild(n),aa=l-s,aa};function zd(e,t){if(!ft)return;if(!t){e.scrollTop=0;return}const n=[];let l=t.offsetParent;for(;l!==null&&e!==l&&e.contains(l);)n.push(l),l=l.offsetParent;const a=t.offsetTop+n.reduce((u,d)=>u+d.offsetTop,0),s=a+t.offsetHeight,r=e.scrollTop,i=r+e.clientHeight;a<r?e.scrollTop=a:s>i&&(e.scrollTop=s-e.clientHeight)}function o0(e,t,n,l,a){const s=Date.now();let r;const i=()=>{const d=Date.now()-s,f=Qy(d>l?l:d,t,n,l);ss(e)?e.scrollTo(window.pageXOffset,f):e.scrollTop=f,d<l?r=fl(i):typeof a=="function"&&a()};return i(),()=>{r&&Al(r)}}const ac=(e,t)=>ss(t)?e.ownerDocument.documentElement:t,sc=e=>ss(e)?window.scrollY:e.scrollTop,sa=e=>{if(!ft||e==="")return null;if(lt(e))try{return document.querySelector(e)}catch{return null}return e},ar=[];let a0=ft?document.body:void 0;function s0(e){const t=document.createElement("div");return a0.appendChild(t),ar.push(t),t}function r0(e){ar.splice(ar.indexOf(e),1),e.remove()}const xd="__epPropKey",U=e=>e,i0=e=>wt(e)&&!!e[xd],An=(e,t)=>{if(!wt(e)||i0(e))return e;const{values:n,required:l,default:a,type:s,validator:r}=e,u={type:s,required:!!l,validator:n||r?d=>{let f=!1,c=[];if(n&&(c=Array.from(n),an(e,"default")&&c.push(a),f||(f=c.includes(d))),r&&(f||(f=r(d))),!f&&c.length>0){const v=[...new Set(c)].map(m=>JSON.stringify(m)).join(", ");Kb(`Invalid prop: validation failed${t?` for prop "${t}"`:""}. Expected one of [${v}], got value ${JSON.stringify(d)}.`)}return f}:void 0,[xd]:!0};return an(e,"default")&&(u.default=a),u},fe=e=>Va(Object.entries(e).map(([t,n])=>[t,An(n,t)])),kt=U([String,Object,Function]),oi={Close:_n},ai={Close:_n,SuccessFilled:$d,InfoFilled:Zr,WarningFilled:as,CircleCloseFilled:Xr},pl={success:$d,warning:as,error:Xr,info:Zr},si={validating:hl,success:Jr,error:ml},Ye=(e,t)=>{if(e.install=n=>{for(const l of[e,...Object.values(t??{})])n.component(l.name,l)},t)for(const[n,l]of Object.entries(t))e[n]=l;return e},Hd=(e,t)=>(e.install=n=>{e._context=n._context,n.config.globalProperties[t]=e},e),u0=(e,t)=>(e.install=n=>{n.directive(t,e)},e),Pt=e=>(e.install=Rt,e),rs=(...e)=>t=>{e.forEach(n=>{gt(n)?n(t):n.value=t})},Oe={tab:"Tab",enter:"Enter",space:"Space",left:"ArrowLeft",up:"ArrowUp",right:"ArrowRight",down:"ArrowDown",esc:"Escape",delete:"Delete",backspace:"Backspace",numpadEnter:"NumpadEnter",pageUp:"PageUp",pageDown:"PageDown",home:"Home",end:"End"},Kd=["year","years","month","date","dates","week","datetime","datetimerange","daterange","monthrange"],ba=["sun","mon","tue","wed","thu","fri","sat"],Ge="update:modelValue",Nt="change",pn="input",sr=Symbol("INSTALLED_KEY"),Bn=["","default","small","large"],c0={large:40,default:32,small:24},Wd=e=>["",...Bn].includes(e);var Sn=(e=>(e[e.TEXT=1]="TEXT",e[e.CLASS=2]="CLASS",e[e.STYLE=4]="STYLE",e[e.PROPS=8]="PROPS",e[e.FULL_PROPS=16]="FULL_PROPS",e[e.HYDRATE_EVENTS=32]="HYDRATE_EVENTS",e[e.STABLE_FRAGMENT=64]="STABLE_FRAGMENT",e[e.KEYED_FRAGMENT=128]="KEYED_FRAGMENT",e[e.UNKEYED_FRAGMENT=256]="UNKEYED_FRAGMENT",e[e.NEED_PATCH=512]="NEED_PATCH",e[e.DYNAMIC_SLOTS=1024]="DYNAMIC_SLOTS",e[e.HOISTED=-1]="HOISTED",e[e.BAIL=-2]="BAIL",e))(Sn||{});function rr(e){return Dt(e)&&e.type===Pe}function d0(e){return Dt(e)&&e.type===Ur}function f0(e){return Dt(e)&&!rr(e)&&!d0(e)}const p0=e=>{if(!Dt(e))return{};const t=e.props||{},n=(Dt(e.type)?e.type.props:void 0)||{},l={};return Object.keys(n).forEach(a=>{an(n[a],"default")&&(l[a]=n[a].default)}),Object.keys(t).forEach(a=>{l[hd(a)]=t[a]}),l},v0=e=>{if(!xe(e)||e.length>1)throw new Error("expect to receive a single Vue element child");return e[0]},il=e=>{const t=xe(e)?e:[e],n=[];return t.forEach(l=>{var a;xe(l)?n.push(...il(l)):Dt(l)&&xe(l.children)?n.push(...il(l.children)):(n.push(l),Dt(l)&&((a=l.component)!=null&&a.subTree)&&n.push(...il(l.component.subTree)))}),n},rc=e=>[...new Set(e)],bn=e=>!e&&e!==0?[]:Array.isArray(e)?e:[e],ri=e=>/([\uAC00-\uD7AF\u3130-\u318F])+/gi.test(e),_t=e=>e;function h0(e){let t=0;const n=(...l)=>{t&&Al(t),t=fl(()=>{e(...l),t=0})};return n.cancel=()=>{Al(t),t=0},n}const m0=["class","style"],g0=/^on[A-Z]/,is=(e={})=>{const{excludeListeners:t=!1,excludeKeys:n}=e,l=b(()=>(n?.value||[]).concat(m0)),a=tt();return a?b(()=>{var s;return Va(Object.entries((s=a.proxy)==null?void 0:s.$attrs).filter(([r])=>!l.value.includes(r)&&!(t&&g0.test(r))))}):b(()=>({}))},zn=({from:e,replacement:t,scope:n,version:l,ref:a,type:s="API"},r)=>{re(()=>o(r),i=>{},{immediate:!0})},ii=(e,t,n,l)=>{let a={offsetX:0,offsetY:0};const s=u=>{const d=u.clientX,f=u.clientY,{offsetX:c,offsetY:v}=a,m=e.value.getBoundingClientRect(),h=m.left,p=m.top,C=m.width,g=m.height,w=document.documentElement.clientWidth,y=document.documentElement.clientHeight,S=-h+c,$=-p+v,T=w-h-C+c,M=y-p-g+v,O=A=>{let _=c+A.clientX-d,V=v+A.clientY-f;l?.value||(_=Math.min(Math.max(_,S),T),V=Math.min(Math.max(V,$),M)),a={offsetX:_,offsetY:V},e.value&&(e.value.style.transform=`translate(${Vt(_)}, ${Vt(V)})`)},R=()=>{document.removeEventListener("mousemove",O),document.removeEventListener("mouseup",R)};document.addEventListener("mousemove",O),document.addEventListener("mouseup",R)},r=()=>{t.value&&e.value&&t.value.addEventListener("mousedown",s)},i=()=>{t.value&&e.value&&t.value.removeEventListener("mousedown",s)};Ue(()=>{cn(()=>{n.value?r():i()})}),It(()=>{i()})},b0=e=>({focus:()=>{var t,n;(n=(t=e.value)==null?void 0:t.focus)==null||n.call(t)}});var y0={name:"en",el:{breadcrumb:{label:"Breadcrumb"},colorpicker:{confirm:"OK",clear:"Clear",defaultLabel:"color picker",description:"current color is {color}. press enter to select a new color."},datepicker:{now:"Now",today:"Today",cancel:"Cancel",clear:"Clear",confirm:"OK",dateTablePrompt:"Use the arrow keys and enter to select the day of the month",monthTablePrompt:"Use the arrow keys and enter to select the month",yearTablePrompt:"Use the arrow keys and enter to select the year",selectedDate:"Selected date",selectDate:"Select date",selectTime:"Select time",startDate:"Start Date",startTime:"Start Time",endDate:"End Date",endTime:"End Time",prevYear:"Previous Year",nextYear:"Next Year",prevMonth:"Previous Month",nextMonth:"Next Month",year:"",month1:"January",month2:"February",month3:"March",month4:"April",month5:"May",month6:"June",month7:"July",month8:"August",month9:"September",month10:"October",month11:"November",month12:"December",week:"week",weeks:{sun:"Sun",mon:"Mon",tue:"Tue",wed:"Wed",thu:"Thu",fri:"Fri",sat:"Sat"},weeksFull:{sun:"Sunday",mon:"Monday",tue:"Tuesday",wed:"Wednesday",thu:"Thursday",fri:"Friday",sat:"Saturday"},months:{jan:"Jan",feb:"Feb",mar:"Mar",apr:"Apr",may:"May",jun:"Jun",jul:"Jul",aug:"Aug",sep:"Sep",oct:"Oct",nov:"Nov",dec:"Dec"}},inputNumber:{decrease:"decrease number",increase:"increase number"},select:{loading:"Loading",noMatch:"No matching data",noData:"No data",placeholder:"Select"},dropdown:{toggleDropdown:"Toggle Dropdown"},cascader:{noMatch:"No matching data",loading:"Loading",placeholder:"Select",noData:"No data"},pagination:{goto:"Go to",pagesize:"/page",total:"Total {total}",pageClassifier:"",page:"Page",prev:"Go to previous page",next:"Go to next page",currentPage:"page {pager}",prevPages:"Previous {pager} pages",nextPages:"Next {pager} pages",deprecationWarning:"Deprecated usages detected, please refer to the el-pagination documentation for more details"},dialog:{close:"Close this dialog"},drawer:{close:"Close this dialog"},messagebox:{title:"Message",confirm:"OK",cancel:"Cancel",error:"Illegal input",close:"Close this dialog"},upload:{deleteTip:"press delete to remove",delete:"Delete",preview:"Preview",continue:"Continue"},slider:{defaultLabel:"slider between {min} and {max}",defaultRangeStartLabel:"pick start value",defaultRangeEndLabel:"pick end value"},table:{emptyText:"No Data",confirmFilter:"Confirm",resetFilter:"Reset",clearFilter:"All",sumText:"Sum"},tour:{next:"Next",previous:"Previous",finish:"Finish"},tree:{emptyText:"No Data"},transfer:{noMatch:"No matching data",noData:"No data",titles:["List 1","List 2"],filterPlaceholder:"Enter keyword",noCheckedFormat:"{total} items",hasCheckedFormat:"{checked}/{total} checked"},image:{error:"FAILED"},pageHeader:{title:"Back"},popconfirm:{confirmButtonText:"Yes",cancelButtonText:"No"},carousel:{leftArrow:"Carousel arrow left",rightArrow:"Carousel arrow right",indicator:"Carousel switch to index {index}"}}};const jd=e=>(t,n)=>Ud(t,n,o(e)),Ud=(e,t,n)=>zt(n,e,e).replace(/\{(\w+)\}/g,(l,a)=>{var s;return`${(s=t?.[a])!=null?s:`{${a}}`}`}),Yd=e=>{const t=b(()=>o(e).name),n=hn(e)?e:N(e);return{lang:t,locale:n,t:jd(e)}},ui=Symbol("localeContextKey"),pt=e=>{const t=e||ke(ui,N());return Yd(b(()=>t.value||y0))},Zl="el",C0="is-",yl=(e,t,n,l,a)=>{let s=`${e}-${t}`;return n&&(s+=`-${n}`),l&&(s+=`__${l}`),a&&(s+=`--${a}`),s},ci=Symbol("namespaceContextKey"),us=e=>{const t=e||(tt()?ke(ci,N(Zl)):N(Zl));return b(()=>o(t)||Zl)},ae=(e,t)=>{const n=us(t);return{namespace:n,b:(p="")=>yl(n.value,e,p,"",""),e:p=>p?yl(n.value,e,"",p,""):"",m:p=>p?yl(n.value,e,"","",p):"",be:(p,C)=>p&&C?yl(n.value,e,p,C,""):"",em:(p,C)=>p&&C?yl(n.value,e,"",p,C):"",bm:(p,C)=>p&&C?yl(n.value,e,p,"",C):"",bem:(p,C,g)=>p&&C&&g?yl(n.value,e,p,C,g):"",is:(p,...C)=>{const g=C.length>=1?C[0]:!0;return p&&g?`${C0}${p}`:""},cssVar:p=>{const C={};for(const g in p)p[g]&&(C[`--${n.value}-${g}`]=p[g]);return C},cssVarName:p=>`--${n.value}-${p}`,cssVarBlock:p=>{const C={};for(const g in p)p[g]&&(C[`--${n.value}-${e}-${g}`]=p[g]);return C},cssVarBlockName:p=>`--${n.value}-${e}-${p}`}},cs=(e,t={})=>{hn(e)||Yt("[useLockscreen]","You need to pass a ref param to this function");const n=t.ns||ae("popup"),l=Wb(()=>n.bm("parent","hidden"));if(!ft||Tn(document.body,l.value))return;let a=0,s=!1,r="0";const i=()=>{setTimeout(()=>{fn(document?.body,l.value),s&&document&&(document.body.style.width=r)},200)};re(e,u=>{if(!u){i();return}s=!Tn(document.body,l.value),s&&(r=document.body.style.width),a=Fd(n.namespace.value);const d=document.documentElement.clientHeight<document.body.scrollHeight,f=al(document.body,"overflowY");a>0&&(d||f==="scroll")&&s&&(document.body.style.width=`calc(100% - ${a}px)`),En(document.body,l.value)}),jb(()=>i())},Jl=[],w0=e=>{Jl.length!==0&&e.code===Oe.esc&&(e.stopPropagation(),Jl[Jl.length-1].handleClose())},S0=(e,t)=>{re(t,n=>{n?Jl.push(e):Jl.splice(Jl.indexOf(e),1)})};ft&&jt(document,"keydown",w0);const k0=An({type:U(Boolean),default:null}),E0=An({type:U(Function)}),di=e=>{const t=`update:${e}`,n=`onUpdate:${e}`,l=[t],a={[e]:k0,[n]:E0};return{useModelToggle:({indicator:r,toggleReason:i,shouldHideWhenRouteChanges:u,shouldProceed:d,onShow:f,onHide:c})=>{const v=tt(),{emit:m}=v,h=v.props,p=b(()=>gt(h[n])),C=b(()=>h[e]===null),g=M=>{r.value!==!0&&(r.value=!0,i&&(i.value=M),gt(f)&&f(M))},w=M=>{r.value!==!1&&(r.value=!1,i&&(i.value=M),gt(c)&&c(M))},y=M=>{if(h.disabled===!0||gt(d)&&!d())return;const O=p.value&&ft;O&&m(t,!0),(C.value||!O)&&g(M)},S=M=>{if(h.disabled===!0||!ft)return;const O=p.value&&ft;O&&m(t,!1),(C.value||!O)&&w(M)},$=M=>{Wt(M)&&(h.disabled&&M?p.value&&m(t,!1):r.value!==M&&(M?g():w()))},T=()=>{r.value?S():y()};return re(()=>h[e],$),u&&v.appContext.config.globalProperties.$route!==void 0&&re(()=>({...v.proxy.$route}),()=>{u.value&&r.value&&S()}),Ue(()=>{$(h[e])}),{hide:S,show:y,toggle:T,hasUpdateHandler:p}},useModelToggleProps:a,useModelToggleEmits:l}},{useModelToggle:$0,useModelToggleProps:T0,useModelToggleEmits:N0}=di("modelValue"),I0=(e,t,n)=>{const l=s=>{n(s)&&s.stopImmediatePropagation()};let a;re(()=>e.value,s=>{s?a=jt(document,t,l,!0):a?.()},{immediate:!0})},fi=e=>{const t=tt();return b(()=>{var n,l;return(l=(n=t?.proxy)==null?void 0:n.$props)==null?void 0:l[e]})},qd=(e,t,n={})=>{const l={name:"updateState",enabled:!0,phase:"write",fn:({state:u})=>{const d=M0(u);Object.assign(r.value,d)},requires:["computeStyles"]},a=b(()=>{const{onFirstUpdate:u,placement:d,strategy:f,modifiers:c}=o(n);return{onFirstUpdate:u,placement:d||"bottom",strategy:f||"absolute",modifiers:[...c||[],l,{name:"applyStyles",enabled:!1}]}}),s=Ot(),r=N({styles:{popper:{position:o(a).strategy,left:"0",top:"0"},arrow:{position:"absolute"}},attributes:{}}),i=()=>{s.value&&(s.value.destroy(),s.value=void 0)};return re(a,u=>{const d=o(s);d&&d.setOptions(u)},{deep:!0}),re([e,t],([u,d])=>{i(),!(!u||!d)&&(s.value=By(u,d,o(a)))}),It(()=>{i()}),{state:b(()=>{var u;return{...((u=o(s))==null?void 0:u.state)||{}}}),styles:b(()=>o(r).styles),attributes:b(()=>o(r).attributes),update:()=>{var u;return(u=o(s))==null?void 0:u.update()},forceUpdate:()=>{var u;return(u=o(s))==null?void 0:u.forceUpdate()},instanceRef:b(()=>o(s))}};function M0(e){const t=Object.keys(e.elements),n=Va(t.map(a=>[a,e.styles[a]||{}])),l=Va(t.map(a=>[a,e.attributes[a]]));return{styles:n,attributes:l}}const ds=e=>{if(!e)return{onClick:Rt,onMousedown:Rt,onMouseup:Rt};let t=!1,n=!1;return{onClick:r=>{t&&n&&e(r),t=n=!1},onMousedown:r=>{t=r.target===r.currentTarget},onMouseup:r=>{n=r.target===r.currentTarget}}},O0=(e,t)=>{const n=N(!1);if(!ft)return{isTeleportVisible:n,showTeleport:Rt,hideTeleport:Rt,renderTeleport:Rt};let l=null;const a=()=>{n.value=!0,l===null&&(l=s0())},s=()=>{n.value=!1,l!==null&&(r0(l),l=null)},r=()=>t.value!==!0?e():n.value?[Me(Vl,{to:l},e())]:void 0;return Ll(s),{isTeleportVisible:n,showTeleport:a,hideTeleport:s,renderTeleport:r}},Gd=(e,t=0)=>{if(t===0)return e;const n=N(!1);let l=0;const a=()=>{l&&clearTimeout(l),l=window.setTimeout(()=>{n.value=e.value},t)};return Ue(a),re(()=>e.value,s=>{s?a():n.value=s}),n};function ir(){let e;const t=(l,a)=>{n(),e=window.setTimeout(l,a)},n=()=>window.clearTimeout(e);return ry(()=>n()),{registerTimeout:t,cancelTimeout:n}}const Xd="after-appear",Zd="after-enter",Jd="after-leave",R0="appear",Qd="appear-cancelled",ef="before-enter",tf="before-leave",nf="enter",lf="enter-cancelled",of="leave",af="leave-cancelled",_0=[Xd,Zd,Jd,R0,Qd,ef,tf,nf,lf,of,af],P0=()=>{const{emit:e}=tt();return{onAfterAppear:()=>{e(Xd)},onAfterEnter:()=>{e(Zd)},onAfterLeave:()=>{e(Jd)},onAppearCancelled:()=>{e(Qd)},onBeforeEnter:()=>{e(ef)},onBeforeLeave:()=>{e(tf)},onEnter:()=>{e(nf)},onEnterCancelled:()=>{e(lf)},onLeave:()=>{e(of)},onLeaveCancelled:()=>{e(af)}}},ic={prefix:Math.floor(Math.random()*1e4),current:0},sf=Symbol("elIdInjection"),fs=()=>tt()?ke(sf,ic):ic,tn=e=>{const t=fs(),n=us();return b(()=>o(e)||`${n.value}-id-${t.prefix}-${t.current++}`)};let Yl=[];const uc=e=>{const t=e;t.key===Oe.esc&&Yl.forEach(n=>n(t))},rf=e=>{Ue(()=>{Yl.length===0&&document.addEventListener("keydown",uc),ft&&Yl.push(e)}),It(()=>{Yl=Yl.filter(t=>t!==e),Yl.length===0&&ft&&document.removeEventListener("keydown",uc)})};let cc;const pi=()=>{const e=us(),t=fs(),n=b(()=>`${e.value}-popper-container-${t.prefix}`),l=b(()=>`#${n.value}`);return{id:n,selector:l}},A0=e=>{const t=document.createElement("div");return t.id=e,document.body.appendChild(t),t},uf=()=>{const{id:e,selector:t}=pi();return Yr(()=>{ft&&!cc&&!document.body.querySelector(t.value)&&(cc=A0(e.value))}),{id:e,selector:t}},B0=({indicator:e,intermediateIndicator:t,shouldSetIntermediate:n=()=>!0,beforeShow:l,afterShow:a,afterHide:s,beforeHide:r})=>{re(()=>o(e),i=>{i?(l?.(),Ne(()=>{o(e)&&n("show")&&(t.value=!0)})):(r?.(),Ne(()=>{o(e)||n("hide")&&(t.value=!1)}))}),re(()=>t.value,i=>{i?a?.():s?.()})},cf=fe({showAfter:{type:Number,default:0},hideAfter:{type:Number,default:200},autoClose:{type:Number,default:0}}),df=({showAfter:e,hideAfter:t,autoClose:n,open:l,close:a})=>{const{registerTimeout:s}=ir(),{registerTimeout:r,cancelTimeout:i}=ir();return{onOpen:f=>{s(()=>{l(f);const c=o(n);Ae(c)&&c>0&&r(()=>{a(f)},c)},o(e))},onClose:f=>{i(),s(()=>{a(f)},o(t))}}},vi=Symbol("elForwardRef"),ff=e=>{st(vi,{setForwardRef:n=>{e.value=n}})},pf=e=>({mounted(t){e(t)},updated(t){e(t)},unmounted(){e(null)}}),dc={current:0},fc=N(0),hi=2e3,ur=Symbol("elZIndexContextKey"),mi=Symbol("zIndexContextKey"),zl=e=>{const t=tt()?ke(ur,dc):dc,n=e||(tt()?ke(mi,void 0):void 0),l=b(()=>{const r=o(n);return Ae(r)?r:hi}),a=b(()=>l.value+fc.value),s=()=>(t.current++,fc.value=t.current,a.value);return!ft&&ke(ur),{initialZIndex:l,currentZIndex:a,nextZIndex:s}},L0=fe({}),V0=e=>{if(!ft)return;if(!e)return e;const t=os(e);return t||(hn(e)?t:e)},D0=(e,t)=>{const n=e?.[t];return qt(n)?"":`${n}px`},vf=({middleware:e,placement:t,strategy:n})=>{const l=N(),a=N(),s=N(),r=N(),i=N({}),u={x:s,y:r,placement:t,strategy:n,middlewareData:i},d=async()=>{if(!ft)return;const f=V0(l),c=os(a);if(!f||!c)return;const v=await Pd(f,c,{placement:o(t),strategy:o(n),middleware:o(e)});oo(u).forEach(m=>{u[m].value=v[m]})};return Ue(()=>{cn(()=>{d()})}),{...u,update:d,referenceRef:l,contentRef:a}},hf=({arrowRef:e,padding:t})=>({name:"arrow",options:{element:e,padding:t},fn(n){const l=o(e);return l?_d({element:l,padding:t}).fn(n):{}}});function mf(e){const t=N();function n(){if(e.value==null)return;const{selectionStart:a,selectionEnd:s,value:r}=e.value;if(a==null||s==null)return;const i=r.slice(0,Math.max(0,a)),u=r.slice(Math.max(0,s));t.value={selectionStart:a,selectionEnd:s,value:r,beforeTxt:i,afterTxt:u}}function l(){if(e.value==null||t.value==null)return;const{value:a}=e.value,{beforeTxt:s,afterTxt:r,selectionStart:i}=t.value;if(s==null||r==null||i==null)return;let u=a.length;if(a.endsWith(r))u=a.length-r.length;else if(a.startsWith(s))u=s.length;else{const d=s[i-1],f=a.indexOf(d,i-1);f!==-1&&(u=f+1)}e.value.setSelectionRange(u,u)}return[n,l]}const F0=(e,t,n)=>il(e.subTree).filter(s=>{var r;return Dt(s)&&((r=s.type)==null?void 0:r.name)===t&&!!s.component}).map(s=>s.component.uid).map(s=>n[s]).filter(s=>!!s),ps=(e,t)=>{const n={},l=Ot([]);return{children:l,addChild:r=>{n[r.uid]=r,l.value=F0(e,t,n)},removeChild:r=>{delete n[r],l.value=l.value.filter(i=>i.uid!==r)}}},Ut=An({type:String,values:Bn,required:!1}),z0={size:Ut},gi=Symbol("size"),gf=()=>{const e=ke(gi,{});return b(()=>o(e.size)||"")};function Wo(e,{afterFocus:t,beforeBlur:n,afterBlur:l}={}){const a=tt(),{emit:s}=a,r=Ot(),i=N(!1),u=c=>{i.value||(i.value=!0,s("focus",c),t?.())},d=c=>{var v;gt(n)&&n(c)||c.relatedTarget&&((v=r.value)!=null&&v.contains(c.relatedTarget))||(i.value=!1,s("blur",c),l?.())},f=()=>{var c;(c=e.value)==null||c.focus()};return re(r,c=>{c&&c.setAttribute("tabindex","-1")}),jt(r,"click",f),{wrapperRef:r,isFocused:i,handleFocus:u,handleBlur:d}}const x0="use-empty-values",bf=["",void 0,null],yf=void 0,xl=fe({emptyValues:Array,valueOnClear:{type:[String,Number,Boolean,Function],default:void 0,validator:e=>gt(e)?!e():!e}}),jo=(e,t)=>{let n=ho();n.value||(n=N({}));const l=b(()=>e.emptyValues||n.value.emptyValues||bf),a=b(()=>gt(e.valueOnClear)?e.valueOnClear():e.valueOnClear!==void 0?e.valueOnClear:gt(n.value.valueOnClear)?n.value.valueOnClear():n.value.valueOnClear!==void 0?n.value.valueOnClear:t!==void 0?t:yf),s=r=>l.value.includes(r);return l.value.includes(a.value),{emptyValues:l,valueOnClear:a,isEmptyValue:s}},bi=Symbol(),Fa=N();function ho(e,t=void 0){const n=tt()?ke(bi,Fa):Fa;return e?b(()=>{var l,a;return(a=(l=n.value)==null?void 0:l[e])!=null?a:t}):n}function Uo(e,t){const n=ho(),l=ae(e,b(()=>{var i;return((i=n.value)==null?void 0:i.namespace)||Zl})),a=pt(b(()=>{var i;return(i=n.value)==null?void 0:i.locale})),s=zl(b(()=>{var i;return((i=n.value)==null?void 0:i.zIndex)||hi})),r=b(()=>{var i;return o(t)||((i=n.value)==null?void 0:i.size)||""});return vs(b(()=>o(n)||{})),{ns:l,locale:a,zIndex:s,size:r}}const vs=(e,t,n=!1)=>{var l;const a=!!tt(),s=a?ho():void 0,r=(l=t?.provide)!=null?l:a?st:void 0;if(!r)return;const i=b(()=>{const u=o(e);return s?.value?H0(s.value,u):u});return r(bi,i),r(ui,b(()=>i.value.locale)),r(ci,b(()=>i.value.namespace)),r(mi,b(()=>i.value.zIndex)),r(gi,{size:b(()=>i.value.size||"")}),(n||!Fa.value)&&(Fa.value=i.value),i},H0=(e,t)=>{const n=[...new Set([...oo(e),...oo(t)])],l={};for(const a of n)l[a]=t[a]!==void 0?t[a]:e[a];return l},Cf=fe({a11y:{type:Boolean,default:!0},locale:{type:U(Object)},size:Ut,button:{type:U(Object)},experimentalFeatures:{type:U(Object)},keyboardNavigation:{type:Boolean,default:!0},message:{type:U(Object)},zIndex:Number,namespace:{type:String,default:"el"},...xl}),za={},K0=H({name:"ElConfigProvider",props:Cf,setup(e,{slots:t}){re(()=>e.message,l=>{Object.assign(za,l??{})},{immediate:!0,deep:!0});const n=vs(e);return()=>ee(t,"default",{config:n?.value})}}),wf=Ye(K0),W0="2.7.1",Sf=(e=[])=>({version:W0,install:(n,l)=>{n[sr]||(n[sr]=!0,e.forEach(a=>n.use(a)),l&&vs(l,n,!0))}}),kf=fe({zIndex:{type:U([Number,String]),default:100},target:{type:String,default:""},offset:{type:Number,default:0},position:{type:String,values:["top","bottom"],default:"top"}}),Ef={scroll:({scrollTop:e,fixed:t})=>Ae(e)&&Wt(t),[Nt]:e=>Wt(e)};var pe=(e,t)=>{const n=e.__vccOpts||e;for(const[l,a]of t)n[l]=a;return n};const $f="ElAffix",j0=H({name:$f}),U0=H({...j0,props:kf,emits:Ef,setup(e,{expose:t,emit:n}){const l=e,a=ae("affix"),s=Ot(),r=Ot(),i=Ot(),{height:u}=iy(),{height:d,width:f,top:c,bottom:v,update:m}=Qu(r,{windowScroll:!1}),h=Qu(s),p=N(!1),C=N(0),g=N(0),w=b(()=>({height:p.value?`${d.value}px`:"",width:p.value?`${f.value}px`:""})),y=b(()=>{if(!p.value)return{};const T=l.offset?Vt(l.offset):0;return{height:`${d.value}px`,width:`${f.value}px`,top:l.position==="top"?T:"",bottom:l.position==="bottom"?T:"",transform:g.value?`translateY(${g.value}px)`:"",zIndex:l.zIndex}}),S=()=>{if(i.value)if(C.value=i.value instanceof Window?document.documentElement.scrollTop:i.value.scrollTop||0,l.position==="top")if(l.target){const T=h.bottom.value-l.offset-d.value;p.value=l.offset>c.value&&h.bottom.value>0,g.value=T<0?T:0}else p.value=l.offset>c.value;else if(l.target){const T=u.value-h.top.value-l.offset-d.value;p.value=u.value-l.offset<v.value&&u.value>h.top.value,g.value=T<0?-T:0}else p.value=u.value-l.offset<v.value},$=()=>{m(),n("scroll",{scrollTop:C.value,fixed:p.value})};return re(p,T=>n("change",T)),Ue(()=>{var T;l.target?(s.value=(T=document.querySelector(l.target))!=null?T:void 0,s.value||Yt($f,`Target is not existed: ${l.target}`)):s.value=document.documentElement,i.value=li(r.value,!0),m()}),jt(i,"scroll",$),cn(S),t({update:S,updateRoot:m}),(T,M)=>(k(),L("div",{ref_key:"root",ref:r,class:E(o(a).b()),style:$e(o(w))},[z("div",{class:E({[o(a).m("fixed")]:p.value}),style:$e(o(y))},[ee(T.$slots,"default")],6)],6))}});var Y0=pe(U0,[["__file","affix.vue"]]);const Tf=Ye(Y0),Nf=fe({size:{type:U([Number,String])},color:{type:String}}),q0=H({name:"ElIcon",inheritAttrs:!1}),G0=H({...q0,props:Nf,setup(e){const t=e,n=ae("icon"),l=b(()=>{const{size:a,color:s}=t;return!a&&!s?{}:{fontSize:Kt(a)?void 0:Vt(a),"--color":s}});return(a,s)=>(k(),L("i",ot({class:o(n).b(),style:o(l)},a.$attrs),[ee(a.$slots,"default")],16))}});var X0=pe(G0,[["__file","icon.vue"]]);const Ee=Ye(X0),If=["light","dark"],Mf=fe({title:{type:String,default:""},description:{type:String,default:""},type:{type:String,values:oo(pl),default:"info"},closable:{type:Boolean,default:!0},closeText:{type:String,default:""},showIcon:Boolean,center:Boolean,effect:{type:String,values:If,default:"light"}}),Of={close:e=>e instanceof MouseEvent},Z0=H({name:"ElAlert"}),J0=H({...Z0,props:Mf,emits:Of,setup(e,{emit:t}){const n=e,{Close:l}=ai,a=Qt(),s=ae("alert"),r=N(!0),i=b(()=>pl[n.type]),u=b(()=>[s.e("icon"),{[s.is("big")]:!!n.description||!!a.default}]),d=b(()=>({"with-description":n.description||a.default})),f=c=>{r.value=!1,t("close",c)};return(c,v)=>(k(),Q(Jt,{name:o(s).b("fade"),persisted:""},{default:j(()=>[We(z("div",{class:E([o(s).b(),o(s).m(c.type),o(s).is("center",c.center),o(s).is(c.effect)]),role:"alert"},[c.showIcon&&o(i)?(k(),Q(o(Ee),{key:0,class:E(o(u))},{default:j(()=>[(k(),Q(et(o(i))))]),_:1},8,["class"])):X("v-if",!0),z("div",{class:E(o(s).e("content"))},[c.title||c.$slots.title?(k(),L("span",{key:0,class:E([o(s).e("title"),o(d)])},[ee(c.$slots,"title",{},()=>[vt(he(c.title),1)])],2)):X("v-if",!0),c.$slots.default||c.description?(k(),L("p",{key:1,class:E(o(s).e("description"))},[ee(c.$slots,"default",{},()=>[vt(he(c.description),1)])],2)):X("v-if",!0),c.closable?(k(),L(Pe,{key:2},[c.closeText?(k(),L("div",{key:0,class:E([o(s).e("close-btn"),o(s).is("customed")]),onClick:f},he(c.closeText),3)):(k(),Q(o(Ee),{key:1,class:E(o(s).e("close-btn")),onClick:f},{default:j(()=>[x(o(l))]),_:1},8,["class"]))],64)):X("v-if",!0)],2)],2),[[mt,r.value]])]),_:3},8,["name"]))}});var Q0=pe(J0,[["__file","alert.vue"]]);const Rf=Ye(Q0),gl=Symbol("formContextKey"),Pn=Symbol("formItemContextKey"),xt=(e,t={})=>{const n=N(void 0),l=t.prop?n:fi("size"),a=t.global?n:gf(),s=t.form?{size:void 0}:ke(gl,void 0),r=t.formItem?{size:void 0}:ke(Pn,void 0);return b(()=>l.value||o(e)||r?.size||s?.size||a.value||"")},rn=e=>{const t=fi("disabled"),n=ke(gl,void 0);return b(()=>t.value||o(e)||n?.disabled||!1)},eC=xt,tC=rn,un=()=>{const e=ke(gl,void 0),t=ke(Pn,void 0);return{form:e,formItem:t}},In=(e,{formItemContext:t,disableIdGeneration:n,disableIdManagement:l})=>{n||(n=N(!1)),l||(l=N(!1));const a=N();let s;const r=b(()=>{var i;return!!(!e.label&&t&&t.inputIds&&((i=t.inputIds)==null?void 0:i.length)<=1)});return Ue(()=>{s=re([Et(e,"id"),n],([i,u])=>{const d=i??(u?void 0:tn().value);d!==a.value&&(t?.removeInputId&&(a.value&&t.removeInputId(a.value),!l?.value&&!u&&d&&t.addInputId(d)),a.value=d)},{immediate:!0})}),Ll(()=>{s&&s(),t?.removeInputId&&a.value&&t.removeInputId(a.value)}),{isLabeledByFormItem:r,inputId:a}},nC=fe({size:{type:String,values:Bn},disabled:Boolean}),_f=fe({...nC,model:Object,rules:{type:U(Object)},labelPosition:{type:String,values:["left","right","top"],default:"right"},requireAsteriskPosition:{type:String,values:["left","right"],default:"left"},labelWidth:{type:[String,Number],default:""},labelSuffix:{type:String,default:""},inline:Boolean,inlineMessage:Boolean,statusIcon:Boolean,showMessage:{type:Boolean,default:!0},validateOnRuleChange:{type:Boolean,default:!0},hideRequiredAsterisk:Boolean,scrollToError:Boolean,scrollIntoViewOptions:{type:[Object,Boolean]}}),Pf={validate:(e,t,n)=>(xe(e)||lt(e))&&Wt(t)&&lt(n)};function lC(){const e=N([]),t=b(()=>{if(!e.value.length)return"0";const s=Math.max(...e.value);return s?`${s}px`:""});function n(s){const r=e.value.indexOf(s);return r===-1&&t.value,r}function l(s,r){if(s&&r){const i=n(r);e.value.splice(i,1,s)}else s&&e.value.push(s)}function a(s){const r=n(s);r>-1&&e.value.splice(r,1)}return{autoLabelWidth:t,registerLabelWidth:l,deregisterLabelWidth:a}}const ra=(e,t)=>{const n=Rl(t);return n.length>0?e.filter(l=>l.prop&&n.includes(l.prop)):e},oC="ElForm",aC=H({name:oC}),sC=H({...aC,props:_f,emits:Pf,setup(e,{expose:t,emit:n}){const l=e,a=[],s=xt(),r=ae("form"),i=b(()=>{const{labelPosition:y,inline:S}=l;return[r.b(),r.m(s.value||"default"),{[r.m(`label-${y}`)]:y,[r.m("inline")]:S}]}),u=y=>a.find(S=>S.prop===y),d=y=>{a.push(y)},f=y=>{y.prop&&a.splice(a.indexOf(y),1)},c=(y=[])=>{l.model&&ra(a,y).forEach(S=>S.resetField())},v=(y=[])=>{ra(a,y).forEach(S=>S.clearValidate())},m=b(()=>!!l.model),h=y=>{if(a.length===0)return[];const S=ra(a,y);return S.length?S:[]},p=async y=>g(void 0,y),C=async(y=[])=>{if(!m.value)return!1;const S=h(y);if(S.length===0)return!0;let $={};for(const T of S)try{await T.validate("")}catch(M){$={...$,...M}}return Object.keys($).length===0?!0:Promise.reject($)},g=async(y=[],S)=>{const $=!gt(S);try{const T=await C(y);return T===!0&&S?.(T),T}catch(T){if(T instanceof Error)throw T;const M=T;return l.scrollToError&&w(Object.keys(M)[0]),S?.(!1,M),$&&Promise.reject(M)}},w=y=>{var S;const $=ra(a,y)[0];$&&((S=$.$el)==null||S.scrollIntoView(l.scrollIntoViewOptions))};return re(()=>l.rules,()=>{l.validateOnRuleChange&&p().catch(y=>void 0)},{deep:!0}),st(gl,yt({...en(l),emit:n,resetFields:c,clearValidate:v,validateField:g,getField:u,addField:d,removeField:f,...lC()})),t({validate:p,validateField:g,resetFields:c,clearValidate:v,scrollToField:w}),(y,S)=>(k(),L("form",{class:E(o(i))},[ee(y.$slots,"default")],2))}});var rC=pe(sC,[["__file","form.vue"]]);const Af=["","error","validating","success"],Bf=fe({label:String,labelWidth:{type:[String,Number],default:""},prop:{type:U([String,Array])},required:{type:Boolean,default:void 0},rules:{type:U([Object,Array])},error:String,validateStatus:{type:String,values:Af},for:String,inlineMessage:{type:[String,Boolean],default:""},showMessage:{type:Boolean,default:!0},size:{type:String,values:Bn}}),pc="ElLabelWrap";var iC=H({name:pc,props:{isAutoWidth:Boolean,updateAll:Boolean},setup(e,{slots:t}){const n=ke(gl,void 0),l=ke(Pn);l||Yt(pc,"usage: <el-form-item><label-wrap /></el-form-item>");const a=ae("form"),s=N(),r=N(0),i=()=>{var f;if((f=s.value)!=null&&f.firstElementChild){const c=window.getComputedStyle(s.value.firstElementChild).width;return Math.ceil(Number.parseFloat(c))}else return 0},u=(f="update")=>{Ne(()=>{t.default&&e.isAutoWidth&&(f==="update"?r.value=i():f==="remove"&&n?.deregisterLabelWidth(r.value))})},d=()=>u("update");return Ue(()=>{d()}),It(()=>{u("remove")}),Dl(()=>d()),re(r,(f,c)=>{e.updateAll&&n?.registerLabelWidth(f,c)}),At(b(()=>{var f,c;return(c=(f=s.value)==null?void 0:f.firstElementChild)!=null?c:null}),d),()=>{var f,c;if(!t)return null;const{isAutoWidth:v}=e;if(v){const m=n?.autoLabelWidth,h=l?.hasLabel,p={};if(h&&m&&m!=="auto"){const C=Math.max(0,Number.parseInt(m,10)-r.value),g=n.labelPosition==="left"?"marginRight":"marginLeft";C&&(p[g]=`${C}px`)}return x("div",{ref:s,class:[a.be("item","label-wrap")],style:p},[(f=t.default)==null?void 0:f.call(t)])}else return x(Pe,{ref:s},[(c=t.default)==null?void 0:c.call(t)])}}});const uC=["role","aria-labelledby"],cC=H({name:"ElFormItem"}),dC=H({...cC,props:Bf,setup(e,{expose:t}){const n=e,l=Qt(),a=ke(gl,void 0),s=ke(Pn,void 0),r=xt(void 0,{formItem:!1}),i=ae("form-item"),u=tn().value,d=N([]),f=N(""),c=uy(f,100),v=N(""),m=N();let h,p=!1;const C=b(()=>{if(a?.labelPosition==="top")return{};const oe=Vt(n.labelWidth||a?.labelWidth||"");return oe?{width:oe}:{}}),g=b(()=>{if(a?.labelPosition==="top"||a?.inline)return{};if(!n.label&&!n.labelWidth&&R)return{};const oe=Vt(n.labelWidth||a?.labelWidth||"");return!n.label&&!l.label?{marginLeft:oe}:{}}),w=b(()=>[i.b(),i.m(r.value),i.is("error",f.value==="error"),i.is("validating",f.value==="validating"),i.is("success",f.value==="success"),i.is("required",q.value||n.required),i.is("no-asterisk",a?.hideRequiredAsterisk),a?.requireAsteriskPosition==="right"?"asterisk-right":"asterisk-left",{[i.m("feedback")]:a?.statusIcon}]),y=b(()=>Wt(n.inlineMessage)?n.inlineMessage:a?.inlineMessage||!1),S=b(()=>[i.e("error"),{[i.em("error","inline")]:y.value}]),$=b(()=>n.prop?lt(n.prop)?n.prop:n.prop.join("."):""),T=b(()=>!!(n.label||l.label)),M=b(()=>n.for||(d.value.length===1?d.value[0]:void 0)),O=b(()=>!M.value&&T.value),R=!!s,A=b(()=>{const oe=a?.model;if(!(!oe||!n.prop))return ga(oe,n.prop).value}),_=b(()=>{const{required:oe}=n,le=[];n.rules&&le.push(...Rl(n.rules));const Se=a?.rules;if(Se&&n.prop){const ve=ga(Se,n.prop).value;ve&&le.push(...Rl(ve))}if(oe!==void 0){const ve=le.map((de,Ce)=>[de,Ce]).filter(([de])=>Object.keys(de).includes("required"));if(ve.length>0)for(const[de,Ce]of ve)de.required!==oe&&(le[Ce]={...de,required:oe});else le.push({required:oe})}return le}),V=b(()=>_.value.length>0),Y=oe=>_.value.filter(Se=>!Se.trigger||!oe?!0:Array.isArray(Se.trigger)?Se.trigger.includes(oe):Se.trigger===oe).map(({trigger:Se,...ve})=>ve),q=b(()=>_.value.some(oe=>oe.required)),K=b(()=>{var oe;return c.value==="error"&&n.showMessage&&((oe=a?.showMessage)!=null?oe:!0)}),D=b(()=>`${n.label||""}${a?.labelSuffix||""}`),P=oe=>{f.value=oe},F=oe=>{var le,Se;const{errors:ve,fields:de}=oe;(!ve||!de)&&console.error(oe),P("error"),v.value=ve?(Se=(le=ve?.[0])==null?void 0:le.message)!=null?Se:`${n.prop} is required`:"",a?.emit("validate",n.prop,!1,v.value)},I=()=>{P("success"),a?.emit("validate",n.prop,!0,"")},B=async oe=>{const le=$.value;return new Hy({[le]:oe}).validate({[le]:A.value},{firstFields:!0}).then(()=>(I(),!0)).catch(ve=>(F(ve),Promise.reject(ve)))},W=async(oe,le)=>{if(p||!n.prop)return!1;const Se=gt(le);if(!V.value)return le?.(!1),!1;const ve=Y(oe);return ve.length===0?(le?.(!0),!0):(P("validating"),B(ve).then(()=>(le?.(!0),!0)).catch(de=>{const{fields:Ce}=de;return le?.(!1,Ce),Se?!1:Promise.reject(Ce)}))},G=()=>{P(""),v.value="",p=!1},J=async()=>{const oe=a?.model;if(!oe||!n.prop)return;const le=ga(oe,n.prop);p=!0,le.value=Ju(h),await Ne(),G(),p=!1},se=oe=>{d.value.includes(oe)||d.value.push(oe)},me=oe=>{d.value=d.value.filter(le=>le!==oe)};re(()=>n.error,oe=>{v.value=oe||"",P(oe?"error":"")},{immediate:!0}),re(()=>n.validateStatus,oe=>P(oe||""));const Z=yt({...en(n),$el:m,size:r,validateState:f,labelId:u,inputIds:d,isGroup:O,hasLabel:T,fieldValue:A,addInputId:se,removeInputId:me,resetField:J,clearValidate:G,validate:W});return st(Pn,Z),Ue(()=>{n.prop&&(a?.addField(Z),h=Ju(A.value))}),It(()=>{a?.removeField(Z)}),t({size:r,validateMessage:v,validateState:f,validate:W,clearValidate:G,resetField:J}),(oe,le)=>{var Se;return k(),L("div",{ref_key:"formItemRef",ref:m,class:E(o(w)),role:o(O)?"group":void 0,"aria-labelledby":o(O)?o(u):void 0},[x(o(iC),{"is-auto-width":o(C).width==="auto","update-all":((Se=o(a))==null?void 0:Se.labelWidth)==="auto"},{default:j(()=>[o(T)?(k(),Q(et(o(M)?"label":"div"),{key:0,id:o(u),for:o(M),class:E(o(i).e("label")),style:$e(o(C))},{default:j(()=>[ee(oe.$slots,"label",{label:o(D)},()=>[vt(he(o(D)),1)])]),_:3},8,["id","for","class","style"])):X("v-if",!0)]),_:3},8,["is-auto-width","update-all"]),z("div",{class:E(o(i).e("content")),style:$e(o(g))},[ee(oe.$slots,"default"),x(md,{name:`${o(i).namespace.value}-zoom-in-top`},{default:j(()=>[o(K)?ee(oe.$slots,"error",{key:0,error:v.value},()=>[z("div",{class:E(o(S))},he(v.value),3)]):X("v-if",!0)]),_:3},8,["name"])],6)],10,uC)}}});var Lf=pe(dC,[["__file","form-item.vue"]]);const Vf=Ye(rC,{FormItem:Lf}),Df=Pt(Lf);let Mn;const fC=`
2
2
  height:0 !important;
3
3
  visibility:hidden !important;
4
4
  ${Vd()?"":"overflow:hidden !important;"}
@@ -1 +1 @@
1
- import{useRoute as m}from"./vue-router-CpoV07KG.js";import"./element-plus-DnnaxJFP.js";import{j as c,D as l,a as d}from"./index-kcuTl5Zm.js";import{d as u,r as _,f,c as h,o as v}from"./@vue-BS4o5x1j.js";import"./lodash-es-CLq8SBAM.js";import"./@vueuse-DwRHc_J7.js";import"./@element-plus-CekXU_7D.js";import"./@popperjs-I-C4_FcE.js";import"./@ctrl-r5W6hzzQ.js";import"./dayjs-Bz4m6kJv.js";import"./@ckeditor-Cpj98o6Y.js";import"./async-validator-Cr9EP88T.js";import"./memoize-one-DwF5HINA.js";import"./normalize-wheel-es-B6fDCfyv.js";import"./@floating-ui-BkhKrinZ.js";import"./monaco-editor-Dg5hMj4r.js";import"./vue-BNsVu1qZ.js";import"./mockjs-CfUV2g9n.js";const w=u({__name:"index",setup(p){const r=m(),t=_(),a=new d;c.set("Switcher",{props:{onClick:e=>{const n=location.pathname;let s=n==="/@vtj/pro/"?"/":n;const i=e.currentFile;i&&i.type==="page"&&e.homepage!==i.id&&(s=`${s}#/page/${i.id}`),window.open(s,"VTJProject")}}}),c.set("Previewer",{props:{path:e=>`${location.pathname}#/preview/${e.id}`}});const o=new l({container:t,service:a});return o.ready(()=>{o.openFile(r.query.id)}),f(()=>r.query.id,e=>{o.openFile(e)}),(e,n)=>(v(),h("div",{class:"designer",ref_key:"container",ref:t},null,512))}}),g=(p,r)=>{const t=p.__vccOpts||p;for(const[a,o]of r)t[a]=o;return t},T=g(w,[["__scopeId","data-v-45ceaba3"]]);export{T as default};
1
+ import{useRoute as m}from"./vue-router-BvKvTwaM.js";import"./element-plus-T5RTZb1K.js";import{j as c,B as l,D as d}from"./index-E363mA3e.js";import{d as u,r as _,f,c as h,o as v}from"./@vue-Zqc7nmKH.js";import"./lodash-es-D0J8aJCM.js";import"./@vueuse-dizDcq3e.js";import"./@element-plus-DB6I6_WK.js";import"./@popperjs-CsO2-mKt.js";import"./@ctrl-r5W6hzzQ.js";import"./dayjs-Bz4m6kJv.js";import"./@ckeditor-Cpj98o6Y.js";import"./async-validator-Cr9EP88T.js";import"./memoize-one-BdPwpGay.js";import"./normalize-wheel-es-B6fDCfyv.js";import"./@floating-ui-o_LpjUj1.js";import"./monaco-editor-6Zbq4Knz.js";import"./vue-Ddy_ikw5.js";import"./mockjs-BuqhTJ_Z.js";const w=u({__name:"index",setup(p){const r=m(),t=_(),a=new d;c.set("Switcher",{props:{onClick:e=>{const n=location.pathname;let s=n==="/@vtj/pro/"?"/":n;const i=e.currentFile;i&&i.type==="page"&&e.homepage!==i.id&&(s=`${s}#/page/${i.id}`),window.open(s,"VTJProject")}}}),c.set("Previewer",{props:{path:e=>`${location.pathname}#/preview/${e.id}`}});const o=new l({container:t,service:a});return o.ready(()=>{o.openFile(r.query.id)}),f(()=>r.query.id,e=>{o.openFile(e)}),(e,n)=>(v(),h("div",{class:"designer",ref_key:"container",ref:t},null,512))}}),g=(p,r)=>{const t=p.__vccOpts||p;for(const[a,o]of r)t[a]=o;return t},T=g(w,[["__scopeId","data-v-45ceaba3"]]);export{T as default};
@@ -0,0 +1,2 @@
1
+ const __vite__fileDeps=["./index-CStGogMI.js","./vue-router-BvKvTwaM.js","./@vue-Zqc7nmKH.js","./element-plus-T5RTZb1K.js","./lodash-es-D0J8aJCM.js","./@vueuse-dizDcq3e.js","./@element-plus-DB6I6_WK.js","./@popperjs-CsO2-mKt.js","./@ctrl-r5W6hzzQ.js","./dayjs-Bz4m6kJv.js","./@ckeditor-Cpj98o6Y.js","./async-validator-Cr9EP88T.js","./memoize-one-BdPwpGay.js","./normalize-wheel-es-B6fDCfyv.js","./@floating-ui-o_LpjUj1.js","./element-plus-5SPWBdo3.css","./index-E363mA3e.js","./monaco-editor-6Zbq4Knz.js","./monaco-editor-BoaUnmrp.css","./vue-Ddy_ikw5.js","./mockjs-BuqhTJ_Z.js","./index-D0d5Gdz8.css","./index-DWzxOdcl.css","./preview-ClQKsWlQ.js"],__vite__mapDeps=i=>i.map(i=>__vite__fileDeps[i]);
2
+ import{d as f,S as n,U as p,u as a,ai as d,o as c,aF as _,_ as h,at as y}from"./@vue-Zqc7nmKH.js";import{z as v,E as g}from"./element-plus-T5RTZb1K.js";import{_ as m}from"./monaco-editor-6Zbq4Knz.js";import{createRouter as O,createWebHashHistory as P}from"./vue-router-BvKvTwaM.js";import"./lodash-es-D0J8aJCM.js";import"./@vueuse-dizDcq3e.js";import"./@element-plus-DB6I6_WK.js";import"./@popperjs-CsO2-mKt.js";import"./@ctrl-r5W6hzzQ.js";import"./dayjs-Bz4m6kJv.js";import"./@ckeditor-Cpj98o6Y.js";import"./async-validator-Cr9EP88T.js";import"./memoize-one-BdPwpGay.js";import"./normalize-wheel-es-B6fDCfyv.js";import"./@floating-ui-o_LpjUj1.js";(function(){const r=document.createElement("link").relList;if(r&&r.supports&&r.supports("modulepreload"))return;for(const e of document.querySelectorAll('link[rel="modulepreload"]'))o(e);new MutationObserver(e=>{for(const t of e)if(t.type==="childList")for(const i of t.addedNodes)i.tagName==="LINK"&&i.rel==="modulepreload"&&o(i)}).observe(document,{childList:!0,subtree:!0});function s(e){const t={};return e.integrity&&(t.integrity=e.integrity),e.referrerPolicy&&(t.referrerPolicy=e.referrerPolicy),e.crossOrigin==="use-credentials"?t.credentials="include":e.crossOrigin==="anonymous"?t.credentials="omit":t.credentials="same-origin",t}function o(e){if(e.ep)return;e.ep=!0;const t=s(e);fetch(e.href,t)}})();const E=f({__name:"app",setup(l){return(r,s)=>{const o=d("router-view");return c(),n(a(g),{locale:a(v)},{default:p(()=>[(c(),n(_,null,{default:p(()=>[h(o)]),_:1}))]),_:1},8,["locale"])}}}),L=[{path:"/",name:"home",component:()=>m(()=>import("./index-CStGogMI.js"),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22]),import.meta.url)},{path:"/preview/:id",name:"preview",component:()=>m(()=>import("./preview-ClQKsWlQ.js"),__vite__mapDeps([23,17,18,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,19,20,21]),import.meta.url)}],w=O({history:P(),routes:L}),u=y(E);u.use(w);u.mount("#app");