markstream-vue2 0.0.21 → 0.0.22
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/dist/chunks/cssMode-2e2be6eb.cjs +1 -0
- package/dist/chunks/cssMode-32774a06.js +2044 -0
- package/dist/chunks/htmlMode-076e483c.js +2060 -0
- package/dist/chunks/htmlMode-b62439a8.cjs +1 -0
- package/dist/{index6.js → chunks/index-292bb72c.js} +1 -1
- package/dist/chunks/index-2a7bea2c.js +7 -0
- package/dist/chunks/index-42252d16.js +7 -0
- package/dist/chunks/index-8693b3db.cjs +1 -0
- package/dist/chunks/index-87cdc60f.js +7 -0
- package/dist/chunks/index-91325ae4.cjs +1 -0
- package/dist/chunks/index-b8d5777d.cjs +1 -0
- package/dist/chunks/index-c6f74f2d.cjs +1 -0
- package/dist/chunks/index-e0a22210.js +7 -0
- package/dist/chunks/index-e1315bc2.cjs +1 -0
- package/dist/chunks/index.legacy-1c6de434.js +125497 -0
- package/dist/chunks/index.legacy-bcde4164.cjs +1 -0
- package/dist/chunks/jsonMode-186d141c.js +2759 -0
- package/dist/chunks/jsonMode-bb4aa400.cjs +1 -0
- package/dist/chunks/languageIconExtended-feb078ee.js +65 -0
- package/dist/chunks/mhchem-5e563c97.js +13397 -0
- package/dist/chunks/performance-monitor-d79527de.js +128 -0
- package/dist/chunks/tsMode-1535ecd2.cjs +1 -0
- package/dist/chunks/tsMode-6444eb2b.js +1315 -0
- package/dist/index.cjs +1 -1
- package/dist/index.css +1 -1
- package/dist/index.js +11706 -1
- package/dist/index.px.css +1 -1
- package/dist/index.tailwind.css +1 -1
- package/dist/tailwind.ts +1 -1
- package/package.json +5 -4
- package/dist/index.legacy.js +0 -1
- package/dist/index2.js +0 -1
- package/dist/index3.js +0 -1
- package/dist/index4.js +0 -1
- package/dist/index5.js +0 -1
- /package/dist/{languageIconExtended.js → chunks/languageIconExtended-4baf8bdb.cjs} +0 -0
- /package/dist/{mhchem.js → chunks/mhchem-4785e7bc.cjs} +0 -0
- /package/dist/{performance-monitor.js → chunks/performance-monitor-698d0e66.cjs} +0 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index.legacy-bcde4164.cjs");require("shiki");var t=Object.defineProperty,n=Object.getOwnPropertyDescriptor,r=Object.getOwnPropertyNames,i=Object.prototype.hasOwnProperty,o=(e,o,a,s)=>{if(o&&"object"==typeof o||"function"==typeof o)for(let c of r(o))i.call(e,c)||c===a||t(e,c,{get:()=>o[c],enumerable:!(s=n(o,c))||s.enumerable});return e},a={};o(a,e.monaco_editor_core_star,"default");var s,c,u,d,l,g,f,p,h,m,v,b,k,C,_,x,w,y,E,I,A,S,T,L,R,M,F,j,P,D,N,O,U,V,B,W,K,H,q,X,z,$,Q,J,G,Y,Z,ee,te,ne,re,ie,oe,ae,se,ce,ue,de,le,ge,fe,pe,he,me,ve,be,ke,Ce,_e,xe,we,ye,Ee,Ie,Ae,Se,Te,Le,Re,Me,Fe,je,Pe,De,Ne,Oe,Ue,Ve,Be,We,Ke,He,qe,Xe,ze,$e,Qe,Je,Ge,Ye,Ze,et,tt,nt,rt,it,ot,at,st,ct,ut,dt,lt,gt,ft,pt,ht,mt,vt,bt,kt,Ct,_t,xt,wt,yt,Et,It,At,St,Tt,Lt,Rt,Mt=class{constructor(e){this._defaults=e,this._worker=null,this._client=null,this._idleCheckInterval=window.setInterval(()=>this._checkIfIdle(),3e4),this._lastUsedTime=0,this._configChangeListener=this._defaults.onDidChange(()=>this._stopWorker())}_stopWorker(){this._worker&&(this._worker.dispose(),this._worker=null),this._client=null}dispose(){clearInterval(this._idleCheckInterval),this._configChangeListener.dispose(),this._stopWorker()}_checkIfIdle(){this._worker&&Date.now()-this._lastUsedTime>12e4&&this._stopWorker()}_getClient(){return this._lastUsedTime=Date.now(),this._client||(this._worker=a.editor.createWebWorker({moduleId:"vs/language/json/jsonWorker",label:this._defaults.languageId,createData:{languageSettings:this._defaults.diagnosticsOptions,languageId:this._defaults.languageId,enableSchemaRequest:this._defaults.diagnosticsOptions.enableSchemaRequest}}),this._client=this._worker.getProxy()),this._client}getLanguageServiceWorker(...e){let t;return this._getClient().then(e=>{t=e}).then(t=>{if(this._worker)return this._worker.withSyncedResources(e)}).then(e=>t)}};(s||(s={})).is=function(e){return"string"==typeof e},(c||(c={})).is=function(e){return"string"==typeof e},(d=u||(u={})).MIN_VALUE=-2147483648,d.MAX_VALUE=2147483647,d.is=function(e){return"number"==typeof e&&d.MIN_VALUE<=e&&e<=d.MAX_VALUE},(g=l||(l={})).MIN_VALUE=0,g.MAX_VALUE=2147483647,g.is=function(e){return"number"==typeof e&&g.MIN_VALUE<=e&&e<=g.MAX_VALUE},(p=f||(f={})).create=function(e,t){return e===Number.MAX_VALUE&&(e=l.MAX_VALUE),t===Number.MAX_VALUE&&(t=l.MAX_VALUE),{line:e,character:t}},p.is=function(e){let t=e;return Ft.objectLiteral(t)&&Ft.uinteger(t.line)&&Ft.uinteger(t.character)},(m=h||(h={})).create=function(e,t,n,r){if(Ft.uinteger(e)&&Ft.uinteger(t)&&Ft.uinteger(n)&&Ft.uinteger(r))return{start:f.create(e,t),end:f.create(n,r)};if(f.is(e)&&f.is(t))return{start:e,end:t};throw new Error(`Range#create called with invalid arguments[${e}, ${t}, ${n}, ${r}]`)},m.is=function(e){let t=e;return Ft.objectLiteral(t)&&f.is(t.start)&&f.is(t.end)},(b=v||(v={})).create=function(e,t){return{uri:e,range:t}},b.is=function(e){let t=e;return Ft.objectLiteral(t)&&h.is(t.range)&&(Ft.string(t.uri)||Ft.undefined(t.uri))},(C=k||(k={})).create=function(e,t,n,r){return{targetUri:e,targetRange:t,targetSelectionRange:n,originSelectionRange:r}},C.is=function(e){let t=e;return Ft.objectLiteral(t)&&h.is(t.targetRange)&&Ft.string(t.targetUri)&&h.is(t.targetSelectionRange)&&(h.is(t.originSelectionRange)||Ft.undefined(t.originSelectionRange))},(x=_||(_={})).create=function(e,t,n,r){return{red:e,green:t,blue:n,alpha:r}},x.is=function(e){const t=e;return Ft.objectLiteral(t)&&Ft.numberRange(t.red,0,1)&&Ft.numberRange(t.green,0,1)&&Ft.numberRange(t.blue,0,1)&&Ft.numberRange(t.alpha,0,1)},(y=w||(w={})).create=function(e,t){return{range:e,color:t}},y.is=function(e){const t=e;return Ft.objectLiteral(t)&&h.is(t.range)&&_.is(t.color)},(I=E||(E={})).create=function(e,t,n){return{label:e,textEdit:t,additionalTextEdits:n}},I.is=function(e){const t=e;return Ft.objectLiteral(t)&&Ft.string(t.label)&&(Ft.undefined(t.textEdit)||W.is(t))&&(Ft.undefined(t.additionalTextEdits)||Ft.typedArray(t.additionalTextEdits,W.is))},(S=A||(A={})).Comment="comment",S.Imports="imports",S.Region="region",(L=T||(T={})).create=function(e,t,n,r,i,o){const a={startLine:e,endLine:t};return Ft.defined(n)&&(a.startCharacter=n),Ft.defined(r)&&(a.endCharacter=r),Ft.defined(i)&&(a.kind=i),Ft.defined(o)&&(a.collapsedText=o),a},L.is=function(e){const t=e;return Ft.objectLiteral(t)&&Ft.uinteger(t.startLine)&&Ft.uinteger(t.startLine)&&(Ft.undefined(t.startCharacter)||Ft.uinteger(t.startCharacter))&&(Ft.undefined(t.endCharacter)||Ft.uinteger(t.endCharacter))&&(Ft.undefined(t.kind)||Ft.string(t.kind))},(M=R||(R={})).create=function(e,t){return{location:e,message:t}},M.is=function(e){let t=e;return Ft.defined(t)&&v.is(t.location)&&Ft.string(t.message)},(j=F||(F={})).Error=1,j.Warning=2,j.Information=3,j.Hint=4,(D=P||(P={})).Unnecessary=1,D.Deprecated=2,(N||(N={})).is=function(e){const t=e;return Ft.objectLiteral(t)&&Ft.string(t.href)},(U=O||(O={})).create=function(e,t,n,r,i,o){let a={range:e,message:t};return Ft.defined(n)&&(a.severity=n),Ft.defined(r)&&(a.code=r),Ft.defined(i)&&(a.source=i),Ft.defined(o)&&(a.relatedInformation=o),a},U.is=function(e){var t;let n=e;return Ft.defined(n)&&h.is(n.range)&&Ft.string(n.message)&&(Ft.number(n.severity)||Ft.undefined(n.severity))&&(Ft.integer(n.code)||Ft.string(n.code)||Ft.undefined(n.code))&&(Ft.undefined(n.codeDescription)||Ft.string(null===(t=n.codeDescription)||void 0===t?void 0:t.href))&&(Ft.string(n.source)||Ft.undefined(n.source))&&(Ft.undefined(n.relatedInformation)||Ft.typedArray(n.relatedInformation,R.is))},(B=V||(V={})).create=function(e,t,...n){let r={title:e,command:t};return Ft.defined(n)&&n.length>0&&(r.arguments=n),r},B.is=function(e){let t=e;return Ft.defined(t)&&Ft.string(t.title)&&Ft.string(t.command)},(K=W||(W={})).replace=function(e,t){return{range:e,newText:t}},K.insert=function(e,t){return{range:{start:e,end:e},newText:t}},K.del=function(e){return{range:e,newText:""}},K.is=function(e){const t=e;return Ft.objectLiteral(t)&&Ft.string(t.newText)&&h.is(t.range)},(q=H||(H={})).create=function(e,t,n){const r={label:e};return void 0!==t&&(r.needsConfirmation=t),void 0!==n&&(r.description=n),r},q.is=function(e){const t=e;return Ft.objectLiteral(t)&&Ft.string(t.label)&&(Ft.boolean(t.needsConfirmation)||void 0===t.needsConfirmation)&&(Ft.string(t.description)||void 0===t.description)},(X||(X={})).is=function(e){const t=e;return Ft.string(t)},($=z||(z={})).replace=function(e,t,n){return{range:e,newText:t,annotationId:n}},$.insert=function(e,t,n){return{range:{start:e,end:e},newText:t,annotationId:n}},$.del=function(e,t){return{range:e,newText:"",annotationId:t}},$.is=function(e){const t=e;return W.is(t)&&(H.is(t.annotationId)||X.is(t.annotationId))},(J=Q||(Q={})).create=function(e,t){return{textDocument:e,edits:t}},J.is=function(e){let t=e;return Ft.defined(t)&&ce.is(t.textDocument)&&Array.isArray(t.edits)},(Y=G||(G={})).create=function(e,t,n){let r={kind:"create",uri:e};return void 0===t||void 0===t.overwrite&&void 0===t.ignoreIfExists||(r.options=t),void 0!==n&&(r.annotationId=n),r},Y.is=function(e){let t=e;return t&&"create"===t.kind&&Ft.string(t.uri)&&(void 0===t.options||(void 0===t.options.overwrite||Ft.boolean(t.options.overwrite))&&(void 0===t.options.ignoreIfExists||Ft.boolean(t.options.ignoreIfExists)))&&(void 0===t.annotationId||X.is(t.annotationId))},(ee=Z||(Z={})).create=function(e,t,n,r){let i={kind:"rename",oldUri:e,newUri:t};return void 0===n||void 0===n.overwrite&&void 0===n.ignoreIfExists||(i.options=n),void 0!==r&&(i.annotationId=r),i},ee.is=function(e){let t=e;return t&&"rename"===t.kind&&Ft.string(t.oldUri)&&Ft.string(t.newUri)&&(void 0===t.options||(void 0===t.options.overwrite||Ft.boolean(t.options.overwrite))&&(void 0===t.options.ignoreIfExists||Ft.boolean(t.options.ignoreIfExists)))&&(void 0===t.annotationId||X.is(t.annotationId))},(ne=te||(te={})).create=function(e,t,n){let r={kind:"delete",uri:e};return void 0===t||void 0===t.recursive&&void 0===t.ignoreIfNotExists||(r.options=t),void 0!==n&&(r.annotationId=n),r},ne.is=function(e){let t=e;return t&&"delete"===t.kind&&Ft.string(t.uri)&&(void 0===t.options||(void 0===t.options.recursive||Ft.boolean(t.options.recursive))&&(void 0===t.options.ignoreIfNotExists||Ft.boolean(t.options.ignoreIfNotExists)))&&(void 0===t.annotationId||X.is(t.annotationId))},(re||(re={})).is=function(e){let t=e;return t&&(void 0!==t.changes||void 0!==t.documentChanges)&&(void 0===t.documentChanges||t.documentChanges.every(e=>Ft.string(e.kind)?G.is(e)||Z.is(e)||te.is(e):Q.is(e)))},(oe=ie||(ie={})).create=function(e){return{uri:e}},oe.is=function(e){let t=e;return Ft.defined(t)&&Ft.string(t.uri)},(se=ae||(ae={})).create=function(e,t){return{uri:e,version:t}},se.is=function(e){let t=e;return Ft.defined(t)&&Ft.string(t.uri)&&Ft.integer(t.version)},(ue=ce||(ce={})).create=function(e,t){return{uri:e,version:t}},ue.is=function(e){let t=e;return Ft.defined(t)&&Ft.string(t.uri)&&(null===t.version||Ft.integer(t.version))},(le=de||(de={})).create=function(e,t,n,r){return{uri:e,languageId:t,version:n,text:r}},le.is=function(e){let t=e;return Ft.defined(t)&&Ft.string(t.uri)&&Ft.string(t.languageId)&&Ft.integer(t.version)&&Ft.string(t.text)},(fe=ge||(ge={})).PlainText="plaintext",fe.Markdown="markdown",fe.is=function(e){const t=e;return t===fe.PlainText||t===fe.Markdown},(pe||(pe={})).is=function(e){const t=e;return Ft.objectLiteral(e)&&ge.is(t.kind)&&Ft.string(t.value)},(me=he||(he={})).Text=1,me.Method=2,me.Function=3,me.Constructor=4,me.Field=5,me.Variable=6,me.Class=7,me.Interface=8,me.Module=9,me.Property=10,me.Unit=11,me.Value=12,me.Enum=13,me.Keyword=14,me.Snippet=15,me.Color=16,me.File=17,me.Reference=18,me.Folder=19,me.EnumMember=20,me.Constant=21,me.Struct=22,me.Event=23,me.Operator=24,me.TypeParameter=25,(be=ve||(ve={})).PlainText=1,be.Snippet=2,(ke||(ke={})).Deprecated=1,(_e=Ce||(Ce={})).create=function(e,t,n){return{newText:e,insert:t,replace:n}},_e.is=function(e){const t=e;return t&&Ft.string(t.newText)&&h.is(t.insert)&&h.is(t.replace)},(we=xe||(xe={})).asIs=1,we.adjustIndentation=2,(ye||(ye={})).is=function(e){const t=e;return t&&(Ft.string(t.detail)||void 0===t.detail)&&(Ft.string(t.description)||void 0===t.description)},(Ee||(Ee={})).create=function(e){return{label:e}},(Ie||(Ie={})).create=function(e,t){return{items:e||[],isIncomplete:!!t}},(Se=Ae||(Ae={})).fromPlainText=function(e){return e.replace(/[\\`*_{}[\]()#+\-.!]/g,"\\$&")},Se.is=function(e){const t=e;return Ft.string(t)||Ft.objectLiteral(t)&&Ft.string(t.language)&&Ft.string(t.value)},(Te||(Te={})).is=function(e){let t=e;return!!t&&Ft.objectLiteral(t)&&(pe.is(t.contents)||Ae.is(t.contents)||Ft.typedArray(t.contents,Ae.is))&&(void 0===e.range||h.is(e.range))},(Le||(Le={})).create=function(e,t){return t?{label:e,documentation:t}:{label:e}},(Re||(Re={})).create=function(e,t,...n){let r={label:e};return Ft.defined(t)&&(r.documentation=t),Ft.defined(n)?r.parameters=n:r.parameters=[],r},(Fe=Me||(Me={})).Text=1,Fe.Read=2,Fe.Write=3,(je||(je={})).create=function(e,t){let n={range:e};return Ft.number(t)&&(n.kind=t),n},(De=Pe||(Pe={})).File=1,De.Module=2,De.Namespace=3,De.Package=4,De.Class=5,De.Method=6,De.Property=7,De.Field=8,De.Constructor=9,De.Enum=10,De.Interface=11,De.Function=12,De.Variable=13,De.Constant=14,De.String=15,De.Number=16,De.Boolean=17,De.Array=18,De.Object=19,De.Key=20,De.Null=21,De.EnumMember=22,De.Struct=23,De.Event=24,De.Operator=25,De.TypeParameter=26,(Ne||(Ne={})).Deprecated=1,(Oe||(Oe={})).create=function(e,t,n,r,i){let o={name:e,kind:t,location:{uri:r,range:n}};return i&&(o.containerName=i),o},(Ue||(Ue={})).create=function(e,t,n,r){return void 0!==r?{name:e,kind:t,location:{uri:n,range:r}}:{name:e,kind:t,location:{uri:n}}},(Be=Ve||(Ve={})).create=function(e,t,n,r,i,o){let a={name:e,detail:t,kind:n,range:r,selectionRange:i};return void 0!==o&&(a.children=o),a},Be.is=function(e){let t=e;return t&&Ft.string(t.name)&&Ft.number(t.kind)&&h.is(t.range)&&h.is(t.selectionRange)&&(void 0===t.detail||Ft.string(t.detail))&&(void 0===t.deprecated||Ft.boolean(t.deprecated))&&(void 0===t.children||Array.isArray(t.children))&&(void 0===t.tags||Array.isArray(t.tags))},(Ke=We||(We={})).Empty="",Ke.QuickFix="quickfix",Ke.Refactor="refactor",Ke.RefactorExtract="refactor.extract",Ke.RefactorInline="refactor.inline",Ke.RefactorRewrite="refactor.rewrite",Ke.Source="source",Ke.SourceOrganizeImports="source.organizeImports",Ke.SourceFixAll="source.fixAll",(qe=He||(He={})).Invoked=1,qe.Automatic=2,(ze=Xe||(Xe={})).create=function(e,t,n){let r={diagnostics:e};return null!=t&&(r.only=t),null!=n&&(r.triggerKind=n),r},ze.is=function(e){let t=e;return Ft.defined(t)&&Ft.typedArray(t.diagnostics,O.is)&&(void 0===t.only||Ft.typedArray(t.only,Ft.string))&&(void 0===t.triggerKind||t.triggerKind===He.Invoked||t.triggerKind===He.Automatic)},(Qe=$e||($e={})).create=function(e,t,n){let r={title:e},i=!0;return"string"==typeof t?(i=!1,r.kind=t):V.is(t)?r.command=t:r.edit=t,i&&void 0!==n&&(r.kind=n),r},Qe.is=function(e){let t=e;return t&&Ft.string(t.title)&&(void 0===t.diagnostics||Ft.typedArray(t.diagnostics,O.is))&&(void 0===t.kind||Ft.string(t.kind))&&(void 0!==t.edit||void 0!==t.command)&&(void 0===t.command||V.is(t.command))&&(void 0===t.isPreferred||Ft.boolean(t.isPreferred))&&(void 0===t.edit||re.is(t.edit))},(Ge=Je||(Je={})).create=function(e,t){let n={range:e};return Ft.defined(t)&&(n.data=t),n},Ge.is=function(e){let t=e;return Ft.defined(t)&&h.is(t.range)&&(Ft.undefined(t.command)||V.is(t.command))},(Ze=Ye||(Ye={})).create=function(e,t){return{tabSize:e,insertSpaces:t}},Ze.is=function(e){let t=e;return Ft.defined(t)&&Ft.uinteger(t.tabSize)&&Ft.boolean(t.insertSpaces)},(tt=et||(et={})).create=function(e,t,n){return{range:e,target:t,data:n}},tt.is=function(e){let t=e;return Ft.defined(t)&&h.is(t.range)&&(Ft.undefined(t.target)||Ft.string(t.target))},(rt=nt||(nt={})).create=function(e,t){return{range:e,parent:t}},rt.is=function(e){let t=e;return Ft.objectLiteral(t)&&h.is(t.range)&&(void 0===t.parent||rt.is(t.parent))},(ot=it||(it={})).namespace="namespace",ot.type="type",ot.class="class",ot.enum="enum",ot.interface="interface",ot.struct="struct",ot.typeParameter="typeParameter",ot.parameter="parameter",ot.variable="variable",ot.property="property",ot.enumMember="enumMember",ot.event="event",ot.function="function",ot.method="method",ot.macro="macro",ot.keyword="keyword",ot.modifier="modifier",ot.comment="comment",ot.string="string",ot.number="number",ot.regexp="regexp",ot.operator="operator",ot.decorator="decorator",(st=at||(at={})).declaration="declaration",st.definition="definition",st.readonly="readonly",st.static="static",st.deprecated="deprecated",st.abstract="abstract",st.async="async",st.modification="modification",st.documentation="documentation",st.defaultLibrary="defaultLibrary",(ct||(ct={})).is=function(e){const t=e;return Ft.objectLiteral(t)&&(void 0===t.resultId||"string"==typeof t.resultId)&&Array.isArray(t.data)&&(0===t.data.length||"number"==typeof t.data[0])},(dt=ut||(ut={})).create=function(e,t){return{range:e,text:t}},dt.is=function(e){const t=e;return null!=t&&h.is(t.range)&&Ft.string(t.text)},(gt=lt||(lt={})).create=function(e,t,n){return{range:e,variableName:t,caseSensitiveLookup:n}},gt.is=function(e){const t=e;return null!=t&&h.is(t.range)&&Ft.boolean(t.caseSensitiveLookup)&&(Ft.string(t.variableName)||void 0===t.variableName)},(pt=ft||(ft={})).create=function(e,t){return{range:e,expression:t}},pt.is=function(e){const t=e;return null!=t&&h.is(t.range)&&(Ft.string(t.expression)||void 0===t.expression)},(mt=ht||(ht={})).create=function(e,t){return{frameId:e,stoppedLocation:t}},mt.is=function(e){const t=e;return Ft.defined(t)&&h.is(e.stoppedLocation)},(bt=vt||(vt={})).Type=1,bt.Parameter=2,bt.is=function(e){return 1===e||2===e},(Ct=kt||(kt={})).create=function(e){return{value:e}},Ct.is=function(e){const t=e;return Ft.objectLiteral(t)&&(void 0===t.tooltip||Ft.string(t.tooltip)||pe.is(t.tooltip))&&(void 0===t.location||v.is(t.location))&&(void 0===t.command||V.is(t.command))},(xt=_t||(_t={})).create=function(e,t,n){const r={position:e,label:t};return void 0!==n&&(r.kind=n),r},xt.is=function(e){const t=e;return Ft.objectLiteral(t)&&f.is(t.position)&&(Ft.string(t.label)||Ft.typedArray(t.label,kt.is))&&(void 0===t.kind||vt.is(t.kind))&&void 0===t.textEdits||Ft.typedArray(t.textEdits,W.is)&&(void 0===t.tooltip||Ft.string(t.tooltip)||pe.is(t.tooltip))&&(void 0===t.paddingLeft||Ft.boolean(t.paddingLeft))&&(void 0===t.paddingRight||Ft.boolean(t.paddingRight))},(wt||(wt={})).createSnippet=function(e){return{kind:"snippet",value:e}},(yt||(yt={})).create=function(e,t,n,r){return{insertText:e,filterText:t,range:n,command:r}},(Et||(Et={})).create=function(e){return{items:e}},(At=It||(It={})).Invoked=0,At.Automatic=1,(St||(St={})).create=function(e,t){return{range:e,text:t}},(Tt||(Tt={})).create=function(e,t){return{triggerKind:e,selectedCompletionInfo:t}},(Lt||(Lt={})).is=function(e){const t=e;return Ft.objectLiteral(t)&&c.is(t.uri)&&Ft.string(t.name)},function(e){function t(e,n){if(e.length<=1)return e;const r=e.length/2|0,i=e.slice(0,r),o=e.slice(r);t(i,n),t(o,n);let a=0,s=0,c=0;for(;a<i.length&&s<o.length;){let t=n(i[a],o[s]);e[c++]=t<=0?i[a++]:o[s++]}for(;a<i.length;)e[c++]=i[a++];for(;s<o.length;)e[c++]=o[s++];return e}e.create=function(e,t,n,r){return new jt(e,t,n,r)},e.is=function(e){let t=e;return!!(Ft.defined(t)&&Ft.string(t.uri)&&(Ft.undefined(t.languageId)||Ft.string(t.languageId))&&Ft.uinteger(t.lineCount)&&Ft.func(t.getText)&&Ft.func(t.positionAt)&&Ft.func(t.offsetAt))},e.applyEdits=function(e,n){let r=e.getText(),i=t(n,(e,t)=>{let n=e.range.start.line-t.range.start.line;return 0===n?e.range.start.character-t.range.start.character:n}),o=r.length;for(let t=i.length-1;t>=0;t--){let n=i[t],a=e.offsetAt(n.range.start),s=e.offsetAt(n.range.end);if(!(s<=o))throw new Error("Overlapping edit");r=r.substring(0,a)+n.newText+r.substring(s,r.length),o=a}return r}}(Rt||(Rt={}));var Ft,jt=class{constructor(e,t,n,r){this._uri=e,this._languageId=t,this._version=n,this._content=r,this._lineOffsets=void 0}get uri(){return this._uri}get languageId(){return this._languageId}get version(){return this._version}getText(e){if(e){let t=this.offsetAt(e.start),n=this.offsetAt(e.end);return this._content.substring(t,n)}return this._content}update(e,t){this._content=e.text,this._version=t,this._lineOffsets=void 0}getLineOffsets(){if(void 0===this._lineOffsets){let e=[],t=this._content,n=!0;for(let r=0;r<t.length;r++){n&&(e.push(r),n=!1);let i=t.charAt(r);n="\r"===i||"\n"===i,"\r"===i&&r+1<t.length&&"\n"===t.charAt(r+1)&&r++}n&&t.length>0&&e.push(t.length),this._lineOffsets=e}return this._lineOffsets}positionAt(e){e=Math.max(Math.min(e,this._content.length),0);let t=this.getLineOffsets(),n=0,r=t.length;if(0===r)return f.create(0,e);for(;n<r;){let i=Math.floor((n+r)/2);t[i]>e?r=i:n=i+1}let i=n-1;return f.create(i,e-t[i])}offsetAt(e){let t=this.getLineOffsets();if(e.line>=t.length)return this._content.length;if(e.line<0)return 0;let n=t[e.line],r=e.line+1<t.length?t[e.line+1]:this._content.length;return Math.max(Math.min(n+e.character,r),n)}get lineCount(){return this.getLineOffsets().length}};!function(e){const t=Object.prototype.toString;e.defined=function(e){return void 0!==e},e.undefined=function(e){return void 0===e},e.boolean=function(e){return!0===e||!1===e},e.string=function(e){return"[object String]"===t.call(e)},e.number=function(e){return"[object Number]"===t.call(e)},e.numberRange=function(e,n,r){return"[object Number]"===t.call(e)&&n<=e&&e<=r},e.integer=function(e){return"[object Number]"===t.call(e)&&-2147483648<=e&&e<=2147483647},e.uinteger=function(e){return"[object Number]"===t.call(e)&&0<=e&&e<=2147483647},e.func=function(e){return"[object Function]"===t.call(e)},e.objectLiteral=function(e){return null!==e&&"object"==typeof e},e.typedArray=function(e,t){return Array.isArray(e)&&e.every(t)}}(Ft||(Ft={}));var Pt=class{constructor(e,t,n){this._languageId=e,this._worker=t,this._disposables=[],this._listener=Object.create(null);const r=e=>{let t,n=e.getLanguageId();n===this._languageId&&(this._listener[e.uri.toString()]=e.onDidChangeContent(()=>{window.clearTimeout(t),t=window.setTimeout(()=>this._doValidate(e.uri,n),500)}),this._doValidate(e.uri,n))},i=e=>{a.editor.setModelMarkers(e,this._languageId,[]);let t=e.uri.toString(),n=this._listener[t];n&&(n.dispose(),delete this._listener[t])};this._disposables.push(a.editor.onDidCreateModel(r)),this._disposables.push(a.editor.onWillDisposeModel(i)),this._disposables.push(a.editor.onDidChangeModelLanguage(e=>{i(e.model),r(e.model)})),this._disposables.push(n(e=>{a.editor.getModels().forEach(e=>{e.getLanguageId()===this._languageId&&(i(e),r(e))})})),this._disposables.push({dispose:()=>{a.editor.getModels().forEach(i);for(let e in this._listener)this._listener[e].dispose()}}),a.editor.getModels().forEach(r)}dispose(){this._disposables.forEach(e=>e&&e.dispose()),this._disposables.length=0}_doValidate(e,t){this._worker(e).then(t=>t.doValidation(e.toString())).then(n=>{const r=n.map(e=>function(e,t){let n="number"==typeof t.code?String(t.code):t.code;return{severity:Dt(t.severity),startLineNumber:t.range.start.line+1,startColumn:t.range.start.character+1,endLineNumber:t.range.end.line+1,endColumn:t.range.end.character+1,message:t.message,code:n,source:t.source}}(0,e));let i=a.editor.getModel(e);i&&i.getLanguageId()===t&&a.editor.setModelMarkers(i,t,r)}).then(void 0,e=>{console.error(e)})}};function Dt(e){switch(e){case F.Error:return a.MarkerSeverity.Error;case F.Warning:return a.MarkerSeverity.Warning;case F.Information:return a.MarkerSeverity.Info;case F.Hint:return a.MarkerSeverity.Hint;default:return a.MarkerSeverity.Info}}var Nt=class{constructor(e,t){this._worker=e,this._triggerCharacters=t}get triggerCharacters(){return this._triggerCharacters}provideCompletionItems(e,t,n,r){const i=e.uri;return this._worker(i).then(e=>e.doComplete(i.toString(),Ot(t))).then(n=>{if(!n)return;const r=e.getWordUntilPosition(t),i=new a.Range(t.lineNumber,r.startColumn,t.lineNumber,r.endColumn),o=n.items.map(e=>{const t={label:e.label,insertText:e.insertText||e.label,sortText:e.sortText,filterText:e.filterText,documentation:e.documentation,detail:e.detail,command:(n=e.command,n&&"editor.action.triggerSuggest"===n.command?{id:n.command,title:n.title,arguments:n.arguments}:void 0),range:i,kind:Bt(e.kind)};var n,r;return e.textEdit&&(void 0!==(r=e.textEdit).insert&&void 0!==r.replace?t.range={insert:Vt(e.textEdit.insert),replace:Vt(e.textEdit.replace)}:t.range=Vt(e.textEdit.range),t.insertText=e.textEdit.newText),e.additionalTextEdits&&(t.additionalTextEdits=e.additionalTextEdits.map(Wt)),e.insertTextFormat===ve.Snippet&&(t.insertTextRules=a.languages.CompletionItemInsertTextRule.InsertAsSnippet),t});return{isIncomplete:n.isIncomplete,suggestions:o}})}};function Ot(e){if(e)return{character:e.column-1,line:e.lineNumber-1}}function Ut(e){if(e)return{start:{line:e.startLineNumber-1,character:e.startColumn-1},end:{line:e.endLineNumber-1,character:e.endColumn-1}}}function Vt(e){if(e)return new a.Range(e.start.line+1,e.start.character+1,e.end.line+1,e.end.character+1)}function Bt(e){const t=a.languages.CompletionItemKind;switch(e){case he.Text:return t.Text;case he.Method:return t.Method;case he.Function:return t.Function;case he.Constructor:return t.Constructor;case he.Field:return t.Field;case he.Variable:return t.Variable;case he.Class:return t.Class;case he.Interface:return t.Interface;case he.Module:return t.Module;case he.Property:return t.Property;case he.Unit:return t.Unit;case he.Value:return t.Value;case he.Enum:return t.Enum;case he.Keyword:return t.Keyword;case he.Snippet:return t.Snippet;case he.Color:return t.Color;case he.File:return t.File;case he.Reference:return t.Reference}return t.Property}function Wt(e){if(e)return{range:Vt(e.range),text:e.newText}}var Kt=class{constructor(e){this._worker=e}provideHover(e,t,n){let r=e.uri;return this._worker(r).then(e=>e.doHover(r.toString(),Ot(t))).then(e=>{if(e)return{range:Vt(e.range),contents:qt(e.contents)}})}};function Ht(e){return"string"==typeof e?{value:e}:(t=e)&&"object"==typeof t&&"string"==typeof t.kind?"plaintext"===e.kind?{value:e.value.replace(/[\\`*_{}[\]()#+\-.!]/g,"\\$&")}:{value:e.value}:{value:"```"+e.language+"\n"+e.value+"\n```\n"};var t}function qt(e){if(e)return Array.isArray(e)?e.map(Ht):[Ht(e)]}function Xt(e){switch(e){case Me.Read:return a.languages.DocumentHighlightKind.Read;case Me.Write:return a.languages.DocumentHighlightKind.Write;case Me.Text:return a.languages.DocumentHighlightKind.Text}return a.languages.DocumentHighlightKind.Text}function zt(e){return{uri:a.Uri.parse(e.uri),range:Vt(e.range)}}var $t=class{constructor(e){this._worker=e}provideDocumentSymbols(e,t){const n=e.uri;return this._worker(n).then(e=>e.findDocumentSymbols(n.toString())).then(e=>{if(e)return e.map(e=>"children"in e?Qt(e):{name:e.name,detail:"",containerName:e.containerName,kind:Jt(e.kind),range:Vt(e.location.range),selectionRange:Vt(e.location.range),tags:[]})})}};function Qt(e){var t,n,r;return{name:e.name,detail:null!=(t=e.detail)?t:"",kind:Jt(e.kind),range:Vt(e.range),selectionRange:Vt(e.selectionRange),tags:null!=(n=e.tags)?n:[],children:(null!=(r=e.children)?r:[]).map(e=>Qt(e))}}function Jt(e){let t=a.languages.SymbolKind;switch(e){case Pe.File:return t.File;case Pe.Module:return t.Module;case Pe.Namespace:return t.Namespace;case Pe.Package:return t.Package;case Pe.Class:return t.Class;case Pe.Method:return t.Method;case Pe.Property:return t.Property;case Pe.Field:return t.Field;case Pe.Constructor:return t.Constructor;case Pe.Enum:return t.Enum;case Pe.Interface:return t.Interface;case Pe.Function:return t.Function;case Pe.Variable:return t.Variable;case Pe.Constant:return t.Constant;case Pe.String:return t.String;case Pe.Number:return t.Number;case Pe.Boolean:return t.Boolean;case Pe.Array:return t.Array}return t.Function}var Gt=class{constructor(e){this._worker=e}provideDocumentFormattingEdits(e,t,n){const r=e.uri;return this._worker(r).then(e=>e.format(r.toString(),null,Zt(t)).then(e=>{if(e&&0!==e.length)return e.map(Wt)}))}},Yt=class{constructor(e){this._worker=e,this.canFormatMultipleRanges=!1}provideDocumentRangeFormattingEdits(e,t,n,r){const i=e.uri;return this._worker(i).then(e=>e.format(i.toString(),Ut(t),Zt(n)).then(e=>{if(e&&0!==e.length)return e.map(Wt)}))}};function Zt(e){return{tabSize:e.tabSize,insertSpaces:e.insertSpaces}}var en,tn,nn=class{constructor(e){this._worker=e}provideDocumentColors(e,t){const n=e.uri;return this._worker(n).then(e=>e.findDocumentColors(n.toString())).then(e=>{if(e)return e.map(e=>({color:e.color,range:Vt(e.range)}))})}provideColorPresentations(e,t,n){const r=e.uri;return this._worker(r).then(e=>e.getColorPresentations(r.toString(),t.color,Ut(t.range))).then(e=>{if(e)return e.map(e=>{let t={label:e.label};return e.textEdit&&(t.textEdit=Wt(e.textEdit)),e.additionalTextEdits&&(t.additionalTextEdits=e.additionalTextEdits.map(Wt)),t})})}},rn=class{constructor(e){this._worker=e}provideFoldingRanges(e,t,n){const r=e.uri;return this._worker(r).then(e=>e.getFoldingRanges(r.toString(),t)).then(e=>{if(e)return e.map(e=>{const t={start:e.startLine+1,end:e.endLine+1};return void 0!==e.kind&&(t.kind=function(e){switch(e){case A.Comment:return a.languages.FoldingRangeKind.Comment;case A.Imports:return a.languages.FoldingRangeKind.Imports;case A.Region:return a.languages.FoldingRangeKind.Region}}(e.kind)),t})})}},on=class{constructor(e){this._worker=e}provideSelectionRanges(e,t,n){const r=e.uri;return this._worker(r).then(e=>e.getSelectionRanges(r.toString(),t.map(Ot))).then(e=>{if(e)return e.map(e=>{const t=[];for(;e;)t.push({range:Vt(e.range)}),e=e.parent;return t})})}};function an(e){return 32===e||9===e}function sn(e){return 10===e||13===e}function cn(e){return e>=48&&e<=57}(tn=en||(en={}))[tn.lineFeed=10]="lineFeed",tn[tn.carriageReturn=13]="carriageReturn",tn[tn.space=32]="space",tn[tn._0=48]="_0",tn[tn._1=49]="_1",tn[tn._2=50]="_2",tn[tn._3=51]="_3",tn[tn._4=52]="_4",tn[tn._5=53]="_5",tn[tn._6=54]="_6",tn[tn._7=55]="_7",tn[tn._8=56]="_8",tn[tn._9=57]="_9",tn[tn.a=97]="a",tn[tn.b=98]="b",tn[tn.c=99]="c",tn[tn.d=100]="d",tn[tn.e=101]="e",tn[tn.f=102]="f",tn[tn.g=103]="g",tn[tn.h=104]="h",tn[tn.i=105]="i",tn[tn.j=106]="j",tn[tn.k=107]="k",tn[tn.l=108]="l",tn[tn.m=109]="m",tn[tn.n=110]="n",tn[tn.o=111]="o",tn[tn.p=112]="p",tn[tn.q=113]="q",tn[tn.r=114]="r",tn[tn.s=115]="s",tn[tn.t=116]="t",tn[tn.u=117]="u",tn[tn.v=118]="v",tn[tn.w=119]="w",tn[tn.x=120]="x",tn[tn.y=121]="y",tn[tn.z=122]="z",tn[tn.A=65]="A",tn[tn.B=66]="B",tn[tn.C=67]="C",tn[tn.D=68]="D",tn[tn.E=69]="E",tn[tn.F=70]="F",tn[tn.G=71]="G",tn[tn.H=72]="H",tn[tn.I=73]="I",tn[tn.J=74]="J",tn[tn.K=75]="K",tn[tn.L=76]="L",tn[tn.M=77]="M",tn[tn.N=78]="N",tn[tn.O=79]="O",tn[tn.P=80]="P",tn[tn.Q=81]="Q",tn[tn.R=82]="R",tn[tn.S=83]="S",tn[tn.T=84]="T",tn[tn.U=85]="U",tn[tn.V=86]="V",tn[tn.W=87]="W",tn[tn.X=88]="X",tn[tn.Y=89]="Y",tn[tn.Z=90]="Z",tn[tn.asterisk=42]="asterisk",tn[tn.backslash=92]="backslash",tn[tn.closeBrace=125]="closeBrace",tn[tn.closeBracket=93]="closeBracket",tn[tn.colon=58]="colon",tn[tn.comma=44]="comma",tn[tn.dot=46]="dot",tn[tn.doubleQuote=34]="doubleQuote",tn[tn.minus=45]="minus",tn[tn.openBrace=123]="openBrace",tn[tn.openBracket=91]="openBracket",tn[tn.plus=43]="plus",tn[tn.slash=47]="slash",tn[tn.formFeed=12]="formFeed",tn[tn.tab=9]="tab",new Array(20).fill(0).map((e,t)=>" ".repeat(t));var un,dn=200;new Array(dn).fill(0).map((e,t)=>"\n"+" ".repeat(t)),new Array(dn).fill(0).map((e,t)=>"\r"+" ".repeat(t)),new Array(dn).fill(0).map((e,t)=>"\r\n"+" ".repeat(t)),new Array(dn).fill(0).map((e,t)=>"\n"+"\t".repeat(t)),new Array(dn).fill(0).map((e,t)=>"\r"+"\t".repeat(t)),new Array(dn).fill(0).map((e,t)=>"\r\n"+"\t".repeat(t)),(un||(un={})).DEFAULT={allowTrailingComma:!1};var ln,gn,fn,pn,hn,mn;function vn(e){return{getInitialState:()=>new Rn(null,null,!1,null),tokenize:(t,n)=>function(e,t,n,r=0){let i=0,o=!1;switch(n.scanError){case 2:t='"'+t,i=1;break;case 1:t="/*"+t,i=2}const a=function(e,t=!1){const n=e.length;let r=0,i="",o=0,a=16,s=0,c=0,u=0,d=0,l=0;function g(t,n){let i=0,o=0;for(;i<t||!n;){let t=e.charCodeAt(r);if(t>=48&&t<=57)o=16*o+t-48;else if(t>=65&&t<=70)o=16*o+t-65+10;else{if(!(t>=97&&t<=102))break;o=16*o+t-97+10}r++,i++}return i<t&&(o=-1),o}function f(){if(i="",l=0,o=r,c=s,d=u,r>=n)return o=n,a=17;let t=e.charCodeAt(r);if(an(t)){do{r++,i+=String.fromCharCode(t),t=e.charCodeAt(r)}while(an(t));return a=15}if(sn(t))return r++,i+=String.fromCharCode(t),13===t&&10===e.charCodeAt(r)&&(r++,i+="\n"),s++,u=r,a=14;switch(t){case 123:return r++,a=1;case 125:return r++,a=2;case 91:return r++,a=3;case 93:return r++,a=4;case 58:return r++,a=6;case 44:return r++,a=5;case 34:return r++,i=function(){let t="",i=r;for(;;){if(r>=n){t+=e.substring(i,r),l=2;break}const o=e.charCodeAt(r);if(34===o){t+=e.substring(i,r),r++;break}if(92!==o){if(o>=0&&o<=31){if(sn(o)){t+=e.substring(i,r),l=2;break}l=6}r++}else{if(t+=e.substring(i,r),r++,r>=n){l=2;break}switch(e.charCodeAt(r++)){case 34:t+='"';break;case 92:t+="\\";break;case 47:t+="/";break;case 98:t+="\b";break;case 102:t+="\f";break;case 110:t+="\n";break;case 114:t+="\r";break;case 116:t+="\t";break;case 117:const e=g(4,!0);e>=0?t+=String.fromCharCode(e):l=4;break;default:l=5}i=r}}return t}(),a=10;case 47:const c=r-1;if(47===e.charCodeAt(r+1)){for(r+=2;r<n&&!sn(e.charCodeAt(r));)r++;return i=e.substring(c,r),a=12}if(42===e.charCodeAt(r+1)){r+=2;const t=n-1;let o=!1;for(;r<t;){const t=e.charCodeAt(r);if(42===t&&47===e.charCodeAt(r+1)){r+=2,o=!0;break}r++,sn(t)&&(13===t&&10===e.charCodeAt(r)&&r++,s++,u=r)}return o||(r++,l=1),i=e.substring(c,r),a=13}return i+=String.fromCharCode(t),r++,a=16;case 45:if(i+=String.fromCharCode(t),r++,r===n||!cn(e.charCodeAt(r)))return a=16;case 48:case 49:case 50:case 51:case 52:case 53:case 54:case 55:case 56:case 57:return i+=function(){let t=r;if(48===e.charCodeAt(r))r++;else for(r++;r<e.length&&cn(e.charCodeAt(r));)r++;if(r<e.length&&46===e.charCodeAt(r)){if(r++,!(r<e.length&&cn(e.charCodeAt(r))))return l=3,e.substring(t,r);for(r++;r<e.length&&cn(e.charCodeAt(r));)r++}let n=r;if(r<e.length&&(69===e.charCodeAt(r)||101===e.charCodeAt(r)))if(r++,(r<e.length&&43===e.charCodeAt(r)||45===e.charCodeAt(r))&&r++,r<e.length&&cn(e.charCodeAt(r))){for(r++;r<e.length&&cn(e.charCodeAt(r));)r++;n=r}else l=3;return e.substring(t,n)}(),a=11;default:for(;r<n&&p(t);)r++,t=e.charCodeAt(r);if(o!==r){switch(i=e.substring(o,r),i){case"true":return a=8;case"false":return a=9;case"null":return a=7}return a=16}return i+=String.fromCharCode(t),r++,a=16}}function p(e){if(an(e)||sn(e))return!1;switch(e){case 125:case 93:case 123:case 91:case 34:case 58:case 44:case 47:return!1}return!0}return{setPosition:function(e){r=e,i="",o=0,a=16,l=0},getPosition:()=>r,scan:t?function(){let e;do{e=f()}while(e>=12&&e<=15);return e}:f,getToken:()=>a,getTokenValue:()=>i,getTokenOffset:()=>o,getTokenLength:()=>r-o,getTokenStartLine:()=>c,getTokenStartCharacter:()=>o-d,getTokenError:()=>l}}(t);let s=n.lastWasColon,c=n.parents;const u={tokens:[],endState:n.clone()};for(;;){let d=r+a.getPosition(),l="";const g=a.scan();if(17===g)break;if(d===r+a.getPosition())throw new Error("Scanner did not advance, next 3 characters are: "+t.substr(a.getPosition(),3));switch(o&&(d-=i),o=i>0,g){case 1:c=Ln.push(c,0),l=kn,s=!1;break;case 2:c=Ln.pop(c),l=kn,s=!1;break;case 3:c=Ln.push(c,1),l=Cn,s=!1;break;case 4:c=Ln.pop(c),l=Cn,s=!1;break;case 6:l=_n,s=!0;break;case 5:l=xn,s=!1;break;case 8:case 9:l=wn,s=!1;break;case 7:l=yn,s=!1;break;case 10:const e=c?c.type:0;l=s||1===e?En:An,s=!1;break;case 11:l=In,s=!1}if(e)switch(g){case 12:l=Tn;break;case 13:l=Sn}u.endState=new Rn(n.getStateData(),a.getTokenError(),s,c),u.tokens.push({startIndex:d,scopes:l})}return u}(e,t,n)}}(gn=ln||(ln={}))[gn.None=0]="None",gn[gn.UnexpectedEndOfComment=1]="UnexpectedEndOfComment",gn[gn.UnexpectedEndOfString=2]="UnexpectedEndOfString",gn[gn.UnexpectedEndOfNumber=3]="UnexpectedEndOfNumber",gn[gn.InvalidUnicode=4]="InvalidUnicode",gn[gn.InvalidEscapeCharacter=5]="InvalidEscapeCharacter",gn[gn.InvalidCharacter=6]="InvalidCharacter",(pn=fn||(fn={}))[pn.OpenBraceToken=1]="OpenBraceToken",pn[pn.CloseBraceToken=2]="CloseBraceToken",pn[pn.OpenBracketToken=3]="OpenBracketToken",pn[pn.CloseBracketToken=4]="CloseBracketToken",pn[pn.CommaToken=5]="CommaToken",pn[pn.ColonToken=6]="ColonToken",pn[pn.NullKeyword=7]="NullKeyword",pn[pn.TrueKeyword=8]="TrueKeyword",pn[pn.FalseKeyword=9]="FalseKeyword",pn[pn.StringLiteral=10]="StringLiteral",pn[pn.NumericLiteral=11]="NumericLiteral",pn[pn.LineCommentTrivia=12]="LineCommentTrivia",pn[pn.BlockCommentTrivia=13]="BlockCommentTrivia",pn[pn.LineBreakTrivia=14]="LineBreakTrivia",pn[pn.Trivia=15]="Trivia",pn[pn.Unknown=16]="Unknown",pn[pn.EOF=17]="EOF",(mn=hn||(hn={}))[mn.InvalidSymbol=1]="InvalidSymbol",mn[mn.InvalidNumberFormat=2]="InvalidNumberFormat",mn[mn.PropertyNameExpected=3]="PropertyNameExpected",mn[mn.ValueExpected=4]="ValueExpected",mn[mn.ColonExpected=5]="ColonExpected",mn[mn.CommaExpected=6]="CommaExpected",mn[mn.CloseBraceExpected=7]="CloseBraceExpected",mn[mn.CloseBracketExpected=8]="CloseBracketExpected",mn[mn.EndOfFileExpected=9]="EndOfFileExpected",mn[mn.InvalidCommentToken=10]="InvalidCommentToken",mn[mn.UnexpectedEndOfComment=11]="UnexpectedEndOfComment",mn[mn.UnexpectedEndOfString=12]="UnexpectedEndOfString",mn[mn.UnexpectedEndOfNumber=13]="UnexpectedEndOfNumber",mn[mn.InvalidUnicode=14]="InvalidUnicode",mn[mn.InvalidEscapeCharacter=15]="InvalidEscapeCharacter",mn[mn.InvalidCharacter=16]="InvalidCharacter";var bn,kn="delimiter.bracket.json",Cn="delimiter.array.json",_n="delimiter.colon.json",xn="delimiter.comma.json",wn="keyword.json",yn="keyword.json",En="string.value.json",In="number.json",An="string.key.json",Sn="comment.block.json",Tn="comment.line.json",Ln=class e{constructor(e,t){this.parent=e,this.type=t}static pop(e){return e?e.parent:null}static push(t,n){return new e(t,n)}static equals(e,t){if(!e&&!t)return!0;if(!e||!t)return!1;for(;e&&t;){if(e===t)return!0;if(e.type!==t.type)return!1;e=e.parent,t=t.parent}return!0}},Rn=class e{constructor(e,t,n,r){this._state=e,this.scanError=t,this.lastWasColon=n,this.parents=r}clone(){return new e(this._state,this.scanError,this.lastWasColon,this.parents)}equals(t){return t===this||!!(t&&t instanceof e)&&this.scanError===t.scanError&&this.lastWasColon===t.lastWasColon&&Ln.equals(this.parents,t.parents)}getStateData(){return this._state}setStateData(e){this._state=e}},Mn=class extends Pt{constructor(e,t,n){super(e,t,n.onDidChange),this._disposables.push(a.editor.onWillDisposeModel(e=>{this._resetSchema(e.uri)})),this._disposables.push(a.editor.onDidChangeModelLanguage(e=>{this._resetSchema(e.model.uri)}))}_resetSchema(e){this._worker().then(t=>{t.resetSchema(e.toString())})}};function Fn(e){return{dispose:()=>jn(e)}}function jn(e){for(;e.length;)e.pop().dispose()}var Pn={wordPattern:/(-?\d*\.\d\w*)|([^\[\{\]\}\:\"\,\s]+)/g,comments:{lineComment:"//",blockComment:["/*","*/"]},brackets:[["{","}"],["[","]"]],autoClosingPairs:[{open:"{",close:"}",notIn:["string"]},{open:"[",close:"]",notIn:["string"]},{open:'"',close:'"',notIn:["string"]}]};exports.CompletionAdapter=Nt,exports.DefinitionAdapter=class{constructor(e){this._worker=e}provideDefinition(e,t,n){const r=e.uri;return this._worker(r).then(e=>e.findDefinition(r.toString(),Ot(t))).then(e=>{if(e)return[zt(e)]})}},exports.DiagnosticsAdapter=Pt,exports.DocumentColorAdapter=nn,exports.DocumentFormattingEditProvider=Gt,exports.DocumentHighlightAdapter=class{constructor(e){this._worker=e}provideDocumentHighlights(e,t,n){const r=e.uri;return this._worker(r).then(e=>e.findDocumentHighlights(r.toString(),Ot(t))).then(e=>{if(e)return e.map(e=>({range:Vt(e.range),kind:Xt(e.kind)}))})}},exports.DocumentLinkAdapter=class{constructor(e){this._worker=e}provideLinks(e,t){const n=e.uri;return this._worker(n).then(e=>e.findDocumentLinks(n.toString())).then(e=>{if(e)return{links:e.map(e=>({range:Vt(e.range),url:e.target}))}})}},exports.DocumentRangeFormattingEditProvider=Yt,exports.DocumentSymbolAdapter=$t,exports.FoldingRangeAdapter=rn,exports.HoverAdapter=Kt,exports.ReferenceAdapter=class{constructor(e){this._worker=e}provideReferences(e,t,n,r){const i=e.uri;return this._worker(i).then(e=>e.findReferences(i.toString(),Ot(t))).then(e=>{if(e)return e.map(zt)})}},exports.RenameAdapter=class{constructor(e){this._worker=e}provideRenameEdits(e,t,n,r){const i=e.uri;return this._worker(i).then(e=>e.doRename(i.toString(),Ot(t),n)).then(e=>function(e){if(!e||!e.changes)return;let t=[];for(let n in e.changes){const r=a.Uri.parse(n);for(let i of e.changes[n])t.push({resource:r,versionId:void 0,textEdit:{range:Vt(i.range),text:i.newText}})}return{edits:t}}(e))}},exports.SelectionRangeAdapter=on,exports.WorkerManager=Mt,exports.fromPosition=Ot,exports.fromRange=Ut,exports.getWorker=function(){return new Promise((e,t)=>{if(!bn)return t("JSON not registered!");e(bn)})},exports.setupMode=function(e){const t=[],n=[],r=new Mt(e);function i(){const{languageId:t,modeConfiguration:r}=e;jn(n),r.documentFormattingEdits&&n.push(a.languages.registerDocumentFormattingEditProvider(t,new Gt(bn))),r.documentRangeFormattingEdits&&n.push(a.languages.registerDocumentRangeFormattingEditProvider(t,new Yt(bn))),r.completionItems&&n.push(a.languages.registerCompletionItemProvider(t,new Nt(bn,[" ",":",'"']))),r.hovers&&n.push(a.languages.registerHoverProvider(t,new Kt(bn))),r.documentSymbols&&n.push(a.languages.registerDocumentSymbolProvider(t,new $t(bn))),r.tokens&&n.push(a.languages.setTokensProvider(t,vn(!0))),r.colors&&n.push(a.languages.registerColorProvider(t,new nn(bn))),r.foldingRanges&&n.push(a.languages.registerFoldingRangeProvider(t,new rn(bn))),r.diagnostics&&n.push(new Mn(t,bn,e)),r.selectionRanges&&n.push(a.languages.registerSelectionRangeProvider(t,new on(bn)))}t.push(r),bn=(...e)=>r.getLanguageServiceWorker(...e),i(),t.push(a.languages.setLanguageConfiguration(e.languageId,Pn));let o=e.modeConfiguration;return e.onDidChange(e=>{e.modeConfiguration!==o&&(o=e.modeConfiguration,i())}),t.push(Fn(n)),Fn(t)},exports.toRange=Vt,exports.toTextEdit=Wt;
|
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
const AdaIcon = '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32" width="16" height="16"><!-- Icon from VSCode Icons by Roberto Huertas - https://github.com/vscode-icons/vscode-icons/blob/master/LICENSE --><path fill="#0f23c3" d="M24.554 20.075c.209.27 1.356.961 1.37 1.246a7 7 0 0 0-1.4-.324a17 17 0 0 1-1.412-.48a9.2 9.2 0 0 1-2.375-1.3A3.15 3.15 0 0 1 19.3 16.75a1.72 1.72 0 0 1 1.767-1.822a3.6 3.6 0 0 1 1.593.321c.146.066 1.31.606 1.256.809a5.5 5.5 0 0 0-1.41-.112c-.649.244-.4.828-.168 1.311a8 8 0 0 0 1.078 1.554c.164.194.884 1.271 1.138 1.264"/><path fill="#1a1978" d="M24.141 16.276c.128-.59.819-1.384 1.344-.773a4.2 4.2 0 0 1 .578 1.918c.12.656.2 1.327.261 1.982c.038.379.34 1.794.123 2.075a23 23 0 0 1-2.922-2.838a3.76 3.76 0 0 1-.925-1.7c-.1-1.073.879-.73 1.541-.664"/><path fill="#0f23c3" d="M26.3 17.781c.141-.732-.406-2.592-1.067-2.949a.06.06 0 0 0 .044-.007c-.156-.444-1.359 1.116-1.228 1.174c-.316-.138.774-1.984.988-2.16c.7-.578 1.372-.086 1.845.543a6.04 6.04 0 0 1 .733 4.434a4.5 4.5 0 0 1-.421 1.312c-.1.22-.45 1.1-.682 1.174a14.8 14.8 0 0 0-.212-3.521"/><path fill="#d2d2d2" d="M3.687 8.4c.179-.188-.041-1.527.324-1.548c.262-.015.553 1.741.627 1.968a9.2 9.2 0 0 0 1.127 2.329a7.53 7.53 0 0 0 4.016 2.978a4.55 4.55 0 0 0 2.366.2c.931-.208 1.82-.577 2.757-.765c1.35-.27 3.342-.352 4.438.647c.7.641.376.76.043 1.421a2.44 2.44 0 0 0 .178 2.562c.235.342 1.033.827.675 1.094c-.567.424-1.277-.452-1.636-.776c-1.4-1.264-2.711-1.313-4.492-1.074a9 9 0 0 1-4.883-.708A9.47 9.47 0 0 1 3.687 8.4M19.941 30a3.6 3.6 0 0 1-2.325-.817c.469-.092 1.021.025 1.508-.044a9.7 9.7 0 0 0 1.754-.43a10.5 10.5 0 0 0 3.022-1.554a6.55 6.55 0 0 0 2.757-5.214c.149-.088.316 1.034.319 1.091a5.8 5.8 0 0 1-.19 1.727a6.9 6.9 0 0 1-1.423 2.774A7.3 7.3 0 0 1 19.941 30"/><path fill="#d2d2d2" d="M18.962 19.109a5.8 5.8 0 0 1-2.05.859a13.4 13.4 0 0 1-2.224.549a8.86 8.86 0 0 1-4.435-.51a9.94 9.94 0 0 1-3.849-2.4c-.352-.367-2.104-2.417-1.548-3.05c.248-.282.875.846 1 .992a5 5 0 0 0 1.357 1.11a10.9 10.9 0 0 0 4.035 1.456a6.7 6.7 0 0 0 2.34-.094a13 13 0 0 1 1.694-.485a4 4 0 0 1 2.113.457c.344.17 1.523.743 1.567 1.116m9.351-4.031a19.3 19.3 0 0 1-.453 3.774c-.176-.242.016-1.47 0-1.792a6 6 0 0 0-.384-2.087a4.9 4.9 0 0 0-1.376-1.661a15 15 0 0 1-1.27-1.536c-1.837-2.382-3.245-5.211-2.9-8.3c.034-.308.069-1.448.411-1.445c.152 0 .266 1.561.29 1.718a12.5 12.5 0 0 0 1.224 4.116c.67 1.222 1.947 2.023 2.825 3.1a6.58 6.58 0 0 1 1.633 4.113M15.7 26.935a10.85 10.85 0 0 0 6.436-.687a6.94 6.94 0 0 0 4.278-4.418c.319.2-.048 1.529-.128 1.781a5.7 5.7 0 0 1-1.01 1.813a8.9 8.9 0 0 1-3.257 2.514c-1.703.772-5.662 1.652-6.319-1.003"/><path fill="#d2d2d2" d="M19.151 19.376c.367 2.107-2.957 3.124-4.478 3.213c-1.859.11-4.929-.292-6.06-2.031c-.673-1.035.781-.09 1.188.058a8.7 8.7 0 0 0 3.06.5a11.6 11.6 0 0 0 3.305-.5a14 14 0 0 0 1.533-.576c.301-.132 1.124-.691 1.452-.664m4.991 4.084c.4-.945-1.883-1.578-2.445-1.858a4.9 4.9 0 0 1-1.315-.867c-.181-.181-.872-.92-.807-1.219a5 5 0 0 1 1.087-.175a6 6 0 0 1 .855.588a10 10 0 0 0 .964.5a16 16 0 0 0 2.119.771c.308.09 1.549.208 1.727.428c-.04.296-1.97 2.021-2.185 1.832"/><path fill="#d2d2d2" d="M26.1 22.172c.265.43-1.08 1.831-1.363 2.105a9.3 9.3 0 0 1-2.566 1.728a7.8 7.8 0 0 1-2.56.753c-.679.058-1.966-.124-2.141-.979a7 7 0 0 1 1.177-.086c.462-.059.921-.149 1.376-.246a13 13 0 0 0 2.184-.645a11.5 11.5 0 0 0 2.084-1.11a11 11 0 0 0 1.078-.822c.105-.089.617-.702.731-.698m-7.342-10.207c-.1-1.308 2.612-1.3 3.271-1.092a5.98 5.98 0 0 1 2.982 2.475c-1.082.8-2.449.094-3.3-.654a4.3 4.3 0 0 0-1.481-1.029c-.809-.265-.818.094-1.472.3"/><path fill="#d2d2d2" d="M25.783 13.341c-.444-.029-.316.071-.647-.212c-.358-.307-.614-.795-.945-1.141c-.534-.558-1.242-.895-1.723-1.485a7.27 7.27 0 0 1-1.624-4.848c.018-1.489.407.187.551.675a12.3 12.3 0 0 0 1.126 2.708a46 46 0 0 0 3.4 4.321c-.039.002-.097-.021-.138-.018m-5.715 1.415c.033-.625-.911-.792-1.211-1.42c-.164-.343-.211-.569.029-.7c.082-.045.383.012.5-.02c.271-.076.335-.273.581-.4a1.193 1.193 0 0 1 1.633 1.021a1.82 1.82 0 0 1-1.532 1.519"/><path fill="#d2d2d2" d="M20.5 14.745a1.93 1.93 0 0 0 1.323-1.7c.524.139.928.658 1.521.771a2.6 2.6 0 0 0 1.029-.017c.207-.045.54-.274.721-.259c-.033.163-.464.546-.565.717a4.2 4.2 0 0 0-.388.9c-.229.741-.061.739-.709.311a4.3 4.3 0 0 0-1.957-.72c-.266-.026-.881.019-.975-.003m-.595 5.989a2.01 2.01 0 0 1-1.4 1.712c-.205.091-2.018.733-2.032.348c-.007-.2 1.624-.954 1.809-1.11a3.4 3.4 0 0 0 .867-1.071c.055-.112.232-.925.271-.943c.224-.106.488.93.485 1.064m-8.532-8.202a10.6 10.6 0 0 1 3.71-.914a10.3 10.3 0 0 1 1.865.024c.366.039 1.469.054 1.74.343a.255.255 0 0 1-.273.173c-.037.077.251.371.3.425c-.034.034-1.445-.4-1.572-.424a10.6 10.6 0 0 0-2.282-.134a16 16 0 0 0-1.841.194a6.2 6.2 0 0 1-1.647.313m11.139-1.801a1.89 1.89 0 0 1-1.517-.6c-.247-.349-.737-1.692-.385-2.021c.209-.2.384.662.484.846a11 11 0 0 0 1.418 1.775m5.276 8.469a19 19 0 0 1-.749 3.313c-.173-.077-.275-.778-.562-.95a4.1 4.1 0 0 0 .76-1.154c.152-.302.303-1.046.551-1.209m-7.807-7.357c-.132.268-.932 1.1-1.118.481c-.107-.356.876-.841 1.118-.481m-.747.45c.228.006.012-.248.012-.266c-.001-.043-.368.266-.012.266"/></svg>';
|
|
2
|
+
const ApplescriptIcon = '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" width="16" height="16">\n <path fill="none" stroke="#c6d0f5" stroke-linecap="round" stroke-linejoin="round" d="M14.4561802 11.3673353C13.0276218 14.1261537 11.8858593 15.5 10.8437759 15.5 10.3588459 15.5 9.88231005 15.3491298 9.41749082 15.0543006 8.74000639 14.6241577 7.8668418 14.6059458 7.17068967 15.0074382 6.60881451 15.3319356 6.07177167 15.5 5.56305868 15.5 4.02887542 15.5 1.5 10.9491129 1.5 8.45090396 1.5 5.78581061 2.95006811 3.551507 5.15647301 3.551507 6.19383481 3.551507 7.09007204 4.20001691 7.84308619 4.497206 8.16210316 4.62512517 8.52255587 4.61592787 8.83410596 4.47192 9.44477141 4.18872223 10.2497236 3.551507 11.2503615 3.551507 12.4715175 3.551507 13.5338865 4.33779342 14.4184071 5.47479877 14.5532906 5.64778615 14.5172013 5.89341518 14.3377895 6.02349446 13.3500923 6.736546 12.8746057 7.53893969 12.8746057 8.45090396 12.8746057 9.36404821 13.3502672 10.1652619 14.3377895 10.8793249 14.4946576 10.992887 14.5445377 11.1984946 14.4561802 11.3673353ZM8.5 3C8.5 3 8.3468635 1.3936039 10 1" />\n</svg>\n';
|
|
3
|
+
const AssemblyIcon = '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" width="16" height="16">\n <rect width="8" height="13.001" x="4" y="1.499" fill="none" stroke="#c6d0f5" stroke-linecap="round" stroke-linejoin="round" rx="2.286" ry="2.286" />\n <path fill="none" stroke="#c6d0f5" stroke-linecap="round" stroke-linejoin="round" d="M 4,4.500025 H 1.5 M 4,7.9999993 H 1.5 M 4,11.499973 H 1.5 m 13,-6.999948 H 12 m 2.5,3.4999743 H 12 m 2.5,3.4999737 H 12" />\n</svg>\n';
|
|
4
|
+
const ClojureIcon = '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" width="16" height="16">\n <g fill="none" stroke-linecap="round" stroke-linejoin="round">\n <path stroke="#a6d189" d="M14.17 10.03A6.5 6.5 0 011.81 6.02" />\n <path stroke="#8caaee" d="M1.87 5.85A6.5 6.5 0 0114.22 9.9" />\n <path stroke="#a6d189" d="M6.36 4.9a3.5 3.5 0 103.41 6.12" />\n <path stroke="#8caaee" d="M9.77 11.02a3.5 3.5 0 00-3.03-6.29" />\n <path stroke="#c6d0f5" d="M8 7.5s-1.66 2.48-1.5 3.65" />\n <path stroke="#c6d0f5" d="M1.81 6.02C2.47 5 3.83 4.49 5 4.46c4.06 0 3 5.56 5.03 6.86 1.21.52 3.5-.21 4.15-1.32" />\n </g>\n</svg>\n';
|
|
5
|
+
const CobolIcon = '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" width="16" height="16">\n <path fill="none" stroke="#8caaee" stroke-linecap="round" stroke-linejoin="round" d="M6.74 2.24c.32-1.32 2.2-1.32 2.52 0a1.3 1.3 0 001.93.8c1.15-.7 2.48.62 1.77 1.77a1.3 1.3 0 00.8 1.93c1.32.32 1.32 2.2 0 2.52a1.3 1.3 0 00-.8 1.93c.7 1.15-.62 2.48-1.77 1.77a1.3 1.3 0 00-1.93.8c-.32 1.32-2.2 1.32-2.52 0a1.3 1.3 0 00-1.93-.8c-1.15.7-2.48-.62-1.77-1.77a1.3 1.3 0 00-.8-1.93c-1.32-.32-1.32-2.2 0-2.52a1.3 1.3 0 00.8-1.93c-.7-1.15.62-2.48 1.77-1.77a1.3 1.3 0 001.93-.8M10 6.5a2.5 2.5 0 100 3" />\n</svg>\n';
|
|
6
|
+
const CrystalIcon = '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" width="16" height="16">\n <path fill="none" stroke="#c6d0f5" stroke-linecap="round" stroke-linejoin="round" d="m 15.4712,10.050637 -5.433601,5.433968 c -0.015,0.01505 -0.04554,0.01505 -0.09055,0.01505 L 2.536327,13.517264 c -0.015,0 -0.04501,-0.01505 -0.06055,-0.06072 L 0.50026325,6.0396501 a 0.21432208,0.21495127 0 0 1 0.015,-0.090817 L 5.9483283,0.5154023 c 0.015,-0.0150465 0.04501,-0.0150465 0.09055,-0.0150465 l 7.4101857,1.997972 c 0.015,0 0.04501,0.015046 0.06055,0.060724 l 1.977121,7.4158186 c 0.03001,0.03063 0.01608,0.060724 -0.01554,0.07577 M 8.2121063,4.1480782 0.93801425,6.1154197 q -0.0225,0 0,0.04514 L 6.2655263,11.50371 c 0.015,0.01505 0.015,0 0.04501,0 l 1.962119,-7.2803988 c -0.03054,-0.075233 -0.06055,-0.075233 -0.06055,-0.075233" />\n</svg>\n';
|
|
7
|
+
const DartIcon = '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" width="16" height="16">\n <g fill="none" stroke="#85c1dc" stroke-linecap="round" stroke-linejoin="round">\n <path d="M7 14.5h4.5v-3h3V7L9.17 1.64c-.28-.29-.8-.47-1.17-.29L3.5 3.5 1.35 8c-.18.37 0 .88.3 1.17z" />\n <path d="M3.5 11V3.5H11m-7.5 0 8 8" />\n </g>\n</svg>\n';
|
|
8
|
+
const DlangIcon = '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32" width="16" height="16"><!-- Icon from VSCode Icons by Roberto Huertas - https://github.com/vscode-icons/vscode-icons/blob/master/LICENSE --><defs><linearGradient id="SVGMV3iTbAN" x1="185.455" x2="181.955" y1="1601.641" y2="1630.224" gradientTransform="translate(-62.523 -666.646)scale(.427)" gradientUnits="userSpaceOnUse"><stop offset="0" stop-color="#fff"/><stop offset="1" stop-color="#fff" stop-opacity="0"/></linearGradient><linearGradient id="SVGniw2Mvsa" x1="176.136" x2="172.636" y1="1600.5" y2="1629.083" href="#SVGMV3iTbAN"/></defs><path fill="#b03931" d="m3.978 15.462l-.009-6.953a.59.59 0 0 1 .531-.562h.076l6.074-.009a15.7 15.7 0 0 1 6.067.95a8.9 8.9 0 0 1 2.244 1.359a4.47 4.47 0 0 1 2.946-1.083a4.11 4.11 0 0 1 4.276 3.92A4.11 4.11 0 0 1 21.907 17c-.089 0-.177-.008-.265-.012a7 7 0 0 1-.232.953a85 85 0 0 1 8.59 2.6V2H2v13.4q.992.02 1.978.062m22.8-7.944a1.32 1.32 0 0 1 1.374 1.259a1.379 1.379 0 0 1-2.747 0a1.32 1.32 0 0 1 1.375-1.26Z"/><path fill="#b03931" d="M17.861 15.787a4.11 4.11 0 0 0-1.748-3.458a5.8 5.8 0 0 0-1.508-.822a7.4 7.4 0 0 0-1.629-.438a22 22 0 0 0-2.588-.1H7.769l.006 4.737a89 89 0 0 1 9.91 1.408a5 5 0 0 0 .176-1.327m3.132 3.192a7.9 7.9 0 0 1-2.128 2.582a9.7 9.7 0 0 1-3.256 1.71a11.6 11.6 0 0 1-1.971.472h-.015a32 32 0 0 1-3.326.111l-5.625.022a.616.616 0 0 1-.686-.681l-.01-7.734Q2.992 15.42 2 15.4V30h28v-9.456a85 85 0 0 0-8.59-2.6a7 7 0 0 1-.417 1.035"/><path fill="url(#SVGMV3iTbAN)" d="M20.993 18.979a7.9 7.9 0 0 1-2.128 2.582a9.7 9.7 0 0 1-3.256 1.71a11.6 11.6 0 0 1-1.971.472h-.015a32 32 0 0 1-3.326.111l-5.625.022a.616.616 0 0 1-.686-.681l-.01-7.734Q2.992 15.42 2 15.4V30h28v-9.456a85 85 0 0 0-8.59-2.6a7 7 0 0 1-.417 1.035" opacity=".3"/><path fill="#b03931" d="M10.477 20.835a16 16 0 0 0 2.877-.2a7.6 7.6 0 0 0 1.628-.5a5.6 5.6 0 0 0 1.187-.748a4.46 4.46 0 0 0 1.518-2.271a89 89 0 0 0-9.91-1.408l.006 5.133Z"/><path fill="url(#SVGniw2Mvsa)" d="M10.477 20.835a16 16 0 0 0 2.877-.2a7.6 7.6 0 0 0 1.628-.5a5.6 5.6 0 0 0 1.187-.748a4.46 4.46 0 0 0 1.518-2.271a89 89 0 0 0-9.91-1.408l.006 5.133Z" opacity=".3"/><path fill="#fff" d="M20.383 11.746a7 7 0 0 1 1.36 4.148a6.6 6.6 0 0 1-.1 1.1c.088 0 .176.012.265.012a4.11 4.11 0 0 0 4.276-3.92a4.11 4.11 0 0 0-4.276-3.92a4.47 4.47 0 0 0-2.946 1.083a8 8 0 0 1 1.421 1.497"/><ellipse cx="26.78" cy="8.777" fill="#fff" rx="1.374" ry="1.259"/><path fill="#fff" d="m4.673 23.877l5.625-.022a32 32 0 0 0 3.326-.111h.015a11.5 11.5 0 0 0 1.971-.472a9.7 9.7 0 0 0 3.256-1.71a7.9 7.9 0 0 0 2.128-2.582a7 7 0 0 0 .417-1.034a7 7 0 0 0 .332-2.051a7 7 0 0 0-1.36-4.148a8 8 0 0 0-1.421-1.5a8.9 8.9 0 0 0-2.244-1.359a15.7 15.7 0 0 0-6.067-.95l-6.074.009h-.076a.59.59 0 0 0-.532.562l.009 6.952l.01 7.734a.616.616 0 0 0 .685.682m3.1-12.908h2.619a22 22 0 0 1 2.588.1a7.4 7.4 0 0 1 1.629.438a5.8 5.8 0 0 1 1.508.822a4.12 4.12 0 0 1 1.748 3.458a5 5 0 0 1-.175 1.327a4.46 4.46 0 0 1-1.518 2.271a5.6 5.6 0 0 1-1.187.748a7.7 7.7 0 0 1-1.628.5a16 16 0 0 1-2.877.2H7.786L7.78 15.7Z"/></svg>';
|
|
9
|
+
const DockerIcon = '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" width="16" height="16">\n <path fill="none" stroke="#8caaee" stroke-linecap="round" stroke-linejoin="round" d="M.5 8.5H11l.75-.5a5.35 5.35 0 010-3.5c1 .6 1 1.88 1.74 2 .77-.09 1.23.01 2 .52 0 0-.97 1.77-2.5 1.98-1.93 3.65-4.5 5.5-6.98 5.5C0 14.5.5 8.5.5 8.5m1 0v-2m0 0h8m-6 2v-4m0 0h4m-2-2h2m-2 6v-6m2 6v-6m2 6v-2" />\n</svg>\n';
|
|
10
|
+
const ElixirIcon = '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" width="16" height="16">\n <path fill="none" stroke="#ca9ee6" stroke-linecap="round" stroke-linejoin="round" d="M8.03 14.5C5 14.5 3.5 12.49 3.5 10.01c0-2.82 2.25-7.02 4.62-8.48a.24.24 0 01.24 0c.08.04.12.12.11.2-.13 1.25.22 2.5.98 3.54.3.43.63.8 1.02 1.27.54.66.94 1.03 1.52 2.08l.01.02c.33.56.5 1.2.5 1.84 0 2.03-1.69 4.02-4.47 4.02" />\n</svg>\n';
|
|
11
|
+
const ErlangIcon = '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" width="16" height="16">\n <g fill="none" stroke="#e78284" stroke-linecap="round" stroke-linejoin="round">\n <path d="M6.5 5.5c0-1.25 1-2 2-2s2 .75 2 2z" />\n <path d="M13.5 13c.47-.57 1.12-1.24 1.5-2l-2.25-1.25c-.74 1.36-1.76 2.75-3.25 2.75-2.1 0-3-2.3-3-5h8c.05-1.61-.31-3.45-1-4.5M3 13c-1.08-1.3-1.5-3-1.5-5S2.1 4.24 3 3" />\n </g>\n</svg>\n';
|
|
12
|
+
const FortranIcon = '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" width="16" height="16">\n <path fill="none" stroke="#ca9ee6" stroke-linecap="round" stroke-linejoin="round" d="M7.5 14.5v-1l-1-1v-3h2l1 2h1v-6h-1l-1 2h-2v-4h5l1 3h1v-5h-11v1l1 1v9l-1 1.25v.75z" />\n</svg>\n';
|
|
13
|
+
const GroovyIcon = '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" width="16" height="16">\n <g fill="none" stroke="#85c1dc" stroke-linecap="round" stroke-linejoin="round">\n <path d="M11.68 5.38c.4.19.54.68 1.53 3.25 1 2.57-.92 4.07-.92 4.07s-6.73 2.47-6.73 1.63c-.18-.92-1.92-2.08-1.92-2.08s-.52-.63.06-.75c5.89-1.27 6.96-.61 7.3-2" />\n <path d="M7.38 10.63C2.62 10.88 2.48 8.08 2.5 8 3.6 4.6 9.24.91 10.8 1.58 14.07 3.04 9.2 8.96 7 8.5c-4.02-.83 1.5-4 1.5-4" />\n </g>\n</svg>\n';
|
|
14
|
+
const HaskellIcon = '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" width="16" height="16">\n <path fill="none" stroke="#ca9ee6" stroke-linecap="round" stroke-linejoin="round" d="M12.5 4.5h3m-1.5 3h1.5m-10 6 2.5-5-2.5-5H8l5.6 10h-2.53l-1.52-2.92L8 13.5zm-5 0 2.5-5-2.5-5H3l2.5 5-2.5 5z" />\n</svg>\n';
|
|
15
|
+
const JuliaIcon = '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" width="16" height="16">\n <g fill="none" stroke-linecap="round" stroke-linejoin="round">\n <path stroke="#a6d189" d="M10.5 5a2.5 2.5 0 11-5 0 2.5 2.5 0 015 0" />\n <path stroke="#e78284" d="M6.5 11a2.5 2.5 0 11-5 0 2.5 2.5 0 015 0" />\n <path stroke="#ca9ee6" d="M14.5 11a2.5 2.5 0 11-5 0 2.5 2.5 0 015 0" />\n </g>\n</svg>\n';
|
|
16
|
+
const LispIcon = '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" width="16" height="16">\n <g fill="none" stroke="#e78284" stroke-linecap="round" stroke-linejoin="round">\n <path d="M.5 5.06v6.07C.5 12.41.82 13 2.27 13h5.6c1.04 0 1.63-.51 1.63-1.62 0-.85-.2-1.88-1.5-1.88h-.36C6.4 9.5 6 8.77 6 7.75 6 6.81 6.8 6 7.49 6h2.68" />\n <path d="M3.5 10.5V4.99C3.5 3.89 3.62 3 5 3h9c.97 0 1.5.99 1.5 1.63.12 1.55-.98 1.62-2.1 2.16-.58.26-1.4.52-1.4.98V11" />\n </g>\n</svg>\n';
|
|
17
|
+
const LuaIcon = '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" width="16" height="16">\n <g fill="none" stroke-linecap="round" stroke-linejoin="round">\n <path stroke="#c6d0f5" d="M10.5 7A1.5 1.5 0 019 8.5 1.5 1.5 0 017.5 7 1.5 1.5 0 019 5.5 1.5 1.5 0 0110.5 7" />\n <path stroke="#8caaee" d="M7 2.5a6.5 6.5 0 100 13 6.5 6.5 0 000-13m7-2a1.5 1.5 0 100 3 1.5 1.5 0 000-3" />\n </g>\n</svg>\n';
|
|
18
|
+
const MatlabIcon = '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" width="16" height="16">\n <g fill="none" stroke-linecap="round" stroke-linejoin="round">\n <path stroke="#85c1dc" d="M4 11 .5 8.5 5 7q.78-1.77 1.89-1.89c.74-.07 1.94-1.28 3.61-3.61M5 7l1.5 1.5" />\n <path stroke="#ef9f76" d="m15.5 12.5-5-11C8.5 6.83 6.33 10 4 11c1.67-.33 2.67.83 3 3.5 3.5-1.5 3.5-3.5 5-4s1.5 1.5 3.5 2" />\n </g>\n</svg>\n';
|
|
19
|
+
const NimIcon = '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" width="16" height="16">\n <path fill="none" stroke="#e5c890" stroke-linecap="round" stroke-linejoin="round" d="M1 7 .5 4.5l1.01.67c.28-.27.47-.48 1.18-.85l.56-1.82L4.5 3.84c.77-.18 1.53-.36 2.4-.33L8 1.5l1.1 2.01c.87-.03 1.63.15 2.4.33l1.25-1.34.56 1.82c.7.37.9.58 1.18.85l1.01-.67L15 7m-1.5 1C13 6.5 11 5.5 8 5.5S3 6.5 2.5 8m11.5.75L13.5 8l-1 1.5-1.5.5-3-1.5L5 10l-1.5-.5-1-1.5-.5.75L1 7l1.25 3.75C3 12.75 6 13.5 8 13.5s5-.75 5.75-2.75L15 7z" />\n</svg>\n';
|
|
20
|
+
const ObjectivecIcon = '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32" width="16" height="16"><!-- Icon from VSCode Icons by Roberto Huertas - https://github.com/vscode-icons/vscode-icons/blob/master/LICENSE --><path fill="#c2c2c2" d="M11.29 15.976a8.9 8.9 0 0 0 1.039 4.557a4.82 4.82 0 0 0 5.579 2.13a3.79 3.79 0 0 0 2.734-3.181c.095-.535.1-.54.1-.54c1.537.222 4.014.582 5.55.8l-.1.389A9.96 9.96 0 0 1 23.8 24.9a8.35 8.35 0 0 1-4.747 2.378a12.93 12.93 0 0 1-7.322-.725a8.98 8.98 0 0 1-5.106-5.524A14.35 14.35 0 0 1 6.642 10.9a9.32 9.32 0 0 1 7.929-6.24a11.8 11.8 0 0 1 5.9.491a8.47 8.47 0 0 1 5.456 6.1c.083.311.1.369.1.369c-1.709.311-3.821.705-5.518 1.075c-.323-1.695-1.122-3.029-2.831-3.445a4.656 4.656 0 0 0-5.853 3.158a9 9 0 0 0-.341 1.273a11 11 0 0 0-.194 2.295"/><path fill="#c2c2c2" d="M2.033 30V2h5.934v2.227H4.723v23.546h3.244V30zm27.934-.001h-5.934v-2.228h3.244V4.226h-3.244V1.999h5.934z"/></svg>';
|
|
21
|
+
const ObjectivecppIcon = '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32" width="16" height="16"><!-- Icon from VSCode Icons by Roberto Huertas - https://github.com/vscode-icons/vscode-icons/blob/master/LICENSE --><path fill="#c2c2c2" d="M19.5 24.833a11.24 11.24 0 0 1-5.13 1.009a8.37 8.37 0 0 1-6.492-2.576A9.75 9.75 0 0 1 5.512 16.4a10.4 10.4 0 0 1 2.659-7.406a9.02 9.02 0 0 1 6.9-2.841a12.2 12.2 0 0 1 4.43.7v4.129a7.5 7.5 0 0 0-4.108-1.142a5.28 5.28 0 0 0-4.075 1.685A6.48 6.48 0 0 0 9.766 16.1a6.37 6.37 0 0 0 1.464 4.4a5.02 5.02 0 0 0 3.941 1.639a8.03 8.03 0 0 0 4.329-1.223Z"/><path fill="#c2c2c2" d="M16.572 15.081V13.24h1.841v1.841h1.84v1.84h-1.84v1.841h-1.841v-1.841h-1.839V15.08zm6.44 0V13.24h1.841v1.841h1.84v1.84h-1.84v1.841h-1.841v-1.841h-1.839V15.08zM2.035 30V2.001h5.933v2.227H4.725v23.545h3.243V30z"/><path fill="#c2c2c2" d="M29.965 29.999h-5.933v-2.228h3.243V4.227h-3.243V2h5.933z"/></svg>';
|
|
22
|
+
const OcamlIcon = '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" width="16" height="16">\n <g fill="none" stroke="#ef9f76" stroke-linecap="round" stroke-linejoin="round">\n <path d="M1.5 8V3c0-.83.67-1.5 1.5-1.5h10c.83 0 1.5.67 1.5 1.5v10c0 .83-.67 1.5-1.5 1.5H9" />\n <path d="m1.5 8 1.14-2.3q.09-.21.36-.24a.8.8 0 01.44.13c.18.12.23.53.28.64.06.1.64 1.23.85 1.23.2 0 .71-1.47.71-1.47s.37-.49.72-.49.55.32.67.49c.12.16.24 1.76.46 2.01s1.32.87 1.67.73c.34-.13.53-.4.63-.73.1-.34-.14-.75 0-1a1.1 1.1 0 011.02-.55c.56.03 2.05.56 2.05 1.05q0 .75-1.5.75c-.48 1.33.28 2.22-3 2.25l1 4" />\n <path d="m4.5 14.5 1.5-4 1 4zm-2 0 1.5-4-1.5-.5-1 1.54V14l1 .49Z" />\n </g>\n</svg>\n';
|
|
23
|
+
const PerlIcon = '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" width="16" height="16">\n <path fill="none" stroke="#8caaee" stroke-linecap="round" stroke-linejoin="round" d="M12.5 14.5v-3.34c-1-.66-1-1.35-1-2.66m-3 1 .02 2.53.98 2.47m-4-5v5m9 0V9.23s.17-1.73-1-1.73c0-1.5-.5-6-2.5-6S8.75 4.25 8.75 4.25A3.67 3.67 0 006.5 7.12v-3.5c0-.63-.85-1.32-1.5-1.32-.92 0-1.33.59-1.5 1.2H2.25c-.42.11-.75.59-.75 1 0 .5.28 1 .75 1h1.22l.02 3c.01.75.51 1 1.51 1h4.5" />\n</svg>\n';
|
|
24
|
+
const PrologIcon = '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" width="16" height="16">\n <path fill="none" stroke="#ef9f76" stroke-linecap="round" stroke-linejoin="round" d="M4.5 13.5c-.33.33-.5.67-.5 1s.17.67.5 1c.17-.67.5-1 1-1s.83.33 1 1c.33-.33.5-.83.5-1.5h2c0 .67.17 1.17.5 1.5.17-.67.5-1 1-1s.83.33 1 1c.33-.33.5-.67.5-1s-.17-.67-.5-1l1-1 1.25 1.25c0-2.75 1-2.75 1-5.75a7.1 7.1 0 00-2-5.25A3.64 3.64 0 0113 .5c-1.17 0-2 .42-2.5 1.25A3.08 3.08 0 008 .5c-1 0-1.83.42-2.5 1.25C5 .92 4.17.5 3 .5c.5.83.58 1.58.25 2.25a7.1 7.1 0 00-2 5.25c0 3 1 3 1 5.75L3.5 12.5zm6-5a2 2 0 100-4 2 2 0 000 4m-5 0a2 2 0 100-4 2 2 0 000 4M7 8l1 2.5L9 8m1.5-1.5" />\n</svg>\n';
|
|
25
|
+
const RIcon = '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" width="16" height="16">\n <g fill="none" stroke-linecap="round" stroke-linejoin="round">\n <path stroke="#838ba7" d="M13.5 9.5c.63-.7 1-1.54 1-2.43 0-2.52-2.91-4.57-6.5-4.57S1.5 4.55 1.5 7.07c0 1.9 1.65 3.53 4 4.22" />\n <path stroke="#8caaee" d="M10.5 9.5c.4 0 .86.34 1 .7l1 3.3m-5 0v-8h3.05c.95 0 1.95 1 1.95 2s-1 2-1.95 2H7.5Z" />\n </g>\n</svg>\n';
|
|
26
|
+
const ScalaIcon = '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" width="16" height="16">\n <path fill="none" stroke="#e78284" stroke-linecap="round" stroke-linejoin="round" d="m2.5 2.48 11-.98v3.04l-11 1zm0 5 11-.98v3.04l-11 1zm0 5 11-.98v3.04l-11 1z" />\n</svg>\n';
|
|
27
|
+
const SolidityIcon = '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" width="16" height="16">\n <path fill="none" stroke="#ca9ee6" stroke-linecap="round" stroke-linejoin="round" d="m3 11.5 2.5 4 2.5-4 2.5 4 2.5-4-2.5-4-2.5 4m2.5 4h-5m7.5-4H3m10-7-2.5-4-2.5 4-2.5-4-2.5 4 2.5 4 2.5-4M5.5.5h5M3 4.5h10" />\n</svg>\n';
|
|
28
|
+
const SwiftIcon = '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" width="16" height="16">\n <path fill="none" stroke="#ef9f76" stroke-linecap="round" stroke-linejoin="round" d="M14.34 10.2c.34-1.08 1.1-5.07-4.45-8.62a.48.48 0 00-.6.07.44.44 0 00-.02.6c.03.02 2.07 2.5 1.34 5.34-1.26-.86-6.24-4.81-6.24-4.81L7.25 7.5 1.9 4.05S5.68 8.7 8 10.45c-1.12.4-3.56.82-6.78-1.18a.48.48 0 00-.58.06.44.44 0 00-.08.56c.11.18 2.7 4.36 8.14 4.36 1.5 0 2.37-.42 3.08-.77.43-.2.77-.37 1.14-.37.93 0 1.54.92 1.54.93.1.14.27.22.44.21a.46.46 0 00.4-.28c.67-1.55-.49-3.2-.96-3.78h0Z" />\n</svg>\n';
|
|
29
|
+
const TerraformIcon = '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" width="16" height="16">\n <path fill="none" stroke="#ca9ee6" stroke-linecap="round" stroke-linejoin="round" d="m1.5 6 8 4.25 4-2.25m-12-2V1.5l8 4.25 4-2.25V8m-4-2.25v8.75M5.53 3.82 5.5 12.5l4 2" />\n</svg>\n';
|
|
30
|
+
const VbnetIcon = '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32" width="16" height="16"><!-- Icon from VSCode Icons by Roberto Huertas - https://github.com/vscode-icons/vscode-icons/blob/master/LICENSE --><path fill="#00519a" d="M6.67 7.836L9 18.915l2.336-11.079H16l-4.664 16.328H6.672L2 7.836Zm11.661 0h7.6a4.08 4.08 0 0 1 2.9 1.749a3.8 3.8 0 0 1 .571 2.04a4 4 0 0 1-.571 2.034a4.1 4.1 0 0 1-2.341 1.763a4.1 4.1 0 0 1 2.929 1.756a3.8 3.8 0 0 1 .58 2.1a4.66 4.66 0 0 1-.579 2.546a5.05 5.05 0 0 1-3.5 2.338h-7.589ZM23 14.252h1.166a1.754 1.754 0 0 0 0-3.5H23Zm0 7h1.39a2.047 2.047 0 0 0 0-4.089H23Z"/></svg>';
|
|
31
|
+
const EXTENDED_LANGUAGE_ICON_MAP = {
|
|
32
|
+
"r": RIcon,
|
|
33
|
+
"scala": ScalaIcon,
|
|
34
|
+
"swift": SwiftIcon,
|
|
35
|
+
"perl": PerlIcon,
|
|
36
|
+
"lua": LuaIcon,
|
|
37
|
+
"haskell": HaskellIcon,
|
|
38
|
+
"erlang": ErlangIcon,
|
|
39
|
+
"clojure": ClojureIcon,
|
|
40
|
+
"dart": DartIcon,
|
|
41
|
+
"assembly": AssemblyIcon,
|
|
42
|
+
"dockerfile": DockerIcon,
|
|
43
|
+
"fortran": FortranIcon,
|
|
44
|
+
"lisp": LispIcon,
|
|
45
|
+
"ocaml": OcamlIcon,
|
|
46
|
+
"prolog": PrologIcon,
|
|
47
|
+
"groovy": GroovyIcon,
|
|
48
|
+
"matlab": MatlabIcon,
|
|
49
|
+
"cobol": CobolIcon,
|
|
50
|
+
"ada": AdaIcon,
|
|
51
|
+
"julia": JuliaIcon,
|
|
52
|
+
"elixir": ElixirIcon,
|
|
53
|
+
"vb.net": VbnetIcon,
|
|
54
|
+
"nim": NimIcon,
|
|
55
|
+
"crystal": CrystalIcon,
|
|
56
|
+
"dlang": DlangIcon,
|
|
57
|
+
"applescript": ApplescriptIcon,
|
|
58
|
+
"solidity": SolidityIcon,
|
|
59
|
+
"objectivec": ObjectivecIcon,
|
|
60
|
+
"objectivecpp": ObjectivecppIcon,
|
|
61
|
+
"terraform": TerraformIcon
|
|
62
|
+
};
|
|
63
|
+
export {
|
|
64
|
+
EXTENDED_LANGUAGE_ICON_MAP
|
|
65
|
+
};
|