├── .DS_Store ├── .gitignore ├── LICENSE ├── README.md ├── apple-touch-icon.png ├── bin ├── audio │ ├── common.d.ts │ ├── common.js │ ├── common.js.map │ ├── limiter │ │ ├── message.d.ts │ │ ├── message.js │ │ ├── message.js.map │ │ ├── processor.d.ts │ │ ├── processor.js │ │ ├── processor.js.map │ │ ├── worklet.d.ts │ │ ├── worklet.js │ │ └── worklet.js.map │ ├── meter │ │ ├── message.d.ts │ │ ├── message.js │ │ ├── message.js.map │ │ ├── processor.d.ts │ │ ├── processor.js │ │ ├── processor.js.map │ │ ├── worklet.d.ts │ │ ├── worklet.js │ │ └── worklet.js.map │ └── metronome │ │ ├── message.d.ts │ │ ├── message.js │ │ ├── message.js.map │ │ ├── processor.d.ts │ │ ├── processor.js │ │ ├── processor.js.map │ │ ├── worklet.d.ts │ │ ├── worklet.js │ │ └── worklet.js.map ├── automation.d.ts ├── automation.js ├── automation.js.map ├── common.css ├── common.css.map ├── examples.d.ts ├── examples.js ├── examples.js.map ├── inputs.css ├── inputs.css.map ├── lib │ ├── boot.d.ts │ ├── boot.js │ ├── boot.js.map │ ├── common.d.ts │ ├── common.js │ ├── common.js.map │ ├── controls.d.ts │ ├── controls.js │ ├── controls.js.map │ ├── dom.d.ts │ ├── dom.js │ ├── dom.js.map │ ├── injective.d.ts │ ├── injective.js │ ├── injective.js.map │ ├── inputs.d.ts │ ├── inputs.js │ ├── inputs.js.map │ ├── mapping.d.ts │ ├── mapping.js │ ├── mapping.js.map │ ├── math.d.ts │ ├── math.js │ ├── math.js.map │ ├── svg.d.ts │ ├── svg.js │ └── svg.js.map ├── main.css ├── main.css.map ├── main.d.ts ├── main.js ├── main.js.map ├── vars.css └── vars.css.map ├── favicon.ico ├── fonts └── Open_Sans │ ├── LICENSE.txt │ ├── OpenSans-Italic-VariableFont_wdth,wght.ttf │ ├── OpenSans-VariableFont_wdth,wght.ttf │ ├── README.txt │ └── static │ ├── OpenSans │ ├── OpenSans-Bold.ttf │ ├── OpenSans-BoldItalic.ttf │ ├── OpenSans-ExtraBold.ttf │ ├── OpenSans-ExtraBoldItalic.ttf │ ├── OpenSans-Italic.ttf │ ├── OpenSans-Light.ttf │ ├── OpenSans-LightItalic.ttf │ ├── OpenSans-Medium.ttf │ ├── OpenSans-MediumItalic.ttf │ ├── OpenSans-Regular.ttf │ ├── OpenSans-SemiBold.ttf │ └── OpenSans-SemiBoldItalic.ttf │ ├── OpenSans_Condensed │ ├── OpenSans_Condensed-Bold.ttf │ ├── OpenSans_Condensed-BoldItalic.ttf │ ├── OpenSans_Condensed-ExtraBold.ttf │ ├── OpenSans_Condensed-ExtraBoldItalic.ttf │ ├── OpenSans_Condensed-Italic.ttf │ ├── OpenSans_Condensed-Light.ttf │ ├── OpenSans_Condensed-LightItalic.ttf │ ├── OpenSans_Condensed-Medium.ttf │ ├── OpenSans_Condensed-MediumItalic.ttf │ ├── OpenSans_Condensed-Regular.ttf │ ├── OpenSans_Condensed-SemiBold.ttf │ └── OpenSans_Condensed-SemiBoldItalic.ttf │ └── OpenSans_SemiCondensed │ ├── OpenSans_SemiCondensed-Bold.ttf │ ├── OpenSans_SemiCondensed-BoldItalic.ttf │ ├── OpenSans_SemiCondensed-ExtraBold.ttf │ ├── OpenSans_SemiCondensed-ExtraBoldItalic.ttf │ ├── OpenSans_SemiCondensed-Italic.ttf │ ├── OpenSans_SemiCondensed-Light.ttf │ ├── OpenSans_SemiCondensed-LightItalic.ttf │ ├── OpenSans_SemiCondensed-Medium.ttf │ ├── OpenSans_SemiCondensed-MediumItalic.ttf │ ├── OpenSans_SemiCondensed-Regular.ttf │ ├── OpenSans_SemiCondensed-SemiBold.ttf │ └── OpenSans_SemiCondensed-SemiBoldItalic.ttf ├── index.html ├── monaco-editor └── min │ └── vs │ ├── base │ ├── browser │ │ └── ui │ │ │ └── codicons │ │ │ └── codicon │ │ │ └── codicon.ttf │ ├── common │ │ └── worker │ │ │ ├── simpleWorker.nls.de.js │ │ │ ├── simpleWorker.nls.es.js │ │ │ ├── simpleWorker.nls.fr.js │ │ │ ├── simpleWorker.nls.it.js │ │ │ ├── simpleWorker.nls.ja.js │ │ │ ├── simpleWorker.nls.js │ │ │ ├── simpleWorker.nls.ko.js │ │ │ ├── simpleWorker.nls.ru.js │ │ │ ├── simpleWorker.nls.zh-cn.js │ │ │ └── simpleWorker.nls.zh-tw.js │ └── worker │ │ └── workerMain.js │ ├── basic-languages │ ├── abap │ │ └── abap.js │ ├── apex │ │ └── apex.js │ ├── azcli │ │ └── azcli.js │ ├── bat │ │ └── bat.js │ ├── bicep │ │ └── bicep.js │ ├── cameligo │ │ └── cameligo.js │ ├── clojure │ │ └── clojure.js │ ├── coffee │ │ └── coffee.js │ ├── cpp │ │ └── cpp.js │ ├── csharp │ │ └── csharp.js │ ├── csp │ │ └── csp.js │ ├── css │ │ └── css.js │ ├── cypher │ │ └── cypher.js │ ├── dart │ │ └── dart.js │ ├── dockerfile │ │ └── dockerfile.js │ ├── ecl │ │ └── ecl.js │ ├── elixir │ │ └── elixir.js │ ├── flow9 │ │ └── flow9.js │ ├── freemarker2 │ │ └── freemarker2.js │ ├── fsharp │ │ └── fsharp.js │ ├── go │ │ └── go.js │ ├── graphql │ │ └── graphql.js │ ├── handlebars │ │ └── handlebars.js │ ├── hcl │ │ └── hcl.js │ ├── html │ │ └── html.js │ ├── ini │ │ └── ini.js │ ├── java │ │ └── java.js │ ├── javascript │ │ └── javascript.js │ ├── julia │ │ └── julia.js │ ├── kotlin │ │ └── kotlin.js │ ├── less │ │ └── less.js │ ├── lexon │ │ └── lexon.js │ ├── liquid │ │ └── liquid.js │ ├── lua │ │ └── lua.js │ ├── m3 │ │ └── m3.js │ ├── markdown │ │ └── markdown.js │ ├── mips │ │ └── mips.js │ ├── msdax │ │ └── msdax.js │ ├── mysql │ │ └── mysql.js │ ├── objective-c │ │ └── objective-c.js │ ├── pascal │ │ └── pascal.js │ ├── pascaligo │ │ └── pascaligo.js │ ├── perl │ │ └── perl.js │ ├── pgsql │ │ └── pgsql.js │ ├── php │ │ └── php.js │ ├── pla │ │ └── pla.js │ ├── postiats │ │ └── postiats.js │ ├── powerquery │ │ └── powerquery.js │ ├── powershell │ │ └── powershell.js │ ├── protobuf │ │ └── protobuf.js │ ├── pug │ │ └── pug.js │ ├── python │ │ └── python.js │ ├── qsharp │ │ └── qsharp.js │ ├── r │ │ └── r.js │ ├── razor │ │ └── razor.js │ ├── redis │ │ └── redis.js │ ├── redshift │ │ └── redshift.js │ ├── restructuredtext │ │ └── restructuredtext.js │ ├── ruby │ │ └── ruby.js │ ├── rust │ │ └── rust.js │ ├── sb │ │ └── sb.js │ ├── scala │ │ └── scala.js │ ├── scheme │ │ └── scheme.js │ ├── scss │ │ └── scss.js │ ├── shell │ │ └── shell.js │ ├── solidity │ │ └── solidity.js │ ├── sophia │ │ └── sophia.js │ ├── sparql │ │ └── sparql.js │ ├── sql │ │ └── sql.js │ ├── st │ │ └── st.js │ ├── swift │ │ └── swift.js │ ├── systemverilog │ │ └── systemverilog.js │ ├── tcl │ │ └── tcl.js │ ├── twig │ │ └── twig.js │ ├── typescript │ │ └── typescript.js │ ├── vb │ │ └── vb.js │ ├── xml │ │ └── xml.js │ └── yaml │ │ └── yaml.js │ ├── editor │ ├── editor.main.css │ ├── editor.main.js │ ├── editor.main.nls.de.js │ ├── editor.main.nls.es.js │ ├── editor.main.nls.fr.js │ ├── editor.main.nls.it.js │ ├── editor.main.nls.ja.js │ ├── editor.main.nls.js │ ├── editor.main.nls.ko.js │ ├── editor.main.nls.ru.js │ ├── editor.main.nls.zh-cn.js │ └── editor.main.nls.zh-tw.js │ ├── language │ ├── css │ │ ├── cssMode.js │ │ └── cssWorker.js │ ├── html │ │ ├── htmlMode.js │ │ └── htmlWorker.js │ ├── json │ │ ├── jsonMode.js │ │ └── jsonWorker.js │ └── typescript │ │ ├── tsMode.js │ │ └── tsWorker.js │ └── loader.js ├── package-lock.json ├── package.json ├── sass ├── common.sass ├── inputs.sass ├── main.sass └── vars.sass ├── screenshot.png └── typescript ├── audio ├── common.ts ├── limiter │ ├── message.ts │ ├── processor.ts │ └── worklet.ts ├── meter │ ├── message.ts │ ├── processor.ts │ └── worklet.ts └── metronome │ ├── message.ts │ ├── processor.ts │ └── worklet.ts ├── automation.ts ├── examples.ts ├── global.d.ts ├── lib ├── boot.ts ├── common.ts ├── controls.ts ├── dom.ts ├── injective.ts ├── inputs.ts ├── mapping.ts ├── math.ts └── svg.ts ├── main.ts └── tsconfig.json /.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andremichelle/web-audio-api-automator/8a3f03cdf70995b58f4857e8789c0c4f7719074a/.DS_Store -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | /.idea/ -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | MIT License 2 | 3 | Copyright (c) 2022 André Michelle 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. 22 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # Web Audio Api | Automator 2 | A simple editor which previews AudioParam automations. The web-audio-api automation methods are quite cumbersome, hence visual help is highly appreciated. 3 | 4 | [Open](https://andremichelle.github.io/web-audio-api-automator/) | Tested in Chrome, Firefox & Safari (desktop versions) 5 | ![alt screenshot](screenshot.png) 6 | 7 | ### Build 8 | Make sure you have npm installed and run in the console: 9 | 10 | npm install monaco-editor 11 | 12 | Make sure to have sass installed and run in the console: 13 | 14 | sass sass/main.sass:bin/main.css --watch 15 | 16 | Make sure to have typescript installed and run in the console: 17 | 18 | tsc -p ./typescript/tsconfig.json --watch -------------------------------------------------------------------------------- /apple-touch-icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andremichelle/web-audio-api-automator/8a3f03cdf70995b58f4857e8789c0c4f7719074a/apple-touch-icon.png -------------------------------------------------------------------------------- /bin/audio/common.d.ts: -------------------------------------------------------------------------------- 1 | export declare const RENDER_QUANTUM: number; 2 | export declare const LOG_DB: number; 3 | export declare const dbToGain: (db: number) => number; 4 | export declare const gainToDb: (gain: number) => number; 5 | export declare const midiToHz: (note?: number, baseFrequency?: number) => number; 6 | export declare const numFramesToBars: (numFrames: number, bpm: number, samplingRate: number) => number; 7 | export declare const barsToNumFrames: (bars: number, bpm: number, samplingRate: number) => number; 8 | export declare const barsToSeconds: (bars: number, bpm: number) => number; 9 | export declare const SILENCE_GAIN: number; 10 | export declare class RMS { 11 | private readonly n; 12 | private readonly values; 13 | private readonly inv; 14 | private sum; 15 | private index; 16 | constructor(n: number); 17 | pushPop(squared: number): number; 18 | } 19 | import { Observable, Observer, Terminable } from "../lib/common.js"; 20 | export declare type TransportMessage = { 21 | type: "transport-play"; 22 | } | { 23 | type: "transport-pause"; 24 | } | { 25 | type: "transport-move"; 26 | position: number; 27 | }; 28 | export interface TransportListener { 29 | listenToTransport(transport: Transport): Terminable; 30 | } 31 | export declare class Transport implements Observable { 32 | private readonly observable; 33 | private moving; 34 | constructor(); 35 | addObserver(observer: Observer, notify: boolean): Terminable; 36 | removeObserver(observer: Observer): boolean; 37 | play(): void; 38 | pause(): void; 39 | togglePlayback(): void; 40 | stop(): void; 41 | move(position: number): void; 42 | terminate(): void; 43 | } 44 | -------------------------------------------------------------------------------- /bin/audio/common.js: -------------------------------------------------------------------------------- 1 | export const RENDER_QUANTUM = 128 | 0; 2 | export const LOG_DB = Math.log(10.0) / 20.0; 3 | export const dbToGain = (db) => Math.exp(db * LOG_DB); 4 | export const gainToDb = (gain) => Math.log(gain) / LOG_DB; 5 | export const midiToHz = (note = 60.0, baseFrequency = 440.0) => baseFrequency * Math.pow(2.0, (note + 3.0) / 12.0 - 6.0); 6 | export const numFramesToBars = (numFrames, bpm, samplingRate) => (numFrames * bpm) / (samplingRate * 240.0); 7 | export const barsToNumFrames = (bars, bpm, samplingRate) => (bars * samplingRate * 240.0) / bpm; 8 | export const barsToSeconds = (bars, bpm) => (bars * 240.0) / bpm; 9 | export const SILENCE_GAIN = dbToGain(-192.0); 10 | export class RMS { 11 | constructor(n) { 12 | this.n = n; 13 | this.values = new Float32Array(n); 14 | this.inv = 1.0 / n; 15 | this.sum = 0.0; 16 | this.index = 0 | 0; 17 | } 18 | pushPop(squared) { 19 | this.sum -= this.values[this.index]; 20 | this.sum += squared; 21 | this.values[this.index] = squared; 22 | if (++this.index === this.n) 23 | this.index = 0; 24 | return 0.0 >= this.sum ? 0.0 : Math.sqrt(this.sum * this.inv); 25 | } 26 | } 27 | import { ObservableImpl } from "../lib/common.js"; 28 | export class Transport { 29 | constructor() { 30 | this.observable = new ObservableImpl(); 31 | this.moving = false; 32 | } 33 | addObserver(observer, notify) { 34 | return this.observable.addObserver(observer); 35 | } 36 | removeObserver(observer) { 37 | return this.observable.removeObserver(observer); 38 | } 39 | play() { 40 | if (this.moving) 41 | return; 42 | this.moving = true; 43 | this.observable.notify({ type: "transport-play" }); 44 | } 45 | pause() { 46 | if (!this.moving) 47 | return; 48 | this.moving = false; 49 | this.observable.notify({ type: "transport-pause" }); 50 | } 51 | togglePlayback() { 52 | if (this.moving) { 53 | this.pause(); 54 | } 55 | else { 56 | this.play(); 57 | } 58 | } 59 | stop() { 60 | this.pause(); 61 | this.move(0.0); 62 | } 63 | move(position) { 64 | this.observable.notify({ type: "transport-move", position: position }); 65 | } 66 | terminate() { 67 | this.observable.terminate(); 68 | } 69 | } 70 | //# sourceMappingURL=common.js.map -------------------------------------------------------------------------------- /bin/audio/common.js.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"common.js","sourceRoot":"","sources":["../../typescript/audio/common.ts"],"names":[],"mappings":"AAEA,MAAM,CAAC,MAAM,cAAc,GAAW,GAAG,GAAG,CAAC,CAAA;AAC7C,MAAM,CAAC,MAAM,MAAM,GAAG,IAAI,CAAC,GAAG,CAAC,IAAI,CAAC,GAAG,IAAI,CAAA;AAC3C,MAAM,CAAC,MAAM,QAAQ,GAAG,CAAC,EAAU,EAAU,EAAE,CAAC,IAAI,CAAC,GAAG,CAAC,EAAE,GAAG,MAAM,CAAC,CAAA;AACrE,MAAM,CAAC,MAAM,QAAQ,GAAG,CAAC,IAAY,EAAU,EAAE,CAAC,IAAI,CAAC,GAAG,CAAC,IAAI,CAAC,GAAG,MAAM,CAAA;AACzE,MAAM,CAAC,MAAM,QAAQ,GAAG,CAAC,OAAe,IAAI,EAAE,gBAAwB,KAAK,EAAU,EAAE,CAAC,aAAa,GAAG,IAAI,CAAC,GAAG,CAAC,GAAG,EAAE,CAAC,IAAI,GAAG,GAAG,CAAC,GAAG,IAAI,GAAG,GAAG,CAAC,CAAA;AAChJ,MAAM,CAAC,MAAM,eAAe,GAAG,CAAC,SAAiB,EAAE,GAAW,EAAE,YAAoB,EAAU,EAAE,CAAC,CAAC,SAAS,GAAG,GAAG,CAAC,GAAG,CAAC,YAAY,GAAG,KAAK,CAAC,CAAA;AAC3I,MAAM,CAAC,MAAM,eAAe,GAAG,CAAC,IAAY,EAAE,GAAW,EAAE,YAAoB,EAAU,EAAE,CAAC,CAAC,IAAI,GAAG,YAAY,GAAG,KAAK,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EAAE,MAAe;QAC7D,OAAO,IAAI,CAAC,UAAU,CAAC,WAAW,CAAC,QAAQ,CAAC,CAAA;IAChD,CAAC;IAED,cAAc,CAAC,QAAoC;QAC/C,OAAO,IAAI,CAAC,UAAU,CAAC,cAAc,CAAC,QAAQ,CAAC,CAAA;IACnD,CAAC;IAED,IAAI;QACA,IAAI,IAAI,CAAC,MAAM;YAAE,OAAM;QACvB,IAAI,CAAC,MAAM,GAAG,IAAI,CAAA;QAClB,IAAI,CAAC,UAAU,CAAC,MAAM,CAAC,EAAC,IAAI,EAAE,gBAAgB,EAAC,CAAC,CAAA;IACpD,CAAC;IAED,KAAK;QACD,IAAI,CAAC,IAAI,CAAC,MAAM;YAAE,OAAM;QACxB,IAAI,CAAC,MAAM,GAAG,KAAK,CAAA;QACnB,IAAI,CAAC,UAAU,CAAC,MAAM,CAAC,EAAC,IAAI,EAAE,iBAAiB,EAAC,CAAC,CAAA;IACrD,CAAC;IAED,cAAc;QACV,IAAI,IAAI,CAAC,MAAM,EAAE;YACb,IAAI,CAAC,KAAK,EAAE,CAAA;SACf;aAAM;YACH,IAAI,CAAC,IAAI,EAAE,CAAA;SACd;IACL,CAAC;IAED,IAAI;QACA,IAAI,CAAC,KAAK,EAAE,CAAA;QACZ,IAAI,CAAC,IAAI,CAAC,GAAG,CAAC,CAAA;IAClB,CAAC;IAED,IAAI,CAAC,QAAgB;QACjB,IAAI,CAAC,UAAU,CAAC,MAAM,CAAC,EAAC,IAAI,EAAE,gBAAgB,EAAE,QAAQ,EAAE,QAAQ,EAAC,CAAC,CAAA;IACxE,CAAC;IAED,SAAS;QACL,IAAI,CAAC,UAAU,CAAC,SAAS,EAAE,CAAA;IAC/B,CAAC;CACJ"} -------------------------------------------------------------------------------- /bin/audio/limiter/message.d.ts: -------------------------------------------------------------------------------- 1 | export declare type Message = { 2 | type: "set-lookahead"; 3 | seconds: number; 4 | } | { 5 | type: "set-threshold"; 6 | db: number; 7 | }; 8 | -------------------------------------------------------------------------------- /bin/audio/limiter/message.js: -------------------------------------------------------------------------------- 1 | export {}; 2 | //# sourceMappingURL=message.js.map -------------------------------------------------------------------------------- /bin/audio/limiter/message.js.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"message.js","sourceRoot":"","sources":["../../../typescript/audio/limiter/message.ts"],"names":[],"mappings":""} -------------------------------------------------------------------------------- /bin/audio/limiter/processor.d.ts: -------------------------------------------------------------------------------- 1 | export {}; 2 | -------------------------------------------------------------------------------- /bin/audio/limiter/processor.js: -------------------------------------------------------------------------------- 1 | import { dbToGain, gainToDb, RENDER_QUANTUM } from "../common.js"; 2 | registerProcessor("limiter-processor", class extends AudioWorkletProcessor { 3 | constructor() { 4 | super(); 5 | this.lookAheadFrames = 0 | 0; 6 | this.buffer = null; 7 | this.position = 0 | 0; 8 | this.remaining = 0 | 0; 9 | this.slope = 0.0; 10 | this.envelope = 0.0; 11 | this.threshold = -1.0; 12 | this.port.onmessage = event => { 13 | const data = event.data; 14 | if (data.type === "set-lookahead") { 15 | this.lookAhead = data.seconds; 16 | } 17 | else if (data.type === "set-threshold") { 18 | this.threshold = data.db; 19 | } 20 | }; 21 | } 22 | set lookAhead(seconds) { 23 | this.lookAheadFrames = Math.ceil(seconds * sampleRate) | 0; 24 | this.buffer = [ 25 | new Float32Array(this.lookAheadFrames), 26 | new Float32Array(this.lookAheadFrames) 27 | ]; 28 | this.position = 0 | 0; 29 | this.remaining = 0 | 0; 30 | this.slope = 0.0; 31 | this.envelope = 0.0; 32 | this.releaseTime = 0.1; 33 | this.releaseCoeff = Math.exp(-1.0 / (sampleRate * this.releaseTime)); 34 | this.envelope = 0.0; 35 | } 36 | process(inputs, outputs) { 37 | const buffer = this.buffer; 38 | if (null === buffer) { 39 | return true; 40 | } 41 | const MAGIC_HEADROOM = -0.42; 42 | const frames = this.lookAheadFrames; 43 | const input = inputs[0]; 44 | const output = outputs[0]; 45 | const input0 = input[0]; 46 | const input1 = input[1]; 47 | if (undefined === input0 || undefined === input1) { 48 | return true; 49 | } 50 | const output0 = output[0]; 51 | const output1 = output[1]; 52 | const buffer0 = buffer[0]; 53 | const buffer1 = buffer[1]; 54 | for (let i = 0; i < RENDER_QUANTUM; i++) { 55 | const inp0 = input0[i]; 56 | const inp1 = input1[i]; 57 | const peak = Math.max(Math.abs(inp0), Math.abs(inp1)); 58 | if (this.envelope < peak) { 59 | this.envelope = peak; 60 | } 61 | else { 62 | this.envelope = peak + this.releaseCoeff * (this.envelope - peak); 63 | } 64 | const gain = dbToGain(Math.min(0.0, this.threshold - gainToDb(this.envelope))) 65 | * dbToGain(MAGIC_HEADROOM - this.threshold); 66 | output0[i] = buffer0[this.position] * gain; 67 | output1[i] = buffer1[this.position] * gain; 68 | buffer0[this.position] = inp0; 69 | buffer1[this.position] = inp1; 70 | this.position = (this.position + 1) % frames; 71 | } 72 | return true; 73 | } 74 | }); 75 | //# sourceMappingURL=processor.js.map -------------------------------------------------------------------------------- /bin/audio/limiter/processor.js.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"processor.js","sourceRoot":"","sources":["../../../typescript/audio/limiter/processor.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,QAAQ,EAAE,QAAQ,EAAE,cAAc,EAAC,MAAM,cAAc,CAAA;AAG/D,iBAAiB,CAAC,mBAAmB,EAAE,KAAM,SAAQ,qBAAqB;IAWtE;QACI,KAAK,EAAE,CAAA;QAXH,oBAAe,GAAW,CAAC,GAAG,CAAC,CAAA;QAC/B,WAAM,GAAmB,IAAI,CAAA;QAC7B,aAAQ,GAAW,CAAC,GAAG,CAAC,CAAA;QACxB,cAAS,GAAW,CAAC,GAAG,CAAC,CAAA;QACzB,UAAK,GAAW,GAAG,CAAA;QACnB,aAAQ,GAAW,GAAG,CAAA;QACtB,cAAS,GAAW,CAAC,GAAG,CAAA;QAO5B,IAAI,CAAC,IAAI,CAAC,SAAS,GAAG,KAAK,CAAC,EAAE;YAC1B,MAAM,IAAI,GAAG,KAAK,CAAC,IAAe,CAAA;YAClC,I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C,OAAO,CAAC,CAAC,CAAC,GAAG,OAAO,CAAC,IAAI,CAAC,QAAQ,CAAC,GAAG,IAAI,CAAA;YAC1C,OAAO,CAAC,CAAC,CAAC,GAAG,OAAO,CAAC,IAAI,CAAC,QAAQ,CAAC,GAAG,IAAI,CAAA;YAC1C,OAAO,CAAC,IAAI,CAAC,QAAQ,CAAC,GAAG,IAAI,CAAA;YAC7B,OAAO,CAAC,IAAI,CAAC,QAAQ,CAAC,GAAG,IAAI,CAAA;YAC7B,IAAI,CAAC,QAAQ,GAAG,CAAC,IAAI,CAAC,QAAQ,GAAG,CAAC,CAAC,GAAG,MAAM,CAAA;SAC/C;QACD,OAAO,IAAI,CAAA;IACf,CAAC;CACJ,CAAC,CAAA"} -------------------------------------------------------------------------------- /bin/audio/limiter/worklet.d.ts: -------------------------------------------------------------------------------- 1 | import { Linear } from "../../lib/mapping.js"; 2 | import { Parameter, PrintMapping, Terminable } from "../../lib/common.js"; 3 | export declare class LimiterWorklet extends AudioWorkletNode implements Terminable { 4 | static loadModule(context: AudioContext): Promise; 5 | static LOOKAHEAD_MAPPING: Linear; 6 | static LOOKAHEAD_PRINT: PrintMapping; 7 | static THRESHOLD_MAPPING: Linear; 8 | static THRESHOLD_PRINT: PrintMapping; 9 | private readonly terminator; 10 | readonly parameterLookAhead: Parameter; 11 | readonly parameterThreshold: Parameter; 12 | constructor(context: any); 13 | terminate(): void; 14 | } 15 | -------------------------------------------------------------------------------- /bin/audio/limiter/worklet.js: -------------------------------------------------------------------------------- 1 | import { Linear } from "../../lib/mapping.js"; 2 | import { Parameter, PrintMapping, Terminator } from "../../lib/common.js"; 3 | export class LimiterWorklet extends AudioWorkletNode { 4 | constructor(context) { 5 | super(context, "limiter-processor", { 6 | numberOfInputs: 1, 7 | numberOfOutputs: 1, 8 | outputChannelCount: [2], 9 | channelCount: 2, 10 | channelCountMode: "explicit", 11 | channelInterpretation: "speakers" 12 | }); 13 | this.terminator = new Terminator(); 14 | this.parameterLookAhead = this.terminator.with(new Parameter(LimiterWorklet.LOOKAHEAD_MAPPING, LimiterWorklet.LOOKAHEAD_PRINT, 0.005)); 15 | this.parameterThreshold = this.terminator.with(new Parameter(LimiterWorklet.THRESHOLD_MAPPING, LimiterWorklet.THRESHOLD_PRINT, -3.0)); 16 | this.parameterLookAhead.addObserver(seconds => this.port.postMessage({ type: "set-lookahead", seconds: seconds }), true); 17 | this.parameterThreshold.addObserver(db => this.port.postMessage({ type: "set-threshold", db: db }), true); 18 | } 19 | static loadModule(context) { 20 | return context.audioWorklet.addModule("bin/audio/limiter/processor.js"); 21 | } 22 | terminate() { 23 | this.terminator.terminate(); 24 | } 25 | } 26 | LimiterWorklet.LOOKAHEAD_MAPPING = new Linear(0.000, 0.100); 27 | LimiterWorklet.LOOKAHEAD_PRINT = PrintMapping.float(3, "", "s"); 28 | LimiterWorklet.THRESHOLD_MAPPING = new Linear(-72.0, 0.0); 29 | LimiterWorklet.THRESHOLD_PRINT = PrintMapping.float(1, "", "db"); 30 | //# sourceMappingURL=worklet.js.map -------------------------------------------------------------------------------- /bin/audio/limiter/worklet.js.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"worklet.js","sourceRoot":"","sources":["../../../typescript/audio/limiter/worklet.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,MAAM,EAAC,MAAM,sBAAsB,CAAA;AAC3C,OAAO,EAAC,SAAS,EAAE,YAAY,EAAc,UAAU,EAAC,MAAM,qBAAqB,CAAA;AAEnF,MAAM,OAAO,cAAe,SAAQ,gBAAgB;IAiBhD,YAAY,OAAO;QACf,KAAK,CAAC,OAAO,EAAE,mBAAmB,EAAE;YAChC,cAAc,EAAE,CAAC;YACjB,eAAe,EAAE,CAAC;YAClB,kBAAkB,EAAE,CAAC,CAAC,CAAC;YACvB,YAAY,EAAE,CAAC;YACf,gBAAgB,EAAE,UAAU;YAC5B,qBAAqB,EAAE,UAAU;SACpC,CAAC,CAAA;QAfW,eAAU,GAAe,IAAI,UAAU,EAAE,CAA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------- /bin/audio/meter/message.d.ts: -------------------------------------------------------------------------------- 1 | export declare type UpdateMeterMessage = { 2 | type: "update-meter"; 3 | maxSquares: Float32Array[]; 4 | maxPeaks: Float32Array[]; 5 | }; 6 | -------------------------------------------------------------------------------- /bin/audio/meter/message.js: -------------------------------------------------------------------------------- 1 | export {}; 2 | //# sourceMappingURL=message.js.map -------------------------------------------------------------------------------- /bin/audio/meter/message.js.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"message.js","sourceRoot":"","sources":["../../../typescript/audio/meter/message.ts"],"names":[],"mappings":""} -------------------------------------------------------------------------------- /bin/audio/meter/processor.d.ts: -------------------------------------------------------------------------------- 1 | export {}; 2 | -------------------------------------------------------------------------------- /bin/audio/meter/processor.js: -------------------------------------------------------------------------------- 1 | import { ArrayUtils } from "../../lib/common.js"; 2 | import { RENDER_QUANTUM, RMS } from "../common.js"; 3 | registerProcessor("meter-processor", class extends AudioWorkletProcessor { 4 | constructor(options) { 5 | super(options); 6 | this.updateCount = 0 | 0; 7 | this.numberOfLines = options.numberOfInputs; 8 | this.channelCount = options.channelCount; 9 | console.assert(options.numberOfOutputs === this.numberOfLines); 10 | this.maxPeaks = ArrayUtils.fill(this.numberOfLines, () => new Float32Array(this.channelCount)); 11 | this.maxSquares = ArrayUtils.fill(this.numberOfLines, () => new Float32Array(this.channelCount)); 12 | const rmsSize = sampleRate * 0.050; 13 | const fps = 60.0; 14 | this.updateRate = (sampleRate / fps) | 0; 15 | this.rmsChannels = ArrayUtils.fill(this.numberOfLines, () => ArrayUtils.fill(this.channelCount, () => new RMS(rmsSize))); 16 | } 17 | process(inputs, outputs) { 18 | for (let lineIndex = 0; lineIndex < this.numberOfLines; lineIndex++) { 19 | const input = inputs[lineIndex]; 20 | const output = outputs[lineIndex]; 21 | for (let channel = 0; channel < this.channelCount; ++channel) { 22 | const inputChannel = input[channel]; 23 | const outputChannel = output[channel]; 24 | const rms = this.rmsChannels[lineIndex][channel]; 25 | if (undefined === inputChannel) { 26 | this.maxPeaks[lineIndex][channel] = 0.0; 27 | this.maxSquares[lineIndex][channel] = 0.0; 28 | } 29 | else { 30 | let maxPeak = this.maxPeaks[lineIndex][channel]; 31 | let maxSquare = this.maxSquares[lineIndex][channel]; 32 | for (let i = 0; i < RENDER_QUANTUM; ++i) { 33 | const inp = outputChannel[i] = inputChannel[i]; 34 | maxPeak = Math.max(maxPeak, Math.abs(inp)); 35 | maxSquare = Math.max(maxSquare, rms.pushPop(inp * inp)); 36 | } 37 | this.maxPeaks[lineIndex][channel] = maxPeak; 38 | this.maxSquares[lineIndex][channel] = maxSquare; 39 | } 40 | } 41 | } 42 | this.updateCount += RENDER_QUANTUM; 43 | if (this.updateCount >= this.updateRate) { 44 | this.updateCount -= this.updateRate; 45 | this.port.postMessage({ type: "update-meter", maxSquares: this.maxSquares, maxPeaks: this.maxPeaks }); 46 | for (let lineIndex = 0; lineIndex < this.numberOfLines; lineIndex++) { 47 | for (let channelIndex = 0; channelIndex < this.channelCount; ++channelIndex) { 48 | this.maxPeaks[lineIndex][channelIndex] *= 0.93; 49 | this.maxSquares[lineIndex][channelIndex] *= 0.93; 50 | } 51 | } 52 | } 53 | return true; 54 | } 55 | }); 56 | //# sourceMappingURL=processor.js.map -------------------------------------------------------------------------------- /bin/audio/meter/processor.js.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"processor.js","sourceRoot":"","sources":["../../../typescript/audio/meter/processor.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,UAAU,EAAC,MAAM,qBAAqB,CAAA;AAC9C,OAAO,EAAC,cAAc,EAAE,GAAG,EAAC,MAAM,cAAc,CAAA;AAEhD,iBAAiB,CAAC,iBAAiB,EAAE,KAAM,SAAQ,qBAAqB;IAWpE,YAAY,OAAO;QACf,KAAK,CAAC,OAAO,CAAC,CAAA;QAHV,gBAAW,GAAW,CAAC,GAAG,CAAC,CAAA;QAK/B,IAAI,CAAC,aAAa,GAAG,OAAO,CAAC,cAAc,CAAA;QAC3C,IAAI,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,CAAC,UAAU,CAAA;YACnC,IAAI,CAAC,IAAI,CAAC,WAAW,CAAC,EAAC,IAAI,EAAE,cAAc,EAAE,UAAU,EAAE,IAAI,CAAC,UAAU,EAAE,QAAQ,EAAE,IAAI,CAAC,QAAQ,EAAC,CAAC,CAAA;YACnG,KAAK,IAAI,SAAS,GAAG,CAAC,EAAE,SAAS,GAAG,IAAI,CAAC,aAAa,EAAE,SAAS,EAAE,EAAE;gBACjE,KAAK,IAAI,YAAY,GAAW,CAAC,EAAE,YAAY,GAAG,IAAI,CAAC,YAAY,EAAE,EAAE,YAAY,EAAE;oBACjF,IAAI,CAAC,QAAQ,CAAC,SAAS,CAAC,CAAC,YAAY,CAAC,IAAI,IAAI,CAAA;oBAC9C,IAAI,CAAC,UAAU,CAAC,SAAS,CAAC,CAAC,YAAY,CAAC,IAAI,IAAI,CAAA;iBACnD;aACJ;SACJ;QACD,OAAO,IAAI,CAAA;IACf,CAAC;CACJ,CAAC,CAAA"} -------------------------------------------------------------------------------- /bin/audio/meter/worklet.d.ts: -------------------------------------------------------------------------------- 1 | export declare class MeterWorklet extends AudioWorkletNode { 2 | readonly numLines: number; 3 | readonly channelCount: number; 4 | static loadModule(context: AudioContext): Promise; 5 | static readonly PEAK_HOLD_DURATION: number; 6 | static readonly CLIP_HOLD_DURATION: number; 7 | readonly peaks: Float32Array[]; 8 | readonly squares: Float32Array[]; 9 | readonly peakHoldValue: Float32Array[]; 10 | readonly releasePeakHoldTime: Float32Array[]; 11 | constructor(context: BaseAudioContext, numLines: number, channelCount: number); 12 | } 13 | export declare class StereoMeterWorklet extends MeterWorklet { 14 | private readonly meterHPadding; 15 | private readonly meterSegmentWidth; 16 | private readonly meterSegmentHeight; 17 | private readonly meterSegmentHGap; 18 | private readonly meterSegmentVGap; 19 | private readonly meterSegmentCount; 20 | private readonly meterWidth; 21 | private readonly width; 22 | private readonly height; 23 | private readonly labelStepsDb; 24 | private readonly maxDb; 25 | private readonly minDb; 26 | private readonly canvas; 27 | private readonly graphics; 28 | private readonly gradient; 29 | private readonly updater; 30 | private scale; 31 | constructor(context: AudioContext); 32 | get domElement(): HTMLElement; 33 | update(): void; 34 | renderScale(): void; 35 | renderMeter(gain: number, y: number, h: number): void; 36 | dbToX(db: number): number; 37 | dbToIndex(db: number): number; 38 | dbToNorm(db: number): number; 39 | } 40 | -------------------------------------------------------------------------------- /bin/audio/metronome/message.d.ts: -------------------------------------------------------------------------------- 1 | export declare type Message = SetBpm | SetEnabled; 2 | export declare type SetBpm = { 3 | type: "set-bpm"; 4 | value: number; 5 | }; 6 | export declare type SetEnabled = { 7 | type: "set-enabled"; 8 | value: boolean; 9 | }; 10 | -------------------------------------------------------------------------------- /bin/audio/metronome/message.js: -------------------------------------------------------------------------------- 1 | export {}; 2 | //# sourceMappingURL=message.js.map -------------------------------------------------------------------------------- /bin/audio/metronome/message.js.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"message.js","sourceRoot":"","sources":["../../../typescript/audio/metronome/message.ts"],"names":[],"mappings":""} -------------------------------------------------------------------------------- /bin/audio/metronome/processor.d.ts: -------------------------------------------------------------------------------- 1 | export {}; 2 | -------------------------------------------------------------------------------- /bin/audio/metronome/processor.js: -------------------------------------------------------------------------------- 1 | import { barsToNumFrames, dbToGain, numFramesToBars, RENDER_QUANTUM } from "../common.js"; 2 | import { TAU } from "../../lib/math.js"; 3 | registerProcessor("metronome-processor", class extends AudioWorkletProcessor { 4 | constructor() { 5 | super(); 6 | this.gain = dbToGain(-3.0); 7 | this.scale = 1.0 / 4.0; 8 | this.duration = 1.0 / (1.0 / 32.0); 9 | this.barPosition = 0.0; 10 | this.bpm = 120.0; 11 | this.enabled = false; 12 | this.moving = false; 13 | this.phase = 0.0; 14 | this.frequency = 0.0; 15 | this.port.onmessage = event => { 16 | const msg = event.data; 17 | if (msg.type === "set-bpm") { 18 | this.bpm = msg.value; 19 | } 20 | else if (msg.type === "set-enabled") { 21 | this.enabled = msg.value; 22 | } 23 | else if (msg.type === "transport-play") { 24 | this.moving = true; 25 | } 26 | else if (msg.type === "transport-pause") { 27 | this.moving = false; 28 | } 29 | else if (msg.type === "transport-move") { 30 | this.barPosition = msg.position; 31 | } 32 | }; 33 | } 34 | process(inputs, outputs) { 35 | const barsIncrement = numFramesToBars(RENDER_QUANTUM, this.bpm, sampleRate); 36 | const b0 = this.barPosition; 37 | if (!this.enabled) { 38 | this.barPosition = b0 + barsIncrement; 39 | return true; 40 | } 41 | const output = outputs[0][0]; 42 | if (this.moving) { 43 | const b1 = this.barPosition + barsIncrement; 44 | let index = Math.floor(b0 / this.scale); 45 | let position = index * this.scale; 46 | let frame = 0 | 0; 47 | while (position < b1) { 48 | if (position >= b0) { 49 | frame = this.advance(output, frame, barsToNumFrames(position - b0, this.bpm, sampleRate) | 0); 50 | this.frequency = index % 4 === 0 ? 1760.0 : 880.0; 51 | this.phase = 0.0; 52 | } 53 | position = ++index * this.scale; 54 | } 55 | this.advance(output, frame, RENDER_QUANTUM); 56 | this.barPosition = b1; 57 | } 58 | else { 59 | this.advance(output, 0, RENDER_QUANTUM); 60 | } 61 | return true; 62 | } 63 | advance(output, frame, to) { 64 | while (frame < to) { 65 | output[frame++] = Math.sin(this.phase * this.frequency * TAU) 66 | * (1.0 - Math.min(1.0, this.phase * this.duration)) * this.gain; 67 | this.phase += 1.0 / sampleRate; 68 | } 69 | return to; 70 | } 71 | }); 72 | //# sourceMappingURL=processor.js.map -------------------------------------------------------------------------------- /bin/audio/metronome/processor.js.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"processor.js","sourceRoot":"","sources":["../../../typescript/audio/metronome/processor.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,eAAe,EAAE,QAAQ,EAAE,eAAe,EAAE,cAAc,EAAmB,MAAM,cAAc,CAAA;AACzG,OAAO,EAAC,GAAG,EAAC,MAAM,mBAAmB,CAAA;AAGrC,iBAAiB,CAAC,qBAAqB,EAAE,KAAM,SAAQ,qBAAqB;IAYxE;QACI,KAAK,EAAE,C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AC3D,OAAO,KAAK,GAAG,EAAE,EAAE;YACf,MAAM,CAAC,KAAK,EAAE,CAAC,GAAG,IAAI,CAAC,GAAG,CAAC,IAAI,CAAC,KAAK,GAAG,IAAI,CAAC,SAAS,GAAG,GAAG,CAAC;kBACvD,CAAC,GAAG,GAAG,IAAI,CAAC,GAAG,CAAC,GAAG,EAAE,IAAI,CAAC,KAAK,GAAG,IAAI,CAAC,QAAQ,CAAC,CAAC,GAAG,IAAI,CAAC,IAAI,CAAA;YACnE,IAAI,CAAC,KAAK,IAAI,GAAG,GAAG,UAAU,CAAA;SACjC;QACD,OAAO,EAAE,CAAA;IACb,CAAC;CACJ,CAAC,CAAA"} -------------------------------------------------------------------------------- /bin/audio/metronome/worklet.d.ts: -------------------------------------------------------------------------------- 1 | import { ObservableValueImpl, Terminable } from "../../lib/common.js"; 2 | import { Transport, TransportListener } from "../common.js"; 3 | export declare class MetronomeWorklet extends AudioWorkletNode implements TransportListener { 4 | static loadModule(context: AudioContext): Promise; 5 | readonly enabled: ObservableValueImpl; 6 | constructor(context: BaseAudioContext); 7 | setBpm(value: number): void; 8 | listenToTransport(transport: Transport): Terminable; 9 | } 10 | -------------------------------------------------------------------------------- /bin/audio/metronome/worklet.js: -------------------------------------------------------------------------------- 1 | import { ObservableValueImpl } from "../../lib/common.js"; 2 | export class MetronomeWorklet extends AudioWorkletNode { 3 | constructor(context) { 4 | super(context, "metronome-processor", { 5 | numberOfInputs: 0, 6 | numberOfOutputs: 1, 7 | outputChannelCount: [1], 8 | channelCount: 1, 9 | channelCountMode: "explicit", 10 | channelInterpretation: "speakers" 11 | }); 12 | this.enabled = new ObservableValueImpl(false); 13 | this.enabled.addObserver(value => this.port.postMessage({ type: "set-enabled", value: value })); 14 | } 15 | static loadModule(context) { 16 | return context.audioWorklet.addModule("bin/audio/metronome/processor.js"); 17 | } 18 | setBpm(value) { 19 | this.port.postMessage({ type: "set-bpm", value: value }); 20 | } 21 | listenToTransport(transport) { 22 | return transport.addObserver(message => this.port.postMessage(message), false); 23 | } 24 | } 25 | //# sourceMappingURL=worklet.js.map -------------------------------------------------------------------------------- /bin/audio/metronome/worklet.js.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"worklet.js","sourceRoot":"","sources":["../../../typescript/audio/metronome/worklet.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,mBAAmB,EAAa,MAAM,qBAAqB,CAAA;AAGnE,MAAM,OAAO,gBAAiB,SAAQ,gBAAgB;IAOlD,YAAY,OAAyB;QACjC,KAAK,CAAC,OAAO,EAAE,qBAAqB,EAAE;YAClC,cAAc,EAAE,CAAC;YACjB,eAAe,EAAE,CAAC;YAClB,kBAAkB,EAAE,CAAC,CAAC,CAAC;YACvB,YAAY,EAAE,CAAC;YACf,gBAAgB,EAAE,UAAU;YAC5B,qBAAqB,EAAE,UAAU;SACpC,CAAC,CAAA;QAVG,YAAO,GAAiC,IAAI,mBAAmB,CAAU,KAAK,CAAC,CAAA;QAWpF,IAAI,CAAC,OAAO,CAAC,WAAW,CAAC,KAAK,CAAC,EAAE,CAAC,IAAI,CAAC,IAAI,CAAC,WAAW,CAAC,EAAC,IAAI,EAAE,aAAa,EAAE,KAAK,EAAE,KAAK,EAAC,CAAC,CAAC,CAAA;IACjG,CAAC;IAhBD,MAAM,CAAC,UAAU,CAAC,OAAqB;QACnC,OAAO,OAAO,CAAC,YAAY,CAAC,SAAS,CAAC,kCAAkC,CAAC,CAAA;IAC7E,CAAC;IAgBD,MAAM,CAAC,KAAa;QAChB,IAAI,CAAC,IAAI,CAAC,WAAW,CAAC,EAAC,IAAI,EAAE,SAAS,EAAE,KAAK,EAAE,KAAK,EAAC,CAAC,CAAA;IAC1D,CAAC;IAED,iBAAiB,CAAC,SAAoB;QAClC,OAAO,SAAS,CAAC,WAAW,CAAC,OAAO,CAAC,EAAE,CAAC,IAAI,CAAC,IAAI,CAAC,WAAW,CAAC,OAAO,CAAC,EAAE,KAAK,CAAC,CAAA;IAClF,CAAC;CACJ"} -------------------------------------------------------------------------------- /bin/automation.d.ts: -------------------------------------------------------------------------------- 1 | import { ObservableImpl, ObservableValue, ObservableValueImpl } from "./lib/common.js"; 2 | export interface Format { 3 | name: string; 4 | start: number; 5 | end: number; 6 | duration: number; 7 | min: number; 8 | max: number; 9 | exponential: boolean; 10 | code: string; 11 | } 12 | export declare class SignalRenderer { 13 | readonly renderer: ObservableImpl; 14 | readonly error: ObservableImpl; 15 | readonly duration: ObservableValueImpl; 16 | private func; 17 | private rendering; 18 | private hasChanges; 19 | constructor(); 20 | update(func: Function): void; 21 | render(): Promise; 22 | } 23 | export declare class Preview { 24 | readonly canvas: HTMLCanvasElement; 25 | readonly context: CanvasRenderingContext2D; 26 | readonly start: ObservableValue; 27 | readonly end: ObservableValue; 28 | readonly min: ObservableValue; 29 | readonly max: ObservableValue; 30 | readonly exponential: ObservableValue; 31 | private buffer; 32 | private width; 33 | private height; 34 | constructor(canvas: HTMLCanvasElement); 35 | redraw: () => void; 36 | resize(): void; 37 | setBuffer(buffer: AudioBuffer): void; 38 | plot(values: Float32Array, x0: number, x1: number, y0: number, y1: number, s0: number, s1: number, minValue: number, maxValue: number): void; 39 | } 40 | export declare class UserInterface { 41 | readonly element: HTMLElement; 42 | readonly preview: Preview; 43 | readonly codeEditor: CodeEditor; 44 | readonly signalRenderer: SignalRenderer; 45 | constructor(element: HTMLElement, preview: Preview, codeEditor: CodeEditor, signalRenderer: SignalRenderer); 46 | setFormat(format: Format): void; 47 | } 48 | export declare class CodeEditor { 49 | readonly editor: Editor; 50 | readonly errorField: HTMLElement; 51 | readonly compiler: ObservableImpl; 52 | constructor(editor: Editor, errorField: HTMLElement); 53 | setCode(code: string): void; 54 | compile(): void; 55 | showMessage(message: string | ''): void; 56 | } 57 | -------------------------------------------------------------------------------- /bin/common.css: -------------------------------------------------------------------------------- 1 | html, body { 2 | margin: 0; 3 | padding: 0; 4 | overflow: hidden; 5 | position: relative; 6 | font-family: "Open Sans", sans-serif; 7 | -webkit-overflow-scrolling: touch; 8 | touch-action: manipulation; 9 | color: #80475e; 10 | background-color: #cc5a71; 11 | } 12 | 13 | html { 14 | width: -webkit-fill-available; 15 | height: -webkit-fill-available; 16 | } 17 | 18 | body { 19 | display: flex; 20 | align-items: center; 21 | justify-content: center; 22 | min-width: 100vw; 23 | min-height: 100vh; 24 | /* mobile viewport bug fix */ 25 | min-width: -webkit-fill-available; 26 | min-height: -webkit-fill-available; 27 | } 28 | 29 | *:not(textarea) { 30 | user-select: none; 31 | -webkit-touch-callout: none; 32 | -webkit-user-select: none; 33 | -moz-user-select: none; 34 | -ms-user-select: none; 35 | -webkit-tap-highlight-color: transparent; 36 | } 37 | 38 | .hidden { 39 | display: none !important; 40 | } 41 | 42 | .invisible { 43 | visibility: hidden !important; 44 | } 45 | 46 | svg.preloader { 47 | --percentage: 0.0; 48 | --radius: 7; 49 | top: 50%; 50 | left: 50%; 51 | width: 64px; 52 | height: 64px; 53 | transform: translate(-50%, -50%); 54 | position: absolute; 55 | } 56 | svg.preloader.error circle { 57 | stroke: #C30; 58 | } 59 | svg.preloader > circle.progress { 60 | stroke-dasharray: calc(var(--radius) * 6.2831853); 61 | stroke-dashoffset: calc(var(--radius) * 6.2831853 * (1 - var(--percentage))); 62 | }/*# sourceMappingURL=common.css.map */ -------------------------------------------------------------------------------- /bin/common.css.map: -------------------------------------------------------------------------------- 1 | {"version":3,"sources":["../sass/common.sass","common.css"],"names":[],"mappings":"AAMA;EACE,SAAA;EACA,UAAA;EACA,gBAAA;EACA,kBAAA;EACA,oCAAA;EACA,iCAAA;EACA,0BAAA;EACA,cAbO;EAcP,yBAbO;ACQT;;ADOA;EACE,6BAAA;EACA,8BAAA;ACJF;;ADMA;EACE,aAAA;EACA,mBAAA;EACA,uBAAA;EACA,gBAAA;EACA,iBAAA;EACA,4BAAA;EACA,iCAAA;EACA,kCAAA;ACHF;;ADKA;EACE,iBAAA;EACA,2BAAA;EACA,yBAAA;EACA,sBAAA;EACA,qBAAA;EACA,wCAAA;ACFF;;ADIA;EACE,wBAAA;ACDF;;ADGA;EACE,6BAAA;ACAF;;ADEA;EACE,iBAAA;EACA,WAAA;EAEA,QAAA;EACA,SAAA;EACA,WAAA;EACA,YAAA;EACA,gCAAA;EACA,kBAAA;ACAF;ADEE;EACE,YAAA;ACAJ;ADEE;EACE,iDAAA;EACA,4EAAA;ACAJ","file":"common.css"} -------------------------------------------------------------------------------- /bin/examples.d.ts: -------------------------------------------------------------------------------- 1 | import { Format } from "./automation.js"; 2 | export declare const examples: Format[]; 3 | -------------------------------------------------------------------------------- /bin/examples.js.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"examples.js","sourceRoot":"","sources":["../typescript/examples.ts"],"names":[],"mappings":"AAEA,MAAM,CAAC,MAAM,QAAQ,GAAa;IAC9B;QACI,IAAI,EAAE,QAAQ;QACd,GAAG,EAAE,GAAG;QACR,GAAG,EAAE,GAAG;QACR,KAAK,EAAE,GAAG;QACV,GAAG,EAAE,MAAM;QACX,QAAQ,EAAE,MAAM;QAChB,WAAW,EAAE,KAAK;QAClB,IAAI,EAAE,0DAA0D;YAC5D,6BAA6B;YAC7B,+CAA+C;YAC/C,2CAA2C;YAC3C,sDAAsD;YACtD,KAAK;YACL,gBAAgB;YAChB,kBAAkB;YAClB,kBAAkB;YAClB,kBAAkB;YAClB,oBAAoB;YACpB,kBAAkB;YAClB,kBAAkB;YAClB,kBAAkB;YAClB,kBAAkB;YAClB,4BAA4B;YAC5B,iCAAiC;YACjC,iCAAiC;YACjC,iCAAiC;YACjC,wCAAwC;YACxC,0CAA0C;YAC1C,+CAA+C;YAC/C,qFAAqF;YACrF,gDAAgD;YAChD,gDAAgD;YAChD,iDAAiD;YACjD,+BAA+B;KACtC;IACD;QACI,IAAI,EAAE,KAAK;QACX,GAAG,EAAE,GAAG;QACR,GAAG,EAAE,GAAG;QACR,KAAK,EAAE,GAAG;QACV,GAAG,EAAE,MAAM;QACX,QAAQ,EAAE,MAAM;QAChB,WAAW,EAAE,KAAK;QAClB,IAAI,EAAE,UAAU;YACZ,2BAA2B;YAC3B,8CAA8C;YAC9C,0CAA0C;YAC1C,uEAAuE;YACvE,KAAK;YACL,0CAA0C;YAC1C,8CAA8C;YAC9C,4CAA4C;KACnD;IACD;QACI,IAAI,EAAE,eAAe;QACrB,GAAG,EAAE,GAAG;QACR,GAAG,EAAE,GAAG;QACR,KAAK,EAAE,GAAG;QACV,GAAG,EAAE,MAAM;QACX,QAAQ,EAAE,MAAM;QAChB,WAAW,EAAE,KAAK;QAClB,IAAI,EAAE,uBAAuB;YACzB,sCAAsC;YACtC,qDAAqD;YACrD,wDAAwD;YACxD,iDAAiD;YACjD,oDAAoD;KAC3D;IACD;QACI,IAAI,EAAE,qBAAqB;QAC3B,GAAG,EAAE,GAAG;QACR,GAAG,EAAE,GAAG;QACR,KAAK,EAAE,GAAG;QACV,GAAG,EAAE,MAAM;QACX,QAAQ,EAAE,MAAM;QAChB,WAAW,EAAE,KAAK;QAClB,IAAI,EAAE,oGAAoG;YACtG,6CAA6C;YAC7C,+CAA+C;YAC/C,+CAA+C;YAC/C,SAAS;YACT,sFAAsF;YACtF,4HAA4H;YAC5H,sDAAsD;YACtD,UAAU;YACV,QAAQ;YACR,IAAI;YACJ,iBAAiB;YACjB,kBAAkB;YAClB,iBAAiB;YACjB,kBAAkB;YAClB,iDAAiD;YACjD,iDAAiD;YACjD,mDAAmD;KAC1D;CACJ,CAAA"} -------------------------------------------------------------------------------- /bin/inputs.css.map: -------------------------------------------------------------------------------- 1 | {"version":3,"sources":["../sass/inputs.sass","../sass/vars.sass","inputs.css"],"names":[],"mappings":"AAIA;EACE,+BAAA;EACA,kBAAA;EACA,eCNU;EDOV,oCCNY;EDOZ,YCTK;EDUL,iBCVK;EDWL,eCXK;EDYL,kBAAA;EACA,kBAAA;EACA,wBAAA;KAAA,qBAAA;UAAA,gBAAA;EACA,cAAA;EACA,YAAA;EACA,aAAA;EACA,oCAhBW;EAiBX,eAAA;EACA,mBAAA;AEHF;AFKE;EACE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;EACE,+BAAA;EACA,eAAA;EACA,gBAAA;AEAJ;AFEE;EACE,eC9IQ;ED+IR,mBAAA;EACA,+BAAA;EACA,iBAAA;AEAJ;AFEI;EACE,kBAAA;AEAN;AFEI;EACE,gBAAA;AEAN;AFEE;EACE,aAAA;EACA,qCAAA;EACA,oBAAA;OAAA,eAAA;EACA,eC7JQ;ED8JR,aAAA;EACA,YAAA;EACA,UAAA;EACA,SAAA;EACA,mBAAA;AEAJ;AFEI;EACE,+BAAA;EACA,cAAA;EACA,oCCtKQ;EDuKR,WCzKC;ED0KD,YC1KC;ED2KD,kBAAA;EACA,wBAAA;KAAA,qBAAA;UAAA,gBAAA;EACA,gBAAA;EACA,UAAA;EACA,YAAA;EACA,mBAAA;AEAN;AFEM;EACE,+BAAA;AEAR;AFEM;EACE,YAAA;AEAR","file":"inputs.css"} -------------------------------------------------------------------------------- /bin/lib/boot.d.ts: -------------------------------------------------------------------------------- 1 | import { Observable, Observer, Terminable } from "./common.js"; 2 | export declare const preloadImagesOfCssFile: (pathToCss: string) => Promise; 3 | export interface Dependency { 4 | get: () => T; 5 | } 6 | export declare class Boot implements Observable { 7 | private readonly observable; 8 | private finishedTasks; 9 | private totalTasks; 10 | private completed; 11 | addObserver(observer: Observer): Terminable; 12 | removeObserver(observer: Observer): boolean; 13 | terminate(): void; 14 | registerProcess(promise: Promise): Dependency; 15 | registerFont(name: string, url: string): Dependency; 16 | isCompleted(): boolean; 17 | normalizedPercentage(): number; 18 | percentage(): number; 19 | waitForCompletion(): Promise; 20 | } 21 | export declare const newAudioContext: (options?: AudioContextOptions) => AudioContext; 22 | -------------------------------------------------------------------------------- /bin/lib/controls.d.ts: -------------------------------------------------------------------------------- 1 | import { NoArgType, NumericStepper, ObservableValue, PrintMapping, Terminable } from "./common.js"; 2 | import { Checkbox, Editor, NumericInput, NumericStepperInput, SelectInput } from "./inputs.js"; 3 | export declare class UIControllerLayout implements Terminable { 4 | private readonly container?; 5 | private readonly terminator; 6 | constructor(container?: HTMLElement); 7 | element(): HTMLElement; 8 | createNumericStepper(labelText: string, printMapping: PrintMapping, stepper: NumericStepper): NumericStepperInput; 9 | createNumericInput(labelText: string, printMapping: PrintMapping): NumericInput; 10 | createSelect(labelText: string, map: Map): SelectInput; 11 | createCheckbox(labelText: string): Checkbox; 12 | createTitle(labelText: string): HTMLHeadingElement; 13 | terminate(): void; 14 | private append; 15 | private static createLabel; 16 | } 17 | export interface ControlBuilder { 18 | build(layout: UIControllerLayout, value: T): void; 19 | availableTypes: Map>; 20 | } 21 | export declare class TypeSwitchEditor implements Editor> { 22 | private readonly parentElement; 23 | private readonly controlBuilder; 24 | private readonly terminator; 25 | private readonly selectLayout; 26 | private readonly controllerLayout; 27 | private readonly typeValue; 28 | private readonly typeSelectInput; 29 | private editable; 30 | private subscription; 31 | constructor(parentElement: HTMLElement, controlBuilder: ControlBuilder, name: string); 32 | with(value: ObservableValue): void; 33 | clear(): void; 34 | terminate(): void; 35 | private updateType; 36 | } 37 | -------------------------------------------------------------------------------- /bin/lib/dom.d.ts: -------------------------------------------------------------------------------- 1 | import { Terminable } from "./common.js"; 2 | declare type Attributes = { 3 | [name in 'textContent' | 'class' | string]: number | string | boolean; 4 | }; 5 | export declare class HTML { 6 | static create(tagName: K, attributes?: Attributes): HTMLElementTagNameMap[K]; 7 | static query(selectors: string): E; 8 | } 9 | export interface SVGPathBuilder { 10 | moveTo(x: number, y: number): this; 11 | lineTo(x: number, y: number): this; 12 | quadraticCurve(x1: number, y1: number, x: number, y: number): this; 13 | cubicCurve(x1: number, y1: number, x2: number, y2: number, x: number, y: number): this; 14 | arc(rx: number, ry: number, deg: number, largeArc: boolean, sweep: boolean, x: number, y: number): this; 15 | circleSegment(cx: number, cy: number, radius: number, a0: number, a1: number): this; 16 | for(from: number, to: number, step: number, build: (builder: this, x: number) => void): this; 17 | close(): this; 18 | build(): string; 19 | } 20 | export declare class SVG { 21 | static create(tagName: K, attributes?: Attributes): SVGElementTagNameMap[K] & HTMLElement; 22 | static createUse(href: string, width: number, height: number, attributes?: Attributes): SVGSVGElement & HTMLElement; 23 | static createLine(x1: number, y1: number, x2: number, y2: number, attributes?: Attributes): SVGLineElement & HTMLElement; 24 | static createRect(x: number, y: number, width: number, height: number, rx?: number, ry?: number, attributes?: Attributes): SVGRectElement & HTMLElement; 25 | static createCircle(x: number, y: number, radius: number, attributes?: Attributes): SVGCircleElement & HTMLElement; 26 | static createPath(attributes?: Attributes): SVGPathElement & HTMLElement; 27 | static compilePathString(dx?: number, dy?: number): SVGPathBuilder; 28 | static func(fn: (x: number) => number, w: number, h: number, step?: number): string; 29 | } 30 | export interface ActionReceiver { 31 | actionBegin(event: UserEvent, clientX: number, clientY: number): ActionProcess; 32 | } 33 | export interface ActionProcess { 34 | actionMove(event: UserEvent, clientX: number, clientY: number): boolean; 35 | actionEnd(): void; 36 | } 37 | export declare type UserEvent = MouseEvent | TouchEvent; 38 | export declare class ActionEvents implements Terminable { 39 | private readonly receiver; 40 | private readonly terminator; 41 | private process; 42 | private touchId; 43 | constructor(receiver: ActionReceiver); 44 | listen(target: EventTarget): void; 45 | withEvent(event: UserEvent): void; 46 | private onActionBegin; 47 | private onMoveMove; 48 | private onTouchMove; 49 | private onActionEnd; 50 | terminate(): void; 51 | } 52 | export declare class RenderRequest { 53 | private readonly render; 54 | private requested; 55 | constructor(render: (() => void)); 56 | request(): void; 57 | private fire; 58 | } 59 | export {}; 60 | -------------------------------------------------------------------------------- /bin/lib/inputs.d.ts: -------------------------------------------------------------------------------- 1 | import { NumericStepper, ObservableValue, PrintMapping, Terminable } from "./common.js"; 2 | export interface Editor extends Terminable { 3 | with(value: T): void; 4 | clear(): void; 5 | } 6 | export declare class Checkbox implements Editor> { 7 | private readonly element; 8 | private readonly terminator; 9 | private value; 10 | constructor(element: HTMLInputElement); 11 | with(value: ObservableValue): void; 12 | clear(): void; 13 | init(): void; 14 | update(): void; 15 | terminate(): void; 16 | private readonly observer; 17 | } 18 | export declare class SelectInput implements Editor> { 19 | private readonly select; 20 | private readonly map; 21 | private readonly terminator; 22 | private readonly options; 23 | private readonly values; 24 | private value; 25 | constructor(select: HTMLSelectElement, map: Map); 26 | with(value: ObservableValue): SelectInput; 27 | clear(): void; 28 | terminate(): void; 29 | private observer; 30 | private update; 31 | private connect; 32 | } 33 | export declare class NumericStepperInput implements Editor> { 34 | private readonly parent; 35 | private readonly printMapping; 36 | private readonly stepper; 37 | private readonly terminator; 38 | private value; 39 | private readonly decreaseButton; 40 | private readonly increaseButton; 41 | private readonly input; 42 | constructor(parent: HTMLElement, printMapping: PrintMapping, stepper: NumericStepper); 43 | with(value: ObservableValue): void; 44 | clear(): void; 45 | connect(): void; 46 | parse(): number | null; 47 | update(): void; 48 | terminate(): void; 49 | private readonly observer; 50 | } 51 | export declare class NumericInput implements Editor> { 52 | private readonly input; 53 | private readonly printMapping; 54 | private readonly terminator; 55 | private value; 56 | constructor(input: HTMLInputElement, printMapping: PrintMapping); 57 | with(value: ObservableValue): void; 58 | clear(): void; 59 | connect(): void; 60 | parse(): number | null; 61 | update(): void; 62 | terminate(): void; 63 | private readonly observer; 64 | } 65 | -------------------------------------------------------------------------------- /bin/lib/mapping.d.ts: -------------------------------------------------------------------------------- 1 | export declare abstract class Range { 2 | readonly min: number; 3 | readonly max: number; 4 | private constructor(); 5 | clamp(value: number): number; 6 | } 7 | export interface ValueMapping { 8 | y(x: number): Y; 9 | x(y: Y): number; 10 | clamp(y: Y): Y; 11 | } 12 | export declare class Linear implements ValueMapping, Range { 13 | readonly min: number; 14 | readonly max: number; 15 | static Identity: Linear; 16 | static Bipolar: Linear; 17 | static Percent: Linear; 18 | private readonly range; 19 | constructor(min: number, max: number); 20 | x(y: number): number; 21 | y(x: number): number; 22 | clamp(y: number): number; 23 | } 24 | export declare class LinearInteger implements ValueMapping, Range { 25 | static Percent: Linear; 26 | readonly min: number; 27 | readonly max: number; 28 | private readonly range; 29 | constructor(min: number, max: number); 30 | x(y: number): number; 31 | y(x: number): number; 32 | clamp(y: number): number; 33 | } 34 | export declare class Exp implements ValueMapping, Range { 35 | readonly min: number; 36 | readonly max: number; 37 | private readonly range; 38 | constructor(min: number, max: number); 39 | x(y: number): number; 40 | y(x: number): number; 41 | clamp(y: number): number; 42 | } 43 | export declare class BooleanMapping implements ValueMapping { 44 | static Instance: BooleanMapping; 45 | x(y: boolean): number; 46 | y(x: number): boolean; 47 | clamp(y: boolean): boolean; 48 | } 49 | export declare class Volume implements ValueMapping, Range { 50 | readonly min: any; 51 | readonly mid: any; 52 | readonly max: any; 53 | static Default: Volume; 54 | private readonly a; 55 | private readonly b; 56 | private readonly c; 57 | constructor(min: any, mid: any, max: any); 58 | y(x: number): number; 59 | x(y: number): number; 60 | clamp(y: number): number; 61 | } 62 | -------------------------------------------------------------------------------- /bin/lib/mapping.js: -------------------------------------------------------------------------------- 1 | export class Range { 2 | constructor() { 3 | } 4 | clamp(value) { 5 | return Math.min(this.max, Math.max(this.min, value)); 6 | } 7 | } 8 | export class Linear { 9 | constructor(min, max) { 10 | this.min = min; 11 | this.max = max; 12 | this.range = max - min; 13 | } 14 | x(y) { 15 | return (y - this.min) / this.range; 16 | } 17 | y(x) { 18 | return this.min + x * this.range; 19 | } 20 | clamp(y) { 21 | return Math.min(this.max, Math.max(this.min, y)); 22 | } 23 | } 24 | Linear.Identity = new Linear(0.0, 1.0); 25 | Linear.Bipolar = new Linear(-1.0, 1.0); 26 | Linear.Percent = new Linear(0.0, 100.0); 27 | export class LinearInteger { 28 | constructor(min, max) { 29 | this.max = max | 0; 30 | this.min = min | 0; 31 | this.range = max - min; 32 | } 33 | x(y) { 34 | return (y - this.min) / this.range; 35 | } 36 | y(x) { 37 | return (this.min + Math.round(x * this.range)) | 0; 38 | } 39 | clamp(y) { 40 | return Math.min(this.max, Math.max(this.min, y)); 41 | } 42 | } 43 | LinearInteger.Percent = new Linear(0, 100); 44 | export class Exp { 45 | constructor(min, max) { 46 | this.max = max; 47 | this.min = min; 48 | this.range = Math.log(max / min); 49 | } 50 | x(y) { 51 | return Math.log(y / this.min) / this.range; 52 | } 53 | y(x) { 54 | return this.min * Math.exp(x * this.range); 55 | } 56 | clamp(y) { 57 | return Math.min(this.max, Math.max(this.min, y)); 58 | } 59 | } 60 | export class BooleanMapping { 61 | x(y) { 62 | return y ? 1.0 : 0.0; 63 | } 64 | y(x) { 65 | return x >= 0.5; 66 | } 67 | clamp(y) { 68 | return y; 69 | } 70 | } 71 | BooleanMapping.Instance = new BooleanMapping(); 72 | export class Volume { 73 | constructor(min, mid, max) { 74 | this.min = min; 75 | this.mid = mid; 76 | this.max = max; 77 | const min2 = min * min; 78 | const max2 = max * max; 79 | const mid2 = mid * mid; 80 | const tmp0 = min + max - 2.0 * mid; 81 | const tmp1 = max - mid; 82 | this.a = ((2.0 * max - mid) * min - mid * max) / tmp0; 83 | this.b = (tmp1 * min2 + (mid2 - max2) * min + mid * max2 - mid2 * max) 84 | / (min2 + (2.0 * max - 4.0 * mid) * min + max2 - 4.0 * mid * max + 4 * mid2); 85 | this.c = -tmp1 / tmp0; 86 | } 87 | y(x) { 88 | if (0.0 >= x) { 89 | return Number.NEGATIVE_INFINITY; 90 | } 91 | if (1.0 <= x) { 92 | return this.max; 93 | } 94 | return this.a - this.b / (x + this.c); 95 | } 96 | x(y) { 97 | if (this.min >= y) { 98 | return 0.0; 99 | } 100 | if (this.max <= y) { 101 | return 1.0; 102 | } 103 | return -this.b / (y - this.a) - this.c; 104 | } 105 | clamp(y) { 106 | return Math.min(this.max, Math.max(this.min, y)); 107 | } 108 | } 109 | Volume.Default = new Volume(-72.0, -12.0, 0.0); 110 | //# sourceMappingURL=mapping.js.map -------------------------------------------------------------------------------- /bin/lib/mapping.js.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"mapping.js","sourceRoot":"","sources":["../../typescript/lib/mapping.ts"],"names":[],"mappings":"AAEA,MAAM,OAAgB,KAAK;IAKvB;IACA,CAAC;IAED,KAAK,CAAC,KAAa;QACf,OAAO,IAAI,CAAC,GAAG,CAAC,I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;SAClC;QACD,IAAI,GAAG,IAAI,CAAC,EAAE;YACV,OAAO,IAAI,CAAC,GAAG,CAAA;SAClB;QACD,OAAO,IAAI,CAAC,CAAC,GAAG,IAAI,CAAC,CAAC,GAAG,CAAC,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,CAAA;IACzC,CAAC;IAED,CAAC,CAAC,CAAS;QACP,IAAI,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE;YACf,OAAO,GAAG,CAAA;SACb;QACD,IAAI,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE;YACf,OAAO,GAAG,CAAA;SACb;QACD,OAAO,CAAC,IAAI,CAAC,CAAC,GAAG,CAAC,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,GAAG,IAAI,CAAC,CAAC,CAAA;IAC1C,CAAC;IAED,KAAK,CAAC,CAAS;QACX,OAAO,IAAI,CAAC,GAAG,CAAC,IAAI,CAAC,GAAG,EAAE,IAAI,CAAC,GAAG,CAAC,IAAI,CAAC,GAAG,EAAE,CAAC,CAAC,CAAC,CAAA;IACpD,CAAC;;AA7CM,cAAO,GAAG,IAAI,MAAM,CAAC,CAAC,IAAI,EAAE,CAAC,IAAI,EAAE,GAAG,CAAC,CAAA"} -------------------------------------------------------------------------------- /bin/lib/math.d.ts: -------------------------------------------------------------------------------- 1 | import { Serializer } from "./common.js"; 2 | export declare const TAU: number; 3 | export declare abstract class Random { 4 | nextDouble(min: number, max: number): number; 5 | nextInt(min: number, max: number): number; 6 | nextElement(array: ArrayLike): T; 7 | nextBoolean(): boolean; 8 | protected abstract uniform(): number; 9 | } 10 | export declare class JsRandom extends Random { 11 | static Instance: JsRandom; 12 | private constructor(); 13 | protected uniform(): number; 14 | } 15 | export declare class Mulberry32 extends Random { 16 | seed: number; 17 | constructor(seed?: number); 18 | protected uniform(): number; 19 | } 20 | export declare class Func { 21 | static smoothStep(x: number): number; 22 | static smoothStepInverse(y: number): number; 23 | static clamp(x: number): number; 24 | static mod(x: number): number; 25 | static switchSign(x: number, neg: boolean): number; 26 | static tx(x: number, t: number): number; 27 | static ty(y: number, t: number): number; 28 | static step(edge0: number, edge1: number, x: number): number; 29 | static stairsMap(fx: (x: number) => number, x: number, fragments?: number, frequency?: number, delta?: number, reverse?: boolean): number; 30 | static stairsInverse(fy: (y: number) => number, y: number, fragments?: number, frequency?: number, delta?: number, reverse?: boolean): number; 31 | } 32 | export interface Bits { 33 | setBit(index: number, value: boolean): boolean; 34 | getBit(index: number): boolean; 35 | clear(): void; 36 | randomise(random: Random, chance: number): void; 37 | } 38 | export declare class BitArray implements Bits, Serializer { 39 | private readonly numBits; 40 | private array; 41 | constructor(numBits?: number); 42 | getBit(index: number): boolean; 43 | setBit(index: number, value: boolean): boolean; 44 | randomise(random: Random, chance?: number): void; 45 | clear(): void; 46 | deserialize(format: number[]): BitArray; 47 | serialize(): number[]; 48 | } 49 | -------------------------------------------------------------------------------- /bin/lib/svg.d.ts: -------------------------------------------------------------------------------- 1 | export declare const createElement: (name: K) => SVGElementTagNameMap[K]; 2 | -------------------------------------------------------------------------------- /bin/lib/svg.js: -------------------------------------------------------------------------------- 1 | export const createElement = (name) => document.createElementNS("http://www.w3.org/2000/svg", name); 2 | //# sourceMappingURL=svg.js.map -------------------------------------------------------------------------------- /bin/lib/svg.js.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"svg.js","sourceRoot":"","sources":["../../typescript/lib/svg.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,aAAa,GAAG,CAAuC,IAAO,EAC7C,EAAE,CAAC,QAAQ,CAAC,eAAe,CAAC,4BAA4B,EAAE,IAAI,CAAC,CAAA"} -------------------------------------------------------------------------------- /bin/main.css.map: -------------------------------------------------------------------------------- 1 | {"version":3,"sources":["../sass/common.sass","main.css","../sass/inputs.sass","../sass/vars.sass","../sass/main.sass"],"names":[],"mappings":"AAMA;EACE,SAAA;EACA,UAAA;EACA,gBAAA;EACA,kBAAA;EACA,oCAAA;EACA,iCAAA;EACA,0BAA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AAA;EACA,YAAA;EACA,mBAAA;AD+DN;AC7DM;EACE,+BAAA;AD+DR;AC7DM;EACE,YAAA;AD+DR;;AGlPA;EACE,WAAA;EACA,YAAA;EACA,eAAA;EACA,aAAA;EACA,sBAAA;EACA,eAAA;AHqPF;AGnPE;EACE,mBAAA;EACA,YAAA;EACA,cJZK;EIaL,yBJfK;EIgBL,qBAAA;EACA,0BAAA;EAAA,uBAAA;EAAA,kBAAA;EACA,mBAAA;AHqPJ;AGnPE;EACE,cAAA;EACA,YAAA;EACA,aAAA;EACA,iDAAA;EAAA,yCAAA;EACA,YAAA;AHqPJ;AGnPI;EACE,aAAA;EACA,aAAA;EACA,qBAAA;OAAA,gBAAA;EACA,yBJ9BG;ACmRT;AGnPM;EACE,WAAA;EACA,cAAA;EACA,yBJpCC;EIqCD,kBAAA;AHqPR;AGnPQ;EACE,WAAA;EACA,YAAA;EACA,kBAAA;AHqPV;AGnPM;EACE,eAAA;EACA,iBAAA;EACA,yBJ/CC;EIgDD,aAAA;EACA,sBAAA;EACA,aAAA;AHqPR;AGnPI;EACE,aAAA;EACA,oBAAA;OAAA,eAAA;AHqPN;AGnPM;EACE,cJtDC;EIuDD,iBAAA;AHqPR;AGnPM;EACE,cAAA;EACA,eAAA;AHqPR;AGnPI;EACE,aAAA;EACA,yBJjEG;EIkEH,aAAA;EACA,sBAAA;AHqPN;AGnPM;EACE,WAAA;EACA,YAAA;EACA,aAAA;EACA,YAAA;EACA,sBAAA;AHqPR;AGnPM;EACE,YAAA;EACA,qBAAA;AHqPR;AGnPI;EACE,aAAA;EACA,sBAAA;AHqPN;AGnPM;EAEE,6BAAA;EACA,WAAA;EACA,YAAA;EACA,yBJzFC;AC6UT;AGlPM;EACE,aAAA;EACA,qCAAA;AHoPR;AGlPM;EACE,iBAAA;EACA,kBAAA;EACA,oBAAA;EACA,cJjGC;EIkGD,qBAAA;AHoPR","file":"main.css"} -------------------------------------------------------------------------------- /bin/main.d.ts: -------------------------------------------------------------------------------- 1 | export {}; 2 | -------------------------------------------------------------------------------- /bin/main.js: -------------------------------------------------------------------------------- 1 | var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) { 2 | function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); } 3 | return new (P || (P = Promise))(function (resolve, reject) { 4 | function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } } 5 | function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } } 6 | function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); } 7 | step((generator = generator.apply(thisArg, _arguments || [])).next()); 8 | }); 9 | }; 10 | import { CodeEditor, Preview, SignalRenderer, UserInterface } from "./automation.js"; 11 | import { examples } from "./examples.js"; 12 | import { Boot, preloadImagesOfCssFile } from "./lib/boot.js"; 13 | import { HTML } from "./lib/dom.js"; 14 | const showProgress = (() => { 15 | const progress = document.querySelector("svg.preloader"); 16 | window.onerror = () => progress.classList.add("error"); 17 | window.onunhandledrejection = () => progress.classList.add("error"); 18 | return (percentage) => progress.style.setProperty("--percentage", percentage.toFixed(2)); 19 | })(); 20 | (() => __awaiter(void 0, void 0, void 0, function* () { 21 | console.debug("booting..."); 22 | const boot = new Boot(); 23 | boot.addObserver(boot => showProgress(boot.normalizedPercentage())); 24 | boot.registerProcess(new Promise((resolve) => { 25 | const id = setInterval(() => { 26 | if (window["editor"] !== undefined) { 27 | clearInterval(id); 28 | resolve(); 29 | } 30 | }, 5); 31 | })); 32 | boot.registerProcess(preloadImagesOfCssFile("./bin/main.css")); 33 | yield boot.waitForCompletion(); 34 | const signalRenderer = new SignalRenderer(); 35 | const codeEditor = new CodeEditor(window['editor'], HTML.query('.error-message')); 36 | const preview = new Preview(HTML.query('canvas')); 37 | const userInterface = new UserInterface(HTML.query('.settings'), preview, codeEditor, signalRenderer); 38 | signalRenderer.renderer.addObserver(buffer => preview.setBuffer(buffer)); 39 | signalRenderer.error.addObserver(message => codeEditor.showMessage(message)); 40 | codeEditor.compiler.addObserver(func => signalRenderer.update(func)); 41 | codeEditor.compile(); 42 | const exampleButtons = HTML.query('.examples'); 43 | examples.forEach((example, index) => { 44 | const button = HTML.create('button', { textContent: example.name }); 45 | button.addEventListener('click', () => userInterface.setFormat(example)); 46 | exampleButtons.appendChild(button); 47 | }); 48 | userInterface.setFormat(examples[0]); 49 | document.addEventListener('touchmove', (event) => event.preventDefault(), { passive: false }); 50 | document.addEventListener('dblclick', (event) => event.preventDefault(), { passive: false }); 51 | const resize = () => { 52 | document.body.style.height = `${window.innerHeight}px`; 53 | preview.resize(); 54 | }; 55 | window.addEventListener("resize", resize); 56 | resize(); 57 | requestAnimationFrame(() => { 58 | document.querySelectorAll("body svg.preloader").forEach(element => element.remove()); 59 | document.querySelectorAll("body main").forEach(element => element.classList.remove("invisible")); 60 | }); 61 | console.debug("boot complete."); 62 | }))(); 63 | //# sourceMappingURL=main.js.map -------------------------------------------------------------------------------- /bin/main.js.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"main.js","sourceRoot":"","sources":["../typescript/main.ts"],"names":[],"mappings":";;;;;;;;;AACA,OAAO,EAAE,UAAU,EAAU,OAAO,EAAE,cAAc,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAA;AAC5F,OAAO,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAA;AACxC,OAAO,EAAE,IAAI,EAAE,sBAAsB,EAAE,MAAM,eAAe,CAAA;AAC5D,OAAO,EAAE,IAAI,EAAE,MAAM,cAAc,CAAA;AAEnC,MAAM,YAAY,GAAG,CAAC,GAAG,EAAE;IACvB,MAAM,QAAQ,GAAkB,QAAQ,CAAC,aAAa,CAAC,eAAe,CAAC,CAAA;IACvE,MAAM,CAAC,OAAO,GAAG,GAAG,EAAE,CAAC,QAAQ,CAAC,SAAS,CAAC,GAAG,CAAC,OAAO,CAAC,CAAA;IACtD,MAAM,CAAC,oBAAoB,GAAG,GAAG,EAAE,CAAC,QAAQ,CAAC,SAAS,CAAC,GAAG,CAAC,O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,CAAC,IAAI,CAAC,KAAK,CAAC,MAAM,GAAG,GAAG,MAAM,CAAC,WAAW,IAAI,CAAA;QACtD,OAAO,CAAC,MAAM,EAAE,CAAA;IACpB,CAAC,CAAA;IACD,MAAM,CAAC,gBAAgB,CAAC,QAAQ,EAAE,MAAM,CAAC,CAAA;IACzC,MAAM,EAAE,CAAA;IACR,qBAAqB,CAAC,GAAG,EAAE;QACvB,QAAQ,CAAC,gBAAgB,CAAC,oBAAoB,CAAC,CAAC,OAAO,CAAC,OAAO,CAAC,EAAE,CAAC,OAAO,CAAC,MAAM,EAAE,CAAC,CAAA;QACpF,QAAQ,CAAC,gBAAgB,CAAC,WAAW,CAAC,CAAC,OAAO,CAAC,OAAO,CAAC,EAAE,CAAC,OAAO,CAAC,SAAS,CAAC,MAAM,CAAC,WAAW,CAAC,CAAC,CAAA;IACpG,CAAC,CAAC,CAAA;IACF,OAAO,CAAC,KAAK,CAAC,gBAAgB,CAAC,CAAA;AACnC,CAAC,CAAA,CAAC,EAAE,CAAA"} -------------------------------------------------------------------------------- /bin/vars.css: -------------------------------------------------------------------------------- 1 | /*# sourceMappingURL=vars.css.map */ -------------------------------------------------------------------------------- /bin/vars.css.map: -------------------------------------------------------------------------------- 1 | {"version":3,"sources":[],"names":[],"mappings":"","file":"vars.css"} -------------------------------------------------------------------------------- /favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andremichelle/web-audio-api-automator/8a3f03cdf70995b58f4857e8789c0c4f7719074a/favicon.ico -------------------------------------------------------------------------------- /fonts/Open_Sans/OpenSans-Italic-VariableFont_wdth,wght.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andremichelle/web-audio-api-automator/8a3f03cdf70995b58f4857e8789c0c4f7719074a/fonts/Open_Sans/OpenSans-Italic-VariableFont_wdth,wght.ttf -------------------------------------------------------------------------------- /fonts/Open_Sans/OpenSans-VariableFont_wdth,wght.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andremichelle/web-audio-api-automator/8a3f03cdf70995b58f4857e8789c0c4f7719074a/fonts/Open_Sans/OpenSans-VariableFont_wdth,wght.ttf -------------------------------------------------------------------------------- /fonts/Open_Sans/static/OpenSans/OpenSans-Bold.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andremichelle/web-audio-api-automator/8a3f03cdf70995b58f4857e8789c0c4f7719074a/fonts/Open_Sans/static/OpenSans/OpenSans-Bold.ttf -------------------------------------------------------------------------------- /fonts/Open_Sans/static/OpenSans/OpenSans-BoldItalic.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andremichelle/web-audio-api-automator/8a3f03cdf70995b58f4857e8789c0c4f7719074a/fonts/Open_Sans/static/OpenSans/OpenSans-BoldItalic.ttf -------------------------------------------------------------------------------- /fonts/Open_Sans/static/OpenSans/OpenSans-ExtraBold.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andremichelle/web-audio-api-automator/8a3f03cdf70995b58f4857e8789c0c4f7719074a/fonts/Open_Sans/static/OpenSans/OpenSans-ExtraBold.ttf -------------------------------------------------------------------------------- /fonts/Open_Sans/static/OpenSans/OpenSans-ExtraBoldItalic.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andremichelle/web-audio-api-automator/8a3f03cdf70995b58f4857e8789c0c4f7719074a/fonts/Open_Sans/static/OpenSans/OpenSans-ExtraBoldItalic.ttf -------------------------------------------------------------------------------- /fonts/Open_Sans/static/OpenSans/OpenSans-Italic.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andremichelle/web-audio-api-automator/8a3f03cdf70995b58f4857e8789c0c4f7719074a/fonts/Open_Sans/static/OpenSans/OpenSans-Italic.ttf -------------------------------------------------------------------------------- /fonts/Open_Sans/static/OpenSans/OpenSans-Light.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andremichelle/web-audio-api-automator/8a3f03cdf70995b58f4857e8789c0c4f7719074a/fonts/Open_Sans/static/OpenSans/OpenSans-Light.ttf -------------------------------------------------------------------------------- /fonts/Open_Sans/static/OpenSans/OpenSans-LightItalic.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andremichelle/web-audio-api-automator/8a3f03cdf70995b58f4857e8789c0c4f7719074a/fonts/Open_Sans/static/OpenSans/OpenSans-LightItalic.ttf -------------------------------------------------------------------------------- /fonts/Open_Sans/static/OpenSans/OpenSans-Medium.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andremichelle/web-audio-api-automator/8a3f03cdf70995b58f4857e8789c0c4f7719074a/fonts/Open_Sans/static/OpenSans/OpenSans-Medium.ttf -------------------------------------------------------------------------------- /fonts/Open_Sans/static/OpenSans/OpenSans-MediumItalic.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andremichelle/web-audio-api-automator/8a3f03cdf70995b58f4857e8789c0c4f7719074a/fonts/Open_Sans/static/OpenSans/OpenSans-MediumItalic.ttf -------------------------------------------------------------------------------- /fonts/Open_Sans/static/OpenSans/OpenSans-Regular.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andremichelle/web-audio-api-automator/8a3f03cdf70995b58f4857e8789c0c4f7719074a/fonts/Open_Sans/static/OpenSans/OpenSans-Regular.ttf -------------------------------------------------------------------------------- /fonts/Open_Sans/static/OpenSans/OpenSans-SemiBold.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andremichelle/web-audio-api-automator/8a3f03cdf70995b58f4857e8789c0c4f7719074a/fonts/Open_Sans/static/OpenSans/OpenSans-SemiBold.ttf -------------------------------------------------------------------------------- /fonts/Open_Sans/static/OpenSans/OpenSans-SemiBoldItalic.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andremichelle/web-audio-api-automator/8a3f03cdf70995b58f4857e8789c0c4f7719074a/fonts/Open_Sans/static/OpenSans/OpenSans-SemiBoldItalic.ttf -------------------------------------------------------------------------------- /fonts/Open_Sans/static/OpenSans_Condensed/OpenSans_Condensed-Bold.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andremichelle/web-audio-api-automator/8a3f03cdf70995b58f4857e8789c0c4f7719074a/fonts/Open_Sans/static/OpenSans_Condensed/OpenSans_Condensed-Bold.ttf -------------------------------------------------------------------------------- /fonts/Open_Sans/static/OpenSans_Condensed/OpenSans_Condensed-BoldItalic.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andremichelle/web-audio-api-automator/8a3f03cdf70995b58f4857e8789c0c4f7719074a/fonts/Open_Sans/static/OpenSans_Condensed/OpenSans_Condensed-BoldItalic.ttf -------------------------------------------------------------------------------- /fonts/Open_Sans/static/OpenSans_Condensed/OpenSans_Condensed-ExtraBold.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andremichelle/web-audio-api-automator/8a3f03cdf70995b58f4857e8789c0c4f7719074a/fonts/Open_Sans/static/OpenSans_Condensed/OpenSans_Condensed-ExtraBold.ttf -------------------------------------------------------------------------------- /fonts/Open_Sans/static/OpenSans_Condensed/OpenSans_Condensed-ExtraBoldItalic.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andremichelle/web-audio-api-automator/8a3f03cdf70995b58f4857e8789c0c4f7719074a/fonts/Open_Sans/static/OpenSans_Condensed/OpenSans_Condensed-ExtraBoldItalic.ttf -------------------------------------------------------------------------------- /fonts/Open_Sans/static/OpenSans_Condensed/OpenSans_Condensed-Italic.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andremichelle/web-audio-api-automator/8a3f03cdf70995b58f4857e8789c0c4f7719074a/fonts/Open_Sans/static/OpenSans_Condensed/OpenSans_Condensed-Italic.ttf -------------------------------------------------------------------------------- /fonts/Open_Sans/static/OpenSans_Condensed/OpenSans_Condensed-Light.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andremichelle/web-audio-api-automator/8a3f03cdf70995b58f4857e8789c0c4f7719074a/fonts/Open_Sans/static/OpenSans_Condensed/OpenSans_Condensed-Light.ttf -------------------------------------------------------------------------------- /fonts/Open_Sans/static/OpenSans_Condensed/OpenSans_Condensed-LightItalic.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andremichelle/web-audio-api-automator/8a3f03cdf70995b58f4857e8789c0c4f7719074a/fonts/Open_Sans/static/OpenSans_Condensed/OpenSans_Condensed-LightItalic.ttf -------------------------------------------------------------------------------- /fonts/Open_Sans/static/OpenSans_Condensed/OpenSans_Condensed-Medium.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andremichelle/web-audio-api-automator/8a3f03cdf70995b58f4857e8789c0c4f7719074a/fonts/Open_Sans/static/OpenSans_Condensed/OpenSans_Condensed-Medium.ttf -------------------------------------------------------------------------------- /fonts/Open_Sans/static/OpenSans_Condensed/OpenSans_Condensed-MediumItalic.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andremichelle/web-audio-api-automator/8a3f03cdf70995b58f4857e8789c0c4f7719074a/fonts/Open_Sans/static/OpenSans_Condensed/OpenSans_Condensed-MediumItalic.ttf -------------------------------------------------------------------------------- /fonts/Open_Sans/static/OpenSans_Condensed/OpenSans_Condensed-Regular.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andremichelle/web-audio-api-automator/8a3f03cdf70995b58f4857e8789c0c4f7719074a/fonts/Open_Sans/static/OpenSans_Condensed/OpenSans_Condensed-Regular.ttf -------------------------------------------------------------------------------- /fonts/Open_Sans/static/OpenSans_Condensed/OpenSans_Condensed-SemiBold.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andremichelle/web-audio-api-automator/8a3f03cdf70995b58f4857e8789c0c4f7719074a/fonts/Open_Sans/static/OpenSans_Condensed/OpenSans_Condensed-SemiBold.ttf -------------------------------------------------------------------------------- /fonts/Open_Sans/static/OpenSans_Condensed/OpenSans_Condensed-SemiBoldItalic.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andremichelle/web-audio-api-automator/8a3f03cdf70995b58f4857e8789c0c4f7719074a/fonts/Open_Sans/static/OpenSans_Condensed/OpenSans_Condensed-SemiBoldItalic.ttf -------------------------------------------------------------------------------- /fonts/Open_Sans/static/OpenSans_SemiCondensed/OpenSans_SemiCondensed-Bold.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andremichelle/web-audio-api-automator/8a3f03cdf70995b58f4857e8789c0c4f7719074a/fonts/Open_Sans/static/OpenSans_SemiCondensed/OpenSans_SemiCondensed-Bold.ttf -------------------------------------------------------------------------------- /fonts/Open_Sans/static/OpenSans_SemiCondensed/OpenSans_SemiCondensed-BoldItalic.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andremichelle/web-audio-api-automator/8a3f03cdf70995b58f4857e8789c0c4f7719074a/fonts/Open_Sans/static/OpenSans_SemiCondensed/OpenSans_SemiCondensed-BoldItalic.ttf -------------------------------------------------------------------------------- /fonts/Open_Sans/static/OpenSans_SemiCondensed/OpenSans_SemiCondensed-ExtraBold.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andremichelle/web-audio-api-automator/8a3f03cdf70995b58f4857e8789c0c4f7719074a/fonts/Open_Sans/static/OpenSans_SemiCondensed/OpenSans_SemiCondensed-ExtraBold.ttf -------------------------------------------------------------------------------- /fonts/Open_Sans/static/OpenSans_SemiCondensed/OpenSans_SemiCondensed-ExtraBoldItalic.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andremichelle/web-audio-api-automator/8a3f03cdf70995b58f4857e8789c0c4f7719074a/fonts/Open_Sans/static/OpenSans_SemiCondensed/OpenSans_SemiCondensed-ExtraBoldItalic.ttf -------------------------------------------------------------------------------- /fonts/Open_Sans/static/OpenSans_SemiCondensed/OpenSans_SemiCondensed-Italic.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andremichelle/web-audio-api-automator/8a3f03cdf70995b58f4857e8789c0c4f7719074a/fonts/Open_Sans/static/OpenSans_SemiCondensed/OpenSans_SemiCondensed-Italic.ttf -------------------------------------------------------------------------------- /fonts/Open_Sans/static/OpenSans_SemiCondensed/OpenSans_SemiCondensed-Light.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andremichelle/web-audio-api-automator/8a3f03cdf70995b58f4857e8789c0c4f7719074a/fonts/Open_Sans/static/OpenSans_SemiCondensed/OpenSans_SemiCondensed-Light.ttf -------------------------------------------------------------------------------- /fonts/Open_Sans/static/OpenSans_SemiCondensed/OpenSans_SemiCondensed-LightItalic.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andremichelle/web-audio-api-automator/8a3f03cdf70995b58f4857e8789c0c4f7719074a/fonts/Open_Sans/static/OpenSans_SemiCondensed/OpenSans_SemiCondensed-LightItalic.ttf -------------------------------------------------------------------------------- /fonts/Open_Sans/static/OpenSans_SemiCondensed/OpenSans_SemiCondensed-Medium.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andremichelle/web-audio-api-automator/8a3f03cdf70995b58f4857e8789c0c4f7719074a/fonts/Open_Sans/static/OpenSans_SemiCondensed/OpenSans_SemiCondensed-Medium.ttf -------------------------------------------------------------------------------- /fonts/Open_Sans/static/OpenSans_SemiCondensed/OpenSans_SemiCondensed-MediumItalic.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andremichelle/web-audio-api-automator/8a3f03cdf70995b58f4857e8789c0c4f7719074a/fonts/Open_Sans/static/OpenSans_SemiCondensed/OpenSans_SemiCondensed-MediumItalic.ttf -------------------------------------------------------------------------------- /fonts/Open_Sans/static/OpenSans_SemiCondensed/OpenSans_SemiCondensed-Regular.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andremichelle/web-audio-api-automator/8a3f03cdf70995b58f4857e8789c0c4f7719074a/fonts/Open_Sans/static/OpenSans_SemiCondensed/OpenSans_SemiCondensed-Regular.ttf -------------------------------------------------------------------------------- /fonts/Open_Sans/static/OpenSans_SemiCondensed/OpenSans_SemiCondensed-SemiBold.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andremichelle/web-audio-api-automator/8a3f03cdf70995b58f4857e8789c0c4f7719074a/fonts/Open_Sans/static/OpenSans_SemiCondensed/OpenSans_SemiCondensed-SemiBold.ttf -------------------------------------------------------------------------------- /fonts/Open_Sans/static/OpenSans_SemiCondensed/OpenSans_SemiCondensed-SemiBoldItalic.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andremichelle/web-audio-api-automator/8a3f03cdf70995b58f4857e8789c0c4f7719074a/fonts/Open_Sans/static/OpenSans_SemiCondensed/OpenSans_SemiCondensed-SemiBoldItalic.ttf -------------------------------------------------------------------------------- /monaco-editor/min/vs/base/browser/ui/codicons/codicon/codicon.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andremichelle/web-audio-api-automator/8a3f03cdf70995b58f4857e8789c0c4f7719074a/monaco-editor/min/vs/base/browser/ui/codicons/codicon/codicon.ttf -------------------------------------------------------------------------------- /monaco-editor/min/vs/base/common/worker/simpleWorker.nls.de.js: -------------------------------------------------------------------------------- 1 | /*!----------------------------------------------------------- 2 | * Copyright (c) Microsoft Corporation. All rights reserved. 3 | * Version: 0.34.0(4b8a47f3570a4a05ace9d00ae0df044b55befcd5) 4 | * Released under the MIT license 5 | * https://github.com/microsoft/vscode/blob/main/LICENSE.txt 6 | *-----------------------------------------------------------*/define("vs/base/common/worker/simpleWorker.nls.de",{"vs/base/common/platform":["_"]}); 7 | 8 | //# sourceMappingURL=../../../../../min-maps/vs/base/common/worker/simpleWorker.nls.de.js.map -------------------------------------------------------------------------------- /monaco-editor/min/vs/base/common/worker/simpleWorker.nls.es.js: -------------------------------------------------------------------------------- 1 | /*!----------------------------------------------------------- 2 | * Copyright (c) Microsoft Corporation. All rights reserved. 3 | * Version: 0.34.0(4b8a47f3570a4a05ace9d00ae0df044b55befcd5) 4 | * Released under the MIT license 5 | * https://github.com/microsoft/vscode/blob/main/LICENSE.txt 6 | *-----------------------------------------------------------*/define("vs/base/common/worker/simpleWorker.nls.es",{"vs/base/common/platform":["_"]}); 7 | 8 | //# sourceMappingURL=../../../../../min-maps/vs/base/common/worker/simpleWorker.nls.es.js.map -------------------------------------------------------------------------------- /monaco-editor/min/vs/base/common/worker/simpleWorker.nls.fr.js: -------------------------------------------------------------------------------- 1 | /*!----------------------------------------------------------- 2 | * Copyright (c) Microsoft Corporation. All rights reserved. 3 | * Version: 0.34.0(4b8a47f3570a4a05ace9d00ae0df044b55befcd5) 4 | * Released under the MIT license 5 | * https://github.com/microsoft/vscode/blob/main/LICENSE.txt 6 | *-----------------------------------------------------------*/define("vs/base/common/worker/simpleWorker.nls.fr",{"vs/base/common/platform":["_"]}); 7 | 8 | //# sourceMappingURL=../../../../../min-maps/vs/base/common/worker/simpleWorker.nls.fr.js.map -------------------------------------------------------------------------------- /monaco-editor/min/vs/base/common/worker/simpleWorker.nls.it.js: -------------------------------------------------------------------------------- 1 | /*!----------------------------------------------------------- 2 | * Copyright (c) Microsoft Corporation. All rights reserved. 3 | * Version: 0.34.0(4b8a47f3570a4a05ace9d00ae0df044b55befcd5) 4 | * Released under the MIT license 5 | * https://github.com/microsoft/vscode/blob/main/LICENSE.txt 6 | *-----------------------------------------------------------*/define("vs/base/common/worker/simpleWorker.nls.it",{"vs/base/common/platform":["_"]}); 7 | 8 | //# sourceMappingURL=../../../../../min-maps/vs/base/common/worker/simpleWorker.nls.it.js.map -------------------------------------------------------------------------------- /monaco-editor/min/vs/base/common/worker/simpleWorker.nls.ja.js: -------------------------------------------------------------------------------- 1 | /*!----------------------------------------------------------- 2 | * Copyright (c) Microsoft Corporation. All rights reserved. 3 | * Version: 0.34.0(4b8a47f3570a4a05ace9d00ae0df044b55befcd5) 4 | * Released under the MIT license 5 | * https://github.com/microsoft/vscode/blob/main/LICENSE.txt 6 | *-----------------------------------------------------------*/define("vs/base/common/worker/simpleWorker.nls.ja",{"vs/base/common/platform":["_"]}); 7 | 8 | //# sourceMappingURL=../../../../../min-maps/vs/base/common/worker/simpleWorker.nls.ja.js.map -------------------------------------------------------------------------------- /monaco-editor/min/vs/base/common/worker/simpleWorker.nls.js: -------------------------------------------------------------------------------- 1 | /*!----------------------------------------------------------- 2 | * Copyright (c) Microsoft Corporation. All rights reserved. 3 | * Version: 0.34.0(4b8a47f3570a4a05ace9d00ae0df044b55befcd5) 4 | * Released under the MIT license 5 | * https://github.com/microsoft/vscode/blob/main/LICENSE.txt 6 | *-----------------------------------------------------------*/define("vs/base/common/worker/simpleWorker.nls",{"vs/base/common/platform":["_"]}); 7 | 8 | //# sourceMappingURL=../../../../../min-maps/vs/base/common/worker/simpleWorker.nls.js.map -------------------------------------------------------------------------------- /monaco-editor/min/vs/base/common/worker/simpleWorker.nls.ko.js: -------------------------------------------------------------------------------- 1 | /*!----------------------------------------------------------- 2 | * Copyright (c) Microsoft Corporation. All rights reserved. 3 | * Version: 0.34.0(4b8a47f3570a4a05ace9d00ae0df044b55befcd5) 4 | * Released under the MIT license 5 | * https://github.com/microsoft/vscode/blob/main/LICENSE.txt 6 | *-----------------------------------------------------------*/define("vs/base/common/worker/simpleWorker.nls.ko",{"vs/base/common/platform":["_"]}); 7 | 8 | //# sourceMappingURL=../../../../../min-maps/vs/base/common/worker/simpleWorker.nls.ko.js.map -------------------------------------------------------------------------------- /monaco-editor/min/vs/base/common/worker/simpleWorker.nls.ru.js: -------------------------------------------------------------------------------- 1 | /*!----------------------------------------------------------- 2 | * Copyright (c) Microsoft Corporation. All rights reserved. 3 | * Version: 0.34.0(4b8a47f3570a4a05ace9d00ae0df044b55befcd5) 4 | * Released under the MIT license 5 | * https://github.com/microsoft/vscode/blob/main/LICENSE.txt 6 | *-----------------------------------------------------------*/define("vs/base/common/worker/simpleWorker.nls.ru",{"vs/base/common/platform":["_"]}); 7 | 8 | //# sourceMappingURL=../../../../../min-maps/vs/base/common/worker/simpleWorker.nls.ru.js.map -------------------------------------------------------------------------------- /monaco-editor/min/vs/base/common/worker/simpleWorker.nls.zh-cn.js: -------------------------------------------------------------------------------- 1 | /*!----------------------------------------------------------- 2 | * Copyright (c) Microsoft Corporation. All rights reserved. 3 | * Version: 0.34.0(4b8a47f3570a4a05ace9d00ae0df044b55befcd5) 4 | * Released under the MIT license 5 | * https://github.com/microsoft/vscode/blob/main/LICENSE.txt 6 | *-----------------------------------------------------------*/define("vs/base/common/worker/simpleWorker.nls.zh-cn",{"vs/base/common/platform":["_"]}); 7 | 8 | //# sourceMappingURL=../../../../../min-maps/vs/base/common/worker/simpleWorker.nls.zh-cn.js.map -------------------------------------------------------------------------------- /monaco-editor/min/vs/base/common/worker/simpleWorker.nls.zh-tw.js: -------------------------------------------------------------------------------- 1 | /*!----------------------------------------------------------- 2 | * Copyright (c) Microsoft Corporation. All rights reserved. 3 | * Version: 0.34.0(4b8a47f3570a4a05ace9d00ae0df044b55befcd5) 4 | * Released under the MIT license 5 | * https://github.com/microsoft/vscode/blob/main/LICENSE.txt 6 | *-----------------------------------------------------------*/define("vs/base/common/worker/simpleWorker.nls.zh-tw",{"vs/base/common/platform":["_"]}); 7 | 8 | //# sourceMappingURL=../../../../../min-maps/vs/base/common/worker/simpleWorker.nls.zh-tw.js.map -------------------------------------------------------------------------------- /monaco-editor/min/vs/basic-languages/azcli/azcli.js: -------------------------------------------------------------------------------- 1 | "use strict";/*!----------------------------------------------------------------------------- 2 | * Copyright (c) Microsoft Corporation. All rights reserved. 3 | * Version: 0.34.0(9d278685b078158491964f8fd7ac9628fffa0f30) 4 | * Released under the MIT license 5 | * https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt 6 | *-----------------------------------------------------------------------------*/ 7 | define("vs/basic-languages/azcli/azcli", ["require","require"],(require)=>{ 8 | var moduleExports=(()=>{var s=Object.defineProperty;var i=Object.getOwnPropertyDescriptor;var r=Object.getOwnPropertyNames;var l=Object.prototype.hasOwnProperty;var c=(t,e)=>{for(var o in e)s(t,o,{get:e[o],enumerable:!0})},k=(t,e,o,a)=>{if(e&&typeof e=="object"||typeof e=="function")for(let n of r(e))!l.call(t,n)&&n!==o&&s(t,n,{get:()=>e[n],enumerable:!(a=i(e,n))||a.enumerable});return t};var p=t=>k(s({},"__esModule",{value:!0}),t);var d={};c(d,{conf:()=>f,language:()=>g});var f={comments:{lineComment:"#"}},g={defaultToken:"keyword",ignoreCase:!0,tokenPostfix:".azcli",str:/[^#\s]/,tokenizer:{root:[{include:"@comment"},[/\s-+@str*\s*/,{cases:{"@eos":{token:"key.identifier",next:"@popall"},"@default":{token:"key.identifier",next:"@type"}}}],[/^-+@str*\s*/,{cases:{"@eos":{token:"key.identifier",next:"@popall"},"@default":{token:"key.identifier",next:"@type"}}}]],type:[{include:"@comment"},[/-+@str*\s*/,{cases:{"@eos":{token:"key.identifier",next:"@popall"},"@default":"key.identifier"}}],[/@str+\s*/,{cases:{"@eos":{token:"string",next:"@popall"},"@default":"string"}}]],comment:[[/#.*$/,{cases:{"@eos":{token:"comment",next:"@popall"}}}]]}};return p(d);})(); 9 | return moduleExports; 10 | }); 11 | -------------------------------------------------------------------------------- /monaco-editor/min/vs/basic-languages/bat/bat.js: -------------------------------------------------------------------------------- 1 | "use strict";/*!----------------------------------------------------------------------------- 2 | * Copyright (c) Microsoft Corporation. All rights reserved. 3 | * Version: 0.34.0(9d278685b078158491964f8fd7ac9628fffa0f30) 4 | * Released under the MIT license 5 | * https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt 6 | *-----------------------------------------------------------------------------*/ 7 | define("vs/basic-languages/bat/bat", ["require","require"],(require)=>{ 8 | var moduleExports=(()=>{var n=Object.defineProperty;var r=Object.getOwnPropertyDescriptor;var l=Object.getOwnPropertyNames;var i=Object.prototype.hasOwnProperty;var g=(o,e)=>{for(var t in e)n(o,t,{get:e[t],enumerable:!0})},c=(o,e,t,a)=>{if(e&&typeof e=="object"||typeof e=="function")for(let s of l(e))!i.call(o,s)&&s!==t&&n(o,s,{get:()=>e[s],enumerable:!(a=r(e,s))||a.enumerable});return o};var p=o=>c(n({},"__esModule",{value:!0}),o);var k={};g(k,{conf:()=>d,language:()=>m});var d={comments:{lineComment:"REM"},brackets:[["{","}"],["[","]"],["(",")"]],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'}],surroundingPairs:[{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'}],folding:{markers:{start:new RegExp("^\\s*(::\\s*|REM\\s+)#region"),end:new RegExp("^\\s*(::\\s*|REM\\s+)#endregion")}}},m={defaultToken:"",ignoreCase:!0,tokenPostfix:".bat",brackets:[{token:"delimiter.bracket",open:"{",close:"}"},{token:"delimiter.parenthesis",open:"(",close:")"},{token:"delimiter.square",open:"[",close:"]"}],keywords:/call|defined|echo|errorlevel|exist|for|goto|if|pause|set|shift|start|title|not|pushd|popd/,symbols:/[=>{ 8 | var moduleExports=(()=>{var r=Object.defineProperty;var s=Object.getOwnPropertyDescriptor;var c=Object.getOwnPropertyNames;var a=Object.prototype.hasOwnProperty;var g=(e,n)=>{for(var o in n)r(e,o,{get:n[o],enumerable:!0})},l=(e,n,o,i)=>{if(n&&typeof n=="object"||typeof n=="function")for(let t of c(n))!a.call(e,t)&&t!==o&&r(e,t,{get:()=>n[t],enumerable:!(i=s(n,t))||i.enumerable});return e};var m=e=>l(r({},"__esModule",{value:!0}),e);var y={};g(y,{conf:()=>$,language:()=>w});var p=e=>`\\b${e}\\b`,k="[_a-zA-Z]",x="[_a-zA-Z0-9]",u=p(`${k}${x}*`),d=["targetScope","resource","module","param","var","output","for","in","if","existing"],b=["true","false","null"],f="[ \\t\\r\\n]",C="[0-9]+",$={comments:{lineComment:"//",blockComment:["/*","*/"]},brackets:[["{","}"],["[","]"],["(",")"]],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:"'",close:"'"},{open:"'''",close:"'''"}],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:"'",close:"'",notIn:["string","comment"]},{open:"'''",close:"'''",notIn:["string","comment"]}],autoCloseBefore:`:.,=}])' 9 | `,indentationRules:{increaseIndentPattern:new RegExp("^((?!\\/\\/).)*(\\{[^}\"'`]*|\\([^)\"'`]*|\\[[^\\]\"'`]*)$"),decreaseIndentPattern:new RegExp("^((?!.*?\\/\\*).*\\*/)?\\s*[\\}\\]].*$")}},w={defaultToken:"",tokenPostfix:".bicep",brackets:[{open:"{",close:"}",token:"delimiter.curly"},{open:"[",close:"]",token:"delimiter.square"},{open:"(",close:")",token:"delimiter.parenthesis"}],symbols:/[=>{ 8 | var moduleExports=(()=>{var s=Object.defineProperty;var i=Object.getOwnPropertyDescriptor;var a=Object.getOwnPropertyNames;var l=Object.prototype.hasOwnProperty;var c=(o,e)=>{for(var n in e)s(o,n,{get:e[n],enumerable:!0})},m=(o,e,n,r)=>{if(e&&typeof e=="object"||typeof e=="function")for(let t of a(e))!l.call(o,t)&&t!==n&&s(o,t,{get:()=>e[t],enumerable:!(r=i(e,t))||r.enumerable});return o};var p=o=>m(s({},"__esModule",{value:!0}),o);var u={};c(u,{conf:()=>d,language:()=>g});var d={comments:{lineComment:"//",blockComment:["(*","*)"]},brackets:[["{","}"],["[","]"],["(",")"],["<",">"]],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:"<",close:">"},{open:"'",close:"'"},{open:'"',close:'"'},{open:"(*",close:"*)"}],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:"<",close:">"},{open:"'",close:"'"},{open:'"',close:'"'},{open:"(*",close:"*)"}]},g={defaultToken:"",tokenPostfix:".cameligo",ignoreCase:!0,brackets:[{open:"{",close:"}",token:"delimiter.curly"},{open:"[",close:"]",token:"delimiter.square"},{open:"(",close:")",token:"delimiter.parenthesis"},{open:"<",close:">",token:"delimiter.angle"}],keywords:["abs","assert","block","Bytes","case","Crypto","Current","else","failwith","false","for","fun","if","in","let","let%entry","let%init","List","list","Map","map","match","match%nat","mod","not","operation","Operation","of","record","Set","set","sender","skip","source","String","then","to","true","type","with"],typeKeywords:["int","unit","string","tz","nat","bool"],operators:["=",">","<","<=",">=","<>",":",":=","and","mod","or","+","-","*","/","@","&","^","%","->","<-","&&","||"],symbols:/[=><:@\^&|+\-*\/\^%]+/,tokenizer:{root:[[/[a-zA-Z_][\w]*/,{cases:{"@keywords":{token:"keyword.$0"},"@default":"identifier"}}],{include:"@whitespace"},[/[{}()\[\]]/,"@brackets"],[/[<>](?!@symbols)/,"@brackets"],[/@symbols/,{cases:{"@operators":"delimiter","@default":""}}],[/\d*\.\d+([eE][\-+]?\d+)?/,"number.float"],[/\$[0-9a-fA-F]{1,16}/,"number.hex"],[/\d+/,"number"],[/[;,.]/,"delimiter"],[/'([^'\\]|\\.)*$/,"string.invalid"],[/'/,"string","@string"],[/'[^\\']'/,"string"],[/'/,"string.invalid"],[/\#\d+/,"string"]],comment:[[/[^\(\*]+/,"comment"],[/\*\)/,"comment","@pop"],[/\(\*/,"comment"]],string:[[/[^\\']+/,"string"],[/\\./,"string.escape.invalid"],[/'/,{token:"string.quote",bracket:"@close",next:"@pop"}]],whitespace:[[/[ \t\r\n]+/,"white"],[/\(\*/,"comment","@comment"],[/\/\/.*$/,"comment"]]}};return p(u);})(); 9 | return moduleExports; 10 | }); 11 | -------------------------------------------------------------------------------- /monaco-editor/min/vs/basic-languages/csp/csp.js: -------------------------------------------------------------------------------- 1 | "use strict";/*!----------------------------------------------------------------------------- 2 | * Copyright (c) Microsoft Corporation. All rights reserved. 3 | * Version: 0.34.0(9d278685b078158491964f8fd7ac9628fffa0f30) 4 | * Released under the MIT license 5 | * https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt 6 | *-----------------------------------------------------------------------------*/ 7 | define("vs/basic-languages/csp/csp", ["require","require"],(require)=>{ 8 | var moduleExports=(()=>{var o=Object.defineProperty;var i=Object.getOwnPropertyDescriptor;var u=Object.getOwnPropertyNames;var g=Object.prototype.hasOwnProperty;var a=(r,t)=>{for(var s in t)o(r,s,{get:t[s],enumerable:!0})},c=(r,t,s,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let e of u(t))!g.call(r,e)&&e!==s&&o(r,e,{get:()=>t[e],enumerable:!(n=i(t,e))||n.enumerable});return r};var q=r=>c(o({},"__esModule",{value:!0}),r);var p={};a(p,{conf:()=>f,language:()=>l});var f={brackets:[],autoClosingPairs:[],surroundingPairs:[]},l={keywords:[],typeKeywords:[],tokenPostfix:".csp",operators:[],symbols:/[=>{ 8 | var moduleExports=(()=>{var a=Object.defineProperty;var l=Object.getOwnPropertyDescriptor;var r=Object.getOwnPropertyNames;var i=Object.prototype.hasOwnProperty;var p=(o,e)=>{for(var s in e)a(o,s,{get:e[s],enumerable:!0})},g=(o,e,s,t)=>{if(e&&typeof e=="object"||typeof e=="function")for(let n of r(e))!i.call(o,n)&&n!==s&&a(o,n,{get:()=>e[n],enumerable:!(t=l(e,n))||t.enumerable});return o};var c=o=>g(a({},"__esModule",{value:!0}),o);var k={};p(k,{conf:()=>u,language:()=>d});var u={brackets:[["{","}"],["[","]"],["(",")"]],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}]},d={defaultToken:"",tokenPostfix:".dockerfile",variable:/\${?[\w]+}?/,tokenizer:{root:[{include:"@whitespace"},{include:"@comment"},[/(ONBUILD)(\s+)/,["keyword",""]],[/(ENV)(\s+)([\w]+)/,["keyword","",{token:"variable",next:"@arguments"}]],[/(FROM|MAINTAINER|RUN|EXPOSE|ENV|ADD|ARG|VOLUME|LABEL|USER|WORKDIR|COPY|CMD|STOPSIGNAL|SHELL|HEALTHCHECK|ENTRYPOINT)/,{token:"keyword",next:"@arguments"}]],arguments:[{include:"@whitespace"},{include:"@strings"},[/(@variable)/,{cases:{"@eos":{token:"variable",next:"@popall"},"@default":"variable"}}],[/\\/,{cases:{"@eos":"","@default":""}}],[/./,{cases:{"@eos":{token:"",next:"@popall"},"@default":""}}]],whitespace:[[/\s+/,{cases:{"@eos":{token:"",next:"@popall"},"@default":""}}]],comment:[[/(^#.*$)/,"comment","@popall"]],strings:[[/\\'$/,"","@popall"],[/\\'/,""],[/'$/,"string","@popall"],[/'/,"string","@stringBody"],[/"$/,"string","@popall"],[/"/,"string","@dblStringBody"]],stringBody:[[/[^\\\$']/,{cases:{"@eos":{token:"string",next:"@popall"},"@default":"string"}}],[/\\./,"string.escape"],[/'$/,"string","@popall"],[/'/,"string","@pop"],[/(@variable)/,"variable"],[/\\$/,"string"],[/$/,"string","@popall"]],dblStringBody:[[/[^\\\$"]/,{cases:{"@eos":{token:"string",next:"@popall"},"@default":"string"}}],[/\\./,"string.escape"],[/"$/,"string","@popall"],[/"/,"string","@pop"],[/(@variable)/,"variable"],[/\\$/,"string"],[/$/,"string","@popall"]]}};return c(k);})(); 9 | return moduleExports; 10 | }); 11 | -------------------------------------------------------------------------------- /monaco-editor/min/vs/basic-languages/flow9/flow9.js: -------------------------------------------------------------------------------- 1 | "use strict";/*!----------------------------------------------------------------------------- 2 | * Copyright (c) Microsoft Corporation. All rights reserved. 3 | * Version: 0.34.0(9d278685b078158491964f8fd7ac9628fffa0f30) 4 | * Released under the MIT license 5 | * https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt 6 | *-----------------------------------------------------------------------------*/ 7 | define("vs/basic-languages/flow9/flow9", ["require","require"],(require)=>{ 8 | var moduleExports=(()=>{var s=Object.defineProperty;var r=Object.getOwnPropertyDescriptor;var a=Object.getOwnPropertyNames;var l=Object.prototype.hasOwnProperty;var c=(o,e)=>{for(var t in e)s(o,t,{get:e[t],enumerable:!0})},m=(o,e,t,i)=>{if(e&&typeof e=="object"||typeof e=="function")for(let n of a(e))!l.call(o,n)&&n!==t&&s(o,n,{get:()=>e[n],enumerable:!(i=r(e,n))||i.enumerable});return o};var p=o=>m(s({},"__esModule",{value:!0}),o);var u={};c(u,{conf:()=>g,language:()=>f});var g={comments:{blockComment:["/*","*/"],lineComment:"//"},brackets:[["{","}"],["[","]"],["(",")"]],autoClosingPairs:[{open:"{",close:"}",notIn:["string"]},{open:"[",close:"]",notIn:["string"]},{open:"(",close:")",notIn:["string"]},{open:'"',close:'"',notIn:["string"]},{open:"'",close:"'",notIn:["string"]}],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"},{open:"<",close:">"}]},f={defaultToken:"",tokenPostfix:".flow",keywords:["import","require","export","forbid","native","if","else","cast","unsafe","switch","default"],types:["io","mutable","bool","int","double","string","flow","void","ref","true","false","with"],operators:["=",">","<","<=",">=","==","!","!=",":=","::=","&&","||","+","-","*","/","@","&","%",":","->","\\","$","??","^"],symbols:/[@$=>](?!@symbols)/,"delimiter"],[/@symbols/,{cases:{"@operators":"delimiter","@default":""}}],[/((0(x|X)[0-9a-fA-F]*)|(([0-9]+\.?[0-9]*)|(\.[0-9]+))((e|E)(\+|-)?[0-9]+)?)/,"number"],[/[;,.]/,"delimiter"],[/"([^"\\]|\\.)*$/,"string.invalid"],[/"/,"string","@string"]],whitespace:[[/[ \t\r\n]+/,""],[/\/\*/,"comment","@comment"],[/\/\/.*$/,"comment"]],comment:[[/[^\/*]+/,"comment"],[/\*\//,"comment","@pop"],[/[\/*]/,"comment"]],string:[[/[^\\"]+/,"string"],[/@escapes/,"string.escape"],[/\\./,"string.escape.invalid"],[/"/,"string","@pop"]]}};return p(u);})(); 9 | return moduleExports; 10 | }); 11 | -------------------------------------------------------------------------------- /monaco-editor/min/vs/basic-languages/fsharp/fsharp.js: -------------------------------------------------------------------------------- 1 | "use strict";/*!----------------------------------------------------------------------------- 2 | * Copyright (c) Microsoft Corporation. All rights reserved. 3 | * Version: 0.34.0(9d278685b078158491964f8fd7ac9628fffa0f30) 4 | * Released under the MIT license 5 | * https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt 6 | *-----------------------------------------------------------------------------*/ 7 | define("vs/basic-languages/fsharp/fsharp", ["require","require"],(require)=>{ 8 | var moduleExports=(()=>{var s=Object.defineProperty;var r=Object.getOwnPropertyDescriptor;var a=Object.getOwnPropertyNames;var l=Object.prototype.hasOwnProperty;var c=(n,e)=>{for(var o in e)s(n,o,{get:e[o],enumerable:!0})},g=(n,e,o,i)=>{if(e&&typeof e=="object"||typeof e=="function")for(let t of a(e))!l.call(n,t)&&t!==o&&s(n,t,{get:()=>e[t],enumerable:!(i=r(e,t))||i.enumerable});return n};var f=n=>g(s({},"__esModule",{value:!0}),n);var d={};c(d,{conf:()=>m,language:()=>u});var m={comments:{lineComment:"//",blockComment:["(*","*)"]},brackets:[["{","}"],["[","]"],["(",")"]],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'}],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}],folding:{markers:{start:new RegExp("^\\s*//\\s*#region\\b|^\\s*\\(\\*\\s*#region(.*)\\*\\)"),end:new RegExp("^\\s*//\\s*#endregion\\b|^\\s*\\(\\*\\s*#endregion\\s*\\*\\)")}}},u={defaultToken:"",tokenPostfix:".fs",keywords:["abstract","and","atomic","as","assert","asr","base","begin","break","checked","component","const","constraint","constructor","continue","class","default","delegate","do","done","downcast","downto","elif","else","end","exception","eager","event","external","extern","false","finally","for","fun","function","fixed","functor","global","if","in","include","inherit","inline","interface","internal","land","lor","lsl","lsr","lxor","lazy","let","match","member","mod","module","mutable","namespace","method","mixin","new","not","null","of","open","or","object","override","private","parallel","process","protected","pure","public","rec","return","static","sealed","struct","sig","then","to","true","tailcall","trait","try","type","upcast","use","val","void","virtual","volatile","when","while","with","yield"],symbols:/[=>\]/,"annotation"],[/^#(if|else|endif)/,"keyword"],[/[{}()\[\]]/,"@brackets"],[/[<>](?!@symbols)/,"@brackets"],[/@symbols/,"delimiter"],[/\d*\d+[eE]([\-+]?\d+)?(@floatsuffix)/,"number.float"],[/\d*\.\d+([eE][\-+]?\d+)?(@floatsuffix)/,"number.float"],[/0x[0-9a-fA-F]+LF/,"number.float"],[/0x[0-9a-fA-F]+(@integersuffix)/,"number.hex"],[/0b[0-1]+(@integersuffix)/,"number.bin"],[/\d+(@integersuffix)/,"number"],[/[;,.]/,"delimiter"],[/"([^"\\]|\\.)*$/,"string.invalid"],[/"""/,"string",'@string."""'],[/"/,"string",'@string."'],[/\@"/,{token:"string.quote",next:"@litstring"}],[/'[^\\']'B?/,"string"],[/(')(@escapes)(')/,["string","string.escape","string"]],[/'/,"string.invalid"]],whitespace:[[/[ \t\r\n]+/,""],[/\(\*(?!\))/,"comment","@comment"],[/\/\/.*$/,"comment"]],comment:[[/[^*(]+/,"comment"],[/\*\)/,"comment","@pop"],[/\*/,"comment"],[/\(\*\)/,"comment"],[/\(/,"comment"]],string:[[/[^\\"]+/,"string"],[/@escapes/,"string.escape"],[/\\./,"string.escape.invalid"],[/("""|"B?)/,{cases:{"$#==$S2":{token:"string",next:"@pop"},"@default":"string"}}]],litstring:[[/[^"]+/,"string"],[/""/,"string.escape"],[/"/,{token:"string.quote",next:"@pop"}]]}};return f(d);})(); 9 | return moduleExports; 10 | }); 11 | -------------------------------------------------------------------------------- /monaco-editor/min/vs/basic-languages/go/go.js: -------------------------------------------------------------------------------- 1 | "use strict";/*!----------------------------------------------------------------------------- 2 | * Copyright (c) Microsoft Corporation. All rights reserved. 3 | * Version: 0.34.0(9d278685b078158491964f8fd7ac9628fffa0f30) 4 | * Released under the MIT license 5 | * https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt 6 | *-----------------------------------------------------------------------------*/ 7 | define("vs/basic-languages/go/go", ["require","require"],(require)=>{ 8 | var moduleExports=(()=>{var s=Object.defineProperty;var i=Object.getOwnPropertyDescriptor;var a=Object.getOwnPropertyNames;var c=Object.prototype.hasOwnProperty;var m=(n,e)=>{for(var t in e)s(n,t,{get:e[t],enumerable:!0})},l=(n,e,t,r)=>{if(e&&typeof e=="object"||typeof e=="function")for(let o of a(e))!c.call(n,o)&&o!==t&&s(n,o,{get:()=>e[o],enumerable:!(r=i(e,o))||r.enumerable});return n};var g=n=>l(s({},"__esModule",{value:!0}),n);var d={};m(d,{conf:()=>p,language:()=>u});var p={comments:{lineComment:"//",blockComment:["/*","*/"]},brackets:[["{","}"],["[","]"],["(",")"]],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:"`",close:"`",notIn:["string"]},{open:'"',close:'"',notIn:["string"]},{open:"'",close:"'",notIn:["string","comment"]}],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:"`",close:"`"},{open:'"',close:'"'},{open:"'",close:"'"}]},u={defaultToken:"",tokenPostfix:".go",keywords:["break","case","chan","const","continue","default","defer","else","fallthrough","for","func","go","goto","if","import","interface","map","package","range","return","select","struct","switch","type","var","bool","true","false","uint8","uint16","uint32","uint64","int8","int16","int32","int64","float32","float64","complex64","complex128","byte","rune","uint","int","uintptr","string","nil"],operators:["+","-","*","/","%","&","|","^","<<",">>","&^","+=","-=","*=","/=","%=","&=","|=","^=","<<=",">>=","&^=","&&","||","<-","++","--","==","<",">","=","!","!=","<=",">=",":=","...","(",")","","]","{","}",",",";",".",":"],symbols:/[=>](?!@symbols)/,"@brackets"],[/@symbols/,{cases:{"@operators":"delimiter","@default":""}}],[/\d*\d+[eE]([\-+]?\d+)?/,"number.float"],[/\d*\.\d+([eE][\-+]?\d+)?/,"number.float"],[/0[xX][0-9a-fA-F']*[0-9a-fA-F]/,"number.hex"],[/0[0-7']*[0-7]/,"number.octal"],[/0[bB][0-1']*[0-1]/,"number.binary"],[/\d[\d']*/,"number"],[/\d/,"number"],[/[;,.]/,"delimiter"],[/"([^"\\]|\\.)*$/,"string.invalid"],[/"/,"string","@string"],[/`/,"string","@rawstring"],[/'[^\\']'/,"string"],[/(')(@escapes)(')/,["string","string.escape","string"]],[/'/,"string.invalid"]],whitespace:[[/[ \t\r\n]+/,""],[/\/\*\*(?!\/)/,"comment.doc","@doccomment"],[/\/\*/,"comment","@comment"],[/\/\/.*$/,"comment"]],comment:[[/[^\/*]+/,"comment"],[/\*\//,"comment","@pop"],[/[\/*]/,"comment"]],doccomment:[[/[^\/*]+/,"comment.doc"],[/\/\*/,"comment.doc.invalid"],[/\*\//,"comment.doc","@pop"],[/[\/*]/,"comment.doc"]],string:[[/[^\\"]+/,"string"],[/@escapes/,"string.escape"],[/\\./,"string.escape.invalid"],[/"/,"string","@pop"]],rawstring:[[/[^\`]/,"string"],[/`/,"string","@pop"]]}};return g(d);})(); 9 | return moduleExports; 10 | }); 11 | -------------------------------------------------------------------------------- /monaco-editor/min/vs/basic-languages/graphql/graphql.js: -------------------------------------------------------------------------------- 1 | "use strict";/*!----------------------------------------------------------------------------- 2 | * Copyright (c) Microsoft Corporation. All rights reserved. 3 | * Version: 0.34.0(9d278685b078158491964f8fd7ac9628fffa0f30) 4 | * Released under the MIT license 5 | * https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt 6 | *-----------------------------------------------------------------------------*/ 7 | define("vs/basic-languages/graphql/graphql", ["require","require"],(require)=>{ 8 | var moduleExports=(()=>{var s=Object.defineProperty;var a=Object.getOwnPropertyDescriptor;var i=Object.getOwnPropertyNames;var l=Object.prototype.hasOwnProperty;var c=(n,e)=>{for(var t in e)s(n,t,{get:e[t],enumerable:!0})},d=(n,e,t,r)=>{if(e&&typeof e=="object"||typeof e=="function")for(let o of i(e))!l.call(n,o)&&o!==t&&s(n,o,{get:()=>e[o],enumerable:!(r=a(e,o))||r.enumerable});return n};var p=n=>d(s({},"__esModule",{value:!0}),n);var u={};c(u,{conf:()=>g,language:()=>I});var g={comments:{lineComment:"#"},brackets:[["{","}"],["[","]"],["(",")"]],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"""',close:'"""',notIn:["string","comment"]},{open:'"',close:'"',notIn:["string","comment"]}],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"""',close:'"""'},{open:'"',close:'"'}],folding:{offSide:!0}},I={defaultToken:"invalid",tokenPostfix:".gql",keywords:["null","true","false","query","mutation","subscription","extend","schema","directive","scalar","type","interface","union","enum","input","implements","fragment","on"],typeKeywords:["Int","Float","String","Boolean","ID"],directiveLocations:["SCHEMA","SCALAR","OBJECT","FIELD_DEFINITION","ARGUMENT_DEFINITION","INTERFACE","UNION","ENUM","ENUM_VALUE","INPUT_OBJECT","INPUT_FIELD_DEFINITION","QUERY","MUTATION","SUBSCRIPTION","FIELD","FRAGMENT_DEFINITION","FRAGMENT_SPREAD","INLINE_FRAGMENT","VARIABLE_DEFINITION"],operators:["=","!","?",":","&","|"],symbols:/[=!?:&|]+/,escapes:/\\(?:["\\\/bfnrt]|u[0-9A-Fa-f]{4})/,tokenizer:{root:[[/[a-z_][\w$]*/,{cases:{"@keywords":"keyword","@default":"key.identifier"}}],[/[$][\w$]*/,{cases:{"@keywords":"keyword","@default":"argument.identifier"}}],[/[A-Z][\w\$]*/,{cases:{"@typeKeywords":"keyword","@default":"type.identifier"}}],{include:"@whitespace"},[/[{}()\[\]]/,"@brackets"],[/@symbols/,{cases:{"@operators":"operator","@default":""}}],[/@\s*[a-zA-Z_\$][\w\$]*/,{token:"annotation",log:"annotation token: $0"}],[/\d*\.\d+([eE][\-+]?\d+)?/,"number.float"],[/0[xX][0-9a-fA-F]+/,"number.hex"],[/\d+/,"number"],[/[;,.]/,"delimiter"],[/"""/,{token:"string",next:"@mlstring",nextEmbedded:"markdown"}],[/"([^"\\]|\\.)*$/,"string.invalid"],[/"/,{token:"string.quote",bracket:"@open",next:"@string"}]],mlstring:[[/[^"]+/,"string"],['"""',{token:"string",next:"@pop",nextEmbedded:"@pop"}]],string:[[/[^\\"]+/,"string"],[/@escapes/,"string.escape"],[/\\./,"string.escape.invalid"],[/"/,{token:"string.quote",bracket:"@close",next:"@pop"}]],whitespace:[[/[ \t\r\n]+/,""],[/#.*$/,"comment"]]}};return p(u);})(); 9 | return moduleExports; 10 | }); 11 | -------------------------------------------------------------------------------- /monaco-editor/min/vs/basic-languages/ini/ini.js: -------------------------------------------------------------------------------- 1 | "use strict";/*!----------------------------------------------------------------------------- 2 | * Copyright (c) Microsoft Corporation. All rights reserved. 3 | * Version: 0.34.0(9d278685b078158491964f8fd7ac9628fffa0f30) 4 | * Released under the MIT license 5 | * https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt 6 | *-----------------------------------------------------------------------------*/ 7 | define("vs/basic-languages/ini/ini", ["require","require"],(require)=>{ 8 | var moduleExports=(()=>{var t=Object.defineProperty;var i=Object.getOwnPropertyDescriptor;var r=Object.getOwnPropertyNames;var g=Object.prototype.hasOwnProperty;var c=(n,e)=>{for(var s in e)t(n,s,{get:e[s],enumerable:!0})},l=(n,e,s,a)=>{if(e&&typeof e=="object"||typeof e=="function")for(let o of r(e))!g.call(n,o)&&o!==s&&t(n,o,{get:()=>e[o],enumerable:!(a=i(e,o))||a.enumerable});return n};var p=n=>l(t({},"__esModule",{value:!0}),n);var f={};c(f,{conf:()=>u,language:()=>m});var u={comments:{lineComment:"#"},brackets:[["{","}"],["[","]"],["(",")"]],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}]},m={defaultToken:"",tokenPostfix:".ini",escapes:/\\(?:[abfnrtv\\"']|x[0-9A-Fa-f]{1,4}|u[0-9A-Fa-f]{4}|U[0-9A-Fa-f]{8})/,tokenizer:{root:[[/^\[[^\]]*\]/,"metatag"],[/(^\w+)(\s*)(\=)/,["key","","delimiter"]],{include:"@whitespace"},[/\d+/,"number"],[/"([^"\\]|\\.)*$/,"string.invalid"],[/'([^'\\]|\\.)*$/,"string.invalid"],[/"/,"string",'@string."'],[/'/,"string","@string.'"]],whitespace:[[/[ \t\r\n]+/,""],[/^\s*[#;].*$/,"comment"]],string:[[/[^\\"']+/,"string"],[/@escapes/,"string.escape"],[/\\./,"string.escape.invalid"],[/["']/,{cases:{"$#==$S2":{token:"string",next:"@pop"},"@default":"string"}}]]}};return p(f);})(); 9 | return moduleExports; 10 | }); 11 | -------------------------------------------------------------------------------- /monaco-editor/min/vs/basic-languages/java/java.js: -------------------------------------------------------------------------------- 1 | "use strict";/*!----------------------------------------------------------------------------- 2 | * Copyright (c) Microsoft Corporation. All rights reserved. 3 | * Version: 0.34.0(9d278685b078158491964f8fd7ac9628fffa0f30) 4 | * Released under the MIT license 5 | * https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt 6 | *-----------------------------------------------------------------------------*/ 7 | define("vs/basic-languages/java/java", ["require","require"],(require)=>{ 8 | var moduleExports=(()=>{var s=Object.defineProperty;var a=Object.getOwnPropertyDescriptor;var r=Object.getOwnPropertyNames;var c=Object.prototype.hasOwnProperty;var l=(t,e)=>{for(var o in e)s(t,o,{get:e[o],enumerable:!0})},d=(t,e,o,i)=>{if(e&&typeof e=="object"||typeof e=="function")for(let n of r(e))!c.call(t,n)&&n!==o&&s(t,n,{get:()=>e[n],enumerable:!(i=a(e,n))||i.enumerable});return t};var g=t=>d(s({},"__esModule",{value:!0}),t);var f={};l(f,{conf:()=>m,language:()=>p});var m={wordPattern:/(-?\d*\.\d\w*)|([^\`\~\!\#\%\^\&\*\(\)\-\=\+\[\{\]\}\\\|\;\:\'\"\,\.\<\>\/\?\s]+)/g,comments:{lineComment:"//",blockComment:["/*","*/"]},brackets:[["{","}"],["[","]"],["(",")"]],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"},{open:"<",close:">"}],folding:{markers:{start:new RegExp("^\\s*//\\s*(?:(?:#?region\\b)|(?:))")}}},p={defaultToken:"",tokenPostfix:".java",keywords:["abstract","continue","for","new","switch","assert","default","goto","package","synchronized","boolean","do","if","private","this","break","double","implements","protected","throw","byte","else","import","public","throws","case","enum","instanceof","return","transient","catch","extends","int","short","try","char","final","interface","static","void","class","finally","long","strictfp","volatile","const","float","native","super","while","true","false","yield","record","sealed","non-sealed","permits"],operators:["=",">","<","!","~","?",":","==","<=",">=","!=","&&","||","++","--","+","-","*","/","&","|","^","%","<<",">>",">>>","+=","-=","*=","/=","&=","|=","^=","%=","<<=",">>=",">>>="],symbols:/[=>](?!@symbols)/,"@brackets"],[/@symbols/,{cases:{"@operators":"delimiter","@default":""}}],[/@\s*[a-zA-Z_\$][\w\$]*/,"annotation"],[/(@digits)[eE]([\-+]?(@digits))?[fFdD]?/,"number.float"],[/(@digits)\.(@digits)([eE][\-+]?(@digits))?[fFdD]?/,"number.float"],[/0[xX](@hexdigits)[Ll]?/,"number.hex"],[/0(@octaldigits)[Ll]?/,"number.octal"],[/0[bB](@binarydigits)[Ll]?/,"number.binary"],[/(@digits)[fFdD]/,"number.float"],[/(@digits)[lL]?/,"number"],[/[;,.]/,"delimiter"],[/"([^"\\]|\\.)*$/,"string.invalid"],[/"""/,"string","@multistring"],[/"/,"string","@string"],[/'[^\\']'/,"string"],[/(')(@escapes)(')/,["string","string.escape","string"]],[/'/,"string.invalid"]],whitespace:[[/[ \t\r\n]+/,""],[/\/\*\*(?!\/)/,"comment.doc","@javadoc"],[/\/\*/,"comment","@comment"],[/\/\/.*$/,"comment"]],comment:[[/[^\/*]+/,"comment"],[/\*\//,"comment","@pop"],[/[\/*]/,"comment"]],javadoc:[[/[^\/*]+/,"comment.doc"],[/\/\*/,"comment.doc.invalid"],[/\*\//,"comment.doc","@pop"],[/[\/*]/,"comment.doc"]],string:[[/[^\\"]+/,"string"],[/@escapes/,"string.escape"],[/\\./,"string.escape.invalid"],[/"/,"string","@pop"]],multistring:[[/[^\\"]+/,"string"],[/@escapes/,"string.escape"],[/\\./,"string.escape.invalid"],[/"""/,"string","@pop"],[/./,"string"]]}};return g(f);})(); 9 | return moduleExports; 10 | }); 11 | -------------------------------------------------------------------------------- /monaco-editor/min/vs/basic-languages/lexon/lexon.js: -------------------------------------------------------------------------------- 1 | "use strict";/*!----------------------------------------------------------------------------- 2 | * Copyright (c) Microsoft Corporation. All rights reserved. 3 | * Version: 0.34.0(9d278685b078158491964f8fd7ac9628fffa0f30) 4 | * Released under the MIT license 5 | * https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt 6 | *-----------------------------------------------------------------------------*/ 7 | define("vs/basic-languages/lexon/lexon", ["require","require"],(require)=>{ 8 | var moduleExports=(()=>{var n=Object.defineProperty;var s=Object.getOwnPropertyDescriptor;var d=Object.getOwnPropertyNames;var a=Object.prototype.hasOwnProperty;var l=(t,e)=>{for(var i in e)n(t,i,{get:e[i],enumerable:!0})},p=(t,e,i,r)=>{if(e&&typeof e=="object"||typeof e=="function")for(let o of d(e))!a.call(t,o)&&o!==i&&n(t,o,{get:()=>e[o],enumerable:!(r=s(e,o))||r.enumerable});return t};var c=t=>p(n({},"__esModule",{value:!0}),t);var k={};l(k,{conf:()=>m,language:()=>u});var m={comments:{lineComment:"COMMENT"},brackets:[["(",")"]],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:":",close:"."}],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:"`",close:"`"},{open:'"',close:'"'},{open:"'",close:"'"},{open:":",close:"."}],folding:{markers:{start:new RegExp("^\\s*(::\\s*|COMMENT\\s+)#region"),end:new RegExp("^\\s*(::\\s*|COMMENT\\s+)#endregion")}}},u={tokenPostfix:".lexon",ignoreCase:!0,keywords:["lexon","lex","clause","terms","contracts","may","pay","pays","appoints","into","to"],typeKeywords:["amount","person","key","time","date","asset","text"],operators:["less","greater","equal","le","gt","or","and","add","added","subtract","subtracted","multiply","multiplied","times","divide","divided","is","be","certified"],symbols:/[=>](?!@symbols)/,"@brackets"],[/@symbols/,"delimiter"],[/\d*\.\d*\.\d*/,"number.semver"],[/\d*\.\d+([eE][\-+]?\d+)?/,"number.float"],[/0[xX][0-9a-fA-F]+/,"number.hex"],[/\d+/,"number"],[/[;,.]/,"delimiter"]],quoted_identifier:[[/[^\\"]+/,"identifier"],[/"/,{token:"identifier.quote",bracket:"@close",next:"@pop"}]],space_identifier_until_period:[[":","delimiter"],[" ",{token:"white",next:"@identifier_rest"}]],identifier_until_period:[{include:"@whitespace"},[":",{token:"delimiter",next:"@identifier_rest"}],[/[^\\.]+/,"identifier"],[/\./,{token:"delimiter",bracket:"@close",next:"@pop"}]],identifier_rest:[[/[^\\.]+/,"identifier"],[/\./,{token:"delimiter",bracket:"@close",next:"@pop"}]],semver:[{include:"@whitespace"},[":","delimiter"],[/\d*\.\d*\.\d*/,{token:"number.semver",bracket:"@close",next:"@pop"}]],whitespace:[[/[ \t\r\n]+/,"white"]]}};return c(k);})(); 9 | return moduleExports; 10 | }); 11 | -------------------------------------------------------------------------------- /monaco-editor/min/vs/basic-languages/lua/lua.js: -------------------------------------------------------------------------------- 1 | "use strict";/*!----------------------------------------------------------------------------- 2 | * Copyright (c) Microsoft Corporation. All rights reserved. 3 | * Version: 0.34.0(9d278685b078158491964f8fd7ac9628fffa0f30) 4 | * Released under the MIT license 5 | * https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt 6 | *-----------------------------------------------------------------------------*/ 7 | define("vs/basic-languages/lua/lua", ["require","require"],(require)=>{ 8 | var moduleExports=(()=>{var s=Object.defineProperty;var a=Object.getOwnPropertyDescriptor;var i=Object.getOwnPropertyNames;var l=Object.prototype.hasOwnProperty;var c=(o,e)=>{for(var t in e)s(o,t,{get:e[t],enumerable:!0})},m=(o,e,t,r)=>{if(e&&typeof e=="object"||typeof e=="function")for(let n of i(e))!l.call(o,n)&&n!==t&&s(o,n,{get:()=>e[n],enumerable:!(r=a(e,n))||r.enumerable});return o};var p=o=>m(s({},"__esModule",{value:!0}),o);var u={};c(u,{conf:()=>d,language:()=>g});var d={comments:{lineComment:"--",blockComment:["--[[","]]"]},brackets:[["{","}"],["[","]"],["(",")"]],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}]},g={defaultToken:"",tokenPostfix:".lua",keywords:["and","break","do","else","elseif","end","false","for","function","goto","if","in","local","nil","not","or","repeat","return","then","true","until","while"],brackets:[{token:"delimiter.bracket",open:"{",close:"}"},{token:"delimiter.array",open:"[",close:"]"},{token:"delimiter.parenthesis",open:"(",close:")"}],operators:["+","-","*","/","%","^","#","==","~=","<=",">=","<",">","=",";",":",",",".","..","..."],symbols:/[=>{ 8 | var moduleExports=(()=>{var r=Object.defineProperty;var E=Object.getOwnPropertyDescriptor;var a=Object.getOwnPropertyNames;var i=Object.prototype.hasOwnProperty;var R=(o,e)=>{for(var s in e)r(o,s,{get:e[s],enumerable:!0})},c=(o,e,s,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let t of a(e))!i.call(o,t)&&t!==s&&r(o,t,{get:()=>e[t],enumerable:!(n=E(e,t))||n.enumerable});return o};var m=o=>c(r({},"__esModule",{value:!0}),o);var N={};R(N,{conf:()=>A,language:()=>p});var A={comments:{blockComment:["(*","*)"]},brackets:[["{","}"],["[","]"],["(",")"]],autoClosingPairs:[{open:"[",close:"]"},{open:"{",close:"}"},{open:"(",close:")"},{open:"(*",close:"*)"},{open:"<*",close:"*>"},{open:"'",close:"'",notIn:["string","comment"]},{open:'"',close:'"',notIn:["string","comment"]}]},p={defaultToken:"",tokenPostfix:".m3",brackets:[{token:"delimiter.curly",open:"{",close:"}"},{token:"delimiter.parenthesis",open:"(",close:")"},{token:"delimiter.square",open:"[",close:"]"}],keywords:["AND","ANY","ARRAY","AS","BEGIN","BITS","BRANDED","BY","CASE","CONST","DIV","DO","ELSE","ELSIF","END","EVAL","EXCEPT","EXCEPTION","EXIT","EXPORTS","FINALLY","FOR","FROM","GENERIC","IF","IMPORT","IN","INTERFACE","LOCK","LOOP","METHODS","MOD","MODULE","NOT","OBJECT","OF","OR","OVERRIDES","PROCEDURE","RAISE","RAISES","READONLY","RECORD","REF","REPEAT","RETURN","REVEAL","SET","THEN","TO","TRY","TYPE","TYPECASE","UNSAFE","UNTIL","UNTRACED","VALUE","VAR","WHILE","WITH"],reservedConstNames:["ABS","ADR","ADRSIZE","BITSIZE","BYTESIZE","CEILING","DEC","DISPOSE","FALSE","FIRST","FLOAT","FLOOR","INC","ISTYPE","LAST","LOOPHOLE","MAX","MIN","NARROW","NEW","NIL","NUMBER","ORD","ROUND","SUBARRAY","TRUE","TRUNC","TYPECODE","VAL"],reservedTypeNames:["ADDRESS","ANY","BOOLEAN","CARDINAL","CHAR","EXTENDED","INTEGER","LONGCARD","LONGINT","LONGREAL","MUTEX","NULL","REAL","REFANY","ROOT","TEXT"],operators:["+","-","*","/","&","^","."],relations:["=","#","<","<=",">",">=","<:",":"],delimiters:["|","..","=>",",",";",":="],symbols:/[>=<#.,:;+\-*/&^]+/,escapes:/\\(?:[\\fnrt"']|[0-7]{3})/,tokenizer:{root:[[/_\w*/,"invalid"],[/[a-zA-Z][a-zA-Z0-9_]*/,{cases:{"@keywords":{token:"keyword.$0"},"@reservedConstNames":{token:"constant.reserved.$0"},"@reservedTypeNames":{token:"type.reserved.$0"},"@default":"identifier"}}],{include:"@whitespace"},[/[{}()\[\]]/,"@brackets"],[/[0-9]+\.[0-9]+(?:[DdEeXx][\+\-]?[0-9]+)?/,"number.float"],[/[0-9]+(?:\_[0-9a-fA-F]+)?L?/,"number"],[/@symbols/,{cases:{"@operators":"operators","@relations":"operators","@delimiters":"delimiter","@default":"invalid"}}],[/'[^\\']'/,"string.char"],[/(')(@escapes)(')/,["string.char","string.escape","string.char"]],[/'/,"invalid"],[/"([^"\\]|\\.)*$/,"invalid"],[/"/,"string.text","@text"]],text:[[/[^\\"]+/,"string.text"],[/@escapes/,"string.escape"],[/\\./,"invalid"],[/"/,"string.text","@pop"]],comment:[[/\(\*/,"comment","@push"],[/\*\)/,"comment","@pop"],[/./,"comment"]],pragma:[[/<\*/,"keyword.pragma","@push"],[/\*>/,"keyword.pragma","@pop"],[/./,"keyword.pragma"]],whitespace:[[/[ \t\r\n]+/,"white"],[/\(\*/,"comment","@comment"],[/<\*/,"keyword.pragma","@pragma"]]}};return m(N);})(); 9 | return moduleExports; 10 | }); 11 | -------------------------------------------------------------------------------- /monaco-editor/min/vs/basic-languages/mips/mips.js: -------------------------------------------------------------------------------- 1 | "use strict";/*!----------------------------------------------------------------------------- 2 | * Copyright (c) Microsoft Corporation. All rights reserved. 3 | * Version: 0.34.0(9d278685b078158491964f8fd7ac9628fffa0f30) 4 | * Released under the MIT license 5 | * https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt 6 | *-----------------------------------------------------------------------------*/ 7 | define("vs/basic-languages/mips/mips", ["require","require"],(require)=>{ 8 | var moduleExports=(()=>{var s=Object.defineProperty;var a=Object.getOwnPropertyDescriptor;var o=Object.getOwnPropertyNames;var g=Object.prototype.hasOwnProperty;var l=(t,e)=>{for(var n in e)s(t,n,{get:e[n],enumerable:!0})},d=(t,e,n,i)=>{if(e&&typeof e=="object"||typeof e=="function")for(let r of o(e))!g.call(t,r)&&r!==n&&s(t,r,{get:()=>e[r],enumerable:!(i=a(e,r))||i.enumerable});return t};var m=t=>d(s({},"__esModule",{value:!0}),t);var x={};l(x,{conf:()=>p,language:()=>u});var p={wordPattern:/(-?\d*\.\d\w*)|([^\`\~\!\@\#%\^\&\*\(\)\=\$\-\+\[\{\]\}\\\|\;\:\'\"\,\.\<\>\/\?\s]+)/g,comments:{blockComment:["###","###"],lineComment:"#"},folding:{markers:{start:new RegExp("^\\s*#region\\b"),end:new RegExp("^\\s*#endregion\\b")}}},u={defaultToken:"",ignoreCase:!1,tokenPostfix:".mips",regEx:/\/(?!\/\/)(?:[^\/\\]|\\.)*\/[igm]*/,keywords:[".data",".text","syscall","trap","add","addu","addi","addiu","and","andi","div","divu","mult","multu","nor","or","ori","sll","slv","sra","srav","srl","srlv","sub","subu","xor","xori","lhi","lho","lhi","llo","slt","slti","sltu","sltiu","beq","bgtz","blez","bne","j","jal","jalr","jr","lb","lbu","lh","lhu","lw","li","la","sb","sh","sw","mfhi","mflo","mthi","mtlo","move"],symbols:/[\.,\:]+/,escapes:/\\(?:[abfnrtv\\"'$]|x[0-9A-Fa-f]{1,4}|u[0-9A-Fa-f]{4}|U[0-9A-Fa-f]{8})/,tokenizer:{root:[[/\$[a-zA-Z_]\w*/,"variable.predefined"],[/[.a-zA-Z_]\w*/,{cases:{this:"variable.predefined","@keywords":{token:"keyword.$0"},"@default":""}}],[/[ \t\r\n]+/,""],[/#.*$/,"comment"],["///",{token:"regexp",next:"@hereregexp"}],[/^(\s*)(@regEx)/,["","regexp"]],[/(\,)(\s*)(@regEx)/,["delimiter","","regexp"]],[/(\:)(\s*)(@regEx)/,["delimiter","","regexp"]],[/@symbols/,"delimiter"],[/\d+[eE]([\-+]?\d+)?/,"number.float"],[/\d+\.\d+([eE][\-+]?\d+)?/,"number.float"],[/0[xX][0-9a-fA-F]+/,"number.hex"],[/0[0-7]+(?!\d)/,"number.octal"],[/\d+/,"number"],[/[,.]/,"delimiter"],[/"""/,"string",'@herestring."""'],[/'''/,"string","@herestring.'''"],[/"/,{cases:{"@eos":"string","@default":{token:"string",next:'@string."'}}}],[/'/,{cases:{"@eos":"string","@default":{token:"string",next:"@string.'"}}}]],string:[[/[^"'\#\\]+/,"string"],[/@escapes/,"string.escape"],[/\./,"string.escape.invalid"],[/\./,"string.escape.invalid"],[/#{/,{cases:{'$S2=="':{token:"string",next:"root.interpolatedstring"},"@default":"string"}}],[/["']/,{cases:{"$#==$S2":{token:"string",next:"@pop"},"@default":"string"}}],[/#/,"string"]],herestring:[[/("""|''')/,{cases:{"$1==$S2":{token:"string",next:"@pop"},"@default":"string"}}],[/[^#\\'"]+/,"string"],[/['"]+/,"string"],[/@escapes/,"string.escape"],[/\./,"string.escape.invalid"],[/#{/,{token:"string.quote",next:"root.interpolatedstring"}],[/#/,"string"]],comment:[[/[^#]+/,"comment"],[/#/,"comment"]],hereregexp:[[/[^\\\/#]+/,"regexp"],[/\\./,"regexp"],[/#.*$/,"comment"],["///[igm]*",{token:"regexp",next:"@pop"}],[/\//,"regexp"]]}};return m(x);})(); 9 | return moduleExports; 10 | }); 11 | -------------------------------------------------------------------------------- /monaco-editor/min/vs/basic-languages/objective-c/objective-c.js: -------------------------------------------------------------------------------- 1 | "use strict";/*!----------------------------------------------------------------------------- 2 | * Copyright (c) Microsoft Corporation. All rights reserved. 3 | * Version: 0.34.0(9d278685b078158491964f8fd7ac9628fffa0f30) 4 | * Released under the MIT license 5 | * https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt 6 | *-----------------------------------------------------------------------------*/ 7 | define("vs/basic-languages/objective-c/objective-c", ["require","require"],(require)=>{ 8 | var moduleExports=(()=>{var s=Object.defineProperty;var r=Object.getOwnPropertyDescriptor;var c=Object.getOwnPropertyNames;var a=Object.prototype.hasOwnProperty;var l=(o,e)=>{for(var t in e)s(o,t,{get:e[t],enumerable:!0})},p=(o,e,t,i)=>{if(e&&typeof e=="object"||typeof e=="function")for(let n of c(e))!a.call(o,n)&&n!==t&&s(o,n,{get:()=>e[n],enumerable:!(i=r(e,n))||i.enumerable});return o};var d=o=>p(s({},"__esModule",{value:!0}),o);var u={};l(u,{conf:()=>g,language:()=>m});var g={comments:{lineComment:"//",blockComment:["/*","*/"]},brackets:[["{","}"],["[","]"],["(",")"]],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}]},m={defaultToken:"",tokenPostfix:".objective-c",keywords:["#import","#include","#define","#else","#endif","#if","#ifdef","#ifndef","#ident","#undef","@class","@defs","@dynamic","@encode","@end","@implementation","@interface","@package","@private","@protected","@property","@protocol","@public","@selector","@synthesize","__declspec","assign","auto","BOOL","break","bycopy","byref","case","char","Class","const","copy","continue","default","do","double","else","enum","extern","FALSE","false","float","for","goto","if","in","int","id","inout","IMP","long","nil","nonatomic","NULL","oneway","out","private","public","protected","readwrite","readonly","register","return","SEL","self","short","signed","sizeof","static","struct","super","switch","typedef","TRUE","true","union","unsigned","volatile","void","while"],decpart:/\d(_?\d)*/,decimal:/0|@decpart/,tokenizer:{root:[{include:"@comments"},{include:"@whitespace"},{include:"@numbers"},{include:"@strings"},[/[,:;]/,"delimiter"],[/[{}\[\]()<>]/,"@brackets"],[/[a-zA-Z@#]\w*/,{cases:{"@keywords":"keyword","@default":"identifier"}}],[/[<>=\\+\\-\\*\\/\\^\\|\\~,]|and\\b|or\\b|not\\b]/,"operator"]],whitespace:[[/\s+/,"white"]],comments:[["\\/\\*","comment","@comment"],["\\/\\/+.*","comment"]],comment:[["\\*\\/","comment","@pop"],[".","comment"]],numbers:[[/0[xX][0-9a-fA-F]*(_?[0-9a-fA-F])*/,"number.hex"],[/@decimal((\.@decpart)?([eE][\-+]?@decpart)?)[fF]*/,{cases:{"(\\d)*":"number",$0:"number.float"}}]],strings:[[/'$/,"string.escape","@popall"],[/'/,"string.escape","@stringBody"],[/"$/,"string.escape","@popall"],[/"/,"string.escape","@dblStringBody"]],stringBody:[[/[^\\']+$/,"string","@popall"],[/[^\\']+/,"string"],[/\\./,"string"],[/'/,"string.escape","@popall"],[/\\$/,"string"]],dblStringBody:[[/[^\\"]+$/,"string","@popall"],[/[^\\"]+/,"string"],[/\\./,"string"],[/"/,"string.escape","@popall"],[/\\$/,"string"]]}};return d(u);})(); 9 | return moduleExports; 10 | }); 11 | -------------------------------------------------------------------------------- /monaco-editor/min/vs/basic-languages/pascal/pascal.js: -------------------------------------------------------------------------------- 1 | "use strict";/*!----------------------------------------------------------------------------- 2 | * Copyright (c) Microsoft Corporation. All rights reserved. 3 | * Version: 0.34.0(9d278685b078158491964f8fd7ac9628fffa0f30) 4 | * Released under the MIT license 5 | * https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt 6 | *-----------------------------------------------------------------------------*/ 7 | define("vs/basic-languages/pascal/pascal", ["require","require"],(require)=>{ 8 | var moduleExports=(()=>{var n=Object.defineProperty;var s=Object.getOwnPropertyDescriptor;var a=Object.getOwnPropertyNames;var l=Object.prototype.hasOwnProperty;var c=(t,e)=>{for(var r in e)n(t,r,{get:e[r],enumerable:!0})},d=(t,e,r,i)=>{if(e&&typeof e=="object"||typeof e=="function")for(let o of a(e))!l.call(t,o)&&o!==r&&n(t,o,{get:()=>e[o],enumerable:!(i=s(e,o))||i.enumerable});return t};var p=t=>d(n({},"__esModule",{value:!0}),t);var g={};c(g,{conf:()=>m,language:()=>u});var m={wordPattern:/(-?\d*\.\d\w*)|([^\`\~\!\#\%\^\&\*\(\)\-\=\+\[\{\]\}\\\|\;\:\'\"\,\.\<\>\/\?\s]+)/g,comments:{lineComment:"//",blockComment:["{","}"]},brackets:[["{","}"],["[","]"],["(",")"],["<",">"]],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:"<",close:">"},{open:"'",close:"'"}],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:"<",close:">"},{open:"'",close:"'"}],folding:{markers:{start:new RegExp("^\\s*\\{\\$REGION(\\s\\'.*\\')?\\}"),end:new RegExp("^\\s*\\{\\$ENDREGION\\}")}}},u={defaultToken:"",tokenPostfix:".pascal",ignoreCase:!0,brackets:[{open:"{",close:"}",token:"delimiter.curly"},{open:"[",close:"]",token:"delimiter.square"},{open:"(",close:")",token:"delimiter.parenthesis"},{open:"<",close:">",token:"delimiter.angle"}],keywords:["absolute","abstract","all","and_then","array","as","asm","attribute","begin","bindable","case","class","const","contains","default","div","else","end","except","exports","external","far","file","finalization","finally","forward","generic","goto","if","implements","import","in","index","inherited","initialization","interrupt","is","label","library","mod","module","name","near","not","object","of","on","only","operator","or_else","otherwise","override","package","packed","pow","private","program","protected","public","published","interface","implementation","qualified","read","record","resident","requires","resourcestring","restricted","segment","set","shl","shr","specialize","stored","strict","then","threadvar","to","try","type","unit","uses","var","view","virtual","dynamic","overload","reintroduce","with","write","xor","true","false","procedure","function","constructor","destructor","property","break","continue","exit","abort","while","do","for","raise","repeat","until"],typeKeywords:["boolean","double","byte","integer","shortint","char","longint","float","string"],operators:["=",">","<","<=",">=","<>",":",":=","and","or","+","-","*","/","@","&","^","%"],symbols:/[=><:@\^&|+\-*\/\^%]+/,tokenizer:{root:[[/[a-zA-Z_][\w]*/,{cases:{"@keywords":{token:"keyword.$0"},"@default":"identifier"}}],{include:"@whitespace"},[/[{}()\[\]]/,"@brackets"],[/[<>](?!@symbols)/,"@brackets"],[/@symbols/,{cases:{"@operators":"delimiter","@default":""}}],[/\d*\.\d+([eE][\-+]?\d+)?/,"number.float"],[/\$[0-9a-fA-F]{1,16}/,"number.hex"],[/\d+/,"number"],[/[;,.]/,"delimiter"],[/'([^'\\]|\\.)*$/,"string.invalid"],[/'/,"string","@string"],[/'[^\\']'/,"string"],[/'/,"string.invalid"],[/\#\d+/,"string"]],comment:[[/[^\*\}]+/,"comment"],[/\}/,"comment","@pop"],[/[\{]/,"comment"]],string:[[/[^\\']+/,"string"],[/\\./,"string.escape.invalid"],[/'/,{token:"string.quote",bracket:"@close",next:"@pop"}]],whitespace:[[/[ \t\r\n]+/,"white"],[/\{/,"comment","@comment"],[/\/\/.*$/,"comment"]]}};return p(g);})(); 9 | return moduleExports; 10 | }); 11 | -------------------------------------------------------------------------------- /monaco-editor/min/vs/basic-languages/pascaligo/pascaligo.js: -------------------------------------------------------------------------------- 1 | "use strict";/*!----------------------------------------------------------------------------- 2 | * Copyright (c) Microsoft Corporation. All rights reserved. 3 | * Version: 0.34.0(9d278685b078158491964f8fd7ac9628fffa0f30) 4 | * Released under the MIT license 5 | * https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt 6 | *-----------------------------------------------------------------------------*/ 7 | define("vs/basic-languages/pascaligo/pascaligo", ["require","require"],(require)=>{ 8 | var moduleExports=(()=>{var s=Object.defineProperty;var i=Object.getOwnPropertyDescriptor;var a=Object.getOwnPropertyNames;var l=Object.prototype.hasOwnProperty;var c=(o,e)=>{for(var t in e)s(o,t,{get:e[t],enumerable:!0})},m=(o,e,t,r)=>{if(e&&typeof e=="object"||typeof e=="function")for(let n of a(e))!l.call(o,n)&&n!==t&&s(o,n,{get:()=>e[n],enumerable:!(r=i(e,n))||r.enumerable});return o};var p=o=>m(s({},"__esModule",{value:!0}),o);var u={};c(u,{conf:()=>d,language:()=>g});var d={comments:{lineComment:"//",blockComment:["(*","*)"]},brackets:[["{","}"],["[","]"],["(",")"],["<",">"]],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:"<",close:">"},{open:"'",close:"'"}],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:"<",close:">"},{open:"'",close:"'"}]},g={defaultToken:"",tokenPostfix:".pascaligo",ignoreCase:!0,brackets:[{open:"{",close:"}",token:"delimiter.curly"},{open:"[",close:"]",token:"delimiter.square"},{open:"(",close:")",token:"delimiter.parenthesis"},{open:"<",close:">",token:"delimiter.angle"}],keywords:["begin","block","case","const","else","end","fail","for","from","function","if","is","nil","of","remove","return","skip","then","type","var","while","with","option","None","transaction"],typeKeywords:["bool","int","list","map","nat","record","string","unit","address","map","mtz","xtz"],operators:["=",">","<","<=",">=","<>",":",":=","and","mod","or","+","-","*","/","@","&","^","%"],symbols:/[=><:@\^&|+\-*\/\^%]+/,tokenizer:{root:[[/[a-zA-Z_][\w]*/,{cases:{"@keywords":{token:"keyword.$0"},"@default":"identifier"}}],{include:"@whitespace"},[/[{}()\[\]]/,"@brackets"],[/[<>](?!@symbols)/,"@brackets"],[/@symbols/,{cases:{"@operators":"delimiter","@default":""}}],[/\d*\.\d+([eE][\-+]?\d+)?/,"number.float"],[/\$[0-9a-fA-F]{1,16}/,"number.hex"],[/\d+/,"number"],[/[;,.]/,"delimiter"],[/'([^'\\]|\\.)*$/,"string.invalid"],[/'/,"string","@string"],[/'[^\\']'/,"string"],[/'/,"string.invalid"],[/\#\d+/,"string"]],comment:[[/[^\(\*]+/,"comment"],[/\*\)/,"comment","@pop"],[/\(\*/,"comment"]],string:[[/[^\\']+/,"string"],[/\\./,"string.escape.invalid"],[/'/,{token:"string.quote",bracket:"@close",next:"@pop"}]],whitespace:[[/[ \t\r\n]+/,"white"],[/\(\*/,"comment","@comment"],[/\/\/.*$/,"comment"]]}};return p(u);})(); 9 | return moduleExports; 10 | }); 11 | -------------------------------------------------------------------------------- /monaco-editor/min/vs/basic-languages/pla/pla.js: -------------------------------------------------------------------------------- 1 | "use strict";/*!----------------------------------------------------------------------------- 2 | * Copyright (c) Microsoft Corporation. All rights reserved. 3 | * Version: 0.34.0(9d278685b078158491964f8fd7ac9628fffa0f30) 4 | * Released under the MIT license 5 | * https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt 6 | *-----------------------------------------------------------------------------*/ 7 | define("vs/basic-languages/pla/pla", ["require","require"],(require)=>{ 8 | var moduleExports=(()=>{var s=Object.defineProperty;var a=Object.getOwnPropertyDescriptor;var r=Object.getOwnPropertyNames;var p=Object.prototype.hasOwnProperty;var l=(o,e)=>{for(var n in e)s(o,n,{get:e[n],enumerable:!0})},c=(o,e,n,i)=>{if(e&&typeof e=="object"||typeof e=="function")for(let t of r(e))!p.call(o,t)&&t!==n&&s(o,t,{get:()=>e[t],enumerable:!(i=a(e,t))||i.enumerable});return o};var d=o=>c(s({},"__esModule",{value:!0}),o);var u={};l(u,{conf:()=>k,language:()=>m});var k={comments:{lineComment:"#"},brackets:[["[","]"],["<",">"],["(",")"]],autoClosingPairs:[{open:"[",close:"]"},{open:"<",close:">"},{open:"(",close:")"}],surroundingPairs:[{open:"[",close:"]"},{open:"<",close:">"},{open:"(",close:")"}]},m={defaultToken:"",tokenPostfix:".pla",brackets:[{open:"[",close:"]",token:"delimiter.square"},{open:"<",close:">",token:"delimiter.angle"},{open:"(",close:")",token:"delimiter.parenthesis"}],keywords:[".i",".o",".mv",".ilb",".ob",".label",".type",".phase",".pair",".symbolic",".symbolic-output",".kiss",".p",".e",".end"],comment:/#.*$/,identifier:/[a-zA-Z]+[a-zA-Z0-9_\-]*/,plaContent:/[01\-~\|]+/,tokenizer:{root:[{include:"@whitespace"},[/@comment/,"comment"],[/\.([a-zA-Z_\-]+)/,{cases:{"@eos":{token:"keyword.$1"},"@keywords":{cases:{".type":{token:"keyword.$1",next:"@type"},"@default":{token:"keyword.$1",next:"@keywordArg"}}},"@default":{token:"keyword.$1"}}}],[/@identifier/,"identifier"],[/@plaContent/,"string"]],whitespace:[[/[ \t\r\n]+/,""]],type:[{include:"@whitespace"},[/\w+/,{token:"type",next:"@pop"}]],keywordArg:[[/[ \t\r\n]+/,{cases:{"@eos":{token:"",next:"@pop"},"@default":""}}],[/@comment/,"comment","@pop"],[/[<>()\[\]]/,{cases:{"@eos":{token:"@brackets",next:"@pop"},"@default":"@brackets"}}],[/\-?\d+/,{cases:{"@eos":{token:"number",next:"@pop"},"@default":"number"}}],[/@identifier/,{cases:{"@eos":{token:"identifier",next:"@pop"},"@default":"identifier"}}],[/[;=]/,{cases:{"@eos":{token:"delimiter",next:"@pop"},"@default":"delimiter"}}]]}};return d(u);})(); 9 | return moduleExports; 10 | }); 11 | -------------------------------------------------------------------------------- /monaco-editor/min/vs/basic-languages/powershell/powershell.js: -------------------------------------------------------------------------------- 1 | "use strict";/*!----------------------------------------------------------------------------- 2 | * Copyright (c) Microsoft Corporation. All rights reserved. 3 | * Version: 0.34.0(9d278685b078158491964f8fd7ac9628fffa0f30) 4 | * Released under the MIT license 5 | * https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt 6 | *-----------------------------------------------------------------------------*/ 7 | define("vs/basic-languages/powershell/powershell", ["require","require"],(require)=>{ 8 | var moduleExports=(()=>{var o=Object.defineProperty;var r=Object.getOwnPropertyDescriptor;var i=Object.getOwnPropertyNames;var l=Object.prototype.hasOwnProperty;var c=(n,e)=>{for(var t in e)o(n,t,{get:e[t],enumerable:!0})},g=(n,e,t,a)=>{if(e&&typeof e=="object"||typeof e=="function")for(let s of i(e))!l.call(n,s)&&s!==t&&o(n,s,{get:()=>e[s],enumerable:!(a=r(e,s))||a.enumerable});return n};var p=n=>g(o({},"__esModule",{value:!0}),n);var u={};c(u,{conf:()=>d,language:()=>m});var d={wordPattern:/(-?\d*\.\d\w*)|([^\`\~\!\@\#%\^\&\*\(\)\=\+\[\{\]\}\\\|\;\:\'\"\,\.\<\>\/\?\s]+)/g,comments:{lineComment:"#",blockComment:["<#","#>"]},brackets:[["{","}"],["[","]"],["(",")"]],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"',notIn:["string"]},{open:"'",close:"'",notIn:["string","comment"]}],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}],folding:{markers:{start:new RegExp("^\\s*#region\\b"),end:new RegExp("^\\s*#endregion\\b")}}},m={defaultToken:"",ignoreCase:!0,tokenPostfix:".ps1",brackets:[{token:"delimiter.curly",open:"{",close:"}"},{token:"delimiter.square",open:"[",close:"]"},{token:"delimiter.parenthesis",open:"(",close:")"}],keywords:["begin","break","catch","class","continue","data","define","do","dynamicparam","else","elseif","end","exit","filter","finally","for","foreach","from","function","if","in","param","process","return","switch","throw","trap","try","until","using","var","while","workflow","parallel","sequence","inlinescript","configuration"],helpKeywords:/SYNOPSIS|DESCRIPTION|PARAMETER|EXAMPLE|INPUTS|OUTPUTS|NOTES|LINK|COMPONENT|ROLE|FUNCTIONALITY|FORWARDHELPTARGETNAME|FORWARDHELPCATEGORY|REMOTEHELPRUNSPACE|EXTERNALHELP/,symbols:/[=>/,"comment","@pop"],[/(\.)(@helpKeywords)(?!\w)/,{token:"comment.keyword.$2"}],[/[\.#]/,"comment"]]}};return p(u);})(); 9 | return moduleExports; 10 | }); 11 | -------------------------------------------------------------------------------- /monaco-editor/min/vs/basic-languages/qsharp/qsharp.js: -------------------------------------------------------------------------------- 1 | "use strict";/*!----------------------------------------------------------------------------- 2 | * Copyright (c) Microsoft Corporation. All rights reserved. 3 | * Version: 0.34.0(9d278685b078158491964f8fd7ac9628fffa0f30) 4 | * Released under the MIT license 5 | * https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt 6 | *-----------------------------------------------------------------------------*/ 7 | define("vs/basic-languages/qsharp/qsharp", ["require","require"],(require)=>{ 8 | var moduleExports=(()=>{var a=Object.defineProperty;var i=Object.getOwnPropertyDescriptor;var r=Object.getOwnPropertyNames;var l=Object.prototype.hasOwnProperty;var c=(t,e)=>{for(var n in e)a(t,n,{get:e[n],enumerable:!0})},u=(t,e,n,s)=>{if(e&&typeof e=="object"||typeof e=="function")for(let o of r(e))!l.call(t,o)&&o!==n&&a(t,o,{get:()=>e[o],enumerable:!(s=i(e,o))||s.enumerable});return t};var p=t=>u(a({},"__esModule",{value:!0}),t);var m={};c(m,{conf:()=>d,language:()=>g});var d={comments:{lineComment:"//"},brackets:[["{","}"],["[","]"],["(",")"]],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"',notIn:["string","comment"]}],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'}]},g={keywords:["namespace","open","as","operation","function","body","adjoint","newtype","controlled","if","elif","else","repeat","until","fixup","for","in","while","return","fail","within","apply","Adjoint","Controlled","Adj","Ctl","is","self","auto","distribute","invert","intrinsic","let","set","w/","new","not","and","or","use","borrow","using","borrowing","mutable","internal"],typeKeywords:["Unit","Int","BigInt","Double","Bool","String","Qubit","Result","Pauli","Range"],invalidKeywords:["abstract","base","bool","break","byte","case","catch","char","checked","class","const","continue","decimal","default","delegate","do","double","enum","event","explicit","extern","finally","fixed","float","foreach","goto","implicit","int","interface","lock","long","null","object","operator","out","override","params","private","protected","public","readonly","ref","sbyte","sealed","short","sizeof","stackalloc","static","string","struct","switch","this","throw","try","typeof","unit","ulong","unchecked","unsafe","ushort","virtual","void","volatile"],constants:["true","false","PauliI","PauliX","PauliY","PauliZ","One","Zero"],builtin:["X","Y","Z","H","HY","S","T","SWAP","CNOT","CCNOT","MultiX","R","RFrac","Rx","Ry","Rz","R1","R1Frac","Exp","ExpFrac","Measure","M","MultiM","Message","Length","Assert","AssertProb","AssertEqual"],operators:["and=","<-","->","*","*=","@","!","^","^=",":","::","..","==","...","=","=>",">",">=","<","<=","-","-=","!=","or=","%","%=","|","+","+=","?","/","/=","&&&","&&&=","^^^","^^^=",">>>",">>>=","<<<","<<<=","|||","|||=","~~~","_","w/","w/="],namespaceFollows:["namespace","open"],symbols:/[=>{ 8 | var moduleExports=(()=>{var a=Object.defineProperty;var s=Object.getOwnPropertyDescriptor;var i=Object.getOwnPropertyNames;var c=Object.prototype.hasOwnProperty;var l=(o,e)=>{for(var t in e)a(o,t,{get:e[t],enumerable:!0})},p=(o,e,t,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let r of i(e))!c.call(o,r)&&r!==t&&a(o,r,{get:()=>e[r],enumerable:!(n=s(e,r))||n.enumerable});return o};var m=o=>p(a({},"__esModule",{value:!0}),o);var u={};l(u,{conf:()=>d,language:()=>g});var d={comments:{lineComment:"#"},brackets:[["{","}"],["[","]"],["(",")"]],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'}],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'}]},g={defaultToken:"",tokenPostfix:".r",roxygen:["@alias","@aliases","@assignee","@author","@backref","@callGraph","@callGraphDepth","@callGraphPrimitives","@concept","@describeIn","@description","@details","@docType","@encoding","@evalNamespace","@evalRd","@example","@examples","@export","@exportClass","@exportMethod","@exportPattern","@family","@field","@formals","@format","@import","@importClassesFrom","@importFrom","@importMethodsFrom","@include","@inherit","@inheritDotParams","@inheritParams","@inheritSection","@keywords","@md","@method","@name","@noMd","@noRd","@note","@param","@rawNamespace","@rawRd","@rdname","@references","@return","@S3method","@section","@seealso","@setClass","@slot","@source","@template","@templateVar","@title","@TODO","@usage","@useDynLib"],constants:["NULL","FALSE","TRUE","NA","Inf","NaN","NA_integer_","NA_real_","NA_complex_","NA_character_","T","F","LETTERS","letters","month.abb","month.name","pi","R.version.string"],keywords:["break","next","return","if","else","for","in","repeat","while","array","category","character","complex","double","function","integer","list","logical","matrix","numeric","vector","data.frame","factor","library","require","attach","detach","source"],special:["\\n","\\r","\\t","\\b","\\a","\\f","\\v","\\'",'\\"',"\\\\"],brackets:[{open:"{",close:"}",token:"delimiter.curly"},{open:"[",close:"]",token:"delimiter.bracket"},{open:"(",close:")",token:"delimiter.parenthesis"}],tokenizer:{root:[{include:"@numbers"},{include:"@strings"},[/[{}\[\]()]/,"@brackets"],{include:"@operators"},[/#'$/,"comment.doc"],[/#'/,"comment.doc","@roxygen"],[/(^#.*$)/,"comment"],[/\s+/,"white"],[/[,:;]/,"delimiter"],[/@[a-zA-Z]\w*/,"tag"],[/[a-zA-Z]\w*/,{cases:{"@keywords":"keyword","@constants":"constant","@default":"identifier"}}]],roxygen:[[/@\w+/,{cases:{"@roxygen":"tag","@eos":{token:"comment.doc",next:"@pop"},"@default":"comment.doc"}}],[/\s+/,{cases:{"@eos":{token:"comment.doc",next:"@pop"},"@default":"comment.doc"}}],[/.*/,{token:"comment.doc",next:"@pop"}]],numbers:[[/0[xX][0-9a-fA-F]+/,"number.hex"],[/-?(\d*\.)?\d+([eE][+\-]?\d+)?/,"number"]],operators:[[/<{1,2}-/,"operator"],[/->{1,2}/,"operator"],[/%[^%\s]+%/,"operator"],[/\*\*/,"operator"],[/%%/,"operator"],[/&&/,"operator"],[/\|\|/,"operator"],[/<>/,"operator"],[/[-+=&|!<>^~*/:$]/,"operator"]],strings:[[/'/,"string.escape","@stringBody"],[/"/,"string.escape","@dblStringBody"]],stringBody:[[/\\./,{cases:{"@special":"string","@default":"error-token"}}],[/'/,"string.escape","@popall"],[/./,"string"]],dblStringBody:[[/\\./,{cases:{"@special":"string","@default":"error-token"}}],[/"/,"string.escape","@popall"],[/./,"string"]]}};return m(u);})(); 9 | return moduleExports; 10 | }); 11 | -------------------------------------------------------------------------------- /monaco-editor/min/vs/basic-languages/sb/sb.js: -------------------------------------------------------------------------------- 1 | "use strict";/*!----------------------------------------------------------------------------- 2 | * Copyright (c) Microsoft Corporation. All rights reserved. 3 | * Version: 0.34.0(9d278685b078158491964f8fd7ac9628fffa0f30) 4 | * Released under the MIT license 5 | * https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt 6 | *-----------------------------------------------------------------------------*/ 7 | define("vs/basic-languages/sb/sb", ["require","require"],(require)=>{ 8 | var moduleExports=(()=>{var r=Object.defineProperty;var i=Object.getOwnPropertyDescriptor;var a=Object.getOwnPropertyNames;var l=Object.prototype.hasOwnProperty;var d=(o,e)=>{for(var t in e)r(o,t,{get:e[t],enumerable:!0})},c=(o,e,t,s)=>{if(e&&typeof e=="object"||typeof e=="function")for(let n of a(e))!l.call(o,n)&&n!==t&&r(o,n,{get:()=>e[n],enumerable:!(s=i(e,n))||s.enumerable});return o};var g=o=>c(r({},"__esModule",{value:!0}),o);var m={};d(m,{conf:()=>p,language:()=>f});var p={comments:{lineComment:"'"},brackets:[["(",")"],["[","]"],["If","EndIf"],["While","EndWhile"],["For","EndFor"],["Sub","EndSub"]],autoClosingPairs:[{open:'"',close:'"',notIn:["string","comment"]},{open:"(",close:")",notIn:["string","comment"]},{open:"[",close:"]",notIn:["string","comment"]}]},f={defaultToken:"",tokenPostfix:".sb",ignoreCase:!0,brackets:[{token:"delimiter.array",open:"[",close:"]"},{token:"delimiter.parenthesis",open:"(",close:")"},{token:"keyword.tag-if",open:"If",close:"EndIf"},{token:"keyword.tag-while",open:"While",close:"EndWhile"},{token:"keyword.tag-for",open:"For",close:"EndFor"},{token:"keyword.tag-sub",open:"Sub",close:"EndSub"}],keywords:["Else","ElseIf","EndFor","EndIf","EndSub","EndWhile","For","Goto","If","Step","Sub","Then","To","While"],tagwords:["If","Sub","While","For"],operators:[">","<","<>","<=",">=","And","Or","+","-","*","/","="],identifier:/[a-zA-Z_][\w]*/,symbols:/[=><:+\-*\/%\.,]+/,escapes:/\\(?:[abfnrtv\\"']|x[0-9A-Fa-f]{1,4}|u[0-9A-Fa-f]{4}|U[0-9A-Fa-f]{8})/,tokenizer:{root:[{include:"@whitespace"},[/(@identifier)(?=[.])/,"type"],[/@identifier/,{cases:{"@keywords":{token:"keyword.$0"},"@operators":"operator","@default":"variable.name"}}],[/([.])(@identifier)/,{cases:{$2:["delimiter","type.member"],"@default":""}}],[/\d*\.\d+/,"number.float"],[/\d+/,"number"],[/[()\[\]]/,"@brackets"],[/@symbols/,{cases:{"@operators":"operator","@default":"delimiter"}}],[/"([^"\\]|\\.)*$/,"string.invalid"],[/"/,"string","@string"]],whitespace:[[/[ \t\r\n]+/,""],[/(\').*$/,"comment"]],string:[[/[^\\"]+/,"string"],[/@escapes/,"string.escape"],[/\\./,"string.escape.invalid"],[/"C?/,"string","@pop"]]}};return g(m);})(); 9 | return moduleExports; 10 | }); 11 | -------------------------------------------------------------------------------- /monaco-editor/min/vs/basic-languages/scheme/scheme.js: -------------------------------------------------------------------------------- 1 | "use strict";/*!----------------------------------------------------------------------------- 2 | * Copyright (c) Microsoft Corporation. All rights reserved. 3 | * Version: 0.34.0(9d278685b078158491964f8fd7ac9628fffa0f30) 4 | * Released under the MIT license 5 | * https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt 6 | *-----------------------------------------------------------------------------*/ 7 | define("vs/basic-languages/scheme/scheme", ["require","require"],(require)=>{ 8 | var moduleExports=(()=>{var s=Object.defineProperty;var r=Object.getOwnPropertyDescriptor;var i=Object.getOwnPropertyNames;var l=Object.prototype.hasOwnProperty;var c=(o,e)=>{for(var t in e)s(o,t,{get:e[t],enumerable:!0})},m=(o,e,t,a)=>{if(e&&typeof e=="object"||typeof e=="function")for(let n of i(e))!l.call(o,n)&&n!==t&&s(o,n,{get:()=>e[n],enumerable:!(a=r(e,n))||a.enumerable});return o};var p=o=>m(s({},"__esModule",{value:!0}),o);var u={};c(u,{conf:()=>d,language:()=>g});var d={comments:{lineComment:";",blockComment:["#|","|#"]},brackets:[["(",")"],["{","}"],["[","]"]],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'}],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'}]},g={defaultToken:"",ignoreCase:!0,tokenPostfix:".scheme",brackets:[{open:"(",close:")",token:"delimiter.parenthesis"},{open:"{",close:"}",token:"delimiter.curly"},{open:"[",close:"]",token:"delimiter.square"}],keywords:["case","do","let","loop","if","else","when","cons","car","cdr","cond","lambda","lambda*","syntax-rules","format","set!","quote","eval","append","list","list?","member?","load"],constants:["#t","#f"],operators:["eq?","eqv?","equal?","and","or","not","null?"],tokenizer:{root:[[/#[xXoObB][0-9a-fA-F]+/,"number.hex"],[/[+-]?\d+(?:(?:\.\d*)?(?:[eE][+-]?\d+)?)?/,"number.float"],[/(?:\b(?:(define|define-syntax|define-macro))\b)(\s+)((?:\w|\-|\!|\?)*)/,["keyword","white","variable"]],{include:"@whitespace"},{include:"@strings"},[/[a-zA-Z_#][a-zA-Z0-9_\-\?\!\*]*/,{cases:{"@keywords":"keyword","@constants":"constant","@operators":"operators","@default":"identifier"}}]],comment:[[/[^\|#]+/,"comment"],[/#\|/,"comment","@push"],[/\|#/,"comment","@pop"],[/[\|#]/,"comment"]],whitespace:[[/[ \t\r\n]+/,"white"],[/#\|/,"comment","@comment"],[/;.*$/,"comment"]],strings:[[/"$/,"string","@popall"],[/"(?=.)/,"string","@multiLineString"]],multiLineString:[[/[^\\"]+$/,"string","@popall"],[/[^\\"]+/,"string"],[/\\./,"string.escape"],[/"/,"string","@popall"],[/\\$/,"string"]]}};return p(u);})(); 9 | return moduleExports; 10 | }); 11 | -------------------------------------------------------------------------------- /monaco-editor/min/vs/basic-languages/shell/shell.js: -------------------------------------------------------------------------------- 1 | "use strict";/*!----------------------------------------------------------------------------- 2 | * Copyright (c) Microsoft Corporation. All rights reserved. 3 | * Version: 0.34.0(9d278685b078158491964f8fd7ac9628fffa0f30) 4 | * Released under the MIT license 5 | * https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt 6 | *-----------------------------------------------------------------------------*/ 7 | define("vs/basic-languages/shell/shell", ["require","require"],(require)=>{ 8 | var moduleExports=(()=>{var a=Object.defineProperty;var s=Object.getOwnPropertyDescriptor;var n=Object.getOwnPropertyNames;var l=Object.prototype.hasOwnProperty;var c=(r,e)=>{for(var i in e)a(r,i,{get:e[i],enumerable:!0})},d=(r,e,i,o)=>{if(e&&typeof e=="object"||typeof e=="function")for(let t of n(e))!l.call(r,t)&&t!==i&&a(r,t,{get:()=>e[t],enumerable:!(o=s(e,t))||o.enumerable});return r};var p=r=>d(a({},"__esModule",{value:!0}),r);var g={};c(g,{conf:()=>m,language:()=>u});var m={comments:{lineComment:"#"},brackets:[["{","}"],["[","]"],["(",")"]],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"},{open:"`",close:"`"}],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"},{open:"`",close:"`"}]},u={defaultToken:"",ignoreCase:!0,tokenPostfix:".shell",brackets:[{token:"delimiter.bracket",open:"{",close:"}"},{token:"delimiter.parenthesis",open:"(",close:")"},{token:"delimiter.square",open:"[",close:"]"}],keywords:["if","then","do","else","elif","while","until","for","in","esac","fi","fin","fil","done","exit","set","unset","export","function"],builtins:["ab","awk","bash","beep","cat","cc","cd","chown","chmod","chroot","clear","cp","curl","cut","diff","echo","find","gawk","gcc","get","git","grep","hg","kill","killall","ln","ls","make","mkdir","openssl","mv","nc","node","npm","ping","ps","restart","rm","rmdir","sed","service","sh","shopt","shred","source","sort","sleep","ssh","start","stop","su","sudo","svn","tee","telnet","top","touch","vi","vim","wall","wc","wget","who","write","yes","zsh"],startingWithDash:/\-+\w+/,identifiersWithDashes:/[a-zA-Z]\w+(?:@startingWithDash)+/,symbols:/[=>{ 8 | var moduleExports=(()=>{var s=Object.defineProperty;var i=Object.getOwnPropertyDescriptor;var a=Object.getOwnPropertyNames;var c=Object.prototype.hasOwnProperty;var l=(t,e)=>{for(var o in e)s(t,o,{get:e[o],enumerable:!0})},m=(t,e,o,r)=>{if(e&&typeof e=="object"||typeof e=="function")for(let n of a(e))!c.call(t,n)&&n!==o&&s(t,n,{get:()=>e[n],enumerable:!(r=i(e,n))||r.enumerable});return t};var d=t=>m(s({},"__esModule",{value:!0}),t);var u={};l(u,{conf:()=>f,language:()=>g});var f={comments:{lineComment:"//",blockComment:["/*","*/"]},brackets:[["{","}"],["[","]"],["(",")"],["<",">"]],autoClosingPairs:[{open:'"',close:'"',notIn:["string","comment"]},{open:"{",close:"}",notIn:["string","comment"]},{open:"[",close:"]",notIn:["string","comment"]},{open:"(",close:")",notIn:["string","comment"]}]},g={defaultToken:"",tokenPostfix:".aes",brackets:[{token:"delimiter.curly",open:"{",close:"}"},{token:"delimiter.parenthesis",open:"(",close:")"},{token:"delimiter.square",open:"[",close:"]"},{token:"delimiter.angle",open:"<",close:">"}],keywords:["contract","library","entrypoint","function","stateful","state","hash","signature","tuple","list","address","string","bool","int","record","datatype","type","option","oracle","oracle_query","Call","Bits","Bytes","Oracle","String","Crypto","Address","Auth","Chain","None","Some","bits","bytes","event","let","map","private","public","true","false","var","if","else","throw"],operators:["=",">","<","!","~","?","::",":","==","<=",">=","!=","&&","||","++","--","+","-","*","/","&","|","^","%","<<",">>",">>>","+=","-=","*=","/=","&=","|=","^=","%=","<<=",">>=",">>>="],symbols:/[=>](?!@symbols)/,"@brackets"],[/@symbols/,{cases:{"@operators":"delimiter","@default":""}}],[/\d*\d+[eE]([\-+]?\d+)?(@floatsuffix)/,"number.float"],[/\d*\.\d+([eE][\-+]?\d+)?(@floatsuffix)/,"number.float"],[/0[xX][0-9a-fA-F']*[0-9a-fA-F](@integersuffix)/,"number.hex"],[/0[0-7']*[0-7](@integersuffix)/,"number.octal"],[/0[bB][0-1']*[0-1](@integersuffix)/,"number.binary"],[/\d[\d']*\d(@integersuffix)/,"number"],[/\d(@integersuffix)/,"number"],[/[;,.]/,"delimiter"],[/"([^"\\]|\\.)*$/,"string.invalid"],[/"/,"string","@string"],[/'[^\\']'/,"string"],[/(')(@escapes)(')/,["string","string.escape","string"]],[/'/,"string.invalid"]],whitespace:[[/[ \t\r\n]+/,""],[/\/\*\*(?!\/)/,"comment.doc","@doccomment"],[/\/\*/,"comment","@comment"],[/\/\/.*$/,"comment"]],comment:[[/[^\/*]+/,"comment"],[/\*\//,"comment","@pop"],[/[\/*]/,"comment"]],doccomment:[[/[^\/*]+/,"comment.doc"],[/\*\//,"comment.doc","@pop"],[/[\/*]/,"comment.doc"]],string:[[/[^\\"]+/,"string"],[/@escapes/,"string.escape"],[/\\./,"string.escape.invalid"],[/"/,"string","@pop"]]}};return d(u);})(); 9 | return moduleExports; 10 | }); 11 | -------------------------------------------------------------------------------- /monaco-editor/min/vs/basic-languages/sparql/sparql.js: -------------------------------------------------------------------------------- 1 | "use strict";/*!----------------------------------------------------------------------------- 2 | * Copyright (c) Microsoft Corporation. All rights reserved. 3 | * Version: 0.34.0(9d278685b078158491964f8fd7ac9628fffa0f30) 4 | * Released under the MIT license 5 | * https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt 6 | *-----------------------------------------------------------------------------*/ 7 | define("vs/basic-languages/sparql/sparql", ["require","require"],(require)=>{ 8 | var moduleExports=(()=>{var o=Object.defineProperty;var i=Object.getOwnPropertyDescriptor;var a=Object.getOwnPropertyNames;var l=Object.prototype.hasOwnProperty;var d=(s,e)=>{for(var n in e)o(s,n,{get:e[n],enumerable:!0})},c=(s,e,n,r)=>{if(e&&typeof e=="object"||typeof e=="function")for(let t of a(e))!l.call(s,t)&&t!==n&&o(s,t,{get:()=>e[t],enumerable:!(r=i(e,t))||r.enumerable});return s};var g=s=>c(o({},"__esModule",{value:!0}),s);var m={};d(m,{conf:()=>u,language:()=>p});var u={comments:{lineComment:"#"},brackets:[["{","}"],["[","]"],["(",")"]],autoClosingPairs:[{open:"'",close:"'",notIn:["string"]},{open:'"',close:'"',notIn:["string"]},{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"}]},p={defaultToken:"",tokenPostfix:".rq",brackets:[{token:"delimiter.curly",open:"{",close:"}"},{token:"delimiter.parenthesis",open:"(",close:")"},{token:"delimiter.square",open:"[",close:"]"},{token:"delimiter.angle",open:"<",close:">"}],keywords:["add","as","asc","ask","base","by","clear","construct","copy","create","data","delete","desc","describe","distinct","drop","false","filter","from","graph","group","having","in","insert","limit","load","minus","move","named","not","offset","optional","order","prefix","reduced","select","service","silent","to","true","undef","union","using","values","where","with"],builtinFunctions:["a","abs","avg","bind","bnode","bound","ceil","coalesce","concat","contains","count","datatype","day","encode_for_uri","exists","floor","group_concat","hours","if","iri","isblank","isiri","isliteral","isnumeric","isuri","lang","langmatches","lcase","max","md5","min","minutes","month","now","rand","regex","replace","round","sameterm","sample","seconds","sha1","sha256","sha384","sha512","str","strafter","strbefore","strdt","strends","strlang","strlen","strstarts","struuid","substr","sum","timezone","tz","ucase","uri","uuid","year"],ignoreCase:!0,tokenizer:{root:[[/<[^\s\u00a0>]*>?/,"tag"],{include:"@strings"},[/#.*/,"comment"],[/[{}()\[\]]/,"@brackets"],[/[;,.]/,"delimiter"],[/[_\w\d]+:(\.(?=[\w_\-\\%])|[:\w_-]|\\[-\\_~.!$&'()*+,;=/?#@%]|%[a-f\d][a-f\d])*/,"tag"],[/:(\.(?=[\w_\-\\%])|[:\w_-]|\\[-\\_~.!$&'()*+,;=/?#@%]|%[a-f\d][a-f\d])+/,"tag"],[/[$?]?[_\w\d]+/,{cases:{"@keywords":{token:"keyword"},"@builtinFunctions":{token:"predefined.sql"},"@default":"identifier"}}],[/\^\^/,"operator.sql"],[/\^[*+\-<>=&|^\/!?]*/,"operator.sql"],[/[*+\-<>=&|\/!?]/,"operator.sql"],[/@[a-z\d\-]*/,"metatag.html"],[/\s+/,"white"]],strings:[[/'([^'\\]|\\.)*$/,"string.invalid"],[/'$/,"string.sql","@pop"],[/'/,"string.sql","@stringBody"],[/"([^"\\]|\\.)*$/,"string.invalid"],[/"$/,"string.sql","@pop"],[/"/,"string.sql","@dblStringBody"]],stringBody:[[/[^\\']+/,"string.sql"],[/\\./,"string.escape"],[/'/,"string.sql","@pop"]],dblStringBody:[[/[^\\"]+/,"string.sql"],[/\\./,"string.escape"],[/"/,"string.sql","@pop"]]}};return g(m);})(); 9 | return moduleExports; 10 | }); 11 | -------------------------------------------------------------------------------- /monaco-editor/min/vs/basic-languages/xml/xml.js: -------------------------------------------------------------------------------- 1 | "use strict";/*!----------------------------------------------------------------------------- 2 | * Copyright (c) Microsoft Corporation. All rights reserved. 3 | * Version: 0.34.0(9d278685b078158491964f8fd7ac9628fffa0f30) 4 | * Released under the MIT license 5 | * https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt 6 | *-----------------------------------------------------------------------------*/ 7 | define("vs/basic-languages/xml/xml", ["require","require"],(require)=>{ 8 | var moduleExports=(()=>{var u=Object.create;var m=Object.defineProperty;var g=Object.getOwnPropertyDescriptor;var p=Object.getOwnPropertyNames;var k=Object.getPrototypeOf,x=Object.prototype.hasOwnProperty;var f=(e=>typeof require!="undefined"?require:typeof Proxy!="undefined"?new Proxy(e,{get:(t,n)=>(typeof require!="undefined"?require:t)[n]}):e)(function(e){if(typeof require!="undefined")return require.apply(this,arguments);throw new Error('Dynamic require of "'+e+'" is not supported')});var w=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),b=(e,t)=>{for(var n in t)m(e,n,{get:t[n],enumerable:!0})},i=(e,t,n,r)=>{if(t&&typeof t=="object"||typeof t=="function")for(let o of p(t))!x.call(e,o)&&o!==n&&m(e,o,{get:()=>t[o],enumerable:!(r=g(t,o))||r.enumerable});return e},l=(e,t,n)=>(i(e,t,"default"),n&&i(n,t,"default")),c=(e,t,n)=>(n=e!=null?u(k(e)):{},i(t||!e||!e.__esModule?m(n,"default",{value:e,enumerable:!0}):n,e)),q=e=>i(m({},"__esModule",{value:!0}),e);var s=w((v,d)=>{var N=c(f("vs/editor/editor.api"));d.exports=N});var I={};b(I,{conf:()=>A,language:()=>C});var a={};l(a,c(s()));var A={comments:{blockComment:[""]},brackets:[["<",">"]],autoClosingPairs:[{open:"<",close:">"},{open:"'",close:"'"},{open:'"',close:'"'}],surroundingPairs:[{open:"<",close:">"},{open:"'",close:"'"},{open:'"',close:'"'}],onEnterRules:[{beforeText:new RegExp("<([_:\\w][_:\\w-.\\d]*)([^/>]*(?!/)>)[^<]*$","i"),afterText:/^<\/([_:\w][_:\w-.\d]*)\s*>$/i,action:{indentAction:a.languages.IndentAction.IndentOutdent}},{beforeText:new RegExp("<(\\w[\\w\\d]*)([^/>]*(?!/)>)[^<]*$","i"),action:{indentAction:a.languages.IndentAction.Indent}}]},C={defaultToken:"",tokenPostfix:".xml",ignoreCase:!0,qualifiedName:/(?:[\w\.\-]+:)?[\w\.\-]+/,tokenizer:{root:[[/[^<&]+/,""],{include:"@whitespace"},[/(<)(@qualifiedName)/,[{token:"delimiter"},{token:"tag",next:"@tag"}]],[/(<\/)(@qualifiedName)(\s*)(>)/,[{token:"delimiter"},{token:"tag"},"",{token:"delimiter"}]],[/(<\?)(@qualifiedName)/,[{token:"delimiter"},{token:"metatag",next:"@tag"}]],[/(<\!)(@qualifiedName)/,[{token:"delimiter"},{token:"metatag",next:"@tag"}]],[/<\!\[CDATA\[/,{token:"delimiter.cdata",next:"@cdata"}],[/&\w+;/,"string.escape"]],cdata:[[/[^\]]+/,""],[/\]\]>/,{token:"delimiter.cdata",next:"@pop"}],[/\]/,""]],tag:[[/[ \t\r\n]+/,""],[/(@qualifiedName)(\s*=\s*)("[^"]*"|'[^']*')/,["attribute.name","","attribute.value"]],[/(@qualifiedName)(\s*=\s*)("[^">?\/]*|'[^'>?\/]*)(?=[\?\/]\>)/,["attribute.name","","attribute.value"]],[/(@qualifiedName)(\s*=\s*)("[^">]*|'[^'>]*)/,["attribute.name","","attribute.value"]],[/@qualifiedName/,"attribute.name"],[/\?>/,{token:"delimiter",next:"@pop"}],[/(\/)(>)/,[{token:"tag"},{token:"delimiter",next:"@pop"}]],[/>/,{token:"delimiter",next:"@pop"}]],whitespace:[[/[ \t\r\n]+/,""],[//,{token:"comment",next:"@pop"}],[/