@covalent/components 8.15.0-beta.5 → 8.15.0-beta.7
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/cell.js +2 -2
- package/cell.mjs +2 -2
- package/code-editor/code-editor.d.ts +23 -1
- package/code-editor/code-editor.d.ts.map +1 -1
- package/code-editor-3a09cbf1.js +732 -0
- package/{code-editor-50658551.mjs → code-editor-ce557bd5.mjs} +14343 -47224
- package/code-editor.js +1 -1
- package/code-editor.mjs +1 -1
- package/{html-e9028ad1.js → html-4fffc46e.js} +1 -1
- package/{html-201c3d5b.mjs → html-783f1e7c.mjs} +1 -1
- package/index.js +1 -1
- package/index.mjs +1 -1
- package/{javascript-b57f3bab.mjs → javascript-4d09cd3c.mjs} +2 -2
- package/{javascript-3c211951.js → javascript-90bb18e6.js} +1 -1
- package/notebook/notebook.d.ts.map +1 -1
- package/notebook.js +4 -4
- package/notebook.mjs +40 -33
- package/package.json +1 -1
- package/{python-fc06c865.mjs → python-562f8e9b.mjs} +1 -1
- package/{python-bc49c081.js → python-af3aad7d.js} +1 -1
- package/style.css +1 -1
- package/{typescript-40210801.js → typescript-76d039b3.js} +1 -1
- package/{typescript-43c5c20d.mjs → typescript-a2a5d6b2.mjs} +1 -1
- package/{xml-fa896994.mjs → xml-89571455.mjs} +1 -1
- package/{xml-7bc2fc7c.js → xml-e66929d0.js} +1 -1
- package/{yaml-ed9aa786.js → yaml-11a91e71.js} +1 -1
- package/{yaml-78bd2cbe.mjs → yaml-4eccd122.mjs} +1 -1
- package/abap-1354785f.mjs +0 -1314
- package/abap-c7187853.js +0 -6
- package/apex-279d4f27.mjs +0 -315
- package/apex-fc5f2b3e.js +0 -6
- package/azcli-ba812c55.mjs +0 -74
- package/azcli-eb191d91.js +0 -6
- package/bat-34d38df4.js +0 -6
- package/bat-4d77495d.mjs +0 -95
- package/bicep-7b240724.mjs +0 -108
- package/bicep-a8264e77.js +0 -7
- package/cameligo-5d2daeb8.mjs +0 -168
- package/cameligo-6e71c8f3.js +0 -6
- package/clojure-355adae1.js +0 -6
- package/clojure-b7ea12a3.mjs +0 -754
- package/code-editor-1a85e0d5.js +0 -1200
- package/coffee-1a8cfbf4.mjs +0 -228
- package/coffee-fd8a7421.js +0 -6
- package/csp-54919de0.js +0 -6
- package/csp-96407af0.mjs +0 -57
- package/cssMode-2b74fdc2.mjs +0 -1450
- package/cssMode-9d3a459c.js +0 -9
- package/cypher-11e5a4b6.mjs +0 -262
- package/cypher-cc849b67.js +0 -6
- package/dockerfile-2f8684f7.js +0 -6
- package/dockerfile-8739cff7.mjs +0 -132
- package/ecl-68a6f20f.js +0 -6
- package/ecl-a20c5155.mjs +0 -454
- package/elixir-32cc668e.js +0 -6
- package/elixir-8b028584.mjs +0 -467
- package/flow9-0dea2e73.mjs +0 -141
- package/flow9-1d2ab5f6.js +0 -6
- package/freemarker2-bde9aca2.js +0 -8
- package/freemarker2-cfbd8857.mjs +0 -648
- package/fsharp-49a70fad.mjs +0 -210
- package/fsharp-a22f5013.js +0 -6
- package/graphql-1a14eb34.js +0 -6
- package/graphql-51a577e5.mjs +0 -141
- package/handlebars-c9cf3ba5.mjs +0 -396
- package/handlebars-f9941f98.js +0 -6
- package/hcl-0833427e.js +0 -6
- package/hcl-56b85754.mjs +0 -177
- package/htmlMode-81e069aa.mjs +0 -1460
- package/htmlMode-8825beb1.js +0 -9
- package/ini-1d58d82f.mjs +0 -68
- package/ini-34a929df.js +0 -6
- package/jsonMode-1e42d08e.mjs +0 -1871
- package/jsonMode-8cd3f8b9.js +0 -11
- package/julia-7db1fb9a.js +0 -6
- package/julia-a0caf483.mjs +0 -496
- package/less-5219eae1.js +0 -7
- package/less-718543b4.mjs +0 -168
- package/lexon-5e6e7a44.mjs +0 -151
- package/lexon-dfd683ab.js +0 -6
- package/liquid-987381d2.mjs +0 -243
- package/liquid-c3f3aaaf.js +0 -6
- package/m3-87473279.js +0 -6
- package/m3-aadaf771.mjs +0 -210
- package/mips-161e49ce.mjs +0 -194
- package/mips-82a1ce59.js +0 -6
- package/msdax-b3b5017e.js +0 -6
- package/msdax-f65cb1e6.mjs +0 -377
- package/mysql-24549dd1.mjs +0 -875
- package/mysql-69f1c589.js +0 -6
- package/objective-c-c8319b65.js +0 -6
- package/objective-c-e129a5ca.mjs +0 -188
- package/pascal-4ccdf5ce.mjs +0 -245
- package/pascal-e5207a08.js +0 -6
- package/pascaligo-8eb79945.js +0 -6
- package/pascaligo-a9603dcd.mjs +0 -158
- package/perl-ba1fb97a.mjs +0 -599
- package/perl-e8264c91.js +0 -6
- package/pgsql-89978310.mjs +0 -843
- package/pgsql-c8ba6faf.js +0 -6
- package/pla-96c2695d.mjs +0 -131
- package/pla-c85b0e59.js +0 -6
- package/postiats-3c2c478e.js +0 -6
- package/postiats-7b52ebac.mjs +0 -544
- package/powerquery-8954ec26.mjs +0 -890
- package/powerquery-b0d5f9e4.js +0 -6
- package/powershell-cdb88123.js +0 -6
- package/powershell-f00d0274.mjs +0 -233
- package/protobuf-3eb85f80.mjs +0 -422
- package/protobuf-a3b2ca94.js +0 -7
- package/pug-6fab415a.mjs +0 -393
- package/pug-c5df821d.js +0 -6
- package/qsharp-4792f872.mjs +0 -282
- package/qsharp-7eddb7b9.js +0 -6
- package/razor-52a04ea4.mjs +0 -517
- package/razor-90572182.js +0 -6
- package/redis-0d0a89dd.js +0 -6
- package/redis-276b8288.mjs +0 -298
- package/redshift-520a7359.mjs +0 -806
- package/redshift-b6bdaeca.js +0 -6
- package/restructuredtext-4676a3fc.mjs +0 -162
- package/restructuredtext-c83d56ed.js +0 -6
- package/ruby-764137cd.mjs +0 -444
- package/ruby-96103dcf.js +0 -6
- package/sb-8c22f14c.mjs +0 -110
- package/sb-e2701210.js +0 -6
- package/scheme-b9cbf7cb.js +0 -6
- package/scheme-e6a52cb0.mjs +0 -114
- package/scss-45104c77.mjs +0 -244
- package/scss-d0f4f80e.js +0 -8
- package/solidity-d4979008.mjs +0 -1351
- package/solidity-f1319e8a.js +0 -6
- package/sophia-21995caf.mjs +0 -190
- package/sophia-a1ce907f.js +0 -6
- package/sparql-5088743c.mjs +0 -193
- package/sparql-98d9e092.js +0 -6
- package/st-122893c4.js +0 -6
- package/st-fa9ab362.mjs +0 -414
- package/systemverilog-8139818b.js +0 -6
- package/systemverilog-a4f858ed.mjs +0 -556
- package/tcl-8adf937f.mjs +0 -232
- package/tcl-e49fed0b.js +0 -6
- package/tsMode-d31816b7.js +0 -16
- package/tsMode-f63ee283.mjs +0 -794
- package/twig-404eb73e.mjs +0 -323
- package/twig-4bfb5b04.js +0 -6
- package/vb-8dfd000c.js +0 -6
- package/vb-e21e8153.mjs +0 -364
package/jsonMode-8cd3f8b9.js
DELETED
@@ -1,11 +0,0 @@
|
|
1
|
-
"use strict";var st=Object.defineProperty;var ot=(e,n,i)=>n in e?st(e,n,{enumerable:!0,configurable:!0,writable:!0,value:i}):e[n]=i;var S=(e,n,i)=>(ot(e,typeof n!="symbol"?n+"":n,i),i);Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const ut=require("./code-editor-1a85e0d5.js");require("./query-assigned-elements-f623705d.js");require("./property-57f6f6fe.js");require("./async-directive-4a34f75e.js");require("./directive-helpers-0ce1f995.js");require("./directive-1186bc23.js");/*!-----------------------------------------------------------------------------
|
2
|
-
* Copyright (c) Microsoft Corporation. All rights reserved.
|
3
|
-
* Version: 0.34.1(547870b6881302c5b4ff32173c16d06009e3588f)
|
4
|
-
* Released under the MIT license
|
5
|
-
* https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt
|
6
|
-
*-----------------------------------------------------------------------------*/var ct=Object.defineProperty,dt=Object.getOwnPropertyDescriptor,ft=Object.getOwnPropertyNames,lt=Object.prototype.hasOwnProperty,ue=(e,n,i,r)=>{if(n&&typeof n=="object"||typeof n=="function")for(let t of ft(n))!lt.call(e,t)&&t!==i&&ct(e,t,{get:()=>n[t],enumerable:!(r=dt(n,t))||r.enumerable});return e},gt=(e,n,i)=>(ue(e,n,"default"),i&&ue(i,n,"default")),l={};gt(l,ut.monaco_editor_core_star);var ht=2*60*1e3,Be=class{constructor(e){S(this,"_defaults");S(this,"_idleCheckInterval");S(this,"_lastUsedTime");S(this,"_configChangeListener");S(this,"_worker");S(this,"_client");this._defaults=e,this._worker=null,this._client=null,this._idleCheckInterval=window.setInterval(()=>this._checkIfIdle(),30*1e3),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(){if(!this._worker)return;Date.now()-this._lastUsedTime>ht&&this._stopWorker()}_getClient(){return this._lastUsedTime=Date.now(),this._client||(this._worker=l.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 n;return this._getClient().then(i=>{n=i}).then(i=>{if(this._worker)return this._worker.withSyncedResources(e)}).then(i=>n)}},ce;(function(e){e.MIN_VALUE=-2147483648,e.MAX_VALUE=2147483647})(ce||(ce={}));var Y;(function(e){e.MIN_VALUE=0,e.MAX_VALUE=2147483647})(Y||(Y={}));var T;(function(e){function n(r,t){return r===Number.MAX_VALUE&&(r=Y.MAX_VALUE),t===Number.MAX_VALUE&&(t=Y.MAX_VALUE),{line:r,character:t}}e.create=n;function i(r){var t=r;return o.objectLiteral(t)&&o.uinteger(t.line)&&o.uinteger(t.character)}e.is=i})(T||(T={}));var _;(function(e){function n(r,t,a,s){if(o.uinteger(r)&&o.uinteger(t)&&o.uinteger(a)&&o.uinteger(s))return{start:T.create(r,t),end:T.create(a,s)};if(T.is(r)&&T.is(t))return{start:r,end:t};throw new Error("Range#create called with invalid arguments["+r+", "+t+", "+a+", "+s+"]")}e.create=n;function i(r){var t=r;return o.objectLiteral(t)&&T.is(t.start)&&T.is(t.end)}e.is=i})(_||(_={}));var te;(function(e){function n(r,t){return{uri:r,range:t}}e.create=n;function i(r){var t=r;return o.defined(t)&&_.is(t.range)&&(o.string(t.uri)||o.undefined(t.uri))}e.is=i})(te||(te={}));var de;(function(e){function n(r,t,a,s){return{targetUri:r,targetRange:t,targetSelectionRange:a,originSelectionRange:s}}e.create=n;function i(r){var t=r;return o.defined(t)&&_.is(t.targetRange)&&o.string(t.targetUri)&&(_.is(t.targetSelectionRange)||o.undefined(t.targetSelectionRange))&&(_.is(t.originSelectionRange)||o.undefined(t.originSelectionRange))}e.is=i})(de||(de={}));var re;(function(e){function n(r,t,a,s){return{red:r,green:t,blue:a,alpha:s}}e.create=n;function i(r){var t=r;return o.numberRange(t.red,0,1)&&o.numberRange(t.green,0,1)&&o.numberRange(t.blue,0,1)&&o.numberRange(t.alpha,0,1)}e.is=i})(re||(re={}));var fe;(function(e){function n(r,t){return{range:r,color:t}}e.create=n;function i(r){var t=r;return _.is(t.range)&&re.is(t.color)}e.is=i})(fe||(fe={}));var le;(function(e){function n(r,t,a){return{label:r,textEdit:t,additionalTextEdits:a}}e.create=n;function i(r){var t=r;return o.string(t.label)&&(o.undefined(t.textEdit)||P.is(t))&&(o.undefined(t.additionalTextEdits)||o.typedArray(t.additionalTextEdits,P.is))}e.is=i})(le||(le={}));var U;(function(e){e.Comment="comment",e.Imports="imports",e.Region="region"})(U||(U={}));var ge;(function(e){function n(r,t,a,s,u){var c={startLine:r,endLine:t};return o.defined(a)&&(c.startCharacter=a),o.defined(s)&&(c.endCharacter=s),o.defined(u)&&(c.kind=u),c}e.create=n;function i(r){var t=r;return o.uinteger(t.startLine)&&o.uinteger(t.startLine)&&(o.undefined(t.startCharacter)||o.uinteger(t.startCharacter))&&(o.undefined(t.endCharacter)||o.uinteger(t.endCharacter))&&(o.undefined(t.kind)||o.string(t.kind))}e.is=i})(ge||(ge={}));var ne;(function(e){function n(r,t){return{location:r,message:t}}e.create=n;function i(r){var t=r;return o.defined(t)&&te.is(t.location)&&o.string(t.message)}e.is=i})(ne||(ne={}));var N;(function(e){e.Error=1,e.Warning=2,e.Information=3,e.Hint=4})(N||(N={}));var he;(function(e){e.Unnecessary=1,e.Deprecated=2})(he||(he={}));var ve;(function(e){function n(i){var r=i;return r!=null&&o.string(r.href)}e.is=n})(ve||(ve={}));var $;(function(e){function n(r,t,a,s,u,c){var d={range:r,message:t};return o.defined(a)&&(d.severity=a),o.defined(s)&&(d.code=s),o.defined(u)&&(d.source=u),o.defined(c)&&(d.relatedInformation=c),d}e.create=n;function i(r){var t,a=r;return o.defined(a)&&_.is(a.range)&&o.string(a.message)&&(o.number(a.severity)||o.undefined(a.severity))&&(o.integer(a.code)||o.string(a.code)||o.undefined(a.code))&&(o.undefined(a.codeDescription)||o.string((t=a.codeDescription)===null||t===void 0?void 0:t.href))&&(o.string(a.source)||o.undefined(a.source))&&(o.undefined(a.relatedInformation)||o.typedArray(a.relatedInformation,ne.is))}e.is=i})($||($={}));var H;(function(e){function n(r,t){for(var a=[],s=2;s<arguments.length;s++)a[s-2]=arguments[s];var u={title:r,command:t};return o.defined(a)&&a.length>0&&(u.arguments=a),u}e.create=n;function i(r){var t=r;return o.defined(t)&&o.string(t.title)&&o.string(t.command)}e.is=i})(H||(H={}));var P;(function(e){function n(a,s){return{range:a,newText:s}}e.replace=n;function i(a,s){return{range:{start:a,end:a},newText:s}}e.insert=i;function r(a){return{range:a,newText:""}}e.del=r;function t(a){var s=a;return o.objectLiteral(s)&&o.string(s.newText)&&_.is(s.range)}e.is=t})(P||(P={}));var j;(function(e){function n(r,t,a){var s={label:r};return t!==void 0&&(s.needsConfirmation=t),a!==void 0&&(s.description=a),s}e.create=n;function i(r){var t=r;return t!==void 0&&o.objectLiteral(t)&&o.string(t.label)&&(o.boolean(t.needsConfirmation)||t.needsConfirmation===void 0)&&(o.string(t.description)||t.description===void 0)}e.is=i})(j||(j={}));var w;(function(e){function n(i){var r=i;return typeof r=="string"}e.is=n})(w||(w={}));var D;(function(e){function n(a,s,u){return{range:a,newText:s,annotationId:u}}e.replace=n;function i(a,s,u){return{range:{start:a,end:a},newText:s,annotationId:u}}e.insert=i;function r(a,s){return{range:a,newText:"",annotationId:s}}e.del=r;function t(a){var s=a;return P.is(s)&&(j.is(s.annotationId)||w.is(s.annotationId))}e.is=t})(D||(D={}));var G;(function(e){function n(r,t){return{textDocument:r,edits:t}}e.create=n;function i(r){var t=r;return o.defined(t)&&Q.is(t.textDocument)&&Array.isArray(t.edits)}e.is=i})(G||(G={}));var z;(function(e){function n(r,t,a){var s={kind:"create",uri:r};return t!==void 0&&(t.overwrite!==void 0||t.ignoreIfExists!==void 0)&&(s.options=t),a!==void 0&&(s.annotationId=a),s}e.create=n;function i(r){var t=r;return t&&t.kind==="create"&&o.string(t.uri)&&(t.options===void 0||(t.options.overwrite===void 0||o.boolean(t.options.overwrite))&&(t.options.ignoreIfExists===void 0||o.boolean(t.options.ignoreIfExists)))&&(t.annotationId===void 0||w.is(t.annotationId))}e.is=i})(z||(z={}));var q;(function(e){function n(r,t,a,s){var u={kind:"rename",oldUri:r,newUri:t};return a!==void 0&&(a.overwrite!==void 0||a.ignoreIfExists!==void 0)&&(u.options=a),s!==void 0&&(u.annotationId=s),u}e.create=n;function i(r){var t=r;return t&&t.kind==="rename"&&o.string(t.oldUri)&&o.string(t.newUri)&&(t.options===void 0||(t.options.overwrite===void 0||o.boolean(t.options.overwrite))&&(t.options.ignoreIfExists===void 0||o.boolean(t.options.ignoreIfExists)))&&(t.annotationId===void 0||w.is(t.annotationId))}e.is=i})(q||(q={}));var B;(function(e){function n(r,t,a){var s={kind:"delete",uri:r};return t!==void 0&&(t.recursive!==void 0||t.ignoreIfNotExists!==void 0)&&(s.options=t),a!==void 0&&(s.annotationId=a),s}e.create=n;function i(r){var t=r;return t&&t.kind==="delete"&&o.string(t.uri)&&(t.options===void 0||(t.options.recursive===void 0||o.boolean(t.options.recursive))&&(t.options.ignoreIfNotExists===void 0||o.boolean(t.options.ignoreIfNotExists)))&&(t.annotationId===void 0||w.is(t.annotationId))}e.is=i})(B||(B={}));var ie;(function(e){function n(i){var r=i;return r&&(r.changes!==void 0||r.documentChanges!==void 0)&&(r.documentChanges===void 0||r.documentChanges.every(function(t){return o.string(t.kind)?z.is(t)||q.is(t)||B.is(t):G.is(t)}))}e.is=n})(ie||(ie={}));var J=function(){function e(n,i){this.edits=n,this.changeAnnotations=i}return e.prototype.insert=function(n,i,r){var t,a;if(r===void 0?t=P.insert(n,i):w.is(r)?(a=r,t=D.insert(n,i,r)):(this.assertChangeAnnotations(this.changeAnnotations),a=this.changeAnnotations.manage(r),t=D.insert(n,i,a)),this.edits.push(t),a!==void 0)return a},e.prototype.replace=function(n,i,r){var t,a;if(r===void 0?t=P.replace(n,i):w.is(r)?(a=r,t=D.replace(n,i,r)):(this.assertChangeAnnotations(this.changeAnnotations),a=this.changeAnnotations.manage(r),t=D.replace(n,i,a)),this.edits.push(t),a!==void 0)return a},e.prototype.delete=function(n,i){var r,t;if(i===void 0?r=P.del(n):w.is(i)?(t=i,r=D.del(n,i)):(this.assertChangeAnnotations(this.changeAnnotations),t=this.changeAnnotations.manage(i),r=D.del(n,t)),this.edits.push(r),t!==void 0)return t},e.prototype.add=function(n){this.edits.push(n)},e.prototype.all=function(){return this.edits},e.prototype.clear=function(){this.edits.splice(0,this.edits.length)},e.prototype.assertChangeAnnotations=function(n){if(n===void 0)throw new Error("Text edit change is not configured to manage change annotations.")},e}(),pe=function(){function e(n){this._annotations=n===void 0?Object.create(null):n,this._counter=0,this._size=0}return e.prototype.all=function(){return this._annotations},Object.defineProperty(e.prototype,"size",{get:function(){return this._size},enumerable:!1,configurable:!0}),e.prototype.manage=function(n,i){var r;if(w.is(n)?r=n:(r=this.nextId(),i=n),this._annotations[r]!==void 0)throw new Error("Id "+r+" is already in use.");if(i===void 0)throw new Error("No annotation provided for id "+r);return this._annotations[r]=i,this._size++,r},e.prototype.nextId=function(){return this._counter++,this._counter.toString()},e}();(function(){function e(n){var i=this;this._textEditChanges=Object.create(null),n!==void 0?(this._workspaceEdit=n,n.documentChanges?(this._changeAnnotations=new pe(n.changeAnnotations),n.changeAnnotations=this._changeAnnotations.all(),n.documentChanges.forEach(function(r){if(G.is(r)){var t=new J(r.edits,i._changeAnnotations);i._textEditChanges[r.textDocument.uri]=t}})):n.changes&&Object.keys(n.changes).forEach(function(r){var t=new J(n.changes[r]);i._textEditChanges[r]=t})):this._workspaceEdit={}}return Object.defineProperty(e.prototype,"edit",{get:function(){return this.initDocumentChanges(),this._changeAnnotations!==void 0&&(this._changeAnnotations.size===0?this._workspaceEdit.changeAnnotations=void 0:this._workspaceEdit.changeAnnotations=this._changeAnnotations.all()),this._workspaceEdit},enumerable:!1,configurable:!0}),e.prototype.getTextEditChange=function(n){if(Q.is(n)){if(this.initDocumentChanges(),this._workspaceEdit.documentChanges===void 0)throw new Error("Workspace edit is not configured for document changes.");var i={uri:n.uri,version:n.version},r=this._textEditChanges[i.uri];if(!r){var t=[],a={textDocument:i,edits:t};this._workspaceEdit.documentChanges.push(a),r=new J(t,this._changeAnnotations),this._textEditChanges[i.uri]=r}return r}else{if(this.initChanges(),this._workspaceEdit.changes===void 0)throw new Error("Workspace edit is not configured for normal text edit changes.");var r=this._textEditChanges[n];if(!r){var t=[];this._workspaceEdit.changes[n]=t,r=new J(t),this._textEditChanges[n]=r}return r}},e.prototype.initDocumentChanges=function(){this._workspaceEdit.documentChanges===void 0&&this._workspaceEdit.changes===void 0&&(this._changeAnnotations=new pe,this._workspaceEdit.documentChanges=[],this._workspaceEdit.changeAnnotations=this._changeAnnotations.all())},e.prototype.initChanges=function(){this._workspaceEdit.documentChanges===void 0&&this._workspaceEdit.changes===void 0&&(this._workspaceEdit.changes=Object.create(null))},e.prototype.createFile=function(n,i,r){if(this.initDocumentChanges(),this._workspaceEdit.documentChanges===void 0)throw new Error("Workspace edit is not configured for document changes.");var t;j.is(i)||w.is(i)?t=i:r=i;var a,s;if(t===void 0?a=z.create(n,r):(s=w.is(t)?t:this._changeAnnotations.manage(t),a=z.create(n,r,s)),this._workspaceEdit.documentChanges.push(a),s!==void 0)return s},e.prototype.renameFile=function(n,i,r,t){if(this.initDocumentChanges(),this._workspaceEdit.documentChanges===void 0)throw new Error("Workspace edit is not configured for document changes.");var a;j.is(r)||w.is(r)?a=r:t=r;var s,u;if(a===void 0?s=q.create(n,i,t):(u=w.is(a)?a:this._changeAnnotations.manage(a),s=q.create(n,i,t,u)),this._workspaceEdit.documentChanges.push(s),u!==void 0)return u},e.prototype.deleteFile=function(n,i,r){if(this.initDocumentChanges(),this._workspaceEdit.documentChanges===void 0)throw new Error("Workspace edit is not configured for document changes.");var t;j.is(i)||w.is(i)?t=i:r=i;var a,s;if(t===void 0?a=B.create(n,r):(s=w.is(t)?t:this._changeAnnotations.manage(t),a=B.create(n,r,s)),this._workspaceEdit.documentChanges.push(a),s!==void 0)return s},e})();var me;(function(e){function n(r){return{uri:r}}e.create=n;function i(r){var t=r;return o.defined(t)&&o.string(t.uri)}e.is=i})(me||(me={}));var _e;(function(e){function n(r,t){return{uri:r,version:t}}e.create=n;function i(r){var t=r;return o.defined(t)&&o.string(t.uri)&&o.integer(t.version)}e.is=i})(_e||(_e={}));var Q;(function(e){function n(r,t){return{uri:r,version:t}}e.create=n;function i(r){var t=r;return o.defined(t)&&o.string(t.uri)&&(t.version===null||o.integer(t.version))}e.is=i})(Q||(Q={}));var ke;(function(e){function n(r,t,a,s){return{uri:r,languageId:t,version:a,text:s}}e.create=n;function i(r){var t=r;return o.defined(t)&&o.string(t.uri)&&o.string(t.languageId)&&o.integer(t.version)&&o.string(t.text)}e.is=i})(ke||(ke={}));var X;(function(e){e.PlainText="plaintext",e.Markdown="markdown"})(X||(X={}));(function(e){function n(i){var r=i;return r===e.PlainText||r===e.Markdown}e.is=n})(X||(X={}));var ae;(function(e){function n(i){var r=i;return o.objectLiteral(i)&&X.is(r.kind)&&o.string(r.value)}e.is=n})(ae||(ae={}));var p;(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})(p||(p={}));var se;(function(e){e.PlainText=1,e.Snippet=2})(se||(se={}));var we;(function(e){e.Deprecated=1})(we||(we={}));var be;(function(e){function n(r,t,a){return{newText:r,insert:t,replace:a}}e.create=n;function i(r){var t=r;return t&&o.string(t.newText)&&_.is(t.insert)&&_.is(t.replace)}e.is=i})(be||(be={}));var Ce;(function(e){e.asIs=1,e.adjustIndentation=2})(Ce||(Ce={}));var Ee;(function(e){function n(i){return{label:i}}e.create=n})(Ee||(Ee={}));var Ae;(function(e){function n(i,r){return{items:i||[],isIncomplete:!!r}}e.create=n})(Ae||(Ae={}));var Z;(function(e){function n(r){return r.replace(/[\\`*_{}[\]()#+\-.!]/g,"\\$&")}e.fromPlainText=n;function i(r){var t=r;return o.string(t)||o.objectLiteral(t)&&o.string(t.language)&&o.string(t.value)}e.is=i})(Z||(Z={}));var Se;(function(e){function n(i){var r=i;return!!r&&o.objectLiteral(r)&&(ae.is(r.contents)||Z.is(r.contents)||o.typedArray(r.contents,Z.is))&&(i.range===void 0||_.is(i.range))}e.is=n})(Se||(Se={}));var ye;(function(e){function n(i,r){return r?{label:i,documentation:r}:{label:i}}e.create=n})(ye||(ye={}));var Ie;(function(e){function n(i,r){for(var t=[],a=2;a<arguments.length;a++)t[a-2]=arguments[a];var s={label:i};return o.defined(r)&&(s.documentation=r),o.defined(t)?s.parameters=t:s.parameters=[],s}e.create=n})(Ie||(Ie={}));var V;(function(e){e.Text=1,e.Read=2,e.Write=3})(V||(V={}));var Te;(function(e){function n(i,r){var t={range:i};return o.number(r)&&(t.kind=r),t}e.create=n})(Te||(Te={}));var m;(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})(m||(m={}));var De;(function(e){e.Deprecated=1})(De||(De={}));var Pe;(function(e){function n(i,r,t,a,s){var u={name:i,kind:r,location:{uri:a,range:t}};return s&&(u.containerName=s),u}e.create=n})(Pe||(Pe={}));var Re;(function(e){function n(r,t,a,s,u,c){var d={name:r,detail:t,kind:a,range:s,selectionRange:u};return c!==void 0&&(d.children=c),d}e.create=n;function i(r){var t=r;return t&&o.string(t.name)&&o.number(t.kind)&&_.is(t.range)&&_.is(t.selectionRange)&&(t.detail===void 0||o.string(t.detail))&&(t.deprecated===void 0||o.boolean(t.deprecated))&&(t.children===void 0||Array.isArray(t.children))&&(t.tags===void 0||Array.isArray(t.tags))}e.is=i})(Re||(Re={}));var Me;(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"})(Me||(Me={}));var Le;(function(e){function n(r,t){var a={diagnostics:r};return t!=null&&(a.only=t),a}e.create=n;function i(r){var t=r;return o.defined(t)&&o.typedArray(t.diagnostics,$.is)&&(t.only===void 0||o.typedArray(t.only,o.string))}e.is=i})(Le||(Le={}));var Ne;(function(e){function n(r,t,a){var s={title:r},u=!0;return typeof t=="string"?(u=!1,s.kind=t):H.is(t)?s.command=t:s.edit=t,u&&a!==void 0&&(s.kind=a),s}e.create=n;function i(r){var t=r;return t&&o.string(t.title)&&(t.diagnostics===void 0||o.typedArray(t.diagnostics,$.is))&&(t.kind===void 0||o.string(t.kind))&&(t.edit!==void 0||t.command!==void 0)&&(t.command===void 0||H.is(t.command))&&(t.isPreferred===void 0||o.boolean(t.isPreferred))&&(t.edit===void 0||ie.is(t.edit))}e.is=i})(Ne||(Ne={}));var Oe;(function(e){function n(r,t){var a={range:r};return o.defined(t)&&(a.data=t),a}e.create=n;function i(r){var t=r;return o.defined(t)&&_.is(t.range)&&(o.undefined(t.command)||H.is(t.command))}e.is=i})(Oe||(Oe={}));var je;(function(e){function n(r,t){return{tabSize:r,insertSpaces:t}}e.create=n;function i(r){var t=r;return o.defined(t)&&o.uinteger(t.tabSize)&&o.boolean(t.insertSpaces)}e.is=i})(je||(je={}));var xe;(function(e){function n(r,t,a){return{range:r,target:t,data:a}}e.create=n;function i(r){var t=r;return o.defined(t)&&_.is(t.range)&&(o.undefined(t.target)||o.string(t.target))}e.is=i})(xe||(xe={}));var Fe;(function(e){function n(r,t){return{range:r,parent:t}}e.create=n;function i(r){var t=r;return t!==void 0&&_.is(t.range)&&(t.parent===void 0||e.is(t.parent))}e.is=i})(Fe||(Fe={}));var We;(function(e){function n(a,s,u,c){return new vt(a,s,u,c)}e.create=n;function i(a){var s=a;return!!(o.defined(s)&&o.string(s.uri)&&(o.undefined(s.languageId)||o.string(s.languageId))&&o.uinteger(s.lineCount)&&o.func(s.getText)&&o.func(s.positionAt)&&o.func(s.offsetAt))}e.is=i;function r(a,s){for(var u=a.getText(),c=t(s,function(I,M){var F=I.range.start.line-M.range.start.line;return F===0?I.range.start.character-M.range.start.character:F}),d=u.length,v=c.length-1;v>=0;v--){var g=c[v],b=a.offsetAt(g.range.start),h=a.offsetAt(g.range.end);if(h<=d)u=u.substring(0,b)+g.newText+u.substring(h,u.length);else throw new Error("Overlapping edit");d=b}return u}e.applyEdits=r;function t(a,s){if(a.length<=1)return a;var u=a.length/2|0,c=a.slice(0,u),d=a.slice(u);t(c,s),t(d,s);for(var v=0,g=0,b=0;v<c.length&&g<d.length;){var h=s(c[v],d[g]);h<=0?a[b++]=c[v++]:a[b++]=d[g++]}for(;v<c.length;)a[b++]=c[v++];for(;g<d.length;)a[b++]=d[g++];return a}})(We||(We={}));var vt=function(){function e(n,i,r,t){this._uri=n,this._languageId=i,this._version=r,this._content=t,this._lineOffsets=void 0}return Object.defineProperty(e.prototype,"uri",{get:function(){return this._uri},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"languageId",{get:function(){return this._languageId},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"version",{get:function(){return this._version},enumerable:!1,configurable:!0}),e.prototype.getText=function(n){if(n){var i=this.offsetAt(n.start),r=this.offsetAt(n.end);return this._content.substring(i,r)}return this._content},e.prototype.update=function(n,i){this._content=n.text,this._version=i,this._lineOffsets=void 0},e.prototype.getLineOffsets=function(){if(this._lineOffsets===void 0){for(var n=[],i=this._content,r=!0,t=0;t<i.length;t++){r&&(n.push(t),r=!1);var a=i.charAt(t);r=a==="\r"||a===`
|
7
|
-
`,a==="\r"&&t+1<i.length&&i.charAt(t+1)===`
|
8
|
-
`&&t++}r&&i.length>0&&n.push(i.length),this._lineOffsets=n}return this._lineOffsets},e.prototype.positionAt=function(n){n=Math.max(Math.min(n,this._content.length),0);var i=this.getLineOffsets(),r=0,t=i.length;if(t===0)return T.create(0,n);for(;r<t;){var a=Math.floor((r+t)/2);i[a]>n?t=a:r=a+1}var s=r-1;return T.create(s,n-i[s])},e.prototype.offsetAt=function(n){var i=this.getLineOffsets();if(n.line>=i.length)return this._content.length;if(n.line<0)return 0;var r=i[n.line],t=n.line+1<i.length?i[n.line+1]:this._content.length;return Math.max(Math.min(r+n.character,t),r)},Object.defineProperty(e.prototype,"lineCount",{get:function(){return this.getLineOffsets().length},enumerable:!1,configurable:!0}),e}(),o;(function(e){var n=Object.prototype.toString;function i(h){return typeof h<"u"}e.defined=i;function r(h){return typeof h>"u"}e.undefined=r;function t(h){return h===!0||h===!1}e.boolean=t;function a(h){return n.call(h)==="[object String]"}e.string=a;function s(h){return n.call(h)==="[object Number]"}e.number=s;function u(h,I,M){return n.call(h)==="[object Number]"&&I<=h&&h<=M}e.numberRange=u;function c(h){return n.call(h)==="[object Number]"&&-2147483648<=h&&h<=2147483647}e.integer=c;function d(h){return n.call(h)==="[object Number]"&&0<=h&&h<=2147483647}e.uinteger=d;function v(h){return n.call(h)==="[object Function]"}e.func=v;function g(h){return h!==null&&typeof h=="object"}e.objectLiteral=g;function b(h,I){return Array.isArray(h)&&h.every(I)}e.typedArray=b})(o||(o={}));var Xe=class{constructor(e,n,i){S(this,"_disposables",[]);S(this,"_listener",Object.create(null));this._languageId=e,this._worker=n;const r=a=>{let s=a.getLanguageId();if(s!==this._languageId)return;let u;this._listener[a.uri.toString()]=a.onDidChangeContent(()=>{window.clearTimeout(u),u=window.setTimeout(()=>this._doValidate(a.uri,s),500)}),this._doValidate(a.uri,s)},t=a=>{l.editor.setModelMarkers(a,this._languageId,[]);let s=a.uri.toString(),u=this._listener[s];u&&(u.dispose(),delete this._listener[s])};this._disposables.push(l.editor.onDidCreateModel(r)),this._disposables.push(l.editor.onWillDisposeModel(t)),this._disposables.push(l.editor.onDidChangeModelLanguage(a=>{t(a.model),r(a.model)})),this._disposables.push(i(a=>{l.editor.getModels().forEach(s=>{s.getLanguageId()===this._languageId&&(t(s),r(s))})})),this._disposables.push({dispose:()=>{l.editor.getModels().forEach(t);for(let a in this._listener)this._listener[a].dispose()}}),l.editor.getModels().forEach(r)}dispose(){this._disposables.forEach(e=>e&&e.dispose()),this._disposables.length=0}_doValidate(e,n){this._worker(e).then(i=>i.doValidation(e.toString())).then(i=>{const r=i.map(a=>mt(e,a));let t=l.editor.getModel(e);t&&t.getLanguageId()===n&&l.editor.setModelMarkers(t,n,r)}).then(void 0,i=>{console.error(i)})}};function pt(e){switch(e){case N.Error:return l.MarkerSeverity.Error;case N.Warning:return l.MarkerSeverity.Warning;case N.Information:return l.MarkerSeverity.Info;case N.Hint:return l.MarkerSeverity.Hint;default:return l.MarkerSeverity.Info}}function mt(e,n){let i=typeof n.code=="number"?String(n.code):n.code;return{severity:pt(n.severity),startLineNumber:n.range.start.line+1,startColumn:n.range.start.character+1,endLineNumber:n.range.end.line+1,endColumn:n.range.end.character+1,message:n.message,code:i,source:n.source}}var Je=class{constructor(e,n){this._worker=e,this._triggerCharacters=n}get triggerCharacters(){return this._triggerCharacters}provideCompletionItems(e,n,i,r){const t=e.uri;return this._worker(t).then(a=>a.doComplete(t.toString(),R(n))).then(a=>{if(!a)return;const s=e.getWordUntilPosition(n),u=new l.Range(n.lineNumber,s.startColumn,n.lineNumber,s.endColumn),c=a.items.map(d=>{const v={label:d.label,insertText:d.insertText||d.label,sortText:d.sortText,filterText:d.filterText,documentation:d.documentation,detail:d.detail,command:wt(d.command),range:u,kind:kt(d.kind)};return d.textEdit&&(_t(d.textEdit)?v.range={insert:C(d.textEdit.insert),replace:C(d.textEdit.replace)}:v.range=C(d.textEdit.range),v.insertText=d.textEdit.newText),d.additionalTextEdits&&(v.additionalTextEdits=d.additionalTextEdits.map(x)),d.insertTextFormat===se.Snippet&&(v.insertTextRules=l.languages.CompletionItemInsertTextRule.InsertAsSnippet),v});return{isIncomplete:a.isIncomplete,suggestions:c}})}};function R(e){if(e)return{character:e.column-1,line:e.lineNumber-1}}function oe(e){if(e)return{start:{line:e.startLineNumber-1,character:e.startColumn-1},end:{line:e.endLineNumber-1,character:e.endColumn-1}}}function C(e){if(e)return new l.Range(e.start.line+1,e.start.character+1,e.end.line+1,e.end.character+1)}function _t(e){return typeof e.insert<"u"&&typeof e.replace<"u"}function kt(e){const n=l.languages.CompletionItemKind;switch(e){case p.Text:return n.Text;case p.Method:return n.Method;case p.Function:return n.Function;case p.Constructor:return n.Constructor;case p.Field:return n.Field;case p.Variable:return n.Variable;case p.Class:return n.Class;case p.Interface:return n.Interface;case p.Module:return n.Module;case p.Property:return n.Property;case p.Unit:return n.Unit;case p.Value:return n.Value;case p.Enum:return n.Enum;case p.Keyword:return n.Keyword;case p.Snippet:return n.Snippet;case p.Color:return n.Color;case p.File:return n.File;case p.Reference:return n.Reference}return n.Property}function x(e){if(e)return{range:C(e.range),text:e.newText}}function wt(e){return e&&e.command==="editor.action.triggerSuggest"?{id:e.command,title:e.title,arguments:e.arguments}:void 0}var Ye=class{constructor(e){this._worker=e}provideHover(e,n,i){let r=e.uri;return this._worker(r).then(t=>t.doHover(r.toString(),R(n))).then(t=>{if(t)return{range:C(t.range),contents:Ct(t.contents)}})}};function bt(e){return e&&typeof e=="object"&&typeof e.kind=="string"}function Ue(e){return typeof e=="string"?{value:e}:bt(e)?e.kind==="plaintext"?{value:e.value.replace(/[\\`*_{}[\]()#+\-.!]/g,"\\$&")}:{value:e.value}:{value:"```"+e.language+`
|
9
|
-
`+e.value+"\n```\n"}}function Ct(e){if(e)return Array.isArray(e)?e.map(Ue):[Ue(e)]}var Et=class{constructor(e){this._worker=e}provideDocumentHighlights(e,n,i){const r=e.uri;return this._worker(r).then(t=>t.findDocumentHighlights(r.toString(),R(n))).then(t=>{if(t)return t.map(a=>({range:C(a.range),kind:At(a.kind)}))})}};function At(e){switch(e){case V.Read:return l.languages.DocumentHighlightKind.Read;case V.Write:return l.languages.DocumentHighlightKind.Write;case V.Text:return l.languages.DocumentHighlightKind.Text}return l.languages.DocumentHighlightKind.Text}var St=class{constructor(e){this._worker=e}provideDefinition(e,n,i){const r=e.uri;return this._worker(r).then(t=>t.findDefinition(r.toString(),R(n))).then(t=>{if(t)return[$e(t)]})}};function $e(e){return{uri:l.Uri.parse(e.uri),range:C(e.range)}}var yt=class{constructor(e){this._worker=e}provideReferences(e,n,i,r){const t=e.uri;return this._worker(t).then(a=>a.findReferences(t.toString(),R(n))).then(a=>{if(a)return a.map($e)})}},It=class{constructor(e){this._worker=e}provideRenameEdits(e,n,i,r){const t=e.uri;return this._worker(t).then(a=>a.doRename(t.toString(),R(n),i)).then(a=>Tt(a))}};function Tt(e){if(!e||!e.changes)return;let n=[];for(let i in e.changes){const r=l.Uri.parse(i);for(let t of e.changes[i])n.push({resource:r,versionId:void 0,textEdit:{range:C(t.range),text:t.newText}})}return{edits:n}}var Ge=class{constructor(e){this._worker=e}provideDocumentSymbols(e,n){const i=e.uri;return this._worker(i).then(r=>r.findDocumentSymbols(i.toString())).then(r=>{if(r)return r.map(t=>({name:t.name,detail:"",containerName:t.containerName,kind:Dt(t.kind),range:C(t.location.range),selectionRange:C(t.location.range),tags:[]}))})}};function Dt(e){let n=l.languages.SymbolKind;switch(e){case m.File:return n.Array;case m.Module:return n.Module;case m.Namespace:return n.Namespace;case m.Package:return n.Package;case m.Class:return n.Class;case m.Method:return n.Method;case m.Property:return n.Property;case m.Field:return n.Field;case m.Constructor:return n.Constructor;case m.Enum:return n.Enum;case m.Interface:return n.Interface;case m.Function:return n.Function;case m.Variable:return n.Variable;case m.Constant:return n.Constant;case m.String:return n.String;case m.Number:return n.Number;case m.Boolean:return n.Boolean;case m.Array:return n.Array}return n.Function}var Pt=class{constructor(e){this._worker=e}provideLinks(e,n){const i=e.uri;return this._worker(i).then(r=>r.findDocumentLinks(i.toString())).then(r=>{if(r)return{links:r.map(t=>({range:C(t.range),url:t.target}))}})}},Qe=class{constructor(e){this._worker=e}provideDocumentFormattingEdits(e,n,i){const r=e.uri;return this._worker(r).then(t=>t.format(r.toString(),null,Ke(n)).then(a=>{if(!(!a||a.length===0))return a.map(x)}))}},Ze=class{constructor(e){this._worker=e}provideDocumentRangeFormattingEdits(e,n,i,r){const t=e.uri;return this._worker(t).then(a=>a.format(t.toString(),oe(n),Ke(i)).then(s=>{if(!(!s||s.length===0))return s.map(x)}))}};function Ke(e){return{tabSize:e.tabSize,insertSpaces:e.insertSpaces}}var et=class{constructor(e){this._worker=e}provideDocumentColors(e,n){const i=e.uri;return this._worker(i).then(r=>r.findDocumentColors(i.toString())).then(r=>{if(r)return r.map(t=>({color:t.color,range:C(t.range)}))})}provideColorPresentations(e,n,i){const r=e.uri;return this._worker(r).then(t=>t.getColorPresentations(r.toString(),n.color,oe(n.range))).then(t=>{if(t)return t.map(a=>{let s={label:a.label};return a.textEdit&&(s.textEdit=x(a.textEdit)),a.additionalTextEdits&&(s.additionalTextEdits=a.additionalTextEdits.map(x)),s})})}},tt=class{constructor(e){this._worker=e}provideFoldingRanges(e,n,i){const r=e.uri;return this._worker(r).then(t=>t.getFoldingRanges(r.toString(),n)).then(t=>{if(t)return t.map(a=>{const s={start:a.startLine+1,end:a.endLine+1};return typeof a.kind<"u"&&(s.kind=Rt(a.kind)),s})})}};function Rt(e){switch(e){case U.Comment:return l.languages.FoldingRangeKind.Comment;case U.Imports:return l.languages.FoldingRangeKind.Imports;case U.Region:return l.languages.FoldingRangeKind.Region}}var rt=class{constructor(e){this._worker=e}provideSelectionRanges(e,n,i){const r=e.uri;return this._worker(r).then(t=>t.getSelectionRanges(r.toString(),n.map(R))).then(t=>{if(t)return t.map(a=>{const s=[];for(;a;)s.push({range:C(a.range)}),a=a.parent;return s})})}};function Mt(e,n){n===void 0&&(n=!1);var i=e.length,r=0,t="",a=0,s=16,u=0,c=0,d=0,v=0,g=0;function b(f,E){for(var y=0,A=0;y<f||!E;){var k=e.charCodeAt(r);if(k>=48&&k<=57)A=A*16+k-48;else if(k>=65&&k<=70)A=A*16+k-65+10;else if(k>=97&&k<=102)A=A*16+k-97+10;else break;r++,y++}return y<f&&(A=-1),A}function h(f){r=f,t="",a=0,s=16,g=0}function I(){var f=r;if(e.charCodeAt(r)===48)r++;else for(r++;r<e.length&&L(e.charCodeAt(r));)r++;if(r<e.length&&e.charCodeAt(r)===46)if(r++,r<e.length&&L(e.charCodeAt(r)))for(r++;r<e.length&&L(e.charCodeAt(r));)r++;else return g=3,e.substring(f,r);var E=r;if(r<e.length&&(e.charCodeAt(r)===69||e.charCodeAt(r)===101))if(r++,(r<e.length&&e.charCodeAt(r)===43||e.charCodeAt(r)===45)&&r++,r<e.length&&L(e.charCodeAt(r))){for(r++;r<e.length&&L(e.charCodeAt(r));)r++;E=r}else g=3;return e.substring(f,E)}function M(){for(var f="",E=r;;){if(r>=i){f+=e.substring(E,r),g=2;break}var y=e.charCodeAt(r);if(y===34){f+=e.substring(E,r),r++;break}if(y===92){if(f+=e.substring(E,r),r++,r>=i){g=2;break}var A=e.charCodeAt(r++);switch(A){case 34:f+='"';break;case 92:f+="\\";break;case 47:f+="/";break;case 98:f+="\b";break;case 102:f+="\f";break;case 110:f+=`
|
10
|
-
`;break;case 114:f+="\r";break;case 116:f+=" ";break;case 117:var k=b(4,!0);k>=0?f+=String.fromCharCode(k):g=4;break;default:g=5}E=r;continue}if(y>=0&&y<=31)if(W(y)){f+=e.substring(E,r),g=2;break}else g=6;r++}return f}function F(){if(t="",g=0,a=r,c=u,v=d,r>=i)return a=i,s=17;var f=e.charCodeAt(r);if(ee(f)){do r++,t+=String.fromCharCode(f),f=e.charCodeAt(r);while(ee(f));return s=15}if(W(f))return r++,t+=String.fromCharCode(f),f===13&&e.charCodeAt(r)===10&&(r++,t+=`
|
11
|
-
`),u++,d=r,s=14;switch(f){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++,t=M(),s=10;case 47:var E=r-1;if(e.charCodeAt(r+1)===47){for(r+=2;r<i&&!W(e.charCodeAt(r));)r++;return t=e.substring(E,r),s=12}if(e.charCodeAt(r+1)===42){r+=2;for(var y=i-1,A=!1;r<y;){var k=e.charCodeAt(r);if(k===42&&e.charCodeAt(r+1)===47){r+=2,A=!0;break}r++,W(k)&&(k===13&&e.charCodeAt(r)===10&&r++,u++,d=r)}return A||(r++,g=1),t=e.substring(E,r),s=13}return t+=String.fromCharCode(f),r++,s=16;case 45:if(t+=String.fromCharCode(f),r++,r===i||!L(e.charCodeAt(r)))return s=16;case 48:case 49:case 50:case 51:case 52:case 53:case 54:case 55:case 56:case 57:return t+=I(),s=11;default:for(;r<i&&it(f);)r++,f=e.charCodeAt(r);if(a!==r){switch(t=e.substring(a,r),t){case"true":return s=8;case"false":return s=9;case"null":return s=7}return s=16}return t+=String.fromCharCode(f),r++,s=16}}function it(f){if(ee(f)||W(f))return!1;switch(f){case 125:case 93:case 123:case 91:case 34:case 58:case 44:case 47:return!1}return!0}function at(){var f;do f=F();while(f>=12&&f<=15);return f}return{setPosition:h,getPosition:function(){return r},scan:n?at:F,getToken:function(){return s},getTokenValue:function(){return t},getTokenOffset:function(){return a},getTokenLength:function(){return r-a},getTokenStartLine:function(){return c},getTokenStartCharacter:function(){return a-v},getTokenError:function(){return g}}}function ee(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 W(e){return e===10||e===13||e===8232||e===8233}function L(e){return e>=48&&e<=57}var Ve;(function(e){e.DEFAULT={allowTrailingComma:!1}})(Ve||(Ve={}));var Lt=Mt;function Nt(e){return{getInitialState:()=>new K(null,null,!1,null),tokenize:(n,i)=>qt(e,n,i)}}var He="delimiter.bracket.json",ze="delimiter.array.json",Ot="delimiter.colon.json",jt="delimiter.comma.json",xt="keyword.json",Ft="keyword.json",Wt="string.value.json",Ut="number.json",Vt="string.key.json",Ht="comment.block.json",zt="comment.line.json",O=class{constructor(e,n){this.parent=e,this.type=n}static pop(e){return e?e.parent:null}static push(e,n){return new O(e,n)}static equals(e,n){if(!e&&!n)return!0;if(!e||!n)return!1;for(;e&&n;){if(e===n)return!0;if(e.type!==n.type)return!1;e=e.parent,n=n.parent}return!0}},K=class{constructor(e,n,i,r){S(this,"_state");S(this,"scanError");S(this,"lastWasColon");S(this,"parents");this._state=e,this.scanError=n,this.lastWasColon=i,this.parents=r}clone(){return new K(this._state,this.scanError,this.lastWasColon,this.parents)}equals(e){return e===this?!0:!e||!(e instanceof K)?!1:this.scanError===e.scanError&&this.lastWasColon===e.lastWasColon&&O.equals(this.parents,e.parents)}getStateData(){return this._state}setStateData(e){this._state=e}};function qt(e,n,i,r=0){let t=0,a=!1;switch(i.scanError){case 2:n='"'+n,t=1;break;case 1:n="/*"+n,t=2;break}const s=Lt(n);let u=i.lastWasColon,c=i.parents;const d={tokens:[],endState:i.clone()};for(;;){let v=r+s.getPosition(),g="";const b=s.scan();if(b===17)break;if(v===r+s.getPosition())throw new Error("Scanner did not advance, next 3 characters are: "+n.substr(s.getPosition(),3));switch(a&&(v-=t),a=t>0,b){case 1:c=O.push(c,0),g=He,u=!1;break;case 2:c=O.pop(c),g=He,u=!1;break;case 3:c=O.push(c,1),g=ze,u=!1;break;case 4:c=O.pop(c),g=ze,u=!1;break;case 6:g=Ot,u=!0;break;case 5:g=jt,u=!1;break;case 8:case 9:g=xt,u=!1;break;case 7:g=Ft,u=!1;break;case 10:const I=(c?c.type:0)===1;g=u||I?Wt:Vt,u=!1;break;case 11:g=Ut,u=!1;break}if(e)switch(b){case 12:g=zt;break;case 13:g=Ht;break}d.endState=new K(i.getStateData(),s.getTokenError(),u,c),d.tokens.push({startIndex:v,scopes:g})}return d}var Bt=class extends Xe{constructor(e,n,i){super(e,n,i.onDidChange),this._disposables.push(l.editor.onWillDisposeModel(r=>{this._resetSchema(r.uri)})),this._disposables.push(l.editor.onDidChangeModelLanguage(r=>{this._resetSchema(r.model.uri)}))}_resetSchema(e){this._worker().then(n=>{n.resetSchema(e.toString())})}};function Xt(e){const n=[],i=[],r=new Be(e);n.push(r);const t=(...u)=>r.getLanguageServiceWorker(...u);function a(){const{languageId:u,modeConfiguration:c}=e;nt(i),c.documentFormattingEdits&&i.push(l.languages.registerDocumentFormattingEditProvider(u,new Qe(t))),c.documentRangeFormattingEdits&&i.push(l.languages.registerDocumentRangeFormattingEditProvider(u,new Ze(t))),c.completionItems&&i.push(l.languages.registerCompletionItemProvider(u,new Je(t,[" ",":",'"']))),c.hovers&&i.push(l.languages.registerHoverProvider(u,new Ye(t))),c.documentSymbols&&i.push(l.languages.registerDocumentSymbolProvider(u,new Ge(t))),c.tokens&&i.push(l.languages.setTokensProvider(u,Nt(!0))),c.colors&&i.push(l.languages.registerColorProvider(u,new et(t))),c.foldingRanges&&i.push(l.languages.registerFoldingRangeProvider(u,new tt(t))),c.diagnostics&&i.push(new Bt(u,t,e)),c.selectionRanges&&i.push(l.languages.registerSelectionRangeProvider(u,new rt(t)))}a(),n.push(l.languages.setLanguageConfiguration(e.languageId,Jt));let s=e.modeConfiguration;return e.onDidChange(u=>{u.modeConfiguration!==s&&(s=u.modeConfiguration,a())}),n.push(qe(i)),qe(n)}function qe(e){return{dispose:()=>nt(e)}}function nt(e){for(;e.length;)e.pop().dispose()}var Jt={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=Je;exports.DefinitionAdapter=St;exports.DiagnosticsAdapter=Xe;exports.DocumentColorAdapter=et;exports.DocumentFormattingEditProvider=Qe;exports.DocumentHighlightAdapter=Et;exports.DocumentLinkAdapter=Pt;exports.DocumentRangeFormattingEditProvider=Ze;exports.DocumentSymbolAdapter=Ge;exports.FoldingRangeAdapter=tt;exports.HoverAdapter=Ye;exports.ReferenceAdapter=yt;exports.RenameAdapter=It;exports.SelectionRangeAdapter=rt;exports.WorkerManager=Be;exports.fromPosition=R;exports.fromRange=oe;exports.setupMode=Xt;exports.toRange=C;exports.toTextEdit=x;
|
package/julia-7db1fb9a.js
DELETED
@@ -1,6 +0,0 @@
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});/*!-----------------------------------------------------------------------------
|
2
|
-
* Copyright (c) Microsoft Corporation. All rights reserved.
|
3
|
-
* Version: 0.34.1(547870b6881302c5b4ff32173c16d06009e3588f)
|
4
|
-
* Released under the MIT license
|
5
|
-
* https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt
|
6
|
-
*-----------------------------------------------------------------------------*/var e={brackets:[["{","}"],["[","]"],["(",")"]],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}]},t={tokenPostfix:".julia",keywords:["begin","while","if","for","try","return","break","continue","function","macro","quote","let","local","global","const","do","struct","module","baremodule","using","import","export","end","else","elseif","catch","finally","mutable","primitive","abstract","type","in","isa","where","new"],types:["LinRange","LineNumberNode","LinearIndices","LoadError","MIME","Matrix","Method","MethodError","Missing","MissingException","Module","NTuple","NamedTuple","Nothing","Number","OrdinalRange","OutOfMemoryError","OverflowError","Pair","PartialQuickSort","PermutedDimsArray","Pipe","Ptr","QuoteNode","Rational","RawFD","ReadOnlyMemoryError","Real","ReentrantLock","Ref","Regex","RegexMatch","RoundingMode","SegmentationFault","Set","Signed","Some","StackOverflowError","StepRange","StepRangeLen","StridedArray","StridedMatrix","StridedVecOrMat","StridedVector","String","StringIndexError","SubArray","SubString","SubstitutionString","Symbol","SystemError","Task","Text","TextDisplay","Timer","Tuple","Type","TypeError","TypeVar","UInt","UInt128","UInt16","UInt32","UInt64","UInt8","UndefInitializer","AbstractArray","UndefKeywordError","AbstractChannel","UndefRefError","AbstractChar","UndefVarError","AbstractDict","Union","AbstractDisplay","UnionAll","AbstractFloat","UnitRange","AbstractIrrational","Unsigned","AbstractMatrix","AbstractRange","Val","AbstractSet","Vararg","AbstractString","VecElement","AbstractUnitRange","VecOrMat","AbstractVecOrMat","Vector","AbstractVector","VersionNumber","Any","WeakKeyDict","ArgumentError","WeakRef","Array","AssertionError","BigFloat","BigInt","BitArray","BitMatrix","BitSet","BitVector","Bool","BoundsError","CapturedException","CartesianIndex","CartesianIndices","Cchar","Cdouble","Cfloat","Channel","Char","Cint","Cintmax_t","Clong","Clonglong","Cmd","Colon","Complex","ComplexF16","ComplexF32","ComplexF64","CompositeException","Condition","Cptrdiff_t","Cshort","Csize_t","Cssize_t","Cstring","Cuchar","Cuint","Cuintmax_t","Culong","Culonglong","Cushort","Cvoid","Cwchar_t","Cwstring","DataType","DenseArray","DenseMatrix","DenseVecOrMat","DenseVector","Dict","DimensionMismatch","Dims","DivideError","DomainError","EOFError","Enum","ErrorException","Exception","ExponentialBackOff","Expr","Float16","Float32","Float64","Function","GlobalRef","HTML","IO","IOBuffer","IOContext","IOStream","IdDict","IndexCartesian","IndexLinear","IndexStyle","InexactError","InitError","Int","Int128","Int16","Int32","Int64","Int8","Integer","InterruptException","InvalidStateException","Irrational","KeyError"],keywordops:["<:",">:",":","=>","...",".","->","?"],allops:/[^\w\d\s()\[\]{}"'#]+/,constants:["true","false","nothing","missing","undef","Inf","pi","NaN","π","ℯ","ans","PROGRAM_FILE","ARGS","C_NULL","VERSION","DEPOT_PATH","LOAD_PATH"],operators:["!","!=","!==","%","&","*","+","-","/","//","<","<<","<=","==","===","=>",">",">=",">>",">>>","\\","^","|","|>","~","÷","∈","∉","∋","∌","∘","√","∛","∩","∪","≈","≉","≠","≡","≢","≤","≥","⊆","⊇","⊈","⊉","⊊","⊋","⊻"],brackets:[{open:"(",close:")",token:"delimiter.parenthesis"},{open:"{",close:"}",token:"delimiter.curly"},{open:"[",close:"]",token:"delimiter.square"}],ident:/π|ℯ|\b(?!\d)\w+\b/,escape:/(?:[abefnrstv\\"'\n\r]|[0-7]{1,3}|x[0-9A-Fa-f]{1,2}|u[0-9A-Fa-f]{4})/,escapes:/\\(?:C\-(@escape|.)|c(@escape|.)|@escape)/,tokenizer:{root:[[/(::)\s*|\b(isa)\s+/,"keyword","@typeanno"],[/\b(isa)(\s*\(@ident\s*,\s*)/,["keyword",{token:"",next:"@typeanno"}]],[/\b(type|struct)[ \t]+/,"keyword","@typeanno"],[/^\s*:@ident[!?]?/,"metatag"],[/(return)(\s*:@ident[!?]?)/,["keyword","metatag"]],[/(\(|\[|\{|@allops)(\s*:@ident[!?]?)/,["","metatag"]],[/:\(/,"metatag","@quote"],[/r"""/,"regexp.delim","@tregexp"],[/r"/,"regexp.delim","@sregexp"],[/raw"""/,"string.delim","@rtstring"],[/[bv]?"""/,"string.delim","@dtstring"],[/raw"/,"string.delim","@rsstring"],[/[bv]?"/,"string.delim","@dsstring"],[/(@ident)\{/,{cases:{"$1@types":{token:"type",next:"@gen"},"@default":{token:"type",next:"@gen"}}}],[/@ident[!?'']?(?=\.?\()/,{cases:{"@types":"type","@keywords":"keyword","@constants":"variable","@default":"keyword.flow"}}],[/@ident[!?']?/,{cases:{"@types":"type","@keywords":"keyword","@constants":"variable","@default":"identifier"}}],[/\$\w+/,"key"],[/\$\(/,"key","@paste"],[/@@@ident/,"annotation"],{include:"@whitespace"},[/'(?:@escapes|.)'/,"string.character"],[/[()\[\]{}]/,"@brackets"],[/@allops/,{cases:{"@keywordops":"keyword","@operators":"operator"}}],[/[;,]/,"delimiter"],[/0[xX][0-9a-fA-F](_?[0-9a-fA-F])*/,"number.hex"],[/0[_oO][0-7](_?[0-7])*/,"number.octal"],[/0[bB][01](_?[01])*/,"number.binary"],[/[+\-]?\d+(\.\d+)?(im?|[eE][+\-]?\d+(\.\d+)?)?/,"number"]],typeanno:[[/[a-zA-Z_]\w*(?:\.[a-zA-Z_]\w*)*\{/,"type","@gen"],[/([a-zA-Z_]\w*(?:\.[a-zA-Z_]\w*)*)(\s*<:\s*)/,["type","keyword"]],[/[a-zA-Z_]\w*(?:\.[a-zA-Z_]\w*)*/,"type","@pop"],["","","@pop"]],gen:[[/[a-zA-Z_]\w*(?:\.[a-zA-Z_]\w*)*\{/,"type","@push"],[/[a-zA-Z_]\w*(?:\.[a-zA-Z_]\w*)*/,"type"],[/<:/,"keyword"],[/(\})(\s*<:\s*)/,["type",{token:"keyword",next:"@pop"}]],[/\}/,"type","@pop"],{include:"@root"}],quote:[[/\$\(/,"key","@paste"],[/\(/,"@brackets","@paren"],[/\)/,"metatag","@pop"],{include:"@root"}],paste:[[/:\(/,"metatag","@quote"],[/\(/,"@brackets","@paren"],[/\)/,"key","@pop"],{include:"@root"}],paren:[[/\$\(/,"key","@paste"],[/:\(/,"metatag","@quote"],[/\(/,"@brackets","@push"],[/\)/,"@brackets","@pop"],{include:"@root"}],sregexp:[[/^.*/,"invalid"],[/[^\\"()\[\]{}]/,"regexp"],[/[()\[\]{}]/,"@brackets"],[/\\./,"operator.scss"],[/"[imsx]*/,"regexp.delim","@pop"]],tregexp:[[/[^\\"()\[\]{}]/,"regexp"],[/[()\[\]{}]/,"@brackets"],[/\\./,"operator.scss"],[/"(?!"")/,"string"],[/"""[imsx]*/,"regexp.delim","@pop"]],rsstring:[[/^.*/,"invalid"],[/[^\\"]/,"string"],[/\\./,"string.escape"],[/"/,"string.delim","@pop"]],rtstring:[[/[^\\"]/,"string"],[/\\./,"string.escape"],[/"(?!"")/,"string"],[/"""/,"string.delim","@pop"]],dsstring:[[/^.*/,"invalid"],[/[^\\"\$]/,"string"],[/\$/,"","@interpolated"],[/@escapes/,"string.escape"],[/\\./,"string.escape.invalid"],[/"/,"string.delim","@pop"]],dtstring:[[/[^\\"\$]/,"string"],[/\$/,"","@interpolated"],[/@escapes/,"string.escape"],[/\\./,"string.escape.invalid"],[/"(?!"")/,"string"],[/"""/,"string.delim","@pop"]],interpolated:[[/\(/,{token:"",switchTo:"@interpolated_compound"}],[/[a-zA-Z_]\w*/,"identifier"],["","","@pop"]],interpolated_compound:[[/\)/,"","@pop"],{include:"@root"}],whitespace:[[/[ \t\r\n]+/,""],[/#=/,"comment","@multi_comment"],[/#.*$/,"comment"]],multi_comment:[[/#=/,"comment","@push"],[/=#/,"comment","@pop"],[/=(?!#)|#(?!=)/,"comment"],[/[^#=]+/,"comment"]]}};exports.conf=e;exports.language=t;
|
package/julia-a0caf483.mjs
DELETED
@@ -1,496 +0,0 @@
|
|
1
|
-
/*!-----------------------------------------------------------------------------
|
2
|
-
* Copyright (c) Microsoft Corporation. All rights reserved.
|
3
|
-
* Version: 0.34.1(547870b6881302c5b4ff32173c16d06009e3588f)
|
4
|
-
* Released under the MIT license
|
5
|
-
* https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt
|
6
|
-
*-----------------------------------------------------------------------------*/
|
7
|
-
var e = {
|
8
|
-
brackets: [
|
9
|
-
["{", "}"],
|
10
|
-
["[", "]"],
|
11
|
-
["(", ")"]
|
12
|
-
],
|
13
|
-
autoClosingPairs: [
|
14
|
-
{ open: "{", close: "}" },
|
15
|
-
{ open: "[", close: "]" },
|
16
|
-
{ open: "(", close: ")" },
|
17
|
-
{ open: '"', close: '"' },
|
18
|
-
{ open: "'", close: "'" }
|
19
|
-
],
|
20
|
-
surroundingPairs: [
|
21
|
-
{ open: "{", close: "}" },
|
22
|
-
{ open: "[", close: "]" },
|
23
|
-
{ open: "(", close: ")" },
|
24
|
-
{ open: '"', close: '"' },
|
25
|
-
{ open: "'", close: "'" }
|
26
|
-
]
|
27
|
-
}, t = {
|
28
|
-
tokenPostfix: ".julia",
|
29
|
-
keywords: [
|
30
|
-
"begin",
|
31
|
-
"while",
|
32
|
-
"if",
|
33
|
-
"for",
|
34
|
-
"try",
|
35
|
-
"return",
|
36
|
-
"break",
|
37
|
-
"continue",
|
38
|
-
"function",
|
39
|
-
"macro",
|
40
|
-
"quote",
|
41
|
-
"let",
|
42
|
-
"local",
|
43
|
-
"global",
|
44
|
-
"const",
|
45
|
-
"do",
|
46
|
-
"struct",
|
47
|
-
"module",
|
48
|
-
"baremodule",
|
49
|
-
"using",
|
50
|
-
"import",
|
51
|
-
"export",
|
52
|
-
"end",
|
53
|
-
"else",
|
54
|
-
"elseif",
|
55
|
-
"catch",
|
56
|
-
"finally",
|
57
|
-
"mutable",
|
58
|
-
"primitive",
|
59
|
-
"abstract",
|
60
|
-
"type",
|
61
|
-
"in",
|
62
|
-
"isa",
|
63
|
-
"where",
|
64
|
-
"new"
|
65
|
-
],
|
66
|
-
types: [
|
67
|
-
"LinRange",
|
68
|
-
"LineNumberNode",
|
69
|
-
"LinearIndices",
|
70
|
-
"LoadError",
|
71
|
-
"MIME",
|
72
|
-
"Matrix",
|
73
|
-
"Method",
|
74
|
-
"MethodError",
|
75
|
-
"Missing",
|
76
|
-
"MissingException",
|
77
|
-
"Module",
|
78
|
-
"NTuple",
|
79
|
-
"NamedTuple",
|
80
|
-
"Nothing",
|
81
|
-
"Number",
|
82
|
-
"OrdinalRange",
|
83
|
-
"OutOfMemoryError",
|
84
|
-
"OverflowError",
|
85
|
-
"Pair",
|
86
|
-
"PartialQuickSort",
|
87
|
-
"PermutedDimsArray",
|
88
|
-
"Pipe",
|
89
|
-
"Ptr",
|
90
|
-
"QuoteNode",
|
91
|
-
"Rational",
|
92
|
-
"RawFD",
|
93
|
-
"ReadOnlyMemoryError",
|
94
|
-
"Real",
|
95
|
-
"ReentrantLock",
|
96
|
-
"Ref",
|
97
|
-
"Regex",
|
98
|
-
"RegexMatch",
|
99
|
-
"RoundingMode",
|
100
|
-
"SegmentationFault",
|
101
|
-
"Set",
|
102
|
-
"Signed",
|
103
|
-
"Some",
|
104
|
-
"StackOverflowError",
|
105
|
-
"StepRange",
|
106
|
-
"StepRangeLen",
|
107
|
-
"StridedArray",
|
108
|
-
"StridedMatrix",
|
109
|
-
"StridedVecOrMat",
|
110
|
-
"StridedVector",
|
111
|
-
"String",
|
112
|
-
"StringIndexError",
|
113
|
-
"SubArray",
|
114
|
-
"SubString",
|
115
|
-
"SubstitutionString",
|
116
|
-
"Symbol",
|
117
|
-
"SystemError",
|
118
|
-
"Task",
|
119
|
-
"Text",
|
120
|
-
"TextDisplay",
|
121
|
-
"Timer",
|
122
|
-
"Tuple",
|
123
|
-
"Type",
|
124
|
-
"TypeError",
|
125
|
-
"TypeVar",
|
126
|
-
"UInt",
|
127
|
-
"UInt128",
|
128
|
-
"UInt16",
|
129
|
-
"UInt32",
|
130
|
-
"UInt64",
|
131
|
-
"UInt8",
|
132
|
-
"UndefInitializer",
|
133
|
-
"AbstractArray",
|
134
|
-
"UndefKeywordError",
|
135
|
-
"AbstractChannel",
|
136
|
-
"UndefRefError",
|
137
|
-
"AbstractChar",
|
138
|
-
"UndefVarError",
|
139
|
-
"AbstractDict",
|
140
|
-
"Union",
|
141
|
-
"AbstractDisplay",
|
142
|
-
"UnionAll",
|
143
|
-
"AbstractFloat",
|
144
|
-
"UnitRange",
|
145
|
-
"AbstractIrrational",
|
146
|
-
"Unsigned",
|
147
|
-
"AbstractMatrix",
|
148
|
-
"AbstractRange",
|
149
|
-
"Val",
|
150
|
-
"AbstractSet",
|
151
|
-
"Vararg",
|
152
|
-
"AbstractString",
|
153
|
-
"VecElement",
|
154
|
-
"AbstractUnitRange",
|
155
|
-
"VecOrMat",
|
156
|
-
"AbstractVecOrMat",
|
157
|
-
"Vector",
|
158
|
-
"AbstractVector",
|
159
|
-
"VersionNumber",
|
160
|
-
"Any",
|
161
|
-
"WeakKeyDict",
|
162
|
-
"ArgumentError",
|
163
|
-
"WeakRef",
|
164
|
-
"Array",
|
165
|
-
"AssertionError",
|
166
|
-
"BigFloat",
|
167
|
-
"BigInt",
|
168
|
-
"BitArray",
|
169
|
-
"BitMatrix",
|
170
|
-
"BitSet",
|
171
|
-
"BitVector",
|
172
|
-
"Bool",
|
173
|
-
"BoundsError",
|
174
|
-
"CapturedException",
|
175
|
-
"CartesianIndex",
|
176
|
-
"CartesianIndices",
|
177
|
-
"Cchar",
|
178
|
-
"Cdouble",
|
179
|
-
"Cfloat",
|
180
|
-
"Channel",
|
181
|
-
"Char",
|
182
|
-
"Cint",
|
183
|
-
"Cintmax_t",
|
184
|
-
"Clong",
|
185
|
-
"Clonglong",
|
186
|
-
"Cmd",
|
187
|
-
"Colon",
|
188
|
-
"Complex",
|
189
|
-
"ComplexF16",
|
190
|
-
"ComplexF32",
|
191
|
-
"ComplexF64",
|
192
|
-
"CompositeException",
|
193
|
-
"Condition",
|
194
|
-
"Cptrdiff_t",
|
195
|
-
"Cshort",
|
196
|
-
"Csize_t",
|
197
|
-
"Cssize_t",
|
198
|
-
"Cstring",
|
199
|
-
"Cuchar",
|
200
|
-
"Cuint",
|
201
|
-
"Cuintmax_t",
|
202
|
-
"Culong",
|
203
|
-
"Culonglong",
|
204
|
-
"Cushort",
|
205
|
-
"Cvoid",
|
206
|
-
"Cwchar_t",
|
207
|
-
"Cwstring",
|
208
|
-
"DataType",
|
209
|
-
"DenseArray",
|
210
|
-
"DenseMatrix",
|
211
|
-
"DenseVecOrMat",
|
212
|
-
"DenseVector",
|
213
|
-
"Dict",
|
214
|
-
"DimensionMismatch",
|
215
|
-
"Dims",
|
216
|
-
"DivideError",
|
217
|
-
"DomainError",
|
218
|
-
"EOFError",
|
219
|
-
"Enum",
|
220
|
-
"ErrorException",
|
221
|
-
"Exception",
|
222
|
-
"ExponentialBackOff",
|
223
|
-
"Expr",
|
224
|
-
"Float16",
|
225
|
-
"Float32",
|
226
|
-
"Float64",
|
227
|
-
"Function",
|
228
|
-
"GlobalRef",
|
229
|
-
"HTML",
|
230
|
-
"IO",
|
231
|
-
"IOBuffer",
|
232
|
-
"IOContext",
|
233
|
-
"IOStream",
|
234
|
-
"IdDict",
|
235
|
-
"IndexCartesian",
|
236
|
-
"IndexLinear",
|
237
|
-
"IndexStyle",
|
238
|
-
"InexactError",
|
239
|
-
"InitError",
|
240
|
-
"Int",
|
241
|
-
"Int128",
|
242
|
-
"Int16",
|
243
|
-
"Int32",
|
244
|
-
"Int64",
|
245
|
-
"Int8",
|
246
|
-
"Integer",
|
247
|
-
"InterruptException",
|
248
|
-
"InvalidStateException",
|
249
|
-
"Irrational",
|
250
|
-
"KeyError"
|
251
|
-
],
|
252
|
-
keywordops: ["<:", ">:", ":", "=>", "...", ".", "->", "?"],
|
253
|
-
allops: /[^\w\d\s()\[\]{}"'#]+/,
|
254
|
-
constants: [
|
255
|
-
"true",
|
256
|
-
"false",
|
257
|
-
"nothing",
|
258
|
-
"missing",
|
259
|
-
"undef",
|
260
|
-
"Inf",
|
261
|
-
"pi",
|
262
|
-
"NaN",
|
263
|
-
"π",
|
264
|
-
"ℯ",
|
265
|
-
"ans",
|
266
|
-
"PROGRAM_FILE",
|
267
|
-
"ARGS",
|
268
|
-
"C_NULL",
|
269
|
-
"VERSION",
|
270
|
-
"DEPOT_PATH",
|
271
|
-
"LOAD_PATH"
|
272
|
-
],
|
273
|
-
operators: [
|
274
|
-
"!",
|
275
|
-
"!=",
|
276
|
-
"!==",
|
277
|
-
"%",
|
278
|
-
"&",
|
279
|
-
"*",
|
280
|
-
"+",
|
281
|
-
"-",
|
282
|
-
"/",
|
283
|
-
"//",
|
284
|
-
"<",
|
285
|
-
"<<",
|
286
|
-
"<=",
|
287
|
-
"==",
|
288
|
-
"===",
|
289
|
-
"=>",
|
290
|
-
">",
|
291
|
-
">=",
|
292
|
-
">>",
|
293
|
-
">>>",
|
294
|
-
"\\",
|
295
|
-
"^",
|
296
|
-
"|",
|
297
|
-
"|>",
|
298
|
-
"~",
|
299
|
-
"÷",
|
300
|
-
"∈",
|
301
|
-
"∉",
|
302
|
-
"∋",
|
303
|
-
"∌",
|
304
|
-
"∘",
|
305
|
-
"√",
|
306
|
-
"∛",
|
307
|
-
"∩",
|
308
|
-
"∪",
|
309
|
-
"≈",
|
310
|
-
"≉",
|
311
|
-
"≠",
|
312
|
-
"≡",
|
313
|
-
"≢",
|
314
|
-
"≤",
|
315
|
-
"≥",
|
316
|
-
"⊆",
|
317
|
-
"⊇",
|
318
|
-
"⊈",
|
319
|
-
"⊉",
|
320
|
-
"⊊",
|
321
|
-
"⊋",
|
322
|
-
"⊻"
|
323
|
-
],
|
324
|
-
brackets: [
|
325
|
-
{ open: "(", close: ")", token: "delimiter.parenthesis" },
|
326
|
-
{ open: "{", close: "}", token: "delimiter.curly" },
|
327
|
-
{ open: "[", close: "]", token: "delimiter.square" }
|
328
|
-
],
|
329
|
-
ident: /π|ℯ|\b(?!\d)\w+\b/,
|
330
|
-
escape: /(?:[abefnrstv\\"'\n\r]|[0-7]{1,3}|x[0-9A-Fa-f]{1,2}|u[0-9A-Fa-f]{4})/,
|
331
|
-
escapes: /\\(?:C\-(@escape|.)|c(@escape|.)|@escape)/,
|
332
|
-
tokenizer: {
|
333
|
-
root: [
|
334
|
-
[/(::)\s*|\b(isa)\s+/, "keyword", "@typeanno"],
|
335
|
-
[/\b(isa)(\s*\(@ident\s*,\s*)/, ["keyword", { token: "", next: "@typeanno" }]],
|
336
|
-
[/\b(type|struct)[ \t]+/, "keyword", "@typeanno"],
|
337
|
-
[/^\s*:@ident[!?]?/, "metatag"],
|
338
|
-
[/(return)(\s*:@ident[!?]?)/, ["keyword", "metatag"]],
|
339
|
-
[/(\(|\[|\{|@allops)(\s*:@ident[!?]?)/, ["", "metatag"]],
|
340
|
-
[/:\(/, "metatag", "@quote"],
|
341
|
-
[/r"""/, "regexp.delim", "@tregexp"],
|
342
|
-
[/r"/, "regexp.delim", "@sregexp"],
|
343
|
-
[/raw"""/, "string.delim", "@rtstring"],
|
344
|
-
[/[bv]?"""/, "string.delim", "@dtstring"],
|
345
|
-
[/raw"/, "string.delim", "@rsstring"],
|
346
|
-
[/[bv]?"/, "string.delim", "@dsstring"],
|
347
|
-
[
|
348
|
-
/(@ident)\{/,
|
349
|
-
{
|
350
|
-
cases: {
|
351
|
-
"$1@types": { token: "type", next: "@gen" },
|
352
|
-
"@default": { token: "type", next: "@gen" }
|
353
|
-
}
|
354
|
-
}
|
355
|
-
],
|
356
|
-
[
|
357
|
-
/@ident[!?'']?(?=\.?\()/,
|
358
|
-
{
|
359
|
-
cases: {
|
360
|
-
"@types": "type",
|
361
|
-
"@keywords": "keyword",
|
362
|
-
"@constants": "variable",
|
363
|
-
"@default": "keyword.flow"
|
364
|
-
}
|
365
|
-
}
|
366
|
-
],
|
367
|
-
[
|
368
|
-
/@ident[!?']?/,
|
369
|
-
{
|
370
|
-
cases: {
|
371
|
-
"@types": "type",
|
372
|
-
"@keywords": "keyword",
|
373
|
-
"@constants": "variable",
|
374
|
-
"@default": "identifier"
|
375
|
-
}
|
376
|
-
}
|
377
|
-
],
|
378
|
-
[/\$\w+/, "key"],
|
379
|
-
[/\$\(/, "key", "@paste"],
|
380
|
-
[/@@@ident/, "annotation"],
|
381
|
-
{ include: "@whitespace" },
|
382
|
-
[/'(?:@escapes|.)'/, "string.character"],
|
383
|
-
[/[()\[\]{}]/, "@brackets"],
|
384
|
-
[
|
385
|
-
/@allops/,
|
386
|
-
{
|
387
|
-
cases: {
|
388
|
-
"@keywordops": "keyword",
|
389
|
-
"@operators": "operator"
|
390
|
-
}
|
391
|
-
}
|
392
|
-
],
|
393
|
-
[/[;,]/, "delimiter"],
|
394
|
-
[/0[xX][0-9a-fA-F](_?[0-9a-fA-F])*/, "number.hex"],
|
395
|
-
[/0[_oO][0-7](_?[0-7])*/, "number.octal"],
|
396
|
-
[/0[bB][01](_?[01])*/, "number.binary"],
|
397
|
-
[/[+\-]?\d+(\.\d+)?(im?|[eE][+\-]?\d+(\.\d+)?)?/, "number"]
|
398
|
-
],
|
399
|
-
typeanno: [
|
400
|
-
[/[a-zA-Z_]\w*(?:\.[a-zA-Z_]\w*)*\{/, "type", "@gen"],
|
401
|
-
[/([a-zA-Z_]\w*(?:\.[a-zA-Z_]\w*)*)(\s*<:\s*)/, ["type", "keyword"]],
|
402
|
-
[/[a-zA-Z_]\w*(?:\.[a-zA-Z_]\w*)*/, "type", "@pop"],
|
403
|
-
["", "", "@pop"]
|
404
|
-
],
|
405
|
-
gen: [
|
406
|
-
[/[a-zA-Z_]\w*(?:\.[a-zA-Z_]\w*)*\{/, "type", "@push"],
|
407
|
-
[/[a-zA-Z_]\w*(?:\.[a-zA-Z_]\w*)*/, "type"],
|
408
|
-
[/<:/, "keyword"],
|
409
|
-
[/(\})(\s*<:\s*)/, ["type", { token: "keyword", next: "@pop" }]],
|
410
|
-
[/\}/, "type", "@pop"],
|
411
|
-
{ include: "@root" }
|
412
|
-
],
|
413
|
-
quote: [
|
414
|
-
[/\$\(/, "key", "@paste"],
|
415
|
-
[/\(/, "@brackets", "@paren"],
|
416
|
-
[/\)/, "metatag", "@pop"],
|
417
|
-
{ include: "@root" }
|
418
|
-
],
|
419
|
-
paste: [
|
420
|
-
[/:\(/, "metatag", "@quote"],
|
421
|
-
[/\(/, "@brackets", "@paren"],
|
422
|
-
[/\)/, "key", "@pop"],
|
423
|
-
{ include: "@root" }
|
424
|
-
],
|
425
|
-
paren: [
|
426
|
-
[/\$\(/, "key", "@paste"],
|
427
|
-
[/:\(/, "metatag", "@quote"],
|
428
|
-
[/\(/, "@brackets", "@push"],
|
429
|
-
[/\)/, "@brackets", "@pop"],
|
430
|
-
{ include: "@root" }
|
431
|
-
],
|
432
|
-
sregexp: [
|
433
|
-
[/^.*/, "invalid"],
|
434
|
-
[/[^\\"()\[\]{}]/, "regexp"],
|
435
|
-
[/[()\[\]{}]/, "@brackets"],
|
436
|
-
[/\\./, "operator.scss"],
|
437
|
-
[/"[imsx]*/, "regexp.delim", "@pop"]
|
438
|
-
],
|
439
|
-
tregexp: [
|
440
|
-
[/[^\\"()\[\]{}]/, "regexp"],
|
441
|
-
[/[()\[\]{}]/, "@brackets"],
|
442
|
-
[/\\./, "operator.scss"],
|
443
|
-
[/"(?!"")/, "string"],
|
444
|
-
[/"""[imsx]*/, "regexp.delim", "@pop"]
|
445
|
-
],
|
446
|
-
rsstring: [
|
447
|
-
[/^.*/, "invalid"],
|
448
|
-
[/[^\\"]/, "string"],
|
449
|
-
[/\\./, "string.escape"],
|
450
|
-
[/"/, "string.delim", "@pop"]
|
451
|
-
],
|
452
|
-
rtstring: [
|
453
|
-
[/[^\\"]/, "string"],
|
454
|
-
[/\\./, "string.escape"],
|
455
|
-
[/"(?!"")/, "string"],
|
456
|
-
[/"""/, "string.delim", "@pop"]
|
457
|
-
],
|
458
|
-
dsstring: [
|
459
|
-
[/^.*/, "invalid"],
|
460
|
-
[/[^\\"\$]/, "string"],
|
461
|
-
[/\$/, "", "@interpolated"],
|
462
|
-
[/@escapes/, "string.escape"],
|
463
|
-
[/\\./, "string.escape.invalid"],
|
464
|
-
[/"/, "string.delim", "@pop"]
|
465
|
-
],
|
466
|
-
dtstring: [
|
467
|
-
[/[^\\"\$]/, "string"],
|
468
|
-
[/\$/, "", "@interpolated"],
|
469
|
-
[/@escapes/, "string.escape"],
|
470
|
-
[/\\./, "string.escape.invalid"],
|
471
|
-
[/"(?!"")/, "string"],
|
472
|
-
[/"""/, "string.delim", "@pop"]
|
473
|
-
],
|
474
|
-
interpolated: [
|
475
|
-
[/\(/, { token: "", switchTo: "@interpolated_compound" }],
|
476
|
-
[/[a-zA-Z_]\w*/, "identifier"],
|
477
|
-
["", "", "@pop"]
|
478
|
-
],
|
479
|
-
interpolated_compound: [[/\)/, "", "@pop"], { include: "@root" }],
|
480
|
-
whitespace: [
|
481
|
-
[/[ \t\r\n]+/, ""],
|
482
|
-
[/#=/, "comment", "@multi_comment"],
|
483
|
-
[/#.*$/, "comment"]
|
484
|
-
],
|
485
|
-
multi_comment: [
|
486
|
-
[/#=/, "comment", "@push"],
|
487
|
-
[/=#/, "comment", "@pop"],
|
488
|
-
[/=(?!#)|#(?!=)/, "comment"],
|
489
|
-
[/[^#=]+/, "comment"]
|
490
|
-
]
|
491
|
-
}
|
492
|
-
};
|
493
|
-
export {
|
494
|
-
e as conf,
|
495
|
-
t as language
|
496
|
-
};
|
package/less-5219eae1.js
DELETED
@@ -1,7 +0,0 @@
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});/*!-----------------------------------------------------------------------------
|
2
|
-
* Copyright (c) Microsoft Corporation. All rights reserved.
|
3
|
-
* Version: 0.34.1(547870b6881302c5b4ff32173c16d06009e3588f)
|
4
|
-
* Released under the MIT license
|
5
|
-
* https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt
|
6
|
-
*-----------------------------------------------------------------------------*/var e={wordPattern:/(#?-?\d*\.\d\w*%?)|([@#!.:]?[\w-?]+%?)|[@#!.]/g,comments:{blockComment:["/*","*/"],lineComment:"//"},brackets:[["{","}"],["[","]"],["(",")"]],autoClosingPairs:[{open:"{",close:"}",notIn:["string","comment"]},{open:"[",close:"]",notIn:["string","comment"]},{open:"(",close:")",notIn:["string","comment"]},{open:'"',close:'"',notIn:["string","comment"]},{open:"'",close:"'",notIn:["string","comment"]}],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}],folding:{markers:{start:new RegExp("^\\s*\\/\\*\\s*#region\\b\\s*(.*?)\\s*\\*\\/"),end:new RegExp("^\\s*\\/\\*\\s*#endregion\\b.*\\*\\/")}}},t={defaultToken:"",tokenPostfix:".less",identifier:"-?-?([a-zA-Z]|(\\\\(([0-9a-fA-F]{1,6}\\s?)|[^[0-9a-fA-F])))([\\w\\-]|(\\\\(([0-9a-fA-F]{1,6}\\s?)|[^[0-9a-fA-F])))*",identifierPlus:"-?-?([a-zA-Z:.]|(\\\\(([0-9a-fA-F]{1,6}\\s?)|[^[0-9a-fA-F])))([\\w\\-:.]|(\\\\(([0-9a-fA-F]{1,6}\\s?)|[^[0-9a-fA-F])))*",brackets:[{open:"{",close:"}",token:"delimiter.curly"},{open:"[",close:"]",token:"delimiter.bracket"},{open:"(",close:")",token:"delimiter.parenthesis"},{open:"<",close:">",token:"delimiter.angle"}],tokenizer:{root:[{include:"@nestedJSBegin"},["[ \\t\\r\\n]+",""],{include:"@comments"},{include:"@keyword"},{include:"@strings"},{include:"@numbers"},["[*_]?[a-zA-Z\\-\\s]+(?=:.*(;|(\\\\$)))","attribute.name","@attribute"],["url(\\-prefix)?\\(",{token:"tag",next:"@urldeclaration"}],["[{}()\\[\\]]","@brackets"],["[,:;]","delimiter"],["#@identifierPlus","tag.id"],["&","tag"],["\\.@identifierPlus(?=\\()","tag.class","@attribute"],["\\.@identifierPlus","tag.class"],["@identifierPlus","tag"],{include:"@operators"},["@(@identifier(?=[:,\\)]))","variable","@attribute"],["@(@identifier)","variable"],["@","key","@atRules"]],nestedJSBegin:[["``","delimiter.backtick"],["`",{token:"delimiter.backtick",next:"@nestedJSEnd",nextEmbedded:"text/javascript"}]],nestedJSEnd:[["`",{token:"delimiter.backtick",next:"@pop",nextEmbedded:"@pop"}]],operators:[["[<>=\\+\\-\\*\\/\\^\\|\\~]","operator"]],keyword:[["(@[\\s]*import|![\\s]*important|true|false|when|iscolor|isnumber|isstring|iskeyword|isurl|ispixel|ispercentage|isem|hue|saturation|lightness|alpha|lighten|darken|saturate|desaturate|fadein|fadeout|fade|spin|mix|round|ceil|floor|percentage)\\b","keyword"]],urldeclaration:[{include:"@strings"},[`[^)\r
|
7
|
-
]+`,"string"],["\\)",{token:"tag",next:"@pop"}]],attribute:[{include:"@nestedJSBegin"},{include:"@comments"},{include:"@strings"},{include:"@numbers"},{include:"@keyword"},["[a-zA-Z\\-]+(?=\\()","attribute.value","@attribute"],[">","operator","@pop"],["@identifier","attribute.value"],{include:"@operators"},["@(@identifier)","variable"],["[)\\}]","@brackets","@pop"],["[{}()\\[\\]>]","@brackets"],["[;]","delimiter","@pop"],["[,=:]","delimiter"],["\\s",""],[".","attribute.value"]],comments:[["\\/\\*","comment","@comment"],["\\/\\/+.*","comment"]],comment:[["\\*\\/","comment","@pop"],[".","comment"]],numbers:[["(\\d*\\.)?\\d+([eE][\\-+]?\\d+)?",{token:"attribute.value.number",next:"@units"}],["#[0-9a-fA-F_]+(?!\\w)","attribute.value.hex"]],units:[["(em|ex|ch|rem|fr|vmin|vmax|vw|vh|vm|cm|mm|in|px|pt|pc|deg|grad|rad|turn|s|ms|Hz|kHz|%)?","attribute.value.unit","@pop"]],strings:[['~?"',{token:"string.delimiter",next:"@stringsEndDoubleQuote"}],["~?'",{token:"string.delimiter",next:"@stringsEndQuote"}]],stringsEndDoubleQuote:[['\\\\"',"string"],['"',{token:"string.delimiter",next:"@popall"}],[".","string"]],stringsEndQuote:[["\\\\'","string"],["'",{token:"string.delimiter",next:"@popall"}],[".","string"]],atRules:[{include:"@comments"},{include:"@strings"},["[()]","delimiter"],["[\\{;]","delimiter","@pop"],[".","key"]]}};exports.conf=e;exports.language=t;
|