String.fromCharCode(g),g=e.charCodeAt(r);while(ni(g));return s=15}if(It(g))return r++,i+=String.fromCharCode(g),g===13&&e.charCodeAt(r)===10&&(r++,i+=` `),a++,u=r,s=14;switch(g){case 123:return r++,s=1;case 125:return r++,s=2;case 91:return r++,s=3;case 93:return r++,s=4;case 58:return r++,s=6;case 44:return r++,s=5;case 34:return r++,i=b(),s=10;case 47:var S=r-1;if(e.charCodeAt(r+1)===47){for(r+=2;r=12&&g<=15);return g}return{setPosition:d,getPosition:function(){return r},scan:t?T:w,getToken:function(){return s},getTokenValue:function(){return i},getTokenOffset:function(){return o},getTokenLength:function(){return r-o},getTokenStartLine:function(){return l},getTokenStartCharacter:function(){return o-c},getTokenError:function(){return f}}}function ni(e){return e===32||e===9||e===11||e===12||e===160||e===5760||e>=8192&&e<=8203||e===8239||e===8287||e===12288||e===65279}function It(e){return e===10||e===13||e===8232||e===8233}function rt(e){return e>=48&&e<=57}var pn=J(()=>{"use strict"});var ri=J(()=>{"use strict";pn()});function Ms(e,t,n){t===void 0&&(t=[]),n===void 0&&(n=hn.DEFAULT);var r=null,i=[],o=[];function s(l){Array.isArray(i)?i.push(l):r!==null&&(i[r]=l)}var a={onObjectBegin:function(){var l={};s(l),o.push(i),i=l,r=null},onObjectProperty:function(l){r=l},onObjectEnd:function(){i=o.pop()},onArrayBegin:function(){var l=[];s(l),o.push(i),i=l,r=null},onArrayEnd:function(){i=o.pop()},onLiteralValue:s,onError:function(l,u,c){t.push({error:l,offset:u,length:c})}};return qs(e,a,n),i[0]}function qs(e,t,n){n===void 0&&(n=hn.DEFAULT);var r=dn(e,!1);function i(I){return I?function(){return I(r.getTokenOffset(),r.getTokenLength(),r.getTokenStartLine(),r.getTokenStartCharacter())}:function(){return!0}}function o(I){return I?function($){return I($,r.getTokenOffset(),r.getTokenLength(),r.getTokenStartLine(),r.getTokenStartCharacter())}:function(){return!0}}var s=i(t.onObjectBegin),a=o(t.onObjectProperty),l=i(t.onObjectEnd),u=i(t.onArrayBegin),c=i(t.onArrayEnd),f=o(t.onLiteralValue),h=o(t.onSeparator),d=i(t.onComment),v=o(t.onError),b=n&&n.disallowComments,w=n&&n.allowTrailingComma;function x(){for(;;){var I=r.scan();switch(r.getTokenError()){case 4:T(14);break;case 5:T(15);break;case 3:T(13);break;case 1:b||T(11);break;case 2:T(12);break;case 6:T(16);break}switch(I){case 12:case 13:b?T(10):d();break;case 16:T(1);break;case 15:case 14:break;default:return I}}}function T(I,$,E){if($===void 0&&($=[]),E===void 0&&(E=[]),v(I),$.length+E.length>0)for(var m=r.getToken();m!==17;){if($.indexOf(m)!==-1){x();break}else if(E.indexOf(m)!==-1)break;m=x()}}function g(I){var $=r.getTokenValue();return I?f($):a($),x(),!0}function S(){switch(r.getToken()){case 11:var I=r.getTokenValue(),$=Number(I);isNaN($)&&(T(2),$=0),f($);break;case 7:f(null);break;case 8:f(!0);break;case 9:f(!1);break;default:return!1}return x(),!0}function k(){return r.getToken()!==10?(T(3,[],[2,5]),!1):(g(!1),r.getToken()===6?(h(":"),x(),P()||T(4,[],[2,5])):T(5,[],[2,5]),!0)}function y(){s(),x();for(var I=!1;r.getToken()!==2&&r.getToken()!==17;){if(r.getToken()===5){if(I||T(4,[],[]),h(","),x(),r.getToken()===2&&w)break}else I&&T(6,[],[]);k()||T(4,[],[2,5]),I=!0}return l(),r.getToken()!==2?T(7,[2],[]):x(),!0}function C(){u(),x();for(var I=!1;r.getToken()!==4&&r.getToken()!==17;){if(r.getToken()===5){if(I||T(4,[],[]),h(","),x(),r.getToken()===4&&w)break}else I&&T(6,[],[]);P()||T(4,[],[4,5]),I=!0}return c(),r.getToken()!==4?T(8,[4],[]):x(),!0}function P(){switch(r.getToken()){case 3:return C();case 1:return y();case 10:return g(!0);default:return S()}}return x(),r.getToken()===17?n.allowEmptyContent?!0:(T(4,[],[]),!1):P()?(r.getToken()!==17&&T(9,[],[]),!0):(T(4,[],[]),!1)}var hn,ii=J(()=>{"use strict";pn();(function(e){e.DEFAULT={allowTrailingComma:!1}})(hn||(hn={}))});var Vs=J(()=>{"use strict";ri();ii()});function Hs(e){switch(e){case 1:return"InvalidSymbol";case 2:return"InvalidNumberFormat";case 3:return"PropertyNameExpected";case 4:return"ValueExpected";case 5:return"ColonExpected";case 6:return"CommaExpected";case 7:return"CloseBraceExpected";case 8:return"CloseBracketExpected";case 9:return"EndOfFileExpected";case 10:return"InvalidCommentToken";case 11:return"UnexpectedEndOfComment";case 12:return"UnexpectedEndOfString";case 13:return"UnexpectedEndOfNumber";case 14:return"InvalidUnicode";case 15:return"InvalidEscapeCharacter";case 16:return"InvalidCharacter"}return""}var Ws,Gs=J(()=>{"use strict";ri();Vs();pn();ii();Ws=Ms});var Qs,oi,Ys,mn,be,Z,gn,Js,si,Xs,Zs,Ks,ea,ai,ta,na,ra,bn,it,ke,li,ot,ia,ui,ci,fi,di,pi,oa,sa,hi,aa,mi,Pt,vn,Ot,la,ua,ca,fa,$t,Rt,xn,da,pa,ha,ma,ga,ba,va,xa,ya,wa,ka,yn,Sa,Ta,Ea,Aa,Ca,Na,Ia,Pa,Oa,$a,Ra,_a,La,gi,bi,ja,Fa,za,Da,Ua,Ba,Ma,qa,Va,vi,p,Wa=J(()=>{"use strict";(function(e){function t(n){return typeof n=="string"}e.is=t})(Qs||(Qs={}));(function(e){function t(n){return typeof n=="string"}e.is=t})(oi||(oi={}));(function(e){e.MIN_VALUE=-2147483648,e.MAX_VALUE=2147483647;function t(n){return typeof n=="number"&&e.MIN_VALUE<=n&&n<=e.MAX_VALUE}e.is=t})(Ys||(Ys={}));(function(e){e.MIN_VALUE=0,e.MAX_VALUE=2147483647;function t(n){return typeof n=="number"&&e.MIN_VALUE<=n&&n<=e.MAX_VALUE}e.is=t})(mn||(mn={}));(function(e){function t(r,i){return r===Number.MAX_VALUE&&(r=mn.MAX_VALUE),i===Number.MAX_VALUE&&(i=mn.MAX_VALUE),{line:r,character:i}}e.create=t;function n(r){let i=r;return p.objectLiteral(i)&&p.uinteger(i.line)&&p.uinteger(i.character)}e.is=n})(be||(be={}));(function(e){function t(r,i,o,s){if(p.uinteger(r)&&p.uinteger(i)&&p.uinteger(o)&&p.uinteger(s))return{start:be.create(r,i),end:be.create(o,s)};if(be.is(r)&&be.is(i))return{start:r,end:i};throw new Error(`Range#create called with invalid arguments[${r}, ${i}, ${o}, ${s}]`)}e.create=t;function n(r){let i=r;return p.objectLiteral(i)&&be.is(i.start)&&be.is(i.end)}e.is=n})(Z||(Z={}));(function(e){function t(r,i){return{uri:r,range:i}}e.create=t;function n(r){let i=r;return p.objectLiteral(i)&&Z.is(i.range)&&(p.string(i.uri)||p.undefined(i.uri))}e.is=n})(gn||(gn={}));(function(e){function t(r,i,o,s){return{targetUri:r,targetRange:i,targetSelectionRange:o,originSelectionRange:s}}e.create=t;function n(r){let i=r;return p.objectLiteral(i)&&Z.is(i.targetRange)&&p.string(i.targetUri)&&Z.is(i.targetSelectionRange)&&(Z.is(i.originSelectionRange)||p.undefined(i.originSelectionRange))}e.is=n})(Js||(Js={}));(function(e){function t(r,i,o,s){return{red:r,green:i,blue:o,alpha:s}}e.create=t;function n(r){let i=r;return p.objectLiteral(i)&&p.numberRange(i.red,0,1)&&p.numberRange(i.green,0,1)&&p.numberRange(i.blue,0,1)&&p.numberRange(i.alpha,0,1)}e.is=n})(si||(si={}));(function(e){function t(r,i){return{range:r,color:i}}e.create=t;function n(r){let i=r;return p.objectLiteral(i)&&Z.is(i.range)&&si.is(i.color)}e.is=n})(Xs||(Xs={}));(function(e){function t(r,i,o){return{label:r,textEdit:i,additionalTextEdits:o}}e.create=t;function n(r){let i=r;return p.objectLiteral(i)&&p.string(i.label)&&(p.undefined(i.textEdit)||ke.is(i))&&(p.undefined(i.additionalTextEdits)||p.typedArray(i.additionalTextEdits,ke.is))}e.is=n})(Zs||(Zs={}));(function(e){e.Comment="comment",e.Imports="imports",e.Region="region"})(Ks||(Ks={}));(function(e){function t(r,i,o,s,a,l){let u={startLine:r,endLine:i};return p.defined(o)&&(u.startCharacter=o),p.defined(s)&&(u.endCharacter=s),p.defined(a)&&(u.kind=a),p.defined(l)&&(u.collapsedText=l),u}e.create=t;function n(r){let i=r;return p.objectLiteral(i)&&p.uinteger(i.startLine)&&p.uinteger(i.startLine)&&(p.undefined(i.startCharacter)||p.uinteger(i.startCharacter))&&(p.undefined(i.endCharacter)||p.uinteger(i.endCharacter))&&(p.undefined(i.kind)||p.string(i.kind))}e.is=n})(ea||(ea={}));(function(e){function t(r,i){return{location:r,message:i}}e.create=t;function n(r){let i=r;return p.defined(i)&&gn.is(i.location)&&p.string(i.message)}e.is=n})(ai||(ai={}));(function(e){e.Error=1,e.Warning=2,e.Information=3,e.Hint=4})(ta||(ta={}));(function(e){e.Unnecessary=1,e.Deprecated=2})(na||(na={}));(function(e){function t(n){let r=n;return p.objectLiteral(r)&&p.string(r.href)}e.is=t})(ra||(ra={}));(function(e){function t(r,i,o,s,a,l){let u={range:r,message:i};return p.defined(o)&&(u.severity=o),p.defined(s)&&(u.code=s),p.defined(a)&&(u.source=a),p.defined(l)&&(u.relatedInformation=l),u}e.create=t;function n(r){var i;let o=r;return p.defined(o)&&Z.is(o.range)&&p.string(o.message)&&(p.number(o.severity)||p.undefined(o.severity))&&(p.integer(o.code)||p.string(o.code)||p.undefined(o.code))&&(p.undefined(o.codeDescription)||p.string((i=o.codeDescription)===null||i===void 0?void 0:i.href))&&(p.string(o.source)||p.undefined(o.source))&&(p.undefined(o.relatedInformation)||p.typedArray(o.relatedInformation,ai.is))}e.is=n})(bn||(bn={}));(function(e){function t(r,i,...o){let s={title:r,command:i};return p.defined(o)&&o.length>0&&(s.arguments=o),s}e.create=t;function n(r){let i=r;return p.defined(i)&&p.string(i.title)&&p.string(i.command)}e.is=n})(it||(it={}));(function(e){function t(o,s){return{range:o,newText:s}}e.replace=t;function n(o,s){return{range:{start:o,end:o},newText:s}}e.insert=n;function r(o){return{range:o,newText:""}}e.del=r;function i(o){let s=o;return p.objectLiteral(s)&&p.string(s.newText)&&Z.is(s.range)}e.is=i})(ke||(ke={}));(function(e){function t(r,i,o){let s={label:r};return i!==void 0&&(s.needsConfirmation=i),o!==void 0&&(s.description=o),s}e.create=t;function n(r){let i=r;return p.objectLiteral(i)&&p.string(i.label)&&(p.boolean(i.needsConfirmation)||i.needsConfirmation===void 0)&&(p.string(i.description)||i.description===void 0)}e.is=n})(li||(li={}));(function(e){function t(n){let r=n;return p.string(r)}e.is=t})(ot||(ot={}));(function(e){function t(o,s,a){return{range:o,newText:s,annotationId:a}}e.replace=t;function n(o,s,a){return{range:{start:o,end:o},newText:s,annotationId:a}}e.insert=n;function r(o,s){return{range:o,newText:"",annotationId:s}}e.del=r;function i(o){let s=o;return ke.is(s)&&(li.is(s.annotationId)||ot.is(s.annotationId))}e.is=i})(ia||(ia={}));(function(e){function t(r,i){return{textDocument:r,edits:i}}e.create=t;function n(r){let i=r;return p.defined(i)&&hi.is(i.textDocument)&&Array.isArray(i.edits)}e.is=n})(ui||(ui={}));(function(e){function t(r,i,o){let s={kind:"create",uri:r};return i!==void 0&&(i.overwrite!==void 0||i.ignoreIfExists!==void 0)&&(s.options=i),o!==void 0&&(s.annotationId=o),s}e.create=t;function n(r){let i=r;return i&&i.kind==="create"&&p.string(i.uri)&&(i.options===void 0||(i.options.overwrite===void 0||p.boolean(i.options.overwrite))&&(i.options.ignoreIfExists===void 0||p.boolean(i.options.ignoreIfExists)))&&(i.annotationId===void 0||ot.is(i.annotationId))}e.is=n})(ci||(ci={}));(function(e){function t(r,i,o,s){let a={kind:"rename",oldUri:r,newUri:i};return o!==void 0&&(o.overwrite!==void 0||o.ignoreIfExists!==void 0)&&(a.options=o),s!==void 0&&(a.annotationId=s),a}e.create=t;function n(r){let i=r;return i&&i.kind==="rename"&&p.string(i.oldUri)&&p.string(i.newUri)&&(i.options===void 0||(i.options.overwrite===void 0||p.boolean(i.options.overwrite))&&(i.options.ignoreIfExists===void 0||p.boolean(i.options.ignoreIfExists)))&&(i.annotationId===void 0||ot.is(i.annotationId))}e.is=n})(fi||(fi={}));(function(e){function t(r,i,o){let s={kind:"delete",uri:r};return i!==void 0&&(i.recursive!==void 0||i.ignoreIfNotExists!==void 0)&&(s.options=i),o!==void 0&&(s.annotationId=o),s}e.create=t;function n(r){let i=r;return i&&i.kind==="delete"&&p.string(i.uri)&&(i.options===void 0||(i.options.recursive===void 0||p.boolean(i.options.recursive))&&(i.options.ignoreIfNotExists===void 0||p.boolean(i.options.ignoreIfNotExists)))&&(i.annotationId===void 0||ot.is(i.annotationId))}e.is=n})(di||(di={}));(function(e){function t(n){let r=n;return r&&(r.changes!==void 0||r.documentChanges!==void 0)&&(r.documentChanges===void 0||r.documentChanges.every(i=>p.string(i.kind)?ci.is(i)||fi.is(i)||di.is(i):ui.is(i)))}e.is=t})(pi||(pi={}));(function(e){function t(r){return{uri:r}}e.create=t;function n(r){let i=r;return p.defined(i)&&p.string(i.uri)}e.is=n})(oa||(oa={}));(function(e){function t(r,i){return{uri:r,version:i}}e.create=t;function n(r){let i=r;return p.defined(i)&&p.string(i.uri)&&p.integer(i.version)}e.is=n})(sa||(sa={}));(function(e){function t(r,i){return{uri:r,version:i}}e.create=t;function n(r){let i=r;return p.defined(i)&&p.string(i.uri)&&(i.version===null||p.integer(i.version))}e.is=n})(hi||(hi={}));(function(e){function t(r,i,o,s){return{uri:r,languageId:i,version:o,text:s}}e.create=t;function n(r){let i=r;return p.defined(i)&&p.string(i.uri)&&p.string(i.languageId)&&p.integer(i.version)&&p.string(i.text)}e.is=n})(aa||(aa={}));(function(e){e.PlainText="plaintext",e.Markdown="markdown";function t(n){let r=n;return r===e.PlainText||r===e.Markdown}e.is=t})(mi||(mi={}));(function(e){function t(n){let r=n;return p.objectLiteral(n)&&mi.is(r.kind)&&p.string(r.value)}e.is=t})(Pt||(Pt={}));(function(e){e.Text=1,e.Method=2,e.Function=3,e.Constructor=4,e.Field=5,e.Variable=6,e.Class=7,e.Interface=8,e.Module=9,e.Property=10,e.Unit=11,e.Value=12,e.Enum=13,e.Keyword=14,e.Snippet=15,e.Color=16,e.File=17,e.Reference=18,e.Folder=19,e.EnumMember=20,e.Constant=21,e.Struct=22,e.Event=23,e.Operator=24,e.TypeParameter=25})(vn||(vn={}));(function(e){e.PlainText=1,e.Snippet=2})(Ot||(Ot={}));(function(e){e.Deprecated=1})(la||(la={}));(function(e){function t(r,i,o){return{newText:r,insert:i,replace:o}}e.create=t;function n(r){let i=r;return i&&p.string(i.newText)&&Z.is(i.insert)&&Z.is(i.replace)}e.is=n})(ua||(ua={}));(function(e){e.asIs=1,e.adjustIndentation=2})(ca||(ca={}));(function(e){function t(n){let r=n;return r&&(p.string(r.detail)||r.detail===void 0)&&(p.string(r.description)||r.description===void 0)}e.is=t})(fa||(fa={}));(function(e){function t(n){return{label:n}}e.create=t})($t||($t={}));(function(e){function t(n,r){return{items:n||[],isIncomplete:!!r}}e.create=t})(Rt||(Rt={}));(function(e){function t(r){return r.replace(/[\\`*_{}[\]()#+\-.!]/g,"\\$&")}e.fromPlainText=t;function n(r){let i=r;return p.string(i)||p.objectLiteral(i)&&p.string(i.language)&&p.string(i.value)}e.is=n})(xn||(xn={}));(function(e){function t(n){let r=n;return!!r&&p.objectLiteral(r)&&(Pt.is(r.contents)||xn.is(r.contents)||p.typedArray(r.contents,xn.is))&&(n.range===void 0||Z.is(n.range))}e.is=t})(da||(da={}));(function(e){function t(n,r){return r?{label:n,documentation:r}:{label:n}}e.create=t})(pa||(pa={}));(function(e){function t(n,r,...i){let o={label:n};return p.defined(r)&&(o.documentation=r),p.defined(i)?o.parameters=i:o.parameters=[],o}e.create=t})(ha||(ha={}));(function(e){e.Text=1,e.Read=2,e.Write=3})(ma||(ma={}));(function(e){function t(n,r){let i={range:n};return p.number(r)&&(i.kind=r),i}e.create=t})(ga||(ga={}));(function(e){e.File=1,e.Module=2,e.Namespace=3,e.Package=4,e.Class=5,e.Method=6,e.Property=7,e.Field=8,e.Constructor=9,e.Enum=10,e.Interface=11,e.Function=12,e.Variable=13,e.Constant=14,e.String=15,e.Number=16,e.Boolean=17,e.Array=18,e.Object=19,e.Key=20,e.Null=21,e.EnumMember=22,e.Struct=23,e.Event=24,e.Operator=25,e.TypeParameter=26})(ba||(ba={}));(function(e){e.Deprecated=1})(va||(va={}));(function(e){function t(n,r,i,o,s){let a={name:n,kind:r,location:{uri:o,range:i}};return s&&(a.containerName=s),a}e.create=t})(xa||(xa={}));(function(e){function t(n,r,i,o){return o!==void 0?{name:n,kind:r,location:{uri:i,range:o}}:{name:n,kind:r,location:{uri:i}}}e.create=t})(ya||(ya={}));(function(e){function t(r,i,o,s,a,l){let u={name:r,detail:i,kind:o,range:s,selectionRange:a};return l!==void 0&&(u.children=l),u}e.create=t;function n(r){let i=r;return i&&p.string(i.name)&&p.number(i.kind)&&Z.is(i.range)&&Z.is(i.selectionRange)&&(i.detail===void 0||p.string(i.detail))&&(i.deprecated===void 0||p.boolean(i.deprecated))&&(i.children===void 0||Array.isArray(i.children))&&(i.tags===void 0||Array.isArray(i.tags))}e.is=n})(wa||(wa={}));(function(e){e.Empty="",e.QuickFix="quickfix",e.Refactor="refactor",e.RefactorExtract="refactor.extract",e.RefactorInline="refactor.inline",e.RefactorRewrite="refactor.rewrite",e.Source="source",e.SourceOrganizeImports="source.organizeImports",e.SourceFixAll="source.fixAll"})(ka||(ka={}));(function(e){e.Invoked=1,e.Automatic=2})(yn||(yn={}));(function(e){function t(r,i,o){let s={diagnostics:r};return i!=null&&(s.only=i),o!=null&&(s.triggerKind=o),s}e.create=t;function n(r){let i=r;return p.defined(i)&&p.typedArray(i.diagnostics,bn.is)&&(i.only===void 0||p.typedArray(i.only,p.string))&&(i.triggerKind===void 0||i.triggerKind===yn.Invoked||i.triggerKind===yn.Automatic)}e.is=n})(Sa||(Sa={}));(function(e){function t(r,i,o){let s={title:r},a=!0;return typeof i=="string"?(a=!1,s.kind=i):it.is(i)?s.command=i:s.edit=i,a&&o!==void 0&&(s.kind=o),s}e.create=t;function n(r){let i=r;return i&&p.string(i.title)&&(i.diagnostics===void 0||p.typedArray(i.diagnostics,bn.is))&&(i.kind===void 0||p.string(i.kind))&&(i.edit!==void 0||i.command!==void 0)&&(i.command===void 0||it.is(i.command))&&(i.isPreferred===void 0||p.boolean(i.isPreferred))&&(i.edit===void 0||pi.is(i.edit))}e.is=n})(Ta||(Ta={}));(function(e){function t(r,i){let o={range:r};return p.defined(i)&&(o.data=i),o}e.create=t;function n(r){let i=r;return p.defined(i)&&Z.is(i.range)&&(p.undefined(i.command)||it.is(i.command))}e.is=n})(Ea||(Ea={}));(function(e){function t(r,i){return{tabSize:r,insertSpaces:i}}e.create=t;function n(r){let i=r;return p.defined(i)&&p.uinteger(i.tabSize)&&p.boolean(i.insertSpaces)}e.is=n})(Aa||(Aa={}));(function(e){function t(r,i,o){return{range:r,target:i,data:o}}e.create=t;function n(r){let i=r;return p.defined(i)&&Z.is(i.range)&&(p.undefined(i.target)||p.string(i.target))}e.is=n})(Ca||(Ca={}));(function(e){function t(r,i){return{range:r,parent:i}}e.create=t;function n(r){let i=r;return p.objectLiteral(i)&&Z.is(i.range)&&(i.parent===void 0||e.is(i.parent))}e.is=n})(Na||(Na={}));(function(e){e.namespace="namespace",e.type="type",e.class="class",e.enum="enum",e.interface="interface",e.struct="struct",e.typeParameter="typeParameter",e.parameter="parameter",e.variable="variable",e.property="property",e.enumMember="enumMember",e.event="event",e.function="function",e.method="method",e.macro="macro",e.keyword="keyword",e.modifier="modifier",e.comment="comment",e.string="string",e.number="number",e.regexp="regexp",e.operator="operator",e.decorator="decorator"})(Ia||(Ia={}));(function(e){e.declaration="declaration",e.definition="definition",e.readonly="readonly",e.static="static",e.deprecated="deprecated",e.abstract="abstract",e.async="async",e.modification="modification",e.documentation="documentation",e.defaultLibrary="defaultLibrary"})(Pa||(Pa={}));(function(e){function t(n){let r=n;return p.objectLiteral(r)&&(r.resultId===void 0||typeof r.resultId=="string")&&Array.isArray(r.data)&&(r.data.length===0||typeof r.data[0]=="number")}e.is=t})(Oa||(Oa={}));(function(e){function t(r,i){return{range:r,text:i}}e.create=t;function n(r){let i=r;return i!=null&&Z.is(i.range)&&p.string(i.text)}e.is=n})($a||($a={}));(function(e){function t(r,i,o){return{range:r,variableName:i,caseSensitiveLookup:o}}e.create=t;function n(r){let i=r;return i!=null&&Z.is(i.range)&&p.boolean(i.caseSensitiveLookup)&&(p.string(i.variableName)||i.variableName===void 0)}e.is=n})(Ra||(Ra={}));(function(e){function t(r,i){return{range:r,expression:i}}e.create=t;function n(r){let i=r;return i!=null&&Z.is(i.range)&&(p.string(i.expression)||i.expression===void 0)}e.is=n})(_a||(_a={}));(function(e){function t(r,i){return{frameId:r,stoppedLocation:i}}e.create=t;function n(r){let i=r;return p.defined(i)&&Z.is(r.stoppedLocation)}e.is=n})(La||(La={}));(function(e){e.Type=1,e.Parameter=2;function t(n){return n===1||n===2}e.is=t})(gi||(gi={}));(function(e){function t(r){return{value:r}}e.create=t;function n(r){let i=r;return p.objectLiteral(i)&&(i.tooltip===void 0||p.string(i.tooltip)||Pt.is(i.tooltip))&&(i.location===void 0||gn.is(i.location))&&(i.command===void 0||it.is(i.command))}e.is=n})(bi||(bi={}));(function(e){function t(r,i,o){let s={position:r,label:i};return o!==void 0&&(s.kind=o),s}e.create=t;function n(r){let i=r;return p.objectLiteral(i)&&be.is(i.position)&&(p.string(i.label)||p.typedArray(i.label,bi.is))&&(i.kind===void 0||gi.is(i.kind))&&i.textEdits===void 0||p.typedArray(i.textEdits,ke.is)&&(i.tooltip===void 0||p.string(i.tooltip)||Pt.is(i.tooltip))&&(i.paddingLeft===void 0||p.boolean(i.paddingLeft))&&(i.paddingRight===void 0||p.boolean(i.paddingRight))}e.is=n})(ja||(ja={}));(function(e){function t(n){return{kind:"snippet",value:n}}e.createSnippet=t})(Fa||(Fa={}));(function(e){function t(n,r,i,o){return{insertText:n,filterText:r,range:i,command:o}}e.create=t})(za||(za={}));(function(e){function t(n){return{items:n}}e.create=t})(Da||(Da={}));(function(e){e.Invoked=0,e.Automatic=1})(Ua||(Ua={}));(function(e){function t(n,r){return{range:n,text:r}}e.create=t})(Ba||(Ba={}));(function(e){function t(n,r){return{triggerKind:n,selectedCompletionInfo:r}}e.create=t})(Ma||(Ma={}));(function(e){function t(n){let r=n;return p.objectLiteral(r)&&oi.is(r.uri)&&p.string(r.name)}e.is=t})(qa||(qa={}));(function(e){function t(o,s,a,l){return new vi(o,s,a,l)}e.create=t;function n(o){let s=o;return!!(p.defined(s)&&p.string(s.uri)&&(p.undefined(s.languageId)||p.string(s.languageId))&&p.uinteger(s.lineCount)&&p.func(s.getText)&&p.func(s.positionAt)&&p.func(s.offsetAt))}e.is=n;function r(o,s){let a=o.getText(),l=i(s,(c,f)=>{let h=c.range.start.line-f.range.start.line;return h===0?c.range.start.character-f.range.start.character:h}),u=a.length;for(let c=l.length-1;c>=0;c--){let f=l[c],h=o.offsetAt(f.range.start),d=o.offsetAt(f.range.end);if(d<=u)a=a.substring(0,h)+f.newText+a.substring(d,a.length);else throw new Error("Overlapping edit");u=h}return a}e.applyEdits=r;function i(o,s){if(o.length<=1)return o;let a=o.length/2|0,l=o.slice(0,a),u=o.slice(a);i(l,s),i(u,s);let c=0,f=0,h=0;for(;c0&&t.push(n.length),this._lineOffsets=t}return this._lineOffsets}positionAt(t){t=Math.max(Math.min(t,this._content.length),0);let n=this.getLineOffsets(),r=0,i=n.length;if(i===0)return be.create(0,t);for(;rt?i=s:r=s+1}let o=r-1;return be.create(o,t-n[o])}offsetAt(t){let n=this.getLineOffsets();if(t.line>=n.length)return this._content.length;if(t.line<0)return 0;let r=n[t.line],i=t.line+1"u"}e.undefined=r;function i(d){return d===!0||d===!1}e.boolean=i;function o(d){return t.call(d)==="[object String]"}e.string=o;function s(d){return t.call(d)==="[object Number]"}e.number=s;function a(d,v,b){return t.call(d)==="[object Number]"&&v<=d&&d<=b}e.numberRange=a;function l(d){return t.call(d)==="[object Number]"&&-2147483648<=d&&d<=2147483647}e.integer=l;function u(d){return t.call(d)==="[object Number]"&&0<=d&&d<=2147483647}e.uinteger=u;function c(d){return t.call(d)==="[object Function]"}e.func=c;function f(d){return d!==null&&typeof d=="object"}e.objectLiteral=f;function h(d,v){return Array.isArray(d)&&d.every(v)}e.typedArray=h})(p||(p={}))});var Ha,Ga,Xy,Qa=J(()=>{(()=>{"use strict";var e={470:i=>{function o(l){if(typeof l!="string")throw new TypeError("Path must be a string. Received "+JSON.stringify(l))}function s(l,u){for(var c,f="",h=0,d=-1,v=0,b=0;b<=l.length;++b){if(b2){var w=f.lastIndexOf("/");if(w!==f.length-1){w===-1?(f="",h=0):h=(f=f.slice(0,w)).length-1-f.lastIndexOf("/"),d=b,v=0;continue}}else if(f.length===2||f.length===1){f="",h=0,d=b,v=0;continue}}u&&(f.length>0?f+="/..":f="..",h=2)}else f.length>0?f+="/"+l.slice(d+1,b):f=l.slice(d+1,b),h=b-d-1;d=b,v=0}else c===46&&v!==-1?++v:v=-1}return f}var a={resolve:function(){for(var l,u="",c=!1,f=arguments.length-1;f>=-1&&!c;f--){var h;f>=0?h=arguments[f]:(l===void 0&&(l=process.cwd()),h=l),o(h),h.length!==0&&(u=h+"/"+u,c=h.charCodeAt(0)===47)}return u=s(u,!c),c?u.length>0?"/"+u:"/":u.length>0?u:"."},normalize:function(l){if(o(l),l.length===0)return".";var u=l.charCodeAt(0)===47,c=l.charCodeAt(l.length-1)===47;return(l=s(l,!u)).length!==0||u||(l="."),l.length>0&&c&&(l+="/"),u?"/"+l:l},isAbsolute:function(l){return o(l),l.length>0&&l.charCodeAt(0)===47},join:function(){if(arguments.length===0)return".";for(var l,u=0;u0&&(l===void 0?l=c:l+="/"+c)}return l===void 0?".":a.normalize(l)},relative:function(l,u){if(o(l),o(u),l===u||(l=a.resolve(l))===(u=a.resolve(u)))return"";for(var c=1;cb){if(u.charCodeAt(d+x)===47)return u.slice(d+x+1);if(x===0)return u.slice(d+x)}else h>b&&(l.charCodeAt(c+x)===47?w=x:x===0&&(w=0));break}var T=l.charCodeAt(c+x);if(T!==u.charCodeAt(d+x))break;T===47&&(w=x)}var g="";for(x=c+w+1;x<=f;++x)x!==f&&l.charCodeAt(x)!==47||(g.length===0?g+="..":g+="/..");return g.length>0?g+u.slice(d+w):(d+=w,u.charCodeAt(d)===47&&++d,u.slice(d))},_makeLong:function(l){return l},dirname:function(l){if(o(l),l.length===0)return".";for(var u=l.charCodeAt(0),c=u===47,f=-1,h=!0,d=l.length-1;d>=1;--d)if((u=l.charCodeAt(d))===47){if(!h){f=d;break}}else h=!1;return f===-1?c?"/":".":c&&f===1?"//":l.slice(0,f)},basename:function(l,u){if(u!==void 0&&typeof u!="string")throw new TypeError('"ext" argument must be a string');o(l);var c,f=0,h=-1,d=!0;if(u!==void 0&&u.length>0&&u.length<=l.length){if(u.length===l.length&&u===l)return"";var v=u.length-1,b=-1;for(c=l.length-1;c>=0;--c){var w=l.charCodeAt(c);if(w===47){if(!d){f=c+1;break}}else b===-1&&(d=!1,b=c+1),v>=0&&(w===u.charCodeAt(v)?--v==-1&&(h=c):(v=-1,h=b))}return f===h?h=b:h===-1&&(h=l.length),l.slice(f,h)}for(c=l.length-1;c>=0;--c)if(l.charCodeAt(c)===47){if(!d){f=c+1;break}}else h===-1&&(d=!1,h=c+1);return h===-1?"":l.slice(f,h)},extname:function(l){o(l);for(var u=-1,c=0,f=-1,h=!0,d=0,v=l.length-1;v>=0;--v){var b=l.charCodeAt(v);if(b!==47)f===-1&&(h=!1,f=v+1),b===46?u===-1?u=v:d!==1&&(d=1):u!==-1&&(d=-1);else if(!h){c=v+1;break}}return u===-1||f===-1||d===0||d===1&&u===f-1&&u===c+1?"":l.slice(u,f)},format:function(l){if(l===null||typeof l!="object")throw new TypeError('The "pathObject" argument must be of type Object. Received type '+typeof l);return(function(u,c){var f=c.dir||c.root,h=c.base||(c.name||"")+(c.ext||"");return f?f===c.root?f+h:f+"/"+h:h})(0,l)},parse:function(l){o(l);var u={root:"",dir:"",base:"",ext:"",name:""};if(l.length===0)return u;var c,f=l.charCodeAt(0),h=f===47;h?(u.root="/",c=1):c=0;for(var d=-1,v=0,b=-1,w=!0,x=l.length-1,T=0;x>=c;--x)if((f=l.charCodeAt(x))!==47)b===-1&&(w=!1,b=x+1),f===46?d===-1?d=x:T!==1&&(T=1):d!==-1&&(T=-1);else if(!w){v=x+1;break}return d===-1||b===-1||T===0||T===1&&d===b-1&&d===v+1?b!==-1&&(u.base=u.name=v===0&&h?l.slice(1,b):l.slice(v,b)):(v===0&&h?(u.name=l.slice(1,d),u.base=l.slice(1,b)):(u.name=l.slice(v,d),u.base=l.slice(v,b)),u.ext=l.slice(d,b)),v>0?u.dir=l.slice(0,v-1):h&&(u.dir="/"),u},sep:"/",delimiter:":",win32:null,posix:null};a.posix=a,i.exports=a}},t={};function n(i){var o=t[i];if(o!==void 0)return o.exports;var s=t[i]={exports:{}};return e[i](s,s.exports,n),s.exports}n.d=(i,o)=>{for(var s in o)n.o(o,s)&&!n.o(i,s)&&Object.defineProperty(i,s,{enumerable:!0,get:o[s]})},n.o=(i,o)=>Object.prototype.hasOwnProperty.call(i,o),n.r=i=>{typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(i,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(i,"__esModule",{value:!0})};var r={};(()=>{let i;n.r(r),n.d(r,{URI:()=>h,Utils:()=>$}),typeof process=="object"?i=process.platform==="win32":typeof navigator=="object"&&(i=navigator.userAgent.indexOf("Windows")>=0);let o=/^\w[\w\d+.-]*$/,s=/^\//,a=/^\/\//;function l(E,m){if(!E.scheme&&m)throw new Error(`[UriError]: Scheme is missing: {scheme: "", authority: "${E.authority}", path: "${E.path}", query: "${E.query}", fragment: "${E.fragment}"}`);if(E.scheme&&!o.test(E.scheme))throw new Error("[UriError]: Scheme contains illegal characters.");if(E.path){if(E.authority){if(!s.test(E.path))throw new Error('[UriError]: If a URI contains an authority component, then the path component must either be empty or begin with a slash ("/") character')}else if(a.test(E.path))throw new Error('[UriError]: If a URI does not contain an authority component, then the path cannot begin with two slash characters ("//")')}}let u="",c="/",f=/^(([^:/?#]+?):)?(\/\/([^/?#]*))?([^?#]*)(\?([^#]*))?(#(.*))?/;class h{static isUri(m){return m instanceof h||!!m&&typeof m.authority=="string"&&typeof m.fragment=="string"&&typeof m.path=="string"&&typeof m.query=="string"&&typeof m.scheme=="string"&&typeof m.fsPath=="string"&&typeof m.with=="function"&&typeof m.toString=="function"}scheme;authority;path;query;fragment;constructor(m,N,A,R,O,_=!1){typeof m=="object"?(this.scheme=m.scheme||u,this.authority=m.authority||u,this.path=m.path||u,this.query=m.query||u,this.fragment=m.fragment||u):(this.scheme=(function(ae,le){return ae||le?ae:"file"})(m,_),this.authority=N||u,this.path=(function(ae,le){switch(ae){case"https":case"http":case"file":le?le[0]!==c&&(le=c+le):le=c}return le})(this.scheme,A||u),this.query=R||u,this.fragment=O||u,l(this,_))}get fsPath(){return T(this,!1)}with(m){if(!m)return this;let{scheme:N,authority:A,path:R,query:O,fragment:_}=m;return N===void 0?N=this.scheme:N===null&&(N=u),A===void 0?A=this.authority:A===null&&(A=u),R===void 0?R=this.path:R===null&&(R=u),O===void 0?O=this.query:O===null&&(O=u),_===void 0?_=this.fragment:_===null&&(_=u),N===this.scheme&&A===this.authority&&R===this.path&&O===this.query&&_===this.fragment?this:new v(N,A,R,O,_)}static parse(m,N=!1){let A=f.exec(m);return A?new v(A[2]||u,y(A[4]||u),y(A[5]||u),y(A[7]||u),y(A[9]||u),N):new v(u,u,u,u,u)}static file(m){let N=u;if(i&&(m=m.replace(/\\/g,c)),m[0]===c&&m[1]===c){let A=m.indexOf(c,2);A===-1?(N=m.substring(2),m=c):(N=m.substring(2,A),m=m.substring(A)||c)}return new v("file",N,m,u,u)}static from(m){let N=new v(m.scheme,m.authority,m.path,m.query,m.fragment);return l(N,!0),N}toString(m=!1){return g(this,m)}toJSON(){return this}static revive(m){if(m){if(m instanceof h)return m;{let N=new v(m);return N._formatted=m.external,N._fsPath=m._sep===d?m.fsPath:null,N}}return m}}let d=i?1:void 0;class v extends h{_formatted=null;_fsPath=null;get fsPath(){return this._fsPath||(this._fsPath=T(this,!1)),this._fsPath}toString(m=!1){return m?g(this,!0):(this._formatted||(this._formatted=g(this,!1)),this._formatted)}toJSON(){let m={$mid:1};return this._fsPath&&(m.fsPath=this._fsPath,m._sep=d),this._formatted&&(m.external=this._formatted),this.path&&(m.path=this.path),this.scheme&&(m.scheme=this.scheme),this.authority&&(m.authority=this.authority),this.query&&(m.query=this.query),this.fragment&&(m.fragment=this.fragment),m}}let b={58:"%3A",47:"%2F",63:"%3F",35:"%23",91:"%5B",93:"%5D",64:"%40",33:"%21",36:"%24",38:"%26",39:"%27",40:"%28",41:"%29",42:"%2A",43:"%2B",44:"%2C",59:"%3B",61:"%3D",32:"%20"};function w(E,m,N){let A,R=-1;for(let O=0;O=97&&_<=122||_>=65&&_<=90||_>=48&&_<=57||_===45||_===46||_===95||_===126||m&&_===47||N&&_===91||N&&_===93||N&&_===58)R!==-1&&(A+=encodeURIComponent(E.substring(R,O)),R=-1),A!==void 0&&(A+=E.charAt(O));else{A===void 0&&(A=E.substr(0,O));let ae=b[_];ae!==void 0?(R!==-1&&(A+=encodeURIComponent(E.substring(R,O)),R=-1),A+=ae):R===-1&&(R=O)}}return R!==-1&&(A+=encodeURIComponent(E.substring(R))),A!==void 0?A:E}function x(E){let m;for(let N=0;N1&&E.scheme==="file"?`//${E.authority}${E.path}`:E.path.charCodeAt(0)===47&&(E.path.charCodeAt(1)>=65&&E.path.charCodeAt(1)<=90||E.path.charCodeAt(1)>=97&&E.path.charCodeAt(1)<=122)&&E.path.charCodeAt(2)===58?m?E.path.substr(1):E.path[1].toLowerCase()+E.path.substr(2):E.path,i&&(N=N.replace(/\//g,"\\")),N}function g(E,m){let N=m?x:w,A="",{scheme:R,authority:O,path:_,query:ae,fragment:le}=E;if(R&&(A+=R,A+=":"),(O||R==="file")&&(A+=c,A+=c),O){let Y=O.indexOf("@");if(Y!==-1){let kt=O.substr(0,Y);O=O.substr(Y+1),Y=kt.lastIndexOf(":"),Y===-1?A+=N(kt,!1,!1):(A+=N(kt.substr(0,Y),!1,!1),A+=":",A+=N(kt.substr(Y+1),!1,!0)),A+="@"}O=O.toLowerCase(),Y=O.lastIndexOf(":"),Y===-1?A+=N(O,!1,!0):(A+=N(O.substr(0,Y),!1,!0),A+=O.substr(Y))}if(_){if(_.length>=3&&_.charCodeAt(0)===47&&_.charCodeAt(2)===58){let Y=_.charCodeAt(1);Y>=65&&Y<=90&&(_=`/${String.fromCharCode(Y+32)}:${_.substr(3)}`)}else if(_.length>=2&&_.charCodeAt(1)===58){let Y=_.charCodeAt(0);Y>=65&&Y<=90&&(_=`${String.fromCharCode(Y+32)}:${_.substr(2)}`)}A+=N(_,!0,!1)}return ae&&(A+="?",A+=N(ae,!1,!1)),le&&(A+="#",A+=m?le:w(le,!1,!1)),A}function S(E){try{return decodeURIComponent(E)}catch{return E.length>3?E.substr(0,3)+S(E.substr(3)):E}}let k=/(%[0-9A-Za-z][0-9A-Za-z])+/g;function y(E){return E.match(k)?E.replace(k,(m=>S(m))):E}var C=n(470);let P=C.posix||C,I="/";var $;(function(E){E.joinPath=function(m,...N){return m.with({path:P.join(m.path,...N)})},E.resolvePath=function(m,...N){let A=m.path,R=!1;A[0]!==I&&(A=I+A,R=!0);let O=P.resolve(A,...N);return R&&O[0]===I&&!m.authority&&(O=O.substring(1)),m.with({path:O})},E.dirname=function(m){if(m.path.length===0||m.path===I)return m;let N=P.dirname(m.path);return N.length===1&&N.charCodeAt(0)===46&&(N=""),m.with({path:N})},E.basename=function(m){return P.basename(m.path)},E.extname=function(m){return P.extname(m.path)}})($||($={}))})(),Ha=r})();({URI:Ga,Utils:Xy}=Ha)});var Ya,xi,Ja=J(()=>{Ya={properties:["additive-symbols","align-content","align-items","justify-items","justify-self","justify-items","align-self","all","alt","animation","animation-delay","animation-direction","animation-duration","animation-fill-mode","animation-iteration-count","animation-name","animation-play-state","animation-timing-function","backface-visibility","background","background-attachment","background-blend-mode","background-clip","background-color","background-image","background-origin","background-position","background-position-x","background-position-y","background-repeat","background-size","behavior","block-size","border","border-block-end","border-block-start","border-block-end-color","border-block-start-color","border-block-end-style","border-block-start-style","border-block-end-width","border-block-start-width","border-bottom","border-bottom-color","border-bottom-left-radius","border-bottom-right-radius","border-bottom-style","border-bottom-width","border-collapse","border-color","border-image","border-image-outset","border-image-repeat","border-image-slice","border-image-source","border-image-width","border-inline-end","border-inline-start","border-inline-end-color","border-inline-start-color","border-inline-end-style","border-inline-start-style","border-inline-end-width","border-inline-start-width","border-left","border-left-color","border-left-style","border-left-width","border-radius","border-right","border-right-color","border-right-style","border-right-width","border-spacing","border-style","border-top","border-top-color","border-top-left-radius","border-top-right-radius","border-top-style","border-top-width","border-width","bottom","box-decoration-break","box-shadow","box-sizing","break-after","break-before","break-inside","caption-side","caret-color","clear","clip","clip-path","clip-rule","color","color-interpolation-filters","column-count","column-fill","column-gap","column-rule","column-rule-color","column-rule-style","column-rule-width","columns","column-span","column-width","contain","content","counter-increment","counter-reset","cursor","direction","display","empty-cells","enable-background","fallback","fill","fill-opacity","fill-rule","filter","flex","flex-basis","flex-direction","flex-flow","flex-grow","flex-shrink","flex-wrap","float","flood-color","flood-opacity","font","font-family","font-feature-settings","font-kerning","font-language-override","font-size","font-size-adjust","font-stretch","font-style","font-synthesis","font-variant","font-variant-alternates","font-variant-caps","font-variant-east-asian","font-variant-ligatures","font-variant-numeric","font-variant-position","font-weight","glyph-orientation-horizontal","glyph-orientation-vertical","grid-area","grid-auto-columns","grid-auto-flow","grid-auto-rows","grid-column","grid-column-end","grid-column-gap","grid-column-start","grid-gap","grid-row","grid-row-end","grid-row-gap","grid-row-start","grid-template","grid-template-areas","grid-template-columns","grid-template-rows","height","hyphens","image-orientation","image-rendering","ime-mode","inline-size","isolation","justify-content","kerning","left","letter-spacing","lighting-color","line-break","line-height","list-style","list-style-image","list-style-position","list-style-type","margin","margin-block-end","margin-block-start","margin-bottom","margin-inline-end","margin-inline-start","margin-left","margin-right","margin-top","marker","marker-end","marker-mid","marker-start","mask-type","max-block-size","max-height","max-inline-size","max-width","min-block-size","min-height","min-inline-size","min-width","mix-blend-mode","motion","motion-offset","motion-path","motion-rotation","-moz-animation","-moz-animation-delay","-moz-animation-direction","-moz-animation-duration","-moz-animation-iteration-count","-moz-animation-name","-moz-animation-play-state","-moz-animation-timing-function","-moz-appearance","-moz-backface-visibility","-moz-background-clip","-moz-background-inline-policy","-moz-background-origin","-moz-border-bottom-colors","-moz-border-image","-moz-border-left-colors","-moz-border-right-colors","-moz-border-top-colors","-moz-box-align","-moz-box-direction","-moz-box-flex","-moz-box-flexgroup","-moz-box-ordinal-group","-moz-box-orient","-moz-box-pack","-moz-box-sizing","-moz-column-count","-moz-column-gap","-moz-column-rule","-moz-column-rule-color","-moz-column-rule-style","-moz-column-rule-width","-moz-columns","-moz-column-width","-moz-font-feature-settings","-moz-hyphens","-moz-perspective","-moz-perspective-origin","-moz-text-align-last","-moz-text-decoration-color","-moz-text-decoration-line","-moz-text-decoration-style","-moz-text-size-adjust","-moz-transform","-moz-transform-origin","-moz-transition","-moz-transition-delay","-moz-transition-duration","-moz-transition-property","-moz-transition-timing-function","-moz-user-focus","-moz-user-select","-ms-accelerator","-ms-behavior","-ms-block-progression","-ms-content-zoom-chaining","-ms-content-zooming","-ms-content-zoom-limit","-ms-content-zoom-limit-max","-ms-content-zoom-limit-min","-ms-content-zoom-snap","-ms-content-zoom-snap-points","-ms-content-zoom-snap-type","-ms-filter","-ms-flex","-ms-flex-align","-ms-flex-direction","-ms-flex-flow","-ms-flex-item-align","-ms-flex-line-pack","-ms-flex-order","-ms-flex-pack","-ms-flex-wrap","-ms-flow-from","-ms-flow-into","-ms-grid-column","-ms-grid-column-align","-ms-grid-columns","-ms-grid-column-span","-ms-grid-layer","-ms-grid-row","-ms-grid-row-align","-ms-grid-rows","-ms-grid-row-span","-ms-high-contrast-adjust","-ms-hyphenate-limit-chars","-ms-hyphenate-limit-lines","-ms-hyphenate-limit-zone","-ms-hyphens","-ms-ime-mode","-ms-interpolation-mode","-ms-layout-grid","-ms-layout-grid-char","-ms-layout-grid-line","-ms-layout-grid-mode","-ms-layout-grid-type","-ms-line-break","-ms-overflow-style","-ms-perspective","-ms-perspective-origin","-ms-perspective-origin-x","-ms-perspective-origin-y","-ms-progress-appearance","-ms-scrollbar-3dlight-color","-ms-scrollbar-arrow-color","-ms-scrollbar-base-color","-ms-scrollbar-darkshadow-color","-ms-scrollbar-face-color","-ms-scrollbar-highlight-color","-ms-scrollbar-shadow-color","-ms-scrollbar-track-color","-ms-scroll-chaining","-ms-scroll-limit","-ms-scroll-limit-x-max","-ms-scroll-limit-x-min","-ms-scroll-limit-y-max","-ms-scroll-limit-y-min","-ms-scroll-rails","-ms-scroll-snap-points-x","-ms-scroll-snap-points-y","-ms-scroll-snap-type","-ms-scroll-snap-x","-ms-scroll-snap-y","-ms-scroll-translation","-ms-text-align-last","-ms-text-autospace","-ms-text-combine-horizontal","-ms-text-justify","-ms-text-kashida-space","-ms-text-overflow","-ms-text-size-adjust","-ms-text-underline-position","-ms-touch-action","-ms-touch-select","-ms-transform","-ms-transform-origin","-ms-transform-origin-x","-ms-transform-origin-y","-ms-transform-origin-z","-ms-user-select","-ms-word-break","-ms-word-wrap","-ms-wrap-flow","-ms-wrap-margin","-ms-wrap-through","-ms-writing-mode","-ms-zoom","-ms-zoom-animation","nav-down","nav-index","nav-left","nav-right","nav-up","negative","-o-animation","-o-animation-delay","-o-animation-direction","-o-animation-duration","-o-animation-fill-mode","-o-animation-iteration-count","-o-animation-name","-o-animation-play-state","-o-animation-timing-function","object-fit","object-position","-o-border-image","-o-object-fit","-o-object-position","opacity","order","orphans","-o-table-baseline","-o-tab-size","-o-text-overflow","-o-transform","-o-transform-origin","-o-transition","-o-transition-delay","-o-transition-duration","-o-transition-property","-o-transition-timing-function","offset-block-end","offset-block-start","offset-inline-end","offset-inline-start","outline","outline-color","outline-offset","outline-style","outline-width","overflow","overflow-wrap","overflow-x","overflow-y","pad","padding","padding-bottom","padding-block-end","padding-block-start","padding-inline-end","padding-inline-start","padding-left","padding-right","padding-top","page-break-after","page-break-before","page-break-inside","paint-order","perspective","perspective-origin","pointer-events","position","prefix","quotes","range","resize","right","ruby-align","ruby-overhang","ruby-position","ruby-span","scrollbar-3dlight-color","scrollbar-arrow-color","scrollbar-base-color","scrollbar-darkshadow-color","scrollbar-face-color","scrollbar-highlight-color","scrollbar-shadow-color","scrollbar-track-color","scroll-behavior","scroll-snap-coordinate","scroll-snap-destination","scroll-snap-points-x","scroll-snap-points-y","scroll-snap-type","shape-image-threshold","shape-margin","shape-outside","shape-rendering","size","src","stop-color","stop-opacity","stroke","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke-width","suffix","system","symbols","table-layout","tab-size","text-align","text-align-last","text-anchor","text-decoration","text-decoration-color","text-decoration-line","text-decoration-style","text-indent","text-justify","text-orientation","text-overflow","text-rendering","text-shadow","text-transform","text-underline-position","top","touch-action","transform","transform-origin","transform-style","transition","transition-delay","transition-duration","transition-property","transition-timing-function","unicode-bidi","unicode-range","user-select","vertical-align","visibility","-webkit-animation","-webkit-animation-delay","-webkit-animation-direction","-webkit-animation-duration","-webkit-animation-fill-mode","-webkit-animation-iteration-count","-webkit-animation-name","-webkit-animation-play-state","-webkit-animation-timing-function","-webkit-appearance","-webkit-backdrop-filter","-webkit-backface-visibility","-webkit-background-clip","-webkit-background-composite","-webkit-background-origin","-webkit-border-image","-webkit-box-align","-webkit-box-direction","-webkit-box-flex","-webkit-box-flex-group","-webkit-box-ordinal-group","-webkit-box-orient","-webkit-box-pack","-webkit-box-reflect","-webkit-box-sizing","-webkit-break-after","-webkit-break-before","-webkit-break-inside","-webkit-column-break-after","-webkit-column-break-before","-webkit-column-break-inside","-webkit-column-count","-webkit-column-gap","-webkit-column-rule","-webkit-column-rule-color","-webkit-column-rule-style","-webkit-column-rule-width","-webkit-columns","-webkit-column-span","-webkit-column-width","-webkit-filter","-webkit-flow-from","-webkit-flow-into","-webkit-font-feature-settings","-webkit-hyphens","-webkit-line-break","-webkit-margin-bottom-collapse","-webkit-margin-collapse","-webkit-margin-start","-webkit-margin-top-collapse","-webkit-mask-clip","-webkit-mask-image","-webkit-mask-origin","-webkit-mask-repeat","-webkit-mask-size","-webkit-nbsp-mode","-webkit-overflow-scrolling","-webkit-padding-start","-webkit-perspective","-webkit-perspective-origin","-webkit-region-fragment","-webkit-tap-highlight-color","-webkit-text-fill-color","-webkit-text-size-adjust","-webkit-text-stroke","-webkit-text-stroke-color","-webkit-text-stroke-width","-webkit-touch-callout","-webkit-transform","-webkit-transform-origin","-webkit-transform-origin-x","-webkit-transform-origin-y","-webkit-transform-origin-z","-webkit-transform-style","-webkit-transition","-webkit-transition-delay","-webkit-transition-duration","-webkit-transition-property","-webkit-transition-timing-function","-webkit-user-drag","-webkit-user-modify","-webkit-user-select","white-space","widows","width","will-change","word-break","word-spacing","word-wrap","writing-mode","z-index","zoom"]},xi={tags:["body","head","html","address","blockquote","dd","div","section","article","aside","header","footer","nav","menu","dl","dt","fieldset","form","frame","frameset","h1","h2","h3","h4","h5","h6","iframe","noframes","object","ol","p","ul","applet","center","dir","hr","pre","a","abbr","acronym","area","b","base","basefont","bdo","big","br","button","caption","cite","code","col","colgroup","del","dfn","em","font","i","img","input","ins","isindex","kbd","label","legend","li","link","map","meta","noscript","optgroup","option","param","q","s","samp","script","select","small","span","strike","strong","style","sub","sup","table","tbody","td","textarea","tfoot","th","thead","title","tr","tt","u","var","canvas","main","figure","plaintext","figcaption","hgroup","details","summary","audio","bdi","data","datalist","dialog","embed","mark","math","meter","output","picture","portal","progress","rp","rt","ruby","search","slot","source","template","time","track","video","wbr"]}});function Xa(e){return rh.test(e)}function ih(e){let t=[];for(let r of e)r.length===0||r.length===1&&r.charCodeAt(0)===yi||(r.length===2&&r.charCodeAt(0)===yi&&r.charCodeAt(1)===yi?t.pop():t.push(r));e.length>1&&e[e.length-1].length===0&&t.push("");let n=t.join("/");return e[0].length===0&&(n="/"+n),n}function Lt(e,...t){let n=e.path.split("/");for(let r of t)n.push(...r.split("/"));return e.with({path:ih(n)})}var _t,rh,yi,Za=J(()=>{(function(e){e[e.Unknown=0]="Unknown",e[e.File=1]="File",e[e.Directory=2]="Directory",e[e.SymbolicLink=64]="SymbolicLink"})(_t||(_t={}));rh=new RegExp("^(/|//|\\\\\\\\|[A-Za-z]:(/|\\\\))"),yi=46});function ve(e){return e>47&&e<58}function On(e,t,n){return t=t||65,n=n||90,e&=-33,e>=t&&e<=n}function El(e){return ve(e)||$n(e)}function $n(e){return e===95||On(e)}function oh(e){return e===196||e==214||e===220||e===228||e===246||e===252}function sh(e){return e===32||e===9||e===160}function _i(e){return sh(e)||e===10||e===13}function Li(e){return e===39||e===34}function ah(e){return{tokens:e,start:0,pos:0,size:e.length}}function Fe(e){return e.tokens[e.pos]}function ji(e){return e.tokens[e.pos++]}function st(e,t=e.start,n=e.pos){return e.tokens.slice(t,n)}function Ce(e){return e.pos1&&(i.multiple=!0),n.jsx&&Cl(e)?(i.value=Nl(e),i.expression=!0):i.value=Ci(e)?st(e):void 0,i}}function dh(e){if(el(e))return{value:st(e)};if(Ci(e,!0)){let t=st(e),n;return oe(e,mh)&&(el(e)||Ci(e,!0))&&(n=st(e)),{name:t,value:n}}}function ph(e){return En(Fe(e))?e.tokens[e.pos++]:void 0}function el(e){let t=e.pos,n=Fe(e);if(Tn(n)){for(e.pos++;Ce(e);)if(Tn(ji(e),n.single))return e.start=t,!0;throw Fi(e,"Unclosed quote",n)}return!1}function Ci(e,t){let n=e.pos,r={attribute:0,expression:0,group:0};for(;Ce(e);){let i=Fe(e);if(r.expression)ge(i,"expression")&&(r[i.context]+=i.open?1:-1);else{if(Tn(i)||Ne(i)||Il(i)||En(i))break;if(ge(i)){if(!t)break;if(i.open)r[i.context]++;else if(r[i.context])r[i.context]--;else break}}e.pos++}return n!==e.pos?(e.start=n,!0):!1}function hh(e,t){let n=e.pos;if(t.jsx&&oe(e,tl))for(;Ce(e);){let{pos:r}=e;if(!oe(e,vh)||!oe(e,tl)){e.pos=r;break}}for(;Ce(e)&&oe(e,bh););return e.pos!==n?(e.start=n,!0):!1}function Cl(e){let t=e.pos;if(oe(e,wh)){let n=0;for(;Ce(e);){let r=ji(e);if(ge(r,"expression"))if(r.open)n++;else if(n)n--;else break}return e.start=t,!0}return!1}function Nl(e){let t=e.start,n=e.pos;return ge(e.tokens[t],"expression",!0)&&t++,ge(e.tokens[n-1],"expression",!1)&&n--,st(e,t,n)}function ge(e,t,n){return!!(e&&e.type==="Bracket"&&(!t||e.context===t)&&(n==null||e.open===n))}function Ne(e,t){return!!(e&&e.type==="Operator"&&(!t||e.operator===t))}function Tn(e,t){return!!(e&&e.type==="Quote"&&(t==null||e.single===t))}function Il(e){return!!(e&&e.type==="WhiteSpace")}function mh(e){return Ne(e,"equal")}function En(e){return!!(e&&e.type==="Repeater")}function gh(e){return e.type==="Literal"}function tl(e){if(gh(e)){let t=e.value.charCodeAt(0);return t>=65&&t<=90}return!1}function bh(e){return e.type==="Literal"||e.type==="RepeaterNumber"||e.type==="RepeaterPlaceholder"}function vh(e){return Ne(e,"class")}function xh(e){return ge(e,"attribute",!0)}function yh(e){return ge(e,"attribute",!1)}function wh(e){return ge(e,"expression",!0)}function kh(e){return ge(e,"group",!0)}function Sh(e){return{type:"Literal",value:e}}function wi(e){return!e.name&&!e.value&&!e.attributes}function Th(e){return Ne(e,"child")}function Eh(e){return Ne(e,"sibling")}function nl(e){return Ne(e,"climb")}function Ah(e){return Ne(e,"close")}function Ch(e){return e.eat(F.Escape)?(e.start=e.pos,e.eof()||e.pos++,!0):!1}function Nh(e){let t=new Sn(e),n=[],r={group:0,attribute:0,expression:0,quote:0},i=0,o;for(;!t.eof();)if(i=t.peek(),o=Ih(t,r),o)n.push(o),o.type==="Quote"?r.quote=i===r.quote?0:i:o.type==="Bracket"&&(r[o.context]+=o.open?1:-1);else throw t.error("Unexpected character");return n}function Ih(e,t){return zh(e,t)||jh(e)||Fh(e)||Lh(e)||Oh(e)||Ph(e,t)||_h(e)||$h(e)||Rh(e)}function Ph(e,t){let n=e.pos,r=t.expression,i="";for(;!e.eof();){if(Ch(e)){i+=e.current();continue}let o=e.peek();if(o===F.Slash&&!t.quote&&!t.expression&&!t.attribute){let s=e.string.charCodeAt(e.pos-1),a=e.string.charCodeAt(e.pos+1);if(ve(s)&&ve(a)){i+=e.string[e.pos++];continue}}if(o===t.quote||o===F.Dollar||Dh(o,t))break;if(r){if(o===F.CurlyBracketOpen)t.expression++;else if(o===F.CurlyBracketClose)if(t.expression>r)t.expression--;else break}else if(!t.quote&&(!t.attribute&&!qh(o)||Uh(o,t)||Bh(o,t)||Li(o)||Pl(o)))break;i+=e.string[e.pos++]}if(n!==e.pos)return e.start=n,{type:"Literal",value:i,start:n,end:e.pos}}function Oh(e){let t=e.pos;if(e.eatWhile(_i))return{type:"WhiteSpace",start:t,end:e.pos,value:e.substring(t,e.pos)}}function $h(e){let t=e.peek();if(Li(t))return{type:"Quote",single:t===F.SingleQuote,start:e.pos++,end:e.pos}}function Rh(e){let t=e.peek(),n=Pl(t);if(n)return{type:"Bracket",open:Mh(t),context:n,start:e.pos++,end:e.pos}}function _h(e){let t=Ol(e.peek());if(t)return{type:"Operator",operator:t,start:e.pos++,end:e.pos}}function Lh(e){let t=e.pos;if(e.eat(F.Asterisk)){e.start=e.pos;let n=1,r=!1;return e.eatWhile(ve)?n=Number(e.current()):r=!0,{type:"Repeater",count:n,value:0,implicit:r,start:t,end:e.pos}}}function jh(e){let t=e.pos;if(e.eat(F.Dollar)&&e.eat(F.Hash))return{type:"RepeaterPlaceholder",value:void 0,start:t,end:e.pos};e.pos=t}function Fh(e){let t=e.pos;if(e.eatWhile(F.Dollar)){let n=e.pos-t,r=!1,i=1,o=0;if(e.eat(F.At)){for(;e.eat(F.Climb);)o++;r=e.eat(F.Dash),e.start=e.pos,e.eatWhile(ve)&&(i=Number(e.current()))}return e.start=t,{type:"RepeaterNumber",size:n,reverse:r,base:i,parent:o,start:t,end:e.pos}}}function zh(e,t){let n=e.pos;if((t.expression||t.attribute)&&e.eat(F.Dollar)&&e.eat(F.CurlyBracketOpen)){e.start=e.pos;let r,i="";if(e.eatWhile(ve)?(r=Number(e.current()),i=e.eat(F.Colon)?rl(e):""):On(e.peek())&&(i=rl(e)),e.eat(F.CurlyBracketClose))return{type:"Field",index:r,name:i,start:n,end:e.pos};throw e.error("Expecting }")}e.pos=n}function rl(e){let t=[];for(e.start=e.pos;!e.eof();)if(e.eat(F.CurlyBracketOpen))t.push(e.pos);else if(e.eat(F.CurlyBracketClose)){if(!t.length){e.pos--;break}t.pop()}else e.pos++;if(t.length)throw e.pos=t.pop(),e.error("Expecting }");return e.current()}function Dh(e,t){let n=Ol(e);return!n||t.quote||t.expression?!1:!t.attribute||n==="equal"}function Uh(e,t){return _i(e)&&!t.expression}function Bh(e,t){return e===F.Asterisk&&!t.attribute&&!t.expression}function Pl(e){if(e===F.RoundBracketOpen||e===F.RoundBracketClose)return"group";if(e===F.SquareBracketOpen||e===F.SquareBracketClose)return"attribute";if(e===F.CurlyBracketOpen||e===F.CurlyBracketClose)return"expression"}function Ol(e){return e===F.Child&&"child"||e===F.Sibling&&"sibling"||e===F.Climb&&"climb"||e===F.Dot&&"class"||e===F.Hash&&"id"||e===F.Slash&&"close"||e===F.Equals&&"equal"||void 0}function Mh(e){return e===F.CurlyBracketOpen||e===F.SquareBracketOpen||e===F.RoundBracketOpen}function qh(e){return El(e)||oh(e)||e===F.Dash||e===F.Colon||e===F.Excl}function $l(e,t){if(!il[e.type])throw new Error(`Unknown token ${e.type}`);return il[e.type](e,t)}function Gh(e,t={}){let n=!1,r;t.text&&(Array.isArray(t.text)?r=t.text.filter(o=>o.trim()):r=t.text);let i={type:"Abbreviation",children:Ni(e,{inserted:!1,repeaters:[],text:t.text,cleanText:r,repeatGuard:t.maxRepeat||Number.POSITIVE_INFINITY,getText(o){var s;n=!0;let a;if(Array.isArray(t.text)){if(o!==void 0&&o>=0&&oo.name==="href");i?i.value||(i.value=[r]):(e.attributes||(e.attributes=[]),e.attributes.push({name:"href",value:[r],valueType:"doubleQuote"}))}function Jh(e,t){for(let n of e)n.repeat||(n.repeat=Object.assign({},t));return e}function zl(e,t){try{let n=typeof e=="string"?Nh(e):e;return Gh(lh(n,t),t)}catch(n){throw n instanceof jt&&typeof e=="string"&&(n.message+=` ${e} ${"-".repeat(n.pos)}^`),n}}function Xh(e,t){let n=0,r,i=new Sn(e),o=[];for(;!i.eof();){if(r=Zh(i,n===0&&!t),!r)throw i.error("Unexpected character");if(r.type==="Bracket"&&(!n&&r.open&&hm(i,o),n+=r.open?1:-1,n<0))throw i.error("Unexpected bracket",r.start);o.push(r),pm(r)&&(r=Dl(i))&&o.push(r)}return o}function Zh(e,t){return Kh(e)||om(e)||tm(e)||rm(e)||nm(e)||sm(e)||Dl(e)||im(e)||em(e,t)}function Kh(e){let t=e.pos;if(e.eat(D.Dollar)&&e.eat(D.CurlyBracketOpen)){e.start=e.pos;let n,r="";if(e.eatWhile(ve)?(n=Number(e.current()),r=e.eat(D.Colon)?al(e):""):On(e.peek())&&(r=al(e)),e.eat(D.CurlyBracketClose))return{type:"Field",index:n,name:r,start:t,end:e.pos};throw e.error("Expecting }")}e.pos=t}function al(e){let t=[];for(e.start=e.pos;!e.eof();)if(e.eat(D.CurlyBracketOpen))t.push(e.pos);else if(e.eat(D.CurlyBracketClose)){if(!t.length){e.pos--;break}t.pop()}else e.pos++;if(t.length)throw e.pos=t.pop(),e.error("Expecting }");return e.current()}function em(e,t){let n=e.pos;if(e.eat(lm)?e.eatWhile(n?Ii:Si):e.eat($n)?e.eatWhile(t?Si:Ii):(e.eat(D.Dot),e.eatWhile(Si)),n!==e.pos)return e.start=n,Di(e,e.start=n)}function Di(e,t=e.start,n=e.pos){return{type:"Literal",value:e.substring(t,n),start:t,end:n}}function tm(e){let t=e.pos;if(am(e)){e.start=t;let n=e.current();return e.start=e.pos,e.eat(D.Percent)||e.eatWhile($n),{type:"NumberValue",value:Number(n),rawValue:n,unit:e.current(),start:t,end:e.pos}}}function nm(e){let t=e.peek(),n=e.pos,r=!1;if(Li(t)){for(e.pos++;!e.eof();)if(e.eat(t)){r=!0;break}else e.pos++;return e.start=n,{type:"StringValue",value:e.substring(n+1,e.pos-(r?1:0)),quote:t===D.SingleQuote?"single":"double",start:n,end:e.pos}}}function rm(e){let t=e.pos;if(e.eat(D.Hash)){let n=e.pos,r="",i="";if(e.eatWhile(cm)?(r=e.substring(n,e.pos),i=ki(e)):e.eat(D.Transparent)?(r="0",i=ki(e)||"0"):i=ki(e),r||i||e.eof()){let{r:o,g:s,b:a,a:l}=dm(r,i);return{type:"ColorValue",r:o,g:s,b:a,a:l,raw:e.substring(t+1,e.pos),start:t,end:e.pos}}else return Di(e,t)}e.pos=t}function ki(e){let t=e.pos;return e.eat(D.Dot)?(e.start=t,e.eatWhile(ve)?e.current():"1"):""}function im(e){let t=e.pos;if(e.eatWhile(_i))return{type:"WhiteSpace",start:t,end:e.pos}}function om(e){let t=e.pos;if(e.eat(D.Dash)&&e.eat(D.Dash))return e.start=t,e.eatWhile(Ii),{type:"CustomProperty",value:e.current(),start:t,end:e.pos};e.pos=t}function sm(e){let t=e.peek();if(fm(t))return{type:"Bracket",open:t===D.RoundBracketOpen,start:e.pos++,end:e.pos}}function Dl(e){let t=um(e.peek());if(t)return{type:"Operator",operator:t,start:e.pos++,end:e.pos}}function am(e){let t=e.pos;e.eat(D.Dash);let n=e.pos,r=e.eatWhile(ve),i=e.pos;if(e.eat(D.Dot)){let o=e.eatWhile(ve);!r&&!o&&(e.pos=i)}return e.pos===n&&(e.pos=t),e.pos!==t}function lm(e){return e===D.At||e===D.Dollar}function um(e){return e===D.Sibling&&he.Sibling||e===D.Excl&&he.Important||e===D.Comma&&he.ArgumentDelimiter||e===D.Colon&&he.PropertyDelimiter||e===D.Dash&&he.ValueDelimiter||void 0}function cm(e){return ve(e)||On(e,65,70)}function Ii(e){return El(e)||e===D.Dash}function fm(e){return e===D.RoundBracketOpen||e===D.RoundBracketClose}function Si(e){return $n(e)||e===D.Percent||e===D.Slash}function dm(e,t){let n="0",r="0",i="0",o=Number(t!=null&&t!==""?t:1);if(e==="t")o=0;else switch(e.length){case 0:break;case 1:n=r=i=e+e;break;case 2:n=r=i=e;break;case 3:n=e[0]+e[0],r=e[1]+e[1],i=e[2]+e[2];break;default:e+=e,n=e.slice(0,2),r=e.slice(2,4),i=e.slice(4,6)}return{r:parseInt(n,16),g:parseInt(r,16),b:parseInt(i,16),a:o}}function pm(e){return e.type==="ColorValue"||e.type==="NumberValue"&&!e.unit}function hm(e,t){let n=0,r=0;for(;t.length;){let i=mm(t);if(i.type==="Literal"||i.type==="NumberValue")n=i.start,r||(r=i.end),t.pop();else break}n!==r&&t.push(Di(e,n,r))}function mm(e){return e[e.length-1]}function gm(e){return{tokens:e,start:0,pos:0,size:e.length}}function Rn(e){return e.tokens[e.pos]}function _n(e){return e.pos{t(o,r,n),r.push(o),o.children.forEach(i),r.pop()};e.children.forEach(i)}function Hl(e,t){for(let n=0;n{let a=s.name&&t.snippets[s.name];if(!a||n.includes(a))return null;let l;try{l=zl(a,t)}catch(u){return i?.(`Unable to parse "${a}" snippet`,u),null}n.push(a),An(l,o),n.pop();for(let u of l.children){if(s.attributes){let c=u.attributes||[],f=s.attributes||[];u.attributes=r?f.concat(c):c.concat(f)}Rm(s,u)}return l};return An(e,o),e}function An(e,t,n){let r=[];for(let i of e.children){let o=t(i);if(o){r=r.concat(o.children);let s=Om(o);Gl(s.node)&&(s.node.children=s.node.children.concat(An(i,t)))}else r.push(i),i.children=An(i,t)}return e.children=r}function Rm(e,t){e.selfClosing&&(t.selfClosing=!0),e.value!=null&&(t.value=e.value),e.repeat&&(t.repeat=e.repeat)}function Ql(e,t=0){return{options:e,value:"",level:t,offset:0,line:0,column:0}}function ne(e,t){let n=e.options["output.text"];Xl(e,n(t,e.offset,e.line,e.column))}function M(e,t){let n=Fm(t);for(let r=0,i=n.length-1;r<=i;r++)ne(e,n[r]),r!==i&&Se(e,!0)}function Se(e,t){let n=e.options["output.baseIndent"],r=e.options["output.newline"];ne(e,r+n),e.line++,e.column=n.length,t&&_m(e,t===!0?e.level:t)}function _m(e,t=e.level){let n=e.options["output.indent"];ne(e,n.repeat(Math.max(t,0)))}function Mi(e,t,n){let r=e.options["output.field"];Xl(e,r(t,n,e.offset,e.line,e.column))}function Lm(e,t){return Zl(e,t.options["output.tagCase"])}function Yl(e,t){return Zl(e,t.options["output.attributeCase"])}function Cn(e,t,n){return e.valueType==="expression"?n?Pi:Oi:t.options["output.attributeQuotes"]==="single"?"'":'"'}function Jl(e,t){return e.boolean||t.options["output.booleanAttributes"].includes((e.name||"").toLowerCase())}function jm(e){switch(e.options["output.selfClosingStyle"]){case"xhtml":return" /";case"xml":return"/";default:return""}}function at(e,t){return typeof e=="string"?t.options.inlineElements.includes(e.toLowerCase()):e.name?at(e.name,t):!!(e.value&&!e.attributes)}function Fm(e){return e.split(/\r\n|\r|\n/g)}function Xl(e,t){e.value+=t,e.offset+=t.length,e.column+=t.length}function Zl(e,t){return t?t==="upper"?e.toUpperCase():e.toLowerCase():e}function Dm(e,t,n){!e.name&&e.attributes&&Kl(e,t,n)}function Kl(e,t,n){let r=Bm(t),i=n.context?n.context.name:"",o=Um(r?r.name:i);e.name=zm[o]||(at(o,n)?"span":"div")}function Um(e){return(e||"").toLowerCase()}function Bm(e){for(let t=e.length-1;t>=0;t--){let n=e[t];if(Gl(n))return n}}function Hm(e,t,n){let r;if(e.name&&(r=e.name.match(Wm))){let i=ul[r[1]]||ul.latin,o=r[2]?Math.max(1,Number(r[2])):30,s=r[3]?Math.max(o,Number(r[3].slice(1))):o,a=je(o,s),l=e.repeat||Xm(t);e.name=e.attributes=void 0,e.value=[Jm(i,a,!l||l.value===0)],e.repeat&&t.length>1&&Kl(e,t,n)}}function je(e,t){return Math.floor(Math.random()*(t-e)+e)}function Gm(e,t){let n=e.length,r=Math.min(n,t),i=[];for(;i.length3&&t<=6?r=je(0,1):t>6&&t<=12?r=je(0,2):r=je(1,4);for(let i=0,o;i=0;t--){let n=e[t];if(n.type==="AbbreviationNode"&&n.repeat)return n.repeat}}function Zm(e){eg(e.name)&&e.attributes&&(e.children.length||e.value)&&(e.attributes=e.attributes.filter(Km))}function Km(e){return e.name!=="select"}function eg(e){return e==="xsl:variable"||e==="xsl:with-param"}function rg(e,t,n){ig(e),og(e,t,n)}function ig(e){let t=qi(e),n=[];for(let r of t.classNames){let i=r.indexOf("_");i>0&&!r.startsWith("-")?(n.push(r.slice(0,i)),n.push(r.slice(i))):n.push(r)}n.length&&(t.classNames=n.filter(ou),t.block=ru(t.classNames),iu(e,t.classNames.join(" ")))}function og(e,t,n){let r=qi(e),i=[],{options:o}=n,s=t.slice(1).concat(e);for(let l of r.classNames){let u="",c,f=l;(c=l.match(eu))&&(u=dl(s,c[1].length,n.context)+o["bem.element"]+c[2],i.push(u),l=l.slice(c[0].length)),(c=l.match(tu))&&(u||(u=dl(s,c[1].length),i.push(u)),i.push(`${u}${o["bem.modifier"]}${c[2]}`),l=l.slice(c[0].length)),l===f&&i.push(f)}let a=i.filter(ou);a.length&&iu(e,a.join(" "))}function qi(e){if(!e._bem){let t="";if(e.attributes){for(let n of e.attributes)if(n.name==="class"&&n.value){t=ag(n.value);break}}e._bem=nu(t)}return e._bem}function sg(e){return e._bem||(e._bem=nu(e.attributes&&e.attributes.class||"")),e._bem}function nu(e){let t=e?e.split(/\s+/):[];return{classNames:t,block:ru(t)}}function dl(e,t=0,n){let i=Math.max(e.length-t,0);do{let o=e[i];if(o){let s=qi(o);if(s.block)return s.block}}while(0n.name==="input"||n.name==="textarea");t&&(e.attributes&&(e.attributes=e.attributes.filter(n=>!(n.name==="for"&&hl(n)))),t.attributes&&(t.attributes=t.attributes.filter(n=>!(n.name==="id"&&hl(n)))))}}function hl(e){if(!e.value)return!0;if(e.value.length===1){let t=e.value[0];if(t&&typeof t!="string"&&!t.name)return!0}return!1}function su(e,t,n){let r=(o,s,a)=>{let{parent:l,current:u}=n;n.parent=u,n.current=o,t(o,s,a,n,i),n.current=u,n.parent=l},i=(o,s,a)=>{n.ancestors.push(n.current),r(o,s,a),n.ancestors.pop()};e.children.forEach(r)}function au(e){return{current:null,parent:void 0,ancestors:[],config:e,field:1,out:Ql(e.options)}}function Me(e){return e?!e.name&&!e.attributes:!1}function ml(e,t){return e?at(e,t):!1}function lu(e){return typeof e=="object"&&e.type==="Field"}function me(e,t){let{out:n}=t,r=-1;for(let i of e)typeof i=="string"?M(n,i):(Mi(n,t.field+i.index,i.name),i.index>r&&(r=i.index));r!==-1&&(t.field+=r+1)}function ug(e){let t=[],n=[];for(let r of e)if(typeof r=="string"){let i=r.split(/\r\n?|\n/g);for(n.push(i.shift()||"");i.length;)t.push(n),n=[i.shift()||""]}else n.push(r);return n.length&&t.push(n),t}function uu(e){return!e.implied||e.valueType!=="raw"||!!e.value&&e.value.length>0}function gl(e){let t=[],n={pos:0,text:e},r,i=n.pos,o=n.pos;for(;n.pos=65&&e<=90}function fg(e){return cu(e)||e>47&&e<58||e===qe.Underscore||e===qe.Dash}function dg(e){let{options:t}=e;return{enabled:t["comment.enabled"],trigger:t["comment.trigger"],before:t["comment.before"]?gl(t["comment.before"]):void 0,after:t["comment.after"]?gl(t["comment.after"]):void 0}}function pg(e,t){fu(e,t)&&t.comment.before&&du(e,t.comment.before,t)}function hg(e,t){fu(e,t)&&t.comment.after&&du(e,t.comment.after,t)}function fu(e,t){let{comment:n}=t;if(!n.enabled||!n.trigger||!e.name||!e.attributes)return!1;for(let r of e.attributes)if(r.name&&n.trigger.includes(r.name))return!0;return!1}function du(e,t,n){let r={},{out:i}=n;for(let o of e.attributes)o.name&&o.value&&(r[o.name.toUpperCase()]=o.value);for(let o of t)typeof o=="string"?M(i,o):r[o.name]&&(M(i,o.before),me(r[o.name],n),M(i,o.after))}function pu(e,t){let n=au(t);return n.comment=dg(t),su(e,bg,n),n.out.value}function bg(e,t,n,r,i){let{out:o,config:s}=r,a=hu(e,t,n,r),l=xg(r);if(o.level+=l,a&&Se(o,!0),e.name){let u=Lm(e.name,s);if(pg(e,r),M(o,`<${u}`),e.attributes)for(let c of e.attributes)uu(c)&&vg(c,r);if(e.selfClosing&&!e.children.length&&!e.value)M(o,`${jm(s)}>`);else{if(M(o,">"),!bl(e,r,i)){if(e.value){let c=e.value.some(mu)||yg(e.value,s);c&&Se(r.out,++o.level),me(e.value,r),c&&Se(r.out,--o.level)}if(e.children.forEach(i),!e.value&&!e.children.length){let c=s.options["output.formatLeafNode"]||s.options["output.formatForce"].includes(e.name);c&&Se(r.out,++o.level),me(Ln,r),c&&Se(r.out,--o.level)}}M(o,``),hg(e,r)}}else!bl(e,r,i)&&e.value&&(me(e.value,r),e.children.forEach(i));if(a&&t===n.length-1&&r.parent){let u=Me(r.parent)?0:1;Se(o,o.level-u)}o.level-=l}function vg(e,t){let{out:n,config:r}=t;if(e.name){let i=r.options["markup.attributes"],o=r.options["markup.valuePrefix"],{name:s,value:a}=e,l=Cn(e,r,!0),u=Cn(e,r);i&&(s=vl(s,i,e.multiple)||s),s=Yl(s,r),r.options["jsx.enabled"]&&e.multiple&&(l=Pi,u=Oi);let c=o?vl(e.name,o,e.multiple):null;if(c&&a?.length===1&&typeof a[0]=="string"){let f=a[0];a=[wg(f)?`${c}.${f}`:`${c}['${f}']`],r.options["jsx.enabled"]&&(l=Pi,u=Oi)}Jl(e,r)&&!a?r.options["output.compactBoolean"]||(a=[s]):a||(a=Ln),M(n," "+s),a?(M(n,"="+l),me(a,t),M(n,u)):r.options["output.selfClosingStyle"]!=="html"&&M(n,"="+l+u)}}function bl(e,t,n){if(e.value&&e.children.length){let r=e.value.findIndex(lu);if(r!==-1){me(e.value.slice(0,r),t);let i=t.out.line,o=r+1;return e.children.forEach(n),t.out.line!==i&&typeof e.value[o]=="string"&&M(t.out,e.value[o++].trimLeft()),me(e.value.slice(o),t),!0}}return!1}function hu(e,t,n,r){let{config:i,parent:o}=r;if(!i.options["output.format"]||t===0&&!o||o&&Me(o)&&n.length===1)return!1;if(Me(e)&&(Me(n[t-1])||Me(n[t+1])||e.value.some(mu)||e.value.some(lu)&&e.children.length))return!0;if(at(e,i)){if(t===0){for(let s=0;s=i.options["output.inlineBreak"])return!0}for(let s=0,a=e.children.length;stypeof i=="string"?i.replace(/\s+/g,"."):i);me(r,t)}else M(t.out,"#"),me(n.value,t)}function Eg(e,t){if(e.length){let{out:n,config:r,options:i}=t;i.beforeAttribute&&M(n,i.beforeAttribute);for(let o=0;oa&&(a=u)}i.level++;for(let l=0;li)return 0;let o=Math.min(r,i),s=Math.max(r,i),a=1,l=1,u=s,c=0,f=0,h=!1,d=!1;for(;a>4).toString(16)}function Gg(e){return Qg(e.toString(16),2)}function Qg(e,t){for(;e.lengtho.snippet));for(let o=0;o0)}}function Jg(e,t,n){let r=n.options["stylesheet.json"],i=r?Xg(e):null;if(i&&(!i.unit||i.unit==="px"))ne(t,String(i.value));else{let o=Kg(n);r&&ne(t,o);for(let s=0;sn.toUpperCase())}function Kg(e){return e.options["stylesheet.jsonDoubleQuotes"]?'"':"'"}function Qi(e,t){var n;let r=((n=t.cache)===null||n===void 0?void 0:n.stylesheetSnippets)||eb(t.snippets),i=[];t.cache&&(t.cache.stylesheetSnippets=r),typeof e=="string"&&(e=Wl(e,{value:Su(t)}));let o=lb(r,t);for(let s of e){let a=tb(s,o,t);a&&i.push(a)}return i}function eb(e){let t=[];for(let n of Object.keys(e))t.push(Fg(n,e[n]));return zg(t)}function tb(e,t,n){if(!nb(e,n)){let r=n.options["stylesheet.fuzzySearchMinScore"];if(Su(n)){let i=n.context.name,o=t.find(s=>s.type===Ie.Property&&s.property===i);yu(e,n,o,r),e.snippet=o}else if(e.name){let i=kn(e.name,t,r,!0);if(e.snippet=i,i){let o=i.type===Ie.Property?rb(e,i,n):ib(e,i);if(o)e=o;else if(n.options["stylesheet.strictMatch"])return null}}}return(e.name||n.context)&&ab(e,n),e}function nb(e,t){let n=null,r=e.value.length===1?e.value[0]:null;if(r&&r.value.length===1){let i=r.value[0];i.type==="FunctionCall"&&i.name===wl&&(n=i)}return n||e.name===wl?(n?n=Object.assign(Object.assign({},n),{name:"linear-gradient"}):n={type:"FunctionCall",name:"linear-gradient",arguments:[In(Be(0,""))]},t.context||(e.name="background-image"),e.value=[In(n)],!0):!1}function rb(e,t,n){let r=e.name,i=sb(r,t.key);if(i){if(e.value.length)return null;let o=$i(i,n,t);if(!o)return null;e.value.push(In(o))}if(e.name=t.property,e.value.length)yu(e,n,t);else if(t.value.length){let o=t.value[0];e.value=t.value.length===1||o.some(wu)?o:o.map(s=>ku(s,n))}return e}function yu(e,t,n,r){for(let i of e.value){let o=[];for(let s of i.value)if(s.type==="Literal")o.push($i(s.value,t,n,r)||s);else if(s.type==="FunctionCall"){let a=$i(s.name,t,n,r);a&&a.type==="FunctionCall"?o.push(Object.assign(Object.assign({},a),{arguments:s.arguments.concat(a.arguments.slice(s.arguments.length))})):o.push(s)}else o.push(s);i.value=o}}function ib(e,t){let n=0,r,i=/\$\{(\d+)(:[^}]+)?\}/g,o=e.value[0],s=[];for(;r=i.exec(t.value);)n!==r.index&&s.push(lt(t.value.slice(n,r.index))),n=r.index+r[0].length,o&&o.value.length?s.push(o.value.shift()):s.push(Be(Number(r[1]),r[2]?r[2].slice(1):""));let a=t.value.slice(n);return a&&s.push(lt(a)),e.name=void 0,e.value=[In(...s)],e}function kn(e,t,n=0,r=!1){let i=null,o=0;for(let s of t){let a=qg(e,ob(s),r);if(a===1)return s;a&&a>=o&&(o=a,i=s)}return o>=n?i:null}function ob(e){return typeof e=="string"?e:e.key}function sb(e,t){for(let n=0,r=0;nn.type===Ie.Raw);if(t.context.name===Nn.Property)return e.filter(n=>n.type===Ie.Property)}return e}function wn(e){let t={};return Object.keys(e).forEach(n=>{for(let r of n.split("|"))t[r]=e[n]}),t}function Ut(e={},t={}){let n=e.type||"markup",r=e.syntax||hb[n];return Object.assign(Object.assign(Object.assign({},Tu),e),{type:n,syntax:r,variables:Ai(n,r,"variables",e,t),snippets:Ai(n,r,"snippets",e,t),options:Ai(n,r,"options",e,t)})}function Ai(e,t,n,r,i={}){let o=kl[e],s=i[e],a=kl[t],l=i[t];return Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},Tu[n]),o&&o[n]),a&&a[n]),s&&s[n]),l&&l[n]),r[n])}function Eu(e,t=0){return{text:e,start:t,pos:e.length}}function Pe(e){return e.pos===e.start}function zt(e,t=0){return e.text.charCodeAt(e.pos-1+t)}function Sl(e){if(!Pe(e))return e.text.charCodeAt(--e.pos)}function de(e,t){if(Pe(e))return!1;let n=typeof t=="function"?t(zt(e)):t===zt(e);return n&&e.pos--,!!n}function Au(e,t){let n=e.pos;for(;de(e,t););return e.pos=65&&e<=90}function kb(e){return e>47&&e<58}function Ri(e){return e===ue.Space||e===ue.Tab}function Sb(e){return!isNaN(e)&&e!==ue.Equals&&!Ri(e)&&!Yi(e)}function Tb(e){return e===B.CurlyL||e===B.RoundL||e===B.SquareL}function Eb(e){return e===B.CurlyR||e===B.RoundR||e===B.SquareR}function Ji(e,t=e.length,n={}){let r=Object.assign(Object.assign({},Cb),n);t=Math.min(e.length,Math.max(0,t??e.length)),r.lookAhead&&(t=Nb(e,t,r));let i,o=Ib(e,t,r.prefix||"");if(o===-1)return;let s=Eu(e,o);s.pos=t;let a=[];for(;!Pe(s);){if(i=zt(s),a.includes(B.CurlyR)){if(i===B.CurlyR){a.push(i),s.pos--;continue}if(i!==B.CurlyL){s.pos--;continue}}if(Pu(i,r.type))a.push(i);else if($b(i,r.type)){if(a.pop()!==Cu[i])break}else if(a.includes(B.SquareR)||a.includes(B.CurlyR)){s.pos--;continue}else if(bb(s)||!Ob(i))break;s.pos--}if(!a.length&&s.pos!==t){let l=e.slice(s.pos,t).replace(/^[*+>^]+/,"");return{abbreviation:l,location:t-l.length,start:n.prefix?o-n.prefix.length:t-l.length,end:t}}}function Nb(e,t,n){for(Yi(e.charCodeAt(t))&&t++;Pu(e.charCodeAt(t),n.type);)t++;return t}function Ib(e,t,n){if(!n)return 0;let r=Eu(e),i=n.split("").map(Iu);r.pos=t;let o;for(;!Pe(r);)if(!(Tl(r,B.SquareR,B.SquareL)||Tl(r,B.CurlyR,B.CurlyL))){if(o=r.pos,Pb(r,i))return o;r.pos--}return-1}function Tl(e,t,n){let r=e.pos;if(de(e,t))for(;!Pe(e);){if(de(e,n))return!0;e.pos--}return e.pos=r,!1}function Pb(e,t){let n=e.pos,r=!1;for(let i=t.length-1;i>=0&&!Pe(e)&&de(e,t[i]);i--)r=i===0;return r||(e.pos=n),r}function Ob(e){return e>64&&e<91||e>96&&e<123||e>47&&e<58||Ab.includes(e)}function $b(e,t){return e===B.RoundL||t==="markup"&&(e===B.SquareL||e===B.CurlyL)}function Pu(e,t){return e===B.RoundR||t==="markup"&&(e===B.SquareR||e===B.CurlyR)}function Bt(e,t){let n=Ut(t);return n.type==="stylesheet"?_b(e,n):Rb(e,n)}function Rb(e,t){return Hi(Wi(e,t),t)}function _b(e,t){return Gi(Qi(e,t),t)}var Sn,jt,F,Vh,il,Wh,Hh,he,D,Pi,Oi,zm,Mm,qm,Vm,ul,Wm,eu,tu,tg,ng,Ln,qe,mg,gg,Rg,Ie,Lg,jg,Nn,wl,ub,cb,fb,db,pb,hb,mb,Tu,kl,Dt,B,Cu,ue,Iu,Ab,Cb,Ou=J(()=>{Sn=class e{constructor(t,n,r){r==null&&typeof t=="string"&&(r=t.length),this.string=t,this.pos=this.start=n||0,this.end=r||0}eof(){return this.pos>=this.end}limit(t,n){return new e(this.string,t,n)}peek(){return this.string.charCodeAt(this.pos)}next(){if(this.pos",class:".",climb:"^",id:"#",equal:"=",close:"/",sibling:"+"},il={Literal(e){return e.value},Quote(e){return e.single?"'":'"'},Bracket(e){return e.context==="attribute"?e.open?"[":"]":e.context==="expression"?e.open?"{":"}":e.open?"(":"}"},Operator(e){return Vh[e.operator]},Field(e,t){return e.index!=null?e.name?`\${${e.index}:${e.name}}`:`\${${e.index}`:e.name?t.getVariable(e.name):""},RepeaterPlaceholder(e,t){let n;for(let r=t.repeaters.length-1;r>=0;r--)if(t.repeaters[r].implicit){n=t.repeaters[r];break}return t.inserted=!0,t.getText(n&&n.value)},RepeaterNumber(e,t){let n=1,r=t.repeaters.length-1,i=t.repeaters[r];if(i&&(n=e.reverse?e.base+i.count-i.value-1:e.base+i.value,e.parent)){let s=Math.max(0,r-e.parent);if(s!==r){let a=t.repeaters[s];n+=i.count*a.value}}let o=String(n);for(;o.length/^[a-z]\-/i.test(e),ng=e=>/^[a-z]/i.test(e);Ln=[{type:"Field",index:0,name:""}];(function(e){e[e.Start=91]="Start",e[e.End=93]="End",e[e.Underscore=95]="Underscore",e[e.Dash=45]="Dash"})(qe||(qe={}));mg=/^<([\w\-:]+)[\s>]/,gg=new Set(["for","while","of","async","await","const","let","var","continue","break","debugger","do","export","import","in","instanceof","new","return","switch","this","throw","try","catch","typeof","void","with","yield"]);Rg={html:pu,haml:Pg,slim:Og,pug:$g};(function(e){e.Raw="Raw",e.Property="Property"})(Ie||(Ie={}));Lg=/^([a-z-]+)(?:\s*:\s*([^\n\r;]+?);*)?$/,jg={value:!0};Nn={Global:"@@global",Section:"@@section",Property:"@@property",Value:"@@value"};wl="lg";ub={a:"a[href]","a:blank":"a[href='http://${0}' target='_blank' rel='noopener noreferrer']","a:link":"a[href='http://${0}']","a:mail":"a[href='mailto:${0}']","a:tel":"a[href='tel:+${0}']",abbr:"abbr[title]","acr|acronym":"acronym[title]",base:"base[href]/",basefont:"basefont/",br:"br/",frame:"frame/",hr:"hr/",bdo:"bdo[dir]","bdo:r":"bdo[dir=rtl]","bdo:l":"bdo[dir=ltr]",col:"col/",link:"link[rel=stylesheet href]/","link:css":"link[href='${1:style}.css']","link:print":"link[href='${1:print}.css' media=print]","link:favicon":"link[rel='shortcut icon' type=image/x-icon href='${1:favicon.ico}']","link:mf|link:manifest":"link[rel='manifest' href='${1:manifest.json}']","link:touch":"link[rel=apple-touch-icon href='${1:favicon.png}']","link:rss":"link[rel=alternate type=application/rss+xml title=RSS href='${1:rss.xml}']","link:atom":"link[rel=alternate type=application/atom+xml title=Atom href='${1:atom.xml}']","link:im|link:import":"link[rel=import href='${1:component}.html']",meta:"meta/","meta:utf":"meta[http-equiv=Content-Type content='text/html;charset=UTF-8']","meta:vp":"meta[name=viewport content='width=${1:device-width}, initial-scale=${2:1.0}']","meta:compat":"meta[http-equiv=X-UA-Compatible content='${1:IE=7}']","meta:edge":"meta:compat[content='${1:ie=edge}']","meta:redirect":"meta[http-equiv=refresh content='0; url=${1:http://example.com}']","meta:refresh":"meta[http-equiv=refresh content='${1:5}']","meta:kw":"meta[name=keywords content]","meta:desc":"meta[name=description content]",style:"style",script:"script","script:src":"script[src]","script:module":"script[type=module src]",img:"img[src alt]/","img:s|img:srcset":"img[srcset src alt]","img:z|img:sizes":"img[sizes srcset src alt]",picture:"picture","src|source":"source/","src:sc|source:src":"source[src type]","src:s|source:srcset":"source[srcset]","src:t|source:type":"source[srcset type='${1:image/}']","src:z|source:sizes":"source[sizes srcset]","src:m|source:media":"source[media='(${1:min-width: })' srcset]","src:mt|source:media:type":"source:media[type='${2:image/}']","src:mz|source:media:sizes":"source:media[sizes srcset]","src:zt|source:sizes:type":"source[sizes srcset type='${1:image/}']",iframe:"iframe[src frameborder=0]",embed:"embed[src type]/",object:"object[data type]",param:"param[name value]/",map:"map[name]",area:"area[shape coords href alt]/","area:d":"area[shape=default]","area:c":"area[shape=circle]","area:r":"area[shape=rect]","area:p":"area[shape=poly]",form:"form[action]","form:get":"form[method=get]","form:post":"form[method=post]",label:"label[for]",input:"input[type=${1:text}]/",inp:"input[name=${1} id=${1}]","input:h|input:hidden":"input[type=hidden name]","input:t|input:text":"inp[type=text]","input:search":"inp[type=search]","input:email":"inp[type=email]","input:url":"inp[type=url]","input:p|input:password":"inp[type=password]","input:datetime":"inp[type=datetime]","input:date":"inp[type=date]","input:datetime-local":"inp[type=datetime-local]","input:month":"inp[type=month]","input:week":"inp[type=week]","input:time":"inp[type=time]","input:tel":"inp[type=tel]","input:number":"inp[type=number]","input:color":"inp[type=color]","input:c|input:checkbox":"inp[type=checkbox]","input:r|input:radio":"inp[type=radio]","input:range":"inp[type=range]","input:f|input:file":"inp[type=file]","input:s|input:submit":"input[type=submit value]","input:i|input:image":"input[type=image src alt]","input:b|input:btn|input:button":"input[type=button value]","input:reset":"input:button[type=reset]",isindex:"isindex/",select:"select[name=${1} id=${1}]","select:d|select:disabled":"select[disabled.]","opt|option":"option[value]",textarea:"textarea[name=${1} id=${1}]","tarea:c|textarea:cols":"textarea[name=${1} id=${1} cols=${2:30}]","tarea:r|textarea:rows":"textarea[name=${1} id=${1} rows=${3:10}]","tarea:cr|textarea:cols:rows":"textarea[name=${1} id=${1} cols=${2:30} rows=${3:10}]",marquee:"marquee[behavior direction]","menu:c|menu:context":"menu[type=context]","menu:t|menu:toolbar":"menu[type=toolbar]",video:"video[src]",audio:"audio[src]","html:xml":"html[xmlns=http://www.w3.org/1999/xhtml]",keygen:"keygen/",command:"command/","btn:s|button:s|button:submit":"button[type=submit]","btn:r|button:r|button:reset":"button[type=reset]","btn:b|button:b|button:button":"button[type=button]","btn:d|button:d|button:disabled":"button[disabled.]","fst:d|fset:d|fieldset:d|fieldset:disabled":"fieldset[disabled.]",bq:"blockquote",fig:"figure",figc:"figcaption",pic:"picture",ifr:"iframe",emb:"embed",obj:"object",cap:"caption",colg:"colgroup",fst:"fieldset",btn:"button",optg:"optgroup",tarea:"textarea",leg:"legend",sect:"section",art:"article",hdr:"header",ftr:"footer",adr:"address",dlg:"dialog",str:"strong",prog:"progress",mn:"main",tem:"template",fset:"fieldset",datal:"datalist",kg:"keygen",out:"output",det:"details",sum:"summary",cmd:"command",data:"data[value]",meter:"meter[value]",time:"time[datetime]","ri:d|ri:dpr":"img:s","ri:v|ri:viewport":"img:z","ri:a|ri:art":"pic>src:m+img","ri:t|ri:type":"pic>src:t+img","!!!":"{}",doc:"html[lang=${lang}]>(head>meta[charset=${charset}]+meta:vp+title{${1:Document}})+body","!|html:5":"!!!+doc",c:"{}","cc:ie":"{}","cc:noie":"{${0}}"},cb={"@f":`@font-face { font-family: \${1}; src: url(\${2}); }`,"@ff":"@font-face {\n font-family: '${1:FontName}';\n src: url('${2:FileName}.eot');\n src: url('${2:FileName}.eot?#iefix') format('embedded-opentype'),\n url('${2:FileName}.woff') format('woff'),\n url('${2:FileName}.ttf') format('truetype'),\n url('${2:FileName}.svg#${1:FontName}') format('svg');\n font-style: ${3:normal};\n font-weight: ${4:normal};\n}","@i|@import":"@import url(${0});","@kf":"@keyframes ${1:identifier} {\n ${2}\n}","@m|@media":"@media ${1:screen} {\n ${0}\n}",ac:"align-content:start|end|flex-start|flex-end|center|space-between|space-around|stretch|space-evenly",ai:"align-items:start|end|flex-start|flex-end|center|baseline|stretch",anim:"animation:${1:name} ${2:duration} ${3:timing-function} ${4:delay} ${5:iteration-count} ${6:direction} ${7:fill-mode}",animdel:"animation-delay:time",animdir:"animation-direction:normal|reverse|alternate|alternate-reverse",animdur:"animation-duration:${1:0}s",animfm:"animation-fill-mode:both|forwards|backwards",animic:"animation-iteration-count:1|infinite",animn:"animation-name",animps:"animation-play-state:running|paused",animtf:"animation-timing-function:linear|ease|ease-in|ease-out|ease-in-out|cubic-bezier(${1:0.1}, ${2:0.7}, ${3:1.0}, ${3:0.1})",ap:"appearance:none",as:"align-self:start|end|auto|flex-start|flex-end|center|baseline|stretch",b:"bottom",bd:"border:${1:1px} ${2:solid} ${3:#000}",bdb:"border-bottom:${1:1px} ${2:solid} ${3:#000}",bdbc:"border-bottom-color:${1:#000}",bdbi:"border-bottom-image:url(${0})",bdbk:"border-break:close",bdbli:"border-bottom-left-image:url(${0})|continue",bdblrs:"border-bottom-left-radius",bdbri:"border-bottom-right-image:url(${0})|continue",bdbrrs:"border-bottom-right-radius",bdbs:"border-bottom-style",bdbw:"border-bottom-width",bdc:"border-color:${1:#000}",bdci:"border-corner-image:url(${0})|continue",bdcl:"border-collapse:collapse|separate",bdf:"border-fit:repeat|clip|scale|stretch|overwrite|overflow|space",bdi:"border-image:url(${0})",bdl:"border-left:${1:1px} ${2:solid} ${3:#000}",bdlc:"border-left-color:${1:#000}",bdlen:"border-length",bdli:"border-left-image:url(${0})",bdls:"border-left-style",bdlw:"border-left-width",bdr:"border-right:${1:1px} ${2:solid} ${3:#000}",bdrc:"border-right-color:${1:#000}",bdri:"border-right-image:url(${0})",bdrs:"border-radius",bdrst:"border-right-style",bdrw:"border-right-width",bds:"border-style:none|hidden|dotted|dashed|solid|double|dot-dash|dot-dot-dash|wave|groove|ridge|inset|outset",bdsp:"border-spacing",bdt:"border-top:${1:1px} ${2:solid} ${3:#000}",bdtc:"border-top-color:${1:#000}",bdti:"border-top-image:url(${0})",bdtli:"border-top-left-image:url(${0})|continue",bdtlrs:"border-top-left-radius",bdtri:"border-top-right-image:url(${0})|continue",bdtrrs:"border-top-right-radius",bdts:"border-top-style",bdtw:"border-top-width",bdw:"border-width",bbs:"border-block-start",bbe:"border-block-end",bis:"border-inline-start",bie:"border-inline-end",bfv:"backface-visibility:hidden|visible",bg:"background:${1:#000}","bg:n":"background: none",bga:"background-attachment:fixed|scroll",bgbk:"background-break:bounding-box|each-box|continuous",bgc:"background-color:${1:#fff}",bgcp:"background-clip:padding-box|border-box|content-box|no-clip",bgi:"background-image:url(${0})",bgo:"background-origin:padding-box|border-box|content-box",bgp:"background-position:${1:0} ${2:0}",bgpx:"background-position-x",bgpy:"background-position-y",bgr:"background-repeat:no-repeat|repeat-x|repeat-y|space|round",bgsz:"background-size:contain|cover",bs:"block-size",bxsh:"box-shadow:${1:inset }${2:hoff} ${3:voff} ${4:blur} ${5:#000}|none",bxsz:"box-sizing:border-box|content-box|border-box",c:"color:${1:#000}",cg:"column-gap",cr:"color:rgb(${1:0}, ${2:0}, ${3:0})",cra:"color:rgba(${1:0}, ${2:0}, ${3:0}, ${4:.5})",cl:"clear:both|left|right|none",cm:"/* ${0} */",cnt:"content:'${0}'|normal|open-quote|no-open-quote|close-quote|no-close-quote|attr(${0})|counter(${0})|counters(${0})",coi:"counter-increment",colm:"columns",colmc:"column-count",colmf:"column-fill",colmg:"column-gap",colmr:"column-rule",colmrc:"column-rule-color",colmrs:"column-rule-style",colmrw:"column-rule-width",colms:"column-span",colmw:"column-width",cor:"counter-reset",cp:"clip:auto|rect(${1:top} ${2:right} ${3:bottom} ${4:left})",cps:"caption-side:top|bottom",cur:"cursor:pointer|auto|default|crosshair|hand|help|move|pointer|text",d:"display:block|none|flex|inline-flex|inline|inline-block|grid|inline-grid|subgrid|list-item|run-in|contents|table|inline-table|table-caption|table-column|table-column-group|table-header-group|table-footer-group|table-row|table-row-group|table-cell|ruby|ruby-base|ruby-base-group|ruby-text|ruby-text-group",ec:"empty-cells:show|hide",f:"font:${1:1em} ${2:sans-serif}",fd:"font-display:auto|block|swap|fallback|optional",fef:"font-effect:none|engrave|emboss|outline",fem:"font-emphasize",femp:"font-emphasize-position:before|after",fems:"font-emphasize-style:none|accent|dot|circle|disc",ff:"font-family:serif|sans-serif|cursive|fantasy|monospace",fft:'font-family:"Times New Roman", Times, Baskerville, Georgia, serif',ffa:'font-family:Arial, "Helvetica Neue", Helvetica, sans-serif',ffv:"font-family:Verdana, Geneva, sans-serif",fl:"float:left|right|none",fs:"font-style:italic|normal|oblique",fsm:"font-smoothing:antialiased|subpixel-antialiased|none",fst:"font-stretch:normal|ultra-condensed|extra-condensed|condensed|semi-condensed|semi-expanded|expanded|extra-expanded|ultra-expanded",fv:"font-variant:normal|small-caps",fvs:"font-variation-settings:normal|inherit|initial|unset",fw:"font-weight:normal|bold|bolder|lighter",fx:"flex",fxb:"flex-basis:fill|max-content|min-content|fit-content|content",fxd:"flex-direction:row|row-reverse|column|column-reverse",fxf:"flex-flow",fxg:"flex-grow",fxsh:"flex-shrink",fxw:"flex-wrap:nowrap|wrap|wrap-reverse",fsz:"font-size",fsza:"font-size-adjust",g:"gap",gtc:"grid-template-columns:repeat(${0})|minmax()",gtr:"grid-template-rows:repeat(${0})|minmax()",gta:"grid-template-areas",gt:"grid-template",gg:"grid-gap",gcg:"grid-column-gap",grg:"grid-row-gap",gac:"grid-auto-columns:auto|minmax()",gar:"grid-auto-rows:auto|minmax()",gaf:"grid-auto-flow:row|column|dense|inherit|initial|unset",gd:"grid",gc:"grid-column",gcs:"grid-column-start",gce:"grid-column-end",gr:"grid-row",grs:"grid-row-start",gre:"grid-row-end",ga:"grid-area",h:"height",is:"inline-size",jc:"justify-content:start|end|stretch|flex-start|flex-end|center|space-between|space-around|space-evenly",ji:"justify-items:start|end|center|stretch",js:"justify-self:start|end|center|stretch",l:"left",lg:"background-image:linear-gradient(${1})",lh:"line-height",lis:"list-style",lisi:"list-style-image",lisp:"list-style-position:inside|outside",list:"list-style-type:disc|circle|square|decimal|decimal-leading-zero|lower-roman|upper-roman",lts:"letter-spacing:normal",m:"margin",mah:"max-height",mar:"max-resolution",maw:"max-width",mb:"margin-bottom",mih:"min-height",mir:"min-resolution",miw:"min-width",ml:"margin-left",mr:"margin-right",mt:"margin-top",mbs:"margin-block-start",mbe:"margin-block-end",mis:"margin-inline-start",mie:"margin-inline-end",ol:"outline",olc:"outline-color:${1:#000}|invert",olo:"outline-offset",ols:"outline-style:none|dotted|dashed|solid|double|groove|ridge|inset|outset",olw:"outline-width:thin|medium|thick","op|opa":"opacity",ord:"order",ori:"orientation:landscape|portrait",orp:"orphans",ov:"overflow:hidden|visible|hidden|scroll|auto",ovs:"overflow-style:scrollbar|auto|scrollbar|panner|move|marquee",ovx:"overflow-x:hidden|visible|hidden|scroll|auto",ovy:"overflow-y:hidden|visible|hidden|scroll|auto",p:"padding",pb:"padding-bottom",pgba:"page-break-after:auto|always|left|right",pgbb:"page-break-before:auto|always|left|right",pgbi:"page-break-inside:auto|avoid",pl:"padding-left",pos:"position:relative|absolute|relative|fixed|static",pr:"padding-right",pt:"padding-top",pbs:"padding-block-start",pbe:"padding-block-end",pis:"padding-inline-start",pie:"padding-inline-end",spbs:"scroll-padding-block-start",spbe:"scroll-padding-block-end",spis:"scroll-padding-inline-start",spie:"scroll-padding-inline-end",q:"quotes",qen:"quotes:'\\201C' '\\201D' '\\2018' '\\2019'",qru:"quotes:'\\00AB' '\\00BB' '\\201E' '\\201C'",r:"right",rg:"row-gap",rsz:"resize:none|both|horizontal|vertical",t:"top",ta:"text-align:left|center|right|justify",tal:"text-align-last:left|center|right",tbl:"table-layout:fixed",td:"text-decoration:none|underline|overline|line-through",te:"text-emphasis:none|accent|dot|circle|disc|before|after",th:"text-height:auto|font-size|text-size|max-size",ti:"text-indent",tj:"text-justify:auto|inter-word|inter-ideograph|inter-cluster|distribute|kashida|tibetan",to:"text-outline:${1:0} ${2:0} ${3:#000}",tov:"text-overflow:ellipsis|clip",tr:"text-replace",trf:"transform:${1}|skewX(${1:angle})|skewY(${1:angle})|scale(${1:x}, ${2:y})|scaleX(${1:x})|scaleY(${1:y})|scaleZ(${1:z})|scale3d(${1:x}, ${2:y}, ${3:z})|rotate(${1:angle})|rotateX(${1:angle})|rotateY(${1:angle})|rotateZ(${1:angle})|translate(${1:x}, ${2:y})|translateX(${1:x})|translateY(${1:y})|translateZ(${1:z})|translate3d(${1:tx}, ${2:ty}, ${3:tz})",trfo:"transform-origin",trfs:"transform-style:preserve-3d",trs:"transition:${1:prop} ${2:time}",trsde:"transition-delay:${1:time}",trsdu:"transition-duration:${1:time}",trsp:"transition-property:${1:prop}",trstf:"transition-timing-function:${1:fn}",tsh:"text-shadow:${1:hoff} ${2:voff} ${3:blur} ${4:#000}",tt:"text-transform:uppercase|lowercase|capitalize|none",tw:"text-wrap:none|normal|unrestricted|suppress",us:"user-select:none",v:"visibility:hidden|visible|collapse",va:"vertical-align:top|super|text-top|middle|baseline|bottom|text-bottom|sub","w|wid":"width",whs:"white-space:nowrap|pre|pre-wrap|pre-line|normal",whsc:"white-space-collapse:normal|keep-all|loose|break-strict|break-all",wido:"widows",wm:"writing-mode:lr-tb|lr-tb|lr-bt|rl-tb|rl-bt|tb-rl|tb-lr|bt-lr|bt-rl",wob:"word-break:normal|keep-all|break-all",wos:"word-spacing",wow:"word-wrap:none|unrestricted|suppress|break-word|normal",z:"z-index",zom:"zoom:1"},fb={"tm|tmatch":"xsl:template[match mode]","tn|tname":"xsl:template[name]",call:"xsl:call-template[name]",ap:"xsl:apply-templates[select mode]",api:"xsl:apply-imports",imp:"xsl:import[href]",inc:"xsl:include[href]",ch:"xsl:choose","wh|xsl:when":"xsl:when[test]",ot:"xsl:otherwise",if:"xsl:if[test]",par:"xsl:param[name]",pare:"xsl:param[name select]",var:"xsl:variable[name]",vare:"xsl:variable[name select]",wp:"xsl:with-param[name select]",key:"xsl:key[name match use]",elem:"xsl:element[name]",attr:"xsl:attribute[name]",attrs:"xsl:attribute-set[name]",cp:"xsl:copy[select]",co:"xsl:copy-of[select]",val:"xsl:value-of[select]","for|each":"xsl:for-each[select]",tex:"xsl:text",com:"xsl:comment",msg:"xsl:message[terminate=no]",fall:"xsl:fallback",num:"xsl:number[value]",nam:"namespace-alias[stylesheet-prefix result-prefix]",pres:"xsl:preserve-space[elements]",strip:"xsl:strip-space[elements]",proc:"xsl:processing-instruction[name]",sort:"xsl:sort[select order]",choose:"xsl:choose>xsl:when+xsl:otherwise",xsl:`!!!+xsl:stylesheet[version=1.0 xmlns:xsl=http://www.w3.org/1999/XSL/Transform]>{ |}`,"!!!":'{}'},db={"!!!":"{doctype html}"},pb={lang:"en",locale:"en-US",charset:"UTF-8",indentation:" ",newline:` `},hb={markup:"html",stylesheet:"css"},mb={inlineElements:["a","abbr","acronym","applet","b","basefont","bdo","big","br","button","cite","code","del","dfn","em","font","i","iframe","img","input","ins","kbd","label","map","object","q","s","samp","select","small","span","strike","strong","sub","sup","textarea","tt","u","var"],"output.indent":" ","output.baseIndent":"","output.newline":` `,"output.tagCase":"","output.attributeCase":"","output.attributeQuotes":"double","output.format":!0,"output.formatLeafNode":!1,"output.formatSkip":["html"],"output.formatForce":["body"],"output.inlineBreak":3,"output.compactBoolean":!1,"output.booleanAttributes":["contenteditable","seamless","async","autofocus","autoplay","checked","controls","defer","disabled","formnovalidate","hidden","ismap","loop","multiple","muted","novalidate","readonly","required","reversed","selected","typemustmatch"],"output.reverseAttributes":!1,"output.selfClosingStyle":"html","output.field":(e,t)=>t,"output.text":e=>e,"markup.href":!0,"comment.enabled":!1,"comment.trigger":["id","class"],"comment.before":"","comment.after":` `,"bem.enabled":!1,"bem.element":"__","bem.modifier":"_","jsx.enabled":!1,"stylesheet.keywords":["auto","inherit","unset","none"],"stylesheet.unitless":["z-index","line-height","opacity","font-weight","zoom","flex","flex-grow","flex-shrink"],"stylesheet.shortHex":!0,"stylesheet.between":": ","stylesheet.after":";","stylesheet.intUnit":"px","stylesheet.floatUnit":"em","stylesheet.unitAliases":{e:"em",p:"%",x:"ex",r:"rem"},"stylesheet.json":!1,"stylesheet.jsonDoubleQuotes":!1,"stylesheet.fuzzySearchMinScore":0,"stylesheet.strictMatch":!1},Tu={type:"markup",syntax:"html",variables:pb,snippets:{},options:mb},kl={markup:{snippets:wn(ub)},xhtml:{options:{"output.selfClosingStyle":"xhtml"}},xml:{options:{"output.selfClosingStyle":"xml"}},xsl:{snippets:wn(fb),options:{"output.selfClosingStyle":"xml"}},jsx:{options:{"jsx.enabled":!0,"markup.attributes":{class:"className","class*":"styleName",for:"htmlFor"},"markup.valuePrefix":{"class*":"styles"}}},vue:{options:{"markup.attributes":{"class*":":class"}}},svelte:{options:{"jsx.enabled":!0}},pug:{snippets:wn(db)},stylesheet:{snippets:wn(cb)},sass:{options:{"stylesheet.after":""}},stylus:{options:{"stylesheet.between":" ","stylesheet.after":""}}};(function(e){e[e.SingleQuote=39]="SingleQuote",e[e.DoubleQuote=34]="DoubleQuote",e[e.Escape=92]="Escape"})(Dt||(Dt={}));(function(e){e[e.SquareL=91]="SquareL",e[e.SquareR=93]="SquareR",e[e.RoundL=40]="RoundL",e[e.RoundR=41]="RoundR",e[e.CurlyL=123]="CurlyL",e[e.CurlyR=125]="CurlyR"})(B||(B={}));Cu={[B.SquareL]:B.SquareR,[B.RoundL]:B.RoundR,[B.CurlyL]:B.CurlyR};(function(e){e[e.Tab=9]="Tab",e[e.Space=32]="Space",e[e.Dash=45]="Dash",e[e.Slash=47]="Slash",e[e.Colon=58]="Colon",e[e.Equals=61]="Equals",e[e.AngleLeft=60]="AngleLeft",e[e.AngleRight=62]="AngleRight"})(ue||(ue={}));Iu=e=>e.charCodeAt(0),Ab="#.*:$-_!@%^+>/".split("").map(Iu),Cb={type:"markup",lookAhead:!0,prefix:""}});function $u(e){let t={};return Object.keys(e).forEach(n=>{for(let r of n.split("|"))t[r]=e[n]}),t}var Mt,Ru=J(()=>{Mt={markup:["html","xml","xsl","jsx","js","pug","slim","haml","vue"],stylesheet:["css","sass","scss","less","sss","stylus"]}});var Vu={};_r(Vu,{FileType:()=>_t,doComplete:()=>Ub,emmetSnippetField:()=>no,expandAbbreviation:()=>Gb,extractAbbreviation:()=>Uu,extractAbbreviationFromText:()=>qb,getDefaultSnippets:()=>zu,getDefaultSyntax:()=>io,getEmmetMode:()=>qu,getExpandOptions:()=>Mu,getSyntaxType:()=>ro,isAbbreviationValid:()=>Bu,isStyleSheet:()=>xe,parseAbbreviation:()=>Hb,updateExtensionsPath:()=>Xb});function Ub(e,t,n,r){var i,o;if(r.showExpandedAbbreviation==="never"||!qu(n,r.excludeLanguages))return;let s=xe(n);if(!s){if(!Dn.has(n)){let g=Object.assign(Object.assign({},zu(n)),Ve[n]);Dn.set(n,Object.keys(g))}eo=(i=Dn.get(n))!==null&&i!==void 0?i:[]}let l=Uu(e,t,{lookAhead:!s,type:s?"stylesheet":"markup"});if(!l)return;let{abbreviationRange:u,abbreviation:c,filter:f}=l,h=Fu(e,t).substr(0,t.character);if(Bb(h)===c&&h.endsWith(`<${c}`)&&Mt.markup.includes(n))return;let v=Mu(n,r,f),b="",w,x=[],T=(g,S)=>{if(Bu(g,c)){try{b=Bt(S,v),s&&"!important".startsWith(S)&&(b="!important")}catch{}!b||Vb(g,S,b,v.options)||(w=$t.create(S),w.textEdit=ke.replace(u,Un(Bn(b))),w.documentation=to(b),w.insertTextFormat=Ot.Snippet,w.detail=ft.t("Emmet Abbreviation"),w.label=c,w.label+=f?"|"+f.replace(",","|"):"",x=[w])}};if(xe(n)){if(T(n,c),c.length>4&&Ya.properties.find(g=>g.startsWith(c)))return Rt.create([],!0);if(w&&b.length){w.textEdit=ke.replace(u,Un(Bn(b))),w.documentation=to(b),w.label=Mb(b),w.filterText=c;let g=ct.has(n)?ct.get(n):ct.get("css");if(x=Zi(g??[],c,c,u,v,"Emmet Custom Snippet",!1),!x.find(S=>{var k,y,C;return((k=S.textEdit)===null||k===void 0?void 0:k.newText)&&((y=S.textEdit)===null||y===void 0?void 0:y.newText)===((C=w?.textEdit)===null||C===void 0?void 0:C.newText)})){let S=new RegExp(".*"+c.split("").map(k=>k==="$"||k==="+"?"\\"+k:k).join(".*")+".*","i");(/\d/.test(c)||S.test(w.label))&&x.push(w)}}}else{T(n,c);let g=c,S=c.match(/(>|\+)([\w:-]+)$/);if(S&&S.length===3&&(g=S[2]),n!=="xml"){let k=Zi(qt,g,c,u,v,"Emmet Abbreviation");x=x.concat(k)}if(r.showAbbreviationSuggestions===!0){let k=Zi(eo.filter(y=>!qt.includes(y)),g,c,u,v,"Emmet Abbreviation");w&&k.length>0&&g!==c&&(w.sortText="0"+w.label,k.forEach(y=>{y.filterText=c,y.sortText="9"+c})),x=x.concat(k)}n==="html"&&x.length>=2&&c.includes(":")&&((o=w?.textEdit)===null||o===void 0?void 0:o.newText)===`<${c}>\${0}`&&(x=x.filter(k=>k.label!==c))}return r.showSuggestionsAsSnippets===!0&&x.forEach(g=>g.kind=vn.Snippet),x.length?Rt.create(x,!0):void 0}function Zi(e,t,n,r,i,o,s=!0){if(!t||!e)return[];let a=[];return e.forEach(l=>{if(!l.startsWith(t.toLowerCase())||s&&l===t.toLowerCase())return;let u=n+l.substr(t.length),c;try{c=Bt(u,i)}catch{}if(!c)return;let f=$t.create(t+l.substr(t.length));f.documentation=to(c),f.detail=o,f.textEdit=ke.replace(r,Un(Bn(c))),f.insertTextFormat=Ot.Snippet,a.push(f)}),a}function Bb(e){if(e){let t=e.match(/[\w,:,-,\.]*$/);if(t)return t[0]}}function to(e){return e.replace(/([^\\])\$\{\d+\}/g,"$1|").replace(/\$\{\d+:([^\}]+)\}/g,"$1")}function Mb(e){return e.replace(/([^\\])\$\{\d+\}/g,"$1").replace(/\$\{\d+:([^\}]+)\}/g,"$1")}function Un(e){return e&&e.replace(/([^\\])(\$)([^\{])/g,"$1\\$2$3")}function Bn(e){if(!e||!e.trim())return e;let t=-1,n=[],r=!1,i=!1,o=0,s=e.length;try{for(;o=s||e[o]!="}"&&e[o]!=":")continue;let u=e.substring(a,l);if(r=u==="0",r)break;let c=!1;if(e[o++]==":")for(;oNumber(t)?(t=Number(u),n=[{numberStart:a,numberEnd:l}],i=!c):Number(u)===t&&n.push({numberStart:a,numberEnd:l})}}catch{}if(i&&!r)for(let a=0;a=0;s--)if(r[s]===` `){i=s+1;break}for(let s=n;s\+\*\^]|$)/.test(t)&&!/\(.*\)[>\+\*\^]/.test(t)&&!/\[[^\[\]\(\)]+=".*"\]/.test(t)&&!/[>\+\*\^]\(.*\)/.test(t)?!1:e==="jsx"?Fb.test(t)&&_u.test(t):/^{%|{#|{{/.test(t)?!1:jb.test(t)&&_u.test(t)}function Vb(e,t,n,r){var i,o;if(xe(e)&&r){let a=(i=r["stylesheet.between"])!==null&&i!==void 0?i:": ",l=(o=r["stylesheet.after"])!==null&&o!==void 0?o:";",u=t.indexOf(a[0],Math.max(t.length-a.length,0));u=u>=0?u:t.length;let c=t.substring(0,u);return n===`${c}${a}\${0}${l}`||n.replace(/\s/g,"")===t.replace(/\s/g,"")+l}if(e==="xml"&&qt.some(a=>a.startsWith(t.toLowerCase())))return!0;if(qt.includes(t.toLowerCase())||eo.includes(t)||/[-,:]/.test(t)&&!/--|::/.test(t)&&!t.endsWith(":"))return!1;if(/^\.{2,}$/.test(t))return!0;if(t===".")return!1;let s=t.match(/^([a-z,A-Z,\d]*)\.$/);return s?!(s[1]&&xi.tags.includes(s[1])):e==="jsx"&&/^([A-Z][A-Za-z0-9]*)+$/.test(t)?!1:n.toLowerCase()===`<${t.toLowerCase()}>\${1}`}function Mu(e,t,n){var r,i,o,s,a,l,u,c,f,h;t=t??{},t.preferences=(r=t.preferences)!==null&&r!==void 0?r:{};let d=t.preferences,v=xe(e)?e:"css",b=Qb(e,(i=t.syntaxProfiles)!==null&&i!==void 0?i:{}),x=(b&&b.filters?b.filters.split(","):[]).map(A=>A.trim()),T=n&&n.split(",").some(A=>A.trim()==="bem")||x.includes("bem"),g=n&&n.split(",").some(A=>A.trim()==="c")||x.includes("c"),S=Jb(e,t.preferences),k=S?.stylesheet&&S.stylesheet.unitAliases||{},y={"output.formatSkip":["html"],"output.formatForce":["body"],"output.inlineBreak":0,"output.compactBoolean":!1,"output.reverseAttributes":!1,"output.field":no,"markup.href":!0,"comment.enabled":!1,"comment.trigger":["id","class"],"comment.before":"","comment.after":` `,"bem.enabled":!1,"bem.element":"__","bem.modifier":"_","jsx.enabled":e==="jsx","stylesheet.shortHex":!0,"stylesheet.between":e==="stylus"?" ":": ","stylesheet.after":e==="sass"||e==="stylus"?"":";","stylesheet.intUnit":"px","stylesheet.floatUnit":"em","stylesheet.unitAliases":{e:"em",p:"%",x:"ex",r:"rem"},"stylesheet.fuzzySearchMinScore":.3},C={"output.tagCase":b.tagCase,"output.attributeCase":b.attributeCase,"output.attributeQuotes":b.attributeQuotes,"output.format":(o=b.format)!==null&&o!==void 0?o:!0,"output.formatSkip":d["format.noIndentTags"],"output.formatForce":d["format.forceIndentationForTags"],"output.inlineBreak":(s=b.inlineBreak)!==null&&s!==void 0?s:d["output.inlineBreak"],"output.compactBoolean":(a=b.compactBooleanAttributes)!==null&&a!==void 0?a:d["profile.allowCompactBoolean"],"output.reverseAttributes":d["output.reverseAttributes"],"output.selfClosingStyle":(u=(l=b.selfClosingStyle)!==null&&l!==void 0?l:d["output.selfClosingStyle"])!==null&&u!==void 0?u:Wb(e),"output.field":no,"comment.enabled":g,"comment.trigger":d["filter.commentTrigger"],"comment.before":d["filter.commentBefore"],"comment.after":d["filter.commentAfter"],"bem.enabled":T,"bem.element":(c=d["bem.elementSeparator"])!==null&&c!==void 0?c:"__","bem.modifier":(f=d["bem.modifierSeparator"])!==null&&f!==void 0?f:"_","jsx.enabled":e==="jsx","stylesheet.shortHex":d["css.color.short"],"stylesheet.between":d[`${v}.valueSeparator`],"stylesheet.after":d[`${v}.propertyEnd`],"stylesheet.intUnit":d["css.intUnit"],"stylesheet.floatUnit":d["css.floatUnit"],"stylesheet.unitAliases":k,"stylesheet.fuzzySearchMinScore":d["css.fuzzySearchMinScore"]};if(e==="jsx"){let A={class:"className","class*":"styleName",for:"htmlFor"},R={"class*":"styles"};b["markup.attributes"]&&(C["markup.attributes"]=Object.assign(Object.assign({},A),b["markup.attributes"])),b["markup.valuePrefix"]&&(C["markup.valuePrefix"]=Object.assign(Object.assign({},R),b["markup.valuePrefix"]))}if(e==="vue"){let A={"class*":":class"},R={"class*":"$style"};b["markup.attributes"]&&(C["markup.attributes"]=Object.assign(Object.assign({},A),b["markup.attributes"])),b["markup.valuePrefix"]&&(C["markup.valuePrefix"]=Object.assign(Object.assign({},R),b["markup.valuePrefix"]))}let P={};[...Object.keys(y),...Object.keys(C)].forEach(A=>{var R;let O=A;P[O]=(R=C[O])!==null&&R!==void 0?R:y[O]});let I=Object.assign(Object.assign({},y["stylesheet.unitAliases"]),C["stylesheet.unitAliases"]);P["stylesheet.unitAliases"]=I;let $=ro(e),E=Yb(t.variables),m=io(e),N=$==="stylesheet"?(h=Ve[e])!==null&&h!==void 0?h:Ve[m]:Ve[e];return{type:$,options:P,variables:E,snippets:N,syntax:e,text:void 0,maxRepeat:1e3}}function Wb(e){switch(e){case"xhtml":return"xhtml";case"xml":return"xml";case"xsl":return"xml";case"jsx":return"xhtml";default:return"html"}}function Hb(e,t){let n=Ut(t);return t.type==="stylesheet"?Qi(e,n):Wi(e,n)}function Gb(e,t){let n,r=Ut(t);return t.type==="stylesheet"?typeof e=="string"?n=Bt(e,r):n=Gi(e,r):typeof e=="string"?n=Bt(e,r):n=Hi(e,r),Un(Bn(n))}function Qb(e,t){t||(t={});let r=Object.assign({},Mn,t)[e];if(!r||typeof r=="string")return r==="xhtml"?{selfClosingStyle:"xhtml"}:{};let i={};for(let o in r)switch(o){case"tag_case":i.tagCase=r[o]==="lower"||r[o]==="upper"?r[o]:"";break;case"attr_case":i.attributeCase=r[o]==="lower"||r[o]==="upper"?r[o]:"";break;case"attr_quotes":i.attributeQuotes=r[o];break;case"tag_nl":i.format=r[o]===!0||r[o]===!1?r[o]:!0;break;case"inline_break":i.inlineBreak=r[o];break;case"self_closing_tag":if(r[o]===!0){i.selfClosingStyle="xml";break}if(r[o]===!1){i.selfClosingStyle="html";break}i.selfClosingStyle=r[o];break;case"compact_bool":i.compactBooleanAttributes=r[o];break;default:i[o]=r[o];break}return i}function Yb(e){return e?Object.assign({},Vt,e):Vt}function Jb(e,t){if(!t||typeof t!="object")return{};if(!xe(e)){let i={};for(let o in t)switch(o){case"filter.commentAfter":i.after=t[o];break;case"filter.commentBefore":i.before=t[o];break;case"filter.commentTrigger":i.trigger=t[o];break;default:break}return{comment:i}}let n=typeof t?.["css.fuzzySearchMinScore"]=="number"?t["css.fuzzySearchMinScore"]:.3;n>1?n=1:n<0&&(n=0);let r={fuzzySearchMinScore:n};for(let i in t)switch(i){case"css.floatUnit":r.floatUnit=t[i];break;case"css.intUnit":r.intUnit=t[i];break;case"css.unitAliases":let o={};t[i].split(",").forEach(s=>{if(!s||!s.trim()||!s.includes(":"))return;let a=s.substr(0,s.indexOf(":")),l=s.substr(a.length+1);!a.trim()||!l||(o[a.trim()]=l)}),r.unitAliases=o;break;case`${e}.valueSeparator`:r.between=t[i];break;case`${e}.propertyEnd`:r.after=t[i];break;default:break}return{stylesheet:r}}function Xb(e,t,n,r){return Lb(this,void 0,void 0,function*(){if(Ki(),!e.length)return;let i=[];for(let o of e){if(typeof o!="string"){console.warn("The following emmetExtensionsPath isn't a string: "+JSON.stringify(o));continue}if(o=o.trim(),o.length&&o[0]==="~")r&&i.push(Lt(r,o.substring(1)));else if(Xa(o))i.push(Ga.file(o));else if(n)for(let s of n)i.push(Lt(s,o))}for(let o of i){try{if((yield t.stat(o)).type!==_t.Directory)continue}catch{continue}let s=Lt(o,"snippets.json"),a=Lt(o,"syntaxProfiles.json"),l;typeof globalThis.TextDecoder=="function"?l=new globalThis.TextDecoder:l=new ju.TextDecoder;let u="";try{let f=yield t.readFile(s);u=l.decode(f)}catch{}if(u.length)try{let f=Lu(s,u);f.variables&&Zb(f.variables),ev(f)}catch(f){throw Ki(),f}let c="";try{let f=yield t.readFile(a);c=l.decode(f)}catch{}if(c.length)try{let f=Lu(a,c);Kb(f)}catch(f){throw Ki(),f}}})}function Lu(e,t){let n=[],r=Ws(t,n);if(n.length)throw new Error(`Found error ${Hs(n[0].error)} while parsing the file ${e} at offset ${n[0].offset}`);return r}function Zb(e){if(typeof e=="object"&&e)Vt=Object.assign({},Vt,e);else throw new Error(ft.t("Invalid emmet.variables field. See https://code.visualstudio.com/docs/editor/emmet#_emmet-configuration for a valid example."))}function Kb(e){if(typeof e=="object"&&e)Mn=Object.assign({},Mn,e);else throw new Error(ft.t("Invalid syntax profile. See https://code.visualstudio.com/docs/editor/emmet#_emmet-configuration for a valid example."))}function ev(e){if(typeof e=="object"&&e)Object.keys(e).forEach(t=>{if(!e[t].snippets)return;let n=io(t),r=e[t].snippets;if(e[n]&&e[n].snippets&&n!==t&&(r=Object.assign({},e[n].snippets,e[t].snippets)),xe(t)){let a=ct.get(t),l=Object.assign([],a,Object.keys(r));ct.set(t,l)}else for(let a in r)r.hasOwnProperty(a)&&r[a].startsWith("<")&&r[a].endsWith(">")&&(r[a]=`{${r[a]}}`);let i=Ve[t],o=$u(r),s=Object.assign({},i,o);Ve[t]=s});else throw new Error(ft.t("Invalid snippets file. See https://code.visualstudio.com/docs/editor/emmet#_using-custom-emmet-snippets for a valid example."))}function Ki(){Ve={},Dn.clear(),ct.clear(),Mn={},Vt={}}function qu(e,t=[]){if(!(!e||t.includes(e))){if(/\b(typescriptreact|javascriptreact|jsx-tags)\b/.test(e))return"jsx";if(e==="sass-indented")return"sass";if(e==="jade")return"pug";if(Mt.markup.includes(e)||Mt.stylesheet.includes(e))return e}}var ju,Lb,ft,Dn,eo,ct,jb,Fb,zb,_u,qt,jn,Xi,Fn,zn,Db,Ve,Vt,Mn,no,Wu=J(()=>{Gs();ju=require("util");Wa();Qa();Ja();Za();Ou();Ru();Lb=function(e,t,n,r){function i(o){return o instanceof n?o:new n(function(s){s(o)})}return new(n||(n=Promise))(function(o,s){function a(c){try{u(r.next(c))}catch(f){s(f)}}function l(c){try{u(r.throw(c))}catch(f){s(f)}}function u(c){c.done?o(c.value):i(c.value).then(a,l)}u((r=r.apply(e,t||[])).next())})};try{ft=require("vscode").l10n}catch{ft={t:t=>t}}Dn=new Map,ct=new Map,jb=/^[a-z,A-Z,!,(,[,#,\.\{]/,Fb=/^[a-z,A-Z,!,(,[,#,\.]/,zb=/^-?[a-z,A-Z,!,@,#]/,_u=/[a-z,A-Z\.]/,qt=[...xi.tags,"lorem"],jn="bem",Xi="|",Fn="t",zn="c",Db=3;Ve={},Vt={},Mn={},no=(e,t)=>`\${${e}${t?":"+t:""}}`});function Ju(e){Yu=e}function We(){return oo||(oo=(Wu(),Go(Vu))),oo}function Vn(e=!1){let t=We(),n=W.workspace.getConfiguration("emmet").get("extensionsPath");if(n||(n=[]),e||Hu!==n){Hu=n;let r=W.workspace.workspaceFolders?.length?W.workspace.workspaceFolders.map(o=>o.uri):void 0,i=W.workspace.fs;t.updateExtensionsPath(n,i,r,Yu).catch(o=>{Array.isArray(n)&&n.length&&W.window.showErrorMessage(o.message)})}}function Xu(){let e=W.workspace.getConfiguration().inspect("emmet.extensionsPath");typeof e?.globalValue=="string"?W.workspace.getConfiguration().update("emmet.extensionsPath",[e.globalValue],!0):e?.globalValue===null&&W.workspace.getConfiguration().update("emmet.extensionsPath",[],!0),typeof e?.workspaceValue=="string"?W.workspace.getConfiguration().update("emmet.extensionsPath",[e.workspaceValue],!1):e?.workspaceValue===null&&W.workspace.getConfiguration().update("emmet.extensionsPath",[],!1),typeof e?.workspaceFolderValue=="string"?W.workspace.getConfiguration().update("emmet.extensionsPath",[e.workspaceFolderValue]):e?.workspaceFolderValue===null&&W.workspace.getConfiguration().update("emmet.extensionsPath",[])}function te(e){return["css","scss","sass","less","stylus"].includes(e)}function K(e=!0){let t=W.window.activeTextEditor;return t?!(!e&&te(t.document.languageId)):(W.window.showInformationMessage("No editor is active"),!1)}function pt(){let e={handlebars:"html",php:"html"},t={},n=W.workspace.getConfiguration("emmet").get("includeLanguages"),r=Object.assign({},e,n??{});return Object.keys(r).forEach(i=>{typeof r[i]=="string"&&Wt[r[i]]&&(t[i]=r[i])}),t}function Te(e,t,n){if(!e||n.includes(e))return;e==="jsx-tags"&&(e="javascriptreact"),t[e]&&(e=t[e]),/\b(typescriptreact|javascriptreact|jsx-tags)\b/.test(e)?e="jsx":e==="sass-indented"?e="sass":(e==="jade"||e==="pug")&&(e="pug");let r=Yn();if(r.markup.includes(e)||r.stylesheet.includes(e))return e}function Wn(e,t){let n=e.languageId==="css",r=e.offsetAt(t),i=0,o=e.getText().length,s=r-5e3,a=s>0?s:i,l=new ln(e,r);function u(T){let S=e.getText().substring(0,T).lastIndexOf("/*");if(S!==-1)return S}function c(T){let S=e.getText().substring(T).indexOf("*/");if(S!==-1)return S+=2+T,S}function f(){let T=e.positionAt(l.pos).line;if(!n&&b!==T){b=T;let g=e.lineAt(b).text.indexOf("//");g>-1&&(l.pos=e.offsetAt(new W.Position(b,g)))}}function h(){!l.sof()&&l.peek()===dt&&(l.backUp(1)===Qu?l.pos=u(l.pos)??i:l.next())}function d(){if(l.eat(dt))if(l.eat(dt)&&!n){let T=e.positionAt(l.pos).line;l.pos=e.offsetAt(new W.Position(T+1,0))}else l.eat(Qu)&&(l.pos=c(l.pos)??o)}for(;!l.eof()&&!l.eat(so);)l.peek()===dt?d():l.next();l.eof()||(o=l.pos),l.pos=r;let v=1,b=t.line,w=!1;for(;!w&&v>0&&!l.sof();){switch(f(),l.backUp(1)){case Gu:v--;break;case so:n?(l.next(),i=l.pos,w=!0):v++;break;case dt:h();break;default:break}(t.line-e.positionAt(l.pos).line>100||l.pos<=a)&&(w=!0)}b=e.positionAt(l.pos).line,v=0;let x=!1;for(;!w&&!l.sof()&&!x&&v>=0;){f();let T=l.backUp(1);if(!/\s/.test(String.fromCharCode(T))){switch(T){case dt:h();break;case so:v++;break;case Gu:v--;break;default:v||(x=!0);break}!l.sof()&&x&&(i=l.pos)}}try{let T=" ".repeat(i)+e.getText().substring(i,o);return we(T)}catch{return}}function H(e,t,n){if(!e)return;function r(o){if(!o)return;let s=o.start,a=o.end;if(st||n&&s<=t&&a>=t)return i(o.children)??o;if("close"in o){let l=o;if(l.open&&!l.close)return i(l.children)}}function i(o){for(let s=0;sr.name.toString()==="type"&&Ht.includes(r.value.toString()))&&t.open){let r=" ".repeat(t.open.end),i=t.close?t.close.start:t.end,o=r+e.substring(t.open.end,i);return Et(o).children.forEach(a=>{t.children.push(a),a.parent=t}),o}return""}function nv(e,t){let i=t.start+"{t.children.push(u),u.parent=t}),a}function ao(e,t){let n=e;return!!(n.open&&t>n.open.start&&tn.close.start&&tt.type!=="comment"))return e;for(let t=e.children.length-1;t>=0;t--)if(e.children[t].type!=="comment")return ht(e.children[t])}function Hn(e,t){let n=t===-1,r=!1,i=!1,o,s;for(;t-1;){if(t--,!n){e[t]===" "&&(n=!0);continue}if(!(n&&!i&&e[t]===" ")){if(!i){s=t+1,i=!0;continue}if(e[t]===" "){o=t+1,r=!0;break}}}return i&&!r&&(o=0),[o,s]}function Zu(e,t){if(qn(e,t))return[e];if(!qn(e.parent,t.parent)){if(t.starte.start;)t=t.parent}let n=[],r=e,i=t.end;for(;r&&i>r.start;)n.push(r),r=r.nextSibling;return n}function qn(e,t){return!e&&!t?!0:!e||!t?!1:e.start===t.start&&e.end===t.end}function mt(e){let t=W.workspace.getConfiguration("emmet"),n=Object.assign({},t.syntaxProfiles||{}),r=Object.assign({},t.preferences||{});return(e==="jsx"||e==="xml"||e==="xsl")&&(n[e]=n[e]||{},typeof n[e]=="object"&&!n[e].hasOwnProperty("self_closing_tag")&&!n[e].hasOwnProperty("selfClosingStyle")&&(n[e]={...n[e],selfClosingStyle:e==="jsx"?"xhtml":"xml"})),{preferences:r,showExpandedAbbreviation:t.showExpandedAbbreviation,showAbbreviationSuggestions:t.showAbbreviationSuggestions,syntaxProfiles:n,variables:t.variables,excludeLanguages:t.excludeLanguages,showSuggestionsAsSnippets:t.showSuggestionsAsSnippets}}function lo(e,t){for(let n=0,r=e.size;nn.type==="property"&&n.name===t)}function Ku(e,t){let n=e.document,r=U(n,!0),i=n.offsetAt(t),o=H(r,i,!0);if(te(e.document.languageId))return o&&o.type==="property"?o:null;let s=o;if(s&&s.name==="style"&&s.open&&s.close&&s.open.endi){let a=" ".repeat(s.start)+n.getText().substring(s.start,s.end),l=we(a),u=H(l,i,!0);return u&&u.type==="property"?u:null}return null}function Qn(e,t,n){if(!t)return;let r=t;if(r&&r.open&&r.close){let i=e.offsetAt(n);if(r.open.endo.name.toString()==="style");if(r===-1)return!1;let i=n.attributes[r];return t>=i.value.start&&t<=i.value.end}function Qt(e){return cn.create(e.uri.toString(),e.languageId,e.version,e.getText())}function tc(e){let t=e.split("/").pop();return(t?t.split("\\").pop():"")??""}function Yn(){return{markup:["html","xml","xsl","jsx","js","pug","slim","haml"],stylesheet:["css","sass","scss","less","sss","stylus"]}}var W,oo,Hu,Yu,Wt,so,Gu,dt,Qu,Ht,re=J(()=>{"use strict";W=G(require("vscode"));Br();Nt();Ls();Ds();ce();Wt={html:["!",".","}",":","*","$","]","/",">","0","1","2","3","4","5","6","7","8","9"],jade:["!",".","}",":","*","$","]","/",">","0","1","2","3","4","5","6","7","8","9"],slim:["!",".","}",":","*","$","]","/",">","0","1","2","3","4","5","6","7","8","9"],haml:["!",".","}",":","*","$","]","/",">","0","1","2","3","4","5","6","7","8","9"],xml:[".","}","*","$","]","/",">","0","1","2","3","4","5","6","7","8","9"],xsl:["!",".","}","*","$","/","]",">","0","1","2","3","4","5","6","7","8","9"],css:[":","!","-","0","1","2","3","4","5","6","7","8","9"],scss:[":","!","-","0","1","2","3","4","5","6","7","8","9"],sass:[":","!","0","1","2","3","4","5","6","7","8","9"],less:[":","!","-","0","1","2","3","4","5","6","7","8","9"],stylus:[":","!","0","1","2","3","4","5","6","7","8","9"],javascriptreact:["!",".","}","*","$","]","/",">","0","1","2","3","4","5","6","7","8","9"],typescriptreact:["!",".","}","*","$","]","/",">","0","1","2","3","4","5","6","7","8","9"]};so=125,Gu=123,dt=47,Qu=42;Ht=["text/html","text/plain","text/x-template","text/template","text/ng-template"]});var _c=X((N0,Co)=>{typeof Object.create=="function"?Co.exports=function(t,n){n&&(t.super_=n,t.prototype=Object.create(n.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}))}:Co.exports=function(t,n){if(n){t.super_=n;var r=function(){};r.prototype=n.prototype,t.prototype=new r,t.prototype.constructor=t}}});var Lc=X((I0,Io)=>{try{if(No=require("util"),typeof No.inherits!="function")throw"";Io.exports=No.inherits}catch{Io.exports=_c()}var No});var Fc=X((P0,Oo)=>{var Dv=Lc(),jc=require("events").EventEmitter;Oo.exports=pe;Oo.exports.default=pe;function pe(e){if(!(this instanceof pe))return new pe(e);jc.call(this),e=e||{},this.concurrency=e.concurrency||1/0,this.timeout=e.timeout||0,this.autostart=e.autostart||!1,this.results=e.results||null,this.pending=0,this.session=0,this.running=!1,this.jobs=[],this.timers={}}Dv(pe,jc);var Uv=["pop","shift","indexOf","lastIndexOf"];Uv.forEach(function(e){pe.prototype[e]=function(){return Array.prototype[e].apply(this.jobs,arguments)}});pe.prototype.slice=function(e,t){return this.jobs=this.jobs.slice(e,t),this};pe.prototype.reverse=function(){return this.jobs.reverse(),this};var Bv=["push","unshift","splice"];Bv.forEach(function(e){pe.prototype[e]=function(){var t=Array.prototype[e].apply(this.jobs,arguments);return this.autostart&&this.start(),t}});Object.defineProperty(pe.prototype,"length",{get:function(){return this.pending+this.jobs.length}});pe.prototype.start=function(e){if(e&&qv.call(this,e),this.running=!0,this.pending>=this.concurrency)return;if(this.jobs.length===0){this.pending===0&&Po.call(this);return}var t=this,n=this.jobs.shift(),r=!0,i=this.session,o=null,s=!1,a=null,l=n.hasOwnProperty("timeout")?n.timeout:this.timeout;function u(f,h){r&&t.session===i&&(r=!1,t.pending--,o!==null&&(delete t.timers[o],clearTimeout(o)),f?t.emit("error",f,n):s===!1&&(a!==null&&(t.results[a]=Array.prototype.slice.call(arguments,1)),t.emit("success",h,n)),t.session===i&&(t.pending===0&&t.jobs.length===0?Po.call(t):t.running&&t.start()))}l&&(o=setTimeout(function(){s=!0,t.listeners("timeout").length>0?t.emit("timeout",u,n):u()},l),this.timers[o]=o),this.results&&(a=this.results.length,this.results[a]=null),this.pending++,t.emit("start",n);var c=n(u);c&&c.then&&typeof c.then=="function"&&c.then(function(f){return u(null,f)}).catch(function(f){return u(f||!0)}),this.running&&this.jobs.length>0&&this.start()};pe.prototype.stop=function(){this.running=!1};pe.prototype.end=function(e){Mv.call(this),this.jobs.length=0,this.pending=0,Po.call(this,e)};function Mv(){for(var e in this.timers){var t=this.timers[e];delete this.timers[e],clearTimeout(t)}}function qv(e){var t=this;this.on("error",n),this.on("end",r);function n(i){t.end(i)}function r(i){t.removeListener("error",n),t.removeListener("end",r),e(i,this.results)}}function Po(e){this.session++,this.running=!1,this.emit("end",e)}});var zc=X(ar=>{"use strict";Object.defineProperty(ar,"__esModule",{value:!0});ar.BMP=void 0;ar.BMP={validate(e){return e.toString("ascii",0,2)==="BM"},calculate(e){return{height:Math.abs(e.readInt32LE(22)),width:e.readUInt32LE(18)}}}});var $o=X(lr=>{"use strict";Object.defineProperty(lr,"__esModule",{value:!0});lr.ICO=void 0;var Vv=1,Wv=6,Hv=16;function Dc(e,t){let n=e.readUInt8(t);return n===0?256:n}function Uc(e,t){let n=Wv+t*Hv;return{height:Dc(e,n+1),width:Dc(e,n)}}lr.ICO={validate(e){return e.readUInt16LE(0)!==0?!1:e.readUInt16LE(2)===Vv},calculate(e){let t=e.readUInt16LE(4),n=Uc(e,0);if(t===1)return n;let r=[n];for(let o=1;o{"use strict";Object.defineProperty(ur,"__esModule",{value:!0});ur.CUR=void 0;var Gv=$o(),Qv=2;ur.CUR={validate(e){return e.readUInt16LE(0)!==0?!1:e.readUInt16LE(2)===Qv},calculate(e){return Gv.ICO.calculate(e)}}});var Mc=X(cr=>{"use strict";Object.defineProperty(cr,"__esModule",{value:!0});cr.DDS=void 0;cr.DDS={validate(e){return e.readUInt32LE(0)===542327876},calculate(e){return{height:e.readUInt32LE(12),width:e.readUInt32LE(16)}}}});var qc=X(fr=>{"use strict";Object.defineProperty(fr,"__esModule",{value:!0});fr.GIF=void 0;var Yv=/^GIF8[79]a/;fr.GIF={validate(e){let t=e.toString("ascii",0,6);return Yv.test(t)},calculate(e){return{height:e.readUInt16LE(8),width:e.readUInt16LE(6)}}}});var Hc=X(dr=>{"use strict";Object.defineProperty(dr,"__esModule",{value:!0});dr.ICNS=void 0;var Jv=8,Xv=4,Zv=4,Kv={ICON:32,"ICN#":32,"icm#":16,icm4:16,icm8:16,"ics#":16,ics4:16,ics8:16,is32:16,s8mk:16,icp4:16,icl4:32,icl8:32,il32:32,l8mk:32,icp5:32,ic11:32,ich4:48,ich8:48,ih32:48,h8mk:48,icp6:64,ic12:32,it32:128,t8mk:128,ic07:128,ic08:256,ic13:256,ic09:512,ic14:512,ic10:1024};function Vc(e,t){let n=t+Zv;return[e.toString("ascii",t,n),e.readUInt32BE(n)]}function Wc(e){let t=Kv[e];return{width:t,height:t,type:e}}dr.ICNS={validate(e){return e.toString("ascii",0,4)==="icns"},calculate(e){let t=e.length,n=e.readUInt32BE(Xv),r=Jv,i=Vc(e,r),o=Wc(i[0]);if(r+=i[1],r===n)return o;let s={height:o.height,images:[o],width:o.width};for(;r{"use strict";Object.defineProperty(pr,"__esModule",{value:!0});pr.J2C=void 0;pr.J2C={validate(e){return e.toString("hex",0,4)==="ff4fff51"},calculate(e){return{height:e.readUInt32BE(12),width:e.readUInt32BE(8)}}}});var Yc=X(mr=>{"use strict";Object.defineProperty(mr,"__esModule",{value:!0});mr.JP2=void 0;var hr={ftyp:"66747970",ihdr:"69686472",jp2h:"6a703268",jp__:"6a502020",rreq:"72726571",xml_:"786d6c20"},ex=e=>{let t=e.readUInt8(0),n=1+2*t,i=e.readUInt16BE(n)*(2+t);n=n+2+i;let s=e.readUInt16BE(n)*(16+t);return n+2+s},Qc=e=>({height:e.readUInt32BE(4),width:e.readUInt32BE(8)});mr.JP2={validate(e){let t=e.toString("hex",4,8),n=e.readUInt32BE(0);if(t!==hr.jp__||n<1)return!1;let r=n+4,i=e.readUInt32BE(n);return e.slice(r,r+i).toString("hex",0,4)===hr.ftyp},calculate(e){let t=e.readUInt32BE(0),n=e.readUInt16BE(t+2),r=t+4+n;switch(e.toString("hex",r,r+4)){case hr.rreq:return r=r+4+4+ex(e.slice(r+4)),Qc(e.slice(r+8,r+24));case hr.jp2h:return Qc(e.slice(r+8,r+24));default:throw new TypeError("Unsupported header found: "+e.toString("ascii",r,r+4))}}}});var Ro=X(gr=>{"use strict";Object.defineProperty(gr,"__esModule",{value:!0});gr.readUInt=void 0;function tx(e,t,n,r){n=n||0;let i=r?"BE":"LE",o="readUInt"+t+i;return e[o].call(e,n)}gr.readUInt=tx});var Xc=X(br=>{"use strict";Object.defineProperty(br,"__esModule",{value:!0});br.JPG=void 0;var Kt=Ro(),nx="45786966",rx=2,_o=6,ix=2,ox="4d4d",sx="4949",Jc=12,ax=2;function lx(e){return e.toString("hex",2,6)===nx}function ux(e,t){return{height:e.readUInt16BE(t),width:e.readUInt16BE(t+2)}}function cx(e,t){let r=_o+8,i=Kt.readUInt(e,16,r,t);for(let o=0;oe.length)return;let l=e.slice(s,a);if(Kt.readUInt(l,16,0,t)===274)return Kt.readUInt(l,16,2,t)!==3||Kt.readUInt(l,32,4,t)!==1?void 0:Kt.readUInt(l,16,8,t)}}function fx(e,t){let n=e.slice(rx,t),r=n.toString("hex",_o,_o+ix),i=r===ox;if(i||r===sx)return cx(n,i)}function dx(e,t){if(t>e.length)throw new TypeError("Corrupt JPG, exceeded buffer limits");if(e[t]!==255)throw new TypeError("Invalid JPG, marker table corrupted")}br.JPG={validate(e){return e.toString("hex",0,2)==="ffd8"},calculate(e){e=e.slice(4);let t,n;for(;e.length;){let r=e.readUInt16BE(0);if(lx(e)&&(t=fx(e,r)),dx(e,r),n=e[r+1],n===192||n===193||n===194){let i=ux(e,r+5);return t?{height:i.height,orientation:t,width:i.width}:i}e=e.slice(r+2)}throw new TypeError("Invalid JPG, no size found")}}});var Zc=X(vr=>{"use strict";Object.defineProperty(vr,"__esModule",{value:!0});vr.KTX=void 0;var px="KTX 11";vr.KTX={validate(e){return px===e.toString("ascii",1,7)},calculate(e){return{height:e.readUInt32LE(40),width:e.readUInt32LE(36)}}}});var ef=X(xr=>{"use strict";Object.defineProperty(xr,"__esModule",{value:!0});xr.PNG=void 0;var hx=`PNG\r